Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
gitpod-io
GitHub Repository: gitpod-io/gitpod
Path: blob/main/components/public-api/go/v1/ssh.pb.go
2500 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/v1/ssh.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
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
17
reflect "reflect"
18
sync "sync"
19
)
20
21
const (
22
// Verify that this generated code is sufficiently up-to-date.
23
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
24
// Verify that runtime/protoimpl is sufficiently up-to-date.
25
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
26
)
27
28
type SSHPublicKey struct {
29
state protoimpl.MessageState
30
sizeCache protoimpl.SizeCache
31
unknownFields protoimpl.UnknownFields
32
33
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
34
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
35
Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"`
36
Fingerprint string `protobuf:"bytes,4,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"`
37
CreationTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=creation_time,json=creationTime,proto3" json:"creation_time,omitempty"`
38
LastUsedTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=last_used_time,json=lastUsedTime,proto3" json:"last_used_time,omitempty"`
39
}
40
41
func (x *SSHPublicKey) Reset() {
42
*x = SSHPublicKey{}
43
if protoimpl.UnsafeEnabled {
44
mi := &file_gitpod_v1_ssh_proto_msgTypes[0]
45
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
46
ms.StoreMessageInfo(mi)
47
}
48
}
49
50
func (x *SSHPublicKey) String() string {
51
return protoimpl.X.MessageStringOf(x)
52
}
53
54
func (*SSHPublicKey) ProtoMessage() {}
55
56
func (x *SSHPublicKey) ProtoReflect() protoreflect.Message {
57
mi := &file_gitpod_v1_ssh_proto_msgTypes[0]
58
if protoimpl.UnsafeEnabled && x != nil {
59
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
60
if ms.LoadMessageInfo() == nil {
61
ms.StoreMessageInfo(mi)
62
}
63
return ms
64
}
65
return mi.MessageOf(x)
66
}
67
68
// Deprecated: Use SSHPublicKey.ProtoReflect.Descriptor instead.
69
func (*SSHPublicKey) Descriptor() ([]byte, []int) {
70
return file_gitpod_v1_ssh_proto_rawDescGZIP(), []int{0}
71
}
72
73
func (x *SSHPublicKey) GetId() string {
74
if x != nil {
75
return x.Id
76
}
77
return ""
78
}
79
80
func (x *SSHPublicKey) GetName() string {
81
if x != nil {
82
return x.Name
83
}
84
return ""
85
}
86
87
func (x *SSHPublicKey) GetKey() string {
88
if x != nil {
89
return x.Key
90
}
91
return ""
92
}
93
94
func (x *SSHPublicKey) GetFingerprint() string {
95
if x != nil {
96
return x.Fingerprint
97
}
98
return ""
99
}
100
101
func (x *SSHPublicKey) GetCreationTime() *timestamppb.Timestamp {
102
if x != nil {
103
return x.CreationTime
104
}
105
return nil
106
}
107
108
func (x *SSHPublicKey) GetLastUsedTime() *timestamppb.Timestamp {
109
if x != nil {
110
return x.LastUsedTime
111
}
112
return nil
113
}
114
115
type ListSSHPublicKeysRequest struct {
116
state protoimpl.MessageState
117
sizeCache protoimpl.SizeCache
118
unknownFields protoimpl.UnknownFields
119
120
Pagination *PaginationRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
121
}
122
123
func (x *ListSSHPublicKeysRequest) Reset() {
124
*x = ListSSHPublicKeysRequest{}
125
if protoimpl.UnsafeEnabled {
126
mi := &file_gitpod_v1_ssh_proto_msgTypes[1]
127
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
128
ms.StoreMessageInfo(mi)
129
}
130
}
131
132
func (x *ListSSHPublicKeysRequest) String() string {
133
return protoimpl.X.MessageStringOf(x)
134
}
135
136
func (*ListSSHPublicKeysRequest) ProtoMessage() {}
137
138
func (x *ListSSHPublicKeysRequest) ProtoReflect() protoreflect.Message {
139
mi := &file_gitpod_v1_ssh_proto_msgTypes[1]
140
if protoimpl.UnsafeEnabled && x != nil {
141
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
142
if ms.LoadMessageInfo() == nil {
143
ms.StoreMessageInfo(mi)
144
}
145
return ms
146
}
147
return mi.MessageOf(x)
148
}
149
150
// Deprecated: Use ListSSHPublicKeysRequest.ProtoReflect.Descriptor instead.
151
func (*ListSSHPublicKeysRequest) Descriptor() ([]byte, []int) {
152
return file_gitpod_v1_ssh_proto_rawDescGZIP(), []int{1}
153
}
154
155
func (x *ListSSHPublicKeysRequest) GetPagination() *PaginationRequest {
156
if x != nil {
157
return x.Pagination
158
}
159
return nil
160
}
161
162
type ListSSHPublicKeysResponse struct {
163
state protoimpl.MessageState
164
sizeCache protoimpl.SizeCache
165
unknownFields protoimpl.UnknownFields
166
167
SshKeys []*SSHPublicKey `protobuf:"bytes,1,rep,name=ssh_keys,json=sshKeys,proto3" json:"ssh_keys,omitempty"`
168
Pagination *PaginationRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
169
}
170
171
func (x *ListSSHPublicKeysResponse) Reset() {
172
*x = ListSSHPublicKeysResponse{}
173
if protoimpl.UnsafeEnabled {
174
mi := &file_gitpod_v1_ssh_proto_msgTypes[2]
175
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
176
ms.StoreMessageInfo(mi)
177
}
178
}
179
180
func (x *ListSSHPublicKeysResponse) String() string {
181
return protoimpl.X.MessageStringOf(x)
182
}
183
184
func (*ListSSHPublicKeysResponse) ProtoMessage() {}
185
186
func (x *ListSSHPublicKeysResponse) ProtoReflect() protoreflect.Message {
187
mi := &file_gitpod_v1_ssh_proto_msgTypes[2]
188
if protoimpl.UnsafeEnabled && x != nil {
189
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
190
if ms.LoadMessageInfo() == nil {
191
ms.StoreMessageInfo(mi)
192
}
193
return ms
194
}
195
return mi.MessageOf(x)
196
}
197
198
// Deprecated: Use ListSSHPublicKeysResponse.ProtoReflect.Descriptor instead.
199
func (*ListSSHPublicKeysResponse) Descriptor() ([]byte, []int) {
200
return file_gitpod_v1_ssh_proto_rawDescGZIP(), []int{2}
201
}
202
203
func (x *ListSSHPublicKeysResponse) GetSshKeys() []*SSHPublicKey {
204
if x != nil {
205
return x.SshKeys
206
}
207
return nil
208
}
209
210
func (x *ListSSHPublicKeysResponse) GetPagination() *PaginationRequest {
211
if x != nil {
212
return x.Pagination
213
}
214
return nil
215
}
216
217
type CreateSSHPublicKeyRequest struct {
218
state protoimpl.MessageState
219
sizeCache protoimpl.SizeCache
220
unknownFields protoimpl.UnknownFields
221
222
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
223
Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
224
}
225
226
func (x *CreateSSHPublicKeyRequest) Reset() {
227
*x = CreateSSHPublicKeyRequest{}
228
if protoimpl.UnsafeEnabled {
229
mi := &file_gitpod_v1_ssh_proto_msgTypes[3]
230
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
231
ms.StoreMessageInfo(mi)
232
}
233
}
234
235
func (x *CreateSSHPublicKeyRequest) String() string {
236
return protoimpl.X.MessageStringOf(x)
237
}
238
239
func (*CreateSSHPublicKeyRequest) ProtoMessage() {}
240
241
func (x *CreateSSHPublicKeyRequest) ProtoReflect() protoreflect.Message {
242
mi := &file_gitpod_v1_ssh_proto_msgTypes[3]
243
if protoimpl.UnsafeEnabled && x != nil {
244
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
245
if ms.LoadMessageInfo() == nil {
246
ms.StoreMessageInfo(mi)
247
}
248
return ms
249
}
250
return mi.MessageOf(x)
251
}
252
253
// Deprecated: Use CreateSSHPublicKeyRequest.ProtoReflect.Descriptor instead.
254
func (*CreateSSHPublicKeyRequest) Descriptor() ([]byte, []int) {
255
return file_gitpod_v1_ssh_proto_rawDescGZIP(), []int{3}
256
}
257
258
func (x *CreateSSHPublicKeyRequest) GetName() string {
259
if x != nil {
260
return x.Name
261
}
262
return ""
263
}
264
265
func (x *CreateSSHPublicKeyRequest) GetKey() string {
266
if x != nil {
267
return x.Key
268
}
269
return ""
270
}
271
272
type CreateSSHPublicKeyResponse struct {
273
state protoimpl.MessageState
274
sizeCache protoimpl.SizeCache
275
unknownFields protoimpl.UnknownFields
276
277
SshKey *SSHPublicKey `protobuf:"bytes,1,opt,name=ssh_key,json=sshKey,proto3" json:"ssh_key,omitempty"`
278
}
279
280
func (x *CreateSSHPublicKeyResponse) Reset() {
281
*x = CreateSSHPublicKeyResponse{}
282
if protoimpl.UnsafeEnabled {
283
mi := &file_gitpod_v1_ssh_proto_msgTypes[4]
284
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
285
ms.StoreMessageInfo(mi)
286
}
287
}
288
289
func (x *CreateSSHPublicKeyResponse) String() string {
290
return protoimpl.X.MessageStringOf(x)
291
}
292
293
func (*CreateSSHPublicKeyResponse) ProtoMessage() {}
294
295
func (x *CreateSSHPublicKeyResponse) ProtoReflect() protoreflect.Message {
296
mi := &file_gitpod_v1_ssh_proto_msgTypes[4]
297
if protoimpl.UnsafeEnabled && x != nil {
298
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
299
if ms.LoadMessageInfo() == nil {
300
ms.StoreMessageInfo(mi)
301
}
302
return ms
303
}
304
return mi.MessageOf(x)
305
}
306
307
// Deprecated: Use CreateSSHPublicKeyResponse.ProtoReflect.Descriptor instead.
308
func (*CreateSSHPublicKeyResponse) Descriptor() ([]byte, []int) {
309
return file_gitpod_v1_ssh_proto_rawDescGZIP(), []int{4}
310
}
311
312
func (x *CreateSSHPublicKeyResponse) GetSshKey() *SSHPublicKey {
313
if x != nil {
314
return x.SshKey
315
}
316
return nil
317
}
318
319
type DeleteSSHPublicKeyRequest struct {
320
state protoimpl.MessageState
321
sizeCache protoimpl.SizeCache
322
unknownFields protoimpl.UnknownFields
323
324
SshKeyId string `protobuf:"bytes,1,opt,name=ssh_key_id,json=sshKeyId,proto3" json:"ssh_key_id,omitempty"`
325
}
326
327
func (x *DeleteSSHPublicKeyRequest) Reset() {
328
*x = DeleteSSHPublicKeyRequest{}
329
if protoimpl.UnsafeEnabled {
330
mi := &file_gitpod_v1_ssh_proto_msgTypes[5]
331
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
332
ms.StoreMessageInfo(mi)
333
}
334
}
335
336
func (x *DeleteSSHPublicKeyRequest) String() string {
337
return protoimpl.X.MessageStringOf(x)
338
}
339
340
func (*DeleteSSHPublicKeyRequest) ProtoMessage() {}
341
342
func (x *DeleteSSHPublicKeyRequest) ProtoReflect() protoreflect.Message {
343
mi := &file_gitpod_v1_ssh_proto_msgTypes[5]
344
if protoimpl.UnsafeEnabled && x != nil {
345
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
346
if ms.LoadMessageInfo() == nil {
347
ms.StoreMessageInfo(mi)
348
}
349
return ms
350
}
351
return mi.MessageOf(x)
352
}
353
354
// Deprecated: Use DeleteSSHPublicKeyRequest.ProtoReflect.Descriptor instead.
355
func (*DeleteSSHPublicKeyRequest) Descriptor() ([]byte, []int) {
356
return file_gitpod_v1_ssh_proto_rawDescGZIP(), []int{5}
357
}
358
359
func (x *DeleteSSHPublicKeyRequest) GetSshKeyId() string {
360
if x != nil {
361
return x.SshKeyId
362
}
363
return ""
364
}
365
366
type DeleteSSHPublicKeyResponse struct {
367
state protoimpl.MessageState
368
sizeCache protoimpl.SizeCache
369
unknownFields protoimpl.UnknownFields
370
}
371
372
func (x *DeleteSSHPublicKeyResponse) Reset() {
373
*x = DeleteSSHPublicKeyResponse{}
374
if protoimpl.UnsafeEnabled {
375
mi := &file_gitpod_v1_ssh_proto_msgTypes[6]
376
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
377
ms.StoreMessageInfo(mi)
378
}
379
}
380
381
func (x *DeleteSSHPublicKeyResponse) String() string {
382
return protoimpl.X.MessageStringOf(x)
383
}
384
385
func (*DeleteSSHPublicKeyResponse) ProtoMessage() {}
386
387
func (x *DeleteSSHPublicKeyResponse) ProtoReflect() protoreflect.Message {
388
mi := &file_gitpod_v1_ssh_proto_msgTypes[6]
389
if protoimpl.UnsafeEnabled && x != nil {
390
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
391
if ms.LoadMessageInfo() == nil {
392
ms.StoreMessageInfo(mi)
393
}
394
return ms
395
}
396
return mi.MessageOf(x)
397
}
398
399
// Deprecated: Use DeleteSSHPublicKeyResponse.ProtoReflect.Descriptor instead.
400
func (*DeleteSSHPublicKeyResponse) Descriptor() ([]byte, []int) {
401
return file_gitpod_v1_ssh_proto_rawDescGZIP(), []int{6}
402
}
403
404
var File_gitpod_v1_ssh_proto protoreflect.FileDescriptor
405
406
var file_gitpod_v1_ssh_proto_rawDesc = []byte{
407
0x0a, 0x13, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x73, 0x68, 0x2e,
408
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x09, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x76, 0x31,
409
0x1a, 0x1a, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x61, 0x67, 0x69,
410
0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f,
411
0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69,
412
0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe9, 0x01,
413
0x0a, 0x0c, 0x53, 0x53, 0x48, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x0e,
414
0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12,
415
0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
416
0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
417
0x03, 0x6b, 0x65, 0x79, 0x12, 0x20, 0x0a, 0x0b, 0x66, 0x69, 0x6e, 0x67, 0x65, 0x72, 0x70, 0x72,
418
0x69, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x66, 0x69, 0x6e, 0x67, 0x65,
419
0x72, 0x70, 0x72, 0x69, 0x6e, 0x74, 0x12, 0x3f, 0x0a, 0x0d, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69,
420
0x6f, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e,
421
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
422
0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0c, 0x63, 0x72, 0x65, 0x61, 0x74,
423
0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0e, 0x6c, 0x61, 0x73, 0x74, 0x5f,
424
0x75, 0x73, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32,
425
0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
426
0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0c, 0x6c, 0x61, 0x73,
427
0x74, 0x55, 0x73, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x58, 0x0a, 0x18, 0x4c, 0x69, 0x73,
428
0x74, 0x53, 0x53, 0x48, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x73, 0x52, 0x65,
429
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3c, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74,
430
0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x69, 0x74, 0x70,
431
0x6f, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e,
432
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74,
433
0x69, 0x6f, 0x6e, 0x22, 0x8d, 0x01, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x53, 0x48, 0x50,
434
0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
435
0x65, 0x12, 0x32, 0x0a, 0x08, 0x73, 0x73, 0x68, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x01, 0x20,
436
0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x76, 0x31, 0x2e,
437
0x53, 0x53, 0x48, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x52, 0x07, 0x73, 0x73,
438
0x68, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x3c, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74,
439
0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x69, 0x74, 0x70,
440
0x6f, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e,
441
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74,
442
0x69, 0x6f, 0x6e, 0x22, 0x41, 0x0a, 0x19, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x53, 0x48,
443
0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
444
0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
445
0x6e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28,
446
0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x22, 0x4e, 0x0a, 0x1a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,
447
0x53, 0x53, 0x48, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70,
448
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x07, 0x73, 0x73, 0x68, 0x5f, 0x6b, 0x65, 0x79, 0x18,
449
0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x76,
450
0x31, 0x2e, 0x53, 0x53, 0x48, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x52, 0x06,
451
0x73, 0x73, 0x68, 0x4b, 0x65, 0x79, 0x22, 0x39, 0x0a, 0x19, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65,
452
0x53, 0x53, 0x48, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75,
453
0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x0a, 0x73, 0x73, 0x68, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x69,
454
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x73, 0x68, 0x4b, 0x65, 0x79, 0x49,
455
0x64, 0x22, 0x1c, 0x0a, 0x1a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x53, 0x48, 0x50, 0x75,
456
0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32,
457
0xb8, 0x02, 0x0a, 0x0a, 0x53, 0x53, 0x48, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x60,
458
0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x53, 0x48, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b,
459
0x65, 0x79, 0x73, 0x12, 0x23, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x76, 0x31, 0x2e,
460
0x4c, 0x69, 0x73, 0x74, 0x53, 0x53, 0x48, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79,
461
0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f,
462
0x64, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x53, 0x48, 0x50, 0x75, 0x62, 0x6c,
463
0x69, 0x63, 0x4b, 0x65, 0x79, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00,
464
0x12, 0x63, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x53, 0x48, 0x50, 0x75, 0x62,
465
0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x24, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e,
466
0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x53, 0x48, 0x50, 0x75, 0x62, 0x6c,
467
0x69, 0x63, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x67,
468
0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53,
469
0x53, 0x48, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f,
470
0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x63, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53,
471
0x53, 0x48, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x24, 0x2e, 0x67, 0x69,
472
0x74, 0x70, 0x6f, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x53,
473
0x48, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
474
0x74, 0x1a, 0x25, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65,
475
0x6c, 0x65, 0x74, 0x65, 0x53, 0x53, 0x48, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79,
476
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x51, 0x0a, 0x16, 0x69, 0x6f,
477
0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x61, 0x70,
478
0x69, 0x2e, 0x76, 0x31, 0x5a, 0x37, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d,
479
0x2f, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2d, 0x69, 0x6f, 0x2f, 0x67, 0x69, 0x74, 0x70, 0x6f,
480
0x64, 0x2f, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x70, 0x75, 0x62,
481
0x6c, 0x69, 0x63, 0x2d, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x6f, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70,
482
0x72, 0x6f, 0x74, 0x6f, 0x33,
483
}
484
485
var (
486
file_gitpod_v1_ssh_proto_rawDescOnce sync.Once
487
file_gitpod_v1_ssh_proto_rawDescData = file_gitpod_v1_ssh_proto_rawDesc
488
)
489
490
func file_gitpod_v1_ssh_proto_rawDescGZIP() []byte {
491
file_gitpod_v1_ssh_proto_rawDescOnce.Do(func() {
492
file_gitpod_v1_ssh_proto_rawDescData = protoimpl.X.CompressGZIP(file_gitpod_v1_ssh_proto_rawDescData)
493
})
494
return file_gitpod_v1_ssh_proto_rawDescData
495
}
496
497
var file_gitpod_v1_ssh_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
498
var file_gitpod_v1_ssh_proto_goTypes = []interface{}{
499
(*SSHPublicKey)(nil), // 0: gitpod.v1.SSHPublicKey
500
(*ListSSHPublicKeysRequest)(nil), // 1: gitpod.v1.ListSSHPublicKeysRequest
501
(*ListSSHPublicKeysResponse)(nil), // 2: gitpod.v1.ListSSHPublicKeysResponse
502
(*CreateSSHPublicKeyRequest)(nil), // 3: gitpod.v1.CreateSSHPublicKeyRequest
503
(*CreateSSHPublicKeyResponse)(nil), // 4: gitpod.v1.CreateSSHPublicKeyResponse
504
(*DeleteSSHPublicKeyRequest)(nil), // 5: gitpod.v1.DeleteSSHPublicKeyRequest
505
(*DeleteSSHPublicKeyResponse)(nil), // 6: gitpod.v1.DeleteSSHPublicKeyResponse
506
(*timestamppb.Timestamp)(nil), // 7: google.protobuf.Timestamp
507
(*PaginationRequest)(nil), // 8: gitpod.v1.PaginationRequest
508
}
509
var file_gitpod_v1_ssh_proto_depIdxs = []int32{
510
7, // 0: gitpod.v1.SSHPublicKey.creation_time:type_name -> google.protobuf.Timestamp
511
7, // 1: gitpod.v1.SSHPublicKey.last_used_time:type_name -> google.protobuf.Timestamp
512
8, // 2: gitpod.v1.ListSSHPublicKeysRequest.pagination:type_name -> gitpod.v1.PaginationRequest
513
0, // 3: gitpod.v1.ListSSHPublicKeysResponse.ssh_keys:type_name -> gitpod.v1.SSHPublicKey
514
8, // 4: gitpod.v1.ListSSHPublicKeysResponse.pagination:type_name -> gitpod.v1.PaginationRequest
515
0, // 5: gitpod.v1.CreateSSHPublicKeyResponse.ssh_key:type_name -> gitpod.v1.SSHPublicKey
516
1, // 6: gitpod.v1.SSHService.ListSSHPublicKeys:input_type -> gitpod.v1.ListSSHPublicKeysRequest
517
3, // 7: gitpod.v1.SSHService.CreateSSHPublicKey:input_type -> gitpod.v1.CreateSSHPublicKeyRequest
518
5, // 8: gitpod.v1.SSHService.DeleteSSHPublicKey:input_type -> gitpod.v1.DeleteSSHPublicKeyRequest
519
2, // 9: gitpod.v1.SSHService.ListSSHPublicKeys:output_type -> gitpod.v1.ListSSHPublicKeysResponse
520
4, // 10: gitpod.v1.SSHService.CreateSSHPublicKey:output_type -> gitpod.v1.CreateSSHPublicKeyResponse
521
6, // 11: gitpod.v1.SSHService.DeleteSSHPublicKey:output_type -> gitpod.v1.DeleteSSHPublicKeyResponse
522
9, // [9:12] is the sub-list for method output_type
523
6, // [6:9] is the sub-list for method input_type
524
6, // [6:6] is the sub-list for extension type_name
525
6, // [6:6] is the sub-list for extension extendee
526
0, // [0:6] is the sub-list for field type_name
527
}
528
529
func init() { file_gitpod_v1_ssh_proto_init() }
530
func file_gitpod_v1_ssh_proto_init() {
531
if File_gitpod_v1_ssh_proto != nil {
532
return
533
}
534
file_gitpod_v1_pagination_proto_init()
535
if !protoimpl.UnsafeEnabled {
536
file_gitpod_v1_ssh_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
537
switch v := v.(*SSHPublicKey); i {
538
case 0:
539
return &v.state
540
case 1:
541
return &v.sizeCache
542
case 2:
543
return &v.unknownFields
544
default:
545
return nil
546
}
547
}
548
file_gitpod_v1_ssh_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
549
switch v := v.(*ListSSHPublicKeysRequest); i {
550
case 0:
551
return &v.state
552
case 1:
553
return &v.sizeCache
554
case 2:
555
return &v.unknownFields
556
default:
557
return nil
558
}
559
}
560
file_gitpod_v1_ssh_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
561
switch v := v.(*ListSSHPublicKeysResponse); i {
562
case 0:
563
return &v.state
564
case 1:
565
return &v.sizeCache
566
case 2:
567
return &v.unknownFields
568
default:
569
return nil
570
}
571
}
572
file_gitpod_v1_ssh_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
573
switch v := v.(*CreateSSHPublicKeyRequest); i {
574
case 0:
575
return &v.state
576
case 1:
577
return &v.sizeCache
578
case 2:
579
return &v.unknownFields
580
default:
581
return nil
582
}
583
}
584
file_gitpod_v1_ssh_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
585
switch v := v.(*CreateSSHPublicKeyResponse); i {
586
case 0:
587
return &v.state
588
case 1:
589
return &v.sizeCache
590
case 2:
591
return &v.unknownFields
592
default:
593
return nil
594
}
595
}
596
file_gitpod_v1_ssh_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
597
switch v := v.(*DeleteSSHPublicKeyRequest); i {
598
case 0:
599
return &v.state
600
case 1:
601
return &v.sizeCache
602
case 2:
603
return &v.unknownFields
604
default:
605
return nil
606
}
607
}
608
file_gitpod_v1_ssh_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
609
switch v := v.(*DeleteSSHPublicKeyResponse); i {
610
case 0:
611
return &v.state
612
case 1:
613
return &v.sizeCache
614
case 2:
615
return &v.unknownFields
616
default:
617
return nil
618
}
619
}
620
}
621
type x struct{}
622
out := protoimpl.TypeBuilder{
623
File: protoimpl.DescBuilder{
624
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
625
RawDescriptor: file_gitpod_v1_ssh_proto_rawDesc,
626
NumEnums: 0,
627
NumMessages: 7,
628
NumExtensions: 0,
629
NumServices: 1,
630
},
631
GoTypes: file_gitpod_v1_ssh_proto_goTypes,
632
DependencyIndexes: file_gitpod_v1_ssh_proto_depIdxs,
633
MessageInfos: file_gitpod_v1_ssh_proto_msgTypes,
634
}.Build()
635
File_gitpod_v1_ssh_proto = out.File
636
file_gitpod_v1_ssh_proto_rawDesc = nil
637
file_gitpod_v1_ssh_proto_goTypes = nil
638
file_gitpod_v1_ssh_proto_depIdxs = nil
639
}
640
641