github.com/gravitational/teleport/api@v0.0.0-20240507183017-3110591cbafc/gen/proto/go/userpreferences/v1/userpreferences.pb.go (about)

     1  // Copyright 2023 Gravitational, Inc
     2  //
     3  // Licensed under the Apache License, Version 2.0 (the "License");
     4  // you may not use this file except in compliance with the License.
     5  // You may obtain a copy of the License at
     6  //
     7  //      http://www.apache.org/licenses/LICENSE-2.0
     8  //
     9  // Unless required by applicable law or agreed to in writing, software
    10  // distributed under the License is distributed on an "AS IS" BASIS,
    11  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12  // See the License for the specific language governing permissions and
    13  // limitations under the License.
    14  
    15  // Code generated by protoc-gen-go. DO NOT EDIT.
    16  // versions:
    17  // 	protoc-gen-go v1.34.0
    18  // 	protoc        (unknown)
    19  // source: teleport/userpreferences/v1/userpreferences.proto
    20  
    21  package userpreferencesv1
    22  
    23  import (
    24  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    25  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    26  	emptypb "google.golang.org/protobuf/types/known/emptypb"
    27  	reflect "reflect"
    28  	sync "sync"
    29  )
    30  
    31  const (
    32  	// Verify that this generated code is sufficiently up-to-date.
    33  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    34  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    35  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    36  )
    37  
    38  // UserPreferences is a collection of different user changeable preferences for the frontend.
    39  type UserPreferences struct {
    40  	state         protoimpl.MessageState
    41  	sizeCache     protoimpl.SizeCache
    42  	unknownFields protoimpl.UnknownFields
    43  
    44  	// assist is the preferences for the Teleport Assist.
    45  	Assist *AssistUserPreferences `protobuf:"bytes,1,opt,name=assist,proto3" json:"assist,omitempty"`
    46  	// theme is the theme of the frontend.
    47  	Theme Theme `protobuf:"varint,2,opt,name=theme,proto3,enum=teleport.userpreferences.v1.Theme" json:"theme,omitempty"`
    48  	// onboard is the preferences from the onboarding questionnaire.
    49  	Onboard *OnboardUserPreferences `protobuf:"bytes,3,opt,name=onboard,proto3" json:"onboard,omitempty"`
    50  	// cluster_preferences are user preferences saved per cluster.
    51  	ClusterPreferences *ClusterUserPreferences `protobuf:"bytes,4,opt,name=cluster_preferences,json=clusterPreferences,proto3" json:"cluster_preferences,omitempty"`
    52  	// unified_resource_preferences are user preferences saved for the Unified Resource web UI
    53  	UnifiedResourcePreferences *UnifiedResourcePreferences `protobuf:"bytes,5,opt,name=unified_resource_preferences,json=unifiedResourcePreferences,proto3" json:"unified_resource_preferences,omitempty"`
    54  	// access_graph is the preferences for Access Graph.
    55  	AccessGraph *AccessGraphUserPreferences `protobuf:"bytes,6,opt,name=access_graph,json=accessGraph,proto3" json:"access_graph,omitempty"`
    56  }
    57  
    58  func (x *UserPreferences) Reset() {
    59  	*x = UserPreferences{}
    60  	if protoimpl.UnsafeEnabled {
    61  		mi := &file_teleport_userpreferences_v1_userpreferences_proto_msgTypes[0]
    62  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    63  		ms.StoreMessageInfo(mi)
    64  	}
    65  }
    66  
    67  func (x *UserPreferences) String() string {
    68  	return protoimpl.X.MessageStringOf(x)
    69  }
    70  
    71  func (*UserPreferences) ProtoMessage() {}
    72  
    73  func (x *UserPreferences) ProtoReflect() protoreflect.Message {
    74  	mi := &file_teleport_userpreferences_v1_userpreferences_proto_msgTypes[0]
    75  	if protoimpl.UnsafeEnabled && x != nil {
    76  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    77  		if ms.LoadMessageInfo() == nil {
    78  			ms.StoreMessageInfo(mi)
    79  		}
    80  		return ms
    81  	}
    82  	return mi.MessageOf(x)
    83  }
    84  
    85  // Deprecated: Use UserPreferences.ProtoReflect.Descriptor instead.
    86  func (*UserPreferences) Descriptor() ([]byte, []int) {
    87  	return file_teleport_userpreferences_v1_userpreferences_proto_rawDescGZIP(), []int{0}
    88  }
    89  
    90  func (x *UserPreferences) GetAssist() *AssistUserPreferences {
    91  	if x != nil {
    92  		return x.Assist
    93  	}
    94  	return nil
    95  }
    96  
    97  func (x *UserPreferences) GetTheme() Theme {
    98  	if x != nil {
    99  		return x.Theme
   100  	}
   101  	return Theme_THEME_UNSPECIFIED
   102  }
   103  
   104  func (x *UserPreferences) GetOnboard() *OnboardUserPreferences {
   105  	if x != nil {
   106  		return x.Onboard
   107  	}
   108  	return nil
   109  }
   110  
   111  func (x *UserPreferences) GetClusterPreferences() *ClusterUserPreferences {
   112  	if x != nil {
   113  		return x.ClusterPreferences
   114  	}
   115  	return nil
   116  }
   117  
   118  func (x *UserPreferences) GetUnifiedResourcePreferences() *UnifiedResourcePreferences {
   119  	if x != nil {
   120  		return x.UnifiedResourcePreferences
   121  	}
   122  	return nil
   123  }
   124  
   125  func (x *UserPreferences) GetAccessGraph() *AccessGraphUserPreferences {
   126  	if x != nil {
   127  		return x.AccessGraph
   128  	}
   129  	return nil
   130  }
   131  
   132  // GetUserPreferencesRequest is a request to get the user preferences.
   133  type GetUserPreferencesRequest struct {
   134  	state         protoimpl.MessageState
   135  	sizeCache     protoimpl.SizeCache
   136  	unknownFields protoimpl.UnknownFields
   137  }
   138  
   139  func (x *GetUserPreferencesRequest) Reset() {
   140  	*x = GetUserPreferencesRequest{}
   141  	if protoimpl.UnsafeEnabled {
   142  		mi := &file_teleport_userpreferences_v1_userpreferences_proto_msgTypes[1]
   143  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   144  		ms.StoreMessageInfo(mi)
   145  	}
   146  }
   147  
   148  func (x *GetUserPreferencesRequest) String() string {
   149  	return protoimpl.X.MessageStringOf(x)
   150  }
   151  
   152  func (*GetUserPreferencesRequest) ProtoMessage() {}
   153  
   154  func (x *GetUserPreferencesRequest) ProtoReflect() protoreflect.Message {
   155  	mi := &file_teleport_userpreferences_v1_userpreferences_proto_msgTypes[1]
   156  	if protoimpl.UnsafeEnabled && x != nil {
   157  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   158  		if ms.LoadMessageInfo() == nil {
   159  			ms.StoreMessageInfo(mi)
   160  		}
   161  		return ms
   162  	}
   163  	return mi.MessageOf(x)
   164  }
   165  
   166  // Deprecated: Use GetUserPreferencesRequest.ProtoReflect.Descriptor instead.
   167  func (*GetUserPreferencesRequest) Descriptor() ([]byte, []int) {
   168  	return file_teleport_userpreferences_v1_userpreferences_proto_rawDescGZIP(), []int{1}
   169  }
   170  
   171  // GetUserPreferencesResponse is a response to get the user preferences.
   172  type GetUserPreferencesResponse struct {
   173  	state         protoimpl.MessageState
   174  	sizeCache     protoimpl.SizeCache
   175  	unknownFields protoimpl.UnknownFields
   176  
   177  	// preferences is the user preferences.
   178  	Preferences *UserPreferences `protobuf:"bytes,1,opt,name=preferences,proto3" json:"preferences,omitempty"`
   179  }
   180  
   181  func (x *GetUserPreferencesResponse) Reset() {
   182  	*x = GetUserPreferencesResponse{}
   183  	if protoimpl.UnsafeEnabled {
   184  		mi := &file_teleport_userpreferences_v1_userpreferences_proto_msgTypes[2]
   185  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   186  		ms.StoreMessageInfo(mi)
   187  	}
   188  }
   189  
   190  func (x *GetUserPreferencesResponse) String() string {
   191  	return protoimpl.X.MessageStringOf(x)
   192  }
   193  
   194  func (*GetUserPreferencesResponse) ProtoMessage() {}
   195  
   196  func (x *GetUserPreferencesResponse) ProtoReflect() protoreflect.Message {
   197  	mi := &file_teleport_userpreferences_v1_userpreferences_proto_msgTypes[2]
   198  	if protoimpl.UnsafeEnabled && x != nil {
   199  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   200  		if ms.LoadMessageInfo() == nil {
   201  			ms.StoreMessageInfo(mi)
   202  		}
   203  		return ms
   204  	}
   205  	return mi.MessageOf(x)
   206  }
   207  
   208  // Deprecated: Use GetUserPreferencesResponse.ProtoReflect.Descriptor instead.
   209  func (*GetUserPreferencesResponse) Descriptor() ([]byte, []int) {
   210  	return file_teleport_userpreferences_v1_userpreferences_proto_rawDescGZIP(), []int{2}
   211  }
   212  
   213  func (x *GetUserPreferencesResponse) GetPreferences() *UserPreferences {
   214  	if x != nil {
   215  		return x.Preferences
   216  	}
   217  	return nil
   218  }
   219  
   220  // UpsertUserPreferencesRequest is a request to create or update the user preferences.
   221  type UpsertUserPreferencesRequest struct {
   222  	state         protoimpl.MessageState
   223  	sizeCache     protoimpl.SizeCache
   224  	unknownFields protoimpl.UnknownFields
   225  
   226  	// preferences is the new user preferences to set.
   227  	Preferences *UserPreferences `protobuf:"bytes,1,opt,name=preferences,proto3" json:"preferences,omitempty"`
   228  }
   229  
   230  func (x *UpsertUserPreferencesRequest) Reset() {
   231  	*x = UpsertUserPreferencesRequest{}
   232  	if protoimpl.UnsafeEnabled {
   233  		mi := &file_teleport_userpreferences_v1_userpreferences_proto_msgTypes[3]
   234  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   235  		ms.StoreMessageInfo(mi)
   236  	}
   237  }
   238  
   239  func (x *UpsertUserPreferencesRequest) String() string {
   240  	return protoimpl.X.MessageStringOf(x)
   241  }
   242  
   243  func (*UpsertUserPreferencesRequest) ProtoMessage() {}
   244  
   245  func (x *UpsertUserPreferencesRequest) ProtoReflect() protoreflect.Message {
   246  	mi := &file_teleport_userpreferences_v1_userpreferences_proto_msgTypes[3]
   247  	if protoimpl.UnsafeEnabled && x != nil {
   248  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   249  		if ms.LoadMessageInfo() == nil {
   250  			ms.StoreMessageInfo(mi)
   251  		}
   252  		return ms
   253  	}
   254  	return mi.MessageOf(x)
   255  }
   256  
   257  // Deprecated: Use UpsertUserPreferencesRequest.ProtoReflect.Descriptor instead.
   258  func (*UpsertUserPreferencesRequest) Descriptor() ([]byte, []int) {
   259  	return file_teleport_userpreferences_v1_userpreferences_proto_rawDescGZIP(), []int{3}
   260  }
   261  
   262  func (x *UpsertUserPreferencesRequest) GetPreferences() *UserPreferences {
   263  	if x != nil {
   264  		return x.Preferences
   265  	}
   266  	return nil
   267  }
   268  
   269  var File_teleport_userpreferences_v1_userpreferences_proto protoreflect.FileDescriptor
   270  
   271  var file_teleport_userpreferences_v1_userpreferences_proto_rawDesc = []byte{
   272  	0x0a, 0x31, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x70,
   273  	0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x75, 0x73,
   274  	0x65, 0x72, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72,
   275  	0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x75, 0x73,
   276  	0x65, 0x72, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31,
   277  	0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
   278  	0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x74,
   279  	0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x70, 0x72, 0x65, 0x66,
   280  	0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x63, 0x63, 0x65, 0x73,
   281  	0x73, 0x5f, 0x67, 0x72, 0x61, 0x70, 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x28, 0x74,
   282  	0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x70, 0x72, 0x65, 0x66,
   283  	0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x73, 0x73, 0x69, 0x73,
   284  	0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x35, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72,
   285  	0x74, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65,
   286  	0x73, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x72, 0x65,
   287  	0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x29,
   288  	0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x70, 0x72, 0x65,
   289  	0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x6f, 0x6e, 0x62, 0x6f,
   290  	0x61, 0x72, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x27, 0x74, 0x65, 0x6c, 0x65, 0x70,
   291  	0x6f, 0x72, 0x74, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e,
   292  	0x63, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x68, 0x65, 0x6d, 0x65, 0x2e, 0x70, 0x72, 0x6f,
   293  	0x74, 0x6f, 0x1a, 0x3e, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x75, 0x73, 0x65,
   294  	0x72, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f,
   295  	0x75, 0x6e, 0x69, 0x66, 0x69, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
   296  	0x5f, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f,
   297  	0x74, 0x6f, 0x22, 0xa3, 0x04, 0x0a, 0x0f, 0x55, 0x73, 0x65, 0x72, 0x50, 0x72, 0x65, 0x66, 0x65,
   298  	0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x4a, 0x0a, 0x06, 0x61, 0x73, 0x73, 0x69, 0x73, 0x74,
   299  	0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72,
   300  	0x74, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65,
   301  	0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x73, 0x73, 0x69, 0x73, 0x74, 0x55, 0x73, 0x65, 0x72, 0x50,
   302  	0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x06, 0x61, 0x73, 0x73, 0x69,
   303  	0x73, 0x74, 0x12, 0x38, 0x0a, 0x05, 0x74, 0x68, 0x65, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
   304  	0x0e, 0x32, 0x22, 0x2e, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x75, 0x73, 0x65,
   305  	0x72, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e,
   306  	0x54, 0x68, 0x65, 0x6d, 0x65, 0x52, 0x05, 0x74, 0x68, 0x65, 0x6d, 0x65, 0x12, 0x4d, 0x0a, 0x07,
   307  	0x6f, 0x6e, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e,
   308  	0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x70, 0x72, 0x65,
   309  	0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x6e, 0x62, 0x6f,
   310  	0x61, 0x72, 0x64, 0x55, 0x73, 0x65, 0x72, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63,
   311  	0x65, 0x73, 0x52, 0x07, 0x6f, 0x6e, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x12, 0x64, 0x0a, 0x13, 0x63,
   312  	0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63,
   313  	0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x74, 0x65, 0x6c, 0x65, 0x70,
   314  	0x6f, 0x72, 0x74, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e,
   315  	0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x55, 0x73,
   316  	0x65, 0x72, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x12, 0x63,
   317  	0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65,
   318  	0x73, 0x12, 0x79, 0x0a, 0x1c, 0x75, 0x6e, 0x69, 0x66, 0x69, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x73,
   319  	0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65,
   320  	0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f,
   321  	0x72, 0x74, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63,
   322  	0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x69, 0x66, 0x69, 0x65, 0x64, 0x52, 0x65, 0x73,
   323  	0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73,
   324  	0x52, 0x1a, 0x75, 0x6e, 0x69, 0x66, 0x69, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
   325  	0x65, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x5a, 0x0a, 0x0c,
   326  	0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x67, 0x72, 0x61, 0x70, 0x68, 0x18, 0x06, 0x20, 0x01,
   327  	0x28, 0x0b, 0x32, 0x37, 0x2e, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x75, 0x73,
   328  	0x65, 0x72, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31,
   329  	0x2e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x47, 0x72, 0x61, 0x70, 0x68, 0x55, 0x73, 0x65, 0x72,
   330  	0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x0b, 0x61, 0x63, 0x63,
   331  	0x65, 0x73, 0x73, 0x47, 0x72, 0x61, 0x70, 0x68, 0x22, 0x2b, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x55,
   332  	0x73, 0x65, 0x72, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65,
   333  	0x71, 0x75, 0x65, 0x73, 0x74, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x52, 0x08, 0x75, 0x73, 0x65,
   334  	0x72, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x6c, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72,
   335  	0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
   336  	0x6e, 0x73, 0x65, 0x12, 0x4e, 0x0a, 0x0b, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63,
   337  	0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x74, 0x65, 0x6c, 0x65, 0x70,
   338  	0x6f, 0x72, 0x74, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e,
   339  	0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x50, 0x72, 0x65, 0x66, 0x65,
   340  	0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x0b, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e,
   341  	0x63, 0x65, 0x73, 0x22, 0x7e, 0x0a, 0x1c, 0x55, 0x70, 0x73, 0x65, 0x72, 0x74, 0x55, 0x73, 0x65,
   342  	0x72, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75,
   343  	0x65, 0x73, 0x74, 0x12, 0x4e, 0x0a, 0x0b, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63,
   344  	0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x74, 0x65, 0x6c, 0x65, 0x70,
   345  	0x6f, 0x72, 0x74, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e,
   346  	0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x50, 0x72, 0x65, 0x66, 0x65,
   347  	0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x0b, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e,
   348  	0x63, 0x65, 0x73, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e,
   349  	0x61, 0x6d, 0x65, 0x32, 0x8c, 0x02, 0x0a, 0x16, 0x55, 0x73, 0x65, 0x72, 0x50, 0x72, 0x65, 0x66,
   350  	0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x85,
   351  	0x01, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72,
   352  	0x65, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x36, 0x2e, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74,
   353  	0x2e, 0x75, 0x73, 0x65, 0x72, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73,
   354  	0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x50, 0x72, 0x65, 0x66, 0x65,
   355  	0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x37, 0x2e,
   356  	0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x70, 0x72, 0x65,
   357  	0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x55,
   358  	0x73, 0x65, 0x72, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65,
   359  	0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6a, 0x0a, 0x15, 0x55, 0x70, 0x73, 0x65, 0x72, 0x74,
   360  	0x55, 0x73, 0x65, 0x72, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x12,
   361  	0x39, 0x2e, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x70,
   362  	0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70,
   363  	0x73, 0x65, 0x72, 0x74, 0x55, 0x73, 0x65, 0x72, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e,
   364  	0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f,
   365  	0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70,
   366  	0x74, 0x79, 0x42, 0x59, 0x5a, 0x57, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d,
   367  	0x2f, 0x67, 0x72, 0x61, 0x76, 0x69, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x2f, 0x74,
   368  	0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x65, 0x6e, 0x2f,
   369  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x70, 0x72, 0x65,
   370  	0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x3b, 0x75, 0x73, 0x65, 0x72,
   371  	0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x76, 0x31, 0x62, 0x06, 0x70,
   372  	0x72, 0x6f, 0x74, 0x6f, 0x33,
   373  }
   374  
   375  var (
   376  	file_teleport_userpreferences_v1_userpreferences_proto_rawDescOnce sync.Once
   377  	file_teleport_userpreferences_v1_userpreferences_proto_rawDescData = file_teleport_userpreferences_v1_userpreferences_proto_rawDesc
   378  )
   379  
   380  func file_teleport_userpreferences_v1_userpreferences_proto_rawDescGZIP() []byte {
   381  	file_teleport_userpreferences_v1_userpreferences_proto_rawDescOnce.Do(func() {
   382  		file_teleport_userpreferences_v1_userpreferences_proto_rawDescData = protoimpl.X.CompressGZIP(file_teleport_userpreferences_v1_userpreferences_proto_rawDescData)
   383  	})
   384  	return file_teleport_userpreferences_v1_userpreferences_proto_rawDescData
   385  }
   386  
   387  var file_teleport_userpreferences_v1_userpreferences_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
   388  var file_teleport_userpreferences_v1_userpreferences_proto_goTypes = []interface{}{
   389  	(*UserPreferences)(nil),              // 0: teleport.userpreferences.v1.UserPreferences
   390  	(*GetUserPreferencesRequest)(nil),    // 1: teleport.userpreferences.v1.GetUserPreferencesRequest
   391  	(*GetUserPreferencesResponse)(nil),   // 2: teleport.userpreferences.v1.GetUserPreferencesResponse
   392  	(*UpsertUserPreferencesRequest)(nil), // 3: teleport.userpreferences.v1.UpsertUserPreferencesRequest
   393  	(*AssistUserPreferences)(nil),        // 4: teleport.userpreferences.v1.AssistUserPreferences
   394  	(Theme)(0),                           // 5: teleport.userpreferences.v1.Theme
   395  	(*OnboardUserPreferences)(nil),       // 6: teleport.userpreferences.v1.OnboardUserPreferences
   396  	(*ClusterUserPreferences)(nil),       // 7: teleport.userpreferences.v1.ClusterUserPreferences
   397  	(*UnifiedResourcePreferences)(nil),   // 8: teleport.userpreferences.v1.UnifiedResourcePreferences
   398  	(*AccessGraphUserPreferences)(nil),   // 9: teleport.userpreferences.v1.AccessGraphUserPreferences
   399  	(*emptypb.Empty)(nil),                // 10: google.protobuf.Empty
   400  }
   401  var file_teleport_userpreferences_v1_userpreferences_proto_depIdxs = []int32{
   402  	4,  // 0: teleport.userpreferences.v1.UserPreferences.assist:type_name -> teleport.userpreferences.v1.AssistUserPreferences
   403  	5,  // 1: teleport.userpreferences.v1.UserPreferences.theme:type_name -> teleport.userpreferences.v1.Theme
   404  	6,  // 2: teleport.userpreferences.v1.UserPreferences.onboard:type_name -> teleport.userpreferences.v1.OnboardUserPreferences
   405  	7,  // 3: teleport.userpreferences.v1.UserPreferences.cluster_preferences:type_name -> teleport.userpreferences.v1.ClusterUserPreferences
   406  	8,  // 4: teleport.userpreferences.v1.UserPreferences.unified_resource_preferences:type_name -> teleport.userpreferences.v1.UnifiedResourcePreferences
   407  	9,  // 5: teleport.userpreferences.v1.UserPreferences.access_graph:type_name -> teleport.userpreferences.v1.AccessGraphUserPreferences
   408  	0,  // 6: teleport.userpreferences.v1.GetUserPreferencesResponse.preferences:type_name -> teleport.userpreferences.v1.UserPreferences
   409  	0,  // 7: teleport.userpreferences.v1.UpsertUserPreferencesRequest.preferences:type_name -> teleport.userpreferences.v1.UserPreferences
   410  	1,  // 8: teleport.userpreferences.v1.UserPreferencesService.GetUserPreferences:input_type -> teleport.userpreferences.v1.GetUserPreferencesRequest
   411  	3,  // 9: teleport.userpreferences.v1.UserPreferencesService.UpsertUserPreferences:input_type -> teleport.userpreferences.v1.UpsertUserPreferencesRequest
   412  	2,  // 10: teleport.userpreferences.v1.UserPreferencesService.GetUserPreferences:output_type -> teleport.userpreferences.v1.GetUserPreferencesResponse
   413  	10, // 11: teleport.userpreferences.v1.UserPreferencesService.UpsertUserPreferences:output_type -> google.protobuf.Empty
   414  	10, // [10:12] is the sub-list for method output_type
   415  	8,  // [8:10] is the sub-list for method input_type
   416  	8,  // [8:8] is the sub-list for extension type_name
   417  	8,  // [8:8] is the sub-list for extension extendee
   418  	0,  // [0:8] is the sub-list for field type_name
   419  }
   420  
   421  func init() { file_teleport_userpreferences_v1_userpreferences_proto_init() }
   422  func file_teleport_userpreferences_v1_userpreferences_proto_init() {
   423  	if File_teleport_userpreferences_v1_userpreferences_proto != nil {
   424  		return
   425  	}
   426  	file_teleport_userpreferences_v1_access_graph_proto_init()
   427  	file_teleport_userpreferences_v1_assist_proto_init()
   428  	file_teleport_userpreferences_v1_cluster_preferences_proto_init()
   429  	file_teleport_userpreferences_v1_onboard_proto_init()
   430  	file_teleport_userpreferences_v1_theme_proto_init()
   431  	file_teleport_userpreferences_v1_unified_resource_preferences_proto_init()
   432  	if !protoimpl.UnsafeEnabled {
   433  		file_teleport_userpreferences_v1_userpreferences_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   434  			switch v := v.(*UserPreferences); i {
   435  			case 0:
   436  				return &v.state
   437  			case 1:
   438  				return &v.sizeCache
   439  			case 2:
   440  				return &v.unknownFields
   441  			default:
   442  				return nil
   443  			}
   444  		}
   445  		file_teleport_userpreferences_v1_userpreferences_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   446  			switch v := v.(*GetUserPreferencesRequest); i {
   447  			case 0:
   448  				return &v.state
   449  			case 1:
   450  				return &v.sizeCache
   451  			case 2:
   452  				return &v.unknownFields
   453  			default:
   454  				return nil
   455  			}
   456  		}
   457  		file_teleport_userpreferences_v1_userpreferences_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   458  			switch v := v.(*GetUserPreferencesResponse); i {
   459  			case 0:
   460  				return &v.state
   461  			case 1:
   462  				return &v.sizeCache
   463  			case 2:
   464  				return &v.unknownFields
   465  			default:
   466  				return nil
   467  			}
   468  		}
   469  		file_teleport_userpreferences_v1_userpreferences_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   470  			switch v := v.(*UpsertUserPreferencesRequest); i {
   471  			case 0:
   472  				return &v.state
   473  			case 1:
   474  				return &v.sizeCache
   475  			case 2:
   476  				return &v.unknownFields
   477  			default:
   478  				return nil
   479  			}
   480  		}
   481  	}
   482  	type x struct{}
   483  	out := protoimpl.TypeBuilder{
   484  		File: protoimpl.DescBuilder{
   485  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   486  			RawDescriptor: file_teleport_userpreferences_v1_userpreferences_proto_rawDesc,
   487  			NumEnums:      0,
   488  			NumMessages:   4,
   489  			NumExtensions: 0,
   490  			NumServices:   1,
   491  		},
   492  		GoTypes:           file_teleport_userpreferences_v1_userpreferences_proto_goTypes,
   493  		DependencyIndexes: file_teleport_userpreferences_v1_userpreferences_proto_depIdxs,
   494  		MessageInfos:      file_teleport_userpreferences_v1_userpreferences_proto_msgTypes,
   495  	}.Build()
   496  	File_teleport_userpreferences_v1_userpreferences_proto = out.File
   497  	file_teleport_userpreferences_v1_userpreferences_proto_rawDesc = nil
   498  	file_teleport_userpreferences_v1_userpreferences_proto_goTypes = nil
   499  	file_teleport_userpreferences_v1_userpreferences_proto_depIdxs = nil
   500  }