/
idc.pb.go
200 lines (180 loc) · 7.11 KB
/
idc.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: idc.proto
package idcmanager
import (
fmt "fmt"
_ "github.com/gogo/protobuf/gogoproto"
proto "github.com/gogo/protobuf/proto"
_ "github.com/mwitkow/go-proto-validators"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
//
//机房
type IDC struct {
//
//机房ID
InstanceId string `protobuf:"bytes,1,opt,name=instanceId,proto3" json:"instanceId" form:"instanceId"`
//
//机房名称
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name" form:"name"`
//
//楼层号
Building string `protobuf:"bytes,3,opt,name=building,proto3" json:"building" form:"building"`
//
//简称
Shortname string `protobuf:"bytes,4,opt,name=shortname,proto3" json:"shortname" form:"shortname"`
//
//值班电话
Telphone string `protobuf:"bytes,5,opt,name=telphone,proto3" json:"telphone" form:"telphone"`
//
//区域,如1F01
Area string `protobuf:"bytes,6,opt,name=area,proto3" json:"area" form:"area"`
//
//机房地址,如华北机房
Address string `protobuf:"bytes,7,opt,name=address,proto3" json:"address" form:"address"`
//
//机房布局,用json保存二维数组[[{instanceId, type, code}]]
Layout string `protobuf:"bytes,8,opt,name=layout,proto3" json:"layout" form:"layout"`
//
//机房创建时间
Ctime string `protobuf:"bytes,9,opt,name=ctime,proto3" json:"ctime" form:"ctime"`
//
//机房创建者
Creator string `protobuf:"bytes,10,opt,name=creator,proto3" json:"creator" form:"creator"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *IDC) Reset() { *m = IDC{} }
func (m *IDC) String() string { return proto.CompactTextString(m) }
func (*IDC) ProtoMessage() {}
func (*IDC) Descriptor() ([]byte, []int) {
return fileDescriptor_7d51ed080ac0058f, []int{0}
}
func (m *IDC) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_IDC.Unmarshal(m, b)
}
func (m *IDC) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_IDC.Marshal(b, m, deterministic)
}
func (m *IDC) XXX_Merge(src proto.Message) {
xxx_messageInfo_IDC.Merge(m, src)
}
func (m *IDC) XXX_Size() int {
return xxx_messageInfo_IDC.Size(m)
}
func (m *IDC) XXX_DiscardUnknown() {
xxx_messageInfo_IDC.DiscardUnknown(m)
}
var xxx_messageInfo_IDC proto.InternalMessageInfo
func (m *IDC) GetInstanceId() string {
if m != nil {
return m.InstanceId
}
return ""
}
func (m *IDC) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *IDC) GetBuilding() string {
if m != nil {
return m.Building
}
return ""
}
func (m *IDC) GetShortname() string {
if m != nil {
return m.Shortname
}
return ""
}
func (m *IDC) GetTelphone() string {
if m != nil {
return m.Telphone
}
return ""
}
func (m *IDC) GetArea() string {
if m != nil {
return m.Area
}
return ""
}
func (m *IDC) GetAddress() string {
if m != nil {
return m.Address
}
return ""
}
func (m *IDC) GetLayout() string {
if m != nil {
return m.Layout
}
return ""
}
func (m *IDC) GetCtime() string {
if m != nil {
return m.Ctime
}
return ""
}
func (m *IDC) GetCreator() string {
if m != nil {
return m.Creator
}
return ""
}
func init() {
proto.RegisterType((*IDC)(nil), "idcmanager.IDC")
}
func init() { proto.RegisterFile("idc.proto", fileDescriptor_7d51ed080ac0058f) }
var fileDescriptor_7d51ed080ac0058f = []byte{
// 555 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x93, 0xcd, 0x6e, 0xd3, 0x4c,
0x14, 0x86, 0xe5, 0xaf, 0x6d, 0xd2, 0xcc, 0x07, 0xfd, 0x31, 0x2c, 0xac, 0x6e, 0x5c, 0xdc, 0x2c,
0x6c, 0xda, 0xf1, 0x4f, 0x02, 0x48, 0xc9, 0x26, 0xa2, 0x54, 0x48, 0xd9, 0x1a, 0x56, 0x31, 0x0e,
0x9a, 0xd8, 0x53, 0xc7, 0xc2, 0xf6, 0x44, 0xb6, 0x43, 0xd5, 0x26, 0xb9, 0x21, 0x24, 0x6e, 0x80,
0x25, 0x77, 0xc1, 0xc6, 0x48, 0x5c, 0x82, 0xaf, 0x00, 0xf9, 0x4c, 0x9c, 0x44, 0x15, 0xab, 0x39,
0xe7, 0xbc, 0xcf, 0x7b, 0x66, 0xce, 0xd8, 0x83, 0x5a, 0xa1, 0xef, 0xe9, 0xb3, 0x94, 0xe5, 0x4c,
0x44, 0xa1, 0xef, 0xc5, 0x24, 0x21, 0x01, 0x4d, 0xcf, 0x70, 0x10, 0xe6, 0xd3, 0xf9, 0x44, 0xf7,
0x58, 0x6c, 0x04, 0x2c, 0x60, 0x06, 0x20, 0x93, 0xf9, 0x2d, 0x64, 0x90, 0x40, 0xc4, 0xad, 0x67,
0x6f, 0x76, 0xf0, 0xf8, 0x2e, 0xcc, 0xbf, 0xb0, 0x3b, 0x23, 0x60, 0x18, 0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