github.com/livekit/protocol@v1.16.1-0.20240517185851-47e4c6bba773/rpc/io.pb.go (about) 1 // Copyright 2023 LiveKit, Inc. 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.34.1 18 // protoc v4.23.4 19 // source: rpc/io.proto 20 21 package rpc 22 23 import ( 24 livekit "github.com/livekit/protocol/livekit" 25 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 26 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 27 emptypb "google.golang.org/protobuf/types/known/emptypb" 28 reflect "reflect" 29 sync "sync" 30 ) 31 32 const ( 33 // Verify that this generated code is sufficiently up-to-date. 34 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 35 // Verify that runtime/protoimpl is sufficiently up-to-date. 36 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 37 ) 38 39 type SIPDispatchResult int32 40 41 const ( 42 SIPDispatchResult_LEGACY_ACCEPT_OR_PIN SIPDispatchResult = 0 // check request_pin field 43 SIPDispatchResult_ACCEPT SIPDispatchResult = 1 44 SIPDispatchResult_REQUEST_PIN SIPDispatchResult = 2 45 SIPDispatchResult_REJECT SIPDispatchResult = 3 46 SIPDispatchResult_DROP SIPDispatchResult = 4 47 ) 48 49 // Enum value maps for SIPDispatchResult. 50 var ( 51 SIPDispatchResult_name = map[int32]string{ 52 0: "LEGACY_ACCEPT_OR_PIN", 53 1: "ACCEPT", 54 2: "REQUEST_PIN", 55 3: "REJECT", 56 4: "DROP", 57 } 58 SIPDispatchResult_value = map[string]int32{ 59 "LEGACY_ACCEPT_OR_PIN": 0, 60 "ACCEPT": 1, 61 "REQUEST_PIN": 2, 62 "REJECT": 3, 63 "DROP": 4, 64 } 65 ) 66 67 func (x SIPDispatchResult) Enum() *SIPDispatchResult { 68 p := new(SIPDispatchResult) 69 *p = x 70 return p 71 } 72 73 func (x SIPDispatchResult) String() string { 74 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 75 } 76 77 func (SIPDispatchResult) Descriptor() protoreflect.EnumDescriptor { 78 return file_rpc_io_proto_enumTypes[0].Descriptor() 79 } 80 81 func (SIPDispatchResult) Type() protoreflect.EnumType { 82 return &file_rpc_io_proto_enumTypes[0] 83 } 84 85 func (x SIPDispatchResult) Number() protoreflect.EnumNumber { 86 return protoreflect.EnumNumber(x) 87 } 88 89 // Deprecated: Use SIPDispatchResult.Descriptor instead. 90 func (SIPDispatchResult) EnumDescriptor() ([]byte, []int) { 91 return file_rpc_io_proto_rawDescGZIP(), []int{0} 92 } 93 94 type GetEgressRequest struct { 95 state protoimpl.MessageState 96 sizeCache protoimpl.SizeCache 97 unknownFields protoimpl.UnknownFields 98 99 EgressId string `protobuf:"bytes,1,opt,name=egress_id,json=egressId,proto3" json:"egress_id,omitempty"` 100 } 101 102 func (x *GetEgressRequest) Reset() { 103 *x = GetEgressRequest{} 104 if protoimpl.UnsafeEnabled { 105 mi := &file_rpc_io_proto_msgTypes[0] 106 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 107 ms.StoreMessageInfo(mi) 108 } 109 } 110 111 func (x *GetEgressRequest) String() string { 112 return protoimpl.X.MessageStringOf(x) 113 } 114 115 func (*GetEgressRequest) ProtoMessage() {} 116 117 func (x *GetEgressRequest) ProtoReflect() protoreflect.Message { 118 mi := &file_rpc_io_proto_msgTypes[0] 119 if protoimpl.UnsafeEnabled && x != nil { 120 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 121 if ms.LoadMessageInfo() == nil { 122 ms.StoreMessageInfo(mi) 123 } 124 return ms 125 } 126 return mi.MessageOf(x) 127 } 128 129 // Deprecated: Use GetEgressRequest.ProtoReflect.Descriptor instead. 130 func (*GetEgressRequest) Descriptor() ([]byte, []int) { 131 return file_rpc_io_proto_rawDescGZIP(), []int{0} 132 } 133 134 func (x *GetEgressRequest) GetEgressId() string { 135 if x != nil { 136 return x.EgressId 137 } 138 return "" 139 } 140 141 type UpdateMetricsRequest struct { 142 state protoimpl.MessageState 143 sizeCache protoimpl.SizeCache 144 unknownFields protoimpl.UnknownFields 145 146 Info *livekit.EgressInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` 147 AvgCpuUsage float32 `protobuf:"fixed32,3,opt,name=avg_cpu_usage,json=avgCpuUsage,proto3" json:"avg_cpu_usage,omitempty"` 148 MaxCpuUsage float32 `protobuf:"fixed32,4,opt,name=max_cpu_usage,json=maxCpuUsage,proto3" json:"max_cpu_usage,omitempty"` 149 } 150 151 func (x *UpdateMetricsRequest) Reset() { 152 *x = UpdateMetricsRequest{} 153 if protoimpl.UnsafeEnabled { 154 mi := &file_rpc_io_proto_msgTypes[1] 155 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 156 ms.StoreMessageInfo(mi) 157 } 158 } 159 160 func (x *UpdateMetricsRequest) String() string { 161 return protoimpl.X.MessageStringOf(x) 162 } 163 164 func (*UpdateMetricsRequest) ProtoMessage() {} 165 166 func (x *UpdateMetricsRequest) ProtoReflect() protoreflect.Message { 167 mi := &file_rpc_io_proto_msgTypes[1] 168 if protoimpl.UnsafeEnabled && x != nil { 169 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 170 if ms.LoadMessageInfo() == nil { 171 ms.StoreMessageInfo(mi) 172 } 173 return ms 174 } 175 return mi.MessageOf(x) 176 } 177 178 // Deprecated: Use UpdateMetricsRequest.ProtoReflect.Descriptor instead. 179 func (*UpdateMetricsRequest) Descriptor() ([]byte, []int) { 180 return file_rpc_io_proto_rawDescGZIP(), []int{1} 181 } 182 183 func (x *UpdateMetricsRequest) GetInfo() *livekit.EgressInfo { 184 if x != nil { 185 return x.Info 186 } 187 return nil 188 } 189 190 func (x *UpdateMetricsRequest) GetAvgCpuUsage() float32 { 191 if x != nil { 192 return x.AvgCpuUsage 193 } 194 return 0 195 } 196 197 func (x *UpdateMetricsRequest) GetMaxCpuUsage() float32 { 198 if x != nil { 199 return x.MaxCpuUsage 200 } 201 return 0 202 } 203 204 // Query an ingress info from an ingress ID or stream key 205 type GetIngressInfoRequest struct { 206 state protoimpl.MessageState 207 sizeCache protoimpl.SizeCache 208 unknownFields protoimpl.UnknownFields 209 210 IngressId string `protobuf:"bytes,1,opt,name=ingress_id,json=ingressId,proto3" json:"ingress_id,omitempty"` 211 StreamKey string `protobuf:"bytes,2,opt,name=stream_key,json=streamKey,proto3" json:"stream_key,omitempty"` 212 } 213 214 func (x *GetIngressInfoRequest) Reset() { 215 *x = GetIngressInfoRequest{} 216 if protoimpl.UnsafeEnabled { 217 mi := &file_rpc_io_proto_msgTypes[2] 218 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 219 ms.StoreMessageInfo(mi) 220 } 221 } 222 223 func (x *GetIngressInfoRequest) String() string { 224 return protoimpl.X.MessageStringOf(x) 225 } 226 227 func (*GetIngressInfoRequest) ProtoMessage() {} 228 229 func (x *GetIngressInfoRequest) ProtoReflect() protoreflect.Message { 230 mi := &file_rpc_io_proto_msgTypes[2] 231 if protoimpl.UnsafeEnabled && x != nil { 232 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 233 if ms.LoadMessageInfo() == nil { 234 ms.StoreMessageInfo(mi) 235 } 236 return ms 237 } 238 return mi.MessageOf(x) 239 } 240 241 // Deprecated: Use GetIngressInfoRequest.ProtoReflect.Descriptor instead. 242 func (*GetIngressInfoRequest) Descriptor() ([]byte, []int) { 243 return file_rpc_io_proto_rawDescGZIP(), []int{2} 244 } 245 246 func (x *GetIngressInfoRequest) GetIngressId() string { 247 if x != nil { 248 return x.IngressId 249 } 250 return "" 251 } 252 253 func (x *GetIngressInfoRequest) GetStreamKey() string { 254 if x != nil { 255 return x.StreamKey 256 } 257 return "" 258 } 259 260 type GetIngressInfoResponse struct { 261 state protoimpl.MessageState 262 sizeCache protoimpl.SizeCache 263 unknownFields protoimpl.UnknownFields 264 265 Info *livekit.IngressInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` 266 Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` 267 WsUrl string `protobuf:"bytes,3,opt,name=ws_url,json=wsUrl,proto3" json:"ws_url,omitempty"` 268 LoggingFields map[string]string `protobuf:"bytes,4,rep,name=logging_fields,json=loggingFields,proto3" json:"logging_fields,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 269 } 270 271 func (x *GetIngressInfoResponse) Reset() { 272 *x = GetIngressInfoResponse{} 273 if protoimpl.UnsafeEnabled { 274 mi := &file_rpc_io_proto_msgTypes[3] 275 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 276 ms.StoreMessageInfo(mi) 277 } 278 } 279 280 func (x *GetIngressInfoResponse) String() string { 281 return protoimpl.X.MessageStringOf(x) 282 } 283 284 func (*GetIngressInfoResponse) ProtoMessage() {} 285 286 func (x *GetIngressInfoResponse) ProtoReflect() protoreflect.Message { 287 mi := &file_rpc_io_proto_msgTypes[3] 288 if protoimpl.UnsafeEnabled && x != nil { 289 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 290 if ms.LoadMessageInfo() == nil { 291 ms.StoreMessageInfo(mi) 292 } 293 return ms 294 } 295 return mi.MessageOf(x) 296 } 297 298 // Deprecated: Use GetIngressInfoResponse.ProtoReflect.Descriptor instead. 299 func (*GetIngressInfoResponse) Descriptor() ([]byte, []int) { 300 return file_rpc_io_proto_rawDescGZIP(), []int{3} 301 } 302 303 func (x *GetIngressInfoResponse) GetInfo() *livekit.IngressInfo { 304 if x != nil { 305 return x.Info 306 } 307 return nil 308 } 309 310 func (x *GetIngressInfoResponse) GetToken() string { 311 if x != nil { 312 return x.Token 313 } 314 return "" 315 } 316 317 func (x *GetIngressInfoResponse) GetWsUrl() string { 318 if x != nil { 319 return x.WsUrl 320 } 321 return "" 322 } 323 324 func (x *GetIngressInfoResponse) GetLoggingFields() map[string]string { 325 if x != nil { 326 return x.LoggingFields 327 } 328 return nil 329 } 330 331 // Request to store an update to the ingress state ingress -> service 332 type UpdateIngressStateRequest struct { 333 state protoimpl.MessageState 334 sizeCache protoimpl.SizeCache 335 unknownFields protoimpl.UnknownFields 336 337 IngressId string `protobuf:"bytes,1,opt,name=ingress_id,json=ingressId,proto3" json:"ingress_id,omitempty"` 338 State *livekit.IngressState `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` 339 } 340 341 func (x *UpdateIngressStateRequest) Reset() { 342 *x = UpdateIngressStateRequest{} 343 if protoimpl.UnsafeEnabled { 344 mi := &file_rpc_io_proto_msgTypes[4] 345 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 346 ms.StoreMessageInfo(mi) 347 } 348 } 349 350 func (x *UpdateIngressStateRequest) String() string { 351 return protoimpl.X.MessageStringOf(x) 352 } 353 354 func (*UpdateIngressStateRequest) ProtoMessage() {} 355 356 func (x *UpdateIngressStateRequest) ProtoReflect() protoreflect.Message { 357 mi := &file_rpc_io_proto_msgTypes[4] 358 if protoimpl.UnsafeEnabled && x != nil { 359 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 360 if ms.LoadMessageInfo() == nil { 361 ms.StoreMessageInfo(mi) 362 } 363 return ms 364 } 365 return mi.MessageOf(x) 366 } 367 368 // Deprecated: Use UpdateIngressStateRequest.ProtoReflect.Descriptor instead. 369 func (*UpdateIngressStateRequest) Descriptor() ([]byte, []int) { 370 return file_rpc_io_proto_rawDescGZIP(), []int{4} 371 } 372 373 func (x *UpdateIngressStateRequest) GetIngressId() string { 374 if x != nil { 375 return x.IngressId 376 } 377 return "" 378 } 379 380 func (x *UpdateIngressStateRequest) GetState() *livekit.IngressState { 381 if x != nil { 382 return x.State 383 } 384 return nil 385 } 386 387 type GetSIPTrunkAuthenticationRequest struct { 388 state protoimpl.MessageState 389 sizeCache protoimpl.SizeCache 390 unknownFields protoimpl.UnknownFields 391 392 SipCallId string `protobuf:"bytes,6,opt,name=sip_call_id,json=sipCallId,proto3" json:"sip_call_id,omitempty"` 393 // What Number is calling 394 From string `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` 395 // What Number was called 396 To string `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"` 397 // What is the IP address of the called number 398 SrcAddress string `protobuf:"bytes,4,opt,name=src_address,json=srcAddress,proto3" json:"src_address,omitempty"` 399 // What Host was called 400 ToHost string `protobuf:"bytes,5,opt,name=to_host,json=toHost,proto3" json:"to_host,omitempty"` 401 } 402 403 func (x *GetSIPTrunkAuthenticationRequest) Reset() { 404 *x = GetSIPTrunkAuthenticationRequest{} 405 if protoimpl.UnsafeEnabled { 406 mi := &file_rpc_io_proto_msgTypes[5] 407 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 408 ms.StoreMessageInfo(mi) 409 } 410 } 411 412 func (x *GetSIPTrunkAuthenticationRequest) String() string { 413 return protoimpl.X.MessageStringOf(x) 414 } 415 416 func (*GetSIPTrunkAuthenticationRequest) ProtoMessage() {} 417 418 func (x *GetSIPTrunkAuthenticationRequest) ProtoReflect() protoreflect.Message { 419 mi := &file_rpc_io_proto_msgTypes[5] 420 if protoimpl.UnsafeEnabled && x != nil { 421 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 422 if ms.LoadMessageInfo() == nil { 423 ms.StoreMessageInfo(mi) 424 } 425 return ms 426 } 427 return mi.MessageOf(x) 428 } 429 430 // Deprecated: Use GetSIPTrunkAuthenticationRequest.ProtoReflect.Descriptor instead. 431 func (*GetSIPTrunkAuthenticationRequest) Descriptor() ([]byte, []int) { 432 return file_rpc_io_proto_rawDescGZIP(), []int{5} 433 } 434 435 func (x *GetSIPTrunkAuthenticationRequest) GetSipCallId() string { 436 if x != nil { 437 return x.SipCallId 438 } 439 return "" 440 } 441 442 func (x *GetSIPTrunkAuthenticationRequest) GetFrom() string { 443 if x != nil { 444 return x.From 445 } 446 return "" 447 } 448 449 func (x *GetSIPTrunkAuthenticationRequest) GetTo() string { 450 if x != nil { 451 return x.To 452 } 453 return "" 454 } 455 456 func (x *GetSIPTrunkAuthenticationRequest) GetSrcAddress() string { 457 if x != nil { 458 return x.SrcAddress 459 } 460 return "" 461 } 462 463 func (x *GetSIPTrunkAuthenticationRequest) GetToHost() string { 464 if x != nil { 465 return x.ToHost 466 } 467 return "" 468 } 469 470 type GetSIPTrunkAuthenticationResponse struct { 471 state protoimpl.MessageState 472 sizeCache protoimpl.SizeCache 473 unknownFields protoimpl.UnknownFields 474 475 // Expected username and password 476 Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` 477 Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` 478 Drop bool `protobuf:"varint,3,opt,name=drop,proto3" json:"drop,omitempty"` 479 // Trunk used to fulfill this request 480 SipTrunkId string `protobuf:"bytes,4,opt,name=sip_trunk_id,json=sipTrunkId,proto3" json:"sip_trunk_id,omitempty"` 481 } 482 483 func (x *GetSIPTrunkAuthenticationResponse) Reset() { 484 *x = GetSIPTrunkAuthenticationResponse{} 485 if protoimpl.UnsafeEnabled { 486 mi := &file_rpc_io_proto_msgTypes[6] 487 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 488 ms.StoreMessageInfo(mi) 489 } 490 } 491 492 func (x *GetSIPTrunkAuthenticationResponse) String() string { 493 return protoimpl.X.MessageStringOf(x) 494 } 495 496 func (*GetSIPTrunkAuthenticationResponse) ProtoMessage() {} 497 498 func (x *GetSIPTrunkAuthenticationResponse) ProtoReflect() protoreflect.Message { 499 mi := &file_rpc_io_proto_msgTypes[6] 500 if protoimpl.UnsafeEnabled && x != nil { 501 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 502 if ms.LoadMessageInfo() == nil { 503 ms.StoreMessageInfo(mi) 504 } 505 return ms 506 } 507 return mi.MessageOf(x) 508 } 509 510 // Deprecated: Use GetSIPTrunkAuthenticationResponse.ProtoReflect.Descriptor instead. 511 func (*GetSIPTrunkAuthenticationResponse) Descriptor() ([]byte, []int) { 512 return file_rpc_io_proto_rawDescGZIP(), []int{6} 513 } 514 515 func (x *GetSIPTrunkAuthenticationResponse) GetUsername() string { 516 if x != nil { 517 return x.Username 518 } 519 return "" 520 } 521 522 func (x *GetSIPTrunkAuthenticationResponse) GetPassword() string { 523 if x != nil { 524 return x.Password 525 } 526 return "" 527 } 528 529 func (x *GetSIPTrunkAuthenticationResponse) GetDrop() bool { 530 if x != nil { 531 return x.Drop 532 } 533 return false 534 } 535 536 func (x *GetSIPTrunkAuthenticationResponse) GetSipTrunkId() string { 537 if x != nil { 538 return x.SipTrunkId 539 } 540 return "" 541 } 542 543 type EvaluateSIPDispatchRulesRequest struct { 544 state protoimpl.MessageState 545 sizeCache protoimpl.SizeCache 546 unknownFields protoimpl.UnknownFields 547 548 SipCallId string `protobuf:"bytes,8,opt,name=sip_call_id,json=sipCallId,proto3" json:"sip_call_id,omitempty"` 549 // Deprecated: Marked as deprecated in rpc/io.proto. 550 SipParticipantId string `protobuf:"bytes,1,opt,name=sip_participant_id,json=sipParticipantId,proto3" json:"sip_participant_id,omitempty"` 551 // What Number is calling 552 CallingNumber string `protobuf:"bytes,2,opt,name=calling_number,json=callingNumber,proto3" json:"calling_number,omitempty"` 553 // What Number was called 554 CalledNumber string `protobuf:"bytes,3,opt,name=called_number,json=calledNumber,proto3" json:"called_number,omitempty"` 555 // What is the IP address of the called number 556 SrcAddress string `protobuf:"bytes,4,opt,name=src_address,json=srcAddress,proto3" json:"src_address,omitempty"` 557 // What pin has been entered if any 558 Pin string `protobuf:"bytes,5,opt,name=pin,proto3" json:"pin,omitempty"` 559 // Caller rejected pin prompt, only try public rooms 560 NoPin bool `protobuf:"varint,6,opt,name=no_pin,json=noPin,proto3" json:"no_pin,omitempty"` 561 // What Host was called 562 CalledHost string `protobuf:"bytes,7,opt,name=called_host,json=calledHost,proto3" json:"called_host,omitempty"` 563 } 564 565 func (x *EvaluateSIPDispatchRulesRequest) Reset() { 566 *x = EvaluateSIPDispatchRulesRequest{} 567 if protoimpl.UnsafeEnabled { 568 mi := &file_rpc_io_proto_msgTypes[7] 569 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 570 ms.StoreMessageInfo(mi) 571 } 572 } 573 574 func (x *EvaluateSIPDispatchRulesRequest) String() string { 575 return protoimpl.X.MessageStringOf(x) 576 } 577 578 func (*EvaluateSIPDispatchRulesRequest) ProtoMessage() {} 579 580 func (x *EvaluateSIPDispatchRulesRequest) ProtoReflect() protoreflect.Message { 581 mi := &file_rpc_io_proto_msgTypes[7] 582 if protoimpl.UnsafeEnabled && x != nil { 583 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 584 if ms.LoadMessageInfo() == nil { 585 ms.StoreMessageInfo(mi) 586 } 587 return ms 588 } 589 return mi.MessageOf(x) 590 } 591 592 // Deprecated: Use EvaluateSIPDispatchRulesRequest.ProtoReflect.Descriptor instead. 593 func (*EvaluateSIPDispatchRulesRequest) Descriptor() ([]byte, []int) { 594 return file_rpc_io_proto_rawDescGZIP(), []int{7} 595 } 596 597 func (x *EvaluateSIPDispatchRulesRequest) GetSipCallId() string { 598 if x != nil { 599 return x.SipCallId 600 } 601 return "" 602 } 603 604 // Deprecated: Marked as deprecated in rpc/io.proto. 605 func (x *EvaluateSIPDispatchRulesRequest) GetSipParticipantId() string { 606 if x != nil { 607 return x.SipParticipantId 608 } 609 return "" 610 } 611 612 func (x *EvaluateSIPDispatchRulesRequest) GetCallingNumber() string { 613 if x != nil { 614 return x.CallingNumber 615 } 616 return "" 617 } 618 619 func (x *EvaluateSIPDispatchRulesRequest) GetCalledNumber() string { 620 if x != nil { 621 return x.CalledNumber 622 } 623 return "" 624 } 625 626 func (x *EvaluateSIPDispatchRulesRequest) GetSrcAddress() string { 627 if x != nil { 628 return x.SrcAddress 629 } 630 return "" 631 } 632 633 func (x *EvaluateSIPDispatchRulesRequest) GetPin() string { 634 if x != nil { 635 return x.Pin 636 } 637 return "" 638 } 639 640 func (x *EvaluateSIPDispatchRulesRequest) GetNoPin() bool { 641 if x != nil { 642 return x.NoPin 643 } 644 return false 645 } 646 647 func (x *EvaluateSIPDispatchRulesRequest) GetCalledHost() string { 648 if x != nil { 649 return x.CalledHost 650 } 651 return "" 652 } 653 654 type EvaluateSIPDispatchRulesResponse struct { 655 state protoimpl.MessageState 656 sizeCache protoimpl.SizeCache 657 unknownFields protoimpl.UnknownFields 658 659 // non-empty string if SIPParticipant should be placed a room 660 RoomName string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"` 661 // What should be used for the LiveKit participant identity 662 ParticipantIdentity string `protobuf:"bytes,2,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"` 663 // What should be used for the LiveKit participant name 664 ParticipantName string `protobuf:"bytes,7,opt,name=participant_name,json=participantName,proto3" json:"participant_name,omitempty"` 665 // What should be used for the LiveKit participant metadata 666 ParticipantMetadata string `protobuf:"bytes,8,opt,name=participant_metadata,json=participantMetadata,proto3" json:"participant_metadata,omitempty"` 667 // Deprecated: Marked as deprecated in rpc/io.proto. 668 RequestPin bool `protobuf:"varint,3,opt,name=request_pin,json=requestPin,proto3" json:"request_pin,omitempty"` // see result 669 // optional token that should be used when creating LiveKit participant 670 Token string `protobuf:"bytes,4,opt,name=token,proto3" json:"token,omitempty"` 671 // optional websocket url that should be used when creating LiveKit participant 672 WsUrl string `protobuf:"bytes,5,opt,name=ws_url,json=wsUrl,proto3" json:"ws_url,omitempty"` 673 Result SIPDispatchResult `protobuf:"varint,6,opt,name=result,proto3,enum=rpc.SIPDispatchResult" json:"result,omitempty"` 674 // Trunk used to fulfill this request 675 SipTrunkId string `protobuf:"bytes,9,opt,name=sip_trunk_id,json=sipTrunkId,proto3" json:"sip_trunk_id,omitempty"` 676 // Dispatch Rule used to fulfill this request 677 SipDispatchRuleId string `protobuf:"bytes,10,opt,name=sip_dispatch_rule_id,json=sipDispatchRuleId,proto3" json:"sip_dispatch_rule_id,omitempty"` // NEXT ID: 11 678 } 679 680 func (x *EvaluateSIPDispatchRulesResponse) Reset() { 681 *x = EvaluateSIPDispatchRulesResponse{} 682 if protoimpl.UnsafeEnabled { 683 mi := &file_rpc_io_proto_msgTypes[8] 684 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 685 ms.StoreMessageInfo(mi) 686 } 687 } 688 689 func (x *EvaluateSIPDispatchRulesResponse) String() string { 690 return protoimpl.X.MessageStringOf(x) 691 } 692 693 func (*EvaluateSIPDispatchRulesResponse) ProtoMessage() {} 694 695 func (x *EvaluateSIPDispatchRulesResponse) ProtoReflect() protoreflect.Message { 696 mi := &file_rpc_io_proto_msgTypes[8] 697 if protoimpl.UnsafeEnabled && x != nil { 698 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 699 if ms.LoadMessageInfo() == nil { 700 ms.StoreMessageInfo(mi) 701 } 702 return ms 703 } 704 return mi.MessageOf(x) 705 } 706 707 // Deprecated: Use EvaluateSIPDispatchRulesResponse.ProtoReflect.Descriptor instead. 708 func (*EvaluateSIPDispatchRulesResponse) Descriptor() ([]byte, []int) { 709 return file_rpc_io_proto_rawDescGZIP(), []int{8} 710 } 711 712 func (x *EvaluateSIPDispatchRulesResponse) GetRoomName() string { 713 if x != nil { 714 return x.RoomName 715 } 716 return "" 717 } 718 719 func (x *EvaluateSIPDispatchRulesResponse) GetParticipantIdentity() string { 720 if x != nil { 721 return x.ParticipantIdentity 722 } 723 return "" 724 } 725 726 func (x *EvaluateSIPDispatchRulesResponse) GetParticipantName() string { 727 if x != nil { 728 return x.ParticipantName 729 } 730 return "" 731 } 732 733 func (x *EvaluateSIPDispatchRulesResponse) GetParticipantMetadata() string { 734 if x != nil { 735 return x.ParticipantMetadata 736 } 737 return "" 738 } 739 740 // Deprecated: Marked as deprecated in rpc/io.proto. 741 func (x *EvaluateSIPDispatchRulesResponse) GetRequestPin() bool { 742 if x != nil { 743 return x.RequestPin 744 } 745 return false 746 } 747 748 func (x *EvaluateSIPDispatchRulesResponse) GetToken() string { 749 if x != nil { 750 return x.Token 751 } 752 return "" 753 } 754 755 func (x *EvaluateSIPDispatchRulesResponse) GetWsUrl() string { 756 if x != nil { 757 return x.WsUrl 758 } 759 return "" 760 } 761 762 func (x *EvaluateSIPDispatchRulesResponse) GetResult() SIPDispatchResult { 763 if x != nil { 764 return x.Result 765 } 766 return SIPDispatchResult_LEGACY_ACCEPT_OR_PIN 767 } 768 769 func (x *EvaluateSIPDispatchRulesResponse) GetSipTrunkId() string { 770 if x != nil { 771 return x.SipTrunkId 772 } 773 return "" 774 } 775 776 func (x *EvaluateSIPDispatchRulesResponse) GetSipDispatchRuleId() string { 777 if x != nil { 778 return x.SipDispatchRuleId 779 } 780 return "" 781 } 782 783 var File_rpc_io_proto protoreflect.FileDescriptor 784 785 var file_rpc_io_proto_rawDesc = []byte{ 786 0x0a, 0x0c, 0x72, 0x70, 0x63, 0x2f, 0x69, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 787 0x72, 0x70, 0x63, 0x1a, 0x14, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x65, 0x67, 0x72, 788 0x65, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x6c, 0x69, 0x76, 0x65, 0x6b, 789 0x69, 0x74, 0x5f, 0x69, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 790 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 791 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2f, 0x0a, 792 0x10, 0x47, 0x65, 0x74, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 793 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x67, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x69, 0x64, 0x18, 0x01, 794 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x67, 0x72, 0x65, 0x73, 0x73, 0x49, 0x64, 0x22, 0x87, 795 0x01, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 796 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 797 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 798 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 799 0x12, 0x22, 0x0a, 0x0d, 0x61, 0x76, 0x67, 0x5f, 0x63, 0x70, 0x75, 0x5f, 0x75, 0x73, 0x61, 0x67, 800 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0b, 0x61, 0x76, 0x67, 0x43, 0x70, 0x75, 0x55, 801 0x73, 0x61, 0x67, 0x65, 0x12, 0x22, 0x0a, 0x0d, 0x6d, 0x61, 0x78, 0x5f, 0x63, 0x70, 0x75, 0x5f, 802 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0b, 0x6d, 0x61, 0x78, 803 0x43, 0x70, 0x75, 0x55, 0x73, 0x61, 0x67, 0x65, 0x22, 0x55, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x49, 804 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 805 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x69, 0x64, 0x18, 806 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x69, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x49, 0x64, 807 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x02, 808 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4b, 0x65, 0x79, 0x22, 809 0x88, 0x02, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x49, 0x6e, 810 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x28, 0x0a, 0x04, 0x69, 0x6e, 811 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 812 0x69, 0x74, 0x2e, 0x49, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 813 0x69, 0x6e, 0x66, 0x6f, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 814 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x15, 0x0a, 0x06, 0x77, 0x73, 815 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x77, 0x73, 0x55, 0x72, 816 0x6c, 0x12, 0x55, 0x0a, 0x0e, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x66, 0x69, 0x65, 817 0x6c, 0x64, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x72, 0x70, 0x63, 0x2e, 818 0x47, 0x65, 0x74, 0x49, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 819 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x4c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x46, 0x69, 820 0x65, 0x6c, 0x64, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x6c, 0x6f, 0x67, 0x67, 0x69, 821 0x6e, 0x67, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x1a, 0x40, 0x0a, 0x12, 0x4c, 0x6f, 0x67, 0x67, 822 0x69, 0x6e, 0x67, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 823 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 824 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 825 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x67, 0x0a, 0x19, 0x55, 0x70, 826 0x64, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x61, 0x74, 0x65, 827 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x6e, 0x67, 0x72, 0x65, 828 0x73, 0x73, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x69, 0x6e, 0x67, 829 0x72, 0x65, 0x73, 0x73, 0x49, 0x64, 0x12, 0x2b, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 830 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 831 0x49, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 832 0x61, 0x74, 0x65, 0x22, 0xa0, 0x01, 0x0a, 0x20, 0x47, 0x65, 0x74, 0x53, 0x49, 0x50, 0x54, 0x72, 833 0x75, 0x6e, 0x6b, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 834 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1e, 0x0a, 0x0b, 0x73, 0x69, 0x70, 0x5f, 835 0x63, 0x61, 0x6c, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 836 0x69, 0x70, 0x43, 0x61, 0x6c, 0x6c, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, 837 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 838 0x74, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x74, 0x6f, 0x12, 0x1f, 0x0a, 0x0b, 839 0x73, 0x72, 0x63, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 840 0x09, 0x52, 0x0a, 0x73, 0x72, 0x63, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x17, 0x0a, 841 0x07, 0x74, 0x6f, 0x5f, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 842 0x74, 0x6f, 0x48, 0x6f, 0x73, 0x74, 0x22, 0x91, 0x01, 0x0a, 0x21, 0x47, 0x65, 0x74, 0x53, 0x49, 843 0x50, 0x54, 0x72, 0x75, 0x6e, 0x6b, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 844 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 845 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 846 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 847 0x77, 0x6f, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 848 0x77, 0x6f, 0x72, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x72, 0x6f, 0x70, 0x18, 0x03, 0x20, 0x01, 849 0x28, 0x08, 0x52, 0x04, 0x64, 0x72, 0x6f, 0x70, 0x12, 0x20, 0x0a, 0x0c, 0x73, 0x69, 0x70, 0x5f, 850 0x74, 0x72, 0x75, 0x6e, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 851 0x73, 0x69, 0x70, 0x54, 0x72, 0x75, 0x6e, 0x6b, 0x49, 0x64, 0x22, 0xaa, 0x02, 0x0a, 0x1f, 0x45, 852 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x65, 0x53, 0x49, 0x50, 0x44, 0x69, 0x73, 0x70, 0x61, 0x74, 853 0x63, 0x68, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1e, 854 0x0a, 0x0b, 0x73, 0x69, 0x70, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 855 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x69, 0x70, 0x43, 0x61, 0x6c, 0x6c, 0x49, 0x64, 0x12, 0x30, 856 0x0a, 0x12, 0x73, 0x69, 0x70, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 857 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x10, 858 0x73, 0x69, 0x70, 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x49, 0x64, 859 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x61, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 860 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x61, 0x6c, 0x6c, 0x69, 0x6e, 861 0x67, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x61, 0x6c, 0x6c, 0x65, 862 0x64, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 863 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x64, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x1f, 0x0a, 0x0b, 864 0x73, 0x72, 0x63, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 865 0x09, 0x52, 0x0a, 0x73, 0x72, 0x63, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x10, 0x0a, 866 0x03, 0x70, 0x69, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x70, 0x69, 0x6e, 0x12, 867 0x15, 0x0a, 0x06, 0x6e, 0x6f, 0x5f, 0x70, 0x69, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 868 0x05, 0x6e, 0x6f, 0x50, 0x69, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x64, 869 0x5f, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x61, 0x6c, 870 0x6c, 0x65, 0x64, 0x48, 0x6f, 0x73, 0x74, 0x22, 0xa5, 0x03, 0x0a, 0x20, 0x45, 0x76, 0x61, 0x6c, 871 0x75, 0x61, 0x74, 0x65, 0x53, 0x49, 0x50, 0x44, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x52, 872 0x75, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1b, 0x0a, 0x09, 873 0x72, 0x6f, 0x6f, 0x6d, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 874 0x08, 0x72, 0x6f, 0x6f, 0x6d, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x31, 0x0a, 0x14, 0x70, 0x61, 0x72, 875 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 876 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 877 0x70, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x29, 0x0a, 0x10, 878 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 879 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 880 0x61, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x31, 0x0a, 0x14, 0x70, 0x61, 0x72, 0x74, 0x69, 881 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 882 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 883 0x6e, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x23, 0x0a, 0x0b, 0x72, 0x65, 884 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x70, 0x69, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x42, 885 0x02, 0x18, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x69, 0x6e, 0x12, 886 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 887 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x15, 0x0a, 0x06, 0x77, 0x73, 0x5f, 0x75, 0x72, 0x6c, 0x18, 888 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x77, 0x73, 0x55, 0x72, 0x6c, 0x12, 0x2e, 0x0a, 0x06, 889 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x72, 890 0x70, 0x63, 0x2e, 0x53, 0x49, 0x50, 0x44, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 891 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x20, 0x0a, 0x0c, 892 0x73, 0x69, 0x70, 0x5f, 0x74, 0x72, 0x75, 0x6e, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 893 0x28, 0x09, 0x52, 0x0a, 0x73, 0x69, 0x70, 0x54, 0x72, 0x75, 0x6e, 0x6b, 0x49, 0x64, 0x12, 0x2f, 894 0x0a, 0x14, 0x73, 0x69, 0x70, 0x5f, 0x64, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x72, 895 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x73, 0x69, 896 0x70, 0x44, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x52, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x2a, 897 0x60, 0x0a, 0x11, 0x53, 0x49, 0x50, 0x44, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 898 0x73, 0x75, 0x6c, 0x74, 0x12, 0x18, 0x0a, 0x14, 0x4c, 0x45, 0x47, 0x41, 0x43, 0x59, 0x5f, 0x41, 899 0x43, 0x43, 0x45, 0x50, 0x54, 0x5f, 0x4f, 0x52, 0x5f, 0x50, 0x49, 0x4e, 0x10, 0x00, 0x12, 0x0a, 900 0x0a, 0x06, 0x41, 0x43, 0x43, 0x45, 0x50, 0x54, 0x10, 0x01, 0x12, 0x0f, 0x0a, 0x0b, 0x52, 0x45, 901 0x51, 0x55, 0x45, 0x53, 0x54, 0x5f, 0x50, 0x49, 0x4e, 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x52, 902 0x45, 0x4a, 0x45, 0x43, 0x54, 0x10, 0x03, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x52, 0x4f, 0x50, 0x10, 903 0x04, 0x32, 0xf3, 0x05, 0x0a, 0x06, 0x49, 0x4f, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x3b, 0x0a, 0x0c, 904 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x13, 0x2e, 0x6c, 905 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 906 0x6f, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 907 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x3b, 0x0a, 0x0c, 0x55, 0x70, 0x64, 908 0x61, 0x74, 0x65, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x13, 0x2e, 0x6c, 0x69, 0x76, 0x65, 909 0x6b, 0x69, 0x74, 0x2e, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x1a, 0x16, 910 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 911 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x37, 0x0a, 0x09, 0x47, 0x65, 0x74, 0x45, 0x67, 0x72, 912 0x65, 0x73, 0x73, 0x12, 0x15, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x45, 0x67, 0x72, 913 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x6c, 0x69, 0x76, 914 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 915 0x45, 0x0a, 0x0a, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1a, 0x2e, 916 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x67, 0x72, 0x65, 917 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x6c, 0x69, 0x76, 0x65, 918 0x6b, 0x69, 0x74, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 919 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x42, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 920 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, 0x19, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x55, 0x70, 921 0x64, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 922 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 923 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x3d, 0x0a, 0x0d, 0x43, 0x72, 924 0x65, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x14, 0x2e, 0x6c, 0x69, 925 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x49, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 926 0x6f, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 927 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x49, 0x0a, 0x0e, 0x47, 0x65, 0x74, 928 0x49, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1a, 0x2e, 0x72, 0x70, 929 0x63, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 930 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 931 0x74, 0x49, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 932 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4c, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x6e, 933 0x67, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1e, 0x2e, 0x72, 0x70, 0x63, 934 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 935 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 936 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 937 0x74, 0x79, 0x12, 0x6a, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x53, 0x49, 0x50, 0x54, 0x72, 0x75, 0x6e, 938 0x6b, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 939 0x25, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x49, 0x50, 0x54, 0x72, 0x75, 0x6e, 940 0x6b, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 941 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 942 0x53, 0x49, 0x50, 0x54, 0x72, 0x75, 0x6e, 0x6b, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 943 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x67, 944 0x0a, 0x18, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x65, 0x53, 0x49, 0x50, 0x44, 0x69, 0x73, 945 0x70, 0x61, 0x74, 0x63, 0x68, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x24, 0x2e, 0x72, 0x70, 0x63, 946 0x2e, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x65, 0x53, 0x49, 0x50, 0x44, 0x69, 0x73, 0x70, 947 0x61, 0x74, 0x63, 0x68, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 948 0x1a, 0x25, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x65, 0x53, 949 0x49, 0x50, 0x44, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x52, 950 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x21, 0x5a, 0x1f, 0x67, 0x69, 0x74, 0x68, 0x75, 951 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2f, 0x70, 0x72, 952 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x72, 0x70, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 953 0x6f, 0x33, 954 } 955 956 var ( 957 file_rpc_io_proto_rawDescOnce sync.Once 958 file_rpc_io_proto_rawDescData = file_rpc_io_proto_rawDesc 959 ) 960 961 func file_rpc_io_proto_rawDescGZIP() []byte { 962 file_rpc_io_proto_rawDescOnce.Do(func() { 963 file_rpc_io_proto_rawDescData = protoimpl.X.CompressGZIP(file_rpc_io_proto_rawDescData) 964 }) 965 return file_rpc_io_proto_rawDescData 966 } 967 968 var file_rpc_io_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 969 var file_rpc_io_proto_msgTypes = make([]protoimpl.MessageInfo, 10) 970 var file_rpc_io_proto_goTypes = []interface{}{ 971 (SIPDispatchResult)(0), // 0: rpc.SIPDispatchResult 972 (*GetEgressRequest)(nil), // 1: rpc.GetEgressRequest 973 (*UpdateMetricsRequest)(nil), // 2: rpc.UpdateMetricsRequest 974 (*GetIngressInfoRequest)(nil), // 3: rpc.GetIngressInfoRequest 975 (*GetIngressInfoResponse)(nil), // 4: rpc.GetIngressInfoResponse 976 (*UpdateIngressStateRequest)(nil), // 5: rpc.UpdateIngressStateRequest 977 (*GetSIPTrunkAuthenticationRequest)(nil), // 6: rpc.GetSIPTrunkAuthenticationRequest 978 (*GetSIPTrunkAuthenticationResponse)(nil), // 7: rpc.GetSIPTrunkAuthenticationResponse 979 (*EvaluateSIPDispatchRulesRequest)(nil), // 8: rpc.EvaluateSIPDispatchRulesRequest 980 (*EvaluateSIPDispatchRulesResponse)(nil), // 9: rpc.EvaluateSIPDispatchRulesResponse 981 nil, // 10: rpc.GetIngressInfoResponse.LoggingFieldsEntry 982 (*livekit.EgressInfo)(nil), // 11: livekit.EgressInfo 983 (*livekit.IngressInfo)(nil), // 12: livekit.IngressInfo 984 (*livekit.IngressState)(nil), // 13: livekit.IngressState 985 (*livekit.ListEgressRequest)(nil), // 14: livekit.ListEgressRequest 986 (*emptypb.Empty)(nil), // 15: google.protobuf.Empty 987 (*livekit.ListEgressResponse)(nil), // 16: livekit.ListEgressResponse 988 } 989 var file_rpc_io_proto_depIdxs = []int32{ 990 11, // 0: rpc.UpdateMetricsRequest.info:type_name -> livekit.EgressInfo 991 12, // 1: rpc.GetIngressInfoResponse.info:type_name -> livekit.IngressInfo 992 10, // 2: rpc.GetIngressInfoResponse.logging_fields:type_name -> rpc.GetIngressInfoResponse.LoggingFieldsEntry 993 13, // 3: rpc.UpdateIngressStateRequest.state:type_name -> livekit.IngressState 994 0, // 4: rpc.EvaluateSIPDispatchRulesResponse.result:type_name -> rpc.SIPDispatchResult 995 11, // 5: rpc.IOInfo.CreateEgress:input_type -> livekit.EgressInfo 996 11, // 6: rpc.IOInfo.UpdateEgress:input_type -> livekit.EgressInfo 997 1, // 7: rpc.IOInfo.GetEgress:input_type -> rpc.GetEgressRequest 998 14, // 8: rpc.IOInfo.ListEgress:input_type -> livekit.ListEgressRequest 999 2, // 9: rpc.IOInfo.UpdateMetrics:input_type -> rpc.UpdateMetricsRequest 1000 12, // 10: rpc.IOInfo.CreateIngress:input_type -> livekit.IngressInfo 1001 3, // 11: rpc.IOInfo.GetIngressInfo:input_type -> rpc.GetIngressInfoRequest 1002 5, // 12: rpc.IOInfo.UpdateIngressState:input_type -> rpc.UpdateIngressStateRequest 1003 6, // 13: rpc.IOInfo.GetSIPTrunkAuthentication:input_type -> rpc.GetSIPTrunkAuthenticationRequest 1004 8, // 14: rpc.IOInfo.EvaluateSIPDispatchRules:input_type -> rpc.EvaluateSIPDispatchRulesRequest 1005 15, // 15: rpc.IOInfo.CreateEgress:output_type -> google.protobuf.Empty 1006 15, // 16: rpc.IOInfo.UpdateEgress:output_type -> google.protobuf.Empty 1007 11, // 17: rpc.IOInfo.GetEgress:output_type -> livekit.EgressInfo 1008 16, // 18: rpc.IOInfo.ListEgress:output_type -> livekit.ListEgressResponse 1009 15, // 19: rpc.IOInfo.UpdateMetrics:output_type -> google.protobuf.Empty 1010 15, // 20: rpc.IOInfo.CreateIngress:output_type -> google.protobuf.Empty 1011 4, // 21: rpc.IOInfo.GetIngressInfo:output_type -> rpc.GetIngressInfoResponse 1012 15, // 22: rpc.IOInfo.UpdateIngressState:output_type -> google.protobuf.Empty 1013 7, // 23: rpc.IOInfo.GetSIPTrunkAuthentication:output_type -> rpc.GetSIPTrunkAuthenticationResponse 1014 9, // 24: rpc.IOInfo.EvaluateSIPDispatchRules:output_type -> rpc.EvaluateSIPDispatchRulesResponse 1015 15, // [15:25] is the sub-list for method output_type 1016 5, // [5:15] is the sub-list for method input_type 1017 5, // [5:5] is the sub-list for extension type_name 1018 5, // [5:5] is the sub-list for extension extendee 1019 0, // [0:5] is the sub-list for field type_name 1020 } 1021 1022 func init() { file_rpc_io_proto_init() } 1023 func file_rpc_io_proto_init() { 1024 if File_rpc_io_proto != nil { 1025 return 1026 } 1027 if !protoimpl.UnsafeEnabled { 1028 file_rpc_io_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 1029 switch v := v.(*GetEgressRequest); i { 1030 case 0: 1031 return &v.state 1032 case 1: 1033 return &v.sizeCache 1034 case 2: 1035 return &v.unknownFields 1036 default: 1037 return nil 1038 } 1039 } 1040 file_rpc_io_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 1041 switch v := v.(*UpdateMetricsRequest); i { 1042 case 0: 1043 return &v.state 1044 case 1: 1045 return &v.sizeCache 1046 case 2: 1047 return &v.unknownFields 1048 default: 1049 return nil 1050 } 1051 } 1052 file_rpc_io_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 1053 switch v := v.(*GetIngressInfoRequest); i { 1054 case 0: 1055 return &v.state 1056 case 1: 1057 return &v.sizeCache 1058 case 2: 1059 return &v.unknownFields 1060 default: 1061 return nil 1062 } 1063 } 1064 file_rpc_io_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 1065 switch v := v.(*GetIngressInfoResponse); i { 1066 case 0: 1067 return &v.state 1068 case 1: 1069 return &v.sizeCache 1070 case 2: 1071 return &v.unknownFields 1072 default: 1073 return nil 1074 } 1075 } 1076 file_rpc_io_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 1077 switch v := v.(*UpdateIngressStateRequest); i { 1078 case 0: 1079 return &v.state 1080 case 1: 1081 return &v.sizeCache 1082 case 2: 1083 return &v.unknownFields 1084 default: 1085 return nil 1086 } 1087 } 1088 file_rpc_io_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 1089 switch v := v.(*GetSIPTrunkAuthenticationRequest); i { 1090 case 0: 1091 return &v.state 1092 case 1: 1093 return &v.sizeCache 1094 case 2: 1095 return &v.unknownFields 1096 default: 1097 return nil 1098 } 1099 } 1100 file_rpc_io_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 1101 switch v := v.(*GetSIPTrunkAuthenticationResponse); i { 1102 case 0: 1103 return &v.state 1104 case 1: 1105 return &v.sizeCache 1106 case 2: 1107 return &v.unknownFields 1108 default: 1109 return nil 1110 } 1111 } 1112 file_rpc_io_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 1113 switch v := v.(*EvaluateSIPDispatchRulesRequest); i { 1114 case 0: 1115 return &v.state 1116 case 1: 1117 return &v.sizeCache 1118 case 2: 1119 return &v.unknownFields 1120 default: 1121 return nil 1122 } 1123 } 1124 file_rpc_io_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 1125 switch v := v.(*EvaluateSIPDispatchRulesResponse); i { 1126 case 0: 1127 return &v.state 1128 case 1: 1129 return &v.sizeCache 1130 case 2: 1131 return &v.unknownFields 1132 default: 1133 return nil 1134 } 1135 } 1136 } 1137 type x struct{} 1138 out := protoimpl.TypeBuilder{ 1139 File: protoimpl.DescBuilder{ 1140 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1141 RawDescriptor: file_rpc_io_proto_rawDesc, 1142 NumEnums: 1, 1143 NumMessages: 10, 1144 NumExtensions: 0, 1145 NumServices: 1, 1146 }, 1147 GoTypes: file_rpc_io_proto_goTypes, 1148 DependencyIndexes: file_rpc_io_proto_depIdxs, 1149 EnumInfos: file_rpc_io_proto_enumTypes, 1150 MessageInfos: file_rpc_io_proto_msgTypes, 1151 }.Build() 1152 File_rpc_io_proto = out.File 1153 file_rpc_io_proto_rawDesc = nil 1154 file_rpc_io_proto_goTypes = nil 1155 file_rpc_io_proto_depIdxs = nil 1156 }