github.com/MetalBlockchain/metalgo@v1.11.9/proto/pb/appsender/appsender.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.33.0 4 // protoc (unknown) 5 // source: appsender/appsender.proto 6 7 package appsender 8 9 import ( 10 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 11 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 12 emptypb "google.golang.org/protobuf/types/known/emptypb" 13 reflect "reflect" 14 sync "sync" 15 ) 16 17 const ( 18 // Verify that this generated code is sufficiently up-to-date. 19 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 20 // Verify that runtime/protoimpl is sufficiently up-to-date. 21 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 22 ) 23 24 type SendAppRequestMsg struct { 25 state protoimpl.MessageState 26 sizeCache protoimpl.SizeCache 27 unknownFields protoimpl.UnknownFields 28 29 // The nodes to send this request to 30 NodeIds [][]byte `protobuf:"bytes,1,rep,name=node_ids,json=nodeIds,proto3" json:"node_ids,omitempty"` 31 // The ID of this request 32 RequestId uint32 `protobuf:"varint,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` 33 // The request body 34 Request []byte `protobuf:"bytes,3,opt,name=request,proto3" json:"request,omitempty"` 35 } 36 37 func (x *SendAppRequestMsg) Reset() { 38 *x = SendAppRequestMsg{} 39 if protoimpl.UnsafeEnabled { 40 mi := &file_appsender_appsender_proto_msgTypes[0] 41 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 42 ms.StoreMessageInfo(mi) 43 } 44 } 45 46 func (x *SendAppRequestMsg) String() string { 47 return protoimpl.X.MessageStringOf(x) 48 } 49 50 func (*SendAppRequestMsg) ProtoMessage() {} 51 52 func (x *SendAppRequestMsg) ProtoReflect() protoreflect.Message { 53 mi := &file_appsender_appsender_proto_msgTypes[0] 54 if protoimpl.UnsafeEnabled && x != nil { 55 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 56 if ms.LoadMessageInfo() == nil { 57 ms.StoreMessageInfo(mi) 58 } 59 return ms 60 } 61 return mi.MessageOf(x) 62 } 63 64 // Deprecated: Use SendAppRequestMsg.ProtoReflect.Descriptor instead. 65 func (*SendAppRequestMsg) Descriptor() ([]byte, []int) { 66 return file_appsender_appsender_proto_rawDescGZIP(), []int{0} 67 } 68 69 func (x *SendAppRequestMsg) GetNodeIds() [][]byte { 70 if x != nil { 71 return x.NodeIds 72 } 73 return nil 74 } 75 76 func (x *SendAppRequestMsg) GetRequestId() uint32 { 77 if x != nil { 78 return x.RequestId 79 } 80 return 0 81 } 82 83 func (x *SendAppRequestMsg) GetRequest() []byte { 84 if x != nil { 85 return x.Request 86 } 87 return nil 88 } 89 90 type SendAppResponseMsg struct { 91 state protoimpl.MessageState 92 sizeCache protoimpl.SizeCache 93 unknownFields protoimpl.UnknownFields 94 95 // The node to send a response to 96 NodeId []byte `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` 97 // ID of this request 98 RequestId uint32 `protobuf:"varint,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` 99 // The response body 100 Response []byte `protobuf:"bytes,3,opt,name=response,proto3" json:"response,omitempty"` 101 } 102 103 func (x *SendAppResponseMsg) Reset() { 104 *x = SendAppResponseMsg{} 105 if protoimpl.UnsafeEnabled { 106 mi := &file_appsender_appsender_proto_msgTypes[1] 107 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 108 ms.StoreMessageInfo(mi) 109 } 110 } 111 112 func (x *SendAppResponseMsg) String() string { 113 return protoimpl.X.MessageStringOf(x) 114 } 115 116 func (*SendAppResponseMsg) ProtoMessage() {} 117 118 func (x *SendAppResponseMsg) ProtoReflect() protoreflect.Message { 119 mi := &file_appsender_appsender_proto_msgTypes[1] 120 if protoimpl.UnsafeEnabled && x != nil { 121 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 122 if ms.LoadMessageInfo() == nil { 123 ms.StoreMessageInfo(mi) 124 } 125 return ms 126 } 127 return mi.MessageOf(x) 128 } 129 130 // Deprecated: Use SendAppResponseMsg.ProtoReflect.Descriptor instead. 131 func (*SendAppResponseMsg) Descriptor() ([]byte, []int) { 132 return file_appsender_appsender_proto_rawDescGZIP(), []int{1} 133 } 134 135 func (x *SendAppResponseMsg) GetNodeId() []byte { 136 if x != nil { 137 return x.NodeId 138 } 139 return nil 140 } 141 142 func (x *SendAppResponseMsg) GetRequestId() uint32 { 143 if x != nil { 144 return x.RequestId 145 } 146 return 0 147 } 148 149 func (x *SendAppResponseMsg) GetResponse() []byte { 150 if x != nil { 151 return x.Response 152 } 153 return nil 154 } 155 156 type SendAppErrorMsg struct { 157 state protoimpl.MessageState 158 sizeCache protoimpl.SizeCache 159 unknownFields protoimpl.UnknownFields 160 161 // The node to send a response to 162 NodeId []byte `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` 163 // ID of this request 164 RequestId uint32 `protobuf:"varint,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` 165 // Application-defined error code 166 ErrorCode int32 `protobuf:"zigzag32,3,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"` 167 // Application-defined error message 168 ErrorMessage string `protobuf:"bytes,4,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` 169 } 170 171 func (x *SendAppErrorMsg) Reset() { 172 *x = SendAppErrorMsg{} 173 if protoimpl.UnsafeEnabled { 174 mi := &file_appsender_appsender_proto_msgTypes[2] 175 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 176 ms.StoreMessageInfo(mi) 177 } 178 } 179 180 func (x *SendAppErrorMsg) String() string { 181 return protoimpl.X.MessageStringOf(x) 182 } 183 184 func (*SendAppErrorMsg) ProtoMessage() {} 185 186 func (x *SendAppErrorMsg) ProtoReflect() protoreflect.Message { 187 mi := &file_appsender_appsender_proto_msgTypes[2] 188 if protoimpl.UnsafeEnabled && x != nil { 189 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 190 if ms.LoadMessageInfo() == nil { 191 ms.StoreMessageInfo(mi) 192 } 193 return ms 194 } 195 return mi.MessageOf(x) 196 } 197 198 // Deprecated: Use SendAppErrorMsg.ProtoReflect.Descriptor instead. 199 func (*SendAppErrorMsg) Descriptor() ([]byte, []int) { 200 return file_appsender_appsender_proto_rawDescGZIP(), []int{2} 201 } 202 203 func (x *SendAppErrorMsg) GetNodeId() []byte { 204 if x != nil { 205 return x.NodeId 206 } 207 return nil 208 } 209 210 func (x *SendAppErrorMsg) GetRequestId() uint32 { 211 if x != nil { 212 return x.RequestId 213 } 214 return 0 215 } 216 217 func (x *SendAppErrorMsg) GetErrorCode() int32 { 218 if x != nil { 219 return x.ErrorCode 220 } 221 return 0 222 } 223 224 func (x *SendAppErrorMsg) GetErrorMessage() string { 225 if x != nil { 226 return x.ErrorMessage 227 } 228 return "" 229 } 230 231 type SendAppGossipMsg struct { 232 state protoimpl.MessageState 233 sizeCache protoimpl.SizeCache 234 unknownFields protoimpl.UnknownFields 235 236 // Who to send this message to 237 NodeIds [][]byte `protobuf:"bytes,1,rep,name=node_ids,json=nodeIds,proto3" json:"node_ids,omitempty"` 238 Validators uint64 `protobuf:"varint,2,opt,name=validators,proto3" json:"validators,omitempty"` 239 NonValidators uint64 `protobuf:"varint,3,opt,name=non_validators,json=nonValidators,proto3" json:"non_validators,omitempty"` 240 Peers uint64 `protobuf:"varint,4,opt,name=peers,proto3" json:"peers,omitempty"` 241 // The message body 242 Msg []byte `protobuf:"bytes,5,opt,name=msg,proto3" json:"msg,omitempty"` 243 } 244 245 func (x *SendAppGossipMsg) Reset() { 246 *x = SendAppGossipMsg{} 247 if protoimpl.UnsafeEnabled { 248 mi := &file_appsender_appsender_proto_msgTypes[3] 249 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 250 ms.StoreMessageInfo(mi) 251 } 252 } 253 254 func (x *SendAppGossipMsg) String() string { 255 return protoimpl.X.MessageStringOf(x) 256 } 257 258 func (*SendAppGossipMsg) ProtoMessage() {} 259 260 func (x *SendAppGossipMsg) ProtoReflect() protoreflect.Message { 261 mi := &file_appsender_appsender_proto_msgTypes[3] 262 if protoimpl.UnsafeEnabled && x != nil { 263 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 264 if ms.LoadMessageInfo() == nil { 265 ms.StoreMessageInfo(mi) 266 } 267 return ms 268 } 269 return mi.MessageOf(x) 270 } 271 272 // Deprecated: Use SendAppGossipMsg.ProtoReflect.Descriptor instead. 273 func (*SendAppGossipMsg) Descriptor() ([]byte, []int) { 274 return file_appsender_appsender_proto_rawDescGZIP(), []int{3} 275 } 276 277 func (x *SendAppGossipMsg) GetNodeIds() [][]byte { 278 if x != nil { 279 return x.NodeIds 280 } 281 return nil 282 } 283 284 func (x *SendAppGossipMsg) GetValidators() uint64 { 285 if x != nil { 286 return x.Validators 287 } 288 return 0 289 } 290 291 func (x *SendAppGossipMsg) GetNonValidators() uint64 { 292 if x != nil { 293 return x.NonValidators 294 } 295 return 0 296 } 297 298 func (x *SendAppGossipMsg) GetPeers() uint64 { 299 if x != nil { 300 return x.Peers 301 } 302 return 0 303 } 304 305 func (x *SendAppGossipMsg) GetMsg() []byte { 306 if x != nil { 307 return x.Msg 308 } 309 return nil 310 } 311 312 type SendCrossChainAppRequestMsg struct { 313 state protoimpl.MessageState 314 sizeCache protoimpl.SizeCache 315 unknownFields protoimpl.UnknownFields 316 317 // The chain to send this request to 318 ChainId []byte `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` 319 // the ID of this request 320 RequestId uint32 `protobuf:"varint,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` 321 // The request body 322 Request []byte `protobuf:"bytes,3,opt,name=request,proto3" json:"request,omitempty"` 323 } 324 325 func (x *SendCrossChainAppRequestMsg) Reset() { 326 *x = SendCrossChainAppRequestMsg{} 327 if protoimpl.UnsafeEnabled { 328 mi := &file_appsender_appsender_proto_msgTypes[4] 329 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 330 ms.StoreMessageInfo(mi) 331 } 332 } 333 334 func (x *SendCrossChainAppRequestMsg) String() string { 335 return protoimpl.X.MessageStringOf(x) 336 } 337 338 func (*SendCrossChainAppRequestMsg) ProtoMessage() {} 339 340 func (x *SendCrossChainAppRequestMsg) ProtoReflect() protoreflect.Message { 341 mi := &file_appsender_appsender_proto_msgTypes[4] 342 if protoimpl.UnsafeEnabled && x != nil { 343 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 344 if ms.LoadMessageInfo() == nil { 345 ms.StoreMessageInfo(mi) 346 } 347 return ms 348 } 349 return mi.MessageOf(x) 350 } 351 352 // Deprecated: Use SendCrossChainAppRequestMsg.ProtoReflect.Descriptor instead. 353 func (*SendCrossChainAppRequestMsg) Descriptor() ([]byte, []int) { 354 return file_appsender_appsender_proto_rawDescGZIP(), []int{4} 355 } 356 357 func (x *SendCrossChainAppRequestMsg) GetChainId() []byte { 358 if x != nil { 359 return x.ChainId 360 } 361 return nil 362 } 363 364 func (x *SendCrossChainAppRequestMsg) GetRequestId() uint32 { 365 if x != nil { 366 return x.RequestId 367 } 368 return 0 369 } 370 371 func (x *SendCrossChainAppRequestMsg) GetRequest() []byte { 372 if x != nil { 373 return x.Request 374 } 375 return nil 376 } 377 378 type SendCrossChainAppResponseMsg struct { 379 state protoimpl.MessageState 380 sizeCache protoimpl.SizeCache 381 unknownFields protoimpl.UnknownFields 382 383 // The chain to send this response to 384 ChainId []byte `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` 385 // the ID of this request 386 RequestId uint32 `protobuf:"varint,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` 387 // The response body 388 Response []byte `protobuf:"bytes,3,opt,name=response,proto3" json:"response,omitempty"` 389 } 390 391 func (x *SendCrossChainAppResponseMsg) Reset() { 392 *x = SendCrossChainAppResponseMsg{} 393 if protoimpl.UnsafeEnabled { 394 mi := &file_appsender_appsender_proto_msgTypes[5] 395 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 396 ms.StoreMessageInfo(mi) 397 } 398 } 399 400 func (x *SendCrossChainAppResponseMsg) String() string { 401 return protoimpl.X.MessageStringOf(x) 402 } 403 404 func (*SendCrossChainAppResponseMsg) ProtoMessage() {} 405 406 func (x *SendCrossChainAppResponseMsg) ProtoReflect() protoreflect.Message { 407 mi := &file_appsender_appsender_proto_msgTypes[5] 408 if protoimpl.UnsafeEnabled && x != nil { 409 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 410 if ms.LoadMessageInfo() == nil { 411 ms.StoreMessageInfo(mi) 412 } 413 return ms 414 } 415 return mi.MessageOf(x) 416 } 417 418 // Deprecated: Use SendCrossChainAppResponseMsg.ProtoReflect.Descriptor instead. 419 func (*SendCrossChainAppResponseMsg) Descriptor() ([]byte, []int) { 420 return file_appsender_appsender_proto_rawDescGZIP(), []int{5} 421 } 422 423 func (x *SendCrossChainAppResponseMsg) GetChainId() []byte { 424 if x != nil { 425 return x.ChainId 426 } 427 return nil 428 } 429 430 func (x *SendCrossChainAppResponseMsg) GetRequestId() uint32 { 431 if x != nil { 432 return x.RequestId 433 } 434 return 0 435 } 436 437 func (x *SendCrossChainAppResponseMsg) GetResponse() []byte { 438 if x != nil { 439 return x.Response 440 } 441 return nil 442 } 443 444 type SendCrossChainAppErrorMsg struct { 445 state protoimpl.MessageState 446 sizeCache protoimpl.SizeCache 447 unknownFields protoimpl.UnknownFields 448 449 // The chain to send a response to 450 ChainId []byte `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` 451 // ID of this request 452 RequestId uint32 `protobuf:"varint,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` 453 // Application-defined error code 454 ErrorCode int32 `protobuf:"zigzag32,3,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"` 455 // Application-defined error message 456 ErrorMessage string `protobuf:"bytes,4,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` 457 } 458 459 func (x *SendCrossChainAppErrorMsg) Reset() { 460 *x = SendCrossChainAppErrorMsg{} 461 if protoimpl.UnsafeEnabled { 462 mi := &file_appsender_appsender_proto_msgTypes[6] 463 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 464 ms.StoreMessageInfo(mi) 465 } 466 } 467 468 func (x *SendCrossChainAppErrorMsg) String() string { 469 return protoimpl.X.MessageStringOf(x) 470 } 471 472 func (*SendCrossChainAppErrorMsg) ProtoMessage() {} 473 474 func (x *SendCrossChainAppErrorMsg) ProtoReflect() protoreflect.Message { 475 mi := &file_appsender_appsender_proto_msgTypes[6] 476 if protoimpl.UnsafeEnabled && x != nil { 477 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 478 if ms.LoadMessageInfo() == nil { 479 ms.StoreMessageInfo(mi) 480 } 481 return ms 482 } 483 return mi.MessageOf(x) 484 } 485 486 // Deprecated: Use SendCrossChainAppErrorMsg.ProtoReflect.Descriptor instead. 487 func (*SendCrossChainAppErrorMsg) Descriptor() ([]byte, []int) { 488 return file_appsender_appsender_proto_rawDescGZIP(), []int{6} 489 } 490 491 func (x *SendCrossChainAppErrorMsg) GetChainId() []byte { 492 if x != nil { 493 return x.ChainId 494 } 495 return nil 496 } 497 498 func (x *SendCrossChainAppErrorMsg) GetRequestId() uint32 { 499 if x != nil { 500 return x.RequestId 501 } 502 return 0 503 } 504 505 func (x *SendCrossChainAppErrorMsg) GetErrorCode() int32 { 506 if x != nil { 507 return x.ErrorCode 508 } 509 return 0 510 } 511 512 func (x *SendCrossChainAppErrorMsg) GetErrorMessage() string { 513 if x != nil { 514 return x.ErrorMessage 515 } 516 return "" 517 } 518 519 var File_appsender_appsender_proto protoreflect.FileDescriptor 520 521 var file_appsender_appsender_proto_rawDesc = []byte{ 522 0x0a, 0x19, 0x61, 0x70, 0x70, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x2f, 0x61, 0x70, 0x70, 0x73, 523 0x65, 0x6e, 0x64, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x09, 0x61, 0x70, 0x70, 524 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 525 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 526 0x6f, 0x74, 0x6f, 0x22, 0x67, 0x0a, 0x11, 0x53, 0x65, 0x6e, 0x64, 0x41, 0x70, 0x70, 0x52, 0x65, 527 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, 0x73, 0x67, 0x12, 0x19, 0x0a, 0x08, 0x6e, 0x6f, 0x64, 0x65, 528 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x07, 0x6e, 0x6f, 0x64, 0x65, 529 0x49, 0x64, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 530 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 531 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x03, 0x20, 532 0x01, 0x28, 0x0c, 0x52, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x68, 0x0a, 0x12, 533 0x53, 0x65, 0x6e, 0x64, 0x41, 0x70, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4d, 534 0x73, 0x67, 0x12, 0x17, 0x0a, 0x07, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 535 0x01, 0x28, 0x0c, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 536 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 537 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 538 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x72, 0x65, 539 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x8d, 0x01, 0x0a, 0x0f, 0x53, 0x65, 0x6e, 0x64, 0x41, 540 0x70, 0x70, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x73, 0x67, 0x12, 0x17, 0x0a, 0x07, 0x6e, 0x6f, 541 0x64, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x6e, 0x6f, 0x64, 542 0x65, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 543 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 544 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x63, 0x6f, 0x64, 0x65, 545 0x18, 0x03, 0x20, 0x01, 0x28, 0x11, 0x52, 0x09, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 546 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 547 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x4d, 548 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x9c, 0x01, 0x0a, 0x10, 0x53, 0x65, 0x6e, 0x64, 0x41, 549 0x70, 0x70, 0x47, 0x6f, 0x73, 0x73, 0x69, 0x70, 0x4d, 0x73, 0x67, 0x12, 0x19, 0x0a, 0x08, 0x6e, 550 0x6f, 0x64, 0x65, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x07, 0x6e, 551 0x6f, 0x64, 0x65, 0x49, 0x64, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 552 0x74, 0x6f, 0x72, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x76, 0x61, 0x6c, 0x69, 553 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x6e, 0x6f, 0x6e, 0x5f, 0x76, 0x61, 554 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0d, 555 0x6e, 0x6f, 0x6e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x12, 0x14, 0x0a, 556 0x05, 0x70, 0x65, 0x65, 0x72, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x70, 0x65, 557 0x65, 0x72, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 558 0x52, 0x03, 0x6d, 0x73, 0x67, 0x22, 0x71, 0x0a, 0x1b, 0x53, 0x65, 0x6e, 0x64, 0x43, 0x72, 0x6f, 559 0x73, 0x73, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x41, 0x70, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 560 0x74, 0x4d, 0x73, 0x67, 0x12, 0x19, 0x0a, 0x08, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x5f, 0x69, 0x64, 561 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x12, 562 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 563 0x01, 0x28, 0x0d, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x18, 564 0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 565 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x74, 0x0a, 0x1c, 0x53, 0x65, 0x6e, 0x64, 566 0x43, 0x72, 0x6f, 0x73, 0x73, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x41, 0x70, 0x70, 0x52, 0x65, 0x73, 567 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4d, 0x73, 0x67, 0x12, 0x19, 0x0a, 0x08, 0x63, 0x68, 0x61, 0x69, 568 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x63, 0x68, 0x61, 0x69, 569 0x6e, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 570 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 571 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x03, 572 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x99, 573 0x01, 0x0a, 0x19, 0x53, 0x65, 0x6e, 0x64, 0x43, 0x72, 0x6f, 0x73, 0x73, 0x43, 0x68, 0x61, 0x69, 574 0x6e, 0x41, 0x70, 0x70, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x73, 0x67, 0x12, 0x19, 0x0a, 0x08, 575 0x63, 0x68, 0x61, 0x69, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 576 0x63, 0x68, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 577 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x72, 0x65, 0x71, 578 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 579 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x11, 0x52, 0x09, 0x65, 0x72, 0x72, 0x6f, 580 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x6d, 581 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x65, 0x72, 582 0x72, 0x6f, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x32, 0xb9, 0x04, 0x0a, 0x09, 0x41, 583 0x70, 0x70, 0x53, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x46, 0x0a, 0x0e, 0x53, 0x65, 0x6e, 0x64, 584 0x41, 0x70, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x2e, 0x61, 0x70, 0x70, 585 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x41, 0x70, 0x70, 0x52, 0x65, 586 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, 0x73, 0x67, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 587 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 588 0x12, 0x48, 0x0a, 0x0f, 0x53, 0x65, 0x6e, 0x64, 0x41, 0x70, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 589 0x6e, 0x73, 0x65, 0x12, 0x1d, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x2e, 590 0x53, 0x65, 0x6e, 0x64, 0x41, 0x70, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4d, 591 0x73, 0x67, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 592 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x42, 0x0a, 0x0c, 0x53, 0x65, 593 0x6e, 0x64, 0x41, 0x70, 0x70, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x1a, 0x2e, 0x61, 0x70, 0x70, 594 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x41, 0x70, 0x70, 0x45, 0x72, 595 0x72, 0x6f, 0x72, 0x4d, 0x73, 0x67, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 596 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x44, 597 0x0a, 0x0d, 0x53, 0x65, 0x6e, 0x64, 0x41, 0x70, 0x70, 0x47, 0x6f, 0x73, 0x73, 0x69, 0x70, 0x12, 598 0x1b, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x2e, 0x53, 0x65, 0x6e, 0x64, 599 0x41, 0x70, 0x70, 0x47, 0x6f, 0x73, 0x73, 0x69, 0x70, 0x4d, 0x73, 0x67, 0x1a, 0x16, 0x2e, 0x67, 600 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 601 0x6d, 0x70, 0x74, 0x79, 0x12, 0x5a, 0x0a, 0x18, 0x53, 0x65, 0x6e, 0x64, 0x43, 0x72, 0x6f, 0x73, 602 0x73, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x41, 0x70, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 603 0x12, 0x26, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x2e, 0x53, 0x65, 0x6e, 604 0x64, 0x43, 0x72, 0x6f, 0x73, 0x73, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x41, 0x70, 0x70, 0x52, 0x65, 605 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, 0x73, 0x67, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 606 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 607 0x12, 0x5c, 0x0a, 0x19, 0x53, 0x65, 0x6e, 0x64, 0x43, 0x72, 0x6f, 0x73, 0x73, 0x43, 0x68, 0x61, 608 0x69, 0x6e, 0x41, 0x70, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x27, 0x2e, 609 0x61, 0x70, 0x70, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x43, 0x72, 610 0x6f, 0x73, 0x73, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x41, 0x70, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 611 0x6e, 0x73, 0x65, 0x4d, 0x73, 0x67, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 612 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x56, 613 0x0a, 0x16, 0x53, 0x65, 0x6e, 0x64, 0x43, 0x72, 0x6f, 0x73, 0x73, 0x43, 0x68, 0x61, 0x69, 0x6e, 614 0x41, 0x70, 0x70, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x24, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x65, 615 0x6e, 0x64, 0x65, 0x72, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x43, 0x72, 0x6f, 0x73, 0x73, 0x43, 0x68, 616 0x61, 0x69, 0x6e, 0x41, 0x70, 0x70, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x73, 0x67, 0x1a, 0x16, 617 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 618 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x42, 0x34, 0x5a, 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 619 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x76, 0x61, 0x2d, 0x6c, 0x61, 0x62, 0x73, 0x2f, 0x61, 0x76, 620 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x67, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 621 0x70, 0x62, 0x2f, 0x61, 0x70, 0x70, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x62, 0x06, 0x70, 0x72, 622 0x6f, 0x74, 0x6f, 0x33, 623 } 624 625 var ( 626 file_appsender_appsender_proto_rawDescOnce sync.Once 627 file_appsender_appsender_proto_rawDescData = file_appsender_appsender_proto_rawDesc 628 ) 629 630 func file_appsender_appsender_proto_rawDescGZIP() []byte { 631 file_appsender_appsender_proto_rawDescOnce.Do(func() { 632 file_appsender_appsender_proto_rawDescData = protoimpl.X.CompressGZIP(file_appsender_appsender_proto_rawDescData) 633 }) 634 return file_appsender_appsender_proto_rawDescData 635 } 636 637 var file_appsender_appsender_proto_msgTypes = make([]protoimpl.MessageInfo, 7) 638 var file_appsender_appsender_proto_goTypes = []interface{}{ 639 (*SendAppRequestMsg)(nil), // 0: appsender.SendAppRequestMsg 640 (*SendAppResponseMsg)(nil), // 1: appsender.SendAppResponseMsg 641 (*SendAppErrorMsg)(nil), // 2: appsender.SendAppErrorMsg 642 (*SendAppGossipMsg)(nil), // 3: appsender.SendAppGossipMsg 643 (*SendCrossChainAppRequestMsg)(nil), // 4: appsender.SendCrossChainAppRequestMsg 644 (*SendCrossChainAppResponseMsg)(nil), // 5: appsender.SendCrossChainAppResponseMsg 645 (*SendCrossChainAppErrorMsg)(nil), // 6: appsender.SendCrossChainAppErrorMsg 646 (*emptypb.Empty)(nil), // 7: google.protobuf.Empty 647 } 648 var file_appsender_appsender_proto_depIdxs = []int32{ 649 0, // 0: appsender.AppSender.SendAppRequest:input_type -> appsender.SendAppRequestMsg 650 1, // 1: appsender.AppSender.SendAppResponse:input_type -> appsender.SendAppResponseMsg 651 2, // 2: appsender.AppSender.SendAppError:input_type -> appsender.SendAppErrorMsg 652 3, // 3: appsender.AppSender.SendAppGossip:input_type -> appsender.SendAppGossipMsg 653 4, // 4: appsender.AppSender.SendCrossChainAppRequest:input_type -> appsender.SendCrossChainAppRequestMsg 654 5, // 5: appsender.AppSender.SendCrossChainAppResponse:input_type -> appsender.SendCrossChainAppResponseMsg 655 6, // 6: appsender.AppSender.SendCrossChainAppError:input_type -> appsender.SendCrossChainAppErrorMsg 656 7, // 7: appsender.AppSender.SendAppRequest:output_type -> google.protobuf.Empty 657 7, // 8: appsender.AppSender.SendAppResponse:output_type -> google.protobuf.Empty 658 7, // 9: appsender.AppSender.SendAppError:output_type -> google.protobuf.Empty 659 7, // 10: appsender.AppSender.SendAppGossip:output_type -> google.protobuf.Empty 660 7, // 11: appsender.AppSender.SendCrossChainAppRequest:output_type -> google.protobuf.Empty 661 7, // 12: appsender.AppSender.SendCrossChainAppResponse:output_type -> google.protobuf.Empty 662 7, // 13: appsender.AppSender.SendCrossChainAppError:output_type -> google.protobuf.Empty 663 7, // [7:14] is the sub-list for method output_type 664 0, // [0:7] is the sub-list for method input_type 665 0, // [0:0] is the sub-list for extension type_name 666 0, // [0:0] is the sub-list for extension extendee 667 0, // [0:0] is the sub-list for field type_name 668 } 669 670 func init() { file_appsender_appsender_proto_init() } 671 func file_appsender_appsender_proto_init() { 672 if File_appsender_appsender_proto != nil { 673 return 674 } 675 if !protoimpl.UnsafeEnabled { 676 file_appsender_appsender_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 677 switch v := v.(*SendAppRequestMsg); i { 678 case 0: 679 return &v.state 680 case 1: 681 return &v.sizeCache 682 case 2: 683 return &v.unknownFields 684 default: 685 return nil 686 } 687 } 688 file_appsender_appsender_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 689 switch v := v.(*SendAppResponseMsg); i { 690 case 0: 691 return &v.state 692 case 1: 693 return &v.sizeCache 694 case 2: 695 return &v.unknownFields 696 default: 697 return nil 698 } 699 } 700 file_appsender_appsender_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 701 switch v := v.(*SendAppErrorMsg); i { 702 case 0: 703 return &v.state 704 case 1: 705 return &v.sizeCache 706 case 2: 707 return &v.unknownFields 708 default: 709 return nil 710 } 711 } 712 file_appsender_appsender_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 713 switch v := v.(*SendAppGossipMsg); i { 714 case 0: 715 return &v.state 716 case 1: 717 return &v.sizeCache 718 case 2: 719 return &v.unknownFields 720 default: 721 return nil 722 } 723 } 724 file_appsender_appsender_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 725 switch v := v.(*SendCrossChainAppRequestMsg); i { 726 case 0: 727 return &v.state 728 case 1: 729 return &v.sizeCache 730 case 2: 731 return &v.unknownFields 732 default: 733 return nil 734 } 735 } 736 file_appsender_appsender_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 737 switch v := v.(*SendCrossChainAppResponseMsg); i { 738 case 0: 739 return &v.state 740 case 1: 741 return &v.sizeCache 742 case 2: 743 return &v.unknownFields 744 default: 745 return nil 746 } 747 } 748 file_appsender_appsender_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 749 switch v := v.(*SendCrossChainAppErrorMsg); i { 750 case 0: 751 return &v.state 752 case 1: 753 return &v.sizeCache 754 case 2: 755 return &v.unknownFields 756 default: 757 return nil 758 } 759 } 760 } 761 type x struct{} 762 out := protoimpl.TypeBuilder{ 763 File: protoimpl.DescBuilder{ 764 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 765 RawDescriptor: file_appsender_appsender_proto_rawDesc, 766 NumEnums: 0, 767 NumMessages: 7, 768 NumExtensions: 0, 769 NumServices: 1, 770 }, 771 GoTypes: file_appsender_appsender_proto_goTypes, 772 DependencyIndexes: file_appsender_appsender_proto_depIdxs, 773 MessageInfos: file_appsender_appsender_proto_msgTypes, 774 }.Build() 775 File_appsender_appsender_proto = out.File 776 file_appsender_appsender_proto_rawDesc = nil 777 file_appsender_appsender_proto_goTypes = nil 778 file_appsender_appsender_proto_depIdxs = nil 779 }