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

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'proto/go/gitalypb/shared.pb.go')
-rw-r--r--proto/go/gitalypb/shared.pb.go113
1 files changed, 89 insertions, 24 deletions
diff --git a/proto/go/gitalypb/shared.pb.go b/proto/go/gitalypb/shared.pb.go
index 192d33976..fd6bacb6f 100644
--- a/proto/go/gitalypb/shared.pb.go
+++ b/proto/go/gitalypb/shared.pb.go
@@ -879,6 +879,55 @@ func (x *PaginationParameter) GetLimit() int32 {
return 0
}
+type PaginationCursor struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ // To the caller, this is an opaque token to indicate what the caller
+ // should present as a page_token to get subsequent results.
+ NextCursor string `protobuf:"bytes,1,opt,name=next_cursor,json=nextCursor,proto3" json:"next_cursor,omitempty"`
+}
+
+func (x *PaginationCursor) Reset() {
+ *x = PaginationCursor{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_shared_proto_msgTypes[10]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *PaginationCursor) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*PaginationCursor) ProtoMessage() {}
+
+func (x *PaginationCursor) ProtoReflect() protoreflect.Message {
+ mi := &file_shared_proto_msgTypes[10]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use PaginationCursor.ProtoReflect.Descriptor instead.
+func (*PaginationCursor) Descriptor() ([]byte, []int) {
+ return file_shared_proto_rawDescGZIP(), []int{10}
+}
+
+func (x *PaginationCursor) GetNextCursor() string {
+ if x != nil {
+ return x.NextCursor
+ }
+ return ""
+}
+
// https://git-scm.com/docs/git/#_options
type GlobalOptions struct {
state protoimpl.MessageState
@@ -892,7 +941,7 @@ type GlobalOptions struct {
func (x *GlobalOptions) Reset() {
*x = GlobalOptions{}
if protoimpl.UnsafeEnabled {
- mi := &file_shared_proto_msgTypes[10]
+ mi := &file_shared_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -905,7 +954,7 @@ func (x *GlobalOptions) String() string {
func (*GlobalOptions) ProtoMessage() {}
func (x *GlobalOptions) ProtoReflect() protoreflect.Message {
- mi := &file_shared_proto_msgTypes[10]
+ mi := &file_shared_proto_msgTypes[11]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -918,7 +967,7 @@ func (x *GlobalOptions) ProtoReflect() protoreflect.Message {
// Deprecated: Use GlobalOptions.ProtoReflect.Descriptor instead.
func (*GlobalOptions) Descriptor() ([]byte, []int) {
- return file_shared_proto_rawDescGZIP(), []int{10}
+ return file_shared_proto_rawDescGZIP(), []int{11}
}
func (x *GlobalOptions) GetLiteralPathspecs() bool {
@@ -1031,22 +1080,25 @@ var file_shared_proto_rawDesc = []byte{
0x74, 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65,
0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b,
0x65, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28,
- 0x05, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0x3c, 0x0a, 0x0d, 0x47, 0x6c, 0x6f, 0x62,
- 0x61, 0x6c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2b, 0x0a, 0x11, 0x6c, 0x69, 0x74,
- 0x65, 0x72, 0x61, 0x6c, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x73, 0x70, 0x65, 0x63, 0x73, 0x18, 0x01,
- 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x6c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x50, 0x61, 0x74,
- 0x68, 0x73, 0x70, 0x65, 0x63, 0x73, 0x2a, 0x42, 0x0a, 0x0a, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74,
- 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10,
- 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x4f, 0x4d, 0x4d, 0x49, 0x54, 0x10, 0x01, 0x12, 0x08, 0x0a,
- 0x04, 0x42, 0x4c, 0x4f, 0x42, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x54, 0x52, 0x45, 0x45, 0x10,
- 0x03, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x41, 0x47, 0x10, 0x04, 0x2a, 0x2c, 0x0a, 0x0d, 0x53, 0x69,
- 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x08, 0x0a, 0x04, 0x4e,
- 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x50, 0x47, 0x50, 0x10, 0x01, 0x12, 0x08,
- 0x0a, 0x04, 0x58, 0x35, 0x30, 0x39, 0x10, 0x02, 0x42, 0x34, 0x5a, 0x32, 0x67, 0x69, 0x74, 0x6c,
- 0x61, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2d, 0x6f, 0x72,
- 0x67, 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2f, 0x76, 0x31, 0x34, 0x2f, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x70, 0x62, 0x62, 0x06,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
+ 0x05, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0x33, 0x0a, 0x10, 0x50, 0x61, 0x67, 0x69,
+ 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x12, 0x1f, 0x0a, 0x0b,
+ 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x63, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28,
+ 0x09, 0x52, 0x0a, 0x6e, 0x65, 0x78, 0x74, 0x43, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x22, 0x3c, 0x0a,
+ 0x0d, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2b,
+ 0x0a, 0x11, 0x6c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x73, 0x70,
+ 0x65, 0x63, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x6c, 0x69, 0x74, 0x65, 0x72,
+ 0x61, 0x6c, 0x50, 0x61, 0x74, 0x68, 0x73, 0x70, 0x65, 0x63, 0x73, 0x2a, 0x42, 0x0a, 0x0a, 0x4f,
+ 0x62, 0x6a, 0x65, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b,
+ 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x4f, 0x4d, 0x4d, 0x49, 0x54,
+ 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x42, 0x4c, 0x4f, 0x42, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04,
+ 0x54, 0x52, 0x45, 0x45, 0x10, 0x03, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x41, 0x47, 0x10, 0x04, 0x2a,
+ 0x2c, 0x0a, 0x0d, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x54, 0x79, 0x70, 0x65,
+ 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x50, 0x47,
+ 0x50, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x58, 0x35, 0x30, 0x39, 0x10, 0x02, 0x42, 0x34, 0x5a,
+ 0x32, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x69, 0x74, 0x6c,
+ 0x61, 0x62, 0x2d, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c, 0x79, 0x2f, 0x76, 0x31,
+ 0x34, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x69, 0x74, 0x61, 0x6c,
+ 0x79, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
@@ -1062,7 +1114,7 @@ func file_shared_proto_rawDescGZIP() []byte {
}
var file_shared_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
-var file_shared_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
+var file_shared_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
var file_shared_proto_goTypes = []interface{}{
(ObjectType)(0), // 0: gitaly.ObjectType
(SignatureType)(0), // 1: gitaly.SignatureType
@@ -1076,15 +1128,16 @@ var file_shared_proto_goTypes = []interface{}{
(*User)(nil), // 9: gitaly.User
(*ObjectPool)(nil), // 10: gitaly.ObjectPool
(*PaginationParameter)(nil), // 11: gitaly.PaginationParameter
- (*GlobalOptions)(nil), // 12: gitaly.GlobalOptions
- (*timestamppb.Timestamp)(nil), // 13: google.protobuf.Timestamp
+ (*PaginationCursor)(nil), // 12: gitaly.PaginationCursor
+ (*GlobalOptions)(nil), // 13: gitaly.GlobalOptions
+ (*timestamppb.Timestamp)(nil), // 14: google.protobuf.Timestamp
}
var file_shared_proto_depIdxs = []int32{
5, // 0: gitaly.GitCommit.author:type_name -> gitaly.CommitAuthor
5, // 1: gitaly.GitCommit.committer:type_name -> gitaly.CommitAuthor
1, // 2: gitaly.GitCommit.signature_type:type_name -> gitaly.SignatureType
3, // 3: gitaly.GitCommit.trailers:type_name -> gitaly.CommitTrailer
- 13, // 4: gitaly.CommitAuthor.date:type_name -> google.protobuf.Timestamp
+ 14, // 4: gitaly.CommitAuthor.date:type_name -> google.protobuf.Timestamp
4, // 5: gitaly.Branch.target_commit:type_name -> gitaly.GitCommit
4, // 6: gitaly.Tag.target_commit:type_name -> gitaly.GitCommit
5, // 7: gitaly.Tag.tagger:type_name -> gitaly.CommitAuthor
@@ -1225,6 +1278,18 @@ func file_shared_proto_init() {
}
}
file_shared_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*PaginationCursor); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_shared_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GlobalOptions); i {
case 0:
return &v.state
@@ -1243,7 +1308,7 @@ func file_shared_proto_init() {
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_shared_proto_rawDesc,
NumEnums: 2,
- NumMessages: 11,
+ NumMessages: 12,
NumExtensions: 0,
NumServices: 0,
},