123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137 |
- // 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 RequestData struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Tile *BPoint `protobuf:"bytes,1,opt,name=tile,proto3" json:"tile,omitempty"`
- From uint64 `protobuf:"varint,2,opt,name=from,proto3" json:"from,omitempty"`
- }
- func (x *RequestData) Reset() {
- *x = RequestData{}
- if protoimpl.UnsafeEnabled {
- mi := &file_protos_client_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *RequestData) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*RequestData) ProtoMessage() {}
- func (x *RequestData) 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 RequestData.ProtoReflect.Descriptor instead.
- func (*RequestData) Descriptor() ([]byte, []int) {
- return file_protos_client_proto_rawDescGZIP(), []int{0}
- }
- func (x *RequestData) GetTile() *BPoint {
- if x != nil {
- return x.Tile
- }
- return nil
- }
- func (x *RequestData) GetFrom() uint64 {
- if x != nil {
- return x.From
- }
- return 0
- }
- type WebRTCRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- // Types that are assignable to WebRTCRequestOneOf:
- // *WebRTCRequest_RequestData
- WebRTCRequestOneOf isWebRTCRequest_WebRTCRequestOneOf `protobuf_oneof:"WebRTCRequestOneOf"`
- }
- func (x *WebRTCRequest) Reset() {
- *x = WebRTCRequest{}
- if protoimpl.UnsafeEnabled {
- mi := &file_protos_client_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *WebRTCRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*WebRTCRequest) ProtoMessage() {}
- func (x *WebRTCRequest) 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 WebRTCRequest.ProtoReflect.Descriptor instead.
- func (*WebRTCRequest) Descriptor() ([]byte, []int) {
- return file_protos_client_proto_rawDescGZIP(), []int{1}
- }
- func (m *WebRTCRequest) GetWebRTCRequestOneOf() isWebRTCRequest_WebRTCRequestOneOf {
- if m != nil {
- return m.WebRTCRequestOneOf
- }
- return nil
- }
- func (x *WebRTCRequest) GetRequestData() *RequestData {
- if x, ok := x.GetWebRTCRequestOneOf().(*WebRTCRequest_RequestData); ok {
- return x.RequestData
- }
- return nil
- }
- type isWebRTCRequest_WebRTCRequestOneOf interface {
- isWebRTCRequest_WebRTCRequestOneOf()
- }
- type WebRTCRequest_RequestData struct {
- RequestData *RequestData `protobuf:"bytes,1,opt,name=requestData,proto3,oneof"`
- }
- func (*WebRTCRequest_RequestData) isWebRTCRequest_WebRTCRequestOneOf() {}
- type WebRTCReply struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- // Types that are assignable to WebRTCReplyOneOf:
- // *WebRTCReply_RequestData
- WebRTCReplyOneOf isWebRTCReply_WebRTCReplyOneOf `protobuf_oneof:"WebRTCReplyOneOf"`
- }
- func (x *WebRTCReply) Reset() {
- *x = WebRTCReply{}
- if protoimpl.UnsafeEnabled {
- mi := &file_protos_client_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *WebRTCReply) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*WebRTCReply) ProtoMessage() {}
- func (x *WebRTCReply) 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 WebRTCReply.ProtoReflect.Descriptor instead.
- func (*WebRTCReply) Descriptor() ([]byte, []int) {
- return file_protos_client_proto_rawDescGZIP(), []int{2}
- }
- func (m *WebRTCReply) GetWebRTCReplyOneOf() isWebRTCReply_WebRTCReplyOneOf {
- if m != nil {
- return m.WebRTCReplyOneOf
- }
- return nil
- }
- func (x *WebRTCReply) GetRequestData() *RequestData {
- if x, ok := x.GetWebRTCReplyOneOf().(*WebRTCReply_RequestData); ok {
- return x.RequestData
- }
- return nil
- }
- type isWebRTCReply_WebRTCReplyOneOf interface {
- isWebRTCReply_WebRTCReplyOneOf()
- }
- type WebRTCReply_RequestData struct {
- RequestData *RequestData `protobuf:"bytes,1,opt,name=requestData,proto3,oneof"`
- }
- func (*WebRTCReply_RequestData) isWebRTCReply_WebRTCReplyOneOf() {}
- type WebSocketRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- // Types that are assignable to WebSocketRequestOneOf:
- // *WebSocketRequest_RequestData
- WebSocketRequestOneOf isWebSocketRequest_WebSocketRequestOneOf `protobuf_oneof:"WebSocketRequestOneOf"`
- }
- func (x *WebSocketRequest) Reset() {
- *x = WebSocketRequest{}
- if protoimpl.UnsafeEnabled {
- mi := &file_protos_client_proto_msgTypes[3]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *WebSocketRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*WebSocketRequest) ProtoMessage() {}
- func (x *WebSocketRequest) 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 WebSocketRequest.ProtoReflect.Descriptor instead.
- func (*WebSocketRequest) Descriptor() ([]byte, []int) {
- return file_protos_client_proto_rawDescGZIP(), []int{3}
- }
- func (m *WebSocketRequest) GetWebSocketRequestOneOf() isWebSocketRequest_WebSocketRequestOneOf {
- if m != nil {
- return m.WebSocketRequestOneOf
- }
- return nil
- }
- func (x *WebSocketRequest) GetRequestData() *RequestData {
- if x, ok := x.GetWebSocketRequestOneOf().(*WebSocketRequest_RequestData); ok {
- return x.RequestData
- }
- return nil
- }
- type isWebSocketRequest_WebSocketRequestOneOf interface {
- isWebSocketRequest_WebSocketRequestOneOf()
- }
- type WebSocketRequest_RequestData struct {
- RequestData *RequestData `protobuf:"bytes,1,opt,name=requestData,proto3,oneof"`
- }
- func (*WebSocketRequest_RequestData) isWebSocketRequest_WebSocketRequestOneOf() {}
- type WebSocketReply struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- // Types that are assignable to WebSocketReplyOneOf:
- // *WebSocketReply_RequestData
- WebSocketReplyOneOf isWebSocketReply_WebSocketReplyOneOf `protobuf_oneof:"WebSocketReplyOneOf"`
- }
- func (x *WebSocketReply) Reset() {
- *x = WebSocketReply{}
- if protoimpl.UnsafeEnabled {
- mi := &file_protos_client_proto_msgTypes[4]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *WebSocketReply) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*WebSocketReply) ProtoMessage() {}
- func (x *WebSocketReply) 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 WebSocketReply.ProtoReflect.Descriptor instead.
- func (*WebSocketReply) Descriptor() ([]byte, []int) {
- return file_protos_client_proto_rawDescGZIP(), []int{4}
- }
- func (m *WebSocketReply) GetWebSocketReplyOneOf() isWebSocketReply_WebSocketReplyOneOf {
- if m != nil {
- return m.WebSocketReplyOneOf
- }
- return nil
- }
- func (x *WebSocketReply) GetRequestData() *RequestData {
- if x, ok := x.GetWebSocketReplyOneOf().(*WebSocketReply_RequestData); ok {
- return x.RequestData
- }
- return nil
- }
- type isWebSocketReply_WebSocketReplyOneOf interface {
- isWebSocketReply_WebSocketReplyOneOf()
- }
- type WebSocketReply_RequestData struct {
- RequestData *RequestData `protobuf:"bytes,1,opt,name=requestData,proto3,oneof"`
- }
- func (*WebSocketReply_RequestData) isWebSocketReply_WebSocketReplyOneOf() {}
- 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[5]
- 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[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 MonitorPoint.ProtoReflect.Descriptor instead.
- func (*MonitorPoint) Descriptor() ([]byte, []int) {
- return file_protos_client_proto_rawDescGZIP(), []int{5}
- }
- 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"`
- Tile *BPoint `protobuf:"bytes,2,opt,name=tile,proto3" json:"tile,omitempty"`
- }
- func (x *MonitorReply) Reset() {
- *x = MonitorReply{}
- if protoimpl.UnsafeEnabled {
- mi := &file_protos_client_proto_msgTypes[6]
- 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[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 MonitorReply.ProtoReflect.Descriptor instead.
- func (*MonitorReply) Descriptor() ([]byte, []int) {
- return file_protos_client_proto_rawDescGZIP(), []int{6}
- }
- func (x *MonitorReply) GetPoints() []*MonitorPoint {
- if x != nil {
- return x.Points
- }
- return nil
- }
- func (x *MonitorReply) GetTile() *BPoint {
- if x != nil {
- return x.Tile
- }
- return nil
- }
- type MonitorRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Last int64 `protobuf:"varint,1,opt,name=last,proto3" json:"last,omitempty"`
- Tile *BPoint `protobuf:"bytes,2,opt,name=tile,proto3" json:"tile,omitempty"`
- }
- func (x *MonitorRequest) Reset() {
- *x = MonitorRequest{}
- if protoimpl.UnsafeEnabled {
- mi := &file_protos_client_proto_msgTypes[7]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *MonitorRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*MonitorRequest) ProtoMessage() {}
- func (x *MonitorRequest) 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 MonitorRequest.ProtoReflect.Descriptor instead.
- func (*MonitorRequest) Descriptor() ([]byte, []int) {
- return file_protos_client_proto_rawDescGZIP(), []int{7}
- }
- func (x *MonitorRequest) GetLast() int64 {
- if x != nil {
- return x.Last
- }
- return 0
- }
- func (x *MonitorRequest) GetTile() *BPoint {
- if x != nil {
- return x.Tile
- }
- 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[8]
- 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[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 MonitorPointList.ProtoReflect.Descriptor instead.
- func (*MonitorPointList) Descriptor() ([]byte, []int) {
- return file_protos_client_proto_rawDescGZIP(), []int{8}
- }
- 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[9]
- 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[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 BPoint.ProtoReflect.Descriptor instead.
- func (*BPoint) Descriptor() ([]byte, []int) {
- return file_protos_client_proto_rawDescGZIP(), []int{9}
- }
- 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[10]
- 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[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 BColor.ProtoReflect.Descriptor instead.
- func (*BColor) Descriptor() ([]byte, []int) {
- return file_protos_client_proto_rawDescGZIP(), []int{10}
- }
- 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[11]
- 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[11]
- 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{11}
- }
- 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[12]
- 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[12]
- 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{12}
- }
- 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[13]
- 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[13]
- 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{13}
- }
- 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, 0x3e, 0x0a, 0x0b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
- 0x44, 0x61, 0x74, 0x61, 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, 0x12, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52,
- 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x22, 0x57, 0x0a, 0x0d, 0x57, 0x65, 0x62, 0x52, 0x54, 0x43, 0x52,
- 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x30, 0x0a, 0x0b, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73,
- 0x74, 0x44, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x52, 0x65,
- 0x71, 0x75, 0x65, 0x73, 0x74, 0x44, 0x61, 0x74, 0x61, 0x48, 0x00, 0x52, 0x0b, 0x72, 0x65, 0x71,
- 0x75, 0x65, 0x73, 0x74, 0x44, 0x61, 0x74, 0x61, 0x42, 0x14, 0x0a, 0x12, 0x57, 0x65, 0x62, 0x52,
- 0x54, 0x43, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4f, 0x6e, 0x65, 0x4f, 0x66, 0x22, 0x53,
- 0x0a, 0x0b, 0x57, 0x65, 0x62, 0x52, 0x54, 0x43, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x30, 0x0a,
- 0x0b, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x44, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01,
- 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x44, 0x61, 0x74, 0x61,
- 0x48, 0x00, 0x52, 0x0b, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x44, 0x61, 0x74, 0x61, 0x42,
- 0x12, 0x0a, 0x10, 0x57, 0x65, 0x62, 0x52, 0x54, 0x43, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x4f, 0x6e,
- 0x65, 0x4f, 0x66, 0x22, 0x5d, 0x0a, 0x10, 0x57, 0x65, 0x62, 0x53, 0x6f, 0x63, 0x6b, 0x65, 0x74,
- 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x30, 0x0a, 0x0b, 0x72, 0x65, 0x71, 0x75, 0x65,
- 0x73, 0x74, 0x44, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x52,
- 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x44, 0x61, 0x74, 0x61, 0x48, 0x00, 0x52, 0x0b, 0x72, 0x65,
- 0x71, 0x75, 0x65, 0x73, 0x74, 0x44, 0x61, 0x74, 0x61, 0x42, 0x17, 0x0a, 0x15, 0x57, 0x65, 0x62,
- 0x53, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4f, 0x6e, 0x65,
- 0x4f, 0x66, 0x22, 0x59, 0x0a, 0x0e, 0x57, 0x65, 0x62, 0x53, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x52,
- 0x65, 0x70, 0x6c, 0x79, 0x12, 0x30, 0x0a, 0x0b, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x44,
- 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x52, 0x65, 0x71, 0x75,
- 0x65, 0x73, 0x74, 0x44, 0x61, 0x74, 0x61, 0x48, 0x00, 0x52, 0x0b, 0x72, 0x65, 0x71, 0x75, 0x65,
- 0x73, 0x74, 0x44, 0x61, 0x74, 0x61, 0x42, 0x15, 0x0a, 0x13, 0x57, 0x65, 0x62, 0x53, 0x6f, 0x63,
- 0x6b, 0x65, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x4f, 0x6e, 0x65, 0x4f, 0x66, 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, 0x52, 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, 0x1b, 0x0a, 0x04, 0x74, 0x69, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
- 0x32, 0x07, 0x2e, 0x42, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x04, 0x74, 0x69, 0x6c, 0x65, 0x22,
- 0x41, 0x0a, 0x0e, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
- 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x61, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
- 0x04, 0x6c, 0x61, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x04, 0x74, 0x69, 0x6c, 0x65, 0x18, 0x02, 0x20,
- 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x42, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x04, 0x74, 0x69,
- 0x6c, 0x65, 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, 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, 14)
- var file_protos_client_proto_goTypes = []interface{}{
- (*RequestData)(nil), // 0: RequestData
- (*WebRTCRequest)(nil), // 1: WebRTCRequest
- (*WebRTCReply)(nil), // 2: WebRTCReply
- (*WebSocketRequest)(nil), // 3: WebSocketRequest
- (*WebSocketReply)(nil), // 4: WebSocketReply
- (*MonitorPoint)(nil), // 5: MonitorPoint
- (*MonitorReply)(nil), // 6: MonitorReply
- (*MonitorRequest)(nil), // 7: MonitorRequest
- (*MonitorPointList)(nil), // 8: MonitorPointList
- (*BPoint)(nil), // 9: BPoint
- (*BColor)(nil), // 10: BColor
- (*PaintRequest)(nil), // 11: PaintRequest
- (*PaintReply)(nil), // 12: PaintReply
- (*RTCData)(nil), // 13: RTCData
- }
- var file_protos_client_proto_depIdxs = []int32{
- 9, // 0: RequestData.tile:type_name -> BPoint
- 0, // 1: WebRTCRequest.requestData:type_name -> RequestData
- 0, // 2: WebRTCReply.requestData:type_name -> RequestData
- 0, // 3: WebSocketRequest.requestData:type_name -> RequestData
- 0, // 4: WebSocketReply.requestData:type_name -> RequestData
- 9, // 5: MonitorPoint.point:type_name -> BPoint
- 10, // 6: MonitorPoint.color:type_name -> BColor
- 5, // 7: MonitorReply.points:type_name -> MonitorPoint
- 9, // 8: MonitorReply.tile:type_name -> BPoint
- 9, // 9: MonitorRequest.tile:type_name -> BPoint
- 5, // 10: MonitorPointList.points:type_name -> MonitorPoint
- 9, // 11: PaintRequest.point:type_name -> BPoint
- 10, // 12: PaintRequest.color:type_name -> BColor
- 13, // [13:13] is the sub-list for method output_type
- 13, // [13:13] is the sub-list for method input_type
- 13, // [13:13] is the sub-list for extension type_name
- 13, // [13:13] is the sub-list for extension extendee
- 0, // [0:13] 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.(*RequestData); 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.(*WebRTCRequest); 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.(*WebRTCReply); 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.(*WebSocketRequest); 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.(*WebSocketReply); 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.(*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[6].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[7].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*MonitorRequest); 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.(*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[9].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[10].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[11].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[12].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[13].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
- }
- }
- }
- file_protos_client_proto_msgTypes[1].OneofWrappers = []interface{}{
- (*WebRTCRequest_RequestData)(nil),
- }
- file_protos_client_proto_msgTypes[2].OneofWrappers = []interface{}{
- (*WebRTCReply_RequestData)(nil),
- }
- file_protos_client_proto_msgTypes[3].OneofWrappers = []interface{}{
- (*WebSocketRequest_RequestData)(nil),
- }
- file_protos_client_proto_msgTypes[4].OneofWrappers = []interface{}{
- (*WebSocketReply_RequestData)(nil),
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_protos_client_proto_rawDesc,
- NumEnums: 0,
- NumMessages: 14,
- NumExtensions: 0,
- NumServices: 0,
- },
- 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
- }
|