diff options
author | Takuya Noguchi <takninnovationresearch@gmail.com> | 2021-05-22 04:46:13 +0300 |
---|---|---|
committer | Takuya Noguchi <takninnovationresearch@gmail.com> | 2021-05-22 05:37:20 +0300 |
commit | 2de6b9bfeda7cd730ba3a3604f66a991e8028634 (patch) | |
tree | 850368a7f348137d6701fc996539b304232c7866 | |
parent | 0eab0013ae1659fc44cf4665aefe7018ac1691bb (diff) |
Update protobuf and protoc-gen-go to 1.4.3update-protobuf-to-1.4.3
Changelog: other
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
30 files changed, 29123 insertions, 15524 deletions
@@ -70,7 +70,7 @@ GOIMPORTS_VERSION ?= 2538eef75904eff384a2551359968e40c207d9d2 GO_JUNIT_REPORT_VERSION ?= 984a47ca6b0a7d704c4b589852051b4d7865aa17 GO_LICENSES_VERSION ?= 73411c8fa237ccc6a75af79d0a5bc021c9487aad PROTOC_VERSION ?= 3.12.4 -PROTOC_GEN_GO_VERSION ?= 1.3.2 +PROTOC_GEN_GO_VERSION ?= 1.4.3 GIT_VERSION ?= v2.31.1 GIT2GO_VERSION ?= v31 LIBGIT2_VERSION ?= v1.1.0 @@ -317,7 +317,7 @@ proto: ${PROTOC} ${PROTOC_GEN_GO} ${SOURCE_DIR}/.ruby-bundle ${PROTOC} --plugin=${PROTOC_GEN_GO} -I ${SOURCE_DIR}/proto --go_out=paths=source_relative,plugins=grpc:${SOURCE_DIR}/proto/go/gitalypb ${SOURCE_DIR}/proto/*.proto ${SOURCE_DIR}/_support/generate-proto-ruby ${Q}# this part is related to the generation of sources from testing proto files - ${PROTOC} --plugin=${PROTOC_GEN_GO} -I ${SOURCE_DIR}/internal --go_out=path=source_relative,plugins=grpc:${SOURCE_DIR}/internal ${SOURCE_DIR}/internal/praefect/grpc-proxy/testdata/test.proto + ${PROTOC} --plugin=${PROTOC_GEN_GO} -I ${SOURCE_DIR}/internal --go_out=paths=source_relative,plugins=grpc:${SOURCE_DIR}/internal ${SOURCE_DIR}/internal/praefect/grpc-proxy/testdata/test.proto ${PROTOC} --plugin=${PROTOC_GEN_GO} -I ${SOURCE_DIR}/proto -I ${SOURCE_DIR}/internal --go_out=paths=source_relative,plugins=grpc:${SOURCE_DIR}/internal ${SOURCE_DIR}/internal/praefect/mock/mock.proto ${PROTOC} --plugin=${PROTOC_GEN_GO} -I ${SOURCE_DIR}/proto -I ${SOURCE_DIR}/internal --go_out=paths=source_relative,plugins=grpc:${SOURCE_DIR}/internal ${SOURCE_DIR}/internal/middleware/cache/testdata/stream.proto ${PROTOC} --plugin=${PROTOC_GEN_GO} -I ${SOURCE_DIR}/proto --go_out=paths=source_relative,plugins=grpc:${SOURCE_DIR}/proto ${SOURCE_DIR}/proto/go/internal/linter/testdata/*.proto @@ -12870,6 +12870,36 @@ LICENSE - google.golang.org/grpc limitations under the License. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +LICENSE - google.golang.org/protobuf +Copyright (c) 2018 The Go Authors. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright +notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above +copyright notice, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the +distribution. + * Neither the name of Google Inc. nor the names of its +contributors may be used to endorse or promote products derived from +this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ LICENSE - gopkg.in/gorp.v1 (The MIT License) @@ -17,7 +17,7 @@ require ( github.com/containerd/cgroups v0.0.0-20201118023556-2819c83ced99 github.com/getsentry/sentry-go v0.7.0 github.com/git-lfs/git-lfs v1.5.1-0.20210304194248-2e1d981afbe3 - github.com/golang/protobuf v1.3.3 + github.com/golang/protobuf v1.4.3 github.com/google/uuid v1.1.1 github.com/grpc-ecosystem/go-grpc-middleware v1.2.3-0.20210213123510-be4c235f9d1c github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 @@ -48,6 +48,7 @@ require ( golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4 golang.org/x/text v0.3.3 google.golang.org/grpc v1.29.1 + google.golang.org/protobuf v1.26.0-rc.1 gopkg.in/yaml.v2 v2.4.0 // indirect ) @@ -154,15 +154,23 @@ github.com/golang/mock v1.3.1/go.mod h1:sBzyDLLjw3U8JLTeZvSv8jJB+tU5PVekmnlKIyFU github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.3.3 h1:gyjaxf+svBWX08ZjK86iN9geUJF0H6gp2IRKX6Nf6/I= github.com/golang/protobuf v1.3.3/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= +github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8= +github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA= +github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs= +github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w= +github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0= +github.com/golang/protobuf v1.4.3 h1:JjCZWpVbqXDqFVmTfYWEVTMIYrL/NPdPSCHPJ0T/raM= +github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= github.com/gomodule/redigo v1.7.1-0.20190724094224-574c33c3df38/go.mod h1:B4C85qUVwatsJoIUNIfCRsp7qO0iAmpGFZ4EELWSbC4= github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= -github.com/google/go-cmp v0.4.0 h1:xsAVV57WRhGj6kEIi8ReJzQlHHqcBYCElAvkovg3B/4= +github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.5 h1:Khx7svrCpmxxtHBq5j2mp/xVjsi8hQMfNLvJFAlrGgU= +github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-querystring v1.0.0/go.mod h1:odCYkC5MyYFN7vkCjXpyrEuKhc/BUO6wN/zVPAxq5ck= github.com/google/martian v2.1.0+incompatible h1:/CP5g8u/VJHijgedC/Legn3BAbAaWPgecwXBIDzw5no= github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= @@ -621,6 +629,14 @@ google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQ google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= google.golang.org/grpc v1.29.1 h1:EC2SB8S04d2r73uptxphDSUG+kTKVgjRPF+N3xpxRB4= google.golang.org/grpc v1.29.1/go.mod h1:itym6AZVZYACWQqET3MqgPpjcuV5QH3BxFS3IjizoKk= +google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= +google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= +google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= +google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE= +google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo= +google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= +google.golang.org/protobuf v1.26.0-rc.1 h1:7QnIQpGRHE5RnLKnESfDoxm2dTapTZua5a0kS0A+VXQ= +google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= gopkg.in/DataDog/dd-trace-go.v1 v1.7.0 h1:7wbMayb6JXcbAS95RN7MI42W3o1BCxCcdIzZfVWBAiE= gopkg.in/DataDog/dd-trace-go.v1 v1.7.0/go.mod h1:DVp8HmDh8PuTu2Z0fVVlBsyWaC++fzwVCaGWylTe3tg= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= diff --git a/internal/middleware/cache/testdata/stream.pb.go b/internal/middleware/cache/testdata/stream.pb.go index f8013cf87..101792469 100644 --- a/internal/middleware/cache/testdata/stream.pb.go +++ b/internal/middleware/cache/testdata/stream.pb.go @@ -1,139 +1,256 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc v3.12.4 // source: middleware/cache/testdata/stream.proto package testdata import ( context "context" - fmt "fmt" proto "github.com/golang/protobuf/proto" gitalypb "gitlab.com/gitlab-org/gitaly/proto/go/gitalypb" 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 +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) +) -// 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 +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 type Request struct { - Destination *gitalypb.Repository `protobuf:"bytes,1,opt,name=destination,proto3" json:"destination,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *Request) Reset() { *m = Request{} } -func (m *Request) String() string { return proto.CompactTextString(m) } -func (*Request) ProtoMessage() {} -func (*Request) Descriptor() ([]byte, []int) { - return fileDescriptor_a8c7bc703e280c1d, []int{0} + Destination *gitalypb.Repository `protobuf:"bytes,1,opt,name=destination,proto3" json:"destination,omitempty"` } -func (m *Request) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Request.Unmarshal(m, b) -} -func (m *Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Request.Marshal(b, m, deterministic) -} -func (m *Request) XXX_Merge(src proto.Message) { - xxx_messageInfo_Request.Merge(m, src) +func (x *Request) Reset() { + *x = Request{} + if protoimpl.UnsafeEnabled { + mi := &file_middleware_cache_testdata_stream_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Request) XXX_Size() int { - return xxx_messageInfo_Request.Size(m) + +func (x *Request) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Request) XXX_DiscardUnknown() { - xxx_messageInfo_Request.DiscardUnknown(m) + +func (*Request) ProtoMessage() {} + +func (x *Request) ProtoReflect() protoreflect.Message { + mi := &file_middleware_cache_testdata_stream_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_Request proto.InternalMessageInfo +// Deprecated: Use Request.ProtoReflect.Descriptor instead. +func (*Request) Descriptor() ([]byte, []int) { + return file_middleware_cache_testdata_stream_proto_rawDescGZIP(), []int{0} +} -func (m *Request) GetDestination() *gitalypb.Repository { - if m != nil { - return m.Destination +func (x *Request) GetDestination() *gitalypb.Repository { + if x != nil { + return x.Destination } return nil } type Response struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *Response) Reset() { *m = Response{} } -func (m *Response) String() string { return proto.CompactTextString(m) } -func (*Response) ProtoMessage() {} -func (*Response) Descriptor() ([]byte, []int) { - return fileDescriptor_a8c7bc703e280c1d, []int{1} +func (x *Response) Reset() { + *x = Response{} + if protoimpl.UnsafeEnabled { + mi := &file_middleware_cache_testdata_stream_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Response) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Response.Unmarshal(m, b) -} -func (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Response.Marshal(b, m, deterministic) -} -func (m *Response) XXX_Merge(src proto.Message) { - xxx_messageInfo_Response.Merge(m, src) -} -func (m *Response) XXX_Size() int { - return xxx_messageInfo_Response.Size(m) -} -func (m *Response) XXX_DiscardUnknown() { - xxx_messageInfo_Response.DiscardUnknown(m) +func (x *Response) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_Response proto.InternalMessageInfo +func (*Response) ProtoMessage() {} -func init() { - proto.RegisterType((*Request)(nil), "testdata.Request") - proto.RegisterType((*Response)(nil), "testdata.Response") +func (x *Response) ProtoReflect() protoreflect.Message { + mi := &file_middleware_cache_testdata_stream_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 init() { - proto.RegisterFile("middleware/cache/testdata/stream.proto", fileDescriptor_a8c7bc703e280c1d) -} +// Deprecated: Use Response.ProtoReflect.Descriptor instead. +func (*Response) Descriptor() ([]byte, []int) { + return file_middleware_cache_testdata_stream_proto_rawDescGZIP(), []int{1} +} + +var File_middleware_cache_testdata_stream_proto protoreflect.FileDescriptor + +var file_middleware_cache_testdata_stream_proto_rawDesc = []byte{ + 0x0a, 0x26, 0x6d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x77, 0x61, 0x72, 0x65, 0x2f, 0x63, 0x61, 0x63, + 0x68, 0x65, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x73, 0x74, 0x72, 0x65, + 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, + 0x74, 0x61, 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, 0x45, 0x0a, 0x07, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3a, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x74, 0x69, + 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, 0x0b, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x22, 0x0a, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, + 0x52, 0x0a, 0x12, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x63, 0x65, 0x70, 0x74, 0x65, 0x64, 0x53, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x36, 0x0a, 0x0d, 0x49, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x64, + 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x11, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x12, 0x2e, 0x74, 0x65, 0x73, 0x74, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x1a, 0x04, 0xf0, + 0x97, 0x28, 0x01, 0x32, 0xb9, 0x02, 0x0a, 0x0b, 0x54, 0x65, 0x73, 0x74, 0x53, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x12, 0x4a, 0x0a, 0x17, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x72, + 0x65, 0x61, 0x6d, 0x52, 0x65, 0x70, 0x6f, 0x4d, 0x75, 0x74, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x11, + 0x2e, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x12, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x30, 0x01, 0x12, + 0x4b, 0x0a, 0x18, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, + 0x65, 0x70, 0x6f, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72, 0x12, 0x11, 0x2e, 0x74, 0x65, + 0x73, 0x74, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x12, + 0x2e, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x47, 0x0a, 0x16, + 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x55, 0x6e, 0x61, 0x72, 0x79, 0x52, 0x65, 0x70, 0x6f, 0x4d, + 0x75, 0x74, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x11, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x12, 0x2e, 0x74, 0x65, 0x73, 0x74, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, + 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x48, 0x0a, 0x17, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x55, + 0x6e, 0x61, 0x72, 0x79, 0x52, 0x65, 0x70, 0x6f, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72, + 0x12, 0x11, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x12, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_middleware_cache_testdata_stream_proto_rawDescOnce sync.Once + file_middleware_cache_testdata_stream_proto_rawDescData = file_middleware_cache_testdata_stream_proto_rawDesc +) -var fileDescriptor_a8c7bc703e280c1d = []byte{ - // 293 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x91, 0x41, 0x4a, 0xc3, 0x40, - 0x14, 0x86, 0x99, 0x52, 0x6a, 0x78, 0xd1, 0x85, 0xb3, 0xd0, 0x92, 0x95, 0x64, 0x21, 0x59, 0x48, - 0x52, 0x22, 0xb8, 0x70, 0xa7, 0x22, 0x5a, 0xa5, 0x9b, 0x54, 0x0f, 0x30, 0xce, 0x3c, 0x9a, 0x81, - 0x74, 0x26, 0xce, 0xbc, 0x2a, 0x39, 0x49, 0xbd, 0x8a, 0x17, 0xf0, 0x3c, 0xae, 0x5d, 0x89, 0x8d, - 0x91, 0xe2, 0x4a, 0xbb, 0x9c, 0x8f, 0xe1, 0xe3, 0xfb, 0x79, 0x70, 0x38, 0xd7, 0x4a, 0x55, 0xf8, - 0x2c, 0x1c, 0x66, 0x52, 0xc8, 0x12, 0x33, 0x42, 0x4f, 0x4a, 0x90, 0xc8, 0x3c, 0x39, 0x14, 0xf3, - 0xb4, 0x76, 0x96, 0x2c, 0x0f, 0x3a, 0x1c, 0x41, 0xa5, 0x0d, 0xb5, 0x34, 0xda, 0xf6, 0xa5, 0x70, - 0xa8, 0xda, 0x57, 0x7c, 0x09, 0x5b, 0x05, 0x3e, 0x2e, 0xd0, 0x13, 0x3f, 0x85, 0x50, 0xa1, 0x27, - 0x6d, 0x04, 0x69, 0x6b, 0x86, 0xec, 0x80, 0x25, 0x61, 0xce, 0xd3, 0x99, 0x26, 0x51, 0x35, 0x69, - 0x81, 0xb5, 0xf5, 0x9a, 0xac, 0x6b, 0xce, 0xfb, 0x2f, 0x6f, 0x47, 0xac, 0x58, 0xff, 0x1c, 0x03, - 0x04, 0x05, 0xfa, 0xda, 0x1a, 0x8f, 0x79, 0x01, 0x7c, 0x6c, 0x08, 0x9d, 0xc4, 0x9a, 0x50, 0x4d, - 0xd1, 0x3d, 0x69, 0x89, 0xfc, 0x04, 0x76, 0xc6, 0x33, 0x63, 0x1d, 0xaa, 0x09, 0x52, 0x69, 0x15, - 0xdf, 0x4d, 0xbb, 0xbc, 0xf4, 0xbb, 0x20, 0xe2, 0xeb, 0xa8, 0xb5, 0x45, 0xfd, 0xf7, 0x65, 0xc2, - 0xf2, 0xd7, 0x1e, 0x84, 0x77, 0xe8, 0xa9, 0xb3, 0xdd, 0xc0, 0xfe, 0x45, 0xa5, 0xd1, 0xd0, 0x74, - 0x35, 0xf8, 0x2b, 0x6e, 0xb2, 0x20, 0x41, 0xd6, 0xfd, 0xd1, 0x1b, 0x0f, 0x3e, 0x96, 0x49, 0x2f, - 0x60, 0x23, 0xc6, 0x6f, 0x61, 0xf8, 0xdb, 0x75, 0x26, 0x25, 0x7a, 0xff, 0x5f, 0x59, 0x6f, 0xc4, - 0xf8, 0x15, 0xec, 0xb5, 0xb2, 0x7b, 0x23, 0x5c, 0xb3, 0x79, 0x17, 0xbf, 0xee, 0x16, 0xfe, 0x88, - 0x36, 0x8c, 0x7a, 0x18, 0xac, 0x2e, 0x7d, 0xfc, 0x19, 0x00, 0x00, 0xff, 0xff, 0x34, 0xce, 0x60, - 0xcf, 0x37, 0x02, 0x00, 0x00, +func file_middleware_cache_testdata_stream_proto_rawDescGZIP() []byte { + file_middleware_cache_testdata_stream_proto_rawDescOnce.Do(func() { + file_middleware_cache_testdata_stream_proto_rawDescData = protoimpl.X.CompressGZIP(file_middleware_cache_testdata_stream_proto_rawDescData) + }) + return file_middleware_cache_testdata_stream_proto_rawDescData +} + +var file_middleware_cache_testdata_stream_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_middleware_cache_testdata_stream_proto_goTypes = []interface{}{ + (*Request)(nil), // 0: testdata.Request + (*Response)(nil), // 1: testdata.Response + (*gitalypb.Repository)(nil), // 2: gitaly.Repository +} +var file_middleware_cache_testdata_stream_proto_depIdxs = []int32{ + 2, // 0: testdata.Request.destination:type_name -> gitaly.Repository + 0, // 1: testdata.InterceptedService.IgnoredMethod:input_type -> testdata.Request + 0, // 2: testdata.TestService.ClientStreamRepoMutator:input_type -> testdata.Request + 0, // 3: testdata.TestService.ClientStreamRepoAccessor:input_type -> testdata.Request + 0, // 4: testdata.TestService.ClientUnaryRepoMutator:input_type -> testdata.Request + 0, // 5: testdata.TestService.ClientUnaryRepoAccessor:input_type -> testdata.Request + 1, // 6: testdata.InterceptedService.IgnoredMethod:output_type -> testdata.Response + 1, // 7: testdata.TestService.ClientStreamRepoMutator:output_type -> testdata.Response + 1, // 8: testdata.TestService.ClientStreamRepoAccessor:output_type -> testdata.Response + 1, // 9: testdata.TestService.ClientUnaryRepoMutator:output_type -> testdata.Response + 1, // 10: testdata.TestService.ClientUnaryRepoAccessor:output_type -> testdata.Response + 6, // [6:11] is the sub-list for method output_type + 1, // [1:6] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_middleware_cache_testdata_stream_proto_init() } +func file_middleware_cache_testdata_stream_proto_init() { + if File_middleware_cache_testdata_stream_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_middleware_cache_testdata_stream_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Request); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_middleware_cache_testdata_stream_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Response); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_middleware_cache_testdata_stream_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 2, + }, + GoTypes: file_middleware_cache_testdata_stream_proto_goTypes, + DependencyIndexes: file_middleware_cache_testdata_stream_proto_depIdxs, + MessageInfos: file_middleware_cache_testdata_stream_proto_msgTypes, + }.Build() + File_middleware_cache_testdata_stream_proto = out.File + file_middleware_cache_testdata_stream_proto_rawDesc = nil + file_middleware_cache_testdata_stream_proto_goTypes = nil + file_middleware_cache_testdata_stream_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConn +var _ grpc.ClientConnInterface // 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 +const _ = grpc.SupportPackageIsVersion6 // InterceptedServiceClient is the client API for InterceptedService service. // @@ -143,10 +260,10 @@ type InterceptedServiceClient interface { } type interceptedServiceClient struct { - cc *grpc.ClientConn + cc grpc.ClientConnInterface } -func NewInterceptedServiceClient(cc *grpc.ClientConn) InterceptedServiceClient { +func NewInterceptedServiceClient(cc grpc.ClientConnInterface) InterceptedServiceClient { return &interceptedServiceClient{cc} } @@ -168,7 +285,7 @@ type InterceptedServiceServer interface { type UnimplementedInterceptedServiceServer struct { } -func (*UnimplementedInterceptedServiceServer) IgnoredMethod(ctx context.Context, req *Request) (*Response, error) { +func (*UnimplementedInterceptedServiceServer) IgnoredMethod(context.Context, *Request) (*Response, error) { return nil, status.Errorf(codes.Unimplemented, "method IgnoredMethod not implemented") } @@ -218,10 +335,10 @@ type TestServiceClient interface { } type testServiceClient struct { - cc *grpc.ClientConn + cc grpc.ClientConnInterface } -func NewTestServiceClient(cc *grpc.ClientConn) TestServiceClient { +func NewTestServiceClient(cc grpc.ClientConnInterface) TestServiceClient { return &testServiceClient{cc} } @@ -319,16 +436,16 @@ type TestServiceServer interface { type UnimplementedTestServiceServer struct { } -func (*UnimplementedTestServiceServer) ClientStreamRepoMutator(req *Request, srv TestService_ClientStreamRepoMutatorServer) error { +func (*UnimplementedTestServiceServer) ClientStreamRepoMutator(*Request, TestService_ClientStreamRepoMutatorServer) error { return status.Errorf(codes.Unimplemented, "method ClientStreamRepoMutator not implemented") } -func (*UnimplementedTestServiceServer) ClientStreamRepoAccessor(req *Request, srv TestService_ClientStreamRepoAccessorServer) error { +func (*UnimplementedTestServiceServer) ClientStreamRepoAccessor(*Request, TestService_ClientStreamRepoAccessorServer) error { return status.Errorf(codes.Unimplemented, "method ClientStreamRepoAccessor not implemented") } -func (*UnimplementedTestServiceServer) ClientUnaryRepoMutator(ctx context.Context, req *Request) (*Response, error) { +func (*UnimplementedTestServiceServer) ClientUnaryRepoMutator(context.Context, *Request) (*Response, error) { return nil, status.Errorf(codes.Unimplemented, "method ClientUnaryRepoMutator not implemented") } -func (*UnimplementedTestServiceServer) ClientUnaryRepoAccessor(ctx context.Context, req *Request) (*Response, error) { +func (*UnimplementedTestServiceServer) ClientUnaryRepoAccessor(context.Context, *Request) (*Response, error) { return nil, status.Errorf(codes.Unimplemented, "method ClientUnaryRepoAccessor not implemented") } diff --git a/internal/praefect/grpc-proxy/testdata/test.pb.go b/internal/praefect/grpc-proxy/testdata/test.pb.go index 0759ffc9c..6f335a60b 100644 --- a/internal/praefect/grpc-proxy/testdata/test.pb.go +++ b/internal/praefect/grpc-proxy/testdata/test.pb.go @@ -1,184 +1,322 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc v3.12.4 // source: praefect/grpc-proxy/testdata/test.proto package mwitkow_testproto 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 +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) +) -// 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 +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 type Empty struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *Empty) Reset() { *m = Empty{} } -func (m *Empty) String() string { return proto.CompactTextString(m) } -func (*Empty) ProtoMessage() {} -func (*Empty) Descriptor() ([]byte, []int) { - return fileDescriptor_be10c573495b33b9, []int{0} +func (x *Empty) Reset() { + *x = Empty{} + if protoimpl.UnsafeEnabled { + mi := &file_praefect_grpc_proxy_testdata_test_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Empty) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Empty.Unmarshal(m, b) -} -func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Empty.Marshal(b, m, deterministic) -} -func (m *Empty) XXX_Merge(src proto.Message) { - xxx_messageInfo_Empty.Merge(m, src) -} -func (m *Empty) XXX_Size() int { - return xxx_messageInfo_Empty.Size(m) -} -func (m *Empty) XXX_DiscardUnknown() { - xxx_messageInfo_Empty.DiscardUnknown(m) +func (x *Empty) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_Empty proto.InternalMessageInfo +func (*Empty) ProtoMessage() {} -type PingRequest struct { - Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *Empty) ProtoReflect() protoreflect.Message { + mi := &file_praefect_grpc_proxy_testdata_test_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) } -func (m *PingRequest) Reset() { *m = PingRequest{} } -func (m *PingRequest) String() string { return proto.CompactTextString(m) } -func (*PingRequest) ProtoMessage() {} -func (*PingRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_be10c573495b33b9, []int{1} +// Deprecated: Use Empty.ProtoReflect.Descriptor instead. +func (*Empty) Descriptor() ([]byte, []int) { + return file_praefect_grpc_proxy_testdata_test_proto_rawDescGZIP(), []int{0} } -func (m *PingRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PingRequest.Unmarshal(m, b) -} -func (m *PingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PingRequest.Marshal(b, m, deterministic) +type PingRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` } -func (m *PingRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_PingRequest.Merge(m, src) + +func (x *PingRequest) Reset() { + *x = PingRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_praefect_grpc_proxy_testdata_test_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *PingRequest) XXX_Size() int { - return xxx_messageInfo_PingRequest.Size(m) + +func (x *PingRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PingRequest) XXX_DiscardUnknown() { - xxx_messageInfo_PingRequest.DiscardUnknown(m) + +func (*PingRequest) ProtoMessage() {} + +func (x *PingRequest) ProtoReflect() protoreflect.Message { + mi := &file_praefect_grpc_proxy_testdata_test_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) } -var xxx_messageInfo_PingRequest proto.InternalMessageInfo +// Deprecated: Use PingRequest.ProtoReflect.Descriptor instead. +func (*PingRequest) Descriptor() ([]byte, []int) { + return file_praefect_grpc_proxy_testdata_test_proto_rawDescGZIP(), []int{1} +} -func (m *PingRequest) GetValue() string { - if m != nil { - return m.Value +func (x *PingRequest) GetValue() string { + if x != nil { + return x.Value } return "" } type PingResponse struct { - Value string `protobuf:"bytes,1,opt,name=Value,proto3" json:"Value,omitempty"` - Counter int32 `protobuf:"varint,2,opt,name=counter,proto3" json:"counter,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *PingResponse) Reset() { *m = PingResponse{} } -func (m *PingResponse) String() string { return proto.CompactTextString(m) } -func (*PingResponse) ProtoMessage() {} -func (*PingResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_be10c573495b33b9, []int{2} + Value string `protobuf:"bytes,1,opt,name=Value,proto3" json:"Value,omitempty"` + Counter int32 `protobuf:"varint,2,opt,name=counter,proto3" json:"counter,omitempty"` } -func (m *PingResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PingResponse.Unmarshal(m, b) -} -func (m *PingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PingResponse.Marshal(b, m, deterministic) -} -func (m *PingResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_PingResponse.Merge(m, src) +func (x *PingResponse) Reset() { + *x = PingResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_praefect_grpc_proxy_testdata_test_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *PingResponse) XXX_Size() int { - return xxx_messageInfo_PingResponse.Size(m) + +func (x *PingResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PingResponse) XXX_DiscardUnknown() { - xxx_messageInfo_PingResponse.DiscardUnknown(m) + +func (*PingResponse) ProtoMessage() {} + +func (x *PingResponse) ProtoReflect() protoreflect.Message { + mi := &file_praefect_grpc_proxy_testdata_test_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_PingResponse proto.InternalMessageInfo +// Deprecated: Use PingResponse.ProtoReflect.Descriptor instead. +func (*PingResponse) Descriptor() ([]byte, []int) { + return file_praefect_grpc_proxy_testdata_test_proto_rawDescGZIP(), []int{2} +} -func (m *PingResponse) GetValue() string { - if m != nil { - return m.Value +func (x *PingResponse) GetValue() string { + if x != nil { + return x.Value } return "" } -func (m *PingResponse) GetCounter() int32 { - if m != nil { - return m.Counter +func (x *PingResponse) GetCounter() int32 { + if x != nil { + return x.Counter } return 0 } -func init() { - proto.RegisterType((*Empty)(nil), "mwitkow.testproto.Empty") - proto.RegisterType((*PingRequest)(nil), "mwitkow.testproto.PingRequest") - proto.RegisterType((*PingResponse)(nil), "mwitkow.testproto.PingResponse") -} - -func init() { - proto.RegisterFile("praefect/grpc-proxy/testdata/test.proto", fileDescriptor_be10c573495b33b9) -} +var File_praefect_grpc_proxy_testdata_test_proto protoreflect.FileDescriptor + +var file_praefect_grpc_proxy_testdata_test_proto_rawDesc = []byte{ + 0x0a, 0x27, 0x70, 0x72, 0x61, 0x65, 0x66, 0x65, 0x63, 0x74, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2d, + 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x74, + 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x11, 0x6d, 0x77, 0x69, 0x74, 0x6b, + 0x6f, 0x77, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x07, 0x0a, 0x05, + 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x23, 0x0a, 0x0b, 0x50, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x3e, 0x0a, 0x0c, 0x50, 0x69, + 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x56, 0x61, + 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x56, 0x61, 0x6c, 0x75, 0x65, + 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x07, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x32, 0x91, 0x03, 0x0a, 0x0b, 0x54, + 0x65, 0x73, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x48, 0x0a, 0x09, 0x50, 0x69, + 0x6e, 0x67, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x18, 0x2e, 0x6d, 0x77, 0x69, 0x74, 0x6b, 0x6f, + 0x77, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x45, 0x6d, 0x70, 0x74, + 0x79, 0x1a, 0x1f, 0x2e, 0x6d, 0x77, 0x69, 0x74, 0x6b, 0x6f, 0x77, 0x2e, 0x74, 0x65, 0x73, 0x74, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x50, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x00, 0x12, 0x49, 0x0a, 0x04, 0x50, 0x69, 0x6e, 0x67, 0x12, 0x1e, 0x2e, 0x6d, + 0x77, 0x69, 0x74, 0x6b, 0x6f, 0x77, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x2e, 0x50, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x6d, + 0x77, 0x69, 0x74, 0x6b, 0x6f, 0x77, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x2e, 0x50, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, + 0x47, 0x0a, 0x09, 0x50, 0x69, 0x6e, 0x67, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x1e, 0x2e, 0x6d, + 0x77, 0x69, 0x74, 0x6b, 0x6f, 0x77, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x2e, 0x50, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x6d, + 0x77, 0x69, 0x74, 0x6b, 0x6f, 0x77, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x12, 0x4f, 0x0a, 0x08, 0x50, 0x69, 0x6e, 0x67, + 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1e, 0x2e, 0x6d, 0x77, 0x69, 0x74, 0x6b, 0x6f, 0x77, 0x2e, 0x74, + 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x50, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x6d, 0x77, 0x69, 0x74, 0x6b, 0x6f, 0x77, 0x2e, 0x74, + 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x50, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x53, 0x0a, 0x0a, 0x50, 0x69, 0x6e, + 0x67, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x12, 0x1e, 0x2e, 0x6d, 0x77, 0x69, 0x74, 0x6b, 0x6f, + 0x77, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x50, 0x69, 0x6e, 0x67, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x6d, 0x77, 0x69, 0x74, 0x6b, 0x6f, + 0x77, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x50, 0x69, 0x6e, 0x67, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x28, 0x01, 0x30, 0x01, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_praefect_grpc_proxy_testdata_test_proto_rawDescOnce sync.Once + file_praefect_grpc_proxy_testdata_test_proto_rawDescData = file_praefect_grpc_proxy_testdata_test_proto_rawDesc +) -var fileDescriptor_be10c573495b33b9 = []byte{ - // 259 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x8f, 0x41, 0x4b, 0xc3, 0x40, - 0x10, 0x85, 0xbb, 0x6a, 0xac, 0x9d, 0x7a, 0x71, 0xf0, 0x10, 0x3c, 0x68, 0x89, 0x07, 0x73, 0x31, - 0x2d, 0x7a, 0xf7, 0x26, 0x2a, 0x08, 0x4a, 0x22, 0xde, 0xd7, 0x38, 0x96, 0xa0, 0xc9, 0xae, 0xb3, - 0x93, 0xd6, 0xfe, 0x0c, 0xff, 0xb1, 0xec, 0x56, 0xa1, 0xa0, 0xc5, 0x1e, 0x7a, 0xdb, 0x79, 0xef, - 0xe3, 0xf1, 0x2d, 0x9c, 0x58, 0xd6, 0xf4, 0x42, 0xa5, 0x0c, 0xc7, 0x6c, 0xcb, 0x53, 0xcb, 0xe6, - 0x63, 0x36, 0x14, 0x72, 0xf2, 0xac, 0x45, 0x87, 0x47, 0x66, 0xd9, 0x88, 0xc1, 0xbd, 0x7a, 0x5a, - 0xc9, 0xab, 0x99, 0x66, 0x3e, 0x0b, 0x51, 0xd2, 0x85, 0xe8, 0xb2, 0xb6, 0x32, 0x4b, 0x8e, 0xa1, - 0x7f, 0x5f, 0x35, 0xe3, 0x9c, 0xde, 0x5b, 0x72, 0x82, 0xfb, 0x10, 0x4d, 0xf4, 0x5b, 0x4b, 0xb1, - 0x1a, 0xa8, 0xb4, 0x97, 0xcf, 0x8f, 0xe4, 0x02, 0x76, 0xe7, 0x90, 0xb3, 0xa6, 0x71, 0xe4, 0xa9, - 0xc7, 0x45, 0x2a, 0x1c, 0x18, 0x43, 0xb7, 0x34, 0x6d, 0x23, 0xc4, 0xf1, 0xc6, 0x40, 0xa5, 0x51, - 0xfe, 0x73, 0x9e, 0x7d, 0x6e, 0x42, 0xff, 0x81, 0x9c, 0x14, 0xc4, 0x93, 0xaa, 0x24, 0xbc, 0x86, - 0x9e, 0xdf, 0x0b, 0x06, 0x18, 0x67, 0xbf, 0xf4, 0xb2, 0xd0, 0x1c, 0x1c, 0xfd, 0xd1, 0x2c, 0x7a, - 0x24, 0x1d, 0xbc, 0x81, 0x2d, 0x9f, 0xe0, 0xe1, 0x52, 0x34, 0xfc, 0x6b, 0x95, 0xa9, 0xab, 0x6f, - 0x29, 0x66, 0xc3, 0xff, 0xee, 0x2d, 0x95, 0x4e, 0x3a, 0x78, 0x07, 0x3b, 0x1e, 0xbd, 0xad, 0x9c, - 0xac, 0xc1, 0x6b, 0xa4, 0xb0, 0x00, 0xf0, 0x59, 0x21, 0x4c, 0xba, 0x5e, 0xc3, 0x64, 0xaa, 0x46, - 0xea, 0x69, 0x3b, 0x34, 0xe7, 0x5f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x71, 0xad, 0x48, 0xa3, 0x46, - 0x02, 0x00, 0x00, +func file_praefect_grpc_proxy_testdata_test_proto_rawDescGZIP() []byte { + file_praefect_grpc_proxy_testdata_test_proto_rawDescOnce.Do(func() { + file_praefect_grpc_proxy_testdata_test_proto_rawDescData = protoimpl.X.CompressGZIP(file_praefect_grpc_proxy_testdata_test_proto_rawDescData) + }) + return file_praefect_grpc_proxy_testdata_test_proto_rawDescData +} + +var file_praefect_grpc_proxy_testdata_test_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_praefect_grpc_proxy_testdata_test_proto_goTypes = []interface{}{ + (*Empty)(nil), // 0: mwitkow.testproto.Empty + (*PingRequest)(nil), // 1: mwitkow.testproto.PingRequest + (*PingResponse)(nil), // 2: mwitkow.testproto.PingResponse +} +var file_praefect_grpc_proxy_testdata_test_proto_depIdxs = []int32{ + 0, // 0: mwitkow.testproto.TestService.PingEmpty:input_type -> mwitkow.testproto.Empty + 1, // 1: mwitkow.testproto.TestService.Ping:input_type -> mwitkow.testproto.PingRequest + 1, // 2: mwitkow.testproto.TestService.PingError:input_type -> mwitkow.testproto.PingRequest + 1, // 3: mwitkow.testproto.TestService.PingList:input_type -> mwitkow.testproto.PingRequest + 1, // 4: mwitkow.testproto.TestService.PingStream:input_type -> mwitkow.testproto.PingRequest + 2, // 5: mwitkow.testproto.TestService.PingEmpty:output_type -> mwitkow.testproto.PingResponse + 2, // 6: mwitkow.testproto.TestService.Ping:output_type -> mwitkow.testproto.PingResponse + 0, // 7: mwitkow.testproto.TestService.PingError:output_type -> mwitkow.testproto.Empty + 2, // 8: mwitkow.testproto.TestService.PingList:output_type -> mwitkow.testproto.PingResponse + 2, // 9: mwitkow.testproto.TestService.PingStream:output_type -> mwitkow.testproto.PingResponse + 5, // [5:10] is the sub-list for method output_type + 0, // [0:5] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_praefect_grpc_proxy_testdata_test_proto_init() } +func file_praefect_grpc_proxy_testdata_test_proto_init() { + if File_praefect_grpc_proxy_testdata_test_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_praefect_grpc_proxy_testdata_test_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Empty); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_praefect_grpc_proxy_testdata_test_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PingRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_praefect_grpc_proxy_testdata_test_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PingResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_praefect_grpc_proxy_testdata_test_proto_rawDesc, + NumEnums: 0, + NumMessages: 3, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_praefect_grpc_proxy_testdata_test_proto_goTypes, + DependencyIndexes: file_praefect_grpc_proxy_testdata_test_proto_depIdxs, + MessageInfos: file_praefect_grpc_proxy_testdata_test_proto_msgTypes, + }.Build() + File_praefect_grpc_proxy_testdata_test_proto = out.File + file_praefect_grpc_proxy_testdata_test_proto_rawDesc = nil + file_praefect_grpc_proxy_testdata_test_proto_goTypes = nil + file_praefect_grpc_proxy_testdata_test_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConn +var _ grpc.ClientConnInterface // 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 +const _ = grpc.SupportPackageIsVersion6 // TestServiceClient is the client API for TestService service. // @@ -192,10 +330,10 @@ type TestServiceClient interface { } type testServiceClient struct { - cc *grpc.ClientConn + cc grpc.ClientConnInterface } -func NewTestServiceClient(cc *grpc.ClientConn) TestServiceClient { +func NewTestServiceClient(cc grpc.ClientConnInterface) TestServiceClient { return &testServiceClient{cc} } @@ -302,19 +440,19 @@ type TestServiceServer interface { type UnimplementedTestServiceServer struct { } -func (*UnimplementedTestServiceServer) PingEmpty(ctx context.Context, req *Empty) (*PingResponse, error) { +func (*UnimplementedTestServiceServer) PingEmpty(context.Context, *Empty) (*PingResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method PingEmpty not implemented") } -func (*UnimplementedTestServiceServer) Ping(ctx context.Context, req *PingRequest) (*PingResponse, error) { +func (*UnimplementedTestServiceServer) Ping(context.Context, *PingRequest) (*PingResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Ping not implemented") } -func (*UnimplementedTestServiceServer) PingError(ctx context.Context, req *PingRequest) (*Empty, error) { +func (*UnimplementedTestServiceServer) PingError(context.Context, *PingRequest) (*Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method PingError not implemented") } -func (*UnimplementedTestServiceServer) PingList(req *PingRequest, srv TestService_PingListServer) error { +func (*UnimplementedTestServiceServer) PingList(*PingRequest, TestService_PingListServer) error { return status.Errorf(codes.Unimplemented, "method PingList not implemented") } -func (*UnimplementedTestServiceServer) PingStream(srv TestService_PingStreamServer) error { +func (*UnimplementedTestServiceServer) PingStream(TestService_PingStreamServer) error { return status.Errorf(codes.Unimplemented, "method PingStream not implemented") } diff --git a/internal/praefect/mock/mock.pb.go b/internal/praefect/mock/mock.pb.go index 0318d8f26..f51627ace 100644 --- a/internal/praefect/mock/mock.pb.go +++ b/internal/praefect/mock/mock.pb.go @@ -1,102 +1,190 @@ +// +//This file is a mock gRPC service used for validating the various types of +//gRPC methods that Praefect is expected to reverse proxy. It is intended to keep +//tests simple and keep Praefect decoupled from specific gRPC services. + // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc v3.12.4 // source: praefect/mock/mock.proto package mock import ( context "context" - fmt "fmt" proto "github.com/golang/protobuf/proto" empty "github.com/golang/protobuf/ptypes/empty" gitalypb "gitlab.com/gitlab-org/gitaly/proto/go/gitalypb" 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 +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) +) -// 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 +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 type RepoRequest struct { - Repo *gitalypb.Repository `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *RepoRequest) Reset() { *m = RepoRequest{} } -func (m *RepoRequest) String() string { return proto.CompactTextString(m) } -func (*RepoRequest) ProtoMessage() {} -func (*RepoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d20d83172fd49eb0, []int{0} + Repo *gitalypb.Repository `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"` } -func (m *RepoRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RepoRequest.Unmarshal(m, b) -} -func (m *RepoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RepoRequest.Marshal(b, m, deterministic) -} -func (m *RepoRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RepoRequest.Merge(m, src) +func (x *RepoRequest) Reset() { + *x = RepoRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_praefect_mock_mock_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RepoRequest) XXX_Size() int { - return xxx_messageInfo_RepoRequest.Size(m) + +func (x *RepoRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RepoRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RepoRequest.DiscardUnknown(m) + +func (*RepoRequest) ProtoMessage() {} + +func (x *RepoRequest) ProtoReflect() protoreflect.Message { + mi := &file_praefect_mock_mock_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_RepoRequest proto.InternalMessageInfo +// Deprecated: Use RepoRequest.ProtoReflect.Descriptor instead. +func (*RepoRequest) Descriptor() ([]byte, []int) { + return file_praefect_mock_mock_proto_rawDescGZIP(), []int{0} +} -func (m *RepoRequest) GetRepo() *gitalypb.Repository { - if m != nil { - return m.Repo +func (x *RepoRequest) GetRepo() *gitalypb.Repository { + if x != nil { + return x.Repo } return nil } -func init() { - proto.RegisterType((*RepoRequest)(nil), "mock.RepoRequest") +var File_praefect_mock_mock_proto protoreflect.FileDescriptor + +var file_praefect_mock_mock_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x70, 0x72, 0x61, 0x65, 0x66, 0x65, 0x63, 0x74, 0x2f, 0x6d, 0x6f, 0x63, 0x6b, 0x2f, + 0x6d, 0x6f, 0x63, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x04, 0x6d, 0x6f, 0x63, 0x6b, + 0x1a, 0x0c, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0a, + 0x6c, 0x69, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, + 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3b, 0x0a, 0x0b, 0x52, 0x65, 0x70, 0x6f, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x04, 0x72, 0x65, 0x70, 0x6f, 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, 0x04, + 0x72, 0x65, 0x70, 0x6f, 0x32, 0x9e, 0x01, 0x0a, 0x0d, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x53, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x46, 0x0a, 0x11, 0x52, 0x65, 0x70, 0x6f, 0x41, 0x63, + 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72, 0x55, 0x6e, 0x61, 0x72, 0x79, 0x12, 0x11, 0x2e, 0x6d, 0x6f, + 0x63, 0x6b, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x12, 0x45, + 0x0a, 0x10, 0x52, 0x65, 0x70, 0x6f, 0x4d, 0x75, 0x74, 0x61, 0x74, 0x6f, 0x72, 0x55, 0x6e, 0x61, + 0x72, 0x79, 0x12, 0x11, 0x2e, 0x6d, 0x6f, 0x63, 0x6b, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x06, 0xfa, + 0x97, 0x28, 0x02, 0x08, 0x01, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } -func init() { proto.RegisterFile("praefect/mock/mock.proto", fileDescriptor_d20d83172fd49eb0) } +var ( + file_praefect_mock_mock_proto_rawDescOnce sync.Once + file_praefect_mock_mock_proto_rawDescData = file_praefect_mock_mock_proto_rawDesc +) + +func file_praefect_mock_mock_proto_rawDescGZIP() []byte { + file_praefect_mock_mock_proto_rawDescOnce.Do(func() { + file_praefect_mock_mock_proto_rawDescData = protoimpl.X.CompressGZIP(file_praefect_mock_mock_proto_rawDescData) + }) + return file_praefect_mock_mock_proto_rawDescData +} -var fileDescriptor_d20d83172fd49eb0 = []byte{ - // 230 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x28, 0x28, 0x4a, 0x4c, - 0x4d, 0x4b, 0x4d, 0x2e, 0xd1, 0xcf, 0xcd, 0x4f, 0xce, 0x06, 0x13, 0x7a, 0x05, 0x45, 0xf9, 0x25, - 0xf9, 0x42, 0x2c, 0x20, 0xb6, 0x14, 0x4f, 0x71, 0x46, 0x62, 0x51, 0x6a, 0x0a, 0x44, 0x4c, 0x8a, - 0x2b, 0x27, 0x33, 0xaf, 0x04, 0xca, 0x96, 0x4e, 0xcf, 0xcf, 0x4f, 0xcf, 0x49, 0xd5, 0x07, 0xf3, - 0x92, 0x4a, 0xd3, 0xf4, 0x53, 0x73, 0x0b, 0x4a, 0x2a, 0x21, 0x92, 0x4a, 0xd6, 0x5c, 0xdc, 0x41, - 0xa9, 0x05, 0xf9, 0x41, 0xa9, 0x85, 0xa5, 0xa9, 0xc5, 0x25, 0x42, 0x3a, 0x5c, 0x2c, 0x45, 0xa9, - 0x05, 0xf9, 0x12, 0x8c, 0x0a, 0x8c, 0x1a, 0xdc, 0x46, 0x42, 0x7a, 0xe9, 0x99, 0x25, 0x89, 0x39, - 0x95, 0x7a, 0x20, 0x25, 0xc5, 0x99, 0x25, 0xf9, 0x45, 0x95, 0x4e, 0x2c, 0x33, 0x8e, 0xe9, 0x30, - 0x06, 0x81, 0x55, 0x19, 0xcd, 0x63, 0xe4, 0xe2, 0x0d, 0xce, 0xcc, 0x2d, 0xc8, 0x49, 0x0d, 0x4e, - 0x2d, 0x2a, 0xcb, 0x4c, 0x4e, 0x15, 0x72, 0xe3, 0x12, 0x04, 0xa9, 0x75, 0x4c, 0x4e, 0x4e, 0x2d, - 0x2e, 0xce, 0x2f, 0x0a, 0xcd, 0x4b, 0x2c, 0xaa, 0x14, 0x12, 0xd4, 0x03, 0xbb, 0x16, 0xc9, 0x1e, - 0x29, 0x31, 0x3d, 0x88, 0xa3, 0xf4, 0x60, 0x8e, 0xd2, 0x73, 0x05, 0x39, 0x4a, 0x89, 0xed, 0xd7, - 0x74, 0x0d, 0x26, 0x0e, 0x26, 0x21, 0x57, 0x2e, 0x01, 0x90, 0x72, 0xdf, 0xd2, 0x92, 0xc4, 0x12, - 0xb2, 0x8d, 0x61, 0x4c, 0x62, 0x03, 0x8b, 0x1b, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0x46, 0xa4, - 0xc0, 0xce, 0x3d, 0x01, 0x00, 0x00, +var file_praefect_mock_mock_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_praefect_mock_mock_proto_goTypes = []interface{}{ + (*RepoRequest)(nil), // 0: mock.RepoRequest + (*gitalypb.Repository)(nil), // 1: gitaly.Repository + (*empty.Empty)(nil), // 2: google.protobuf.Empty +} +var file_praefect_mock_mock_proto_depIdxs = []int32{ + 1, // 0: mock.RepoRequest.repo:type_name -> gitaly.Repository + 0, // 1: mock.SimpleService.RepoAccessorUnary:input_type -> mock.RepoRequest + 0, // 2: mock.SimpleService.RepoMutatorUnary:input_type -> mock.RepoRequest + 2, // 3: mock.SimpleService.RepoAccessorUnary:output_type -> google.protobuf.Empty + 2, // 4: mock.SimpleService.RepoMutatorUnary:output_type -> google.protobuf.Empty + 3, // [3:5] is the sub-list for method output_type + 1, // [1:3] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_praefect_mock_mock_proto_init() } +func file_praefect_mock_mock_proto_init() { + if File_praefect_mock_mock_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_praefect_mock_mock_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RepoRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_praefect_mock_mock_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_praefect_mock_mock_proto_goTypes, + DependencyIndexes: file_praefect_mock_mock_proto_depIdxs, + MessageInfos: file_praefect_mock_mock_proto_msgTypes, + }.Build() + File_praefect_mock_mock_proto = out.File + file_praefect_mock_mock_proto_rawDesc = nil + file_praefect_mock_mock_proto_goTypes = nil + file_praefect_mock_mock_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConn +var _ grpc.ClientConnInterface // 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 +const _ = grpc.SupportPackageIsVersion6 // SimpleServiceClient is the client API for SimpleService service. // @@ -109,10 +197,10 @@ type SimpleServiceClient interface { } type simpleServiceClient struct { - cc *grpc.ClientConn + cc grpc.ClientConnInterface } -func NewSimpleServiceClient(cc *grpc.ClientConn) SimpleServiceClient { +func NewSimpleServiceClient(cc grpc.ClientConnInterface) SimpleServiceClient { return &simpleServiceClient{cc} } @@ -146,10 +234,10 @@ type SimpleServiceServer interface { type UnimplementedSimpleServiceServer struct { } -func (*UnimplementedSimpleServiceServer) RepoAccessorUnary(ctx context.Context, req *RepoRequest) (*empty.Empty, error) { +func (*UnimplementedSimpleServiceServer) RepoAccessorUnary(context.Context, *RepoRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method RepoAccessorUnary not implemented") } -func (*UnimplementedSimpleServiceServer) RepoMutatorUnary(ctx context.Context, req *RepoRequest) (*empty.Empty, error) { +func (*UnimplementedSimpleServiceServer) RepoMutatorUnary(context.Context, *RepoRequest) (*empty.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method RepoMutatorUnary not implemented") } diff --git a/proto/go/gitalypb/blob.pb.go b/proto/go/gitalypb/blob.pb.go index 09d80337d..3f3c94f65 100644 --- a/proto/go/gitalypb/blob.pb.go +++ b/proto/go/gitalypb/blob.pb.go @@ -1,348 +1,342 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc v3.12.4 // source: blob.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 +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) +) -// 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 +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 type GetBlobRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // Object ID (SHA1) of the blob we want to get Oid string `protobuf:"bytes,2,opt,name=oid,proto3" json:"oid,omitempty"` // Maximum number of bytes we want to receive. Use '-1' to get the full blob no matter how big. - Limit int64 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Limit int64 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` } -func (m *GetBlobRequest) Reset() { *m = GetBlobRequest{} } -func (m *GetBlobRequest) String() string { return proto.CompactTextString(m) } -func (*GetBlobRequest) ProtoMessage() {} -func (*GetBlobRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6903d1e8a20272e8, []int{0} +func (x *GetBlobRequest) Reset() { + *x = GetBlobRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_blob_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetBlobRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetBlobRequest.Unmarshal(m, b) +func (x *GetBlobRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetBlobRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetBlobRequest.Marshal(b, m, deterministic) -} -func (m *GetBlobRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetBlobRequest.Merge(m, src) -} -func (m *GetBlobRequest) XXX_Size() int { - return xxx_messageInfo_GetBlobRequest.Size(m) -} -func (m *GetBlobRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetBlobRequest.DiscardUnknown(m) + +func (*GetBlobRequest) ProtoMessage() {} + +func (x *GetBlobRequest) ProtoReflect() protoreflect.Message { + mi := &file_blob_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_GetBlobRequest proto.InternalMessageInfo +// Deprecated: Use GetBlobRequest.ProtoReflect.Descriptor instead. +func (*GetBlobRequest) Descriptor() ([]byte, []int) { + return file_blob_proto_rawDescGZIP(), []int{0} +} -func (m *GetBlobRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *GetBlobRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *GetBlobRequest) GetOid() string { - if m != nil { - return m.Oid +func (x *GetBlobRequest) GetOid() string { + if x != nil { + return x.Oid } return "" } -func (m *GetBlobRequest) GetLimit() int64 { - if m != nil { - return m.Limit +func (x *GetBlobRequest) GetLimit() int64 { + if x != nil { + return x.Limit } return 0 } type GetBlobResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Blob size; present only in first response message Size int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` // Chunk of blob data Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // Object ID of the actual blob returned. Empty if no blob was found. - Oid string `protobuf:"bytes,3,opt,name=oid,proto3" json:"oid,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Oid string `protobuf:"bytes,3,opt,name=oid,proto3" json:"oid,omitempty"` } -func (m *GetBlobResponse) Reset() { *m = GetBlobResponse{} } -func (m *GetBlobResponse) String() string { return proto.CompactTextString(m) } -func (*GetBlobResponse) ProtoMessage() {} -func (*GetBlobResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6903d1e8a20272e8, []int{1} +func (x *GetBlobResponse) Reset() { + *x = GetBlobResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_blob_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetBlobResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetBlobResponse.Unmarshal(m, b) +func (x *GetBlobResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetBlobResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetBlobResponse.Marshal(b, m, deterministic) -} -func (m *GetBlobResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetBlobResponse.Merge(m, src) -} -func (m *GetBlobResponse) XXX_Size() int { - return xxx_messageInfo_GetBlobResponse.Size(m) -} -func (m *GetBlobResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetBlobResponse.DiscardUnknown(m) + +func (*GetBlobResponse) ProtoMessage() {} + +func (x *GetBlobResponse) ProtoReflect() protoreflect.Message { + mi := &file_blob_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) } -var xxx_messageInfo_GetBlobResponse proto.InternalMessageInfo +// Deprecated: Use GetBlobResponse.ProtoReflect.Descriptor instead. +func (*GetBlobResponse) Descriptor() ([]byte, []int) { + return file_blob_proto_rawDescGZIP(), []int{1} +} -func (m *GetBlobResponse) GetSize() int64 { - if m != nil { - return m.Size +func (x *GetBlobResponse) GetSize() int64 { + if x != nil { + return x.Size } return 0 } -func (m *GetBlobResponse) GetData() []byte { - if m != nil { - return m.Data +func (x *GetBlobResponse) GetData() []byte { + if x != nil { + return x.Data } return nil } -func (m *GetBlobResponse) GetOid() string { - if m != nil { - return m.Oid +func (x *GetBlobResponse) GetOid() string { + if x != nil { + return x.Oid } return "" } type GetBlobsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // Revision/Path pairs of the blobs we want to get. RevisionPaths []*GetBlobsRequest_RevisionPath `protobuf:"bytes,2,rep,name=revision_paths,json=revisionPaths,proto3" json:"revision_paths,omitempty"` // Maximum number of bytes we want to receive. Use '-1' to get the full blobs no matter how big. - Limit int64 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Limit int64 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` } -func (m *GetBlobsRequest) Reset() { *m = GetBlobsRequest{} } -func (m *GetBlobsRequest) String() string { return proto.CompactTextString(m) } -func (*GetBlobsRequest) ProtoMessage() {} -func (*GetBlobsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6903d1e8a20272e8, []int{2} +func (x *GetBlobsRequest) Reset() { + *x = GetBlobsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_blob_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetBlobsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetBlobsRequest.Unmarshal(m, b) -} -func (m *GetBlobsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetBlobsRequest.Marshal(b, m, deterministic) -} -func (m *GetBlobsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetBlobsRequest.Merge(m, src) -} -func (m *GetBlobsRequest) XXX_Size() int { - return xxx_messageInfo_GetBlobsRequest.Size(m) -} -func (m *GetBlobsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetBlobsRequest.DiscardUnknown(m) +func (x *GetBlobsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_GetBlobsRequest proto.InternalMessageInfo +func (*GetBlobsRequest) ProtoMessage() {} -func (m *GetBlobsRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *GetBlobsRequest) ProtoReflect() protoreflect.Message { + mi := &file_blob_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 nil + return mi.MessageOf(x) } -func (m *GetBlobsRequest) GetRevisionPaths() []*GetBlobsRequest_RevisionPath { - if m != nil { - return m.RevisionPaths - } - return nil +// Deprecated: Use GetBlobsRequest.ProtoReflect.Descriptor instead. +func (*GetBlobsRequest) Descriptor() ([]byte, []int) { + return file_blob_proto_rawDescGZIP(), []int{2} } -func (m *GetBlobsRequest) GetLimit() int64 { - if m != nil { - return m.Limit +func (x *GetBlobsRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } - return 0 -} - -type GetBlobsRequest_RevisionPath struct { - Revision string `protobuf:"bytes,1,opt,name=revision,proto3" json:"revision,omitempty"` - Path []byte `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetBlobsRequest_RevisionPath) Reset() { *m = GetBlobsRequest_RevisionPath{} } -func (m *GetBlobsRequest_RevisionPath) String() string { return proto.CompactTextString(m) } -func (*GetBlobsRequest_RevisionPath) ProtoMessage() {} -func (*GetBlobsRequest_RevisionPath) Descriptor() ([]byte, []int) { - return fileDescriptor_6903d1e8a20272e8, []int{2, 0} -} - -func (m *GetBlobsRequest_RevisionPath) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetBlobsRequest_RevisionPath.Unmarshal(m, b) -} -func (m *GetBlobsRequest_RevisionPath) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetBlobsRequest_RevisionPath.Marshal(b, m, deterministic) -} -func (m *GetBlobsRequest_RevisionPath) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetBlobsRequest_RevisionPath.Merge(m, src) -} -func (m *GetBlobsRequest_RevisionPath) XXX_Size() int { - return xxx_messageInfo_GetBlobsRequest_RevisionPath.Size(m) -} -func (m *GetBlobsRequest_RevisionPath) XXX_DiscardUnknown() { - xxx_messageInfo_GetBlobsRequest_RevisionPath.DiscardUnknown(m) + return nil } -var xxx_messageInfo_GetBlobsRequest_RevisionPath proto.InternalMessageInfo - -func (m *GetBlobsRequest_RevisionPath) GetRevision() string { - if m != nil { - return m.Revision +func (x *GetBlobsRequest) GetRevisionPaths() []*GetBlobsRequest_RevisionPath { + if x != nil { + return x.RevisionPaths } - return "" + return nil } -func (m *GetBlobsRequest_RevisionPath) GetPath() []byte { - if m != nil { - return m.Path +func (x *GetBlobsRequest) GetLimit() int64 { + if x != nil { + return x.Limit } - return nil + return 0 } type GetBlobsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Blob size; present only on the first message per blob Size int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` // Chunk of blob data, could span over multiple messages. Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // Object ID of the current blob. Only present on the first message per blob. Empty if no blob was found. - Oid string `protobuf:"bytes,3,opt,name=oid,proto3" json:"oid,omitempty"` - IsSubmodule bool `protobuf:"varint,4,opt,name=is_submodule,json=isSubmodule,proto3" json:"is_submodule,omitempty"` - Mode int32 `protobuf:"varint,5,opt,name=mode,proto3" json:"mode,omitempty"` - Revision string `protobuf:"bytes,6,opt,name=revision,proto3" json:"revision,omitempty"` - Path []byte `protobuf:"bytes,7,opt,name=path,proto3" json:"path,omitempty"` - Type ObjectType `protobuf:"varint,8,opt,name=type,proto3,enum=gitaly.ObjectType" json:"type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetBlobsResponse) Reset() { *m = GetBlobsResponse{} } -func (m *GetBlobsResponse) String() string { return proto.CompactTextString(m) } -func (*GetBlobsResponse) ProtoMessage() {} -func (*GetBlobsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6903d1e8a20272e8, []int{3} + Oid string `protobuf:"bytes,3,opt,name=oid,proto3" json:"oid,omitempty"` + IsSubmodule bool `protobuf:"varint,4,opt,name=is_submodule,json=isSubmodule,proto3" json:"is_submodule,omitempty"` + Mode int32 `protobuf:"varint,5,opt,name=mode,proto3" json:"mode,omitempty"` + Revision string `protobuf:"bytes,6,opt,name=revision,proto3" json:"revision,omitempty"` + Path []byte `protobuf:"bytes,7,opt,name=path,proto3" json:"path,omitempty"` + Type ObjectType `protobuf:"varint,8,opt,name=type,proto3,enum=gitaly.ObjectType" json:"type,omitempty"` +} + +func (x *GetBlobsResponse) Reset() { + *x = GetBlobsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_blob_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetBlobsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetBlobsResponse.Unmarshal(m, b) -} -func (m *GetBlobsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetBlobsResponse.Marshal(b, m, deterministic) -} -func (m *GetBlobsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetBlobsResponse.Merge(m, src) -} -func (m *GetBlobsResponse) XXX_Size() int { - return xxx_messageInfo_GetBlobsResponse.Size(m) +func (x *GetBlobsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetBlobsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetBlobsResponse.DiscardUnknown(m) + +func (*GetBlobsResponse) ProtoMessage() {} + +func (x *GetBlobsResponse) ProtoReflect() protoreflect.Message { + mi := &file_blob_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_GetBlobsResponse proto.InternalMessageInfo +// Deprecated: Use GetBlobsResponse.ProtoReflect.Descriptor instead. +func (*GetBlobsResponse) Descriptor() ([]byte, []int) { + return file_blob_proto_rawDescGZIP(), []int{3} +} -func (m *GetBlobsResponse) GetSize() int64 { - if m != nil { - return m.Size +func (x *GetBlobsResponse) GetSize() int64 { + if x != nil { + return x.Size } return 0 } -func (m *GetBlobsResponse) GetData() []byte { - if m != nil { - return m.Data +func (x *GetBlobsResponse) GetData() []byte { + if x != nil { + return x.Data } return nil } -func (m *GetBlobsResponse) GetOid() string { - if m != nil { - return m.Oid +func (x *GetBlobsResponse) GetOid() string { + if x != nil { + return x.Oid } return "" } -func (m *GetBlobsResponse) GetIsSubmodule() bool { - if m != nil { - return m.IsSubmodule +func (x *GetBlobsResponse) GetIsSubmodule() bool { + if x != nil { + return x.IsSubmodule } return false } -func (m *GetBlobsResponse) GetMode() int32 { - if m != nil { - return m.Mode +func (x *GetBlobsResponse) GetMode() int32 { + if x != nil { + return x.Mode } return 0 } -func (m *GetBlobsResponse) GetRevision() string { - if m != nil { - return m.Revision +func (x *GetBlobsResponse) GetRevision() string { + if x != nil { + return x.Revision } return "" } -func (m *GetBlobsResponse) GetPath() []byte { - if m != nil { - return m.Path +func (x *GetBlobsResponse) GetPath() []byte { + if x != nil { + return x.Path } return nil } -func (m *GetBlobsResponse) GetType() ObjectType { - if m != nil { - return m.Type +func (x *GetBlobsResponse) GetType() ObjectType { + if x != nil { + return x.Type } return ObjectType_UNKNOWN } // LFSPointer is a git blob which points to an LFS object. type LFSPointer struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Size is the size of the blob. This is not the size of the LFS object // pointed to. Size int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` @@ -350,208 +344,240 @@ type LFSPointer struct { // the LFS data in the format specified by the LFS project. Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // Oid is the object ID of the blob. - Oid string `protobuf:"bytes,3,opt,name=oid,proto3" json:"oid,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Oid string `protobuf:"bytes,3,opt,name=oid,proto3" json:"oid,omitempty"` } -func (m *LFSPointer) Reset() { *m = LFSPointer{} } -func (m *LFSPointer) String() string { return proto.CompactTextString(m) } -func (*LFSPointer) ProtoMessage() {} -func (*LFSPointer) Descriptor() ([]byte, []int) { - return fileDescriptor_6903d1e8a20272e8, []int{4} +func (x *LFSPointer) Reset() { + *x = LFSPointer{} + if protoimpl.UnsafeEnabled { + mi := &file_blob_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *LFSPointer) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LFSPointer.Unmarshal(m, b) -} -func (m *LFSPointer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LFSPointer.Marshal(b, m, deterministic) -} -func (m *LFSPointer) XXX_Merge(src proto.Message) { - xxx_messageInfo_LFSPointer.Merge(m, src) -} -func (m *LFSPointer) XXX_Size() int { - return xxx_messageInfo_LFSPointer.Size(m) +func (x *LFSPointer) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *LFSPointer) XXX_DiscardUnknown() { - xxx_messageInfo_LFSPointer.DiscardUnknown(m) + +func (*LFSPointer) ProtoMessage() {} + +func (x *LFSPointer) ProtoReflect() protoreflect.Message { + mi := &file_blob_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_LFSPointer proto.InternalMessageInfo +// Deprecated: Use LFSPointer.ProtoReflect.Descriptor instead. +func (*LFSPointer) Descriptor() ([]byte, []int) { + return file_blob_proto_rawDescGZIP(), []int{4} +} -func (m *LFSPointer) GetSize() int64 { - if m != nil { - return m.Size +func (x *LFSPointer) GetSize() int64 { + if x != nil { + return x.Size } return 0 } -func (m *LFSPointer) GetData() []byte { - if m != nil { - return m.Data +func (x *LFSPointer) GetData() []byte { + if x != nil { + return x.Data } return nil } -func (m *LFSPointer) GetOid() string { - if m != nil { - return m.Oid +func (x *LFSPointer) GetOid() string { + if x != nil { + return x.Oid } return "" } type NewBlobObject struct { - Size int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` - Oid string `protobuf:"bytes,2,opt,name=oid,proto3" json:"oid,omitempty"` - Path []byte `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *NewBlobObject) Reset() { *m = NewBlobObject{} } -func (m *NewBlobObject) String() string { return proto.CompactTextString(m) } -func (*NewBlobObject) ProtoMessage() {} -func (*NewBlobObject) Descriptor() ([]byte, []int) { - return fileDescriptor_6903d1e8a20272e8, []int{5} + Size int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` + Oid string `protobuf:"bytes,2,opt,name=oid,proto3" json:"oid,omitempty"` + Path []byte `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` } -func (m *NewBlobObject) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NewBlobObject.Unmarshal(m, b) -} -func (m *NewBlobObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NewBlobObject.Marshal(b, m, deterministic) -} -func (m *NewBlobObject) XXX_Merge(src proto.Message) { - xxx_messageInfo_NewBlobObject.Merge(m, src) +func (x *NewBlobObject) Reset() { + *x = NewBlobObject{} + if protoimpl.UnsafeEnabled { + mi := &file_blob_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *NewBlobObject) XXX_Size() int { - return xxx_messageInfo_NewBlobObject.Size(m) + +func (x *NewBlobObject) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *NewBlobObject) XXX_DiscardUnknown() { - xxx_messageInfo_NewBlobObject.DiscardUnknown(m) + +func (*NewBlobObject) ProtoMessage() {} + +func (x *NewBlobObject) ProtoReflect() protoreflect.Message { + mi := &file_blob_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_NewBlobObject proto.InternalMessageInfo +// Deprecated: Use NewBlobObject.ProtoReflect.Descriptor instead. +func (*NewBlobObject) Descriptor() ([]byte, []int) { + return file_blob_proto_rawDescGZIP(), []int{5} +} -func (m *NewBlobObject) GetSize() int64 { - if m != nil { - return m.Size +func (x *NewBlobObject) GetSize() int64 { + if x != nil { + return x.Size } return 0 } -func (m *NewBlobObject) GetOid() string { - if m != nil { - return m.Oid +func (x *NewBlobObject) GetOid() string { + if x != nil { + return x.Oid } return "" } -func (m *NewBlobObject) GetPath() []byte { - if m != nil { - return m.Path +func (x *NewBlobObject) GetPath() []byte { + if x != nil { + return x.Path } return nil } // GetLFSPointersRequest is a request for the GetLFSPointers RPC. type GetLFSPointersRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Repository is the repository for which LFS pointers should be retrieved // from. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // BlobIds is the list of blobs to retrieve LFS pointers from. Must be a // non-empty list of blobs IDs to fetch. - BlobIds []string `protobuf:"bytes,2,rep,name=blob_ids,json=blobIds,proto3" json:"blob_ids,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + BlobIds []string `protobuf:"bytes,2,rep,name=blob_ids,json=blobIds,proto3" json:"blob_ids,omitempty"` } -func (m *GetLFSPointersRequest) Reset() { *m = GetLFSPointersRequest{} } -func (m *GetLFSPointersRequest) String() string { return proto.CompactTextString(m) } -func (*GetLFSPointersRequest) ProtoMessage() {} -func (*GetLFSPointersRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6903d1e8a20272e8, []int{6} +func (x *GetLFSPointersRequest) Reset() { + *x = GetLFSPointersRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_blob_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetLFSPointersRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetLFSPointersRequest.Unmarshal(m, b) -} -func (m *GetLFSPointersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetLFSPointersRequest.Marshal(b, m, deterministic) -} -func (m *GetLFSPointersRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetLFSPointersRequest.Merge(m, src) -} -func (m *GetLFSPointersRequest) XXX_Size() int { - return xxx_messageInfo_GetLFSPointersRequest.Size(m) +func (x *GetLFSPointersRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetLFSPointersRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetLFSPointersRequest.DiscardUnknown(m) + +func (*GetLFSPointersRequest) ProtoMessage() {} + +func (x *GetLFSPointersRequest) ProtoReflect() protoreflect.Message { + mi := &file_blob_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_GetLFSPointersRequest proto.InternalMessageInfo +// Deprecated: Use GetLFSPointersRequest.ProtoReflect.Descriptor instead. +func (*GetLFSPointersRequest) Descriptor() ([]byte, []int) { + return file_blob_proto_rawDescGZIP(), []int{6} +} -func (m *GetLFSPointersRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *GetLFSPointersRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *GetLFSPointersRequest) GetBlobIds() []string { - if m != nil { - return m.BlobIds +func (x *GetLFSPointersRequest) GetBlobIds() []string { + if x != nil { + return x.BlobIds } return nil } // GetLFSPointersResponse is a response for the GetLFSPointers RPC. type GetLFSPointersResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // LfsPointers is the list of LFS pointers which were requested. - LfsPointers []*LFSPointer `protobuf:"bytes,1,rep,name=lfs_pointers,json=lfsPointers,proto3" json:"lfs_pointers,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + LfsPointers []*LFSPointer `protobuf:"bytes,1,rep,name=lfs_pointers,json=lfsPointers,proto3" json:"lfs_pointers,omitempty"` } -func (m *GetLFSPointersResponse) Reset() { *m = GetLFSPointersResponse{} } -func (m *GetLFSPointersResponse) String() string { return proto.CompactTextString(m) } -func (*GetLFSPointersResponse) ProtoMessage() {} -func (*GetLFSPointersResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6903d1e8a20272e8, []int{7} +func (x *GetLFSPointersResponse) Reset() { + *x = GetLFSPointersResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_blob_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetLFSPointersResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetLFSPointersResponse.Unmarshal(m, b) -} -func (m *GetLFSPointersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetLFSPointersResponse.Marshal(b, m, deterministic) -} -func (m *GetLFSPointersResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetLFSPointersResponse.Merge(m, src) -} -func (m *GetLFSPointersResponse) XXX_Size() int { - return xxx_messageInfo_GetLFSPointersResponse.Size(m) +func (x *GetLFSPointersResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetLFSPointersResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetLFSPointersResponse.DiscardUnknown(m) + +func (*GetLFSPointersResponse) ProtoMessage() {} + +func (x *GetLFSPointersResponse) ProtoReflect() protoreflect.Message { + mi := &file_blob_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) } -var xxx_messageInfo_GetLFSPointersResponse proto.InternalMessageInfo +// Deprecated: Use GetLFSPointersResponse.ProtoReflect.Descriptor instead. +func (*GetLFSPointersResponse) Descriptor() ([]byte, []int) { + return file_blob_proto_rawDescGZIP(), []int{7} +} -func (m *GetLFSPointersResponse) GetLfsPointers() []*LFSPointer { - if m != nil { - return m.LfsPointers +func (x *GetLFSPointersResponse) GetLfsPointers() []*LFSPointer { + if x != nil { + return x.LfsPointers } return nil } // ListLFSPointersRequest is a request for the ListLFSPointers RPC. type ListLFSPointersRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Repository is the repository for which LFS pointers should be retrieved // from. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` @@ -559,260 +585,652 @@ type ListLFSPointersRequest struct { // a non-empty list. Revisions []string `protobuf:"bytes,2,rep,name=revisions,proto3" json:"revisions,omitempty"` // Limit limits the number of LFS pointers returned. - Limit int32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Limit int32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` } -func (m *ListLFSPointersRequest) Reset() { *m = ListLFSPointersRequest{} } -func (m *ListLFSPointersRequest) String() string { return proto.CompactTextString(m) } -func (*ListLFSPointersRequest) ProtoMessage() {} -func (*ListLFSPointersRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6903d1e8a20272e8, []int{8} +func (x *ListLFSPointersRequest) Reset() { + *x = ListLFSPointersRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_blob_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListLFSPointersRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListLFSPointersRequest.Unmarshal(m, b) -} -func (m *ListLFSPointersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListLFSPointersRequest.Marshal(b, m, deterministic) -} -func (m *ListLFSPointersRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListLFSPointersRequest.Merge(m, src) -} -func (m *ListLFSPointersRequest) XXX_Size() int { - return xxx_messageInfo_ListLFSPointersRequest.Size(m) +func (x *ListLFSPointersRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListLFSPointersRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListLFSPointersRequest.DiscardUnknown(m) + +func (*ListLFSPointersRequest) ProtoMessage() {} + +func (x *ListLFSPointersRequest) ProtoReflect() protoreflect.Message { + mi := &file_blob_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_ListLFSPointersRequest proto.InternalMessageInfo +// Deprecated: Use ListLFSPointersRequest.ProtoReflect.Descriptor instead. +func (*ListLFSPointersRequest) Descriptor() ([]byte, []int) { + return file_blob_proto_rawDescGZIP(), []int{8} +} -func (m *ListLFSPointersRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *ListLFSPointersRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *ListLFSPointersRequest) GetRevisions() []string { - if m != nil { - return m.Revisions +func (x *ListLFSPointersRequest) GetRevisions() []string { + if x != nil { + return x.Revisions } return nil } -func (m *ListLFSPointersRequest) GetLimit() int32 { - if m != nil { - return m.Limit +func (x *ListLFSPointersRequest) GetLimit() int32 { + if x != nil { + return x.Limit } return 0 } // ListLFSPointersResponse is a response for the ListLFSPointers RPC. type ListLFSPointersResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // LfsPointers is the list of LFS pointers which were requested. - LfsPointers []*LFSPointer `protobuf:"bytes,1,rep,name=lfs_pointers,json=lfsPointers,proto3" json:"lfs_pointers,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + LfsPointers []*LFSPointer `protobuf:"bytes,1,rep,name=lfs_pointers,json=lfsPointers,proto3" json:"lfs_pointers,omitempty"` } -func (m *ListLFSPointersResponse) Reset() { *m = ListLFSPointersResponse{} } -func (m *ListLFSPointersResponse) String() string { return proto.CompactTextString(m) } -func (*ListLFSPointersResponse) ProtoMessage() {} -func (*ListLFSPointersResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6903d1e8a20272e8, []int{9} +func (x *ListLFSPointersResponse) Reset() { + *x = ListLFSPointersResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_blob_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListLFSPointersResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListLFSPointersResponse.Unmarshal(m, b) -} -func (m *ListLFSPointersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListLFSPointersResponse.Marshal(b, m, deterministic) -} -func (m *ListLFSPointersResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListLFSPointersResponse.Merge(m, src) -} -func (m *ListLFSPointersResponse) XXX_Size() int { - return xxx_messageInfo_ListLFSPointersResponse.Size(m) +func (x *ListLFSPointersResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListLFSPointersResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListLFSPointersResponse.DiscardUnknown(m) + +func (*ListLFSPointersResponse) ProtoMessage() {} + +func (x *ListLFSPointersResponse) ProtoReflect() protoreflect.Message { + mi := &file_blob_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_ListLFSPointersResponse proto.InternalMessageInfo +// Deprecated: Use ListLFSPointersResponse.ProtoReflect.Descriptor instead. +func (*ListLFSPointersResponse) Descriptor() ([]byte, []int) { + return file_blob_proto_rawDescGZIP(), []int{9} +} -func (m *ListLFSPointersResponse) GetLfsPointers() []*LFSPointer { - if m != nil { - return m.LfsPointers +func (x *ListLFSPointersResponse) GetLfsPointers() []*LFSPointer { + if x != nil { + return x.LfsPointers } return nil } // ListAllLFSPointersRequest is a request for the ListAllLFSPointers RPC. type ListAllLFSPointersRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Repository is the repository for which LFS pointers should be retrieved // from. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // Limit limits the number of LFS pointers returned. - Limit int32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Limit int32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` } -func (m *ListAllLFSPointersRequest) Reset() { *m = ListAllLFSPointersRequest{} } -func (m *ListAllLFSPointersRequest) String() string { return proto.CompactTextString(m) } -func (*ListAllLFSPointersRequest) ProtoMessage() {} -func (*ListAllLFSPointersRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6903d1e8a20272e8, []int{10} +func (x *ListAllLFSPointersRequest) Reset() { + *x = ListAllLFSPointersRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_blob_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListAllLFSPointersRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListAllLFSPointersRequest.Unmarshal(m, b) -} -func (m *ListAllLFSPointersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListAllLFSPointersRequest.Marshal(b, m, deterministic) -} -func (m *ListAllLFSPointersRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListAllLFSPointersRequest.Merge(m, src) -} -func (m *ListAllLFSPointersRequest) XXX_Size() int { - return xxx_messageInfo_ListAllLFSPointersRequest.Size(m) +func (x *ListAllLFSPointersRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListAllLFSPointersRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListAllLFSPointersRequest.DiscardUnknown(m) + +func (*ListAllLFSPointersRequest) ProtoMessage() {} + +func (x *ListAllLFSPointersRequest) ProtoReflect() protoreflect.Message { + mi := &file_blob_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_ListAllLFSPointersRequest proto.InternalMessageInfo +// Deprecated: Use ListAllLFSPointersRequest.ProtoReflect.Descriptor instead. +func (*ListAllLFSPointersRequest) Descriptor() ([]byte, []int) { + return file_blob_proto_rawDescGZIP(), []int{10} +} -func (m *ListAllLFSPointersRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *ListAllLFSPointersRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *ListAllLFSPointersRequest) GetLimit() int32 { - if m != nil { - return m.Limit +func (x *ListAllLFSPointersRequest) GetLimit() int32 { + if x != nil { + return x.Limit } return 0 } // ListAllLFSPointersResponse is a response for the ListAllLFSPointers RPC. type ListAllLFSPointersResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // LfsPointers is the list of LFS pointers which were requested. - LfsPointers []*LFSPointer `protobuf:"bytes,1,rep,name=lfs_pointers,json=lfsPointers,proto3" json:"lfs_pointers,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + LfsPointers []*LFSPointer `protobuf:"bytes,1,rep,name=lfs_pointers,json=lfsPointers,proto3" json:"lfs_pointers,omitempty"` +} + +func (x *ListAllLFSPointersResponse) Reset() { + *x = ListAllLFSPointersResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_blob_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListAllLFSPointersResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListAllLFSPointersResponse) Reset() { *m = ListAllLFSPointersResponse{} } -func (m *ListAllLFSPointersResponse) String() string { return proto.CompactTextString(m) } -func (*ListAllLFSPointersResponse) ProtoMessage() {} +func (*ListAllLFSPointersResponse) ProtoMessage() {} + +func (x *ListAllLFSPointersResponse) ProtoReflect() protoreflect.Message { + mi := &file_blob_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 mi.MessageOf(x) +} + +// Deprecated: Use ListAllLFSPointersResponse.ProtoReflect.Descriptor instead. func (*ListAllLFSPointersResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6903d1e8a20272e8, []int{11} + return file_blob_proto_rawDescGZIP(), []int{11} } -func (m *ListAllLFSPointersResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListAllLFSPointersResponse.Unmarshal(m, b) +func (x *ListAllLFSPointersResponse) GetLfsPointers() []*LFSPointer { + if x != nil { + return x.LfsPointers + } + return nil } -func (m *ListAllLFSPointersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListAllLFSPointersResponse.Marshal(b, m, deterministic) + +type GetBlobsRequest_RevisionPath struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Revision string `protobuf:"bytes,1,opt,name=revision,proto3" json:"revision,omitempty"` + Path []byte `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` } -func (m *ListAllLFSPointersResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListAllLFSPointersResponse.Merge(m, src) + +func (x *GetBlobsRequest_RevisionPath) Reset() { + *x = GetBlobsRequest_RevisionPath{} + if protoimpl.UnsafeEnabled { + mi := &file_blob_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListAllLFSPointersResponse) XXX_Size() int { - return xxx_messageInfo_ListAllLFSPointersResponse.Size(m) + +func (x *GetBlobsRequest_RevisionPath) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListAllLFSPointersResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListAllLFSPointersResponse.DiscardUnknown(m) + +func (*GetBlobsRequest_RevisionPath) ProtoMessage() {} + +func (x *GetBlobsRequest_RevisionPath) ProtoReflect() protoreflect.Message { + mi := &file_blob_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_ListAllLFSPointersResponse proto.InternalMessageInfo +// Deprecated: Use GetBlobsRequest_RevisionPath.ProtoReflect.Descriptor instead. +func (*GetBlobsRequest_RevisionPath) Descriptor() ([]byte, []int) { + return file_blob_proto_rawDescGZIP(), []int{2, 0} +} + +func (x *GetBlobsRequest_RevisionPath) GetRevision() string { + if x != nil { + return x.Revision + } + return "" +} -func (m *ListAllLFSPointersResponse) GetLfsPointers() []*LFSPointer { - if m != nil { - return m.LfsPointers +func (x *GetBlobsRequest_RevisionPath) GetPath() []byte { + if x != nil { + return x.Path } return nil } -func init() { - proto.RegisterType((*GetBlobRequest)(nil), "gitaly.GetBlobRequest") - proto.RegisterType((*GetBlobResponse)(nil), "gitaly.GetBlobResponse") - proto.RegisterType((*GetBlobsRequest)(nil), "gitaly.GetBlobsRequest") - proto.RegisterType((*GetBlobsRequest_RevisionPath)(nil), "gitaly.GetBlobsRequest.RevisionPath") - proto.RegisterType((*GetBlobsResponse)(nil), "gitaly.GetBlobsResponse") - proto.RegisterType((*LFSPointer)(nil), "gitaly.LFSPointer") - proto.RegisterType((*NewBlobObject)(nil), "gitaly.NewBlobObject") - proto.RegisterType((*GetLFSPointersRequest)(nil), "gitaly.GetLFSPointersRequest") - proto.RegisterType((*GetLFSPointersResponse)(nil), "gitaly.GetLFSPointersResponse") - proto.RegisterType((*ListLFSPointersRequest)(nil), "gitaly.ListLFSPointersRequest") - proto.RegisterType((*ListLFSPointersResponse)(nil), "gitaly.ListLFSPointersResponse") - proto.RegisterType((*ListAllLFSPointersRequest)(nil), "gitaly.ListAllLFSPointersRequest") - proto.RegisterType((*ListAllLFSPointersResponse)(nil), "gitaly.ListAllLFSPointersResponse") -} - -func init() { proto.RegisterFile("blob.proto", fileDescriptor_6903d1e8a20272e8) } - -var fileDescriptor_6903d1e8a20272e8 = []byte{ - // 639 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0xcb, 0x6e, 0xd3, 0x40, - 0x14, 0xd5, 0xc4, 0x49, 0x9a, 0xdc, 0xa4, 0x0f, 0x8d, 0xa0, 0x75, 0x2d, 0x1e, 0xae, 0x85, 0x90, - 0x17, 0x90, 0x54, 0x45, 0x48, 0xac, 0x90, 0xa8, 0x50, 0xab, 0xaa, 0x15, 0xad, 0x26, 0x6c, 0x40, - 0x48, 0x91, 0x5d, 0x4f, 0xdb, 0x81, 0x49, 0xc6, 0x78, 0xa6, 0x45, 0xe1, 0x03, 0xf8, 0x05, 0xf8, - 0x18, 0xd6, 0xfc, 0x04, 0xff, 0xc0, 0x07, 0xb0, 0x42, 0x63, 0xc7, 0x8f, 0xc6, 0x0e, 0x9b, 0x64, - 0x77, 0x1f, 0x73, 0xcf, 0x3d, 0xf7, 0xce, 0xf1, 0x18, 0xc0, 0xe7, 0xc2, 0xef, 0x85, 0x91, 0x50, - 0x02, 0x37, 0x2f, 0x99, 0xf2, 0xf8, 0xc4, 0x02, 0xce, 0xc6, 0x2a, 0x89, 0x59, 0x5d, 0x79, 0xe5, - 0x45, 0x34, 0x48, 0x3c, 0x27, 0x82, 0xb5, 0x43, 0xaa, 0xf6, 0xb9, 0xf0, 0x09, 0xfd, 0x7c, 0x4d, - 0xa5, 0xc2, 0x2f, 0x00, 0x22, 0x1a, 0x0a, 0xc9, 0x94, 0x88, 0x26, 0x26, 0xb2, 0x91, 0xdb, 0xd9, - 0xc3, 0xbd, 0x04, 0xa8, 0x47, 0xb2, 0xcc, 0x7e, 0xfd, 0xc7, 0xaf, 0x27, 0x88, 0x14, 0xce, 0xe2, - 0x0d, 0x30, 0x04, 0x0b, 0xcc, 0x9a, 0x8d, 0xdc, 0x36, 0xd1, 0x26, 0xbe, 0x03, 0x0d, 0xce, 0x46, - 0x4c, 0x99, 0x86, 0x8d, 0x5c, 0x83, 0x24, 0x8e, 0x73, 0x0c, 0xeb, 0x59, 0x4f, 0x19, 0x8a, 0xb1, - 0xa4, 0x18, 0x43, 0x5d, 0xb2, 0xaf, 0x34, 0x6e, 0x67, 0x90, 0xd8, 0xd6, 0xb1, 0xc0, 0x53, 0x5e, - 0x8c, 0xd7, 0x25, 0xb1, 0x9d, 0xb6, 0x30, 0xb2, 0x16, 0xce, 0x1f, 0x94, 0xa1, 0xc9, 0xc5, 0x47, - 0x38, 0x86, 0xb5, 0x88, 0xde, 0x30, 0xc9, 0xc4, 0x78, 0x18, 0x7a, 0xea, 0x4a, 0x9a, 0x35, 0xdb, - 0x70, 0x3b, 0x7b, 0x8f, 0xd2, 0xea, 0x99, 0x56, 0x3d, 0x32, 0x3d, 0x7d, 0xe6, 0xa9, 0x2b, 0xb2, - 0x1a, 0x15, 0x3c, 0x59, 0x3d, 0xbd, 0xf5, 0x12, 0xba, 0xc5, 0x22, 0x6c, 0x41, 0x2b, 0x2d, 0x8b, - 0xa9, 0xb6, 0x49, 0xe6, 0xeb, 0x15, 0x68, 0x16, 0xe9, 0x0a, 0xb4, 0xed, 0xfc, 0x46, 0xb0, 0x91, - 0xb3, 0x58, 0x74, 0x7f, 0x78, 0x07, 0xba, 0x4c, 0x0e, 0xe5, 0xb5, 0x3f, 0x12, 0xc1, 0x35, 0xa7, - 0x66, 0xdd, 0x46, 0x6e, 0x8b, 0x74, 0x98, 0x1c, 0xa4, 0x21, 0x0d, 0x34, 0x12, 0x01, 0x35, 0x1b, - 0x36, 0x72, 0x1b, 0x24, 0xb6, 0x6f, 0xb1, 0x6e, 0xce, 0x61, 0xbd, 0x92, 0xb3, 0xc6, 0x8f, 0xa1, - 0xae, 0x26, 0x21, 0x35, 0x5b, 0x36, 0x72, 0xd7, 0xf2, 0xcb, 0x38, 0xf5, 0x3f, 0xd2, 0x73, 0xf5, - 0x76, 0x12, 0x52, 0x12, 0xe7, 0x9d, 0x03, 0x80, 0x93, 0x83, 0xc1, 0x99, 0x60, 0x63, 0x45, 0xa3, - 0x05, 0x64, 0x71, 0x04, 0xab, 0x6f, 0xe8, 0x17, 0xbd, 0xa4, 0xa4, 0x45, 0x25, 0x54, 0x59, 0xb0, - 0x29, 0x75, 0xa3, 0xb0, 0x70, 0x0e, 0x77, 0x0f, 0xa9, 0xca, 0x59, 0x2d, 0x41, 0x66, 0xdb, 0xd0, - 0xd2, 0x5f, 0xe9, 0x90, 0x05, 0x89, 0xc0, 0xda, 0x64, 0x45, 0xfb, 0x47, 0x81, 0x74, 0x4e, 0x61, - 0x73, 0xb6, 0xdb, 0xf4, 0x8e, 0x9f, 0x43, 0x97, 0x5f, 0xc8, 0x61, 0x38, 0x8d, 0x9b, 0x28, 0x56, - 0x66, 0xd6, 0x30, 0x2f, 0x21, 0x1d, 0x7e, 0x21, 0xd3, 0x72, 0xe7, 0x1b, 0x82, 0xcd, 0x13, 0x26, - 0x97, 0x3b, 0xc0, 0x3d, 0x68, 0xa7, 0xd7, 0x9d, 0x4e, 0x90, 0x07, 0x6e, 0x0b, 0xbf, 0x91, 0x7e, - 0xf6, 0x67, 0xb0, 0x55, 0xe2, 0xb1, 0xd8, 0x68, 0x9f, 0x60, 0x5b, 0x23, 0xbe, 0xe2, 0x7c, 0xa9, - 0xc3, 0x55, 0xd3, 0x1f, 0x80, 0x55, 0xd5, 0x6c, 0xa1, 0x09, 0xf6, 0x7e, 0x1a, 0xd0, 0xd1, 0x22, - 0x1d, 0xd0, 0xe8, 0x86, 0x9d, 0x53, 0xfc, 0x1a, 0x56, 0xa6, 0xdf, 0x36, 0xde, 0x9c, 0x79, 0x72, - 0xa6, 0x73, 0x59, 0x5b, 0xa5, 0x78, 0x42, 0xc1, 0x69, 0xfe, 0xfd, 0xee, 0xd6, 0x5a, 0xb5, 0x5d, - 0x84, 0x0f, 0xa1, 0x95, 0xbe, 0x10, 0x78, 0x6b, 0xce, 0xcb, 0x65, 0x99, 0xe5, 0x44, 0x09, 0xe8, - 0x5d, 0xfc, 0x77, 0x28, 0xcc, 0x8b, 0xef, 0x17, 0xaa, 0xca, 0x4b, 0xb7, 0x1e, 0xcc, 0x4b, 0x97, - 0xa0, 0x3f, 0xc0, 0xfa, 0x8c, 0x1a, 0x70, 0x56, 0x5c, 0x2d, 0x57, 0xeb, 0xe1, 0xdc, 0x7c, 0x09, - 0x9d, 0x02, 0x2e, 0x5f, 0x16, 0xde, 0x29, 0x02, 0x54, 0xaa, 0xc6, 0x72, 0xfe, 0x77, 0x64, 0xb6, - 0xcd, 0xfe, 0xee, 0x7b, 0x7d, 0x9c, 0x7b, 0x7e, 0xef, 0x5c, 0x8c, 0xfa, 0x89, 0xf9, 0x54, 0x44, - 0x97, 0xfd, 0x04, 0xa4, 0x1f, 0xff, 0x63, 0xfb, 0x97, 0x62, 0xea, 0x87, 0xbe, 0xdf, 0x8c, 0x43, - 0xcf, 0xfe, 0x05, 0x00, 0x00, 0xff, 0xff, 0xcf, 0x77, 0x87, 0x52, 0xa6, 0x07, 0x00, 0x00, +var File_blob_proto protoreflect.FileDescriptor + +var file_blob_proto_rawDesc = []byte{ + 0x0a, 0x0a, 0x62, 0x6c, 0x6f, 0x62, 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, 0x72, + 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x62, 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, 0x10, 0x0a, 0x03, 0x6f, 0x69, + 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6f, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, + 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6c, 0x69, 0x6d, + 0x69, 0x74, 0x22, 0x4b, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x62, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, + 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x10, 0x0a, + 0x03, 0x6f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6f, 0x69, 0x64, 0x22, + 0xee, 0x01, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, + 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, + 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x4b, 0x0a, + 0x0e, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x73, 0x18, + 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, + 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x52, + 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x74, 0x68, 0x52, 0x0d, 0x72, 0x65, 0x76, + 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x74, 0x68, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, + 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, + 0x1a, 0x3e, 0x0a, 0x0c, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x74, 0x68, + 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, + 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, + 0x22, 0xdb, 0x01, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, + 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x10, 0x0a, + 0x03, 0x6f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6f, 0x69, 0x64, 0x12, + 0x21, 0x0a, 0x0c, 0x69, 0x73, 0x5f, 0x73, 0x75, 0x62, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73, 0x53, 0x75, 0x62, 0x6d, 0x6f, 0x64, 0x75, + 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, + 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, + 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x26, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x08, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4f, 0x62, + 0x6a, 0x65, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x46, + 0x0a, 0x0a, 0x4c, 0x46, 0x53, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, + 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, + 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, + 0x64, 0x61, 0x74, 0x61, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x03, 0x6f, 0x69, 0x64, 0x22, 0x49, 0x0a, 0x0d, 0x4e, 0x65, 0x77, 0x42, 0x6c, 0x6f, + 0x62, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6f, + 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6f, 0x69, 0x64, 0x12, 0x12, 0x0a, + 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x70, 0x61, 0x74, + 0x68, 0x22, 0x6c, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x4c, 0x46, 0x53, 0x50, 0x6f, 0x69, 0x6e, 0x74, + 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, + 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, + 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, + 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, + 0x74, 0x6f, 0x72, 0x79, 0x12, 0x19, 0x0a, 0x08, 0x62, 0x6c, 0x6f, 0x62, 0x5f, 0x69, 0x64, 0x73, + 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x62, 0x6c, 0x6f, 0x62, 0x49, 0x64, 0x73, 0x22, + 0x4f, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x4c, 0x46, 0x53, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x0c, 0x6c, 0x66, 0x73, + 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x46, 0x53, 0x50, 0x6f, 0x69, 0x6e, + 0x74, 0x65, 0x72, 0x52, 0x0b, 0x6c, 0x66, 0x73, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, + 0x22, 0x86, 0x01, 0x0a, 0x16, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x46, 0x53, 0x50, 0x6f, 0x69, 0x6e, + 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, + 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, + 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, + 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, + 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, + 0x6f, 0x6e, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0x50, 0x0a, 0x17, 0x4c, 0x69, 0x73, + 0x74, 0x4c, 0x46, 0x53, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x0c, 0x6c, 0x66, 0x73, 0x5f, 0x70, 0x6f, 0x69, 0x6e, + 0x74, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x46, 0x53, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x52, 0x0b, + 0x6c, 0x66, 0x73, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x22, 0x6b, 0x0a, 0x19, 0x4c, + 0x69, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x4c, 0x46, 0x53, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, + 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, + 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, + 0x72, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0x53, 0x0a, 0x1a, 0x4c, 0x69, 0x73, 0x74, + 0x41, 0x6c, 0x6c, 0x4c, 0x46, 0x53, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x0c, 0x6c, 0x66, 0x73, 0x5f, 0x70, 0x6f, + 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x46, 0x53, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, + 0x52, 0x0b, 0x6c, 0x66, 0x73, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x32, 0xbc, 0x03, + 0x0a, 0x0b, 0x42, 0x6c, 0x6f, 0x62, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x44, 0x0a, + 0x07, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x62, 0x12, 0x16, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, + 0x79, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x17, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, + 0x62, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, + 0x02, 0x30, 0x01, 0x12, 0x47, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x62, 0x73, 0x12, + 0x17, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x62, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, + 0x79, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x59, 0x0a, 0x0e, + 0x47, 0x65, 0x74, 0x4c, 0x46, 0x53, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x12, 0x1d, + 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x46, 0x53, 0x50, 0x6f, + 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x46, 0x53, 0x50, 0x6f, 0x69, + 0x6e, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, + 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x5c, 0x0a, 0x0f, 0x4c, 0x69, 0x73, 0x74, 0x4c, + 0x46, 0x53, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x12, 0x1e, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x46, 0x53, 0x50, 0x6f, 0x69, 0x6e, 0x74, + 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x46, 0x53, 0x50, 0x6f, 0x69, 0x6e, 0x74, + 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, + 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x65, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x6c, 0x6c, + 0x4c, 0x46, 0x53, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x12, 0x21, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x4c, 0x46, 0x53, 0x50, + 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, + 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x4c, + 0x46, 0x53, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x42, 0x30, 0x5a, 0x2e, + 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, 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_blob_proto_rawDescOnce sync.Once + file_blob_proto_rawDescData = file_blob_proto_rawDesc +) + +func file_blob_proto_rawDescGZIP() []byte { + file_blob_proto_rawDescOnce.Do(func() { + file_blob_proto_rawDescData = protoimpl.X.CompressGZIP(file_blob_proto_rawDescData) + }) + return file_blob_proto_rawDescData +} + +var file_blob_proto_msgTypes = make([]protoimpl.MessageInfo, 13) +var file_blob_proto_goTypes = []interface{}{ + (*GetBlobRequest)(nil), // 0: gitaly.GetBlobRequest + (*GetBlobResponse)(nil), // 1: gitaly.GetBlobResponse + (*GetBlobsRequest)(nil), // 2: gitaly.GetBlobsRequest + (*GetBlobsResponse)(nil), // 3: gitaly.GetBlobsResponse + (*LFSPointer)(nil), // 4: gitaly.LFSPointer + (*NewBlobObject)(nil), // 5: gitaly.NewBlobObject + (*GetLFSPointersRequest)(nil), // 6: gitaly.GetLFSPointersRequest + (*GetLFSPointersResponse)(nil), // 7: gitaly.GetLFSPointersResponse + (*ListLFSPointersRequest)(nil), // 8: gitaly.ListLFSPointersRequest + (*ListLFSPointersResponse)(nil), // 9: gitaly.ListLFSPointersResponse + (*ListAllLFSPointersRequest)(nil), // 10: gitaly.ListAllLFSPointersRequest + (*ListAllLFSPointersResponse)(nil), // 11: gitaly.ListAllLFSPointersResponse + (*GetBlobsRequest_RevisionPath)(nil), // 12: gitaly.GetBlobsRequest.RevisionPath + (*Repository)(nil), // 13: gitaly.Repository + (ObjectType)(0), // 14: gitaly.ObjectType +} +var file_blob_proto_depIdxs = []int32{ + 13, // 0: gitaly.GetBlobRequest.repository:type_name -> gitaly.Repository + 13, // 1: gitaly.GetBlobsRequest.repository:type_name -> gitaly.Repository + 12, // 2: gitaly.GetBlobsRequest.revision_paths:type_name -> gitaly.GetBlobsRequest.RevisionPath + 14, // 3: gitaly.GetBlobsResponse.type:type_name -> gitaly.ObjectType + 13, // 4: gitaly.GetLFSPointersRequest.repository:type_name -> gitaly.Repository + 4, // 5: gitaly.GetLFSPointersResponse.lfs_pointers:type_name -> gitaly.LFSPointer + 13, // 6: gitaly.ListLFSPointersRequest.repository:type_name -> gitaly.Repository + 4, // 7: gitaly.ListLFSPointersResponse.lfs_pointers:type_name -> gitaly.LFSPointer + 13, // 8: gitaly.ListAllLFSPointersRequest.repository:type_name -> gitaly.Repository + 4, // 9: gitaly.ListAllLFSPointersResponse.lfs_pointers:type_name -> gitaly.LFSPointer + 0, // 10: gitaly.BlobService.GetBlob:input_type -> gitaly.GetBlobRequest + 2, // 11: gitaly.BlobService.GetBlobs:input_type -> gitaly.GetBlobsRequest + 6, // 12: gitaly.BlobService.GetLFSPointers:input_type -> gitaly.GetLFSPointersRequest + 8, // 13: gitaly.BlobService.ListLFSPointers:input_type -> gitaly.ListLFSPointersRequest + 10, // 14: gitaly.BlobService.ListAllLFSPointers:input_type -> gitaly.ListAllLFSPointersRequest + 1, // 15: gitaly.BlobService.GetBlob:output_type -> gitaly.GetBlobResponse + 3, // 16: gitaly.BlobService.GetBlobs:output_type -> gitaly.GetBlobsResponse + 7, // 17: gitaly.BlobService.GetLFSPointers:output_type -> gitaly.GetLFSPointersResponse + 9, // 18: gitaly.BlobService.ListLFSPointers:output_type -> gitaly.ListLFSPointersResponse + 11, // 19: gitaly.BlobService.ListAllLFSPointers:output_type -> gitaly.ListAllLFSPointersResponse + 15, // [15:20] is the sub-list for method output_type + 10, // [10:15] is the sub-list for method input_type + 10, // [10:10] is the sub-list for extension type_name + 10, // [10:10] is the sub-list for extension extendee + 0, // [0:10] is the sub-list for field type_name +} + +func init() { file_blob_proto_init() } +func file_blob_proto_init() { + if File_blob_proto != nil { + return + } + file_lint_proto_init() + file_shared_proto_init() + if !protoimpl.UnsafeEnabled { + file_blob_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetBlobRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_blob_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetBlobResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_blob_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetBlobsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_blob_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetBlobsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_blob_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LFSPointer); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_blob_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NewBlobObject); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_blob_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetLFSPointersRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_blob_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetLFSPointersResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_blob_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListLFSPointersRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_blob_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListLFSPointersResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_blob_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListAllLFSPointersRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_blob_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListAllLFSPointersResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_blob_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetBlobsRequest_RevisionPath); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_blob_proto_rawDesc, + NumEnums: 0, + NumMessages: 13, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_blob_proto_goTypes, + DependencyIndexes: file_blob_proto_depIdxs, + MessageInfos: file_blob_proto_msgTypes, + }.Build() + File_blob_proto = out.File + file_blob_proto_rawDesc = nil + file_blob_proto_goTypes = nil + file_blob_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConn +var _ grpc.ClientConnInterface // 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 +const _ = grpc.SupportPackageIsVersion6 // BlobServiceClient is the client API for BlobService service. // @@ -840,10 +1258,10 @@ type BlobServiceClient interface { } type blobServiceClient struct { - cc *grpc.ClientConn + cc grpc.ClientConnInterface } -func NewBlobServiceClient(cc *grpc.ClientConn) BlobServiceClient { +func NewBlobServiceClient(cc grpc.ClientConnInterface) BlobServiceClient { return &blobServiceClient{cc} } @@ -1034,19 +1452,19 @@ type BlobServiceServer interface { type UnimplementedBlobServiceServer struct { } -func (*UnimplementedBlobServiceServer) GetBlob(req *GetBlobRequest, srv BlobService_GetBlobServer) error { +func (*UnimplementedBlobServiceServer) GetBlob(*GetBlobRequest, BlobService_GetBlobServer) error { return status.Errorf(codes.Unimplemented, "method GetBlob not implemented") } -func (*UnimplementedBlobServiceServer) GetBlobs(req *GetBlobsRequest, srv BlobService_GetBlobsServer) error { +func (*UnimplementedBlobServiceServer) GetBlobs(*GetBlobsRequest, BlobService_GetBlobsServer) error { return status.Errorf(codes.Unimplemented, "method GetBlobs not implemented") } -func (*UnimplementedBlobServiceServer) GetLFSPointers(req *GetLFSPointersRequest, srv BlobService_GetLFSPointersServer) error { +func (*UnimplementedBlobServiceServer) GetLFSPointers(*GetLFSPointersRequest, BlobService_GetLFSPointersServer) error { return status.Errorf(codes.Unimplemented, "method GetLFSPointers not implemented") } -func (*UnimplementedBlobServiceServer) ListLFSPointers(req *ListLFSPointersRequest, srv BlobService_ListLFSPointersServer) error { +func (*UnimplementedBlobServiceServer) ListLFSPointers(*ListLFSPointersRequest, BlobService_ListLFSPointersServer) error { return status.Errorf(codes.Unimplemented, "method ListLFSPointers not implemented") } -func (*UnimplementedBlobServiceServer) ListAllLFSPointers(req *ListAllLFSPointersRequest, srv BlobService_ListAllLFSPointersServer) error { +func (*UnimplementedBlobServiceServer) ListAllLFSPointers(*ListAllLFSPointersRequest, BlobService_ListAllLFSPointersServer) error { return status.Errorf(codes.Unimplemented, "method ListAllLFSPointers not implemented") } diff --git a/proto/go/gitalypb/cleanup.pb.go b/proto/go/gitalypb/cleanup.pb.go index 8b408cd16..e88278ecf 100644 --- a/proto/go/gitalypb/cleanup.pb.go +++ b/proto/go/gitalypb/cleanup.pb.go @@ -1,115 +1,136 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc v3.12.4 // source: cleanup.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 +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) +) -// 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 +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 type ApplyBfgObjectMapStreamRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Only available on the first message Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // A raw object-map file as generated by BFG: https://rtyley.github.io/bfg-repo-cleaner // Each line in the file has two object SHAs, space-separated - the original // SHA of the object, and the SHA after BFG has rewritten the object. - ObjectMap []byte `protobuf:"bytes,2,opt,name=object_map,json=objectMap,proto3" json:"object_map,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ObjectMap []byte `protobuf:"bytes,2,opt,name=object_map,json=objectMap,proto3" json:"object_map,omitempty"` } -func (m *ApplyBfgObjectMapStreamRequest) Reset() { *m = ApplyBfgObjectMapStreamRequest{} } -func (m *ApplyBfgObjectMapStreamRequest) String() string { return proto.CompactTextString(m) } -func (*ApplyBfgObjectMapStreamRequest) ProtoMessage() {} -func (*ApplyBfgObjectMapStreamRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_1b19e990e4662c9c, []int{0} +func (x *ApplyBfgObjectMapStreamRequest) Reset() { + *x = ApplyBfgObjectMapStreamRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_cleanup_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ApplyBfgObjectMapStreamRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ApplyBfgObjectMapStreamRequest.Unmarshal(m, b) +func (x *ApplyBfgObjectMapStreamRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ApplyBfgObjectMapStreamRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ApplyBfgObjectMapStreamRequest.Marshal(b, m, deterministic) -} -func (m *ApplyBfgObjectMapStreamRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ApplyBfgObjectMapStreamRequest.Merge(m, src) -} -func (m *ApplyBfgObjectMapStreamRequest) XXX_Size() int { - return xxx_messageInfo_ApplyBfgObjectMapStreamRequest.Size(m) -} -func (m *ApplyBfgObjectMapStreamRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ApplyBfgObjectMapStreamRequest.DiscardUnknown(m) + +func (*ApplyBfgObjectMapStreamRequest) ProtoMessage() {} + +func (x *ApplyBfgObjectMapStreamRequest) ProtoReflect() protoreflect.Message { + mi := &file_cleanup_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_ApplyBfgObjectMapStreamRequest proto.InternalMessageInfo +// Deprecated: Use ApplyBfgObjectMapStreamRequest.ProtoReflect.Descriptor instead. +func (*ApplyBfgObjectMapStreamRequest) Descriptor() ([]byte, []int) { + return file_cleanup_proto_rawDescGZIP(), []int{0} +} -func (m *ApplyBfgObjectMapStreamRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *ApplyBfgObjectMapStreamRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *ApplyBfgObjectMapStreamRequest) GetObjectMap() []byte { - if m != nil { - return m.ObjectMap +func (x *ApplyBfgObjectMapStreamRequest) GetObjectMap() []byte { + if x != nil { + return x.ObjectMap } return nil } type ApplyBfgObjectMapStreamResponse struct { - Entries []*ApplyBfgObjectMapStreamResponse_Entry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *ApplyBfgObjectMapStreamResponse) Reset() { *m = ApplyBfgObjectMapStreamResponse{} } -func (m *ApplyBfgObjectMapStreamResponse) String() string { return proto.CompactTextString(m) } -func (*ApplyBfgObjectMapStreamResponse) ProtoMessage() {} -func (*ApplyBfgObjectMapStreamResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_1b19e990e4662c9c, []int{1} + Entries []*ApplyBfgObjectMapStreamResponse_Entry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"` } -func (m *ApplyBfgObjectMapStreamResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ApplyBfgObjectMapStreamResponse.Unmarshal(m, b) -} -func (m *ApplyBfgObjectMapStreamResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ApplyBfgObjectMapStreamResponse.Marshal(b, m, deterministic) -} -func (m *ApplyBfgObjectMapStreamResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ApplyBfgObjectMapStreamResponse.Merge(m, src) +func (x *ApplyBfgObjectMapStreamResponse) Reset() { + *x = ApplyBfgObjectMapStreamResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_cleanup_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ApplyBfgObjectMapStreamResponse) XXX_Size() int { - return xxx_messageInfo_ApplyBfgObjectMapStreamResponse.Size(m) + +func (x *ApplyBfgObjectMapStreamResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ApplyBfgObjectMapStreamResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ApplyBfgObjectMapStreamResponse.DiscardUnknown(m) + +func (*ApplyBfgObjectMapStreamResponse) ProtoMessage() {} + +func (x *ApplyBfgObjectMapStreamResponse) ProtoReflect() protoreflect.Message { + mi := &file_cleanup_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) } -var xxx_messageInfo_ApplyBfgObjectMapStreamResponse proto.InternalMessageInfo +// Deprecated: Use ApplyBfgObjectMapStreamResponse.ProtoReflect.Descriptor instead. +func (*ApplyBfgObjectMapStreamResponse) Descriptor() ([]byte, []int) { + return file_cleanup_proto_rawDescGZIP(), []int{1} +} -func (m *ApplyBfgObjectMapStreamResponse) GetEntries() []*ApplyBfgObjectMapStreamResponse_Entry { - if m != nil { - return m.Entries +func (x *ApplyBfgObjectMapStreamResponse) GetEntries() []*ApplyBfgObjectMapStreamResponse_Entry { + if x != nil { + return x.Entries } return nil } @@ -117,101 +138,215 @@ func (m *ApplyBfgObjectMapStreamResponse) GetEntries() []*ApplyBfgObjectMapStrea // We send back each parsed entry in the request's object map so the client // can take action type ApplyBfgObjectMapStreamResponse_Entry struct { - Type ObjectType `protobuf:"varint,1,opt,name=type,proto3,enum=gitaly.ObjectType" json:"type,omitempty"` - OldOid string `protobuf:"bytes,2,opt,name=old_oid,json=oldOid,proto3" json:"old_oid,omitempty"` - NewOid string `protobuf:"bytes,3,opt,name=new_oid,json=newOid,proto3" json:"new_oid,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *ApplyBfgObjectMapStreamResponse_Entry) Reset() { *m = ApplyBfgObjectMapStreamResponse_Entry{} } -func (m *ApplyBfgObjectMapStreamResponse_Entry) String() string { return proto.CompactTextString(m) } -func (*ApplyBfgObjectMapStreamResponse_Entry) ProtoMessage() {} -func (*ApplyBfgObjectMapStreamResponse_Entry) Descriptor() ([]byte, []int) { - return fileDescriptor_1b19e990e4662c9c, []int{1, 0} + Type ObjectType `protobuf:"varint,1,opt,name=type,proto3,enum=gitaly.ObjectType" json:"type,omitempty"` + OldOid string `protobuf:"bytes,2,opt,name=old_oid,json=oldOid,proto3" json:"old_oid,omitempty"` + NewOid string `protobuf:"bytes,3,opt,name=new_oid,json=newOid,proto3" json:"new_oid,omitempty"` } -func (m *ApplyBfgObjectMapStreamResponse_Entry) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ApplyBfgObjectMapStreamResponse_Entry.Unmarshal(m, b) -} -func (m *ApplyBfgObjectMapStreamResponse_Entry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ApplyBfgObjectMapStreamResponse_Entry.Marshal(b, m, deterministic) -} -func (m *ApplyBfgObjectMapStreamResponse_Entry) XXX_Merge(src proto.Message) { - xxx_messageInfo_ApplyBfgObjectMapStreamResponse_Entry.Merge(m, src) +func (x *ApplyBfgObjectMapStreamResponse_Entry) Reset() { + *x = ApplyBfgObjectMapStreamResponse_Entry{} + if protoimpl.UnsafeEnabled { + mi := &file_cleanup_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ApplyBfgObjectMapStreamResponse_Entry) XXX_Size() int { - return xxx_messageInfo_ApplyBfgObjectMapStreamResponse_Entry.Size(m) + +func (x *ApplyBfgObjectMapStreamResponse_Entry) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ApplyBfgObjectMapStreamResponse_Entry) XXX_DiscardUnknown() { - xxx_messageInfo_ApplyBfgObjectMapStreamResponse_Entry.DiscardUnknown(m) + +func (*ApplyBfgObjectMapStreamResponse_Entry) ProtoMessage() {} + +func (x *ApplyBfgObjectMapStreamResponse_Entry) ProtoReflect() protoreflect.Message { + mi := &file_cleanup_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_ApplyBfgObjectMapStreamResponse_Entry proto.InternalMessageInfo +// Deprecated: Use ApplyBfgObjectMapStreamResponse_Entry.ProtoReflect.Descriptor instead. +func (*ApplyBfgObjectMapStreamResponse_Entry) Descriptor() ([]byte, []int) { + return file_cleanup_proto_rawDescGZIP(), []int{1, 0} +} -func (m *ApplyBfgObjectMapStreamResponse_Entry) GetType() ObjectType { - if m != nil { - return m.Type +func (x *ApplyBfgObjectMapStreamResponse_Entry) GetType() ObjectType { + if x != nil { + return x.Type } return ObjectType_UNKNOWN } -func (m *ApplyBfgObjectMapStreamResponse_Entry) GetOldOid() string { - if m != nil { - return m.OldOid +func (x *ApplyBfgObjectMapStreamResponse_Entry) GetOldOid() string { + if x != nil { + return x.OldOid } return "" } -func (m *ApplyBfgObjectMapStreamResponse_Entry) GetNewOid() string { - if m != nil { - return m.NewOid +func (x *ApplyBfgObjectMapStreamResponse_Entry) GetNewOid() string { + if x != nil { + return x.NewOid } return "" } -func init() { - proto.RegisterType((*ApplyBfgObjectMapStreamRequest)(nil), "gitaly.ApplyBfgObjectMapStreamRequest") - proto.RegisterType((*ApplyBfgObjectMapStreamResponse)(nil), "gitaly.ApplyBfgObjectMapStreamResponse") - proto.RegisterType((*ApplyBfgObjectMapStreamResponse_Entry)(nil), "gitaly.ApplyBfgObjectMapStreamResponse.Entry") -} - -func init() { proto.RegisterFile("cleanup.proto", fileDescriptor_1b19e990e4662c9c) } - -var fileDescriptor_1b19e990e4662c9c = []byte{ - // 339 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x51, 0x41, 0x4f, 0xf2, 0x40, - 0x14, 0xcc, 0x02, 0x5f, 0xf9, 0x78, 0x20, 0x87, 0xbd, 0x40, 0x9a, 0xa8, 0x84, 0x03, 0xf6, 0x20, - 0x2d, 0xc1, 0x8b, 0x57, 0x31, 0xc6, 0x93, 0x21, 0x29, 0x9e, 0xbc, 0x90, 0x6d, 0xfb, 0xac, 0x6b, - 0x4a, 0x77, 0xdd, 0x2e, 0x90, 0xfe, 0x03, 0xff, 0x81, 0xfe, 0x22, 0x6f, 0xfe, 0x21, 0x4f, 0x86, - 0x5d, 0x51, 0x2f, 0x04, 0x6f, 0x7d, 0x33, 0x9d, 0x99, 0x37, 0x6f, 0xe1, 0x20, 0xce, 0x90, 0xe5, - 0x4b, 0xe9, 0x4b, 0x25, 0xb4, 0xa0, 0x4e, 0xca, 0x35, 0xcb, 0x4a, 0x17, 0x32, 0x9e, 0x6b, 0x8b, - 0xb9, 0xad, 0xe2, 0x81, 0x29, 0x4c, 0xec, 0xd4, 0x2f, 0xe1, 0xe8, 0x42, 0xca, 0xac, 0x9c, 0xdc, - 0xa7, 0xd3, 0xe8, 0x11, 0x63, 0x7d, 0xc3, 0xe4, 0x4c, 0x2b, 0x64, 0x8b, 0x10, 0x9f, 0x96, 0x58, - 0x68, 0x7a, 0x0e, 0xa0, 0x50, 0x8a, 0x82, 0x6b, 0xa1, 0xca, 0x2e, 0xe9, 0x11, 0xaf, 0x39, 0xa6, - 0xbe, 0x35, 0xf6, 0xc3, 0x6f, 0x66, 0x52, 0x7b, 0x7d, 0x3b, 0x25, 0xe1, 0xaf, 0x7f, 0xe9, 0x21, - 0x80, 0x30, 0x9e, 0xf3, 0x05, 0x93, 0xdd, 0x4a, 0x8f, 0x78, 0xad, 0xb0, 0x21, 0xb6, 0x29, 0xfd, - 0x77, 0x02, 0xc7, 0x3b, 0xb3, 0x0b, 0x29, 0xf2, 0x02, 0xe9, 0x35, 0xd4, 0x31, 0xd7, 0x8a, 0x63, - 0xd1, 0x25, 0xbd, 0xaa, 0xd7, 0x1c, 0x0f, 0xb7, 0xc9, 0x7b, 0x94, 0xfe, 0x55, 0xae, 0x55, 0x19, - 0x6e, 0xd5, 0x2e, 0x83, 0x7f, 0x06, 0xa1, 0x03, 0xa8, 0xe9, 0x52, 0xa2, 0x29, 0xd2, 0xfe, 0x29, - 0x62, 0x6d, 0x6e, 0x4b, 0x89, 0xa1, 0xe1, 0x69, 0x07, 0xea, 0x22, 0x4b, 0xe6, 0x82, 0x27, 0x66, - 0xf3, 0x46, 0xe8, 0x88, 0x2c, 0x99, 0xf2, 0x64, 0x43, 0xe4, 0xb8, 0x36, 0x44, 0xd5, 0x12, 0x39, - 0xae, 0xa7, 0x3c, 0x19, 0x3f, 0x13, 0x68, 0x5f, 0xda, 0xf3, 0xcf, 0x50, 0xad, 0x78, 0x8c, 0x74, - 0x05, 0x9d, 0x1d, 0x7b, 0xd2, 0xc1, 0xde, 0x22, 0xe6, 0xfc, 0xee, 0xc9, 0x1f, 0x0b, 0xf7, 0x9d, - 0x8f, 0x17, 0xaf, 0xf2, 0x9f, 0x78, 0x64, 0x44, 0x26, 0xa3, 0xbb, 0x8d, 0x2a, 0x63, 0x91, 0x1f, - 0x8b, 0x45, 0x60, 0x3f, 0x87, 0x42, 0xa5, 0x81, 0xf5, 0x0a, 0xcc, 0xdb, 0x07, 0xa9, 0xf8, 0x9a, - 0x65, 0x14, 0x39, 0x06, 0x3a, 0xfb, 0x0c, 0x00, 0x00, 0xff, 0xff, 0x1e, 0x0e, 0x8f, 0x72, 0x41, - 0x02, 0x00, 0x00, +var File_cleanup_proto protoreflect.FileDescriptor + +var file_cleanup_proto_rawDesc = []byte{ + 0x0a, 0x0d, 0x63, 0x6c, 0x65, 0x61, 0x6e, 0x75, 0x70, 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, 0x79, 0x0a, 0x1e, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x42, 0x66, 0x67, 0x4f, 0x62, 0x6a, + 0x65, 0x63, 0x74, 0x4d, 0x61, 0x70, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 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, 0x1d, 0x0a, + 0x0a, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x09, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4d, 0x61, 0x70, 0x22, 0xcd, 0x01, 0x0a, + 0x1f, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x42, 0x66, 0x67, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4d, + 0x61, 0x70, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x47, 0x0a, 0x07, 0x65, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x79, + 0x42, 0x66, 0x67, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4d, 0x61, 0x70, 0x53, 0x74, 0x72, 0x65, + 0x61, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x52, 0x07, 0x65, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x1a, 0x61, 0x0a, 0x05, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x12, 0x26, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, + 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x6f, 0x6c, + 0x64, 0x5f, 0x6f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6f, 0x6c, 0x64, + 0x4f, 0x69, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x6e, 0x65, 0x77, 0x5f, 0x6f, 0x69, 0x64, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6e, 0x65, 0x77, 0x4f, 0x69, 0x64, 0x32, 0x88, 0x01, 0x0a, + 0x0e, 0x43, 0x6c, 0x65, 0x61, 0x6e, 0x75, 0x70, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, + 0x76, 0x0a, 0x17, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x42, 0x66, 0x67, 0x4f, 0x62, 0x6a, 0x65, 0x63, + 0x74, 0x4d, 0x61, 0x70, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x12, 0x26, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x42, 0x66, 0x67, 0x4f, 0x62, 0x6a, 0x65, + 0x63, 0x74, 0x4d, 0x61, 0x70, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x41, 0x70, 0x70, 0x6c, + 0x79, 0x42, 0x66, 0x67, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4d, 0x61, 0x70, 0x53, 0x74, 0x72, + 0x65, 0x61, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, + 0x02, 0x08, 0x01, 0x28, 0x01, 0x30, 0x01, 0x42, 0x30, 0x5a, 0x2e, 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, 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_cleanup_proto_rawDescOnce sync.Once + file_cleanup_proto_rawDescData = file_cleanup_proto_rawDesc +) + +func file_cleanup_proto_rawDescGZIP() []byte { + file_cleanup_proto_rawDescOnce.Do(func() { + file_cleanup_proto_rawDescData = protoimpl.X.CompressGZIP(file_cleanup_proto_rawDescData) + }) + return file_cleanup_proto_rawDescData +} + +var file_cleanup_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_cleanup_proto_goTypes = []interface{}{ + (*ApplyBfgObjectMapStreamRequest)(nil), // 0: gitaly.ApplyBfgObjectMapStreamRequest + (*ApplyBfgObjectMapStreamResponse)(nil), // 1: gitaly.ApplyBfgObjectMapStreamResponse + (*ApplyBfgObjectMapStreamResponse_Entry)(nil), // 2: gitaly.ApplyBfgObjectMapStreamResponse.Entry + (*Repository)(nil), // 3: gitaly.Repository + (ObjectType)(0), // 4: gitaly.ObjectType +} +var file_cleanup_proto_depIdxs = []int32{ + 3, // 0: gitaly.ApplyBfgObjectMapStreamRequest.repository:type_name -> gitaly.Repository + 2, // 1: gitaly.ApplyBfgObjectMapStreamResponse.entries:type_name -> gitaly.ApplyBfgObjectMapStreamResponse.Entry + 4, // 2: gitaly.ApplyBfgObjectMapStreamResponse.Entry.type:type_name -> gitaly.ObjectType + 0, // 3: gitaly.CleanupService.ApplyBfgObjectMapStream:input_type -> gitaly.ApplyBfgObjectMapStreamRequest + 1, // 4: gitaly.CleanupService.ApplyBfgObjectMapStream:output_type -> gitaly.ApplyBfgObjectMapStreamResponse + 4, // [4:5] is the sub-list for method output_type + 3, // [3:4] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_cleanup_proto_init() } +func file_cleanup_proto_init() { + if File_cleanup_proto != nil { + return + } + file_lint_proto_init() + file_shared_proto_init() + if !protoimpl.UnsafeEnabled { + file_cleanup_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ApplyBfgObjectMapStreamRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cleanup_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ApplyBfgObjectMapStreamResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_cleanup_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ApplyBfgObjectMapStreamResponse_Entry); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_cleanup_proto_rawDesc, + NumEnums: 0, + NumMessages: 3, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_cleanup_proto_goTypes, + DependencyIndexes: file_cleanup_proto_depIdxs, + MessageInfos: file_cleanup_proto_msgTypes, + }.Build() + File_cleanup_proto = out.File + file_cleanup_proto_rawDesc = nil + file_cleanup_proto_goTypes = nil + file_cleanup_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConn +var _ grpc.ClientConnInterface // 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 +const _ = grpc.SupportPackageIsVersion6 // CleanupServiceClient is the client API for CleanupService service. // @@ -221,10 +356,10 @@ type CleanupServiceClient interface { } type cleanupServiceClient struct { - cc *grpc.ClientConn + cc grpc.ClientConnInterface } -func NewCleanupServiceClient(cc *grpc.ClientConn) CleanupServiceClient { +func NewCleanupServiceClient(cc grpc.ClientConnInterface) CleanupServiceClient { return &cleanupServiceClient{cc} } @@ -268,7 +403,7 @@ type CleanupServiceServer interface { type UnimplementedCleanupServiceServer struct { } -func (*UnimplementedCleanupServiceServer) ApplyBfgObjectMapStream(srv CleanupService_ApplyBfgObjectMapStreamServer) error { +func (*UnimplementedCleanupServiceServer) ApplyBfgObjectMapStream(CleanupService_ApplyBfgObjectMapStreamServer) error { return status.Errorf(codes.Unimplemented, "method ApplyBfgObjectMapStream not implemented") } diff --git a/proto/go/gitalypb/commit.pb.go b/proto/go/gitalypb/commit.pb.go index ba69d60a9..22ed65e30 100644 --- a/proto/go/gitalypb/commit.pb.go +++ b/proto/go/gitalypb/commit.pb.go @@ -1,29 +1,34 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc v3.12.4 // source: commit.proto package gitalypb import ( context "context" - fmt "fmt" proto "github.com/golang/protobuf/proto" timestamp "github.com/golang/protobuf/ptypes/timestamp" 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 +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) +) -// 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 +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 // TODO: Replace this enum with ObjectType in shared.proto type TreeEntryResponse_ObjectType int32 @@ -35,26 +40,47 @@ const ( TreeEntryResponse_TAG TreeEntryResponse_ObjectType = 3 ) -var TreeEntryResponse_ObjectType_name = map[int32]string{ - 0: "COMMIT", - 1: "BLOB", - 2: "TREE", - 3: "TAG", -} +// Enum value maps for TreeEntryResponse_ObjectType. +var ( + TreeEntryResponse_ObjectType_name = map[int32]string{ + 0: "COMMIT", + 1: "BLOB", + 2: "TREE", + 3: "TAG", + } + TreeEntryResponse_ObjectType_value = map[string]int32{ + "COMMIT": 0, + "BLOB": 1, + "TREE": 2, + "TAG": 3, + } +) -var TreeEntryResponse_ObjectType_value = map[string]int32{ - "COMMIT": 0, - "BLOB": 1, - "TREE": 2, - "TAG": 3, +func (x TreeEntryResponse_ObjectType) Enum() *TreeEntryResponse_ObjectType { + p := new(TreeEntryResponse_ObjectType) + *p = x + return p } func (x TreeEntryResponse_ObjectType) String() string { - return proto.EnumName(TreeEntryResponse_ObjectType_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (TreeEntryResponse_ObjectType) Descriptor() protoreflect.EnumDescriptor { + return file_commit_proto_enumTypes[0].Descriptor() +} + +func (TreeEntryResponse_ObjectType) Type() protoreflect.EnumType { + return &file_commit_proto_enumTypes[0] +} + +func (x TreeEntryResponse_ObjectType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use TreeEntryResponse_ObjectType.Descriptor instead. func (TreeEntryResponse_ObjectType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{5, 0} + return file_commit_proto_rawDescGZIP(), []int{5, 0} } // TODO: Replace this enum with ObjectType in shared.proto @@ -66,24 +92,45 @@ const ( TreeEntry_COMMIT TreeEntry_EntryType = 3 ) -var TreeEntry_EntryType_name = map[int32]string{ - 0: "BLOB", - 1: "TREE", - 3: "COMMIT", -} +// Enum value maps for TreeEntry_EntryType. +var ( + TreeEntry_EntryType_name = map[int32]string{ + 0: "BLOB", + 1: "TREE", + 3: "COMMIT", + } + TreeEntry_EntryType_value = map[string]int32{ + "BLOB": 0, + "TREE": 1, + "COMMIT": 3, + } +) -var TreeEntry_EntryType_value = map[string]int32{ - "BLOB": 0, - "TREE": 1, - "COMMIT": 3, +func (x TreeEntry_EntryType) Enum() *TreeEntry_EntryType { + p := new(TreeEntry_EntryType) + *p = x + return p } func (x TreeEntry_EntryType) String() string { - return proto.EnumName(TreeEntry_EntryType_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (TreeEntry_EntryType) Descriptor() protoreflect.EnumDescriptor { + return file_commit_proto_enumTypes[1].Descriptor() +} + +func (TreeEntry_EntryType) Type() protoreflect.EnumType { + return &file_commit_proto_enumTypes[1] } +func (x TreeEntry_EntryType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use TreeEntry_EntryType.Descriptor instead. func (TreeEntry_EntryType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{12, 0} + return file_commit_proto_rawDescGZIP(), []int{12, 0} } type FindAllCommitsRequest_Order int32 @@ -94,24 +141,45 @@ const ( FindAllCommitsRequest_DATE FindAllCommitsRequest_Order = 2 ) -var FindAllCommitsRequest_Order_name = map[int32]string{ - 0: "NONE", - 1: "TOPO", - 2: "DATE", -} +// Enum value maps for FindAllCommitsRequest_Order. +var ( + FindAllCommitsRequest_Order_name = map[int32]string{ + 0: "NONE", + 1: "TOPO", + 2: "DATE", + } + FindAllCommitsRequest_Order_value = map[string]int32{ + "NONE": 0, + "TOPO": 1, + "DATE": 2, + } +) -var FindAllCommitsRequest_Order_value = map[string]int32{ - "NONE": 0, - "TOPO": 1, - "DATE": 2, +func (x FindAllCommitsRequest_Order) Enum() *FindAllCommitsRequest_Order { + p := new(FindAllCommitsRequest_Order) + *p = x + return p } func (x FindAllCommitsRequest_Order) String() string { - return proto.EnumName(FindAllCommitsRequest_Order_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (FindAllCommitsRequest_Order) Descriptor() protoreflect.EnumDescriptor { + return file_commit_proto_enumTypes[2].Descriptor() +} + +func (FindAllCommitsRequest_Order) Type() protoreflect.EnumType { + return &file_commit_proto_enumTypes[2] +} + +func (x FindAllCommitsRequest_Order) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use FindAllCommitsRequest_Order.Descriptor instead. func (FindAllCommitsRequest_Order) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{23, 0} + return file_commit_proto_rawDescGZIP(), []int{23, 0} } type FindCommitsRequest_Order int32 @@ -121,222 +189,279 @@ const ( FindCommitsRequest_TOPO FindCommitsRequest_Order = 1 ) -var FindCommitsRequest_Order_name = map[int32]string{ - 0: "NONE", - 1: "TOPO", -} +// Enum value maps for FindCommitsRequest_Order. +var ( + FindCommitsRequest_Order_name = map[int32]string{ + 0: "NONE", + 1: "TOPO", + } + FindCommitsRequest_Order_value = map[string]int32{ + "NONE": 0, + "TOPO": 1, + } +) -var FindCommitsRequest_Order_value = map[string]int32{ - "NONE": 0, - "TOPO": 1, +func (x FindCommitsRequest_Order) Enum() *FindCommitsRequest_Order { + p := new(FindCommitsRequest_Order) + *p = x + return p } func (x FindCommitsRequest_Order) String() string { - return proto.EnumName(FindCommitsRequest_Order_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } -func (FindCommitsRequest_Order) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{25, 0} +func (FindCommitsRequest_Order) Descriptor() protoreflect.EnumDescriptor { + return file_commit_proto_enumTypes[3].Descriptor() } -type CommitStatsRequest struct { - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (FindCommitsRequest_Order) Type() protoreflect.EnumType { + return &file_commit_proto_enumTypes[3] } -func (m *CommitStatsRequest) Reset() { *m = CommitStatsRequest{} } -func (m *CommitStatsRequest) String() string { return proto.CompactTextString(m) } -func (*CommitStatsRequest) ProtoMessage() {} -func (*CommitStatsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{0} +func (x FindCommitsRequest_Order) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } -func (m *CommitStatsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CommitStatsRequest.Unmarshal(m, b) +// Deprecated: Use FindCommitsRequest_Order.Descriptor instead. +func (FindCommitsRequest_Order) EnumDescriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{25, 0} } -func (m *CommitStatsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CommitStatsRequest.Marshal(b, m, deterministic) + +type CommitStatsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` } -func (m *CommitStatsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CommitStatsRequest.Merge(m, src) + +func (x *CommitStatsRequest) Reset() { + *x = CommitStatsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CommitStatsRequest) XXX_Size() int { - return xxx_messageInfo_CommitStatsRequest.Size(m) + +func (x *CommitStatsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CommitStatsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CommitStatsRequest.DiscardUnknown(m) + +func (*CommitStatsRequest) ProtoMessage() {} + +func (x *CommitStatsRequest) ProtoReflect() protoreflect.Message { + mi := &file_commit_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_CommitStatsRequest proto.InternalMessageInfo +// Deprecated: Use CommitStatsRequest.ProtoReflect.Descriptor instead. +func (*CommitStatsRequest) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{0} +} -func (m *CommitStatsRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *CommitStatsRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *CommitStatsRequest) GetRevision() []byte { - if m != nil { - return m.Revision +func (x *CommitStatsRequest) GetRevision() []byte { + if x != nil { + return x.Revision } return nil } type CommitStatsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OID is the commit. Empty means not found - Oid string `protobuf:"bytes,1,opt,name=oid,proto3" json:"oid,omitempty"` - Additions int32 `protobuf:"varint,2,opt,name=additions,proto3" json:"additions,omitempty"` - Deletions int32 `protobuf:"varint,3,opt,name=deletions,proto3" json:"deletions,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Oid string `protobuf:"bytes,1,opt,name=oid,proto3" json:"oid,omitempty"` + Additions int32 `protobuf:"varint,2,opt,name=additions,proto3" json:"additions,omitempty"` + Deletions int32 `protobuf:"varint,3,opt,name=deletions,proto3" json:"deletions,omitempty"` } -func (m *CommitStatsResponse) Reset() { *m = CommitStatsResponse{} } -func (m *CommitStatsResponse) String() string { return proto.CompactTextString(m) } -func (*CommitStatsResponse) ProtoMessage() {} -func (*CommitStatsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{1} +func (x *CommitStatsResponse) Reset() { + *x = CommitStatsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CommitStatsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CommitStatsResponse.Unmarshal(m, b) -} -func (m *CommitStatsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CommitStatsResponse.Marshal(b, m, deterministic) -} -func (m *CommitStatsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CommitStatsResponse.Merge(m, src) +func (x *CommitStatsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CommitStatsResponse) XXX_Size() int { - return xxx_messageInfo_CommitStatsResponse.Size(m) -} -func (m *CommitStatsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CommitStatsResponse.DiscardUnknown(m) + +func (*CommitStatsResponse) ProtoMessage() {} + +func (x *CommitStatsResponse) ProtoReflect() protoreflect.Message { + mi := &file_commit_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) } -var xxx_messageInfo_CommitStatsResponse proto.InternalMessageInfo +// Deprecated: Use CommitStatsResponse.ProtoReflect.Descriptor instead. +func (*CommitStatsResponse) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{1} +} -func (m *CommitStatsResponse) GetOid() string { - if m != nil { - return m.Oid +func (x *CommitStatsResponse) GetOid() string { + if x != nil { + return x.Oid } return "" } -func (m *CommitStatsResponse) GetAdditions() int32 { - if m != nil { - return m.Additions +func (x *CommitStatsResponse) GetAdditions() int32 { + if x != nil { + return x.Additions } return 0 } -func (m *CommitStatsResponse) GetDeletions() int32 { - if m != nil { - return m.Deletions +func (x *CommitStatsResponse) GetDeletions() int32 { + if x != nil { + return x.Deletions } return 0 } type CommitIsAncestorRequest struct { - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - AncestorId string `protobuf:"bytes,2,opt,name=ancestor_id,json=ancestorId,proto3" json:"ancestor_id,omitempty"` - ChildId string `protobuf:"bytes,3,opt,name=child_id,json=childId,proto3" json:"child_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *CommitIsAncestorRequest) Reset() { *m = CommitIsAncestorRequest{} } -func (m *CommitIsAncestorRequest) String() string { return proto.CompactTextString(m) } -func (*CommitIsAncestorRequest) ProtoMessage() {} -func (*CommitIsAncestorRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{2} + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + AncestorId string `protobuf:"bytes,2,opt,name=ancestor_id,json=ancestorId,proto3" json:"ancestor_id,omitempty"` + ChildId string `protobuf:"bytes,3,opt,name=child_id,json=childId,proto3" json:"child_id,omitempty"` } -func (m *CommitIsAncestorRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CommitIsAncestorRequest.Unmarshal(m, b) -} -func (m *CommitIsAncestorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CommitIsAncestorRequest.Marshal(b, m, deterministic) -} -func (m *CommitIsAncestorRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CommitIsAncestorRequest.Merge(m, src) +func (x *CommitIsAncestorRequest) Reset() { + *x = CommitIsAncestorRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CommitIsAncestorRequest) XXX_Size() int { - return xxx_messageInfo_CommitIsAncestorRequest.Size(m) + +func (x *CommitIsAncestorRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CommitIsAncestorRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CommitIsAncestorRequest.DiscardUnknown(m) + +func (*CommitIsAncestorRequest) ProtoMessage() {} + +func (x *CommitIsAncestorRequest) ProtoReflect() protoreflect.Message { + mi := &file_commit_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_CommitIsAncestorRequest proto.InternalMessageInfo +// Deprecated: Use CommitIsAncestorRequest.ProtoReflect.Descriptor instead. +func (*CommitIsAncestorRequest) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{2} +} -func (m *CommitIsAncestorRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *CommitIsAncestorRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *CommitIsAncestorRequest) GetAncestorId() string { - if m != nil { - return m.AncestorId +func (x *CommitIsAncestorRequest) GetAncestorId() string { + if x != nil { + return x.AncestorId } return "" } -func (m *CommitIsAncestorRequest) GetChildId() string { - if m != nil { - return m.ChildId +func (x *CommitIsAncestorRequest) GetChildId() string { + if x != nil { + return x.ChildId } return "" } type CommitIsAncestorResponse struct { - Value bool `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *CommitIsAncestorResponse) Reset() { *m = CommitIsAncestorResponse{} } -func (m *CommitIsAncestorResponse) String() string { return proto.CompactTextString(m) } -func (*CommitIsAncestorResponse) ProtoMessage() {} -func (*CommitIsAncestorResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{3} + Value bool `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` } -func (m *CommitIsAncestorResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CommitIsAncestorResponse.Unmarshal(m, b) -} -func (m *CommitIsAncestorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CommitIsAncestorResponse.Marshal(b, m, deterministic) -} -func (m *CommitIsAncestorResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CommitIsAncestorResponse.Merge(m, src) +func (x *CommitIsAncestorResponse) Reset() { + *x = CommitIsAncestorResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CommitIsAncestorResponse) XXX_Size() int { - return xxx_messageInfo_CommitIsAncestorResponse.Size(m) + +func (x *CommitIsAncestorResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CommitIsAncestorResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CommitIsAncestorResponse.DiscardUnknown(m) + +func (*CommitIsAncestorResponse) ProtoMessage() {} + +func (x *CommitIsAncestorResponse) ProtoReflect() protoreflect.Message { + mi := &file_commit_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_CommitIsAncestorResponse proto.InternalMessageInfo +// Deprecated: Use CommitIsAncestorResponse.ProtoReflect.Descriptor instead. +func (*CommitIsAncestorResponse) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{3} +} -func (m *CommitIsAncestorResponse) GetValue() bool { - if m != nil { - return m.Value +func (x *CommitIsAncestorResponse) GetValue() bool { + if x != nil { + return x.Value } return false } type TreeEntryRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // commit ID or refname Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` @@ -347,73 +472,81 @@ type TreeEntryRequest struct { Limit int64 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"` // MaxSize is the maximum allowed object size. If bigger, a FailedPrecondition error is returned // 0 means there is no maximum size. - MaxSize int64 `protobuf:"varint,5,opt,name=max_size,json=maxSize,proto3" json:"max_size,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + MaxSize int64 `protobuf:"varint,5,opt,name=max_size,json=maxSize,proto3" json:"max_size,omitempty"` } -func (m *TreeEntryRequest) Reset() { *m = TreeEntryRequest{} } -func (m *TreeEntryRequest) String() string { return proto.CompactTextString(m) } -func (*TreeEntryRequest) ProtoMessage() {} -func (*TreeEntryRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{4} +func (x *TreeEntryRequest) Reset() { + *x = TreeEntryRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *TreeEntryRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TreeEntryRequest.Unmarshal(m, b) +func (x *TreeEntryRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *TreeEntryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TreeEntryRequest.Marshal(b, m, deterministic) -} -func (m *TreeEntryRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_TreeEntryRequest.Merge(m, src) -} -func (m *TreeEntryRequest) XXX_Size() int { - return xxx_messageInfo_TreeEntryRequest.Size(m) -} -func (m *TreeEntryRequest) XXX_DiscardUnknown() { - xxx_messageInfo_TreeEntryRequest.DiscardUnknown(m) + +func (*TreeEntryRequest) ProtoMessage() {} + +func (x *TreeEntryRequest) ProtoReflect() protoreflect.Message { + mi := &file_commit_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_TreeEntryRequest proto.InternalMessageInfo +// Deprecated: Use TreeEntryRequest.ProtoReflect.Descriptor instead. +func (*TreeEntryRequest) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{4} +} -func (m *TreeEntryRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *TreeEntryRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *TreeEntryRequest) GetRevision() []byte { - if m != nil { - return m.Revision +func (x *TreeEntryRequest) GetRevision() []byte { + if x != nil { + return x.Revision } return nil } -func (m *TreeEntryRequest) GetPath() []byte { - if m != nil { - return m.Path +func (x *TreeEntryRequest) GetPath() []byte { + if x != nil { + return x.Path } return nil } -func (m *TreeEntryRequest) GetLimit() int64 { - if m != nil { - return m.Limit +func (x *TreeEntryRequest) GetLimit() int64 { + if x != nil { + return x.Limit } return 0 } -func (m *TreeEntryRequest) GetMaxSize() int64 { - if m != nil { - return m.MaxSize +func (x *TreeEntryRequest) GetMaxSize() int64 { + if x != nil { + return x.MaxSize } return 0 } type TreeEntryResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Type TreeEntryResponse_ObjectType `protobuf:"varint,1,opt,name=type,proto3,enum=gitaly.TreeEntryResponse_ObjectType" json:"type,omitempty"` // SHA1 object ID Oid string `protobuf:"bytes,2,opt,name=oid,proto3" json:"oid,omitempty"` @@ -421,73 +554,81 @@ type TreeEntryResponse struct { // file mode Mode int32 `protobuf:"varint,4,opt,name=mode,proto3" json:"mode,omitempty"` // raw object contents - Data []byte `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Data []byte `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"` } -func (m *TreeEntryResponse) Reset() { *m = TreeEntryResponse{} } -func (m *TreeEntryResponse) String() string { return proto.CompactTextString(m) } -func (*TreeEntryResponse) ProtoMessage() {} -func (*TreeEntryResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{5} +func (x *TreeEntryResponse) Reset() { + *x = TreeEntryResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *TreeEntryResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TreeEntryResponse.Unmarshal(m, b) +func (x *TreeEntryResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *TreeEntryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TreeEntryResponse.Marshal(b, m, deterministic) -} -func (m *TreeEntryResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_TreeEntryResponse.Merge(m, src) -} -func (m *TreeEntryResponse) XXX_Size() int { - return xxx_messageInfo_TreeEntryResponse.Size(m) -} -func (m *TreeEntryResponse) XXX_DiscardUnknown() { - xxx_messageInfo_TreeEntryResponse.DiscardUnknown(m) + +func (*TreeEntryResponse) ProtoMessage() {} + +func (x *TreeEntryResponse) ProtoReflect() protoreflect.Message { + mi := &file_commit_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_TreeEntryResponse proto.InternalMessageInfo +// Deprecated: Use TreeEntryResponse.ProtoReflect.Descriptor instead. +func (*TreeEntryResponse) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{5} +} -func (m *TreeEntryResponse) GetType() TreeEntryResponse_ObjectType { - if m != nil { - return m.Type +func (x *TreeEntryResponse) GetType() TreeEntryResponse_ObjectType { + if x != nil { + return x.Type } return TreeEntryResponse_COMMIT } -func (m *TreeEntryResponse) GetOid() string { - if m != nil { - return m.Oid +func (x *TreeEntryResponse) GetOid() string { + if x != nil { + return x.Oid } return "" } -func (m *TreeEntryResponse) GetSize() int64 { - if m != nil { - return m.Size +func (x *TreeEntryResponse) GetSize() int64 { + if x != nil { + return x.Size } return 0 } -func (m *TreeEntryResponse) GetMode() int32 { - if m != nil { - return m.Mode +func (x *TreeEntryResponse) GetMode() int32 { + if x != nil { + return x.Mode } return 0 } -func (m *TreeEntryResponse) GetData() []byte { - if m != nil { - return m.Data +func (x *TreeEntryResponse) GetData() []byte { + if x != nil { + return x.Data } return nil } type CommitsBetweenRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` From []byte `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` To []byte `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"` @@ -495,105 +636,121 @@ type CommitsBetweenRequest struct { // full object ID to guard against ambigious OIDs. Using the page parameter is // effectivaly equivalent to setting the `from` parameter to the commit object // identifier. - PaginationParams *PaginationParameter `protobuf:"bytes,4,opt,name=pagination_params,json=paginationParams,proto3" json:"pagination_params,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + PaginationParams *PaginationParameter `protobuf:"bytes,4,opt,name=pagination_params,json=paginationParams,proto3" json:"pagination_params,omitempty"` } -func (m *CommitsBetweenRequest) Reset() { *m = CommitsBetweenRequest{} } -func (m *CommitsBetweenRequest) String() string { return proto.CompactTextString(m) } -func (*CommitsBetweenRequest) ProtoMessage() {} -func (*CommitsBetweenRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{6} +func (x *CommitsBetweenRequest) Reset() { + *x = CommitsBetweenRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CommitsBetweenRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CommitsBetweenRequest.Unmarshal(m, b) +func (x *CommitsBetweenRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CommitsBetweenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CommitsBetweenRequest.Marshal(b, m, deterministic) -} -func (m *CommitsBetweenRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CommitsBetweenRequest.Merge(m, src) -} -func (m *CommitsBetweenRequest) XXX_Size() int { - return xxx_messageInfo_CommitsBetweenRequest.Size(m) -} -func (m *CommitsBetweenRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CommitsBetweenRequest.DiscardUnknown(m) + +func (*CommitsBetweenRequest) ProtoMessage() {} + +func (x *CommitsBetweenRequest) ProtoReflect() protoreflect.Message { + mi := &file_commit_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_CommitsBetweenRequest proto.InternalMessageInfo +// Deprecated: Use CommitsBetweenRequest.ProtoReflect.Descriptor instead. +func (*CommitsBetweenRequest) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{6} +} -func (m *CommitsBetweenRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *CommitsBetweenRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *CommitsBetweenRequest) GetFrom() []byte { - if m != nil { - return m.From +func (x *CommitsBetweenRequest) GetFrom() []byte { + if x != nil { + return x.From } return nil } -func (m *CommitsBetweenRequest) GetTo() []byte { - if m != nil { - return m.To +func (x *CommitsBetweenRequest) GetTo() []byte { + if x != nil { + return x.To } return nil } -func (m *CommitsBetweenRequest) GetPaginationParams() *PaginationParameter { - if m != nil { - return m.PaginationParams +func (x *CommitsBetweenRequest) GetPaginationParams() *PaginationParameter { + if x != nil { + return x.PaginationParams } return nil } type CommitsBetweenResponse struct { - Commits []*GitCommit `protobuf:"bytes,1,rep,name=commits,proto3" json:"commits,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *CommitsBetweenResponse) Reset() { *m = CommitsBetweenResponse{} } -func (m *CommitsBetweenResponse) String() string { return proto.CompactTextString(m) } -func (*CommitsBetweenResponse) ProtoMessage() {} -func (*CommitsBetweenResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{7} + Commits []*GitCommit `protobuf:"bytes,1,rep,name=commits,proto3" json:"commits,omitempty"` } -func (m *CommitsBetweenResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CommitsBetweenResponse.Unmarshal(m, b) -} -func (m *CommitsBetweenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CommitsBetweenResponse.Marshal(b, m, deterministic) -} -func (m *CommitsBetweenResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CommitsBetweenResponse.Merge(m, src) +func (x *CommitsBetweenResponse) Reset() { + *x = CommitsBetweenResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CommitsBetweenResponse) XXX_Size() int { - return xxx_messageInfo_CommitsBetweenResponse.Size(m) + +func (x *CommitsBetweenResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CommitsBetweenResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CommitsBetweenResponse.DiscardUnknown(m) + +func (*CommitsBetweenResponse) ProtoMessage() {} + +func (x *CommitsBetweenResponse) ProtoReflect() protoreflect.Message { + mi := &file_commit_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) } -var xxx_messageInfo_CommitsBetweenResponse proto.InternalMessageInfo +// Deprecated: Use CommitsBetweenResponse.ProtoReflect.Descriptor instead. +func (*CommitsBetweenResponse) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{7} +} -func (m *CommitsBetweenResponse) GetCommits() []*GitCommit { - if m != nil { - return m.Commits +func (x *CommitsBetweenResponse) GetCommits() []*GitCommit { + if x != nil { + return x.Commits } return nil } type CountCommitsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` After *timestamp.Timestamp `protobuf:"bytes,3,opt,name=after,proto3" json:"after,omitempty"` @@ -601,252 +758,284 @@ type CountCommitsRequest struct { Path []byte `protobuf:"bytes,5,opt,name=path,proto3" json:"path,omitempty"` MaxCount int32 `protobuf:"varint,6,opt,name=max_count,json=maxCount,proto3" json:"max_count,omitempty"` // all and revision are mutually exclusive - All bool `protobuf:"varint,7,opt,name=all,proto3" json:"all,omitempty"` - FirstParent bool `protobuf:"varint,8,opt,name=first_parent,json=firstParent,proto3" json:"first_parent,omitempty"` - GlobalOptions *GlobalOptions `protobuf:"bytes,9,opt,name=global_options,json=globalOptions,proto3" json:"global_options,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + All bool `protobuf:"varint,7,opt,name=all,proto3" json:"all,omitempty"` + FirstParent bool `protobuf:"varint,8,opt,name=first_parent,json=firstParent,proto3" json:"first_parent,omitempty"` + GlobalOptions *GlobalOptions `protobuf:"bytes,9,opt,name=global_options,json=globalOptions,proto3" json:"global_options,omitempty"` } -func (m *CountCommitsRequest) Reset() { *m = CountCommitsRequest{} } -func (m *CountCommitsRequest) String() string { return proto.CompactTextString(m) } -func (*CountCommitsRequest) ProtoMessage() {} -func (*CountCommitsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{8} +func (x *CountCommitsRequest) Reset() { + *x = CountCommitsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CountCommitsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CountCommitsRequest.Unmarshal(m, b) -} -func (m *CountCommitsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CountCommitsRequest.Marshal(b, m, deterministic) -} -func (m *CountCommitsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CountCommitsRequest.Merge(m, src) +func (x *CountCommitsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CountCommitsRequest) XXX_Size() int { - return xxx_messageInfo_CountCommitsRequest.Size(m) -} -func (m *CountCommitsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CountCommitsRequest.DiscardUnknown(m) + +func (*CountCommitsRequest) ProtoMessage() {} + +func (x *CountCommitsRequest) ProtoReflect() protoreflect.Message { + mi := &file_commit_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_CountCommitsRequest proto.InternalMessageInfo +// Deprecated: Use CountCommitsRequest.ProtoReflect.Descriptor instead. +func (*CountCommitsRequest) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{8} +} -func (m *CountCommitsRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *CountCommitsRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *CountCommitsRequest) GetRevision() []byte { - if m != nil { - return m.Revision +func (x *CountCommitsRequest) GetRevision() []byte { + if x != nil { + return x.Revision } return nil } -func (m *CountCommitsRequest) GetAfter() *timestamp.Timestamp { - if m != nil { - return m.After +func (x *CountCommitsRequest) GetAfter() *timestamp.Timestamp { + if x != nil { + return x.After } return nil } -func (m *CountCommitsRequest) GetBefore() *timestamp.Timestamp { - if m != nil { - return m.Before +func (x *CountCommitsRequest) GetBefore() *timestamp.Timestamp { + if x != nil { + return x.Before } return nil } -func (m *CountCommitsRequest) GetPath() []byte { - if m != nil { - return m.Path +func (x *CountCommitsRequest) GetPath() []byte { + if x != nil { + return x.Path } return nil } -func (m *CountCommitsRequest) GetMaxCount() int32 { - if m != nil { - return m.MaxCount +func (x *CountCommitsRequest) GetMaxCount() int32 { + if x != nil { + return x.MaxCount } return 0 } -func (m *CountCommitsRequest) GetAll() bool { - if m != nil { - return m.All +func (x *CountCommitsRequest) GetAll() bool { + if x != nil { + return x.All } return false } -func (m *CountCommitsRequest) GetFirstParent() bool { - if m != nil { - return m.FirstParent +func (x *CountCommitsRequest) GetFirstParent() bool { + if x != nil { + return x.FirstParent } return false } -func (m *CountCommitsRequest) GetGlobalOptions() *GlobalOptions { - if m != nil { - return m.GlobalOptions +func (x *CountCommitsRequest) GetGlobalOptions() *GlobalOptions { + if x != nil { + return x.GlobalOptions } return nil } type CountCommitsResponse struct { - Count int32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *CountCommitsResponse) Reset() { *m = CountCommitsResponse{} } -func (m *CountCommitsResponse) String() string { return proto.CompactTextString(m) } -func (*CountCommitsResponse) ProtoMessage() {} -func (*CountCommitsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{9} + Count int32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` } -func (m *CountCommitsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CountCommitsResponse.Unmarshal(m, b) -} -func (m *CountCommitsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CountCommitsResponse.Marshal(b, m, deterministic) -} -func (m *CountCommitsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CountCommitsResponse.Merge(m, src) +func (x *CountCommitsResponse) Reset() { + *x = CountCommitsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CountCommitsResponse) XXX_Size() int { - return xxx_messageInfo_CountCommitsResponse.Size(m) + +func (x *CountCommitsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CountCommitsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CountCommitsResponse.DiscardUnknown(m) + +func (*CountCommitsResponse) ProtoMessage() {} + +func (x *CountCommitsResponse) ProtoReflect() protoreflect.Message { + mi := &file_commit_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_CountCommitsResponse proto.InternalMessageInfo +// Deprecated: Use CountCommitsResponse.ProtoReflect.Descriptor instead. +func (*CountCommitsResponse) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{9} +} -func (m *CountCommitsResponse) GetCount() int32 { - if m != nil { - return m.Count +func (x *CountCommitsResponse) GetCount() int32 { + if x != nil { + return x.Count } return 0 } type CountDivergingCommitsRequest struct { - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - From []byte `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` - To []byte `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"` - MaxCount int32 `protobuf:"varint,7,opt,name=max_count,json=maxCount,proto3" json:"max_count,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CountDivergingCommitsRequest) Reset() { *m = CountDivergingCommitsRequest{} } -func (m *CountDivergingCommitsRequest) String() string { return proto.CompactTextString(m) } -func (*CountDivergingCommitsRequest) ProtoMessage() {} -func (*CountDivergingCommitsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{10} -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *CountDivergingCommitsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CountDivergingCommitsRequest.Unmarshal(m, b) -} -func (m *CountDivergingCommitsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CountDivergingCommitsRequest.Marshal(b, m, deterministic) + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + From []byte `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` + To []byte `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"` + MaxCount int32 `protobuf:"varint,7,opt,name=max_count,json=maxCount,proto3" json:"max_count,omitempty"` } -func (m *CountDivergingCommitsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CountDivergingCommitsRequest.Merge(m, src) + +func (x *CountDivergingCommitsRequest) Reset() { + *x = CountDivergingCommitsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CountDivergingCommitsRequest) XXX_Size() int { - return xxx_messageInfo_CountDivergingCommitsRequest.Size(m) + +func (x *CountDivergingCommitsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CountDivergingCommitsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CountDivergingCommitsRequest.DiscardUnknown(m) + +func (*CountDivergingCommitsRequest) ProtoMessage() {} + +func (x *CountDivergingCommitsRequest) ProtoReflect() protoreflect.Message { + mi := &file_commit_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_CountDivergingCommitsRequest proto.InternalMessageInfo +// Deprecated: Use CountDivergingCommitsRequest.ProtoReflect.Descriptor instead. +func (*CountDivergingCommitsRequest) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{10} +} -func (m *CountDivergingCommitsRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *CountDivergingCommitsRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *CountDivergingCommitsRequest) GetFrom() []byte { - if m != nil { - return m.From +func (x *CountDivergingCommitsRequest) GetFrom() []byte { + if x != nil { + return x.From } return nil } -func (m *CountDivergingCommitsRequest) GetTo() []byte { - if m != nil { - return m.To +func (x *CountDivergingCommitsRequest) GetTo() []byte { + if x != nil { + return x.To } return nil } -func (m *CountDivergingCommitsRequest) GetMaxCount() int32 { - if m != nil { - return m.MaxCount +func (x *CountDivergingCommitsRequest) GetMaxCount() int32 { + if x != nil { + return x.MaxCount } return 0 } type CountDivergingCommitsResponse struct { - LeftCount int32 `protobuf:"varint,1,opt,name=left_count,json=leftCount,proto3" json:"left_count,omitempty"` - RightCount int32 `protobuf:"varint,2,opt,name=right_count,json=rightCount,proto3" json:"right_count,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *CountDivergingCommitsResponse) Reset() { *m = CountDivergingCommitsResponse{} } -func (m *CountDivergingCommitsResponse) String() string { return proto.CompactTextString(m) } -func (*CountDivergingCommitsResponse) ProtoMessage() {} -func (*CountDivergingCommitsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{11} + LeftCount int32 `protobuf:"varint,1,opt,name=left_count,json=leftCount,proto3" json:"left_count,omitempty"` + RightCount int32 `protobuf:"varint,2,opt,name=right_count,json=rightCount,proto3" json:"right_count,omitempty"` } -func (m *CountDivergingCommitsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CountDivergingCommitsResponse.Unmarshal(m, b) -} -func (m *CountDivergingCommitsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CountDivergingCommitsResponse.Marshal(b, m, deterministic) -} -func (m *CountDivergingCommitsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CountDivergingCommitsResponse.Merge(m, src) +func (x *CountDivergingCommitsResponse) Reset() { + *x = CountDivergingCommitsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CountDivergingCommitsResponse) XXX_Size() int { - return xxx_messageInfo_CountDivergingCommitsResponse.Size(m) + +func (x *CountDivergingCommitsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CountDivergingCommitsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CountDivergingCommitsResponse.DiscardUnknown(m) + +func (*CountDivergingCommitsResponse) ProtoMessage() {} + +func (x *CountDivergingCommitsResponse) ProtoReflect() protoreflect.Message { + mi := &file_commit_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 mi.MessageOf(x) } -var xxx_messageInfo_CountDivergingCommitsResponse proto.InternalMessageInfo +// Deprecated: Use CountDivergingCommitsResponse.ProtoReflect.Descriptor instead. +func (*CountDivergingCommitsResponse) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{11} +} -func (m *CountDivergingCommitsResponse) GetLeftCount() int32 { - if m != nil { - return m.LeftCount +func (x *CountDivergingCommitsResponse) GetLeftCount() int32 { + if x != nil { + return x.LeftCount } return 0 } -func (m *CountDivergingCommitsResponse) GetRightCount() int32 { - if m != nil { - return m.RightCount +func (x *CountDivergingCommitsResponse) GetRightCount() int32 { + if x != nil { + return x.RightCount } return 0 } type TreeEntry struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // OID of the object this tree entry points to Oid string `protobuf:"bytes,1,opt,name=oid,proto3" json:"oid,omitempty"` // OID of the tree attached to commit_oid @@ -859,707 +1048,760 @@ type TreeEntry struct { // The commit object via which this entry was retrieved CommitOid string `protobuf:"bytes,6,opt,name=commit_oid,json=commitOid,proto3" json:"commit_oid,omitempty"` // Relative path of the first subdir that doesn't have only one directory descendant - FlatPath []byte `protobuf:"bytes,7,opt,name=flat_path,json=flatPath,proto3" json:"flat_path,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + FlatPath []byte `protobuf:"bytes,7,opt,name=flat_path,json=flatPath,proto3" json:"flat_path,omitempty"` } -func (m *TreeEntry) Reset() { *m = TreeEntry{} } -func (m *TreeEntry) String() string { return proto.CompactTextString(m) } -func (*TreeEntry) ProtoMessage() {} -func (*TreeEntry) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{12} +func (x *TreeEntry) Reset() { + *x = TreeEntry{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *TreeEntry) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TreeEntry.Unmarshal(m, b) -} -func (m *TreeEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TreeEntry.Marshal(b, m, deterministic) -} -func (m *TreeEntry) XXX_Merge(src proto.Message) { - xxx_messageInfo_TreeEntry.Merge(m, src) +func (x *TreeEntry) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *TreeEntry) XXX_Size() int { - return xxx_messageInfo_TreeEntry.Size(m) -} -func (m *TreeEntry) XXX_DiscardUnknown() { - xxx_messageInfo_TreeEntry.DiscardUnknown(m) + +func (*TreeEntry) ProtoMessage() {} + +func (x *TreeEntry) ProtoReflect() protoreflect.Message { + mi := &file_commit_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_TreeEntry proto.InternalMessageInfo +// Deprecated: Use TreeEntry.ProtoReflect.Descriptor instead. +func (*TreeEntry) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{12} +} -func (m *TreeEntry) GetOid() string { - if m != nil { - return m.Oid +func (x *TreeEntry) GetOid() string { + if x != nil { + return x.Oid } return "" } -func (m *TreeEntry) GetRootOid() string { - if m != nil { - return m.RootOid +func (x *TreeEntry) GetRootOid() string { + if x != nil { + return x.RootOid } return "" } -func (m *TreeEntry) GetPath() []byte { - if m != nil { - return m.Path +func (x *TreeEntry) GetPath() []byte { + if x != nil { + return x.Path } return nil } -func (m *TreeEntry) GetType() TreeEntry_EntryType { - if m != nil { - return m.Type +func (x *TreeEntry) GetType() TreeEntry_EntryType { + if x != nil { + return x.Type } return TreeEntry_BLOB } -func (m *TreeEntry) GetMode() int32 { - if m != nil { - return m.Mode +func (x *TreeEntry) GetMode() int32 { + if x != nil { + return x.Mode } return 0 } -func (m *TreeEntry) GetCommitOid() string { - if m != nil { - return m.CommitOid +func (x *TreeEntry) GetCommitOid() string { + if x != nil { + return x.CommitOid } return "" } -func (m *TreeEntry) GetFlatPath() []byte { - if m != nil { - return m.FlatPath +func (x *TreeEntry) GetFlatPath() []byte { + if x != nil { + return x.FlatPath } return nil } type GetTreeEntriesRequest struct { - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` - Path []byte `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` - Recursive bool `protobuf:"varint,4,opt,name=recursive,proto3" json:"recursive,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetTreeEntriesRequest) Reset() { *m = GetTreeEntriesRequest{} } -func (m *GetTreeEntriesRequest) String() string { return proto.CompactTextString(m) } -func (*GetTreeEntriesRequest) ProtoMessage() {} -func (*GetTreeEntriesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{13} -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *GetTreeEntriesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetTreeEntriesRequest.Unmarshal(m, b) -} -func (m *GetTreeEntriesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetTreeEntriesRequest.Marshal(b, m, deterministic) + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` + Path []byte `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` + Recursive bool `protobuf:"varint,4,opt,name=recursive,proto3" json:"recursive,omitempty"` } -func (m *GetTreeEntriesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTreeEntriesRequest.Merge(m, src) + +func (x *GetTreeEntriesRequest) Reset() { + *x = GetTreeEntriesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetTreeEntriesRequest) XXX_Size() int { - return xxx_messageInfo_GetTreeEntriesRequest.Size(m) + +func (x *GetTreeEntriesRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetTreeEntriesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetTreeEntriesRequest.DiscardUnknown(m) + +func (*GetTreeEntriesRequest) ProtoMessage() {} + +func (x *GetTreeEntriesRequest) ProtoReflect() protoreflect.Message { + mi := &file_commit_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 mi.MessageOf(x) } -var xxx_messageInfo_GetTreeEntriesRequest proto.InternalMessageInfo +// Deprecated: Use GetTreeEntriesRequest.ProtoReflect.Descriptor instead. +func (*GetTreeEntriesRequest) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{13} +} -func (m *GetTreeEntriesRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *GetTreeEntriesRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *GetTreeEntriesRequest) GetRevision() []byte { - if m != nil { - return m.Revision +func (x *GetTreeEntriesRequest) GetRevision() []byte { + if x != nil { + return x.Revision } return nil } -func (m *GetTreeEntriesRequest) GetPath() []byte { - if m != nil { - return m.Path +func (x *GetTreeEntriesRequest) GetPath() []byte { + if x != nil { + return x.Path } return nil } -func (m *GetTreeEntriesRequest) GetRecursive() bool { - if m != nil { - return m.Recursive +func (x *GetTreeEntriesRequest) GetRecursive() bool { + if x != nil { + return x.Recursive } return false } type GetTreeEntriesResponse struct { - Entries []*TreeEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *GetTreeEntriesResponse) Reset() { *m = GetTreeEntriesResponse{} } -func (m *GetTreeEntriesResponse) String() string { return proto.CompactTextString(m) } -func (*GetTreeEntriesResponse) ProtoMessage() {} -func (*GetTreeEntriesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{14} + Entries []*TreeEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"` } -func (m *GetTreeEntriesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetTreeEntriesResponse.Unmarshal(m, b) -} -func (m *GetTreeEntriesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetTreeEntriesResponse.Marshal(b, m, deterministic) -} -func (m *GetTreeEntriesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTreeEntriesResponse.Merge(m, src) +func (x *GetTreeEntriesResponse) Reset() { + *x = GetTreeEntriesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetTreeEntriesResponse) XXX_Size() int { - return xxx_messageInfo_GetTreeEntriesResponse.Size(m) + +func (x *GetTreeEntriesResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetTreeEntriesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetTreeEntriesResponse.DiscardUnknown(m) + +func (*GetTreeEntriesResponse) ProtoMessage() {} + +func (x *GetTreeEntriesResponse) ProtoReflect() protoreflect.Message { + mi := &file_commit_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 mi.MessageOf(x) } -var xxx_messageInfo_GetTreeEntriesResponse proto.InternalMessageInfo +// Deprecated: Use GetTreeEntriesResponse.ProtoReflect.Descriptor instead. +func (*GetTreeEntriesResponse) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{14} +} -func (m *GetTreeEntriesResponse) GetEntries() []*TreeEntry { - if m != nil { - return m.Entries +func (x *GetTreeEntriesResponse) GetEntries() []*TreeEntry { + if x != nil { + return x.Entries } return nil } type ListFilesRequest struct { - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *ListFilesRequest) Reset() { *m = ListFilesRequest{} } -func (m *ListFilesRequest) String() string { return proto.CompactTextString(m) } -func (*ListFilesRequest) ProtoMessage() {} -func (*ListFilesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{15} + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` } -func (m *ListFilesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListFilesRequest.Unmarshal(m, b) -} -func (m *ListFilesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListFilesRequest.Marshal(b, m, deterministic) -} -func (m *ListFilesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListFilesRequest.Merge(m, src) +func (x *ListFilesRequest) Reset() { + *x = ListFilesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListFilesRequest) XXX_Size() int { - return xxx_messageInfo_ListFilesRequest.Size(m) + +func (x *ListFilesRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListFilesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListFilesRequest.DiscardUnknown(m) + +func (*ListFilesRequest) ProtoMessage() {} + +func (x *ListFilesRequest) ProtoReflect() protoreflect.Message { + mi := &file_commit_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) } -var xxx_messageInfo_ListFilesRequest proto.InternalMessageInfo +// Deprecated: Use ListFilesRequest.ProtoReflect.Descriptor instead. +func (*ListFilesRequest) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{15} +} -func (m *ListFilesRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *ListFilesRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *ListFilesRequest) GetRevision() []byte { - if m != nil { - return m.Revision +func (x *ListFilesRequest) GetRevision() []byte { + if x != nil { + return x.Revision } return nil } // A single 'page' of the paginated response type ListFilesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Remember to force encoding utf-8 on the client side - Paths [][]byte `protobuf:"bytes,1,rep,name=paths,proto3" json:"paths,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Paths [][]byte `protobuf:"bytes,1,rep,name=paths,proto3" json:"paths,omitempty"` } -func (m *ListFilesResponse) Reset() { *m = ListFilesResponse{} } -func (m *ListFilesResponse) String() string { return proto.CompactTextString(m) } -func (*ListFilesResponse) ProtoMessage() {} -func (*ListFilesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{16} +func (x *ListFilesResponse) Reset() { + *x = ListFilesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListFilesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListFilesResponse.Unmarshal(m, b) -} -func (m *ListFilesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListFilesResponse.Marshal(b, m, deterministic) +func (x *ListFilesResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListFilesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListFilesResponse.Merge(m, src) -} -func (m *ListFilesResponse) XXX_Size() int { - return xxx_messageInfo_ListFilesResponse.Size(m) -} -func (m *ListFilesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListFilesResponse.DiscardUnknown(m) + +func (*ListFilesResponse) ProtoMessage() {} + +func (x *ListFilesResponse) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[16] + 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_ListFilesResponse proto.InternalMessageInfo +// Deprecated: Use ListFilesResponse.ProtoReflect.Descriptor instead. +func (*ListFilesResponse) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{16} +} -func (m *ListFilesResponse) GetPaths() [][]byte { - if m != nil { - return m.Paths +func (x *ListFilesResponse) GetPaths() [][]byte { + if x != nil { + return x.Paths } return nil } type FindCommitRequest struct { - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` - Trailers bool `protobuf:"varint,3,opt,name=trailers,proto3" json:"trailers,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *FindCommitRequest) Reset() { *m = FindCommitRequest{} } -func (m *FindCommitRequest) String() string { return proto.CompactTextString(m) } -func (*FindCommitRequest) ProtoMessage() {} -func (*FindCommitRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{17} + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` + Trailers bool `protobuf:"varint,3,opt,name=trailers,proto3" json:"trailers,omitempty"` } -func (m *FindCommitRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FindCommitRequest.Unmarshal(m, b) -} -func (m *FindCommitRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FindCommitRequest.Marshal(b, m, deterministic) -} -func (m *FindCommitRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_FindCommitRequest.Merge(m, src) +func (x *FindCommitRequest) Reset() { + *x = FindCommitRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FindCommitRequest) XXX_Size() int { - return xxx_messageInfo_FindCommitRequest.Size(m) + +func (x *FindCommitRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FindCommitRequest) XXX_DiscardUnknown() { - xxx_messageInfo_FindCommitRequest.DiscardUnknown(m) + +func (*FindCommitRequest) ProtoMessage() {} + +func (x *FindCommitRequest) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[17] + 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_FindCommitRequest proto.InternalMessageInfo +// Deprecated: Use FindCommitRequest.ProtoReflect.Descriptor instead. +func (*FindCommitRequest) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{17} +} -func (m *FindCommitRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *FindCommitRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *FindCommitRequest) GetRevision() []byte { - if m != nil { - return m.Revision +func (x *FindCommitRequest) GetRevision() []byte { + if x != nil { + return x.Revision } return nil } -func (m *FindCommitRequest) GetTrailers() bool { - if m != nil { - return m.Trailers +func (x *FindCommitRequest) GetTrailers() bool { + if x != nil { + return x.Trailers } return false } type FindCommitResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // commit is nil when the commit was not found - Commit *GitCommit `protobuf:"bytes,1,opt,name=commit,proto3" json:"commit,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Commit *GitCommit `protobuf:"bytes,1,opt,name=commit,proto3" json:"commit,omitempty"` } -func (m *FindCommitResponse) Reset() { *m = FindCommitResponse{} } -func (m *FindCommitResponse) String() string { return proto.CompactTextString(m) } -func (*FindCommitResponse) ProtoMessage() {} -func (*FindCommitResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{18} +func (x *FindCommitResponse) Reset() { + *x = FindCommitResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FindCommitResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FindCommitResponse.Unmarshal(m, b) -} -func (m *FindCommitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FindCommitResponse.Marshal(b, m, deterministic) -} -func (m *FindCommitResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_FindCommitResponse.Merge(m, src) +func (x *FindCommitResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FindCommitResponse) XXX_Size() int { - return xxx_messageInfo_FindCommitResponse.Size(m) -} -func (m *FindCommitResponse) XXX_DiscardUnknown() { - xxx_messageInfo_FindCommitResponse.DiscardUnknown(m) + +func (*FindCommitResponse) ProtoMessage() {} + +func (x *FindCommitResponse) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[18] + 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_FindCommitResponse proto.InternalMessageInfo +// Deprecated: Use FindCommitResponse.ProtoReflect.Descriptor instead. +func (*FindCommitResponse) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{18} +} -func (m *FindCommitResponse) GetCommit() *GitCommit { - if m != nil { - return m.Commit +func (x *FindCommitResponse) GetCommit() *GitCommit { + if x != nil { + return x.Commit } return nil } type ListCommitsByOidRequest struct { - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - Oid []string `protobuf:"bytes,2,rep,name=oid,proto3" json:"oid,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *ListCommitsByOidRequest) Reset() { *m = ListCommitsByOidRequest{} } -func (m *ListCommitsByOidRequest) String() string { return proto.CompactTextString(m) } -func (*ListCommitsByOidRequest) ProtoMessage() {} -func (*ListCommitsByOidRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{19} + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + Oid []string `protobuf:"bytes,2,rep,name=oid,proto3" json:"oid,omitempty"` } -func (m *ListCommitsByOidRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListCommitsByOidRequest.Unmarshal(m, b) -} -func (m *ListCommitsByOidRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListCommitsByOidRequest.Marshal(b, m, deterministic) -} -func (m *ListCommitsByOidRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListCommitsByOidRequest.Merge(m, src) +func (x *ListCommitsByOidRequest) Reset() { + *x = ListCommitsByOidRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListCommitsByOidRequest) XXX_Size() int { - return xxx_messageInfo_ListCommitsByOidRequest.Size(m) + +func (x *ListCommitsByOidRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListCommitsByOidRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListCommitsByOidRequest.DiscardUnknown(m) + +func (*ListCommitsByOidRequest) ProtoMessage() {} + +func (x *ListCommitsByOidRequest) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[19] + 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_ListCommitsByOidRequest proto.InternalMessageInfo +// Deprecated: Use ListCommitsByOidRequest.ProtoReflect.Descriptor instead. +func (*ListCommitsByOidRequest) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{19} +} -func (m *ListCommitsByOidRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *ListCommitsByOidRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *ListCommitsByOidRequest) GetOid() []string { - if m != nil { - return m.Oid +func (x *ListCommitsByOidRequest) GetOid() []string { + if x != nil { + return x.Oid } return nil } type ListCommitsByOidResponse struct { - Commits []*GitCommit `protobuf:"bytes,1,rep,name=commits,proto3" json:"commits,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *ListCommitsByOidResponse) Reset() { *m = ListCommitsByOidResponse{} } -func (m *ListCommitsByOidResponse) String() string { return proto.CompactTextString(m) } -func (*ListCommitsByOidResponse) ProtoMessage() {} -func (*ListCommitsByOidResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{20} + Commits []*GitCommit `protobuf:"bytes,1,rep,name=commits,proto3" json:"commits,omitempty"` } -func (m *ListCommitsByOidResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListCommitsByOidResponse.Unmarshal(m, b) -} -func (m *ListCommitsByOidResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListCommitsByOidResponse.Marshal(b, m, deterministic) -} -func (m *ListCommitsByOidResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListCommitsByOidResponse.Merge(m, src) +func (x *ListCommitsByOidResponse) Reset() { + *x = ListCommitsByOidResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListCommitsByOidResponse) XXX_Size() int { - return xxx_messageInfo_ListCommitsByOidResponse.Size(m) + +func (x *ListCommitsByOidResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListCommitsByOidResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListCommitsByOidResponse.DiscardUnknown(m) + +func (*ListCommitsByOidResponse) ProtoMessage() {} + +func (x *ListCommitsByOidResponse) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[20] + 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_ListCommitsByOidResponse proto.InternalMessageInfo +// Deprecated: Use ListCommitsByOidResponse.ProtoReflect.Descriptor instead. +func (*ListCommitsByOidResponse) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{20} +} -func (m *ListCommitsByOidResponse) GetCommits() []*GitCommit { - if m != nil { - return m.Commits +func (x *ListCommitsByOidResponse) GetCommits() []*GitCommit { + if x != nil { + return x.Commits } return nil } type ListCommitsByRefNameRequest struct { - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - RefNames [][]byte `protobuf:"bytes,2,rep,name=ref_names,json=refNames,proto3" json:"ref_names,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *ListCommitsByRefNameRequest) Reset() { *m = ListCommitsByRefNameRequest{} } -func (m *ListCommitsByRefNameRequest) String() string { return proto.CompactTextString(m) } -func (*ListCommitsByRefNameRequest) ProtoMessage() {} -func (*ListCommitsByRefNameRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{21} + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + RefNames [][]byte `protobuf:"bytes,2,rep,name=ref_names,json=refNames,proto3" json:"ref_names,omitempty"` } -func (m *ListCommitsByRefNameRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListCommitsByRefNameRequest.Unmarshal(m, b) -} -func (m *ListCommitsByRefNameRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListCommitsByRefNameRequest.Marshal(b, m, deterministic) -} -func (m *ListCommitsByRefNameRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListCommitsByRefNameRequest.Merge(m, src) +func (x *ListCommitsByRefNameRequest) Reset() { + *x = ListCommitsByRefNameRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListCommitsByRefNameRequest) XXX_Size() int { - return xxx_messageInfo_ListCommitsByRefNameRequest.Size(m) + +func (x *ListCommitsByRefNameRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListCommitsByRefNameRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListCommitsByRefNameRequest.DiscardUnknown(m) + +func (*ListCommitsByRefNameRequest) ProtoMessage() {} + +func (x *ListCommitsByRefNameRequest) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[21] + 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_ListCommitsByRefNameRequest proto.InternalMessageInfo +// Deprecated: Use ListCommitsByRefNameRequest.ProtoReflect.Descriptor instead. +func (*ListCommitsByRefNameRequest) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{21} +} -func (m *ListCommitsByRefNameRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *ListCommitsByRefNameRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *ListCommitsByRefNameRequest) GetRefNames() [][]byte { - if m != nil { - return m.RefNames +func (x *ListCommitsByRefNameRequest) GetRefNames() [][]byte { + if x != nil { + return x.RefNames } return nil } type ListCommitsByRefNameResponse struct { - CommitRefs []*ListCommitsByRefNameResponse_CommitForRef `protobuf:"bytes,2,rep,name=commit_refs,json=commitRefs,proto3" json:"commit_refs,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ListCommitsByRefNameResponse) Reset() { *m = ListCommitsByRefNameResponse{} } -func (m *ListCommitsByRefNameResponse) String() string { return proto.CompactTextString(m) } -func (*ListCommitsByRefNameResponse) ProtoMessage() {} -func (*ListCommitsByRefNameResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{22} -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *ListCommitsByRefNameResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListCommitsByRefNameResponse.Unmarshal(m, b) -} -func (m *ListCommitsByRefNameResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListCommitsByRefNameResponse.Marshal(b, m, deterministic) -} -func (m *ListCommitsByRefNameResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListCommitsByRefNameResponse.Merge(m, src) + CommitRefs []*ListCommitsByRefNameResponse_CommitForRef `protobuf:"bytes,2,rep,name=commit_refs,json=commitRefs,proto3" json:"commit_refs,omitempty"` } -func (m *ListCommitsByRefNameResponse) XXX_Size() int { - return xxx_messageInfo_ListCommitsByRefNameResponse.Size(m) -} -func (m *ListCommitsByRefNameResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListCommitsByRefNameResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListCommitsByRefNameResponse proto.InternalMessageInfo -func (m *ListCommitsByRefNameResponse) GetCommitRefs() []*ListCommitsByRefNameResponse_CommitForRef { - if m != nil { - return m.CommitRefs +func (x *ListCommitsByRefNameResponse) Reset() { + *x = ListCommitsByRefNameResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return nil } -type ListCommitsByRefNameResponse_CommitForRef struct { - Commit *GitCommit `protobuf:"bytes,1,opt,name=commit,proto3" json:"commit,omitempty"` - RefName []byte `protobuf:"bytes,2,opt,name=ref_name,json=refName,proto3" json:"ref_name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *ListCommitsByRefNameResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListCommitsByRefNameResponse_CommitForRef) Reset() { - *m = ListCommitsByRefNameResponse_CommitForRef{} -} -func (m *ListCommitsByRefNameResponse_CommitForRef) String() string { - return proto.CompactTextString(m) -} -func (*ListCommitsByRefNameResponse_CommitForRef) ProtoMessage() {} -func (*ListCommitsByRefNameResponse_CommitForRef) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{22, 0} -} +func (*ListCommitsByRefNameResponse) ProtoMessage() {} -func (m *ListCommitsByRefNameResponse_CommitForRef) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListCommitsByRefNameResponse_CommitForRef.Unmarshal(m, b) -} -func (m *ListCommitsByRefNameResponse_CommitForRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListCommitsByRefNameResponse_CommitForRef.Marshal(b, m, deterministic) -} -func (m *ListCommitsByRefNameResponse_CommitForRef) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListCommitsByRefNameResponse_CommitForRef.Merge(m, src) -} -func (m *ListCommitsByRefNameResponse_CommitForRef) XXX_Size() int { - return xxx_messageInfo_ListCommitsByRefNameResponse_CommitForRef.Size(m) -} -func (m *ListCommitsByRefNameResponse_CommitForRef) XXX_DiscardUnknown() { - xxx_messageInfo_ListCommitsByRefNameResponse_CommitForRef.DiscardUnknown(m) +func (x *ListCommitsByRefNameResponse) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[22] + 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_ListCommitsByRefNameResponse_CommitForRef proto.InternalMessageInfo - -func (m *ListCommitsByRefNameResponse_CommitForRef) GetCommit() *GitCommit { - if m != nil { - return m.Commit - } - return nil +// Deprecated: Use ListCommitsByRefNameResponse.ProtoReflect.Descriptor instead. +func (*ListCommitsByRefNameResponse) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{22} } -func (m *ListCommitsByRefNameResponse_CommitForRef) GetRefName() []byte { - if m != nil { - return m.RefName +func (x *ListCommitsByRefNameResponse) GetCommitRefs() []*ListCommitsByRefNameResponse_CommitForRef { + if x != nil { + return x.CommitRefs } return nil } type FindAllCommitsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // When nil, return all commits reachable by any branch in the repo - Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` - MaxCount int32 `protobuf:"varint,3,opt,name=max_count,json=maxCount,proto3" json:"max_count,omitempty"` - Skip int32 `protobuf:"varint,4,opt,name=skip,proto3" json:"skip,omitempty"` - Order FindAllCommitsRequest_Order `protobuf:"varint,5,opt,name=order,proto3,enum=gitaly.FindAllCommitsRequest_Order" json:"order,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *FindAllCommitsRequest) Reset() { *m = FindAllCommitsRequest{} } -func (m *FindAllCommitsRequest) String() string { return proto.CompactTextString(m) } -func (*FindAllCommitsRequest) ProtoMessage() {} -func (*FindAllCommitsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{23} + Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` + MaxCount int32 `protobuf:"varint,3,opt,name=max_count,json=maxCount,proto3" json:"max_count,omitempty"` + Skip int32 `protobuf:"varint,4,opt,name=skip,proto3" json:"skip,omitempty"` + Order FindAllCommitsRequest_Order `protobuf:"varint,5,opt,name=order,proto3,enum=gitaly.FindAllCommitsRequest_Order" json:"order,omitempty"` } -func (m *FindAllCommitsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FindAllCommitsRequest.Unmarshal(m, b) -} -func (m *FindAllCommitsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FindAllCommitsRequest.Marshal(b, m, deterministic) -} -func (m *FindAllCommitsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_FindAllCommitsRequest.Merge(m, src) +func (x *FindAllCommitsRequest) Reset() { + *x = FindAllCommitsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FindAllCommitsRequest) XXX_Size() int { - return xxx_messageInfo_FindAllCommitsRequest.Size(m) + +func (x *FindAllCommitsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FindAllCommitsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_FindAllCommitsRequest.DiscardUnknown(m) + +func (*FindAllCommitsRequest) ProtoMessage() {} + +func (x *FindAllCommitsRequest) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[23] + 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_FindAllCommitsRequest proto.InternalMessageInfo +// Deprecated: Use FindAllCommitsRequest.ProtoReflect.Descriptor instead. +func (*FindAllCommitsRequest) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{23} +} -func (m *FindAllCommitsRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *FindAllCommitsRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *FindAllCommitsRequest) GetRevision() []byte { - if m != nil { - return m.Revision +func (x *FindAllCommitsRequest) GetRevision() []byte { + if x != nil { + return x.Revision } return nil } -func (m *FindAllCommitsRequest) GetMaxCount() int32 { - if m != nil { - return m.MaxCount +func (x *FindAllCommitsRequest) GetMaxCount() int32 { + if x != nil { + return x.MaxCount } return 0 } -func (m *FindAllCommitsRequest) GetSkip() int32 { - if m != nil { - return m.Skip +func (x *FindAllCommitsRequest) GetSkip() int32 { + if x != nil { + return x.Skip } return 0 } -func (m *FindAllCommitsRequest) GetOrder() FindAllCommitsRequest_Order { - if m != nil { - return m.Order +func (x *FindAllCommitsRequest) GetOrder() FindAllCommitsRequest_Order { + if x != nil { + return x.Order } return FindAllCommitsRequest_NONE } // A single 'page' of the result set type FindAllCommitsResponse struct { - Commits []*GitCommit `protobuf:"bytes,1,rep,name=commits,proto3" json:"commits,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *FindAllCommitsResponse) Reset() { *m = FindAllCommitsResponse{} } -func (m *FindAllCommitsResponse) String() string { return proto.CompactTextString(m) } -func (*FindAllCommitsResponse) ProtoMessage() {} -func (*FindAllCommitsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{24} + Commits []*GitCommit `protobuf:"bytes,1,rep,name=commits,proto3" json:"commits,omitempty"` } -func (m *FindAllCommitsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FindAllCommitsResponse.Unmarshal(m, b) -} -func (m *FindAllCommitsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FindAllCommitsResponse.Marshal(b, m, deterministic) -} -func (m *FindAllCommitsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_FindAllCommitsResponse.Merge(m, src) +func (x *FindAllCommitsResponse) Reset() { + *x = FindAllCommitsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FindAllCommitsResponse) XXX_Size() int { - return xxx_messageInfo_FindAllCommitsResponse.Size(m) + +func (x *FindAllCommitsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FindAllCommitsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_FindAllCommitsResponse.DiscardUnknown(m) + +func (*FindAllCommitsResponse) ProtoMessage() {} + +func (x *FindAllCommitsResponse) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[24] + 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_FindAllCommitsResponse proto.InternalMessageInfo +// Deprecated: Use FindAllCommitsResponse.ProtoReflect.Descriptor instead. +func (*FindAllCommitsResponse) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{24} +} -func (m *FindAllCommitsResponse) GetCommits() []*GitCommit { - if m != nil { - return m.Commits +func (x *FindAllCommitsResponse) GetCommits() []*GitCommit { + if x != nil { + return x.Commits } return nil } type FindCommitsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` Limit int32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` @@ -1571,990 +1813,985 @@ type FindCommitsRequest struct { After *timestamp.Timestamp `protobuf:"bytes,9,opt,name=after,proto3" json:"after,omitempty"` Before *timestamp.Timestamp `protobuf:"bytes,10,opt,name=before,proto3" json:"before,omitempty"` // all and revision are mutually exclusive - All bool `protobuf:"varint,11,opt,name=all,proto3" json:"all,omitempty"` - FirstParent bool `protobuf:"varint,12,opt,name=first_parent,json=firstParent,proto3" json:"first_parent,omitempty"` - Author []byte `protobuf:"bytes,13,opt,name=author,proto3" json:"author,omitempty"` - Order FindCommitsRequest_Order `protobuf:"varint,14,opt,name=order,proto3,enum=gitaly.FindCommitsRequest_Order" json:"order,omitempty"` - GlobalOptions *GlobalOptions `protobuf:"bytes,15,opt,name=global_options,json=globalOptions,proto3" json:"global_options,omitempty"` - Trailers bool `protobuf:"varint,16,opt,name=trailers,proto3" json:"trailers,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *FindCommitsRequest) Reset() { *m = FindCommitsRequest{} } -func (m *FindCommitsRequest) String() string { return proto.CompactTextString(m) } -func (*FindCommitsRequest) ProtoMessage() {} -func (*FindCommitsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{25} + All bool `protobuf:"varint,11,opt,name=all,proto3" json:"all,omitempty"` + FirstParent bool `protobuf:"varint,12,opt,name=first_parent,json=firstParent,proto3" json:"first_parent,omitempty"` + Author []byte `protobuf:"bytes,13,opt,name=author,proto3" json:"author,omitempty"` + Order FindCommitsRequest_Order `protobuf:"varint,14,opt,name=order,proto3,enum=gitaly.FindCommitsRequest_Order" json:"order,omitempty"` + GlobalOptions *GlobalOptions `protobuf:"bytes,15,opt,name=global_options,json=globalOptions,proto3" json:"global_options,omitempty"` + Trailers bool `protobuf:"varint,16,opt,name=trailers,proto3" json:"trailers,omitempty"` } -func (m *FindCommitsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FindCommitsRequest.Unmarshal(m, b) -} -func (m *FindCommitsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FindCommitsRequest.Marshal(b, m, deterministic) -} -func (m *FindCommitsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_FindCommitsRequest.Merge(m, src) +func (x *FindCommitsRequest) Reset() { + *x = FindCommitsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FindCommitsRequest) XXX_Size() int { - return xxx_messageInfo_FindCommitsRequest.Size(m) + +func (x *FindCommitsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FindCommitsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_FindCommitsRequest.DiscardUnknown(m) + +func (*FindCommitsRequest) ProtoMessage() {} + +func (x *FindCommitsRequest) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[25] + 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_FindCommitsRequest proto.InternalMessageInfo +// Deprecated: Use FindCommitsRequest.ProtoReflect.Descriptor instead. +func (*FindCommitsRequest) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{25} +} -func (m *FindCommitsRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *FindCommitsRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *FindCommitsRequest) GetRevision() []byte { - if m != nil { - return m.Revision +func (x *FindCommitsRequest) GetRevision() []byte { + if x != nil { + return x.Revision } return nil } -func (m *FindCommitsRequest) GetLimit() int32 { - if m != nil { - return m.Limit +func (x *FindCommitsRequest) GetLimit() int32 { + if x != nil { + return x.Limit } return 0 } -func (m *FindCommitsRequest) GetOffset() int32 { - if m != nil { - return m.Offset +func (x *FindCommitsRequest) GetOffset() int32 { + if x != nil { + return x.Offset } return 0 } -func (m *FindCommitsRequest) GetPaths() [][]byte { - if m != nil { - return m.Paths +func (x *FindCommitsRequest) GetPaths() [][]byte { + if x != nil { + return x.Paths } return nil } -func (m *FindCommitsRequest) GetFollow() bool { - if m != nil { - return m.Follow +func (x *FindCommitsRequest) GetFollow() bool { + if x != nil { + return x.Follow } return false } -func (m *FindCommitsRequest) GetSkipMerges() bool { - if m != nil { - return m.SkipMerges +func (x *FindCommitsRequest) GetSkipMerges() bool { + if x != nil { + return x.SkipMerges } return false } -func (m *FindCommitsRequest) GetDisableWalk() bool { - if m != nil { - return m.DisableWalk +func (x *FindCommitsRequest) GetDisableWalk() bool { + if x != nil { + return x.DisableWalk } return false } -func (m *FindCommitsRequest) GetAfter() *timestamp.Timestamp { - if m != nil { - return m.After +func (x *FindCommitsRequest) GetAfter() *timestamp.Timestamp { + if x != nil { + return x.After } return nil } -func (m *FindCommitsRequest) GetBefore() *timestamp.Timestamp { - if m != nil { - return m.Before +func (x *FindCommitsRequest) GetBefore() *timestamp.Timestamp { + if x != nil { + return x.Before } return nil } -func (m *FindCommitsRequest) GetAll() bool { - if m != nil { - return m.All +func (x *FindCommitsRequest) GetAll() bool { + if x != nil { + return x.All } return false } -func (m *FindCommitsRequest) GetFirstParent() bool { - if m != nil { - return m.FirstParent +func (x *FindCommitsRequest) GetFirstParent() bool { + if x != nil { + return x.FirstParent } return false } -func (m *FindCommitsRequest) GetAuthor() []byte { - if m != nil { - return m.Author +func (x *FindCommitsRequest) GetAuthor() []byte { + if x != nil { + return x.Author } return nil } -func (m *FindCommitsRequest) GetOrder() FindCommitsRequest_Order { - if m != nil { - return m.Order +func (x *FindCommitsRequest) GetOrder() FindCommitsRequest_Order { + if x != nil { + return x.Order } return FindCommitsRequest_NONE } -func (m *FindCommitsRequest) GetGlobalOptions() *GlobalOptions { - if m != nil { - return m.GlobalOptions +func (x *FindCommitsRequest) GetGlobalOptions() *GlobalOptions { + if x != nil { + return x.GlobalOptions } return nil } -func (m *FindCommitsRequest) GetTrailers() bool { - if m != nil { - return m.Trailers +func (x *FindCommitsRequest) GetTrailers() bool { + if x != nil { + return x.Trailers } return false } // A single 'page' of the result set type FindCommitsResponse struct { - Commits []*GitCommit `protobuf:"bytes,1,rep,name=commits,proto3" json:"commits,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *FindCommitsResponse) Reset() { *m = FindCommitsResponse{} } -func (m *FindCommitsResponse) String() string { return proto.CompactTextString(m) } -func (*FindCommitsResponse) ProtoMessage() {} -func (*FindCommitsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{26} + Commits []*GitCommit `protobuf:"bytes,1,rep,name=commits,proto3" json:"commits,omitempty"` } -func (m *FindCommitsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FindCommitsResponse.Unmarshal(m, b) -} -func (m *FindCommitsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FindCommitsResponse.Marshal(b, m, deterministic) -} -func (m *FindCommitsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_FindCommitsResponse.Merge(m, src) +func (x *FindCommitsResponse) Reset() { + *x = FindCommitsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FindCommitsResponse) XXX_Size() int { - return xxx_messageInfo_FindCommitsResponse.Size(m) + +func (x *FindCommitsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FindCommitsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_FindCommitsResponse.DiscardUnknown(m) + +func (*FindCommitsResponse) ProtoMessage() {} + +func (x *FindCommitsResponse) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[26] + 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_FindCommitsResponse proto.InternalMessageInfo +// Deprecated: Use FindCommitsResponse.ProtoReflect.Descriptor instead. +func (*FindCommitsResponse) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{26} +} -func (m *FindCommitsResponse) GetCommits() []*GitCommit { - if m != nil { - return m.Commits +func (x *FindCommitsResponse) GetCommits() []*GitCommit { + if x != nil { + return x.Commits } return nil } type CommitLanguagesRequest struct { - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *CommitLanguagesRequest) Reset() { *m = CommitLanguagesRequest{} } -func (m *CommitLanguagesRequest) String() string { return proto.CompactTextString(m) } -func (*CommitLanguagesRequest) ProtoMessage() {} -func (*CommitLanguagesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{27} + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` } -func (m *CommitLanguagesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CommitLanguagesRequest.Unmarshal(m, b) -} -func (m *CommitLanguagesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CommitLanguagesRequest.Marshal(b, m, deterministic) -} -func (m *CommitLanguagesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CommitLanguagesRequest.Merge(m, src) +func (x *CommitLanguagesRequest) Reset() { + *x = CommitLanguagesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CommitLanguagesRequest) XXX_Size() int { - return xxx_messageInfo_CommitLanguagesRequest.Size(m) + +func (x *CommitLanguagesRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CommitLanguagesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CommitLanguagesRequest.DiscardUnknown(m) + +func (*CommitLanguagesRequest) ProtoMessage() {} + +func (x *CommitLanguagesRequest) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[27] + 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_CommitLanguagesRequest proto.InternalMessageInfo +// Deprecated: Use CommitLanguagesRequest.ProtoReflect.Descriptor instead. +func (*CommitLanguagesRequest) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{27} +} -func (m *CommitLanguagesRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *CommitLanguagesRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *CommitLanguagesRequest) GetRevision() []byte { - if m != nil { - return m.Revision +func (x *CommitLanguagesRequest) GetRevision() []byte { + if x != nil { + return x.Revision } return nil } type CommitLanguagesResponse struct { - Languages []*CommitLanguagesResponse_Language `protobuf:"bytes,1,rep,name=languages,proto3" json:"languages,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *CommitLanguagesResponse) Reset() { *m = CommitLanguagesResponse{} } -func (m *CommitLanguagesResponse) String() string { return proto.CompactTextString(m) } -func (*CommitLanguagesResponse) ProtoMessage() {} -func (*CommitLanguagesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{28} + Languages []*CommitLanguagesResponse_Language `protobuf:"bytes,1,rep,name=languages,proto3" json:"languages,omitempty"` } -func (m *CommitLanguagesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CommitLanguagesResponse.Unmarshal(m, b) -} -func (m *CommitLanguagesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CommitLanguagesResponse.Marshal(b, m, deterministic) -} -func (m *CommitLanguagesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CommitLanguagesResponse.Merge(m, src) -} -func (m *CommitLanguagesResponse) XXX_Size() int { - return xxx_messageInfo_CommitLanguagesResponse.Size(m) +func (x *CommitLanguagesResponse) Reset() { + *x = CommitLanguagesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CommitLanguagesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CommitLanguagesResponse.DiscardUnknown(m) + +func (x *CommitLanguagesResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_CommitLanguagesResponse proto.InternalMessageInfo +func (*CommitLanguagesResponse) ProtoMessage() {} -func (m *CommitLanguagesResponse) GetLanguages() []*CommitLanguagesResponse_Language { - if m != nil { - return m.Languages +func (x *CommitLanguagesResponse) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[28] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return nil + return mi.MessageOf(x) } -type CommitLanguagesResponse_Language struct { - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Share float32 `protobuf:"fixed32,2,opt,name=share,proto3" json:"share,omitempty"` - Color string `protobuf:"bytes,3,opt,name=color,proto3" json:"color,omitempty"` - FileCount uint32 `protobuf:"varint,4,opt,name=file_count,json=fileCount,proto3" json:"file_count,omitempty"` - Bytes uint64 `protobuf:"varint,5,opt,name=bytes,proto3" json:"bytes,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CommitLanguagesResponse_Language) Reset() { *m = CommitLanguagesResponse_Language{} } -func (m *CommitLanguagesResponse_Language) String() string { return proto.CompactTextString(m) } -func (*CommitLanguagesResponse_Language) ProtoMessage() {} -func (*CommitLanguagesResponse_Language) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{28, 0} +// Deprecated: Use CommitLanguagesResponse.ProtoReflect.Descriptor instead. +func (*CommitLanguagesResponse) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{28} } -func (m *CommitLanguagesResponse_Language) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CommitLanguagesResponse_Language.Unmarshal(m, b) -} -func (m *CommitLanguagesResponse_Language) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CommitLanguagesResponse_Language.Marshal(b, m, deterministic) -} -func (m *CommitLanguagesResponse_Language) XXX_Merge(src proto.Message) { - xxx_messageInfo_CommitLanguagesResponse_Language.Merge(m, src) -} -func (m *CommitLanguagesResponse_Language) XXX_Size() int { - return xxx_messageInfo_CommitLanguagesResponse_Language.Size(m) -} -func (m *CommitLanguagesResponse_Language) XXX_DiscardUnknown() { - xxx_messageInfo_CommitLanguagesResponse_Language.DiscardUnknown(m) +func (x *CommitLanguagesResponse) GetLanguages() []*CommitLanguagesResponse_Language { + if x != nil { + return x.Languages + } + return nil } -var xxx_messageInfo_CommitLanguagesResponse_Language proto.InternalMessageInfo +type RawBlameRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *CommitLanguagesResponse_Language) GetName() string { - if m != nil { - return m.Name - } - return "" + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` + Path []byte `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` } -func (m *CommitLanguagesResponse_Language) GetShare() float32 { - if m != nil { - return m.Share +func (x *RawBlameRequest) Reset() { + *x = RawBlameRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return 0 } -func (m *CommitLanguagesResponse_Language) GetColor() string { - if m != nil { - return m.Color - } - return "" +func (x *RawBlameRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CommitLanguagesResponse_Language) GetFileCount() uint32 { - if m != nil { - return m.FileCount - } - return 0 -} +func (*RawBlameRequest) ProtoMessage() {} -func (m *CommitLanguagesResponse_Language) GetBytes() uint64 { - if m != nil { - return m.Bytes +func (x *RawBlameRequest) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[29] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return 0 + return mi.MessageOf(x) } -type RawBlameRequest struct { - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` - Path []byte `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *RawBlameRequest) Reset() { *m = RawBlameRequest{} } -func (m *RawBlameRequest) String() string { return proto.CompactTextString(m) } -func (*RawBlameRequest) ProtoMessage() {} +// Deprecated: Use RawBlameRequest.ProtoReflect.Descriptor instead. func (*RawBlameRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{29} + return file_commit_proto_rawDescGZIP(), []int{29} } -func (m *RawBlameRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RawBlameRequest.Unmarshal(m, b) -} -func (m *RawBlameRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RawBlameRequest.Marshal(b, m, deterministic) -} -func (m *RawBlameRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RawBlameRequest.Merge(m, src) -} -func (m *RawBlameRequest) XXX_Size() int { - return xxx_messageInfo_RawBlameRequest.Size(m) -} -func (m *RawBlameRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RawBlameRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_RawBlameRequest proto.InternalMessageInfo - -func (m *RawBlameRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *RawBlameRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *RawBlameRequest) GetRevision() []byte { - if m != nil { - return m.Revision +func (x *RawBlameRequest) GetRevision() []byte { + if x != nil { + return x.Revision } return nil } -func (m *RawBlameRequest) GetPath() []byte { - if m != nil { - return m.Path +func (x *RawBlameRequest) GetPath() []byte { + if x != nil { + return x.Path } return nil } type RawBlameResponse struct { - Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *RawBlameResponse) Reset() { *m = RawBlameResponse{} } -func (m *RawBlameResponse) String() string { return proto.CompactTextString(m) } -func (*RawBlameResponse) ProtoMessage() {} -func (*RawBlameResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{30} + Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` } -func (m *RawBlameResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RawBlameResponse.Unmarshal(m, b) -} -func (m *RawBlameResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RawBlameResponse.Marshal(b, m, deterministic) -} -func (m *RawBlameResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_RawBlameResponse.Merge(m, src) +func (x *RawBlameResponse) Reset() { + *x = RawBlameResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RawBlameResponse) XXX_Size() int { - return xxx_messageInfo_RawBlameResponse.Size(m) + +func (x *RawBlameResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RawBlameResponse) XXX_DiscardUnknown() { - xxx_messageInfo_RawBlameResponse.DiscardUnknown(m) + +func (*RawBlameResponse) ProtoMessage() {} + +func (x *RawBlameResponse) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[30] + 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_RawBlameResponse proto.InternalMessageInfo +// Deprecated: Use RawBlameResponse.ProtoReflect.Descriptor instead. +func (*RawBlameResponse) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{30} +} -func (m *RawBlameResponse) GetData() []byte { - if m != nil { - return m.Data +func (x *RawBlameResponse) GetData() []byte { + if x != nil { + return x.Data } return nil } type LastCommitForPathRequest struct { - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` - Path []byte `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` - LiteralPathspec bool `protobuf:"varint,4,opt,name=literal_pathspec,json=literalPathspec,proto3" json:"literal_pathspec,omitempty"` - GlobalOptions *GlobalOptions `protobuf:"bytes,5,opt,name=global_options,json=globalOptions,proto3" json:"global_options,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *LastCommitForPathRequest) Reset() { *m = LastCommitForPathRequest{} } -func (m *LastCommitForPathRequest) String() string { return proto.CompactTextString(m) } -func (*LastCommitForPathRequest) ProtoMessage() {} -func (*LastCommitForPathRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{31} -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *LastCommitForPathRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LastCommitForPathRequest.Unmarshal(m, b) -} -func (m *LastCommitForPathRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LastCommitForPathRequest.Marshal(b, m, deterministic) + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` + Path []byte `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` + LiteralPathspec bool `protobuf:"varint,4,opt,name=literal_pathspec,json=literalPathspec,proto3" json:"literal_pathspec,omitempty"` // Deprecate after Rails stops using this + GlobalOptions *GlobalOptions `protobuf:"bytes,5,opt,name=global_options,json=globalOptions,proto3" json:"global_options,omitempty"` } -func (m *LastCommitForPathRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_LastCommitForPathRequest.Merge(m, src) + +func (x *LastCommitForPathRequest) Reset() { + *x = LastCommitForPathRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *LastCommitForPathRequest) XXX_Size() int { - return xxx_messageInfo_LastCommitForPathRequest.Size(m) + +func (x *LastCommitForPathRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *LastCommitForPathRequest) XXX_DiscardUnknown() { - xxx_messageInfo_LastCommitForPathRequest.DiscardUnknown(m) + +func (*LastCommitForPathRequest) ProtoMessage() {} + +func (x *LastCommitForPathRequest) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[31] + 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_LastCommitForPathRequest proto.InternalMessageInfo +// Deprecated: Use LastCommitForPathRequest.ProtoReflect.Descriptor instead. +func (*LastCommitForPathRequest) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{31} +} -func (m *LastCommitForPathRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *LastCommitForPathRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *LastCommitForPathRequest) GetRevision() []byte { - if m != nil { - return m.Revision +func (x *LastCommitForPathRequest) GetRevision() []byte { + if x != nil { + return x.Revision } return nil } -func (m *LastCommitForPathRequest) GetPath() []byte { - if m != nil { - return m.Path +func (x *LastCommitForPathRequest) GetPath() []byte { + if x != nil { + return x.Path } return nil } -func (m *LastCommitForPathRequest) GetLiteralPathspec() bool { - if m != nil { - return m.LiteralPathspec +func (x *LastCommitForPathRequest) GetLiteralPathspec() bool { + if x != nil { + return x.LiteralPathspec } return false } -func (m *LastCommitForPathRequest) GetGlobalOptions() *GlobalOptions { - if m != nil { - return m.GlobalOptions +func (x *LastCommitForPathRequest) GetGlobalOptions() *GlobalOptions { + if x != nil { + return x.GlobalOptions } return nil } type LastCommitForPathResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // commit is nil when the commit was not found - Commit *GitCommit `protobuf:"bytes,1,opt,name=commit,proto3" json:"commit,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Commit *GitCommit `protobuf:"bytes,1,opt,name=commit,proto3" json:"commit,omitempty"` } -func (m *LastCommitForPathResponse) Reset() { *m = LastCommitForPathResponse{} } -func (m *LastCommitForPathResponse) String() string { return proto.CompactTextString(m) } -func (*LastCommitForPathResponse) ProtoMessage() {} -func (*LastCommitForPathResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{32} +func (x *LastCommitForPathResponse) Reset() { + *x = LastCommitForPathResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *LastCommitForPathResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LastCommitForPathResponse.Unmarshal(m, b) -} -func (m *LastCommitForPathResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LastCommitForPathResponse.Marshal(b, m, deterministic) -} -func (m *LastCommitForPathResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_LastCommitForPathResponse.Merge(m, src) +func (x *LastCommitForPathResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *LastCommitForPathResponse) XXX_Size() int { - return xxx_messageInfo_LastCommitForPathResponse.Size(m) -} -func (m *LastCommitForPathResponse) XXX_DiscardUnknown() { - xxx_messageInfo_LastCommitForPathResponse.DiscardUnknown(m) + +func (*LastCommitForPathResponse) ProtoMessage() {} + +func (x *LastCommitForPathResponse) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[32] + 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_LastCommitForPathResponse proto.InternalMessageInfo +// Deprecated: Use LastCommitForPathResponse.ProtoReflect.Descriptor instead. +func (*LastCommitForPathResponse) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{32} +} -func (m *LastCommitForPathResponse) GetCommit() *GitCommit { - if m != nil { - return m.Commit +func (x *LastCommitForPathResponse) GetCommit() *GitCommit { + if x != nil { + return x.Commit } return nil } type ListLastCommitsForTreeRequest struct { - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - Revision string `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` - Path []byte `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` - Limit int32 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"` - Offset int32 `protobuf:"varint,5,opt,name=offset,proto3" json:"offset,omitempty"` - LiteralPathspec bool `protobuf:"varint,6,opt,name=literal_pathspec,json=literalPathspec,proto3" json:"literal_pathspec,omitempty"` // Deprecated: Do not use. - GlobalOptions *GlobalOptions `protobuf:"bytes,7,opt,name=global_options,json=globalOptions,proto3" json:"global_options,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ListLastCommitsForTreeRequest) Reset() { *m = ListLastCommitsForTreeRequest{} } -func (m *ListLastCommitsForTreeRequest) String() string { return proto.CompactTextString(m) } -func (*ListLastCommitsForTreeRequest) ProtoMessage() {} -func (*ListLastCommitsForTreeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{33} -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *ListLastCommitsForTreeRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListLastCommitsForTreeRequest.Unmarshal(m, b) -} -func (m *ListLastCommitsForTreeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListLastCommitsForTreeRequest.Marshal(b, m, deterministic) + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + Revision string `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` + Path []byte `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` + Limit int32 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"` + Offset int32 `protobuf:"varint,5,opt,name=offset,proto3" json:"offset,omitempty"` + // Deprecated: Do not use. + LiteralPathspec bool `protobuf:"varint,6,opt,name=literal_pathspec,json=literalPathspec,proto3" json:"literal_pathspec,omitempty"` + GlobalOptions *GlobalOptions `protobuf:"bytes,7,opt,name=global_options,json=globalOptions,proto3" json:"global_options,omitempty"` } -func (m *ListLastCommitsForTreeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListLastCommitsForTreeRequest.Merge(m, src) + +func (x *ListLastCommitsForTreeRequest) Reset() { + *x = ListLastCommitsForTreeRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListLastCommitsForTreeRequest) XXX_Size() int { - return xxx_messageInfo_ListLastCommitsForTreeRequest.Size(m) + +func (x *ListLastCommitsForTreeRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListLastCommitsForTreeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListLastCommitsForTreeRequest.DiscardUnknown(m) + +func (*ListLastCommitsForTreeRequest) ProtoMessage() {} + +func (x *ListLastCommitsForTreeRequest) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[33] + 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_ListLastCommitsForTreeRequest proto.InternalMessageInfo +// Deprecated: Use ListLastCommitsForTreeRequest.ProtoReflect.Descriptor instead. +func (*ListLastCommitsForTreeRequest) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{33} +} -func (m *ListLastCommitsForTreeRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *ListLastCommitsForTreeRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *ListLastCommitsForTreeRequest) GetRevision() string { - if m != nil { - return m.Revision +func (x *ListLastCommitsForTreeRequest) GetRevision() string { + if x != nil { + return x.Revision } return "" } -func (m *ListLastCommitsForTreeRequest) GetPath() []byte { - if m != nil { - return m.Path +func (x *ListLastCommitsForTreeRequest) GetPath() []byte { + if x != nil { + return x.Path } return nil } -func (m *ListLastCommitsForTreeRequest) GetLimit() int32 { - if m != nil { - return m.Limit +func (x *ListLastCommitsForTreeRequest) GetLimit() int32 { + if x != nil { + return x.Limit } return 0 } -func (m *ListLastCommitsForTreeRequest) GetOffset() int32 { - if m != nil { - return m.Offset +func (x *ListLastCommitsForTreeRequest) GetOffset() int32 { + if x != nil { + return x.Offset } return 0 } // Deprecated: Do not use. -func (m *ListLastCommitsForTreeRequest) GetLiteralPathspec() bool { - if m != nil { - return m.LiteralPathspec +func (x *ListLastCommitsForTreeRequest) GetLiteralPathspec() bool { + if x != nil { + return x.LiteralPathspec } return false } -func (m *ListLastCommitsForTreeRequest) GetGlobalOptions() *GlobalOptions { - if m != nil { - return m.GlobalOptions +func (x *ListLastCommitsForTreeRequest) GetGlobalOptions() *GlobalOptions { + if x != nil { + return x.GlobalOptions } return nil } type ListLastCommitsForTreeResponse struct { - Commits []*ListLastCommitsForTreeResponse_CommitForTree `protobuf:"bytes,1,rep,name=commits,proto3" json:"commits,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ListLastCommitsForTreeResponse) Reset() { *m = ListLastCommitsForTreeResponse{} } -func (m *ListLastCommitsForTreeResponse) String() string { return proto.CompactTextString(m) } -func (*ListLastCommitsForTreeResponse) ProtoMessage() {} -func (*ListLastCommitsForTreeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{34} -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *ListLastCommitsForTreeResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListLastCommitsForTreeResponse.Unmarshal(m, b) -} -func (m *ListLastCommitsForTreeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListLastCommitsForTreeResponse.Marshal(b, m, deterministic) -} -func (m *ListLastCommitsForTreeResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListLastCommitsForTreeResponse.Merge(m, src) -} -func (m *ListLastCommitsForTreeResponse) XXX_Size() int { - return xxx_messageInfo_ListLastCommitsForTreeResponse.Size(m) -} -func (m *ListLastCommitsForTreeResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListLastCommitsForTreeResponse.DiscardUnknown(m) + Commits []*ListLastCommitsForTreeResponse_CommitForTree `protobuf:"bytes,1,rep,name=commits,proto3" json:"commits,omitempty"` } -var xxx_messageInfo_ListLastCommitsForTreeResponse proto.InternalMessageInfo - -func (m *ListLastCommitsForTreeResponse) GetCommits() []*ListLastCommitsForTreeResponse_CommitForTree { - if m != nil { - return m.Commits +func (x *ListLastCommitsForTreeResponse) Reset() { + *x = ListLastCommitsForTreeResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return nil } -type ListLastCommitsForTreeResponse_CommitForTree struct { - Commit *GitCommit `protobuf:"bytes,2,opt,name=commit,proto3" json:"commit,omitempty"` - PathBytes []byte `protobuf:"bytes,4,opt,name=path_bytes,json=pathBytes,proto3" json:"path_bytes,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *ListLastCommitsForTreeResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListLastCommitsForTreeResponse_CommitForTree) Reset() { - *m = ListLastCommitsForTreeResponse_CommitForTree{} -} -func (m *ListLastCommitsForTreeResponse_CommitForTree) String() string { - return proto.CompactTextString(m) -} -func (*ListLastCommitsForTreeResponse_CommitForTree) ProtoMessage() {} -func (*ListLastCommitsForTreeResponse_CommitForTree) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{34, 0} -} +func (*ListLastCommitsForTreeResponse) ProtoMessage() {} -func (m *ListLastCommitsForTreeResponse_CommitForTree) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListLastCommitsForTreeResponse_CommitForTree.Unmarshal(m, b) -} -func (m *ListLastCommitsForTreeResponse_CommitForTree) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListLastCommitsForTreeResponse_CommitForTree.Marshal(b, m, deterministic) -} -func (m *ListLastCommitsForTreeResponse_CommitForTree) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListLastCommitsForTreeResponse_CommitForTree.Merge(m, src) -} -func (m *ListLastCommitsForTreeResponse_CommitForTree) XXX_Size() int { - return xxx_messageInfo_ListLastCommitsForTreeResponse_CommitForTree.Size(m) -} -func (m *ListLastCommitsForTreeResponse_CommitForTree) XXX_DiscardUnknown() { - xxx_messageInfo_ListLastCommitsForTreeResponse_CommitForTree.DiscardUnknown(m) +func (x *ListLastCommitsForTreeResponse) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[34] + 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_ListLastCommitsForTreeResponse_CommitForTree proto.InternalMessageInfo - -func (m *ListLastCommitsForTreeResponse_CommitForTree) GetCommit() *GitCommit { - if m != nil { - return m.Commit - } - return nil +// Deprecated: Use ListLastCommitsForTreeResponse.ProtoReflect.Descriptor instead. +func (*ListLastCommitsForTreeResponse) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{34} } -func (m *ListLastCommitsForTreeResponse_CommitForTree) GetPathBytes() []byte { - if m != nil { - return m.PathBytes +func (x *ListLastCommitsForTreeResponse) GetCommits() []*ListLastCommitsForTreeResponse_CommitForTree { + if x != nil { + return x.Commits } return nil } type CommitsByMessageRequest struct { - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` - Offset int32 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"` - Limit int32 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"` - Path []byte `protobuf:"bytes,5,opt,name=path,proto3" json:"path,omitempty"` - Query string `protobuf:"bytes,6,opt,name=query,proto3" json:"query,omitempty"` - GlobalOptions *GlobalOptions `protobuf:"bytes,7,opt,name=global_options,json=globalOptions,proto3" json:"global_options,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CommitsByMessageRequest) Reset() { *m = CommitsByMessageRequest{} } -func (m *CommitsByMessageRequest) String() string { return proto.CompactTextString(m) } -func (*CommitsByMessageRequest) ProtoMessage() {} -func (*CommitsByMessageRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{35} -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *CommitsByMessageRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CommitsByMessageRequest.Unmarshal(m, b) + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` + Offset int32 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"` + Limit int32 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"` + Path []byte `protobuf:"bytes,5,opt,name=path,proto3" json:"path,omitempty"` + Query string `protobuf:"bytes,6,opt,name=query,proto3" json:"query,omitempty"` + GlobalOptions *GlobalOptions `protobuf:"bytes,7,opt,name=global_options,json=globalOptions,proto3" json:"global_options,omitempty"` } -func (m *CommitsByMessageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CommitsByMessageRequest.Marshal(b, m, deterministic) -} -func (m *CommitsByMessageRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CommitsByMessageRequest.Merge(m, src) + +func (x *CommitsByMessageRequest) Reset() { + *x = CommitsByMessageRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CommitsByMessageRequest) XXX_Size() int { - return xxx_messageInfo_CommitsByMessageRequest.Size(m) + +func (x *CommitsByMessageRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CommitsByMessageRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CommitsByMessageRequest.DiscardUnknown(m) + +func (*CommitsByMessageRequest) ProtoMessage() {} + +func (x *CommitsByMessageRequest) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[35] + 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_CommitsByMessageRequest proto.InternalMessageInfo +// Deprecated: Use CommitsByMessageRequest.ProtoReflect.Descriptor instead. +func (*CommitsByMessageRequest) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{35} +} -func (m *CommitsByMessageRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *CommitsByMessageRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *CommitsByMessageRequest) GetRevision() []byte { - if m != nil { - return m.Revision +func (x *CommitsByMessageRequest) GetRevision() []byte { + if x != nil { + return x.Revision } return nil } -func (m *CommitsByMessageRequest) GetOffset() int32 { - if m != nil { - return m.Offset +func (x *CommitsByMessageRequest) GetOffset() int32 { + if x != nil { + return x.Offset } return 0 } -func (m *CommitsByMessageRequest) GetLimit() int32 { - if m != nil { - return m.Limit +func (x *CommitsByMessageRequest) GetLimit() int32 { + if x != nil { + return x.Limit } return 0 } -func (m *CommitsByMessageRequest) GetPath() []byte { - if m != nil { - return m.Path +func (x *CommitsByMessageRequest) GetPath() []byte { + if x != nil { + return x.Path } return nil } -func (m *CommitsByMessageRequest) GetQuery() string { - if m != nil { - return m.Query +func (x *CommitsByMessageRequest) GetQuery() string { + if x != nil { + return x.Query } return "" } -func (m *CommitsByMessageRequest) GetGlobalOptions() *GlobalOptions { - if m != nil { - return m.GlobalOptions +func (x *CommitsByMessageRequest) GetGlobalOptions() *GlobalOptions { + if x != nil { + return x.GlobalOptions } return nil } // One 'page' of the paginated response of CommitsByMessage type CommitsByMessageResponse struct { - Commits []*GitCommit `protobuf:"bytes,1,rep,name=commits,proto3" json:"commits,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *CommitsByMessageResponse) Reset() { *m = CommitsByMessageResponse{} } -func (m *CommitsByMessageResponse) String() string { return proto.CompactTextString(m) } -func (*CommitsByMessageResponse) ProtoMessage() {} -func (*CommitsByMessageResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{36} + Commits []*GitCommit `protobuf:"bytes,1,rep,name=commits,proto3" json:"commits,omitempty"` } -func (m *CommitsByMessageResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CommitsByMessageResponse.Unmarshal(m, b) -} -func (m *CommitsByMessageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CommitsByMessageResponse.Marshal(b, m, deterministic) -} -func (m *CommitsByMessageResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CommitsByMessageResponse.Merge(m, src) +func (x *CommitsByMessageResponse) Reset() { + *x = CommitsByMessageResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CommitsByMessageResponse) XXX_Size() int { - return xxx_messageInfo_CommitsByMessageResponse.Size(m) + +func (x *CommitsByMessageResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CommitsByMessageResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CommitsByMessageResponse.DiscardUnknown(m) + +func (*CommitsByMessageResponse) ProtoMessage() {} + +func (x *CommitsByMessageResponse) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[36] + 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_CommitsByMessageResponse proto.InternalMessageInfo +// Deprecated: Use CommitsByMessageResponse.ProtoReflect.Descriptor instead. +func (*CommitsByMessageResponse) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{36} +} -func (m *CommitsByMessageResponse) GetCommits() []*GitCommit { - if m != nil { - return m.Commits +func (x *CommitsByMessageResponse) GetCommits() []*GitCommit { + if x != nil { + return x.Commits } return nil } type FilterShasWithSignaturesRequest struct { - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - Shas [][]byte `protobuf:"bytes,2,rep,name=shas,proto3" json:"shas,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *FilterShasWithSignaturesRequest) Reset() { *m = FilterShasWithSignaturesRequest{} } -func (m *FilterShasWithSignaturesRequest) String() string { return proto.CompactTextString(m) } -func (*FilterShasWithSignaturesRequest) ProtoMessage() {} -func (*FilterShasWithSignaturesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{37} + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + Shas [][]byte `protobuf:"bytes,2,rep,name=shas,proto3" json:"shas,omitempty"` } -func (m *FilterShasWithSignaturesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FilterShasWithSignaturesRequest.Unmarshal(m, b) -} -func (m *FilterShasWithSignaturesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FilterShasWithSignaturesRequest.Marshal(b, m, deterministic) -} -func (m *FilterShasWithSignaturesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_FilterShasWithSignaturesRequest.Merge(m, src) +func (x *FilterShasWithSignaturesRequest) Reset() { + *x = FilterShasWithSignaturesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[37] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FilterShasWithSignaturesRequest) XXX_Size() int { - return xxx_messageInfo_FilterShasWithSignaturesRequest.Size(m) + +func (x *FilterShasWithSignaturesRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FilterShasWithSignaturesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_FilterShasWithSignaturesRequest.DiscardUnknown(m) + +func (*FilterShasWithSignaturesRequest) ProtoMessage() {} + +func (x *FilterShasWithSignaturesRequest) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[37] + 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_FilterShasWithSignaturesRequest proto.InternalMessageInfo +// Deprecated: Use FilterShasWithSignaturesRequest.ProtoReflect.Descriptor instead. +func (*FilterShasWithSignaturesRequest) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{37} +} -func (m *FilterShasWithSignaturesRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *FilterShasWithSignaturesRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *FilterShasWithSignaturesRequest) GetShas() [][]byte { - if m != nil { - return m.Shas +func (x *FilterShasWithSignaturesRequest) GetShas() [][]byte { + if x != nil { + return x.Shas } return nil } type FilterShasWithSignaturesResponse struct { - Shas [][]byte `protobuf:"bytes,1,rep,name=shas,proto3" json:"shas,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *FilterShasWithSignaturesResponse) Reset() { *m = FilterShasWithSignaturesResponse{} } -func (m *FilterShasWithSignaturesResponse) String() string { return proto.CompactTextString(m) } -func (*FilterShasWithSignaturesResponse) ProtoMessage() {} -func (*FilterShasWithSignaturesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{38} + Shas [][]byte `protobuf:"bytes,1,rep,name=shas,proto3" json:"shas,omitempty"` } -func (m *FilterShasWithSignaturesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FilterShasWithSignaturesResponse.Unmarshal(m, b) -} -func (m *FilterShasWithSignaturesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FilterShasWithSignaturesResponse.Marshal(b, m, deterministic) -} -func (m *FilterShasWithSignaturesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_FilterShasWithSignaturesResponse.Merge(m, src) +func (x *FilterShasWithSignaturesResponse) Reset() { + *x = FilterShasWithSignaturesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[38] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FilterShasWithSignaturesResponse) XXX_Size() int { - return xxx_messageInfo_FilterShasWithSignaturesResponse.Size(m) + +func (x *FilterShasWithSignaturesResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FilterShasWithSignaturesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_FilterShasWithSignaturesResponse.DiscardUnknown(m) + +func (*FilterShasWithSignaturesResponse) ProtoMessage() {} + +func (x *FilterShasWithSignaturesResponse) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[38] + 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_FilterShasWithSignaturesResponse proto.InternalMessageInfo +// Deprecated: Use FilterShasWithSignaturesResponse.ProtoReflect.Descriptor instead. +func (*FilterShasWithSignaturesResponse) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{38} +} -func (m *FilterShasWithSignaturesResponse) GetShas() [][]byte { - if m != nil { - return m.Shas +func (x *FilterShasWithSignaturesResponse) GetShas() [][]byte { + if x != nil { + return x.Shas } return nil } type ExtractCommitSignatureRequest struct { - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - CommitId string `protobuf:"bytes,2,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *ExtractCommitSignatureRequest) Reset() { *m = ExtractCommitSignatureRequest{} } -func (m *ExtractCommitSignatureRequest) String() string { return proto.CompactTextString(m) } -func (*ExtractCommitSignatureRequest) ProtoMessage() {} -func (*ExtractCommitSignatureRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{39} + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + CommitId string `protobuf:"bytes,2,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"` } -func (m *ExtractCommitSignatureRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExtractCommitSignatureRequest.Unmarshal(m, b) -} -func (m *ExtractCommitSignatureRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExtractCommitSignatureRequest.Marshal(b, m, deterministic) -} -func (m *ExtractCommitSignatureRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExtractCommitSignatureRequest.Merge(m, src) +func (x *ExtractCommitSignatureRequest) Reset() { + *x = ExtractCommitSignatureRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[39] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ExtractCommitSignatureRequest) XXX_Size() int { - return xxx_messageInfo_ExtractCommitSignatureRequest.Size(m) + +func (x *ExtractCommitSignatureRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ExtractCommitSignatureRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ExtractCommitSignatureRequest.DiscardUnknown(m) + +func (*ExtractCommitSignatureRequest) ProtoMessage() {} + +func (x *ExtractCommitSignatureRequest) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[39] + 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_ExtractCommitSignatureRequest proto.InternalMessageInfo +// Deprecated: Use ExtractCommitSignatureRequest.ProtoReflect.Descriptor instead. +func (*ExtractCommitSignatureRequest) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{39} +} -func (m *ExtractCommitSignatureRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *ExtractCommitSignatureRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *ExtractCommitSignatureRequest) GetCommitId() string { - if m != nil { - return m.CommitId +func (x *ExtractCommitSignatureRequest) GetCommitId() string { + if x != nil { + return x.CommitId } return "" } @@ -2562,462 +2799,1816 @@ func (m *ExtractCommitSignatureRequest) GetCommitId() string { // Either of the 'signature' and 'signed_text' fields may be present. It // is up to the caller to stitch them together. type ExtractCommitSignatureResponse struct { - Signature []byte `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"` - SignedText []byte `protobuf:"bytes,2,opt,name=signed_text,json=signedText,proto3" json:"signed_text,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *ExtractCommitSignatureResponse) Reset() { *m = ExtractCommitSignatureResponse{} } -func (m *ExtractCommitSignatureResponse) String() string { return proto.CompactTextString(m) } -func (*ExtractCommitSignatureResponse) ProtoMessage() {} -func (*ExtractCommitSignatureResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{40} + Signature []byte `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"` + SignedText []byte `protobuf:"bytes,2,opt,name=signed_text,json=signedText,proto3" json:"signed_text,omitempty"` } -func (m *ExtractCommitSignatureResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExtractCommitSignatureResponse.Unmarshal(m, b) -} -func (m *ExtractCommitSignatureResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExtractCommitSignatureResponse.Marshal(b, m, deterministic) -} -func (m *ExtractCommitSignatureResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExtractCommitSignatureResponse.Merge(m, src) +func (x *ExtractCommitSignatureResponse) Reset() { + *x = ExtractCommitSignatureResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[40] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ExtractCommitSignatureResponse) XXX_Size() int { - return xxx_messageInfo_ExtractCommitSignatureResponse.Size(m) + +func (x *ExtractCommitSignatureResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ExtractCommitSignatureResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ExtractCommitSignatureResponse.DiscardUnknown(m) + +func (*ExtractCommitSignatureResponse) ProtoMessage() {} + +func (x *ExtractCommitSignatureResponse) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[40] + 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_ExtractCommitSignatureResponse proto.InternalMessageInfo +// Deprecated: Use ExtractCommitSignatureResponse.ProtoReflect.Descriptor instead. +func (*ExtractCommitSignatureResponse) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{40} +} -func (m *ExtractCommitSignatureResponse) GetSignature() []byte { - if m != nil { - return m.Signature +func (x *ExtractCommitSignatureResponse) GetSignature() []byte { + if x != nil { + return x.Signature } return nil } -func (m *ExtractCommitSignatureResponse) GetSignedText() []byte { - if m != nil { - return m.SignedText +func (x *ExtractCommitSignatureResponse) GetSignedText() []byte { + if x != nil { + return x.SignedText } return nil } type GetCommitSignaturesRequest struct { - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - CommitIds []string `protobuf:"bytes,2,rep,name=commit_ids,json=commitIds,proto3" json:"commit_ids,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *GetCommitSignaturesRequest) Reset() { *m = GetCommitSignaturesRequest{} } -func (m *GetCommitSignaturesRequest) String() string { return proto.CompactTextString(m) } -func (*GetCommitSignaturesRequest) ProtoMessage() {} -func (*GetCommitSignaturesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{41} + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + CommitIds []string `protobuf:"bytes,2,rep,name=commit_ids,json=commitIds,proto3" json:"commit_ids,omitempty"` } -func (m *GetCommitSignaturesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetCommitSignaturesRequest.Unmarshal(m, b) -} -func (m *GetCommitSignaturesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetCommitSignaturesRequest.Marshal(b, m, deterministic) -} -func (m *GetCommitSignaturesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetCommitSignaturesRequest.Merge(m, src) +func (x *GetCommitSignaturesRequest) Reset() { + *x = GetCommitSignaturesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[41] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetCommitSignaturesRequest) XXX_Size() int { - return xxx_messageInfo_GetCommitSignaturesRequest.Size(m) + +func (x *GetCommitSignaturesRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetCommitSignaturesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetCommitSignaturesRequest.DiscardUnknown(m) + +func (*GetCommitSignaturesRequest) ProtoMessage() {} + +func (x *GetCommitSignaturesRequest) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[41] + 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_GetCommitSignaturesRequest proto.InternalMessageInfo +// Deprecated: Use GetCommitSignaturesRequest.ProtoReflect.Descriptor instead. +func (*GetCommitSignaturesRequest) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{41} +} -func (m *GetCommitSignaturesRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *GetCommitSignaturesRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *GetCommitSignaturesRequest) GetCommitIds() []string { - if m != nil { - return m.CommitIds +func (x *GetCommitSignaturesRequest) GetCommitIds() []string { + if x != nil { + return x.CommitIds } return nil } type GetCommitSignaturesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Only present for a new commit signature data. CommitId string `protobuf:"bytes,1,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"` // See ExtractCommitSignatureResponse above for how these fields should be handled. - Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` - SignedText []byte `protobuf:"bytes,3,opt,name=signed_text,json=signedText,proto3" json:"signed_text,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` + SignedText []byte `protobuf:"bytes,3,opt,name=signed_text,json=signedText,proto3" json:"signed_text,omitempty"` } -func (m *GetCommitSignaturesResponse) Reset() { *m = GetCommitSignaturesResponse{} } -func (m *GetCommitSignaturesResponse) String() string { return proto.CompactTextString(m) } -func (*GetCommitSignaturesResponse) ProtoMessage() {} -func (*GetCommitSignaturesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{42} +func (x *GetCommitSignaturesResponse) Reset() { + *x = GetCommitSignaturesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[42] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetCommitSignaturesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetCommitSignaturesResponse.Unmarshal(m, b) -} -func (m *GetCommitSignaturesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetCommitSignaturesResponse.Marshal(b, m, deterministic) +func (x *GetCommitSignaturesResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetCommitSignaturesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetCommitSignaturesResponse.Merge(m, src) -} -func (m *GetCommitSignaturesResponse) XXX_Size() int { - return xxx_messageInfo_GetCommitSignaturesResponse.Size(m) -} -func (m *GetCommitSignaturesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetCommitSignaturesResponse.DiscardUnknown(m) + +func (*GetCommitSignaturesResponse) ProtoMessage() {} + +func (x *GetCommitSignaturesResponse) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[42] + 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_GetCommitSignaturesResponse proto.InternalMessageInfo +// Deprecated: Use GetCommitSignaturesResponse.ProtoReflect.Descriptor instead. +func (*GetCommitSignaturesResponse) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{42} +} -func (m *GetCommitSignaturesResponse) GetCommitId() string { - if m != nil { - return m.CommitId +func (x *GetCommitSignaturesResponse) GetCommitId() string { + if x != nil { + return x.CommitId } return "" } -func (m *GetCommitSignaturesResponse) GetSignature() []byte { - if m != nil { - return m.Signature +func (x *GetCommitSignaturesResponse) GetSignature() []byte { + if x != nil { + return x.Signature } return nil } -func (m *GetCommitSignaturesResponse) GetSignedText() []byte { - if m != nil { - return m.SignedText +func (x *GetCommitSignaturesResponse) GetSignedText() []byte { + if x != nil { + return x.SignedText } return nil } type GetCommitMessagesRequest struct { - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - CommitIds []string `protobuf:"bytes,2,rep,name=commit_ids,json=commitIds,proto3" json:"commit_ids,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + CommitIds []string `protobuf:"bytes,2,rep,name=commit_ids,json=commitIds,proto3" json:"commit_ids,omitempty"` } -func (m *GetCommitMessagesRequest) Reset() { *m = GetCommitMessagesRequest{} } -func (m *GetCommitMessagesRequest) String() string { return proto.CompactTextString(m) } -func (*GetCommitMessagesRequest) ProtoMessage() {} +func (x *GetCommitMessagesRequest) Reset() { + *x = GetCommitMessagesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[43] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetCommitMessagesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetCommitMessagesRequest) ProtoMessage() {} + +func (x *GetCommitMessagesRequest) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[43] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetCommitMessagesRequest.ProtoReflect.Descriptor instead. func (*GetCommitMessagesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{43} + return file_commit_proto_rawDescGZIP(), []int{43} } -func (m *GetCommitMessagesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetCommitMessagesRequest.Unmarshal(m, b) +func (x *GetCommitMessagesRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil } -func (m *GetCommitMessagesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetCommitMessagesRequest.Marshal(b, m, deterministic) + +func (x *GetCommitMessagesRequest) GetCommitIds() []string { + if x != nil { + return x.CommitIds + } + return nil } -func (m *GetCommitMessagesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetCommitMessagesRequest.Merge(m, src) + +type GetCommitMessagesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Only present for a new commit message + CommitId string `protobuf:"bytes,1,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"` + Message []byte `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` } -func (m *GetCommitMessagesRequest) XXX_Size() int { - return xxx_messageInfo_GetCommitMessagesRequest.Size(m) + +func (x *GetCommitMessagesResponse) Reset() { + *x = GetCommitMessagesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[44] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetCommitMessagesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetCommitMessagesRequest.DiscardUnknown(m) + +func (x *GetCommitMessagesResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_GetCommitMessagesRequest proto.InternalMessageInfo +func (*GetCommitMessagesResponse) ProtoMessage() {} + +func (x *GetCommitMessagesResponse) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[44] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetCommitMessagesResponse.ProtoReflect.Descriptor instead. +func (*GetCommitMessagesResponse) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{44} +} -func (m *GetCommitMessagesRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *GetCommitMessagesResponse) GetCommitId() string { + if x != nil { + return x.CommitId + } + return "" +} + +func (x *GetCommitMessagesResponse) GetMessage() []byte { + if x != nil { + return x.Message } return nil } -func (m *GetCommitMessagesRequest) GetCommitIds() []string { - if m != nil { - return m.CommitIds +type ListCommitsByRefNameResponse_CommitForRef struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Commit *GitCommit `protobuf:"bytes,1,opt,name=commit,proto3" json:"commit,omitempty"` + RefName []byte `protobuf:"bytes,2,opt,name=ref_name,json=refName,proto3" json:"ref_name,omitempty"` +} + +func (x *ListCommitsByRefNameResponse_CommitForRef) Reset() { + *x = ListCommitsByRefNameResponse_CommitForRef{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[45] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListCommitsByRefNameResponse_CommitForRef) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListCommitsByRefNameResponse_CommitForRef) ProtoMessage() {} + +func (x *ListCommitsByRefNameResponse_CommitForRef) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[45] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ListCommitsByRefNameResponse_CommitForRef.ProtoReflect.Descriptor instead. +func (*ListCommitsByRefNameResponse_CommitForRef) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{22, 0} +} + +func (x *ListCommitsByRefNameResponse_CommitForRef) GetCommit() *GitCommit { + if x != nil { + return x.Commit } return nil } -type GetCommitMessagesResponse struct { - // Only present for a new commit message - CommitId string `protobuf:"bytes,1,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"` - Message []byte `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *ListCommitsByRefNameResponse_CommitForRef) GetRefName() []byte { + if x != nil { + return x.RefName + } + return nil } -func (m *GetCommitMessagesResponse) Reset() { *m = GetCommitMessagesResponse{} } -func (m *GetCommitMessagesResponse) String() string { return proto.CompactTextString(m) } -func (*GetCommitMessagesResponse) ProtoMessage() {} -func (*GetCommitMessagesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_db7163399a465f48, []int{44} +type CommitLanguagesResponse_Language struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Share float32 `protobuf:"fixed32,2,opt,name=share,proto3" json:"share,omitempty"` + Color string `protobuf:"bytes,3,opt,name=color,proto3" json:"color,omitempty"` + FileCount uint32 `protobuf:"varint,4,opt,name=file_count,json=fileCount,proto3" json:"file_count,omitempty"` + Bytes uint64 `protobuf:"varint,5,opt,name=bytes,proto3" json:"bytes,omitempty"` } -func (m *GetCommitMessagesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetCommitMessagesResponse.Unmarshal(m, b) +func (x *CommitLanguagesResponse_Language) Reset() { + *x = CommitLanguagesResponse_Language{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[46] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetCommitMessagesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetCommitMessagesResponse.Marshal(b, m, deterministic) + +func (x *CommitLanguagesResponse_Language) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetCommitMessagesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetCommitMessagesResponse.Merge(m, src) + +func (*CommitLanguagesResponse_Language) ProtoMessage() {} + +func (x *CommitLanguagesResponse_Language) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[46] + 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 *GetCommitMessagesResponse) XXX_Size() int { - return xxx_messageInfo_GetCommitMessagesResponse.Size(m) + +// Deprecated: Use CommitLanguagesResponse_Language.ProtoReflect.Descriptor instead. +func (*CommitLanguagesResponse_Language) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{28, 0} } -func (m *GetCommitMessagesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetCommitMessagesResponse.DiscardUnknown(m) + +func (x *CommitLanguagesResponse_Language) GetName() string { + if x != nil { + return x.Name + } + return "" } -var xxx_messageInfo_GetCommitMessagesResponse proto.InternalMessageInfo +func (x *CommitLanguagesResponse_Language) GetShare() float32 { + if x != nil { + return x.Share + } + return 0 +} -func (m *GetCommitMessagesResponse) GetCommitId() string { - if m != nil { - return m.CommitId +func (x *CommitLanguagesResponse_Language) GetColor() string { + if x != nil { + return x.Color } return "" } -func (m *GetCommitMessagesResponse) GetMessage() []byte { - if m != nil { - return m.Message +func (x *CommitLanguagesResponse_Language) GetFileCount() uint32 { + if x != nil { + return x.FileCount + } + return 0 +} + +func (x *CommitLanguagesResponse_Language) GetBytes() uint64 { + if x != nil { + return x.Bytes + } + return 0 +} + +type ListLastCommitsForTreeResponse_CommitForTree struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Commit *GitCommit `protobuf:"bytes,2,opt,name=commit,proto3" json:"commit,omitempty"` + PathBytes []byte `protobuf:"bytes,4,opt,name=path_bytes,json=pathBytes,proto3" json:"path_bytes,omitempty"` +} + +func (x *ListLastCommitsForTreeResponse_CommitForTree) Reset() { + *x = ListLastCommitsForTreeResponse_CommitForTree{} + if protoimpl.UnsafeEnabled { + mi := &file_commit_proto_msgTypes[47] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListLastCommitsForTreeResponse_CommitForTree) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListLastCommitsForTreeResponse_CommitForTree) ProtoMessage() {} + +func (x *ListLastCommitsForTreeResponse_CommitForTree) ProtoReflect() protoreflect.Message { + mi := &file_commit_proto_msgTypes[47] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ListLastCommitsForTreeResponse_CommitForTree.ProtoReflect.Descriptor instead. +func (*ListLastCommitsForTreeResponse_CommitForTree) Descriptor() ([]byte, []int) { + return file_commit_proto_rawDescGZIP(), []int{34, 0} +} + +func (x *ListLastCommitsForTreeResponse_CommitForTree) GetCommit() *GitCommit { + if x != nil { + return x.Commit + } + return nil +} + +func (x *ListLastCommitsForTreeResponse_CommitForTree) GetPathBytes() []byte { + if x != nil { + return x.PathBytes } return nil } -func init() { - proto.RegisterEnum("gitaly.TreeEntryResponse_ObjectType", TreeEntryResponse_ObjectType_name, TreeEntryResponse_ObjectType_value) - proto.RegisterEnum("gitaly.TreeEntry_EntryType", TreeEntry_EntryType_name, TreeEntry_EntryType_value) - proto.RegisterEnum("gitaly.FindAllCommitsRequest_Order", FindAllCommitsRequest_Order_name, FindAllCommitsRequest_Order_value) - proto.RegisterEnum("gitaly.FindCommitsRequest_Order", FindCommitsRequest_Order_name, FindCommitsRequest_Order_value) - proto.RegisterType((*CommitStatsRequest)(nil), "gitaly.CommitStatsRequest") - proto.RegisterType((*CommitStatsResponse)(nil), "gitaly.CommitStatsResponse") - proto.RegisterType((*CommitIsAncestorRequest)(nil), "gitaly.CommitIsAncestorRequest") - proto.RegisterType((*CommitIsAncestorResponse)(nil), "gitaly.CommitIsAncestorResponse") - proto.RegisterType((*TreeEntryRequest)(nil), "gitaly.TreeEntryRequest") - proto.RegisterType((*TreeEntryResponse)(nil), "gitaly.TreeEntryResponse") - proto.RegisterType((*CommitsBetweenRequest)(nil), "gitaly.CommitsBetweenRequest") - proto.RegisterType((*CommitsBetweenResponse)(nil), "gitaly.CommitsBetweenResponse") - proto.RegisterType((*CountCommitsRequest)(nil), "gitaly.CountCommitsRequest") - proto.RegisterType((*CountCommitsResponse)(nil), "gitaly.CountCommitsResponse") - proto.RegisterType((*CountDivergingCommitsRequest)(nil), "gitaly.CountDivergingCommitsRequest") - proto.RegisterType((*CountDivergingCommitsResponse)(nil), "gitaly.CountDivergingCommitsResponse") - proto.RegisterType((*TreeEntry)(nil), "gitaly.TreeEntry") - proto.RegisterType((*GetTreeEntriesRequest)(nil), "gitaly.GetTreeEntriesRequest") - proto.RegisterType((*GetTreeEntriesResponse)(nil), "gitaly.GetTreeEntriesResponse") - proto.RegisterType((*ListFilesRequest)(nil), "gitaly.ListFilesRequest") - proto.RegisterType((*ListFilesResponse)(nil), "gitaly.ListFilesResponse") - proto.RegisterType((*FindCommitRequest)(nil), "gitaly.FindCommitRequest") - proto.RegisterType((*FindCommitResponse)(nil), "gitaly.FindCommitResponse") - proto.RegisterType((*ListCommitsByOidRequest)(nil), "gitaly.ListCommitsByOidRequest") - proto.RegisterType((*ListCommitsByOidResponse)(nil), "gitaly.ListCommitsByOidResponse") - proto.RegisterType((*ListCommitsByRefNameRequest)(nil), "gitaly.ListCommitsByRefNameRequest") - proto.RegisterType((*ListCommitsByRefNameResponse)(nil), "gitaly.ListCommitsByRefNameResponse") - proto.RegisterType((*ListCommitsByRefNameResponse_CommitForRef)(nil), "gitaly.ListCommitsByRefNameResponse.CommitForRef") - proto.RegisterType((*FindAllCommitsRequest)(nil), "gitaly.FindAllCommitsRequest") - proto.RegisterType((*FindAllCommitsResponse)(nil), "gitaly.FindAllCommitsResponse") - proto.RegisterType((*FindCommitsRequest)(nil), "gitaly.FindCommitsRequest") - proto.RegisterType((*FindCommitsResponse)(nil), "gitaly.FindCommitsResponse") - proto.RegisterType((*CommitLanguagesRequest)(nil), "gitaly.CommitLanguagesRequest") - proto.RegisterType((*CommitLanguagesResponse)(nil), "gitaly.CommitLanguagesResponse") - proto.RegisterType((*CommitLanguagesResponse_Language)(nil), "gitaly.CommitLanguagesResponse.Language") - proto.RegisterType((*RawBlameRequest)(nil), "gitaly.RawBlameRequest") - proto.RegisterType((*RawBlameResponse)(nil), "gitaly.RawBlameResponse") - proto.RegisterType((*LastCommitForPathRequest)(nil), "gitaly.LastCommitForPathRequest") - proto.RegisterType((*LastCommitForPathResponse)(nil), "gitaly.LastCommitForPathResponse") - proto.RegisterType((*ListLastCommitsForTreeRequest)(nil), "gitaly.ListLastCommitsForTreeRequest") - proto.RegisterType((*ListLastCommitsForTreeResponse)(nil), "gitaly.ListLastCommitsForTreeResponse") - proto.RegisterType((*ListLastCommitsForTreeResponse_CommitForTree)(nil), "gitaly.ListLastCommitsForTreeResponse.CommitForTree") - proto.RegisterType((*CommitsByMessageRequest)(nil), "gitaly.CommitsByMessageRequest") - proto.RegisterType((*CommitsByMessageResponse)(nil), "gitaly.CommitsByMessageResponse") - proto.RegisterType((*FilterShasWithSignaturesRequest)(nil), "gitaly.FilterShasWithSignaturesRequest") - proto.RegisterType((*FilterShasWithSignaturesResponse)(nil), "gitaly.FilterShasWithSignaturesResponse") - proto.RegisterType((*ExtractCommitSignatureRequest)(nil), "gitaly.ExtractCommitSignatureRequest") - proto.RegisterType((*ExtractCommitSignatureResponse)(nil), "gitaly.ExtractCommitSignatureResponse") - proto.RegisterType((*GetCommitSignaturesRequest)(nil), "gitaly.GetCommitSignaturesRequest") - proto.RegisterType((*GetCommitSignaturesResponse)(nil), "gitaly.GetCommitSignaturesResponse") - proto.RegisterType((*GetCommitMessagesRequest)(nil), "gitaly.GetCommitMessagesRequest") - proto.RegisterType((*GetCommitMessagesResponse)(nil), "gitaly.GetCommitMessagesResponse") -} - -func init() { proto.RegisterFile("commit.proto", fileDescriptor_db7163399a465f48) } - -var fileDescriptor_db7163399a465f48 = []byte{ - // 2283 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x5a, 0xbb, 0x73, 0x1b, 0xc7, - 0x19, 0xf7, 0xe1, 0x79, 0xf8, 0x00, 0x51, 0xe0, 0xea, 0x05, 0x1e, 0x48, 0x91, 0x3e, 0x49, 0x0e, - 0x35, 0xb6, 0x41, 0x85, 0x49, 0x3c, 0xce, 0x4c, 0x66, 0x32, 0x82, 0x4d, 0x32, 0x62, 0x24, 0x81, - 0x39, 0x72, 0xc6, 0x63, 0xcf, 0x64, 0x90, 0x03, 0xb0, 0x00, 0xd6, 0x3a, 0xe0, 0xa0, 0xbb, 0x05, - 0x45, 0x38, 0x45, 0xd2, 0xb8, 0x4e, 0x99, 0x74, 0x69, 0xd2, 0x65, 0xf2, 0x07, 0xa4, 0x4a, 0x97, - 0x32, 0x45, 0x9a, 0xf4, 0xa9, 0x93, 0x32, 0x8d, 0xab, 0xcc, 0x3e, 0xee, 0x7d, 0xc7, 0x87, 0x48, - 0xaa, 0xe1, 0xdc, 0x7e, 0xfb, 0xf8, 0x1e, 0xfb, 0xed, 0x6f, 0x7f, 0xfb, 0x81, 0x50, 0xeb, 0xdb, - 0x93, 0x09, 0xa1, 0xad, 0x99, 0x63, 0x53, 0x1b, 0x95, 0x46, 0x84, 0x9a, 0xd6, 0x42, 0x03, 0x8b, - 0x4c, 0xa5, 0x4c, 0xab, 0xb9, 0x63, 0xd3, 0xc1, 0x03, 0xd9, 0x5a, 0x1f, 0xd9, 0xf6, 0xc8, 0xc2, - 0x5b, 0xbc, 0xd5, 0x9b, 0x0f, 0xb7, 0x28, 0x99, 0x60, 0x97, 0x9a, 0x93, 0x99, 0x18, 0xa0, 0x7f, - 0x0d, 0xe8, 0x33, 0xbe, 0xe4, 0x21, 0x35, 0xa9, 0x6b, 0xe0, 0xd7, 0x73, 0xec, 0x52, 0xf4, 0x29, - 0x80, 0x83, 0x67, 0xb6, 0x4b, 0xa8, 0xed, 0x2c, 0x1a, 0xca, 0x86, 0xb2, 0x59, 0xdd, 0x46, 0x2d, - 0xa1, 0xad, 0x65, 0xf8, 0x3d, 0xed, 0xc2, 0x1f, 0xfe, 0xfe, 0x91, 0x62, 0x84, 0xc6, 0x22, 0x0d, - 0x54, 0x07, 0x1f, 0x13, 0x97, 0xd8, 0xd3, 0x46, 0x6e, 0x43, 0xd9, 0xac, 0x19, 0x7e, 0x5b, 0xef, - 0xc3, 0xad, 0x88, 0x2e, 0x77, 0x66, 0x4f, 0x5d, 0x8c, 0xea, 0x90, 0xb7, 0xc9, 0x80, 0x6b, 0xa9, - 0x18, 0xec, 0x13, 0xad, 0x42, 0xc5, 0x1c, 0x0c, 0x08, 0x25, 0xf6, 0xd4, 0xe5, 0xab, 0x14, 0x8d, - 0x40, 0xc0, 0x7a, 0x07, 0xd8, 0xc2, 0xa2, 0x37, 0x2f, 0x7a, 0x7d, 0x81, 0xfe, 0x3b, 0x05, 0xee, - 0x09, 0x2d, 0xcf, 0xdc, 0xa7, 0xd3, 0x3e, 0x76, 0xa9, 0xed, 0x5c, 0xde, 0xad, 0x75, 0xa8, 0x9a, - 0x72, 0xb1, 0x2e, 0x19, 0x70, 0x9b, 0x2a, 0x06, 0x78, 0xa2, 0x67, 0x03, 0xb4, 0x02, 0x6a, 0x7f, - 0x4c, 0xac, 0x01, 0xeb, 0xcd, 0xf3, 0xde, 0x32, 0x6f, 0x3f, 0x1b, 0xe8, 0x4f, 0xa0, 0x91, 0x34, - 0x48, 0xfa, 0x7e, 0x1b, 0x8a, 0xc7, 0xa6, 0x35, 0xc7, 0xdc, 0x18, 0xd5, 0x10, 0x0d, 0xfd, 0x2f, - 0x0a, 0xd4, 0x8f, 0x1c, 0x8c, 0x77, 0xa6, 0xd4, 0x59, 0x5c, 0xeb, 0x9e, 0x20, 0x04, 0x85, 0x99, - 0x49, 0xc7, 0xdc, 0xe6, 0x9a, 0xc1, 0xbf, 0x99, 0x51, 0x16, 0x99, 0x10, 0xda, 0x28, 0x6c, 0x28, - 0x9b, 0x79, 0x43, 0x34, 0x98, 0x87, 0x13, 0xf3, 0xa4, 0xeb, 0x92, 0x6f, 0x70, 0xa3, 0xc8, 0x3b, - 0xca, 0x13, 0xf3, 0xe4, 0x90, 0x7c, 0x83, 0xf5, 0x7f, 0x2a, 0xb0, 0x1c, 0xb2, 0x57, 0xfa, 0xf6, - 0x29, 0x14, 0xe8, 0x62, 0x26, 0x5c, 0x5b, 0xda, 0x7e, 0xe8, 0x99, 0x9a, 0x18, 0xd8, 0xea, 0xf4, - 0xbe, 0xc6, 0x7d, 0x7a, 0xb4, 0x98, 0x61, 0x83, 0xcf, 0xf0, 0x32, 0x22, 0x17, 0x64, 0x04, 0x82, - 0x02, 0x57, 0x9c, 0xe7, 0x8a, 0xf9, 0x37, 0x93, 0x4d, 0xec, 0x01, 0xe6, 0x56, 0x16, 0x0d, 0xfe, - 0xcd, 0x64, 0x03, 0x93, 0x9a, 0xdc, 0xc0, 0x9a, 0xc1, 0xbf, 0xf5, 0x1f, 0x01, 0x04, 0x1a, 0x10, - 0x40, 0xe9, 0xb3, 0xce, 0x8b, 0x17, 0xcf, 0x8e, 0xea, 0xef, 0x21, 0x15, 0x0a, 0xed, 0xe7, 0x9d, - 0x76, 0x5d, 0x61, 0x5f, 0x47, 0xc6, 0xce, 0x4e, 0x3d, 0x87, 0xca, 0x90, 0x3f, 0x7a, 0xba, 0x57, - 0xcf, 0xeb, 0x7f, 0x53, 0xe0, 0x8e, 0xd8, 0x37, 0xb7, 0x8d, 0xe9, 0x1b, 0x8c, 0xa7, 0x97, 0xdf, - 0x09, 0x04, 0x85, 0xa1, 0x63, 0x4f, 0xe4, 0x2e, 0xf0, 0x6f, 0xb4, 0x04, 0x39, 0x6a, 0xcb, 0xf8, - 0xe7, 0xa8, 0x8d, 0x7e, 0x06, 0xcb, 0x33, 0x73, 0x44, 0xa6, 0x26, 0xcb, 0xe7, 0xee, 0xcc, 0x74, - 0xcc, 0x89, 0xcb, 0x7d, 0xac, 0x6e, 0x37, 0x3d, 0x25, 0x07, 0xfe, 0x80, 0x03, 0xd6, 0x8f, 0x29, - 0x76, 0x8c, 0xfa, 0x2c, 0x2a, 0x74, 0xf5, 0x1d, 0xb8, 0x1b, 0x77, 0x40, 0x6e, 0xcd, 0x87, 0x50, - 0x16, 0x40, 0xe2, 0x36, 0x94, 0x8d, 0xfc, 0x66, 0x75, 0x7b, 0xd9, 0x5b, 0x79, 0x8f, 0x50, 0x31, - 0xc7, 0xf0, 0x46, 0xe8, 0xff, 0xcb, 0xb1, 0x73, 0x3b, 0x9f, 0xca, 0x8e, 0xeb, 0x05, 0x09, 0xf4, - 0x04, 0x8a, 0xe6, 0x90, 0x62, 0x87, 0x47, 0xa4, 0xba, 0xad, 0xb5, 0x04, 0x82, 0xb5, 0x3c, 0x04, - 0x6b, 0x1d, 0x79, 0x08, 0x66, 0x88, 0x81, 0x68, 0x1b, 0x4a, 0x3d, 0x3c, 0xb4, 0x1d, 0x2c, 0xa3, - 0x74, 0xda, 0x14, 0x39, 0xd2, 0x4f, 0xfb, 0x62, 0x28, 0xed, 0x9b, 0x50, 0x61, 0x09, 0xde, 0x67, - 0xae, 0x36, 0x4a, 0x3c, 0xa9, 0x58, 0xc6, 0x73, 0xd7, 0x59, 0x4a, 0x9a, 0x96, 0xd5, 0x28, 0xf3, - 0x63, 0xca, 0x3e, 0xd1, 0xfb, 0x50, 0x1b, 0x12, 0xc7, 0xa5, 0x6c, 0x8b, 0xf0, 0x94, 0x36, 0x54, - 0xde, 0x55, 0xe5, 0xb2, 0x03, 0x2e, 0x42, 0x3f, 0x81, 0xa5, 0x91, 0x65, 0xf7, 0x4c, 0xab, 0x6b, - 0xcf, 0x04, 0x5c, 0x55, 0xb8, 0x85, 0x77, 0xfc, 0x68, 0xf3, 0xde, 0x8e, 0xe8, 0x34, 0x6e, 0x8c, - 0xc2, 0x4d, 0xfd, 0x23, 0xb8, 0x1d, 0x0d, 0x7b, 0x80, 0x19, 0xc2, 0x46, 0x85, 0xdb, 0x28, 0x1a, - 0xfa, 0x9f, 0x15, 0x58, 0xe5, 0xc3, 0x3f, 0x27, 0xc7, 0xd8, 0x19, 0x91, 0xe9, 0xe8, 0xca, 0xb6, - 0xeb, 0x3c, 0x59, 0x1b, 0x09, 0x5e, 0x39, 0x1a, 0xbc, 0xfd, 0x82, 0x5a, 0xa8, 0x17, 0xf7, 0x0b, - 0x6a, 0xb1, 0x5e, 0xda, 0x2f, 0xa8, 0xa5, 0x7a, 0x59, 0xef, 0xc2, 0x5a, 0x86, 0xb1, 0xd2, 0xc9, - 0x35, 0x00, 0x0b, 0x0f, 0x69, 0x37, 0xec, 0x69, 0x85, 0x49, 0xc4, 0x76, 0xac, 0x43, 0xd5, 0x21, - 0xa3, 0xb1, 0xd7, 0x2f, 0xee, 0x08, 0xe0, 0x22, 0x3e, 0x40, 0xff, 0x4e, 0x81, 0x8a, 0x8f, 0x34, - 0x29, 0x57, 0xcc, 0x0a, 0xa8, 0x8e, 0x6d, 0xd3, 0x6e, 0x80, 0x33, 0x65, 0xd6, 0xee, 0x08, 0xac, - 0x49, 0x40, 0xe2, 0x96, 0xc4, 0xb2, 0x02, 0xc7, 0xb2, 0x66, 0x02, 0xcb, 0x5a, 0xfc, 0x6f, 0x08, - 0xc2, 0x3c, 0x70, 0x2a, 0x86, 0xc0, 0x69, 0x0d, 0x40, 0x9c, 0x29, 0xae, 0xb5, 0xc4, 0xb5, 0x56, - 0x84, 0x84, 0xe9, 0x6d, 0x42, 0x65, 0x68, 0x99, 0x2c, 0x9f, 0xe8, 0x98, 0x87, 0xb0, 0x66, 0xa8, - 0x4c, 0x70, 0x60, 0xd2, 0xb1, 0xfe, 0x21, 0x54, 0x7c, 0x15, 0x3e, 0x6e, 0xbd, 0xe7, 0xe3, 0x96, - 0x12, 0xc2, 0xb5, 0xbc, 0xfe, 0x47, 0x05, 0xee, 0xec, 0x61, 0xea, 0x59, 0x47, 0xb0, 0xfb, 0xee, - 0x2f, 0x91, 0x55, 0xa8, 0x38, 0xb8, 0x3f, 0x77, 0x5c, 0x72, 0x2c, 0xc2, 0xa6, 0x1a, 0x81, 0x80, - 0x41, 0x53, 0xdc, 0xc0, 0x00, 0x9a, 0xb0, 0x10, 0xc5, 0xa1, 0x29, 0xb8, 0x38, 0xbc, 0x11, 0xfa, - 0x18, 0xea, 0xcf, 0x89, 0x4b, 0x77, 0x89, 0x75, 0xcd, 0x2e, 0xea, 0x8f, 0x61, 0x39, 0xa4, 0x29, - 0x38, 0x89, 0xcc, 0x57, 0x61, 0x69, 0xcd, 0x10, 0x0d, 0xfd, 0x5b, 0x05, 0x96, 0x77, 0xc9, 0x74, - 0x20, 0x71, 0xf4, 0x5a, 0x23, 0xaf, 0x81, 0x4a, 0x1d, 0x93, 0x58, 0xd8, 0x11, 0x54, 0x48, 0x35, - 0xfc, 0xb6, 0xfe, 0x53, 0x40, 0x61, 0x33, 0xa4, 0xcd, 0x8f, 0xa1, 0x24, 0x52, 0x4e, 0xda, 0x90, - 0x82, 0xfc, 0x72, 0x80, 0x8e, 0xe1, 0x1e, 0xf3, 0xd9, 0xbb, 0x43, 0x16, 0x1d, 0x32, 0xb8, 0xbc, - 0x37, 0xfe, 0xdd, 0x9e, 0x97, 0x47, 0x51, 0xdf, 0x83, 0x46, 0x52, 0xcd, 0xdb, 0x5c, 0x54, 0x14, - 0x9a, 0x91, 0x85, 0x0c, 0x3c, 0x7c, 0x69, 0x4e, 0xf0, 0xe5, 0x6d, 0x6e, 0xb2, 0x5c, 0x1e, 0x76, - 0xa7, 0xe6, 0x04, 0xbb, 0xdc, 0x72, 0xbe, 0x05, 0x7c, 0x71, 0x57, 0xff, 0x87, 0x02, 0xab, 0xe9, - 0x6a, 0xa5, 0x0f, 0x06, 0x54, 0xe5, 0xb1, 0x77, 0xf0, 0x50, 0xcc, 0xaf, 0x6e, 0x7f, 0xdf, 0x53, - 0x7c, 0xda, 0xd4, 0x96, 0xe8, 0xd8, 0x65, 0x84, 0x71, 0x68, 0x48, 0xf0, 0x30, 0xf0, 0xd0, 0xd5, - 0x8e, 0xa0, 0x16, 0xee, 0xbb, 0xc0, 0xae, 0x72, 0xe4, 0x93, 0xce, 0xc8, 0x74, 0x2a, 0x4b, 0x5f, - 0xf6, 0x0b, 0xaa, 0x52, 0xcf, 0xe9, 0xbf, 0xcd, 0xc1, 0x1d, 0x96, 0x38, 0x4f, 0x2d, 0xeb, 0x9d, - 0xdc, 0xf8, 0x91, 0xab, 0x23, 0x1f, 0xbb, 0x77, 0x19, 0xf1, 0x7b, 0x45, 0x66, 0x1e, 0xc9, 0x63, - 0xdf, 0xe8, 0xc7, 0x50, 0xb4, 0x9d, 0x01, 0x76, 0x38, 0xb8, 0x2e, 0x6d, 0x3f, 0xf0, 0x2c, 0x48, - 0x35, 0xba, 0xd5, 0x61, 0x43, 0x0d, 0x31, 0x43, 0x7f, 0x04, 0x45, 0xde, 0x66, 0xc0, 0xf9, 0xb2, - 0xf3, 0x72, 0x47, 0x42, 0x68, 0xe7, 0xa0, 0x23, 0x48, 0xe0, 0xe7, 0x4f, 0x8f, 0x76, 0xea, 0x39, - 0x06, 0x4f, 0xf1, 0xc5, 0xde, 0x26, 0x21, 0xff, 0x53, 0x08, 0x1f, 0xc1, 0x6b, 0x0e, 0xa3, 0xcf, - 0xda, 0x45, 0x08, 0x25, 0x6b, 0xbf, 0x0b, 0x25, 0x7b, 0x38, 0x74, 0x31, 0x95, 0x11, 0x94, 0xad, - 0x00, 0xba, 0x8a, 0x21, 0xe8, 0x62, 0xa3, 0x87, 0xb6, 0x65, 0xd9, 0x6f, 0xf8, 0xed, 0xa4, 0x1a, - 0xb2, 0xc5, 0xae, 0x5b, 0x16, 0xf9, 0xee, 0x04, 0x3b, 0x23, 0xec, 0x4a, 0x16, 0x04, 0x4c, 0xf4, - 0x82, 0x4b, 0x18, 0x19, 0x1a, 0x10, 0xd7, 0xec, 0x59, 0xb8, 0xfb, 0xc6, 0xb4, 0x5e, 0x79, 0x64, - 0x48, 0xca, 0xbe, 0x30, 0xad, 0x57, 0x01, 0xb1, 0xab, 0x5c, 0x9c, 0xd8, 0xc1, 0xb9, 0x89, 0x9d, - 0xe4, 0x69, 0xd5, 0x6c, 0x9e, 0x56, 0x4b, 0xf2, 0xb4, 0xbb, 0x50, 0x32, 0xe7, 0x74, 0x6c, 0x3b, - 0x8d, 0x1b, 0x3c, 0xa8, 0xb2, 0x85, 0x3e, 0xf1, 0x12, 0x6d, 0x89, 0x27, 0xda, 0x46, 0x38, 0xd1, - 0x4e, 0xc9, 0xb2, 0x14, 0xde, 0x77, 0xf3, 0xfc, 0xbc, 0x2f, 0x82, 0xe9, 0xf5, 0x18, 0xa6, 0x37, - 0x4f, 0xc9, 0x5f, 0xbd, 0x0d, 0xb7, 0x22, 0x96, 0xbd, 0x4d, 0xca, 0x4e, 0xbd, 0x37, 0xc3, 0x73, - 0x73, 0x3a, 0x9a, 0x9b, 0xa3, 0xeb, 0xbe, 0x57, 0xff, 0xed, 0x3f, 0xd7, 0x43, 0x0a, 0xa5, 0xe1, - 0xbb, 0x50, 0xb1, 0x3c, 0xa1, 0x34, 0x7d, 0xd3, 0x53, 0x98, 0x31, 0xa7, 0xe5, 0x49, 0x8c, 0x60, - 0xaa, 0xf6, 0x1b, 0x50, 0x3d, 0x31, 0xc3, 0x13, 0x8e, 0x7c, 0x82, 0x0a, 0xf2, 0x6f, 0x76, 0x16, - 0x78, 0xd1, 0x84, 0x1b, 0x97, 0x33, 0x44, 0x43, 0xd0, 0x6c, 0xcb, 0x76, 0xe4, 0x73, 0x5e, 0x34, - 0x18, 0x87, 0x1b, 0x12, 0x0b, 0x4b, 0xb4, 0x62, 0x67, 0xea, 0x86, 0x51, 0x61, 0x12, 0x01, 0x57, - 0xb7, 0xa1, 0xd8, 0x5b, 0x50, 0xec, 0x72, 0x68, 0x2a, 0x18, 0xa2, 0xa1, 0xff, 0x1a, 0x6e, 0x1a, - 0xe6, 0x9b, 0xb6, 0x75, 0x25, 0x97, 0xd1, 0x05, 0x89, 0x98, 0xfe, 0x01, 0xd4, 0x03, 0xe5, 0x32, - 0xb2, 0xde, 0x33, 0x59, 0x09, 0x3d, 0x93, 0xff, 0xab, 0x40, 0xe3, 0xb9, 0xe9, 0x5d, 0x46, 0xbb, - 0xb6, 0xc3, 0x78, 0xe7, 0xbb, 0xe7, 0x8d, 0x8f, 0xa1, 0x6e, 0x11, 0x8a, 0x1d, 0xd3, 0xe2, 0x44, - 0xd8, 0x9d, 0xe1, 0xbe, 0xa4, 0x8f, 0x37, 0xa5, 0xfc, 0x40, 0x8a, 0x53, 0x8e, 0x59, 0xf1, 0x02, - 0xcf, 0xab, 0x5d, 0x58, 0x49, 0x71, 0xf7, 0xe2, 0x2c, 0xe9, 0x4f, 0x39, 0x58, 0x63, 0x97, 0x78, - 0xb0, 0x98, 0xbb, 0x6b, 0x3b, 0x8c, 0xac, 0x5e, 0x7d, 0xf0, 0x2a, 0x17, 0xa9, 0xdc, 0xa4, 0xdc, - 0x01, 0xc5, 0xc8, 0x1d, 0xf0, 0x71, 0x4a, 0xa8, 0x39, 0xee, 0xb7, 0x73, 0x0d, 0xe5, 0x3c, 0xe1, - 0x2e, 0x5f, 0x20, 0xdc, 0xff, 0x52, 0xe0, 0x7e, 0x56, 0x98, 0x64, 0xd0, 0x5f, 0xc6, 0x81, 0xea, - 0x87, 0x61, 0x92, 0x94, 0x3d, 0x31, 0xa0, 0x49, 0x5c, 0xea, 0x2d, 0xa2, 0x61, 0xb8, 0x11, 0xe9, - 0x09, 0xed, 0x6a, 0xee, 0x2c, 0x96, 0xb4, 0x06, 0xc0, 0x62, 0xd2, 0x15, 0xa7, 0xb9, 0xc0, 0x63, - 0x5c, 0x61, 0x92, 0x36, 0x13, 0x08, 0xa6, 0xb4, 0x5f, 0x50, 0xf3, 0xf5, 0x82, 0xfe, 0x6d, 0xce, - 0x83, 0x30, 0xb7, 0xbd, 0x78, 0x81, 0x5d, 0x97, 0xc1, 0xcf, 0xb5, 0x9e, 0x9b, 0x60, 0x43, 0xf3, - 0xf1, 0x4b, 0x3d, 0x65, 0xfb, 0xd3, 0x6a, 0x1d, 0xb7, 0xa1, 0xf8, 0x7a, 0x8e, 0x9d, 0x85, 0x7c, - 0x85, 0x8a, 0xc6, 0x25, 0x77, 0x78, 0xcf, 0xab, 0x73, 0x86, 0xc3, 0xf0, 0x36, 0x77, 0x90, 0x0d, - 0xeb, 0xbb, 0xc4, 0xa2, 0xd8, 0x39, 0x1c, 0x9b, 0xee, 0x17, 0x84, 0x8e, 0x0f, 0xc9, 0x68, 0x6a, - 0xd2, 0xb9, 0x83, 0xaf, 0xa6, 0x98, 0xe1, 0x8e, 0x4d, 0x8f, 0xc6, 0xf3, 0x6f, 0xfd, 0x13, 0xd8, - 0xc8, 0x56, 0x18, 0x40, 0x26, 0x9f, 0xa7, 0x84, 0xe6, 0x1d, 0xc3, 0xda, 0xce, 0x09, 0x75, 0xcc, - 0xbe, 0x74, 0xc1, 0x9f, 0x76, 0x25, 0x4f, 0x0e, 0xf9, 0x68, 0xf0, 0x0b, 0x14, 0xaa, 0x10, 0x3c, - 0x1b, 0xe8, 0x5d, 0xb8, 0x9f, 0xa5, 0x57, 0x5a, 0xbb, 0x0a, 0x15, 0xd7, 0x13, 0x4a, 0x94, 0x0f, - 0x04, 0x9c, 0xce, 0x91, 0xd1, 0x14, 0x0f, 0xba, 0x14, 0x9f, 0x50, 0x99, 0x5e, 0x20, 0x44, 0x47, - 0xf8, 0x84, 0xea, 0x73, 0xd0, 0xf6, 0x70, 0x7c, 0xf1, 0x2b, 0x08, 0x7e, 0x50, 0x01, 0x21, 0x03, - 0x57, 0xbe, 0x01, 0x2b, 0x9e, 0x5b, 0xae, 0xbe, 0x80, 0x66, 0xaa, 0x5a, 0xe9, 0x54, 0x24, 0x26, - 0x4a, 0x34, 0x26, 0x51, 0x8f, 0x73, 0x67, 0x78, 0x9c, 0x4f, 0x78, 0xec, 0x42, 0xc3, 0x57, 0x2d, - 0x93, 0xf7, 0xfa, 0xfd, 0x35, 0x60, 0x25, 0x45, 0xe9, 0x79, 0xbc, 0x6d, 0x40, 0x79, 0x22, 0x26, - 0x78, 0x6f, 0x38, 0xd9, 0xdc, 0xfe, 0xeb, 0x4d, 0x0f, 0xf5, 0x0e, 0xb1, 0x73, 0x4c, 0xfa, 0x18, - 0xfd, 0x12, 0xea, 0xf1, 0xdf, 0x1f, 0xd0, 0x7a, 0x94, 0x47, 0x25, 0x7e, 0x2a, 0xd1, 0x36, 0xb2, - 0x07, 0x08, 0xfb, 0xf4, 0xd2, 0x77, 0xbf, 0xdf, 0xcc, 0xa9, 0x39, 0xb4, 0x1f, 0x2e, 0xb4, 0x35, - 0x52, 0xaa, 0xfc, 0x62, 0xc1, 0x95, 0xcc, 0xfa, 0xbf, 0xb7, 0xd2, 0x13, 0x05, 0x7d, 0x09, 0x4b, - 0xd1, 0x8a, 0x35, 0x5a, 0x8b, 0xda, 0x11, 0x2b, 0xc5, 0x6b, 0xf7, 0xb3, 0xba, 0x13, 0x4b, 0xff, - 0x82, 0xbd, 0x98, 0x83, 0x6a, 0x2a, 0x6a, 0x06, 0x33, 0x13, 0xa5, 0x6d, 0x6d, 0x35, 0xbd, 0x33, - 0xe6, 0xb9, 0x05, 0x77, 0x52, 0x8b, 0x98, 0xe8, 0x61, 0x64, 0x7a, 0x46, 0x41, 0x56, 0x7b, 0x74, - 0xc6, 0xa8, 0x98, 0xb6, 0x2f, 0x61, 0x29, 0x5a, 0x32, 0x0b, 0x62, 0x93, 0x5a, 0xeb, 0x0b, 0x62, - 0x93, 0x5e, 0x69, 0x0b, 0xc5, 0x66, 0x1f, 0x2a, 0x7e, 0x71, 0x2b, 0xd8, 0xc2, 0x78, 0x65, 0x2d, - 0xd8, 0xc2, 0x44, 0x25, 0x2c, 0xb4, 0xd6, 0xcf, 0x01, 0x82, 0x47, 0x08, 0x5a, 0x49, 0x3e, 0x99, - 0xbc, 0xd5, 0xb4, 0xb4, 0xae, 0x98, 0xcf, 0x2f, 0xa1, 0x1a, 0xfa, 0xc5, 0x10, 0x69, 0xd1, 0xdd, - 0x0e, 0xff, 0x64, 0xa9, 0x35, 0x53, 0xfb, 0x92, 0x31, 0x8c, 0xbe, 0xeb, 0x83, 0x18, 0xa6, 0x16, - 0x0f, 0x82, 0x18, 0xa6, 0x97, 0x03, 0x42, 0x7e, 0x1f, 0x40, 0x35, 0xf4, 0xf8, 0x42, 0x5a, 0xf6, - 0x5b, 0x31, 0x30, 0x35, 0xe5, 0xb5, 0x16, 0x5a, 0xf1, 0x2b, 0xb8, 0x19, 0x7b, 0xe5, 0xa0, 0xfb, - 0x99, 0xcf, 0x1f, 0xb1, 0xf2, 0xfa, 0x19, 0xcf, 0x23, 0x3f, 0x10, 0x7b, 0xa0, 0x7a, 0x8f, 0x02, - 0x74, 0xcf, 0x87, 0xb2, 0xe8, 0x1b, 0x45, 0x6b, 0x24, 0x3b, 0x12, 0x46, 0xfe, 0x0a, 0x96, 0x13, - 0x2c, 0x1a, 0xf9, 0xe0, 0x91, 0xf5, 0x9e, 0xd0, 0xde, 0x3f, 0x65, 0x44, 0xcc, 0xd4, 0xd7, 0x70, - 0x37, 0x9d, 0xfe, 0xa1, 0x47, 0x67, 0xd1, 0x43, 0xa1, 0xeb, 0x83, 0xf3, 0xb1, 0xc8, 0x90, 0x53, - 0x5d, 0x0f, 0x31, 0x03, 0x26, 0x13, 0x47, 0xcc, 0x04, 0xd5, 0x8b, 0x23, 0x66, 0x92, 0x04, 0x45, - 0x15, 0xc4, 0x4b, 0x9e, 0x81, 0x82, 0x8c, 0x9a, 0x6b, 0xa0, 0x20, 0xab, 0x5a, 0x1a, 0x52, 0xf0, - 0x0a, 0x6e, 0xa7, 0x15, 0x16, 0xd1, 0x83, 0xd3, 0xcb, 0x8e, 0x42, 0xd1, 0xc3, 0xf3, 0xd4, 0x26, - 0x43, 0xca, 0x16, 0xd0, 0xc8, 0xa2, 0x4f, 0xe8, 0x7b, 0x41, 0xae, 0x9f, 0xca, 0xe8, 0xb4, 0xcd, - 0xb3, 0x07, 0x46, 0x15, 0x6f, 0x2a, 0x4f, 0x14, 0x34, 0x86, 0x5b, 0x29, 0x8c, 0x01, 0xe9, 0x21, - 0xe8, 0xcb, 0x60, 0x31, 0xda, 0x83, 0x53, 0xc7, 0x24, 0x9c, 0xec, 0xc1, 0x72, 0xe2, 0xae, 0x0e, - 0x12, 0x3d, 0x8b, 0x3b, 0x04, 0x89, 0x9e, 0x79, 0xd1, 0x07, 0x3a, 0xda, 0x4f, 0xbe, 0x62, 0xa3, - 0x2d, 0xb3, 0xd7, 0xea, 0xdb, 0x93, 0x2d, 0xf1, 0xf9, 0xb1, 0xed, 0x8c, 0xb6, 0xc4, 0x1a, 0xe2, - 0xbf, 0x38, 0xb6, 0x46, 0xb6, 0x6c, 0xcf, 0x7a, 0xbd, 0x12, 0x17, 0xfd, 0xe0, 0xff, 0x01, 0x00, - 0x00, 0xff, 0xff, 0x34, 0xf1, 0x98, 0x5e, 0x18, 0x22, 0x00, 0x00, +var File_commit_proto protoreflect.FileDescriptor + +var file_commit_proto_rawDesc = []byte{ + 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 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, + 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x6a, 0x0a, 0x12, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x53, 0x74, 0x61, 0x74, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, + 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, + 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, + 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x63, 0x0a, + 0x13, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x03, 0x6f, 0x69, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x61, 0x64, 0x64, 0x69, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x22, 0x8f, 0x01, 0x0a, 0x17, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x73, 0x41, + 0x6e, 0x63, 0x65, 0x73, 0x74, 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, 0x1f, 0x0a, 0x0b, 0x61, 0x6e, 0x63, 0x65, + 0x73, 0x74, 0x6f, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x61, + 0x6e, 0x63, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x63, 0x68, 0x69, + 0x6c, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x68, 0x69, + 0x6c, 0x64, 0x49, 0x64, 0x22, 0x30, 0x0a, 0x18, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x73, + 0x41, 0x6e, 0x63, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xad, 0x01, 0x0a, 0x10, 0x54, 0x72, 0x65, 0x65, 0x45, + 0x6e, 0x74, 0x72, 0x79, 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, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, + 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, + 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x6d, + 0x61, 0x78, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x6d, + 0x61, 0x78, 0x53, 0x69, 0x7a, 0x65, 0x22, 0xd2, 0x01, 0x0a, 0x11, 0x54, 0x72, 0x65, 0x65, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x38, 0x0a, 0x04, + 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x24, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x54, 0x72, 0x65, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, + 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x69, 0x64, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x03, 0x6f, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x12, 0x0a, 0x04, + 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x6d, 0x6f, 0x64, 0x65, + 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, + 0x64, 0x61, 0x74, 0x61, 0x22, 0x35, 0x0a, 0x0a, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x54, 0x79, + 0x70, 0x65, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x4f, 0x4d, 0x4d, 0x49, 0x54, 0x10, 0x00, 0x12, 0x08, + 0x0a, 0x04, 0x42, 0x4c, 0x4f, 0x42, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x54, 0x52, 0x45, 0x45, + 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x41, 0x47, 0x10, 0x03, 0x22, 0xbf, 0x01, 0x0a, 0x15, + 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x42, 0x65, 0x74, 0x77, 0x65, 0x65, 0x6e, 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, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x66, + 0x72, 0x6f, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x74, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x02, 0x74, 0x6f, 0x12, 0x48, 0x0a, 0x11, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, + 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x52, 0x10, 0x70, 0x61, 0x67, + 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0x45, 0x0a, + 0x16, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x42, 0x65, 0x74, 0x77, 0x65, 0x65, 0x6e, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x69, + 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, + 0x79, 0x2e, 0x47, 0x69, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x07, 0x63, 0x6f, 0x6d, + 0x6d, 0x69, 0x74, 0x73, 0x22, 0xf5, 0x02, 0x0a, 0x13, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x43, 0x6f, + 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, + 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, + 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, + 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, + 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, + 0x6f, 0x6e, 0x12, 0x30, 0x0a, 0x05, 0x61, 0x66, 0x74, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x05, 0x61, + 0x66, 0x74, 0x65, 0x72, 0x12, 0x32, 0x0a, 0x06, 0x62, 0x65, 0x66, 0x6f, 0x72, 0x65, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, + 0x52, 0x06, 0x62, 0x65, 0x66, 0x6f, 0x72, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x1b, 0x0a, 0x09, + 0x6d, 0x61, 0x78, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x08, 0x6d, 0x61, 0x78, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x6c, 0x6c, + 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x61, 0x6c, 0x6c, 0x12, 0x21, 0x0a, 0x0c, 0x66, + 0x69, 0x72, 0x73, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x0b, 0x66, 0x69, 0x72, 0x73, 0x74, 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x3c, + 0x0a, 0x0e, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0d, 0x67, + 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x2c, 0x0a, 0x14, + 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0xab, 0x01, 0x0a, 0x1c, 0x43, + 0x6f, 0x75, 0x6e, 0x74, 0x44, 0x69, 0x76, 0x65, 0x72, 0x67, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6d, + 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, + 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, + 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, + 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x74, 0x6f, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x74, 0x6f, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x78, + 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x6d, 0x61, + 0x78, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x4a, 0x04, 0x08, 0x04, 0x10, 0x05, 0x4a, 0x04, 0x08, 0x05, + 0x10, 0x06, 0x4a, 0x04, 0x08, 0x06, 0x10, 0x07, 0x22, 0x5f, 0x0a, 0x1d, 0x43, 0x6f, 0x75, 0x6e, + 0x74, 0x44, 0x69, 0x76, 0x65, 0x72, 0x67, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x6c, 0x65, 0x66, + 0x74, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x6c, + 0x65, 0x66, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x69, 0x67, 0x68, + 0x74, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x72, + 0x69, 0x67, 0x68, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0xfa, 0x01, 0x0a, 0x09, 0x54, 0x72, + 0x65, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6f, 0x69, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x6f, 0x6f, + 0x74, 0x5f, 0x6f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x6f, 0x6f, + 0x74, 0x4f, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x2f, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x54, 0x72, 0x65, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x54, + 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x6f, 0x64, + 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x12, 0x1d, 0x0a, + 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x6f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x09, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x4f, 0x69, 0x64, 0x12, 0x1b, 0x0a, 0x09, + 0x66, 0x6c, 0x61, 0x74, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x08, 0x66, 0x6c, 0x61, 0x74, 0x50, 0x61, 0x74, 0x68, 0x22, 0x2b, 0x0a, 0x09, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x08, 0x0a, 0x04, 0x42, 0x4c, 0x4f, 0x42, 0x10, 0x00, + 0x12, 0x08, 0x0a, 0x04, 0x54, 0x52, 0x45, 0x45, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x4f, + 0x4d, 0x4d, 0x49, 0x54, 0x10, 0x03, 0x22, 0x9f, 0x01, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x54, 0x72, + 0x65, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, + 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, + 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, + 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x72, 0x65, + 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, + 0x63, 0x75, 0x72, 0x73, 0x69, 0x76, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x72, + 0x65, 0x63, 0x75, 0x72, 0x73, 0x69, 0x76, 0x65, 0x22, 0x45, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x54, + 0x72, 0x65, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x07, 0x65, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x54, 0x72, 0x65, + 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x65, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x22, + 0x68, 0x0a, 0x10, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, + 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, + 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1a, 0x0a, + 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x29, 0x0a, 0x11, 0x4c, 0x69, 0x73, + 0x74, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, + 0x0a, 0x05, 0x70, 0x61, 0x74, 0x68, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x05, 0x70, + 0x61, 0x74, 0x68, 0x73, 0x22, 0x85, 0x01, 0x0a, 0x11, 0x46, 0x69, 0x6e, 0x64, 0x43, 0x6f, 0x6d, + 0x6d, 0x69, 0x74, 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, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, + 0x12, 0x1a, 0x0a, 0x08, 0x74, 0x72, 0x61, 0x69, 0x6c, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x08, 0x74, 0x72, 0x61, 0x69, 0x6c, 0x65, 0x72, 0x73, 0x22, 0x3f, 0x0a, 0x12, + 0x46, 0x69, 0x6e, 0x64, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x29, 0x0a, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x69, 0x74, 0x43, + 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x22, 0x65, 0x0a, + 0x17, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x42, 0x79, 0x4f, 0x69, + 0x64, 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, 0x10, 0x0a, 0x03, 0x6f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, + 0x03, 0x6f, 0x69, 0x64, 0x22, 0x47, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, + 0x69, 0x74, 0x73, 0x42, 0x79, 0x4f, 0x69, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x2b, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x69, 0x74, 0x43, 0x6f, + 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x22, 0x74, 0x0a, + 0x1b, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x42, 0x79, 0x52, 0x65, + 0x66, 0x4e, 0x61, 0x6d, 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, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x66, 0x5f, 0x6e, 0x61, + 0x6d, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x08, 0x72, 0x65, 0x66, 0x4e, 0x61, + 0x6d, 0x65, 0x73, 0x22, 0xce, 0x01, 0x0a, 0x1c, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, + 0x69, 0x74, 0x73, 0x42, 0x79, 0x52, 0x65, 0x66, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x52, 0x0a, 0x0b, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x72, + 0x65, 0x66, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x67, 0x69, 0x74, 0x61, + 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x42, 0x79, + 0x52, 0x65, 0x66, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, + 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x52, 0x65, 0x66, 0x52, 0x0a, 0x63, 0x6f, + 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x66, 0x73, 0x1a, 0x54, 0x0a, 0x0c, 0x43, 0x6f, 0x6d, 0x6d, + 0x69, 0x74, 0x46, 0x6f, 0x72, 0x52, 0x65, 0x66, 0x12, 0x29, 0x0a, 0x06, 0x63, 0x6f, 0x6d, 0x6d, + 0x69, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, + 0x79, 0x2e, 0x47, 0x69, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x06, 0x63, 0x6f, 0x6d, + 0x6d, 0x69, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x65, 0x66, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x72, 0x65, 0x66, 0x4e, 0x61, 0x6d, 0x65, 0x4a, 0x04, + 0x08, 0x01, 0x10, 0x02, 0x22, 0x80, 0x02, 0x0a, 0x15, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, + 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, + 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, + 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, + 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, + 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x72, 0x65, 0x76, 0x69, + 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x78, 0x5f, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x43, 0x6f, 0x75, 0x6e, + 0x74, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x6b, 0x69, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x04, 0x73, 0x6b, 0x69, 0x70, 0x12, 0x39, 0x0a, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, + 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x52, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, + 0x22, 0x25, 0x0a, 0x05, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, 0x4e, + 0x45, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x54, 0x4f, 0x50, 0x4f, 0x10, 0x01, 0x12, 0x08, 0x0a, + 0x04, 0x44, 0x41, 0x54, 0x45, 0x10, 0x02, 0x22, 0x45, 0x0a, 0x16, 0x46, 0x69, 0x6e, 0x64, 0x41, + 0x6c, 0x6c, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x2b, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x69, 0x74, 0x43, + 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x22, 0xec, + 0x04, 0x0a, 0x12, 0x46, 0x69, 0x6e, 0x64, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, + 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, + 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, + 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, + 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x6c, + 0x69, 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, + 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x61, 0x74, + 0x68, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x05, 0x70, 0x61, 0x74, 0x68, 0x73, 0x12, + 0x16, 0x0a, 0x06, 0x66, 0x6f, 0x6c, 0x6c, 0x6f, 0x77, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x06, 0x66, 0x6f, 0x6c, 0x6c, 0x6f, 0x77, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x6b, 0x69, 0x70, 0x5f, + 0x6d, 0x65, 0x72, 0x67, 0x65, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x73, 0x6b, + 0x69, 0x70, 0x4d, 0x65, 0x72, 0x67, 0x65, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x61, + 0x62, 0x6c, 0x65, 0x5f, 0x77, 0x61, 0x6c, 0x6b, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, + 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x57, 0x61, 0x6c, 0x6b, 0x12, 0x30, 0x0a, 0x05, 0x61, + 0x66, 0x74, 0x65, 0x72, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, + 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x05, 0x61, 0x66, 0x74, 0x65, 0x72, 0x12, 0x32, 0x0a, + 0x06, 0x62, 0x65, 0x66, 0x6f, 0x72, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, + 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x06, 0x62, 0x65, 0x66, 0x6f, 0x72, + 0x65, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x6c, 0x6c, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, + 0x61, 0x6c, 0x6c, 0x12, 0x21, 0x0a, 0x0c, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x70, 0x61, 0x72, + 0x65, 0x6e, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x66, 0x69, 0x72, 0x73, 0x74, + 0x50, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, + 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x12, 0x36, + 0x0a, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x20, 0x2e, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x43, 0x6f, 0x6d, 0x6d, 0x69, + 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x52, + 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x3c, 0x0a, 0x0e, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, + 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, + 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4f, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0d, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4f, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x74, 0x72, 0x61, 0x69, 0x6c, 0x65, 0x72, 0x73, + 0x18, 0x10, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x74, 0x72, 0x61, 0x69, 0x6c, 0x65, 0x72, 0x73, + 0x22, 0x1b, 0x0a, 0x05, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, 0x4e, + 0x45, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x54, 0x4f, 0x50, 0x4f, 0x10, 0x01, 0x22, 0x42, 0x0a, + 0x13, 0x46, 0x69, 0x6e, 0x64, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, + 0x69, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, + 0x73, 0x22, 0x6e, 0x0a, 0x16, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x4c, 0x61, 0x6e, 0x67, 0x75, + 0x61, 0x67, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, + 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, + 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, + 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, + 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, + 0x6e, 0x22, 0xe2, 0x01, 0x0a, 0x17, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x4c, 0x61, 0x6e, 0x67, + 0x75, 0x61, 0x67, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x46, 0x0a, + 0x09, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x28, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, + 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x2e, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x52, 0x09, 0x6c, 0x61, 0x6e, 0x67, + 0x75, 0x61, 0x67, 0x65, 0x73, 0x1a, 0x7f, 0x0a, 0x08, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, + 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x02, 0x52, 0x05, 0x73, 0x68, 0x61, 0x72, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, + 0x6f, 0x6c, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x6f, 0x6c, 0x6f, + 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, + 0x12, 0x14, 0x0a, 0x05, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x05, 0x62, 0x79, 0x74, 0x65, 0x73, 0x22, 0x7b, 0x0a, 0x0f, 0x52, 0x61, 0x77, 0x42, 0x6c, 0x61, + 0x6d, 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, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, + 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x70, + 0x61, 0x74, 0x68, 0x22, 0x26, 0x0a, 0x10, 0x52, 0x61, 0x77, 0x42, 0x6c, 0x61, 0x6d, 0x65, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0xed, 0x01, 0x0a, 0x18, + 0x4c, 0x61, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x50, 0x61, 0x74, + 0x68, 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, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x12, + 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x70, 0x61, + 0x74, 0x68, 0x12, 0x29, 0x0a, 0x10, 0x6c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x5f, 0x70, 0x61, + 0x74, 0x68, 0x73, 0x70, 0x65, 0x63, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x6c, 0x69, + 0x74, 0x65, 0x72, 0x61, 0x6c, 0x50, 0x61, 0x74, 0x68, 0x73, 0x70, 0x65, 0x63, 0x12, 0x3c, 0x0a, + 0x0e, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, + 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0d, 0x67, 0x6c, + 0x6f, 0x62, 0x61, 0x6c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x46, 0x0a, 0x19, 0x4c, + 0x61, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x50, 0x61, 0x74, 0x68, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x29, 0x0a, 0x06, 0x63, 0x6f, 0x6d, 0x6d, + 0x69, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, + 0x79, 0x2e, 0x47, 0x69, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x06, 0x63, 0x6f, 0x6d, + 0x6d, 0x69, 0x74, 0x22, 0xa4, 0x02, 0x0a, 0x1d, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x61, 0x73, 0x74, + 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x46, 0x6f, 0x72, 0x54, 0x72, 0x65, 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, + 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x70, + 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, + 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, + 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x2d, 0x0a, + 0x10, 0x6c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x73, 0x70, 0x65, + 0x63, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0f, 0x6c, 0x69, 0x74, + 0x65, 0x72, 0x61, 0x6c, 0x50, 0x61, 0x74, 0x68, 0x73, 0x70, 0x65, 0x63, 0x12, 0x3c, 0x0a, 0x0e, + 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x07, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x6c, + 0x6f, 0x62, 0x61, 0x6c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0d, 0x67, 0x6c, 0x6f, + 0x62, 0x61, 0x6c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xd7, 0x01, 0x0a, 0x1e, 0x4c, + 0x69, 0x73, 0x74, 0x4c, 0x61, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x46, 0x6f, + 0x72, 0x54, 0x72, 0x65, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4e, 0x0a, + 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, + 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x61, 0x73, 0x74, + 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x46, 0x6f, 0x72, 0x54, 0x72, 0x65, 0x65, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x46, 0x6f, 0x72, + 0x54, 0x72, 0x65, 0x65, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x1a, 0x65, 0x0a, + 0x0d, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x54, 0x72, 0x65, 0x65, 0x12, 0x29, + 0x0a, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, + 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x69, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, + 0x74, 0x52, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x74, + 0x68, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x70, + 0x61, 0x74, 0x68, 0x42, 0x79, 0x74, 0x65, 0x73, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x4a, 0x04, + 0x08, 0x03, 0x10, 0x04, 0x22, 0x85, 0x02, 0x0a, 0x17, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, + 0x42, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 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, 0x1a, 0x0a, 0x08, 0x72, 0x65, + 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x72, 0x65, + 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x14, + 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c, + 0x69, 0x6d, 0x69, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x14, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, + 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, 0x3c, + 0x0a, 0x0e, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0d, 0x67, + 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x47, 0x0a, 0x18, + 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x42, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, + 0x69, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x69, 0x74, 0x61, + 0x6c, 0x79, 0x2e, 0x47, 0x69, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x07, 0x63, 0x6f, + 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x22, 0x6f, 0x0a, 0x1f, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x53, + 0x68, 0x61, 0x73, 0x57, 0x69, 0x74, 0x68, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, + 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, + 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, + 0x72, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x68, 0x61, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, + 0x52, 0x04, 0x73, 0x68, 0x61, 0x73, 0x22, 0x36, 0x0a, 0x20, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, + 0x53, 0x68, 0x61, 0x73, 0x57, 0x69, 0x74, 0x68, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, + 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x68, + 0x61, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x04, 0x73, 0x68, 0x61, 0x73, 0x22, 0x76, + 0x0a, 0x1d, 0x45, 0x78, 0x74, 0x72, 0x61, 0x63, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x53, + 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 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, 0x1b, 0x0a, 0x09, 0x63, 0x6f, 0x6d, + 0x6d, 0x69, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6f, + 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x64, 0x22, 0x5f, 0x0a, 0x1e, 0x45, 0x78, 0x74, 0x72, 0x61, 0x63, + 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, + 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x69, 0x67, + 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, + 0x5f, 0x74, 0x65, 0x78, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x73, 0x69, 0x67, + 0x6e, 0x65, 0x64, 0x54, 0x65, 0x78, 0x74, 0x22, 0x75, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x43, 0x6f, + 0x6d, 0x6d, 0x69, 0x74, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, + 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, + 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, + 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, + 0x1d, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, + 0x03, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x64, 0x73, 0x22, 0x79, + 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x53, 0x69, 0x67, 0x6e, 0x61, + 0x74, 0x75, 0x72, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1b, 0x0a, + 0x09, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x08, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, + 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x73, + 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x69, 0x67, 0x6e, + 0x65, 0x64, 0x5f, 0x74, 0x65, 0x78, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x73, + 0x69, 0x67, 0x6e, 0x65, 0x64, 0x54, 0x65, 0x78, 0x74, 0x22, 0x73, 0x0a, 0x18, 0x47, 0x65, 0x74, + 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, + 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, + 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, + 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, + 0x1d, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, + 0x03, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x64, 0x73, 0x22, 0x52, + 0x0a, 0x19, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, + 0x67, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x63, + 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, + 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, + 0x67, 0x65, 0x32, 0xb9, 0x0f, 0x0a, 0x0d, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x53, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x12, 0x5d, 0x0a, 0x10, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x73, + 0x41, 0x6e, 0x63, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x12, 0x1f, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, + 0x79, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x73, 0x41, 0x6e, 0x63, 0x65, 0x73, 0x74, + 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x67, 0x69, 0x74, 0x61, + 0x6c, 0x79, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x73, 0x41, 0x6e, 0x63, 0x65, 0x73, + 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, + 0x02, 0x08, 0x02, 0x12, 0x4a, 0x0a, 0x09, 0x54, 0x72, 0x65, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x12, 0x18, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x54, 0x72, 0x65, 0x65, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x54, 0x72, 0x65, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, + 0x59, 0x0a, 0x0e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x42, 0x65, 0x74, 0x77, 0x65, 0x65, + 0x6e, 0x12, 0x1d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, + 0x74, 0x73, 0x42, 0x65, 0x74, 0x77, 0x65, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x1e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, + 0x73, 0x42, 0x65, 0x74, 0x77, 0x65, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x51, 0x0a, 0x0c, 0x43, 0x6f, + 0x75, 0x6e, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x12, 0x1b, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, + 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x12, 0x6c, 0x0a, + 0x15, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x44, 0x69, 0x76, 0x65, 0x72, 0x67, 0x69, 0x6e, 0x67, 0x43, + 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x12, 0x24, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x44, 0x69, 0x76, 0x65, 0x72, 0x67, 0x69, 0x6e, 0x67, 0x43, 0x6f, + 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x44, 0x69, 0x76, 0x65, 0x72, + 0x67, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x12, 0x59, 0x0a, 0x0e, 0x47, + 0x65, 0x74, 0x54, 0x72, 0x65, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x12, 0x1d, 0x2e, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x72, 0x65, 0x65, 0x45, 0x6e, + 0x74, 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x72, 0x65, 0x65, 0x45, 0x6e, 0x74, + 0x72, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, + 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x4a, 0x0a, 0x09, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x69, + 0x6c, 0x65, 0x73, 0x12, 0x18, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x73, + 0x74, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, + 0x30, 0x01, 0x12, 0x4b, 0x0a, 0x0a, 0x46, 0x69, 0x6e, 0x64, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, + 0x12, 0x19, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x43, 0x6f, + 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x12, + 0x4e, 0x0a, 0x0b, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x1a, + 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x53, 0x74, + 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x12, + 0x59, 0x0a, 0x0e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, + 0x73, 0x12, 0x1d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, + 0x6c, 0x6c, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x1e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, + 0x6c, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x50, 0x0a, 0x0b, 0x46, 0x69, + 0x6e, 0x64, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x12, 0x1a, 0x2e, 0x67, 0x69, 0x74, 0x61, + 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, + 0x69, 0x6e, 0x64, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x5a, 0x0a, 0x0f, + 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x73, 0x12, + 0x1e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x4c, + 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x1f, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x4c, + 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x12, 0x47, 0x0a, 0x08, 0x52, 0x61, 0x77, 0x42, + 0x6c, 0x61, 0x6d, 0x65, 0x12, 0x17, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x61, + 0x77, 0x42, 0x6c, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x61, 0x77, 0x42, 0x6c, 0x61, 0x6d, 0x65, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, + 0x01, 0x12, 0x60, 0x0a, 0x11, 0x4c, 0x61, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x46, + 0x6f, 0x72, 0x50, 0x61, 0x74, 0x68, 0x12, 0x20, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x4c, 0x61, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x50, 0x61, 0x74, + 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, + 0x79, 0x2e, 0x4c, 0x61, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x46, 0x6f, 0x72, 0x50, + 0x61, 0x74, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, + 0x02, 0x08, 0x02, 0x12, 0x71, 0x0a, 0x16, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x61, 0x73, 0x74, 0x43, + 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x46, 0x6f, 0x72, 0x54, 0x72, 0x65, 0x65, 0x12, 0x25, 0x2e, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x61, 0x73, 0x74, 0x43, + 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x46, 0x6f, 0x72, 0x54, 0x72, 0x65, 0x65, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, + 0x73, 0x74, 0x4c, 0x61, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x46, 0x6f, 0x72, + 0x54, 0x72, 0x65, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, + 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x5f, 0x0a, 0x10, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, + 0x73, 0x42, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1f, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x42, 0x79, 0x4d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x42, 0x79, 0x4d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, + 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x5f, 0x0a, 0x10, 0x4c, 0x69, 0x73, 0x74, 0x43, + 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x42, 0x79, 0x4f, 0x69, 0x64, 0x12, 0x1f, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, + 0x42, 0x79, 0x4f, 0x69, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, + 0x73, 0x42, 0x79, 0x4f, 0x69, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, + 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x6b, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, + 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x42, 0x79, 0x52, 0x65, 0x66, 0x4e, 0x61, 0x6d, 0x65, + 0x12, 0x23, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, + 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x42, 0x79, 0x52, 0x65, 0x66, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, + 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x42, 0x79, 0x52, 0x65, 0x66, 0x4e, + 0x61, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, + 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x79, 0x0a, 0x18, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x53, + 0x68, 0x61, 0x73, 0x57, 0x69, 0x74, 0x68, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, + 0x73, 0x12, 0x27, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, + 0x72, 0x53, 0x68, 0x61, 0x73, 0x57, 0x69, 0x74, 0x68, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, + 0x72, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x53, 0x68, 0x61, 0x73, 0x57, 0x69, + 0x74, 0x68, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x28, 0x01, 0x30, 0x01, + 0x12, 0x68, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x53, 0x69, 0x67, + 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x22, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, + 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, + 0x75, 0x72, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x53, 0x69, + 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x62, 0x0a, 0x11, 0x47, 0x65, + 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x12, + 0x20, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6d, 0x6d, + 0x69, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x21, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, + 0x6d, 0x6d, 0x69, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x42, 0x30, + 0x5a, 0x2e, 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, 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_commit_proto_rawDescOnce sync.Once + file_commit_proto_rawDescData = file_commit_proto_rawDesc +) + +func file_commit_proto_rawDescGZIP() []byte { + file_commit_proto_rawDescOnce.Do(func() { + file_commit_proto_rawDescData = protoimpl.X.CompressGZIP(file_commit_proto_rawDescData) + }) + return file_commit_proto_rawDescData +} + +var file_commit_proto_enumTypes = make([]protoimpl.EnumInfo, 4) +var file_commit_proto_msgTypes = make([]protoimpl.MessageInfo, 48) +var file_commit_proto_goTypes = []interface{}{ + (TreeEntryResponse_ObjectType)(0), // 0: gitaly.TreeEntryResponse.ObjectType + (TreeEntry_EntryType)(0), // 1: gitaly.TreeEntry.EntryType + (FindAllCommitsRequest_Order)(0), // 2: gitaly.FindAllCommitsRequest.Order + (FindCommitsRequest_Order)(0), // 3: gitaly.FindCommitsRequest.Order + (*CommitStatsRequest)(nil), // 4: gitaly.CommitStatsRequest + (*CommitStatsResponse)(nil), // 5: gitaly.CommitStatsResponse + (*CommitIsAncestorRequest)(nil), // 6: gitaly.CommitIsAncestorRequest + (*CommitIsAncestorResponse)(nil), // 7: gitaly.CommitIsAncestorResponse + (*TreeEntryRequest)(nil), // 8: gitaly.TreeEntryRequest + (*TreeEntryResponse)(nil), // 9: gitaly.TreeEntryResponse + (*CommitsBetweenRequest)(nil), // 10: gitaly.CommitsBetweenRequest + (*CommitsBetweenResponse)(nil), // 11: gitaly.CommitsBetweenResponse + (*CountCommitsRequest)(nil), // 12: gitaly.CountCommitsRequest + (*CountCommitsResponse)(nil), // 13: gitaly.CountCommitsResponse + (*CountDivergingCommitsRequest)(nil), // 14: gitaly.CountDivergingCommitsRequest + (*CountDivergingCommitsResponse)(nil), // 15: gitaly.CountDivergingCommitsResponse + (*TreeEntry)(nil), // 16: gitaly.TreeEntry + (*GetTreeEntriesRequest)(nil), // 17: gitaly.GetTreeEntriesRequest + (*GetTreeEntriesResponse)(nil), // 18: gitaly.GetTreeEntriesResponse + (*ListFilesRequest)(nil), // 19: gitaly.ListFilesRequest + (*ListFilesResponse)(nil), // 20: gitaly.ListFilesResponse + (*FindCommitRequest)(nil), // 21: gitaly.FindCommitRequest + (*FindCommitResponse)(nil), // 22: gitaly.FindCommitResponse + (*ListCommitsByOidRequest)(nil), // 23: gitaly.ListCommitsByOidRequest + (*ListCommitsByOidResponse)(nil), // 24: gitaly.ListCommitsByOidResponse + (*ListCommitsByRefNameRequest)(nil), // 25: gitaly.ListCommitsByRefNameRequest + (*ListCommitsByRefNameResponse)(nil), // 26: gitaly.ListCommitsByRefNameResponse + (*FindAllCommitsRequest)(nil), // 27: gitaly.FindAllCommitsRequest + (*FindAllCommitsResponse)(nil), // 28: gitaly.FindAllCommitsResponse + (*FindCommitsRequest)(nil), // 29: gitaly.FindCommitsRequest + (*FindCommitsResponse)(nil), // 30: gitaly.FindCommitsResponse + (*CommitLanguagesRequest)(nil), // 31: gitaly.CommitLanguagesRequest + (*CommitLanguagesResponse)(nil), // 32: gitaly.CommitLanguagesResponse + (*RawBlameRequest)(nil), // 33: gitaly.RawBlameRequest + (*RawBlameResponse)(nil), // 34: gitaly.RawBlameResponse + (*LastCommitForPathRequest)(nil), // 35: gitaly.LastCommitForPathRequest + (*LastCommitForPathResponse)(nil), // 36: gitaly.LastCommitForPathResponse + (*ListLastCommitsForTreeRequest)(nil), // 37: gitaly.ListLastCommitsForTreeRequest + (*ListLastCommitsForTreeResponse)(nil), // 38: gitaly.ListLastCommitsForTreeResponse + (*CommitsByMessageRequest)(nil), // 39: gitaly.CommitsByMessageRequest + (*CommitsByMessageResponse)(nil), // 40: gitaly.CommitsByMessageResponse + (*FilterShasWithSignaturesRequest)(nil), // 41: gitaly.FilterShasWithSignaturesRequest + (*FilterShasWithSignaturesResponse)(nil), // 42: gitaly.FilterShasWithSignaturesResponse + (*ExtractCommitSignatureRequest)(nil), // 43: gitaly.ExtractCommitSignatureRequest + (*ExtractCommitSignatureResponse)(nil), // 44: gitaly.ExtractCommitSignatureResponse + (*GetCommitSignaturesRequest)(nil), // 45: gitaly.GetCommitSignaturesRequest + (*GetCommitSignaturesResponse)(nil), // 46: gitaly.GetCommitSignaturesResponse + (*GetCommitMessagesRequest)(nil), // 47: gitaly.GetCommitMessagesRequest + (*GetCommitMessagesResponse)(nil), // 48: gitaly.GetCommitMessagesResponse + (*ListCommitsByRefNameResponse_CommitForRef)(nil), // 49: gitaly.ListCommitsByRefNameResponse.CommitForRef + (*CommitLanguagesResponse_Language)(nil), // 50: gitaly.CommitLanguagesResponse.Language + (*ListLastCommitsForTreeResponse_CommitForTree)(nil), // 51: gitaly.ListLastCommitsForTreeResponse.CommitForTree + (*Repository)(nil), // 52: gitaly.Repository + (*PaginationParameter)(nil), // 53: gitaly.PaginationParameter + (*GitCommit)(nil), // 54: gitaly.GitCommit + (*timestamp.Timestamp)(nil), // 55: google.protobuf.Timestamp + (*GlobalOptions)(nil), // 56: gitaly.GlobalOptions +} +var file_commit_proto_depIdxs = []int32{ + 52, // 0: gitaly.CommitStatsRequest.repository:type_name -> gitaly.Repository + 52, // 1: gitaly.CommitIsAncestorRequest.repository:type_name -> gitaly.Repository + 52, // 2: gitaly.TreeEntryRequest.repository:type_name -> gitaly.Repository + 0, // 3: gitaly.TreeEntryResponse.type:type_name -> gitaly.TreeEntryResponse.ObjectType + 52, // 4: gitaly.CommitsBetweenRequest.repository:type_name -> gitaly.Repository + 53, // 5: gitaly.CommitsBetweenRequest.pagination_params:type_name -> gitaly.PaginationParameter + 54, // 6: gitaly.CommitsBetweenResponse.commits:type_name -> gitaly.GitCommit + 52, // 7: gitaly.CountCommitsRequest.repository:type_name -> gitaly.Repository + 55, // 8: gitaly.CountCommitsRequest.after:type_name -> google.protobuf.Timestamp + 55, // 9: gitaly.CountCommitsRequest.before:type_name -> google.protobuf.Timestamp + 56, // 10: gitaly.CountCommitsRequest.global_options:type_name -> gitaly.GlobalOptions + 52, // 11: gitaly.CountDivergingCommitsRequest.repository:type_name -> gitaly.Repository + 1, // 12: gitaly.TreeEntry.type:type_name -> gitaly.TreeEntry.EntryType + 52, // 13: gitaly.GetTreeEntriesRequest.repository:type_name -> gitaly.Repository + 16, // 14: gitaly.GetTreeEntriesResponse.entries:type_name -> gitaly.TreeEntry + 52, // 15: gitaly.ListFilesRequest.repository:type_name -> gitaly.Repository + 52, // 16: gitaly.FindCommitRequest.repository:type_name -> gitaly.Repository + 54, // 17: gitaly.FindCommitResponse.commit:type_name -> gitaly.GitCommit + 52, // 18: gitaly.ListCommitsByOidRequest.repository:type_name -> gitaly.Repository + 54, // 19: gitaly.ListCommitsByOidResponse.commits:type_name -> gitaly.GitCommit + 52, // 20: gitaly.ListCommitsByRefNameRequest.repository:type_name -> gitaly.Repository + 49, // 21: gitaly.ListCommitsByRefNameResponse.commit_refs:type_name -> gitaly.ListCommitsByRefNameResponse.CommitForRef + 52, // 22: gitaly.FindAllCommitsRequest.repository:type_name -> gitaly.Repository + 2, // 23: gitaly.FindAllCommitsRequest.order:type_name -> gitaly.FindAllCommitsRequest.Order + 54, // 24: gitaly.FindAllCommitsResponse.commits:type_name -> gitaly.GitCommit + 52, // 25: gitaly.FindCommitsRequest.repository:type_name -> gitaly.Repository + 55, // 26: gitaly.FindCommitsRequest.after:type_name -> google.protobuf.Timestamp + 55, // 27: gitaly.FindCommitsRequest.before:type_name -> google.protobuf.Timestamp + 3, // 28: gitaly.FindCommitsRequest.order:type_name -> gitaly.FindCommitsRequest.Order + 56, // 29: gitaly.FindCommitsRequest.global_options:type_name -> gitaly.GlobalOptions + 54, // 30: gitaly.FindCommitsResponse.commits:type_name -> gitaly.GitCommit + 52, // 31: gitaly.CommitLanguagesRequest.repository:type_name -> gitaly.Repository + 50, // 32: gitaly.CommitLanguagesResponse.languages:type_name -> gitaly.CommitLanguagesResponse.Language + 52, // 33: gitaly.RawBlameRequest.repository:type_name -> gitaly.Repository + 52, // 34: gitaly.LastCommitForPathRequest.repository:type_name -> gitaly.Repository + 56, // 35: gitaly.LastCommitForPathRequest.global_options:type_name -> gitaly.GlobalOptions + 54, // 36: gitaly.LastCommitForPathResponse.commit:type_name -> gitaly.GitCommit + 52, // 37: gitaly.ListLastCommitsForTreeRequest.repository:type_name -> gitaly.Repository + 56, // 38: gitaly.ListLastCommitsForTreeRequest.global_options:type_name -> gitaly.GlobalOptions + 51, // 39: gitaly.ListLastCommitsForTreeResponse.commits:type_name -> gitaly.ListLastCommitsForTreeResponse.CommitForTree + 52, // 40: gitaly.CommitsByMessageRequest.repository:type_name -> gitaly.Repository + 56, // 41: gitaly.CommitsByMessageRequest.global_options:type_name -> gitaly.GlobalOptions + 54, // 42: gitaly.CommitsByMessageResponse.commits:type_name -> gitaly.GitCommit + 52, // 43: gitaly.FilterShasWithSignaturesRequest.repository:type_name -> gitaly.Repository + 52, // 44: gitaly.ExtractCommitSignatureRequest.repository:type_name -> gitaly.Repository + 52, // 45: gitaly.GetCommitSignaturesRequest.repository:type_name -> gitaly.Repository + 52, // 46: gitaly.GetCommitMessagesRequest.repository:type_name -> gitaly.Repository + 54, // 47: gitaly.ListCommitsByRefNameResponse.CommitForRef.commit:type_name -> gitaly.GitCommit + 54, // 48: gitaly.ListLastCommitsForTreeResponse.CommitForTree.commit:type_name -> gitaly.GitCommit + 6, // 49: gitaly.CommitService.CommitIsAncestor:input_type -> gitaly.CommitIsAncestorRequest + 8, // 50: gitaly.CommitService.TreeEntry:input_type -> gitaly.TreeEntryRequest + 10, // 51: gitaly.CommitService.CommitsBetween:input_type -> gitaly.CommitsBetweenRequest + 12, // 52: gitaly.CommitService.CountCommits:input_type -> gitaly.CountCommitsRequest + 14, // 53: gitaly.CommitService.CountDivergingCommits:input_type -> gitaly.CountDivergingCommitsRequest + 17, // 54: gitaly.CommitService.GetTreeEntries:input_type -> gitaly.GetTreeEntriesRequest + 19, // 55: gitaly.CommitService.ListFiles:input_type -> gitaly.ListFilesRequest + 21, // 56: gitaly.CommitService.FindCommit:input_type -> gitaly.FindCommitRequest + 4, // 57: gitaly.CommitService.CommitStats:input_type -> gitaly.CommitStatsRequest + 27, // 58: gitaly.CommitService.FindAllCommits:input_type -> gitaly.FindAllCommitsRequest + 29, // 59: gitaly.CommitService.FindCommits:input_type -> gitaly.FindCommitsRequest + 31, // 60: gitaly.CommitService.CommitLanguages:input_type -> gitaly.CommitLanguagesRequest + 33, // 61: gitaly.CommitService.RawBlame:input_type -> gitaly.RawBlameRequest + 35, // 62: gitaly.CommitService.LastCommitForPath:input_type -> gitaly.LastCommitForPathRequest + 37, // 63: gitaly.CommitService.ListLastCommitsForTree:input_type -> gitaly.ListLastCommitsForTreeRequest + 39, // 64: gitaly.CommitService.CommitsByMessage:input_type -> gitaly.CommitsByMessageRequest + 23, // 65: gitaly.CommitService.ListCommitsByOid:input_type -> gitaly.ListCommitsByOidRequest + 25, // 66: gitaly.CommitService.ListCommitsByRefName:input_type -> gitaly.ListCommitsByRefNameRequest + 41, // 67: gitaly.CommitService.FilterShasWithSignatures:input_type -> gitaly.FilterShasWithSignaturesRequest + 45, // 68: gitaly.CommitService.GetCommitSignatures:input_type -> gitaly.GetCommitSignaturesRequest + 47, // 69: gitaly.CommitService.GetCommitMessages:input_type -> gitaly.GetCommitMessagesRequest + 7, // 70: gitaly.CommitService.CommitIsAncestor:output_type -> gitaly.CommitIsAncestorResponse + 9, // 71: gitaly.CommitService.TreeEntry:output_type -> gitaly.TreeEntryResponse + 11, // 72: gitaly.CommitService.CommitsBetween:output_type -> gitaly.CommitsBetweenResponse + 13, // 73: gitaly.CommitService.CountCommits:output_type -> gitaly.CountCommitsResponse + 15, // 74: gitaly.CommitService.CountDivergingCommits:output_type -> gitaly.CountDivergingCommitsResponse + 18, // 75: gitaly.CommitService.GetTreeEntries:output_type -> gitaly.GetTreeEntriesResponse + 20, // 76: gitaly.CommitService.ListFiles:output_type -> gitaly.ListFilesResponse + 22, // 77: gitaly.CommitService.FindCommit:output_type -> gitaly.FindCommitResponse + 5, // 78: gitaly.CommitService.CommitStats:output_type -> gitaly.CommitStatsResponse + 28, // 79: gitaly.CommitService.FindAllCommits:output_type -> gitaly.FindAllCommitsResponse + 30, // 80: gitaly.CommitService.FindCommits:output_type -> gitaly.FindCommitsResponse + 32, // 81: gitaly.CommitService.CommitLanguages:output_type -> gitaly.CommitLanguagesResponse + 34, // 82: gitaly.CommitService.RawBlame:output_type -> gitaly.RawBlameResponse + 36, // 83: gitaly.CommitService.LastCommitForPath:output_type -> gitaly.LastCommitForPathResponse + 38, // 84: gitaly.CommitService.ListLastCommitsForTree:output_type -> gitaly.ListLastCommitsForTreeResponse + 40, // 85: gitaly.CommitService.CommitsByMessage:output_type -> gitaly.CommitsByMessageResponse + 24, // 86: gitaly.CommitService.ListCommitsByOid:output_type -> gitaly.ListCommitsByOidResponse + 26, // 87: gitaly.CommitService.ListCommitsByRefName:output_type -> gitaly.ListCommitsByRefNameResponse + 42, // 88: gitaly.CommitService.FilterShasWithSignatures:output_type -> gitaly.FilterShasWithSignaturesResponse + 46, // 89: gitaly.CommitService.GetCommitSignatures:output_type -> gitaly.GetCommitSignaturesResponse + 48, // 90: gitaly.CommitService.GetCommitMessages:output_type -> gitaly.GetCommitMessagesResponse + 70, // [70:91] is the sub-list for method output_type + 49, // [49:70] is the sub-list for method input_type + 49, // [49:49] is the sub-list for extension type_name + 49, // [49:49] is the sub-list for extension extendee + 0, // [0:49] is the sub-list for field type_name +} + +func init() { file_commit_proto_init() } +func file_commit_proto_init() { + if File_commit_proto != nil { + return + } + file_lint_proto_init() + file_shared_proto_init() + if !protoimpl.UnsafeEnabled { + file_commit_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CommitStatsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CommitStatsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CommitIsAncestorRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CommitIsAncestorResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TreeEntryRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TreeEntryResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CommitsBetweenRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CommitsBetweenResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CountCommitsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CountCommitsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CountDivergingCommitsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CountDivergingCommitsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TreeEntry); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetTreeEntriesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetTreeEntriesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListFilesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListFilesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindCommitRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindCommitResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListCommitsByOidRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListCommitsByOidResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListCommitsByRefNameRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListCommitsByRefNameResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindAllCommitsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindAllCommitsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindCommitsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindCommitsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CommitLanguagesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CommitLanguagesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RawBlameRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RawBlameResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LastCommitForPathRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LastCommitForPathResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListLastCommitsForTreeRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListLastCommitsForTreeResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CommitsByMessageRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CommitsByMessageResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FilterShasWithSignaturesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FilterShasWithSignaturesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExtractCommitSignatureRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExtractCommitSignatureResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetCommitSignaturesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetCommitSignaturesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetCommitMessagesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetCommitMessagesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListCommitsByRefNameResponse_CommitForRef); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CommitLanguagesResponse_Language); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commit_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListLastCommitsForTreeResponse_CommitForTree); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_commit_proto_rawDesc, + NumEnums: 4, + NumMessages: 48, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_commit_proto_goTypes, + DependencyIndexes: file_commit_proto_depIdxs, + EnumInfos: file_commit_proto_enumTypes, + MessageInfos: file_commit_proto_msgTypes, + }.Build() + File_commit_proto = out.File + file_commit_proto_rawDesc = nil + file_commit_proto_goTypes = nil + file_commit_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConn +var _ grpc.ClientConnInterface // 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 +const _ = grpc.SupportPackageIsVersion6 // CommitServiceClient is the client API for CommitService service. // @@ -3048,10 +4639,10 @@ type CommitServiceClient interface { } type commitServiceClient struct { - cc *grpc.ClientConn + cc grpc.ClientConnInterface } -func NewCommitServiceClient(cc *grpc.ClientConn) CommitServiceClient { +func NewCommitServiceClient(cc grpc.ClientConnInterface) CommitServiceClient { return &commitServiceClient{cc} } @@ -3595,67 +5186,67 @@ type CommitServiceServer interface { type UnimplementedCommitServiceServer struct { } -func (*UnimplementedCommitServiceServer) CommitIsAncestor(ctx context.Context, req *CommitIsAncestorRequest) (*CommitIsAncestorResponse, error) { +func (*UnimplementedCommitServiceServer) CommitIsAncestor(context.Context, *CommitIsAncestorRequest) (*CommitIsAncestorResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CommitIsAncestor not implemented") } -func (*UnimplementedCommitServiceServer) TreeEntry(req *TreeEntryRequest, srv CommitService_TreeEntryServer) error { +func (*UnimplementedCommitServiceServer) TreeEntry(*TreeEntryRequest, CommitService_TreeEntryServer) error { return status.Errorf(codes.Unimplemented, "method TreeEntry not implemented") } -func (*UnimplementedCommitServiceServer) CommitsBetween(req *CommitsBetweenRequest, srv CommitService_CommitsBetweenServer) error { +func (*UnimplementedCommitServiceServer) CommitsBetween(*CommitsBetweenRequest, CommitService_CommitsBetweenServer) error { return status.Errorf(codes.Unimplemented, "method CommitsBetween not implemented") } -func (*UnimplementedCommitServiceServer) CountCommits(ctx context.Context, req *CountCommitsRequest) (*CountCommitsResponse, error) { +func (*UnimplementedCommitServiceServer) CountCommits(context.Context, *CountCommitsRequest) (*CountCommitsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CountCommits not implemented") } -func (*UnimplementedCommitServiceServer) CountDivergingCommits(ctx context.Context, req *CountDivergingCommitsRequest) (*CountDivergingCommitsResponse, error) { +func (*UnimplementedCommitServiceServer) CountDivergingCommits(context.Context, *CountDivergingCommitsRequest) (*CountDivergingCommitsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CountDivergingCommits not implemented") } -func (*UnimplementedCommitServiceServer) GetTreeEntries(req *GetTreeEntriesRequest, srv CommitService_GetTreeEntriesServer) error { +func (*UnimplementedCommitServiceServer) GetTreeEntries(*GetTreeEntriesRequest, CommitService_GetTreeEntriesServer) error { return status.Errorf(codes.Unimplemented, "method GetTreeEntries not implemented") } -func (*UnimplementedCommitServiceServer) ListFiles(req *ListFilesRequest, srv CommitService_ListFilesServer) error { +func (*UnimplementedCommitServiceServer) ListFiles(*ListFilesRequest, CommitService_ListFilesServer) error { return status.Errorf(codes.Unimplemented, "method ListFiles not implemented") } -func (*UnimplementedCommitServiceServer) FindCommit(ctx context.Context, req *FindCommitRequest) (*FindCommitResponse, error) { +func (*UnimplementedCommitServiceServer) FindCommit(context.Context, *FindCommitRequest) (*FindCommitResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method FindCommit not implemented") } -func (*UnimplementedCommitServiceServer) CommitStats(ctx context.Context, req *CommitStatsRequest) (*CommitStatsResponse, error) { +func (*UnimplementedCommitServiceServer) CommitStats(context.Context, *CommitStatsRequest) (*CommitStatsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CommitStats not implemented") } -func (*UnimplementedCommitServiceServer) FindAllCommits(req *FindAllCommitsRequest, srv CommitService_FindAllCommitsServer) error { +func (*UnimplementedCommitServiceServer) FindAllCommits(*FindAllCommitsRequest, CommitService_FindAllCommitsServer) error { return status.Errorf(codes.Unimplemented, "method FindAllCommits not implemented") } -func (*UnimplementedCommitServiceServer) FindCommits(req *FindCommitsRequest, srv CommitService_FindCommitsServer) error { +func (*UnimplementedCommitServiceServer) FindCommits(*FindCommitsRequest, CommitService_FindCommitsServer) error { return status.Errorf(codes.Unimplemented, "method FindCommits not implemented") } -func (*UnimplementedCommitServiceServer) CommitLanguages(ctx context.Context, req *CommitLanguagesRequest) (*CommitLanguagesResponse, error) { +func (*UnimplementedCommitServiceServer) CommitLanguages(context.Context, *CommitLanguagesRequest) (*CommitLanguagesResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CommitLanguages not implemented") } -func (*UnimplementedCommitServiceServer) RawBlame(req *RawBlameRequest, srv CommitService_RawBlameServer) error { +func (*UnimplementedCommitServiceServer) RawBlame(*RawBlameRequest, CommitService_RawBlameServer) error { return status.Errorf(codes.Unimplemented, "method RawBlame not implemented") } -func (*UnimplementedCommitServiceServer) LastCommitForPath(ctx context.Context, req *LastCommitForPathRequest) (*LastCommitForPathResponse, error) { +func (*UnimplementedCommitServiceServer) LastCommitForPath(context.Context, *LastCommitForPathRequest) (*LastCommitForPathResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method LastCommitForPath not implemented") } -func (*UnimplementedCommitServiceServer) ListLastCommitsForTree(req *ListLastCommitsForTreeRequest, srv CommitService_ListLastCommitsForTreeServer) error { +func (*UnimplementedCommitServiceServer) ListLastCommitsForTree(*ListLastCommitsForTreeRequest, CommitService_ListLastCommitsForTreeServer) error { return status.Errorf(codes.Unimplemented, "method ListLastCommitsForTree not implemented") } -func (*UnimplementedCommitServiceServer) CommitsByMessage(req *CommitsByMessageRequest, srv CommitService_CommitsByMessageServer) error { +func (*UnimplementedCommitServiceServer) CommitsByMessage(*CommitsByMessageRequest, CommitService_CommitsByMessageServer) error { return status.Errorf(codes.Unimplemented, "method CommitsByMessage not implemented") } -func (*UnimplementedCommitServiceServer) ListCommitsByOid(req *ListCommitsByOidRequest, srv CommitService_ListCommitsByOidServer) error { +func (*UnimplementedCommitServiceServer) ListCommitsByOid(*ListCommitsByOidRequest, CommitService_ListCommitsByOidServer) error { return status.Errorf(codes.Unimplemented, "method ListCommitsByOid not implemented") } -func (*UnimplementedCommitServiceServer) ListCommitsByRefName(req *ListCommitsByRefNameRequest, srv CommitService_ListCommitsByRefNameServer) error { +func (*UnimplementedCommitServiceServer) ListCommitsByRefName(*ListCommitsByRefNameRequest, CommitService_ListCommitsByRefNameServer) error { return status.Errorf(codes.Unimplemented, "method ListCommitsByRefName not implemented") } -func (*UnimplementedCommitServiceServer) FilterShasWithSignatures(srv CommitService_FilterShasWithSignaturesServer) error { +func (*UnimplementedCommitServiceServer) FilterShasWithSignatures(CommitService_FilterShasWithSignaturesServer) error { return status.Errorf(codes.Unimplemented, "method FilterShasWithSignatures not implemented") } -func (*UnimplementedCommitServiceServer) GetCommitSignatures(req *GetCommitSignaturesRequest, srv CommitService_GetCommitSignaturesServer) error { +func (*UnimplementedCommitServiceServer) GetCommitSignatures(*GetCommitSignaturesRequest, CommitService_GetCommitSignaturesServer) error { return status.Errorf(codes.Unimplemented, "method GetCommitSignatures not implemented") } -func (*UnimplementedCommitServiceServer) GetCommitMessages(req *GetCommitMessagesRequest, srv CommitService_GetCommitMessagesServer) error { +func (*UnimplementedCommitServiceServer) GetCommitMessages(*GetCommitMessagesRequest, CommitService_GetCommitMessagesServer) error { return status.Errorf(codes.Unimplemented, "method GetCommitMessages not implemented") } diff --git a/proto/go/gitalypb/conflicts.pb.go b/proto/go/gitalypb/conflicts.pb.go index e93c9e9c1..38681ef24 100644 --- a/proto/go/gitalypb/conflicts.pb.go +++ b/proto/go/gitalypb/conflicts.pb.go @@ -1,207 +1,220 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc v3.12.4 // source: conflicts.proto package gitalypb import ( context "context" - fmt "fmt" proto "github.com/golang/protobuf/proto" timestamp "github.com/golang/protobuf/ptypes/timestamp" 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 +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) +) -// 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 +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 type ListConflictFilesRequest struct { - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - OurCommitOid string `protobuf:"bytes,2,opt,name=our_commit_oid,json=ourCommitOid,proto3" json:"our_commit_oid,omitempty"` - TheirCommitOid string `protobuf:"bytes,3,opt,name=their_commit_oid,json=theirCommitOid,proto3" json:"their_commit_oid,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *ListConflictFilesRequest) Reset() { *m = ListConflictFilesRequest{} } -func (m *ListConflictFilesRequest) String() string { return proto.CompactTextString(m) } -func (*ListConflictFilesRequest) ProtoMessage() {} -func (*ListConflictFilesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_28fc8937e7d75862, []int{0} + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + OurCommitOid string `protobuf:"bytes,2,opt,name=our_commit_oid,json=ourCommitOid,proto3" json:"our_commit_oid,omitempty"` + TheirCommitOid string `protobuf:"bytes,3,opt,name=their_commit_oid,json=theirCommitOid,proto3" json:"their_commit_oid,omitempty"` } -func (m *ListConflictFilesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListConflictFilesRequest.Unmarshal(m, b) -} -func (m *ListConflictFilesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListConflictFilesRequest.Marshal(b, m, deterministic) -} -func (m *ListConflictFilesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListConflictFilesRequest.Merge(m, src) +func (x *ListConflictFilesRequest) Reset() { + *x = ListConflictFilesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_conflicts_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListConflictFilesRequest) XXX_Size() int { - return xxx_messageInfo_ListConflictFilesRequest.Size(m) + +func (x *ListConflictFilesRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListConflictFilesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListConflictFilesRequest.DiscardUnknown(m) + +func (*ListConflictFilesRequest) ProtoMessage() {} + +func (x *ListConflictFilesRequest) ProtoReflect() protoreflect.Message { + mi := &file_conflicts_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_ListConflictFilesRequest proto.InternalMessageInfo +// Deprecated: Use ListConflictFilesRequest.ProtoReflect.Descriptor instead. +func (*ListConflictFilesRequest) Descriptor() ([]byte, []int) { + return file_conflicts_proto_rawDescGZIP(), []int{0} +} -func (m *ListConflictFilesRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *ListConflictFilesRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *ListConflictFilesRequest) GetOurCommitOid() string { - if m != nil { - return m.OurCommitOid +func (x *ListConflictFilesRequest) GetOurCommitOid() string { + if x != nil { + return x.OurCommitOid } return "" } -func (m *ListConflictFilesRequest) GetTheirCommitOid() string { - if m != nil { - return m.TheirCommitOid +func (x *ListConflictFilesRequest) GetTheirCommitOid() string { + if x != nil { + return x.TheirCommitOid } return "" } type ConflictFileHeader struct { - CommitOid string `protobuf:"bytes,2,opt,name=commit_oid,json=commitOid,proto3" json:"commit_oid,omitempty"` - TheirPath []byte `protobuf:"bytes,3,opt,name=their_path,json=theirPath,proto3" json:"their_path,omitempty"` - OurPath []byte `protobuf:"bytes,4,opt,name=our_path,json=ourPath,proto3" json:"our_path,omitempty"` - OurMode int32 `protobuf:"varint,5,opt,name=our_mode,json=ourMode,proto3" json:"our_mode,omitempty"` - AncestorPath []byte `protobuf:"bytes,6,opt,name=ancestor_path,json=ancestorPath,proto3" json:"ancestor_path,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ConflictFileHeader) Reset() { *m = ConflictFileHeader{} } -func (m *ConflictFileHeader) String() string { return proto.CompactTextString(m) } -func (*ConflictFileHeader) ProtoMessage() {} -func (*ConflictFileHeader) Descriptor() ([]byte, []int) { - return fileDescriptor_28fc8937e7d75862, []int{1} -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *ConflictFileHeader) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ConflictFileHeader.Unmarshal(m, b) + CommitOid string `protobuf:"bytes,2,opt,name=commit_oid,json=commitOid,proto3" json:"commit_oid,omitempty"` + TheirPath []byte `protobuf:"bytes,3,opt,name=their_path,json=theirPath,proto3" json:"their_path,omitempty"` + OurPath []byte `protobuf:"bytes,4,opt,name=our_path,json=ourPath,proto3" json:"our_path,omitempty"` + OurMode int32 `protobuf:"varint,5,opt,name=our_mode,json=ourMode,proto3" json:"our_mode,omitempty"` + AncestorPath []byte `protobuf:"bytes,6,opt,name=ancestor_path,json=ancestorPath,proto3" json:"ancestor_path,omitempty"` } -func (m *ConflictFileHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ConflictFileHeader.Marshal(b, m, deterministic) -} -func (m *ConflictFileHeader) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConflictFileHeader.Merge(m, src) + +func (x *ConflictFileHeader) Reset() { + *x = ConflictFileHeader{} + if protoimpl.UnsafeEnabled { + mi := &file_conflicts_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ConflictFileHeader) XXX_Size() int { - return xxx_messageInfo_ConflictFileHeader.Size(m) + +func (x *ConflictFileHeader) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ConflictFileHeader) XXX_DiscardUnknown() { - xxx_messageInfo_ConflictFileHeader.DiscardUnknown(m) + +func (*ConflictFileHeader) ProtoMessage() {} + +func (x *ConflictFileHeader) ProtoReflect() protoreflect.Message { + mi := &file_conflicts_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) } -var xxx_messageInfo_ConflictFileHeader proto.InternalMessageInfo +// Deprecated: Use ConflictFileHeader.ProtoReflect.Descriptor instead. +func (*ConflictFileHeader) Descriptor() ([]byte, []int) { + return file_conflicts_proto_rawDescGZIP(), []int{1} +} -func (m *ConflictFileHeader) GetCommitOid() string { - if m != nil { - return m.CommitOid +func (x *ConflictFileHeader) GetCommitOid() string { + if x != nil { + return x.CommitOid } return "" } -func (m *ConflictFileHeader) GetTheirPath() []byte { - if m != nil { - return m.TheirPath +func (x *ConflictFileHeader) GetTheirPath() []byte { + if x != nil { + return x.TheirPath } return nil } -func (m *ConflictFileHeader) GetOurPath() []byte { - if m != nil { - return m.OurPath +func (x *ConflictFileHeader) GetOurPath() []byte { + if x != nil { + return x.OurPath } return nil } -func (m *ConflictFileHeader) GetOurMode() int32 { - if m != nil { - return m.OurMode +func (x *ConflictFileHeader) GetOurMode() int32 { + if x != nil { + return x.OurMode } return 0 } -func (m *ConflictFileHeader) GetAncestorPath() []byte { - if m != nil { - return m.AncestorPath +func (x *ConflictFileHeader) GetAncestorPath() []byte { + if x != nil { + return x.AncestorPath } return nil } type ConflictFile struct { - // Types that are valid to be assigned to ConflictFilePayload: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to ConflictFilePayload: // *ConflictFile_Header // *ConflictFile_Content - ConflictFilePayload isConflictFile_ConflictFilePayload `protobuf_oneof:"conflict_file_payload"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ConflictFilePayload isConflictFile_ConflictFilePayload `protobuf_oneof:"conflict_file_payload"` } -func (m *ConflictFile) Reset() { *m = ConflictFile{} } -func (m *ConflictFile) String() string { return proto.CompactTextString(m) } -func (*ConflictFile) ProtoMessage() {} -func (*ConflictFile) Descriptor() ([]byte, []int) { - return fileDescriptor_28fc8937e7d75862, []int{2} +func (x *ConflictFile) Reset() { + *x = ConflictFile{} + if protoimpl.UnsafeEnabled { + mi := &file_conflicts_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ConflictFile) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ConflictFile.Unmarshal(m, b) -} -func (m *ConflictFile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ConflictFile.Marshal(b, m, deterministic) -} -func (m *ConflictFile) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConflictFile.Merge(m, src) -} -func (m *ConflictFile) XXX_Size() int { - return xxx_messageInfo_ConflictFile.Size(m) -} -func (m *ConflictFile) XXX_DiscardUnknown() { - xxx_messageInfo_ConflictFile.DiscardUnknown(m) +func (x *ConflictFile) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_ConflictFile proto.InternalMessageInfo +func (*ConflictFile) ProtoMessage() {} -type isConflictFile_ConflictFilePayload interface { - isConflictFile_ConflictFilePayload() -} - -type ConflictFile_Header struct { - Header *ConflictFileHeader `protobuf:"bytes,1,opt,name=header,proto3,oneof"` +func (x *ConflictFile) ProtoReflect() protoreflect.Message { + mi := &file_conflicts_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) } -type ConflictFile_Content struct { - Content []byte `protobuf:"bytes,2,opt,name=content,proto3,oneof"` +// Deprecated: Use ConflictFile.ProtoReflect.Descriptor instead. +func (*ConflictFile) Descriptor() ([]byte, []int) { + return file_conflicts_proto_rawDescGZIP(), []int{2} } -func (*ConflictFile_Header) isConflictFile_ConflictFilePayload() {} - -func (*ConflictFile_Content) isConflictFile_ConflictFilePayload() {} - func (m *ConflictFile) GetConflictFilePayload() isConflictFile_ConflictFilePayload { if m != nil { return m.ConflictFilePayload @@ -209,63 +222,79 @@ func (m *ConflictFile) GetConflictFilePayload() isConflictFile_ConflictFilePaylo return nil } -func (m *ConflictFile) GetHeader() *ConflictFileHeader { - if x, ok := m.GetConflictFilePayload().(*ConflictFile_Header); ok { +func (x *ConflictFile) GetHeader() *ConflictFileHeader { + if x, ok := x.GetConflictFilePayload().(*ConflictFile_Header); ok { return x.Header } return nil } -func (m *ConflictFile) GetContent() []byte { - if x, ok := m.GetConflictFilePayload().(*ConflictFile_Content); ok { +func (x *ConflictFile) GetContent() []byte { + if x, ok := x.GetConflictFilePayload().(*ConflictFile_Content); ok { return x.Content } return nil } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ConflictFile) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ConflictFile_Header)(nil), - (*ConflictFile_Content)(nil), - } +type isConflictFile_ConflictFilePayload interface { + isConflictFile_ConflictFilePayload() } -type ListConflictFilesResponse struct { - Files []*ConflictFile `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +type ConflictFile_Header struct { + Header *ConflictFileHeader `protobuf:"bytes,1,opt,name=header,proto3,oneof"` } -func (m *ListConflictFilesResponse) Reset() { *m = ListConflictFilesResponse{} } -func (m *ListConflictFilesResponse) String() string { return proto.CompactTextString(m) } -func (*ListConflictFilesResponse) ProtoMessage() {} -func (*ListConflictFilesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_28fc8937e7d75862, []int{3} +type ConflictFile_Content struct { + Content []byte `protobuf:"bytes,2,opt,name=content,proto3,oneof"` } -func (m *ListConflictFilesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListConflictFilesResponse.Unmarshal(m, b) -} -func (m *ListConflictFilesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListConflictFilesResponse.Marshal(b, m, deterministic) +func (*ConflictFile_Header) isConflictFile_ConflictFilePayload() {} + +func (*ConflictFile_Content) isConflictFile_ConflictFilePayload() {} + +type ListConflictFilesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Files []*ConflictFile `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"` } -func (m *ListConflictFilesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListConflictFilesResponse.Merge(m, src) + +func (x *ListConflictFilesResponse) Reset() { + *x = ListConflictFilesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_conflicts_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListConflictFilesResponse) XXX_Size() int { - return xxx_messageInfo_ListConflictFilesResponse.Size(m) + +func (x *ListConflictFilesResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListConflictFilesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListConflictFilesResponse.DiscardUnknown(m) + +func (*ListConflictFilesResponse) ProtoMessage() {} + +func (x *ListConflictFilesResponse) ProtoReflect() protoreflect.Message { + mi := &file_conflicts_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_ListConflictFilesResponse proto.InternalMessageInfo +// Deprecated: Use ListConflictFilesResponse.ProtoReflect.Descriptor instead. +func (*ListConflictFilesResponse) Descriptor() ([]byte, []int) { + return file_conflicts_proto_rawDescGZIP(), []int{3} +} -func (m *ListConflictFilesResponse) GetFiles() []*ConflictFile { - if m != nil { - return m.Files +func (x *ListConflictFilesResponse) GetFiles() []*ConflictFile { + if x != nil { + return x.Files } return nil } @@ -273,6 +302,10 @@ func (m *ListConflictFilesResponse) GetFiles() []*ConflictFile { // ResolveConflictsRequestHeader is the first message that must be sent for // each ResolveConflicts call. type ResolveConflictsRequestHeader struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Repository is the repository in which conflicts shall be resolved and // where SourceBranch shall be updated with the resolved conflict. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` @@ -296,155 +329,150 @@ type ResolveConflictsRequestHeader struct { User *User `protobuf:"bytes,8,opt,name=user,proto3" json:"user,omitempty"` // timestamp is the optional timestamp to use for the commit as committer // date. If it's not set, the current time will be used. - Timestamp *timestamp.Timestamp `protobuf:"bytes,9,opt,name=timestamp,proto3" json:"timestamp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Timestamp *timestamp.Timestamp `protobuf:"bytes,9,opt,name=timestamp,proto3" json:"timestamp,omitempty"` } -func (m *ResolveConflictsRequestHeader) Reset() { *m = ResolveConflictsRequestHeader{} } -func (m *ResolveConflictsRequestHeader) String() string { return proto.CompactTextString(m) } -func (*ResolveConflictsRequestHeader) ProtoMessage() {} -func (*ResolveConflictsRequestHeader) Descriptor() ([]byte, []int) { - return fileDescriptor_28fc8937e7d75862, []int{4} +func (x *ResolveConflictsRequestHeader) Reset() { + *x = ResolveConflictsRequestHeader{} + if protoimpl.UnsafeEnabled { + mi := &file_conflicts_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ResolveConflictsRequestHeader) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ResolveConflictsRequestHeader.Unmarshal(m, b) -} -func (m *ResolveConflictsRequestHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ResolveConflictsRequestHeader.Marshal(b, m, deterministic) -} -func (m *ResolveConflictsRequestHeader) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResolveConflictsRequestHeader.Merge(m, src) -} -func (m *ResolveConflictsRequestHeader) XXX_Size() int { - return xxx_messageInfo_ResolveConflictsRequestHeader.Size(m) +func (x *ResolveConflictsRequestHeader) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ResolveConflictsRequestHeader) XXX_DiscardUnknown() { - xxx_messageInfo_ResolveConflictsRequestHeader.DiscardUnknown(m) + +func (*ResolveConflictsRequestHeader) ProtoMessage() {} + +func (x *ResolveConflictsRequestHeader) ProtoReflect() protoreflect.Message { + mi := &file_conflicts_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_ResolveConflictsRequestHeader proto.InternalMessageInfo +// Deprecated: Use ResolveConflictsRequestHeader.ProtoReflect.Descriptor instead. +func (*ResolveConflictsRequestHeader) Descriptor() ([]byte, []int) { + return file_conflicts_proto_rawDescGZIP(), []int{4} +} -func (m *ResolveConflictsRequestHeader) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *ResolveConflictsRequestHeader) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *ResolveConflictsRequestHeader) GetOurCommitOid() string { - if m != nil { - return m.OurCommitOid +func (x *ResolveConflictsRequestHeader) GetOurCommitOid() string { + if x != nil { + return x.OurCommitOid } return "" } -func (m *ResolveConflictsRequestHeader) GetTargetRepository() *Repository { - if m != nil { - return m.TargetRepository +func (x *ResolveConflictsRequestHeader) GetTargetRepository() *Repository { + if x != nil { + return x.TargetRepository } return nil } -func (m *ResolveConflictsRequestHeader) GetTheirCommitOid() string { - if m != nil { - return m.TheirCommitOid +func (x *ResolveConflictsRequestHeader) GetTheirCommitOid() string { + if x != nil { + return x.TheirCommitOid } return "" } -func (m *ResolveConflictsRequestHeader) GetSourceBranch() []byte { - if m != nil { - return m.SourceBranch +func (x *ResolveConflictsRequestHeader) GetSourceBranch() []byte { + if x != nil { + return x.SourceBranch } return nil } -func (m *ResolveConflictsRequestHeader) GetTargetBranch() []byte { - if m != nil { - return m.TargetBranch +func (x *ResolveConflictsRequestHeader) GetTargetBranch() []byte { + if x != nil { + return x.TargetBranch } return nil } -func (m *ResolveConflictsRequestHeader) GetCommitMessage() []byte { - if m != nil { - return m.CommitMessage +func (x *ResolveConflictsRequestHeader) GetCommitMessage() []byte { + if x != nil { + return x.CommitMessage } return nil } -func (m *ResolveConflictsRequestHeader) GetUser() *User { - if m != nil { - return m.User +func (x *ResolveConflictsRequestHeader) GetUser() *User { + if x != nil { + return x.User } return nil } -func (m *ResolveConflictsRequestHeader) GetTimestamp() *timestamp.Timestamp { - if m != nil { - return m.Timestamp +func (x *ResolveConflictsRequestHeader) GetTimestamp() *timestamp.Timestamp { + if x != nil { + return x.Timestamp } return nil } // ResolveConflictsRequest is a request for the ResolveConflicts RPC. type ResolveConflictsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // RequestPayload is the payload part of the request. The first message sent // must always be a ResolveConflictsRequestHeader, whereas all remaining // requests must be FilesJson requests. // - // Types that are valid to be assigned to ResolveConflictsRequestPayload: + // Types that are assignable to ResolveConflictsRequestPayload: // *ResolveConflictsRequest_Header // *ResolveConflictsRequest_FilesJson ResolveConflictsRequestPayload isResolveConflictsRequest_ResolveConflictsRequestPayload `protobuf_oneof:"resolve_conflicts_request_payload"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` } -func (m *ResolveConflictsRequest) Reset() { *m = ResolveConflictsRequest{} } -func (m *ResolveConflictsRequest) String() string { return proto.CompactTextString(m) } -func (*ResolveConflictsRequest) ProtoMessage() {} -func (*ResolveConflictsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_28fc8937e7d75862, []int{5} -} - -func (m *ResolveConflictsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ResolveConflictsRequest.Unmarshal(m, b) -} -func (m *ResolveConflictsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ResolveConflictsRequest.Marshal(b, m, deterministic) -} -func (m *ResolveConflictsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResolveConflictsRequest.Merge(m, src) -} -func (m *ResolveConflictsRequest) XXX_Size() int { - return xxx_messageInfo_ResolveConflictsRequest.Size(m) -} -func (m *ResolveConflictsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ResolveConflictsRequest.DiscardUnknown(m) +func (x *ResolveConflictsRequest) Reset() { + *x = ResolveConflictsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_conflicts_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -var xxx_messageInfo_ResolveConflictsRequest proto.InternalMessageInfo - -type isResolveConflictsRequest_ResolveConflictsRequestPayload interface { - isResolveConflictsRequest_ResolveConflictsRequestPayload() +func (x *ResolveConflictsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -type ResolveConflictsRequest_Header struct { - Header *ResolveConflictsRequestHeader `protobuf:"bytes,1,opt,name=header,proto3,oneof"` -} +func (*ResolveConflictsRequest) ProtoMessage() {} -type ResolveConflictsRequest_FilesJson struct { - FilesJson []byte `protobuf:"bytes,2,opt,name=files_json,json=filesJson,proto3,oneof"` +func (x *ResolveConflictsRequest) ProtoReflect() protoreflect.Message { + mi := &file_conflicts_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) } -func (*ResolveConflictsRequest_Header) isResolveConflictsRequest_ResolveConflictsRequestPayload() {} - -func (*ResolveConflictsRequest_FilesJson) isResolveConflictsRequest_ResolveConflictsRequestPayload() { +// Deprecated: Use ResolveConflictsRequest.ProtoReflect.Descriptor instead. +func (*ResolveConflictsRequest) Descriptor() ([]byte, []int) { + return file_conflicts_proto_rawDescGZIP(), []int{5} } func (m *ResolveConflictsRequest) GetResolveConflictsRequestPayload() isResolveConflictsRequest_ResolveConflictsRequestPayload { @@ -454,26 +482,37 @@ func (m *ResolveConflictsRequest) GetResolveConflictsRequestPayload() isResolveC return nil } -func (m *ResolveConflictsRequest) GetHeader() *ResolveConflictsRequestHeader { - if x, ok := m.GetResolveConflictsRequestPayload().(*ResolveConflictsRequest_Header); ok { +func (x *ResolveConflictsRequest) GetHeader() *ResolveConflictsRequestHeader { + if x, ok := x.GetResolveConflictsRequestPayload().(*ResolveConflictsRequest_Header); ok { return x.Header } return nil } -func (m *ResolveConflictsRequest) GetFilesJson() []byte { - if x, ok := m.GetResolveConflictsRequestPayload().(*ResolveConflictsRequest_FilesJson); ok { +func (x *ResolveConflictsRequest) GetFilesJson() []byte { + if x, ok := x.GetResolveConflictsRequestPayload().(*ResolveConflictsRequest_FilesJson); ok { return x.FilesJson } return nil } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ResolveConflictsRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ResolveConflictsRequest_Header)(nil), - (*ResolveConflictsRequest_FilesJson)(nil), - } +type isResolveConflictsRequest_ResolveConflictsRequestPayload interface { + isResolveConflictsRequest_ResolveConflictsRequestPayload() +} + +type ResolveConflictsRequest_Header struct { + // Header is the initial message specifying parameters of the RPC call. + Header *ResolveConflictsRequestHeader `protobuf:"bytes,1,opt,name=header,proto3,oneof"` +} + +type ResolveConflictsRequest_FilesJson struct { + // FilesJson is a JSON-encoded list of conflicts resolutions. + FilesJson []byte `protobuf:"bytes,2,opt,name=files_json,json=filesJson,proto3,oneof"` +} + +func (*ResolveConflictsRequest_Header) isResolveConflictsRequest_ResolveConflictsRequestPayload() {} + +func (*ResolveConflictsRequest_FilesJson) isResolveConflictsRequest_ResolveConflictsRequestPayload() { } // ResolveConflictsResponse is a response of the ResolveConflicts RPC. Conflict @@ -481,113 +520,331 @@ func (*ResolveConflictsRequest) XXX_OneofWrappers() []interface{} { // check ResolutionError to verify whether the merge commit was correctly // computed or not. type ResolveConflictsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // ResolutionError contains a description of why conflict resolution has // failed. - ResolutionError string `protobuf:"bytes,1,opt,name=resolution_error,json=resolutionError,proto3" json:"resolution_error,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ResolutionError string `protobuf:"bytes,1,opt,name=resolution_error,json=resolutionError,proto3" json:"resolution_error,omitempty"` } -func (m *ResolveConflictsResponse) Reset() { *m = ResolveConflictsResponse{} } -func (m *ResolveConflictsResponse) String() string { return proto.CompactTextString(m) } -func (*ResolveConflictsResponse) ProtoMessage() {} -func (*ResolveConflictsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_28fc8937e7d75862, []int{6} +func (x *ResolveConflictsResponse) Reset() { + *x = ResolveConflictsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_conflicts_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ResolveConflictsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ResolveConflictsResponse.Unmarshal(m, b) -} -func (m *ResolveConflictsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ResolveConflictsResponse.Marshal(b, m, deterministic) -} -func (m *ResolveConflictsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResolveConflictsResponse.Merge(m, src) -} -func (m *ResolveConflictsResponse) XXX_Size() int { - return xxx_messageInfo_ResolveConflictsResponse.Size(m) +func (x *ResolveConflictsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ResolveConflictsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ResolveConflictsResponse.DiscardUnknown(m) + +func (*ResolveConflictsResponse) ProtoMessage() {} + +func (x *ResolveConflictsResponse) ProtoReflect() protoreflect.Message { + mi := &file_conflicts_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_ResolveConflictsResponse proto.InternalMessageInfo +// Deprecated: Use ResolveConflictsResponse.ProtoReflect.Descriptor instead. +func (*ResolveConflictsResponse) Descriptor() ([]byte, []int) { + return file_conflicts_proto_rawDescGZIP(), []int{6} +} -func (m *ResolveConflictsResponse) GetResolutionError() string { - if m != nil { - return m.ResolutionError +func (x *ResolveConflictsResponse) GetResolutionError() string { + if x != nil { + return x.ResolutionError } return "" } -func init() { - proto.RegisterType((*ListConflictFilesRequest)(nil), "gitaly.ListConflictFilesRequest") - proto.RegisterType((*ConflictFileHeader)(nil), "gitaly.ConflictFileHeader") - proto.RegisterType((*ConflictFile)(nil), "gitaly.ConflictFile") - proto.RegisterType((*ListConflictFilesResponse)(nil), "gitaly.ListConflictFilesResponse") - proto.RegisterType((*ResolveConflictsRequestHeader)(nil), "gitaly.ResolveConflictsRequestHeader") - proto.RegisterType((*ResolveConflictsRequest)(nil), "gitaly.ResolveConflictsRequest") - proto.RegisterType((*ResolveConflictsResponse)(nil), "gitaly.ResolveConflictsResponse") -} - -func init() { proto.RegisterFile("conflicts.proto", fileDescriptor_28fc8937e7d75862) } - -var fileDescriptor_28fc8937e7d75862 = []byte{ - // 690 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x94, 0xc1, 0x4e, 0xdb, 0x4a, - 0x14, 0x86, 0x99, 0x24, 0x84, 0xe4, 0x60, 0x20, 0x8c, 0xee, 0x15, 0x26, 0x12, 0x22, 0x84, 0x8b, - 0x94, 0x5b, 0xb5, 0x09, 0xa2, 0x5d, 0xb0, 0x43, 0x0a, 0xa2, 0x45, 0xa8, 0xa8, 0xd5, 0xb4, 0xdd, - 0x74, 0x63, 0x39, 0xf6, 0xe0, 0x4c, 0x65, 0x7b, 0xdc, 0x99, 0x31, 0x52, 0x9e, 0xa4, 0x5d, 0x76, - 0xd1, 0x37, 0xe8, 0xa2, 0x6f, 0xd0, 0x57, 0xe8, 0xbb, 0x74, 0x55, 0x79, 0xc6, 0x76, 0x02, 0x49, - 0xe8, 0xaa, 0x3b, 0xfb, 0x3f, 0xdf, 0x9c, 0x73, 0x66, 0xce, 0x3f, 0x03, 0x5b, 0x1e, 0x8f, 0x6f, - 0x42, 0xe6, 0x29, 0xd9, 0x4f, 0x04, 0x57, 0x1c, 0xd7, 0x03, 0xa6, 0xdc, 0x70, 0xd2, 0x86, 0x90, - 0xc5, 0xca, 0x68, 0x6d, 0x4b, 0x8e, 0x5d, 0x41, 0xfd, 0xfc, 0x6f, 0x3f, 0xe0, 0x3c, 0x08, 0xe9, - 0x40, 0xff, 0x8d, 0xd2, 0x9b, 0x81, 0x62, 0x11, 0x95, 0xca, 0x8d, 0x12, 0x03, 0x74, 0xbf, 0x22, - 0xb0, 0x5f, 0x32, 0xa9, 0xce, 0xf3, 0xd4, 0xcf, 0x59, 0x48, 0x25, 0xa1, 0x1f, 0x53, 0x2a, 0x15, - 0x3e, 0x05, 0x10, 0x34, 0xe1, 0x92, 0x29, 0x2e, 0x26, 0x36, 0xea, 0xa0, 0xde, 0xfa, 0x09, 0xee, - 0x9b, 0xa2, 0x7d, 0x52, 0x46, 0x86, 0xb5, 0xcf, 0x3f, 0x1e, 0x23, 0x32, 0xc3, 0xe2, 0xff, 0x60, - 0x93, 0xa7, 0xc2, 0xf1, 0x78, 0x14, 0x31, 0xe5, 0x70, 0xe6, 0xdb, 0x95, 0x0e, 0xea, 0x35, 0x89, - 0xc5, 0x53, 0x71, 0xae, 0xc5, 0x57, 0xcc, 0xc7, 0x3d, 0x68, 0xa9, 0x31, 0x65, 0x77, 0xb8, 0xaa, - 0xe6, 0x36, 0xb5, 0x5e, 0x92, 0xdd, 0x6f, 0x08, 0xf0, 0x6c, 0x8b, 0x97, 0xd4, 0xf5, 0xa9, 0xc0, - 0x7b, 0x00, 0x73, 0x25, 0x9a, 0x5e, 0x99, 0x7f, 0x0f, 0xc0, 0xe4, 0x4f, 0x5c, 0x35, 0xd6, 0x99, - 0x2d, 0xd2, 0xd4, 0xca, 0x6b, 0x57, 0x8d, 0xf1, 0x2e, 0x34, 0xb2, 0x26, 0x75, 0xb0, 0xa6, 0x83, - 0x6b, 0x3c, 0xbd, 0x13, 0x8a, 0xb8, 0x4f, 0xed, 0xd5, 0x0e, 0xea, 0xad, 0xea, 0xd0, 0x35, 0xf7, - 0x29, 0x3e, 0x84, 0x0d, 0x37, 0xf6, 0xa8, 0x54, 0x3c, 0x5f, 0x5a, 0xd7, 0x4b, 0xad, 0x42, 0xcc, - 0xd6, 0x5f, 0xd5, 0x1a, 0xa8, 0x55, 0xe9, 0x4e, 0xc0, 0x9a, 0x6d, 0x1a, 0x3f, 0x83, 0xfa, 0x58, - 0x37, 0x9e, 0x9f, 0x65, 0xbb, 0x38, 0xcb, 0xf9, 0xad, 0x5d, 0xae, 0x90, 0x9c, 0xc5, 0x6d, 0x58, - 0xf3, 0x78, 0xac, 0x68, 0xac, 0xf4, 0x0e, 0xad, 0xcb, 0x15, 0x52, 0x08, 0xc3, 0x1d, 0xf8, 0xb7, - 0x30, 0x85, 0x73, 0xc3, 0x42, 0xea, 0x24, 0xee, 0x24, 0xe4, 0xae, 0xdf, 0x7d, 0x01, 0xbb, 0x0b, - 0xc6, 0x2a, 0x13, 0x1e, 0x4b, 0x8a, 0x1f, 0xc1, 0x6a, 0x06, 0x4b, 0x1b, 0x75, 0xaa, 0xbd, 0xf5, - 0x93, 0x7f, 0x16, 0xb5, 0x41, 0x0c, 0xd2, 0xfd, 0x5e, 0x85, 0x3d, 0x42, 0x25, 0x0f, 0x6f, 0x69, - 0x11, 0x2e, 0xfc, 0x91, 0x0f, 0xe1, 0x6f, 0xbb, 0xe4, 0x0c, 0xb6, 0x95, 0x2b, 0x02, 0xaa, 0x9c, - 0x99, 0x32, 0xd5, 0x65, 0x65, 0x48, 0xcb, 0xc0, 0x53, 0x65, 0xa1, 0xcd, 0x6a, 0x8b, 0x6c, 0x96, - 0xcd, 0x56, 0xf2, 0x54, 0x78, 0xd4, 0x19, 0x09, 0x37, 0xf6, 0xc6, 0x7a, 0xf6, 0x16, 0xb1, 0x8c, - 0x38, 0xd4, 0x5a, 0x06, 0xe5, 0xfd, 0xe4, 0x50, 0x6e, 0x00, 0x23, 0xe6, 0xd0, 0x11, 0x6c, 0xe6, - 0xd5, 0x22, 0x2a, 0xa5, 0x1b, 0x50, 0x7b, 0x4d, 0x53, 0x1b, 0x46, 0xbd, 0x36, 0x22, 0xee, 0x40, - 0x2d, 0x95, 0x54, 0xd8, 0x0d, 0xbd, 0x1d, 0xab, 0xd8, 0xce, 0x3b, 0x49, 0x05, 0xd1, 0x11, 0x7c, - 0x0a, 0xcd, 0xf2, 0xce, 0xda, 0xcd, 0xc2, 0x36, 0xfa, 0x56, 0xf7, 0x8b, 0x5b, 0xdd, 0x7f, 0x5b, - 0x10, 0x64, 0x0a, 0x77, 0xbf, 0x20, 0xd8, 0x59, 0x32, 0x39, 0x7c, 0x76, 0xcf, 0x89, 0x47, 0xd3, - 0x83, 0x7c, 0x60, 0xd4, 0x33, 0xa6, 0xdc, 0x07, 0xd0, 0xfe, 0x70, 0x3e, 0x48, 0x1e, 0x97, 0xbe, - 0x6c, 0x6a, 0xed, 0x4a, 0xf2, 0x78, 0x78, 0x08, 0x07, 0xc2, 0xe4, 0x72, 0xca, 0x67, 0xcb, 0x11, - 0x26, 0x5b, 0xe9, 0xd2, 0x0b, 0xb0, 0xe7, 0x0b, 0xe6, 0x26, 0xfd, 0x1f, 0x5a, 0x3a, 0x41, 0xaa, - 0x18, 0x8f, 0x1d, 0x2a, 0x04, 0x37, 0xcd, 0x36, 0xc9, 0xd6, 0x54, 0xbf, 0xc8, 0xe4, 0x93, 0x9f, - 0x08, 0x5a, 0x65, 0x82, 0x37, 0x54, 0xdc, 0x32, 0x8f, 0xe2, 0x11, 0x6c, 0xcf, 0xdd, 0x00, 0xdc, - 0x29, 0xf6, 0xb9, 0xec, 0xcd, 0x6b, 0x1f, 0x3c, 0x40, 0x98, 0xce, 0xba, 0xf5, 0x5f, 0x9f, 0x7a, - 0x95, 0x46, 0xe5, 0x18, 0x61, 0x07, 0x5a, 0xf7, 0xfb, 0xc7, 0xfb, 0x7f, 0x38, 0xca, 0x76, 0x67, - 0x39, 0x70, 0xa7, 0x00, 0xea, 0xa1, 0xe1, 0xf1, 0xfb, 0x0c, 0x0e, 0xdd, 0x51, 0xdf, 0xe3, 0xd1, - 0xc0, 0x7c, 0x3e, 0xe1, 0x22, 0x18, 0x98, 0x14, 0xe6, 0x5d, 0x1f, 0x04, 0x3c, 0xff, 0x4f, 0x46, - 0xa3, 0xba, 0x96, 0x9e, 0xfe, 0x0e, 0x00, 0x00, 0xff, 0xff, 0xf2, 0xc4, 0x6e, 0x87, 0x2d, 0x06, - 0x00, 0x00, +var File_conflicts_proto protoreflect.FileDescriptor + +var file_conflicts_proto_rawDesc = []byte{ + 0x0a, 0x0f, 0x63, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x73, 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, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa4, 0x01, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6e, + 0x66, 0x6c, 0x69, 0x63, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, + 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, + 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x24, 0x0a, 0x0e, 0x6f, + 0x75, 0x72, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x6f, 0x69, 0x64, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6f, 0x75, 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x4f, 0x69, + 0x64, 0x12, 0x28, 0x0a, 0x10, 0x74, 0x68, 0x65, 0x69, 0x72, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, + 0x74, 0x5f, 0x6f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x74, 0x68, 0x65, + 0x69, 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x4f, 0x69, 0x64, 0x22, 0xb3, 0x01, 0x0a, 0x12, + 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x48, 0x65, 0x61, 0x64, + 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x6f, 0x69, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x4f, 0x69, + 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x68, 0x65, 0x69, 0x72, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x74, 0x68, 0x65, 0x69, 0x72, 0x50, 0x61, 0x74, 0x68, + 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x75, 0x72, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x07, 0x6f, 0x75, 0x72, 0x50, 0x61, 0x74, 0x68, 0x12, 0x19, 0x0a, 0x08, 0x6f, + 0x75, 0x72, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x6f, + 0x75, 0x72, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x74, + 0x6f, 0x72, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x61, + 0x6e, 0x63, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x50, 0x61, 0x74, 0x68, 0x4a, 0x04, 0x08, 0x01, 0x10, + 0x02, 0x22, 0x79, 0x0a, 0x0c, 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x46, 0x69, 0x6c, + 0x65, 0x12, 0x34, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x6c, + 0x69, 0x63, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x48, 0x00, 0x52, + 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, + 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, + 0x65, 0x6e, 0x74, 0x42, 0x17, 0x0a, 0x15, 0x63, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x5f, + 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x22, 0x47, 0x0a, 0x19, + 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x46, 0x69, 0x6c, 0x65, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x05, 0x66, 0x69, 0x6c, + 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, + 0x79, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x05, + 0x66, 0x69, 0x6c, 0x65, 0x73, 0x22, 0xb7, 0x03, 0x0a, 0x1d, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, + 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 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, 0x24, 0x0a, 0x0e, 0x6f, 0x75, 0x72, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, + 0x6f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6f, 0x75, 0x72, 0x43, 0x6f, + 0x6d, 0x6d, 0x69, 0x74, 0x4f, 0x69, 0x64, 0x12, 0x3f, 0x0a, 0x11, 0x74, 0x61, 0x72, 0x67, 0x65, + 0x74, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x03, 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, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, + 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x28, 0x0a, 0x10, 0x74, 0x68, 0x65, 0x69, + 0x72, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x6f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0e, 0x74, 0x68, 0x65, 0x69, 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x4f, + 0x69, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x62, 0x72, 0x61, + 0x6e, 0x63, 0x68, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x23, 0x0a, 0x0d, 0x74, 0x61, 0x72, 0x67, 0x65, + 0x74, 0x5f, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, + 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x25, 0x0a, 0x0e, + 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x07, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x4d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x12, 0x20, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x08, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x0c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, + 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x38, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, + 0x6d, 0x70, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, + 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, + 0xa0, 0x01, 0x0a, 0x17, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x6c, + 0x69, 0x63, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3f, 0x0a, 0x06, 0x68, + 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x43, 0x6f, 0x6e, 0x66, + 0x6c, 0x69, 0x63, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x65, 0x61, 0x64, + 0x65, 0x72, 0x48, 0x00, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x1f, 0x0a, 0x0a, + 0x66, 0x69, 0x6c, 0x65, 0x73, 0x5f, 0x6a, 0x73, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, + 0x48, 0x00, 0x52, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x4a, 0x73, 0x6f, 0x6e, 0x42, 0x23, 0x0a, + 0x21, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, + 0x74, 0x73, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x70, 0x61, 0x79, 0x6c, 0x6f, + 0x61, 0x64, 0x22, 0x45, 0x0a, 0x18, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x43, 0x6f, 0x6e, + 0x66, 0x6c, 0x69, 0x63, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x29, + 0x0a, 0x10, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x65, 0x72, 0x72, + 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x75, + 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x32, 0xd7, 0x01, 0x0a, 0x10, 0x43, 0x6f, + 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x62, + 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x46, 0x69, + 0x6c, 0x65, 0x73, 0x12, 0x20, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x73, + 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, + 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, + 0x30, 0x01, 0x12, 0x5f, 0x0a, 0x10, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x43, 0x6f, 0x6e, + 0x66, 0x6c, 0x69, 0x63, 0x74, 0x73, 0x12, 0x1f, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, + 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, + 0x01, 0x28, 0x01, 0x42, 0x30, 0x5a, 0x2e, 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, 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_conflicts_proto_rawDescOnce sync.Once + file_conflicts_proto_rawDescData = file_conflicts_proto_rawDesc +) + +func file_conflicts_proto_rawDescGZIP() []byte { + file_conflicts_proto_rawDescOnce.Do(func() { + file_conflicts_proto_rawDescData = protoimpl.X.CompressGZIP(file_conflicts_proto_rawDescData) + }) + return file_conflicts_proto_rawDescData +} + +var file_conflicts_proto_msgTypes = make([]protoimpl.MessageInfo, 7) +var file_conflicts_proto_goTypes = []interface{}{ + (*ListConflictFilesRequest)(nil), // 0: gitaly.ListConflictFilesRequest + (*ConflictFileHeader)(nil), // 1: gitaly.ConflictFileHeader + (*ConflictFile)(nil), // 2: gitaly.ConflictFile + (*ListConflictFilesResponse)(nil), // 3: gitaly.ListConflictFilesResponse + (*ResolveConflictsRequestHeader)(nil), // 4: gitaly.ResolveConflictsRequestHeader + (*ResolveConflictsRequest)(nil), // 5: gitaly.ResolveConflictsRequest + (*ResolveConflictsResponse)(nil), // 6: gitaly.ResolveConflictsResponse + (*Repository)(nil), // 7: gitaly.Repository + (*User)(nil), // 8: gitaly.User + (*timestamp.Timestamp)(nil), // 9: google.protobuf.Timestamp +} +var file_conflicts_proto_depIdxs = []int32{ + 7, // 0: gitaly.ListConflictFilesRequest.repository:type_name -> gitaly.Repository + 1, // 1: gitaly.ConflictFile.header:type_name -> gitaly.ConflictFileHeader + 2, // 2: gitaly.ListConflictFilesResponse.files:type_name -> gitaly.ConflictFile + 7, // 3: gitaly.ResolveConflictsRequestHeader.repository:type_name -> gitaly.Repository + 7, // 4: gitaly.ResolveConflictsRequestHeader.target_repository:type_name -> gitaly.Repository + 8, // 5: gitaly.ResolveConflictsRequestHeader.user:type_name -> gitaly.User + 9, // 6: gitaly.ResolveConflictsRequestHeader.timestamp:type_name -> google.protobuf.Timestamp + 4, // 7: gitaly.ResolveConflictsRequest.header:type_name -> gitaly.ResolveConflictsRequestHeader + 0, // 8: gitaly.ConflictsService.ListConflictFiles:input_type -> gitaly.ListConflictFilesRequest + 5, // 9: gitaly.ConflictsService.ResolveConflicts:input_type -> gitaly.ResolveConflictsRequest + 3, // 10: gitaly.ConflictsService.ListConflictFiles:output_type -> gitaly.ListConflictFilesResponse + 6, // 11: gitaly.ConflictsService.ResolveConflicts:output_type -> gitaly.ResolveConflictsResponse + 10, // [10:12] is the sub-list for method output_type + 8, // [8:10] is the sub-list for method input_type + 8, // [8:8] is the sub-list for extension type_name + 8, // [8:8] is the sub-list for extension extendee + 0, // [0:8] is the sub-list for field type_name +} + +func init() { file_conflicts_proto_init() } +func file_conflicts_proto_init() { + if File_conflicts_proto != nil { + return + } + file_lint_proto_init() + file_shared_proto_init() + if !protoimpl.UnsafeEnabled { + file_conflicts_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListConflictFilesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_conflicts_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConflictFileHeader); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_conflicts_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConflictFile); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_conflicts_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListConflictFilesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_conflicts_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ResolveConflictsRequestHeader); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_conflicts_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ResolveConflictsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_conflicts_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ResolveConflictsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_conflicts_proto_msgTypes[2].OneofWrappers = []interface{}{ + (*ConflictFile_Header)(nil), + (*ConflictFile_Content)(nil), + } + file_conflicts_proto_msgTypes[5].OneofWrappers = []interface{}{ + (*ResolveConflictsRequest_Header)(nil), + (*ResolveConflictsRequest_FilesJson)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_conflicts_proto_rawDesc, + NumEnums: 0, + NumMessages: 7, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_conflicts_proto_goTypes, + DependencyIndexes: file_conflicts_proto_depIdxs, + MessageInfos: file_conflicts_proto_msgTypes, + }.Build() + File_conflicts_proto = out.File + file_conflicts_proto_rawDesc = nil + file_conflicts_proto_goTypes = nil + file_conflicts_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConn +var _ grpc.ClientConnInterface // 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 +const _ = grpc.SupportPackageIsVersion6 // ConflictsServiceClient is the client API for ConflictsService service. // @@ -601,10 +858,10 @@ type ConflictsServiceClient interface { } type conflictsServiceClient struct { - cc *grpc.ClientConn + cc grpc.ClientConnInterface } -func NewConflictsServiceClient(cc *grpc.ClientConn) ConflictsServiceClient { +func NewConflictsServiceClient(cc grpc.ClientConnInterface) ConflictsServiceClient { return &conflictsServiceClient{cc} } @@ -687,10 +944,10 @@ type ConflictsServiceServer interface { type UnimplementedConflictsServiceServer struct { } -func (*UnimplementedConflictsServiceServer) ListConflictFiles(req *ListConflictFilesRequest, srv ConflictsService_ListConflictFilesServer) error { +func (*UnimplementedConflictsServiceServer) ListConflictFiles(*ListConflictFilesRequest, ConflictsService_ListConflictFilesServer) error { return status.Errorf(codes.Unimplemented, "method ListConflictFiles not implemented") } -func (*UnimplementedConflictsServiceServer) ResolveConflicts(srv ConflictsService_ResolveConflictsServer) error { +func (*UnimplementedConflictsServiceServer) ResolveConflicts(ConflictsService_ResolveConflictsServer) error { return status.Errorf(codes.Unimplemented, "method ResolveConflicts not implemented") } diff --git a/proto/go/gitalypb/diff.pb.go b/proto/go/gitalypb/diff.pb.go index 75f92a31a..982d2fad3 100644 --- a/proto/go/gitalypb/diff.pb.go +++ b/proto/go/gitalypb/diff.pb.go @@ -1,28 +1,33 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc v3.12.4 // source: diff.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 +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) +) -// 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 +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 type CommitDiffRequest_DiffMode int32 @@ -33,22 +38,43 @@ const ( CommitDiffRequest_WORDDIFF CommitDiffRequest_DiffMode = 1 ) -var CommitDiffRequest_DiffMode_name = map[int32]string{ - 0: "DEFAULT", - 1: "WORDDIFF", -} +// Enum value maps for CommitDiffRequest_DiffMode. +var ( + CommitDiffRequest_DiffMode_name = map[int32]string{ + 0: "DEFAULT", + 1: "WORDDIFF", + } + CommitDiffRequest_DiffMode_value = map[string]int32{ + "DEFAULT": 0, + "WORDDIFF": 1, + } +) -var CommitDiffRequest_DiffMode_value = map[string]int32{ - "DEFAULT": 0, - "WORDDIFF": 1, +func (x CommitDiffRequest_DiffMode) Enum() *CommitDiffRequest_DiffMode { + p := new(CommitDiffRequest_DiffMode) + *p = x + return p } func (x CommitDiffRequest_DiffMode) String() string { - return proto.EnumName(CommitDiffRequest_DiffMode_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (CommitDiffRequest_DiffMode) Descriptor() protoreflect.EnumDescriptor { + return file_diff_proto_enumTypes[0].Descriptor() +} + +func (CommitDiffRequest_DiffMode) Type() protoreflect.EnumType { + return &file_diff_proto_enumTypes[0] } +func (x CommitDiffRequest_DiffMode) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use CommitDiffRequest_DiffMode.Descriptor instead. func (CommitDiffRequest_DiffMode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_686521effc814b25, []int{0, 0} + return file_diff_proto_rawDescGZIP(), []int{0, 0} } type ChangedPaths_Status int32 @@ -61,31 +87,56 @@ const ( ChangedPaths_COPIED ChangedPaths_Status = 4 ) -var ChangedPaths_Status_name = map[int32]string{ - 0: "ADDED", - 1: "MODIFIED", - 2: "DELETED", - 3: "TYPE_CHANGE", - 4: "COPIED", -} +// Enum value maps for ChangedPaths_Status. +var ( + ChangedPaths_Status_name = map[int32]string{ + 0: "ADDED", + 1: "MODIFIED", + 2: "DELETED", + 3: "TYPE_CHANGE", + 4: "COPIED", + } + ChangedPaths_Status_value = map[string]int32{ + "ADDED": 0, + "MODIFIED": 1, + "DELETED": 2, + "TYPE_CHANGE": 3, + "COPIED": 4, + } +) -var ChangedPaths_Status_value = map[string]int32{ - "ADDED": 0, - "MODIFIED": 1, - "DELETED": 2, - "TYPE_CHANGE": 3, - "COPIED": 4, +func (x ChangedPaths_Status) Enum() *ChangedPaths_Status { + p := new(ChangedPaths_Status) + *p = x + return p } func (x ChangedPaths_Status) String() string { - return proto.EnumName(ChangedPaths_Status_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ChangedPaths_Status) Descriptor() protoreflect.EnumDescriptor { + return file_diff_proto_enumTypes[1].Descriptor() +} + +func (ChangedPaths_Status) Type() protoreflect.EnumType { + return &file_diff_proto_enumTypes[1] } +func (x ChangedPaths_Status) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ChangedPaths_Status.Descriptor instead. func (ChangedPaths_Status) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_686521effc814b25, []int{14, 0} + return file_diff_proto_rawDescGZIP(), []int{14, 0} } type CommitDiffRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` LeftCommitId string `protobuf:"bytes,2,opt,name=left_commit_id,json=leftCommitId,proto3" json:"left_commit_id,omitempty"` RightCommitId string `protobuf:"bytes,3,opt,name=right_commit_id,json=rightCommitId,proto3" json:"right_commit_id,omitempty"` @@ -106,144 +157,152 @@ type CommitDiffRequest struct { SafeMaxLines int32 `protobuf:"varint,12,opt,name=safe_max_lines,json=safeMaxLines,proto3" json:"safe_max_lines,omitempty"` SafeMaxBytes int32 `protobuf:"varint,13,opt,name=safe_max_bytes,json=safeMaxBytes,proto3" json:"safe_max_bytes,omitempty"` // DiffMode is the mode used for generating the diff. Please refer to the enum declaration for supported modes. - DiffMode CommitDiffRequest_DiffMode `protobuf:"varint,15,opt,name=diff_mode,json=diffMode,proto3,enum=gitaly.CommitDiffRequest_DiffMode" json:"diff_mode,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + DiffMode CommitDiffRequest_DiffMode `protobuf:"varint,15,opt,name=diff_mode,json=diffMode,proto3,enum=gitaly.CommitDiffRequest_DiffMode" json:"diff_mode,omitempty"` } -func (m *CommitDiffRequest) Reset() { *m = CommitDiffRequest{} } -func (m *CommitDiffRequest) String() string { return proto.CompactTextString(m) } -func (*CommitDiffRequest) ProtoMessage() {} -func (*CommitDiffRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_686521effc814b25, []int{0} +func (x *CommitDiffRequest) Reset() { + *x = CommitDiffRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_diff_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CommitDiffRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CommitDiffRequest.Unmarshal(m, b) -} -func (m *CommitDiffRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CommitDiffRequest.Marshal(b, m, deterministic) +func (x *CommitDiffRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CommitDiffRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CommitDiffRequest.Merge(m, src) -} -func (m *CommitDiffRequest) XXX_Size() int { - return xxx_messageInfo_CommitDiffRequest.Size(m) -} -func (m *CommitDiffRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CommitDiffRequest.DiscardUnknown(m) + +func (*CommitDiffRequest) ProtoMessage() {} + +func (x *CommitDiffRequest) ProtoReflect() protoreflect.Message { + mi := &file_diff_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_CommitDiffRequest proto.InternalMessageInfo +// Deprecated: Use CommitDiffRequest.ProtoReflect.Descriptor instead. +func (*CommitDiffRequest) Descriptor() ([]byte, []int) { + return file_diff_proto_rawDescGZIP(), []int{0} +} -func (m *CommitDiffRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *CommitDiffRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *CommitDiffRequest) GetLeftCommitId() string { - if m != nil { - return m.LeftCommitId +func (x *CommitDiffRequest) GetLeftCommitId() string { + if x != nil { + return x.LeftCommitId } return "" } -func (m *CommitDiffRequest) GetRightCommitId() string { - if m != nil { - return m.RightCommitId +func (x *CommitDiffRequest) GetRightCommitId() string { + if x != nil { + return x.RightCommitId } return "" } -func (m *CommitDiffRequest) GetIgnoreWhitespaceChange() bool { - if m != nil { - return m.IgnoreWhitespaceChange +func (x *CommitDiffRequest) GetIgnoreWhitespaceChange() bool { + if x != nil { + return x.IgnoreWhitespaceChange } return false } -func (m *CommitDiffRequest) GetPaths() [][]byte { - if m != nil { - return m.Paths +func (x *CommitDiffRequest) GetPaths() [][]byte { + if x != nil { + return x.Paths } return nil } -func (m *CommitDiffRequest) GetCollapseDiffs() bool { - if m != nil { - return m.CollapseDiffs +func (x *CommitDiffRequest) GetCollapseDiffs() bool { + if x != nil { + return x.CollapseDiffs } return false } -func (m *CommitDiffRequest) GetEnforceLimits() bool { - if m != nil { - return m.EnforceLimits +func (x *CommitDiffRequest) GetEnforceLimits() bool { + if x != nil { + return x.EnforceLimits } return false } -func (m *CommitDiffRequest) GetMaxFiles() int32 { - if m != nil { - return m.MaxFiles +func (x *CommitDiffRequest) GetMaxFiles() int32 { + if x != nil { + return x.MaxFiles } return 0 } -func (m *CommitDiffRequest) GetMaxLines() int32 { - if m != nil { - return m.MaxLines +func (x *CommitDiffRequest) GetMaxLines() int32 { + if x != nil { + return x.MaxLines } return 0 } -func (m *CommitDiffRequest) GetMaxBytes() int32 { - if m != nil { - return m.MaxBytes +func (x *CommitDiffRequest) GetMaxBytes() int32 { + if x != nil { + return x.MaxBytes } return 0 } -func (m *CommitDiffRequest) GetMaxPatchBytes() int32 { - if m != nil { - return m.MaxPatchBytes +func (x *CommitDiffRequest) GetMaxPatchBytes() int32 { + if x != nil { + return x.MaxPatchBytes } return 0 } -func (m *CommitDiffRequest) GetSafeMaxFiles() int32 { - if m != nil { - return m.SafeMaxFiles +func (x *CommitDiffRequest) GetSafeMaxFiles() int32 { + if x != nil { + return x.SafeMaxFiles } return 0 } -func (m *CommitDiffRequest) GetSafeMaxLines() int32 { - if m != nil { - return m.SafeMaxLines +func (x *CommitDiffRequest) GetSafeMaxLines() int32 { + if x != nil { + return x.SafeMaxLines } return 0 } -func (m *CommitDiffRequest) GetSafeMaxBytes() int32 { - if m != nil { - return m.SafeMaxBytes +func (x *CommitDiffRequest) GetSafeMaxBytes() int32 { + if x != nil { + return x.SafeMaxBytes } return 0 } -func (m *CommitDiffRequest) GetDiffMode() CommitDiffRequest_DiffMode { - if m != nil { - return m.DiffMode +func (x *CommitDiffRequest) GetDiffMode() CommitDiffRequest_DiffMode { + if x != nil { + return x.DiffMode } return CommitDiffRequest_DEFAULT } // A CommitDiffResponse corresponds to a single changed file in a commit. type CommitDiffResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + FromPath []byte `protobuf:"bytes,1,opt,name=from_path,json=fromPath,proto3" json:"from_path,omitempty"` ToPath []byte `protobuf:"bytes,2,opt,name=to_path,json=toPath,proto3" json:"to_path,omitempty"` // Blob ID as returned via `git diff --full-index` @@ -262,644 +321,728 @@ type CommitDiffResponse struct { Collapsed bool `protobuf:"varint,12,opt,name=collapsed,proto3" json:"collapsed,omitempty"` // Indicates the patch was pruned since it surpassed a hard limit, and can // therefore not be expanded. - TooLarge bool `protobuf:"varint,13,opt,name=too_large,json=tooLarge,proto3" json:"too_large,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + TooLarge bool `protobuf:"varint,13,opt,name=too_large,json=tooLarge,proto3" json:"too_large,omitempty"` } -func (m *CommitDiffResponse) Reset() { *m = CommitDiffResponse{} } -func (m *CommitDiffResponse) String() string { return proto.CompactTextString(m) } -func (*CommitDiffResponse) ProtoMessage() {} -func (*CommitDiffResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_686521effc814b25, []int{1} +func (x *CommitDiffResponse) Reset() { + *x = CommitDiffResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_diff_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CommitDiffResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CommitDiffResponse.Unmarshal(m, b) -} -func (m *CommitDiffResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CommitDiffResponse.Marshal(b, m, deterministic) -} -func (m *CommitDiffResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CommitDiffResponse.Merge(m, src) +func (x *CommitDiffResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CommitDiffResponse) XXX_Size() int { - return xxx_messageInfo_CommitDiffResponse.Size(m) -} -func (m *CommitDiffResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CommitDiffResponse.DiscardUnknown(m) + +func (*CommitDiffResponse) ProtoMessage() {} + +func (x *CommitDiffResponse) ProtoReflect() protoreflect.Message { + mi := &file_diff_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) } -var xxx_messageInfo_CommitDiffResponse proto.InternalMessageInfo +// Deprecated: Use CommitDiffResponse.ProtoReflect.Descriptor instead. +func (*CommitDiffResponse) Descriptor() ([]byte, []int) { + return file_diff_proto_rawDescGZIP(), []int{1} +} -func (m *CommitDiffResponse) GetFromPath() []byte { - if m != nil { - return m.FromPath +func (x *CommitDiffResponse) GetFromPath() []byte { + if x != nil { + return x.FromPath } return nil } -func (m *CommitDiffResponse) GetToPath() []byte { - if m != nil { - return m.ToPath +func (x *CommitDiffResponse) GetToPath() []byte { + if x != nil { + return x.ToPath } return nil } -func (m *CommitDiffResponse) GetFromId() string { - if m != nil { - return m.FromId +func (x *CommitDiffResponse) GetFromId() string { + if x != nil { + return x.FromId } return "" } -func (m *CommitDiffResponse) GetToId() string { - if m != nil { - return m.ToId +func (x *CommitDiffResponse) GetToId() string { + if x != nil { + return x.ToId } return "" } -func (m *CommitDiffResponse) GetOldMode() int32 { - if m != nil { - return m.OldMode +func (x *CommitDiffResponse) GetOldMode() int32 { + if x != nil { + return x.OldMode } return 0 } -func (m *CommitDiffResponse) GetNewMode() int32 { - if m != nil { - return m.NewMode +func (x *CommitDiffResponse) GetNewMode() int32 { + if x != nil { + return x.NewMode } return 0 } -func (m *CommitDiffResponse) GetBinary() bool { - if m != nil { - return m.Binary +func (x *CommitDiffResponse) GetBinary() bool { + if x != nil { + return x.Binary } return false } -func (m *CommitDiffResponse) GetRawPatchData() []byte { - if m != nil { - return m.RawPatchData +func (x *CommitDiffResponse) GetRawPatchData() []byte { + if x != nil { + return x.RawPatchData } return nil } -func (m *CommitDiffResponse) GetEndOfPatch() bool { - if m != nil { - return m.EndOfPatch +func (x *CommitDiffResponse) GetEndOfPatch() bool { + if x != nil { + return x.EndOfPatch } return false } -func (m *CommitDiffResponse) GetOverflowMarker() bool { - if m != nil { - return m.OverflowMarker +func (x *CommitDiffResponse) GetOverflowMarker() bool { + if x != nil { + return x.OverflowMarker } return false } -func (m *CommitDiffResponse) GetCollapsed() bool { - if m != nil { - return m.Collapsed +func (x *CommitDiffResponse) GetCollapsed() bool { + if x != nil { + return x.Collapsed } return false } -func (m *CommitDiffResponse) GetTooLarge() bool { - if m != nil { - return m.TooLarge +func (x *CommitDiffResponse) GetTooLarge() bool { + if x != nil { + return x.TooLarge } return false } type CommitDeltaRequest struct { - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - LeftCommitId string `protobuf:"bytes,2,opt,name=left_commit_id,json=leftCommitId,proto3" json:"left_commit_id,omitempty"` - RightCommitId string `protobuf:"bytes,3,opt,name=right_commit_id,json=rightCommitId,proto3" json:"right_commit_id,omitempty"` - Paths [][]byte `protobuf:"bytes,4,rep,name=paths,proto3" json:"paths,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CommitDeltaRequest) Reset() { *m = CommitDeltaRequest{} } -func (m *CommitDeltaRequest) String() string { return proto.CompactTextString(m) } -func (*CommitDeltaRequest) ProtoMessage() {} -func (*CommitDeltaRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_686521effc814b25, []int{2} -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *CommitDeltaRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CommitDeltaRequest.Unmarshal(m, b) -} -func (m *CommitDeltaRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CommitDeltaRequest.Marshal(b, m, deterministic) + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + LeftCommitId string `protobuf:"bytes,2,opt,name=left_commit_id,json=leftCommitId,proto3" json:"left_commit_id,omitempty"` + RightCommitId string `protobuf:"bytes,3,opt,name=right_commit_id,json=rightCommitId,proto3" json:"right_commit_id,omitempty"` + Paths [][]byte `protobuf:"bytes,4,rep,name=paths,proto3" json:"paths,omitempty"` } -func (m *CommitDeltaRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CommitDeltaRequest.Merge(m, src) + +func (x *CommitDeltaRequest) Reset() { + *x = CommitDeltaRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_diff_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CommitDeltaRequest) XXX_Size() int { - return xxx_messageInfo_CommitDeltaRequest.Size(m) + +func (x *CommitDeltaRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CommitDeltaRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CommitDeltaRequest.DiscardUnknown(m) + +func (*CommitDeltaRequest) ProtoMessage() {} + +func (x *CommitDeltaRequest) ProtoReflect() protoreflect.Message { + mi := &file_diff_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_CommitDeltaRequest proto.InternalMessageInfo +// Deprecated: Use CommitDeltaRequest.ProtoReflect.Descriptor instead. +func (*CommitDeltaRequest) Descriptor() ([]byte, []int) { + return file_diff_proto_rawDescGZIP(), []int{2} +} -func (m *CommitDeltaRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *CommitDeltaRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *CommitDeltaRequest) GetLeftCommitId() string { - if m != nil { - return m.LeftCommitId +func (x *CommitDeltaRequest) GetLeftCommitId() string { + if x != nil { + return x.LeftCommitId } return "" } -func (m *CommitDeltaRequest) GetRightCommitId() string { - if m != nil { - return m.RightCommitId +func (x *CommitDeltaRequest) GetRightCommitId() string { + if x != nil { + return x.RightCommitId } return "" } -func (m *CommitDeltaRequest) GetPaths() [][]byte { - if m != nil { - return m.Paths +func (x *CommitDeltaRequest) GetPaths() [][]byte { + if x != nil { + return x.Paths } return nil } type CommitDelta struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + FromPath []byte `protobuf:"bytes,1,opt,name=from_path,json=fromPath,proto3" json:"from_path,omitempty"` ToPath []byte `protobuf:"bytes,2,opt,name=to_path,json=toPath,proto3" json:"to_path,omitempty"` // Blob ID as returned via `git diff --full-index` - FromId string `protobuf:"bytes,3,opt,name=from_id,json=fromId,proto3" json:"from_id,omitempty"` - ToId string `protobuf:"bytes,4,opt,name=to_id,json=toId,proto3" json:"to_id,omitempty"` - OldMode int32 `protobuf:"varint,5,opt,name=old_mode,json=oldMode,proto3" json:"old_mode,omitempty"` - NewMode int32 `protobuf:"varint,6,opt,name=new_mode,json=newMode,proto3" json:"new_mode,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CommitDelta) Reset() { *m = CommitDelta{} } -func (m *CommitDelta) String() string { return proto.CompactTextString(m) } -func (*CommitDelta) ProtoMessage() {} -func (*CommitDelta) Descriptor() ([]byte, []int) { - return fileDescriptor_686521effc814b25, []int{3} + FromId string `protobuf:"bytes,3,opt,name=from_id,json=fromId,proto3" json:"from_id,omitempty"` + ToId string `protobuf:"bytes,4,opt,name=to_id,json=toId,proto3" json:"to_id,omitempty"` + OldMode int32 `protobuf:"varint,5,opt,name=old_mode,json=oldMode,proto3" json:"old_mode,omitempty"` + NewMode int32 `protobuf:"varint,6,opt,name=new_mode,json=newMode,proto3" json:"new_mode,omitempty"` } -func (m *CommitDelta) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CommitDelta.Unmarshal(m, b) -} -func (m *CommitDelta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CommitDelta.Marshal(b, m, deterministic) -} -func (m *CommitDelta) XXX_Merge(src proto.Message) { - xxx_messageInfo_CommitDelta.Merge(m, src) +func (x *CommitDelta) Reset() { + *x = CommitDelta{} + if protoimpl.UnsafeEnabled { + mi := &file_diff_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CommitDelta) XXX_Size() int { - return xxx_messageInfo_CommitDelta.Size(m) + +func (x *CommitDelta) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CommitDelta) XXX_DiscardUnknown() { - xxx_messageInfo_CommitDelta.DiscardUnknown(m) + +func (*CommitDelta) ProtoMessage() {} + +func (x *CommitDelta) ProtoReflect() protoreflect.Message { + mi := &file_diff_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_CommitDelta proto.InternalMessageInfo +// Deprecated: Use CommitDelta.ProtoReflect.Descriptor instead. +func (*CommitDelta) Descriptor() ([]byte, []int) { + return file_diff_proto_rawDescGZIP(), []int{3} +} -func (m *CommitDelta) GetFromPath() []byte { - if m != nil { - return m.FromPath +func (x *CommitDelta) GetFromPath() []byte { + if x != nil { + return x.FromPath } return nil } -func (m *CommitDelta) GetToPath() []byte { - if m != nil { - return m.ToPath +func (x *CommitDelta) GetToPath() []byte { + if x != nil { + return x.ToPath } return nil } -func (m *CommitDelta) GetFromId() string { - if m != nil { - return m.FromId +func (x *CommitDelta) GetFromId() string { + if x != nil { + return x.FromId } return "" } -func (m *CommitDelta) GetToId() string { - if m != nil { - return m.ToId +func (x *CommitDelta) GetToId() string { + if x != nil { + return x.ToId } return "" } -func (m *CommitDelta) GetOldMode() int32 { - if m != nil { - return m.OldMode +func (x *CommitDelta) GetOldMode() int32 { + if x != nil { + return x.OldMode } return 0 } -func (m *CommitDelta) GetNewMode() int32 { - if m != nil { - return m.NewMode +func (x *CommitDelta) GetNewMode() int32 { + if x != nil { + return x.NewMode } return 0 } type CommitDeltaResponse struct { - Deltas []*CommitDelta `protobuf:"bytes,1,rep,name=deltas,proto3" json:"deltas,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *CommitDeltaResponse) Reset() { *m = CommitDeltaResponse{} } -func (m *CommitDeltaResponse) String() string { return proto.CompactTextString(m) } -func (*CommitDeltaResponse) ProtoMessage() {} -func (*CommitDeltaResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_686521effc814b25, []int{4} + Deltas []*CommitDelta `protobuf:"bytes,1,rep,name=deltas,proto3" json:"deltas,omitempty"` } -func (m *CommitDeltaResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CommitDeltaResponse.Unmarshal(m, b) -} -func (m *CommitDeltaResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CommitDeltaResponse.Marshal(b, m, deterministic) -} -func (m *CommitDeltaResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CommitDeltaResponse.Merge(m, src) +func (x *CommitDeltaResponse) Reset() { + *x = CommitDeltaResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_diff_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CommitDeltaResponse) XXX_Size() int { - return xxx_messageInfo_CommitDeltaResponse.Size(m) + +func (x *CommitDeltaResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CommitDeltaResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CommitDeltaResponse.DiscardUnknown(m) + +func (*CommitDeltaResponse) ProtoMessage() {} + +func (x *CommitDeltaResponse) ProtoReflect() protoreflect.Message { + mi := &file_diff_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_CommitDeltaResponse proto.InternalMessageInfo +// Deprecated: Use CommitDeltaResponse.ProtoReflect.Descriptor instead. +func (*CommitDeltaResponse) Descriptor() ([]byte, []int) { + return file_diff_proto_rawDescGZIP(), []int{4} +} -func (m *CommitDeltaResponse) GetDeltas() []*CommitDelta { - if m != nil { - return m.Deltas +func (x *CommitDeltaResponse) GetDeltas() []*CommitDelta { + if x != nil { + return x.Deltas } return nil } type RawDiffRequest struct { - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - LeftCommitId string `protobuf:"bytes,2,opt,name=left_commit_id,json=leftCommitId,proto3" json:"left_commit_id,omitempty"` - RightCommitId string `protobuf:"bytes,3,opt,name=right_commit_id,json=rightCommitId,proto3" json:"right_commit_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *RawDiffRequest) Reset() { *m = RawDiffRequest{} } -func (m *RawDiffRequest) String() string { return proto.CompactTextString(m) } -func (*RawDiffRequest) ProtoMessage() {} -func (*RawDiffRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_686521effc814b25, []int{5} + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + LeftCommitId string `protobuf:"bytes,2,opt,name=left_commit_id,json=leftCommitId,proto3" json:"left_commit_id,omitempty"` + RightCommitId string `protobuf:"bytes,3,opt,name=right_commit_id,json=rightCommitId,proto3" json:"right_commit_id,omitempty"` } -func (m *RawDiffRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RawDiffRequest.Unmarshal(m, b) -} -func (m *RawDiffRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RawDiffRequest.Marshal(b, m, deterministic) -} -func (m *RawDiffRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RawDiffRequest.Merge(m, src) +func (x *RawDiffRequest) Reset() { + *x = RawDiffRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_diff_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RawDiffRequest) XXX_Size() int { - return xxx_messageInfo_RawDiffRequest.Size(m) + +func (x *RawDiffRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RawDiffRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RawDiffRequest.DiscardUnknown(m) + +func (*RawDiffRequest) ProtoMessage() {} + +func (x *RawDiffRequest) ProtoReflect() protoreflect.Message { + mi := &file_diff_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_RawDiffRequest proto.InternalMessageInfo +// Deprecated: Use RawDiffRequest.ProtoReflect.Descriptor instead. +func (*RawDiffRequest) Descriptor() ([]byte, []int) { + return file_diff_proto_rawDescGZIP(), []int{5} +} -func (m *RawDiffRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *RawDiffRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *RawDiffRequest) GetLeftCommitId() string { - if m != nil { - return m.LeftCommitId +func (x *RawDiffRequest) GetLeftCommitId() string { + if x != nil { + return x.LeftCommitId } return "" } -func (m *RawDiffRequest) GetRightCommitId() string { - if m != nil { - return m.RightCommitId +func (x *RawDiffRequest) GetRightCommitId() string { + if x != nil { + return x.RightCommitId } return "" } type RawDiffResponse struct { - Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *RawDiffResponse) Reset() { *m = RawDiffResponse{} } -func (m *RawDiffResponse) String() string { return proto.CompactTextString(m) } -func (*RawDiffResponse) ProtoMessage() {} -func (*RawDiffResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_686521effc814b25, []int{6} + Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` } -func (m *RawDiffResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RawDiffResponse.Unmarshal(m, b) -} -func (m *RawDiffResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RawDiffResponse.Marshal(b, m, deterministic) -} -func (m *RawDiffResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_RawDiffResponse.Merge(m, src) +func (x *RawDiffResponse) Reset() { + *x = RawDiffResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_diff_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RawDiffResponse) XXX_Size() int { - return xxx_messageInfo_RawDiffResponse.Size(m) + +func (x *RawDiffResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RawDiffResponse) XXX_DiscardUnknown() { - xxx_messageInfo_RawDiffResponse.DiscardUnknown(m) + +func (*RawDiffResponse) ProtoMessage() {} + +func (x *RawDiffResponse) ProtoReflect() protoreflect.Message { + mi := &file_diff_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_RawDiffResponse proto.InternalMessageInfo +// Deprecated: Use RawDiffResponse.ProtoReflect.Descriptor instead. +func (*RawDiffResponse) Descriptor() ([]byte, []int) { + return file_diff_proto_rawDescGZIP(), []int{6} +} -func (m *RawDiffResponse) GetData() []byte { - if m != nil { - return m.Data +func (x *RawDiffResponse) GetData() []byte { + if x != nil { + return x.Data } return nil } type RawPatchRequest struct { - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - LeftCommitId string `protobuf:"bytes,2,opt,name=left_commit_id,json=leftCommitId,proto3" json:"left_commit_id,omitempty"` - RightCommitId string `protobuf:"bytes,3,opt,name=right_commit_id,json=rightCommitId,proto3" json:"right_commit_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *RawPatchRequest) Reset() { *m = RawPatchRequest{} } -func (m *RawPatchRequest) String() string { return proto.CompactTextString(m) } -func (*RawPatchRequest) ProtoMessage() {} -func (*RawPatchRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_686521effc814b25, []int{7} + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + LeftCommitId string `protobuf:"bytes,2,opt,name=left_commit_id,json=leftCommitId,proto3" json:"left_commit_id,omitempty"` + RightCommitId string `protobuf:"bytes,3,opt,name=right_commit_id,json=rightCommitId,proto3" json:"right_commit_id,omitempty"` } -func (m *RawPatchRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RawPatchRequest.Unmarshal(m, b) -} -func (m *RawPatchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RawPatchRequest.Marshal(b, m, deterministic) -} -func (m *RawPatchRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RawPatchRequest.Merge(m, src) +func (x *RawPatchRequest) Reset() { + *x = RawPatchRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_diff_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RawPatchRequest) XXX_Size() int { - return xxx_messageInfo_RawPatchRequest.Size(m) + +func (x *RawPatchRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RawPatchRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RawPatchRequest.DiscardUnknown(m) + +func (*RawPatchRequest) ProtoMessage() {} + +func (x *RawPatchRequest) ProtoReflect() protoreflect.Message { + mi := &file_diff_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) } -var xxx_messageInfo_RawPatchRequest proto.InternalMessageInfo +// Deprecated: Use RawPatchRequest.ProtoReflect.Descriptor instead. +func (*RawPatchRequest) Descriptor() ([]byte, []int) { + return file_diff_proto_rawDescGZIP(), []int{7} +} -func (m *RawPatchRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *RawPatchRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *RawPatchRequest) GetLeftCommitId() string { - if m != nil { - return m.LeftCommitId +func (x *RawPatchRequest) GetLeftCommitId() string { + if x != nil { + return x.LeftCommitId } return "" } -func (m *RawPatchRequest) GetRightCommitId() string { - if m != nil { - return m.RightCommitId +func (x *RawPatchRequest) GetRightCommitId() string { + if x != nil { + return x.RightCommitId } return "" } type RawPatchResponse struct { - Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *RawPatchResponse) Reset() { *m = RawPatchResponse{} } -func (m *RawPatchResponse) String() string { return proto.CompactTextString(m) } -func (*RawPatchResponse) ProtoMessage() {} -func (*RawPatchResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_686521effc814b25, []int{8} + Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` } -func (m *RawPatchResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RawPatchResponse.Unmarshal(m, b) -} -func (m *RawPatchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RawPatchResponse.Marshal(b, m, deterministic) -} -func (m *RawPatchResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_RawPatchResponse.Merge(m, src) +func (x *RawPatchResponse) Reset() { + *x = RawPatchResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_diff_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RawPatchResponse) XXX_Size() int { - return xxx_messageInfo_RawPatchResponse.Size(m) + +func (x *RawPatchResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RawPatchResponse) XXX_DiscardUnknown() { - xxx_messageInfo_RawPatchResponse.DiscardUnknown(m) + +func (*RawPatchResponse) ProtoMessage() {} + +func (x *RawPatchResponse) ProtoReflect() protoreflect.Message { + mi := &file_diff_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_RawPatchResponse proto.InternalMessageInfo +// Deprecated: Use RawPatchResponse.ProtoReflect.Descriptor instead. +func (*RawPatchResponse) Descriptor() ([]byte, []int) { + return file_diff_proto_rawDescGZIP(), []int{8} +} -func (m *RawPatchResponse) GetData() []byte { - if m != nil { - return m.Data +func (x *RawPatchResponse) GetData() []byte { + if x != nil { + return x.Data } return nil } type DiffStatsRequest struct { - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - LeftCommitId string `protobuf:"bytes,2,opt,name=left_commit_id,json=leftCommitId,proto3" json:"left_commit_id,omitempty"` - RightCommitId string `protobuf:"bytes,3,opt,name=right_commit_id,json=rightCommitId,proto3" json:"right_commit_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *DiffStatsRequest) Reset() { *m = DiffStatsRequest{} } -func (m *DiffStatsRequest) String() string { return proto.CompactTextString(m) } -func (*DiffStatsRequest) ProtoMessage() {} -func (*DiffStatsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_686521effc814b25, []int{9} + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + LeftCommitId string `protobuf:"bytes,2,opt,name=left_commit_id,json=leftCommitId,proto3" json:"left_commit_id,omitempty"` + RightCommitId string `protobuf:"bytes,3,opt,name=right_commit_id,json=rightCommitId,proto3" json:"right_commit_id,omitempty"` } -func (m *DiffStatsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DiffStatsRequest.Unmarshal(m, b) -} -func (m *DiffStatsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DiffStatsRequest.Marshal(b, m, deterministic) -} -func (m *DiffStatsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DiffStatsRequest.Merge(m, src) +func (x *DiffStatsRequest) Reset() { + *x = DiffStatsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_diff_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DiffStatsRequest) XXX_Size() int { - return xxx_messageInfo_DiffStatsRequest.Size(m) + +func (x *DiffStatsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DiffStatsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DiffStatsRequest.DiscardUnknown(m) + +func (*DiffStatsRequest) ProtoMessage() {} + +func (x *DiffStatsRequest) ProtoReflect() protoreflect.Message { + mi := &file_diff_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_DiffStatsRequest proto.InternalMessageInfo +// Deprecated: Use DiffStatsRequest.ProtoReflect.Descriptor instead. +func (*DiffStatsRequest) Descriptor() ([]byte, []int) { + return file_diff_proto_rawDescGZIP(), []int{9} +} -func (m *DiffStatsRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *DiffStatsRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *DiffStatsRequest) GetLeftCommitId() string { - if m != nil { - return m.LeftCommitId +func (x *DiffStatsRequest) GetLeftCommitId() string { + if x != nil { + return x.LeftCommitId } return "" } -func (m *DiffStatsRequest) GetRightCommitId() string { - if m != nil { - return m.RightCommitId +func (x *DiffStatsRequest) GetRightCommitId() string { + if x != nil { + return x.RightCommitId } return "" } type DiffStats struct { - Path []byte `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` - Additions int32 `protobuf:"varint,2,opt,name=additions,proto3" json:"additions,omitempty"` - Deletions int32 `protobuf:"varint,3,opt,name=deletions,proto3" json:"deletions,omitempty"` - OldPath []byte `protobuf:"bytes,4,opt,name=old_path,json=oldPath,proto3" json:"old_path,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *DiffStats) Reset() { *m = DiffStats{} } -func (m *DiffStats) String() string { return proto.CompactTextString(m) } -func (*DiffStats) ProtoMessage() {} -func (*DiffStats) Descriptor() ([]byte, []int) { - return fileDescriptor_686521effc814b25, []int{10} -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *DiffStats) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DiffStats.Unmarshal(m, b) + Path []byte `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` + Additions int32 `protobuf:"varint,2,opt,name=additions,proto3" json:"additions,omitempty"` + Deletions int32 `protobuf:"varint,3,opt,name=deletions,proto3" json:"deletions,omitempty"` + OldPath []byte `protobuf:"bytes,4,opt,name=old_path,json=oldPath,proto3" json:"old_path,omitempty"` } -func (m *DiffStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DiffStats.Marshal(b, m, deterministic) -} -func (m *DiffStats) XXX_Merge(src proto.Message) { - xxx_messageInfo_DiffStats.Merge(m, src) + +func (x *DiffStats) Reset() { + *x = DiffStats{} + if protoimpl.UnsafeEnabled { + mi := &file_diff_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DiffStats) XXX_Size() int { - return xxx_messageInfo_DiffStats.Size(m) + +func (x *DiffStats) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DiffStats) XXX_DiscardUnknown() { - xxx_messageInfo_DiffStats.DiscardUnknown(m) + +func (*DiffStats) ProtoMessage() {} + +func (x *DiffStats) ProtoReflect() protoreflect.Message { + mi := &file_diff_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_DiffStats proto.InternalMessageInfo +// Deprecated: Use DiffStats.ProtoReflect.Descriptor instead. +func (*DiffStats) Descriptor() ([]byte, []int) { + return file_diff_proto_rawDescGZIP(), []int{10} +} -func (m *DiffStats) GetPath() []byte { - if m != nil { - return m.Path +func (x *DiffStats) GetPath() []byte { + if x != nil { + return x.Path } return nil } -func (m *DiffStats) GetAdditions() int32 { - if m != nil { - return m.Additions +func (x *DiffStats) GetAdditions() int32 { + if x != nil { + return x.Additions } return 0 } -func (m *DiffStats) GetDeletions() int32 { - if m != nil { - return m.Deletions +func (x *DiffStats) GetDeletions() int32 { + if x != nil { + return x.Deletions } return 0 } -func (m *DiffStats) GetOldPath() []byte { - if m != nil { - return m.OldPath +func (x *DiffStats) GetOldPath() []byte { + if x != nil { + return x.OldPath } return nil } type DiffStatsResponse struct { - Stats []*DiffStats `protobuf:"bytes,1,rep,name=stats,proto3" json:"stats,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *DiffStatsResponse) Reset() { *m = DiffStatsResponse{} } -func (m *DiffStatsResponse) String() string { return proto.CompactTextString(m) } -func (*DiffStatsResponse) ProtoMessage() {} -func (*DiffStatsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_686521effc814b25, []int{11} + Stats []*DiffStats `protobuf:"bytes,1,rep,name=stats,proto3" json:"stats,omitempty"` } -func (m *DiffStatsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DiffStatsResponse.Unmarshal(m, b) -} -func (m *DiffStatsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DiffStatsResponse.Marshal(b, m, deterministic) -} -func (m *DiffStatsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DiffStatsResponse.Merge(m, src) +func (x *DiffStatsResponse) Reset() { + *x = DiffStatsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_diff_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DiffStatsResponse) XXX_Size() int { - return xxx_messageInfo_DiffStatsResponse.Size(m) + +func (x *DiffStatsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DiffStatsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DiffStatsResponse.DiscardUnknown(m) + +func (*DiffStatsResponse) ProtoMessage() {} + +func (x *DiffStatsResponse) ProtoReflect() protoreflect.Message { + mi := &file_diff_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 mi.MessageOf(x) } -var xxx_messageInfo_DiffStatsResponse proto.InternalMessageInfo +// Deprecated: Use DiffStatsResponse.ProtoReflect.Descriptor instead. +func (*DiffStatsResponse) Descriptor() ([]byte, []int) { + return file_diff_proto_rawDescGZIP(), []int{11} +} -func (m *DiffStatsResponse) GetStats() []*DiffStats { - if m != nil { - return m.Stats +func (x *DiffStatsResponse) GetStats() []*DiffStats { + if x != nil { + return x.Stats } return nil } @@ -908,242 +1051,647 @@ func (m *DiffStatsResponse) GetStats() []*DiffStats { // to its parent. Merge commits will show files which are different to all of // its parents. type FindChangedPathsRequest struct { - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - Commits []string `protobuf:"bytes,2,rep,name=commits,proto3" json:"commits,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *FindChangedPathsRequest) Reset() { *m = FindChangedPathsRequest{} } -func (m *FindChangedPathsRequest) String() string { return proto.CompactTextString(m) } -func (*FindChangedPathsRequest) ProtoMessage() {} -func (*FindChangedPathsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_686521effc814b25, []int{12} + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + Commits []string `protobuf:"bytes,2,rep,name=commits,proto3" json:"commits,omitempty"` } -func (m *FindChangedPathsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FindChangedPathsRequest.Unmarshal(m, b) -} -func (m *FindChangedPathsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FindChangedPathsRequest.Marshal(b, m, deterministic) -} -func (m *FindChangedPathsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_FindChangedPathsRequest.Merge(m, src) +func (x *FindChangedPathsRequest) Reset() { + *x = FindChangedPathsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_diff_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FindChangedPathsRequest) XXX_Size() int { - return xxx_messageInfo_FindChangedPathsRequest.Size(m) + +func (x *FindChangedPathsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FindChangedPathsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_FindChangedPathsRequest.DiscardUnknown(m) + +func (*FindChangedPathsRequest) ProtoMessage() {} + +func (x *FindChangedPathsRequest) ProtoReflect() protoreflect.Message { + mi := &file_diff_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_FindChangedPathsRequest proto.InternalMessageInfo +// Deprecated: Use FindChangedPathsRequest.ProtoReflect.Descriptor instead. +func (*FindChangedPathsRequest) Descriptor() ([]byte, []int) { + return file_diff_proto_rawDescGZIP(), []int{12} +} -func (m *FindChangedPathsRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *FindChangedPathsRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *FindChangedPathsRequest) GetCommits() []string { - if m != nil { - return m.Commits +func (x *FindChangedPathsRequest) GetCommits() []string { + if x != nil { + return x.Commits } return nil } // Returns a list of files that have been changed in the commits given type FindChangedPathsResponse struct { - Paths []*ChangedPaths `protobuf:"bytes,1,rep,name=paths,proto3" json:"paths,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *FindChangedPathsResponse) Reset() { *m = FindChangedPathsResponse{} } -func (m *FindChangedPathsResponse) String() string { return proto.CompactTextString(m) } -func (*FindChangedPathsResponse) ProtoMessage() {} -func (*FindChangedPathsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_686521effc814b25, []int{13} + Paths []*ChangedPaths `protobuf:"bytes,1,rep,name=paths,proto3" json:"paths,omitempty"` } -func (m *FindChangedPathsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FindChangedPathsResponse.Unmarshal(m, b) -} -func (m *FindChangedPathsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FindChangedPathsResponse.Marshal(b, m, deterministic) -} -func (m *FindChangedPathsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_FindChangedPathsResponse.Merge(m, src) +func (x *FindChangedPathsResponse) Reset() { + *x = FindChangedPathsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_diff_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FindChangedPathsResponse) XXX_Size() int { - return xxx_messageInfo_FindChangedPathsResponse.Size(m) + +func (x *FindChangedPathsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FindChangedPathsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_FindChangedPathsResponse.DiscardUnknown(m) + +func (*FindChangedPathsResponse) ProtoMessage() {} + +func (x *FindChangedPathsResponse) ProtoReflect() protoreflect.Message { + mi := &file_diff_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 mi.MessageOf(x) } -var xxx_messageInfo_FindChangedPathsResponse proto.InternalMessageInfo +// Deprecated: Use FindChangedPathsResponse.ProtoReflect.Descriptor instead. +func (*FindChangedPathsResponse) Descriptor() ([]byte, []int) { + return file_diff_proto_rawDescGZIP(), []int{13} +} -func (m *FindChangedPathsResponse) GetPaths() []*ChangedPaths { - if m != nil { - return m.Paths +func (x *FindChangedPathsResponse) GetPaths() []*ChangedPaths { + if x != nil { + return x.Paths } return nil } // Includes the path of the file, and the status of the change type ChangedPaths struct { - Path []byte `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` - Status ChangedPaths_Status `protobuf:"varint,2,opt,name=status,proto3,enum=gitaly.ChangedPaths_Status" json:"status,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *ChangedPaths) Reset() { *m = ChangedPaths{} } -func (m *ChangedPaths) String() string { return proto.CompactTextString(m) } -func (*ChangedPaths) ProtoMessage() {} -func (*ChangedPaths) Descriptor() ([]byte, []int) { - return fileDescriptor_686521effc814b25, []int{14} + Path []byte `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` + Status ChangedPaths_Status `protobuf:"varint,2,opt,name=status,proto3,enum=gitaly.ChangedPaths_Status" json:"status,omitempty"` } -func (m *ChangedPaths) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ChangedPaths.Unmarshal(m, b) -} -func (m *ChangedPaths) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ChangedPaths.Marshal(b, m, deterministic) -} -func (m *ChangedPaths) XXX_Merge(src proto.Message) { - xxx_messageInfo_ChangedPaths.Merge(m, src) +func (x *ChangedPaths) Reset() { + *x = ChangedPaths{} + if protoimpl.UnsafeEnabled { + mi := &file_diff_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ChangedPaths) XXX_Size() int { - return xxx_messageInfo_ChangedPaths.Size(m) + +func (x *ChangedPaths) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ChangedPaths) XXX_DiscardUnknown() { - xxx_messageInfo_ChangedPaths.DiscardUnknown(m) + +func (*ChangedPaths) ProtoMessage() {} + +func (x *ChangedPaths) ProtoReflect() protoreflect.Message { + mi := &file_diff_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 mi.MessageOf(x) } -var xxx_messageInfo_ChangedPaths proto.InternalMessageInfo +// Deprecated: Use ChangedPaths.ProtoReflect.Descriptor instead. +func (*ChangedPaths) Descriptor() ([]byte, []int) { + return file_diff_proto_rawDescGZIP(), []int{14} +} -func (m *ChangedPaths) GetPath() []byte { - if m != nil { - return m.Path +func (x *ChangedPaths) GetPath() []byte { + if x != nil { + return x.Path } return nil } -func (m *ChangedPaths) GetStatus() ChangedPaths_Status { - if m != nil { - return m.Status +func (x *ChangedPaths) GetStatus() ChangedPaths_Status { + if x != nil { + return x.Status } return ChangedPaths_ADDED } -func init() { - proto.RegisterEnum("gitaly.CommitDiffRequest_DiffMode", CommitDiffRequest_DiffMode_name, CommitDiffRequest_DiffMode_value) - proto.RegisterEnum("gitaly.ChangedPaths_Status", ChangedPaths_Status_name, ChangedPaths_Status_value) - proto.RegisterType((*CommitDiffRequest)(nil), "gitaly.CommitDiffRequest") - proto.RegisterType((*CommitDiffResponse)(nil), "gitaly.CommitDiffResponse") - proto.RegisterType((*CommitDeltaRequest)(nil), "gitaly.CommitDeltaRequest") - proto.RegisterType((*CommitDelta)(nil), "gitaly.CommitDelta") - proto.RegisterType((*CommitDeltaResponse)(nil), "gitaly.CommitDeltaResponse") - proto.RegisterType((*RawDiffRequest)(nil), "gitaly.RawDiffRequest") - proto.RegisterType((*RawDiffResponse)(nil), "gitaly.RawDiffResponse") - proto.RegisterType((*RawPatchRequest)(nil), "gitaly.RawPatchRequest") - proto.RegisterType((*RawPatchResponse)(nil), "gitaly.RawPatchResponse") - proto.RegisterType((*DiffStatsRequest)(nil), "gitaly.DiffStatsRequest") - proto.RegisterType((*DiffStats)(nil), "gitaly.DiffStats") - proto.RegisterType((*DiffStatsResponse)(nil), "gitaly.DiffStatsResponse") - proto.RegisterType((*FindChangedPathsRequest)(nil), "gitaly.FindChangedPathsRequest") - proto.RegisterType((*FindChangedPathsResponse)(nil), "gitaly.FindChangedPathsResponse") - proto.RegisterType((*ChangedPaths)(nil), "gitaly.ChangedPaths") -} - -func init() { proto.RegisterFile("diff.proto", fileDescriptor_686521effc814b25) } - -var fileDescriptor_686521effc814b25 = []byte{ - // 1091 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x56, 0xcd, 0x6e, 0xdb, 0x46, - 0x17, 0xfd, 0xa8, 0x1f, 0x8a, 0xba, 0xa2, 0x65, 0x79, 0x1c, 0xd8, 0xb4, 0xfc, 0x01, 0x15, 0x88, - 0x38, 0x11, 0xfa, 0x23, 0x07, 0xce, 0x26, 0x8b, 0x02, 0x85, 0x6d, 0x4a, 0xa9, 0x52, 0xbb, 0x36, - 0x18, 0x17, 0x41, 0xbb, 0x21, 0x46, 0xe2, 0x50, 0x22, 0x4a, 0x72, 0x54, 0x72, 0x62, 0xd9, 0xaf, - 0xd1, 0x4d, 0xd3, 0xae, 0x0b, 0x74, 0xdf, 0x87, 0xe8, 0xc3, 0xf4, 0x09, 0x8a, 0xae, 0x8a, 0x99, - 0x21, 0x29, 0xca, 0x92, 0xbb, 0xea, 0x42, 0x3b, 0xde, 0x73, 0x8e, 0xee, 0xdc, 0x39, 0x73, 0xe7, - 0x8e, 0x00, 0x5c, 0xdf, 0xf3, 0x7a, 0xb3, 0x98, 0x32, 0x8a, 0xd4, 0x89, 0xcf, 0x70, 0x70, 0xdf, - 0x86, 0xc0, 0x8f, 0x98, 0xc4, 0xda, 0x7a, 0x32, 0xc5, 0x31, 0x71, 0x65, 0x64, 0xfe, 0x58, 0x85, - 0x9d, 0x73, 0x1a, 0x86, 0x3e, 0xb3, 0x7c, 0xcf, 0xb3, 0xc9, 0x0f, 0xef, 0x49, 0xc2, 0xd0, 0x2b, - 0x80, 0x98, 0xcc, 0x68, 0xe2, 0x33, 0x1a, 0xdf, 0x1b, 0x4a, 0x47, 0xe9, 0x36, 0x4e, 0x50, 0x4f, - 0x26, 0xeb, 0xd9, 0x39, 0x73, 0x56, 0xf9, 0xf0, 0xc7, 0xa7, 0x8a, 0x5d, 0xd0, 0xa2, 0xa7, 0xd0, - 0x0c, 0x88, 0xc7, 0x9c, 0xb1, 0xc8, 0xe9, 0xf8, 0xae, 0x51, 0xea, 0x28, 0xdd, 0xba, 0xad, 0x73, - 0x54, 0x2e, 0x34, 0x74, 0xd1, 0x33, 0xd8, 0x8e, 0xfd, 0xc9, 0xb4, 0x28, 0x2b, 0x0b, 0xd9, 0x96, - 0x80, 0x73, 0xdd, 0x2b, 0x30, 0xfc, 0x49, 0x44, 0x63, 0xe2, 0xcc, 0xa7, 0x3e, 0x23, 0xc9, 0x0c, - 0x8f, 0x89, 0x33, 0x9e, 0xe2, 0x68, 0x42, 0x8c, 0x4a, 0x47, 0xe9, 0x6a, 0xf6, 0x9e, 0xe4, 0xdf, - 0xe5, 0xf4, 0xb9, 0x60, 0xd1, 0x13, 0xa8, 0xce, 0x30, 0x9b, 0x26, 0x46, 0xb5, 0x53, 0xee, 0xea, - 0xb6, 0x0c, 0xd0, 0x11, 0x34, 0xc7, 0x34, 0x08, 0xf0, 0x2c, 0x21, 0x0e, 0xb7, 0x29, 0x31, 0x54, - 0x91, 0x65, 0x2b, 0x43, 0xb9, 0x09, 0x42, 0x46, 0x22, 0x8f, 0xc6, 0x63, 0xe2, 0x04, 0x7e, 0xe8, - 0xb3, 0xc4, 0xa8, 0x49, 0x59, 0x8a, 0x5e, 0x08, 0x10, 0x1d, 0x42, 0x3d, 0xc4, 0x77, 0x8e, 0xe7, - 0x07, 0x24, 0x31, 0xb4, 0x8e, 0xd2, 0xad, 0xda, 0x5a, 0x88, 0xef, 0x06, 0x3c, 0xce, 0xc8, 0xc0, - 0x8f, 0x48, 0x62, 0xd4, 0x73, 0xf2, 0x82, 0xc7, 0x19, 0x39, 0xba, 0x67, 0x24, 0x31, 0x20, 0x27, - 0xcf, 0x78, 0xcc, 0xcd, 0xe1, 0xe4, 0x0c, 0xb3, 0xf1, 0x34, 0x95, 0x34, 0x85, 0x64, 0x2b, 0xc4, - 0x77, 0xd7, 0x1c, 0x95, 0xba, 0xa7, 0xd0, 0x4c, 0xb0, 0x47, 0x9c, 0x45, 0x0d, 0x0d, 0x21, 0xd3, - 0x39, 0x7a, 0x99, 0xd5, 0x51, 0x54, 0xc9, 0x62, 0xf4, 0x25, 0x95, 0x2c, 0xa8, 0xa8, 0x92, 0x4b, - 0x6e, 0x2d, 0xa9, 0xe4, 0x8a, 0x5f, 0x40, 0x9d, 0xbb, 0xe6, 0x84, 0xd4, 0x25, 0xc6, 0x76, 0x47, - 0xe9, 0x36, 0x4f, 0xcc, 0xac, 0x2b, 0x56, 0x9a, 0xa8, 0xc7, 0xbf, 0x2f, 0xa9, 0x4b, 0x6c, 0xcd, - 0x4d, 0xbf, 0xcc, 0x23, 0xd0, 0x32, 0x14, 0x35, 0xa0, 0x66, 0xf5, 0x07, 0xa7, 0xdf, 0x5c, 0xdc, - 0xb4, 0xfe, 0x87, 0x74, 0xd0, 0xde, 0x5d, 0xd9, 0x96, 0x35, 0x1c, 0x0c, 0x5a, 0x8a, 0xf9, 0x57, - 0x09, 0x50, 0x31, 0x5f, 0x32, 0xa3, 0x51, 0x42, 0xb8, 0x6b, 0x5e, 0x4c, 0x43, 0xee, 0xcc, 0x54, - 0x34, 0xa5, 0x6e, 0x6b, 0x1c, 0xb8, 0xc6, 0x6c, 0x8a, 0xf6, 0xa1, 0xc6, 0xa8, 0xa4, 0x4a, 0x82, - 0x52, 0x19, 0xcd, 0x08, 0xf1, 0xab, 0xbc, 0xc7, 0x54, 0x1e, 0x0e, 0x5d, 0xb4, 0x0b, 0x55, 0x46, - 0x39, 0x5c, 0x11, 0x70, 0x85, 0xd1, 0xa1, 0x8b, 0x0e, 0x40, 0xa3, 0x81, 0x2b, 0x77, 0x58, 0x15, - 0x16, 0xd4, 0x68, 0xe0, 0x8a, 0x82, 0x0f, 0x40, 0x8b, 0xc8, 0x5c, 0x52, 0xaa, 0xa4, 0x22, 0x32, - 0x17, 0xd4, 0x1e, 0xa8, 0x23, 0x3f, 0xc2, 0xf1, 0x7d, 0xda, 0x28, 0x69, 0xc4, 0x6d, 0x8d, 0xf1, - 0x3c, 0x3d, 0x4a, 0x17, 0x33, 0x2c, 0x3a, 0x41, 0xb7, 0xf5, 0x18, 0xcf, 0xc5, 0x49, 0x5a, 0x98, - 0x61, 0xd4, 0x01, 0x9d, 0x44, 0xae, 0x43, 0x3d, 0x29, 0x14, 0x0d, 0xa1, 0xd9, 0x40, 0x22, 0xf7, - 0xca, 0x13, 0x2a, 0xf4, 0x1c, 0xb6, 0xe9, 0x2d, 0x89, 0xbd, 0x80, 0xce, 0x9d, 0x10, 0xc7, 0xdf, - 0x93, 0x58, 0x9c, 0xb5, 0x66, 0x37, 0x33, 0xf8, 0x52, 0xa0, 0xe8, 0xff, 0x50, 0xcf, 0x5a, 0xd9, - 0x15, 0x07, 0xad, 0xd9, 0x0b, 0x80, 0x1b, 0xc8, 0x28, 0x75, 0x02, 0x1c, 0x4f, 0x88, 0x38, 0x60, - 0xcd, 0xd6, 0x18, 0xa5, 0x17, 0x3c, 0x7e, 0x53, 0xd1, 0xb4, 0x56, 0xdd, 0xfc, 0x5d, 0xc9, 0xad, - 0x27, 0x01, 0xc3, 0x9b, 0x36, 0x10, 0xf2, 0x6b, 0x5d, 0x29, 0x5c, 0x6b, 0xf3, 0x37, 0x05, 0x1a, - 0x85, 0xa2, 0x37, 0xb7, 0x51, 0xcc, 0x33, 0xd8, 0x5d, 0x72, 0x37, 0xed, 0xec, 0x4f, 0x40, 0x75, - 0x39, 0x90, 0x18, 0x4a, 0xa7, 0xdc, 0x6d, 0x9c, 0xec, 0x3e, 0xb8, 0x55, 0x42, 0x9c, 0x4a, 0xcc, - 0x0f, 0x0a, 0x34, 0x6d, 0x3c, 0xdf, 0xc0, 0x79, 0x6d, 0x1e, 0xc1, 0x76, 0x5e, 0x59, 0xba, 0x35, - 0x04, 0x15, 0xd1, 0xf8, 0xf2, 0x18, 0xc4, 0xb7, 0xf9, 0xb3, 0x22, 0x74, 0xa2, 0xb7, 0x37, 0x6d, - 0x0b, 0xcf, 0xa0, 0xb5, 0x28, 0xed, 0x5f, 0xf6, 0xf0, 0x8b, 0x02, 0x2d, 0xbe, 0xd1, 0xb7, 0x0c, - 0xb3, 0x64, 0xd3, 0x36, 0x71, 0x0b, 0xf5, 0xbc, 0x36, 0x5e, 0x7d, 0xe1, 0x22, 0x88, 0x6f, 0x3e, - 0x27, 0xb0, 0xeb, 0xfa, 0xcc, 0xa7, 0x51, 0x22, 0x56, 0xaa, 0xda, 0x0b, 0x80, 0xb3, 0x2e, 0x09, - 0x88, 0x64, 0xcb, 0x92, 0xcd, 0x81, 0xac, 0xf3, 0x45, 0xce, 0x8a, 0xc8, 0xc9, 0x3b, 0x9f, 0x5f, - 0x21, 0xf3, 0x73, 0xd8, 0x29, 0x78, 0x92, 0xba, 0xf7, 0x1c, 0xaa, 0x09, 0x07, 0xd2, 0xde, 0xde, - 0xc9, 0xfc, 0x58, 0x28, 0x25, 0x6f, 0x86, 0xb0, 0x3f, 0xf0, 0x23, 0x57, 0xbe, 0xe0, 0x22, 0xe1, - 0x7f, 0x60, 0xac, 0x01, 0x35, 0x69, 0x16, 0xdf, 0x67, 0xb9, 0x5b, 0xb7, 0xb3, 0xd0, 0x1c, 0x80, - 0xb1, 0xba, 0x5c, 0x5a, 0xf3, 0xc7, 0xd9, 0x9c, 0x91, 0x35, 0x3f, 0xc9, 0xef, 0x63, 0x51, 0x9c, - 0x4e, 0x9f, 0x5f, 0x15, 0xd0, 0x8b, 0xf8, 0x5a, 0xc3, 0x5f, 0x82, 0xca, 0x37, 0xf9, 0x5e, 0xba, - 0xdd, 0x3c, 0x39, 0x5c, 0x97, 0xb1, 0xf7, 0x56, 0x48, 0xec, 0x54, 0x6a, 0x7e, 0x05, 0xaa, 0x44, - 0x50, 0x1d, 0xaa, 0xa7, 0x96, 0xd5, 0xb7, 0xe4, 0x53, 0x79, 0x79, 0x65, 0x0d, 0x07, 0xc3, 0xbe, - 0xd5, 0x52, 0xe4, 0x2b, 0x7a, 0xd1, 0xbf, 0xe9, 0x5b, 0xad, 0x12, 0xda, 0x86, 0xc6, 0xcd, 0xb7, - 0xd7, 0x7d, 0xe7, 0xfc, 0xcb, 0xd3, 0xaf, 0x5f, 0xf7, 0x5b, 0x65, 0x04, 0xa0, 0x9e, 0x5f, 0x5d, - 0x73, 0x65, 0xe5, 0xe4, 0xcf, 0x32, 0x34, 0x84, 0xe5, 0x24, 0xbe, 0xf5, 0xc7, 0x04, 0x5d, 0x02, - 0x2c, 0xde, 0x58, 0x74, 0xf0, 0xe8, 0x3b, 0xde, 0x6e, 0xaf, 0xa3, 0xa4, 0x4f, 0xa6, 0xfa, 0xf7, - 0x4f, 0xdd, 0x92, 0x56, 0x7a, 0xa1, 0xa0, 0xeb, 0xe5, 0x11, 0xdc, 0x5e, 0x37, 0xc1, 0xd2, 0x84, - 0x87, 0x6b, 0xb9, 0x95, 0x8c, 0x16, 0xd4, 0xd2, 0x61, 0x82, 0xf6, 0xf2, 0xa3, 0x5e, 0x9a, 0x7b, - 0xed, 0xfd, 0x15, 0x7c, 0x25, 0xcb, 0x6b, 0xd0, 0xb2, 0xfb, 0x8c, 0x8a, 0xf2, 0xe2, 0xf0, 0x69, - 0x1b, 0xab, 0xc4, 0x4a, 0xa2, 0x37, 0xc5, 0x3b, 0x65, 0xac, 0x36, 0x71, 0x9a, 0xea, 0x60, 0x0d, - 0xb3, 0x92, 0xcb, 0x81, 0xd6, 0xc3, 0xd6, 0x43, 0x1f, 0x65, 0x3f, 0x7c, 0xe4, 0x0e, 0xb4, 0x3b, - 0x8f, 0x0b, 0x1e, 0x2e, 0x70, 0xf6, 0xe2, 0x3b, 0x2e, 0x0e, 0xf0, 0xa8, 0x37, 0xa6, 0xe1, 0xb1, - 0xfc, 0xfc, 0x8c, 0xc6, 0x93, 0x63, 0x99, 0xe2, 0x58, 0xfc, 0xf9, 0x3f, 0x9e, 0xd0, 0x34, 0x9e, - 0x8d, 0x46, 0xaa, 0x80, 0x5e, 0xfe, 0x13, 0x00, 0x00, 0xff, 0xff, 0x44, 0xf3, 0x8d, 0x8e, 0x3f, - 0x0c, 0x00, 0x00, +var File_diff_proto protoreflect.FileDescriptor + +var file_diff_proto_rawDesc = []byte{ + 0x0a, 0x0a, 0x64, 0x69, 0x66, 0x66, 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, 0x92, + 0x05, 0x0a, 0x11, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x44, 0x69, 0x66, 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, 0x24, + 0x0a, 0x0e, 0x6c, 0x65, 0x66, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6c, 0x65, 0x66, 0x74, 0x43, 0x6f, 0x6d, 0x6d, + 0x69, 0x74, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0f, 0x72, 0x69, 0x67, 0x68, 0x74, 0x5f, 0x63, 0x6f, + 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x72, + 0x69, 0x67, 0x68, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x64, 0x12, 0x38, 0x0a, 0x18, + 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x5f, 0x77, 0x68, 0x69, 0x74, 0x65, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x16, + 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x57, 0x68, 0x69, 0x74, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x61, 0x74, 0x68, 0x73, 0x18, + 0x05, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x05, 0x70, 0x61, 0x74, 0x68, 0x73, 0x12, 0x25, 0x0a, 0x0e, + 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x70, 0x73, 0x65, 0x5f, 0x64, 0x69, 0x66, 0x66, 0x73, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x70, 0x73, 0x65, 0x44, 0x69, + 0x66, 0x66, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x65, 0x6e, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x5f, 0x6c, + 0x69, 0x6d, 0x69, 0x74, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x65, 0x6e, 0x66, + 0x6f, 0x72, 0x63, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, + 0x78, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x6d, + 0x61, 0x78, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x78, 0x5f, 0x6c, + 0x69, 0x6e, 0x65, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x4c, + 0x69, 0x6e, 0x65, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x78, 0x5f, 0x62, 0x79, 0x74, 0x65, + 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x42, 0x79, 0x74, 0x65, + 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6d, 0x61, 0x78, 0x5f, 0x70, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x62, + 0x79, 0x74, 0x65, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x6d, 0x61, 0x78, 0x50, + 0x61, 0x74, 0x63, 0x68, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x24, 0x0a, 0x0e, 0x73, 0x61, 0x66, + 0x65, 0x5f, 0x6d, 0x61, 0x78, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x0c, 0x73, 0x61, 0x66, 0x65, 0x4d, 0x61, 0x78, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x12, + 0x24, 0x0a, 0x0e, 0x73, 0x61, 0x66, 0x65, 0x5f, 0x6d, 0x61, 0x78, 0x5f, 0x6c, 0x69, 0x6e, 0x65, + 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x73, 0x61, 0x66, 0x65, 0x4d, 0x61, 0x78, + 0x4c, 0x69, 0x6e, 0x65, 0x73, 0x12, 0x24, 0x0a, 0x0e, 0x73, 0x61, 0x66, 0x65, 0x5f, 0x6d, 0x61, + 0x78, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x73, + 0x61, 0x66, 0x65, 0x4d, 0x61, 0x78, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x3f, 0x0a, 0x09, 0x64, + 0x69, 0x66, 0x66, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, + 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x44, 0x69, + 0x66, 0x66, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x44, 0x69, 0x66, 0x66, 0x4d, 0x6f, + 0x64, 0x65, 0x52, 0x08, 0x64, 0x69, 0x66, 0x66, 0x4d, 0x6f, 0x64, 0x65, 0x22, 0x25, 0x0a, 0x08, + 0x44, 0x69, 0x66, 0x66, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x44, 0x45, 0x46, 0x41, + 0x55, 0x4c, 0x54, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x57, 0x4f, 0x52, 0x44, 0x44, 0x49, 0x46, + 0x46, 0x10, 0x01, 0x22, 0xf8, 0x02, 0x0a, 0x12, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x44, 0x69, + 0x66, 0x66, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x72, + 0x6f, 0x6d, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x66, + 0x72, 0x6f, 0x6d, 0x50, 0x61, 0x74, 0x68, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x6f, 0x5f, 0x70, 0x61, + 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x74, 0x6f, 0x50, 0x61, 0x74, 0x68, + 0x12, 0x17, 0x0a, 0x07, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x06, 0x66, 0x72, 0x6f, 0x6d, 0x49, 0x64, 0x12, 0x13, 0x0a, 0x05, 0x74, 0x6f, 0x5f, + 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x6f, 0x49, 0x64, 0x12, 0x19, + 0x0a, 0x08, 0x6f, 0x6c, 0x64, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x07, 0x6f, 0x6c, 0x64, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x6e, 0x65, 0x77, + 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x6e, 0x65, 0x77, + 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x18, 0x07, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x12, 0x24, 0x0a, 0x0e, + 0x72, 0x61, 0x77, 0x5f, 0x70, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x09, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x72, 0x61, 0x77, 0x50, 0x61, 0x74, 0x63, 0x68, 0x44, 0x61, + 0x74, 0x61, 0x12, 0x20, 0x0a, 0x0c, 0x65, 0x6e, 0x64, 0x5f, 0x6f, 0x66, 0x5f, 0x70, 0x61, 0x74, + 0x63, 0x68, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x65, 0x6e, 0x64, 0x4f, 0x66, 0x50, + 0x61, 0x74, 0x63, 0x68, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x76, 0x65, 0x72, 0x66, 0x6c, 0x6f, 0x77, + 0x5f, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x72, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x6f, + 0x76, 0x65, 0x72, 0x66, 0x6c, 0x6f, 0x77, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x72, 0x12, 0x1c, 0x0a, + 0x09, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x70, 0x73, 0x65, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x09, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x70, 0x73, 0x65, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x74, + 0x6f, 0x6f, 0x5f, 0x6c, 0x61, 0x72, 0x67, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, + 0x74, 0x6f, 0x6f, 0x4c, 0x61, 0x72, 0x67, 0x65, 0x4a, 0x04, 0x08, 0x08, 0x10, 0x09, 0x22, 0xb2, + 0x01, 0x0a, 0x12, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x44, 0x65, 0x6c, 0x74, 0x61, 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, + 0x24, 0x0a, 0x0e, 0x6c, 0x65, 0x66, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, + 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6c, 0x65, 0x66, 0x74, 0x43, 0x6f, 0x6d, + 0x6d, 0x69, 0x74, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0f, 0x72, 0x69, 0x67, 0x68, 0x74, 0x5f, 0x63, + 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, + 0x72, 0x69, 0x67, 0x68, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x64, 0x12, 0x14, 0x0a, + 0x05, 0x70, 0x61, 0x74, 0x68, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x05, 0x70, 0x61, + 0x74, 0x68, 0x73, 0x22, 0xa7, 0x01, 0x0a, 0x0b, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x44, 0x65, + 0x6c, 0x74, 0x61, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x70, 0x61, 0x74, 0x68, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x66, 0x72, 0x6f, 0x6d, 0x50, 0x61, 0x74, 0x68, + 0x12, 0x17, 0x0a, 0x07, 0x74, 0x6f, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x06, 0x74, 0x6f, 0x50, 0x61, 0x74, 0x68, 0x12, 0x17, 0x0a, 0x07, 0x66, 0x72, 0x6f, + 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x72, 0x6f, 0x6d, + 0x49, 0x64, 0x12, 0x13, 0x0a, 0x05, 0x74, 0x6f, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x04, 0x74, 0x6f, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x6c, 0x64, 0x5f, 0x6d, + 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x6f, 0x6c, 0x64, 0x4d, 0x6f, + 0x64, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x6e, 0x65, 0x77, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x6e, 0x65, 0x77, 0x4d, 0x6f, 0x64, 0x65, 0x22, 0x42, 0x0a, + 0x13, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x44, 0x65, 0x6c, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x06, 0x64, 0x65, 0x6c, 0x74, 0x61, 0x73, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x6f, + 0x6d, 0x6d, 0x69, 0x74, 0x44, 0x65, 0x6c, 0x74, 0x61, 0x52, 0x06, 0x64, 0x65, 0x6c, 0x74, 0x61, + 0x73, 0x22, 0x98, 0x01, 0x0a, 0x0e, 0x52, 0x61, 0x77, 0x44, 0x69, 0x66, 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, 0x24, + 0x0a, 0x0e, 0x6c, 0x65, 0x66, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6c, 0x65, 0x66, 0x74, 0x43, 0x6f, 0x6d, 0x6d, + 0x69, 0x74, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0f, 0x72, 0x69, 0x67, 0x68, 0x74, 0x5f, 0x63, 0x6f, + 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x72, + 0x69, 0x67, 0x68, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x64, 0x22, 0x25, 0x0a, 0x0f, + 0x52, 0x61, 0x77, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, + 0x61, 0x74, 0x61, 0x22, 0x99, 0x01, 0x0a, 0x0f, 0x52, 0x61, 0x77, 0x50, 0x61, 0x74, 0x63, 0x68, + 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, 0x24, 0x0a, 0x0e, 0x6c, 0x65, 0x66, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, + 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6c, 0x65, 0x66, 0x74, 0x43, + 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0f, 0x72, 0x69, 0x67, 0x68, 0x74, + 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0d, 0x72, 0x69, 0x67, 0x68, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x64, 0x22, + 0x26, 0x0a, 0x10, 0x52, 0x61, 0x77, 0x50, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x9a, 0x01, 0x0a, 0x10, 0x44, 0x69, 0x66, 0x66, + 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, + 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, + 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, + 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x24, 0x0a, 0x0e, 0x6c, 0x65, 0x66, 0x74, 0x5f, 0x63, + 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, + 0x6c, 0x65, 0x66, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0f, + 0x72, 0x69, 0x67, 0x68, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, 0x64, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x72, 0x69, 0x67, 0x68, 0x74, 0x43, 0x6f, 0x6d, 0x6d, + 0x69, 0x74, 0x49, 0x64, 0x22, 0x76, 0x0a, 0x09, 0x44, 0x69, 0x66, 0x66, 0x53, 0x74, 0x61, 0x74, + 0x73, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x6c, 0x64, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x07, 0x6f, 0x6c, 0x64, 0x50, 0x61, 0x74, 0x68, 0x22, 0x3c, 0x0a, 0x11, + 0x44, 0x69, 0x66, 0x66, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x27, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x11, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x44, 0x69, 0x66, 0x66, 0x53, 0x74, + 0x61, 0x74, 0x73, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x22, 0x6d, 0x0a, 0x17, 0x46, 0x69, + 0x6e, 0x64, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x50, 0x61, 0x74, 0x68, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, + 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, + 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, + 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, + 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, + 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x22, 0x46, 0x0a, 0x18, 0x46, 0x69, 0x6e, + 0x64, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x50, 0x61, 0x74, 0x68, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x05, 0x70, 0x61, 0x74, 0x68, 0x73, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x68, + 0x61, 0x6e, 0x67, 0x65, 0x64, 0x50, 0x61, 0x74, 0x68, 0x73, 0x52, 0x05, 0x70, 0x61, 0x74, 0x68, + 0x73, 0x22, 0xa4, 0x01, 0x0a, 0x0c, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x50, 0x61, 0x74, + 0x68, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x33, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x50, 0x61, 0x74, 0x68, 0x73, 0x2e, 0x53, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x4b, 0x0a, 0x06, 0x53, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x44, 0x44, 0x45, 0x44, 0x10, 0x00, + 0x12, 0x0c, 0x0a, 0x08, 0x4d, 0x4f, 0x44, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0b, + 0x0a, 0x07, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x44, 0x10, 0x02, 0x12, 0x0f, 0x0a, 0x0b, 0x54, + 0x59, 0x50, 0x45, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, + 0x43, 0x4f, 0x50, 0x49, 0x45, 0x44, 0x10, 0x04, 0x32, 0xea, 0x03, 0x0a, 0x0b, 0x44, 0x69, 0x66, + 0x66, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x4d, 0x0a, 0x0a, 0x43, 0x6f, 0x6d, 0x6d, + 0x69, 0x74, 0x44, 0x69, 0x66, 0x66, 0x12, 0x19, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x1a, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, + 0x74, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, + 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x50, 0x0a, 0x0b, 0x43, 0x6f, 0x6d, 0x6d, 0x69, + 0x74, 0x44, 0x65, 0x6c, 0x74, 0x61, 0x12, 0x1a, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x44, 0x65, 0x6c, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, + 0x69, 0x74, 0x44, 0x65, 0x6c, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x44, 0x0a, 0x07, 0x52, 0x61, 0x77, + 0x44, 0x69, 0x66, 0x66, 0x12, 0x16, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x61, + 0x77, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x61, 0x77, 0x44, 0x69, 0x66, 0x66, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, + 0x47, 0x0a, 0x08, 0x52, 0x61, 0x77, 0x50, 0x61, 0x74, 0x63, 0x68, 0x12, 0x17, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x61, 0x77, 0x50, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x61, + 0x77, 0x50, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, + 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x4a, 0x0a, 0x09, 0x44, 0x69, 0x66, 0x66, + 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x18, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x44, + 0x69, 0x66, 0x66, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x19, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x44, 0x69, 0x66, 0x66, 0x53, 0x74, 0x61, + 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, + 0x08, 0x02, 0x30, 0x01, 0x12, 0x5f, 0x0a, 0x10, 0x46, 0x69, 0x6e, 0x64, 0x43, 0x68, 0x61, 0x6e, + 0x67, 0x65, 0x64, 0x50, 0x61, 0x74, 0x68, 0x73, 0x12, 0x1f, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, + 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x50, 0x61, 0x74, + 0x68, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x67, 0x69, 0x74, 0x61, + 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x50, 0x61, + 0x74, 0x68, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, + 0x02, 0x08, 0x02, 0x30, 0x01, 0x42, 0x30, 0x5a, 0x2e, 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, 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_diff_proto_rawDescOnce sync.Once + file_diff_proto_rawDescData = file_diff_proto_rawDesc +) + +func file_diff_proto_rawDescGZIP() []byte { + file_diff_proto_rawDescOnce.Do(func() { + file_diff_proto_rawDescData = protoimpl.X.CompressGZIP(file_diff_proto_rawDescData) + }) + return file_diff_proto_rawDescData +} + +var file_diff_proto_enumTypes = make([]protoimpl.EnumInfo, 2) +var file_diff_proto_msgTypes = make([]protoimpl.MessageInfo, 15) +var file_diff_proto_goTypes = []interface{}{ + (CommitDiffRequest_DiffMode)(0), // 0: gitaly.CommitDiffRequest.DiffMode + (ChangedPaths_Status)(0), // 1: gitaly.ChangedPaths.Status + (*CommitDiffRequest)(nil), // 2: gitaly.CommitDiffRequest + (*CommitDiffResponse)(nil), // 3: gitaly.CommitDiffResponse + (*CommitDeltaRequest)(nil), // 4: gitaly.CommitDeltaRequest + (*CommitDelta)(nil), // 5: gitaly.CommitDelta + (*CommitDeltaResponse)(nil), // 6: gitaly.CommitDeltaResponse + (*RawDiffRequest)(nil), // 7: gitaly.RawDiffRequest + (*RawDiffResponse)(nil), // 8: gitaly.RawDiffResponse + (*RawPatchRequest)(nil), // 9: gitaly.RawPatchRequest + (*RawPatchResponse)(nil), // 10: gitaly.RawPatchResponse + (*DiffStatsRequest)(nil), // 11: gitaly.DiffStatsRequest + (*DiffStats)(nil), // 12: gitaly.DiffStats + (*DiffStatsResponse)(nil), // 13: gitaly.DiffStatsResponse + (*FindChangedPathsRequest)(nil), // 14: gitaly.FindChangedPathsRequest + (*FindChangedPathsResponse)(nil), // 15: gitaly.FindChangedPathsResponse + (*ChangedPaths)(nil), // 16: gitaly.ChangedPaths + (*Repository)(nil), // 17: gitaly.Repository +} +var file_diff_proto_depIdxs = []int32{ + 17, // 0: gitaly.CommitDiffRequest.repository:type_name -> gitaly.Repository + 0, // 1: gitaly.CommitDiffRequest.diff_mode:type_name -> gitaly.CommitDiffRequest.DiffMode + 17, // 2: gitaly.CommitDeltaRequest.repository:type_name -> gitaly.Repository + 5, // 3: gitaly.CommitDeltaResponse.deltas:type_name -> gitaly.CommitDelta + 17, // 4: gitaly.RawDiffRequest.repository:type_name -> gitaly.Repository + 17, // 5: gitaly.RawPatchRequest.repository:type_name -> gitaly.Repository + 17, // 6: gitaly.DiffStatsRequest.repository:type_name -> gitaly.Repository + 12, // 7: gitaly.DiffStatsResponse.stats:type_name -> gitaly.DiffStats + 17, // 8: gitaly.FindChangedPathsRequest.repository:type_name -> gitaly.Repository + 16, // 9: gitaly.FindChangedPathsResponse.paths:type_name -> gitaly.ChangedPaths + 1, // 10: gitaly.ChangedPaths.status:type_name -> gitaly.ChangedPaths.Status + 2, // 11: gitaly.DiffService.CommitDiff:input_type -> gitaly.CommitDiffRequest + 4, // 12: gitaly.DiffService.CommitDelta:input_type -> gitaly.CommitDeltaRequest + 7, // 13: gitaly.DiffService.RawDiff:input_type -> gitaly.RawDiffRequest + 9, // 14: gitaly.DiffService.RawPatch:input_type -> gitaly.RawPatchRequest + 11, // 15: gitaly.DiffService.DiffStats:input_type -> gitaly.DiffStatsRequest + 14, // 16: gitaly.DiffService.FindChangedPaths:input_type -> gitaly.FindChangedPathsRequest + 3, // 17: gitaly.DiffService.CommitDiff:output_type -> gitaly.CommitDiffResponse + 6, // 18: gitaly.DiffService.CommitDelta:output_type -> gitaly.CommitDeltaResponse + 8, // 19: gitaly.DiffService.RawDiff:output_type -> gitaly.RawDiffResponse + 10, // 20: gitaly.DiffService.RawPatch:output_type -> gitaly.RawPatchResponse + 13, // 21: gitaly.DiffService.DiffStats:output_type -> gitaly.DiffStatsResponse + 15, // 22: gitaly.DiffService.FindChangedPaths:output_type -> gitaly.FindChangedPathsResponse + 17, // [17:23] is the sub-list for method output_type + 11, // [11:17] is the sub-list for method input_type + 11, // [11:11] is the sub-list for extension type_name + 11, // [11:11] is the sub-list for extension extendee + 0, // [0:11] is the sub-list for field type_name +} + +func init() { file_diff_proto_init() } +func file_diff_proto_init() { + if File_diff_proto != nil { + return + } + file_lint_proto_init() + file_shared_proto_init() + if !protoimpl.UnsafeEnabled { + file_diff_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CommitDiffRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_diff_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CommitDiffResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_diff_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CommitDeltaRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_diff_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CommitDelta); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_diff_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CommitDeltaResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_diff_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RawDiffRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_diff_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RawDiffResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_diff_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RawPatchRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_diff_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RawPatchResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_diff_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DiffStatsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_diff_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DiffStats); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_diff_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DiffStatsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_diff_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindChangedPathsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_diff_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindChangedPathsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_diff_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChangedPaths); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_diff_proto_rawDesc, + NumEnums: 2, + NumMessages: 15, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_diff_proto_goTypes, + DependencyIndexes: file_diff_proto_depIdxs, + EnumInfos: file_diff_proto_enumTypes, + MessageInfos: file_diff_proto_msgTypes, + }.Build() + File_diff_proto = out.File + file_diff_proto_rawDesc = nil + file_diff_proto_goTypes = nil + file_diff_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConn +var _ grpc.ClientConnInterface // 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 +const _ = grpc.SupportPackageIsVersion6 // DiffServiceClient is the client API for DiffService service. // @@ -1161,10 +1709,10 @@ type DiffServiceClient interface { } type diffServiceClient struct { - cc *grpc.ClientConn + cc grpc.ClientConnInterface } -func NewDiffServiceClient(cc *grpc.ClientConn) DiffServiceClient { +func NewDiffServiceClient(cc grpc.ClientConnInterface) DiffServiceClient { return &diffServiceClient{cc} } @@ -1377,22 +1925,22 @@ type DiffServiceServer interface { type UnimplementedDiffServiceServer struct { } -func (*UnimplementedDiffServiceServer) CommitDiff(req *CommitDiffRequest, srv DiffService_CommitDiffServer) error { +func (*UnimplementedDiffServiceServer) CommitDiff(*CommitDiffRequest, DiffService_CommitDiffServer) error { return status.Errorf(codes.Unimplemented, "method CommitDiff not implemented") } -func (*UnimplementedDiffServiceServer) CommitDelta(req *CommitDeltaRequest, srv DiffService_CommitDeltaServer) error { +func (*UnimplementedDiffServiceServer) CommitDelta(*CommitDeltaRequest, DiffService_CommitDeltaServer) error { return status.Errorf(codes.Unimplemented, "method CommitDelta not implemented") } -func (*UnimplementedDiffServiceServer) RawDiff(req *RawDiffRequest, srv DiffService_RawDiffServer) error { +func (*UnimplementedDiffServiceServer) RawDiff(*RawDiffRequest, DiffService_RawDiffServer) error { return status.Errorf(codes.Unimplemented, "method RawDiff not implemented") } -func (*UnimplementedDiffServiceServer) RawPatch(req *RawPatchRequest, srv DiffService_RawPatchServer) error { +func (*UnimplementedDiffServiceServer) RawPatch(*RawPatchRequest, DiffService_RawPatchServer) error { return status.Errorf(codes.Unimplemented, "method RawPatch not implemented") } -func (*UnimplementedDiffServiceServer) DiffStats(req *DiffStatsRequest, srv DiffService_DiffStatsServer) error { +func (*UnimplementedDiffServiceServer) DiffStats(*DiffStatsRequest, DiffService_DiffStatsServer) error { return status.Errorf(codes.Unimplemented, "method DiffStats not implemented") } -func (*UnimplementedDiffServiceServer) FindChangedPaths(req *FindChangedPathsRequest, srv DiffService_FindChangedPathsServer) error { +func (*UnimplementedDiffServiceServer) FindChangedPaths(*FindChangedPathsRequest, DiffService_FindChangedPathsServer) error { return status.Errorf(codes.Unimplemented, "method FindChangedPaths not implemented") } diff --git a/proto/go/gitalypb/hook.pb.go b/proto/go/gitalypb/hook.pb.go index 8b1343a5f..be83ca9db 100644 --- a/proto/go/gitalypb/hook.pb.go +++ b/proto/go/gitalypb/hook.pb.go @@ -1,28 +1,33 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc v3.12.4 // source: hook.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 +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) +) -// 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 +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 type ReferenceTransactionHookRequest_State int32 @@ -32,680 +37,1072 @@ const ( ReferenceTransactionHookRequest_ABORTED ReferenceTransactionHookRequest_State = 2 ) -var ReferenceTransactionHookRequest_State_name = map[int32]string{ - 0: "PREPARED", - 1: "COMMITTED", - 2: "ABORTED", -} +// Enum value maps for ReferenceTransactionHookRequest_State. +var ( + ReferenceTransactionHookRequest_State_name = map[int32]string{ + 0: "PREPARED", + 1: "COMMITTED", + 2: "ABORTED", + } + ReferenceTransactionHookRequest_State_value = map[string]int32{ + "PREPARED": 0, + "COMMITTED": 1, + "ABORTED": 2, + } +) -var ReferenceTransactionHookRequest_State_value = map[string]int32{ - "PREPARED": 0, - "COMMITTED": 1, - "ABORTED": 2, +func (x ReferenceTransactionHookRequest_State) Enum() *ReferenceTransactionHookRequest_State { + p := new(ReferenceTransactionHookRequest_State) + *p = x + return p } func (x ReferenceTransactionHookRequest_State) String() string { - return proto.EnumName(ReferenceTransactionHookRequest_State_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (ReferenceTransactionHookRequest_State) Descriptor() protoreflect.EnumDescriptor { + return file_hook_proto_enumTypes[0].Descriptor() +} + +func (ReferenceTransactionHookRequest_State) Type() protoreflect.EnumType { + return &file_hook_proto_enumTypes[0] +} + +func (x ReferenceTransactionHookRequest_State) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ReferenceTransactionHookRequest_State.Descriptor instead. func (ReferenceTransactionHookRequest_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_3eef30da1c11ee1b, []int{6, 0} + return file_hook_proto_rawDescGZIP(), []int{6, 0} } type PreReceiveHookRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` EnvironmentVariables []string `protobuf:"bytes,2,rep,name=environment_variables,json=environmentVariables,proto3" json:"environment_variables,omitempty"` Stdin []byte `protobuf:"bytes,4,opt,name=stdin,proto3" json:"stdin,omitempty"` GitPushOptions []string `protobuf:"bytes,5,rep,name=git_push_options,json=gitPushOptions,proto3" json:"git_push_options,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` } -func (m *PreReceiveHookRequest) Reset() { *m = PreReceiveHookRequest{} } -func (m *PreReceiveHookRequest) String() string { return proto.CompactTextString(m) } -func (*PreReceiveHookRequest) ProtoMessage() {} -func (*PreReceiveHookRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_3eef30da1c11ee1b, []int{0} +func (x *PreReceiveHookRequest) Reset() { + *x = PreReceiveHookRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_hook_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *PreReceiveHookRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PreReceiveHookRequest.Unmarshal(m, b) +func (x *PreReceiveHookRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PreReceiveHookRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PreReceiveHookRequest.Marshal(b, m, deterministic) -} -func (m *PreReceiveHookRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_PreReceiveHookRequest.Merge(m, src) -} -func (m *PreReceiveHookRequest) XXX_Size() int { - return xxx_messageInfo_PreReceiveHookRequest.Size(m) -} -func (m *PreReceiveHookRequest) XXX_DiscardUnknown() { - xxx_messageInfo_PreReceiveHookRequest.DiscardUnknown(m) + +func (*PreReceiveHookRequest) ProtoMessage() {} + +func (x *PreReceiveHookRequest) ProtoReflect() protoreflect.Message { + mi := &file_hook_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_PreReceiveHookRequest proto.InternalMessageInfo +// Deprecated: Use PreReceiveHookRequest.ProtoReflect.Descriptor instead. +func (*PreReceiveHookRequest) Descriptor() ([]byte, []int) { + return file_hook_proto_rawDescGZIP(), []int{0} +} -func (m *PreReceiveHookRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *PreReceiveHookRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *PreReceiveHookRequest) GetEnvironmentVariables() []string { - if m != nil { - return m.EnvironmentVariables +func (x *PreReceiveHookRequest) GetEnvironmentVariables() []string { + if x != nil { + return x.EnvironmentVariables } return nil } -func (m *PreReceiveHookRequest) GetStdin() []byte { - if m != nil { - return m.Stdin +func (x *PreReceiveHookRequest) GetStdin() []byte { + if x != nil { + return x.Stdin } return nil } -func (m *PreReceiveHookRequest) GetGitPushOptions() []string { - if m != nil { - return m.GitPushOptions +func (x *PreReceiveHookRequest) GetGitPushOptions() []string { + if x != nil { + return x.GitPushOptions } return nil } type PreReceiveHookResponse struct { - Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"` - Stderr []byte `protobuf:"bytes,2,opt,name=stderr,proto3" json:"stderr,omitempty"` - ExitStatus *ExitStatus `protobuf:"bytes,3,opt,name=exit_status,json=exitStatus,proto3" json:"exit_status,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *PreReceiveHookResponse) Reset() { *m = PreReceiveHookResponse{} } -func (m *PreReceiveHookResponse) String() string { return proto.CompactTextString(m) } -func (*PreReceiveHookResponse) ProtoMessage() {} -func (*PreReceiveHookResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_3eef30da1c11ee1b, []int{1} + Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"` + Stderr []byte `protobuf:"bytes,2,opt,name=stderr,proto3" json:"stderr,omitempty"` + ExitStatus *ExitStatus `protobuf:"bytes,3,opt,name=exit_status,json=exitStatus,proto3" json:"exit_status,omitempty"` } -func (m *PreReceiveHookResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PreReceiveHookResponse.Unmarshal(m, b) -} -func (m *PreReceiveHookResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PreReceiveHookResponse.Marshal(b, m, deterministic) -} -func (m *PreReceiveHookResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_PreReceiveHookResponse.Merge(m, src) +func (x *PreReceiveHookResponse) Reset() { + *x = PreReceiveHookResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_hook_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *PreReceiveHookResponse) XXX_Size() int { - return xxx_messageInfo_PreReceiveHookResponse.Size(m) + +func (x *PreReceiveHookResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PreReceiveHookResponse) XXX_DiscardUnknown() { - xxx_messageInfo_PreReceiveHookResponse.DiscardUnknown(m) + +func (*PreReceiveHookResponse) ProtoMessage() {} + +func (x *PreReceiveHookResponse) ProtoReflect() protoreflect.Message { + mi := &file_hook_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) } -var xxx_messageInfo_PreReceiveHookResponse proto.InternalMessageInfo +// Deprecated: Use PreReceiveHookResponse.ProtoReflect.Descriptor instead. +func (*PreReceiveHookResponse) Descriptor() ([]byte, []int) { + return file_hook_proto_rawDescGZIP(), []int{1} +} -func (m *PreReceiveHookResponse) GetStdout() []byte { - if m != nil { - return m.Stdout +func (x *PreReceiveHookResponse) GetStdout() []byte { + if x != nil { + return x.Stdout } return nil } -func (m *PreReceiveHookResponse) GetStderr() []byte { - if m != nil { - return m.Stderr +func (x *PreReceiveHookResponse) GetStderr() []byte { + if x != nil { + return x.Stderr } return nil } -func (m *PreReceiveHookResponse) GetExitStatus() *ExitStatus { - if m != nil { - return m.ExitStatus +func (x *PreReceiveHookResponse) GetExitStatus() *ExitStatus { + if x != nil { + return x.ExitStatus } return nil } type PostReceiveHookRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` EnvironmentVariables []string `protobuf:"bytes,2,rep,name=environment_variables,json=environmentVariables,proto3" json:"environment_variables,omitempty"` Stdin []byte `protobuf:"bytes,3,opt,name=stdin,proto3" json:"stdin,omitempty"` GitPushOptions []string `protobuf:"bytes,4,rep,name=git_push_options,json=gitPushOptions,proto3" json:"git_push_options,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` } -func (m *PostReceiveHookRequest) Reset() { *m = PostReceiveHookRequest{} } -func (m *PostReceiveHookRequest) String() string { return proto.CompactTextString(m) } -func (*PostReceiveHookRequest) ProtoMessage() {} -func (*PostReceiveHookRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_3eef30da1c11ee1b, []int{2} +func (x *PostReceiveHookRequest) Reset() { + *x = PostReceiveHookRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_hook_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *PostReceiveHookRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PostReceiveHookRequest.Unmarshal(m, b) -} -func (m *PostReceiveHookRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PostReceiveHookRequest.Marshal(b, m, deterministic) -} -func (m *PostReceiveHookRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_PostReceiveHookRequest.Merge(m, src) +func (x *PostReceiveHookRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PostReceiveHookRequest) XXX_Size() int { - return xxx_messageInfo_PostReceiveHookRequest.Size(m) -} -func (m *PostReceiveHookRequest) XXX_DiscardUnknown() { - xxx_messageInfo_PostReceiveHookRequest.DiscardUnknown(m) + +func (*PostReceiveHookRequest) ProtoMessage() {} + +func (x *PostReceiveHookRequest) ProtoReflect() protoreflect.Message { + mi := &file_hook_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_PostReceiveHookRequest proto.InternalMessageInfo +// Deprecated: Use PostReceiveHookRequest.ProtoReflect.Descriptor instead. +func (*PostReceiveHookRequest) Descriptor() ([]byte, []int) { + return file_hook_proto_rawDescGZIP(), []int{2} +} -func (m *PostReceiveHookRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *PostReceiveHookRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *PostReceiveHookRequest) GetEnvironmentVariables() []string { - if m != nil { - return m.EnvironmentVariables +func (x *PostReceiveHookRequest) GetEnvironmentVariables() []string { + if x != nil { + return x.EnvironmentVariables } return nil } -func (m *PostReceiveHookRequest) GetStdin() []byte { - if m != nil { - return m.Stdin +func (x *PostReceiveHookRequest) GetStdin() []byte { + if x != nil { + return x.Stdin } return nil } -func (m *PostReceiveHookRequest) GetGitPushOptions() []string { - if m != nil { - return m.GitPushOptions +func (x *PostReceiveHookRequest) GetGitPushOptions() []string { + if x != nil { + return x.GitPushOptions } return nil } type PostReceiveHookResponse struct { - Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"` - Stderr []byte `protobuf:"bytes,2,opt,name=stderr,proto3" json:"stderr,omitempty"` - ExitStatus *ExitStatus `protobuf:"bytes,3,opt,name=exit_status,json=exitStatus,proto3" json:"exit_status,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *PostReceiveHookResponse) Reset() { *m = PostReceiveHookResponse{} } -func (m *PostReceiveHookResponse) String() string { return proto.CompactTextString(m) } -func (*PostReceiveHookResponse) ProtoMessage() {} -func (*PostReceiveHookResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_3eef30da1c11ee1b, []int{3} + Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"` + Stderr []byte `protobuf:"bytes,2,opt,name=stderr,proto3" json:"stderr,omitempty"` + ExitStatus *ExitStatus `protobuf:"bytes,3,opt,name=exit_status,json=exitStatus,proto3" json:"exit_status,omitempty"` } -func (m *PostReceiveHookResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PostReceiveHookResponse.Unmarshal(m, b) -} -func (m *PostReceiveHookResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PostReceiveHookResponse.Marshal(b, m, deterministic) -} -func (m *PostReceiveHookResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_PostReceiveHookResponse.Merge(m, src) +func (x *PostReceiveHookResponse) Reset() { + *x = PostReceiveHookResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_hook_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *PostReceiveHookResponse) XXX_Size() int { - return xxx_messageInfo_PostReceiveHookResponse.Size(m) + +func (x *PostReceiveHookResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PostReceiveHookResponse) XXX_DiscardUnknown() { - xxx_messageInfo_PostReceiveHookResponse.DiscardUnknown(m) + +func (*PostReceiveHookResponse) ProtoMessage() {} + +func (x *PostReceiveHookResponse) ProtoReflect() protoreflect.Message { + mi := &file_hook_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_PostReceiveHookResponse proto.InternalMessageInfo +// Deprecated: Use PostReceiveHookResponse.ProtoReflect.Descriptor instead. +func (*PostReceiveHookResponse) Descriptor() ([]byte, []int) { + return file_hook_proto_rawDescGZIP(), []int{3} +} -func (m *PostReceiveHookResponse) GetStdout() []byte { - if m != nil { - return m.Stdout +func (x *PostReceiveHookResponse) GetStdout() []byte { + if x != nil { + return x.Stdout } return nil } -func (m *PostReceiveHookResponse) GetStderr() []byte { - if m != nil { - return m.Stderr +func (x *PostReceiveHookResponse) GetStderr() []byte { + if x != nil { + return x.Stderr } return nil } -func (m *PostReceiveHookResponse) GetExitStatus() *ExitStatus { - if m != nil { - return m.ExitStatus +func (x *PostReceiveHookResponse) GetExitStatus() *ExitStatus { + if x != nil { + return x.ExitStatus } return nil } type UpdateHookRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` EnvironmentVariables []string `protobuf:"bytes,2,rep,name=environment_variables,json=environmentVariables,proto3" json:"environment_variables,omitempty"` Ref []byte `protobuf:"bytes,3,opt,name=ref,proto3" json:"ref,omitempty"` OldValue string `protobuf:"bytes,4,opt,name=old_value,json=oldValue,proto3" json:"old_value,omitempty"` NewValue string `protobuf:"bytes,5,opt,name=new_value,json=newValue,proto3" json:"new_value,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` } -func (m *UpdateHookRequest) Reset() { *m = UpdateHookRequest{} } -func (m *UpdateHookRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateHookRequest) ProtoMessage() {} -func (*UpdateHookRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_3eef30da1c11ee1b, []int{4} +func (x *UpdateHookRequest) Reset() { + *x = UpdateHookRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_hook_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UpdateHookRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateHookRequest.Unmarshal(m, b) +func (x *UpdateHookRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UpdateHookRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateHookRequest.Marshal(b, m, deterministic) -} -func (m *UpdateHookRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateHookRequest.Merge(m, src) -} -func (m *UpdateHookRequest) XXX_Size() int { - return xxx_messageInfo_UpdateHookRequest.Size(m) -} -func (m *UpdateHookRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateHookRequest.DiscardUnknown(m) + +func (*UpdateHookRequest) ProtoMessage() {} + +func (x *UpdateHookRequest) ProtoReflect() protoreflect.Message { + mi := &file_hook_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_UpdateHookRequest proto.InternalMessageInfo +// Deprecated: Use UpdateHookRequest.ProtoReflect.Descriptor instead. +func (*UpdateHookRequest) Descriptor() ([]byte, []int) { + return file_hook_proto_rawDescGZIP(), []int{4} +} -func (m *UpdateHookRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *UpdateHookRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *UpdateHookRequest) GetEnvironmentVariables() []string { - if m != nil { - return m.EnvironmentVariables +func (x *UpdateHookRequest) GetEnvironmentVariables() []string { + if x != nil { + return x.EnvironmentVariables } return nil } -func (m *UpdateHookRequest) GetRef() []byte { - if m != nil { - return m.Ref +func (x *UpdateHookRequest) GetRef() []byte { + if x != nil { + return x.Ref } return nil } -func (m *UpdateHookRequest) GetOldValue() string { - if m != nil { - return m.OldValue +func (x *UpdateHookRequest) GetOldValue() string { + if x != nil { + return x.OldValue } return "" } -func (m *UpdateHookRequest) GetNewValue() string { - if m != nil { - return m.NewValue +func (x *UpdateHookRequest) GetNewValue() string { + if x != nil { + return x.NewValue } return "" } type UpdateHookResponse struct { - Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"` - Stderr []byte `protobuf:"bytes,2,opt,name=stderr,proto3" json:"stderr,omitempty"` - ExitStatus *ExitStatus `protobuf:"bytes,3,opt,name=exit_status,json=exitStatus,proto3" json:"exit_status,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *UpdateHookResponse) Reset() { *m = UpdateHookResponse{} } -func (m *UpdateHookResponse) String() string { return proto.CompactTextString(m) } -func (*UpdateHookResponse) ProtoMessage() {} -func (*UpdateHookResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_3eef30da1c11ee1b, []int{5} + Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"` + Stderr []byte `protobuf:"bytes,2,opt,name=stderr,proto3" json:"stderr,omitempty"` + ExitStatus *ExitStatus `protobuf:"bytes,3,opt,name=exit_status,json=exitStatus,proto3" json:"exit_status,omitempty"` } -func (m *UpdateHookResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateHookResponse.Unmarshal(m, b) -} -func (m *UpdateHookResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateHookResponse.Marshal(b, m, deterministic) -} -func (m *UpdateHookResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateHookResponse.Merge(m, src) +func (x *UpdateHookResponse) Reset() { + *x = UpdateHookResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_hook_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UpdateHookResponse) XXX_Size() int { - return xxx_messageInfo_UpdateHookResponse.Size(m) + +func (x *UpdateHookResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UpdateHookResponse) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateHookResponse.DiscardUnknown(m) + +func (*UpdateHookResponse) ProtoMessage() {} + +func (x *UpdateHookResponse) ProtoReflect() protoreflect.Message { + mi := &file_hook_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_UpdateHookResponse proto.InternalMessageInfo +// Deprecated: Use UpdateHookResponse.ProtoReflect.Descriptor instead. +func (*UpdateHookResponse) Descriptor() ([]byte, []int) { + return file_hook_proto_rawDescGZIP(), []int{5} +} -func (m *UpdateHookResponse) GetStdout() []byte { - if m != nil { - return m.Stdout +func (x *UpdateHookResponse) GetStdout() []byte { + if x != nil { + return x.Stdout } return nil } -func (m *UpdateHookResponse) GetStderr() []byte { - if m != nil { - return m.Stderr +func (x *UpdateHookResponse) GetStderr() []byte { + if x != nil { + return x.Stderr } return nil } -func (m *UpdateHookResponse) GetExitStatus() *ExitStatus { - if m != nil { - return m.ExitStatus +func (x *UpdateHookResponse) GetExitStatus() *ExitStatus { + if x != nil { + return x.ExitStatus } return nil } type ReferenceTransactionHookRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` EnvironmentVariables []string `protobuf:"bytes,2,rep,name=environment_variables,json=environmentVariables,proto3" json:"environment_variables,omitempty"` Stdin []byte `protobuf:"bytes,3,opt,name=stdin,proto3" json:"stdin,omitempty"` State ReferenceTransactionHookRequest_State `protobuf:"varint,4,opt,name=state,proto3,enum=gitaly.ReferenceTransactionHookRequest_State" json:"state,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` } -func (m *ReferenceTransactionHookRequest) Reset() { *m = ReferenceTransactionHookRequest{} } -func (m *ReferenceTransactionHookRequest) String() string { return proto.CompactTextString(m) } -func (*ReferenceTransactionHookRequest) ProtoMessage() {} -func (*ReferenceTransactionHookRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_3eef30da1c11ee1b, []int{6} +func (x *ReferenceTransactionHookRequest) Reset() { + *x = ReferenceTransactionHookRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_hook_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ReferenceTransactionHookRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReferenceTransactionHookRequest.Unmarshal(m, b) -} -func (m *ReferenceTransactionHookRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReferenceTransactionHookRequest.Marshal(b, m, deterministic) -} -func (m *ReferenceTransactionHookRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReferenceTransactionHookRequest.Merge(m, src) +func (x *ReferenceTransactionHookRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ReferenceTransactionHookRequest) XXX_Size() int { - return xxx_messageInfo_ReferenceTransactionHookRequest.Size(m) -} -func (m *ReferenceTransactionHookRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ReferenceTransactionHookRequest.DiscardUnknown(m) + +func (*ReferenceTransactionHookRequest) ProtoMessage() {} + +func (x *ReferenceTransactionHookRequest) ProtoReflect() protoreflect.Message { + mi := &file_hook_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_ReferenceTransactionHookRequest proto.InternalMessageInfo +// Deprecated: Use ReferenceTransactionHookRequest.ProtoReflect.Descriptor instead. +func (*ReferenceTransactionHookRequest) Descriptor() ([]byte, []int) { + return file_hook_proto_rawDescGZIP(), []int{6} +} -func (m *ReferenceTransactionHookRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *ReferenceTransactionHookRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *ReferenceTransactionHookRequest) GetEnvironmentVariables() []string { - if m != nil { - return m.EnvironmentVariables +func (x *ReferenceTransactionHookRequest) GetEnvironmentVariables() []string { + if x != nil { + return x.EnvironmentVariables } return nil } -func (m *ReferenceTransactionHookRequest) GetStdin() []byte { - if m != nil { - return m.Stdin +func (x *ReferenceTransactionHookRequest) GetStdin() []byte { + if x != nil { + return x.Stdin } return nil } -func (m *ReferenceTransactionHookRequest) GetState() ReferenceTransactionHookRequest_State { - if m != nil { - return m.State +func (x *ReferenceTransactionHookRequest) GetState() ReferenceTransactionHookRequest_State { + if x != nil { + return x.State } return ReferenceTransactionHookRequest_PREPARED } type ReferenceTransactionHookResponse struct { - Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"` - Stderr []byte `protobuf:"bytes,2,opt,name=stderr,proto3" json:"stderr,omitempty"` - ExitStatus *ExitStatus `protobuf:"bytes,3,opt,name=exit_status,json=exitStatus,proto3" json:"exit_status,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *ReferenceTransactionHookResponse) Reset() { *m = ReferenceTransactionHookResponse{} } -func (m *ReferenceTransactionHookResponse) String() string { return proto.CompactTextString(m) } -func (*ReferenceTransactionHookResponse) ProtoMessage() {} -func (*ReferenceTransactionHookResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_3eef30da1c11ee1b, []int{7} + Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"` + Stderr []byte `protobuf:"bytes,2,opt,name=stderr,proto3" json:"stderr,omitempty"` + ExitStatus *ExitStatus `protobuf:"bytes,3,opt,name=exit_status,json=exitStatus,proto3" json:"exit_status,omitempty"` } -func (m *ReferenceTransactionHookResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReferenceTransactionHookResponse.Unmarshal(m, b) -} -func (m *ReferenceTransactionHookResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReferenceTransactionHookResponse.Marshal(b, m, deterministic) -} -func (m *ReferenceTransactionHookResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReferenceTransactionHookResponse.Merge(m, src) +func (x *ReferenceTransactionHookResponse) Reset() { + *x = ReferenceTransactionHookResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_hook_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ReferenceTransactionHookResponse) XXX_Size() int { - return xxx_messageInfo_ReferenceTransactionHookResponse.Size(m) + +func (x *ReferenceTransactionHookResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ReferenceTransactionHookResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ReferenceTransactionHookResponse.DiscardUnknown(m) + +func (*ReferenceTransactionHookResponse) ProtoMessage() {} + +func (x *ReferenceTransactionHookResponse) ProtoReflect() protoreflect.Message { + mi := &file_hook_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) } -var xxx_messageInfo_ReferenceTransactionHookResponse proto.InternalMessageInfo +// Deprecated: Use ReferenceTransactionHookResponse.ProtoReflect.Descriptor instead. +func (*ReferenceTransactionHookResponse) Descriptor() ([]byte, []int) { + return file_hook_proto_rawDescGZIP(), []int{7} +} -func (m *ReferenceTransactionHookResponse) GetStdout() []byte { - if m != nil { - return m.Stdout +func (x *ReferenceTransactionHookResponse) GetStdout() []byte { + if x != nil { + return x.Stdout } return nil } -func (m *ReferenceTransactionHookResponse) GetStderr() []byte { - if m != nil { - return m.Stderr +func (x *ReferenceTransactionHookResponse) GetStderr() []byte { + if x != nil { + return x.Stderr } return nil } -func (m *ReferenceTransactionHookResponse) GetExitStatus() *ExitStatus { - if m != nil { - return m.ExitStatus +func (x *ReferenceTransactionHookResponse) GetExitStatus() *ExitStatus { + if x != nil { + return x.ExitStatus } return nil } type PackObjectsHookRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // args contains the arguments passed to the pack-objects hook, without the leading "git" Args []string `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty"` // stdin is meant for consumption by git-pack-objects - Stdin []byte `protobuf:"bytes,3,opt,name=stdin,proto3" json:"stdin,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Stdin []byte `protobuf:"bytes,3,opt,name=stdin,proto3" json:"stdin,omitempty"` } -func (m *PackObjectsHookRequest) Reset() { *m = PackObjectsHookRequest{} } -func (m *PackObjectsHookRequest) String() string { return proto.CompactTextString(m) } -func (*PackObjectsHookRequest) ProtoMessage() {} -func (*PackObjectsHookRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_3eef30da1c11ee1b, []int{8} +func (x *PackObjectsHookRequest) Reset() { + *x = PackObjectsHookRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_hook_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *PackObjectsHookRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PackObjectsHookRequest.Unmarshal(m, b) +func (x *PackObjectsHookRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PackObjectsHookRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PackObjectsHookRequest.Marshal(b, m, deterministic) -} -func (m *PackObjectsHookRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_PackObjectsHookRequest.Merge(m, src) -} -func (m *PackObjectsHookRequest) XXX_Size() int { - return xxx_messageInfo_PackObjectsHookRequest.Size(m) -} -func (m *PackObjectsHookRequest) XXX_DiscardUnknown() { - xxx_messageInfo_PackObjectsHookRequest.DiscardUnknown(m) + +func (*PackObjectsHookRequest) ProtoMessage() {} + +func (x *PackObjectsHookRequest) ProtoReflect() protoreflect.Message { + mi := &file_hook_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_PackObjectsHookRequest proto.InternalMessageInfo +// Deprecated: Use PackObjectsHookRequest.ProtoReflect.Descriptor instead. +func (*PackObjectsHookRequest) Descriptor() ([]byte, []int) { + return file_hook_proto_rawDescGZIP(), []int{8} +} -func (m *PackObjectsHookRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *PackObjectsHookRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *PackObjectsHookRequest) GetArgs() []string { - if m != nil { - return m.Args +func (x *PackObjectsHookRequest) GetArgs() []string { + if x != nil { + return x.Args } return nil } -func (m *PackObjectsHookRequest) GetStdin() []byte { - if m != nil { - return m.Stdin +func (x *PackObjectsHookRequest) GetStdin() []byte { + if x != nil { + return x.Stdin } return nil } type PackObjectsHookResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // stdout contains packfile data Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"` // stderr contains progress messages (such as "Enumerating objects ...") - Stderr []byte `protobuf:"bytes,2,opt,name=stderr,proto3" json:"stderr,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Stderr []byte `protobuf:"bytes,2,opt,name=stderr,proto3" json:"stderr,omitempty"` } -func (m *PackObjectsHookResponse) Reset() { *m = PackObjectsHookResponse{} } -func (m *PackObjectsHookResponse) String() string { return proto.CompactTextString(m) } -func (*PackObjectsHookResponse) ProtoMessage() {} -func (*PackObjectsHookResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_3eef30da1c11ee1b, []int{9} +func (x *PackObjectsHookResponse) Reset() { + *x = PackObjectsHookResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_hook_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *PackObjectsHookResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PackObjectsHookResponse.Unmarshal(m, b) -} -func (m *PackObjectsHookResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PackObjectsHookResponse.Marshal(b, m, deterministic) +func (x *PackObjectsHookResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PackObjectsHookResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_PackObjectsHookResponse.Merge(m, src) -} -func (m *PackObjectsHookResponse) XXX_Size() int { - return xxx_messageInfo_PackObjectsHookResponse.Size(m) -} -func (m *PackObjectsHookResponse) XXX_DiscardUnknown() { - xxx_messageInfo_PackObjectsHookResponse.DiscardUnknown(m) + +func (*PackObjectsHookResponse) ProtoMessage() {} + +func (x *PackObjectsHookResponse) ProtoReflect() protoreflect.Message { + mi := &file_hook_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_PackObjectsHookResponse proto.InternalMessageInfo +// Deprecated: Use PackObjectsHookResponse.ProtoReflect.Descriptor instead. +func (*PackObjectsHookResponse) Descriptor() ([]byte, []int) { + return file_hook_proto_rawDescGZIP(), []int{9} +} -func (m *PackObjectsHookResponse) GetStdout() []byte { - if m != nil { - return m.Stdout +func (x *PackObjectsHookResponse) GetStdout() []byte { + if x != nil { + return x.Stdout } return nil } -func (m *PackObjectsHookResponse) GetStderr() []byte { - if m != nil { - return m.Stderr +func (x *PackObjectsHookResponse) GetStderr() []byte { + if x != nil { + return x.Stderr } return nil } -func init() { - proto.RegisterEnum("gitaly.ReferenceTransactionHookRequest_State", ReferenceTransactionHookRequest_State_name, ReferenceTransactionHookRequest_State_value) - proto.RegisterType((*PreReceiveHookRequest)(nil), "gitaly.PreReceiveHookRequest") - proto.RegisterType((*PreReceiveHookResponse)(nil), "gitaly.PreReceiveHookResponse") - proto.RegisterType((*PostReceiveHookRequest)(nil), "gitaly.PostReceiveHookRequest") - proto.RegisterType((*PostReceiveHookResponse)(nil), "gitaly.PostReceiveHookResponse") - proto.RegisterType((*UpdateHookRequest)(nil), "gitaly.UpdateHookRequest") - proto.RegisterType((*UpdateHookResponse)(nil), "gitaly.UpdateHookResponse") - proto.RegisterType((*ReferenceTransactionHookRequest)(nil), "gitaly.ReferenceTransactionHookRequest") - proto.RegisterType((*ReferenceTransactionHookResponse)(nil), "gitaly.ReferenceTransactionHookResponse") - proto.RegisterType((*PackObjectsHookRequest)(nil), "gitaly.PackObjectsHookRequest") - proto.RegisterType((*PackObjectsHookResponse)(nil), "gitaly.PackObjectsHookResponse") -} - -func init() { proto.RegisterFile("hook.proto", fileDescriptor_3eef30da1c11ee1b) } - -var fileDescriptor_3eef30da1c11ee1b = []byte{ - // 642 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x56, 0x4f, 0x6f, 0xd3, 0x4e, - 0x10, 0xfd, 0x39, 0xff, 0x7e, 0xcd, 0x24, 0x94, 0xb0, 0x6a, 0x53, 0x63, 0x04, 0x8d, 0x7c, 0xc1, - 0x07, 0x9a, 0x94, 0xf6, 0xc2, 0xb5, 0x7f, 0x22, 0xd1, 0x43, 0x95, 0x68, 0x5b, 0x7a, 0x00, 0x89, - 0x68, 0xe3, 0x4c, 0x93, 0xa5, 0xae, 0xd7, 0xec, 0x6e, 0xd2, 0x46, 0x02, 0xae, 0x7c, 0x04, 0x38, - 0xf1, 0x71, 0xca, 0x8d, 0x4f, 0xc3, 0x89, 0x13, 0xb2, 0x9d, 0xb4, 0x49, 0xeb, 0x50, 0x84, 0x50, - 0xe9, 0x6d, 0x67, 0xde, 0xee, 0xdb, 0x7d, 0x6f, 0x26, 0x13, 0x03, 0xf4, 0x84, 0x38, 0xaa, 0x06, - 0x52, 0x68, 0x41, 0x72, 0x5d, 0xae, 0x99, 0x37, 0xb4, 0xc0, 0xe3, 0xbe, 0x8e, 0x73, 0x56, 0x51, - 0xf5, 0x98, 0xc4, 0x4e, 0x1c, 0xd9, 0x67, 0x06, 0x2c, 0x36, 0x25, 0x52, 0x74, 0x91, 0x0f, 0xf0, - 0xb9, 0x10, 0x47, 0x14, 0xdf, 0xf6, 0x51, 0x69, 0xf2, 0x0c, 0x40, 0x62, 0x20, 0x14, 0xd7, 0x42, - 0x0e, 0x4d, 0xa3, 0x62, 0x38, 0x85, 0x35, 0x52, 0x8d, 0x09, 0xab, 0xf4, 0x1c, 0xd9, 0xcc, 0x7c, - 0x3e, 0x7b, 0x62, 0xd0, 0x89, 0xbd, 0x64, 0x1d, 0x16, 0xd1, 0x1f, 0x70, 0x29, 0xfc, 0x63, 0xf4, - 0x75, 0x6b, 0xc0, 0x24, 0x67, 0x6d, 0x0f, 0x95, 0x99, 0xaa, 0xa4, 0x9d, 0x3c, 0x5d, 0x98, 0x00, - 0x0f, 0xc6, 0x18, 0x59, 0x80, 0xac, 0xd2, 0x1d, 0xee, 0x9b, 0x99, 0x8a, 0xe1, 0x14, 0x69, 0x1c, - 0x10, 0x07, 0x4a, 0x5d, 0xae, 0x5b, 0x41, 0x5f, 0xf5, 0x5a, 0x22, 0xd0, 0x5c, 0xf8, 0xca, 0xcc, - 0x46, 0x2c, 0xf3, 0x5d, 0xae, 0x9b, 0x7d, 0xd5, 0x6b, 0xc4, 0x59, 0xfb, 0x3d, 0x94, 0x2f, 0xeb, - 0x50, 0x81, 0xf0, 0x15, 0x92, 0x32, 0xe4, 0x94, 0xee, 0x88, 0xbe, 0x8e, 0x44, 0x14, 0xe9, 0x28, - 0x1a, 0xe5, 0x51, 0x4a, 0x33, 0x75, 0x9e, 0x47, 0x29, 0xc9, 0x3a, 0x14, 0xf0, 0x94, 0xeb, 0x96, - 0xd2, 0x4c, 0xf7, 0x95, 0x99, 0x9e, 0x56, 0x5e, 0x3f, 0xe5, 0x7a, 0x2f, 0x42, 0x28, 0xe0, 0xf9, - 0xda, 0xfe, 0x6a, 0x40, 0xb9, 0x29, 0x94, 0xbe, 0x45, 0x46, 0xa6, 0xaf, 0x33, 0x32, 0x93, 0x68, - 0xe4, 0x07, 0x58, 0xba, 0x22, 0xe4, 0x26, 0x9d, 0xfc, 0x66, 0xc0, 0xbd, 0x17, 0x41, 0x87, 0xe9, - 0x7f, 0x69, 0x62, 0x09, 0xd2, 0x12, 0x0f, 0x47, 0x16, 0x86, 0x4b, 0xf2, 0x00, 0xf2, 0xc2, 0xeb, - 0xb4, 0x06, 0xcc, 0xeb, 0x63, 0xd4, 0xa3, 0x79, 0x3a, 0x27, 0xbc, 0xce, 0x41, 0x18, 0x87, 0xa0, - 0x8f, 0x27, 0x23, 0x30, 0x1b, 0x83, 0x3e, 0x9e, 0x44, 0xa0, 0x3d, 0x04, 0x32, 0xa9, 0xe7, 0x26, - 0xbd, 0xfc, 0x92, 0x82, 0x65, 0x8a, 0x87, 0x28, 0xd1, 0x77, 0x71, 0x5f, 0x32, 0x5f, 0x31, 0x37, - 0xac, 0xf2, 0xad, 0x6b, 0xcf, 0xad, 0x30, 0xcb, 0x74, 0xec, 0xec, 0xfc, 0xda, 0xca, 0xc5, 0xfd, - 0xbf, 0x7c, 0x7c, 0x35, 0xd4, 0x89, 0x34, 0x3e, 0x6b, 0x3f, 0x85, 0x6c, 0x14, 0x93, 0x22, 0xcc, - 0x35, 0x69, 0xbd, 0xb9, 0x41, 0xeb, 0xdb, 0xa5, 0xff, 0xc8, 0x1d, 0xc8, 0x6f, 0x35, 0x76, 0x77, - 0x77, 0xf6, 0xf7, 0xeb, 0xdb, 0x25, 0x83, 0x14, 0xe0, 0xff, 0x8d, 0xcd, 0x06, 0x0d, 0x83, 0x94, - 0xfd, 0xd1, 0x80, 0xca, 0xec, 0x3b, 0x6e, 0xb2, 0x54, 0xef, 0xa0, 0xdc, 0x64, 0xee, 0x51, 0xa3, - 0xfd, 0x06, 0x5d, 0xad, 0xfe, 0x4e, 0x81, 0x08, 0x64, 0x98, 0xec, 0x8e, 0xeb, 0x11, 0xad, 0x93, - 0xfd, 0xb7, 0x77, 0x60, 0xe9, 0xca, 0xed, 0x7f, 0xa6, 0x7e, 0xed, 0x7b, 0x1a, 0x0a, 0x21, 0xc1, - 0x1e, 0xca, 0x01, 0x77, 0x91, 0xbc, 0x82, 0xf9, 0xe9, 0xc1, 0x4c, 0x1e, 0x8e, 0x1f, 0x9f, 0xf8, - 0xc7, 0x63, 0x3d, 0x9a, 0x05, 0xc7, 0x0f, 0xb2, 0x73, 0x3f, 0x3e, 0x39, 0xa9, 0xb9, 0x94, 0x63, - 0xac, 0x1a, 0xe4, 0x35, 0xdc, 0xbd, 0x34, 0xac, 0xc8, 0xc5, 0xf1, 0xc4, 0x71, 0x6c, 0x2d, 0xcf, - 0xc4, 0x13, 0xf8, 0x77, 0x01, 0x2e, 0x7e, 0xbb, 0xe4, 0xfe, 0xf8, 0xe8, 0x95, 0xf9, 0x64, 0x59, - 0x49, 0xd0, 0x34, 0xe1, 0xaa, 0x41, 0x86, 0x60, 0xce, 0xea, 0x36, 0xf2, 0xf8, 0x37, 0x7b, 0xde, - 0x72, 0xae, 0xdf, 0x38, 0xc3, 0xa9, 0xe9, 0x0a, 0x4f, 0x38, 0x95, 0xd8, 0x78, 0x13, 0x4e, 0x25, - 0xb7, 0xc6, 0x24, 0xff, 0xe6, 0xea, 0xcb, 0x70, 0xb7, 0xc7, 0xda, 0x55, 0x57, 0x1c, 0xd7, 0xe2, - 0xe5, 0x8a, 0x90, 0xdd, 0x5a, 0xcc, 0x51, 0x8b, 0x3e, 0x37, 0x6a, 0x5d, 0x31, 0x8a, 0x83, 0x76, - 0x3b, 0x17, 0xa5, 0xd6, 0x7f, 0x06, 0x00, 0x00, 0xff, 0xff, 0xc3, 0x68, 0xd7, 0xfb, 0xb1, 0x08, - 0x00, 0x00, +var File_hook_proto protoreflect.FileDescriptor + +var file_hook_proto_rawDesc = []byte{ + 0x0a, 0x0a, 0x68, 0x6f, 0x6f, 0x6b, 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, 0xc6, + 0x01, 0x0a, 0x15, 0x50, 0x72, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x48, 0x6f, 0x6f, + 0x6b, 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, 0x33, 0x0a, 0x15, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, + 0x74, 0x5f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, + 0x09, 0x52, 0x14, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x56, 0x61, + 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x64, 0x69, 0x6e, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x73, 0x74, 0x64, 0x69, 0x6e, 0x12, 0x28, 0x0a, + 0x10, 0x67, 0x69, 0x74, 0x5f, 0x70, 0x75, 0x73, 0x68, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, 0x67, 0x69, 0x74, 0x50, 0x75, 0x73, 0x68, + 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x7d, 0x0a, 0x16, 0x50, 0x72, 0x65, 0x52, 0x65, + 0x63, 0x65, 0x69, 0x76, 0x65, 0x48, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x64, 0x6f, 0x75, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x06, 0x73, 0x74, 0x64, 0x6f, 0x75, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x64, + 0x65, 0x72, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, 0x74, 0x64, 0x65, 0x72, + 0x72, 0x12, 0x33, 0x0a, 0x0b, 0x65, 0x78, 0x69, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x45, 0x78, 0x69, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0a, 0x65, 0x78, 0x69, 0x74, + 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0xc7, 0x01, 0x0a, 0x16, 0x50, 0x6f, 0x73, 0x74, 0x52, + 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x48, 0x6f, 0x6f, 0x6b, 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, 0x33, 0x0a, 0x15, 0x65, + 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x76, 0x61, 0x72, 0x69, 0x61, + 0x62, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x14, 0x65, 0x6e, 0x76, 0x69, + 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, + 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x64, 0x69, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x05, 0x73, 0x74, 0x64, 0x69, 0x6e, 0x12, 0x28, 0x0a, 0x10, 0x67, 0x69, 0x74, 0x5f, 0x70, 0x75, + 0x73, 0x68, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, + 0x52, 0x0e, 0x67, 0x69, 0x74, 0x50, 0x75, 0x73, 0x68, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x22, 0x7e, 0x0a, 0x17, 0x50, 0x6f, 0x73, 0x74, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x48, + 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, + 0x74, 0x64, 0x6f, 0x75, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, 0x74, 0x64, + 0x6f, 0x75, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x64, 0x65, 0x72, 0x72, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, 0x74, 0x64, 0x65, 0x72, 0x72, 0x12, 0x33, 0x0a, 0x0b, 0x65, + 0x78, 0x69, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x45, 0x78, 0x69, 0x74, 0x53, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x52, 0x0a, 0x65, 0x78, 0x69, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x22, 0xce, 0x01, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x6f, 0x6f, 0x6b, 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, 0x33, 0x0a, 0x15, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x5f, + 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, + 0x14, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x56, 0x61, 0x72, 0x69, + 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x72, 0x65, 0x66, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x03, 0x72, 0x65, 0x66, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x6c, 0x64, 0x5f, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x6c, 0x64, 0x56, + 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6e, 0x65, 0x77, 0x5f, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x65, 0x77, 0x56, 0x61, 0x6c, 0x75, + 0x65, 0x22, 0x79, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x6f, 0x6f, 0x6b, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x64, 0x6f, 0x75, + 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, 0x74, 0x64, 0x6f, 0x75, 0x74, 0x12, + 0x16, 0x0a, 0x06, 0x73, 0x74, 0x64, 0x65, 0x72, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x06, 0x73, 0x74, 0x64, 0x65, 0x72, 0x72, 0x12, 0x33, 0x0a, 0x0b, 0x65, 0x78, 0x69, 0x74, 0x5f, + 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x45, 0x78, 0x69, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x52, 0x0a, 0x65, 0x78, 0x69, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x9e, 0x02, 0x0a, + 0x1f, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x6f, 0x6f, 0x6b, 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, 0x33, 0x0a, 0x15, 0x65, 0x6e, + 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, + 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x14, 0x65, 0x6e, 0x76, 0x69, 0x72, + 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, + 0x14, 0x0a, 0x05, 0x73, 0x74, 0x64, 0x69, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, + 0x73, 0x74, 0x64, 0x69, 0x6e, 0x12, 0x43, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, + 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x48, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0x31, 0x0a, 0x05, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x12, 0x0c, 0x0a, 0x08, 0x50, 0x52, 0x45, 0x50, 0x41, 0x52, 0x45, 0x44, 0x10, + 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x4f, 0x4d, 0x4d, 0x49, 0x54, 0x54, 0x45, 0x44, 0x10, 0x01, + 0x12, 0x0b, 0x0a, 0x07, 0x41, 0x42, 0x4f, 0x52, 0x54, 0x45, 0x44, 0x10, 0x02, 0x22, 0x87, 0x01, + 0x0a, 0x20, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x64, 0x6f, 0x75, 0x74, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x06, 0x73, 0x74, 0x64, 0x6f, 0x75, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, + 0x64, 0x65, 0x72, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, 0x74, 0x64, 0x65, + 0x72, 0x72, 0x12, 0x33, 0x0a, 0x0b, 0x65, 0x78, 0x69, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, + 0x2e, 0x45, 0x78, 0x69, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0a, 0x65, 0x78, 0x69, + 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x7c, 0x0a, 0x16, 0x50, 0x61, 0x63, 0x6b, 0x4f, + 0x62, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x48, 0x6f, 0x6f, 0x6b, 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, 0x61, + 0x72, 0x67, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x61, 0x72, 0x67, 0x73, 0x12, + 0x14, 0x0a, 0x05, 0x73, 0x74, 0x64, 0x69, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, + 0x73, 0x74, 0x64, 0x69, 0x6e, 0x22, 0x49, 0x0a, 0x17, 0x50, 0x61, 0x63, 0x6b, 0x4f, 0x62, 0x6a, + 0x65, 0x63, 0x74, 0x73, 0x48, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x64, 0x6f, 0x75, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x06, 0x73, 0x74, 0x64, 0x6f, 0x75, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x64, 0x65, + 0x72, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, 0x74, 0x64, 0x65, 0x72, 0x72, + 0x32, 0xf4, 0x03, 0x0a, 0x0b, 0x48, 0x6f, 0x6f, 0x6b, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x12, 0x5b, 0x0a, 0x0e, 0x50, 0x72, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x48, 0x6f, + 0x6f, 0x6b, 0x12, 0x1d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x50, 0x72, 0x65, 0x52, + 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x48, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x1e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x50, 0x72, 0x65, 0x52, 0x65, + 0x63, 0x65, 0x69, 0x76, 0x65, 0x48, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x28, 0x01, 0x30, 0x01, 0x12, 0x5e, 0x0a, + 0x0f, 0x50, 0x6f, 0x73, 0x74, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x48, 0x6f, 0x6f, 0x6b, + 0x12, 0x1e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x52, 0x65, + 0x63, 0x65, 0x69, 0x76, 0x65, 0x48, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x1f, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x52, 0x65, + 0x63, 0x65, 0x69, 0x76, 0x65, 0x48, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x28, 0x01, 0x30, 0x01, 0x12, 0x4d, 0x0a, + 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x6f, 0x6f, 0x6b, 0x12, 0x19, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x6f, 0x6f, 0x6b, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x79, 0x0a, 0x18, + 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x6f, 0x6f, 0x6b, 0x12, 0x27, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, + 0x79, 0x2e, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x28, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x66, 0x65, 0x72, + 0x65, 0x6e, 0x63, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x48, + 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, + 0x02, 0x08, 0x02, 0x28, 0x01, 0x30, 0x01, 0x12, 0x5e, 0x0a, 0x0f, 0x50, 0x61, 0x63, 0x6b, 0x4f, + 0x62, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x48, 0x6f, 0x6f, 0x6b, 0x12, 0x1e, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x50, 0x61, 0x63, 0x6b, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x48, + 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x50, 0x61, 0x63, 0x6b, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x48, + 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, + 0x02, 0x08, 0x02, 0x28, 0x01, 0x30, 0x01, 0x42, 0x30, 0x5a, 0x2e, 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, 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_hook_proto_rawDescOnce sync.Once + file_hook_proto_rawDescData = file_hook_proto_rawDesc +) + +func file_hook_proto_rawDescGZIP() []byte { + file_hook_proto_rawDescOnce.Do(func() { + file_hook_proto_rawDescData = protoimpl.X.CompressGZIP(file_hook_proto_rawDescData) + }) + return file_hook_proto_rawDescData +} + +var file_hook_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_hook_proto_msgTypes = make([]protoimpl.MessageInfo, 10) +var file_hook_proto_goTypes = []interface{}{ + (ReferenceTransactionHookRequest_State)(0), // 0: gitaly.ReferenceTransactionHookRequest.State + (*PreReceiveHookRequest)(nil), // 1: gitaly.PreReceiveHookRequest + (*PreReceiveHookResponse)(nil), // 2: gitaly.PreReceiveHookResponse + (*PostReceiveHookRequest)(nil), // 3: gitaly.PostReceiveHookRequest + (*PostReceiveHookResponse)(nil), // 4: gitaly.PostReceiveHookResponse + (*UpdateHookRequest)(nil), // 5: gitaly.UpdateHookRequest + (*UpdateHookResponse)(nil), // 6: gitaly.UpdateHookResponse + (*ReferenceTransactionHookRequest)(nil), // 7: gitaly.ReferenceTransactionHookRequest + (*ReferenceTransactionHookResponse)(nil), // 8: gitaly.ReferenceTransactionHookResponse + (*PackObjectsHookRequest)(nil), // 9: gitaly.PackObjectsHookRequest + (*PackObjectsHookResponse)(nil), // 10: gitaly.PackObjectsHookResponse + (*Repository)(nil), // 11: gitaly.Repository + (*ExitStatus)(nil), // 12: gitaly.ExitStatus +} +var file_hook_proto_depIdxs = []int32{ + 11, // 0: gitaly.PreReceiveHookRequest.repository:type_name -> gitaly.Repository + 12, // 1: gitaly.PreReceiveHookResponse.exit_status:type_name -> gitaly.ExitStatus + 11, // 2: gitaly.PostReceiveHookRequest.repository:type_name -> gitaly.Repository + 12, // 3: gitaly.PostReceiveHookResponse.exit_status:type_name -> gitaly.ExitStatus + 11, // 4: gitaly.UpdateHookRequest.repository:type_name -> gitaly.Repository + 12, // 5: gitaly.UpdateHookResponse.exit_status:type_name -> gitaly.ExitStatus + 11, // 6: gitaly.ReferenceTransactionHookRequest.repository:type_name -> gitaly.Repository + 0, // 7: gitaly.ReferenceTransactionHookRequest.state:type_name -> gitaly.ReferenceTransactionHookRequest.State + 12, // 8: gitaly.ReferenceTransactionHookResponse.exit_status:type_name -> gitaly.ExitStatus + 11, // 9: gitaly.PackObjectsHookRequest.repository:type_name -> gitaly.Repository + 1, // 10: gitaly.HookService.PreReceiveHook:input_type -> gitaly.PreReceiveHookRequest + 3, // 11: gitaly.HookService.PostReceiveHook:input_type -> gitaly.PostReceiveHookRequest + 5, // 12: gitaly.HookService.UpdateHook:input_type -> gitaly.UpdateHookRequest + 7, // 13: gitaly.HookService.ReferenceTransactionHook:input_type -> gitaly.ReferenceTransactionHookRequest + 9, // 14: gitaly.HookService.PackObjectsHook:input_type -> gitaly.PackObjectsHookRequest + 2, // 15: gitaly.HookService.PreReceiveHook:output_type -> gitaly.PreReceiveHookResponse + 4, // 16: gitaly.HookService.PostReceiveHook:output_type -> gitaly.PostReceiveHookResponse + 6, // 17: gitaly.HookService.UpdateHook:output_type -> gitaly.UpdateHookResponse + 8, // 18: gitaly.HookService.ReferenceTransactionHook:output_type -> gitaly.ReferenceTransactionHookResponse + 10, // 19: gitaly.HookService.PackObjectsHook:output_type -> gitaly.PackObjectsHookResponse + 15, // [15:20] is the sub-list for method output_type + 10, // [10:15] is the sub-list for method input_type + 10, // [10:10] is the sub-list for extension type_name + 10, // [10:10] is the sub-list for extension extendee + 0, // [0:10] is the sub-list for field type_name +} + +func init() { file_hook_proto_init() } +func file_hook_proto_init() { + if File_hook_proto != nil { + return + } + file_lint_proto_init() + file_shared_proto_init() + if !protoimpl.UnsafeEnabled { + file_hook_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PreReceiveHookRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_hook_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PreReceiveHookResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_hook_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PostReceiveHookRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_hook_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PostReceiveHookResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_hook_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateHookRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_hook_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateHookResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_hook_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReferenceTransactionHookRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_hook_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReferenceTransactionHookResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_hook_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PackObjectsHookRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_hook_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PackObjectsHookResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_hook_proto_rawDesc, + NumEnums: 1, + NumMessages: 10, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_hook_proto_goTypes, + DependencyIndexes: file_hook_proto_depIdxs, + EnumInfos: file_hook_proto_enumTypes, + MessageInfos: file_hook_proto_msgTypes, + }.Build() + File_hook_proto = out.File + file_hook_proto_rawDesc = nil + file_hook_proto_goTypes = nil + file_hook_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConn +var _ grpc.ClientConnInterface // 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 +const _ = grpc.SupportPackageIsVersion6 // HookServiceClient is the client API for HookService service. // @@ -722,10 +1119,10 @@ type HookServiceClient interface { } type hookServiceClient struct { - cc *grpc.ClientConn + cc grpc.ClientConnInterface } -func NewHookServiceClient(cc *grpc.ClientConn) HookServiceClient { +func NewHookServiceClient(cc grpc.ClientConnInterface) HookServiceClient { return &hookServiceClient{cc} } @@ -901,19 +1298,19 @@ type HookServiceServer interface { type UnimplementedHookServiceServer struct { } -func (*UnimplementedHookServiceServer) PreReceiveHook(srv HookService_PreReceiveHookServer) error { +func (*UnimplementedHookServiceServer) PreReceiveHook(HookService_PreReceiveHookServer) error { return status.Errorf(codes.Unimplemented, "method PreReceiveHook not implemented") } -func (*UnimplementedHookServiceServer) PostReceiveHook(srv HookService_PostReceiveHookServer) error { +func (*UnimplementedHookServiceServer) PostReceiveHook(HookService_PostReceiveHookServer) error { return status.Errorf(codes.Unimplemented, "method PostReceiveHook not implemented") } -func (*UnimplementedHookServiceServer) UpdateHook(req *UpdateHookRequest, srv HookService_UpdateHookServer) error { +func (*UnimplementedHookServiceServer) UpdateHook(*UpdateHookRequest, HookService_UpdateHookServer) error { return status.Errorf(codes.Unimplemented, "method UpdateHook not implemented") } -func (*UnimplementedHookServiceServer) ReferenceTransactionHook(srv HookService_ReferenceTransactionHookServer) error { +func (*UnimplementedHookServiceServer) ReferenceTransactionHook(HookService_ReferenceTransactionHookServer) error { return status.Errorf(codes.Unimplemented, "method ReferenceTransactionHook not implemented") } -func (*UnimplementedHookServiceServer) PackObjectsHook(srv HookService_PackObjectsHookServer) error { +func (*UnimplementedHookServiceServer) PackObjectsHook(HookService_PackObjectsHookServer) error { return status.Errorf(codes.Unimplemented, "method PackObjectsHook not implemented") } diff --git a/proto/go/gitalypb/internal.pb.go b/proto/go/gitalypb/internal.pb.go index ed8a19f69..d75b6b3dd 100644 --- a/proto/go/gitalypb/internal.pb.go +++ b/proto/go/gitalypb/internal.pb.go @@ -1,140 +1,239 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc v3.12.4 // source: internal.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 +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) +) -// 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 +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 type WalkReposRequest struct { - StorageName string `protobuf:"bytes,1,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *WalkReposRequest) Reset() { *m = WalkReposRequest{} } -func (m *WalkReposRequest) String() string { return proto.CompactTextString(m) } -func (*WalkReposRequest) ProtoMessage() {} -func (*WalkReposRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_41f4a519b878ee3b, []int{0} + StorageName string `protobuf:"bytes,1,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"` } -func (m *WalkReposRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WalkReposRequest.Unmarshal(m, b) -} -func (m *WalkReposRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WalkReposRequest.Marshal(b, m, deterministic) -} -func (m *WalkReposRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_WalkReposRequest.Merge(m, src) +func (x *WalkReposRequest) Reset() { + *x = WalkReposRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_internal_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *WalkReposRequest) XXX_Size() int { - return xxx_messageInfo_WalkReposRequest.Size(m) + +func (x *WalkReposRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *WalkReposRequest) XXX_DiscardUnknown() { - xxx_messageInfo_WalkReposRequest.DiscardUnknown(m) + +func (*WalkReposRequest) ProtoMessage() {} + +func (x *WalkReposRequest) ProtoReflect() protoreflect.Message { + mi := &file_internal_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_WalkReposRequest proto.InternalMessageInfo +// Deprecated: Use WalkReposRequest.ProtoReflect.Descriptor instead. +func (*WalkReposRequest) Descriptor() ([]byte, []int) { + return file_internal_proto_rawDescGZIP(), []int{0} +} -func (m *WalkReposRequest) GetStorageName() string { - if m != nil { - return m.StorageName +func (x *WalkReposRequest) GetStorageName() string { + if x != nil { + return x.StorageName } return "" } type WalkReposResponse struct { - RelativePath string `protobuf:"bytes,1,opt,name=relative_path,json=relativePath,proto3" json:"relative_path,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *WalkReposResponse) Reset() { *m = WalkReposResponse{} } -func (m *WalkReposResponse) String() string { return proto.CompactTextString(m) } -func (*WalkReposResponse) ProtoMessage() {} -func (*WalkReposResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_41f4a519b878ee3b, []int{1} + RelativePath string `protobuf:"bytes,1,opt,name=relative_path,json=relativePath,proto3" json:"relative_path,omitempty"` } -func (m *WalkReposResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WalkReposResponse.Unmarshal(m, b) -} -func (m *WalkReposResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WalkReposResponse.Marshal(b, m, deterministic) -} -func (m *WalkReposResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_WalkReposResponse.Merge(m, src) +func (x *WalkReposResponse) Reset() { + *x = WalkReposResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_internal_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *WalkReposResponse) XXX_Size() int { - return xxx_messageInfo_WalkReposResponse.Size(m) + +func (x *WalkReposResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *WalkReposResponse) XXX_DiscardUnknown() { - xxx_messageInfo_WalkReposResponse.DiscardUnknown(m) + +func (*WalkReposResponse) ProtoMessage() {} + +func (x *WalkReposResponse) ProtoReflect() protoreflect.Message { + mi := &file_internal_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) } -var xxx_messageInfo_WalkReposResponse proto.InternalMessageInfo +// Deprecated: Use WalkReposResponse.ProtoReflect.Descriptor instead. +func (*WalkReposResponse) Descriptor() ([]byte, []int) { + return file_internal_proto_rawDescGZIP(), []int{1} +} -func (m *WalkReposResponse) GetRelativePath() string { - if m != nil { - return m.RelativePath +func (x *WalkReposResponse) GetRelativePath() string { + if x != nil { + return x.RelativePath } return "" } -func init() { - proto.RegisterType((*WalkReposRequest)(nil), "gitaly.WalkReposRequest") - proto.RegisterType((*WalkReposResponse)(nil), "gitaly.WalkReposResponse") +var File_internal_proto protoreflect.FileDescriptor + +var file_internal_proto_rawDesc = []byte{ + 0x0a, 0x0e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 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, 0x22, 0x3b, 0x0a, 0x10, 0x57, 0x61, 0x6c, 0x6b, 0x52, 0x65, 0x70, 0x6f, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x0c, 0x73, 0x74, 0x6f, 0x72, + 0x61, 0x67, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, + 0x88, 0xc6, 0x2c, 0x01, 0x52, 0x0b, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x4e, 0x61, 0x6d, + 0x65, 0x22, 0x38, 0x0a, 0x11, 0x57, 0x61, 0x6c, 0x6b, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, + 0x76, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, + 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x50, 0x61, 0x74, 0x68, 0x32, 0x5e, 0x0a, 0x0e, 0x49, + 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x47, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x12, 0x4c, 0x0a, + 0x09, 0x57, 0x61, 0x6c, 0x6b, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x12, 0x18, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x57, 0x61, 0x6c, 0x6b, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x57, 0x61, + 0x6c, 0x6b, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x08, 0xfa, 0x97, 0x28, 0x04, 0x08, 0x02, 0x10, 0x02, 0x30, 0x01, 0x42, 0x30, 0x5a, 0x2e, 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, 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_internal_proto_rawDescOnce sync.Once + file_internal_proto_rawDescData = file_internal_proto_rawDesc +) + +func file_internal_proto_rawDescGZIP() []byte { + file_internal_proto_rawDescOnce.Do(func() { + file_internal_proto_rawDescData = protoimpl.X.CompressGZIP(file_internal_proto_rawDescData) + }) + return file_internal_proto_rawDescData } -func init() { proto.RegisterFile("internal.proto", fileDescriptor_41f4a519b878ee3b) } +var file_internal_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_internal_proto_goTypes = []interface{}{ + (*WalkReposRequest)(nil), // 0: gitaly.WalkReposRequest + (*WalkReposResponse)(nil), // 1: gitaly.WalkReposResponse +} +var file_internal_proto_depIdxs = []int32{ + 0, // 0: gitaly.InternalGitaly.WalkRepos:input_type -> gitaly.WalkReposRequest + 1, // 1: gitaly.InternalGitaly.WalkRepos:output_type -> gitaly.WalkReposResponse + 1, // [1:2] is the sub-list for method output_type + 0, // [0:1] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} -var fileDescriptor_41f4a519b878ee3b = []byte{ - // 231 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0xcb, 0xcc, 0x2b, 0x49, - 0x2d, 0xca, 0x4b, 0xcc, 0xd1, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0x4b, 0xcf, 0x2c, 0x49, - 0xcc, 0xa9, 0x94, 0xe2, 0xca, 0xc9, 0xcc, 0x2b, 0x81, 0x88, 0x29, 0x59, 0x73, 0x09, 0x84, 0x27, - 0xe6, 0x64, 0x07, 0xa5, 0x16, 0xe4, 0x17, 0x07, 0xa5, 0x16, 0x96, 0xa6, 0x16, 0x97, 0x08, 0xa9, - 0x73, 0xf1, 0x14, 0x97, 0xe4, 0x17, 0x25, 0xa6, 0xa7, 0xc6, 0xe7, 0x25, 0xe6, 0xa6, 0x4a, 0x30, - 0x2a, 0x30, 0x6a, 0x70, 0x3a, 0xb1, 0x74, 0x1c, 0xd3, 0x61, 0x0c, 0xe2, 0x86, 0xca, 0xf8, 0x25, - 0xe6, 0xa6, 0x2a, 0x59, 0x70, 0x09, 0x22, 0x69, 0x2e, 0x2e, 0xc8, 0xcf, 0x2b, 0x4e, 0x15, 0x52, - 0xe6, 0xe2, 0x2d, 0x4a, 0xcd, 0x49, 0x2c, 0xc9, 0x2c, 0x4b, 0x8d, 0x2f, 0x48, 0x2c, 0xc9, 0x80, - 0x68, 0x0f, 0xe2, 0x81, 0x09, 0x06, 0x24, 0x96, 0x64, 0x18, 0xc5, 0x71, 0xf1, 0x79, 0x42, 0x1d, - 0xe7, 0x0e, 0x76, 0x94, 0x90, 0x0f, 0x17, 0x27, 0xdc, 0x2c, 0x21, 0x09, 0x3d, 0x88, 0x53, 0xf5, - 0xd0, 0xdd, 0x26, 0x25, 0x89, 0x45, 0x06, 0x62, 0xb1, 0x12, 0xc7, 0xaf, 0xe9, 0x1a, 0x2c, 0x1c, - 0x4c, 0x02, 0x4c, 0x06, 0x8c, 0x4e, 0x06, 0x51, 0x20, 0x75, 0x39, 0x89, 0x49, 0x7a, 0xc9, 0xf9, - 0xb9, 0xfa, 0x10, 0xa6, 0x6e, 0x7e, 0x51, 0xba, 0x3e, 0x44, 0xb7, 0x3e, 0xd8, 0xf3, 0xfa, 0xe9, - 0xf9, 0x50, 0x7e, 0x41, 0x52, 0x12, 0x1b, 0x58, 0xc8, 0x18, 0x10, 0x00, 0x00, 0xff, 0xff, 0x51, - 0xa3, 0xec, 0x01, 0x35, 0x01, 0x00, 0x00, +func init() { file_internal_proto_init() } +func file_internal_proto_init() { + if File_internal_proto != nil { + return + } + file_lint_proto_init() + if !protoimpl.UnsafeEnabled { + file_internal_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WalkReposRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_internal_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WalkReposResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_internal_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_internal_proto_goTypes, + DependencyIndexes: file_internal_proto_depIdxs, + MessageInfos: file_internal_proto_msgTypes, + }.Build() + File_internal_proto = out.File + file_internal_proto_rawDesc = nil + file_internal_proto_goTypes = nil + file_internal_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConn +var _ grpc.ClientConnInterface // 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 +const _ = grpc.SupportPackageIsVersion6 // InternalGitalyClient is the client API for InternalGitaly service. // @@ -146,10 +245,10 @@ type InternalGitalyClient interface { } type internalGitalyClient struct { - cc *grpc.ClientConn + cc grpc.ClientConnInterface } -func NewInternalGitalyClient(cc *grpc.ClientConn) InternalGitalyClient { +func NewInternalGitalyClient(cc grpc.ClientConnInterface) InternalGitalyClient { return &internalGitalyClient{cc} } @@ -196,7 +295,7 @@ type InternalGitalyServer interface { type UnimplementedInternalGitalyServer struct { } -func (*UnimplementedInternalGitalyServer) WalkRepos(req *WalkReposRequest, srv InternalGitaly_WalkReposServer) error { +func (*UnimplementedInternalGitalyServer) WalkRepos(*WalkReposRequest, InternalGitaly_WalkReposServer) error { return status.Errorf(codes.Unimplemented, "method WalkRepos not implemented") } diff --git a/proto/go/gitalypb/lint.pb.go b/proto/go/gitalypb/lint.pb.go index a8748caee..1dbb6422c 100644 --- a/proto/go/gitalypb/lint.pb.go +++ b/proto/go/gitalypb/lint.pb.go @@ -1,25 +1,30 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc v3.12.4 // source: lint.proto package gitalypb import ( - fmt "fmt" proto "github.com/golang/protobuf/proto" descriptor "github.com/golang/protobuf/protoc-gen-go/descriptor" - 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 +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) +) -// 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 +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 type OperationMsg_Operation int32 @@ -29,24 +34,45 @@ const ( OperationMsg_ACCESSOR OperationMsg_Operation = 2 ) -var OperationMsg_Operation_name = map[int32]string{ - 0: "UNKNOWN", - 1: "MUTATOR", - 2: "ACCESSOR", -} +// Enum value maps for OperationMsg_Operation. +var ( + OperationMsg_Operation_name = map[int32]string{ + 0: "UNKNOWN", + 1: "MUTATOR", + 2: "ACCESSOR", + } + OperationMsg_Operation_value = map[string]int32{ + "UNKNOWN": 0, + "MUTATOR": 1, + "ACCESSOR": 2, + } +) -var OperationMsg_Operation_value = map[string]int32{ - "UNKNOWN": 0, - "MUTATOR": 1, - "ACCESSOR": 2, +func (x OperationMsg_Operation) Enum() *OperationMsg_Operation { + p := new(OperationMsg_Operation) + *p = x + return p } func (x OperationMsg_Operation) String() string { - return proto.EnumName(OperationMsg_Operation_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (OperationMsg_Operation) Descriptor() protoreflect.EnumDescriptor { + return file_lint_proto_enumTypes[0].Descriptor() +} + +func (OperationMsg_Operation) Type() protoreflect.EnumType { + return &file_lint_proto_enumTypes[0] } +func (x OperationMsg_Operation) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use OperationMsg_Operation.Descriptor instead. func (OperationMsg_Operation) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_1612d42a10b555ca, []int{0, 0} + return file_lint_proto_rawDescGZIP(), []int{0, 0} } type OperationMsg_Scope int32 @@ -56,170 +82,328 @@ const ( OperationMsg_STORAGE OperationMsg_Scope = 2 ) -var OperationMsg_Scope_name = map[int32]string{ - 0: "REPOSITORY", - 2: "STORAGE", -} +// Enum value maps for OperationMsg_Scope. +var ( + OperationMsg_Scope_name = map[int32]string{ + 0: "REPOSITORY", + 2: "STORAGE", + } + OperationMsg_Scope_value = map[string]int32{ + "REPOSITORY": 0, + "STORAGE": 2, + } +) -var OperationMsg_Scope_value = map[string]int32{ - "REPOSITORY": 0, - "STORAGE": 2, +func (x OperationMsg_Scope) Enum() *OperationMsg_Scope { + p := new(OperationMsg_Scope) + *p = x + return p } func (x OperationMsg_Scope) String() string { - return proto.EnumName(OperationMsg_Scope_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (OperationMsg_Scope) Descriptor() protoreflect.EnumDescriptor { + return file_lint_proto_enumTypes[1].Descriptor() } +func (OperationMsg_Scope) Type() protoreflect.EnumType { + return &file_lint_proto_enumTypes[1] +} + +func (x OperationMsg_Scope) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use OperationMsg_Scope.Descriptor instead. func (OperationMsg_Scope) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_1612d42a10b555ca, []int{0, 1} + return file_lint_proto_rawDescGZIP(), []int{0, 1} } type OperationMsg struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Op OperationMsg_Operation `protobuf:"varint,1,opt,name=op,proto3,enum=gitaly.OperationMsg_Operation" json:"op,omitempty"` // Scope level indicates what level an RPC interacts with a server: // - REPOSITORY: scoped to only a single repo // - SERVER: affects the entire server and potentially all repos // - STORAGE: scoped to a specific storage location and all repos within - ScopeLevel OperationMsg_Scope `protobuf:"varint,2,opt,name=scope_level,json=scopeLevel,proto3,enum=gitaly.OperationMsg_Scope" json:"scope_level,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ScopeLevel OperationMsg_Scope `protobuf:"varint,2,opt,name=scope_level,json=scopeLevel,proto3,enum=gitaly.OperationMsg_Scope" json:"scope_level,omitempty"` } -func (m *OperationMsg) Reset() { *m = OperationMsg{} } -func (m *OperationMsg) String() string { return proto.CompactTextString(m) } -func (*OperationMsg) ProtoMessage() {} -func (*OperationMsg) Descriptor() ([]byte, []int) { - return fileDescriptor_1612d42a10b555ca, []int{0} +func (x *OperationMsg) Reset() { + *x = OperationMsg{} + if protoimpl.UnsafeEnabled { + mi := &file_lint_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *OperationMsg) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_OperationMsg.Unmarshal(m, b) -} -func (m *OperationMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_OperationMsg.Marshal(b, m, deterministic) -} -func (m *OperationMsg) XXX_Merge(src proto.Message) { - xxx_messageInfo_OperationMsg.Merge(m, src) +func (x *OperationMsg) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *OperationMsg) XXX_Size() int { - return xxx_messageInfo_OperationMsg.Size(m) -} -func (m *OperationMsg) XXX_DiscardUnknown() { - xxx_messageInfo_OperationMsg.DiscardUnknown(m) + +func (*OperationMsg) ProtoMessage() {} + +func (x *OperationMsg) ProtoReflect() protoreflect.Message { + mi := &file_lint_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_OperationMsg proto.InternalMessageInfo +// Deprecated: Use OperationMsg.ProtoReflect.Descriptor instead. +func (*OperationMsg) Descriptor() ([]byte, []int) { + return file_lint_proto_rawDescGZIP(), []int{0} +} -func (m *OperationMsg) GetOp() OperationMsg_Operation { - if m != nil { - return m.Op +func (x *OperationMsg) GetOp() OperationMsg_Operation { + if x != nil { + return x.Op } return OperationMsg_UNKNOWN } -func (m *OperationMsg) GetScopeLevel() OperationMsg_Scope { - if m != nil { - return m.ScopeLevel +func (x *OperationMsg) GetScopeLevel() OperationMsg_Scope { + if x != nil { + return x.ScopeLevel } return OperationMsg_REPOSITORY } -var E_Intercepted = &proto.ExtensionDesc{ - ExtendedType: (*descriptor.ServiceOptions)(nil), - ExtensionType: (*bool)(nil), - Field: 82302, - Name: "gitaly.intercepted", - Tag: "varint,82302,opt,name=intercepted", - Filename: "lint.proto", -} - -var E_OpType = &proto.ExtensionDesc{ - ExtendedType: (*descriptor.MethodOptions)(nil), - ExtensionType: (*OperationMsg)(nil), - Field: 82303, - Name: "gitaly.op_type", - Tag: "bytes,82303,opt,name=op_type", - Filename: "lint.proto", -} - -var E_Storage = &proto.ExtensionDesc{ - ExtendedType: (*descriptor.FieldOptions)(nil), - ExtensionType: (*bool)(nil), - Field: 91233, - Name: "gitaly.storage", - Tag: "varint,91233,opt,name=storage", - Filename: "lint.proto", -} - -var E_Repository = &proto.ExtensionDesc{ - ExtendedType: (*descriptor.FieldOptions)(nil), - ExtensionType: (*bool)(nil), - Field: 91234, - Name: "gitaly.repository", - Tag: "varint,91234,opt,name=repository", - Filename: "lint.proto", -} - -var E_TargetRepository = &proto.ExtensionDesc{ - ExtendedType: (*descriptor.FieldOptions)(nil), - ExtensionType: (*bool)(nil), - Field: 91235, - Name: "gitaly.target_repository", - Tag: "varint,91235,opt,name=target_repository", - Filename: "lint.proto", -} - -var E_AdditionalRepository = &proto.ExtensionDesc{ - ExtendedType: (*descriptor.FieldOptions)(nil), - ExtensionType: (*bool)(nil), - Field: 91236, - Name: "gitaly.additional_repository", - Tag: "varint,91236,opt,name=additional_repository", - Filename: "lint.proto", -} - -func init() { - proto.RegisterEnum("gitaly.OperationMsg_Operation", OperationMsg_Operation_name, OperationMsg_Operation_value) - proto.RegisterEnum("gitaly.OperationMsg_Scope", OperationMsg_Scope_name, OperationMsg_Scope_value) - proto.RegisterType((*OperationMsg)(nil), "gitaly.OperationMsg") - proto.RegisterExtension(E_Intercepted) - proto.RegisterExtension(E_OpType) - proto.RegisterExtension(E_Storage) - proto.RegisterExtension(E_Repository) - proto.RegisterExtension(E_TargetRepository) - proto.RegisterExtension(E_AdditionalRepository) -} - -func init() { proto.RegisterFile("lint.proto", fileDescriptor_1612d42a10b555ca) } - -var fileDescriptor_1612d42a10b555ca = []byte{ - // 426 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x92, 0xd1, 0x8a, 0xd3, 0x40, - 0x14, 0x86, 0x4d, 0x70, 0xdb, 0x7a, 0xba, 0x2c, 0x71, 0x58, 0xa1, 0x2c, 0xb8, 0x96, 0x5e, 0x2d, - 0x82, 0x89, 0x74, 0xaf, 0x8c, 0x17, 0x52, 0x4b, 0x14, 0x71, 0xdb, 0x91, 0x49, 0x56, 0xd1, 0x9b, - 0x92, 0x26, 0xc7, 0x38, 0x10, 0x7b, 0x86, 0xc9, 0xb8, 0xd0, 0x5b, 0x9f, 0xce, 0xd7, 0x50, 0xf7, - 0x39, 0x54, 0x92, 0x69, 0x37, 0x85, 0x5d, 0x50, 0xef, 0xe6, 0x1c, 0xfe, 0xef, 0xe3, 0xf0, 0x33, - 0x00, 0xa5, 0x5c, 0x19, 0x5f, 0x69, 0x32, 0xc4, 0x3a, 0x85, 0x34, 0x69, 0xb9, 0x3e, 0x1a, 0x16, - 0x44, 0x45, 0x89, 0x41, 0xb3, 0x5d, 0x7e, 0xf9, 0x18, 0xe4, 0x58, 0x65, 0x5a, 0x2a, 0x43, 0xda, - 0x26, 0x47, 0x97, 0x0e, 0xec, 0x73, 0x85, 0x3a, 0x35, 0x92, 0x56, 0xb3, 0xaa, 0x60, 0x3e, 0xb8, - 0xa4, 0x06, 0xce, 0xd0, 0x39, 0x39, 0x18, 0x1f, 0xfb, 0xd6, 0xe3, 0xef, 0x26, 0xda, 0x41, 0xb8, - 0xa4, 0xd8, 0x53, 0xe8, 0x57, 0x19, 0x29, 0x5c, 0x94, 0x78, 0x81, 0xe5, 0xc0, 0x6d, 0xc0, 0xa3, - 0x1b, 0xc1, 0xb8, 0xce, 0x09, 0x68, 0xe2, 0x67, 0x75, 0x7a, 0x74, 0x0a, 0x77, 0xae, 0x12, 0xac, - 0x0f, 0xdd, 0xf3, 0xf9, 0xeb, 0x39, 0x7f, 0x37, 0xf7, 0x6e, 0xd5, 0xc3, 0xec, 0x3c, 0x99, 0x24, - 0x5c, 0x78, 0x0e, 0xdb, 0x87, 0xde, 0x64, 0x3a, 0x8d, 0xe2, 0x98, 0x0b, 0xcf, 0x1d, 0x8d, 0x61, - 0xaf, 0x31, 0xb1, 0x03, 0x00, 0x11, 0xbd, 0xe1, 0xf1, 0xab, 0x84, 0x8b, 0xf7, 0x96, 0x89, 0x13, - 0x2e, 0x26, 0x2f, 0x23, 0xcf, 0x1d, 0xdd, 0xee, 0x39, 0x9e, 0xf3, 0xb0, 0x13, 0x47, 0xe2, 0x6d, - 0x24, 0xc2, 0x29, 0xf4, 0xe5, 0xca, 0xa0, 0xce, 0x50, 0x19, 0xcc, 0xd9, 0x03, 0xdf, 0x16, 0xe3, - 0x6f, 0x8b, 0xf1, 0x63, 0xd4, 0x17, 0x32, 0x43, 0xae, 0xea, 0x53, 0xaa, 0xc1, 0xaf, 0xaf, 0x7b, - 0x43, 0xe7, 0xa4, 0x27, 0x76, 0xa9, 0x90, 0x43, 0x97, 0xd4, 0xc2, 0xac, 0x15, 0xb2, 0xe3, 0x6b, - 0x82, 0x19, 0x9a, 0x4f, 0x94, 0x6f, 0xf9, 0xdf, 0x0d, 0xdf, 0x1f, 0x1f, 0xde, 0x54, 0x84, 0xe8, - 0x90, 0x4a, 0xd6, 0x0a, 0xc3, 0x27, 0xd0, 0xad, 0x0c, 0xe9, 0xb4, 0x40, 0x76, 0xff, 0x9a, 0xf0, - 0x85, 0xc4, 0xf2, 0xca, 0xf7, 0xfd, 0x9b, 0xbd, 0x67, 0x9b, 0x0f, 0x9f, 0x01, 0x68, 0x54, 0x54, - 0x49, 0x43, 0x7a, 0xfd, 0x37, 0xfa, 0xc7, 0x86, 0xde, 0x41, 0xc2, 0x33, 0xb8, 0x6b, 0x52, 0x5d, - 0xa0, 0x59, 0xfc, 0xbb, 0xe7, 0xe7, 0xc6, 0xe3, 0x59, 0x52, 0xb4, 0xb6, 0x04, 0xee, 0xa5, 0x79, - 0x2e, 0xeb, 0x58, 0x5a, 0xfe, 0x87, 0xf1, 0x72, 0x63, 0x3c, 0x6c, 0xe9, 0xd6, 0xfa, 0xfc, 0xf1, - 0x87, 0xba, 0xbe, 0x32, 0x5d, 0xfa, 0x19, 0x7d, 0x0e, 0xec, 0xf3, 0x11, 0xe9, 0x22, 0xb0, 0xa5, - 0xda, 0x6f, 0x1d, 0x14, 0xb4, 0x99, 0xd5, 0x72, 0xd9, 0x69, 0x56, 0xa7, 0x7f, 0x02, 0x00, 0x00, - 0xff, 0xff, 0x80, 0x8b, 0x42, 0x14, 0x0d, 0x03, 0x00, 0x00, +var file_lint_proto_extTypes = []protoimpl.ExtensionInfo{ + { + ExtendedType: (*descriptor.ServiceOptions)(nil), + ExtensionType: (*bool)(nil), + Field: 82302, + Name: "gitaly.intercepted", + Tag: "varint,82302,opt,name=intercepted", + Filename: "lint.proto", + }, + { + ExtendedType: (*descriptor.MethodOptions)(nil), + ExtensionType: (*OperationMsg)(nil), + Field: 82303, + Name: "gitaly.op_type", + Tag: "bytes,82303,opt,name=op_type", + Filename: "lint.proto", + }, + { + ExtendedType: (*descriptor.FieldOptions)(nil), + ExtensionType: (*bool)(nil), + Field: 91233, + Name: "gitaly.storage", + Tag: "varint,91233,opt,name=storage", + Filename: "lint.proto", + }, + { + ExtendedType: (*descriptor.FieldOptions)(nil), + ExtensionType: (*bool)(nil), + Field: 91234, + Name: "gitaly.repository", + Tag: "varint,91234,opt,name=repository", + Filename: "lint.proto", + }, + { + ExtendedType: (*descriptor.FieldOptions)(nil), + ExtensionType: (*bool)(nil), + Field: 91235, + Name: "gitaly.target_repository", + Tag: "varint,91235,opt,name=target_repository", + Filename: "lint.proto", + }, + { + ExtendedType: (*descriptor.FieldOptions)(nil), + ExtensionType: (*bool)(nil), + Field: 91236, + Name: "gitaly.additional_repository", + Tag: "varint,91236,opt,name=additional_repository", + Filename: "lint.proto", + }, +} + +// Extension fields to descriptor.ServiceOptions. +var ( + // intercepted indicates whether the proxy intercepts and handles the call + // instead of proxying. Intercepted services do not require scope or operation + // annotations. + // + // optional bool intercepted = 82302; + E_Intercepted = &file_lint_proto_extTypes[0] +) + +// Extension fields to descriptor.MethodOptions. +var ( + // Random high number.. + // + // optional gitaly.OperationMsg op_type = 82303; + E_OpType = &file_lint_proto_extTypes[1] +) + +// Extension fields to descriptor.FieldOptions. +var ( + // Used to mark field containing name of affected storage. + // + // optional bool storage = 91233; + E_Storage = &file_lint_proto_extTypes[2] // Random high number.. + // If this operation modifies a repository, this annotations + // will specify the location of the Repository field within + // the request message. + // + // Repository annotation is used mark field used as repository + // when parent message is marked as target or additional repository + // + // optional bool repository = 91234; + E_Repository = &file_lint_proto_extTypes[3] + // Used to mark target repository + // + // optional bool target_repository = 91235; + E_TargetRepository = &file_lint_proto_extTypes[4] + // Used to mark additional repository + // + // optional bool additional_repository = 91236; + E_AdditionalRepository = &file_lint_proto_extTypes[5] +) + +var File_lint_proto protoreflect.FileDescriptor + +var file_lint_proto_rawDesc = []byte{ + 0x0a, 0x0a, 0x6c, 0x69, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe4, 0x01, 0x0a, 0x0c, 0x4f, 0x70, 0x65, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x73, 0x67, 0x12, 0x2e, 0x0a, 0x02, 0x6f, 0x70, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4f, 0x70, 0x65, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x73, 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x02, 0x6f, 0x70, 0x12, 0x3b, 0x0a, 0x0b, 0x73, 0x63, 0x6f, 0x70, 0x65, + 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1a, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, + 0x73, 0x67, 0x2e, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x52, 0x0a, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x4c, + 0x65, 0x76, 0x65, 0x6c, 0x22, 0x33, 0x0a, 0x09, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0b, + 0x0a, 0x07, 0x4d, 0x55, 0x54, 0x41, 0x54, 0x4f, 0x52, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x41, + 0x43, 0x43, 0x45, 0x53, 0x53, 0x4f, 0x52, 0x10, 0x02, 0x22, 0x32, 0x0a, 0x05, 0x53, 0x63, 0x6f, + 0x70, 0x65, 0x12, 0x0e, 0x0a, 0x0a, 0x52, 0x45, 0x50, 0x4f, 0x53, 0x49, 0x54, 0x4f, 0x52, 0x59, + 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x54, 0x4f, 0x52, 0x41, 0x47, 0x45, 0x10, 0x02, 0x22, + 0x04, 0x08, 0x01, 0x10, 0x01, 0x2a, 0x06, 0x53, 0x45, 0x52, 0x56, 0x45, 0x52, 0x3a, 0x43, 0x0a, + 0x0b, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x63, 0x65, 0x70, 0x74, 0x65, 0x64, 0x12, 0x1f, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xfe, 0x82, + 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x63, 0x65, 0x70, 0x74, + 0x65, 0x64, 0x3a, 0x4f, 0x0a, 0x07, 0x6f, 0x70, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1e, 0x2e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, + 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xff, 0x82, + 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4f, + 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x73, 0x67, 0x52, 0x06, 0x6f, 0x70, 0x54, + 0x79, 0x70, 0x65, 0x3a, 0x39, 0x0a, 0x07, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x12, 0x1d, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xe1, 0xc8, + 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x3a, 0x3f, + 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1d, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, + 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xe2, 0xc8, 0x05, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x3a, + 0x4c, 0x0a, 0x11, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, + 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x18, 0xe3, 0xc8, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x74, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x3a, 0x54, 0x0a, + 0x15, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x72, 0x65, 0x70, 0x6f, + 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xe4, 0xc8, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x14, 0x61, + 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, + 0x6f, 0x72, 0x79, 0x42, 0x30, 0x5a, 0x2e, 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, 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_lint_proto_rawDescOnce sync.Once + file_lint_proto_rawDescData = file_lint_proto_rawDesc +) + +func file_lint_proto_rawDescGZIP() []byte { + file_lint_proto_rawDescOnce.Do(func() { + file_lint_proto_rawDescData = protoimpl.X.CompressGZIP(file_lint_proto_rawDescData) + }) + return file_lint_proto_rawDescData +} + +var file_lint_proto_enumTypes = make([]protoimpl.EnumInfo, 2) +var file_lint_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_lint_proto_goTypes = []interface{}{ + (OperationMsg_Operation)(0), // 0: gitaly.OperationMsg.Operation + (OperationMsg_Scope)(0), // 1: gitaly.OperationMsg.Scope + (*OperationMsg)(nil), // 2: gitaly.OperationMsg + (*descriptor.ServiceOptions)(nil), // 3: google.protobuf.ServiceOptions + (*descriptor.MethodOptions)(nil), // 4: google.protobuf.MethodOptions + (*descriptor.FieldOptions)(nil), // 5: google.protobuf.FieldOptions +} +var file_lint_proto_depIdxs = []int32{ + 0, // 0: gitaly.OperationMsg.op:type_name -> gitaly.OperationMsg.Operation + 1, // 1: gitaly.OperationMsg.scope_level:type_name -> gitaly.OperationMsg.Scope + 3, // 2: gitaly.intercepted:extendee -> google.protobuf.ServiceOptions + 4, // 3: gitaly.op_type:extendee -> google.protobuf.MethodOptions + 5, // 4: gitaly.storage:extendee -> google.protobuf.FieldOptions + 5, // 5: gitaly.repository:extendee -> google.protobuf.FieldOptions + 5, // 6: gitaly.target_repository:extendee -> google.protobuf.FieldOptions + 5, // 7: gitaly.additional_repository:extendee -> google.protobuf.FieldOptions + 2, // 8: gitaly.op_type:type_name -> gitaly.OperationMsg + 9, // [9:9] is the sub-list for method output_type + 9, // [9:9] is the sub-list for method input_type + 8, // [8:9] is the sub-list for extension type_name + 2, // [2:8] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_lint_proto_init() } +func file_lint_proto_init() { + if File_lint_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_lint_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*OperationMsg); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_lint_proto_rawDesc, + NumEnums: 2, + NumMessages: 1, + NumExtensions: 6, + NumServices: 0, + }, + GoTypes: file_lint_proto_goTypes, + DependencyIndexes: file_lint_proto_depIdxs, + EnumInfos: file_lint_proto_enumTypes, + MessageInfos: file_lint_proto_msgTypes, + ExtensionInfos: file_lint_proto_extTypes, + }.Build() + File_lint_proto = out.File + file_lint_proto_rawDesc = nil + file_lint_proto_goTypes = nil + file_lint_proto_depIdxs = nil } diff --git a/proto/go/gitalypb/namespace.pb.go b/proto/go/gitalypb/namespace.pb.go index 47d4df883..2a6f552ab 100644 --- a/proto/go/gitalypb/namespace.pb.go +++ b/proto/go/gitalypb/namespace.pb.go @@ -1,403 +1,659 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc v3.12.4 // source: namespace.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 +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) +) -// 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 +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 type AddNamespaceRequest struct { - StorageName string `protobuf:"bytes,1,opt,name=storage_name,json=storageName,proto3" json:"storage_name,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:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *AddNamespaceRequest) Reset() { *m = AddNamespaceRequest{} } -func (m *AddNamespaceRequest) String() string { return proto.CompactTextString(m) } -func (*AddNamespaceRequest) ProtoMessage() {} -func (*AddNamespaceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ecb1e126f615f5dd, []int{0} + StorageName string `protobuf:"bytes,1,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` } -func (m *AddNamespaceRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AddNamespaceRequest.Unmarshal(m, b) -} -func (m *AddNamespaceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AddNamespaceRequest.Marshal(b, m, deterministic) -} -func (m *AddNamespaceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AddNamespaceRequest.Merge(m, src) +func (x *AddNamespaceRequest) Reset() { + *x = AddNamespaceRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_namespace_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *AddNamespaceRequest) XXX_Size() int { - return xxx_messageInfo_AddNamespaceRequest.Size(m) + +func (x *AddNamespaceRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *AddNamespaceRequest) XXX_DiscardUnknown() { - xxx_messageInfo_AddNamespaceRequest.DiscardUnknown(m) + +func (*AddNamespaceRequest) ProtoMessage() {} + +func (x *AddNamespaceRequest) ProtoReflect() protoreflect.Message { + mi := &file_namespace_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_AddNamespaceRequest proto.InternalMessageInfo +// Deprecated: Use AddNamespaceRequest.ProtoReflect.Descriptor instead. +func (*AddNamespaceRequest) Descriptor() ([]byte, []int) { + return file_namespace_proto_rawDescGZIP(), []int{0} +} -func (m *AddNamespaceRequest) GetStorageName() string { - if m != nil { - return m.StorageName +func (x *AddNamespaceRequest) GetStorageName() string { + if x != nil { + return x.StorageName } return "" } -func (m *AddNamespaceRequest) GetName() string { - if m != nil { - return m.Name +func (x *AddNamespaceRequest) GetName() string { + if x != nil { + return x.Name } return "" } type RemoveNamespaceRequest struct { - StorageName string `protobuf:"bytes,1,opt,name=storage_name,json=storageName,proto3" json:"storage_name,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:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *RemoveNamespaceRequest) Reset() { *m = RemoveNamespaceRequest{} } -func (m *RemoveNamespaceRequest) String() string { return proto.CompactTextString(m) } -func (*RemoveNamespaceRequest) ProtoMessage() {} -func (*RemoveNamespaceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ecb1e126f615f5dd, []int{1} + StorageName string `protobuf:"bytes,1,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` } -func (m *RemoveNamespaceRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RemoveNamespaceRequest.Unmarshal(m, b) -} -func (m *RemoveNamespaceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RemoveNamespaceRequest.Marshal(b, m, deterministic) -} -func (m *RemoveNamespaceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RemoveNamespaceRequest.Merge(m, src) +func (x *RemoveNamespaceRequest) Reset() { + *x = RemoveNamespaceRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_namespace_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RemoveNamespaceRequest) XXX_Size() int { - return xxx_messageInfo_RemoveNamespaceRequest.Size(m) + +func (x *RemoveNamespaceRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RemoveNamespaceRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RemoveNamespaceRequest.DiscardUnknown(m) + +func (*RemoveNamespaceRequest) ProtoMessage() {} + +func (x *RemoveNamespaceRequest) ProtoReflect() protoreflect.Message { + mi := &file_namespace_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) } -var xxx_messageInfo_RemoveNamespaceRequest proto.InternalMessageInfo +// Deprecated: Use RemoveNamespaceRequest.ProtoReflect.Descriptor instead. +func (*RemoveNamespaceRequest) Descriptor() ([]byte, []int) { + return file_namespace_proto_rawDescGZIP(), []int{1} +} -func (m *RemoveNamespaceRequest) GetStorageName() string { - if m != nil { - return m.StorageName +func (x *RemoveNamespaceRequest) GetStorageName() string { + if x != nil { + return x.StorageName } return "" } -func (m *RemoveNamespaceRequest) GetName() string { - if m != nil { - return m.Name +func (x *RemoveNamespaceRequest) GetName() string { + if x != nil { + return x.Name } return "" } type RenameNamespaceRequest struct { - StorageName string `protobuf:"bytes,1,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"` - From string `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` - To string `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *RenameNamespaceRequest) Reset() { *m = RenameNamespaceRequest{} } -func (m *RenameNamespaceRequest) String() string { return proto.CompactTextString(m) } -func (*RenameNamespaceRequest) ProtoMessage() {} -func (*RenameNamespaceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ecb1e126f615f5dd, []int{2} + StorageName string `protobuf:"bytes,1,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"` + From string `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` + To string `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"` } -func (m *RenameNamespaceRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RenameNamespaceRequest.Unmarshal(m, b) -} -func (m *RenameNamespaceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RenameNamespaceRequest.Marshal(b, m, deterministic) -} -func (m *RenameNamespaceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RenameNamespaceRequest.Merge(m, src) +func (x *RenameNamespaceRequest) Reset() { + *x = RenameNamespaceRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_namespace_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RenameNamespaceRequest) XXX_Size() int { - return xxx_messageInfo_RenameNamespaceRequest.Size(m) + +func (x *RenameNamespaceRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RenameNamespaceRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RenameNamespaceRequest.DiscardUnknown(m) + +func (*RenameNamespaceRequest) ProtoMessage() {} + +func (x *RenameNamespaceRequest) ProtoReflect() protoreflect.Message { + mi := &file_namespace_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_RenameNamespaceRequest proto.InternalMessageInfo +// Deprecated: Use RenameNamespaceRequest.ProtoReflect.Descriptor instead. +func (*RenameNamespaceRequest) Descriptor() ([]byte, []int) { + return file_namespace_proto_rawDescGZIP(), []int{2} +} -func (m *RenameNamespaceRequest) GetStorageName() string { - if m != nil { - return m.StorageName +func (x *RenameNamespaceRequest) GetStorageName() string { + if x != nil { + return x.StorageName } return "" } -func (m *RenameNamespaceRequest) GetFrom() string { - if m != nil { - return m.From +func (x *RenameNamespaceRequest) GetFrom() string { + if x != nil { + return x.From } return "" } -func (m *RenameNamespaceRequest) GetTo() string { - if m != nil { - return m.To +func (x *RenameNamespaceRequest) GetTo() string { + if x != nil { + return x.To } return "" } type NamespaceExistsRequest struct { - StorageName string `protobuf:"bytes,1,opt,name=storage_name,json=storageName,proto3" json:"storage_name,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:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *NamespaceExistsRequest) Reset() { *m = NamespaceExistsRequest{} } -func (m *NamespaceExistsRequest) String() string { return proto.CompactTextString(m) } -func (*NamespaceExistsRequest) ProtoMessage() {} -func (*NamespaceExistsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ecb1e126f615f5dd, []int{3} + StorageName string `protobuf:"bytes,1,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` } -func (m *NamespaceExistsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NamespaceExistsRequest.Unmarshal(m, b) -} -func (m *NamespaceExistsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NamespaceExistsRequest.Marshal(b, m, deterministic) -} -func (m *NamespaceExistsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_NamespaceExistsRequest.Merge(m, src) +func (x *NamespaceExistsRequest) Reset() { + *x = NamespaceExistsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_namespace_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *NamespaceExistsRequest) XXX_Size() int { - return xxx_messageInfo_NamespaceExistsRequest.Size(m) + +func (x *NamespaceExistsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *NamespaceExistsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_NamespaceExistsRequest.DiscardUnknown(m) + +func (*NamespaceExistsRequest) ProtoMessage() {} + +func (x *NamespaceExistsRequest) ProtoReflect() protoreflect.Message { + mi := &file_namespace_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_NamespaceExistsRequest proto.InternalMessageInfo +// Deprecated: Use NamespaceExistsRequest.ProtoReflect.Descriptor instead. +func (*NamespaceExistsRequest) Descriptor() ([]byte, []int) { + return file_namespace_proto_rawDescGZIP(), []int{3} +} -func (m *NamespaceExistsRequest) GetStorageName() string { - if m != nil { - return m.StorageName +func (x *NamespaceExistsRequest) GetStorageName() string { + if x != nil { + return x.StorageName } return "" } -func (m *NamespaceExistsRequest) GetName() string { - if m != nil { - return m.Name +func (x *NamespaceExistsRequest) GetName() string { + if x != nil { + return x.Name } return "" } type NamespaceExistsResponse 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 *NamespaceExistsResponse) Reset() { *m = NamespaceExistsResponse{} } -func (m *NamespaceExistsResponse) String() string { return proto.CompactTextString(m) } -func (*NamespaceExistsResponse) ProtoMessage() {} -func (*NamespaceExistsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ecb1e126f615f5dd, []int{4} + Exists bool `protobuf:"varint,1,opt,name=exists,proto3" json:"exists,omitempty"` } -func (m *NamespaceExistsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NamespaceExistsResponse.Unmarshal(m, b) -} -func (m *NamespaceExistsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NamespaceExistsResponse.Marshal(b, m, deterministic) -} -func (m *NamespaceExistsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_NamespaceExistsResponse.Merge(m, src) +func (x *NamespaceExistsResponse) Reset() { + *x = NamespaceExistsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_namespace_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *NamespaceExistsResponse) XXX_Size() int { - return xxx_messageInfo_NamespaceExistsResponse.Size(m) + +func (x *NamespaceExistsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *NamespaceExistsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_NamespaceExistsResponse.DiscardUnknown(m) + +func (*NamespaceExistsResponse) ProtoMessage() {} + +func (x *NamespaceExistsResponse) ProtoReflect() protoreflect.Message { + mi := &file_namespace_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_NamespaceExistsResponse proto.InternalMessageInfo +// Deprecated: Use NamespaceExistsResponse.ProtoReflect.Descriptor instead. +func (*NamespaceExistsResponse) Descriptor() ([]byte, []int) { + return file_namespace_proto_rawDescGZIP(), []int{4} +} -func (m *NamespaceExistsResponse) GetExists() bool { - if m != nil { - return m.Exists +func (x *NamespaceExistsResponse) GetExists() bool { + if x != nil { + return x.Exists } return false } type AddNamespaceResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *AddNamespaceResponse) Reset() { *m = AddNamespaceResponse{} } -func (m *AddNamespaceResponse) String() string { return proto.CompactTextString(m) } -func (*AddNamespaceResponse) ProtoMessage() {} -func (*AddNamespaceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ecb1e126f615f5dd, []int{5} +func (x *AddNamespaceResponse) Reset() { + *x = AddNamespaceResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_namespace_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *AddNamespaceResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AddNamespaceResponse.Unmarshal(m, b) +func (x *AddNamespaceResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *AddNamespaceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AddNamespaceResponse.Marshal(b, m, deterministic) + +func (*AddNamespaceResponse) ProtoMessage() {} + +func (x *AddNamespaceResponse) ProtoReflect() protoreflect.Message { + mi := &file_namespace_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) } -func (m *AddNamespaceResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AddNamespaceResponse.Merge(m, src) + +// Deprecated: Use AddNamespaceResponse.ProtoReflect.Descriptor instead. +func (*AddNamespaceResponse) Descriptor() ([]byte, []int) { + return file_namespace_proto_rawDescGZIP(), []int{5} } -func (m *AddNamespaceResponse) XXX_Size() int { - return xxx_messageInfo_AddNamespaceResponse.Size(m) + +type RemoveNamespaceResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *AddNamespaceResponse) XXX_DiscardUnknown() { - xxx_messageInfo_AddNamespaceResponse.DiscardUnknown(m) + +func (x *RemoveNamespaceResponse) Reset() { + *x = RemoveNamespaceResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_namespace_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -var xxx_messageInfo_AddNamespaceResponse proto.InternalMessageInfo +func (x *RemoveNamespaceResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} -type RemoveNamespaceResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (*RemoveNamespaceResponse) ProtoMessage() {} + +func (x *RemoveNamespaceResponse) ProtoReflect() protoreflect.Message { + mi := &file_namespace_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) } -func (m *RemoveNamespaceResponse) Reset() { *m = RemoveNamespaceResponse{} } -func (m *RemoveNamespaceResponse) String() string { return proto.CompactTextString(m) } -func (*RemoveNamespaceResponse) ProtoMessage() {} +// Deprecated: Use RemoveNamespaceResponse.ProtoReflect.Descriptor instead. func (*RemoveNamespaceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ecb1e126f615f5dd, []int{6} + return file_namespace_proto_rawDescGZIP(), []int{6} } -func (m *RemoveNamespaceResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RemoveNamespaceResponse.Unmarshal(m, b) -} -func (m *RemoveNamespaceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RemoveNamespaceResponse.Marshal(b, m, deterministic) -} -func (m *RemoveNamespaceResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_RemoveNamespaceResponse.Merge(m, src) +type RenameNamespaceResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *RemoveNamespaceResponse) XXX_Size() int { - return xxx_messageInfo_RemoveNamespaceResponse.Size(m) + +func (x *RenameNamespaceResponse) Reset() { + *x = RenameNamespaceResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_namespace_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RemoveNamespaceResponse) XXX_DiscardUnknown() { - xxx_messageInfo_RemoveNamespaceResponse.DiscardUnknown(m) + +func (x *RenameNamespaceResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_RemoveNamespaceResponse proto.InternalMessageInfo +func (*RenameNamespaceResponse) ProtoMessage() {} -type RenameNamespaceResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *RenameNamespaceResponse) ProtoReflect() protoreflect.Message { + mi := &file_namespace_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 *RenameNamespaceResponse) Reset() { *m = RenameNamespaceResponse{} } -func (m *RenameNamespaceResponse) String() string { return proto.CompactTextString(m) } -func (*RenameNamespaceResponse) ProtoMessage() {} +// Deprecated: Use RenameNamespaceResponse.ProtoReflect.Descriptor instead. func (*RenameNamespaceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ecb1e126f615f5dd, []int{7} -} - -func (m *RenameNamespaceResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RenameNamespaceResponse.Unmarshal(m, b) -} -func (m *RenameNamespaceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RenameNamespaceResponse.Marshal(b, m, deterministic) -} -func (m *RenameNamespaceResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_RenameNamespaceResponse.Merge(m, src) -} -func (m *RenameNamespaceResponse) XXX_Size() int { - return xxx_messageInfo_RenameNamespaceResponse.Size(m) -} -func (m *RenameNamespaceResponse) XXX_DiscardUnknown() { - xxx_messageInfo_RenameNamespaceResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_RenameNamespaceResponse proto.InternalMessageInfo - -func init() { - proto.RegisterType((*AddNamespaceRequest)(nil), "gitaly.AddNamespaceRequest") - proto.RegisterType((*RemoveNamespaceRequest)(nil), "gitaly.RemoveNamespaceRequest") - proto.RegisterType((*RenameNamespaceRequest)(nil), "gitaly.RenameNamespaceRequest") - proto.RegisterType((*NamespaceExistsRequest)(nil), "gitaly.NamespaceExistsRequest") - proto.RegisterType((*NamespaceExistsResponse)(nil), "gitaly.NamespaceExistsResponse") - proto.RegisterType((*AddNamespaceResponse)(nil), "gitaly.AddNamespaceResponse") - proto.RegisterType((*RemoveNamespaceResponse)(nil), "gitaly.RemoveNamespaceResponse") - proto.RegisterType((*RenameNamespaceResponse)(nil), "gitaly.RenameNamespaceResponse") -} - -func init() { proto.RegisterFile("namespace.proto", fileDescriptor_ecb1e126f615f5dd) } - -var fileDescriptor_ecb1e126f615f5dd = []byte{ - // 350 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x93, 0xcf, 0x4e, 0xfa, 0x40, - 0x10, 0xc7, 0xd3, 0x85, 0x10, 0x7e, 0xf3, 0x23, 0x42, 0x56, 0x03, 0x88, 0x46, 0x4d, 0x2f, 0x72, - 0xd0, 0xd6, 0x3f, 0x4f, 0x20, 0x89, 0x57, 0x0f, 0x4b, 0xbc, 0x18, 0x13, 0x53, 0x60, 0x6c, 0x9a, - 0x50, 0xb6, 0x76, 0x57, 0xa2, 0x47, 0x6f, 0xbe, 0x81, 0x6f, 0xe4, 0x43, 0x79, 0x32, 0xbb, 0x5b, - 0xa0, 0x2d, 0xcb, 0x49, 0x6e, 0xb3, 0x33, 0xdf, 0xfd, 0xec, 0x74, 0xe6, 0x5b, 0x68, 0xce, 0x82, - 0x18, 0x45, 0x12, 0x8c, 0xd1, 0x4b, 0x52, 0x2e, 0x39, 0xad, 0x85, 0x91, 0x0c, 0xa6, 0xef, 0x3d, - 0x98, 0x46, 0x33, 0x69, 0x72, 0x2e, 0x83, 0xdd, 0x9b, 0xc9, 0xe4, 0x6e, 0xa1, 0x64, 0xf8, 0xf2, - 0x8a, 0x42, 0xd2, 0x53, 0x68, 0x08, 0xc9, 0xd3, 0x20, 0xc4, 0x27, 0x45, 0xe9, 0x3a, 0x27, 0x4e, - 0xff, 0xdf, 0xa0, 0xfa, 0xf9, 0x7d, 0xe6, 0xb0, 0xff, 0x59, 0x45, 0x5d, 0xa2, 0x14, 0xaa, 0x5a, - 0x40, 0x94, 0x80, 0xe9, 0xd8, 0xbd, 0x87, 0x36, 0xc3, 0x98, 0xcf, 0x71, 0xbb, 0x58, 0x54, 0x58, - 0x15, 0xfd, 0x09, 0xfb, 0x9c, 0xf2, 0x78, 0x81, 0x55, 0x31, 0xdd, 0x01, 0x22, 0x79, 0xb7, 0xa2, - 0x33, 0x44, 0x72, 0xd5, 0xfd, 0xf2, 0x81, 0xdb, 0xb7, 0x48, 0x48, 0xb1, 0x95, 0xee, 0x2f, 0xa1, - 0xb3, 0x86, 0x15, 0x09, 0x9f, 0x09, 0xa4, 0x6d, 0xa8, 0xa1, 0xce, 0x68, 0x62, 0x9d, 0x65, 0x27, - 0xb7, 0x0d, 0x7b, 0xc5, 0xdd, 0x18, 0xbd, 0xbb, 0x0f, 0x9d, 0xb5, 0xf9, 0xe6, 0x4b, 0xa5, 0x19, - 0x99, 0xd2, 0xd5, 0x47, 0x05, 0x5a, 0xcb, 0xec, 0x10, 0xd3, 0x79, 0x34, 0x46, 0x3a, 0x84, 0x46, - 0xfe, 0x09, 0x7a, 0xe0, 0x19, 0x8f, 0x78, 0x16, 0x53, 0xf4, 0x0e, 0xed, 0xc5, 0xec, 0xe9, 0xfa, - 0xcf, 0x57, 0xbf, 0x5a, 0x77, 0x5a, 0x84, 0x3e, 0x42, 0xb3, 0xd4, 0x1f, 0x3d, 0x5a, 0x5c, 0xb5, - 0x1b, 0xa3, 0x77, 0xbc, 0xb1, 0x6e, 0xa7, 0x17, 0x3e, 0x31, 0x4f, 0xb7, 0xf9, 0x23, 0x4f, 0xb7, - 0xce, 0xa6, 0x48, 0x2f, 0xad, 0x69, 0x45, 0xb7, 0xdb, 0x62, 0x45, 0xdf, 0xb0, 0xdf, 0x8c, 0x4e, - 0x5a, 0x64, 0x70, 0xf1, 0xa0, 0xb4, 0xd3, 0x60, 0xe4, 0x8d, 0x79, 0xec, 0x9b, 0xf0, 0x9c, 0xa7, - 0xa1, 0x6f, 0x08, 0xbe, 0xfe, 0x27, 0xfd, 0x90, 0x67, 0xe7, 0x64, 0x34, 0xaa, 0xe9, 0xd4, 0xf5, - 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x9f, 0xe9, 0xc9, 0x50, 0xcd, 0x03, 0x00, 0x00, + return file_namespace_proto_rawDescGZIP(), []int{7} +} + +var File_namespace_proto protoreflect.FileDescriptor + +var file_namespace_proto_rawDesc = []byte{ + 0x0a, 0x0f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 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, 0x22, 0x52, 0x0a, 0x13, 0x41, 0x64, 0x64, 0x4e, 0x61, 0x6d, 0x65, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x0c, + 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x42, 0x04, 0x88, 0xc6, 0x2c, 0x01, 0x52, 0x0b, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x55, 0x0a, 0x16, 0x52, 0x65, 0x6d, + 0x6f, 0x76, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x0c, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x6e, + 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0x88, 0xc6, 0x2c, 0x01, 0x52, + 0x0b, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x22, 0x65, 0x0a, 0x16, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x0c, 0x73, 0x74, + 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x42, 0x04, 0x88, 0xc6, 0x2c, 0x01, 0x52, 0x0b, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x4e, + 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x74, 0x6f, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x02, 0x74, 0x6f, 0x22, 0x55, 0x0a, 0x16, 0x4e, 0x61, 0x6d, 0x65, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x27, 0x0a, 0x0c, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0x88, 0xc6, 0x2c, 0x01, 0x52, 0x0b, 0x73, + 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x31, + 0x0a, 0x17, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x45, 0x78, 0x69, 0x73, 0x74, + 0x73, 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, 0x16, 0x0a, 0x14, 0x41, 0x64, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x19, 0x0a, 0x17, 0x52, 0x65, 0x6d, + 0x6f, 0x76, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x19, 0x0a, 0x17, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x4e, 0x61, + 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, + 0x81, 0x03, 0x0a, 0x10, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x12, 0x53, 0x0a, 0x0c, 0x41, 0x64, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x12, 0x1b, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x41, 0x64, + 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x1c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x41, 0x64, 0x64, 0x4e, 0x61, + 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x08, 0xfa, 0x97, 0x28, 0x04, 0x08, 0x01, 0x10, 0x02, 0x12, 0x5c, 0x0a, 0x0f, 0x52, 0x65, 0x6d, + 0x6f, 0x76, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x1e, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x4e, 0x61, 0x6d, 0x65, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x4e, 0x61, 0x6d, 0x65, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x08, 0xfa, + 0x97, 0x28, 0x04, 0x08, 0x01, 0x10, 0x02, 0x12, 0x5c, 0x0a, 0x0f, 0x52, 0x65, 0x6e, 0x61, 0x6d, + 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x1e, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x08, 0xfa, 0x97, 0x28, + 0x04, 0x08, 0x01, 0x10, 0x02, 0x12, 0x5c, 0x0a, 0x0f, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x12, 0x1e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, + 0x79, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x45, 0x78, 0x69, 0x73, 0x74, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, + 0x79, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x45, 0x78, 0x69, 0x73, 0x74, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x08, 0xfa, 0x97, 0x28, 0x04, 0x08, + 0x02, 0x10, 0x02, 0x42, 0x30, 0x5a, 0x2e, 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, 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_namespace_proto_rawDescOnce sync.Once + file_namespace_proto_rawDescData = file_namespace_proto_rawDesc +) + +func file_namespace_proto_rawDescGZIP() []byte { + file_namespace_proto_rawDescOnce.Do(func() { + file_namespace_proto_rawDescData = protoimpl.X.CompressGZIP(file_namespace_proto_rawDescData) + }) + return file_namespace_proto_rawDescData +} + +var file_namespace_proto_msgTypes = make([]protoimpl.MessageInfo, 8) +var file_namespace_proto_goTypes = []interface{}{ + (*AddNamespaceRequest)(nil), // 0: gitaly.AddNamespaceRequest + (*RemoveNamespaceRequest)(nil), // 1: gitaly.RemoveNamespaceRequest + (*RenameNamespaceRequest)(nil), // 2: gitaly.RenameNamespaceRequest + (*NamespaceExistsRequest)(nil), // 3: gitaly.NamespaceExistsRequest + (*NamespaceExistsResponse)(nil), // 4: gitaly.NamespaceExistsResponse + (*AddNamespaceResponse)(nil), // 5: gitaly.AddNamespaceResponse + (*RemoveNamespaceResponse)(nil), // 6: gitaly.RemoveNamespaceResponse + (*RenameNamespaceResponse)(nil), // 7: gitaly.RenameNamespaceResponse +} +var file_namespace_proto_depIdxs = []int32{ + 0, // 0: gitaly.NamespaceService.AddNamespace:input_type -> gitaly.AddNamespaceRequest + 1, // 1: gitaly.NamespaceService.RemoveNamespace:input_type -> gitaly.RemoveNamespaceRequest + 2, // 2: gitaly.NamespaceService.RenameNamespace:input_type -> gitaly.RenameNamespaceRequest + 3, // 3: gitaly.NamespaceService.NamespaceExists:input_type -> gitaly.NamespaceExistsRequest + 5, // 4: gitaly.NamespaceService.AddNamespace:output_type -> gitaly.AddNamespaceResponse + 6, // 5: gitaly.NamespaceService.RemoveNamespace:output_type -> gitaly.RemoveNamespaceResponse + 7, // 6: gitaly.NamespaceService.RenameNamespace:output_type -> gitaly.RenameNamespaceResponse + 4, // 7: gitaly.NamespaceService.NamespaceExists:output_type -> gitaly.NamespaceExistsResponse + 4, // [4:8] is the sub-list for method output_type + 0, // [0:4] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_namespace_proto_init() } +func file_namespace_proto_init() { + if File_namespace_proto != nil { + return + } + file_lint_proto_init() + if !protoimpl.UnsafeEnabled { + file_namespace_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddNamespaceRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_namespace_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveNamespaceRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_namespace_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RenameNamespaceRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_namespace_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NamespaceExistsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_namespace_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NamespaceExistsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_namespace_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddNamespaceResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_namespace_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveNamespaceResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_namespace_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RenameNamespaceResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_namespace_proto_rawDesc, + NumEnums: 0, + NumMessages: 8, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_namespace_proto_goTypes, + DependencyIndexes: file_namespace_proto_depIdxs, + MessageInfos: file_namespace_proto_msgTypes, + }.Build() + File_namespace_proto = out.File + file_namespace_proto_rawDesc = nil + file_namespace_proto_goTypes = nil + file_namespace_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConn +var _ grpc.ClientConnInterface // 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 +const _ = grpc.SupportPackageIsVersion6 // NamespaceServiceClient is the client API for NamespaceService service. // @@ -410,10 +666,10 @@ type NamespaceServiceClient interface { } type namespaceServiceClient struct { - cc *grpc.ClientConn + cc grpc.ClientConnInterface } -func NewNamespaceServiceClient(cc *grpc.ClientConn) NamespaceServiceClient { +func NewNamespaceServiceClient(cc grpc.ClientConnInterface) NamespaceServiceClient { return &namespaceServiceClient{cc} } @@ -465,16 +721,16 @@ type NamespaceServiceServer interface { type UnimplementedNamespaceServiceServer struct { } -func (*UnimplementedNamespaceServiceServer) AddNamespace(ctx context.Context, req *AddNamespaceRequest) (*AddNamespaceResponse, error) { +func (*UnimplementedNamespaceServiceServer) AddNamespace(context.Context, *AddNamespaceRequest) (*AddNamespaceResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method AddNamespace not implemented") } -func (*UnimplementedNamespaceServiceServer) RemoveNamespace(ctx context.Context, req *RemoveNamespaceRequest) (*RemoveNamespaceResponse, error) { +func (*UnimplementedNamespaceServiceServer) RemoveNamespace(context.Context, *RemoveNamespaceRequest) (*RemoveNamespaceResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method RemoveNamespace not implemented") } -func (*UnimplementedNamespaceServiceServer) RenameNamespace(ctx context.Context, req *RenameNamespaceRequest) (*RenameNamespaceResponse, error) { +func (*UnimplementedNamespaceServiceServer) RenameNamespace(context.Context, *RenameNamespaceRequest) (*RenameNamespaceResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method RenameNamespace not implemented") } -func (*UnimplementedNamespaceServiceServer) NamespaceExists(ctx context.Context, req *NamespaceExistsRequest) (*NamespaceExistsResponse, error) { +func (*UnimplementedNamespaceServiceServer) NamespaceExists(context.Context, *NamespaceExistsRequest) (*NamespaceExistsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method NamespaceExists not implemented") } diff --git a/proto/go/gitalypb/objectpool.pb.go b/proto/go/gitalypb/objectpool.pb.go index 15f6075cc..739e34674 100644 --- a/proto/go/gitalypb/objectpool.pb.go +++ b/proto/go/gitalypb/objectpool.pb.go @@ -1,714 +1,1215 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc v3.12.4 // source: objectpool.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 +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) +) -// 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 +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 // Creates an object pool from the repository. The client is responsible for // joining this pool later with this repository. type CreateObjectPoolRequest struct { - ObjectPool *ObjectPool `protobuf:"bytes,1,opt,name=object_pool,json=objectPool,proto3" json:"object_pool,omitempty"` - Origin *Repository `protobuf:"bytes,2,opt,name=origin,proto3" json:"origin,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *CreateObjectPoolRequest) Reset() { *m = CreateObjectPoolRequest{} } -func (m *CreateObjectPoolRequest) String() string { return proto.CompactTextString(m) } -func (*CreateObjectPoolRequest) ProtoMessage() {} -func (*CreateObjectPoolRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_949871727a345eae, []int{0} + ObjectPool *ObjectPool `protobuf:"bytes,1,opt,name=object_pool,json=objectPool,proto3" json:"object_pool,omitempty"` + Origin *Repository `protobuf:"bytes,2,opt,name=origin,proto3" json:"origin,omitempty"` } -func (m *CreateObjectPoolRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateObjectPoolRequest.Unmarshal(m, b) -} -func (m *CreateObjectPoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateObjectPoolRequest.Marshal(b, m, deterministic) -} -func (m *CreateObjectPoolRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateObjectPoolRequest.Merge(m, src) +func (x *CreateObjectPoolRequest) Reset() { + *x = CreateObjectPoolRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_objectpool_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CreateObjectPoolRequest) XXX_Size() int { - return xxx_messageInfo_CreateObjectPoolRequest.Size(m) + +func (x *CreateObjectPoolRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CreateObjectPoolRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateObjectPoolRequest.DiscardUnknown(m) + +func (*CreateObjectPoolRequest) ProtoMessage() {} + +func (x *CreateObjectPoolRequest) ProtoReflect() protoreflect.Message { + mi := &file_objectpool_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_CreateObjectPoolRequest proto.InternalMessageInfo +// Deprecated: Use CreateObjectPoolRequest.ProtoReflect.Descriptor instead. +func (*CreateObjectPoolRequest) Descriptor() ([]byte, []int) { + return file_objectpool_proto_rawDescGZIP(), []int{0} +} -func (m *CreateObjectPoolRequest) GetObjectPool() *ObjectPool { - if m != nil { - return m.ObjectPool +func (x *CreateObjectPoolRequest) GetObjectPool() *ObjectPool { + if x != nil { + return x.ObjectPool } return nil } -func (m *CreateObjectPoolRequest) GetOrigin() *Repository { - if m != nil { - return m.Origin +func (x *CreateObjectPoolRequest) GetOrigin() *Repository { + if x != nil { + return x.Origin } return nil } type CreateObjectPoolResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *CreateObjectPoolResponse) Reset() { *m = CreateObjectPoolResponse{} } -func (m *CreateObjectPoolResponse) String() string { return proto.CompactTextString(m) } -func (*CreateObjectPoolResponse) ProtoMessage() {} -func (*CreateObjectPoolResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_949871727a345eae, []int{1} +func (x *CreateObjectPoolResponse) Reset() { + *x = CreateObjectPoolResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_objectpool_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CreateObjectPoolResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateObjectPoolResponse.Unmarshal(m, b) -} -func (m *CreateObjectPoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateObjectPoolResponse.Marshal(b, m, deterministic) -} -func (m *CreateObjectPoolResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateObjectPoolResponse.Merge(m, src) +func (x *CreateObjectPoolResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CreateObjectPoolResponse) XXX_Size() int { - return xxx_messageInfo_CreateObjectPoolResponse.Size(m) -} -func (m *CreateObjectPoolResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CreateObjectPoolResponse.DiscardUnknown(m) + +func (*CreateObjectPoolResponse) ProtoMessage() {} + +func (x *CreateObjectPoolResponse) ProtoReflect() protoreflect.Message { + mi := &file_objectpool_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) } -var xxx_messageInfo_CreateObjectPoolResponse proto.InternalMessageInfo +// Deprecated: Use CreateObjectPoolResponse.ProtoReflect.Descriptor instead. +func (*CreateObjectPoolResponse) Descriptor() ([]byte, []int) { + return file_objectpool_proto_rawDescGZIP(), []int{1} +} // Removes the directory from disk, caller is responsible for leaving the object // pool before calling this RPC type DeleteObjectPoolRequest struct { - ObjectPool *ObjectPool `protobuf:"bytes,1,opt,name=object_pool,json=objectPool,proto3" json:"object_pool,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *DeleteObjectPoolRequest) Reset() { *m = DeleteObjectPoolRequest{} } -func (m *DeleteObjectPoolRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteObjectPoolRequest) ProtoMessage() {} -func (*DeleteObjectPoolRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_949871727a345eae, []int{2} + ObjectPool *ObjectPool `protobuf:"bytes,1,opt,name=object_pool,json=objectPool,proto3" json:"object_pool,omitempty"` } -func (m *DeleteObjectPoolRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteObjectPoolRequest.Unmarshal(m, b) -} -func (m *DeleteObjectPoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteObjectPoolRequest.Marshal(b, m, deterministic) -} -func (m *DeleteObjectPoolRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteObjectPoolRequest.Merge(m, src) +func (x *DeleteObjectPoolRequest) Reset() { + *x = DeleteObjectPoolRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_objectpool_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DeleteObjectPoolRequest) XXX_Size() int { - return xxx_messageInfo_DeleteObjectPoolRequest.Size(m) + +func (x *DeleteObjectPoolRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DeleteObjectPoolRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteObjectPoolRequest.DiscardUnknown(m) + +func (*DeleteObjectPoolRequest) ProtoMessage() {} + +func (x *DeleteObjectPoolRequest) ProtoReflect() protoreflect.Message { + mi := &file_objectpool_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_DeleteObjectPoolRequest proto.InternalMessageInfo +// Deprecated: Use DeleteObjectPoolRequest.ProtoReflect.Descriptor instead. +func (*DeleteObjectPoolRequest) Descriptor() ([]byte, []int) { + return file_objectpool_proto_rawDescGZIP(), []int{2} +} -func (m *DeleteObjectPoolRequest) GetObjectPool() *ObjectPool { - if m != nil { - return m.ObjectPool +func (x *DeleteObjectPoolRequest) GetObjectPool() *ObjectPool { + if x != nil { + return x.ObjectPool } return nil } type DeleteObjectPoolResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *DeleteObjectPoolResponse) Reset() { *m = DeleteObjectPoolResponse{} } -func (m *DeleteObjectPoolResponse) String() string { return proto.CompactTextString(m) } -func (*DeleteObjectPoolResponse) ProtoMessage() {} -func (*DeleteObjectPoolResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_949871727a345eae, []int{3} +func (x *DeleteObjectPoolResponse) Reset() { + *x = DeleteObjectPoolResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_objectpool_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DeleteObjectPoolResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteObjectPoolResponse.Unmarshal(m, b) -} -func (m *DeleteObjectPoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteObjectPoolResponse.Marshal(b, m, deterministic) -} -func (m *DeleteObjectPoolResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteObjectPoolResponse.Merge(m, src) -} -func (m *DeleteObjectPoolResponse) XXX_Size() int { - return xxx_messageInfo_DeleteObjectPoolResponse.Size(m) -} -func (m *DeleteObjectPoolResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteObjectPoolResponse.DiscardUnknown(m) +func (x *DeleteObjectPoolResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_DeleteObjectPoolResponse proto.InternalMessageInfo +func (*DeleteObjectPoolResponse) ProtoMessage() {} -type LinkRepositoryToObjectPoolRequest struct { - ObjectPool *ObjectPool `protobuf:"bytes,1,opt,name=object_pool,json=objectPool,proto3" json:"object_pool,omitempty"` - Repository *Repository `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *DeleteObjectPoolResponse) ProtoReflect() protoreflect.Message { + mi := &file_objectpool_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) } -func (m *LinkRepositoryToObjectPoolRequest) Reset() { *m = LinkRepositoryToObjectPoolRequest{} } -func (m *LinkRepositoryToObjectPoolRequest) String() string { return proto.CompactTextString(m) } -func (*LinkRepositoryToObjectPoolRequest) ProtoMessage() {} -func (*LinkRepositoryToObjectPoolRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_949871727a345eae, []int{4} +// Deprecated: Use DeleteObjectPoolResponse.ProtoReflect.Descriptor instead. +func (*DeleteObjectPoolResponse) Descriptor() ([]byte, []int) { + return file_objectpool_proto_rawDescGZIP(), []int{3} } -func (m *LinkRepositoryToObjectPoolRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LinkRepositoryToObjectPoolRequest.Unmarshal(m, b) -} -func (m *LinkRepositoryToObjectPoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LinkRepositoryToObjectPoolRequest.Marshal(b, m, deterministic) +type LinkRepositoryToObjectPoolRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ObjectPool *ObjectPool `protobuf:"bytes,1,opt,name=object_pool,json=objectPool,proto3" json:"object_pool,omitempty"` + Repository *Repository `protobuf:"bytes,2,opt,name=repository,proto3" json:"repository,omitempty"` } -func (m *LinkRepositoryToObjectPoolRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_LinkRepositoryToObjectPoolRequest.Merge(m, src) + +func (x *LinkRepositoryToObjectPoolRequest) Reset() { + *x = LinkRepositoryToObjectPoolRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_objectpool_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *LinkRepositoryToObjectPoolRequest) XXX_Size() int { - return xxx_messageInfo_LinkRepositoryToObjectPoolRequest.Size(m) + +func (x *LinkRepositoryToObjectPoolRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *LinkRepositoryToObjectPoolRequest) XXX_DiscardUnknown() { - xxx_messageInfo_LinkRepositoryToObjectPoolRequest.DiscardUnknown(m) + +func (*LinkRepositoryToObjectPoolRequest) ProtoMessage() {} + +func (x *LinkRepositoryToObjectPoolRequest) ProtoReflect() protoreflect.Message { + mi := &file_objectpool_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_LinkRepositoryToObjectPoolRequest proto.InternalMessageInfo +// Deprecated: Use LinkRepositoryToObjectPoolRequest.ProtoReflect.Descriptor instead. +func (*LinkRepositoryToObjectPoolRequest) Descriptor() ([]byte, []int) { + return file_objectpool_proto_rawDescGZIP(), []int{4} +} -func (m *LinkRepositoryToObjectPoolRequest) GetObjectPool() *ObjectPool { - if m != nil { - return m.ObjectPool +func (x *LinkRepositoryToObjectPoolRequest) GetObjectPool() *ObjectPool { + if x != nil { + return x.ObjectPool } return nil } -func (m *LinkRepositoryToObjectPoolRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *LinkRepositoryToObjectPoolRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } type LinkRepositoryToObjectPoolResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *LinkRepositoryToObjectPoolResponse) Reset() { *m = LinkRepositoryToObjectPoolResponse{} } -func (m *LinkRepositoryToObjectPoolResponse) String() string { return proto.CompactTextString(m) } -func (*LinkRepositoryToObjectPoolResponse) ProtoMessage() {} -func (*LinkRepositoryToObjectPoolResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_949871727a345eae, []int{5} +func (x *LinkRepositoryToObjectPoolResponse) Reset() { + *x = LinkRepositoryToObjectPoolResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_objectpool_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *LinkRepositoryToObjectPoolResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LinkRepositoryToObjectPoolResponse.Unmarshal(m, b) -} -func (m *LinkRepositoryToObjectPoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LinkRepositoryToObjectPoolResponse.Marshal(b, m, deterministic) +func (x *LinkRepositoryToObjectPoolResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *LinkRepositoryToObjectPoolResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_LinkRepositoryToObjectPoolResponse.Merge(m, src) -} -func (m *LinkRepositoryToObjectPoolResponse) XXX_Size() int { - return xxx_messageInfo_LinkRepositoryToObjectPoolResponse.Size(m) -} -func (m *LinkRepositoryToObjectPoolResponse) XXX_DiscardUnknown() { - xxx_messageInfo_LinkRepositoryToObjectPoolResponse.DiscardUnknown(m) + +func (*LinkRepositoryToObjectPoolResponse) ProtoMessage() {} + +func (x *LinkRepositoryToObjectPoolResponse) ProtoReflect() protoreflect.Message { + mi := &file_objectpool_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_LinkRepositoryToObjectPoolResponse proto.InternalMessageInfo +// Deprecated: Use LinkRepositoryToObjectPoolResponse.ProtoReflect.Descriptor instead. +func (*LinkRepositoryToObjectPoolResponse) Descriptor() ([]byte, []int) { + return file_objectpool_proto_rawDescGZIP(), []int{5} +} // This RPC doesn't require the ObjectPool as it will remove the alternates file // from the pool participant. The caller is responsible no data loss occurs. type UnlinkRepositoryFromObjectPoolRequest struct { - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - ObjectPool *ObjectPool `protobuf:"bytes,2,opt,name=object_pool,json=objectPool,proto3" json:"object_pool,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *UnlinkRepositoryFromObjectPoolRequest) Reset() { *m = UnlinkRepositoryFromObjectPoolRequest{} } -func (m *UnlinkRepositoryFromObjectPoolRequest) String() string { return proto.CompactTextString(m) } -func (*UnlinkRepositoryFromObjectPoolRequest) ProtoMessage() {} -func (*UnlinkRepositoryFromObjectPoolRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_949871727a345eae, []int{6} + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // already specified as the target repo field + ObjectPool *ObjectPool `protobuf:"bytes,2,opt,name=object_pool,json=objectPool,proto3" json:"object_pool,omitempty"` } -func (m *UnlinkRepositoryFromObjectPoolRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UnlinkRepositoryFromObjectPoolRequest.Unmarshal(m, b) -} -func (m *UnlinkRepositoryFromObjectPoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UnlinkRepositoryFromObjectPoolRequest.Marshal(b, m, deterministic) -} -func (m *UnlinkRepositoryFromObjectPoolRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UnlinkRepositoryFromObjectPoolRequest.Merge(m, src) +func (x *UnlinkRepositoryFromObjectPoolRequest) Reset() { + *x = UnlinkRepositoryFromObjectPoolRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_objectpool_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UnlinkRepositoryFromObjectPoolRequest) XXX_Size() int { - return xxx_messageInfo_UnlinkRepositoryFromObjectPoolRequest.Size(m) + +func (x *UnlinkRepositoryFromObjectPoolRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UnlinkRepositoryFromObjectPoolRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UnlinkRepositoryFromObjectPoolRequest.DiscardUnknown(m) + +func (*UnlinkRepositoryFromObjectPoolRequest) ProtoMessage() {} + +func (x *UnlinkRepositoryFromObjectPoolRequest) ProtoReflect() protoreflect.Message { + mi := &file_objectpool_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_UnlinkRepositoryFromObjectPoolRequest proto.InternalMessageInfo +// Deprecated: Use UnlinkRepositoryFromObjectPoolRequest.ProtoReflect.Descriptor instead. +func (*UnlinkRepositoryFromObjectPoolRequest) Descriptor() ([]byte, []int) { + return file_objectpool_proto_rawDescGZIP(), []int{6} +} -func (m *UnlinkRepositoryFromObjectPoolRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *UnlinkRepositoryFromObjectPoolRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *UnlinkRepositoryFromObjectPoolRequest) GetObjectPool() *ObjectPool { - if m != nil { - return m.ObjectPool +func (x *UnlinkRepositoryFromObjectPoolRequest) GetObjectPool() *ObjectPool { + if x != nil { + return x.ObjectPool } return nil } type UnlinkRepositoryFromObjectPoolResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *UnlinkRepositoryFromObjectPoolResponse) Reset() { - *m = UnlinkRepositoryFromObjectPoolResponse{} -} -func (m *UnlinkRepositoryFromObjectPoolResponse) String() string { return proto.CompactTextString(m) } -func (*UnlinkRepositoryFromObjectPoolResponse) ProtoMessage() {} -func (*UnlinkRepositoryFromObjectPoolResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_949871727a345eae, []int{7} +func (x *UnlinkRepositoryFromObjectPoolResponse) Reset() { + *x = UnlinkRepositoryFromObjectPoolResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_objectpool_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UnlinkRepositoryFromObjectPoolResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UnlinkRepositoryFromObjectPoolResponse.Unmarshal(m, b) -} -func (m *UnlinkRepositoryFromObjectPoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UnlinkRepositoryFromObjectPoolResponse.Marshal(b, m, deterministic) -} -func (m *UnlinkRepositoryFromObjectPoolResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_UnlinkRepositoryFromObjectPoolResponse.Merge(m, src) -} -func (m *UnlinkRepositoryFromObjectPoolResponse) XXX_Size() int { - return xxx_messageInfo_UnlinkRepositoryFromObjectPoolResponse.Size(m) -} -func (m *UnlinkRepositoryFromObjectPoolResponse) XXX_DiscardUnknown() { - xxx_messageInfo_UnlinkRepositoryFromObjectPoolResponse.DiscardUnknown(m) +func (x *UnlinkRepositoryFromObjectPoolResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_UnlinkRepositoryFromObjectPoolResponse proto.InternalMessageInfo +func (*UnlinkRepositoryFromObjectPoolResponse) ProtoMessage() {} -type ReduplicateRepositoryRequest 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:"-"` +func (x *UnlinkRepositoryFromObjectPoolResponse) ProtoReflect() protoreflect.Message { + mi := &file_objectpool_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 *ReduplicateRepositoryRequest) Reset() { *m = ReduplicateRepositoryRequest{} } -func (m *ReduplicateRepositoryRequest) String() string { return proto.CompactTextString(m) } -func (*ReduplicateRepositoryRequest) ProtoMessage() {} -func (*ReduplicateRepositoryRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_949871727a345eae, []int{8} +// Deprecated: Use UnlinkRepositoryFromObjectPoolResponse.ProtoReflect.Descriptor instead. +func (*UnlinkRepositoryFromObjectPoolResponse) Descriptor() ([]byte, []int) { + return file_objectpool_proto_rawDescGZIP(), []int{7} } -func (m *ReduplicateRepositoryRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReduplicateRepositoryRequest.Unmarshal(m, b) -} -func (m *ReduplicateRepositoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReduplicateRepositoryRequest.Marshal(b, m, deterministic) +type ReduplicateRepositoryRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` } -func (m *ReduplicateRepositoryRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReduplicateRepositoryRequest.Merge(m, src) + +func (x *ReduplicateRepositoryRequest) Reset() { + *x = ReduplicateRepositoryRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_objectpool_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ReduplicateRepositoryRequest) XXX_Size() int { - return xxx_messageInfo_ReduplicateRepositoryRequest.Size(m) + +func (x *ReduplicateRepositoryRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ReduplicateRepositoryRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ReduplicateRepositoryRequest.DiscardUnknown(m) + +func (*ReduplicateRepositoryRequest) ProtoMessage() {} + +func (x *ReduplicateRepositoryRequest) ProtoReflect() protoreflect.Message { + mi := &file_objectpool_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_ReduplicateRepositoryRequest proto.InternalMessageInfo +// Deprecated: Use ReduplicateRepositoryRequest.ProtoReflect.Descriptor instead. +func (*ReduplicateRepositoryRequest) Descriptor() ([]byte, []int) { + return file_objectpool_proto_rawDescGZIP(), []int{8} +} -func (m *ReduplicateRepositoryRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *ReduplicateRepositoryRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } type ReduplicateRepositoryResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *ReduplicateRepositoryResponse) Reset() { *m = ReduplicateRepositoryResponse{} } -func (m *ReduplicateRepositoryResponse) String() string { return proto.CompactTextString(m) } -func (*ReduplicateRepositoryResponse) ProtoMessage() {} -func (*ReduplicateRepositoryResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_949871727a345eae, []int{9} +func (x *ReduplicateRepositoryResponse) Reset() { + *x = ReduplicateRepositoryResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_objectpool_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ReduplicateRepositoryResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReduplicateRepositoryResponse.Unmarshal(m, b) -} -func (m *ReduplicateRepositoryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReduplicateRepositoryResponse.Marshal(b, m, deterministic) -} -func (m *ReduplicateRepositoryResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReduplicateRepositoryResponse.Merge(m, src) -} -func (m *ReduplicateRepositoryResponse) XXX_Size() int { - return xxx_messageInfo_ReduplicateRepositoryResponse.Size(m) -} -func (m *ReduplicateRepositoryResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ReduplicateRepositoryResponse.DiscardUnknown(m) +func (x *ReduplicateRepositoryResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_ReduplicateRepositoryResponse proto.InternalMessageInfo +func (*ReduplicateRepositoryResponse) ProtoMessage() {} -type DisconnectGitAlternatesRequest 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:"-"` +func (x *ReduplicateRepositoryResponse) ProtoReflect() protoreflect.Message { + mi := &file_objectpool_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) } -func (m *DisconnectGitAlternatesRequest) Reset() { *m = DisconnectGitAlternatesRequest{} } -func (m *DisconnectGitAlternatesRequest) String() string { return proto.CompactTextString(m) } -func (*DisconnectGitAlternatesRequest) ProtoMessage() {} -func (*DisconnectGitAlternatesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_949871727a345eae, []int{10} +// Deprecated: Use ReduplicateRepositoryResponse.ProtoReflect.Descriptor instead. +func (*ReduplicateRepositoryResponse) Descriptor() ([]byte, []int) { + return file_objectpool_proto_rawDescGZIP(), []int{9} } -func (m *DisconnectGitAlternatesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DisconnectGitAlternatesRequest.Unmarshal(m, b) -} -func (m *DisconnectGitAlternatesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DisconnectGitAlternatesRequest.Marshal(b, m, deterministic) +type DisconnectGitAlternatesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` } -func (m *DisconnectGitAlternatesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DisconnectGitAlternatesRequest.Merge(m, src) + +func (x *DisconnectGitAlternatesRequest) Reset() { + *x = DisconnectGitAlternatesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_objectpool_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DisconnectGitAlternatesRequest) XXX_Size() int { - return xxx_messageInfo_DisconnectGitAlternatesRequest.Size(m) + +func (x *DisconnectGitAlternatesRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DisconnectGitAlternatesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DisconnectGitAlternatesRequest.DiscardUnknown(m) + +func (*DisconnectGitAlternatesRequest) ProtoMessage() {} + +func (x *DisconnectGitAlternatesRequest) ProtoReflect() protoreflect.Message { + mi := &file_objectpool_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_DisconnectGitAlternatesRequest proto.InternalMessageInfo +// Deprecated: Use DisconnectGitAlternatesRequest.ProtoReflect.Descriptor instead. +func (*DisconnectGitAlternatesRequest) Descriptor() ([]byte, []int) { + return file_objectpool_proto_rawDescGZIP(), []int{10} +} -func (m *DisconnectGitAlternatesRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *DisconnectGitAlternatesRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } type DisconnectGitAlternatesResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *DisconnectGitAlternatesResponse) Reset() { *m = DisconnectGitAlternatesResponse{} } -func (m *DisconnectGitAlternatesResponse) String() string { return proto.CompactTextString(m) } -func (*DisconnectGitAlternatesResponse) ProtoMessage() {} -func (*DisconnectGitAlternatesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_949871727a345eae, []int{11} +func (x *DisconnectGitAlternatesResponse) Reset() { + *x = DisconnectGitAlternatesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_objectpool_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DisconnectGitAlternatesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DisconnectGitAlternatesResponse.Unmarshal(m, b) -} -func (m *DisconnectGitAlternatesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DisconnectGitAlternatesResponse.Marshal(b, m, deterministic) -} -func (m *DisconnectGitAlternatesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DisconnectGitAlternatesResponse.Merge(m, src) -} -func (m *DisconnectGitAlternatesResponse) XXX_Size() int { - return xxx_messageInfo_DisconnectGitAlternatesResponse.Size(m) -} -func (m *DisconnectGitAlternatesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DisconnectGitAlternatesResponse.DiscardUnknown(m) +func (x *DisconnectGitAlternatesResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_DisconnectGitAlternatesResponse proto.InternalMessageInfo +func (*DisconnectGitAlternatesResponse) ProtoMessage() {} -type FetchIntoObjectPoolRequest struct { - Origin *Repository `protobuf:"bytes,1,opt,name=origin,proto3" json:"origin,omitempty"` - ObjectPool *ObjectPool `protobuf:"bytes,2,opt,name=object_pool,json=objectPool,proto3" json:"object_pool,omitempty"` - Repack bool `protobuf:"varint,3,opt,name=repack,proto3" json:"repack,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *DisconnectGitAlternatesResponse) ProtoReflect() protoreflect.Message { + mi := &file_objectpool_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 mi.MessageOf(x) } -func (m *FetchIntoObjectPoolRequest) Reset() { *m = FetchIntoObjectPoolRequest{} } -func (m *FetchIntoObjectPoolRequest) String() string { return proto.CompactTextString(m) } -func (*FetchIntoObjectPoolRequest) ProtoMessage() {} -func (*FetchIntoObjectPoolRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_949871727a345eae, []int{12} +// Deprecated: Use DisconnectGitAlternatesResponse.ProtoReflect.Descriptor instead. +func (*DisconnectGitAlternatesResponse) Descriptor() ([]byte, []int) { + return file_objectpool_proto_rawDescGZIP(), []int{11} } -func (m *FetchIntoObjectPoolRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FetchIntoObjectPoolRequest.Unmarshal(m, b) -} -func (m *FetchIntoObjectPoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FetchIntoObjectPoolRequest.Marshal(b, m, deterministic) +type FetchIntoObjectPoolRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Origin *Repository `protobuf:"bytes,1,opt,name=origin,proto3" json:"origin,omitempty"` + ObjectPool *ObjectPool `protobuf:"bytes,2,opt,name=object_pool,json=objectPool,proto3" json:"object_pool,omitempty"` + Repack bool `protobuf:"varint,3,opt,name=repack,proto3" json:"repack,omitempty"` } -func (m *FetchIntoObjectPoolRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_FetchIntoObjectPoolRequest.Merge(m, src) + +func (x *FetchIntoObjectPoolRequest) Reset() { + *x = FetchIntoObjectPoolRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_objectpool_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FetchIntoObjectPoolRequest) XXX_Size() int { - return xxx_messageInfo_FetchIntoObjectPoolRequest.Size(m) + +func (x *FetchIntoObjectPoolRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FetchIntoObjectPoolRequest) XXX_DiscardUnknown() { - xxx_messageInfo_FetchIntoObjectPoolRequest.DiscardUnknown(m) + +func (*FetchIntoObjectPoolRequest) ProtoMessage() {} + +func (x *FetchIntoObjectPoolRequest) ProtoReflect() protoreflect.Message { + mi := &file_objectpool_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_FetchIntoObjectPoolRequest proto.InternalMessageInfo +// Deprecated: Use FetchIntoObjectPoolRequest.ProtoReflect.Descriptor instead. +func (*FetchIntoObjectPoolRequest) Descriptor() ([]byte, []int) { + return file_objectpool_proto_rawDescGZIP(), []int{12} +} -func (m *FetchIntoObjectPoolRequest) GetOrigin() *Repository { - if m != nil { - return m.Origin +func (x *FetchIntoObjectPoolRequest) GetOrigin() *Repository { + if x != nil { + return x.Origin } return nil } -func (m *FetchIntoObjectPoolRequest) GetObjectPool() *ObjectPool { - if m != nil { - return m.ObjectPool +func (x *FetchIntoObjectPoolRequest) GetObjectPool() *ObjectPool { + if x != nil { + return x.ObjectPool } return nil } -func (m *FetchIntoObjectPoolRequest) GetRepack() bool { - if m != nil { - return m.Repack +func (x *FetchIntoObjectPoolRequest) GetRepack() bool { + if x != nil { + return x.Repack } return false } type FetchIntoObjectPoolResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *FetchIntoObjectPoolResponse) Reset() { *m = FetchIntoObjectPoolResponse{} } -func (m *FetchIntoObjectPoolResponse) String() string { return proto.CompactTextString(m) } -func (*FetchIntoObjectPoolResponse) ProtoMessage() {} -func (*FetchIntoObjectPoolResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_949871727a345eae, []int{13} +func (x *FetchIntoObjectPoolResponse) Reset() { + *x = FetchIntoObjectPoolResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_objectpool_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FetchIntoObjectPoolResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FetchIntoObjectPoolResponse.Unmarshal(m, b) -} -func (m *FetchIntoObjectPoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FetchIntoObjectPoolResponse.Marshal(b, m, deterministic) -} -func (m *FetchIntoObjectPoolResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_FetchIntoObjectPoolResponse.Merge(m, src) -} -func (m *FetchIntoObjectPoolResponse) XXX_Size() int { - return xxx_messageInfo_FetchIntoObjectPoolResponse.Size(m) -} -func (m *FetchIntoObjectPoolResponse) XXX_DiscardUnknown() { - xxx_messageInfo_FetchIntoObjectPoolResponse.DiscardUnknown(m) +func (x *FetchIntoObjectPoolResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_FetchIntoObjectPoolResponse proto.InternalMessageInfo +func (*FetchIntoObjectPoolResponse) ProtoMessage() {} -type GetObjectPoolRequest 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:"-"` +func (x *FetchIntoObjectPoolResponse) ProtoReflect() protoreflect.Message { + mi := &file_objectpool_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 mi.MessageOf(x) } -func (m *GetObjectPoolRequest) Reset() { *m = GetObjectPoolRequest{} } -func (m *GetObjectPoolRequest) String() string { return proto.CompactTextString(m) } -func (*GetObjectPoolRequest) ProtoMessage() {} -func (*GetObjectPoolRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_949871727a345eae, []int{14} +// Deprecated: Use FetchIntoObjectPoolResponse.ProtoReflect.Descriptor instead. +func (*FetchIntoObjectPoolResponse) Descriptor() ([]byte, []int) { + return file_objectpool_proto_rawDescGZIP(), []int{13} } -func (m *GetObjectPoolRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetObjectPoolRequest.Unmarshal(m, b) -} -func (m *GetObjectPoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetObjectPoolRequest.Marshal(b, m, deterministic) +type GetObjectPoolRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` } -func (m *GetObjectPoolRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetObjectPoolRequest.Merge(m, src) + +func (x *GetObjectPoolRequest) Reset() { + *x = GetObjectPoolRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_objectpool_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetObjectPoolRequest) XXX_Size() int { - return xxx_messageInfo_GetObjectPoolRequest.Size(m) + +func (x *GetObjectPoolRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetObjectPoolRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetObjectPoolRequest.DiscardUnknown(m) + +func (*GetObjectPoolRequest) ProtoMessage() {} + +func (x *GetObjectPoolRequest) ProtoReflect() protoreflect.Message { + mi := &file_objectpool_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 mi.MessageOf(x) } -var xxx_messageInfo_GetObjectPoolRequest proto.InternalMessageInfo +// Deprecated: Use GetObjectPoolRequest.ProtoReflect.Descriptor instead. +func (*GetObjectPoolRequest) Descriptor() ([]byte, []int) { + return file_objectpool_proto_rawDescGZIP(), []int{14} +} -func (m *GetObjectPoolRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *GetObjectPoolRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } type GetObjectPoolResponse struct { - ObjectPool *ObjectPool `protobuf:"bytes,1,opt,name=object_pool,json=objectPool,proto3" json:"object_pool,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *GetObjectPoolResponse) Reset() { *m = GetObjectPoolResponse{} } -func (m *GetObjectPoolResponse) String() string { return proto.CompactTextString(m) } -func (*GetObjectPoolResponse) ProtoMessage() {} -func (*GetObjectPoolResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_949871727a345eae, []int{15} + ObjectPool *ObjectPool `protobuf:"bytes,1,opt,name=object_pool,json=objectPool,proto3" json:"object_pool,omitempty"` } -func (m *GetObjectPoolResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetObjectPoolResponse.Unmarshal(m, b) -} -func (m *GetObjectPoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetObjectPoolResponse.Marshal(b, m, deterministic) -} -func (m *GetObjectPoolResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetObjectPoolResponse.Merge(m, src) +func (x *GetObjectPoolResponse) Reset() { + *x = GetObjectPoolResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_objectpool_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetObjectPoolResponse) XXX_Size() int { - return xxx_messageInfo_GetObjectPoolResponse.Size(m) + +func (x *GetObjectPoolResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetObjectPoolResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetObjectPoolResponse.DiscardUnknown(m) + +func (*GetObjectPoolResponse) ProtoMessage() {} + +func (x *GetObjectPoolResponse) ProtoReflect() protoreflect.Message { + mi := &file_objectpool_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) } -var xxx_messageInfo_GetObjectPoolResponse proto.InternalMessageInfo +// Deprecated: Use GetObjectPoolResponse.ProtoReflect.Descriptor instead. +func (*GetObjectPoolResponse) Descriptor() ([]byte, []int) { + return file_objectpool_proto_rawDescGZIP(), []int{15} +} -func (m *GetObjectPoolResponse) GetObjectPool() *ObjectPool { - if m != nil { - return m.ObjectPool +func (x *GetObjectPoolResponse) GetObjectPool() *ObjectPool { + if x != nil { + return x.ObjectPool } return nil } -func init() { - proto.RegisterType((*CreateObjectPoolRequest)(nil), "gitaly.CreateObjectPoolRequest") - proto.RegisterType((*CreateObjectPoolResponse)(nil), "gitaly.CreateObjectPoolResponse") - proto.RegisterType((*DeleteObjectPoolRequest)(nil), "gitaly.DeleteObjectPoolRequest") - proto.RegisterType((*DeleteObjectPoolResponse)(nil), "gitaly.DeleteObjectPoolResponse") - proto.RegisterType((*LinkRepositoryToObjectPoolRequest)(nil), "gitaly.LinkRepositoryToObjectPoolRequest") - proto.RegisterType((*LinkRepositoryToObjectPoolResponse)(nil), "gitaly.LinkRepositoryToObjectPoolResponse") - proto.RegisterType((*UnlinkRepositoryFromObjectPoolRequest)(nil), "gitaly.UnlinkRepositoryFromObjectPoolRequest") - proto.RegisterType((*UnlinkRepositoryFromObjectPoolResponse)(nil), "gitaly.UnlinkRepositoryFromObjectPoolResponse") - proto.RegisterType((*ReduplicateRepositoryRequest)(nil), "gitaly.ReduplicateRepositoryRequest") - proto.RegisterType((*ReduplicateRepositoryResponse)(nil), "gitaly.ReduplicateRepositoryResponse") - proto.RegisterType((*DisconnectGitAlternatesRequest)(nil), "gitaly.DisconnectGitAlternatesRequest") - proto.RegisterType((*DisconnectGitAlternatesResponse)(nil), "gitaly.DisconnectGitAlternatesResponse") - proto.RegisterType((*FetchIntoObjectPoolRequest)(nil), "gitaly.FetchIntoObjectPoolRequest") - proto.RegisterType((*FetchIntoObjectPoolResponse)(nil), "gitaly.FetchIntoObjectPoolResponse") - proto.RegisterType((*GetObjectPoolRequest)(nil), "gitaly.GetObjectPoolRequest") - proto.RegisterType((*GetObjectPoolResponse)(nil), "gitaly.GetObjectPoolResponse") -} - -func init() { proto.RegisterFile("objectpool.proto", fileDescriptor_949871727a345eae) } - -var fileDescriptor_949871727a345eae = []byte{ - // 589 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0x41, 0x4f, 0x13, 0x41, - 0x18, 0xcd, 0x54, 0xb2, 0x21, 0x1f, 0x9a, 0xe0, 0x28, 0xb6, 0x19, 0x29, 0x2d, 0x2b, 0x60, 0x35, - 0xd2, 0x12, 0xb8, 0xe8, 0xd1, 0x4a, 0x20, 0x26, 0x24, 0x92, 0x5a, 0x13, 0x43, 0x62, 0xcc, 0x76, - 0xf9, 0x2c, 0x2b, 0xc3, 0xce, 0x3a, 0x3b, 0x98, 0x10, 0xef, 0xfa, 0x13, 0xe4, 0xe0, 0x01, 0xff, - 0x8c, 0xbf, 0xc9, 0x78, 0x32, 0xed, 0xce, 0x76, 0xed, 0xb4, 0xd3, 0xae, 0x29, 0xb7, 0xee, 0xec, - 0x9b, 0xf7, 0xde, 0x37, 0x3b, 0xef, 0xa5, 0xb0, 0x28, 0x3a, 0x1f, 0xd1, 0x57, 0x91, 0x10, 0xbc, - 0x1e, 0x49, 0xa1, 0x04, 0x75, 0xba, 0x81, 0xf2, 0xf8, 0x05, 0x03, 0x1e, 0x84, 0x2a, 0x59, 0x63, - 0x37, 0xe3, 0x13, 0x4f, 0xe2, 0x71, 0xf2, 0xe4, 0x7e, 0x25, 0x50, 0x7c, 0x21, 0xd1, 0x53, 0xf8, - 0xaa, 0xbf, 0xf9, 0x50, 0x08, 0xde, 0xc2, 0x4f, 0xe7, 0x18, 0x2b, 0xfa, 0x0c, 0x16, 0x12, 0xc6, - 0xf7, 0x3d, 0xca, 0x12, 0xa9, 0x92, 0xda, 0xc2, 0x36, 0xad, 0x27, 0x9c, 0xf5, 0x0c, 0xdf, 0x9c, - 0xbb, 0xfc, 0xf5, 0x84, 0xb4, 0x40, 0x0c, 0x56, 0xe8, 0x16, 0x38, 0x42, 0x06, 0xdd, 0x20, 0x2c, - 0x15, 0x86, 0x77, 0xb5, 0x30, 0x12, 0x71, 0xa0, 0x84, 0xbc, 0x68, 0xce, 0x5d, 0xf5, 0x76, 0x69, - 0x9c, 0xcb, 0xa0, 0x34, 0xea, 0x23, 0x8e, 0x44, 0x18, 0xa3, 0xdb, 0x86, 0xe2, 0x2e, 0x72, 0xbc, - 0x5e, 0x8f, 0x3d, 0xc5, 0x51, 0x56, 0xad, 0x78, 0x49, 0x60, 0xf5, 0x20, 0x08, 0x4f, 0x33, 0xbb, - 0x6d, 0x31, 0x8b, 0xf8, 0x95, 0x79, 0x40, 0x4f, 0x01, 0xe4, 0x80, 0x7b, 0xd2, 0x21, 0x25, 0xb6, - 0x33, 0xac, 0xbb, 0x06, 0xee, 0x24, 0x67, 0x7a, 0x80, 0x1f, 0x04, 0xd6, 0xdf, 0x84, 0x7c, 0x08, - 0xb8, 0x27, 0xc5, 0xd9, 0xe8, 0x10, 0xc3, 0x4e, 0x48, 0x7e, 0x27, 0xe6, 0xf8, 0x85, 0xfc, 0xe3, - 0xbb, 0x35, 0xd8, 0x98, 0xe6, 0x4e, 0x0f, 0xf2, 0x16, 0x96, 0x5b, 0x78, 0x7c, 0x1e, 0xf1, 0xc0, - 0xf7, 0x14, 0x66, 0xf0, 0x99, 0xed, 0xbb, 0x15, 0x28, 0x5b, 0x98, 0xb5, 0xf4, 0x11, 0xac, 0xec, - 0x06, 0xb1, 0x2f, 0xc2, 0x10, 0x7d, 0xb5, 0x1f, 0xa8, 0xe7, 0x5c, 0xa1, 0x0c, 0x3d, 0x85, 0xf1, - 0xec, 0xe2, 0xab, 0x50, 0xb1, 0x72, 0x6b, 0xf9, 0x9f, 0x04, 0xd8, 0x1e, 0x2a, 0xff, 0xe4, 0x65, - 0xa8, 0xc6, 0x5c, 0xbe, 0x2c, 0x62, 0x24, 0x5f, 0xc4, 0xfe, 0xe3, 0x7b, 0x8d, 0xe4, 0xf9, 0x1e, - 0x38, 0x12, 0x23, 0xcf, 0x3f, 0x2d, 0xdd, 0xa8, 0x92, 0xda, 0x7c, 0x4b, 0x3f, 0xb9, 0x65, 0xb8, - 0x3f, 0xd6, 0xa2, 0x1e, 0xe1, 0x10, 0xee, 0xee, 0xa3, 0xba, 0xc6, 0x3b, 0xe7, 0x1e, 0xc0, 0x92, - 0xc1, 0x98, 0x48, 0xd1, 0x9d, 0x9c, 0x59, 0xfc, 0x77, 0xac, 0xed, 0xdf, 0x0e, 0xdc, 0xce, 0x5e, - 0xbd, 0x46, 0xf9, 0x39, 0xf0, 0x91, 0xbe, 0x83, 0x45, 0xb3, 0x8a, 0x68, 0x25, 0x65, 0xb2, 0x94, - 0x25, 0xab, 0xda, 0x01, 0xfa, 0x30, 0x9c, 0x3f, 0xdf, 0x6b, 0x85, 0x79, 0xd2, 0xa3, 0x37, 0x7b, - 0x27, 0xa3, 0xb7, 0xf4, 0x5c, 0x46, 0x6f, 0xad, 0xac, 0x94, 0xfe, 0x0b, 0x30, 0x7b, 0x3f, 0xd0, - 0x47, 0x29, 0xcf, 0xd4, 0x76, 0x63, 0x8f, 0xf3, 0x40, 0x0d, 0xf1, 0x6f, 0x04, 0x56, 0x26, 0x07, - 0x9b, 0x6e, 0xa6, 0xb4, 0xb9, 0xea, 0x89, 0xd5, 0xf3, 0xc2, 0x0d, 0x27, 0x1c, 0x96, 0xc6, 0xa6, - 0x9b, 0xae, 0x65, 0xf7, 0xcc, 0x5e, 0x2b, 0x6c, 0x7d, 0x0a, 0xca, 0x50, 0x93, 0x50, 0xb4, 0xc4, - 0x99, 0x6e, 0x0c, 0xbe, 0xdc, 0xc4, 0x2e, 0x61, 0x0f, 0xa7, 0xe2, 0x0c, 0xcd, 0x0f, 0x70, 0x67, - 0x4c, 0xf6, 0xa8, 0x9b, 0xf2, 0xd8, 0xbb, 0x83, 0x3d, 0x98, 0x88, 0x31, 0x74, 0xda, 0x70, 0x6b, - 0x28, 0x72, 0x74, 0x39, 0xdd, 0x3d, 0x2e, 0xdb, 0xac, 0x6c, 0x79, 0x3b, 0xc4, 0x5a, 0x68, 0x6e, - 0x1d, 0xf5, 0x70, 0xdc, 0xeb, 0xd4, 0x7d, 0x71, 0xd6, 0x48, 0x7e, 0x6e, 0x0a, 0xd9, 0x6d, 0x24, - 0xbb, 0x1b, 0xfd, 0xbf, 0x27, 0x8d, 0xae, 0xd0, 0xcf, 0x51, 0xa7, 0xe3, 0xf4, 0x97, 0x76, 0xfe, - 0x06, 0x00, 0x00, 0xff, 0xff, 0x29, 0xb6, 0x65, 0xa5, 0xe7, 0x08, 0x00, 0x00, +var File_objectpool_proto protoreflect.FileDescriptor + +var file_objectpool_proto_rawDesc = []byte{ + 0x0a, 0x10, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x70, 0x6f, 0x6f, 0x6c, 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, 0x86, 0x01, 0x0a, 0x17, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, + 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x39, 0x0a, 0x0b, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x70, 0x6f, 0x6f, 0x6c, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4f, + 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, + 0x0a, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x12, 0x30, 0x0a, 0x06, 0x6f, + 0x72, 0x69, 0x67, 0x69, 0x6e, 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, 0x42, + 0x04, 0xa0, 0xc6, 0x2c, 0x01, 0x52, 0x06, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x22, 0x1a, 0x0a, + 0x18, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, + 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x54, 0x0a, 0x17, 0x44, 0x65, 0x6c, + 0x65, 0x74, 0x65, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x39, 0x0a, 0x0b, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x70, + 0x6f, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, + 0x6c, 0x79, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x42, 0x04, 0x98, + 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x22, + 0x1a, 0x0a, 0x18, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, + 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x98, 0x01, 0x0a, 0x21, + 0x4c, 0x69, 0x6e, 0x6b, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x54, 0x6f, + 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x39, 0x0a, 0x0b, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x70, 0x6f, 0x6f, 0x6c, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x42, 0x04, 0xa0, 0xc6, 0x2c, 0x01, + 0x52, 0x0a, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x12, 0x38, 0x0a, 0x0a, + 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, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, + 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x22, 0x24, 0x0a, 0x22, 0x4c, 0x69, 0x6e, 0x6b, 0x52, 0x65, + 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x54, 0x6f, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, + 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x9c, 0x01, 0x0a, + 0x25, 0x55, 0x6e, 0x6c, 0x69, 0x6e, 0x6b, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, + 0x79, 0x46, 0x72, 0x6f, 0x6d, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 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, 0x39, 0x0a, 0x0b, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x70, 0x6f, 0x6f, 0x6c, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4f, + 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x42, 0x04, 0xa0, 0xc6, 0x2c, 0x01, 0x52, + 0x0a, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x22, 0x28, 0x0a, 0x26, 0x55, + 0x6e, 0x6c, 0x69, 0x6e, 0x6b, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x46, + 0x72, 0x6f, 0x6d, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x58, 0x0a, 0x1c, 0x52, 0x65, 0x64, 0x75, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 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, + 0x1f, 0x0a, 0x1d, 0x52, 0x65, 0x64, 0x75, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, + 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x5a, 0x0a, 0x1e, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x47, 0x69, + 0x74, 0x41, 0x6c, 0x74, 0x65, 0x72, 0x6e, 0x61, 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, 0x21, 0x0a, 0x1f, + 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x47, 0x69, 0x74, 0x41, 0x6c, 0x74, + 0x65, 0x72, 0x6e, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0xa1, 0x01, 0x0a, 0x1a, 0x46, 0x65, 0x74, 0x63, 0x68, 0x49, 0x6e, 0x74, 0x6f, 0x4f, 0x62, 0x6a, + 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x30, + 0x0a, 0x06, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 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, 0xa0, 0xc6, 0x2c, 0x01, 0x52, 0x06, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, + 0x12, 0x39, 0x0a, 0x0b, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x70, 0x6f, 0x6f, 0x6c, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4f, + 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, + 0x0a, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x72, + 0x65, 0x70, 0x61, 0x63, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x72, 0x65, 0x70, + 0x61, 0x63, 0x6b, 0x22, 0x1d, 0x0a, 0x1b, 0x46, 0x65, 0x74, 0x63, 0x68, 0x49, 0x6e, 0x74, 0x6f, + 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x50, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, + 0x6f, 0x6f, 0x6c, 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, 0x4c, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x4f, 0x62, 0x6a, 0x65, 0x63, + 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x33, 0x0a, + 0x0b, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x70, 0x6f, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4f, 0x62, 0x6a, 0x65, + 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x0a, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, + 0x6f, 0x6c, 0x32, 0xf8, 0x06, 0x0a, 0x11, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, + 0x6c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x5d, 0x0a, 0x10, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x12, 0x1f, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x62, 0x6a, 0x65, + 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x62, 0x6a, + 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x5d, 0x0a, 0x10, 0x44, 0x65, 0x6c, 0x65, 0x74, + 0x65, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x12, 0x1f, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x62, 0x6a, 0x65, 0x63, + 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x62, 0x6a, 0x65, + 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, + 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x7b, 0x0a, 0x1a, 0x4c, 0x69, 0x6e, 0x6b, 0x52, 0x65, + 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x54, 0x6f, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, + 0x50, 0x6f, 0x6f, 0x6c, 0x12, 0x29, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, + 0x6e, 0x6b, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x54, 0x6f, 0x4f, 0x62, + 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x2a, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x6e, 0x6b, 0x52, 0x65, 0x70, + 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x54, 0x6f, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, + 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, + 0x02, 0x08, 0x01, 0x12, 0x87, 0x01, 0x0a, 0x1e, 0x55, 0x6e, 0x6c, 0x69, 0x6e, 0x6b, 0x52, 0x65, + 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x46, 0x72, 0x6f, 0x6d, 0x4f, 0x62, 0x6a, 0x65, + 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x12, 0x2d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x55, 0x6e, 0x6c, 0x69, 0x6e, 0x6b, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, + 0x46, 0x72, 0x6f, 0x6d, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, + 0x6e, 0x6c, 0x69, 0x6e, 0x6b, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x46, + 0x72, 0x6f, 0x6d, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x6c, 0x0a, + 0x15, 0x52, 0x65, 0x64, 0x75, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, + 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x24, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x52, 0x65, 0x64, 0x75, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, + 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x64, 0x75, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, + 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x72, 0x0a, 0x17, 0x44, + 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x47, 0x69, 0x74, 0x41, 0x6c, 0x74, 0x65, + 0x72, 0x6e, 0x61, 0x74, 0x65, 0x73, 0x12, 0x26, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x47, 0x69, 0x74, 0x41, 0x6c, 0x74, + 0x65, 0x72, 0x6e, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, + 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, + 0x63, 0x74, 0x47, 0x69, 0x74, 0x41, 0x6c, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x74, 0x65, 0x73, 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, 0x6f, 0x4f, 0x62, 0x6a, 0x65, + 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x12, 0x22, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x46, 0x65, 0x74, 0x63, 0x68, 0x49, 0x6e, 0x74, 0x6f, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, + 0x6f, 0x6f, 0x6c, 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, 0x6f, 0x4f, 0x62, 0x6a, + 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x54, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x4f, 0x62, + 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x12, 0x1c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, + 0x79, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x47, 0x65, 0x74, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x42, 0x30, 0x5a, + 0x2e, 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, 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_objectpool_proto_rawDescOnce sync.Once + file_objectpool_proto_rawDescData = file_objectpool_proto_rawDesc +) + +func file_objectpool_proto_rawDescGZIP() []byte { + file_objectpool_proto_rawDescOnce.Do(func() { + file_objectpool_proto_rawDescData = protoimpl.X.CompressGZIP(file_objectpool_proto_rawDescData) + }) + return file_objectpool_proto_rawDescData +} + +var file_objectpool_proto_msgTypes = make([]protoimpl.MessageInfo, 16) +var file_objectpool_proto_goTypes = []interface{}{ + (*CreateObjectPoolRequest)(nil), // 0: gitaly.CreateObjectPoolRequest + (*CreateObjectPoolResponse)(nil), // 1: gitaly.CreateObjectPoolResponse + (*DeleteObjectPoolRequest)(nil), // 2: gitaly.DeleteObjectPoolRequest + (*DeleteObjectPoolResponse)(nil), // 3: gitaly.DeleteObjectPoolResponse + (*LinkRepositoryToObjectPoolRequest)(nil), // 4: gitaly.LinkRepositoryToObjectPoolRequest + (*LinkRepositoryToObjectPoolResponse)(nil), // 5: gitaly.LinkRepositoryToObjectPoolResponse + (*UnlinkRepositoryFromObjectPoolRequest)(nil), // 6: gitaly.UnlinkRepositoryFromObjectPoolRequest + (*UnlinkRepositoryFromObjectPoolResponse)(nil), // 7: gitaly.UnlinkRepositoryFromObjectPoolResponse + (*ReduplicateRepositoryRequest)(nil), // 8: gitaly.ReduplicateRepositoryRequest + (*ReduplicateRepositoryResponse)(nil), // 9: gitaly.ReduplicateRepositoryResponse + (*DisconnectGitAlternatesRequest)(nil), // 10: gitaly.DisconnectGitAlternatesRequest + (*DisconnectGitAlternatesResponse)(nil), // 11: gitaly.DisconnectGitAlternatesResponse + (*FetchIntoObjectPoolRequest)(nil), // 12: gitaly.FetchIntoObjectPoolRequest + (*FetchIntoObjectPoolResponse)(nil), // 13: gitaly.FetchIntoObjectPoolResponse + (*GetObjectPoolRequest)(nil), // 14: gitaly.GetObjectPoolRequest + (*GetObjectPoolResponse)(nil), // 15: gitaly.GetObjectPoolResponse + (*ObjectPool)(nil), // 16: gitaly.ObjectPool + (*Repository)(nil), // 17: gitaly.Repository +} +var file_objectpool_proto_depIdxs = []int32{ + 16, // 0: gitaly.CreateObjectPoolRequest.object_pool:type_name -> gitaly.ObjectPool + 17, // 1: gitaly.CreateObjectPoolRequest.origin:type_name -> gitaly.Repository + 16, // 2: gitaly.DeleteObjectPoolRequest.object_pool:type_name -> gitaly.ObjectPool + 16, // 3: gitaly.LinkRepositoryToObjectPoolRequest.object_pool:type_name -> gitaly.ObjectPool + 17, // 4: gitaly.LinkRepositoryToObjectPoolRequest.repository:type_name -> gitaly.Repository + 17, // 5: gitaly.UnlinkRepositoryFromObjectPoolRequest.repository:type_name -> gitaly.Repository + 16, // 6: gitaly.UnlinkRepositoryFromObjectPoolRequest.object_pool:type_name -> gitaly.ObjectPool + 17, // 7: gitaly.ReduplicateRepositoryRequest.repository:type_name -> gitaly.Repository + 17, // 8: gitaly.DisconnectGitAlternatesRequest.repository:type_name -> gitaly.Repository + 17, // 9: gitaly.FetchIntoObjectPoolRequest.origin:type_name -> gitaly.Repository + 16, // 10: gitaly.FetchIntoObjectPoolRequest.object_pool:type_name -> gitaly.ObjectPool + 17, // 11: gitaly.GetObjectPoolRequest.repository:type_name -> gitaly.Repository + 16, // 12: gitaly.GetObjectPoolResponse.object_pool:type_name -> gitaly.ObjectPool + 0, // 13: gitaly.ObjectPoolService.CreateObjectPool:input_type -> gitaly.CreateObjectPoolRequest + 2, // 14: gitaly.ObjectPoolService.DeleteObjectPool:input_type -> gitaly.DeleteObjectPoolRequest + 4, // 15: gitaly.ObjectPoolService.LinkRepositoryToObjectPool:input_type -> gitaly.LinkRepositoryToObjectPoolRequest + 6, // 16: gitaly.ObjectPoolService.UnlinkRepositoryFromObjectPool:input_type -> gitaly.UnlinkRepositoryFromObjectPoolRequest + 8, // 17: gitaly.ObjectPoolService.ReduplicateRepository:input_type -> gitaly.ReduplicateRepositoryRequest + 10, // 18: gitaly.ObjectPoolService.DisconnectGitAlternates:input_type -> gitaly.DisconnectGitAlternatesRequest + 12, // 19: gitaly.ObjectPoolService.FetchIntoObjectPool:input_type -> gitaly.FetchIntoObjectPoolRequest + 14, // 20: gitaly.ObjectPoolService.GetObjectPool:input_type -> gitaly.GetObjectPoolRequest + 1, // 21: gitaly.ObjectPoolService.CreateObjectPool:output_type -> gitaly.CreateObjectPoolResponse + 3, // 22: gitaly.ObjectPoolService.DeleteObjectPool:output_type -> gitaly.DeleteObjectPoolResponse + 5, // 23: gitaly.ObjectPoolService.LinkRepositoryToObjectPool:output_type -> gitaly.LinkRepositoryToObjectPoolResponse + 7, // 24: gitaly.ObjectPoolService.UnlinkRepositoryFromObjectPool:output_type -> gitaly.UnlinkRepositoryFromObjectPoolResponse + 9, // 25: gitaly.ObjectPoolService.ReduplicateRepository:output_type -> gitaly.ReduplicateRepositoryResponse + 11, // 26: gitaly.ObjectPoolService.DisconnectGitAlternates:output_type -> gitaly.DisconnectGitAlternatesResponse + 13, // 27: gitaly.ObjectPoolService.FetchIntoObjectPool:output_type -> gitaly.FetchIntoObjectPoolResponse + 15, // 28: gitaly.ObjectPoolService.GetObjectPool:output_type -> gitaly.GetObjectPoolResponse + 21, // [21:29] is the sub-list for method output_type + 13, // [13:21] is the sub-list for method input_type + 13, // [13:13] is the sub-list for extension type_name + 13, // [13:13] is the sub-list for extension extendee + 0, // [0:13] is the sub-list for field type_name +} + +func init() { file_objectpool_proto_init() } +func file_objectpool_proto_init() { + if File_objectpool_proto != nil { + return + } + file_lint_proto_init() + file_shared_proto_init() + if !protoimpl.UnsafeEnabled { + file_objectpool_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateObjectPoolRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_objectpool_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateObjectPoolResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_objectpool_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteObjectPoolRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_objectpool_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteObjectPoolResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_objectpool_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LinkRepositoryToObjectPoolRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_objectpool_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LinkRepositoryToObjectPoolResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_objectpool_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UnlinkRepositoryFromObjectPoolRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_objectpool_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UnlinkRepositoryFromObjectPoolResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_objectpool_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReduplicateRepositoryRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_objectpool_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReduplicateRepositoryResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_objectpool_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DisconnectGitAlternatesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_objectpool_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DisconnectGitAlternatesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_objectpool_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FetchIntoObjectPoolRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_objectpool_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FetchIntoObjectPoolResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_objectpool_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetObjectPoolRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_objectpool_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetObjectPoolResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_objectpool_proto_rawDesc, + NumEnums: 0, + NumMessages: 16, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_objectpool_proto_goTypes, + DependencyIndexes: file_objectpool_proto_depIdxs, + MessageInfos: file_objectpool_proto_msgTypes, + }.Build() + File_objectpool_proto = out.File + file_objectpool_proto_rawDesc = nil + file_objectpool_proto_goTypes = nil + file_objectpool_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConn +var _ grpc.ClientConnInterface // 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 +const _ = grpc.SupportPackageIsVersion6 // ObjectPoolServiceClient is the client API for ObjectPoolService service. // @@ -726,10 +1227,10 @@ type ObjectPoolServiceClient interface { } type objectPoolServiceClient struct { - cc *grpc.ClientConn + cc grpc.ClientConnInterface } -func NewObjectPoolServiceClient(cc *grpc.ClientConn) ObjectPoolServiceClient { +func NewObjectPoolServiceClient(cc grpc.ClientConnInterface) ObjectPoolServiceClient { return &objectPoolServiceClient{cc} } @@ -822,28 +1323,28 @@ type ObjectPoolServiceServer interface { type UnimplementedObjectPoolServiceServer struct { } -func (*UnimplementedObjectPoolServiceServer) CreateObjectPool(ctx context.Context, req *CreateObjectPoolRequest) (*CreateObjectPoolResponse, error) { +func (*UnimplementedObjectPoolServiceServer) CreateObjectPool(context.Context, *CreateObjectPoolRequest) (*CreateObjectPoolResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateObjectPool not implemented") } -func (*UnimplementedObjectPoolServiceServer) DeleteObjectPool(ctx context.Context, req *DeleteObjectPoolRequest) (*DeleteObjectPoolResponse, error) { +func (*UnimplementedObjectPoolServiceServer) DeleteObjectPool(context.Context, *DeleteObjectPoolRequest) (*DeleteObjectPoolResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteObjectPool not implemented") } -func (*UnimplementedObjectPoolServiceServer) LinkRepositoryToObjectPool(ctx context.Context, req *LinkRepositoryToObjectPoolRequest) (*LinkRepositoryToObjectPoolResponse, error) { +func (*UnimplementedObjectPoolServiceServer) LinkRepositoryToObjectPool(context.Context, *LinkRepositoryToObjectPoolRequest) (*LinkRepositoryToObjectPoolResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method LinkRepositoryToObjectPool not implemented") } -func (*UnimplementedObjectPoolServiceServer) UnlinkRepositoryFromObjectPool(ctx context.Context, req *UnlinkRepositoryFromObjectPoolRequest) (*UnlinkRepositoryFromObjectPoolResponse, error) { +func (*UnimplementedObjectPoolServiceServer) UnlinkRepositoryFromObjectPool(context.Context, *UnlinkRepositoryFromObjectPoolRequest) (*UnlinkRepositoryFromObjectPoolResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method UnlinkRepositoryFromObjectPool not implemented") } -func (*UnimplementedObjectPoolServiceServer) ReduplicateRepository(ctx context.Context, req *ReduplicateRepositoryRequest) (*ReduplicateRepositoryResponse, error) { +func (*UnimplementedObjectPoolServiceServer) ReduplicateRepository(context.Context, *ReduplicateRepositoryRequest) (*ReduplicateRepositoryResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ReduplicateRepository not implemented") } -func (*UnimplementedObjectPoolServiceServer) DisconnectGitAlternates(ctx context.Context, req *DisconnectGitAlternatesRequest) (*DisconnectGitAlternatesResponse, error) { +func (*UnimplementedObjectPoolServiceServer) DisconnectGitAlternates(context.Context, *DisconnectGitAlternatesRequest) (*DisconnectGitAlternatesResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method DisconnectGitAlternates not implemented") } -func (*UnimplementedObjectPoolServiceServer) FetchIntoObjectPool(ctx context.Context, req *FetchIntoObjectPoolRequest) (*FetchIntoObjectPoolResponse, error) { +func (*UnimplementedObjectPoolServiceServer) FetchIntoObjectPool(context.Context, *FetchIntoObjectPoolRequest) (*FetchIntoObjectPoolResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method FetchIntoObjectPool not implemented") } -func (*UnimplementedObjectPoolServiceServer) GetObjectPool(ctx context.Context, req *GetObjectPoolRequest) (*GetObjectPoolResponse, error) { +func (*UnimplementedObjectPoolServiceServer) GetObjectPool(context.Context, *GetObjectPoolRequest) (*GetObjectPoolResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetObjectPool not implemented") } diff --git a/proto/go/gitalypb/operations.pb.go b/proto/go/gitalypb/operations.pb.go index 27850cfe9..985b15364 100644 --- a/proto/go/gitalypb/operations.pb.go +++ b/proto/go/gitalypb/operations.pb.go @@ -1,29 +1,34 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc v3.12.4 // source: operations.proto package gitalypb import ( context "context" - fmt "fmt" proto "github.com/golang/protobuf/proto" timestamp "github.com/golang/protobuf/ptypes/timestamp" 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 +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) +) -// 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 +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 // CreateTreeError represents an error which happened when computing the // cherry-pick. @@ -39,24 +44,45 @@ const ( UserCherryPickResponse_CONFLICT UserCherryPickResponse_CreateTreeError = 2 ) -var UserCherryPickResponse_CreateTreeError_name = map[int32]string{ - 0: "NONE", - 1: "EMPTY", - 2: "CONFLICT", -} +// Enum value maps for UserCherryPickResponse_CreateTreeError. +var ( + UserCherryPickResponse_CreateTreeError_name = map[int32]string{ + 0: "NONE", + 1: "EMPTY", + 2: "CONFLICT", + } + UserCherryPickResponse_CreateTreeError_value = map[string]int32{ + "NONE": 0, + "EMPTY": 1, + "CONFLICT": 2, + } +) -var UserCherryPickResponse_CreateTreeError_value = map[string]int32{ - "NONE": 0, - "EMPTY": 1, - "CONFLICT": 2, +func (x UserCherryPickResponse_CreateTreeError) Enum() *UserCherryPickResponse_CreateTreeError { + p := new(UserCherryPickResponse_CreateTreeError) + *p = x + return p } func (x UserCherryPickResponse_CreateTreeError) String() string { - return proto.EnumName(UserCherryPickResponse_CreateTreeError_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (UserCherryPickResponse_CreateTreeError) Descriptor() protoreflect.EnumDescriptor { + return file_operations_proto_enumTypes[0].Descriptor() +} + +func (UserCherryPickResponse_CreateTreeError) Type() protoreflect.EnumType { + return &file_operations_proto_enumTypes[0] +} + +func (x UserCherryPickResponse_CreateTreeError) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use UserCherryPickResponse_CreateTreeError.Descriptor instead. func (UserCherryPickResponse_CreateTreeError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_1b4a5877375e491e, []int{18, 0} + return file_operations_proto_rawDescGZIP(), []int{18, 0} } // CreateTreeError represents an error which happened when computing the @@ -73,24 +99,45 @@ const ( UserRevertResponse_CONFLICT UserRevertResponse_CreateTreeError = 2 ) -var UserRevertResponse_CreateTreeError_name = map[int32]string{ - 0: "NONE", - 1: "EMPTY", - 2: "CONFLICT", -} +// Enum value maps for UserRevertResponse_CreateTreeError. +var ( + UserRevertResponse_CreateTreeError_name = map[int32]string{ + 0: "NONE", + 1: "EMPTY", + 2: "CONFLICT", + } + UserRevertResponse_CreateTreeError_value = map[string]int32{ + "NONE": 0, + "EMPTY": 1, + "CONFLICT": 2, + } +) -var UserRevertResponse_CreateTreeError_value = map[string]int32{ - "NONE": 0, - "EMPTY": 1, - "CONFLICT": 2, +func (x UserRevertResponse_CreateTreeError) Enum() *UserRevertResponse_CreateTreeError { + p := new(UserRevertResponse_CreateTreeError) + *p = x + return p } func (x UserRevertResponse_CreateTreeError) String() string { - return proto.EnumName(UserRevertResponse_CreateTreeError_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (UserRevertResponse_CreateTreeError) Descriptor() protoreflect.EnumDescriptor { + return file_operations_proto_enumTypes[1].Descriptor() +} + +func (UserRevertResponse_CreateTreeError) Type() protoreflect.EnumType { + return &file_operations_proto_enumTypes[1] } +func (x UserRevertResponse_CreateTreeError) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use UserRevertResponse_CreateTreeError.Descriptor instead. func (UserRevertResponse_CreateTreeError) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_1b4a5877375e491e, []int{20, 0} + return file_operations_proto_rawDescGZIP(), []int{20, 0} } type UserCommitFilesActionHeader_ActionType int32 @@ -110,443 +157,532 @@ const ( UserCommitFilesActionHeader_CHMOD UserCommitFilesActionHeader_ActionType = 5 ) -var UserCommitFilesActionHeader_ActionType_name = map[int32]string{ - 0: "CREATE", - 1: "CREATE_DIR", - 2: "UPDATE", - 3: "MOVE", - 4: "DELETE", - 5: "CHMOD", -} +// Enum value maps for UserCommitFilesActionHeader_ActionType. +var ( + UserCommitFilesActionHeader_ActionType_name = map[int32]string{ + 0: "CREATE", + 1: "CREATE_DIR", + 2: "UPDATE", + 3: "MOVE", + 4: "DELETE", + 5: "CHMOD", + } + UserCommitFilesActionHeader_ActionType_value = map[string]int32{ + "CREATE": 0, + "CREATE_DIR": 1, + "UPDATE": 2, + "MOVE": 3, + "DELETE": 4, + "CHMOD": 5, + } +) -var UserCommitFilesActionHeader_ActionType_value = map[string]int32{ - "CREATE": 0, - "CREATE_DIR": 1, - "UPDATE": 2, - "MOVE": 3, - "DELETE": 4, - "CHMOD": 5, +func (x UserCommitFilesActionHeader_ActionType) Enum() *UserCommitFilesActionHeader_ActionType { + p := new(UserCommitFilesActionHeader_ActionType) + *p = x + return p } func (x UserCommitFilesActionHeader_ActionType) String() string { - return proto.EnumName(UserCommitFilesActionHeader_ActionType_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } -func (UserCommitFilesActionHeader_ActionType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_1b4a5877375e491e, []int{21, 0} +func (UserCommitFilesActionHeader_ActionType) Descriptor() protoreflect.EnumDescriptor { + return file_operations_proto_enumTypes[2].Descriptor() } -type UserCreateBranchRequest struct { - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - BranchName []byte `protobuf:"bytes,2,opt,name=branch_name,json=branchName,proto3" json:"branch_name,omitempty"` - User *User `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"` - StartPoint []byte `protobuf:"bytes,4,opt,name=start_point,json=startPoint,proto3" json:"start_point,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UserCreateBranchRequest) Reset() { *m = UserCreateBranchRequest{} } -func (m *UserCreateBranchRequest) String() string { return proto.CompactTextString(m) } -func (*UserCreateBranchRequest) ProtoMessage() {} -func (*UserCreateBranchRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_1b4a5877375e491e, []int{0} +func (UserCommitFilesActionHeader_ActionType) Type() protoreflect.EnumType { + return &file_operations_proto_enumTypes[2] } -func (m *UserCreateBranchRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserCreateBranchRequest.Unmarshal(m, b) +func (x UserCommitFilesActionHeader_ActionType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } -func (m *UserCreateBranchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserCreateBranchRequest.Marshal(b, m, deterministic) + +// Deprecated: Use UserCommitFilesActionHeader_ActionType.Descriptor instead. +func (UserCommitFilesActionHeader_ActionType) EnumDescriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{21, 0} } -func (m *UserCreateBranchRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserCreateBranchRequest.Merge(m, src) + +type UserCreateBranchRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + BranchName []byte `protobuf:"bytes,2,opt,name=branch_name,json=branchName,proto3" json:"branch_name,omitempty"` + User *User `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"` + StartPoint []byte `protobuf:"bytes,4,opt,name=start_point,json=startPoint,proto3" json:"start_point,omitempty"` } -func (m *UserCreateBranchRequest) XXX_Size() int { - return xxx_messageInfo_UserCreateBranchRequest.Size(m) + +func (x *UserCreateBranchRequest) Reset() { + *x = UserCreateBranchRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_operations_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UserCreateBranchRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UserCreateBranchRequest.DiscardUnknown(m) + +func (x *UserCreateBranchRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_UserCreateBranchRequest proto.InternalMessageInfo +func (*UserCreateBranchRequest) ProtoMessage() {} -func (m *UserCreateBranchRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *UserCreateBranchRequest) ProtoReflect() protoreflect.Message { + mi := &file_operations_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UserCreateBranchRequest.ProtoReflect.Descriptor instead. +func (*UserCreateBranchRequest) Descriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{0} +} + +func (x *UserCreateBranchRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *UserCreateBranchRequest) GetBranchName() []byte { - if m != nil { - return m.BranchName +func (x *UserCreateBranchRequest) GetBranchName() []byte { + if x != nil { + return x.BranchName } return nil } -func (m *UserCreateBranchRequest) GetUser() *User { - if m != nil { - return m.User +func (x *UserCreateBranchRequest) GetUser() *User { + if x != nil { + return x.User } return nil } -func (m *UserCreateBranchRequest) GetStartPoint() []byte { - if m != nil { - return m.StartPoint +func (x *UserCreateBranchRequest) GetStartPoint() []byte { + if x != nil { + return x.StartPoint } return nil } type UserCreateBranchResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Branch *Branch `protobuf:"bytes,1,opt,name=branch,proto3" json:"branch,omitempty"` // Error returned by the pre-receive hook. If no error was thrown, // it's the empty string ("") - PreReceiveError string `protobuf:"bytes,2,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + PreReceiveError string `protobuf:"bytes,2,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"` } -func (m *UserCreateBranchResponse) Reset() { *m = UserCreateBranchResponse{} } -func (m *UserCreateBranchResponse) String() string { return proto.CompactTextString(m) } -func (*UserCreateBranchResponse) ProtoMessage() {} -func (*UserCreateBranchResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_1b4a5877375e491e, []int{1} +func (x *UserCreateBranchResponse) Reset() { + *x = UserCreateBranchResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_operations_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UserCreateBranchResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserCreateBranchResponse.Unmarshal(m, b) -} -func (m *UserCreateBranchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserCreateBranchResponse.Marshal(b, m, deterministic) -} -func (m *UserCreateBranchResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserCreateBranchResponse.Merge(m, src) +func (x *UserCreateBranchResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UserCreateBranchResponse) XXX_Size() int { - return xxx_messageInfo_UserCreateBranchResponse.Size(m) -} -func (m *UserCreateBranchResponse) XXX_DiscardUnknown() { - xxx_messageInfo_UserCreateBranchResponse.DiscardUnknown(m) + +func (*UserCreateBranchResponse) ProtoMessage() {} + +func (x *UserCreateBranchResponse) ProtoReflect() protoreflect.Message { + mi := &file_operations_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) } -var xxx_messageInfo_UserCreateBranchResponse proto.InternalMessageInfo +// Deprecated: Use UserCreateBranchResponse.ProtoReflect.Descriptor instead. +func (*UserCreateBranchResponse) Descriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{1} +} -func (m *UserCreateBranchResponse) GetBranch() *Branch { - if m != nil { - return m.Branch +func (x *UserCreateBranchResponse) GetBranch() *Branch { + if x != nil { + return x.Branch } return nil } -func (m *UserCreateBranchResponse) GetPreReceiveError() string { - if m != nil { - return m.PreReceiveError +func (x *UserCreateBranchResponse) GetPreReceiveError() string { + if x != nil { + return x.PreReceiveError } return "" } type UserUpdateBranchRequest struct { - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - BranchName []byte `protobuf:"bytes,2,opt,name=branch_name,json=branchName,proto3" json:"branch_name,omitempty"` - User *User `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"` - Newrev []byte `protobuf:"bytes,4,opt,name=newrev,proto3" json:"newrev,omitempty"` - Oldrev []byte `protobuf:"bytes,5,opt,name=oldrev,proto3" json:"oldrev,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UserUpdateBranchRequest) Reset() { *m = UserUpdateBranchRequest{} } -func (m *UserUpdateBranchRequest) String() string { return proto.CompactTextString(m) } -func (*UserUpdateBranchRequest) ProtoMessage() {} -func (*UserUpdateBranchRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_1b4a5877375e491e, []int{2} -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *UserUpdateBranchRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserUpdateBranchRequest.Unmarshal(m, b) -} -func (m *UserUpdateBranchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserUpdateBranchRequest.Marshal(b, m, deterministic) + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + BranchName []byte `protobuf:"bytes,2,opt,name=branch_name,json=branchName,proto3" json:"branch_name,omitempty"` + User *User `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"` + Newrev []byte `protobuf:"bytes,4,opt,name=newrev,proto3" json:"newrev,omitempty"` + Oldrev []byte `protobuf:"bytes,5,opt,name=oldrev,proto3" json:"oldrev,omitempty"` } -func (m *UserUpdateBranchRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserUpdateBranchRequest.Merge(m, src) + +func (x *UserUpdateBranchRequest) Reset() { + *x = UserUpdateBranchRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_operations_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UserUpdateBranchRequest) XXX_Size() int { - return xxx_messageInfo_UserUpdateBranchRequest.Size(m) + +func (x *UserUpdateBranchRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UserUpdateBranchRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UserUpdateBranchRequest.DiscardUnknown(m) + +func (*UserUpdateBranchRequest) ProtoMessage() {} + +func (x *UserUpdateBranchRequest) ProtoReflect() protoreflect.Message { + mi := &file_operations_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_UserUpdateBranchRequest proto.InternalMessageInfo +// Deprecated: Use UserUpdateBranchRequest.ProtoReflect.Descriptor instead. +func (*UserUpdateBranchRequest) Descriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{2} +} -func (m *UserUpdateBranchRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *UserUpdateBranchRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *UserUpdateBranchRequest) GetBranchName() []byte { - if m != nil { - return m.BranchName +func (x *UserUpdateBranchRequest) GetBranchName() []byte { + if x != nil { + return x.BranchName } return nil } -func (m *UserUpdateBranchRequest) GetUser() *User { - if m != nil { - return m.User +func (x *UserUpdateBranchRequest) GetUser() *User { + if x != nil { + return x.User } return nil } -func (m *UserUpdateBranchRequest) GetNewrev() []byte { - if m != nil { - return m.Newrev +func (x *UserUpdateBranchRequest) GetNewrev() []byte { + if x != nil { + return x.Newrev } return nil } -func (m *UserUpdateBranchRequest) GetOldrev() []byte { - if m != nil { - return m.Oldrev +func (x *UserUpdateBranchRequest) GetOldrev() []byte { + if x != nil { + return x.Oldrev } return nil } type UserUpdateBranchResponse struct { - PreReceiveError string `protobuf:"bytes,1,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *UserUpdateBranchResponse) Reset() { *m = UserUpdateBranchResponse{} } -func (m *UserUpdateBranchResponse) String() string { return proto.CompactTextString(m) } -func (*UserUpdateBranchResponse) ProtoMessage() {} -func (*UserUpdateBranchResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_1b4a5877375e491e, []int{3} + PreReceiveError string `protobuf:"bytes,1,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"` } -func (m *UserUpdateBranchResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserUpdateBranchResponse.Unmarshal(m, b) -} -func (m *UserUpdateBranchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserUpdateBranchResponse.Marshal(b, m, deterministic) -} -func (m *UserUpdateBranchResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserUpdateBranchResponse.Merge(m, src) +func (x *UserUpdateBranchResponse) Reset() { + *x = UserUpdateBranchResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_operations_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UserUpdateBranchResponse) XXX_Size() int { - return xxx_messageInfo_UserUpdateBranchResponse.Size(m) + +func (x *UserUpdateBranchResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UserUpdateBranchResponse) XXX_DiscardUnknown() { - xxx_messageInfo_UserUpdateBranchResponse.DiscardUnknown(m) + +func (*UserUpdateBranchResponse) ProtoMessage() {} + +func (x *UserUpdateBranchResponse) ProtoReflect() protoreflect.Message { + mi := &file_operations_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_UserUpdateBranchResponse proto.InternalMessageInfo +// Deprecated: Use UserUpdateBranchResponse.ProtoReflect.Descriptor instead. +func (*UserUpdateBranchResponse) Descriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{3} +} -func (m *UserUpdateBranchResponse) GetPreReceiveError() string { - if m != nil { - return m.PreReceiveError +func (x *UserUpdateBranchResponse) GetPreReceiveError() string { + if x != nil { + return x.PreReceiveError } return "" } type UserDeleteBranchRequest struct { - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - BranchName []byte `protobuf:"bytes,2,opt,name=branch_name,json=branchName,proto3" json:"branch_name,omitempty"` - User *User `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *UserDeleteBranchRequest) Reset() { *m = UserDeleteBranchRequest{} } -func (m *UserDeleteBranchRequest) String() string { return proto.CompactTextString(m) } -func (*UserDeleteBranchRequest) ProtoMessage() {} -func (*UserDeleteBranchRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_1b4a5877375e491e, []int{4} + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + BranchName []byte `protobuf:"bytes,2,opt,name=branch_name,json=branchName,proto3" json:"branch_name,omitempty"` + User *User `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"` } -func (m *UserDeleteBranchRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserDeleteBranchRequest.Unmarshal(m, b) -} -func (m *UserDeleteBranchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserDeleteBranchRequest.Marshal(b, m, deterministic) -} -func (m *UserDeleteBranchRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserDeleteBranchRequest.Merge(m, src) +func (x *UserDeleteBranchRequest) Reset() { + *x = UserDeleteBranchRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_operations_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UserDeleteBranchRequest) XXX_Size() int { - return xxx_messageInfo_UserDeleteBranchRequest.Size(m) + +func (x *UserDeleteBranchRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UserDeleteBranchRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UserDeleteBranchRequest.DiscardUnknown(m) + +func (*UserDeleteBranchRequest) ProtoMessage() {} + +func (x *UserDeleteBranchRequest) ProtoReflect() protoreflect.Message { + mi := &file_operations_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_UserDeleteBranchRequest proto.InternalMessageInfo +// Deprecated: Use UserDeleteBranchRequest.ProtoReflect.Descriptor instead. +func (*UserDeleteBranchRequest) Descriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{4} +} -func (m *UserDeleteBranchRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *UserDeleteBranchRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *UserDeleteBranchRequest) GetBranchName() []byte { - if m != nil { - return m.BranchName +func (x *UserDeleteBranchRequest) GetBranchName() []byte { + if x != nil { + return x.BranchName } return nil } -func (m *UserDeleteBranchRequest) GetUser() *User { - if m != nil { - return m.User +func (x *UserDeleteBranchRequest) GetUser() *User { + if x != nil { + return x.User } return nil } type UserDeleteBranchResponse struct { - PreReceiveError string `protobuf:"bytes,1,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *UserDeleteBranchResponse) Reset() { *m = UserDeleteBranchResponse{} } -func (m *UserDeleteBranchResponse) String() string { return proto.CompactTextString(m) } -func (*UserDeleteBranchResponse) ProtoMessage() {} -func (*UserDeleteBranchResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_1b4a5877375e491e, []int{5} + PreReceiveError string `protobuf:"bytes,1,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"` } -func (m *UserDeleteBranchResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserDeleteBranchResponse.Unmarshal(m, b) -} -func (m *UserDeleteBranchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserDeleteBranchResponse.Marshal(b, m, deterministic) -} -func (m *UserDeleteBranchResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserDeleteBranchResponse.Merge(m, src) +func (x *UserDeleteBranchResponse) Reset() { + *x = UserDeleteBranchResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_operations_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UserDeleteBranchResponse) XXX_Size() int { - return xxx_messageInfo_UserDeleteBranchResponse.Size(m) + +func (x *UserDeleteBranchResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UserDeleteBranchResponse) XXX_DiscardUnknown() { - xxx_messageInfo_UserDeleteBranchResponse.DiscardUnknown(m) + +func (*UserDeleteBranchResponse) ProtoMessage() {} + +func (x *UserDeleteBranchResponse) ProtoReflect() protoreflect.Message { + mi := &file_operations_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_UserDeleteBranchResponse proto.InternalMessageInfo +// Deprecated: Use UserDeleteBranchResponse.ProtoReflect.Descriptor instead. +func (*UserDeleteBranchResponse) Descriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{5} +} -func (m *UserDeleteBranchResponse) GetPreReceiveError() string { - if m != nil { - return m.PreReceiveError +func (x *UserDeleteBranchResponse) GetPreReceiveError() string { + if x != nil { + return x.PreReceiveError } return "" } type UserDeleteTagRequest struct { - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - TagName []byte `protobuf:"bytes,2,opt,name=tag_name,json=tagName,proto3" json:"tag_name,omitempty"` - User *User `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *UserDeleteTagRequest) Reset() { *m = UserDeleteTagRequest{} } -func (m *UserDeleteTagRequest) String() string { return proto.CompactTextString(m) } -func (*UserDeleteTagRequest) ProtoMessage() {} -func (*UserDeleteTagRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_1b4a5877375e491e, []int{6} + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + TagName []byte `protobuf:"bytes,2,opt,name=tag_name,json=tagName,proto3" json:"tag_name,omitempty"` + User *User `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"` } -func (m *UserDeleteTagRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserDeleteTagRequest.Unmarshal(m, b) -} -func (m *UserDeleteTagRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserDeleteTagRequest.Marshal(b, m, deterministic) -} -func (m *UserDeleteTagRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserDeleteTagRequest.Merge(m, src) +func (x *UserDeleteTagRequest) Reset() { + *x = UserDeleteTagRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_operations_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UserDeleteTagRequest) XXX_Size() int { - return xxx_messageInfo_UserDeleteTagRequest.Size(m) + +func (x *UserDeleteTagRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UserDeleteTagRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UserDeleteTagRequest.DiscardUnknown(m) + +func (*UserDeleteTagRequest) ProtoMessage() {} + +func (x *UserDeleteTagRequest) ProtoReflect() protoreflect.Message { + mi := &file_operations_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_UserDeleteTagRequest proto.InternalMessageInfo +// Deprecated: Use UserDeleteTagRequest.ProtoReflect.Descriptor instead. +func (*UserDeleteTagRequest) Descriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{6} +} -func (m *UserDeleteTagRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *UserDeleteTagRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *UserDeleteTagRequest) GetTagName() []byte { - if m != nil { - return m.TagName +func (x *UserDeleteTagRequest) GetTagName() []byte { + if x != nil { + return x.TagName } return nil } -func (m *UserDeleteTagRequest) GetUser() *User { - if m != nil { - return m.User +func (x *UserDeleteTagRequest) GetUser() *User { + if x != nil { + return x.User } return nil } type UserDeleteTagResponse struct { - PreReceiveError string `protobuf:"bytes,1,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *UserDeleteTagResponse) Reset() { *m = UserDeleteTagResponse{} } -func (m *UserDeleteTagResponse) String() string { return proto.CompactTextString(m) } -func (*UserDeleteTagResponse) ProtoMessage() {} -func (*UserDeleteTagResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_1b4a5877375e491e, []int{7} + PreReceiveError string `protobuf:"bytes,1,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"` } -func (m *UserDeleteTagResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserDeleteTagResponse.Unmarshal(m, b) -} -func (m *UserDeleteTagResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserDeleteTagResponse.Marshal(b, m, deterministic) -} -func (m *UserDeleteTagResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserDeleteTagResponse.Merge(m, src) +func (x *UserDeleteTagResponse) Reset() { + *x = UserDeleteTagResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_operations_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UserDeleteTagResponse) XXX_Size() int { - return xxx_messageInfo_UserDeleteTagResponse.Size(m) + +func (x *UserDeleteTagResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UserDeleteTagResponse) XXX_DiscardUnknown() { - xxx_messageInfo_UserDeleteTagResponse.DiscardUnknown(m) + +func (*UserDeleteTagResponse) ProtoMessage() {} + +func (x *UserDeleteTagResponse) ProtoReflect() protoreflect.Message { + mi := &file_operations_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) } -var xxx_messageInfo_UserDeleteTagResponse proto.InternalMessageInfo +// Deprecated: Use UserDeleteTagResponse.ProtoReflect.Descriptor instead. +func (*UserDeleteTagResponse) Descriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{7} +} -func (m *UserDeleteTagResponse) GetPreReceiveError() string { - if m != nil { - return m.PreReceiveError +func (x *UserDeleteTagResponse) GetPreReceiveError() string { + if x != nil { + return x.PreReceiveError } return "" } type UserCreateTagRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // repository is the repository in which the tag shall be created. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // tag_name is the name of the tag that shall be created. @@ -561,139 +697,155 @@ type UserCreateTagRequest struct { // timestamp is the optional timestamp to use for the created tag tags. If // it's not set, the current time will be used. It's only used if an // annotated tag is being created. - Timestamp *timestamp.Timestamp `protobuf:"bytes,7,opt,name=timestamp,proto3" json:"timestamp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Timestamp *timestamp.Timestamp `protobuf:"bytes,7,opt,name=timestamp,proto3" json:"timestamp,omitempty"` } -func (m *UserCreateTagRequest) Reset() { *m = UserCreateTagRequest{} } -func (m *UserCreateTagRequest) String() string { return proto.CompactTextString(m) } -func (*UserCreateTagRequest) ProtoMessage() {} -func (*UserCreateTagRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_1b4a5877375e491e, []int{8} +func (x *UserCreateTagRequest) Reset() { + *x = UserCreateTagRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_operations_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UserCreateTagRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserCreateTagRequest.Unmarshal(m, b) -} -func (m *UserCreateTagRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserCreateTagRequest.Marshal(b, m, deterministic) -} -func (m *UserCreateTagRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserCreateTagRequest.Merge(m, src) +func (x *UserCreateTagRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UserCreateTagRequest) XXX_Size() int { - return xxx_messageInfo_UserCreateTagRequest.Size(m) -} -func (m *UserCreateTagRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UserCreateTagRequest.DiscardUnknown(m) + +func (*UserCreateTagRequest) ProtoMessage() {} + +func (x *UserCreateTagRequest) ProtoReflect() protoreflect.Message { + mi := &file_operations_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_UserCreateTagRequest proto.InternalMessageInfo +// Deprecated: Use UserCreateTagRequest.ProtoReflect.Descriptor instead. +func (*UserCreateTagRequest) Descriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{8} +} -func (m *UserCreateTagRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *UserCreateTagRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *UserCreateTagRequest) GetTagName() []byte { - if m != nil { - return m.TagName +func (x *UserCreateTagRequest) GetTagName() []byte { + if x != nil { + return x.TagName } return nil } -func (m *UserCreateTagRequest) GetUser() *User { - if m != nil { - return m.User +func (x *UserCreateTagRequest) GetUser() *User { + if x != nil { + return x.User } return nil } -func (m *UserCreateTagRequest) GetTargetRevision() []byte { - if m != nil { - return m.TargetRevision +func (x *UserCreateTagRequest) GetTargetRevision() []byte { + if x != nil { + return x.TargetRevision } return nil } -func (m *UserCreateTagRequest) GetMessage() []byte { - if m != nil { - return m.Message +func (x *UserCreateTagRequest) GetMessage() []byte { + if x != nil { + return x.Message } return nil } -func (m *UserCreateTagRequest) GetTimestamp() *timestamp.Timestamp { - if m != nil { - return m.Timestamp +func (x *UserCreateTagRequest) GetTimestamp() *timestamp.Timestamp { + if x != nil { + return x.Timestamp } return nil } type UserCreateTagResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // tag is the newly created tag. Tag *Tag `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"` // exists denotes whether the tag has existed already. Exists bool `protobuf:"varint,2,opt,name=exists,proto3" json:"exists,omitempty"` // pre_receive_error contains an error message if updating the tag failed // because of a pre-receive error. - PreReceiveError string `protobuf:"bytes,3,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + PreReceiveError string `protobuf:"bytes,3,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"` } -func (m *UserCreateTagResponse) Reset() { *m = UserCreateTagResponse{} } -func (m *UserCreateTagResponse) String() string { return proto.CompactTextString(m) } -func (*UserCreateTagResponse) ProtoMessage() {} -func (*UserCreateTagResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_1b4a5877375e491e, []int{9} +func (x *UserCreateTagResponse) Reset() { + *x = UserCreateTagResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_operations_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UserCreateTagResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserCreateTagResponse.Unmarshal(m, b) -} -func (m *UserCreateTagResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserCreateTagResponse.Marshal(b, m, deterministic) -} -func (m *UserCreateTagResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserCreateTagResponse.Merge(m, src) +func (x *UserCreateTagResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UserCreateTagResponse) XXX_Size() int { - return xxx_messageInfo_UserCreateTagResponse.Size(m) -} -func (m *UserCreateTagResponse) XXX_DiscardUnknown() { - xxx_messageInfo_UserCreateTagResponse.DiscardUnknown(m) + +func (*UserCreateTagResponse) ProtoMessage() {} + +func (x *UserCreateTagResponse) ProtoReflect() protoreflect.Message { + mi := &file_operations_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_UserCreateTagResponse proto.InternalMessageInfo +// Deprecated: Use UserCreateTagResponse.ProtoReflect.Descriptor instead. +func (*UserCreateTagResponse) Descriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{9} +} -func (m *UserCreateTagResponse) GetTag() *Tag { - if m != nil { - return m.Tag +func (x *UserCreateTagResponse) GetTag() *Tag { + if x != nil { + return x.Tag } return nil } -func (m *UserCreateTagResponse) GetExists() bool { - if m != nil { - return m.Exists +func (x *UserCreateTagResponse) GetExists() bool { + if x != nil { + return x.Exists } return false } -func (m *UserCreateTagResponse) GetPreReceiveError() string { - if m != nil { - return m.PreReceiveError +func (x *UserCreateTagResponse) GetPreReceiveError() string { + if x != nil { + return x.PreReceiveError } return "" } type UserMergeBranchRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // repository is the repository to compute the merge for. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // user is the user to compute the merge as. Its name and mail address are @@ -713,146 +865,162 @@ type UserMergeBranchRequest struct { // apply must only be set in the second message. Only if this second message // is sent and if apply is set to true will the branch be updated to point to // the merge commit. - Apply bool `protobuf:"varint,6,opt,name=apply,proto3" json:"apply,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Apply bool `protobuf:"varint,6,opt,name=apply,proto3" json:"apply,omitempty"` } -func (m *UserMergeBranchRequest) Reset() { *m = UserMergeBranchRequest{} } -func (m *UserMergeBranchRequest) String() string { return proto.CompactTextString(m) } -func (*UserMergeBranchRequest) ProtoMessage() {} -func (*UserMergeBranchRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_1b4a5877375e491e, []int{10} +func (x *UserMergeBranchRequest) Reset() { + *x = UserMergeBranchRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_operations_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UserMergeBranchRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserMergeBranchRequest.Unmarshal(m, b) -} -func (m *UserMergeBranchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserMergeBranchRequest.Marshal(b, m, deterministic) -} -func (m *UserMergeBranchRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserMergeBranchRequest.Merge(m, src) -} -func (m *UserMergeBranchRequest) XXX_Size() int { - return xxx_messageInfo_UserMergeBranchRequest.Size(m) +func (x *UserMergeBranchRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UserMergeBranchRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UserMergeBranchRequest.DiscardUnknown(m) + +func (*UserMergeBranchRequest) ProtoMessage() {} + +func (x *UserMergeBranchRequest) ProtoReflect() protoreflect.Message { + mi := &file_operations_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_UserMergeBranchRequest proto.InternalMessageInfo +// Deprecated: Use UserMergeBranchRequest.ProtoReflect.Descriptor instead. +func (*UserMergeBranchRequest) Descriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{10} +} -func (m *UserMergeBranchRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *UserMergeBranchRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *UserMergeBranchRequest) GetUser() *User { - if m != nil { - return m.User +func (x *UserMergeBranchRequest) GetUser() *User { + if x != nil { + return x.User } return nil } -func (m *UserMergeBranchRequest) GetCommitId() string { - if m != nil { - return m.CommitId +func (x *UserMergeBranchRequest) GetCommitId() string { + if x != nil { + return x.CommitId } return "" } -func (m *UserMergeBranchRequest) GetBranch() []byte { - if m != nil { - return m.Branch +func (x *UserMergeBranchRequest) GetBranch() []byte { + if x != nil { + return x.Branch } return nil } -func (m *UserMergeBranchRequest) GetMessage() []byte { - if m != nil { - return m.Message +func (x *UserMergeBranchRequest) GetMessage() []byte { + if x != nil { + return x.Message } return nil } -func (m *UserMergeBranchRequest) GetTimestamp() *timestamp.Timestamp { - if m != nil { - return m.Timestamp +func (x *UserMergeBranchRequest) GetTimestamp() *timestamp.Timestamp { + if x != nil { + return x.Timestamp } return nil } -func (m *UserMergeBranchRequest) GetApply() bool { - if m != nil { - return m.Apply +func (x *UserMergeBranchRequest) GetApply() bool { + if x != nil { + return x.Apply } return false } type UserMergeBranchResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // First message // The merge commit the branch will be updated to. The caller can still abort the merge. CommitId string `protobuf:"bytes,1,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"` // Second message // If set, the merge has been applied to the branch. - BranchUpdate *OperationBranchUpdate `protobuf:"bytes,3,opt,name=branch_update,json=branchUpdate,proto3" json:"branch_update,omitempty"` - PreReceiveError string `protobuf:"bytes,4,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + BranchUpdate *OperationBranchUpdate `protobuf:"bytes,3,opt,name=branch_update,json=branchUpdate,proto3" json:"branch_update,omitempty"` + PreReceiveError string `protobuf:"bytes,4,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"` } -func (m *UserMergeBranchResponse) Reset() { *m = UserMergeBranchResponse{} } -func (m *UserMergeBranchResponse) String() string { return proto.CompactTextString(m) } -func (*UserMergeBranchResponse) ProtoMessage() {} -func (*UserMergeBranchResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_1b4a5877375e491e, []int{11} +func (x *UserMergeBranchResponse) Reset() { + *x = UserMergeBranchResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_operations_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UserMergeBranchResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserMergeBranchResponse.Unmarshal(m, b) -} -func (m *UserMergeBranchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserMergeBranchResponse.Marshal(b, m, deterministic) +func (x *UserMergeBranchResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UserMergeBranchResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserMergeBranchResponse.Merge(m, src) -} -func (m *UserMergeBranchResponse) XXX_Size() int { - return xxx_messageInfo_UserMergeBranchResponse.Size(m) -} -func (m *UserMergeBranchResponse) XXX_DiscardUnknown() { - xxx_messageInfo_UserMergeBranchResponse.DiscardUnknown(m) + +func (*UserMergeBranchResponse) ProtoMessage() {} + +func (x *UserMergeBranchResponse) ProtoReflect() protoreflect.Message { + mi := &file_operations_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 mi.MessageOf(x) } -var xxx_messageInfo_UserMergeBranchResponse proto.InternalMessageInfo +// Deprecated: Use UserMergeBranchResponse.ProtoReflect.Descriptor instead. +func (*UserMergeBranchResponse) Descriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{11} +} -func (m *UserMergeBranchResponse) GetCommitId() string { - if m != nil { - return m.CommitId +func (x *UserMergeBranchResponse) GetCommitId() string { + if x != nil { + return x.CommitId } return "" } -func (m *UserMergeBranchResponse) GetBranchUpdate() *OperationBranchUpdate { - if m != nil { - return m.BranchUpdate +func (x *UserMergeBranchResponse) GetBranchUpdate() *OperationBranchUpdate { + if x != nil { + return x.BranchUpdate } return nil } -func (m *UserMergeBranchResponse) GetPreReceiveError() string { - if m != nil { - return m.PreReceiveError +func (x *UserMergeBranchResponse) GetPreReceiveError() string { + if x != nil { + return x.PreReceiveError } return "" } type UserMergeToRefRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // repository is the repository in which the merge shall be computed. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // user is the user as which the merge commit shall be created. @@ -876,151 +1044,167 @@ type UserMergeToRefRequest struct { AllowConflicts bool `protobuf:"varint,8,opt,name=allow_conflicts,json=allowConflicts,proto3" json:"allow_conflicts,omitempty"` // timestamp is the optional timestamp to use for the merge commit. If it's // not set, the current time will be used. - Timestamp *timestamp.Timestamp `protobuf:"bytes,9,opt,name=timestamp,proto3" json:"timestamp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Timestamp *timestamp.Timestamp `protobuf:"bytes,9,opt,name=timestamp,proto3" json:"timestamp,omitempty"` } -func (m *UserMergeToRefRequest) Reset() { *m = UserMergeToRefRequest{} } -func (m *UserMergeToRefRequest) String() string { return proto.CompactTextString(m) } -func (*UserMergeToRefRequest) ProtoMessage() {} -func (*UserMergeToRefRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_1b4a5877375e491e, []int{12} +func (x *UserMergeToRefRequest) Reset() { + *x = UserMergeToRefRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_operations_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UserMergeToRefRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserMergeToRefRequest.Unmarshal(m, b) -} -func (m *UserMergeToRefRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserMergeToRefRequest.Marshal(b, m, deterministic) +func (x *UserMergeToRefRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UserMergeToRefRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserMergeToRefRequest.Merge(m, src) -} -func (m *UserMergeToRefRequest) XXX_Size() int { - return xxx_messageInfo_UserMergeToRefRequest.Size(m) -} -func (m *UserMergeToRefRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UserMergeToRefRequest.DiscardUnknown(m) + +func (*UserMergeToRefRequest) ProtoMessage() {} + +func (x *UserMergeToRefRequest) ProtoReflect() protoreflect.Message { + mi := &file_operations_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_UserMergeToRefRequest proto.InternalMessageInfo +// Deprecated: Use UserMergeToRefRequest.ProtoReflect.Descriptor instead. +func (*UserMergeToRefRequest) Descriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{12} +} -func (m *UserMergeToRefRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *UserMergeToRefRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *UserMergeToRefRequest) GetUser() *User { - if m != nil { - return m.User +func (x *UserMergeToRefRequest) GetUser() *User { + if x != nil { + return x.User } return nil } -func (m *UserMergeToRefRequest) GetSourceSha() string { - if m != nil { - return m.SourceSha +func (x *UserMergeToRefRequest) GetSourceSha() string { + if x != nil { + return x.SourceSha } return "" } -func (m *UserMergeToRefRequest) GetBranch() []byte { - if m != nil { - return m.Branch +func (x *UserMergeToRefRequest) GetBranch() []byte { + if x != nil { + return x.Branch } return nil } -func (m *UserMergeToRefRequest) GetTargetRef() []byte { - if m != nil { - return m.TargetRef +func (x *UserMergeToRefRequest) GetTargetRef() []byte { + if x != nil { + return x.TargetRef } return nil } -func (m *UserMergeToRefRequest) GetMessage() []byte { - if m != nil { - return m.Message +func (x *UserMergeToRefRequest) GetMessage() []byte { + if x != nil { + return x.Message } return nil } -func (m *UserMergeToRefRequest) GetFirstParentRef() []byte { - if m != nil { - return m.FirstParentRef +func (x *UserMergeToRefRequest) GetFirstParentRef() []byte { + if x != nil { + return x.FirstParentRef } return nil } -func (m *UserMergeToRefRequest) GetAllowConflicts() bool { - if m != nil { - return m.AllowConflicts +func (x *UserMergeToRefRequest) GetAllowConflicts() bool { + if x != nil { + return x.AllowConflicts } return false } -func (m *UserMergeToRefRequest) GetTimestamp() *timestamp.Timestamp { - if m != nil { - return m.Timestamp +func (x *UserMergeToRefRequest) GetTimestamp() *timestamp.Timestamp { + if x != nil { + return x.Timestamp } return nil } type UserMergeToRefResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // commit_id is the object ID of the computed merge commit. CommitId string `protobuf:"bytes,1,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"` // pre_receive_error contains an error message if the merge failed. - PreReceiveError string `protobuf:"bytes,2,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + PreReceiveError string `protobuf:"bytes,2,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"` } -func (m *UserMergeToRefResponse) Reset() { *m = UserMergeToRefResponse{} } -func (m *UserMergeToRefResponse) String() string { return proto.CompactTextString(m) } -func (*UserMergeToRefResponse) ProtoMessage() {} -func (*UserMergeToRefResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_1b4a5877375e491e, []int{13} +func (x *UserMergeToRefResponse) Reset() { + *x = UserMergeToRefResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_operations_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UserMergeToRefResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserMergeToRefResponse.Unmarshal(m, b) -} -func (m *UserMergeToRefResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserMergeToRefResponse.Marshal(b, m, deterministic) -} -func (m *UserMergeToRefResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserMergeToRefResponse.Merge(m, src) +func (x *UserMergeToRefResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UserMergeToRefResponse) XXX_Size() int { - return xxx_messageInfo_UserMergeToRefResponse.Size(m) -} -func (m *UserMergeToRefResponse) XXX_DiscardUnknown() { - xxx_messageInfo_UserMergeToRefResponse.DiscardUnknown(m) + +func (*UserMergeToRefResponse) ProtoMessage() {} + +func (x *UserMergeToRefResponse) ProtoReflect() protoreflect.Message { + mi := &file_operations_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 mi.MessageOf(x) } -var xxx_messageInfo_UserMergeToRefResponse proto.InternalMessageInfo +// Deprecated: Use UserMergeToRefResponse.ProtoReflect.Descriptor instead. +func (*UserMergeToRefResponse) Descriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{13} +} -func (m *UserMergeToRefResponse) GetCommitId() string { - if m != nil { - return m.CommitId +func (x *UserMergeToRefResponse) GetCommitId() string { + if x != nil { + return x.CommitId } return "" } -func (m *UserMergeToRefResponse) GetPreReceiveError() string { - if m != nil { - return m.PreReceiveError +func (x *UserMergeToRefResponse) GetPreReceiveError() string { + if x != nil { + return x.PreReceiveError } return "" } // OperationBranchUpdate contains the details of a branch update. type OperationBranchUpdate struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // commit_id is set to the OID of the created commit if a branch was created or updated. CommitId string `protobuf:"bytes,1,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"` // repo_created indicates whether the branch created was the first one in the repository. @@ -1028,60 +1212,68 @@ type OperationBranchUpdate struct { RepoCreated bool `protobuf:"varint,2,opt,name=repo_created,json=repoCreated,proto3" json:"repo_created,omitempty"` // branch_created indicates whether the branch already existed in the repository // and was updated or whether it was created. Used for cache invalidation in GitLab. - BranchCreated bool `protobuf:"varint,3,opt,name=branch_created,json=branchCreated,proto3" json:"branch_created,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + BranchCreated bool `protobuf:"varint,3,opt,name=branch_created,json=branchCreated,proto3" json:"branch_created,omitempty"` } -func (m *OperationBranchUpdate) Reset() { *m = OperationBranchUpdate{} } -func (m *OperationBranchUpdate) String() string { return proto.CompactTextString(m) } -func (*OperationBranchUpdate) ProtoMessage() {} -func (*OperationBranchUpdate) Descriptor() ([]byte, []int) { - return fileDescriptor_1b4a5877375e491e, []int{14} +func (x *OperationBranchUpdate) Reset() { + *x = OperationBranchUpdate{} + if protoimpl.UnsafeEnabled { + mi := &file_operations_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *OperationBranchUpdate) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_OperationBranchUpdate.Unmarshal(m, b) -} -func (m *OperationBranchUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_OperationBranchUpdate.Marshal(b, m, deterministic) -} -func (m *OperationBranchUpdate) XXX_Merge(src proto.Message) { - xxx_messageInfo_OperationBranchUpdate.Merge(m, src) -} -func (m *OperationBranchUpdate) XXX_Size() int { - return xxx_messageInfo_OperationBranchUpdate.Size(m) +func (x *OperationBranchUpdate) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *OperationBranchUpdate) XXX_DiscardUnknown() { - xxx_messageInfo_OperationBranchUpdate.DiscardUnknown(m) + +func (*OperationBranchUpdate) ProtoMessage() {} + +func (x *OperationBranchUpdate) ProtoReflect() protoreflect.Message { + mi := &file_operations_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 mi.MessageOf(x) } -var xxx_messageInfo_OperationBranchUpdate proto.InternalMessageInfo +// Deprecated: Use OperationBranchUpdate.ProtoReflect.Descriptor instead. +func (*OperationBranchUpdate) Descriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{14} +} -func (m *OperationBranchUpdate) GetCommitId() string { - if m != nil { - return m.CommitId +func (x *OperationBranchUpdate) GetCommitId() string { + if x != nil { + return x.CommitId } return "" } -func (m *OperationBranchUpdate) GetRepoCreated() bool { - if m != nil { - return m.RepoCreated +func (x *OperationBranchUpdate) GetRepoCreated() bool { + if x != nil { + return x.RepoCreated } return false } -func (m *OperationBranchUpdate) GetBranchCreated() bool { - if m != nil { - return m.BranchCreated +func (x *OperationBranchUpdate) GetBranchCreated() bool { + if x != nil { + return x.BranchCreated } return false } // UserFFBranchRequest contains parameters for the UserFFBranch RPC. type UserFFBranchRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // repository is the repository for which to perform the fast-forward merge. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // user is the user which to perform the fast-forward merge as. This is used @@ -1092,113 +1284,129 @@ type UserFFBranchRequest struct { // branch is the name of the branch that shall be update. This must be the // branch name only and not a fully qualified reference, e.g. "master" // instead of "refs/heads/master". - Branch []byte `protobuf:"bytes,4,opt,name=branch,proto3" json:"branch,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Branch []byte `protobuf:"bytes,4,opt,name=branch,proto3" json:"branch,omitempty"` } -func (m *UserFFBranchRequest) Reset() { *m = UserFFBranchRequest{} } -func (m *UserFFBranchRequest) String() string { return proto.CompactTextString(m) } -func (*UserFFBranchRequest) ProtoMessage() {} -func (*UserFFBranchRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_1b4a5877375e491e, []int{15} +func (x *UserFFBranchRequest) Reset() { + *x = UserFFBranchRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_operations_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UserFFBranchRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserFFBranchRequest.Unmarshal(m, b) -} -func (m *UserFFBranchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserFFBranchRequest.Marshal(b, m, deterministic) -} -func (m *UserFFBranchRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserFFBranchRequest.Merge(m, src) -} -func (m *UserFFBranchRequest) XXX_Size() int { - return xxx_messageInfo_UserFFBranchRequest.Size(m) +func (x *UserFFBranchRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UserFFBranchRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UserFFBranchRequest.DiscardUnknown(m) + +func (*UserFFBranchRequest) ProtoMessage() {} + +func (x *UserFFBranchRequest) ProtoReflect() protoreflect.Message { + mi := &file_operations_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) } -var xxx_messageInfo_UserFFBranchRequest proto.InternalMessageInfo +// Deprecated: Use UserFFBranchRequest.ProtoReflect.Descriptor instead. +func (*UserFFBranchRequest) Descriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{15} +} -func (m *UserFFBranchRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *UserFFBranchRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *UserFFBranchRequest) GetUser() *User { - if m != nil { - return m.User +func (x *UserFFBranchRequest) GetUser() *User { + if x != nil { + return x.User } return nil } -func (m *UserFFBranchRequest) GetCommitId() string { - if m != nil { - return m.CommitId +func (x *UserFFBranchRequest) GetCommitId() string { + if x != nil { + return x.CommitId } return "" } -func (m *UserFFBranchRequest) GetBranch() []byte { - if m != nil { - return m.Branch +func (x *UserFFBranchRequest) GetBranch() []byte { + if x != nil { + return x.Branch } return nil } type UserFFBranchResponse struct { - BranchUpdate *OperationBranchUpdate `protobuf:"bytes,1,opt,name=branch_update,json=branchUpdate,proto3" json:"branch_update,omitempty"` - PreReceiveError string `protobuf:"bytes,2,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *UserFFBranchResponse) Reset() { *m = UserFFBranchResponse{} } -func (m *UserFFBranchResponse) String() string { return proto.CompactTextString(m) } -func (*UserFFBranchResponse) ProtoMessage() {} -func (*UserFFBranchResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_1b4a5877375e491e, []int{16} + BranchUpdate *OperationBranchUpdate `protobuf:"bytes,1,opt,name=branch_update,json=branchUpdate,proto3" json:"branch_update,omitempty"` + PreReceiveError string `protobuf:"bytes,2,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"` } -func (m *UserFFBranchResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserFFBranchResponse.Unmarshal(m, b) -} -func (m *UserFFBranchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserFFBranchResponse.Marshal(b, m, deterministic) -} -func (m *UserFFBranchResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserFFBranchResponse.Merge(m, src) +func (x *UserFFBranchResponse) Reset() { + *x = UserFFBranchResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_operations_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UserFFBranchResponse) XXX_Size() int { - return xxx_messageInfo_UserFFBranchResponse.Size(m) + +func (x *UserFFBranchResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UserFFBranchResponse) XXX_DiscardUnknown() { - xxx_messageInfo_UserFFBranchResponse.DiscardUnknown(m) + +func (*UserFFBranchResponse) ProtoMessage() {} + +func (x *UserFFBranchResponse) ProtoReflect() protoreflect.Message { + mi := &file_operations_proto_msgTypes[16] + 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_UserFFBranchResponse proto.InternalMessageInfo +// Deprecated: Use UserFFBranchResponse.ProtoReflect.Descriptor instead. +func (*UserFFBranchResponse) Descriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{16} +} -func (m *UserFFBranchResponse) GetBranchUpdate() *OperationBranchUpdate { - if m != nil { - return m.BranchUpdate +func (x *UserFFBranchResponse) GetBranchUpdate() *OperationBranchUpdate { + if x != nil { + return x.BranchUpdate } return nil } -func (m *UserFFBranchResponse) GetPreReceiveError() string { - if m != nil { - return m.PreReceiveError +func (x *UserFFBranchResponse) GetPreReceiveError() string { + if x != nil { + return x.PreReceiveError } return "" } type UserCherryPickRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // repository is the repository into which the cherry-pick shall be // performed. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` @@ -1223,101 +1431,109 @@ type UserCherryPickRequest struct { DryRun bool `protobuf:"varint,8,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"` // timestamp is the optional timestamp to use for the created cherry-picked // commit's committer date. If it's not set, the current time will be used. - Timestamp *timestamp.Timestamp `protobuf:"bytes,9,opt,name=timestamp,proto3" json:"timestamp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Timestamp *timestamp.Timestamp `protobuf:"bytes,9,opt,name=timestamp,proto3" json:"timestamp,omitempty"` } -func (m *UserCherryPickRequest) Reset() { *m = UserCherryPickRequest{} } -func (m *UserCherryPickRequest) String() string { return proto.CompactTextString(m) } -func (*UserCherryPickRequest) ProtoMessage() {} -func (*UserCherryPickRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_1b4a5877375e491e, []int{17} +func (x *UserCherryPickRequest) Reset() { + *x = UserCherryPickRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_operations_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UserCherryPickRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserCherryPickRequest.Unmarshal(m, b) +func (x *UserCherryPickRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UserCherryPickRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserCherryPickRequest.Marshal(b, m, deterministic) -} -func (m *UserCherryPickRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserCherryPickRequest.Merge(m, src) -} -func (m *UserCherryPickRequest) XXX_Size() int { - return xxx_messageInfo_UserCherryPickRequest.Size(m) -} -func (m *UserCherryPickRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UserCherryPickRequest.DiscardUnknown(m) + +func (*UserCherryPickRequest) ProtoMessage() {} + +func (x *UserCherryPickRequest) ProtoReflect() protoreflect.Message { + mi := &file_operations_proto_msgTypes[17] + 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_UserCherryPickRequest proto.InternalMessageInfo +// Deprecated: Use UserCherryPickRequest.ProtoReflect.Descriptor instead. +func (*UserCherryPickRequest) Descriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{17} +} -func (m *UserCherryPickRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *UserCherryPickRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *UserCherryPickRequest) GetUser() *User { - if m != nil { - return m.User +func (x *UserCherryPickRequest) GetUser() *User { + if x != nil { + return x.User } return nil } -func (m *UserCherryPickRequest) GetCommit() *GitCommit { - if m != nil { - return m.Commit +func (x *UserCherryPickRequest) GetCommit() *GitCommit { + if x != nil { + return x.Commit } return nil } -func (m *UserCherryPickRequest) GetBranchName() []byte { - if m != nil { - return m.BranchName +func (x *UserCherryPickRequest) GetBranchName() []byte { + if x != nil { + return x.BranchName } return nil } -func (m *UserCherryPickRequest) GetMessage() []byte { - if m != nil { - return m.Message +func (x *UserCherryPickRequest) GetMessage() []byte { + if x != nil { + return x.Message } return nil } -func (m *UserCherryPickRequest) GetStartBranchName() []byte { - if m != nil { - return m.StartBranchName +func (x *UserCherryPickRequest) GetStartBranchName() []byte { + if x != nil { + return x.StartBranchName } return nil } -func (m *UserCherryPickRequest) GetStartRepository() *Repository { - if m != nil { - return m.StartRepository +func (x *UserCherryPickRequest) GetStartRepository() *Repository { + if x != nil { + return x.StartRepository } return nil } -func (m *UserCherryPickRequest) GetDryRun() bool { - if m != nil { - return m.DryRun +func (x *UserCherryPickRequest) GetDryRun() bool { + if x != nil { + return x.DryRun } return false } -func (m *UserCherryPickRequest) GetTimestamp() *timestamp.Timestamp { - if m != nil { - return m.Timestamp +func (x *UserCherryPickRequest) GetTimestamp() *timestamp.Timestamp { + if x != nil { + return x.Timestamp } return nil } type UserCherryPickResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // branch_update represents details about the updated branch. BranchUpdate *OperationBranchUpdate `protobuf:"bytes,1,opt,name=branch_update,json=branchUpdate,proto3" json:"branch_update,omitempty"` // create_tree_error contains the error message if creation of the tree @@ -1330,73 +1546,81 @@ type UserCherryPickResponse struct { PreReceiveError string `protobuf:"bytes,4,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"` // create_tree_error_code contains the error code if creation of the tree // failed. - CreateTreeErrorCode UserCherryPickResponse_CreateTreeError `protobuf:"varint,5,opt,name=create_tree_error_code,json=createTreeErrorCode,proto3,enum=gitaly.UserCherryPickResponse_CreateTreeError" json:"create_tree_error_code,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + CreateTreeErrorCode UserCherryPickResponse_CreateTreeError `protobuf:"varint,5,opt,name=create_tree_error_code,json=createTreeErrorCode,proto3,enum=gitaly.UserCherryPickResponse_CreateTreeError" json:"create_tree_error_code,omitempty"` } -func (m *UserCherryPickResponse) Reset() { *m = UserCherryPickResponse{} } -func (m *UserCherryPickResponse) String() string { return proto.CompactTextString(m) } -func (*UserCherryPickResponse) ProtoMessage() {} -func (*UserCherryPickResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_1b4a5877375e491e, []int{18} +func (x *UserCherryPickResponse) Reset() { + *x = UserCherryPickResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_operations_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UserCherryPickResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserCherryPickResponse.Unmarshal(m, b) -} -func (m *UserCherryPickResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserCherryPickResponse.Marshal(b, m, deterministic) -} -func (m *UserCherryPickResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserCherryPickResponse.Merge(m, src) +func (x *UserCherryPickResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UserCherryPickResponse) XXX_Size() int { - return xxx_messageInfo_UserCherryPickResponse.Size(m) -} -func (m *UserCherryPickResponse) XXX_DiscardUnknown() { - xxx_messageInfo_UserCherryPickResponse.DiscardUnknown(m) + +func (*UserCherryPickResponse) ProtoMessage() {} + +func (x *UserCherryPickResponse) ProtoReflect() protoreflect.Message { + mi := &file_operations_proto_msgTypes[18] + 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_UserCherryPickResponse proto.InternalMessageInfo +// Deprecated: Use UserCherryPickResponse.ProtoReflect.Descriptor instead. +func (*UserCherryPickResponse) Descriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{18} +} -func (m *UserCherryPickResponse) GetBranchUpdate() *OperationBranchUpdate { - if m != nil { - return m.BranchUpdate +func (x *UserCherryPickResponse) GetBranchUpdate() *OperationBranchUpdate { + if x != nil { + return x.BranchUpdate } return nil } -func (m *UserCherryPickResponse) GetCreateTreeError() string { - if m != nil { - return m.CreateTreeError +func (x *UserCherryPickResponse) GetCreateTreeError() string { + if x != nil { + return x.CreateTreeError } return "" } -func (m *UserCherryPickResponse) GetCommitError() string { - if m != nil { - return m.CommitError +func (x *UserCherryPickResponse) GetCommitError() string { + if x != nil { + return x.CommitError } return "" } -func (m *UserCherryPickResponse) GetPreReceiveError() string { - if m != nil { - return m.PreReceiveError +func (x *UserCherryPickResponse) GetPreReceiveError() string { + if x != nil { + return x.PreReceiveError } return "" } -func (m *UserCherryPickResponse) GetCreateTreeErrorCode() UserCherryPickResponse_CreateTreeError { - if m != nil { - return m.CreateTreeErrorCode +func (x *UserCherryPickResponse) GetCreateTreeErrorCode() UserCherryPickResponse_CreateTreeError { + if x != nil { + return x.CreateTreeErrorCode } return UserCherryPickResponse_NONE } type UserRevertRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // repository is the repository in which the revert shall be applied. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // user is the user to perform the revert as. This is used both for @@ -1420,101 +1644,109 @@ type UserRevertRequest struct { DryRun bool `protobuf:"varint,8,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"` // timestamp is the optional timestamp to use for the created cherry-picked // commit's committer date. If it's not set, the current time will be used. - Timestamp *timestamp.Timestamp `protobuf:"bytes,9,opt,name=timestamp,proto3" json:"timestamp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Timestamp *timestamp.Timestamp `protobuf:"bytes,9,opt,name=timestamp,proto3" json:"timestamp,omitempty"` } -func (m *UserRevertRequest) Reset() { *m = UserRevertRequest{} } -func (m *UserRevertRequest) String() string { return proto.CompactTextString(m) } -func (*UserRevertRequest) ProtoMessage() {} -func (*UserRevertRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_1b4a5877375e491e, []int{19} +func (x *UserRevertRequest) Reset() { + *x = UserRevertRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_operations_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UserRevertRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserRevertRequest.Unmarshal(m, b) -} -func (m *UserRevertRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserRevertRequest.Marshal(b, m, deterministic) -} -func (m *UserRevertRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserRevertRequest.Merge(m, src) -} -func (m *UserRevertRequest) XXX_Size() int { - return xxx_messageInfo_UserRevertRequest.Size(m) +func (x *UserRevertRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UserRevertRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UserRevertRequest.DiscardUnknown(m) + +func (*UserRevertRequest) ProtoMessage() {} + +func (x *UserRevertRequest) ProtoReflect() protoreflect.Message { + mi := &file_operations_proto_msgTypes[19] + 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_UserRevertRequest proto.InternalMessageInfo +// Deprecated: Use UserRevertRequest.ProtoReflect.Descriptor instead. +func (*UserRevertRequest) Descriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{19} +} -func (m *UserRevertRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *UserRevertRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *UserRevertRequest) GetUser() *User { - if m != nil { - return m.User +func (x *UserRevertRequest) GetUser() *User { + if x != nil { + return x.User } return nil } -func (m *UserRevertRequest) GetCommit() *GitCommit { - if m != nil { - return m.Commit +func (x *UserRevertRequest) GetCommit() *GitCommit { + if x != nil { + return x.Commit } return nil } -func (m *UserRevertRequest) GetBranchName() []byte { - if m != nil { - return m.BranchName +func (x *UserRevertRequest) GetBranchName() []byte { + if x != nil { + return x.BranchName } return nil } -func (m *UserRevertRequest) GetMessage() []byte { - if m != nil { - return m.Message +func (x *UserRevertRequest) GetMessage() []byte { + if x != nil { + return x.Message } return nil } -func (m *UserRevertRequest) GetStartBranchName() []byte { - if m != nil { - return m.StartBranchName +func (x *UserRevertRequest) GetStartBranchName() []byte { + if x != nil { + return x.StartBranchName } return nil } -func (m *UserRevertRequest) GetStartRepository() *Repository { - if m != nil { - return m.StartRepository +func (x *UserRevertRequest) GetStartRepository() *Repository { + if x != nil { + return x.StartRepository } return nil } -func (m *UserRevertRequest) GetDryRun() bool { - if m != nil { - return m.DryRun +func (x *UserRevertRequest) GetDryRun() bool { + if x != nil { + return x.DryRun } return false } -func (m *UserRevertRequest) GetTimestamp() *timestamp.Timestamp { - if m != nil { - return m.Timestamp +func (x *UserRevertRequest) GetTimestamp() *timestamp.Timestamp { + if x != nil { + return x.Timestamp } return nil } type UserRevertResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // branch_update represents details about the updated branch. BranchUpdate *OperationBranchUpdate `protobuf:"bytes,1,opt,name=branch_update,json=branchUpdate,proto3" json:"branch_update,omitempty"` // create_tree_error contains the error message if creation of the tree @@ -1527,74 +1759,82 @@ type UserRevertResponse struct { PreReceiveError string `protobuf:"bytes,4,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"` // create_tree_error_code contains the error code if creation of the tree // failed. - CreateTreeErrorCode UserRevertResponse_CreateTreeError `protobuf:"varint,5,opt,name=create_tree_error_code,json=createTreeErrorCode,proto3,enum=gitaly.UserRevertResponse_CreateTreeError" json:"create_tree_error_code,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + CreateTreeErrorCode UserRevertResponse_CreateTreeError `protobuf:"varint,5,opt,name=create_tree_error_code,json=createTreeErrorCode,proto3,enum=gitaly.UserRevertResponse_CreateTreeError" json:"create_tree_error_code,omitempty"` } -func (m *UserRevertResponse) Reset() { *m = UserRevertResponse{} } -func (m *UserRevertResponse) String() string { return proto.CompactTextString(m) } -func (*UserRevertResponse) ProtoMessage() {} -func (*UserRevertResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_1b4a5877375e491e, []int{20} +func (x *UserRevertResponse) Reset() { + *x = UserRevertResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_operations_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UserRevertResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserRevertResponse.Unmarshal(m, b) -} -func (m *UserRevertResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserRevertResponse.Marshal(b, m, deterministic) +func (x *UserRevertResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UserRevertResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserRevertResponse.Merge(m, src) -} -func (m *UserRevertResponse) XXX_Size() int { - return xxx_messageInfo_UserRevertResponse.Size(m) -} -func (m *UserRevertResponse) XXX_DiscardUnknown() { - xxx_messageInfo_UserRevertResponse.DiscardUnknown(m) + +func (*UserRevertResponse) ProtoMessage() {} + +func (x *UserRevertResponse) ProtoReflect() protoreflect.Message { + mi := &file_operations_proto_msgTypes[20] + 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_UserRevertResponse proto.InternalMessageInfo +// Deprecated: Use UserRevertResponse.ProtoReflect.Descriptor instead. +func (*UserRevertResponse) Descriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{20} +} -func (m *UserRevertResponse) GetBranchUpdate() *OperationBranchUpdate { - if m != nil { - return m.BranchUpdate +func (x *UserRevertResponse) GetBranchUpdate() *OperationBranchUpdate { + if x != nil { + return x.BranchUpdate } return nil } -func (m *UserRevertResponse) GetCreateTreeError() string { - if m != nil { - return m.CreateTreeError +func (x *UserRevertResponse) GetCreateTreeError() string { + if x != nil { + return x.CreateTreeError } return "" } -func (m *UserRevertResponse) GetCommitError() string { - if m != nil { - return m.CommitError +func (x *UserRevertResponse) GetCommitError() string { + if x != nil { + return x.CommitError } return "" } -func (m *UserRevertResponse) GetPreReceiveError() string { - if m != nil { - return m.PreReceiveError +func (x *UserRevertResponse) GetPreReceiveError() string { + if x != nil { + return x.PreReceiveError } return "" } -func (m *UserRevertResponse) GetCreateTreeErrorCode() UserRevertResponse_CreateTreeError { - if m != nil { - return m.CreateTreeErrorCode +func (x *UserRevertResponse) GetCreateTreeErrorCode() UserRevertResponse_CreateTreeError { + if x != nil { + return x.CreateTreeErrorCode } return UserRevertResponse_NONE } // UserCommitFilesActionHeader contains the details of the action to be performed. type UserCommitFilesActionHeader struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // action is the type of the action taken to build a commit. Not all fields are // used for all of the actions. Action UserCommitFilesActionHeader_ActionType `protobuf:"varint,1,opt,name=action,proto3,enum=gitaly.UserCommitFilesActionHeader_ActionType" json:"action,omitempty"` @@ -1619,131 +1859,127 @@ type UserCommitFilesActionHeader struct { // Move actions that change the file path, but not its content, should set // infer_content to true instead of populating the content field. Ignored for // other action types. - InferContent bool `protobuf:"varint,6,opt,name=infer_content,json=inferContent,proto3" json:"infer_content,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + InferContent bool `protobuf:"varint,6,opt,name=infer_content,json=inferContent,proto3" json:"infer_content,omitempty"` } -func (m *UserCommitFilesActionHeader) Reset() { *m = UserCommitFilesActionHeader{} } -func (m *UserCommitFilesActionHeader) String() string { return proto.CompactTextString(m) } -func (*UserCommitFilesActionHeader) ProtoMessage() {} -func (*UserCommitFilesActionHeader) Descriptor() ([]byte, []int) { - return fileDescriptor_1b4a5877375e491e, []int{21} +func (x *UserCommitFilesActionHeader) Reset() { + *x = UserCommitFilesActionHeader{} + if protoimpl.UnsafeEnabled { + mi := &file_operations_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UserCommitFilesActionHeader) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserCommitFilesActionHeader.Unmarshal(m, b) -} -func (m *UserCommitFilesActionHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserCommitFilesActionHeader.Marshal(b, m, deterministic) -} -func (m *UserCommitFilesActionHeader) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserCommitFilesActionHeader.Merge(m, src) -} -func (m *UserCommitFilesActionHeader) XXX_Size() int { - return xxx_messageInfo_UserCommitFilesActionHeader.Size(m) +func (x *UserCommitFilesActionHeader) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UserCommitFilesActionHeader) XXX_DiscardUnknown() { - xxx_messageInfo_UserCommitFilesActionHeader.DiscardUnknown(m) + +func (*UserCommitFilesActionHeader) ProtoMessage() {} + +func (x *UserCommitFilesActionHeader) ProtoReflect() protoreflect.Message { + mi := &file_operations_proto_msgTypes[21] + 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_UserCommitFilesActionHeader proto.InternalMessageInfo +// Deprecated: Use UserCommitFilesActionHeader.ProtoReflect.Descriptor instead. +func (*UserCommitFilesActionHeader) Descriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{21} +} -func (m *UserCommitFilesActionHeader) GetAction() UserCommitFilesActionHeader_ActionType { - if m != nil { - return m.Action +func (x *UserCommitFilesActionHeader) GetAction() UserCommitFilesActionHeader_ActionType { + if x != nil { + return x.Action } return UserCommitFilesActionHeader_CREATE } -func (m *UserCommitFilesActionHeader) GetFilePath() []byte { - if m != nil { - return m.FilePath +func (x *UserCommitFilesActionHeader) GetFilePath() []byte { + if x != nil { + return x.FilePath } return nil } -func (m *UserCommitFilesActionHeader) GetPreviousPath() []byte { - if m != nil { - return m.PreviousPath +func (x *UserCommitFilesActionHeader) GetPreviousPath() []byte { + if x != nil { + return x.PreviousPath } return nil } -func (m *UserCommitFilesActionHeader) GetBase64Content() bool { - if m != nil { - return m.Base64Content +func (x *UserCommitFilesActionHeader) GetBase64Content() bool { + if x != nil { + return x.Base64Content } return false } -func (m *UserCommitFilesActionHeader) GetExecuteFilemode() bool { - if m != nil { - return m.ExecuteFilemode +func (x *UserCommitFilesActionHeader) GetExecuteFilemode() bool { + if x != nil { + return x.ExecuteFilemode } return false } -func (m *UserCommitFilesActionHeader) GetInferContent() bool { - if m != nil { - return m.InferContent +func (x *UserCommitFilesActionHeader) GetInferContent() bool { + if x != nil { + return x.InferContent } return false } // UserCommitFilesAction is the request message used to stream in the actions to build a commit. type UserCommitFilesAction struct { - // Types that are valid to be assigned to UserCommitFilesActionPayload: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to UserCommitFilesActionPayload: // *UserCommitFilesAction_Header // *UserCommitFilesAction_Content UserCommitFilesActionPayload isUserCommitFilesAction_UserCommitFilesActionPayload `protobuf_oneof:"user_commit_files_action_payload"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` } -func (m *UserCommitFilesAction) Reset() { *m = UserCommitFilesAction{} } -func (m *UserCommitFilesAction) String() string { return proto.CompactTextString(m) } -func (*UserCommitFilesAction) ProtoMessage() {} -func (*UserCommitFilesAction) Descriptor() ([]byte, []int) { - return fileDescriptor_1b4a5877375e491e, []int{22} +func (x *UserCommitFilesAction) Reset() { + *x = UserCommitFilesAction{} + if protoimpl.UnsafeEnabled { + mi := &file_operations_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UserCommitFilesAction) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserCommitFilesAction.Unmarshal(m, b) -} -func (m *UserCommitFilesAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserCommitFilesAction.Marshal(b, m, deterministic) -} -func (m *UserCommitFilesAction) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserCommitFilesAction.Merge(m, src) -} -func (m *UserCommitFilesAction) XXX_Size() int { - return xxx_messageInfo_UserCommitFilesAction.Size(m) +func (x *UserCommitFilesAction) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UserCommitFilesAction) XXX_DiscardUnknown() { - xxx_messageInfo_UserCommitFilesAction.DiscardUnknown(m) -} - -var xxx_messageInfo_UserCommitFilesAction proto.InternalMessageInfo -type isUserCommitFilesAction_UserCommitFilesActionPayload interface { - isUserCommitFilesAction_UserCommitFilesActionPayload() -} +func (*UserCommitFilesAction) ProtoMessage() {} -type UserCommitFilesAction_Header struct { - Header *UserCommitFilesActionHeader `protobuf:"bytes,1,opt,name=header,proto3,oneof"` +func (x *UserCommitFilesAction) ProtoReflect() protoreflect.Message { + mi := &file_operations_proto_msgTypes[22] + 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 UserCommitFilesAction_Content struct { - Content []byte `protobuf:"bytes,2,opt,name=content,proto3,oneof"` +// Deprecated: Use UserCommitFilesAction.ProtoReflect.Descriptor instead. +func (*UserCommitFilesAction) Descriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{22} } -func (*UserCommitFilesAction_Header) isUserCommitFilesAction_UserCommitFilesActionPayload() {} - -func (*UserCommitFilesAction_Content) isUserCommitFilesAction_UserCommitFilesActionPayload() {} - func (m *UserCommitFilesAction) GetUserCommitFilesActionPayload() isUserCommitFilesAction_UserCommitFilesActionPayload { if m != nil { return m.UserCommitFilesActionPayload @@ -1751,31 +1987,47 @@ func (m *UserCommitFilesAction) GetUserCommitFilesActionPayload() isUserCommitFi return nil } -func (m *UserCommitFilesAction) GetHeader() *UserCommitFilesActionHeader { - if x, ok := m.GetUserCommitFilesActionPayload().(*UserCommitFilesAction_Header); ok { +func (x *UserCommitFilesAction) GetHeader() *UserCommitFilesActionHeader { + if x, ok := x.GetUserCommitFilesActionPayload().(*UserCommitFilesAction_Header); ok { return x.Header } return nil } -func (m *UserCommitFilesAction) GetContent() []byte { - if x, ok := m.GetUserCommitFilesActionPayload().(*UserCommitFilesAction_Content); ok { +func (x *UserCommitFilesAction) GetContent() []byte { + if x, ok := x.GetUserCommitFilesActionPayload().(*UserCommitFilesAction_Content); ok { return x.Content } return nil } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*UserCommitFilesAction) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*UserCommitFilesAction_Header)(nil), - (*UserCommitFilesAction_Content)(nil), - } +type isUserCommitFilesAction_UserCommitFilesActionPayload interface { + isUserCommitFilesAction_UserCommitFilesActionPayload() +} + +type UserCommitFilesAction_Header struct { + // header contains the details of action being performed. Header must be sent before the + // content if content is used by the action. + Header *UserCommitFilesActionHeader `protobuf:"bytes,1,opt,name=header,proto3,oneof"` } +type UserCommitFilesAction_Content struct { + // content is the content of the file streamed in one or more messages. Only used with CREATE + // and UPDATE actions. + Content []byte `protobuf:"bytes,2,opt,name=content,proto3,oneof"` +} + +func (*UserCommitFilesAction_Header) isUserCommitFilesAction_UserCommitFilesActionPayload() {} + +func (*UserCommitFilesAction_Content) isUserCommitFilesAction_UserCommitFilesActionPayload() {} + // UserCommitFilesRequestHeader is the header of the UserCommitFiles that defines the commit details, // parent and other information related to the call. type UserCommitFilesRequestHeader struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // repository is the target repository where to apply the commit. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // user is the user peforming the call. @@ -1805,166 +2057,162 @@ type UserCommitFilesRequestHeader struct { StartSha string `protobuf:"bytes,10,opt,name=start_sha,json=startSha,proto3" json:"start_sha,omitempty"` // timestamp is the optional timestamp to use for the commits as author and // committer date. If it's not set, the current time will be used. - Timestamp *timestamp.Timestamp `protobuf:"bytes,11,opt,name=timestamp,proto3" json:"timestamp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Timestamp *timestamp.Timestamp `protobuf:"bytes,11,opt,name=timestamp,proto3" json:"timestamp,omitempty"` } -func (m *UserCommitFilesRequestHeader) Reset() { *m = UserCommitFilesRequestHeader{} } -func (m *UserCommitFilesRequestHeader) String() string { return proto.CompactTextString(m) } -func (*UserCommitFilesRequestHeader) ProtoMessage() {} -func (*UserCommitFilesRequestHeader) Descriptor() ([]byte, []int) { - return fileDescriptor_1b4a5877375e491e, []int{23} +func (x *UserCommitFilesRequestHeader) Reset() { + *x = UserCommitFilesRequestHeader{} + if protoimpl.UnsafeEnabled { + mi := &file_operations_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UserCommitFilesRequestHeader) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserCommitFilesRequestHeader.Unmarshal(m, b) -} -func (m *UserCommitFilesRequestHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserCommitFilesRequestHeader.Marshal(b, m, deterministic) +func (x *UserCommitFilesRequestHeader) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UserCommitFilesRequestHeader) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserCommitFilesRequestHeader.Merge(m, src) -} -func (m *UserCommitFilesRequestHeader) XXX_Size() int { - return xxx_messageInfo_UserCommitFilesRequestHeader.Size(m) -} -func (m *UserCommitFilesRequestHeader) XXX_DiscardUnknown() { - xxx_messageInfo_UserCommitFilesRequestHeader.DiscardUnknown(m) + +func (*UserCommitFilesRequestHeader) ProtoMessage() {} + +func (x *UserCommitFilesRequestHeader) ProtoReflect() protoreflect.Message { + mi := &file_operations_proto_msgTypes[23] + 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_UserCommitFilesRequestHeader proto.InternalMessageInfo +// Deprecated: Use UserCommitFilesRequestHeader.ProtoReflect.Descriptor instead. +func (*UserCommitFilesRequestHeader) Descriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{23} +} -func (m *UserCommitFilesRequestHeader) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *UserCommitFilesRequestHeader) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *UserCommitFilesRequestHeader) GetUser() *User { - if m != nil { - return m.User +func (x *UserCommitFilesRequestHeader) GetUser() *User { + if x != nil { + return x.User } return nil } -func (m *UserCommitFilesRequestHeader) GetBranchName() []byte { - if m != nil { - return m.BranchName +func (x *UserCommitFilesRequestHeader) GetBranchName() []byte { + if x != nil { + return x.BranchName } return nil } -func (m *UserCommitFilesRequestHeader) GetCommitMessage() []byte { - if m != nil { - return m.CommitMessage +func (x *UserCommitFilesRequestHeader) GetCommitMessage() []byte { + if x != nil { + return x.CommitMessage } return nil } -func (m *UserCommitFilesRequestHeader) GetCommitAuthorName() []byte { - if m != nil { - return m.CommitAuthorName +func (x *UserCommitFilesRequestHeader) GetCommitAuthorName() []byte { + if x != nil { + return x.CommitAuthorName } return nil } -func (m *UserCommitFilesRequestHeader) GetCommitAuthorEmail() []byte { - if m != nil { - return m.CommitAuthorEmail +func (x *UserCommitFilesRequestHeader) GetCommitAuthorEmail() []byte { + if x != nil { + return x.CommitAuthorEmail } return nil } -func (m *UserCommitFilesRequestHeader) GetStartBranchName() []byte { - if m != nil { - return m.StartBranchName +func (x *UserCommitFilesRequestHeader) GetStartBranchName() []byte { + if x != nil { + return x.StartBranchName } return nil } -func (m *UserCommitFilesRequestHeader) GetStartRepository() *Repository { - if m != nil { - return m.StartRepository +func (x *UserCommitFilesRequestHeader) GetStartRepository() *Repository { + if x != nil { + return x.StartRepository } return nil } -func (m *UserCommitFilesRequestHeader) GetForce() bool { - if m != nil { - return m.Force +func (x *UserCommitFilesRequestHeader) GetForce() bool { + if x != nil { + return x.Force } return false } -func (m *UserCommitFilesRequestHeader) GetStartSha() string { - if m != nil { - return m.StartSha +func (x *UserCommitFilesRequestHeader) GetStartSha() string { + if x != nil { + return x.StartSha } return "" } -func (m *UserCommitFilesRequestHeader) GetTimestamp() *timestamp.Timestamp { - if m != nil { - return m.Timestamp +func (x *UserCommitFilesRequestHeader) GetTimestamp() *timestamp.Timestamp { + if x != nil { + return x.Timestamp } return nil } // UserCommitFiles is the request of UserCommitFiles. type UserCommitFilesRequest struct { - // Types that are valid to be assigned to UserCommitFilesRequestPayload: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to UserCommitFilesRequestPayload: // *UserCommitFilesRequest_Header // *UserCommitFilesRequest_Action UserCommitFilesRequestPayload isUserCommitFilesRequest_UserCommitFilesRequestPayload `protobuf_oneof:"user_commit_files_request_payload"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` } -func (m *UserCommitFilesRequest) Reset() { *m = UserCommitFilesRequest{} } -func (m *UserCommitFilesRequest) String() string { return proto.CompactTextString(m) } -func (*UserCommitFilesRequest) ProtoMessage() {} -func (*UserCommitFilesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_1b4a5877375e491e, []int{24} +func (x *UserCommitFilesRequest) Reset() { + *x = UserCommitFilesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_operations_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UserCommitFilesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserCommitFilesRequest.Unmarshal(m, b) -} -func (m *UserCommitFilesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserCommitFilesRequest.Marshal(b, m, deterministic) -} -func (m *UserCommitFilesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserCommitFilesRequest.Merge(m, src) -} -func (m *UserCommitFilesRequest) XXX_Size() int { - return xxx_messageInfo_UserCommitFilesRequest.Size(m) -} -func (m *UserCommitFilesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UserCommitFilesRequest.DiscardUnknown(m) +func (x *UserCommitFilesRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_UserCommitFilesRequest proto.InternalMessageInfo +func (*UserCommitFilesRequest) ProtoMessage() {} -type isUserCommitFilesRequest_UserCommitFilesRequestPayload interface { - isUserCommitFilesRequest_UserCommitFilesRequestPayload() -} - -type UserCommitFilesRequest_Header struct { - Header *UserCommitFilesRequestHeader `protobuf:"bytes,1,opt,name=header,proto3,oneof"` +func (x *UserCommitFilesRequest) ProtoReflect() protoreflect.Message { + mi := &file_operations_proto_msgTypes[24] + 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 UserCommitFilesRequest_Action struct { - Action *UserCommitFilesAction `protobuf:"bytes,2,opt,name=action,proto3,oneof"` +// Deprecated: Use UserCommitFilesRequest.ProtoReflect.Descriptor instead. +func (*UserCommitFilesRequest) Descriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{24} } -func (*UserCommitFilesRequest_Header) isUserCommitFilesRequest_UserCommitFilesRequestPayload() {} - -func (*UserCommitFilesRequest_Action) isUserCommitFilesRequest_UserCommitFilesRequestPayload() {} - func (m *UserCommitFilesRequest) GetUserCommitFilesRequestPayload() isUserCommitFilesRequest_UserCommitFilesRequestPayload { if m != nil { return m.UserCommitFilesRequestPayload @@ -1972,139 +2220,148 @@ func (m *UserCommitFilesRequest) GetUserCommitFilesRequestPayload() isUserCommit return nil } -func (m *UserCommitFilesRequest) GetHeader() *UserCommitFilesRequestHeader { - if x, ok := m.GetUserCommitFilesRequestPayload().(*UserCommitFilesRequest_Header); ok { +func (x *UserCommitFilesRequest) GetHeader() *UserCommitFilesRequestHeader { + if x, ok := x.GetUserCommitFilesRequestPayload().(*UserCommitFilesRequest_Header); ok { return x.Header } return nil } -func (m *UserCommitFilesRequest) GetAction() *UserCommitFilesAction { - if x, ok := m.GetUserCommitFilesRequestPayload().(*UserCommitFilesRequest_Action); ok { +func (x *UserCommitFilesRequest) GetAction() *UserCommitFilesAction { + if x, ok := x.GetUserCommitFilesRequestPayload().(*UserCommitFilesRequest_Action); ok { return x.Action } return nil } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*UserCommitFilesRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*UserCommitFilesRequest_Header)(nil), - (*UserCommitFilesRequest_Action)(nil), - } +type isUserCommitFilesRequest_UserCommitFilesRequestPayload interface { + isUserCommitFilesRequest_UserCommitFilesRequestPayload() } +type UserCommitFilesRequest_Header struct { + // header defines the details of where to comnit, the details and which commit to use as the parent. + // header must always be sent as the first request of the stream. + Header *UserCommitFilesRequestHeader `protobuf:"bytes,1,opt,name=header,proto3,oneof"` +} + +type UserCommitFilesRequest_Action struct { + // action contains an action to build a commit. There can be multiple actions per stream. + Action *UserCommitFilesAction `protobuf:"bytes,2,opt,name=action,proto3,oneof"` +} + +func (*UserCommitFilesRequest_Header) isUserCommitFilesRequest_UserCommitFilesRequestPayload() {} + +func (*UserCommitFilesRequest_Action) isUserCommitFilesRequest_UserCommitFilesRequestPayload() {} + // UserCommitFilesResponse is the response object of UserCommitFiles. type UserCommitFilesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // branch_update contains the details of the commit and the branch update. BranchUpdate *OperationBranchUpdate `protobuf:"bytes,1,opt,name=branch_update,json=branchUpdate,proto3" json:"branch_update,omitempty"` // index_error is set to the error message when an invalid action was attempted, such as // trying to create a file that already existed. IndexError string `protobuf:"bytes,2,opt,name=index_error,json=indexError,proto3" json:"index_error,omitempty"` // pre_receive_error is set when the pre-receive hook errored. - PreReceiveError string `protobuf:"bytes,3,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + PreReceiveError string `protobuf:"bytes,3,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"` } -func (m *UserCommitFilesResponse) Reset() { *m = UserCommitFilesResponse{} } -func (m *UserCommitFilesResponse) String() string { return proto.CompactTextString(m) } -func (*UserCommitFilesResponse) ProtoMessage() {} -func (*UserCommitFilesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_1b4a5877375e491e, []int{25} +func (x *UserCommitFilesResponse) Reset() { + *x = UserCommitFilesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_operations_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UserCommitFilesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserCommitFilesResponse.Unmarshal(m, b) +func (x *UserCommitFilesResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UserCommitFilesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserCommitFilesResponse.Marshal(b, m, deterministic) -} -func (m *UserCommitFilesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserCommitFilesResponse.Merge(m, src) -} -func (m *UserCommitFilesResponse) XXX_Size() int { - return xxx_messageInfo_UserCommitFilesResponse.Size(m) -} -func (m *UserCommitFilesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_UserCommitFilesResponse.DiscardUnknown(m) + +func (*UserCommitFilesResponse) ProtoMessage() {} + +func (x *UserCommitFilesResponse) ProtoReflect() protoreflect.Message { + mi := &file_operations_proto_msgTypes[25] + 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_UserCommitFilesResponse proto.InternalMessageInfo +// Deprecated: Use UserCommitFilesResponse.ProtoReflect.Descriptor instead. +func (*UserCommitFilesResponse) Descriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{25} +} -func (m *UserCommitFilesResponse) GetBranchUpdate() *OperationBranchUpdate { - if m != nil { - return m.BranchUpdate +func (x *UserCommitFilesResponse) GetBranchUpdate() *OperationBranchUpdate { + if x != nil { + return x.BranchUpdate } return nil } -func (m *UserCommitFilesResponse) GetIndexError() string { - if m != nil { - return m.IndexError +func (x *UserCommitFilesResponse) GetIndexError() string { + if x != nil { + return x.IndexError } return "" } -func (m *UserCommitFilesResponse) GetPreReceiveError() string { - if m != nil { - return m.PreReceiveError +func (x *UserCommitFilesResponse) GetPreReceiveError() string { + if x != nil { + return x.PreReceiveError } return "" } type UserRebaseConfirmableRequest struct { - // Types that are valid to be assigned to UserRebaseConfirmableRequestPayload: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to UserRebaseConfirmableRequestPayload: // *UserRebaseConfirmableRequest_Header_ // *UserRebaseConfirmableRequest_Apply UserRebaseConfirmableRequestPayload isUserRebaseConfirmableRequest_UserRebaseConfirmableRequestPayload `protobuf_oneof:"user_rebase_confirmable_request_payload"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UserRebaseConfirmableRequest) Reset() { *m = UserRebaseConfirmableRequest{} } -func (m *UserRebaseConfirmableRequest) String() string { return proto.CompactTextString(m) } -func (*UserRebaseConfirmableRequest) ProtoMessage() {} -func (*UserRebaseConfirmableRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_1b4a5877375e491e, []int{26} } -func (m *UserRebaseConfirmableRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserRebaseConfirmableRequest.Unmarshal(m, b) -} -func (m *UserRebaseConfirmableRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserRebaseConfirmableRequest.Marshal(b, m, deterministic) -} -func (m *UserRebaseConfirmableRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserRebaseConfirmableRequest.Merge(m, src) -} -func (m *UserRebaseConfirmableRequest) XXX_Size() int { - return xxx_messageInfo_UserRebaseConfirmableRequest.Size(m) -} -func (m *UserRebaseConfirmableRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UserRebaseConfirmableRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UserRebaseConfirmableRequest proto.InternalMessageInfo - -type isUserRebaseConfirmableRequest_UserRebaseConfirmableRequestPayload interface { - isUserRebaseConfirmableRequest_UserRebaseConfirmableRequestPayload() +func (x *UserRebaseConfirmableRequest) Reset() { + *x = UserRebaseConfirmableRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_operations_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -type UserRebaseConfirmableRequest_Header_ struct { - Header *UserRebaseConfirmableRequest_Header `protobuf:"bytes,1,opt,name=header,proto3,oneof"` +func (x *UserRebaseConfirmableRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -type UserRebaseConfirmableRequest_Apply struct { - Apply bool `protobuf:"varint,2,opt,name=apply,proto3,oneof"` -} +func (*UserRebaseConfirmableRequest) ProtoMessage() {} -func (*UserRebaseConfirmableRequest_Header_) isUserRebaseConfirmableRequest_UserRebaseConfirmableRequestPayload() { +func (x *UserRebaseConfirmableRequest) ProtoReflect() protoreflect.Message { + mi := &file_operations_proto_msgTypes[26] + 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 (*UserRebaseConfirmableRequest_Apply) isUserRebaseConfirmableRequest_UserRebaseConfirmableRequestPayload() { +// Deprecated: Use UserRebaseConfirmableRequest.ProtoReflect.Descriptor instead. +func (*UserRebaseConfirmableRequest) Descriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{26} } func (m *UserRebaseConfirmableRequest) GetUserRebaseConfirmableRequestPayload() isUserRebaseConfirmableRequest_UserRebaseConfirmableRequestPayload { @@ -2114,154 +2371,48 @@ func (m *UserRebaseConfirmableRequest) GetUserRebaseConfirmableRequestPayload() return nil } -func (m *UserRebaseConfirmableRequest) GetHeader() *UserRebaseConfirmableRequest_Header { - if x, ok := m.GetUserRebaseConfirmableRequestPayload().(*UserRebaseConfirmableRequest_Header_); ok { +func (x *UserRebaseConfirmableRequest) GetHeader() *UserRebaseConfirmableRequest_Header { + if x, ok := x.GetUserRebaseConfirmableRequestPayload().(*UserRebaseConfirmableRequest_Header_); ok { return x.Header } return nil } -func (m *UserRebaseConfirmableRequest) GetApply() bool { - if x, ok := m.GetUserRebaseConfirmableRequestPayload().(*UserRebaseConfirmableRequest_Apply); ok { +func (x *UserRebaseConfirmableRequest) GetApply() bool { + if x, ok := x.GetUserRebaseConfirmableRequestPayload().(*UserRebaseConfirmableRequest_Apply); ok { return x.Apply } return false } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*UserRebaseConfirmableRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*UserRebaseConfirmableRequest_Header_)(nil), - (*UserRebaseConfirmableRequest_Apply)(nil), - } -} - -// Header contains information to compute the rebase and must be sent as -// first message. -type UserRebaseConfirmableRequest_Header struct { - // repository is the repository in which the rebase will be computed and - // applied. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // user is the user to compute the rebase as. It will be used as - // "committer" of rebased commits. - User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` - // rebase_id is an ID which uniquely identifies the rebase. Internally, it - // is used to identify the worktree in which the rebase shall be computed. - // There cannot be two concurrent calls using the same rebase_id. - RebaseId string `protobuf:"bytes,3,opt,name=rebase_id,json=rebaseId,proto3" json:"rebase_id,omitempty"` - // branch is the branch onto which the rebase shall happen. - Branch []byte `protobuf:"bytes,4,opt,name=branch,proto3" json:"branch,omitempty"` - // branch_sha is the expected object ID which branch currently points to. - // This is used as a safety guard to avoid races when branch has been - // updated meanwhile. - BranchSha string `protobuf:"bytes,5,opt,name=branch_sha,json=branchSha,proto3" json:"branch_sha,omitempty"` - // remote_repository is the repository which contains the branch which - // shall be rebased onto the local branch. - RemoteRepository *Repository `protobuf:"bytes,6,opt,name=remote_repository,json=remoteRepository,proto3" json:"remote_repository,omitempty"` - // remote_branch contains the branch name which shall re rebased onto the - // local branch. - RemoteBranch []byte `protobuf:"bytes,7,opt,name=remote_branch,json=remoteBranch,proto3" json:"remote_branch,omitempty"` - // git_push_options contain options which shall be passed to the git hooks - // when the local branch gets updated. - GitPushOptions []string `protobuf:"bytes,8,rep,name=git_push_options,json=gitPushOptions,proto3" json:"git_push_options,omitempty"` - // timestamp is the optional timestamp to use for the rebased commits as - // committer date. If it's not set, the current time will be used. - Timestamp *timestamp.Timestamp `protobuf:"bytes,9,opt,name=timestamp,proto3" json:"timestamp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UserRebaseConfirmableRequest_Header) Reset() { *m = UserRebaseConfirmableRequest_Header{} } -func (m *UserRebaseConfirmableRequest_Header) String() string { return proto.CompactTextString(m) } -func (*UserRebaseConfirmableRequest_Header) ProtoMessage() {} -func (*UserRebaseConfirmableRequest_Header) Descriptor() ([]byte, []int) { - return fileDescriptor_1b4a5877375e491e, []int{26, 0} -} - -func (m *UserRebaseConfirmableRequest_Header) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserRebaseConfirmableRequest_Header.Unmarshal(m, b) -} -func (m *UserRebaseConfirmableRequest_Header) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserRebaseConfirmableRequest_Header.Marshal(b, m, deterministic) -} -func (m *UserRebaseConfirmableRequest_Header) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserRebaseConfirmableRequest_Header.Merge(m, src) -} -func (m *UserRebaseConfirmableRequest_Header) XXX_Size() int { - return xxx_messageInfo_UserRebaseConfirmableRequest_Header.Size(m) -} -func (m *UserRebaseConfirmableRequest_Header) XXX_DiscardUnknown() { - xxx_messageInfo_UserRebaseConfirmableRequest_Header.DiscardUnknown(m) -} - -var xxx_messageInfo_UserRebaseConfirmableRequest_Header proto.InternalMessageInfo - -func (m *UserRebaseConfirmableRequest_Header) GetRepository() *Repository { - if m != nil { - return m.Repository - } - return nil -} - -func (m *UserRebaseConfirmableRequest_Header) GetUser() *User { - if m != nil { - return m.User - } - return nil -} - -func (m *UserRebaseConfirmableRequest_Header) GetRebaseId() string { - if m != nil { - return m.RebaseId - } - return "" -} - -func (m *UserRebaseConfirmableRequest_Header) GetBranch() []byte { - if m != nil { - return m.Branch - } - return nil -} - -func (m *UserRebaseConfirmableRequest_Header) GetBranchSha() string { - if m != nil { - return m.BranchSha - } - return "" +type isUserRebaseConfirmableRequest_UserRebaseConfirmableRequestPayload interface { + isUserRebaseConfirmableRequest_UserRebaseConfirmableRequestPayload() } -func (m *UserRebaseConfirmableRequest_Header) GetRemoteRepository() *Repository { - if m != nil { - return m.RemoteRepository - } - return nil +type UserRebaseConfirmableRequest_Header_ struct { + // For each request stream there must be first a request with a header + // containing details about the rebase to perform. + Header *UserRebaseConfirmableRequest_Header `protobuf:"bytes,1,opt,name=header,proto3,oneof"` } -func (m *UserRebaseConfirmableRequest_Header) GetRemoteBranch() []byte { - if m != nil { - return m.RemoteBranch - } - return nil +type UserRebaseConfirmableRequest_Apply struct { + // A second request must be made to confirm that the rebase should + // be applied to the branch. + Apply bool `protobuf:"varint,2,opt,name=apply,proto3,oneof"` } -func (m *UserRebaseConfirmableRequest_Header) GetGitPushOptions() []string { - if m != nil { - return m.GitPushOptions - } - return nil +func (*UserRebaseConfirmableRequest_Header_) isUserRebaseConfirmableRequest_UserRebaseConfirmableRequestPayload() { } -func (m *UserRebaseConfirmableRequest_Header) GetTimestamp() *timestamp.Timestamp { - if m != nil { - return m.Timestamp - } - return nil +func (*UserRebaseConfirmableRequest_Apply) isUserRebaseConfirmableRequest_UserRebaseConfirmableRequestPayload() { } type UserRebaseConfirmableResponse struct { - // Types that are valid to be assigned to UserRebaseConfirmableResponsePayload: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to UserRebaseConfirmableResponsePayload: // *UserRebaseConfirmableResponse_RebaseSha // *UserRebaseConfirmableResponse_RebaseApplied UserRebaseConfirmableResponsePayload isUserRebaseConfirmableResponse_UserRebaseConfirmableResponsePayload `protobuf_oneof:"user_rebase_confirmable_response_payload"` @@ -2269,53 +2420,39 @@ type UserRebaseConfirmableResponse struct { // of an error raised by hooks. PreReceiveError string `protobuf:"bytes,3,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"` // git_error contains an error message if git operations have failed. - GitError string `protobuf:"bytes,4,opt,name=git_error,json=gitError,proto3" json:"git_error,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *UserRebaseConfirmableResponse) Reset() { *m = UserRebaseConfirmableResponse{} } -func (m *UserRebaseConfirmableResponse) String() string { return proto.CompactTextString(m) } -func (*UserRebaseConfirmableResponse) ProtoMessage() {} -func (*UserRebaseConfirmableResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_1b4a5877375e491e, []int{27} -} - -func (m *UserRebaseConfirmableResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserRebaseConfirmableResponse.Unmarshal(m, b) -} -func (m *UserRebaseConfirmableResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserRebaseConfirmableResponse.Marshal(b, m, deterministic) -} -func (m *UserRebaseConfirmableResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserRebaseConfirmableResponse.Merge(m, src) -} -func (m *UserRebaseConfirmableResponse) XXX_Size() int { - return xxx_messageInfo_UserRebaseConfirmableResponse.Size(m) + GitError string `protobuf:"bytes,4,opt,name=git_error,json=gitError,proto3" json:"git_error,omitempty"` } -func (m *UserRebaseConfirmableResponse) XXX_DiscardUnknown() { - xxx_messageInfo_UserRebaseConfirmableResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_UserRebaseConfirmableResponse proto.InternalMessageInfo -type isUserRebaseConfirmableResponse_UserRebaseConfirmableResponsePayload interface { - isUserRebaseConfirmableResponse_UserRebaseConfirmableResponsePayload() +func (x *UserRebaseConfirmableResponse) Reset() { + *x = UserRebaseConfirmableResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_operations_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -type UserRebaseConfirmableResponse_RebaseSha struct { - RebaseSha string `protobuf:"bytes,1,opt,name=rebase_sha,json=rebaseSha,proto3,oneof"` +func (x *UserRebaseConfirmableResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -type UserRebaseConfirmableResponse_RebaseApplied struct { - RebaseApplied bool `protobuf:"varint,2,opt,name=rebase_applied,json=rebaseApplied,proto3,oneof"` -} +func (*UserRebaseConfirmableResponse) ProtoMessage() {} -func (*UserRebaseConfirmableResponse_RebaseSha) isUserRebaseConfirmableResponse_UserRebaseConfirmableResponsePayload() { +func (x *UserRebaseConfirmableResponse) ProtoReflect() protoreflect.Message { + mi := &file_operations_proto_msgTypes[27] + 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 (*UserRebaseConfirmableResponse_RebaseApplied) isUserRebaseConfirmableResponse_UserRebaseConfirmableResponsePayload() { +// Deprecated: Use UserRebaseConfirmableResponse.ProtoReflect.Descriptor instead. +func (*UserRebaseConfirmableResponse) Descriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{27} } func (m *UserRebaseConfirmableResponse) GetUserRebaseConfirmableResponsePayload() isUserRebaseConfirmableResponse_UserRebaseConfirmableResponsePayload { @@ -2325,43 +2462,61 @@ func (m *UserRebaseConfirmableResponse) GetUserRebaseConfirmableResponsePayload( return nil } -func (m *UserRebaseConfirmableResponse) GetRebaseSha() string { - if x, ok := m.GetUserRebaseConfirmableResponsePayload().(*UserRebaseConfirmableResponse_RebaseSha); ok { +func (x *UserRebaseConfirmableResponse) GetRebaseSha() string { + if x, ok := x.GetUserRebaseConfirmableResponsePayload().(*UserRebaseConfirmableResponse_RebaseSha); ok { return x.RebaseSha } return "" } -func (m *UserRebaseConfirmableResponse) GetRebaseApplied() bool { - if x, ok := m.GetUserRebaseConfirmableResponsePayload().(*UserRebaseConfirmableResponse_RebaseApplied); ok { +func (x *UserRebaseConfirmableResponse) GetRebaseApplied() bool { + if x, ok := x.GetUserRebaseConfirmableResponsePayload().(*UserRebaseConfirmableResponse_RebaseApplied); ok { return x.RebaseApplied } return false } -func (m *UserRebaseConfirmableResponse) GetPreReceiveError() string { - if m != nil { - return m.PreReceiveError +func (x *UserRebaseConfirmableResponse) GetPreReceiveError() string { + if x != nil { + return x.PreReceiveError } return "" } -func (m *UserRebaseConfirmableResponse) GetGitError() string { - if m != nil { - return m.GitError +func (x *UserRebaseConfirmableResponse) GetGitError() string { + if x != nil { + return x.GitError } return "" } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*UserRebaseConfirmableResponse) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*UserRebaseConfirmableResponse_RebaseSha)(nil), - (*UserRebaseConfirmableResponse_RebaseApplied)(nil), - } +type isUserRebaseConfirmableResponse_UserRebaseConfirmableResponsePayload interface { + isUserRebaseConfirmableResponse_UserRebaseConfirmableResponsePayload() +} + +type UserRebaseConfirmableResponse_RebaseSha struct { + // The first response will contain the rebase commit the branch will + // be updated to. The caller can still abort the rebase. + RebaseSha string `protobuf:"bytes,1,opt,name=rebase_sha,json=rebaseSha,proto3,oneof"` +} + +type UserRebaseConfirmableResponse_RebaseApplied struct { + // The second response confirms that the rebase has been applied to + // the branch. + RebaseApplied bool `protobuf:"varint,2,opt,name=rebase_applied,json=rebaseApplied,proto3,oneof"` +} + +func (*UserRebaseConfirmableResponse_RebaseSha) isUserRebaseConfirmableResponse_UserRebaseConfirmableResponsePayload() { +} + +func (*UserRebaseConfirmableResponse_RebaseApplied) isUserRebaseConfirmableResponse_UserRebaseConfirmableResponsePayload() { } type UserSquashRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // repository is the repository into which the squashed commit shall be // written. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` @@ -2383,185 +2538,229 @@ type UserSquashRequest struct { CommitMessage []byte `protobuf:"bytes,8,opt,name=commit_message,json=commitMessage,proto3" json:"commit_message,omitempty"` // timestamp is the optional timestamp to use for the squashed commit as // committer date. If it's not set, the current time will be used. - Timestamp *timestamp.Timestamp `protobuf:"bytes,9,opt,name=timestamp,proto3" json:"timestamp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Timestamp *timestamp.Timestamp `protobuf:"bytes,9,opt,name=timestamp,proto3" json:"timestamp,omitempty"` } -func (m *UserSquashRequest) Reset() { *m = UserSquashRequest{} } -func (m *UserSquashRequest) String() string { return proto.CompactTextString(m) } -func (*UserSquashRequest) ProtoMessage() {} -func (*UserSquashRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_1b4a5877375e491e, []int{28} +func (x *UserSquashRequest) Reset() { + *x = UserSquashRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_operations_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UserSquashRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserSquashRequest.Unmarshal(m, b) -} -func (m *UserSquashRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserSquashRequest.Marshal(b, m, deterministic) +func (x *UserSquashRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UserSquashRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserSquashRequest.Merge(m, src) -} -func (m *UserSquashRequest) XXX_Size() int { - return xxx_messageInfo_UserSquashRequest.Size(m) -} -func (m *UserSquashRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UserSquashRequest.DiscardUnknown(m) + +func (*UserSquashRequest) ProtoMessage() {} + +func (x *UserSquashRequest) ProtoReflect() protoreflect.Message { + mi := &file_operations_proto_msgTypes[28] + 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_UserSquashRequest proto.InternalMessageInfo +// Deprecated: Use UserSquashRequest.ProtoReflect.Descriptor instead. +func (*UserSquashRequest) Descriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{28} +} -func (m *UserSquashRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *UserSquashRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *UserSquashRequest) GetUser() *User { - if m != nil { - return m.User +func (x *UserSquashRequest) GetUser() *User { + if x != nil { + return x.User } return nil } -func (m *UserSquashRequest) GetSquashId() string { - if m != nil { - return m.SquashId +func (x *UserSquashRequest) GetSquashId() string { + if x != nil { + return x.SquashId } return "" } -func (m *UserSquashRequest) GetStartSha() string { - if m != nil { - return m.StartSha +func (x *UserSquashRequest) GetStartSha() string { + if x != nil { + return x.StartSha } return "" } -func (m *UserSquashRequest) GetEndSha() string { - if m != nil { - return m.EndSha +func (x *UserSquashRequest) GetEndSha() string { + if x != nil { + return x.EndSha } return "" } -func (m *UserSquashRequest) GetAuthor() *User { - if m != nil { - return m.Author +func (x *UserSquashRequest) GetAuthor() *User { + if x != nil { + return x.Author } return nil } -func (m *UserSquashRequest) GetCommitMessage() []byte { - if m != nil { - return m.CommitMessage +func (x *UserSquashRequest) GetCommitMessage() []byte { + if x != nil { + return x.CommitMessage } return nil } -func (m *UserSquashRequest) GetTimestamp() *timestamp.Timestamp { - if m != nil { - return m.Timestamp +func (x *UserSquashRequest) GetTimestamp() *timestamp.Timestamp { + if x != nil { + return x.Timestamp } return nil } type UserSquashResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // squash_sha is the object ID of the squashed commit. - SquashSha string `protobuf:"bytes,1,opt,name=squash_sha,json=squashSha,proto3" json:"squash_sha,omitempty"` - GitError string `protobuf:"bytes,3,opt,name=git_error,json=gitError,proto3" json:"git_error,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + SquashSha string `protobuf:"bytes,1,opt,name=squash_sha,json=squashSha,proto3" json:"squash_sha,omitempty"` + GitError string `protobuf:"bytes,3,opt,name=git_error,json=gitError,proto3" json:"git_error,omitempty"` } -func (m *UserSquashResponse) Reset() { *m = UserSquashResponse{} } -func (m *UserSquashResponse) String() string { return proto.CompactTextString(m) } -func (*UserSquashResponse) ProtoMessage() {} -func (*UserSquashResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_1b4a5877375e491e, []int{29} +func (x *UserSquashResponse) Reset() { + *x = UserSquashResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_operations_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UserSquashResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserSquashResponse.Unmarshal(m, b) -} -func (m *UserSquashResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserSquashResponse.Marshal(b, m, deterministic) -} -func (m *UserSquashResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserSquashResponse.Merge(m, src) -} -func (m *UserSquashResponse) XXX_Size() int { - return xxx_messageInfo_UserSquashResponse.Size(m) +func (x *UserSquashResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UserSquashResponse) XXX_DiscardUnknown() { - xxx_messageInfo_UserSquashResponse.DiscardUnknown(m) + +func (*UserSquashResponse) ProtoMessage() {} + +func (x *UserSquashResponse) ProtoReflect() protoreflect.Message { + mi := &file_operations_proto_msgTypes[29] + 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_UserSquashResponse proto.InternalMessageInfo +// Deprecated: Use UserSquashResponse.ProtoReflect.Descriptor instead. +func (*UserSquashResponse) Descriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{29} +} -func (m *UserSquashResponse) GetSquashSha() string { - if m != nil { - return m.SquashSha +func (x *UserSquashResponse) GetSquashSha() string { + if x != nil { + return x.SquashSha } return "" } -func (m *UserSquashResponse) GetGitError() string { - if m != nil { - return m.GitError +func (x *UserSquashResponse) GetGitError() string { + if x != nil { + return x.GitError } return "" } type UserApplyPatchRequest struct { - // Types that are valid to be assigned to UserApplyPatchRequestPayload: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to UserApplyPatchRequestPayload: // *UserApplyPatchRequest_Header_ // *UserApplyPatchRequest_Patches UserApplyPatchRequestPayload isUserApplyPatchRequest_UserApplyPatchRequestPayload `protobuf_oneof:"user_apply_patch_request_payload"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` } -func (m *UserApplyPatchRequest) Reset() { *m = UserApplyPatchRequest{} } -func (m *UserApplyPatchRequest) String() string { return proto.CompactTextString(m) } -func (*UserApplyPatchRequest) ProtoMessage() {} -func (*UserApplyPatchRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_1b4a5877375e491e, []int{30} +func (x *UserApplyPatchRequest) Reset() { + *x = UserApplyPatchRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_operations_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UserApplyPatchRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserApplyPatchRequest.Unmarshal(m, b) +func (x *UserApplyPatchRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UserApplyPatchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserApplyPatchRequest.Marshal(b, m, deterministic) + +func (*UserApplyPatchRequest) ProtoMessage() {} + +func (x *UserApplyPatchRequest) ProtoReflect() protoreflect.Message { + mi := &file_operations_proto_msgTypes[30] + 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 *UserApplyPatchRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserApplyPatchRequest.Merge(m, src) + +// Deprecated: Use UserApplyPatchRequest.ProtoReflect.Descriptor instead. +func (*UserApplyPatchRequest) Descriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{30} } -func (m *UserApplyPatchRequest) XXX_Size() int { - return xxx_messageInfo_UserApplyPatchRequest.Size(m) + +func (m *UserApplyPatchRequest) GetUserApplyPatchRequestPayload() isUserApplyPatchRequest_UserApplyPatchRequestPayload { + if m != nil { + return m.UserApplyPatchRequestPayload + } + return nil } -func (m *UserApplyPatchRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UserApplyPatchRequest.DiscardUnknown(m) + +func (x *UserApplyPatchRequest) GetHeader() *UserApplyPatchRequest_Header { + if x, ok := x.GetUserApplyPatchRequestPayload().(*UserApplyPatchRequest_Header_); ok { + return x.Header + } + return nil } -var xxx_messageInfo_UserApplyPatchRequest proto.InternalMessageInfo +func (x *UserApplyPatchRequest) GetPatches() []byte { + if x, ok := x.GetUserApplyPatchRequestPayload().(*UserApplyPatchRequest_Patches); ok { + return x.Patches + } + return nil +} type isUserApplyPatchRequest_UserApplyPatchRequestPayload interface { isUserApplyPatchRequest_UserApplyPatchRequestPayload() } type UserApplyPatchRequest_Header_ struct { + // header must be sent as the first message and contains information about + // how to apply the patches. Header *UserApplyPatchRequest_Header `protobuf:"bytes,1,opt,name=header,proto3,oneof"` } type UserApplyPatchRequest_Patches struct { + // patches contains the patch data. Patches []byte `protobuf:"bytes,2,opt,name=patches,proto3,oneof"` } @@ -2569,496 +2768,1683 @@ func (*UserApplyPatchRequest_Header_) isUserApplyPatchRequest_UserApplyPatchRequ func (*UserApplyPatchRequest_Patches) isUserApplyPatchRequest_UserApplyPatchRequestPayload() {} -func (m *UserApplyPatchRequest) GetUserApplyPatchRequestPayload() isUserApplyPatchRequest_UserApplyPatchRequestPayload { - if m != nil { - return m.UserApplyPatchRequestPayload - } - return nil +type UserApplyPatchResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // branch_update contains information about the updated branch. + BranchUpdate *OperationBranchUpdate `protobuf:"bytes,1,opt,name=branch_update,json=branchUpdate,proto3" json:"branch_update,omitempty"` } -func (m *UserApplyPatchRequest) GetHeader() *UserApplyPatchRequest_Header { - if x, ok := m.GetUserApplyPatchRequestPayload().(*UserApplyPatchRequest_Header_); ok { - return x.Header +func (x *UserApplyPatchResponse) Reset() { + *x = UserApplyPatchResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_operations_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return nil } -func (m *UserApplyPatchRequest) GetPatches() []byte { - if x, ok := m.GetUserApplyPatchRequestPayload().(*UserApplyPatchRequest_Patches); ok { - return x.Patches +func (x *UserApplyPatchResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UserApplyPatchResponse) ProtoMessage() {} + +func (x *UserApplyPatchResponse) ProtoReflect() protoreflect.Message { + mi := &file_operations_proto_msgTypes[31] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return nil + return mi.MessageOf(x) } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*UserApplyPatchRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*UserApplyPatchRequest_Header_)(nil), - (*UserApplyPatchRequest_Patches)(nil), +// Deprecated: Use UserApplyPatchResponse.ProtoReflect.Descriptor instead. +func (*UserApplyPatchResponse) Descriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{31} +} + +func (x *UserApplyPatchResponse) GetBranchUpdate() *OperationBranchUpdate { + if x != nil { + return x.BranchUpdate } + return nil } -// Header contains information about how to apply the patches. -type UserApplyPatchRequest_Header struct { - // repository is the repository to which the patches shall be applied to. +type UserUpdateSubmoduleRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // repository is the repository in which the submodule shall be updated. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // user is used for authentication. + // user is used both for authorization and as author/committer of the + // resulting commit. User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` - // target_branch is the branch onto which the patches shall be applied. - TargetBranch []byte `protobuf:"bytes,3,opt,name=target_branch,json=targetBranch,proto3" json:"target_branch,omitempty"` - // timestamp is the optional timestamp to use for the squashed commit as - // committer date. If it's not set, the current time will be used. - Timestamp *timestamp.Timestamp `protobuf:"bytes,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + // commit_sha is the object ID the submodule shall be updated to. + CommitSha string `protobuf:"bytes,3,opt,name=commit_sha,json=commitSha,proto3" json:"commit_sha,omitempty"` + // branch is the branch which shall be updated. This is the unqualified name + // of the branch, it must not have a "refs/heads/" prefix. + Branch []byte `protobuf:"bytes,4,opt,name=branch,proto3" json:"branch,omitempty"` + // submodule is the path to the submodule which shall be updated. + Submodule []byte `protobuf:"bytes,5,opt,name=submodule,proto3" json:"submodule,omitempty"` + // commit_message is the message updating the submodule. + CommitMessage []byte `protobuf:"bytes,6,opt,name=commit_message,json=commitMessage,proto3" json:"commit_message,omitempty"` + // timestamp is the optional timestamp to use for the commit updating the + // submodule as committer date. If it's not set, the current time will be + // used. + Timestamp *timestamp.Timestamp `protobuf:"bytes,7,opt,name=timestamp,proto3" json:"timestamp,omitempty"` } -func (m *UserApplyPatchRequest_Header) Reset() { *m = UserApplyPatchRequest_Header{} } -func (m *UserApplyPatchRequest_Header) String() string { return proto.CompactTextString(m) } -func (*UserApplyPatchRequest_Header) ProtoMessage() {} -func (*UserApplyPatchRequest_Header) Descriptor() ([]byte, []int) { - return fileDescriptor_1b4a5877375e491e, []int{30, 0} +func (x *UserUpdateSubmoduleRequest) Reset() { + *x = UserUpdateSubmoduleRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_operations_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UserApplyPatchRequest_Header) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserApplyPatchRequest_Header.Unmarshal(m, b) +func (x *UserUpdateSubmoduleRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UserApplyPatchRequest_Header) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserApplyPatchRequest_Header.Marshal(b, m, deterministic) + +func (*UserUpdateSubmoduleRequest) ProtoMessage() {} + +func (x *UserUpdateSubmoduleRequest) ProtoReflect() protoreflect.Message { + mi := &file_operations_proto_msgTypes[32] + 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 *UserApplyPatchRequest_Header) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserApplyPatchRequest_Header.Merge(m, src) + +// Deprecated: Use UserUpdateSubmoduleRequest.ProtoReflect.Descriptor instead. +func (*UserUpdateSubmoduleRequest) Descriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{32} } -func (m *UserApplyPatchRequest_Header) XXX_Size() int { - return xxx_messageInfo_UserApplyPatchRequest_Header.Size(m) + +func (x *UserUpdateSubmoduleRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil } -func (m *UserApplyPatchRequest_Header) XXX_DiscardUnknown() { - xxx_messageInfo_UserApplyPatchRequest_Header.DiscardUnknown(m) + +func (x *UserUpdateSubmoduleRequest) GetUser() *User { + if x != nil { + return x.User + } + return nil } -var xxx_messageInfo_UserApplyPatchRequest_Header proto.InternalMessageInfo +func (x *UserUpdateSubmoduleRequest) GetCommitSha() string { + if x != nil { + return x.CommitSha + } + return "" +} -func (m *UserApplyPatchRequest_Header) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *UserUpdateSubmoduleRequest) GetBranch() []byte { + if x != nil { + return x.Branch } return nil } -func (m *UserApplyPatchRequest_Header) GetUser() *User { - if m != nil { - return m.User +func (x *UserUpdateSubmoduleRequest) GetSubmodule() []byte { + if x != nil { + return x.Submodule } return nil } -func (m *UserApplyPatchRequest_Header) GetTargetBranch() []byte { - if m != nil { - return m.TargetBranch +func (x *UserUpdateSubmoduleRequest) GetCommitMessage() []byte { + if x != nil { + return x.CommitMessage } return nil } -func (m *UserApplyPatchRequest_Header) GetTimestamp() *timestamp.Timestamp { - if m != nil { - return m.Timestamp +func (x *UserUpdateSubmoduleRequest) GetTimestamp() *timestamp.Timestamp { + if x != nil { + return x.Timestamp } return nil } -type UserApplyPatchResponse struct { +type UserUpdateSubmoduleResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // branch_update contains information about the updated branch. - BranchUpdate *OperationBranchUpdate `protobuf:"bytes,1,opt,name=branch_update,json=branchUpdate,proto3" json:"branch_update,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + BranchUpdate *OperationBranchUpdate `protobuf:"bytes,1,opt,name=branch_update,json=branchUpdate,proto3" json:"branch_update,omitempty"` + // pre_receive_error contains an error message if the pre-receive hook + // rejects the update. + PreReceiveError string `protobuf:"bytes,2,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"` + // commit_error contains an error message if committing the update fails. + CommitError string `protobuf:"bytes,4,opt,name=commit_error,json=commitError,proto3" json:"commit_error,omitempty"` } -func (m *UserApplyPatchResponse) Reset() { *m = UserApplyPatchResponse{} } -func (m *UserApplyPatchResponse) String() string { return proto.CompactTextString(m) } -func (*UserApplyPatchResponse) ProtoMessage() {} -func (*UserApplyPatchResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_1b4a5877375e491e, []int{31} +func (x *UserUpdateSubmoduleResponse) Reset() { + *x = UserUpdateSubmoduleResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_operations_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UserApplyPatchResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserApplyPatchResponse.Unmarshal(m, b) -} -func (m *UserApplyPatchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserApplyPatchResponse.Marshal(b, m, deterministic) +func (x *UserUpdateSubmoduleResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UserApplyPatchResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserApplyPatchResponse.Merge(m, src) + +func (*UserUpdateSubmoduleResponse) ProtoMessage() {} + +func (x *UserUpdateSubmoduleResponse) ProtoReflect() protoreflect.Message { + mi := &file_operations_proto_msgTypes[33] + 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 *UserApplyPatchResponse) XXX_Size() int { - return xxx_messageInfo_UserApplyPatchResponse.Size(m) + +// Deprecated: Use UserUpdateSubmoduleResponse.ProtoReflect.Descriptor instead. +func (*UserUpdateSubmoduleResponse) Descriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{33} } -func (m *UserApplyPatchResponse) XXX_DiscardUnknown() { - xxx_messageInfo_UserApplyPatchResponse.DiscardUnknown(m) + +func (x *UserUpdateSubmoduleResponse) GetBranchUpdate() *OperationBranchUpdate { + if x != nil { + return x.BranchUpdate + } + return nil } -var xxx_messageInfo_UserApplyPatchResponse proto.InternalMessageInfo +func (x *UserUpdateSubmoduleResponse) GetPreReceiveError() string { + if x != nil { + return x.PreReceiveError + } + return "" +} -func (m *UserApplyPatchResponse) GetBranchUpdate() *OperationBranchUpdate { - if m != nil { - return m.BranchUpdate +func (x *UserUpdateSubmoduleResponse) GetCommitError() string { + if x != nil { + return x.CommitError } - return nil + return "" } -type UserUpdateSubmoduleRequest struct { - // repository is the repository in which the submodule shall be updated. +// Header contains information to compute the rebase and must be sent as +// first message. +type UserRebaseConfirmableRequest_Header struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // repository is the repository in which the rebase will be computed and + // applied. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - // user is used both for authorization and as author/committer of the - // resulting commit. + // user is the user to compute the rebase as. It will be used as + // "committer" of rebased commits. User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` - // commit_sha is the object ID the submodule shall be updated to. - CommitSha string `protobuf:"bytes,3,opt,name=commit_sha,json=commitSha,proto3" json:"commit_sha,omitempty"` - // branch is the branch which shall be updated. This is the unqualified name - // of the branch, it must not have a "refs/heads/" prefix. + // rebase_id is an ID which uniquely identifies the rebase. Internally, it + // is used to identify the worktree in which the rebase shall be computed. + // There cannot be two concurrent calls using the same rebase_id. + RebaseId string `protobuf:"bytes,3,opt,name=rebase_id,json=rebaseId,proto3" json:"rebase_id,omitempty"` + // branch is the branch onto which the rebase shall happen. Branch []byte `protobuf:"bytes,4,opt,name=branch,proto3" json:"branch,omitempty"` - // submodule is the path to the submodule which shall be updated. - Submodule []byte `protobuf:"bytes,5,opt,name=submodule,proto3" json:"submodule,omitempty"` - // commit_message is the message updating the submodule. - CommitMessage []byte `protobuf:"bytes,6,opt,name=commit_message,json=commitMessage,proto3" json:"commit_message,omitempty"` - // timestamp is the optional timestamp to use for the commit updating the - // submodule as committer date. If it's not set, the current time will be - // used. - Timestamp *timestamp.Timestamp `protobuf:"bytes,7,opt,name=timestamp,proto3" json:"timestamp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + // branch_sha is the expected object ID which branch currently points to. + // This is used as a safety guard to avoid races when branch has been + // updated meanwhile. + BranchSha string `protobuf:"bytes,5,opt,name=branch_sha,json=branchSha,proto3" json:"branch_sha,omitempty"` + // remote_repository is the repository which contains the branch which + // shall be rebased onto the local branch. + RemoteRepository *Repository `protobuf:"bytes,6,opt,name=remote_repository,json=remoteRepository,proto3" json:"remote_repository,omitempty"` + // remote_branch contains the branch name which shall re rebased onto the + // local branch. + RemoteBranch []byte `protobuf:"bytes,7,opt,name=remote_branch,json=remoteBranch,proto3" json:"remote_branch,omitempty"` + // git_push_options contain options which shall be passed to the git hooks + // when the local branch gets updated. + GitPushOptions []string `protobuf:"bytes,8,rep,name=git_push_options,json=gitPushOptions,proto3" json:"git_push_options,omitempty"` + // timestamp is the optional timestamp to use for the rebased commits as + // committer date. If it's not set, the current time will be used. + Timestamp *timestamp.Timestamp `protobuf:"bytes,9,opt,name=timestamp,proto3" json:"timestamp,omitempty"` } -func (m *UserUpdateSubmoduleRequest) Reset() { *m = UserUpdateSubmoduleRequest{} } -func (m *UserUpdateSubmoduleRequest) String() string { return proto.CompactTextString(m) } -func (*UserUpdateSubmoduleRequest) ProtoMessage() {} -func (*UserUpdateSubmoduleRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_1b4a5877375e491e, []int{32} +func (x *UserRebaseConfirmableRequest_Header) Reset() { + *x = UserRebaseConfirmableRequest_Header{} + if protoimpl.UnsafeEnabled { + mi := &file_operations_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UserUpdateSubmoduleRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserUpdateSubmoduleRequest.Unmarshal(m, b) -} -func (m *UserUpdateSubmoduleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserUpdateSubmoduleRequest.Marshal(b, m, deterministic) -} -func (m *UserUpdateSubmoduleRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserUpdateSubmoduleRequest.Merge(m, src) +func (x *UserRebaseConfirmableRequest_Header) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UserUpdateSubmoduleRequest) XXX_Size() int { - return xxx_messageInfo_UserUpdateSubmoduleRequest.Size(m) -} -func (m *UserUpdateSubmoduleRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UserUpdateSubmoduleRequest.DiscardUnknown(m) + +func (*UserRebaseConfirmableRequest_Header) ProtoMessage() {} + +func (x *UserRebaseConfirmableRequest_Header) ProtoReflect() protoreflect.Message { + mi := &file_operations_proto_msgTypes[34] + 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_UserUpdateSubmoduleRequest proto.InternalMessageInfo +// Deprecated: Use UserRebaseConfirmableRequest_Header.ProtoReflect.Descriptor instead. +func (*UserRebaseConfirmableRequest_Header) Descriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{26, 0} +} -func (m *UserUpdateSubmoduleRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *UserRebaseConfirmableRequest_Header) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *UserUpdateSubmoduleRequest) GetUser() *User { - if m != nil { - return m.User +func (x *UserRebaseConfirmableRequest_Header) GetUser() *User { + if x != nil { + return x.User } return nil } -func (m *UserUpdateSubmoduleRequest) GetCommitSha() string { - if m != nil { - return m.CommitSha +func (x *UserRebaseConfirmableRequest_Header) GetRebaseId() string { + if x != nil { + return x.RebaseId } return "" } -func (m *UserUpdateSubmoduleRequest) GetBranch() []byte { - if m != nil { - return m.Branch +func (x *UserRebaseConfirmableRequest_Header) GetBranch() []byte { + if x != nil { + return x.Branch } return nil } -func (m *UserUpdateSubmoduleRequest) GetSubmodule() []byte { - if m != nil { - return m.Submodule +func (x *UserRebaseConfirmableRequest_Header) GetBranchSha() string { + if x != nil { + return x.BranchSha } - return nil + return "" } -func (m *UserUpdateSubmoduleRequest) GetCommitMessage() []byte { - if m != nil { - return m.CommitMessage +func (x *UserRebaseConfirmableRequest_Header) GetRemoteRepository() *Repository { + if x != nil { + return x.RemoteRepository } return nil } -func (m *UserUpdateSubmoduleRequest) GetTimestamp() *timestamp.Timestamp { - if m != nil { - return m.Timestamp +func (x *UserRebaseConfirmableRequest_Header) GetRemoteBranch() []byte { + if x != nil { + return x.RemoteBranch } return nil } -type UserUpdateSubmoduleResponse struct { - // branch_update contains information about the updated branch. - BranchUpdate *OperationBranchUpdate `protobuf:"bytes,1,opt,name=branch_update,json=branchUpdate,proto3" json:"branch_update,omitempty"` - // pre_receive_error contains an error message if the pre-receive hook - // rejects the update. - PreReceiveError string `protobuf:"bytes,2,opt,name=pre_receive_error,json=preReceiveError,proto3" json:"pre_receive_error,omitempty"` - // commit_error contains an error message if committing the update fails. - CommitError string `protobuf:"bytes,4,opt,name=commit_error,json=commitError,proto3" json:"commit_error,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *UserRebaseConfirmableRequest_Header) GetGitPushOptions() []string { + if x != nil { + return x.GitPushOptions + } + return nil } -func (m *UserUpdateSubmoduleResponse) Reset() { *m = UserUpdateSubmoduleResponse{} } -func (m *UserUpdateSubmoduleResponse) String() string { return proto.CompactTextString(m) } -func (*UserUpdateSubmoduleResponse) ProtoMessage() {} -func (*UserUpdateSubmoduleResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_1b4a5877375e491e, []int{33} +func (x *UserRebaseConfirmableRequest_Header) GetTimestamp() *timestamp.Timestamp { + if x != nil { + return x.Timestamp + } + return nil } -func (m *UserUpdateSubmoduleResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UserUpdateSubmoduleResponse.Unmarshal(m, b) +// Header contains information about how to apply the patches. +type UserApplyPatchRequest_Header struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // repository is the repository to which the patches shall be applied to. + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + // user is used for authentication. + User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` + // target_branch is the branch onto which the patches shall be applied. + TargetBranch []byte `protobuf:"bytes,3,opt,name=target_branch,json=targetBranch,proto3" json:"target_branch,omitempty"` + // timestamp is the optional timestamp to use for the squashed commit as + // committer date. If it's not set, the current time will be used. + Timestamp *timestamp.Timestamp `protobuf:"bytes,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"` } -func (m *UserUpdateSubmoduleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UserUpdateSubmoduleResponse.Marshal(b, m, deterministic) + +func (x *UserApplyPatchRequest_Header) Reset() { + *x = UserApplyPatchRequest_Header{} + if protoimpl.UnsafeEnabled { + mi := &file_operations_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UserUpdateSubmoduleResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_UserUpdateSubmoduleResponse.Merge(m, src) + +func (x *UserApplyPatchRequest_Header) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UserUpdateSubmoduleResponse) XXX_Size() int { - return xxx_messageInfo_UserUpdateSubmoduleResponse.Size(m) + +func (*UserApplyPatchRequest_Header) ProtoMessage() {} + +func (x *UserApplyPatchRequest_Header) ProtoReflect() protoreflect.Message { + mi := &file_operations_proto_msgTypes[35] + 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 *UserUpdateSubmoduleResponse) XXX_DiscardUnknown() { - xxx_messageInfo_UserUpdateSubmoduleResponse.DiscardUnknown(m) + +// Deprecated: Use UserApplyPatchRequest_Header.ProtoReflect.Descriptor instead. +func (*UserApplyPatchRequest_Header) Descriptor() ([]byte, []int) { + return file_operations_proto_rawDescGZIP(), []int{30, 0} } -var xxx_messageInfo_UserUpdateSubmoduleResponse proto.InternalMessageInfo +func (x *UserApplyPatchRequest_Header) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} -func (m *UserUpdateSubmoduleResponse) GetBranchUpdate() *OperationBranchUpdate { - if m != nil { - return m.BranchUpdate +func (x *UserApplyPatchRequest_Header) GetUser() *User { + if x != nil { + return x.User } return nil } -func (m *UserUpdateSubmoduleResponse) GetPreReceiveError() string { - if m != nil { - return m.PreReceiveError +func (x *UserApplyPatchRequest_Header) GetTargetBranch() []byte { + if x != nil { + return x.TargetBranch } - return "" + return nil } -func (m *UserUpdateSubmoduleResponse) GetCommitError() string { - if m != nil { - return m.CommitError +func (x *UserApplyPatchRequest_Header) GetTimestamp() *timestamp.Timestamp { + if x != nil { + return x.Timestamp } - return "" + return nil } -func init() { - proto.RegisterEnum("gitaly.UserCherryPickResponse_CreateTreeError", UserCherryPickResponse_CreateTreeError_name, UserCherryPickResponse_CreateTreeError_value) - proto.RegisterEnum("gitaly.UserRevertResponse_CreateTreeError", UserRevertResponse_CreateTreeError_name, UserRevertResponse_CreateTreeError_value) - proto.RegisterEnum("gitaly.UserCommitFilesActionHeader_ActionType", UserCommitFilesActionHeader_ActionType_name, UserCommitFilesActionHeader_ActionType_value) - proto.RegisterType((*UserCreateBranchRequest)(nil), "gitaly.UserCreateBranchRequest") - proto.RegisterType((*UserCreateBranchResponse)(nil), "gitaly.UserCreateBranchResponse") - proto.RegisterType((*UserUpdateBranchRequest)(nil), "gitaly.UserUpdateBranchRequest") - proto.RegisterType((*UserUpdateBranchResponse)(nil), "gitaly.UserUpdateBranchResponse") - proto.RegisterType((*UserDeleteBranchRequest)(nil), "gitaly.UserDeleteBranchRequest") - proto.RegisterType((*UserDeleteBranchResponse)(nil), "gitaly.UserDeleteBranchResponse") - proto.RegisterType((*UserDeleteTagRequest)(nil), "gitaly.UserDeleteTagRequest") - proto.RegisterType((*UserDeleteTagResponse)(nil), "gitaly.UserDeleteTagResponse") - proto.RegisterType((*UserCreateTagRequest)(nil), "gitaly.UserCreateTagRequest") - proto.RegisterType((*UserCreateTagResponse)(nil), "gitaly.UserCreateTagResponse") - proto.RegisterType((*UserMergeBranchRequest)(nil), "gitaly.UserMergeBranchRequest") - proto.RegisterType((*UserMergeBranchResponse)(nil), "gitaly.UserMergeBranchResponse") - proto.RegisterType((*UserMergeToRefRequest)(nil), "gitaly.UserMergeToRefRequest") - proto.RegisterType((*UserMergeToRefResponse)(nil), "gitaly.UserMergeToRefResponse") - proto.RegisterType((*OperationBranchUpdate)(nil), "gitaly.OperationBranchUpdate") - proto.RegisterType((*UserFFBranchRequest)(nil), "gitaly.UserFFBranchRequest") - proto.RegisterType((*UserFFBranchResponse)(nil), "gitaly.UserFFBranchResponse") - proto.RegisterType((*UserCherryPickRequest)(nil), "gitaly.UserCherryPickRequest") - proto.RegisterType((*UserCherryPickResponse)(nil), "gitaly.UserCherryPickResponse") - proto.RegisterType((*UserRevertRequest)(nil), "gitaly.UserRevertRequest") - proto.RegisterType((*UserRevertResponse)(nil), "gitaly.UserRevertResponse") - proto.RegisterType((*UserCommitFilesActionHeader)(nil), "gitaly.UserCommitFilesActionHeader") - proto.RegisterType((*UserCommitFilesAction)(nil), "gitaly.UserCommitFilesAction") - proto.RegisterType((*UserCommitFilesRequestHeader)(nil), "gitaly.UserCommitFilesRequestHeader") - proto.RegisterType((*UserCommitFilesRequest)(nil), "gitaly.UserCommitFilesRequest") - proto.RegisterType((*UserCommitFilesResponse)(nil), "gitaly.UserCommitFilesResponse") - proto.RegisterType((*UserRebaseConfirmableRequest)(nil), "gitaly.UserRebaseConfirmableRequest") - proto.RegisterType((*UserRebaseConfirmableRequest_Header)(nil), "gitaly.UserRebaseConfirmableRequest.Header") - proto.RegisterType((*UserRebaseConfirmableResponse)(nil), "gitaly.UserRebaseConfirmableResponse") - proto.RegisterType((*UserSquashRequest)(nil), "gitaly.UserSquashRequest") - proto.RegisterType((*UserSquashResponse)(nil), "gitaly.UserSquashResponse") - proto.RegisterType((*UserApplyPatchRequest)(nil), "gitaly.UserApplyPatchRequest") - proto.RegisterType((*UserApplyPatchRequest_Header)(nil), "gitaly.UserApplyPatchRequest.Header") - proto.RegisterType((*UserApplyPatchResponse)(nil), "gitaly.UserApplyPatchResponse") - proto.RegisterType((*UserUpdateSubmoduleRequest)(nil), "gitaly.UserUpdateSubmoduleRequest") - proto.RegisterType((*UserUpdateSubmoduleResponse)(nil), "gitaly.UserUpdateSubmoduleResponse") -} - -func init() { proto.RegisterFile("operations.proto", fileDescriptor_1b4a5877375e491e) } - -var fileDescriptor_1b4a5877375e491e = []byte{ - // 2239 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x5a, 0xdf, 0x6f, 0x1b, 0x59, - 0xf5, 0xcf, 0xd8, 0x8e, 0x63, 0x9f, 0x38, 0x8e, 0x33, 0xed, 0xb6, 0x5e, 0xb7, 0xf9, 0x26, 0x3b, - 0x69, 0xbf, 0x4d, 0xcb, 0xe2, 0xac, 0xca, 0x0a, 0xf6, 0x65, 0x41, 0x8d, 0xe3, 0x90, 0x96, 0x4d, - 0x13, 0xa6, 0x2e, 0x68, 0xd1, 0xc2, 0x68, 0x62, 0x5f, 0xdb, 0x23, 0x6c, 0xcf, 0xec, 0x9d, 0x71, - 0xb6, 0xe1, 0x81, 0x07, 0x1e, 0x78, 0x40, 0xe2, 0x69, 0xa5, 0x5d, 0xfe, 0x02, 0x1e, 0x10, 0xf0, - 0x08, 0x7f, 0x00, 0xd2, 0x4a, 0x3c, 0xf1, 0x17, 0xc0, 0x1f, 0x80, 0x84, 0x84, 0x90, 0x90, 0x10, - 0x4f, 0xe8, 0xde, 0x73, 0xc6, 0x9e, 0x3b, 0x33, 0x4e, 0x93, 0x6e, 0x9a, 0xad, 0x10, 0x6f, 0xbe, - 0xe7, 0x9e, 0x39, 0xf7, 0x9e, 0xcf, 0xf9, 0x71, 0xcf, 0x3d, 0xd7, 0x50, 0x71, 0x3d, 0xc6, 0xed, - 0xc0, 0x71, 0x47, 0x7e, 0xdd, 0xe3, 0x6e, 0xe0, 0xea, 0xf9, 0x9e, 0x13, 0xd8, 0x83, 0x93, 0x1a, - 0x0c, 0x9c, 0x51, 0x80, 0xb4, 0x5a, 0xc9, 0xef, 0xdb, 0x9c, 0x75, 0x68, 0xb4, 0xd6, 0x73, 0xdd, - 0xde, 0x80, 0x6d, 0xc9, 0xd1, 0xd1, 0xb8, 0xbb, 0x15, 0x38, 0x43, 0xe6, 0x07, 0xf6, 0xd0, 0x43, - 0x06, 0xe3, 0xf7, 0x1a, 0x5c, 0x7f, 0xea, 0x33, 0xde, 0xe0, 0xcc, 0x0e, 0xd8, 0x36, 0xb7, 0x47, - 0xed, 0xbe, 0xc9, 0x3e, 0x1c, 0x33, 0x3f, 0xd0, 0xdf, 0x01, 0xe0, 0xcc, 0x73, 0x7d, 0x27, 0x70, - 0xf9, 0x49, 0x55, 0x5b, 0xd7, 0x36, 0x17, 0xef, 0xeb, 0x75, 0x5c, 0xb3, 0x6e, 0x4e, 0x66, 0xb6, - 0x73, 0xbf, 0xf8, 0xec, 0x4d, 0xcd, 0x8c, 0xf0, 0xea, 0x6b, 0xb0, 0x78, 0x24, 0x45, 0x59, 0x23, - 0x7b, 0xc8, 0xaa, 0x99, 0x75, 0x6d, 0xb3, 0x64, 0x02, 0x92, 0x1e, 0xdb, 0x43, 0xa6, 0xaf, 0x43, - 0x6e, 0xec, 0x33, 0x5e, 0xcd, 0x4a, 0xa1, 0xa5, 0x50, 0xa8, 0xd8, 0x89, 0x29, 0x67, 0x84, 0x08, - 0x3f, 0xb0, 0x79, 0x60, 0x79, 0xae, 0x33, 0x0a, 0xaa, 0x39, 0x14, 0x21, 0x49, 0x87, 0x82, 0x62, - 0x8c, 0xa0, 0x9a, 0xdc, 0xb8, 0xef, 0xb9, 0x23, 0x9f, 0xe9, 0xff, 0x0f, 0x79, 0x5c, 0x8c, 0x76, - 0x5d, 0x0e, 0x17, 0x20, 0x3e, 0x9a, 0xd5, 0xef, 0xc1, 0x8a, 0xc7, 0x99, 0xc5, 0x59, 0x9b, 0x39, - 0xc7, 0xcc, 0x62, 0x9c, 0xbb, 0x5c, 0xee, 0xb6, 0x68, 0x2e, 0x7b, 0x9c, 0x99, 0x48, 0x6f, 0x0a, - 0xb2, 0xf1, 0x19, 0x21, 0xf5, 0xd4, 0xeb, 0xbc, 0x5a, 0x48, 0x5d, 0x83, 0xfc, 0x88, 0x7d, 0xc4, - 0xd9, 0x31, 0x81, 0x44, 0x23, 0x41, 0x77, 0x07, 0x1d, 0x41, 0x9f, 0x47, 0x3a, 0x8e, 0x8c, 0x5d, - 0x04, 0x4e, 0xd5, 0x83, 0x80, 0x4b, 0x05, 0x44, 0x4b, 0x07, 0xe4, 0x13, 0x02, 0x64, 0x87, 0x0d, - 0xd8, 0xab, 0x04, 0x48, 0xa8, 0xa0, 0xba, 0xaf, 0x17, 0x50, 0xf0, 0xe7, 0x1a, 0x5c, 0x9d, 0x0a, - 0x6a, 0xd9, 0xbd, 0xcf, 0xaf, 0xdd, 0xeb, 0x50, 0x08, 0xec, 0x5e, 0x54, 0xb5, 0x85, 0xc0, 0xee, - 0x9d, 0x51, 0xaf, 0x06, 0xbc, 0x16, 0xdb, 0xce, 0x0b, 0x28, 0xf5, 0xb3, 0x0c, 0x2a, 0x85, 0x71, - 0xf3, 0x85, 0x2b, 0xa5, 0xdf, 0x81, 0xe5, 0xc0, 0xe6, 0x3d, 0x16, 0x58, 0x9c, 0x1d, 0x3b, 0xbe, - 0xe3, 0x8e, 0xc8, 0x8d, 0xcb, 0x48, 0x36, 0x89, 0xaa, 0x57, 0x61, 0x61, 0xc8, 0x7c, 0xdf, 0xee, - 0x31, 0xf2, 0xe7, 0x70, 0xa8, 0xbf, 0x03, 0xc5, 0x49, 0x5a, 0xab, 0x2e, 0xc8, 0x95, 0x6a, 0x75, - 0x4c, 0x7c, 0xf5, 0x30, 0xf1, 0xd5, 0x5b, 0x21, 0x87, 0x39, 0x65, 0x36, 0x7e, 0x84, 0x88, 0x46, - 0xb0, 0x20, 0x44, 0x57, 0x21, 0x1b, 0xd8, 0x3d, 0x42, 0x61, 0x31, 0xdc, 0xb6, 0xe0, 0x10, 0x74, - 0x11, 0x5a, 0xec, 0x99, 0xe3, 0x07, 0xbe, 0xd4, 0xb7, 0x60, 0xd2, 0x28, 0xdd, 0x10, 0xd9, 0x74, - 0x43, 0x7c, 0x9c, 0x81, 0x6b, 0x62, 0xf1, 0x7d, 0xc6, 0x7b, 0x17, 0x16, 0x3d, 0x21, 0xde, 0x99, - 0x99, 0x78, 0xdf, 0x80, 0x62, 0xdb, 0x1d, 0x0e, 0x9d, 0xc0, 0x72, 0x3a, 0xb4, 0xb5, 0x02, 0x12, - 0x1e, 0x76, 0x84, 0x5e, 0x94, 0x37, 0x29, 0x95, 0x50, 0x9e, 0x7c, 0x09, 0xd8, 0xeb, 0x57, 0x61, - 0xde, 0xf6, 0xbc, 0xc1, 0x49, 0x35, 0x2f, 0x21, 0xc4, 0x81, 0xf1, 0x6b, 0x4a, 0x2a, 0x0a, 0x2a, - 0x64, 0x14, 0x65, 0xeb, 0x5a, 0x6c, 0xeb, 0xdb, 0xb0, 0x44, 0x79, 0x63, 0x2c, 0x13, 0x1b, 0xb9, - 0xdc, 0x6a, 0x08, 0xc1, 0x41, 0x78, 0x78, 0xa2, 0x50, 0xcc, 0x7e, 0x66, 0xe9, 0x28, 0x32, 0x4a, - 0x37, 0x5f, 0x2e, 0xd5, 0x7c, 0x8f, 0x72, 0x85, 0x4c, 0x25, 0x6b, 0xfc, 0x3d, 0x83, 0x1e, 0x24, - 0xb7, 0xdb, 0x72, 0x4d, 0xd6, 0xbd, 0x0c, 0x1b, 0xae, 0x02, 0xf8, 0xee, 0x98, 0xb7, 0x99, 0xe5, - 0xf7, 0x6d, 0x32, 0x62, 0x11, 0x29, 0x4f, 0xfa, 0xf6, 0x4c, 0x2b, 0xae, 0x02, 0x4c, 0x42, 0xad, - 0x4b, 0x86, 0x2c, 0x86, 0x51, 0xd6, 0x8d, 0x1a, 0x39, 0xaf, 0x1a, 0x79, 0x13, 0x2a, 0x5d, 0x87, - 0xfb, 0x81, 0xe5, 0xd9, 0x9c, 0x8d, 0xf0, 0xf3, 0x05, 0x0c, 0x52, 0x49, 0x3f, 0x94, 0x64, 0x21, - 0xe3, 0x0e, 0x2c, 0xdb, 0x83, 0x81, 0xfb, 0x91, 0xd5, 0x76, 0x47, 0xdd, 0x81, 0xd3, 0x0e, 0xfc, - 0x6a, 0x41, 0x9a, 0xb7, 0x2c, 0xc9, 0x8d, 0x90, 0xaa, 0xfa, 0x4d, 0xf1, 0x3c, 0x31, 0x6b, 0x47, - 0xc2, 0x86, 0x10, 0x3f, 0x8b, 0x7f, 0x9c, 0xe7, 0xa8, 0xff, 0x31, 0xbc, 0x96, 0xea, 0x2e, 0xa7, - 0xaf, 0xf0, 0x06, 0x94, 0x84, 0x15, 0xad, 0xb6, 0xcc, 0x26, 0x1d, 0x4a, 0x0d, 0x8b, 0x82, 0x86, - 0x09, 0xa6, 0xa3, 0xdf, 0x86, 0x32, 0x39, 0x69, 0xc8, 0x94, 0x95, 0x4c, 0xe4, 0xba, 0xc4, 0x66, - 0xfc, 0x52, 0x83, 0x2b, 0x42, 0xc7, 0xdd, 0xdd, 0x57, 0x3b, 0x2f, 0x18, 0x3f, 0xa5, 0x13, 0x72, - 0xba, 0x51, 0x32, 0x45, 0x22, 0x1a, 0xb5, 0x0b, 0x8a, 0xc6, 0x19, 0x16, 0xfb, 0x34, 0x4b, 0x99, - 0xbc, 0xcf, 0x38, 0x3f, 0x39, 0x74, 0xda, 0x3f, 0xbc, 0x0c, 0xcc, 0xee, 0x42, 0x1e, 0x21, 0xa2, - 0x64, 0xb3, 0x12, 0xf2, 0x7c, 0xd3, 0x09, 0x1a, 0x72, 0xc2, 0x24, 0x86, 0x78, 0x59, 0x93, 0x4b, - 0x94, 0x35, 0xb3, 0x53, 0xec, 0x3d, 0x58, 0xc1, 0x4a, 0x38, 0x2a, 0x00, 0x23, 0x74, 0x59, 0x4e, - 0x6c, 0x4f, 0xa5, 0xbc, 0x0b, 0x15, 0xe4, 0x8d, 0xe8, 0xbc, 0x30, 0x4b, 0x67, 0xfa, 0x7c, 0x4a, - 0xd0, 0xaf, 0xc3, 0x42, 0x87, 0x9f, 0x58, 0x7c, 0x3c, 0xa2, 0xb0, 0xcd, 0x77, 0xf8, 0x89, 0x39, - 0x1e, 0x7d, 0x8e, 0x70, 0xfd, 0x07, 0x1d, 0x73, 0x51, 0xcb, 0x5c, 0xac, 0x93, 0x60, 0x28, 0x59, - 0x01, 0x67, 0x31, 0x27, 0xc1, 0x89, 0x16, 0x67, 0xe8, 0x24, 0x22, 0x40, 0xc9, 0xc5, 0xa3, 0x07, - 0xf3, 0x22, 0xd2, 0x90, 0xe5, 0x1c, 0x27, 0x80, 0xde, 0x86, 0x6b, 0x89, 0xa5, 0xad, 0xb6, 0xdb, - 0x41, 0x03, 0x96, 0xef, 0xd7, 0xa3, 0x1e, 0x93, 0x54, 0xbf, 0xde, 0x50, 0xb7, 0x67, 0x5e, 0x89, - 0xed, 0xb7, 0xe1, 0x76, 0x98, 0xf1, 0x36, 0x2c, 0xc7, 0xf8, 0xf4, 0x02, 0xe4, 0x1e, 0x1f, 0x3c, - 0x6e, 0x56, 0xe6, 0xf4, 0x22, 0xcc, 0x37, 0xf7, 0x0f, 0x5b, 0xef, 0x57, 0x34, 0xbd, 0x04, 0x85, - 0xc6, 0xc1, 0xe3, 0xdd, 0xf7, 0x1e, 0x36, 0x5a, 0x95, 0x8c, 0xf1, 0x71, 0x16, 0x56, 0xa4, 0x9f, - 0xb2, 0x63, 0x26, 0x0c, 0xfc, 0xbf, 0x50, 0x78, 0x15, 0x42, 0xe1, 0xaf, 0x19, 0xd0, 0xa3, 0x56, - 0xf9, 0xef, 0x08, 0x03, 0xeb, 0x39, 0x61, 0x70, 0x4f, 0xf1, 0x16, 0x45, 0xf5, 0x97, 0x19, 0x02, - 0xff, 0xcc, 0xc0, 0x0d, 0x19, 0x78, 0x52, 0xad, 0x5d, 0x67, 0xc0, 0xfc, 0x07, 0x6d, 0x81, 0xe2, - 0x1e, 0xb3, 0x3b, 0x8c, 0xeb, 0xbb, 0x90, 0xb7, 0xe5, 0x58, 0xc2, 0x1d, 0x8f, 0xd6, 0xf4, 0x8f, - 0xea, 0x38, 0x68, 0x9d, 0x78, 0xcc, 0xa4, 0xaf, 0xc5, 0xb9, 0xd9, 0x75, 0x06, 0xcc, 0xf2, 0xec, - 0xa0, 0x4f, 0xb7, 0x9f, 0x82, 0x20, 0x1c, 0xda, 0x41, 0x5f, 0xdf, 0x80, 0x25, 0x4f, 0x5c, 0x6b, - 0xdc, 0xb1, 0x8f, 0x0c, 0x59, 0xc9, 0x50, 0x0a, 0x89, 0x92, 0x49, 0x14, 0x05, 0xb6, 0xcf, 0xbe, - 0xfa, 0xb6, 0x28, 0x9a, 0x02, 0x46, 0xcd, 0x0e, 0x51, 0x14, 0x48, 0x6a, 0x03, 0x89, 0xfa, 0x5d, - 0xa8, 0xb0, 0x67, 0xac, 0x3d, 0x0e, 0x98, 0x25, 0xe4, 0x0f, 0x43, 0x84, 0x0b, 0xe6, 0x32, 0xd1, - 0x77, 0x89, 0x2c, 0x96, 0x75, 0x46, 0x5d, 0xc6, 0x27, 0x02, 0xb1, 0xc4, 0x2e, 0x49, 0x22, 0xc9, - 0x33, 0x9e, 0x02, 0x4c, 0xd5, 0xd1, 0x01, 0xf2, 0x0d, 0xb3, 0xf9, 0xa0, 0x25, 0x30, 0x2d, 0x03, - 0xe0, 0x6f, 0x6b, 0xe7, 0xa1, 0x59, 0xd1, 0xc4, 0xdc, 0xd3, 0xc3, 0x1d, 0x31, 0x97, 0x11, 0xc8, - 0xef, 0x1f, 0x7c, 0xa7, 0x59, 0xc9, 0x0a, 0xea, 0x4e, 0xf3, 0xbd, 0x66, 0xab, 0x59, 0xc9, 0x09, - 0x2b, 0x34, 0xf6, 0xf6, 0x0f, 0x76, 0x2a, 0xf3, 0xc6, 0x27, 0x1a, 0x9d, 0xc4, 0x71, 0x08, 0xf5, - 0x77, 0x21, 0xdf, 0x97, 0x30, 0x92, 0x83, 0x6f, 0x9c, 0x01, 0xf1, 0xbd, 0x39, 0x93, 0x3e, 0xd2, - 0x6b, 0xb0, 0x10, 0xaa, 0x23, 0x61, 0xde, 0x9b, 0x33, 0x43, 0xc2, 0xb6, 0x01, 0xeb, 0x22, 0x0b, - 0x59, 0xe4, 0xd7, 0x02, 0x1f, 0xdf, 0x42, 0x03, 0x59, 0x9e, 0x7d, 0x32, 0x70, 0xed, 0x8e, 0xf1, - 0xaf, 0x2c, 0xdc, 0x8c, 0xad, 0x44, 0x89, 0x91, 0x3c, 0xe2, 0x65, 0xa6, 0xc7, 0x58, 0xce, 0xcb, - 0x26, 0x72, 0xde, 0x6d, 0x28, 0xd3, 0xe6, 0xc3, 0xd4, 0x87, 0x79, 0x71, 0x09, 0xa9, 0xfb, 0x94, - 0x00, 0xdf, 0x04, 0x9d, 0xd8, 0xec, 0x71, 0xd0, 0x77, 0x39, 0x8a, 0xc3, 0x2c, 0x59, 0xc1, 0x99, - 0x07, 0x72, 0x42, 0x0a, 0xad, 0xc3, 0x15, 0x95, 0x9b, 0x0d, 0x6d, 0x67, 0x40, 0x09, 0x73, 0x25, - 0xca, 0xde, 0x14, 0x13, 0xe9, 0xe9, 0x75, 0xe1, 0xec, 0xe9, 0xb5, 0x70, 0xf6, 0xf4, 0x7a, 0x15, - 0xe6, 0xbb, 0x2e, 0x6f, 0x33, 0x99, 0x41, 0x0b, 0x26, 0x0e, 0x44, 0x30, 0xa1, 0x50, 0x71, 0xaf, - 0x01, 0x2c, 0x42, 0x25, 0x41, 0x5c, 0x6b, 0x94, 0xc4, 0xbb, 0x78, 0x9e, 0xc4, 0xfb, 0x3b, 0x8d, - 0x6a, 0x90, 0x84, 0xe9, 0xf5, 0xaf, 0xc7, 0x9c, 0xf2, 0xd6, 0x0c, 0xa7, 0x54, 0x5c, 0x25, 0xe2, - 0x95, 0x5f, 0x9b, 0xa4, 0x91, 0x8c, 0x9a, 0xb5, 0xd3, 0x9d, 0x7a, 0x2e, 0xcc, 0x1b, 0xdb, 0x1b, - 0xf0, 0x46, 0xd2, 0x65, 0x39, 0xae, 0x32, 0xf1, 0xd9, 0x5f, 0x85, 0xdd, 0xd9, 0xe8, 0x46, 0x2e, - 0xf0, 0xd8, 0x58, 0x83, 0x45, 0x67, 0xd4, 0x61, 0xcf, 0x94, 0x03, 0x03, 0x24, 0xe9, 0x94, 0x83, - 0x60, 0x46, 0x43, 0xe3, 0x37, 0x39, 0x0c, 0x30, 0x93, 0x89, 0xc4, 0x25, 0xae, 0x7a, 0x0e, 0x1f, - 0xda, 0x47, 0x03, 0x16, 0x62, 0xdd, 0x8c, 0x61, 0xfd, 0x25, 0xf5, 0x64, 0x48, 0xff, 0xaa, 0x9e, - 0x80, 0xfc, 0x5a, 0xd8, 0x38, 0x90, 0x17, 0xac, 0xbd, 0x39, 0x6a, 0x1d, 0xd4, 0x7e, 0x92, 0x85, - 0xfc, 0x25, 0x84, 0xf2, 0x0d, 0x28, 0x72, 0xb9, 0xd7, 0xc8, 0x45, 0x09, 0x09, 0xa7, 0x34, 0x50, - 0x56, 0x81, 0x82, 0x5d, 0x7a, 0xf6, 0x3c, 0xde, 0xd8, 0x91, 0x22, 0x5c, 0xfb, 0x1b, 0xb0, 0xc2, - 0xd9, 0xd0, 0x0d, 0x58, 0x34, 0x9a, 0xf2, 0x33, 0xa3, 0xa9, 0x82, 0xcc, 0x91, 0x70, 0xda, 0x80, - 0x25, 0x12, 0x40, 0xcb, 0x63, 0xd4, 0x96, 0x90, 0x88, 0x1e, 0x20, 0xae, 0xf1, 0x3d, 0x27, 0xb0, - 0xbc, 0xb1, 0xdf, 0xb7, 0x5c, 0x4f, 0x3e, 0x24, 0x54, 0x0b, 0xeb, 0xd9, 0xcd, 0xa2, 0x59, 0xee, - 0x39, 0xc1, 0xe1, 0xd8, 0xef, 0x1f, 0x20, 0xf5, 0xc5, 0x6b, 0x9c, 0xed, 0xbb, 0x70, 0x47, 0xba, - 0x35, 0x41, 0xd4, 0x9e, 0xda, 0x33, 0xe1, 0xdc, 0x7f, 0xd1, 0x60, 0x75, 0x86, 0xe5, 0xc9, 0xc5, - 0xd7, 0x84, 0x19, 0xa5, 0x1c, 0x81, 0x9a, 0xbc, 0x6f, 0xef, 0xcd, 0x99, 0x04, 0xbf, 0xc0, 0xed, - 0x0e, 0x94, 0x89, 0x41, 0xb8, 0x80, 0x13, 0x5e, 0xba, 0xf7, 0xe6, 0xcc, 0x25, 0xa4, 0x3f, 0x40, - 0xf2, 0x79, 0xfc, 0x58, 0x18, 0xb8, 0x37, 0x29, 0x8e, 0xb0, 0xe8, 0x29, 0xf4, 0xa8, 0x32, 0xda, - 0xbe, 0x07, 0x9b, 0xb3, 0xf5, 0xc3, 0x6d, 0x4f, 0x14, 0xfc, 0x53, 0x06, 0xab, 0xf0, 0x27, 0x1f, - 0x8e, 0x6d, 0xff, 0xb2, 0x2e, 0xf1, 0xbe, 0x5c, 0x2c, 0xe2, 0x9b, 0x48, 0x78, 0xd8, 0x51, 0x93, - 0xeb, 0x7c, 0x2c, 0xb9, 0x5e, 0x87, 0x05, 0x36, 0xea, 0xc8, 0xa9, 0xbc, 0x9c, 0xca, 0xb3, 0x51, - 0x47, 0x4c, 0xdc, 0x82, 0x3c, 0x1e, 0x1e, 0x54, 0x3c, 0xab, 0xcb, 0xd2, 0x5c, 0xca, 0xf1, 0x55, - 0x48, 0x3b, 0xbe, 0x5e, 0xd8, 0xaf, 0x1e, 0xe5, 0x0a, 0xb9, 0xca, 0xbc, 0xe1, 0x60, 0x01, 0x1d, - 0x02, 0x3a, 0x69, 0xd6, 0x02, 0x69, 0x3d, 0x71, 0x13, 0x93, 0x70, 0x10, 0x1a, 0x28, 0xf6, 0xcc, - 0xaa, 0xf6, 0xc4, 0x36, 0x9e, 0x99, 0x74, 0x0e, 0xe3, 0xcf, 0xd4, 0xd9, 0x13, 0x1e, 0x74, 0x72, - 0x68, 0x07, 0xd3, 0x2e, 0xcc, 0xa9, 0x47, 0x46, 0x82, 0xbd, 0x9e, 0x56, 0xc8, 0x78, 0x82, 0x81, - 0xf9, 0xd3, 0x42, 0x86, 0x08, 0xb5, 0x3f, 0x68, 0x97, 0x92, 0xc3, 0x36, 0x60, 0x89, 0x3a, 0x81, - 0x94, 0x2e, 0xa8, 0x2e, 0x45, 0x22, 0xa5, 0x0b, 0xc5, 0x58, 0xb9, 0xf3, 0x24, 0x81, 0xb0, 0x1c, - 0x93, 0x79, 0xd9, 0x92, 0xba, 0x25, 0xa2, 0xff, 0x03, 0x3c, 0x92, 0xa3, 0x78, 0x5d, 0xdc, 0xc1, - 0x66, 0xfc, 0x36, 0x03, 0xb5, 0xe9, 0x23, 0xd7, 0x93, 0xf1, 0xd1, 0xd0, 0xed, 0x8c, 0xa7, 0x27, - 0xd1, 0x4b, 0x6e, 0xce, 0x52, 0x28, 0x44, 0x9a, 0xb3, 0x48, 0x39, 0xad, 0x39, 0x7b, 0x13, 0x8a, - 0x7e, 0xb8, 0xcd, 0xb0, 0x37, 0x3b, 0x21, 0xa4, 0xc4, 0x57, 0xfe, 0xb9, 0xf1, 0x75, 0xae, 0x97, - 0x90, 0x3f, 0x6a, 0x78, 0x5d, 0x4a, 0x00, 0xf6, 0xc5, 0x34, 0xf4, 0x12, 0x97, 0xd4, 0x5c, 0xe2, - 0x92, 0xfa, 0x28, 0x57, 0xc8, 0x56, 0x72, 0x66, 0xf2, 0xde, 0x7b, 0xff, 0x6f, 0x00, 0x95, 0xc9, - 0x7e, 0x9e, 0x30, 0x7e, 0xec, 0xb4, 0x99, 0xfe, 0x7d, 0xa8, 0xc4, 0x9f, 0x8b, 0xf5, 0x35, 0xa5, - 0x58, 0x4b, 0xbe, 0x80, 0xd7, 0xd6, 0x67, 0x33, 0x20, 0x2e, 0x46, 0xfe, 0xdf, 0x9f, 0x6e, 0x66, - 0x0a, 0x5a, 0x28, 0x3e, 0xfa, 0xa8, 0xaa, 0x8a, 0x4f, 0x79, 0x36, 0x56, 0xc5, 0xa7, 0xbd, 0xc7, - 0xc6, 0xc5, 0x47, 0x9f, 0x34, 0x55, 0xf1, 0x29, 0x8f, 0xb0, 0xaa, 0xf8, 0xb4, 0xd7, 0xd0, 0x89, - 0xf8, 0x16, 0x2c, 0x29, 0xef, 0x60, 0xfa, 0xcd, 0xa4, 0xe2, 0xd3, 0xa7, 0xc2, 0xda, 0xea, 0x8c, - 0xd9, 0x74, 0xa9, 0x93, 0xf7, 0x4a, 0x55, 0x6a, 0xfc, 0x55, 0x55, 0x95, 0x9a, 0x78, 0xe4, 0x9c, - 0x48, 0xfd, 0x2e, 0x94, 0xd5, 0xfe, 0xbf, 0xae, 0x7c, 0x98, 0x78, 0x89, 0xa9, 0xfd, 0xdf, 0xac, - 0xe9, 0x98, 0xe0, 0x1f, 0xc0, 0x72, 0xec, 0xe5, 0x49, 0x4f, 0x7e, 0xaa, 0x22, 0xbc, 0x36, 0x73, - 0x5e, 0x95, 0xbd, 0xa9, 0xbd, 0xa5, 0xe9, 0xdf, 0x86, 0x52, 0xb4, 0x57, 0xae, 0xdf, 0x88, 0x7e, - 0x1c, 0x6b, 0xf5, 0xd7, 0x6e, 0xa6, 0x4f, 0xa6, 0x63, 0x31, 0x6d, 0x2e, 0xaa, 0x58, 0x24, 0xba, - 0xe1, 0x2a, 0x16, 0xc9, 0x9e, 0xe4, 0x44, 0xf0, 0x07, 0x88, 0x45, 0xe4, 0xde, 0xa1, 0x62, 0x91, - 0xbc, 0x19, 0xa9, 0x58, 0xa4, 0x5c, 0x58, 0xa6, 0x58, 0xe8, 0x1e, 0x1e, 0xad, 0x89, 0xc2, 0x4f, - 0xbf, 0x75, 0x96, 0x1b, 0x41, 0xed, 0xf6, 0x73, 0xb8, 0x52, 0xb0, 0xff, 0x16, 0xc0, 0xb4, 0xfd, - 0xa4, 0xbf, 0x9e, 0xd6, 0x92, 0x42, 0xd9, 0xb5, 0xd9, 0xdd, 0xaa, 0x09, 0x38, 0x24, 0x0c, 0xab, - 0x10, 0x55, 0x98, 0x52, 0xea, 0xa9, 0xc2, 0xd4, 0xa2, 0x65, 0x22, 0xec, 0x7d, 0x34, 0xe1, 0xf4, - 0x1c, 0x54, 0x4d, 0x98, 0xa8, 0x27, 0x54, 0x13, 0x26, 0x8f, 0xcf, 0x08, 0xcc, 0x5d, 0x7c, 0x45, - 0x8a, 0xa5, 0x74, 0xdd, 0x48, 0x66, 0x9d, 0xf8, 0x01, 0x59, 0xdb, 0x38, 0x95, 0x47, 0x5d, 0x69, - 0xfb, 0xad, 0xef, 0x09, 0xee, 0x81, 0x7d, 0x54, 0x6f, 0xbb, 0xc3, 0x2d, 0xfc, 0xf9, 0x65, 0x97, - 0xf7, 0xb6, 0x50, 0x06, 0xfe, 0xf9, 0x68, 0xab, 0xe7, 0xd2, 0xd8, 0x3b, 0x3a, 0xca, 0x4b, 0xd2, - 0x57, 0xfe, 0x13, 0x00, 0x00, 0xff, 0xff, 0x9d, 0xa6, 0xe8, 0xfe, 0xd3, 0x24, 0x00, 0x00, +var File_operations_proto protoreflect.FileDescriptor + +var file_operations_proto_rawDesc = []byte{ + 0x0a, 0x10, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 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, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb7, 0x01, 0x0a, 0x17, 0x55, 0x73, 0x65, 0x72, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 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, 0x1f, 0x0a, 0x0b, 0x62, + 0x72, 0x61, 0x6e, 0x63, 0x68, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x0a, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x04, + 0x75, 0x73, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x1f, + 0x0a, 0x0b, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x22, + 0x6e, 0x0a, 0x18, 0x55, 0x73, 0x65, 0x72, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x72, 0x61, + 0x6e, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x26, 0x0a, 0x06, 0x62, + 0x72, 0x61, 0x6e, 0x63, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x06, 0x62, 0x72, 0x61, + 0x6e, 0x63, 0x68, 0x12, 0x2a, 0x0a, 0x11, 0x70, 0x72, 0x65, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, + 0x76, 0x65, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, + 0x70, 0x72, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x22, + 0xc6, 0x01, 0x0a, 0x17, 0x55, 0x73, 0x65, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x72, + 0x61, 0x6e, 0x63, 0x68, 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, 0x1f, 0x0a, 0x0b, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x5f, + 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x62, 0x72, 0x61, 0x6e, + 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, + 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x65, 0x77, 0x72, + 0x65, 0x76, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x6e, 0x65, 0x77, 0x72, 0x65, 0x76, + 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x6c, 0x64, 0x72, 0x65, 0x76, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x06, 0x6f, 0x6c, 0x64, 0x72, 0x65, 0x76, 0x22, 0x46, 0x0a, 0x18, 0x55, 0x73, 0x65, 0x72, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x70, 0x72, 0x65, 0x5f, 0x72, 0x65, 0x63, 0x65, + 0x69, 0x76, 0x65, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0f, 0x70, 0x72, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, + 0x22, 0x96, 0x01, 0x0a, 0x17, 0x55, 0x73, 0x65, 0x72, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, + 0x72, 0x61, 0x6e, 0x63, 0x68, 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, 0x1f, 0x0a, 0x0b, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, + 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x62, 0x72, 0x61, + 0x6e, 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, + 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x22, 0x46, 0x0a, 0x18, 0x55, 0x73, 0x65, + 0x72, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x70, 0x72, 0x65, 0x5f, 0x72, 0x65, 0x63, + 0x65, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0f, 0x70, 0x72, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x45, 0x72, 0x72, 0x6f, + 0x72, 0x22, 0x8d, 0x01, 0x0a, 0x14, 0x55, 0x73, 0x65, 0x72, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, + 0x54, 0x61, 0x67, 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, 0x74, 0x61, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x74, 0x61, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x12, + 0x20, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, + 0x72, 0x22, 0x43, 0x0a, 0x15, 0x55, 0x73, 0x65, 0x72, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, + 0x61, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x70, 0x72, + 0x65, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x70, 0x72, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, + 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x8a, 0x02, 0x0a, 0x14, 0x55, 0x73, 0x65, 0x72, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x67, 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, 0x74, 0x61, 0x67, + 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x74, 0x61, 0x67, + 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, + 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x27, 0x0a, 0x0f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x5f, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, + 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x38, 0x0a, 0x09, 0x74, 0x69, 0x6d, + 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, + 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, + 0x61, 0x6d, 0x70, 0x22, 0x7a, 0x0a, 0x15, 0x55, 0x73, 0x65, 0x72, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x54, 0x61, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1d, 0x0a, 0x03, + 0x74, 0x61, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x67, 0x69, 0x74, 0x61, + 0x6c, 0x79, 0x2e, 0x54, 0x61, 0x67, 0x52, 0x03, 0x74, 0x61, 0x67, 0x12, 0x16, 0x0a, 0x06, 0x65, + 0x78, 0x69, 0x73, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x65, 0x78, 0x69, + 0x73, 0x74, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x70, 0x72, 0x65, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, + 0x76, 0x65, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, + 0x70, 0x72, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x22, + 0x93, 0x02, 0x0a, 0x16, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x65, 0x72, 0x67, 0x65, 0x42, 0x72, 0x61, + 0x6e, 0x63, 0x68, 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, 0x20, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, + 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, + 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6f, 0x6d, 0x6d, 0x69, + 0x74, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x18, 0x0a, 0x07, 0x6d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x6d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x38, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, + 0x6d, 0x70, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, + 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, + 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x6c, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, + 0x61, 0x70, 0x70, 0x6c, 0x79, 0x22, 0xac, 0x01, 0x0a, 0x17, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x65, + 0x72, 0x67, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x64, 0x12, 0x42, + 0x0a, 0x0d, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4f, + 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x52, 0x0c, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x70, 0x72, 0x65, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, + 0x65, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x70, + 0x72, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x4a, 0x04, + 0x08, 0x02, 0x10, 0x03, 0x22, 0xf0, 0x02, 0x0a, 0x15, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x65, 0x72, + 0x67, 0x65, 0x54, 0x6f, 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, 0x20, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x5f, 0x73, 0x68, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x68, 0x61, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x72, 0x61, + 0x6e, 0x63, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, + 0x68, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x72, 0x65, 0x66, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x66, + 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x28, 0x0a, 0x10, 0x66, 0x69, + 0x72, 0x73, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x66, 0x18, 0x07, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0e, 0x66, 0x69, 0x72, 0x73, 0x74, 0x50, 0x61, 0x72, 0x65, 0x6e, + 0x74, 0x52, 0x65, 0x66, 0x12, 0x27, 0x0a, 0x0f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x63, 0x6f, + 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x61, + 0x6c, 0x6c, 0x6f, 0x77, 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x73, 0x12, 0x38, 0x0a, + 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x74, 0x69, + 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0x61, 0x0a, 0x16, 0x55, 0x73, 0x65, 0x72, 0x4d, + 0x65, 0x72, 0x67, 0x65, 0x54, 0x6f, 0x52, 0x65, 0x66, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x64, 0x12, 0x2a, + 0x0a, 0x11, 0x70, 0x72, 0x65, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x72, + 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x70, 0x72, 0x65, 0x52, 0x65, + 0x63, 0x65, 0x69, 0x76, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x7e, 0x0a, 0x15, 0x4f, 0x70, + 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x64, + 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x70, 0x6f, 0x5f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x72, 0x65, 0x70, 0x6f, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x64, 0x12, 0x25, 0x0a, 0x0e, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x5f, 0x63, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x62, 0x72, 0x61, + 0x6e, 0x63, 0x68, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x22, 0xa6, 0x01, 0x0a, 0x13, 0x55, + 0x73, 0x65, 0x72, 0x46, 0x46, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 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, 0x20, 0x0a, 0x04, + 0x75, 0x73, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x1b, + 0x0a, 0x09, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x08, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x62, + 0x72, 0x61, 0x6e, 0x63, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x62, 0x72, 0x61, + 0x6e, 0x63, 0x68, 0x22, 0x86, 0x01, 0x0a, 0x14, 0x55, 0x73, 0x65, 0x72, 0x46, 0x46, 0x42, 0x72, + 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x42, 0x0a, 0x0d, + 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4f, 0x70, 0x65, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x52, 0x0c, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x12, 0x2a, 0x0a, 0x11, 0x70, 0x72, 0x65, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x5f, + 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x70, 0x72, 0x65, + 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x97, 0x03, 0x0a, + 0x15, 0x55, 0x73, 0x65, 0x72, 0x43, 0x68, 0x65, 0x72, 0x72, 0x79, 0x50, 0x69, 0x63, 0x6b, 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, 0x20, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, + 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, + 0x65, 0x72, 0x12, 0x29, 0x0a, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x69, 0x74, 0x43, + 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x12, 0x1f, 0x0a, + 0x0b, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x0a, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x18, + 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x73, 0x74, 0x61, 0x72, + 0x74, 0x5f, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, + 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3d, 0x0a, 0x10, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x72, 0x65, + 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x07, 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, 0x0f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, + 0x6f, 0x72, 0x79, 0x12, 0x17, 0x0a, 0x07, 0x64, 0x72, 0x79, 0x5f, 0x72, 0x75, 0x6e, 0x18, 0x08, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x64, 0x72, 0x79, 0x52, 0x75, 0x6e, 0x12, 0x38, 0x0a, 0x09, + 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x74, 0x69, 0x6d, + 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0xf2, 0x02, 0x0a, 0x16, 0x55, 0x73, 0x65, 0x72, 0x43, + 0x68, 0x65, 0x72, 0x72, 0x79, 0x50, 0x69, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x42, 0x0a, 0x0d, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x5f, 0x75, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, + 0x79, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x72, 0x61, 0x6e, 0x63, + 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x0c, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, + 0x74, 0x72, 0x65, 0x65, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x65, 0x65, 0x45, 0x72, 0x72, 0x6f, + 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x65, 0x72, 0x72, 0x6f, + 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x45, + 0x72, 0x72, 0x6f, 0x72, 0x12, 0x2a, 0x0a, 0x11, 0x70, 0x72, 0x65, 0x5f, 0x72, 0x65, 0x63, 0x65, + 0x69, 0x76, 0x65, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0f, 0x70, 0x72, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, + 0x12, 0x63, 0x0a, 0x16, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x72, 0x65, 0x65, 0x5f, + 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x2e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x43, 0x68, + 0x65, 0x72, 0x72, 0x79, 0x50, 0x69, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x65, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, + 0x52, 0x13, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x65, 0x65, 0x45, 0x72, 0x72, 0x6f, + 0x72, 0x43, 0x6f, 0x64, 0x65, 0x22, 0x34, 0x0a, 0x0f, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, + 0x72, 0x65, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, 0x4e, 0x45, + 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x4d, 0x50, 0x54, 0x59, 0x10, 0x01, 0x12, 0x0c, 0x0a, + 0x08, 0x43, 0x4f, 0x4e, 0x46, 0x4c, 0x49, 0x43, 0x54, 0x10, 0x02, 0x22, 0x93, 0x03, 0x0a, 0x11, + 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x76, 0x65, 0x72, 0x74, 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, 0x20, 0x0a, 0x04, 0x75, + 0x73, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x67, 0x69, 0x74, 0x61, + 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x29, 0x0a, + 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x69, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, + 0x52, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x62, 0x72, 0x61, 0x6e, + 0x63, 0x68, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x62, + 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x62, 0x72, 0x61, + 0x6e, 0x63, 0x68, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, + 0x73, 0x74, 0x61, 0x72, 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x12, + 0x3d, 0x0a, 0x10, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, + 0x6f, 0x72, 0x79, 0x18, 0x07, 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, 0x0f, 0x73, + 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x17, + 0x0a, 0x07, 0x64, 0x72, 0x79, 0x5f, 0x72, 0x75, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x06, 0x64, 0x72, 0x79, 0x52, 0x75, 0x6e, 0x12, 0x38, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, + 0x74, 0x61, 0x6d, 0x70, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, + 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, + 0x70, 0x22, 0xea, 0x02, 0x0a, 0x12, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x76, 0x65, 0x72, 0x74, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x42, 0x0a, 0x0d, 0x62, 0x72, 0x61, 0x6e, + 0x63, 0x68, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x0c, + 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x2a, 0x0a, 0x11, + 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x72, 0x65, 0x65, 0x5f, 0x65, 0x72, 0x72, 0x6f, + 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, + 0x72, 0x65, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x6d, + 0x69, 0x74, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, + 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x2a, 0x0a, 0x11, 0x70, + 0x72, 0x65, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x70, 0x72, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, + 0x76, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x5f, 0x0a, 0x16, 0x63, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x5f, 0x74, 0x72, 0x65, 0x65, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x63, 0x6f, 0x64, + 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2a, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, + 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x76, 0x65, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x65, 0x65, 0x45, 0x72, + 0x72, 0x6f, 0x72, 0x52, 0x13, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x65, 0x65, 0x45, + 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x22, 0x34, 0x0a, 0x0f, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x54, 0x72, 0x65, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x08, 0x0a, 0x04, 0x4e, + 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x4d, 0x50, 0x54, 0x59, 0x10, 0x01, + 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x4f, 0x4e, 0x46, 0x4c, 0x49, 0x43, 0x54, 0x10, 0x02, 0x22, 0xf5, + 0x02, 0x0a, 0x1b, 0x55, 0x73, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x46, 0x69, 0x6c, + 0x65, 0x73, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x46, + 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2e, + 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x6d, + 0x69, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x65, 0x61, + 0x64, 0x65, 0x72, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x06, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x70, + 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x50, + 0x61, 0x74, 0x68, 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x5f, + 0x70, 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x70, 0x72, 0x65, 0x76, + 0x69, 0x6f, 0x75, 0x73, 0x50, 0x61, 0x74, 0x68, 0x12, 0x25, 0x0a, 0x0e, 0x62, 0x61, 0x73, 0x65, + 0x36, 0x34, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x0d, 0x62, 0x61, 0x73, 0x65, 0x36, 0x34, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, + 0x29, 0x0a, 0x10, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x6d, + 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x65, 0x78, 0x65, 0x63, 0x75, + 0x74, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x6d, 0x6f, 0x64, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x69, 0x6e, + 0x66, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x0c, 0x69, 0x6e, 0x66, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x22, + 0x55, 0x0a, 0x0a, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0a, 0x0a, + 0x06, 0x43, 0x52, 0x45, 0x41, 0x54, 0x45, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x43, 0x52, 0x45, + 0x41, 0x54, 0x45, 0x5f, 0x44, 0x49, 0x52, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x55, 0x50, 0x44, + 0x41, 0x54, 0x45, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x4d, 0x4f, 0x56, 0x45, 0x10, 0x03, 0x12, + 0x0a, 0x0a, 0x06, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x10, 0x04, 0x12, 0x09, 0x0a, 0x05, 0x43, + 0x48, 0x4d, 0x4f, 0x44, 0x10, 0x05, 0x22, 0x96, 0x01, 0x0a, 0x15, 0x55, 0x73, 0x65, 0x72, 0x43, + 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x12, 0x3d, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x23, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x43, 0x6f, + 0x6d, 0x6d, 0x69, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x48, + 0x65, 0x61, 0x64, 0x65, 0x72, 0x48, 0x00, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, + 0x1a, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, + 0x48, 0x00, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x42, 0x22, 0x0a, 0x20, 0x75, + 0x73, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x73, + 0x5f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x22, + 0xf8, 0x03, 0x0a, 0x1c, 0x55, 0x73, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x46, 0x69, + 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, + 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, 0x20, 0x0a, 0x04, 0x75, 0x73, + 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, + 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x1f, 0x0a, 0x0b, + 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x0a, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x25, 0x0a, + 0x0e, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x4d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x61, + 0x75, 0x74, 0x68, 0x6f, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x10, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x4e, 0x61, + 0x6d, 0x65, 0x12, 0x2e, 0x0a, 0x13, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x61, 0x75, 0x74, + 0x68, 0x6f, 0x72, 0x5f, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x11, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x45, 0x6d, 0x61, + 0x69, 0x6c, 0x12, 0x2a, 0x0a, 0x11, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x62, 0x72, 0x61, 0x6e, + 0x63, 0x68, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x73, + 0x74, 0x61, 0x72, 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3d, + 0x0a, 0x10, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, + 0x72, 0x79, 0x18, 0x08, 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, 0x0f, 0x73, 0x74, + 0x61, 0x72, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x14, 0x0a, + 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x66, 0x6f, + 0x72, 0x63, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x73, 0x68, 0x61, + 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x74, 0x61, 0x72, 0x74, 0x53, 0x68, 0x61, + 0x12, 0x38, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x0b, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, + 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0xb6, 0x01, 0x0a, 0x16, 0x55, + 0x73, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3e, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, + 0x73, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x48, 0x00, 0x52, 0x06, 0x68, + 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x37, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, + 0x73, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x41, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x23, + 0x0a, 0x21, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x66, 0x69, + 0x6c, 0x65, 0x73, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x70, 0x61, 0x79, 0x6c, + 0x6f, 0x61, 0x64, 0x22, 0xaa, 0x01, 0x0a, 0x17, 0x55, 0x73, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x6d, + 0x69, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x42, 0x0a, 0x0d, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x0c, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x5f, 0x65, 0x72, 0x72, + 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x45, + 0x72, 0x72, 0x6f, 0x72, 0x12, 0x2a, 0x0a, 0x11, 0x70, 0x72, 0x65, 0x5f, 0x72, 0x65, 0x63, 0x65, + 0x69, 0x76, 0x65, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0f, 0x70, 0x72, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, + 0x22, 0xad, 0x04, 0x0a, 0x1c, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x62, 0x61, 0x73, 0x65, 0x43, + 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x45, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, + 0x65, 0x62, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x61, 0x62, 0x6c, 0x65, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x48, 0x00, + 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x6c, + 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x05, 0x61, 0x70, 0x70, 0x6c, 0x79, + 0x1a, 0x82, 0x03, 0x0a, 0x06, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 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, 0x20, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, + 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x62, 0x61, 0x73, + 0x65, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x62, 0x61, + 0x73, 0x65, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x1d, 0x0a, 0x0a, + 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x5f, 0x73, 0x68, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x09, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x53, 0x68, 0x61, 0x12, 0x3f, 0x0a, 0x11, 0x72, + 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, + 0x18, 0x06, 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, 0x12, 0x23, 0x0a, 0x0d, + 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x18, 0x07, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, + 0x68, 0x12, 0x28, 0x0a, 0x10, 0x67, 0x69, 0x74, 0x5f, 0x70, 0x75, 0x73, 0x68, 0x5f, 0x6f, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, 0x67, 0x69, 0x74, + 0x50, 0x75, 0x73, 0x68, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x38, 0x0a, 0x09, 0x74, + 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, + 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x29, 0x0a, 0x27, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x72, 0x65, + 0x62, 0x61, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x61, 0x62, 0x6c, 0x65, + 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, + 0x22, 0xde, 0x01, 0x0a, 0x1d, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x62, 0x61, 0x73, 0x65, 0x43, + 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x1f, 0x0a, 0x0a, 0x72, 0x65, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x68, 0x61, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x09, 0x72, 0x65, 0x62, 0x61, 0x73, 0x65, + 0x53, 0x68, 0x61, 0x12, 0x27, 0x0a, 0x0e, 0x72, 0x65, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x61, 0x70, + 0x70, 0x6c, 0x69, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x0d, 0x72, + 0x65, 0x62, 0x61, 0x73, 0x65, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x65, 0x64, 0x12, 0x2a, 0x0a, 0x11, + 0x70, 0x72, 0x65, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x72, 0x72, 0x6f, + 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x70, 0x72, 0x65, 0x52, 0x65, 0x63, 0x65, + 0x69, 0x76, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x67, 0x69, 0x74, 0x5f, + 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x67, 0x69, 0x74, + 0x45, 0x72, 0x72, 0x6f, 0x72, 0x42, 0x2a, 0x0a, 0x28, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x72, 0x65, + 0x62, 0x61, 0x73, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x61, 0x62, 0x6c, 0x65, + 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, + 0x64, 0x22, 0xcf, 0x02, 0x0a, 0x11, 0x55, 0x73, 0x65, 0x72, 0x53, 0x71, 0x75, 0x61, 0x73, 0x68, + 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, 0x20, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x0c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, + 0x73, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x71, 0x75, 0x61, 0x73, 0x68, 0x5f, 0x69, 0x64, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x71, 0x75, 0x61, 0x73, 0x68, 0x49, 0x64, + 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x73, 0x68, 0x61, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x74, 0x61, 0x72, 0x74, 0x53, 0x68, 0x61, 0x12, 0x17, 0x0a, + 0x07, 0x65, 0x6e, 0x64, 0x5f, 0x73, 0x68, 0x61, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, + 0x65, 0x6e, 0x64, 0x53, 0x68, 0x61, 0x12, 0x24, 0x0a, 0x06, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, + 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x55, 0x73, 0x65, 0x72, 0x52, 0x06, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x12, 0x25, 0x0a, 0x0e, + 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x08, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x4d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x12, 0x38, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, + 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, + 0x6d, 0x70, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x4a, 0x04, 0x08, + 0x04, 0x10, 0x05, 0x22, 0x69, 0x0a, 0x12, 0x55, 0x73, 0x65, 0x72, 0x53, 0x71, 0x75, 0x61, 0x73, + 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x71, 0x75, + 0x61, 0x73, 0x68, 0x5f, 0x73, 0x68, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, + 0x71, 0x75, 0x61, 0x73, 0x68, 0x53, 0x68, 0x61, 0x12, 0x1b, 0x0a, 0x09, 0x67, 0x69, 0x74, 0x5f, + 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x67, 0x69, 0x74, + 0x45, 0x72, 0x72, 0x6f, 0x72, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x52, 0x11, 0x70, 0x72, 0x65, + 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0xdd, + 0x02, 0x0a, 0x15, 0x55, 0x73, 0x65, 0x72, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x50, 0x61, 0x74, 0x63, + 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3e, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, + 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, + 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x50, 0x61, 0x74, 0x63, 0x68, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x48, 0x00, + 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x07, 0x70, 0x61, 0x74, 0x63, + 0x68, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x07, 0x70, 0x61, 0x74, + 0x63, 0x68, 0x65, 0x73, 0x1a, 0xc3, 0x01, 0x0a, 0x06, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 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, 0x20, 0x0a, 0x04, 0x75, 0x73, 0x65, + 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, + 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x23, 0x0a, 0x0d, 0x74, + 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x0c, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, + 0x12, 0x38, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, + 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x22, 0x0a, 0x20, 0x75, 0x73, + 0x65, 0x72, 0x5f, 0x61, 0x70, 0x70, 0x6c, 0x79, 0x5f, 0x70, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x72, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x22, 0x5c, + 0x0a, 0x16, 0x55, 0x73, 0x65, 0x72, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x50, 0x61, 0x74, 0x63, 0x68, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x42, 0x0a, 0x0d, 0x62, 0x72, 0x61, 0x6e, + 0x63, 0x68, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x0c, + 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x22, 0xae, 0x02, 0x0a, + 0x1a, 0x55, 0x73, 0x65, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x6d, 0x6f, + 0x64, 0x75, 0x6c, 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, 0x20, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, + 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x69, + 0x74, 0x5f, 0x73, 0x68, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f, 0x6d, + 0x6d, 0x69, 0x74, 0x53, 0x68, 0x61, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x1c, + 0x0a, 0x09, 0x73, 0x75, 0x62, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x09, 0x73, 0x75, 0x62, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x12, 0x25, 0x0a, 0x0e, + 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x4d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x12, 0x38, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, + 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, + 0x6d, 0x70, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0xc9, 0x01, + 0x0a, 0x1b, 0x55, 0x73, 0x65, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x6d, + 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x42, 0x0a, + 0x0d, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4f, 0x70, + 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x52, 0x0c, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x70, 0x72, 0x65, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, + 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x70, 0x72, + 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x21, 0x0a, + 0x0c, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, + 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x52, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, + 0x72, 0x65, 0x65, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x32, 0xed, 0x0a, 0x0a, 0x10, 0x4f, 0x70, + 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x5d, + 0x0a, 0x10, 0x55, 0x73, 0x65, 0x72, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x72, 0x61, 0x6e, + 0x63, 0x68, 0x12, 0x1f, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, + 0x72, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x5d, 0x0a, + 0x10, 0x55, 0x73, 0x65, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, + 0x68, 0x12, 0x1f, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x5d, 0x0a, 0x10, + 0x55, 0x73, 0x65, 0x72, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, + 0x12, 0x1f, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x44, 0x65, + 0x6c, 0x65, 0x74, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x20, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x44, + 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x54, 0x0a, 0x0d, 0x55, + 0x73, 0x65, 0x72, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x67, 0x12, 0x1c, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x54, 0x61, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, + 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, + 0x01, 0x12, 0x54, 0x0a, 0x0d, 0x55, 0x73, 0x65, 0x72, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, + 0x61, 0x67, 0x12, 0x1c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, + 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x1d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x44, 0x65, + 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x57, 0x0a, 0x0e, 0x55, 0x73, 0x65, 0x72, 0x4d, + 0x65, 0x72, 0x67, 0x65, 0x54, 0x6f, 0x52, 0x65, 0x66, 0x12, 0x1d, 0x2e, 0x67, 0x69, 0x74, 0x61, + 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x65, 0x72, 0x67, 0x65, 0x54, 0x6f, 0x52, 0x65, + 0x66, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, + 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x65, 0x72, 0x67, 0x65, 0x54, 0x6f, 0x52, 0x65, 0x66, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, + 0x12, 0x5e, 0x0a, 0x0f, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x65, 0x72, 0x67, 0x65, 0x42, 0x72, 0x61, + 0x6e, 0x63, 0x68, 0x12, 0x1e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, + 0x72, 0x4d, 0x65, 0x72, 0x67, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, + 0x72, 0x4d, 0x65, 0x72, 0x67, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x28, 0x01, 0x30, 0x01, + 0x12, 0x51, 0x0a, 0x0c, 0x55, 0x73, 0x65, 0x72, 0x46, 0x46, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, + 0x12, 0x1b, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x46, 0x46, + 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x46, 0x46, 0x42, 0x72, 0x61, + 0x6e, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, + 0x02, 0x08, 0x01, 0x12, 0x57, 0x0a, 0x0e, 0x55, 0x73, 0x65, 0x72, 0x43, 0x68, 0x65, 0x72, 0x72, + 0x79, 0x50, 0x69, 0x63, 0x6b, 0x12, 0x1d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, + 0x73, 0x65, 0x72, 0x43, 0x68, 0x65, 0x72, 0x72, 0x79, 0x50, 0x69, 0x63, 0x6b, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, + 0x65, 0x72, 0x43, 0x68, 0x65, 0x72, 0x72, 0x79, 0x50, 0x69, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x5c, 0x0a, 0x0f, + 0x55, 0x73, 0x65, 0x72, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x12, + 0x1e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x43, 0x6f, 0x6d, + 0x6d, 0x69, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x1f, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x43, 0x6f, 0x6d, + 0x6d, 0x69, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x28, 0x01, 0x12, 0x70, 0x0a, 0x15, 0x55, 0x73, + 0x65, 0x72, 0x52, 0x65, 0x62, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x61, + 0x62, 0x6c, 0x65, 0x12, 0x24, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, + 0x72, 0x52, 0x65, 0x62, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x61, 0x62, + 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x67, 0x69, 0x74, 0x61, + 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x62, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6e, + 0x66, 0x69, 0x72, 0x6d, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x28, 0x01, 0x30, 0x01, 0x12, 0x4b, 0x0a, 0x0a, + 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x76, 0x65, 0x72, 0x74, 0x12, 0x19, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x76, 0x65, 0x72, 0x74, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, + 0x73, 0x65, 0x72, 0x52, 0x65, 0x76, 0x65, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x4b, 0x0a, 0x0a, 0x55, 0x73, 0x65, + 0x72, 0x53, 0x71, 0x75, 0x61, 0x73, 0x68, 0x12, 0x19, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, + 0x2e, 0x55, 0x73, 0x65, 0x72, 0x53, 0x71, 0x75, 0x61, 0x73, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, + 0x53, 0x71, 0x75, 0x61, 0x73, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, + 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x59, 0x0a, 0x0e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x70, + 0x70, 0x6c, 0x79, 0x50, 0x61, 0x74, 0x63, 0x68, 0x12, 0x1d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, + 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x50, 0x61, 0x74, 0x63, 0x68, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, + 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x50, 0x61, 0x74, 0x63, 0x68, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x28, + 0x01, 0x12, 0x66, 0x0a, 0x13, 0x55, 0x73, 0x65, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, + 0x75, 0x62, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x12, 0x22, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, + 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x6d, + 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x53, 0x75, 0x62, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x42, 0x30, 0x5a, 0x2e, 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, 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_operations_proto_rawDescOnce sync.Once + file_operations_proto_rawDescData = file_operations_proto_rawDesc +) + +func file_operations_proto_rawDescGZIP() []byte { + file_operations_proto_rawDescOnce.Do(func() { + file_operations_proto_rawDescData = protoimpl.X.CompressGZIP(file_operations_proto_rawDescData) + }) + return file_operations_proto_rawDescData +} + +var file_operations_proto_enumTypes = make([]protoimpl.EnumInfo, 3) +var file_operations_proto_msgTypes = make([]protoimpl.MessageInfo, 36) +var file_operations_proto_goTypes = []interface{}{ + (UserCherryPickResponse_CreateTreeError)(0), // 0: gitaly.UserCherryPickResponse.CreateTreeError + (UserRevertResponse_CreateTreeError)(0), // 1: gitaly.UserRevertResponse.CreateTreeError + (UserCommitFilesActionHeader_ActionType)(0), // 2: gitaly.UserCommitFilesActionHeader.ActionType + (*UserCreateBranchRequest)(nil), // 3: gitaly.UserCreateBranchRequest + (*UserCreateBranchResponse)(nil), // 4: gitaly.UserCreateBranchResponse + (*UserUpdateBranchRequest)(nil), // 5: gitaly.UserUpdateBranchRequest + (*UserUpdateBranchResponse)(nil), // 6: gitaly.UserUpdateBranchResponse + (*UserDeleteBranchRequest)(nil), // 7: gitaly.UserDeleteBranchRequest + (*UserDeleteBranchResponse)(nil), // 8: gitaly.UserDeleteBranchResponse + (*UserDeleteTagRequest)(nil), // 9: gitaly.UserDeleteTagRequest + (*UserDeleteTagResponse)(nil), // 10: gitaly.UserDeleteTagResponse + (*UserCreateTagRequest)(nil), // 11: gitaly.UserCreateTagRequest + (*UserCreateTagResponse)(nil), // 12: gitaly.UserCreateTagResponse + (*UserMergeBranchRequest)(nil), // 13: gitaly.UserMergeBranchRequest + (*UserMergeBranchResponse)(nil), // 14: gitaly.UserMergeBranchResponse + (*UserMergeToRefRequest)(nil), // 15: gitaly.UserMergeToRefRequest + (*UserMergeToRefResponse)(nil), // 16: gitaly.UserMergeToRefResponse + (*OperationBranchUpdate)(nil), // 17: gitaly.OperationBranchUpdate + (*UserFFBranchRequest)(nil), // 18: gitaly.UserFFBranchRequest + (*UserFFBranchResponse)(nil), // 19: gitaly.UserFFBranchResponse + (*UserCherryPickRequest)(nil), // 20: gitaly.UserCherryPickRequest + (*UserCherryPickResponse)(nil), // 21: gitaly.UserCherryPickResponse + (*UserRevertRequest)(nil), // 22: gitaly.UserRevertRequest + (*UserRevertResponse)(nil), // 23: gitaly.UserRevertResponse + (*UserCommitFilesActionHeader)(nil), // 24: gitaly.UserCommitFilesActionHeader + (*UserCommitFilesAction)(nil), // 25: gitaly.UserCommitFilesAction + (*UserCommitFilesRequestHeader)(nil), // 26: gitaly.UserCommitFilesRequestHeader + (*UserCommitFilesRequest)(nil), // 27: gitaly.UserCommitFilesRequest + (*UserCommitFilesResponse)(nil), // 28: gitaly.UserCommitFilesResponse + (*UserRebaseConfirmableRequest)(nil), // 29: gitaly.UserRebaseConfirmableRequest + (*UserRebaseConfirmableResponse)(nil), // 30: gitaly.UserRebaseConfirmableResponse + (*UserSquashRequest)(nil), // 31: gitaly.UserSquashRequest + (*UserSquashResponse)(nil), // 32: gitaly.UserSquashResponse + (*UserApplyPatchRequest)(nil), // 33: gitaly.UserApplyPatchRequest + (*UserApplyPatchResponse)(nil), // 34: gitaly.UserApplyPatchResponse + (*UserUpdateSubmoduleRequest)(nil), // 35: gitaly.UserUpdateSubmoduleRequest + (*UserUpdateSubmoduleResponse)(nil), // 36: gitaly.UserUpdateSubmoduleResponse + (*UserRebaseConfirmableRequest_Header)(nil), // 37: gitaly.UserRebaseConfirmableRequest.Header + (*UserApplyPatchRequest_Header)(nil), // 38: gitaly.UserApplyPatchRequest.Header + (*Repository)(nil), // 39: gitaly.Repository + (*User)(nil), // 40: gitaly.User + (*Branch)(nil), // 41: gitaly.Branch + (*timestamp.Timestamp)(nil), // 42: google.protobuf.Timestamp + (*Tag)(nil), // 43: gitaly.Tag + (*GitCommit)(nil), // 44: gitaly.GitCommit +} +var file_operations_proto_depIdxs = []int32{ + 39, // 0: gitaly.UserCreateBranchRequest.repository:type_name -> gitaly.Repository + 40, // 1: gitaly.UserCreateBranchRequest.user:type_name -> gitaly.User + 41, // 2: gitaly.UserCreateBranchResponse.branch:type_name -> gitaly.Branch + 39, // 3: gitaly.UserUpdateBranchRequest.repository:type_name -> gitaly.Repository + 40, // 4: gitaly.UserUpdateBranchRequest.user:type_name -> gitaly.User + 39, // 5: gitaly.UserDeleteBranchRequest.repository:type_name -> gitaly.Repository + 40, // 6: gitaly.UserDeleteBranchRequest.user:type_name -> gitaly.User + 39, // 7: gitaly.UserDeleteTagRequest.repository:type_name -> gitaly.Repository + 40, // 8: gitaly.UserDeleteTagRequest.user:type_name -> gitaly.User + 39, // 9: gitaly.UserCreateTagRequest.repository:type_name -> gitaly.Repository + 40, // 10: gitaly.UserCreateTagRequest.user:type_name -> gitaly.User + 42, // 11: gitaly.UserCreateTagRequest.timestamp:type_name -> google.protobuf.Timestamp + 43, // 12: gitaly.UserCreateTagResponse.tag:type_name -> gitaly.Tag + 39, // 13: gitaly.UserMergeBranchRequest.repository:type_name -> gitaly.Repository + 40, // 14: gitaly.UserMergeBranchRequest.user:type_name -> gitaly.User + 42, // 15: gitaly.UserMergeBranchRequest.timestamp:type_name -> google.protobuf.Timestamp + 17, // 16: gitaly.UserMergeBranchResponse.branch_update:type_name -> gitaly.OperationBranchUpdate + 39, // 17: gitaly.UserMergeToRefRequest.repository:type_name -> gitaly.Repository + 40, // 18: gitaly.UserMergeToRefRequest.user:type_name -> gitaly.User + 42, // 19: gitaly.UserMergeToRefRequest.timestamp:type_name -> google.protobuf.Timestamp + 39, // 20: gitaly.UserFFBranchRequest.repository:type_name -> gitaly.Repository + 40, // 21: gitaly.UserFFBranchRequest.user:type_name -> gitaly.User + 17, // 22: gitaly.UserFFBranchResponse.branch_update:type_name -> gitaly.OperationBranchUpdate + 39, // 23: gitaly.UserCherryPickRequest.repository:type_name -> gitaly.Repository + 40, // 24: gitaly.UserCherryPickRequest.user:type_name -> gitaly.User + 44, // 25: gitaly.UserCherryPickRequest.commit:type_name -> gitaly.GitCommit + 39, // 26: gitaly.UserCherryPickRequest.start_repository:type_name -> gitaly.Repository + 42, // 27: gitaly.UserCherryPickRequest.timestamp:type_name -> google.protobuf.Timestamp + 17, // 28: gitaly.UserCherryPickResponse.branch_update:type_name -> gitaly.OperationBranchUpdate + 0, // 29: gitaly.UserCherryPickResponse.create_tree_error_code:type_name -> gitaly.UserCherryPickResponse.CreateTreeError + 39, // 30: gitaly.UserRevertRequest.repository:type_name -> gitaly.Repository + 40, // 31: gitaly.UserRevertRequest.user:type_name -> gitaly.User + 44, // 32: gitaly.UserRevertRequest.commit:type_name -> gitaly.GitCommit + 39, // 33: gitaly.UserRevertRequest.start_repository:type_name -> gitaly.Repository + 42, // 34: gitaly.UserRevertRequest.timestamp:type_name -> google.protobuf.Timestamp + 17, // 35: gitaly.UserRevertResponse.branch_update:type_name -> gitaly.OperationBranchUpdate + 1, // 36: gitaly.UserRevertResponse.create_tree_error_code:type_name -> gitaly.UserRevertResponse.CreateTreeError + 2, // 37: gitaly.UserCommitFilesActionHeader.action:type_name -> gitaly.UserCommitFilesActionHeader.ActionType + 24, // 38: gitaly.UserCommitFilesAction.header:type_name -> gitaly.UserCommitFilesActionHeader + 39, // 39: gitaly.UserCommitFilesRequestHeader.repository:type_name -> gitaly.Repository + 40, // 40: gitaly.UserCommitFilesRequestHeader.user:type_name -> gitaly.User + 39, // 41: gitaly.UserCommitFilesRequestHeader.start_repository:type_name -> gitaly.Repository + 42, // 42: gitaly.UserCommitFilesRequestHeader.timestamp:type_name -> google.protobuf.Timestamp + 26, // 43: gitaly.UserCommitFilesRequest.header:type_name -> gitaly.UserCommitFilesRequestHeader + 25, // 44: gitaly.UserCommitFilesRequest.action:type_name -> gitaly.UserCommitFilesAction + 17, // 45: gitaly.UserCommitFilesResponse.branch_update:type_name -> gitaly.OperationBranchUpdate + 37, // 46: gitaly.UserRebaseConfirmableRequest.header:type_name -> gitaly.UserRebaseConfirmableRequest.Header + 39, // 47: gitaly.UserSquashRequest.repository:type_name -> gitaly.Repository + 40, // 48: gitaly.UserSquashRequest.user:type_name -> gitaly.User + 40, // 49: gitaly.UserSquashRequest.author:type_name -> gitaly.User + 42, // 50: gitaly.UserSquashRequest.timestamp:type_name -> google.protobuf.Timestamp + 38, // 51: gitaly.UserApplyPatchRequest.header:type_name -> gitaly.UserApplyPatchRequest.Header + 17, // 52: gitaly.UserApplyPatchResponse.branch_update:type_name -> gitaly.OperationBranchUpdate + 39, // 53: gitaly.UserUpdateSubmoduleRequest.repository:type_name -> gitaly.Repository + 40, // 54: gitaly.UserUpdateSubmoduleRequest.user:type_name -> gitaly.User + 42, // 55: gitaly.UserUpdateSubmoduleRequest.timestamp:type_name -> google.protobuf.Timestamp + 17, // 56: gitaly.UserUpdateSubmoduleResponse.branch_update:type_name -> gitaly.OperationBranchUpdate + 39, // 57: gitaly.UserRebaseConfirmableRequest.Header.repository:type_name -> gitaly.Repository + 40, // 58: gitaly.UserRebaseConfirmableRequest.Header.user:type_name -> gitaly.User + 39, // 59: gitaly.UserRebaseConfirmableRequest.Header.remote_repository:type_name -> gitaly.Repository + 42, // 60: gitaly.UserRebaseConfirmableRequest.Header.timestamp:type_name -> google.protobuf.Timestamp + 39, // 61: gitaly.UserApplyPatchRequest.Header.repository:type_name -> gitaly.Repository + 40, // 62: gitaly.UserApplyPatchRequest.Header.user:type_name -> gitaly.User + 42, // 63: gitaly.UserApplyPatchRequest.Header.timestamp:type_name -> google.protobuf.Timestamp + 3, // 64: gitaly.OperationService.UserCreateBranch:input_type -> gitaly.UserCreateBranchRequest + 5, // 65: gitaly.OperationService.UserUpdateBranch:input_type -> gitaly.UserUpdateBranchRequest + 7, // 66: gitaly.OperationService.UserDeleteBranch:input_type -> gitaly.UserDeleteBranchRequest + 11, // 67: gitaly.OperationService.UserCreateTag:input_type -> gitaly.UserCreateTagRequest + 9, // 68: gitaly.OperationService.UserDeleteTag:input_type -> gitaly.UserDeleteTagRequest + 15, // 69: gitaly.OperationService.UserMergeToRef:input_type -> gitaly.UserMergeToRefRequest + 13, // 70: gitaly.OperationService.UserMergeBranch:input_type -> gitaly.UserMergeBranchRequest + 18, // 71: gitaly.OperationService.UserFFBranch:input_type -> gitaly.UserFFBranchRequest + 20, // 72: gitaly.OperationService.UserCherryPick:input_type -> gitaly.UserCherryPickRequest + 27, // 73: gitaly.OperationService.UserCommitFiles:input_type -> gitaly.UserCommitFilesRequest + 29, // 74: gitaly.OperationService.UserRebaseConfirmable:input_type -> gitaly.UserRebaseConfirmableRequest + 22, // 75: gitaly.OperationService.UserRevert:input_type -> gitaly.UserRevertRequest + 31, // 76: gitaly.OperationService.UserSquash:input_type -> gitaly.UserSquashRequest + 33, // 77: gitaly.OperationService.UserApplyPatch:input_type -> gitaly.UserApplyPatchRequest + 35, // 78: gitaly.OperationService.UserUpdateSubmodule:input_type -> gitaly.UserUpdateSubmoduleRequest + 4, // 79: gitaly.OperationService.UserCreateBranch:output_type -> gitaly.UserCreateBranchResponse + 6, // 80: gitaly.OperationService.UserUpdateBranch:output_type -> gitaly.UserUpdateBranchResponse + 8, // 81: gitaly.OperationService.UserDeleteBranch:output_type -> gitaly.UserDeleteBranchResponse + 12, // 82: gitaly.OperationService.UserCreateTag:output_type -> gitaly.UserCreateTagResponse + 10, // 83: gitaly.OperationService.UserDeleteTag:output_type -> gitaly.UserDeleteTagResponse + 16, // 84: gitaly.OperationService.UserMergeToRef:output_type -> gitaly.UserMergeToRefResponse + 14, // 85: gitaly.OperationService.UserMergeBranch:output_type -> gitaly.UserMergeBranchResponse + 19, // 86: gitaly.OperationService.UserFFBranch:output_type -> gitaly.UserFFBranchResponse + 21, // 87: gitaly.OperationService.UserCherryPick:output_type -> gitaly.UserCherryPickResponse + 28, // 88: gitaly.OperationService.UserCommitFiles:output_type -> gitaly.UserCommitFilesResponse + 30, // 89: gitaly.OperationService.UserRebaseConfirmable:output_type -> gitaly.UserRebaseConfirmableResponse + 23, // 90: gitaly.OperationService.UserRevert:output_type -> gitaly.UserRevertResponse + 32, // 91: gitaly.OperationService.UserSquash:output_type -> gitaly.UserSquashResponse + 34, // 92: gitaly.OperationService.UserApplyPatch:output_type -> gitaly.UserApplyPatchResponse + 36, // 93: gitaly.OperationService.UserUpdateSubmodule:output_type -> gitaly.UserUpdateSubmoduleResponse + 79, // [79:94] is the sub-list for method output_type + 64, // [64:79] is the sub-list for method input_type + 64, // [64:64] is the sub-list for extension type_name + 64, // [64:64] is the sub-list for extension extendee + 0, // [0:64] is the sub-list for field type_name +} + +func init() { file_operations_proto_init() } +func file_operations_proto_init() { + if File_operations_proto != nil { + return + } + file_lint_proto_init() + file_shared_proto_init() + if !protoimpl.UnsafeEnabled { + file_operations_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserCreateBranchRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_operations_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserCreateBranchResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_operations_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserUpdateBranchRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_operations_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserUpdateBranchResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_operations_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserDeleteBranchRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_operations_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserDeleteBranchResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_operations_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserDeleteTagRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_operations_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserDeleteTagResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_operations_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserCreateTagRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_operations_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserCreateTagResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_operations_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserMergeBranchRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_operations_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserMergeBranchResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_operations_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserMergeToRefRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_operations_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserMergeToRefResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_operations_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*OperationBranchUpdate); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_operations_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserFFBranchRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_operations_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserFFBranchResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_operations_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserCherryPickRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_operations_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserCherryPickResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_operations_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserRevertRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_operations_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserRevertResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_operations_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserCommitFilesActionHeader); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_operations_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserCommitFilesAction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_operations_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserCommitFilesRequestHeader); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_operations_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserCommitFilesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_operations_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserCommitFilesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_operations_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserRebaseConfirmableRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_operations_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserRebaseConfirmableResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_operations_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserSquashRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_operations_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserSquashResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_operations_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserApplyPatchRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_operations_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserApplyPatchResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_operations_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserUpdateSubmoduleRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_operations_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserUpdateSubmoduleResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_operations_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserRebaseConfirmableRequest_Header); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_operations_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserApplyPatchRequest_Header); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_operations_proto_msgTypes[22].OneofWrappers = []interface{}{ + (*UserCommitFilesAction_Header)(nil), + (*UserCommitFilesAction_Content)(nil), + } + file_operations_proto_msgTypes[24].OneofWrappers = []interface{}{ + (*UserCommitFilesRequest_Header)(nil), + (*UserCommitFilesRequest_Action)(nil), + } + file_operations_proto_msgTypes[26].OneofWrappers = []interface{}{ + (*UserRebaseConfirmableRequest_Header_)(nil), + (*UserRebaseConfirmableRequest_Apply)(nil), + } + file_operations_proto_msgTypes[27].OneofWrappers = []interface{}{ + (*UserRebaseConfirmableResponse_RebaseSha)(nil), + (*UserRebaseConfirmableResponse_RebaseApplied)(nil), + } + file_operations_proto_msgTypes[30].OneofWrappers = []interface{}{ + (*UserApplyPatchRequest_Header_)(nil), + (*UserApplyPatchRequest_Patches)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_operations_proto_rawDesc, + NumEnums: 3, + NumMessages: 36, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_operations_proto_goTypes, + DependencyIndexes: file_operations_proto_depIdxs, + EnumInfos: file_operations_proto_enumTypes, + MessageInfos: file_operations_proto_msgTypes, + }.Build() + File_operations_proto = out.File + file_operations_proto_rawDesc = nil + file_operations_proto_goTypes = nil + file_operations_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConn +var _ grpc.ClientConnInterface // 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 +const _ = grpc.SupportPackageIsVersion6 // OperationServiceClient is the client API for OperationService service. // @@ -3118,10 +4504,10 @@ type OperationServiceClient interface { } type operationServiceClient struct { - cc *grpc.ClientConn + cc grpc.ClientConnInterface } -func NewOperationServiceClient(cc *grpc.ClientConn) OperationServiceClient { +func NewOperationServiceClient(cc grpc.ClientConnInterface) OperationServiceClient { return &operationServiceClient{cc} } @@ -3413,49 +4799,49 @@ type OperationServiceServer interface { type UnimplementedOperationServiceServer struct { } -func (*UnimplementedOperationServiceServer) UserCreateBranch(ctx context.Context, req *UserCreateBranchRequest) (*UserCreateBranchResponse, error) { +func (*UnimplementedOperationServiceServer) UserCreateBranch(context.Context, *UserCreateBranchRequest) (*UserCreateBranchResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method UserCreateBranch not implemented") } -func (*UnimplementedOperationServiceServer) UserUpdateBranch(ctx context.Context, req *UserUpdateBranchRequest) (*UserUpdateBranchResponse, error) { +func (*UnimplementedOperationServiceServer) UserUpdateBranch(context.Context, *UserUpdateBranchRequest) (*UserUpdateBranchResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method UserUpdateBranch not implemented") } -func (*UnimplementedOperationServiceServer) UserDeleteBranch(ctx context.Context, req *UserDeleteBranchRequest) (*UserDeleteBranchResponse, error) { +func (*UnimplementedOperationServiceServer) UserDeleteBranch(context.Context, *UserDeleteBranchRequest) (*UserDeleteBranchResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method UserDeleteBranch not implemented") } -func (*UnimplementedOperationServiceServer) UserCreateTag(ctx context.Context, req *UserCreateTagRequest) (*UserCreateTagResponse, error) { +func (*UnimplementedOperationServiceServer) UserCreateTag(context.Context, *UserCreateTagRequest) (*UserCreateTagResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method UserCreateTag not implemented") } -func (*UnimplementedOperationServiceServer) UserDeleteTag(ctx context.Context, req *UserDeleteTagRequest) (*UserDeleteTagResponse, error) { +func (*UnimplementedOperationServiceServer) UserDeleteTag(context.Context, *UserDeleteTagRequest) (*UserDeleteTagResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method UserDeleteTag not implemented") } -func (*UnimplementedOperationServiceServer) UserMergeToRef(ctx context.Context, req *UserMergeToRefRequest) (*UserMergeToRefResponse, error) { +func (*UnimplementedOperationServiceServer) UserMergeToRef(context.Context, *UserMergeToRefRequest) (*UserMergeToRefResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method UserMergeToRef not implemented") } -func (*UnimplementedOperationServiceServer) UserMergeBranch(srv OperationService_UserMergeBranchServer) error { +func (*UnimplementedOperationServiceServer) UserMergeBranch(OperationService_UserMergeBranchServer) error { return status.Errorf(codes.Unimplemented, "method UserMergeBranch not implemented") } -func (*UnimplementedOperationServiceServer) UserFFBranch(ctx context.Context, req *UserFFBranchRequest) (*UserFFBranchResponse, error) { +func (*UnimplementedOperationServiceServer) UserFFBranch(context.Context, *UserFFBranchRequest) (*UserFFBranchResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method UserFFBranch not implemented") } -func (*UnimplementedOperationServiceServer) UserCherryPick(ctx context.Context, req *UserCherryPickRequest) (*UserCherryPickResponse, error) { +func (*UnimplementedOperationServiceServer) UserCherryPick(context.Context, *UserCherryPickRequest) (*UserCherryPickResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method UserCherryPick not implemented") } -func (*UnimplementedOperationServiceServer) UserCommitFiles(srv OperationService_UserCommitFilesServer) error { +func (*UnimplementedOperationServiceServer) UserCommitFiles(OperationService_UserCommitFilesServer) error { return status.Errorf(codes.Unimplemented, "method UserCommitFiles not implemented") } -func (*UnimplementedOperationServiceServer) UserRebaseConfirmable(srv OperationService_UserRebaseConfirmableServer) error { +func (*UnimplementedOperationServiceServer) UserRebaseConfirmable(OperationService_UserRebaseConfirmableServer) error { return status.Errorf(codes.Unimplemented, "method UserRebaseConfirmable not implemented") } -func (*UnimplementedOperationServiceServer) UserRevert(ctx context.Context, req *UserRevertRequest) (*UserRevertResponse, error) { +func (*UnimplementedOperationServiceServer) UserRevert(context.Context, *UserRevertRequest) (*UserRevertResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method UserRevert not implemented") } -func (*UnimplementedOperationServiceServer) UserSquash(ctx context.Context, req *UserSquashRequest) (*UserSquashResponse, error) { +func (*UnimplementedOperationServiceServer) UserSquash(context.Context, *UserSquashRequest) (*UserSquashResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method UserSquash not implemented") } -func (*UnimplementedOperationServiceServer) UserApplyPatch(srv OperationService_UserApplyPatchServer) error { +func (*UnimplementedOperationServiceServer) UserApplyPatch(OperationService_UserApplyPatchServer) error { return status.Errorf(codes.Unimplemented, "method UserApplyPatch not implemented") } -func (*UnimplementedOperationServiceServer) UserUpdateSubmodule(ctx context.Context, req *UserUpdateSubmoduleRequest) (*UserUpdateSubmoduleResponse, error) { +func (*UnimplementedOperationServiceServer) UserUpdateSubmodule(context.Context, *UserUpdateSubmoduleRequest) (*UserUpdateSubmoduleResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method UserUpdateSubmodule not implemented") } diff --git a/proto/go/gitalypb/praefect.pb.go b/proto/go/gitalypb/praefect.pb.go index dd02606e6..f86086583 100644 --- a/proto/go/gitalypb/praefect.pb.go +++ b/proto/go/gitalypb/praefect.pb.go @@ -1,805 +1,1224 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc v3.12.4 // source: praefect.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 +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) +) -// 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 +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 // SetReplicationFactorRequest sets the desired replication factor for a repository. type SetReplicationFactorRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // virtual_storage is the virtual storage the repository is located in VirtualStorage string `protobuf:"bytes,1,opt,name=virtual_storage,json=virtualStorage,proto3" json:"virtual_storage,omitempty"` // relative_path is the relative path of the repository RelativePath string `protobuf:"bytes,2,opt,name=relative_path,json=relativePath,proto3" json:"relative_path,omitempty"` // replication_factor is the desired replication factor. Replication must be equal or greater than 1. - ReplicationFactor int32 `protobuf:"varint,3,opt,name=replication_factor,json=replicationFactor,proto3" json:"replication_factor,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ReplicationFactor int32 `protobuf:"varint,3,opt,name=replication_factor,json=replicationFactor,proto3" json:"replication_factor,omitempty"` } -func (m *SetReplicationFactorRequest) Reset() { *m = SetReplicationFactorRequest{} } -func (m *SetReplicationFactorRequest) String() string { return proto.CompactTextString(m) } -func (*SetReplicationFactorRequest) ProtoMessage() {} -func (*SetReplicationFactorRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d32bf44842ead735, []int{0} +func (x *SetReplicationFactorRequest) Reset() { + *x = SetReplicationFactorRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_praefect_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *SetReplicationFactorRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetReplicationFactorRequest.Unmarshal(m, b) -} -func (m *SetReplicationFactorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetReplicationFactorRequest.Marshal(b, m, deterministic) -} -func (m *SetReplicationFactorRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetReplicationFactorRequest.Merge(m, src) -} -func (m *SetReplicationFactorRequest) XXX_Size() int { - return xxx_messageInfo_SetReplicationFactorRequest.Size(m) +func (x *SetReplicationFactorRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SetReplicationFactorRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SetReplicationFactorRequest.DiscardUnknown(m) + +func (*SetReplicationFactorRequest) ProtoMessage() {} + +func (x *SetReplicationFactorRequest) ProtoReflect() protoreflect.Message { + mi := &file_praefect_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_SetReplicationFactorRequest proto.InternalMessageInfo +// Deprecated: Use SetReplicationFactorRequest.ProtoReflect.Descriptor instead. +func (*SetReplicationFactorRequest) Descriptor() ([]byte, []int) { + return file_praefect_proto_rawDescGZIP(), []int{0} +} -func (m *SetReplicationFactorRequest) GetVirtualStorage() string { - if m != nil { - return m.VirtualStorage +func (x *SetReplicationFactorRequest) GetVirtualStorage() string { + if x != nil { + return x.VirtualStorage } return "" } -func (m *SetReplicationFactorRequest) GetRelativePath() string { - if m != nil { - return m.RelativePath +func (x *SetReplicationFactorRequest) GetRelativePath() string { + if x != nil { + return x.RelativePath } return "" } -func (m *SetReplicationFactorRequest) GetReplicationFactor() int32 { - if m != nil { - return m.ReplicationFactor +func (x *SetReplicationFactorRequest) GetReplicationFactor() int32 { + if x != nil { + return x.ReplicationFactor } return 0 } // SetReplicationFactorResponse returns the assigned hosts after setting the desired replication factor. type SetReplicationFactorResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // storages are the storages assigned to host the repository. - Storages []string `protobuf:"bytes,1,rep,name=storages,proto3" json:"storages,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Storages []string `protobuf:"bytes,1,rep,name=storages,proto3" json:"storages,omitempty"` } -func (m *SetReplicationFactorResponse) Reset() { *m = SetReplicationFactorResponse{} } -func (m *SetReplicationFactorResponse) String() string { return proto.CompactTextString(m) } -func (*SetReplicationFactorResponse) ProtoMessage() {} -func (*SetReplicationFactorResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d32bf44842ead735, []int{1} +func (x *SetReplicationFactorResponse) Reset() { + *x = SetReplicationFactorResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_praefect_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *SetReplicationFactorResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetReplicationFactorResponse.Unmarshal(m, b) +func (x *SetReplicationFactorResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SetReplicationFactorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetReplicationFactorResponse.Marshal(b, m, deterministic) -} -func (m *SetReplicationFactorResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetReplicationFactorResponse.Merge(m, src) -} -func (m *SetReplicationFactorResponse) XXX_Size() int { - return xxx_messageInfo_SetReplicationFactorResponse.Size(m) -} -func (m *SetReplicationFactorResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SetReplicationFactorResponse.DiscardUnknown(m) + +func (*SetReplicationFactorResponse) ProtoMessage() {} + +func (x *SetReplicationFactorResponse) ProtoReflect() protoreflect.Message { + mi := &file_praefect_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) } -var xxx_messageInfo_SetReplicationFactorResponse proto.InternalMessageInfo +// Deprecated: Use SetReplicationFactorResponse.ProtoReflect.Descriptor instead. +func (*SetReplicationFactorResponse) Descriptor() ([]byte, []int) { + return file_praefect_proto_rawDescGZIP(), []int{1} +} -func (m *SetReplicationFactorResponse) GetStorages() []string { - if m != nil { - return m.Storages +func (x *SetReplicationFactorResponse) GetStorages() []string { + if x != nil { + return x.Storages } return nil } type SetAuthoritativeStorageRequest struct { - VirtualStorage string `protobuf:"bytes,1,opt,name=virtual_storage,json=virtualStorage,proto3" json:"virtual_storage,omitempty"` - RelativePath string `protobuf:"bytes,2,opt,name=relative_path,json=relativePath,proto3" json:"relative_path,omitempty"` - AuthoritativeStorage string `protobuf:"bytes,3,opt,name=authoritative_storage,json=authoritativeStorage,proto3" json:"authoritative_storage,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *SetAuthoritativeStorageRequest) Reset() { *m = SetAuthoritativeStorageRequest{} } -func (m *SetAuthoritativeStorageRequest) String() string { return proto.CompactTextString(m) } -func (*SetAuthoritativeStorageRequest) ProtoMessage() {} -func (*SetAuthoritativeStorageRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d32bf44842ead735, []int{2} + VirtualStorage string `protobuf:"bytes,1,opt,name=virtual_storage,json=virtualStorage,proto3" json:"virtual_storage,omitempty"` + RelativePath string `protobuf:"bytes,2,opt,name=relative_path,json=relativePath,proto3" json:"relative_path,omitempty"` + AuthoritativeStorage string `protobuf:"bytes,3,opt,name=authoritative_storage,json=authoritativeStorage,proto3" json:"authoritative_storage,omitempty"` } -func (m *SetAuthoritativeStorageRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetAuthoritativeStorageRequest.Unmarshal(m, b) -} -func (m *SetAuthoritativeStorageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetAuthoritativeStorageRequest.Marshal(b, m, deterministic) -} -func (m *SetAuthoritativeStorageRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetAuthoritativeStorageRequest.Merge(m, src) +func (x *SetAuthoritativeStorageRequest) Reset() { + *x = SetAuthoritativeStorageRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_praefect_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *SetAuthoritativeStorageRequest) XXX_Size() int { - return xxx_messageInfo_SetAuthoritativeStorageRequest.Size(m) + +func (x *SetAuthoritativeStorageRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SetAuthoritativeStorageRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SetAuthoritativeStorageRequest.DiscardUnknown(m) + +func (*SetAuthoritativeStorageRequest) ProtoMessage() {} + +func (x *SetAuthoritativeStorageRequest) ProtoReflect() protoreflect.Message { + mi := &file_praefect_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_SetAuthoritativeStorageRequest proto.InternalMessageInfo +// Deprecated: Use SetAuthoritativeStorageRequest.ProtoReflect.Descriptor instead. +func (*SetAuthoritativeStorageRequest) Descriptor() ([]byte, []int) { + return file_praefect_proto_rawDescGZIP(), []int{2} +} -func (m *SetAuthoritativeStorageRequest) GetVirtualStorage() string { - if m != nil { - return m.VirtualStorage +func (x *SetAuthoritativeStorageRequest) GetVirtualStorage() string { + if x != nil { + return x.VirtualStorage } return "" } -func (m *SetAuthoritativeStorageRequest) GetRelativePath() string { - if m != nil { - return m.RelativePath +func (x *SetAuthoritativeStorageRequest) GetRelativePath() string { + if x != nil { + return x.RelativePath } return "" } -func (m *SetAuthoritativeStorageRequest) GetAuthoritativeStorage() string { - if m != nil { - return m.AuthoritativeStorage +func (x *SetAuthoritativeStorageRequest) GetAuthoritativeStorage() string { + if x != nil { + return x.AuthoritativeStorage } return "" } type SetAuthoritativeStorageResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *SetAuthoritativeStorageResponse) Reset() { *m = SetAuthoritativeStorageResponse{} } -func (m *SetAuthoritativeStorageResponse) String() string { return proto.CompactTextString(m) } -func (*SetAuthoritativeStorageResponse) ProtoMessage() {} -func (*SetAuthoritativeStorageResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d32bf44842ead735, []int{3} +func (x *SetAuthoritativeStorageResponse) Reset() { + *x = SetAuthoritativeStorageResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_praefect_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *SetAuthoritativeStorageResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetAuthoritativeStorageResponse.Unmarshal(m, b) -} -func (m *SetAuthoritativeStorageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetAuthoritativeStorageResponse.Marshal(b, m, deterministic) +func (x *SetAuthoritativeStorageResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SetAuthoritativeStorageResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetAuthoritativeStorageResponse.Merge(m, src) -} -func (m *SetAuthoritativeStorageResponse) XXX_Size() int { - return xxx_messageInfo_SetAuthoritativeStorageResponse.Size(m) -} -func (m *SetAuthoritativeStorageResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SetAuthoritativeStorageResponse.DiscardUnknown(m) + +func (*SetAuthoritativeStorageResponse) ProtoMessage() {} + +func (x *SetAuthoritativeStorageResponse) ProtoReflect() protoreflect.Message { + mi := &file_praefect_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_SetAuthoritativeStorageResponse proto.InternalMessageInfo +// Deprecated: Use SetAuthoritativeStorageResponse.ProtoReflect.Descriptor instead. +func (*SetAuthoritativeStorageResponse) Descriptor() ([]byte, []int) { + return file_praefect_proto_rawDescGZIP(), []int{3} +} type DatalossCheckRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + VirtualStorage string `protobuf:"bytes,1,opt,name=virtual_storage,json=virtualStorage,proto3" json:"virtual_storage,omitempty"` // include_partially_replicated decides whether to include repositories which are fully up to date // on the primary but are outdated on some secondaries. Such repositories are still writable and do // not suffer from data loss. The data on the primary is not fully replicated which increases the // chances of data loss following a failover. - IncludePartiallyReplicated bool `protobuf:"varint,2,opt,name=include_partially_replicated,json=includePartiallyReplicated,proto3" json:"include_partially_replicated,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + IncludePartiallyReplicated bool `protobuf:"varint,2,opt,name=include_partially_replicated,json=includePartiallyReplicated,proto3" json:"include_partially_replicated,omitempty"` } -func (m *DatalossCheckRequest) Reset() { *m = DatalossCheckRequest{} } -func (m *DatalossCheckRequest) String() string { return proto.CompactTextString(m) } -func (*DatalossCheckRequest) ProtoMessage() {} -func (*DatalossCheckRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d32bf44842ead735, []int{4} +func (x *DatalossCheckRequest) Reset() { + *x = DatalossCheckRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_praefect_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DatalossCheckRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DatalossCheckRequest.Unmarshal(m, b) -} -func (m *DatalossCheckRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DatalossCheckRequest.Marshal(b, m, deterministic) -} -func (m *DatalossCheckRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DatalossCheckRequest.Merge(m, src) +func (x *DatalossCheckRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DatalossCheckRequest) XXX_Size() int { - return xxx_messageInfo_DatalossCheckRequest.Size(m) -} -func (m *DatalossCheckRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DatalossCheckRequest.DiscardUnknown(m) + +func (*DatalossCheckRequest) ProtoMessage() {} + +func (x *DatalossCheckRequest) ProtoReflect() protoreflect.Message { + mi := &file_praefect_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_DatalossCheckRequest proto.InternalMessageInfo +// Deprecated: Use DatalossCheckRequest.ProtoReflect.Descriptor instead. +func (*DatalossCheckRequest) Descriptor() ([]byte, []int) { + return file_praefect_proto_rawDescGZIP(), []int{4} +} -func (m *DatalossCheckRequest) GetVirtualStorage() string { - if m != nil { - return m.VirtualStorage +func (x *DatalossCheckRequest) GetVirtualStorage() string { + if x != nil { + return x.VirtualStorage } return "" } -func (m *DatalossCheckRequest) GetIncludePartiallyReplicated() bool { - if m != nil { - return m.IncludePartiallyReplicated +func (x *DatalossCheckRequest) GetIncludePartiallyReplicated() bool { + if x != nil { + return x.IncludePartiallyReplicated } return false } type DatalossCheckResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // repositories with data loss - Repositories []*DatalossCheckResponse_Repository `protobuf:"bytes,2,rep,name=repositories,proto3" json:"repositories,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Repositories []*DatalossCheckResponse_Repository `protobuf:"bytes,2,rep,name=repositories,proto3" json:"repositories,omitempty"` } -func (m *DatalossCheckResponse) Reset() { *m = DatalossCheckResponse{} } -func (m *DatalossCheckResponse) String() string { return proto.CompactTextString(m) } -func (*DatalossCheckResponse) ProtoMessage() {} -func (*DatalossCheckResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d32bf44842ead735, []int{5} +func (x *DatalossCheckResponse) Reset() { + *x = DatalossCheckResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_praefect_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DatalossCheckResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DatalossCheckResponse.Unmarshal(m, b) -} -func (m *DatalossCheckResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DatalossCheckResponse.Marshal(b, m, deterministic) -} -func (m *DatalossCheckResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DatalossCheckResponse.Merge(m, src) -} -func (m *DatalossCheckResponse) XXX_Size() int { - return xxx_messageInfo_DatalossCheckResponse.Size(m) -} -func (m *DatalossCheckResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DatalossCheckResponse.DiscardUnknown(m) +func (x *DatalossCheckResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_DatalossCheckResponse proto.InternalMessageInfo +func (*DatalossCheckResponse) ProtoMessage() {} -func (m *DatalossCheckResponse) GetRepositories() []*DatalossCheckResponse_Repository { - if m != nil { - return m.Repositories +func (x *DatalossCheckResponse) ProtoReflect() protoreflect.Message { + mi := &file_praefect_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 nil + return mi.MessageOf(x) } -type DatalossCheckResponse_Repository struct { - // relative path of the repository with outdated replicas - RelativePath string `protobuf:"bytes,1,opt,name=relative_path,json=relativePath,proto3" json:"relative_path,omitempty"` - // storages on which the repository is outdated - Storages []*DatalossCheckResponse_Repository_Storage `protobuf:"bytes,2,rep,name=storages,proto3" json:"storages,omitempty"` - // read_only indicates whether the repository is in read-only mode. - ReadOnly bool `protobuf:"varint,3,opt,name=read_only,json=readOnly,proto3" json:"read_only,omitempty"` - // current primary storage of the repository - Primary string `protobuf:"bytes,4,opt,name=primary,proto3" json:"primary,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +// Deprecated: Use DatalossCheckResponse.ProtoReflect.Descriptor instead. +func (*DatalossCheckResponse) Descriptor() ([]byte, []int) { + return file_praefect_proto_rawDescGZIP(), []int{5} } -func (m *DatalossCheckResponse_Repository) Reset() { *m = DatalossCheckResponse_Repository{} } -func (m *DatalossCheckResponse_Repository) String() string { return proto.CompactTextString(m) } -func (*DatalossCheckResponse_Repository) ProtoMessage() {} -func (*DatalossCheckResponse_Repository) Descriptor() ([]byte, []int) { - return fileDescriptor_d32bf44842ead735, []int{5, 0} +func (x *DatalossCheckResponse) GetRepositories() []*DatalossCheckResponse_Repository { + if x != nil { + return x.Repositories + } + return nil } -func (m *DatalossCheckResponse_Repository) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DatalossCheckResponse_Repository.Unmarshal(m, b) -} -func (m *DatalossCheckResponse_Repository) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DatalossCheckResponse_Repository.Marshal(b, m, deterministic) -} -func (m *DatalossCheckResponse_Repository) XXX_Merge(src proto.Message) { - xxx_messageInfo_DatalossCheckResponse_Repository.Merge(m, src) +type RepositoryReplicasRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` } -func (m *DatalossCheckResponse_Repository) XXX_Size() int { - return xxx_messageInfo_DatalossCheckResponse_Repository.Size(m) + +func (x *RepositoryReplicasRequest) Reset() { + *x = RepositoryReplicasRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_praefect_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DatalossCheckResponse_Repository) XXX_DiscardUnknown() { - xxx_messageInfo_DatalossCheckResponse_Repository.DiscardUnknown(m) + +func (x *RepositoryReplicasRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_DatalossCheckResponse_Repository proto.InternalMessageInfo +func (*RepositoryReplicasRequest) ProtoMessage() {} -func (m *DatalossCheckResponse_Repository) GetRelativePath() string { - if m != nil { - return m.RelativePath +func (x *RepositoryReplicasRequest) ProtoReflect() protoreflect.Message { + mi := &file_praefect_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 "" + return mi.MessageOf(x) } -func (m *DatalossCheckResponse_Repository) GetStorages() []*DatalossCheckResponse_Repository_Storage { - if m != nil { - return m.Storages +// Deprecated: Use RepositoryReplicasRequest.ProtoReflect.Descriptor instead. +func (*RepositoryReplicasRequest) Descriptor() ([]byte, []int) { + return file_praefect_proto_rawDescGZIP(), []int{6} +} + +func (x *RepositoryReplicasRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *DatalossCheckResponse_Repository) GetReadOnly() bool { - if m != nil { - return m.ReadOnly +type RepositoryReplicasResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Primary *RepositoryReplicasResponse_RepositoryDetails `protobuf:"bytes,1,opt,name=primary,proto3" json:"primary,omitempty"` + Replicas []*RepositoryReplicasResponse_RepositoryDetails `protobuf:"bytes,2,rep,name=replicas,proto3" json:"replicas,omitempty"` +} + +func (x *RepositoryReplicasResponse) Reset() { + *x = RepositoryReplicasResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_praefect_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return false } -func (m *DatalossCheckResponse_Repository) GetPrimary() string { - if m != nil { - return m.Primary +func (x *RepositoryReplicasResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RepositoryReplicasResponse) ProtoMessage() {} + +func (x *RepositoryReplicasResponse) ProtoReflect() protoreflect.Message { + mi := &file_praefect_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 "" + return mi.MessageOf(x) } -type DatalossCheckResponse_Repository_Storage struct { - // name of the storage - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - // behind_by indicates how many generations this storage is behind. - BehindBy int64 `protobuf:"varint,2,opt,name=behind_by,json=behindBy,proto3" json:"behind_by,omitempty"` - // assigned indicates whether the storage is assigned to host the repository. - Assigned bool `protobuf:"varint,3,opt,name=assigned,proto3" json:"assigned,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +// Deprecated: Use RepositoryReplicasResponse.ProtoReflect.Descriptor instead. +func (*RepositoryReplicasResponse) Descriptor() ([]byte, []int) { + return file_praefect_proto_rawDescGZIP(), []int{7} } -func (m *DatalossCheckResponse_Repository_Storage) Reset() { - *m = DatalossCheckResponse_Repository_Storage{} +func (x *RepositoryReplicasResponse) GetPrimary() *RepositoryReplicasResponse_RepositoryDetails { + if x != nil { + return x.Primary + } + return nil } -func (m *DatalossCheckResponse_Repository_Storage) String() string { return proto.CompactTextString(m) } -func (*DatalossCheckResponse_Repository_Storage) ProtoMessage() {} -func (*DatalossCheckResponse_Repository_Storage) Descriptor() ([]byte, []int) { - return fileDescriptor_d32bf44842ead735, []int{5, 0, 0} + +func (x *RepositoryReplicasResponse) GetReplicas() []*RepositoryReplicasResponse_RepositoryDetails { + if x != nil { + return x.Replicas + } + return nil } -func (m *DatalossCheckResponse_Repository_Storage) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DatalossCheckResponse_Repository_Storage.Unmarshal(m, b) +type ConsistencyCheckRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + VirtualStorage string `protobuf:"bytes,1,opt,name=virtual_storage,json=virtualStorage,proto3" json:"virtual_storage,omitempty"` + // The target storage is the storage you wish to check for inconsistencies + // against a reference storage (typically the current primary). + TargetStorage string `protobuf:"bytes,2,opt,name=target_storage,json=targetStorage,proto3" json:"target_storage,omitempty"` + // Optionally provide a reference storage to compare the target storage + // against. If a reference storage is omitted, the current primary will be + // used. + ReferenceStorage string `protobuf:"bytes,3,opt,name=reference_storage,json=referenceStorage,proto3" json:"reference_storage,omitempty"` + // Be default, reconcilliation is enabled. Disabling reconcilliation will + // make the request side-effect free. + DisableReconcilliation bool `protobuf:"varint,4,opt,name=disable_reconcilliation,json=disableReconcilliation,proto3" json:"disable_reconcilliation,omitempty"` } -func (m *DatalossCheckResponse_Repository_Storage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DatalossCheckResponse_Repository_Storage.Marshal(b, m, deterministic) + +func (x *ConsistencyCheckRequest) Reset() { + *x = ConsistencyCheckRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_praefect_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DatalossCheckResponse_Repository_Storage) XXX_Merge(src proto.Message) { - xxx_messageInfo_DatalossCheckResponse_Repository_Storage.Merge(m, src) + +func (x *ConsistencyCheckRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DatalossCheckResponse_Repository_Storage) XXX_Size() int { - return xxx_messageInfo_DatalossCheckResponse_Repository_Storage.Size(m) + +func (*ConsistencyCheckRequest) ProtoMessage() {} + +func (x *ConsistencyCheckRequest) ProtoReflect() protoreflect.Message { + mi := &file_praefect_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) } -func (m *DatalossCheckResponse_Repository_Storage) XXX_DiscardUnknown() { - xxx_messageInfo_DatalossCheckResponse_Repository_Storage.DiscardUnknown(m) + +// Deprecated: Use ConsistencyCheckRequest.ProtoReflect.Descriptor instead. +func (*ConsistencyCheckRequest) Descriptor() ([]byte, []int) { + return file_praefect_proto_rawDescGZIP(), []int{8} } -var xxx_messageInfo_DatalossCheckResponse_Repository_Storage proto.InternalMessageInfo +func (x *ConsistencyCheckRequest) GetVirtualStorage() string { + if x != nil { + return x.VirtualStorage + } + return "" +} -func (m *DatalossCheckResponse_Repository_Storage) GetName() string { - if m != nil { - return m.Name +func (x *ConsistencyCheckRequest) GetTargetStorage() string { + if x != nil { + return x.TargetStorage } return "" } -func (m *DatalossCheckResponse_Repository_Storage) GetBehindBy() int64 { - if m != nil { - return m.BehindBy +func (x *ConsistencyCheckRequest) GetReferenceStorage() string { + if x != nil { + return x.ReferenceStorage } - return 0 + return "" } -func (m *DatalossCheckResponse_Repository_Storage) GetAssigned() bool { - if m != nil { - return m.Assigned +func (x *ConsistencyCheckRequest) GetDisableReconcilliation() bool { + if x != nil { + return x.DisableReconcilliation } return false } -type RepositoryReplicasRequest 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:"-"` -} +type ConsistencyCheckResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *RepositoryReplicasRequest) Reset() { *m = RepositoryReplicasRequest{} } -func (m *RepositoryReplicasRequest) String() string { return proto.CompactTextString(m) } -func (*RepositoryReplicasRequest) ProtoMessage() {} -func (*RepositoryReplicasRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d32bf44842ead735, []int{6} + RepoRelativePath string `protobuf:"bytes,1,opt,name=repo_relative_path,json=repoRelativePath,proto3" json:"repo_relative_path,omitempty"` + TargetChecksum string `protobuf:"bytes,2,opt,name=target_checksum,json=targetChecksum,proto3" json:"target_checksum,omitempty"` + ReferenceChecksum string `protobuf:"bytes,3,opt,name=reference_checksum,json=referenceChecksum,proto3" json:"reference_checksum,omitempty"` + // If resync was enabled, then each inconsistency will schedule a replication + // job. A replication ID is returned to track the corresponding job. + ReplJobId uint64 `protobuf:"varint,4,opt,name=repl_job_id,json=replJobId,proto3" json:"repl_job_id,omitempty"` + // If the reference storage was not specified, reply with the reference used + ReferenceStorage string `protobuf:"bytes,5,opt,name=reference_storage,json=referenceStorage,proto3" json:"reference_storage,omitempty"` + // The list of errors that appeared during the operation execution for the current repository. + Errors []string `protobuf:"bytes,6,rep,name=errors,proto3" json:"errors,omitempty"` } -func (m *RepositoryReplicasRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RepositoryReplicasRequest.Unmarshal(m, b) -} -func (m *RepositoryReplicasRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RepositoryReplicasRequest.Marshal(b, m, deterministic) -} -func (m *RepositoryReplicasRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RepositoryReplicasRequest.Merge(m, src) -} -func (m *RepositoryReplicasRequest) XXX_Size() int { - return xxx_messageInfo_RepositoryReplicasRequest.Size(m) +func (x *ConsistencyCheckResponse) Reset() { + *x = ConsistencyCheckResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_praefect_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RepositoryReplicasRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RepositoryReplicasRequest.DiscardUnknown(m) + +func (x *ConsistencyCheckResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_RepositoryReplicasRequest proto.InternalMessageInfo +func (*ConsistencyCheckResponse) ProtoMessage() {} -func (m *RepositoryReplicasRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *ConsistencyCheckResponse) ProtoReflect() protoreflect.Message { + mi := &file_praefect_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 nil + return mi.MessageOf(x) } -type RepositoryReplicasResponse struct { - Primary *RepositoryReplicasResponse_RepositoryDetails `protobuf:"bytes,1,opt,name=primary,proto3" json:"primary,omitempty"` - Replicas []*RepositoryReplicasResponse_RepositoryDetails `protobuf:"bytes,2,rep,name=replicas,proto3" json:"replicas,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +// Deprecated: Use ConsistencyCheckResponse.ProtoReflect.Descriptor instead. +func (*ConsistencyCheckResponse) Descriptor() ([]byte, []int) { + return file_praefect_proto_rawDescGZIP(), []int{9} } -func (m *RepositoryReplicasResponse) Reset() { *m = RepositoryReplicasResponse{} } -func (m *RepositoryReplicasResponse) String() string { return proto.CompactTextString(m) } -func (*RepositoryReplicasResponse) ProtoMessage() {} -func (*RepositoryReplicasResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d32bf44842ead735, []int{7} +func (x *ConsistencyCheckResponse) GetRepoRelativePath() string { + if x != nil { + return x.RepoRelativePath + } + return "" } -func (m *RepositoryReplicasResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RepositoryReplicasResponse.Unmarshal(m, b) -} -func (m *RepositoryReplicasResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RepositoryReplicasResponse.Marshal(b, m, deterministic) -} -func (m *RepositoryReplicasResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_RepositoryReplicasResponse.Merge(m, src) -} -func (m *RepositoryReplicasResponse) XXX_Size() int { - return xxx_messageInfo_RepositoryReplicasResponse.Size(m) +func (x *ConsistencyCheckResponse) GetTargetChecksum() string { + if x != nil { + return x.TargetChecksum + } + return "" } -func (m *RepositoryReplicasResponse) XXX_DiscardUnknown() { - xxx_messageInfo_RepositoryReplicasResponse.DiscardUnknown(m) + +func (x *ConsistencyCheckResponse) GetReferenceChecksum() string { + if x != nil { + return x.ReferenceChecksum + } + return "" } -var xxx_messageInfo_RepositoryReplicasResponse proto.InternalMessageInfo +func (x *ConsistencyCheckResponse) GetReplJobId() uint64 { + if x != nil { + return x.ReplJobId + } + return 0 +} -func (m *RepositoryReplicasResponse) GetPrimary() *RepositoryReplicasResponse_RepositoryDetails { - if m != nil { - return m.Primary +func (x *ConsistencyCheckResponse) GetReferenceStorage() string { + if x != nil { + return x.ReferenceStorage } - return nil + return "" } -func (m *RepositoryReplicasResponse) GetReplicas() []*RepositoryReplicasResponse_RepositoryDetails { - if m != nil { - return m.Replicas +func (x *ConsistencyCheckResponse) GetErrors() []string { + if x != nil { + return x.Errors } return nil } -type RepositoryReplicasResponse_RepositoryDetails struct { - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - Checksum string `protobuf:"bytes,2,opt,name=checksum,proto3" json:"checksum,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} +type DatalossCheckResponse_Repository struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *RepositoryReplicasResponse_RepositoryDetails) Reset() { - *m = RepositoryReplicasResponse_RepositoryDetails{} -} -func (m *RepositoryReplicasResponse_RepositoryDetails) String() string { - return proto.CompactTextString(m) -} -func (*RepositoryReplicasResponse_RepositoryDetails) ProtoMessage() {} -func (*RepositoryReplicasResponse_RepositoryDetails) Descriptor() ([]byte, []int) { - return fileDescriptor_d32bf44842ead735, []int{7, 0} + // relative path of the repository with outdated replicas + RelativePath string `protobuf:"bytes,1,opt,name=relative_path,json=relativePath,proto3" json:"relative_path,omitempty"` + // storages on which the repository is outdated + Storages []*DatalossCheckResponse_Repository_Storage `protobuf:"bytes,2,rep,name=storages,proto3" json:"storages,omitempty"` + // read_only indicates whether the repository is in read-only mode. + ReadOnly bool `protobuf:"varint,3,opt,name=read_only,json=readOnly,proto3" json:"read_only,omitempty"` + // current primary storage of the repository + Primary string `protobuf:"bytes,4,opt,name=primary,proto3" json:"primary,omitempty"` } -func (m *RepositoryReplicasResponse_RepositoryDetails) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RepositoryReplicasResponse_RepositoryDetails.Unmarshal(m, b) -} -func (m *RepositoryReplicasResponse_RepositoryDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RepositoryReplicasResponse_RepositoryDetails.Marshal(b, m, deterministic) -} -func (m *RepositoryReplicasResponse_RepositoryDetails) XXX_Merge(src proto.Message) { - xxx_messageInfo_RepositoryReplicasResponse_RepositoryDetails.Merge(m, src) -} -func (m *RepositoryReplicasResponse_RepositoryDetails) XXX_Size() int { - return xxx_messageInfo_RepositoryReplicasResponse_RepositoryDetails.Size(m) +func (x *DatalossCheckResponse_Repository) Reset() { + *x = DatalossCheckResponse_Repository{} + if protoimpl.UnsafeEnabled { + mi := &file_praefect_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RepositoryReplicasResponse_RepositoryDetails) XXX_DiscardUnknown() { - xxx_messageInfo_RepositoryReplicasResponse_RepositoryDetails.DiscardUnknown(m) + +func (x *DatalossCheckResponse_Repository) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_RepositoryReplicasResponse_RepositoryDetails proto.InternalMessageInfo +func (*DatalossCheckResponse_Repository) ProtoMessage() {} -func (m *RepositoryReplicasResponse_RepositoryDetails) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *DatalossCheckResponse_Repository) ProtoReflect() protoreflect.Message { + mi := &file_praefect_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 nil + return mi.MessageOf(x) +} + +// Deprecated: Use DatalossCheckResponse_Repository.ProtoReflect.Descriptor instead. +func (*DatalossCheckResponse_Repository) Descriptor() ([]byte, []int) { + return file_praefect_proto_rawDescGZIP(), []int{5, 0} } -func (m *RepositoryReplicasResponse_RepositoryDetails) GetChecksum() string { - if m != nil { - return m.Checksum +func (x *DatalossCheckResponse_Repository) GetRelativePath() string { + if x != nil { + return x.RelativePath } return "" } -type ConsistencyCheckRequest struct { - VirtualStorage string `protobuf:"bytes,1,opt,name=virtual_storage,json=virtualStorage,proto3" json:"virtual_storage,omitempty"` - // The target storage is the storage you wish to check for inconsistencies - // against a reference storage (typically the current primary). - TargetStorage string `protobuf:"bytes,2,opt,name=target_storage,json=targetStorage,proto3" json:"target_storage,omitempty"` - // Optionally provide a reference storage to compare the target storage - // against. If a reference storage is omitted, the current primary will be - // used. - ReferenceStorage string `protobuf:"bytes,3,opt,name=reference_storage,json=referenceStorage,proto3" json:"reference_storage,omitempty"` - // Be default, reconcilliation is enabled. Disabling reconcilliation will - // make the request side-effect free. - DisableReconcilliation bool `protobuf:"varint,4,opt,name=disable_reconcilliation,json=disableReconcilliation,proto3" json:"disable_reconcilliation,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *DatalossCheckResponse_Repository) GetStorages() []*DatalossCheckResponse_Repository_Storage { + if x != nil { + return x.Storages + } + return nil } -func (m *ConsistencyCheckRequest) Reset() { *m = ConsistencyCheckRequest{} } -func (m *ConsistencyCheckRequest) String() string { return proto.CompactTextString(m) } -func (*ConsistencyCheckRequest) ProtoMessage() {} -func (*ConsistencyCheckRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_d32bf44842ead735, []int{8} +func (x *DatalossCheckResponse_Repository) GetReadOnly() bool { + if x != nil { + return x.ReadOnly + } + return false } -func (m *ConsistencyCheckRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ConsistencyCheckRequest.Unmarshal(m, b) -} -func (m *ConsistencyCheckRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ConsistencyCheckRequest.Marshal(b, m, deterministic) +func (x *DatalossCheckResponse_Repository) GetPrimary() string { + if x != nil { + return x.Primary + } + return "" } -func (m *ConsistencyCheckRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConsistencyCheckRequest.Merge(m, src) + +type DatalossCheckResponse_Repository_Storage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // name of the storage + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // behind_by indicates how many generations this storage is behind. + BehindBy int64 `protobuf:"varint,2,opt,name=behind_by,json=behindBy,proto3" json:"behind_by,omitempty"` + // assigned indicates whether the storage is assigned to host the repository. + Assigned bool `protobuf:"varint,3,opt,name=assigned,proto3" json:"assigned,omitempty"` } -func (m *ConsistencyCheckRequest) XXX_Size() int { - return xxx_messageInfo_ConsistencyCheckRequest.Size(m) + +func (x *DatalossCheckResponse_Repository_Storage) Reset() { + *x = DatalossCheckResponse_Repository_Storage{} + if protoimpl.UnsafeEnabled { + mi := &file_praefect_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ConsistencyCheckRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ConsistencyCheckRequest.DiscardUnknown(m) + +func (x *DatalossCheckResponse_Repository_Storage) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_ConsistencyCheckRequest proto.InternalMessageInfo +func (*DatalossCheckResponse_Repository_Storage) ProtoMessage() {} -func (m *ConsistencyCheckRequest) GetVirtualStorage() string { - if m != nil { - return m.VirtualStorage +func (x *DatalossCheckResponse_Repository_Storage) ProtoReflect() protoreflect.Message { + mi := &file_praefect_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) } -func (m *ConsistencyCheckRequest) GetTargetStorage() string { - if m != nil { - return m.TargetStorage +// Deprecated: Use DatalossCheckResponse_Repository_Storage.ProtoReflect.Descriptor instead. +func (*DatalossCheckResponse_Repository_Storage) Descriptor() ([]byte, []int) { + return file_praefect_proto_rawDescGZIP(), []int{5, 0, 0} +} + +func (x *DatalossCheckResponse_Repository_Storage) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *ConsistencyCheckRequest) GetReferenceStorage() string { - if m != nil { - return m.ReferenceStorage +func (x *DatalossCheckResponse_Repository_Storage) GetBehindBy() int64 { + if x != nil { + return x.BehindBy } - return "" + return 0 } -func (m *ConsistencyCheckRequest) GetDisableReconcilliation() bool { - if m != nil { - return m.DisableReconcilliation +func (x *DatalossCheckResponse_Repository_Storage) GetAssigned() bool { + if x != nil { + return x.Assigned } return false } -type ConsistencyCheckResponse struct { - RepoRelativePath string `protobuf:"bytes,1,opt,name=repo_relative_path,json=repoRelativePath,proto3" json:"repo_relative_path,omitempty"` - TargetChecksum string `protobuf:"bytes,2,opt,name=target_checksum,json=targetChecksum,proto3" json:"target_checksum,omitempty"` - ReferenceChecksum string `protobuf:"bytes,3,opt,name=reference_checksum,json=referenceChecksum,proto3" json:"reference_checksum,omitempty"` - // If resync was enabled, then each inconsistency will schedule a replication - // job. A replication ID is returned to track the corresponding job. - ReplJobId uint64 `protobuf:"varint,4,opt,name=repl_job_id,json=replJobId,proto3" json:"repl_job_id,omitempty"` - // If the reference storage was not specified, reply with the reference used - ReferenceStorage string `protobuf:"bytes,5,opt,name=reference_storage,json=referenceStorage,proto3" json:"reference_storage,omitempty"` - // The list of errors that appeared during the operation execution for the current repository. - Errors []string `protobuf:"bytes,6,rep,name=errors,proto3" json:"errors,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} +type RepositoryReplicasResponse_RepositoryDetails struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *ConsistencyCheckResponse) Reset() { *m = ConsistencyCheckResponse{} } -func (m *ConsistencyCheckResponse) String() string { return proto.CompactTextString(m) } -func (*ConsistencyCheckResponse) ProtoMessage() {} -func (*ConsistencyCheckResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_d32bf44842ead735, []int{9} + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + Checksum string `protobuf:"bytes,2,opt,name=checksum,proto3" json:"checksum,omitempty"` } -func (m *ConsistencyCheckResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ConsistencyCheckResponse.Unmarshal(m, b) -} -func (m *ConsistencyCheckResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ConsistencyCheckResponse.Marshal(b, m, deterministic) -} -func (m *ConsistencyCheckResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConsistencyCheckResponse.Merge(m, src) -} -func (m *ConsistencyCheckResponse) XXX_Size() int { - return xxx_messageInfo_ConsistencyCheckResponse.Size(m) -} -func (m *ConsistencyCheckResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ConsistencyCheckResponse.DiscardUnknown(m) +func (x *RepositoryReplicasResponse_RepositoryDetails) Reset() { + *x = RepositoryReplicasResponse_RepositoryDetails{} + if protoimpl.UnsafeEnabled { + mi := &file_praefect_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -var xxx_messageInfo_ConsistencyCheckResponse proto.InternalMessageInfo - -func (m *ConsistencyCheckResponse) GetRepoRelativePath() string { - if m != nil { - return m.RepoRelativePath - } - return "" +func (x *RepositoryReplicasResponse_RepositoryDetails) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ConsistencyCheckResponse) GetTargetChecksum() string { - if m != nil { - return m.TargetChecksum +func (*RepositoryReplicasResponse_RepositoryDetails) ProtoMessage() {} + +func (x *RepositoryReplicasResponse_RepositoryDetails) ProtoReflect() protoreflect.Message { + mi := &file_praefect_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 "" + return mi.MessageOf(x) } -func (m *ConsistencyCheckResponse) GetReferenceChecksum() string { - if m != nil { - return m.ReferenceChecksum - } - return "" +// Deprecated: Use RepositoryReplicasResponse_RepositoryDetails.ProtoReflect.Descriptor instead. +func (*RepositoryReplicasResponse_RepositoryDetails) Descriptor() ([]byte, []int) { + return file_praefect_proto_rawDescGZIP(), []int{7, 0} } -func (m *ConsistencyCheckResponse) GetReplJobId() uint64 { - if m != nil { - return m.ReplJobId +func (x *RepositoryReplicasResponse_RepositoryDetails) GetRepository() *Repository { + if x != nil { + return x.Repository } - return 0 + return nil } -func (m *ConsistencyCheckResponse) GetReferenceStorage() string { - if m != nil { - return m.ReferenceStorage +func (x *RepositoryReplicasResponse_RepositoryDetails) GetChecksum() string { + if x != nil { + return x.Checksum } return "" } -func (m *ConsistencyCheckResponse) GetErrors() []string { - if m != nil { - return m.Errors - } - return nil -} +var File_praefect_proto protoreflect.FileDescriptor + +var file_praefect_proto_rawDesc = []byte{ + 0x0a, 0x0e, 0x70, 0x72, 0x61, 0x65, 0x66, 0x65, 0x63, 0x74, 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, 0x9a, 0x01, 0x0a, 0x1b, 0x53, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x76, 0x69, 0x72, 0x74, 0x75, 0x61, 0x6c, 0x5f, 0x73, 0x74, + 0x6f, 0x72, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x76, 0x69, 0x72, + 0x74, 0x75, 0x61, 0x6c, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x72, + 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x50, 0x61, 0x74, 0x68, + 0x12, 0x2d, 0x0a, 0x12, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, + 0x66, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x11, 0x72, 0x65, + 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x22, + 0x3a, 0x0a, 0x1c, 0x53, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x46, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x1a, 0x0a, 0x08, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x09, 0x52, 0x08, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x73, 0x22, 0xa3, 0x01, 0x0a, 0x1e, + 0x53, 0x65, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x61, 0x74, 0x69, 0x76, 0x65, + 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, + 0x0a, 0x0f, 0x76, 0x69, 0x72, 0x74, 0x75, 0x61, 0x6c, 0x5f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x76, 0x69, 0x72, 0x74, 0x75, 0x61, 0x6c, + 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x6c, 0x61, 0x74, + 0x69, 0x76, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, + 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x33, 0x0a, 0x15, + 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x74, + 0x6f, 0x72, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x61, 0x75, 0x74, + 0x68, 0x6f, 0x72, 0x69, 0x74, 0x61, 0x74, 0x69, 0x76, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x22, 0x21, 0x0a, 0x1f, 0x53, 0x65, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, + 0x61, 0x74, 0x69, 0x76, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x81, 0x01, 0x0a, 0x14, 0x44, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x73, + 0x73, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, + 0x0f, 0x76, 0x69, 0x72, 0x74, 0x75, 0x61, 0x6c, 0x5f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x76, 0x69, 0x72, 0x74, 0x75, 0x61, 0x6c, 0x53, + 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x12, 0x40, 0x0a, 0x1c, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, + 0x65, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x6c, 0x79, 0x5f, 0x72, 0x65, 0x70, 0x6c, + 0x69, 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1a, 0x69, 0x6e, + 0x63, 0x6c, 0x75, 0x64, 0x65, 0x50, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x6c, 0x79, 0x52, 0x65, + 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x65, 0x64, 0x22, 0xf6, 0x02, 0x0a, 0x15, 0x44, 0x61, 0x74, + 0x61, 0x6c, 0x6f, 0x73, 0x73, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x4c, 0x0a, 0x0c, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x69, + 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, + 0x79, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x73, 0x73, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, + 0x72, 0x79, 0x52, 0x0c, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, + 0x1a, 0x8e, 0x02, 0x0a, 0x0a, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, + 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, + 0x50, 0x61, 0x74, 0x68, 0x12, 0x4c, 0x0a, 0x08, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x73, + 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x44, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x73, 0x73, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, + 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x52, 0x08, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x12, + 0x18, 0x0a, 0x07, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x07, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x1a, 0x56, 0x0a, 0x07, 0x53, 0x74, 0x6f, + 0x72, 0x61, 0x67, 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, 0x62, 0x65, 0x68, 0x69, + 0x6e, 0x64, 0x5f, 0x62, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x62, 0x65, 0x68, + 0x69, 0x6e, 0x64, 0x42, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x65, + 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x65, + 0x64, 0x22, 0x4f, 0x0a, 0x19, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, + 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x32, + 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, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, + 0x72, 0x79, 0x22, 0xa3, 0x02, 0x0a, 0x1a, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, + 0x79, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x4e, 0x0a, 0x07, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, + 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, + 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x07, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, + 0x79, 0x12, 0x50, 0x0a, 0x08, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x18, 0x02, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, + 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, + 0x72, 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x08, 0x72, 0x65, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x73, 0x1a, 0x63, 0x0a, 0x11, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, + 0x79, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x32, 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, + 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1a, 0x0a, 0x08, + 0x63, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, + 0x63, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x22, 0xcf, 0x01, 0x0a, 0x17, 0x43, 0x6f, 0x6e, + 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x76, 0x69, 0x72, 0x74, 0x75, 0x61, 0x6c, 0x5f, + 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x76, + 0x69, 0x72, 0x74, 0x75, 0x61, 0x6c, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x12, 0x25, 0x0a, + 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x53, 0x74, 0x6f, + 0x72, 0x61, 0x67, 0x65, 0x12, 0x2b, 0x0a, 0x11, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, + 0x65, 0x5f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x10, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x12, 0x37, 0x0a, 0x17, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x72, 0x65, 0x63, + 0x6f, 0x6e, 0x63, 0x69, 0x6c, 0x6c, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x16, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x6e, + 0x63, 0x69, 0x6c, 0x6c, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x85, 0x02, 0x0a, 0x18, 0x43, + 0x6f, 0x6e, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x72, 0x65, 0x70, 0x6f, 0x5f, + 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x10, 0x72, 0x65, 0x70, 0x6f, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, + 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x27, 0x0a, 0x0f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, + 0x63, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, + 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x12, 0x2d, + 0x0a, 0x12, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x63, 0x68, 0x65, 0x63, + 0x6b, 0x73, 0x75, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x72, 0x65, 0x66, 0x65, + 0x72, 0x65, 0x6e, 0x63, 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x12, 0x1e, 0x0a, + 0x0b, 0x72, 0x65, 0x70, 0x6c, 0x5f, 0x6a, 0x6f, 0x62, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x04, 0x52, 0x09, 0x72, 0x65, 0x70, 0x6c, 0x4a, 0x6f, 0x62, 0x49, 0x64, 0x12, 0x2b, 0x0a, + 0x11, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x73, 0x74, 0x6f, 0x72, 0x61, + 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, + 0x6e, 0x63, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x72, + 0x72, 0x6f, 0x72, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x65, 0x72, 0x72, 0x6f, + 0x72, 0x73, 0x32, 0xee, 0x03, 0x0a, 0x13, 0x50, 0x72, 0x61, 0x65, 0x66, 0x65, 0x63, 0x74, 0x49, + 0x6e, 0x66, 0x6f, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x5b, 0x0a, 0x12, 0x52, 0x65, + 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, + 0x12, 0x21, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, + 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, + 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x57, 0x0a, 0x10, 0x43, 0x6f, 0x6e, 0x73, 0x69, + 0x73, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x12, 0x1f, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x6f, 0x6e, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x63, 0x79, + 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x6f, 0x6e, 0x73, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x63, + 0x79, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, + 0x12, 0x4c, 0x0a, 0x0d, 0x44, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x73, 0x73, 0x43, 0x68, 0x65, 0x63, + 0x6b, 0x12, 0x1c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x6c, + 0x6f, 0x73, 0x73, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x1d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x73, + 0x73, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6a, + 0x0a, 0x17, 0x53, 0x65, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x61, 0x74, 0x69, + 0x76, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x12, 0x26, 0x2e, 0x67, 0x69, 0x74, 0x61, + 0x6c, 0x79, 0x2e, 0x53, 0x65, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x61, 0x74, + 0x69, 0x76, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x27, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x53, 0x65, 0x74, 0x41, 0x75, + 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x61, 0x74, 0x69, 0x76, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, + 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x61, 0x0a, 0x14, 0x53, 0x65, + 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x61, 0x63, 0x74, + 0x6f, 0x72, 0x12, 0x23, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x53, 0x65, 0x74, 0x52, + 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x61, 0x63, 0x74, 0x6f, 0x72, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, + 0x2e, 0x53, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, + 0x61, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x1a, 0x04, 0xf0, + 0x97, 0x28, 0x01, 0x42, 0x30, 0x5a, 0x2e, 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, 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_praefect_proto_rawDescOnce sync.Once + file_praefect_proto_rawDescData = file_praefect_proto_rawDesc +) -func init() { - proto.RegisterType((*SetReplicationFactorRequest)(nil), "gitaly.SetReplicationFactorRequest") - proto.RegisterType((*SetReplicationFactorResponse)(nil), "gitaly.SetReplicationFactorResponse") - proto.RegisterType((*SetAuthoritativeStorageRequest)(nil), "gitaly.SetAuthoritativeStorageRequest") - proto.RegisterType((*SetAuthoritativeStorageResponse)(nil), "gitaly.SetAuthoritativeStorageResponse") - proto.RegisterType((*DatalossCheckRequest)(nil), "gitaly.DatalossCheckRequest") - proto.RegisterType((*DatalossCheckResponse)(nil), "gitaly.DatalossCheckResponse") - proto.RegisterType((*DatalossCheckResponse_Repository)(nil), "gitaly.DatalossCheckResponse.Repository") - proto.RegisterType((*DatalossCheckResponse_Repository_Storage)(nil), "gitaly.DatalossCheckResponse.Repository.Storage") - proto.RegisterType((*RepositoryReplicasRequest)(nil), "gitaly.RepositoryReplicasRequest") - proto.RegisterType((*RepositoryReplicasResponse)(nil), "gitaly.RepositoryReplicasResponse") - proto.RegisterType((*RepositoryReplicasResponse_RepositoryDetails)(nil), "gitaly.RepositoryReplicasResponse.RepositoryDetails") - proto.RegisterType((*ConsistencyCheckRequest)(nil), "gitaly.ConsistencyCheckRequest") - proto.RegisterType((*ConsistencyCheckResponse)(nil), "gitaly.ConsistencyCheckResponse") -} - -func init() { proto.RegisterFile("praefect.proto", fileDescriptor_d32bf44842ead735) } - -var fileDescriptor_d32bf44842ead735 = []byte{ - // 847 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x56, 0xcd, 0x6f, 0xdc, 0x44, - 0x14, 0x97, 0x77, 0xd3, 0x74, 0xf3, 0xf2, 0xd1, 0x64, 0x48, 0x1b, 0xe3, 0x86, 0x76, 0xeb, 0x02, - 0x59, 0x09, 0xba, 0x89, 0x52, 0x24, 0x24, 0x4e, 0xd0, 0x54, 0x48, 0x45, 0x11, 0x8d, 0x1c, 0x09, - 0x24, 0x38, 0x58, 0x63, 0x7b, 0xb2, 0x3b, 0x65, 0xe2, 0x31, 0x33, 0xb3, 0x91, 0x7c, 0xe4, 0xc0, - 0x95, 0x2b, 0x12, 0xd7, 0xfe, 0x41, 0xfc, 0x27, 0x88, 0x13, 0x67, 0xe4, 0xf9, 0xf0, 0x3a, 0xbb, - 0xde, 0x0d, 0x44, 0xea, 0xcd, 0xf3, 0xde, 0xef, 0x7d, 0xfd, 0xde, 0x9b, 0x37, 0x86, 0xad, 0x42, - 0x60, 0x72, 0x41, 0x52, 0x35, 0x2c, 0x04, 0x57, 0x1c, 0xad, 0x8e, 0xa8, 0xc2, 0xac, 0x0c, 0x80, - 0xd1, 0xdc, 0xca, 0x82, 0x0d, 0x39, 0xc6, 0x82, 0x64, 0xe6, 0x14, 0xfe, 0xe1, 0xc1, 0xc3, 0x73, - 0xa2, 0x22, 0x52, 0x30, 0x9a, 0x62, 0x45, 0x79, 0xfe, 0x35, 0x4e, 0x15, 0x17, 0x11, 0xf9, 0x79, - 0x42, 0xa4, 0x42, 0x07, 0x70, 0xef, 0x8a, 0x0a, 0x35, 0xc1, 0x2c, 0x96, 0x8a, 0x0b, 0x3c, 0x22, - 0xbe, 0xd7, 0xf7, 0x06, 0x6b, 0xd1, 0x96, 0x15, 0x9f, 0x1b, 0x29, 0x7a, 0x0a, 0x9b, 0x82, 0x30, - 0xac, 0xe8, 0x15, 0x89, 0x0b, 0xac, 0xc6, 0x7e, 0x47, 0xc3, 0x36, 0x9c, 0xf0, 0x0c, 0xab, 0x31, - 0x7a, 0x06, 0x48, 0x4c, 0x23, 0xc5, 0x17, 0x3a, 0x94, 0xdf, 0xed, 0x7b, 0x83, 0x3b, 0xd1, 0x8e, - 0x98, 0xcd, 0x21, 0xfc, 0x02, 0xf6, 0xdb, 0x73, 0x93, 0x05, 0xcf, 0x25, 0x41, 0x01, 0xf4, 0x6c, - 0x52, 0xd2, 0xf7, 0xfa, 0xdd, 0xc1, 0x5a, 0x54, 0x9f, 0xc3, 0xb7, 0x1e, 0x3c, 0x3a, 0x27, 0xea, - 0xab, 0x89, 0x1a, 0x73, 0x41, 0x95, 0xce, 0xc1, 0xe6, 0xfa, 0x6e, 0x6a, 0x7b, 0x0e, 0xf7, 0x71, - 0x33, 0x58, 0xed, 0xb3, 0xab, 0xc1, 0xbb, 0xb8, 0x25, 0x93, 0xf0, 0x09, 0x3c, 0x5e, 0x98, 0xa4, - 0x29, 0x32, 0xfc, 0xc5, 0x83, 0xdd, 0x97, 0x58, 0x61, 0xc6, 0xa5, 0x3c, 0x19, 0x93, 0xf4, 0xa7, - 0xff, 0x9d, 0xfe, 0x97, 0xb0, 0x4f, 0xf3, 0x94, 0x4d, 0xb2, 0x2a, 0x7b, 0xa1, 0x28, 0x66, 0xac, - 0x8c, 0x1d, 0xdb, 0x24, 0xd3, 0xd5, 0xf4, 0xa2, 0xc0, 0x62, 0xce, 0x1c, 0x24, 0xaa, 0x11, 0xe1, - 0x3f, 0x1d, 0xb8, 0x3f, 0x93, 0x83, 0x6d, 0xc1, 0x29, 0x6c, 0x08, 0x52, 0x70, 0x49, 0x15, 0x17, - 0x94, 0x48, 0xbf, 0xd3, 0xef, 0x0e, 0xd6, 0x8f, 0x07, 0x43, 0x33, 0x78, 0xc3, 0x56, 0xa3, 0x61, - 0xe4, 0x2c, 0xca, 0xe8, 0x9a, 0x75, 0xf0, 0x5b, 0x07, 0x60, 0xaa, 0x9c, 0xe7, 0xdd, 0x6b, 0xe1, - 0xfd, 0xb4, 0x31, 0x04, 0x26, 0xfa, 0xd1, 0x7f, 0x8d, 0x3e, 0x74, 0x5c, 0xd7, 0x1e, 0xd0, 0x43, - 0x58, 0x13, 0x04, 0x67, 0x31, 0xcf, 0x59, 0xa9, 0x3b, 0xd7, 0x8b, 0x7a, 0x95, 0xe0, 0x75, 0xce, - 0x4a, 0xe4, 0xc3, 0xdd, 0x42, 0xd0, 0x4b, 0x2c, 0x4a, 0x7f, 0x45, 0x67, 0xe2, 0x8e, 0xc1, 0x77, - 0x70, 0xd7, 0xb1, 0x8d, 0x60, 0x25, 0xc7, 0x97, 0xae, 0x17, 0xfa, 0xbb, 0xf2, 0x9a, 0x90, 0x31, - 0xcd, 0xb3, 0x38, 0x29, 0x35, 0xdd, 0xdd, 0xa8, 0x67, 0x04, 0x2f, 0xca, 0x6a, 0x8a, 0xb1, 0x94, - 0x74, 0x94, 0x93, 0xcc, 0x45, 0x74, 0xe7, 0xf0, 0x35, 0xbc, 0xdf, 0x20, 0xcb, 0x34, 0x44, 0xba, - 0x01, 0x38, 0x06, 0xa8, 0xd9, 0x2b, 0x75, 0xbc, 0xf5, 0x63, 0xe4, 0x6a, 0x6f, 0x98, 0x35, 0x50, - 0xe1, 0xdb, 0x0e, 0x04, 0x6d, 0x1e, 0x6d, 0x3b, 0xbf, 0x9d, 0x56, 0x68, 0xfc, 0x7d, 0xd6, 0xe2, - 0x6f, 0xc6, 0xa8, 0xa1, 0x7a, 0x49, 0x14, 0xa6, 0x4c, 0xd6, 0xbc, 0xa0, 0x33, 0xe8, 0xd9, 0x41, - 0x73, 0xcd, 0xb9, 0x9d, 0xc3, 0xda, 0x4b, 0x90, 0xc2, 0xce, 0x9c, 0xfa, 0x36, 0x4c, 0x54, 0xb4, - 0xa7, 0xd5, 0x5c, 0xc8, 0xc9, 0xa5, 0xbd, 0xcf, 0xf5, 0x39, 0xfc, 0xd3, 0x83, 0xbd, 0x13, 0x9e, - 0x4b, 0x2a, 0x15, 0xc9, 0xd3, 0xf2, 0x76, 0xd7, 0xee, 0x23, 0xd8, 0x52, 0x58, 0x8c, 0x88, 0xaa, - 0x71, 0x26, 0xcc, 0xa6, 0x91, 0x3a, 0xd8, 0x27, 0xb0, 0x23, 0xc8, 0x05, 0x11, 0x24, 0x4f, 0x67, - 0x77, 0xc6, 0x76, 0xad, 0x70, 0xe0, 0xcf, 0x61, 0x2f, 0xa3, 0x12, 0x27, 0x8c, 0xc4, 0x82, 0xa4, - 0x3c, 0x4f, 0x29, 0x63, 0x54, 0xaf, 0x46, 0x3d, 0x91, 0xbd, 0xe8, 0x81, 0x55, 0x47, 0xd7, 0xb5, - 0xe1, 0xaf, 0x1d, 0xf0, 0xe7, 0x2b, 0xb2, 0x5d, 0xff, 0x54, 0xaf, 0x65, 0x1e, 0xb7, 0x5d, 0xb6, - 0xed, 0x4a, 0x13, 0x35, 0x2f, 0xdc, 0x01, 0xdc, 0xb3, 0x75, 0xcd, 0xf0, 0x67, 0xcb, 0x3d, 0xb1, - 0x52, 0xb3, 0xed, 0x5d, 0x65, 0x35, 0xd6, 0x94, 0x36, 0xad, 0xb9, 0x86, 0x3f, 0x82, 0xf5, 0xaa, - 0xcb, 0xf1, 0x1b, 0x9e, 0xc4, 0x34, 0xd3, 0xf5, 0xac, 0x44, 0x6b, 0x95, 0xe8, 0x1b, 0x9e, 0xbc, - 0xca, 0xda, 0x89, 0xba, 0xb3, 0x80, 0xa8, 0x07, 0xb0, 0x4a, 0x84, 0xe0, 0x42, 0xfa, 0xab, 0xfa, - 0x61, 0xb0, 0xa7, 0xe3, 0xbf, 0xba, 0xf0, 0xde, 0x99, 0x7d, 0x24, 0x5f, 0xe5, 0x17, 0xfc, 0x9c, - 0x88, 0x2b, 0x9a, 0x12, 0xf4, 0x23, 0xa0, 0xf9, 0x81, 0x44, 0x4f, 0x96, 0x0d, 0xab, 0x1e, 0x87, - 0x20, 0xbc, 0x79, 0x9e, 0xd1, 0xf7, 0xb0, 0x3d, 0xcb, 0x3d, 0x7a, 0xec, 0xec, 0x16, 0xcc, 0x59, - 0xd0, 0x5f, 0x0c, 0x30, 0x6e, 0x8f, 0x3c, 0x74, 0x0a, 0x9b, 0xd7, 0x76, 0x1c, 0xda, 0x5f, 0xb0, - 0xfa, 0x8c, 0xcb, 0x0f, 0x96, 0x2e, 0x46, 0xf4, 0x06, 0xf6, 0x16, 0x3c, 0x46, 0xe8, 0x63, 0x67, - 0xb9, 0xfc, 0x49, 0x0d, 0x0e, 0x6e, 0xc4, 0xd9, 0x58, 0x18, 0x76, 0xdb, 0x9e, 0x76, 0xf4, 0xb4, - 0xe1, 0x60, 0xd1, 0x4f, 0x49, 0xf0, 0xe1, 0x72, 0x90, 0x09, 0x11, 0xac, 0xfc, 0xfd, 0xfb, 0xc0, - 0x7b, 0x71, 0xf4, 0x43, 0x05, 0x66, 0x38, 0x19, 0xa6, 0xfc, 0xf2, 0xd0, 0x7c, 0x3e, 0xe3, 0x62, - 0x74, 0x68, 0x5c, 0x1c, 0xea, 0xdf, 0xa0, 0xc3, 0x11, 0xb7, 0xe7, 0x22, 0x49, 0x56, 0xb5, 0xe8, - 0xf9, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0xb1, 0x8e, 0xb6, 0xc1, 0x4d, 0x09, 0x00, 0x00, +func file_praefect_proto_rawDescGZIP() []byte { + file_praefect_proto_rawDescOnce.Do(func() { + file_praefect_proto_rawDescData = protoimpl.X.CompressGZIP(file_praefect_proto_rawDescData) + }) + return file_praefect_proto_rawDescData +} + +var file_praefect_proto_msgTypes = make([]protoimpl.MessageInfo, 13) +var file_praefect_proto_goTypes = []interface{}{ + (*SetReplicationFactorRequest)(nil), // 0: gitaly.SetReplicationFactorRequest + (*SetReplicationFactorResponse)(nil), // 1: gitaly.SetReplicationFactorResponse + (*SetAuthoritativeStorageRequest)(nil), // 2: gitaly.SetAuthoritativeStorageRequest + (*SetAuthoritativeStorageResponse)(nil), // 3: gitaly.SetAuthoritativeStorageResponse + (*DatalossCheckRequest)(nil), // 4: gitaly.DatalossCheckRequest + (*DatalossCheckResponse)(nil), // 5: gitaly.DatalossCheckResponse + (*RepositoryReplicasRequest)(nil), // 6: gitaly.RepositoryReplicasRequest + (*RepositoryReplicasResponse)(nil), // 7: gitaly.RepositoryReplicasResponse + (*ConsistencyCheckRequest)(nil), // 8: gitaly.ConsistencyCheckRequest + (*ConsistencyCheckResponse)(nil), // 9: gitaly.ConsistencyCheckResponse + (*DatalossCheckResponse_Repository)(nil), // 10: gitaly.DatalossCheckResponse.Repository + (*DatalossCheckResponse_Repository_Storage)(nil), // 11: gitaly.DatalossCheckResponse.Repository.Storage + (*RepositoryReplicasResponse_RepositoryDetails)(nil), // 12: gitaly.RepositoryReplicasResponse.RepositoryDetails + (*Repository)(nil), // 13: gitaly.Repository +} +var file_praefect_proto_depIdxs = []int32{ + 10, // 0: gitaly.DatalossCheckResponse.repositories:type_name -> gitaly.DatalossCheckResponse.Repository + 13, // 1: gitaly.RepositoryReplicasRequest.repository:type_name -> gitaly.Repository + 12, // 2: gitaly.RepositoryReplicasResponse.primary:type_name -> gitaly.RepositoryReplicasResponse.RepositoryDetails + 12, // 3: gitaly.RepositoryReplicasResponse.replicas:type_name -> gitaly.RepositoryReplicasResponse.RepositoryDetails + 11, // 4: gitaly.DatalossCheckResponse.Repository.storages:type_name -> gitaly.DatalossCheckResponse.Repository.Storage + 13, // 5: gitaly.RepositoryReplicasResponse.RepositoryDetails.repository:type_name -> gitaly.Repository + 6, // 6: gitaly.PraefectInfoService.RepositoryReplicas:input_type -> gitaly.RepositoryReplicasRequest + 8, // 7: gitaly.PraefectInfoService.ConsistencyCheck:input_type -> gitaly.ConsistencyCheckRequest + 4, // 8: gitaly.PraefectInfoService.DatalossCheck:input_type -> gitaly.DatalossCheckRequest + 2, // 9: gitaly.PraefectInfoService.SetAuthoritativeStorage:input_type -> gitaly.SetAuthoritativeStorageRequest + 0, // 10: gitaly.PraefectInfoService.SetReplicationFactor:input_type -> gitaly.SetReplicationFactorRequest + 7, // 11: gitaly.PraefectInfoService.RepositoryReplicas:output_type -> gitaly.RepositoryReplicasResponse + 9, // 12: gitaly.PraefectInfoService.ConsistencyCheck:output_type -> gitaly.ConsistencyCheckResponse + 5, // 13: gitaly.PraefectInfoService.DatalossCheck:output_type -> gitaly.DatalossCheckResponse + 3, // 14: gitaly.PraefectInfoService.SetAuthoritativeStorage:output_type -> gitaly.SetAuthoritativeStorageResponse + 1, // 15: gitaly.PraefectInfoService.SetReplicationFactor:output_type -> gitaly.SetReplicationFactorResponse + 11, // [11:16] is the sub-list for method output_type + 6, // [6:11] is the sub-list for method input_type + 6, // [6:6] is the sub-list for extension type_name + 6, // [6:6] is the sub-list for extension extendee + 0, // [0:6] is the sub-list for field type_name +} + +func init() { file_praefect_proto_init() } +func file_praefect_proto_init() { + if File_praefect_proto != nil { + return + } + file_lint_proto_init() + file_shared_proto_init() + if !protoimpl.UnsafeEnabled { + file_praefect_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetReplicationFactorRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_praefect_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetReplicationFactorResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_praefect_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetAuthoritativeStorageRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_praefect_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetAuthoritativeStorageResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_praefect_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DatalossCheckRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_praefect_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DatalossCheckResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_praefect_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RepositoryReplicasRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_praefect_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RepositoryReplicasResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_praefect_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConsistencyCheckRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_praefect_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConsistencyCheckResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_praefect_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DatalossCheckResponse_Repository); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_praefect_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DatalossCheckResponse_Repository_Storage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_praefect_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RepositoryReplicasResponse_RepositoryDetails); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_praefect_proto_rawDesc, + NumEnums: 0, + NumMessages: 13, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_praefect_proto_goTypes, + DependencyIndexes: file_praefect_proto_depIdxs, + MessageInfos: file_praefect_proto_msgTypes, + }.Build() + File_praefect_proto = out.File + file_praefect_proto_rawDesc = nil + file_praefect_proto_goTypes = nil + file_praefect_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConn +var _ grpc.ClientConnInterface // 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 +const _ = grpc.SupportPackageIsVersion6 // PraefectInfoServiceClient is the client API for PraefectInfoService service. // @@ -829,10 +1248,10 @@ type PraefectInfoServiceClient interface { } type praefectInfoServiceClient struct { - cc *grpc.ClientConn + cc grpc.ClientConnInterface } -func NewPraefectInfoServiceClient(cc *grpc.ClientConn) PraefectInfoServiceClient { +func NewPraefectInfoServiceClient(cc grpc.ClientConnInterface) PraefectInfoServiceClient { return &praefectInfoServiceClient{cc} } @@ -933,19 +1352,19 @@ type PraefectInfoServiceServer interface { type UnimplementedPraefectInfoServiceServer struct { } -func (*UnimplementedPraefectInfoServiceServer) RepositoryReplicas(ctx context.Context, req *RepositoryReplicasRequest) (*RepositoryReplicasResponse, error) { +func (*UnimplementedPraefectInfoServiceServer) RepositoryReplicas(context.Context, *RepositoryReplicasRequest) (*RepositoryReplicasResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method RepositoryReplicas not implemented") } -func (*UnimplementedPraefectInfoServiceServer) ConsistencyCheck(req *ConsistencyCheckRequest, srv PraefectInfoService_ConsistencyCheckServer) error { +func (*UnimplementedPraefectInfoServiceServer) ConsistencyCheck(*ConsistencyCheckRequest, PraefectInfoService_ConsistencyCheckServer) error { return status.Errorf(codes.Unimplemented, "method ConsistencyCheck not implemented") } -func (*UnimplementedPraefectInfoServiceServer) DatalossCheck(ctx context.Context, req *DatalossCheckRequest) (*DatalossCheckResponse, error) { +func (*UnimplementedPraefectInfoServiceServer) DatalossCheck(context.Context, *DatalossCheckRequest) (*DatalossCheckResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method DatalossCheck not implemented") } -func (*UnimplementedPraefectInfoServiceServer) SetAuthoritativeStorage(ctx context.Context, req *SetAuthoritativeStorageRequest) (*SetAuthoritativeStorageResponse, error) { +func (*UnimplementedPraefectInfoServiceServer) SetAuthoritativeStorage(context.Context, *SetAuthoritativeStorageRequest) (*SetAuthoritativeStorageResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method SetAuthoritativeStorage not implemented") } -func (*UnimplementedPraefectInfoServiceServer) SetReplicationFactor(ctx context.Context, req *SetReplicationFactorRequest) (*SetReplicationFactorResponse, error) { +func (*UnimplementedPraefectInfoServiceServer) SetReplicationFactor(context.Context, *SetReplicationFactorRequest) (*SetReplicationFactorResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method SetReplicationFactor not implemented") } diff --git a/proto/go/gitalypb/ref.pb.go b/proto/go/gitalypb/ref.pb.go index 5b924cba6..6a077f619 100644 --- a/proto/go/gitalypb/ref.pb.go +++ b/proto/go/gitalypb/ref.pb.go @@ -1,29 +1,34 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc v3.12.4 // source: ref.proto package gitalypb import ( context "context" - fmt "fmt" proto "github.com/golang/protobuf/proto" timestamp "github.com/golang/protobuf/ptypes/timestamp" 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 +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) +) -// 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 +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 type FindLocalBranchesRequest_SortBy int32 @@ -33,24 +38,45 @@ const ( FindLocalBranchesRequest_UPDATED_DESC FindLocalBranchesRequest_SortBy = 2 ) -var FindLocalBranchesRequest_SortBy_name = map[int32]string{ - 0: "NAME", - 1: "UPDATED_ASC", - 2: "UPDATED_DESC", -} +// Enum value maps for FindLocalBranchesRequest_SortBy. +var ( + FindLocalBranchesRequest_SortBy_name = map[int32]string{ + 0: "NAME", + 1: "UPDATED_ASC", + 2: "UPDATED_DESC", + } + FindLocalBranchesRequest_SortBy_value = map[string]int32{ + "NAME": 0, + "UPDATED_ASC": 1, + "UPDATED_DESC": 2, + } +) -var FindLocalBranchesRequest_SortBy_value = map[string]int32{ - "NAME": 0, - "UPDATED_ASC": 1, - "UPDATED_DESC": 2, +func (x FindLocalBranchesRequest_SortBy) Enum() *FindLocalBranchesRequest_SortBy { + p := new(FindLocalBranchesRequest_SortBy) + *p = x + return p } func (x FindLocalBranchesRequest_SortBy) String() string { - return proto.EnumName(FindLocalBranchesRequest_SortBy_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (FindLocalBranchesRequest_SortBy) Descriptor() protoreflect.EnumDescriptor { + return file_ref_proto_enumTypes[0].Descriptor() +} + +func (FindLocalBranchesRequest_SortBy) Type() protoreflect.EnumType { + return &file_ref_proto_enumTypes[0] +} + +func (x FindLocalBranchesRequest_SortBy) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use FindLocalBranchesRequest_SortBy.Descriptor instead. func (FindLocalBranchesRequest_SortBy) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_65d958559ea81b29, []int{10, 0} + return file_ref_proto_rawDescGZIP(), []int{10, 0} } type CreateBranchResponse_Status int32 @@ -62,2166 +88,3455 @@ const ( CreateBranchResponse_ERR_INVALID_START_POINT CreateBranchResponse_Status = 3 ) -var CreateBranchResponse_Status_name = map[int32]string{ - 0: "OK", - 1: "ERR_EXISTS", - 2: "ERR_INVALID", - 3: "ERR_INVALID_START_POINT", -} +// Enum value maps for CreateBranchResponse_Status. +var ( + CreateBranchResponse_Status_name = map[int32]string{ + 0: "OK", + 1: "ERR_EXISTS", + 2: "ERR_INVALID", + 3: "ERR_INVALID_START_POINT", + } + CreateBranchResponse_Status_value = map[string]int32{ + "OK": 0, + "ERR_EXISTS": 1, + "ERR_INVALID": 2, + "ERR_INVALID_START_POINT": 3, + } +) -var CreateBranchResponse_Status_value = map[string]int32{ - "OK": 0, - "ERR_EXISTS": 1, - "ERR_INVALID": 2, - "ERR_INVALID_START_POINT": 3, +func (x CreateBranchResponse_Status) Enum() *CreateBranchResponse_Status { + p := new(CreateBranchResponse_Status) + *p = x + return p } func (x CreateBranchResponse_Status) String() string { - return proto.EnumName(CreateBranchResponse_Status_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (CreateBranchResponse_Status) Descriptor() protoreflect.EnumDescriptor { + return file_ref_proto_enumTypes[1].Descriptor() +} + +func (CreateBranchResponse_Status) Type() protoreflect.EnumType { + return &file_ref_proto_enumTypes[1] } +func (x CreateBranchResponse_Status) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use CreateBranchResponse_Status.Descriptor instead. func (CreateBranchResponse_Status) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_65d958559ea81b29, []int{23, 0} + return file_ref_proto_rawDescGZIP(), []int{23, 0} } type ListNewBlobsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` CommitId string `protobuf:"bytes,2,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"` // Limit the number of revs to be returned fro mgit-rev-list // If the limit is set to zero, all items will be returned - Limit uint32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Limit uint32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` } -func (m *ListNewBlobsRequest) Reset() { *m = ListNewBlobsRequest{} } -func (m *ListNewBlobsRequest) String() string { return proto.CompactTextString(m) } -func (*ListNewBlobsRequest) ProtoMessage() {} -func (*ListNewBlobsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_65d958559ea81b29, []int{0} +func (x *ListNewBlobsRequest) Reset() { + *x = ListNewBlobsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListNewBlobsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListNewBlobsRequest.Unmarshal(m, b) -} -func (m *ListNewBlobsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListNewBlobsRequest.Marshal(b, m, deterministic) -} -func (m *ListNewBlobsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListNewBlobsRequest.Merge(m, src) -} -func (m *ListNewBlobsRequest) XXX_Size() int { - return xxx_messageInfo_ListNewBlobsRequest.Size(m) +func (x *ListNewBlobsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListNewBlobsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListNewBlobsRequest.DiscardUnknown(m) + +func (*ListNewBlobsRequest) ProtoMessage() {} + +func (x *ListNewBlobsRequest) ProtoReflect() protoreflect.Message { + mi := &file_ref_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_ListNewBlobsRequest proto.InternalMessageInfo +// Deprecated: Use ListNewBlobsRequest.ProtoReflect.Descriptor instead. +func (*ListNewBlobsRequest) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{0} +} -func (m *ListNewBlobsRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *ListNewBlobsRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *ListNewBlobsRequest) GetCommitId() string { - if m != nil { - return m.CommitId +func (x *ListNewBlobsRequest) GetCommitId() string { + if x != nil { + return x.CommitId } return "" } -func (m *ListNewBlobsRequest) GetLimit() uint32 { - if m != nil { - return m.Limit +func (x *ListNewBlobsRequest) GetLimit() uint32 { + if x != nil { + return x.Limit } return 0 } type ListNewBlobsResponse struct { - NewBlobObjects []*NewBlobObject `protobuf:"bytes,1,rep,name=new_blob_objects,json=newBlobObjects,proto3" json:"new_blob_objects,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *ListNewBlobsResponse) Reset() { *m = ListNewBlobsResponse{} } -func (m *ListNewBlobsResponse) String() string { return proto.CompactTextString(m) } -func (*ListNewBlobsResponse) ProtoMessage() {} -func (*ListNewBlobsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_65d958559ea81b29, []int{1} + NewBlobObjects []*NewBlobObject `protobuf:"bytes,1,rep,name=new_blob_objects,json=newBlobObjects,proto3" json:"new_blob_objects,omitempty"` } -func (m *ListNewBlobsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListNewBlobsResponse.Unmarshal(m, b) -} -func (m *ListNewBlobsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListNewBlobsResponse.Marshal(b, m, deterministic) -} -func (m *ListNewBlobsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListNewBlobsResponse.Merge(m, src) +func (x *ListNewBlobsResponse) Reset() { + *x = ListNewBlobsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListNewBlobsResponse) XXX_Size() int { - return xxx_messageInfo_ListNewBlobsResponse.Size(m) + +func (x *ListNewBlobsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListNewBlobsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListNewBlobsResponse.DiscardUnknown(m) + +func (*ListNewBlobsResponse) ProtoMessage() {} + +func (x *ListNewBlobsResponse) ProtoReflect() protoreflect.Message { + mi := &file_ref_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) } -var xxx_messageInfo_ListNewBlobsResponse proto.InternalMessageInfo +// Deprecated: Use ListNewBlobsResponse.ProtoReflect.Descriptor instead. +func (*ListNewBlobsResponse) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{1} +} -func (m *ListNewBlobsResponse) GetNewBlobObjects() []*NewBlobObject { - if m != nil { - return m.NewBlobObjects +func (x *ListNewBlobsResponse) GetNewBlobObjects() []*NewBlobObject { + if x != nil { + return x.NewBlobObjects } return nil } type FindDefaultBranchNameRequest 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:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *FindDefaultBranchNameRequest) Reset() { *m = FindDefaultBranchNameRequest{} } -func (m *FindDefaultBranchNameRequest) String() string { return proto.CompactTextString(m) } -func (*FindDefaultBranchNameRequest) ProtoMessage() {} -func (*FindDefaultBranchNameRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_65d958559ea81b29, []int{2} + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` } -func (m *FindDefaultBranchNameRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FindDefaultBranchNameRequest.Unmarshal(m, b) -} -func (m *FindDefaultBranchNameRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FindDefaultBranchNameRequest.Marshal(b, m, deterministic) -} -func (m *FindDefaultBranchNameRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_FindDefaultBranchNameRequest.Merge(m, src) +func (x *FindDefaultBranchNameRequest) Reset() { + *x = FindDefaultBranchNameRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FindDefaultBranchNameRequest) XXX_Size() int { - return xxx_messageInfo_FindDefaultBranchNameRequest.Size(m) + +func (x *FindDefaultBranchNameRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FindDefaultBranchNameRequest) XXX_DiscardUnknown() { - xxx_messageInfo_FindDefaultBranchNameRequest.DiscardUnknown(m) + +func (*FindDefaultBranchNameRequest) ProtoMessage() {} + +func (x *FindDefaultBranchNameRequest) ProtoReflect() protoreflect.Message { + mi := &file_ref_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_FindDefaultBranchNameRequest proto.InternalMessageInfo +// Deprecated: Use FindDefaultBranchNameRequest.ProtoReflect.Descriptor instead. +func (*FindDefaultBranchNameRequest) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{2} +} -func (m *FindDefaultBranchNameRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *FindDefaultBranchNameRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } type FindDefaultBranchNameResponse struct { - Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *FindDefaultBranchNameResponse) Reset() { *m = FindDefaultBranchNameResponse{} } -func (m *FindDefaultBranchNameResponse) String() string { return proto.CompactTextString(m) } -func (*FindDefaultBranchNameResponse) ProtoMessage() {} -func (*FindDefaultBranchNameResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_65d958559ea81b29, []int{3} + Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` } -func (m *FindDefaultBranchNameResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FindDefaultBranchNameResponse.Unmarshal(m, b) -} -func (m *FindDefaultBranchNameResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FindDefaultBranchNameResponse.Marshal(b, m, deterministic) -} -func (m *FindDefaultBranchNameResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_FindDefaultBranchNameResponse.Merge(m, src) +func (x *FindDefaultBranchNameResponse) Reset() { + *x = FindDefaultBranchNameResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FindDefaultBranchNameResponse) XXX_Size() int { - return xxx_messageInfo_FindDefaultBranchNameResponse.Size(m) + +func (x *FindDefaultBranchNameResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FindDefaultBranchNameResponse) XXX_DiscardUnknown() { - xxx_messageInfo_FindDefaultBranchNameResponse.DiscardUnknown(m) + +func (*FindDefaultBranchNameResponse) ProtoMessage() {} + +func (x *FindDefaultBranchNameResponse) ProtoReflect() protoreflect.Message { + mi := &file_ref_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_FindDefaultBranchNameResponse proto.InternalMessageInfo +// Deprecated: Use FindDefaultBranchNameResponse.ProtoReflect.Descriptor instead. +func (*FindDefaultBranchNameResponse) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{3} +} -func (m *FindDefaultBranchNameResponse) GetName() []byte { - if m != nil { - return m.Name +func (x *FindDefaultBranchNameResponse) GetName() []byte { + if x != nil { + return x.Name } return nil } type FindAllBranchNamesRequest 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:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *FindAllBranchNamesRequest) Reset() { *m = FindAllBranchNamesRequest{} } -func (m *FindAllBranchNamesRequest) String() string { return proto.CompactTextString(m) } -func (*FindAllBranchNamesRequest) ProtoMessage() {} -func (*FindAllBranchNamesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_65d958559ea81b29, []int{4} + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` } -func (m *FindAllBranchNamesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FindAllBranchNamesRequest.Unmarshal(m, b) -} -func (m *FindAllBranchNamesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FindAllBranchNamesRequest.Marshal(b, m, deterministic) -} -func (m *FindAllBranchNamesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_FindAllBranchNamesRequest.Merge(m, src) +func (x *FindAllBranchNamesRequest) Reset() { + *x = FindAllBranchNamesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FindAllBranchNamesRequest) XXX_Size() int { - return xxx_messageInfo_FindAllBranchNamesRequest.Size(m) + +func (x *FindAllBranchNamesRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FindAllBranchNamesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_FindAllBranchNamesRequest.DiscardUnknown(m) + +func (*FindAllBranchNamesRequest) ProtoMessage() {} + +func (x *FindAllBranchNamesRequest) ProtoReflect() protoreflect.Message { + mi := &file_ref_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_FindAllBranchNamesRequest proto.InternalMessageInfo +// Deprecated: Use FindAllBranchNamesRequest.ProtoReflect.Descriptor instead. +func (*FindAllBranchNamesRequest) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{4} +} -func (m *FindAllBranchNamesRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *FindAllBranchNamesRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } type FindAllBranchNamesResponse struct { - Names [][]byte `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *FindAllBranchNamesResponse) Reset() { *m = FindAllBranchNamesResponse{} } -func (m *FindAllBranchNamesResponse) String() string { return proto.CompactTextString(m) } -func (*FindAllBranchNamesResponse) ProtoMessage() {} -func (*FindAllBranchNamesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_65d958559ea81b29, []int{5} + Names [][]byte `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` } -func (m *FindAllBranchNamesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FindAllBranchNamesResponse.Unmarshal(m, b) -} -func (m *FindAllBranchNamesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FindAllBranchNamesResponse.Marshal(b, m, deterministic) -} -func (m *FindAllBranchNamesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_FindAllBranchNamesResponse.Merge(m, src) +func (x *FindAllBranchNamesResponse) Reset() { + *x = FindAllBranchNamesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FindAllBranchNamesResponse) XXX_Size() int { - return xxx_messageInfo_FindAllBranchNamesResponse.Size(m) + +func (x *FindAllBranchNamesResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FindAllBranchNamesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_FindAllBranchNamesResponse.DiscardUnknown(m) + +func (*FindAllBranchNamesResponse) ProtoMessage() {} + +func (x *FindAllBranchNamesResponse) ProtoReflect() protoreflect.Message { + mi := &file_ref_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_FindAllBranchNamesResponse proto.InternalMessageInfo +// Deprecated: Use FindAllBranchNamesResponse.ProtoReflect.Descriptor instead. +func (*FindAllBranchNamesResponse) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{5} +} -func (m *FindAllBranchNamesResponse) GetNames() [][]byte { - if m != nil { - return m.Names +func (x *FindAllBranchNamesResponse) GetNames() [][]byte { + if x != nil { + return x.Names } return nil } type FindAllTagNamesRequest 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:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *FindAllTagNamesRequest) Reset() { *m = FindAllTagNamesRequest{} } -func (m *FindAllTagNamesRequest) String() string { return proto.CompactTextString(m) } -func (*FindAllTagNamesRequest) ProtoMessage() {} -func (*FindAllTagNamesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_65d958559ea81b29, []int{6} + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` } -func (m *FindAllTagNamesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FindAllTagNamesRequest.Unmarshal(m, b) -} -func (m *FindAllTagNamesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FindAllTagNamesRequest.Marshal(b, m, deterministic) -} -func (m *FindAllTagNamesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_FindAllTagNamesRequest.Merge(m, src) +func (x *FindAllTagNamesRequest) Reset() { + *x = FindAllTagNamesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FindAllTagNamesRequest) XXX_Size() int { - return xxx_messageInfo_FindAllTagNamesRequest.Size(m) + +func (x *FindAllTagNamesRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FindAllTagNamesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_FindAllTagNamesRequest.DiscardUnknown(m) + +func (*FindAllTagNamesRequest) ProtoMessage() {} + +func (x *FindAllTagNamesRequest) ProtoReflect() protoreflect.Message { + mi := &file_ref_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_FindAllTagNamesRequest proto.InternalMessageInfo +// Deprecated: Use FindAllTagNamesRequest.ProtoReflect.Descriptor instead. +func (*FindAllTagNamesRequest) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{6} +} -func (m *FindAllTagNamesRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *FindAllTagNamesRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } type FindAllTagNamesResponse struct { - Names [][]byte `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *FindAllTagNamesResponse) Reset() { *m = FindAllTagNamesResponse{} } -func (m *FindAllTagNamesResponse) String() string { return proto.CompactTextString(m) } -func (*FindAllTagNamesResponse) ProtoMessage() {} -func (*FindAllTagNamesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_65d958559ea81b29, []int{7} + Names [][]byte `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` } -func (m *FindAllTagNamesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FindAllTagNamesResponse.Unmarshal(m, b) -} -func (m *FindAllTagNamesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FindAllTagNamesResponse.Marshal(b, m, deterministic) -} -func (m *FindAllTagNamesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_FindAllTagNamesResponse.Merge(m, src) +func (x *FindAllTagNamesResponse) Reset() { + *x = FindAllTagNamesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FindAllTagNamesResponse) XXX_Size() int { - return xxx_messageInfo_FindAllTagNamesResponse.Size(m) + +func (x *FindAllTagNamesResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FindAllTagNamesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_FindAllTagNamesResponse.DiscardUnknown(m) + +func (*FindAllTagNamesResponse) ProtoMessage() {} + +func (x *FindAllTagNamesResponse) ProtoReflect() protoreflect.Message { + mi := &file_ref_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) } -var xxx_messageInfo_FindAllTagNamesResponse proto.InternalMessageInfo +// Deprecated: Use FindAllTagNamesResponse.ProtoReflect.Descriptor instead. +func (*FindAllTagNamesResponse) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{7} +} -func (m *FindAllTagNamesResponse) GetNames() [][]byte { - if m != nil { - return m.Names +func (x *FindAllTagNamesResponse) GetNames() [][]byte { + if x != nil { + return x.Names } return nil } type FindRefNameRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // Require that the resulting ref contains this commit as an ancestor CommitId string `protobuf:"bytes,2,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"` // Example prefix: "refs/heads/". Type bytes because that is the type of ref names. - Prefix []byte `protobuf:"bytes,3,opt,name=prefix,proto3" json:"prefix,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Prefix []byte `protobuf:"bytes,3,opt,name=prefix,proto3" json:"prefix,omitempty"` } -func (m *FindRefNameRequest) Reset() { *m = FindRefNameRequest{} } -func (m *FindRefNameRequest) String() string { return proto.CompactTextString(m) } -func (*FindRefNameRequest) ProtoMessage() {} -func (*FindRefNameRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_65d958559ea81b29, []int{8} +func (x *FindRefNameRequest) Reset() { + *x = FindRefNameRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FindRefNameRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FindRefNameRequest.Unmarshal(m, b) +func (x *FindRefNameRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FindRefNameRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FindRefNameRequest.Marshal(b, m, deterministic) -} -func (m *FindRefNameRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_FindRefNameRequest.Merge(m, src) -} -func (m *FindRefNameRequest) XXX_Size() int { - return xxx_messageInfo_FindRefNameRequest.Size(m) -} -func (m *FindRefNameRequest) XXX_DiscardUnknown() { - xxx_messageInfo_FindRefNameRequest.DiscardUnknown(m) + +func (*FindRefNameRequest) ProtoMessage() {} + +func (x *FindRefNameRequest) ProtoReflect() protoreflect.Message { + mi := &file_ref_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_FindRefNameRequest proto.InternalMessageInfo +// Deprecated: Use FindRefNameRequest.ProtoReflect.Descriptor instead. +func (*FindRefNameRequest) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{8} +} -func (m *FindRefNameRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *FindRefNameRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *FindRefNameRequest) GetCommitId() string { - if m != nil { - return m.CommitId +func (x *FindRefNameRequest) GetCommitId() string { + if x != nil { + return x.CommitId } return "" } -func (m *FindRefNameRequest) GetPrefix() []byte { - if m != nil { - return m.Prefix +func (x *FindRefNameRequest) GetPrefix() []byte { + if x != nil { + return x.Prefix } return nil } type FindRefNameResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Example name: "refs/heads/master". Cannot assume UTF8, so the type is bytes. - Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` } -func (m *FindRefNameResponse) Reset() { *m = FindRefNameResponse{} } -func (m *FindRefNameResponse) String() string { return proto.CompactTextString(m) } -func (*FindRefNameResponse) ProtoMessage() {} -func (*FindRefNameResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_65d958559ea81b29, []int{9} +func (x *FindRefNameResponse) Reset() { + *x = FindRefNameResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FindRefNameResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FindRefNameResponse.Unmarshal(m, b) -} -func (m *FindRefNameResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FindRefNameResponse.Marshal(b, m, deterministic) +func (x *FindRefNameResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FindRefNameResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_FindRefNameResponse.Merge(m, src) -} -func (m *FindRefNameResponse) XXX_Size() int { - return xxx_messageInfo_FindRefNameResponse.Size(m) -} -func (m *FindRefNameResponse) XXX_DiscardUnknown() { - xxx_messageInfo_FindRefNameResponse.DiscardUnknown(m) + +func (*FindRefNameResponse) ProtoMessage() {} + +func (x *FindRefNameResponse) ProtoReflect() protoreflect.Message { + mi := &file_ref_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_FindRefNameResponse proto.InternalMessageInfo +// Deprecated: Use FindRefNameResponse.ProtoReflect.Descriptor instead. +func (*FindRefNameResponse) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{9} +} -func (m *FindRefNameResponse) GetName() []byte { - if m != nil { - return m.Name +func (x *FindRefNameResponse) GetName() []byte { + if x != nil { + return x.Name } return nil } type FindLocalBranchesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` SortBy FindLocalBranchesRequest_SortBy `protobuf:"varint,2,opt,name=sort_by,json=sortBy,proto3,enum=gitaly.FindLocalBranchesRequest_SortBy" json:"sort_by,omitempty"` // The page token is the branch name, with the `refs/heads/` prefix, for // example "refs/heads/master". After the first branch name is encountered // which lexicographically exceeds the page token, it will be the first result // send as part of the response. - PaginationParams *PaginationParameter `protobuf:"bytes,3,opt,name=pagination_params,json=paginationParams,proto3" json:"pagination_params,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + PaginationParams *PaginationParameter `protobuf:"bytes,3,opt,name=pagination_params,json=paginationParams,proto3" json:"pagination_params,omitempty"` } -func (m *FindLocalBranchesRequest) Reset() { *m = FindLocalBranchesRequest{} } -func (m *FindLocalBranchesRequest) String() string { return proto.CompactTextString(m) } -func (*FindLocalBranchesRequest) ProtoMessage() {} -func (*FindLocalBranchesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_65d958559ea81b29, []int{10} +func (x *FindLocalBranchesRequest) Reset() { + *x = FindLocalBranchesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FindLocalBranchesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FindLocalBranchesRequest.Unmarshal(m, b) -} -func (m *FindLocalBranchesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FindLocalBranchesRequest.Marshal(b, m, deterministic) -} -func (m *FindLocalBranchesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_FindLocalBranchesRequest.Merge(m, src) -} -func (m *FindLocalBranchesRequest) XXX_Size() int { - return xxx_messageInfo_FindLocalBranchesRequest.Size(m) +func (x *FindLocalBranchesRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FindLocalBranchesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_FindLocalBranchesRequest.DiscardUnknown(m) + +func (*FindLocalBranchesRequest) ProtoMessage() {} + +func (x *FindLocalBranchesRequest) ProtoReflect() protoreflect.Message { + mi := &file_ref_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_FindLocalBranchesRequest proto.InternalMessageInfo +// Deprecated: Use FindLocalBranchesRequest.ProtoReflect.Descriptor instead. +func (*FindLocalBranchesRequest) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{10} +} -func (m *FindLocalBranchesRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *FindLocalBranchesRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *FindLocalBranchesRequest) GetSortBy() FindLocalBranchesRequest_SortBy { - if m != nil { - return m.SortBy +func (x *FindLocalBranchesRequest) GetSortBy() FindLocalBranchesRequest_SortBy { + if x != nil { + return x.SortBy } return FindLocalBranchesRequest_NAME } -func (m *FindLocalBranchesRequest) GetPaginationParams() *PaginationParameter { - if m != nil { - return m.PaginationParams +func (x *FindLocalBranchesRequest) GetPaginationParams() *PaginationParameter { + if x != nil { + return x.PaginationParams } return nil } type FindLocalBranchesResponse struct { - Branches []*FindLocalBranchResponse `protobuf:"bytes,1,rep,name=branches,proto3" json:"branches,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *FindLocalBranchesResponse) Reset() { *m = FindLocalBranchesResponse{} } -func (m *FindLocalBranchesResponse) String() string { return proto.CompactTextString(m) } -func (*FindLocalBranchesResponse) ProtoMessage() {} -func (*FindLocalBranchesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_65d958559ea81b29, []int{11} + Branches []*FindLocalBranchResponse `protobuf:"bytes,1,rep,name=branches,proto3" json:"branches,omitempty"` } -func (m *FindLocalBranchesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FindLocalBranchesResponse.Unmarshal(m, b) -} -func (m *FindLocalBranchesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FindLocalBranchesResponse.Marshal(b, m, deterministic) -} -func (m *FindLocalBranchesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_FindLocalBranchesResponse.Merge(m, src) +func (x *FindLocalBranchesResponse) Reset() { + *x = FindLocalBranchesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FindLocalBranchesResponse) XXX_Size() int { - return xxx_messageInfo_FindLocalBranchesResponse.Size(m) + +func (x *FindLocalBranchesResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FindLocalBranchesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_FindLocalBranchesResponse.DiscardUnknown(m) + +func (*FindLocalBranchesResponse) ProtoMessage() {} + +func (x *FindLocalBranchesResponse) ProtoReflect() protoreflect.Message { + mi := &file_ref_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 mi.MessageOf(x) } -var xxx_messageInfo_FindLocalBranchesResponse proto.InternalMessageInfo +// Deprecated: Use FindLocalBranchesResponse.ProtoReflect.Descriptor instead. +func (*FindLocalBranchesResponse) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{11} +} -func (m *FindLocalBranchesResponse) GetBranches() []*FindLocalBranchResponse { - if m != nil { - return m.Branches +func (x *FindLocalBranchesResponse) GetBranches() []*FindLocalBranchResponse { + if x != nil { + return x.Branches } return nil } type FindLocalBranchResponse struct { - Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - CommitId string `protobuf:"bytes,2,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"` - CommitSubject []byte `protobuf:"bytes,3,opt,name=commit_subject,json=commitSubject,proto3" json:"commit_subject,omitempty"` - CommitAuthor *FindLocalBranchCommitAuthor `protobuf:"bytes,4,opt,name=commit_author,json=commitAuthor,proto3" json:"commit_author,omitempty"` - CommitCommitter *FindLocalBranchCommitAuthor `protobuf:"bytes,5,opt,name=commit_committer,json=commitCommitter,proto3" json:"commit_committer,omitempty"` - Commit *GitCommit `protobuf:"bytes,6,opt,name=commit,proto3" json:"commit,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *FindLocalBranchResponse) Reset() { *m = FindLocalBranchResponse{} } -func (m *FindLocalBranchResponse) String() string { return proto.CompactTextString(m) } -func (*FindLocalBranchResponse) ProtoMessage() {} -func (*FindLocalBranchResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_65d958559ea81b29, []int{12} -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *FindLocalBranchResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FindLocalBranchResponse.Unmarshal(m, b) -} -func (m *FindLocalBranchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FindLocalBranchResponse.Marshal(b, m, deterministic) + Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + CommitId string `protobuf:"bytes,2,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"` + CommitSubject []byte `protobuf:"bytes,3,opt,name=commit_subject,json=commitSubject,proto3" json:"commit_subject,omitempty"` + CommitAuthor *FindLocalBranchCommitAuthor `protobuf:"bytes,4,opt,name=commit_author,json=commitAuthor,proto3" json:"commit_author,omitempty"` + CommitCommitter *FindLocalBranchCommitAuthor `protobuf:"bytes,5,opt,name=commit_committer,json=commitCommitter,proto3" json:"commit_committer,omitempty"` + Commit *GitCommit `protobuf:"bytes,6,opt,name=commit,proto3" json:"commit,omitempty"` } -func (m *FindLocalBranchResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_FindLocalBranchResponse.Merge(m, src) + +func (x *FindLocalBranchResponse) Reset() { + *x = FindLocalBranchResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FindLocalBranchResponse) XXX_Size() int { - return xxx_messageInfo_FindLocalBranchResponse.Size(m) + +func (x *FindLocalBranchResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FindLocalBranchResponse) XXX_DiscardUnknown() { - xxx_messageInfo_FindLocalBranchResponse.DiscardUnknown(m) + +func (*FindLocalBranchResponse) ProtoMessage() {} + +func (x *FindLocalBranchResponse) ProtoReflect() protoreflect.Message { + mi := &file_ref_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_FindLocalBranchResponse proto.InternalMessageInfo +// Deprecated: Use FindLocalBranchResponse.ProtoReflect.Descriptor instead. +func (*FindLocalBranchResponse) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{12} +} -func (m *FindLocalBranchResponse) GetName() []byte { - if m != nil { - return m.Name +func (x *FindLocalBranchResponse) GetName() []byte { + if x != nil { + return x.Name } return nil } -func (m *FindLocalBranchResponse) GetCommitId() string { - if m != nil { - return m.CommitId +func (x *FindLocalBranchResponse) GetCommitId() string { + if x != nil { + return x.CommitId } return "" } -func (m *FindLocalBranchResponse) GetCommitSubject() []byte { - if m != nil { - return m.CommitSubject +func (x *FindLocalBranchResponse) GetCommitSubject() []byte { + if x != nil { + return x.CommitSubject } return nil } -func (m *FindLocalBranchResponse) GetCommitAuthor() *FindLocalBranchCommitAuthor { - if m != nil { - return m.CommitAuthor +func (x *FindLocalBranchResponse) GetCommitAuthor() *FindLocalBranchCommitAuthor { + if x != nil { + return x.CommitAuthor } return nil } -func (m *FindLocalBranchResponse) GetCommitCommitter() *FindLocalBranchCommitAuthor { - if m != nil { - return m.CommitCommitter +func (x *FindLocalBranchResponse) GetCommitCommitter() *FindLocalBranchCommitAuthor { + if x != nil { + return x.CommitCommitter } return nil } -func (m *FindLocalBranchResponse) GetCommit() *GitCommit { - if m != nil { - return m.Commit +func (x *FindLocalBranchResponse) GetCommit() *GitCommit { + if x != nil { + return x.Commit } return nil } type FindLocalBranchCommitAuthor struct { - Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Email []byte `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` - Date *timestamp.Timestamp `protobuf:"bytes,3,opt,name=date,proto3" json:"date,omitempty"` - Timezone []byte `protobuf:"bytes,4,opt,name=timezone,proto3" json:"timezone,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *FindLocalBranchCommitAuthor) Reset() { *m = FindLocalBranchCommitAuthor{} } -func (m *FindLocalBranchCommitAuthor) String() string { return proto.CompactTextString(m) } -func (*FindLocalBranchCommitAuthor) ProtoMessage() {} -func (*FindLocalBranchCommitAuthor) Descriptor() ([]byte, []int) { - return fileDescriptor_65d958559ea81b29, []int{13} -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *FindLocalBranchCommitAuthor) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FindLocalBranchCommitAuthor.Unmarshal(m, b) -} -func (m *FindLocalBranchCommitAuthor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FindLocalBranchCommitAuthor.Marshal(b, m, deterministic) + Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Email []byte `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` + Date *timestamp.Timestamp `protobuf:"bytes,3,opt,name=date,proto3" json:"date,omitempty"` + Timezone []byte `protobuf:"bytes,4,opt,name=timezone,proto3" json:"timezone,omitempty"` } -func (m *FindLocalBranchCommitAuthor) XXX_Merge(src proto.Message) { - xxx_messageInfo_FindLocalBranchCommitAuthor.Merge(m, src) + +func (x *FindLocalBranchCommitAuthor) Reset() { + *x = FindLocalBranchCommitAuthor{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FindLocalBranchCommitAuthor) XXX_Size() int { - return xxx_messageInfo_FindLocalBranchCommitAuthor.Size(m) + +func (x *FindLocalBranchCommitAuthor) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FindLocalBranchCommitAuthor) XXX_DiscardUnknown() { - xxx_messageInfo_FindLocalBranchCommitAuthor.DiscardUnknown(m) + +func (*FindLocalBranchCommitAuthor) ProtoMessage() {} + +func (x *FindLocalBranchCommitAuthor) ProtoReflect() protoreflect.Message { + mi := &file_ref_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 mi.MessageOf(x) } -var xxx_messageInfo_FindLocalBranchCommitAuthor proto.InternalMessageInfo +// Deprecated: Use FindLocalBranchCommitAuthor.ProtoReflect.Descriptor instead. +func (*FindLocalBranchCommitAuthor) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{13} +} -func (m *FindLocalBranchCommitAuthor) GetName() []byte { - if m != nil { - return m.Name +func (x *FindLocalBranchCommitAuthor) GetName() []byte { + if x != nil { + return x.Name } return nil } -func (m *FindLocalBranchCommitAuthor) GetEmail() []byte { - if m != nil { - return m.Email +func (x *FindLocalBranchCommitAuthor) GetEmail() []byte { + if x != nil { + return x.Email } return nil } -func (m *FindLocalBranchCommitAuthor) GetDate() *timestamp.Timestamp { - if m != nil { - return m.Date +func (x *FindLocalBranchCommitAuthor) GetDate() *timestamp.Timestamp { + if x != nil { + return x.Date } return nil } -func (m *FindLocalBranchCommitAuthor) GetTimezone() []byte { - if m != nil { - return m.Timezone +func (x *FindLocalBranchCommitAuthor) GetTimezone() []byte { + if x != nil { + return x.Timezone } return nil } type FindAllBranchesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // Only return branches that are merged into root ref MergedOnly bool `protobuf:"varint,2,opt,name=merged_only,json=mergedOnly,proto3" json:"merged_only,omitempty"` // If merged_only is true, this is a list of branches from which we // return those merged into the root ref - MergedBranches [][]byte `protobuf:"bytes,3,rep,name=merged_branches,json=mergedBranches,proto3" json:"merged_branches,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + MergedBranches [][]byte `protobuf:"bytes,3,rep,name=merged_branches,json=mergedBranches,proto3" json:"merged_branches,omitempty"` } -func (m *FindAllBranchesRequest) Reset() { *m = FindAllBranchesRequest{} } -func (m *FindAllBranchesRequest) String() string { return proto.CompactTextString(m) } -func (*FindAllBranchesRequest) ProtoMessage() {} -func (*FindAllBranchesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_65d958559ea81b29, []int{14} +func (x *FindAllBranchesRequest) Reset() { + *x = FindAllBranchesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FindAllBranchesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FindAllBranchesRequest.Unmarshal(m, b) -} -func (m *FindAllBranchesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FindAllBranchesRequest.Marshal(b, m, deterministic) +func (x *FindAllBranchesRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FindAllBranchesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_FindAllBranchesRequest.Merge(m, src) -} -func (m *FindAllBranchesRequest) XXX_Size() int { - return xxx_messageInfo_FindAllBranchesRequest.Size(m) -} -func (m *FindAllBranchesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_FindAllBranchesRequest.DiscardUnknown(m) + +func (*FindAllBranchesRequest) ProtoMessage() {} + +func (x *FindAllBranchesRequest) ProtoReflect() protoreflect.Message { + mi := &file_ref_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 mi.MessageOf(x) } -var xxx_messageInfo_FindAllBranchesRequest proto.InternalMessageInfo +// Deprecated: Use FindAllBranchesRequest.ProtoReflect.Descriptor instead. +func (*FindAllBranchesRequest) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{14} +} -func (m *FindAllBranchesRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *FindAllBranchesRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *FindAllBranchesRequest) GetMergedOnly() bool { - if m != nil { - return m.MergedOnly +func (x *FindAllBranchesRequest) GetMergedOnly() bool { + if x != nil { + return x.MergedOnly } return false } -func (m *FindAllBranchesRequest) GetMergedBranches() [][]byte { - if m != nil { - return m.MergedBranches +func (x *FindAllBranchesRequest) GetMergedBranches() [][]byte { + if x != nil { + return x.MergedBranches } return nil } type FindAllBranchesResponse struct { - Branches []*FindAllBranchesResponse_Branch `protobuf:"bytes,1,rep,name=branches,proto3" json:"branches,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *FindAllBranchesResponse) Reset() { *m = FindAllBranchesResponse{} } -func (m *FindAllBranchesResponse) String() string { return proto.CompactTextString(m) } -func (*FindAllBranchesResponse) ProtoMessage() {} -func (*FindAllBranchesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_65d958559ea81b29, []int{15} -} - -func (m *FindAllBranchesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FindAllBranchesResponse.Unmarshal(m, b) -} -func (m *FindAllBranchesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FindAllBranchesResponse.Marshal(b, m, deterministic) + Branches []*FindAllBranchesResponse_Branch `protobuf:"bytes,1,rep,name=branches,proto3" json:"branches,omitempty"` } -func (m *FindAllBranchesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_FindAllBranchesResponse.Merge(m, src) -} -func (m *FindAllBranchesResponse) XXX_Size() int { - return xxx_messageInfo_FindAllBranchesResponse.Size(m) -} -func (m *FindAllBranchesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_FindAllBranchesResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_FindAllBranchesResponse proto.InternalMessageInfo -func (m *FindAllBranchesResponse) GetBranches() []*FindAllBranchesResponse_Branch { - if m != nil { - return m.Branches +func (x *FindAllBranchesResponse) Reset() { + *x = FindAllBranchesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return nil } -type FindAllBranchesResponse_Branch struct { - Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Target *GitCommit `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *FindAllBranchesResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FindAllBranchesResponse_Branch) Reset() { *m = FindAllBranchesResponse_Branch{} } -func (m *FindAllBranchesResponse_Branch) String() string { return proto.CompactTextString(m) } -func (*FindAllBranchesResponse_Branch) ProtoMessage() {} -func (*FindAllBranchesResponse_Branch) Descriptor() ([]byte, []int) { - return fileDescriptor_65d958559ea81b29, []int{15, 0} -} +func (*FindAllBranchesResponse) ProtoMessage() {} -func (m *FindAllBranchesResponse_Branch) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FindAllBranchesResponse_Branch.Unmarshal(m, b) -} -func (m *FindAllBranchesResponse_Branch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FindAllBranchesResponse_Branch.Marshal(b, m, deterministic) -} -func (m *FindAllBranchesResponse_Branch) XXX_Merge(src proto.Message) { - xxx_messageInfo_FindAllBranchesResponse_Branch.Merge(m, src) -} -func (m *FindAllBranchesResponse_Branch) XXX_Size() int { - return xxx_messageInfo_FindAllBranchesResponse_Branch.Size(m) -} -func (m *FindAllBranchesResponse_Branch) XXX_DiscardUnknown() { - xxx_messageInfo_FindAllBranchesResponse_Branch.DiscardUnknown(m) +func (x *FindAllBranchesResponse) ProtoReflect() protoreflect.Message { + mi := &file_ref_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) } -var xxx_messageInfo_FindAllBranchesResponse_Branch proto.InternalMessageInfo - -func (m *FindAllBranchesResponse_Branch) GetName() []byte { - if m != nil { - return m.Name - } - return nil +// Deprecated: Use FindAllBranchesResponse.ProtoReflect.Descriptor instead. +func (*FindAllBranchesResponse) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{15} } -func (m *FindAllBranchesResponse_Branch) GetTarget() *GitCommit { - if m != nil { - return m.Target +func (x *FindAllBranchesResponse) GetBranches() []*FindAllBranchesResponse_Branch { + if x != nil { + return x.Branches } return nil } type FindTagRequest struct { - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - TagName []byte `protobuf:"bytes,2,opt,name=tag_name,json=tagName,proto3" json:"tag_name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *FindTagRequest) Reset() { *m = FindTagRequest{} } -func (m *FindTagRequest) String() string { return proto.CompactTextString(m) } -func (*FindTagRequest) ProtoMessage() {} -func (*FindTagRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_65d958559ea81b29, []int{16} + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + TagName []byte `protobuf:"bytes,2,opt,name=tag_name,json=tagName,proto3" json:"tag_name,omitempty"` } -func (m *FindTagRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FindTagRequest.Unmarshal(m, b) -} -func (m *FindTagRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FindTagRequest.Marshal(b, m, deterministic) -} -func (m *FindTagRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_FindTagRequest.Merge(m, src) +func (x *FindTagRequest) Reset() { + *x = FindTagRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FindTagRequest) XXX_Size() int { - return xxx_messageInfo_FindTagRequest.Size(m) + +func (x *FindTagRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FindTagRequest) XXX_DiscardUnknown() { - xxx_messageInfo_FindTagRequest.DiscardUnknown(m) + +func (*FindTagRequest) ProtoMessage() {} + +func (x *FindTagRequest) ProtoReflect() protoreflect.Message { + mi := &file_ref_proto_msgTypes[16] + 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_FindTagRequest proto.InternalMessageInfo +// Deprecated: Use FindTagRequest.ProtoReflect.Descriptor instead. +func (*FindTagRequest) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{16} +} -func (m *FindTagRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *FindTagRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *FindTagRequest) GetTagName() []byte { - if m != nil { - return m.TagName +func (x *FindTagRequest) GetTagName() []byte { + if x != nil { + return x.TagName } return nil } type FindTagResponse struct { - Tag *Tag `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *FindTagResponse) Reset() { *m = FindTagResponse{} } -func (m *FindTagResponse) String() string { return proto.CompactTextString(m) } -func (*FindTagResponse) ProtoMessage() {} -func (*FindTagResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_65d958559ea81b29, []int{17} + Tag *Tag `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"` } -func (m *FindTagResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FindTagResponse.Unmarshal(m, b) -} -func (m *FindTagResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FindTagResponse.Marshal(b, m, deterministic) -} -func (m *FindTagResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_FindTagResponse.Merge(m, src) +func (x *FindTagResponse) Reset() { + *x = FindTagResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FindTagResponse) XXX_Size() int { - return xxx_messageInfo_FindTagResponse.Size(m) + +func (x *FindTagResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FindTagResponse) XXX_DiscardUnknown() { - xxx_messageInfo_FindTagResponse.DiscardUnknown(m) + +func (*FindTagResponse) ProtoMessage() {} + +func (x *FindTagResponse) ProtoReflect() protoreflect.Message { + mi := &file_ref_proto_msgTypes[17] + 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_FindTagResponse proto.InternalMessageInfo +// Deprecated: Use FindTagResponse.ProtoReflect.Descriptor instead. +func (*FindTagResponse) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{17} +} -func (m *FindTagResponse) GetTag() *Tag { - if m != nil { - return m.Tag +func (x *FindTagResponse) GetTag() *Tag { + if x != nil { + return x.Tag } return nil } type FindAllTagsRequest 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:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *FindAllTagsRequest) Reset() { *m = FindAllTagsRequest{} } -func (m *FindAllTagsRequest) String() string { return proto.CompactTextString(m) } -func (*FindAllTagsRequest) ProtoMessage() {} -func (*FindAllTagsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_65d958559ea81b29, []int{18} + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` } -func (m *FindAllTagsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FindAllTagsRequest.Unmarshal(m, b) -} -func (m *FindAllTagsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FindAllTagsRequest.Marshal(b, m, deterministic) -} -func (m *FindAllTagsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_FindAllTagsRequest.Merge(m, src) +func (x *FindAllTagsRequest) Reset() { + *x = FindAllTagsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FindAllTagsRequest) XXX_Size() int { - return xxx_messageInfo_FindAllTagsRequest.Size(m) + +func (x *FindAllTagsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FindAllTagsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_FindAllTagsRequest.DiscardUnknown(m) + +func (*FindAllTagsRequest) ProtoMessage() {} + +func (x *FindAllTagsRequest) ProtoReflect() protoreflect.Message { + mi := &file_ref_proto_msgTypes[18] + 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_FindAllTagsRequest proto.InternalMessageInfo +// Deprecated: Use FindAllTagsRequest.ProtoReflect.Descriptor instead. +func (*FindAllTagsRequest) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{18} +} -func (m *FindAllTagsRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *FindAllTagsRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } type FindAllTagsResponse struct { - Tags []*Tag `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *FindAllTagsResponse) Reset() { *m = FindAllTagsResponse{} } -func (m *FindAllTagsResponse) String() string { return proto.CompactTextString(m) } -func (*FindAllTagsResponse) ProtoMessage() {} -func (*FindAllTagsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_65d958559ea81b29, []int{19} + Tags []*Tag `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty"` } -func (m *FindAllTagsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FindAllTagsResponse.Unmarshal(m, b) -} -func (m *FindAllTagsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FindAllTagsResponse.Marshal(b, m, deterministic) -} -func (m *FindAllTagsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_FindAllTagsResponse.Merge(m, src) +func (x *FindAllTagsResponse) Reset() { + *x = FindAllTagsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FindAllTagsResponse) XXX_Size() int { - return xxx_messageInfo_FindAllTagsResponse.Size(m) + +func (x *FindAllTagsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FindAllTagsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_FindAllTagsResponse.DiscardUnknown(m) + +func (*FindAllTagsResponse) ProtoMessage() {} + +func (x *FindAllTagsResponse) ProtoReflect() protoreflect.Message { + mi := &file_ref_proto_msgTypes[19] + 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_FindAllTagsResponse proto.InternalMessageInfo +// Deprecated: Use FindAllTagsResponse.ProtoReflect.Descriptor instead. +func (*FindAllTagsResponse) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{19} +} -func (m *FindAllTagsResponse) GetTags() []*Tag { - if m != nil { - return m.Tags +func (x *FindAllTagsResponse) GetTags() []*Tag { + if x != nil { + return x.Tags } return nil } type RefExistsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // Any ref, e.g. 'refs/heads/master' or 'refs/tags/v1.0.1'. Must start with 'refs/'. - Ref []byte `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Ref []byte `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` } -func (m *RefExistsRequest) Reset() { *m = RefExistsRequest{} } -func (m *RefExistsRequest) String() string { return proto.CompactTextString(m) } -func (*RefExistsRequest) ProtoMessage() {} -func (*RefExistsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_65d958559ea81b29, []int{20} +func (x *RefExistsRequest) Reset() { + *x = RefExistsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RefExistsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RefExistsRequest.Unmarshal(m, b) +func (x *RefExistsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RefExistsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RefExistsRequest.Marshal(b, m, deterministic) -} -func (m *RefExistsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RefExistsRequest.Merge(m, src) -} -func (m *RefExistsRequest) XXX_Size() int { - return xxx_messageInfo_RefExistsRequest.Size(m) -} -func (m *RefExistsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RefExistsRequest.DiscardUnknown(m) + +func (*RefExistsRequest) ProtoMessage() {} + +func (x *RefExistsRequest) ProtoReflect() protoreflect.Message { + mi := &file_ref_proto_msgTypes[20] + 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_RefExistsRequest proto.InternalMessageInfo +// Deprecated: Use RefExistsRequest.ProtoReflect.Descriptor instead. +func (*RefExistsRequest) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{20} +} -func (m *RefExistsRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *RefExistsRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *RefExistsRequest) GetRef() []byte { - if m != nil { - return m.Ref +func (x *RefExistsRequest) GetRef() []byte { + if x != nil { + return x.Ref } return nil } type RefExistsResponse struct { - Value bool `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *RefExistsResponse) Reset() { *m = RefExistsResponse{} } -func (m *RefExistsResponse) String() string { return proto.CompactTextString(m) } -func (*RefExistsResponse) ProtoMessage() {} -func (*RefExistsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_65d958559ea81b29, []int{21} + Value bool `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` } -func (m *RefExistsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RefExistsResponse.Unmarshal(m, b) -} -func (m *RefExistsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RefExistsResponse.Marshal(b, m, deterministic) -} -func (m *RefExistsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_RefExistsResponse.Merge(m, src) +func (x *RefExistsResponse) Reset() { + *x = RefExistsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RefExistsResponse) XXX_Size() int { - return xxx_messageInfo_RefExistsResponse.Size(m) + +func (x *RefExistsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RefExistsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_RefExistsResponse.DiscardUnknown(m) + +func (*RefExistsResponse) ProtoMessage() {} + +func (x *RefExistsResponse) ProtoReflect() protoreflect.Message { + mi := &file_ref_proto_msgTypes[21] + 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_RefExistsResponse proto.InternalMessageInfo +// Deprecated: Use RefExistsResponse.ProtoReflect.Descriptor instead. +func (*RefExistsResponse) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{21} +} -func (m *RefExistsResponse) GetValue() bool { - if m != nil { - return m.Value +func (x *RefExistsResponse) GetValue() bool { + if x != nil { + return x.Value } return false } type CreateBranchRequest struct { - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - Name []byte `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - StartPoint []byte `protobuf:"bytes,3,opt,name=start_point,json=startPoint,proto3" json:"start_point,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *CreateBranchRequest) Reset() { *m = CreateBranchRequest{} } -func (m *CreateBranchRequest) String() string { return proto.CompactTextString(m) } -func (*CreateBranchRequest) ProtoMessage() {} -func (*CreateBranchRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_65d958559ea81b29, []int{22} + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + Name []byte `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + StartPoint []byte `protobuf:"bytes,3,opt,name=start_point,json=startPoint,proto3" json:"start_point,omitempty"` } -func (m *CreateBranchRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateBranchRequest.Unmarshal(m, b) -} -func (m *CreateBranchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateBranchRequest.Marshal(b, m, deterministic) -} -func (m *CreateBranchRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateBranchRequest.Merge(m, src) +func (x *CreateBranchRequest) Reset() { + *x = CreateBranchRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CreateBranchRequest) XXX_Size() int { - return xxx_messageInfo_CreateBranchRequest.Size(m) + +func (x *CreateBranchRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CreateBranchRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateBranchRequest.DiscardUnknown(m) + +func (*CreateBranchRequest) ProtoMessage() {} + +func (x *CreateBranchRequest) ProtoReflect() protoreflect.Message { + mi := &file_ref_proto_msgTypes[22] + 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_CreateBranchRequest proto.InternalMessageInfo +// Deprecated: Use CreateBranchRequest.ProtoReflect.Descriptor instead. +func (*CreateBranchRequest) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{22} +} -func (m *CreateBranchRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *CreateBranchRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *CreateBranchRequest) GetName() []byte { - if m != nil { - return m.Name +func (x *CreateBranchRequest) GetName() []byte { + if x != nil { + return x.Name } return nil } -func (m *CreateBranchRequest) GetStartPoint() []byte { - if m != nil { - return m.StartPoint +func (x *CreateBranchRequest) GetStartPoint() []byte { + if x != nil { + return x.StartPoint } return nil } type CreateBranchResponse struct { - Status CreateBranchResponse_Status `protobuf:"varint,1,opt,name=status,proto3,enum=gitaly.CreateBranchResponse_Status" json:"status,omitempty"` - Branch *Branch `protobuf:"bytes,2,opt,name=branch,proto3" json:"branch,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *CreateBranchResponse) Reset() { *m = CreateBranchResponse{} } -func (m *CreateBranchResponse) String() string { return proto.CompactTextString(m) } -func (*CreateBranchResponse) ProtoMessage() {} -func (*CreateBranchResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_65d958559ea81b29, []int{23} + Status CreateBranchResponse_Status `protobuf:"varint,1,opt,name=status,proto3,enum=gitaly.CreateBranchResponse_Status" json:"status,omitempty"` + Branch *Branch `protobuf:"bytes,2,opt,name=branch,proto3" json:"branch,omitempty"` } -func (m *CreateBranchResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateBranchResponse.Unmarshal(m, b) -} -func (m *CreateBranchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateBranchResponse.Marshal(b, m, deterministic) -} -func (m *CreateBranchResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateBranchResponse.Merge(m, src) +func (x *CreateBranchResponse) Reset() { + *x = CreateBranchResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CreateBranchResponse) XXX_Size() int { - return xxx_messageInfo_CreateBranchResponse.Size(m) + +func (x *CreateBranchResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CreateBranchResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CreateBranchResponse.DiscardUnknown(m) + +func (*CreateBranchResponse) ProtoMessage() {} + +func (x *CreateBranchResponse) ProtoReflect() protoreflect.Message { + mi := &file_ref_proto_msgTypes[23] + 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_CreateBranchResponse proto.InternalMessageInfo +// Deprecated: Use CreateBranchResponse.ProtoReflect.Descriptor instead. +func (*CreateBranchResponse) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{23} +} -func (m *CreateBranchResponse) GetStatus() CreateBranchResponse_Status { - if m != nil { - return m.Status +func (x *CreateBranchResponse) GetStatus() CreateBranchResponse_Status { + if x != nil { + return x.Status } return CreateBranchResponse_OK } -func (m *CreateBranchResponse) GetBranch() *Branch { - if m != nil { - return m.Branch +func (x *CreateBranchResponse) GetBranch() *Branch { + if x != nil { + return x.Branch } return nil } type DeleteBranchRequest struct { - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - Name []byte `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *DeleteBranchRequest) Reset() { *m = DeleteBranchRequest{} } -func (m *DeleteBranchRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteBranchRequest) ProtoMessage() {} -func (*DeleteBranchRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_65d958559ea81b29, []int{24} + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + Name []byte `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` } -func (m *DeleteBranchRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteBranchRequest.Unmarshal(m, b) -} -func (m *DeleteBranchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteBranchRequest.Marshal(b, m, deterministic) -} -func (m *DeleteBranchRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteBranchRequest.Merge(m, src) +func (x *DeleteBranchRequest) Reset() { + *x = DeleteBranchRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DeleteBranchRequest) XXX_Size() int { - return xxx_messageInfo_DeleteBranchRequest.Size(m) + +func (x *DeleteBranchRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DeleteBranchRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteBranchRequest.DiscardUnknown(m) + +func (*DeleteBranchRequest) ProtoMessage() {} + +func (x *DeleteBranchRequest) ProtoReflect() protoreflect.Message { + mi := &file_ref_proto_msgTypes[24] + 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_DeleteBranchRequest proto.InternalMessageInfo +// Deprecated: Use DeleteBranchRequest.ProtoReflect.Descriptor instead. +func (*DeleteBranchRequest) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{24} +} -func (m *DeleteBranchRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *DeleteBranchRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *DeleteBranchRequest) GetName() []byte { - if m != nil { - return m.Name +func (x *DeleteBranchRequest) GetName() []byte { + if x != nil { + return x.Name } return nil } // Not clear if we need to do status signaling; we can add fields later. type DeleteBranchResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *DeleteBranchResponse) Reset() { *m = DeleteBranchResponse{} } -func (m *DeleteBranchResponse) String() string { return proto.CompactTextString(m) } -func (*DeleteBranchResponse) ProtoMessage() {} -func (*DeleteBranchResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_65d958559ea81b29, []int{25} +func (x *DeleteBranchResponse) Reset() { + *x = DeleteBranchResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DeleteBranchResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteBranchResponse.Unmarshal(m, b) -} -func (m *DeleteBranchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteBranchResponse.Marshal(b, m, deterministic) -} -func (m *DeleteBranchResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteBranchResponse.Merge(m, src) -} -func (m *DeleteBranchResponse) XXX_Size() int { - return xxx_messageInfo_DeleteBranchResponse.Size(m) +func (x *DeleteBranchResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DeleteBranchResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteBranchResponse.DiscardUnknown(m) + +func (*DeleteBranchResponse) ProtoMessage() {} + +func (x *DeleteBranchResponse) ProtoReflect() protoreflect.Message { + mi := &file_ref_proto_msgTypes[25] + 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_DeleteBranchResponse proto.InternalMessageInfo +// Deprecated: Use DeleteBranchResponse.ProtoReflect.Descriptor instead. +func (*DeleteBranchResponse) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{25} +} type FindBranchRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // repository is the repository in which the branch should be looked up. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // name is the name of the branch which should be looked up. This must be the // branch name only, it must not have the "refs/heads/" prefix. - Name []byte `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Name []byte `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` } -func (m *FindBranchRequest) Reset() { *m = FindBranchRequest{} } -func (m *FindBranchRequest) String() string { return proto.CompactTextString(m) } -func (*FindBranchRequest) ProtoMessage() {} -func (*FindBranchRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_65d958559ea81b29, []int{26} +func (x *FindBranchRequest) Reset() { + *x = FindBranchRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FindBranchRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FindBranchRequest.Unmarshal(m, b) +func (x *FindBranchRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FindBranchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FindBranchRequest.Marshal(b, m, deterministic) -} -func (m *FindBranchRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_FindBranchRequest.Merge(m, src) -} -func (m *FindBranchRequest) XXX_Size() int { - return xxx_messageInfo_FindBranchRequest.Size(m) -} -func (m *FindBranchRequest) XXX_DiscardUnknown() { - xxx_messageInfo_FindBranchRequest.DiscardUnknown(m) + +func (*FindBranchRequest) ProtoMessage() {} + +func (x *FindBranchRequest) ProtoReflect() protoreflect.Message { + mi := &file_ref_proto_msgTypes[26] + 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_FindBranchRequest proto.InternalMessageInfo +// Deprecated: Use FindBranchRequest.ProtoReflect.Descriptor instead. +func (*FindBranchRequest) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{26} +} -func (m *FindBranchRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *FindBranchRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *FindBranchRequest) GetName() []byte { - if m != nil { - return m.Name +func (x *FindBranchRequest) GetName() []byte { + if x != nil { + return x.Name } return nil } type FindBranchResponse struct { - Branch *Branch `protobuf:"bytes,1,opt,name=branch,proto3" json:"branch,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *FindBranchResponse) Reset() { *m = FindBranchResponse{} } -func (m *FindBranchResponse) String() string { return proto.CompactTextString(m) } -func (*FindBranchResponse) ProtoMessage() {} -func (*FindBranchResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_65d958559ea81b29, []int{27} + Branch *Branch `protobuf:"bytes,1,opt,name=branch,proto3" json:"branch,omitempty"` } -func (m *FindBranchResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FindBranchResponse.Unmarshal(m, b) -} -func (m *FindBranchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FindBranchResponse.Marshal(b, m, deterministic) -} -func (m *FindBranchResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_FindBranchResponse.Merge(m, src) +func (x *FindBranchResponse) Reset() { + *x = FindBranchResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FindBranchResponse) XXX_Size() int { - return xxx_messageInfo_FindBranchResponse.Size(m) + +func (x *FindBranchResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FindBranchResponse) XXX_DiscardUnknown() { - xxx_messageInfo_FindBranchResponse.DiscardUnknown(m) + +func (*FindBranchResponse) ProtoMessage() {} + +func (x *FindBranchResponse) ProtoReflect() protoreflect.Message { + mi := &file_ref_proto_msgTypes[27] + 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_FindBranchResponse proto.InternalMessageInfo +// Deprecated: Use FindBranchResponse.ProtoReflect.Descriptor instead. +func (*FindBranchResponse) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{27} +} -func (m *FindBranchResponse) GetBranch() *Branch { - if m != nil { - return m.Branch +func (x *FindBranchResponse) GetBranch() *Branch { + if x != nil { + return x.Branch } return nil } type DeleteRefsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // The following two fields are mutually exclusive - ExceptWithPrefix [][]byte `protobuf:"bytes,2,rep,name=except_with_prefix,json=exceptWithPrefix,proto3" json:"except_with_prefix,omitempty"` - Refs [][]byte `protobuf:"bytes,3,rep,name=refs,proto3" json:"refs,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ExceptWithPrefix [][]byte `protobuf:"bytes,2,rep,name=except_with_prefix,json=exceptWithPrefix,proto3" json:"except_with_prefix,omitempty"` + Refs [][]byte `protobuf:"bytes,3,rep,name=refs,proto3" json:"refs,omitempty"` } -func (m *DeleteRefsRequest) Reset() { *m = DeleteRefsRequest{} } -func (m *DeleteRefsRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteRefsRequest) ProtoMessage() {} -func (*DeleteRefsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_65d958559ea81b29, []int{28} +func (x *DeleteRefsRequest) Reset() { + *x = DeleteRefsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DeleteRefsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteRefsRequest.Unmarshal(m, b) -} -func (m *DeleteRefsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteRefsRequest.Marshal(b, m, deterministic) -} -func (m *DeleteRefsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteRefsRequest.Merge(m, src) -} -func (m *DeleteRefsRequest) XXX_Size() int { - return xxx_messageInfo_DeleteRefsRequest.Size(m) +func (x *DeleteRefsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DeleteRefsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteRefsRequest.DiscardUnknown(m) + +func (*DeleteRefsRequest) ProtoMessage() {} + +func (x *DeleteRefsRequest) ProtoReflect() protoreflect.Message { + mi := &file_ref_proto_msgTypes[28] + 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_DeleteRefsRequest proto.InternalMessageInfo +// Deprecated: Use DeleteRefsRequest.ProtoReflect.Descriptor instead. +func (*DeleteRefsRequest) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{28} +} -func (m *DeleteRefsRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *DeleteRefsRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *DeleteRefsRequest) GetExceptWithPrefix() [][]byte { - if m != nil { - return m.ExceptWithPrefix +func (x *DeleteRefsRequest) GetExceptWithPrefix() [][]byte { + if x != nil { + return x.ExceptWithPrefix } return nil } -func (m *DeleteRefsRequest) GetRefs() [][]byte { - if m != nil { - return m.Refs +func (x *DeleteRefsRequest) GetRefs() [][]byte { + if x != nil { + return x.Refs } return nil } type DeleteRefsResponse struct { - GitError string `protobuf:"bytes,1,opt,name=git_error,json=gitError,proto3" json:"git_error,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *DeleteRefsResponse) Reset() { *m = DeleteRefsResponse{} } -func (m *DeleteRefsResponse) String() string { return proto.CompactTextString(m) } -func (*DeleteRefsResponse) ProtoMessage() {} -func (*DeleteRefsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_65d958559ea81b29, []int{29} + GitError string `protobuf:"bytes,1,opt,name=git_error,json=gitError,proto3" json:"git_error,omitempty"` } -func (m *DeleteRefsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteRefsResponse.Unmarshal(m, b) -} -func (m *DeleteRefsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteRefsResponse.Marshal(b, m, deterministic) -} -func (m *DeleteRefsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteRefsResponse.Merge(m, src) +func (x *DeleteRefsResponse) Reset() { + *x = DeleteRefsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DeleteRefsResponse) XXX_Size() int { - return xxx_messageInfo_DeleteRefsResponse.Size(m) + +func (x *DeleteRefsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DeleteRefsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteRefsResponse.DiscardUnknown(m) + +func (*DeleteRefsResponse) ProtoMessage() {} + +func (x *DeleteRefsResponse) ProtoReflect() protoreflect.Message { + mi := &file_ref_proto_msgTypes[29] + 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_DeleteRefsResponse proto.InternalMessageInfo +// Deprecated: Use DeleteRefsResponse.ProtoReflect.Descriptor instead. +func (*DeleteRefsResponse) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{29} +} -func (m *DeleteRefsResponse) GetGitError() string { - if m != nil { - return m.GitError +func (x *DeleteRefsResponse) GetGitError() string { + if x != nil { + return x.GitError } return "" } type ListBranchNamesContainingCommitRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` CommitId string `protobuf:"bytes,2,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"` // Limit the number of tag names to be returned // If the limit is set to zero, all items will be returned - Limit uint32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Limit uint32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` } -func (m *ListBranchNamesContainingCommitRequest) Reset() { - *m = ListBranchNamesContainingCommitRequest{} -} -func (m *ListBranchNamesContainingCommitRequest) String() string { return proto.CompactTextString(m) } -func (*ListBranchNamesContainingCommitRequest) ProtoMessage() {} -func (*ListBranchNamesContainingCommitRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_65d958559ea81b29, []int{30} +func (x *ListBranchNamesContainingCommitRequest) Reset() { + *x = ListBranchNamesContainingCommitRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListBranchNamesContainingCommitRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListBranchNamesContainingCommitRequest.Unmarshal(m, b) -} -func (m *ListBranchNamesContainingCommitRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListBranchNamesContainingCommitRequest.Marshal(b, m, deterministic) +func (x *ListBranchNamesContainingCommitRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListBranchNamesContainingCommitRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListBranchNamesContainingCommitRequest.Merge(m, src) -} -func (m *ListBranchNamesContainingCommitRequest) XXX_Size() int { - return xxx_messageInfo_ListBranchNamesContainingCommitRequest.Size(m) -} -func (m *ListBranchNamesContainingCommitRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListBranchNamesContainingCommitRequest.DiscardUnknown(m) + +func (*ListBranchNamesContainingCommitRequest) ProtoMessage() {} + +func (x *ListBranchNamesContainingCommitRequest) ProtoReflect() protoreflect.Message { + mi := &file_ref_proto_msgTypes[30] + 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_ListBranchNamesContainingCommitRequest proto.InternalMessageInfo +// Deprecated: Use ListBranchNamesContainingCommitRequest.ProtoReflect.Descriptor instead. +func (*ListBranchNamesContainingCommitRequest) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{30} +} -func (m *ListBranchNamesContainingCommitRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *ListBranchNamesContainingCommitRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *ListBranchNamesContainingCommitRequest) GetCommitId() string { - if m != nil { - return m.CommitId +func (x *ListBranchNamesContainingCommitRequest) GetCommitId() string { + if x != nil { + return x.CommitId } return "" } -func (m *ListBranchNamesContainingCommitRequest) GetLimit() uint32 { - if m != nil { - return m.Limit +func (x *ListBranchNamesContainingCommitRequest) GetLimit() uint32 { + if x != nil { + return x.Limit } return 0 } type ListBranchNamesContainingCommitResponse struct { - BranchNames [][]byte `protobuf:"bytes,2,rep,name=branch_names,json=branchNames,proto3" json:"branch_names,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *ListBranchNamesContainingCommitResponse) Reset() { - *m = ListBranchNamesContainingCommitResponse{} -} -func (m *ListBranchNamesContainingCommitResponse) String() string { return proto.CompactTextString(m) } -func (*ListBranchNamesContainingCommitResponse) ProtoMessage() {} -func (*ListBranchNamesContainingCommitResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_65d958559ea81b29, []int{31} + BranchNames [][]byte `protobuf:"bytes,2,rep,name=branch_names,json=branchNames,proto3" json:"branch_names,omitempty"` } -func (m *ListBranchNamesContainingCommitResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListBranchNamesContainingCommitResponse.Unmarshal(m, b) -} -func (m *ListBranchNamesContainingCommitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListBranchNamesContainingCommitResponse.Marshal(b, m, deterministic) -} -func (m *ListBranchNamesContainingCommitResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListBranchNamesContainingCommitResponse.Merge(m, src) +func (x *ListBranchNamesContainingCommitResponse) Reset() { + *x = ListBranchNamesContainingCommitResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListBranchNamesContainingCommitResponse) XXX_Size() int { - return xxx_messageInfo_ListBranchNamesContainingCommitResponse.Size(m) + +func (x *ListBranchNamesContainingCommitResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListBranchNamesContainingCommitResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListBranchNamesContainingCommitResponse.DiscardUnknown(m) + +func (*ListBranchNamesContainingCommitResponse) ProtoMessage() {} + +func (x *ListBranchNamesContainingCommitResponse) ProtoReflect() protoreflect.Message { + mi := &file_ref_proto_msgTypes[31] + 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_ListBranchNamesContainingCommitResponse proto.InternalMessageInfo +// Deprecated: Use ListBranchNamesContainingCommitResponse.ProtoReflect.Descriptor instead. +func (*ListBranchNamesContainingCommitResponse) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{31} +} -func (m *ListBranchNamesContainingCommitResponse) GetBranchNames() [][]byte { - if m != nil { - return m.BranchNames +func (x *ListBranchNamesContainingCommitResponse) GetBranchNames() [][]byte { + if x != nil { + return x.BranchNames } return nil } type ListTagNamesContainingCommitRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` CommitId string `protobuf:"bytes,2,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"` // Limit the number of tag names to be returned // If the limit is set to zero, all items will be returned - Limit uint32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Limit uint32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` } -func (m *ListTagNamesContainingCommitRequest) Reset() { *m = ListTagNamesContainingCommitRequest{} } -func (m *ListTagNamesContainingCommitRequest) String() string { return proto.CompactTextString(m) } -func (*ListTagNamesContainingCommitRequest) ProtoMessage() {} -func (*ListTagNamesContainingCommitRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_65d958559ea81b29, []int{32} +func (x *ListTagNamesContainingCommitRequest) Reset() { + *x = ListTagNamesContainingCommitRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListTagNamesContainingCommitRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListTagNamesContainingCommitRequest.Unmarshal(m, b) -} -func (m *ListTagNamesContainingCommitRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListTagNamesContainingCommitRequest.Marshal(b, m, deterministic) -} -func (m *ListTagNamesContainingCommitRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListTagNamesContainingCommitRequest.Merge(m, src) +func (x *ListTagNamesContainingCommitRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListTagNamesContainingCommitRequest) XXX_Size() int { - return xxx_messageInfo_ListTagNamesContainingCommitRequest.Size(m) -} -func (m *ListTagNamesContainingCommitRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListTagNamesContainingCommitRequest.DiscardUnknown(m) + +func (*ListTagNamesContainingCommitRequest) ProtoMessage() {} + +func (x *ListTagNamesContainingCommitRequest) ProtoReflect() protoreflect.Message { + mi := &file_ref_proto_msgTypes[32] + 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_ListTagNamesContainingCommitRequest proto.InternalMessageInfo +// Deprecated: Use ListTagNamesContainingCommitRequest.ProtoReflect.Descriptor instead. +func (*ListTagNamesContainingCommitRequest) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{32} +} -func (m *ListTagNamesContainingCommitRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *ListTagNamesContainingCommitRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *ListTagNamesContainingCommitRequest) GetCommitId() string { - if m != nil { - return m.CommitId +func (x *ListTagNamesContainingCommitRequest) GetCommitId() string { + if x != nil { + return x.CommitId } return "" } -func (m *ListTagNamesContainingCommitRequest) GetLimit() uint32 { - if m != nil { - return m.Limit +func (x *ListTagNamesContainingCommitRequest) GetLimit() uint32 { + if x != nil { + return x.Limit } return 0 } type ListTagNamesContainingCommitResponse struct { - TagNames [][]byte `protobuf:"bytes,2,rep,name=tag_names,json=tagNames,proto3" json:"tag_names,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *ListTagNamesContainingCommitResponse) Reset() { *m = ListTagNamesContainingCommitResponse{} } -func (m *ListTagNamesContainingCommitResponse) String() string { return proto.CompactTextString(m) } -func (*ListTagNamesContainingCommitResponse) ProtoMessage() {} -func (*ListTagNamesContainingCommitResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_65d958559ea81b29, []int{33} + TagNames [][]byte `protobuf:"bytes,2,rep,name=tag_names,json=tagNames,proto3" json:"tag_names,omitempty"` } -func (m *ListTagNamesContainingCommitResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListTagNamesContainingCommitResponse.Unmarshal(m, b) -} -func (m *ListTagNamesContainingCommitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListTagNamesContainingCommitResponse.Marshal(b, m, deterministic) -} -func (m *ListTagNamesContainingCommitResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListTagNamesContainingCommitResponse.Merge(m, src) +func (x *ListTagNamesContainingCommitResponse) Reset() { + *x = ListTagNamesContainingCommitResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListTagNamesContainingCommitResponse) XXX_Size() int { - return xxx_messageInfo_ListTagNamesContainingCommitResponse.Size(m) + +func (x *ListTagNamesContainingCommitResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListTagNamesContainingCommitResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListTagNamesContainingCommitResponse.DiscardUnknown(m) + +func (*ListTagNamesContainingCommitResponse) ProtoMessage() {} + +func (x *ListTagNamesContainingCommitResponse) ProtoReflect() protoreflect.Message { + mi := &file_ref_proto_msgTypes[33] + 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_ListTagNamesContainingCommitResponse proto.InternalMessageInfo +// Deprecated: Use ListTagNamesContainingCommitResponse.ProtoReflect.Descriptor instead. +func (*ListTagNamesContainingCommitResponse) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{33} +} -func (m *ListTagNamesContainingCommitResponse) GetTagNames() [][]byte { - if m != nil { - return m.TagNames +func (x *ListTagNamesContainingCommitResponse) GetTagNames() [][]byte { + if x != nil { + return x.TagNames } return nil } type GetTagMessagesRequest struct { - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - TagIds []string `protobuf:"bytes,3,rep,name=tag_ids,json=tagIds,proto3" json:"tag_ids,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *GetTagMessagesRequest) Reset() { *m = GetTagMessagesRequest{} } -func (m *GetTagMessagesRequest) String() string { return proto.CompactTextString(m) } -func (*GetTagMessagesRequest) ProtoMessage() {} -func (*GetTagMessagesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_65d958559ea81b29, []int{34} + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + TagIds []string `protobuf:"bytes,3,rep,name=tag_ids,json=tagIds,proto3" json:"tag_ids,omitempty"` } -func (m *GetTagMessagesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetTagMessagesRequest.Unmarshal(m, b) -} -func (m *GetTagMessagesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetTagMessagesRequest.Marshal(b, m, deterministic) -} -func (m *GetTagMessagesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTagMessagesRequest.Merge(m, src) +func (x *GetTagMessagesRequest) Reset() { + *x = GetTagMessagesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetTagMessagesRequest) XXX_Size() int { - return xxx_messageInfo_GetTagMessagesRequest.Size(m) + +func (x *GetTagMessagesRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetTagMessagesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetTagMessagesRequest.DiscardUnknown(m) + +func (*GetTagMessagesRequest) ProtoMessage() {} + +func (x *GetTagMessagesRequest) ProtoReflect() protoreflect.Message { + mi := &file_ref_proto_msgTypes[34] + 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_GetTagMessagesRequest proto.InternalMessageInfo +// Deprecated: Use GetTagMessagesRequest.ProtoReflect.Descriptor instead. +func (*GetTagMessagesRequest) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{34} +} -func (m *GetTagMessagesRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *GetTagMessagesRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *GetTagMessagesRequest) GetTagIds() []string { - if m != nil { - return m.TagIds +func (x *GetTagMessagesRequest) GetTagIds() []string { + if x != nil { + return x.TagIds } return nil } type GetTagMessagesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Message []byte `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // Only present for a new tag message - TagId string `protobuf:"bytes,3,opt,name=tag_id,json=tagId,proto3" json:"tag_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + TagId string `protobuf:"bytes,3,opt,name=tag_id,json=tagId,proto3" json:"tag_id,omitempty"` } -func (m *GetTagMessagesResponse) Reset() { *m = GetTagMessagesResponse{} } -func (m *GetTagMessagesResponse) String() string { return proto.CompactTextString(m) } -func (*GetTagMessagesResponse) ProtoMessage() {} -func (*GetTagMessagesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_65d958559ea81b29, []int{35} +func (x *GetTagMessagesResponse) Reset() { + *x = GetTagMessagesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetTagMessagesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetTagMessagesResponse.Unmarshal(m, b) -} -func (m *GetTagMessagesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetTagMessagesResponse.Marshal(b, m, deterministic) -} -func (m *GetTagMessagesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTagMessagesResponse.Merge(m, src) +func (x *GetTagMessagesResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetTagMessagesResponse) XXX_Size() int { - return xxx_messageInfo_GetTagMessagesResponse.Size(m) -} -func (m *GetTagMessagesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetTagMessagesResponse.DiscardUnknown(m) + +func (*GetTagMessagesResponse) ProtoMessage() {} + +func (x *GetTagMessagesResponse) ProtoReflect() protoreflect.Message { + mi := &file_ref_proto_msgTypes[35] + 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_GetTagMessagesResponse proto.InternalMessageInfo +// Deprecated: Use GetTagMessagesResponse.ProtoReflect.Descriptor instead. +func (*GetTagMessagesResponse) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{35} +} -func (m *GetTagMessagesResponse) GetMessage() []byte { - if m != nil { - return m.Message +func (x *GetTagMessagesResponse) GetMessage() []byte { + if x != nil { + return x.Message } return nil } -func (m *GetTagMessagesResponse) GetTagId() string { - if m != nil { - return m.TagId +func (x *GetTagMessagesResponse) GetTagId() string { + if x != nil { + return x.TagId } return "" } type ListNewCommitsRequest struct { - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - CommitId string `protobuf:"bytes,2,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *ListNewCommitsRequest) Reset() { *m = ListNewCommitsRequest{} } -func (m *ListNewCommitsRequest) String() string { return proto.CompactTextString(m) } -func (*ListNewCommitsRequest) ProtoMessage() {} -func (*ListNewCommitsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_65d958559ea81b29, []int{36} + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + CommitId string `protobuf:"bytes,2,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"` } -func (m *ListNewCommitsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListNewCommitsRequest.Unmarshal(m, b) -} -func (m *ListNewCommitsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListNewCommitsRequest.Marshal(b, m, deterministic) -} -func (m *ListNewCommitsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListNewCommitsRequest.Merge(m, src) +func (x *ListNewCommitsRequest) Reset() { + *x = ListNewCommitsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListNewCommitsRequest) XXX_Size() int { - return xxx_messageInfo_ListNewCommitsRequest.Size(m) + +func (x *ListNewCommitsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListNewCommitsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListNewCommitsRequest.DiscardUnknown(m) + +func (*ListNewCommitsRequest) ProtoMessage() {} + +func (x *ListNewCommitsRequest) ProtoReflect() protoreflect.Message { + mi := &file_ref_proto_msgTypes[36] + 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_ListNewCommitsRequest proto.InternalMessageInfo +// Deprecated: Use ListNewCommitsRequest.ProtoReflect.Descriptor instead. +func (*ListNewCommitsRequest) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{36} +} -func (m *ListNewCommitsRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *ListNewCommitsRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *ListNewCommitsRequest) GetCommitId() string { - if m != nil { - return m.CommitId +func (x *ListNewCommitsRequest) GetCommitId() string { + if x != nil { + return x.CommitId } return "" } type ListNewCommitsResponse struct { - Commits []*GitCommit `protobuf:"bytes,1,rep,name=commits,proto3" json:"commits,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *ListNewCommitsResponse) Reset() { *m = ListNewCommitsResponse{} } -func (m *ListNewCommitsResponse) String() string { return proto.CompactTextString(m) } -func (*ListNewCommitsResponse) ProtoMessage() {} -func (*ListNewCommitsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_65d958559ea81b29, []int{37} + Commits []*GitCommit `protobuf:"bytes,1,rep,name=commits,proto3" json:"commits,omitempty"` } -func (m *ListNewCommitsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListNewCommitsResponse.Unmarshal(m, b) -} -func (m *ListNewCommitsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListNewCommitsResponse.Marshal(b, m, deterministic) -} -func (m *ListNewCommitsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListNewCommitsResponse.Merge(m, src) +func (x *ListNewCommitsResponse) Reset() { + *x = ListNewCommitsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[37] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListNewCommitsResponse) XXX_Size() int { - return xxx_messageInfo_ListNewCommitsResponse.Size(m) + +func (x *ListNewCommitsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListNewCommitsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListNewCommitsResponse.DiscardUnknown(m) + +func (*ListNewCommitsResponse) ProtoMessage() {} + +func (x *ListNewCommitsResponse) ProtoReflect() protoreflect.Message { + mi := &file_ref_proto_msgTypes[37] + 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_ListNewCommitsResponse proto.InternalMessageInfo +// Deprecated: Use ListNewCommitsResponse.ProtoReflect.Descriptor instead. +func (*ListNewCommitsResponse) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{37} +} -func (m *ListNewCommitsResponse) GetCommits() []*GitCommit { - if m != nil { - return m.Commits +func (x *ListNewCommitsResponse) GetCommits() []*GitCommit { + if x != nil { + return x.Commits } return nil } type FindAllRemoteBranchesRequest struct { - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - RemoteName string `protobuf:"bytes,2,opt,name=remote_name,json=remoteName,proto3" json:"remote_name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *FindAllRemoteBranchesRequest) Reset() { *m = FindAllRemoteBranchesRequest{} } -func (m *FindAllRemoteBranchesRequest) String() string { return proto.CompactTextString(m) } -func (*FindAllRemoteBranchesRequest) ProtoMessage() {} -func (*FindAllRemoteBranchesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_65d958559ea81b29, []int{38} + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + RemoteName string `protobuf:"bytes,2,opt,name=remote_name,json=remoteName,proto3" json:"remote_name,omitempty"` } -func (m *FindAllRemoteBranchesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FindAllRemoteBranchesRequest.Unmarshal(m, b) -} -func (m *FindAllRemoteBranchesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FindAllRemoteBranchesRequest.Marshal(b, m, deterministic) -} -func (m *FindAllRemoteBranchesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_FindAllRemoteBranchesRequest.Merge(m, src) +func (x *FindAllRemoteBranchesRequest) Reset() { + *x = FindAllRemoteBranchesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[38] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FindAllRemoteBranchesRequest) XXX_Size() int { - return xxx_messageInfo_FindAllRemoteBranchesRequest.Size(m) + +func (x *FindAllRemoteBranchesRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FindAllRemoteBranchesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_FindAllRemoteBranchesRequest.DiscardUnknown(m) + +func (*FindAllRemoteBranchesRequest) ProtoMessage() {} + +func (x *FindAllRemoteBranchesRequest) ProtoReflect() protoreflect.Message { + mi := &file_ref_proto_msgTypes[38] + 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_FindAllRemoteBranchesRequest proto.InternalMessageInfo +// Deprecated: Use FindAllRemoteBranchesRequest.ProtoReflect.Descriptor instead. +func (*FindAllRemoteBranchesRequest) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{38} +} -func (m *FindAllRemoteBranchesRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *FindAllRemoteBranchesRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *FindAllRemoteBranchesRequest) GetRemoteName() string { - if m != nil { - return m.RemoteName +func (x *FindAllRemoteBranchesRequest) GetRemoteName() string { + if x != nil { + return x.RemoteName } return "" } type FindAllRemoteBranchesResponse struct { - Branches []*Branch `protobuf:"bytes,1,rep,name=branches,proto3" json:"branches,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Branches []*Branch `protobuf:"bytes,1,rep,name=branches,proto3" json:"branches,omitempty"` +} + +func (x *FindAllRemoteBranchesResponse) Reset() { + *x = FindAllRemoteBranchesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[39] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FindAllRemoteBranchesResponse) Reset() { *m = FindAllRemoteBranchesResponse{} } -func (m *FindAllRemoteBranchesResponse) String() string { return proto.CompactTextString(m) } -func (*FindAllRemoteBranchesResponse) ProtoMessage() {} +func (x *FindAllRemoteBranchesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FindAllRemoteBranchesResponse) ProtoMessage() {} + +func (x *FindAllRemoteBranchesResponse) ProtoReflect() protoreflect.Message { + mi := &file_ref_proto_msgTypes[39] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FindAllRemoteBranchesResponse.ProtoReflect.Descriptor instead. func (*FindAllRemoteBranchesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_65d958559ea81b29, []int{39} + return file_ref_proto_rawDescGZIP(), []int{39} } -func (m *FindAllRemoteBranchesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FindAllRemoteBranchesResponse.Unmarshal(m, b) +func (x *FindAllRemoteBranchesResponse) GetBranches() []*Branch { + if x != nil { + return x.Branches + } + return nil } -func (m *FindAllRemoteBranchesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FindAllRemoteBranchesResponse.Marshal(b, m, deterministic) + +type PackRefsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + AllRefs bool `protobuf:"varint,2,opt,name=all_refs,json=allRefs,proto3" json:"all_refs,omitempty"` } -func (m *FindAllRemoteBranchesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_FindAllRemoteBranchesResponse.Merge(m, src) + +func (x *PackRefsRequest) Reset() { + *x = PackRefsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[40] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FindAllRemoteBranchesResponse) XXX_Size() int { - return xxx_messageInfo_FindAllRemoteBranchesResponse.Size(m) + +func (x *PackRefsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FindAllRemoteBranchesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_FindAllRemoteBranchesResponse.DiscardUnknown(m) + +func (*PackRefsRequest) ProtoMessage() {} + +func (x *PackRefsRequest) ProtoReflect() protoreflect.Message { + mi := &file_ref_proto_msgTypes[40] + 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_FindAllRemoteBranchesResponse proto.InternalMessageInfo +// Deprecated: Use PackRefsRequest.ProtoReflect.Descriptor instead. +func (*PackRefsRequest) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{40} +} -func (m *FindAllRemoteBranchesResponse) GetBranches() []*Branch { - if m != nil { - return m.Branches +func (x *PackRefsRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -type PackRefsRequest struct { - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - AllRefs bool `protobuf:"varint,2,opt,name=all_refs,json=allRefs,proto3" json:"all_refs,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *PackRefsRequest) GetAllRefs() bool { + if x != nil { + return x.AllRefs + } + return false } -func (m *PackRefsRequest) Reset() { *m = PackRefsRequest{} } -func (m *PackRefsRequest) String() string { return proto.CompactTextString(m) } -func (*PackRefsRequest) ProtoMessage() {} -func (*PackRefsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_65d958559ea81b29, []int{40} +type PackRefsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *PackRefsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PackRefsRequest.Unmarshal(m, b) +func (x *PackRefsResponse) Reset() { + *x = PackRefsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[41] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *PackRefsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PackRefsRequest.Marshal(b, m, deterministic) + +func (x *PackRefsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PackRefsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_PackRefsRequest.Merge(m, src) + +func (*PackRefsResponse) ProtoMessage() {} + +func (x *PackRefsResponse) ProtoReflect() protoreflect.Message { + mi := &file_ref_proto_msgTypes[41] + 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 *PackRefsRequest) XXX_Size() int { - return xxx_messageInfo_PackRefsRequest.Size(m) + +// Deprecated: Use PackRefsResponse.ProtoReflect.Descriptor instead. +func (*PackRefsResponse) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{41} } -func (m *PackRefsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_PackRefsRequest.DiscardUnknown(m) + +type FindAllBranchesResponse_Branch struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Target *GitCommit `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"` } -var xxx_messageInfo_PackRefsRequest proto.InternalMessageInfo +func (x *FindAllBranchesResponse_Branch) Reset() { + *x = FindAllBranchesResponse_Branch{} + if protoimpl.UnsafeEnabled { + mi := &file_ref_proto_msgTypes[42] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} -func (m *PackRefsRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *FindAllBranchesResponse_Branch) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FindAllBranchesResponse_Branch) ProtoMessage() {} + +func (x *FindAllBranchesResponse_Branch) ProtoReflect() protoreflect.Message { + mi := &file_ref_proto_msgTypes[42] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return nil + return mi.MessageOf(x) } -func (m *PackRefsRequest) GetAllRefs() bool { - if m != nil { - return m.AllRefs +// Deprecated: Use FindAllBranchesResponse_Branch.ProtoReflect.Descriptor instead. +func (*FindAllBranchesResponse_Branch) Descriptor() ([]byte, []int) { + return file_ref_proto_rawDescGZIP(), []int{15, 0} +} + +func (x *FindAllBranchesResponse_Branch) GetName() []byte { + if x != nil { + return x.Name } - return false + return nil } -type PackRefsResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *FindAllBranchesResponse_Branch) GetTarget() *GitCommit { + if x != nil { + return x.Target + } + return nil } -func (m *PackRefsResponse) Reset() { *m = PackRefsResponse{} } -func (m *PackRefsResponse) String() string { return proto.CompactTextString(m) } -func (*PackRefsResponse) ProtoMessage() {} -func (*PackRefsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_65d958559ea81b29, []int{41} -} - -func (m *PackRefsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PackRefsResponse.Unmarshal(m, b) -} -func (m *PackRefsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PackRefsResponse.Marshal(b, m, deterministic) -} -func (m *PackRefsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_PackRefsResponse.Merge(m, src) -} -func (m *PackRefsResponse) XXX_Size() int { - return xxx_messageInfo_PackRefsResponse.Size(m) -} -func (m *PackRefsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_PackRefsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_PackRefsResponse proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("gitaly.FindLocalBranchesRequest_SortBy", FindLocalBranchesRequest_SortBy_name, FindLocalBranchesRequest_SortBy_value) - proto.RegisterEnum("gitaly.CreateBranchResponse_Status", CreateBranchResponse_Status_name, CreateBranchResponse_Status_value) - proto.RegisterType((*ListNewBlobsRequest)(nil), "gitaly.ListNewBlobsRequest") - proto.RegisterType((*ListNewBlobsResponse)(nil), "gitaly.ListNewBlobsResponse") - proto.RegisterType((*FindDefaultBranchNameRequest)(nil), "gitaly.FindDefaultBranchNameRequest") - proto.RegisterType((*FindDefaultBranchNameResponse)(nil), "gitaly.FindDefaultBranchNameResponse") - proto.RegisterType((*FindAllBranchNamesRequest)(nil), "gitaly.FindAllBranchNamesRequest") - proto.RegisterType((*FindAllBranchNamesResponse)(nil), "gitaly.FindAllBranchNamesResponse") - proto.RegisterType((*FindAllTagNamesRequest)(nil), "gitaly.FindAllTagNamesRequest") - proto.RegisterType((*FindAllTagNamesResponse)(nil), "gitaly.FindAllTagNamesResponse") - proto.RegisterType((*FindRefNameRequest)(nil), "gitaly.FindRefNameRequest") - proto.RegisterType((*FindRefNameResponse)(nil), "gitaly.FindRefNameResponse") - proto.RegisterType((*FindLocalBranchesRequest)(nil), "gitaly.FindLocalBranchesRequest") - proto.RegisterType((*FindLocalBranchesResponse)(nil), "gitaly.FindLocalBranchesResponse") - proto.RegisterType((*FindLocalBranchResponse)(nil), "gitaly.FindLocalBranchResponse") - proto.RegisterType((*FindLocalBranchCommitAuthor)(nil), "gitaly.FindLocalBranchCommitAuthor") - proto.RegisterType((*FindAllBranchesRequest)(nil), "gitaly.FindAllBranchesRequest") - proto.RegisterType((*FindAllBranchesResponse)(nil), "gitaly.FindAllBranchesResponse") - proto.RegisterType((*FindAllBranchesResponse_Branch)(nil), "gitaly.FindAllBranchesResponse.Branch") - proto.RegisterType((*FindTagRequest)(nil), "gitaly.FindTagRequest") - proto.RegisterType((*FindTagResponse)(nil), "gitaly.FindTagResponse") - proto.RegisterType((*FindAllTagsRequest)(nil), "gitaly.FindAllTagsRequest") - proto.RegisterType((*FindAllTagsResponse)(nil), "gitaly.FindAllTagsResponse") - proto.RegisterType((*RefExistsRequest)(nil), "gitaly.RefExistsRequest") - proto.RegisterType((*RefExistsResponse)(nil), "gitaly.RefExistsResponse") - proto.RegisterType((*CreateBranchRequest)(nil), "gitaly.CreateBranchRequest") - proto.RegisterType((*CreateBranchResponse)(nil), "gitaly.CreateBranchResponse") - proto.RegisterType((*DeleteBranchRequest)(nil), "gitaly.DeleteBranchRequest") - proto.RegisterType((*DeleteBranchResponse)(nil), "gitaly.DeleteBranchResponse") - proto.RegisterType((*FindBranchRequest)(nil), "gitaly.FindBranchRequest") - proto.RegisterType((*FindBranchResponse)(nil), "gitaly.FindBranchResponse") - proto.RegisterType((*DeleteRefsRequest)(nil), "gitaly.DeleteRefsRequest") - proto.RegisterType((*DeleteRefsResponse)(nil), "gitaly.DeleteRefsResponse") - proto.RegisterType((*ListBranchNamesContainingCommitRequest)(nil), "gitaly.ListBranchNamesContainingCommitRequest") - proto.RegisterType((*ListBranchNamesContainingCommitResponse)(nil), "gitaly.ListBranchNamesContainingCommitResponse") - proto.RegisterType((*ListTagNamesContainingCommitRequest)(nil), "gitaly.ListTagNamesContainingCommitRequest") - proto.RegisterType((*ListTagNamesContainingCommitResponse)(nil), "gitaly.ListTagNamesContainingCommitResponse") - proto.RegisterType((*GetTagMessagesRequest)(nil), "gitaly.GetTagMessagesRequest") - proto.RegisterType((*GetTagMessagesResponse)(nil), "gitaly.GetTagMessagesResponse") - proto.RegisterType((*ListNewCommitsRequest)(nil), "gitaly.ListNewCommitsRequest") - proto.RegisterType((*ListNewCommitsResponse)(nil), "gitaly.ListNewCommitsResponse") - proto.RegisterType((*FindAllRemoteBranchesRequest)(nil), "gitaly.FindAllRemoteBranchesRequest") - proto.RegisterType((*FindAllRemoteBranchesResponse)(nil), "gitaly.FindAllRemoteBranchesResponse") - proto.RegisterType((*PackRefsRequest)(nil), "gitaly.PackRefsRequest") - proto.RegisterType((*PackRefsResponse)(nil), "gitaly.PackRefsResponse") -} - -func init() { proto.RegisterFile("ref.proto", fileDescriptor_65d958559ea81b29) } - -var fileDescriptor_65d958559ea81b29 = []byte{ - // 1742 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x59, 0x5f, 0x73, 0x1b, 0x49, - 0x11, 0xbf, 0x95, 0x6d, 0x59, 0x6a, 0x29, 0xf2, 0x7a, 0xe2, 0x3f, 0xf2, 0x3a, 0x89, 0x9d, 0xb9, - 0xbb, 0xc4, 0xe1, 0x82, 0x1c, 0x7c, 0x05, 0x45, 0x15, 0x54, 0x81, 0xff, 0x88, 0xc4, 0x24, 0xa7, - 0xa8, 0x46, 0x3a, 0x2e, 0x47, 0x51, 0x6c, 0x8d, 0xa4, 0xd1, 0x7a, 0x61, 0xb5, 0x2b, 0x76, 0xc7, - 0x97, 0x18, 0xde, 0x38, 0x1e, 0xa9, 0xa2, 0x0a, 0x8a, 0x0a, 0x0f, 0x3c, 0xf1, 0xc0, 0x47, 0xe0, - 0x23, 0xf0, 0xc2, 0x37, 0xe2, 0x89, 0xda, 0x99, 0xd9, 0x7f, 0xd2, 0x4a, 0x4e, 0x95, 0x95, 0xe2, - 0x9e, 0xb4, 0xd3, 0xd3, 0xfd, 0x9b, 0xdf, 0xf4, 0xf4, 0x76, 0xf7, 0xac, 0xa0, 0xec, 0xb3, 0x61, - 0x63, 0xec, 0x7b, 0xdc, 0x43, 0x45, 0xcb, 0xe6, 0xd4, 0xb9, 0x32, 0xc0, 0xb1, 0x5d, 0x2e, 0x65, - 0x46, 0x35, 0xb8, 0xa0, 0x3e, 0x1b, 0xa8, 0x11, 0xf4, 0x1c, 0xaf, 0xa7, 0x9e, 0xf7, 0x2c, 0xcf, - 0xb3, 0x1c, 0x76, 0x28, 0x46, 0xbd, 0xcb, 0xe1, 0x21, 0xb7, 0x47, 0x2c, 0xe0, 0x74, 0x34, 0x96, - 0x0a, 0xf8, 0xf7, 0x1a, 0xdc, 0x7e, 0x61, 0x07, 0xbc, 0xc5, 0x5e, 0x9f, 0x38, 0x5e, 0x2f, 0x20, - 0xec, 0x37, 0x97, 0x2c, 0xe0, 0xe8, 0xfb, 0x00, 0x3e, 0x1b, 0x7b, 0x81, 0xcd, 0x3d, 0xff, 0xaa, - 0xae, 0xed, 0x6b, 0x07, 0x95, 0x23, 0xd4, 0x90, 0x6b, 0x37, 0x48, 0x3c, 0x73, 0xb2, 0xfc, 0xb7, - 0x7f, 0x3f, 0xd6, 0x48, 0x4a, 0x17, 0xed, 0x42, 0xb9, 0xef, 0x8d, 0x46, 0x36, 0x37, 0xed, 0x41, - 0xbd, 0xb0, 0xaf, 0x1d, 0x94, 0x49, 0x49, 0x0a, 0xce, 0x07, 0x68, 0x03, 0x56, 0x1c, 0x7b, 0x64, - 0xf3, 0xfa, 0xd2, 0xbe, 0x76, 0x70, 0x8b, 0xc8, 0x01, 0xfe, 0x02, 0x36, 0xb2, 0x1c, 0x82, 0xb1, - 0xe7, 0x06, 0x0c, 0xfd, 0x08, 0x74, 0x97, 0xbd, 0x36, 0xc3, 0xfd, 0x98, 0x5e, 0xef, 0x57, 0xac, - 0xcf, 0x83, 0xba, 0xb6, 0xbf, 0x74, 0x50, 0x39, 0xda, 0x8c, 0xa8, 0x28, 0x9b, 0x97, 0x62, 0x96, - 0xd4, 0xdc, 0xf4, 0x30, 0xc0, 0xaf, 0xe0, 0xce, 0x4f, 0x6c, 0x77, 0x70, 0xc6, 0x86, 0xf4, 0xd2, - 0xe1, 0x27, 0x3e, 0x75, 0xfb, 0x17, 0x2d, 0x3a, 0x62, 0x37, 0xde, 0x25, 0xfe, 0x14, 0xee, 0xce, - 0x40, 0x56, 0xdc, 0x11, 0x2c, 0xbb, 0x74, 0xc4, 0x04, 0x68, 0x95, 0x88, 0x67, 0xfc, 0x39, 0xec, - 0x84, 0x46, 0xc7, 0x8e, 0x93, 0x18, 0xdc, 0xdc, 0xe3, 0xf8, 0x08, 0x8c, 0x3c, 0x58, 0x45, 0x64, - 0x03, 0x56, 0xc2, 0xc5, 0xa5, 0xe7, 0xaa, 0x44, 0x0e, 0x30, 0x81, 0x2d, 0x65, 0xd3, 0xa5, 0xd6, - 0x82, 0x78, 0x1c, 0xc2, 0xf6, 0x14, 0xe6, 0x5c, 0x12, 0x5f, 0x6b, 0x80, 0x42, 0x0b, 0xc2, 0x86, - 0x0b, 0x39, 0x95, 0xf9, 0xb1, 0xb7, 0x05, 0xc5, 0xb1, 0xcf, 0x86, 0xf6, 0x1b, 0x11, 0x7c, 0x55, - 0xa2, 0x46, 0xf8, 0x11, 0xdc, 0xce, 0x90, 0x98, 0x73, 0x80, 0x6f, 0x0b, 0x50, 0x0f, 0x75, 0x5f, - 0x78, 0x7d, 0xaa, 0x9c, 0xbd, 0x00, 0xc7, 0xa1, 0x1f, 0xc3, 0x6a, 0xe0, 0xf9, 0xdc, 0xec, 0x5d, - 0x09, 0xd2, 0xb5, 0xa3, 0x87, 0x91, 0xd9, 0xac, 0xc5, 0x1a, 0x1d, 0xcf, 0xe7, 0x27, 0x57, 0xa4, - 0x18, 0x88, 0x5f, 0xf4, 0x0c, 0xd6, 0xc7, 0xd4, 0xb2, 0x5d, 0xca, 0x6d, 0xcf, 0x35, 0xc7, 0xd4, - 0xa7, 0xa3, 0x40, 0x6c, 0xb3, 0x72, 0xb4, 0x1b, 0x61, 0xb5, 0x63, 0x85, 0x76, 0x38, 0xcf, 0x38, - 0xf3, 0x89, 0x3e, 0xce, 0x0a, 0x03, 0xfc, 0x5d, 0x28, 0x4a, 0x6c, 0x54, 0x82, 0xe5, 0xd6, 0xf1, - 0x67, 0x4d, 0xfd, 0x03, 0xb4, 0x06, 0x95, 0xcf, 0xdb, 0x67, 0xc7, 0xdd, 0xe6, 0x99, 0x79, 0xdc, - 0x39, 0xd5, 0x35, 0xa4, 0x43, 0x35, 0x12, 0x9c, 0x35, 0x3b, 0xa7, 0x7a, 0x01, 0xbf, 0x92, 0xa1, - 0x3d, 0xc1, 0x55, 0xb9, 0xf2, 0x07, 0x50, 0xea, 0x29, 0x99, 0x7a, 0x7f, 0xf7, 0x66, 0x6c, 0x30, - 0x32, 0x21, 0xb1, 0x01, 0xfe, 0x57, 0x41, 0x86, 0x55, 0x8e, 0x56, 0xde, 0x19, 0xcd, 0x8f, 0x81, - 0x8f, 0xa1, 0xa6, 0x26, 0x83, 0x4b, 0x91, 0x23, 0x54, 0x2c, 0xdc, 0x92, 0xd2, 0x8e, 0x14, 0xa2, - 0x67, 0xa0, 0x04, 0x26, 0xbd, 0xe4, 0x17, 0x9e, 0x5f, 0x5f, 0x16, 0xae, 0xfc, 0x70, 0x06, 0xeb, - 0x53, 0xa1, 0x7b, 0x2c, 0x54, 0x49, 0xb5, 0x9f, 0x1a, 0xa1, 0x16, 0xe8, 0x0a, 0x49, 0xfe, 0x70, - 0xe6, 0xd7, 0x57, 0xde, 0x1d, 0x6c, 0x4d, 0x5a, 0x9d, 0x46, 0xb6, 0xe8, 0x11, 0x14, 0xa5, 0xa8, - 0x5e, 0x14, 0x28, 0xeb, 0x11, 0xca, 0xd3, 0x48, 0x8b, 0x28, 0x05, 0xfc, 0x17, 0x0d, 0x76, 0xe7, - 0x60, 0xe7, 0x3a, 0x6f, 0x03, 0x56, 0xd8, 0x88, 0xda, 0x8e, 0x70, 0x5c, 0x95, 0xc8, 0x01, 0x6a, - 0xc0, 0xf2, 0x80, 0x72, 0xa6, 0x02, 0xca, 0x68, 0xc8, 0xa2, 0xd2, 0x88, 0x8a, 0x4a, 0xa3, 0x1b, - 0x15, 0x15, 0x22, 0xf4, 0x90, 0x01, 0xa5, 0xb0, 0xce, 0xfc, 0xd6, 0x73, 0x99, 0xf0, 0x5c, 0x95, - 0xc4, 0x63, 0xfc, 0x77, 0x2d, 0xce, 0x3c, 0x8b, 0x7b, 0x81, 0xf6, 0xa0, 0x32, 0x62, 0xbe, 0xc5, - 0x06, 0xa6, 0xe7, 0x3a, 0xf2, 0x25, 0x2a, 0x11, 0x90, 0xa2, 0x97, 0xae, 0x73, 0x85, 0x1e, 0xc2, - 0x9a, 0x52, 0x88, 0x03, 0x71, 0x49, 0x64, 0xa2, 0x9a, 0x14, 0x47, 0x54, 0xf0, 0x3f, 0xb5, 0x38, - 0x89, 0x4d, 0x85, 0xf1, 0xc9, 0x54, 0x18, 0x3f, 0x48, 0x9f, 0x61, 0x8e, 0x49, 0x43, 0xc5, 0x6b, - 0x6c, 0x67, 0x3c, 0x85, 0xa2, 0x94, 0xe5, 0xba, 0xff, 0x11, 0x14, 0x39, 0xf5, 0x2d, 0xc6, 0xc5, - 0x16, 0xf2, 0x4f, 0x57, 0x2a, 0x60, 0x06, 0xb5, 0x70, 0xd1, 0x2e, 0xb5, 0x6e, 0xee, 0xbe, 0x1d, - 0x28, 0x71, 0x6a, 0x99, 0x82, 0x8e, 0x3c, 0xf8, 0x55, 0x2e, 0x33, 0x38, 0x7e, 0x02, 0x6b, 0xf1, - 0x32, 0xca, 0x0d, 0x77, 0x61, 0x89, 0x53, 0x4b, 0x2d, 0x50, 0x89, 0x16, 0x08, 0x35, 0x42, 0x39, - 0x6e, 0xc9, 0x9c, 0x2e, 0xab, 0xc0, 0x02, 0xaa, 0xca, 0xf7, 0x64, 0x7a, 0x8e, 0xf1, 0x14, 0x8b, - 0x3d, 0x58, 0xe6, 0xd4, 0x8a, 0x0e, 0x22, 0x43, 0x43, 0x4c, 0xe0, 0x5f, 0x82, 0x4e, 0xd8, 0xb0, - 0xf9, 0xc6, 0x0e, 0xf8, 0x02, 0x22, 0x4c, 0x87, 0x25, 0x9f, 0x0d, 0x95, 0x77, 0xc2, 0x47, 0xfc, - 0x08, 0xd6, 0x53, 0xf8, 0x49, 0x9d, 0xfb, 0x8a, 0x3a, 0x97, 0xf2, 0x54, 0x4b, 0x44, 0x0e, 0xf0, - 0x1f, 0x34, 0xb8, 0x7d, 0xea, 0x33, 0xca, 0x59, 0x94, 0xbf, 0x6e, 0x4a, 0x27, 0x0a, 0x9e, 0x42, - 0x2a, 0x78, 0xf6, 0xa0, 0x12, 0x70, 0xea, 0x73, 0x73, 0xec, 0xd9, 0x6e, 0x94, 0xd8, 0x40, 0x88, - 0xda, 0xa1, 0x04, 0xff, 0x47, 0x83, 0x8d, 0x2c, 0x8d, 0x38, 0x3f, 0x17, 0x03, 0x4e, 0xf9, 0x65, - 0x20, 0x38, 0xd4, 0x92, 0xd4, 0x94, 0xa7, 0xdd, 0xe8, 0x08, 0x55, 0xa2, 0x4c, 0xd0, 0x03, 0x28, - 0xca, 0xe8, 0x56, 0x31, 0x5b, 0x8b, 0x8c, 0x95, 0x99, 0x9a, 0xc5, 0x2d, 0x28, 0x4a, 0x4b, 0x54, - 0x84, 0xc2, 0xcb, 0xe7, 0xfa, 0x07, 0xa8, 0x06, 0xd0, 0x24, 0xc4, 0x6c, 0xbe, 0x3a, 0xef, 0x74, - 0x3b, 0xba, 0x16, 0x96, 0x99, 0x70, 0x7c, 0xde, 0xfa, 0xd9, 0xf1, 0x8b, 0xf3, 0x33, 0xbd, 0x80, - 0x76, 0x61, 0x3b, 0x25, 0x30, 0x3b, 0xdd, 0x63, 0xd2, 0x35, 0xdb, 0x2f, 0xcf, 0x5b, 0x5d, 0x7d, - 0x09, 0xf7, 0xe1, 0xf6, 0x19, 0x73, 0xd8, 0x7b, 0xf5, 0x29, 0xde, 0x82, 0x8d, 0xec, 0x22, 0xd2, - 0x07, 0x98, 0xc2, 0x7a, 0x18, 0x94, 0xef, 0x73, 0xe9, 0x1f, 0xca, 0xf7, 0x68, 0xe2, 0xa8, 0x12, - 0x6f, 0x6b, 0x73, 0xbd, 0xfd, 0x27, 0x0d, 0xd6, 0x25, 0x73, 0xc2, 0x86, 0x0b, 0x88, 0xff, 0xc7, - 0x80, 0xd8, 0x9b, 0x3e, 0x1b, 0x73, 0xf3, 0xb5, 0xcd, 0x2f, 0x4c, 0xd5, 0x48, 0x15, 0x44, 0x0e, - 0xd5, 0xe5, 0xcc, 0x17, 0x36, 0xbf, 0x68, 0x0b, 0x79, 0xb8, 0x1f, 0x9f, 0x0d, 0xa3, 0x1c, 0x2b, - 0x9e, 0xf1, 0x77, 0x00, 0xa5, 0x09, 0xa9, 0xfd, 0xec, 0x42, 0xd9, 0xb2, 0xb9, 0xc9, 0x7c, 0xdf, - 0xf3, 0x05, 0xa1, 0x32, 0x29, 0x59, 0x36, 0x6f, 0x86, 0x63, 0xfc, 0x57, 0x0d, 0x1e, 0x84, 0x17, - 0x83, 0x54, 0x5b, 0x7b, 0xea, 0xb9, 0x9c, 0xda, 0xae, 0xed, 0x5a, 0x2a, 0x1f, 0xfe, 0x3f, 0xee, - 0x2b, 0x04, 0x1e, 0x5e, 0x4b, 0x4b, 0xed, 0xef, 0x3e, 0x54, 0xe5, 0x89, 0x98, 0xb2, 0xff, 0x95, - 0x1e, 0xab, 0xf4, 0x12, 0xd3, 0x9f, 0x2e, 0x97, 0x34, 0xbd, 0x80, 0xff, 0xac, 0xc1, 0x87, 0x21, - 0x68, 0xd4, 0x3a, 0x7f, 0x23, 0x36, 0x7a, 0x0e, 0x1f, 0xcd, 0xe7, 0x94, 0x9c, 0x62, 0x54, 0x40, - 0xa2, 0x2d, 0x96, 0x54, 0x05, 0x89, 0xf6, 0xf7, 0x3b, 0xd8, 0x7c, 0xca, 0x42, 0xa4, 0xcf, 0x58, - 0x10, 0x50, 0x6b, 0x11, 0x55, 0x7f, 0x1b, 0xc2, 0x32, 0x65, 0xda, 0x03, 0x19, 0x68, 0xe5, 0xb0, - 0x36, 0x5a, 0xe7, 0x83, 0x70, 0xc5, 0x82, 0xbe, 0x44, 0x12, 0x4a, 0xf8, 0x4b, 0xd8, 0x9a, 0x5c, - 0x5c, 0x31, 0xaf, 0xc3, 0xea, 0x48, 0xca, 0xa2, 0xca, 0xa7, 0x86, 0x68, 0x33, 0xac, 0xc5, 0x21, - 0xba, 0x70, 0x49, 0x99, 0xac, 0x08, 0x70, 0xb9, 0x1b, 0x12, 0xd7, 0x4b, 0xec, 0xc2, 0xa6, 0xba, - 0xbb, 0x4a, 0x9f, 0xbc, 0xe7, 0x1b, 0x34, 0x6e, 0xc2, 0xd6, 0xe4, 0x7a, 0x6a, 0x2b, 0x9f, 0xc0, - 0xaa, 0xd4, 0x8a, 0x8a, 0x62, 0x4e, 0xf7, 0x10, 0x69, 0xe0, 0x2b, 0x79, 0x33, 0x3e, 0x76, 0x1c, - 0xc2, 0x46, 0x5e, 0x94, 0xdf, 0x16, 0xd4, 0x8b, 0xf9, 0x02, 0x32, 0xe9, 0x27, 0xca, 0xa1, 0x42, - 0x28, 0x12, 0x2d, 0xc5, 0x73, 0x79, 0x75, 0xce, 0x59, 0x5a, 0x6d, 0xe4, 0x5b, 0x53, 0x7d, 0xd6, - 0x64, 0x96, 0x4b, 0x6e, 0x07, 0x43, 0x58, 0x6b, 0xd3, 0xfe, 0xaf, 0x17, 0x93, 0xe4, 0x76, 0xa0, - 0x44, 0x1d, 0xc7, 0x14, 0xa9, 0x4b, 0xf6, 0x90, 0xab, 0x34, 0x64, 0x39, 0x0c, 0x30, 0x02, 0x3d, - 0x59, 0x47, 0xf2, 0x3c, 0xfa, 0xc7, 0x2d, 0x00, 0xc2, 0x86, 0x1d, 0xe6, 0x7f, 0x65, 0xf7, 0x19, - 0x72, 0x60, 0x33, 0xf7, 0x93, 0x00, 0xfa, 0x28, 0xdd, 0x25, 0xce, 0xfa, 0x16, 0x61, 0x7c, 0x7c, - 0x8d, 0x96, 0xaa, 0x3c, 0xc5, 0xff, 0xbe, 0x3d, 0x28, 0x94, 0x0a, 0x88, 0xc5, 0x6d, 0x56, 0x2a, - 0x0d, 0xa1, 0xfb, 0xb9, 0x0d, 0x69, 0xfa, 0x7e, 0x6f, 0xe0, 0x79, 0x2a, 0xd9, 0x45, 0x9e, 0x68, - 0xe8, 0x17, 0xb2, 0xff, 0x4b, 0xdd, 0xe9, 0xd1, 0xbd, 0x09, 0x80, 0x89, 0x0f, 0x08, 0xc6, 0xde, - 0xcc, 0xf9, 0x29, 0xf4, 0x16, 0x54, 0x52, 0x57, 0x6f, 0x64, 0xa4, 0x2d, 0xb3, 0x1f, 0x05, 0x8c, - 0xdd, 0xdc, 0xb9, 0x09, 0xa7, 0xf4, 0x64, 0x59, 0xce, 0xdc, 0x42, 0xd1, 0xfe, 0x75, 0x97, 0x69, - 0xe3, 0xfe, 0x1c, 0x8d, 0x39, 0x1e, 0x89, 0x57, 0xb8, 0x37, 0xf3, 0x1a, 0x90, 0xef, 0x91, 0x39, - 0xe8, 0x6d, 0xe9, 0x11, 0xd5, 0xed, 0x66, 0x3d, 0x92, 0x6d, 0xa9, 0xb3, 0x1e, 0x99, 0x68, 0x8f, - 0x53, 0x88, 0x27, 0xb0, 0xaa, 0x3a, 0x78, 0xb4, 0x95, 0xb6, 0x48, 0x6e, 0x0e, 0xc6, 0xf6, 0x94, - 0x7c, 0xc2, 0xaf, 0xae, 0x0c, 0xed, 0xa9, 0x57, 0x36, 0x1b, 0xda, 0xb3, 0x92, 0x49, 0x36, 0xb4, - 0x67, 0xbe, 0xf7, 0x29, 0xce, 0xcf, 0xa0, 0x1c, 0xf7, 0xd6, 0xa8, 0x9e, 0xbc, 0xbb, 0xd9, 0x76, - 0xde, 0xd8, 0xc9, 0x99, 0x99, 0x60, 0xfe, 0x1c, 0x20, 0xe9, 0xa2, 0xd0, 0x4e, 0x9a, 0x48, 0xa6, - 0x79, 0x33, 0x8c, 0xbc, 0xa9, 0x69, 0xb0, 0xa4, 0x85, 0x49, 0xc0, 0xa6, 0xfa, 0xac, 0x04, 0x6c, - 0xba, 0xe3, 0x51, 0x60, 0x1a, 0xfa, 0xa3, 0x06, 0x7b, 0xd7, 0x74, 0x11, 0xa8, 0x11, 0xe1, 0xbc, - 0x5b, 0x17, 0x64, 0x1c, 0xbe, 0xb3, 0xfe, 0x94, 0xcb, 0xbf, 0xd6, 0xe0, 0xce, 0xbc, 0x5a, 0x8f, - 0x3e, 0x49, 0x63, 0x5f, 0xd3, 0xa5, 0x18, 0x8f, 0xdf, 0x4d, 0x79, 0x8a, 0xc5, 0x97, 0x50, 0xcb, - 0x16, 0x6a, 0x74, 0x37, 0x2e, 0x62, 0x79, 0xdd, 0x83, 0x71, 0x6f, 0xd6, 0x74, 0x1e, 0x74, 0xb6, - 0x70, 0x26, 0xd0, 0xb9, 0x05, 0x3c, 0x81, 0xce, 0xaf, 0xb7, 0x29, 0xe8, 0x0e, 0x54, 0xd3, 0xdf, - 0xaf, 0xd1, 0xee, 0x84, 0x65, 0xfa, 0xcb, 0xba, 0x71, 0x27, 0x7f, 0x72, 0x0a, 0xb4, 0x09, 0xa5, - 0xa8, 0xe2, 0xa0, 0xed, 0xe4, 0x1b, 0x5e, 0xa6, 0xd6, 0x19, 0xf5, 0xe9, 0x89, 0x6c, 0x98, 0x9d, - 0x3c, 0xf9, 0x79, 0xa8, 0xe2, 0xd0, 0x5e, 0xa3, 0xef, 0x8d, 0x0e, 0xe5, 0xe3, 0xb7, 0x3d, 0xdf, - 0x3a, 0x94, 0x86, 0xf2, 0x9f, 0x81, 0x43, 0xcb, 0x53, 0xe3, 0x71, 0xaf, 0x57, 0x14, 0xa2, 0x4f, - 0xff, 0x17, 0x00, 0x00, 0xff, 0xff, 0x7a, 0xea, 0x94, 0xeb, 0x75, 0x18, 0x00, 0x00, +var File_ref_proto protoreflect.FileDescriptor + +var file_ref_proto_rawDesc = []byte{ + 0x0a, 0x09, 0x72, 0x65, 0x66, 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, 0x1a, 0x0a, 0x62, + 0x6c, 0x6f, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, + 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x82, 0x01, 0x0a, 0x13, 0x4c, + 0x69, 0x73, 0x74, 0x4e, 0x65, 0x77, 0x42, 0x6c, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, + 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1b, 0x0a, 0x09, + 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x08, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, + 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x22, + 0x57, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x65, 0x77, 0x42, 0x6c, 0x6f, 0x62, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3f, 0x0a, 0x10, 0x6e, 0x65, 0x77, 0x5f, 0x62, + 0x6c, 0x6f, 0x62, 0x5f, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x15, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4e, 0x65, 0x77, 0x42, 0x6c, + 0x6f, 0x62, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x0e, 0x6e, 0x65, 0x77, 0x42, 0x6c, 0x6f, + 0x62, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x22, 0x58, 0x0a, 0x1c, 0x46, 0x69, 0x6e, 0x64, + 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e, 0x61, 0x6d, + 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, 0x22, 0x33, 0x0a, 0x1d, 0x46, 0x69, 0x6e, 0x64, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, + 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x55, 0x0a, 0x19, 0x46, 0x69, 0x6e, 0x64, 0x41, + 0x6c, 0x6c, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e, 0x61, 0x6d, 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, 0x32, + 0x0a, 0x1a, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e, + 0x61, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, + 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x05, 0x6e, 0x61, 0x6d, + 0x65, 0x73, 0x22, 0x52, 0x0a, 0x16, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x54, 0x61, 0x67, + 0x4e, 0x61, 0x6d, 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, 0x2f, 0x0a, 0x17, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, + 0x6c, 0x54, 0x61, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0c, + 0x52, 0x05, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x22, 0x83, 0x01, 0x0a, 0x12, 0x46, 0x69, 0x6e, 0x64, + 0x52, 0x65, 0x66, 0x4e, 0x61, 0x6d, 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, 0x1b, 0x0a, 0x09, 0x63, 0x6f, 0x6d, 0x6d, + 0x69, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6f, 0x6d, + 0x6d, 0x69, 0x74, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x22, 0x29, 0x0a, + 0x13, 0x46, 0x69, 0x6e, 0x64, 0x52, 0x65, 0x66, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x97, 0x02, 0x0a, 0x18, 0x46, 0x69, 0x6e, + 0x64, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, + 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, + 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, + 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, + 0x40, 0x0a, 0x07, 0x73, 0x6f, 0x72, 0x74, 0x5f, 0x62, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x27, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4c, 0x6f, + 0x63, 0x61, 0x6c, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x2e, 0x53, 0x6f, 0x72, 0x74, 0x42, 0x79, 0x52, 0x06, 0x73, 0x6f, 0x72, 0x74, 0x42, + 0x79, 0x12, 0x48, 0x0a, 0x11, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, + 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x52, 0x10, 0x70, 0x61, 0x67, 0x69, 0x6e, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0x35, 0x0a, 0x06, 0x53, + 0x6f, 0x72, 0x74, 0x42, 0x79, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x41, 0x4d, 0x45, 0x10, 0x00, 0x12, + 0x0f, 0x0a, 0x0b, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x44, 0x5f, 0x41, 0x53, 0x43, 0x10, 0x01, + 0x12, 0x10, 0x0a, 0x0c, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x44, 0x5f, 0x44, 0x45, 0x53, 0x43, + 0x10, 0x02, 0x22, 0x58, 0x0a, 0x19, 0x46, 0x69, 0x6e, 0x64, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x42, + 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x3b, 0x0a, 0x08, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4c, + 0x6f, 0x63, 0x61, 0x6c, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x52, 0x08, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x22, 0xb6, 0x02, 0x0a, + 0x17, 0x46, 0x69, 0x6e, 0x64, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, + 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x08, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x64, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x6f, 0x6d, + 0x6d, 0x69, 0x74, 0x5f, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x0d, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, + 0x12, 0x48, 0x0a, 0x0d, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x6f, + 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, + 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, + 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x52, 0x0c, 0x63, 0x6f, + 0x6d, 0x6d, 0x69, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x12, 0x4e, 0x0a, 0x10, 0x63, 0x6f, + 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x72, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, + 0x6e, 0x64, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x43, 0x6f, 0x6d, + 0x6d, 0x69, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x52, 0x0f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, + 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x72, 0x12, 0x29, 0x0a, 0x06, 0x63, 0x6f, + 0x6d, 0x6d, 0x69, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x69, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x06, 0x63, + 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x22, 0x93, 0x01, 0x0a, 0x1b, 0x46, 0x69, 0x6e, 0x64, 0x4c, 0x6f, + 0x63, 0x61, 0x6c, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x41, + 0x75, 0x74, 0x68, 0x6f, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, + 0x69, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, + 0x2e, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, + 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x64, 0x61, 0x74, 0x65, 0x12, + 0x1a, 0x0a, 0x08, 0x74, 0x69, 0x6d, 0x65, 0x7a, 0x6f, 0x6e, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x08, 0x74, 0x69, 0x6d, 0x65, 0x7a, 0x6f, 0x6e, 0x65, 0x22, 0x9c, 0x01, 0x0a, 0x16, + 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, + 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, + 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, + 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x65, 0x72, 0x67, 0x65, 0x64, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x6d, 0x65, 0x72, 0x67, 0x65, 0x64, 0x4f, 0x6e, 0x6c, + 0x79, 0x12, 0x27, 0x0a, 0x0f, 0x6d, 0x65, 0x72, 0x67, 0x65, 0x64, 0x5f, 0x62, 0x72, 0x61, 0x6e, + 0x63, 0x68, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x0e, 0x6d, 0x65, 0x72, 0x67, + 0x65, 0x64, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x22, 0xa6, 0x01, 0x0a, 0x17, 0x46, + 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x42, 0x0a, 0x08, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, + 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, + 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, + 0x52, 0x08, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x1a, 0x47, 0x0a, 0x06, 0x42, 0x72, + 0x61, 0x6e, 0x63, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x29, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, + 0x79, 0x2e, 0x47, 0x69, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x06, 0x74, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x22, 0x65, 0x0a, 0x0e, 0x46, 0x69, 0x6e, 0x64, 0x54, 0x61, 0x67, 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, 0x74, 0x61, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x07, 0x74, 0x61, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x30, 0x0a, 0x0f, 0x46, 0x69, + 0x6e, 0x64, 0x54, 0x61, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1d, 0x0a, + 0x03, 0x74, 0x61, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x54, 0x61, 0x67, 0x52, 0x03, 0x74, 0x61, 0x67, 0x22, 0x4e, 0x0a, 0x12, + 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x54, 0x61, 0x67, 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, 0x36, 0x0a, 0x13, + 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x54, 0x61, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x1f, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x0b, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x54, 0x61, 0x67, 0x52, 0x04, + 0x74, 0x61, 0x67, 0x73, 0x22, 0x5e, 0x0a, 0x10, 0x52, 0x65, 0x66, 0x45, 0x78, 0x69, 0x73, 0x74, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, + 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, + 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, + 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x72, 0x65, 0x66, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x03, 0x72, 0x65, 0x66, 0x22, 0x29, 0x0a, 0x11, 0x52, 0x65, 0x66, 0x45, 0x78, 0x69, 0x73, 0x74, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, + 0x84, 0x01, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, + 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, 0x0c, 0x52, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x70, + 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x72, + 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x22, 0xcb, 0x01, 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x3b, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x23, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, + 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x53, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x26, 0x0a, 0x06, + 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x06, 0x62, 0x72, + 0x61, 0x6e, 0x63, 0x68, 0x22, 0x4e, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x06, + 0x0a, 0x02, 0x4f, 0x4b, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x45, 0x52, 0x52, 0x5f, 0x45, 0x58, + 0x49, 0x53, 0x54, 0x53, 0x10, 0x01, 0x12, 0x0f, 0x0a, 0x0b, 0x45, 0x52, 0x52, 0x5f, 0x49, 0x4e, + 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x02, 0x12, 0x1b, 0x0a, 0x17, 0x45, 0x52, 0x52, 0x5f, 0x49, + 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x53, 0x54, 0x41, 0x52, 0x54, 0x5f, 0x50, 0x4f, 0x49, + 0x4e, 0x54, 0x10, 0x03, 0x22, 0x63, 0x0a, 0x13, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, 0x72, + 0x61, 0x6e, 0x63, 0x68, 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, 0x0c, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x16, 0x0a, 0x14, 0x44, 0x65, 0x6c, + 0x65, 0x74, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x61, 0x0a, 0x11, 0x46, 0x69, 0x6e, 0x64, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 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, 0x0c, 0x52, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x3c, 0x0a, 0x12, 0x46, 0x69, 0x6e, 0x64, 0x42, 0x72, 0x61, 0x6e, + 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x26, 0x0a, 0x06, 0x62, 0x72, + 0x61, 0x6e, 0x63, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x06, 0x62, 0x72, 0x61, 0x6e, + 0x63, 0x68, 0x22, 0x8f, 0x01, 0x0a, 0x11, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x66, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, + 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, + 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, + 0x72, 0x79, 0x12, 0x2c, 0x0a, 0x12, 0x65, 0x78, 0x63, 0x65, 0x70, 0x74, 0x5f, 0x77, 0x69, 0x74, + 0x68, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x10, + 0x65, 0x78, 0x63, 0x65, 0x70, 0x74, 0x57, 0x69, 0x74, 0x68, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, + 0x12, 0x12, 0x0a, 0x04, 0x72, 0x65, 0x66, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x04, + 0x72, 0x65, 0x66, 0x73, 0x22, 0x31, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, + 0x66, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x67, 0x69, + 0x74, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x67, + 0x69, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x95, 0x01, 0x0a, 0x26, 0x4c, 0x69, 0x73, 0x74, + 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x61, + 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 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, 0x1b, 0x0a, 0x09, + 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x08, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, + 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x22, + 0x52, 0x0a, 0x27, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e, 0x61, 0x6d, + 0x65, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6d, 0x6d, + 0x69, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x72, + 0x61, 0x6e, 0x63, 0x68, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, + 0x52, 0x0b, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x4a, 0x04, 0x08, + 0x01, 0x10, 0x02, 0x22, 0x92, 0x01, 0x0a, 0x23, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, 0x67, 0x4e, + 0x61, 0x6d, 0x65, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x43, 0x6f, + 0x6d, 0x6d, 0x69, 0x74, 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, 0x1b, 0x0a, 0x09, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, + 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, + 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0x49, 0x0a, 0x24, 0x4c, 0x69, 0x73, 0x74, + 0x54, 0x61, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x69, + 0x6e, 0x67, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x61, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x02, 0x20, + 0x03, 0x28, 0x0c, 0x52, 0x08, 0x74, 0x61, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x4a, 0x04, 0x08, + 0x01, 0x10, 0x02, 0x22, 0x7b, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x54, 0x61, 0x67, 0x4d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, + 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, + 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, + 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x61, 0x67, 0x5f, 0x69, 0x64, + 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x67, 0x49, 0x64, 0x73, 0x4a, + 0x04, 0x08, 0x02, 0x10, 0x03, 0x52, 0x09, 0x74, 0x61, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, + 0x22, 0x59, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x54, 0x61, 0x67, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x6d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x12, 0x15, 0x0a, 0x06, 0x74, 0x61, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x61, 0x67, 0x49, 0x64, 0x4a, 0x04, 0x08, 0x01, 0x10, + 0x02, 0x52, 0x08, 0x74, 0x61, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x6e, 0x0a, 0x15, 0x4c, + 0x69, 0x73, 0x74, 0x4e, 0x65, 0x77, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, + 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, + 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, + 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1b, + 0x0a, 0x09, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x08, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x49, 0x64, 0x22, 0x45, 0x0a, 0x16, 0x4c, + 0x69, 0x73, 0x74, 0x4e, 0x65, 0x77, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x47, 0x69, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x69, + 0x74, 0x73, 0x22, 0x79, 0x0a, 0x1c, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x52, 0x65, 0x6d, + 0x6f, 0x74, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, + 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1f, 0x0a, 0x0b, + 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0a, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x4b, 0x0a, + 0x1d, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x42, 0x72, + 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, + 0x0a, 0x08, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x0e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, + 0x52, 0x08, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x22, 0x66, 0x0a, 0x0f, 0x50, 0x61, + 0x63, 0x6b, 0x52, 0x65, 0x66, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, + 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, + 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, + 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x6c, 0x6c, 0x5f, 0x72, + 0x65, 0x66, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x61, 0x6c, 0x6c, 0x52, 0x65, + 0x66, 0x73, 0x22, 0x12, 0x0a, 0x10, 0x50, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x66, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xa2, 0x0d, 0x0a, 0x0a, 0x52, 0x65, 0x66, 0x53, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x6c, 0x0a, 0x15, 0x46, 0x69, 0x6e, 0x64, 0x44, 0x65, 0x66, + 0x61, 0x75, 0x6c, 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x24, + 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x44, 0x65, 0x66, 0x61, + 0x75, 0x6c, 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, + 0x6e, 0x64, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e, + 0x61, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, + 0x02, 0x08, 0x02, 0x12, 0x65, 0x0a, 0x12, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x42, 0x72, + 0x61, 0x6e, 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x21, 0x2e, 0x67, 0x69, 0x74, 0x61, + 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, + 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x42, 0x72, 0x61, + 0x6e, 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x5c, 0x0a, 0x0f, 0x46, 0x69, + 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x54, 0x61, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x1e, 0x2e, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x54, 0x61, + 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x54, 0x61, + 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, + 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x4e, 0x0a, 0x0b, 0x46, 0x69, 0x6e, 0x64, + 0x52, 0x65, 0x66, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, + 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x52, 0x65, 0x66, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, + 0x64, 0x52, 0x65, 0x66, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x12, 0x62, 0x0a, 0x11, 0x46, 0x69, 0x6e, 0x64, + 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x12, 0x20, 0x2e, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4c, 0x6f, 0x63, 0x61, 0x6c, + 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x21, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4c, 0x6f, 0x63, + 0x61, 0x6c, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x5c, 0x0a, 0x0f, + 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x12, + 0x1e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, + 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x1f, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, + 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x50, 0x0a, 0x0b, 0x46, 0x69, + 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x54, 0x61, 0x67, 0x73, 0x12, 0x1a, 0x2e, 0x67, 0x69, 0x74, 0x61, + 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x54, 0x61, 0x67, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, + 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x54, 0x61, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x42, 0x0a, 0x07, + 0x46, 0x69, 0x6e, 0x64, 0x54, 0x61, 0x67, 0x12, 0x16, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, + 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x54, 0x61, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x17, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x54, 0x61, 0x67, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, + 0x12, 0x6e, 0x0a, 0x15, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x52, 0x65, 0x6d, 0x6f, 0x74, + 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x12, 0x24, 0x2e, 0x67, 0x69, 0x74, 0x61, + 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, + 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x25, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x6c, 0x6c, + 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, + 0x12, 0x48, 0x0a, 0x09, 0x52, 0x65, 0x66, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x12, 0x18, 0x2e, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x66, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, + 0x2e, 0x52, 0x65, 0x66, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x12, 0x4b, 0x0a, 0x0a, 0x46, 0x69, + 0x6e, 0x64, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x19, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, + 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, + 0x64, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x12, 0x4b, 0x0a, 0x0a, 0x44, 0x65, 0x6c, 0x65, 0x74, + 0x65, 0x52, 0x65, 0x66, 0x73, 0x12, 0x19, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x44, + 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x66, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x1a, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, + 0x52, 0x65, 0x66, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, + 0x28, 0x02, 0x08, 0x01, 0x12, 0x8c, 0x01, 0x0a, 0x1f, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x72, 0x61, + 0x6e, 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x69, + 0x6e, 0x67, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x12, 0x2e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, + 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, + 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6d, 0x6d, 0x69, + 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, + 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x4e, 0x61, 0x6d, 0x65, + 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6d, 0x6d, 0x69, + 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, + 0x02, 0x30, 0x01, 0x12, 0x83, 0x01, 0x0a, 0x1c, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, 0x67, 0x4e, + 0x61, 0x6d, 0x65, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x43, 0x6f, + 0x6d, 0x6d, 0x69, 0x74, 0x12, 0x2b, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, + 0x73, 0x74, 0x54, 0x61, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, + 0x6e, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x2c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x54, + 0x61, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x69, 0x6e, + 0x67, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x59, 0x0a, 0x0e, 0x47, 0x65, 0x74, + 0x54, 0x61, 0x67, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x12, 0x1d, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x67, 0x4d, 0x65, 0x73, 0x73, 0x61, + 0x67, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x67, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, + 0x08, 0x02, 0x30, 0x01, 0x12, 0x59, 0x0a, 0x0e, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x65, 0x77, 0x43, + 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x12, 0x1d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x65, 0x77, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, + 0x69, 0x73, 0x74, 0x4e, 0x65, 0x77, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, + 0x53, 0x0a, 0x0c, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x65, 0x77, 0x42, 0x6c, 0x6f, 0x62, 0x73, 0x12, + 0x1b, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x65, 0x77, + 0x42, 0x6c, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4e, 0x65, 0x77, 0x42, 0x6c, 0x6f, + 0x62, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, + 0x08, 0x02, 0x30, 0x01, 0x12, 0x45, 0x0a, 0x08, 0x50, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x66, 0x73, + 0x12, 0x17, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x50, 0x61, 0x63, 0x6b, 0x52, 0x65, + 0x66, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x67, 0x69, 0x74, 0x61, + 0x6c, 0x79, 0x2e, 0x50, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x66, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x42, 0x30, 0x5a, 0x2e, 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, 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_ref_proto_rawDescOnce sync.Once + file_ref_proto_rawDescData = file_ref_proto_rawDesc +) + +func file_ref_proto_rawDescGZIP() []byte { + file_ref_proto_rawDescOnce.Do(func() { + file_ref_proto_rawDescData = protoimpl.X.CompressGZIP(file_ref_proto_rawDescData) + }) + return file_ref_proto_rawDescData +} + +var file_ref_proto_enumTypes = make([]protoimpl.EnumInfo, 2) +var file_ref_proto_msgTypes = make([]protoimpl.MessageInfo, 43) +var file_ref_proto_goTypes = []interface{}{ + (FindLocalBranchesRequest_SortBy)(0), // 0: gitaly.FindLocalBranchesRequest.SortBy + (CreateBranchResponse_Status)(0), // 1: gitaly.CreateBranchResponse.Status + (*ListNewBlobsRequest)(nil), // 2: gitaly.ListNewBlobsRequest + (*ListNewBlobsResponse)(nil), // 3: gitaly.ListNewBlobsResponse + (*FindDefaultBranchNameRequest)(nil), // 4: gitaly.FindDefaultBranchNameRequest + (*FindDefaultBranchNameResponse)(nil), // 5: gitaly.FindDefaultBranchNameResponse + (*FindAllBranchNamesRequest)(nil), // 6: gitaly.FindAllBranchNamesRequest + (*FindAllBranchNamesResponse)(nil), // 7: gitaly.FindAllBranchNamesResponse + (*FindAllTagNamesRequest)(nil), // 8: gitaly.FindAllTagNamesRequest + (*FindAllTagNamesResponse)(nil), // 9: gitaly.FindAllTagNamesResponse + (*FindRefNameRequest)(nil), // 10: gitaly.FindRefNameRequest + (*FindRefNameResponse)(nil), // 11: gitaly.FindRefNameResponse + (*FindLocalBranchesRequest)(nil), // 12: gitaly.FindLocalBranchesRequest + (*FindLocalBranchesResponse)(nil), // 13: gitaly.FindLocalBranchesResponse + (*FindLocalBranchResponse)(nil), // 14: gitaly.FindLocalBranchResponse + (*FindLocalBranchCommitAuthor)(nil), // 15: gitaly.FindLocalBranchCommitAuthor + (*FindAllBranchesRequest)(nil), // 16: gitaly.FindAllBranchesRequest + (*FindAllBranchesResponse)(nil), // 17: gitaly.FindAllBranchesResponse + (*FindTagRequest)(nil), // 18: gitaly.FindTagRequest + (*FindTagResponse)(nil), // 19: gitaly.FindTagResponse + (*FindAllTagsRequest)(nil), // 20: gitaly.FindAllTagsRequest + (*FindAllTagsResponse)(nil), // 21: gitaly.FindAllTagsResponse + (*RefExistsRequest)(nil), // 22: gitaly.RefExistsRequest + (*RefExistsResponse)(nil), // 23: gitaly.RefExistsResponse + (*CreateBranchRequest)(nil), // 24: gitaly.CreateBranchRequest + (*CreateBranchResponse)(nil), // 25: gitaly.CreateBranchResponse + (*DeleteBranchRequest)(nil), // 26: gitaly.DeleteBranchRequest + (*DeleteBranchResponse)(nil), // 27: gitaly.DeleteBranchResponse + (*FindBranchRequest)(nil), // 28: gitaly.FindBranchRequest + (*FindBranchResponse)(nil), // 29: gitaly.FindBranchResponse + (*DeleteRefsRequest)(nil), // 30: gitaly.DeleteRefsRequest + (*DeleteRefsResponse)(nil), // 31: gitaly.DeleteRefsResponse + (*ListBranchNamesContainingCommitRequest)(nil), // 32: gitaly.ListBranchNamesContainingCommitRequest + (*ListBranchNamesContainingCommitResponse)(nil), // 33: gitaly.ListBranchNamesContainingCommitResponse + (*ListTagNamesContainingCommitRequest)(nil), // 34: gitaly.ListTagNamesContainingCommitRequest + (*ListTagNamesContainingCommitResponse)(nil), // 35: gitaly.ListTagNamesContainingCommitResponse + (*GetTagMessagesRequest)(nil), // 36: gitaly.GetTagMessagesRequest + (*GetTagMessagesResponse)(nil), // 37: gitaly.GetTagMessagesResponse + (*ListNewCommitsRequest)(nil), // 38: gitaly.ListNewCommitsRequest + (*ListNewCommitsResponse)(nil), // 39: gitaly.ListNewCommitsResponse + (*FindAllRemoteBranchesRequest)(nil), // 40: gitaly.FindAllRemoteBranchesRequest + (*FindAllRemoteBranchesResponse)(nil), // 41: gitaly.FindAllRemoteBranchesResponse + (*PackRefsRequest)(nil), // 42: gitaly.PackRefsRequest + (*PackRefsResponse)(nil), // 43: gitaly.PackRefsResponse + (*FindAllBranchesResponse_Branch)(nil), // 44: gitaly.FindAllBranchesResponse.Branch + (*Repository)(nil), // 45: gitaly.Repository + (*NewBlobObject)(nil), // 46: gitaly.NewBlobObject + (*PaginationParameter)(nil), // 47: gitaly.PaginationParameter + (*GitCommit)(nil), // 48: gitaly.GitCommit + (*timestamp.Timestamp)(nil), // 49: google.protobuf.Timestamp + (*Tag)(nil), // 50: gitaly.Tag + (*Branch)(nil), // 51: gitaly.Branch +} +var file_ref_proto_depIdxs = []int32{ + 45, // 0: gitaly.ListNewBlobsRequest.repository:type_name -> gitaly.Repository + 46, // 1: gitaly.ListNewBlobsResponse.new_blob_objects:type_name -> gitaly.NewBlobObject + 45, // 2: gitaly.FindDefaultBranchNameRequest.repository:type_name -> gitaly.Repository + 45, // 3: gitaly.FindAllBranchNamesRequest.repository:type_name -> gitaly.Repository + 45, // 4: gitaly.FindAllTagNamesRequest.repository:type_name -> gitaly.Repository + 45, // 5: gitaly.FindRefNameRequest.repository:type_name -> gitaly.Repository + 45, // 6: gitaly.FindLocalBranchesRequest.repository:type_name -> gitaly.Repository + 0, // 7: gitaly.FindLocalBranchesRequest.sort_by:type_name -> gitaly.FindLocalBranchesRequest.SortBy + 47, // 8: gitaly.FindLocalBranchesRequest.pagination_params:type_name -> gitaly.PaginationParameter + 14, // 9: gitaly.FindLocalBranchesResponse.branches:type_name -> gitaly.FindLocalBranchResponse + 15, // 10: gitaly.FindLocalBranchResponse.commit_author:type_name -> gitaly.FindLocalBranchCommitAuthor + 15, // 11: gitaly.FindLocalBranchResponse.commit_committer:type_name -> gitaly.FindLocalBranchCommitAuthor + 48, // 12: gitaly.FindLocalBranchResponse.commit:type_name -> gitaly.GitCommit + 49, // 13: gitaly.FindLocalBranchCommitAuthor.date:type_name -> google.protobuf.Timestamp + 45, // 14: gitaly.FindAllBranchesRequest.repository:type_name -> gitaly.Repository + 44, // 15: gitaly.FindAllBranchesResponse.branches:type_name -> gitaly.FindAllBranchesResponse.Branch + 45, // 16: gitaly.FindTagRequest.repository:type_name -> gitaly.Repository + 50, // 17: gitaly.FindTagResponse.tag:type_name -> gitaly.Tag + 45, // 18: gitaly.FindAllTagsRequest.repository:type_name -> gitaly.Repository + 50, // 19: gitaly.FindAllTagsResponse.tags:type_name -> gitaly.Tag + 45, // 20: gitaly.RefExistsRequest.repository:type_name -> gitaly.Repository + 45, // 21: gitaly.CreateBranchRequest.repository:type_name -> gitaly.Repository + 1, // 22: gitaly.CreateBranchResponse.status:type_name -> gitaly.CreateBranchResponse.Status + 51, // 23: gitaly.CreateBranchResponse.branch:type_name -> gitaly.Branch + 45, // 24: gitaly.DeleteBranchRequest.repository:type_name -> gitaly.Repository + 45, // 25: gitaly.FindBranchRequest.repository:type_name -> gitaly.Repository + 51, // 26: gitaly.FindBranchResponse.branch:type_name -> gitaly.Branch + 45, // 27: gitaly.DeleteRefsRequest.repository:type_name -> gitaly.Repository + 45, // 28: gitaly.ListBranchNamesContainingCommitRequest.repository:type_name -> gitaly.Repository + 45, // 29: gitaly.ListTagNamesContainingCommitRequest.repository:type_name -> gitaly.Repository + 45, // 30: gitaly.GetTagMessagesRequest.repository:type_name -> gitaly.Repository + 45, // 31: gitaly.ListNewCommitsRequest.repository:type_name -> gitaly.Repository + 48, // 32: gitaly.ListNewCommitsResponse.commits:type_name -> gitaly.GitCommit + 45, // 33: gitaly.FindAllRemoteBranchesRequest.repository:type_name -> gitaly.Repository + 51, // 34: gitaly.FindAllRemoteBranchesResponse.branches:type_name -> gitaly.Branch + 45, // 35: gitaly.PackRefsRequest.repository:type_name -> gitaly.Repository + 48, // 36: gitaly.FindAllBranchesResponse.Branch.target:type_name -> gitaly.GitCommit + 4, // 37: gitaly.RefService.FindDefaultBranchName:input_type -> gitaly.FindDefaultBranchNameRequest + 6, // 38: gitaly.RefService.FindAllBranchNames:input_type -> gitaly.FindAllBranchNamesRequest + 8, // 39: gitaly.RefService.FindAllTagNames:input_type -> gitaly.FindAllTagNamesRequest + 10, // 40: gitaly.RefService.FindRefName:input_type -> gitaly.FindRefNameRequest + 12, // 41: gitaly.RefService.FindLocalBranches:input_type -> gitaly.FindLocalBranchesRequest + 16, // 42: gitaly.RefService.FindAllBranches:input_type -> gitaly.FindAllBranchesRequest + 20, // 43: gitaly.RefService.FindAllTags:input_type -> gitaly.FindAllTagsRequest + 18, // 44: gitaly.RefService.FindTag:input_type -> gitaly.FindTagRequest + 40, // 45: gitaly.RefService.FindAllRemoteBranches:input_type -> gitaly.FindAllRemoteBranchesRequest + 22, // 46: gitaly.RefService.RefExists:input_type -> gitaly.RefExistsRequest + 28, // 47: gitaly.RefService.FindBranch:input_type -> gitaly.FindBranchRequest + 30, // 48: gitaly.RefService.DeleteRefs:input_type -> gitaly.DeleteRefsRequest + 32, // 49: gitaly.RefService.ListBranchNamesContainingCommit:input_type -> gitaly.ListBranchNamesContainingCommitRequest + 34, // 50: gitaly.RefService.ListTagNamesContainingCommit:input_type -> gitaly.ListTagNamesContainingCommitRequest + 36, // 51: gitaly.RefService.GetTagMessages:input_type -> gitaly.GetTagMessagesRequest + 38, // 52: gitaly.RefService.ListNewCommits:input_type -> gitaly.ListNewCommitsRequest + 2, // 53: gitaly.RefService.ListNewBlobs:input_type -> gitaly.ListNewBlobsRequest + 42, // 54: gitaly.RefService.PackRefs:input_type -> gitaly.PackRefsRequest + 5, // 55: gitaly.RefService.FindDefaultBranchName:output_type -> gitaly.FindDefaultBranchNameResponse + 7, // 56: gitaly.RefService.FindAllBranchNames:output_type -> gitaly.FindAllBranchNamesResponse + 9, // 57: gitaly.RefService.FindAllTagNames:output_type -> gitaly.FindAllTagNamesResponse + 11, // 58: gitaly.RefService.FindRefName:output_type -> gitaly.FindRefNameResponse + 13, // 59: gitaly.RefService.FindLocalBranches:output_type -> gitaly.FindLocalBranchesResponse + 17, // 60: gitaly.RefService.FindAllBranches:output_type -> gitaly.FindAllBranchesResponse + 21, // 61: gitaly.RefService.FindAllTags:output_type -> gitaly.FindAllTagsResponse + 19, // 62: gitaly.RefService.FindTag:output_type -> gitaly.FindTagResponse + 41, // 63: gitaly.RefService.FindAllRemoteBranches:output_type -> gitaly.FindAllRemoteBranchesResponse + 23, // 64: gitaly.RefService.RefExists:output_type -> gitaly.RefExistsResponse + 29, // 65: gitaly.RefService.FindBranch:output_type -> gitaly.FindBranchResponse + 31, // 66: gitaly.RefService.DeleteRefs:output_type -> gitaly.DeleteRefsResponse + 33, // 67: gitaly.RefService.ListBranchNamesContainingCommit:output_type -> gitaly.ListBranchNamesContainingCommitResponse + 35, // 68: gitaly.RefService.ListTagNamesContainingCommit:output_type -> gitaly.ListTagNamesContainingCommitResponse + 37, // 69: gitaly.RefService.GetTagMessages:output_type -> gitaly.GetTagMessagesResponse + 39, // 70: gitaly.RefService.ListNewCommits:output_type -> gitaly.ListNewCommitsResponse + 3, // 71: gitaly.RefService.ListNewBlobs:output_type -> gitaly.ListNewBlobsResponse + 43, // 72: gitaly.RefService.PackRefs:output_type -> gitaly.PackRefsResponse + 55, // [55:73] is the sub-list for method output_type + 37, // [37:55] is the sub-list for method input_type + 37, // [37:37] is the sub-list for extension type_name + 37, // [37:37] is the sub-list for extension extendee + 0, // [0:37] is the sub-list for field type_name +} + +func init() { file_ref_proto_init() } +func file_ref_proto_init() { + if File_ref_proto != nil { + return + } + file_lint_proto_init() + file_shared_proto_init() + file_blob_proto_init() + if !protoimpl.UnsafeEnabled { + file_ref_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListNewBlobsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListNewBlobsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindDefaultBranchNameRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindDefaultBranchNameResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindAllBranchNamesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindAllBranchNamesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindAllTagNamesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindAllTagNamesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindRefNameRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindRefNameResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindLocalBranchesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindLocalBranchesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindLocalBranchResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindLocalBranchCommitAuthor); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindAllBranchesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindAllBranchesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindTagRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindTagResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindAllTagsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindAllTagsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RefExistsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RefExistsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateBranchRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateBranchResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteBranchRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteBranchResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindBranchRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindBranchResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteRefsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteRefsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListBranchNamesContainingCommitRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListBranchNamesContainingCommitResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListTagNamesContainingCommitRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListTagNamesContainingCommitResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetTagMessagesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetTagMessagesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListNewCommitsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListNewCommitsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindAllRemoteBranchesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindAllRemoteBranchesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PackRefsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PackRefsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ref_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindAllBranchesResponse_Branch); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ref_proto_rawDesc, + NumEnums: 2, + NumMessages: 43, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_ref_proto_goTypes, + DependencyIndexes: file_ref_proto_depIdxs, + EnumInfos: file_ref_proto_enumTypes, + MessageInfos: file_ref_proto_msgTypes, + }.Build() + File_ref_proto = out.File + file_ref_proto_rawDesc = nil + file_ref_proto_goTypes = nil + file_ref_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConn +var _ grpc.ClientConnInterface // 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 +const _ = grpc.SupportPackageIsVersion6 // RefServiceClient is the client API for RefService service. // @@ -2253,10 +3568,10 @@ type RefServiceClient interface { } type refServiceClient struct { - cc *grpc.ClientConn + cc grpc.ClientConnInterface } -func NewRefServiceClient(cc *grpc.ClientConn) RefServiceClient { +func NewRefServiceClient(cc grpc.ClientConnInterface) RefServiceClient { return &refServiceClient{cc} } @@ -2706,58 +4021,58 @@ type RefServiceServer interface { type UnimplementedRefServiceServer struct { } -func (*UnimplementedRefServiceServer) FindDefaultBranchName(ctx context.Context, req *FindDefaultBranchNameRequest) (*FindDefaultBranchNameResponse, error) { +func (*UnimplementedRefServiceServer) FindDefaultBranchName(context.Context, *FindDefaultBranchNameRequest) (*FindDefaultBranchNameResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method FindDefaultBranchName not implemented") } -func (*UnimplementedRefServiceServer) FindAllBranchNames(req *FindAllBranchNamesRequest, srv RefService_FindAllBranchNamesServer) error { +func (*UnimplementedRefServiceServer) FindAllBranchNames(*FindAllBranchNamesRequest, RefService_FindAllBranchNamesServer) error { return status.Errorf(codes.Unimplemented, "method FindAllBranchNames not implemented") } -func (*UnimplementedRefServiceServer) FindAllTagNames(req *FindAllTagNamesRequest, srv RefService_FindAllTagNamesServer) error { +func (*UnimplementedRefServiceServer) FindAllTagNames(*FindAllTagNamesRequest, RefService_FindAllTagNamesServer) error { return status.Errorf(codes.Unimplemented, "method FindAllTagNames not implemented") } -func (*UnimplementedRefServiceServer) FindRefName(ctx context.Context, req *FindRefNameRequest) (*FindRefNameResponse, error) { +func (*UnimplementedRefServiceServer) FindRefName(context.Context, *FindRefNameRequest) (*FindRefNameResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method FindRefName not implemented") } -func (*UnimplementedRefServiceServer) FindLocalBranches(req *FindLocalBranchesRequest, srv RefService_FindLocalBranchesServer) error { +func (*UnimplementedRefServiceServer) FindLocalBranches(*FindLocalBranchesRequest, RefService_FindLocalBranchesServer) error { return status.Errorf(codes.Unimplemented, "method FindLocalBranches not implemented") } -func (*UnimplementedRefServiceServer) FindAllBranches(req *FindAllBranchesRequest, srv RefService_FindAllBranchesServer) error { +func (*UnimplementedRefServiceServer) FindAllBranches(*FindAllBranchesRequest, RefService_FindAllBranchesServer) error { return status.Errorf(codes.Unimplemented, "method FindAllBranches not implemented") } -func (*UnimplementedRefServiceServer) FindAllTags(req *FindAllTagsRequest, srv RefService_FindAllTagsServer) error { +func (*UnimplementedRefServiceServer) FindAllTags(*FindAllTagsRequest, RefService_FindAllTagsServer) error { return status.Errorf(codes.Unimplemented, "method FindAllTags not implemented") } -func (*UnimplementedRefServiceServer) FindTag(ctx context.Context, req *FindTagRequest) (*FindTagResponse, error) { +func (*UnimplementedRefServiceServer) FindTag(context.Context, *FindTagRequest) (*FindTagResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method FindTag not implemented") } -func (*UnimplementedRefServiceServer) FindAllRemoteBranches(req *FindAllRemoteBranchesRequest, srv RefService_FindAllRemoteBranchesServer) error { +func (*UnimplementedRefServiceServer) FindAllRemoteBranches(*FindAllRemoteBranchesRequest, RefService_FindAllRemoteBranchesServer) error { return status.Errorf(codes.Unimplemented, "method FindAllRemoteBranches not implemented") } -func (*UnimplementedRefServiceServer) RefExists(ctx context.Context, req *RefExistsRequest) (*RefExistsResponse, error) { +func (*UnimplementedRefServiceServer) RefExists(context.Context, *RefExistsRequest) (*RefExistsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method RefExists not implemented") } -func (*UnimplementedRefServiceServer) FindBranch(ctx context.Context, req *FindBranchRequest) (*FindBranchResponse, error) { +func (*UnimplementedRefServiceServer) FindBranch(context.Context, *FindBranchRequest) (*FindBranchResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method FindBranch not implemented") } -func (*UnimplementedRefServiceServer) DeleteRefs(ctx context.Context, req *DeleteRefsRequest) (*DeleteRefsResponse, error) { +func (*UnimplementedRefServiceServer) DeleteRefs(context.Context, *DeleteRefsRequest) (*DeleteRefsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteRefs not implemented") } -func (*UnimplementedRefServiceServer) ListBranchNamesContainingCommit(req *ListBranchNamesContainingCommitRequest, srv RefService_ListBranchNamesContainingCommitServer) error { +func (*UnimplementedRefServiceServer) ListBranchNamesContainingCommit(*ListBranchNamesContainingCommitRequest, RefService_ListBranchNamesContainingCommitServer) error { return status.Errorf(codes.Unimplemented, "method ListBranchNamesContainingCommit not implemented") } -func (*UnimplementedRefServiceServer) ListTagNamesContainingCommit(req *ListTagNamesContainingCommitRequest, srv RefService_ListTagNamesContainingCommitServer) error { +func (*UnimplementedRefServiceServer) ListTagNamesContainingCommit(*ListTagNamesContainingCommitRequest, RefService_ListTagNamesContainingCommitServer) error { return status.Errorf(codes.Unimplemented, "method ListTagNamesContainingCommit not implemented") } -func (*UnimplementedRefServiceServer) GetTagMessages(req *GetTagMessagesRequest, srv RefService_GetTagMessagesServer) error { +func (*UnimplementedRefServiceServer) GetTagMessages(*GetTagMessagesRequest, RefService_GetTagMessagesServer) error { return status.Errorf(codes.Unimplemented, "method GetTagMessages not implemented") } -func (*UnimplementedRefServiceServer) ListNewCommits(req *ListNewCommitsRequest, srv RefService_ListNewCommitsServer) error { +func (*UnimplementedRefServiceServer) ListNewCommits(*ListNewCommitsRequest, RefService_ListNewCommitsServer) error { return status.Errorf(codes.Unimplemented, "method ListNewCommits not implemented") } -func (*UnimplementedRefServiceServer) ListNewBlobs(req *ListNewBlobsRequest, srv RefService_ListNewBlobsServer) error { +func (*UnimplementedRefServiceServer) ListNewBlobs(*ListNewBlobsRequest, RefService_ListNewBlobsServer) error { return status.Errorf(codes.Unimplemented, "method ListNewBlobs not implemented") } -func (*UnimplementedRefServiceServer) PackRefs(ctx context.Context, req *PackRefsRequest) (*PackRefsResponse, error) { +func (*UnimplementedRefServiceServer) PackRefs(context.Context, *PackRefsRequest) (*PackRefsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method PackRefs not implemented") } diff --git a/proto/go/gitalypb/remote.pb.go b/proto/go/gitalypb/remote.pb.go index 23ae90fe1..8d6967a4c 100644 --- a/proto/go/gitalypb/remote.pb.go +++ b/proto/go/gitalypb/remote.pb.go @@ -1,297 +1,353 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc v3.12.4 // 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 +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) +) -// 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 +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 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 (x *AddRemoteRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -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 (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"` // ref_name is actually the remote to update. @@ -309,166 +365,186 @@ type UpdateRemoteMirrorRequest struct { KnownHosts string `protobuf:"bytes,5,opt,name=known_hosts,json=knownHosts,proto3" json:"known_hosts,omitempty"` // keep_divergent_refs 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 (x *UpdateRemoteMirrorRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UpdateRemoteMirrorRequest) XXX_Size() int { - return xxx_messageInfo_UpdateRemoteMirrorRequest.Size(m) -} -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) 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 UpdateRemoteMirrorResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // divergent_refs 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:"-"` + DivergentRefs [][]byte `protobuf:"bytes,1,rep,name=divergent_refs,json=divergentRefs,proto3" json:"divergent_refs,omitempty"` } -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) Reset() { + *x = UpdateRemoteMirrorResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_remote_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -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 (x *UpdateRemoteMirrorResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UpdateRemoteMirrorResponse) XXX_Size() int { - return xxx_messageInfo_UpdateRemoteMirrorResponse.Size(m) -} -func (m *UpdateRemoteMirrorResponse) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateRemoteMirrorResponse.DiscardUnknown(m) + +func (*UpdateRemoteMirrorResponse) ProtoMessage() {} + +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) } -var xxx_messageInfo_UpdateRemoteMirrorResponse proto.InternalMessageInfo +// Deprecated: Use UpdateRemoteMirrorResponse.ProtoReflect.Descriptor instead. +func (*UpdateRemoteMirrorResponse) Descriptor() ([]byte, []int) { + return file_remote_proto_rawDescGZIP(), []int{7} +} -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 (x *FindRemoteRepositoryRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FindRemoteRepositoryRequest) XXX_Size() int { - return xxx_messageInfo_FindRemoteRepositoryRequest.Size(m) -} -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 "" } @@ -476,46 +552,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. @@ -524,67 +612,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 (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 (x *FindRemoteRootRefRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -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 "" } @@ -592,261 +686,631 @@ 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 (x *FindRemoteRootRefResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FindRemoteRootRefResponse) XXX_Size() int { - return xxx_messageInfo_FindRemoteRootRefResponse.Size(m) -} -func (m *FindRemoteRootRefResponse) XXX_DiscardUnknown() { - xxx_messageInfo_FindRemoteRootRefResponse.DiscardUnknown(m) + +func (*FindRemoteRootRefResponse) ProtoMessage() {} + +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 mi.MessageOf(x) } -var xxx_messageInfo_FindRemoteRootRefResponse proto.InternalMessageInfo +// Deprecated: Use FindRemoteRootRefResponse.ProtoReflect.Descriptor instead. +func (*FindRemoteRootRefResponse) Descriptor() ([]byte, []int) { + return file_remote_proto_rawDescGZIP(), []int{11} +} -func (m *FindRemoteRootRefResponse) GetRef() string { - if m != nil { - return m.Ref +func (x *FindRemoteRootRefResponse) GetRef() string { + if x != nil { + return x.Ref } return "" } 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:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -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} + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` } -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 (x *ListRemotesRequest) Reset() { + *x = ListRemotesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_remote_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListRemotesRequest) XXX_Size() int { - return xxx_messageInfo_ListRemotesRequest.Size(m) + +func (x *ListRemotesRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListRemotesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListRemotesRequest.DiscardUnknown(m) + +func (*ListRemotesRequest) ProtoMessage() {} + +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_ListRemotesRequest proto.InternalMessageInfo +// Deprecated: Use ListRemotesRequest.ProtoReflect.Descriptor instead. +func (*ListRemotesRequest) Descriptor() ([]byte, []int) { + return file_remote_proto_rawDescGZIP(), []int{12} +} -func (m *ListRemotesRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *ListRemotesRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } 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:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -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} + Remotes []*ListRemotesResponse_Remote `protobuf:"bytes,1,rep,name=remotes,proto3" json:"remotes,omitempty"` } -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 (x *ListRemotesResponse) Reset() { + *x = ListRemotesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_remote_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListRemotesResponse) XXX_Size() int { - return xxx_messageInfo_ListRemotesResponse.Size(m) + +func (x *ListRemotesResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListRemotesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListRemotesResponse.DiscardUnknown(m) + +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 mi.MessageOf(x) } -var xxx_messageInfo_ListRemotesResponse proto.InternalMessageInfo +// Deprecated: Use ListRemotesResponse.ProtoReflect.Descriptor instead. +func (*ListRemotesResponse) Descriptor() ([]byte, []int) { + return file_remote_proto_rawDescGZIP(), []int{13} +} -func (m *ListRemotesResponse) GetRemotes() []*ListRemotesResponse_Remote { - if m != nil { - return m.Remotes +func (x *ListRemotesResponse) GetRemotes() []*ListRemotesResponse_Remote { + if x != nil { + return x.Remotes } 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:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -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} + 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 (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) +func (x *ListRemotesResponse_Remote) Reset() { + *x = ListRemotesResponse_Remote{} + if protoimpl.UnsafeEnabled { + mi := &file_remote_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListRemotesResponse_Remote) XXX_Size() int { - return xxx_messageInfo_ListRemotesResponse_Remote.Size(m) + +func (x *ListRemotesResponse_Remote) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListRemotesResponse_Remote) XXX_DiscardUnknown() { - xxx_messageInfo_ListRemotesResponse_Remote.DiscardUnknown(m) + +func (*ListRemotesResponse_Remote) ProtoMessage() {} + +func (x *ListRemotesResponse_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 mi.MessageOf(x) } -var xxx_messageInfo_ListRemotesResponse_Remote proto.InternalMessageInfo +// Deprecated: Use ListRemotesResponse_Remote.ProtoReflect.Descriptor instead. +func (*ListRemotesResponse_Remote) Descriptor() ([]byte, []int) { + return file_remote_proto_rawDescGZIP(), []int{13, 0} +} -func (m *ListRemotesResponse_Remote) GetName() string { - if m != nil { - return m.Name +func (x *ListRemotesResponse_Remote) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *ListRemotesResponse_Remote) GetFetchUrl() string { - if m != nil { - return m.FetchUrl +func (x *ListRemotesResponse_Remote) GetFetchUrl() string { + if x != nil { + return x.FetchUrl } return "" } -func (m *ListRemotesResponse_Remote) GetPushUrl() string { - if m != nil { - return m.PushUrl +func (x *ListRemotesResponse_Remote) GetPushUrl() string { + if x != nil { + return x.PushUrl } return "" } -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((*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{ - // 831 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x56, 0xcd, 0x8e, 0xe3, 0x44, - 0x10, 0x96, 0x1d, 0x6f, 0xc6, 0xa9, 0x64, 0x56, 0x49, 0x67, 0xb4, 0xeb, 0x38, 0x8b, 0xc8, 0x1a, - 0x56, 0xe4, 0xc0, 0x26, 0x68, 0xf8, 0x11, 0x42, 0x48, 0x68, 0x03, 0x5a, 0x0d, 0x3f, 0xbb, 0x12, - 0x86, 0xb9, 0x70, 0xc0, 0x38, 0x49, 0x27, 0xb6, 0xe2, 0xb8, 0x4d, 0x77, 0x67, 0x20, 0x3c, 0x01, - 0x47, 0x6e, 0xc3, 0x2b, 0x70, 0xe1, 0x31, 0x38, 0xc0, 0x1b, 0xcd, 0x09, 0xf5, 0x4f, 0x1c, 0x27, - 0xe3, 0x84, 0xc3, 0xb0, 0xb7, 0xee, 0xfa, 0xaa, 0xbf, 0xaa, 0xfa, 0xaa, 0xbb, 0x6c, 0x68, 0x50, - 0xbc, 0x24, 0x1c, 0x0f, 0x32, 0x4a, 0x38, 0x41, 0xd5, 0x79, 0xcc, 0xc3, 0x64, 0xed, 0x42, 0x12, - 0xa7, 0x5c, 0xd9, 0xdc, 0x06, 0x8b, 0x42, 0x8a, 0xa7, 0x6a, 0xe7, 0xfd, 0x69, 0x40, 0xf3, 0xd9, - 0x74, 0xea, 0xcb, 0x53, 0x3e, 0xfe, 0x71, 0x85, 0x19, 0x47, 0x1f, 0x02, 0x50, 0x9c, 0x11, 0x16, - 0x73, 0x42, 0xd7, 0x8e, 0xd1, 0x33, 0xfa, 0xf5, 0x73, 0x34, 0x50, 0x5c, 0x03, 0x3f, 0x47, 0x46, - 0xd6, 0xef, 0x7f, 0xbd, 0x6d, 0xf8, 0x05, 0x5f, 0x84, 0xc0, 0x4a, 0xc3, 0x25, 0x76, 0xcc, 0x9e, - 0xd1, 0xaf, 0xf9, 0x72, 0x8d, 0x9a, 0x50, 0x59, 0xd1, 0xc4, 0xa9, 0x48, 0x93, 0x58, 0xa2, 0x27, - 0x70, 0x7f, 0x19, 0x53, 0x4a, 0x68, 0x40, 0xf1, 0x6c, 0x19, 0x66, 0xcc, 0xb9, 0xd7, 0xab, 0xf4, - 0x6b, 0xfe, 0xa9, 0xb2, 0xfa, 0xca, 0xf8, 0x85, 0x65, 0x5b, 0xcd, 0x7b, 0x1b, 0xa3, 0x76, 0xf5, - 0xda, 0xd0, 0x2a, 0xe4, 0xcb, 0x32, 0x92, 0x32, 0xec, 0x4d, 0xa0, 0x2d, 0x2c, 0x57, 0xf8, 0x15, - 0xd6, 0xe1, 0x0d, 0xe0, 0x6c, 0x37, 0x88, 0x0a, 0x8e, 0x1e, 0x40, 0x95, 0x62, 0xb6, 0x4a, 0xb8, - 0x8c, 0x60, 0xfb, 0x7a, 0xe7, 0x5d, 0x1b, 0xe0, 0x3e, 0xc7, 0x7c, 0x12, 0x7d, 0x9e, 0x72, 0x4c, - 0xd3, 0x30, 0xf9, 0xbf, 0x92, 0xfb, 0x04, 0x5a, 0xaa, 0xcb, 0x41, 0x81, 0xc0, 0x3c, 0x44, 0xe0, - 0x37, 0xa9, 0x8e, 0xbb, 0xb1, 0x78, 0xef, 0x43, 0xb7, 0x34, 0xb1, 0xff, 0x28, 0xe8, 0x37, 0x13, - 0x3a, 0x97, 0xd9, 0x34, 0xe4, 0x5a, 0x81, 0x17, 0xba, 0x5b, 0x77, 0xad, 0xa7, 0x03, 0x36, 0xc5, - 0xb3, 0xa0, 0x20, 0xf8, 0x09, 0xc5, 0xb3, 0x97, 0xe2, 0xee, 0xbc, 0x07, 0x0f, 0x48, 0x9a, 0xac, - 0x83, 0x31, 0x0d, 0xd3, 0x49, 0x84, 0x59, 0xb0, 0x0c, 0xf9, 0x24, 0x8a, 0xd3, 0xb9, 0x53, 0xe9, - 0x55, 0xfa, 0x0d, 0xff, 0x4c, 0xa0, 0x23, 0x0d, 0xbe, 0xd0, 0x18, 0x7a, 0x08, 0x27, 0x8c, 0x45, - 0xc1, 0x02, 0xaf, 0x1d, 0x4b, 0xf2, 0x55, 0x19, 0x8b, 0xbe, 0xc4, 0x6b, 0xf4, 0x3a, 0xd4, 0x17, - 0x29, 0xf9, 0x29, 0x0d, 0x22, 0xc2, 0xb8, 0xb8, 0x75, 0x02, 0x04, 0x69, 0xba, 0x10, 0x16, 0x34, - 0x80, 0xf6, 0x02, 0xe3, 0x2c, 0x98, 0xc6, 0x57, 0x98, 0xce, 0x71, 0xca, 0xc5, 0xb5, 0x63, 0x4e, - 0x55, 0xea, 0xd0, 0x12, 0xd0, 0x67, 0x1b, 0xc4, 0xc7, 0x33, 0xe6, 0x7d, 0x0a, 0x6e, 0x99, 0x22, - 0x5a, 0xc8, 0x27, 0x70, 0x7f, 0x8f, 0xc8, 0x90, 0x59, 0x9f, 0x4e, 0x77, 0x48, 0xbe, 0x87, 0xee, - 0xf3, 0x38, 0xcd, 0xef, 0x74, 0xde, 0x38, 0x2d, 0xac, 0x6c, 0x87, 0x80, 0xa4, 0xa8, 0x35, 0x5f, - 0xef, 0xd0, 0x5b, 0xd0, 0x60, 0x9c, 0xd0, 0x70, 0x8e, 0x0b, 0xd2, 0x8d, 0xac, 0x5f, 0x85, 0xbc, - 0x75, 0x8d, 0x08, 0x11, 0xbd, 0x0f, 0xe0, 0x51, 0x39, 0xff, 0xb6, 0xdf, 0xf8, 0xe7, 0x58, 0x08, - 0xa2, 0xfb, 0xad, 0x76, 0xde, 0x3f, 0x06, 0x38, 0x85, 0x83, 0x84, 0x88, 0x74, 0xef, 0xde, 0x6e, - 0x37, 0xaf, 0x47, 0x65, 0x6c, 0x3a, 0x46, 0x5e, 0xd3, 0x6b, 0x82, 0x55, 0x5e, 0xed, 0xed, 0xc8, - 0xa8, 0x29, 0xcb, 0x25, 0x4d, 0xd0, 0x47, 0xd0, 0x89, 0x38, 0xcf, 0x82, 0x70, 0xc5, 0x23, 0x42, - 0xe3, 0x5f, 0x42, 0x1e, 0x93, 0x34, 0x88, 0x70, 0x38, 0xc5, 0x54, 0xb7, 0xfa, 0xa1, 0x70, 0x78, - 0x56, 0xc4, 0x2f, 0x24, 0xec, 0x3d, 0x85, 0x4e, 0x49, 0x31, 0x5a, 0x82, 0x26, 0x54, 0x28, 0x9e, - 0x69, 0x81, 0xc5, 0xd2, 0x7b, 0x09, 0xe8, 0xab, 0x98, 0x71, 0xe5, 0xce, 0xee, 0x5c, 0xb5, 0xf7, - 0x87, 0x01, 0xed, 0x1d, 0x42, 0x1d, 0xf9, 0x63, 0x38, 0x51, 0xf5, 0xa9, 0xcb, 0x51, 0x3f, 0xf7, - 0x36, 0x74, 0x25, 0xde, 0x03, 0x9d, 0xfd, 0xe6, 0x88, 0xfb, 0x2d, 0x54, 0x95, 0x29, 0x9f, 0x58, - 0x46, 0x61, 0xf2, 0x76, 0xa1, 0x36, 0x13, 0xef, 0x5c, 0x8a, 0xa9, 0x5e, 0x96, 0x2d, 0x0d, 0x42, - 0xcb, 0x0e, 0xd8, 0xd9, 0x8a, 0x45, 0x05, 0xa1, 0x4f, 0xc4, 0xfe, 0x92, 0x26, 0xe7, 0x7f, 0x5b, - 0x70, 0xaa, 0x68, 0xbf, 0xc1, 0xf4, 0x2a, 0x9e, 0x60, 0x74, 0x01, 0xb5, 0x7c, 0xea, 0x22, 0x67, - 0x93, 0xe1, 0xfe, 0x87, 0xc3, 0xed, 0x94, 0x20, 0x7a, 0x44, 0x57, 0x6f, 0xae, 0xfb, 0xa6, 0x6d, - 0xa0, 0x19, 0xb4, 0x4b, 0x66, 0x0f, 0xca, 0xab, 0x3e, 0x3c, 0x31, 0xdd, 0x37, 0x8e, 0xfa, 0xec, - 0xc5, 0xf9, 0x1a, 0x1a, 0xc5, 0x69, 0x8d, 0xba, 0xdb, 0x2e, 0xdd, 0xfa, 0x50, 0xb8, 0x8f, 0xca, - 0xc1, 0x3d, 0x4a, 0x0c, 0xe8, 0xf6, 0x63, 0x47, 0x8f, 0x37, 0x67, 0x0f, 0x8e, 0x46, 0xd7, 0x3b, - 0xe6, 0xb2, 0x13, 0xc4, 0xec, 0x1b, 0x68, 0x01, 0x67, 0x65, 0xcf, 0x15, 0x6d, 0xcb, 0x3f, 0x3c, - 0x2c, 0xdc, 0x37, 0x8f, 0x3b, 0xe9, 0x60, 0xf6, 0xcd, 0x75, 0xdf, 0xb2, 0xcd, 0xa6, 0x89, 0x7e, - 0x80, 0xd6, 0xad, 0x57, 0x81, 0x7a, 0x25, 0x24, 0x3b, 0xaf, 0xdf, 0x7d, 0x7c, 0xc4, 0x63, 0xb7, - 0xa0, 0xd1, 0x3b, 0xdf, 0x09, 0xdf, 0x24, 0x1c, 0x0f, 0x26, 0x64, 0x39, 0x54, 0xcb, 0xa7, 0x84, - 0xce, 0x87, 0x8a, 0x61, 0x28, 0xff, 0x43, 0x86, 0x73, 0xa2, 0xf7, 0xd9, 0x78, 0x5c, 0x95, 0xa6, - 0x77, 0xff, 0x0d, 0x00, 0x00, 0xff, 0xff, 0xbe, 0xfc, 0x7f, 0x70, 0xcc, 0x08, 0x00, 0x00, +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, 0x90, 0x02, 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, + 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, 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, 0x30, 0x5a, 0x2e, 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, 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, 15) +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 + (*ListRemotesResponse_Remote)(nil), // 14: gitaly.ListRemotesResponse.Remote + (*Repository)(nil), // 15: gitaly.Repository +} +var file_remote_proto_depIdxs = []int32{ + 15, // 0: gitaly.AddRemoteRequest.repository:type_name -> gitaly.Repository + 15, // 1: gitaly.RemoveRemoteRequest.repository:type_name -> gitaly.Repository + 15, // 2: gitaly.FetchInternalRemoteRequest.repository:type_name -> gitaly.Repository + 15, // 3: gitaly.FetchInternalRemoteRequest.remote_repository:type_name -> gitaly.Repository + 15, // 4: gitaly.UpdateRemoteMirrorRequest.repository:type_name -> gitaly.Repository + 15, // 5: gitaly.FindRemoteRootRefRequest.repository:type_name -> gitaly.Repository + 15, // 6: gitaly.ListRemotesRequest.repository:type_name -> gitaly.Repository + 14, // 7: gitaly.ListRemotesResponse.remotes:type_name -> gitaly.ListRemotesResponse.Remote + 0, // 8: gitaly.RemoteService.AddRemote:input_type -> gitaly.AddRemoteRequest + 4, // 9: gitaly.RemoteService.FetchInternalRemote:input_type -> gitaly.FetchInternalRemoteRequest + 2, // 10: gitaly.RemoteService.RemoveRemote:input_type -> gitaly.RemoveRemoteRequest + 6, // 11: gitaly.RemoteService.UpdateRemoteMirror:input_type -> gitaly.UpdateRemoteMirrorRequest + 8, // 12: gitaly.RemoteService.FindRemoteRepository:input_type -> gitaly.FindRemoteRepositoryRequest + 10, // 13: gitaly.RemoteService.FindRemoteRootRef:input_type -> gitaly.FindRemoteRootRefRequest + 1, // 14: gitaly.RemoteService.AddRemote:output_type -> gitaly.AddRemoteResponse + 5, // 15: gitaly.RemoteService.FetchInternalRemote:output_type -> gitaly.FetchInternalRemoteResponse + 3, // 16: gitaly.RemoteService.RemoveRemote:output_type -> gitaly.RemoveRemoteResponse + 7, // 17: gitaly.RemoteService.UpdateRemoteMirror:output_type -> gitaly.UpdateRemoteMirrorResponse + 9, // 18: gitaly.RemoteService.FindRemoteRepository:output_type -> gitaly.FindRemoteRepositoryResponse + 11, // 19: gitaly.RemoteService.FindRemoteRootRef:output_type -> gitaly.FindRemoteRootRefResponse + 14, // [14:20] is the sub-list for method output_type + 8, // [8:14] is the sub-list for method input_type + 8, // [8:8] is the sub-list for extension type_name + 8, // [8:8] is the sub-list for extension extendee + 0, // [0:8] is the sub-list for field type_name +} + +func init() { file_remote_proto_init() } +func file_remote_proto_init() { + if File_remote_proto != nil { + return + } + 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.(*ListRemotesResponse_Remote); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_remote_proto_rawDesc, + NumEnums: 0, + NumMessages: 15, + NumExtensions: 0, + NumServices: 1, + }, + 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 } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConn +var _ grpc.ClientConnInterface // 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 +const _ = grpc.SupportPackageIsVersion6 // RemoteServiceClient is the client API for RemoteService service. // @@ -871,10 +1335,10 @@ type RemoteServiceClient interface { } type remoteServiceClient struct { - cc *grpc.ClientConn + cc grpc.ClientConnInterface } -func NewRemoteServiceClient(cc *grpc.ClientConn) RemoteServiceClient { +func NewRemoteServiceClient(cc grpc.ClientConnInterface) RemoteServiceClient { return &remoteServiceClient{cc} } @@ -981,22 +1445,22 @@ type RemoteServiceServer interface { type UnimplementedRemoteServiceServer struct { } -func (*UnimplementedRemoteServiceServer) AddRemote(ctx context.Context, req *AddRemoteRequest) (*AddRemoteResponse, error) { +func (*UnimplementedRemoteServiceServer) AddRemote(context.Context, *AddRemoteRequest) (*AddRemoteResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method AddRemote not implemented") } -func (*UnimplementedRemoteServiceServer) FetchInternalRemote(ctx context.Context, req *FetchInternalRemoteRequest) (*FetchInternalRemoteResponse, error) { +func (*UnimplementedRemoteServiceServer) FetchInternalRemote(context.Context, *FetchInternalRemoteRequest) (*FetchInternalRemoteResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method FetchInternalRemote not implemented") } -func (*UnimplementedRemoteServiceServer) RemoveRemote(ctx context.Context, req *RemoveRemoteRequest) (*RemoveRemoteResponse, error) { +func (*UnimplementedRemoteServiceServer) RemoveRemote(context.Context, *RemoveRemoteRequest) (*RemoveRemoteResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method RemoveRemote not implemented") } -func (*UnimplementedRemoteServiceServer) UpdateRemoteMirror(srv RemoteService_UpdateRemoteMirrorServer) error { +func (*UnimplementedRemoteServiceServer) UpdateRemoteMirror(RemoteService_UpdateRemoteMirrorServer) error { return status.Errorf(codes.Unimplemented, "method UpdateRemoteMirror not implemented") } -func (*UnimplementedRemoteServiceServer) FindRemoteRepository(ctx context.Context, req *FindRemoteRepositoryRequest) (*FindRemoteRepositoryResponse, error) { +func (*UnimplementedRemoteServiceServer) FindRemoteRepository(context.Context, *FindRemoteRepositoryRequest) (*FindRemoteRepositoryResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method FindRemoteRepository not implemented") } -func (*UnimplementedRemoteServiceServer) FindRemoteRootRef(ctx context.Context, req *FindRemoteRootRefRequest) (*FindRemoteRootRefResponse, error) { +func (*UnimplementedRemoteServiceServer) FindRemoteRootRef(context.Context, *FindRemoteRootRefRequest) (*FindRemoteRootRefResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method FindRemoteRootRef not implemented") } diff --git a/proto/go/gitalypb/repository-service.pb.go b/proto/go/gitalypb/repository-service.pb.go index 5f93de8f2..817e4681d 100644 --- a/proto/go/gitalypb/repository-service.pb.go +++ b/proto/go/gitalypb/repository-service.pb.go @@ -1,28 +1,33 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc v3.12.4 // source: repository-service.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 +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) +) -// 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 +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 type WriteCommitGraphRequest_SplitStrategy int32 @@ -33,20 +38,41 @@ const ( WriteCommitGraphRequest_SizeMultiple WriteCommitGraphRequest_SplitStrategy = 0 ) -var WriteCommitGraphRequest_SplitStrategy_name = map[int32]string{ - 0: "SizeMultiple", -} +// Enum value maps for WriteCommitGraphRequest_SplitStrategy. +var ( + WriteCommitGraphRequest_SplitStrategy_name = map[int32]string{ + 0: "SizeMultiple", + } + WriteCommitGraphRequest_SplitStrategy_value = map[string]int32{ + "SizeMultiple": 0, + } +) -var WriteCommitGraphRequest_SplitStrategy_value = map[string]int32{ - "SizeMultiple": 0, +func (x WriteCommitGraphRequest_SplitStrategy) Enum() *WriteCommitGraphRequest_SplitStrategy { + p := new(WriteCommitGraphRequest_SplitStrategy) + *p = x + return p } func (x WriteCommitGraphRequest_SplitStrategy) String() string { - return proto.EnumName(WriteCommitGraphRequest_SplitStrategy_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (WriteCommitGraphRequest_SplitStrategy) Descriptor() protoreflect.EnumDescriptor { + return file_repository_service_proto_enumTypes[0].Descriptor() +} + +func (WriteCommitGraphRequest_SplitStrategy) Type() protoreflect.EnumType { + return &file_repository_service_proto_enumTypes[0] +} + +func (x WriteCommitGraphRequest_SplitStrategy) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use WriteCommitGraphRequest_SplitStrategy.Descriptor instead. func (WriteCommitGraphRequest_SplitStrategy) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{10, 0} + return file_repository_service_proto_rawDescGZIP(), []int{10, 0} } type GetArchiveRequest_Format int32 @@ -58,26 +84,47 @@ const ( GetArchiveRequest_TAR_BZ2 GetArchiveRequest_Format = 3 ) -var GetArchiveRequest_Format_name = map[int32]string{ - 0: "ZIP", - 1: "TAR", - 2: "TAR_GZ", - 3: "TAR_BZ2", -} +// Enum value maps for GetArchiveRequest_Format. +var ( + GetArchiveRequest_Format_name = map[int32]string{ + 0: "ZIP", + 1: "TAR", + 2: "TAR_GZ", + 3: "TAR_BZ2", + } + GetArchiveRequest_Format_value = map[string]int32{ + "ZIP": 0, + "TAR": 1, + "TAR_GZ": 2, + "TAR_BZ2": 3, + } +) -var GetArchiveRequest_Format_value = map[string]int32{ - "ZIP": 0, - "TAR": 1, - "TAR_GZ": 2, - "TAR_BZ2": 3, +func (x GetArchiveRequest_Format) Enum() *GetArchiveRequest_Format { + p := new(GetArchiveRequest_Format) + *p = x + return p } func (x GetArchiveRequest_Format) String() string { - return proto.EnumName(GetArchiveRequest_Format_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (GetArchiveRequest_Format) Descriptor() protoreflect.EnumDescriptor { + return file_repository_service_proto_enumTypes[1].Descriptor() +} + +func (GetArchiveRequest_Format) Type() protoreflect.EnumType { + return &file_repository_service_proto_enumTypes[1] +} + +func (x GetArchiveRequest_Format) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use GetArchiveRequest_Format.Descriptor instead. func (GetArchiveRequest_Format) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{22, 0} + return file_repository_service_proto_rawDescGZIP(), []int{22, 0} } type GetRawChangesResponse_RawChange_Operation int32 @@ -92,331 +139,417 @@ const ( GetRawChangesResponse_RawChange_TYPE_CHANGED GetRawChangesResponse_RawChange_Operation = 6 ) -var GetRawChangesResponse_RawChange_Operation_name = map[int32]string{ - 0: "UNKNOWN", - 1: "ADDED", - 2: "COPIED", - 3: "DELETED", - 4: "MODIFIED", - 5: "RENAMED", - 6: "TYPE_CHANGED", -} +// Enum value maps for GetRawChangesResponse_RawChange_Operation. +var ( + GetRawChangesResponse_RawChange_Operation_name = map[int32]string{ + 0: "UNKNOWN", + 1: "ADDED", + 2: "COPIED", + 3: "DELETED", + 4: "MODIFIED", + 5: "RENAMED", + 6: "TYPE_CHANGED", + } + GetRawChangesResponse_RawChange_Operation_value = map[string]int32{ + "UNKNOWN": 0, + "ADDED": 1, + "COPIED": 2, + "DELETED": 3, + "MODIFIED": 4, + "RENAMED": 5, + "TYPE_CHANGED": 6, + } +) -var GetRawChangesResponse_RawChange_Operation_value = map[string]int32{ - "UNKNOWN": 0, - "ADDED": 1, - "COPIED": 2, - "DELETED": 3, - "MODIFIED": 4, - "RENAMED": 5, - "TYPE_CHANGED": 6, +func (x GetRawChangesResponse_RawChange_Operation) Enum() *GetRawChangesResponse_RawChange_Operation { + p := new(GetRawChangesResponse_RawChange_Operation) + *p = x + return p } func (x GetRawChangesResponse_RawChange_Operation) String() string { - return proto.EnumName(GetRawChangesResponse_RawChange_Operation_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } -func (GetRawChangesResponse_RawChange_Operation) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{67, 0, 0} +func (GetRawChangesResponse_RawChange_Operation) Descriptor() protoreflect.EnumDescriptor { + return file_repository_service_proto_enumTypes[2].Descriptor() } -type RepositoryExistsRequest 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:"-"` +func (GetRawChangesResponse_RawChange_Operation) Type() protoreflect.EnumType { + return &file_repository_service_proto_enumTypes[2] } -func (m *RepositoryExistsRequest) Reset() { *m = RepositoryExistsRequest{} } -func (m *RepositoryExistsRequest) String() string { return proto.CompactTextString(m) } -func (*RepositoryExistsRequest) ProtoMessage() {} -func (*RepositoryExistsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{0} +func (x GetRawChangesResponse_RawChange_Operation) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } -func (m *RepositoryExistsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RepositoryExistsRequest.Unmarshal(m, b) +// Deprecated: Use GetRawChangesResponse_RawChange_Operation.Descriptor instead. +func (GetRawChangesResponse_RawChange_Operation) EnumDescriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{67, 0, 0} } -func (m *RepositoryExistsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RepositoryExistsRequest.Marshal(b, m, deterministic) + +type RepositoryExistsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` } -func (m *RepositoryExistsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RepositoryExistsRequest.Merge(m, src) + +func (x *RepositoryExistsRequest) Reset() { + *x = RepositoryExistsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RepositoryExistsRequest) XXX_Size() int { - return xxx_messageInfo_RepositoryExistsRequest.Size(m) + +func (x *RepositoryExistsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RepositoryExistsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RepositoryExistsRequest.DiscardUnknown(m) + +func (*RepositoryExistsRequest) ProtoMessage() {} + +func (x *RepositoryExistsRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_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_RepositoryExistsRequest proto.InternalMessageInfo +// Deprecated: Use RepositoryExistsRequest.ProtoReflect.Descriptor instead. +func (*RepositoryExistsRequest) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{0} +} -func (m *RepositoryExistsRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *RepositoryExistsRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } type RepositoryExistsResponse 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 *RepositoryExistsResponse) Reset() { *m = RepositoryExistsResponse{} } -func (m *RepositoryExistsResponse) String() string { return proto.CompactTextString(m) } -func (*RepositoryExistsResponse) ProtoMessage() {} -func (*RepositoryExistsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{1} + Exists bool `protobuf:"varint,1,opt,name=exists,proto3" json:"exists,omitempty"` } -func (m *RepositoryExistsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RepositoryExistsResponse.Unmarshal(m, b) -} -func (m *RepositoryExistsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RepositoryExistsResponse.Marshal(b, m, deterministic) -} -func (m *RepositoryExistsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_RepositoryExistsResponse.Merge(m, src) +func (x *RepositoryExistsResponse) Reset() { + *x = RepositoryExistsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RepositoryExistsResponse) XXX_Size() int { - return xxx_messageInfo_RepositoryExistsResponse.Size(m) + +func (x *RepositoryExistsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RepositoryExistsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_RepositoryExistsResponse.DiscardUnknown(m) + +func (*RepositoryExistsResponse) ProtoMessage() {} + +func (x *RepositoryExistsResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_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) } -var xxx_messageInfo_RepositoryExistsResponse proto.InternalMessageInfo +// Deprecated: Use RepositoryExistsResponse.ProtoReflect.Descriptor instead. +func (*RepositoryExistsResponse) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{1} +} -func (m *RepositoryExistsResponse) GetExists() bool { - if m != nil { - return m.Exists +func (x *RepositoryExistsResponse) GetExists() bool { + if x != nil { + return x.Exists } return false } type RepackIncrementalRequest 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:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *RepackIncrementalRequest) Reset() { *m = RepackIncrementalRequest{} } -func (m *RepackIncrementalRequest) String() string { return proto.CompactTextString(m) } -func (*RepackIncrementalRequest) ProtoMessage() {} -func (*RepackIncrementalRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{2} + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` } -func (m *RepackIncrementalRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RepackIncrementalRequest.Unmarshal(m, b) -} -func (m *RepackIncrementalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RepackIncrementalRequest.Marshal(b, m, deterministic) -} -func (m *RepackIncrementalRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RepackIncrementalRequest.Merge(m, src) +func (x *RepackIncrementalRequest) Reset() { + *x = RepackIncrementalRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RepackIncrementalRequest) XXX_Size() int { - return xxx_messageInfo_RepackIncrementalRequest.Size(m) + +func (x *RepackIncrementalRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RepackIncrementalRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RepackIncrementalRequest.DiscardUnknown(m) + +func (*RepackIncrementalRequest) ProtoMessage() {} + +func (x *RepackIncrementalRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_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_RepackIncrementalRequest proto.InternalMessageInfo +// Deprecated: Use RepackIncrementalRequest.ProtoReflect.Descriptor instead. +func (*RepackIncrementalRequest) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{2} +} -func (m *RepackIncrementalRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *RepackIncrementalRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } type RepackIncrementalResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *RepackIncrementalResponse) Reset() { *m = RepackIncrementalResponse{} } -func (m *RepackIncrementalResponse) String() string { return proto.CompactTextString(m) } -func (*RepackIncrementalResponse) ProtoMessage() {} -func (*RepackIncrementalResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{3} +func (x *RepackIncrementalResponse) Reset() { + *x = RepackIncrementalResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RepackIncrementalResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RepackIncrementalResponse.Unmarshal(m, b) -} -func (m *RepackIncrementalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RepackIncrementalResponse.Marshal(b, m, deterministic) -} -func (m *RepackIncrementalResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_RepackIncrementalResponse.Merge(m, src) -} -func (m *RepackIncrementalResponse) XXX_Size() int { - return xxx_messageInfo_RepackIncrementalResponse.Size(m) -} -func (m *RepackIncrementalResponse) XXX_DiscardUnknown() { - xxx_messageInfo_RepackIncrementalResponse.DiscardUnknown(m) +func (x *RepackIncrementalResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_RepackIncrementalResponse proto.InternalMessageInfo +func (*RepackIncrementalResponse) ProtoMessage() {} -type RepackFullRequest struct { - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - CreateBitmap bool `protobuf:"varint,2,opt,name=create_bitmap,json=createBitmap,proto3" json:"create_bitmap,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *RepackIncrementalResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_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) } -func (m *RepackFullRequest) Reset() { *m = RepackFullRequest{} } -func (m *RepackFullRequest) String() string { return proto.CompactTextString(m) } -func (*RepackFullRequest) ProtoMessage() {} -func (*RepackFullRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{4} +// Deprecated: Use RepackIncrementalResponse.ProtoReflect.Descriptor instead. +func (*RepackIncrementalResponse) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{3} } -func (m *RepackFullRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RepackFullRequest.Unmarshal(m, b) -} -func (m *RepackFullRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RepackFullRequest.Marshal(b, m, deterministic) +type RepackFullRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + CreateBitmap bool `protobuf:"varint,2,opt,name=create_bitmap,json=createBitmap,proto3" json:"create_bitmap,omitempty"` } -func (m *RepackFullRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RepackFullRequest.Merge(m, src) + +func (x *RepackFullRequest) Reset() { + *x = RepackFullRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RepackFullRequest) XXX_Size() int { - return xxx_messageInfo_RepackFullRequest.Size(m) + +func (x *RepackFullRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RepackFullRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RepackFullRequest.DiscardUnknown(m) + +func (*RepackFullRequest) ProtoMessage() {} + +func (x *RepackFullRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_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_RepackFullRequest proto.InternalMessageInfo +// Deprecated: Use RepackFullRequest.ProtoReflect.Descriptor instead. +func (*RepackFullRequest) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{4} +} -func (m *RepackFullRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *RepackFullRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *RepackFullRequest) GetCreateBitmap() bool { - if m != nil { - return m.CreateBitmap +func (x *RepackFullRequest) GetCreateBitmap() bool { + if x != nil { + return x.CreateBitmap } return false } type RepackFullResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *RepackFullResponse) Reset() { *m = RepackFullResponse{} } -func (m *RepackFullResponse) String() string { return proto.CompactTextString(m) } -func (*RepackFullResponse) ProtoMessage() {} -func (*RepackFullResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{5} +func (x *RepackFullResponse) Reset() { + *x = RepackFullResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RepackFullResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RepackFullResponse.Unmarshal(m, b) -} -func (m *RepackFullResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RepackFullResponse.Marshal(b, m, deterministic) -} -func (m *RepackFullResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_RepackFullResponse.Merge(m, src) -} -func (m *RepackFullResponse) XXX_Size() int { - return xxx_messageInfo_RepackFullResponse.Size(m) -} -func (m *RepackFullResponse) XXX_DiscardUnknown() { - xxx_messageInfo_RepackFullResponse.DiscardUnknown(m) +func (x *RepackFullResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_RepackFullResponse proto.InternalMessageInfo +func (*RepackFullResponse) ProtoMessage() {} -type MidxRepackRequest 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:"-"` +func (x *RepackFullResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_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) } -func (m *MidxRepackRequest) Reset() { *m = MidxRepackRequest{} } -func (m *MidxRepackRequest) String() string { return proto.CompactTextString(m) } -func (*MidxRepackRequest) ProtoMessage() {} -func (*MidxRepackRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{6} +// Deprecated: Use RepackFullResponse.ProtoReflect.Descriptor instead. +func (*RepackFullResponse) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{5} } -func (m *MidxRepackRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MidxRepackRequest.Unmarshal(m, b) -} -func (m *MidxRepackRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MidxRepackRequest.Marshal(b, m, deterministic) +type MidxRepackRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` } -func (m *MidxRepackRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_MidxRepackRequest.Merge(m, src) + +func (x *MidxRepackRequest) Reset() { + *x = MidxRepackRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *MidxRepackRequest) XXX_Size() int { - return xxx_messageInfo_MidxRepackRequest.Size(m) + +func (x *MidxRepackRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *MidxRepackRequest) XXX_DiscardUnknown() { - xxx_messageInfo_MidxRepackRequest.DiscardUnknown(m) + +func (*MidxRepackRequest) ProtoMessage() {} + +func (x *MidxRepackRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_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_MidxRepackRequest proto.InternalMessageInfo +// Deprecated: Use MidxRepackRequest.ProtoReflect.Descriptor instead. +func (*MidxRepackRequest) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{6} +} -func (m *MidxRepackRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *MidxRepackRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } type MidxRepackResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *MidxRepackResponse) Reset() { *m = MidxRepackResponse{} } -func (m *MidxRepackResponse) String() string { return proto.CompactTextString(m) } -func (*MidxRepackResponse) ProtoMessage() {} -func (*MidxRepackResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{7} +func (x *MidxRepackResponse) Reset() { + *x = MidxRepackResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *MidxRepackResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MidxRepackResponse.Unmarshal(m, b) -} -func (m *MidxRepackResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MidxRepackResponse.Marshal(b, m, deterministic) -} -func (m *MidxRepackResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MidxRepackResponse.Merge(m, src) +func (x *MidxRepackResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *MidxRepackResponse) XXX_Size() int { - return xxx_messageInfo_MidxRepackResponse.Size(m) -} -func (m *MidxRepackResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MidxRepackResponse.DiscardUnknown(m) + +func (*MidxRepackResponse) ProtoMessage() {} + +func (x *MidxRepackResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_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) } -var xxx_messageInfo_MidxRepackResponse proto.InternalMessageInfo +// Deprecated: Use MidxRepackResponse.ProtoReflect.Descriptor instead. +func (*MidxRepackResponse) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{7} +} type GarbageCollectRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` CreateBitmap bool `protobuf:"varint,2,opt,name=create_bitmap,json=createBitmap,proto3" json:"create_bitmap,omitempty"` // If set to 'true' the 'gc' will be triggered with '--prune=24.hours.ago' flag. @@ -424,396 +557,472 @@ type GarbageCollectRequest struct { // If 'false' provided the 'gc' will rely on the default expiration period (2 weeks). // The window of 24 hours exists because of possible concurrent operations running on the same // storage and removal of the objects may cause races and fail concurrent operations. - Prune bool `protobuf:"varint,3,opt,name=prune,proto3" json:"prune,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Prune bool `protobuf:"varint,3,opt,name=prune,proto3" json:"prune,omitempty"` } -func (m *GarbageCollectRequest) Reset() { *m = GarbageCollectRequest{} } -func (m *GarbageCollectRequest) String() string { return proto.CompactTextString(m) } -func (*GarbageCollectRequest) ProtoMessage() {} -func (*GarbageCollectRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{8} +func (x *GarbageCollectRequest) Reset() { + *x = GarbageCollectRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GarbageCollectRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GarbageCollectRequest.Unmarshal(m, b) -} -func (m *GarbageCollectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GarbageCollectRequest.Marshal(b, m, deterministic) -} -func (m *GarbageCollectRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GarbageCollectRequest.Merge(m, src) +func (x *GarbageCollectRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GarbageCollectRequest) XXX_Size() int { - return xxx_messageInfo_GarbageCollectRequest.Size(m) -} -func (m *GarbageCollectRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GarbageCollectRequest.DiscardUnknown(m) + +func (*GarbageCollectRequest) ProtoMessage() {} + +func (x *GarbageCollectRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_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_GarbageCollectRequest proto.InternalMessageInfo +// Deprecated: Use GarbageCollectRequest.ProtoReflect.Descriptor instead. +func (*GarbageCollectRequest) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{8} +} -func (m *GarbageCollectRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *GarbageCollectRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *GarbageCollectRequest) GetCreateBitmap() bool { - if m != nil { - return m.CreateBitmap +func (x *GarbageCollectRequest) GetCreateBitmap() bool { + if x != nil { + return x.CreateBitmap } return false } -func (m *GarbageCollectRequest) GetPrune() bool { - if m != nil { - return m.Prune +func (x *GarbageCollectRequest) GetPrune() bool { + if x != nil { + return x.Prune } return false } type GarbageCollectResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *GarbageCollectResponse) Reset() { *m = GarbageCollectResponse{} } -func (m *GarbageCollectResponse) String() string { return proto.CompactTextString(m) } -func (*GarbageCollectResponse) ProtoMessage() {} -func (*GarbageCollectResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{9} +func (x *GarbageCollectResponse) Reset() { + *x = GarbageCollectResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GarbageCollectResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GarbageCollectResponse.Unmarshal(m, b) -} -func (m *GarbageCollectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GarbageCollectResponse.Marshal(b, m, deterministic) -} -func (m *GarbageCollectResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GarbageCollectResponse.Merge(m, src) +func (x *GarbageCollectResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GarbageCollectResponse) XXX_Size() int { - return xxx_messageInfo_GarbageCollectResponse.Size(m) -} -func (m *GarbageCollectResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GarbageCollectResponse.DiscardUnknown(m) + +func (*GarbageCollectResponse) ProtoMessage() {} + +func (x *GarbageCollectResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_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_GarbageCollectResponse proto.InternalMessageInfo +// Deprecated: Use GarbageCollectResponse.ProtoReflect.Descriptor instead. +func (*GarbageCollectResponse) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{9} +} type WriteCommitGraphRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // SplitStrategy is a strategy used to create/update commit graph. - SplitStrategy WriteCommitGraphRequest_SplitStrategy `protobuf:"varint,2,opt,name=splitStrategy,proto3,enum=gitaly.WriteCommitGraphRequest_SplitStrategy" json:"splitStrategy,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + SplitStrategy WriteCommitGraphRequest_SplitStrategy `protobuf:"varint,2,opt,name=splitStrategy,proto3,enum=gitaly.WriteCommitGraphRequest_SplitStrategy" json:"splitStrategy,omitempty"` } -func (m *WriteCommitGraphRequest) Reset() { *m = WriteCommitGraphRequest{} } -func (m *WriteCommitGraphRequest) String() string { return proto.CompactTextString(m) } -func (*WriteCommitGraphRequest) ProtoMessage() {} -func (*WriteCommitGraphRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{10} +func (x *WriteCommitGraphRequest) Reset() { + *x = WriteCommitGraphRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *WriteCommitGraphRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WriteCommitGraphRequest.Unmarshal(m, b) -} -func (m *WriteCommitGraphRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WriteCommitGraphRequest.Marshal(b, m, deterministic) -} -func (m *WriteCommitGraphRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_WriteCommitGraphRequest.Merge(m, src) -} -func (m *WriteCommitGraphRequest) XXX_Size() int { - return xxx_messageInfo_WriteCommitGraphRequest.Size(m) +func (x *WriteCommitGraphRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *WriteCommitGraphRequest) XXX_DiscardUnknown() { - xxx_messageInfo_WriteCommitGraphRequest.DiscardUnknown(m) + +func (*WriteCommitGraphRequest) ProtoMessage() {} + +func (x *WriteCommitGraphRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_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_WriteCommitGraphRequest proto.InternalMessageInfo +// Deprecated: Use WriteCommitGraphRequest.ProtoReflect.Descriptor instead. +func (*WriteCommitGraphRequest) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{10} +} -func (m *WriteCommitGraphRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *WriteCommitGraphRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *WriteCommitGraphRequest) GetSplitStrategy() WriteCommitGraphRequest_SplitStrategy { - if m != nil { - return m.SplitStrategy +func (x *WriteCommitGraphRequest) GetSplitStrategy() WriteCommitGraphRequest_SplitStrategy { + if x != nil { + return x.SplitStrategy } return WriteCommitGraphRequest_SizeMultiple } type WriteCommitGraphResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *WriteCommitGraphResponse) Reset() { *m = WriteCommitGraphResponse{} } -func (m *WriteCommitGraphResponse) String() string { return proto.CompactTextString(m) } -func (*WriteCommitGraphResponse) ProtoMessage() {} -func (*WriteCommitGraphResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{11} +func (x *WriteCommitGraphResponse) Reset() { + *x = WriteCommitGraphResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *WriteCommitGraphResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WriteCommitGraphResponse.Unmarshal(m, b) -} -func (m *WriteCommitGraphResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WriteCommitGraphResponse.Marshal(b, m, deterministic) -} -func (m *WriteCommitGraphResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_WriteCommitGraphResponse.Merge(m, src) -} -func (m *WriteCommitGraphResponse) XXX_Size() int { - return xxx_messageInfo_WriteCommitGraphResponse.Size(m) -} -func (m *WriteCommitGraphResponse) XXX_DiscardUnknown() { - xxx_messageInfo_WriteCommitGraphResponse.DiscardUnknown(m) +func (x *WriteCommitGraphResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_WriteCommitGraphResponse proto.InternalMessageInfo +func (*WriteCommitGraphResponse) ProtoMessage() {} -type CleanupRequest 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:"-"` +func (x *WriteCommitGraphResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_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 mi.MessageOf(x) } -func (m *CleanupRequest) Reset() { *m = CleanupRequest{} } -func (m *CleanupRequest) String() string { return proto.CompactTextString(m) } -func (*CleanupRequest) ProtoMessage() {} -func (*CleanupRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{12} +// Deprecated: Use WriteCommitGraphResponse.ProtoReflect.Descriptor instead. +func (*WriteCommitGraphResponse) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{11} } -func (m *CleanupRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CleanupRequest.Unmarshal(m, b) -} -func (m *CleanupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CleanupRequest.Marshal(b, m, deterministic) +type CleanupRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` } -func (m *CleanupRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CleanupRequest.Merge(m, src) + +func (x *CleanupRequest) Reset() { + *x = CleanupRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CleanupRequest) XXX_Size() int { - return xxx_messageInfo_CleanupRequest.Size(m) + +func (x *CleanupRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CleanupRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CleanupRequest.DiscardUnknown(m) + +func (*CleanupRequest) ProtoMessage() {} + +func (x *CleanupRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_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_CleanupRequest proto.InternalMessageInfo +// Deprecated: Use CleanupRequest.ProtoReflect.Descriptor instead. +func (*CleanupRequest) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{12} +} -func (m *CleanupRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *CleanupRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } type CleanupResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *CleanupResponse) Reset() { *m = CleanupResponse{} } -func (m *CleanupResponse) String() string { return proto.CompactTextString(m) } -func (*CleanupResponse) ProtoMessage() {} -func (*CleanupResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{13} +func (x *CleanupResponse) Reset() { + *x = CleanupResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CleanupResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CleanupResponse.Unmarshal(m, b) -} -func (m *CleanupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CleanupResponse.Marshal(b, m, deterministic) -} -func (m *CleanupResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CleanupResponse.Merge(m, src) -} -func (m *CleanupResponse) XXX_Size() int { - return xxx_messageInfo_CleanupResponse.Size(m) -} -func (m *CleanupResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CleanupResponse.DiscardUnknown(m) +func (x *CleanupResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_CleanupResponse proto.InternalMessageInfo +func (*CleanupResponse) ProtoMessage() {} -type RepositorySizeRequest 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:"-"` +func (x *CleanupResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_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 mi.MessageOf(x) } -func (m *RepositorySizeRequest) Reset() { *m = RepositorySizeRequest{} } -func (m *RepositorySizeRequest) String() string { return proto.CompactTextString(m) } -func (*RepositorySizeRequest) ProtoMessage() {} -func (*RepositorySizeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{14} +// Deprecated: Use CleanupResponse.ProtoReflect.Descriptor instead. +func (*CleanupResponse) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{13} } -func (m *RepositorySizeRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RepositorySizeRequest.Unmarshal(m, b) -} -func (m *RepositorySizeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RepositorySizeRequest.Marshal(b, m, deterministic) +type RepositorySizeRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` } -func (m *RepositorySizeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RepositorySizeRequest.Merge(m, src) + +func (x *RepositorySizeRequest) Reset() { + *x = RepositorySizeRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RepositorySizeRequest) XXX_Size() int { - return xxx_messageInfo_RepositorySizeRequest.Size(m) + +func (x *RepositorySizeRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RepositorySizeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RepositorySizeRequest.DiscardUnknown(m) + +func (*RepositorySizeRequest) ProtoMessage() {} + +func (x *RepositorySizeRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_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 mi.MessageOf(x) } -var xxx_messageInfo_RepositorySizeRequest proto.InternalMessageInfo +// Deprecated: Use RepositorySizeRequest.ProtoReflect.Descriptor instead. +func (*RepositorySizeRequest) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{14} +} -func (m *RepositorySizeRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *RepositorySizeRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } type RepositorySizeResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Repository size in kilobytes - Size int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Size int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` } -func (m *RepositorySizeResponse) Reset() { *m = RepositorySizeResponse{} } -func (m *RepositorySizeResponse) String() string { return proto.CompactTextString(m) } -func (*RepositorySizeResponse) ProtoMessage() {} -func (*RepositorySizeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{15} +func (x *RepositorySizeResponse) Reset() { + *x = RepositorySizeResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RepositorySizeResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RepositorySizeResponse.Unmarshal(m, b) -} -func (m *RepositorySizeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RepositorySizeResponse.Marshal(b, m, deterministic) -} -func (m *RepositorySizeResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_RepositorySizeResponse.Merge(m, src) +func (x *RepositorySizeResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RepositorySizeResponse) XXX_Size() int { - return xxx_messageInfo_RepositorySizeResponse.Size(m) -} -func (m *RepositorySizeResponse) XXX_DiscardUnknown() { - xxx_messageInfo_RepositorySizeResponse.DiscardUnknown(m) + +func (*RepositorySizeResponse) ProtoMessage() {} + +func (x *RepositorySizeResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_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) } -var xxx_messageInfo_RepositorySizeResponse proto.InternalMessageInfo +// Deprecated: Use RepositorySizeResponse.ProtoReflect.Descriptor instead. +func (*RepositorySizeResponse) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{15} +} -func (m *RepositorySizeResponse) GetSize() int64 { - if m != nil { - return m.Size +func (x *RepositorySizeResponse) GetSize() int64 { + if x != nil { + return x.Size } return 0 } type ApplyGitattributesRequest struct { - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *ApplyGitattributesRequest) Reset() { *m = ApplyGitattributesRequest{} } -func (m *ApplyGitattributesRequest) String() string { return proto.CompactTextString(m) } -func (*ApplyGitattributesRequest) ProtoMessage() {} -func (*ApplyGitattributesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{16} + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + Revision []byte `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` } -func (m *ApplyGitattributesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ApplyGitattributesRequest.Unmarshal(m, b) -} -func (m *ApplyGitattributesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ApplyGitattributesRequest.Marshal(b, m, deterministic) -} -func (m *ApplyGitattributesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ApplyGitattributesRequest.Merge(m, src) +func (x *ApplyGitattributesRequest) Reset() { + *x = ApplyGitattributesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ApplyGitattributesRequest) XXX_Size() int { - return xxx_messageInfo_ApplyGitattributesRequest.Size(m) + +func (x *ApplyGitattributesRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ApplyGitattributesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ApplyGitattributesRequest.DiscardUnknown(m) + +func (*ApplyGitattributesRequest) ProtoMessage() {} + +func (x *ApplyGitattributesRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_proto_msgTypes[16] + 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_ApplyGitattributesRequest proto.InternalMessageInfo +// Deprecated: Use ApplyGitattributesRequest.ProtoReflect.Descriptor instead. +func (*ApplyGitattributesRequest) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{16} +} -func (m *ApplyGitattributesRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *ApplyGitattributesRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *ApplyGitattributesRequest) GetRevision() []byte { - if m != nil { - return m.Revision +func (x *ApplyGitattributesRequest) GetRevision() []byte { + if x != nil { + return x.Revision } return nil } type ApplyGitattributesResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *ApplyGitattributesResponse) Reset() { *m = ApplyGitattributesResponse{} } -func (m *ApplyGitattributesResponse) String() string { return proto.CompactTextString(m) } -func (*ApplyGitattributesResponse) ProtoMessage() {} -func (*ApplyGitattributesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{17} +func (x *ApplyGitattributesResponse) Reset() { + *x = ApplyGitattributesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ApplyGitattributesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ApplyGitattributesResponse.Unmarshal(m, b) -} -func (m *ApplyGitattributesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ApplyGitattributesResponse.Marshal(b, m, deterministic) -} -func (m *ApplyGitattributesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ApplyGitattributesResponse.Merge(m, src) +func (x *ApplyGitattributesResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ApplyGitattributesResponse) XXX_Size() int { - return xxx_messageInfo_ApplyGitattributesResponse.Size(m) -} -func (m *ApplyGitattributesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ApplyGitattributesResponse.DiscardUnknown(m) + +func (*ApplyGitattributesResponse) ProtoMessage() {} + +func (x *ApplyGitattributesResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_proto_msgTypes[17] + 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_ApplyGitattributesResponse proto.InternalMessageInfo +// Deprecated: Use ApplyGitattributesResponse.ProtoReflect.Descriptor instead. +func (*ApplyGitattributesResponse) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{17} +} type FetchRemoteRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // remote is the name of the remote that shall be fetched. This remote must // exist in the repository's configuration already. This parameter is @@ -837,220 +1046,251 @@ type FetchRemoteRequest struct { // If check_tags_changed is true, the FetchRemote RPC will check whether any // tags were modified, returning the result in the tags_changed field of // FetchRemoteResponse - CheckTagsChanged bool `protobuf:"varint,11,opt,name=check_tags_changed,json=checkTagsChanged,proto3" json:"check_tags_changed,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + CheckTagsChanged bool `protobuf:"varint,11,opt,name=check_tags_changed,json=checkTagsChanged,proto3" json:"check_tags_changed,omitempty"` } -func (m *FetchRemoteRequest) Reset() { *m = FetchRemoteRequest{} } -func (m *FetchRemoteRequest) String() string { return proto.CompactTextString(m) } -func (*FetchRemoteRequest) ProtoMessage() {} -func (*FetchRemoteRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{18} +func (x *FetchRemoteRequest) Reset() { + *x = FetchRemoteRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FetchRemoteRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FetchRemoteRequest.Unmarshal(m, b) -} -func (m *FetchRemoteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FetchRemoteRequest.Marshal(b, m, deterministic) +func (x *FetchRemoteRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FetchRemoteRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_FetchRemoteRequest.Merge(m, src) -} -func (m *FetchRemoteRequest) XXX_Size() int { - return xxx_messageInfo_FetchRemoteRequest.Size(m) -} -func (m *FetchRemoteRequest) XXX_DiscardUnknown() { - xxx_messageInfo_FetchRemoteRequest.DiscardUnknown(m) + +func (*FetchRemoteRequest) ProtoMessage() {} + +func (x *FetchRemoteRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_proto_msgTypes[18] + 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_FetchRemoteRequest proto.InternalMessageInfo +// Deprecated: Use FetchRemoteRequest.ProtoReflect.Descriptor instead. +func (*FetchRemoteRequest) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{18} +} -func (m *FetchRemoteRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *FetchRemoteRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *FetchRemoteRequest) GetRemote() string { - if m != nil { - return m.Remote +func (x *FetchRemoteRequest) GetRemote() string { + if x != nil { + return x.Remote } return "" } -func (m *FetchRemoteRequest) GetForce() bool { - if m != nil { - return m.Force +func (x *FetchRemoteRequest) GetForce() bool { + if x != nil { + return x.Force } return false } -func (m *FetchRemoteRequest) GetNoTags() bool { - if m != nil { - return m.NoTags +func (x *FetchRemoteRequest) GetNoTags() bool { + if x != nil { + return x.NoTags } return false } -func (m *FetchRemoteRequest) GetTimeout() int32 { - if m != nil { - return m.Timeout +func (x *FetchRemoteRequest) GetTimeout() int32 { + if x != nil { + return x.Timeout } return 0 } -func (m *FetchRemoteRequest) GetSshKey() string { - if m != nil { - return m.SshKey +func (x *FetchRemoteRequest) GetSshKey() string { + if x != nil { + return x.SshKey } return "" } -func (m *FetchRemoteRequest) GetKnownHosts() string { - if m != nil { - return m.KnownHosts +func (x *FetchRemoteRequest) GetKnownHosts() string { + if x != nil { + return x.KnownHosts } return "" } -func (m *FetchRemoteRequest) GetNoPrune() bool { - if m != nil { - return m.NoPrune +func (x *FetchRemoteRequest) GetNoPrune() bool { + if x != nil { + return x.NoPrune } return false } -func (m *FetchRemoteRequest) GetRemoteParams() *Remote { - if m != nil { - return m.RemoteParams +func (x *FetchRemoteRequest) GetRemoteParams() *Remote { + if x != nil { + return x.RemoteParams } return nil } -func (m *FetchRemoteRequest) GetCheckTagsChanged() bool { - if m != nil { - return m.CheckTagsChanged +func (x *FetchRemoteRequest) GetCheckTagsChanged() bool { + if x != nil { + return x.CheckTagsChanged } return false } type FetchRemoteResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // If check_tags_changed was set in the FetchRemoteRequest, the FetchRemote // RPC will return false when no tags were changed, and true if tags were // changed or answer cannot be determined. - TagsChanged bool `protobuf:"varint,1,opt,name=tags_changed,json=tagsChanged,proto3" json:"tags_changed,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + TagsChanged bool `protobuf:"varint,1,opt,name=tags_changed,json=tagsChanged,proto3" json:"tags_changed,omitempty"` } -func (m *FetchRemoteResponse) Reset() { *m = FetchRemoteResponse{} } -func (m *FetchRemoteResponse) String() string { return proto.CompactTextString(m) } -func (*FetchRemoteResponse) ProtoMessage() {} -func (*FetchRemoteResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{19} +func (x *FetchRemoteResponse) Reset() { + *x = FetchRemoteResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FetchRemoteResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FetchRemoteResponse.Unmarshal(m, b) -} -func (m *FetchRemoteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FetchRemoteResponse.Marshal(b, m, deterministic) +func (x *FetchRemoteResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FetchRemoteResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_FetchRemoteResponse.Merge(m, src) -} -func (m *FetchRemoteResponse) XXX_Size() int { - return xxx_messageInfo_FetchRemoteResponse.Size(m) -} -func (m *FetchRemoteResponse) XXX_DiscardUnknown() { - xxx_messageInfo_FetchRemoteResponse.DiscardUnknown(m) + +func (*FetchRemoteResponse) ProtoMessage() {} + +func (x *FetchRemoteResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_proto_msgTypes[19] + 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_FetchRemoteResponse proto.InternalMessageInfo +// Deprecated: Use FetchRemoteResponse.ProtoReflect.Descriptor instead. +func (*FetchRemoteResponse) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{19} +} -func (m *FetchRemoteResponse) GetTagsChanged() bool { - if m != nil { - return m.TagsChanged +func (x *FetchRemoteResponse) GetTagsChanged() bool { + if x != nil { + return x.TagsChanged } return false } type CreateRepositoryRequest 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:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *CreateRepositoryRequest) Reset() { *m = CreateRepositoryRequest{} } -func (m *CreateRepositoryRequest) String() string { return proto.CompactTextString(m) } -func (*CreateRepositoryRequest) ProtoMessage() {} -func (*CreateRepositoryRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{20} + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` } -func (m *CreateRepositoryRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateRepositoryRequest.Unmarshal(m, b) -} -func (m *CreateRepositoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateRepositoryRequest.Marshal(b, m, deterministic) -} -func (m *CreateRepositoryRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateRepositoryRequest.Merge(m, src) +func (x *CreateRepositoryRequest) Reset() { + *x = CreateRepositoryRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CreateRepositoryRequest) XXX_Size() int { - return xxx_messageInfo_CreateRepositoryRequest.Size(m) + +func (x *CreateRepositoryRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CreateRepositoryRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateRepositoryRequest.DiscardUnknown(m) + +func (*CreateRepositoryRequest) ProtoMessage() {} + +func (x *CreateRepositoryRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_proto_msgTypes[20] + 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_CreateRepositoryRequest proto.InternalMessageInfo +// Deprecated: Use CreateRepositoryRequest.ProtoReflect.Descriptor instead. +func (*CreateRepositoryRequest) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{20} +} -func (m *CreateRepositoryRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *CreateRepositoryRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } type CreateRepositoryResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *CreateRepositoryResponse) Reset() { *m = CreateRepositoryResponse{} } -func (m *CreateRepositoryResponse) String() string { return proto.CompactTextString(m) } -func (*CreateRepositoryResponse) ProtoMessage() {} -func (*CreateRepositoryResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{21} +func (x *CreateRepositoryResponse) Reset() { + *x = CreateRepositoryResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CreateRepositoryResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateRepositoryResponse.Unmarshal(m, b) -} -func (m *CreateRepositoryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateRepositoryResponse.Marshal(b, m, deterministic) +func (x *CreateRepositoryResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CreateRepositoryResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateRepositoryResponse.Merge(m, src) -} -func (m *CreateRepositoryResponse) XXX_Size() int { - return xxx_messageInfo_CreateRepositoryResponse.Size(m) -} -func (m *CreateRepositoryResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CreateRepositoryResponse.DiscardUnknown(m) + +func (*CreateRepositoryResponse) ProtoMessage() {} + +func (x *CreateRepositoryResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_proto_msgTypes[21] + 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_CreateRepositoryResponse proto.InternalMessageInfo +// Deprecated: Use CreateRepositoryResponse.ProtoReflect.Descriptor instead. +func (*CreateRepositoryResponse) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{21} +} type GetArchiveRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` CommitId string `protobuf:"bytes,2,opt,name=commit_id,json=commitId,proto3" json:"commit_id,omitempty"` Prefix string `protobuf:"bytes,3,opt,name=prefix,proto3" json:"prefix,omitempty"` @@ -1063,212 +1303,244 @@ type GetArchiveRequest struct { // will be `dir/README.md`; with `elide_path = true`, the entry will be // `README.md`. `elide_path` has no effect if `path` refers to the repository // root. `elide_path = true` is not supported if `path` refers to a file. - ElidePath bool `protobuf:"varint,7,opt,name=elide_path,json=elidePath,proto3" json:"elide_path,omitempty"` - IncludeLfsBlobs bool `protobuf:"varint,8,opt,name=include_lfs_blobs,json=includeLfsBlobs,proto3" json:"include_lfs_blobs,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ElidePath bool `protobuf:"varint,7,opt,name=elide_path,json=elidePath,proto3" json:"elide_path,omitempty"` + IncludeLfsBlobs bool `protobuf:"varint,8,opt,name=include_lfs_blobs,json=includeLfsBlobs,proto3" json:"include_lfs_blobs,omitempty"` } -func (m *GetArchiveRequest) Reset() { *m = GetArchiveRequest{} } -func (m *GetArchiveRequest) String() string { return proto.CompactTextString(m) } -func (*GetArchiveRequest) ProtoMessage() {} -func (*GetArchiveRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{22} +func (x *GetArchiveRequest) Reset() { + *x = GetArchiveRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetArchiveRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetArchiveRequest.Unmarshal(m, b) -} -func (m *GetArchiveRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetArchiveRequest.Marshal(b, m, deterministic) -} -func (m *GetArchiveRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetArchiveRequest.Merge(m, src) -} -func (m *GetArchiveRequest) XXX_Size() int { - return xxx_messageInfo_GetArchiveRequest.Size(m) +func (x *GetArchiveRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetArchiveRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetArchiveRequest.DiscardUnknown(m) + +func (*GetArchiveRequest) ProtoMessage() {} + +func (x *GetArchiveRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_proto_msgTypes[22] + 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_GetArchiveRequest proto.InternalMessageInfo +// Deprecated: Use GetArchiveRequest.ProtoReflect.Descriptor instead. +func (*GetArchiveRequest) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{22} +} -func (m *GetArchiveRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *GetArchiveRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *GetArchiveRequest) GetCommitId() string { - if m != nil { - return m.CommitId +func (x *GetArchiveRequest) GetCommitId() string { + if x != nil { + return x.CommitId } return "" } -func (m *GetArchiveRequest) GetPrefix() string { - if m != nil { - return m.Prefix +func (x *GetArchiveRequest) GetPrefix() string { + if x != nil { + return x.Prefix } return "" } -func (m *GetArchiveRequest) GetFormat() GetArchiveRequest_Format { - if m != nil { - return m.Format +func (x *GetArchiveRequest) GetFormat() GetArchiveRequest_Format { + if x != nil { + return x.Format } return GetArchiveRequest_ZIP } -func (m *GetArchiveRequest) GetPath() []byte { - if m != nil { - return m.Path +func (x *GetArchiveRequest) GetPath() []byte { + if x != nil { + return x.Path } return nil } -func (m *GetArchiveRequest) GetExclude() [][]byte { - if m != nil { - return m.Exclude +func (x *GetArchiveRequest) GetExclude() [][]byte { + if x != nil { + return x.Exclude } return nil } -func (m *GetArchiveRequest) GetElidePath() bool { - if m != nil { - return m.ElidePath +func (x *GetArchiveRequest) GetElidePath() bool { + if x != nil { + return x.ElidePath } return false } -func (m *GetArchiveRequest) GetIncludeLfsBlobs() bool { - if m != nil { - return m.IncludeLfsBlobs +func (x *GetArchiveRequest) GetIncludeLfsBlobs() bool { + if x != nil { + return x.IncludeLfsBlobs } return false } type GetArchiveResponse struct { - Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *GetArchiveResponse) Reset() { *m = GetArchiveResponse{} } -func (m *GetArchiveResponse) String() string { return proto.CompactTextString(m) } -func (*GetArchiveResponse) ProtoMessage() {} -func (*GetArchiveResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{23} + Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` } -func (m *GetArchiveResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetArchiveResponse.Unmarshal(m, b) -} -func (m *GetArchiveResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetArchiveResponse.Marshal(b, m, deterministic) -} -func (m *GetArchiveResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetArchiveResponse.Merge(m, src) +func (x *GetArchiveResponse) Reset() { + *x = GetArchiveResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetArchiveResponse) XXX_Size() int { - return xxx_messageInfo_GetArchiveResponse.Size(m) + +func (x *GetArchiveResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetArchiveResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetArchiveResponse.DiscardUnknown(m) + +func (*GetArchiveResponse) ProtoMessage() {} + +func (x *GetArchiveResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_proto_msgTypes[23] + 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_GetArchiveResponse proto.InternalMessageInfo +// Deprecated: Use GetArchiveResponse.ProtoReflect.Descriptor instead. +func (*GetArchiveResponse) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{23} +} -func (m *GetArchiveResponse) GetData() []byte { - if m != nil { - return m.Data +func (x *GetArchiveResponse) GetData() []byte { + if x != nil { + return x.Data } return nil } type HasLocalBranchesRequest 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:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *HasLocalBranchesRequest) Reset() { *m = HasLocalBranchesRequest{} } -func (m *HasLocalBranchesRequest) String() string { return proto.CompactTextString(m) } -func (*HasLocalBranchesRequest) ProtoMessage() {} -func (*HasLocalBranchesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{24} + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` } -func (m *HasLocalBranchesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_HasLocalBranchesRequest.Unmarshal(m, b) -} -func (m *HasLocalBranchesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_HasLocalBranchesRequest.Marshal(b, m, deterministic) -} -func (m *HasLocalBranchesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_HasLocalBranchesRequest.Merge(m, src) +func (x *HasLocalBranchesRequest) Reset() { + *x = HasLocalBranchesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *HasLocalBranchesRequest) XXX_Size() int { - return xxx_messageInfo_HasLocalBranchesRequest.Size(m) + +func (x *HasLocalBranchesRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *HasLocalBranchesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_HasLocalBranchesRequest.DiscardUnknown(m) + +func (*HasLocalBranchesRequest) ProtoMessage() {} + +func (x *HasLocalBranchesRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_proto_msgTypes[24] + 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_HasLocalBranchesRequest proto.InternalMessageInfo +// Deprecated: Use HasLocalBranchesRequest.ProtoReflect.Descriptor instead. +func (*HasLocalBranchesRequest) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{24} +} -func (m *HasLocalBranchesRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *HasLocalBranchesRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } type HasLocalBranchesResponse struct { - Value bool `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *HasLocalBranchesResponse) Reset() { *m = HasLocalBranchesResponse{} } -func (m *HasLocalBranchesResponse) String() string { return proto.CompactTextString(m) } -func (*HasLocalBranchesResponse) ProtoMessage() {} -func (*HasLocalBranchesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{25} + Value bool `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` } -func (m *HasLocalBranchesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_HasLocalBranchesResponse.Unmarshal(m, b) -} -func (m *HasLocalBranchesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_HasLocalBranchesResponse.Marshal(b, m, deterministic) -} -func (m *HasLocalBranchesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_HasLocalBranchesResponse.Merge(m, src) +func (x *HasLocalBranchesResponse) Reset() { + *x = HasLocalBranchesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *HasLocalBranchesResponse) XXX_Size() int { - return xxx_messageInfo_HasLocalBranchesResponse.Size(m) + +func (x *HasLocalBranchesResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *HasLocalBranchesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_HasLocalBranchesResponse.DiscardUnknown(m) + +func (*HasLocalBranchesResponse) ProtoMessage() {} + +func (x *HasLocalBranchesResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_proto_msgTypes[25] + 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_HasLocalBranchesResponse proto.InternalMessageInfo +// Deprecated: Use HasLocalBranchesResponse.ProtoReflect.Descriptor instead. +func (*HasLocalBranchesResponse) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{25} +} -func (m *HasLocalBranchesResponse) GetValue() bool { - if m != nil { - return m.Value +func (x *HasLocalBranchesResponse) GetValue() bool { + if x != nil { + return x.Value } return false } type FetchSourceBranchRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Repository into which the reference shall be fetched. After a successful // call, it should contain the target reference which points to the same // commit as the source repository's source branch. @@ -1279,1966 +1551,2076 @@ type FetchSourceBranchRequest struct { SourceBranch []byte `protobuf:"bytes,3,opt,name=source_branch,json=sourceBranch,proto3" json:"source_branch,omitempty"` // Name of the reference which shall be newly created in the target // repository. - TargetRef []byte `protobuf:"bytes,4,opt,name=target_ref,json=targetRef,proto3" json:"target_ref,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + TargetRef []byte `protobuf:"bytes,4,opt,name=target_ref,json=targetRef,proto3" json:"target_ref,omitempty"` } -func (m *FetchSourceBranchRequest) Reset() { *m = FetchSourceBranchRequest{} } -func (m *FetchSourceBranchRequest) String() string { return proto.CompactTextString(m) } -func (*FetchSourceBranchRequest) ProtoMessage() {} -func (*FetchSourceBranchRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{26} +func (x *FetchSourceBranchRequest) Reset() { + *x = FetchSourceBranchRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FetchSourceBranchRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FetchSourceBranchRequest.Unmarshal(m, b) -} -func (m *FetchSourceBranchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FetchSourceBranchRequest.Marshal(b, m, deterministic) -} -func (m *FetchSourceBranchRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_FetchSourceBranchRequest.Merge(m, src) -} -func (m *FetchSourceBranchRequest) XXX_Size() int { - return xxx_messageInfo_FetchSourceBranchRequest.Size(m) +func (x *FetchSourceBranchRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FetchSourceBranchRequest) XXX_DiscardUnknown() { - xxx_messageInfo_FetchSourceBranchRequest.DiscardUnknown(m) + +func (*FetchSourceBranchRequest) ProtoMessage() {} + +func (x *FetchSourceBranchRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_proto_msgTypes[26] + 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_FetchSourceBranchRequest proto.InternalMessageInfo +// Deprecated: Use FetchSourceBranchRequest.ProtoReflect.Descriptor instead. +func (*FetchSourceBranchRequest) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{26} +} -func (m *FetchSourceBranchRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *FetchSourceBranchRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *FetchSourceBranchRequest) GetSourceRepository() *Repository { - if m != nil { - return m.SourceRepository +func (x *FetchSourceBranchRequest) GetSourceRepository() *Repository { + if x != nil { + return x.SourceRepository } return nil } -func (m *FetchSourceBranchRequest) GetSourceBranch() []byte { - if m != nil { - return m.SourceBranch +func (x *FetchSourceBranchRequest) GetSourceBranch() []byte { + if x != nil { + return x.SourceBranch } return nil } -func (m *FetchSourceBranchRequest) GetTargetRef() []byte { - if m != nil { - return m.TargetRef +func (x *FetchSourceBranchRequest) GetTargetRef() []byte { + if x != nil { + return x.TargetRef } return nil } type FetchSourceBranchResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // True if the source branch was successfully fetched into the target // repository, false if resolving the remote reference or fetching it failed. - Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"` } -func (m *FetchSourceBranchResponse) Reset() { *m = FetchSourceBranchResponse{} } -func (m *FetchSourceBranchResponse) String() string { return proto.CompactTextString(m) } -func (*FetchSourceBranchResponse) ProtoMessage() {} -func (*FetchSourceBranchResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{27} +func (x *FetchSourceBranchResponse) Reset() { + *x = FetchSourceBranchResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FetchSourceBranchResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FetchSourceBranchResponse.Unmarshal(m, b) -} -func (m *FetchSourceBranchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FetchSourceBranchResponse.Marshal(b, m, deterministic) +func (x *FetchSourceBranchResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FetchSourceBranchResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_FetchSourceBranchResponse.Merge(m, src) -} -func (m *FetchSourceBranchResponse) XXX_Size() int { - return xxx_messageInfo_FetchSourceBranchResponse.Size(m) -} -func (m *FetchSourceBranchResponse) XXX_DiscardUnknown() { - xxx_messageInfo_FetchSourceBranchResponse.DiscardUnknown(m) + +func (*FetchSourceBranchResponse) ProtoMessage() {} + +func (x *FetchSourceBranchResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_proto_msgTypes[27] + 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_FetchSourceBranchResponse proto.InternalMessageInfo +// Deprecated: Use FetchSourceBranchResponse.ProtoReflect.Descriptor instead. +func (*FetchSourceBranchResponse) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{27} +} -func (m *FetchSourceBranchResponse) GetResult() bool { - if m != nil { - return m.Result +func (x *FetchSourceBranchResponse) GetResult() bool { + if x != nil { + return x.Result } return false } type FsckRequest 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:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *FsckRequest) Reset() { *m = FsckRequest{} } -func (m *FsckRequest) String() string { return proto.CompactTextString(m) } -func (*FsckRequest) ProtoMessage() {} -func (*FsckRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{28} + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` } -func (m *FsckRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FsckRequest.Unmarshal(m, b) -} -func (m *FsckRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FsckRequest.Marshal(b, m, deterministic) -} -func (m *FsckRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_FsckRequest.Merge(m, src) +func (x *FsckRequest) Reset() { + *x = FsckRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FsckRequest) XXX_Size() int { - return xxx_messageInfo_FsckRequest.Size(m) + +func (x *FsckRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FsckRequest) XXX_DiscardUnknown() { - xxx_messageInfo_FsckRequest.DiscardUnknown(m) + +func (*FsckRequest) ProtoMessage() {} + +func (x *FsckRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_proto_msgTypes[28] + 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_FsckRequest proto.InternalMessageInfo +// Deprecated: Use FsckRequest.ProtoReflect.Descriptor instead. +func (*FsckRequest) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{28} +} -func (m *FsckRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *FsckRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } type FsckResponse struct { - Error []byte `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *FsckResponse) Reset() { *m = FsckResponse{} } -func (m *FsckResponse) String() string { return proto.CompactTextString(m) } -func (*FsckResponse) ProtoMessage() {} -func (*FsckResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{29} + Error []byte `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` } -func (m *FsckResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FsckResponse.Unmarshal(m, b) -} -func (m *FsckResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FsckResponse.Marshal(b, m, deterministic) -} -func (m *FsckResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_FsckResponse.Merge(m, src) +func (x *FsckResponse) Reset() { + *x = FsckResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FsckResponse) XXX_Size() int { - return xxx_messageInfo_FsckResponse.Size(m) + +func (x *FsckResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FsckResponse) XXX_DiscardUnknown() { - xxx_messageInfo_FsckResponse.DiscardUnknown(m) + +func (*FsckResponse) ProtoMessage() {} + +func (x *FsckResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_proto_msgTypes[29] + 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_FsckResponse proto.InternalMessageInfo +// Deprecated: Use FsckResponse.ProtoReflect.Descriptor instead. +func (*FsckResponse) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{29} +} -func (m *FsckResponse) GetError() []byte { - if m != nil { - return m.Error +func (x *FsckResponse) GetError() []byte { + if x != nil { + return x.Error } return nil } type WriteRefRequest struct { - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - Ref []byte `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` - Revision []byte `protobuf:"bytes,3,opt,name=revision,proto3" json:"revision,omitempty"` - OldRevision []byte `protobuf:"bytes,4,opt,name=old_revision,json=oldRevision,proto3" json:"old_revision,omitempty"` - Force bool `protobuf:"varint,5,opt,name=force,proto3" json:"force,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *WriteRefRequest) Reset() { *m = WriteRefRequest{} } -func (m *WriteRefRequest) String() string { return proto.CompactTextString(m) } -func (*WriteRefRequest) ProtoMessage() {} -func (*WriteRefRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{30} -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *WriteRefRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WriteRefRequest.Unmarshal(m, b) -} -func (m *WriteRefRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WriteRefRequest.Marshal(b, m, deterministic) + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + Ref []byte `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` + Revision []byte `protobuf:"bytes,3,opt,name=revision,proto3" json:"revision,omitempty"` + OldRevision []byte `protobuf:"bytes,4,opt,name=old_revision,json=oldRevision,proto3" json:"old_revision,omitempty"` + Force bool `protobuf:"varint,5,opt,name=force,proto3" json:"force,omitempty"` } -func (m *WriteRefRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_WriteRefRequest.Merge(m, src) + +func (x *WriteRefRequest) Reset() { + *x = WriteRefRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *WriteRefRequest) XXX_Size() int { - return xxx_messageInfo_WriteRefRequest.Size(m) + +func (x *WriteRefRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *WriteRefRequest) XXX_DiscardUnknown() { - xxx_messageInfo_WriteRefRequest.DiscardUnknown(m) + +func (*WriteRefRequest) ProtoMessage() {} + +func (x *WriteRefRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_proto_msgTypes[30] + 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_WriteRefRequest proto.InternalMessageInfo +// Deprecated: Use WriteRefRequest.ProtoReflect.Descriptor instead. +func (*WriteRefRequest) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{30} +} -func (m *WriteRefRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *WriteRefRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *WriteRefRequest) GetRef() []byte { - if m != nil { - return m.Ref +func (x *WriteRefRequest) GetRef() []byte { + if x != nil { + return x.Ref } return nil } -func (m *WriteRefRequest) GetRevision() []byte { - if m != nil { - return m.Revision +func (x *WriteRefRequest) GetRevision() []byte { + if x != nil { + return x.Revision } return nil } -func (m *WriteRefRequest) GetOldRevision() []byte { - if m != nil { - return m.OldRevision +func (x *WriteRefRequest) GetOldRevision() []byte { + if x != nil { + return x.OldRevision } return nil } -func (m *WriteRefRequest) GetForce() bool { - if m != nil { - return m.Force +func (x *WriteRefRequest) GetForce() bool { + if x != nil { + return x.Force } return false } type WriteRefResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *WriteRefResponse) Reset() { *m = WriteRefResponse{} } -func (m *WriteRefResponse) String() string { return proto.CompactTextString(m) } -func (*WriteRefResponse) ProtoMessage() {} -func (*WriteRefResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{31} +func (x *WriteRefResponse) Reset() { + *x = WriteRefResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *WriteRefResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WriteRefResponse.Unmarshal(m, b) -} -func (m *WriteRefResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WriteRefResponse.Marshal(b, m, deterministic) -} -func (m *WriteRefResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_WriteRefResponse.Merge(m, src) +func (x *WriteRefResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *WriteRefResponse) XXX_Size() int { - return xxx_messageInfo_WriteRefResponse.Size(m) -} -func (m *WriteRefResponse) XXX_DiscardUnknown() { - xxx_messageInfo_WriteRefResponse.DiscardUnknown(m) + +func (*WriteRefResponse) ProtoMessage() {} + +func (x *WriteRefResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_proto_msgTypes[31] + 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_WriteRefResponse proto.InternalMessageInfo +// Deprecated: Use WriteRefResponse.ProtoReflect.Descriptor instead. +func (*WriteRefResponse) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{31} +} type FindMergeBaseRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // We use a repeated field because rugged supports finding a base // for more than 2 revisions, so if we needed that in the future we don't // need to change the protocol. - Revisions [][]byte `protobuf:"bytes,2,rep,name=revisions,proto3" json:"revisions,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Revisions [][]byte `protobuf:"bytes,2,rep,name=revisions,proto3" json:"revisions,omitempty"` } -func (m *FindMergeBaseRequest) Reset() { *m = FindMergeBaseRequest{} } -func (m *FindMergeBaseRequest) String() string { return proto.CompactTextString(m) } -func (*FindMergeBaseRequest) ProtoMessage() {} -func (*FindMergeBaseRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{32} +func (x *FindMergeBaseRequest) Reset() { + *x = FindMergeBaseRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FindMergeBaseRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FindMergeBaseRequest.Unmarshal(m, b) -} -func (m *FindMergeBaseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FindMergeBaseRequest.Marshal(b, m, deterministic) +func (x *FindMergeBaseRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FindMergeBaseRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_FindMergeBaseRequest.Merge(m, src) -} -func (m *FindMergeBaseRequest) XXX_Size() int { - return xxx_messageInfo_FindMergeBaseRequest.Size(m) -} -func (m *FindMergeBaseRequest) XXX_DiscardUnknown() { - xxx_messageInfo_FindMergeBaseRequest.DiscardUnknown(m) + +func (*FindMergeBaseRequest) ProtoMessage() {} + +func (x *FindMergeBaseRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_proto_msgTypes[32] + 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_FindMergeBaseRequest proto.InternalMessageInfo +// Deprecated: Use FindMergeBaseRequest.ProtoReflect.Descriptor instead. +func (*FindMergeBaseRequest) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{32} +} -func (m *FindMergeBaseRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *FindMergeBaseRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *FindMergeBaseRequest) GetRevisions() [][]byte { - if m != nil { - return m.Revisions +func (x *FindMergeBaseRequest) GetRevisions() [][]byte { + if x != nil { + return x.Revisions } return nil } type FindMergeBaseResponse struct { - Base string `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *FindMergeBaseResponse) Reset() { *m = FindMergeBaseResponse{} } -func (m *FindMergeBaseResponse) String() string { return proto.CompactTextString(m) } -func (*FindMergeBaseResponse) ProtoMessage() {} -func (*FindMergeBaseResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{33} + Base string `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` } -func (m *FindMergeBaseResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FindMergeBaseResponse.Unmarshal(m, b) -} -func (m *FindMergeBaseResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FindMergeBaseResponse.Marshal(b, m, deterministic) -} -func (m *FindMergeBaseResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_FindMergeBaseResponse.Merge(m, src) +func (x *FindMergeBaseResponse) Reset() { + *x = FindMergeBaseResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FindMergeBaseResponse) XXX_Size() int { - return xxx_messageInfo_FindMergeBaseResponse.Size(m) + +func (x *FindMergeBaseResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FindMergeBaseResponse) XXX_DiscardUnknown() { - xxx_messageInfo_FindMergeBaseResponse.DiscardUnknown(m) + +func (*FindMergeBaseResponse) ProtoMessage() {} + +func (x *FindMergeBaseResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_proto_msgTypes[33] + 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_FindMergeBaseResponse proto.InternalMessageInfo +// Deprecated: Use FindMergeBaseResponse.ProtoReflect.Descriptor instead. +func (*FindMergeBaseResponse) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{33} +} -func (m *FindMergeBaseResponse) GetBase() string { - if m != nil { - return m.Base +func (x *FindMergeBaseResponse) GetBase() string { + if x != nil { + return x.Base } return "" } type CreateForkRequest struct { - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - SourceRepository *Repository `protobuf:"bytes,2,opt,name=source_repository,json=sourceRepository,proto3" json:"source_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 *CreateForkRequest) Reset() { *m = CreateForkRequest{} } -func (m *CreateForkRequest) String() string { return proto.CompactTextString(m) } -func (*CreateForkRequest) ProtoMessage() {} -func (*CreateForkRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{34} + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + SourceRepository *Repository `protobuf:"bytes,2,opt,name=source_repository,json=sourceRepository,proto3" json:"source_repository,omitempty"` } -func (m *CreateForkRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateForkRequest.Unmarshal(m, b) -} -func (m *CreateForkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateForkRequest.Marshal(b, m, deterministic) -} -func (m *CreateForkRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateForkRequest.Merge(m, src) +func (x *CreateForkRequest) Reset() { + *x = CreateForkRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CreateForkRequest) XXX_Size() int { - return xxx_messageInfo_CreateForkRequest.Size(m) + +func (x *CreateForkRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CreateForkRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateForkRequest.DiscardUnknown(m) + +func (*CreateForkRequest) ProtoMessage() {} + +func (x *CreateForkRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_proto_msgTypes[34] + 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_CreateForkRequest proto.InternalMessageInfo +// Deprecated: Use CreateForkRequest.ProtoReflect.Descriptor instead. +func (*CreateForkRequest) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{34} +} -func (m *CreateForkRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *CreateForkRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *CreateForkRequest) GetSourceRepository() *Repository { - if m != nil { - return m.SourceRepository +func (x *CreateForkRequest) GetSourceRepository() *Repository { + if x != nil { + return x.SourceRepository } return nil } type CreateForkResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *CreateForkResponse) Reset() { *m = CreateForkResponse{} } -func (m *CreateForkResponse) String() string { return proto.CompactTextString(m) } -func (*CreateForkResponse) ProtoMessage() {} -func (*CreateForkResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{35} +func (x *CreateForkResponse) Reset() { + *x = CreateForkResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CreateForkResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateForkResponse.Unmarshal(m, b) -} -func (m *CreateForkResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateForkResponse.Marshal(b, m, deterministic) -} -func (m *CreateForkResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateForkResponse.Merge(m, src) -} -func (m *CreateForkResponse) XXX_Size() int { - return xxx_messageInfo_CreateForkResponse.Size(m) -} -func (m *CreateForkResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CreateForkResponse.DiscardUnknown(m) +func (x *CreateForkResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_CreateForkResponse proto.InternalMessageInfo +func (*CreateForkResponse) ProtoMessage() {} -type IsRebaseInProgressRequest struct { - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - RebaseId string `protobuf:"bytes,2,opt,name=rebase_id,json=rebaseId,proto3" json:"rebase_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *CreateForkResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_proto_msgTypes[35] + 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 *IsRebaseInProgressRequest) Reset() { *m = IsRebaseInProgressRequest{} } -func (m *IsRebaseInProgressRequest) String() string { return proto.CompactTextString(m) } -func (*IsRebaseInProgressRequest) ProtoMessage() {} -func (*IsRebaseInProgressRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{36} +// Deprecated: Use CreateForkResponse.ProtoReflect.Descriptor instead. +func (*CreateForkResponse) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{35} } -func (m *IsRebaseInProgressRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_IsRebaseInProgressRequest.Unmarshal(m, b) -} -func (m *IsRebaseInProgressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_IsRebaseInProgressRequest.Marshal(b, m, deterministic) +type IsRebaseInProgressRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + RebaseId string `protobuf:"bytes,2,opt,name=rebase_id,json=rebaseId,proto3" json:"rebase_id,omitempty"` } -func (m *IsRebaseInProgressRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_IsRebaseInProgressRequest.Merge(m, src) + +func (x *IsRebaseInProgressRequest) Reset() { + *x = IsRebaseInProgressRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *IsRebaseInProgressRequest) XXX_Size() int { - return xxx_messageInfo_IsRebaseInProgressRequest.Size(m) + +func (x *IsRebaseInProgressRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *IsRebaseInProgressRequest) XXX_DiscardUnknown() { - xxx_messageInfo_IsRebaseInProgressRequest.DiscardUnknown(m) + +func (*IsRebaseInProgressRequest) ProtoMessage() {} + +func (x *IsRebaseInProgressRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_proto_msgTypes[36] + 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_IsRebaseInProgressRequest proto.InternalMessageInfo +// Deprecated: Use IsRebaseInProgressRequest.ProtoReflect.Descriptor instead. +func (*IsRebaseInProgressRequest) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{36} +} -func (m *IsRebaseInProgressRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *IsRebaseInProgressRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *IsRebaseInProgressRequest) GetRebaseId() string { - if m != nil { - return m.RebaseId +func (x *IsRebaseInProgressRequest) GetRebaseId() string { + if x != nil { + return x.RebaseId } return "" } type IsRebaseInProgressResponse struct { - InProgress bool `protobuf:"varint,1,opt,name=in_progress,json=inProgress,proto3" json:"in_progress,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *IsRebaseInProgressResponse) Reset() { *m = IsRebaseInProgressResponse{} } -func (m *IsRebaseInProgressResponse) String() string { return proto.CompactTextString(m) } -func (*IsRebaseInProgressResponse) ProtoMessage() {} -func (*IsRebaseInProgressResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{37} + InProgress bool `protobuf:"varint,1,opt,name=in_progress,json=inProgress,proto3" json:"in_progress,omitempty"` } -func (m *IsRebaseInProgressResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_IsRebaseInProgressResponse.Unmarshal(m, b) -} -func (m *IsRebaseInProgressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_IsRebaseInProgressResponse.Marshal(b, m, deterministic) -} -func (m *IsRebaseInProgressResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_IsRebaseInProgressResponse.Merge(m, src) +func (x *IsRebaseInProgressResponse) Reset() { + *x = IsRebaseInProgressResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[37] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *IsRebaseInProgressResponse) XXX_Size() int { - return xxx_messageInfo_IsRebaseInProgressResponse.Size(m) + +func (x *IsRebaseInProgressResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *IsRebaseInProgressResponse) XXX_DiscardUnknown() { - xxx_messageInfo_IsRebaseInProgressResponse.DiscardUnknown(m) + +func (*IsRebaseInProgressResponse) ProtoMessage() {} + +func (x *IsRebaseInProgressResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_proto_msgTypes[37] + 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_IsRebaseInProgressResponse proto.InternalMessageInfo +// Deprecated: Use IsRebaseInProgressResponse.ProtoReflect.Descriptor instead. +func (*IsRebaseInProgressResponse) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{37} +} -func (m *IsRebaseInProgressResponse) GetInProgress() bool { - if m != nil { - return m.InProgress +func (x *IsRebaseInProgressResponse) GetInProgress() bool { + if x != nil { + return x.InProgress } return false } type IsSquashInProgressRequest struct { - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - SquashId string `protobuf:"bytes,2,opt,name=squash_id,json=squashId,proto3" json:"squash_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *IsSquashInProgressRequest) Reset() { *m = IsSquashInProgressRequest{} } -func (m *IsSquashInProgressRequest) String() string { return proto.CompactTextString(m) } -func (*IsSquashInProgressRequest) ProtoMessage() {} -func (*IsSquashInProgressRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{38} + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + SquashId string `protobuf:"bytes,2,opt,name=squash_id,json=squashId,proto3" json:"squash_id,omitempty"` } -func (m *IsSquashInProgressRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_IsSquashInProgressRequest.Unmarshal(m, b) -} -func (m *IsSquashInProgressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_IsSquashInProgressRequest.Marshal(b, m, deterministic) -} -func (m *IsSquashInProgressRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_IsSquashInProgressRequest.Merge(m, src) +func (x *IsSquashInProgressRequest) Reset() { + *x = IsSquashInProgressRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[38] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *IsSquashInProgressRequest) XXX_Size() int { - return xxx_messageInfo_IsSquashInProgressRequest.Size(m) + +func (x *IsSquashInProgressRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *IsSquashInProgressRequest) XXX_DiscardUnknown() { - xxx_messageInfo_IsSquashInProgressRequest.DiscardUnknown(m) + +func (*IsSquashInProgressRequest) ProtoMessage() {} + +func (x *IsSquashInProgressRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_proto_msgTypes[38] + 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_IsSquashInProgressRequest proto.InternalMessageInfo +// Deprecated: Use IsSquashInProgressRequest.ProtoReflect.Descriptor instead. +func (*IsSquashInProgressRequest) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{38} +} -func (m *IsSquashInProgressRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *IsSquashInProgressRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *IsSquashInProgressRequest) GetSquashId() string { - if m != nil { - return m.SquashId +func (x *IsSquashInProgressRequest) GetSquashId() string { + if x != nil { + return x.SquashId } return "" } type IsSquashInProgressResponse struct { - InProgress bool `protobuf:"varint,1,opt,name=in_progress,json=inProgress,proto3" json:"in_progress,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *IsSquashInProgressResponse) Reset() { *m = IsSquashInProgressResponse{} } -func (m *IsSquashInProgressResponse) String() string { return proto.CompactTextString(m) } -func (*IsSquashInProgressResponse) ProtoMessage() {} -func (*IsSquashInProgressResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{39} + InProgress bool `protobuf:"varint,1,opt,name=in_progress,json=inProgress,proto3" json:"in_progress,omitempty"` } -func (m *IsSquashInProgressResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_IsSquashInProgressResponse.Unmarshal(m, b) -} -func (m *IsSquashInProgressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_IsSquashInProgressResponse.Marshal(b, m, deterministic) -} -func (m *IsSquashInProgressResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_IsSquashInProgressResponse.Merge(m, src) +func (x *IsSquashInProgressResponse) Reset() { + *x = IsSquashInProgressResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[39] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *IsSquashInProgressResponse) XXX_Size() int { - return xxx_messageInfo_IsSquashInProgressResponse.Size(m) + +func (x *IsSquashInProgressResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *IsSquashInProgressResponse) XXX_DiscardUnknown() { - xxx_messageInfo_IsSquashInProgressResponse.DiscardUnknown(m) + +func (*IsSquashInProgressResponse) ProtoMessage() {} + +func (x *IsSquashInProgressResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_proto_msgTypes[39] + 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_IsSquashInProgressResponse proto.InternalMessageInfo +// Deprecated: Use IsSquashInProgressResponse.ProtoReflect.Descriptor instead. +func (*IsSquashInProgressResponse) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{39} +} -func (m *IsSquashInProgressResponse) GetInProgress() bool { - if m != nil { - return m.InProgress +func (x *IsSquashInProgressResponse) GetInProgress() bool { + if x != nil { + return x.InProgress } return false } type CreateRepositoryFromURLRequest struct { - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *CreateRepositoryFromURLRequest) Reset() { *m = CreateRepositoryFromURLRequest{} } -func (m *CreateRepositoryFromURLRequest) String() string { return proto.CompactTextString(m) } -func (*CreateRepositoryFromURLRequest) ProtoMessage() {} -func (*CreateRepositoryFromURLRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{40} + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` } -func (m *CreateRepositoryFromURLRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateRepositoryFromURLRequest.Unmarshal(m, b) -} -func (m *CreateRepositoryFromURLRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateRepositoryFromURLRequest.Marshal(b, m, deterministic) -} -func (m *CreateRepositoryFromURLRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateRepositoryFromURLRequest.Merge(m, src) +func (x *CreateRepositoryFromURLRequest) Reset() { + *x = CreateRepositoryFromURLRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[40] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CreateRepositoryFromURLRequest) XXX_Size() int { - return xxx_messageInfo_CreateRepositoryFromURLRequest.Size(m) + +func (x *CreateRepositoryFromURLRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CreateRepositoryFromURLRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateRepositoryFromURLRequest.DiscardUnknown(m) + +func (*CreateRepositoryFromURLRequest) ProtoMessage() {} + +func (x *CreateRepositoryFromURLRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_proto_msgTypes[40] + 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_CreateRepositoryFromURLRequest proto.InternalMessageInfo +// Deprecated: Use CreateRepositoryFromURLRequest.ProtoReflect.Descriptor instead. +func (*CreateRepositoryFromURLRequest) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{40} +} -func (m *CreateRepositoryFromURLRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *CreateRepositoryFromURLRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *CreateRepositoryFromURLRequest) GetUrl() string { - if m != nil { - return m.Url +func (x *CreateRepositoryFromURLRequest) GetUrl() string { + if x != nil { + return x.Url } return "" } type CreateRepositoryFromURLResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *CreateRepositoryFromURLResponse) Reset() { *m = CreateRepositoryFromURLResponse{} } -func (m *CreateRepositoryFromURLResponse) String() string { return proto.CompactTextString(m) } -func (*CreateRepositoryFromURLResponse) ProtoMessage() {} -func (*CreateRepositoryFromURLResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{41} +func (x *CreateRepositoryFromURLResponse) Reset() { + *x = CreateRepositoryFromURLResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[41] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CreateRepositoryFromURLResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateRepositoryFromURLResponse.Unmarshal(m, b) -} -func (m *CreateRepositoryFromURLResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateRepositoryFromURLResponse.Marshal(b, m, deterministic) -} -func (m *CreateRepositoryFromURLResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateRepositoryFromURLResponse.Merge(m, src) -} -func (m *CreateRepositoryFromURLResponse) XXX_Size() int { - return xxx_messageInfo_CreateRepositoryFromURLResponse.Size(m) -} -func (m *CreateRepositoryFromURLResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CreateRepositoryFromURLResponse.DiscardUnknown(m) +func (x *CreateRepositoryFromURLResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_CreateRepositoryFromURLResponse proto.InternalMessageInfo +func (*CreateRepositoryFromURLResponse) ProtoMessage() {} -type CreateBundleRequest 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:"-"` +func (x *CreateRepositoryFromURLResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_proto_msgTypes[41] + 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 *CreateBundleRequest) Reset() { *m = CreateBundleRequest{} } -func (m *CreateBundleRequest) String() string { return proto.CompactTextString(m) } -func (*CreateBundleRequest) ProtoMessage() {} -func (*CreateBundleRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{42} +// Deprecated: Use CreateRepositoryFromURLResponse.ProtoReflect.Descriptor instead. +func (*CreateRepositoryFromURLResponse) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{41} } -func (m *CreateBundleRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateBundleRequest.Unmarshal(m, b) -} -func (m *CreateBundleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateBundleRequest.Marshal(b, m, deterministic) +type CreateBundleRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` } -func (m *CreateBundleRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateBundleRequest.Merge(m, src) + +func (x *CreateBundleRequest) Reset() { + *x = CreateBundleRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[42] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CreateBundleRequest) XXX_Size() int { - return xxx_messageInfo_CreateBundleRequest.Size(m) + +func (x *CreateBundleRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CreateBundleRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateBundleRequest.DiscardUnknown(m) + +func (*CreateBundleRequest) ProtoMessage() {} + +func (x *CreateBundleRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_proto_msgTypes[42] + 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_CreateBundleRequest proto.InternalMessageInfo +// Deprecated: Use CreateBundleRequest.ProtoReflect.Descriptor instead. +func (*CreateBundleRequest) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{42} +} -func (m *CreateBundleRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *CreateBundleRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } type CreateBundleResponse struct { - Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *CreateBundleResponse) Reset() { *m = CreateBundleResponse{} } -func (m *CreateBundleResponse) String() string { return proto.CompactTextString(m) } -func (*CreateBundleResponse) ProtoMessage() {} -func (*CreateBundleResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{43} + Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` } -func (m *CreateBundleResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateBundleResponse.Unmarshal(m, b) -} -func (m *CreateBundleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateBundleResponse.Marshal(b, m, deterministic) -} -func (m *CreateBundleResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateBundleResponse.Merge(m, src) +func (x *CreateBundleResponse) Reset() { + *x = CreateBundleResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[43] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CreateBundleResponse) XXX_Size() int { - return xxx_messageInfo_CreateBundleResponse.Size(m) + +func (x *CreateBundleResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CreateBundleResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CreateBundleResponse.DiscardUnknown(m) + +func (*CreateBundleResponse) ProtoMessage() {} + +func (x *CreateBundleResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_proto_msgTypes[43] + 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_CreateBundleResponse proto.InternalMessageInfo +// Deprecated: Use CreateBundleResponse.ProtoReflect.Descriptor instead. +func (*CreateBundleResponse) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{43} +} -func (m *CreateBundleResponse) GetData() []byte { - if m != nil { - return m.Data +func (x *CreateBundleResponse) GetData() []byte { + if x != nil { + return x.Data } return nil } // GetConfigRequest is a request for the GetConfig RPC. type GetConfigRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Repository is the repository from which the configuration should be read // from. - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` } -func (m *GetConfigRequest) Reset() { *m = GetConfigRequest{} } -func (m *GetConfigRequest) String() string { return proto.CompactTextString(m) } -func (*GetConfigRequest) ProtoMessage() {} -func (*GetConfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{44} +func (x *GetConfigRequest) Reset() { + *x = GetConfigRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[44] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetConfigRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetConfigRequest.Unmarshal(m, b) -} -func (m *GetConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetConfigRequest.Marshal(b, m, deterministic) -} -func (m *GetConfigRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetConfigRequest.Merge(m, src) -} -func (m *GetConfigRequest) XXX_Size() int { - return xxx_messageInfo_GetConfigRequest.Size(m) +func (x *GetConfigRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetConfigRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetConfigRequest.DiscardUnknown(m) + +func (*GetConfigRequest) ProtoMessage() {} + +func (x *GetConfigRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_proto_msgTypes[44] + 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_GetConfigRequest proto.InternalMessageInfo +// Deprecated: Use GetConfigRequest.ProtoReflect.Descriptor instead. +func (*GetConfigRequest) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{44} +} -func (m *GetConfigRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *GetConfigRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } // GetConfigResponse is a response for the GetConfig RPC. type GetConfigResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Data contains contents of the gitconfig. - Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` } -func (m *GetConfigResponse) Reset() { *m = GetConfigResponse{} } -func (m *GetConfigResponse) String() string { return proto.CompactTextString(m) } -func (*GetConfigResponse) ProtoMessage() {} -func (*GetConfigResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{45} +func (x *GetConfigResponse) Reset() { + *x = GetConfigResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[45] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetConfigResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetConfigResponse.Unmarshal(m, b) -} -func (m *GetConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetConfigResponse.Marshal(b, m, deterministic) +func (x *GetConfigResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetConfigResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetConfigResponse.Merge(m, src) -} -func (m *GetConfigResponse) XXX_Size() int { - return xxx_messageInfo_GetConfigResponse.Size(m) -} -func (m *GetConfigResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetConfigResponse.DiscardUnknown(m) + +func (*GetConfigResponse) ProtoMessage() {} + +func (x *GetConfigResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_proto_msgTypes[45] + 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_GetConfigResponse proto.InternalMessageInfo +// Deprecated: Use GetConfigResponse.ProtoReflect.Descriptor instead. +func (*GetConfigResponse) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{45} +} -func (m *GetConfigResponse) GetData() []byte { - if m != nil { - return m.Data +func (x *GetConfigResponse) GetData() []byte { + if x != nil { + return x.Data } return nil } type SetConfigRequest struct { - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - Entries []*SetConfigRequest_Entry `protobuf:"bytes,2,rep,name=entries,proto3" json:"entries,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *SetConfigRequest) Reset() { *m = SetConfigRequest{} } -func (m *SetConfigRequest) String() string { return proto.CompactTextString(m) } -func (*SetConfigRequest) ProtoMessage() {} -func (*SetConfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{46} + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + Entries []*SetConfigRequest_Entry `protobuf:"bytes,2,rep,name=entries,proto3" json:"entries,omitempty"` } -func (m *SetConfigRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetConfigRequest.Unmarshal(m, b) -} -func (m *SetConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetConfigRequest.Marshal(b, m, deterministic) -} -func (m *SetConfigRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetConfigRequest.Merge(m, src) +func (x *SetConfigRequest) Reset() { + *x = SetConfigRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[46] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *SetConfigRequest) XXX_Size() int { - return xxx_messageInfo_SetConfigRequest.Size(m) + +func (x *SetConfigRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SetConfigRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SetConfigRequest.DiscardUnknown(m) + +func (*SetConfigRequest) ProtoMessage() {} + +func (x *SetConfigRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_proto_msgTypes[46] + 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_SetConfigRequest proto.InternalMessageInfo +// Deprecated: Use SetConfigRequest.ProtoReflect.Descriptor instead. +func (*SetConfigRequest) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{46} +} -func (m *SetConfigRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *SetConfigRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *SetConfigRequest) GetEntries() []*SetConfigRequest_Entry { - if m != nil { - return m.Entries +func (x *SetConfigRequest) GetEntries() []*SetConfigRequest_Entry { + if x != nil { + return x.Entries } return nil } -type SetConfigRequest_Entry struct { - Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` - // Types that are valid to be assigned to Value: - // *SetConfigRequest_Entry_ValueStr - // *SetConfigRequest_Entry_ValueInt32 - // *SetConfigRequest_Entry_ValueBool - Value isSetConfigRequest_Entry_Value `protobuf_oneof:"value"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +type SetConfigResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *SetConfigRequest_Entry) Reset() { *m = SetConfigRequest_Entry{} } -func (m *SetConfigRequest_Entry) String() string { return proto.CompactTextString(m) } -func (*SetConfigRequest_Entry) ProtoMessage() {} -func (*SetConfigRequest_Entry) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{46, 0} +func (x *SetConfigResponse) Reset() { + *x = SetConfigResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[47] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *SetConfigRequest_Entry) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetConfigRequest_Entry.Unmarshal(m, b) -} -func (m *SetConfigRequest_Entry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetConfigRequest_Entry.Marshal(b, m, deterministic) -} -func (m *SetConfigRequest_Entry) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetConfigRequest_Entry.Merge(m, src) -} -func (m *SetConfigRequest_Entry) XXX_Size() int { - return xxx_messageInfo_SetConfigRequest_Entry.Size(m) -} -func (m *SetConfigRequest_Entry) XXX_DiscardUnknown() { - xxx_messageInfo_SetConfigRequest_Entry.DiscardUnknown(m) +func (x *SetConfigResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_SetConfigRequest_Entry proto.InternalMessageInfo +func (*SetConfigResponse) ProtoMessage() {} -func (m *SetConfigRequest_Entry) GetKey() string { - if m != nil { - return m.Key +func (x *SetConfigResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_proto_msgTypes[47] + 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 isSetConfigRequest_Entry_Value interface { - isSetConfigRequest_Entry_Value() +// Deprecated: Use SetConfigResponse.ProtoReflect.Descriptor instead. +func (*SetConfigResponse) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{47} } -type SetConfigRequest_Entry_ValueStr struct { - ValueStr string `protobuf:"bytes,2,opt,name=value_str,json=valueStr,proto3,oneof"` +type DeleteConfigRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + Keys []string `protobuf:"bytes,2,rep,name=keys,proto3" json:"keys,omitempty"` } -type SetConfigRequest_Entry_ValueInt32 struct { - ValueInt32 int32 `protobuf:"varint,3,opt,name=value_int32,json=valueInt32,proto3,oneof"` +func (x *DeleteConfigRequest) Reset() { + *x = DeleteConfigRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[48] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -type SetConfigRequest_Entry_ValueBool struct { - ValueBool bool `protobuf:"varint,4,opt,name=value_bool,json=valueBool,proto3,oneof"` +func (x *DeleteConfigRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (*SetConfigRequest_Entry_ValueStr) isSetConfigRequest_Entry_Value() {} +func (*DeleteConfigRequest) ProtoMessage() {} -func (*SetConfigRequest_Entry_ValueInt32) isSetConfigRequest_Entry_Value() {} +func (x *DeleteConfigRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_proto_msgTypes[48] + 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 (*SetConfigRequest_Entry_ValueBool) isSetConfigRequest_Entry_Value() {} +// Deprecated: Use DeleteConfigRequest.ProtoReflect.Descriptor instead. +func (*DeleteConfigRequest) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{48} +} -func (m *SetConfigRequest_Entry) GetValue() isSetConfigRequest_Entry_Value { - if m != nil { - return m.Value +func (x *DeleteConfigRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *SetConfigRequest_Entry) GetValueStr() string { - if x, ok := m.GetValue().(*SetConfigRequest_Entry_ValueStr); ok { - return x.ValueStr +func (x *DeleteConfigRequest) GetKeys() []string { + if x != nil { + return x.Keys } - return "" + return nil } -func (m *SetConfigRequest_Entry) GetValueInt32() int32 { - if x, ok := m.GetValue().(*SetConfigRequest_Entry_ValueInt32); ok { - return x.ValueInt32 - } - return 0 +type DeleteConfigResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *SetConfigRequest_Entry) GetValueBool() bool { - if x, ok := m.GetValue().(*SetConfigRequest_Entry_ValueBool); ok { - return x.ValueBool +func (x *DeleteConfigResponse) Reset() { + *x = DeleteConfigResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[49] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return false } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*SetConfigRequest_Entry) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*SetConfigRequest_Entry_ValueStr)(nil), - (*SetConfigRequest_Entry_ValueInt32)(nil), - (*SetConfigRequest_Entry_ValueBool)(nil), - } +func (x *DeleteConfigResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -type SetConfigResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} +func (*DeleteConfigResponse) ProtoMessage() {} -func (m *SetConfigResponse) Reset() { *m = SetConfigResponse{} } -func (m *SetConfigResponse) String() string { return proto.CompactTextString(m) } -func (*SetConfigResponse) ProtoMessage() {} -func (*SetConfigResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{47} +func (x *DeleteConfigResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_proto_msgTypes[49] + 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 *SetConfigResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetConfigResponse.Unmarshal(m, b) -} -func (m *SetConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetConfigResponse.Marshal(b, m, deterministic) -} -func (m *SetConfigResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetConfigResponse.Merge(m, src) -} -func (m *SetConfigResponse) XXX_Size() int { - return xxx_messageInfo_SetConfigResponse.Size(m) -} -func (m *SetConfigResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SetConfigResponse.DiscardUnknown(m) +// Deprecated: Use DeleteConfigResponse.ProtoReflect.Descriptor instead. +func (*DeleteConfigResponse) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{49} } -var xxx_messageInfo_SetConfigResponse proto.InternalMessageInfo +type RestoreCustomHooksRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -type DeleteConfigRequest struct { - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - Keys []string `protobuf:"bytes,2,rep,name=keys,proto3" json:"keys,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` } -func (m *DeleteConfigRequest) Reset() { *m = DeleteConfigRequest{} } -func (m *DeleteConfigRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteConfigRequest) ProtoMessage() {} -func (*DeleteConfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{48} +func (x *RestoreCustomHooksRequest) Reset() { + *x = RestoreCustomHooksRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[50] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DeleteConfigRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteConfigRequest.Unmarshal(m, b) -} -func (m *DeleteConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteConfigRequest.Marshal(b, m, deterministic) +func (x *RestoreCustomHooksRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DeleteConfigRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteConfigRequest.Merge(m, src) -} -func (m *DeleteConfigRequest) XXX_Size() int { - return xxx_messageInfo_DeleteConfigRequest.Size(m) -} -func (m *DeleteConfigRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteConfigRequest.DiscardUnknown(m) + +func (*RestoreCustomHooksRequest) ProtoMessage() {} + +func (x *RestoreCustomHooksRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_proto_msgTypes[50] + 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_DeleteConfigRequest proto.InternalMessageInfo +// Deprecated: Use RestoreCustomHooksRequest.ProtoReflect.Descriptor instead. +func (*RestoreCustomHooksRequest) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{50} +} -func (m *DeleteConfigRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *RestoreCustomHooksRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *DeleteConfigRequest) GetKeys() []string { - if m != nil { - return m.Keys +func (x *RestoreCustomHooksRequest) GetData() []byte { + if x != nil { + return x.Data } return nil } -type DeleteConfigResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +type RestoreCustomHooksResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *DeleteConfigResponse) Reset() { *m = DeleteConfigResponse{} } -func (m *DeleteConfigResponse) String() string { return proto.CompactTextString(m) } -func (*DeleteConfigResponse) ProtoMessage() {} -func (*DeleteConfigResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{49} +func (x *RestoreCustomHooksResponse) Reset() { + *x = RestoreCustomHooksResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[51] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DeleteConfigResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteConfigResponse.Unmarshal(m, b) +func (x *RestoreCustomHooksResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DeleteConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteConfigResponse.Marshal(b, m, deterministic) -} -func (m *DeleteConfigResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteConfigResponse.Merge(m, src) -} -func (m *DeleteConfigResponse) XXX_Size() int { - return xxx_messageInfo_DeleteConfigResponse.Size(m) -} -func (m *DeleteConfigResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteConfigResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteConfigResponse proto.InternalMessageInfo -type RestoreCustomHooksRequest struct { - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} +func (*RestoreCustomHooksResponse) ProtoMessage() {} -func (m *RestoreCustomHooksRequest) Reset() { *m = RestoreCustomHooksRequest{} } -func (m *RestoreCustomHooksRequest) String() string { return proto.CompactTextString(m) } -func (*RestoreCustomHooksRequest) ProtoMessage() {} -func (*RestoreCustomHooksRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{50} +func (x *RestoreCustomHooksResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_proto_msgTypes[51] + 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 *RestoreCustomHooksRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RestoreCustomHooksRequest.Unmarshal(m, b) -} -func (m *RestoreCustomHooksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RestoreCustomHooksRequest.Marshal(b, m, deterministic) -} -func (m *RestoreCustomHooksRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RestoreCustomHooksRequest.Merge(m, src) -} -func (m *RestoreCustomHooksRequest) XXX_Size() int { - return xxx_messageInfo_RestoreCustomHooksRequest.Size(m) -} -func (m *RestoreCustomHooksRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RestoreCustomHooksRequest.DiscardUnknown(m) +// Deprecated: Use RestoreCustomHooksResponse.ProtoReflect.Descriptor instead. +func (*RestoreCustomHooksResponse) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{51} } -var xxx_messageInfo_RestoreCustomHooksRequest proto.InternalMessageInfo +type BackupCustomHooksRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *RestoreCustomHooksRequest) GetRepository() *Repository { - if m != nil { - return m.Repository - } - return nil + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` } -func (m *RestoreCustomHooksRequest) GetData() []byte { - if m != nil { - return m.Data +func (x *BackupCustomHooksRequest) Reset() { + *x = BackupCustomHooksRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[52] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return nil -} - -type RestoreCustomHooksResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *RestoreCustomHooksResponse) Reset() { *m = RestoreCustomHooksResponse{} } -func (m *RestoreCustomHooksResponse) String() string { return proto.CompactTextString(m) } -func (*RestoreCustomHooksResponse) ProtoMessage() {} -func (*RestoreCustomHooksResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{51} } -func (m *RestoreCustomHooksResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RestoreCustomHooksResponse.Unmarshal(m, b) -} -func (m *RestoreCustomHooksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RestoreCustomHooksResponse.Marshal(b, m, deterministic) -} -func (m *RestoreCustomHooksResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_RestoreCustomHooksResponse.Merge(m, src) -} -func (m *RestoreCustomHooksResponse) XXX_Size() int { - return xxx_messageInfo_RestoreCustomHooksResponse.Size(m) -} -func (m *RestoreCustomHooksResponse) XXX_DiscardUnknown() { - xxx_messageInfo_RestoreCustomHooksResponse.DiscardUnknown(m) +func (x *BackupCustomHooksRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_RestoreCustomHooksResponse proto.InternalMessageInfo +func (*BackupCustomHooksRequest) ProtoMessage() {} -type BackupCustomHooksRequest 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:"-"` +func (x *BackupCustomHooksRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_proto_msgTypes[52] + 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 *BackupCustomHooksRequest) Reset() { *m = BackupCustomHooksRequest{} } -func (m *BackupCustomHooksRequest) String() string { return proto.CompactTextString(m) } -func (*BackupCustomHooksRequest) ProtoMessage() {} +// Deprecated: Use BackupCustomHooksRequest.ProtoReflect.Descriptor instead. func (*BackupCustomHooksRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{52} + return file_repository_service_proto_rawDescGZIP(), []int{52} } -func (m *BackupCustomHooksRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BackupCustomHooksRequest.Unmarshal(m, b) -} -func (m *BackupCustomHooksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BackupCustomHooksRequest.Marshal(b, m, deterministic) -} -func (m *BackupCustomHooksRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_BackupCustomHooksRequest.Merge(m, src) -} -func (m *BackupCustomHooksRequest) XXX_Size() int { - return xxx_messageInfo_BackupCustomHooksRequest.Size(m) -} -func (m *BackupCustomHooksRequest) XXX_DiscardUnknown() { - xxx_messageInfo_BackupCustomHooksRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_BackupCustomHooksRequest proto.InternalMessageInfo - -func (m *BackupCustomHooksRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *BackupCustomHooksRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } type BackupCustomHooksResponse struct { - Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *BackupCustomHooksResponse) Reset() { *m = BackupCustomHooksResponse{} } -func (m *BackupCustomHooksResponse) String() string { return proto.CompactTextString(m) } -func (*BackupCustomHooksResponse) ProtoMessage() {} -func (*BackupCustomHooksResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{53} + Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` } -func (m *BackupCustomHooksResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BackupCustomHooksResponse.Unmarshal(m, b) -} -func (m *BackupCustomHooksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BackupCustomHooksResponse.Marshal(b, m, deterministic) -} -func (m *BackupCustomHooksResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_BackupCustomHooksResponse.Merge(m, src) +func (x *BackupCustomHooksResponse) Reset() { + *x = BackupCustomHooksResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[53] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *BackupCustomHooksResponse) XXX_Size() int { - return xxx_messageInfo_BackupCustomHooksResponse.Size(m) + +func (x *BackupCustomHooksResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *BackupCustomHooksResponse) XXX_DiscardUnknown() { - xxx_messageInfo_BackupCustomHooksResponse.DiscardUnknown(m) + +func (*BackupCustomHooksResponse) ProtoMessage() {} + +func (x *BackupCustomHooksResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_proto_msgTypes[53] + 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_BackupCustomHooksResponse proto.InternalMessageInfo +// Deprecated: Use BackupCustomHooksResponse.ProtoReflect.Descriptor instead. +func (*BackupCustomHooksResponse) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{53} +} -func (m *BackupCustomHooksResponse) GetData() []byte { - if m != nil { - return m.Data +func (x *BackupCustomHooksResponse) GetData() []byte { + if x != nil { + return x.Data } return nil } type CreateRepositoryFromBundleRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Only available on the first message - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` } -func (m *CreateRepositoryFromBundleRequest) Reset() { *m = CreateRepositoryFromBundleRequest{} } -func (m *CreateRepositoryFromBundleRequest) String() string { return proto.CompactTextString(m) } -func (*CreateRepositoryFromBundleRequest) ProtoMessage() {} -func (*CreateRepositoryFromBundleRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{54} +func (x *CreateRepositoryFromBundleRequest) Reset() { + *x = CreateRepositoryFromBundleRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[54] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CreateRepositoryFromBundleRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateRepositoryFromBundleRequest.Unmarshal(m, b) -} -func (m *CreateRepositoryFromBundleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateRepositoryFromBundleRequest.Marshal(b, m, deterministic) +func (x *CreateRepositoryFromBundleRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CreateRepositoryFromBundleRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateRepositoryFromBundleRequest.Merge(m, src) -} -func (m *CreateRepositoryFromBundleRequest) XXX_Size() int { - return xxx_messageInfo_CreateRepositoryFromBundleRequest.Size(m) -} -func (m *CreateRepositoryFromBundleRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateRepositoryFromBundleRequest.DiscardUnknown(m) + +func (*CreateRepositoryFromBundleRequest) ProtoMessage() {} + +func (x *CreateRepositoryFromBundleRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_proto_msgTypes[54] + 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_CreateRepositoryFromBundleRequest proto.InternalMessageInfo +// Deprecated: Use CreateRepositoryFromBundleRequest.ProtoReflect.Descriptor instead. +func (*CreateRepositoryFromBundleRequest) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{54} +} -func (m *CreateRepositoryFromBundleRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *CreateRepositoryFromBundleRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *CreateRepositoryFromBundleRequest) GetData() []byte { - if m != nil { - return m.Data +func (x *CreateRepositoryFromBundleRequest) GetData() []byte { + if x != nil { + return x.Data } return nil } type CreateRepositoryFromBundleResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *CreateRepositoryFromBundleResponse) Reset() { *m = CreateRepositoryFromBundleResponse{} } -func (m *CreateRepositoryFromBundleResponse) String() string { return proto.CompactTextString(m) } -func (*CreateRepositoryFromBundleResponse) ProtoMessage() {} -func (*CreateRepositoryFromBundleResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{55} +func (x *CreateRepositoryFromBundleResponse) Reset() { + *x = CreateRepositoryFromBundleResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[55] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CreateRepositoryFromBundleResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateRepositoryFromBundleResponse.Unmarshal(m, b) -} -func (m *CreateRepositoryFromBundleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateRepositoryFromBundleResponse.Marshal(b, m, deterministic) -} -func (m *CreateRepositoryFromBundleResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateRepositoryFromBundleResponse.Merge(m, src) -} -func (m *CreateRepositoryFromBundleResponse) XXX_Size() int { - return xxx_messageInfo_CreateRepositoryFromBundleResponse.Size(m) -} -func (m *CreateRepositoryFromBundleResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CreateRepositoryFromBundleResponse.DiscardUnknown(m) +func (x *CreateRepositoryFromBundleResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_CreateRepositoryFromBundleResponse proto.InternalMessageInfo +func (*CreateRepositoryFromBundleResponse) ProtoMessage() {} -type FindLicenseRequest 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:"-"` +func (x *CreateRepositoryFromBundleResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_proto_msgTypes[55] + 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 *FindLicenseRequest) Reset() { *m = FindLicenseRequest{} } -func (m *FindLicenseRequest) String() string { return proto.CompactTextString(m) } -func (*FindLicenseRequest) ProtoMessage() {} -func (*FindLicenseRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{56} +// Deprecated: Use CreateRepositoryFromBundleResponse.ProtoReflect.Descriptor instead. +func (*CreateRepositoryFromBundleResponse) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{55} } -func (m *FindLicenseRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FindLicenseRequest.Unmarshal(m, b) -} -func (m *FindLicenseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FindLicenseRequest.Marshal(b, m, deterministic) +type FindLicenseRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` } -func (m *FindLicenseRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_FindLicenseRequest.Merge(m, src) + +func (x *FindLicenseRequest) Reset() { + *x = FindLicenseRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[56] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FindLicenseRequest) XXX_Size() int { - return xxx_messageInfo_FindLicenseRequest.Size(m) + +func (x *FindLicenseRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FindLicenseRequest) XXX_DiscardUnknown() { - xxx_messageInfo_FindLicenseRequest.DiscardUnknown(m) + +func (*FindLicenseRequest) ProtoMessage() {} + +func (x *FindLicenseRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_proto_msgTypes[56] + 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_FindLicenseRequest proto.InternalMessageInfo +// Deprecated: Use FindLicenseRequest.ProtoReflect.Descriptor instead. +func (*FindLicenseRequest) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{56} +} -func (m *FindLicenseRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *FindLicenseRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } type FindLicenseResponse struct { - LicenseShortName string `protobuf:"bytes,1,opt,name=license_short_name,json=licenseShortName,proto3" json:"license_short_name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *FindLicenseResponse) Reset() { *m = FindLicenseResponse{} } -func (m *FindLicenseResponse) String() string { return proto.CompactTextString(m) } -func (*FindLicenseResponse) ProtoMessage() {} -func (*FindLicenseResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{57} + LicenseShortName string `protobuf:"bytes,1,opt,name=license_short_name,json=licenseShortName,proto3" json:"license_short_name,omitempty"` } -func (m *FindLicenseResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FindLicenseResponse.Unmarshal(m, b) -} -func (m *FindLicenseResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FindLicenseResponse.Marshal(b, m, deterministic) -} -func (m *FindLicenseResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_FindLicenseResponse.Merge(m, src) +func (x *FindLicenseResponse) Reset() { + *x = FindLicenseResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[57] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *FindLicenseResponse) XXX_Size() int { - return xxx_messageInfo_FindLicenseResponse.Size(m) + +func (x *FindLicenseResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FindLicenseResponse) XXX_DiscardUnknown() { - xxx_messageInfo_FindLicenseResponse.DiscardUnknown(m) + +func (*FindLicenseResponse) ProtoMessage() {} + +func (x *FindLicenseResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_proto_msgTypes[57] + 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_FindLicenseResponse proto.InternalMessageInfo +// Deprecated: Use FindLicenseResponse.ProtoReflect.Descriptor instead. +func (*FindLicenseResponse) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{57} +} -func (m *FindLicenseResponse) GetLicenseShortName() string { - if m != nil { - return m.LicenseShortName +func (x *FindLicenseResponse) GetLicenseShortName() string { + if x != nil { + return x.LicenseShortName } return "" } type GetInfoAttributesRequest 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:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *GetInfoAttributesRequest) Reset() { *m = GetInfoAttributesRequest{} } -func (m *GetInfoAttributesRequest) String() string { return proto.CompactTextString(m) } -func (*GetInfoAttributesRequest) ProtoMessage() {} -func (*GetInfoAttributesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{58} + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` } -func (m *GetInfoAttributesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetInfoAttributesRequest.Unmarshal(m, b) -} -func (m *GetInfoAttributesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetInfoAttributesRequest.Marshal(b, m, deterministic) -} -func (m *GetInfoAttributesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetInfoAttributesRequest.Merge(m, src) +func (x *GetInfoAttributesRequest) Reset() { + *x = GetInfoAttributesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[58] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetInfoAttributesRequest) XXX_Size() int { - return xxx_messageInfo_GetInfoAttributesRequest.Size(m) + +func (x *GetInfoAttributesRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetInfoAttributesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetInfoAttributesRequest.DiscardUnknown(m) + +func (*GetInfoAttributesRequest) ProtoMessage() {} + +func (x *GetInfoAttributesRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_proto_msgTypes[58] + 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_GetInfoAttributesRequest proto.InternalMessageInfo +// Deprecated: Use GetInfoAttributesRequest.ProtoReflect.Descriptor instead. +func (*GetInfoAttributesRequest) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{58} +} -func (m *GetInfoAttributesRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *GetInfoAttributesRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } type GetInfoAttributesResponse struct { - Attributes []byte `protobuf:"bytes,1,opt,name=attributes,proto3" json:"attributes,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *GetInfoAttributesResponse) Reset() { *m = GetInfoAttributesResponse{} } -func (m *GetInfoAttributesResponse) String() string { return proto.CompactTextString(m) } -func (*GetInfoAttributesResponse) ProtoMessage() {} -func (*GetInfoAttributesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{59} + Attributes []byte `protobuf:"bytes,1,opt,name=attributes,proto3" json:"attributes,omitempty"` } -func (m *GetInfoAttributesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetInfoAttributesResponse.Unmarshal(m, b) -} -func (m *GetInfoAttributesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetInfoAttributesResponse.Marshal(b, m, deterministic) -} -func (m *GetInfoAttributesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetInfoAttributesResponse.Merge(m, src) +func (x *GetInfoAttributesResponse) Reset() { + *x = GetInfoAttributesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[59] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetInfoAttributesResponse) XXX_Size() int { - return xxx_messageInfo_GetInfoAttributesResponse.Size(m) + +func (x *GetInfoAttributesResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetInfoAttributesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetInfoAttributesResponse.DiscardUnknown(m) + +func (*GetInfoAttributesResponse) ProtoMessage() {} + +func (x *GetInfoAttributesResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_proto_msgTypes[59] + 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_GetInfoAttributesResponse proto.InternalMessageInfo +// Deprecated: Use GetInfoAttributesResponse.ProtoReflect.Descriptor instead. +func (*GetInfoAttributesResponse) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{59} +} -func (m *GetInfoAttributesResponse) GetAttributes() []byte { - if m != nil { - return m.Attributes +func (x *GetInfoAttributesResponse) GetAttributes() []byte { + if x != nil { + return x.Attributes } return nil } type CalculateChecksumRequest 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:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *CalculateChecksumRequest) Reset() { *m = CalculateChecksumRequest{} } -func (m *CalculateChecksumRequest) String() string { return proto.CompactTextString(m) } -func (*CalculateChecksumRequest) ProtoMessage() {} -func (*CalculateChecksumRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{60} + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` } -func (m *CalculateChecksumRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CalculateChecksumRequest.Unmarshal(m, b) -} -func (m *CalculateChecksumRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CalculateChecksumRequest.Marshal(b, m, deterministic) -} -func (m *CalculateChecksumRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CalculateChecksumRequest.Merge(m, src) +func (x *CalculateChecksumRequest) Reset() { + *x = CalculateChecksumRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[60] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CalculateChecksumRequest) XXX_Size() int { - return xxx_messageInfo_CalculateChecksumRequest.Size(m) + +func (x *CalculateChecksumRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CalculateChecksumRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CalculateChecksumRequest.DiscardUnknown(m) + +func (*CalculateChecksumRequest) ProtoMessage() {} + +func (x *CalculateChecksumRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_proto_msgTypes[60] + 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_CalculateChecksumRequest proto.InternalMessageInfo +// Deprecated: Use CalculateChecksumRequest.ProtoReflect.Descriptor instead. +func (*CalculateChecksumRequest) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{60} +} -func (m *CalculateChecksumRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *CalculateChecksumRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } type CalculateChecksumResponse struct { - Checksum string `protobuf:"bytes,1,opt,name=checksum,proto3" json:"checksum,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *CalculateChecksumResponse) Reset() { *m = CalculateChecksumResponse{} } -func (m *CalculateChecksumResponse) String() string { return proto.CompactTextString(m) } -func (*CalculateChecksumResponse) ProtoMessage() {} -func (*CalculateChecksumResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{61} + Checksum string `protobuf:"bytes,1,opt,name=checksum,proto3" json:"checksum,omitempty"` } -func (m *CalculateChecksumResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CalculateChecksumResponse.Unmarshal(m, b) -} -func (m *CalculateChecksumResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CalculateChecksumResponse.Marshal(b, m, deterministic) -} -func (m *CalculateChecksumResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CalculateChecksumResponse.Merge(m, src) -} -func (m *CalculateChecksumResponse) XXX_Size() int { - return xxx_messageInfo_CalculateChecksumResponse.Size(m) +func (x *CalculateChecksumResponse) Reset() { + *x = CalculateChecksumResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[61] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CalculateChecksumResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CalculateChecksumResponse.DiscardUnknown(m) + +func (x *CalculateChecksumResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_CalculateChecksumResponse proto.InternalMessageInfo +func (*CalculateChecksumResponse) ProtoMessage() {} -func (m *CalculateChecksumResponse) GetChecksum() string { - if m != nil { - return m.Checksum +func (x *CalculateChecksumResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_proto_msgTypes[61] + 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 GetSnapshotRequest 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 CalculateChecksumResponse.ProtoReflect.Descriptor instead. +func (*CalculateChecksumResponse) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{61} } -func (m *GetSnapshotRequest) Reset() { *m = GetSnapshotRequest{} } -func (m *GetSnapshotRequest) String() string { return proto.CompactTextString(m) } -func (*GetSnapshotRequest) ProtoMessage() {} -func (*GetSnapshotRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{62} +func (x *CalculateChecksumResponse) GetChecksum() string { + if x != nil { + return x.Checksum + } + return "" } -func (m *GetSnapshotRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetSnapshotRequest.Unmarshal(m, b) -} -func (m *GetSnapshotRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetSnapshotRequest.Marshal(b, m, deterministic) -} -func (m *GetSnapshotRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetSnapshotRequest.Merge(m, src) -} -func (m *GetSnapshotRequest) XXX_Size() int { - return xxx_messageInfo_GetSnapshotRequest.Size(m) -} -func (m *GetSnapshotRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetSnapshotRequest.DiscardUnknown(m) -} +type GetSnapshotRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -var xxx_messageInfo_GetSnapshotRequest proto.InternalMessageInfo + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` +} -func (m *GetSnapshotRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *GetSnapshotRequest) Reset() { + *x = GetSnapshotRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[62] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return nil } -type GetSnapshotResponse struct { - Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *GetSnapshotRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetSnapshotResponse) Reset() { *m = GetSnapshotResponse{} } -func (m *GetSnapshotResponse) String() string { return proto.CompactTextString(m) } -func (*GetSnapshotResponse) ProtoMessage() {} -func (*GetSnapshotResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{63} -} +func (*GetSnapshotRequest) ProtoMessage() {} -func (m *GetSnapshotResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetSnapshotResponse.Unmarshal(m, b) -} -func (m *GetSnapshotResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetSnapshotResponse.Marshal(b, m, deterministic) -} -func (m *GetSnapshotResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetSnapshotResponse.Merge(m, src) -} -func (m *GetSnapshotResponse) XXX_Size() int { - return xxx_messageInfo_GetSnapshotResponse.Size(m) -} -func (m *GetSnapshotResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetSnapshotResponse.DiscardUnknown(m) +func (x *GetSnapshotRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_proto_msgTypes[62] + 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_GetSnapshotResponse proto.InternalMessageInfo +// Deprecated: Use GetSnapshotRequest.ProtoReflect.Descriptor instead. +func (*GetSnapshotRequest) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{62} +} -func (m *GetSnapshotResponse) GetData() []byte { - if m != nil { - return m.Data +func (x *GetSnapshotRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -type CreateRepositoryFromSnapshotRequest struct { - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - HttpUrl string `protobuf:"bytes,2,opt,name=http_url,json=httpUrl,proto3" json:"http_url,omitempty"` - HttpAuth string `protobuf:"bytes,3,opt,name=http_auth,json=httpAuth,proto3" json:"http_auth,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} +type GetSnapshotResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *CreateRepositoryFromSnapshotRequest) Reset() { *m = CreateRepositoryFromSnapshotRequest{} } -func (m *CreateRepositoryFromSnapshotRequest) String() string { return proto.CompactTextString(m) } -func (*CreateRepositoryFromSnapshotRequest) ProtoMessage() {} -func (*CreateRepositoryFromSnapshotRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{64} + Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` } -func (m *CreateRepositoryFromSnapshotRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateRepositoryFromSnapshotRequest.Unmarshal(m, b) -} -func (m *CreateRepositoryFromSnapshotRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateRepositoryFromSnapshotRequest.Marshal(b, m, deterministic) -} -func (m *CreateRepositoryFromSnapshotRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateRepositoryFromSnapshotRequest.Merge(m, src) -} -func (m *CreateRepositoryFromSnapshotRequest) XXX_Size() int { - return xxx_messageInfo_CreateRepositoryFromSnapshotRequest.Size(m) +func (x *GetSnapshotResponse) Reset() { + *x = GetSnapshotResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[63] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CreateRepositoryFromSnapshotRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CreateRepositoryFromSnapshotRequest.DiscardUnknown(m) + +func (x *GetSnapshotResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_CreateRepositoryFromSnapshotRequest proto.InternalMessageInfo +func (*GetSnapshotResponse) ProtoMessage() {} -func (m *CreateRepositoryFromSnapshotRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *GetSnapshotResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_proto_msgTypes[63] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return nil + return mi.MessageOf(x) } -func (m *CreateRepositoryFromSnapshotRequest) GetHttpUrl() string { - if m != nil { - return m.HttpUrl - } - return "" +// Deprecated: Use GetSnapshotResponse.ProtoReflect.Descriptor instead. +func (*GetSnapshotResponse) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{63} } -func (m *CreateRepositoryFromSnapshotRequest) GetHttpAuth() string { - if m != nil { - return m.HttpAuth +func (x *GetSnapshotResponse) GetData() []byte { + if x != nil { + return x.Data } - return "" + return nil } -type CreateRepositoryFromSnapshotResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} +type CreateRepositoryFromSnapshotRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *CreateRepositoryFromSnapshotResponse) Reset() { *m = CreateRepositoryFromSnapshotResponse{} } -func (m *CreateRepositoryFromSnapshotResponse) String() string { return proto.CompactTextString(m) } -func (*CreateRepositoryFromSnapshotResponse) ProtoMessage() {} -func (*CreateRepositoryFromSnapshotResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{65} + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + HttpUrl string `protobuf:"bytes,2,opt,name=http_url,json=httpUrl,proto3" json:"http_url,omitempty"` + HttpAuth string `protobuf:"bytes,3,opt,name=http_auth,json=httpAuth,proto3" json:"http_auth,omitempty"` } -func (m *CreateRepositoryFromSnapshotResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CreateRepositoryFromSnapshotResponse.Unmarshal(m, b) -} -func (m *CreateRepositoryFromSnapshotResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CreateRepositoryFromSnapshotResponse.Marshal(b, m, deterministic) -} -func (m *CreateRepositoryFromSnapshotResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CreateRepositoryFromSnapshotResponse.Merge(m, src) -} -func (m *CreateRepositoryFromSnapshotResponse) XXX_Size() int { - return xxx_messageInfo_CreateRepositoryFromSnapshotResponse.Size(m) -} -func (m *CreateRepositoryFromSnapshotResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CreateRepositoryFromSnapshotResponse.DiscardUnknown(m) +func (x *CreateRepositoryFromSnapshotRequest) Reset() { + *x = CreateRepositoryFromSnapshotRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[64] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -var xxx_messageInfo_CreateRepositoryFromSnapshotResponse proto.InternalMessageInfo - -type GetRawChangesRequest struct { - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - FromRevision string `protobuf:"bytes,2,opt,name=from_revision,json=fromRevision,proto3" json:"from_revision,omitempty"` - ToRevision string `protobuf:"bytes,3,opt,name=to_revision,json=toRevision,proto3" json:"to_revision,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *CreateRepositoryFromSnapshotRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetRawChangesRequest) Reset() { *m = GetRawChangesRequest{} } -func (m *GetRawChangesRequest) String() string { return proto.CompactTextString(m) } -func (*GetRawChangesRequest) ProtoMessage() {} -func (*GetRawChangesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{66} -} +func (*CreateRepositoryFromSnapshotRequest) ProtoMessage() {} -func (m *GetRawChangesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetRawChangesRequest.Unmarshal(m, b) -} -func (m *GetRawChangesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetRawChangesRequest.Marshal(b, m, deterministic) -} -func (m *GetRawChangesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetRawChangesRequest.Merge(m, src) -} -func (m *GetRawChangesRequest) XXX_Size() int { - return xxx_messageInfo_GetRawChangesRequest.Size(m) -} -func (m *GetRawChangesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetRawChangesRequest.DiscardUnknown(m) +func (x *CreateRepositoryFromSnapshotRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_proto_msgTypes[64] + 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_GetRawChangesRequest proto.InternalMessageInfo +// Deprecated: Use CreateRepositoryFromSnapshotRequest.ProtoReflect.Descriptor instead. +func (*CreateRepositoryFromSnapshotRequest) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{64} +} -func (m *GetRawChangesRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *CreateRepositoryFromSnapshotRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *GetRawChangesRequest) GetFromRevision() string { - if m != nil { - return m.FromRevision +func (x *CreateRepositoryFromSnapshotRequest) GetHttpUrl() string { + if x != nil { + return x.HttpUrl } return "" } -func (m *GetRawChangesRequest) GetToRevision() string { - if m != nil { - return m.ToRevision +func (x *CreateRepositoryFromSnapshotRequest) GetHttpAuth() string { + if x != nil { + return x.HttpAuth } return "" } -type GetRawChangesResponse struct { - RawChanges []*GetRawChangesResponse_RawChange `protobuf:"bytes,1,rep,name=raw_changes,json=rawChanges,proto3" json:"raw_changes,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +type CreateRepositoryFromSnapshotResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *GetRawChangesResponse) Reset() { *m = GetRawChangesResponse{} } -func (m *GetRawChangesResponse) String() string { return proto.CompactTextString(m) } -func (*GetRawChangesResponse) ProtoMessage() {} -func (*GetRawChangesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{67} +func (x *CreateRepositoryFromSnapshotResponse) Reset() { + *x = CreateRepositoryFromSnapshotResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[65] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetRawChangesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetRawChangesResponse.Unmarshal(m, b) -} -func (m *GetRawChangesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetRawChangesResponse.Marshal(b, m, deterministic) -} -func (m *GetRawChangesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetRawChangesResponse.Merge(m, src) -} -func (m *GetRawChangesResponse) XXX_Size() int { - return xxx_messageInfo_GetRawChangesResponse.Size(m) -} -func (m *GetRawChangesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetRawChangesResponse.DiscardUnknown(m) +func (x *CreateRepositoryFromSnapshotResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_GetRawChangesResponse proto.InternalMessageInfo +func (*CreateRepositoryFromSnapshotResponse) ProtoMessage() {} -func (m *GetRawChangesResponse) GetRawChanges() []*GetRawChangesResponse_RawChange { - if m != nil { - return m.RawChanges +func (x *CreateRepositoryFromSnapshotResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_proto_msgTypes[65] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return nil + return mi.MessageOf(x) } -type GetRawChangesResponse_RawChange struct { - BlobId string `protobuf:"bytes,1,opt,name=blob_id,json=blobId,proto3" json:"blob_id,omitempty"` - Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` - // use fields 9 and 10 in place of 3 and 4 (respectively) - NewPath string `protobuf:"bytes,3,opt,name=new_path,json=newPath,proto3" json:"new_path,omitempty"` // Deprecated: Do not use. - OldPath string `protobuf:"bytes,4,opt,name=old_path,json=oldPath,proto3" json:"old_path,omitempty"` // Deprecated: Do not use. - Operation GetRawChangesResponse_RawChange_Operation `protobuf:"varint,5,opt,name=operation,proto3,enum=gitaly.GetRawChangesResponse_RawChange_Operation" json:"operation,omitempty"` - RawOperation string `protobuf:"bytes,6,opt,name=raw_operation,json=rawOperation,proto3" json:"raw_operation,omitempty"` - OldMode int32 `protobuf:"varint,7,opt,name=old_mode,json=oldMode,proto3" json:"old_mode,omitempty"` - NewMode int32 `protobuf:"varint,8,opt,name=new_mode,json=newMode,proto3" json:"new_mode,omitempty"` - // the following fields, 9 and 10, will eventually replace 3 and 4 - NewPathBytes []byte `protobuf:"bytes,9,opt,name=new_path_bytes,json=newPathBytes,proto3" json:"new_path_bytes,omitempty"` - OldPathBytes []byte `protobuf:"bytes,10,opt,name=old_path_bytes,json=oldPathBytes,proto3" json:"old_path_bytes,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +// Deprecated: Use CreateRepositoryFromSnapshotResponse.ProtoReflect.Descriptor instead. +func (*CreateRepositoryFromSnapshotResponse) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{65} } -func (m *GetRawChangesResponse_RawChange) Reset() { *m = GetRawChangesResponse_RawChange{} } -func (m *GetRawChangesResponse_RawChange) String() string { return proto.CompactTextString(m) } -func (*GetRawChangesResponse_RawChange) ProtoMessage() {} -func (*GetRawChangesResponse_RawChange) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{67, 0} -} +type GetRawChangesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *GetRawChangesResponse_RawChange) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetRawChangesResponse_RawChange.Unmarshal(m, b) -} -func (m *GetRawChangesResponse_RawChange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetRawChangesResponse_RawChange.Marshal(b, m, deterministic) -} -func (m *GetRawChangesResponse_RawChange) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetRawChangesResponse_RawChange.Merge(m, src) + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + FromRevision string `protobuf:"bytes,2,opt,name=from_revision,json=fromRevision,proto3" json:"from_revision,omitempty"` + ToRevision string `protobuf:"bytes,3,opt,name=to_revision,json=toRevision,proto3" json:"to_revision,omitempty"` } -func (m *GetRawChangesResponse_RawChange) XXX_Size() int { - return xxx_messageInfo_GetRawChangesResponse_RawChange.Size(m) + +func (x *GetRawChangesRequest) Reset() { + *x = GetRawChangesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[66] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetRawChangesResponse_RawChange) XXX_DiscardUnknown() { - xxx_messageInfo_GetRawChangesResponse_RawChange.DiscardUnknown(m) + +func (x *GetRawChangesRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_GetRawChangesResponse_RawChange proto.InternalMessageInfo +func (*GetRawChangesRequest) ProtoMessage() {} -func (m *GetRawChangesResponse_RawChange) GetBlobId() string { - if m != nil { - return m.BlobId +func (x *GetRawChangesRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_proto_msgTypes[66] + 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 (m *GetRawChangesResponse_RawChange) GetSize() int64 { - if m != nil { - return m.Size +// Deprecated: Use GetRawChangesRequest.ProtoReflect.Descriptor instead. +func (*GetRawChangesRequest) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{66} +} + +func (x *GetRawChangesRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } - return 0 + return nil } -// Deprecated: Do not use. -func (m *GetRawChangesResponse_RawChange) GetNewPath() string { - if m != nil { - return m.NewPath +func (x *GetRawChangesRequest) GetFromRevision() string { + if x != nil { + return x.FromRevision } return "" } -// Deprecated: Do not use. -func (m *GetRawChangesResponse_RawChange) GetOldPath() string { - if m != nil { - return m.OldPath +func (x *GetRawChangesRequest) GetToRevision() string { + if x != nil { + return x.ToRevision } return "" } -func (m *GetRawChangesResponse_RawChange) GetOperation() GetRawChangesResponse_RawChange_Operation { - if m != nil { - return m.Operation - } - return GetRawChangesResponse_RawChange_UNKNOWN +type GetRawChangesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + RawChanges []*GetRawChangesResponse_RawChange `protobuf:"bytes,1,rep,name=raw_changes,json=rawChanges,proto3" json:"raw_changes,omitempty"` } -func (m *GetRawChangesResponse_RawChange) GetRawOperation() string { - if m != nil { - return m.RawOperation +func (x *GetRawChangesResponse) Reset() { + *x = GetRawChangesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[67] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return "" } -func (m *GetRawChangesResponse_RawChange) GetOldMode() int32 { - if m != nil { - return m.OldMode - } - return 0 +func (x *GetRawChangesResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetRawChangesResponse_RawChange) GetNewMode() int32 { - if m != nil { - return m.NewMode +func (*GetRawChangesResponse) ProtoMessage() {} + +func (x *GetRawChangesResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_proto_msgTypes[67] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return 0 + return mi.MessageOf(x) } -func (m *GetRawChangesResponse_RawChange) GetNewPathBytes() []byte { - if m != nil { - return m.NewPathBytes - } - return nil +// Deprecated: Use GetRawChangesResponse.ProtoReflect.Descriptor instead. +func (*GetRawChangesResponse) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{67} } -func (m *GetRawChangesResponse_RawChange) GetOldPathBytes() []byte { - if m != nil { - return m.OldPathBytes +func (x *GetRawChangesResponse) GetRawChanges() []*GetRawChangesResponse_RawChange { + if x != nil { + return x.RawChanges } return nil } type SearchFilesByNameRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` Query string `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"` Ref []byte `protobuf:"bytes,3,opt,name=ref,proto3" json:"ref,omitempty"` @@ -3247,224 +3629,256 @@ type SearchFilesByNameRequest struct { // parsed using Go's `regexp` package, which is closely related to PCRE, // excluding backreferences, atomic/possesive operators, and some other // features. It has a maximum length of 1000 bytes. - Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` } -func (m *SearchFilesByNameRequest) Reset() { *m = SearchFilesByNameRequest{} } -func (m *SearchFilesByNameRequest) String() string { return proto.CompactTextString(m) } -func (*SearchFilesByNameRequest) ProtoMessage() {} -func (*SearchFilesByNameRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{68} +func (x *SearchFilesByNameRequest) Reset() { + *x = SearchFilesByNameRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[68] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *SearchFilesByNameRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SearchFilesByNameRequest.Unmarshal(m, b) -} -func (m *SearchFilesByNameRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SearchFilesByNameRequest.Marshal(b, m, deterministic) -} -func (m *SearchFilesByNameRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SearchFilesByNameRequest.Merge(m, src) +func (x *SearchFilesByNameRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SearchFilesByNameRequest) XXX_Size() int { - return xxx_messageInfo_SearchFilesByNameRequest.Size(m) -} -func (m *SearchFilesByNameRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SearchFilesByNameRequest.DiscardUnknown(m) + +func (*SearchFilesByNameRequest) ProtoMessage() {} + +func (x *SearchFilesByNameRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_proto_msgTypes[68] + 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_SearchFilesByNameRequest proto.InternalMessageInfo +// Deprecated: Use SearchFilesByNameRequest.ProtoReflect.Descriptor instead. +func (*SearchFilesByNameRequest) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{68} +} -func (m *SearchFilesByNameRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *SearchFilesByNameRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *SearchFilesByNameRequest) GetQuery() string { - if m != nil { - return m.Query +func (x *SearchFilesByNameRequest) GetQuery() string { + if x != nil { + return x.Query } return "" } -func (m *SearchFilesByNameRequest) GetRef() []byte { - if m != nil { - return m.Ref +func (x *SearchFilesByNameRequest) GetRef() []byte { + if x != nil { + return x.Ref } return nil } -func (m *SearchFilesByNameRequest) GetFilter() string { - if m != nil { - return m.Filter +func (x *SearchFilesByNameRequest) GetFilter() string { + if x != nil { + return x.Filter } return "" } type SearchFilesByNameResponse struct { - Files [][]byte `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *SearchFilesByNameResponse) Reset() { *m = SearchFilesByNameResponse{} } -func (m *SearchFilesByNameResponse) String() string { return proto.CompactTextString(m) } -func (*SearchFilesByNameResponse) ProtoMessage() {} -func (*SearchFilesByNameResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{69} + Files [][]byte `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"` } -func (m *SearchFilesByNameResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SearchFilesByNameResponse.Unmarshal(m, b) -} -func (m *SearchFilesByNameResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SearchFilesByNameResponse.Marshal(b, m, deterministic) -} -func (m *SearchFilesByNameResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SearchFilesByNameResponse.Merge(m, src) +func (x *SearchFilesByNameResponse) Reset() { + *x = SearchFilesByNameResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[69] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *SearchFilesByNameResponse) XXX_Size() int { - return xxx_messageInfo_SearchFilesByNameResponse.Size(m) + +func (x *SearchFilesByNameResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SearchFilesByNameResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SearchFilesByNameResponse.DiscardUnknown(m) + +func (*SearchFilesByNameResponse) ProtoMessage() {} + +func (x *SearchFilesByNameResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_proto_msgTypes[69] + 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_SearchFilesByNameResponse proto.InternalMessageInfo +// Deprecated: Use SearchFilesByNameResponse.ProtoReflect.Descriptor instead. +func (*SearchFilesByNameResponse) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{69} +} -func (m *SearchFilesByNameResponse) GetFiles() [][]byte { - if m != nil { - return m.Files +func (x *SearchFilesByNameResponse) GetFiles() [][]byte { + if x != nil { + return x.Files } return nil } type SearchFilesByContentRequest struct { - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - Query string `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"` - Ref []byte `protobuf:"bytes,3,opt,name=ref,proto3" json:"ref,omitempty"` - ChunkedResponse bool `protobuf:"varint,4,opt,name=chunked_response,json=chunkedResponse,proto3" json:"chunked_response,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *SearchFilesByContentRequest) Reset() { *m = SearchFilesByContentRequest{} } -func (m *SearchFilesByContentRequest) String() string { return proto.CompactTextString(m) } -func (*SearchFilesByContentRequest) ProtoMessage() {} -func (*SearchFilesByContentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{70} -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *SearchFilesByContentRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SearchFilesByContentRequest.Unmarshal(m, b) + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + Query string `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"` + Ref []byte `protobuf:"bytes,3,opt,name=ref,proto3" json:"ref,omitempty"` + ChunkedResponse bool `protobuf:"varint,4,opt,name=chunked_response,json=chunkedResponse,proto3" json:"chunked_response,omitempty"` } -func (m *SearchFilesByContentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SearchFilesByContentRequest.Marshal(b, m, deterministic) -} -func (m *SearchFilesByContentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SearchFilesByContentRequest.Merge(m, src) + +func (x *SearchFilesByContentRequest) Reset() { + *x = SearchFilesByContentRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[70] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *SearchFilesByContentRequest) XXX_Size() int { - return xxx_messageInfo_SearchFilesByContentRequest.Size(m) + +func (x *SearchFilesByContentRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SearchFilesByContentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SearchFilesByContentRequest.DiscardUnknown(m) + +func (*SearchFilesByContentRequest) ProtoMessage() {} + +func (x *SearchFilesByContentRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_proto_msgTypes[70] + 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_SearchFilesByContentRequest proto.InternalMessageInfo +// Deprecated: Use SearchFilesByContentRequest.ProtoReflect.Descriptor instead. +func (*SearchFilesByContentRequest) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{70} +} -func (m *SearchFilesByContentRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *SearchFilesByContentRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *SearchFilesByContentRequest) GetQuery() string { - if m != nil { - return m.Query +func (x *SearchFilesByContentRequest) GetQuery() string { + if x != nil { + return x.Query } return "" } -func (m *SearchFilesByContentRequest) GetRef() []byte { - if m != nil { - return m.Ref +func (x *SearchFilesByContentRequest) GetRef() []byte { + if x != nil { + return x.Ref } return nil } -func (m *SearchFilesByContentRequest) GetChunkedResponse() bool { - if m != nil { - return m.ChunkedResponse +func (x *SearchFilesByContentRequest) GetChunkedResponse() bool { + if x != nil { + return x.ChunkedResponse } return false } type SearchFilesByContentResponse struct { - Matches [][]byte `protobuf:"bytes,1,rep,name=matches,proto3" json:"matches,omitempty"` - MatchData []byte `protobuf:"bytes,2,opt,name=match_data,json=matchData,proto3" json:"match_data,omitempty"` - EndOfMatch bool `protobuf:"varint,3,opt,name=end_of_match,json=endOfMatch,proto3" json:"end_of_match,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *SearchFilesByContentResponse) Reset() { *m = SearchFilesByContentResponse{} } -func (m *SearchFilesByContentResponse) String() string { return proto.CompactTextString(m) } -func (*SearchFilesByContentResponse) ProtoMessage() {} -func (*SearchFilesByContentResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{71} + Matches [][]byte `protobuf:"bytes,1,rep,name=matches,proto3" json:"matches,omitempty"` + MatchData []byte `protobuf:"bytes,2,opt,name=match_data,json=matchData,proto3" json:"match_data,omitempty"` + EndOfMatch bool `protobuf:"varint,3,opt,name=end_of_match,json=endOfMatch,proto3" json:"end_of_match,omitempty"` } -func (m *SearchFilesByContentResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SearchFilesByContentResponse.Unmarshal(m, b) -} -func (m *SearchFilesByContentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SearchFilesByContentResponse.Marshal(b, m, deterministic) -} -func (m *SearchFilesByContentResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SearchFilesByContentResponse.Merge(m, src) +func (x *SearchFilesByContentResponse) Reset() { + *x = SearchFilesByContentResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[71] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *SearchFilesByContentResponse) XXX_Size() int { - return xxx_messageInfo_SearchFilesByContentResponse.Size(m) + +func (x *SearchFilesByContentResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SearchFilesByContentResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SearchFilesByContentResponse.DiscardUnknown(m) + +func (*SearchFilesByContentResponse) ProtoMessage() {} + +func (x *SearchFilesByContentResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_proto_msgTypes[71] + 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_SearchFilesByContentResponse proto.InternalMessageInfo +// Deprecated: Use SearchFilesByContentResponse.ProtoReflect.Descriptor instead. +func (*SearchFilesByContentResponse) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{71} +} -func (m *SearchFilesByContentResponse) GetMatches() [][]byte { - if m != nil { - return m.Matches +func (x *SearchFilesByContentResponse) GetMatches() [][]byte { + if x != nil { + return x.Matches } return nil } -func (m *SearchFilesByContentResponse) GetMatchData() []byte { - if m != nil { - return m.MatchData +func (x *SearchFilesByContentResponse) GetMatchData() []byte { + if x != nil { + return x.MatchData } return nil } -func (m *SearchFilesByContentResponse) GetEndOfMatch() bool { - if m != nil { - return m.EndOfMatch +func (x *SearchFilesByContentResponse) GetEndOfMatch() bool { + if x != nil { + return x.EndOfMatch } return false } // Remote represents a git remote repository. type Remote struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // url is the URL of the remote repository. Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` // http_authorization_header is the HTTP header which should be added to @@ -3481,912 +3895,3082 @@ type Remote struct { // tags of the source repository. // // If no refspecs are given, this defaults to "all_refs". - MirrorRefmaps []string `protobuf:"bytes,4,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,4,rep,name=mirror_refmaps,json=mirrorRefmaps,proto3" json:"mirror_refmaps,omitempty"` } -func (m *Remote) Reset() { *m = Remote{} } -func (m *Remote) String() string { return proto.CompactTextString(m) } -func (*Remote) ProtoMessage() {} -func (*Remote) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{72} +func (x *Remote) Reset() { + *x = Remote{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[72] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Remote) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Remote.Unmarshal(m, b) -} -func (m *Remote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Remote.Marshal(b, m, deterministic) -} -func (m *Remote) XXX_Merge(src proto.Message) { - xxx_messageInfo_Remote.Merge(m, src) -} -func (m *Remote) XXX_Size() int { - return xxx_messageInfo_Remote.Size(m) +func (x *Remote) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Remote) XXX_DiscardUnknown() { - xxx_messageInfo_Remote.DiscardUnknown(m) + +func (*Remote) ProtoMessage() {} + +func (x *Remote) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_proto_msgTypes[72] + 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_Remote proto.InternalMessageInfo +// Deprecated: Use Remote.ProtoReflect.Descriptor instead. +func (*Remote) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{72} +} -func (m *Remote) GetUrl() string { - if m != nil { - return m.Url +func (x *Remote) GetUrl() string { + if x != nil { + return x.Url } return "" } -func (m *Remote) GetHttpAuthorizationHeader() string { - if m != nil { - return m.HttpAuthorizationHeader +func (x *Remote) GetHttpAuthorizationHeader() string { + if x != nil { + return x.HttpAuthorizationHeader } return "" } -func (m *Remote) GetMirrorRefmaps() []string { - if m != nil { - return m.MirrorRefmaps +func (x *Remote) GetMirrorRefmaps() []string { + if x != nil { + return x.MirrorRefmaps } return nil } type GetObjectDirectorySizeRequest 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:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *GetObjectDirectorySizeRequest) Reset() { *m = GetObjectDirectorySizeRequest{} } -func (m *GetObjectDirectorySizeRequest) String() string { return proto.CompactTextString(m) } -func (*GetObjectDirectorySizeRequest) ProtoMessage() {} -func (*GetObjectDirectorySizeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{73} + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` } -func (m *GetObjectDirectorySizeRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetObjectDirectorySizeRequest.Unmarshal(m, b) -} -func (m *GetObjectDirectorySizeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetObjectDirectorySizeRequest.Marshal(b, m, deterministic) -} -func (m *GetObjectDirectorySizeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetObjectDirectorySizeRequest.Merge(m, src) +func (x *GetObjectDirectorySizeRequest) Reset() { + *x = GetObjectDirectorySizeRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[73] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetObjectDirectorySizeRequest) XXX_Size() int { - return xxx_messageInfo_GetObjectDirectorySizeRequest.Size(m) + +func (x *GetObjectDirectorySizeRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetObjectDirectorySizeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetObjectDirectorySizeRequest.DiscardUnknown(m) + +func (*GetObjectDirectorySizeRequest) ProtoMessage() {} + +func (x *GetObjectDirectorySizeRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_proto_msgTypes[73] + 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_GetObjectDirectorySizeRequest proto.InternalMessageInfo +// Deprecated: Use GetObjectDirectorySizeRequest.ProtoReflect.Descriptor instead. +func (*GetObjectDirectorySizeRequest) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{73} +} -func (m *GetObjectDirectorySizeRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *GetObjectDirectorySizeRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } type GetObjectDirectorySizeResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Object directory size in kilobytes - Size int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Size int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` } -func (m *GetObjectDirectorySizeResponse) Reset() { *m = GetObjectDirectorySizeResponse{} } -func (m *GetObjectDirectorySizeResponse) String() string { return proto.CompactTextString(m) } -func (*GetObjectDirectorySizeResponse) ProtoMessage() {} -func (*GetObjectDirectorySizeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{74} +func (x *GetObjectDirectorySizeResponse) Reset() { + *x = GetObjectDirectorySizeResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[74] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetObjectDirectorySizeResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetObjectDirectorySizeResponse.Unmarshal(m, b) -} -func (m *GetObjectDirectorySizeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetObjectDirectorySizeResponse.Marshal(b, m, deterministic) -} -func (m *GetObjectDirectorySizeResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetObjectDirectorySizeResponse.Merge(m, src) -} -func (m *GetObjectDirectorySizeResponse) XXX_Size() int { - return xxx_messageInfo_GetObjectDirectorySizeResponse.Size(m) +func (x *GetObjectDirectorySizeResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetObjectDirectorySizeResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetObjectDirectorySizeResponse.DiscardUnknown(m) + +func (*GetObjectDirectorySizeResponse) ProtoMessage() {} + +func (x *GetObjectDirectorySizeResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_proto_msgTypes[74] + 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_GetObjectDirectorySizeResponse proto.InternalMessageInfo +// Deprecated: Use GetObjectDirectorySizeResponse.ProtoReflect.Descriptor instead. +func (*GetObjectDirectorySizeResponse) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{74} +} -func (m *GetObjectDirectorySizeResponse) GetSize() int64 { - if m != nil { - return m.Size +func (x *GetObjectDirectorySizeResponse) GetSize() int64 { + if x != nil { + return x.Size } return 0 } type CloneFromPoolRequest struct { - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - Pool *ObjectPool `protobuf:"bytes,2,opt,name=pool,proto3" json:"pool,omitempty"` - Remote *Remote `protobuf:"bytes,3,opt,name=remote,proto3" json:"remote,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *CloneFromPoolRequest) Reset() { *m = CloneFromPoolRequest{} } -func (m *CloneFromPoolRequest) String() string { return proto.CompactTextString(m) } -func (*CloneFromPoolRequest) ProtoMessage() {} -func (*CloneFromPoolRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{75} + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + Pool *ObjectPool `protobuf:"bytes,2,opt,name=pool,proto3" json:"pool,omitempty"` + Remote *Remote `protobuf:"bytes,3,opt,name=remote,proto3" json:"remote,omitempty"` } -func (m *CloneFromPoolRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CloneFromPoolRequest.Unmarshal(m, b) -} -func (m *CloneFromPoolRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CloneFromPoolRequest.Marshal(b, m, deterministic) -} -func (m *CloneFromPoolRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CloneFromPoolRequest.Merge(m, src) +func (x *CloneFromPoolRequest) Reset() { + *x = CloneFromPoolRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[75] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CloneFromPoolRequest) XXX_Size() int { - return xxx_messageInfo_CloneFromPoolRequest.Size(m) + +func (x *CloneFromPoolRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CloneFromPoolRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CloneFromPoolRequest.DiscardUnknown(m) + +func (*CloneFromPoolRequest) ProtoMessage() {} + +func (x *CloneFromPoolRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_proto_msgTypes[75] + 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_CloneFromPoolRequest proto.InternalMessageInfo +// Deprecated: Use CloneFromPoolRequest.ProtoReflect.Descriptor instead. +func (*CloneFromPoolRequest) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{75} +} -func (m *CloneFromPoolRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *CloneFromPoolRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *CloneFromPoolRequest) GetPool() *ObjectPool { - if m != nil { - return m.Pool +func (x *CloneFromPoolRequest) GetPool() *ObjectPool { + if x != nil { + return x.Pool } return nil } -func (m *CloneFromPoolRequest) GetRemote() *Remote { - if m != nil { - return m.Remote +func (x *CloneFromPoolRequest) GetRemote() *Remote { + if x != nil { + return x.Remote } return nil } type CloneFromPoolResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *CloneFromPoolResponse) Reset() { *m = CloneFromPoolResponse{} } -func (m *CloneFromPoolResponse) String() string { return proto.CompactTextString(m) } -func (*CloneFromPoolResponse) ProtoMessage() {} -func (*CloneFromPoolResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{76} +func (x *CloneFromPoolResponse) Reset() { + *x = CloneFromPoolResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[76] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CloneFromPoolResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CloneFromPoolResponse.Unmarshal(m, b) -} -func (m *CloneFromPoolResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CloneFromPoolResponse.Marshal(b, m, deterministic) -} -func (m *CloneFromPoolResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CloneFromPoolResponse.Merge(m, src) -} -func (m *CloneFromPoolResponse) XXX_Size() int { - return xxx_messageInfo_CloneFromPoolResponse.Size(m) -} -func (m *CloneFromPoolResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CloneFromPoolResponse.DiscardUnknown(m) +func (x *CloneFromPoolResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_CloneFromPoolResponse proto.InternalMessageInfo +func (*CloneFromPoolResponse) ProtoMessage() {} -type CloneFromPoolInternalRequest struct { - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - Pool *ObjectPool `protobuf:"bytes,2,opt,name=pool,proto3" json:"pool,omitempty"` - SourceRepository *Repository `protobuf:"bytes,3,opt,name=source_repository,json=sourceRepository,proto3" json:"source_repository,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *CloneFromPoolResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_proto_msgTypes[76] + 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 *CloneFromPoolInternalRequest) Reset() { *m = CloneFromPoolInternalRequest{} } -func (m *CloneFromPoolInternalRequest) String() string { return proto.CompactTextString(m) } -func (*CloneFromPoolInternalRequest) ProtoMessage() {} -func (*CloneFromPoolInternalRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{77} +// Deprecated: Use CloneFromPoolResponse.ProtoReflect.Descriptor instead. +func (*CloneFromPoolResponse) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{76} } -func (m *CloneFromPoolInternalRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CloneFromPoolInternalRequest.Unmarshal(m, b) -} -func (m *CloneFromPoolInternalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CloneFromPoolInternalRequest.Marshal(b, m, deterministic) +type CloneFromPoolInternalRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + Pool *ObjectPool `protobuf:"bytes,2,opt,name=pool,proto3" json:"pool,omitempty"` + SourceRepository *Repository `protobuf:"bytes,3,opt,name=source_repository,json=sourceRepository,proto3" json:"source_repository,omitempty"` } -func (m *CloneFromPoolInternalRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CloneFromPoolInternalRequest.Merge(m, src) + +func (x *CloneFromPoolInternalRequest) Reset() { + *x = CloneFromPoolInternalRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[77] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CloneFromPoolInternalRequest) XXX_Size() int { - return xxx_messageInfo_CloneFromPoolInternalRequest.Size(m) + +func (x *CloneFromPoolInternalRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CloneFromPoolInternalRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CloneFromPoolInternalRequest.DiscardUnknown(m) + +func (*CloneFromPoolInternalRequest) ProtoMessage() {} + +func (x *CloneFromPoolInternalRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_proto_msgTypes[77] + 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_CloneFromPoolInternalRequest proto.InternalMessageInfo +// Deprecated: Use CloneFromPoolInternalRequest.ProtoReflect.Descriptor instead. +func (*CloneFromPoolInternalRequest) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{77} +} -func (m *CloneFromPoolInternalRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *CloneFromPoolInternalRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *CloneFromPoolInternalRequest) GetPool() *ObjectPool { - if m != nil { - return m.Pool +func (x *CloneFromPoolInternalRequest) GetPool() *ObjectPool { + if x != nil { + return x.Pool } return nil } -func (m *CloneFromPoolInternalRequest) GetSourceRepository() *Repository { - if m != nil { - return m.SourceRepository +func (x *CloneFromPoolInternalRequest) GetSourceRepository() *Repository { + if x != nil { + return x.SourceRepository } return nil } type CloneFromPoolInternalResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *CloneFromPoolInternalResponse) Reset() { *m = CloneFromPoolInternalResponse{} } -func (m *CloneFromPoolInternalResponse) String() string { return proto.CompactTextString(m) } -func (*CloneFromPoolInternalResponse) ProtoMessage() {} -func (*CloneFromPoolInternalResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{78} +func (x *CloneFromPoolInternalResponse) Reset() { + *x = CloneFromPoolInternalResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[78] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CloneFromPoolInternalResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CloneFromPoolInternalResponse.Unmarshal(m, b) +func (x *CloneFromPoolInternalResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CloneFromPoolInternalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CloneFromPoolInternalResponse.Marshal(b, m, deterministic) + +func (*CloneFromPoolInternalResponse) ProtoMessage() {} + +func (x *CloneFromPoolInternalResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_proto_msgTypes[78] + 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 *CloneFromPoolInternalResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CloneFromPoolInternalResponse.Merge(m, src) + +// Deprecated: Use CloneFromPoolInternalResponse.ProtoReflect.Descriptor instead. +func (*CloneFromPoolInternalResponse) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{78} } -func (m *CloneFromPoolInternalResponse) XXX_Size() int { - return xxx_messageInfo_CloneFromPoolInternalResponse.Size(m) + +type RemoveRepositoryRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` } -func (m *CloneFromPoolInternalResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CloneFromPoolInternalResponse.DiscardUnknown(m) + +func (x *RemoveRepositoryRequest) Reset() { + *x = RemoveRepositoryRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[79] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -var xxx_messageInfo_CloneFromPoolInternalResponse proto.InternalMessageInfo +func (x *RemoveRepositoryRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} -type RemoveRepositoryRequest 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:"-"` +func (*RemoveRepositoryRequest) ProtoMessage() {} + +func (x *RemoveRepositoryRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_proto_msgTypes[79] + 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 *RemoveRepositoryRequest) Reset() { *m = RemoveRepositoryRequest{} } -func (m *RemoveRepositoryRequest) String() string { return proto.CompactTextString(m) } -func (*RemoveRepositoryRequest) ProtoMessage() {} +// Deprecated: Use RemoveRepositoryRequest.ProtoReflect.Descriptor instead. func (*RemoveRepositoryRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{79} + return file_repository_service_proto_rawDescGZIP(), []int{79} } -func (m *RemoveRepositoryRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RemoveRepositoryRequest.Unmarshal(m, b) +func (x *RemoveRepositoryRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil } -func (m *RemoveRepositoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RemoveRepositoryRequest.Marshal(b, m, deterministic) + +type RemoveRepositoryResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *RemoveRepositoryRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RemoveRepositoryRequest.Merge(m, src) + +func (x *RemoveRepositoryResponse) Reset() { + *x = RemoveRepositoryResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[80] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RemoveRepositoryRequest) XXX_Size() int { - return xxx_messageInfo_RemoveRepositoryRequest.Size(m) + +func (x *RemoveRepositoryResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RemoveRepositoryResponse) ProtoMessage() {} + +func (x *RemoveRepositoryResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_proto_msgTypes[80] + 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 *RemoveRepositoryRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RemoveRepositoryRequest.DiscardUnknown(m) + +// Deprecated: Use RemoveRepositoryResponse.ProtoReflect.Descriptor instead. +func (*RemoveRepositoryResponse) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{80} } -var xxx_messageInfo_RemoveRepositoryRequest proto.InternalMessageInfo +type RenameRepositoryRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *RemoveRepositoryRequest) GetRepository() *Repository { - if m != nil { - return m.Repository + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + RelativePath string `protobuf:"bytes,2,opt,name=relative_path,json=relativePath,proto3" json:"relative_path,omitempty"` +} + +func (x *RenameRepositoryRequest) Reset() { + *x = RenameRepositoryRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[81] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return nil } -type RemoveRepositoryResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *RenameRepositoryRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RemoveRepositoryResponse) Reset() { *m = RemoveRepositoryResponse{} } -func (m *RemoveRepositoryResponse) String() string { return proto.CompactTextString(m) } -func (*RemoveRepositoryResponse) ProtoMessage() {} -func (*RemoveRepositoryResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{80} +func (*RenameRepositoryRequest) ProtoMessage() {} + +func (x *RenameRepositoryRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_proto_msgTypes[81] + 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 *RemoveRepositoryResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RemoveRepositoryResponse.Unmarshal(m, b) +// Deprecated: Use RenameRepositoryRequest.ProtoReflect.Descriptor instead. +func (*RenameRepositoryRequest) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{81} } -func (m *RemoveRepositoryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RemoveRepositoryResponse.Marshal(b, m, deterministic) + +func (x *RenameRepositoryRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil } -func (m *RemoveRepositoryResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_RemoveRepositoryResponse.Merge(m, src) + +func (x *RenameRepositoryRequest) GetRelativePath() string { + if x != nil { + return x.RelativePath + } + return "" } -func (m *RemoveRepositoryResponse) XXX_Size() int { - return xxx_messageInfo_RemoveRepositoryResponse.Size(m) + +type RenameRepositoryResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *RemoveRepositoryResponse) XXX_DiscardUnknown() { - xxx_messageInfo_RemoveRepositoryResponse.DiscardUnknown(m) + +func (x *RenameRepositoryResponse) Reset() { + *x = RenameRepositoryResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[82] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -var xxx_messageInfo_RemoveRepositoryResponse proto.InternalMessageInfo +func (x *RenameRepositoryResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} -type RenameRepositoryRequest struct { - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - RelativePath string `protobuf:"bytes,2,opt,name=relative_path,json=relativePath,proto3" json:"relative_path,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (*RenameRepositoryResponse) ProtoMessage() {} + +func (x *RenameRepositoryResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_proto_msgTypes[82] + 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 *RenameRepositoryRequest) Reset() { *m = RenameRepositoryRequest{} } -func (m *RenameRepositoryRequest) String() string { return proto.CompactTextString(m) } -func (*RenameRepositoryRequest) ProtoMessage() {} -func (*RenameRepositoryRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{81} +// Deprecated: Use RenameRepositoryResponse.ProtoReflect.Descriptor instead. +func (*RenameRepositoryResponse) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{82} } -func (m *RenameRepositoryRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RenameRepositoryRequest.Unmarshal(m, b) +type ReplicateRepositoryRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + Source *Repository `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` } -func (m *RenameRepositoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RenameRepositoryRequest.Marshal(b, m, deterministic) + +func (x *ReplicateRepositoryRequest) Reset() { + *x = ReplicateRepositoryRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[83] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RenameRepositoryRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RenameRepositoryRequest.Merge(m, src) + +func (x *ReplicateRepositoryRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RenameRepositoryRequest) XXX_Size() int { - return xxx_messageInfo_RenameRepositoryRequest.Size(m) + +func (*ReplicateRepositoryRequest) ProtoMessage() {} + +func (x *ReplicateRepositoryRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_proto_msgTypes[83] + 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 *RenameRepositoryRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RenameRepositoryRequest.DiscardUnknown(m) + +// Deprecated: Use ReplicateRepositoryRequest.ProtoReflect.Descriptor instead. +func (*ReplicateRepositoryRequest) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{83} } -var xxx_messageInfo_RenameRepositoryRequest proto.InternalMessageInfo +func (x *ReplicateRepositoryRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil +} -func (m *RenameRepositoryRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *ReplicateRepositoryRequest) GetSource() *Repository { + if x != nil { + return x.Source } return nil } -func (m *RenameRepositoryRequest) GetRelativePath() string { - if m != nil { - return m.RelativePath +type ReplicateRepositoryResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *ReplicateRepositoryResponse) Reset() { + *x = ReplicateRepositoryResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[84] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return "" } -type RenameRepositoryResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *ReplicateRepositoryResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RenameRepositoryResponse) Reset() { *m = RenameRepositoryResponse{} } -func (m *RenameRepositoryResponse) String() string { return proto.CompactTextString(m) } -func (*RenameRepositoryResponse) ProtoMessage() {} -func (*RenameRepositoryResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{82} +func (*ReplicateRepositoryResponse) ProtoMessage() {} + +func (x *ReplicateRepositoryResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_proto_msgTypes[84] + 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 *RenameRepositoryResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RenameRepositoryResponse.Unmarshal(m, b) +// Deprecated: Use ReplicateRepositoryResponse.ProtoReflect.Descriptor instead. +func (*ReplicateRepositoryResponse) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{84} } -func (m *RenameRepositoryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RenameRepositoryResponse.Marshal(b, m, deterministic) + +type OptimizeRepositoryRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` } -func (m *RenameRepositoryResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_RenameRepositoryResponse.Merge(m, src) + +func (x *OptimizeRepositoryRequest) Reset() { + *x = OptimizeRepositoryRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[85] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RenameRepositoryResponse) XXX_Size() int { - return xxx_messageInfo_RenameRepositoryResponse.Size(m) + +func (x *OptimizeRepositoryRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RenameRepositoryResponse) XXX_DiscardUnknown() { - xxx_messageInfo_RenameRepositoryResponse.DiscardUnknown(m) + +func (*OptimizeRepositoryRequest) ProtoMessage() {} + +func (x *OptimizeRepositoryRequest) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_proto_msgTypes[85] + 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_RenameRepositoryResponse proto.InternalMessageInfo +// Deprecated: Use OptimizeRepositoryRequest.ProtoReflect.Descriptor instead. +func (*OptimizeRepositoryRequest) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{85} +} -type ReplicateRepositoryRequest struct { - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - Source *Repository `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *OptimizeRepositoryRequest) GetRepository() *Repository { + if x != nil { + return x.Repository + } + return nil } -func (m *ReplicateRepositoryRequest) Reset() { *m = ReplicateRepositoryRequest{} } -func (m *ReplicateRepositoryRequest) String() string { return proto.CompactTextString(m) } -func (*ReplicateRepositoryRequest) ProtoMessage() {} -func (*ReplicateRepositoryRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{83} +type OptimizeRepositoryResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *ReplicateRepositoryRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReplicateRepositoryRequest.Unmarshal(m, b) +func (x *OptimizeRepositoryResponse) Reset() { + *x = OptimizeRepositoryResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[86] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ReplicateRepositoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReplicateRepositoryRequest.Marshal(b, m, deterministic) + +func (x *OptimizeRepositoryResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ReplicateRepositoryRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReplicateRepositoryRequest.Merge(m, src) + +func (*OptimizeRepositoryResponse) ProtoMessage() {} + +func (x *OptimizeRepositoryResponse) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_proto_msgTypes[86] + 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 *ReplicateRepositoryRequest) XXX_Size() int { - return xxx_messageInfo_ReplicateRepositoryRequest.Size(m) + +// Deprecated: Use OptimizeRepositoryResponse.ProtoReflect.Descriptor instead. +func (*OptimizeRepositoryResponse) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{86} } -func (m *ReplicateRepositoryRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ReplicateRepositoryRequest.DiscardUnknown(m) + +type SetConfigRequest_Entry struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + // Types that are assignable to Value: + // *SetConfigRequest_Entry_ValueStr + // *SetConfigRequest_Entry_ValueInt32 + // *SetConfigRequest_Entry_ValueBool + Value isSetConfigRequest_Entry_Value `protobuf_oneof:"value"` } -var xxx_messageInfo_ReplicateRepositoryRequest proto.InternalMessageInfo +func (x *SetConfigRequest_Entry) Reset() { + *x = SetConfigRequest_Entry{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[87] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} -func (m *ReplicateRepositoryRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *SetConfigRequest_Entry) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetConfigRequest_Entry) ProtoMessage() {} + +func (x *SetConfigRequest_Entry) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_proto_msgTypes[87] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms } - return nil + return mi.MessageOf(x) +} + +// Deprecated: Use SetConfigRequest_Entry.ProtoReflect.Descriptor instead. +func (*SetConfigRequest_Entry) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{46, 0} +} + +func (x *SetConfigRequest_Entry) GetKey() string { + if x != nil { + return x.Key + } + return "" } -func (m *ReplicateRepositoryRequest) GetSource() *Repository { +func (m *SetConfigRequest_Entry) GetValue() isSetConfigRequest_Entry_Value { if m != nil { - return m.Source + return m.Value } return nil } -type ReplicateRepositoryResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *SetConfigRequest_Entry) GetValueStr() string { + if x, ok := x.GetValue().(*SetConfigRequest_Entry_ValueStr); ok { + return x.ValueStr + } + return "" } -func (m *ReplicateRepositoryResponse) Reset() { *m = ReplicateRepositoryResponse{} } -func (m *ReplicateRepositoryResponse) String() string { return proto.CompactTextString(m) } -func (*ReplicateRepositoryResponse) ProtoMessage() {} -func (*ReplicateRepositoryResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{84} +func (x *SetConfigRequest_Entry) GetValueInt32() int32 { + if x, ok := x.GetValue().(*SetConfigRequest_Entry_ValueInt32); ok { + return x.ValueInt32 + } + return 0 } -func (m *ReplicateRepositoryResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReplicateRepositoryResponse.Unmarshal(m, b) +func (x *SetConfigRequest_Entry) GetValueBool() bool { + if x, ok := x.GetValue().(*SetConfigRequest_Entry_ValueBool); ok { + return x.ValueBool + } + return false } -func (m *ReplicateRepositoryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReplicateRepositoryResponse.Marshal(b, m, deterministic) + +type isSetConfigRequest_Entry_Value interface { + isSetConfigRequest_Entry_Value() } -func (m *ReplicateRepositoryResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReplicateRepositoryResponse.Merge(m, src) + +type SetConfigRequest_Entry_ValueStr struct { + ValueStr string `protobuf:"bytes,2,opt,name=value_str,json=valueStr,proto3,oneof"` } -func (m *ReplicateRepositoryResponse) XXX_Size() int { - return xxx_messageInfo_ReplicateRepositoryResponse.Size(m) + +type SetConfigRequest_Entry_ValueInt32 struct { + ValueInt32 int32 `protobuf:"varint,3,opt,name=value_int32,json=valueInt32,proto3,oneof"` } -func (m *ReplicateRepositoryResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ReplicateRepositoryResponse.DiscardUnknown(m) + +type SetConfigRequest_Entry_ValueBool struct { + ValueBool bool `protobuf:"varint,4,opt,name=value_bool,json=valueBool,proto3,oneof"` } -var xxx_messageInfo_ReplicateRepositoryResponse proto.InternalMessageInfo +func (*SetConfigRequest_Entry_ValueStr) isSetConfigRequest_Entry_Value() {} -type OptimizeRepositoryRequest 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:"-"` +func (*SetConfigRequest_Entry_ValueInt32) isSetConfigRequest_Entry_Value() {} + +func (*SetConfigRequest_Entry_ValueBool) isSetConfigRequest_Entry_Value() {} + +type GetRawChangesResponse_RawChange struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BlobId string `protobuf:"bytes,1,opt,name=blob_id,json=blobId,proto3" json:"blob_id,omitempty"` + Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` + // use fields 9 and 10 in place of 3 and 4 (respectively) + // + // Deprecated: Do not use. + NewPath string `protobuf:"bytes,3,opt,name=new_path,json=newPath,proto3" json:"new_path,omitempty"` + // Deprecated: Do not use. + OldPath string `protobuf:"bytes,4,opt,name=old_path,json=oldPath,proto3" json:"old_path,omitempty"` + Operation GetRawChangesResponse_RawChange_Operation `protobuf:"varint,5,opt,name=operation,proto3,enum=gitaly.GetRawChangesResponse_RawChange_Operation" json:"operation,omitempty"` + RawOperation string `protobuf:"bytes,6,opt,name=raw_operation,json=rawOperation,proto3" json:"raw_operation,omitempty"` + OldMode int32 `protobuf:"varint,7,opt,name=old_mode,json=oldMode,proto3" json:"old_mode,omitempty"` + NewMode int32 `protobuf:"varint,8,opt,name=new_mode,json=newMode,proto3" json:"new_mode,omitempty"` + // the following fields, 9 and 10, will eventually replace 3 and 4 + NewPathBytes []byte `protobuf:"bytes,9,opt,name=new_path_bytes,json=newPathBytes,proto3" json:"new_path_bytes,omitempty"` + OldPathBytes []byte `protobuf:"bytes,10,opt,name=old_path_bytes,json=oldPathBytes,proto3" json:"old_path_bytes,omitempty"` } -func (m *OptimizeRepositoryRequest) Reset() { *m = OptimizeRepositoryRequest{} } -func (m *OptimizeRepositoryRequest) String() string { return proto.CompactTextString(m) } -func (*OptimizeRepositoryRequest) ProtoMessage() {} -func (*OptimizeRepositoryRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{85} +func (x *GetRawChangesResponse_RawChange) Reset() { + *x = GetRawChangesResponse_RawChange{} + if protoimpl.UnsafeEnabled { + mi := &file_repository_service_proto_msgTypes[88] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *OptimizeRepositoryRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_OptimizeRepositoryRequest.Unmarshal(m, b) +func (x *GetRawChangesResponse_RawChange) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *OptimizeRepositoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_OptimizeRepositoryRequest.Marshal(b, m, deterministic) + +func (*GetRawChangesResponse_RawChange) ProtoMessage() {} + +func (x *GetRawChangesResponse_RawChange) ProtoReflect() protoreflect.Message { + mi := &file_repository_service_proto_msgTypes[88] + 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 *OptimizeRepositoryRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_OptimizeRepositoryRequest.Merge(m, src) + +// Deprecated: Use GetRawChangesResponse_RawChange.ProtoReflect.Descriptor instead. +func (*GetRawChangesResponse_RawChange) Descriptor() ([]byte, []int) { + return file_repository_service_proto_rawDescGZIP(), []int{67, 0} } -func (m *OptimizeRepositoryRequest) XXX_Size() int { - return xxx_messageInfo_OptimizeRepositoryRequest.Size(m) + +func (x *GetRawChangesResponse_RawChange) GetBlobId() string { + if x != nil { + return x.BlobId + } + return "" } -func (m *OptimizeRepositoryRequest) XXX_DiscardUnknown() { - xxx_messageInfo_OptimizeRepositoryRequest.DiscardUnknown(m) + +func (x *GetRawChangesResponse_RawChange) GetSize() int64 { + if x != nil { + return x.Size + } + return 0 } -var xxx_messageInfo_OptimizeRepositoryRequest proto.InternalMessageInfo +// Deprecated: Do not use. +func (x *GetRawChangesResponse_RawChange) GetNewPath() string { + if x != nil { + return x.NewPath + } + return "" +} -func (m *OptimizeRepositoryRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +// Deprecated: Do not use. +func (x *GetRawChangesResponse_RawChange) GetOldPath() string { + if x != nil { + return x.OldPath + } + return "" +} + +func (x *GetRawChangesResponse_RawChange) GetOperation() GetRawChangesResponse_RawChange_Operation { + if x != nil { + return x.Operation + } + return GetRawChangesResponse_RawChange_UNKNOWN +} + +func (x *GetRawChangesResponse_RawChange) GetRawOperation() string { + if x != nil { + return x.RawOperation + } + return "" +} + +func (x *GetRawChangesResponse_RawChange) GetOldMode() int32 { + if x != nil { + return x.OldMode + } + return 0 +} + +func (x *GetRawChangesResponse_RawChange) GetNewMode() int32 { + if x != nil { + return x.NewMode + } + return 0 +} + +func (x *GetRawChangesResponse_RawChange) GetNewPathBytes() []byte { + if x != nil { + return x.NewPathBytes } return nil } -type OptimizeRepositoryResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *GetRawChangesResponse_RawChange) GetOldPathBytes() []byte { + if x != nil { + return x.OldPathBytes + } + return nil } -func (m *OptimizeRepositoryResponse) Reset() { *m = OptimizeRepositoryResponse{} } -func (m *OptimizeRepositoryResponse) String() string { return proto.CompactTextString(m) } -func (*OptimizeRepositoryResponse) ProtoMessage() {} -func (*OptimizeRepositoryResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e9b1768cf174c79b, []int{86} -} - -func (m *OptimizeRepositoryResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_OptimizeRepositoryResponse.Unmarshal(m, b) -} -func (m *OptimizeRepositoryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_OptimizeRepositoryResponse.Marshal(b, m, deterministic) -} -func (m *OptimizeRepositoryResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_OptimizeRepositoryResponse.Merge(m, src) -} -func (m *OptimizeRepositoryResponse) XXX_Size() int { - return xxx_messageInfo_OptimizeRepositoryResponse.Size(m) -} -func (m *OptimizeRepositoryResponse) XXX_DiscardUnknown() { - xxx_messageInfo_OptimizeRepositoryResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_OptimizeRepositoryResponse proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("gitaly.WriteCommitGraphRequest_SplitStrategy", WriteCommitGraphRequest_SplitStrategy_name, WriteCommitGraphRequest_SplitStrategy_value) - proto.RegisterEnum("gitaly.GetArchiveRequest_Format", GetArchiveRequest_Format_name, GetArchiveRequest_Format_value) - proto.RegisterEnum("gitaly.GetRawChangesResponse_RawChange_Operation", GetRawChangesResponse_RawChange_Operation_name, GetRawChangesResponse_RawChange_Operation_value) - proto.RegisterType((*RepositoryExistsRequest)(nil), "gitaly.RepositoryExistsRequest") - proto.RegisterType((*RepositoryExistsResponse)(nil), "gitaly.RepositoryExistsResponse") - proto.RegisterType((*RepackIncrementalRequest)(nil), "gitaly.RepackIncrementalRequest") - proto.RegisterType((*RepackIncrementalResponse)(nil), "gitaly.RepackIncrementalResponse") - proto.RegisterType((*RepackFullRequest)(nil), "gitaly.RepackFullRequest") - proto.RegisterType((*RepackFullResponse)(nil), "gitaly.RepackFullResponse") - proto.RegisterType((*MidxRepackRequest)(nil), "gitaly.MidxRepackRequest") - proto.RegisterType((*MidxRepackResponse)(nil), "gitaly.MidxRepackResponse") - proto.RegisterType((*GarbageCollectRequest)(nil), "gitaly.GarbageCollectRequest") - proto.RegisterType((*GarbageCollectResponse)(nil), "gitaly.GarbageCollectResponse") - proto.RegisterType((*WriteCommitGraphRequest)(nil), "gitaly.WriteCommitGraphRequest") - proto.RegisterType((*WriteCommitGraphResponse)(nil), "gitaly.WriteCommitGraphResponse") - proto.RegisterType((*CleanupRequest)(nil), "gitaly.CleanupRequest") - proto.RegisterType((*CleanupResponse)(nil), "gitaly.CleanupResponse") - proto.RegisterType((*RepositorySizeRequest)(nil), "gitaly.RepositorySizeRequest") - proto.RegisterType((*RepositorySizeResponse)(nil), "gitaly.RepositorySizeResponse") - proto.RegisterType((*ApplyGitattributesRequest)(nil), "gitaly.ApplyGitattributesRequest") - proto.RegisterType((*ApplyGitattributesResponse)(nil), "gitaly.ApplyGitattributesResponse") - proto.RegisterType((*FetchRemoteRequest)(nil), "gitaly.FetchRemoteRequest") - proto.RegisterType((*FetchRemoteResponse)(nil), "gitaly.FetchRemoteResponse") - proto.RegisterType((*CreateRepositoryRequest)(nil), "gitaly.CreateRepositoryRequest") - proto.RegisterType((*CreateRepositoryResponse)(nil), "gitaly.CreateRepositoryResponse") - proto.RegisterType((*GetArchiveRequest)(nil), "gitaly.GetArchiveRequest") - proto.RegisterType((*GetArchiveResponse)(nil), "gitaly.GetArchiveResponse") - proto.RegisterType((*HasLocalBranchesRequest)(nil), "gitaly.HasLocalBranchesRequest") - proto.RegisterType((*HasLocalBranchesResponse)(nil), "gitaly.HasLocalBranchesResponse") - proto.RegisterType((*FetchSourceBranchRequest)(nil), "gitaly.FetchSourceBranchRequest") - proto.RegisterType((*FetchSourceBranchResponse)(nil), "gitaly.FetchSourceBranchResponse") - proto.RegisterType((*FsckRequest)(nil), "gitaly.FsckRequest") - proto.RegisterType((*FsckResponse)(nil), "gitaly.FsckResponse") - proto.RegisterType((*WriteRefRequest)(nil), "gitaly.WriteRefRequest") - proto.RegisterType((*WriteRefResponse)(nil), "gitaly.WriteRefResponse") - proto.RegisterType((*FindMergeBaseRequest)(nil), "gitaly.FindMergeBaseRequest") - proto.RegisterType((*FindMergeBaseResponse)(nil), "gitaly.FindMergeBaseResponse") - proto.RegisterType((*CreateForkRequest)(nil), "gitaly.CreateForkRequest") - proto.RegisterType((*CreateForkResponse)(nil), "gitaly.CreateForkResponse") - proto.RegisterType((*IsRebaseInProgressRequest)(nil), "gitaly.IsRebaseInProgressRequest") - proto.RegisterType((*IsRebaseInProgressResponse)(nil), "gitaly.IsRebaseInProgressResponse") - proto.RegisterType((*IsSquashInProgressRequest)(nil), "gitaly.IsSquashInProgressRequest") - proto.RegisterType((*IsSquashInProgressResponse)(nil), "gitaly.IsSquashInProgressResponse") - proto.RegisterType((*CreateRepositoryFromURLRequest)(nil), "gitaly.CreateRepositoryFromURLRequest") - proto.RegisterType((*CreateRepositoryFromURLResponse)(nil), "gitaly.CreateRepositoryFromURLResponse") - proto.RegisterType((*CreateBundleRequest)(nil), "gitaly.CreateBundleRequest") - proto.RegisterType((*CreateBundleResponse)(nil), "gitaly.CreateBundleResponse") - proto.RegisterType((*GetConfigRequest)(nil), "gitaly.GetConfigRequest") - proto.RegisterType((*GetConfigResponse)(nil), "gitaly.GetConfigResponse") - proto.RegisterType((*SetConfigRequest)(nil), "gitaly.SetConfigRequest") - proto.RegisterType((*SetConfigRequest_Entry)(nil), "gitaly.SetConfigRequest.Entry") - proto.RegisterType((*SetConfigResponse)(nil), "gitaly.SetConfigResponse") - proto.RegisterType((*DeleteConfigRequest)(nil), "gitaly.DeleteConfigRequest") - proto.RegisterType((*DeleteConfigResponse)(nil), "gitaly.DeleteConfigResponse") - proto.RegisterType((*RestoreCustomHooksRequest)(nil), "gitaly.RestoreCustomHooksRequest") - proto.RegisterType((*RestoreCustomHooksResponse)(nil), "gitaly.RestoreCustomHooksResponse") - proto.RegisterType((*BackupCustomHooksRequest)(nil), "gitaly.BackupCustomHooksRequest") - proto.RegisterType((*BackupCustomHooksResponse)(nil), "gitaly.BackupCustomHooksResponse") - proto.RegisterType((*CreateRepositoryFromBundleRequest)(nil), "gitaly.CreateRepositoryFromBundleRequest") - proto.RegisterType((*CreateRepositoryFromBundleResponse)(nil), "gitaly.CreateRepositoryFromBundleResponse") - proto.RegisterType((*FindLicenseRequest)(nil), "gitaly.FindLicenseRequest") - proto.RegisterType((*FindLicenseResponse)(nil), "gitaly.FindLicenseResponse") - proto.RegisterType((*GetInfoAttributesRequest)(nil), "gitaly.GetInfoAttributesRequest") - proto.RegisterType((*GetInfoAttributesResponse)(nil), "gitaly.GetInfoAttributesResponse") - proto.RegisterType((*CalculateChecksumRequest)(nil), "gitaly.CalculateChecksumRequest") - proto.RegisterType((*CalculateChecksumResponse)(nil), "gitaly.CalculateChecksumResponse") - proto.RegisterType((*GetSnapshotRequest)(nil), "gitaly.GetSnapshotRequest") - proto.RegisterType((*GetSnapshotResponse)(nil), "gitaly.GetSnapshotResponse") - proto.RegisterType((*CreateRepositoryFromSnapshotRequest)(nil), "gitaly.CreateRepositoryFromSnapshotRequest") - proto.RegisterType((*CreateRepositoryFromSnapshotResponse)(nil), "gitaly.CreateRepositoryFromSnapshotResponse") - proto.RegisterType((*GetRawChangesRequest)(nil), "gitaly.GetRawChangesRequest") - proto.RegisterType((*GetRawChangesResponse)(nil), "gitaly.GetRawChangesResponse") - proto.RegisterType((*GetRawChangesResponse_RawChange)(nil), "gitaly.GetRawChangesResponse.RawChange") - proto.RegisterType((*SearchFilesByNameRequest)(nil), "gitaly.SearchFilesByNameRequest") - proto.RegisterType((*SearchFilesByNameResponse)(nil), "gitaly.SearchFilesByNameResponse") - proto.RegisterType((*SearchFilesByContentRequest)(nil), "gitaly.SearchFilesByContentRequest") - proto.RegisterType((*SearchFilesByContentResponse)(nil), "gitaly.SearchFilesByContentResponse") - proto.RegisterType((*Remote)(nil), "gitaly.Remote") - proto.RegisterType((*GetObjectDirectorySizeRequest)(nil), "gitaly.GetObjectDirectorySizeRequest") - proto.RegisterType((*GetObjectDirectorySizeResponse)(nil), "gitaly.GetObjectDirectorySizeResponse") - proto.RegisterType((*CloneFromPoolRequest)(nil), "gitaly.CloneFromPoolRequest") - proto.RegisterType((*CloneFromPoolResponse)(nil), "gitaly.CloneFromPoolResponse") - proto.RegisterType((*CloneFromPoolInternalRequest)(nil), "gitaly.CloneFromPoolInternalRequest") - proto.RegisterType((*CloneFromPoolInternalResponse)(nil), "gitaly.CloneFromPoolInternalResponse") - proto.RegisterType((*RemoveRepositoryRequest)(nil), "gitaly.RemoveRepositoryRequest") - proto.RegisterType((*RemoveRepositoryResponse)(nil), "gitaly.RemoveRepositoryResponse") - proto.RegisterType((*RenameRepositoryRequest)(nil), "gitaly.RenameRepositoryRequest") - proto.RegisterType((*RenameRepositoryResponse)(nil), "gitaly.RenameRepositoryResponse") - proto.RegisterType((*ReplicateRepositoryRequest)(nil), "gitaly.ReplicateRepositoryRequest") - proto.RegisterType((*ReplicateRepositoryResponse)(nil), "gitaly.ReplicateRepositoryResponse") - proto.RegisterType((*OptimizeRepositoryRequest)(nil), "gitaly.OptimizeRepositoryRequest") - proto.RegisterType((*OptimizeRepositoryResponse)(nil), "gitaly.OptimizeRepositoryResponse") -} - -func init() { proto.RegisterFile("repository-service.proto", fileDescriptor_e9b1768cf174c79b) } - -var fileDescriptor_e9b1768cf174c79b = []byte{ - // 3177 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x5a, 0x4b, 0x6f, 0x1b, 0xc9, - 0x11, 0x36, 0xf5, 0xe0, 0xa3, 0x48, 0xd9, 0x54, 0x4b, 0xb6, 0xa8, 0xb1, 0x64, 0xd9, 0x63, 0xaf, - 0xd7, 0xeb, 0xf5, 0xca, 0xbb, 0x72, 0x80, 0x38, 0x09, 0x82, 0x40, 0xd4, 0xdb, 0xb6, 0x1e, 0x3b, - 0x94, 0xb3, 0x58, 0x03, 0x0b, 0xee, 0x70, 0xd8, 0x14, 0x27, 0x1a, 0xce, 0xd0, 0x3d, 0x4d, 0xcb, - 0x5a, 0x20, 0x87, 0x04, 0xc8, 0x21, 0x40, 0xb0, 0xa7, 0x20, 0x9b, 0x63, 0x6e, 0x01, 0xf2, 0x0b, - 0x72, 0xc9, 0x21, 0x97, 0x5c, 0xf2, 0x0b, 0xf6, 0x2f, 0x04, 0xc8, 0x1f, 0xc8, 0x29, 0xe8, 0xc7, - 0x4c, 0xcf, 0x70, 0x66, 0xb8, 0x0e, 0x48, 0x6c, 0x6e, 0xd3, 0x55, 0xdd, 0x55, 0xd5, 0xdd, 0xd5, - 0xd5, 0x5d, 0x5f, 0x0d, 0xd4, 0x08, 0xee, 0x7b, 0xbe, 0x4d, 0x3d, 0x72, 0xf9, 0x91, 0x8f, 0xc9, - 0x1b, 0xdb, 0xc2, 0xeb, 0x7d, 0xe2, 0x51, 0x0f, 0xe5, 0xcf, 0x6c, 0x6a, 0x3a, 0x97, 0x1a, 0x38, - 0xb6, 0x4b, 0x05, 0x4d, 0xab, 0xf8, 0x5d, 0x93, 0xe0, 0xb6, 0x68, 0xe9, 0x0d, 0x58, 0x32, 0xc2, - 0xd1, 0x3b, 0x6f, 0x6d, 0x9f, 0xfa, 0x06, 0x7e, 0x3d, 0xc0, 0x3e, 0x45, 0x4f, 0x01, 0x94, 0xe0, - 0x5a, 0xee, 0x76, 0xee, 0x41, 0x79, 0x03, 0xad, 0x0b, 0x89, 0xeb, 0x6a, 0x50, 0x7d, 0xe6, 0x8f, - 0xff, 0x78, 0x94, 0x33, 0x22, 0x7d, 0xf5, 0x0d, 0xa8, 0x25, 0x85, 0xfa, 0x7d, 0xcf, 0xf5, 0x31, - 0xba, 0x01, 0x79, 0xcc, 0x29, 0x5c, 0x62, 0xd1, 0x90, 0x2d, 0xfd, 0x94, 0x8f, 0x31, 0xad, 0xf3, - 0x03, 0xd7, 0x22, 0xb8, 0x87, 0x5d, 0x6a, 0x3a, 0xe3, 0x5b, 0x72, 0x13, 0x96, 0x53, 0xa4, 0x0a, - 0x53, 0x74, 0x02, 0xf3, 0x82, 0xb9, 0x3b, 0x70, 0xc6, 0xd7, 0x85, 0xee, 0xc2, 0x9c, 0x45, 0xb0, - 0x49, 0x71, 0xb3, 0x65, 0xd3, 0x9e, 0xd9, 0xaf, 0x4d, 0xf1, 0x09, 0x56, 0x04, 0xb1, 0xce, 0x69, - 0xfa, 0x22, 0xa0, 0xa8, 0x4e, 0x69, 0xc9, 0x21, 0xcc, 0x1f, 0xda, 0xed, 0xb7, 0x82, 0x33, 0xfe, - 0xac, 0x17, 0x01, 0x45, 0xc5, 0x49, 0x25, 0xbf, 0xcb, 0xc1, 0xf5, 0x3d, 0x93, 0xb4, 0xcc, 0x33, - 0xbc, 0xe5, 0x39, 0x0e, 0xb6, 0xe8, 0xf7, 0x33, 0x67, 0xb4, 0x08, 0xb3, 0x7d, 0x32, 0x70, 0x71, - 0x6d, 0x9a, 0x33, 0x45, 0x43, 0xaf, 0xc1, 0x8d, 0x61, 0x6b, 0xa4, 0xa1, 0xff, 0xcc, 0xc1, 0xd2, - 0x67, 0xc4, 0xa6, 0x78, 0xcb, 0xeb, 0xf5, 0x6c, 0xba, 0x47, 0xcc, 0x7e, 0x77, 0x7c, 0x53, 0x1b, - 0x30, 0xe7, 0xf7, 0x1d, 0x9b, 0x36, 0x28, 0x31, 0x29, 0x3e, 0xbb, 0xe4, 0xa6, 0x5e, 0xdd, 0xf8, - 0x28, 0x18, 0x9c, 0xa1, 0x71, 0xbd, 0x11, 0x1d, 0x64, 0xc4, 0x65, 0xe8, 0x77, 0x60, 0x2e, 0xc6, - 0x47, 0x55, 0xa8, 0x34, 0xec, 0xaf, 0xf0, 0xe1, 0xc0, 0xa1, 0x76, 0xdf, 0xc1, 0xd5, 0x2b, 0xba, - 0x06, 0xb5, 0xa4, 0x68, 0x39, 0xd3, 0x67, 0x70, 0x75, 0xcb, 0xc1, 0xa6, 0x3b, 0xe8, 0x8f, 0xbf, - 0xe9, 0xf3, 0x70, 0x2d, 0x94, 0x25, 0xc5, 0x7f, 0x0a, 0xd7, 0xd5, 0x10, 0x66, 0xd6, 0xf8, 0x5a, - 0x1e, 0xc1, 0x8d, 0x61, 0x91, 0xf2, 0x60, 0x23, 0x98, 0xf1, 0xed, 0xaf, 0x30, 0x97, 0x36, 0x6d, - 0xf0, 0x6f, 0xfd, 0x35, 0x2c, 0x6f, 0xf6, 0xfb, 0xce, 0xe5, 0x9e, 0x4d, 0x4d, 0x4a, 0x89, 0xdd, - 0x1a, 0x50, 0x3c, 0x7e, 0x7c, 0x41, 0x1a, 0x14, 0x09, 0x7e, 0x63, 0xfb, 0xb6, 0xe7, 0xf2, 0x5d, - 0xac, 0x18, 0x61, 0x5b, 0x5f, 0x01, 0x2d, 0x4d, 0xa5, 0x5c, 0x91, 0x7f, 0x4f, 0x01, 0xda, 0xc5, - 0xd4, 0xea, 0x1a, 0xb8, 0xe7, 0xd1, 0xf1, 0xd7, 0x83, 0x85, 0x33, 0xc2, 0x45, 0x71, 0x43, 0x4a, - 0x86, 0x6c, 0x31, 0x9f, 0xef, 0x78, 0xc4, 0x0a, 0x7d, 0x9e, 0x37, 0xd0, 0x12, 0x14, 0x5c, 0xaf, - 0x49, 0xcd, 0x33, 0xbf, 0x36, 0x23, 0xa2, 0x9f, 0xeb, 0x9d, 0x9a, 0x67, 0x3e, 0xaa, 0x41, 0x81, - 0xda, 0x3d, 0xec, 0x0d, 0x68, 0x6d, 0xf6, 0x76, 0xee, 0xc1, 0xac, 0x11, 0x34, 0xd9, 0x10, 0xdf, - 0xef, 0x36, 0xcf, 0xf1, 0x65, 0x2d, 0x2f, 0x34, 0xf8, 0x7e, 0xf7, 0x39, 0xbe, 0x44, 0x6b, 0x50, - 0x3e, 0x77, 0xbd, 0x0b, 0xb7, 0xd9, 0xf5, 0x58, 0x34, 0x2d, 0x70, 0x26, 0x70, 0xd2, 0x3e, 0xa3, - 0xa0, 0x65, 0x28, 0xba, 0x5e, 0x53, 0x9c, 0xbc, 0x12, 0xd7, 0x56, 0x70, 0xbd, 0x13, 0xd6, 0x44, - 0x4f, 0x60, 0x4e, 0xd8, 0xd9, 0xec, 0x9b, 0xc4, 0xec, 0xf9, 0x35, 0xe0, 0x53, 0xbe, 0xaa, 0xa6, - 0xcc, 0x57, 0xa7, 0x22, 0x3a, 0x9d, 0xf0, 0x3e, 0xe8, 0x11, 0x20, 0xab, 0x8b, 0xad, 0x73, 0x6e, - 0x7f, 0xd3, 0xea, 0x9a, 0xee, 0x19, 0x6e, 0xd7, 0xca, 0x5c, 0x72, 0x95, 0x73, 0xd8, 0x54, 0xb6, - 0x04, 0xfd, 0xd9, 0x4c, 0xb1, 0x58, 0x2d, 0xe9, 0x4f, 0x61, 0x21, 0xb6, 0xdc, 0xd2, 0x57, 0xee, - 0x40, 0x25, 0x26, 0x44, 0x5c, 0x05, 0x65, 0xaa, 0xc6, 0xb3, 0x8b, 0x69, 0x8b, 0x07, 0x11, 0xb5, - 0xfc, 0xe3, 0x7b, 0xaf, 0x06, 0xb5, 0xa4, 0x50, 0xe9, 0x1a, 0xff, 0x9a, 0x82, 0xf9, 0x3d, 0x4c, - 0x37, 0x89, 0xd5, 0xb5, 0xdf, 0x4c, 0xc0, 0x33, 0x6e, 0x42, 0xc9, 0xe2, 0x47, 0xbe, 0x69, 0xb7, - 0xa5, 0x73, 0x14, 0x05, 0xe1, 0xa0, 0xcd, 0xdc, 0xa6, 0x4f, 0x70, 0xc7, 0x7e, 0xcb, 0xfd, 0xa3, - 0x64, 0xc8, 0x16, 0x7a, 0x0a, 0xf9, 0x8e, 0x47, 0x7a, 0x26, 0xe5, 0xfe, 0x71, 0x75, 0xe3, 0x76, - 0xa0, 0x2a, 0x61, 0xd9, 0xfa, 0x2e, 0xef, 0x67, 0xc8, 0xfe, 0xec, 0xf8, 0xf5, 0x4d, 0xda, 0xe5, - 0xee, 0x53, 0x31, 0xf8, 0x37, 0xf3, 0x2a, 0xfc, 0xd6, 0x72, 0x06, 0x6d, 0x5c, 0xcb, 0xdf, 0x9e, - 0x7e, 0x50, 0x31, 0x82, 0x26, 0x5a, 0x05, 0xc0, 0x8e, 0xdd, 0x66, 0xfb, 0x4f, 0xbb, 0xdc, 0x77, - 0x8a, 0x46, 0x89, 0x53, 0x4e, 0xd8, 0xc0, 0x87, 0x30, 0x6f, 0xbb, 0xbc, 0x67, 0xd3, 0xe9, 0xf8, - 0xcd, 0x96, 0xe3, 0xb5, 0xfc, 0x5a, 0x91, 0xf7, 0xba, 0x26, 0x19, 0x2f, 0x3a, 0x7e, 0x9d, 0x91, - 0xf5, 0x27, 0x90, 0x17, 0xa6, 0xa0, 0x02, 0x4c, 0xbf, 0x3a, 0x38, 0xa9, 0x5e, 0x61, 0x1f, 0xa7, - 0x9b, 0x46, 0x35, 0x87, 0x00, 0xf2, 0xa7, 0x9b, 0x46, 0x73, 0xef, 0x55, 0x75, 0x0a, 0x95, 0xa1, - 0xc0, 0xbe, 0xeb, 0xaf, 0x36, 0xaa, 0xd3, 0xfa, 0x03, 0x40, 0xd1, 0x19, 0xa9, 0x10, 0xd2, 0x36, - 0xa9, 0xc9, 0x97, 0xb9, 0x62, 0xf0, 0x6f, 0xe6, 0x07, 0xfb, 0xa6, 0xff, 0xc2, 0xb3, 0x4c, 0xa7, - 0x4e, 0x4c, 0xd7, 0xea, 0x4e, 0x20, 0x80, 0xe8, 0x1f, 0x43, 0x2d, 0x29, 0x54, 0x1a, 0xb1, 0x08, - 0xb3, 0x6f, 0x4c, 0x67, 0x80, 0xa5, 0x53, 0x8a, 0x86, 0xfe, 0x6d, 0x0e, 0x6a, 0xdc, 0x93, 0x1b, - 0xde, 0x80, 0x58, 0x58, 0x8c, 0x1a, 0xdf, 0x49, 0x7e, 0x06, 0xf3, 0x3e, 0x17, 0xd8, 0x8c, 0x08, - 0x98, 0xca, 0x12, 0x60, 0x54, 0x45, 0x67, 0x23, 0x76, 0x01, 0x4b, 0x01, 0x2d, 0x6e, 0x12, 0xf7, - 0xa7, 0x8a, 0x51, 0xf1, 0x23, 0x66, 0xb2, 0xdd, 0xa6, 0x26, 0x39, 0xc3, 0xb4, 0x49, 0x70, 0x87, - 0x7b, 0x56, 0xc5, 0x28, 0x09, 0x8a, 0x81, 0x3b, 0xfa, 0x13, 0x58, 0x4e, 0x99, 0x9a, 0x7a, 0xaf, - 0x11, 0xec, 0x0f, 0x1c, 0x1a, 0xbc, 0xd7, 0x44, 0x4b, 0xdf, 0x83, 0xf2, 0xae, 0x3f, 0x89, 0xc7, - 0xca, 0x3d, 0xa8, 0x08, 0x41, 0x6a, 0xfd, 0x31, 0x21, 0x1e, 0x91, 0x5e, 0x20, 0x1a, 0xfa, 0x5f, - 0x73, 0x70, 0x8d, 0x5f, 0xa3, 0x06, 0xee, 0x8c, 0xbf, 0xec, 0x55, 0x98, 0x66, 0x2b, 0x21, 0xee, - 0x0e, 0xf6, 0x19, 0xbb, 0x52, 0xa6, 0xe3, 0x57, 0x0a, 0x8b, 0x56, 0x9e, 0xd3, 0x6e, 0x86, 0x7c, - 0xb1, 0x80, 0x65, 0xcf, 0x69, 0x1b, 0x41, 0x97, 0x30, 0xdc, 0xcf, 0x46, 0xc2, 0xfd, 0xb3, 0x99, - 0x62, 0xbe, 0x5a, 0xd0, 0x6b, 0x50, 0x55, 0x96, 0x8b, 0x49, 0x3e, 0x9b, 0x29, 0xe6, 0xaa, 0x53, - 0xba, 0x0b, 0x8b, 0xbb, 0xb6, 0xdb, 0x3e, 0xc4, 0xe4, 0x0c, 0xd7, 0x4d, 0x7f, 0x02, 0x41, 0x67, - 0x05, 0x4a, 0x81, 0x99, 0x7e, 0x6d, 0x8a, 0x9f, 0x79, 0x45, 0xd0, 0x3f, 0x84, 0xeb, 0x43, 0xfa, - 0xd4, 0xc1, 0x6b, 0x99, 0xbe, 0x70, 0xf9, 0x92, 0xc1, 0xbf, 0xf5, 0xaf, 0x73, 0x30, 0x2f, 0x82, - 0xe5, 0xae, 0x47, 0xce, 0xff, 0xff, 0xae, 0xce, 0x5e, 0xb5, 0x51, 0x7b, 0xc2, 0x47, 0xfc, 0xf2, - 0x81, 0x6f, 0x60, 0x66, 0xf2, 0x81, 0x7b, 0x42, 0xbc, 0x33, 0x82, 0x7d, 0x7f, 0x22, 0xd1, 0x9b, - 0x70, 0xa1, 0x91, 0xe8, 0x2d, 0x08, 0x07, 0x6d, 0xfd, 0xa7, 0xa0, 0xa5, 0xe9, 0x94, 0x8b, 0xb9, - 0x06, 0x65, 0xdb, 0x6d, 0xf6, 0x25, 0x59, 0x1e, 0x1b, 0xb0, 0xc3, 0x8e, 0xc2, 0xe4, 0xc6, 0xeb, - 0x81, 0xe9, 0x77, 0x27, 0x6c, 0xb2, 0xcf, 0x85, 0x46, 0x4c, 0x16, 0x84, 0xc0, 0xe4, 0xa4, 0xce, - 0x77, 0x35, 0xd9, 0x81, 0x5b, 0xc3, 0x17, 0xe7, 0x2e, 0xf1, 0x7a, 0x2f, 0x8d, 0x17, 0x13, 0x39, - 0x8c, 0x03, 0xe2, 0x48, 0x8b, 0xd9, 0xa7, 0x7e, 0x07, 0xd6, 0x32, 0xb5, 0xc9, 0x6d, 0x3f, 0x86, - 0x05, 0xd1, 0xa5, 0x3e, 0x70, 0xdb, 0xce, 0x04, 0x1e, 0xb6, 0x0f, 0x61, 0x31, 0x2e, 0x70, 0xc4, - 0x9d, 0xf4, 0x02, 0xaa, 0x7b, 0x98, 0x6e, 0x79, 0x6e, 0xc7, 0x3e, 0x1b, 0x5f, 0xf3, 0xfb, 0xfc, - 0xdd, 0x11, 0x48, 0x1b, 0xa1, 0xf6, 0xeb, 0x29, 0xa8, 0x36, 0x26, 0xa6, 0x17, 0x3d, 0x85, 0x02, - 0x76, 0x29, 0xb1, 0xb1, 0x88, 0x14, 0xe5, 0x8d, 0x5b, 0xc1, 0xb0, 0x61, 0x25, 0xeb, 0x3b, 0x2e, - 0x25, 0x97, 0x46, 0xd0, 0x5d, 0xfb, 0x4d, 0x0e, 0x66, 0x39, 0x89, 0xed, 0x1d, 0x7b, 0x99, 0x8a, - 0xb8, 0xc1, 0x3e, 0xd1, 0x2a, 0x94, 0xf8, 0x8d, 0xd9, 0xf4, 0x29, 0x11, 0x7b, 0xba, 0x7f, 0xc5, - 0x28, 0x72, 0x52, 0x83, 0x12, 0x74, 0x07, 0xca, 0x82, 0x6d, 0xbb, 0xf4, 0xc9, 0x06, 0x0f, 0xb5, - 0xb3, 0xfb, 0x57, 0x0c, 0xe0, 0xc4, 0x03, 0x46, 0x43, 0x6b, 0x20, 0x5a, 0xcd, 0x96, 0xe7, 0x39, - 0xe2, 0x9d, 0xbc, 0x7f, 0xc5, 0x10, 0x52, 0xeb, 0x9e, 0xe7, 0xd4, 0x0b, 0xf2, 0x86, 0xd6, 0x17, - 0x60, 0xbe, 0x31, 0xbc, 0x72, 0xba, 0x05, 0x0b, 0xdb, 0xd8, 0xc1, 0x2c, 0xe1, 0x9a, 0xcc, 0x3a, - 0x21, 0x98, 0x39, 0xc7, 0x97, 0x62, 0x91, 0x4a, 0x06, 0xff, 0xd6, 0x6f, 0xc0, 0x62, 0x5c, 0x89, - 0x54, 0x6e, 0xc3, 0xb2, 0x81, 0x7d, 0xea, 0x11, 0xbc, 0x35, 0xf0, 0xa9, 0xd7, 0xdb, 0xf7, 0xbc, - 0x73, 0x7f, 0x22, 0x26, 0x70, 0x6f, 0x98, 0x8a, 0x78, 0xc3, 0x0a, 0x68, 0x69, 0xaa, 0xa4, 0x21, - 0xa7, 0x50, 0xab, 0x9b, 0xd6, 0xf9, 0xa0, 0x3f, 0x49, 0x3b, 0xf4, 0xc7, 0xb0, 0x9c, 0x22, 0x75, - 0x84, 0xcb, 0xbe, 0x86, 0x3b, 0x69, 0x27, 0x79, 0x42, 0x87, 0x36, 0x75, 0x5d, 0xee, 0x81, 0x3e, - 0x4a, 0xa5, 0x5c, 0x9f, 0x23, 0x40, 0xec, 0x2a, 0x7c, 0x61, 0x5b, 0xd8, 0x9d, 0xc0, 0xc5, 0xab, - 0x6f, 0xc1, 0x42, 0x4c, 0x9e, 0x5c, 0x93, 0x47, 0x80, 0x1c, 0x41, 0x6a, 0xfa, 0x5d, 0x8f, 0xd0, - 0xa6, 0x6b, 0xf6, 0x82, 0x6b, 0xb6, 0x2a, 0x39, 0x0d, 0xc6, 0x38, 0x32, 0x7b, 0x7c, 0xd3, 0xf6, - 0x30, 0x3d, 0x70, 0x3b, 0xde, 0xe6, 0xe4, 0xb2, 0x65, 0xfd, 0x27, 0xb0, 0x9c, 0x22, 0x55, 0x1a, - 0x78, 0x0b, 0x40, 0xa5, 0xc9, 0x72, 0xeb, 0x22, 0x14, 0x66, 0xd2, 0x96, 0xe9, 0x58, 0x03, 0xc7, - 0xa4, 0x78, 0x8b, 0xe5, 0x78, 0xfe, 0xa0, 0x37, 0xbe, 0x49, 0x3f, 0x84, 0xe5, 0x14, 0xa9, 0xd2, - 0x24, 0x0d, 0x8a, 0x96, 0xa4, 0xc9, 0x95, 0x0a, 0xdb, 0x6c, 0xdb, 0xf6, 0x30, 0x6d, 0xb8, 0x66, - 0xdf, 0xef, 0x7a, 0xe3, 0xe3, 0x57, 0xfa, 0x07, 0xb0, 0x10, 0x93, 0x37, 0xc2, 0x95, 0xbf, 0xc9, - 0xc1, 0xdd, 0x34, 0xc7, 0x9a, 0x98, 0x31, 0x2c, 0x61, 0xef, 0x52, 0xda, 0x6f, 0xaa, 0xdb, 0xb0, - 0xc0, 0xda, 0x2f, 0x89, 0xc3, 0xee, 0x76, 0xce, 0x32, 0x07, 0xb4, 0x2b, 0x53, 0x46, 0xde, 0x77, - 0x73, 0x40, 0xbb, 0xfa, 0x7d, 0xb8, 0x37, 0xda, 0x30, 0xe9, 0xf3, 0x7f, 0xc8, 0xc1, 0xe2, 0x1e, - 0xa6, 0x86, 0x79, 0x21, 0x92, 0x6c, 0x7f, 0x22, 0xf8, 0x5f, 0x87, 0x78, 0xbd, 0x66, 0x0c, 0x8e, - 0x29, 0x19, 0x15, 0x46, 0x0c, 0x1f, 0xc7, 0x6b, 0x50, 0xa6, 0x5e, 0x33, 0xf6, 0xbc, 0x2e, 0x19, - 0x40, 0xbd, 0xa0, 0x83, 0xfe, 0xb7, 0x19, 0xb8, 0x3e, 0x64, 0x98, 0xdc, 0x88, 0x7d, 0x28, 0x13, - 0xf3, 0x42, 0xe2, 0x04, 0xcc, 0x3f, 0xd9, 0x3d, 0xf5, 0x7e, 0x24, 0x29, 0x4e, 0x8e, 0x59, 0x0f, - 0x49, 0x06, 0x90, 0x90, 0xab, 0x7d, 0x3b, 0x0d, 0xa5, 0x90, 0x83, 0x96, 0xa0, 0xc0, 0x92, 0x5a, - 0xf6, 0x52, 0x12, 0x2e, 0x96, 0x67, 0xcd, 0x83, 0x76, 0x88, 0x62, 0x4d, 0x29, 0x14, 0x0b, 0xad, - 0x42, 0xd1, 0xc5, 0x17, 0x22, 0x55, 0xe6, 0xc6, 0xd7, 0xa7, 0x6a, 0x39, 0xa3, 0xe0, 0xe2, 0x0b, - 0x9e, 0x2c, 0xaf, 0x42, 0x91, 0xa5, 0x07, 0x9c, 0x3d, 0xa3, 0xd8, 0x9e, 0xd3, 0xe6, 0xec, 0x63, - 0x28, 0x79, 0x7d, 0x4c, 0x4c, 0xca, 0xe6, 0x3e, 0xcb, 0xb3, 0xfa, 0x4f, 0xde, 0x71, 0x02, 0xeb, - 0xc7, 0xc1, 0x40, 0x43, 0xc9, 0x60, 0x6b, 0xce, 0xd6, 0x44, 0x09, 0x15, 0xb8, 0x50, 0x85, 0x98, - 0x17, 0x61, 0x7f, 0xe6, 0x4b, 0xcc, 0xa8, 0x9e, 0xd7, 0xc6, 0x3c, 0xbd, 0x9f, 0xe5, 0x06, 0x1d, - 0x7a, 0x6d, 0xcc, 0x71, 0x21, 0x7c, 0x21, 0x58, 0x45, 0xc1, 0x72, 0xf1, 0x05, 0x67, 0xdd, 0x83, - 0xab, 0xc1, 0x4c, 0x9b, 0xad, 0x4b, 0x16, 0x11, 0x4a, 0x22, 0x9d, 0x94, 0x73, 0xad, 0x33, 0x1a, - 0xeb, 0x15, 0x4c, 0x58, 0xf6, 0x02, 0xd1, 0x4b, 0x4e, 0x99, 0xf7, 0xd2, 0x6d, 0x28, 0x29, 0x73, - 0xca, 0x50, 0x78, 0x79, 0xf4, 0xfc, 0xe8, 0xf8, 0xb3, 0xa3, 0xea, 0x15, 0x54, 0x82, 0xd9, 0xcd, - 0xed, 0xed, 0x9d, 0x6d, 0x01, 0x10, 0x6c, 0x1d, 0x9f, 0x1c, 0xec, 0x6c, 0x0b, 0x80, 0x60, 0x7b, - 0xe7, 0xc5, 0xce, 0xe9, 0xce, 0x76, 0x75, 0x1a, 0x55, 0xa0, 0x78, 0x78, 0xbc, 0x7d, 0xb0, 0xcb, - 0x58, 0x33, 0x8c, 0x65, 0xec, 0x1c, 0x6d, 0x1e, 0xee, 0x6c, 0x57, 0x67, 0x51, 0x15, 0x2a, 0xa7, - 0x9f, 0x9f, 0xec, 0x34, 0xb7, 0xf6, 0x37, 0x8f, 0xf6, 0x76, 0xb6, 0xab, 0x79, 0xfd, 0xf7, 0x39, - 0xa8, 0x35, 0xb0, 0x49, 0xac, 0xee, 0xae, 0xed, 0x60, 0xbf, 0x7e, 0xc9, 0xa2, 0xe9, 0xf8, 0xce, - 0xbd, 0x08, 0xb3, 0xaf, 0x07, 0x58, 0x66, 0x29, 0x25, 0x43, 0x34, 0x82, 0xdc, 0x71, 0x5a, 0xe5, - 0x8e, 0x37, 0x20, 0xdf, 0xb1, 0x1d, 0x8a, 0x89, 0xd8, 0x7e, 0x43, 0xb6, 0xf4, 0x4f, 0x60, 0x39, - 0xc5, 0x2a, 0x95, 0xe6, 0x76, 0x18, 0x99, 0xfb, 0x74, 0xc5, 0x10, 0x0d, 0xfd, 0x2f, 0x39, 0xb8, - 0x19, 0x1b, 0xb3, 0xe5, 0xb9, 0x14, 0xbb, 0xf4, 0xfb, 0x9b, 0xcc, 0x07, 0x50, 0xb5, 0xba, 0x03, - 0xf7, 0x1c, 0xb3, 0x84, 0x57, 0xd8, 0x2a, 0xb1, 0xca, 0x6b, 0x92, 0x1e, 0xc6, 0x93, 0x4b, 0x58, - 0x49, 0xb7, 0x55, 0x4e, 0xb1, 0x06, 0x85, 0x9e, 0x49, 0xad, 0x6e, 0x38, 0xc9, 0xa0, 0x89, 0x56, - 0x01, 0xf8, 0x67, 0x33, 0x72, 0x7b, 0x97, 0x38, 0x65, 0xdb, 0xa4, 0x26, 0xba, 0x0d, 0x15, 0xec, - 0xb6, 0x9b, 0x5e, 0xa7, 0xc9, 0x69, 0x12, 0x43, 0x05, 0xec, 0xb6, 0x8f, 0x3b, 0x87, 0x8c, 0xa2, - 0xff, 0x36, 0x07, 0x79, 0x81, 0x29, 0x06, 0xe9, 0x43, 0x2e, 0x4c, 0x1f, 0xd0, 0x8f, 0x61, 0x39, - 0x0c, 0x96, 0x1e, 0xb1, 0xbf, 0xe2, 0x2e, 0xd8, 0xec, 0x62, 0xb3, 0x8d, 0x89, 0x8c, 0x3e, 0x4b, - 0x41, 0xf0, 0x0c, 0xf9, 0xfb, 0x9c, 0x8d, 0xde, 0x83, 0xab, 0x3d, 0x9b, 0x10, 0x8f, 0x34, 0x09, - 0xee, 0xf4, 0xcc, 0xbe, 0x5f, 0x9b, 0xe1, 0xcf, 0xbe, 0x39, 0x41, 0x35, 0x04, 0xf1, 0xd9, 0x4c, - 0x71, 0xaa, 0x3a, 0x6d, 0xcc, 0xb0, 0xdb, 0x5c, 0xff, 0x1c, 0x56, 0xf7, 0x30, 0x3d, 0x6e, 0xfd, - 0x02, 0x5b, 0x74, 0xdb, 0x26, 0xd8, 0x9a, 0x1c, 0xda, 0xfe, 0x03, 0xb8, 0x95, 0x25, 0x7a, 0x04, - 0xea, 0xfe, 0xa7, 0x1c, 0x2c, 0x6e, 0x39, 0x9e, 0x8b, 0xd9, 0x2d, 0x70, 0xe2, 0x79, 0x13, 0xa8, - 0x6d, 0xdd, 0x87, 0x99, 0x3e, 0x7b, 0x8d, 0x0f, 0xe5, 0xeb, 0xc2, 0x32, 0xae, 0x82, 0xf3, 0xd1, - 0xfd, 0x10, 0x0e, 0x9f, 0x4e, 0x45, 0x94, 0x25, 0x57, 0x5f, 0x82, 0xeb, 0x43, 0x16, 0x4a, 0x9f, - 0xfa, 0x7b, 0x0e, 0x56, 0x62, 0x9c, 0x03, 0x97, 0x62, 0xe2, 0x9a, 0xdf, 0xe3, 0x1c, 0x52, 0x81, - 0x8a, 0xe9, 0xff, 0x01, 0xa8, 0x58, 0x83, 0xd5, 0x8c, 0x29, 0xc8, 0x49, 0xf2, 0xa2, 0x6b, 0xcf, - 0x7b, 0x33, 0x69, 0x6c, 0x3b, 0x29, 0x54, 0x2a, 0x7c, 0xcb, 0x14, 0xba, 0x3c, 0xfc, 0x4c, 0x4c, - 0x21, 0xbf, 0x87, 0xb0, 0x63, 0x52, 0xfb, 0x8d, 0x84, 0x91, 0xe5, 0xdd, 0x1f, 0x10, 0xd9, 0x55, - 0x20, 0xac, 0x1a, 0xd6, 0x2c, 0xad, 0xfa, 0x75, 0x8e, 0xa5, 0x30, 0x7d, 0xc7, 0xb6, 0x26, 0x0b, - 0xf3, 0xa3, 0x87, 0x90, 0x17, 0x9b, 0x32, 0x02, 0x5f, 0x92, 0x3d, 0xf4, 0x55, 0xb8, 0x99, 0x6a, - 0x83, 0xb4, 0xf1, 0x25, 0x2c, 0x1f, 0xf7, 0xa9, 0xdd, 0xe3, 0x67, 0x6e, 0x72, 0x9b, 0xb5, 0x02, - 0x5a, 0x9a, 0x58, 0xa1, 0x74, 0xe3, 0xcf, 0x6b, 0xbc, 0x32, 0x1d, 0x54, 0xd9, 0x44, 0x49, 0x1f, - 0x7d, 0x01, 0xd5, 0xe1, 0xaa, 0x3a, 0x5a, 0x4b, 0x6a, 0x8b, 0x15, 0xf1, 0xb5, 0xdb, 0xd9, 0x1d, - 0xe4, 0x0c, 0xf3, 0xff, 0xf9, 0xe6, 0xc1, 0x54, 0x71, 0x0a, 0x7d, 0x19, 0x54, 0xc3, 0x23, 0xa5, - 0x72, 0x14, 0x1d, 0x9e, 0x5a, 0x9b, 0xd7, 0xee, 0x8c, 0xe8, 0x11, 0xd3, 0x90, 0x43, 0xcf, 0x01, - 0x54, 0xed, 0x1b, 0x2d, 0xc7, 0x07, 0x46, 0x6a, 0xf0, 0x9a, 0x96, 0xc6, 0x4a, 0x0a, 0x53, 0x35, - 0x6e, 0x25, 0x2c, 0x51, 0x46, 0x57, 0xc2, 0x52, 0x4a, 0xe2, 0x81, 0xb0, 0xcf, 0xe0, 0x6a, 0xbc, - 0x16, 0x8d, 0x56, 0xc3, 0x27, 0x5a, 0x5a, 0xc5, 0x5c, 0xbb, 0x95, 0xc5, 0x1e, 0x12, 0xfc, 0x85, - 0xc4, 0x7e, 0x23, 0xc5, 0x5f, 0xb5, 0x67, 0x19, 0x15, 0x67, 0xb5, 0x67, 0x99, 0x75, 0xe3, 0x88, - 0xdd, 0xf1, 0x6a, 0xac, 0xb2, 0x3b, 0xb5, 0xf0, 0xab, 0xec, 0x4e, 0x2f, 0xe2, 0x86, 0xce, 0x60, - 0x01, 0x4a, 0x56, 0x51, 0x51, 0xb8, 0xd7, 0x99, 0x45, 0x5d, 0x4d, 0x1f, 0xd5, 0x65, 0xc8, 0xfa, - 0x23, 0x28, 0x47, 0x8a, 0x83, 0x28, 0xdc, 0xa8, 0x64, 0x81, 0x56, 0xbb, 0x99, 0xca, 0x4b, 0x2e, - 0xf6, 0x70, 0x1e, 0xa4, 0x16, 0x3b, 0xa3, 0x98, 0xa8, 0x16, 0x3b, 0xb3, 0x30, 0x18, 0x88, 0x3f, - 0x04, 0x50, 0x35, 0x2b, 0xe5, 0x71, 0x89, 0xca, 0x9c, 0xf2, 0xb8, 0x64, 0x89, 0x2b, 0x58, 0xe0, - 0x8f, 0xb9, 0xb5, 0xc3, 0x35, 0x28, 0x65, 0x6d, 0x46, 0xc9, 0x4b, 0x59, 0x9b, 0x55, 0xbe, 0x8a, - 0x1e, 0xe7, 0x44, 0x51, 0x47, 0x1d, 0xe7, 0xac, 0x52, 0x96, 0x3a, 0xce, 0x99, 0x15, 0xa1, 0x70, - 0x3d, 0x7e, 0x04, 0x33, 0xbb, 0xbe, 0x75, 0x8e, 0x16, 0xc2, 0x21, 0xaa, 0x1e, 0xa4, 0x2d, 0xc6, - 0x89, 0x43, 0xc6, 0xed, 0x40, 0x31, 0x28, 0x89, 0xa0, 0xa5, 0x98, 0xb7, 0xab, 0xf2, 0x8e, 0x56, - 0x4b, 0x32, 0x86, 0x2c, 0x38, 0x85, 0xb9, 0x58, 0x3d, 0x03, 0xad, 0x84, 0x5a, 0x53, 0xca, 0x2a, - 0xda, 0x6a, 0x06, 0x77, 0xc8, 0xb8, 0xe7, 0x00, 0xaa, 0xce, 0xa0, 0xf6, 0x39, 0x51, 0x0b, 0x51, - 0xfb, 0x9c, 0x52, 0x96, 0x08, 0x4c, 0xb4, 0x00, 0x25, 0x4b, 0x05, 0xea, 0x20, 0x65, 0x96, 0x2e, - 0xd4, 0x41, 0xca, 0xae, 0x34, 0x44, 0x4f, 0x6b, 0x12, 0xdc, 0x8f, 0x2a, 0xc9, 0x28, 0x36, 0x44, - 0x95, 0x64, 0xd5, 0x06, 0x42, 0x25, 0x24, 0x59, 0x90, 0x97, 0xa0, 0x3c, 0xba, 0x9f, 0x75, 0x86, - 0xe2, 0x35, 0x02, 0xed, 0xfd, 0xef, 0xec, 0x37, 0xb4, 0x7a, 0x0d, 0xa8, 0x44, 0x41, 0x79, 0x74, - 0x33, 0x2e, 0x20, 0x06, 0x23, 0x6a, 0x2b, 0xe9, 0xcc, 0xc4, 0xc1, 0xfb, 0x25, 0x68, 0xd9, 0x00, - 0x21, 0xfa, 0x60, 0x94, 0x8d, 0x71, 0x85, 0x0f, 0xdf, 0xa5, 0x6b, 0x7c, 0x46, 0x0f, 0x72, 0xe8, - 0x19, 0x94, 0x42, 0xb8, 0x1f, 0xd5, 0x22, 0xa1, 0x22, 0x86, 0x57, 0x6b, 0xcb, 0x29, 0x9c, 0xc4, - 0x54, 0xf6, 0xa1, 0xd4, 0x48, 0xca, 0x6a, 0x64, 0xca, 0x6a, 0x64, 0xc8, 0xca, 0xa1, 0x4f, 0xa1, - 0x12, 0x05, 0xb4, 0xd5, 0x4a, 0xa7, 0x60, 0xe9, 0x6a, 0xa5, 0x53, 0x31, 0xf0, 0x68, 0x78, 0x57, - 0x90, 0x68, 0x24, 0xbc, 0x27, 0x70, 0xd7, 0x48, 0x78, 0x4f, 0x62, 0xa8, 0xa1, 0x03, 0xb6, 0x78, - 0x9d, 0x24, 0x8e, 0x63, 0xa2, 0xe8, 0x0f, 0x12, 0xa9, 0xc0, 0xa9, 0x8a, 0x68, 0x99, 0x20, 0x68, - 0x64, 0x41, 0xbf, 0x84, 0xf9, 0x04, 0x30, 0xa9, 0x74, 0x64, 0x21, 0xa1, 0x4a, 0x47, 0x26, 0xaa, - 0x19, 0xce, 0xa2, 0x0e, 0x05, 0xf9, 0x9b, 0x16, 0xba, 0x11, 0x8e, 0x8a, 0xfd, 0x03, 0xa6, 0x2d, - 0x25, 0xe8, 0x43, 0x2b, 0x7b, 0x02, 0xe5, 0x08, 0x6a, 0x89, 0xa2, 0xf7, 0xcd, 0x10, 0x1a, 0xa9, - 0x56, 0x36, 0x05, 0xe6, 0x8c, 0xcc, 0xfb, 0x57, 0x2c, 0xed, 0x1a, 0x81, 0x21, 0xa2, 0x0f, 0x47, - 0xf9, 0xfa, 0xb0, 0xd2, 0x47, 0xef, 0xd6, 0x79, 0x68, 0x56, 0x3f, 0x87, 0xb9, 0x18, 0x1e, 0xa6, - 0xa2, 0x79, 0x1a, 0x68, 0xa9, 0xa2, 0x79, 0x2a, 0x88, 0x16, 0x99, 0xdb, 0x39, 0x2c, 0xa6, 0xc1, - 0x14, 0xe8, 0xae, 0x3a, 0x15, 0x99, 0x80, 0x8b, 0x76, 0x6f, 0x74, 0xa7, 0x84, 0xb2, 0x16, 0xcc, - 0x27, 0x30, 0x1f, 0xe5, 0x40, 0x59, 0x20, 0x95, 0x72, 0xa0, 0x4c, 0xc0, 0x28, 0xa2, 0x03, 0x03, - 0x4a, 0x56, 0x7e, 0x50, 0xe4, 0x21, 0x9e, 0x51, 0x80, 0x52, 0xe1, 0x7e, 0x44, 0xe1, 0x48, 0x05, - 0xaa, 0x16, 0xcc, 0x27, 0x8a, 0x3d, 0x6a, 0x2a, 0x59, 0xd5, 0x25, 0x35, 0x95, 0xcc, 0x4a, 0x51, - 0x64, 0x2a, 0x1e, 0xdc, 0x48, 0x07, 0x38, 0xd0, 0x7b, 0x91, 0xed, 0xcd, 0xc6, 0x56, 0xb4, 0xfb, - 0xdf, 0xd5, 0x6d, 0xe8, 0xf8, 0x9d, 0xc2, 0x5c, 0x2c, 0x37, 0x57, 0x4e, 0x96, 0x86, 0x98, 0x28, - 0x27, 0x4b, 0x47, 0x2b, 0x02, 0xd7, 0x75, 0x86, 0xe0, 0x8c, 0x20, 0xe3, 0x47, 0xf7, 0x52, 0xc7, - 0x0f, 0x61, 0x1a, 0xda, 0x7b, 0xdf, 0xd1, 0x2b, 0xf9, 0xce, 0x1d, 0xce, 0xf4, 0xa3, 0x89, 0x60, - 0x2a, 0xb0, 0x10, 0x4d, 0x04, 0x33, 0x40, 0x82, 0x98, 0xf8, 0x78, 0xca, 0x1e, 0x15, 0x9f, 0x0a, - 0x23, 0x44, 0xc5, 0x67, 0x64, 0xfb, 0x81, 0xf8, 0x0e, 0x2c, 0xa4, 0x24, 0xdc, 0x28, 0xe2, 0x9b, - 0x59, 0x88, 0x80, 0x76, 0x77, 0x64, 0x9f, 0xe4, 0xcb, 0x2b, 0x99, 0x62, 0xab, 0x53, 0x92, 0x99, - 0xd5, 0xab, 0x53, 0x92, 0x9d, 0xa1, 0x07, 0x4a, 0xea, 0x1f, 0xbf, 0x62, 0x9d, 0x1d, 0xb3, 0xb5, - 0x6e, 0x79, 0xbd, 0xc7, 0xe2, 0xf3, 0x23, 0x8f, 0x9c, 0x3d, 0x16, 0x22, 0x1e, 0xf3, 0x9f, 0xec, - 0x1f, 0x9f, 0x79, 0xb2, 0xdd, 0x6f, 0xb5, 0xf2, 0x9c, 0xf4, 0xe4, 0xbf, 0x01, 0x00, 0x00, 0xff, - 0xff, 0x99, 0x62, 0x61, 0x2b, 0xb5, 0x2f, 0x00, 0x00, +var File_repository_service_proto protoreflect.FileDescriptor + +var file_repository_service_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x2d, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 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, 0x53, 0x0a, 0x17, + 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x45, 0x78, 0x69, 0x73, 0x74, 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, 0x32, 0x0a, 0x18, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x45, + 0x78, 0x69, 0x73, 0x74, 0x73, 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, 0x54, 0x0a, 0x18, 0x52, 0x65, 0x70, 0x61, 0x63, 0x6b, 0x49, + 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 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, 0x1b, 0x0a, 0x19, 0x52, + 0x65, 0x70, 0x61, 0x63, 0x6b, 0x49, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x72, 0x0a, 0x11, 0x52, 0x65, 0x70, 0x61, + 0x63, 0x6b, 0x46, 0x75, 0x6c, 0x6c, 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, 0x23, 0x0a, 0x0d, 0x63, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x5f, 0x62, 0x69, 0x74, 0x6d, 0x61, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, + 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x69, 0x74, 0x6d, 0x61, 0x70, 0x22, 0x14, 0x0a, 0x12, + 0x52, 0x65, 0x70, 0x61, 0x63, 0x6b, 0x46, 0x75, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x4d, 0x0a, 0x11, 0x4d, 0x69, 0x64, 0x78, 0x52, 0x65, 0x70, 0x61, 0x63, 0x6b, + 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, 0x14, 0x0a, 0x12, 0x4d, 0x69, 0x64, 0x78, 0x52, 0x65, 0x70, 0x61, 0x63, 0x6b, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x8c, 0x01, 0x0a, 0x15, 0x47, 0x61, 0x72, 0x62, + 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 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, 0x23, 0x0a, 0x0d, 0x63, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x62, 0x69, 0x74, 0x6d, 0x61, 0x70, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x0c, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x69, 0x74, 0x6d, 0x61, 0x70, + 0x12, 0x14, 0x0a, 0x05, 0x70, 0x72, 0x75, 0x6e, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x05, 0x70, 0x72, 0x75, 0x6e, 0x65, 0x22, 0x18, 0x0a, 0x16, 0x47, 0x61, 0x72, 0x62, 0x61, 0x67, + 0x65, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0xcb, 0x01, 0x0a, 0x17, 0x57, 0x72, 0x69, 0x74, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, + 0x47, 0x72, 0x61, 0x70, 0x68, 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, 0x53, 0x0a, 0x0d, 0x73, 0x70, 0x6c, 0x69, 0x74, 0x53, + 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x57, 0x72, 0x69, 0x74, 0x65, 0x43, 0x6f, 0x6d, 0x6d, + 0x69, 0x74, 0x47, 0x72, 0x61, 0x70, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x53, + 0x70, 0x6c, 0x69, 0x74, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x0d, 0x73, 0x70, + 0x6c, 0x69, 0x74, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x22, 0x21, 0x0a, 0x0d, 0x53, + 0x70, 0x6c, 0x69, 0x74, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x12, 0x10, 0x0a, 0x0c, + 0x53, 0x69, 0x7a, 0x65, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x10, 0x00, 0x22, 0x1a, + 0x0a, 0x18, 0x57, 0x72, 0x69, 0x74, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x47, 0x72, 0x61, + 0x70, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4a, 0x0a, 0x0e, 0x43, 0x6c, + 0x65, 0x61, 0x6e, 0x75, 0x70, 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, 0x11, 0x0a, 0x0f, 0x43, 0x6c, 0x65, 0x61, 0x6e, 0x75, + 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x51, 0x0a, 0x15, 0x52, 0x65, 0x70, + 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x53, 0x69, 0x7a, 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, 0x22, 0x2c, 0x0a, 0x16, + 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x53, 0x69, 0x7a, 0x65, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x22, 0x71, 0x0a, 0x19, 0x41, 0x70, + 0x70, 0x6c, 0x79, 0x47, 0x69, 0x74, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, + 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, + 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, + 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x1c, 0x0a, + 0x1a, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x47, 0x69, 0x74, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, + 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xed, 0x02, 0x0a, 0x12, + 0x46, 0x65, 0x74, 0x63, 0x68, 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, 0x16, 0x0a, 0x06, + 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, + 0x6d, 0x6f, 0x74, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x6e, 0x6f, + 0x5f, 0x74, 0x61, 0x67, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x6e, 0x6f, 0x54, + 0x61, 0x67, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x17, 0x0a, + 0x07, 0x73, 0x73, 0x68, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x06, 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, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6b, 0x6e, 0x6f, + 0x77, 0x6e, 0x48, 0x6f, 0x73, 0x74, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x6e, 0x6f, 0x5f, 0x70, 0x72, + 0x75, 0x6e, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x6e, 0x6f, 0x50, 0x72, 0x75, + 0x6e, 0x65, 0x12, 0x33, 0x0a, 0x0d, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x70, 0x61, 0x72, + 0x61, 0x6d, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x67, 0x69, 0x74, 0x61, + 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x52, 0x0c, 0x72, 0x65, 0x6d, 0x6f, 0x74, + 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x2c, 0x0a, 0x12, 0x63, 0x68, 0x65, 0x63, 0x6b, + 0x5f, 0x74, 0x61, 0x67, 0x73, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x18, 0x0b, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x10, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x54, 0x61, 0x67, 0x73, 0x43, 0x68, + 0x61, 0x6e, 0x67, 0x65, 0x64, 0x4a, 0x04, 0x08, 0x08, 0x10, 0x09, 0x22, 0x38, 0x0a, 0x13, 0x46, + 0x65, 0x74, 0x63, 0x68, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x74, 0x61, 0x67, 0x73, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, + 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x74, 0x61, 0x67, 0x73, 0x43, 0x68, + 0x61, 0x6e, 0x67, 0x65, 0x64, 0x22, 0x53, 0x0a, 0x17, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, + 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 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, 0x1a, 0x0a, 0x18, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xea, 0x02, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x41, 0x72, + 0x63, 0x68, 0x69, 0x76, 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, 0x1b, 0x0a, 0x09, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, + 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6f, 0x6d, 0x6d, 0x69, + 0x74, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x12, 0x38, 0x0a, 0x06, 0x66, + 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x20, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x52, 0x06, 0x66, + 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x78, 0x63, + 0x6c, 0x75, 0x64, 0x65, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x07, 0x65, 0x78, 0x63, 0x6c, + 0x75, 0x64, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x6c, 0x69, 0x64, 0x65, 0x5f, 0x70, 0x61, 0x74, + 0x68, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x65, 0x6c, 0x69, 0x64, 0x65, 0x50, 0x61, + 0x74, 0x68, 0x12, 0x2a, 0x0a, 0x11, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x6c, 0x66, + 0x73, 0x5f, 0x62, 0x6c, 0x6f, 0x62, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x69, + 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x4c, 0x66, 0x73, 0x42, 0x6c, 0x6f, 0x62, 0x73, 0x22, 0x33, + 0x0a, 0x06, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x07, 0x0a, 0x03, 0x5a, 0x49, 0x50, 0x10, + 0x00, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x41, 0x52, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x54, 0x41, + 0x52, 0x5f, 0x47, 0x5a, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x54, 0x41, 0x52, 0x5f, 0x42, 0x5a, + 0x32, 0x10, 0x03, 0x22, 0x28, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, + 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, + 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x53, 0x0a, + 0x17, 0x48, 0x61, 0x73, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 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, 0x30, 0x0a, 0x18, 0x48, 0x61, 0x73, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x42, 0x72, + 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, + 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x22, 0xd9, 0x01, 0x0a, 0x18, 0x46, 0x65, 0x74, 0x63, 0x68, 0x53, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 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, 0x73, + 0x6f, 0x75, 0x72, 0x63, 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, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x23, 0x0a, 0x0d, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, + 0x68, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x72, 0x65, 0x66, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x66, + 0x22, 0x33, 0x0a, 0x19, 0x46, 0x65, 0x74, 0x63, 0x68, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x42, + 0x72, 0x61, 0x6e, 0x63, 0x68, 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, 0x47, 0x0a, 0x0b, 0x46, 0x73, 0x63, 0x6b, 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, 0x24, + 0x0a, 0x0c, 0x46, 0x73, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, + 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x65, + 0x72, 0x72, 0x6f, 0x72, 0x22, 0xb8, 0x01, 0x0a, 0x0f, 0x57, 0x72, 0x69, 0x74, 0x65, 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, 0x10, 0x0a, 0x03, 0x72, 0x65, 0x66, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x03, 0x72, 0x65, 0x66, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, + 0x12, 0x21, 0x0a, 0x0c, 0x6f, 0x6c, 0x64, 0x5f, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x6f, 0x6c, 0x64, 0x52, 0x65, 0x76, 0x69, 0x73, + 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x4a, 0x04, 0x08, 0x06, 0x10, 0x07, 0x22, + 0x18, 0x0a, 0x10, 0x57, 0x72, 0x69, 0x74, 0x65, 0x52, 0x65, 0x66, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x22, 0x6e, 0x0a, 0x14, 0x46, 0x69, 0x6e, + 0x64, 0x4d, 0x65, 0x72, 0x67, 0x65, 0x42, 0x61, 0x73, 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, 0x1c, 0x0a, 0x09, 0x72, + 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x09, + 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x2b, 0x0a, 0x15, 0x46, 0x69, 0x6e, + 0x64, 0x4d, 0x65, 0x72, 0x67, 0x65, 0x42, 0x61, 0x73, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x62, 0x61, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x04, 0x62, 0x61, 0x73, 0x65, 0x22, 0x8e, 0x01, 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x46, 0x6f, 0x72, 0x6b, 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, 0x73, 0x6f, 0x75, 0x72, 0x63, 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, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x70, + 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x22, 0x14, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x46, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x72, 0x0a, + 0x19, 0x49, 0x73, 0x52, 0x65, 0x62, 0x61, 0x73, 0x65, 0x49, 0x6e, 0x50, 0x72, 0x6f, 0x67, 0x72, + 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, + 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, + 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, + 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, + 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x69, + 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x62, 0x61, 0x73, 0x65, 0x49, + 0x64, 0x22, 0x3d, 0x0a, 0x1a, 0x49, 0x73, 0x52, 0x65, 0x62, 0x61, 0x73, 0x65, 0x49, 0x6e, 0x50, + 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x1f, 0x0a, 0x0b, 0x69, 0x6e, 0x5f, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x6e, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, + 0x22, 0x72, 0x0a, 0x19, 0x49, 0x73, 0x53, 0x71, 0x75, 0x61, 0x73, 0x68, 0x49, 0x6e, 0x50, 0x72, + 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, + 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, + 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, + 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x71, 0x75, 0x61, 0x73, + 0x68, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x71, 0x75, 0x61, + 0x73, 0x68, 0x49, 0x64, 0x22, 0x3d, 0x0a, 0x1a, 0x49, 0x73, 0x53, 0x71, 0x75, 0x61, 0x73, 0x68, + 0x49, 0x6e, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x6e, 0x5f, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, + 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x6e, 0x50, 0x72, 0x6f, 0x67, 0x72, + 0x65, 0x73, 0x73, 0x22, 0x6c, 0x0a, 0x1e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, + 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x46, 0x72, 0x6f, 0x6d, 0x55, 0x52, 0x4c, 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, + 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, + 0x6c, 0x22, 0x21, 0x0a, 0x1f, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, + 0x69, 0x74, 0x6f, 0x72, 0x79, 0x46, 0x72, 0x6f, 0x6d, 0x55, 0x52, 0x4c, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4f, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x75, + 0x6e, 0x64, 0x6c, 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, 0x22, 0x2a, 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, + 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, + 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, + 0x61, 0x22, 0x4c, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 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, + 0x27, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x8e, 0x02, 0x0a, 0x10, 0x53, 0x65, 0x74, + 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 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, 0x38, 0x0a, 0x07, 0x65, 0x6e, 0x74, 0x72, 0x69, + 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, + 0x79, 0x2e, 0x53, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x2e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x65, 0x6e, 0x74, 0x72, 0x69, 0x65, + 0x73, 0x1a, 0x85, 0x01, 0x0a, 0x05, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, + 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x1d, 0x0a, + 0x09, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x73, 0x74, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x48, 0x00, 0x52, 0x08, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x53, 0x74, 0x72, 0x12, 0x21, 0x0a, 0x0b, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x05, 0x48, 0x00, 0x52, 0x0a, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x12, + 0x1f, 0x0a, 0x0a, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x09, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x6f, 0x6f, 0x6c, + 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x13, 0x0a, 0x11, 0x53, 0x65, 0x74, + 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x63, + 0x0a, 0x13, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 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, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x6b, + 0x65, 0x79, 0x73, 0x22, 0x16, 0x0a, 0x14, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, 0x6e, + 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x69, 0x0a, 0x19, 0x52, + 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x48, 0x6f, 0x6f, 0x6b, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, + 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, + 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, + 0x72, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x1c, 0x0a, 0x1a, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, + 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x48, 0x6f, 0x6f, 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x54, 0x0a, 0x18, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x43, 0x75, + 0x73, 0x74, 0x6f, 0x6d, 0x48, 0x6f, 0x6f, 0x6b, 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, 0x2f, 0x0a, 0x19, 0x42, 0x61, + 0x63, 0x6b, 0x75, 0x70, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x48, 0x6f, 0x6f, 0x6b, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x71, 0x0a, 0x21, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x46, + 0x72, 0x6f, 0x6d, 0x42, 0x75, 0x6e, 0x64, 0x6c, 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, 0x64, 0x61, + 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x24, + 0x0a, 0x22, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, + 0x72, 0x79, 0x46, 0x72, 0x6f, 0x6d, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4e, 0x0a, 0x12, 0x46, 0x69, 0x6e, 0x64, 0x4c, 0x69, 0x63, 0x65, + 0x6e, 0x73, 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, 0x22, 0x43, 0x0a, 0x13, 0x46, 0x69, 0x6e, 0x64, 0x4c, 0x69, 0x63, 0x65, + 0x6e, 0x73, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x6c, + 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x5f, 0x73, 0x68, 0x6f, 0x72, 0x74, 0x5f, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x6c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, + 0x53, 0x68, 0x6f, 0x72, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x54, 0x0a, 0x18, 0x47, 0x65, 0x74, + 0x49, 0x6e, 0x66, 0x6f, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 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, + 0x3b, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, + 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1e, 0x0a, 0x0a, + 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x22, 0x54, 0x0a, 0x18, + 0x43, 0x61, 0x6c, 0x63, 0x75, 0x6c, 0x61, 0x74, 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, + 0x6d, 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, 0x37, 0x0a, 0x19, 0x43, 0x61, 0x6c, 0x63, 0x75, 0x6c, 0x61, 0x74, 0x65, 0x43, + 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x1a, 0x0a, 0x08, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x08, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x22, 0x4e, 0x0a, 0x12, 0x47, + 0x65, 0x74, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 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, 0x29, 0x0a, 0x13, 0x47, + 0x65, 0x74, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x97, 0x01, 0x0a, 0x23, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x46, 0x72, 0x6f, 0x6d, 0x53, + 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 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, 0x68, 0x74, 0x74, 0x70, + 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x68, 0x74, 0x74, 0x70, + 0x55, 0x72, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x68, 0x74, 0x74, 0x70, 0x5f, 0x61, 0x75, 0x74, 0x68, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x68, 0x74, 0x74, 0x70, 0x41, 0x75, 0x74, 0x68, + 0x22, 0x26, 0x0a, 0x24, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, + 0x74, 0x6f, 0x72, 0x79, 0x46, 0x72, 0x6f, 0x6d, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x96, 0x01, 0x0a, 0x14, 0x47, 0x65, 0x74, + 0x52, 0x61, 0x77, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, + 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, + 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x23, 0x0a, 0x0d, 0x66, + 0x72, 0x6f, 0x6d, 0x5f, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0c, 0x66, 0x72, 0x6f, 0x6d, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, + 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x6f, 0x5f, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x74, 0x6f, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, + 0x6e, 0x22, 0xbd, 0x04, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x52, 0x61, 0x77, 0x43, 0x68, 0x61, 0x6e, + 0x67, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x48, 0x0a, 0x0b, 0x72, + 0x61, 0x77, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x27, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x61, 0x77, + 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, + 0x52, 0x61, 0x77, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x0a, 0x72, 0x61, 0x77, 0x43, 0x68, + 0x61, 0x6e, 0x67, 0x65, 0x73, 0x1a, 0xd9, 0x03, 0x0a, 0x09, 0x52, 0x61, 0x77, 0x43, 0x68, 0x61, + 0x6e, 0x67, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x62, 0x6c, 0x6f, 0x62, 0x5f, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x62, 0x6c, 0x6f, 0x62, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, + 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, + 0x12, 0x1d, 0x0a, 0x08, 0x6e, 0x65, 0x77, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x07, 0x6e, 0x65, 0x77, 0x50, 0x61, 0x74, 0x68, 0x12, + 0x1d, 0x0a, 0x08, 0x6f, 0x6c, 0x64, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x07, 0x6f, 0x6c, 0x64, 0x50, 0x61, 0x74, 0x68, 0x12, 0x4f, + 0x0a, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x0e, 0x32, 0x31, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x61, + 0x77, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x2e, 0x52, 0x61, 0x77, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, + 0x23, 0x0a, 0x0d, 0x72, 0x61, 0x77, 0x5f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x61, 0x77, 0x4f, 0x70, 0x65, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x6c, 0x64, 0x5f, 0x6d, 0x6f, 0x64, 0x65, + 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x6f, 0x6c, 0x64, 0x4d, 0x6f, 0x64, 0x65, 0x12, + 0x19, 0x0a, 0x08, 0x6e, 0x65, 0x77, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x07, 0x6e, 0x65, 0x77, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x6e, 0x65, + 0x77, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x09, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x0c, 0x6e, 0x65, 0x77, 0x50, 0x61, 0x74, 0x68, 0x42, 0x79, 0x74, 0x65, 0x73, + 0x12, 0x24, 0x0a, 0x0e, 0x6f, 0x6c, 0x64, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x5f, 0x62, 0x79, 0x74, + 0x65, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x6c, 0x64, 0x50, 0x61, 0x74, + 0x68, 0x42, 0x79, 0x74, 0x65, 0x73, 0x22, 0x69, 0x0a, 0x09, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, + 0x12, 0x09, 0x0a, 0x05, 0x41, 0x44, 0x44, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x43, + 0x4f, 0x50, 0x49, 0x45, 0x44, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x44, 0x45, 0x4c, 0x45, 0x54, + 0x45, 0x44, 0x10, 0x03, 0x12, 0x0c, 0x0a, 0x08, 0x4d, 0x4f, 0x44, 0x49, 0x46, 0x49, 0x45, 0x44, + 0x10, 0x04, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x45, 0x4e, 0x41, 0x4d, 0x45, 0x44, 0x10, 0x05, 0x12, + 0x10, 0x0a, 0x0c, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x44, 0x10, + 0x06, 0x22, 0x94, 0x01, 0x0a, 0x18, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x46, 0x69, 0x6c, 0x65, + 0x73, 0x42, 0x79, 0x4e, 0x61, 0x6d, 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, 0x14, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, + 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, 0x10, + 0x0a, 0x03, 0x72, 0x65, 0x66, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x72, 0x65, 0x66, + 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0x31, 0x0a, 0x19, 0x53, 0x65, 0x61, 0x72, + 0x63, 0x68, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x0c, 0x52, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x22, 0xaa, 0x01, 0x0a, 0x1b, + 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x42, 0x79, 0x43, 0x6f, 0x6e, + 0x74, 0x65, 0x6e, 0x74, 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, 0x14, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x72, + 0x65, 0x66, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x72, 0x65, 0x66, 0x12, 0x29, 0x0a, + 0x10, 0x63, 0x68, 0x75, 0x6e, 0x6b, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x63, 0x68, 0x75, 0x6e, 0x6b, 0x65, 0x64, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x79, 0x0a, 0x1c, 0x53, 0x65, 0x61, 0x72, + 0x63, 0x68, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x42, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x61, 0x74, 0x63, + 0x68, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x07, 0x6d, 0x61, 0x74, 0x63, 0x68, + 0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x64, 0x61, 0x74, 0x61, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x44, 0x61, 0x74, + 0x61, 0x12, 0x20, 0x0a, 0x0c, 0x65, 0x6e, 0x64, 0x5f, 0x6f, 0x66, 0x5f, 0x6d, 0x61, 0x74, 0x63, + 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x65, 0x6e, 0x64, 0x4f, 0x66, 0x4d, 0x61, + 0x74, 0x63, 0x68, 0x22, 0x89, 0x01, 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, 0x03, 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, 0x12, 0x25, 0x0a, 0x0e, + 0x6d, 0x69, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x72, 0x65, 0x66, 0x6d, 0x61, 0x70, 0x73, 0x18, 0x04, + 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x6d, 0x69, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x65, 0x66, 0x6d, + 0x61, 0x70, 0x73, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, + 0x59, 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x44, 0x69, 0x72, 0x65, + 0x63, 0x74, 0x6f, 0x72, 0x79, 0x53, 0x69, 0x7a, 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, 0x22, 0x34, 0x0a, 0x1e, 0x47, 0x65, + 0x74, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, + 0x53, 0x69, 0x7a, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, + 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, + 0x22, 0xa0, 0x01, 0x0a, 0x14, 0x43, 0x6c, 0x6f, 0x6e, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x50, 0x6f, + 0x6f, 0x6c, 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, 0x26, 0x0a, 0x04, 0x70, 0x6f, 0x6f, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, + 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x04, 0x70, 0x6f, 0x6f, 0x6c, 0x12, 0x26, 0x0a, 0x06, 0x72, + 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x52, 0x06, 0x72, 0x65, 0x6d, + 0x6f, 0x74, 0x65, 0x22, 0x17, 0x0a, 0x15, 0x43, 0x6c, 0x6f, 0x6e, 0x65, 0x46, 0x72, 0x6f, 0x6d, + 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xc1, 0x01, 0x0a, + 0x1c, 0x43, 0x6c, 0x6f, 0x6e, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x50, 0x6f, 0x6f, 0x6c, 0x49, 0x6e, + 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 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, 0x26, 0x0a, 0x04, 0x70, 0x6f, 0x6f, 0x6c, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4f, + 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x04, 0x70, 0x6f, 0x6f, 0x6c, 0x12, + 0x3f, 0x0a, 0x11, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, + 0x74, 0x6f, 0x72, 0x79, 0x18, 0x03, 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, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, + 0x22, 0x1f, 0x0a, 0x1d, 0x43, 0x6c, 0x6f, 0x6e, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x50, 0x6f, 0x6f, + 0x6c, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x53, 0x0a, 0x17, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, + 0x69, 0x74, 0x6f, 0x72, 0x79, 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, 0x1a, 0x0a, 0x18, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, + 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x78, 0x0a, 0x17, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x70, 0x6f, + 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 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, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x6c, 0x61, 0x74, + 0x69, 0x76, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, + 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x50, 0x61, 0x74, 0x68, 0x22, 0x1a, 0x0a, 0x18, + 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x82, 0x01, 0x0a, 0x1a, 0x52, 0x65, 0x70, + 0x6c, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, + 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, 0x2a, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 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, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, 0x1d, 0x0a, + 0x1b, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, + 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x55, 0x0a, 0x19, + 0x4f, 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, + 0x72, 0x79, 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, 0x1c, 0x0a, 0x1a, 0x4f, 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a, 0x65, 0x52, + 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x32, 0xa7, 0x1f, 0x0a, 0x11, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, + 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x5d, 0x0a, 0x10, 0x52, 0x65, 0x70, 0x6f, 0x73, + 0x69, 0x74, 0x6f, 0x72, 0x79, 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x12, 0x1f, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x45, + 0x78, 0x69, 0x73, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, + 0x45, 0x78, 0x69, 0x73, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, + 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x12, 0x60, 0x0a, 0x11, 0x52, 0x65, 0x70, 0x61, 0x63, 0x6b, + 0x49, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x12, 0x20, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x61, 0x63, 0x6b, 0x49, 0x6e, 0x63, 0x72, 0x65, + 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x61, 0x63, 0x6b, 0x49, 0x6e, 0x63, + 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x4b, 0x0a, 0x0a, 0x52, 0x65, 0x70, 0x61, + 0x63, 0x6b, 0x46, 0x75, 0x6c, 0x6c, 0x12, 0x19, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x52, 0x65, 0x70, 0x61, 0x63, 0x6b, 0x46, 0x75, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x1a, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x61, 0x63, + 0x6b, 0x46, 0x75, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, + 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x4b, 0x0a, 0x0a, 0x4d, 0x69, 0x64, 0x78, 0x52, 0x65, 0x70, + 0x61, 0x63, 0x6b, 0x12, 0x19, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4d, 0x69, 0x64, + 0x78, 0x52, 0x65, 0x70, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, + 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4d, 0x69, 0x64, 0x78, 0x52, 0x65, 0x70, 0x61, + 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, + 0x08, 0x01, 0x12, 0x57, 0x0a, 0x0e, 0x47, 0x61, 0x72, 0x62, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6c, + 0x6c, 0x65, 0x63, 0x74, 0x12, 0x1d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x61, + 0x72, 0x62, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x61, 0x72, + 0x62, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x5d, 0x0a, 0x10, 0x57, + 0x72, 0x69, 0x74, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x47, 0x72, 0x61, 0x70, 0x68, 0x12, + 0x1f, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x57, 0x72, 0x69, 0x74, 0x65, 0x43, 0x6f, + 0x6d, 0x6d, 0x69, 0x74, 0x47, 0x72, 0x61, 0x70, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x20, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x57, 0x72, 0x69, 0x74, 0x65, 0x43, + 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x47, 0x72, 0x61, 0x70, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x57, 0x0a, 0x0e, 0x52, 0x65, + 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, + 0x53, 0x69, 0x7a, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x53, + 0x69, 0x7a, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, + 0x02, 0x08, 0x02, 0x12, 0x63, 0x0a, 0x12, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x47, 0x69, 0x74, 0x61, + 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x21, 0x2e, 0x67, 0x69, 0x74, 0x61, + 0x6c, 0x79, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x47, 0x69, 0x74, 0x61, 0x74, 0x74, 0x72, 0x69, + 0x62, 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x47, 0x69, 0x74, 0x61, 0x74, + 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x4e, 0x0a, 0x0b, 0x46, 0x65, 0x74, 0x63, + 0x68, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x12, 0x1a, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, + 0x2e, 0x46, 0x65, 0x74, 0x63, 0x68, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x65, 0x74, + 0x63, 0x68, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x5d, 0x0a, 0x10, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1f, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, + 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, + 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x4d, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x41, 0x72, + 0x63, 0x68, 0x69, 0x76, 0x65, 0x12, 0x19, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, + 0x65, 0x74, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x1a, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x72, 0x63, + 0x68, 0x69, 0x76, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, + 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x5d, 0x0a, 0x10, 0x48, 0x61, 0x73, 0x4c, 0x6f, 0x63, + 0x61, 0x6c, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x73, 0x12, 0x1f, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x48, 0x61, 0x73, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x42, 0x72, 0x61, 0x6e, + 0x63, 0x68, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x48, 0x61, 0x73, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x42, 0x72, 0x61, + 0x6e, 0x63, 0x68, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, + 0x97, 0x28, 0x02, 0x08, 0x02, 0x12, 0x60, 0x0a, 0x11, 0x46, 0x65, 0x74, 0x63, 0x68, 0x53, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x20, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x65, 0x74, 0x63, 0x68, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x42, + 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x65, 0x74, 0x63, 0x68, 0x53, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x39, 0x0a, 0x04, 0x46, 0x73, 0x63, 0x6b, 0x12, + 0x13, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x73, 0x63, 0x6b, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x73, + 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, + 0x08, 0x02, 0x12, 0x45, 0x0a, 0x08, 0x57, 0x72, 0x69, 0x74, 0x65, 0x52, 0x65, 0x66, 0x12, 0x17, + 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x57, 0x72, 0x69, 0x74, 0x65, 0x52, 0x65, 0x66, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, + 0x2e, 0x57, 0x72, 0x69, 0x74, 0x65, 0x52, 0x65, 0x66, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x54, 0x0a, 0x0d, 0x46, 0x69, 0x6e, + 0x64, 0x4d, 0x65, 0x72, 0x67, 0x65, 0x42, 0x61, 0x73, 0x65, 0x12, 0x1c, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4d, 0x65, 0x72, 0x67, 0x65, 0x42, 0x61, 0x73, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, + 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x4d, 0x65, 0x72, 0x67, 0x65, 0x42, 0x61, 0x73, 0x65, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x12, + 0x4b, 0x0a, 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x6f, 0x72, 0x6b, 0x12, 0x19, 0x2e, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x6f, 0x72, + 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, + 0x79, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x63, 0x0a, 0x12, + 0x49, 0x73, 0x52, 0x65, 0x62, 0x61, 0x73, 0x65, 0x49, 0x6e, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, + 0x73, 0x73, 0x12, 0x21, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x49, 0x73, 0x52, 0x65, + 0x62, 0x61, 0x73, 0x65, 0x49, 0x6e, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x49, + 0x73, 0x52, 0x65, 0x62, 0x61, 0x73, 0x65, 0x49, 0x6e, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, + 0x02, 0x12, 0x63, 0x0a, 0x12, 0x49, 0x73, 0x53, 0x71, 0x75, 0x61, 0x73, 0x68, 0x49, 0x6e, 0x50, + 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x21, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, + 0x2e, 0x49, 0x73, 0x53, 0x71, 0x75, 0x61, 0x73, 0x68, 0x49, 0x6e, 0x50, 0x72, 0x6f, 0x67, 0x72, + 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x49, 0x73, 0x53, 0x71, 0x75, 0x61, 0x73, 0x68, 0x49, 0x6e, 0x50, 0x72, + 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, + 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x12, 0x72, 0x0a, 0x17, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x46, 0x72, 0x6f, 0x6d, 0x55, 0x52, + 0x4c, 0x12, 0x26, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x46, 0x72, 0x6f, 0x6d, 0x55, + 0x52, 0x4c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x67, 0x69, 0x74, 0x61, + 0x6c, 0x79, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, + 0x6f, 0x72, 0x79, 0x46, 0x72, 0x6f, 0x6d, 0x55, 0x52, 0x4c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x53, 0x0a, 0x0c, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x12, 0x1b, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, + 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, + 0x7d, 0x0a, 0x1a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, + 0x6f, 0x72, 0x79, 0x46, 0x72, 0x6f, 0x6d, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x12, 0x29, 0x2e, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, + 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x46, 0x72, 0x6f, 0x6d, 0x42, 0x75, 0x6e, 0x64, 0x6c, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, + 0x79, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, + 0x72, 0x79, 0x46, 0x72, 0x6f, 0x6d, 0x42, 0x75, 0x6e, 0x64, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x28, 0x01, 0x12, 0x4a, + 0x0a, 0x09, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x18, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, + 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x48, 0x0a, 0x09, 0x53, 0x65, + 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x18, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, + 0x2e, 0x53, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x19, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x53, 0x65, 0x74, 0x43, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, + 0x28, 0x02, 0x08, 0x01, 0x12, 0x51, 0x0a, 0x0c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1b, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x44, 0x65, + 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x1c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, + 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x4e, 0x0a, 0x0b, 0x46, 0x69, 0x6e, 0x64, 0x4c, + 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x46, 0x69, 0x6e, 0x64, 0x4c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x46, 0x69, 0x6e, 0x64, + 0x4c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x12, 0x62, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x49, 0x6e, + 0x66, 0x6f, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x20, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x41, 0x74, 0x74, + 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, + 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x41, + 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x60, 0x0a, 0x11, 0x43, + 0x61, 0x6c, 0x63, 0x75, 0x6c, 0x61, 0x74, 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, + 0x12, 0x20, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x61, 0x6c, 0x63, 0x75, 0x6c, + 0x61, 0x74, 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x61, 0x6c, 0x63, + 0x75, 0x6c, 0x61, 0x74, 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x12, 0x42, 0x0a, + 0x07, 0x43, 0x6c, 0x65, 0x61, 0x6e, 0x75, 0x70, 0x12, 0x16, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, + 0x79, 0x2e, 0x43, 0x6c, 0x65, 0x61, 0x6e, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x17, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x6c, 0x65, 0x61, 0x6e, 0x75, + 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, + 0x01, 0x12, 0x50, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, + 0x12, 0x1a, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x6e, 0x61, + 0x70, 0x73, 0x68, 0x6f, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, + 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, + 0x02, 0x30, 0x01, 0x12, 0x81, 0x01, 0x0a, 0x1c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, + 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x46, 0x72, 0x6f, 0x6d, 0x53, 0x6e, 0x61, 0x70, + 0x73, 0x68, 0x6f, 0x74, 0x12, 0x2b, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x46, 0x72, + 0x6f, 0x6d, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x2c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x46, 0x72, 0x6f, 0x6d, 0x53, + 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x56, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x52, 0x61, + 0x77, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x12, 0x1c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, + 0x79, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x61, 0x77, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x47, 0x65, 0x74, 0x52, 0x61, 0x77, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, + 0x6b, 0x0a, 0x14, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x42, 0x79, + 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x23, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, + 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x42, 0x79, 0x43, 0x6f, + 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x46, 0x69, 0x6c, 0x65, + 0x73, 0x42, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x62, 0x0a, 0x11, + 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x42, 0x79, 0x4e, 0x61, 0x6d, + 0x65, 0x12, 0x20, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, + 0x68, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x53, 0x65, 0x61, + 0x72, 0x63, 0x68, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x42, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, + 0x12, 0x65, 0x0a, 0x12, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, + 0x6d, 0x48, 0x6f, 0x6f, 0x6b, 0x73, 0x12, 0x21, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x48, 0x6f, 0x6f, + 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x67, 0x69, 0x74, 0x61, + 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, + 0x48, 0x6f, 0x6f, 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, + 0x97, 0x28, 0x02, 0x08, 0x01, 0x28, 0x01, 0x12, 0x62, 0x0a, 0x11, 0x42, 0x61, 0x63, 0x6b, 0x75, + 0x70, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x48, 0x6f, 0x6f, 0x6b, 0x73, 0x12, 0x20, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x43, 0x75, 0x73, 0x74, + 0x6f, 0x6d, 0x48, 0x6f, 0x6f, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, + 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x43, 0x75, + 0x73, 0x74, 0x6f, 0x6d, 0x48, 0x6f, 0x6f, 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x6f, 0x0a, 0x16, 0x47, + 0x65, 0x74, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, + 0x79, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x25, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, + 0x65, 0x74, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, + 0x79, 0x53, 0x69, 0x7a, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x44, + 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x53, 0x69, 0x7a, 0x65, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x12, 0x54, 0x0a, 0x0d, + 0x43, 0x6c, 0x6f, 0x6e, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x50, 0x6f, 0x6f, 0x6c, 0x12, 0x1c, 0x2e, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x6c, 0x6f, 0x6e, 0x65, 0x46, 0x72, 0x6f, 0x6d, + 0x50, 0x6f, 0x6f, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x6c, 0x6f, 0x6e, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x50, 0x6f, + 0x6f, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, + 0x08, 0x01, 0x12, 0x6c, 0x0a, 0x15, 0x43, 0x6c, 0x6f, 0x6e, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x50, + 0x6f, 0x6f, 0x6c, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x12, 0x24, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x6c, 0x6f, 0x6e, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x50, 0x6f, + 0x6f, 0x6c, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x25, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x6c, 0x6f, 0x6e, 0x65, + 0x46, 0x72, 0x6f, 0x6d, 0x50, 0x6f, 0x6f, 0x6c, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, + 0x12, 0x5d, 0x0a, 0x10, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, + 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1f, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, + 0x6d, 0x6f, 0x76, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, + 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, + 0x5d, 0x0a, 0x10, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, + 0x6f, 0x72, 0x79, 0x12, 0x1f, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x6e, + 0x61, 0x6d, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, + 0x6e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x66, + 0x0a, 0x13, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, + 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x22, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, + 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, + 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x67, 0x69, 0x74, 0x61, + 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x65, 0x52, 0x65, 0x70, 0x6f, + 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, + 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x63, 0x0a, 0x12, 0x4f, 0x70, 0x74, 0x69, 0x6d, 0x69, + 0x7a, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x21, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a, 0x65, 0x52, 0x65, + 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x22, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a, + 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x42, 0x30, 0x5a, 0x2e, 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, 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_repository_service_proto_rawDescOnce sync.Once + file_repository_service_proto_rawDescData = file_repository_service_proto_rawDesc +) + +func file_repository_service_proto_rawDescGZIP() []byte { + file_repository_service_proto_rawDescOnce.Do(func() { + file_repository_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_repository_service_proto_rawDescData) + }) + return file_repository_service_proto_rawDescData +} + +var file_repository_service_proto_enumTypes = make([]protoimpl.EnumInfo, 3) +var file_repository_service_proto_msgTypes = make([]protoimpl.MessageInfo, 89) +var file_repository_service_proto_goTypes = []interface{}{ + (WriteCommitGraphRequest_SplitStrategy)(0), // 0: gitaly.WriteCommitGraphRequest.SplitStrategy + (GetArchiveRequest_Format)(0), // 1: gitaly.GetArchiveRequest.Format + (GetRawChangesResponse_RawChange_Operation)(0), // 2: gitaly.GetRawChangesResponse.RawChange.Operation + (*RepositoryExistsRequest)(nil), // 3: gitaly.RepositoryExistsRequest + (*RepositoryExistsResponse)(nil), // 4: gitaly.RepositoryExistsResponse + (*RepackIncrementalRequest)(nil), // 5: gitaly.RepackIncrementalRequest + (*RepackIncrementalResponse)(nil), // 6: gitaly.RepackIncrementalResponse + (*RepackFullRequest)(nil), // 7: gitaly.RepackFullRequest + (*RepackFullResponse)(nil), // 8: gitaly.RepackFullResponse + (*MidxRepackRequest)(nil), // 9: gitaly.MidxRepackRequest + (*MidxRepackResponse)(nil), // 10: gitaly.MidxRepackResponse + (*GarbageCollectRequest)(nil), // 11: gitaly.GarbageCollectRequest + (*GarbageCollectResponse)(nil), // 12: gitaly.GarbageCollectResponse + (*WriteCommitGraphRequest)(nil), // 13: gitaly.WriteCommitGraphRequest + (*WriteCommitGraphResponse)(nil), // 14: gitaly.WriteCommitGraphResponse + (*CleanupRequest)(nil), // 15: gitaly.CleanupRequest + (*CleanupResponse)(nil), // 16: gitaly.CleanupResponse + (*RepositorySizeRequest)(nil), // 17: gitaly.RepositorySizeRequest + (*RepositorySizeResponse)(nil), // 18: gitaly.RepositorySizeResponse + (*ApplyGitattributesRequest)(nil), // 19: gitaly.ApplyGitattributesRequest + (*ApplyGitattributesResponse)(nil), // 20: gitaly.ApplyGitattributesResponse + (*FetchRemoteRequest)(nil), // 21: gitaly.FetchRemoteRequest + (*FetchRemoteResponse)(nil), // 22: gitaly.FetchRemoteResponse + (*CreateRepositoryRequest)(nil), // 23: gitaly.CreateRepositoryRequest + (*CreateRepositoryResponse)(nil), // 24: gitaly.CreateRepositoryResponse + (*GetArchiveRequest)(nil), // 25: gitaly.GetArchiveRequest + (*GetArchiveResponse)(nil), // 26: gitaly.GetArchiveResponse + (*HasLocalBranchesRequest)(nil), // 27: gitaly.HasLocalBranchesRequest + (*HasLocalBranchesResponse)(nil), // 28: gitaly.HasLocalBranchesResponse + (*FetchSourceBranchRequest)(nil), // 29: gitaly.FetchSourceBranchRequest + (*FetchSourceBranchResponse)(nil), // 30: gitaly.FetchSourceBranchResponse + (*FsckRequest)(nil), // 31: gitaly.FsckRequest + (*FsckResponse)(nil), // 32: gitaly.FsckResponse + (*WriteRefRequest)(nil), // 33: gitaly.WriteRefRequest + (*WriteRefResponse)(nil), // 34: gitaly.WriteRefResponse + (*FindMergeBaseRequest)(nil), // 35: gitaly.FindMergeBaseRequest + (*FindMergeBaseResponse)(nil), // 36: gitaly.FindMergeBaseResponse + (*CreateForkRequest)(nil), // 37: gitaly.CreateForkRequest + (*CreateForkResponse)(nil), // 38: gitaly.CreateForkResponse + (*IsRebaseInProgressRequest)(nil), // 39: gitaly.IsRebaseInProgressRequest + (*IsRebaseInProgressResponse)(nil), // 40: gitaly.IsRebaseInProgressResponse + (*IsSquashInProgressRequest)(nil), // 41: gitaly.IsSquashInProgressRequest + (*IsSquashInProgressResponse)(nil), // 42: gitaly.IsSquashInProgressResponse + (*CreateRepositoryFromURLRequest)(nil), // 43: gitaly.CreateRepositoryFromURLRequest + (*CreateRepositoryFromURLResponse)(nil), // 44: gitaly.CreateRepositoryFromURLResponse + (*CreateBundleRequest)(nil), // 45: gitaly.CreateBundleRequest + (*CreateBundleResponse)(nil), // 46: gitaly.CreateBundleResponse + (*GetConfigRequest)(nil), // 47: gitaly.GetConfigRequest + (*GetConfigResponse)(nil), // 48: gitaly.GetConfigResponse + (*SetConfigRequest)(nil), // 49: gitaly.SetConfigRequest + (*SetConfigResponse)(nil), // 50: gitaly.SetConfigResponse + (*DeleteConfigRequest)(nil), // 51: gitaly.DeleteConfigRequest + (*DeleteConfigResponse)(nil), // 52: gitaly.DeleteConfigResponse + (*RestoreCustomHooksRequest)(nil), // 53: gitaly.RestoreCustomHooksRequest + (*RestoreCustomHooksResponse)(nil), // 54: gitaly.RestoreCustomHooksResponse + (*BackupCustomHooksRequest)(nil), // 55: gitaly.BackupCustomHooksRequest + (*BackupCustomHooksResponse)(nil), // 56: gitaly.BackupCustomHooksResponse + (*CreateRepositoryFromBundleRequest)(nil), // 57: gitaly.CreateRepositoryFromBundleRequest + (*CreateRepositoryFromBundleResponse)(nil), // 58: gitaly.CreateRepositoryFromBundleResponse + (*FindLicenseRequest)(nil), // 59: gitaly.FindLicenseRequest + (*FindLicenseResponse)(nil), // 60: gitaly.FindLicenseResponse + (*GetInfoAttributesRequest)(nil), // 61: gitaly.GetInfoAttributesRequest + (*GetInfoAttributesResponse)(nil), // 62: gitaly.GetInfoAttributesResponse + (*CalculateChecksumRequest)(nil), // 63: gitaly.CalculateChecksumRequest + (*CalculateChecksumResponse)(nil), // 64: gitaly.CalculateChecksumResponse + (*GetSnapshotRequest)(nil), // 65: gitaly.GetSnapshotRequest + (*GetSnapshotResponse)(nil), // 66: gitaly.GetSnapshotResponse + (*CreateRepositoryFromSnapshotRequest)(nil), // 67: gitaly.CreateRepositoryFromSnapshotRequest + (*CreateRepositoryFromSnapshotResponse)(nil), // 68: gitaly.CreateRepositoryFromSnapshotResponse + (*GetRawChangesRequest)(nil), // 69: gitaly.GetRawChangesRequest + (*GetRawChangesResponse)(nil), // 70: gitaly.GetRawChangesResponse + (*SearchFilesByNameRequest)(nil), // 71: gitaly.SearchFilesByNameRequest + (*SearchFilesByNameResponse)(nil), // 72: gitaly.SearchFilesByNameResponse + (*SearchFilesByContentRequest)(nil), // 73: gitaly.SearchFilesByContentRequest + (*SearchFilesByContentResponse)(nil), // 74: gitaly.SearchFilesByContentResponse + (*Remote)(nil), // 75: gitaly.Remote + (*GetObjectDirectorySizeRequest)(nil), // 76: gitaly.GetObjectDirectorySizeRequest + (*GetObjectDirectorySizeResponse)(nil), // 77: gitaly.GetObjectDirectorySizeResponse + (*CloneFromPoolRequest)(nil), // 78: gitaly.CloneFromPoolRequest + (*CloneFromPoolResponse)(nil), // 79: gitaly.CloneFromPoolResponse + (*CloneFromPoolInternalRequest)(nil), // 80: gitaly.CloneFromPoolInternalRequest + (*CloneFromPoolInternalResponse)(nil), // 81: gitaly.CloneFromPoolInternalResponse + (*RemoveRepositoryRequest)(nil), // 82: gitaly.RemoveRepositoryRequest + (*RemoveRepositoryResponse)(nil), // 83: gitaly.RemoveRepositoryResponse + (*RenameRepositoryRequest)(nil), // 84: gitaly.RenameRepositoryRequest + (*RenameRepositoryResponse)(nil), // 85: gitaly.RenameRepositoryResponse + (*ReplicateRepositoryRequest)(nil), // 86: gitaly.ReplicateRepositoryRequest + (*ReplicateRepositoryResponse)(nil), // 87: gitaly.ReplicateRepositoryResponse + (*OptimizeRepositoryRequest)(nil), // 88: gitaly.OptimizeRepositoryRequest + (*OptimizeRepositoryResponse)(nil), // 89: gitaly.OptimizeRepositoryResponse + (*SetConfigRequest_Entry)(nil), // 90: gitaly.SetConfigRequest.Entry + (*GetRawChangesResponse_RawChange)(nil), // 91: gitaly.GetRawChangesResponse.RawChange + (*Repository)(nil), // 92: gitaly.Repository + (*ObjectPool)(nil), // 93: gitaly.ObjectPool +} +var file_repository_service_proto_depIdxs = []int32{ + 92, // 0: gitaly.RepositoryExistsRequest.repository:type_name -> gitaly.Repository + 92, // 1: gitaly.RepackIncrementalRequest.repository:type_name -> gitaly.Repository + 92, // 2: gitaly.RepackFullRequest.repository:type_name -> gitaly.Repository + 92, // 3: gitaly.MidxRepackRequest.repository:type_name -> gitaly.Repository + 92, // 4: gitaly.GarbageCollectRequest.repository:type_name -> gitaly.Repository + 92, // 5: gitaly.WriteCommitGraphRequest.repository:type_name -> gitaly.Repository + 0, // 6: gitaly.WriteCommitGraphRequest.splitStrategy:type_name -> gitaly.WriteCommitGraphRequest.SplitStrategy + 92, // 7: gitaly.CleanupRequest.repository:type_name -> gitaly.Repository + 92, // 8: gitaly.RepositorySizeRequest.repository:type_name -> gitaly.Repository + 92, // 9: gitaly.ApplyGitattributesRequest.repository:type_name -> gitaly.Repository + 92, // 10: gitaly.FetchRemoteRequest.repository:type_name -> gitaly.Repository + 75, // 11: gitaly.FetchRemoteRequest.remote_params:type_name -> gitaly.Remote + 92, // 12: gitaly.CreateRepositoryRequest.repository:type_name -> gitaly.Repository + 92, // 13: gitaly.GetArchiveRequest.repository:type_name -> gitaly.Repository + 1, // 14: gitaly.GetArchiveRequest.format:type_name -> gitaly.GetArchiveRequest.Format + 92, // 15: gitaly.HasLocalBranchesRequest.repository:type_name -> gitaly.Repository + 92, // 16: gitaly.FetchSourceBranchRequest.repository:type_name -> gitaly.Repository + 92, // 17: gitaly.FetchSourceBranchRequest.source_repository:type_name -> gitaly.Repository + 92, // 18: gitaly.FsckRequest.repository:type_name -> gitaly.Repository + 92, // 19: gitaly.WriteRefRequest.repository:type_name -> gitaly.Repository + 92, // 20: gitaly.FindMergeBaseRequest.repository:type_name -> gitaly.Repository + 92, // 21: gitaly.CreateForkRequest.repository:type_name -> gitaly.Repository + 92, // 22: gitaly.CreateForkRequest.source_repository:type_name -> gitaly.Repository + 92, // 23: gitaly.IsRebaseInProgressRequest.repository:type_name -> gitaly.Repository + 92, // 24: gitaly.IsSquashInProgressRequest.repository:type_name -> gitaly.Repository + 92, // 25: gitaly.CreateRepositoryFromURLRequest.repository:type_name -> gitaly.Repository + 92, // 26: gitaly.CreateBundleRequest.repository:type_name -> gitaly.Repository + 92, // 27: gitaly.GetConfigRequest.repository:type_name -> gitaly.Repository + 92, // 28: gitaly.SetConfigRequest.repository:type_name -> gitaly.Repository + 90, // 29: gitaly.SetConfigRequest.entries:type_name -> gitaly.SetConfigRequest.Entry + 92, // 30: gitaly.DeleteConfigRequest.repository:type_name -> gitaly.Repository + 92, // 31: gitaly.RestoreCustomHooksRequest.repository:type_name -> gitaly.Repository + 92, // 32: gitaly.BackupCustomHooksRequest.repository:type_name -> gitaly.Repository + 92, // 33: gitaly.CreateRepositoryFromBundleRequest.repository:type_name -> gitaly.Repository + 92, // 34: gitaly.FindLicenseRequest.repository:type_name -> gitaly.Repository + 92, // 35: gitaly.GetInfoAttributesRequest.repository:type_name -> gitaly.Repository + 92, // 36: gitaly.CalculateChecksumRequest.repository:type_name -> gitaly.Repository + 92, // 37: gitaly.GetSnapshotRequest.repository:type_name -> gitaly.Repository + 92, // 38: gitaly.CreateRepositoryFromSnapshotRequest.repository:type_name -> gitaly.Repository + 92, // 39: gitaly.GetRawChangesRequest.repository:type_name -> gitaly.Repository + 91, // 40: gitaly.GetRawChangesResponse.raw_changes:type_name -> gitaly.GetRawChangesResponse.RawChange + 92, // 41: gitaly.SearchFilesByNameRequest.repository:type_name -> gitaly.Repository + 92, // 42: gitaly.SearchFilesByContentRequest.repository:type_name -> gitaly.Repository + 92, // 43: gitaly.GetObjectDirectorySizeRequest.repository:type_name -> gitaly.Repository + 92, // 44: gitaly.CloneFromPoolRequest.repository:type_name -> gitaly.Repository + 93, // 45: gitaly.CloneFromPoolRequest.pool:type_name -> gitaly.ObjectPool + 75, // 46: gitaly.CloneFromPoolRequest.remote:type_name -> gitaly.Remote + 92, // 47: gitaly.CloneFromPoolInternalRequest.repository:type_name -> gitaly.Repository + 93, // 48: gitaly.CloneFromPoolInternalRequest.pool:type_name -> gitaly.ObjectPool + 92, // 49: gitaly.CloneFromPoolInternalRequest.source_repository:type_name -> gitaly.Repository + 92, // 50: gitaly.RemoveRepositoryRequest.repository:type_name -> gitaly.Repository + 92, // 51: gitaly.RenameRepositoryRequest.repository:type_name -> gitaly.Repository + 92, // 52: gitaly.ReplicateRepositoryRequest.repository:type_name -> gitaly.Repository + 92, // 53: gitaly.ReplicateRepositoryRequest.source:type_name -> gitaly.Repository + 92, // 54: gitaly.OptimizeRepositoryRequest.repository:type_name -> gitaly.Repository + 2, // 55: gitaly.GetRawChangesResponse.RawChange.operation:type_name -> gitaly.GetRawChangesResponse.RawChange.Operation + 3, // 56: gitaly.RepositoryService.RepositoryExists:input_type -> gitaly.RepositoryExistsRequest + 5, // 57: gitaly.RepositoryService.RepackIncremental:input_type -> gitaly.RepackIncrementalRequest + 7, // 58: gitaly.RepositoryService.RepackFull:input_type -> gitaly.RepackFullRequest + 9, // 59: gitaly.RepositoryService.MidxRepack:input_type -> gitaly.MidxRepackRequest + 11, // 60: gitaly.RepositoryService.GarbageCollect:input_type -> gitaly.GarbageCollectRequest + 13, // 61: gitaly.RepositoryService.WriteCommitGraph:input_type -> gitaly.WriteCommitGraphRequest + 17, // 62: gitaly.RepositoryService.RepositorySize:input_type -> gitaly.RepositorySizeRequest + 19, // 63: gitaly.RepositoryService.ApplyGitattributes:input_type -> gitaly.ApplyGitattributesRequest + 21, // 64: gitaly.RepositoryService.FetchRemote:input_type -> gitaly.FetchRemoteRequest + 23, // 65: gitaly.RepositoryService.CreateRepository:input_type -> gitaly.CreateRepositoryRequest + 25, // 66: gitaly.RepositoryService.GetArchive:input_type -> gitaly.GetArchiveRequest + 27, // 67: gitaly.RepositoryService.HasLocalBranches:input_type -> gitaly.HasLocalBranchesRequest + 29, // 68: gitaly.RepositoryService.FetchSourceBranch:input_type -> gitaly.FetchSourceBranchRequest + 31, // 69: gitaly.RepositoryService.Fsck:input_type -> gitaly.FsckRequest + 33, // 70: gitaly.RepositoryService.WriteRef:input_type -> gitaly.WriteRefRequest + 35, // 71: gitaly.RepositoryService.FindMergeBase:input_type -> gitaly.FindMergeBaseRequest + 37, // 72: gitaly.RepositoryService.CreateFork:input_type -> gitaly.CreateForkRequest + 39, // 73: gitaly.RepositoryService.IsRebaseInProgress:input_type -> gitaly.IsRebaseInProgressRequest + 41, // 74: gitaly.RepositoryService.IsSquashInProgress:input_type -> gitaly.IsSquashInProgressRequest + 43, // 75: gitaly.RepositoryService.CreateRepositoryFromURL:input_type -> gitaly.CreateRepositoryFromURLRequest + 45, // 76: gitaly.RepositoryService.CreateBundle:input_type -> gitaly.CreateBundleRequest + 57, // 77: gitaly.RepositoryService.CreateRepositoryFromBundle:input_type -> gitaly.CreateRepositoryFromBundleRequest + 47, // 78: gitaly.RepositoryService.GetConfig:input_type -> gitaly.GetConfigRequest + 49, // 79: gitaly.RepositoryService.SetConfig:input_type -> gitaly.SetConfigRequest + 51, // 80: gitaly.RepositoryService.DeleteConfig:input_type -> gitaly.DeleteConfigRequest + 59, // 81: gitaly.RepositoryService.FindLicense:input_type -> gitaly.FindLicenseRequest + 61, // 82: gitaly.RepositoryService.GetInfoAttributes:input_type -> gitaly.GetInfoAttributesRequest + 63, // 83: gitaly.RepositoryService.CalculateChecksum:input_type -> gitaly.CalculateChecksumRequest + 15, // 84: gitaly.RepositoryService.Cleanup:input_type -> gitaly.CleanupRequest + 65, // 85: gitaly.RepositoryService.GetSnapshot:input_type -> gitaly.GetSnapshotRequest + 67, // 86: gitaly.RepositoryService.CreateRepositoryFromSnapshot:input_type -> gitaly.CreateRepositoryFromSnapshotRequest + 69, // 87: gitaly.RepositoryService.GetRawChanges:input_type -> gitaly.GetRawChangesRequest + 73, // 88: gitaly.RepositoryService.SearchFilesByContent:input_type -> gitaly.SearchFilesByContentRequest + 71, // 89: gitaly.RepositoryService.SearchFilesByName:input_type -> gitaly.SearchFilesByNameRequest + 53, // 90: gitaly.RepositoryService.RestoreCustomHooks:input_type -> gitaly.RestoreCustomHooksRequest + 55, // 91: gitaly.RepositoryService.BackupCustomHooks:input_type -> gitaly.BackupCustomHooksRequest + 76, // 92: gitaly.RepositoryService.GetObjectDirectorySize:input_type -> gitaly.GetObjectDirectorySizeRequest + 78, // 93: gitaly.RepositoryService.CloneFromPool:input_type -> gitaly.CloneFromPoolRequest + 80, // 94: gitaly.RepositoryService.CloneFromPoolInternal:input_type -> gitaly.CloneFromPoolInternalRequest + 82, // 95: gitaly.RepositoryService.RemoveRepository:input_type -> gitaly.RemoveRepositoryRequest + 84, // 96: gitaly.RepositoryService.RenameRepository:input_type -> gitaly.RenameRepositoryRequest + 86, // 97: gitaly.RepositoryService.ReplicateRepository:input_type -> gitaly.ReplicateRepositoryRequest + 88, // 98: gitaly.RepositoryService.OptimizeRepository:input_type -> gitaly.OptimizeRepositoryRequest + 4, // 99: gitaly.RepositoryService.RepositoryExists:output_type -> gitaly.RepositoryExistsResponse + 6, // 100: gitaly.RepositoryService.RepackIncremental:output_type -> gitaly.RepackIncrementalResponse + 8, // 101: gitaly.RepositoryService.RepackFull:output_type -> gitaly.RepackFullResponse + 10, // 102: gitaly.RepositoryService.MidxRepack:output_type -> gitaly.MidxRepackResponse + 12, // 103: gitaly.RepositoryService.GarbageCollect:output_type -> gitaly.GarbageCollectResponse + 14, // 104: gitaly.RepositoryService.WriteCommitGraph:output_type -> gitaly.WriteCommitGraphResponse + 18, // 105: gitaly.RepositoryService.RepositorySize:output_type -> gitaly.RepositorySizeResponse + 20, // 106: gitaly.RepositoryService.ApplyGitattributes:output_type -> gitaly.ApplyGitattributesResponse + 22, // 107: gitaly.RepositoryService.FetchRemote:output_type -> gitaly.FetchRemoteResponse + 24, // 108: gitaly.RepositoryService.CreateRepository:output_type -> gitaly.CreateRepositoryResponse + 26, // 109: gitaly.RepositoryService.GetArchive:output_type -> gitaly.GetArchiveResponse + 28, // 110: gitaly.RepositoryService.HasLocalBranches:output_type -> gitaly.HasLocalBranchesResponse + 30, // 111: gitaly.RepositoryService.FetchSourceBranch:output_type -> gitaly.FetchSourceBranchResponse + 32, // 112: gitaly.RepositoryService.Fsck:output_type -> gitaly.FsckResponse + 34, // 113: gitaly.RepositoryService.WriteRef:output_type -> gitaly.WriteRefResponse + 36, // 114: gitaly.RepositoryService.FindMergeBase:output_type -> gitaly.FindMergeBaseResponse + 38, // 115: gitaly.RepositoryService.CreateFork:output_type -> gitaly.CreateForkResponse + 40, // 116: gitaly.RepositoryService.IsRebaseInProgress:output_type -> gitaly.IsRebaseInProgressResponse + 42, // 117: gitaly.RepositoryService.IsSquashInProgress:output_type -> gitaly.IsSquashInProgressResponse + 44, // 118: gitaly.RepositoryService.CreateRepositoryFromURL:output_type -> gitaly.CreateRepositoryFromURLResponse + 46, // 119: gitaly.RepositoryService.CreateBundle:output_type -> gitaly.CreateBundleResponse + 58, // 120: gitaly.RepositoryService.CreateRepositoryFromBundle:output_type -> gitaly.CreateRepositoryFromBundleResponse + 48, // 121: gitaly.RepositoryService.GetConfig:output_type -> gitaly.GetConfigResponse + 50, // 122: gitaly.RepositoryService.SetConfig:output_type -> gitaly.SetConfigResponse + 52, // 123: gitaly.RepositoryService.DeleteConfig:output_type -> gitaly.DeleteConfigResponse + 60, // 124: gitaly.RepositoryService.FindLicense:output_type -> gitaly.FindLicenseResponse + 62, // 125: gitaly.RepositoryService.GetInfoAttributes:output_type -> gitaly.GetInfoAttributesResponse + 64, // 126: gitaly.RepositoryService.CalculateChecksum:output_type -> gitaly.CalculateChecksumResponse + 16, // 127: gitaly.RepositoryService.Cleanup:output_type -> gitaly.CleanupResponse + 66, // 128: gitaly.RepositoryService.GetSnapshot:output_type -> gitaly.GetSnapshotResponse + 68, // 129: gitaly.RepositoryService.CreateRepositoryFromSnapshot:output_type -> gitaly.CreateRepositoryFromSnapshotResponse + 70, // 130: gitaly.RepositoryService.GetRawChanges:output_type -> gitaly.GetRawChangesResponse + 74, // 131: gitaly.RepositoryService.SearchFilesByContent:output_type -> gitaly.SearchFilesByContentResponse + 72, // 132: gitaly.RepositoryService.SearchFilesByName:output_type -> gitaly.SearchFilesByNameResponse + 54, // 133: gitaly.RepositoryService.RestoreCustomHooks:output_type -> gitaly.RestoreCustomHooksResponse + 56, // 134: gitaly.RepositoryService.BackupCustomHooks:output_type -> gitaly.BackupCustomHooksResponse + 77, // 135: gitaly.RepositoryService.GetObjectDirectorySize:output_type -> gitaly.GetObjectDirectorySizeResponse + 79, // 136: gitaly.RepositoryService.CloneFromPool:output_type -> gitaly.CloneFromPoolResponse + 81, // 137: gitaly.RepositoryService.CloneFromPoolInternal:output_type -> gitaly.CloneFromPoolInternalResponse + 83, // 138: gitaly.RepositoryService.RemoveRepository:output_type -> gitaly.RemoveRepositoryResponse + 85, // 139: gitaly.RepositoryService.RenameRepository:output_type -> gitaly.RenameRepositoryResponse + 87, // 140: gitaly.RepositoryService.ReplicateRepository:output_type -> gitaly.ReplicateRepositoryResponse + 89, // 141: gitaly.RepositoryService.OptimizeRepository:output_type -> gitaly.OptimizeRepositoryResponse + 99, // [99:142] is the sub-list for method output_type + 56, // [56:99] is the sub-list for method input_type + 56, // [56:56] is the sub-list for extension type_name + 56, // [56:56] is the sub-list for extension extendee + 0, // [0:56] is the sub-list for field type_name +} + +func init() { file_repository_service_proto_init() } +func file_repository_service_proto_init() { + if File_repository_service_proto != nil { + return + } + file_lint_proto_init() + file_shared_proto_init() + if !protoimpl.UnsafeEnabled { + file_repository_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RepositoryExistsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RepositoryExistsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RepackIncrementalRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RepackIncrementalResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RepackFullRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RepackFullResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MidxRepackRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MidxRepackResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GarbageCollectRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GarbageCollectResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WriteCommitGraphRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WriteCommitGraphResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CleanupRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CleanupResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RepositorySizeRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RepositorySizeResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ApplyGitattributesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ApplyGitattributesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FetchRemoteRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FetchRemoteResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateRepositoryRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateRepositoryResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetArchiveRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetArchiveResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HasLocalBranchesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HasLocalBranchesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FetchSourceBranchRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FetchSourceBranchResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FsckRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FsckResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WriteRefRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WriteRefResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindMergeBaseRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindMergeBaseResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateForkRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateForkResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IsRebaseInProgressRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IsRebaseInProgressResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IsSquashInProgressRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IsSquashInProgressResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateRepositoryFromURLRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateRepositoryFromURLResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateBundleRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateBundleResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetConfigRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetConfigResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetConfigRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetConfigResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteConfigRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteConfigResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RestoreCustomHooksRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RestoreCustomHooksResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BackupCustomHooksRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BackupCustomHooksResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateRepositoryFromBundleRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateRepositoryFromBundleResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[56].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindLicenseRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FindLicenseResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[58].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetInfoAttributesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[59].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetInfoAttributesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[60].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CalculateChecksumRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[61].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CalculateChecksumResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[62].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetSnapshotRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[63].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetSnapshotResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[64].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateRepositoryFromSnapshotRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[65].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateRepositoryFromSnapshotResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[66].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetRawChangesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[67].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetRawChangesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[68].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SearchFilesByNameRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[69].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SearchFilesByNameResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[70].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SearchFilesByContentRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[71].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SearchFilesByContentResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[72].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Remote); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[73].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetObjectDirectorySizeRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[74].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetObjectDirectorySizeResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[75].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CloneFromPoolRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[76].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CloneFromPoolResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[77].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CloneFromPoolInternalRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[78].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CloneFromPoolInternalResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[79].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveRepositoryRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[80].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveRepositoryResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[81].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RenameRepositoryRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[82].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RenameRepositoryResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[83].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReplicateRepositoryRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[84].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReplicateRepositoryResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[85].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*OptimizeRepositoryRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[86].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*OptimizeRepositoryResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[87].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetConfigRequest_Entry); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_repository_service_proto_msgTypes[88].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetRawChangesResponse_RawChange); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_repository_service_proto_msgTypes[87].OneofWrappers = []interface{}{ + (*SetConfigRequest_Entry_ValueStr)(nil), + (*SetConfigRequest_Entry_ValueInt32)(nil), + (*SetConfigRequest_Entry_ValueBool)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_repository_service_proto_rawDesc, + NumEnums: 3, + NumMessages: 89, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_repository_service_proto_goTypes, + DependencyIndexes: file_repository_service_proto_depIdxs, + EnumInfos: file_repository_service_proto_enumTypes, + MessageInfos: file_repository_service_proto_msgTypes, + }.Build() + File_repository_service_proto = out.File + file_repository_service_proto_rawDesc = nil + file_repository_service_proto_goTypes = nil + file_repository_service_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConn +var _ grpc.ClientConnInterface // 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 +const _ = grpc.SupportPackageIsVersion6 // RepositoryServiceClient is the client API for RepositoryService service. // @@ -4447,10 +7031,10 @@ type RepositoryServiceClient interface { } type repositoryServiceClient struct { - cc *grpc.ClientConn + cc grpc.ClientConnInterface } -func NewRepositoryServiceClient(cc *grpc.ClientConn) RepositoryServiceClient { +func NewRepositoryServiceClient(cc grpc.ClientConnInterface) RepositoryServiceClient { return &repositoryServiceClient{cc} } @@ -5158,133 +7742,133 @@ type RepositoryServiceServer interface { type UnimplementedRepositoryServiceServer struct { } -func (*UnimplementedRepositoryServiceServer) RepositoryExists(ctx context.Context, req *RepositoryExistsRequest) (*RepositoryExistsResponse, error) { +func (*UnimplementedRepositoryServiceServer) RepositoryExists(context.Context, *RepositoryExistsRequest) (*RepositoryExistsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method RepositoryExists not implemented") } -func (*UnimplementedRepositoryServiceServer) RepackIncremental(ctx context.Context, req *RepackIncrementalRequest) (*RepackIncrementalResponse, error) { +func (*UnimplementedRepositoryServiceServer) RepackIncremental(context.Context, *RepackIncrementalRequest) (*RepackIncrementalResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method RepackIncremental not implemented") } -func (*UnimplementedRepositoryServiceServer) RepackFull(ctx context.Context, req *RepackFullRequest) (*RepackFullResponse, error) { +func (*UnimplementedRepositoryServiceServer) RepackFull(context.Context, *RepackFullRequest) (*RepackFullResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method RepackFull not implemented") } -func (*UnimplementedRepositoryServiceServer) MidxRepack(ctx context.Context, req *MidxRepackRequest) (*MidxRepackResponse, error) { +func (*UnimplementedRepositoryServiceServer) MidxRepack(context.Context, *MidxRepackRequest) (*MidxRepackResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method MidxRepack not implemented") } -func (*UnimplementedRepositoryServiceServer) GarbageCollect(ctx context.Context, req *GarbageCollectRequest) (*GarbageCollectResponse, error) { +func (*UnimplementedRepositoryServiceServer) GarbageCollect(context.Context, *GarbageCollectRequest) (*GarbageCollectResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GarbageCollect not implemented") } -func (*UnimplementedRepositoryServiceServer) WriteCommitGraph(ctx context.Context, req *WriteCommitGraphRequest) (*WriteCommitGraphResponse, error) { +func (*UnimplementedRepositoryServiceServer) WriteCommitGraph(context.Context, *WriteCommitGraphRequest) (*WriteCommitGraphResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method WriteCommitGraph not implemented") } -func (*UnimplementedRepositoryServiceServer) RepositorySize(ctx context.Context, req *RepositorySizeRequest) (*RepositorySizeResponse, error) { +func (*UnimplementedRepositoryServiceServer) RepositorySize(context.Context, *RepositorySizeRequest) (*RepositorySizeResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method RepositorySize not implemented") } -func (*UnimplementedRepositoryServiceServer) ApplyGitattributes(ctx context.Context, req *ApplyGitattributesRequest) (*ApplyGitattributesResponse, error) { +func (*UnimplementedRepositoryServiceServer) ApplyGitattributes(context.Context, *ApplyGitattributesRequest) (*ApplyGitattributesResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ApplyGitattributes not implemented") } -func (*UnimplementedRepositoryServiceServer) FetchRemote(ctx context.Context, req *FetchRemoteRequest) (*FetchRemoteResponse, error) { +func (*UnimplementedRepositoryServiceServer) FetchRemote(context.Context, *FetchRemoteRequest) (*FetchRemoteResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method FetchRemote not implemented") } -func (*UnimplementedRepositoryServiceServer) CreateRepository(ctx context.Context, req *CreateRepositoryRequest) (*CreateRepositoryResponse, error) { +func (*UnimplementedRepositoryServiceServer) CreateRepository(context.Context, *CreateRepositoryRequest) (*CreateRepositoryResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateRepository not implemented") } -func (*UnimplementedRepositoryServiceServer) GetArchive(req *GetArchiveRequest, srv RepositoryService_GetArchiveServer) error { +func (*UnimplementedRepositoryServiceServer) GetArchive(*GetArchiveRequest, RepositoryService_GetArchiveServer) error { return status.Errorf(codes.Unimplemented, "method GetArchive not implemented") } -func (*UnimplementedRepositoryServiceServer) HasLocalBranches(ctx context.Context, req *HasLocalBranchesRequest) (*HasLocalBranchesResponse, error) { +func (*UnimplementedRepositoryServiceServer) HasLocalBranches(context.Context, *HasLocalBranchesRequest) (*HasLocalBranchesResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method HasLocalBranches not implemented") } -func (*UnimplementedRepositoryServiceServer) FetchSourceBranch(ctx context.Context, req *FetchSourceBranchRequest) (*FetchSourceBranchResponse, error) { +func (*UnimplementedRepositoryServiceServer) FetchSourceBranch(context.Context, *FetchSourceBranchRequest) (*FetchSourceBranchResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method FetchSourceBranch not implemented") } -func (*UnimplementedRepositoryServiceServer) Fsck(ctx context.Context, req *FsckRequest) (*FsckResponse, error) { +func (*UnimplementedRepositoryServiceServer) Fsck(context.Context, *FsckRequest) (*FsckResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Fsck not implemented") } -func (*UnimplementedRepositoryServiceServer) WriteRef(ctx context.Context, req *WriteRefRequest) (*WriteRefResponse, error) { +func (*UnimplementedRepositoryServiceServer) WriteRef(context.Context, *WriteRefRequest) (*WriteRefResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method WriteRef not implemented") } -func (*UnimplementedRepositoryServiceServer) FindMergeBase(ctx context.Context, req *FindMergeBaseRequest) (*FindMergeBaseResponse, error) { +func (*UnimplementedRepositoryServiceServer) FindMergeBase(context.Context, *FindMergeBaseRequest) (*FindMergeBaseResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method FindMergeBase not implemented") } -func (*UnimplementedRepositoryServiceServer) CreateFork(ctx context.Context, req *CreateForkRequest) (*CreateForkResponse, error) { +func (*UnimplementedRepositoryServiceServer) CreateFork(context.Context, *CreateForkRequest) (*CreateForkResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateFork not implemented") } -func (*UnimplementedRepositoryServiceServer) IsRebaseInProgress(ctx context.Context, req *IsRebaseInProgressRequest) (*IsRebaseInProgressResponse, error) { +func (*UnimplementedRepositoryServiceServer) IsRebaseInProgress(context.Context, *IsRebaseInProgressRequest) (*IsRebaseInProgressResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method IsRebaseInProgress not implemented") } -func (*UnimplementedRepositoryServiceServer) IsSquashInProgress(ctx context.Context, req *IsSquashInProgressRequest) (*IsSquashInProgressResponse, error) { +func (*UnimplementedRepositoryServiceServer) IsSquashInProgress(context.Context, *IsSquashInProgressRequest) (*IsSquashInProgressResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method IsSquashInProgress not implemented") } -func (*UnimplementedRepositoryServiceServer) CreateRepositoryFromURL(ctx context.Context, req *CreateRepositoryFromURLRequest) (*CreateRepositoryFromURLResponse, error) { +func (*UnimplementedRepositoryServiceServer) CreateRepositoryFromURL(context.Context, *CreateRepositoryFromURLRequest) (*CreateRepositoryFromURLResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateRepositoryFromURL not implemented") } -func (*UnimplementedRepositoryServiceServer) CreateBundle(req *CreateBundleRequest, srv RepositoryService_CreateBundleServer) error { +func (*UnimplementedRepositoryServiceServer) CreateBundle(*CreateBundleRequest, RepositoryService_CreateBundleServer) error { return status.Errorf(codes.Unimplemented, "method CreateBundle not implemented") } -func (*UnimplementedRepositoryServiceServer) CreateRepositoryFromBundle(srv RepositoryService_CreateRepositoryFromBundleServer) error { +func (*UnimplementedRepositoryServiceServer) CreateRepositoryFromBundle(RepositoryService_CreateRepositoryFromBundleServer) error { return status.Errorf(codes.Unimplemented, "method CreateRepositoryFromBundle not implemented") } -func (*UnimplementedRepositoryServiceServer) GetConfig(req *GetConfigRequest, srv RepositoryService_GetConfigServer) error { +func (*UnimplementedRepositoryServiceServer) GetConfig(*GetConfigRequest, RepositoryService_GetConfigServer) error { return status.Errorf(codes.Unimplemented, "method GetConfig not implemented") } -func (*UnimplementedRepositoryServiceServer) SetConfig(ctx context.Context, req *SetConfigRequest) (*SetConfigResponse, error) { +func (*UnimplementedRepositoryServiceServer) SetConfig(context.Context, *SetConfigRequest) (*SetConfigResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method SetConfig not implemented") } -func (*UnimplementedRepositoryServiceServer) DeleteConfig(ctx context.Context, req *DeleteConfigRequest) (*DeleteConfigResponse, error) { +func (*UnimplementedRepositoryServiceServer) DeleteConfig(context.Context, *DeleteConfigRequest) (*DeleteConfigResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteConfig not implemented") } -func (*UnimplementedRepositoryServiceServer) FindLicense(ctx context.Context, req *FindLicenseRequest) (*FindLicenseResponse, error) { +func (*UnimplementedRepositoryServiceServer) FindLicense(context.Context, *FindLicenseRequest) (*FindLicenseResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method FindLicense not implemented") } -func (*UnimplementedRepositoryServiceServer) GetInfoAttributes(req *GetInfoAttributesRequest, srv RepositoryService_GetInfoAttributesServer) error { +func (*UnimplementedRepositoryServiceServer) GetInfoAttributes(*GetInfoAttributesRequest, RepositoryService_GetInfoAttributesServer) error { return status.Errorf(codes.Unimplemented, "method GetInfoAttributes not implemented") } -func (*UnimplementedRepositoryServiceServer) CalculateChecksum(ctx context.Context, req *CalculateChecksumRequest) (*CalculateChecksumResponse, error) { +func (*UnimplementedRepositoryServiceServer) CalculateChecksum(context.Context, *CalculateChecksumRequest) (*CalculateChecksumResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CalculateChecksum not implemented") } -func (*UnimplementedRepositoryServiceServer) Cleanup(ctx context.Context, req *CleanupRequest) (*CleanupResponse, error) { +func (*UnimplementedRepositoryServiceServer) Cleanup(context.Context, *CleanupRequest) (*CleanupResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Cleanup not implemented") } -func (*UnimplementedRepositoryServiceServer) GetSnapshot(req *GetSnapshotRequest, srv RepositoryService_GetSnapshotServer) error { +func (*UnimplementedRepositoryServiceServer) GetSnapshot(*GetSnapshotRequest, RepositoryService_GetSnapshotServer) error { return status.Errorf(codes.Unimplemented, "method GetSnapshot not implemented") } -func (*UnimplementedRepositoryServiceServer) CreateRepositoryFromSnapshot(ctx context.Context, req *CreateRepositoryFromSnapshotRequest) (*CreateRepositoryFromSnapshotResponse, error) { +func (*UnimplementedRepositoryServiceServer) CreateRepositoryFromSnapshot(context.Context, *CreateRepositoryFromSnapshotRequest) (*CreateRepositoryFromSnapshotResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateRepositoryFromSnapshot not implemented") } -func (*UnimplementedRepositoryServiceServer) GetRawChanges(req *GetRawChangesRequest, srv RepositoryService_GetRawChangesServer) error { +func (*UnimplementedRepositoryServiceServer) GetRawChanges(*GetRawChangesRequest, RepositoryService_GetRawChangesServer) error { return status.Errorf(codes.Unimplemented, "method GetRawChanges not implemented") } -func (*UnimplementedRepositoryServiceServer) SearchFilesByContent(req *SearchFilesByContentRequest, srv RepositoryService_SearchFilesByContentServer) error { +func (*UnimplementedRepositoryServiceServer) SearchFilesByContent(*SearchFilesByContentRequest, RepositoryService_SearchFilesByContentServer) error { return status.Errorf(codes.Unimplemented, "method SearchFilesByContent not implemented") } -func (*UnimplementedRepositoryServiceServer) SearchFilesByName(req *SearchFilesByNameRequest, srv RepositoryService_SearchFilesByNameServer) error { +func (*UnimplementedRepositoryServiceServer) SearchFilesByName(*SearchFilesByNameRequest, RepositoryService_SearchFilesByNameServer) error { return status.Errorf(codes.Unimplemented, "method SearchFilesByName not implemented") } -func (*UnimplementedRepositoryServiceServer) RestoreCustomHooks(srv RepositoryService_RestoreCustomHooksServer) error { +func (*UnimplementedRepositoryServiceServer) RestoreCustomHooks(RepositoryService_RestoreCustomHooksServer) error { return status.Errorf(codes.Unimplemented, "method RestoreCustomHooks not implemented") } -func (*UnimplementedRepositoryServiceServer) BackupCustomHooks(req *BackupCustomHooksRequest, srv RepositoryService_BackupCustomHooksServer) error { +func (*UnimplementedRepositoryServiceServer) BackupCustomHooks(*BackupCustomHooksRequest, RepositoryService_BackupCustomHooksServer) error { return status.Errorf(codes.Unimplemented, "method BackupCustomHooks not implemented") } -func (*UnimplementedRepositoryServiceServer) GetObjectDirectorySize(ctx context.Context, req *GetObjectDirectorySizeRequest) (*GetObjectDirectorySizeResponse, error) { +func (*UnimplementedRepositoryServiceServer) GetObjectDirectorySize(context.Context, *GetObjectDirectorySizeRequest) (*GetObjectDirectorySizeResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetObjectDirectorySize not implemented") } -func (*UnimplementedRepositoryServiceServer) CloneFromPool(ctx context.Context, req *CloneFromPoolRequest) (*CloneFromPoolResponse, error) { +func (*UnimplementedRepositoryServiceServer) CloneFromPool(context.Context, *CloneFromPoolRequest) (*CloneFromPoolResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CloneFromPool not implemented") } -func (*UnimplementedRepositoryServiceServer) CloneFromPoolInternal(ctx context.Context, req *CloneFromPoolInternalRequest) (*CloneFromPoolInternalResponse, error) { +func (*UnimplementedRepositoryServiceServer) CloneFromPoolInternal(context.Context, *CloneFromPoolInternalRequest) (*CloneFromPoolInternalResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CloneFromPoolInternal not implemented") } -func (*UnimplementedRepositoryServiceServer) RemoveRepository(ctx context.Context, req *RemoveRepositoryRequest) (*RemoveRepositoryResponse, error) { +func (*UnimplementedRepositoryServiceServer) RemoveRepository(context.Context, *RemoveRepositoryRequest) (*RemoveRepositoryResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method RemoveRepository not implemented") } -func (*UnimplementedRepositoryServiceServer) RenameRepository(ctx context.Context, req *RenameRepositoryRequest) (*RenameRepositoryResponse, error) { +func (*UnimplementedRepositoryServiceServer) RenameRepository(context.Context, *RenameRepositoryRequest) (*RenameRepositoryResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method RenameRepository not implemented") } -func (*UnimplementedRepositoryServiceServer) ReplicateRepository(ctx context.Context, req *ReplicateRepositoryRequest) (*ReplicateRepositoryResponse, error) { +func (*UnimplementedRepositoryServiceServer) ReplicateRepository(context.Context, *ReplicateRepositoryRequest) (*ReplicateRepositoryResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ReplicateRepository not implemented") } -func (*UnimplementedRepositoryServiceServer) OptimizeRepository(ctx context.Context, req *OptimizeRepositoryRequest) (*OptimizeRepositoryResponse, error) { +func (*UnimplementedRepositoryServiceServer) OptimizeRepository(context.Context, *OptimizeRepositoryRequest) (*OptimizeRepositoryResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method OptimizeRepository not implemented") } diff --git a/proto/go/gitalypb/server.pb.go b/proto/go/gitalypb/server.pb.go index 6765996a6..500dcca92 100644 --- a/proto/go/gitalypb/server.pb.go +++ b/proto/go/gitalypb/server.pb.go @@ -1,372 +1,578 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc v3.12.4 // source: server.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 +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) +) -// 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 +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 type ServerInfoRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *ServerInfoRequest) Reset() { *m = ServerInfoRequest{} } -func (m *ServerInfoRequest) String() string { return proto.CompactTextString(m) } -func (*ServerInfoRequest) ProtoMessage() {} -func (*ServerInfoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ad098daeda4239f7, []int{0} +func (x *ServerInfoRequest) Reset() { + *x = ServerInfoRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_server_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ServerInfoRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ServerInfoRequest.Unmarshal(m, b) -} -func (m *ServerInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ServerInfoRequest.Marshal(b, m, deterministic) -} -func (m *ServerInfoRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ServerInfoRequest.Merge(m, src) -} -func (m *ServerInfoRequest) XXX_Size() int { - return xxx_messageInfo_ServerInfoRequest.Size(m) -} -func (m *ServerInfoRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ServerInfoRequest.DiscardUnknown(m) +func (x *ServerInfoRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_ServerInfoRequest proto.InternalMessageInfo +func (*ServerInfoRequest) ProtoMessage() {} -type ServerInfoResponse struct { - ServerVersion string `protobuf:"bytes,1,opt,name=server_version,json=serverVersion,proto3" json:"server_version,omitempty"` - GitVersion string `protobuf:"bytes,2,opt,name=git_version,json=gitVersion,proto3" json:"git_version,omitempty"` - StorageStatuses []*ServerInfoResponse_StorageStatus `protobuf:"bytes,3,rep,name=storage_statuses,json=storageStatuses,proto3" json:"storage_statuses,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *ServerInfoRequest) ProtoReflect() protoreflect.Message { + mi := &file_server_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) } -func (m *ServerInfoResponse) Reset() { *m = ServerInfoResponse{} } -func (m *ServerInfoResponse) String() string { return proto.CompactTextString(m) } -func (*ServerInfoResponse) ProtoMessage() {} -func (*ServerInfoResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ad098daeda4239f7, []int{1} +// Deprecated: Use ServerInfoRequest.ProtoReflect.Descriptor instead. +func (*ServerInfoRequest) Descriptor() ([]byte, []int) { + return file_server_proto_rawDescGZIP(), []int{0} } -func (m *ServerInfoResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ServerInfoResponse.Unmarshal(m, b) -} -func (m *ServerInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ServerInfoResponse.Marshal(b, m, deterministic) +type ServerInfoResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ServerVersion string `protobuf:"bytes,1,opt,name=server_version,json=serverVersion,proto3" json:"server_version,omitempty"` + GitVersion string `protobuf:"bytes,2,opt,name=git_version,json=gitVersion,proto3" json:"git_version,omitempty"` + StorageStatuses []*ServerInfoResponse_StorageStatus `protobuf:"bytes,3,rep,name=storage_statuses,json=storageStatuses,proto3" json:"storage_statuses,omitempty"` } -func (m *ServerInfoResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ServerInfoResponse.Merge(m, src) + +func (x *ServerInfoResponse) Reset() { + *x = ServerInfoResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_server_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ServerInfoResponse) XXX_Size() int { - return xxx_messageInfo_ServerInfoResponse.Size(m) + +func (x *ServerInfoResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ServerInfoResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ServerInfoResponse.DiscardUnknown(m) + +func (*ServerInfoResponse) ProtoMessage() {} + +func (x *ServerInfoResponse) ProtoReflect() protoreflect.Message { + mi := &file_server_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) } -var xxx_messageInfo_ServerInfoResponse proto.InternalMessageInfo +// Deprecated: Use ServerInfoResponse.ProtoReflect.Descriptor instead. +func (*ServerInfoResponse) Descriptor() ([]byte, []int) { + return file_server_proto_rawDescGZIP(), []int{1} +} -func (m *ServerInfoResponse) GetServerVersion() string { - if m != nil { - return m.ServerVersion +func (x *ServerInfoResponse) GetServerVersion() string { + if x != nil { + return x.ServerVersion } return "" } -func (m *ServerInfoResponse) GetGitVersion() string { - if m != nil { - return m.GitVersion +func (x *ServerInfoResponse) GetGitVersion() string { + if x != nil { + return x.GitVersion } return "" } -func (m *ServerInfoResponse) GetStorageStatuses() []*ServerInfoResponse_StorageStatus { - if m != nil { - return m.StorageStatuses +func (x *ServerInfoResponse) GetStorageStatuses() []*ServerInfoResponse_StorageStatus { + if x != nil { + return x.StorageStatuses } return nil } -type ServerInfoResponse_StorageStatus struct { - StorageName string `protobuf:"bytes,1,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"` - Readable bool `protobuf:"varint,2,opt,name=readable,proto3" json:"readable,omitempty"` - Writeable bool `protobuf:"varint,3,opt,name=writeable,proto3" json:"writeable,omitempty"` - FsType string `protobuf:"bytes,4,opt,name=fs_type,json=fsType,proto3" json:"fs_type,omitempty"` - FilesystemId string `protobuf:"bytes,5,opt,name=filesystem_id,json=filesystemId,proto3" json:"filesystem_id,omitempty"` - ReplicationFactor uint32 `protobuf:"varint,6,opt,name=replication_factor,json=replicationFactor,proto3" json:"replication_factor,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ServerInfoResponse_StorageStatus) Reset() { *m = ServerInfoResponse_StorageStatus{} } -func (m *ServerInfoResponse_StorageStatus) String() string { return proto.CompactTextString(m) } -func (*ServerInfoResponse_StorageStatus) ProtoMessage() {} -func (*ServerInfoResponse_StorageStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_ad098daeda4239f7, []int{1, 0} +type DiskStatisticsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *ServerInfoResponse_StorageStatus) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ServerInfoResponse_StorageStatus.Unmarshal(m, b) -} -func (m *ServerInfoResponse_StorageStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ServerInfoResponse_StorageStatus.Marshal(b, m, deterministic) -} -func (m *ServerInfoResponse_StorageStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_ServerInfoResponse_StorageStatus.Merge(m, src) -} -func (m *ServerInfoResponse_StorageStatus) XXX_Size() int { - return xxx_messageInfo_ServerInfoResponse_StorageStatus.Size(m) +func (x *DiskStatisticsRequest) Reset() { + *x = DiskStatisticsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_server_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ServerInfoResponse_StorageStatus) XXX_DiscardUnknown() { - xxx_messageInfo_ServerInfoResponse_StorageStatus.DiscardUnknown(m) + +func (x *DiskStatisticsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_ServerInfoResponse_StorageStatus proto.InternalMessageInfo +func (*DiskStatisticsRequest) ProtoMessage() {} -func (m *ServerInfoResponse_StorageStatus) GetStorageName() string { - if m != nil { - return m.StorageName +func (x *DiskStatisticsRequest) ProtoReflect() protoreflect.Message { + mi := &file_server_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 "" + return mi.MessageOf(x) } -func (m *ServerInfoResponse_StorageStatus) GetReadable() bool { - if m != nil { - return m.Readable - } - return false +// Deprecated: Use DiskStatisticsRequest.ProtoReflect.Descriptor instead. +func (*DiskStatisticsRequest) Descriptor() ([]byte, []int) { + return file_server_proto_rawDescGZIP(), []int{2} } -func (m *ServerInfoResponse_StorageStatus) GetWriteable() bool { - if m != nil { - return m.Writeable - } - return false +type DiskStatisticsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StorageStatuses []*DiskStatisticsResponse_StorageStatus `protobuf:"bytes,1,rep,name=storage_statuses,json=storageStatuses,proto3" json:"storage_statuses,omitempty"` } -func (m *ServerInfoResponse_StorageStatus) GetFsType() string { - if m != nil { - return m.FsType +func (x *DiskStatisticsResponse) Reset() { + *x = DiskStatisticsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_server_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } - return "" } -func (m *ServerInfoResponse_StorageStatus) GetFilesystemId() string { - if m != nil { - return m.FilesystemId - } - return "" +func (x *DiskStatisticsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ServerInfoResponse_StorageStatus) GetReplicationFactor() uint32 { - if m != nil { - return m.ReplicationFactor +func (*DiskStatisticsResponse) ProtoMessage() {} + +func (x *DiskStatisticsResponse) ProtoReflect() protoreflect.Message { + mi := &file_server_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 0 + return mi.MessageOf(x) } -type DiskStatisticsRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +// Deprecated: Use DiskStatisticsResponse.ProtoReflect.Descriptor instead. +func (*DiskStatisticsResponse) Descriptor() ([]byte, []int) { + return file_server_proto_rawDescGZIP(), []int{3} } -func (m *DiskStatisticsRequest) Reset() { *m = DiskStatisticsRequest{} } -func (m *DiskStatisticsRequest) String() string { return proto.CompactTextString(m) } -func (*DiskStatisticsRequest) ProtoMessage() {} -func (*DiskStatisticsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ad098daeda4239f7, []int{2} +func (x *DiskStatisticsResponse) GetStorageStatuses() []*DiskStatisticsResponse_StorageStatus { + if x != nil { + return x.StorageStatuses + } + return nil } -func (m *DiskStatisticsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DiskStatisticsRequest.Unmarshal(m, b) -} -func (m *DiskStatisticsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DiskStatisticsRequest.Marshal(b, m, deterministic) -} -func (m *DiskStatisticsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DiskStatisticsRequest.Merge(m, src) -} -func (m *DiskStatisticsRequest) XXX_Size() int { - return xxx_messageInfo_DiskStatisticsRequest.Size(m) +type ServerInfoResponse_StorageStatus struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StorageName string `protobuf:"bytes,1,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"` + Readable bool `protobuf:"varint,2,opt,name=readable,proto3" json:"readable,omitempty"` + Writeable bool `protobuf:"varint,3,opt,name=writeable,proto3" json:"writeable,omitempty"` + FsType string `protobuf:"bytes,4,opt,name=fs_type,json=fsType,proto3" json:"fs_type,omitempty"` + FilesystemId string `protobuf:"bytes,5,opt,name=filesystem_id,json=filesystemId,proto3" json:"filesystem_id,omitempty"` + ReplicationFactor uint32 `protobuf:"varint,6,opt,name=replication_factor,json=replicationFactor,proto3" json:"replication_factor,omitempty"` +} + +func (x *ServerInfoResponse_StorageStatus) Reset() { + *x = ServerInfoResponse_StorageStatus{} + if protoimpl.UnsafeEnabled { + mi := &file_server_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DiskStatisticsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DiskStatisticsRequest.DiscardUnknown(m) + +func (x *ServerInfoResponse_StorageStatus) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_DiskStatisticsRequest proto.InternalMessageInfo +func (*ServerInfoResponse_StorageStatus) ProtoMessage() {} -type DiskStatisticsResponse struct { - StorageStatuses []*DiskStatisticsResponse_StorageStatus `protobuf:"bytes,1,rep,name=storage_statuses,json=storageStatuses,proto3" json:"storage_statuses,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *ServerInfoResponse_StorageStatus) ProtoReflect() protoreflect.Message { + mi := &file_server_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) } -func (m *DiskStatisticsResponse) Reset() { *m = DiskStatisticsResponse{} } -func (m *DiskStatisticsResponse) String() string { return proto.CompactTextString(m) } -func (*DiskStatisticsResponse) ProtoMessage() {} -func (*DiskStatisticsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ad098daeda4239f7, []int{3} +// Deprecated: Use ServerInfoResponse_StorageStatus.ProtoReflect.Descriptor instead. +func (*ServerInfoResponse_StorageStatus) Descriptor() ([]byte, []int) { + return file_server_proto_rawDescGZIP(), []int{1, 0} } -func (m *DiskStatisticsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DiskStatisticsResponse.Unmarshal(m, b) -} -func (m *DiskStatisticsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DiskStatisticsResponse.Marshal(b, m, deterministic) +func (x *ServerInfoResponse_StorageStatus) GetStorageName() string { + if x != nil { + return x.StorageName + } + return "" } -func (m *DiskStatisticsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DiskStatisticsResponse.Merge(m, src) + +func (x *ServerInfoResponse_StorageStatus) GetReadable() bool { + if x != nil { + return x.Readable + } + return false } -func (m *DiskStatisticsResponse) XXX_Size() int { - return xxx_messageInfo_DiskStatisticsResponse.Size(m) + +func (x *ServerInfoResponse_StorageStatus) GetWriteable() bool { + if x != nil { + return x.Writeable + } + return false } -func (m *DiskStatisticsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DiskStatisticsResponse.DiscardUnknown(m) + +func (x *ServerInfoResponse_StorageStatus) GetFsType() string { + if x != nil { + return x.FsType + } + return "" } -var xxx_messageInfo_DiskStatisticsResponse proto.InternalMessageInfo +func (x *ServerInfoResponse_StorageStatus) GetFilesystemId() string { + if x != nil { + return x.FilesystemId + } + return "" +} -func (m *DiskStatisticsResponse) GetStorageStatuses() []*DiskStatisticsResponse_StorageStatus { - if m != nil { - return m.StorageStatuses +func (x *ServerInfoResponse_StorageStatus) GetReplicationFactor() uint32 { + if x != nil { + return x.ReplicationFactor } - return nil + return 0 } type DiskStatisticsResponse_StorageStatus struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // When both available and used fields are equal 0 that means that // Gitaly was unable to determine storage stats. - StorageName string `protobuf:"bytes,1,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"` - Available int64 `protobuf:"varint,2,opt,name=available,proto3" json:"available,omitempty"` - Used int64 `protobuf:"varint,3,opt,name=used,proto3" json:"used,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + StorageName string `protobuf:"bytes,1,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"` + Available int64 `protobuf:"varint,2,opt,name=available,proto3" json:"available,omitempty"` + Used int64 `protobuf:"varint,3,opt,name=used,proto3" json:"used,omitempty"` } -func (m *DiskStatisticsResponse_StorageStatus) Reset() { *m = DiskStatisticsResponse_StorageStatus{} } -func (m *DiskStatisticsResponse_StorageStatus) String() string { return proto.CompactTextString(m) } -func (*DiskStatisticsResponse_StorageStatus) ProtoMessage() {} -func (*DiskStatisticsResponse_StorageStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_ad098daeda4239f7, []int{3, 0} +func (x *DiskStatisticsResponse_StorageStatus) Reset() { + *x = DiskStatisticsResponse_StorageStatus{} + if protoimpl.UnsafeEnabled { + mi := &file_server_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DiskStatisticsResponse_StorageStatus) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DiskStatisticsResponse_StorageStatus.Unmarshal(m, b) -} -func (m *DiskStatisticsResponse_StorageStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DiskStatisticsResponse_StorageStatus.Marshal(b, m, deterministic) -} -func (m *DiskStatisticsResponse_StorageStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_DiskStatisticsResponse_StorageStatus.Merge(m, src) +func (x *DiskStatisticsResponse_StorageStatus) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DiskStatisticsResponse_StorageStatus) XXX_Size() int { - return xxx_messageInfo_DiskStatisticsResponse_StorageStatus.Size(m) -} -func (m *DiskStatisticsResponse_StorageStatus) XXX_DiscardUnknown() { - xxx_messageInfo_DiskStatisticsResponse_StorageStatus.DiscardUnknown(m) + +func (*DiskStatisticsResponse_StorageStatus) ProtoMessage() {} + +func (x *DiskStatisticsResponse_StorageStatus) ProtoReflect() protoreflect.Message { + mi := &file_server_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_DiskStatisticsResponse_StorageStatus proto.InternalMessageInfo +// Deprecated: Use DiskStatisticsResponse_StorageStatus.ProtoReflect.Descriptor instead. +func (*DiskStatisticsResponse_StorageStatus) Descriptor() ([]byte, []int) { + return file_server_proto_rawDescGZIP(), []int{3, 0} +} -func (m *DiskStatisticsResponse_StorageStatus) GetStorageName() string { - if m != nil { - return m.StorageName +func (x *DiskStatisticsResponse_StorageStatus) GetStorageName() string { + if x != nil { + return x.StorageName } return "" } -func (m *DiskStatisticsResponse_StorageStatus) GetAvailable() int64 { - if m != nil { - return m.Available +func (x *DiskStatisticsResponse_StorageStatus) GetAvailable() int64 { + if x != nil { + return x.Available } return 0 } -func (m *DiskStatisticsResponse_StorageStatus) GetUsed() int64 { - if m != nil { - return m.Used +func (x *DiskStatisticsResponse_StorageStatus) GetUsed() int64 { + if x != nil { + return x.Used } return 0 } -func init() { - proto.RegisterType((*ServerInfoRequest)(nil), "gitaly.ServerInfoRequest") - proto.RegisterType((*ServerInfoResponse)(nil), "gitaly.ServerInfoResponse") - proto.RegisterType((*ServerInfoResponse_StorageStatus)(nil), "gitaly.ServerInfoResponse.StorageStatus") - proto.RegisterType((*DiskStatisticsRequest)(nil), "gitaly.DiskStatisticsRequest") - proto.RegisterType((*DiskStatisticsResponse)(nil), "gitaly.DiskStatisticsResponse") - proto.RegisterType((*DiskStatisticsResponse_StorageStatus)(nil), "gitaly.DiskStatisticsResponse.StorageStatus") -} - -func init() { proto.RegisterFile("server.proto", fileDescriptor_ad098daeda4239f7) } - -var fileDescriptor_ad098daeda4239f7 = []byte{ - // 454 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x53, 0x5d, 0x6e, 0xd3, 0x40, - 0x10, 0x96, 0x71, 0x08, 0xcd, 0x24, 0x29, 0x74, 0x10, 0xd4, 0x58, 0x05, 0x42, 0x10, 0x92, 0x1f, - 0xa8, 0x83, 0xca, 0x0d, 0x00, 0x21, 0xf5, 0x05, 0x24, 0x07, 0x81, 0xc4, 0x8b, 0xb5, 0xb1, 0xc7, - 0xd6, 0x0a, 0xc7, 0x6b, 0x76, 0x36, 0x41, 0x39, 0x04, 0xcf, 0x1c, 0x82, 0x03, 0x21, 0x6e, 0xc1, - 0x11, 0x50, 0x76, 0xf3, 0x57, 0x48, 0x41, 0xea, 0x8b, 0xb5, 0xf3, 0x7d, 0xdf, 0xcc, 0xce, 0x7e, - 0x33, 0x86, 0x1e, 0x93, 0x9e, 0x93, 0x8e, 0x1b, 0xad, 0x8c, 0xc2, 0x76, 0x29, 0x8d, 0xa8, 0x16, - 0x21, 0x54, 0xb2, 0x36, 0x0e, 0x1b, 0xde, 0x86, 0xa3, 0xb1, 0xd5, 0x9c, 0xd7, 0x85, 0x4a, 0xe8, - 0xf3, 0x8c, 0xd8, 0x0c, 0xbf, 0xfa, 0x80, 0xbb, 0x28, 0x37, 0xaa, 0x66, 0xc2, 0x27, 0x70, 0xe8, - 0xea, 0xa5, 0x73, 0xd2, 0x2c, 0x55, 0x1d, 0x78, 0x03, 0x2f, 0xea, 0x24, 0x7d, 0x87, 0xbe, 0x77, - 0x20, 0x3e, 0x84, 0x6e, 0x29, 0xcd, 0x46, 0x73, 0xcd, 0x6a, 0xa0, 0x94, 0x66, 0x2d, 0x18, 0xc3, - 0x2d, 0x36, 0x4a, 0x8b, 0x92, 0x52, 0x36, 0xc2, 0xcc, 0x98, 0x38, 0xf0, 0x07, 0x7e, 0xd4, 0x3d, - 0x8b, 0x62, 0xd7, 0x62, 0xfc, 0xf7, 0xed, 0xf1, 0xd8, 0xa5, 0x8c, 0x6d, 0x46, 0x72, 0x93, 0x77, - 0x43, 0xe2, 0xf0, 0xa7, 0x07, 0xfd, 0x0b, 0x12, 0x7c, 0x04, 0xbd, 0xf5, 0x35, 0xb5, 0x98, 0xd2, - 0xaa, 0xd9, 0xee, 0x0a, 0x7b, 0x23, 0xa6, 0x84, 0x21, 0x1c, 0x68, 0x12, 0xb9, 0x98, 0x54, 0x64, - 0xfb, 0x3c, 0x48, 0x36, 0x31, 0x9e, 0x40, 0xe7, 0x8b, 0x96, 0x86, 0x2c, 0xe9, 0x5b, 0x72, 0x0b, - 0xe0, 0x31, 0xdc, 0x28, 0x38, 0x35, 0x8b, 0x86, 0x82, 0x96, 0xad, 0xdb, 0x2e, 0xf8, 0xdd, 0xa2, - 0x21, 0x7c, 0x0c, 0xfd, 0x42, 0x56, 0xc4, 0x0b, 0x36, 0x34, 0x4d, 0x65, 0x1e, 0x5c, 0xb7, 0x74, - 0x6f, 0x0b, 0x9e, 0xe7, 0x78, 0x0a, 0xa8, 0xa9, 0xa9, 0x64, 0x26, 0x8c, 0x54, 0x75, 0x5a, 0x88, - 0xcc, 0x28, 0x1d, 0xb4, 0x07, 0x5e, 0xd4, 0x4f, 0x8e, 0x76, 0x98, 0xd7, 0x96, 0x18, 0x1e, 0xc3, - 0x9d, 0x57, 0x92, 0x3f, 0x2d, 0xdf, 0x25, 0xd9, 0xc8, 0x8c, 0xd7, 0x83, 0xfa, 0xe1, 0xc1, 0xdd, - 0x3f, 0x99, 0xd5, 0xb0, 0x3e, 0xec, 0x31, 0xd9, 0xb3, 0x26, 0x3f, 0x5d, 0x9b, 0xbc, 0x3f, 0xf3, - 0x7f, 0x46, 0xe7, 0x57, 0xf0, 0xf9, 0x04, 0x3a, 0x62, 0x2e, 0x64, 0xb5, 0x31, 0xda, 0x4f, 0xb6, - 0x00, 0x22, 0xb4, 0x66, 0x4c, 0xb9, 0x35, 0xd9, 0x4f, 0xec, 0xf9, 0xec, 0xfb, 0x72, 0x9c, 0x76, - 0x09, 0x96, 0x5f, 0x99, 0x11, 0xbe, 0x04, 0xd8, 0x6e, 0x05, 0xde, 0xdb, 0xb7, 0x29, 0xd6, 0x94, - 0x30, 0xbc, 0x7c, 0x89, 0xf0, 0x2d, 0x1c, 0x5e, 0x7c, 0x35, 0xde, 0xbf, 0xcc, 0x0d, 0x57, 0xec, - 0xc1, 0xbf, 0xcd, 0x0a, 0x5b, 0xbf, 0xbe, 0x45, 0xde, 0x8b, 0x67, 0x1f, 0x97, 0xb2, 0x4a, 0x4c, - 0xe2, 0x4c, 0x4d, 0x47, 0xee, 0x78, 0xaa, 0x74, 0x39, 0x72, 0xc9, 0x23, 0xfb, 0xaf, 0x8d, 0x4a, - 0xb5, 0x8a, 0x9b, 0xc9, 0xa4, 0x6d, 0xa1, 0xe7, 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0x0e, 0x49, - 0xe0, 0x72, 0xa2, 0x03, 0x00, 0x00, +var File_server_proto protoreflect.FileDescriptor + +var file_server_proto_rawDesc = []byte{ + 0x0a, 0x0c, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 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, 0x22, 0x13, 0x0a, 0x11, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x8d, 0x03, 0x0a, 0x12, 0x53, 0x65, 0x72, 0x76, + 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x25, + 0x0a, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x56, 0x65, + 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x67, 0x69, 0x74, 0x5f, 0x76, 0x65, 0x72, + 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x67, 0x69, 0x74, 0x56, + 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x53, 0x0a, 0x10, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x28, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, + 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x53, 0x74, 0x6f, + 0x72, 0x61, 0x67, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0f, 0x73, 0x74, 0x6f, 0x72, + 0x61, 0x67, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x1a, 0xd9, 0x01, 0x0a, 0x0d, + 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x21, 0x0a, + 0x0c, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x4e, 0x61, 0x6d, 0x65, + 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x61, 0x64, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x61, 0x64, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x1c, 0x0a, 0x09, + 0x77, 0x72, 0x69, 0x74, 0x65, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x09, 0x77, 0x72, 0x69, 0x74, 0x65, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x66, 0x73, + 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x73, 0x54, + 0x79, 0x70, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x79, 0x73, 0x74, 0x65, + 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x66, 0x69, 0x6c, 0x65, + 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x12, 0x2d, 0x0a, 0x12, 0x72, 0x65, 0x70, 0x6c, + 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x66, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x46, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x22, 0x17, 0x0a, 0x15, 0x44, 0x69, 0x73, 0x6b, 0x53, + 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x22, 0xd7, 0x01, 0x0a, 0x16, 0x44, 0x69, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, + 0x69, 0x63, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x57, 0x0a, 0x10, 0x73, + 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x44, + 0x69, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x53, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x52, 0x0f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x53, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x65, 0x73, 0x1a, 0x64, 0x0a, 0x0d, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x53, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, + 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x74, 0x6f, + 0x72, 0x61, 0x67, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x76, 0x61, 0x69, + 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x61, 0x76, 0x61, + 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x64, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x75, 0x73, 0x65, 0x64, 0x32, 0xab, 0x01, 0x0a, 0x0d, 0x53, + 0x65, 0x72, 0x76, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x43, 0x0a, 0x0a, + 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x19, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x53, + 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x4f, 0x0a, 0x0e, 0x44, 0x69, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, + 0x69, 0x63, 0x73, 0x12, 0x1d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x44, 0x69, 0x73, + 0x6b, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x44, 0x69, 0x73, 0x6b, + 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x1a, 0x04, 0xf0, 0x97, 0x28, 0x01, 0x42, 0x30, 0x5a, 0x2e, 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, 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_server_proto_rawDescOnce sync.Once + file_server_proto_rawDescData = file_server_proto_rawDesc +) + +func file_server_proto_rawDescGZIP() []byte { + file_server_proto_rawDescOnce.Do(func() { + file_server_proto_rawDescData = protoimpl.X.CompressGZIP(file_server_proto_rawDescData) + }) + return file_server_proto_rawDescData +} + +var file_server_proto_msgTypes = make([]protoimpl.MessageInfo, 6) +var file_server_proto_goTypes = []interface{}{ + (*ServerInfoRequest)(nil), // 0: gitaly.ServerInfoRequest + (*ServerInfoResponse)(nil), // 1: gitaly.ServerInfoResponse + (*DiskStatisticsRequest)(nil), // 2: gitaly.DiskStatisticsRequest + (*DiskStatisticsResponse)(nil), // 3: gitaly.DiskStatisticsResponse + (*ServerInfoResponse_StorageStatus)(nil), // 4: gitaly.ServerInfoResponse.StorageStatus + (*DiskStatisticsResponse_StorageStatus)(nil), // 5: gitaly.DiskStatisticsResponse.StorageStatus +} +var file_server_proto_depIdxs = []int32{ + 4, // 0: gitaly.ServerInfoResponse.storage_statuses:type_name -> gitaly.ServerInfoResponse.StorageStatus + 5, // 1: gitaly.DiskStatisticsResponse.storage_statuses:type_name -> gitaly.DiskStatisticsResponse.StorageStatus + 0, // 2: gitaly.ServerService.ServerInfo:input_type -> gitaly.ServerInfoRequest + 2, // 3: gitaly.ServerService.DiskStatistics:input_type -> gitaly.DiskStatisticsRequest + 1, // 4: gitaly.ServerService.ServerInfo:output_type -> gitaly.ServerInfoResponse + 3, // 5: gitaly.ServerService.DiskStatistics:output_type -> gitaly.DiskStatisticsResponse + 4, // [4:6] is the sub-list for method output_type + 2, // [2:4] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_server_proto_init() } +func file_server_proto_init() { + if File_server_proto != nil { + return + } + file_lint_proto_init() + if !protoimpl.UnsafeEnabled { + file_server_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ServerInfoRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_server_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ServerInfoResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_server_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DiskStatisticsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_server_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DiskStatisticsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_server_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ServerInfoResponse_StorageStatus); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_server_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DiskStatisticsResponse_StorageStatus); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_server_proto_rawDesc, + NumEnums: 0, + NumMessages: 6, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_server_proto_goTypes, + DependencyIndexes: file_server_proto_depIdxs, + MessageInfos: file_server_proto_msgTypes, + }.Build() + File_server_proto = out.File + file_server_proto_rawDesc = nil + file_server_proto_goTypes = nil + file_server_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConn +var _ grpc.ClientConnInterface // 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 +const _ = grpc.SupportPackageIsVersion6 // ServerServiceClient is the client API for ServerService service. // @@ -377,10 +583,10 @@ type ServerServiceClient interface { } type serverServiceClient struct { - cc *grpc.ClientConn + cc grpc.ClientConnInterface } -func NewServerServiceClient(cc *grpc.ClientConn) ServerServiceClient { +func NewServerServiceClient(cc grpc.ClientConnInterface) ServerServiceClient { return &serverServiceClient{cc} } @@ -412,10 +618,10 @@ type ServerServiceServer interface { type UnimplementedServerServiceServer struct { } -func (*UnimplementedServerServiceServer) ServerInfo(ctx context.Context, req *ServerInfoRequest) (*ServerInfoResponse, error) { +func (*UnimplementedServerServiceServer) ServerInfo(context.Context, *ServerInfoRequest) (*ServerInfoResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ServerInfo not implemented") } -func (*UnimplementedServerServiceServer) DiskStatistics(ctx context.Context, req *DiskStatisticsRequest) (*DiskStatisticsResponse, error) { +func (*UnimplementedServerServiceServer) DiskStatistics(context.Context, *DiskStatisticsRequest) (*DiskStatisticsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method DiskStatistics not implemented") } diff --git a/proto/go/gitalypb/shared.pb.go b/proto/go/gitalypb/shared.pb.go index 50e47b81d..10588f28a 100644 --- a/proto/go/gitalypb/shared.pb.go +++ b/proto/go/gitalypb/shared.pb.go @@ -1,25 +1,30 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc v3.12.4 // source: shared.proto package gitalypb import ( - fmt "fmt" proto "github.com/golang/protobuf/proto" timestamp "github.com/golang/protobuf/ptypes/timestamp" - 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 +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) +) -// 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 +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 type ObjectType int32 @@ -31,28 +36,49 @@ const ( ObjectType_TAG ObjectType = 4 ) -var ObjectType_name = map[int32]string{ - 0: "UNKNOWN", - 1: "COMMIT", - 2: "BLOB", - 3: "TREE", - 4: "TAG", -} +// Enum value maps for ObjectType. +var ( + ObjectType_name = map[int32]string{ + 0: "UNKNOWN", + 1: "COMMIT", + 2: "BLOB", + 3: "TREE", + 4: "TAG", + } + ObjectType_value = map[string]int32{ + "UNKNOWN": 0, + "COMMIT": 1, + "BLOB": 2, + "TREE": 3, + "TAG": 4, + } +) -var ObjectType_value = map[string]int32{ - "UNKNOWN": 0, - "COMMIT": 1, - "BLOB": 2, - "TREE": 3, - "TAG": 4, +func (x ObjectType) Enum() *ObjectType { + p := new(ObjectType) + *p = x + return p } func (x ObjectType) String() string { - return proto.EnumName(ObjectType_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ObjectType) Descriptor() protoreflect.EnumDescriptor { + return file_shared_proto_enumTypes[0].Descriptor() +} + +func (ObjectType) Type() protoreflect.EnumType { + return &file_shared_proto_enumTypes[0] } +func (x ObjectType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ObjectType.Descriptor instead. func (ObjectType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_d8a4e87e678c5ced, []int{0} + return file_shared_proto_rawDescGZIP(), []int{0} } type SignatureType int32 @@ -60,30 +86,55 @@ type SignatureType int32 const ( SignatureType_NONE SignatureType = 0 SignatureType_PGP SignatureType = 1 - SignatureType_X509 SignatureType = 2 + SignatureType_X509 SignatureType = 2 // maybe add X509+TSA or other combinations at a later step ) -var SignatureType_name = map[int32]string{ - 0: "NONE", - 1: "PGP", - 2: "X509", -} +// Enum value maps for SignatureType. +var ( + SignatureType_name = map[int32]string{ + 0: "NONE", + 1: "PGP", + 2: "X509", + } + SignatureType_value = map[string]int32{ + "NONE": 0, + "PGP": 1, + "X509": 2, + } +) -var SignatureType_value = map[string]int32{ - "NONE": 0, - "PGP": 1, - "X509": 2, +func (x SignatureType) Enum() *SignatureType { + p := new(SignatureType) + *p = x + return p } func (x SignatureType) String() string { - return proto.EnumName(SignatureType_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (SignatureType) Descriptor() protoreflect.EnumDescriptor { + return file_shared_proto_enumTypes[1].Descriptor() } +func (SignatureType) Type() protoreflect.EnumType { + return &file_shared_proto_enumTypes[1] +} + +func (x SignatureType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use SignatureType.Descriptor instead. func (SignatureType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_d8a4e87e678c5ced, []int{1} + return file_shared_proto_rawDescGZIP(), []int{1} } type Repository struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + StorageName string `protobuf:"bytes,2,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"` RelativePath string `protobuf:"bytes,3,opt,name=relative_path,json=relativePath,proto3" json:"relative_path,omitempty"` // Sets the GIT_OBJECT_DIRECTORY envvar on git commands to the value of this field. @@ -101,75 +152,79 @@ type Repository struct { // path on disk. The name can change over time (e.g. when a project is // renamed). This is primarily used for logging/debugging at the // moment. - GlProjectPath string `protobuf:"bytes,8,opt,name=gl_project_path,json=glProjectPath,proto3" json:"gl_project_path,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + GlProjectPath string `protobuf:"bytes,8,opt,name=gl_project_path,json=glProjectPath,proto3" json:"gl_project_path,omitempty"` } -func (m *Repository) Reset() { *m = Repository{} } -func (m *Repository) String() string { return proto.CompactTextString(m) } -func (*Repository) ProtoMessage() {} -func (*Repository) Descriptor() ([]byte, []int) { - return fileDescriptor_d8a4e87e678c5ced, []int{0} +func (x *Repository) Reset() { + *x = Repository{} + if protoimpl.UnsafeEnabled { + mi := &file_shared_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Repository) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Repository.Unmarshal(m, b) -} -func (m *Repository) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Repository.Marshal(b, m, deterministic) -} -func (m *Repository) XXX_Merge(src proto.Message) { - xxx_messageInfo_Repository.Merge(m, src) -} -func (m *Repository) XXX_Size() int { - return xxx_messageInfo_Repository.Size(m) +func (x *Repository) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Repository) XXX_DiscardUnknown() { - xxx_messageInfo_Repository.DiscardUnknown(m) + +func (*Repository) ProtoMessage() {} + +func (x *Repository) ProtoReflect() protoreflect.Message { + mi := &file_shared_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_Repository proto.InternalMessageInfo +// Deprecated: Use Repository.ProtoReflect.Descriptor instead. +func (*Repository) Descriptor() ([]byte, []int) { + return file_shared_proto_rawDescGZIP(), []int{0} +} -func (m *Repository) GetStorageName() string { - if m != nil { - return m.StorageName +func (x *Repository) GetStorageName() string { + if x != nil { + return x.StorageName } return "" } -func (m *Repository) GetRelativePath() string { - if m != nil { - return m.RelativePath +func (x *Repository) GetRelativePath() string { + if x != nil { + return x.RelativePath } return "" } -func (m *Repository) GetGitObjectDirectory() string { - if m != nil { - return m.GitObjectDirectory +func (x *Repository) GetGitObjectDirectory() string { + if x != nil { + return x.GitObjectDirectory } return "" } -func (m *Repository) GetGitAlternateObjectDirectories() []string { - if m != nil { - return m.GitAlternateObjectDirectories +func (x *Repository) GetGitAlternateObjectDirectories() []string { + if x != nil { + return x.GitAlternateObjectDirectories } return nil } -func (m *Repository) GetGlRepository() string { - if m != nil { - return m.GlRepository +func (x *Repository) GetGlRepository() string { + if x != nil { + return x.GlRepository } return "" } -func (m *Repository) GetGlProjectPath() string { - if m != nil { - return m.GlProjectPath +func (x *Repository) GetGlProjectPath() string { + if x != nil { + return x.GlProjectPath } return "" } @@ -177,56 +232,68 @@ func (m *Repository) GetGlProjectPath() string { // A single Git trailer (https://git-scm.com/docs/git-interpret-trailers) // key-value pair. type CommitTrailer struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The key of the trailer, such as `Signed-off-by`. Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // The value of the trailer, such as `Alice <alice@gmail.com>`. - Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` } -func (m *CommitTrailer) Reset() { *m = CommitTrailer{} } -func (m *CommitTrailer) String() string { return proto.CompactTextString(m) } -func (*CommitTrailer) ProtoMessage() {} -func (*CommitTrailer) Descriptor() ([]byte, []int) { - return fileDescriptor_d8a4e87e678c5ced, []int{1} +func (x *CommitTrailer) Reset() { + *x = CommitTrailer{} + if protoimpl.UnsafeEnabled { + mi := &file_shared_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CommitTrailer) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CommitTrailer.Unmarshal(m, b) -} -func (m *CommitTrailer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CommitTrailer.Marshal(b, m, deterministic) +func (x *CommitTrailer) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CommitTrailer) XXX_Merge(src proto.Message) { - xxx_messageInfo_CommitTrailer.Merge(m, src) -} -func (m *CommitTrailer) XXX_Size() int { - return xxx_messageInfo_CommitTrailer.Size(m) -} -func (m *CommitTrailer) XXX_DiscardUnknown() { - xxx_messageInfo_CommitTrailer.DiscardUnknown(m) + +func (*CommitTrailer) ProtoMessage() {} + +func (x *CommitTrailer) ProtoReflect() protoreflect.Message { + mi := &file_shared_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) } -var xxx_messageInfo_CommitTrailer proto.InternalMessageInfo +// Deprecated: Use CommitTrailer.ProtoReflect.Descriptor instead. +func (*CommitTrailer) Descriptor() ([]byte, []int) { + return file_shared_proto_rawDescGZIP(), []int{1} +} -func (m *CommitTrailer) GetKey() []byte { - if m != nil { - return m.Key +func (x *CommitTrailer) GetKey() []byte { + if x != nil { + return x.Key } return nil } -func (m *CommitTrailer) GetValue() []byte { - if m != nil { - return m.Value +func (x *CommitTrailer) GetValue() []byte { + if x != nil { + return x.Value } return nil } // Corresponds to Gitlab::Git::Commit type GitCommit struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Subject []byte `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"` Body []byte `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"` @@ -246,450 +313,506 @@ type GitCommit struct { // found in this commit's message. The number of trailers and their key/value // sizes are limited. If a trailer exceeds these size limits, it and any // trailers that follow it are not included. - Trailers []*CommitTrailer `protobuf:"bytes,10,rep,name=trailers,proto3" json:"trailers,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Trailers []*CommitTrailer `protobuf:"bytes,10,rep,name=trailers,proto3" json:"trailers,omitempty"` } -func (m *GitCommit) Reset() { *m = GitCommit{} } -func (m *GitCommit) String() string { return proto.CompactTextString(m) } -func (*GitCommit) ProtoMessage() {} -func (*GitCommit) Descriptor() ([]byte, []int) { - return fileDescriptor_d8a4e87e678c5ced, []int{2} +func (x *GitCommit) Reset() { + *x = GitCommit{} + if protoimpl.UnsafeEnabled { + mi := &file_shared_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GitCommit) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GitCommit.Unmarshal(m, b) -} -func (m *GitCommit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GitCommit.Marshal(b, m, deterministic) -} -func (m *GitCommit) XXX_Merge(src proto.Message) { - xxx_messageInfo_GitCommit.Merge(m, src) +func (x *GitCommit) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GitCommit) XXX_Size() int { - return xxx_messageInfo_GitCommit.Size(m) -} -func (m *GitCommit) XXX_DiscardUnknown() { - xxx_messageInfo_GitCommit.DiscardUnknown(m) + +func (*GitCommit) ProtoMessage() {} + +func (x *GitCommit) ProtoReflect() protoreflect.Message { + mi := &file_shared_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_GitCommit proto.InternalMessageInfo +// Deprecated: Use GitCommit.ProtoReflect.Descriptor instead. +func (*GitCommit) Descriptor() ([]byte, []int) { + return file_shared_proto_rawDescGZIP(), []int{2} +} -func (m *GitCommit) GetId() string { - if m != nil { - return m.Id +func (x *GitCommit) GetId() string { + if x != nil { + return x.Id } return "" } -func (m *GitCommit) GetSubject() []byte { - if m != nil { - return m.Subject +func (x *GitCommit) GetSubject() []byte { + if x != nil { + return x.Subject } return nil } -func (m *GitCommit) GetBody() []byte { - if m != nil { - return m.Body +func (x *GitCommit) GetBody() []byte { + if x != nil { + return x.Body } return nil } -func (m *GitCommit) GetAuthor() *CommitAuthor { - if m != nil { - return m.Author +func (x *GitCommit) GetAuthor() *CommitAuthor { + if x != nil { + return x.Author } return nil } -func (m *GitCommit) GetCommitter() *CommitAuthor { - if m != nil { - return m.Committer +func (x *GitCommit) GetCommitter() *CommitAuthor { + if x != nil { + return x.Committer } return nil } -func (m *GitCommit) GetParentIds() []string { - if m != nil { - return m.ParentIds +func (x *GitCommit) GetParentIds() []string { + if x != nil { + return x.ParentIds } return nil } -func (m *GitCommit) GetBodySize() int64 { - if m != nil { - return m.BodySize +func (x *GitCommit) GetBodySize() int64 { + if x != nil { + return x.BodySize } return 0 } -func (m *GitCommit) GetSignatureType() SignatureType { - if m != nil { - return m.SignatureType +func (x *GitCommit) GetSignatureType() SignatureType { + if x != nil { + return x.SignatureType } return SignatureType_NONE } -func (m *GitCommit) GetTreeId() string { - if m != nil { - return m.TreeId +func (x *GitCommit) GetTreeId() string { + if x != nil { + return x.TreeId } return "" } -func (m *GitCommit) GetTrailers() []*CommitTrailer { - if m != nil { - return m.Trailers +func (x *GitCommit) GetTrailers() []*CommitTrailer { + if x != nil { + return x.Trailers } return nil } type CommitAuthor struct { - Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Email []byte `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` - Date *timestamp.Timestamp `protobuf:"bytes,3,opt,name=date,proto3" json:"date,omitempty"` - Timezone []byte `protobuf:"bytes,4,opt,name=timezone,proto3" json:"timezone,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CommitAuthor) Reset() { *m = CommitAuthor{} } -func (m *CommitAuthor) String() string { return proto.CompactTextString(m) } -func (*CommitAuthor) ProtoMessage() {} -func (*CommitAuthor) Descriptor() ([]byte, []int) { - return fileDescriptor_d8a4e87e678c5ced, []int{3} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Email []byte `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` + Date *timestamp.Timestamp `protobuf:"bytes,3,opt,name=date,proto3" json:"date,omitempty"` + Timezone []byte `protobuf:"bytes,4,opt,name=timezone,proto3" json:"timezone,omitempty"` +} + +func (x *CommitAuthor) Reset() { + *x = CommitAuthor{} + if protoimpl.UnsafeEnabled { + mi := &file_shared_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CommitAuthor) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CommitAuthor.Unmarshal(m, b) -} -func (m *CommitAuthor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CommitAuthor.Marshal(b, m, deterministic) -} -func (m *CommitAuthor) XXX_Merge(src proto.Message) { - xxx_messageInfo_CommitAuthor.Merge(m, src) -} -func (m *CommitAuthor) XXX_Size() int { - return xxx_messageInfo_CommitAuthor.Size(m) +func (x *CommitAuthor) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CommitAuthor) XXX_DiscardUnknown() { - xxx_messageInfo_CommitAuthor.DiscardUnknown(m) + +func (*CommitAuthor) ProtoMessage() {} + +func (x *CommitAuthor) ProtoReflect() protoreflect.Message { + mi := &file_shared_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_CommitAuthor proto.InternalMessageInfo +// Deprecated: Use CommitAuthor.ProtoReflect.Descriptor instead. +func (*CommitAuthor) Descriptor() ([]byte, []int) { + return file_shared_proto_rawDescGZIP(), []int{3} +} -func (m *CommitAuthor) GetName() []byte { - if m != nil { - return m.Name +func (x *CommitAuthor) GetName() []byte { + if x != nil { + return x.Name } return nil } -func (m *CommitAuthor) GetEmail() []byte { - if m != nil { - return m.Email +func (x *CommitAuthor) GetEmail() []byte { + if x != nil { + return x.Email } return nil } -func (m *CommitAuthor) GetDate() *timestamp.Timestamp { - if m != nil { - return m.Date +func (x *CommitAuthor) GetDate() *timestamp.Timestamp { + if x != nil { + return x.Date } return nil } -func (m *CommitAuthor) GetTimezone() []byte { - if m != nil { - return m.Timezone +func (x *CommitAuthor) GetTimezone() []byte { + if x != nil { + return x.Timezone } return nil } type ExitStatus struct { - Value int32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *ExitStatus) Reset() { *m = ExitStatus{} } -func (m *ExitStatus) String() string { return proto.CompactTextString(m) } -func (*ExitStatus) ProtoMessage() {} -func (*ExitStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_d8a4e87e678c5ced, []int{4} + Value int32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` } -func (m *ExitStatus) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExitStatus.Unmarshal(m, b) -} -func (m *ExitStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExitStatus.Marshal(b, m, deterministic) -} -func (m *ExitStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExitStatus.Merge(m, src) +func (x *ExitStatus) Reset() { + *x = ExitStatus{} + if protoimpl.UnsafeEnabled { + mi := &file_shared_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ExitStatus) XXX_Size() int { - return xxx_messageInfo_ExitStatus.Size(m) + +func (x *ExitStatus) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ExitStatus) XXX_DiscardUnknown() { - xxx_messageInfo_ExitStatus.DiscardUnknown(m) + +func (*ExitStatus) ProtoMessage() {} + +func (x *ExitStatus) ProtoReflect() protoreflect.Message { + mi := &file_shared_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_ExitStatus proto.InternalMessageInfo +// Deprecated: Use ExitStatus.ProtoReflect.Descriptor instead. +func (*ExitStatus) Descriptor() ([]byte, []int) { + return file_shared_proto_rawDescGZIP(), []int{4} +} -func (m *ExitStatus) GetValue() int32 { - if m != nil { - return m.Value +func (x *ExitStatus) GetValue() int32 { + if x != nil { + return x.Value } return 0 } // Corresponds to Gitlab::Git::Branch type Branch struct { - Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - TargetCommit *GitCommit `protobuf:"bytes,2,opt,name=target_commit,json=targetCommit,proto3" json:"target_commit,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *Branch) Reset() { *m = Branch{} } -func (m *Branch) String() string { return proto.CompactTextString(m) } -func (*Branch) ProtoMessage() {} -func (*Branch) Descriptor() ([]byte, []int) { - return fileDescriptor_d8a4e87e678c5ced, []int{5} + Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + TargetCommit *GitCommit `protobuf:"bytes,2,opt,name=target_commit,json=targetCommit,proto3" json:"target_commit,omitempty"` } -func (m *Branch) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Branch.Unmarshal(m, b) -} -func (m *Branch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Branch.Marshal(b, m, deterministic) -} -func (m *Branch) XXX_Merge(src proto.Message) { - xxx_messageInfo_Branch.Merge(m, src) +func (x *Branch) Reset() { + *x = Branch{} + if protoimpl.UnsafeEnabled { + mi := &file_shared_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Branch) XXX_Size() int { - return xxx_messageInfo_Branch.Size(m) + +func (x *Branch) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Branch) XXX_DiscardUnknown() { - xxx_messageInfo_Branch.DiscardUnknown(m) + +func (*Branch) ProtoMessage() {} + +func (x *Branch) ProtoReflect() protoreflect.Message { + mi := &file_shared_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_Branch proto.InternalMessageInfo +// Deprecated: Use Branch.ProtoReflect.Descriptor instead. +func (*Branch) Descriptor() ([]byte, []int) { + return file_shared_proto_rawDescGZIP(), []int{5} +} -func (m *Branch) GetName() []byte { - if m != nil { - return m.Name +func (x *Branch) GetName() []byte { + if x != nil { + return x.Name } return nil } -func (m *Branch) GetTargetCommit() *GitCommit { - if m != nil { - return m.TargetCommit +func (x *Branch) GetTargetCommit() *GitCommit { + if x != nil { + return x.TargetCommit } return nil } type Tag struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` TargetCommit *GitCommit `protobuf:"bytes,3,opt,name=target_commit,json=targetCommit,proto3" json:"target_commit,omitempty"` // If message exceeds a certain threshold, it will be nullified, // but its size will be set in message_size so we can know if // a tag had a message in the first place. - Message []byte `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"` - MessageSize int64 `protobuf:"varint,5,opt,name=message_size,json=messageSize,proto3" json:"message_size,omitempty"` - Tagger *CommitAuthor `protobuf:"bytes,6,opt,name=tagger,proto3" json:"tagger,omitempty"` - SignatureType SignatureType `protobuf:"varint,7,opt,name=signature_type,json=signatureType,proto3,enum=gitaly.SignatureType" json:"signature_type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Tag) Reset() { *m = Tag{} } -func (m *Tag) String() string { return proto.CompactTextString(m) } -func (*Tag) ProtoMessage() {} -func (*Tag) Descriptor() ([]byte, []int) { - return fileDescriptor_d8a4e87e678c5ced, []int{6} + Message []byte `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"` + MessageSize int64 `protobuf:"varint,5,opt,name=message_size,json=messageSize,proto3" json:"message_size,omitempty"` + Tagger *CommitAuthor `protobuf:"bytes,6,opt,name=tagger,proto3" json:"tagger,omitempty"` + SignatureType SignatureType `protobuf:"varint,7,opt,name=signature_type,json=signatureType,proto3,enum=gitaly.SignatureType" json:"signature_type,omitempty"` +} + +func (x *Tag) Reset() { + *x = Tag{} + if protoimpl.UnsafeEnabled { + mi := &file_shared_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Tag) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Tag.Unmarshal(m, b) -} -func (m *Tag) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Tag.Marshal(b, m, deterministic) +func (x *Tag) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Tag) XXX_Merge(src proto.Message) { - xxx_messageInfo_Tag.Merge(m, src) -} -func (m *Tag) XXX_Size() int { - return xxx_messageInfo_Tag.Size(m) -} -func (m *Tag) XXX_DiscardUnknown() { - xxx_messageInfo_Tag.DiscardUnknown(m) + +func (*Tag) ProtoMessage() {} + +func (x *Tag) ProtoReflect() protoreflect.Message { + mi := &file_shared_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_Tag proto.InternalMessageInfo +// Deprecated: Use Tag.ProtoReflect.Descriptor instead. +func (*Tag) Descriptor() ([]byte, []int) { + return file_shared_proto_rawDescGZIP(), []int{6} +} -func (m *Tag) GetName() []byte { - if m != nil { - return m.Name +func (x *Tag) GetName() []byte { + if x != nil { + return x.Name } return nil } -func (m *Tag) GetId() string { - if m != nil { - return m.Id +func (x *Tag) GetId() string { + if x != nil { + return x.Id } return "" } -func (m *Tag) GetTargetCommit() *GitCommit { - if m != nil { - return m.TargetCommit +func (x *Tag) GetTargetCommit() *GitCommit { + if x != nil { + return x.TargetCommit } return nil } -func (m *Tag) GetMessage() []byte { - if m != nil { - return m.Message +func (x *Tag) GetMessage() []byte { + if x != nil { + return x.Message } return nil } -func (m *Tag) GetMessageSize() int64 { - if m != nil { - return m.MessageSize +func (x *Tag) GetMessageSize() int64 { + if x != nil { + return x.MessageSize } return 0 } -func (m *Tag) GetTagger() *CommitAuthor { - if m != nil { - return m.Tagger +func (x *Tag) GetTagger() *CommitAuthor { + if x != nil { + return x.Tagger } return nil } -func (m *Tag) GetSignatureType() SignatureType { - if m != nil { - return m.SignatureType +func (x *Tag) GetSignatureType() SignatureType { + if x != nil { + return x.SignatureType } return SignatureType_NONE } type User struct { - GlId string `protobuf:"bytes,1,opt,name=gl_id,json=glId,proto3" json:"gl_id,omitempty"` - Name []byte `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - Email []byte `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"` - GlUsername string `protobuf:"bytes,4,opt,name=gl_username,json=glUsername,proto3" json:"gl_username,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *User) Reset() { *m = User{} } -func (m *User) String() string { return proto.CompactTextString(m) } -func (*User) ProtoMessage() {} -func (*User) Descriptor() ([]byte, []int) { - return fileDescriptor_d8a4e87e678c5ced, []int{7} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + GlId string `protobuf:"bytes,1,opt,name=gl_id,json=glId,proto3" json:"gl_id,omitempty"` + Name []byte `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Email []byte `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"` + GlUsername string `protobuf:"bytes,4,opt,name=gl_username,json=glUsername,proto3" json:"gl_username,omitempty"` +} + +func (x *User) Reset() { + *x = User{} + if protoimpl.UnsafeEnabled { + mi := &file_shared_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *User) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_User.Unmarshal(m, b) +func (x *User) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *User) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_User.Marshal(b, m, deterministic) -} -func (m *User) XXX_Merge(src proto.Message) { - xxx_messageInfo_User.Merge(m, src) -} -func (m *User) XXX_Size() int { - return xxx_messageInfo_User.Size(m) -} -func (m *User) XXX_DiscardUnknown() { - xxx_messageInfo_User.DiscardUnknown(m) + +func (*User) ProtoMessage() {} + +func (x *User) ProtoReflect() protoreflect.Message { + mi := &file_shared_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) } -var xxx_messageInfo_User proto.InternalMessageInfo +// Deprecated: Use User.ProtoReflect.Descriptor instead. +func (*User) Descriptor() ([]byte, []int) { + return file_shared_proto_rawDescGZIP(), []int{7} +} -func (m *User) GetGlId() string { - if m != nil { - return m.GlId +func (x *User) GetGlId() string { + if x != nil { + return x.GlId } return "" } -func (m *User) GetName() []byte { - if m != nil { - return m.Name +func (x *User) GetName() []byte { + if x != nil { + return x.Name } return nil } -func (m *User) GetEmail() []byte { - if m != nil { - return m.Email +func (x *User) GetEmail() []byte { + if x != nil { + return x.Email } return nil } -func (m *User) GetGlUsername() string { - if m != nil { - return m.GlUsername +func (x *User) GetGlUsername() string { + if x != nil { + return x.GlUsername } return "" } type ObjectPool 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:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *ObjectPool) Reset() { *m = ObjectPool{} } -func (m *ObjectPool) String() string { return proto.CompactTextString(m) } -func (*ObjectPool) ProtoMessage() {} -func (*ObjectPool) Descriptor() ([]byte, []int) { - return fileDescriptor_d8a4e87e678c5ced, []int{8} + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` } -func (m *ObjectPool) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ObjectPool.Unmarshal(m, b) -} -func (m *ObjectPool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ObjectPool.Marshal(b, m, deterministic) -} -func (m *ObjectPool) XXX_Merge(src proto.Message) { - xxx_messageInfo_ObjectPool.Merge(m, src) +func (x *ObjectPool) Reset() { + *x = ObjectPool{} + if protoimpl.UnsafeEnabled { + mi := &file_shared_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ObjectPool) XXX_Size() int { - return xxx_messageInfo_ObjectPool.Size(m) + +func (x *ObjectPool) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ObjectPool) XXX_DiscardUnknown() { - xxx_messageInfo_ObjectPool.DiscardUnknown(m) + +func (*ObjectPool) ProtoMessage() {} + +func (x *ObjectPool) ProtoReflect() protoreflect.Message { + mi := &file_shared_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_ObjectPool proto.InternalMessageInfo +// Deprecated: Use ObjectPool.ProtoReflect.Descriptor instead. +func (*ObjectPool) Descriptor() ([]byte, []int) { + return file_shared_proto_rawDescGZIP(), []int{8} +} -func (m *ObjectPool) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *ObjectPool) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } type PaginationParameter struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Instructs pagination to start sending results after the provided page // token appears. A page token allows for a generic pattern to uniquely // identify a result or 'page'. Each paginated RPC may interpret a page @@ -702,169 +825,428 @@ type PaginationParameter struct { // When the limit is smaller than 0, it will be normalized to 2147483647 // on the server side. When limit is not set, it defaults to 0, and no // results are send in the response. - Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` } -func (m *PaginationParameter) Reset() { *m = PaginationParameter{} } -func (m *PaginationParameter) String() string { return proto.CompactTextString(m) } -func (*PaginationParameter) ProtoMessage() {} -func (*PaginationParameter) Descriptor() ([]byte, []int) { - return fileDescriptor_d8a4e87e678c5ced, []int{9} +func (x *PaginationParameter) Reset() { + *x = PaginationParameter{} + if protoimpl.UnsafeEnabled { + mi := &file_shared_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *PaginationParameter) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PaginationParameter.Unmarshal(m, b) -} -func (m *PaginationParameter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PaginationParameter.Marshal(b, m, deterministic) +func (x *PaginationParameter) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PaginationParameter) XXX_Merge(src proto.Message) { - xxx_messageInfo_PaginationParameter.Merge(m, src) -} -func (m *PaginationParameter) XXX_Size() int { - return xxx_messageInfo_PaginationParameter.Size(m) -} -func (m *PaginationParameter) XXX_DiscardUnknown() { - xxx_messageInfo_PaginationParameter.DiscardUnknown(m) + +func (*PaginationParameter) ProtoMessage() {} + +func (x *PaginationParameter) ProtoReflect() protoreflect.Message { + mi := &file_shared_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_PaginationParameter proto.InternalMessageInfo +// Deprecated: Use PaginationParameter.ProtoReflect.Descriptor instead. +func (*PaginationParameter) Descriptor() ([]byte, []int) { + return file_shared_proto_rawDescGZIP(), []int{9} +} -func (m *PaginationParameter) GetPageToken() string { - if m != nil { - return m.PageToken +func (x *PaginationParameter) GetPageToken() string { + if x != nil { + return x.PageToken } return "" } -func (m *PaginationParameter) GetLimit() int32 { - if m != nil { - return m.Limit +func (x *PaginationParameter) GetLimit() int32 { + if x != nil { + return x.Limit } return 0 } // https://git-scm.com/docs/git/#_options type GlobalOptions struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Treat pathspecs literally (i.e. no globbing, no pathspec magic) - LiteralPathspecs bool `protobuf:"varint,1,opt,name=literal_pathspecs,json=literalPathspecs,proto3" json:"literal_pathspecs,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + LiteralPathspecs bool `protobuf:"varint,1,opt,name=literal_pathspecs,json=literalPathspecs,proto3" json:"literal_pathspecs,omitempty"` } -func (m *GlobalOptions) Reset() { *m = GlobalOptions{} } -func (m *GlobalOptions) String() string { return proto.CompactTextString(m) } -func (*GlobalOptions) ProtoMessage() {} -func (*GlobalOptions) Descriptor() ([]byte, []int) { - return fileDescriptor_d8a4e87e678c5ced, []int{10} +func (x *GlobalOptions) Reset() { + *x = GlobalOptions{} + if protoimpl.UnsafeEnabled { + mi := &file_shared_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GlobalOptions) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GlobalOptions.Unmarshal(m, b) -} -func (m *GlobalOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GlobalOptions.Marshal(b, m, deterministic) -} -func (m *GlobalOptions) XXX_Merge(src proto.Message) { - xxx_messageInfo_GlobalOptions.Merge(m, src) -} -func (m *GlobalOptions) XXX_Size() int { - return xxx_messageInfo_GlobalOptions.Size(m) +func (x *GlobalOptions) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GlobalOptions) XXX_DiscardUnknown() { - xxx_messageInfo_GlobalOptions.DiscardUnknown(m) + +func (*GlobalOptions) ProtoMessage() {} + +func (x *GlobalOptions) ProtoReflect() protoreflect.Message { + mi := &file_shared_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_GlobalOptions proto.InternalMessageInfo +// Deprecated: Use GlobalOptions.ProtoReflect.Descriptor instead. +func (*GlobalOptions) Descriptor() ([]byte, []int) { + return file_shared_proto_rawDescGZIP(), []int{10} +} -func (m *GlobalOptions) GetLiteralPathspecs() bool { - if m != nil { - return m.LiteralPathspecs +func (x *GlobalOptions) GetLiteralPathspecs() bool { + if x != nil { + return x.LiteralPathspecs } return false } -func init() { - proto.RegisterEnum("gitaly.ObjectType", ObjectType_name, ObjectType_value) - proto.RegisterEnum("gitaly.SignatureType", SignatureType_name, SignatureType_value) - proto.RegisterType((*Repository)(nil), "gitaly.Repository") - proto.RegisterType((*CommitTrailer)(nil), "gitaly.CommitTrailer") - proto.RegisterType((*GitCommit)(nil), "gitaly.GitCommit") - proto.RegisterType((*CommitAuthor)(nil), "gitaly.CommitAuthor") - proto.RegisterType((*ExitStatus)(nil), "gitaly.ExitStatus") - proto.RegisterType((*Branch)(nil), "gitaly.Branch") - proto.RegisterType((*Tag)(nil), "gitaly.Tag") - proto.RegisterType((*User)(nil), "gitaly.User") - proto.RegisterType((*ObjectPool)(nil), "gitaly.ObjectPool") - proto.RegisterType((*PaginationParameter)(nil), "gitaly.PaginationParameter") - proto.RegisterType((*GlobalOptions)(nil), "gitaly.GlobalOptions") -} - -func init() { proto.RegisterFile("shared.proto", fileDescriptor_d8a4e87e678c5ced) } - -var fileDescriptor_d8a4e87e678c5ced = []byte{ - // 934 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x55, 0x5f, 0x6f, 0xe3, 0x44, - 0x10, 0xbf, 0xd8, 0xce, 0xbf, 0x49, 0x72, 0xf8, 0xf6, 0x8a, 0xb0, 0x8a, 0x4e, 0x17, 0x8c, 0x84, - 0xaa, 0xa3, 0xa4, 0xa5, 0x88, 0x7f, 0xd2, 0xbd, 0x34, 0x47, 0xa9, 0x5a, 0xb8, 0x24, 0x72, 0x53, - 0x81, 0x78, 0xb1, 0x36, 0xf1, 0xde, 0x66, 0xb9, 0xb5, 0xd7, 0xda, 0xdd, 0x9c, 0x48, 0x9f, 0x79, - 0xe2, 0x89, 0x4f, 0xc2, 0xc7, 0xe0, 0xfb, 0xf0, 0x0d, 0xd0, 0xee, 0xda, 0x69, 0x0a, 0x05, 0xdd, - 0xdb, 0xce, 0xec, 0x6f, 0xc7, 0x33, 0xbf, 0xf9, 0xcd, 0x18, 0xfa, 0x6a, 0x85, 0x25, 0xc9, 0x46, - 0xa5, 0x14, 0x5a, 0xa0, 0x16, 0x65, 0x1a, 0xf3, 0xcd, 0xfe, 0x53, 0x2a, 0x04, 0xe5, 0xe4, 0xc8, - 0x7a, 0x17, 0xeb, 0x57, 0x47, 0x9a, 0xe5, 0x44, 0x69, 0x9c, 0x97, 0x0e, 0xb8, 0x0f, 0x9c, 0x15, - 0xda, 0x9d, 0xe3, 0x3f, 0x3c, 0x80, 0x84, 0x94, 0x42, 0x31, 0x2d, 0xe4, 0x06, 0x7d, 0x00, 0x7d, - 0xa5, 0x85, 0xc4, 0x94, 0xa4, 0x05, 0xce, 0x49, 0xe4, 0x0d, 0x1b, 0x07, 0xdd, 0xa4, 0x57, 0xf9, - 0x26, 0x38, 0x27, 0xe8, 0x43, 0x18, 0x48, 0xc2, 0xb1, 0x66, 0x6f, 0x48, 0x5a, 0x62, 0xbd, 0x8a, - 0x7c, 0x8b, 0xe9, 0xd7, 0xce, 0x19, 0xd6, 0x2b, 0x74, 0x0c, 0x7b, 0x94, 0xe9, 0x54, 0x2c, 0x7e, - 0x26, 0x4b, 0x9d, 0x66, 0x4c, 0x92, 0xa5, 0x89, 0x1f, 0x05, 0x16, 0x8b, 0x28, 0xd3, 0x53, 0x7b, - 0xf5, 0x4d, 0x7d, 0x83, 0xce, 0x61, 0x68, 0x5e, 0x60, 0xae, 0x89, 0x2c, 0xb0, 0x26, 0xff, 0x7c, - 0xcb, 0x88, 0x8a, 0x9a, 0x43, 0xff, 0xa0, 0x9b, 0x3c, 0xa1, 0x4c, 0x9f, 0xd6, 0xb0, 0xbb, 0x61, - 0x18, 0x51, 0x26, 0x3f, 0xca, 0x53, 0xb9, 0xad, 0x29, 0x6a, 0xb9, 0xfc, 0x28, 0xdf, 0xa9, 0xf3, - 0x23, 0x78, 0x87, 0xf2, 0xb4, 0x94, 0xc2, 0x7e, 0xc3, 0x96, 0xd1, 0xb1, 0xb0, 0x01, 0xe5, 0x33, - 0xe7, 0x35, 0x75, 0x5c, 0x06, 0x9d, 0x46, 0xe8, 0x5d, 0x06, 0x9d, 0x76, 0xd8, 0x49, 0x02, 0x03, - 0x8b, 0xbf, 0x84, 0xc1, 0x0b, 0x91, 0xe7, 0x4c, 0xcf, 0x25, 0x66, 0x9c, 0x48, 0x14, 0x82, 0xff, - 0x9a, 0x6c, 0xa2, 0xc6, 0xb0, 0x71, 0xd0, 0x4f, 0xcc, 0x11, 0xed, 0x41, 0xf3, 0x0d, 0xe6, 0x6b, - 0xc7, 0x5e, 0x3f, 0x71, 0x46, 0xfc, 0x97, 0x07, 0xdd, 0x73, 0xa6, 0xdd, 0x63, 0xf4, 0x10, 0x3c, - 0x96, 0xd9, 0x47, 0xdd, 0xc4, 0x63, 0x19, 0x8a, 0xa0, 0xad, 0xd6, 0xb6, 0x96, 0xea, 0x55, 0x6d, - 0x22, 0x04, 0xc1, 0x42, 0x64, 0x1b, 0x4b, 0x73, 0x3f, 0xb1, 0x67, 0x74, 0x08, 0x2d, 0xbc, 0xd6, - 0x2b, 0x21, 0x2d, 0xa1, 0xbd, 0x93, 0xbd, 0x91, 0xeb, 0xfd, 0xc8, 0x45, 0x3f, 0xb5, 0x77, 0x49, - 0x85, 0x41, 0x27, 0xd0, 0x5d, 0x5a, 0xbf, 0x26, 0x32, 0x6a, 0xfe, 0xcf, 0x83, 0x5b, 0x18, 0x7a, - 0x02, 0x50, 0x62, 0x49, 0x0a, 0x9d, 0xb2, 0x4c, 0x45, 0x2d, 0x4b, 0x7c, 0xd7, 0x79, 0x2e, 0x32, - 0x85, 0xde, 0x87, 0xae, 0x49, 0x24, 0x55, 0xec, 0x86, 0x44, 0xed, 0x61, 0xe3, 0xc0, 0x4f, 0x3a, - 0xc6, 0x71, 0xc5, 0x6e, 0x08, 0x7a, 0x0e, 0x0f, 0x15, 0xa3, 0x05, 0xd6, 0x6b, 0x49, 0x52, 0xbd, - 0x29, 0x89, 0xe5, 0xf6, 0xe1, 0xc9, 0xbb, 0xf5, 0x47, 0xaf, 0xea, 0xdb, 0xf9, 0xa6, 0x24, 0xc9, - 0x40, 0xed, 0x9a, 0xe8, 0x3d, 0x68, 0x6b, 0x49, 0x48, 0xca, 0xb2, 0xa8, 0x6b, 0xe9, 0x69, 0x19, - 0xf3, 0x22, 0x43, 0x9f, 0x42, 0x47, 0x3b, 0xce, 0x55, 0x04, 0x43, 0xff, 0xa0, 0x77, 0x1b, 0xf0, - 0x4e, 0x47, 0x92, 0x2d, 0x2c, 0xfe, 0xb5, 0x01, 0xfd, 0xdd, 0x0a, 0x0d, 0x99, 0x56, 0xd7, 0xae, - 0x5b, 0xf6, 0x6c, 0xda, 0x45, 0x72, 0xcc, 0x78, 0xdd, 0x2e, 0x6b, 0xa0, 0x11, 0x04, 0x19, 0xd6, - 0xc4, 0xd2, 0xde, 0x3b, 0xd9, 0x1f, 0xb9, 0xa1, 0x1a, 0xd5, 0x43, 0x35, 0x9a, 0xd7, 0x43, 0x95, - 0x58, 0x1c, 0xda, 0x87, 0x8e, 0x99, 0xb3, 0x1b, 0x51, 0x10, 0xdb, 0x94, 0x7e, 0xb2, 0xb5, 0xe3, - 0x18, 0xe0, 0xec, 0x17, 0xa6, 0xaf, 0x34, 0xd6, 0x6b, 0x75, 0x2b, 0x0f, 0x93, 0x44, 0xb3, 0x96, - 0xc7, 0x1c, 0x5a, 0x63, 0x89, 0x8b, 0xe5, 0xea, 0xde, 0x1c, 0xbf, 0x80, 0x81, 0xc6, 0x92, 0x12, - 0x9d, 0xba, 0x16, 0xd9, 0x5c, 0x7b, 0x27, 0x8f, 0x6a, 0x02, 0xb6, 0xc2, 0x4a, 0xfa, 0x0e, 0xe7, - 0xac, 0xf8, 0x37, 0x0f, 0xfc, 0x39, 0xa6, 0xf7, 0xc6, 0x74, 0x12, 0xf4, 0xb6, 0x12, 0xfc, 0xd7, - 0x37, 0xfc, 0xb7, 0xfa, 0x86, 0x91, 0x6e, 0x4e, 0x94, 0xc2, 0xb4, 0x2e, 0xbc, 0x36, 0xcd, 0x36, - 0xa9, 0x8e, 0x4e, 0x28, 0x4d, 0x2b, 0x94, 0x5e, 0xe5, 0xb3, 0x5a, 0x39, 0x84, 0x96, 0xc6, 0x94, - 0x12, 0x69, 0xc7, 0xf4, 0x3f, 0x95, 0xec, 0x30, 0xf7, 0x28, 0xab, 0xfd, 0xf6, 0xca, 0x8a, 0x5f, - 0x41, 0x70, 0xad, 0x88, 0x44, 0x8f, 0xa1, 0x49, 0x79, 0xba, 0x1d, 0xbf, 0x80, 0xf2, 0x8b, 0x6c, - 0xcb, 0x90, 0x77, 0x9f, 0x32, 0xfc, 0x5d, 0x65, 0x3c, 0x85, 0x1e, 0xe5, 0xe9, 0x5a, 0x99, 0x05, - 0x94, 0x93, 0x6a, 0xa5, 0x01, 0xe5, 0xd7, 0x95, 0x27, 0xfe, 0x16, 0xc0, 0xad, 0xa5, 0x99, 0x10, - 0x1c, 0x7d, 0x05, 0xb0, 0xb3, 0x8c, 0x1a, 0xb6, 0x4a, 0x54, 0xe7, 0x7b, 0xbb, 0x92, 0xc6, 0xc1, - 0xef, 0x7f, 0x1e, 0x36, 0x92, 0x1d, 0x6c, 0x7c, 0x09, 0x8f, 0x67, 0x98, 0xb2, 0x02, 0x6b, 0x26, - 0x8a, 0x19, 0x96, 0x38, 0x27, 0xdb, 0xd1, 0xa4, 0x24, 0xd5, 0xe2, 0x35, 0x29, 0xaa, 0x1a, 0xba, - 0xc6, 0x33, 0x37, 0x0e, 0x93, 0x34, 0x67, 0xb5, 0x44, 0x9a, 0x89, 0x33, 0xe2, 0xe7, 0x30, 0x38, - 0xe7, 0x62, 0x81, 0xf9, 0xb4, 0x34, 0xd1, 0x14, 0xfa, 0x18, 0x1e, 0x71, 0xa6, 0x89, 0xc4, 0xdc, - 0xae, 0x3f, 0x55, 0x92, 0xa5, 0xb2, 0xc1, 0x3a, 0x49, 0x58, 0x5d, 0xcc, 0x6a, 0xff, 0xb3, 0x71, - 0x5d, 0x91, 0x9d, 0xd0, 0x1e, 0xb4, 0xaf, 0x27, 0xdf, 0x4d, 0xa6, 0x3f, 0x4c, 0xc2, 0x07, 0x08, - 0xa0, 0xf5, 0x62, 0xfa, 0xf2, 0xe5, 0xc5, 0x3c, 0x6c, 0xa0, 0x0e, 0x04, 0xe3, 0xef, 0xa7, 0xe3, - 0xd0, 0x33, 0xa7, 0x79, 0x72, 0x76, 0x16, 0xfa, 0xa8, 0x0d, 0xfe, 0xfc, 0xf4, 0x3c, 0x0c, 0x9e, - 0x1d, 0xc2, 0xe0, 0x4e, 0x77, 0x0c, 0x66, 0x32, 0x9d, 0x9c, 0x85, 0x0f, 0x0c, 0x66, 0x76, 0x3e, - 0x73, 0x01, 0x7e, 0xfc, 0xfc, 0xf8, 0xeb, 0xd0, 0x1b, 0x1f, 0xff, 0x64, 0x28, 0xe2, 0x78, 0x31, - 0x5a, 0x8a, 0xfc, 0xc8, 0x1d, 0x3f, 0x11, 0x92, 0x1e, 0x39, 0xe2, 0xdc, 0xcf, 0xed, 0x88, 0x8a, - 0xca, 0x2e, 0x17, 0x8b, 0x96, 0x75, 0x7d, 0xf6, 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, 0xd5, 0x07, - 0x2e, 0x7a, 0x15, 0x07, 0x00, 0x00, +var File_shared_proto protoreflect.FileDescriptor + +var file_shared_proto_rawDesc = []byte{ + 0x0a, 0x0c, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, + 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x6c, 0x69, 0x6e, 0x74, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0xae, 0x02, 0x0a, 0x0a, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, + 0x72, 0x79, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, + 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, + 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x30, 0x0a, 0x14, 0x67, 0x69, + 0x74, 0x5f, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, + 0x72, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x67, 0x69, 0x74, 0x4f, 0x62, 0x6a, + 0x65, 0x63, 0x74, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x47, 0x0a, 0x20, + 0x67, 0x69, 0x74, 0x5f, 0x61, 0x6c, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x74, 0x65, 0x5f, 0x6f, 0x62, + 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, + 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x1d, 0x67, 0x69, 0x74, 0x41, 0x6c, 0x74, 0x65, 0x72, + 0x6e, 0x61, 0x74, 0x65, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, + 0x6f, 0x72, 0x69, 0x65, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x67, 0x6c, 0x5f, 0x72, 0x65, 0x70, 0x6f, + 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x67, 0x6c, + 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x26, 0x0a, 0x0f, 0x67, 0x6c, + 0x5f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x08, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0d, 0x67, 0x6c, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x61, + 0x74, 0x68, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x4a, 0x04, 0x08, 0x07, 0x10, 0x08, 0x52, 0x04, + 0x70, 0x61, 0x74, 0x68, 0x22, 0x37, 0x0a, 0x0d, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x54, 0x72, + 0x61, 0x69, 0x6c, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xf1, 0x02, + 0x0a, 0x09, 0x47, 0x69, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x73, + 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x73, 0x75, + 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x12, 0x2c, 0x0a, 0x06, 0x61, 0x75, 0x74, + 0x68, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x69, 0x74, 0x61, + 0x6c, 0x79, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x52, + 0x06, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x12, 0x32, 0x0a, 0x09, 0x63, 0x6f, 0x6d, 0x6d, 0x69, + 0x74, 0x74, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x69, 0x74, + 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, + 0x52, 0x09, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x74, 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x70, + 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, + 0x09, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x62, 0x6f, + 0x64, 0x79, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x62, + 0x6f, 0x64, 0x79, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x3c, 0x0a, 0x0e, 0x73, 0x69, 0x67, 0x6e, 0x61, + 0x74, 0x75, 0x72, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x15, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, + 0x72, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0d, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, + 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x72, 0x65, 0x65, 0x5f, 0x69, 0x64, + 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x72, 0x65, 0x65, 0x49, 0x64, 0x12, 0x31, + 0x0a, 0x08, 0x74, 0x72, 0x61, 0x69, 0x6c, 0x65, 0x72, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x15, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, + 0x54, 0x72, 0x61, 0x69, 0x6c, 0x65, 0x72, 0x52, 0x08, 0x74, 0x72, 0x61, 0x69, 0x6c, 0x65, 0x72, + 0x73, 0x22, 0x84, 0x01, 0x0a, 0x0c, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x41, 0x75, 0x74, 0x68, + 0x6f, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x2e, 0x0a, 0x04, + 0x64, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, + 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x64, 0x61, 0x74, 0x65, 0x12, 0x1a, 0x0a, 0x08, + 0x74, 0x69, 0x6d, 0x65, 0x7a, 0x6f, 0x6e, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, + 0x74, 0x69, 0x6d, 0x65, 0x7a, 0x6f, 0x6e, 0x65, 0x22, 0x22, 0x0a, 0x0a, 0x45, 0x78, 0x69, 0x74, + 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x54, 0x0a, 0x06, + 0x42, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x36, 0x0a, 0x0d, 0x74, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x69, 0x74, 0x43, 0x6f, + 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x0c, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x43, 0x6f, 0x6d, 0x6d, + 0x69, 0x74, 0x22, 0x8a, 0x02, 0x0a, 0x03, 0x54, 0x61, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x0e, + 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x36, + 0x0a, 0x0d, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, + 0x69, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x0c, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, + 0x69, 0x7a, 0x65, 0x12, 0x2c, 0x0a, 0x06, 0x74, 0x61, 0x67, 0x67, 0x65, 0x72, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x43, 0x6f, 0x6d, + 0x6d, 0x69, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x52, 0x06, 0x74, 0x61, 0x67, 0x67, 0x65, + 0x72, 0x12, 0x3c, 0x0a, 0x0e, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x74, + 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x67, 0x69, 0x74, 0x61, + 0x6c, 0x79, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x54, 0x79, 0x70, 0x65, + 0x52, 0x0d, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x54, 0x79, 0x70, 0x65, 0x22, + 0x66, 0x0a, 0x04, 0x55, 0x73, 0x65, 0x72, 0x12, 0x13, 0x0a, 0x05, 0x67, 0x6c, 0x5f, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x67, 0x6c, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x1f, 0x0a, 0x0b, 0x67, 0x6c, 0x5f, 0x75, 0x73, 0x65, + 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x67, 0x6c, 0x55, + 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x46, 0x0a, 0x0a, 0x4f, 0x62, 0x6a, 0x65, 0x63, + 0x74, 0x50, 0x6f, 0x6f, 0x6c, 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, 0x90, + 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x22, + 0x4a, 0x0a, 0x13, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, + 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, + 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, + 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0x3c, 0x0a, 0x0d, 0x47, + 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2b, 0x0a, 0x11, + 0x6c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x73, 0x70, 0x65, 0x63, + 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x6c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, + 0x50, 0x61, 0x74, 0x68, 0x73, 0x70, 0x65, 0x63, 0x73, 0x2a, 0x42, 0x0a, 0x0a, 0x4f, 0x62, 0x6a, + 0x65, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, + 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x4f, 0x4d, 0x4d, 0x49, 0x54, 0x10, 0x01, + 0x12, 0x08, 0x0a, 0x04, 0x42, 0x4c, 0x4f, 0x42, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x54, 0x52, + 0x45, 0x45, 0x10, 0x03, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x41, 0x47, 0x10, 0x04, 0x2a, 0x2c, 0x0a, + 0x0d, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x08, + 0x0a, 0x04, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x50, 0x47, 0x50, 0x10, + 0x01, 0x12, 0x08, 0x0a, 0x04, 0x58, 0x35, 0x30, 0x39, 0x10, 0x02, 0x42, 0x30, 0x5a, 0x2e, 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, 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_shared_proto_rawDescOnce sync.Once + file_shared_proto_rawDescData = file_shared_proto_rawDesc +) + +func file_shared_proto_rawDescGZIP() []byte { + file_shared_proto_rawDescOnce.Do(func() { + file_shared_proto_rawDescData = protoimpl.X.CompressGZIP(file_shared_proto_rawDescData) + }) + return file_shared_proto_rawDescData +} + +var file_shared_proto_enumTypes = make([]protoimpl.EnumInfo, 2) +var file_shared_proto_msgTypes = make([]protoimpl.MessageInfo, 11) +var file_shared_proto_goTypes = []interface{}{ + (ObjectType)(0), // 0: gitaly.ObjectType + (SignatureType)(0), // 1: gitaly.SignatureType + (*Repository)(nil), // 2: gitaly.Repository + (*CommitTrailer)(nil), // 3: gitaly.CommitTrailer + (*GitCommit)(nil), // 4: gitaly.GitCommit + (*CommitAuthor)(nil), // 5: gitaly.CommitAuthor + (*ExitStatus)(nil), // 6: gitaly.ExitStatus + (*Branch)(nil), // 7: gitaly.Branch + (*Tag)(nil), // 8: gitaly.Tag + (*User)(nil), // 9: gitaly.User + (*ObjectPool)(nil), // 10: gitaly.ObjectPool + (*PaginationParameter)(nil), // 11: gitaly.PaginationParameter + (*GlobalOptions)(nil), // 12: gitaly.GlobalOptions + (*timestamp.Timestamp)(nil), // 13: google.protobuf.Timestamp +} +var file_shared_proto_depIdxs = []int32{ + 5, // 0: gitaly.GitCommit.author:type_name -> gitaly.CommitAuthor + 5, // 1: gitaly.GitCommit.committer:type_name -> gitaly.CommitAuthor + 1, // 2: gitaly.GitCommit.signature_type:type_name -> gitaly.SignatureType + 3, // 3: gitaly.GitCommit.trailers:type_name -> gitaly.CommitTrailer + 13, // 4: gitaly.CommitAuthor.date:type_name -> google.protobuf.Timestamp + 4, // 5: gitaly.Branch.target_commit:type_name -> gitaly.GitCommit + 4, // 6: gitaly.Tag.target_commit:type_name -> gitaly.GitCommit + 5, // 7: gitaly.Tag.tagger:type_name -> gitaly.CommitAuthor + 1, // 8: gitaly.Tag.signature_type:type_name -> gitaly.SignatureType + 2, // 9: gitaly.ObjectPool.repository:type_name -> gitaly.Repository + 10, // [10:10] is the sub-list for method output_type + 10, // [10:10] is the sub-list for method input_type + 10, // [10:10] is the sub-list for extension type_name + 10, // [10:10] is the sub-list for extension extendee + 0, // [0:10] is the sub-list for field type_name +} + +func init() { file_shared_proto_init() } +func file_shared_proto_init() { + if File_shared_proto != nil { + return + } + file_lint_proto_init() + if !protoimpl.UnsafeEnabled { + file_shared_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Repository); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_shared_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CommitTrailer); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_shared_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GitCommit); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_shared_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CommitAuthor); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_shared_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExitStatus); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_shared_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Branch); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_shared_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Tag); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_shared_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*User); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_shared_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ObjectPool); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_shared_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PaginationParameter); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_shared_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GlobalOptions); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_shared_proto_rawDesc, + NumEnums: 2, + NumMessages: 11, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_shared_proto_goTypes, + DependencyIndexes: file_shared_proto_depIdxs, + EnumInfos: file_shared_proto_enumTypes, + MessageInfos: file_shared_proto_msgTypes, + }.Build() + File_shared_proto = out.File + file_shared_proto_rawDesc = nil + file_shared_proto_goTypes = nil + file_shared_proto_depIdxs = nil } diff --git a/proto/go/gitalypb/smarthttp.pb.go b/proto/go/gitalypb/smarthttp.pb.go index df9a6a04d..6bcb6d270 100644 --- a/proto/go/gitalypb/smarthttp.pb.go +++ b/proto/go/gitalypb/smarthttp.pb.go @@ -1,126 +1,151 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc v3.12.4 // source: smarthttp.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 +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) +) -// 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 +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 type InfoRefsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // Parameters to use with git -c (key=value pairs) GitConfigOptions []string `protobuf:"bytes,2,rep,name=git_config_options,json=gitConfigOptions,proto3" json:"git_config_options,omitempty"` // Git protocol version - GitProtocol string `protobuf:"bytes,3,opt,name=git_protocol,json=gitProtocol,proto3" json:"git_protocol,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + GitProtocol string `protobuf:"bytes,3,opt,name=git_protocol,json=gitProtocol,proto3" json:"git_protocol,omitempty"` } -func (m *InfoRefsRequest) Reset() { *m = InfoRefsRequest{} } -func (m *InfoRefsRequest) String() string { return proto.CompactTextString(m) } -func (*InfoRefsRequest) ProtoMessage() {} -func (*InfoRefsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_7da929f3b109874f, []int{0} +func (x *InfoRefsRequest) Reset() { + *x = InfoRefsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_smarthttp_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *InfoRefsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InfoRefsRequest.Unmarshal(m, b) -} -func (m *InfoRefsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InfoRefsRequest.Marshal(b, m, deterministic) -} -func (m *InfoRefsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_InfoRefsRequest.Merge(m, src) -} -func (m *InfoRefsRequest) XXX_Size() int { - return xxx_messageInfo_InfoRefsRequest.Size(m) +func (x *InfoRefsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *InfoRefsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_InfoRefsRequest.DiscardUnknown(m) + +func (*InfoRefsRequest) ProtoMessage() {} + +func (x *InfoRefsRequest) ProtoReflect() protoreflect.Message { + mi := &file_smarthttp_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_InfoRefsRequest proto.InternalMessageInfo +// Deprecated: Use InfoRefsRequest.ProtoReflect.Descriptor instead. +func (*InfoRefsRequest) Descriptor() ([]byte, []int) { + return file_smarthttp_proto_rawDescGZIP(), []int{0} +} -func (m *InfoRefsRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *InfoRefsRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *InfoRefsRequest) GetGitConfigOptions() []string { - if m != nil { - return m.GitConfigOptions +func (x *InfoRefsRequest) GetGitConfigOptions() []string { + if x != nil { + return x.GitConfigOptions } return nil } -func (m *InfoRefsRequest) GetGitProtocol() string { - if m != nil { - return m.GitProtocol +func (x *InfoRefsRequest) GetGitProtocol() string { + if x != nil { + return x.GitProtocol } return "" } type InfoRefsResponse struct { - Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *InfoRefsResponse) Reset() { *m = InfoRefsResponse{} } -func (m *InfoRefsResponse) String() string { return proto.CompactTextString(m) } -func (*InfoRefsResponse) ProtoMessage() {} -func (*InfoRefsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_7da929f3b109874f, []int{1} + Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` } -func (m *InfoRefsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InfoRefsResponse.Unmarshal(m, b) -} -func (m *InfoRefsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InfoRefsResponse.Marshal(b, m, deterministic) -} -func (m *InfoRefsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_InfoRefsResponse.Merge(m, src) +func (x *InfoRefsResponse) Reset() { + *x = InfoRefsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_smarthttp_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *InfoRefsResponse) XXX_Size() int { - return xxx_messageInfo_InfoRefsResponse.Size(m) + +func (x *InfoRefsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *InfoRefsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_InfoRefsResponse.DiscardUnknown(m) + +func (*InfoRefsResponse) ProtoMessage() {} + +func (x *InfoRefsResponse) ProtoReflect() protoreflect.Message { + mi := &file_smarthttp_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) } -var xxx_messageInfo_InfoRefsResponse proto.InternalMessageInfo +// Deprecated: Use InfoRefsResponse.ProtoReflect.Descriptor instead. +func (*InfoRefsResponse) Descriptor() ([]byte, []int) { + return file_smarthttp_proto_rawDescGZIP(), []int{1} +} -func (m *InfoRefsResponse) GetData() []byte { - if m != nil { - return m.Data +func (x *InfoRefsResponse) GetData() []byte { + if x != nil { + return x.Data } return nil } type PostUploadPackRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // repository should only be present in the first message of the stream Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // Raw data to be copied to stdin of 'git upload-pack' @@ -128,106 +153,122 @@ type PostUploadPackRequest struct { // Parameters to use with git -c (key=value pairs) GitConfigOptions []string `protobuf:"bytes,3,rep,name=git_config_options,json=gitConfigOptions,proto3" json:"git_config_options,omitempty"` // Git protocol version - GitProtocol string `protobuf:"bytes,4,opt,name=git_protocol,json=gitProtocol,proto3" json:"git_protocol,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + GitProtocol string `protobuf:"bytes,4,opt,name=git_protocol,json=gitProtocol,proto3" json:"git_protocol,omitempty"` } -func (m *PostUploadPackRequest) Reset() { *m = PostUploadPackRequest{} } -func (m *PostUploadPackRequest) String() string { return proto.CompactTextString(m) } -func (*PostUploadPackRequest) ProtoMessage() {} -func (*PostUploadPackRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_7da929f3b109874f, []int{2} +func (x *PostUploadPackRequest) Reset() { + *x = PostUploadPackRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_smarthttp_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *PostUploadPackRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PostUploadPackRequest.Unmarshal(m, b) -} -func (m *PostUploadPackRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PostUploadPackRequest.Marshal(b, m, deterministic) -} -func (m *PostUploadPackRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_PostUploadPackRequest.Merge(m, src) +func (x *PostUploadPackRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PostUploadPackRequest) XXX_Size() int { - return xxx_messageInfo_PostUploadPackRequest.Size(m) -} -func (m *PostUploadPackRequest) XXX_DiscardUnknown() { - xxx_messageInfo_PostUploadPackRequest.DiscardUnknown(m) + +func (*PostUploadPackRequest) ProtoMessage() {} + +func (x *PostUploadPackRequest) ProtoReflect() protoreflect.Message { + mi := &file_smarthttp_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_PostUploadPackRequest proto.InternalMessageInfo +// Deprecated: Use PostUploadPackRequest.ProtoReflect.Descriptor instead. +func (*PostUploadPackRequest) Descriptor() ([]byte, []int) { + return file_smarthttp_proto_rawDescGZIP(), []int{2} +} -func (m *PostUploadPackRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *PostUploadPackRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *PostUploadPackRequest) GetData() []byte { - if m != nil { - return m.Data +func (x *PostUploadPackRequest) GetData() []byte { + if x != nil { + return x.Data } return nil } -func (m *PostUploadPackRequest) GetGitConfigOptions() []string { - if m != nil { - return m.GitConfigOptions +func (x *PostUploadPackRequest) GetGitConfigOptions() []string { + if x != nil { + return x.GitConfigOptions } return nil } -func (m *PostUploadPackRequest) GetGitProtocol() string { - if m != nil { - return m.GitProtocol +func (x *PostUploadPackRequest) GetGitProtocol() string { + if x != nil { + return x.GitProtocol } return "" } type PostUploadPackResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Raw data from stdout of 'git upload-pack' - Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` } -func (m *PostUploadPackResponse) Reset() { *m = PostUploadPackResponse{} } -func (m *PostUploadPackResponse) String() string { return proto.CompactTextString(m) } -func (*PostUploadPackResponse) ProtoMessage() {} -func (*PostUploadPackResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_7da929f3b109874f, []int{3} +func (x *PostUploadPackResponse) Reset() { + *x = PostUploadPackResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_smarthttp_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *PostUploadPackResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PostUploadPackResponse.Unmarshal(m, b) -} -func (m *PostUploadPackResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PostUploadPackResponse.Marshal(b, m, deterministic) -} -func (m *PostUploadPackResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_PostUploadPackResponse.Merge(m, src) +func (x *PostUploadPackResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PostUploadPackResponse) XXX_Size() int { - return xxx_messageInfo_PostUploadPackResponse.Size(m) -} -func (m *PostUploadPackResponse) XXX_DiscardUnknown() { - xxx_messageInfo_PostUploadPackResponse.DiscardUnknown(m) + +func (*PostUploadPackResponse) ProtoMessage() {} + +func (x *PostUploadPackResponse) ProtoReflect() protoreflect.Message { + mi := &file_smarthttp_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_PostUploadPackResponse proto.InternalMessageInfo +// Deprecated: Use PostUploadPackResponse.ProtoReflect.Descriptor instead. +func (*PostUploadPackResponse) Descriptor() ([]byte, []int) { + return file_smarthttp_proto_rawDescGZIP(), []int{3} +} -func (m *PostUploadPackResponse) GetData() []byte { - if m != nil { - return m.Data +func (x *PostUploadPackResponse) GetData() []byte { + if x != nil { + return x.Data } return nil } type PostReceivePackRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // repository should only be present in the first message of the stream Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // Raw data to be copied to stdin of 'git receive-pack' @@ -240,178 +281,370 @@ type PostReceivePackRequest struct { // Git protocol version GitProtocol string `protobuf:"bytes,6,opt,name=git_protocol,json=gitProtocol,proto3" json:"git_protocol,omitempty"` // Parameters to use with git -c (key=value pairs) - GitConfigOptions []string `protobuf:"bytes,7,rep,name=git_config_options,json=gitConfigOptions,proto3" json:"git_config_options,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + GitConfigOptions []string `protobuf:"bytes,7,rep,name=git_config_options,json=gitConfigOptions,proto3" json:"git_config_options,omitempty"` } -func (m *PostReceivePackRequest) Reset() { *m = PostReceivePackRequest{} } -func (m *PostReceivePackRequest) String() string { return proto.CompactTextString(m) } -func (*PostReceivePackRequest) ProtoMessage() {} -func (*PostReceivePackRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_7da929f3b109874f, []int{4} +func (x *PostReceivePackRequest) Reset() { + *x = PostReceivePackRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_smarthttp_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *PostReceivePackRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PostReceivePackRequest.Unmarshal(m, b) +func (x *PostReceivePackRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PostReceivePackRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PostReceivePackRequest.Marshal(b, m, deterministic) -} -func (m *PostReceivePackRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_PostReceivePackRequest.Merge(m, src) -} -func (m *PostReceivePackRequest) XXX_Size() int { - return xxx_messageInfo_PostReceivePackRequest.Size(m) -} -func (m *PostReceivePackRequest) XXX_DiscardUnknown() { - xxx_messageInfo_PostReceivePackRequest.DiscardUnknown(m) + +func (*PostReceivePackRequest) ProtoMessage() {} + +func (x *PostReceivePackRequest) ProtoReflect() protoreflect.Message { + mi := &file_smarthttp_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_PostReceivePackRequest proto.InternalMessageInfo +// Deprecated: Use PostReceivePackRequest.ProtoReflect.Descriptor instead. +func (*PostReceivePackRequest) Descriptor() ([]byte, []int) { + return file_smarthttp_proto_rawDescGZIP(), []int{4} +} -func (m *PostReceivePackRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *PostReceivePackRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *PostReceivePackRequest) GetData() []byte { - if m != nil { - return m.Data +func (x *PostReceivePackRequest) GetData() []byte { + if x != nil { + return x.Data } return nil } -func (m *PostReceivePackRequest) GetGlId() string { - if m != nil { - return m.GlId +func (x *PostReceivePackRequest) GetGlId() string { + if x != nil { + return x.GlId } return "" } -func (m *PostReceivePackRequest) GetGlRepository() string { - if m != nil { - return m.GlRepository +func (x *PostReceivePackRequest) GetGlRepository() string { + if x != nil { + return x.GlRepository } return "" } -func (m *PostReceivePackRequest) GetGlUsername() string { - if m != nil { - return m.GlUsername +func (x *PostReceivePackRequest) GetGlUsername() string { + if x != nil { + return x.GlUsername } return "" } -func (m *PostReceivePackRequest) GetGitProtocol() string { - if m != nil { - return m.GitProtocol +func (x *PostReceivePackRequest) GetGitProtocol() string { + if x != nil { + return x.GitProtocol } return "" } -func (m *PostReceivePackRequest) GetGitConfigOptions() []string { - if m != nil { - return m.GitConfigOptions +func (x *PostReceivePackRequest) GetGitConfigOptions() []string { + if x != nil { + return x.GitConfigOptions } return nil } type PostReceivePackResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Raw data from stdout of 'git receive-pack' - Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` } -func (m *PostReceivePackResponse) Reset() { *m = PostReceivePackResponse{} } -func (m *PostReceivePackResponse) String() string { return proto.CompactTextString(m) } -func (*PostReceivePackResponse) ProtoMessage() {} -func (*PostReceivePackResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_7da929f3b109874f, []int{5} +func (x *PostReceivePackResponse) Reset() { + *x = PostReceivePackResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_smarthttp_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *PostReceivePackResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PostReceivePackResponse.Unmarshal(m, b) -} -func (m *PostReceivePackResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PostReceivePackResponse.Marshal(b, m, deterministic) -} -func (m *PostReceivePackResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_PostReceivePackResponse.Merge(m, src) +func (x *PostReceivePackResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PostReceivePackResponse) XXX_Size() int { - return xxx_messageInfo_PostReceivePackResponse.Size(m) -} -func (m *PostReceivePackResponse) XXX_DiscardUnknown() { - xxx_messageInfo_PostReceivePackResponse.DiscardUnknown(m) + +func (*PostReceivePackResponse) ProtoMessage() {} + +func (x *PostReceivePackResponse) ProtoReflect() protoreflect.Message { + mi := &file_smarthttp_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_PostReceivePackResponse proto.InternalMessageInfo +// Deprecated: Use PostReceivePackResponse.ProtoReflect.Descriptor instead. +func (*PostReceivePackResponse) Descriptor() ([]byte, []int) { + return file_smarthttp_proto_rawDescGZIP(), []int{5} +} -func (m *PostReceivePackResponse) GetData() []byte { - if m != nil { - return m.Data +func (x *PostReceivePackResponse) GetData() []byte { + if x != nil { + return x.Data } return nil } -func init() { - proto.RegisterType((*InfoRefsRequest)(nil), "gitaly.InfoRefsRequest") - proto.RegisterType((*InfoRefsResponse)(nil), "gitaly.InfoRefsResponse") - proto.RegisterType((*PostUploadPackRequest)(nil), "gitaly.PostUploadPackRequest") - proto.RegisterType((*PostUploadPackResponse)(nil), "gitaly.PostUploadPackResponse") - proto.RegisterType((*PostReceivePackRequest)(nil), "gitaly.PostReceivePackRequest") - proto.RegisterType((*PostReceivePackResponse)(nil), "gitaly.PostReceivePackResponse") -} - -func init() { proto.RegisterFile("smarthttp.proto", fileDescriptor_7da929f3b109874f) } - -var fileDescriptor_7da929f3b109874f = []byte{ - // 475 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x53, 0xc1, 0x6e, 0xd3, 0x40, - 0x10, 0xd5, 0x3a, 0x69, 0xa0, 0x93, 0x40, 0xa2, 0xa9, 0xa0, 0x96, 0x25, 0x68, 0x30, 0x12, 0xf2, - 0x21, 0x4d, 0xa2, 0x72, 0xe1, 0x5c, 0x2e, 0xf4, 0x44, 0x70, 0xdb, 0x0b, 0x48, 0x58, 0x1b, 0x7b, - 0xb3, 0x5d, 0xb1, 0xf1, 0x1a, 0xef, 0xb6, 0x52, 0x7f, 0x83, 0x0b, 0x1c, 0xf8, 0x0e, 0x3e, 0x81, - 0x4f, 0xe2, 0xc0, 0x09, 0xc5, 0x9b, 0xd4, 0x4d, 0x5c, 0x23, 0xa4, 0x88, 0xdb, 0xee, 0xbc, 0xd9, - 0x37, 0xf3, 0xde, 0xce, 0x40, 0x57, 0xcf, 0x69, 0x6e, 0x2e, 0x8c, 0xc9, 0x86, 0x59, 0xae, 0x8c, - 0xc2, 0x16, 0x17, 0x86, 0xca, 0x6b, 0x0f, 0xa4, 0x48, 0x8d, 0x8d, 0x79, 0x1d, 0x7d, 0x41, 0x73, - 0x96, 0xd8, 0x9b, 0xff, 0x9d, 0x40, 0xf7, 0x24, 0x9d, 0xa9, 0x90, 0xcd, 0x74, 0xc8, 0x3e, 0x5f, - 0x32, 0x6d, 0xf0, 0x15, 0x40, 0xce, 0x32, 0xa5, 0x85, 0x51, 0xf9, 0xb5, 0x4b, 0xfa, 0x24, 0x68, - 0x1f, 0xe1, 0xd0, 0x52, 0x0d, 0xc3, 0x1b, 0xe4, 0xb8, 0xf9, 0xed, 0xe7, 0x80, 0x84, 0xb7, 0x72, - 0x71, 0x00, 0xc8, 0x85, 0x89, 0x62, 0x95, 0xce, 0x04, 0x8f, 0x54, 0x66, 0x84, 0x4a, 0xb5, 0xeb, - 0xf4, 0x1b, 0xc1, 0x6e, 0xd8, 0xe3, 0xc2, 0xbc, 0x2e, 0x80, 0xb7, 0x36, 0x8e, 0xcf, 0xa0, 0xb3, - 0xc8, 0x2e, 0x1a, 0x89, 0x95, 0x74, 0x1b, 0x7d, 0x12, 0xec, 0x86, 0x6d, 0x2e, 0xcc, 0x64, 0x19, - 0xf2, 0x5f, 0x40, 0xaf, 0xec, 0x4e, 0x67, 0x2a, 0xd5, 0x0c, 0x11, 0x9a, 0x09, 0x35, 0xb4, 0x68, - 0xac, 0x13, 0x16, 0x67, 0xff, 0x07, 0x81, 0x47, 0x13, 0xa5, 0xcd, 0x79, 0x26, 0x15, 0x4d, 0x26, - 0x34, 0xfe, 0xb4, 0xbd, 0x98, 0x55, 0x1d, 0xa7, 0xac, 0x53, 0x23, 0xb0, 0xf1, 0x8f, 0x02, 0x9b, - 0x55, 0x81, 0x03, 0x78, 0xbc, 0xd9, 0xf7, 0x5f, 0x64, 0x7e, 0x71, 0x6c, 0x7a, 0xc8, 0x62, 0x26, - 0xae, 0xd8, 0xff, 0xd3, 0xb9, 0x07, 0x3b, 0x5c, 0x46, 0x22, 0x59, 0xfe, 0x49, 0x93, 0xcb, 0x93, - 0x04, 0x9f, 0xc3, 0x03, 0x2e, 0xa3, 0x5b, 0x55, 0xac, 0x9e, 0x0e, 0x97, 0x25, 0x3f, 0x1e, 0x40, - 0x9b, 0xcb, 0xe8, 0x52, 0xb3, 0x3c, 0xa5, 0x73, 0xe6, 0xee, 0x14, 0x29, 0xc0, 0xe5, 0xf9, 0x32, - 0x52, 0x31, 0xa5, 0x55, 0x31, 0xa5, 0xc6, 0xe5, 0x7b, 0x77, 0xbb, 0xec, 0x1f, 0xc2, 0x7e, 0xc5, - 0x93, 0x7a, 0x0f, 0x8f, 0x7e, 0x39, 0xd0, 0x3b, 0x5d, 0xec, 0xc9, 0x9b, 0xb3, 0xb3, 0xc9, 0x29, - 0xcb, 0xaf, 0x44, 0xcc, 0xf0, 0x1d, 0xe0, 0x6a, 0xce, 0xca, 0xaf, 0xc0, 0xfd, 0x95, 0x7f, 0x1b, - 0x1b, 0xe2, 0xb9, 0x55, 0xc0, 0x56, 0xf4, 0x5b, 0xbf, 0xbf, 0x06, 0xce, 0x7d, 0x67, 0x4c, 0x30, - 0x84, 0xbd, 0x12, 0xbd, 0x69, 0x6d, 0x3b, 0xce, 0x0f, 0xf0, 0x70, 0x7d, 0x5a, 0xf0, 0xc9, 0xea, - 0xd5, 0x9d, 0xd3, 0xef, 0x3d, 0xad, 0x83, 0xd7, 0xa9, 0x03, 0x32, 0x26, 0xf8, 0x11, 0xba, 0x1b, - 0x3e, 0xe2, 0xda, 0xf3, 0xea, 0xd0, 0x79, 0x07, 0xb5, 0xf8, 0x1a, 0x3f, 0x59, 0xf0, 0x1f, 0x8f, - 0xdf, 0x2f, 0xb2, 0x25, 0x9d, 0x0e, 0x63, 0x35, 0x1f, 0xd9, 0xe3, 0xa1, 0xca, 0xf9, 0xc8, 0x72, - 0x8c, 0x8a, 0x89, 0x18, 0x71, 0xb5, 0xbc, 0x67, 0xd3, 0x69, 0xab, 0x08, 0xbd, 0xfc, 0x13, 0x00, - 0x00, 0xff, 0xff, 0xc2, 0x79, 0x15, 0x9d, 0xd8, 0x04, 0x00, 0x00, +var File_smarthttp_proto protoreflect.FileDescriptor + +var file_smarthttp_proto_rawDesc = []byte{ + 0x0a, 0x0f, 0x73, 0x6d, 0x61, 0x72, 0x74, 0x68, 0x74, 0x74, 0x70, 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, 0x9c, 0x01, 0x0a, 0x0f, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x66, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, + 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, + 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, + 0x79, 0x12, 0x2c, 0x0a, 0x12, 0x67, 0x69, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, + 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x10, 0x67, + 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, + 0x21, 0x0a, 0x0c, 0x67, 0x69, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x67, 0x69, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, + 0x6f, 0x6c, 0x22, 0x26, 0x0a, 0x10, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x66, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0xb6, 0x01, 0x0a, 0x15, 0x50, + 0x6f, 0x73, 0x74, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x61, 0x63, 0x6b, 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, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, + 0x74, 0x61, 0x12, 0x2c, 0x0a, 0x12, 0x67, 0x69, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, + 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x10, + 0x67, 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x12, 0x21, 0x0a, 0x0c, 0x67, 0x69, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x67, 0x69, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x6f, 0x6c, 0x22, 0x2c, 0x0a, 0x16, 0x50, 0x6f, 0x73, 0x74, 0x55, 0x70, 0x6c, 0x6f, 0x61, + 0x64, 0x50, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, + 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, + 0x61, 0x22, 0x92, 0x02, 0x0a, 0x16, 0x50, 0x6f, 0x73, 0x74, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, + 0x65, 0x50, 0x61, 0x63, 0x6b, 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, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x13, 0x0a, 0x05, 0x67, 0x6c, + 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x67, 0x6c, 0x49, 0x64, 0x12, + 0x23, 0x0a, 0x0d, 0x67, 0x6c, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x67, 0x6c, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, + 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x67, 0x6c, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x6e, + 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x67, 0x6c, 0x55, 0x73, 0x65, + 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x67, 0x69, 0x74, 0x5f, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x67, 0x69, 0x74, + 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x2c, 0x0a, 0x12, 0x67, 0x69, 0x74, 0x5f, + 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x07, + 0x20, 0x03, 0x28, 0x09, 0x52, 0x10, 0x67, 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x2d, 0x0a, 0x17, 0x50, 0x6f, 0x73, 0x74, 0x52, 0x65, + 0x63, 0x65, 0x69, 0x76, 0x65, 0x50, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x04, 0x64, 0x61, 0x74, 0x61, 0x32, 0xf6, 0x02, 0x0a, 0x10, 0x53, 0x6d, 0x61, 0x72, 0x74, 0x48, + 0x54, 0x54, 0x50, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x51, 0x0a, 0x12, 0x49, 0x6e, + 0x66, 0x6f, 0x52, 0x65, 0x66, 0x73, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x61, 0x63, 0x6b, + 0x12, 0x17, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, + 0x66, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x67, 0x69, 0x74, 0x61, + 0x6c, 0x79, 0x2e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x66, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x52, 0x0a, + 0x13, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x66, 0x73, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, + 0x50, 0x61, 0x63, 0x6b, 0x12, 0x17, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x49, 0x6e, + 0x66, 0x6f, 0x52, 0x65, 0x66, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x66, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, + 0x01, 0x12, 0x5b, 0x0a, 0x0e, 0x50, 0x6f, 0x73, 0x74, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x50, + 0x61, 0x63, 0x6b, 0x12, 0x1d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x50, 0x6f, 0x73, + 0x74, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x50, 0x6f, 0x73, 0x74, + 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x28, 0x01, 0x30, 0x01, 0x12, 0x5e, + 0x0a, 0x0f, 0x50, 0x6f, 0x73, 0x74, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x50, 0x61, 0x63, + 0x6b, 0x12, 0x1e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x52, + 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x50, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x1f, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x50, 0x6f, 0x73, 0x74, 0x52, + 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x50, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x28, 0x01, 0x30, 0x01, 0x42, 0x30, + 0x5a, 0x2e, 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, 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_smarthttp_proto_rawDescOnce sync.Once + file_smarthttp_proto_rawDescData = file_smarthttp_proto_rawDesc +) + +func file_smarthttp_proto_rawDescGZIP() []byte { + file_smarthttp_proto_rawDescOnce.Do(func() { + file_smarthttp_proto_rawDescData = protoimpl.X.CompressGZIP(file_smarthttp_proto_rawDescData) + }) + return file_smarthttp_proto_rawDescData +} + +var file_smarthttp_proto_msgTypes = make([]protoimpl.MessageInfo, 6) +var file_smarthttp_proto_goTypes = []interface{}{ + (*InfoRefsRequest)(nil), // 0: gitaly.InfoRefsRequest + (*InfoRefsResponse)(nil), // 1: gitaly.InfoRefsResponse + (*PostUploadPackRequest)(nil), // 2: gitaly.PostUploadPackRequest + (*PostUploadPackResponse)(nil), // 3: gitaly.PostUploadPackResponse + (*PostReceivePackRequest)(nil), // 4: gitaly.PostReceivePackRequest + (*PostReceivePackResponse)(nil), // 5: gitaly.PostReceivePackResponse + (*Repository)(nil), // 6: gitaly.Repository +} +var file_smarthttp_proto_depIdxs = []int32{ + 6, // 0: gitaly.InfoRefsRequest.repository:type_name -> gitaly.Repository + 6, // 1: gitaly.PostUploadPackRequest.repository:type_name -> gitaly.Repository + 6, // 2: gitaly.PostReceivePackRequest.repository:type_name -> gitaly.Repository + 0, // 3: gitaly.SmartHTTPService.InfoRefsUploadPack:input_type -> gitaly.InfoRefsRequest + 0, // 4: gitaly.SmartHTTPService.InfoRefsReceivePack:input_type -> gitaly.InfoRefsRequest + 2, // 5: gitaly.SmartHTTPService.PostUploadPack:input_type -> gitaly.PostUploadPackRequest + 4, // 6: gitaly.SmartHTTPService.PostReceivePack:input_type -> gitaly.PostReceivePackRequest + 1, // 7: gitaly.SmartHTTPService.InfoRefsUploadPack:output_type -> gitaly.InfoRefsResponse + 1, // 8: gitaly.SmartHTTPService.InfoRefsReceivePack:output_type -> gitaly.InfoRefsResponse + 3, // 9: gitaly.SmartHTTPService.PostUploadPack:output_type -> gitaly.PostUploadPackResponse + 5, // 10: gitaly.SmartHTTPService.PostReceivePack:output_type -> gitaly.PostReceivePackResponse + 7, // [7:11] is the sub-list for method output_type + 3, // [3:7] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_smarthttp_proto_init() } +func file_smarthttp_proto_init() { + if File_smarthttp_proto != nil { + return + } + file_lint_proto_init() + file_shared_proto_init() + if !protoimpl.UnsafeEnabled { + file_smarthttp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InfoRefsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_smarthttp_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InfoRefsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_smarthttp_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PostUploadPackRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_smarthttp_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PostUploadPackResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_smarthttp_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PostReceivePackRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_smarthttp_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PostReceivePackResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_smarthttp_proto_rawDesc, + NumEnums: 0, + NumMessages: 6, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_smarthttp_proto_goTypes, + DependencyIndexes: file_smarthttp_proto_depIdxs, + MessageInfos: file_smarthttp_proto_msgTypes, + }.Build() + File_smarthttp_proto = out.File + file_smarthttp_proto_rawDesc = nil + file_smarthttp_proto_goTypes = nil + file_smarthttp_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConn +var _ grpc.ClientConnInterface // 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 +const _ = grpc.SupportPackageIsVersion6 // SmartHTTPServiceClient is the client API for SmartHTTPService service. // @@ -432,10 +665,10 @@ type SmartHTTPServiceClient interface { } type smartHTTPServiceClient struct { - cc *grpc.ClientConn + cc grpc.ClientConnInterface } -func NewSmartHTTPServiceClient(cc *grpc.ClientConn) SmartHTTPServiceClient { +func NewSmartHTTPServiceClient(cc grpc.ClientConnInterface) SmartHTTPServiceClient { return &smartHTTPServiceClient{cc} } @@ -585,16 +818,16 @@ type SmartHTTPServiceServer interface { type UnimplementedSmartHTTPServiceServer struct { } -func (*UnimplementedSmartHTTPServiceServer) InfoRefsUploadPack(req *InfoRefsRequest, srv SmartHTTPService_InfoRefsUploadPackServer) error { +func (*UnimplementedSmartHTTPServiceServer) InfoRefsUploadPack(*InfoRefsRequest, SmartHTTPService_InfoRefsUploadPackServer) error { return status.Errorf(codes.Unimplemented, "method InfoRefsUploadPack not implemented") } -func (*UnimplementedSmartHTTPServiceServer) InfoRefsReceivePack(req *InfoRefsRequest, srv SmartHTTPService_InfoRefsReceivePackServer) error { +func (*UnimplementedSmartHTTPServiceServer) InfoRefsReceivePack(*InfoRefsRequest, SmartHTTPService_InfoRefsReceivePackServer) error { return status.Errorf(codes.Unimplemented, "method InfoRefsReceivePack not implemented") } -func (*UnimplementedSmartHTTPServiceServer) PostUploadPack(srv SmartHTTPService_PostUploadPackServer) error { +func (*UnimplementedSmartHTTPServiceServer) PostUploadPack(SmartHTTPService_PostUploadPackServer) error { return status.Errorf(codes.Unimplemented, "method PostUploadPack not implemented") } -func (*UnimplementedSmartHTTPServiceServer) PostReceivePack(srv SmartHTTPService_PostReceivePackServer) error { +func (*UnimplementedSmartHTTPServiceServer) PostReceivePack(SmartHTTPService_PostReceivePackServer) error { return status.Errorf(codes.Unimplemented, "method PostReceivePack not implemented") } diff --git a/proto/go/gitalypb/ssh.pb.go b/proto/go/gitalypb/ssh.pb.go index 35f1eb7ab..5bbe2cb59 100644 --- a/proto/go/gitalypb/ssh.pb.go +++ b/proto/go/gitalypb/ssh.pb.go @@ -1,30 +1,39 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc v3.12.4 // source: ssh.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 +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) +) -// 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 +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 type SSHUploadPackRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // 'repository' must be present in the first message. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // A chunk of raw data to be copied to 'git upload-pack' standard input @@ -32,125 +41,141 @@ type SSHUploadPackRequest struct { // Parameters to use with git -c (key=value pairs) GitConfigOptions []string `protobuf:"bytes,4,rep,name=git_config_options,json=gitConfigOptions,proto3" json:"git_config_options,omitempty"` // Git protocol version - GitProtocol string `protobuf:"bytes,5,opt,name=git_protocol,json=gitProtocol,proto3" json:"git_protocol,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + GitProtocol string `protobuf:"bytes,5,opt,name=git_protocol,json=gitProtocol,proto3" json:"git_protocol,omitempty"` } -func (m *SSHUploadPackRequest) Reset() { *m = SSHUploadPackRequest{} } -func (m *SSHUploadPackRequest) String() string { return proto.CompactTextString(m) } -func (*SSHUploadPackRequest) ProtoMessage() {} -func (*SSHUploadPackRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ef0eae71e2e883eb, []int{0} +func (x *SSHUploadPackRequest) Reset() { + *x = SSHUploadPackRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_ssh_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *SSHUploadPackRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SSHUploadPackRequest.Unmarshal(m, b) -} -func (m *SSHUploadPackRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SSHUploadPackRequest.Marshal(b, m, deterministic) -} -func (m *SSHUploadPackRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SSHUploadPackRequest.Merge(m, src) +func (x *SSHUploadPackRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SSHUploadPackRequest) XXX_Size() int { - return xxx_messageInfo_SSHUploadPackRequest.Size(m) -} -func (m *SSHUploadPackRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SSHUploadPackRequest.DiscardUnknown(m) + +func (*SSHUploadPackRequest) ProtoMessage() {} + +func (x *SSHUploadPackRequest) ProtoReflect() protoreflect.Message { + mi := &file_ssh_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_SSHUploadPackRequest proto.InternalMessageInfo +// Deprecated: Use SSHUploadPackRequest.ProtoReflect.Descriptor instead. +func (*SSHUploadPackRequest) Descriptor() ([]byte, []int) { + return file_ssh_proto_rawDescGZIP(), []int{0} +} -func (m *SSHUploadPackRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *SSHUploadPackRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *SSHUploadPackRequest) GetStdin() []byte { - if m != nil { - return m.Stdin +func (x *SSHUploadPackRequest) GetStdin() []byte { + if x != nil { + return x.Stdin } return nil } -func (m *SSHUploadPackRequest) GetGitConfigOptions() []string { - if m != nil { - return m.GitConfigOptions +func (x *SSHUploadPackRequest) GetGitConfigOptions() []string { + if x != nil { + return x.GitConfigOptions } return nil } -func (m *SSHUploadPackRequest) GetGitProtocol() string { - if m != nil { - return m.GitProtocol +func (x *SSHUploadPackRequest) GetGitProtocol() string { + if x != nil { + return x.GitProtocol } return "" } type SSHUploadPackResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // A chunk of raw data from 'git upload-pack' standard output Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"` // A chunk of raw data from 'git upload-pack' standard error Stderr []byte `protobuf:"bytes,2,opt,name=stderr,proto3" json:"stderr,omitempty"` // This field may be nil. This is intentional: only when the remote // command has finished can we return its exit status. - ExitStatus *ExitStatus `protobuf:"bytes,3,opt,name=exit_status,json=exitStatus,proto3" json:"exit_status,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ExitStatus *ExitStatus `protobuf:"bytes,3,opt,name=exit_status,json=exitStatus,proto3" json:"exit_status,omitempty"` } -func (m *SSHUploadPackResponse) Reset() { *m = SSHUploadPackResponse{} } -func (m *SSHUploadPackResponse) String() string { return proto.CompactTextString(m) } -func (*SSHUploadPackResponse) ProtoMessage() {} -func (*SSHUploadPackResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ef0eae71e2e883eb, []int{1} +func (x *SSHUploadPackResponse) Reset() { + *x = SSHUploadPackResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_ssh_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *SSHUploadPackResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SSHUploadPackResponse.Unmarshal(m, b) -} -func (m *SSHUploadPackResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SSHUploadPackResponse.Marshal(b, m, deterministic) -} -func (m *SSHUploadPackResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SSHUploadPackResponse.Merge(m, src) +func (x *SSHUploadPackResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SSHUploadPackResponse) XXX_Size() int { - return xxx_messageInfo_SSHUploadPackResponse.Size(m) -} -func (m *SSHUploadPackResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SSHUploadPackResponse.DiscardUnknown(m) + +func (*SSHUploadPackResponse) ProtoMessage() {} + +func (x *SSHUploadPackResponse) ProtoReflect() protoreflect.Message { + mi := &file_ssh_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) } -var xxx_messageInfo_SSHUploadPackResponse proto.InternalMessageInfo +// Deprecated: Use SSHUploadPackResponse.ProtoReflect.Descriptor instead. +func (*SSHUploadPackResponse) Descriptor() ([]byte, []int) { + return file_ssh_proto_rawDescGZIP(), []int{1} +} -func (m *SSHUploadPackResponse) GetStdout() []byte { - if m != nil { - return m.Stdout +func (x *SSHUploadPackResponse) GetStdout() []byte { + if x != nil { + return x.Stdout } return nil } -func (m *SSHUploadPackResponse) GetStderr() []byte { - if m != nil { - return m.Stderr +func (x *SSHUploadPackResponse) GetStderr() []byte { + if x != nil { + return x.Stderr } return nil } -func (m *SSHUploadPackResponse) GetExitStatus() *ExitStatus { - if m != nil { - return m.ExitStatus +func (x *SSHUploadPackResponse) GetExitStatus() *ExitStatus { + if x != nil { + return x.ExitStatus } return nil } type SSHReceivePackRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // 'repository' must be present in the first message. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // A chunk of raw data to be copied to 'git upload-pack' standard input @@ -163,306 +188,523 @@ type SSHReceivePackRequest struct { // Git protocol version GitProtocol string `protobuf:"bytes,6,opt,name=git_protocol,json=gitProtocol,proto3" json:"git_protocol,omitempty"` // Parameters to use with git -c (key=value pairs) - GitConfigOptions []string `protobuf:"bytes,7,rep,name=git_config_options,json=gitConfigOptions,proto3" json:"git_config_options,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + GitConfigOptions []string `protobuf:"bytes,7,rep,name=git_config_options,json=gitConfigOptions,proto3" json:"git_config_options,omitempty"` } -func (m *SSHReceivePackRequest) Reset() { *m = SSHReceivePackRequest{} } -func (m *SSHReceivePackRequest) String() string { return proto.CompactTextString(m) } -func (*SSHReceivePackRequest) ProtoMessage() {} -func (*SSHReceivePackRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ef0eae71e2e883eb, []int{2} +func (x *SSHReceivePackRequest) Reset() { + *x = SSHReceivePackRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_ssh_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *SSHReceivePackRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SSHReceivePackRequest.Unmarshal(m, b) -} -func (m *SSHReceivePackRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SSHReceivePackRequest.Marshal(b, m, deterministic) +func (x *SSHReceivePackRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SSHReceivePackRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SSHReceivePackRequest.Merge(m, src) -} -func (m *SSHReceivePackRequest) XXX_Size() int { - return xxx_messageInfo_SSHReceivePackRequest.Size(m) -} -func (m *SSHReceivePackRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SSHReceivePackRequest.DiscardUnknown(m) + +func (*SSHReceivePackRequest) ProtoMessage() {} + +func (x *SSHReceivePackRequest) ProtoReflect() protoreflect.Message { + mi := &file_ssh_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_SSHReceivePackRequest proto.InternalMessageInfo +// Deprecated: Use SSHReceivePackRequest.ProtoReflect.Descriptor instead. +func (*SSHReceivePackRequest) Descriptor() ([]byte, []int) { + return file_ssh_proto_rawDescGZIP(), []int{2} +} -func (m *SSHReceivePackRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *SSHReceivePackRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *SSHReceivePackRequest) GetStdin() []byte { - if m != nil { - return m.Stdin +func (x *SSHReceivePackRequest) GetStdin() []byte { + if x != nil { + return x.Stdin } return nil } -func (m *SSHReceivePackRequest) GetGlId() string { - if m != nil { - return m.GlId +func (x *SSHReceivePackRequest) GetGlId() string { + if x != nil { + return x.GlId } return "" } -func (m *SSHReceivePackRequest) GetGlRepository() string { - if m != nil { - return m.GlRepository +func (x *SSHReceivePackRequest) GetGlRepository() string { + if x != nil { + return x.GlRepository } return "" } -func (m *SSHReceivePackRequest) GetGlUsername() string { - if m != nil { - return m.GlUsername +func (x *SSHReceivePackRequest) GetGlUsername() string { + if x != nil { + return x.GlUsername } return "" } -func (m *SSHReceivePackRequest) GetGitProtocol() string { - if m != nil { - return m.GitProtocol +func (x *SSHReceivePackRequest) GetGitProtocol() string { + if x != nil { + return x.GitProtocol } return "" } -func (m *SSHReceivePackRequest) GetGitConfigOptions() []string { - if m != nil { - return m.GitConfigOptions +func (x *SSHReceivePackRequest) GetGitConfigOptions() []string { + if x != nil { + return x.GitConfigOptions } return nil } type SSHReceivePackResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // A chunk of raw data from 'git receive-pack' standard output Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"` // A chunk of raw data from 'git receive-pack' standard error Stderr []byte `protobuf:"bytes,2,opt,name=stderr,proto3" json:"stderr,omitempty"` // This field may be nil. This is intentional: only when the remote // command has finished can we return its exit status. - ExitStatus *ExitStatus `protobuf:"bytes,3,opt,name=exit_status,json=exitStatus,proto3" json:"exit_status,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ExitStatus *ExitStatus `protobuf:"bytes,3,opt,name=exit_status,json=exitStatus,proto3" json:"exit_status,omitempty"` } -func (m *SSHReceivePackResponse) Reset() { *m = SSHReceivePackResponse{} } -func (m *SSHReceivePackResponse) String() string { return proto.CompactTextString(m) } -func (*SSHReceivePackResponse) ProtoMessage() {} -func (*SSHReceivePackResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ef0eae71e2e883eb, []int{3} +func (x *SSHReceivePackResponse) Reset() { + *x = SSHReceivePackResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_ssh_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *SSHReceivePackResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SSHReceivePackResponse.Unmarshal(m, b) -} -func (m *SSHReceivePackResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SSHReceivePackResponse.Marshal(b, m, deterministic) -} -func (m *SSHReceivePackResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SSHReceivePackResponse.Merge(m, src) +func (x *SSHReceivePackResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SSHReceivePackResponse) XXX_Size() int { - return xxx_messageInfo_SSHReceivePackResponse.Size(m) -} -func (m *SSHReceivePackResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SSHReceivePackResponse.DiscardUnknown(m) + +func (*SSHReceivePackResponse) ProtoMessage() {} + +func (x *SSHReceivePackResponse) ProtoReflect() protoreflect.Message { + mi := &file_ssh_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_SSHReceivePackResponse proto.InternalMessageInfo +// Deprecated: Use SSHReceivePackResponse.ProtoReflect.Descriptor instead. +func (*SSHReceivePackResponse) Descriptor() ([]byte, []int) { + return file_ssh_proto_rawDescGZIP(), []int{3} +} -func (m *SSHReceivePackResponse) GetStdout() []byte { - if m != nil { - return m.Stdout +func (x *SSHReceivePackResponse) GetStdout() []byte { + if x != nil { + return x.Stdout } return nil } -func (m *SSHReceivePackResponse) GetStderr() []byte { - if m != nil { - return m.Stderr +func (x *SSHReceivePackResponse) GetStderr() []byte { + if x != nil { + return x.Stderr } return nil } -func (m *SSHReceivePackResponse) GetExitStatus() *ExitStatus { - if m != nil { - return m.ExitStatus +func (x *SSHReceivePackResponse) GetExitStatus() *ExitStatus { + if x != nil { + return x.ExitStatus } return nil } type SSHUploadArchiveRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // 'repository' must be present in the first message. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // A chunk of raw data to be copied to 'git upload-archive' standard input - Stdin []byte `protobuf:"bytes,2,opt,name=stdin,proto3" json:"stdin,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Stdin []byte `protobuf:"bytes,2,opt,name=stdin,proto3" json:"stdin,omitempty"` } -func (m *SSHUploadArchiveRequest) Reset() { *m = SSHUploadArchiveRequest{} } -func (m *SSHUploadArchiveRequest) String() string { return proto.CompactTextString(m) } -func (*SSHUploadArchiveRequest) ProtoMessage() {} -func (*SSHUploadArchiveRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_ef0eae71e2e883eb, []int{4} +func (x *SSHUploadArchiveRequest) Reset() { + *x = SSHUploadArchiveRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_ssh_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *SSHUploadArchiveRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SSHUploadArchiveRequest.Unmarshal(m, b) -} -func (m *SSHUploadArchiveRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SSHUploadArchiveRequest.Marshal(b, m, deterministic) -} -func (m *SSHUploadArchiveRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SSHUploadArchiveRequest.Merge(m, src) +func (x *SSHUploadArchiveRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SSHUploadArchiveRequest) XXX_Size() int { - return xxx_messageInfo_SSHUploadArchiveRequest.Size(m) -} -func (m *SSHUploadArchiveRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SSHUploadArchiveRequest.DiscardUnknown(m) + +func (*SSHUploadArchiveRequest) ProtoMessage() {} + +func (x *SSHUploadArchiveRequest) ProtoReflect() protoreflect.Message { + mi := &file_ssh_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_SSHUploadArchiveRequest proto.InternalMessageInfo +// Deprecated: Use SSHUploadArchiveRequest.ProtoReflect.Descriptor instead. +func (*SSHUploadArchiveRequest) Descriptor() ([]byte, []int) { + return file_ssh_proto_rawDescGZIP(), []int{4} +} -func (m *SSHUploadArchiveRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *SSHUploadArchiveRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *SSHUploadArchiveRequest) GetStdin() []byte { - if m != nil { - return m.Stdin +func (x *SSHUploadArchiveRequest) GetStdin() []byte { + if x != nil { + return x.Stdin } return nil } type SSHUploadArchiveResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // A chunk of raw data from 'git upload-archive' standard output Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"` // A chunk of raw data from 'git upload-archive' standard error Stderr []byte `protobuf:"bytes,2,opt,name=stderr,proto3" json:"stderr,omitempty"` // This value will only be set on the last message - ExitStatus *ExitStatus `protobuf:"bytes,3,opt,name=exit_status,json=exitStatus,proto3" json:"exit_status,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ExitStatus *ExitStatus `protobuf:"bytes,3,opt,name=exit_status,json=exitStatus,proto3" json:"exit_status,omitempty"` } -func (m *SSHUploadArchiveResponse) Reset() { *m = SSHUploadArchiveResponse{} } -func (m *SSHUploadArchiveResponse) String() string { return proto.CompactTextString(m) } -func (*SSHUploadArchiveResponse) ProtoMessage() {} -func (*SSHUploadArchiveResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_ef0eae71e2e883eb, []int{5} +func (x *SSHUploadArchiveResponse) Reset() { + *x = SSHUploadArchiveResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_ssh_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *SSHUploadArchiveResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SSHUploadArchiveResponse.Unmarshal(m, b) +func (x *SSHUploadArchiveResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SSHUploadArchiveResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SSHUploadArchiveResponse.Marshal(b, m, deterministic) -} -func (m *SSHUploadArchiveResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SSHUploadArchiveResponse.Merge(m, src) -} -func (m *SSHUploadArchiveResponse) XXX_Size() int { - return xxx_messageInfo_SSHUploadArchiveResponse.Size(m) -} -func (m *SSHUploadArchiveResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SSHUploadArchiveResponse.DiscardUnknown(m) + +func (*SSHUploadArchiveResponse) ProtoMessage() {} + +func (x *SSHUploadArchiveResponse) ProtoReflect() protoreflect.Message { + mi := &file_ssh_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_SSHUploadArchiveResponse proto.InternalMessageInfo +// Deprecated: Use SSHUploadArchiveResponse.ProtoReflect.Descriptor instead. +func (*SSHUploadArchiveResponse) Descriptor() ([]byte, []int) { + return file_ssh_proto_rawDescGZIP(), []int{5} +} -func (m *SSHUploadArchiveResponse) GetStdout() []byte { - if m != nil { - return m.Stdout +func (x *SSHUploadArchiveResponse) GetStdout() []byte { + if x != nil { + return x.Stdout } return nil } -func (m *SSHUploadArchiveResponse) GetStderr() []byte { - if m != nil { - return m.Stderr +func (x *SSHUploadArchiveResponse) GetStderr() []byte { + if x != nil { + return x.Stderr } return nil } -func (m *SSHUploadArchiveResponse) GetExitStatus() *ExitStatus { - if m != nil { - return m.ExitStatus +func (x *SSHUploadArchiveResponse) GetExitStatus() *ExitStatus { + if x != nil { + return x.ExitStatus } return nil } -func init() { - proto.RegisterType((*SSHUploadPackRequest)(nil), "gitaly.SSHUploadPackRequest") - proto.RegisterType((*SSHUploadPackResponse)(nil), "gitaly.SSHUploadPackResponse") - proto.RegisterType((*SSHReceivePackRequest)(nil), "gitaly.SSHReceivePackRequest") - proto.RegisterType((*SSHReceivePackResponse)(nil), "gitaly.SSHReceivePackResponse") - proto.RegisterType((*SSHUploadArchiveRequest)(nil), "gitaly.SSHUploadArchiveRequest") - proto.RegisterType((*SSHUploadArchiveResponse)(nil), "gitaly.SSHUploadArchiveResponse") -} - -func init() { proto.RegisterFile("ssh.proto", fileDescriptor_ef0eae71e2e883eb) } - -var fileDescriptor_ef0eae71e2e883eb = []byte{ - // 506 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x53, 0xcf, 0x6e, 0xd3, 0x30, - 0x18, 0x57, 0xda, 0xb4, 0xac, 0x5f, 0x3b, 0x54, 0x99, 0x6d, 0x44, 0x11, 0xb0, 0x10, 0x2e, 0x39, - 0x8c, 0x76, 0xda, 0x2e, 0x5c, 0x19, 0x42, 0x1a, 0x5c, 0x98, 0x1c, 0x4d, 0x42, 0x70, 0x88, 0xdc, - 0xc4, 0xb8, 0x16, 0x6e, 0x1c, 0x6c, 0xb7, 0xda, 0x24, 0x10, 0x0f, 0xc1, 0x01, 0x9e, 0x80, 0x47, - 0xe1, 0x09, 0x78, 0x1a, 0x4e, 0x68, 0x4e, 0x28, 0x4d, 0xb3, 0x1e, 0xb7, 0x9b, 0xbf, 0xdf, 0xef, - 0xf3, 0xf7, 0xe7, 0xf7, 0xb3, 0xa1, 0xa7, 0xf5, 0x74, 0x54, 0x28, 0x69, 0x24, 0xea, 0x32, 0x6e, - 0x88, 0xb8, 0xf4, 0x41, 0xf0, 0xdc, 0x94, 0x98, 0x3f, 0xd0, 0x53, 0xa2, 0x68, 0x56, 0x46, 0xe1, - 0x6f, 0x07, 0x76, 0xe2, 0xf8, 0xf4, 0xbc, 0x10, 0x92, 0x64, 0x67, 0x24, 0xfd, 0x88, 0xe9, 0xa7, - 0x39, 0xd5, 0x06, 0x3d, 0x03, 0x50, 0xb4, 0x90, 0x9a, 0x1b, 0xa9, 0x2e, 0x3d, 0x27, 0x70, 0xa2, - 0xfe, 0x11, 0x1a, 0x95, 0xf5, 0x46, 0x78, 0xc9, 0x9c, 0xb8, 0x3f, 0x7e, 0x1d, 0x38, 0x78, 0x25, - 0x17, 0xed, 0x40, 0x47, 0x9b, 0x8c, 0xe7, 0x5e, 0x2b, 0x70, 0xa2, 0x01, 0x2e, 0x03, 0x74, 0x00, - 0x88, 0x71, 0x93, 0xa4, 0x32, 0xff, 0xc0, 0x59, 0x22, 0x0b, 0xc3, 0x65, 0xae, 0x3d, 0x37, 0x68, - 0x47, 0x3d, 0x3c, 0x64, 0xdc, 0xbc, 0xb0, 0xc4, 0x9b, 0x12, 0x47, 0x8f, 0x61, 0x70, 0x95, 0x6d, - 0x67, 0x4c, 0xa5, 0xf0, 0x3a, 0x81, 0x13, 0xf5, 0x70, 0x9f, 0x71, 0x73, 0x56, 0x41, 0xaf, 0xdd, - 0xad, 0xf6, 0xd0, 0xc5, 0xbb, 0x2b, 0x45, 0x0b, 0xa2, 0xc8, 0x8c, 0x1a, 0xaa, 0x74, 0xf8, 0x19, - 0x76, 0xd7, 0xb6, 0xd2, 0x85, 0xcc, 0x35, 0x45, 0x7b, 0xd0, 0xd5, 0x26, 0x93, 0x73, 0x63, 0x57, - 0x1a, 0xe0, 0x2a, 0xaa, 0x70, 0xaa, 0x54, 0x35, 0x75, 0x15, 0xa1, 0x63, 0xe8, 0xd3, 0x0b, 0x6e, - 0x12, 0x6d, 0x88, 0x99, 0x6b, 0xaf, 0x5d, 0xd7, 0xe1, 0xe5, 0x05, 0x37, 0xb1, 0x65, 0x30, 0xd0, - 0xe5, 0x39, 0xfc, 0xd6, 0xb2, 0xed, 0x31, 0x4d, 0x29, 0x5f, 0xd0, 0x9b, 0x54, 0xf5, 0x1e, 0x74, - 0x98, 0x48, 0x78, 0x66, 0x07, 0xeb, 0x61, 0x97, 0x89, 0x57, 0x19, 0x7a, 0x02, 0xdb, 0x4c, 0x24, - 0x2b, 0x7d, 0x5c, 0x4b, 0x0e, 0x98, 0xf8, 0xdf, 0x01, 0xed, 0x43, 0x9f, 0x89, 0x64, 0xae, 0xa9, - 0xca, 0xc9, 0x8c, 0x56, 0x02, 0x03, 0x13, 0xe7, 0x15, 0xd2, 0xb0, 0xa0, 0xdb, 0xb0, 0x60, 0x83, - 0xa7, 0x77, 0xae, 0xf7, 0x34, 0xfc, 0x02, 0x7b, 0xeb, 0xa2, 0xdc, 0xa6, 0x29, 0x1c, 0xee, 0x2f, - 0x9f, 0xc4, 0x73, 0x95, 0x4e, 0xf9, 0x82, 0xde, 0x90, 0x2b, 0xe1, 0x57, 0xf0, 0x9a, 0xad, 0x6e, - 0x71, 0xd7, 0xa3, 0x9f, 0x2d, 0x80, 0x38, 0x3e, 0x8d, 0xa9, 0x5a, 0xf0, 0x94, 0xa2, 0xb7, 0xb0, - 0x5d, 0xfb, 0x0d, 0xe8, 0xc1, 0xbf, 0xfb, 0xd7, 0x7d, 0x7d, 0xff, 0xe1, 0x06, 0xb6, 0xdc, 0x20, - 0xec, 0xfe, 0xf9, 0x1e, 0xb5, 0xb6, 0x5a, 0x91, 0x73, 0xe8, 0xa0, 0xf7, 0x70, 0xb7, 0xee, 0x29, - 0x5a, 0xbd, 0xdc, 0xfc, 0x00, 0xfe, 0xa3, 0x4d, 0x74, 0xad, 0xb8, 0x63, 0x8b, 0x13, 0x18, 0xae, - 0xcb, 0x88, 0xf6, 0x1b, 0xb3, 0xd5, 0xbd, 0xf4, 0x83, 0xcd, 0x09, 0xcd, 0xf9, 0x4f, 0x0e, 0xdf, - 0x5d, 0xa5, 0x0b, 0x32, 0x19, 0xa5, 0x72, 0x36, 0x2e, 0x8f, 0x4f, 0xa5, 0x62, 0xe3, 0xb2, 0xc8, - 0xd8, 0xbe, 0xfe, 0x31, 0x93, 0x55, 0x5c, 0x4c, 0x26, 0x5d, 0x0b, 0x1d, 0xff, 0x0d, 0x00, 0x00, - 0xff, 0xff, 0x38, 0x5c, 0x3c, 0x09, 0x66, 0x05, 0x00, 0x00, +var File_ssh_proto protoreflect.FileDescriptor + +var file_ssh_proto_rawDesc = []byte{ + 0x0a, 0x09, 0x73, 0x73, 0x68, 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, 0xd4, 0x01, + 0x0a, 0x14, 0x53, 0x53, 0x48, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x61, 0x63, 0x6b, 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, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x64, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x05, 0x73, 0x74, 0x64, 0x69, 0x6e, 0x12, 0x2c, 0x0a, 0x12, 0x67, 0x69, 0x74, 0x5f, 0x63, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, + 0x28, 0x09, 0x52, 0x10, 0x67, 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4f, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x67, 0x69, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x67, 0x69, 0x74, 0x50, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x52, 0x15, 0x67, + 0x69, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, + 0x74, 0x65, 0x72, 0x73, 0x22, 0x7c, 0x0a, 0x15, 0x53, 0x53, 0x48, 0x55, 0x70, 0x6c, 0x6f, 0x61, + 0x64, 0x50, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, + 0x06, 0x73, 0x74, 0x64, 0x6f, 0x75, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, + 0x74, 0x64, 0x6f, 0x75, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x64, 0x65, 0x72, 0x72, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, 0x74, 0x64, 0x65, 0x72, 0x72, 0x12, 0x33, 0x0a, + 0x0b, 0x65, 0x78, 0x69, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x45, 0x78, 0x69, 0x74, + 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0a, 0x65, 0x78, 0x69, 0x74, 0x53, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x22, 0x93, 0x02, 0x0a, 0x15, 0x53, 0x53, 0x48, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, + 0x65, 0x50, 0x61, 0x63, 0x6b, 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, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x64, 0x69, 0x6e, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x73, 0x74, 0x64, 0x69, 0x6e, 0x12, 0x13, 0x0a, 0x05, + 0x67, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x67, 0x6c, 0x49, + 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x67, 0x6c, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, + 0x72, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x67, 0x6c, 0x52, 0x65, 0x70, 0x6f, + 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x67, 0x6c, 0x5f, 0x75, 0x73, 0x65, + 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x67, 0x6c, 0x55, + 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x67, 0x69, 0x74, 0x5f, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x67, + 0x69, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x2c, 0x0a, 0x12, 0x67, 0x69, + 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x10, 0x67, 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x7d, 0x0a, 0x16, 0x53, 0x53, 0x48, 0x52, + 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x50, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x64, 0x6f, 0x75, 0x74, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x06, 0x73, 0x74, 0x64, 0x6f, 0x75, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, + 0x64, 0x65, 0x72, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, 0x74, 0x64, 0x65, + 0x72, 0x72, 0x12, 0x33, 0x0a, 0x0b, 0x65, 0x78, 0x69, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, + 0x2e, 0x45, 0x78, 0x69, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0a, 0x65, 0x78, 0x69, + 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x69, 0x0a, 0x17, 0x53, 0x53, 0x48, 0x55, 0x70, + 0x6c, 0x6f, 0x61, 0x64, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 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, 0x14, 0x0a, 0x05, + 0x73, 0x74, 0x64, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x73, 0x74, 0x64, + 0x69, 0x6e, 0x22, 0x7f, 0x0a, 0x18, 0x53, 0x53, 0x48, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x41, + 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, + 0x0a, 0x06, 0x73, 0x74, 0x64, 0x6f, 0x75, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, + 0x73, 0x74, 0x64, 0x6f, 0x75, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x64, 0x65, 0x72, 0x72, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, 0x74, 0x64, 0x65, 0x72, 0x72, 0x12, 0x33, + 0x0a, 0x0b, 0x65, 0x78, 0x69, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x45, 0x78, 0x69, + 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0a, 0x65, 0x78, 0x69, 0x74, 0x53, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x32, 0xa6, 0x02, 0x0a, 0x0a, 0x53, 0x53, 0x48, 0x53, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x12, 0x58, 0x0a, 0x0d, 0x53, 0x53, 0x48, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x50, + 0x61, 0x63, 0x6b, 0x12, 0x1c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x53, 0x53, 0x48, + 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x53, 0x53, 0x48, 0x55, 0x70, + 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x28, 0x01, 0x30, 0x01, 0x12, 0x5b, 0x0a, 0x0e, + 0x53, 0x53, 0x48, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x50, 0x61, 0x63, 0x6b, 0x12, 0x1d, + 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x53, 0x53, 0x48, 0x52, 0x65, 0x63, 0x65, 0x69, + 0x76, 0x65, 0x50, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x53, 0x53, 0x48, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, + 0x65, 0x50, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, + 0x97, 0x28, 0x02, 0x08, 0x01, 0x28, 0x01, 0x30, 0x01, 0x12, 0x61, 0x0a, 0x10, 0x53, 0x53, 0x48, + 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x12, 0x1f, 0x2e, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x53, 0x53, 0x48, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, + 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, + 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x53, 0x53, 0x48, 0x55, 0x70, 0x6c, 0x6f, 0x61, + 0x64, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x28, 0x01, 0x30, 0x01, 0x42, 0x30, 0x5a, 0x2e, + 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, 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_ssh_proto_rawDescOnce sync.Once + file_ssh_proto_rawDescData = file_ssh_proto_rawDesc +) + +func file_ssh_proto_rawDescGZIP() []byte { + file_ssh_proto_rawDescOnce.Do(func() { + file_ssh_proto_rawDescData = protoimpl.X.CompressGZIP(file_ssh_proto_rawDescData) + }) + return file_ssh_proto_rawDescData +} + +var file_ssh_proto_msgTypes = make([]protoimpl.MessageInfo, 6) +var file_ssh_proto_goTypes = []interface{}{ + (*SSHUploadPackRequest)(nil), // 0: gitaly.SSHUploadPackRequest + (*SSHUploadPackResponse)(nil), // 1: gitaly.SSHUploadPackResponse + (*SSHReceivePackRequest)(nil), // 2: gitaly.SSHReceivePackRequest + (*SSHReceivePackResponse)(nil), // 3: gitaly.SSHReceivePackResponse + (*SSHUploadArchiveRequest)(nil), // 4: gitaly.SSHUploadArchiveRequest + (*SSHUploadArchiveResponse)(nil), // 5: gitaly.SSHUploadArchiveResponse + (*Repository)(nil), // 6: gitaly.Repository + (*ExitStatus)(nil), // 7: gitaly.ExitStatus +} +var file_ssh_proto_depIdxs = []int32{ + 6, // 0: gitaly.SSHUploadPackRequest.repository:type_name -> gitaly.Repository + 7, // 1: gitaly.SSHUploadPackResponse.exit_status:type_name -> gitaly.ExitStatus + 6, // 2: gitaly.SSHReceivePackRequest.repository:type_name -> gitaly.Repository + 7, // 3: gitaly.SSHReceivePackResponse.exit_status:type_name -> gitaly.ExitStatus + 6, // 4: gitaly.SSHUploadArchiveRequest.repository:type_name -> gitaly.Repository + 7, // 5: gitaly.SSHUploadArchiveResponse.exit_status:type_name -> gitaly.ExitStatus + 0, // 6: gitaly.SSHService.SSHUploadPack:input_type -> gitaly.SSHUploadPackRequest + 2, // 7: gitaly.SSHService.SSHReceivePack:input_type -> gitaly.SSHReceivePackRequest + 4, // 8: gitaly.SSHService.SSHUploadArchive:input_type -> gitaly.SSHUploadArchiveRequest + 1, // 9: gitaly.SSHService.SSHUploadPack:output_type -> gitaly.SSHUploadPackResponse + 3, // 10: gitaly.SSHService.SSHReceivePack:output_type -> gitaly.SSHReceivePackResponse + 5, // 11: gitaly.SSHService.SSHUploadArchive:output_type -> gitaly.SSHUploadArchiveResponse + 9, // [9:12] is the sub-list for method output_type + 6, // [6:9] is the sub-list for method input_type + 6, // [6:6] is the sub-list for extension type_name + 6, // [6:6] is the sub-list for extension extendee + 0, // [0:6] is the sub-list for field type_name +} + +func init() { file_ssh_proto_init() } +func file_ssh_proto_init() { + if File_ssh_proto != nil { + return + } + file_lint_proto_init() + file_shared_proto_init() + if !protoimpl.UnsafeEnabled { + file_ssh_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SSHUploadPackRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ssh_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SSHUploadPackResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ssh_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SSHReceivePackRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ssh_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SSHReceivePackResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ssh_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SSHUploadArchiveRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_ssh_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SSHUploadArchiveResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_ssh_proto_rawDesc, + NumEnums: 0, + NumMessages: 6, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_ssh_proto_goTypes, + DependencyIndexes: file_ssh_proto_depIdxs, + MessageInfos: file_ssh_proto_msgTypes, + }.Build() + File_ssh_proto = out.File + file_ssh_proto_rawDesc = nil + file_ssh_proto_goTypes = nil + file_ssh_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConn +var _ grpc.ClientConnInterface // 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 +const _ = grpc.SupportPackageIsVersion6 // SSHServiceClient is the client API for SSHService service. // @@ -477,10 +719,10 @@ type SSHServiceClient interface { } type sSHServiceClient struct { - cc *grpc.ClientConn + cc grpc.ClientConnInterface } -func NewSSHServiceClient(cc *grpc.ClientConn) SSHServiceClient { +func NewSSHServiceClient(cc grpc.ClientConnInterface) SSHServiceClient { return &sSHServiceClient{cc} } @@ -591,13 +833,13 @@ type SSHServiceServer interface { type UnimplementedSSHServiceServer struct { } -func (*UnimplementedSSHServiceServer) SSHUploadPack(srv SSHService_SSHUploadPackServer) error { +func (*UnimplementedSSHServiceServer) SSHUploadPack(SSHService_SSHUploadPackServer) error { return status.Errorf(codes.Unimplemented, "method SSHUploadPack not implemented") } -func (*UnimplementedSSHServiceServer) SSHReceivePack(srv SSHService_SSHReceivePackServer) error { +func (*UnimplementedSSHServiceServer) SSHReceivePack(SSHService_SSHReceivePackServer) error { return status.Errorf(codes.Unimplemented, "method SSHReceivePack not implemented") } -func (*UnimplementedSSHServiceServer) SSHUploadArchive(srv SSHService_SSHUploadArchiveServer) error { +func (*UnimplementedSSHServiceServer) SSHUploadArchive(SSHService_SSHUploadArchiveServer) error { return status.Errorf(codes.Unimplemented, "method SSHUploadArchive not implemented") } diff --git a/proto/go/gitalypb/transaction.pb.go b/proto/go/gitalypb/transaction.pb.go index 6f70b1cfa..1fc0682e5 100644 --- a/proto/go/gitalypb/transaction.pb.go +++ b/proto/go/gitalypb/transaction.pb.go @@ -1,28 +1,33 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc v3.12.4 // source: transaction.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 +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) +) -// 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 +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 // The outcome of the given transaction telling the client whether the // transaction should be committed or rolled back. @@ -34,256 +39,440 @@ const ( VoteTransactionResponse_STOP VoteTransactionResponse_TransactionState = 2 ) -var VoteTransactionResponse_TransactionState_name = map[int32]string{ - 0: "COMMIT", - 1: "ABORT", - 2: "STOP", -} +// Enum value maps for VoteTransactionResponse_TransactionState. +var ( + VoteTransactionResponse_TransactionState_name = map[int32]string{ + 0: "COMMIT", + 1: "ABORT", + 2: "STOP", + } + VoteTransactionResponse_TransactionState_value = map[string]int32{ + "COMMIT": 0, + "ABORT": 1, + "STOP": 2, + } +) -var VoteTransactionResponse_TransactionState_value = map[string]int32{ - "COMMIT": 0, - "ABORT": 1, - "STOP": 2, +func (x VoteTransactionResponse_TransactionState) Enum() *VoteTransactionResponse_TransactionState { + p := new(VoteTransactionResponse_TransactionState) + *p = x + return p } func (x VoteTransactionResponse_TransactionState) String() string { - return proto.EnumName(VoteTransactionResponse_TransactionState_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (VoteTransactionResponse_TransactionState) Descriptor() protoreflect.EnumDescriptor { + return file_transaction_proto_enumTypes[0].Descriptor() +} + +func (VoteTransactionResponse_TransactionState) Type() protoreflect.EnumType { + return &file_transaction_proto_enumTypes[0] +} + +func (x VoteTransactionResponse_TransactionState) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use VoteTransactionResponse_TransactionState.Descriptor instead. func (VoteTransactionResponse_TransactionState) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_2cc4e03d2c28c490, []int{1, 0} + return file_transaction_proto_rawDescGZIP(), []int{1, 0} } type VoteTransactionRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // ID of the transaction we're processing TransactionId uint64 `protobuf:"varint,2,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` // Name of the Gitaly node that's voting on a transaction. Node string `protobuf:"bytes,3,opt,name=node,proto3" json:"node,omitempty"` // SHA1 of the references that are to be updated - ReferenceUpdatesHash []byte `protobuf:"bytes,4,opt,name=reference_updates_hash,json=referenceUpdatesHash,proto3" json:"reference_updates_hash,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ReferenceUpdatesHash []byte `protobuf:"bytes,4,opt,name=reference_updates_hash,json=referenceUpdatesHash,proto3" json:"reference_updates_hash,omitempty"` } -func (m *VoteTransactionRequest) Reset() { *m = VoteTransactionRequest{} } -func (m *VoteTransactionRequest) String() string { return proto.CompactTextString(m) } -func (*VoteTransactionRequest) ProtoMessage() {} -func (*VoteTransactionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2cc4e03d2c28c490, []int{0} +func (x *VoteTransactionRequest) Reset() { + *x = VoteTransactionRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_transaction_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *VoteTransactionRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VoteTransactionRequest.Unmarshal(m, b) -} -func (m *VoteTransactionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VoteTransactionRequest.Marshal(b, m, deterministic) -} -func (m *VoteTransactionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_VoteTransactionRequest.Merge(m, src) -} -func (m *VoteTransactionRequest) XXX_Size() int { - return xxx_messageInfo_VoteTransactionRequest.Size(m) +func (x *VoteTransactionRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *VoteTransactionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_VoteTransactionRequest.DiscardUnknown(m) + +func (*VoteTransactionRequest) ProtoMessage() {} + +func (x *VoteTransactionRequest) ProtoReflect() protoreflect.Message { + mi := &file_transaction_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_VoteTransactionRequest proto.InternalMessageInfo +// Deprecated: Use VoteTransactionRequest.ProtoReflect.Descriptor instead. +func (*VoteTransactionRequest) Descriptor() ([]byte, []int) { + return file_transaction_proto_rawDescGZIP(), []int{0} +} -func (m *VoteTransactionRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *VoteTransactionRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *VoteTransactionRequest) GetTransactionId() uint64 { - if m != nil { - return m.TransactionId +func (x *VoteTransactionRequest) GetTransactionId() uint64 { + if x != nil { + return x.TransactionId } return 0 } -func (m *VoteTransactionRequest) GetNode() string { - if m != nil { - return m.Node +func (x *VoteTransactionRequest) GetNode() string { + if x != nil { + return x.Node } return "" } -func (m *VoteTransactionRequest) GetReferenceUpdatesHash() []byte { - if m != nil { - return m.ReferenceUpdatesHash +func (x *VoteTransactionRequest) GetReferenceUpdatesHash() []byte { + if x != nil { + return x.ReferenceUpdatesHash } return nil } type VoteTransactionResponse struct { - State VoteTransactionResponse_TransactionState `protobuf:"varint,1,opt,name=state,proto3,enum=gitaly.VoteTransactionResponse_TransactionState" json:"state,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *VoteTransactionResponse) Reset() { *m = VoteTransactionResponse{} } -func (m *VoteTransactionResponse) String() string { return proto.CompactTextString(m) } -func (*VoteTransactionResponse) ProtoMessage() {} -func (*VoteTransactionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_2cc4e03d2c28c490, []int{1} + State VoteTransactionResponse_TransactionState `protobuf:"varint,1,opt,name=state,proto3,enum=gitaly.VoteTransactionResponse_TransactionState" json:"state,omitempty"` } -func (m *VoteTransactionResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VoteTransactionResponse.Unmarshal(m, b) -} -func (m *VoteTransactionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VoteTransactionResponse.Marshal(b, m, deterministic) -} -func (m *VoteTransactionResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_VoteTransactionResponse.Merge(m, src) +func (x *VoteTransactionResponse) Reset() { + *x = VoteTransactionResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_transaction_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *VoteTransactionResponse) XXX_Size() int { - return xxx_messageInfo_VoteTransactionResponse.Size(m) + +func (x *VoteTransactionResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *VoteTransactionResponse) XXX_DiscardUnknown() { - xxx_messageInfo_VoteTransactionResponse.DiscardUnknown(m) + +func (*VoteTransactionResponse) ProtoMessage() {} + +func (x *VoteTransactionResponse) ProtoReflect() protoreflect.Message { + mi := &file_transaction_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) } -var xxx_messageInfo_VoteTransactionResponse proto.InternalMessageInfo +// Deprecated: Use VoteTransactionResponse.ProtoReflect.Descriptor instead. +func (*VoteTransactionResponse) Descriptor() ([]byte, []int) { + return file_transaction_proto_rawDescGZIP(), []int{1} +} -func (m *VoteTransactionResponse) GetState() VoteTransactionResponse_TransactionState { - if m != nil { - return m.State +func (x *VoteTransactionResponse) GetState() VoteTransactionResponse_TransactionState { + if x != nil { + return x.State } return VoteTransactionResponse_COMMIT } type StopTransactionRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // ID of the transaction we're processing - TransactionId uint64 `protobuf:"varint,2,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + TransactionId uint64 `protobuf:"varint,2,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` } -func (m *StopTransactionRequest) Reset() { *m = StopTransactionRequest{} } -func (m *StopTransactionRequest) String() string { return proto.CompactTextString(m) } -func (*StopTransactionRequest) ProtoMessage() {} -func (*StopTransactionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_2cc4e03d2c28c490, []int{2} +func (x *StopTransactionRequest) Reset() { + *x = StopTransactionRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_transaction_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *StopTransactionRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StopTransactionRequest.Unmarshal(m, b) -} -func (m *StopTransactionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StopTransactionRequest.Marshal(b, m, deterministic) -} -func (m *StopTransactionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_StopTransactionRequest.Merge(m, src) -} -func (m *StopTransactionRequest) XXX_Size() int { - return xxx_messageInfo_StopTransactionRequest.Size(m) +func (x *StopTransactionRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *StopTransactionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_StopTransactionRequest.DiscardUnknown(m) + +func (*StopTransactionRequest) ProtoMessage() {} + +func (x *StopTransactionRequest) ProtoReflect() protoreflect.Message { + mi := &file_transaction_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_StopTransactionRequest proto.InternalMessageInfo +// Deprecated: Use StopTransactionRequest.ProtoReflect.Descriptor instead. +func (*StopTransactionRequest) Descriptor() ([]byte, []int) { + return file_transaction_proto_rawDescGZIP(), []int{2} +} -func (m *StopTransactionRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *StopTransactionRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *StopTransactionRequest) GetTransactionId() uint64 { - if m != nil { - return m.TransactionId +func (x *StopTransactionRequest) GetTransactionId() uint64 { + if x != nil { + return x.TransactionId } return 0 } type StopTransactionResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *StopTransactionResponse) Reset() { + *x = StopTransactionResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_transaction_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *StopTransactionResponse) Reset() { *m = StopTransactionResponse{} } -func (m *StopTransactionResponse) String() string { return proto.CompactTextString(m) } -func (*StopTransactionResponse) ProtoMessage() {} +func (x *StopTransactionResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StopTransactionResponse) ProtoMessage() {} + +func (x *StopTransactionResponse) ProtoReflect() protoreflect.Message { + mi := &file_transaction_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) +} + +// Deprecated: Use StopTransactionResponse.ProtoReflect.Descriptor instead. func (*StopTransactionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_2cc4e03d2c28c490, []int{3} -} - -func (m *StopTransactionResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StopTransactionResponse.Unmarshal(m, b) -} -func (m *StopTransactionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StopTransactionResponse.Marshal(b, m, deterministic) -} -func (m *StopTransactionResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_StopTransactionResponse.Merge(m, src) -} -func (m *StopTransactionResponse) XXX_Size() int { - return xxx_messageInfo_StopTransactionResponse.Size(m) -} -func (m *StopTransactionResponse) XXX_DiscardUnknown() { - xxx_messageInfo_StopTransactionResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_StopTransactionResponse proto.InternalMessageInfo - -func init() { - proto.RegisterEnum("gitaly.VoteTransactionResponse_TransactionState", VoteTransactionResponse_TransactionState_name, VoteTransactionResponse_TransactionState_value) - proto.RegisterType((*VoteTransactionRequest)(nil), "gitaly.VoteTransactionRequest") - proto.RegisterType((*VoteTransactionResponse)(nil), "gitaly.VoteTransactionResponse") - proto.RegisterType((*StopTransactionRequest)(nil), "gitaly.StopTransactionRequest") - proto.RegisterType((*StopTransactionResponse)(nil), "gitaly.StopTransactionResponse") -} - -func init() { proto.RegisterFile("transaction.proto", fileDescriptor_2cc4e03d2c28c490) } - -var fileDescriptor_2cc4e03d2c28c490 = []byte{ - // 385 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x52, 0xc1, 0x6e, 0xda, 0x40, - 0x14, 0xec, 0x52, 0x63, 0xc1, 0x2b, 0xa5, 0xee, 0xaa, 0x02, 0x97, 0x43, 0x6b, 0x59, 0xaa, 0xe4, - 0x43, 0x6b, 0x23, 0xe8, 0xa1, 0xd7, 0x52, 0xa9, 0x2a, 0x07, 0x44, 0xb5, 0x38, 0x39, 0x70, 0x41, - 0x0b, 0x5e, 0xb0, 0x25, 0xe2, 0x75, 0x76, 0x97, 0x03, 0x3f, 0x92, 0xe4, 0x7f, 0x22, 0x45, 0xf9, - 0xa6, 0x9c, 0x22, 0xbc, 0x01, 0x2c, 0x08, 0xca, 0x31, 0xb7, 0x7d, 0x33, 0x6f, 0xc6, 0x6f, 0x46, - 0x86, 0x8f, 0x4a, 0xd0, 0x54, 0xd2, 0x99, 0x4a, 0x78, 0xea, 0x67, 0x82, 0x2b, 0x8e, 0xcd, 0x45, - 0xa2, 0xe8, 0x72, 0xdd, 0x82, 0x65, 0x92, 0x2a, 0x8d, 0xb5, 0x6a, 0x32, 0xa6, 0x82, 0x45, 0x7a, - 0x72, 0x6f, 0x11, 0x34, 0xce, 0xb9, 0x62, 0xe1, 0x5e, 0x4b, 0xd8, 0xe5, 0x8a, 0x49, 0x85, 0x7f, - 0x01, 0x08, 0x96, 0x71, 0x99, 0x28, 0x2e, 0xd6, 0x36, 0x72, 0x90, 0xf7, 0xae, 0x83, 0x7d, 0xed, - 0xe8, 0x93, 0x1d, 0xd3, 0x33, 0x6e, 0xee, 0xbe, 0x23, 0x52, 0xd8, 0xc5, 0xdf, 0xa0, 0x5e, 0xb8, - 0x65, 0x92, 0x44, 0x76, 0xc9, 0x41, 0x9e, 0x41, 0xde, 0x17, 0xd0, 0x7e, 0x84, 0x31, 0x18, 0x29, - 0x8f, 0x98, 0xfd, 0xd6, 0x41, 0x5e, 0x95, 0xe4, 0x6f, 0xfc, 0x13, 0x1a, 0x82, 0xcd, 0x99, 0x60, - 0xe9, 0x8c, 0x4d, 0x56, 0x59, 0x44, 0x15, 0x93, 0x93, 0x98, 0xca, 0xd8, 0x36, 0x1c, 0xe4, 0xd5, - 0xc8, 0xa7, 0x1d, 0x7b, 0xa6, 0xc9, 0x7f, 0x54, 0xc6, 0xee, 0x15, 0x82, 0xe6, 0x51, 0x0a, 0x99, - 0xf1, 0x54, 0x32, 0xfc, 0x17, 0xca, 0x52, 0x51, 0xc5, 0xf2, 0x04, 0xf5, 0x4e, 0x7b, 0x9b, 0xe0, - 0xc4, 0xbe, 0x5f, 0xc0, 0x46, 0x1b, 0x1d, 0xd1, 0x72, 0xb7, 0x0b, 0xd6, 0x21, 0x85, 0x01, 0xcc, - 0x3f, 0xc3, 0xc1, 0xa0, 0x1f, 0x5a, 0x6f, 0x70, 0x15, 0xca, 0xbf, 0x7b, 0x43, 0x12, 0x5a, 0x08, - 0x57, 0xc0, 0x18, 0x85, 0xc3, 0xff, 0x56, 0xc9, 0x5d, 0x43, 0x63, 0xa4, 0x78, 0xf6, 0x0a, 0xed, - 0xba, 0x9f, 0xa1, 0x79, 0xf4, 0x69, 0x1d, 0xb1, 0x73, 0x8f, 0xa0, 0x4e, 0xd8, 0xbc, 0x40, 0xe1, - 0x31, 0x7c, 0x38, 0x28, 0x04, 0x7f, 0x39, 0xd9, 0x54, 0x9e, 0xa0, 0xf5, 0xf5, 0x85, 0x26, 0x5d, - 0xf3, 0xe1, 0xda, 0x2b, 0x55, 0xd0, 0xc6, 0xfb, 0xe0, 0x92, 0xbd, 0xf7, 0xf3, 0xed, 0xec, 0xbd, - 0x4f, 0x44, 0xd8, 0x7a, 0xf7, 0xda, 0xe3, 0xcd, 0xe6, 0x92, 0x4e, 0xfd, 0x19, 0xbf, 0x08, 0xf4, - 0xf3, 0x07, 0x17, 0x8b, 0x40, 0xeb, 0x83, 0xfc, 0x2f, 0x0f, 0x16, 0xfc, 0x69, 0xce, 0xa6, 0x53, - 0x33, 0x87, 0xba, 0x8f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x5f, 0x19, 0xe6, 0x7d, 0x2f, 0x03, 0x00, - 0x00, + return file_transaction_proto_rawDescGZIP(), []int{3} +} + +var File_transaction_proto protoreflect.FileDescriptor + +var file_transaction_proto_rawDesc = []byte{ + 0x0a, 0x11, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 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, 0xc3, 0x01, 0x0a, 0x16, 0x56, 0x6f, 0x74, 0x65, 0x54, 0x72, + 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 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, 0x25, 0x0a, 0x0e, 0x74, 0x72, + 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x04, 0x52, 0x0d, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, + 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x12, 0x34, 0x0a, 0x16, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, + 0x63, 0x65, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x73, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x14, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x73, 0x48, 0x61, 0x73, 0x68, 0x22, 0x96, 0x01, 0x0a, 0x17, + 0x56, 0x6f, 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x46, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x30, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x56, 0x6f, 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, + 0x33, 0x0a, 0x10, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x4f, 0x4d, 0x4d, 0x49, 0x54, 0x10, 0x00, 0x12, + 0x09, 0x0a, 0x05, 0x41, 0x42, 0x4f, 0x52, 0x54, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x53, 0x54, + 0x4f, 0x50, 0x10, 0x02, 0x22, 0x79, 0x0a, 0x16, 0x53, 0x74, 0x6f, 0x70, 0x54, 0x72, 0x61, 0x6e, + 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 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, 0x25, 0x0a, 0x0e, 0x74, 0x72, 0x61, 0x6e, + 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, + 0x52, 0x0d, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, + 0x19, 0x0a, 0x17, 0x53, 0x74, 0x6f, 0x70, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xc8, 0x01, 0x0a, 0x0e, 0x52, + 0x65, 0x66, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x5a, 0x0a, + 0x0f, 0x56, 0x6f, 0x74, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x12, 0x1e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x56, 0x6f, 0x74, 0x65, 0x54, 0x72, + 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x1f, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x56, 0x6f, 0x74, 0x65, 0x54, 0x72, + 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x5a, 0x0a, 0x0f, 0x53, 0x74, 0x6f, + 0x70, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, + 0x97, 0x28, 0x02, 0x08, 0x01, 0x42, 0x30, 0x5a, 0x2e, 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, 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_transaction_proto_rawDescOnce sync.Once + file_transaction_proto_rawDescData = file_transaction_proto_rawDesc +) + +func file_transaction_proto_rawDescGZIP() []byte { + file_transaction_proto_rawDescOnce.Do(func() { + file_transaction_proto_rawDescData = protoimpl.X.CompressGZIP(file_transaction_proto_rawDescData) + }) + return file_transaction_proto_rawDescData +} + +var file_transaction_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_transaction_proto_msgTypes = make([]protoimpl.MessageInfo, 4) +var file_transaction_proto_goTypes = []interface{}{ + (VoteTransactionResponse_TransactionState)(0), // 0: gitaly.VoteTransactionResponse.TransactionState + (*VoteTransactionRequest)(nil), // 1: gitaly.VoteTransactionRequest + (*VoteTransactionResponse)(nil), // 2: gitaly.VoteTransactionResponse + (*StopTransactionRequest)(nil), // 3: gitaly.StopTransactionRequest + (*StopTransactionResponse)(nil), // 4: gitaly.StopTransactionResponse + (*Repository)(nil), // 5: gitaly.Repository +} +var file_transaction_proto_depIdxs = []int32{ + 5, // 0: gitaly.VoteTransactionRequest.repository:type_name -> gitaly.Repository + 0, // 1: gitaly.VoteTransactionResponse.state:type_name -> gitaly.VoteTransactionResponse.TransactionState + 5, // 2: gitaly.StopTransactionRequest.repository:type_name -> gitaly.Repository + 1, // 3: gitaly.RefTransaction.VoteTransaction:input_type -> gitaly.VoteTransactionRequest + 3, // 4: gitaly.RefTransaction.StopTransaction:input_type -> gitaly.StopTransactionRequest + 2, // 5: gitaly.RefTransaction.VoteTransaction:output_type -> gitaly.VoteTransactionResponse + 4, // 6: gitaly.RefTransaction.StopTransaction:output_type -> gitaly.StopTransactionResponse + 5, // [5:7] is the sub-list for method output_type + 3, // [3:5] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_transaction_proto_init() } +func file_transaction_proto_init() { + if File_transaction_proto != nil { + return + } + file_lint_proto_init() + file_shared_proto_init() + if !protoimpl.UnsafeEnabled { + file_transaction_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VoteTransactionRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_transaction_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VoteTransactionResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_transaction_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StopTransactionRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_transaction_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StopTransactionResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_transaction_proto_rawDesc, + NumEnums: 1, + NumMessages: 4, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_transaction_proto_goTypes, + DependencyIndexes: file_transaction_proto_depIdxs, + EnumInfos: file_transaction_proto_enumTypes, + MessageInfos: file_transaction_proto_msgTypes, + }.Build() + File_transaction_proto = out.File + file_transaction_proto_rawDesc = nil + file_transaction_proto_goTypes = nil + file_transaction_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConn +var _ grpc.ClientConnInterface // 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 +const _ = grpc.SupportPackageIsVersion6 // RefTransactionClient is the client API for RefTransaction service. // @@ -294,10 +483,10 @@ type RefTransactionClient interface { } type refTransactionClient struct { - cc *grpc.ClientConn + cc grpc.ClientConnInterface } -func NewRefTransactionClient(cc *grpc.ClientConn) RefTransactionClient { +func NewRefTransactionClient(cc grpc.ClientConnInterface) RefTransactionClient { return &refTransactionClient{cc} } @@ -329,10 +518,10 @@ type RefTransactionServer interface { type UnimplementedRefTransactionServer struct { } -func (*UnimplementedRefTransactionServer) VoteTransaction(ctx context.Context, req *VoteTransactionRequest) (*VoteTransactionResponse, error) { +func (*UnimplementedRefTransactionServer) VoteTransaction(context.Context, *VoteTransactionRequest) (*VoteTransactionResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method VoteTransaction not implemented") } -func (*UnimplementedRefTransactionServer) StopTransaction(ctx context.Context, req *StopTransactionRequest) (*StopTransactionResponse, error) { +func (*UnimplementedRefTransactionServer) StopTransaction(context.Context, *StopTransactionRequest) (*StopTransactionResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method StopTransaction not implemented") } diff --git a/proto/go/gitalypb/wiki.pb.go b/proto/go/gitalypb/wiki.pb.go index fa62071b4..b0af8f32d 100644 --- a/proto/go/gitalypb/wiki.pb.go +++ b/proto/go/gitalypb/wiki.pb.go @@ -1,28 +1,33 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc v3.12.4 // source: wiki.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 +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) +) -// 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 +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 type WikiGetAllPagesRequest_SortBy int32 @@ -31,22 +36,43 @@ const ( WikiGetAllPagesRequest_CREATED_AT WikiGetAllPagesRequest_SortBy = 1 ) -var WikiGetAllPagesRequest_SortBy_name = map[int32]string{ - 0: "TITLE", - 1: "CREATED_AT", -} +// Enum value maps for WikiGetAllPagesRequest_SortBy. +var ( + WikiGetAllPagesRequest_SortBy_name = map[int32]string{ + 0: "TITLE", + 1: "CREATED_AT", + } + WikiGetAllPagesRequest_SortBy_value = map[string]int32{ + "TITLE": 0, + "CREATED_AT": 1, + } +) -var WikiGetAllPagesRequest_SortBy_value = map[string]int32{ - "TITLE": 0, - "CREATED_AT": 1, +func (x WikiGetAllPagesRequest_SortBy) Enum() *WikiGetAllPagesRequest_SortBy { + p := new(WikiGetAllPagesRequest_SortBy) + *p = x + return p } func (x WikiGetAllPagesRequest_SortBy) String() string { - return proto.EnumName(WikiGetAllPagesRequest_SortBy_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (WikiGetAllPagesRequest_SortBy) Descriptor() protoreflect.EnumDescriptor { + return file_wiki_proto_enumTypes[0].Descriptor() } +func (WikiGetAllPagesRequest_SortBy) Type() protoreflect.EnumType { + return &file_wiki_proto_enumTypes[0] +} + +func (x WikiGetAllPagesRequest_SortBy) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use WikiGetAllPagesRequest_SortBy.Descriptor instead. func (WikiGetAllPagesRequest_SortBy) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_5c56f90469cec0af, []int{11, 0} + return file_wiki_proto_rawDescGZIP(), []int{11, 0} } type WikiListPagesRequest_SortBy int32 @@ -56,143 +82,184 @@ const ( WikiListPagesRequest_CREATED_AT WikiListPagesRequest_SortBy = 1 ) -var WikiListPagesRequest_SortBy_name = map[int32]string{ - 0: "TITLE", - 1: "CREATED_AT", -} +// Enum value maps for WikiListPagesRequest_SortBy. +var ( + WikiListPagesRequest_SortBy_name = map[int32]string{ + 0: "TITLE", + 1: "CREATED_AT", + } + WikiListPagesRequest_SortBy_value = map[string]int32{ + "TITLE": 0, + "CREATED_AT": 1, + } +) -var WikiListPagesRequest_SortBy_value = map[string]int32{ - "TITLE": 0, - "CREATED_AT": 1, +func (x WikiListPagesRequest_SortBy) Enum() *WikiListPagesRequest_SortBy { + p := new(WikiListPagesRequest_SortBy) + *p = x + return p } func (x WikiListPagesRequest_SortBy) String() string { - return proto.EnumName(WikiListPagesRequest_SortBy_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } -func (WikiListPagesRequest_SortBy) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_5c56f90469cec0af, []int{13, 0} +func (WikiListPagesRequest_SortBy) Descriptor() protoreflect.EnumDescriptor { + return file_wiki_proto_enumTypes[1].Descriptor() } -type WikiCommitDetails struct { - Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Email []byte `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` - Message []byte `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` - UserId int32 `protobuf:"varint,4,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` - UserName []byte `protobuf:"bytes,5,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *WikiCommitDetails) Reset() { *m = WikiCommitDetails{} } -func (m *WikiCommitDetails) String() string { return proto.CompactTextString(m) } -func (*WikiCommitDetails) ProtoMessage() {} -func (*WikiCommitDetails) Descriptor() ([]byte, []int) { - return fileDescriptor_5c56f90469cec0af, []int{0} +func (WikiListPagesRequest_SortBy) Type() protoreflect.EnumType { + return &file_wiki_proto_enumTypes[1] } -func (m *WikiCommitDetails) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WikiCommitDetails.Unmarshal(m, b) +func (x WikiListPagesRequest_SortBy) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } -func (m *WikiCommitDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WikiCommitDetails.Marshal(b, m, deterministic) + +// Deprecated: Use WikiListPagesRequest_SortBy.Descriptor instead. +func (WikiListPagesRequest_SortBy) EnumDescriptor() ([]byte, []int) { + return file_wiki_proto_rawDescGZIP(), []int{13, 0} } -func (m *WikiCommitDetails) XXX_Merge(src proto.Message) { - xxx_messageInfo_WikiCommitDetails.Merge(m, src) + +type WikiCommitDetails struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name []byte `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Email []byte `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` + Message []byte `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` + UserId int32 `protobuf:"varint,4,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` + UserName []byte `protobuf:"bytes,5,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"` +} + +func (x *WikiCommitDetails) Reset() { + *x = WikiCommitDetails{} + if protoimpl.UnsafeEnabled { + mi := &file_wiki_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *WikiCommitDetails) XXX_Size() int { - return xxx_messageInfo_WikiCommitDetails.Size(m) + +func (x *WikiCommitDetails) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *WikiCommitDetails) XXX_DiscardUnknown() { - xxx_messageInfo_WikiCommitDetails.DiscardUnknown(m) + +func (*WikiCommitDetails) ProtoMessage() {} + +func (x *WikiCommitDetails) ProtoReflect() protoreflect.Message { + mi := &file_wiki_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_WikiCommitDetails proto.InternalMessageInfo +// Deprecated: Use WikiCommitDetails.ProtoReflect.Descriptor instead. +func (*WikiCommitDetails) Descriptor() ([]byte, []int) { + return file_wiki_proto_rawDescGZIP(), []int{0} +} -func (m *WikiCommitDetails) GetName() []byte { - if m != nil { - return m.Name +func (x *WikiCommitDetails) GetName() []byte { + if x != nil { + return x.Name } return nil } -func (m *WikiCommitDetails) GetEmail() []byte { - if m != nil { - return m.Email +func (x *WikiCommitDetails) GetEmail() []byte { + if x != nil { + return x.Email } return nil } -func (m *WikiCommitDetails) GetMessage() []byte { - if m != nil { - return m.Message +func (x *WikiCommitDetails) GetMessage() []byte { + if x != nil { + return x.Message } return nil } -func (m *WikiCommitDetails) GetUserId() int32 { - if m != nil { - return m.UserId +func (x *WikiCommitDetails) GetUserId() int32 { + if x != nil { + return x.UserId } return 0 } -func (m *WikiCommitDetails) GetUserName() []byte { - if m != nil { - return m.UserName +func (x *WikiCommitDetails) GetUserName() []byte { + if x != nil { + return x.UserName } return nil } type WikiPageVersion struct { - Commit *GitCommit `protobuf:"bytes,1,opt,name=commit,proto3" json:"commit,omitempty"` - Format string `protobuf:"bytes,2,opt,name=format,proto3" json:"format,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *WikiPageVersion) Reset() { *m = WikiPageVersion{} } -func (m *WikiPageVersion) String() string { return proto.CompactTextString(m) } -func (*WikiPageVersion) ProtoMessage() {} -func (*WikiPageVersion) Descriptor() ([]byte, []int) { - return fileDescriptor_5c56f90469cec0af, []int{1} + Commit *GitCommit `protobuf:"bytes,1,opt,name=commit,proto3" json:"commit,omitempty"` + Format string `protobuf:"bytes,2,opt,name=format,proto3" json:"format,omitempty"` } -func (m *WikiPageVersion) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WikiPageVersion.Unmarshal(m, b) -} -func (m *WikiPageVersion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WikiPageVersion.Marshal(b, m, deterministic) -} -func (m *WikiPageVersion) XXX_Merge(src proto.Message) { - xxx_messageInfo_WikiPageVersion.Merge(m, src) +func (x *WikiPageVersion) Reset() { + *x = WikiPageVersion{} + if protoimpl.UnsafeEnabled { + mi := &file_wiki_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *WikiPageVersion) XXX_Size() int { - return xxx_messageInfo_WikiPageVersion.Size(m) + +func (x *WikiPageVersion) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *WikiPageVersion) XXX_DiscardUnknown() { - xxx_messageInfo_WikiPageVersion.DiscardUnknown(m) + +func (*WikiPageVersion) ProtoMessage() {} + +func (x *WikiPageVersion) ProtoReflect() protoreflect.Message { + mi := &file_wiki_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) } -var xxx_messageInfo_WikiPageVersion proto.InternalMessageInfo +// Deprecated: Use WikiPageVersion.ProtoReflect.Descriptor instead. +func (*WikiPageVersion) Descriptor() ([]byte, []int) { + return file_wiki_proto_rawDescGZIP(), []int{1} +} -func (m *WikiPageVersion) GetCommit() *GitCommit { - if m != nil { - return m.Commit +func (x *WikiPageVersion) GetCommit() *GitCommit { + if x != nil { + return x.Commit } return nil } -func (m *WikiPageVersion) GetFormat() string { - if m != nil { - return m.Format +func (x *WikiPageVersion) GetFormat() string { + if x != nil { + return x.Format } return "" } type WikiPage struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // These fields are only present in the first message of a WikiPage stream Version *WikiPageVersion `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` Format string `protobuf:"bytes,2,opt,name=format,proto3" json:"format,omitempty"` @@ -202,207 +269,231 @@ type WikiPage struct { Name []byte `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` Historical bool `protobuf:"varint,7,opt,name=historical,proto3" json:"historical,omitempty"` // This field is present in all messages of a WikiPage stream - RawData []byte `protobuf:"bytes,8,opt,name=raw_data,json=rawData,proto3" json:"raw_data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + RawData []byte `protobuf:"bytes,8,opt,name=raw_data,json=rawData,proto3" json:"raw_data,omitempty"` } -func (m *WikiPage) Reset() { *m = WikiPage{} } -func (m *WikiPage) String() string { return proto.CompactTextString(m) } -func (*WikiPage) ProtoMessage() {} -func (*WikiPage) Descriptor() ([]byte, []int) { - return fileDescriptor_5c56f90469cec0af, []int{2} +func (x *WikiPage) Reset() { + *x = WikiPage{} + if protoimpl.UnsafeEnabled { + mi := &file_wiki_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *WikiPage) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WikiPage.Unmarshal(m, b) +func (x *WikiPage) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *WikiPage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WikiPage.Marshal(b, m, deterministic) -} -func (m *WikiPage) XXX_Merge(src proto.Message) { - xxx_messageInfo_WikiPage.Merge(m, src) -} -func (m *WikiPage) XXX_Size() int { - return xxx_messageInfo_WikiPage.Size(m) -} -func (m *WikiPage) XXX_DiscardUnknown() { - xxx_messageInfo_WikiPage.DiscardUnknown(m) + +func (*WikiPage) ProtoMessage() {} + +func (x *WikiPage) ProtoReflect() protoreflect.Message { + mi := &file_wiki_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_WikiPage proto.InternalMessageInfo +// Deprecated: Use WikiPage.ProtoReflect.Descriptor instead. +func (*WikiPage) Descriptor() ([]byte, []int) { + return file_wiki_proto_rawDescGZIP(), []int{2} +} -func (m *WikiPage) GetVersion() *WikiPageVersion { - if m != nil { - return m.Version +func (x *WikiPage) GetVersion() *WikiPageVersion { + if x != nil { + return x.Version } return nil } -func (m *WikiPage) GetFormat() string { - if m != nil { - return m.Format +func (x *WikiPage) GetFormat() string { + if x != nil { + return x.Format } return "" } -func (m *WikiPage) GetTitle() []byte { - if m != nil { - return m.Title +func (x *WikiPage) GetTitle() []byte { + if x != nil { + return x.Title } return nil } -func (m *WikiPage) GetUrlPath() string { - if m != nil { - return m.UrlPath +func (x *WikiPage) GetUrlPath() string { + if x != nil { + return x.UrlPath } return "" } -func (m *WikiPage) GetPath() []byte { - if m != nil { - return m.Path +func (x *WikiPage) GetPath() []byte { + if x != nil { + return x.Path } return nil } -func (m *WikiPage) GetName() []byte { - if m != nil { - return m.Name +func (x *WikiPage) GetName() []byte { + if x != nil { + return x.Name } return nil } -func (m *WikiPage) GetHistorical() bool { - if m != nil { - return m.Historical +func (x *WikiPage) GetHistorical() bool { + if x != nil { + return x.Historical } return false } -func (m *WikiPage) GetRawData() []byte { - if m != nil { - return m.RawData +func (x *WikiPage) GetRawData() []byte { + if x != nil { + return x.RawData } return nil } // This message is sent in a stream because the 'content' field may be large. type WikiWritePageRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // These following fields are only present in the first message. Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` Name []byte `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Format string `protobuf:"bytes,3,opt,name=format,proto3" json:"format,omitempty"` CommitDetails *WikiCommitDetails `protobuf:"bytes,4,opt,name=commit_details,json=commitDetails,proto3" json:"commit_details,omitempty"` // This field is present in all messages. - Content []byte `protobuf:"bytes,5,opt,name=content,proto3" json:"content,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Content []byte `protobuf:"bytes,5,opt,name=content,proto3" json:"content,omitempty"` } -func (m *WikiWritePageRequest) Reset() { *m = WikiWritePageRequest{} } -func (m *WikiWritePageRequest) String() string { return proto.CompactTextString(m) } -func (*WikiWritePageRequest) ProtoMessage() {} -func (*WikiWritePageRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_5c56f90469cec0af, []int{3} +func (x *WikiWritePageRequest) Reset() { + *x = WikiWritePageRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_wiki_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *WikiWritePageRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WikiWritePageRequest.Unmarshal(m, b) -} -func (m *WikiWritePageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WikiWritePageRequest.Marshal(b, m, deterministic) -} -func (m *WikiWritePageRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_WikiWritePageRequest.Merge(m, src) +func (x *WikiWritePageRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *WikiWritePageRequest) XXX_Size() int { - return xxx_messageInfo_WikiWritePageRequest.Size(m) -} -func (m *WikiWritePageRequest) XXX_DiscardUnknown() { - xxx_messageInfo_WikiWritePageRequest.DiscardUnknown(m) + +func (*WikiWritePageRequest) ProtoMessage() {} + +func (x *WikiWritePageRequest) ProtoReflect() protoreflect.Message { + mi := &file_wiki_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_WikiWritePageRequest proto.InternalMessageInfo +// Deprecated: Use WikiWritePageRequest.ProtoReflect.Descriptor instead. +func (*WikiWritePageRequest) Descriptor() ([]byte, []int) { + return file_wiki_proto_rawDescGZIP(), []int{3} +} -func (m *WikiWritePageRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *WikiWritePageRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *WikiWritePageRequest) GetName() []byte { - if m != nil { - return m.Name +func (x *WikiWritePageRequest) GetName() []byte { + if x != nil { + return x.Name } return nil } -func (m *WikiWritePageRequest) GetFormat() string { - if m != nil { - return m.Format +func (x *WikiWritePageRequest) GetFormat() string { + if x != nil { + return x.Format } return "" } -func (m *WikiWritePageRequest) GetCommitDetails() *WikiCommitDetails { - if m != nil { - return m.CommitDetails +func (x *WikiWritePageRequest) GetCommitDetails() *WikiCommitDetails { + if x != nil { + return x.CommitDetails } return nil } -func (m *WikiWritePageRequest) GetContent() []byte { - if m != nil { - return m.Content +func (x *WikiWritePageRequest) GetContent() []byte { + if x != nil { + return x.Content } return nil } type WikiWritePageResponse struct { - DuplicateError []byte `protobuf:"bytes,1,opt,name=duplicate_error,json=duplicateError,proto3" json:"duplicate_error,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *WikiWritePageResponse) Reset() { *m = WikiWritePageResponse{} } -func (m *WikiWritePageResponse) String() string { return proto.CompactTextString(m) } -func (*WikiWritePageResponse) ProtoMessage() {} -func (*WikiWritePageResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_5c56f90469cec0af, []int{4} + DuplicateError []byte `protobuf:"bytes,1,opt,name=duplicate_error,json=duplicateError,proto3" json:"duplicate_error,omitempty"` } -func (m *WikiWritePageResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WikiWritePageResponse.Unmarshal(m, b) -} -func (m *WikiWritePageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WikiWritePageResponse.Marshal(b, m, deterministic) -} -func (m *WikiWritePageResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_WikiWritePageResponse.Merge(m, src) +func (x *WikiWritePageResponse) Reset() { + *x = WikiWritePageResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_wiki_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *WikiWritePageResponse) XXX_Size() int { - return xxx_messageInfo_WikiWritePageResponse.Size(m) + +func (x *WikiWritePageResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *WikiWritePageResponse) XXX_DiscardUnknown() { - xxx_messageInfo_WikiWritePageResponse.DiscardUnknown(m) + +func (*WikiWritePageResponse) ProtoMessage() {} + +func (x *WikiWritePageResponse) ProtoReflect() protoreflect.Message { + mi := &file_wiki_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_WikiWritePageResponse proto.InternalMessageInfo +// Deprecated: Use WikiWritePageResponse.ProtoReflect.Descriptor instead. +func (*WikiWritePageResponse) Descriptor() ([]byte, []int) { + return file_wiki_proto_rawDescGZIP(), []int{4} +} -func (m *WikiWritePageResponse) GetDuplicateError() []byte { - if m != nil { - return m.DuplicateError +func (x *WikiWritePageResponse) GetDuplicateError() []byte { + if x != nil { + return x.DuplicateError } return nil } type WikiUpdatePageRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // There fields are only present in the first message of the stream Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` PagePath []byte `protobuf:"bytes,2,opt,name=page_path,json=pagePath,proto3" json:"page_path,omitempty"` @@ -410,263 +501,298 @@ type WikiUpdatePageRequest struct { Format string `protobuf:"bytes,4,opt,name=format,proto3" json:"format,omitempty"` CommitDetails *WikiCommitDetails `protobuf:"bytes,5,opt,name=commit_details,json=commitDetails,proto3" json:"commit_details,omitempty"` // This field is present in all messages - Content []byte `protobuf:"bytes,6,opt,name=content,proto3" json:"content,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Content []byte `protobuf:"bytes,6,opt,name=content,proto3" json:"content,omitempty"` } -func (m *WikiUpdatePageRequest) Reset() { *m = WikiUpdatePageRequest{} } -func (m *WikiUpdatePageRequest) String() string { return proto.CompactTextString(m) } -func (*WikiUpdatePageRequest) ProtoMessage() {} -func (*WikiUpdatePageRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_5c56f90469cec0af, []int{5} +func (x *WikiUpdatePageRequest) Reset() { + *x = WikiUpdatePageRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_wiki_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *WikiUpdatePageRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WikiUpdatePageRequest.Unmarshal(m, b) -} -func (m *WikiUpdatePageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WikiUpdatePageRequest.Marshal(b, m, deterministic) +func (x *WikiUpdatePageRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *WikiUpdatePageRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_WikiUpdatePageRequest.Merge(m, src) -} -func (m *WikiUpdatePageRequest) XXX_Size() int { - return xxx_messageInfo_WikiUpdatePageRequest.Size(m) -} -func (m *WikiUpdatePageRequest) XXX_DiscardUnknown() { - xxx_messageInfo_WikiUpdatePageRequest.DiscardUnknown(m) + +func (*WikiUpdatePageRequest) ProtoMessage() {} + +func (x *WikiUpdatePageRequest) ProtoReflect() protoreflect.Message { + mi := &file_wiki_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_WikiUpdatePageRequest proto.InternalMessageInfo +// Deprecated: Use WikiUpdatePageRequest.ProtoReflect.Descriptor instead. +func (*WikiUpdatePageRequest) Descriptor() ([]byte, []int) { + return file_wiki_proto_rawDescGZIP(), []int{5} +} -func (m *WikiUpdatePageRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *WikiUpdatePageRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *WikiUpdatePageRequest) GetPagePath() []byte { - if m != nil { - return m.PagePath +func (x *WikiUpdatePageRequest) GetPagePath() []byte { + if x != nil { + return x.PagePath } return nil } -func (m *WikiUpdatePageRequest) GetTitle() []byte { - if m != nil { - return m.Title +func (x *WikiUpdatePageRequest) GetTitle() []byte { + if x != nil { + return x.Title } return nil } -func (m *WikiUpdatePageRequest) GetFormat() string { - if m != nil { - return m.Format +func (x *WikiUpdatePageRequest) GetFormat() string { + if x != nil { + return x.Format } return "" } -func (m *WikiUpdatePageRequest) GetCommitDetails() *WikiCommitDetails { - if m != nil { - return m.CommitDetails +func (x *WikiUpdatePageRequest) GetCommitDetails() *WikiCommitDetails { + if x != nil { + return x.CommitDetails } return nil } -func (m *WikiUpdatePageRequest) GetContent() []byte { - if m != nil { - return m.Content +func (x *WikiUpdatePageRequest) GetContent() []byte { + if x != nil { + return x.Content } return nil } type WikiUpdatePageResponse struct { - Error []byte `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *WikiUpdatePageResponse) Reset() { *m = WikiUpdatePageResponse{} } -func (m *WikiUpdatePageResponse) String() string { return proto.CompactTextString(m) } -func (*WikiUpdatePageResponse) ProtoMessage() {} -func (*WikiUpdatePageResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_5c56f90469cec0af, []int{6} + Error []byte `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` } -func (m *WikiUpdatePageResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WikiUpdatePageResponse.Unmarshal(m, b) -} -func (m *WikiUpdatePageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WikiUpdatePageResponse.Marshal(b, m, deterministic) -} -func (m *WikiUpdatePageResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_WikiUpdatePageResponse.Merge(m, src) +func (x *WikiUpdatePageResponse) Reset() { + *x = WikiUpdatePageResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_wiki_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *WikiUpdatePageResponse) XXX_Size() int { - return xxx_messageInfo_WikiUpdatePageResponse.Size(m) + +func (x *WikiUpdatePageResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *WikiUpdatePageResponse) XXX_DiscardUnknown() { - xxx_messageInfo_WikiUpdatePageResponse.DiscardUnknown(m) + +func (*WikiUpdatePageResponse) ProtoMessage() {} + +func (x *WikiUpdatePageResponse) ProtoReflect() protoreflect.Message { + mi := &file_wiki_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_WikiUpdatePageResponse proto.InternalMessageInfo +// Deprecated: Use WikiUpdatePageResponse.ProtoReflect.Descriptor instead. +func (*WikiUpdatePageResponse) Descriptor() ([]byte, []int) { + return file_wiki_proto_rawDescGZIP(), []int{6} +} -func (m *WikiUpdatePageResponse) GetError() []byte { - if m != nil { - return m.Error +func (x *WikiUpdatePageResponse) GetError() []byte { + if x != nil { + return x.Error } return nil } type WikiDeletePageRequest struct { - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - PagePath []byte `protobuf:"bytes,2,opt,name=page_path,json=pagePath,proto3" json:"page_path,omitempty"` - CommitDetails *WikiCommitDetails `protobuf:"bytes,3,opt,name=commit_details,json=commitDetails,proto3" json:"commit_details,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *WikiDeletePageRequest) Reset() { *m = WikiDeletePageRequest{} } -func (m *WikiDeletePageRequest) String() string { return proto.CompactTextString(m) } -func (*WikiDeletePageRequest) ProtoMessage() {} -func (*WikiDeletePageRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_5c56f90469cec0af, []int{7} + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + PagePath []byte `protobuf:"bytes,2,opt,name=page_path,json=pagePath,proto3" json:"page_path,omitempty"` + CommitDetails *WikiCommitDetails `protobuf:"bytes,3,opt,name=commit_details,json=commitDetails,proto3" json:"commit_details,omitempty"` } -func (m *WikiDeletePageRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WikiDeletePageRequest.Unmarshal(m, b) -} -func (m *WikiDeletePageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WikiDeletePageRequest.Marshal(b, m, deterministic) -} -func (m *WikiDeletePageRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_WikiDeletePageRequest.Merge(m, src) +func (x *WikiDeletePageRequest) Reset() { + *x = WikiDeletePageRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_wiki_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *WikiDeletePageRequest) XXX_Size() int { - return xxx_messageInfo_WikiDeletePageRequest.Size(m) + +func (x *WikiDeletePageRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *WikiDeletePageRequest) XXX_DiscardUnknown() { - xxx_messageInfo_WikiDeletePageRequest.DiscardUnknown(m) + +func (*WikiDeletePageRequest) ProtoMessage() {} + +func (x *WikiDeletePageRequest) ProtoReflect() protoreflect.Message { + mi := &file_wiki_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) } -var xxx_messageInfo_WikiDeletePageRequest proto.InternalMessageInfo +// Deprecated: Use WikiDeletePageRequest.ProtoReflect.Descriptor instead. +func (*WikiDeletePageRequest) Descriptor() ([]byte, []int) { + return file_wiki_proto_rawDescGZIP(), []int{7} +} -func (m *WikiDeletePageRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *WikiDeletePageRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *WikiDeletePageRequest) GetPagePath() []byte { - if m != nil { - return m.PagePath +func (x *WikiDeletePageRequest) GetPagePath() []byte { + if x != nil { + return x.PagePath } return nil } -func (m *WikiDeletePageRequest) GetCommitDetails() *WikiCommitDetails { - if m != nil { - return m.CommitDetails +func (x *WikiDeletePageRequest) GetCommitDetails() *WikiCommitDetails { + if x != nil { + return x.CommitDetails } return nil } type WikiDeletePageResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *WikiDeletePageResponse) Reset() { *m = WikiDeletePageResponse{} } -func (m *WikiDeletePageResponse) String() string { return proto.CompactTextString(m) } -func (*WikiDeletePageResponse) ProtoMessage() {} -func (*WikiDeletePageResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_5c56f90469cec0af, []int{8} +func (x *WikiDeletePageResponse) Reset() { + *x = WikiDeletePageResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_wiki_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *WikiDeletePageResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WikiDeletePageResponse.Unmarshal(m, b) -} -func (m *WikiDeletePageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WikiDeletePageResponse.Marshal(b, m, deterministic) -} -func (m *WikiDeletePageResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_WikiDeletePageResponse.Merge(m, src) -} -func (m *WikiDeletePageResponse) XXX_Size() int { - return xxx_messageInfo_WikiDeletePageResponse.Size(m) -} -func (m *WikiDeletePageResponse) XXX_DiscardUnknown() { - xxx_messageInfo_WikiDeletePageResponse.DiscardUnknown(m) +func (x *WikiDeletePageResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_WikiDeletePageResponse proto.InternalMessageInfo +func (*WikiDeletePageResponse) ProtoMessage() {} -type WikiFindPageRequest struct { - Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - Title []byte `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` - Revision []byte `protobuf:"bytes,3,opt,name=revision,proto3" json:"revision,omitempty"` - Directory []byte `protobuf:"bytes,4,opt,name=directory,proto3" json:"directory,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *WikiFindPageRequest) Reset() { *m = WikiFindPageRequest{} } -func (m *WikiFindPageRequest) String() string { return proto.CompactTextString(m) } -func (*WikiFindPageRequest) ProtoMessage() {} -func (*WikiFindPageRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_5c56f90469cec0af, []int{9} +func (x *WikiDeletePageResponse) ProtoReflect() protoreflect.Message { + mi := &file_wiki_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) } -func (m *WikiFindPageRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WikiFindPageRequest.Unmarshal(m, b) +// Deprecated: Use WikiDeletePageResponse.ProtoReflect.Descriptor instead. +func (*WikiDeletePageResponse) Descriptor() ([]byte, []int) { + return file_wiki_proto_rawDescGZIP(), []int{8} } -func (m *WikiFindPageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WikiFindPageRequest.Marshal(b, m, deterministic) + +type WikiFindPageRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` + Title []byte `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` + Revision []byte `protobuf:"bytes,3,opt,name=revision,proto3" json:"revision,omitempty"` + Directory []byte `protobuf:"bytes,4,opt,name=directory,proto3" json:"directory,omitempty"` } -func (m *WikiFindPageRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_WikiFindPageRequest.Merge(m, src) + +func (x *WikiFindPageRequest) Reset() { + *x = WikiFindPageRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_wiki_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *WikiFindPageRequest) XXX_Size() int { - return xxx_messageInfo_WikiFindPageRequest.Size(m) + +func (x *WikiFindPageRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *WikiFindPageRequest) XXX_DiscardUnknown() { - xxx_messageInfo_WikiFindPageRequest.DiscardUnknown(m) + +func (*WikiFindPageRequest) ProtoMessage() {} + +func (x *WikiFindPageRequest) ProtoReflect() protoreflect.Message { + mi := &file_wiki_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_WikiFindPageRequest proto.InternalMessageInfo +// Deprecated: Use WikiFindPageRequest.ProtoReflect.Descriptor instead. +func (*WikiFindPageRequest) Descriptor() ([]byte, []int) { + return file_wiki_proto_rawDescGZIP(), []int{9} +} -func (m *WikiFindPageRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *WikiFindPageRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *WikiFindPageRequest) GetTitle() []byte { - if m != nil { - return m.Title +func (x *WikiFindPageRequest) GetTitle() []byte { + if x != nil { + return x.Title } return nil } -func (m *WikiFindPageRequest) GetRevision() []byte { - if m != nil { - return m.Revision +func (x *WikiFindPageRequest) GetRevision() []byte { + if x != nil { + return x.Revision } return nil } -func (m *WikiFindPageRequest) GetDirectory() []byte { - if m != nil { - return m.Directory +func (x *WikiFindPageRequest) GetDirectory() []byte { + if x != nil { + return x.Directory } return nil } @@ -674,361 +800,777 @@ func (m *WikiFindPageRequest) GetDirectory() []byte { // WikiFindPageResponse is a stream because we need multiple WikiPage // messages to send the raw_data field. type WikiFindPageResponse struct { - Page *WikiPage `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *WikiFindPageResponse) Reset() { *m = WikiFindPageResponse{} } -func (m *WikiFindPageResponse) String() string { return proto.CompactTextString(m) } -func (*WikiFindPageResponse) ProtoMessage() {} -func (*WikiFindPageResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_5c56f90469cec0af, []int{10} + Page *WikiPage `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` } -func (m *WikiFindPageResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WikiFindPageResponse.Unmarshal(m, b) -} -func (m *WikiFindPageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WikiFindPageResponse.Marshal(b, m, deterministic) -} -func (m *WikiFindPageResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_WikiFindPageResponse.Merge(m, src) +func (x *WikiFindPageResponse) Reset() { + *x = WikiFindPageResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_wiki_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *WikiFindPageResponse) XXX_Size() int { - return xxx_messageInfo_WikiFindPageResponse.Size(m) + +func (x *WikiFindPageResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *WikiFindPageResponse) XXX_DiscardUnknown() { - xxx_messageInfo_WikiFindPageResponse.DiscardUnknown(m) + +func (*WikiFindPageResponse) ProtoMessage() {} + +func (x *WikiFindPageResponse) ProtoReflect() protoreflect.Message { + mi := &file_wiki_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_WikiFindPageResponse proto.InternalMessageInfo +// Deprecated: Use WikiFindPageResponse.ProtoReflect.Descriptor instead. +func (*WikiFindPageResponse) Descriptor() ([]byte, []int) { + return file_wiki_proto_rawDescGZIP(), []int{10} +} -func (m *WikiFindPageResponse) GetPage() *WikiPage { - if m != nil { - return m.Page +func (x *WikiFindPageResponse) GetPage() *WikiPage { + if x != nil { + return x.Page } return nil } type WikiGetAllPagesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // Passing 0 means no limit is applied - Limit uint32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` - DirectionDesc bool `protobuf:"varint,3,opt,name=direction_desc,json=directionDesc,proto3" json:"direction_desc,omitempty"` - Sort WikiGetAllPagesRequest_SortBy `protobuf:"varint,4,opt,name=sort,proto3,enum=gitaly.WikiGetAllPagesRequest_SortBy" json:"sort,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Limit uint32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` + DirectionDesc bool `protobuf:"varint,3,opt,name=direction_desc,json=directionDesc,proto3" json:"direction_desc,omitempty"` + Sort WikiGetAllPagesRequest_SortBy `protobuf:"varint,4,opt,name=sort,proto3,enum=gitaly.WikiGetAllPagesRequest_SortBy" json:"sort,omitempty"` } -func (m *WikiGetAllPagesRequest) Reset() { *m = WikiGetAllPagesRequest{} } -func (m *WikiGetAllPagesRequest) String() string { return proto.CompactTextString(m) } -func (*WikiGetAllPagesRequest) ProtoMessage() {} -func (*WikiGetAllPagesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_5c56f90469cec0af, []int{11} +func (x *WikiGetAllPagesRequest) Reset() { + *x = WikiGetAllPagesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_wiki_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *WikiGetAllPagesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WikiGetAllPagesRequest.Unmarshal(m, b) -} -func (m *WikiGetAllPagesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WikiGetAllPagesRequest.Marshal(b, m, deterministic) -} -func (m *WikiGetAllPagesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_WikiGetAllPagesRequest.Merge(m, src) -} -func (m *WikiGetAllPagesRequest) XXX_Size() int { - return xxx_messageInfo_WikiGetAllPagesRequest.Size(m) +func (x *WikiGetAllPagesRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *WikiGetAllPagesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_WikiGetAllPagesRequest.DiscardUnknown(m) + +func (*WikiGetAllPagesRequest) ProtoMessage() {} + +func (x *WikiGetAllPagesRequest) ProtoReflect() protoreflect.Message { + mi := &file_wiki_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 mi.MessageOf(x) } -var xxx_messageInfo_WikiGetAllPagesRequest proto.InternalMessageInfo +// Deprecated: Use WikiGetAllPagesRequest.ProtoReflect.Descriptor instead. +func (*WikiGetAllPagesRequest) Descriptor() ([]byte, []int) { + return file_wiki_proto_rawDescGZIP(), []int{11} +} -func (m *WikiGetAllPagesRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *WikiGetAllPagesRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *WikiGetAllPagesRequest) GetLimit() uint32 { - if m != nil { - return m.Limit +func (x *WikiGetAllPagesRequest) GetLimit() uint32 { + if x != nil { + return x.Limit } return 0 } -func (m *WikiGetAllPagesRequest) GetDirectionDesc() bool { - if m != nil { - return m.DirectionDesc +func (x *WikiGetAllPagesRequest) GetDirectionDesc() bool { + if x != nil { + return x.DirectionDesc } return false } -func (m *WikiGetAllPagesRequest) GetSort() WikiGetAllPagesRequest_SortBy { - if m != nil { - return m.Sort +func (x *WikiGetAllPagesRequest) GetSort() WikiGetAllPagesRequest_SortBy { + if x != nil { + return x.Sort } return WikiGetAllPagesRequest_TITLE } // The WikiGetAllPagesResponse stream is a concatenation of WikiPage streams type WikiGetAllPagesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Page *WikiPage `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` // When end_of_page is true it signals a change of page for the next Response message (if any) - EndOfPage bool `protobuf:"varint,2,opt,name=end_of_page,json=endOfPage,proto3" json:"end_of_page,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + EndOfPage bool `protobuf:"varint,2,opt,name=end_of_page,json=endOfPage,proto3" json:"end_of_page,omitempty"` } -func (m *WikiGetAllPagesResponse) Reset() { *m = WikiGetAllPagesResponse{} } -func (m *WikiGetAllPagesResponse) String() string { return proto.CompactTextString(m) } -func (*WikiGetAllPagesResponse) ProtoMessage() {} -func (*WikiGetAllPagesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_5c56f90469cec0af, []int{12} +func (x *WikiGetAllPagesResponse) Reset() { + *x = WikiGetAllPagesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_wiki_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *WikiGetAllPagesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WikiGetAllPagesResponse.Unmarshal(m, b) -} -func (m *WikiGetAllPagesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WikiGetAllPagesResponse.Marshal(b, m, deterministic) +func (x *WikiGetAllPagesResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *WikiGetAllPagesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_WikiGetAllPagesResponse.Merge(m, src) -} -func (m *WikiGetAllPagesResponse) XXX_Size() int { - return xxx_messageInfo_WikiGetAllPagesResponse.Size(m) -} -func (m *WikiGetAllPagesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_WikiGetAllPagesResponse.DiscardUnknown(m) + +func (*WikiGetAllPagesResponse) ProtoMessage() {} + +func (x *WikiGetAllPagesResponse) ProtoReflect() protoreflect.Message { + mi := &file_wiki_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_WikiGetAllPagesResponse proto.InternalMessageInfo +// Deprecated: Use WikiGetAllPagesResponse.ProtoReflect.Descriptor instead. +func (*WikiGetAllPagesResponse) Descriptor() ([]byte, []int) { + return file_wiki_proto_rawDescGZIP(), []int{12} +} -func (m *WikiGetAllPagesResponse) GetPage() *WikiPage { - if m != nil { - return m.Page +func (x *WikiGetAllPagesResponse) GetPage() *WikiPage { + if x != nil { + return x.Page } return nil } -func (m *WikiGetAllPagesResponse) GetEndOfPage() bool { - if m != nil { - return m.EndOfPage +func (x *WikiGetAllPagesResponse) GetEndOfPage() bool { + if x != nil { + return x.EndOfPage } return false } type WikiListPagesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Repository *Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // Passing 0 means no limit is applied - Limit uint32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` - DirectionDesc bool `protobuf:"varint,3,opt,name=direction_desc,json=directionDesc,proto3" json:"direction_desc,omitempty"` - Sort WikiListPagesRequest_SortBy `protobuf:"varint,4,opt,name=sort,proto3,enum=gitaly.WikiListPagesRequest_SortBy" json:"sort,omitempty"` - Offset uint32 `protobuf:"varint,5,opt,name=offset,proto3" json:"offset,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *WikiListPagesRequest) Reset() { *m = WikiListPagesRequest{} } -func (m *WikiListPagesRequest) String() string { return proto.CompactTextString(m) } -func (*WikiListPagesRequest) ProtoMessage() {} -func (*WikiListPagesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_5c56f90469cec0af, []int{13} + Limit uint32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` + DirectionDesc bool `protobuf:"varint,3,opt,name=direction_desc,json=directionDesc,proto3" json:"direction_desc,omitempty"` + Sort WikiListPagesRequest_SortBy `protobuf:"varint,4,opt,name=sort,proto3,enum=gitaly.WikiListPagesRequest_SortBy" json:"sort,omitempty"` + Offset uint32 `protobuf:"varint,5,opt,name=offset,proto3" json:"offset,omitempty"` } -func (m *WikiListPagesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WikiListPagesRequest.Unmarshal(m, b) -} -func (m *WikiListPagesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WikiListPagesRequest.Marshal(b, m, deterministic) -} -func (m *WikiListPagesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_WikiListPagesRequest.Merge(m, src) +func (x *WikiListPagesRequest) Reset() { + *x = WikiListPagesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_wiki_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *WikiListPagesRequest) XXX_Size() int { - return xxx_messageInfo_WikiListPagesRequest.Size(m) + +func (x *WikiListPagesRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *WikiListPagesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_WikiListPagesRequest.DiscardUnknown(m) + +func (*WikiListPagesRequest) ProtoMessage() {} + +func (x *WikiListPagesRequest) ProtoReflect() protoreflect.Message { + mi := &file_wiki_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 mi.MessageOf(x) } -var xxx_messageInfo_WikiListPagesRequest proto.InternalMessageInfo +// Deprecated: Use WikiListPagesRequest.ProtoReflect.Descriptor instead. +func (*WikiListPagesRequest) Descriptor() ([]byte, []int) { + return file_wiki_proto_rawDescGZIP(), []int{13} +} -func (m *WikiListPagesRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *WikiListPagesRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *WikiListPagesRequest) GetLimit() uint32 { - if m != nil { - return m.Limit +func (x *WikiListPagesRequest) GetLimit() uint32 { + if x != nil { + return x.Limit } return 0 } -func (m *WikiListPagesRequest) GetDirectionDesc() bool { - if m != nil { - return m.DirectionDesc +func (x *WikiListPagesRequest) GetDirectionDesc() bool { + if x != nil { + return x.DirectionDesc } return false } -func (m *WikiListPagesRequest) GetSort() WikiListPagesRequest_SortBy { - if m != nil { - return m.Sort +func (x *WikiListPagesRequest) GetSort() WikiListPagesRequest_SortBy { + if x != nil { + return x.Sort } return WikiListPagesRequest_TITLE } -func (m *WikiListPagesRequest) GetOffset() uint32 { - if m != nil { - return m.Offset +func (x *WikiListPagesRequest) GetOffset() uint32 { + if x != nil { + return x.Offset } return 0 } // The WikiListPagesResponse stream is a concatenation of WikiPage streams without content type WikiListPagesResponse struct { - Page *WikiPage `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *WikiListPagesResponse) Reset() { *m = WikiListPagesResponse{} } -func (m *WikiListPagesResponse) String() string { return proto.CompactTextString(m) } -func (*WikiListPagesResponse) ProtoMessage() {} -func (*WikiListPagesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_5c56f90469cec0af, []int{14} + Page *WikiPage `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` } -func (m *WikiListPagesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WikiListPagesResponse.Unmarshal(m, b) -} -func (m *WikiListPagesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WikiListPagesResponse.Marshal(b, m, deterministic) -} -func (m *WikiListPagesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_WikiListPagesResponse.Merge(m, src) +func (x *WikiListPagesResponse) Reset() { + *x = WikiListPagesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_wiki_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *WikiListPagesResponse) XXX_Size() int { - return xxx_messageInfo_WikiListPagesResponse.Size(m) + +func (x *WikiListPagesResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *WikiListPagesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_WikiListPagesResponse.DiscardUnknown(m) + +func (*WikiListPagesResponse) ProtoMessage() {} + +func (x *WikiListPagesResponse) ProtoReflect() protoreflect.Message { + mi := &file_wiki_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 mi.MessageOf(x) } -var xxx_messageInfo_WikiListPagesResponse proto.InternalMessageInfo +// Deprecated: Use WikiListPagesResponse.ProtoReflect.Descriptor instead. +func (*WikiListPagesResponse) Descriptor() ([]byte, []int) { + return file_wiki_proto_rawDescGZIP(), []int{14} +} -func (m *WikiListPagesResponse) GetPage() *WikiPage { - if m != nil { - return m.Page +func (x *WikiListPagesResponse) GetPage() *WikiPage { + if x != nil { + return x.Page } return nil } -func init() { - proto.RegisterEnum("gitaly.WikiGetAllPagesRequest_SortBy", WikiGetAllPagesRequest_SortBy_name, WikiGetAllPagesRequest_SortBy_value) - proto.RegisterEnum("gitaly.WikiListPagesRequest_SortBy", WikiListPagesRequest_SortBy_name, WikiListPagesRequest_SortBy_value) - proto.RegisterType((*WikiCommitDetails)(nil), "gitaly.WikiCommitDetails") - proto.RegisterType((*WikiPageVersion)(nil), "gitaly.WikiPageVersion") - proto.RegisterType((*WikiPage)(nil), "gitaly.WikiPage") - proto.RegisterType((*WikiWritePageRequest)(nil), "gitaly.WikiWritePageRequest") - proto.RegisterType((*WikiWritePageResponse)(nil), "gitaly.WikiWritePageResponse") - proto.RegisterType((*WikiUpdatePageRequest)(nil), "gitaly.WikiUpdatePageRequest") - proto.RegisterType((*WikiUpdatePageResponse)(nil), "gitaly.WikiUpdatePageResponse") - proto.RegisterType((*WikiDeletePageRequest)(nil), "gitaly.WikiDeletePageRequest") - proto.RegisterType((*WikiDeletePageResponse)(nil), "gitaly.WikiDeletePageResponse") - proto.RegisterType((*WikiFindPageRequest)(nil), "gitaly.WikiFindPageRequest") - proto.RegisterType((*WikiFindPageResponse)(nil), "gitaly.WikiFindPageResponse") - proto.RegisterType((*WikiGetAllPagesRequest)(nil), "gitaly.WikiGetAllPagesRequest") - proto.RegisterType((*WikiGetAllPagesResponse)(nil), "gitaly.WikiGetAllPagesResponse") - proto.RegisterType((*WikiListPagesRequest)(nil), "gitaly.WikiListPagesRequest") - proto.RegisterType((*WikiListPagesResponse)(nil), "gitaly.WikiListPagesResponse") -} - -func init() { proto.RegisterFile("wiki.proto", fileDescriptor_5c56f90469cec0af) } - -var fileDescriptor_5c56f90469cec0af = []byte{ - // 941 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x56, 0x4f, 0x6f, 0x1b, 0x45, - 0x14, 0x67, 0x1d, 0x7b, 0xbd, 0x7e, 0x89, 0xdd, 0x74, 0x28, 0xcd, 0xd6, 0x09, 0x21, 0xda, 0x52, - 0x61, 0x24, 0x70, 0x4a, 0x38, 0x00, 0x12, 0x48, 0x4d, 0xea, 0x50, 0x55, 0xaa, 0xa0, 0x9a, 0x98, - 0x46, 0x20, 0xa4, 0xd5, 0x64, 0x77, 0xec, 0x8c, 0xb2, 0xde, 0x31, 0x33, 0xe3, 0x44, 0x39, 0x73, - 0xe6, 0x0c, 0x37, 0x2e, 0x7c, 0x00, 0x3e, 0x05, 0x9f, 0x81, 0xaf, 0xc0, 0x89, 0x2b, 0xe2, 0x84, - 0x66, 0x66, 0x6d, 0xef, 0x7a, 0x63, 0x20, 0x28, 0x42, 0xbd, 0xed, 0x7b, 0x6f, 0xe6, 0x37, 0xef, - 0xf7, 0x7b, 0x7f, 0x6c, 0x80, 0x0b, 0x76, 0xc6, 0xba, 0x63, 0xc1, 0x15, 0x47, 0xee, 0x90, 0x29, - 0x92, 0x5c, 0xb6, 0x21, 0x61, 0xa9, 0xb2, 0xbe, 0xf6, 0x9a, 0x3c, 0x25, 0x82, 0xc6, 0xd6, 0x0a, - 0xbe, 0x73, 0xe0, 0xf6, 0x31, 0x3b, 0x63, 0x8f, 0xf9, 0x68, 0xc4, 0x54, 0x8f, 0x2a, 0xc2, 0x12, - 0x89, 0x10, 0x54, 0x53, 0x32, 0xa2, 0xbe, 0xb3, 0xe3, 0x74, 0xd6, 0xb0, 0xf9, 0x46, 0x77, 0xa0, - 0x46, 0x47, 0x84, 0x25, 0x7e, 0xc5, 0x38, 0xad, 0x81, 0x7c, 0xa8, 0x8f, 0xa8, 0x94, 0x64, 0x48, - 0xfd, 0x15, 0xe3, 0x9f, 0x9a, 0x68, 0x03, 0xea, 0x13, 0x49, 0x45, 0xc8, 0x62, 0xbf, 0xba, 0xe3, - 0x74, 0x6a, 0xd8, 0xd5, 0xe6, 0xd3, 0x18, 0x6d, 0x42, 0xc3, 0x04, 0xcc, 0x0b, 0x35, 0x73, 0xc9, - 0xd3, 0x8e, 0xcf, 0xc8, 0x88, 0x06, 0x7d, 0xb8, 0xa5, 0xd3, 0x79, 0x4e, 0x86, 0xf4, 0x05, 0x15, - 0x92, 0xf1, 0x14, 0xbd, 0x0d, 0x6e, 0x64, 0xb2, 0x33, 0xe9, 0xac, 0xee, 0xdd, 0xee, 0x5a, 0x56, - 0xdd, 0x27, 0x4c, 0xd9, 0xb4, 0x71, 0x76, 0x00, 0xdd, 0x05, 0x77, 0xc0, 0xc5, 0x88, 0x28, 0x93, - 0x64, 0x03, 0x67, 0x56, 0xf0, 0x9b, 0x03, 0xde, 0x14, 0x16, 0xbd, 0x07, 0xf5, 0x73, 0x0b, 0x9d, - 0x01, 0x6e, 0x4c, 0x01, 0x17, 0x5e, 0xc6, 0xd3, 0x73, 0xcb, 0x70, 0xb5, 0x26, 0x8a, 0xa9, 0x64, - 0xca, 0xdd, 0x1a, 0xe8, 0x1e, 0x78, 0x13, 0x91, 0x84, 0x63, 0xa2, 0x4e, 0x0d, 0xf5, 0x06, 0xae, - 0x4f, 0x44, 0xf2, 0x9c, 0xa8, 0x53, 0x2d, 0xac, 0x71, 0x5b, 0xda, 0xe6, 0x7b, 0x26, 0xb6, 0x9b, - 0x13, 0x7b, 0x1b, 0xe0, 0x94, 0x49, 0xc5, 0x05, 0x8b, 0x48, 0xe2, 0xd7, 0x77, 0x9c, 0x8e, 0x87, - 0x73, 0x1e, 0xfd, 0x84, 0x20, 0x17, 0x61, 0x4c, 0x14, 0xf1, 0x3d, 0xab, 0xbb, 0x20, 0x17, 0x3d, - 0xa2, 0x48, 0xf0, 0xab, 0x03, 0x77, 0x34, 0x91, 0x63, 0xc1, 0x14, 0xd5, 0x6c, 0x30, 0xfd, 0x66, - 0x42, 0xa5, 0x42, 0x1f, 0x02, 0x08, 0x3a, 0xe6, 0x92, 0x29, 0x2e, 0x2e, 0x33, 0xea, 0x68, 0x4a, - 0x1d, 0xcf, 0x22, 0x07, 0xd5, 0x1f, 0x7e, 0x79, 0xc7, 0xc1, 0xb9, 0xb3, 0xb3, 0x0c, 0x2b, 0xb9, - 0x0c, 0xe7, 0x92, 0xac, 0x14, 0x24, 0x79, 0x04, 0x2d, 0x5b, 0x8c, 0x30, 0xb6, 0xcd, 0x64, 0x24, - 0x58, 0xdd, 0xbb, 0x97, 0x17, 0xb9, 0xd0, 0x6d, 0xb8, 0x19, 0x15, 0x9a, 0xcf, 0x87, 0x7a, 0xc4, - 0x53, 0x45, 0x53, 0x95, 0xc9, 0x34, 0x35, 0x83, 0x47, 0xf0, 0xda, 0x02, 0x33, 0x39, 0xe6, 0xa9, - 0xa4, 0xe8, 0x2d, 0xb8, 0x15, 0x4f, 0xc6, 0x09, 0x8b, 0x88, 0xa2, 0x21, 0x15, 0x82, 0x8b, 0xac, - 0x75, 0x5b, 0x33, 0xf7, 0xa1, 0xf6, 0x06, 0x7f, 0x38, 0x16, 0xe2, 0x8b, 0x71, 0x4c, 0x6e, 0x4a, - 0x9d, 0x4d, 0x68, 0x8c, 0xc9, 0x90, 0xda, 0x7a, 0x5b, 0x89, 0x3c, 0xed, 0x30, 0x05, 0xbf, 0xba, - 0x43, 0xe6, 0xe2, 0x55, 0xff, 0x41, 0xbc, 0xda, 0x7f, 0x17, 0xcf, 0x2d, 0x8a, 0xd7, 0x85, 0xbb, - 0x8b, 0xcc, 0x33, 0xf5, 0xf4, 0x64, 0xe7, 0x34, 0xb3, 0x46, 0xf0, 0x73, 0x26, 0x55, 0x8f, 0x26, - 0xf4, 0x7f, 0x91, 0xaa, 0x4c, 0x7e, 0xe5, 0x7a, 0xe4, 0x03, 0xdf, 0x52, 0xcc, 0x67, 0x6c, 0x29, - 0x06, 0x3f, 0x3a, 0xf0, 0xaa, 0x0e, 0x7d, 0xca, 0xd2, 0xf8, 0x66, 0xa8, 0xcc, 0x0a, 0x5b, 0xc9, - 0x17, 0xb6, 0x0d, 0x9e, 0xa0, 0xe7, 0xcc, 0x2c, 0x17, 0x5b, 0xf1, 0x99, 0x8d, 0xb6, 0xa0, 0x11, - 0x33, 0x41, 0x23, 0xf3, 0x54, 0xd5, 0x04, 0xe7, 0x8e, 0xe0, 0x63, 0x3b, 0xb5, 0xf3, 0x04, 0xb3, - 0xe2, 0xbc, 0xa9, 0x37, 0xc6, 0x90, 0x66, 0xb9, 0xad, 0x2f, 0xae, 0x2a, 0x6c, 0xa2, 0xc1, 0xef, - 0x8e, 0xa5, 0xfe, 0x84, 0xaa, 0xfd, 0x24, 0xd1, 0x01, 0x79, 0x23, 0x14, 0x13, 0xa6, 0xf7, 0xae, - 0xa6, 0xd8, 0xc4, 0xd6, 0x40, 0x0f, 0xa0, 0x65, 0xb3, 0x66, 0x3c, 0x0d, 0x63, 0x2a, 0x23, 0x43, - 0xd4, 0xc3, 0xcd, 0x99, 0xb7, 0x47, 0x65, 0x84, 0x3e, 0x82, 0xaa, 0xe4, 0xc2, 0x36, 0x78, 0x6b, - 0xef, 0x41, 0x3e, 0xef, 0x72, 0x92, 0xdd, 0x23, 0x2e, 0xd4, 0xc1, 0x25, 0x36, 0x57, 0x82, 0xfb, - 0xe0, 0x5a, 0x1b, 0x35, 0xa0, 0xd6, 0x7f, 0xda, 0x7f, 0x76, 0xb8, 0xfe, 0x0a, 0x6a, 0x01, 0x3c, - 0xc6, 0x87, 0xfb, 0xfd, 0xc3, 0x5e, 0xb8, 0xdf, 0x5f, 0x77, 0x82, 0x10, 0x36, 0x4a, 0x58, 0xd7, - 0x91, 0x0c, 0x6d, 0xc3, 0x2a, 0x4d, 0xe3, 0x90, 0x0f, 0x42, 0x73, 0xb8, 0x62, 0x48, 0x34, 0x68, - 0x1a, 0x7f, 0x3e, 0xd0, 0xa7, 0x82, 0x6f, 0x2b, 0xb6, 0x22, 0xcf, 0x98, 0x54, 0x2f, 0x83, 0xa0, - 0x1f, 0x14, 0x04, 0xbd, 0x9f, 0x67, 0xb5, 0x98, 0x62, 0x41, 0x4e, 0xbd, 0x6c, 0xf8, 0x60, 0x20, - 0xa9, 0x5d, 0xa7, 0x4d, 0x9c, 0x59, 0xff, 0x4e, 0xe6, 0x4f, 0xec, 0x12, 0xc8, 0xbd, 0x70, 0x1d, - 0x91, 0xf7, 0x7e, 0xaa, 0xc2, 0xaa, 0x76, 0x1d, 0x51, 0x71, 0xce, 0x22, 0x8a, 0x5e, 0x40, 0xb3, - 0xb0, 0xc1, 0xd1, 0x56, 0xfe, 0xe2, 0xe2, 0x4f, 0x56, 0xfb, 0xf5, 0x25, 0xd1, 0x6c, 0xaa, 0xdd, - 0x3f, 0xbf, 0xef, 0x54, 0x3c, 0xa7, 0xe3, 0xa0, 0x2f, 0xa1, 0x55, 0x5c, 0x6e, 0xa8, 0x70, 0xb5, - 0xb4, 0xee, 0xdb, 0xdb, 0xcb, 0xc2, 0x25, 0xe8, 0x63, 0x0b, 0x3d, 0x5f, 0x2a, 0x45, 0xe8, 0xd2, - 0x7a, 0x2c, 0x42, 0x5f, 0xb1, 0x8b, 0x32, 0x68, 0x74, 0x04, 0x6b, 0xf9, 0x89, 0x47, 0x9b, 0xf9, - 0x7b, 0x0b, 0x8b, 0xaa, 0xbd, 0x75, 0x75, 0xb0, 0x00, 0x59, 0x79, 0xe8, 0xa0, 0xaf, 0xed, 0xff, - 0xa7, 0xdc, 0x58, 0xa0, 0xed, 0xbf, 0x9f, 0xbd, 0xf6, 0x1b, 0x4b, 0xe3, 0x25, 0xf4, 0xac, 0x7c, - 0xb3, 0x6e, 0x28, 0x96, 0x6f, 0xb1, 0x0d, 0x8b, 0xe5, 0x2b, 0xb5, 0xd0, 0x1c, 0xf7, 0xe0, 0xe1, - 0x57, 0xfa, 0x64, 0x42, 0x4e, 0xba, 0x11, 0x1f, 0xed, 0xda, 0xcf, 0x77, 0xb9, 0x18, 0xee, 0xda, - 0xfb, 0xbb, 0xe6, 0xbf, 0xea, 0xee, 0x90, 0x67, 0xf6, 0xf8, 0xe4, 0xc4, 0x35, 0xae, 0xf7, 0xff, - 0x0a, 0x00, 0x00, 0xff, 0xff, 0x96, 0xc5, 0xef, 0x98, 0xee, 0x0a, 0x00, 0x00, +var File_wiki_proto protoreflect.FileDescriptor + +var file_wiki_proto_rawDesc = []byte{ + 0x0a, 0x0a, 0x77, 0x69, 0x6b, 0x69, 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, 0x8d, + 0x01, 0x0a, 0x11, 0x57, 0x69, 0x6b, 0x69, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x44, 0x65, 0x74, + 0x61, 0x69, 0x6c, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, + 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x18, + 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, + 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, + 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x54, + 0x0a, 0x0f, 0x57, 0x69, 0x6b, 0x69, 0x50, 0x61, 0x67, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, + 0x6e, 0x12, 0x29, 0x0a, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x47, 0x69, 0x74, 0x43, 0x6f, + 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x12, 0x16, 0x0a, 0x06, + 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x6f, + 0x72, 0x6d, 0x61, 0x74, 0x22, 0xe9, 0x01, 0x0a, 0x08, 0x57, 0x69, 0x6b, 0x69, 0x50, 0x61, 0x67, + 0x65, 0x12, 0x31, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x57, 0x69, 0x6b, 0x69, + 0x50, 0x61, 0x67, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x76, 0x65, 0x72, + 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x14, 0x0a, 0x05, + 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x74, 0x69, 0x74, + 0x6c, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x75, 0x72, 0x6c, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x75, 0x72, 0x6c, 0x50, 0x61, 0x74, 0x68, 0x12, 0x12, 0x0a, + 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x70, 0x61, 0x74, + 0x68, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x69, + 0x63, 0x61, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x68, 0x69, 0x73, 0x74, 0x6f, + 0x72, 0x69, 0x63, 0x61, 0x6c, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x61, 0x77, 0x5f, 0x64, 0x61, 0x74, + 0x61, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x72, 0x61, 0x77, 0x44, 0x61, 0x74, 0x61, + 0x22, 0xd8, 0x01, 0x0a, 0x14, 0x57, 0x69, 0x6b, 0x69, 0x57, 0x72, 0x69, 0x74, 0x65, 0x50, 0x61, + 0x67, 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, + 0x0c, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, + 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, + 0x40, 0x0a, 0x0e, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, + 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, + 0x2e, 0x57, 0x69, 0x6b, 0x69, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x44, 0x65, 0x74, 0x61, 0x69, + 0x6c, 0x73, 0x52, 0x0d, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, + 0x73, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x22, 0x40, 0x0a, 0x15, 0x57, + 0x69, 0x6b, 0x69, 0x57, 0x72, 0x69, 0x74, 0x65, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x64, 0x75, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, + 0x65, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0e, 0x64, + 0x75, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x22, 0xf8, 0x01, + 0x0a, 0x15, 0x57, 0x69, 0x6b, 0x69, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x67, 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, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x14, + 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x74, + 0x69, 0x74, 0x6c, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x40, 0x0a, 0x0e, + 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x57, 0x69, + 0x6b, 0x69, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, + 0x0d, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x18, + 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x22, 0x2e, 0x0a, 0x16, 0x57, 0x69, 0x6b, 0x69, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0xb0, 0x01, 0x0a, 0x15, 0x57, 0x69, 0x6b, + 0x69, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x61, 0x67, 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, 0x1b, 0x0a, 0x09, + 0x70, 0x61, 0x67, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x08, 0x70, 0x61, 0x67, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x40, 0x0a, 0x0e, 0x63, 0x6f, 0x6d, + 0x6d, 0x69, 0x74, 0x5f, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x57, 0x69, 0x6b, 0x69, 0x43, + 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x0d, 0x63, 0x6f, + 0x6d, 0x6d, 0x69, 0x74, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x22, 0x18, 0x0a, 0x16, 0x57, + 0x69, 0x6b, 0x69, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x9f, 0x01, 0x0a, 0x13, 0x57, 0x69, 0x6b, 0x69, 0x46, 0x69, + 0x6e, 0x64, 0x50, 0x61, 0x67, 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, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x1a, 0x0a, + 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x69, 0x72, + 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x64, 0x69, + 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x22, 0x3c, 0x0a, 0x14, 0x57, 0x69, 0x6b, 0x69, 0x46, + 0x69, 0x6e, 0x64, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x24, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x57, 0x69, 0x6b, 0x69, 0x50, 0x61, 0x67, 0x65, 0x52, + 0x04, 0x70, 0x61, 0x67, 0x65, 0x22, 0xef, 0x01, 0x0a, 0x16, 0x57, 0x69, 0x6b, 0x69, 0x47, 0x65, + 0x74, 0x41, 0x6c, 0x6c, 0x50, 0x61, 0x67, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, 0x65, + 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x0a, + 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, + 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, + 0x12, 0x25, 0x0a, 0x0e, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x65, + 0x73, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x73, 0x63, 0x12, 0x39, 0x0a, 0x04, 0x73, 0x6f, 0x72, 0x74, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x57, + 0x69, 0x6b, 0x69, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x50, 0x61, 0x67, 0x65, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x53, 0x6f, 0x72, 0x74, 0x42, 0x79, 0x52, 0x04, 0x73, 0x6f, + 0x72, 0x74, 0x22, 0x23, 0x0a, 0x06, 0x53, 0x6f, 0x72, 0x74, 0x42, 0x79, 0x12, 0x09, 0x0a, 0x05, + 0x54, 0x49, 0x54, 0x4c, 0x45, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x43, 0x52, 0x45, 0x41, 0x54, + 0x45, 0x44, 0x5f, 0x41, 0x54, 0x10, 0x01, 0x22, 0x5f, 0x0a, 0x17, 0x57, 0x69, 0x6b, 0x69, 0x47, + 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x50, 0x61, 0x67, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x24, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x10, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x57, 0x69, 0x6b, 0x69, 0x50, 0x61, + 0x67, 0x65, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x1e, 0x0a, 0x0b, 0x65, 0x6e, 0x64, 0x5f, + 0x6f, 0x66, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x65, + 0x6e, 0x64, 0x4f, 0x66, 0x50, 0x61, 0x67, 0x65, 0x22, 0x83, 0x02, 0x0a, 0x14, 0x57, 0x69, 0x6b, + 0x69, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x61, 0x67, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x52, + 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, + 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x6c, + 0x69, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, + 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, + 0x65, 0x73, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x64, 0x69, 0x72, 0x65, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x73, 0x63, 0x12, 0x37, 0x0a, 0x04, 0x73, 0x6f, 0x72, 0x74, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x57, 0x69, 0x6b, 0x69, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x61, 0x67, 0x65, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x2e, 0x53, 0x6f, 0x72, 0x74, 0x42, 0x79, 0x52, 0x04, 0x73, 0x6f, 0x72, + 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x22, 0x23, 0x0a, 0x06, 0x53, 0x6f, 0x72, + 0x74, 0x42, 0x79, 0x12, 0x09, 0x0a, 0x05, 0x54, 0x49, 0x54, 0x4c, 0x45, 0x10, 0x00, 0x12, 0x0e, + 0x0a, 0x0a, 0x43, 0x52, 0x45, 0x41, 0x54, 0x45, 0x44, 0x5f, 0x41, 0x54, 0x10, 0x01, 0x22, 0x3d, + 0x0a, 0x15, 0x57, 0x69, 0x6b, 0x69, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x61, 0x67, 0x65, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x24, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x57, + 0x69, 0x6b, 0x69, 0x50, 0x61, 0x67, 0x65, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x32, 0xa4, 0x04, + 0x0a, 0x0b, 0x57, 0x69, 0x6b, 0x69, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x56, 0x0a, + 0x0d, 0x57, 0x69, 0x6b, 0x69, 0x57, 0x72, 0x69, 0x74, 0x65, 0x50, 0x61, 0x67, 0x65, 0x12, 0x1c, + 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x57, 0x69, 0x6b, 0x69, 0x57, 0x72, 0x69, 0x74, + 0x65, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, + 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x57, 0x69, 0x6b, 0x69, 0x57, 0x72, 0x69, 0x74, 0x65, 0x50, + 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, + 0x02, 0x08, 0x01, 0x28, 0x01, 0x12, 0x59, 0x0a, 0x0e, 0x57, 0x69, 0x6b, 0x69, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x50, 0x61, 0x67, 0x65, 0x12, 0x1d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, + 0x2e, 0x57, 0x69, 0x6b, 0x69, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x67, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x57, 0x69, 0x6b, 0x69, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x28, 0x01, + 0x12, 0x57, 0x0a, 0x0e, 0x57, 0x69, 0x6b, 0x69, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x61, + 0x67, 0x65, 0x12, 0x1d, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x57, 0x69, 0x6b, 0x69, + 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x1e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x57, 0x69, 0x6b, 0x69, 0x44, + 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x53, 0x0a, 0x0c, 0x57, 0x69, 0x6b, + 0x69, 0x46, 0x69, 0x6e, 0x64, 0x50, 0x61, 0x67, 0x65, 0x12, 0x1b, 0x2e, 0x67, 0x69, 0x74, 0x61, + 0x6c, 0x79, 0x2e, 0x57, 0x69, 0x6b, 0x69, 0x46, 0x69, 0x6e, 0x64, 0x50, 0x61, 0x67, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, + 0x57, 0x69, 0x6b, 0x69, 0x46, 0x69, 0x6e, 0x64, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x5c, + 0x0a, 0x0f, 0x57, 0x69, 0x6b, 0x69, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x50, 0x61, 0x67, 0x65, + 0x73, 0x12, 0x1e, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x57, 0x69, 0x6b, 0x69, 0x47, + 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x50, 0x61, 0x67, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x1f, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x57, 0x69, 0x6b, 0x69, 0x47, + 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x50, 0x61, 0x67, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x30, 0x01, 0x12, 0x56, 0x0a, 0x0d, + 0x57, 0x69, 0x6b, 0x69, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x61, 0x67, 0x65, 0x73, 0x12, 0x1c, 0x2e, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x57, 0x69, 0x6b, 0x69, 0x4c, 0x69, 0x73, 0x74, 0x50, + 0x61, 0x67, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x69, + 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x57, 0x69, 0x6b, 0x69, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x61, 0x67, + 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, + 0x08, 0x02, 0x30, 0x01, 0x42, 0x30, 0x5a, 0x2e, 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, 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_wiki_proto_rawDescOnce sync.Once + file_wiki_proto_rawDescData = file_wiki_proto_rawDesc +) + +func file_wiki_proto_rawDescGZIP() []byte { + file_wiki_proto_rawDescOnce.Do(func() { + file_wiki_proto_rawDescData = protoimpl.X.CompressGZIP(file_wiki_proto_rawDescData) + }) + return file_wiki_proto_rawDescData +} + +var file_wiki_proto_enumTypes = make([]protoimpl.EnumInfo, 2) +var file_wiki_proto_msgTypes = make([]protoimpl.MessageInfo, 15) +var file_wiki_proto_goTypes = []interface{}{ + (WikiGetAllPagesRequest_SortBy)(0), // 0: gitaly.WikiGetAllPagesRequest.SortBy + (WikiListPagesRequest_SortBy)(0), // 1: gitaly.WikiListPagesRequest.SortBy + (*WikiCommitDetails)(nil), // 2: gitaly.WikiCommitDetails + (*WikiPageVersion)(nil), // 3: gitaly.WikiPageVersion + (*WikiPage)(nil), // 4: gitaly.WikiPage + (*WikiWritePageRequest)(nil), // 5: gitaly.WikiWritePageRequest + (*WikiWritePageResponse)(nil), // 6: gitaly.WikiWritePageResponse + (*WikiUpdatePageRequest)(nil), // 7: gitaly.WikiUpdatePageRequest + (*WikiUpdatePageResponse)(nil), // 8: gitaly.WikiUpdatePageResponse + (*WikiDeletePageRequest)(nil), // 9: gitaly.WikiDeletePageRequest + (*WikiDeletePageResponse)(nil), // 10: gitaly.WikiDeletePageResponse + (*WikiFindPageRequest)(nil), // 11: gitaly.WikiFindPageRequest + (*WikiFindPageResponse)(nil), // 12: gitaly.WikiFindPageResponse + (*WikiGetAllPagesRequest)(nil), // 13: gitaly.WikiGetAllPagesRequest + (*WikiGetAllPagesResponse)(nil), // 14: gitaly.WikiGetAllPagesResponse + (*WikiListPagesRequest)(nil), // 15: gitaly.WikiListPagesRequest + (*WikiListPagesResponse)(nil), // 16: gitaly.WikiListPagesResponse + (*GitCommit)(nil), // 17: gitaly.GitCommit + (*Repository)(nil), // 18: gitaly.Repository +} +var file_wiki_proto_depIdxs = []int32{ + 17, // 0: gitaly.WikiPageVersion.commit:type_name -> gitaly.GitCommit + 3, // 1: gitaly.WikiPage.version:type_name -> gitaly.WikiPageVersion + 18, // 2: gitaly.WikiWritePageRequest.repository:type_name -> gitaly.Repository + 2, // 3: gitaly.WikiWritePageRequest.commit_details:type_name -> gitaly.WikiCommitDetails + 18, // 4: gitaly.WikiUpdatePageRequest.repository:type_name -> gitaly.Repository + 2, // 5: gitaly.WikiUpdatePageRequest.commit_details:type_name -> gitaly.WikiCommitDetails + 18, // 6: gitaly.WikiDeletePageRequest.repository:type_name -> gitaly.Repository + 2, // 7: gitaly.WikiDeletePageRequest.commit_details:type_name -> gitaly.WikiCommitDetails + 18, // 8: gitaly.WikiFindPageRequest.repository:type_name -> gitaly.Repository + 4, // 9: gitaly.WikiFindPageResponse.page:type_name -> gitaly.WikiPage + 18, // 10: gitaly.WikiGetAllPagesRequest.repository:type_name -> gitaly.Repository + 0, // 11: gitaly.WikiGetAllPagesRequest.sort:type_name -> gitaly.WikiGetAllPagesRequest.SortBy + 4, // 12: gitaly.WikiGetAllPagesResponse.page:type_name -> gitaly.WikiPage + 18, // 13: gitaly.WikiListPagesRequest.repository:type_name -> gitaly.Repository + 1, // 14: gitaly.WikiListPagesRequest.sort:type_name -> gitaly.WikiListPagesRequest.SortBy + 4, // 15: gitaly.WikiListPagesResponse.page:type_name -> gitaly.WikiPage + 5, // 16: gitaly.WikiService.WikiWritePage:input_type -> gitaly.WikiWritePageRequest + 7, // 17: gitaly.WikiService.WikiUpdatePage:input_type -> gitaly.WikiUpdatePageRequest + 9, // 18: gitaly.WikiService.WikiDeletePage:input_type -> gitaly.WikiDeletePageRequest + 11, // 19: gitaly.WikiService.WikiFindPage:input_type -> gitaly.WikiFindPageRequest + 13, // 20: gitaly.WikiService.WikiGetAllPages:input_type -> gitaly.WikiGetAllPagesRequest + 15, // 21: gitaly.WikiService.WikiListPages:input_type -> gitaly.WikiListPagesRequest + 6, // 22: gitaly.WikiService.WikiWritePage:output_type -> gitaly.WikiWritePageResponse + 8, // 23: gitaly.WikiService.WikiUpdatePage:output_type -> gitaly.WikiUpdatePageResponse + 10, // 24: gitaly.WikiService.WikiDeletePage:output_type -> gitaly.WikiDeletePageResponse + 12, // 25: gitaly.WikiService.WikiFindPage:output_type -> gitaly.WikiFindPageResponse + 14, // 26: gitaly.WikiService.WikiGetAllPages:output_type -> gitaly.WikiGetAllPagesResponse + 16, // 27: gitaly.WikiService.WikiListPages:output_type -> gitaly.WikiListPagesResponse + 22, // [22:28] is the sub-list for method output_type + 16, // [16:22] is the sub-list for method input_type + 16, // [16:16] is the sub-list for extension type_name + 16, // [16:16] is the sub-list for extension extendee + 0, // [0:16] is the sub-list for field type_name +} + +func init() { file_wiki_proto_init() } +func file_wiki_proto_init() { + if File_wiki_proto != nil { + return + } + file_lint_proto_init() + file_shared_proto_init() + if !protoimpl.UnsafeEnabled { + file_wiki_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WikiCommitDetails); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_wiki_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WikiPageVersion); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_wiki_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WikiPage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_wiki_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WikiWritePageRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_wiki_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WikiWritePageResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_wiki_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WikiUpdatePageRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_wiki_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WikiUpdatePageResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_wiki_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WikiDeletePageRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_wiki_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WikiDeletePageResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_wiki_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WikiFindPageRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_wiki_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WikiFindPageResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_wiki_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WikiGetAllPagesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_wiki_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WikiGetAllPagesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_wiki_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WikiListPagesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_wiki_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*WikiListPagesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_wiki_proto_rawDesc, + NumEnums: 2, + NumMessages: 15, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_wiki_proto_goTypes, + DependencyIndexes: file_wiki_proto_depIdxs, + EnumInfos: file_wiki_proto_enumTypes, + MessageInfos: file_wiki_proto_msgTypes, + }.Build() + File_wiki_proto = out.File + file_wiki_proto_rawDesc = nil + file_wiki_proto_goTypes = nil + file_wiki_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConn +var _ grpc.ClientConnInterface // 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 +const _ = grpc.SupportPackageIsVersion6 // WikiServiceClient is the client API for WikiService service. // @@ -1044,10 +1586,10 @@ type WikiServiceClient interface { } type wikiServiceClient struct { - cc *grpc.ClientConn + cc grpc.ClientConnInterface } -func NewWikiServiceClient(cc *grpc.ClientConn) WikiServiceClient { +func NewWikiServiceClient(cc grpc.ClientConnInterface) WikiServiceClient { return &wikiServiceClient{cc} } @@ -1239,22 +1781,22 @@ type WikiServiceServer interface { type UnimplementedWikiServiceServer struct { } -func (*UnimplementedWikiServiceServer) WikiWritePage(srv WikiService_WikiWritePageServer) error { +func (*UnimplementedWikiServiceServer) WikiWritePage(WikiService_WikiWritePageServer) error { return status.Errorf(codes.Unimplemented, "method WikiWritePage not implemented") } -func (*UnimplementedWikiServiceServer) WikiUpdatePage(srv WikiService_WikiUpdatePageServer) error { +func (*UnimplementedWikiServiceServer) WikiUpdatePage(WikiService_WikiUpdatePageServer) error { return status.Errorf(codes.Unimplemented, "method WikiUpdatePage not implemented") } -func (*UnimplementedWikiServiceServer) WikiDeletePage(ctx context.Context, req *WikiDeletePageRequest) (*WikiDeletePageResponse, error) { +func (*UnimplementedWikiServiceServer) WikiDeletePage(context.Context, *WikiDeletePageRequest) (*WikiDeletePageResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method WikiDeletePage not implemented") } -func (*UnimplementedWikiServiceServer) WikiFindPage(req *WikiFindPageRequest, srv WikiService_WikiFindPageServer) error { +func (*UnimplementedWikiServiceServer) WikiFindPage(*WikiFindPageRequest, WikiService_WikiFindPageServer) error { return status.Errorf(codes.Unimplemented, "method WikiFindPage not implemented") } -func (*UnimplementedWikiServiceServer) WikiGetAllPages(req *WikiGetAllPagesRequest, srv WikiService_WikiGetAllPagesServer) error { +func (*UnimplementedWikiServiceServer) WikiGetAllPages(*WikiGetAllPagesRequest, WikiService_WikiGetAllPagesServer) error { return status.Errorf(codes.Unimplemented, "method WikiGetAllPages not implemented") } -func (*UnimplementedWikiServiceServer) WikiListPages(req *WikiListPagesRequest, srv WikiService_WikiListPagesServer) error { +func (*UnimplementedWikiServiceServer) WikiListPages(*WikiListPagesRequest, WikiService_WikiListPagesServer) error { return status.Errorf(codes.Unimplemented, "method WikiListPages not implemented") } diff --git a/proto/go/internal/linter/testdata/invalid.pb.go b/proto/go/internal/linter/testdata/invalid.pb.go index ae2144b29..3f42f76ac 100644 --- a/proto/go/internal/linter/testdata/invalid.pb.go +++ b/proto/go/internal/linter/testdata/invalid.pb.go @@ -1,703 +1,1209 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc v3.12.4 // source: go/internal/linter/testdata/invalid.proto package test import ( context "context" - fmt "fmt" proto "github.com/golang/protobuf/proto" gitalypb "gitlab.com/gitlab-org/gitaly/proto/go/gitalypb" 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 +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) +) -// 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 +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 type InvalidMethodRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *InvalidMethodRequest) Reset() { *m = InvalidMethodRequest{} } -func (m *InvalidMethodRequest) String() string { return proto.CompactTextString(m) } -func (*InvalidMethodRequest) ProtoMessage() {} -func (*InvalidMethodRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_506a53e91b227711, []int{0} +func (x *InvalidMethodRequest) Reset() { + *x = InvalidMethodRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_go_internal_linter_testdata_invalid_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *InvalidMethodRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InvalidMethodRequest.Unmarshal(m, b) -} -func (m *InvalidMethodRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InvalidMethodRequest.Marshal(b, m, deterministic) -} -func (m *InvalidMethodRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_InvalidMethodRequest.Merge(m, src) -} -func (m *InvalidMethodRequest) XXX_Size() int { - return xxx_messageInfo_InvalidMethodRequest.Size(m) -} -func (m *InvalidMethodRequest) XXX_DiscardUnknown() { - xxx_messageInfo_InvalidMethodRequest.DiscardUnknown(m) +func (x *InvalidMethodRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_InvalidMethodRequest proto.InternalMessageInfo +func (*InvalidMethodRequest) ProtoMessage() {} -type InvalidMethodRequestWithRepo struct { - Destination *gitalypb.Repository `protobuf:"bytes,1,opt,name=destination,proto3" json:"destination,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *InvalidMethodRequest) ProtoReflect() protoreflect.Message { + mi := &file_go_internal_linter_testdata_invalid_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) } -func (m *InvalidMethodRequestWithRepo) Reset() { *m = InvalidMethodRequestWithRepo{} } -func (m *InvalidMethodRequestWithRepo) String() string { return proto.CompactTextString(m) } -func (*InvalidMethodRequestWithRepo) ProtoMessage() {} -func (*InvalidMethodRequestWithRepo) Descriptor() ([]byte, []int) { - return fileDescriptor_506a53e91b227711, []int{1} +// Deprecated: Use InvalidMethodRequest.ProtoReflect.Descriptor instead. +func (*InvalidMethodRequest) Descriptor() ([]byte, []int) { + return file_go_internal_linter_testdata_invalid_proto_rawDescGZIP(), []int{0} } -func (m *InvalidMethodRequestWithRepo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InvalidMethodRequestWithRepo.Unmarshal(m, b) -} -func (m *InvalidMethodRequestWithRepo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InvalidMethodRequestWithRepo.Marshal(b, m, deterministic) +type InvalidMethodRequestWithRepo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Destination *gitalypb.Repository `protobuf:"bytes,1,opt,name=destination,proto3" json:"destination,omitempty"` } -func (m *InvalidMethodRequestWithRepo) XXX_Merge(src proto.Message) { - xxx_messageInfo_InvalidMethodRequestWithRepo.Merge(m, src) + +func (x *InvalidMethodRequestWithRepo) Reset() { + *x = InvalidMethodRequestWithRepo{} + if protoimpl.UnsafeEnabled { + mi := &file_go_internal_linter_testdata_invalid_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *InvalidMethodRequestWithRepo) XXX_Size() int { - return xxx_messageInfo_InvalidMethodRequestWithRepo.Size(m) + +func (x *InvalidMethodRequestWithRepo) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *InvalidMethodRequestWithRepo) XXX_DiscardUnknown() { - xxx_messageInfo_InvalidMethodRequestWithRepo.DiscardUnknown(m) + +func (*InvalidMethodRequestWithRepo) ProtoMessage() {} + +func (x *InvalidMethodRequestWithRepo) ProtoReflect() protoreflect.Message { + mi := &file_go_internal_linter_testdata_invalid_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) } -var xxx_messageInfo_InvalidMethodRequestWithRepo proto.InternalMessageInfo +// Deprecated: Use InvalidMethodRequestWithRepo.ProtoReflect.Descriptor instead. +func (*InvalidMethodRequestWithRepo) Descriptor() ([]byte, []int) { + return file_go_internal_linter_testdata_invalid_proto_rawDescGZIP(), []int{1} +} -func (m *InvalidMethodRequestWithRepo) GetDestination() *gitalypb.Repository { - if m != nil { - return m.Destination +func (x *InvalidMethodRequestWithRepo) GetDestination() *gitalypb.Repository { + if x != nil { + return x.Destination } return nil } type InvalidTargetType struct { - WrongType int32 `protobuf:"varint,1,opt,name=wrong_type,json=wrongType,proto3" json:"wrong_type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *InvalidTargetType) Reset() { *m = InvalidTargetType{} } -func (m *InvalidTargetType) String() string { return proto.CompactTextString(m) } -func (*InvalidTargetType) ProtoMessage() {} -func (*InvalidTargetType) Descriptor() ([]byte, []int) { - return fileDescriptor_506a53e91b227711, []int{2} + WrongType int32 `protobuf:"varint,1,opt,name=wrong_type,json=wrongType,proto3" json:"wrong_type,omitempty"` } -func (m *InvalidTargetType) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InvalidTargetType.Unmarshal(m, b) -} -func (m *InvalidTargetType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InvalidTargetType.Marshal(b, m, deterministic) -} -func (m *InvalidTargetType) XXX_Merge(src proto.Message) { - xxx_messageInfo_InvalidTargetType.Merge(m, src) +func (x *InvalidTargetType) Reset() { + *x = InvalidTargetType{} + if protoimpl.UnsafeEnabled { + mi := &file_go_internal_linter_testdata_invalid_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *InvalidTargetType) XXX_Size() int { - return xxx_messageInfo_InvalidTargetType.Size(m) + +func (x *InvalidTargetType) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *InvalidTargetType) XXX_DiscardUnknown() { - xxx_messageInfo_InvalidTargetType.DiscardUnknown(m) + +func (*InvalidTargetType) ProtoMessage() {} + +func (x *InvalidTargetType) ProtoReflect() protoreflect.Message { + mi := &file_go_internal_linter_testdata_invalid_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_InvalidTargetType proto.InternalMessageInfo +// Deprecated: Use InvalidTargetType.ProtoReflect.Descriptor instead. +func (*InvalidTargetType) Descriptor() ([]byte, []int) { + return file_go_internal_linter_testdata_invalid_proto_rawDescGZIP(), []int{2} +} -func (m *InvalidTargetType) GetWrongType() int32 { - if m != nil { - return m.WrongType +func (x *InvalidTargetType) GetWrongType() int32 { + if x != nil { + return x.WrongType } return 0 } type InvalidMethodResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *InvalidMethodResponse) Reset() { *m = InvalidMethodResponse{} } -func (m *InvalidMethodResponse) String() string { return proto.CompactTextString(m) } -func (*InvalidMethodResponse) ProtoMessage() {} -func (*InvalidMethodResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_506a53e91b227711, []int{3} +func (x *InvalidMethodResponse) Reset() { + *x = InvalidMethodResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_go_internal_linter_testdata_invalid_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *InvalidMethodResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InvalidMethodResponse.Unmarshal(m, b) -} -func (m *InvalidMethodResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InvalidMethodResponse.Marshal(b, m, deterministic) -} -func (m *InvalidMethodResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_InvalidMethodResponse.Merge(m, src) -} -func (m *InvalidMethodResponse) XXX_Size() int { - return xxx_messageInfo_InvalidMethodResponse.Size(m) -} -func (m *InvalidMethodResponse) XXX_DiscardUnknown() { - xxx_messageInfo_InvalidMethodResponse.DiscardUnknown(m) +func (x *InvalidMethodResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_InvalidMethodResponse proto.InternalMessageInfo +func (*InvalidMethodResponse) ProtoMessage() {} -type InvalidNestedRequest struct { - InnerMessage *InvalidTargetType `protobuf:"bytes,1,opt,name=inner_message,json=innerMessage,proto3" json:"inner_message,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *InvalidMethodResponse) ProtoReflect() protoreflect.Message { + mi := &file_go_internal_linter_testdata_invalid_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) } -func (m *InvalidNestedRequest) Reset() { *m = InvalidNestedRequest{} } -func (m *InvalidNestedRequest) String() string { return proto.CompactTextString(m) } -func (*InvalidNestedRequest) ProtoMessage() {} -func (*InvalidNestedRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_506a53e91b227711, []int{4} +// Deprecated: Use InvalidMethodResponse.ProtoReflect.Descriptor instead. +func (*InvalidMethodResponse) Descriptor() ([]byte, []int) { + return file_go_internal_linter_testdata_invalid_proto_rawDescGZIP(), []int{3} } -func (m *InvalidNestedRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InvalidNestedRequest.Unmarshal(m, b) -} -func (m *InvalidNestedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InvalidNestedRequest.Marshal(b, m, deterministic) +type InvalidNestedRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + InnerMessage *InvalidTargetType `protobuf:"bytes,1,opt,name=inner_message,json=innerMessage,proto3" json:"inner_message,omitempty"` } -func (m *InvalidNestedRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_InvalidNestedRequest.Merge(m, src) + +func (x *InvalidNestedRequest) Reset() { + *x = InvalidNestedRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_go_internal_linter_testdata_invalid_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *InvalidNestedRequest) XXX_Size() int { - return xxx_messageInfo_InvalidNestedRequest.Size(m) + +func (x *InvalidNestedRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *InvalidNestedRequest) XXX_DiscardUnknown() { - xxx_messageInfo_InvalidNestedRequest.DiscardUnknown(m) + +func (*InvalidNestedRequest) ProtoMessage() {} + +func (x *InvalidNestedRequest) ProtoReflect() protoreflect.Message { + mi := &file_go_internal_linter_testdata_invalid_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_InvalidNestedRequest proto.InternalMessageInfo +// Deprecated: Use InvalidNestedRequest.ProtoReflect.Descriptor instead. +func (*InvalidNestedRequest) Descriptor() ([]byte, []int) { + return file_go_internal_linter_testdata_invalid_proto_rawDescGZIP(), []int{4} +} -func (m *InvalidNestedRequest) GetInnerMessage() *InvalidTargetType { - if m != nil { - return m.InnerMessage +func (x *InvalidNestedRequest) GetInnerMessage() *InvalidTargetType { + if x != nil { + return x.InnerMessage } return nil } type RequestWithStorage struct { - StorageName string `protobuf:"bytes,1,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"` - Destination *gitalypb.Repository `protobuf:"bytes,2,opt,name=destination,proto3" json:"destination,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *RequestWithStorage) Reset() { *m = RequestWithStorage{} } -func (m *RequestWithStorage) String() string { return proto.CompactTextString(m) } -func (*RequestWithStorage) ProtoMessage() {} -func (*RequestWithStorage) Descriptor() ([]byte, []int) { - return fileDescriptor_506a53e91b227711, []int{5} + StorageName string `protobuf:"bytes,1,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"` + Destination *gitalypb.Repository `protobuf:"bytes,2,opt,name=destination,proto3" json:"destination,omitempty"` } -func (m *RequestWithStorage) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RequestWithStorage.Unmarshal(m, b) -} -func (m *RequestWithStorage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RequestWithStorage.Marshal(b, m, deterministic) -} -func (m *RequestWithStorage) XXX_Merge(src proto.Message) { - xxx_messageInfo_RequestWithStorage.Merge(m, src) +func (x *RequestWithStorage) Reset() { + *x = RequestWithStorage{} + if protoimpl.UnsafeEnabled { + mi := &file_go_internal_linter_testdata_invalid_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RequestWithStorage) XXX_Size() int { - return xxx_messageInfo_RequestWithStorage.Size(m) + +func (x *RequestWithStorage) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RequestWithStorage) XXX_DiscardUnknown() { - xxx_messageInfo_RequestWithStorage.DiscardUnknown(m) + +func (*RequestWithStorage) ProtoMessage() {} + +func (x *RequestWithStorage) ProtoReflect() protoreflect.Message { + mi := &file_go_internal_linter_testdata_invalid_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_RequestWithStorage proto.InternalMessageInfo +// Deprecated: Use RequestWithStorage.ProtoReflect.Descriptor instead. +func (*RequestWithStorage) Descriptor() ([]byte, []int) { + return file_go_internal_linter_testdata_invalid_proto_rawDescGZIP(), []int{5} +} -func (m *RequestWithStorage) GetStorageName() string { - if m != nil { - return m.StorageName +func (x *RequestWithStorage) GetStorageName() string { + if x != nil { + return x.StorageName } return "" } -func (m *RequestWithStorage) GetDestination() *gitalypb.Repository { - if m != nil { - return m.Destination +func (x *RequestWithStorage) GetDestination() *gitalypb.Repository { + if x != nil { + return x.Destination } return nil } type RequestWithStorageAndRepo struct { - StorageName string `protobuf:"bytes,1,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"` - Destination *gitalypb.Repository `protobuf:"bytes,2,opt,name=destination,proto3" json:"destination,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *RequestWithStorageAndRepo) Reset() { *m = RequestWithStorageAndRepo{} } -func (m *RequestWithStorageAndRepo) String() string { return proto.CompactTextString(m) } -func (*RequestWithStorageAndRepo) ProtoMessage() {} -func (*RequestWithStorageAndRepo) Descriptor() ([]byte, []int) { - return fileDescriptor_506a53e91b227711, []int{6} + StorageName string `protobuf:"bytes,1,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"` + Destination *gitalypb.Repository `protobuf:"bytes,2,opt,name=destination,proto3" json:"destination,omitempty"` } -func (m *RequestWithStorageAndRepo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RequestWithStorageAndRepo.Unmarshal(m, b) -} -func (m *RequestWithStorageAndRepo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RequestWithStorageAndRepo.Marshal(b, m, deterministic) -} -func (m *RequestWithStorageAndRepo) XXX_Merge(src proto.Message) { - xxx_messageInfo_RequestWithStorageAndRepo.Merge(m, src) +func (x *RequestWithStorageAndRepo) Reset() { + *x = RequestWithStorageAndRepo{} + if protoimpl.UnsafeEnabled { + mi := &file_go_internal_linter_testdata_invalid_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RequestWithStorageAndRepo) XXX_Size() int { - return xxx_messageInfo_RequestWithStorageAndRepo.Size(m) + +func (x *RequestWithStorageAndRepo) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RequestWithStorageAndRepo) XXX_DiscardUnknown() { - xxx_messageInfo_RequestWithStorageAndRepo.DiscardUnknown(m) + +func (*RequestWithStorageAndRepo) ProtoMessage() {} + +func (x *RequestWithStorageAndRepo) ProtoReflect() protoreflect.Message { + mi := &file_go_internal_linter_testdata_invalid_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_RequestWithStorageAndRepo proto.InternalMessageInfo +// Deprecated: Use RequestWithStorageAndRepo.ProtoReflect.Descriptor instead. +func (*RequestWithStorageAndRepo) Descriptor() ([]byte, []int) { + return file_go_internal_linter_testdata_invalid_proto_rawDescGZIP(), []int{6} +} -func (m *RequestWithStorageAndRepo) GetStorageName() string { - if m != nil { - return m.StorageName +func (x *RequestWithStorageAndRepo) GetStorageName() string { + if x != nil { + return x.StorageName } return "" } -func (m *RequestWithStorageAndRepo) GetDestination() *gitalypb.Repository { - if m != nil { - return m.Destination +func (x *RequestWithStorageAndRepo) GetDestination() *gitalypb.Repository { + if x != nil { + return x.Destination } return nil } type RequestWithNestedStorageAndRepo struct { - InnerMessage *RequestWithStorageAndRepo `protobuf:"bytes,1,opt,name=inner_message,json=innerMessage,proto3" json:"inner_message,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *RequestWithNestedStorageAndRepo) Reset() { *m = RequestWithNestedStorageAndRepo{} } -func (m *RequestWithNestedStorageAndRepo) String() string { return proto.CompactTextString(m) } -func (*RequestWithNestedStorageAndRepo) ProtoMessage() {} -func (*RequestWithNestedStorageAndRepo) Descriptor() ([]byte, []int) { - return fileDescriptor_506a53e91b227711, []int{7} + InnerMessage *RequestWithStorageAndRepo `protobuf:"bytes,1,opt,name=inner_message,json=innerMessage,proto3" json:"inner_message,omitempty"` } -func (m *RequestWithNestedStorageAndRepo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RequestWithNestedStorageAndRepo.Unmarshal(m, b) -} -func (m *RequestWithNestedStorageAndRepo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RequestWithNestedStorageAndRepo.Marshal(b, m, deterministic) -} -func (m *RequestWithNestedStorageAndRepo) XXX_Merge(src proto.Message) { - xxx_messageInfo_RequestWithNestedStorageAndRepo.Merge(m, src) +func (x *RequestWithNestedStorageAndRepo) Reset() { + *x = RequestWithNestedStorageAndRepo{} + if protoimpl.UnsafeEnabled { + mi := &file_go_internal_linter_testdata_invalid_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RequestWithNestedStorageAndRepo) XXX_Size() int { - return xxx_messageInfo_RequestWithNestedStorageAndRepo.Size(m) + +func (x *RequestWithNestedStorageAndRepo) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RequestWithNestedStorageAndRepo) XXX_DiscardUnknown() { - xxx_messageInfo_RequestWithNestedStorageAndRepo.DiscardUnknown(m) + +func (*RequestWithNestedStorageAndRepo) ProtoMessage() {} + +func (x *RequestWithNestedStorageAndRepo) ProtoReflect() protoreflect.Message { + mi := &file_go_internal_linter_testdata_invalid_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) } -var xxx_messageInfo_RequestWithNestedStorageAndRepo proto.InternalMessageInfo +// Deprecated: Use RequestWithNestedStorageAndRepo.ProtoReflect.Descriptor instead. +func (*RequestWithNestedStorageAndRepo) Descriptor() ([]byte, []int) { + return file_go_internal_linter_testdata_invalid_proto_rawDescGZIP(), []int{7} +} -func (m *RequestWithNestedStorageAndRepo) GetInnerMessage() *RequestWithStorageAndRepo { - if m != nil { - return m.InnerMessage +func (x *RequestWithNestedStorageAndRepo) GetInnerMessage() *RequestWithStorageAndRepo { + if x != nil { + return x.InnerMessage } return nil } type RequestWithMultipleNestedStorage struct { - InnerMessage *RequestWithStorage `protobuf:"bytes,1,opt,name=inner_message,json=innerMessage,proto3" json:"inner_message,omitempty"` - 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:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *RequestWithMultipleNestedStorage) Reset() { *m = RequestWithMultipleNestedStorage{} } -func (m *RequestWithMultipleNestedStorage) String() string { return proto.CompactTextString(m) } -func (*RequestWithMultipleNestedStorage) ProtoMessage() {} -func (*RequestWithMultipleNestedStorage) Descriptor() ([]byte, []int) { - return fileDescriptor_506a53e91b227711, []int{8} + InnerMessage *RequestWithStorage `protobuf:"bytes,1,opt,name=inner_message,json=innerMessage,proto3" json:"inner_message,omitempty"` + StorageName string `protobuf:"bytes,2,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"` } -func (m *RequestWithMultipleNestedStorage) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RequestWithMultipleNestedStorage.Unmarshal(m, b) -} -func (m *RequestWithMultipleNestedStorage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RequestWithMultipleNestedStorage.Marshal(b, m, deterministic) -} -func (m *RequestWithMultipleNestedStorage) XXX_Merge(src proto.Message) { - xxx_messageInfo_RequestWithMultipleNestedStorage.Merge(m, src) +func (x *RequestWithMultipleNestedStorage) Reset() { + *x = RequestWithMultipleNestedStorage{} + if protoimpl.UnsafeEnabled { + mi := &file_go_internal_linter_testdata_invalid_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RequestWithMultipleNestedStorage) XXX_Size() int { - return xxx_messageInfo_RequestWithMultipleNestedStorage.Size(m) + +func (x *RequestWithMultipleNestedStorage) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RequestWithMultipleNestedStorage) XXX_DiscardUnknown() { - xxx_messageInfo_RequestWithMultipleNestedStorage.DiscardUnknown(m) + +func (*RequestWithMultipleNestedStorage) ProtoMessage() {} + +func (x *RequestWithMultipleNestedStorage) ProtoReflect() protoreflect.Message { + mi := &file_go_internal_linter_testdata_invalid_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_RequestWithMultipleNestedStorage proto.InternalMessageInfo +// Deprecated: Use RequestWithMultipleNestedStorage.ProtoReflect.Descriptor instead. +func (*RequestWithMultipleNestedStorage) Descriptor() ([]byte, []int) { + return file_go_internal_linter_testdata_invalid_proto_rawDescGZIP(), []int{8} +} -func (m *RequestWithMultipleNestedStorage) GetInnerMessage() *RequestWithStorage { - if m != nil { - return m.InnerMessage +func (x *RequestWithMultipleNestedStorage) GetInnerMessage() *RequestWithStorage { + if x != nil { + return x.InnerMessage } return nil } -func (m *RequestWithMultipleNestedStorage) GetStorageName() string { - if m != nil { - return m.StorageName +func (x *RequestWithMultipleNestedStorage) GetStorageName() string { + if x != nil { + return x.StorageName } return "" } type RequestWithInnerNestedStorage struct { - Header *RequestWithInnerNestedStorage_Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *RequestWithInnerNestedStorage) Reset() { *m = RequestWithInnerNestedStorage{} } -func (m *RequestWithInnerNestedStorage) String() string { return proto.CompactTextString(m) } -func (*RequestWithInnerNestedStorage) ProtoMessage() {} -func (*RequestWithInnerNestedStorage) Descriptor() ([]byte, []int) { - return fileDescriptor_506a53e91b227711, []int{9} + Header *RequestWithInnerNestedStorage_Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` } -func (m *RequestWithInnerNestedStorage) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RequestWithInnerNestedStorage.Unmarshal(m, b) -} -func (m *RequestWithInnerNestedStorage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RequestWithInnerNestedStorage.Marshal(b, m, deterministic) -} -func (m *RequestWithInnerNestedStorage) XXX_Merge(src proto.Message) { - xxx_messageInfo_RequestWithInnerNestedStorage.Merge(m, src) -} -func (m *RequestWithInnerNestedStorage) XXX_Size() int { - return xxx_messageInfo_RequestWithInnerNestedStorage.Size(m) +func (x *RequestWithInnerNestedStorage) Reset() { + *x = RequestWithInnerNestedStorage{} + if protoimpl.UnsafeEnabled { + mi := &file_go_internal_linter_testdata_invalid_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RequestWithInnerNestedStorage) XXX_DiscardUnknown() { - xxx_messageInfo_RequestWithInnerNestedStorage.DiscardUnknown(m) + +func (x *RequestWithInnerNestedStorage) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_RequestWithInnerNestedStorage proto.InternalMessageInfo +func (*RequestWithInnerNestedStorage) ProtoMessage() {} -func (m *RequestWithInnerNestedStorage) GetHeader() *RequestWithInnerNestedStorage_Header { - if m != nil { - return m.Header +func (x *RequestWithInnerNestedStorage) ProtoReflect() protoreflect.Message { + mi := &file_go_internal_linter_testdata_invalid_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 nil + return mi.MessageOf(x) } -type RequestWithInnerNestedStorage_Header struct { - StorageName string `protobuf:"bytes,1,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +// Deprecated: Use RequestWithInnerNestedStorage.ProtoReflect.Descriptor instead. +func (*RequestWithInnerNestedStorage) Descriptor() ([]byte, []int) { + return file_go_internal_linter_testdata_invalid_proto_rawDescGZIP(), []int{9} } -func (m *RequestWithInnerNestedStorage_Header) Reset() { *m = RequestWithInnerNestedStorage_Header{} } -func (m *RequestWithInnerNestedStorage_Header) String() string { return proto.CompactTextString(m) } -func (*RequestWithInnerNestedStorage_Header) ProtoMessage() {} -func (*RequestWithInnerNestedStorage_Header) Descriptor() ([]byte, []int) { - return fileDescriptor_506a53e91b227711, []int{9, 0} +func (x *RequestWithInnerNestedStorage) GetHeader() *RequestWithInnerNestedStorage_Header { + if x != nil { + return x.Header + } + return nil } -func (m *RequestWithInnerNestedStorage_Header) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RequestWithInnerNestedStorage_Header.Unmarshal(m, b) -} -func (m *RequestWithInnerNestedStorage_Header) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RequestWithInnerNestedStorage_Header.Marshal(b, m, deterministic) -} -func (m *RequestWithInnerNestedStorage_Header) XXX_Merge(src proto.Message) { - xxx_messageInfo_RequestWithInnerNestedStorage_Header.Merge(m, src) +type RequestWithWrongTypeRepository struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Header *RequestWithWrongTypeRepository_Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` } -func (m *RequestWithInnerNestedStorage_Header) XXX_Size() int { - return xxx_messageInfo_RequestWithInnerNestedStorage_Header.Size(m) + +func (x *RequestWithWrongTypeRepository) Reset() { + *x = RequestWithWrongTypeRepository{} + if protoimpl.UnsafeEnabled { + mi := &file_go_internal_linter_testdata_invalid_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RequestWithInnerNestedStorage_Header) XXX_DiscardUnknown() { - xxx_messageInfo_RequestWithInnerNestedStorage_Header.DiscardUnknown(m) + +func (x *RequestWithWrongTypeRepository) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_RequestWithInnerNestedStorage_Header proto.InternalMessageInfo +func (*RequestWithWrongTypeRepository) ProtoMessage() {} -func (m *RequestWithInnerNestedStorage_Header) GetStorageName() string { - if m != nil { - return m.StorageName +func (x *RequestWithWrongTypeRepository) ProtoReflect() protoreflect.Message { + mi := &file_go_internal_linter_testdata_invalid_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 "" -} - -type RequestWithWrongTypeRepository struct { - Header *RequestWithWrongTypeRepository_Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + return mi.MessageOf(x) } -func (m *RequestWithWrongTypeRepository) Reset() { *m = RequestWithWrongTypeRepository{} } -func (m *RequestWithWrongTypeRepository) String() string { return proto.CompactTextString(m) } -func (*RequestWithWrongTypeRepository) ProtoMessage() {} +// Deprecated: Use RequestWithWrongTypeRepository.ProtoReflect.Descriptor instead. func (*RequestWithWrongTypeRepository) Descriptor() ([]byte, []int) { - return fileDescriptor_506a53e91b227711, []int{10} + return file_go_internal_linter_testdata_invalid_proto_rawDescGZIP(), []int{10} } -func (m *RequestWithWrongTypeRepository) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RequestWithWrongTypeRepository.Unmarshal(m, b) -} -func (m *RequestWithWrongTypeRepository) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RequestWithWrongTypeRepository.Marshal(b, m, deterministic) +func (x *RequestWithWrongTypeRepository) GetHeader() *RequestWithWrongTypeRepository_Header { + if x != nil { + return x.Header + } + return nil } -func (m *RequestWithWrongTypeRepository) XXX_Merge(src proto.Message) { - xxx_messageInfo_RequestWithWrongTypeRepository.Merge(m, src) + +type RequestWithNestedRepoNotFlagged struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Header *RequestWithNestedRepoNotFlagged_Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` } -func (m *RequestWithWrongTypeRepository) XXX_Size() int { - return xxx_messageInfo_RequestWithWrongTypeRepository.Size(m) + +func (x *RequestWithNestedRepoNotFlagged) Reset() { + *x = RequestWithNestedRepoNotFlagged{} + if protoimpl.UnsafeEnabled { + mi := &file_go_internal_linter_testdata_invalid_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RequestWithWrongTypeRepository) XXX_DiscardUnknown() { - xxx_messageInfo_RequestWithWrongTypeRepository.DiscardUnknown(m) + +func (x *RequestWithNestedRepoNotFlagged) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_RequestWithWrongTypeRepository proto.InternalMessageInfo +func (*RequestWithNestedRepoNotFlagged) ProtoMessage() {} -func (m *RequestWithWrongTypeRepository) GetHeader() *RequestWithWrongTypeRepository_Header { - if m != nil { - return m.Header +func (x *RequestWithNestedRepoNotFlagged) ProtoReflect() protoreflect.Message { + mi := &file_go_internal_linter_testdata_invalid_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 nil + return mi.MessageOf(x) } -type RequestWithWrongTypeRepository_Header struct { - Repository *InvalidMethodResponse `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +// Deprecated: Use RequestWithNestedRepoNotFlagged.ProtoReflect.Descriptor instead. +func (*RequestWithNestedRepoNotFlagged) Descriptor() ([]byte, []int) { + return file_go_internal_linter_testdata_invalid_proto_rawDescGZIP(), []int{11} } -func (m *RequestWithWrongTypeRepository_Header) Reset() { *m = RequestWithWrongTypeRepository_Header{} } -func (m *RequestWithWrongTypeRepository_Header) String() string { return proto.CompactTextString(m) } -func (*RequestWithWrongTypeRepository_Header) ProtoMessage() {} -func (*RequestWithWrongTypeRepository_Header) Descriptor() ([]byte, []int) { - return fileDescriptor_506a53e91b227711, []int{10, 0} +func (x *RequestWithNestedRepoNotFlagged) GetHeader() *RequestWithNestedRepoNotFlagged_Header { + if x != nil { + return x.Header + } + return nil } -func (m *RequestWithWrongTypeRepository_Header) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RequestWithWrongTypeRepository_Header.Unmarshal(m, b) -} -func (m *RequestWithWrongTypeRepository_Header) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RequestWithWrongTypeRepository_Header.Marshal(b, m, deterministic) -} -func (m *RequestWithWrongTypeRepository_Header) XXX_Merge(src proto.Message) { - xxx_messageInfo_RequestWithWrongTypeRepository_Header.Merge(m, src) +type RequestWithInnerNestedStorage_Header struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StorageName string `protobuf:"bytes,1,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"` } -func (m *RequestWithWrongTypeRepository_Header) XXX_Size() int { - return xxx_messageInfo_RequestWithWrongTypeRepository_Header.Size(m) + +func (x *RequestWithInnerNestedStorage_Header) Reset() { + *x = RequestWithInnerNestedStorage_Header{} + if protoimpl.UnsafeEnabled { + mi := &file_go_internal_linter_testdata_invalid_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RequestWithWrongTypeRepository_Header) XXX_DiscardUnknown() { - xxx_messageInfo_RequestWithWrongTypeRepository_Header.DiscardUnknown(m) + +func (x *RequestWithInnerNestedStorage_Header) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_RequestWithWrongTypeRepository_Header proto.InternalMessageInfo +func (*RequestWithInnerNestedStorage_Header) ProtoMessage() {} -func (m *RequestWithWrongTypeRepository_Header) GetRepository() *InvalidMethodResponse { - if m != nil { - return m.Repository +func (x *RequestWithInnerNestedStorage_Header) ProtoReflect() protoreflect.Message { + mi := &file_go_internal_linter_testdata_invalid_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 nil + return mi.MessageOf(x) } -type RequestWithNestedRepoNotFlagged struct { - Header *RequestWithNestedRepoNotFlagged_Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +// Deprecated: Use RequestWithInnerNestedStorage_Header.ProtoReflect.Descriptor instead. +func (*RequestWithInnerNestedStorage_Header) Descriptor() ([]byte, []int) { + return file_go_internal_linter_testdata_invalid_proto_rawDescGZIP(), []int{9, 0} } -func (m *RequestWithNestedRepoNotFlagged) Reset() { *m = RequestWithNestedRepoNotFlagged{} } -func (m *RequestWithNestedRepoNotFlagged) String() string { return proto.CompactTextString(m) } -func (*RequestWithNestedRepoNotFlagged) ProtoMessage() {} -func (*RequestWithNestedRepoNotFlagged) Descriptor() ([]byte, []int) { - return fileDescriptor_506a53e91b227711, []int{11} +func (x *RequestWithInnerNestedStorage_Header) GetStorageName() string { + if x != nil { + return x.StorageName + } + return "" } -func (m *RequestWithNestedRepoNotFlagged) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RequestWithNestedRepoNotFlagged.Unmarshal(m, b) -} -func (m *RequestWithNestedRepoNotFlagged) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RequestWithNestedRepoNotFlagged.Marshal(b, m, deterministic) +type RequestWithWrongTypeRepository_Header struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Repository *InvalidMethodResponse `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` } -func (m *RequestWithNestedRepoNotFlagged) XXX_Merge(src proto.Message) { - xxx_messageInfo_RequestWithNestedRepoNotFlagged.Merge(m, src) + +func (x *RequestWithWrongTypeRepository_Header) Reset() { + *x = RequestWithWrongTypeRepository_Header{} + if protoimpl.UnsafeEnabled { + mi := &file_go_internal_linter_testdata_invalid_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RequestWithNestedRepoNotFlagged) XXX_Size() int { - return xxx_messageInfo_RequestWithNestedRepoNotFlagged.Size(m) + +func (x *RequestWithWrongTypeRepository_Header) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RequestWithNestedRepoNotFlagged) XXX_DiscardUnknown() { - xxx_messageInfo_RequestWithNestedRepoNotFlagged.DiscardUnknown(m) + +func (*RequestWithWrongTypeRepository_Header) ProtoMessage() {} + +func (x *RequestWithWrongTypeRepository_Header) ProtoReflect() protoreflect.Message { + mi := &file_go_internal_linter_testdata_invalid_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 mi.MessageOf(x) } -var xxx_messageInfo_RequestWithNestedRepoNotFlagged proto.InternalMessageInfo +// Deprecated: Use RequestWithWrongTypeRepository_Header.ProtoReflect.Descriptor instead. +func (*RequestWithWrongTypeRepository_Header) Descriptor() ([]byte, []int) { + return file_go_internal_linter_testdata_invalid_proto_rawDescGZIP(), []int{10, 0} +} -func (m *RequestWithNestedRepoNotFlagged) GetHeader() *RequestWithNestedRepoNotFlagged_Header { - if m != nil { - return m.Header +func (x *RequestWithWrongTypeRepository_Header) GetRepository() *InvalidMethodResponse { + if x != nil { + return x.Repository } return nil } type RequestWithNestedRepoNotFlagged_Header struct { - Repository *gitalypb.Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"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 *RequestWithNestedRepoNotFlagged_Header) Reset() { - *m = RequestWithNestedRepoNotFlagged_Header{} -} -func (m *RequestWithNestedRepoNotFlagged_Header) String() string { return proto.CompactTextString(m) } -func (*RequestWithNestedRepoNotFlagged_Header) ProtoMessage() {} -func (*RequestWithNestedRepoNotFlagged_Header) Descriptor() ([]byte, []int) { - return fileDescriptor_506a53e91b227711, []int{11, 0} + Repository *gitalypb.Repository `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` } -func (m *RequestWithNestedRepoNotFlagged_Header) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RequestWithNestedRepoNotFlagged_Header.Unmarshal(m, b) -} -func (m *RequestWithNestedRepoNotFlagged_Header) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RequestWithNestedRepoNotFlagged_Header.Marshal(b, m, deterministic) -} -func (m *RequestWithNestedRepoNotFlagged_Header) XXX_Merge(src proto.Message) { - xxx_messageInfo_RequestWithNestedRepoNotFlagged_Header.Merge(m, src) +func (x *RequestWithNestedRepoNotFlagged_Header) Reset() { + *x = RequestWithNestedRepoNotFlagged_Header{} + if protoimpl.UnsafeEnabled { + mi := &file_go_internal_linter_testdata_invalid_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RequestWithNestedRepoNotFlagged_Header) XXX_Size() int { - return xxx_messageInfo_RequestWithNestedRepoNotFlagged_Header.Size(m) + +func (x *RequestWithNestedRepoNotFlagged_Header) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RequestWithNestedRepoNotFlagged_Header) XXX_DiscardUnknown() { - xxx_messageInfo_RequestWithNestedRepoNotFlagged_Header.DiscardUnknown(m) + +func (*RequestWithNestedRepoNotFlagged_Header) ProtoMessage() {} + +func (x *RequestWithNestedRepoNotFlagged_Header) ProtoReflect() protoreflect.Message { + mi := &file_go_internal_linter_testdata_invalid_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 mi.MessageOf(x) } -var xxx_messageInfo_RequestWithNestedRepoNotFlagged_Header proto.InternalMessageInfo +// Deprecated: Use RequestWithNestedRepoNotFlagged_Header.ProtoReflect.Descriptor instead. +func (*RequestWithNestedRepoNotFlagged_Header) Descriptor() ([]byte, []int) { + return file_go_internal_linter_testdata_invalid_proto_rawDescGZIP(), []int{11, 0} +} -func (m *RequestWithNestedRepoNotFlagged_Header) GetRepository() *gitalypb.Repository { - if m != nil { - return m.Repository +func (x *RequestWithNestedRepoNotFlagged_Header) GetRepository() *gitalypb.Repository { + if x != nil { + return x.Repository } return nil } -func init() { - proto.RegisterType((*InvalidMethodRequest)(nil), "test.InvalidMethodRequest") - proto.RegisterType((*InvalidMethodRequestWithRepo)(nil), "test.InvalidMethodRequestWithRepo") - proto.RegisterType((*InvalidTargetType)(nil), "test.InvalidTargetType") - proto.RegisterType((*InvalidMethodResponse)(nil), "test.InvalidMethodResponse") - proto.RegisterType((*InvalidNestedRequest)(nil), "test.InvalidNestedRequest") - proto.RegisterType((*RequestWithStorage)(nil), "test.RequestWithStorage") - proto.RegisterType((*RequestWithStorageAndRepo)(nil), "test.RequestWithStorageAndRepo") - proto.RegisterType((*RequestWithNestedStorageAndRepo)(nil), "test.RequestWithNestedStorageAndRepo") - proto.RegisterType((*RequestWithMultipleNestedStorage)(nil), "test.RequestWithMultipleNestedStorage") - proto.RegisterType((*RequestWithInnerNestedStorage)(nil), "test.RequestWithInnerNestedStorage") - proto.RegisterType((*RequestWithInnerNestedStorage_Header)(nil), "test.RequestWithInnerNestedStorage.Header") - proto.RegisterType((*RequestWithWrongTypeRepository)(nil), "test.RequestWithWrongTypeRepository") - proto.RegisterType((*RequestWithWrongTypeRepository_Header)(nil), "test.RequestWithWrongTypeRepository.Header") - proto.RegisterType((*RequestWithNestedRepoNotFlagged)(nil), "test.RequestWithNestedRepoNotFlagged") - proto.RegisterType((*RequestWithNestedRepoNotFlagged_Header)(nil), "test.RequestWithNestedRepoNotFlagged.Header") -} - -func init() { - proto.RegisterFile("go/internal/linter/testdata/invalid.proto", fileDescriptor_506a53e91b227711) -} - -var fileDescriptor_506a53e91b227711 = []byte{ - // 711 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x96, 0x5b, 0x4f, 0xd4, 0x40, - 0x14, 0xc7, 0xed, 0x66, 0xdd, 0x2c, 0x07, 0xf0, 0x32, 0x51, 0xc1, 0xf5, 0x02, 0xa9, 0xb7, 0x55, - 0x49, 0x17, 0x16, 0x54, 0x24, 0xf8, 0xc0, 0xc6, 0x18, 0x91, 0xb0, 0xea, 0x42, 0x42, 0xe2, 0x25, - 0x38, 0xd2, 0x93, 0x6e, 0x93, 0xd2, 0xd6, 0x99, 0x01, 0xb3, 0x6f, 0x3e, 0x1a, 0x9f, 0x7c, 0x12, - 0xbf, 0x83, 0x5f, 0xc0, 0x4f, 0xe0, 0xe7, 0xf1, 0x99, 0x07, 0x63, 0x7a, 0xd9, 0xa5, 0x9d, 0x4e, - 0xb1, 0xc2, 0x5b, 0x33, 0x3d, 0xe7, 0x7f, 0x7e, 0xf3, 0x3f, 0x73, 0x3a, 0x85, 0xdb, 0x96, 0xd7, - 0xb0, 0x5d, 0x81, 0xcc, 0xa5, 0x4e, 0xc3, 0x09, 0x9f, 0x1a, 0x02, 0xb9, 0x30, 0xa9, 0xa0, 0x0d, - 0xdb, 0xdd, 0xa5, 0x8e, 0x6d, 0x1a, 0x3e, 0xf3, 0x84, 0x47, 0xca, 0xc1, 0x7a, 0x0d, 0x82, 0xa0, - 0x68, 0xa5, 0x36, 0xc2, 0xbb, 0x94, 0x61, 0xfc, 0x5e, 0xbf, 0x00, 0xe7, 0x96, 0xa3, 0x84, 0x55, - 0x14, 0x5d, 0xcf, 0xec, 0xe0, 0x87, 0x1d, 0xe4, 0x42, 0x7f, 0x05, 0x97, 0x55, 0xeb, 0x1b, 0xb6, - 0xe8, 0x76, 0xd0, 0xf7, 0xc8, 0x02, 0x0c, 0x9b, 0xc8, 0x85, 0xed, 0x52, 0x61, 0x7b, 0xee, 0xb8, - 0x36, 0xa9, 0xd5, 0x87, 0x9b, 0xc4, 0xb0, 0x6c, 0x41, 0x9d, 0x9e, 0x11, 0x84, 0x70, 0x5b, 0x78, - 0xac, 0xd7, 0x2a, 0x7f, 0xff, 0x35, 0xa5, 0x75, 0x92, 0xc1, 0xfa, 0x3c, 0x9c, 0x8d, 0xb5, 0xd7, - 0x29, 0xb3, 0x50, 0xac, 0xf7, 0x7c, 0x24, 0xd7, 0x00, 0x3e, 0x32, 0xcf, 0xb5, 0x36, 0x45, 0xcf, - 0xc7, 0x50, 0xef, 0x64, 0x9c, 0x3b, 0x14, 0xae, 0x07, 0x41, 0xfa, 0x18, 0x9c, 0x97, 0xa8, 0xb8, - 0xef, 0xb9, 0x1c, 0xf5, 0xf5, 0xc1, 0x36, 0xda, 0xc8, 0x05, 0xf6, 0x71, 0xc9, 0x22, 0x8c, 0xda, - 0xae, 0x8b, 0x6c, 0x73, 0x1b, 0x39, 0xa7, 0x16, 0xc6, 0xa0, 0x63, 0x46, 0x60, 0x8b, 0x91, 0xa1, - 0xe8, 0x8c, 0x84, 0xd1, 0xab, 0x51, 0xb0, 0xce, 0x81, 0x24, 0xf6, 0xbd, 0x26, 0x3c, 0x46, 0x2d, - 0x24, 0xb7, 0x60, 0x84, 0x47, 0x8f, 0x9b, 0x2e, 0xdd, 0x8e, 0x24, 0x87, 0x5a, 0xe5, 0xcf, 0xe1, - 0x3e, 0xe3, 0x37, 0x6d, 0xba, 0x8d, 0x64, 0x2e, 0xed, 0x51, 0x29, 0xcf, 0xa3, 0xb4, 0x3b, 0x9f, - 0x34, 0xb8, 0x98, 0xad, 0xba, 0xe4, 0x9a, 0xa1, 0xef, 0x85, 0x8b, 0x2f, 0x14, 0x2c, 0xae, 0x6a, - 0x90, 0x05, 0x13, 0x09, 0x82, 0xc8, 0x51, 0x89, 0xe3, 0xb1, 0xda, 0xd8, 0x89, 0xc8, 0xd8, 0x5c, - 0x7e, 0xc9, 0xe0, 0x2f, 0x1a, 0x4c, 0x26, 0x62, 0x57, 0x77, 0x1c, 0x61, 0xfb, 0x0e, 0xa6, 0x2a, - 0x92, 0x47, 0xea, 0x52, 0xe3, 0x79, 0xa5, 0xd2, 0x35, 0x32, 0x8e, 0x95, 0x72, 0x1c, 0xd3, 0xbf, - 0x69, 0x70, 0x25, 0xa1, 0xb6, 0x1c, 0x88, 0xa4, 0x49, 0x5a, 0x50, 0xe9, 0x22, 0x35, 0x91, 0xc5, - 0x08, 0x77, 0x32, 0x08, 0xd9, 0x24, 0xe3, 0x69, 0x98, 0xd1, 0x89, 0x33, 0x6b, 0x33, 0x50, 0x89, - 0x56, 0x0a, 0xb7, 0x52, 0xff, 0xa9, 0xc1, 0xd5, 0x44, 0x8d, 0x8d, 0xfe, 0x38, 0x1c, 0x34, 0x91, - 0x2c, 0x4b, 0x64, 0x77, 0x33, 0x64, 0x8a, 0xac, 0x18, 0x2d, 0x3e, 0x01, 0x7d, 0xc0, 0x95, 0x01, - 0xe0, 0x12, 0x00, 0x1b, 0x04, 0xc7, 0xc2, 0x97, 0x52, 0x93, 0x93, 0x9e, 0xc2, 0x56, 0xf9, 0x6b, - 0x20, 0x94, 0x48, 0xd2, 0x7f, 0x68, 0x8a, 0xa3, 0x14, 0x10, 0xb4, 0x3d, 0xf1, 0xc4, 0xa1, 0x96, - 0x85, 0x26, 0x79, 0x26, 0xb1, 0x4f, 0x65, 0xd8, 0x55, 0x69, 0x6a, 0xf8, 0xc5, 0x01, 0x7c, 0x53, - 0x01, 0xaf, 0x9a, 0xbd, 0x44, 0x54, 0x73, 0x37, 0xf8, 0xe8, 0x09, 0x64, 0x5b, 0xe8, 0x0b, 0x34, - 0x83, 0xca, 0xcf, 0x7d, 0x64, 0xe1, 0x4c, 0x84, 0xdf, 0xa8, 0x17, 0x30, 0x9a, 0xda, 0x38, 0xa9, - 0x29, 0xdd, 0x08, 0xb9, 0x6b, 0x87, 0x39, 0xa5, 0x57, 0xf6, 0xf7, 0xea, 0xa5, 0x6a, 0xa9, 0x56, - 0xfe, 0xbd, 0x57, 0xd7, 0x9a, 0x7f, 0xaa, 0x70, 0x2a, 0x8e, 0x5b, 0x43, 0xb6, 0x6b, 0x6f, 0x21, - 0x59, 0x19, 0xac, 0x44, 0x99, 0xd3, 0x47, 0xaf, 0x75, 0x82, 0xbc, 0x94, 0xc4, 0x66, 0x8e, 0x0b, - 0x9e, 0x95, 0x6c, 0x1e, 0xdb, 0x8b, 0x8c, 0xe4, 0xdc, 0x71, 0x25, 0x35, 0xf2, 0x5a, 0x92, 0xbc, - 0x47, 0xae, 0x17, 0x19, 0x8c, 0x62, 0xe2, 0x6f, 0x24, 0xf1, 0xfb, 0xe4, 0x46, 0xa1, 0x93, 0x5b, - 0x4c, 0xbd, 0x2d, 0xa9, 0x3f, 0x20, 0x79, 0x97, 0x56, 0x31, 0x3d, 0xd9, 0xdd, 0x79, 0xc9, 0xdd, - 0xd4, 0xbd, 0x79, 0x34, 0x77, 0x1f, 0x12, 0x3d, 0xbf, 0x61, 0xfd, 0x3f, 0x87, 0xc3, 0xa5, 0xab, - 0xfb, 0x7b, 0xf5, 0x72, 0x55, 0x3b, 0x53, 0x22, 0x1b, 0x70, 0x3a, 0x7d, 0x66, 0xa7, 0xc9, 0xbf, - 0x2e, 0x97, 0x62, 0xc7, 0xec, 0xad, 0x2c, 0x3c, 0x93, 0xdb, 0xb7, 0xff, 0x97, 0x0f, 0x7c, 0x96, - 0xe4, 0x67, 0x8f, 0xd8, 0xb8, 0x03, 0x2b, 0xde, 0xc9, 0x92, 0x73, 0xe4, 0x66, 0x86, 0x58, 0x79, - 0x77, 0x16, 0xac, 0xf0, 0xbe, 0x12, 0xfe, 0x0c, 0xce, 0xfe, 0x0d, 0x00, 0x00, 0xff, 0xff, 0x76, - 0x6b, 0x7b, 0x04, 0x59, 0x0a, 0x00, 0x00, +var File_go_internal_linter_testdata_invalid_proto protoreflect.FileDescriptor + +var file_go_internal_linter_testdata_invalid_proto_rawDesc = []byte{ + 0x0a, 0x29, 0x67, 0x6f, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x6c, 0x69, + 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x69, 0x6e, + 0x76, 0x61, 0x6c, 0x69, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x04, 0x74, 0x65, 0x73, + 0x74, 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, 0x16, 0x0a, 0x14, 0x49, + 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x22, 0x5a, 0x0a, 0x1c, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x4d, 0x65, + 0x74, 0x68, 0x6f, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x57, 0x69, 0x74, 0x68, 0x52, + 0x65, 0x70, 0x6f, 0x12, 0x3a, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 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, 0x0b, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, + 0x38, 0x0a, 0x11, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, + 0x54, 0x79, 0x70, 0x65, 0x12, 0x23, 0x0a, 0x0a, 0x77, 0x72, 0x6f, 0x6e, 0x67, 0x5f, 0x74, 0x79, + 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x09, + 0x77, 0x72, 0x6f, 0x6e, 0x67, 0x54, 0x79, 0x70, 0x65, 0x22, 0x17, 0x0a, 0x15, 0x49, 0x6e, 0x76, + 0x61, 0x6c, 0x69, 0x64, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x54, 0x0a, 0x14, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x4e, 0x65, 0x73, + 0x74, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3c, 0x0a, 0x0d, 0x69, 0x6e, + 0x6e, 0x65, 0x72, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x17, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, + 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, 0x69, 0x6e, 0x6e, 0x65, + 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x73, 0x0a, 0x12, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x57, 0x69, 0x74, 0x68, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x12, 0x27, + 0x0a, 0x0c, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0x88, 0xc6, 0x2c, 0x01, 0x52, 0x0b, 0x73, 0x74, 0x6f, 0x72, + 0x61, 0x67, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x34, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x74, 0x69, + 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, 0x0b, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x80, 0x01, + 0x0a, 0x19, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x57, 0x69, 0x74, 0x68, 0x53, 0x74, 0x6f, + 0x72, 0x61, 0x67, 0x65, 0x41, 0x6e, 0x64, 0x52, 0x65, 0x70, 0x6f, 0x12, 0x27, 0x0a, 0x0c, 0x73, + 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x42, 0x04, 0x88, 0xc6, 0x2c, 0x01, 0x52, 0x0b, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, + 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3a, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 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, 0x42, 0x04, 0x98, + 0xc6, 0x2c, 0x01, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x22, 0x67, 0x0a, 0x1f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x57, 0x69, 0x74, 0x68, 0x4e, + 0x65, 0x73, 0x74, 0x65, 0x64, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x41, 0x6e, 0x64, 0x52, + 0x65, 0x70, 0x6f, 0x12, 0x44, 0x0a, 0x0d, 0x69, 0x6e, 0x6e, 0x65, 0x72, 0x5f, 0x6d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x74, 0x65, 0x73, + 0x74, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x57, 0x69, 0x74, 0x68, 0x53, 0x74, 0x6f, + 0x72, 0x61, 0x67, 0x65, 0x41, 0x6e, 0x64, 0x52, 0x65, 0x70, 0x6f, 0x52, 0x0c, 0x69, 0x6e, 0x6e, + 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x8a, 0x01, 0x0a, 0x20, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x57, 0x69, 0x74, 0x68, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, + 0x65, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x12, 0x3d, + 0x0a, 0x0d, 0x69, 0x6e, 0x6e, 0x65, 0x72, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x57, 0x69, 0x74, 0x68, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x52, + 0x0c, 0x69, 0x6e, 0x6e, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 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, 0x96, 0x01, 0x0a, 0x1d, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x57, 0x69, 0x74, 0x68, 0x49, 0x6e, 0x6e, 0x65, 0x72, 0x4e, 0x65, 0x73, 0x74, 0x65, + 0x64, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x12, 0x42, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, + 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x57, 0x69, 0x74, 0x68, 0x49, 0x6e, 0x6e, 0x65, 0x72, + 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x48, 0x65, + 0x61, 0x64, 0x65, 0x72, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x1a, 0x31, 0x0a, 0x06, + 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x27, 0x0a, 0x0c, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0x88, 0xc6, + 0x2c, 0x01, 0x52, 0x0b, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, + 0xb8, 0x01, 0x0a, 0x1e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x57, 0x69, 0x74, 0x68, 0x57, + 0x72, 0x6f, 0x6e, 0x67, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, + 0x72, 0x79, 0x12, 0x49, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x57, 0x69, 0x74, 0x68, 0x57, 0x72, 0x6f, 0x6e, 0x67, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, + 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x42, + 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x1a, 0x4b, 0x0a, + 0x06, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x41, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, + 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x74, 0x65, + 0x73, 0x74, 0x2e, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x04, 0x90, 0xc6, 0x2c, 0x01, 0x52, 0x0a, + 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x22, 0xab, 0x01, 0x0a, 0x1f, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x57, 0x69, 0x74, 0x68, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, + 0x52, 0x65, 0x70, 0x6f, 0x4e, 0x6f, 0x74, 0x46, 0x6c, 0x61, 0x67, 0x67, 0x65, 0x64, 0x12, 0x4a, + 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, + 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x57, 0x69, 0x74, + 0x68, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x65, 0x70, 0x6f, 0x4e, 0x6f, 0x74, 0x46, 0x6c, + 0x61, 0x67, 0x67, 0x65, 0x64, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x42, 0x04, 0x98, 0xc6, + 0x2c, 0x01, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x1a, 0x3c, 0x0a, 0x06, 0x48, 0x65, + 0x61, 0x64, 0x65, 0x72, 0x12, 0x32, 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, 0x52, 0x0a, 0x72, 0x65, + 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x32, 0x76, 0x0a, 0x1c, 0x49, 0x6e, 0x74, 0x65, + 0x72, 0x63, 0x65, 0x70, 0x74, 0x65, 0x64, 0x57, 0x69, 0x74, 0x68, 0x4f, 0x70, 0x65, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x50, 0x0a, 0x0d, 0x49, 0x6e, 0x76, 0x61, + 0x6c, 0x69, 0x64, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x1a, 0x2e, 0x74, 0x65, 0x73, 0x74, + 0x2e, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x49, 0x6e, 0x76, + 0x61, 0x6c, 0x69, 0x64, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x1a, 0x04, 0xf0, 0x97, 0x28, 0x01, + 0x32, 0xfe, 0x08, 0x0a, 0x0e, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x53, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x12, 0x4b, 0x0a, 0x0e, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x4d, 0x65, + 0x74, 0x68, 0x6f, 0x64, 0x30, 0x12, 0x1a, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x49, 0x6e, 0x76, + 0x61, 0x6c, 0x69, 0x64, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x1b, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, + 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, + 0x12, 0x51, 0x0a, 0x0e, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x4d, 0x65, 0x74, 0x68, 0x6f, + 0x64, 0x31, 0x12, 0x1a, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, + 0x64, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, + 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x4d, 0x65, 0x74, + 0x68, 0x6f, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, + 0x02, 0x08, 0x00, 0x12, 0x51, 0x0a, 0x0e, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x4d, 0x65, + 0x74, 0x68, 0x6f, 0x64, 0x32, 0x12, 0x1a, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x49, 0x6e, 0x76, + 0x61, 0x6c, 0x69, 0x64, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x1b, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, + 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, + 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x12, 0x51, 0x0a, 0x0e, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, + 0x64, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x34, 0x12, 0x1a, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, + 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x49, 0x6e, 0x76, 0x61, + 0x6c, 0x69, 0x64, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x5b, 0x0a, 0x0e, 0x49, 0x6e, 0x76, + 0x61, 0x6c, 0x69, 0x64, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x35, 0x12, 0x24, 0x2e, 0x74, 0x65, + 0x73, 0x74, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x57, 0x69, 0x74, 0x68, 0x57, 0x72, + 0x6f, 0x6e, 0x67, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, + 0x79, 0x1a, 0x1b, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, + 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, + 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x5c, 0x0a, 0x0e, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, + 0x64, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x36, 0x12, 0x25, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x57, 0x69, 0x74, 0x68, 0x4e, 0x65, 0x73, 0x74, 0x65, + 0x64, 0x52, 0x65, 0x70, 0x6f, 0x4e, 0x6f, 0x74, 0x46, 0x6c, 0x61, 0x67, 0x67, 0x65, 0x64, 0x1a, + 0x1b, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x4d, 0x65, + 0x74, 0x68, 0x6f, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, + 0x28, 0x02, 0x08, 0x01, 0x12, 0x4e, 0x0a, 0x0e, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x4d, + 0x65, 0x74, 0x68, 0x6f, 0x64, 0x37, 0x12, 0x17, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x49, 0x6e, + 0x76, 0x61, 0x6c, 0x69, 0x64, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x1a, + 0x1b, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x4d, 0x65, + 0x74, 0x68, 0x6f, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, + 0x28, 0x02, 0x08, 0x01, 0x12, 0x51, 0x0a, 0x0e, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x4d, + 0x65, 0x74, 0x68, 0x6f, 0x64, 0x38, 0x12, 0x1a, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x49, 0x6e, + 0x76, 0x61, 0x6c, 0x69, 0x64, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, + 0x64, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x5b, 0x0a, 0x0e, 0x49, 0x6e, 0x76, 0x61, 0x6c, + 0x69, 0x64, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x39, 0x12, 0x22, 0x2e, 0x74, 0x65, 0x73, 0x74, + 0x2e, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x57, 0x69, 0x74, 0x68, 0x52, 0x65, 0x70, 0x6f, 0x1a, 0x1b, 0x2e, + 0x74, 0x65, 0x73, 0x74, 0x2e, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x4d, 0x65, 0x74, 0x68, + 0x6f, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x08, 0xfa, 0x97, 0x28, 0x04, + 0x08, 0x01, 0x10, 0x02, 0x12, 0x57, 0x0a, 0x0f, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x4d, + 0x65, 0x74, 0x68, 0x6f, 0x64, 0x31, 0x30, 0x12, 0x1f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x57, 0x69, 0x74, 0x68, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, + 0x65, 0x41, 0x6e, 0x64, 0x52, 0x65, 0x70, 0x6f, 0x1a, 0x1b, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, + 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x12, 0x5d, 0x0a, + 0x0f, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x31, 0x31, + 0x12, 0x25, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x57, + 0x69, 0x74, 0x68, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, + 0x41, 0x6e, 0x64, 0x52, 0x65, 0x70, 0x6f, 0x1a, 0x1b, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x49, + 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x51, 0x0a, 0x0f, + 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x31, 0x33, 0x12, + 0x17, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x54, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x1a, 0x1b, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, + 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x08, 0xfa, 0x97, 0x28, 0x04, 0x08, 0x01, 0x10, 0x02, 0x12, + 0x60, 0x0a, 0x0f, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, + 0x31, 0x34, 0x12, 0x26, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x57, 0x69, 0x74, 0x68, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x4e, 0x65, 0x73, + 0x74, 0x65, 0x64, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x1a, 0x1b, 0x2e, 0x74, 0x65, 0x73, + 0x74, 0x2e, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x08, 0xfa, 0x97, 0x28, 0x04, 0x08, 0x01, 0x10, + 0x02, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_go_internal_linter_testdata_invalid_proto_rawDescOnce sync.Once + file_go_internal_linter_testdata_invalid_proto_rawDescData = file_go_internal_linter_testdata_invalid_proto_rawDesc +) + +func file_go_internal_linter_testdata_invalid_proto_rawDescGZIP() []byte { + file_go_internal_linter_testdata_invalid_proto_rawDescOnce.Do(func() { + file_go_internal_linter_testdata_invalid_proto_rawDescData = protoimpl.X.CompressGZIP(file_go_internal_linter_testdata_invalid_proto_rawDescData) + }) + return file_go_internal_linter_testdata_invalid_proto_rawDescData +} + +var file_go_internal_linter_testdata_invalid_proto_msgTypes = make([]protoimpl.MessageInfo, 15) +var file_go_internal_linter_testdata_invalid_proto_goTypes = []interface{}{ + (*InvalidMethodRequest)(nil), // 0: test.InvalidMethodRequest + (*InvalidMethodRequestWithRepo)(nil), // 1: test.InvalidMethodRequestWithRepo + (*InvalidTargetType)(nil), // 2: test.InvalidTargetType + (*InvalidMethodResponse)(nil), // 3: test.InvalidMethodResponse + (*InvalidNestedRequest)(nil), // 4: test.InvalidNestedRequest + (*RequestWithStorage)(nil), // 5: test.RequestWithStorage + (*RequestWithStorageAndRepo)(nil), // 6: test.RequestWithStorageAndRepo + (*RequestWithNestedStorageAndRepo)(nil), // 7: test.RequestWithNestedStorageAndRepo + (*RequestWithMultipleNestedStorage)(nil), // 8: test.RequestWithMultipleNestedStorage + (*RequestWithInnerNestedStorage)(nil), // 9: test.RequestWithInnerNestedStorage + (*RequestWithWrongTypeRepository)(nil), // 10: test.RequestWithWrongTypeRepository + (*RequestWithNestedRepoNotFlagged)(nil), // 11: test.RequestWithNestedRepoNotFlagged + (*RequestWithInnerNestedStorage_Header)(nil), // 12: test.RequestWithInnerNestedStorage.Header + (*RequestWithWrongTypeRepository_Header)(nil), // 13: test.RequestWithWrongTypeRepository.Header + (*RequestWithNestedRepoNotFlagged_Header)(nil), // 14: test.RequestWithNestedRepoNotFlagged.Header + (*gitalypb.Repository)(nil), // 15: gitaly.Repository +} +var file_go_internal_linter_testdata_invalid_proto_depIdxs = []int32{ + 15, // 0: test.InvalidMethodRequestWithRepo.destination:type_name -> gitaly.Repository + 2, // 1: test.InvalidNestedRequest.inner_message:type_name -> test.InvalidTargetType + 15, // 2: test.RequestWithStorage.destination:type_name -> gitaly.Repository + 15, // 3: test.RequestWithStorageAndRepo.destination:type_name -> gitaly.Repository + 6, // 4: test.RequestWithNestedStorageAndRepo.inner_message:type_name -> test.RequestWithStorageAndRepo + 5, // 5: test.RequestWithMultipleNestedStorage.inner_message:type_name -> test.RequestWithStorage + 12, // 6: test.RequestWithInnerNestedStorage.header:type_name -> test.RequestWithInnerNestedStorage.Header + 13, // 7: test.RequestWithWrongTypeRepository.header:type_name -> test.RequestWithWrongTypeRepository.Header + 14, // 8: test.RequestWithNestedRepoNotFlagged.header:type_name -> test.RequestWithNestedRepoNotFlagged.Header + 3, // 9: test.RequestWithWrongTypeRepository.Header.repository:type_name -> test.InvalidMethodResponse + 15, // 10: test.RequestWithNestedRepoNotFlagged.Header.repository:type_name -> gitaly.Repository + 0, // 11: test.InterceptedWithOperationType.InvalidMethod:input_type -> test.InvalidMethodRequest + 0, // 12: test.InvalidService.InvalidMethod0:input_type -> test.InvalidMethodRequest + 0, // 13: test.InvalidService.InvalidMethod1:input_type -> test.InvalidMethodRequest + 0, // 14: test.InvalidService.InvalidMethod2:input_type -> test.InvalidMethodRequest + 0, // 15: test.InvalidService.InvalidMethod4:input_type -> test.InvalidMethodRequest + 10, // 16: test.InvalidService.InvalidMethod5:input_type -> test.RequestWithWrongTypeRepository + 11, // 17: test.InvalidService.InvalidMethod6:input_type -> test.RequestWithNestedRepoNotFlagged + 2, // 18: test.InvalidService.InvalidMethod7:input_type -> test.InvalidTargetType + 4, // 19: test.InvalidService.InvalidMethod8:input_type -> test.InvalidNestedRequest + 1, // 20: test.InvalidService.InvalidMethod9:input_type -> test.InvalidMethodRequestWithRepo + 6, // 21: test.InvalidService.InvalidMethod10:input_type -> test.RequestWithStorageAndRepo + 7, // 22: test.InvalidService.InvalidMethod11:input_type -> test.RequestWithNestedStorageAndRepo + 2, // 23: test.InvalidService.InvalidMethod13:input_type -> test.InvalidTargetType + 8, // 24: test.InvalidService.InvalidMethod14:input_type -> test.RequestWithMultipleNestedStorage + 3, // 25: test.InterceptedWithOperationType.InvalidMethod:output_type -> test.InvalidMethodResponse + 3, // 26: test.InvalidService.InvalidMethod0:output_type -> test.InvalidMethodResponse + 3, // 27: test.InvalidService.InvalidMethod1:output_type -> test.InvalidMethodResponse + 3, // 28: test.InvalidService.InvalidMethod2:output_type -> test.InvalidMethodResponse + 3, // 29: test.InvalidService.InvalidMethod4:output_type -> test.InvalidMethodResponse + 3, // 30: test.InvalidService.InvalidMethod5:output_type -> test.InvalidMethodResponse + 3, // 31: test.InvalidService.InvalidMethod6:output_type -> test.InvalidMethodResponse + 3, // 32: test.InvalidService.InvalidMethod7:output_type -> test.InvalidMethodResponse + 3, // 33: test.InvalidService.InvalidMethod8:output_type -> test.InvalidMethodResponse + 3, // 34: test.InvalidService.InvalidMethod9:output_type -> test.InvalidMethodResponse + 3, // 35: test.InvalidService.InvalidMethod10:output_type -> test.InvalidMethodResponse + 3, // 36: test.InvalidService.InvalidMethod11:output_type -> test.InvalidMethodResponse + 3, // 37: test.InvalidService.InvalidMethod13:output_type -> test.InvalidMethodResponse + 3, // 38: test.InvalidService.InvalidMethod14:output_type -> test.InvalidMethodResponse + 25, // [25:39] is the sub-list for method output_type + 11, // [11:25] is the sub-list for method input_type + 11, // [11:11] is the sub-list for extension type_name + 11, // [11:11] is the sub-list for extension extendee + 0, // [0:11] is the sub-list for field type_name +} + +func init() { file_go_internal_linter_testdata_invalid_proto_init() } +func file_go_internal_linter_testdata_invalid_proto_init() { + if File_go_internal_linter_testdata_invalid_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_go_internal_linter_testdata_invalid_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InvalidMethodRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_go_internal_linter_testdata_invalid_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InvalidMethodRequestWithRepo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_go_internal_linter_testdata_invalid_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InvalidTargetType); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_go_internal_linter_testdata_invalid_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InvalidMethodResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_go_internal_linter_testdata_invalid_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InvalidNestedRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_go_internal_linter_testdata_invalid_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RequestWithStorage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_go_internal_linter_testdata_invalid_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RequestWithStorageAndRepo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_go_internal_linter_testdata_invalid_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RequestWithNestedStorageAndRepo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_go_internal_linter_testdata_invalid_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RequestWithMultipleNestedStorage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_go_internal_linter_testdata_invalid_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RequestWithInnerNestedStorage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_go_internal_linter_testdata_invalid_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RequestWithWrongTypeRepository); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_go_internal_linter_testdata_invalid_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RequestWithNestedRepoNotFlagged); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_go_internal_linter_testdata_invalid_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RequestWithInnerNestedStorage_Header); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_go_internal_linter_testdata_invalid_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RequestWithWrongTypeRepository_Header); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_go_internal_linter_testdata_invalid_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RequestWithNestedRepoNotFlagged_Header); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_go_internal_linter_testdata_invalid_proto_rawDesc, + NumEnums: 0, + NumMessages: 15, + NumExtensions: 0, + NumServices: 2, + }, + GoTypes: file_go_internal_linter_testdata_invalid_proto_goTypes, + DependencyIndexes: file_go_internal_linter_testdata_invalid_proto_depIdxs, + MessageInfos: file_go_internal_linter_testdata_invalid_proto_msgTypes, + }.Build() + File_go_internal_linter_testdata_invalid_proto = out.File + file_go_internal_linter_testdata_invalid_proto_rawDesc = nil + file_go_internal_linter_testdata_invalid_proto_goTypes = nil + file_go_internal_linter_testdata_invalid_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConn +var _ grpc.ClientConnInterface // 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 +const _ = grpc.SupportPackageIsVersion6 // InterceptedWithOperationTypeClient is the client API for InterceptedWithOperationType service. // @@ -708,10 +1214,10 @@ type InterceptedWithOperationTypeClient interface { } type interceptedWithOperationTypeClient struct { - cc *grpc.ClientConn + cc grpc.ClientConnInterface } -func NewInterceptedWithOperationTypeClient(cc *grpc.ClientConn) InterceptedWithOperationTypeClient { +func NewInterceptedWithOperationTypeClient(cc grpc.ClientConnInterface) InterceptedWithOperationTypeClient { return &interceptedWithOperationTypeClient{cc} } @@ -734,7 +1240,7 @@ type InterceptedWithOperationTypeServer interface { type UnimplementedInterceptedWithOperationTypeServer struct { } -func (*UnimplementedInterceptedWithOperationTypeServer) InvalidMethod(ctx context.Context, req *InvalidMethodRequest) (*InvalidMethodResponse, error) { +func (*UnimplementedInterceptedWithOperationTypeServer) InvalidMethod(context.Context, *InvalidMethodRequest) (*InvalidMethodResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method InvalidMethod not implemented") } @@ -806,10 +1312,10 @@ type InvalidServiceClient interface { } type invalidServiceClient struct { - cc *grpc.ClientConn + cc grpc.ClientConnInterface } -func NewInvalidServiceClient(cc *grpc.ClientConn) InvalidServiceClient { +func NewInvalidServiceClient(cc grpc.ClientConnInterface) InvalidServiceClient { return &invalidServiceClient{cc} } @@ -964,43 +1470,43 @@ type InvalidServiceServer interface { type UnimplementedInvalidServiceServer struct { } -func (*UnimplementedInvalidServiceServer) InvalidMethod0(ctx context.Context, req *InvalidMethodRequest) (*InvalidMethodResponse, error) { +func (*UnimplementedInvalidServiceServer) InvalidMethod0(context.Context, *InvalidMethodRequest) (*InvalidMethodResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method InvalidMethod0 not implemented") } -func (*UnimplementedInvalidServiceServer) InvalidMethod1(ctx context.Context, req *InvalidMethodRequest) (*InvalidMethodResponse, error) { +func (*UnimplementedInvalidServiceServer) InvalidMethod1(context.Context, *InvalidMethodRequest) (*InvalidMethodResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method InvalidMethod1 not implemented") } -func (*UnimplementedInvalidServiceServer) InvalidMethod2(ctx context.Context, req *InvalidMethodRequest) (*InvalidMethodResponse, error) { +func (*UnimplementedInvalidServiceServer) InvalidMethod2(context.Context, *InvalidMethodRequest) (*InvalidMethodResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method InvalidMethod2 not implemented") } -func (*UnimplementedInvalidServiceServer) InvalidMethod4(ctx context.Context, req *InvalidMethodRequest) (*InvalidMethodResponse, error) { +func (*UnimplementedInvalidServiceServer) InvalidMethod4(context.Context, *InvalidMethodRequest) (*InvalidMethodResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method InvalidMethod4 not implemented") } -func (*UnimplementedInvalidServiceServer) InvalidMethod5(ctx context.Context, req *RequestWithWrongTypeRepository) (*InvalidMethodResponse, error) { +func (*UnimplementedInvalidServiceServer) InvalidMethod5(context.Context, *RequestWithWrongTypeRepository) (*InvalidMethodResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method InvalidMethod5 not implemented") } -func (*UnimplementedInvalidServiceServer) InvalidMethod6(ctx context.Context, req *RequestWithNestedRepoNotFlagged) (*InvalidMethodResponse, error) { +func (*UnimplementedInvalidServiceServer) InvalidMethod6(context.Context, *RequestWithNestedRepoNotFlagged) (*InvalidMethodResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method InvalidMethod6 not implemented") } -func (*UnimplementedInvalidServiceServer) InvalidMethod7(ctx context.Context, req *InvalidTargetType) (*InvalidMethodResponse, error) { +func (*UnimplementedInvalidServiceServer) InvalidMethod7(context.Context, *InvalidTargetType) (*InvalidMethodResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method InvalidMethod7 not implemented") } -func (*UnimplementedInvalidServiceServer) InvalidMethod8(ctx context.Context, req *InvalidNestedRequest) (*InvalidMethodResponse, error) { +func (*UnimplementedInvalidServiceServer) InvalidMethod8(context.Context, *InvalidNestedRequest) (*InvalidMethodResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method InvalidMethod8 not implemented") } -func (*UnimplementedInvalidServiceServer) InvalidMethod9(ctx context.Context, req *InvalidMethodRequestWithRepo) (*InvalidMethodResponse, error) { +func (*UnimplementedInvalidServiceServer) InvalidMethod9(context.Context, *InvalidMethodRequestWithRepo) (*InvalidMethodResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method InvalidMethod9 not implemented") } -func (*UnimplementedInvalidServiceServer) InvalidMethod10(ctx context.Context, req *RequestWithStorageAndRepo) (*InvalidMethodResponse, error) { +func (*UnimplementedInvalidServiceServer) InvalidMethod10(context.Context, *RequestWithStorageAndRepo) (*InvalidMethodResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method InvalidMethod10 not implemented") } -func (*UnimplementedInvalidServiceServer) InvalidMethod11(ctx context.Context, req *RequestWithNestedStorageAndRepo) (*InvalidMethodResponse, error) { +func (*UnimplementedInvalidServiceServer) InvalidMethod11(context.Context, *RequestWithNestedStorageAndRepo) (*InvalidMethodResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method InvalidMethod11 not implemented") } -func (*UnimplementedInvalidServiceServer) InvalidMethod13(ctx context.Context, req *InvalidTargetType) (*InvalidMethodResponse, error) { +func (*UnimplementedInvalidServiceServer) InvalidMethod13(context.Context, *InvalidTargetType) (*InvalidMethodResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method InvalidMethod13 not implemented") } -func (*UnimplementedInvalidServiceServer) InvalidMethod14(ctx context.Context, req *RequestWithMultipleNestedStorage) (*InvalidMethodResponse, error) { +func (*UnimplementedInvalidServiceServer) InvalidMethod14(context.Context, *RequestWithMultipleNestedStorage) (*InvalidMethodResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method InvalidMethod14 not implemented") } diff --git a/proto/go/internal/linter/testdata/valid.pb.go b/proto/go/internal/linter/testdata/valid.pb.go index 371b007b2..cd3c9dd6a 100644 --- a/proto/go/internal/linter/testdata/valid.pb.go +++ b/proto/go/internal/linter/testdata/valid.pb.go @@ -1,506 +1,861 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc v3.12.4 // source: go/internal/linter/testdata/valid.proto package test import ( context "context" - fmt "fmt" proto "github.com/golang/protobuf/proto" gitalypb "gitlab.com/gitlab-org/gitaly/proto/go/gitalypb" 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 +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) +) -// 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 +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 type ValidRequest struct { - Destination *gitalypb.Repository `protobuf:"bytes,1,opt,name=destination,proto3" json:"destination,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *ValidRequest) Reset() { *m = ValidRequest{} } -func (m *ValidRequest) String() string { return proto.CompactTextString(m) } -func (*ValidRequest) ProtoMessage() {} -func (*ValidRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_7058768ff0db2cf7, []int{0} + Destination *gitalypb.Repository `protobuf:"bytes,1,opt,name=destination,proto3" json:"destination,omitempty"` } -func (m *ValidRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ValidRequest.Unmarshal(m, b) -} -func (m *ValidRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ValidRequest.Marshal(b, m, deterministic) -} -func (m *ValidRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ValidRequest.Merge(m, src) +func (x *ValidRequest) Reset() { + *x = ValidRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_go_internal_linter_testdata_valid_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ValidRequest) XXX_Size() int { - return xxx_messageInfo_ValidRequest.Size(m) + +func (x *ValidRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ValidRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ValidRequest.DiscardUnknown(m) + +func (*ValidRequest) ProtoMessage() {} + +func (x *ValidRequest) ProtoReflect() protoreflect.Message { + mi := &file_go_internal_linter_testdata_valid_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_ValidRequest proto.InternalMessageInfo +// Deprecated: Use ValidRequest.ProtoReflect.Descriptor instead. +func (*ValidRequest) Descriptor() ([]byte, []int) { + return file_go_internal_linter_testdata_valid_proto_rawDescGZIP(), []int{0} +} -func (m *ValidRequest) GetDestination() *gitalypb.Repository { - if m != nil { - return m.Destination +func (x *ValidRequest) GetDestination() *gitalypb.Repository { + if x != nil { + return x.Destination } return nil } type ValidRequestWithoutRepo struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *ValidRequestWithoutRepo) Reset() { *m = ValidRequestWithoutRepo{} } -func (m *ValidRequestWithoutRepo) String() string { return proto.CompactTextString(m) } -func (*ValidRequestWithoutRepo) ProtoMessage() {} -func (*ValidRequestWithoutRepo) Descriptor() ([]byte, []int) { - return fileDescriptor_7058768ff0db2cf7, []int{1} +func (x *ValidRequestWithoutRepo) Reset() { + *x = ValidRequestWithoutRepo{} + if protoimpl.UnsafeEnabled { + mi := &file_go_internal_linter_testdata_valid_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ValidRequestWithoutRepo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ValidRequestWithoutRepo.Unmarshal(m, b) -} -func (m *ValidRequestWithoutRepo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ValidRequestWithoutRepo.Marshal(b, m, deterministic) -} -func (m *ValidRequestWithoutRepo) XXX_Merge(src proto.Message) { - xxx_messageInfo_ValidRequestWithoutRepo.Merge(m, src) -} -func (m *ValidRequestWithoutRepo) XXX_Size() int { - return xxx_messageInfo_ValidRequestWithoutRepo.Size(m) -} -func (m *ValidRequestWithoutRepo) XXX_DiscardUnknown() { - xxx_messageInfo_ValidRequestWithoutRepo.DiscardUnknown(m) +func (x *ValidRequestWithoutRepo) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_ValidRequestWithoutRepo proto.InternalMessageInfo +func (*ValidRequestWithoutRepo) ProtoMessage() {} -type ValidStorageRequest struct { - StorageName string `protobuf:"bytes,1,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *ValidRequestWithoutRepo) ProtoReflect() protoreflect.Message { + mi := &file_go_internal_linter_testdata_valid_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 *ValidStorageRequest) Reset() { *m = ValidStorageRequest{} } -func (m *ValidStorageRequest) String() string { return proto.CompactTextString(m) } -func (*ValidStorageRequest) ProtoMessage() {} -func (*ValidStorageRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_7058768ff0db2cf7, []int{2} +// Deprecated: Use ValidRequestWithoutRepo.ProtoReflect.Descriptor instead. +func (*ValidRequestWithoutRepo) Descriptor() ([]byte, []int) { + return file_go_internal_linter_testdata_valid_proto_rawDescGZIP(), []int{1} } -func (m *ValidStorageRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ValidStorageRequest.Unmarshal(m, b) -} -func (m *ValidStorageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ValidStorageRequest.Marshal(b, m, deterministic) +type ValidStorageRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + StorageName string `protobuf:"bytes,1,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"` } -func (m *ValidStorageRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ValidStorageRequest.Merge(m, src) + +func (x *ValidStorageRequest) Reset() { + *x = ValidStorageRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_go_internal_linter_testdata_valid_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ValidStorageRequest) XXX_Size() int { - return xxx_messageInfo_ValidStorageRequest.Size(m) + +func (x *ValidStorageRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ValidStorageRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ValidStorageRequest.DiscardUnknown(m) + +func (*ValidStorageRequest) ProtoMessage() {} + +func (x *ValidStorageRequest) ProtoReflect() protoreflect.Message { + mi := &file_go_internal_linter_testdata_valid_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_ValidStorageRequest proto.InternalMessageInfo +// Deprecated: Use ValidStorageRequest.ProtoReflect.Descriptor instead. +func (*ValidStorageRequest) Descriptor() ([]byte, []int) { + return file_go_internal_linter_testdata_valid_proto_rawDescGZIP(), []int{2} +} -func (m *ValidStorageRequest) GetStorageName() string { - if m != nil { - return m.StorageName +func (x *ValidStorageRequest) GetStorageName() string { + if x != nil { + return x.StorageName } return "" } type ValidResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *ValidResponse) Reset() { *m = ValidResponse{} } -func (m *ValidResponse) String() string { return proto.CompactTextString(m) } -func (*ValidResponse) ProtoMessage() {} -func (*ValidResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_7058768ff0db2cf7, []int{3} +func (x *ValidResponse) Reset() { + *x = ValidResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_go_internal_linter_testdata_valid_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ValidResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ValidResponse.Unmarshal(m, b) -} -func (m *ValidResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ValidResponse.Marshal(b, m, deterministic) -} -func (m *ValidResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ValidResponse.Merge(m, src) -} -func (m *ValidResponse) XXX_Size() int { - return xxx_messageInfo_ValidResponse.Size(m) -} -func (m *ValidResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ValidResponse.DiscardUnknown(m) +func (x *ValidResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_ValidResponse proto.InternalMessageInfo +func (*ValidResponse) ProtoMessage() {} -type ValidNestedRequest struct { - InnerMessage *ValidRequest `protobuf:"bytes,1,opt,name=inner_message,json=innerMessage,proto3" json:"inner_message,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *ValidResponse) ProtoReflect() protoreflect.Message { + mi := &file_go_internal_linter_testdata_valid_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) } -func (m *ValidNestedRequest) Reset() { *m = ValidNestedRequest{} } -func (m *ValidNestedRequest) String() string { return proto.CompactTextString(m) } -func (*ValidNestedRequest) ProtoMessage() {} -func (*ValidNestedRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_7058768ff0db2cf7, []int{4} +// Deprecated: Use ValidResponse.ProtoReflect.Descriptor instead. +func (*ValidResponse) Descriptor() ([]byte, []int) { + return file_go_internal_linter_testdata_valid_proto_rawDescGZIP(), []int{3} } -func (m *ValidNestedRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ValidNestedRequest.Unmarshal(m, b) -} -func (m *ValidNestedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ValidNestedRequest.Marshal(b, m, deterministic) +type ValidNestedRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + InnerMessage *ValidRequest `protobuf:"bytes,1,opt,name=inner_message,json=innerMessage,proto3" json:"inner_message,omitempty"` } -func (m *ValidNestedRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ValidNestedRequest.Merge(m, src) + +func (x *ValidNestedRequest) Reset() { + *x = ValidNestedRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_go_internal_linter_testdata_valid_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ValidNestedRequest) XXX_Size() int { - return xxx_messageInfo_ValidNestedRequest.Size(m) + +func (x *ValidNestedRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ValidNestedRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ValidNestedRequest.DiscardUnknown(m) + +func (*ValidNestedRequest) ProtoMessage() {} + +func (x *ValidNestedRequest) ProtoReflect() protoreflect.Message { + mi := &file_go_internal_linter_testdata_valid_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_ValidNestedRequest proto.InternalMessageInfo +// Deprecated: Use ValidNestedRequest.ProtoReflect.Descriptor instead. +func (*ValidNestedRequest) Descriptor() ([]byte, []int) { + return file_go_internal_linter_testdata_valid_proto_rawDescGZIP(), []int{4} +} -func (m *ValidNestedRequest) GetInnerMessage() *ValidRequest { - if m != nil { - return m.InnerMessage +func (x *ValidNestedRequest) GetInnerMessage() *ValidRequest { + if x != nil { + return x.InnerMessage } return nil } type ValidStorageNestedRequest struct { - InnerMessage *ValidStorageRequest `protobuf:"bytes,1,opt,name=inner_message,json=innerMessage,proto3" json:"inner_message,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *ValidStorageNestedRequest) Reset() { *m = ValidStorageNestedRequest{} } -func (m *ValidStorageNestedRequest) String() string { return proto.CompactTextString(m) } -func (*ValidStorageNestedRequest) ProtoMessage() {} -func (*ValidStorageNestedRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_7058768ff0db2cf7, []int{5} + InnerMessage *ValidStorageRequest `protobuf:"bytes,1,opt,name=inner_message,json=innerMessage,proto3" json:"inner_message,omitempty"` } -func (m *ValidStorageNestedRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ValidStorageNestedRequest.Unmarshal(m, b) -} -func (m *ValidStorageNestedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ValidStorageNestedRequest.Marshal(b, m, deterministic) -} -func (m *ValidStorageNestedRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ValidStorageNestedRequest.Merge(m, src) +func (x *ValidStorageNestedRequest) Reset() { + *x = ValidStorageNestedRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_go_internal_linter_testdata_valid_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ValidStorageNestedRequest) XXX_Size() int { - return xxx_messageInfo_ValidStorageNestedRequest.Size(m) + +func (x *ValidStorageNestedRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ValidStorageNestedRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ValidStorageNestedRequest.DiscardUnknown(m) + +func (*ValidStorageNestedRequest) ProtoMessage() {} + +func (x *ValidStorageNestedRequest) ProtoReflect() protoreflect.Message { + mi := &file_go_internal_linter_testdata_valid_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_ValidStorageNestedRequest proto.InternalMessageInfo +// Deprecated: Use ValidStorageNestedRequest.ProtoReflect.Descriptor instead. +func (*ValidStorageNestedRequest) Descriptor() ([]byte, []int) { + return file_go_internal_linter_testdata_valid_proto_rawDescGZIP(), []int{5} +} -func (m *ValidStorageNestedRequest) GetInnerMessage() *ValidStorageRequest { - if m != nil { - return m.InnerMessage +func (x *ValidStorageNestedRequest) GetInnerMessage() *ValidStorageRequest { + if x != nil { + return x.InnerMessage } return nil } type ValidNestedSharedRequest struct { - NestedTargetRepo *gitalypb.ObjectPool `protobuf:"bytes,1,opt,name=nested_target_repo,json=nestedTargetRepo,proto3" json:"nested_target_repo,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *ValidNestedSharedRequest) Reset() { *m = ValidNestedSharedRequest{} } -func (m *ValidNestedSharedRequest) String() string { return proto.CompactTextString(m) } -func (*ValidNestedSharedRequest) ProtoMessage() {} -func (*ValidNestedSharedRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_7058768ff0db2cf7, []int{6} + NestedTargetRepo *gitalypb.ObjectPool `protobuf:"bytes,1,opt,name=nested_target_repo,json=nestedTargetRepo,proto3" json:"nested_target_repo,omitempty"` } -func (m *ValidNestedSharedRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ValidNestedSharedRequest.Unmarshal(m, b) -} -func (m *ValidNestedSharedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ValidNestedSharedRequest.Marshal(b, m, deterministic) -} -func (m *ValidNestedSharedRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ValidNestedSharedRequest.Merge(m, src) +func (x *ValidNestedSharedRequest) Reset() { + *x = ValidNestedSharedRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_go_internal_linter_testdata_valid_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ValidNestedSharedRequest) XXX_Size() int { - return xxx_messageInfo_ValidNestedSharedRequest.Size(m) + +func (x *ValidNestedSharedRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ValidNestedSharedRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ValidNestedSharedRequest.DiscardUnknown(m) + +func (*ValidNestedSharedRequest) ProtoMessage() {} + +func (x *ValidNestedSharedRequest) ProtoReflect() protoreflect.Message { + mi := &file_go_internal_linter_testdata_valid_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_ValidNestedSharedRequest proto.InternalMessageInfo +// Deprecated: Use ValidNestedSharedRequest.ProtoReflect.Descriptor instead. +func (*ValidNestedSharedRequest) Descriptor() ([]byte, []int) { + return file_go_internal_linter_testdata_valid_proto_rawDescGZIP(), []int{6} +} -func (m *ValidNestedSharedRequest) GetNestedTargetRepo() *gitalypb.ObjectPool { - if m != nil { - return m.NestedTargetRepo +func (x *ValidNestedSharedRequest) GetNestedTargetRepo() *gitalypb.ObjectPool { + if x != nil { + return x.NestedTargetRepo } return nil } type ValidInnerNestedRequest struct { - Header *ValidInnerNestedRequest_Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *ValidInnerNestedRequest) Reset() { *m = ValidInnerNestedRequest{} } -func (m *ValidInnerNestedRequest) String() string { return proto.CompactTextString(m) } -func (*ValidInnerNestedRequest) ProtoMessage() {} -func (*ValidInnerNestedRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_7058768ff0db2cf7, []int{7} + Header *ValidInnerNestedRequest_Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` } -func (m *ValidInnerNestedRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ValidInnerNestedRequest.Unmarshal(m, b) -} -func (m *ValidInnerNestedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ValidInnerNestedRequest.Marshal(b, m, deterministic) -} -func (m *ValidInnerNestedRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ValidInnerNestedRequest.Merge(m, src) -} -func (m *ValidInnerNestedRequest) XXX_Size() int { - return xxx_messageInfo_ValidInnerNestedRequest.Size(m) +func (x *ValidInnerNestedRequest) Reset() { + *x = ValidInnerNestedRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_go_internal_linter_testdata_valid_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ValidInnerNestedRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ValidInnerNestedRequest.DiscardUnknown(m) + +func (x *ValidInnerNestedRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_ValidInnerNestedRequest proto.InternalMessageInfo +func (*ValidInnerNestedRequest) ProtoMessage() {} -func (m *ValidInnerNestedRequest) GetHeader() *ValidInnerNestedRequest_Header { - if m != nil { - return m.Header +func (x *ValidInnerNestedRequest) ProtoReflect() protoreflect.Message { + mi := &file_go_internal_linter_testdata_valid_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 nil + return mi.MessageOf(x) } -type ValidInnerNestedRequest_Header struct { - Destination *gitalypb.Repository `protobuf:"bytes,1,opt,name=destination,proto3" json:"destination,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +// Deprecated: Use ValidInnerNestedRequest.ProtoReflect.Descriptor instead. +func (*ValidInnerNestedRequest) Descriptor() ([]byte, []int) { + return file_go_internal_linter_testdata_valid_proto_rawDescGZIP(), []int{7} } -func (m *ValidInnerNestedRequest_Header) Reset() { *m = ValidInnerNestedRequest_Header{} } -func (m *ValidInnerNestedRequest_Header) String() string { return proto.CompactTextString(m) } -func (*ValidInnerNestedRequest_Header) ProtoMessage() {} -func (*ValidInnerNestedRequest_Header) Descriptor() ([]byte, []int) { - return fileDescriptor_7058768ff0db2cf7, []int{7, 0} +func (x *ValidInnerNestedRequest) GetHeader() *ValidInnerNestedRequest_Header { + if x != nil { + return x.Header + } + return nil } -func (m *ValidInnerNestedRequest_Header) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ValidInnerNestedRequest_Header.Unmarshal(m, b) -} -func (m *ValidInnerNestedRequest_Header) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ValidInnerNestedRequest_Header.Marshal(b, m, deterministic) -} -func (m *ValidInnerNestedRequest_Header) XXX_Merge(src proto.Message) { - xxx_messageInfo_ValidInnerNestedRequest_Header.Merge(m, src) +type ValidStorageInnerNestedRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Header *ValidStorageInnerNestedRequest_Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` } -func (m *ValidInnerNestedRequest_Header) XXX_Size() int { - return xxx_messageInfo_ValidInnerNestedRequest_Header.Size(m) + +func (x *ValidStorageInnerNestedRequest) Reset() { + *x = ValidStorageInnerNestedRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_go_internal_linter_testdata_valid_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ValidInnerNestedRequest_Header) XXX_DiscardUnknown() { - xxx_messageInfo_ValidInnerNestedRequest_Header.DiscardUnknown(m) + +func (x *ValidStorageInnerNestedRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_ValidInnerNestedRequest_Header proto.InternalMessageInfo +func (*ValidStorageInnerNestedRequest) ProtoMessage() {} -func (m *ValidInnerNestedRequest_Header) GetDestination() *gitalypb.Repository { - if m != nil { - return m.Destination +func (x *ValidStorageInnerNestedRequest) ProtoReflect() protoreflect.Message { + mi := &file_go_internal_linter_testdata_valid_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 nil + return mi.MessageOf(x) } -type ValidStorageInnerNestedRequest struct { - Header *ValidStorageInnerNestedRequest_Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ValidStorageInnerNestedRequest) Reset() { *m = ValidStorageInnerNestedRequest{} } -func (m *ValidStorageInnerNestedRequest) String() string { return proto.CompactTextString(m) } -func (*ValidStorageInnerNestedRequest) ProtoMessage() {} +// Deprecated: Use ValidStorageInnerNestedRequest.ProtoReflect.Descriptor instead. func (*ValidStorageInnerNestedRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_7058768ff0db2cf7, []int{8} + return file_go_internal_linter_testdata_valid_proto_rawDescGZIP(), []int{8} } -func (m *ValidStorageInnerNestedRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ValidStorageInnerNestedRequest.Unmarshal(m, b) +func (x *ValidStorageInnerNestedRequest) GetHeader() *ValidStorageInnerNestedRequest_Header { + if x != nil { + return x.Header + } + return nil } -func (m *ValidStorageInnerNestedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ValidStorageInnerNestedRequest.Marshal(b, m, deterministic) + +type ValidInnerNestedRequest_Header struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Destination *gitalypb.Repository `protobuf:"bytes,1,opt,name=destination,proto3" json:"destination,omitempty"` } -func (m *ValidStorageInnerNestedRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ValidStorageInnerNestedRequest.Merge(m, src) + +func (x *ValidInnerNestedRequest_Header) Reset() { + *x = ValidInnerNestedRequest_Header{} + if protoimpl.UnsafeEnabled { + mi := &file_go_internal_linter_testdata_valid_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ValidStorageInnerNestedRequest) XXX_Size() int { - return xxx_messageInfo_ValidStorageInnerNestedRequest.Size(m) + +func (x *ValidInnerNestedRequest_Header) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ValidStorageInnerNestedRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ValidStorageInnerNestedRequest.DiscardUnknown(m) + +func (*ValidInnerNestedRequest_Header) ProtoMessage() {} + +func (x *ValidInnerNestedRequest_Header) ProtoReflect() protoreflect.Message { + mi := &file_go_internal_linter_testdata_valid_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_ValidStorageInnerNestedRequest proto.InternalMessageInfo +// Deprecated: Use ValidInnerNestedRequest_Header.ProtoReflect.Descriptor instead. +func (*ValidInnerNestedRequest_Header) Descriptor() ([]byte, []int) { + return file_go_internal_linter_testdata_valid_proto_rawDescGZIP(), []int{7, 0} +} -func (m *ValidStorageInnerNestedRequest) GetHeader() *ValidStorageInnerNestedRequest_Header { - if m != nil { - return m.Header +func (x *ValidInnerNestedRequest_Header) GetDestination() *gitalypb.Repository { + if x != nil { + return x.Destination } return nil } type ValidStorageInnerNestedRequest_Header struct { - StorageName string `protobuf:"bytes,1,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *ValidStorageInnerNestedRequest_Header) Reset() { *m = ValidStorageInnerNestedRequest_Header{} } -func (m *ValidStorageInnerNestedRequest_Header) String() string { return proto.CompactTextString(m) } -func (*ValidStorageInnerNestedRequest_Header) ProtoMessage() {} -func (*ValidStorageInnerNestedRequest_Header) Descriptor() ([]byte, []int) { - return fileDescriptor_7058768ff0db2cf7, []int{8, 0} + StorageName string `protobuf:"bytes,1,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"` } -func (m *ValidStorageInnerNestedRequest_Header) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ValidStorageInnerNestedRequest_Header.Unmarshal(m, b) -} -func (m *ValidStorageInnerNestedRequest_Header) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ValidStorageInnerNestedRequest_Header.Marshal(b, m, deterministic) -} -func (m *ValidStorageInnerNestedRequest_Header) XXX_Merge(src proto.Message) { - xxx_messageInfo_ValidStorageInnerNestedRequest_Header.Merge(m, src) +func (x *ValidStorageInnerNestedRequest_Header) Reset() { + *x = ValidStorageInnerNestedRequest_Header{} + if protoimpl.UnsafeEnabled { + mi := &file_go_internal_linter_testdata_valid_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ValidStorageInnerNestedRequest_Header) XXX_Size() int { - return xxx_messageInfo_ValidStorageInnerNestedRequest_Header.Size(m) + +func (x *ValidStorageInnerNestedRequest_Header) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ValidStorageInnerNestedRequest_Header) XXX_DiscardUnknown() { - xxx_messageInfo_ValidStorageInnerNestedRequest_Header.DiscardUnknown(m) + +func (*ValidStorageInnerNestedRequest_Header) ProtoMessage() {} + +func (x *ValidStorageInnerNestedRequest_Header) ProtoReflect() protoreflect.Message { + mi := &file_go_internal_linter_testdata_valid_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_ValidStorageInnerNestedRequest_Header proto.InternalMessageInfo +// Deprecated: Use ValidStorageInnerNestedRequest_Header.ProtoReflect.Descriptor instead. +func (*ValidStorageInnerNestedRequest_Header) Descriptor() ([]byte, []int) { + return file_go_internal_linter_testdata_valid_proto_rawDescGZIP(), []int{8, 0} +} -func (m *ValidStorageInnerNestedRequest_Header) GetStorageName() string { - if m != nil { - return m.StorageName +func (x *ValidStorageInnerNestedRequest_Header) GetStorageName() string { + if x != nil { + return x.StorageName } return "" } -func init() { - proto.RegisterType((*ValidRequest)(nil), "test.ValidRequest") - proto.RegisterType((*ValidRequestWithoutRepo)(nil), "test.ValidRequestWithoutRepo") - proto.RegisterType((*ValidStorageRequest)(nil), "test.ValidStorageRequest") - proto.RegisterType((*ValidResponse)(nil), "test.ValidResponse") - proto.RegisterType((*ValidNestedRequest)(nil), "test.ValidNestedRequest") - proto.RegisterType((*ValidStorageNestedRequest)(nil), "test.ValidStorageNestedRequest") - proto.RegisterType((*ValidNestedSharedRequest)(nil), "test.ValidNestedSharedRequest") - proto.RegisterType((*ValidInnerNestedRequest)(nil), "test.ValidInnerNestedRequest") - proto.RegisterType((*ValidInnerNestedRequest_Header)(nil), "test.ValidInnerNestedRequest.Header") - proto.RegisterType((*ValidStorageInnerNestedRequest)(nil), "test.ValidStorageInnerNestedRequest") - proto.RegisterType((*ValidStorageInnerNestedRequest_Header)(nil), "test.ValidStorageInnerNestedRequest.Header") -} - -func init() { - proto.RegisterFile("go/internal/linter/testdata/valid.proto", fileDescriptor_7058768ff0db2cf7) -} - -var fileDescriptor_7058768ff0db2cf7 = []byte{ - // 532 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x94, 0xc1, 0x6e, 0xd3, 0x4e, - 0x10, 0xc6, 0xe5, 0xc8, 0x8a, 0xf2, 0x9f, 0xa4, 0xfa, 0x57, 0xdb, 0x03, 0x49, 0x24, 0x0a, 0xb2, - 0x90, 0x1a, 0x09, 0xe4, 0x88, 0x54, 0xa5, 0x80, 0x20, 0x87, 0x52, 0x01, 0xa9, 0x94, 0x02, 0x6e, - 0x05, 0x07, 0x0e, 0xd1, 0x26, 0x1e, 0x39, 0x46, 0x8e, 0xd7, 0xec, 0x4e, 0x2b, 0xf5, 0x0d, 0x78, - 0x83, 0xf4, 0xc2, 0xcb, 0x70, 0xe0, 0x79, 0x38, 0xf7, 0x84, 0xbc, 0x76, 0xc2, 0x3a, 0x09, 0xa1, - 0x85, 0x5b, 0x34, 0x3b, 0xdf, 0x6f, 0xbf, 0x7c, 0x3b, 0x63, 0xd8, 0x09, 0x44, 0x3b, 0x8c, 0x09, - 0x65, 0xcc, 0xa3, 0x76, 0xa4, 0x7f, 0xb5, 0x09, 0x15, 0xf9, 0x9c, 0x78, 0xfb, 0x9c, 0x47, 0xa1, - 0xef, 0x26, 0x52, 0x90, 0x60, 0x76, 0x5a, 0x6d, 0x42, 0xda, 0x92, 0x55, 0x9a, 0x35, 0x35, 0xe6, - 0x12, 0xf3, 0x73, 0xe7, 0x08, 0x6a, 0xef, 0xd3, 0x76, 0x0f, 0x3f, 0x9f, 0xa1, 0x22, 0xf6, 0x14, - 0xaa, 0x3e, 0x2a, 0x0a, 0x63, 0x4e, 0xa1, 0x88, 0xeb, 0xd6, 0x5d, 0xab, 0x55, 0xed, 0x30, 0x37, - 0x08, 0x89, 0x47, 0x17, 0xae, 0x87, 0x89, 0x50, 0x21, 0x09, 0x79, 0x71, 0x60, 0x5f, 0x7e, 0x7f, - 0x60, 0x79, 0x66, 0xb3, 0xd3, 0x80, 0x5b, 0x26, 0xeb, 0x43, 0x48, 0x63, 0x71, 0x46, 0xa9, 0xc6, - 0xe9, 0xc2, 0x96, 0x3e, 0x3a, 0x21, 0x21, 0x79, 0x80, 0xb3, 0xdb, 0x76, 0xa0, 0xa6, 0xb2, 0xca, - 0x20, 0xe6, 0x13, 0xd4, 0xd7, 0xfd, 0x77, 0x60, 0x7f, 0xd1, 0xe8, 0xfc, 0xe4, 0x98, 0x4f, 0xd0, - 0xf9, 0x1f, 0x36, 0x72, 0xb4, 0x4a, 0x44, 0xac, 0xd0, 0xe9, 0x03, 0xd3, 0x85, 0x63, 0x54, 0x84, - 0x73, 0xf7, 0xfb, 0xb0, 0x11, 0xc6, 0x31, 0xca, 0xc1, 0x04, 0x95, 0xe2, 0x01, 0xce, 0xfd, 0xa7, - 0x29, 0xb8, 0xa6, 0x39, 0xaf, 0xa6, 0x1b, 0xfb, 0x59, 0x9f, 0xf3, 0x11, 0x1a, 0xa6, 0xbf, 0x22, - 0xb5, 0xbb, 0x9a, 0xda, 0x30, 0xa8, 0xc5, 0xff, 0xb5, 0x00, 0x1f, 0x42, 0xdd, 0xf0, 0x7a, 0xa2, - 0xe3, 0x9f, 0xb1, 0x5f, 0x02, 0x8b, 0x75, 0x79, 0x40, 0x5c, 0x06, 0x48, 0x03, 0x89, 0x89, 0x58, - 0x8c, 0xfd, 0xcd, 0xf0, 0x13, 0x8e, 0xe8, 0xad, 0x10, 0x51, 0x1e, 0xfb, 0x66, 0xa6, 0x39, 0xd5, - 0x12, 0x1d, 0xf0, 0x57, 0x2b, 0x0f, 0xbf, 0x97, 0xde, 0x5c, 0xf4, 0xff, 0x0c, 0xca, 0x63, 0xe4, - 0x3e, 0xca, 0x9c, 0x7b, 0xcf, 0x30, 0xbe, 0xdc, 0xee, 0xbe, 0xd6, 0xbd, 0x5e, 0xae, 0x69, 0x1e, - 0x42, 0x39, 0xab, 0xfc, 0xd3, 0x6c, 0x5c, 0x5a, 0xb0, 0x6d, 0x26, 0xb5, 0xc2, 0xe6, 0x8b, 0x05, - 0x9b, 0xf7, 0x97, 0xf3, 0xfd, 0xb3, 0xdb, 0x87, 0x73, 0xb7, 0xd7, 0x9d, 0xad, 0xce, 0x3b, 0x60, - 0xbd, 0x74, 0x81, 0x46, 0x98, 0xa4, 0xcf, 0x83, 0xf2, 0x3c, 0x1c, 0x21, 0xdb, 0x03, 0x38, 0x45, - 0x45, 0x7d, 0xa4, 0xb1, 0xf0, 0xd9, 0x8a, 0x09, 0x6a, 0x6e, 0x15, 0x6a, 0xd9, 0x5c, 0x36, 0xed, - 0x1f, 0xd3, 0x96, 0xd5, 0xf9, 0x66, 0xe7, 0x6b, 0x35, 0xa3, 0x3d, 0xff, 0x2b, 0x9a, 0x53, 0xbe, - 0x9a, 0xb6, 0x4a, 0x95, 0x12, 0xeb, 0x42, 0xf5, 0x97, 0xbc, 0x73, 0x53, 0xbd, 0x55, 0xd4, 0xef, - 0xde, 0x5c, 0x7f, 0x68, 0xea, 0xf7, 0x58, 0xdd, 0xe8, 0x2d, 0xbc, 0xc6, 0x7a, 0xca, 0x91, 0x49, - 0x79, 0xc4, 0xb6, 0x97, 0x28, 0x85, 0xd5, 0x58, 0xcf, 0xea, 0x99, 0xac, 0x7d, 0x76, 0x7b, 0xed, - 0x48, 0xaf, 0x47, 0xbd, 0x32, 0x51, 0x8f, 0xd9, 0xef, 0xd7, 0x7a, 0x35, 0xa6, 0x72, 0x35, 0x6d, - 0xd9, 0x15, 0x6b, 0xb3, 0xc4, 0xfa, 0x26, 0xe8, 0x09, 0xbb, 0xb3, 0x0c, 0xba, 0x86, 0xab, 0x39, - 0x6e, 0x58, 0xd6, 0x5f, 0xe8, 0xdd, 0x9f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x23, 0x7b, 0xb9, 0x87, - 0xec, 0x05, 0x00, 0x00, +var File_go_internal_linter_testdata_valid_proto protoreflect.FileDescriptor + +var file_go_internal_linter_testdata_valid_proto_rawDesc = []byte{ + 0x0a, 0x27, 0x67, 0x6f, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x6c, 0x69, + 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x76, 0x61, + 0x6c, 0x69, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x04, 0x74, 0x65, 0x73, 0x74, 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, 0x4a, 0x0a, 0x0c, 0x56, 0x61, 0x6c, + 0x69, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3a, 0x0a, 0x0b, 0x64, 0x65, 0x73, + 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, 0x0b, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x19, 0x0a, 0x17, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x57, 0x69, 0x74, 0x68, 0x6f, 0x75, 0x74, 0x52, 0x65, 0x70, 0x6f, + 0x22, 0x3e, 0x0a, 0x13, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x0c, 0x73, 0x74, 0x6f, 0x72, 0x61, + 0x67, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0x88, + 0xc6, 0x2c, 0x01, 0x52, 0x0b, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x4e, 0x61, 0x6d, 0x65, + 0x22, 0x0f, 0x0a, 0x0d, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x4d, 0x0a, 0x12, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x37, 0x0a, 0x0d, 0x69, 0x6e, 0x6e, 0x65, 0x72, + 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, + 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x52, 0x0c, 0x69, 0x6e, 0x6e, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x22, 0x5b, 0x0a, 0x19, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, + 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3e, 0x0a, + 0x0d, 0x69, 0x6e, 0x6e, 0x65, 0x72, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x56, 0x61, 0x6c, 0x69, + 0x64, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, + 0x0c, 0x69, 0x6e, 0x6e, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x62, 0x0a, + 0x18, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x53, 0x68, 0x61, 0x72, + 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x46, 0x0a, 0x12, 0x6e, 0x65, 0x73, + 0x74, 0x65, 0x64, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x4f, + 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x6f, 0x6f, 0x6c, 0x42, 0x04, 0x98, 0xc6, 0x2c, 0x01, 0x52, + 0x10, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x70, + 0x6f, 0x22, 0x9d, 0x01, 0x0a, 0x17, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x49, 0x6e, 0x6e, 0x65, 0x72, + 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3c, 0x0a, + 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, + 0x74, 0x65, 0x73, 0x74, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x49, 0x6e, 0x6e, 0x65, 0x72, 0x4e, + 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x48, 0x65, 0x61, + 0x64, 0x65, 0x72, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x1a, 0x44, 0x0a, 0x06, 0x48, + 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x3a, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 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, 0x0b, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x22, 0x98, 0x01, 0x0a, 0x1e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x53, 0x74, 0x6f, 0x72, 0x61, + 0x67, 0x65, 0x49, 0x6e, 0x6e, 0x65, 0x72, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x43, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x56, 0x61, 0x6c, 0x69, + 0x64, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x49, 0x6e, 0x6e, 0x65, 0x72, 0x4e, 0x65, 0x73, + 0x74, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, + 0x72, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x1a, 0x31, 0x0a, 0x06, 0x48, 0x65, 0x61, + 0x64, 0x65, 0x72, 0x12, 0x27, 0x0a, 0x0c, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x6e, + 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0x88, 0xc6, 0x2c, 0x01, 0x52, + 0x0b, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x32, 0x51, 0x0a, 0x12, + 0x49, 0x6e, 0x74, 0x65, 0x72, 0x63, 0x65, 0x70, 0x74, 0x65, 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x12, 0x35, 0x0a, 0x0a, 0x54, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, + 0x12, 0x12, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x56, 0x61, 0x6c, 0x69, + 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x1a, 0x04, 0xf0, 0x97, 0x28, 0x01, 0x32, + 0xc2, 0x04, 0x0a, 0x0c, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x12, 0x3d, 0x0a, 0x0a, 0x54, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x12, + 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x02, 0x12, + 0x3e, 0x0a, 0x0b, 0x54, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x32, 0x12, 0x12, + 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, + 0x3e, 0x0a, 0x0b, 0x54, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x33, 0x12, 0x12, + 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, + 0x44, 0x0a, 0x0b, 0x54, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x35, 0x12, 0x18, + 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x4e, 0x65, 0x73, 0x74, 0x65, + 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, + 0x56, 0x61, 0x6c, 0x69, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, + 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x4a, 0x0a, 0x0b, 0x54, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x74, + 0x68, 0x6f, 0x64, 0x36, 0x12, 0x1e, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x56, 0x61, 0x6c, 0x69, + 0x64, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x53, 0x68, 0x61, 0x72, 0x65, 0x64, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x56, 0x61, 0x6c, 0x69, + 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, + 0x01, 0x12, 0x49, 0x0a, 0x0b, 0x54, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x37, + 0x12, 0x1d, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x49, 0x6e, 0x6e, + 0x65, 0x72, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x13, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x06, 0xfa, 0x97, 0x28, 0x02, 0x08, 0x01, 0x12, 0x47, 0x0a, 0x0b, + 0x54, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x38, 0x12, 0x19, 0x2e, 0x74, 0x65, + 0x73, 0x74, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x56, 0x61, + 0x6c, 0x69, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x08, 0xfa, 0x97, 0x28, + 0x04, 0x08, 0x01, 0x10, 0x02, 0x12, 0x4d, 0x0a, 0x0b, 0x54, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x74, + 0x68, 0x6f, 0x64, 0x39, 0x12, 0x1f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x56, 0x61, 0x6c, 0x69, + 0x64, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x56, 0x61, 0x6c, + 0x69, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x08, 0xfa, 0x97, 0x28, 0x04, + 0x08, 0x01, 0x10, 0x02, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_go_internal_linter_testdata_valid_proto_rawDescOnce sync.Once + file_go_internal_linter_testdata_valid_proto_rawDescData = file_go_internal_linter_testdata_valid_proto_rawDesc +) + +func file_go_internal_linter_testdata_valid_proto_rawDescGZIP() []byte { + file_go_internal_linter_testdata_valid_proto_rawDescOnce.Do(func() { + file_go_internal_linter_testdata_valid_proto_rawDescData = protoimpl.X.CompressGZIP(file_go_internal_linter_testdata_valid_proto_rawDescData) + }) + return file_go_internal_linter_testdata_valid_proto_rawDescData +} + +var file_go_internal_linter_testdata_valid_proto_msgTypes = make([]protoimpl.MessageInfo, 11) +var file_go_internal_linter_testdata_valid_proto_goTypes = []interface{}{ + (*ValidRequest)(nil), // 0: test.ValidRequest + (*ValidRequestWithoutRepo)(nil), // 1: test.ValidRequestWithoutRepo + (*ValidStorageRequest)(nil), // 2: test.ValidStorageRequest + (*ValidResponse)(nil), // 3: test.ValidResponse + (*ValidNestedRequest)(nil), // 4: test.ValidNestedRequest + (*ValidStorageNestedRequest)(nil), // 5: test.ValidStorageNestedRequest + (*ValidNestedSharedRequest)(nil), // 6: test.ValidNestedSharedRequest + (*ValidInnerNestedRequest)(nil), // 7: test.ValidInnerNestedRequest + (*ValidStorageInnerNestedRequest)(nil), // 8: test.ValidStorageInnerNestedRequest + (*ValidInnerNestedRequest_Header)(nil), // 9: test.ValidInnerNestedRequest.Header + (*ValidStorageInnerNestedRequest_Header)(nil), // 10: test.ValidStorageInnerNestedRequest.Header + (*gitalypb.Repository)(nil), // 11: gitaly.Repository + (*gitalypb.ObjectPool)(nil), // 12: gitaly.ObjectPool +} +var file_go_internal_linter_testdata_valid_proto_depIdxs = []int32{ + 11, // 0: test.ValidRequest.destination:type_name -> gitaly.Repository + 0, // 1: test.ValidNestedRequest.inner_message:type_name -> test.ValidRequest + 2, // 2: test.ValidStorageNestedRequest.inner_message:type_name -> test.ValidStorageRequest + 12, // 3: test.ValidNestedSharedRequest.nested_target_repo:type_name -> gitaly.ObjectPool + 9, // 4: test.ValidInnerNestedRequest.header:type_name -> test.ValidInnerNestedRequest.Header + 10, // 5: test.ValidStorageInnerNestedRequest.header:type_name -> test.ValidStorageInnerNestedRequest.Header + 11, // 6: test.ValidInnerNestedRequest.Header.destination:type_name -> gitaly.Repository + 0, // 7: test.InterceptedService.TestMethod:input_type -> test.ValidRequest + 0, // 8: test.ValidService.TestMethod:input_type -> test.ValidRequest + 0, // 9: test.ValidService.TestMethod2:input_type -> test.ValidRequest + 0, // 10: test.ValidService.TestMethod3:input_type -> test.ValidRequest + 4, // 11: test.ValidService.TestMethod5:input_type -> test.ValidNestedRequest + 6, // 12: test.ValidService.TestMethod6:input_type -> test.ValidNestedSharedRequest + 7, // 13: test.ValidService.TestMethod7:input_type -> test.ValidInnerNestedRequest + 2, // 14: test.ValidService.TestMethod8:input_type -> test.ValidStorageRequest + 5, // 15: test.ValidService.TestMethod9:input_type -> test.ValidStorageNestedRequest + 3, // 16: test.InterceptedService.TestMethod:output_type -> test.ValidResponse + 3, // 17: test.ValidService.TestMethod:output_type -> test.ValidResponse + 3, // 18: test.ValidService.TestMethod2:output_type -> test.ValidResponse + 3, // 19: test.ValidService.TestMethod3:output_type -> test.ValidResponse + 3, // 20: test.ValidService.TestMethod5:output_type -> test.ValidResponse + 3, // 21: test.ValidService.TestMethod6:output_type -> test.ValidResponse + 3, // 22: test.ValidService.TestMethod7:output_type -> test.ValidResponse + 3, // 23: test.ValidService.TestMethod8:output_type -> test.ValidResponse + 3, // 24: test.ValidService.TestMethod9:output_type -> test.ValidResponse + 16, // [16:25] is the sub-list for method output_type + 7, // [7:16] is the sub-list for method input_type + 7, // [7:7] is the sub-list for extension type_name + 7, // [7:7] is the sub-list for extension extendee + 0, // [0:7] is the sub-list for field type_name +} + +func init() { file_go_internal_linter_testdata_valid_proto_init() } +func file_go_internal_linter_testdata_valid_proto_init() { + if File_go_internal_linter_testdata_valid_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_go_internal_linter_testdata_valid_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ValidRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_go_internal_linter_testdata_valid_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ValidRequestWithoutRepo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_go_internal_linter_testdata_valid_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ValidStorageRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_go_internal_linter_testdata_valid_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ValidResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_go_internal_linter_testdata_valid_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ValidNestedRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_go_internal_linter_testdata_valid_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ValidStorageNestedRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_go_internal_linter_testdata_valid_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ValidNestedSharedRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_go_internal_linter_testdata_valid_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ValidInnerNestedRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_go_internal_linter_testdata_valid_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ValidStorageInnerNestedRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_go_internal_linter_testdata_valid_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ValidInnerNestedRequest_Header); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_go_internal_linter_testdata_valid_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ValidStorageInnerNestedRequest_Header); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_go_internal_linter_testdata_valid_proto_rawDesc, + NumEnums: 0, + NumMessages: 11, + NumExtensions: 0, + NumServices: 2, + }, + GoTypes: file_go_internal_linter_testdata_valid_proto_goTypes, + DependencyIndexes: file_go_internal_linter_testdata_valid_proto_depIdxs, + MessageInfos: file_go_internal_linter_testdata_valid_proto_msgTypes, + }.Build() + File_go_internal_linter_testdata_valid_proto = out.File + file_go_internal_linter_testdata_valid_proto_rawDesc = nil + file_go_internal_linter_testdata_valid_proto_goTypes = nil + file_go_internal_linter_testdata_valid_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConn +var _ grpc.ClientConnInterface // 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 +const _ = grpc.SupportPackageIsVersion6 // InterceptedServiceClient is the client API for InterceptedService service. // @@ -510,10 +865,10 @@ type InterceptedServiceClient interface { } type interceptedServiceClient struct { - cc *grpc.ClientConn + cc grpc.ClientConnInterface } -func NewInterceptedServiceClient(cc *grpc.ClientConn) InterceptedServiceClient { +func NewInterceptedServiceClient(cc grpc.ClientConnInterface) InterceptedServiceClient { return &interceptedServiceClient{cc} } @@ -535,7 +890,7 @@ type InterceptedServiceServer interface { type UnimplementedInterceptedServiceServer struct { } -func (*UnimplementedInterceptedServiceServer) TestMethod(ctx context.Context, req *ValidRequest) (*ValidResponse, error) { +func (*UnimplementedInterceptedServiceServer) TestMethod(context.Context, *ValidRequest) (*ValidResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method TestMethod not implemented") } @@ -589,10 +944,10 @@ type ValidServiceClient interface { } type validServiceClient struct { - cc *grpc.ClientConn + cc grpc.ClientConnInterface } -func NewValidServiceClient(cc *grpc.ClientConn) ValidServiceClient { +func NewValidServiceClient(cc grpc.ClientConnInterface) ValidServiceClient { return &validServiceClient{cc} } @@ -684,28 +1039,28 @@ type ValidServiceServer interface { type UnimplementedValidServiceServer struct { } -func (*UnimplementedValidServiceServer) TestMethod(ctx context.Context, req *ValidRequest) (*ValidResponse, error) { +func (*UnimplementedValidServiceServer) TestMethod(context.Context, *ValidRequest) (*ValidResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method TestMethod not implemented") } -func (*UnimplementedValidServiceServer) TestMethod2(ctx context.Context, req *ValidRequest) (*ValidResponse, error) { +func (*UnimplementedValidServiceServer) TestMethod2(context.Context, *ValidRequest) (*ValidResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method TestMethod2 not implemented") } -func (*UnimplementedValidServiceServer) TestMethod3(ctx context.Context, req *ValidRequest) (*ValidResponse, error) { +func (*UnimplementedValidServiceServer) TestMethod3(context.Context, *ValidRequest) (*ValidResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method TestMethod3 not implemented") } -func (*UnimplementedValidServiceServer) TestMethod5(ctx context.Context, req *ValidNestedRequest) (*ValidResponse, error) { +func (*UnimplementedValidServiceServer) TestMethod5(context.Context, *ValidNestedRequest) (*ValidResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method TestMethod5 not implemented") } -func (*UnimplementedValidServiceServer) TestMethod6(ctx context.Context, req *ValidNestedSharedRequest) (*ValidResponse, error) { +func (*UnimplementedValidServiceServer) TestMethod6(context.Context, *ValidNestedSharedRequest) (*ValidResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method TestMethod6 not implemented") } -func (*UnimplementedValidServiceServer) TestMethod7(ctx context.Context, req *ValidInnerNestedRequest) (*ValidResponse, error) { +func (*UnimplementedValidServiceServer) TestMethod7(context.Context, *ValidInnerNestedRequest) (*ValidResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method TestMethod7 not implemented") } -func (*UnimplementedValidServiceServer) TestMethod8(ctx context.Context, req *ValidStorageRequest) (*ValidResponse, error) { +func (*UnimplementedValidServiceServer) TestMethod8(context.Context, *ValidStorageRequest) (*ValidResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method TestMethod8 not implemented") } -func (*UnimplementedValidServiceServer) TestMethod9(ctx context.Context, req *ValidStorageNestedRequest) (*ValidResponse, error) { +func (*UnimplementedValidServiceServer) TestMethod9(context.Context, *ValidStorageNestedRequest) (*ValidResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method TestMethod9 not implemented") } |