227 lines
7.1 KiB
Go
227 lines
7.1 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.28.1
|
|
// protoc v4.23.1
|
|
// source: pslGraphics.proto
|
|
|
|
package graphicData
|
|
|
|
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 PslGraphicStorage struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Psllights []*PslLight `protobuf:"bytes,1,rep,name=psllights,proto3" json:"psllights,omitempty"` // psl圆形灯
|
|
}
|
|
|
|
func (x *PslGraphicStorage) Reset() {
|
|
*x = PslGraphicStorage{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_pslGraphics_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PslGraphicStorage) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PslGraphicStorage) ProtoMessage() {}
|
|
|
|
func (x *PslGraphicStorage) ProtoReflect() protoreflect.Message {
|
|
mi := &file_pslGraphics_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 PslGraphicStorage.ProtoReflect.Descriptor instead.
|
|
func (*PslGraphicStorage) Descriptor() ([]byte, []int) {
|
|
return file_pslGraphics_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *PslGraphicStorage) GetPsllights() []*PslLight {
|
|
if x != nil {
|
|
return x.Psllights
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// PSL圆形灯
|
|
type PslLight struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Common *CommonInfo `protobuf:"bytes,1,opt,name=common,proto3" json:"common,omitempty"`
|
|
Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
|
|
}
|
|
|
|
func (x *PslLight) Reset() {
|
|
*x = PslLight{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_pslGraphics_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PslLight) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PslLight) ProtoMessage() {}
|
|
|
|
func (x *PslLight) ProtoReflect() protoreflect.Message {
|
|
mi := &file_pslGraphics_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 PslLight.ProtoReflect.Descriptor instead.
|
|
func (*PslLight) Descriptor() ([]byte, []int) {
|
|
return file_pslGraphics_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *PslLight) GetCommon() *CommonInfo {
|
|
if x != nil {
|
|
return x.Common
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PslLight) GetCode() string {
|
|
if x != nil {
|
|
return x.Code
|
|
}
|
|
return ""
|
|
}
|
|
|
|
var File_pslGraphics_proto protoreflect.FileDescriptor
|
|
|
|
var file_pslGraphics_proto_rawDesc = []byte{
|
|
0x0a, 0x11, 0x70, 0x73, 0x6c, 0x47, 0x72, 0x61, 0x70, 0x68, 0x69, 0x63, 0x73, 0x2e, 0x70, 0x72,
|
|
0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x70, 0x73, 0x6c, 0x47, 0x72, 0x61, 0x70, 0x68, 0x69, 0x63, 0x44,
|
|
0x61, 0x74, 0x61, 0x1a, 0x1b, 0x73, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x61, 0x79, 0x6f,
|
|
0x75, 0x74, 0x47, 0x72, 0x61, 0x70, 0x68, 0x69, 0x63, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
|
0x22, 0x4b, 0x0a, 0x11, 0x50, 0x73, 0x6c, 0x47, 0x72, 0x61, 0x70, 0x68, 0x69, 0x63, 0x53, 0x74,
|
|
0x6f, 0x72, 0x61, 0x67, 0x65, 0x12, 0x36, 0x0a, 0x09, 0x70, 0x73, 0x6c, 0x6c, 0x69, 0x67, 0x68,
|
|
0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x73, 0x6c, 0x47, 0x72,
|
|
0x61, 0x70, 0x68, 0x69, 0x63, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x50, 0x73, 0x6c, 0x4c, 0x69, 0x67,
|
|
0x68, 0x74, 0x52, 0x09, 0x70, 0x73, 0x6c, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x73, 0x22, 0x4f, 0x0a,
|
|
0x08, 0x50, 0x73, 0x6c, 0x4c, 0x69, 0x67, 0x68, 0x74, 0x12, 0x2f, 0x0a, 0x06, 0x63, 0x6f, 0x6d,
|
|
0x6d, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x72, 0x61, 0x70,
|
|
0x68, 0x69, 0x63, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x49, 0x6e,
|
|
0x66, 0x6f, 0x52, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f,
|
|
0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x21,
|
|
0x5a, 0x1f, 0x2e, 0x2f, 0x61, 0x74, 0x73, 0x2f, 0x76, 0x65, 0x72, 0x69, 0x66, 0x79, 0x2f, 0x70,
|
|
0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x67, 0x72, 0x61, 0x70, 0x68, 0x69, 0x63, 0x44, 0x61, 0x74,
|
|
0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
}
|
|
|
|
var (
|
|
file_pslGraphics_proto_rawDescOnce sync.Once
|
|
file_pslGraphics_proto_rawDescData = file_pslGraphics_proto_rawDesc
|
|
)
|
|
|
|
func file_pslGraphics_proto_rawDescGZIP() []byte {
|
|
file_pslGraphics_proto_rawDescOnce.Do(func() {
|
|
file_pslGraphics_proto_rawDescData = protoimpl.X.CompressGZIP(file_pslGraphics_proto_rawDescData)
|
|
})
|
|
return file_pslGraphics_proto_rawDescData
|
|
}
|
|
|
|
var file_pslGraphics_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
|
|
var file_pslGraphics_proto_goTypes = []interface{}{
|
|
(*PslGraphicStorage)(nil), // 0: pslGraphicData.PslGraphicStorage
|
|
(*PslLight)(nil), // 1: pslGraphicData.PslLight
|
|
(*CommonInfo)(nil), // 2: graphicData.CommonInfo
|
|
}
|
|
var file_pslGraphics_proto_depIdxs = []int32{
|
|
1, // 0: pslGraphicData.PslGraphicStorage.psllights:type_name -> pslGraphicData.PslLight
|
|
2, // 1: pslGraphicData.PslLight.common:type_name -> graphicData.CommonInfo
|
|
2, // [2:2] is the sub-list for method output_type
|
|
2, // [2:2] is the sub-list for method input_type
|
|
2, // [2:2] is the sub-list for extension type_name
|
|
2, // [2:2] is the sub-list for extension extendee
|
|
0, // [0:2] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_pslGraphics_proto_init() }
|
|
func file_pslGraphics_proto_init() {
|
|
if File_pslGraphics_proto != nil {
|
|
return
|
|
}
|
|
file_stationLayoutGraphics_proto_init()
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_pslGraphics_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PslGraphicStorage); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_pslGraphics_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PslLight); 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_pslGraphics_proto_rawDesc,
|
|
NumEnums: 0,
|
|
NumMessages: 2,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_pslGraphics_proto_goTypes,
|
|
DependencyIndexes: file_pslGraphics_proto_depIdxs,
|
|
MessageInfos: file_pslGraphics_proto_msgTypes,
|
|
}.Build()
|
|
File_pslGraphics_proto = out.File
|
|
file_pslGraphics_proto_rawDesc = nil
|
|
file_pslGraphics_proto_goTypes = nil
|
|
file_pslGraphics_proto_depIdxs = nil
|
|
}
|