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/identityprovider.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/identityprovider.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 GetIDTokenRequest struct {
28
state protoimpl.MessageState
29
sizeCache protoimpl.SizeCache
30
unknownFields protoimpl.UnknownFields
31
32
WorkspaceId string `protobuf:"bytes,1,opt,name=workspace_id,json=workspaceId,proto3" json:"workspace_id,omitempty"`
33
Audience []string `protobuf:"bytes,2,rep,name=audience,proto3" json:"audience,omitempty"`
34
Scope string `protobuf:"bytes,3,opt,name=scope,proto3" json:"scope,omitempty"`
35
}
36
37
func (x *GetIDTokenRequest) Reset() {
38
*x = GetIDTokenRequest{}
39
if protoimpl.UnsafeEnabled {
40
mi := &file_gitpod_experimental_v1_identityprovider_proto_msgTypes[0]
41
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
42
ms.StoreMessageInfo(mi)
43
}
44
}
45
46
func (x *GetIDTokenRequest) String() string {
47
return protoimpl.X.MessageStringOf(x)
48
}
49
50
func (*GetIDTokenRequest) ProtoMessage() {}
51
52
func (x *GetIDTokenRequest) ProtoReflect() protoreflect.Message {
53
mi := &file_gitpod_experimental_v1_identityprovider_proto_msgTypes[0]
54
if protoimpl.UnsafeEnabled && x != nil {
55
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
56
if ms.LoadMessageInfo() == nil {
57
ms.StoreMessageInfo(mi)
58
}
59
return ms
60
}
61
return mi.MessageOf(x)
62
}
63
64
// Deprecated: Use GetIDTokenRequest.ProtoReflect.Descriptor instead.
65
func (*GetIDTokenRequest) Descriptor() ([]byte, []int) {
66
return file_gitpod_experimental_v1_identityprovider_proto_rawDescGZIP(), []int{0}
67
}
68
69
func (x *GetIDTokenRequest) GetWorkspaceId() string {
70
if x != nil {
71
return x.WorkspaceId
72
}
73
return ""
74
}
75
76
func (x *GetIDTokenRequest) GetAudience() []string {
77
if x != nil {
78
return x.Audience
79
}
80
return nil
81
}
82
83
func (x *GetIDTokenRequest) GetScope() string {
84
if x != nil {
85
return x.Scope
86
}
87
return ""
88
}
89
90
type GetIDTokenResponse struct {
91
state protoimpl.MessageState
92
sizeCache protoimpl.SizeCache
93
unknownFields protoimpl.UnknownFields
94
95
Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
96
}
97
98
func (x *GetIDTokenResponse) Reset() {
99
*x = GetIDTokenResponse{}
100
if protoimpl.UnsafeEnabled {
101
mi := &file_gitpod_experimental_v1_identityprovider_proto_msgTypes[1]
102
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
103
ms.StoreMessageInfo(mi)
104
}
105
}
106
107
func (x *GetIDTokenResponse) String() string {
108
return protoimpl.X.MessageStringOf(x)
109
}
110
111
func (*GetIDTokenResponse) ProtoMessage() {}
112
113
func (x *GetIDTokenResponse) ProtoReflect() protoreflect.Message {
114
mi := &file_gitpod_experimental_v1_identityprovider_proto_msgTypes[1]
115
if protoimpl.UnsafeEnabled && x != nil {
116
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
117
if ms.LoadMessageInfo() == nil {
118
ms.StoreMessageInfo(mi)
119
}
120
return ms
121
}
122
return mi.MessageOf(x)
123
}
124
125
// Deprecated: Use GetIDTokenResponse.ProtoReflect.Descriptor instead.
126
func (*GetIDTokenResponse) Descriptor() ([]byte, []int) {
127
return file_gitpod_experimental_v1_identityprovider_proto_rawDescGZIP(), []int{1}
128
}
129
130
func (x *GetIDTokenResponse) GetToken() string {
131
if x != nil {
132
return x.Token
133
}
134
return ""
135
}
136
137
var File_gitpod_experimental_v1_identityprovider_proto protoreflect.FileDescriptor
138
139
var file_gitpod_experimental_v1_identityprovider_proto_rawDesc = []byte{
140
0x0a, 0x2d, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2f, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d,
141
0x65, 0x6e, 0x74, 0x61, 0x6c, 0x2f, 0x76, 0x31, 0x2f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74,
142
0x79, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
143
0x16, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65,
144
0x6e, 0x74, 0x61, 0x6c, 0x2e, 0x76, 0x31, 0x22, 0x68, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x49, 0x44,
145
0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x0c,
146
0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
147
0x28, 0x09, 0x52, 0x0b, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x49, 0x64, 0x12,
148
0x1a, 0x0a, 0x08, 0x61, 0x75, 0x64, 0x69, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x03, 0x28,
149
0x09, 0x52, 0x08, 0x61, 0x75, 0x64, 0x69, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73,
150
0x63, 0x6f, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x70,
151
0x65, 0x22, 0x2a, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x49, 0x44, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52,
152
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e,
153
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x32, 0x80, 0x01,
154
0x0a, 0x17, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64,
155
0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x65, 0x0a, 0x0a, 0x47, 0x65, 0x74,
156
0x49, 0x44, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x29, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64,
157
0x2e, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x2e, 0x76, 0x31,
158
0x2e, 0x47, 0x65, 0x74, 0x49, 0x44, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65,
159
0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x65, 0x78, 0x70, 0x65,
160
0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x49,
161
0x44, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00,
162
0x42, 0x6b, 0x0a, 0x23, 0x69, 0x6f, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x70, 0x75,
163
0x62, 0x6c, 0x69, 0x63, 0x61, 0x70, 0x69, 0x2e, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65,
164
0x6e, 0x74, 0x61, 0x6c, 0x2e, 0x76, 0x31, 0x5a, 0x44, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e,
165
0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2d, 0x69, 0x6f, 0x2f, 0x67, 0x69,
166
0x74, 0x70, 0x6f, 0x64, 0x2f, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x73, 0x2f,
167
0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x2d, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x6f, 0x2f, 0x65, 0x78,
168
0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70,
169
0x72, 0x6f, 0x74, 0x6f, 0x33,
170
}
171
172
var (
173
file_gitpod_experimental_v1_identityprovider_proto_rawDescOnce sync.Once
174
file_gitpod_experimental_v1_identityprovider_proto_rawDescData = file_gitpod_experimental_v1_identityprovider_proto_rawDesc
175
)
176
177
func file_gitpod_experimental_v1_identityprovider_proto_rawDescGZIP() []byte {
178
file_gitpod_experimental_v1_identityprovider_proto_rawDescOnce.Do(func() {
179
file_gitpod_experimental_v1_identityprovider_proto_rawDescData = protoimpl.X.CompressGZIP(file_gitpod_experimental_v1_identityprovider_proto_rawDescData)
180
})
181
return file_gitpod_experimental_v1_identityprovider_proto_rawDescData
182
}
183
184
var file_gitpod_experimental_v1_identityprovider_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
185
var file_gitpod_experimental_v1_identityprovider_proto_goTypes = []interface{}{
186
(*GetIDTokenRequest)(nil), // 0: gitpod.experimental.v1.GetIDTokenRequest
187
(*GetIDTokenResponse)(nil), // 1: gitpod.experimental.v1.GetIDTokenResponse
188
}
189
var file_gitpod_experimental_v1_identityprovider_proto_depIdxs = []int32{
190
0, // 0: gitpod.experimental.v1.IdentityProviderService.GetIDToken:input_type -> gitpod.experimental.v1.GetIDTokenRequest
191
1, // 1: gitpod.experimental.v1.IdentityProviderService.GetIDToken:output_type -> gitpod.experimental.v1.GetIDTokenResponse
192
1, // [1:2] is the sub-list for method output_type
193
0, // [0:1] is the sub-list for method input_type
194
0, // [0:0] is the sub-list for extension type_name
195
0, // [0:0] is the sub-list for extension extendee
196
0, // [0:0] is the sub-list for field type_name
197
}
198
199
func init() { file_gitpod_experimental_v1_identityprovider_proto_init() }
200
func file_gitpod_experimental_v1_identityprovider_proto_init() {
201
if File_gitpod_experimental_v1_identityprovider_proto != nil {
202
return
203
}
204
if !protoimpl.UnsafeEnabled {
205
file_gitpod_experimental_v1_identityprovider_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
206
switch v := v.(*GetIDTokenRequest); i {
207
case 0:
208
return &v.state
209
case 1:
210
return &v.sizeCache
211
case 2:
212
return &v.unknownFields
213
default:
214
return nil
215
}
216
}
217
file_gitpod_experimental_v1_identityprovider_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
218
switch v := v.(*GetIDTokenResponse); i {
219
case 0:
220
return &v.state
221
case 1:
222
return &v.sizeCache
223
case 2:
224
return &v.unknownFields
225
default:
226
return nil
227
}
228
}
229
}
230
type x struct{}
231
out := protoimpl.TypeBuilder{
232
File: protoimpl.DescBuilder{
233
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
234
RawDescriptor: file_gitpod_experimental_v1_identityprovider_proto_rawDesc,
235
NumEnums: 0,
236
NumMessages: 2,
237
NumExtensions: 0,
238
NumServices: 1,
239
},
240
GoTypes: file_gitpod_experimental_v1_identityprovider_proto_goTypes,
241
DependencyIndexes: file_gitpod_experimental_v1_identityprovider_proto_depIdxs,
242
MessageInfos: file_gitpod_experimental_v1_identityprovider_proto_msgTypes,
243
}.Build()
244
File_gitpod_experimental_v1_identityprovider_proto = out.File
245
file_gitpod_experimental_v1_identityprovider_proto_rawDesc = nil
246
file_gitpod_experimental_v1_identityprovider_proto_goTypes = nil
247
file_gitpod_experimental_v1_identityprovider_proto_depIdxs = nil
248
}
249
250