github.com/tsuna/gohbase@v0.0.0-20250731002811-4ffcadfba63e/pb/Procedure.pb.go (about) 1 //* 2 // Licensed to the Apache Software Foundation (ASF) under one 3 // or more contributor license agreements. See the NOTICE file 4 // distributed with this work for additional information 5 // regarding copyright ownership. The ASF licenses this file 6 // to you under the Apache License, Version 2.0 (the 7 // "License"); you may not use this file except in compliance 8 // with the License. You may obtain a copy of the License at 9 // 10 // http://www.apache.org/licenses/LICENSE-2.0 11 // 12 // Unless required by applicable law or agreed to in writing, software 13 // distributed under the License is distributed on an "AS IS" BASIS, 14 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 // See the License for the specific language governing permissions and 16 // limitations under the License. 17 18 // Code generated by protoc-gen-go. DO NOT EDIT. 19 // versions: 20 // protoc-gen-go v1.36.4 21 // protoc v5.28.3 22 // source: Procedure.proto 23 24 package pb 25 26 import ( 27 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 28 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 29 reflect "reflect" 30 sync "sync" 31 unsafe "unsafe" 32 ) 33 34 const ( 35 // Verify that this generated code is sufficiently up-to-date. 36 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 37 // Verify that runtime/protoimpl is sufficiently up-to-date. 38 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 39 ) 40 41 type ProcedureState int32 42 43 const ( 44 ProcedureState_INITIALIZING ProcedureState = 1 // Procedure in construction, not yet added to the executor 45 ProcedureState_RUNNABLE ProcedureState = 2 // Procedure added to the executor, and ready to be executed 46 ProcedureState_WAITING ProcedureState = 3 // The procedure is waiting on children to be completed 47 ProcedureState_WAITING_TIMEOUT ProcedureState = 4 // The procedure is waiting a timout or an external event 48 ProcedureState_ROLLEDBACK ProcedureState = 5 // The procedure failed and was rolledback 49 ProcedureState_FINISHED ProcedureState = 6 // The procedure execution is completed. may need a rollback if failed. 50 ) 51 52 // Enum value maps for ProcedureState. 53 var ( 54 ProcedureState_name = map[int32]string{ 55 1: "INITIALIZING", 56 2: "RUNNABLE", 57 3: "WAITING", 58 4: "WAITING_TIMEOUT", 59 5: "ROLLEDBACK", 60 6: "FINISHED", 61 } 62 ProcedureState_value = map[string]int32{ 63 "INITIALIZING": 1, 64 "RUNNABLE": 2, 65 "WAITING": 3, 66 "WAITING_TIMEOUT": 4, 67 "ROLLEDBACK": 5, 68 "FINISHED": 6, 69 } 70 ) 71 72 func (x ProcedureState) Enum() *ProcedureState { 73 p := new(ProcedureState) 74 *p = x 75 return p 76 } 77 78 func (x ProcedureState) String() string { 79 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 80 } 81 82 func (ProcedureState) Descriptor() protoreflect.EnumDescriptor { 83 return file_Procedure_proto_enumTypes[0].Descriptor() 84 } 85 86 func (ProcedureState) Type() protoreflect.EnumType { 87 return &file_Procedure_proto_enumTypes[0] 88 } 89 90 func (x ProcedureState) Number() protoreflect.EnumNumber { 91 return protoreflect.EnumNumber(x) 92 } 93 94 // Deprecated: Do not use. 95 func (x *ProcedureState) UnmarshalJSON(b []byte) error { 96 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) 97 if err != nil { 98 return err 99 } 100 *x = ProcedureState(num) 101 return nil 102 } 103 104 // Deprecated: Use ProcedureState.Descriptor instead. 105 func (ProcedureState) EnumDescriptor() ([]byte, []int) { 106 return file_Procedure_proto_rawDescGZIP(), []int{0} 107 } 108 109 type ProcedureWALEntry_Type int32 110 111 const ( 112 ProcedureWALEntry_PROCEDURE_WAL_EOF ProcedureWALEntry_Type = 1 113 ProcedureWALEntry_PROCEDURE_WAL_INIT ProcedureWALEntry_Type = 2 114 ProcedureWALEntry_PROCEDURE_WAL_INSERT ProcedureWALEntry_Type = 3 115 ProcedureWALEntry_PROCEDURE_WAL_UPDATE ProcedureWALEntry_Type = 4 116 ProcedureWALEntry_PROCEDURE_WAL_DELETE ProcedureWALEntry_Type = 5 117 ProcedureWALEntry_PROCEDURE_WAL_COMPACT ProcedureWALEntry_Type = 6 118 ) 119 120 // Enum value maps for ProcedureWALEntry_Type. 121 var ( 122 ProcedureWALEntry_Type_name = map[int32]string{ 123 1: "PROCEDURE_WAL_EOF", 124 2: "PROCEDURE_WAL_INIT", 125 3: "PROCEDURE_WAL_INSERT", 126 4: "PROCEDURE_WAL_UPDATE", 127 5: "PROCEDURE_WAL_DELETE", 128 6: "PROCEDURE_WAL_COMPACT", 129 } 130 ProcedureWALEntry_Type_value = map[string]int32{ 131 "PROCEDURE_WAL_EOF": 1, 132 "PROCEDURE_WAL_INIT": 2, 133 "PROCEDURE_WAL_INSERT": 3, 134 "PROCEDURE_WAL_UPDATE": 4, 135 "PROCEDURE_WAL_DELETE": 5, 136 "PROCEDURE_WAL_COMPACT": 6, 137 } 138 ) 139 140 func (x ProcedureWALEntry_Type) Enum() *ProcedureWALEntry_Type { 141 p := new(ProcedureWALEntry_Type) 142 *p = x 143 return p 144 } 145 146 func (x ProcedureWALEntry_Type) String() string { 147 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 148 } 149 150 func (ProcedureWALEntry_Type) Descriptor() protoreflect.EnumDescriptor { 151 return file_Procedure_proto_enumTypes[1].Descriptor() 152 } 153 154 func (ProcedureWALEntry_Type) Type() protoreflect.EnumType { 155 return &file_Procedure_proto_enumTypes[1] 156 } 157 158 func (x ProcedureWALEntry_Type) Number() protoreflect.EnumNumber { 159 return protoreflect.EnumNumber(x) 160 } 161 162 // Deprecated: Do not use. 163 func (x *ProcedureWALEntry_Type) UnmarshalJSON(b []byte) error { 164 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) 165 if err != nil { 166 return err 167 } 168 *x = ProcedureWALEntry_Type(num) 169 return nil 170 } 171 172 // Deprecated: Use ProcedureWALEntry_Type.Descriptor instead. 173 func (ProcedureWALEntry_Type) EnumDescriptor() ([]byte, []int) { 174 return file_Procedure_proto_rawDescGZIP(), []int{6, 0} 175 } 176 177 // * 178 // Procedure metadata, serialized by the ProcedureStore to be able to recover the old state. 179 type Procedure struct { 180 state protoimpl.MessageState `protogen:"open.v1"` 181 // internal "static" state 182 ClassName *string `protobuf:"bytes,1,req,name=class_name,json=className" json:"class_name,omitempty"` // full classname to be able to instantiate the procedure 183 ParentId *uint64 `protobuf:"varint,2,opt,name=parent_id,json=parentId" json:"parent_id,omitempty"` // parent if not a root-procedure otherwise not set 184 ProcId *uint64 `protobuf:"varint,3,req,name=proc_id,json=procId" json:"proc_id,omitempty"` 185 StartTime *uint64 `protobuf:"varint,4,req,name=start_time,json=startTime" json:"start_time,omitempty"` 186 Owner *string `protobuf:"bytes,5,opt,name=owner" json:"owner,omitempty"` 187 // internal "runtime" state 188 State *ProcedureState `protobuf:"varint,6,req,name=state,enum=pb.ProcedureState" json:"state,omitempty"` 189 StackId []uint32 `protobuf:"varint,7,rep,name=stack_id,json=stackId" json:"stack_id,omitempty"` // stack indices in case the procedure was running 190 LastUpdate *uint64 `protobuf:"varint,8,req,name=last_update,json=lastUpdate" json:"last_update,omitempty"` 191 Timeout *uint32 `protobuf:"varint,9,opt,name=timeout" json:"timeout,omitempty"` 192 // user state/results 193 Exception *ForeignExceptionMessage `protobuf:"bytes,10,opt,name=exception" json:"exception,omitempty"` 194 Result []byte `protobuf:"bytes,11,opt,name=result" json:"result,omitempty"` // opaque (user) result structure 195 StateData []byte `protobuf:"bytes,12,opt,name=state_data,json=stateData" json:"state_data,omitempty"` // opaque (user) procedure internal-state 196 // Nonce to prevent same procedure submit by multiple times 197 NonceGroup *uint64 `protobuf:"varint,13,opt,name=nonce_group,json=nonceGroup,def=0" json:"nonce_group,omitempty"` 198 Nonce *uint64 `protobuf:"varint,14,opt,name=nonce,def=0" json:"nonce,omitempty"` 199 unknownFields protoimpl.UnknownFields 200 sizeCache protoimpl.SizeCache 201 } 202 203 // Default values for Procedure fields. 204 const ( 205 Default_Procedure_NonceGroup = uint64(0) 206 Default_Procedure_Nonce = uint64(0) 207 ) 208 209 func (x *Procedure) Reset() { 210 *x = Procedure{} 211 mi := &file_Procedure_proto_msgTypes[0] 212 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 213 ms.StoreMessageInfo(mi) 214 } 215 216 func (x *Procedure) String() string { 217 return protoimpl.X.MessageStringOf(x) 218 } 219 220 func (*Procedure) ProtoMessage() {} 221 222 func (x *Procedure) ProtoReflect() protoreflect.Message { 223 mi := &file_Procedure_proto_msgTypes[0] 224 if x != nil { 225 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 226 if ms.LoadMessageInfo() == nil { 227 ms.StoreMessageInfo(mi) 228 } 229 return ms 230 } 231 return mi.MessageOf(x) 232 } 233 234 // Deprecated: Use Procedure.ProtoReflect.Descriptor instead. 235 func (*Procedure) Descriptor() ([]byte, []int) { 236 return file_Procedure_proto_rawDescGZIP(), []int{0} 237 } 238 239 func (x *Procedure) GetClassName() string { 240 if x != nil && x.ClassName != nil { 241 return *x.ClassName 242 } 243 return "" 244 } 245 246 func (x *Procedure) GetParentId() uint64 { 247 if x != nil && x.ParentId != nil { 248 return *x.ParentId 249 } 250 return 0 251 } 252 253 func (x *Procedure) GetProcId() uint64 { 254 if x != nil && x.ProcId != nil { 255 return *x.ProcId 256 } 257 return 0 258 } 259 260 func (x *Procedure) GetStartTime() uint64 { 261 if x != nil && x.StartTime != nil { 262 return *x.StartTime 263 } 264 return 0 265 } 266 267 func (x *Procedure) GetOwner() string { 268 if x != nil && x.Owner != nil { 269 return *x.Owner 270 } 271 return "" 272 } 273 274 func (x *Procedure) GetState() ProcedureState { 275 if x != nil && x.State != nil { 276 return *x.State 277 } 278 return ProcedureState_INITIALIZING 279 } 280 281 func (x *Procedure) GetStackId() []uint32 { 282 if x != nil { 283 return x.StackId 284 } 285 return nil 286 } 287 288 func (x *Procedure) GetLastUpdate() uint64 { 289 if x != nil && x.LastUpdate != nil { 290 return *x.LastUpdate 291 } 292 return 0 293 } 294 295 func (x *Procedure) GetTimeout() uint32 { 296 if x != nil && x.Timeout != nil { 297 return *x.Timeout 298 } 299 return 0 300 } 301 302 func (x *Procedure) GetException() *ForeignExceptionMessage { 303 if x != nil { 304 return x.Exception 305 } 306 return nil 307 } 308 309 func (x *Procedure) GetResult() []byte { 310 if x != nil { 311 return x.Result 312 } 313 return nil 314 } 315 316 func (x *Procedure) GetStateData() []byte { 317 if x != nil { 318 return x.StateData 319 } 320 return nil 321 } 322 323 func (x *Procedure) GetNonceGroup() uint64 { 324 if x != nil && x.NonceGroup != nil { 325 return *x.NonceGroup 326 } 327 return Default_Procedure_NonceGroup 328 } 329 330 func (x *Procedure) GetNonce() uint64 { 331 if x != nil && x.Nonce != nil { 332 return *x.Nonce 333 } 334 return Default_Procedure_Nonce 335 } 336 337 // * 338 // SequentialProcedure data 339 type SequentialProcedureData struct { 340 state protoimpl.MessageState `protogen:"open.v1"` 341 Executed *bool `protobuf:"varint,1,req,name=executed" json:"executed,omitempty"` 342 unknownFields protoimpl.UnknownFields 343 sizeCache protoimpl.SizeCache 344 } 345 346 func (x *SequentialProcedureData) Reset() { 347 *x = SequentialProcedureData{} 348 mi := &file_Procedure_proto_msgTypes[1] 349 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 350 ms.StoreMessageInfo(mi) 351 } 352 353 func (x *SequentialProcedureData) String() string { 354 return protoimpl.X.MessageStringOf(x) 355 } 356 357 func (*SequentialProcedureData) ProtoMessage() {} 358 359 func (x *SequentialProcedureData) ProtoReflect() protoreflect.Message { 360 mi := &file_Procedure_proto_msgTypes[1] 361 if x != nil { 362 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 363 if ms.LoadMessageInfo() == nil { 364 ms.StoreMessageInfo(mi) 365 } 366 return ms 367 } 368 return mi.MessageOf(x) 369 } 370 371 // Deprecated: Use SequentialProcedureData.ProtoReflect.Descriptor instead. 372 func (*SequentialProcedureData) Descriptor() ([]byte, []int) { 373 return file_Procedure_proto_rawDescGZIP(), []int{1} 374 } 375 376 func (x *SequentialProcedureData) GetExecuted() bool { 377 if x != nil && x.Executed != nil { 378 return *x.Executed 379 } 380 return false 381 } 382 383 // * 384 // StateMachineProcedure data 385 type StateMachineProcedureData struct { 386 state protoimpl.MessageState `protogen:"open.v1"` 387 State []uint32 `protobuf:"varint,1,rep,name=state" json:"state,omitempty"` 388 unknownFields protoimpl.UnknownFields 389 sizeCache protoimpl.SizeCache 390 } 391 392 func (x *StateMachineProcedureData) Reset() { 393 *x = StateMachineProcedureData{} 394 mi := &file_Procedure_proto_msgTypes[2] 395 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 396 ms.StoreMessageInfo(mi) 397 } 398 399 func (x *StateMachineProcedureData) String() string { 400 return protoimpl.X.MessageStringOf(x) 401 } 402 403 func (*StateMachineProcedureData) ProtoMessage() {} 404 405 func (x *StateMachineProcedureData) ProtoReflect() protoreflect.Message { 406 mi := &file_Procedure_proto_msgTypes[2] 407 if x != nil { 408 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 409 if ms.LoadMessageInfo() == nil { 410 ms.StoreMessageInfo(mi) 411 } 412 return ms 413 } 414 return mi.MessageOf(x) 415 } 416 417 // Deprecated: Use StateMachineProcedureData.ProtoReflect.Descriptor instead. 418 func (*StateMachineProcedureData) Descriptor() ([]byte, []int) { 419 return file_Procedure_proto_rawDescGZIP(), []int{2} 420 } 421 422 func (x *StateMachineProcedureData) GetState() []uint32 { 423 if x != nil { 424 return x.State 425 } 426 return nil 427 } 428 429 // * 430 // Procedure WAL header 431 type ProcedureWALHeader struct { 432 state protoimpl.MessageState `protogen:"open.v1"` 433 Version *uint32 `protobuf:"varint,1,req,name=version" json:"version,omitempty"` 434 Type *uint32 `protobuf:"varint,2,req,name=type" json:"type,omitempty"` 435 LogId *uint64 `protobuf:"varint,3,req,name=log_id,json=logId" json:"log_id,omitempty"` 436 MinProcId *uint64 `protobuf:"varint,4,req,name=min_proc_id,json=minProcId" json:"min_proc_id,omitempty"` 437 unknownFields protoimpl.UnknownFields 438 sizeCache protoimpl.SizeCache 439 } 440 441 func (x *ProcedureWALHeader) Reset() { 442 *x = ProcedureWALHeader{} 443 mi := &file_Procedure_proto_msgTypes[3] 444 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 445 ms.StoreMessageInfo(mi) 446 } 447 448 func (x *ProcedureWALHeader) String() string { 449 return protoimpl.X.MessageStringOf(x) 450 } 451 452 func (*ProcedureWALHeader) ProtoMessage() {} 453 454 func (x *ProcedureWALHeader) ProtoReflect() protoreflect.Message { 455 mi := &file_Procedure_proto_msgTypes[3] 456 if x != nil { 457 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 458 if ms.LoadMessageInfo() == nil { 459 ms.StoreMessageInfo(mi) 460 } 461 return ms 462 } 463 return mi.MessageOf(x) 464 } 465 466 // Deprecated: Use ProcedureWALHeader.ProtoReflect.Descriptor instead. 467 func (*ProcedureWALHeader) Descriptor() ([]byte, []int) { 468 return file_Procedure_proto_rawDescGZIP(), []int{3} 469 } 470 471 func (x *ProcedureWALHeader) GetVersion() uint32 { 472 if x != nil && x.Version != nil { 473 return *x.Version 474 } 475 return 0 476 } 477 478 func (x *ProcedureWALHeader) GetType() uint32 { 479 if x != nil && x.Type != nil { 480 return *x.Type 481 } 482 return 0 483 } 484 485 func (x *ProcedureWALHeader) GetLogId() uint64 { 486 if x != nil && x.LogId != nil { 487 return *x.LogId 488 } 489 return 0 490 } 491 492 func (x *ProcedureWALHeader) GetMinProcId() uint64 { 493 if x != nil && x.MinProcId != nil { 494 return *x.MinProcId 495 } 496 return 0 497 } 498 499 // * 500 // Procedure WAL trailer 501 type ProcedureWALTrailer struct { 502 state protoimpl.MessageState `protogen:"open.v1"` 503 Version *uint32 `protobuf:"varint,1,req,name=version" json:"version,omitempty"` 504 TrackerPos *uint64 `protobuf:"varint,2,req,name=tracker_pos,json=trackerPos" json:"tracker_pos,omitempty"` 505 unknownFields protoimpl.UnknownFields 506 sizeCache protoimpl.SizeCache 507 } 508 509 func (x *ProcedureWALTrailer) Reset() { 510 *x = ProcedureWALTrailer{} 511 mi := &file_Procedure_proto_msgTypes[4] 512 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 513 ms.StoreMessageInfo(mi) 514 } 515 516 func (x *ProcedureWALTrailer) String() string { 517 return protoimpl.X.MessageStringOf(x) 518 } 519 520 func (*ProcedureWALTrailer) ProtoMessage() {} 521 522 func (x *ProcedureWALTrailer) ProtoReflect() protoreflect.Message { 523 mi := &file_Procedure_proto_msgTypes[4] 524 if x != nil { 525 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 526 if ms.LoadMessageInfo() == nil { 527 ms.StoreMessageInfo(mi) 528 } 529 return ms 530 } 531 return mi.MessageOf(x) 532 } 533 534 // Deprecated: Use ProcedureWALTrailer.ProtoReflect.Descriptor instead. 535 func (*ProcedureWALTrailer) Descriptor() ([]byte, []int) { 536 return file_Procedure_proto_rawDescGZIP(), []int{4} 537 } 538 539 func (x *ProcedureWALTrailer) GetVersion() uint32 { 540 if x != nil && x.Version != nil { 541 return *x.Version 542 } 543 return 0 544 } 545 546 func (x *ProcedureWALTrailer) GetTrackerPos() uint64 { 547 if x != nil && x.TrackerPos != nil { 548 return *x.TrackerPos 549 } 550 return 0 551 } 552 553 type ProcedureStoreTracker struct { 554 state protoimpl.MessageState `protogen:"open.v1"` 555 Node []*ProcedureStoreTracker_TrackerNode `protobuf:"bytes,1,rep,name=node" json:"node,omitempty"` 556 unknownFields protoimpl.UnknownFields 557 sizeCache protoimpl.SizeCache 558 } 559 560 func (x *ProcedureStoreTracker) Reset() { 561 *x = ProcedureStoreTracker{} 562 mi := &file_Procedure_proto_msgTypes[5] 563 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 564 ms.StoreMessageInfo(mi) 565 } 566 567 func (x *ProcedureStoreTracker) String() string { 568 return protoimpl.X.MessageStringOf(x) 569 } 570 571 func (*ProcedureStoreTracker) ProtoMessage() {} 572 573 func (x *ProcedureStoreTracker) ProtoReflect() protoreflect.Message { 574 mi := &file_Procedure_proto_msgTypes[5] 575 if x != nil { 576 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 577 if ms.LoadMessageInfo() == nil { 578 ms.StoreMessageInfo(mi) 579 } 580 return ms 581 } 582 return mi.MessageOf(x) 583 } 584 585 // Deprecated: Use ProcedureStoreTracker.ProtoReflect.Descriptor instead. 586 func (*ProcedureStoreTracker) Descriptor() ([]byte, []int) { 587 return file_Procedure_proto_rawDescGZIP(), []int{5} 588 } 589 590 func (x *ProcedureStoreTracker) GetNode() []*ProcedureStoreTracker_TrackerNode { 591 if x != nil { 592 return x.Node 593 } 594 return nil 595 } 596 597 type ProcedureWALEntry struct { 598 state protoimpl.MessageState `protogen:"open.v1"` 599 Type *ProcedureWALEntry_Type `protobuf:"varint,1,req,name=type,enum=pb.ProcedureWALEntry_Type" json:"type,omitempty"` 600 Procedure []*Procedure `protobuf:"bytes,2,rep,name=procedure" json:"procedure,omitempty"` 601 ProcId *uint64 `protobuf:"varint,3,opt,name=proc_id,json=procId" json:"proc_id,omitempty"` 602 unknownFields protoimpl.UnknownFields 603 sizeCache protoimpl.SizeCache 604 } 605 606 func (x *ProcedureWALEntry) Reset() { 607 *x = ProcedureWALEntry{} 608 mi := &file_Procedure_proto_msgTypes[6] 609 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 610 ms.StoreMessageInfo(mi) 611 } 612 613 func (x *ProcedureWALEntry) String() string { 614 return protoimpl.X.MessageStringOf(x) 615 } 616 617 func (*ProcedureWALEntry) ProtoMessage() {} 618 619 func (x *ProcedureWALEntry) ProtoReflect() protoreflect.Message { 620 mi := &file_Procedure_proto_msgTypes[6] 621 if x != nil { 622 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 623 if ms.LoadMessageInfo() == nil { 624 ms.StoreMessageInfo(mi) 625 } 626 return ms 627 } 628 return mi.MessageOf(x) 629 } 630 631 // Deprecated: Use ProcedureWALEntry.ProtoReflect.Descriptor instead. 632 func (*ProcedureWALEntry) Descriptor() ([]byte, []int) { 633 return file_Procedure_proto_rawDescGZIP(), []int{6} 634 } 635 636 func (x *ProcedureWALEntry) GetType() ProcedureWALEntry_Type { 637 if x != nil && x.Type != nil { 638 return *x.Type 639 } 640 return ProcedureWALEntry_PROCEDURE_WAL_EOF 641 } 642 643 func (x *ProcedureWALEntry) GetProcedure() []*Procedure { 644 if x != nil { 645 return x.Procedure 646 } 647 return nil 648 } 649 650 func (x *ProcedureWALEntry) GetProcId() uint64 { 651 if x != nil && x.ProcId != nil { 652 return *x.ProcId 653 } 654 return 0 655 } 656 657 type ProcedureStoreTracker_TrackerNode struct { 658 state protoimpl.MessageState `protogen:"open.v1"` 659 StartId *uint64 `protobuf:"varint,1,req,name=start_id,json=startId" json:"start_id,omitempty"` 660 Updated []uint64 `protobuf:"varint,2,rep,name=updated" json:"updated,omitempty"` 661 Deleted []uint64 `protobuf:"varint,3,rep,name=deleted" json:"deleted,omitempty"` 662 unknownFields protoimpl.UnknownFields 663 sizeCache protoimpl.SizeCache 664 } 665 666 func (x *ProcedureStoreTracker_TrackerNode) Reset() { 667 *x = ProcedureStoreTracker_TrackerNode{} 668 mi := &file_Procedure_proto_msgTypes[7] 669 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 670 ms.StoreMessageInfo(mi) 671 } 672 673 func (x *ProcedureStoreTracker_TrackerNode) String() string { 674 return protoimpl.X.MessageStringOf(x) 675 } 676 677 func (*ProcedureStoreTracker_TrackerNode) ProtoMessage() {} 678 679 func (x *ProcedureStoreTracker_TrackerNode) ProtoReflect() protoreflect.Message { 680 mi := &file_Procedure_proto_msgTypes[7] 681 if x != nil { 682 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 683 if ms.LoadMessageInfo() == nil { 684 ms.StoreMessageInfo(mi) 685 } 686 return ms 687 } 688 return mi.MessageOf(x) 689 } 690 691 // Deprecated: Use ProcedureStoreTracker_TrackerNode.ProtoReflect.Descriptor instead. 692 func (*ProcedureStoreTracker_TrackerNode) Descriptor() ([]byte, []int) { 693 return file_Procedure_proto_rawDescGZIP(), []int{5, 0} 694 } 695 696 func (x *ProcedureStoreTracker_TrackerNode) GetStartId() uint64 { 697 if x != nil && x.StartId != nil { 698 return *x.StartId 699 } 700 return 0 701 } 702 703 func (x *ProcedureStoreTracker_TrackerNode) GetUpdated() []uint64 { 704 if x != nil { 705 return x.Updated 706 } 707 return nil 708 } 709 710 func (x *ProcedureStoreTracker_TrackerNode) GetDeleted() []uint64 { 711 if x != nil { 712 return x.Deleted 713 } 714 return nil 715 } 716 717 var File_Procedure_proto protoreflect.FileDescriptor 718 719 var file_Procedure_proto_rawDesc = string([]byte{ 720 0x0a, 0x0f, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x64, 0x75, 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 721 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x13, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x48, 0x61, 0x6e, 0x64, 722 0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc4, 0x03, 0x0a, 0x09, 0x50, 723 0x72, 0x6f, 0x63, 0x65, 0x64, 0x75, 0x72, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x61, 0x73, 724 0x73, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 725 0x61, 0x73, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x65, 0x6e, 726 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x70, 0x61, 0x72, 0x65, 727 0x6e, 0x74, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x63, 0x5f, 0x69, 0x64, 0x18, 728 0x03, 0x20, 0x02, 0x28, 0x04, 0x52, 0x06, 0x70, 0x72, 0x6f, 0x63, 0x49, 0x64, 0x12, 0x1d, 0x0a, 729 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x02, 0x28, 730 0x04, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 731 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x77, 0x6e, 732 0x65, 0x72, 0x12, 0x28, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x06, 0x20, 0x02, 0x28, 733 0x0e, 0x32, 0x12, 0x2e, 0x70, 0x62, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x64, 0x75, 0x72, 0x65, 734 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x19, 0x0a, 0x08, 735 0x73, 0x74, 0x61, 0x63, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x07, 736 0x73, 0x74, 0x61, 0x63, 0x6b, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x61, 0x73, 0x74, 0x5f, 737 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, 0x08, 0x20, 0x02, 0x28, 0x04, 0x52, 0x0a, 0x6c, 0x61, 738 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x69, 0x6d, 0x65, 739 0x6f, 0x75, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 740 0x75, 0x74, 0x12, 0x39, 0x0a, 0x09, 0x65, 0x78, 0x63, 0x65, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 741 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x6f, 0x72, 0x65, 0x69, 742 0x67, 0x6e, 0x45, 0x78, 0x63, 0x65, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 743 0x67, 0x65, 0x52, 0x09, 0x65, 0x78, 0x63, 0x65, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 744 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x72, 745 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x64, 746 0x61, 0x74, 0x61, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x74, 0x61, 0x74, 0x65, 747 0x44, 0x61, 0x74, 0x61, 0x12, 0x22, 0x0a, 0x0b, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x5f, 0x67, 0x72, 748 0x6f, 0x75, 0x70, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x04, 0x3a, 0x01, 0x30, 0x52, 0x0a, 0x6e, 0x6f, 749 0x6e, 0x63, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x17, 0x0a, 0x05, 0x6e, 0x6f, 0x6e, 0x63, 750 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x04, 0x3a, 0x01, 0x30, 0x52, 0x05, 0x6e, 0x6f, 0x6e, 0x63, 751 0x65, 0x22, 0x35, 0x0a, 0x17, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x50, 752 0x72, 0x6f, 0x63, 0x65, 0x64, 0x75, 0x72, 0x65, 0x44, 0x61, 0x74, 0x61, 0x12, 0x1a, 0x0a, 0x08, 753 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20, 0x02, 0x28, 0x08, 0x52, 0x08, 754 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x64, 0x22, 0x31, 0x0a, 0x19, 0x53, 0x74, 0x61, 0x74, 755 0x65, 0x4d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x64, 0x75, 0x72, 756 0x65, 0x44, 0x61, 0x74, 0x61, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 757 0x20, 0x03, 0x28, 0x0d, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0x79, 0x0a, 0x12, 0x50, 758 0x72, 0x6f, 0x63, 0x65, 0x64, 0x75, 0x72, 0x65, 0x57, 0x41, 0x4c, 0x48, 0x65, 0x61, 0x64, 0x65, 759 0x72, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x02, 760 0x28, 0x0d, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x74, 761 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 762 0x15, 0x0a, 0x06, 0x6c, 0x6f, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x02, 0x28, 0x04, 0x52, 763 0x05, 0x6c, 0x6f, 0x67, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0b, 0x6d, 0x69, 0x6e, 0x5f, 0x70, 0x72, 764 0x6f, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x02, 0x28, 0x04, 0x52, 0x09, 0x6d, 0x69, 0x6e, 765 0x50, 0x72, 0x6f, 0x63, 0x49, 0x64, 0x22, 0x50, 0x0a, 0x13, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x64, 766 0x75, 0x72, 0x65, 0x57, 0x41, 0x4c, 0x54, 0x72, 0x61, 0x69, 0x6c, 0x65, 0x72, 0x12, 0x18, 0x0a, 767 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x07, 768 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x72, 0x61, 0x63, 0x6b, 769 0x65, 0x72, 0x5f, 0x70, 0x6f, 0x73, 0x18, 0x02, 0x20, 0x02, 0x28, 0x04, 0x52, 0x0a, 0x74, 0x72, 770 0x61, 0x63, 0x6b, 0x65, 0x72, 0x50, 0x6f, 0x73, 0x22, 0xb0, 0x01, 0x0a, 0x15, 0x50, 0x72, 0x6f, 771 0x63, 0x65, 0x64, 0x75, 0x72, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x54, 0x72, 0x61, 0x63, 0x6b, 772 0x65, 0x72, 0x12, 0x39, 0x0a, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 773 0x32, 0x25, 0x2e, 0x70, 0x62, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x64, 0x75, 0x72, 0x65, 0x53, 774 0x74, 0x6f, 0x72, 0x65, 0x54, 0x72, 0x61, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x54, 0x72, 0x61, 0x63, 775 0x6b, 0x65, 0x72, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x1a, 0x5c, 0x0a, 776 0x0b, 0x54, 0x72, 0x61, 0x63, 0x6b, 0x65, 0x72, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x19, 0x0a, 0x08, 777 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x02, 0x28, 0x04, 0x52, 0x07, 778 0x73, 0x74, 0x61, 0x72, 0x74, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x75, 0x70, 0x64, 0x61, 0x74, 779 0x65, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x04, 0x52, 0x07, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 780 0x64, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x03, 781 0x28, 0x04, 0x52, 0x07, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x22, 0xaa, 0x02, 0x0a, 0x11, 782 0x50, 0x72, 0x6f, 0x63, 0x65, 0x64, 0x75, 0x72, 0x65, 0x57, 0x41, 0x4c, 0x45, 0x6e, 0x74, 0x72, 783 0x79, 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0e, 0x32, 784 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x64, 0x75, 0x72, 0x65, 0x57, 0x41, 785 0x4c, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 786 0x65, 0x12, 0x2b, 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x64, 0x75, 0x72, 0x65, 0x18, 0x02, 787 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x70, 0x62, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x64, 788 0x75, 0x72, 0x65, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x64, 0x75, 0x72, 0x65, 0x12, 0x17, 789 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 790 0x06, 0x70, 0x72, 0x6f, 0x63, 0x49, 0x64, 0x22, 0x9e, 0x01, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 791 0x12, 0x15, 0x0a, 0x11, 0x50, 0x52, 0x4f, 0x43, 0x45, 0x44, 0x55, 0x52, 0x45, 0x5f, 0x57, 0x41, 792 0x4c, 0x5f, 0x45, 0x4f, 0x46, 0x10, 0x01, 0x12, 0x16, 0x0a, 0x12, 0x50, 0x52, 0x4f, 0x43, 0x45, 793 0x44, 0x55, 0x52, 0x45, 0x5f, 0x57, 0x41, 0x4c, 0x5f, 0x49, 0x4e, 0x49, 0x54, 0x10, 0x02, 0x12, 794 0x18, 0x0a, 0x14, 0x50, 0x52, 0x4f, 0x43, 0x45, 0x44, 0x55, 0x52, 0x45, 0x5f, 0x57, 0x41, 0x4c, 795 0x5f, 0x49, 0x4e, 0x53, 0x45, 0x52, 0x54, 0x10, 0x03, 0x12, 0x18, 0x0a, 0x14, 0x50, 0x52, 0x4f, 796 0x43, 0x45, 0x44, 0x55, 0x52, 0x45, 0x5f, 0x57, 0x41, 0x4c, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 797 0x45, 0x10, 0x04, 0x12, 0x18, 0x0a, 0x14, 0x50, 0x52, 0x4f, 0x43, 0x45, 0x44, 0x55, 0x52, 0x45, 798 0x5f, 0x57, 0x41, 0x4c, 0x5f, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x10, 0x05, 0x12, 0x19, 0x0a, 799 0x15, 0x50, 0x52, 0x4f, 0x43, 0x45, 0x44, 0x55, 0x52, 0x45, 0x5f, 0x57, 0x41, 0x4c, 0x5f, 0x43, 800 0x4f, 0x4d, 0x50, 0x41, 0x43, 0x54, 0x10, 0x06, 0x2a, 0x70, 0x0a, 0x0e, 0x50, 0x72, 0x6f, 0x63, 801 0x65, 0x64, 0x75, 0x72, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x10, 0x0a, 0x0c, 0x49, 0x4e, 802 0x49, 0x54, 0x49, 0x41, 0x4c, 0x49, 0x5a, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 803 0x52, 0x55, 0x4e, 0x4e, 0x41, 0x42, 0x4c, 0x45, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x57, 0x41, 804 0x49, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x03, 0x12, 0x13, 0x0a, 0x0f, 0x57, 0x41, 0x49, 0x54, 0x49, 805 0x4e, 0x47, 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x4f, 0x55, 0x54, 0x10, 0x04, 0x12, 0x0e, 0x0a, 0x0a, 806 0x52, 0x4f, 0x4c, 0x4c, 0x45, 0x44, 0x42, 0x41, 0x43, 0x4b, 0x10, 0x05, 0x12, 0x0c, 0x0a, 0x08, 807 0x46, 0x49, 0x4e, 0x49, 0x53, 0x48, 0x45, 0x44, 0x10, 0x06, 0x42, 0x4c, 0x0a, 0x2a, 0x6f, 0x72, 808 0x67, 0x2e, 0x61, 0x70, 0x61, 0x63, 0x68, 0x65, 0x2e, 0x68, 0x61, 0x64, 0x6f, 0x6f, 0x70, 0x2e, 809 0x68, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x67, 810 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x42, 0x0f, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x64, 811 0x75, 0x72, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x48, 0x01, 0x5a, 0x05, 0x2e, 0x2e, 0x2f, 812 0x70, 0x62, 0x88, 0x01, 0x01, 0xa0, 0x01, 0x01, 813 }) 814 815 var ( 816 file_Procedure_proto_rawDescOnce sync.Once 817 file_Procedure_proto_rawDescData []byte 818 ) 819 820 func file_Procedure_proto_rawDescGZIP() []byte { 821 file_Procedure_proto_rawDescOnce.Do(func() { 822 file_Procedure_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_Procedure_proto_rawDesc), len(file_Procedure_proto_rawDesc))) 823 }) 824 return file_Procedure_proto_rawDescData 825 } 826 827 var file_Procedure_proto_enumTypes = make([]protoimpl.EnumInfo, 2) 828 var file_Procedure_proto_msgTypes = make([]protoimpl.MessageInfo, 8) 829 var file_Procedure_proto_goTypes = []any{ 830 (ProcedureState)(0), // 0: pb.ProcedureState 831 (ProcedureWALEntry_Type)(0), // 1: pb.ProcedureWALEntry.Type 832 (*Procedure)(nil), // 2: pb.Procedure 833 (*SequentialProcedureData)(nil), // 3: pb.SequentialProcedureData 834 (*StateMachineProcedureData)(nil), // 4: pb.StateMachineProcedureData 835 (*ProcedureWALHeader)(nil), // 5: pb.ProcedureWALHeader 836 (*ProcedureWALTrailer)(nil), // 6: pb.ProcedureWALTrailer 837 (*ProcedureStoreTracker)(nil), // 7: pb.ProcedureStoreTracker 838 (*ProcedureWALEntry)(nil), // 8: pb.ProcedureWALEntry 839 (*ProcedureStoreTracker_TrackerNode)(nil), // 9: pb.ProcedureStoreTracker.TrackerNode 840 (*ForeignExceptionMessage)(nil), // 10: pb.ForeignExceptionMessage 841 } 842 var file_Procedure_proto_depIdxs = []int32{ 843 0, // 0: pb.Procedure.state:type_name -> pb.ProcedureState 844 10, // 1: pb.Procedure.exception:type_name -> pb.ForeignExceptionMessage 845 9, // 2: pb.ProcedureStoreTracker.node:type_name -> pb.ProcedureStoreTracker.TrackerNode 846 1, // 3: pb.ProcedureWALEntry.type:type_name -> pb.ProcedureWALEntry.Type 847 2, // 4: pb.ProcedureWALEntry.procedure:type_name -> pb.Procedure 848 5, // [5:5] is the sub-list for method output_type 849 5, // [5:5] is the sub-list for method input_type 850 5, // [5:5] is the sub-list for extension type_name 851 5, // [5:5] is the sub-list for extension extendee 852 0, // [0:5] is the sub-list for field type_name 853 } 854 855 func init() { file_Procedure_proto_init() } 856 func file_Procedure_proto_init() { 857 if File_Procedure_proto != nil { 858 return 859 } 860 file_ErrorHandling_proto_init() 861 type x struct{} 862 out := protoimpl.TypeBuilder{ 863 File: protoimpl.DescBuilder{ 864 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 865 RawDescriptor: unsafe.Slice(unsafe.StringData(file_Procedure_proto_rawDesc), len(file_Procedure_proto_rawDesc)), 866 NumEnums: 2, 867 NumMessages: 8, 868 NumExtensions: 0, 869 NumServices: 0, 870 }, 871 GoTypes: file_Procedure_proto_goTypes, 872 DependencyIndexes: file_Procedure_proto_depIdxs, 873 EnumInfos: file_Procedure_proto_enumTypes, 874 MessageInfos: file_Procedure_proto_msgTypes, 875 }.Build() 876 File_Procedure_proto = out.File 877 file_Procedure_proto_goTypes = nil 878 file_Procedure_proto_depIdxs = nil 879 }