1293 lines
41 KiB
Go
1293 lines
41 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.33.0
|
|
// protoc v5.27.3
|
|
// source: stillbox.proto
|
|
|
|
package pb
|
|
|
|
import (
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
structpb "google.golang.org/protobuf/types/known/structpb"
|
|
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
)
|
|
|
|
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 LiveState int32
|
|
|
|
const (
|
|
LiveState_LS_STOPPED LiveState = 0
|
|
LiveState_LS_LIVE LiveState = 1
|
|
LiveState_LS_PAUSED LiveState = 2
|
|
)
|
|
|
|
// Enum value maps for LiveState.
|
|
var (
|
|
LiveState_name = map[int32]string{
|
|
0: "LS_STOPPED",
|
|
1: "LS_LIVE",
|
|
2: "LS_PAUSED",
|
|
}
|
|
LiveState_value = map[string]int32{
|
|
"LS_STOPPED": 0,
|
|
"LS_LIVE": 1,
|
|
"LS_PAUSED": 2,
|
|
}
|
|
)
|
|
|
|
func (x LiveState) Enum() *LiveState {
|
|
p := new(LiveState)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x LiveState) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (LiveState) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_stillbox_proto_enumTypes[0].Descriptor()
|
|
}
|
|
|
|
func (LiveState) Type() protoreflect.EnumType {
|
|
return &file_stillbox_proto_enumTypes[0]
|
|
}
|
|
|
|
func (x LiveState) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use LiveState.Descriptor instead.
|
|
func (LiveState) EnumDescriptor() ([]byte, []int) {
|
|
return file_stillbox_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
type Message struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Types that are assignable to ToClientMessage:
|
|
//
|
|
// *Message_Call
|
|
// *Message_TgInfo
|
|
// *Message_Notification
|
|
// *Message_Popup
|
|
// *Message_Error
|
|
ToClientMessage isMessage_ToClientMessage `protobuf_oneof:"toClient_message"`
|
|
}
|
|
|
|
func (x *Message) Reset() {
|
|
*x = Message{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_stillbox_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Message) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Message) ProtoMessage() {}
|
|
|
|
func (x *Message) ProtoReflect() protoreflect.Message {
|
|
mi := &file_stillbox_proto_msgTypes[0]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Message.ProtoReflect.Descriptor instead.
|
|
func (*Message) Descriptor() ([]byte, []int) {
|
|
return file_stillbox_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (m *Message) GetToClientMessage() isMessage_ToClientMessage {
|
|
if m != nil {
|
|
return m.ToClientMessage
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Message) GetCall() *Call {
|
|
if x, ok := x.GetToClientMessage().(*Message_Call); ok {
|
|
return x.Call
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Message) GetTgInfo() *TalkgroupInfo {
|
|
if x, ok := x.GetToClientMessage().(*Message_TgInfo); ok {
|
|
return x.TgInfo
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Message) GetNotification() *Notification {
|
|
if x, ok := x.GetToClientMessage().(*Message_Notification); ok {
|
|
return x.Notification
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Message) GetPopup() *UserPopup {
|
|
if x, ok := x.GetToClientMessage().(*Message_Popup); ok {
|
|
return x.Popup
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Message) GetError() *Error {
|
|
if x, ok := x.GetToClientMessage().(*Message_Error); ok {
|
|
return x.Error
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type isMessage_ToClientMessage interface {
|
|
isMessage_ToClientMessage()
|
|
}
|
|
|
|
type Message_Call struct {
|
|
Call *Call `protobuf:"bytes,1,opt,name=call,proto3,oneof"`
|
|
}
|
|
|
|
type Message_TgInfo struct {
|
|
TgInfo *TalkgroupInfo `protobuf:"bytes,2,opt,name=tgInfo,proto3,oneof"`
|
|
}
|
|
|
|
type Message_Notification struct {
|
|
Notification *Notification `protobuf:"bytes,3,opt,name=notification,proto3,oneof"`
|
|
}
|
|
|
|
type Message_Popup struct {
|
|
Popup *UserPopup `protobuf:"bytes,4,opt,name=popup,proto3,oneof"`
|
|
}
|
|
|
|
type Message_Error struct {
|
|
Error *Error `protobuf:"bytes,5,opt,name=error,proto3,oneof"`
|
|
}
|
|
|
|
func (*Message_Call) isMessage_ToClientMessage() {}
|
|
|
|
func (*Message_TgInfo) isMessage_ToClientMessage() {}
|
|
|
|
func (*Message_Notification) isMessage_ToClientMessage() {}
|
|
|
|
func (*Message_Popup) isMessage_ToClientMessage() {}
|
|
|
|
func (*Message_Error) isMessage_ToClientMessage() {}
|
|
|
|
type Call struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
AudioName string `protobuf:"bytes,1,opt,name=audioName,proto3" json:"audioName,omitempty"`
|
|
AudioType string `protobuf:"bytes,2,opt,name=audioType,proto3" json:"audioType,omitempty"`
|
|
DateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=dateTime,proto3" json:"dateTime,omitempty"`
|
|
System int32 `protobuf:"varint,4,opt,name=system,proto3" json:"system,omitempty"`
|
|
Talkgroup int32 `protobuf:"varint,5,opt,name=talkgroup,proto3" json:"talkgroup,omitempty"`
|
|
Source int32 `protobuf:"varint,6,opt,name=source,proto3" json:"source,omitempty"`
|
|
Frequency int64 `protobuf:"varint,7,opt,name=frequency,proto3" json:"frequency,omitempty"`
|
|
Frequencies []int64 `protobuf:"varint,8,rep,packed,name=frequencies,proto3" json:"frequencies,omitempty"`
|
|
Patches []int32 `protobuf:"varint,9,rep,packed,name=patches,proto3" json:"patches,omitempty"`
|
|
Sources []int32 `protobuf:"varint,10,rep,packed,name=sources,proto3" json:"sources,omitempty"`
|
|
Duration *int32 `protobuf:"varint,11,opt,name=duration,proto3,oneof" json:"duration,omitempty"`
|
|
Audio []byte `protobuf:"bytes,12,opt,name=audio,proto3" json:"audio,omitempty"`
|
|
}
|
|
|
|
func (x *Call) Reset() {
|
|
*x = Call{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_stillbox_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Call) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Call) ProtoMessage() {}
|
|
|
|
func (x *Call) ProtoReflect() protoreflect.Message {
|
|
mi := &file_stillbox_proto_msgTypes[1]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Call.ProtoReflect.Descriptor instead.
|
|
func (*Call) Descriptor() ([]byte, []int) {
|
|
return file_stillbox_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *Call) GetAudioName() string {
|
|
if x != nil {
|
|
return x.AudioName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Call) GetAudioType() string {
|
|
if x != nil {
|
|
return x.AudioType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Call) GetDateTime() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.DateTime
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Call) GetSystem() int32 {
|
|
if x != nil {
|
|
return x.System
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Call) GetTalkgroup() int32 {
|
|
if x != nil {
|
|
return x.Talkgroup
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Call) GetSource() int32 {
|
|
if x != nil {
|
|
return x.Source
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Call) GetFrequency() int64 {
|
|
if x != nil {
|
|
return x.Frequency
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Call) GetFrequencies() []int64 {
|
|
if x != nil {
|
|
return x.Frequencies
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Call) GetPatches() []int32 {
|
|
if x != nil {
|
|
return x.Patches
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Call) GetSources() []int32 {
|
|
if x != nil {
|
|
return x.Sources
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Call) GetDuration() int32 {
|
|
if x != nil && x.Duration != nil {
|
|
return *x.Duration
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Call) GetAudio() []byte {
|
|
if x != nil {
|
|
return x.Audio
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type UserPopup struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
|
|
}
|
|
|
|
func (x *UserPopup) Reset() {
|
|
*x = UserPopup{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_stillbox_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *UserPopup) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UserPopup) ProtoMessage() {}
|
|
|
|
func (x *UserPopup) ProtoReflect() protoreflect.Message {
|
|
mi := &file_stillbox_proto_msgTypes[2]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UserPopup.ProtoReflect.Descriptor instead.
|
|
func (*UserPopup) Descriptor() ([]byte, []int) {
|
|
return file_stillbox_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *UserPopup) GetMsg() string {
|
|
if x != nil {
|
|
return x.Msg
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type Error struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
|
|
Command *Command `protobuf:"bytes,2,opt,name=command,proto3" json:"command,omitempty"`
|
|
}
|
|
|
|
func (x *Error) Reset() {
|
|
*x = Error{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_stillbox_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Error) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Error) ProtoMessage() {}
|
|
|
|
func (x *Error) ProtoReflect() protoreflect.Message {
|
|
mi := &file_stillbox_proto_msgTypes[3]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Error.ProtoReflect.Descriptor instead.
|
|
func (*Error) Descriptor() ([]byte, []int) {
|
|
return file_stillbox_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *Error) GetError() string {
|
|
if x != nil {
|
|
return x.Error
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Error) GetCommand() *Command {
|
|
if x != nil {
|
|
return x.Command
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Notification struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
DateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=dateTime,proto3" json:"dateTime,omitempty"`
|
|
Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
|
|
ActionUrl string `protobuf:"bytes,3,opt,name=actionUrl,proto3" json:"actionUrl,omitempty"`
|
|
}
|
|
|
|
func (x *Notification) Reset() {
|
|
*x = Notification{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_stillbox_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Notification) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Notification) ProtoMessage() {}
|
|
|
|
func (x *Notification) ProtoReflect() protoreflect.Message {
|
|
mi := &file_stillbox_proto_msgTypes[4]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Notification.ProtoReflect.Descriptor instead.
|
|
func (*Notification) Descriptor() ([]byte, []int) {
|
|
return file_stillbox_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *Notification) GetDateTime() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.DateTime
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Notification) GetMsg() string {
|
|
if x != nil {
|
|
return x.Msg
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Notification) GetActionUrl() string {
|
|
if x != nil {
|
|
return x.ActionUrl
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type Command struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Types that are assignable to Command:
|
|
//
|
|
// *Command_LiveCommand
|
|
// *Command_SearchCommand
|
|
// *Command_TgCommand
|
|
Command isCommand_Command `protobuf_oneof:"command"`
|
|
}
|
|
|
|
func (x *Command) Reset() {
|
|
*x = Command{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_stillbox_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Command) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Command) ProtoMessage() {}
|
|
|
|
func (x *Command) ProtoReflect() protoreflect.Message {
|
|
mi := &file_stillbox_proto_msgTypes[5]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Command.ProtoReflect.Descriptor instead.
|
|
func (*Command) Descriptor() ([]byte, []int) {
|
|
return file_stillbox_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (m *Command) GetCommand() isCommand_Command {
|
|
if m != nil {
|
|
return m.Command
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Command) GetLiveCommand() *Live {
|
|
if x, ok := x.GetCommand().(*Command_LiveCommand); ok {
|
|
return x.LiveCommand
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Command) GetSearchCommand() *Search {
|
|
if x, ok := x.GetCommand().(*Command_SearchCommand); ok {
|
|
return x.SearchCommand
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Command) GetTgCommand() *Talkgroup {
|
|
if x, ok := x.GetCommand().(*Command_TgCommand); ok {
|
|
return x.TgCommand
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type isCommand_Command interface {
|
|
isCommand_Command()
|
|
}
|
|
|
|
type Command_LiveCommand struct {
|
|
LiveCommand *Live `protobuf:"bytes,1,opt,name=liveCommand,proto3,oneof"`
|
|
}
|
|
|
|
type Command_SearchCommand struct {
|
|
SearchCommand *Search `protobuf:"bytes,2,opt,name=searchCommand,proto3,oneof"`
|
|
}
|
|
|
|
type Command_TgCommand struct {
|
|
TgCommand *Talkgroup `protobuf:"bytes,3,opt,name=tgCommand,proto3,oneof"`
|
|
}
|
|
|
|
func (*Command_LiveCommand) isCommand_Command() {}
|
|
|
|
func (*Command_SearchCommand) isCommand_Command() {}
|
|
|
|
func (*Command_TgCommand) isCommand_Command() {}
|
|
|
|
type TalkgroupInfo struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Tg *Talkgroup `protobuf:"bytes,1,opt,name=tg,proto3" json:"tg,omitempty"`
|
|
SystemName string `protobuf:"bytes,2,opt,name=system_name,json=systemName,proto3" json:"system_name,omitempty"`
|
|
Name *string `protobuf:"bytes,3,opt,name=name,proto3,oneof" json:"name,omitempty"`
|
|
Group *string `protobuf:"bytes,4,opt,name=group,proto3,oneof" json:"group,omitempty"`
|
|
AlphaTag *string `protobuf:"bytes,5,opt,name=alpha_tag,json=alphaTag,proto3,oneof" json:"alpha_tag,omitempty"`
|
|
Frequency *int32 `protobuf:"varint,6,opt,name=frequency,proto3,oneof" json:"frequency,omitempty"`
|
|
Tags []string `protobuf:"bytes,7,rep,name=tags,proto3" json:"tags,omitempty"`
|
|
Metadata *structpb.Struct `protobuf:"bytes,8,opt,name=metadata,proto3,oneof" json:"metadata,omitempty"`
|
|
Learned bool `protobuf:"varint,9,opt,name=learned,proto3" json:"learned,omitempty"`
|
|
}
|
|
|
|
func (x *TalkgroupInfo) Reset() {
|
|
*x = TalkgroupInfo{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_stillbox_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *TalkgroupInfo) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TalkgroupInfo) ProtoMessage() {}
|
|
|
|
func (x *TalkgroupInfo) ProtoReflect() protoreflect.Message {
|
|
mi := &file_stillbox_proto_msgTypes[6]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use TalkgroupInfo.ProtoReflect.Descriptor instead.
|
|
func (*TalkgroupInfo) Descriptor() ([]byte, []int) {
|
|
return file_stillbox_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *TalkgroupInfo) GetTg() *Talkgroup {
|
|
if x != nil {
|
|
return x.Tg
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *TalkgroupInfo) GetSystemName() string {
|
|
if x != nil {
|
|
return x.SystemName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TalkgroupInfo) GetName() string {
|
|
if x != nil && x.Name != nil {
|
|
return *x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TalkgroupInfo) GetGroup() string {
|
|
if x != nil && x.Group != nil {
|
|
return *x.Group
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TalkgroupInfo) GetAlphaTag() string {
|
|
if x != nil && x.AlphaTag != nil {
|
|
return *x.AlphaTag
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TalkgroupInfo) GetFrequency() int32 {
|
|
if x != nil && x.Frequency != nil {
|
|
return *x.Frequency
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *TalkgroupInfo) GetTags() []string {
|
|
if x != nil {
|
|
return x.Tags
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *TalkgroupInfo) GetMetadata() *structpb.Struct {
|
|
if x != nil {
|
|
return x.Metadata
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *TalkgroupInfo) GetLearned() bool {
|
|
if x != nil {
|
|
return x.Learned
|
|
}
|
|
return false
|
|
}
|
|
|
|
type Live struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
State *LiveState `protobuf:"varint,1,opt,name=state,proto3,enum=stillbox.LiveState,oneof" json:"state,omitempty"`
|
|
Filter *Filter `protobuf:"bytes,2,opt,name=filter,proto3,oneof" json:"filter,omitempty"`
|
|
}
|
|
|
|
func (x *Live) Reset() {
|
|
*x = Live{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_stillbox_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Live) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Live) ProtoMessage() {}
|
|
|
|
func (x *Live) ProtoReflect() protoreflect.Message {
|
|
mi := &file_stillbox_proto_msgTypes[7]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Live.ProtoReflect.Descriptor instead.
|
|
func (*Live) Descriptor() ([]byte, []int) {
|
|
return file_stillbox_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *Live) GetState() LiveState {
|
|
if x != nil && x.State != nil {
|
|
return *x.State
|
|
}
|
|
return LiveState_LS_STOPPED
|
|
}
|
|
|
|
func (x *Live) GetFilter() *Filter {
|
|
if x != nil {
|
|
return x.Filter
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Talkgroup struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
System int32 `protobuf:"varint,1,opt,name=system,proto3" json:"system,omitempty"`
|
|
Talkgroup int32 `protobuf:"varint,2,opt,name=talkgroup,proto3" json:"talkgroup,omitempty"`
|
|
}
|
|
|
|
func (x *Talkgroup) Reset() {
|
|
*x = Talkgroup{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_stillbox_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Talkgroup) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Talkgroup) ProtoMessage() {}
|
|
|
|
func (x *Talkgroup) ProtoReflect() protoreflect.Message {
|
|
mi := &file_stillbox_proto_msgTypes[8]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Talkgroup.ProtoReflect.Descriptor instead.
|
|
func (*Talkgroup) Descriptor() ([]byte, []int) {
|
|
return file_stillbox_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *Talkgroup) GetSystem() int32 {
|
|
if x != nil {
|
|
return x.System
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Talkgroup) GetTalkgroup() int32 {
|
|
if x != nil {
|
|
return x.Talkgroup
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type Filter struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Talkgroups []*Talkgroup `protobuf:"bytes,1,rep,name=talkgroups,proto3" json:"talkgroups,omitempty"`
|
|
TalkgroupsNot []*Talkgroup `protobuf:"bytes,2,rep,name=talkgroups_not,json=talkgroupsNot,proto3" json:"talkgroups_not,omitempty"`
|
|
TalkgroupTagsAll []string `protobuf:"bytes,3,rep,name=talkgroup_tags_all,json=talkgroupTagsAll,proto3" json:"talkgroup_tags_all,omitempty"`
|
|
TalkgroupTagsAny []string `protobuf:"bytes,4,rep,name=talkgroup_tags_any,json=talkgroupTagsAny,proto3" json:"talkgroup_tags_any,omitempty"`
|
|
TalkgroupTagsNot []string `protobuf:"bytes,5,rep,name=talkgroup_tags_not,json=talkgroupTagsNot,proto3" json:"talkgroup_tags_not,omitempty"`
|
|
}
|
|
|
|
func (x *Filter) Reset() {
|
|
*x = Filter{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_stillbox_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Filter) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Filter) ProtoMessage() {}
|
|
|
|
func (x *Filter) ProtoReflect() protoreflect.Message {
|
|
mi := &file_stillbox_proto_msgTypes[9]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Filter.ProtoReflect.Descriptor instead.
|
|
func (*Filter) Descriptor() ([]byte, []int) {
|
|
return file_stillbox_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *Filter) GetTalkgroups() []*Talkgroup {
|
|
if x != nil {
|
|
return x.Talkgroups
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Filter) GetTalkgroupsNot() []*Talkgroup {
|
|
if x != nil {
|
|
return x.TalkgroupsNot
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Filter) GetTalkgroupTagsAll() []string {
|
|
if x != nil {
|
|
return x.TalkgroupTagsAll
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Filter) GetTalkgroupTagsAny() []string {
|
|
if x != nil {
|
|
return x.TalkgroupTagsAny
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Filter) GetTalkgroupTagsNot() []string {
|
|
if x != nil {
|
|
return x.TalkgroupTagsNot
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Search struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *Search) Reset() {
|
|
*x = Search{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_stillbox_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Search) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Search) ProtoMessage() {}
|
|
|
|
func (x *Search) ProtoReflect() protoreflect.Message {
|
|
mi := &file_stillbox_proto_msgTypes[10]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Search.ProtoReflect.Descriptor instead.
|
|
func (*Search) Descriptor() ([]byte, []int) {
|
|
return file_stillbox_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
var File_stillbox_proto protoreflect.FileDescriptor
|
|
|
|
var file_stillbox_proto_rawDesc = []byte{
|
|
0x0a, 0x0e, 0x73, 0x74, 0x69, 0x6c, 0x6c, 0x62, 0x6f, 0x78, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
|
0x12, 0x08, 0x73, 0x74, 0x69, 0x6c, 0x6c, 0x62, 0x6f, 0x78, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67,
|
|
0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65,
|
|
0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f,
|
|
0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72,
|
|
0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8a, 0x02, 0x0a, 0x07, 0x4d, 0x65,
|
|
0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x24, 0x0a, 0x04, 0x63, 0x61, 0x6c, 0x6c, 0x18, 0x01, 0x20,
|
|
0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x73, 0x74, 0x69, 0x6c, 0x6c, 0x62, 0x6f, 0x78, 0x2e, 0x43,
|
|
0x61, 0x6c, 0x6c, 0x48, 0x00, 0x52, 0x04, 0x63, 0x61, 0x6c, 0x6c, 0x12, 0x31, 0x0a, 0x06, 0x74,
|
|
0x67, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x73, 0x74,
|
|
0x69, 0x6c, 0x6c, 0x62, 0x6f, 0x78, 0x2e, 0x54, 0x61, 0x6c, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x70,
|
|
0x49, 0x6e, 0x66, 0x6f, 0x48, 0x00, 0x52, 0x06, 0x74, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x3c,
|
|
0x0a, 0x0c, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03,
|
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x73, 0x74, 0x69, 0x6c, 0x6c, 0x62, 0x6f, 0x78, 0x2e,
|
|
0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x0c,
|
|
0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2b, 0x0a, 0x05,
|
|
0x70, 0x6f, 0x70, 0x75, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x73, 0x74,
|
|
0x69, 0x6c, 0x6c, 0x62, 0x6f, 0x78, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x50, 0x6f, 0x70, 0x75, 0x70,
|
|
0x48, 0x00, 0x52, 0x05, 0x70, 0x6f, 0x70, 0x75, 0x70, 0x12, 0x27, 0x0a, 0x05, 0x65, 0x72, 0x72,
|
|
0x6f, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x73, 0x74, 0x69, 0x6c, 0x6c,
|
|
0x62, 0x6f, 0x78, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x48, 0x00, 0x52, 0x05, 0x65, 0x72, 0x72,
|
|
0x6f, 0x72, 0x42, 0x12, 0x0a, 0x10, 0x74, 0x6f, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x6d,
|
|
0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x80, 0x03, 0x0a, 0x04, 0x43, 0x61, 0x6c, 0x6c, 0x12,
|
|
0x1c, 0x0a, 0x09, 0x61, 0x75, 0x64, 0x69, 0x6f, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x09, 0x61, 0x75, 0x64, 0x69, 0x6f, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a,
|
|
0x09, 0x61, 0x75, 0x64, 0x69, 0x6f, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
|
|
0x52, 0x09, 0x61, 0x75, 0x64, 0x69, 0x6f, 0x54, 0x79, 0x70, 0x65, 0x12, 0x36, 0x0a, 0x08, 0x64,
|
|
0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e,
|
|
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
|
|
0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x08, 0x64, 0x61, 0x74, 0x65, 0x54,
|
|
0x69, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x18, 0x04, 0x20,
|
|
0x01, 0x28, 0x05, 0x52, 0x06, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, 0x1c, 0x0a, 0x09, 0x74,
|
|
0x61, 0x6c, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09,
|
|
0x74, 0x61, 0x6c, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x6f, 0x75,
|
|
0x72, 0x63, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63,
|
|
0x65, 0x12, 0x1c, 0x0a, 0x09, 0x66, 0x72, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x79, 0x18, 0x07,
|
|
0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x66, 0x72, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x79, 0x12,
|
|
0x20, 0x0a, 0x0b, 0x66, 0x72, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x18, 0x08,
|
|
0x20, 0x03, 0x28, 0x03, 0x52, 0x0b, 0x66, 0x72, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x69, 0x65,
|
|
0x73, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x74, 0x63, 0x68, 0x65, 0x73, 0x18, 0x09, 0x20, 0x03,
|
|
0x28, 0x05, 0x52, 0x07, 0x70, 0x61, 0x74, 0x63, 0x68, 0x65, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x73,
|
|
0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x05, 0x52, 0x07, 0x73, 0x6f,
|
|
0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x1f, 0x0a, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f,
|
|
0x6e, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x05, 0x48, 0x00, 0x52, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74,
|
|
0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x75, 0x64, 0x69, 0x6f, 0x18,
|
|
0x0c, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x61, 0x75, 0x64, 0x69, 0x6f, 0x42, 0x0b, 0x0a, 0x09,
|
|
0x5f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x1d, 0x0a, 0x09, 0x55, 0x73, 0x65,
|
|
0x72, 0x50, 0x6f, 0x70, 0x75, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x01, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x22, 0x4a, 0x0a, 0x05, 0x45, 0x72, 0x72, 0x6f,
|
|
0x72, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
|
0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x2b, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61,
|
|
0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x73, 0x74, 0x69, 0x6c, 0x6c,
|
|
0x62, 0x6f, 0x78, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x52, 0x07, 0x63, 0x6f, 0x6d,
|
|
0x6d, 0x61, 0x6e, 0x64, 0x22, 0x76, 0x0a, 0x0c, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61,
|
|
0x74, 0x69, 0x6f, 0x6e, 0x12, 0x36, 0x0a, 0x08, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65,
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
|
|
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,
|
|
0x6d, 0x70, 0x52, 0x08, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03,
|
|
0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12, 0x1c,
|
|
0x0a, 0x09, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x09, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x72, 0x6c, 0x22, 0xb7, 0x01, 0x0a,
|
|
0x07, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x32, 0x0a, 0x0b, 0x6c, 0x69, 0x76, 0x65,
|
|
0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e,
|
|
0x73, 0x74, 0x69, 0x6c, 0x6c, 0x62, 0x6f, 0x78, 0x2e, 0x4c, 0x69, 0x76, 0x65, 0x48, 0x00, 0x52,
|
|
0x0b, 0x6c, 0x69, 0x76, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x38, 0x0a, 0x0d,
|
|
0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x02, 0x20,
|
|
0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x73, 0x74, 0x69, 0x6c, 0x6c, 0x62, 0x6f, 0x78, 0x2e, 0x53,
|
|
0x65, 0x61, 0x72, 0x63, 0x68, 0x48, 0x00, 0x52, 0x0d, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x43,
|
|
0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x33, 0x0a, 0x09, 0x74, 0x67, 0x43, 0x6f, 0x6d, 0x6d,
|
|
0x61, 0x6e, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x73, 0x74, 0x69, 0x6c,
|
|
0x6c, 0x62, 0x6f, 0x78, 0x2e, 0x54, 0x61, 0x6c, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x48, 0x00,
|
|
0x52, 0x09, 0x74, 0x67, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x42, 0x09, 0x0a, 0x07, 0x63,
|
|
0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x22, 0xf2, 0x02, 0x0a, 0x0d, 0x54, 0x61, 0x6c, 0x6b, 0x67,
|
|
0x72, 0x6f, 0x75, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x23, 0x0a, 0x02, 0x74, 0x67, 0x18, 0x01,
|
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x73, 0x74, 0x69, 0x6c, 0x6c, 0x62, 0x6f, 0x78, 0x2e,
|
|
0x54, 0x61, 0x6c, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x02, 0x74, 0x67, 0x12, 0x1f, 0x0a,
|
|
0x0b, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x0a, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x17,
|
|
0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x04,
|
|
0x6e, 0x61, 0x6d, 0x65, 0x88, 0x01, 0x01, 0x12, 0x19, 0x0a, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70,
|
|
0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x88,
|
|
0x01, 0x01, 0x12, 0x20, 0x0a, 0x09, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x5f, 0x74, 0x61, 0x67, 0x18,
|
|
0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x02, 0x52, 0x08, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x54, 0x61,
|
|
0x67, 0x88, 0x01, 0x01, 0x12, 0x21, 0x0a, 0x09, 0x66, 0x72, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63,
|
|
0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x48, 0x03, 0x52, 0x09, 0x66, 0x72, 0x65, 0x71, 0x75,
|
|
0x65, 0x6e, 0x63, 0x79, 0x88, 0x01, 0x01, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18,
|
|
0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x12, 0x38, 0x0a, 0x08, 0x6d,
|
|
0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e,
|
|
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
|
|
0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x48, 0x04, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61,
|
|
0x74, 0x61, 0x88, 0x01, 0x01, 0x12, 0x18, 0x0a, 0x07, 0x6c, 0x65, 0x61, 0x72, 0x6e, 0x65, 0x64,
|
|
0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x6c, 0x65, 0x61, 0x72, 0x6e, 0x65, 0x64, 0x42,
|
|
0x07, 0x0a, 0x05, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x67, 0x72, 0x6f,
|
|
0x75, 0x70, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x5f, 0x74, 0x61, 0x67,
|
|
0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x66, 0x72, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x79, 0x42, 0x0b,
|
|
0x0a, 0x09, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 0x7a, 0x0a, 0x04, 0x4c,
|
|
0x69, 0x76, 0x65, 0x12, 0x2e, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x0e, 0x32, 0x13, 0x2e, 0x73, 0x74, 0x69, 0x6c, 0x6c, 0x62, 0x6f, 0x78, 0x2e, 0x4c, 0x69,
|
|
0x76, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65,
|
|
0x88, 0x01, 0x01, 0x12, 0x2d, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20,
|
|
0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x73, 0x74, 0x69, 0x6c, 0x6c, 0x62, 0x6f, 0x78, 0x2e, 0x46,
|
|
0x69, 0x6c, 0x74, 0x65, 0x72, 0x48, 0x01, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x88,
|
|
0x01, 0x01, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x42, 0x09, 0x0a, 0x07,
|
|
0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0x41, 0x0a, 0x09, 0x54, 0x61, 0x6c, 0x6b, 0x67,
|
|
0x72, 0x6f, 0x75, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x18, 0x01,
|
|
0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, 0x1c, 0x0a, 0x09,
|
|
0x74, 0x61, 0x6c, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52,
|
|
0x09, 0x74, 0x61, 0x6c, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x22, 0x83, 0x02, 0x0a, 0x06, 0x46,
|
|
0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x33, 0x0a, 0x0a, 0x74, 0x61, 0x6c, 0x6b, 0x67, 0x72, 0x6f,
|
|
0x75, 0x70, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x73, 0x74, 0x69, 0x6c,
|
|
0x6c, 0x62, 0x6f, 0x78, 0x2e, 0x54, 0x61, 0x6c, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x0a,
|
|
0x74, 0x61, 0x6c, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0x3a, 0x0a, 0x0e, 0x74, 0x61,
|
|
0x6c, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x5f, 0x6e, 0x6f, 0x74, 0x18, 0x02, 0x20, 0x03,
|
|
0x28, 0x0b, 0x32, 0x13, 0x2e, 0x73, 0x74, 0x69, 0x6c, 0x6c, 0x62, 0x6f, 0x78, 0x2e, 0x54, 0x61,
|
|
0x6c, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x0d, 0x74, 0x61, 0x6c, 0x6b, 0x67, 0x72, 0x6f,
|
|
0x75, 0x70, 0x73, 0x4e, 0x6f, 0x74, 0x12, 0x2c, 0x0a, 0x12, 0x74, 0x61, 0x6c, 0x6b, 0x67, 0x72,
|
|
0x6f, 0x75, 0x70, 0x5f, 0x74, 0x61, 0x67, 0x73, 0x5f, 0x61, 0x6c, 0x6c, 0x18, 0x03, 0x20, 0x03,
|
|
0x28, 0x09, 0x52, 0x10, 0x74, 0x61, 0x6c, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x54, 0x61, 0x67,
|
|
0x73, 0x41, 0x6c, 0x6c, 0x12, 0x2c, 0x0a, 0x12, 0x74, 0x61, 0x6c, 0x6b, 0x67, 0x72, 0x6f, 0x75,
|
|
0x70, 0x5f, 0x74, 0x61, 0x67, 0x73, 0x5f, 0x61, 0x6e, 0x79, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09,
|
|
0x52, 0x10, 0x74, 0x61, 0x6c, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x54, 0x61, 0x67, 0x73, 0x41,
|
|
0x6e, 0x79, 0x12, 0x2c, 0x0a, 0x12, 0x74, 0x61, 0x6c, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f,
|
|
0x74, 0x61, 0x67, 0x73, 0x5f, 0x6e, 0x6f, 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x10,
|
|
0x74, 0x61, 0x6c, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x54, 0x61, 0x67, 0x73, 0x4e, 0x6f, 0x74,
|
|
0x22, 0x08, 0x0a, 0x06, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x2a, 0x37, 0x0a, 0x09, 0x4c, 0x69,
|
|
0x76, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0e, 0x0a, 0x0a, 0x4c, 0x53, 0x5f, 0x53, 0x54,
|
|
0x4f, 0x50, 0x50, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x4c, 0x53, 0x5f, 0x4c, 0x49,
|
|
0x56, 0x45, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x4c, 0x53, 0x5f, 0x50, 0x41, 0x55, 0x53, 0x45,
|
|
0x44, 0x10, 0x02, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f,
|
|
0x74, 0x6f, 0x33,
|
|
}
|
|
|
|
var (
|
|
file_stillbox_proto_rawDescOnce sync.Once
|
|
file_stillbox_proto_rawDescData = file_stillbox_proto_rawDesc
|
|
)
|
|
|
|
func file_stillbox_proto_rawDescGZIP() []byte {
|
|
file_stillbox_proto_rawDescOnce.Do(func() {
|
|
file_stillbox_proto_rawDescData = protoimpl.X.CompressGZIP(file_stillbox_proto_rawDescData)
|
|
})
|
|
return file_stillbox_proto_rawDescData
|
|
}
|
|
|
|
var file_stillbox_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
|
var file_stillbox_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
|
|
var file_stillbox_proto_goTypes = []interface{}{
|
|
(LiveState)(0), // 0: stillbox.LiveState
|
|
(*Message)(nil), // 1: stillbox.Message
|
|
(*Call)(nil), // 2: stillbox.Call
|
|
(*UserPopup)(nil), // 3: stillbox.UserPopup
|
|
(*Error)(nil), // 4: stillbox.Error
|
|
(*Notification)(nil), // 5: stillbox.Notification
|
|
(*Command)(nil), // 6: stillbox.Command
|
|
(*TalkgroupInfo)(nil), // 7: stillbox.TalkgroupInfo
|
|
(*Live)(nil), // 8: stillbox.Live
|
|
(*Talkgroup)(nil), // 9: stillbox.Talkgroup
|
|
(*Filter)(nil), // 10: stillbox.Filter
|
|
(*Search)(nil), // 11: stillbox.Search
|
|
(*timestamppb.Timestamp)(nil), // 12: google.protobuf.Timestamp
|
|
(*structpb.Struct)(nil), // 13: google.protobuf.Struct
|
|
}
|
|
var file_stillbox_proto_depIdxs = []int32{
|
|
2, // 0: stillbox.Message.call:type_name -> stillbox.Call
|
|
7, // 1: stillbox.Message.tgInfo:type_name -> stillbox.TalkgroupInfo
|
|
5, // 2: stillbox.Message.notification:type_name -> stillbox.Notification
|
|
3, // 3: stillbox.Message.popup:type_name -> stillbox.UserPopup
|
|
4, // 4: stillbox.Message.error:type_name -> stillbox.Error
|
|
12, // 5: stillbox.Call.dateTime:type_name -> google.protobuf.Timestamp
|
|
6, // 6: stillbox.Error.command:type_name -> stillbox.Command
|
|
12, // 7: stillbox.Notification.dateTime:type_name -> google.protobuf.Timestamp
|
|
8, // 8: stillbox.Command.liveCommand:type_name -> stillbox.Live
|
|
11, // 9: stillbox.Command.searchCommand:type_name -> stillbox.Search
|
|
9, // 10: stillbox.Command.tgCommand:type_name -> stillbox.Talkgroup
|
|
9, // 11: stillbox.TalkgroupInfo.tg:type_name -> stillbox.Talkgroup
|
|
13, // 12: stillbox.TalkgroupInfo.metadata:type_name -> google.protobuf.Struct
|
|
0, // 13: stillbox.Live.state:type_name -> stillbox.LiveState
|
|
10, // 14: stillbox.Live.filter:type_name -> stillbox.Filter
|
|
9, // 15: stillbox.Filter.talkgroups:type_name -> stillbox.Talkgroup
|
|
9, // 16: stillbox.Filter.talkgroups_not:type_name -> stillbox.Talkgroup
|
|
17, // [17:17] is the sub-list for method output_type
|
|
17, // [17:17] is the sub-list for method input_type
|
|
17, // [17:17] is the sub-list for extension type_name
|
|
17, // [17:17] is the sub-list for extension extendee
|
|
0, // [0:17] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_stillbox_proto_init() }
|
|
func file_stillbox_proto_init() {
|
|
if File_stillbox_proto != nil {
|
|
return
|
|
}
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_stillbox_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Message); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_stillbox_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Call); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_stillbox_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*UserPopup); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_stillbox_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Error); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_stillbox_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Notification); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_stillbox_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Command); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_stillbox_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*TalkgroupInfo); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_stillbox_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Live); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_stillbox_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Talkgroup); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_stillbox_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Filter); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_stillbox_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Search); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
}
|
|
file_stillbox_proto_msgTypes[0].OneofWrappers = []interface{}{
|
|
(*Message_Call)(nil),
|
|
(*Message_TgInfo)(nil),
|
|
(*Message_Notification)(nil),
|
|
(*Message_Popup)(nil),
|
|
(*Message_Error)(nil),
|
|
}
|
|
file_stillbox_proto_msgTypes[1].OneofWrappers = []interface{}{}
|
|
file_stillbox_proto_msgTypes[5].OneofWrappers = []interface{}{
|
|
(*Command_LiveCommand)(nil),
|
|
(*Command_SearchCommand)(nil),
|
|
(*Command_TgCommand)(nil),
|
|
}
|
|
file_stillbox_proto_msgTypes[6].OneofWrappers = []interface{}{}
|
|
file_stillbox_proto_msgTypes[7].OneofWrappers = []interface{}{}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: file_stillbox_proto_rawDesc,
|
|
NumEnums: 1,
|
|
NumMessages: 11,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_stillbox_proto_goTypes,
|
|
DependencyIndexes: file_stillbox_proto_depIdxs,
|
|
EnumInfos: file_stillbox_proto_enumTypes,
|
|
MessageInfos: file_stillbox_proto_msgTypes,
|
|
}.Build()
|
|
File_stillbox_proto = out.File
|
|
file_stillbox_proto_rawDesc = nil
|
|
file_stillbox_proto_goTypes = nil
|
|
file_stillbox_proto_depIdxs = nil
|
|
}
|