284 lines
9.3 KiB
Go
284 lines
9.3 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// source: model.proto
|
|
|
|
package livekit
|
|
|
|
import (
|
|
fmt "fmt"
|
|
proto "github.com/golang/protobuf/proto"
|
|
math "math"
|
|
)
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ = proto.Marshal
|
|
var _ = fmt.Errorf
|
|
var _ = math.Inf
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the proto package it is being compiled against.
|
|
// A compilation error at this line likely means your copy of the
|
|
// proto package needs to be updated.
|
|
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
|
|
|
|
type Node struct {
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Ip string `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip,omitempty"`
|
|
RtcPort uint32 `protobuf:"varint,3,opt,name=rtc_port,json=rtcPort,proto3" json:"rtc_port,omitempty"`
|
|
Stats *NodeStats `protobuf:"bytes,4,opt,name=stats,proto3" json:"stats,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *Node) Reset() { *m = Node{} }
|
|
func (m *Node) String() string { return proto.CompactTextString(m) }
|
|
func (*Node) ProtoMessage() {}
|
|
func (*Node) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_4c16552f9fdb66d8, []int{0}
|
|
}
|
|
|
|
func (m *Node) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_Node.Unmarshal(m, b)
|
|
}
|
|
func (m *Node) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_Node.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *Node) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Node.Merge(m, src)
|
|
}
|
|
func (m *Node) XXX_Size() int {
|
|
return xxx_messageInfo_Node.Size(m)
|
|
}
|
|
func (m *Node) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_Node.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_Node proto.InternalMessageInfo
|
|
|
|
func (m *Node) GetId() string {
|
|
if m != nil {
|
|
return m.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *Node) GetIp() string {
|
|
if m != nil {
|
|
return m.Ip
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *Node) GetRtcPort() uint32 {
|
|
if m != nil {
|
|
return m.RtcPort
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *Node) GetStats() *NodeStats {
|
|
if m != nil {
|
|
return m.Stats
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type NodeStats struct {
|
|
NumRooms int32 `protobuf:"varint,1,opt,name=num_rooms,json=numRooms,proto3" json:"num_rooms,omitempty"`
|
|
NumClients int32 `protobuf:"varint,2,opt,name=num_clients,json=numClients,proto3" json:"num_clients,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *NodeStats) Reset() { *m = NodeStats{} }
|
|
func (m *NodeStats) String() string { return proto.CompactTextString(m) }
|
|
func (*NodeStats) ProtoMessage() {}
|
|
func (*NodeStats) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_4c16552f9fdb66d8, []int{1}
|
|
}
|
|
|
|
func (m *NodeStats) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_NodeStats.Unmarshal(m, b)
|
|
}
|
|
func (m *NodeStats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_NodeStats.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *NodeStats) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_NodeStats.Merge(m, src)
|
|
}
|
|
func (m *NodeStats) XXX_Size() int {
|
|
return xxx_messageInfo_NodeStats.Size(m)
|
|
}
|
|
func (m *NodeStats) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_NodeStats.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_NodeStats proto.InternalMessageInfo
|
|
|
|
func (m *NodeStats) GetNumRooms() int32 {
|
|
if m != nil {
|
|
return m.NumRooms
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *NodeStats) GetNumClients() int32 {
|
|
if m != nil {
|
|
return m.NumClients
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type Room struct {
|
|
RoomId string `protobuf:"bytes,1,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"`
|
|
EmptyTimeout uint32 `protobuf:"varint,2,opt,name=empty_timeout,json=emptyTimeout,proto3" json:"empty_timeout,omitempty"`
|
|
MaxParticipants uint32 `protobuf:"varint,3,opt,name=max_participants,json=maxParticipants,proto3" json:"max_participants,omitempty"`
|
|
CreationTime int64 `protobuf:"varint,4,opt,name=creation_time,json=creationTime,proto3" json:"creation_time,omitempty"`
|
|
Token string `protobuf:"bytes,5,opt,name=token,proto3" json:"token,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *Room) Reset() { *m = Room{} }
|
|
func (m *Room) String() string { return proto.CompactTextString(m) }
|
|
func (*Room) ProtoMessage() {}
|
|
func (*Room) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_4c16552f9fdb66d8, []int{2}
|
|
}
|
|
|
|
func (m *Room) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_Room.Unmarshal(m, b)
|
|
}
|
|
func (m *Room) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_Room.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *Room) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Room.Merge(m, src)
|
|
}
|
|
func (m *Room) XXX_Size() int {
|
|
return xxx_messageInfo_Room.Size(m)
|
|
}
|
|
func (m *Room) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_Room.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_Room proto.InternalMessageInfo
|
|
|
|
func (m *Room) GetRoomId() string {
|
|
if m != nil {
|
|
return m.RoomId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *Room) GetEmptyTimeout() uint32 {
|
|
if m != nil {
|
|
return m.EmptyTimeout
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *Room) GetMaxParticipants() uint32 {
|
|
if m != nil {
|
|
return m.MaxParticipants
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *Room) GetCreationTime() int64 {
|
|
if m != nil {
|
|
return m.CreationTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *Room) GetToken() string {
|
|
if m != nil {
|
|
return m.Token
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DataChannel struct {
|
|
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
|
|
Payload []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *DataChannel) Reset() { *m = DataChannel{} }
|
|
func (m *DataChannel) String() string { return proto.CompactTextString(m) }
|
|
func (*DataChannel) ProtoMessage() {}
|
|
func (*DataChannel) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_4c16552f9fdb66d8, []int{3}
|
|
}
|
|
|
|
func (m *DataChannel) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_DataChannel.Unmarshal(m, b)
|
|
}
|
|
func (m *DataChannel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_DataChannel.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *DataChannel) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_DataChannel.Merge(m, src)
|
|
}
|
|
func (m *DataChannel) XXX_Size() int {
|
|
return xxx_messageInfo_DataChannel.Size(m)
|
|
}
|
|
func (m *DataChannel) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_DataChannel.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_DataChannel proto.InternalMessageInfo
|
|
|
|
func (m *DataChannel) GetSessionId() string {
|
|
if m != nil {
|
|
return m.SessionId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *DataChannel) GetPayload() []byte {
|
|
if m != nil {
|
|
return m.Payload
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterType((*Node)(nil), "livekit.Node")
|
|
proto.RegisterType((*NodeStats)(nil), "livekit.NodeStats")
|
|
proto.RegisterType((*Room)(nil), "livekit.Room")
|
|
proto.RegisterType((*DataChannel)(nil), "livekit.DataChannel")
|
|
}
|
|
|
|
func init() { proto.RegisterFile("model.proto", fileDescriptor_4c16552f9fdb66d8) }
|
|
|
|
var fileDescriptor_4c16552f9fdb66d8 = []byte{
|
|
// 327 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x4c, 0x91, 0xcd, 0x6a, 0xeb, 0x30,
|
|
0x10, 0x85, 0x71, 0x12, 0xc7, 0xf1, 0x38, 0xb9, 0xf7, 0x22, 0x2e, 0xd4, 0xa5, 0x94, 0x06, 0x77,
|
|
0xe3, 0x6e, 0xb2, 0x68, 0xdf, 0xa0, 0x29, 0x85, 0x6c, 0x4a, 0x50, 0xbb, 0xea, 0xc6, 0xa8, 0x96,
|
|
0xa0, 0x22, 0xd6, 0x0f, 0xd2, 0xb8, 0x24, 0xaf, 0xd4, 0xa7, 0x2c, 0x92, 0x93, 0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