Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
gitpod-io
GitHub Repository: gitpod-io/gitpod
Path: blob/main/components/public-api/go/experimental/v1/stats.pb.go
2501 views
1
// Copyright (c) 2025 Gitpod GmbH. All rights reserved.
2
// Licensed under the GNU Affero General Public License (AGPL).
3
// See License.AGPL.txt in the project root for license information.
4
5
// Code generated by protoc-gen-go. DO NOT EDIT.
6
// versions:
7
// protoc-gen-go v1.28.1
8
// protoc (unknown)
9
// source: gitpod/experimental/v1/stats.proto
10
11
package v1
12
13
import (
14
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
15
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
16
reflect "reflect"
17
sync "sync"
18
)
19
20
const (
21
// Verify that this generated code is sufficiently up-to-date.
22
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
23
// Verify that runtime/protoimpl is sufficiently up-to-date.
24
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
25
)
26
27
type GetUserStatsRequest struct {
28
state protoimpl.MessageState
29
sizeCache protoimpl.SizeCache
30
unknownFields protoimpl.UnknownFields
31
}
32
33
func (x *GetUserStatsRequest) Reset() {
34
*x = GetUserStatsRequest{}
35
if protoimpl.UnsafeEnabled {
36
mi := &file_gitpod_experimental_v1_stats_proto_msgTypes[0]
37
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
38
ms.StoreMessageInfo(mi)
39
}
40
}
41
42
func (x *GetUserStatsRequest) String() string {
43
return protoimpl.X.MessageStringOf(x)
44
}
45
46
func (*GetUserStatsRequest) ProtoMessage() {}
47
48
func (x *GetUserStatsRequest) ProtoReflect() protoreflect.Message {
49
mi := &file_gitpod_experimental_v1_stats_proto_msgTypes[0]
50
if protoimpl.UnsafeEnabled && x != nil {
51
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
52
if ms.LoadMessageInfo() == nil {
53
ms.StoreMessageInfo(mi)
54
}
55
return ms
56
}
57
return mi.MessageOf(x)
58
}
59
60
// Deprecated: Use GetUserStatsRequest.ProtoReflect.Descriptor instead.
61
func (*GetUserStatsRequest) Descriptor() ([]byte, []int) {
62
return file_gitpod_experimental_v1_stats_proto_rawDescGZIP(), []int{0}
63
}
64
65
type GetUserStatsResponse struct {
66
state protoimpl.MessageState
67
sizeCache protoimpl.SizeCache
68
unknownFields protoimpl.UnknownFields
69
70
// All users that have an active Gitpod (not deleted) account at the time of asking.
71
RegisteredUsers uint32 `protobuf:"varint,1,opt,name=registered_users,json=registeredUsers,proto3" json:"registered_users,omitempty"`
72
}
73
74
func (x *GetUserStatsResponse) Reset() {
75
*x = GetUserStatsResponse{}
76
if protoimpl.UnsafeEnabled {
77
mi := &file_gitpod_experimental_v1_stats_proto_msgTypes[1]
78
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
79
ms.StoreMessageInfo(mi)
80
}
81
}
82
83
func (x *GetUserStatsResponse) String() string {
84
return protoimpl.X.MessageStringOf(x)
85
}
86
87
func (*GetUserStatsResponse) ProtoMessage() {}
88
89
func (x *GetUserStatsResponse) ProtoReflect() protoreflect.Message {
90
mi := &file_gitpod_experimental_v1_stats_proto_msgTypes[1]
91
if protoimpl.UnsafeEnabled && x != nil {
92
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
93
if ms.LoadMessageInfo() == nil {
94
ms.StoreMessageInfo(mi)
95
}
96
return ms
97
}
98
return mi.MessageOf(x)
99
}
100
101
// Deprecated: Use GetUserStatsResponse.ProtoReflect.Descriptor instead.
102
func (*GetUserStatsResponse) Descriptor() ([]byte, []int) {
103
return file_gitpod_experimental_v1_stats_proto_rawDescGZIP(), []int{1}
104
}
105
106
func (x *GetUserStatsResponse) GetRegisteredUsers() uint32 {
107
if x != nil {
108
return x.RegisteredUsers
109
}
110
return 0
111
}
112
113
var File_gitpod_experimental_v1_stats_proto protoreflect.FileDescriptor
114
115
var file_gitpod_experimental_v1_stats_proto_rawDesc = []byte{
116
0x0a, 0x22, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2f, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d,
117
0x65, 0x6e, 0x74, 0x61, 0x6c, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x70,
118
0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x65, 0x78, 0x70,
119
0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x2e, 0x76, 0x31, 0x22, 0x15, 0x0a, 0x13,
120
0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75,
121
0x65, 0x73, 0x74, 0x22, 0x41, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x53, 0x74,
122
0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x72,
123
0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x65, 0x64, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x73, 0x18,
124
0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x65,
125
0x64, 0x55, 0x73, 0x65, 0x72, 0x73, 0x32, 0x7b, 0x0a, 0x0c, 0x53, 0x74, 0x61, 0x74, 0x73, 0x53,
126
0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x6b, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65,
127
0x72, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x2b, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e,
128
0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x2e, 0x76, 0x31, 0x2e,
129
0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75,
130
0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x65, 0x78, 0x70,
131
0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74,
132
0x55, 0x73, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
133
0x65, 0x22, 0x00, 0x42, 0x6b, 0x0a, 0x23, 0x69, 0x6f, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64,
134
0x2e, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x61, 0x70, 0x69, 0x2e, 0x65, 0x78, 0x70, 0x65, 0x72,
135
0x69, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x2e, 0x76, 0x31, 0x5a, 0x44, 0x67, 0x69, 0x74, 0x68,
136
0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2d, 0x69, 0x6f,
137
0x2f, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2f, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e,
138
0x74, 0x73, 0x2f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x2d, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x6f,
139
0x2f, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x2f, 0x76, 0x31,
140
0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
141
}
142
143
var (
144
file_gitpod_experimental_v1_stats_proto_rawDescOnce sync.Once
145
file_gitpod_experimental_v1_stats_proto_rawDescData = file_gitpod_experimental_v1_stats_proto_rawDesc
146
)
147
148
func file_gitpod_experimental_v1_stats_proto_rawDescGZIP() []byte {
149
file_gitpod_experimental_v1_stats_proto_rawDescOnce.Do(func() {
150
file_gitpod_experimental_v1_stats_proto_rawDescData = protoimpl.X.CompressGZIP(file_gitpod_experimental_v1_stats_proto_rawDescData)
151
})
152
return file_gitpod_experimental_v1_stats_proto_rawDescData
153
}
154
155
var file_gitpod_experimental_v1_stats_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
156
var file_gitpod_experimental_v1_stats_proto_goTypes = []interface{}{
157
(*GetUserStatsRequest)(nil), // 0: gitpod.experimental.v1.GetUserStatsRequest
158
(*GetUserStatsResponse)(nil), // 1: gitpod.experimental.v1.GetUserStatsResponse
159
}
160
var file_gitpod_experimental_v1_stats_proto_depIdxs = []int32{
161
0, // 0: gitpod.experimental.v1.StatsService.GetUserStats:input_type -> gitpod.experimental.v1.GetUserStatsRequest
162
1, // 1: gitpod.experimental.v1.StatsService.GetUserStats:output_type -> gitpod.experimental.v1.GetUserStatsResponse
163
1, // [1:2] is the sub-list for method output_type
164
0, // [0:1] is the sub-list for method input_type
165
0, // [0:0] is the sub-list for extension type_name
166
0, // [0:0] is the sub-list for extension extendee
167
0, // [0:0] is the sub-list for field type_name
168
}
169
170
func init() { file_gitpod_experimental_v1_stats_proto_init() }
171
func file_gitpod_experimental_v1_stats_proto_init() {
172
if File_gitpod_experimental_v1_stats_proto != nil {
173
return
174
}
175
if !protoimpl.UnsafeEnabled {
176
file_gitpod_experimental_v1_stats_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
177
switch v := v.(*GetUserStatsRequest); i {
178
case 0:
179
return &v.state
180
case 1:
181
return &v.sizeCache
182
case 2:
183
return &v.unknownFields
184
default:
185
return nil
186
}
187
}
188
file_gitpod_experimental_v1_stats_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
189
switch v := v.(*GetUserStatsResponse); i {
190
case 0:
191
return &v.state
192
case 1:
193
return &v.sizeCache
194
case 2:
195
return &v.unknownFields
196
default:
197
return nil
198
}
199
}
200
}
201
type x struct{}
202
out := protoimpl.TypeBuilder{
203
File: protoimpl.DescBuilder{
204
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
205
RawDescriptor: file_gitpod_experimental_v1_stats_proto_rawDesc,
206
NumEnums: 0,
207
NumMessages: 2,
208
NumExtensions: 0,
209
NumServices: 1,
210
},
211
GoTypes: file_gitpod_experimental_v1_stats_proto_goTypes,
212
DependencyIndexes: file_gitpod_experimental_v1_stats_proto_depIdxs,
213
MessageInfos: file_gitpod_experimental_v1_stats_proto_msgTypes,
214
}.Build()
215
File_gitpod_experimental_v1_stats_proto = out.File
216
file_gitpod_experimental_v1_stats_proto_rawDesc = nil
217
file_gitpod_experimental_v1_stats_proto_goTypes = nil
218
file_gitpod_experimental_v1_stats_proto_depIdxs = nil
219
}
220
221