go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/lucictx/sections.pb.go (about)

     1  // Copyright 2020 The LUCI Authors.
     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.31.0
    18  // 	protoc        v3.21.7
    19  // source: go.chromium.org/luci/lucictx/sections.proto
    20  
    21  package lucictx
    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  // LocalAuth is a struct that may be used with the "local_auth" section of
    38  // LUCI_CONTEXT.
    39  type LocalAuth struct {
    40  	state         protoimpl.MessageState
    41  	sizeCache     protoimpl.SizeCache
    42  	unknownFields protoimpl.UnknownFields
    43  
    44  	// RPCPort and Secret define how to connect to the local auth server.
    45  	RpcPort uint32 `protobuf:"varint,1,opt,name=rpc_port,proto3" json:"rpc_port,omitempty"`
    46  	Secret  []byte `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"`
    47  	// Accounts and DefaultAccountID defines what access tokens are available.
    48  	Accounts         []*LocalAuthAccount `protobuf:"bytes,3,rep,name=accounts,proto3" json:"accounts,omitempty"`
    49  	DefaultAccountId string              `protobuf:"bytes,4,opt,name=default_account_id,proto3" json:"default_account_id,omitempty"`
    50  }
    51  
    52  func (x *LocalAuth) Reset() {
    53  	*x = LocalAuth{}
    54  	if protoimpl.UnsafeEnabled {
    55  		mi := &file_go_chromium_org_luci_lucictx_sections_proto_msgTypes[0]
    56  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    57  		ms.StoreMessageInfo(mi)
    58  	}
    59  }
    60  
    61  func (x *LocalAuth) String() string {
    62  	return protoimpl.X.MessageStringOf(x)
    63  }
    64  
    65  func (*LocalAuth) ProtoMessage() {}
    66  
    67  func (x *LocalAuth) ProtoReflect() protoreflect.Message {
    68  	mi := &file_go_chromium_org_luci_lucictx_sections_proto_msgTypes[0]
    69  	if protoimpl.UnsafeEnabled && x != nil {
    70  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    71  		if ms.LoadMessageInfo() == nil {
    72  			ms.StoreMessageInfo(mi)
    73  		}
    74  		return ms
    75  	}
    76  	return mi.MessageOf(x)
    77  }
    78  
    79  // Deprecated: Use LocalAuth.ProtoReflect.Descriptor instead.
    80  func (*LocalAuth) Descriptor() ([]byte, []int) {
    81  	return file_go_chromium_org_luci_lucictx_sections_proto_rawDescGZIP(), []int{0}
    82  }
    83  
    84  func (x *LocalAuth) GetRpcPort() uint32 {
    85  	if x != nil {
    86  		return x.RpcPort
    87  	}
    88  	return 0
    89  }
    90  
    91  func (x *LocalAuth) GetSecret() []byte {
    92  	if x != nil {
    93  		return x.Secret
    94  	}
    95  	return nil
    96  }
    97  
    98  func (x *LocalAuth) GetAccounts() []*LocalAuthAccount {
    99  	if x != nil {
   100  		return x.Accounts
   101  	}
   102  	return nil
   103  }
   104  
   105  func (x *LocalAuth) GetDefaultAccountId() string {
   106  	if x != nil {
   107  		return x.DefaultAccountId
   108  	}
   109  	return ""
   110  }
   111  
   112  // LocalAuthAccount contains information about a service account available
   113  // through a local auth server.
   114  type LocalAuthAccount struct {
   115  	state         protoimpl.MessageState
   116  	sizeCache     protoimpl.SizeCache
   117  	unknownFields protoimpl.UnknownFields
   118  
   119  	// ID is logical identifier of the account, e.g. "system" or "task".
   120  	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
   121  	// Email is an account email or "-" if not available.
   122  	Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
   123  }
   124  
   125  func (x *LocalAuthAccount) Reset() {
   126  	*x = LocalAuthAccount{}
   127  	if protoimpl.UnsafeEnabled {
   128  		mi := &file_go_chromium_org_luci_lucictx_sections_proto_msgTypes[1]
   129  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   130  		ms.StoreMessageInfo(mi)
   131  	}
   132  }
   133  
   134  func (x *LocalAuthAccount) String() string {
   135  	return protoimpl.X.MessageStringOf(x)
   136  }
   137  
   138  func (*LocalAuthAccount) ProtoMessage() {}
   139  
   140  func (x *LocalAuthAccount) ProtoReflect() protoreflect.Message {
   141  	mi := &file_go_chromium_org_luci_lucictx_sections_proto_msgTypes[1]
   142  	if protoimpl.UnsafeEnabled && x != nil {
   143  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   144  		if ms.LoadMessageInfo() == nil {
   145  			ms.StoreMessageInfo(mi)
   146  		}
   147  		return ms
   148  	}
   149  	return mi.MessageOf(x)
   150  }
   151  
   152  // Deprecated: Use LocalAuthAccount.ProtoReflect.Descriptor instead.
   153  func (*LocalAuthAccount) Descriptor() ([]byte, []int) {
   154  	return file_go_chromium_org_luci_lucictx_sections_proto_rawDescGZIP(), []int{1}
   155  }
   156  
   157  func (x *LocalAuthAccount) GetId() string {
   158  	if x != nil {
   159  		return x.Id
   160  	}
   161  	return ""
   162  }
   163  
   164  func (x *LocalAuthAccount) GetEmail() string {
   165  	if x != nil {
   166  		return x.Email
   167  	}
   168  	return ""
   169  }
   170  
   171  // Swarming is a struct that may be used with the "swarming" section of
   172  // LUCI_CONTEXT.
   173  type Swarming struct {
   174  	state         protoimpl.MessageState
   175  	sizeCache     protoimpl.SizeCache
   176  	unknownFields protoimpl.UnknownFields
   177  
   178  	// The user-supplied secret bytes specified for the task, if any. This can be
   179  	// used to pass application or task-specific secret keys, JSON, etc. from the
   180  	// task triggerer directly to the task. The bytes will not appear on any
   181  	// swarming UI, or be visible to any users of the swarming service.
   182  	SecretBytes []byte `protobuf:"bytes,1,opt,name=secret_bytes,proto3" json:"secret_bytes,omitempty"`
   183  	// Information of the swarming task.
   184  	Task *Task `protobuf:"bytes,2,opt,name=task,proto3" json:"task,omitempty"`
   185  }
   186  
   187  func (x *Swarming) Reset() {
   188  	*x = Swarming{}
   189  	if protoimpl.UnsafeEnabled {
   190  		mi := &file_go_chromium_org_luci_lucictx_sections_proto_msgTypes[2]
   191  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   192  		ms.StoreMessageInfo(mi)
   193  	}
   194  }
   195  
   196  func (x *Swarming) String() string {
   197  	return protoimpl.X.MessageStringOf(x)
   198  }
   199  
   200  func (*Swarming) ProtoMessage() {}
   201  
   202  func (x *Swarming) ProtoReflect() protoreflect.Message {
   203  	mi := &file_go_chromium_org_luci_lucictx_sections_proto_msgTypes[2]
   204  	if protoimpl.UnsafeEnabled && x != nil {
   205  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   206  		if ms.LoadMessageInfo() == nil {
   207  			ms.StoreMessageInfo(mi)
   208  		}
   209  		return ms
   210  	}
   211  	return mi.MessageOf(x)
   212  }
   213  
   214  // Deprecated: Use Swarming.ProtoReflect.Descriptor instead.
   215  func (*Swarming) Descriptor() ([]byte, []int) {
   216  	return file_go_chromium_org_luci_lucictx_sections_proto_rawDescGZIP(), []int{2}
   217  }
   218  
   219  func (x *Swarming) GetSecretBytes() []byte {
   220  	if x != nil {
   221  		return x.SecretBytes
   222  	}
   223  	return nil
   224  }
   225  
   226  func (x *Swarming) GetTask() *Task {
   227  	if x != nil {
   228  		return x.Task
   229  	}
   230  	return nil
   231  }
   232  
   233  // Task is a struct that contains the information relates to the current task.
   234  type Task struct {
   235  	state         protoimpl.MessageState
   236  	sizeCache     protoimpl.SizeCache
   237  	unknownFields protoimpl.UnknownFields
   238  
   239  	// Server managing the task.
   240  	// E.g. https://chromium-swarm.appspot.com.
   241  	Server string `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"`
   242  	// ID of the current task.
   243  	//
   244  	// In the case of a swarming task, this is the id of the overall task, which
   245  	// ends with 0.
   246  	TaskId string `protobuf:"bytes,2,opt,name=task_id,proto3" json:"task_id,omitempty"`
   247  	// A snapshot of dimensions of the bot that is currently running the task at
   248  	// the time the task was picked up.
   249  	//
   250  	// Each element is a string in the format of "<key>:<value>".
   251  	// E.g. "id:bot_id".
   252  	BotDimensions []string `protobuf:"bytes,3,rep,name=bot_dimensions,proto3" json:"bot_dimensions,omitempty"`
   253  }
   254  
   255  func (x *Task) Reset() {
   256  	*x = Task{}
   257  	if protoimpl.UnsafeEnabled {
   258  		mi := &file_go_chromium_org_luci_lucictx_sections_proto_msgTypes[3]
   259  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   260  		ms.StoreMessageInfo(mi)
   261  	}
   262  }
   263  
   264  func (x *Task) String() string {
   265  	return protoimpl.X.MessageStringOf(x)
   266  }
   267  
   268  func (*Task) ProtoMessage() {}
   269  
   270  func (x *Task) ProtoReflect() protoreflect.Message {
   271  	mi := &file_go_chromium_org_luci_lucictx_sections_proto_msgTypes[3]
   272  	if protoimpl.UnsafeEnabled && x != nil {
   273  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   274  		if ms.LoadMessageInfo() == nil {
   275  			ms.StoreMessageInfo(mi)
   276  		}
   277  		return ms
   278  	}
   279  	return mi.MessageOf(x)
   280  }
   281  
   282  // Deprecated: Use Task.ProtoReflect.Descriptor instead.
   283  func (*Task) Descriptor() ([]byte, []int) {
   284  	return file_go_chromium_org_luci_lucictx_sections_proto_rawDescGZIP(), []int{3}
   285  }
   286  
   287  func (x *Task) GetServer() string {
   288  	if x != nil {
   289  		return x.Server
   290  	}
   291  	return ""
   292  }
   293  
   294  func (x *Task) GetTaskId() string {
   295  	if x != nil {
   296  		return x.TaskId
   297  	}
   298  	return ""
   299  }
   300  
   301  func (x *Task) GetBotDimensions() []string {
   302  	if x != nil {
   303  		return x.BotDimensions
   304  	}
   305  	return nil
   306  }
   307  
   308  // LUCIExe is a struct that may be used with the "luciexe" section of
   309  // LUCI_CONTEXT.
   310  type LUCIExe struct {
   311  	state         protoimpl.MessageState
   312  	sizeCache     protoimpl.SizeCache
   313  	unknownFields protoimpl.UnknownFields
   314  
   315  	// The absolute path of the base cache directory. This directory MAY be on the
   316  	// same filesystem as CWD (but is not guaranteed to be). The available caches
   317  	// are described in Buildbucket as CacheEntry messages.
   318  	CacheDir string `protobuf:"bytes,1,opt,name=cache_dir,proto3" json:"cache_dir,omitempty"`
   319  }
   320  
   321  func (x *LUCIExe) Reset() {
   322  	*x = LUCIExe{}
   323  	if protoimpl.UnsafeEnabled {
   324  		mi := &file_go_chromium_org_luci_lucictx_sections_proto_msgTypes[4]
   325  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   326  		ms.StoreMessageInfo(mi)
   327  	}
   328  }
   329  
   330  func (x *LUCIExe) String() string {
   331  	return protoimpl.X.MessageStringOf(x)
   332  }
   333  
   334  func (*LUCIExe) ProtoMessage() {}
   335  
   336  func (x *LUCIExe) ProtoReflect() protoreflect.Message {
   337  	mi := &file_go_chromium_org_luci_lucictx_sections_proto_msgTypes[4]
   338  	if protoimpl.UnsafeEnabled && x != nil {
   339  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   340  		if ms.LoadMessageInfo() == nil {
   341  			ms.StoreMessageInfo(mi)
   342  		}
   343  		return ms
   344  	}
   345  	return mi.MessageOf(x)
   346  }
   347  
   348  // Deprecated: Use LUCIExe.ProtoReflect.Descriptor instead.
   349  func (*LUCIExe) Descriptor() ([]byte, []int) {
   350  	return file_go_chromium_org_luci_lucictx_sections_proto_rawDescGZIP(), []int{4}
   351  }
   352  
   353  func (x *LUCIExe) GetCacheDir() string {
   354  	if x != nil {
   355  		return x.CacheDir
   356  	}
   357  	return ""
   358  }
   359  
   360  // Realm is a struct that may be used with the "realm" section of
   361  // LUCI_CONTEXT.
   362  type Realm struct {
   363  	state         protoimpl.MessageState
   364  	sizeCache     protoimpl.SizeCache
   365  	unknownFields protoimpl.UnknownFields
   366  
   367  	// Realm name of the task.
   368  	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // e.g. infra:ci
   369  }
   370  
   371  func (x *Realm) Reset() {
   372  	*x = Realm{}
   373  	if protoimpl.UnsafeEnabled {
   374  		mi := &file_go_chromium_org_luci_lucictx_sections_proto_msgTypes[5]
   375  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   376  		ms.StoreMessageInfo(mi)
   377  	}
   378  }
   379  
   380  func (x *Realm) String() string {
   381  	return protoimpl.X.MessageStringOf(x)
   382  }
   383  
   384  func (*Realm) ProtoMessage() {}
   385  
   386  func (x *Realm) ProtoReflect() protoreflect.Message {
   387  	mi := &file_go_chromium_org_luci_lucictx_sections_proto_msgTypes[5]
   388  	if protoimpl.UnsafeEnabled && x != nil {
   389  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   390  		if ms.LoadMessageInfo() == nil {
   391  			ms.StoreMessageInfo(mi)
   392  		}
   393  		return ms
   394  	}
   395  	return mi.MessageOf(x)
   396  }
   397  
   398  // Deprecated: Use Realm.ProtoReflect.Descriptor instead.
   399  func (*Realm) Descriptor() ([]byte, []int) {
   400  	return file_go_chromium_org_luci_lucictx_sections_proto_rawDescGZIP(), []int{5}
   401  }
   402  
   403  func (x *Realm) GetName() string {
   404  	if x != nil {
   405  		return x.Name
   406  	}
   407  	return ""
   408  }
   409  
   410  // ResultDB is a struct that may be used with the "resultdb" section of
   411  // LUCI_CONTEXT.
   412  type ResultDB struct {
   413  	state         protoimpl.MessageState
   414  	sizeCache     protoimpl.SizeCache
   415  	unknownFields protoimpl.UnknownFields
   416  
   417  	Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"` // e.g. results.api.cr.dev
   418  	// The invocation in the current context.
   419  	// For example, in a Buildbucket build context, it is the build's invocation.
   420  	//
   421  	// This is the recommended way to propagate invocation name and update token
   422  	// to subprocesses.
   423  	CurrentInvocation *ResultDBInvocation `protobuf:"bytes,2,opt,name=current_invocation,proto3" json:"current_invocation,omitempty"`
   424  }
   425  
   426  func (x *ResultDB) Reset() {
   427  	*x = ResultDB{}
   428  	if protoimpl.UnsafeEnabled {
   429  		mi := &file_go_chromium_org_luci_lucictx_sections_proto_msgTypes[6]
   430  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   431  		ms.StoreMessageInfo(mi)
   432  	}
   433  }
   434  
   435  func (x *ResultDB) String() string {
   436  	return protoimpl.X.MessageStringOf(x)
   437  }
   438  
   439  func (*ResultDB) ProtoMessage() {}
   440  
   441  func (x *ResultDB) ProtoReflect() protoreflect.Message {
   442  	mi := &file_go_chromium_org_luci_lucictx_sections_proto_msgTypes[6]
   443  	if protoimpl.UnsafeEnabled && x != nil {
   444  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   445  		if ms.LoadMessageInfo() == nil {
   446  			ms.StoreMessageInfo(mi)
   447  		}
   448  		return ms
   449  	}
   450  	return mi.MessageOf(x)
   451  }
   452  
   453  // Deprecated: Use ResultDB.ProtoReflect.Descriptor instead.
   454  func (*ResultDB) Descriptor() ([]byte, []int) {
   455  	return file_go_chromium_org_luci_lucictx_sections_proto_rawDescGZIP(), []int{6}
   456  }
   457  
   458  func (x *ResultDB) GetHostname() string {
   459  	if x != nil {
   460  		return x.Hostname
   461  	}
   462  	return ""
   463  }
   464  
   465  func (x *ResultDB) GetCurrentInvocation() *ResultDBInvocation {
   466  	if x != nil {
   467  		return x.CurrentInvocation
   468  	}
   469  	return nil
   470  }
   471  
   472  // ResultDBInvocation is a struct that contains the necessary info to update an
   473  // invocation in the ResultDB service.
   474  type ResultDBInvocation struct {
   475  	state         protoimpl.MessageState
   476  	sizeCache     protoimpl.SizeCache
   477  	unknownFields protoimpl.UnknownFields
   478  
   479  	Name        string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`                 // e.g. "invocations/build:1234567890"
   480  	UpdateToken string `protobuf:"bytes,2,opt,name=update_token,proto3" json:"update_token,omitempty"` // required in all mutation requests
   481  }
   482  
   483  func (x *ResultDBInvocation) Reset() {
   484  	*x = ResultDBInvocation{}
   485  	if protoimpl.UnsafeEnabled {
   486  		mi := &file_go_chromium_org_luci_lucictx_sections_proto_msgTypes[7]
   487  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   488  		ms.StoreMessageInfo(mi)
   489  	}
   490  }
   491  
   492  func (x *ResultDBInvocation) String() string {
   493  	return protoimpl.X.MessageStringOf(x)
   494  }
   495  
   496  func (*ResultDBInvocation) ProtoMessage() {}
   497  
   498  func (x *ResultDBInvocation) ProtoReflect() protoreflect.Message {
   499  	mi := &file_go_chromium_org_luci_lucictx_sections_proto_msgTypes[7]
   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 ResultDBInvocation.ProtoReflect.Descriptor instead.
   511  func (*ResultDBInvocation) Descriptor() ([]byte, []int) {
   512  	return file_go_chromium_org_luci_lucictx_sections_proto_rawDescGZIP(), []int{7}
   513  }
   514  
   515  func (x *ResultDBInvocation) GetName() string {
   516  	if x != nil {
   517  		return x.Name
   518  	}
   519  	return ""
   520  }
   521  
   522  func (x *ResultDBInvocation) GetUpdateToken() string {
   523  	if x != nil {
   524  		return x.UpdateToken
   525  	}
   526  	return ""
   527  }
   528  
   529  type ResultSink struct {
   530  	state         protoimpl.MessageState
   531  	sizeCache     protoimpl.SizeCache
   532  	unknownFields protoimpl.UnknownFields
   533  
   534  	// TCP address (e.g. "localhost:62115") where a ResultSink pRPC server is hosted.
   535  	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
   536  	// secret string required in all ResultSink requests in HTTP header
   537  	// `Authorization: ResultSink <auth-token>`
   538  	AuthToken string `protobuf:"bytes,2,opt,name=auth_token,proto3" json:"auth_token,omitempty"`
   539  }
   540  
   541  func (x *ResultSink) Reset() {
   542  	*x = ResultSink{}
   543  	if protoimpl.UnsafeEnabled {
   544  		mi := &file_go_chromium_org_luci_lucictx_sections_proto_msgTypes[8]
   545  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   546  		ms.StoreMessageInfo(mi)
   547  	}
   548  }
   549  
   550  func (x *ResultSink) String() string {
   551  	return protoimpl.X.MessageStringOf(x)
   552  }
   553  
   554  func (*ResultSink) ProtoMessage() {}
   555  
   556  func (x *ResultSink) ProtoReflect() protoreflect.Message {
   557  	mi := &file_go_chromium_org_luci_lucictx_sections_proto_msgTypes[8]
   558  	if protoimpl.UnsafeEnabled && x != nil {
   559  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   560  		if ms.LoadMessageInfo() == nil {
   561  			ms.StoreMessageInfo(mi)
   562  		}
   563  		return ms
   564  	}
   565  	return mi.MessageOf(x)
   566  }
   567  
   568  // Deprecated: Use ResultSink.ProtoReflect.Descriptor instead.
   569  func (*ResultSink) Descriptor() ([]byte, []int) {
   570  	return file_go_chromium_org_luci_lucictx_sections_proto_rawDescGZIP(), []int{8}
   571  }
   572  
   573  func (x *ResultSink) GetAddress() string {
   574  	if x != nil {
   575  		return x.Address
   576  	}
   577  	return ""
   578  }
   579  
   580  func (x *ResultSink) GetAuthToken() string {
   581  	if x != nil {
   582  		return x.AuthToken
   583  	}
   584  	return ""
   585  }
   586  
   587  // Deadline represents an externally-imposed termination criteria for the
   588  // process observing the `LUCI_CONTEXT`.
   589  //
   590  // Additionally, this contains `grace_period` which can be used to communicate how
   591  // long the external process will allow for clean up once it sends
   592  // SIGTERM/Ctrl-Break.
   593  //
   594  // Intermediate applications MUST NOT increase `soft_deadline` or `grace_period`.
   595  //
   596  // If the entire Deadline is missing from `LUCI_CONTEXT`, it should be assumed to
   597  // be:
   598  //
   599  //	{soft_deadline: infinity, grace_period: 30}
   600  //
   601  // Intermediate applications can 'reserve' portions of `soft_deadline` and
   602  // `grace_period` by reducing them and then enforcing the reduced times.
   603  //
   604  // *** note
   605  // **WARNING:** Reducing `soft_deadline` may adversely affect the parent process's
   606  // ability to accurately assess if `soft_deadline` was exceeded. This could affect
   607  // reporting indicators such as 'timeout occurred', because the child process may
   608  // terminate itself before the parent can send a signal and mark that it has done
   609  // so.
   610  //
   611  // Most applications SHOULD only reserve time from `grace_period`. Those reserving
   612  // from `soft_deadline` should take care to ensure that timeout status will still
   613  // be accurately communicated to their parent process, if that's important for
   614  // the application.
   615  // ***
   616  type Deadline struct {
   617  	state         protoimpl.MessageState
   618  	sizeCache     protoimpl.SizeCache
   619  	unknownFields protoimpl.UnknownFields
   620  
   621  	// The soft deadline for execution for this context as a 'float' unix
   622  	// timestamp (seconds past unix epoch). This is the same as python's
   623  	// `time.time()` representation.
   624  	//
   625  	// If this value is set, processes SHOULD rely on their parent process
   626  	// to send SIGTERM/Ctrl-Break at this time.
   627  	//
   628  	// Parent processes adjusting or setting `soft_deadline` MUST enforce it by
   629  	// sending SIGTERM/Ctrl-Break as close to this time as possible, followed
   630  	// by SIGKILL/Terminate after `grace_period` additional time.
   631  	//
   632  	// If `soft_deadline` is 0 consider there to be no stated deadline (i.e.
   633  	// infinite).
   634  	//
   635  	// Processes reading this value can use it to determine if a timeout will
   636  	// actually be honored; i.e. if the user asks for 30s to run a process, but
   637  	// soft_deadline indicates an end in 10s, your program can react accordingly
   638  	// (print warning, adjust user-requested timeout, refuse to run user's
   639  	// process, etc.).
   640  	//
   641  	// Processes can also observe this value in conjunction with
   642  	// receiving a signal (i.e. I got a signal after `soft_deadline` then I'm likely
   643  	// in a timeout state).
   644  	SoftDeadline float64 `protobuf:"fixed64,1,opt,name=soft_deadline,proto3" json:"soft_deadline,omitempty"`
   645  	// The amount of time (in fractional seconds), processes in this context have
   646  	// time to react to a SIGTERM/Ctrl-Break before being SIGKILL/Terminated.
   647  	//
   648  	// If an intermediate process has a lot of cleanup work to do after its child
   649  	// quits (e.g. flushing stats/writing output files/etc.) it SHOULD reduce this
   650  	// value for the child process by an appropriate margin.
   651  	GracePeriod float64 `protobuf:"fixed64,2,opt,name=grace_period,proto3" json:"grace_period,omitempty"`
   652  }
   653  
   654  func (x *Deadline) Reset() {
   655  	*x = Deadline{}
   656  	if protoimpl.UnsafeEnabled {
   657  		mi := &file_go_chromium_org_luci_lucictx_sections_proto_msgTypes[9]
   658  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   659  		ms.StoreMessageInfo(mi)
   660  	}
   661  }
   662  
   663  func (x *Deadline) String() string {
   664  	return protoimpl.X.MessageStringOf(x)
   665  }
   666  
   667  func (*Deadline) ProtoMessage() {}
   668  
   669  func (x *Deadline) ProtoReflect() protoreflect.Message {
   670  	mi := &file_go_chromium_org_luci_lucictx_sections_proto_msgTypes[9]
   671  	if protoimpl.UnsafeEnabled && x != nil {
   672  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   673  		if ms.LoadMessageInfo() == nil {
   674  			ms.StoreMessageInfo(mi)
   675  		}
   676  		return ms
   677  	}
   678  	return mi.MessageOf(x)
   679  }
   680  
   681  // Deprecated: Use Deadline.ProtoReflect.Descriptor instead.
   682  func (*Deadline) Descriptor() ([]byte, []int) {
   683  	return file_go_chromium_org_luci_lucictx_sections_proto_rawDescGZIP(), []int{9}
   684  }
   685  
   686  func (x *Deadline) GetSoftDeadline() float64 {
   687  	if x != nil {
   688  		return x.SoftDeadline
   689  	}
   690  	return 0
   691  }
   692  
   693  func (x *Deadline) GetGracePeriod() float64 {
   694  	if x != nil {
   695  		return x.GracePeriod
   696  	}
   697  	return 0
   698  }
   699  
   700  // Buildbucket is a struct that contains the necessary info to update
   701  // a buildbucket build.
   702  //
   703  // It may be used with the "buildbucket" section of LUCI_CONTEXT.
   704  type Buildbucket struct {
   705  	state         protoimpl.MessageState
   706  	sizeCache     protoimpl.SizeCache
   707  	unknownFields protoimpl.UnknownFields
   708  
   709  	// Buildbucket host name.
   710  	// E.g. cr-buildbucket.appspot.com.
   711  	Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"`
   712  	// Token to use to schedule child builds for this build.
   713  	ScheduleBuildToken string `protobuf:"bytes,2,opt,name=schedule_build_token,proto3" json:"schedule_build_token,omitempty"`
   714  }
   715  
   716  func (x *Buildbucket) Reset() {
   717  	*x = Buildbucket{}
   718  	if protoimpl.UnsafeEnabled {
   719  		mi := &file_go_chromium_org_luci_lucictx_sections_proto_msgTypes[10]
   720  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   721  		ms.StoreMessageInfo(mi)
   722  	}
   723  }
   724  
   725  func (x *Buildbucket) String() string {
   726  	return protoimpl.X.MessageStringOf(x)
   727  }
   728  
   729  func (*Buildbucket) ProtoMessage() {}
   730  
   731  func (x *Buildbucket) ProtoReflect() protoreflect.Message {
   732  	mi := &file_go_chromium_org_luci_lucictx_sections_proto_msgTypes[10]
   733  	if protoimpl.UnsafeEnabled && x != nil {
   734  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   735  		if ms.LoadMessageInfo() == nil {
   736  			ms.StoreMessageInfo(mi)
   737  		}
   738  		return ms
   739  	}
   740  	return mi.MessageOf(x)
   741  }
   742  
   743  // Deprecated: Use Buildbucket.ProtoReflect.Descriptor instead.
   744  func (*Buildbucket) Descriptor() ([]byte, []int) {
   745  	return file_go_chromium_org_luci_lucictx_sections_proto_rawDescGZIP(), []int{10}
   746  }
   747  
   748  func (x *Buildbucket) GetHostname() string {
   749  	if x != nil {
   750  		return x.Hostname
   751  	}
   752  	return ""
   753  }
   754  
   755  func (x *Buildbucket) GetScheduleBuildToken() string {
   756  	if x != nil {
   757  		return x.ScheduleBuildToken
   758  	}
   759  	return ""
   760  }
   761  
   762  var File_go_chromium_org_luci_lucictx_sections_proto protoreflect.FileDescriptor
   763  
   764  var file_go_chromium_org_luci_lucictx_sections_proto_rawDesc = []byte{
   765  	0x0a, 0x2b, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72,
   766  	0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x63, 0x74, 0x78, 0x2f, 0x73,
   767  	0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x6c,
   768  	0x75, 0x63, 0x69, 0x63, 0x74, 0x78, 0x22, 0xa6, 0x01, 0x0a, 0x09, 0x4c, 0x6f, 0x63, 0x61, 0x6c,
   769  	0x41, 0x75, 0x74, 0x68, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x70, 0x63, 0x5f, 0x70, 0x6f, 0x72, 0x74,
   770  	0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x72, 0x70, 0x63, 0x5f, 0x70, 0x6f, 0x72, 0x74,
   771  	0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c,
   772  	0x52, 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x35, 0x0a, 0x08, 0x61, 0x63, 0x63, 0x6f,
   773  	0x75, 0x6e, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6c, 0x75, 0x63,
   774  	0x69, 0x63, 0x74, 0x78, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x41, 0x75, 0x74, 0x68, 0x41, 0x63,
   775  	0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x08, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x12,
   776  	0x2e, 0x0a, 0x12, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75,
   777  	0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x64, 0x65, 0x66,
   778  	0x61, 0x75, 0x6c, 0x74, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x22,
   779  	0x38, 0x0a, 0x10, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x41, 0x75, 0x74, 0x68, 0x41, 0x63, 0x63, 0x6f,
   780  	0x75, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
   781  	0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x02, 0x20, 0x01,
   782  	0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x22, 0x51, 0x0a, 0x08, 0x53, 0x77, 0x61,
   783  	0x72, 0x6d, 0x69, 0x6e, 0x67, 0x12, 0x22, 0x0a, 0x0c, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x5f,
   784  	0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x73, 0x65, 0x63,
   785  	0x72, 0x65, 0x74, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x12, 0x21, 0x0a, 0x04, 0x74, 0x61, 0x73,
   786  	0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x6c, 0x75, 0x63, 0x69, 0x63, 0x74,
   787  	0x78, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x04, 0x74, 0x61, 0x73, 0x6b, 0x22, 0x60, 0x0a, 0x04,
   788  	0x54, 0x61, 0x73, 0x6b, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x18, 0x01,
   789  	0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07,
   790  	0x74, 0x61, 0x73, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x74,
   791  	0x61, 0x73, 0x6b, 0x5f, 0x69, 0x64, 0x12, 0x26, 0x0a, 0x0e, 0x62, 0x6f, 0x74, 0x5f, 0x64, 0x69,
   792  	0x6d, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e,
   793  	0x62, 0x6f, 0x74, 0x5f, 0x64, 0x69, 0x6d, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x27,
   794  	0x0a, 0x07, 0x4c, 0x55, 0x43, 0x49, 0x45, 0x78, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x61, 0x63,
   795  	0x68, 0x65, 0x5f, 0x64, 0x69, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x61,
   796  	0x63, 0x68, 0x65, 0x5f, 0x64, 0x69, 0x72, 0x22, 0x1b, 0x0a, 0x05, 0x52, 0x65, 0x61, 0x6c, 0x6d,
   797  	0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
   798  	0x6e, 0x61, 0x6d, 0x65, 0x22, 0x73, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x44, 0x42,
   799  	0x12, 0x1a, 0x0a, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
   800  	0x28, 0x09, 0x52, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x4b, 0x0a, 0x12,
   801  	0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x6e, 0x76, 0x6f, 0x63, 0x61, 0x74, 0x69,
   802  	0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x6c, 0x75, 0x63, 0x69, 0x63,
   803  	0x74, 0x78, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x44, 0x42, 0x49, 0x6e, 0x76, 0x6f, 0x63,
   804  	0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x12, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x69,
   805  	0x6e, 0x76, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x4c, 0x0a, 0x12, 0x52, 0x65, 0x73,
   806  	0x75, 0x6c, 0x74, 0x44, 0x42, 0x49, 0x6e, 0x76, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12,
   807  	0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e,
   808  	0x61, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x6f,
   809  	0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x75, 0x70, 0x64, 0x61, 0x74,
   810  	0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x46, 0x0a, 0x0a, 0x52, 0x65, 0x73, 0x75, 0x6c,
   811  	0x74, 0x53, 0x69, 0x6e, 0x6b, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73,
   812  	0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12,
   813  	0x1e, 0x0a, 0x0a, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20,
   814  	0x01, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22,
   815  	0x54, 0x0a, 0x08, 0x44, 0x65, 0x61, 0x64, 0x6c, 0x69, 0x6e, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x73,
   816  	0x6f, 0x66, 0x74, 0x5f, 0x64, 0x65, 0x61, 0x64, 0x6c, 0x69, 0x6e, 0x65, 0x18, 0x01, 0x20, 0x01,
   817  	0x28, 0x01, 0x52, 0x0d, 0x73, 0x6f, 0x66, 0x74, 0x5f, 0x64, 0x65, 0x61, 0x64, 0x6c, 0x69, 0x6e,
   818  	0x65, 0x12, 0x22, 0x0a, 0x0c, 0x67, 0x72, 0x61, 0x63, 0x65, 0x5f, 0x70, 0x65, 0x72, 0x69, 0x6f,
   819  	0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0c, 0x67, 0x72, 0x61, 0x63, 0x65, 0x5f, 0x70,
   820  	0x65, 0x72, 0x69, 0x6f, 0x64, 0x22, 0x5d, 0x0a, 0x0b, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x62, 0x75,
   821  	0x63, 0x6b, 0x65, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65,
   822  	0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65,
   823  	0x12, 0x32, 0x0a, 0x14, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x62, 0x75, 0x69,
   824  	0x6c, 0x64, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14,
   825  	0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x74,
   826  	0x6f, 0x6b, 0x65, 0x6e, 0x42, 0x26, 0x5a, 0x24, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d,
   827  	0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x6c, 0x75, 0x63,
   828  	0x69, 0x63, 0x74, 0x78, 0x3b, 0x6c, 0x75, 0x63, 0x69, 0x63, 0x74, 0x78, 0x62, 0x06, 0x70, 0x72,
   829  	0x6f, 0x74, 0x6f, 0x33,
   830  }
   831  
   832  var (
   833  	file_go_chromium_org_luci_lucictx_sections_proto_rawDescOnce sync.Once
   834  	file_go_chromium_org_luci_lucictx_sections_proto_rawDescData = file_go_chromium_org_luci_lucictx_sections_proto_rawDesc
   835  )
   836  
   837  func file_go_chromium_org_luci_lucictx_sections_proto_rawDescGZIP() []byte {
   838  	file_go_chromium_org_luci_lucictx_sections_proto_rawDescOnce.Do(func() {
   839  		file_go_chromium_org_luci_lucictx_sections_proto_rawDescData = protoimpl.X.CompressGZIP(file_go_chromium_org_luci_lucictx_sections_proto_rawDescData)
   840  	})
   841  	return file_go_chromium_org_luci_lucictx_sections_proto_rawDescData
   842  }
   843  
   844  var file_go_chromium_org_luci_lucictx_sections_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
   845  var file_go_chromium_org_luci_lucictx_sections_proto_goTypes = []interface{}{
   846  	(*LocalAuth)(nil),          // 0: lucictx.LocalAuth
   847  	(*LocalAuthAccount)(nil),   // 1: lucictx.LocalAuthAccount
   848  	(*Swarming)(nil),           // 2: lucictx.Swarming
   849  	(*Task)(nil),               // 3: lucictx.Task
   850  	(*LUCIExe)(nil),            // 4: lucictx.LUCIExe
   851  	(*Realm)(nil),              // 5: lucictx.Realm
   852  	(*ResultDB)(nil),           // 6: lucictx.ResultDB
   853  	(*ResultDBInvocation)(nil), // 7: lucictx.ResultDBInvocation
   854  	(*ResultSink)(nil),         // 8: lucictx.ResultSink
   855  	(*Deadline)(nil),           // 9: lucictx.Deadline
   856  	(*Buildbucket)(nil),        // 10: lucictx.Buildbucket
   857  }
   858  var file_go_chromium_org_luci_lucictx_sections_proto_depIdxs = []int32{
   859  	1, // 0: lucictx.LocalAuth.accounts:type_name -> lucictx.LocalAuthAccount
   860  	3, // 1: lucictx.Swarming.task:type_name -> lucictx.Task
   861  	7, // 2: lucictx.ResultDB.current_invocation:type_name -> lucictx.ResultDBInvocation
   862  	3, // [3:3] is the sub-list for method output_type
   863  	3, // [3:3] is the sub-list for method input_type
   864  	3, // [3:3] is the sub-list for extension type_name
   865  	3, // [3:3] is the sub-list for extension extendee
   866  	0, // [0:3] is the sub-list for field type_name
   867  }
   868  
   869  func init() { file_go_chromium_org_luci_lucictx_sections_proto_init() }
   870  func file_go_chromium_org_luci_lucictx_sections_proto_init() {
   871  	if File_go_chromium_org_luci_lucictx_sections_proto != nil {
   872  		return
   873  	}
   874  	if !protoimpl.UnsafeEnabled {
   875  		file_go_chromium_org_luci_lucictx_sections_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   876  			switch v := v.(*LocalAuth); i {
   877  			case 0:
   878  				return &v.state
   879  			case 1:
   880  				return &v.sizeCache
   881  			case 2:
   882  				return &v.unknownFields
   883  			default:
   884  				return nil
   885  			}
   886  		}
   887  		file_go_chromium_org_luci_lucictx_sections_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   888  			switch v := v.(*LocalAuthAccount); i {
   889  			case 0:
   890  				return &v.state
   891  			case 1:
   892  				return &v.sizeCache
   893  			case 2:
   894  				return &v.unknownFields
   895  			default:
   896  				return nil
   897  			}
   898  		}
   899  		file_go_chromium_org_luci_lucictx_sections_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   900  			switch v := v.(*Swarming); i {
   901  			case 0:
   902  				return &v.state
   903  			case 1:
   904  				return &v.sizeCache
   905  			case 2:
   906  				return &v.unknownFields
   907  			default:
   908  				return nil
   909  			}
   910  		}
   911  		file_go_chromium_org_luci_lucictx_sections_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   912  			switch v := v.(*Task); i {
   913  			case 0:
   914  				return &v.state
   915  			case 1:
   916  				return &v.sizeCache
   917  			case 2:
   918  				return &v.unknownFields
   919  			default:
   920  				return nil
   921  			}
   922  		}
   923  		file_go_chromium_org_luci_lucictx_sections_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
   924  			switch v := v.(*LUCIExe); i {
   925  			case 0:
   926  				return &v.state
   927  			case 1:
   928  				return &v.sizeCache
   929  			case 2:
   930  				return &v.unknownFields
   931  			default:
   932  				return nil
   933  			}
   934  		}
   935  		file_go_chromium_org_luci_lucictx_sections_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
   936  			switch v := v.(*Realm); i {
   937  			case 0:
   938  				return &v.state
   939  			case 1:
   940  				return &v.sizeCache
   941  			case 2:
   942  				return &v.unknownFields
   943  			default:
   944  				return nil
   945  			}
   946  		}
   947  		file_go_chromium_org_luci_lucictx_sections_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
   948  			switch v := v.(*ResultDB); i {
   949  			case 0:
   950  				return &v.state
   951  			case 1:
   952  				return &v.sizeCache
   953  			case 2:
   954  				return &v.unknownFields
   955  			default:
   956  				return nil
   957  			}
   958  		}
   959  		file_go_chromium_org_luci_lucictx_sections_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
   960  			switch v := v.(*ResultDBInvocation); i {
   961  			case 0:
   962  				return &v.state
   963  			case 1:
   964  				return &v.sizeCache
   965  			case 2:
   966  				return &v.unknownFields
   967  			default:
   968  				return nil
   969  			}
   970  		}
   971  		file_go_chromium_org_luci_lucictx_sections_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
   972  			switch v := v.(*ResultSink); i {
   973  			case 0:
   974  				return &v.state
   975  			case 1:
   976  				return &v.sizeCache
   977  			case 2:
   978  				return &v.unknownFields
   979  			default:
   980  				return nil
   981  			}
   982  		}
   983  		file_go_chromium_org_luci_lucictx_sections_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
   984  			switch v := v.(*Deadline); i {
   985  			case 0:
   986  				return &v.state
   987  			case 1:
   988  				return &v.sizeCache
   989  			case 2:
   990  				return &v.unknownFields
   991  			default:
   992  				return nil
   993  			}
   994  		}
   995  		file_go_chromium_org_luci_lucictx_sections_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
   996  			switch v := v.(*Buildbucket); i {
   997  			case 0:
   998  				return &v.state
   999  			case 1:
  1000  				return &v.sizeCache
  1001  			case 2:
  1002  				return &v.unknownFields
  1003  			default:
  1004  				return nil
  1005  			}
  1006  		}
  1007  	}
  1008  	type x struct{}
  1009  	out := protoimpl.TypeBuilder{
  1010  		File: protoimpl.DescBuilder{
  1011  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  1012  			RawDescriptor: file_go_chromium_org_luci_lucictx_sections_proto_rawDesc,
  1013  			NumEnums:      0,
  1014  			NumMessages:   11,
  1015  			NumExtensions: 0,
  1016  			NumServices:   0,
  1017  		},
  1018  		GoTypes:           file_go_chromium_org_luci_lucictx_sections_proto_goTypes,
  1019  		DependencyIndexes: file_go_chromium_org_luci_lucictx_sections_proto_depIdxs,
  1020  		MessageInfos:      file_go_chromium_org_luci_lucictx_sections_proto_msgTypes,
  1021  	}.Build()
  1022  	File_go_chromium_org_luci_lucictx_sections_proto = out.File
  1023  	file_go_chromium_org_luci_lucictx_sections_proto_rawDesc = nil
  1024  	file_go_chromium_org_luci_lucictx_sections_proto_goTypes = nil
  1025  	file_go_chromium_org_luci_lucictx_sections_proto_depIdxs = nil
  1026  }