157 lines
5.2 KiB
Go
157 lines
5.2 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// source: model.proto
|
|
|
|
package proto
|
|
|
|
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"`
|
|
Port int32 `protobuf:"varint,3,opt,name=port,proto3" json:"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) GetPort() int32 {
|
|
if m != nil {
|
|
return m.Port
|
|
}
|
|
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
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterType((*Node)(nil), "livekit.Node")
|
|
proto.RegisterType((*NodeStats)(nil), "livekit.NodeStats")
|
|
}
|
|
|
|
func init() { proto.RegisterFile("model.proto", fileDescriptor_4c16552f9fdb66d8) }
|
|
|
|
var fileDescriptor_4c16552f9fdb66d8 = []byte{
|
|
// 214 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x3c, 0x8f, 0xbd, 0x4e, 0xc4, 0x30,
|
|
0x10, 0x84, 0x95, 0x90, 0x00, 0xd9, 0x48, 0x14, 0x5b, 0x45, 0xa2, 0x20, 0xba, 0xca, 0x08, 0xe1,
|
|
0x48, 0xf0, 0x06, 0x50, 0xd1, 0x50, 0x98, 0x8e, 0x06, 0xe5, 0xce, 0x16, 0x67, 0x11, 0x7b, 0x2d,
|
|
0xff, 0xa4, 0xe0, 0xe9, 0x91, 0x9d, 0x88, 0xca, 0xfe, 0x66, 0x56, 0x33, 0xbb, 0xd0, 0x1b, 0x92,
|
|
0x6a, 0xe1, 0xce, 0x53, 0x24, 0xbc, 0x5a, 0xf4, 0xaa, 0x7e, 0x74, 0x3c, 0x48, 0x68, 0xde, 0x49,
|
|
0x2a, 0xbc, 0x81, 0x5a, 0xcb, 0xa1, 0x1a, 0x2b, 0xd6, 0x89, 0x5a, 0xcb, 0xc2, 0x6e, 0xa8, 0x77,
|
|
0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