1214 lines
53 KiB
Go
1214 lines
53 KiB
Go
// Copyright 2023 LiveKit, Inc.
|
|
//
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
// you may not use this file except in compliance with the License.
|
|
// You may obtain a copy of the License at
|
|
//
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
//
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
// See the License for the specific language governing permissions and
|
|
// limitations under the License.
|
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.35.1
|
|
// protoc v4.23.4
|
|
// source: rpc/io.proto
|
|
|
|
package rpc
|
|
|
|
import (
|
|
livekit "github.com/livekit/protocol/livekit"
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
emptypb "google.golang.org/protobuf/types/known/emptypb"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
)
|
|
|
|
const (
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
)
|
|
|
|
type SIPFeature int32
|
|
|
|
const (
|
|
SIPFeature_NONE SIPFeature = 0
|
|
SIPFeature_KRISP_ENABLED SIPFeature = 1
|
|
)
|
|
|
|
// Enum value maps for SIPFeature.
|
|
var (
|
|
SIPFeature_name = map[int32]string{
|
|
0: "NONE",
|
|
1: "KRISP_ENABLED",
|
|
}
|
|
SIPFeature_value = map[string]int32{
|
|
"NONE": 0,
|
|
"KRISP_ENABLED": 1,
|
|
}
|
|
)
|
|
|
|
func (x SIPFeature) Enum() *SIPFeature {
|
|
p := new(SIPFeature)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x SIPFeature) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (SIPFeature) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_rpc_io_proto_enumTypes[0].Descriptor()
|
|
}
|
|
|
|
func (SIPFeature) Type() protoreflect.EnumType {
|
|
return &file_rpc_io_proto_enumTypes[0]
|
|
}
|
|
|
|
func (x SIPFeature) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use SIPFeature.Descriptor instead.
|
|
func (SIPFeature) EnumDescriptor() ([]byte, []int) {
|
|
return file_rpc_io_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
type SIPDispatchResult int32
|
|
|
|
const (
|
|
SIPDispatchResult_LEGACY_ACCEPT_OR_PIN SIPDispatchResult = 0 // check request_pin field
|
|
SIPDispatchResult_ACCEPT SIPDispatchResult = 1
|
|
SIPDispatchResult_REQUEST_PIN SIPDispatchResult = 2
|
|
SIPDispatchResult_REJECT SIPDispatchResult = 3
|
|
SIPDispatchResult_DROP SIPDispatchResult = 4
|
|
)
|
|
|
|
// Enum value maps for SIPDispatchResult.
|
|
var (
|
|
SIPDispatchResult_name = map[int32]string{
|
|
0: "LEGACY_ACCEPT_OR_PIN",
|
|
1: "ACCEPT",
|
|
2: "REQUEST_PIN",
|
|
3: "REJECT",
|
|
4: "DROP",
|
|
}
|
|
SIPDispatchResult_value = map[string]int32{
|
|
"LEGACY_ACCEPT_OR_PIN": 0,
|
|
"ACCEPT": 1,
|
|
"REQUEST_PIN": 2,
|
|
"REJECT": 3,
|
|
"DROP": 4,
|
|
}
|
|
)
|
|
|
|
func (x SIPDispatchResult) Enum() *SIPDispatchResult {
|
|
p := new(SIPDispatchResult)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x SIPDispatchResult) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (SIPDispatchResult) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_rpc_io_proto_enumTypes[1].Descriptor()
|
|
}
|
|
|
|
func (SIPDispatchResult) Type() protoreflect.EnumType {
|
|
return &file_rpc_io_proto_enumTypes[1]
|
|
}
|
|
|
|
func (x SIPDispatchResult) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use SIPDispatchResult.Descriptor instead.
|
|
func (SIPDispatchResult) EnumDescriptor() ([]byte, []int) {
|
|
return file_rpc_io_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
type GetEgressRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
EgressId string `protobuf:"bytes,1,opt,name=egress_id,json=egressId,proto3" json:"egress_id,omitempty"`
|
|
}
|
|
|
|
func (x *GetEgressRequest) Reset() {
|
|
*x = GetEgressRequest{}
|
|
mi := &file_rpc_io_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetEgressRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetEgressRequest) ProtoMessage() {}
|
|
|
|
func (x *GetEgressRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_io_proto_msgTypes[0]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetEgressRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetEgressRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_io_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *GetEgressRequest) GetEgressId() string {
|
|
if x != nil {
|
|
return x.EgressId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type UpdateMetricsRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Info *livekit.EgressInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
|
|
AvgCpuUsage float32 `protobuf:"fixed32,3,opt,name=avg_cpu_usage,json=avgCpuUsage,proto3" json:"avg_cpu_usage,omitempty"`
|
|
MaxCpuUsage float32 `protobuf:"fixed32,4,opt,name=max_cpu_usage,json=maxCpuUsage,proto3" json:"max_cpu_usage,omitempty"`
|
|
}
|
|
|
|
func (x *UpdateMetricsRequest) Reset() {
|
|
*x = UpdateMetricsRequest{}
|
|
mi := &file_rpc_io_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdateMetricsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateMetricsRequest) ProtoMessage() {}
|
|
|
|
func (x *UpdateMetricsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_io_proto_msgTypes[1]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UpdateMetricsRequest.ProtoReflect.Descriptor instead.
|
|
func (*UpdateMetricsRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_io_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *UpdateMetricsRequest) GetInfo() *livekit.EgressInfo {
|
|
if x != nil {
|
|
return x.Info
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *UpdateMetricsRequest) GetAvgCpuUsage() float32 {
|
|
if x != nil {
|
|
return x.AvgCpuUsage
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *UpdateMetricsRequest) GetMaxCpuUsage() float32 {
|
|
if x != nil {
|
|
return x.MaxCpuUsage
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// Query an ingress info from an ingress ID or stream key
|
|
type GetIngressInfoRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
IngressId string `protobuf:"bytes,1,opt,name=ingress_id,json=ingressId,proto3" json:"ingress_id,omitempty"`
|
|
StreamKey string `protobuf:"bytes,2,opt,name=stream_key,json=streamKey,proto3" json:"stream_key,omitempty"`
|
|
}
|
|
|
|
func (x *GetIngressInfoRequest) Reset() {
|
|
*x = GetIngressInfoRequest{}
|
|
mi := &file_rpc_io_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetIngressInfoRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetIngressInfoRequest) ProtoMessage() {}
|
|
|
|
func (x *GetIngressInfoRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_io_proto_msgTypes[2]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetIngressInfoRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetIngressInfoRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_io_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *GetIngressInfoRequest) GetIngressId() string {
|
|
if x != nil {
|
|
return x.IngressId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetIngressInfoRequest) GetStreamKey() string {
|
|
if x != nil {
|
|
return x.StreamKey
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetIngressInfoResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Info *livekit.IngressInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
|
|
Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
|
|
WsUrl string `protobuf:"bytes,3,opt,name=ws_url,json=wsUrl,proto3" json:"ws_url,omitempty"`
|
|
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"`
|
|
}
|
|
|
|
func (x *GetIngressInfoResponse) Reset() {
|
|
*x = GetIngressInfoResponse{}
|
|
mi := &file_rpc_io_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetIngressInfoResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetIngressInfoResponse) ProtoMessage() {}
|
|
|
|
func (x *GetIngressInfoResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_io_proto_msgTypes[3]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetIngressInfoResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetIngressInfoResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpc_io_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *GetIngressInfoResponse) GetInfo() *livekit.IngressInfo {
|
|
if x != nil {
|
|
return x.Info
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetIngressInfoResponse) GetToken() string {
|
|
if x != nil {
|
|
return x.Token
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetIngressInfoResponse) GetWsUrl() string {
|
|
if x != nil {
|
|
return x.WsUrl
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetIngressInfoResponse) GetLoggingFields() map[string]string {
|
|
if x != nil {
|
|
return x.LoggingFields
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// Request to store an update to the ingress state ingress -> service
|
|
type UpdateIngressStateRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
IngressId string `protobuf:"bytes,1,opt,name=ingress_id,json=ingressId,proto3" json:"ingress_id,omitempty"`
|
|
State *livekit.IngressState `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
|
|
}
|
|
|
|
func (x *UpdateIngressStateRequest) Reset() {
|
|
*x = UpdateIngressStateRequest{}
|
|
mi := &file_rpc_io_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *UpdateIngressStateRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateIngressStateRequest) ProtoMessage() {}
|
|
|
|
func (x *UpdateIngressStateRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_io_proto_msgTypes[4]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UpdateIngressStateRequest.ProtoReflect.Descriptor instead.
|
|
func (*UpdateIngressStateRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_io_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *UpdateIngressStateRequest) GetIngressId() string {
|
|
if x != nil {
|
|
return x.IngressId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateIngressStateRequest) GetState() *livekit.IngressState {
|
|
if x != nil {
|
|
return x.State
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetSIPTrunkAuthenticationRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
SipCallId string `protobuf:"bytes,6,opt,name=sip_call_id,json=sipCallId,proto3" json:"sip_call_id,omitempty"`
|
|
// What Number is calling
|
|
From string `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"`
|
|
// What Number was called
|
|
To string `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"`
|
|
// What is the IP address of the called number
|
|
SrcAddress string `protobuf:"bytes,4,opt,name=src_address,json=srcAddress,proto3" json:"src_address,omitempty"`
|
|
// What Host was called
|
|
ToHost string `protobuf:"bytes,5,opt,name=to_host,json=toHost,proto3" json:"to_host,omitempty"`
|
|
}
|
|
|
|
func (x *GetSIPTrunkAuthenticationRequest) Reset() {
|
|
*x = GetSIPTrunkAuthenticationRequest{}
|
|
mi := &file_rpc_io_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetSIPTrunkAuthenticationRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetSIPTrunkAuthenticationRequest) ProtoMessage() {}
|
|
|
|
func (x *GetSIPTrunkAuthenticationRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_io_proto_msgTypes[5]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetSIPTrunkAuthenticationRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetSIPTrunkAuthenticationRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_io_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *GetSIPTrunkAuthenticationRequest) GetSipCallId() string {
|
|
if x != nil {
|
|
return x.SipCallId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetSIPTrunkAuthenticationRequest) GetFrom() string {
|
|
if x != nil {
|
|
return x.From
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetSIPTrunkAuthenticationRequest) GetTo() string {
|
|
if x != nil {
|
|
return x.To
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetSIPTrunkAuthenticationRequest) GetSrcAddress() string {
|
|
if x != nil {
|
|
return x.SrcAddress
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetSIPTrunkAuthenticationRequest) GetToHost() string {
|
|
if x != nil {
|
|
return x.ToHost
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetSIPTrunkAuthenticationResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Expected username and password
|
|
Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
|
|
Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
|
|
Drop bool `protobuf:"varint,3,opt,name=drop,proto3" json:"drop,omitempty"`
|
|
// Trunk used to fulfill this request
|
|
SipTrunkId string `protobuf:"bytes,4,opt,name=sip_trunk_id,json=sipTrunkId,proto3" json:"sip_trunk_id,omitempty"`
|
|
// Used in Cloud only
|
|
ProjectId string `protobuf:"bytes,5,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
|
|
}
|
|
|
|
func (x *GetSIPTrunkAuthenticationResponse) Reset() {
|
|
*x = GetSIPTrunkAuthenticationResponse{}
|
|
mi := &file_rpc_io_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetSIPTrunkAuthenticationResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetSIPTrunkAuthenticationResponse) ProtoMessage() {}
|
|
|
|
func (x *GetSIPTrunkAuthenticationResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_io_proto_msgTypes[6]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetSIPTrunkAuthenticationResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetSIPTrunkAuthenticationResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpc_io_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *GetSIPTrunkAuthenticationResponse) GetUsername() string {
|
|
if x != nil {
|
|
return x.Username
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetSIPTrunkAuthenticationResponse) GetPassword() string {
|
|
if x != nil {
|
|
return x.Password
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetSIPTrunkAuthenticationResponse) GetDrop() bool {
|
|
if x != nil {
|
|
return x.Drop
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *GetSIPTrunkAuthenticationResponse) GetSipTrunkId() string {
|
|
if x != nil {
|
|
return x.SipTrunkId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetSIPTrunkAuthenticationResponse) GetProjectId() string {
|
|
if x != nil {
|
|
return x.ProjectId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type EvaluateSIPDispatchRulesRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
SipCallId string `protobuf:"bytes,8,opt,name=sip_call_id,json=sipCallId,proto3" json:"sip_call_id,omitempty"`
|
|
// Deprecated: Marked as deprecated in rpc/io.proto.
|
|
SipParticipantId string `protobuf:"bytes,1,opt,name=sip_participant_id,json=sipParticipantId,proto3" json:"sip_participant_id,omitempty"`
|
|
// Trunk from the auth response, if any
|
|
SipTrunkId string `protobuf:"bytes,10,opt,name=sip_trunk_id,json=sipTrunkId,proto3" json:"sip_trunk_id,omitempty"`
|
|
// What Number is calling
|
|
CallingNumber string `protobuf:"bytes,2,opt,name=calling_number,json=callingNumber,proto3" json:"calling_number,omitempty"`
|
|
// What Number was called
|
|
CalledNumber string `protobuf:"bytes,3,opt,name=called_number,json=calledNumber,proto3" json:"called_number,omitempty"`
|
|
// What is the IP address of the called number
|
|
SrcAddress string `protobuf:"bytes,4,opt,name=src_address,json=srcAddress,proto3" json:"src_address,omitempty"`
|
|
// What pin has been entered if any
|
|
Pin string `protobuf:"bytes,5,opt,name=pin,proto3" json:"pin,omitempty"`
|
|
// Caller rejected pin prompt, only try public rooms
|
|
NoPin bool `protobuf:"varint,6,opt,name=no_pin,json=noPin,proto3" json:"no_pin,omitempty"`
|
|
// What Host was called
|
|
CalledHost string `protobuf:"bytes,7,opt,name=called_host,json=calledHost,proto3" json:"called_host,omitempty"`
|
|
// Extra participant attributes added for this call.
|
|
// Usually include provider-specific metadata.
|
|
ExtraAttributes map[string]string `protobuf:"bytes,9,rep,name=extra_attributes,json=extraAttributes,proto3" json:"extra_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
}
|
|
|
|
func (x *EvaluateSIPDispatchRulesRequest) Reset() {
|
|
*x = EvaluateSIPDispatchRulesRequest{}
|
|
mi := &file_rpc_io_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *EvaluateSIPDispatchRulesRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*EvaluateSIPDispatchRulesRequest) ProtoMessage() {}
|
|
|
|
func (x *EvaluateSIPDispatchRulesRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_io_proto_msgTypes[7]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use EvaluateSIPDispatchRulesRequest.ProtoReflect.Descriptor instead.
|
|
func (*EvaluateSIPDispatchRulesRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_io_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *EvaluateSIPDispatchRulesRequest) GetSipCallId() string {
|
|
if x != nil {
|
|
return x.SipCallId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// Deprecated: Marked as deprecated in rpc/io.proto.
|
|
func (x *EvaluateSIPDispatchRulesRequest) GetSipParticipantId() string {
|
|
if x != nil {
|
|
return x.SipParticipantId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *EvaluateSIPDispatchRulesRequest) GetSipTrunkId() string {
|
|
if x != nil {
|
|
return x.SipTrunkId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *EvaluateSIPDispatchRulesRequest) GetCallingNumber() string {
|
|
if x != nil {
|
|
return x.CallingNumber
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *EvaluateSIPDispatchRulesRequest) GetCalledNumber() string {
|
|
if x != nil {
|
|
return x.CalledNumber
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *EvaluateSIPDispatchRulesRequest) GetSrcAddress() string {
|
|
if x != nil {
|
|
return x.SrcAddress
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *EvaluateSIPDispatchRulesRequest) GetPin() string {
|
|
if x != nil {
|
|
return x.Pin
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *EvaluateSIPDispatchRulesRequest) GetNoPin() bool {
|
|
if x != nil {
|
|
return x.NoPin
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *EvaluateSIPDispatchRulesRequest) GetCalledHost() string {
|
|
if x != nil {
|
|
return x.CalledHost
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *EvaluateSIPDispatchRulesRequest) GetExtraAttributes() map[string]string {
|
|
if x != nil {
|
|
return x.ExtraAttributes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type EvaluateSIPDispatchRulesResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// non-empty string if SIPParticipant should be placed a room
|
|
RoomName string `protobuf:"bytes,1,opt,name=room_name,json=roomName,proto3" json:"room_name,omitempty"`
|
|
// What should be used for the LiveKit participant identity
|
|
ParticipantIdentity string `protobuf:"bytes,2,opt,name=participant_identity,json=participantIdentity,proto3" json:"participant_identity,omitempty"`
|
|
// What should be used for the LiveKit participant name
|
|
ParticipantName string `protobuf:"bytes,7,opt,name=participant_name,json=participantName,proto3" json:"participant_name,omitempty"`
|
|
// What should be used for the LiveKit participant metadata
|
|
ParticipantMetadata string `protobuf:"bytes,8,opt,name=participant_metadata,json=participantMetadata,proto3" json:"participant_metadata,omitempty"`
|
|
// What should be used for the LiveKit participant attributes
|
|
ParticipantAttributes map[string]string `protobuf:"bytes,11,rep,name=participant_attributes,json=participantAttributes,proto3" json:"participant_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
// Deprecated: Marked as deprecated in rpc/io.proto.
|
|
RequestPin bool `protobuf:"varint,3,opt,name=request_pin,json=requestPin,proto3" json:"request_pin,omitempty"` // see result
|
|
// optional token that should be used when creating LiveKit participant
|
|
Token string `protobuf:"bytes,4,opt,name=token,proto3" json:"token,omitempty"`
|
|
// optional websocket url that should be used when creating LiveKit participant
|
|
WsUrl string `protobuf:"bytes,5,opt,name=ws_url,json=wsUrl,proto3" json:"ws_url,omitempty"`
|
|
Result SIPDispatchResult `protobuf:"varint,6,opt,name=result,proto3,enum=rpc.SIPDispatchResult" json:"result,omitempty"`
|
|
// Trunk used to fulfill this request
|
|
SipTrunkId string `protobuf:"bytes,9,opt,name=sip_trunk_id,json=sipTrunkId,proto3" json:"sip_trunk_id,omitempty"`
|
|
// Dispatch Rule used to fulfill this request
|
|
SipDispatchRuleId string `protobuf:"bytes,10,opt,name=sip_dispatch_rule_id,json=sipDispatchRuleId,proto3" json:"sip_dispatch_rule_id,omitempty"`
|
|
// Used in Cloud only
|
|
ProjectId string `protobuf:"bytes,12,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
|
|
// Include these SIP X-* headers in 200 OK response to INVITE.
|
|
// These headers are included as-is and may help identify triggered LiveKit Dispatch Rule for the other SIP endpoint.
|
|
Headers map[string]string `protobuf:"bytes,13,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
// Map SIP X-* headers from INVITE to SIP participant attributes.
|
|
// Keys are the names of X-* headers and values are the names of attributes they will be mapped to.
|
|
HeadersToAttributes map[string]string `protobuf:"bytes,14,rep,name=headers_to_attributes,json=headersToAttributes,proto3" json:"headers_to_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
EnabledFeatures []SIPFeature `protobuf:"varint,15,rep,packed,name=enabled_features,json=enabledFeatures,proto3,enum=rpc.SIPFeature" json:"enabled_features,omitempty"` // NEXT ID: 16
|
|
}
|
|
|
|
func (x *EvaluateSIPDispatchRulesResponse) Reset() {
|
|
*x = EvaluateSIPDispatchRulesResponse{}
|
|
mi := &file_rpc_io_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *EvaluateSIPDispatchRulesResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*EvaluateSIPDispatchRulesResponse) ProtoMessage() {}
|
|
|
|
func (x *EvaluateSIPDispatchRulesResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_io_proto_msgTypes[8]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use EvaluateSIPDispatchRulesResponse.ProtoReflect.Descriptor instead.
|
|
func (*EvaluateSIPDispatchRulesResponse) Descriptor() ([]byte, []int) {
|
|
return file_rpc_io_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *EvaluateSIPDispatchRulesResponse) GetRoomName() string {
|
|
if x != nil {
|
|
return x.RoomName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *EvaluateSIPDispatchRulesResponse) GetParticipantIdentity() string {
|
|
if x != nil {
|
|
return x.ParticipantIdentity
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *EvaluateSIPDispatchRulesResponse) GetParticipantName() string {
|
|
if x != nil {
|
|
return x.ParticipantName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *EvaluateSIPDispatchRulesResponse) GetParticipantMetadata() string {
|
|
if x != nil {
|
|
return x.ParticipantMetadata
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *EvaluateSIPDispatchRulesResponse) GetParticipantAttributes() map[string]string {
|
|
if x != nil {
|
|
return x.ParticipantAttributes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// Deprecated: Marked as deprecated in rpc/io.proto.
|
|
func (x *EvaluateSIPDispatchRulesResponse) GetRequestPin() bool {
|
|
if x != nil {
|
|
return x.RequestPin
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *EvaluateSIPDispatchRulesResponse) GetToken() string {
|
|
if x != nil {
|
|
return x.Token
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *EvaluateSIPDispatchRulesResponse) GetWsUrl() string {
|
|
if x != nil {
|
|
return x.WsUrl
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *EvaluateSIPDispatchRulesResponse) GetResult() SIPDispatchResult {
|
|
if x != nil {
|
|
return x.Result
|
|
}
|
|
return SIPDispatchResult_LEGACY_ACCEPT_OR_PIN
|
|
}
|
|
|
|
func (x *EvaluateSIPDispatchRulesResponse) GetSipTrunkId() string {
|
|
if x != nil {
|
|
return x.SipTrunkId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *EvaluateSIPDispatchRulesResponse) GetSipDispatchRuleId() string {
|
|
if x != nil {
|
|
return x.SipDispatchRuleId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *EvaluateSIPDispatchRulesResponse) GetProjectId() string {
|
|
if x != nil {
|
|
return x.ProjectId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *EvaluateSIPDispatchRulesResponse) GetHeaders() map[string]string {
|
|
if x != nil {
|
|
return x.Headers
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *EvaluateSIPDispatchRulesResponse) GetHeadersToAttributes() map[string]string {
|
|
if x != nil {
|
|
return x.HeadersToAttributes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *EvaluateSIPDispatchRulesResponse) GetEnabledFeatures() []SIPFeature {
|
|
if x != nil {
|
|
return x.EnabledFeatures
|
|
}
|
|
return nil
|
|
}
|
|
|
|
var File_rpc_io_proto protoreflect.FileDescriptor
|
|
|
|
var file_rpc_io_proto_rawDesc = []byte{
|
|
0x0a, 0x0c, 0x72, 0x70, 0x63, 0x2f, 0x69, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03,
|
|
0x72, 0x70, 0x63, 0x1a, 0x14, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x5f, 0x65, 0x67, 0x72,
|
|
0x65, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x6c, 0x69, 0x76, 0x65, 0x6b,
|
|
0x69, 0x74, 0x5f, 0x69, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
|
0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
|
|
0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2f, 0x0a,
|
|
0x10, 0x47, 0x65, 0x74, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
0x74, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x67, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x69, 0x64, 0x18, 0x01,
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x67, 0x72, 0x65, 0x73, 0x73, 0x49, 0x64, 0x22, 0x87,
|
|
0x01, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73,
|
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18,
|
|
0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e,
|
|
0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f,
|
|
0x12, 0x22, 0x0a, 0x0d, 0x61, 0x76, 0x67, 0x5f, 0x63, 0x70, 0x75, 0x5f, 0x75, 0x73, 0x61, 0x67,
|
|
0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0b, 0x61, 0x76, 0x67, 0x43, 0x70, 0x75, 0x55,
|
|
0x73, 0x61, 0x67, 0x65, 0x12, 0x22, 0x0a, 0x0d, 0x6d, 0x61, 0x78, 0x5f, 0x63, 0x70, 0x75, 0x5f,
|
|
0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0b, 0x6d, 0x61, 0x78,
|
|
0x43, 0x70, 0x75, 0x55, 0x73, 0x61, 0x67, 0x65, 0x22, 0x55, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x49,
|
|
0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x69, 0x64, 0x18,
|
|
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x69, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x49, 0x64,
|
|
0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x02,
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4b, 0x65, 0x79, 0x22,
|
|
0x88, 0x02, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x49, 0x6e,
|
|
0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x28, 0x0a, 0x04, 0x69, 0x6e,
|
|
0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b,
|
|
0x69, 0x74, 0x2e, 0x49, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04,
|
|
0x69, 0x6e, 0x66, 0x6f, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x15, 0x0a, 0x06, 0x77, 0x73,
|
|
0x5f, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x77, 0x73, 0x55, 0x72,
|
|
0x6c, 0x12, 0x55, 0x0a, 0x0e, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x66, 0x69, 0x65,
|
|
0x6c, 0x64, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x72, 0x70, 0x63, 0x2e,
|
|
0x47, 0x65, 0x74, 0x49, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65,
|
|
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x4c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x46, 0x69,
|
|
0x65, 0x6c, 0x64, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x6c, 0x6f, 0x67, 0x67, 0x69,
|
|
0x6e, 0x67, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x1a, 0x40, 0x0a, 0x12, 0x4c, 0x6f, 0x67, 0x67,
|
|
0x69, 0x6e, 0x67, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10,
|
|
0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79,
|
|
0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x67, 0x0a, 0x19, 0x55, 0x70,
|
|
0x64, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x61, 0x74, 0x65,
|
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x6e, 0x67, 0x72, 0x65,
|
|
0x73, 0x73, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x69, 0x6e, 0x67,
|
|
0x72, 0x65, 0x73, 0x73, 0x49, 0x64, 0x12, 0x2b, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18,
|
|
0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e,
|
|
0x49, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74,
|
|
0x61, 0x74, 0x65, 0x22, 0xa0, 0x01, 0x0a, 0x20, 0x47, 0x65, 0x74, 0x53, 0x49, 0x50, 0x54, 0x72,
|
|
0x75, 0x6e, 0x6b, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f,
|
|
0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1e, 0x0a, 0x0b, 0x73, 0x69, 0x70, 0x5f,
|
|
0x63, 0x61, 0x6c, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73,
|
|
0x69, 0x70, 0x43, 0x61, 0x6c, 0x6c, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d,
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x12, 0x0e, 0x0a, 0x02,
|
|
0x74, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x74, 0x6f, 0x12, 0x1f, 0x0a, 0x0b,
|
|
0x73, 0x72, 0x63, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x0a, 0x73, 0x72, 0x63, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x17, 0x0a,
|
|
0x07, 0x74, 0x6f, 0x5f, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
|
|
0x74, 0x6f, 0x48, 0x6f, 0x73, 0x74, 0x22, 0xb0, 0x01, 0x0a, 0x21, 0x47, 0x65, 0x74, 0x53, 0x49,
|
|
0x50, 0x54, 0x72, 0x75, 0x6e, 0x6b, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61,
|
|
0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08,
|
|
0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
|
|
0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73,
|
|
0x77, 0x6f, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73,
|
|
0x77, 0x6f, 0x72, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x72, 0x6f, 0x70, 0x18, 0x03, 0x20, 0x01,
|
|
0x28, 0x08, 0x52, 0x04, 0x64, 0x72, 0x6f, 0x70, 0x12, 0x20, 0x0a, 0x0c, 0x73, 0x69, 0x70, 0x5f,
|
|
0x74, 0x72, 0x75, 0x6e, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a,
|
|
0x73, 0x69, 0x70, 0x54, 0x72, 0x75, 0x6e, 0x6b, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x72,
|
|
0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
|
|
0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x22, 0xf6, 0x03, 0x0a, 0x1f, 0x45, 0x76,
|
|
0x61, 0x6c, 0x75, 0x61, 0x74, 0x65, 0x53, 0x49, 0x50, 0x44, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63,
|
|
0x68, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1e, 0x0a,
|
|
0x0b, 0x73, 0x69, 0x70, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x09, 0x73, 0x69, 0x70, 0x43, 0x61, 0x6c, 0x6c, 0x49, 0x64, 0x12, 0x30, 0x0a,
|
|
0x12, 0x73, 0x69, 0x70, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74,
|
|
0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x10, 0x73,
|
|
0x69, 0x70, 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x12,
|
|
0x20, 0x0a, 0x0c, 0x73, 0x69, 0x70, 0x5f, 0x74, 0x72, 0x75, 0x6e, 0x6b, 0x5f, 0x69, 0x64, 0x18,
|
|
0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x69, 0x70, 0x54, 0x72, 0x75, 0x6e, 0x6b, 0x49,
|
|
0x64, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x61, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x5f, 0x6e, 0x75, 0x6d,
|
|
0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x61, 0x6c, 0x6c, 0x69,
|
|
0x6e, 0x67, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x61, 0x6c, 0x6c,
|
|
0x65, 0x64, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x0c, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x64, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x1f, 0x0a,
|
|
0x0b, 0x73, 0x72, 0x63, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x04, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x0a, 0x73, 0x72, 0x63, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x10,
|
|
0x0a, 0x03, 0x70, 0x69, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x70, 0x69, 0x6e,
|
|
0x12, 0x15, 0x0a, 0x06, 0x6e, 0x6f, 0x5f, 0x70, 0x69, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08,
|
|
0x52, 0x05, 0x6e, 0x6f, 0x50, 0x69, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x61, 0x6c, 0x6c, 0x65,
|
|
0x64, 0x5f, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x61,
|
|
0x6c, 0x6c, 0x65, 0x64, 0x48, 0x6f, 0x73, 0x74, 0x12, 0x64, 0x0a, 0x10, 0x65, 0x78, 0x74, 0x72,
|
|
0x61, 0x5f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x09, 0x20, 0x03,
|
|
0x28, 0x0b, 0x32, 0x39, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74,
|
|
0x65, 0x53, 0x49, 0x50, 0x44, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x52, 0x75, 0x6c, 0x65,
|
|
0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x45, 0x78, 0x74, 0x72, 0x61, 0x41, 0x74,
|
|
0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0f, 0x65,
|
|
0x78, 0x74, 0x72, 0x61, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x1a, 0x42,
|
|
0x0a, 0x14, 0x45, 0x78, 0x74, 0x72, 0x61, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65,
|
|
0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
|
|
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02,
|
|
0x38, 0x01, 0x22, 0x89, 0x08, 0x0a, 0x20, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x65, 0x53,
|
|
0x49, 0x50, 0x44, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x52,
|
|
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x6f, 0x6f, 0x6d, 0x5f,
|
|
0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x6f, 0x6f, 0x6d,
|
|
0x4e, 0x61, 0x6d, 0x65, 0x12, 0x31, 0x0a, 0x14, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70,
|
|
0x61, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x13, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x49,
|
|
0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x29, 0x0a, 0x10, 0x70, 0x61, 0x72, 0x74, 0x69,
|
|
0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x0f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x4e, 0x61,
|
|
0x6d, 0x65, 0x12, 0x31, 0x0a, 0x14, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e,
|
|
0x74, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09,
|
|
0x52, 0x13, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x4d, 0x65, 0x74,
|
|
0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x77, 0x0a, 0x16, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69,
|
|
0x70, 0x61, 0x6e, 0x74, 0x5f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18,
|
|
0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x40, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x45, 0x76, 0x61, 0x6c,
|
|
0x75, 0x61, 0x74, 0x65, 0x53, 0x49, 0x50, 0x44, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x52,
|
|
0x75, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x50, 0x61, 0x72,
|
|
0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74,
|
|
0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x15, 0x70, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69,
|
|
0x70, 0x61, 0x6e, 0x74, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x23,
|
|
0x0a, 0x0b, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x70, 0x69, 0x6e, 0x18, 0x03, 0x20,
|
|
0x01, 0x28, 0x08, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
0x50, 0x69, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x15, 0x0a, 0x06, 0x77, 0x73, 0x5f,
|
|
0x75, 0x72, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x77, 0x73, 0x55, 0x72, 0x6c,
|
|
0x12, 0x2e, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e,
|
|
0x32, 0x16, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x49, 0x50, 0x44, 0x69, 0x73, 0x70, 0x61, 0x74,
|
|
0x63, 0x68, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74,
|
|
0x12, 0x20, 0x0a, 0x0c, 0x73, 0x69, 0x70, 0x5f, 0x74, 0x72, 0x75, 0x6e, 0x6b, 0x5f, 0x69, 0x64,
|
|
0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x69, 0x70, 0x54, 0x72, 0x75, 0x6e, 0x6b,
|
|
0x49, 0x64, 0x12, 0x2f, 0x0a, 0x14, 0x73, 0x69, 0x70, 0x5f, 0x64, 0x69, 0x73, 0x70, 0x61, 0x74,
|
|
0x63, 0x68, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09,
|
|
0x52, 0x11, 0x73, 0x69, 0x70, 0x44, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x52, 0x75, 0x6c,
|
|
0x65, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69,
|
|
0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,
|
|
0x49, 0x64, 0x12, 0x4c, 0x0a, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x18, 0x0d, 0x20,
|
|
0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61,
|
|
0x74, 0x65, 0x53, 0x49, 0x50, 0x44, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x52, 0x75, 0x6c,
|
|
0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65,
|
|
0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73,
|
|
0x12, 0x72, 0x0a, 0x15, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x5f, 0x74, 0x6f, 0x5f, 0x61,
|
|
0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0b, 0x32,
|
|
0x3e, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x65, 0x53, 0x49,
|
|
0x50, 0x44, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x65,
|
|
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x54, 0x6f,
|
|
0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52,
|
|
0x13, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x54, 0x6f, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62,
|
|
0x75, 0x74, 0x65, 0x73, 0x12, 0x3a, 0x0a, 0x10, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x5f,
|
|
0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x0f,
|
|
0x2e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x49, 0x50, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52,
|
|
0x0f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73,
|
|
0x1a, 0x48, 0x0a, 0x1a, 0x50, 0x61, 0x72, 0x74, 0x69, 0x63, 0x69, 0x70, 0x61, 0x6e, 0x74, 0x41,
|
|
0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10,
|
|
0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79,
|
|
0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x3a, 0x0a, 0x0c, 0x48, 0x65,
|
|
0x61, 0x64, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65,
|
|
0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05,
|
|
0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c,
|
|
0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x46, 0x0a, 0x18, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72,
|
|
0x73, 0x54, 0x6f, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x45, 0x6e, 0x74,
|
|
0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x2a, 0x29,
|
|
0x0a, 0x0a, 0x53, 0x49, 0x50, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x08, 0x0a, 0x04,
|
|
0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x4b, 0x52, 0x49, 0x53, 0x50, 0x5f,
|
|
0x45, 0x4e, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x01, 0x2a, 0x60, 0x0a, 0x11, 0x53, 0x49, 0x50,
|
|
0x44, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x18,
|
|
0x0a, 0x14, 0x4c, 0x45, 0x47, 0x41, 0x43, 0x59, 0x5f, 0x41, 0x43, 0x43, 0x45, 0x50, 0x54, 0x5f,
|
|
0x4f, 0x52, 0x5f, 0x50, 0x49, 0x4e, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x41, 0x43, 0x43, 0x45,
|
|
0x50, 0x54, 0x10, 0x01, 0x12, 0x0f, 0x0a, 0x0b, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x5f,
|
|
0x50, 0x49, 0x4e, 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x52, 0x45, 0x4a, 0x45, 0x43, 0x54, 0x10,
|
|
0x03, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x52, 0x4f, 0x50, 0x10, 0x04, 0x32, 0xf3, 0x05, 0x0a, 0x06,
|
|
0x49, 0x4f, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x3b, 0x0a, 0x0c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,
|
|
0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x13, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74,
|
|
0x2e, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x1a, 0x16, 0x2e, 0x67, 0x6f,
|
|
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d,
|
|
0x70, 0x74, 0x79, 0x12, 0x3b, 0x0a, 0x0c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x45, 0x67, 0x72,
|
|
0x65, 0x73, 0x73, 0x12, 0x13, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x45, 0x67,
|
|
0x72, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
|
|
0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79,
|
|
0x12, 0x37, 0x0a, 0x09, 0x47, 0x65, 0x74, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x15, 0x2e,
|
|
0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71,
|
|
0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x45,
|
|
0x67, 0x72, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x45, 0x0a, 0x0a, 0x4c, 0x69, 0x73,
|
|
0x74, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1a, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69,
|
|
0x74, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75,
|
|
0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e, 0x4c, 0x69,
|
|
0x73, 0x74, 0x45, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
|
0x12, 0x42, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63,
|
|
0x73, 0x12, 0x19, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x65,
|
|
0x74, 0x72, 0x69, 0x63, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67,
|
|
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45,
|
|
0x6d, 0x70, 0x74, 0x79, 0x12, 0x3d, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, 0x6e,
|
|
0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x14, 0x2e, 0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2e,
|
|
0x49, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x1a, 0x16, 0x2e, 0x67, 0x6f,
|
|
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d,
|
|
0x70, 0x74, 0x79, 0x12, 0x49, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x67, 0x72, 0x65, 0x73,
|
|
0x73, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1a, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x49,
|
|
0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
0x74, 0x1a, 0x1b, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x67, 0x72, 0x65,
|
|
0x73, 0x73, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4c,
|
|
0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x53,
|
|
0x74, 0x61, 0x74, 0x65, 0x12, 0x1e, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74,
|
|
0x65, 0x49, 0x6e, 0x67, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71,
|
|
0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
|
|
0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x6a, 0x0a, 0x19,
|
|
0x47, 0x65, 0x74, 0x53, 0x49, 0x50, 0x54, 0x72, 0x75, 0x6e, 0x6b, 0x41, 0x75, 0x74, 0x68, 0x65,
|
|
0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x2e, 0x72, 0x70, 0x63, 0x2e,
|
|
0x47, 0x65, 0x74, 0x53, 0x49, 0x50, 0x54, 0x72, 0x75, 0x6e, 0x6b, 0x41, 0x75, 0x74, 0x68, 0x65,
|
|
0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
0x1a, 0x26, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x49, 0x50, 0x54, 0x72, 0x75,
|
|
0x6e, 0x6b, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
|
|
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x67, 0x0a, 0x18, 0x45, 0x76, 0x61, 0x6c,
|
|
0x75, 0x61, 0x74, 0x65, 0x53, 0x49, 0x50, 0x44, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x52,
|
|
0x75, 0x6c, 0x65, 0x73, 0x12, 0x24, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x45, 0x76, 0x61, 0x6c, 0x75,
|
|
0x61, 0x74, 0x65, 0x53, 0x49, 0x50, 0x44, 0x69, 0x73, 0x70, 0x61, 0x74, 0x63, 0x68, 0x52, 0x75,
|
|
0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x72, 0x70, 0x63,
|
|
0x2e, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x65, 0x53, 0x49, 0x50, 0x44, 0x69, 0x73, 0x70,
|
|
0x61, 0x74, 0x63, 0x68, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
|
0x65, 0x42, 0x21, 0x5a, 0x1f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
|
|
0x6c, 0x69, 0x76, 0x65, 0x6b, 0x69, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c,
|
|
0x2f, 0x72, 0x70, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
}
|
|
|
|
var (
|
|
file_rpc_io_proto_rawDescOnce sync.Once
|
|
file_rpc_io_proto_rawDescData = file_rpc_io_proto_rawDesc
|
|
)
|
|
|
|
func file_rpc_io_proto_rawDescGZIP() []byte {
|
|
file_rpc_io_proto_rawDescOnce.Do(func() {
|
|
file_rpc_io_proto_rawDescData = protoimpl.X.CompressGZIP(file_rpc_io_proto_rawDescData)
|
|
})
|
|
return file_rpc_io_proto_rawDescData
|
|
}
|
|
|
|
var file_rpc_io_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
|
|
var file_rpc_io_proto_msgTypes = make([]protoimpl.MessageInfo, 14)
|
|
var file_rpc_io_proto_goTypes = []any{
|
|
(SIPFeature)(0), // 0: rpc.SIPFeature
|
|
(SIPDispatchResult)(0), // 1: rpc.SIPDispatchResult
|
|
(*GetEgressRequest)(nil), // 2: rpc.GetEgressRequest
|
|
(*UpdateMetricsRequest)(nil), // 3: rpc.UpdateMetricsRequest
|
|
(*GetIngressInfoRequest)(nil), // 4: rpc.GetIngressInfoRequest
|
|
(*GetIngressInfoResponse)(nil), // 5: rpc.GetIngressInfoResponse
|
|
(*UpdateIngressStateRequest)(nil), // 6: rpc.UpdateIngressStateRequest
|
|
(*GetSIPTrunkAuthenticationRequest)(nil), // 7: rpc.GetSIPTrunkAuthenticationRequest
|
|
(*GetSIPTrunkAuthenticationResponse)(nil), // 8: rpc.GetSIPTrunkAuthenticationResponse
|
|
(*EvaluateSIPDispatchRulesRequest)(nil), // 9: rpc.EvaluateSIPDispatchRulesRequest
|
|
(*EvaluateSIPDispatchRulesResponse)(nil), // 10: rpc.EvaluateSIPDispatchRulesResponse
|
|
nil, // 11: rpc.GetIngressInfoResponse.LoggingFieldsEntry
|
|
nil, // 12: rpc.EvaluateSIPDispatchRulesRequest.ExtraAttributesEntry
|
|
nil, // 13: rpc.EvaluateSIPDispatchRulesResponse.ParticipantAttributesEntry
|
|
nil, // 14: rpc.EvaluateSIPDispatchRulesResponse.HeadersEntry
|
|
nil, // 15: rpc.EvaluateSIPDispatchRulesResponse.HeadersToAttributesEntry
|
|
(*livekit.EgressInfo)(nil), // 16: livekit.EgressInfo
|
|
(*livekit.IngressInfo)(nil), // 17: livekit.IngressInfo
|
|
(*livekit.IngressState)(nil), // 18: livekit.IngressState
|
|
(*livekit.ListEgressRequest)(nil), // 19: livekit.ListEgressRequest
|
|
(*emptypb.Empty)(nil), // 20: google.protobuf.Empty
|
|
(*livekit.ListEgressResponse)(nil), // 21: livekit.ListEgressResponse
|
|
}
|
|
var file_rpc_io_proto_depIdxs = []int32{
|
|
16, // 0: rpc.UpdateMetricsRequest.info:type_name -> livekit.EgressInfo
|
|
17, // 1: rpc.GetIngressInfoResponse.info:type_name -> livekit.IngressInfo
|
|
11, // 2: rpc.GetIngressInfoResponse.logging_fields:type_name -> rpc.GetIngressInfoResponse.LoggingFieldsEntry
|
|
18, // 3: rpc.UpdateIngressStateRequest.state:type_name -> livekit.IngressState
|
|
12, // 4: rpc.EvaluateSIPDispatchRulesRequest.extra_attributes:type_name -> rpc.EvaluateSIPDispatchRulesRequest.ExtraAttributesEntry
|
|
13, // 5: rpc.EvaluateSIPDispatchRulesResponse.participant_attributes:type_name -> rpc.EvaluateSIPDispatchRulesResponse.ParticipantAttributesEntry
|
|
1, // 6: rpc.EvaluateSIPDispatchRulesResponse.result:type_name -> rpc.SIPDispatchResult
|
|
14, // 7: rpc.EvaluateSIPDispatchRulesResponse.headers:type_name -> rpc.EvaluateSIPDispatchRulesResponse.HeadersEntry
|
|
15, // 8: rpc.EvaluateSIPDispatchRulesResponse.headers_to_attributes:type_name -> rpc.EvaluateSIPDispatchRulesResponse.HeadersToAttributesEntry
|
|
0, // 9: rpc.EvaluateSIPDispatchRulesResponse.enabled_features:type_name -> rpc.SIPFeature
|
|
16, // 10: rpc.IOInfo.CreateEgress:input_type -> livekit.EgressInfo
|
|
16, // 11: rpc.IOInfo.UpdateEgress:input_type -> livekit.EgressInfo
|
|
2, // 12: rpc.IOInfo.GetEgress:input_type -> rpc.GetEgressRequest
|
|
19, // 13: rpc.IOInfo.ListEgress:input_type -> livekit.ListEgressRequest
|
|
3, // 14: rpc.IOInfo.UpdateMetrics:input_type -> rpc.UpdateMetricsRequest
|
|
17, // 15: rpc.IOInfo.CreateIngress:input_type -> livekit.IngressInfo
|
|
4, // 16: rpc.IOInfo.GetIngressInfo:input_type -> rpc.GetIngressInfoRequest
|
|
6, // 17: rpc.IOInfo.UpdateIngressState:input_type -> rpc.UpdateIngressStateRequest
|
|
7, // 18: rpc.IOInfo.GetSIPTrunkAuthentication:input_type -> rpc.GetSIPTrunkAuthenticationRequest
|
|
9, // 19: rpc.IOInfo.EvaluateSIPDispatchRules:input_type -> rpc.EvaluateSIPDispatchRulesRequest
|
|
20, // 20: rpc.IOInfo.CreateEgress:output_type -> google.protobuf.Empty
|
|
20, // 21: rpc.IOInfo.UpdateEgress:output_type -> google.protobuf.Empty
|
|
16, // 22: rpc.IOInfo.GetEgress:output_type -> livekit.EgressInfo
|
|
21, // 23: rpc.IOInfo.ListEgress:output_type -> livekit.ListEgressResponse
|
|
20, // 24: rpc.IOInfo.UpdateMetrics:output_type -> google.protobuf.Empty
|
|
20, // 25: rpc.IOInfo.CreateIngress:output_type -> google.protobuf.Empty
|
|
5, // 26: rpc.IOInfo.GetIngressInfo:output_type -> rpc.GetIngressInfoResponse
|
|
20, // 27: rpc.IOInfo.UpdateIngressState:output_type -> google.protobuf.Empty
|
|
8, // 28: rpc.IOInfo.GetSIPTrunkAuthentication:output_type -> rpc.GetSIPTrunkAuthenticationResponse
|
|
10, // 29: rpc.IOInfo.EvaluateSIPDispatchRules:output_type -> rpc.EvaluateSIPDispatchRulesResponse
|
|
20, // [20:30] is the sub-list for method output_type
|
|
10, // [10:20] is the sub-list for method input_type
|
|
10, // [10:10] is the sub-list for extension type_name
|
|
10, // [10:10] is the sub-list for extension extendee
|
|
0, // [0:10] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_rpc_io_proto_init() }
|
|
func file_rpc_io_proto_init() {
|
|
if File_rpc_io_proto != nil {
|
|
return
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: file_rpc_io_proto_rawDesc,
|
|
NumEnums: 2,
|
|
NumMessages: 14,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_rpc_io_proto_goTypes,
|
|
DependencyIndexes: file_rpc_io_proto_depIdxs,
|
|
EnumInfos: file_rpc_io_proto_enumTypes,
|
|
MessageInfos: file_rpc_io_proto_msgTypes,
|
|
}.Build()
|
|
File_rpc_io_proto = out.File
|
|
file_rpc_io_proto_rawDesc = nil
|
|
file_rpc_io_proto_goTypes = nil
|
|
file_rpc_io_proto_depIdxs = nil
|
|
}
|