* chore(deps): update actions/cache action to v5 Generated by renovateBot * generated protobuf --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
295 lines
12 KiB
Go
295 lines
12 KiB
Go
// Copyright 2025 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.36.11
|
|
// protoc v4.23.4
|
|
// source: rpc/connector.proto
|
|
|
|
package rpc
|
|
|
|
import (
|
|
livekit "github.com/livekit/protocol/livekit"
|
|
_ "github.com/livekit/psrpc/protoc-gen-psrpc/options"
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
unsafe "unsafe"
|
|
)
|
|
|
|
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 InternalDialWhatsAppCallRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Request *livekit.DialWhatsAppCallRequest `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"`
|
|
RoomJoinInfo *InternalRoomJoinInfo `protobuf:"bytes,2,opt,name=room_join_info,json=roomJoinInfo,proto3" json:"room_join_info,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *InternalDialWhatsAppCallRequest) Reset() {
|
|
*x = InternalDialWhatsAppCallRequest{}
|
|
mi := &file_rpc_connector_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *InternalDialWhatsAppCallRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*InternalDialWhatsAppCallRequest) ProtoMessage() {}
|
|
|
|
func (x *InternalDialWhatsAppCallRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_connector_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 InternalDialWhatsAppCallRequest.ProtoReflect.Descriptor instead.
|
|
func (*InternalDialWhatsAppCallRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_connector_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *InternalDialWhatsAppCallRequest) GetRequest() *livekit.DialWhatsAppCallRequest {
|
|
if x != nil {
|
|
return x.Request
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *InternalDialWhatsAppCallRequest) GetRoomJoinInfo() *InternalRoomJoinInfo {
|
|
if x != nil {
|
|
return x.RoomJoinInfo
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type InternalAcceptWhatsAppCallRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Request *livekit.AcceptWhatsAppCallRequest `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"`
|
|
RoomJoinInfo *InternalRoomJoinInfo `protobuf:"bytes,2,opt,name=room_join_info,json=roomJoinInfo,proto3" json:"room_join_info,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *InternalAcceptWhatsAppCallRequest) Reset() {
|
|
*x = InternalAcceptWhatsAppCallRequest{}
|
|
mi := &file_rpc_connector_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *InternalAcceptWhatsAppCallRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*InternalAcceptWhatsAppCallRequest) ProtoMessage() {}
|
|
|
|
func (x *InternalAcceptWhatsAppCallRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_connector_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 InternalAcceptWhatsAppCallRequest.ProtoReflect.Descriptor instead.
|
|
func (*InternalAcceptWhatsAppCallRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_connector_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *InternalAcceptWhatsAppCallRequest) GetRequest() *livekit.AcceptWhatsAppCallRequest {
|
|
if x != nil {
|
|
return x.Request
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *InternalAcceptWhatsAppCallRequest) GetRoomJoinInfo() *InternalRoomJoinInfo {
|
|
if x != nil {
|
|
return x.RoomJoinInfo
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type InternalConnectTwilioCallRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Request *livekit.ConnectTwilioCallRequest `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"`
|
|
RoomJoinInfo *InternalRoomJoinInfo `protobuf:"bytes,2,opt,name=room_join_info,json=roomJoinInfo,proto3" json:"room_join_info,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *InternalConnectTwilioCallRequest) Reset() {
|
|
*x = InternalConnectTwilioCallRequest{}
|
|
mi := &file_rpc_connector_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *InternalConnectTwilioCallRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*InternalConnectTwilioCallRequest) ProtoMessage() {}
|
|
|
|
func (x *InternalConnectTwilioCallRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_rpc_connector_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 InternalConnectTwilioCallRequest.ProtoReflect.Descriptor instead.
|
|
func (*InternalConnectTwilioCallRequest) Descriptor() ([]byte, []int) {
|
|
return file_rpc_connector_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *InternalConnectTwilioCallRequest) GetRequest() *livekit.ConnectTwilioCallRequest {
|
|
if x != nil {
|
|
return x.Request
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *InternalConnectTwilioCallRequest) GetRoomJoinInfo() *InternalRoomJoinInfo {
|
|
if x != nil {
|
|
return x.RoomJoinInfo
|
|
}
|
|
return nil
|
|
}
|
|
|
|
var File_rpc_connector_proto protoreflect.FileDescriptor
|
|
|
|
const file_rpc_connector_proto_rawDesc = "" +
|
|
"\n" +
|
|
"\x13rpc/connector.proto\x12\x03rpc\x1a\roptions.proto\x1a livekit_connector_whatsapp.proto\x1a\x1elivekit_connector_twilio.proto\x1a\x10rpc/common.proto\"\x9e\x01\n" +
|
|
"\x1fInternalDialWhatsAppCallRequest\x12:\n" +
|
|
"\arequest\x18\x01 \x01(\v2 .livekit.DialWhatsAppCallRequestR\arequest\x12?\n" +
|
|
"\x0eroom_join_info\x18\x02 \x01(\v2\x19.rpc.InternalRoomJoinInfoR\froomJoinInfo\"\xa2\x01\n" +
|
|
"!InternalAcceptWhatsAppCallRequest\x12<\n" +
|
|
"\arequest\x18\x01 \x01(\v2\".livekit.AcceptWhatsAppCallRequestR\arequest\x12?\n" +
|
|
"\x0eroom_join_info\x18\x02 \x01(\v2\x19.rpc.InternalRoomJoinInfoR\froomJoinInfo\"\xa0\x01\n" +
|
|
" InternalConnectTwilioCallRequest\x12;\n" +
|
|
"\arequest\x18\x01 \x01(\v2!.livekit.ConnectTwilioCallRequestR\arequest\x12?\n" +
|
|
"\x0eroom_join_info\x18\x02 \x01(\v2\x19.rpc.InternalRoomJoinInfoR\froomJoinInfo2\xcb\x02\n" +
|
|
"\x11ConnectorInternal\x12c\n" +
|
|
"\x10DialWhatsAppCall\x12$.rpc.InternalDialWhatsAppCallRequest\x1a!.livekit.DialWhatsAppCallResponse\"\x06\xb2\x89\x01\x02\x10\x01\x12i\n" +
|
|
"\x12AcceptWhatsAppCall\x12&.rpc.InternalAcceptWhatsAppCallRequest\x1a#.livekit.AcceptWhatsAppCallResponse\"\x06\xb2\x89\x01\x02\x10\x01\x12f\n" +
|
|
"\x11ConnectTwilioCall\x12%.rpc.InternalConnectTwilioCallRequest\x1a\".livekit.ConnectTwilioCallResponse\"\x06\xb2\x89\x01\x02\x10\x012\x98\x02\n" +
|
|
"\x10ConnectorHandler\x12|\n" +
|
|
"\x13ConnectWhatsAppCall\x12#.livekit.ConnectWhatsAppCallRequest\x1a$.livekit.ConnectWhatsAppCallResponse\"\x1a\xb2\x89\x01\x16\x10\x01\x1a\x12\x12\x10whatsapp_call_id\x12\x85\x01\n" +
|
|
"\x16DisconnectWhatsAppCall\x12&.livekit.DisconnectWhatsAppCallRequest\x1a'.livekit.DisconnectWhatsAppCallResponse\"\x1a\xb2\x89\x01\x16\x10\x01\x1a\x12\x12\x10whatsapp_call_idB!Z\x1fgithub.com/livekit/protocol/rpcb\x06proto3"
|
|
|
|
var (
|
|
file_rpc_connector_proto_rawDescOnce sync.Once
|
|
file_rpc_connector_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_rpc_connector_proto_rawDescGZIP() []byte {
|
|
file_rpc_connector_proto_rawDescOnce.Do(func() {
|
|
file_rpc_connector_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_rpc_connector_proto_rawDesc), len(file_rpc_connector_proto_rawDesc)))
|
|
})
|
|
return file_rpc_connector_proto_rawDescData
|
|
}
|
|
|
|
var file_rpc_connector_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
|
|
var file_rpc_connector_proto_goTypes = []any{
|
|
(*InternalDialWhatsAppCallRequest)(nil), // 0: rpc.InternalDialWhatsAppCallRequest
|
|
(*InternalAcceptWhatsAppCallRequest)(nil), // 1: rpc.InternalAcceptWhatsAppCallRequest
|
|
(*InternalConnectTwilioCallRequest)(nil), // 2: rpc.InternalConnectTwilioCallRequest
|
|
(*livekit.DialWhatsAppCallRequest)(nil), // 3: livekit.DialWhatsAppCallRequest
|
|
(*InternalRoomJoinInfo)(nil), // 4: rpc.InternalRoomJoinInfo
|
|
(*livekit.AcceptWhatsAppCallRequest)(nil), // 5: livekit.AcceptWhatsAppCallRequest
|
|
(*livekit.ConnectTwilioCallRequest)(nil), // 6: livekit.ConnectTwilioCallRequest
|
|
(*livekit.ConnectWhatsAppCallRequest)(nil), // 7: livekit.ConnectWhatsAppCallRequest
|
|
(*livekit.DisconnectWhatsAppCallRequest)(nil), // 8: livekit.DisconnectWhatsAppCallRequest
|
|
(*livekit.DialWhatsAppCallResponse)(nil), // 9: livekit.DialWhatsAppCallResponse
|
|
(*livekit.AcceptWhatsAppCallResponse)(nil), // 10: livekit.AcceptWhatsAppCallResponse
|
|
(*livekit.ConnectTwilioCallResponse)(nil), // 11: livekit.ConnectTwilioCallResponse
|
|
(*livekit.ConnectWhatsAppCallResponse)(nil), // 12: livekit.ConnectWhatsAppCallResponse
|
|
(*livekit.DisconnectWhatsAppCallResponse)(nil), // 13: livekit.DisconnectWhatsAppCallResponse
|
|
}
|
|
var file_rpc_connector_proto_depIdxs = []int32{
|
|
3, // 0: rpc.InternalDialWhatsAppCallRequest.request:type_name -> livekit.DialWhatsAppCallRequest
|
|
4, // 1: rpc.InternalDialWhatsAppCallRequest.room_join_info:type_name -> rpc.InternalRoomJoinInfo
|
|
5, // 2: rpc.InternalAcceptWhatsAppCallRequest.request:type_name -> livekit.AcceptWhatsAppCallRequest
|
|
4, // 3: rpc.InternalAcceptWhatsAppCallRequest.room_join_info:type_name -> rpc.InternalRoomJoinInfo
|
|
6, // 4: rpc.InternalConnectTwilioCallRequest.request:type_name -> livekit.ConnectTwilioCallRequest
|
|
4, // 5: rpc.InternalConnectTwilioCallRequest.room_join_info:type_name -> rpc.InternalRoomJoinInfo
|
|
0, // 6: rpc.ConnectorInternal.DialWhatsAppCall:input_type -> rpc.InternalDialWhatsAppCallRequest
|
|
1, // 7: rpc.ConnectorInternal.AcceptWhatsAppCall:input_type -> rpc.InternalAcceptWhatsAppCallRequest
|
|
2, // 8: rpc.ConnectorInternal.ConnectTwilioCall:input_type -> rpc.InternalConnectTwilioCallRequest
|
|
7, // 9: rpc.ConnectorHandler.ConnectWhatsAppCall:input_type -> livekit.ConnectWhatsAppCallRequest
|
|
8, // 10: rpc.ConnectorHandler.DisconnectWhatsAppCall:input_type -> livekit.DisconnectWhatsAppCallRequest
|
|
9, // 11: rpc.ConnectorInternal.DialWhatsAppCall:output_type -> livekit.DialWhatsAppCallResponse
|
|
10, // 12: rpc.ConnectorInternal.AcceptWhatsAppCall:output_type -> livekit.AcceptWhatsAppCallResponse
|
|
11, // 13: rpc.ConnectorInternal.ConnectTwilioCall:output_type -> livekit.ConnectTwilioCallResponse
|
|
12, // 14: rpc.ConnectorHandler.ConnectWhatsAppCall:output_type -> livekit.ConnectWhatsAppCallResponse
|
|
13, // 15: rpc.ConnectorHandler.DisconnectWhatsAppCall:output_type -> livekit.DisconnectWhatsAppCallResponse
|
|
11, // [11:16] is the sub-list for method output_type
|
|
6, // [6:11] is the sub-list for method input_type
|
|
6, // [6:6] is the sub-list for extension type_name
|
|
6, // [6:6] is the sub-list for extension extendee
|
|
0, // [0:6] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_rpc_connector_proto_init() }
|
|
func file_rpc_connector_proto_init() {
|
|
if File_rpc_connector_proto != nil {
|
|
return
|
|
}
|
|
file_rpc_common_proto_init()
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_rpc_connector_proto_rawDesc), len(file_rpc_connector_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 3,
|
|
NumExtensions: 0,
|
|
NumServices: 2,
|
|
},
|
|
GoTypes: file_rpc_connector_proto_goTypes,
|
|
DependencyIndexes: file_rpc_connector_proto_depIdxs,
|
|
MessageInfos: file_rpc_connector_proto_msgTypes,
|
|
}.Build()
|
|
File_rpc_connector_proto = out.File
|
|
file_rpc_connector_proto_goTypes = nil
|
|
file_rpc_connector_proto_depIdxs = nil
|
|
}
|