Path: blob/main/components/usage-api/go/v1/pagination.pb.go
2499 views
// Copyright (c) 2022 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.07// protoc v3.20.18// source: usage/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 we expect32PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`33// page_token points to a specific page of the results34PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`35}3637func (x *Pagination) Reset() {38*x = Pagination{}39if protoimpl.UnsafeEnabled {40mi := &file_usage_v1_pagination_proto_msgTypes[0]41ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))42ms.StoreMessageInfo(mi)43}44}4546func (x *Pagination) String() string {47return protoimpl.X.MessageStringOf(x)48}4950func (*Pagination) ProtoMessage() {}5152func (x *Pagination) ProtoReflect() protoreflect.Message {53mi := &file_usage_v1_pagination_proto_msgTypes[0]54if protoimpl.UnsafeEnabled && x != nil {55ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))56if ms.LoadMessageInfo() == nil {57ms.StoreMessageInfo(mi)58}59return ms60}61return mi.MessageOf(x)62}6364// Deprecated: Use Pagination.ProtoReflect.Descriptor instead.65func (*Pagination) Descriptor() ([]byte, []int) {66return file_usage_v1_pagination_proto_rawDescGZIP(), []int{0}67}6869func (x *Pagination) GetPageSize() int32 {70if x != nil {71return x.PageSize72}73return 074}7576func (x *Pagination) GetPageToken() string {77if x != nil {78return x.PageToken79}80return ""81}8283var File_usage_v1_pagination_proto protoreflect.FileDescriptor8485var file_usage_v1_pagination_proto_rawDesc = []byte{860x0a, 0x19, 0x75, 0x73, 0x61, 0x67, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x61, 0x67, 0x69, 0x6e,870x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x75, 0x73, 0x61,880x67, 0x65, 0x2e, 0x76, 0x31, 0x22, 0x48, 0x0a, 0x0a, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74,890x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65,900x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65,910x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02,920x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x42,930x2a, 0x5a, 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x69,940x74, 0x70, 0x6f, 0x64, 0x2d, 0x69, 0x6f, 0x2f, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2f, 0x75,950x73, 0x61, 0x67, 0x65, 0x2d, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f,960x74, 0x6f, 0x33,97}9899var (100file_usage_v1_pagination_proto_rawDescOnce sync.Once101file_usage_v1_pagination_proto_rawDescData = file_usage_v1_pagination_proto_rawDesc102)103104func file_usage_v1_pagination_proto_rawDescGZIP() []byte {105file_usage_v1_pagination_proto_rawDescOnce.Do(func() {106file_usage_v1_pagination_proto_rawDescData = protoimpl.X.CompressGZIP(file_usage_v1_pagination_proto_rawDescData)107})108return file_usage_v1_pagination_proto_rawDescData109}110111var file_usage_v1_pagination_proto_msgTypes = make([]protoimpl.MessageInfo, 1)112var file_usage_v1_pagination_proto_goTypes = []interface{}{113(*Pagination)(nil), // 0: usage.v1.Pagination114}115var file_usage_v1_pagination_proto_depIdxs = []int32{1160, // [0:0] is the sub-list for method output_type1170, // [0:0] is the sub-list for method input_type1180, // [0:0] is the sub-list for extension type_name1190, // [0:0] is the sub-list for extension extendee1200, // [0:0] is the sub-list for field type_name121}122123func init() { file_usage_v1_pagination_proto_init() }124func file_usage_v1_pagination_proto_init() {125if File_usage_v1_pagination_proto != nil {126return127}128if !protoimpl.UnsafeEnabled {129file_usage_v1_pagination_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {130switch v := v.(*Pagination); i {131case 0:132return &v.state133case 1:134return &v.sizeCache135case 2:136return &v.unknownFields137default:138return nil139}140}141}142type x struct{}143out := protoimpl.TypeBuilder{144File: protoimpl.DescBuilder{145GoPackagePath: reflect.TypeOf(x{}).PkgPath(),146RawDescriptor: file_usage_v1_pagination_proto_rawDesc,147NumEnums: 0,148NumMessages: 1,149NumExtensions: 0,150NumServices: 0,151},152GoTypes: file_usage_v1_pagination_proto_goTypes,153DependencyIndexes: file_usage_v1_pagination_proto_depIdxs,154MessageInfos: file_usage_v1_pagination_proto_msgTypes,155}.Build()156File_usage_v1_pagination_proto = out.File157file_usage_v1_pagination_proto_rawDesc = nil158file_usage_v1_pagination_proto_goTypes = nil159file_usage_v1_pagination_proto_depIdxs = nil160}161162163