go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/analysis/internal/bugs/monorail/api_proto/user_objects.pb.go (about)

     1  // Copyright 2020 The Chromium Authors
     2  // Use of this source code is governed by a BSD-style license that can be
     3  // found in the LICENSE file.
     4  
     5  // This file defines protobufs for users and related business
     6  // objects, e.g., users, user preferences.
     7  
     8  // Code generated by protoc-gen-go. DO NOT EDIT.
     9  // versions:
    10  // 	protoc-gen-go v1.31.0
    11  // 	protoc        v3.21.7
    12  // source: go.chromium.org/luci/analysis/internal/bugs/monorail/api_proto/user_objects.proto
    13  
    14  package api_proto
    15  
    16  import (
    17  	_ "google.golang.org/genproto/googleapis/api/annotations"
    18  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    19  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    20  	reflect "reflect"
    21  	sync "sync"
    22  )
    23  
    24  const (
    25  	// Verify that this generated code is sufficiently up-to-date.
    26  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    27  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    28  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    29  )
    30  
    31  // Potential roles of a user.
    32  // Next available tag: 3
    33  type UserSettings_SiteRole int32
    34  
    35  const (
    36  	// Default value. This value is unused.
    37  	UserSettings_SITE_ROLE_UNSPECIFIED UserSettings_SiteRole = 0
    38  	// Normal site user with no special site-wide extra permissions.
    39  	UserSettings_NORMAL UserSettings_SiteRole = 1
    40  	// Site-wide admin role.
    41  	UserSettings_ADMIN UserSettings_SiteRole = 2
    42  )
    43  
    44  // Enum value maps for UserSettings_SiteRole.
    45  var (
    46  	UserSettings_SiteRole_name = map[int32]string{
    47  		0: "SITE_ROLE_UNSPECIFIED",
    48  		1: "NORMAL",
    49  		2: "ADMIN",
    50  	}
    51  	UserSettings_SiteRole_value = map[string]int32{
    52  		"SITE_ROLE_UNSPECIFIED": 0,
    53  		"NORMAL":                1,
    54  		"ADMIN":                 2,
    55  	}
    56  )
    57  
    58  func (x UserSettings_SiteRole) Enum() *UserSettings_SiteRole {
    59  	p := new(UserSettings_SiteRole)
    60  	*p = x
    61  	return p
    62  }
    63  
    64  func (x UserSettings_SiteRole) String() string {
    65  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
    66  }
    67  
    68  func (UserSettings_SiteRole) Descriptor() protoreflect.EnumDescriptor {
    69  	return file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_user_objects_proto_enumTypes[0].Descriptor()
    70  }
    71  
    72  func (UserSettings_SiteRole) Type() protoreflect.EnumType {
    73  	return &file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_user_objects_proto_enumTypes[0]
    74  }
    75  
    76  func (x UserSettings_SiteRole) Number() protoreflect.EnumNumber {
    77  	return protoreflect.EnumNumber(x)
    78  }
    79  
    80  // Deprecated: Use UserSettings_SiteRole.Descriptor instead.
    81  func (UserSettings_SiteRole) EnumDescriptor() ([]byte, []int) {
    82  	return file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_user_objects_proto_rawDescGZIP(), []int{1, 0}
    83  }
    84  
    85  // Trait options for notifications the user receives.
    86  // Next available tag: 6;
    87  type UserSettings_NotificationTraits int32
    88  
    89  const (
    90  	// Default value. This value is unused.
    91  	UserSettings_NOTIFICATION_TRAITS_UNSPECIFIED UserSettings_NotificationTraits = 0
    92  	// Send change notifications for issues where user is owner or cc.
    93  	UserSettings_NOTIFY_ON_OWNED_OR_CC_ISSUE_CHANGES UserSettings_NotificationTraits = 1
    94  	// Send change notifications for issues the user has starred.
    95  	UserSettings_NOTIFY_ON_STARRED_ISSUE_CHANGES UserSettings_NotificationTraits = 2
    96  	// Send date-type field notifications for issues the user has starred.
    97  	// See monorail/doc/userguide/email.md#why-did-i-get-a-follow_up-email-notification.
    98  	UserSettings_NOTIFY_ON_STARRED_NOTIFY_DATES UserSettings_NotificationTraits = 3
    99  	// Email subject lines should be compact.
   100  	UserSettings_COMPACT_SUBJECT_LINE UserSettings_NotificationTraits = 4
   101  	// Include a button link to the issue, in Gmail.
   102  	UserSettings_GMAIL_INCLUDE_ISSUE_LINK_BUTTON UserSettings_NotificationTraits = 5
   103  )
   104  
   105  // Enum value maps for UserSettings_NotificationTraits.
   106  var (
   107  	UserSettings_NotificationTraits_name = map[int32]string{
   108  		0: "NOTIFICATION_TRAITS_UNSPECIFIED",
   109  		1: "NOTIFY_ON_OWNED_OR_CC_ISSUE_CHANGES",
   110  		2: "NOTIFY_ON_STARRED_ISSUE_CHANGES",
   111  		3: "NOTIFY_ON_STARRED_NOTIFY_DATES",
   112  		4: "COMPACT_SUBJECT_LINE",
   113  		5: "GMAIL_INCLUDE_ISSUE_LINK_BUTTON",
   114  	}
   115  	UserSettings_NotificationTraits_value = map[string]int32{
   116  		"NOTIFICATION_TRAITS_UNSPECIFIED":     0,
   117  		"NOTIFY_ON_OWNED_OR_CC_ISSUE_CHANGES": 1,
   118  		"NOTIFY_ON_STARRED_ISSUE_CHANGES":     2,
   119  		"NOTIFY_ON_STARRED_NOTIFY_DATES":      3,
   120  		"COMPACT_SUBJECT_LINE":                4,
   121  		"GMAIL_INCLUDE_ISSUE_LINK_BUTTON":     5,
   122  	}
   123  )
   124  
   125  func (x UserSettings_NotificationTraits) Enum() *UserSettings_NotificationTraits {
   126  	p := new(UserSettings_NotificationTraits)
   127  	*p = x
   128  	return p
   129  }
   130  
   131  func (x UserSettings_NotificationTraits) String() string {
   132  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
   133  }
   134  
   135  func (UserSettings_NotificationTraits) Descriptor() protoreflect.EnumDescriptor {
   136  	return file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_user_objects_proto_enumTypes[1].Descriptor()
   137  }
   138  
   139  func (UserSettings_NotificationTraits) Type() protoreflect.EnumType {
   140  	return &file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_user_objects_proto_enumTypes[1]
   141  }
   142  
   143  func (x UserSettings_NotificationTraits) Number() protoreflect.EnumNumber {
   144  	return protoreflect.EnumNumber(x)
   145  }
   146  
   147  // Deprecated: Use UserSettings_NotificationTraits.Descriptor instead.
   148  func (UserSettings_NotificationTraits) EnumDescriptor() ([]byte, []int) {
   149  	return file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_user_objects_proto_rawDescGZIP(), []int{1, 1}
   150  }
   151  
   152  // Privacy trait options for the user.
   153  // Next available tag: 2
   154  type UserSettings_PrivacyTraits int32
   155  
   156  const (
   157  	// Default value. This value is unused.
   158  	UserSettings_PRIVACY_TRAITS_UNSPECIFIED UserSettings_PrivacyTraits = 0
   159  	// Obscure the user's email from non-project members throughout the site.
   160  	UserSettings_OBSCURE_EMAIL UserSettings_PrivacyTraits = 1
   161  )
   162  
   163  // Enum value maps for UserSettings_PrivacyTraits.
   164  var (
   165  	UserSettings_PrivacyTraits_name = map[int32]string{
   166  		0: "PRIVACY_TRAITS_UNSPECIFIED",
   167  		1: "OBSCURE_EMAIL",
   168  	}
   169  	UserSettings_PrivacyTraits_value = map[string]int32{
   170  		"PRIVACY_TRAITS_UNSPECIFIED": 0,
   171  		"OBSCURE_EMAIL":              1,
   172  	}
   173  )
   174  
   175  func (x UserSettings_PrivacyTraits) Enum() *UserSettings_PrivacyTraits {
   176  	p := new(UserSettings_PrivacyTraits)
   177  	*p = x
   178  	return p
   179  }
   180  
   181  func (x UserSettings_PrivacyTraits) String() string {
   182  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
   183  }
   184  
   185  func (UserSettings_PrivacyTraits) Descriptor() protoreflect.EnumDescriptor {
   186  	return file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_user_objects_proto_enumTypes[2].Descriptor()
   187  }
   188  
   189  func (UserSettings_PrivacyTraits) Type() protoreflect.EnumType {
   190  	return &file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_user_objects_proto_enumTypes[2]
   191  }
   192  
   193  func (x UserSettings_PrivacyTraits) Number() protoreflect.EnumNumber {
   194  	return protoreflect.EnumNumber(x)
   195  }
   196  
   197  // Deprecated: Use UserSettings_PrivacyTraits.Descriptor instead.
   198  func (UserSettings_PrivacyTraits) EnumDescriptor() ([]byte, []int) {
   199  	return file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_user_objects_proto_rawDescGZIP(), []int{1, 2}
   200  }
   201  
   202  // Site interaction trait options for the user.
   203  // Next available tag: 3
   204  type UserSettings_SiteInteractionTraits int32
   205  
   206  const (
   207  	// Default value. This value is unused.
   208  	UserSettings_SITE_INTERACTION_TRAITS_UNSPECIFIED UserSettings_SiteInteractionTraits = 0
   209  	// Add 'Restrict-View-Google' labels to new issues the user reports.
   210  	// Issues will only be visible to the user (issue reporter)
   211  	// and users with the `Google` permission.
   212  	UserSettings_REPORT_RESTRICT_VIEW_GOOGLE_ISSUES UserSettings_SiteInteractionTraits = 1
   213  	// When viewing public issues, show a banner to remind the user not
   214  	// to post sensitive information.
   215  	UserSettings_PUBLIC_ISSUE_BANNER UserSettings_SiteInteractionTraits = 2
   216  )
   217  
   218  // Enum value maps for UserSettings_SiteInteractionTraits.
   219  var (
   220  	UserSettings_SiteInteractionTraits_name = map[int32]string{
   221  		0: "SITE_INTERACTION_TRAITS_UNSPECIFIED",
   222  		1: "REPORT_RESTRICT_VIEW_GOOGLE_ISSUES",
   223  		2: "PUBLIC_ISSUE_BANNER",
   224  	}
   225  	UserSettings_SiteInteractionTraits_value = map[string]int32{
   226  		"SITE_INTERACTION_TRAITS_UNSPECIFIED": 0,
   227  		"REPORT_RESTRICT_VIEW_GOOGLE_ISSUES":  1,
   228  		"PUBLIC_ISSUE_BANNER":                 2,
   229  	}
   230  )
   231  
   232  func (x UserSettings_SiteInteractionTraits) Enum() *UserSettings_SiteInteractionTraits {
   233  	p := new(UserSettings_SiteInteractionTraits)
   234  	*p = x
   235  	return p
   236  }
   237  
   238  func (x UserSettings_SiteInteractionTraits) String() string {
   239  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
   240  }
   241  
   242  func (UserSettings_SiteInteractionTraits) Descriptor() protoreflect.EnumDescriptor {
   243  	return file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_user_objects_proto_enumTypes[3].Descriptor()
   244  }
   245  
   246  func (UserSettings_SiteInteractionTraits) Type() protoreflect.EnumType {
   247  	return &file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_user_objects_proto_enumTypes[3]
   248  }
   249  
   250  func (x UserSettings_SiteInteractionTraits) Number() protoreflect.EnumNumber {
   251  	return protoreflect.EnumNumber(x)
   252  }
   253  
   254  // Deprecated: Use UserSettings_SiteInteractionTraits.Descriptor instead.
   255  func (UserSettings_SiteInteractionTraits) EnumDescriptor() ([]byte, []int) {
   256  	return file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_user_objects_proto_rawDescGZIP(), []int{1, 3}
   257  }
   258  
   259  // Potential status of a user's access to the site.
   260  // Next available tag: 3
   261  type UserSettings_SiteAccess_Status int32
   262  
   263  const (
   264  	// Default value. This value is unused.
   265  	UserSettings_SiteAccess_STATUS_UNSPECIFIED UserSettings_SiteAccess_Status = 0
   266  	// The user has access to the site.
   267  	UserSettings_SiteAccess_FULL_ACCESS UserSettings_SiteAccess_Status = 1
   268  	// The user is banned from the site.
   269  	UserSettings_SiteAccess_BANNED UserSettings_SiteAccess_Status = 2
   270  )
   271  
   272  // Enum value maps for UserSettings_SiteAccess_Status.
   273  var (
   274  	UserSettings_SiteAccess_Status_name = map[int32]string{
   275  		0: "STATUS_UNSPECIFIED",
   276  		1: "FULL_ACCESS",
   277  		2: "BANNED",
   278  	}
   279  	UserSettings_SiteAccess_Status_value = map[string]int32{
   280  		"STATUS_UNSPECIFIED": 0,
   281  		"FULL_ACCESS":        1,
   282  		"BANNED":             2,
   283  	}
   284  )
   285  
   286  func (x UserSettings_SiteAccess_Status) Enum() *UserSettings_SiteAccess_Status {
   287  	p := new(UserSettings_SiteAccess_Status)
   288  	*p = x
   289  	return p
   290  }
   291  
   292  func (x UserSettings_SiteAccess_Status) String() string {
   293  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
   294  }
   295  
   296  func (UserSettings_SiteAccess_Status) Descriptor() protoreflect.EnumDescriptor {
   297  	return file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_user_objects_proto_enumTypes[4].Descriptor()
   298  }
   299  
   300  func (UserSettings_SiteAccess_Status) Type() protoreflect.EnumType {
   301  	return &file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_user_objects_proto_enumTypes[4]
   302  }
   303  
   304  func (x UserSettings_SiteAccess_Status) Number() protoreflect.EnumNumber {
   305  	return protoreflect.EnumNumber(x)
   306  }
   307  
   308  // Deprecated: Use UserSettings_SiteAccess_Status.Descriptor instead.
   309  func (UserSettings_SiteAccess_Status) EnumDescriptor() ([]byte, []int) {
   310  	return file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_user_objects_proto_rawDescGZIP(), []int{1, 0, 0}
   311  }
   312  
   313  // Subscription mode of this saved query
   314  // Next available tag: 3
   315  type UserSavedQuery_SubscriptionMode int32
   316  
   317  const (
   318  	// Default API value. This value is unused.
   319  	UserSavedQuery_SUBSCRIPTION_MODE_UNSPECIFIED UserSavedQuery_SubscriptionMode = 0
   320  	// Do not subscribe to notifications.
   321  	UserSavedQuery_NO_NOTIFICATION UserSavedQuery_SubscriptionMode = 1
   322  	// Subscribe to notifications.
   323  	UserSavedQuery_IMMEDIATE_NOTIFICATION UserSavedQuery_SubscriptionMode = 2
   324  )
   325  
   326  // Enum value maps for UserSavedQuery_SubscriptionMode.
   327  var (
   328  	UserSavedQuery_SubscriptionMode_name = map[int32]string{
   329  		0: "SUBSCRIPTION_MODE_UNSPECIFIED",
   330  		1: "NO_NOTIFICATION",
   331  		2: "IMMEDIATE_NOTIFICATION",
   332  	}
   333  	UserSavedQuery_SubscriptionMode_value = map[string]int32{
   334  		"SUBSCRIPTION_MODE_UNSPECIFIED": 0,
   335  		"NO_NOTIFICATION":               1,
   336  		"IMMEDIATE_NOTIFICATION":        2,
   337  	}
   338  )
   339  
   340  func (x UserSavedQuery_SubscriptionMode) Enum() *UserSavedQuery_SubscriptionMode {
   341  	p := new(UserSavedQuery_SubscriptionMode)
   342  	*p = x
   343  	return p
   344  }
   345  
   346  func (x UserSavedQuery_SubscriptionMode) String() string {
   347  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
   348  }
   349  
   350  func (UserSavedQuery_SubscriptionMode) Descriptor() protoreflect.EnumDescriptor {
   351  	return file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_user_objects_proto_enumTypes[5].Descriptor()
   352  }
   353  
   354  func (UserSavedQuery_SubscriptionMode) Type() protoreflect.EnumType {
   355  	return &file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_user_objects_proto_enumTypes[5]
   356  }
   357  
   358  func (x UserSavedQuery_SubscriptionMode) Number() protoreflect.EnumNumber {
   359  	return protoreflect.EnumNumber(x)
   360  }
   361  
   362  // Deprecated: Use UserSavedQuery_SubscriptionMode.Descriptor instead.
   363  func (UserSavedQuery_SubscriptionMode) EnumDescriptor() ([]byte, []int) {
   364  	return file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_user_objects_proto_rawDescGZIP(), []int{2, 0}
   365  }
   366  
   367  // User represents a user of the Monorail site.
   368  // Next available tag: 5
   369  type User struct {
   370  	state         protoimpl.MessageState
   371  	sizeCache     protoimpl.SizeCache
   372  	unknownFields protoimpl.UnknownFields
   373  
   374  	// Resource name of the user.
   375  	// The API will always return User names with format: users/<user_id>.
   376  	// However the API will accept User names with formats: users/<user_id> or users/<email>.
   377  	// To fetch the display_name for any users/<user_id> returned by the API,
   378  	// you can call {Batch}GetUser{s}.
   379  	// We represent deleted users within Monorail with `users/1` or `users/2103649657`.
   380  	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
   381  	// User display_name to show other users using the site.
   382  	// By default this is the obscured or un-obscured email.
   383  	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
   384  	// Obscured or un-obscured user email or empty if this represents
   385  	// a deleted user.
   386  	Email string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"`
   387  	// User-written indication of their availability or working hours.
   388  	AvailabilityMessage string `protobuf:"bytes,3,opt,name=availability_message,json=availabilityMessage,proto3" json:"availability_message,omitempty"`
   389  	// Timestamp of the user's last visit
   390  	LastVisitTimestamp int32 `protobuf:"varint,5,opt,name=last_visit_timestamp,json=lastVisitTimestamp,proto3" json:"last_visit_timestamp,omitempty"`
   391  }
   392  
   393  func (x *User) Reset() {
   394  	*x = User{}
   395  	if protoimpl.UnsafeEnabled {
   396  		mi := &file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_user_objects_proto_msgTypes[0]
   397  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   398  		ms.StoreMessageInfo(mi)
   399  	}
   400  }
   401  
   402  func (x *User) String() string {
   403  	return protoimpl.X.MessageStringOf(x)
   404  }
   405  
   406  func (*User) ProtoMessage() {}
   407  
   408  func (x *User) ProtoReflect() protoreflect.Message {
   409  	mi := &file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_user_objects_proto_msgTypes[0]
   410  	if protoimpl.UnsafeEnabled && x != nil {
   411  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   412  		if ms.LoadMessageInfo() == nil {
   413  			ms.StoreMessageInfo(mi)
   414  		}
   415  		return ms
   416  	}
   417  	return mi.MessageOf(x)
   418  }
   419  
   420  // Deprecated: Use User.ProtoReflect.Descriptor instead.
   421  func (*User) Descriptor() ([]byte, []int) {
   422  	return file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_user_objects_proto_rawDescGZIP(), []int{0}
   423  }
   424  
   425  func (x *User) GetName() string {
   426  	if x != nil {
   427  		return x.Name
   428  	}
   429  	return ""
   430  }
   431  
   432  func (x *User) GetDisplayName() string {
   433  	if x != nil {
   434  		return x.DisplayName
   435  	}
   436  	return ""
   437  }
   438  
   439  func (x *User) GetEmail() string {
   440  	if x != nil {
   441  		return x.Email
   442  	}
   443  	return ""
   444  }
   445  
   446  func (x *User) GetAvailabilityMessage() string {
   447  	if x != nil {
   448  		return x.AvailabilityMessage
   449  	}
   450  	return ""
   451  }
   452  
   453  func (x *User) GetLastVisitTimestamp() int32 {
   454  	if x != nil {
   455  		return x.LastVisitTimestamp
   456  	}
   457  	return 0
   458  }
   459  
   460  // UserSettings represents preferences and account settings of a User.
   461  // Next available tag: 8
   462  type UserSettings struct {
   463  	state         protoimpl.MessageState
   464  	sizeCache     protoimpl.SizeCache
   465  	unknownFields protoimpl.UnknownFields
   466  
   467  	// Resource name of the user that has these settings.
   468  	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
   469  	// The global site role for the user.
   470  	SiteRole UserSettings_SiteRole `protobuf:"varint,2,opt,name=site_role,json=siteRole,proto3,enum=monorail.v3.UserSettings_SiteRole" json:"site_role,omitempty"`
   471  	// Resource name of linked secondary users.
   472  	LinkedSecondaryUsers []string `protobuf:"bytes,3,rep,name=linked_secondary_users,json=linkedSecondaryUsers,proto3" json:"linked_secondary_users,omitempty"`
   473  	// The user's access to the site.
   474  	SiteAccess *UserSettings_SiteAccess `protobuf:"bytes,4,opt,name=site_access,json=siteAccess,proto3" json:"site_access,omitempty"`
   475  	// Notification trait preferences of the user.
   476  	NotificationTraits []UserSettings_NotificationTraits `protobuf:"varint,5,rep,packed,name=notification_traits,json=notificationTraits,proto3,enum=monorail.v3.UserSettings_NotificationTraits" json:"notification_traits,omitempty"`
   477  	// Privacy trait preferences of the user.
   478  	PrivacyTraits []UserSettings_PrivacyTraits `protobuf:"varint,6,rep,packed,name=privacy_traits,json=privacyTraits,proto3,enum=monorail.v3.UserSettings_PrivacyTraits" json:"privacy_traits,omitempty"`
   479  	// Site interaction trait preferences of the user.
   480  	SiteInteractionTraits []UserSettings_SiteInteractionTraits `protobuf:"varint,7,rep,packed,name=site_interaction_traits,json=siteInteractionTraits,proto3,enum=monorail.v3.UserSettings_SiteInteractionTraits" json:"site_interaction_traits,omitempty"`
   481  }
   482  
   483  func (x *UserSettings) Reset() {
   484  	*x = UserSettings{}
   485  	if protoimpl.UnsafeEnabled {
   486  		mi := &file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_user_objects_proto_msgTypes[1]
   487  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   488  		ms.StoreMessageInfo(mi)
   489  	}
   490  }
   491  
   492  func (x *UserSettings) String() string {
   493  	return protoimpl.X.MessageStringOf(x)
   494  }
   495  
   496  func (*UserSettings) ProtoMessage() {}
   497  
   498  func (x *UserSettings) ProtoReflect() protoreflect.Message {
   499  	mi := &file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_user_objects_proto_msgTypes[1]
   500  	if protoimpl.UnsafeEnabled && x != nil {
   501  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   502  		if ms.LoadMessageInfo() == nil {
   503  			ms.StoreMessageInfo(mi)
   504  		}
   505  		return ms
   506  	}
   507  	return mi.MessageOf(x)
   508  }
   509  
   510  // Deprecated: Use UserSettings.ProtoReflect.Descriptor instead.
   511  func (*UserSettings) Descriptor() ([]byte, []int) {
   512  	return file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_user_objects_proto_rawDescGZIP(), []int{1}
   513  }
   514  
   515  func (x *UserSettings) GetName() string {
   516  	if x != nil {
   517  		return x.Name
   518  	}
   519  	return ""
   520  }
   521  
   522  func (x *UserSettings) GetSiteRole() UserSettings_SiteRole {
   523  	if x != nil {
   524  		return x.SiteRole
   525  	}
   526  	return UserSettings_SITE_ROLE_UNSPECIFIED
   527  }
   528  
   529  func (x *UserSettings) GetLinkedSecondaryUsers() []string {
   530  	if x != nil {
   531  		return x.LinkedSecondaryUsers
   532  	}
   533  	return nil
   534  }
   535  
   536  func (x *UserSettings) GetSiteAccess() *UserSettings_SiteAccess {
   537  	if x != nil {
   538  		return x.SiteAccess
   539  	}
   540  	return nil
   541  }
   542  
   543  func (x *UserSettings) GetNotificationTraits() []UserSettings_NotificationTraits {
   544  	if x != nil {
   545  		return x.NotificationTraits
   546  	}
   547  	return nil
   548  }
   549  
   550  func (x *UserSettings) GetPrivacyTraits() []UserSettings_PrivacyTraits {
   551  	if x != nil {
   552  		return x.PrivacyTraits
   553  	}
   554  	return nil
   555  }
   556  
   557  func (x *UserSettings) GetSiteInteractionTraits() []UserSettings_SiteInteractionTraits {
   558  	if x != nil {
   559  		return x.SiteInteractionTraits
   560  	}
   561  	return nil
   562  }
   563  
   564  // Defines saved queries that belong to a user.
   565  //
   566  // Next available tag: 6
   567  type UserSavedQuery struct {
   568  	state         protoimpl.MessageState
   569  	sizeCache     protoimpl.SizeCache
   570  	unknownFields protoimpl.UnknownFields
   571  
   572  	// Resource name of this saved query.
   573  	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
   574  	// Display name of this saved query, ie 'open issues'.
   575  	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
   576  	// Search term of this saved query.
   577  	Query string `protobuf:"bytes,3,opt,name=query,proto3" json:"query,omitempty"`
   578  	// List of projects this query can be searched in.
   579  	Projects         []string                        `protobuf:"bytes,4,rep,name=projects,proto3" json:"projects,omitempty"`
   580  	SubscriptionMode UserSavedQuery_SubscriptionMode `protobuf:"varint,5,opt,name=subscription_mode,json=subscriptionMode,proto3,enum=monorail.v3.UserSavedQuery_SubscriptionMode" json:"subscription_mode,omitempty"`
   581  }
   582  
   583  func (x *UserSavedQuery) Reset() {
   584  	*x = UserSavedQuery{}
   585  	if protoimpl.UnsafeEnabled {
   586  		mi := &file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_user_objects_proto_msgTypes[2]
   587  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   588  		ms.StoreMessageInfo(mi)
   589  	}
   590  }
   591  
   592  func (x *UserSavedQuery) String() string {
   593  	return protoimpl.X.MessageStringOf(x)
   594  }
   595  
   596  func (*UserSavedQuery) ProtoMessage() {}
   597  
   598  func (x *UserSavedQuery) ProtoReflect() protoreflect.Message {
   599  	mi := &file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_user_objects_proto_msgTypes[2]
   600  	if protoimpl.UnsafeEnabled && x != nil {
   601  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   602  		if ms.LoadMessageInfo() == nil {
   603  			ms.StoreMessageInfo(mi)
   604  		}
   605  		return ms
   606  	}
   607  	return mi.MessageOf(x)
   608  }
   609  
   610  // Deprecated: Use UserSavedQuery.ProtoReflect.Descriptor instead.
   611  func (*UserSavedQuery) Descriptor() ([]byte, []int) {
   612  	return file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_user_objects_proto_rawDescGZIP(), []int{2}
   613  }
   614  
   615  func (x *UserSavedQuery) GetName() string {
   616  	if x != nil {
   617  		return x.Name
   618  	}
   619  	return ""
   620  }
   621  
   622  func (x *UserSavedQuery) GetDisplayName() string {
   623  	if x != nil {
   624  		return x.DisplayName
   625  	}
   626  	return ""
   627  }
   628  
   629  func (x *UserSavedQuery) GetQuery() string {
   630  	if x != nil {
   631  		return x.Query
   632  	}
   633  	return ""
   634  }
   635  
   636  func (x *UserSavedQuery) GetProjects() []string {
   637  	if x != nil {
   638  		return x.Projects
   639  	}
   640  	return nil
   641  }
   642  
   643  func (x *UserSavedQuery) GetSubscriptionMode() UserSavedQuery_SubscriptionMode {
   644  	if x != nil {
   645  		return x.SubscriptionMode
   646  	}
   647  	return UserSavedQuery_SUBSCRIPTION_MODE_UNSPECIFIED
   648  }
   649  
   650  // A project starred by a user.
   651  //
   652  // Next available tag: 2
   653  type ProjectStar struct {
   654  	state         protoimpl.MessageState
   655  	sizeCache     protoimpl.SizeCache
   656  	unknownFields protoimpl.UnknownFields
   657  
   658  	// Resource name of the ProjectStar.
   659  	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
   660  }
   661  
   662  func (x *ProjectStar) Reset() {
   663  	*x = ProjectStar{}
   664  	if protoimpl.UnsafeEnabled {
   665  		mi := &file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_user_objects_proto_msgTypes[3]
   666  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   667  		ms.StoreMessageInfo(mi)
   668  	}
   669  }
   670  
   671  func (x *ProjectStar) String() string {
   672  	return protoimpl.X.MessageStringOf(x)
   673  }
   674  
   675  func (*ProjectStar) ProtoMessage() {}
   676  
   677  func (x *ProjectStar) ProtoReflect() protoreflect.Message {
   678  	mi := &file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_user_objects_proto_msgTypes[3]
   679  	if protoimpl.UnsafeEnabled && x != nil {
   680  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   681  		if ms.LoadMessageInfo() == nil {
   682  			ms.StoreMessageInfo(mi)
   683  		}
   684  		return ms
   685  	}
   686  	return mi.MessageOf(x)
   687  }
   688  
   689  // Deprecated: Use ProjectStar.ProtoReflect.Descriptor instead.
   690  func (*ProjectStar) Descriptor() ([]byte, []int) {
   691  	return file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_user_objects_proto_rawDescGZIP(), []int{3}
   692  }
   693  
   694  func (x *ProjectStar) GetName() string {
   695  	if x != nil {
   696  		return x.Name
   697  	}
   698  	return ""
   699  }
   700  
   701  // The access the user has to the site.
   702  // Next available tag: 3
   703  type UserSettings_SiteAccess struct {
   704  	state         protoimpl.MessageState
   705  	sizeCache     protoimpl.SizeCache
   706  	unknownFields protoimpl.UnknownFields
   707  
   708  	// The status of the user's access to the site.
   709  	Status UserSettings_SiteAccess_Status `protobuf:"varint,1,opt,name=status,proto3,enum=monorail.v3.UserSettings_SiteAccess_Status" json:"status,omitempty"`
   710  	// An explanation for the value of `status`.
   711  	Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
   712  }
   713  
   714  func (x *UserSettings_SiteAccess) Reset() {
   715  	*x = UserSettings_SiteAccess{}
   716  	if protoimpl.UnsafeEnabled {
   717  		mi := &file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_user_objects_proto_msgTypes[4]
   718  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   719  		ms.StoreMessageInfo(mi)
   720  	}
   721  }
   722  
   723  func (x *UserSettings_SiteAccess) String() string {
   724  	return protoimpl.X.MessageStringOf(x)
   725  }
   726  
   727  func (*UserSettings_SiteAccess) ProtoMessage() {}
   728  
   729  func (x *UserSettings_SiteAccess) ProtoReflect() protoreflect.Message {
   730  	mi := &file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_user_objects_proto_msgTypes[4]
   731  	if protoimpl.UnsafeEnabled && x != nil {
   732  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   733  		if ms.LoadMessageInfo() == nil {
   734  			ms.StoreMessageInfo(mi)
   735  		}
   736  		return ms
   737  	}
   738  	return mi.MessageOf(x)
   739  }
   740  
   741  // Deprecated: Use UserSettings_SiteAccess.ProtoReflect.Descriptor instead.
   742  func (*UserSettings_SiteAccess) Descriptor() ([]byte, []int) {
   743  	return file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_user_objects_proto_rawDescGZIP(), []int{1, 0}
   744  }
   745  
   746  func (x *UserSettings_SiteAccess) GetStatus() UserSettings_SiteAccess_Status {
   747  	if x != nil {
   748  		return x.Status
   749  	}
   750  	return UserSettings_SiteAccess_STATUS_UNSPECIFIED
   751  }
   752  
   753  func (x *UserSettings_SiteAccess) GetReason() string {
   754  	if x != nil {
   755  		return x.Reason
   756  	}
   757  	return ""
   758  }
   759  
   760  var File_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_user_objects_proto protoreflect.FileDescriptor
   761  
   762  var file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_user_objects_proto_rawDesc = []byte{
   763  	0x0a, 0x51, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72,
   764  	0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x2f,
   765  	0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x62, 0x75, 0x67, 0x73, 0x2f, 0x6d, 0x6f,
   766  	0x6e, 0x6f, 0x72, 0x61, 0x69, 0x6c, 0x2f, 0x61, 0x70, 0x69, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   767  	0x2f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2e, 0x70, 0x72,
   768  	0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x6d, 0x6f, 0x6e, 0x6f, 0x72, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x33,
   769  	0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73,
   770  	0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f,
   771  	0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65,
   772  	0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe7, 0x01, 0x0a,
   773  	0x04, 0x55, 0x73, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
   774  	0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73,
   775  	0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
   776  	0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x05,
   777  	0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03,
   778  	0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x31, 0x0a, 0x14, 0x61, 0x76, 0x61, 0x69, 0x6c,
   779  	0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18,
   780  	0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x69, 0x6c,
   781  	0x69, 0x74, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x6c, 0x61,
   782  	0x73, 0x74, 0x5f, 0x76, 0x69, 0x73, 0x69, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,
   783  	0x6d, 0x70, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x12, 0x6c, 0x61, 0x73, 0x74, 0x56, 0x69,
   784  	0x73, 0x69, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x3a, 0x28, 0xea, 0x41,
   785  	0x25, 0x0a, 0x12, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x72, 0x62, 0x75, 0x67, 0x2e, 0x63, 0x6f, 0x6d,
   786  	0x2f, 0x55, 0x73, 0x65, 0x72, 0x12, 0x0f, 0x75, 0x73, 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x75, 0x73,
   787  	0x65, 0x72, 0x5f, 0x69, 0x64, 0x7d, 0x22, 0x96, 0x0a, 0x0a, 0x0c, 0x55, 0x73, 0x65, 0x72, 0x53,
   788  	0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x33, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
   789  	0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x1f, 0xfa, 0x41, 0x1c, 0x0a, 0x1a, 0x61, 0x70, 0x69, 0x2e,
   790  	0x63, 0x72, 0x62, 0x75, 0x67, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x55, 0x73, 0x65, 0x72, 0x53, 0x65,
   791  	0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x44, 0x0a, 0x09,
   792  	0x73, 0x69, 0x74, 0x65, 0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32,
   793  	0x22, 0x2e, 0x6d, 0x6f, 0x6e, 0x6f, 0x72, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x33, 0x2e, 0x55, 0x73,
   794  	0x65, 0x72, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x53, 0x69, 0x74, 0x65, 0x52,
   795  	0x6f, 0x6c, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x08, 0x73, 0x69, 0x74, 0x65, 0x52, 0x6f,
   796  	0x6c, 0x65, 0x12, 0x50, 0x0a, 0x16, 0x6c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x5f, 0x73, 0x65, 0x63,
   797  	0x6f, 0x6e, 0x64, 0x61, 0x72, 0x79, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03,
   798  	0x28, 0x09, 0x42, 0x1a, 0xe0, 0x41, 0x03, 0xfa, 0x41, 0x14, 0x0a, 0x12, 0x61, 0x70, 0x69, 0x2e,
   799  	0x63, 0x72, 0x62, 0x75, 0x67, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x55, 0x73, 0x65, 0x72, 0x52, 0x14,
   800  	0x6c, 0x69, 0x6e, 0x6b, 0x65, 0x64, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x61, 0x72, 0x79, 0x55,
   801  	0x73, 0x65, 0x72, 0x73, 0x12, 0x4a, 0x0a, 0x0b, 0x73, 0x69, 0x74, 0x65, 0x5f, 0x61, 0x63, 0x63,
   802  	0x65, 0x73, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6d, 0x6f, 0x6e, 0x6f,
   803  	0x72, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x33, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x53, 0x65, 0x74, 0x74,
   804  	0x69, 0x6e, 0x67, 0x73, 0x2e, 0x53, 0x69, 0x74, 0x65, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x42,
   805  	0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x73, 0x69, 0x74, 0x65, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73,
   806  	0x12, 0x5d, 0x0a, 0x13, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
   807  	0x5f, 0x74, 0x72, 0x61, 0x69, 0x74, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x2c, 0x2e,
   808  	0x6d, 0x6f, 0x6e, 0x6f, 0x72, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x33, 0x2e, 0x55, 0x73, 0x65, 0x72,
   809  	0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63,
   810  	0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x72, 0x61, 0x69, 0x74, 0x73, 0x52, 0x12, 0x6e, 0x6f, 0x74,
   811  	0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x72, 0x61, 0x69, 0x74, 0x73, 0x12,
   812  	0x4e, 0x0a, 0x0e, 0x70, 0x72, 0x69, 0x76, 0x61, 0x63, 0x79, 0x5f, 0x74, 0x72, 0x61, 0x69, 0x74,
   813  	0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x6d, 0x6f, 0x6e, 0x6f, 0x72, 0x61,
   814  	0x69, 0x6c, 0x2e, 0x76, 0x33, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e,
   815  	0x67, 0x73, 0x2e, 0x50, 0x72, 0x69, 0x76, 0x61, 0x63, 0x79, 0x54, 0x72, 0x61, 0x69, 0x74, 0x73,
   816  	0x52, 0x0d, 0x70, 0x72, 0x69, 0x76, 0x61, 0x63, 0x79, 0x54, 0x72, 0x61, 0x69, 0x74, 0x73, 0x12,
   817  	0x67, 0x0a, 0x17, 0x73, 0x69, 0x74, 0x65, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74,
   818  	0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x72, 0x61, 0x69, 0x74, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0e,
   819  	0x32, 0x2f, 0x2e, 0x6d, 0x6f, 0x6e, 0x6f, 0x72, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x33, 0x2e, 0x55,
   820  	0x73, 0x65, 0x72, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x53, 0x69, 0x74, 0x65,
   821  	0x49, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x72, 0x61, 0x69, 0x74,
   822  	0x73, 0x52, 0x15, 0x73, 0x69, 0x74, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x61, 0x63, 0x74, 0x69,
   823  	0x6f, 0x6e, 0x54, 0x72, 0x61, 0x69, 0x74, 0x73, 0x1a, 0xa8, 0x01, 0x0a, 0x0a, 0x53, 0x69, 0x74,
   824  	0x65, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x43, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75,
   825  	0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x6d, 0x6f, 0x6e, 0x6f, 0x72, 0x61,
   826  	0x69, 0x6c, 0x2e, 0x76, 0x33, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e,
   827  	0x67, 0x73, 0x2e, 0x53, 0x69, 0x74, 0x65, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x2e, 0x53, 0x74,
   828  	0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x16, 0x0a, 0x06,
   829  	0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65,
   830  	0x61, 0x73, 0x6f, 0x6e, 0x22, 0x3d, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x16,
   831  	0x0a, 0x12, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49,
   832  	0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x46, 0x55, 0x4c, 0x4c, 0x5f, 0x41,
   833  	0x43, 0x43, 0x45, 0x53, 0x53, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x42, 0x41, 0x4e, 0x4e, 0x45,
   834  	0x44, 0x10, 0x02, 0x22, 0x3c, 0x0a, 0x08, 0x53, 0x69, 0x74, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x12,
   835  	0x19, 0x0a, 0x15, 0x53, 0x49, 0x54, 0x45, 0x5f, 0x52, 0x4f, 0x4c, 0x45, 0x5f, 0x55, 0x4e, 0x53,
   836  	0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x4e, 0x4f,
   837  	0x52, 0x4d, 0x41, 0x4c, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x44, 0x4d, 0x49, 0x4e, 0x10,
   838  	0x02, 0x22, 0xea, 0x01, 0x0a, 0x12, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69,
   839  	0x6f, 0x6e, 0x54, 0x72, 0x61, 0x69, 0x74, 0x73, 0x12, 0x23, 0x0a, 0x1f, 0x4e, 0x4f, 0x54, 0x49,
   840  	0x46, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x52, 0x41, 0x49, 0x54, 0x53, 0x5f,
   841  	0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x27, 0x0a,
   842  	0x23, 0x4e, 0x4f, 0x54, 0x49, 0x46, 0x59, 0x5f, 0x4f, 0x4e, 0x5f, 0x4f, 0x57, 0x4e, 0x45, 0x44,
   843  	0x5f, 0x4f, 0x52, 0x5f, 0x43, 0x43, 0x5f, 0x49, 0x53, 0x53, 0x55, 0x45, 0x5f, 0x43, 0x48, 0x41,
   844  	0x4e, 0x47, 0x45, 0x53, 0x10, 0x01, 0x12, 0x23, 0x0a, 0x1f, 0x4e, 0x4f, 0x54, 0x49, 0x46, 0x59,
   845  	0x5f, 0x4f, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x52, 0x52, 0x45, 0x44, 0x5f, 0x49, 0x53, 0x53, 0x55,
   846  	0x45, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x53, 0x10, 0x02, 0x12, 0x22, 0x0a, 0x1e, 0x4e,
   847  	0x4f, 0x54, 0x49, 0x46, 0x59, 0x5f, 0x4f, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x52, 0x52, 0x45, 0x44,
   848  	0x5f, 0x4e, 0x4f, 0x54, 0x49, 0x46, 0x59, 0x5f, 0x44, 0x41, 0x54, 0x45, 0x53, 0x10, 0x03, 0x12,
   849  	0x18, 0x0a, 0x14, 0x43, 0x4f, 0x4d, 0x50, 0x41, 0x43, 0x54, 0x5f, 0x53, 0x55, 0x42, 0x4a, 0x45,
   850  	0x43, 0x54, 0x5f, 0x4c, 0x49, 0x4e, 0x45, 0x10, 0x04, 0x12, 0x23, 0x0a, 0x1f, 0x47, 0x4d, 0x41,
   851  	0x49, 0x4c, 0x5f, 0x49, 0x4e, 0x43, 0x4c, 0x55, 0x44, 0x45, 0x5f, 0x49, 0x53, 0x53, 0x55, 0x45,
   852  	0x5f, 0x4c, 0x49, 0x4e, 0x4b, 0x5f, 0x42, 0x55, 0x54, 0x54, 0x4f, 0x4e, 0x10, 0x05, 0x22, 0x42,
   853  	0x0a, 0x0d, 0x50, 0x72, 0x69, 0x76, 0x61, 0x63, 0x79, 0x54, 0x72, 0x61, 0x69, 0x74, 0x73, 0x12,
   854  	0x1e, 0x0a, 0x1a, 0x50, 0x52, 0x49, 0x56, 0x41, 0x43, 0x59, 0x5f, 0x54, 0x52, 0x41, 0x49, 0x54,
   855  	0x53, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12,
   856  	0x11, 0x0a, 0x0d, 0x4f, 0x42, 0x53, 0x43, 0x55, 0x52, 0x45, 0x5f, 0x45, 0x4d, 0x41, 0x49, 0x4c,
   857  	0x10, 0x01, 0x22, 0x81, 0x01, 0x0a, 0x15, 0x53, 0x69, 0x74, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x72,
   858  	0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x72, 0x61, 0x69, 0x74, 0x73, 0x12, 0x27, 0x0a, 0x23,
   859  	0x53, 0x49, 0x54, 0x45, 0x5f, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e,
   860  	0x5f, 0x54, 0x52, 0x41, 0x49, 0x54, 0x53, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46,
   861  	0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x26, 0x0a, 0x22, 0x52, 0x45, 0x50, 0x4f, 0x52, 0x54, 0x5f,
   862  	0x52, 0x45, 0x53, 0x54, 0x52, 0x49, 0x43, 0x54, 0x5f, 0x56, 0x49, 0x45, 0x57, 0x5f, 0x47, 0x4f,
   863  	0x4f, 0x47, 0x4c, 0x45, 0x5f, 0x49, 0x53, 0x53, 0x55, 0x45, 0x53, 0x10, 0x01, 0x12, 0x17, 0x0a,
   864  	0x13, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x43, 0x5f, 0x49, 0x53, 0x53, 0x55, 0x45, 0x5f, 0x42, 0x41,
   865  	0x4e, 0x4e, 0x45, 0x52, 0x10, 0x02, 0x3a, 0x37, 0xea, 0x41, 0x34, 0x0a, 0x1a, 0x61, 0x70, 0x69,
   866  	0x2e, 0x63, 0x72, 0x62, 0x75, 0x67, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x55, 0x73, 0x65, 0x72, 0x53,
   867  	0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x16, 0x75, 0x73, 0x65, 0x72, 0x73, 0x65, 0x74,
   868  	0x74, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x7b, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x7d, 0x22,
   869  	0xaa, 0x03, 0x0a, 0x0e, 0x55, 0x73, 0x65, 0x72, 0x53, 0x61, 0x76, 0x65, 0x64, 0x51, 0x75, 0x65,
   870  	0x72, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
   871  	0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61,
   872  	0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69,
   873  	0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x71, 0x75, 0x65,
   874  	0x72, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x12,
   875  	0x36, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28,
   876  	0x09, 0x42, 0x1a, 0xfa, 0x41, 0x17, 0x0a, 0x15, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x72, 0x62, 0x75,
   877  	0x67, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x08, 0x70,
   878  	0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x12, 0x59, 0x0a, 0x11, 0x73, 0x75, 0x62, 0x73, 0x63,
   879  	0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01,
   880  	0x28, 0x0e, 0x32, 0x2c, 0x2e, 0x6d, 0x6f, 0x6e, 0x6f, 0x72, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x33,
   881  	0x2e, 0x55, 0x73, 0x65, 0x72, 0x53, 0x61, 0x76, 0x65, 0x64, 0x51, 0x75, 0x65, 0x72, 0x79, 0x2e,
   882  	0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65,
   883  	0x52, 0x10, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f,
   884  	0x64, 0x65, 0x22, 0x66, 0x0a, 0x10, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69,
   885  	0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x21, 0x0a, 0x1d, 0x53, 0x55, 0x42, 0x53, 0x43, 0x52,
   886  	0x49, 0x50, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50,
   887  	0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x4e, 0x4f, 0x5f,
   888  	0x4e, 0x4f, 0x54, 0x49, 0x46, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x01, 0x12, 0x1a,
   889  	0x0a, 0x16, 0x49, 0x4d, 0x4d, 0x45, 0x44, 0x49, 0x41, 0x54, 0x45, 0x5f, 0x4e, 0x4f, 0x54, 0x49,
   890  	0x46, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x02, 0x3a, 0x50, 0xea, 0x41, 0x4d, 0x0a,
   891  	0x1c, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x72, 0x62, 0x75, 0x67, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x55,
   892  	0x73, 0x65, 0x72, 0x53, 0x61, 0x76, 0x65, 0x64, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x2d, 0x75,
   893  	0x73, 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x73,
   894  	0x61, 0x76, 0x65, 0x64, 0x51, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x2f, 0x7b, 0x73, 0x61, 0x76,
   895  	0x65, 0x64, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x69, 0x64, 0x7d, 0x22, 0x6e, 0x0a, 0x0b,
   896  	0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x74, 0x61, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6e,
   897  	0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x3a,
   898  	0x4b, 0xea, 0x41, 0x48, 0x0a, 0x19, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x72, 0x62, 0x75, 0x67, 0x2e,
   899  	0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x74, 0x61, 0x72, 0x12,
   900  	0x2b, 0x75, 0x73, 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x7d,
   901  	0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x74, 0x61, 0x72, 0x73, 0x2f, 0x7b, 0x70,
   902  	0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x42, 0x40, 0x5a, 0x3e,
   903  	0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f,
   904  	0x6c, 0x75, 0x63, 0x69, 0x2f, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x2f, 0x69, 0x6e,
   905  	0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x62, 0x75, 0x67, 0x73, 0x2f, 0x6d, 0x6f, 0x6e, 0x6f,
   906  	0x72, 0x61, 0x69, 0x6c, 0x2f, 0x61, 0x70, 0x69, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06,
   907  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   908  }
   909  
   910  var (
   911  	file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_user_objects_proto_rawDescOnce sync.Once
   912  	file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_user_objects_proto_rawDescData = file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_user_objects_proto_rawDesc
   913  )
   914  
   915  func file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_user_objects_proto_rawDescGZIP() []byte {
   916  	file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_user_objects_proto_rawDescOnce.Do(func() {
   917  		file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_user_objects_proto_rawDescData = protoimpl.X.CompressGZIP(file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_user_objects_proto_rawDescData)
   918  	})
   919  	return file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_user_objects_proto_rawDescData
   920  }
   921  
   922  var file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_user_objects_proto_enumTypes = make([]protoimpl.EnumInfo, 6)
   923  var file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_user_objects_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
   924  var file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_user_objects_proto_goTypes = []interface{}{
   925  	(UserSettings_SiteRole)(0),              // 0: monorail.v3.UserSettings.SiteRole
   926  	(UserSettings_NotificationTraits)(0),    // 1: monorail.v3.UserSettings.NotificationTraits
   927  	(UserSettings_PrivacyTraits)(0),         // 2: monorail.v3.UserSettings.PrivacyTraits
   928  	(UserSettings_SiteInteractionTraits)(0), // 3: monorail.v3.UserSettings.SiteInteractionTraits
   929  	(UserSettings_SiteAccess_Status)(0),     // 4: monorail.v3.UserSettings.SiteAccess.Status
   930  	(UserSavedQuery_SubscriptionMode)(0),    // 5: monorail.v3.UserSavedQuery.SubscriptionMode
   931  	(*User)(nil),                            // 6: monorail.v3.User
   932  	(*UserSettings)(nil),                    // 7: monorail.v3.UserSettings
   933  	(*UserSavedQuery)(nil),                  // 8: monorail.v3.UserSavedQuery
   934  	(*ProjectStar)(nil),                     // 9: monorail.v3.ProjectStar
   935  	(*UserSettings_SiteAccess)(nil),         // 10: monorail.v3.UserSettings.SiteAccess
   936  }
   937  var file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_user_objects_proto_depIdxs = []int32{
   938  	0,  // 0: monorail.v3.UserSettings.site_role:type_name -> monorail.v3.UserSettings.SiteRole
   939  	10, // 1: monorail.v3.UserSettings.site_access:type_name -> monorail.v3.UserSettings.SiteAccess
   940  	1,  // 2: monorail.v3.UserSettings.notification_traits:type_name -> monorail.v3.UserSettings.NotificationTraits
   941  	2,  // 3: monorail.v3.UserSettings.privacy_traits:type_name -> monorail.v3.UserSettings.PrivacyTraits
   942  	3,  // 4: monorail.v3.UserSettings.site_interaction_traits:type_name -> monorail.v3.UserSettings.SiteInteractionTraits
   943  	5,  // 5: monorail.v3.UserSavedQuery.subscription_mode:type_name -> monorail.v3.UserSavedQuery.SubscriptionMode
   944  	4,  // 6: monorail.v3.UserSettings.SiteAccess.status:type_name -> monorail.v3.UserSettings.SiteAccess.Status
   945  	7,  // [7:7] is the sub-list for method output_type
   946  	7,  // [7:7] is the sub-list for method input_type
   947  	7,  // [7:7] is the sub-list for extension type_name
   948  	7,  // [7:7] is the sub-list for extension extendee
   949  	0,  // [0:7] is the sub-list for field type_name
   950  }
   951  
   952  func init() {
   953  	file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_user_objects_proto_init()
   954  }
   955  func file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_user_objects_proto_init() {
   956  	if File_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_user_objects_proto != nil {
   957  		return
   958  	}
   959  	if !protoimpl.UnsafeEnabled {
   960  		file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_user_objects_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   961  			switch v := v.(*User); i {
   962  			case 0:
   963  				return &v.state
   964  			case 1:
   965  				return &v.sizeCache
   966  			case 2:
   967  				return &v.unknownFields
   968  			default:
   969  				return nil
   970  			}
   971  		}
   972  		file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_user_objects_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   973  			switch v := v.(*UserSettings); i {
   974  			case 0:
   975  				return &v.state
   976  			case 1:
   977  				return &v.sizeCache
   978  			case 2:
   979  				return &v.unknownFields
   980  			default:
   981  				return nil
   982  			}
   983  		}
   984  		file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_user_objects_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   985  			switch v := v.(*UserSavedQuery); i {
   986  			case 0:
   987  				return &v.state
   988  			case 1:
   989  				return &v.sizeCache
   990  			case 2:
   991  				return &v.unknownFields
   992  			default:
   993  				return nil
   994  			}
   995  		}
   996  		file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_user_objects_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   997  			switch v := v.(*ProjectStar); i {
   998  			case 0:
   999  				return &v.state
  1000  			case 1:
  1001  				return &v.sizeCache
  1002  			case 2:
  1003  				return &v.unknownFields
  1004  			default:
  1005  				return nil
  1006  			}
  1007  		}
  1008  		file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_user_objects_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  1009  			switch v := v.(*UserSettings_SiteAccess); i {
  1010  			case 0:
  1011  				return &v.state
  1012  			case 1:
  1013  				return &v.sizeCache
  1014  			case 2:
  1015  				return &v.unknownFields
  1016  			default:
  1017  				return nil
  1018  			}
  1019  		}
  1020  	}
  1021  	type x struct{}
  1022  	out := protoimpl.TypeBuilder{
  1023  		File: protoimpl.DescBuilder{
  1024  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  1025  			RawDescriptor: file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_user_objects_proto_rawDesc,
  1026  			NumEnums:      6,
  1027  			NumMessages:   5,
  1028  			NumExtensions: 0,
  1029  			NumServices:   0,
  1030  		},
  1031  		GoTypes:           file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_user_objects_proto_goTypes,
  1032  		DependencyIndexes: file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_user_objects_proto_depIdxs,
  1033  		EnumInfos:         file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_user_objects_proto_enumTypes,
  1034  		MessageInfos:      file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_user_objects_proto_msgTypes,
  1035  	}.Build()
  1036  	File_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_user_objects_proto = out.File
  1037  	file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_user_objects_proto_rawDesc = nil
  1038  	file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_user_objects_proto_goTypes = nil
  1039  	file_go_chromium_org_luci_analysis_internal_bugs_monorail_api_proto_user_objects_proto_depIdxs = nil
  1040  }