github.com/insionng/yougam@v0.0.0-20170714101924-2bc18d833463/libraries/pingcap/go-hbase/proto/LoadBalancer.pb.go (about) 1 // Code generated by protoc-gen-go. 2 // source: LoadBalancer.proto 3 // DO NOT EDIT! 4 5 package proto 6 7 import proto1 "github.com/insionng/yougam/libraries/golang/protobuf/proto" 8 import math "math" 9 10 // Reference imports to suppress errors if they are not otherwise used. 11 var _ = proto1.Marshal 12 var _ = math.Inf 13 14 type LoadBalancerState struct { 15 BalancerOn *bool `protobuf:"varint,1,opt,name=balancer_on" json:"balancer_on,omitempty"` 16 XXX_unrecognized []byte `json:"-"` 17 } 18 19 func (m *LoadBalancerState) Reset() { *m = LoadBalancerState{} } 20 func (m *LoadBalancerState) String() string { return proto1.CompactTextString(m) } 21 func (*LoadBalancerState) ProtoMessage() {} 22 23 func (m *LoadBalancerState) GetBalancerOn() bool { 24 if m != nil && m.BalancerOn != nil { 25 return *m.BalancerOn 26 } 27 return false 28 } 29 30 func init() { 31 }