123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // versions:
- // protoc-gen-go v1.28.0
- // protoc v3.19.4
- // source: protos/client.proto
- package client
- import (
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- 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 MonitorSub struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Tile *BPoint `protobuf:"bytes,1,opt,name=tile,proto3" json:"tile,omitempty"`
- Susbscribed bool `protobuf:"varint,2,opt,name=susbscribed,proto3" json:"susbscribed,omitempty"`
- }
- func (x *MonitorSub) Reset() {
- *x = MonitorSub{}
- if protoimpl.UnsafeEnabled {
- mi := &file_protos_client_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *MonitorSub) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*MonitorSub) ProtoMessage() {}
- func (x *MonitorSub) ProtoReflect() protoreflect.Message {
- mi := &file_protos_client_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 MonitorSub.ProtoReflect.Descriptor instead.
- func (*MonitorSub) Descriptor() ([]byte, []int) {
- return file_protos_client_proto_rawDescGZIP(), []int{0}
- }
- func (x *MonitorSub) GetTile() *BPoint {
- if x != nil {
- return x.Tile
- }
- return nil
- }
- func (x *MonitorSub) GetSusbscribed() bool {
- if x != nil {
- return x.Susbscribed
- }
- return false
- }
- type MonitorPoint struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Point *BPoint `protobuf:"bytes,1,opt,name=point,proto3" json:"point,omitempty"`
- Color *BColor `protobuf:"bytes,2,opt,name=color,proto3" json:"color,omitempty"`
- }
- func (x *MonitorPoint) Reset() {
- *x = MonitorPoint{}
- if protoimpl.UnsafeEnabled {
- mi := &file_protos_client_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *MonitorPoint) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*MonitorPoint) ProtoMessage() {}
- func (x *MonitorPoint) ProtoReflect() protoreflect.Message {
- mi := &file_protos_client_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 MonitorPoint.ProtoReflect.Descriptor instead.
- func (*MonitorPoint) Descriptor() ([]byte, []int) {
- return file_protos_client_proto_rawDescGZIP(), []int{1}
- }
- func (x *MonitorPoint) GetPoint() *BPoint {
- if x != nil {
- return x.Point
- }
- return nil
- }
- func (x *MonitorPoint) GetColor() *BColor {
- if x != nil {
- return x.Color
- }
- return nil
- }
- type MonitorReply struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Points []*MonitorPoint `protobuf:"bytes,1,rep,name=points,proto3" json:"points,omitempty"`
- BytesPoints []byte `protobuf:"bytes,2,opt,name=bytes_points,json=bytesPoints,proto3" json:"bytes_points,omitempty"`
- }
- func (x *MonitorReply) Reset() {
- *x = MonitorReply{}
- if protoimpl.UnsafeEnabled {
- mi := &file_protos_client_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *MonitorReply) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*MonitorReply) ProtoMessage() {}
- func (x *MonitorReply) ProtoReflect() protoreflect.Message {
- mi := &file_protos_client_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 MonitorReply.ProtoReflect.Descriptor instead.
- func (*MonitorReply) Descriptor() ([]byte, []int) {
- return file_protos_client_proto_rawDescGZIP(), []int{2}
- }
- func (x *MonitorReply) GetPoints() []*MonitorPoint {
- if x != nil {
- return x.Points
- }
- return nil
- }
- func (x *MonitorReply) GetBytesPoints() []byte {
- if x != nil {
- return x.BytesPoints
- }
- return nil
- }
- type MonitorPointList struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Points []*MonitorPoint `protobuf:"bytes,1,rep,name=points,proto3" json:"points,omitempty"`
- }
- func (x *MonitorPointList) Reset() {
- *x = MonitorPointList{}
- if protoimpl.UnsafeEnabled {
- mi := &file_protos_client_proto_msgTypes[3]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *MonitorPointList) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*MonitorPointList) ProtoMessage() {}
- func (x *MonitorPointList) ProtoReflect() protoreflect.Message {
- mi := &file_protos_client_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 MonitorPointList.ProtoReflect.Descriptor instead.
- func (*MonitorPointList) Descriptor() ([]byte, []int) {
- return file_protos_client_proto_rawDescGZIP(), []int{3}
- }
- func (x *MonitorPointList) GetPoints() []*MonitorPoint {
- if x != nil {
- return x.Points
- }
- return nil
- }
- type BPoint struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- X int32 `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"`
- Y int32 `protobuf:"varint,2,opt,name=y,proto3" json:"y,omitempty"`
- }
- func (x *BPoint) Reset() {
- *x = BPoint{}
- if protoimpl.UnsafeEnabled {
- mi := &file_protos_client_proto_msgTypes[4]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *BPoint) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*BPoint) ProtoMessage() {}
- func (x *BPoint) ProtoReflect() protoreflect.Message {
- mi := &file_protos_client_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 BPoint.ProtoReflect.Descriptor instead.
- func (*BPoint) Descriptor() ([]byte, []int) {
- return file_protos_client_proto_rawDescGZIP(), []int{4}
- }
- func (x *BPoint) GetX() int32 {
- if x != nil {
- return x.X
- }
- return 0
- }
- func (x *BPoint) GetY() int32 {
- if x != nil {
- return x.Y
- }
- return 0
- }
- type BColor struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Rgba uint32 `protobuf:"varint,1,opt,name=rgba,proto3" json:"rgba,omitempty"`
- }
- func (x *BColor) Reset() {
- *x = BColor{}
- if protoimpl.UnsafeEnabled {
- mi := &file_protos_client_proto_msgTypes[5]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *BColor) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*BColor) ProtoMessage() {}
- func (x *BColor) ProtoReflect() protoreflect.Message {
- mi := &file_protos_client_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 BColor.ProtoReflect.Descriptor instead.
- func (*BColor) Descriptor() ([]byte, []int) {
- return file_protos_client_proto_rawDescGZIP(), []int{5}
- }
- func (x *BColor) GetRgba() uint32 {
- if x != nil {
- return x.Rgba
- }
- return 0
- }
- type PaintRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Point *BPoint `protobuf:"bytes,1,opt,name=point,proto3" json:"point,omitempty"`
- Color *BColor `protobuf:"bytes,2,opt,name=color,proto3" json:"color,omitempty"`
- }
- func (x *PaintRequest) Reset() {
- *x = PaintRequest{}
- if protoimpl.UnsafeEnabled {
- mi := &file_protos_client_proto_msgTypes[6]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *PaintRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*PaintRequest) ProtoMessage() {}
- func (x *PaintRequest) ProtoReflect() protoreflect.Message {
- mi := &file_protos_client_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 PaintRequest.ProtoReflect.Descriptor instead.
- func (*PaintRequest) Descriptor() ([]byte, []int) {
- return file_protos_client_proto_rawDescGZIP(), []int{6}
- }
- func (x *PaintRequest) GetPoint() *BPoint {
- if x != nil {
- return x.Point
- }
- return nil
- }
- func (x *PaintRequest) GetColor() *BColor {
- if x != nil {
- return x.Color
- }
- return nil
- }
- // The response message containing the greetings
- type PaintReply struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
- }
- func (x *PaintReply) Reset() {
- *x = PaintReply{}
- if protoimpl.UnsafeEnabled {
- mi := &file_protos_client_proto_msgTypes[7]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *PaintReply) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*PaintReply) ProtoMessage() {}
- func (x *PaintReply) ProtoReflect() protoreflect.Message {
- mi := &file_protos_client_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 PaintReply.ProtoReflect.Descriptor instead.
- func (*PaintReply) Descriptor() ([]byte, []int) {
- return file_protos_client_proto_rawDescGZIP(), []int{7}
- }
- func (x *PaintReply) GetMessage() string {
- if x != nil {
- return x.Message
- }
- return ""
- }
- type RTCData struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Event string `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"`
- Data string `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
- }
- func (x *RTCData) Reset() {
- *x = RTCData{}
- if protoimpl.UnsafeEnabled {
- mi := &file_protos_client_proto_msgTypes[8]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *RTCData) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*RTCData) ProtoMessage() {}
- func (x *RTCData) ProtoReflect() protoreflect.Message {
- mi := &file_protos_client_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 RTCData.ProtoReflect.Descriptor instead.
- func (*RTCData) Descriptor() ([]byte, []int) {
- return file_protos_client_proto_rawDescGZIP(), []int{8}
- }
- func (x *RTCData) GetEvent() string {
- if x != nil {
- return x.Event
- }
- return ""
- }
- func (x *RTCData) GetData() string {
- if x != nil {
- return x.Data
- }
- return ""
- }
- var File_protos_client_proto protoreflect.FileDescriptor
- var file_protos_client_proto_rawDesc = []byte{
- 0x0a, 0x13, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4b, 0x0a, 0x0a, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72,
- 0x53, 0x75, 0x62, 0x12, 0x1b, 0x0a, 0x04, 0x74, 0x69, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
- 0x0b, 0x32, 0x07, 0x2e, 0x42, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x04, 0x74, 0x69, 0x6c, 0x65,
- 0x12, 0x20, 0x0a, 0x0b, 0x73, 0x75, 0x73, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x64, 0x18,
- 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x73, 0x75, 0x73, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62,
- 0x65, 0x64, 0x22, 0x4c, 0x0a, 0x0c, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x50, 0x6f, 0x69,
- 0x6e, 0x74, 0x12, 0x1d, 0x0a, 0x05, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28,
- 0x0b, 0x32, 0x07, 0x2e, 0x42, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x05, 0x70, 0x6f, 0x69, 0x6e,
- 0x74, 0x12, 0x1d, 0x0a, 0x05, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
- 0x32, 0x07, 0x2e, 0x42, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x52, 0x05, 0x63, 0x6f, 0x6c, 0x6f, 0x72,
- 0x22, 0x58, 0x0a, 0x0c, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x70, 0x6c, 0x79,
- 0x12, 0x25, 0x0a, 0x06, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
- 0x32, 0x0d, 0x2e, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52,
- 0x06, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x79, 0x74, 0x65, 0x73,
- 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x62,
- 0x79, 0x74, 0x65, 0x73, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x22, 0x39, 0x0a, 0x10, 0x4d, 0x6f,
- 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x25,
- 0x0a, 0x06, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d,
- 0x2e, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x06, 0x70,
- 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x22, 0x24, 0x0a, 0x06, 0x42, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x12,
- 0x0c, 0x0a, 0x01, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x01, 0x78, 0x12, 0x0c, 0x0a,
- 0x01, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x01, 0x79, 0x22, 0x1c, 0x0a, 0x06, 0x42,
- 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x67, 0x62, 0x61, 0x18, 0x01, 0x20,
- 0x01, 0x28, 0x0d, 0x52, 0x04, 0x72, 0x67, 0x62, 0x61, 0x22, 0x4c, 0x0a, 0x0c, 0x50, 0x61, 0x69,
- 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x05, 0x70, 0x6f, 0x69,
- 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x42, 0x50, 0x6f, 0x69, 0x6e,
- 0x74, 0x52, 0x05, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x1d, 0x0a, 0x05, 0x63, 0x6f, 0x6c, 0x6f,
- 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x42, 0x43, 0x6f, 0x6c, 0x6f, 0x72,
- 0x52, 0x05, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x22, 0x26, 0x0a, 0x0a, 0x50, 0x61, 0x69, 0x6e, 0x74,
- 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22,
- 0x33, 0x0a, 0x07, 0x52, 0x54, 0x43, 0x44, 0x61, 0x74, 0x61, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x76,
- 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74,
- 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
- 0x64, 0x61, 0x74, 0x61, 0x32, 0x87, 0x01, 0x0a, 0x0b, 0x50, 0x61, 0x69, 0x6e, 0x74, 0x43, 0x6c,
- 0x69, 0x65, 0x6e, 0x74, 0x12, 0x25, 0x0a, 0x05, 0x50, 0x61, 0x69, 0x6e, 0x74, 0x12, 0x0d, 0x2e,
- 0x50, 0x61, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0b, 0x2e, 0x50,
- 0x61, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x00, 0x12, 0x29, 0x0a, 0x07, 0x4d,
- 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x12, 0x0b, 0x2e, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72,
- 0x53, 0x75, 0x62, 0x1a, 0x0d, 0x2e, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x70,
- 0x6c, 0x79, 0x22, 0x00, 0x30, 0x01, 0x12, 0x26, 0x0a, 0x0a, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
- 0x74, 0x52, 0x54, 0x43, 0x12, 0x08, 0x2e, 0x52, 0x54, 0x43, 0x44, 0x61, 0x74, 0x61, 0x1a, 0x08,
- 0x2e, 0x52, 0x54, 0x43, 0x44, 0x61, 0x74, 0x61, 0x22, 0x00, 0x28, 0x01, 0x30, 0x01, 0x42, 0x11,
- 0x5a, 0x0f, 0x2e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e,
- 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
- }
- var (
- file_protos_client_proto_rawDescOnce sync.Once
- file_protos_client_proto_rawDescData = file_protos_client_proto_rawDesc
- )
- func file_protos_client_proto_rawDescGZIP() []byte {
- file_protos_client_proto_rawDescOnce.Do(func() {
- file_protos_client_proto_rawDescData = protoimpl.X.CompressGZIP(file_protos_client_proto_rawDescData)
- })
- return file_protos_client_proto_rawDescData
- }
- var file_protos_client_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
- var file_protos_client_proto_goTypes = []interface{}{
- (*MonitorSub)(nil), // 0: MonitorSub
- (*MonitorPoint)(nil), // 1: MonitorPoint
- (*MonitorReply)(nil), // 2: MonitorReply
- (*MonitorPointList)(nil), // 3: MonitorPointList
- (*BPoint)(nil), // 4: BPoint
- (*BColor)(nil), // 5: BColor
- (*PaintRequest)(nil), // 6: PaintRequest
- (*PaintReply)(nil), // 7: PaintReply
- (*RTCData)(nil), // 8: RTCData
- }
- var file_protos_client_proto_depIdxs = []int32{
- 4, // 0: MonitorSub.tile:type_name -> BPoint
- 4, // 1: MonitorPoint.point:type_name -> BPoint
- 5, // 2: MonitorPoint.color:type_name -> BColor
- 1, // 3: MonitorReply.points:type_name -> MonitorPoint
- 1, // 4: MonitorPointList.points:type_name -> MonitorPoint
- 4, // 5: PaintRequest.point:type_name -> BPoint
- 5, // 6: PaintRequest.color:type_name -> BColor
- 6, // 7: PaintClient.Paint:input_type -> PaintRequest
- 0, // 8: PaintClient.Monitor:input_type -> MonitorSub
- 8, // 9: PaintClient.RequestRTC:input_type -> RTCData
- 7, // 10: PaintClient.Paint:output_type -> PaintReply
- 2, // 11: PaintClient.Monitor:output_type -> MonitorReply
- 8, // 12: PaintClient.RequestRTC:output_type -> RTCData
- 10, // [10:13] is the sub-list for method output_type
- 7, // [7:10] is the sub-list for method input_type
- 7, // [7:7] is the sub-list for extension type_name
- 7, // [7:7] is the sub-list for extension extendee
- 0, // [0:7] is the sub-list for field type_name
- }
- func init() { file_protos_client_proto_init() }
- func file_protos_client_proto_init() {
- if File_protos_client_proto != nil {
- return
- }
- if !protoimpl.UnsafeEnabled {
- file_protos_client_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*MonitorSub); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_protos_client_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*MonitorPoint); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_protos_client_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*MonitorReply); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_protos_client_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*MonitorPointList); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_protos_client_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*BPoint); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_protos_client_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*BColor); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_protos_client_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*PaintRequest); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_protos_client_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*PaintReply); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_protos_client_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*RTCData); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_protos_client_proto_rawDesc,
- NumEnums: 0,
- NumMessages: 9,
- NumExtensions: 0,
- NumServices: 1,
- },
- GoTypes: file_protos_client_proto_goTypes,
- DependencyIndexes: file_protos_client_proto_depIdxs,
- MessageInfos: file_protos_client_proto_msgTypes,
- }.Build()
- File_protos_client_proto = out.File
- file_protos_client_proto_rawDesc = nil
- file_protos_client_proto_goTypes = nil
- file_protos_client_proto_depIdxs = nil
- }
|