livekit-protocol 0.7.5

Livekit protocol and utilities for the Rust SDK
Documentation
// 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.36.11
// 	protoc        v4.23.4
// source: rpc/participant.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"
	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)
)

var File_rpc_participant_proto protoreflect.FileDescriptor

const file_rpc_participant_proto_rawDesc = "" +
	"\n" +
	"\x15rpc/participant.proto\x12\x03rpc\x1a\roptions.proto\x1a\x14livekit_models.proto\x1a\x12livekit_room.proto2\xf9\x06\n" +
	"\vParticipant\x12\x7f\n" +
	"\x11RemoveParticipant\x12 .livekit.RoomParticipantIdentity\x1a\".livekit.RemoveParticipantResponse\"$\xb2\x89\x01 \x10\x01\x1a\x1c\n" +
	"\vparticipant\x12\vparticipant\x18\x01\x12y\n" +
	"\x12MutePublishedTrack\x12\x1d.livekit.MuteRoomTrackRequest\x1a\x1e.livekit.MuteRoomTrackResponse\"$\xb2\x89\x01 \x10\x01\x1a\x1c\n" +
	"\vparticipant\x12\vparticipant\x18\x01\x12v\n" +
	"\x11UpdateParticipant\x12!.livekit.UpdateParticipantRequest\x1a\x18.livekit.ParticipantInfo\"$\xb2\x89\x01 \x10\x01\x1a\x1c\n" +
	"\vparticipant\x12\vparticipant\x18\x01\x12\x86\x01\n" +
	"\x13UpdateSubscriptions\x12#.livekit.UpdateSubscriptionsRequest\x1a$.livekit.UpdateSubscriptionsResponse\"$\xb2\x89\x01 \x10\x01\x1a\x1c\n" +
	"\vparticipant\x12\vparticipant\x18\x01\x12\x83\x01\n" +
	"\x12ForwardParticipant\x12\".livekit.ForwardParticipantRequest\x1a#.livekit.ForwardParticipantResponse\"$\xb2\x89\x01 \x10\x01\x1a\x1c\n" +
	"\vparticipant\x12\vparticipant\x18\x01\x12z\n" +
	"\x0fMoveParticipant\x12\x1f.livekit.MoveParticipantRequest\x1a .livekit.MoveParticipantResponse\"$\xb2\x89\x01 \x10\x01\x1a\x1c\n" +
	"\vparticipant\x12\vparticipant\x18\x01\x12k\n" +
	"\n" +
	"PerformRpc\x12\x1a.livekit.PerformRpcRequest\x1a\x1b.livekit.PerformRpcResponse\"$\xb2\x89\x01 \x10\x01\x1a\x1c\n" +
	"\vparticipant\x12\vparticipant\x18\x01B!Z\x1fgithub.com/livekit/protocol/rpcb\x06proto3"

var file_rpc_participant_proto_goTypes = []any{
	(*livekit.RoomParticipantIdentity)(nil),     // 0: livekit.RoomParticipantIdentity
	(*livekit.MuteRoomTrackRequest)(nil),        // 1: livekit.MuteRoomTrackRequest
	(*livekit.UpdateParticipantRequest)(nil),    // 2: livekit.UpdateParticipantRequest
	(*livekit.UpdateSubscriptionsRequest)(nil),  // 3: livekit.UpdateSubscriptionsRequest
	(*livekit.ForwardParticipantRequest)(nil),   // 4: livekit.ForwardParticipantRequest
	(*livekit.MoveParticipantRequest)(nil),      // 5: livekit.MoveParticipantRequest
	(*livekit.PerformRpcRequest)(nil),           // 6: livekit.PerformRpcRequest
	(*livekit.RemoveParticipantResponse)(nil),   // 7: livekit.RemoveParticipantResponse
	(*livekit.MuteRoomTrackResponse)(nil),       // 8: livekit.MuteRoomTrackResponse
	(*livekit.ParticipantInfo)(nil),             // 9: livekit.ParticipantInfo
	(*livekit.UpdateSubscriptionsResponse)(nil), // 10: livekit.UpdateSubscriptionsResponse
	(*livekit.ForwardParticipantResponse)(nil),  // 11: livekit.ForwardParticipantResponse
	(*livekit.MoveParticipantResponse)(nil),     // 12: livekit.MoveParticipantResponse
	(*livekit.PerformRpcResponse)(nil),          // 13: livekit.PerformRpcResponse
}
var file_rpc_participant_proto_depIdxs = []int32{
	0,  // 0: rpc.Participant.RemoveParticipant:input_type -> livekit.RoomParticipantIdentity
	1,  // 1: rpc.Participant.MutePublishedTrack:input_type -> livekit.MuteRoomTrackRequest
	2,  // 2: rpc.Participant.UpdateParticipant:input_type -> livekit.UpdateParticipantRequest
	3,  // 3: rpc.Participant.UpdateSubscriptions:input_type -> livekit.UpdateSubscriptionsRequest
	4,  // 4: rpc.Participant.ForwardParticipant:input_type -> livekit.ForwardParticipantRequest
	5,  // 5: rpc.Participant.MoveParticipant:input_type -> livekit.MoveParticipantRequest
	6,  // 6: rpc.Participant.PerformRpc:input_type -> livekit.PerformRpcRequest
	7,  // 7: rpc.Participant.RemoveParticipant:output_type -> livekit.RemoveParticipantResponse
	8,  // 8: rpc.Participant.MutePublishedTrack:output_type -> livekit.MuteRoomTrackResponse
	9,  // 9: rpc.Participant.UpdateParticipant:output_type -> livekit.ParticipantInfo
	10, // 10: rpc.Participant.UpdateSubscriptions:output_type -> livekit.UpdateSubscriptionsResponse
	11, // 11: rpc.Participant.ForwardParticipant:output_type -> livekit.ForwardParticipantResponse
	12, // 12: rpc.Participant.MoveParticipant:output_type -> livekit.MoveParticipantResponse
	13, // 13: rpc.Participant.PerformRpc:output_type -> livekit.PerformRpcResponse
	7,  // [7:14] is the sub-list for method output_type
	0,  // [0:7] is the sub-list for method input_type
	0,  // [0:0] is the sub-list for extension type_name
	0,  // [0:0] is the sub-list for extension extendee
	0,  // [0:0] is the sub-list for field type_name
}

func init() { file_rpc_participant_proto_init() }
func file_rpc_participant_proto_init() {
	if File_rpc_participant_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_rpc_participant_proto_rawDesc), len(file_rpc_participant_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   0,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_rpc_participant_proto_goTypes,
		DependencyIndexes: file_rpc_participant_proto_depIdxs,
	}.Build()
	File_rpc_participant_proto = out.File
	file_rpc_participant_proto_goTypes = nil
	file_rpc_participant_proto_depIdxs = nil
}