Path: blob/main/components/public-api/go/experimental/v1/stats.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/stats.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 GetUserStatsRequest struct {27state protoimpl.MessageState28sizeCache protoimpl.SizeCache29unknownFields protoimpl.UnknownFields30}3132func (x *GetUserStatsRequest) Reset() {33*x = GetUserStatsRequest{}34if protoimpl.UnsafeEnabled {35mi := &file_gitpod_experimental_v1_stats_proto_msgTypes[0]36ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))37ms.StoreMessageInfo(mi)38}39}4041func (x *GetUserStatsRequest) String() string {42return protoimpl.X.MessageStringOf(x)43}4445func (*GetUserStatsRequest) ProtoMessage() {}4647func (x *GetUserStatsRequest) ProtoReflect() protoreflect.Message {48mi := &file_gitpod_experimental_v1_stats_proto_msgTypes[0]49if protoimpl.UnsafeEnabled && x != nil {50ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))51if ms.LoadMessageInfo() == nil {52ms.StoreMessageInfo(mi)53}54return ms55}56return mi.MessageOf(x)57}5859// Deprecated: Use GetUserStatsRequest.ProtoReflect.Descriptor instead.60func (*GetUserStatsRequest) Descriptor() ([]byte, []int) {61return file_gitpod_experimental_v1_stats_proto_rawDescGZIP(), []int{0}62}6364type GetUserStatsResponse struct {65state protoimpl.MessageState66sizeCache protoimpl.SizeCache67unknownFields protoimpl.UnknownFields6869// All users that have an active Gitpod (not deleted) account at the time of asking.70RegisteredUsers uint32 `protobuf:"varint,1,opt,name=registered_users,json=registeredUsers,proto3" json:"registered_users,omitempty"`71}7273func (x *GetUserStatsResponse) Reset() {74*x = GetUserStatsResponse{}75if protoimpl.UnsafeEnabled {76mi := &file_gitpod_experimental_v1_stats_proto_msgTypes[1]77ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))78ms.StoreMessageInfo(mi)79}80}8182func (x *GetUserStatsResponse) String() string {83return protoimpl.X.MessageStringOf(x)84}8586func (*GetUserStatsResponse) ProtoMessage() {}8788func (x *GetUserStatsResponse) ProtoReflect() protoreflect.Message {89mi := &file_gitpod_experimental_v1_stats_proto_msgTypes[1]90if protoimpl.UnsafeEnabled && x != nil {91ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))92if ms.LoadMessageInfo() == nil {93ms.StoreMessageInfo(mi)94}95return ms96}97return mi.MessageOf(x)98}99100// Deprecated: Use GetUserStatsResponse.ProtoReflect.Descriptor instead.101func (*GetUserStatsResponse) Descriptor() ([]byte, []int) {102return file_gitpod_experimental_v1_stats_proto_rawDescGZIP(), []int{1}103}104105func (x *GetUserStatsResponse) GetRegisteredUsers() uint32 {106if x != nil {107return x.RegisteredUsers108}109return 0110}111112var File_gitpod_experimental_v1_stats_proto protoreflect.FileDescriptor113114var file_gitpod_experimental_v1_stats_proto_rawDesc = []byte{1150x0a, 0x22, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2f, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d,1160x65, 0x6e, 0x74, 0x61, 0x6c, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x70,1170x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x65, 0x78, 0x70,1180x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x2e, 0x76, 0x31, 0x22, 0x15, 0x0a, 0x13,1190x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75,1200x65, 0x73, 0x74, 0x22, 0x41, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x53, 0x74,1210x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x72,1220x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x65, 0x64, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x73, 0x18,1230x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x65,1240x64, 0x55, 0x73, 0x65, 0x72, 0x73, 0x32, 0x7b, 0x0a, 0x0c, 0x53, 0x74, 0x61, 0x74, 0x73, 0x53,1250x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x6b, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65,1260x72, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x2b, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e,1270x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x2e, 0x76, 0x31, 0x2e,1280x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75,1290x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x65, 0x78, 0x70,1300x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74,1310x55, 0x73, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,1320x65, 0x22, 0x00, 0x42, 0x6b, 0x0a, 0x23, 0x69, 0x6f, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64,1330x2e, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x61, 0x70, 0x69, 0x2e, 0x65, 0x78, 0x70, 0x65, 0x72,1340x69, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x2e, 0x76, 0x31, 0x5a, 0x44, 0x67, 0x69, 0x74, 0x68,1350x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2d, 0x69, 0x6f,1360x2f, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2f, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e,1370x74, 0x73, 0x2f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x2d, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x6f,1380x2f, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x2f, 0x76, 0x31,1390x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,140}141142var (143file_gitpod_experimental_v1_stats_proto_rawDescOnce sync.Once144file_gitpod_experimental_v1_stats_proto_rawDescData = file_gitpod_experimental_v1_stats_proto_rawDesc145)146147func file_gitpod_experimental_v1_stats_proto_rawDescGZIP() []byte {148file_gitpod_experimental_v1_stats_proto_rawDescOnce.Do(func() {149file_gitpod_experimental_v1_stats_proto_rawDescData = protoimpl.X.CompressGZIP(file_gitpod_experimental_v1_stats_proto_rawDescData)150})151return file_gitpod_experimental_v1_stats_proto_rawDescData152}153154var file_gitpod_experimental_v1_stats_proto_msgTypes = make([]protoimpl.MessageInfo, 2)155var file_gitpod_experimental_v1_stats_proto_goTypes = []interface{}{156(*GetUserStatsRequest)(nil), // 0: gitpod.experimental.v1.GetUserStatsRequest157(*GetUserStatsResponse)(nil), // 1: gitpod.experimental.v1.GetUserStatsResponse158}159var file_gitpod_experimental_v1_stats_proto_depIdxs = []int32{1600, // 0: gitpod.experimental.v1.StatsService.GetUserStats:input_type -> gitpod.experimental.v1.GetUserStatsRequest1611, // 1: gitpod.experimental.v1.StatsService.GetUserStats:output_type -> gitpod.experimental.v1.GetUserStatsResponse1621, // [1:2] is the sub-list for method output_type1630, // [0:1] is the sub-list for method input_type1640, // [0:0] is the sub-list for extension type_name1650, // [0:0] is the sub-list for extension extendee1660, // [0:0] is the sub-list for field type_name167}168169func init() { file_gitpod_experimental_v1_stats_proto_init() }170func file_gitpod_experimental_v1_stats_proto_init() {171if File_gitpod_experimental_v1_stats_proto != nil {172return173}174if !protoimpl.UnsafeEnabled {175file_gitpod_experimental_v1_stats_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {176switch v := v.(*GetUserStatsRequest); i {177case 0:178return &v.state179case 1:180return &v.sizeCache181case 2:182return &v.unknownFields183default:184return nil185}186}187file_gitpod_experimental_v1_stats_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {188switch v := v.(*GetUserStatsResponse); i {189case 0:190return &v.state191case 1:192return &v.sizeCache193case 2:194return &v.unknownFields195default:196return nil197}198}199}200type x struct{}201out := protoimpl.TypeBuilder{202File: protoimpl.DescBuilder{203GoPackagePath: reflect.TypeOf(x{}).PkgPath(),204RawDescriptor: file_gitpod_experimental_v1_stats_proto_rawDesc,205NumEnums: 0,206NumMessages: 2,207NumExtensions: 0,208NumServices: 1,209},210GoTypes: file_gitpod_experimental_v1_stats_proto_goTypes,211DependencyIndexes: file_gitpod_experimental_v1_stats_proto_depIdxs,212MessageInfos: file_gitpod_experimental_v1_stats_proto_msgTypes,213}.Build()214File_gitpod_experimental_v1_stats_proto = out.File215file_gitpod_experimental_v1_stats_proto_rawDesc = nil216file_gitpod_experimental_v1_stats_proto_goTypes = nil217file_gitpod_experimental_v1_stats_proto_depIdxs = nil218}219220221