Path: blob/main/components/public-api/go/experimental/v1/user.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/user.proto910package v11112import (13protoreflect "google.golang.org/protobuf/reflect/protoreflect"14protoimpl "google.golang.org/protobuf/runtime/protoimpl"15timestamppb "google.golang.org/protobuf/types/known/timestamppb"16reflect "reflect"17sync "sync"18)1920const (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)2627type User struct {28state protoimpl.MessageState29sizeCache protoimpl.SizeCache30unknownFields protoimpl.UnknownFields3132// id is a UUID of the user33Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`34// name is the username35Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`36// avatar_url is a link to the user avatar37AvatarUrl string `protobuf:"bytes,3,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"`38// created_at is the creation time39CreatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`40}4142func (x *User) Reset() {43*x = User{}44if protoimpl.UnsafeEnabled {45mi := &file_gitpod_experimental_v1_user_proto_msgTypes[0]46ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))47ms.StoreMessageInfo(mi)48}49}5051func (x *User) String() string {52return protoimpl.X.MessageStringOf(x)53}5455func (*User) ProtoMessage() {}5657func (x *User) ProtoReflect() protoreflect.Message {58mi := &file_gitpod_experimental_v1_user_proto_msgTypes[0]59if protoimpl.UnsafeEnabled && x != nil {60ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))61if ms.LoadMessageInfo() == nil {62ms.StoreMessageInfo(mi)63}64return ms65}66return mi.MessageOf(x)67}6869// Deprecated: Use User.ProtoReflect.Descriptor instead.70func (*User) Descriptor() ([]byte, []int) {71return file_gitpod_experimental_v1_user_proto_rawDescGZIP(), []int{0}72}7374func (x *User) GetId() string {75if x != nil {76return x.Id77}78return ""79}8081func (x *User) GetName() string {82if x != nil {83return x.Name84}85return ""86}8788func (x *User) GetAvatarUrl() string {89if x != nil {90return x.AvatarUrl91}92return ""93}9495func (x *User) GetCreatedAt() *timestamppb.Timestamp {96if x != nil {97return x.CreatedAt98}99return nil100}101102type SSHKey struct {103state protoimpl.MessageState104sizeCache protoimpl.SizeCache105unknownFields protoimpl.UnknownFields106107// id is a UUID of the SSH key108Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`109// name is the name of the SSH key110Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`111// key is the public SSH key112Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"`113// created_at is the creation time114CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`115}116117func (x *SSHKey) Reset() {118*x = SSHKey{}119if protoimpl.UnsafeEnabled {120mi := &file_gitpod_experimental_v1_user_proto_msgTypes[1]121ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))122ms.StoreMessageInfo(mi)123}124}125126func (x *SSHKey) String() string {127return protoimpl.X.MessageStringOf(x)128}129130func (*SSHKey) ProtoMessage() {}131132func (x *SSHKey) ProtoReflect() protoreflect.Message {133mi := &file_gitpod_experimental_v1_user_proto_msgTypes[1]134if protoimpl.UnsafeEnabled && x != nil {135ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))136if ms.LoadMessageInfo() == nil {137ms.StoreMessageInfo(mi)138}139return ms140}141return mi.MessageOf(x)142}143144// Deprecated: Use SSHKey.ProtoReflect.Descriptor instead.145func (*SSHKey) Descriptor() ([]byte, []int) {146return file_gitpod_experimental_v1_user_proto_rawDescGZIP(), []int{1}147}148149func (x *SSHKey) GetId() string {150if x != nil {151return x.Id152}153return ""154}155156func (x *SSHKey) GetName() string {157if x != nil {158return x.Name159}160return ""161}162163func (x *SSHKey) GetKey() string {164if x != nil {165return x.Key166}167return ""168}169170func (x *SSHKey) GetCreatedAt() *timestamppb.Timestamp {171if x != nil {172return x.CreatedAt173}174return nil175}176177type GetAuthenticatedUserRequest struct {178state protoimpl.MessageState179sizeCache protoimpl.SizeCache180unknownFields protoimpl.UnknownFields181}182183func (x *GetAuthenticatedUserRequest) Reset() {184*x = GetAuthenticatedUserRequest{}185if protoimpl.UnsafeEnabled {186mi := &file_gitpod_experimental_v1_user_proto_msgTypes[2]187ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))188ms.StoreMessageInfo(mi)189}190}191192func (x *GetAuthenticatedUserRequest) String() string {193return protoimpl.X.MessageStringOf(x)194}195196func (*GetAuthenticatedUserRequest) ProtoMessage() {}197198func (x *GetAuthenticatedUserRequest) ProtoReflect() protoreflect.Message {199mi := &file_gitpod_experimental_v1_user_proto_msgTypes[2]200if protoimpl.UnsafeEnabled && x != nil {201ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))202if ms.LoadMessageInfo() == nil {203ms.StoreMessageInfo(mi)204}205return ms206}207return mi.MessageOf(x)208}209210// Deprecated: Use GetAuthenticatedUserRequest.ProtoReflect.Descriptor instead.211func (*GetAuthenticatedUserRequest) Descriptor() ([]byte, []int) {212return file_gitpod_experimental_v1_user_proto_rawDescGZIP(), []int{2}213}214215type GetAuthenticatedUserResponse struct {216state protoimpl.MessageState217sizeCache protoimpl.SizeCache218unknownFields protoimpl.UnknownFields219220User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`221}222223func (x *GetAuthenticatedUserResponse) Reset() {224*x = GetAuthenticatedUserResponse{}225if protoimpl.UnsafeEnabled {226mi := &file_gitpod_experimental_v1_user_proto_msgTypes[3]227ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))228ms.StoreMessageInfo(mi)229}230}231232func (x *GetAuthenticatedUserResponse) String() string {233return protoimpl.X.MessageStringOf(x)234}235236func (*GetAuthenticatedUserResponse) ProtoMessage() {}237238func (x *GetAuthenticatedUserResponse) ProtoReflect() protoreflect.Message {239mi := &file_gitpod_experimental_v1_user_proto_msgTypes[3]240if protoimpl.UnsafeEnabled && x != nil {241ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))242if ms.LoadMessageInfo() == nil {243ms.StoreMessageInfo(mi)244}245return ms246}247return mi.MessageOf(x)248}249250// Deprecated: Use GetAuthenticatedUserResponse.ProtoReflect.Descriptor instead.251func (*GetAuthenticatedUserResponse) Descriptor() ([]byte, []int) {252return file_gitpod_experimental_v1_user_proto_rawDescGZIP(), []int{3}253}254255func (x *GetAuthenticatedUserResponse) GetUser() *User {256if x != nil {257return x.User258}259return nil260}261262type ListSSHKeysRequest struct {263state protoimpl.MessageState264sizeCache protoimpl.SizeCache265unknownFields protoimpl.UnknownFields266}267268func (x *ListSSHKeysRequest) Reset() {269*x = ListSSHKeysRequest{}270if protoimpl.UnsafeEnabled {271mi := &file_gitpod_experimental_v1_user_proto_msgTypes[4]272ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))273ms.StoreMessageInfo(mi)274}275}276277func (x *ListSSHKeysRequest) String() string {278return protoimpl.X.MessageStringOf(x)279}280281func (*ListSSHKeysRequest) ProtoMessage() {}282283func (x *ListSSHKeysRequest) ProtoReflect() protoreflect.Message {284mi := &file_gitpod_experimental_v1_user_proto_msgTypes[4]285if protoimpl.UnsafeEnabled && x != nil {286ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))287if ms.LoadMessageInfo() == nil {288ms.StoreMessageInfo(mi)289}290return ms291}292return mi.MessageOf(x)293}294295// Deprecated: Use ListSSHKeysRequest.ProtoReflect.Descriptor instead.296func (*ListSSHKeysRequest) Descriptor() ([]byte, []int) {297return file_gitpod_experimental_v1_user_proto_rawDescGZIP(), []int{4}298}299300type ListSSHKeysResponse struct {301state protoimpl.MessageState302sizeCache protoimpl.SizeCache303unknownFields protoimpl.UnknownFields304305Keys []*SSHKey `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"`306}307308func (x *ListSSHKeysResponse) Reset() {309*x = ListSSHKeysResponse{}310if protoimpl.UnsafeEnabled {311mi := &file_gitpod_experimental_v1_user_proto_msgTypes[5]312ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))313ms.StoreMessageInfo(mi)314}315}316317func (x *ListSSHKeysResponse) String() string {318return protoimpl.X.MessageStringOf(x)319}320321func (*ListSSHKeysResponse) ProtoMessage() {}322323func (x *ListSSHKeysResponse) ProtoReflect() protoreflect.Message {324mi := &file_gitpod_experimental_v1_user_proto_msgTypes[5]325if protoimpl.UnsafeEnabled && x != nil {326ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))327if ms.LoadMessageInfo() == nil {328ms.StoreMessageInfo(mi)329}330return ms331}332return mi.MessageOf(x)333}334335// Deprecated: Use ListSSHKeysResponse.ProtoReflect.Descriptor instead.336func (*ListSSHKeysResponse) Descriptor() ([]byte, []int) {337return file_gitpod_experimental_v1_user_proto_rawDescGZIP(), []int{5}338}339340func (x *ListSSHKeysResponse) GetKeys() []*SSHKey {341if x != nil {342return x.Keys343}344return nil345}346347type CreateSSHKeyRequest struct {348state protoimpl.MessageState349sizeCache protoimpl.SizeCache350unknownFields protoimpl.UnknownFields351352// name is the SSH key name353Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`354// the public SSH key355Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`356}357358func (x *CreateSSHKeyRequest) Reset() {359*x = CreateSSHKeyRequest{}360if protoimpl.UnsafeEnabled {361mi := &file_gitpod_experimental_v1_user_proto_msgTypes[6]362ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))363ms.StoreMessageInfo(mi)364}365}366367func (x *CreateSSHKeyRequest) String() string {368return protoimpl.X.MessageStringOf(x)369}370371func (*CreateSSHKeyRequest) ProtoMessage() {}372373func (x *CreateSSHKeyRequest) ProtoReflect() protoreflect.Message {374mi := &file_gitpod_experimental_v1_user_proto_msgTypes[6]375if protoimpl.UnsafeEnabled && x != nil {376ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))377if ms.LoadMessageInfo() == nil {378ms.StoreMessageInfo(mi)379}380return ms381}382return mi.MessageOf(x)383}384385// Deprecated: Use CreateSSHKeyRequest.ProtoReflect.Descriptor instead.386func (*CreateSSHKeyRequest) Descriptor() ([]byte, []int) {387return file_gitpod_experimental_v1_user_proto_rawDescGZIP(), []int{6}388}389390func (x *CreateSSHKeyRequest) GetName() string {391if x != nil {392return x.Name393}394return ""395}396397func (x *CreateSSHKeyRequest) GetKey() string {398if x != nil {399return x.Key400}401return ""402}403404type CreateSSHKeyResponse struct {405state protoimpl.MessageState406sizeCache protoimpl.SizeCache407unknownFields protoimpl.UnknownFields408409Key *SSHKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`410}411412func (x *CreateSSHKeyResponse) Reset() {413*x = CreateSSHKeyResponse{}414if protoimpl.UnsafeEnabled {415mi := &file_gitpod_experimental_v1_user_proto_msgTypes[7]416ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))417ms.StoreMessageInfo(mi)418}419}420421func (x *CreateSSHKeyResponse) String() string {422return protoimpl.X.MessageStringOf(x)423}424425func (*CreateSSHKeyResponse) ProtoMessage() {}426427func (x *CreateSSHKeyResponse) ProtoReflect() protoreflect.Message {428mi := &file_gitpod_experimental_v1_user_proto_msgTypes[7]429if protoimpl.UnsafeEnabled && x != nil {430ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))431if ms.LoadMessageInfo() == nil {432ms.StoreMessageInfo(mi)433}434return ms435}436return mi.MessageOf(x)437}438439// Deprecated: Use CreateSSHKeyResponse.ProtoReflect.Descriptor instead.440func (*CreateSSHKeyResponse) Descriptor() ([]byte, []int) {441return file_gitpod_experimental_v1_user_proto_rawDescGZIP(), []int{7}442}443444func (x *CreateSSHKeyResponse) GetKey() *SSHKey {445if x != nil {446return x.Key447}448return nil449}450451type GetSSHKeyRequest struct {452state protoimpl.MessageState453sizeCache protoimpl.SizeCache454unknownFields protoimpl.UnknownFields455456// id is the unique identifier of the SSH key to retreive.457KeyId string `protobuf:"bytes,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`458}459460func (x *GetSSHKeyRequest) Reset() {461*x = GetSSHKeyRequest{}462if protoimpl.UnsafeEnabled {463mi := &file_gitpod_experimental_v1_user_proto_msgTypes[8]464ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))465ms.StoreMessageInfo(mi)466}467}468469func (x *GetSSHKeyRequest) String() string {470return protoimpl.X.MessageStringOf(x)471}472473func (*GetSSHKeyRequest) ProtoMessage() {}474475func (x *GetSSHKeyRequest) ProtoReflect() protoreflect.Message {476mi := &file_gitpod_experimental_v1_user_proto_msgTypes[8]477if protoimpl.UnsafeEnabled && x != nil {478ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))479if ms.LoadMessageInfo() == nil {480ms.StoreMessageInfo(mi)481}482return ms483}484return mi.MessageOf(x)485}486487// Deprecated: Use GetSSHKeyRequest.ProtoReflect.Descriptor instead.488func (*GetSSHKeyRequest) Descriptor() ([]byte, []int) {489return file_gitpod_experimental_v1_user_proto_rawDescGZIP(), []int{8}490}491492func (x *GetSSHKeyRequest) GetKeyId() string {493if x != nil {494return x.KeyId495}496return ""497}498499type GetSSHKeyResponse struct {500state protoimpl.MessageState501sizeCache protoimpl.SizeCache502unknownFields protoimpl.UnknownFields503504Key *SSHKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`505}506507func (x *GetSSHKeyResponse) Reset() {508*x = GetSSHKeyResponse{}509if protoimpl.UnsafeEnabled {510mi := &file_gitpod_experimental_v1_user_proto_msgTypes[9]511ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))512ms.StoreMessageInfo(mi)513}514}515516func (x *GetSSHKeyResponse) String() string {517return protoimpl.X.MessageStringOf(x)518}519520func (*GetSSHKeyResponse) ProtoMessage() {}521522func (x *GetSSHKeyResponse) ProtoReflect() protoreflect.Message {523mi := &file_gitpod_experimental_v1_user_proto_msgTypes[9]524if protoimpl.UnsafeEnabled && x != nil {525ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))526if ms.LoadMessageInfo() == nil {527ms.StoreMessageInfo(mi)528}529return ms530}531return mi.MessageOf(x)532}533534// Deprecated: Use GetSSHKeyResponse.ProtoReflect.Descriptor instead.535func (*GetSSHKeyResponse) Descriptor() ([]byte, []int) {536return file_gitpod_experimental_v1_user_proto_rawDescGZIP(), []int{9}537}538539func (x *GetSSHKeyResponse) GetKey() *SSHKey {540if x != nil {541return x.Key542}543return nil544}545546type DeleteSSHKeyRequest struct {547state protoimpl.MessageState548sizeCache protoimpl.SizeCache549unknownFields protoimpl.UnknownFields550551// id is the unique identifier of the SSH key to retreive.552KeyId string `protobuf:"bytes,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`553}554555func (x *DeleteSSHKeyRequest) Reset() {556*x = DeleteSSHKeyRequest{}557if protoimpl.UnsafeEnabled {558mi := &file_gitpod_experimental_v1_user_proto_msgTypes[10]559ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))560ms.StoreMessageInfo(mi)561}562}563564func (x *DeleteSSHKeyRequest) String() string {565return protoimpl.X.MessageStringOf(x)566}567568func (*DeleteSSHKeyRequest) ProtoMessage() {}569570func (x *DeleteSSHKeyRequest) ProtoReflect() protoreflect.Message {571mi := &file_gitpod_experimental_v1_user_proto_msgTypes[10]572if protoimpl.UnsafeEnabled && x != nil {573ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))574if ms.LoadMessageInfo() == nil {575ms.StoreMessageInfo(mi)576}577return ms578}579return mi.MessageOf(x)580}581582// Deprecated: Use DeleteSSHKeyRequest.ProtoReflect.Descriptor instead.583func (*DeleteSSHKeyRequest) Descriptor() ([]byte, []int) {584return file_gitpod_experimental_v1_user_proto_rawDescGZIP(), []int{10}585}586587func (x *DeleteSSHKeyRequest) GetKeyId() string {588if x != nil {589return x.KeyId590}591return ""592}593594type DeleteSSHKeyResponse struct {595state protoimpl.MessageState596sizeCache protoimpl.SizeCache597unknownFields protoimpl.UnknownFields598}599600func (x *DeleteSSHKeyResponse) Reset() {601*x = DeleteSSHKeyResponse{}602if protoimpl.UnsafeEnabled {603mi := &file_gitpod_experimental_v1_user_proto_msgTypes[11]604ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))605ms.StoreMessageInfo(mi)606}607}608609func (x *DeleteSSHKeyResponse) String() string {610return protoimpl.X.MessageStringOf(x)611}612613func (*DeleteSSHKeyResponse) ProtoMessage() {}614615func (x *DeleteSSHKeyResponse) ProtoReflect() protoreflect.Message {616mi := &file_gitpod_experimental_v1_user_proto_msgTypes[11]617if protoimpl.UnsafeEnabled && x != nil {618ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))619if ms.LoadMessageInfo() == nil {620ms.StoreMessageInfo(mi)621}622return ms623}624return mi.MessageOf(x)625}626627// Deprecated: Use DeleteSSHKeyResponse.ProtoReflect.Descriptor instead.628func (*DeleteSSHKeyResponse) Descriptor() ([]byte, []int) {629return file_gitpod_experimental_v1_user_proto_rawDescGZIP(), []int{11}630}631632type GetGitTokenRequest struct {633state protoimpl.MessageState634sizeCache protoimpl.SizeCache635unknownFields protoimpl.UnknownFields636637Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`638}639640func (x *GetGitTokenRequest) Reset() {641*x = GetGitTokenRequest{}642if protoimpl.UnsafeEnabled {643mi := &file_gitpod_experimental_v1_user_proto_msgTypes[12]644ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))645ms.StoreMessageInfo(mi)646}647}648649func (x *GetGitTokenRequest) String() string {650return protoimpl.X.MessageStringOf(x)651}652653func (*GetGitTokenRequest) ProtoMessage() {}654655func (x *GetGitTokenRequest) ProtoReflect() protoreflect.Message {656mi := &file_gitpod_experimental_v1_user_proto_msgTypes[12]657if protoimpl.UnsafeEnabled && x != nil {658ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))659if ms.LoadMessageInfo() == nil {660ms.StoreMessageInfo(mi)661}662return ms663}664return mi.MessageOf(x)665}666667// Deprecated: Use GetGitTokenRequest.ProtoReflect.Descriptor instead.668func (*GetGitTokenRequest) Descriptor() ([]byte, []int) {669return file_gitpod_experimental_v1_user_proto_rawDescGZIP(), []int{12}670}671672func (x *GetGitTokenRequest) GetHost() string {673if x != nil {674return x.Host675}676return ""677}678679type GetGitTokenResponse struct {680state protoimpl.MessageState681sizeCache protoimpl.SizeCache682unknownFields protoimpl.UnknownFields683684Token *GitToken `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`685}686687func (x *GetGitTokenResponse) Reset() {688*x = GetGitTokenResponse{}689if protoimpl.UnsafeEnabled {690mi := &file_gitpod_experimental_v1_user_proto_msgTypes[13]691ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))692ms.StoreMessageInfo(mi)693}694}695696func (x *GetGitTokenResponse) String() string {697return protoimpl.X.MessageStringOf(x)698}699700func (*GetGitTokenResponse) ProtoMessage() {}701702func (x *GetGitTokenResponse) ProtoReflect() protoreflect.Message {703mi := &file_gitpod_experimental_v1_user_proto_msgTypes[13]704if protoimpl.UnsafeEnabled && x != nil {705ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))706if ms.LoadMessageInfo() == nil {707ms.StoreMessageInfo(mi)708}709return ms710}711return mi.MessageOf(x)712}713714// Deprecated: Use GetGitTokenResponse.ProtoReflect.Descriptor instead.715func (*GetGitTokenResponse) Descriptor() ([]byte, []int) {716return file_gitpod_experimental_v1_user_proto_rawDescGZIP(), []int{13}717}718719func (x *GetGitTokenResponse) GetToken() *GitToken {720if x != nil {721return x.Token722}723return nil724}725726type GitToken struct {727state protoimpl.MessageState728sizeCache protoimpl.SizeCache729unknownFields protoimpl.UnknownFields730731// expiry_date is the date when the token will expire732ExpiryDate string `protobuf:"bytes,1,opt,name=expiry_date,json=expiryDate,proto3" json:"expiry_date,omitempty"`733// id_token is the unique identifier for the token734IdToken string `protobuf:"bytes,2,opt,name=id_token,json=idToken,proto3" json:"id_token,omitempty"`735// refresh_token is the token used to refresh the git token736RefreshToken string `protobuf:"bytes,3,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"`737// scopes is a list of permissions associated with the token738Scopes []string `protobuf:"bytes,4,rep,name=scopes,proto3" json:"scopes,omitempty"`739// update_date is the date when the token was last updated740UpdateDate string `protobuf:"bytes,5,opt,name=update_date,json=updateDate,proto3" json:"update_date,omitempty"`741// username is the username associated with the token742Username string `protobuf:"bytes,6,opt,name=username,proto3" json:"username,omitempty"`743// value is the actual token value for the token744Value string `protobuf:"bytes,7,opt,name=value,proto3" json:"value,omitempty"`745}746747func (x *GitToken) Reset() {748*x = GitToken{}749if protoimpl.UnsafeEnabled {750mi := &file_gitpod_experimental_v1_user_proto_msgTypes[14]751ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))752ms.StoreMessageInfo(mi)753}754}755756func (x *GitToken) String() string {757return protoimpl.X.MessageStringOf(x)758}759760func (*GitToken) ProtoMessage() {}761762func (x *GitToken) ProtoReflect() protoreflect.Message {763mi := &file_gitpod_experimental_v1_user_proto_msgTypes[14]764if protoimpl.UnsafeEnabled && x != nil {765ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))766if ms.LoadMessageInfo() == nil {767ms.StoreMessageInfo(mi)768}769return ms770}771return mi.MessageOf(x)772}773774// Deprecated: Use GitToken.ProtoReflect.Descriptor instead.775func (*GitToken) Descriptor() ([]byte, []int) {776return file_gitpod_experimental_v1_user_proto_rawDescGZIP(), []int{14}777}778779func (x *GitToken) GetExpiryDate() string {780if x != nil {781return x.ExpiryDate782}783return ""784}785786func (x *GitToken) GetIdToken() string {787if x != nil {788return x.IdToken789}790return ""791}792793func (x *GitToken) GetRefreshToken() string {794if x != nil {795return x.RefreshToken796}797return ""798}799800func (x *GitToken) GetScopes() []string {801if x != nil {802return x.Scopes803}804return nil805}806807func (x *GitToken) GetUpdateDate() string {808if x != nil {809return x.UpdateDate810}811return ""812}813814func (x *GitToken) GetUsername() string {815if x != nil {816return x.Username817}818return ""819}820821func (x *GitToken) GetValue() string {822if x != nil {823return x.Value824}825return ""826}827828type BlockUserRequest struct {829state protoimpl.MessageState830sizeCache protoimpl.SizeCache831unknownFields protoimpl.UnknownFields832833// the ID of a User to block834UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`835// reason is the reason for blocking the user836Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`837}838839func (x *BlockUserRequest) Reset() {840*x = BlockUserRequest{}841if protoimpl.UnsafeEnabled {842mi := &file_gitpod_experimental_v1_user_proto_msgTypes[15]843ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))844ms.StoreMessageInfo(mi)845}846}847848func (x *BlockUserRequest) String() string {849return protoimpl.X.MessageStringOf(x)850}851852func (*BlockUserRequest) ProtoMessage() {}853854func (x *BlockUserRequest) ProtoReflect() protoreflect.Message {855mi := &file_gitpod_experimental_v1_user_proto_msgTypes[15]856if protoimpl.UnsafeEnabled && x != nil {857ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))858if ms.LoadMessageInfo() == nil {859ms.StoreMessageInfo(mi)860}861return ms862}863return mi.MessageOf(x)864}865866// Deprecated: Use BlockUserRequest.ProtoReflect.Descriptor instead.867func (*BlockUserRequest) Descriptor() ([]byte, []int) {868return file_gitpod_experimental_v1_user_proto_rawDescGZIP(), []int{15}869}870871func (x *BlockUserRequest) GetUserId() string {872if x != nil {873return x.UserId874}875return ""876}877878func (x *BlockUserRequest) GetReason() string {879if x != nil {880return x.Reason881}882return ""883}884885type BlockUserResponse struct {886state protoimpl.MessageState887sizeCache protoimpl.SizeCache888unknownFields protoimpl.UnknownFields889}890891func (x *BlockUserResponse) Reset() {892*x = BlockUserResponse{}893if protoimpl.UnsafeEnabled {894mi := &file_gitpod_experimental_v1_user_proto_msgTypes[16]895ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))896ms.StoreMessageInfo(mi)897}898}899900func (x *BlockUserResponse) String() string {901return protoimpl.X.MessageStringOf(x)902}903904func (*BlockUserResponse) ProtoMessage() {}905906func (x *BlockUserResponse) ProtoReflect() protoreflect.Message {907mi := &file_gitpod_experimental_v1_user_proto_msgTypes[16]908if protoimpl.UnsafeEnabled && x != nil {909ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))910if ms.LoadMessageInfo() == nil {911ms.StoreMessageInfo(mi)912}913return ms914}915return mi.MessageOf(x)916}917918// Deprecated: Use BlockUserResponse.ProtoReflect.Descriptor instead.919func (*BlockUserResponse) Descriptor() ([]byte, []int) {920return file_gitpod_experimental_v1_user_proto_rawDescGZIP(), []int{16}921}922923var File_gitpod_experimental_v1_user_proto protoreflect.FileDescriptor924925var file_gitpod_experimental_v1_user_proto_rawDesc = []byte{9260x0a, 0x21, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2f, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d,9270x65, 0x6e, 0x74, 0x61, 0x6c, 0x2f, 0x76, 0x31, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x70, 0x72,9280x6f, 0x74, 0x6f, 0x12, 0x16, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x65, 0x78, 0x70, 0x65,9290x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f,9300x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d,9310x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x84, 0x01, 0x0a,9320x04, 0x55, 0x73, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,9330x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20,9340x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x76, 0x61,9350x74, 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61,9360x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x12, 0x39, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61,9370x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67,9380x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54,9390x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65,9400x64, 0x41, 0x74, 0x22, 0x79, 0x0a, 0x06, 0x53, 0x53, 0x48, 0x4b, 0x65, 0x79, 0x12, 0x0e, 0x0a,9410x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a,9420x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d,9430x65, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,9440x6b, 0x65, 0x79, 0x12, 0x39, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61,9450x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,9460x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74,9470x61, 0x6d, 0x70, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x22, 0x1d,9480x0a, 0x1b, 0x47, 0x65, 0x74, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74,9490x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x50, 0x0a,9500x1c, 0x47, 0x65, 0x74, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x65,9510x64, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a,9520x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x69,9530x74, 0x70, 0x6f, 0x64, 0x2e, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x61,9540x6c, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x22,9550x14, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x53, 0x48, 0x4b, 0x65, 0x79, 0x73, 0x52, 0x65,9560x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x49, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x53, 0x48,9570x4b, 0x65, 0x79, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x32, 0x0a, 0x04,9580x6b, 0x65, 0x79, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x69, 0x74,9590x70, 0x6f, 0x64, 0x2e, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c,9600x2e, 0x76, 0x31, 0x2e, 0x53, 0x53, 0x48, 0x4b, 0x65, 0x79, 0x52, 0x04, 0x6b, 0x65, 0x79, 0x73,9610x22, 0x3b, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x53, 0x48, 0x4b, 0x65, 0x79,9620x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,9630x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6b,9640x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x22, 0x48, 0x0a,9650x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x53, 0x48, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73,9660x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01,9670x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x65, 0x78, 0x70, 0x65,9680x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x53, 0x48, 0x4b,9690x65, 0x79, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x22, 0x29, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x53, 0x53,9700x48, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x15, 0x0a, 0x06, 0x6b,9710x65, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6b, 0x65, 0x79,9720x49, 0x64, 0x22, 0x45, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x53, 0x53, 0x48, 0x4b, 0x65, 0x79, 0x52,9730x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01,9740x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x65, 0x78,9750x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x53,9760x48, 0x4b, 0x65, 0x79, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x22, 0x2c, 0x0a, 0x13, 0x44, 0x65, 0x6c,9770x65, 0x74, 0x65, 0x53, 0x53, 0x48, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,9780x12, 0x15, 0x0a, 0x06, 0x6b, 0x65, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,9790x52, 0x05, 0x6b, 0x65, 0x79, 0x49, 0x64, 0x22, 0x16, 0x0a, 0x14, 0x44, 0x65, 0x6c, 0x65, 0x74,9800x65, 0x53, 0x53, 0x48, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,9810x28, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x47, 0x69, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65,9820x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x01, 0x20,9830x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x22, 0x4d, 0x0a, 0x13, 0x47, 0x65, 0x74,9840x47, 0x69, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,9850x12, 0x36, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,9860x20, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d,9870x65, 0x6e, 0x74, 0x61, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x69, 0x74, 0x54, 0x6f, 0x6b, 0x65,9880x6e, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xd6, 0x01, 0x0a, 0x08, 0x47, 0x69, 0x74,9890x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x78, 0x70, 0x69, 0x72, 0x79, 0x5f,9900x64, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x69,9910x72, 0x79, 0x44, 0x61, 0x74, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x69, 0x64, 0x5f, 0x74, 0x6f, 0x6b,9920x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x69, 0x64, 0x54, 0x6f, 0x6b, 0x65,9930x6e, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x5f, 0x74, 0x6f, 0x6b,9940x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73,9950x68, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x73,9960x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x12, 0x1f,9970x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x64, 0x61, 0x74, 0x65, 0x18, 0x05, 0x20,9980x01, 0x28, 0x09, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x61, 0x74, 0x65, 0x12,9990x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28,10000x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76,10010x61, 0x6c, 0x75, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,10020x65, 0x22, 0x43, 0x0a, 0x10, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65,10030x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64,10040x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x16,10050x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,10060x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x22, 0x13, 0x0a, 0x11, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x55,10070x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0x89, 0x06, 0x0a, 0x0b,10080x55, 0x73, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x83, 0x01, 0x0a, 0x14,10090x47, 0x65, 0x74, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x65, 0x64,10100x55, 0x73, 0x65, 0x72, 0x12, 0x33, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x65, 0x78,10110x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65,10120x74, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x65, 0x64, 0x55, 0x73,10130x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x67, 0x69, 0x74, 0x70,10140x6f, 0x64, 0x2e, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x2e,10150x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61,10160x74, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,10170x00, 0x12, 0x68, 0x0a, 0x0b, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x53, 0x48, 0x4b, 0x65, 0x79, 0x73,10180x12, 0x2a, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69,10190x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x53,10200x48, 0x4b, 0x65, 0x79, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x67,10210x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74,10220x61, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x53, 0x48, 0x4b, 0x65, 0x79,10230x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6b, 0x0a, 0x0c, 0x43,10240x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x53, 0x48, 0x4b, 0x65, 0x79, 0x12, 0x2b, 0x2e, 0x67, 0x69,10250x74, 0x70, 0x6f, 0x64, 0x2e, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x61,10260x6c, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x53, 0x48, 0x4b, 0x65,10270x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f,10280x64, 0x2e, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x2e, 0x76,10290x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x53, 0x48, 0x4b, 0x65, 0x79, 0x52, 0x65,10300x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x62, 0x0a, 0x09, 0x47, 0x65, 0x74, 0x53,10310x53, 0x48, 0x4b, 0x65, 0x79, 0x12, 0x28, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x65,10320x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x47,10330x65, 0x74, 0x53, 0x53, 0x48, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,10340x29, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d,10350x65, 0x6e, 0x74, 0x61, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x53, 0x48, 0x4b,10360x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6b, 0x0a, 0x0c,10370x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x53, 0x48, 0x4b, 0x65, 0x79, 0x12, 0x2b, 0x2e, 0x67,10380x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74,10390x61, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x53, 0x48, 0x4b,10400x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x67, 0x69, 0x74, 0x70,10410x6f, 0x64, 0x2e, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x2e,10420x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x53, 0x48, 0x4b, 0x65, 0x79, 0x52,10430x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x68, 0x0a, 0x0b, 0x47, 0x65, 0x74,10440x47, 0x69, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x2a, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f,10450x64, 0x2e, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x2e, 0x76,10460x31, 0x2e, 0x47, 0x65, 0x74, 0x47, 0x69, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71,10470x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x65, 0x78,10480x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65,10490x74, 0x47, 0x69, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,10500x65, 0x22, 0x00, 0x12, 0x62, 0x0a, 0x09, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72,10510x12, 0x28, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69,10520x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x55,10530x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x67, 0x69, 0x74,10540x70, 0x6f, 0x64, 0x2e, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c,10550x2e, 0x76, 0x31, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73,10560x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x6b, 0x0a, 0x23, 0x69, 0x6f, 0x2e, 0x67, 0x69,10570x74, 0x70, 0x6f, 0x64, 0x2e, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x61, 0x70, 0x69, 0x2e, 0x65,10580x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x2e, 0x76, 0x31, 0x5a, 0x44,10590x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x69, 0x74, 0x70, 0x6f,10600x64, 0x2d, 0x69, 0x6f, 0x2f, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2f, 0x63, 0x6f, 0x6d, 0x70,10610x6f, 0x6e, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x2d, 0x61, 0x70,10620x69, 0x2f, 0x67, 0x6f, 0x2f, 0x65, 0x78, 0x70, 0x65, 0x72, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x61,10630x6c, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,1064}10651066var (1067file_gitpod_experimental_v1_user_proto_rawDescOnce sync.Once1068file_gitpod_experimental_v1_user_proto_rawDescData = file_gitpod_experimental_v1_user_proto_rawDesc1069)10701071func file_gitpod_experimental_v1_user_proto_rawDescGZIP() []byte {1072file_gitpod_experimental_v1_user_proto_rawDescOnce.Do(func() {1073file_gitpod_experimental_v1_user_proto_rawDescData = protoimpl.X.CompressGZIP(file_gitpod_experimental_v1_user_proto_rawDescData)1074})1075return file_gitpod_experimental_v1_user_proto_rawDescData1076}10771078var file_gitpod_experimental_v1_user_proto_msgTypes = make([]protoimpl.MessageInfo, 17)1079var file_gitpod_experimental_v1_user_proto_goTypes = []interface{}{1080(*User)(nil), // 0: gitpod.experimental.v1.User1081(*SSHKey)(nil), // 1: gitpod.experimental.v1.SSHKey1082(*GetAuthenticatedUserRequest)(nil), // 2: gitpod.experimental.v1.GetAuthenticatedUserRequest1083(*GetAuthenticatedUserResponse)(nil), // 3: gitpod.experimental.v1.GetAuthenticatedUserResponse1084(*ListSSHKeysRequest)(nil), // 4: gitpod.experimental.v1.ListSSHKeysRequest1085(*ListSSHKeysResponse)(nil), // 5: gitpod.experimental.v1.ListSSHKeysResponse1086(*CreateSSHKeyRequest)(nil), // 6: gitpod.experimental.v1.CreateSSHKeyRequest1087(*CreateSSHKeyResponse)(nil), // 7: gitpod.experimental.v1.CreateSSHKeyResponse1088(*GetSSHKeyRequest)(nil), // 8: gitpod.experimental.v1.GetSSHKeyRequest1089(*GetSSHKeyResponse)(nil), // 9: gitpod.experimental.v1.GetSSHKeyResponse1090(*DeleteSSHKeyRequest)(nil), // 10: gitpod.experimental.v1.DeleteSSHKeyRequest1091(*DeleteSSHKeyResponse)(nil), // 11: gitpod.experimental.v1.DeleteSSHKeyResponse1092(*GetGitTokenRequest)(nil), // 12: gitpod.experimental.v1.GetGitTokenRequest1093(*GetGitTokenResponse)(nil), // 13: gitpod.experimental.v1.GetGitTokenResponse1094(*GitToken)(nil), // 14: gitpod.experimental.v1.GitToken1095(*BlockUserRequest)(nil), // 15: gitpod.experimental.v1.BlockUserRequest1096(*BlockUserResponse)(nil), // 16: gitpod.experimental.v1.BlockUserResponse1097(*timestamppb.Timestamp)(nil), // 17: google.protobuf.Timestamp1098}1099var file_gitpod_experimental_v1_user_proto_depIdxs = []int32{110017, // 0: gitpod.experimental.v1.User.created_at:type_name -> google.protobuf.Timestamp110117, // 1: gitpod.experimental.v1.SSHKey.created_at:type_name -> google.protobuf.Timestamp11020, // 2: gitpod.experimental.v1.GetAuthenticatedUserResponse.user:type_name -> gitpod.experimental.v1.User11031, // 3: gitpod.experimental.v1.ListSSHKeysResponse.keys:type_name -> gitpod.experimental.v1.SSHKey11041, // 4: gitpod.experimental.v1.CreateSSHKeyResponse.key:type_name -> gitpod.experimental.v1.SSHKey11051, // 5: gitpod.experimental.v1.GetSSHKeyResponse.key:type_name -> gitpod.experimental.v1.SSHKey110614, // 6: gitpod.experimental.v1.GetGitTokenResponse.token:type_name -> gitpod.experimental.v1.GitToken11072, // 7: gitpod.experimental.v1.UserService.GetAuthenticatedUser:input_type -> gitpod.experimental.v1.GetAuthenticatedUserRequest11084, // 8: gitpod.experimental.v1.UserService.ListSSHKeys:input_type -> gitpod.experimental.v1.ListSSHKeysRequest11096, // 9: gitpod.experimental.v1.UserService.CreateSSHKey:input_type -> gitpod.experimental.v1.CreateSSHKeyRequest11108, // 10: gitpod.experimental.v1.UserService.GetSSHKey:input_type -> gitpod.experimental.v1.GetSSHKeyRequest111110, // 11: gitpod.experimental.v1.UserService.DeleteSSHKey:input_type -> gitpod.experimental.v1.DeleteSSHKeyRequest111212, // 12: gitpod.experimental.v1.UserService.GetGitToken:input_type -> gitpod.experimental.v1.GetGitTokenRequest111315, // 13: gitpod.experimental.v1.UserService.BlockUser:input_type -> gitpod.experimental.v1.BlockUserRequest11143, // 14: gitpod.experimental.v1.UserService.GetAuthenticatedUser:output_type -> gitpod.experimental.v1.GetAuthenticatedUserResponse11155, // 15: gitpod.experimental.v1.UserService.ListSSHKeys:output_type -> gitpod.experimental.v1.ListSSHKeysResponse11167, // 16: gitpod.experimental.v1.UserService.CreateSSHKey:output_type -> gitpod.experimental.v1.CreateSSHKeyResponse11179, // 17: gitpod.experimental.v1.UserService.GetSSHKey:output_type -> gitpod.experimental.v1.GetSSHKeyResponse111811, // 18: gitpod.experimental.v1.UserService.DeleteSSHKey:output_type -> gitpod.experimental.v1.DeleteSSHKeyResponse111913, // 19: gitpod.experimental.v1.UserService.GetGitToken:output_type -> gitpod.experimental.v1.GetGitTokenResponse112016, // 20: gitpod.experimental.v1.UserService.BlockUser:output_type -> gitpod.experimental.v1.BlockUserResponse112114, // [14:21] is the sub-list for method output_type11227, // [7:14] is the sub-list for method input_type11237, // [7:7] is the sub-list for extension type_name11247, // [7:7] is the sub-list for extension extendee11250, // [0:7] is the sub-list for field type_name1126}11271128func init() { file_gitpod_experimental_v1_user_proto_init() }1129func file_gitpod_experimental_v1_user_proto_init() {1130if File_gitpod_experimental_v1_user_proto != nil {1131return1132}1133if !protoimpl.UnsafeEnabled {1134file_gitpod_experimental_v1_user_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {1135switch v := v.(*User); i {1136case 0:1137return &v.state1138case 1:1139return &v.sizeCache1140case 2:1141return &v.unknownFields1142default:1143return nil1144}1145}1146file_gitpod_experimental_v1_user_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {1147switch v := v.(*SSHKey); i {1148case 0:1149return &v.state1150case 1:1151return &v.sizeCache1152case 2:1153return &v.unknownFields1154default:1155return nil1156}1157}1158file_gitpod_experimental_v1_user_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {1159switch v := v.(*GetAuthenticatedUserRequest); i {1160case 0:1161return &v.state1162case 1:1163return &v.sizeCache1164case 2:1165return &v.unknownFields1166default:1167return nil1168}1169}1170file_gitpod_experimental_v1_user_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {1171switch v := v.(*GetAuthenticatedUserResponse); i {1172case 0:1173return &v.state1174case 1:1175return &v.sizeCache1176case 2:1177return &v.unknownFields1178default:1179return nil1180}1181}1182file_gitpod_experimental_v1_user_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {1183switch v := v.(*ListSSHKeysRequest); i {1184case 0:1185return &v.state1186case 1:1187return &v.sizeCache1188case 2:1189return &v.unknownFields1190default:1191return nil1192}1193}1194file_gitpod_experimental_v1_user_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {1195switch v := v.(*ListSSHKeysResponse); i {1196case 0:1197return &v.state1198case 1:1199return &v.sizeCache1200case 2:1201return &v.unknownFields1202default:1203return nil1204}1205}1206file_gitpod_experimental_v1_user_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {1207switch v := v.(*CreateSSHKeyRequest); i {1208case 0:1209return &v.state1210case 1:1211return &v.sizeCache1212case 2:1213return &v.unknownFields1214default:1215return nil1216}1217}1218file_gitpod_experimental_v1_user_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {1219switch v := v.(*CreateSSHKeyResponse); i {1220case 0:1221return &v.state1222case 1:1223return &v.sizeCache1224case 2:1225return &v.unknownFields1226default:1227return nil1228}1229}1230file_gitpod_experimental_v1_user_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {1231switch v := v.(*GetSSHKeyRequest); i {1232case 0:1233return &v.state1234case 1:1235return &v.sizeCache1236case 2:1237return &v.unknownFields1238default:1239return nil1240}1241}1242file_gitpod_experimental_v1_user_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {1243switch v := v.(*GetSSHKeyResponse); i {1244case 0:1245return &v.state1246case 1:1247return &v.sizeCache1248case 2:1249return &v.unknownFields1250default:1251return nil1252}1253}1254file_gitpod_experimental_v1_user_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {1255switch v := v.(*DeleteSSHKeyRequest); i {1256case 0:1257return &v.state1258case 1:1259return &v.sizeCache1260case 2:1261return &v.unknownFields1262default:1263return nil1264}1265}1266file_gitpod_experimental_v1_user_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {1267switch v := v.(*DeleteSSHKeyResponse); i {1268case 0:1269return &v.state1270case 1:1271return &v.sizeCache1272case 2:1273return &v.unknownFields1274default:1275return nil1276}1277}1278file_gitpod_experimental_v1_user_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {1279switch v := v.(*GetGitTokenRequest); i {1280case 0:1281return &v.state1282case 1:1283return &v.sizeCache1284case 2:1285return &v.unknownFields1286default:1287return nil1288}1289}1290file_gitpod_experimental_v1_user_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {1291switch v := v.(*GetGitTokenResponse); i {1292case 0:1293return &v.state1294case 1:1295return &v.sizeCache1296case 2:1297return &v.unknownFields1298default:1299return nil1300}1301}1302file_gitpod_experimental_v1_user_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {1303switch v := v.(*GitToken); i {1304case 0:1305return &v.state1306case 1:1307return &v.sizeCache1308case 2:1309return &v.unknownFields1310default:1311return nil1312}1313}1314file_gitpod_experimental_v1_user_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {1315switch v := v.(*BlockUserRequest); i {1316case 0:1317return &v.state1318case 1:1319return &v.sizeCache1320case 2:1321return &v.unknownFields1322default:1323return nil1324}1325}1326file_gitpod_experimental_v1_user_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {1327switch v := v.(*BlockUserResponse); i {1328case 0:1329return &v.state1330case 1:1331return &v.sizeCache1332case 2:1333return &v.unknownFields1334default:1335return nil1336}1337}1338}1339type x struct{}1340out := protoimpl.TypeBuilder{1341File: protoimpl.DescBuilder{1342GoPackagePath: reflect.TypeOf(x{}).PkgPath(),1343RawDescriptor: file_gitpod_experimental_v1_user_proto_rawDesc,1344NumEnums: 0,1345NumMessages: 17,1346NumExtensions: 0,1347NumServices: 1,1348},1349GoTypes: file_gitpod_experimental_v1_user_proto_goTypes,1350DependencyIndexes: file_gitpod_experimental_v1_user_proto_depIdxs,1351MessageInfos: file_gitpod_experimental_v1_user_proto_msgTypes,1352}.Build()1353File_gitpod_experimental_v1_user_proto = out.File1354file_gitpod_experimental_v1_user_proto_rawDesc = nil1355file_gitpod_experimental_v1_user_proto_goTypes = nil1356file_gitpod_experimental_v1_user_proto_depIdxs = nil1357}135813591360