diff options
Diffstat (limited to 'proto/go/gitalypb/wiki.pb.go')
-rw-r--r-- | proto/go/gitalypb/wiki.pb.go | 2006 |
1 files changed, 1305 insertions, 701 deletions
diff --git a/proto/go/gitalypb/wiki.pb.go b/proto/go/gitalypb/wiki.pb.go index 036f46fcc..236e606ee 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{13, 0} + return file_wiki_proto_rawDescGZIP(), []int{13, 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{15, 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{15, 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 (m *WikiCommitDetails) XXX_Size() int { - return xxx_messageInfo_WikiCommitDetails.Size(m) + +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_DiscardUnknown() { - xxx_messageInfo_WikiCommitDetails.DiscardUnknown(m) + +func (x *WikiCommitDetails) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_WikiCommitDetails proto.InternalMessageInfo +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) +} + +// 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,309 +269,349 @@ 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 } type WikiGetPageVersionsRequest 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"` - Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"` - PerPage int32 `protobuf:"varint,4,opt,name=per_page,json=perPage,proto3" json:"per_page,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *WikiGetPageVersionsRequest) Reset() { *m = WikiGetPageVersionsRequest{} } -func (m *WikiGetPageVersionsRequest) String() string { return proto.CompactTextString(m) } -func (*WikiGetPageVersionsRequest) ProtoMessage() {} -func (*WikiGetPageVersionsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_5c56f90469cec0af, []int{3} -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *WikiGetPageVersionsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WikiGetPageVersionsRequest.Unmarshal(m, b) -} -func (m *WikiGetPageVersionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WikiGetPageVersionsRequest.Marshal(b, m, deterministic) + 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"` + Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"` + PerPage int32 `protobuf:"varint,4,opt,name=per_page,json=perPage,proto3" json:"per_page,omitempty"` } -func (m *WikiGetPageVersionsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_WikiGetPageVersionsRequest.Merge(m, src) + +func (x *WikiGetPageVersionsRequest) Reset() { + *x = WikiGetPageVersionsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_wiki_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *WikiGetPageVersionsRequest) XXX_Size() int { - return xxx_messageInfo_WikiGetPageVersionsRequest.Size(m) + +func (x *WikiGetPageVersionsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *WikiGetPageVersionsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_WikiGetPageVersionsRequest.DiscardUnknown(m) + +func (*WikiGetPageVersionsRequest) ProtoMessage() {} + +func (x *WikiGetPageVersionsRequest) 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_WikiGetPageVersionsRequest proto.InternalMessageInfo +// Deprecated: Use WikiGetPageVersionsRequest.ProtoReflect.Descriptor instead. +func (*WikiGetPageVersionsRequest) Descriptor() ([]byte, []int) { + return file_wiki_proto_rawDescGZIP(), []int{3} +} -func (m *WikiGetPageVersionsRequest) GetRepository() *Repository { - if m != nil { - return m.Repository +func (x *WikiGetPageVersionsRequest) GetRepository() *Repository { + if x != nil { + return x.Repository } return nil } -func (m *WikiGetPageVersionsRequest) GetPagePath() []byte { - if m != nil { - return m.PagePath +func (x *WikiGetPageVersionsRequest) GetPagePath() []byte { + if x != nil { + return x.PagePath } return nil } -func (m *WikiGetPageVersionsRequest) GetPage() int32 { - if m != nil { - return m.Page +func (x *WikiGetPageVersionsRequest) GetPage() int32 { + if x != nil { + return x.Page } return 0 } -func (m *WikiGetPageVersionsRequest) GetPerPage() int32 { - if m != nil { - return m.PerPage +func (x *WikiGetPageVersionsRequest) GetPerPage() int32 { + if x != nil { + return x.PerPage } return 0 } type WikiGetPageVersionsResponse struct { - Versions []*WikiPageVersion `protobuf:"bytes,1,rep,name=versions,proto3" json:"versions,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *WikiGetPageVersionsResponse) Reset() { *m = WikiGetPageVersionsResponse{} } -func (m *WikiGetPageVersionsResponse) String() string { return proto.CompactTextString(m) } -func (*WikiGetPageVersionsResponse) ProtoMessage() {} -func (*WikiGetPageVersionsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_5c56f90469cec0af, []int{4} + Versions []*WikiPageVersion `protobuf:"bytes,1,rep,name=versions,proto3" json:"versions,omitempty"` } -func (m *WikiGetPageVersionsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WikiGetPageVersionsResponse.Unmarshal(m, b) -} -func (m *WikiGetPageVersionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WikiGetPageVersionsResponse.Marshal(b, m, deterministic) -} -func (m *WikiGetPageVersionsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_WikiGetPageVersionsResponse.Merge(m, src) +func (x *WikiGetPageVersionsResponse) Reset() { + *x = WikiGetPageVersionsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_wiki_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *WikiGetPageVersionsResponse) XXX_Size() int { - return xxx_messageInfo_WikiGetPageVersionsResponse.Size(m) + +func (x *WikiGetPageVersionsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *WikiGetPageVersionsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_WikiGetPageVersionsResponse.DiscardUnknown(m) + +func (*WikiGetPageVersionsResponse) ProtoMessage() {} + +func (x *WikiGetPageVersionsResponse) 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_WikiGetPageVersionsResponse proto.InternalMessageInfo +// Deprecated: Use WikiGetPageVersionsResponse.ProtoReflect.Descriptor instead. +func (*WikiGetPageVersionsResponse) Descriptor() ([]byte, []int) { + return file_wiki_proto_rawDescGZIP(), []int{4} +} -func (m *WikiGetPageVersionsResponse) GetVersions() []*WikiPageVersion { - if m != nil { - return m.Versions +func (x *WikiGetPageVersionsResponse) GetVersions() []*WikiPageVersion { + if x != nil { + return x.Versions } 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{5} +func (x *WikiWritePageRequest) Reset() { + *x = WikiWritePageRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_wiki_proto_msgTypes[5] + 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 (x *WikiWritePageRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -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 (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[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_WikiWritePageRequest proto.InternalMessageInfo +// Deprecated: Use WikiWritePageRequest.ProtoReflect.Descriptor instead. +func (*WikiWritePageRequest) Descriptor() ([]byte, []int) { + return file_wiki_proto_rawDescGZIP(), []int{5} +} -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{6} + 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[6] + 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[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_WikiWritePageResponse proto.InternalMessageInfo +// Deprecated: Use WikiWritePageResponse.ProtoReflect.Descriptor instead. +func (*WikiWritePageResponse) Descriptor() ([]byte, []int) { + return file_wiki_proto_rawDescGZIP(), []int{6} +} -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"` @@ -512,263 +619,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{7} +func (x *WikiUpdatePageRequest) Reset() { + *x = WikiUpdatePageRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_wiki_proto_msgTypes[7] + 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 (m *WikiUpdatePageRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_WikiUpdatePageRequest.Merge(m, src) +func (x *WikiUpdatePageRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -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[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_WikiUpdatePageRequest proto.InternalMessageInfo +// Deprecated: Use WikiUpdatePageRequest.ProtoReflect.Descriptor instead. +func (*WikiUpdatePageRequest) Descriptor() ([]byte, []int) { + return file_wiki_proto_rawDescGZIP(), []int{7} +} -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{8} + 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[8] + 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[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_WikiUpdatePageResponse proto.InternalMessageInfo +// Deprecated: Use WikiUpdatePageResponse.ProtoReflect.Descriptor instead. +func (*WikiUpdatePageResponse) Descriptor() ([]byte, []int) { + return file_wiki_proto_rawDescGZIP(), []int{8} +} -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{9} + 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[9] + 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[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_WikiDeletePageRequest proto.InternalMessageInfo +// Deprecated: Use WikiDeletePageRequest.ProtoReflect.Descriptor instead. +func (*WikiDeletePageRequest) Descriptor() ([]byte, []int) { + return file_wiki_proto_rawDescGZIP(), []int{9} +} -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{10} +func (x *WikiDeletePageResponse) Reset() { + *x = WikiDeletePageResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_wiki_proto_msgTypes[10] + 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{11} +func (x *WikiDeletePageResponse) 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) } -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{10} } -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[11] + 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[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_WikiFindPageRequest proto.InternalMessageInfo +// Deprecated: Use WikiFindPageRequest.ProtoReflect.Descriptor instead. +func (*WikiFindPageRequest) Descriptor() ([]byte, []int) { + return file_wiki_proto_rawDescGZIP(), []int{11} +} -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 } @@ -776,368 +918,830 @@ 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{12} + 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[12] + 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[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_WikiFindPageResponse proto.InternalMessageInfo +// Deprecated: Use WikiFindPageResponse.ProtoReflect.Descriptor instead. +func (*WikiFindPageResponse) Descriptor() ([]byte, []int) { + return file_wiki_proto_rawDescGZIP(), []int{12} +} -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{13} +func (x *WikiGetAllPagesRequest) Reset() { + *x = WikiGetAllPagesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_wiki_proto_msgTypes[13] + 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 (x *WikiGetAllPagesRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *WikiGetAllPagesRequest) XXX_Size() int { - return xxx_messageInfo_WikiGetAllPagesRequest.Size(m) -} -func (m *WikiGetAllPagesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_WikiGetAllPagesRequest.DiscardUnknown(m) + +func (*WikiGetAllPagesRequest) ProtoMessage() {} + +func (x *WikiGetAllPagesRequest) 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_WikiGetAllPagesRequest proto.InternalMessageInfo +// Deprecated: Use WikiGetAllPagesRequest.ProtoReflect.Descriptor instead. +func (*WikiGetAllPagesRequest) Descriptor() ([]byte, []int) { + return file_wiki_proto_rawDescGZIP(), []int{13} +} -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{14} +func (x *WikiGetAllPagesResponse) Reset() { + *x = WikiGetAllPagesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_wiki_proto_msgTypes[14] + 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[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_WikiGetAllPagesResponse proto.InternalMessageInfo +// Deprecated: Use WikiGetAllPagesResponse.ProtoReflect.Descriptor instead. +func (*WikiGetAllPagesResponse) Descriptor() ([]byte, []int) { + return file_wiki_proto_rawDescGZIP(), []int{14} +} -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{15} + 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[15] + 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[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_WikiListPagesRequest proto.InternalMessageInfo +// Deprecated: Use WikiListPagesRequest.ProtoReflect.Descriptor instead. +func (*WikiListPagesRequest) Descriptor() ([]byte, []int) { + return file_wiki_proto_rawDescGZIP(), []int{15} +} -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{16} + 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[16] + 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[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_WikiListPagesResponse proto.InternalMessageInfo +// Deprecated: Use WikiListPagesResponse.ProtoReflect.Descriptor instead. +func (*WikiListPagesResponse) Descriptor() ([]byte, []int) { + return file_wiki_proto_rawDescGZIP(), []int{16} +} -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((*WikiGetPageVersionsRequest)(nil), "gitaly.WikiGetPageVersionsRequest") - proto.RegisterType((*WikiGetPageVersionsResponse)(nil), "gitaly.WikiGetPageVersionsResponse") - 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{ - // 1014 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x57, 0x4f, 0x6f, 0x1b, 0x45, - 0x14, 0x67, 0x1d, 0xff, 0x59, 0xbf, 0xc4, 0x6e, 0x3a, 0x94, 0x66, 0xeb, 0x84, 0x10, 0x6d, 0xa8, - 0x30, 0x12, 0x38, 0x25, 0x3d, 0x00, 0x12, 0x48, 0x4d, 0xea, 0x10, 0x55, 0xaa, 0xa0, 0xda, 0x98, - 0x46, 0x20, 0xa4, 0xd5, 0x64, 0x77, 0x6c, 0x8f, 0xba, 0xde, 0x59, 0x66, 0xc6, 0x89, 0x72, 0xe6, - 0x0c, 0x57, 0xb8, 0x21, 0xf1, 0x09, 0xf8, 0x14, 0x7c, 0x06, 0xbe, 0x02, 0x27, 0xae, 0x88, 0x13, - 0x9a, 0x99, 0xb5, 0xbd, 0xbb, 0xb6, 0x03, 0x81, 0x08, 0xf5, 0xb6, 0xef, 0xcf, 0xbc, 0x79, 0xbf, - 0xdf, 0xfb, 0x33, 0x36, 0xc0, 0x05, 0x7d, 0x41, 0x3b, 0x09, 0x67, 0x92, 0xa1, 0xea, 0x80, 0x4a, - 0x1c, 0x5d, 0xb6, 0x20, 0xa2, 0xb1, 0x34, 0xba, 0xd6, 0x9a, 0x18, 0x62, 0x4e, 0x42, 0x23, 0xb9, - 0xdf, 0x5a, 0x70, 0xfb, 0x94, 0xbe, 0xa0, 0x8f, 0xd9, 0x68, 0x44, 0x65, 0x97, 0x48, 0x4c, 0x23, - 0x81, 0x10, 0x94, 0x63, 0x3c, 0x22, 0x8e, 0xb5, 0x63, 0xb5, 0xd7, 0x3c, 0xfd, 0x8d, 0xee, 0x40, - 0x85, 0x8c, 0x30, 0x8d, 0x9c, 0x92, 0x56, 0x1a, 0x01, 0x39, 0x50, 0x1b, 0x11, 0x21, 0xf0, 0x80, - 0x38, 0x2b, 0x5a, 0x3f, 0x11, 0xd1, 0x06, 0xd4, 0xc6, 0x82, 0x70, 0x9f, 0x86, 0x4e, 0x79, 0xc7, - 0x6a, 0x57, 0xbc, 0xaa, 0x12, 0x9f, 0x84, 0x68, 0x13, 0xea, 0xda, 0xa0, 0x6f, 0xa8, 0xe8, 0x43, - 0xb6, 0x52, 0x7c, 0x8a, 0x47, 0xc4, 0xed, 0xc1, 0x2d, 0x95, 0xce, 0x33, 0x3c, 0x20, 0xcf, 0x09, - 0x17, 0x94, 0xc5, 0xe8, 0x6d, 0xa8, 0x06, 0x3a, 0x3b, 0x9d, 0xce, 0xea, 0xfe, 0xed, 0x8e, 0x41, - 0xd5, 0x39, 0xa6, 0xd2, 0xa4, 0xed, 0xa5, 0x0e, 0xe8, 0x2e, 0x54, 0xfb, 0x8c, 0x8f, 0xb0, 0xd4, - 0x49, 0xd6, 0xbd, 0x54, 0x72, 0x7f, 0xb3, 0xc0, 0x9e, 0x84, 0x45, 0xef, 0x41, 0xed, 0xdc, 0x84, - 0x4e, 0x03, 0x6e, 0x4c, 0x02, 0x16, 0x6e, 0xf6, 0x26, 0x7e, 0xcb, 0xe2, 0x2a, 0x4e, 0x24, 0x95, - 0xd1, 0x04, 0xbb, 0x11, 0xd0, 0x3d, 0xb0, 0xc7, 0x3c, 0xf2, 0x13, 0x2c, 0x87, 0x1a, 0x7a, 0xdd, - 0xab, 0x8d, 0x79, 0xf4, 0x0c, 0xcb, 0xa1, 0x22, 0x56, 0xab, 0x0d, 0x6c, 0xfd, 0x3d, 0x25, 0xbb, - 0x9a, 0x21, 0x7b, 0x1b, 0x60, 0x48, 0x85, 0x64, 0x9c, 0x06, 0x38, 0x72, 0x6a, 0x3b, 0x56, 0xdb, - 0xf6, 0x32, 0x1a, 0x75, 0x05, 0xc7, 0x17, 0x7e, 0x88, 0x25, 0x76, 0x6c, 0xc3, 0x3b, 0xc7, 0x17, - 0x5d, 0x2c, 0xb1, 0xfb, 0x93, 0x05, 0x2d, 0x05, 0xe4, 0x98, 0xc8, 0x0c, 0x16, 0xe1, 0x91, 0xaf, - 0xc7, 0x44, 0x48, 0xf4, 0x01, 0x00, 0x27, 0x09, 0x13, 0x54, 0x32, 0x7e, 0x99, 0x12, 0x80, 0x26, - 0x04, 0x78, 0x53, 0xcb, 0x61, 0xf9, 0x87, 0x5f, 0xde, 0xb1, 0xbc, 0x8c, 0xaf, 0xaa, 0x5b, 0x82, - 0x07, 0xc4, 0xe0, 0x32, 0x4d, 0x60, 0x2b, 0xc5, 0x0c, 0x58, 0xda, 0x04, 0x15, 0x4f, 0x7f, 0xab, - 0x24, 0x13, 0xc2, 0x7d, 0xad, 0x37, 0x2d, 0x50, 0x4b, 0x08, 0x57, 0x49, 0xb9, 0x1e, 0x6c, 0x2e, - 0xcc, 0x51, 0x24, 0x2c, 0x16, 0x04, 0x3d, 0x04, 0x3b, 0xa5, 0x5e, 0x38, 0xd6, 0xce, 0xca, 0x55, - 0x35, 0x9a, 0x3a, 0xba, 0xbf, 0x5a, 0x70, 0x47, 0x59, 0x4f, 0x39, 0x95, 0x44, 0xb9, 0xfc, 0x77, - 0xc8, 0x93, 0xd2, 0x94, 0x32, 0xa5, 0x99, 0xf5, 0xc2, 0x4a, 0xae, 0x17, 0x1e, 0x41, 0xd3, 0x74, - 0xa1, 0x1f, 0x9a, 0x29, 0xd2, 0x98, 0x57, 0xf7, 0xef, 0x65, 0x33, 0xcf, 0x8d, 0x99, 0xd7, 0x08, - 0x72, 0x53, 0xe7, 0x40, 0x2d, 0x60, 0xb1, 0x24, 0xb1, 0x4c, 0xfb, 0x63, 0x22, 0xba, 0x8f, 0xe0, - 0xb5, 0x02, 0xb2, 0x94, 0xa8, 0xb7, 0xe0, 0x56, 0x38, 0x4e, 0x22, 0x1a, 0x60, 0x49, 0x7c, 0xc2, - 0x39, 0xe3, 0xe9, 0xcc, 0x36, 0xa7, 0xea, 0x23, 0xa5, 0x75, 0xff, 0xb0, 0x4c, 0x88, 0xcf, 0x93, - 0x10, 0xdf, 0x14, 0x3b, 0x57, 0x36, 0xc4, 0xe2, 0xd1, 0x98, 0x91, 0x57, 0xfe, 0x1b, 0xf2, 0x2a, - 0xff, 0x9e, 0xbc, 0x6a, 0x9e, 0xbc, 0x0e, 0xdc, 0x2d, 0x22, 0x4f, 0xd9, 0x53, 0x2b, 0x2d, 0xc3, - 0x99, 0x11, 0xdc, 0x9f, 0x53, 0xaa, 0xba, 0x24, 0x22, 0xff, 0x0b, 0x55, 0xf3, 0xe0, 0x57, 0xae, - 0x07, 0xde, 0x75, 0x0c, 0xc4, 0x6c, 0xc6, 0x06, 0xa2, 0xfb, 0xa3, 0x05, 0xaf, 0x2a, 0xd3, 0x27, - 0x34, 0x0e, 0x6f, 0x06, 0xca, 0xb4, 0xb0, 0xa5, 0x6c, 0x61, 0x5b, 0x60, 0x73, 0x72, 0x4e, 0xf5, - 0x56, 0x35, 0x15, 0x9f, 0xca, 0x68, 0x0b, 0xea, 0x21, 0xe5, 0x24, 0xd0, 0x57, 0x95, 0xb5, 0x71, - 0xa6, 0x70, 0x3f, 0x32, 0x53, 0x3b, 0x4b, 0x30, 0x2d, 0xce, 0x9b, 0xe9, 0x46, 0x31, 0xb9, 0xad, - 0x17, 0xe7, 0xdf, 0xec, 0x18, 0xf7, 0x77, 0xcb, 0x40, 0x3f, 0x26, 0xf2, 0x20, 0x8a, 0x94, 0x41, - 0xdc, 0x08, 0xc4, 0x88, 0xaa, 0x07, 0x47, 0x41, 0x6c, 0x78, 0x46, 0x40, 0xf7, 0xa1, 0x69, 0xb2, - 0xa6, 0x2c, 0xf6, 0x43, 0x22, 0x02, 0x0d, 0xd4, 0xf6, 0x1a, 0x53, 0x6d, 0x97, 0x88, 0x00, 0x7d, - 0x08, 0x65, 0xc1, 0xb8, 0x69, 0xf0, 0xe6, 0xfe, 0xfd, 0x6c, 0xde, 0xf3, 0x49, 0x76, 0x4e, 0x18, - 0x97, 0x87, 0x97, 0x9e, 0x3e, 0xe2, 0xee, 0x42, 0xd5, 0xc8, 0xa8, 0x0e, 0x95, 0xde, 0x93, 0xde, - 0xd3, 0xa3, 0xf5, 0x57, 0x50, 0x13, 0xe0, 0xb1, 0x77, 0x74, 0xd0, 0x3b, 0xea, 0xfa, 0x07, 0xbd, - 0x75, 0xcb, 0xf5, 0x61, 0x63, 0x2e, 0xd6, 0x75, 0x28, 0x43, 0xdb, 0xb0, 0x4a, 0xe2, 0xd0, 0x67, - 0x7d, 0xb3, 0x99, 0x4b, 0x1a, 0x44, 0x9d, 0xc4, 0xe1, 0x67, 0x7d, 0xbd, 0x9b, 0xbf, 0x29, 0x99, - 0x8a, 0x3c, 0xa5, 0x42, 0xbe, 0x0c, 0x84, 0xbe, 0x9f, 0x23, 0x74, 0x37, 0x8b, 0xaa, 0x98, 0x62, - 0x8e, 0x4e, 0xb5, 0x6c, 0x58, 0xbf, 0x2f, 0x88, 0x59, 0xa7, 0x0d, 0x2f, 0x95, 0xfe, 0x19, 0xcd, - 0x1f, 0x9b, 0x25, 0x90, 0xb9, 0xe1, 0x3a, 0x24, 0xef, 0x7f, 0x57, 0x81, 0x55, 0xa5, 0x3a, 0x21, - 0xfc, 0x9c, 0x06, 0x04, 0x0d, 0xcd, 0x18, 0x16, 0x1e, 0x3c, 0xe4, 0x16, 0xda, 0x63, 0xc1, 0x8b, - 0xdd, 0xda, 0xbd, 0xd2, 0x27, 0x9d, 0xf3, 0xea, 0x9f, 0xdf, 0xb7, 0x4b, 0x76, 0xe9, 0x81, 0x85, - 0x9e, 0x43, 0x23, 0xf7, 0x56, 0xa0, 0xad, 0xec, 0xf9, 0xe2, 0xe3, 0xd8, 0x7a, 0x7d, 0x89, 0x35, - 0x17, 0xd7, 0x6a, 0x5b, 0xe8, 0x0b, 0x68, 0xe6, 0xd7, 0x28, 0xca, 0x1d, 0x9d, 0x7b, 0x58, 0x5a, - 0xdb, 0xcb, 0xcc, 0x73, 0xa1, 0x4f, 0x4d, 0xe8, 0xd9, 0xfa, 0xca, 0x87, 0x9e, 0x5b, 0xc4, 0xf9, - 0xd0, 0x0b, 0xb6, 0x5e, 0x1a, 0x1a, 0x9d, 0xc0, 0x5a, 0x76, 0xb7, 0xa0, 0xcd, 0xec, 0xb9, 0xc2, - 0x4a, 0x6c, 0x6d, 0x2d, 0x36, 0xce, 0x11, 0xfc, 0x95, 0xf9, 0x89, 0x9a, 0x19, 0x40, 0xb4, 0x7d, - 0xf5, 0x94, 0xb7, 0xde, 0x58, 0x6a, 0x5f, 0x56, 0xbe, 0x69, 0xdf, 0xe5, 0xcb, 0x57, 0x6c, 0xf8, - 0x7c, 0xf9, 0xe6, 0x9a, 0x75, 0x16, 0xf7, 0xf0, 0xc1, 0x97, 0xca, 0x33, 0xc2, 0x67, 0x9d, 0x80, - 0x8d, 0xf6, 0xcc, 0xe7, 0xbb, 0x8c, 0x0f, 0xf6, 0xcc, 0xf9, 0x3d, 0xfd, 0x77, 0x60, 0x6f, 0xc0, - 0x52, 0x39, 0x39, 0x3b, 0xab, 0x6a, 0xd5, 0xc3, 0xbf, 0x02, 0x00, 0x00, 0xff, 0xff, 0x29, 0xb1, - 0x3b, 0xcf, 0x51, 0x0c, 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, 0xa2, 0x01, 0x0a, 0x1a, 0x57, 0x69, 0x6b, 0x69, 0x47, 0x65, 0x74, 0x50, 0x61, 0x67, 0x65, + 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 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, 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, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x67, 0x65, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x70, 0x65, + 0x72, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x70, 0x65, + 0x72, 0x50, 0x61, 0x67, 0x65, 0x22, 0x52, 0x0a, 0x1b, 0x57, 0x69, 0x6b, 0x69, 0x47, 0x65, 0x74, + 0x50, 0x61, 0x67, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x33, 0x0a, 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, + 0x18, 0x01, 0x20, 0x03, 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, + 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 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, 0x8e, 0x05, 0x0a, 0x0b, 0x57, 0x69, 0x6b, 0x69, 0x53, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x68, 0x0a, 0x13, 0x57, 0x69, 0x6b, 0x69, 0x47, 0x65, + 0x74, 0x50, 0x61, 0x67, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x22, 0x2e, + 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x57, 0x69, 0x6b, 0x69, 0x47, 0x65, 0x74, 0x50, 0x61, + 0x67, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x23, 0x2e, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2e, 0x57, 0x69, 0x6b, 0x69, 0x47, + 0x65, 0x74, 0x50, 0x61, 0x67, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 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, 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, 17) +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 + (*WikiGetPageVersionsRequest)(nil), // 5: gitaly.WikiGetPageVersionsRequest + (*WikiGetPageVersionsResponse)(nil), // 6: gitaly.WikiGetPageVersionsResponse + (*WikiWritePageRequest)(nil), // 7: gitaly.WikiWritePageRequest + (*WikiWritePageResponse)(nil), // 8: gitaly.WikiWritePageResponse + (*WikiUpdatePageRequest)(nil), // 9: gitaly.WikiUpdatePageRequest + (*WikiUpdatePageResponse)(nil), // 10: gitaly.WikiUpdatePageResponse + (*WikiDeletePageRequest)(nil), // 11: gitaly.WikiDeletePageRequest + (*WikiDeletePageResponse)(nil), // 12: gitaly.WikiDeletePageResponse + (*WikiFindPageRequest)(nil), // 13: gitaly.WikiFindPageRequest + (*WikiFindPageResponse)(nil), // 14: gitaly.WikiFindPageResponse + (*WikiGetAllPagesRequest)(nil), // 15: gitaly.WikiGetAllPagesRequest + (*WikiGetAllPagesResponse)(nil), // 16: gitaly.WikiGetAllPagesResponse + (*WikiListPagesRequest)(nil), // 17: gitaly.WikiListPagesRequest + (*WikiListPagesResponse)(nil), // 18: gitaly.WikiListPagesResponse + (*GitCommit)(nil), // 19: gitaly.GitCommit + (*Repository)(nil), // 20: gitaly.Repository +} +var file_wiki_proto_depIdxs = []int32{ + 19, // 0: gitaly.WikiPageVersion.commit:type_name -> gitaly.GitCommit + 3, // 1: gitaly.WikiPage.version:type_name -> gitaly.WikiPageVersion + 20, // 2: gitaly.WikiGetPageVersionsRequest.repository:type_name -> gitaly.Repository + 3, // 3: gitaly.WikiGetPageVersionsResponse.versions:type_name -> gitaly.WikiPageVersion + 20, // 4: gitaly.WikiWritePageRequest.repository:type_name -> gitaly.Repository + 2, // 5: gitaly.WikiWritePageRequest.commit_details:type_name -> gitaly.WikiCommitDetails + 20, // 6: gitaly.WikiUpdatePageRequest.repository:type_name -> gitaly.Repository + 2, // 7: gitaly.WikiUpdatePageRequest.commit_details:type_name -> gitaly.WikiCommitDetails + 20, // 8: gitaly.WikiDeletePageRequest.repository:type_name -> gitaly.Repository + 2, // 9: gitaly.WikiDeletePageRequest.commit_details:type_name -> gitaly.WikiCommitDetails + 20, // 10: gitaly.WikiFindPageRequest.repository:type_name -> gitaly.Repository + 4, // 11: gitaly.WikiFindPageResponse.page:type_name -> gitaly.WikiPage + 20, // 12: gitaly.WikiGetAllPagesRequest.repository:type_name -> gitaly.Repository + 0, // 13: gitaly.WikiGetAllPagesRequest.sort:type_name -> gitaly.WikiGetAllPagesRequest.SortBy + 4, // 14: gitaly.WikiGetAllPagesResponse.page:type_name -> gitaly.WikiPage + 20, // 15: gitaly.WikiListPagesRequest.repository:type_name -> gitaly.Repository + 1, // 16: gitaly.WikiListPagesRequest.sort:type_name -> gitaly.WikiListPagesRequest.SortBy + 4, // 17: gitaly.WikiListPagesResponse.page:type_name -> gitaly.WikiPage + 5, // 18: gitaly.WikiService.WikiGetPageVersions:input_type -> gitaly.WikiGetPageVersionsRequest + 7, // 19: gitaly.WikiService.WikiWritePage:input_type -> gitaly.WikiWritePageRequest + 9, // 20: gitaly.WikiService.WikiUpdatePage:input_type -> gitaly.WikiUpdatePageRequest + 11, // 21: gitaly.WikiService.WikiDeletePage:input_type -> gitaly.WikiDeletePageRequest + 13, // 22: gitaly.WikiService.WikiFindPage:input_type -> gitaly.WikiFindPageRequest + 15, // 23: gitaly.WikiService.WikiGetAllPages:input_type -> gitaly.WikiGetAllPagesRequest + 17, // 24: gitaly.WikiService.WikiListPages:input_type -> gitaly.WikiListPagesRequest + 6, // 25: gitaly.WikiService.WikiGetPageVersions:output_type -> gitaly.WikiGetPageVersionsResponse + 8, // 26: gitaly.WikiService.WikiWritePage:output_type -> gitaly.WikiWritePageResponse + 10, // 27: gitaly.WikiService.WikiUpdatePage:output_type -> gitaly.WikiUpdatePageResponse + 12, // 28: gitaly.WikiService.WikiDeletePage:output_type -> gitaly.WikiDeletePageResponse + 14, // 29: gitaly.WikiService.WikiFindPage:output_type -> gitaly.WikiFindPageResponse + 16, // 30: gitaly.WikiService.WikiGetAllPages:output_type -> gitaly.WikiGetAllPagesResponse + 18, // 31: gitaly.WikiService.WikiListPages:output_type -> gitaly.WikiListPagesResponse + 25, // [25:32] is the sub-list for method output_type + 18, // [18:25] is the sub-list for method input_type + 18, // [18:18] is the sub-list for extension type_name + 18, // [18:18] is the sub-list for extension extendee + 0, // [0:18] 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.(*WikiGetPageVersionsRequest); 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.(*WikiGetPageVersionsResponse); 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.(*WikiWritePageRequest); 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.(*WikiWritePageResponse); 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.(*WikiUpdatePageRequest); 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.(*WikiUpdatePageResponse); 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.(*WikiDeletePageRequest); 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.(*WikiDeletePageResponse); 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.(*WikiFindPageRequest); 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.(*WikiFindPageResponse); 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.(*WikiGetAllPagesRequest); 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.(*WikiGetAllPagesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_wiki_proto_msgTypes[15].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[16].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: 17, + 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. // @@ -1154,10 +1758,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} } @@ -1382,25 +1986,25 @@ type WikiServiceServer interface { type UnimplementedWikiServiceServer struct { } -func (*UnimplementedWikiServiceServer) WikiGetPageVersions(req *WikiGetPageVersionsRequest, srv WikiService_WikiGetPageVersionsServer) error { +func (*UnimplementedWikiServiceServer) WikiGetPageVersions(*WikiGetPageVersionsRequest, WikiService_WikiGetPageVersionsServer) error { return status.Errorf(codes.Unimplemented, "method WikiGetPageVersions not implemented") } -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") } |