go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/server/dsmapper/internal/tasks/tasks.pb.go (about)

     1  // Copyright 2018 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/server/dsmapper/internal/tasks/tasks.proto
    20  
    21  package tasks
    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  // SplitAndLaunch task splits the key range into shards and kicks off processing
    38  // of each individual shard.
    39  //
    40  // Enqueued transactionally when creating a new mapping job.
    41  type SplitAndLaunch struct {
    42  	state         protoimpl.MessageState
    43  	sizeCache     protoimpl.SizeCache
    44  	unknownFields protoimpl.UnknownFields
    45  
    46  	JobId int64 `protobuf:"varint,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"`
    47  }
    48  
    49  func (x *SplitAndLaunch) Reset() {
    50  	*x = SplitAndLaunch{}
    51  	if protoimpl.UnsafeEnabled {
    52  		mi := &file_go_chromium_org_luci_server_dsmapper_internal_tasks_tasks_proto_msgTypes[0]
    53  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    54  		ms.StoreMessageInfo(mi)
    55  	}
    56  }
    57  
    58  func (x *SplitAndLaunch) String() string {
    59  	return protoimpl.X.MessageStringOf(x)
    60  }
    61  
    62  func (*SplitAndLaunch) ProtoMessage() {}
    63  
    64  func (x *SplitAndLaunch) ProtoReflect() protoreflect.Message {
    65  	mi := &file_go_chromium_org_luci_server_dsmapper_internal_tasks_tasks_proto_msgTypes[0]
    66  	if protoimpl.UnsafeEnabled && x != nil {
    67  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    68  		if ms.LoadMessageInfo() == nil {
    69  			ms.StoreMessageInfo(mi)
    70  		}
    71  		return ms
    72  	}
    73  	return mi.MessageOf(x)
    74  }
    75  
    76  // Deprecated: Use SplitAndLaunch.ProtoReflect.Descriptor instead.
    77  func (*SplitAndLaunch) Descriptor() ([]byte, []int) {
    78  	return file_go_chromium_org_luci_server_dsmapper_internal_tasks_tasks_proto_rawDescGZIP(), []int{0}
    79  }
    80  
    81  func (x *SplitAndLaunch) GetJobId() int64 {
    82  	if x != nil {
    83  		return x.JobId
    84  	}
    85  	return 0
    86  }
    87  
    88  // FanOutShards enqueues a bunch of ProcessShard named tasks (one per shard).
    89  //
    90  // Enqueued transactionally by SplitAndLaunch after it has constructed shards.
    91  type FanOutShards struct {
    92  	state         protoimpl.MessageState
    93  	sizeCache     protoimpl.SizeCache
    94  	unknownFields protoimpl.UnknownFields
    95  
    96  	JobId int64 `protobuf:"varint,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"`
    97  }
    98  
    99  func (x *FanOutShards) Reset() {
   100  	*x = FanOutShards{}
   101  	if protoimpl.UnsafeEnabled {
   102  		mi := &file_go_chromium_org_luci_server_dsmapper_internal_tasks_tasks_proto_msgTypes[1]
   103  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   104  		ms.StoreMessageInfo(mi)
   105  	}
   106  }
   107  
   108  func (x *FanOutShards) String() string {
   109  	return protoimpl.X.MessageStringOf(x)
   110  }
   111  
   112  func (*FanOutShards) ProtoMessage() {}
   113  
   114  func (x *FanOutShards) ProtoReflect() protoreflect.Message {
   115  	mi := &file_go_chromium_org_luci_server_dsmapper_internal_tasks_tasks_proto_msgTypes[1]
   116  	if protoimpl.UnsafeEnabled && x != nil {
   117  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   118  		if ms.LoadMessageInfo() == nil {
   119  			ms.StoreMessageInfo(mi)
   120  		}
   121  		return ms
   122  	}
   123  	return mi.MessageOf(x)
   124  }
   125  
   126  // Deprecated: Use FanOutShards.ProtoReflect.Descriptor instead.
   127  func (*FanOutShards) Descriptor() ([]byte, []int) {
   128  	return file_go_chromium_org_luci_server_dsmapper_internal_tasks_tasks_proto_rawDescGZIP(), []int{1}
   129  }
   130  
   131  func (x *FanOutShards) GetJobId() int64 {
   132  	if x != nil {
   133  		return x.JobId
   134  	}
   135  	return 0
   136  }
   137  
   138  // ProcessShard sequentially reads the entities belonging to a key range
   139  // assigned to a shard and applies the mapper to them.
   140  //
   141  // Upon reaching 1 min mark, relaunches itself, increasing task_num. Thus
   142  // ProcessShard is actually a chain of tasks that runs as long as needed to
   143  // completely process the shard.
   144  type ProcessShard struct {
   145  	state         protoimpl.MessageState
   146  	sizeCache     protoimpl.SizeCache
   147  	unknownFields protoimpl.UnknownFields
   148  
   149  	JobId   int64 `protobuf:"varint,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"`
   150  	ShardId int64 `protobuf:"varint,2,opt,name=shard_id,json=shardId,proto3" json:"shard_id,omitempty"`
   151  	TaskNum int64 `protobuf:"varint,3,opt,name=task_num,json=taskNum,proto3" json:"task_num,omitempty"`
   152  }
   153  
   154  func (x *ProcessShard) Reset() {
   155  	*x = ProcessShard{}
   156  	if protoimpl.UnsafeEnabled {
   157  		mi := &file_go_chromium_org_luci_server_dsmapper_internal_tasks_tasks_proto_msgTypes[2]
   158  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   159  		ms.StoreMessageInfo(mi)
   160  	}
   161  }
   162  
   163  func (x *ProcessShard) String() string {
   164  	return protoimpl.X.MessageStringOf(x)
   165  }
   166  
   167  func (*ProcessShard) ProtoMessage() {}
   168  
   169  func (x *ProcessShard) ProtoReflect() protoreflect.Message {
   170  	mi := &file_go_chromium_org_luci_server_dsmapper_internal_tasks_tasks_proto_msgTypes[2]
   171  	if protoimpl.UnsafeEnabled && x != nil {
   172  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   173  		if ms.LoadMessageInfo() == nil {
   174  			ms.StoreMessageInfo(mi)
   175  		}
   176  		return ms
   177  	}
   178  	return mi.MessageOf(x)
   179  }
   180  
   181  // Deprecated: Use ProcessShard.ProtoReflect.Descriptor instead.
   182  func (*ProcessShard) Descriptor() ([]byte, []int) {
   183  	return file_go_chromium_org_luci_server_dsmapper_internal_tasks_tasks_proto_rawDescGZIP(), []int{2}
   184  }
   185  
   186  func (x *ProcessShard) GetJobId() int64 {
   187  	if x != nil {
   188  		return x.JobId
   189  	}
   190  	return 0
   191  }
   192  
   193  func (x *ProcessShard) GetShardId() int64 {
   194  	if x != nil {
   195  		return x.ShardId
   196  	}
   197  	return 0
   198  }
   199  
   200  func (x *ProcessShard) GetTaskNum() int64 {
   201  	if x != nil {
   202  		return x.TaskNum
   203  	}
   204  	return 0
   205  }
   206  
   207  // RequestJobStateUpdate is transactionally emitted by ProcessShard when shard's
   208  // state changes.
   209  //
   210  // It eventually (with some throttling) causes UpdateJobState to be emitted,
   211  // which updates the job state based on states of the shards.
   212  type RequestJobStateUpdate struct {
   213  	state         protoimpl.MessageState
   214  	sizeCache     protoimpl.SizeCache
   215  	unknownFields protoimpl.UnknownFields
   216  
   217  	JobId   int64 `protobuf:"varint,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"`
   218  	ShardId int64 `protobuf:"varint,2,opt,name=shard_id,json=shardId,proto3" json:"shard_id,omitempty"` // mostly FYI
   219  }
   220  
   221  func (x *RequestJobStateUpdate) Reset() {
   222  	*x = RequestJobStateUpdate{}
   223  	if protoimpl.UnsafeEnabled {
   224  		mi := &file_go_chromium_org_luci_server_dsmapper_internal_tasks_tasks_proto_msgTypes[3]
   225  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   226  		ms.StoreMessageInfo(mi)
   227  	}
   228  }
   229  
   230  func (x *RequestJobStateUpdate) String() string {
   231  	return protoimpl.X.MessageStringOf(x)
   232  }
   233  
   234  func (*RequestJobStateUpdate) ProtoMessage() {}
   235  
   236  func (x *RequestJobStateUpdate) ProtoReflect() protoreflect.Message {
   237  	mi := &file_go_chromium_org_luci_server_dsmapper_internal_tasks_tasks_proto_msgTypes[3]
   238  	if protoimpl.UnsafeEnabled && x != nil {
   239  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   240  		if ms.LoadMessageInfo() == nil {
   241  			ms.StoreMessageInfo(mi)
   242  		}
   243  		return ms
   244  	}
   245  	return mi.MessageOf(x)
   246  }
   247  
   248  // Deprecated: Use RequestJobStateUpdate.ProtoReflect.Descriptor instead.
   249  func (*RequestJobStateUpdate) Descriptor() ([]byte, []int) {
   250  	return file_go_chromium_org_luci_server_dsmapper_internal_tasks_tasks_proto_rawDescGZIP(), []int{3}
   251  }
   252  
   253  func (x *RequestJobStateUpdate) GetJobId() int64 {
   254  	if x != nil {
   255  		return x.JobId
   256  	}
   257  	return 0
   258  }
   259  
   260  func (x *RequestJobStateUpdate) GetShardId() int64 {
   261  	if x != nil {
   262  		return x.ShardId
   263  	}
   264  	return 0
   265  }
   266  
   267  // UpdateJobState is emitted after one or more shards have changed their state.
   268  //
   269  // It recalculates the job's state based on state of all its shards. Throttled
   270  // to 0.5 QPS.
   271  type UpdateJobState struct {
   272  	state         protoimpl.MessageState
   273  	sizeCache     protoimpl.SizeCache
   274  	unknownFields protoimpl.UnknownFields
   275  
   276  	JobId int64 `protobuf:"varint,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"`
   277  }
   278  
   279  func (x *UpdateJobState) Reset() {
   280  	*x = UpdateJobState{}
   281  	if protoimpl.UnsafeEnabled {
   282  		mi := &file_go_chromium_org_luci_server_dsmapper_internal_tasks_tasks_proto_msgTypes[4]
   283  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   284  		ms.StoreMessageInfo(mi)
   285  	}
   286  }
   287  
   288  func (x *UpdateJobState) String() string {
   289  	return protoimpl.X.MessageStringOf(x)
   290  }
   291  
   292  func (*UpdateJobState) ProtoMessage() {}
   293  
   294  func (x *UpdateJobState) ProtoReflect() protoreflect.Message {
   295  	mi := &file_go_chromium_org_luci_server_dsmapper_internal_tasks_tasks_proto_msgTypes[4]
   296  	if protoimpl.UnsafeEnabled && x != nil {
   297  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   298  		if ms.LoadMessageInfo() == nil {
   299  			ms.StoreMessageInfo(mi)
   300  		}
   301  		return ms
   302  	}
   303  	return mi.MessageOf(x)
   304  }
   305  
   306  // Deprecated: Use UpdateJobState.ProtoReflect.Descriptor instead.
   307  func (*UpdateJobState) Descriptor() ([]byte, []int) {
   308  	return file_go_chromium_org_luci_server_dsmapper_internal_tasks_tasks_proto_rawDescGZIP(), []int{4}
   309  }
   310  
   311  func (x *UpdateJobState) GetJobId() int64 {
   312  	if x != nil {
   313  		return x.JobId
   314  	}
   315  	return 0
   316  }
   317  
   318  var File_go_chromium_org_luci_server_dsmapper_internal_tasks_tasks_proto protoreflect.FileDescriptor
   319  
   320  var file_go_chromium_org_luci_server_dsmapper_internal_tasks_tasks_proto_rawDesc = []byte{
   321  	0x0a, 0x3f, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72,
   322  	0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x64, 0x73,
   323  	0x6d, 0x61, 0x70, 0x70, 0x65, 0x72, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f,
   324  	0x74, 0x61, 0x73, 0x6b, 0x73, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74,
   325  	0x6f, 0x12, 0x23, 0x6c, 0x75, 0x63, 0x69, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x64,
   326  	0x73, 0x6d, 0x61, 0x70, 0x70, 0x65, 0x72, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c,
   327  	0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x22, 0x27, 0x0a, 0x0e, 0x53, 0x70, 0x6c, 0x69, 0x74, 0x41,
   328  	0x6e, 0x64, 0x4c, 0x61, 0x75, 0x6e, 0x63, 0x68, 0x12, 0x15, 0x0a, 0x06, 0x6a, 0x6f, 0x62, 0x5f,
   329  	0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6a, 0x6f, 0x62, 0x49, 0x64, 0x22,
   330  	0x25, 0x0a, 0x0c, 0x46, 0x61, 0x6e, 0x4f, 0x75, 0x74, 0x53, 0x68, 0x61, 0x72, 0x64, 0x73, 0x12,
   331  	0x15, 0x0a, 0x06, 0x6a, 0x6f, 0x62, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
   332  	0x05, 0x6a, 0x6f, 0x62, 0x49, 0x64, 0x22, 0x5b, 0x0a, 0x0c, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73,
   333  	0x73, 0x53, 0x68, 0x61, 0x72, 0x64, 0x12, 0x15, 0x0a, 0x06, 0x6a, 0x6f, 0x62, 0x5f, 0x69, 0x64,
   334  	0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6a, 0x6f, 0x62, 0x49, 0x64, 0x12, 0x19, 0x0a,
   335  	0x08, 0x73, 0x68, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52,
   336  	0x07, 0x73, 0x68, 0x61, 0x72, 0x64, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x61, 0x73, 0x6b,
   337  	0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x74, 0x61, 0x73, 0x6b,
   338  	0x4e, 0x75, 0x6d, 0x22, 0x49, 0x0a, 0x15, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4a, 0x6f,
   339  	0x62, 0x53, 0x74, 0x61, 0x74, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x06,
   340  	0x6a, 0x6f, 0x62, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6a, 0x6f,
   341  	0x62, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x68, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18,
   342  	0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x73, 0x68, 0x61, 0x72, 0x64, 0x49, 0x64, 0x22, 0x27,
   343  	0x0a, 0x0e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4a, 0x6f, 0x62, 0x53, 0x74, 0x61, 0x74, 0x65,
   344  	0x12, 0x15, 0x0a, 0x06, 0x6a, 0x6f, 0x62, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
   345  	0x52, 0x05, 0x6a, 0x6f, 0x62, 0x49, 0x64, 0x42, 0x35, 0x5a, 0x33, 0x67, 0x6f, 0x2e, 0x63, 0x68,
   346  	0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f,
   347  	0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x64, 0x73, 0x6d, 0x61, 0x70, 0x70, 0x65, 0x72, 0x2f,
   348  	0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x62, 0x06,
   349  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   350  }
   351  
   352  var (
   353  	file_go_chromium_org_luci_server_dsmapper_internal_tasks_tasks_proto_rawDescOnce sync.Once
   354  	file_go_chromium_org_luci_server_dsmapper_internal_tasks_tasks_proto_rawDescData = file_go_chromium_org_luci_server_dsmapper_internal_tasks_tasks_proto_rawDesc
   355  )
   356  
   357  func file_go_chromium_org_luci_server_dsmapper_internal_tasks_tasks_proto_rawDescGZIP() []byte {
   358  	file_go_chromium_org_luci_server_dsmapper_internal_tasks_tasks_proto_rawDescOnce.Do(func() {
   359  		file_go_chromium_org_luci_server_dsmapper_internal_tasks_tasks_proto_rawDescData = protoimpl.X.CompressGZIP(file_go_chromium_org_luci_server_dsmapper_internal_tasks_tasks_proto_rawDescData)
   360  	})
   361  	return file_go_chromium_org_luci_server_dsmapper_internal_tasks_tasks_proto_rawDescData
   362  }
   363  
   364  var file_go_chromium_org_luci_server_dsmapper_internal_tasks_tasks_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
   365  var file_go_chromium_org_luci_server_dsmapper_internal_tasks_tasks_proto_goTypes = []interface{}{
   366  	(*SplitAndLaunch)(nil),        // 0: luci.server.dsmapper.internal.tasks.SplitAndLaunch
   367  	(*FanOutShards)(nil),          // 1: luci.server.dsmapper.internal.tasks.FanOutShards
   368  	(*ProcessShard)(nil),          // 2: luci.server.dsmapper.internal.tasks.ProcessShard
   369  	(*RequestJobStateUpdate)(nil), // 3: luci.server.dsmapper.internal.tasks.RequestJobStateUpdate
   370  	(*UpdateJobState)(nil),        // 4: luci.server.dsmapper.internal.tasks.UpdateJobState
   371  }
   372  var file_go_chromium_org_luci_server_dsmapper_internal_tasks_tasks_proto_depIdxs = []int32{
   373  	0, // [0:0] is the sub-list for method output_type
   374  	0, // [0:0] is the sub-list for method input_type
   375  	0, // [0:0] is the sub-list for extension type_name
   376  	0, // [0:0] is the sub-list for extension extendee
   377  	0, // [0:0] is the sub-list for field type_name
   378  }
   379  
   380  func init() { file_go_chromium_org_luci_server_dsmapper_internal_tasks_tasks_proto_init() }
   381  func file_go_chromium_org_luci_server_dsmapper_internal_tasks_tasks_proto_init() {
   382  	if File_go_chromium_org_luci_server_dsmapper_internal_tasks_tasks_proto != nil {
   383  		return
   384  	}
   385  	if !protoimpl.UnsafeEnabled {
   386  		file_go_chromium_org_luci_server_dsmapper_internal_tasks_tasks_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   387  			switch v := v.(*SplitAndLaunch); i {
   388  			case 0:
   389  				return &v.state
   390  			case 1:
   391  				return &v.sizeCache
   392  			case 2:
   393  				return &v.unknownFields
   394  			default:
   395  				return nil
   396  			}
   397  		}
   398  		file_go_chromium_org_luci_server_dsmapper_internal_tasks_tasks_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   399  			switch v := v.(*FanOutShards); i {
   400  			case 0:
   401  				return &v.state
   402  			case 1:
   403  				return &v.sizeCache
   404  			case 2:
   405  				return &v.unknownFields
   406  			default:
   407  				return nil
   408  			}
   409  		}
   410  		file_go_chromium_org_luci_server_dsmapper_internal_tasks_tasks_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   411  			switch v := v.(*ProcessShard); i {
   412  			case 0:
   413  				return &v.state
   414  			case 1:
   415  				return &v.sizeCache
   416  			case 2:
   417  				return &v.unknownFields
   418  			default:
   419  				return nil
   420  			}
   421  		}
   422  		file_go_chromium_org_luci_server_dsmapper_internal_tasks_tasks_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   423  			switch v := v.(*RequestJobStateUpdate); i {
   424  			case 0:
   425  				return &v.state
   426  			case 1:
   427  				return &v.sizeCache
   428  			case 2:
   429  				return &v.unknownFields
   430  			default:
   431  				return nil
   432  			}
   433  		}
   434  		file_go_chromium_org_luci_server_dsmapper_internal_tasks_tasks_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
   435  			switch v := v.(*UpdateJobState); i {
   436  			case 0:
   437  				return &v.state
   438  			case 1:
   439  				return &v.sizeCache
   440  			case 2:
   441  				return &v.unknownFields
   442  			default:
   443  				return nil
   444  			}
   445  		}
   446  	}
   447  	type x struct{}
   448  	out := protoimpl.TypeBuilder{
   449  		File: protoimpl.DescBuilder{
   450  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   451  			RawDescriptor: file_go_chromium_org_luci_server_dsmapper_internal_tasks_tasks_proto_rawDesc,
   452  			NumEnums:      0,
   453  			NumMessages:   5,
   454  			NumExtensions: 0,
   455  			NumServices:   0,
   456  		},
   457  		GoTypes:           file_go_chromium_org_luci_server_dsmapper_internal_tasks_tasks_proto_goTypes,
   458  		DependencyIndexes: file_go_chromium_org_luci_server_dsmapper_internal_tasks_tasks_proto_depIdxs,
   459  		MessageInfos:      file_go_chromium_org_luci_server_dsmapper_internal_tasks_tasks_proto_msgTypes,
   460  	}.Build()
   461  	File_go_chromium_org_luci_server_dsmapper_internal_tasks_tasks_proto = out.File
   462  	file_go_chromium_org_luci_server_dsmapper_internal_tasks_tasks_proto_rawDesc = nil
   463  	file_go_chromium_org_luci_server_dsmapper_internal_tasks_tasks_proto_goTypes = nil
   464  	file_go_chromium_org_luci_server_dsmapper_internal_tasks_tasks_proto_depIdxs = nil
   465  }