Path: blob/main/components/public-api/go/experimental/v1/pagination.pb.go
2501 views
// Copyright (c) 2025 Gitpod GmbH. All rights reserved.1// Licensed under the GNU Affero General Public License (AGPL).2// See License.AGPL.txt in the project root for license information.34// Code generated by protoc-gen-go. DO NOT EDIT.5// versions:6// protoc-gen-go v1.28.17// protoc (unknown)8// source: gitpod/experimental/v1/pagination.proto910package v11112import (13protoreflect "google.golang.org/protobuf/reflect/protoreflect"14protoimpl "google.golang.org/protobuf/runtime/protoimpl"15reflect "reflect"16sync "sync"17)1819const (20// Verify that this generated code is sufficiently up-to-date.21_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)22// Verify that runtime/protoimpl is sufficiently up-to-date.23_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)24)2526type Pagination struct {27state protoimpl.MessageState28sizeCache protoimpl.SizeCache29unknownFields protoimpl.UnknownFields3031// Page size is the maximum number of results to retrieve per page.32// Defaults to 25. Maximum 100.33PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`34// Page is the page number of results to retrieve.35// The first page starts at 1.36// Defaults to 1.37Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"`38}3940func (x *Pagination) Reset() {41*x = Pagination{}42if protoimpl.UnsafeEnabled {43mi := &file_gitpod_experimental_v1_pagination_proto_msgTypes[0]44ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))45ms.StoreMessageInfo(mi)46}47}4849func (x *Pagination) String() string {50return protoimpl.X.MessageStringOf(x)51}5253func (*Pagination) ProtoMessage() {}5455func (x *Pagination) ProtoReflect() protoreflect.Message {56mi := &file_gitpod_experimental_v1_pagination_proto_msgTypes[0]57if protoimpl.UnsafeEnabled && x != nil {58ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))59if ms.LoadMessageInfo() == nil {60ms.StoreMessageInfo(mi)61}62return ms63}64return mi.MessageOf(x)65}6667// Deprecated: Use Pagination.ProtoReflect.Descriptor instead.68func (*Pagination) Descriptor() ([]byte, []int) {69return file_gitpod_experimental_v1_pagination_proto_rawDescGZIP(), []int{0}70}7172func (x *Pagination) GetPageSize() int32 {73if x != nil {74return x.PageSize75}76return 077}7879func (x *Pagination) GetPage() int32 {80if x != nil {81return x.Page82}83return 084}8586var File_gitpod_experimental_v1_pagination_proto protoreflect.FileDescriptor8788var file_gitpod_experimental_v1_pagination_proto_rawDesc = []byte{890x0a, 0x27, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2f, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d,900x65, 0x6e, 0x74, 0x61, 0x6c, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74,910x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x67, 0x69, 0x74, 0x70, 0x6f,920x64, 0x2e, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x2e, 0x76,930x31, 0x22, 0x3d, 0x0a, 0x0a, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12,940x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x01,950x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x12, 0x0a, 0x04,960x70, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65,970x42, 0x6b, 0x0a, 0x23, 0x69, 0x6f, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x70, 0x75,980x62, 0x6c, 0x69, 0x63, 0x61, 0x70, 0x69, 0x2e, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65,990x6e, 0x74, 0x61, 0x6c, 0x2e, 0x76, 0x31, 0x5a, 0x44, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e,1000x63, 0x6f, 0x6d, 0x2f, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2d, 0x69, 0x6f, 0x2f, 0x67, 0x69,1010x74, 0x70, 0x6f, 0x64, 0x2f, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x73, 0x2f,1020x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x2d, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x6f, 0x2f, 0x65, 0x78,1030x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70,1040x72, 0x6f, 0x74, 0x6f, 0x33,105}106107var (108file_gitpod_experimental_v1_pagination_proto_rawDescOnce sync.Once109file_gitpod_experimental_v1_pagination_proto_rawDescData = file_gitpod_experimental_v1_pagination_proto_rawDesc110)111112func file_gitpod_experimental_v1_pagination_proto_rawDescGZIP() []byte {113file_gitpod_experimental_v1_pagination_proto_rawDescOnce.Do(func() {114file_gitpod_experimental_v1_pagination_proto_rawDescData = protoimpl.X.CompressGZIP(file_gitpod_experimental_v1_pagination_proto_rawDescData)115})116return file_gitpod_experimental_v1_pagination_proto_rawDescData117}118119var file_gitpod_experimental_v1_pagination_proto_msgTypes = make([]protoimpl.MessageInfo, 1)120var file_gitpod_experimental_v1_pagination_proto_goTypes = []interface{}{121(*Pagination)(nil), // 0: gitpod.experimental.v1.Pagination122}123var file_gitpod_experimental_v1_pagination_proto_depIdxs = []int32{1240, // [0:0] is the sub-list for method output_type1250, // [0:0] is the sub-list for method input_type1260, // [0:0] is the sub-list for extension type_name1270, // [0:0] is the sub-list for extension extendee1280, // [0:0] is the sub-list for field type_name129}130131func init() { file_gitpod_experimental_v1_pagination_proto_init() }132func file_gitpod_experimental_v1_pagination_proto_init() {133if File_gitpod_experimental_v1_pagination_proto != nil {134return135}136if !protoimpl.UnsafeEnabled {137file_gitpod_experimental_v1_pagination_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {138switch v := v.(*Pagination); i {139case 0:140return &v.state141case 1:142return &v.sizeCache143case 2:144return &v.unknownFields145default:146return nil147}148}149}150type x struct{}151out := protoimpl.TypeBuilder{152File: protoimpl.DescBuilder{153GoPackagePath: reflect.TypeOf(x{}).PkgPath(),154RawDescriptor: file_gitpod_experimental_v1_pagination_proto_rawDesc,155NumEnums: 0,156NumMessages: 1,157NumExtensions: 0,158NumServices: 0,159},160GoTypes: file_gitpod_experimental_v1_pagination_proto_goTypes,161DependencyIndexes: file_gitpod_experimental_v1_pagination_proto_depIdxs,162MessageInfos: file_gitpod_experimental_v1_pagination_proto_msgTypes,163}.Build()164File_gitpod_experimental_v1_pagination_proto = out.File165file_gitpod_experimental_v1_pagination_proto_rawDesc = nil166file_gitpod_experimental_v1_pagination_proto_goTypes = nil167file_gitpod_experimental_v1_pagination_proto_depIdxs = nil168}169170171