github.com/asynkron/protoactor-go@v0.0.0-20240308120642-ef91a6abee75/actor/actor.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.26.0 4 // protoc v3.15.8 5 // source: actor.proto 6 7 package actor 8 9 import ( 10 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 11 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 12 reflect "reflect" 13 sync "sync" 14 ) 15 16 const ( 17 // Verify that this generated code is sufficiently up-to-date. 18 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 19 // Verify that runtime/protoimpl is sufficiently up-to-date. 20 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 21 ) 22 23 type TerminatedReason int32 24 25 const ( 26 TerminatedReason_Stopped TerminatedReason = 0 27 TerminatedReason_AddressTerminated TerminatedReason = 1 28 TerminatedReason_NotFound TerminatedReason = 2 29 ) 30 31 // Enum value maps for TerminatedReason. 32 var ( 33 TerminatedReason_name = map[int32]string{ 34 0: "Stopped", 35 1: "AddressTerminated", 36 2: "NotFound", 37 } 38 TerminatedReason_value = map[string]int32{ 39 "Stopped": 0, 40 "AddressTerminated": 1, 41 "NotFound": 2, 42 } 43 ) 44 45 func (x TerminatedReason) Enum() *TerminatedReason { 46 p := new(TerminatedReason) 47 *p = x 48 return p 49 } 50 51 func (x TerminatedReason) String() string { 52 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 53 } 54 55 func (TerminatedReason) Descriptor() protoreflect.EnumDescriptor { 56 return file_actor_proto_enumTypes[0].Descriptor() 57 } 58 59 func (TerminatedReason) Type() protoreflect.EnumType { 60 return &file_actor_proto_enumTypes[0] 61 } 62 63 func (x TerminatedReason) Number() protoreflect.EnumNumber { 64 return protoreflect.EnumNumber(x) 65 } 66 67 // Deprecated: Use TerminatedReason.Descriptor instead. 68 func (TerminatedReason) EnumDescriptor() ([]byte, []int) { 69 return file_actor_proto_rawDescGZIP(), []int{0} 70 } 71 72 type PID struct { 73 state protoimpl.MessageState 74 sizeCache protoimpl.SizeCache 75 unknownFields protoimpl.UnknownFields 76 77 Address string `protobuf:"bytes,1,opt,name=Address,proto3" json:"Address,omitempty"` 78 Id string `protobuf:"bytes,2,opt,name=Id,proto3" json:"Id,omitempty"` 79 RequestId uint32 `protobuf:"varint,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` 80 81 //manually added 82 p *Process 83 } 84 85 func (x *PID) Reset() { 86 *x = PID{} 87 if protoimpl.UnsafeEnabled { 88 mi := &file_actor_proto_msgTypes[0] 89 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 90 ms.StoreMessageInfo(mi) 91 } 92 } 93 94 func (x *PID) String() string { 95 return protoimpl.X.MessageStringOf(x) 96 } 97 98 func (*PID) ProtoMessage() {} 99 100 func (x *PID) ProtoReflect() protoreflect.Message { 101 mi := &file_actor_proto_msgTypes[0] 102 if protoimpl.UnsafeEnabled && x != nil { 103 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 104 if ms.LoadMessageInfo() == nil { 105 ms.StoreMessageInfo(mi) 106 } 107 return ms 108 } 109 return mi.MessageOf(x) 110 } 111 112 // Deprecated: Use PID.ProtoReflect.Descriptor instead. 113 func (*PID) Descriptor() ([]byte, []int) { 114 return file_actor_proto_rawDescGZIP(), []int{0} 115 } 116 117 func (x *PID) GetAddress() string { 118 if x != nil { 119 return x.Address 120 } 121 return "" 122 } 123 124 func (x *PID) GetId() string { 125 if x != nil { 126 return x.Id 127 } 128 return "" 129 } 130 131 func (x *PID) GetRequestId() uint32 { 132 if x != nil { 133 return x.RequestId 134 } 135 return 0 136 } 137 138 // user messages 139 type PoisonPill struct { 140 state protoimpl.MessageState 141 sizeCache protoimpl.SizeCache 142 unknownFields protoimpl.UnknownFields 143 } 144 145 func (x *PoisonPill) Reset() { 146 *x = PoisonPill{} 147 if protoimpl.UnsafeEnabled { 148 mi := &file_actor_proto_msgTypes[1] 149 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 150 ms.StoreMessageInfo(mi) 151 } 152 } 153 154 func (x *PoisonPill) String() string { 155 return protoimpl.X.MessageStringOf(x) 156 } 157 158 func (*PoisonPill) ProtoMessage() {} 159 160 func (x *PoisonPill) ProtoReflect() protoreflect.Message { 161 mi := &file_actor_proto_msgTypes[1] 162 if protoimpl.UnsafeEnabled && x != nil { 163 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 164 if ms.LoadMessageInfo() == nil { 165 ms.StoreMessageInfo(mi) 166 } 167 return ms 168 } 169 return mi.MessageOf(x) 170 } 171 172 // Deprecated: Use PoisonPill.ProtoReflect.Descriptor instead. 173 func (*PoisonPill) Descriptor() ([]byte, []int) { 174 return file_actor_proto_rawDescGZIP(), []int{1} 175 } 176 177 type DeadLetterResponse struct { 178 state protoimpl.MessageState 179 sizeCache protoimpl.SizeCache 180 unknownFields protoimpl.UnknownFields 181 182 Target *PID `protobuf:"bytes,1,opt,name=Target,proto3" json:"Target,omitempty"` 183 } 184 185 func (x *DeadLetterResponse) Reset() { 186 *x = DeadLetterResponse{} 187 if protoimpl.UnsafeEnabled { 188 mi := &file_actor_proto_msgTypes[2] 189 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 190 ms.StoreMessageInfo(mi) 191 } 192 } 193 194 func (x *DeadLetterResponse) String() string { 195 return protoimpl.X.MessageStringOf(x) 196 } 197 198 func (*DeadLetterResponse) ProtoMessage() {} 199 200 func (x *DeadLetterResponse) ProtoReflect() protoreflect.Message { 201 mi := &file_actor_proto_msgTypes[2] 202 if protoimpl.UnsafeEnabled && x != nil { 203 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 204 if ms.LoadMessageInfo() == nil { 205 ms.StoreMessageInfo(mi) 206 } 207 return ms 208 } 209 return mi.MessageOf(x) 210 } 211 212 // Deprecated: Use DeadLetterResponse.ProtoReflect.Descriptor instead. 213 func (*DeadLetterResponse) Descriptor() ([]byte, []int) { 214 return file_actor_proto_rawDescGZIP(), []int{2} 215 } 216 217 func (x *DeadLetterResponse) GetTarget() *PID { 218 if x != nil { 219 return x.Target 220 } 221 return nil 222 } 223 224 // system messages 225 type Watch struct { 226 state protoimpl.MessageState 227 sizeCache protoimpl.SizeCache 228 unknownFields protoimpl.UnknownFields 229 230 Watcher *PID `protobuf:"bytes,1,opt,name=Watcher,proto3" json:"Watcher,omitempty"` 231 } 232 233 func (x *Watch) Reset() { 234 *x = Watch{} 235 if protoimpl.UnsafeEnabled { 236 mi := &file_actor_proto_msgTypes[3] 237 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 238 ms.StoreMessageInfo(mi) 239 } 240 } 241 242 func (x *Watch) String() string { 243 return protoimpl.X.MessageStringOf(x) 244 } 245 246 func (*Watch) ProtoMessage() {} 247 248 func (x *Watch) ProtoReflect() protoreflect.Message { 249 mi := &file_actor_proto_msgTypes[3] 250 if protoimpl.UnsafeEnabled && x != nil { 251 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 252 if ms.LoadMessageInfo() == nil { 253 ms.StoreMessageInfo(mi) 254 } 255 return ms 256 } 257 return mi.MessageOf(x) 258 } 259 260 // Deprecated: Use Watch.ProtoReflect.Descriptor instead. 261 func (*Watch) Descriptor() ([]byte, []int) { 262 return file_actor_proto_rawDescGZIP(), []int{3} 263 } 264 265 func (x *Watch) GetWatcher() *PID { 266 if x != nil { 267 return x.Watcher 268 } 269 return nil 270 } 271 272 type Unwatch struct { 273 state protoimpl.MessageState 274 sizeCache protoimpl.SizeCache 275 unknownFields protoimpl.UnknownFields 276 277 Watcher *PID `protobuf:"bytes,1,opt,name=Watcher,proto3" json:"Watcher,omitempty"` 278 } 279 280 func (x *Unwatch) Reset() { 281 *x = Unwatch{} 282 if protoimpl.UnsafeEnabled { 283 mi := &file_actor_proto_msgTypes[4] 284 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 285 ms.StoreMessageInfo(mi) 286 } 287 } 288 289 func (x *Unwatch) String() string { 290 return protoimpl.X.MessageStringOf(x) 291 } 292 293 func (*Unwatch) ProtoMessage() {} 294 295 func (x *Unwatch) ProtoReflect() protoreflect.Message { 296 mi := &file_actor_proto_msgTypes[4] 297 if protoimpl.UnsafeEnabled && x != nil { 298 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 299 if ms.LoadMessageInfo() == nil { 300 ms.StoreMessageInfo(mi) 301 } 302 return ms 303 } 304 return mi.MessageOf(x) 305 } 306 307 // Deprecated: Use Unwatch.ProtoReflect.Descriptor instead. 308 func (*Unwatch) Descriptor() ([]byte, []int) { 309 return file_actor_proto_rawDescGZIP(), []int{4} 310 } 311 312 func (x *Unwatch) GetWatcher() *PID { 313 if x != nil { 314 return x.Watcher 315 } 316 return nil 317 } 318 319 type Terminated struct { 320 state protoimpl.MessageState 321 sizeCache protoimpl.SizeCache 322 unknownFields protoimpl.UnknownFields 323 324 Who *PID `protobuf:"bytes,1,opt,name=who,proto3" json:"who,omitempty"` 325 Why TerminatedReason `protobuf:"varint,2,opt,name=Why,proto3,enum=actor.TerminatedReason" json:"Why,omitempty"` 326 } 327 328 func (x *Terminated) Reset() { 329 *x = Terminated{} 330 if protoimpl.UnsafeEnabled { 331 mi := &file_actor_proto_msgTypes[5] 332 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 333 ms.StoreMessageInfo(mi) 334 } 335 } 336 337 func (x *Terminated) String() string { 338 return protoimpl.X.MessageStringOf(x) 339 } 340 341 func (*Terminated) ProtoMessage() {} 342 343 func (x *Terminated) ProtoReflect() protoreflect.Message { 344 mi := &file_actor_proto_msgTypes[5] 345 if protoimpl.UnsafeEnabled && x != nil { 346 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 347 if ms.LoadMessageInfo() == nil { 348 ms.StoreMessageInfo(mi) 349 } 350 return ms 351 } 352 return mi.MessageOf(x) 353 } 354 355 // Deprecated: Use Terminated.ProtoReflect.Descriptor instead. 356 func (*Terminated) Descriptor() ([]byte, []int) { 357 return file_actor_proto_rawDescGZIP(), []int{5} 358 } 359 360 func (x *Terminated) GetWho() *PID { 361 if x != nil { 362 return x.Who 363 } 364 return nil 365 } 366 367 func (x *Terminated) GetWhy() TerminatedReason { 368 if x != nil { 369 return x.Why 370 } 371 return TerminatedReason_Stopped 372 } 373 374 type Stop struct { 375 state protoimpl.MessageState 376 sizeCache protoimpl.SizeCache 377 unknownFields protoimpl.UnknownFields 378 } 379 380 func (x *Stop) Reset() { 381 *x = Stop{} 382 if protoimpl.UnsafeEnabled { 383 mi := &file_actor_proto_msgTypes[6] 384 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 385 ms.StoreMessageInfo(mi) 386 } 387 } 388 389 func (x *Stop) String() string { 390 return protoimpl.X.MessageStringOf(x) 391 } 392 393 func (*Stop) ProtoMessage() {} 394 395 func (x *Stop) ProtoReflect() protoreflect.Message { 396 mi := &file_actor_proto_msgTypes[6] 397 if protoimpl.UnsafeEnabled && x != nil { 398 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 399 if ms.LoadMessageInfo() == nil { 400 ms.StoreMessageInfo(mi) 401 } 402 return ms 403 } 404 return mi.MessageOf(x) 405 } 406 407 // Deprecated: Use Stop.ProtoReflect.Descriptor instead. 408 func (*Stop) Descriptor() ([]byte, []int) { 409 return file_actor_proto_rawDescGZIP(), []int{6} 410 } 411 412 type Touch struct { 413 state protoimpl.MessageState 414 sizeCache protoimpl.SizeCache 415 unknownFields protoimpl.UnknownFields 416 } 417 418 func (x *Touch) Reset() { 419 *x = Touch{} 420 if protoimpl.UnsafeEnabled { 421 mi := &file_actor_proto_msgTypes[7] 422 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 423 ms.StoreMessageInfo(mi) 424 } 425 } 426 427 func (x *Touch) String() string { 428 return protoimpl.X.MessageStringOf(x) 429 } 430 431 func (*Touch) ProtoMessage() {} 432 433 func (x *Touch) ProtoReflect() protoreflect.Message { 434 mi := &file_actor_proto_msgTypes[7] 435 if protoimpl.UnsafeEnabled && x != nil { 436 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 437 if ms.LoadMessageInfo() == nil { 438 ms.StoreMessageInfo(mi) 439 } 440 return ms 441 } 442 return mi.MessageOf(x) 443 } 444 445 // Deprecated: Use Touch.ProtoReflect.Descriptor instead. 446 func (*Touch) Descriptor() ([]byte, []int) { 447 return file_actor_proto_rawDescGZIP(), []int{7} 448 } 449 450 type Touched struct { 451 state protoimpl.MessageState 452 sizeCache protoimpl.SizeCache 453 unknownFields protoimpl.UnknownFields 454 455 Who *PID `protobuf:"bytes,1,opt,name=who,proto3" json:"who,omitempty"` 456 } 457 458 func (x *Touched) Reset() { 459 *x = Touched{} 460 if protoimpl.UnsafeEnabled { 461 mi := &file_actor_proto_msgTypes[8] 462 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 463 ms.StoreMessageInfo(mi) 464 } 465 } 466 467 func (x *Touched) String() string { 468 return protoimpl.X.MessageStringOf(x) 469 } 470 471 func (*Touched) ProtoMessage() {} 472 473 func (x *Touched) ProtoReflect() protoreflect.Message { 474 mi := &file_actor_proto_msgTypes[8] 475 if protoimpl.UnsafeEnabled && x != nil { 476 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 477 if ms.LoadMessageInfo() == nil { 478 ms.StoreMessageInfo(mi) 479 } 480 return ms 481 } 482 return mi.MessageOf(x) 483 } 484 485 // Deprecated: Use Touched.ProtoReflect.Descriptor instead. 486 func (*Touched) Descriptor() ([]byte, []int) { 487 return file_actor_proto_rawDescGZIP(), []int{8} 488 } 489 490 func (x *Touched) GetWho() *PID { 491 if x != nil { 492 return x.Who 493 } 494 return nil 495 } 496 497 var File_actor_proto protoreflect.FileDescriptor 498 499 var file_actor_proto_rawDesc = []byte{ 500 0x0a, 0x0b, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x05, 0x61, 501 0x63, 0x74, 0x6f, 0x72, 0x22, 0x4e, 0x0a, 0x03, 0x50, 0x49, 0x44, 0x12, 0x18, 0x0a, 0x07, 0x41, 502 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x41, 0x64, 503 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 504 0x09, 0x52, 0x02, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 505 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 506 0x73, 0x74, 0x49, 0x64, 0x22, 0x0c, 0x0a, 0x0a, 0x50, 0x6f, 0x69, 0x73, 0x6f, 0x6e, 0x50, 0x69, 507 0x6c, 0x6c, 0x22, 0x38, 0x0a, 0x12, 0x44, 0x65, 0x61, 0x64, 0x4c, 0x65, 0x74, 0x74, 0x65, 0x72, 508 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x22, 0x0a, 0x06, 0x54, 0x61, 0x72, 0x67, 509 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x61, 0x63, 0x74, 0x6f, 0x72, 510 0x2e, 0x50, 0x49, 0x44, 0x52, 0x06, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x22, 0x2d, 0x0a, 0x05, 511 0x57, 0x61, 0x74, 0x63, 0x68, 0x12, 0x24, 0x0a, 0x07, 0x57, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 512 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x50, 513 0x49, 0x44, 0x52, 0x07, 0x57, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x22, 0x2f, 0x0a, 0x07, 0x55, 514 0x6e, 0x77, 0x61, 0x74, 0x63, 0x68, 0x12, 0x24, 0x0a, 0x07, 0x57, 0x61, 0x74, 0x63, 0x68, 0x65, 515 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x2e, 516 0x50, 0x49, 0x44, 0x52, 0x07, 0x57, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x22, 0x55, 0x0a, 0x0a, 517 0x54, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x12, 0x1c, 0x0a, 0x03, 0x77, 0x68, 518 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x2e, 519 0x50, 0x49, 0x44, 0x52, 0x03, 0x77, 0x68, 0x6f, 0x12, 0x29, 0x0a, 0x03, 0x57, 0x68, 0x79, 0x18, 520 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x54, 0x65, 521 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x52, 0x03, 522 0x57, 0x68, 0x79, 0x22, 0x06, 0x0a, 0x04, 0x53, 0x74, 0x6f, 0x70, 0x22, 0x07, 0x0a, 0x05, 0x54, 523 0x6f, 0x75, 0x63, 0x68, 0x22, 0x27, 0x0a, 0x07, 0x54, 0x6f, 0x75, 0x63, 0x68, 0x65, 0x64, 0x12, 524 0x1c, 0x0a, 0x03, 0x77, 0x68, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x61, 525 0x63, 0x74, 0x6f, 0x72, 0x2e, 0x50, 0x49, 0x44, 0x52, 0x03, 0x77, 0x68, 0x6f, 0x2a, 0x44, 0x0a, 526 0x10, 0x54, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x61, 0x73, 0x6f, 527 0x6e, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x74, 0x6f, 0x70, 0x70, 0x65, 0x64, 0x10, 0x00, 0x12, 0x15, 528 0x0a, 0x11, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x54, 0x65, 0x72, 0x6d, 0x69, 0x6e, 0x61, 529 0x74, 0x65, 0x64, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x4e, 0x6f, 0x74, 0x46, 0x6f, 0x75, 0x6e, 530 0x64, 0x10, 0x02, 0x42, 0x2b, 0x5a, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 531 0x6d, 0x2f, 0x41, 0x73, 0x79, 0x6e, 0x6b, 0x72, 0x6f, 0x6e, 0x49, 0x54, 0x2f, 0x70, 0x72, 0x6f, 532 0x74, 0x6f, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x2d, 0x67, 0x6f, 0x2f, 0x61, 0x63, 0x74, 0x6f, 0x72, 533 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 534 } 535 536 var ( 537 file_actor_proto_rawDescOnce sync.Once 538 file_actor_proto_rawDescData = file_actor_proto_rawDesc 539 ) 540 541 func file_actor_proto_rawDescGZIP() []byte { 542 file_actor_proto_rawDescOnce.Do(func() { 543 file_actor_proto_rawDescData = protoimpl.X.CompressGZIP(file_actor_proto_rawDescData) 544 }) 545 return file_actor_proto_rawDescData 546 } 547 548 var file_actor_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 549 var file_actor_proto_msgTypes = make([]protoimpl.MessageInfo, 9) 550 var file_actor_proto_goTypes = []interface{}{ 551 (TerminatedReason)(0), // 0: actor.TerminatedReason 552 (*PID)(nil), // 1: actor.PID 553 (*PoisonPill)(nil), // 2: actor.PoisonPill 554 (*DeadLetterResponse)(nil), // 3: actor.DeadLetterResponse 555 (*Watch)(nil), // 4: actor.Watch 556 (*Unwatch)(nil), // 5: actor.Unwatch 557 (*Terminated)(nil), // 6: actor.Terminated 558 (*Stop)(nil), // 7: actor.Stop 559 (*Touch)(nil), // 8: actor.Touch 560 (*Touched)(nil), // 9: actor.Touched 561 } 562 var file_actor_proto_depIdxs = []int32{ 563 1, // 0: actor.DeadLetterResponse.Target:type_name -> actor.PID 564 1, // 1: actor.Watch.Watcher:type_name -> actor.PID 565 1, // 2: actor.Unwatch.Watcher:type_name -> actor.PID 566 1, // 3: actor.Terminated.who:type_name -> actor.PID 567 0, // 4: actor.Terminated.Why:type_name -> actor.TerminatedReason 568 1, // 5: actor.Touched.who:type_name -> actor.PID 569 6, // [6:6] is the sub-list for method output_type 570 6, // [6:6] is the sub-list for method input_type 571 6, // [6:6] is the sub-list for extension type_name 572 6, // [6:6] is the sub-list for extension extendee 573 0, // [0:6] is the sub-list for field type_name 574 } 575 576 func init() { file_actor_proto_init() } 577 func file_actor_proto_init() { 578 if File_actor_proto != nil { 579 return 580 } 581 if !protoimpl.UnsafeEnabled { 582 file_actor_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 583 switch v := v.(*PID); i { 584 case 0: 585 return &v.state 586 case 1: 587 return &v.sizeCache 588 case 2: 589 return &v.unknownFields 590 default: 591 return nil 592 } 593 } 594 file_actor_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 595 switch v := v.(*PoisonPill); i { 596 case 0: 597 return &v.state 598 case 1: 599 return &v.sizeCache 600 case 2: 601 return &v.unknownFields 602 default: 603 return nil 604 } 605 } 606 file_actor_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 607 switch v := v.(*DeadLetterResponse); i { 608 case 0: 609 return &v.state 610 case 1: 611 return &v.sizeCache 612 case 2: 613 return &v.unknownFields 614 default: 615 return nil 616 } 617 } 618 file_actor_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 619 switch v := v.(*Watch); i { 620 case 0: 621 return &v.state 622 case 1: 623 return &v.sizeCache 624 case 2: 625 return &v.unknownFields 626 default: 627 return nil 628 } 629 } 630 file_actor_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 631 switch v := v.(*Unwatch); i { 632 case 0: 633 return &v.state 634 case 1: 635 return &v.sizeCache 636 case 2: 637 return &v.unknownFields 638 default: 639 return nil 640 } 641 } 642 file_actor_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 643 switch v := v.(*Terminated); i { 644 case 0: 645 return &v.state 646 case 1: 647 return &v.sizeCache 648 case 2: 649 return &v.unknownFields 650 default: 651 return nil 652 } 653 } 654 file_actor_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 655 switch v := v.(*Stop); i { 656 case 0: 657 return &v.state 658 case 1: 659 return &v.sizeCache 660 case 2: 661 return &v.unknownFields 662 default: 663 return nil 664 } 665 } 666 file_actor_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 667 switch v := v.(*Touch); i { 668 case 0: 669 return &v.state 670 case 1: 671 return &v.sizeCache 672 case 2: 673 return &v.unknownFields 674 default: 675 return nil 676 } 677 } 678 file_actor_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 679 switch v := v.(*Touched); i { 680 case 0: 681 return &v.state 682 case 1: 683 return &v.sizeCache 684 case 2: 685 return &v.unknownFields 686 default: 687 return nil 688 } 689 } 690 } 691 type x struct{} 692 out := protoimpl.TypeBuilder{ 693 File: protoimpl.DescBuilder{ 694 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 695 RawDescriptor: file_actor_proto_rawDesc, 696 NumEnums: 1, 697 NumMessages: 9, 698 NumExtensions: 0, 699 NumServices: 0, 700 }, 701 GoTypes: file_actor_proto_goTypes, 702 DependencyIndexes: file_actor_proto_depIdxs, 703 EnumInfos: file_actor_proto_enumTypes, 704 MessageInfos: file_actor_proto_msgTypes, 705 }.Build() 706 File_actor_proto = out.File 707 file_actor_proto_rawDesc = nil 708 file_actor_proto_goTypes = nil 709 file_actor_proto_depIdxs = nil 710 }