go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/server/dsmapper/dsmapperpb/messages.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/dsmapperpb/messages.proto 20 21 package dsmapperpb 22 23 import ( 24 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 25 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 26 timestamppb "google.golang.org/protobuf/types/known/timestamppb" 27 reflect "reflect" 28 sync "sync" 29 ) 30 31 const ( 32 // Verify that this generated code is sufficiently up-to-date. 33 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 34 // Verify that runtime/protoimpl is sufficiently up-to-date. 35 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 36 ) 37 38 // State of a job or one of its shards. 39 type State int32 40 41 const ( 42 State_STATE_UNSPECIFIED State = 0 43 State_STARTING State = 1 44 State_RUNNING State = 2 45 State_ABORTING State = 3 46 State_SUCCESS State = 4 47 State_FAIL State = 5 48 State_ABORTED State = 6 49 ) 50 51 // Enum value maps for State. 52 var ( 53 State_name = map[int32]string{ 54 0: "STATE_UNSPECIFIED", 55 1: "STARTING", 56 2: "RUNNING", 57 3: "ABORTING", 58 4: "SUCCESS", 59 5: "FAIL", 60 6: "ABORTED", 61 } 62 State_value = map[string]int32{ 63 "STATE_UNSPECIFIED": 0, 64 "STARTING": 1, 65 "RUNNING": 2, 66 "ABORTING": 3, 67 "SUCCESS": 4, 68 "FAIL": 5, 69 "ABORTED": 6, 70 } 71 ) 72 73 func (x State) Enum() *State { 74 p := new(State) 75 *p = x 76 return p 77 } 78 79 func (x State) String() string { 80 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 81 } 82 83 func (State) Descriptor() protoreflect.EnumDescriptor { 84 return file_go_chromium_org_luci_server_dsmapper_dsmapperpb_messages_proto_enumTypes[0].Descriptor() 85 } 86 87 func (State) Type() protoreflect.EnumType { 88 return &file_go_chromium_org_luci_server_dsmapper_dsmapperpb_messages_proto_enumTypes[0] 89 } 90 91 func (x State) Number() protoreflect.EnumNumber { 92 return protoreflect.EnumNumber(x) 93 } 94 95 // Deprecated: Use State.Descriptor instead. 96 func (State) EnumDescriptor() ([]byte, []int) { 97 return file_go_chromium_org_luci_server_dsmapper_dsmapperpb_messages_proto_rawDescGZIP(), []int{0} 98 } 99 100 // Information about some single shard of a job. 101 type ShardInfo struct { 102 state protoimpl.MessageState 103 sizeCache protoimpl.SizeCache 104 unknownFields protoimpl.UnknownFields 105 106 Index int32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` // zero-based index of the shard 107 State State `protobuf:"varint,2,opt,name=state,proto3,enum=luci.server.dsmapper.State" json:"state,omitempty"` 108 Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` // human readable error message, for failed shards only 109 Created *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created,proto3" json:"created,omitempty"` // when it was created 110 Updated *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=updated,proto3" json:"updated,omitempty"` // when it was updated last time 111 Eta *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=eta,proto3" json:"eta,omitempty"` // when it finishes (if tracking progress) 112 ProcessedEntities int64 `protobuf:"varint,7,opt,name=processed_entities,json=processedEntities,proto3" json:"processed_entities,omitempty"` // number of processed entities thus far 113 TotalEntities int64 `protobuf:"varint,8,opt,name=total_entities,json=totalEntities,proto3" json:"total_entities,omitempty"` // total number of entities or -1 if unknown 114 EntitiesPerSec float32 `protobuf:"fixed32,9,opt,name=entities_per_sec,json=entitiesPerSec,proto3" json:"entities_per_sec,omitempty"` // rate of processing, entities per second 115 } 116 117 func (x *ShardInfo) Reset() { 118 *x = ShardInfo{} 119 if protoimpl.UnsafeEnabled { 120 mi := &file_go_chromium_org_luci_server_dsmapper_dsmapperpb_messages_proto_msgTypes[0] 121 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 122 ms.StoreMessageInfo(mi) 123 } 124 } 125 126 func (x *ShardInfo) String() string { 127 return protoimpl.X.MessageStringOf(x) 128 } 129 130 func (*ShardInfo) ProtoMessage() {} 131 132 func (x *ShardInfo) ProtoReflect() protoreflect.Message { 133 mi := &file_go_chromium_org_luci_server_dsmapper_dsmapperpb_messages_proto_msgTypes[0] 134 if protoimpl.UnsafeEnabled && x != nil { 135 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 136 if ms.LoadMessageInfo() == nil { 137 ms.StoreMessageInfo(mi) 138 } 139 return ms 140 } 141 return mi.MessageOf(x) 142 } 143 144 // Deprecated: Use ShardInfo.ProtoReflect.Descriptor instead. 145 func (*ShardInfo) Descriptor() ([]byte, []int) { 146 return file_go_chromium_org_luci_server_dsmapper_dsmapperpb_messages_proto_rawDescGZIP(), []int{0} 147 } 148 149 func (x *ShardInfo) GetIndex() int32 { 150 if x != nil { 151 return x.Index 152 } 153 return 0 154 } 155 156 func (x *ShardInfo) GetState() State { 157 if x != nil { 158 return x.State 159 } 160 return State_STATE_UNSPECIFIED 161 } 162 163 func (x *ShardInfo) GetError() string { 164 if x != nil { 165 return x.Error 166 } 167 return "" 168 } 169 170 func (x *ShardInfo) GetCreated() *timestamppb.Timestamp { 171 if x != nil { 172 return x.Created 173 } 174 return nil 175 } 176 177 func (x *ShardInfo) GetUpdated() *timestamppb.Timestamp { 178 if x != nil { 179 return x.Updated 180 } 181 return nil 182 } 183 184 func (x *ShardInfo) GetEta() *timestamppb.Timestamp { 185 if x != nil { 186 return x.Eta 187 } 188 return nil 189 } 190 191 func (x *ShardInfo) GetProcessedEntities() int64 { 192 if x != nil { 193 return x.ProcessedEntities 194 } 195 return 0 196 } 197 198 func (x *ShardInfo) GetTotalEntities() int64 { 199 if x != nil { 200 return x.TotalEntities 201 } 202 return 0 203 } 204 205 func (x *ShardInfo) GetEntitiesPerSec() float32 { 206 if x != nil { 207 return x.EntitiesPerSec 208 } 209 return 0 210 } 211 212 // Information about a job. 213 type JobInfo struct { 214 state protoimpl.MessageState 215 sizeCache protoimpl.SizeCache 216 unknownFields protoimpl.UnknownFields 217 218 Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // unique job identifier 219 State State `protobuf:"varint,2,opt,name=state,proto3,enum=luci.server.dsmapper.State" json:"state,omitempty"` // overall state of the job 220 Created *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created,proto3" json:"created,omitempty"` // when it was created 221 Updated *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=updated,proto3" json:"updated,omitempty"` // when it was updated last time 222 Eta *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=eta,proto3" json:"eta,omitempty"` // when it finishes (if tracking progress) 223 ProcessedEntities int64 `protobuf:"varint,6,opt,name=processed_entities,json=processedEntities,proto3" json:"processed_entities,omitempty"` // number of processed entities thus far 224 TotalEntities int64 `protobuf:"varint,7,opt,name=total_entities,json=totalEntities,proto3" json:"total_entities,omitempty"` // total number of entities or -1 if unknown 225 EntitiesPerSec float32 `protobuf:"fixed32,8,opt,name=entities_per_sec,json=entitiesPerSec,proto3" json:"entities_per_sec,omitempty"` // rate of processing, entities per second 226 Shards []*ShardInfo `protobuf:"bytes,20,rep,name=shards,proto3" json:"shards,omitempty"` // state of all job's shards 227 } 228 229 func (x *JobInfo) Reset() { 230 *x = JobInfo{} 231 if protoimpl.UnsafeEnabled { 232 mi := &file_go_chromium_org_luci_server_dsmapper_dsmapperpb_messages_proto_msgTypes[1] 233 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 234 ms.StoreMessageInfo(mi) 235 } 236 } 237 238 func (x *JobInfo) String() string { 239 return protoimpl.X.MessageStringOf(x) 240 } 241 242 func (*JobInfo) ProtoMessage() {} 243 244 func (x *JobInfo) ProtoReflect() protoreflect.Message { 245 mi := &file_go_chromium_org_luci_server_dsmapper_dsmapperpb_messages_proto_msgTypes[1] 246 if protoimpl.UnsafeEnabled && x != nil { 247 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 248 if ms.LoadMessageInfo() == nil { 249 ms.StoreMessageInfo(mi) 250 } 251 return ms 252 } 253 return mi.MessageOf(x) 254 } 255 256 // Deprecated: Use JobInfo.ProtoReflect.Descriptor instead. 257 func (*JobInfo) Descriptor() ([]byte, []int) { 258 return file_go_chromium_org_luci_server_dsmapper_dsmapperpb_messages_proto_rawDescGZIP(), []int{1} 259 } 260 261 func (x *JobInfo) GetId() int64 { 262 if x != nil { 263 return x.Id 264 } 265 return 0 266 } 267 268 func (x *JobInfo) GetState() State { 269 if x != nil { 270 return x.State 271 } 272 return State_STATE_UNSPECIFIED 273 } 274 275 func (x *JobInfo) GetCreated() *timestamppb.Timestamp { 276 if x != nil { 277 return x.Created 278 } 279 return nil 280 } 281 282 func (x *JobInfo) GetUpdated() *timestamppb.Timestamp { 283 if x != nil { 284 return x.Updated 285 } 286 return nil 287 } 288 289 func (x *JobInfo) GetEta() *timestamppb.Timestamp { 290 if x != nil { 291 return x.Eta 292 } 293 return nil 294 } 295 296 func (x *JobInfo) GetProcessedEntities() int64 { 297 if x != nil { 298 return x.ProcessedEntities 299 } 300 return 0 301 } 302 303 func (x *JobInfo) GetTotalEntities() int64 { 304 if x != nil { 305 return x.TotalEntities 306 } 307 return 0 308 } 309 310 func (x *JobInfo) GetEntitiesPerSec() float32 { 311 if x != nil { 312 return x.EntitiesPerSec 313 } 314 return 0 315 } 316 317 func (x *JobInfo) GetShards() []*ShardInfo { 318 if x != nil { 319 return x.Shards 320 } 321 return nil 322 } 323 324 var File_go_chromium_org_luci_server_dsmapper_dsmapperpb_messages_proto protoreflect.FileDescriptor 325 326 var file_go_chromium_org_luci_server_dsmapper_dsmapperpb_messages_proto_rawDesc = []byte{ 327 0x0a, 0x3e, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 328 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x64, 0x73, 329 0x6d, 0x61, 0x70, 0x70, 0x65, 0x72, 0x2f, 0x64, 0x73, 0x6d, 0x61, 0x70, 0x70, 0x65, 0x72, 0x70, 330 0x62, 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 331 0x12, 0x14, 0x6c, 0x75, 0x63, 0x69, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x64, 0x73, 332 0x6d, 0x61, 0x70, 0x70, 0x65, 0x72, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 333 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 334 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x84, 0x03, 0x0a, 0x09, 0x53, 0x68, 0x61, 0x72, 335 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 336 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x31, 0x0a, 0x05, 0x73, 337 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x6c, 0x75, 0x63, 338 0x69, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x64, 0x73, 0x6d, 0x61, 0x70, 0x70, 0x65, 339 0x72, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x14, 340 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 341 0x72, 0x72, 0x6f, 0x72, 0x12, 0x34, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x18, 342 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 343 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 344 0x70, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x12, 0x34, 0x0a, 0x07, 0x75, 0x70, 345 0x64, 0x61, 0x74, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 346 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 347 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x07, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 348 0x12, 0x2c, 0x0a, 0x03, 0x65, 0x74, 0x61, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 349 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 350 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x03, 0x65, 0x74, 0x61, 0x12, 0x2d, 351 0x0a, 0x12, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x65, 0x64, 0x5f, 0x65, 0x6e, 0x74, 0x69, 352 0x74, 0x69, 0x65, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x70, 0x72, 0x6f, 0x63, 353 0x65, 0x73, 0x73, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x25, 0x0a, 354 0x0e, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 355 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x45, 0x6e, 0x74, 0x69, 356 0x74, 0x69, 0x65, 0x73, 0x12, 0x28, 0x0a, 0x10, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 357 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x63, 0x18, 0x09, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0e, 358 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x50, 0x65, 0x72, 0x53, 0x65, 0x63, 0x22, 0x9f, 359 0x03, 0x0a, 0x07, 0x4a, 0x6f, 0x62, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 360 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x31, 0x0a, 0x05, 0x73, 0x74, 361 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x6c, 0x75, 0x63, 0x69, 362 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x64, 0x73, 0x6d, 0x61, 0x70, 0x70, 0x65, 0x72, 363 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x34, 0x0a, 364 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 365 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 366 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 367 0x74, 0x65, 0x64, 0x12, 0x34, 0x0a, 0x07, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x18, 0x04, 368 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 369 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 370 0x52, 0x07, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x12, 0x2c, 0x0a, 0x03, 0x65, 0x74, 0x61, 371 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 372 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 373 0x6d, 0x70, 0x52, 0x03, 0x65, 0x74, 0x61, 0x12, 0x2d, 0x0a, 0x12, 0x70, 0x72, 0x6f, 0x63, 0x65, 374 0x73, 0x73, 0x65, 0x64, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x06, 0x20, 375 0x01, 0x28, 0x03, 0x52, 0x11, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x65, 0x64, 0x45, 0x6e, 376 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 377 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 378 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x28, 0x0a, 379 0x10, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x73, 0x65, 380 0x63, 0x18, 0x08, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0e, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 381 0x73, 0x50, 0x65, 0x72, 0x53, 0x65, 0x63, 0x12, 0x37, 0x0a, 0x06, 0x73, 0x68, 0x61, 0x72, 0x64, 382 0x73, 0x18, 0x14, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6c, 0x75, 0x63, 0x69, 0x2e, 0x73, 383 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x64, 0x73, 0x6d, 0x61, 0x70, 0x70, 0x65, 0x72, 0x2e, 0x53, 384 0x68, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x06, 0x73, 0x68, 0x61, 0x72, 0x64, 0x73, 385 0x2a, 0x6b, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 386 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 387 0x12, 0x0c, 0x0a, 0x08, 0x53, 0x54, 0x41, 0x52, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x0b, 388 0x0a, 0x07, 0x52, 0x55, 0x4e, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08, 0x41, 389 0x42, 0x4f, 0x52, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x03, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x55, 0x43, 390 0x43, 0x45, 0x53, 0x53, 0x10, 0x04, 0x12, 0x08, 0x0a, 0x04, 0x46, 0x41, 0x49, 0x4c, 0x10, 0x05, 391 0x12, 0x0b, 0x0a, 0x07, 0x41, 0x42, 0x4f, 0x52, 0x54, 0x45, 0x44, 0x10, 0x06, 0x42, 0x31, 0x5a, 392 0x2f, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 393 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x64, 0x73, 0x6d, 394 0x61, 0x70, 0x70, 0x65, 0x72, 0x2f, 0x64, 0x73, 0x6d, 0x61, 0x70, 0x70, 0x65, 0x72, 0x70, 0x62, 395 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 396 } 397 398 var ( 399 file_go_chromium_org_luci_server_dsmapper_dsmapperpb_messages_proto_rawDescOnce sync.Once 400 file_go_chromium_org_luci_server_dsmapper_dsmapperpb_messages_proto_rawDescData = file_go_chromium_org_luci_server_dsmapper_dsmapperpb_messages_proto_rawDesc 401 ) 402 403 func file_go_chromium_org_luci_server_dsmapper_dsmapperpb_messages_proto_rawDescGZIP() []byte { 404 file_go_chromium_org_luci_server_dsmapper_dsmapperpb_messages_proto_rawDescOnce.Do(func() { 405 file_go_chromium_org_luci_server_dsmapper_dsmapperpb_messages_proto_rawDescData = protoimpl.X.CompressGZIP(file_go_chromium_org_luci_server_dsmapper_dsmapperpb_messages_proto_rawDescData) 406 }) 407 return file_go_chromium_org_luci_server_dsmapper_dsmapperpb_messages_proto_rawDescData 408 } 409 410 var file_go_chromium_org_luci_server_dsmapper_dsmapperpb_messages_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 411 var file_go_chromium_org_luci_server_dsmapper_dsmapperpb_messages_proto_msgTypes = make([]protoimpl.MessageInfo, 2) 412 var file_go_chromium_org_luci_server_dsmapper_dsmapperpb_messages_proto_goTypes = []interface{}{ 413 (State)(0), // 0: luci.server.dsmapper.State 414 (*ShardInfo)(nil), // 1: luci.server.dsmapper.ShardInfo 415 (*JobInfo)(nil), // 2: luci.server.dsmapper.JobInfo 416 (*timestamppb.Timestamp)(nil), // 3: google.protobuf.Timestamp 417 } 418 var file_go_chromium_org_luci_server_dsmapper_dsmapperpb_messages_proto_depIdxs = []int32{ 419 0, // 0: luci.server.dsmapper.ShardInfo.state:type_name -> luci.server.dsmapper.State 420 3, // 1: luci.server.dsmapper.ShardInfo.created:type_name -> google.protobuf.Timestamp 421 3, // 2: luci.server.dsmapper.ShardInfo.updated:type_name -> google.protobuf.Timestamp 422 3, // 3: luci.server.dsmapper.ShardInfo.eta:type_name -> google.protobuf.Timestamp 423 0, // 4: luci.server.dsmapper.JobInfo.state:type_name -> luci.server.dsmapper.State 424 3, // 5: luci.server.dsmapper.JobInfo.created:type_name -> google.protobuf.Timestamp 425 3, // 6: luci.server.dsmapper.JobInfo.updated:type_name -> google.protobuf.Timestamp 426 3, // 7: luci.server.dsmapper.JobInfo.eta:type_name -> google.protobuf.Timestamp 427 1, // 8: luci.server.dsmapper.JobInfo.shards:type_name -> luci.server.dsmapper.ShardInfo 428 9, // [9:9] is the sub-list for method output_type 429 9, // [9:9] is the sub-list for method input_type 430 9, // [9:9] is the sub-list for extension type_name 431 9, // [9:9] is the sub-list for extension extendee 432 0, // [0:9] is the sub-list for field type_name 433 } 434 435 func init() { file_go_chromium_org_luci_server_dsmapper_dsmapperpb_messages_proto_init() } 436 func file_go_chromium_org_luci_server_dsmapper_dsmapperpb_messages_proto_init() { 437 if File_go_chromium_org_luci_server_dsmapper_dsmapperpb_messages_proto != nil { 438 return 439 } 440 if !protoimpl.UnsafeEnabled { 441 file_go_chromium_org_luci_server_dsmapper_dsmapperpb_messages_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 442 switch v := v.(*ShardInfo); i { 443 case 0: 444 return &v.state 445 case 1: 446 return &v.sizeCache 447 case 2: 448 return &v.unknownFields 449 default: 450 return nil 451 } 452 } 453 file_go_chromium_org_luci_server_dsmapper_dsmapperpb_messages_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 454 switch v := v.(*JobInfo); i { 455 case 0: 456 return &v.state 457 case 1: 458 return &v.sizeCache 459 case 2: 460 return &v.unknownFields 461 default: 462 return nil 463 } 464 } 465 } 466 type x struct{} 467 out := protoimpl.TypeBuilder{ 468 File: protoimpl.DescBuilder{ 469 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 470 RawDescriptor: file_go_chromium_org_luci_server_dsmapper_dsmapperpb_messages_proto_rawDesc, 471 NumEnums: 1, 472 NumMessages: 2, 473 NumExtensions: 0, 474 NumServices: 0, 475 }, 476 GoTypes: file_go_chromium_org_luci_server_dsmapper_dsmapperpb_messages_proto_goTypes, 477 DependencyIndexes: file_go_chromium_org_luci_server_dsmapper_dsmapperpb_messages_proto_depIdxs, 478 EnumInfos: file_go_chromium_org_luci_server_dsmapper_dsmapperpb_messages_proto_enumTypes, 479 MessageInfos: file_go_chromium_org_luci_server_dsmapper_dsmapperpb_messages_proto_msgTypes, 480 }.Build() 481 File_go_chromium_org_luci_server_dsmapper_dsmapperpb_messages_proto = out.File 482 file_go_chromium_org_luci_server_dsmapper_dsmapperpb_messages_proto_rawDesc = nil 483 file_go_chromium_org_luci_server_dsmapper_dsmapperpb_messages_proto_goTypes = nil 484 file_go_chromium_org_luci_server_dsmapper_dsmapperpb_messages_proto_depIdxs = nil 485 }