zhangmeng
2019-06-25 2f7092d881a84f5f8062fca0aa0694cb3bc2e7c1
sysset.pb.go
@@ -5,7 +5,7 @@
import (
   fmt "fmt"
   proto "github.com/golang/protobuf/proto"
   proto "github.com/gogo/protobuf/proto"
   io "io"
   math "math"
)
@@ -19,7 +19,7 @@
// 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.ProtoPackageIsVersion2 // please upgrade the proto package
const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
type LocalConfig struct {
   ServerId             string   `protobuf:"bytes,1,opt,name=server_id,json=serverId,proto3" json:"server_id,omitempty"`
@@ -38,9 +38,6 @@
   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"`
   XXX_NoUnkeyedLiteral struct{} `json:"-"`
   XXX_unrecognized     []byte   `json:"-"`
   XXX_sizecache        int32    `json:"-"`
}
func (m *LocalConfig) Reset()         { *m = LocalConfig{} }
@@ -193,9 +190,6 @@
   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{} }
@@ -265,9 +259,6 @@
   Password             string         `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
   VirtualIp            string         `protobuf:"bytes,4,opt,name=virtual_ip,json=virtualIp,proto3" json:"virtual_ip,omitempty"`
   Nodes                []*ClusterNode `protobuf:"bytes,5,rep,name=nodes,proto3" json:"nodes,omitempty"`
   XXX_NoUnkeyedLiteral struct{}       `json:"-"`
   XXX_unrecognized     []byte         `json:"-"`
   XXX_sizecache        int32          `json:"-"`
}
func (m *Cluster) Reset()         { *m = Cluster{} }
@@ -346,9 +337,6 @@
   NodeId               string   `protobuf:"bytes,5,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
   NodeIp               string   `protobuf:"bytes,6,opt,name=node_ip,json=nodeIp,proto3" json:"node_ip,omitempty"`
   CreateTime           string   `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
   XXX_NoUnkeyedLiteral struct{} `json:"-"`
   XXX_unrecognized     []byte   `json:"-"`
   XXX_sizecache        int32    `json:"-"`
}
func (m *ClusterNode) Reset()         { *m = ClusterNode{} }
@@ -443,42 +431,43 @@
func init() { proto.RegisterFile("sysset.proto", fileDescriptor_5be590c6b2a0d755) }
var fileDescriptor_5be590c6b2a0d755 = []byte{
   // 559 bytes of a gzipped FileDescriptorProto
   0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x53, 0xcd, 0x8e, 0xd3, 0x3e,
   0x10, 0xff, 0xa7, 0xbb, 0x69, 0x93, 0x49, 0xff, 0xcb, 0xca, 0xe2, 0x23, 0x2c, 0x50, 0x4a, 0x4f,
   0x95, 0x90, 0xf6, 0x00, 0x6f, 0xc0, 0x72, 0x89, 0xc4, 0xae, 0xaa, 0x6a, 0x25, 0x8e, 0x91, 0x1b,
   0x0f, 0x95, 0xb5, 0x49, 0x6c, 0xd9, 0xee, 0xb6, 0xb9, 0xf1, 0x18, 0xbc, 0x07, 0x2f, 0xc1, 0x05,
   0x89, 0x47, 0x40, 0xe5, 0x45, 0x90, 0xed, 0xa4, 0xed, 0x2e, 0x12, 0xe2, 0x94, 0xcc, 0xef, 0x63,
   0x66, 0x6c, 0xcf, 0xc0, 0x50, 0x37, 0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xbc, 0xdb, 0x8f, 0xf3, 0xb6, 0xbd, 0x2b, 0xc1, 0x70, 0xee, 0x35, 0x93, 0xef, 0x01, 0x24,
   0x07, 0x30, 0x39, 0x81, 0xde, 0xae, 0xe3, 0x1e, 0x67, 0xf7, 0x4e, 0xd2, 0xbb, 0x7f, 0x92, 0x3b,
   0x17, 0x7c, 0xf4, 0xf7, 0x0d, 0x3b, 0xfe, 0x63, 0xc3, 0x9e, 0xc0, 0xc0, 0x76, 0x61, 0xbd, 0x7e,
   0x45, 0xfa, 0x36, 0xcc, 0xd8, 0x9e, 0x90, 0x6e, 0x3d, 0x3a, 0x42, 0xda, 0x94, 0x85, 0x42, 0x3b,
   0x31, 0x86, 0x57, 0xd8, 0x2e, 0x07, 0x78, 0xe8, 0x9a, 0x57, 0xf8, 0xee, 0xf4, 0xdb, 0x76, 0x14,
   0xfc, 0xd8, 0x8e, 0x82, 0x9f, 0xdb, 0x51, 0xf0, 0xe5, 0xd7, 0xe8, 0xbf, 0x45, 0xdf, 0x1d, 0xff,
   0xed, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0xf3, 0x6d, 0x48, 0x9b, 0x35, 0x04, 0x00, 0x00,
   // 568 bytes of a gzipped FileDescriptorProto
   0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x53, 0xcd, 0x6e, 0x13, 0x3f,
   0x10, 0xef, 0xa6, 0x4d, 0xb2, 0x3b, 0x9b, 0x7f, 0xff, 0x95, 0xc5, 0x87, 0x29, 0xb0, 0x84, 0x9c,
   0x22, 0x21, 0xf5, 0x00, 0x6f, 0x40, 0xb9, 0x44, 0xa2, 0x55, 0x14, 0x55, 0xe2, 0x18, 0x39, 0xeb,
   0xa1, 0xb2, 0xba, 0xbb, 0xb6, 0x6c, 0xa7, 0xc9, 0xde, 0x78, 0x04, 0xde, 0x85, 0x97, 0xe0, 0x82,
   0xd4, 0x23, 0x47, 0xd4, 0xbe, 0x08, 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 0x4b, 0x1a, 0x64, 0xa2, 0xc8, 0x1b, 0xe8, 0x56, 0x92, 0xa3, 0xa1, 0xdd, 0xe1, 0xfe, 0x38,
   0x7d, 0xfb, 0xf8, 0xa4, 0xdd, 0x8f, 0x93, 0xa6, 0xbd, 0x73, 0xc9, 0x71, 0x16, 0x34, 0xa3, 0x1f,
   0x11, 0xa4, 0x3b, 0x30, 0x39, 0x84, 0xce, 0xa6, 0xe3, 0x8e, 0xe0, 0x0f, 0x4e, 0xd2, 0x79, 0x78,
   0x92, 0x7b, 0x17, 0xbc, 0xff, 0xf7, 0x0d, 0x3b, 0xf8, 0x63, 0xc3, 0x9e, 0x42, 0xdf, 0x75, 0xe1,
   0xbc, 0x61, 0x45, 0x7a, 0x2e, 0x9c, 0xf0, 0x2d, 0xa1, 0xfc, 0x7a, 0xb4, 0x84, 0x72, 0x29, 0x73,
   0x8d, 0x6e, 0x62, 0xac, 0x28, 0xb1, 0x59, 0x0e, 0x08, 0xd0, 0x85, 0x28, 0xf1, 0x3d, 0xfd, 0x7e,
   0x9b, 0x45, 0x37, 0xb7, 0x59, 0xf4, 0xeb, 0x36, 0x8b, 0xbe, 0xde, 0x65, 0x7b, 0x37, 0x77, 0xd9,
   0xde, 0xcf, 0xbb, 0x6c, 0x6f, 0xd1, 0xf3, 0xd7, 0xf0, 0xee, 0x77, 0x00, 0x00, 0x00, 0xff, 0xff,
   0x77, 0xe6, 0x9a, 0x28, 0x3d, 0x04, 0x00, 0x00,
}
func (m *LocalConfig) Marshal() (dAtA []byte, err error) {
@@ -587,9 +576,6 @@
      i++
      i = encodeVarintSysset(dAtA, i, uint64(m.RealMax))
   }
   if m.XXX_unrecognized != nil {
      i += copy(dAtA[i:], m.XXX_unrecognized)
   }
   return i, nil
}
@@ -633,9 +619,6 @@
         dAtA[i] = 0
      }
      i++
   }
   if m.XXX_unrecognized != nil {
      i += copy(dAtA[i:], m.XXX_unrecognized)
   }
   return i, nil
}
@@ -690,9 +673,6 @@
         }
         i += n
      }
   }
   if m.XXX_unrecognized != nil {
      i += copy(dAtA[i:], m.XXX_unrecognized)
   }
   return i, nil
}
@@ -753,9 +733,6 @@
      i++
      i = encodeVarintSysset(dAtA, i, uint64(len(m.CreateTime)))
      i += copy(dAtA[i:], m.CreateTime)
   }
   if m.XXX_unrecognized != nil {
      i += copy(dAtA[i:], m.XXX_unrecognized)
   }
   return i, nil
}
@@ -832,9 +809,6 @@
   if m.RealMax != 0 {
      n += 2 + sovSysset(uint64(m.RealMax))
   }
   if m.XXX_unrecognized != nil {
      n += len(m.XXX_unrecognized)
   }
   return n
}
@@ -856,9 +830,6 @@
   }
   if m.Enable {
      n += 2
   }
   if m.XXX_unrecognized != nil {
      n += len(m.XXX_unrecognized)
   }
   return n
}
@@ -890,9 +861,6 @@
         l = e.Size()
         n += 1 + l + sovSysset(uint64(l))
      }
   }
   if m.XXX_unrecognized != nil {
      n += len(m.XXX_unrecognized)
   }
   return n
}
@@ -930,9 +898,6 @@
   l = len(m.CreateTime)
   if l > 0 {
      n += 1 + l + sovSysset(uint64(l))
   }
   if m.XXX_unrecognized != nil {
      n += len(m.XXX_unrecognized)
   }
   return n
}
@@ -1415,7 +1380,6 @@
         if (iNdEx + skippy) > l {
            return io.ErrUnexpectedEOF
         }
         m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
         iNdEx += skippy
      }
   }
@@ -1559,7 +1523,6 @@
         if (iNdEx + skippy) > l {
            return io.ErrUnexpectedEOF
         }
         m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
         iNdEx += skippy
      }
   }
@@ -1775,7 +1738,6 @@
         if (iNdEx + skippy) > l {
            return io.ErrUnexpectedEOF
         }
         m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
         iNdEx += skippy
      }
   }
@@ -2053,7 +2015,6 @@
         if (iNdEx + skippy) > l {
            return io.ErrUnexpectedEOF
         }
         m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
         iNdEx += skippy
      }
   }