233 lines
7.6 KiB
Go
233 lines
7.6 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 ""
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterType((*Node)(nil), "livekit.Node")
|
|
proto.RegisterType((*NodeStats)(nil), "livekit.NodeStats")
|
|
proto.RegisterType((*Room)(nil), "livekit.Room")
|
|
}
|
|
|
|
func init() { proto.RegisterFile("model.proto", fileDescriptor_4c16552f9fdb66d8) }
|
|
|
|
var fileDescriptor_4c16552f9fdb66d8 = []byte{
|
|
// 285 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x4c, 0x90, 0xbd, 0x4e, 0x84, 0x40,
|
|
0x10, 0xc7, 0x03, 0x07, 0xc7, 0x31, 0x1c, 0x6a, 0x36, 0x26, 0x62, 0x2c, 0x24, 0xd8, 0x60, 0x43,
|
|
0xa1, 0x6f, 0xa0, 0xd5, 0x35, 0xe6, 0xb2, 0x5a, 0xd9, 0x90, 0x15, 0xb6, 0xd8, 0xc0, 0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