Path: blob/main/components/public-api/go/experimental/v1/identityprovider.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/identityprovider.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 GetIDTokenRequest struct {27state protoimpl.MessageState28sizeCache protoimpl.SizeCache29unknownFields protoimpl.UnknownFields3031WorkspaceId string `protobuf:"bytes,1,opt,name=workspace_id,json=workspaceId,proto3" json:"workspace_id,omitempty"`32Audience []string `protobuf:"bytes,2,rep,name=audience,proto3" json:"audience,omitempty"`33Scope string `protobuf:"bytes,3,opt,name=scope,proto3" json:"scope,omitempty"`34}3536func (x *GetIDTokenRequest) Reset() {37*x = GetIDTokenRequest{}38if protoimpl.UnsafeEnabled {39mi := &file_gitpod_experimental_v1_identityprovider_proto_msgTypes[0]40ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))41ms.StoreMessageInfo(mi)42}43}4445func (x *GetIDTokenRequest) String() string {46return protoimpl.X.MessageStringOf(x)47}4849func (*GetIDTokenRequest) ProtoMessage() {}5051func (x *GetIDTokenRequest) ProtoReflect() protoreflect.Message {52mi := &file_gitpod_experimental_v1_identityprovider_proto_msgTypes[0]53if protoimpl.UnsafeEnabled && x != nil {54ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))55if ms.LoadMessageInfo() == nil {56ms.StoreMessageInfo(mi)57}58return ms59}60return mi.MessageOf(x)61}6263// Deprecated: Use GetIDTokenRequest.ProtoReflect.Descriptor instead.64func (*GetIDTokenRequest) Descriptor() ([]byte, []int) {65return file_gitpod_experimental_v1_identityprovider_proto_rawDescGZIP(), []int{0}66}6768func (x *GetIDTokenRequest) GetWorkspaceId() string {69if x != nil {70return x.WorkspaceId71}72return ""73}7475func (x *GetIDTokenRequest) GetAudience() []string {76if x != nil {77return x.Audience78}79return nil80}8182func (x *GetIDTokenRequest) GetScope() string {83if x != nil {84return x.Scope85}86return ""87}8889type GetIDTokenResponse struct {90state protoimpl.MessageState91sizeCache protoimpl.SizeCache92unknownFields protoimpl.UnknownFields9394Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`95}9697func (x *GetIDTokenResponse) Reset() {98*x = GetIDTokenResponse{}99if protoimpl.UnsafeEnabled {100mi := &file_gitpod_experimental_v1_identityprovider_proto_msgTypes[1]101ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))102ms.StoreMessageInfo(mi)103}104}105106func (x *GetIDTokenResponse) String() string {107return protoimpl.X.MessageStringOf(x)108}109110func (*GetIDTokenResponse) ProtoMessage() {}111112func (x *GetIDTokenResponse) ProtoReflect() protoreflect.Message {113mi := &file_gitpod_experimental_v1_identityprovider_proto_msgTypes[1]114if protoimpl.UnsafeEnabled && x != nil {115ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))116if ms.LoadMessageInfo() == nil {117ms.StoreMessageInfo(mi)118}119return ms120}121return mi.MessageOf(x)122}123124// Deprecated: Use GetIDTokenResponse.ProtoReflect.Descriptor instead.125func (*GetIDTokenResponse) Descriptor() ([]byte, []int) {126return file_gitpod_experimental_v1_identityprovider_proto_rawDescGZIP(), []int{1}127}128129func (x *GetIDTokenResponse) GetToken() string {130if x != nil {131return x.Token132}133return ""134}135136var File_gitpod_experimental_v1_identityprovider_proto protoreflect.FileDescriptor137138var file_gitpod_experimental_v1_identityprovider_proto_rawDesc = []byte{1390x0a, 0x2d, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2f, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d,1400x65, 0x6e, 0x74, 0x61, 0x6c, 0x2f, 0x76, 0x31, 0x2f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74,1410x79, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,1420x16, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65,1430x6e, 0x74, 0x61, 0x6c, 0x2e, 0x76, 0x31, 0x22, 0x68, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x49, 0x44,1440x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x0c,1450x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,1460x28, 0x09, 0x52, 0x0b, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x49, 0x64, 0x12,1470x1a, 0x0a, 0x08, 0x61, 0x75, 0x64, 0x69, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x03, 0x28,1480x09, 0x52, 0x08, 0x61, 0x75, 0x64, 0x69, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73,1490x63, 0x6f, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x70,1500x65, 0x22, 0x2a, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x49, 0x44, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52,1510x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e,1520x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x32, 0x80, 0x01,1530x0a, 0x17, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64,1540x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x65, 0x0a, 0x0a, 0x47, 0x65, 0x74,1550x49, 0x44, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x29, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64,1560x2e, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x2e, 0x76, 0x31,1570x2e, 0x47, 0x65, 0x74, 0x49, 0x44, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65,1580x73, 0x74, 0x1a, 0x2a, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x65, 0x78, 0x70, 0x65,1590x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x49,1600x44, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00,1610x42, 0x6b, 0x0a, 0x23, 0x69, 0x6f, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x70, 0x75,1620x62, 0x6c, 0x69, 0x63, 0x61, 0x70, 0x69, 0x2e, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65,1630x6e, 0x74, 0x61, 0x6c, 0x2e, 0x76, 0x31, 0x5a, 0x44, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e,1640x63, 0x6f, 0x6d, 0x2f, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2d, 0x69, 0x6f, 0x2f, 0x67, 0x69,1650x74, 0x70, 0x6f, 0x64, 0x2f, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x73, 0x2f,1660x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x2d, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x6f, 0x2f, 0x65, 0x78,1670x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70,1680x72, 0x6f, 0x74, 0x6f, 0x33,169}170171var (172file_gitpod_experimental_v1_identityprovider_proto_rawDescOnce sync.Once173file_gitpod_experimental_v1_identityprovider_proto_rawDescData = file_gitpod_experimental_v1_identityprovider_proto_rawDesc174)175176func file_gitpod_experimental_v1_identityprovider_proto_rawDescGZIP() []byte {177file_gitpod_experimental_v1_identityprovider_proto_rawDescOnce.Do(func() {178file_gitpod_experimental_v1_identityprovider_proto_rawDescData = protoimpl.X.CompressGZIP(file_gitpod_experimental_v1_identityprovider_proto_rawDescData)179})180return file_gitpod_experimental_v1_identityprovider_proto_rawDescData181}182183var file_gitpod_experimental_v1_identityprovider_proto_msgTypes = make([]protoimpl.MessageInfo, 2)184var file_gitpod_experimental_v1_identityprovider_proto_goTypes = []interface{}{185(*GetIDTokenRequest)(nil), // 0: gitpod.experimental.v1.GetIDTokenRequest186(*GetIDTokenResponse)(nil), // 1: gitpod.experimental.v1.GetIDTokenResponse187}188var file_gitpod_experimental_v1_identityprovider_proto_depIdxs = []int32{1890, // 0: gitpod.experimental.v1.IdentityProviderService.GetIDToken:input_type -> gitpod.experimental.v1.GetIDTokenRequest1901, // 1: gitpod.experimental.v1.IdentityProviderService.GetIDToken:output_type -> gitpod.experimental.v1.GetIDTokenResponse1911, // [1:2] is the sub-list for method output_type1920, // [0:1] is the sub-list for method input_type1930, // [0:0] is the sub-list for extension type_name1940, // [0:0] is the sub-list for extension extendee1950, // [0:0] is the sub-list for field type_name196}197198func init() { file_gitpod_experimental_v1_identityprovider_proto_init() }199func file_gitpod_experimental_v1_identityprovider_proto_init() {200if File_gitpod_experimental_v1_identityprovider_proto != nil {201return202}203if !protoimpl.UnsafeEnabled {204file_gitpod_experimental_v1_identityprovider_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {205switch v := v.(*GetIDTokenRequest); i {206case 0:207return &v.state208case 1:209return &v.sizeCache210case 2:211return &v.unknownFields212default:213return nil214}215}216file_gitpod_experimental_v1_identityprovider_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {217switch v := v.(*GetIDTokenResponse); i {218case 0:219return &v.state220case 1:221return &v.sizeCache222case 2:223return &v.unknownFields224default:225return nil226}227}228}229type x struct{}230out := protoimpl.TypeBuilder{231File: protoimpl.DescBuilder{232GoPackagePath: reflect.TypeOf(x{}).PkgPath(),233RawDescriptor: file_gitpod_experimental_v1_identityprovider_proto_rawDesc,234NumEnums: 0,235NumMessages: 2,236NumExtensions: 0,237NumServices: 1,238},239GoTypes: file_gitpod_experimental_v1_identityprovider_proto_goTypes,240DependencyIndexes: file_gitpod_experimental_v1_identityprovider_proto_depIdxs,241MessageInfos: file_gitpod_experimental_v1_identityprovider_proto_msgTypes,242}.Build()243File_gitpod_experimental_v1_identityprovider_proto = out.File244file_gitpod_experimental_v1_identityprovider_proto_rawDesc = nil245file_gitpod_experimental_v1_identityprovider_proto_goTypes = nil246file_gitpod_experimental_v1_identityprovider_proto_depIdxs = nil247}248249250