panlei
2019-08-22 dc8ca60fc53199251100883b4370de52a6534463
sysset.pb.go
@@ -36,6 +36,9 @@
   Reserved             string   `protobuf:"bytes,13,opt,name=reserved,proto3" json:"reserved,omitempty"`
   GateWay              string   `protobuf:"bytes,14,opt,name=gate_way,json=gateWay,proto3" json:"gate_way,omitempty"`
   NetMask              string   `protobuf:"bytes,15,opt,name=net_mask,json=netMask,proto3" json:"net_mask,omitempty"`
   RealMax              int32    `protobuf:"varint,16,opt,name=real_max,json=realMax,proto3" json:"real_max,omitempty"`
   AlarmThresholdType   int32    `protobuf:"varint,17,opt,name=alarm_threshold_type,json=alarmThresholdType,proto3" json:"alarm_threshold_type,omitempty"`
   AlarmThreshold       int32    `protobuf:"varint,18,opt,name=alarm_threshold,json=alarmThreshold,proto3" json:"alarm_threshold,omitempty"`
   XXX_NoUnkeyedLiteral struct{} `json:"-"`
   XXX_unrecognized     []byte   `json:"-"`
   XXX_sizecache        int32    `json:"-"`
@@ -171,6 +174,90 @@
   return ""
}
func (m *LocalConfig) GetRealMax() int32 {
   if m != nil {
      return m.RealMax
   }
   return 0
}
func (m *LocalConfig) GetAlarmThresholdType() int32 {
   if m != nil {
      return m.AlarmThresholdType
   }
   return 0
}
func (m *LocalConfig) GetAlarmThreshold() int32 {
   if m != nil {
      return m.AlarmThreshold
   }
   return 0
}
type PollConfig struct {
   ServerId             string   `protobuf:"bytes,1,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"`
   PollPeriod           int32    `protobuf:"varint,2,opt,name=poll_period,json=pollPeriod,proto3" json:"poll_period,omitempty"`
   Delay                int32    `protobuf:"varint,3,opt,name=delay,proto3" json:"delay,omitempty"`
   Enable               bool     `protobuf:"varint,4,opt,name=enable,proto3" json:"enable,omitempty"`
   XXX_NoUnkeyedLiteral struct{} `json:"-"`
   XXX_unrecognized     []byte   `json:"-"`
   XXX_sizecache        int32    `json:"-"`
}
func (m *PollConfig) Reset()         { *m = PollConfig{} }
func (m *PollConfig) String() string { return proto.CompactTextString(m) }
func (*PollConfig) ProtoMessage()    {}
func (*PollConfig) Descriptor() ([]byte, []int) {
   return fileDescriptor_5be590c6b2a0d755, []int{1}
}
func (m *PollConfig) XXX_Unmarshal(b []byte) error {
   return xxx_messageInfo_PollConfig.Unmarshal(m, b)
}
func (m *PollConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   return xxx_messageInfo_PollConfig.Marshal(b, m, deterministic)
}
func (m *PollConfig) XXX_Merge(src proto.Message) {
   xxx_messageInfo_PollConfig.Merge(m, src)
}
func (m *PollConfig) XXX_Size() int {
   return xxx_messageInfo_PollConfig.Size(m)
}
func (m *PollConfig) XXX_DiscardUnknown() {
   xxx_messageInfo_PollConfig.DiscardUnknown(m)
}
var xxx_messageInfo_PollConfig proto.InternalMessageInfo
func (m *PollConfig) GetServerId() string {
   if m != nil {
      return m.ServerId
   }
   return ""
}
func (m *PollConfig) GetPollPeriod() int32 {
   if m != nil {
      return m.PollPeriod
   }
   return 0
}
func (m *PollConfig) GetDelay() int32 {
   if m != nil {
      return m.Delay
   }
   return 0
}
func (m *PollConfig) GetEnable() bool {
   if m != nil {
      return m.Enable
   }
   return false
}
type Cluster struct {
   ClusterId            string         `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
   ClusterName          string         `protobuf:"bytes,2,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`
@@ -186,7 +273,7 @@
func (m *Cluster) String() string { return proto.CompactTextString(m) }
func (*Cluster) ProtoMessage()    {}
func (*Cluster) Descriptor() ([]byte, []int) {
   return fileDescriptor_5be590c6b2a0d755, []int{1}
   return fileDescriptor_5be590c6b2a0d755, []int{2}
}
func (m *Cluster) XXX_Unmarshal(b []byte) error {
@@ -259,7 +346,7 @@
func (m *ClusterNode) String() string { return proto.CompactTextString(m) }
func (*ClusterNode) ProtoMessage()    {}
func (*ClusterNode) Descriptor() ([]byte, []int) {
   return fileDescriptor_5be590c6b2a0d755, []int{2}
   return fileDescriptor_5be590c6b2a0d755, []int{3}
}
func (m *ClusterNode) XXX_Unmarshal(b []byte) error {
@@ -331,6 +418,7 @@
func init() {
   proto.RegisterType((*LocalConfig)(nil), "protomsg.LocalConfig")
   proto.RegisterType((*PollConfig)(nil), "protomsg.PollConfig")
   proto.RegisterType((*Cluster)(nil), "protomsg.Cluster")
   proto.RegisterType((*ClusterNode)(nil), "protomsg.ClusterNode")
}
@@ -338,35 +426,41 @@
func init() { proto.RegisterFile("sysset.proto", fileDescriptor_5be590c6b2a0d755) }
var fileDescriptor_5be590c6b2a0d755 = []byte{
   // 469 bytes of a gzipped FileDescriptorProto
   0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x52, 0xdd, 0x6a, 0xdb, 0x30,
   0x14, 0xc6, 0x49, 0x93, 0xd8, 0xc7, 0x59, 0x36, 0x04, 0x63, 0x5a, 0xf6, 0x97, 0xe5, 0x2a, 0x30,
   0xc8, 0xc5, 0xf6, 0x08, 0xdd, 0x8d, 0x61, 0x2d, 0x25, 0x14, 0x76, 0x69, 0x14, 0xeb, 0x2c, 0x88,
   0xc6, 0x96, 0x90, 0xe4, 0xa6, 0x7e, 0xae, 0x3d, 0xc7, 0x1e, 0x63, 0xef, 0x31, 0x24, 0xd9, 0xb1,
   0xdb, 0x41, 0xaf, 0x92, 0xf3, 0xfd, 0x1c, 0x9f, 0xa3, 0xf3, 0xc1, 0xdc, 0x34, 0xc6, 0xa0, 0xdd,
   0x2a, 0x2d, 0xad, 0x24, 0xb1, 0xff, 0x29, 0xcd, 0x61, 0xfd, 0x77, 0x0c, 0xe9, 0x0f, 0x59, 0xb0,
   0xe3, 0xa5, 0xac, 0x7e, 0x89, 0x03, 0x79, 0x07, 0x89, 0x41, 0x7d, 0x8f, 0x3a, 0x17, 0x9c, 0x46,
   0xab, 0x68, 0x93, 0xec, 0xe2, 0x00, 0x64, 0x9c, 0x7c, 0x82, 0xb4, 0x25, 0x2b, 0x56, 0x22, 0x1d,
   0x79, 0x1a, 0x02, 0x74, 0xcd, 0x4a, 0x1c, 0x08, 0x6c, 0xa3, 0x90, 0x8e, 0x57, 0xd1, 0x66, 0xd2,
   0x09, 0x6e, 0x1b, 0x85, 0xc3, 0xf6, 0x8a, 0x5e, 0x3c, 0x6a, 0xaf, 0xc8, 0x5b, 0x88, 0xd9, 0x91,
   0xe9, 0xd2, 0x71, 0x13, 0xcf, 0xcd, 0x7c, 0x9d, 0x29, 0xf2, 0x01, 0x20, 0x50, 0x4a, 0x6a, 0x4b,
   0xa7, 0xbe, 0x6f, 0xe2, 0x91, 0x1b, 0xa9, 0x2d, 0x79, 0x0f, 0x70, 0xc2, 0x7d, 0xae, 0x44, 0xe1,
   0xbc, 0xb3, 0xd0, 0xf7, 0x84, 0xfb, 0x1b, 0x51, 0x64, 0x8a, 0xac, 0x60, 0xde, 0xb1, 0xde, 0x1e,
   0x87, 0xb1, 0x02, 0xef, 0xfd, 0x4b, 0x48, 0xd0, 0x74, 0xf6, 0x24, 0x7c, 0x1a, 0x4d, 0x70, 0x7f,
   0x84, 0xb4, 0xe5, 0xbc, 0x19, 0xc2, 0xb7, 0x3d, 0xeb, 0xbd, 0x1b, 0x78, 0x55, 0xd4, 0x36, 0x2f,
   0xd9, 0x43, 0xce, 0x6b, 0xcd, 0xac, 0x90, 0x15, 0x4d, 0xbd, 0x68, 0x51, 0xd4, 0xf6, 0x8a, 0x3d,
   0x7c, 0x6f, 0xd1, 0xb3, 0x52, 0x54, 0xbd, 0x72, 0xde, 0x2b, 0x45, 0x75, 0x56, 0x2e, 0x21, 0xd6,
   0xe8, 0xdf, 0x85, 0xd3, 0x17, 0x61, 0x9b, 0xae, 0x76, 0xaf, 0x74, 0x60, 0x16, 0xf3, 0x13, 0x6b,
   0xe8, 0x22, 0x8c, 0xea, 0xea, 0x9f, 0xac, 0x71, 0x54, 0x85, 0x6e, 0x14, 0x73, 0x47, 0x5f, 0x06,
   0xaa, 0x42, 0x7b, 0xc5, 0xcc, 0xdd, 0xfa, 0x77, 0x04, 0xb3, 0xcb, 0x63, 0x6d, 0x2c, 0x6a, 0xf7,
   0x98, 0x45, 0xf8, 0xdb, 0x1f, 0x39, 0x69, 0x91, 0x8c, 0x93, 0xcf, 0x30, 0xef, 0xe8, 0xc1, 0x99,
   0xd3, 0x16, 0xf3, 0x77, 0x5e, 0x42, 0xac, 0x98, 0x31, 0x27, 0xa9, 0xb9, 0x3f, 0x72, 0xb2, 0x3b,
   0xd7, 0xae, 0xfb, 0xbd, 0xd0, 0xb6, 0x66, 0xc7, 0xfe, 0xc6, 0x49, 0x8b, 0x64, 0x8a, 0x7c, 0x81,
   0x49, 0x25, 0x39, 0x1a, 0x3a, 0x59, 0x8d, 0x37, 0xe9, 0xd7, 0xd7, 0xdb, 0x2e, 0x8a, 0xdb, 0x76,
   0xbc, 0x6b, 0xc9, 0x71, 0x17, 0x34, 0xeb, 0x3f, 0x11, 0xa4, 0x03, 0x98, 0x2c, 0x60, 0x74, 0x9e,
   0x78, 0x24, 0xf8, 0x93, 0x4d, 0x46, 0x4f, 0x37, 0x79, 0x14, 0xe6, 0xf1, 0xf3, 0x61, 0xbe, 0xf8,
   0x2f, 0xcc, 0x6f, 0x60, 0xe6, 0xa6, 0x70, 0xde, 0x90, 0xc6, 0xa9, 0x2b, 0x33, 0xde, 0x13, 0xca,
   0x27, 0xb1, 0x23, 0x94, 0x6b, 0x59, 0x68, 0x74, 0xc7, 0xb1, 0xa2, 0xc4, 0x36, 0x87, 0x10, 0xa0,
   0x5b, 0x51, 0xe2, 0x7e, 0xea, 0x97, 0xfd, 0xf6, 0x2f, 0x00, 0x00, 0xff, 0xff, 0x31, 0xf2, 0x53,
   0x2d, 0x8e, 0x03, 0x00, 0x00,
   // 565 bytes of a gzipped FileDescriptorProto
   0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x53, 0xdb, 0x6e, 0x13, 0x31,
   0x10, 0x55, 0xd2, 0x26, 0xd9, 0x9d, 0x0d, 0x6d, 0xb1, 0x0a, 0x98, 0x72, 0x0b, 0x79, 0x21, 0x12,
   0x52, 0x85, 0xe0, 0x13, 0xca, 0x4b, 0x24, 0x5a, 0x45, 0x51, 0x25, 0x1e, 0x23, 0x67, 0x3d, 0xb4,
   0x56, 0x77, 0xd7, 0x96, 0xed, 0x34, 0xd9, 0xef, 0xe2, 0x3b, 0xf8, 0x02, 0x7e, 0x06, 0x79, 0xbc,
   0x9b, 0xa4, 0x45, 0x42, 0x3c, 0x25, 0x73, 0xce, 0x99, 0x9b, 0xf7, 0x0c, 0x0c, 0x5d, 0xed, 0x1c,
   0xfa, 0x73, 0x63, 0xb5, 0xd7, 0x2c, 0xa1, 0x9f, 0xd2, 0xdd, 0x8c, 0x7f, 0x1f, 0x42, 0xf6, 0x4d,
   0xe7, 0xa2, 0xb8, 0xd0, 0xd5, 0x0f, 0x75, 0xc3, 0x5e, 0x41, 0xea, 0xd0, 0xde, 0xa3, 0x5d, 0x28,
   0xc9, 0x3b, 0xa3, 0xce, 0x24, 0x9d, 0x27, 0x11, 0x98, 0x4a, 0xf6, 0x0e, 0xb2, 0x86, 0xac, 0x44,
   0x89, 0xbc, 0x4b, 0x34, 0x44, 0xe8, 0x4a, 0x94, 0xb8, 0x27, 0xf0, 0xb5, 0x41, 0x7e, 0x30, 0xea,
   0x4c, 0x7a, 0xad, 0xe0, 0xba, 0x36, 0xb8, 0x5f, 0xde, 0xf0, 0xc3, 0x07, 0xe5, 0x0d, 0x7b, 0x09,
   0x89, 0x28, 0x84, 0x2d, 0x03, 0xd7, 0x23, 0x6e, 0x40, 0xf1, 0xd4, 0xb0, 0x37, 0x00, 0x91, 0x32,
   0xda, 0x7a, 0xde, 0xa7, 0xba, 0x29, 0x21, 0x33, 0x6d, 0x3d, 0x7b, 0x0d, 0xb0, 0xc6, 0xe5, 0xc2,
   0xa8, 0x3c, 0xe4, 0x0e, 0x62, 0xdd, 0x35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