github.com/gravitational/teleport/api@v0.0.0-20240507183017-3110591cbafc/gen/proto/go/userpreferences/v1/unified_resource_preferences.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/unified_resource_preferences.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  	reflect "reflect"
    27  	sync "sync"
    28  )
    29  
    30  const (
    31  	// Verify that this generated code is sufficiently up-to-date.
    32  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    33  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    34  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    35  )
    36  
    37  // DefaultTab is the default tab selected in the unified resource web UI
    38  type DefaultTab int32
    39  
    40  const (
    41  	DefaultTab_DEFAULT_TAB_UNSPECIFIED DefaultTab = 0
    42  	// ALL is all resources
    43  	DefaultTab_DEFAULT_TAB_ALL DefaultTab = 1
    44  	// PINNED is only pinned resources
    45  	DefaultTab_DEFAULT_TAB_PINNED DefaultTab = 2
    46  )
    47  
    48  // Enum value maps for DefaultTab.
    49  var (
    50  	DefaultTab_name = map[int32]string{
    51  		0: "DEFAULT_TAB_UNSPECIFIED",
    52  		1: "DEFAULT_TAB_ALL",
    53  		2: "DEFAULT_TAB_PINNED",
    54  	}
    55  	DefaultTab_value = map[string]int32{
    56  		"DEFAULT_TAB_UNSPECIFIED": 0,
    57  		"DEFAULT_TAB_ALL":         1,
    58  		"DEFAULT_TAB_PINNED":      2,
    59  	}
    60  )
    61  
    62  func (x DefaultTab) Enum() *DefaultTab {
    63  	p := new(DefaultTab)
    64  	*p = x
    65  	return p
    66  }
    67  
    68  func (x DefaultTab) String() string {
    69  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
    70  }
    71  
    72  func (DefaultTab) Descriptor() protoreflect.EnumDescriptor {
    73  	return file_teleport_userpreferences_v1_unified_resource_preferences_proto_enumTypes[0].Descriptor()
    74  }
    75  
    76  func (DefaultTab) Type() protoreflect.EnumType {
    77  	return &file_teleport_userpreferences_v1_unified_resource_preferences_proto_enumTypes[0]
    78  }
    79  
    80  func (x DefaultTab) Number() protoreflect.EnumNumber {
    81  	return protoreflect.EnumNumber(x)
    82  }
    83  
    84  // Deprecated: Use DefaultTab.Descriptor instead.
    85  func (DefaultTab) EnumDescriptor() ([]byte, []int) {
    86  	return file_teleport_userpreferences_v1_unified_resource_preferences_proto_rawDescGZIP(), []int{0}
    87  }
    88  
    89  // ViewMode is the view mode selected in the unified resource Web UI
    90  type ViewMode int32
    91  
    92  const (
    93  	ViewMode_VIEW_MODE_UNSPECIFIED ViewMode = 0
    94  	// CARD is the card view
    95  	ViewMode_VIEW_MODE_CARD ViewMode = 1
    96  	// LIST is the list view
    97  	ViewMode_VIEW_MODE_LIST ViewMode = 2
    98  )
    99  
   100  // Enum value maps for ViewMode.
   101  var (
   102  	ViewMode_name = map[int32]string{
   103  		0: "VIEW_MODE_UNSPECIFIED",
   104  		1: "VIEW_MODE_CARD",
   105  		2: "VIEW_MODE_LIST",
   106  	}
   107  	ViewMode_value = map[string]int32{
   108  		"VIEW_MODE_UNSPECIFIED": 0,
   109  		"VIEW_MODE_CARD":        1,
   110  		"VIEW_MODE_LIST":        2,
   111  	}
   112  )
   113  
   114  func (x ViewMode) Enum() *ViewMode {
   115  	p := new(ViewMode)
   116  	*p = x
   117  	return p
   118  }
   119  
   120  func (x ViewMode) String() string {
   121  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
   122  }
   123  
   124  func (ViewMode) Descriptor() protoreflect.EnumDescriptor {
   125  	return file_teleport_userpreferences_v1_unified_resource_preferences_proto_enumTypes[1].Descriptor()
   126  }
   127  
   128  func (ViewMode) Type() protoreflect.EnumType {
   129  	return &file_teleport_userpreferences_v1_unified_resource_preferences_proto_enumTypes[1]
   130  }
   131  
   132  func (x ViewMode) Number() protoreflect.EnumNumber {
   133  	return protoreflect.EnumNumber(x)
   134  }
   135  
   136  // Deprecated: Use ViewMode.Descriptor instead.
   137  func (ViewMode) EnumDescriptor() ([]byte, []int) {
   138  	return file_teleport_userpreferences_v1_unified_resource_preferences_proto_rawDescGZIP(), []int{1}
   139  }
   140  
   141  // * LabelsViewMode is whether the labels for resources should all be collapsed or expanded. This only applies to the list view.
   142  type LabelsViewMode int32
   143  
   144  const (
   145  	LabelsViewMode_LABELS_VIEW_MODE_UNSPECIFIED LabelsViewMode = 0
   146  	// EXPANDED is the expanded state which shows all labels for every resource.
   147  	LabelsViewMode_LABELS_VIEW_MODE_EXPANDED LabelsViewMode = 1
   148  	// COLLAPSED is the collapsed state which hides all labels for every resource.
   149  	LabelsViewMode_LABELS_VIEW_MODE_COLLAPSED LabelsViewMode = 2
   150  )
   151  
   152  // Enum value maps for LabelsViewMode.
   153  var (
   154  	LabelsViewMode_name = map[int32]string{
   155  		0: "LABELS_VIEW_MODE_UNSPECIFIED",
   156  		1: "LABELS_VIEW_MODE_EXPANDED",
   157  		2: "LABELS_VIEW_MODE_COLLAPSED",
   158  	}
   159  	LabelsViewMode_value = map[string]int32{
   160  		"LABELS_VIEW_MODE_UNSPECIFIED": 0,
   161  		"LABELS_VIEW_MODE_EXPANDED":    1,
   162  		"LABELS_VIEW_MODE_COLLAPSED":   2,
   163  	}
   164  )
   165  
   166  func (x LabelsViewMode) Enum() *LabelsViewMode {
   167  	p := new(LabelsViewMode)
   168  	*p = x
   169  	return p
   170  }
   171  
   172  func (x LabelsViewMode) String() string {
   173  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
   174  }
   175  
   176  func (LabelsViewMode) Descriptor() protoreflect.EnumDescriptor {
   177  	return file_teleport_userpreferences_v1_unified_resource_preferences_proto_enumTypes[2].Descriptor()
   178  }
   179  
   180  func (LabelsViewMode) Type() protoreflect.EnumType {
   181  	return &file_teleport_userpreferences_v1_unified_resource_preferences_proto_enumTypes[2]
   182  }
   183  
   184  func (x LabelsViewMode) Number() protoreflect.EnumNumber {
   185  	return protoreflect.EnumNumber(x)
   186  }
   187  
   188  // Deprecated: Use LabelsViewMode.Descriptor instead.
   189  func (LabelsViewMode) EnumDescriptor() ([]byte, []int) {
   190  	return file_teleport_userpreferences_v1_unified_resource_preferences_proto_rawDescGZIP(), []int{2}
   191  }
   192  
   193  // UnifiedResourcePreferences are preferences used in the Unified Resource web UI
   194  type UnifiedResourcePreferences struct {
   195  	state         protoimpl.MessageState
   196  	sizeCache     protoimpl.SizeCache
   197  	unknownFields protoimpl.UnknownFields
   198  
   199  	// default_tab is the default tab selected in the unified resource web UI
   200  	DefaultTab DefaultTab `protobuf:"varint,1,opt,name=default_tab,json=defaultTab,proto3,enum=teleport.userpreferences.v1.DefaultTab" json:"default_tab,omitempty"`
   201  	// view_mode is the view mode selected in the unified resource Web UI
   202  	ViewMode ViewMode `protobuf:"varint,2,opt,name=view_mode,json=viewMode,proto3,enum=teleport.userpreferences.v1.ViewMode" json:"view_mode,omitempty"`
   203  	// labels_view_mode is whether the labels for resources should all be collapsed or expanded in the unified resource Web UI list view.
   204  	LabelsViewMode LabelsViewMode `protobuf:"varint,3,opt,name=labels_view_mode,json=labelsViewMode,proto3,enum=teleport.userpreferences.v1.LabelsViewMode" json:"labels_view_mode,omitempty"`
   205  }
   206  
   207  func (x *UnifiedResourcePreferences) Reset() {
   208  	*x = UnifiedResourcePreferences{}
   209  	if protoimpl.UnsafeEnabled {
   210  		mi := &file_teleport_userpreferences_v1_unified_resource_preferences_proto_msgTypes[0]
   211  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   212  		ms.StoreMessageInfo(mi)
   213  	}
   214  }
   215  
   216  func (x *UnifiedResourcePreferences) String() string {
   217  	return protoimpl.X.MessageStringOf(x)
   218  }
   219  
   220  func (*UnifiedResourcePreferences) ProtoMessage() {}
   221  
   222  func (x *UnifiedResourcePreferences) ProtoReflect() protoreflect.Message {
   223  	mi := &file_teleport_userpreferences_v1_unified_resource_preferences_proto_msgTypes[0]
   224  	if protoimpl.UnsafeEnabled && x != nil {
   225  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   226  		if ms.LoadMessageInfo() == nil {
   227  			ms.StoreMessageInfo(mi)
   228  		}
   229  		return ms
   230  	}
   231  	return mi.MessageOf(x)
   232  }
   233  
   234  // Deprecated: Use UnifiedResourcePreferences.ProtoReflect.Descriptor instead.
   235  func (*UnifiedResourcePreferences) Descriptor() ([]byte, []int) {
   236  	return file_teleport_userpreferences_v1_unified_resource_preferences_proto_rawDescGZIP(), []int{0}
   237  }
   238  
   239  func (x *UnifiedResourcePreferences) GetDefaultTab() DefaultTab {
   240  	if x != nil {
   241  		return x.DefaultTab
   242  	}
   243  	return DefaultTab_DEFAULT_TAB_UNSPECIFIED
   244  }
   245  
   246  func (x *UnifiedResourcePreferences) GetViewMode() ViewMode {
   247  	if x != nil {
   248  		return x.ViewMode
   249  	}
   250  	return ViewMode_VIEW_MODE_UNSPECIFIED
   251  }
   252  
   253  func (x *UnifiedResourcePreferences) GetLabelsViewMode() LabelsViewMode {
   254  	if x != nil {
   255  		return x.LabelsViewMode
   256  	}
   257  	return LabelsViewMode_LABELS_VIEW_MODE_UNSPECIFIED
   258  }
   259  
   260  var File_teleport_userpreferences_v1_unified_resource_preferences_proto protoreflect.FileDescriptor
   261  
   262  var file_teleport_userpreferences_v1_unified_resource_preferences_proto_rawDesc = []byte{
   263  	0x0a, 0x3e, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x70,
   264  	0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x75, 0x6e,
   265  	0x69, 0x66, 0x69, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x70,
   266  	0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   267  	0x12, 0x1b, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x70,
   268  	0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x22, 0x81, 0x02,
   269  	0x0a, 0x1a, 0x55, 0x6e, 0x69, 0x66, 0x69, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
   270  	0x65, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x48, 0x0a, 0x0b,
   271  	0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x74, 0x61, 0x62, 0x18, 0x01, 0x20, 0x01, 0x28,
   272  	0x0e, 0x32, 0x27, 0x2e, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x75, 0x73, 0x65,
   273  	0x72, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e,
   274  	0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x54, 0x61, 0x62, 0x52, 0x0a, 0x64, 0x65, 0x66, 0x61,
   275  	0x75, 0x6c, 0x74, 0x54, 0x61, 0x62, 0x12, 0x42, 0x0a, 0x09, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x6d,
   276  	0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x74, 0x65, 0x6c, 0x65,
   277  	0x70, 0x6f, 0x72, 0x74, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65,
   278  	0x6e, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x69, 0x65, 0x77, 0x4d, 0x6f, 0x64, 0x65,
   279  	0x52, 0x08, 0x76, 0x69, 0x65, 0x77, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x55, 0x0a, 0x10, 0x6c, 0x61,
   280  	0x62, 0x65, 0x6c, 0x73, 0x5f, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x03,
   281  	0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2e,
   282  	0x75, 0x73, 0x65, 0x72, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x2e,
   283  	0x76, 0x31, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x56, 0x69, 0x65, 0x77, 0x4d, 0x6f, 0x64,
   284  	0x65, 0x52, 0x0e, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x56, 0x69, 0x65, 0x77, 0x4d, 0x6f, 0x64,
   285  	0x65, 0x2a, 0x56, 0x0a, 0x0a, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x54, 0x61, 0x62, 0x12,
   286  	0x1b, 0x0a, 0x17, 0x44, 0x45, 0x46, 0x41, 0x55, 0x4c, 0x54, 0x5f, 0x54, 0x41, 0x42, 0x5f, 0x55,
   287  	0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f,
   288  	0x44, 0x45, 0x46, 0x41, 0x55, 0x4c, 0x54, 0x5f, 0x54, 0x41, 0x42, 0x5f, 0x41, 0x4c, 0x4c, 0x10,
   289  	0x01, 0x12, 0x16, 0x0a, 0x12, 0x44, 0x45, 0x46, 0x41, 0x55, 0x4c, 0x54, 0x5f, 0x54, 0x41, 0x42,
   290  	0x5f, 0x50, 0x49, 0x4e, 0x4e, 0x45, 0x44, 0x10, 0x02, 0x2a, 0x4d, 0x0a, 0x08, 0x56, 0x69, 0x65,
   291  	0x77, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x19, 0x0a, 0x15, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x4d, 0x4f,
   292  	0x44, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00,
   293  	0x12, 0x12, 0x0a, 0x0e, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x43, 0x41,
   294  	0x52, 0x44, 0x10, 0x01, 0x12, 0x12, 0x0a, 0x0e, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x4d, 0x4f, 0x44,
   295  	0x45, 0x5f, 0x4c, 0x49, 0x53, 0x54, 0x10, 0x02, 0x2a, 0x71, 0x0a, 0x0e, 0x4c, 0x61, 0x62, 0x65,
   296  	0x6c, 0x73, 0x56, 0x69, 0x65, 0x77, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x20, 0x0a, 0x1c, 0x4c, 0x41,
   297  	0x42, 0x45, 0x4c, 0x53, 0x5f, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x55,
   298  	0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1d, 0x0a, 0x19,
   299  	0x4c, 0x41, 0x42, 0x45, 0x4c, 0x53, 0x5f, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x4d, 0x4f, 0x44, 0x45,
   300  	0x5f, 0x45, 0x58, 0x50, 0x41, 0x4e, 0x44, 0x45, 0x44, 0x10, 0x01, 0x12, 0x1e, 0x0a, 0x1a, 0x4c,
   301  	0x41, 0x42, 0x45, 0x4c, 0x53, 0x5f, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x5f,
   302  	0x43, 0x4f, 0x4c, 0x4c, 0x41, 0x50, 0x53, 0x45, 0x44, 0x10, 0x02, 0x42, 0x59, 0x5a, 0x57, 0x67,
   303  	0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x72, 0x61, 0x76, 0x69, 0x74,
   304  	0x61, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x6c, 0x65, 0x70, 0x6f, 0x72, 0x74,
   305  	0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67,
   306  	0x6f, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65,
   307  	0x73, 0x2f, 0x76, 0x31, 0x3b, 0x75, 0x73, 0x65, 0x72, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65,
   308  	0x6e, 0x63, 0x65, 0x73, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   309  }
   310  
   311  var (
   312  	file_teleport_userpreferences_v1_unified_resource_preferences_proto_rawDescOnce sync.Once
   313  	file_teleport_userpreferences_v1_unified_resource_preferences_proto_rawDescData = file_teleport_userpreferences_v1_unified_resource_preferences_proto_rawDesc
   314  )
   315  
   316  func file_teleport_userpreferences_v1_unified_resource_preferences_proto_rawDescGZIP() []byte {
   317  	file_teleport_userpreferences_v1_unified_resource_preferences_proto_rawDescOnce.Do(func() {
   318  		file_teleport_userpreferences_v1_unified_resource_preferences_proto_rawDescData = protoimpl.X.CompressGZIP(file_teleport_userpreferences_v1_unified_resource_preferences_proto_rawDescData)
   319  	})
   320  	return file_teleport_userpreferences_v1_unified_resource_preferences_proto_rawDescData
   321  }
   322  
   323  var file_teleport_userpreferences_v1_unified_resource_preferences_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
   324  var file_teleport_userpreferences_v1_unified_resource_preferences_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   325  var file_teleport_userpreferences_v1_unified_resource_preferences_proto_goTypes = []interface{}{
   326  	(DefaultTab)(0),                    // 0: teleport.userpreferences.v1.DefaultTab
   327  	(ViewMode)(0),                      // 1: teleport.userpreferences.v1.ViewMode
   328  	(LabelsViewMode)(0),                // 2: teleport.userpreferences.v1.LabelsViewMode
   329  	(*UnifiedResourcePreferences)(nil), // 3: teleport.userpreferences.v1.UnifiedResourcePreferences
   330  }
   331  var file_teleport_userpreferences_v1_unified_resource_preferences_proto_depIdxs = []int32{
   332  	0, // 0: teleport.userpreferences.v1.UnifiedResourcePreferences.default_tab:type_name -> teleport.userpreferences.v1.DefaultTab
   333  	1, // 1: teleport.userpreferences.v1.UnifiedResourcePreferences.view_mode:type_name -> teleport.userpreferences.v1.ViewMode
   334  	2, // 2: teleport.userpreferences.v1.UnifiedResourcePreferences.labels_view_mode:type_name -> teleport.userpreferences.v1.LabelsViewMode
   335  	3, // [3:3] is the sub-list for method output_type
   336  	3, // [3:3] is the sub-list for method input_type
   337  	3, // [3:3] is the sub-list for extension type_name
   338  	3, // [3:3] is the sub-list for extension extendee
   339  	0, // [0:3] is the sub-list for field type_name
   340  }
   341  
   342  func init() { file_teleport_userpreferences_v1_unified_resource_preferences_proto_init() }
   343  func file_teleport_userpreferences_v1_unified_resource_preferences_proto_init() {
   344  	if File_teleport_userpreferences_v1_unified_resource_preferences_proto != nil {
   345  		return
   346  	}
   347  	if !protoimpl.UnsafeEnabled {
   348  		file_teleport_userpreferences_v1_unified_resource_preferences_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   349  			switch v := v.(*UnifiedResourcePreferences); i {
   350  			case 0:
   351  				return &v.state
   352  			case 1:
   353  				return &v.sizeCache
   354  			case 2:
   355  				return &v.unknownFields
   356  			default:
   357  				return nil
   358  			}
   359  		}
   360  	}
   361  	type x struct{}
   362  	out := protoimpl.TypeBuilder{
   363  		File: protoimpl.DescBuilder{
   364  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   365  			RawDescriptor: file_teleport_userpreferences_v1_unified_resource_preferences_proto_rawDesc,
   366  			NumEnums:      3,
   367  			NumMessages:   1,
   368  			NumExtensions: 0,
   369  			NumServices:   0,
   370  		},
   371  		GoTypes:           file_teleport_userpreferences_v1_unified_resource_preferences_proto_goTypes,
   372  		DependencyIndexes: file_teleport_userpreferences_v1_unified_resource_preferences_proto_depIdxs,
   373  		EnumInfos:         file_teleport_userpreferences_v1_unified_resource_preferences_proto_enumTypes,
   374  		MessageInfos:      file_teleport_userpreferences_v1_unified_resource_preferences_proto_msgTypes,
   375  	}.Build()
   376  	File_teleport_userpreferences_v1_unified_resource_preferences_proto = out.File
   377  	file_teleport_userpreferences_v1_unified_resource_preferences_proto_rawDesc = nil
   378  	file_teleport_userpreferences_v1_unified_resource_preferences_proto_goTypes = nil
   379  	file_teleport_userpreferences_v1_unified_resource_preferences_proto_depIdxs = nil
   380  }