github.com/cockroachdb/cockroach@v20.2.0-alpha.1+incompatible/pkg/server/status/statuspb/status.pb.go (about)

     1  // Code generated by protoc-gen-gogo. DO NOT EDIT.
     2  // source: server/status/statuspb/status.proto
     3  
     4  package statuspb
     5  
     6  import proto "github.com/gogo/protobuf/proto"
     7  import fmt "fmt"
     8  import math "math"
     9  import build "github.com/cockroachdb/cockroach/pkg/build"
    10  import roachpb "github.com/cockroachdb/cockroach/pkg/roachpb"
    11  
    12  import github_com_cockroachdb_cockroach_pkg_roachpb "github.com/cockroachdb/cockroach/pkg/roachpb"
    13  
    14  import github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys"
    15  import encoding_binary "encoding/binary"
    16  
    17  import io "io"
    18  
    19  // Reference imports to suppress errors if they are not otherwise used.
    20  var _ = proto.Marshal
    21  var _ = fmt.Errorf
    22  var _ = math.Inf
    23  
    24  // This is a compile-time assertion to ensure that this generated file
    25  // is compatible with the proto package it is being compiled against.
    26  // A compilation error at this line likely means your copy of the
    27  // proto package needs to be updated.
    28  const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
    29  
    30  type HealthAlert_Category int32
    31  
    32  const (
    33  	HealthAlert_METRICS HealthAlert_Category = 0
    34  	HealthAlert_NETWORK HealthAlert_Category = 1
    35  )
    36  
    37  var HealthAlert_Category_name = map[int32]string{
    38  	0: "METRICS",
    39  	1: "NETWORK",
    40  }
    41  var HealthAlert_Category_value = map[string]int32{
    42  	"METRICS": 0,
    43  	"NETWORK": 1,
    44  }
    45  
    46  func (x HealthAlert_Category) String() string {
    47  	return proto.EnumName(HealthAlert_Category_name, int32(x))
    48  }
    49  func (HealthAlert_Category) EnumDescriptor() ([]byte, []int) {
    50  	return fileDescriptor_status_f9872bd1035fefcc, []int{2, 0}
    51  }
    52  
    53  // StoreStatus records the most recent values of metrics for a store.
    54  type StoreStatus struct {
    55  	Desc    roachpb.StoreDescriptor `protobuf:"bytes,1,opt,name=desc,proto3" json:"desc"`
    56  	Metrics map[string]float64      `protobuf:"bytes,2,rep,name=metrics,proto3" json:"metrics,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"fixed64,2,opt,name=value,proto3"`
    57  }
    58  
    59  func (m *StoreStatus) Reset()         { *m = StoreStatus{} }
    60  func (m *StoreStatus) String() string { return proto.CompactTextString(m) }
    61  func (*StoreStatus) ProtoMessage()    {}
    62  func (*StoreStatus) Descriptor() ([]byte, []int) {
    63  	return fileDescriptor_status_f9872bd1035fefcc, []int{0}
    64  }
    65  func (m *StoreStatus) XXX_Unmarshal(b []byte) error {
    66  	return m.Unmarshal(b)
    67  }
    68  func (m *StoreStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    69  	b = b[:cap(b)]
    70  	n, err := m.MarshalTo(b)
    71  	if err != nil {
    72  		return nil, err
    73  	}
    74  	return b[:n], nil
    75  }
    76  func (dst *StoreStatus) XXX_Merge(src proto.Message) {
    77  	xxx_messageInfo_StoreStatus.Merge(dst, src)
    78  }
    79  func (m *StoreStatus) XXX_Size() int {
    80  	return m.Size()
    81  }
    82  func (m *StoreStatus) XXX_DiscardUnknown() {
    83  	xxx_messageInfo_StoreStatus.DiscardUnknown(m)
    84  }
    85  
    86  var xxx_messageInfo_StoreStatus proto.InternalMessageInfo
    87  
    88  // NodeStatus records the most recent values of metrics for a node.
    89  type NodeStatus struct {
    90  	Desc          roachpb.NodeDescriptor `protobuf:"bytes,1,opt,name=desc,proto3" json:"desc"`
    91  	BuildInfo     build.Info             `protobuf:"bytes,2,opt,name=build_info,json=buildInfo,proto3" json:"build_info"`
    92  	StartedAt     int64                  `protobuf:"varint,3,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
    93  	UpdatedAt     int64                  `protobuf:"varint,4,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
    94  	Metrics       map[string]float64     `protobuf:"bytes,5,rep,name=metrics,proto3" json:"metrics,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"fixed64,2,opt,name=value,proto3"`
    95  	StoreStatuses []StoreStatus          `protobuf:"bytes,6,rep,name=store_statuses,json=storeStatuses,proto3" json:"store_statuses"`
    96  	Args          []string               `protobuf:"bytes,7,rep,name=args,proto3" json:"args,omitempty"`
    97  	Env           []string               `protobuf:"bytes,8,rep,name=env,proto3" json:"env,omitempty"`
    98  	// latencies is a map of nodeIDs to nanoseconds which is the latency
    99  	// between this node and the other node.
   100  	//
   101  	// NOTE: this is deprecated and is only set if the min supported
   102  	//       cluster version is >= VersionRPCNetworkStats.
   103  	Latencies map[github_com_cockroachdb_cockroach_pkg_roachpb.NodeID]int64 `protobuf:"bytes,9,rep,name=latencies,proto3,castkey=github.com/cockroachdb/cockroach/pkg/roachpb.NodeID" json:"latencies" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
   104  	// activity is a map of nodeIDs to network statistics from this node
   105  	// to other nodes.
   106  	Activity map[github_com_cockroachdb_cockroach_pkg_roachpb.NodeID]NodeStatus_NetworkActivity `protobuf:"bytes,10,rep,name=activity,proto3,castkey=github.com/cockroachdb/cockroach/pkg/roachpb.NodeID" json:"activity" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
   107  	// total_system_memory is the total RAM available to the system
   108  	// (or, if possible, the memory available to the cgroup this process is in)
   109  	// in bytes.
   110  	TotalSystemMemory int64 `protobuf:"varint,11,opt,name=total_system_memory,json=totalSystemMemory,proto3" json:"total_system_memory,omitempty"`
   111  	// num_cpus is the number of logical CPUs on this machine.
   112  	NumCpus int32 `protobuf:"varint,12,opt,name=num_cpus,json=numCpus,proto3" json:"num_cpus,omitempty"`
   113  }
   114  
   115  func (m *NodeStatus) Reset()         { *m = NodeStatus{} }
   116  func (m *NodeStatus) String() string { return proto.CompactTextString(m) }
   117  func (*NodeStatus) ProtoMessage()    {}
   118  func (*NodeStatus) Descriptor() ([]byte, []int) {
   119  	return fileDescriptor_status_f9872bd1035fefcc, []int{1}
   120  }
   121  func (m *NodeStatus) XXX_Unmarshal(b []byte) error {
   122  	return m.Unmarshal(b)
   123  }
   124  func (m *NodeStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   125  	b = b[:cap(b)]
   126  	n, err := m.MarshalTo(b)
   127  	if err != nil {
   128  		return nil, err
   129  	}
   130  	return b[:n], nil
   131  }
   132  func (dst *NodeStatus) XXX_Merge(src proto.Message) {
   133  	xxx_messageInfo_NodeStatus.Merge(dst, src)
   134  }
   135  func (m *NodeStatus) XXX_Size() int {
   136  	return m.Size()
   137  }
   138  func (m *NodeStatus) XXX_DiscardUnknown() {
   139  	xxx_messageInfo_NodeStatus.DiscardUnknown(m)
   140  }
   141  
   142  var xxx_messageInfo_NodeStatus proto.InternalMessageInfo
   143  
   144  type NodeStatus_NetworkActivity struct {
   145  	Incoming int64 `protobuf:"varint,1,opt,name=incoming,proto3" json:"incoming,omitempty"`
   146  	Outgoing int64 `protobuf:"varint,2,opt,name=outgoing,proto3" json:"outgoing,omitempty"`
   147  	Latency  int64 `protobuf:"varint,3,opt,name=latency,proto3" json:"latency,omitempty"`
   148  }
   149  
   150  func (m *NodeStatus_NetworkActivity) Reset()         { *m = NodeStatus_NetworkActivity{} }
   151  func (m *NodeStatus_NetworkActivity) String() string { return proto.CompactTextString(m) }
   152  func (*NodeStatus_NetworkActivity) ProtoMessage()    {}
   153  func (*NodeStatus_NetworkActivity) Descriptor() ([]byte, []int) {
   154  	return fileDescriptor_status_f9872bd1035fefcc, []int{1, 2}
   155  }
   156  func (m *NodeStatus_NetworkActivity) XXX_Unmarshal(b []byte) error {
   157  	return m.Unmarshal(b)
   158  }
   159  func (m *NodeStatus_NetworkActivity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   160  	b = b[:cap(b)]
   161  	n, err := m.MarshalTo(b)
   162  	if err != nil {
   163  		return nil, err
   164  	}
   165  	return b[:n], nil
   166  }
   167  func (dst *NodeStatus_NetworkActivity) XXX_Merge(src proto.Message) {
   168  	xxx_messageInfo_NodeStatus_NetworkActivity.Merge(dst, src)
   169  }
   170  func (m *NodeStatus_NetworkActivity) XXX_Size() int {
   171  	return m.Size()
   172  }
   173  func (m *NodeStatus_NetworkActivity) XXX_DiscardUnknown() {
   174  	xxx_messageInfo_NodeStatus_NetworkActivity.DiscardUnknown(m)
   175  }
   176  
   177  var xxx_messageInfo_NodeStatus_NetworkActivity proto.InternalMessageInfo
   178  
   179  // A HealthAlert is an undesired condition detected by a server which should be
   180  // exposed to the operators.
   181  type HealthAlert struct {
   182  	// store_id is zero for alerts not specific to a store (i.e. apply at the node level).
   183  	StoreID     github_com_cockroachdb_cockroach_pkg_roachpb.StoreID `protobuf:"varint,1,opt,name=store_id,json=storeId,proto3,customtype=github.com/cockroachdb/cockroach/pkg/roachpb.StoreID" json:"store_id"`
   184  	Category    HealthAlert_Category                                 `protobuf:"varint,2,opt,name=category,proto3,enum=cockroach.server.status.statuspb.HealthAlert_Category" json:"category,omitempty"`
   185  	Description string                                               `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
   186  	Value       float64                                              `protobuf:"fixed64,4,opt,name=value,proto3" json:"value,omitempty"`
   187  }
   188  
   189  func (m *HealthAlert) Reset()         { *m = HealthAlert{} }
   190  func (m *HealthAlert) String() string { return proto.CompactTextString(m) }
   191  func (*HealthAlert) ProtoMessage()    {}
   192  func (*HealthAlert) Descriptor() ([]byte, []int) {
   193  	return fileDescriptor_status_f9872bd1035fefcc, []int{2}
   194  }
   195  func (m *HealthAlert) XXX_Unmarshal(b []byte) error {
   196  	return m.Unmarshal(b)
   197  }
   198  func (m *HealthAlert) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   199  	b = b[:cap(b)]
   200  	n, err := m.MarshalTo(b)
   201  	if err != nil {
   202  		return nil, err
   203  	}
   204  	return b[:n], nil
   205  }
   206  func (dst *HealthAlert) XXX_Merge(src proto.Message) {
   207  	xxx_messageInfo_HealthAlert.Merge(dst, src)
   208  }
   209  func (m *HealthAlert) XXX_Size() int {
   210  	return m.Size()
   211  }
   212  func (m *HealthAlert) XXX_DiscardUnknown() {
   213  	xxx_messageInfo_HealthAlert.DiscardUnknown(m)
   214  }
   215  
   216  var xxx_messageInfo_HealthAlert proto.InternalMessageInfo
   217  
   218  // HealthCheckResult holds a number of HealthAlerts.
   219  type HealthCheckResult struct {
   220  	Alerts []HealthAlert `protobuf:"bytes,1,rep,name=alerts,proto3" json:"alerts"`
   221  }
   222  
   223  func (m *HealthCheckResult) Reset()         { *m = HealthCheckResult{} }
   224  func (m *HealthCheckResult) String() string { return proto.CompactTextString(m) }
   225  func (*HealthCheckResult) ProtoMessage()    {}
   226  func (*HealthCheckResult) Descriptor() ([]byte, []int) {
   227  	return fileDescriptor_status_f9872bd1035fefcc, []int{3}
   228  }
   229  func (m *HealthCheckResult) XXX_Unmarshal(b []byte) error {
   230  	return m.Unmarshal(b)
   231  }
   232  func (m *HealthCheckResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   233  	b = b[:cap(b)]
   234  	n, err := m.MarshalTo(b)
   235  	if err != nil {
   236  		return nil, err
   237  	}
   238  	return b[:n], nil
   239  }
   240  func (dst *HealthCheckResult) XXX_Merge(src proto.Message) {
   241  	xxx_messageInfo_HealthCheckResult.Merge(dst, src)
   242  }
   243  func (m *HealthCheckResult) XXX_Size() int {
   244  	return m.Size()
   245  }
   246  func (m *HealthCheckResult) XXX_DiscardUnknown() {
   247  	xxx_messageInfo_HealthCheckResult.DiscardUnknown(m)
   248  }
   249  
   250  var xxx_messageInfo_HealthCheckResult proto.InternalMessageInfo
   251  
   252  func init() {
   253  	proto.RegisterType((*StoreStatus)(nil), "cockroach.server.status.statuspb.StoreStatus")
   254  	proto.RegisterMapType((map[string]float64)(nil), "cockroach.server.status.statuspb.StoreStatus.MetricsEntry")
   255  	proto.RegisterType((*NodeStatus)(nil), "cockroach.server.status.statuspb.NodeStatus")
   256  	proto.RegisterMapType((map[github_com_cockroachdb_cockroach_pkg_roachpb.NodeID]NodeStatus_NetworkActivity)(nil), "cockroach.server.status.statuspb.NodeStatus.ActivityEntry")
   257  	proto.RegisterMapType((map[github_com_cockroachdb_cockroach_pkg_roachpb.NodeID]int64)(nil), "cockroach.server.status.statuspb.NodeStatus.LatenciesEntry")
   258  	proto.RegisterMapType((map[string]float64)(nil), "cockroach.server.status.statuspb.NodeStatus.MetricsEntry")
   259  	proto.RegisterType((*NodeStatus_NetworkActivity)(nil), "cockroach.server.status.statuspb.NodeStatus.NetworkActivity")
   260  	proto.RegisterType((*HealthAlert)(nil), "cockroach.server.status.statuspb.HealthAlert")
   261  	proto.RegisterType((*HealthCheckResult)(nil), "cockroach.server.status.statuspb.HealthCheckResult")
   262  	proto.RegisterEnum("cockroach.server.status.statuspb.HealthAlert_Category", HealthAlert_Category_name, HealthAlert_Category_value)
   263  }
   264  func (m *StoreStatus) Marshal() (dAtA []byte, err error) {
   265  	size := m.Size()
   266  	dAtA = make([]byte, size)
   267  	n, err := m.MarshalTo(dAtA)
   268  	if err != nil {
   269  		return nil, err
   270  	}
   271  	return dAtA[:n], nil
   272  }
   273  
   274  func (m *StoreStatus) MarshalTo(dAtA []byte) (int, error) {
   275  	var i int
   276  	_ = i
   277  	var l int
   278  	_ = l
   279  	dAtA[i] = 0xa
   280  	i++
   281  	i = encodeVarintStatus(dAtA, i, uint64(m.Desc.Size()))
   282  	n1, err := m.Desc.MarshalTo(dAtA[i:])
   283  	if err != nil {
   284  		return 0, err
   285  	}
   286  	i += n1
   287  	if len(m.Metrics) > 0 {
   288  		keysForMetrics := make([]string, 0, len(m.Metrics))
   289  		for k := range m.Metrics {
   290  			keysForMetrics = append(keysForMetrics, string(k))
   291  		}
   292  		github_com_gogo_protobuf_sortkeys.Strings(keysForMetrics)
   293  		for _, k := range keysForMetrics {
   294  			dAtA[i] = 0x12
   295  			i++
   296  			v := m.Metrics[string(k)]
   297  			mapSize := 1 + len(k) + sovStatus(uint64(len(k))) + 1 + 8
   298  			i = encodeVarintStatus(dAtA, i, uint64(mapSize))
   299  			dAtA[i] = 0xa
   300  			i++
   301  			i = encodeVarintStatus(dAtA, i, uint64(len(k)))
   302  			i += copy(dAtA[i:], k)
   303  			dAtA[i] = 0x11
   304  			i++
   305  			encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(v))))
   306  			i += 8
   307  		}
   308  	}
   309  	return i, nil
   310  }
   311  
   312  func (m *NodeStatus) Marshal() (dAtA []byte, err error) {
   313  	size := m.Size()
   314  	dAtA = make([]byte, size)
   315  	n, err := m.MarshalTo(dAtA)
   316  	if err != nil {
   317  		return nil, err
   318  	}
   319  	return dAtA[:n], nil
   320  }
   321  
   322  func (m *NodeStatus) MarshalTo(dAtA []byte) (int, error) {
   323  	var i int
   324  	_ = i
   325  	var l int
   326  	_ = l
   327  	dAtA[i] = 0xa
   328  	i++
   329  	i = encodeVarintStatus(dAtA, i, uint64(m.Desc.Size()))
   330  	n2, err := m.Desc.MarshalTo(dAtA[i:])
   331  	if err != nil {
   332  		return 0, err
   333  	}
   334  	i += n2
   335  	dAtA[i] = 0x12
   336  	i++
   337  	i = encodeVarintStatus(dAtA, i, uint64(m.BuildInfo.Size()))
   338  	n3, err := m.BuildInfo.MarshalTo(dAtA[i:])
   339  	if err != nil {
   340  		return 0, err
   341  	}
   342  	i += n3
   343  	if m.StartedAt != 0 {
   344  		dAtA[i] = 0x18
   345  		i++
   346  		i = encodeVarintStatus(dAtA, i, uint64(m.StartedAt))
   347  	}
   348  	if m.UpdatedAt != 0 {
   349  		dAtA[i] = 0x20
   350  		i++
   351  		i = encodeVarintStatus(dAtA, i, uint64(m.UpdatedAt))
   352  	}
   353  	if len(m.Metrics) > 0 {
   354  		keysForMetrics := make([]string, 0, len(m.Metrics))
   355  		for k := range m.Metrics {
   356  			keysForMetrics = append(keysForMetrics, string(k))
   357  		}
   358  		github_com_gogo_protobuf_sortkeys.Strings(keysForMetrics)
   359  		for _, k := range keysForMetrics {
   360  			dAtA[i] = 0x2a
   361  			i++
   362  			v := m.Metrics[string(k)]
   363  			mapSize := 1 + len(k) + sovStatus(uint64(len(k))) + 1 + 8
   364  			i = encodeVarintStatus(dAtA, i, uint64(mapSize))
   365  			dAtA[i] = 0xa
   366  			i++
   367  			i = encodeVarintStatus(dAtA, i, uint64(len(k)))
   368  			i += copy(dAtA[i:], k)
   369  			dAtA[i] = 0x11
   370  			i++
   371  			encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(v))))
   372  			i += 8
   373  		}
   374  	}
   375  	if len(m.StoreStatuses) > 0 {
   376  		for _, msg := range m.StoreStatuses {
   377  			dAtA[i] = 0x32
   378  			i++
   379  			i = encodeVarintStatus(dAtA, i, uint64(msg.Size()))
   380  			n, err := msg.MarshalTo(dAtA[i:])
   381  			if err != nil {
   382  				return 0, err
   383  			}
   384  			i += n
   385  		}
   386  	}
   387  	if len(m.Args) > 0 {
   388  		for _, s := range m.Args {
   389  			dAtA[i] = 0x3a
   390  			i++
   391  			l = len(s)
   392  			for l >= 1<<7 {
   393  				dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
   394  				l >>= 7
   395  				i++
   396  			}
   397  			dAtA[i] = uint8(l)
   398  			i++
   399  			i += copy(dAtA[i:], s)
   400  		}
   401  	}
   402  	if len(m.Env) > 0 {
   403  		for _, s := range m.Env {
   404  			dAtA[i] = 0x42
   405  			i++
   406  			l = len(s)
   407  			for l >= 1<<7 {
   408  				dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
   409  				l >>= 7
   410  				i++
   411  			}
   412  			dAtA[i] = uint8(l)
   413  			i++
   414  			i += copy(dAtA[i:], s)
   415  		}
   416  	}
   417  	if len(m.Latencies) > 0 {
   418  		keysForLatencies := make([]int32, 0, len(m.Latencies))
   419  		for k := range m.Latencies {
   420  			keysForLatencies = append(keysForLatencies, int32(k))
   421  		}
   422  		github_com_gogo_protobuf_sortkeys.Int32s(keysForLatencies)
   423  		for _, k := range keysForLatencies {
   424  			dAtA[i] = 0x4a
   425  			i++
   426  			v := m.Latencies[github_com_cockroachdb_cockroach_pkg_roachpb.NodeID(k)]
   427  			mapSize := 1 + sovStatus(uint64(k)) + 1 + sovStatus(uint64(v))
   428  			i = encodeVarintStatus(dAtA, i, uint64(mapSize))
   429  			dAtA[i] = 0x8
   430  			i++
   431  			i = encodeVarintStatus(dAtA, i, uint64(k))
   432  			dAtA[i] = 0x10
   433  			i++
   434  			i = encodeVarintStatus(dAtA, i, uint64(v))
   435  		}
   436  	}
   437  	if len(m.Activity) > 0 {
   438  		keysForActivity := make([]int32, 0, len(m.Activity))
   439  		for k := range m.Activity {
   440  			keysForActivity = append(keysForActivity, int32(k))
   441  		}
   442  		github_com_gogo_protobuf_sortkeys.Int32s(keysForActivity)
   443  		for _, k := range keysForActivity {
   444  			dAtA[i] = 0x52
   445  			i++
   446  			v := m.Activity[github_com_cockroachdb_cockroach_pkg_roachpb.NodeID(k)]
   447  			msgSize := 0
   448  			if (&v) != nil {
   449  				msgSize = (&v).Size()
   450  				msgSize += 1 + sovStatus(uint64(msgSize))
   451  			}
   452  			mapSize := 1 + sovStatus(uint64(k)) + msgSize
   453  			i = encodeVarintStatus(dAtA, i, uint64(mapSize))
   454  			dAtA[i] = 0x8
   455  			i++
   456  			i = encodeVarintStatus(dAtA, i, uint64(k))
   457  			dAtA[i] = 0x12
   458  			i++
   459  			i = encodeVarintStatus(dAtA, i, uint64((&v).Size()))
   460  			n4, err := (&v).MarshalTo(dAtA[i:])
   461  			if err != nil {
   462  				return 0, err
   463  			}
   464  			i += n4
   465  		}
   466  	}
   467  	if m.TotalSystemMemory != 0 {
   468  		dAtA[i] = 0x58
   469  		i++
   470  		i = encodeVarintStatus(dAtA, i, uint64(m.TotalSystemMemory))
   471  	}
   472  	if m.NumCpus != 0 {
   473  		dAtA[i] = 0x60
   474  		i++
   475  		i = encodeVarintStatus(dAtA, i, uint64(m.NumCpus))
   476  	}
   477  	return i, nil
   478  }
   479  
   480  func (m *NodeStatus_NetworkActivity) Marshal() (dAtA []byte, err error) {
   481  	size := m.Size()
   482  	dAtA = make([]byte, size)
   483  	n, err := m.MarshalTo(dAtA)
   484  	if err != nil {
   485  		return nil, err
   486  	}
   487  	return dAtA[:n], nil
   488  }
   489  
   490  func (m *NodeStatus_NetworkActivity) MarshalTo(dAtA []byte) (int, error) {
   491  	var i int
   492  	_ = i
   493  	var l int
   494  	_ = l
   495  	if m.Incoming != 0 {
   496  		dAtA[i] = 0x8
   497  		i++
   498  		i = encodeVarintStatus(dAtA, i, uint64(m.Incoming))
   499  	}
   500  	if m.Outgoing != 0 {
   501  		dAtA[i] = 0x10
   502  		i++
   503  		i = encodeVarintStatus(dAtA, i, uint64(m.Outgoing))
   504  	}
   505  	if m.Latency != 0 {
   506  		dAtA[i] = 0x18
   507  		i++
   508  		i = encodeVarintStatus(dAtA, i, uint64(m.Latency))
   509  	}
   510  	return i, nil
   511  }
   512  
   513  func (m *HealthAlert) Marshal() (dAtA []byte, err error) {
   514  	size := m.Size()
   515  	dAtA = make([]byte, size)
   516  	n, err := m.MarshalTo(dAtA)
   517  	if err != nil {
   518  		return nil, err
   519  	}
   520  	return dAtA[:n], nil
   521  }
   522  
   523  func (m *HealthAlert) MarshalTo(dAtA []byte) (int, error) {
   524  	var i int
   525  	_ = i
   526  	var l int
   527  	_ = l
   528  	if m.StoreID != 0 {
   529  		dAtA[i] = 0x8
   530  		i++
   531  		i = encodeVarintStatus(dAtA, i, uint64(m.StoreID))
   532  	}
   533  	if m.Category != 0 {
   534  		dAtA[i] = 0x10
   535  		i++
   536  		i = encodeVarintStatus(dAtA, i, uint64(m.Category))
   537  	}
   538  	if len(m.Description) > 0 {
   539  		dAtA[i] = 0x1a
   540  		i++
   541  		i = encodeVarintStatus(dAtA, i, uint64(len(m.Description)))
   542  		i += copy(dAtA[i:], m.Description)
   543  	}
   544  	if m.Value != 0 {
   545  		dAtA[i] = 0x21
   546  		i++
   547  		encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Value))))
   548  		i += 8
   549  	}
   550  	return i, nil
   551  }
   552  
   553  func (m *HealthCheckResult) Marshal() (dAtA []byte, err error) {
   554  	size := m.Size()
   555  	dAtA = make([]byte, size)
   556  	n, err := m.MarshalTo(dAtA)
   557  	if err != nil {
   558  		return nil, err
   559  	}
   560  	return dAtA[:n], nil
   561  }
   562  
   563  func (m *HealthCheckResult) MarshalTo(dAtA []byte) (int, error) {
   564  	var i int
   565  	_ = i
   566  	var l int
   567  	_ = l
   568  	if len(m.Alerts) > 0 {
   569  		for _, msg := range m.Alerts {
   570  			dAtA[i] = 0xa
   571  			i++
   572  			i = encodeVarintStatus(dAtA, i, uint64(msg.Size()))
   573  			n, err := msg.MarshalTo(dAtA[i:])
   574  			if err != nil {
   575  				return 0, err
   576  			}
   577  			i += n
   578  		}
   579  	}
   580  	return i, nil
   581  }
   582  
   583  func encodeVarintStatus(dAtA []byte, offset int, v uint64) int {
   584  	for v >= 1<<7 {
   585  		dAtA[offset] = uint8(v&0x7f | 0x80)
   586  		v >>= 7
   587  		offset++
   588  	}
   589  	dAtA[offset] = uint8(v)
   590  	return offset + 1
   591  }
   592  func (m *StoreStatus) Size() (n int) {
   593  	if m == nil {
   594  		return 0
   595  	}
   596  	var l int
   597  	_ = l
   598  	l = m.Desc.Size()
   599  	n += 1 + l + sovStatus(uint64(l))
   600  	if len(m.Metrics) > 0 {
   601  		for k, v := range m.Metrics {
   602  			_ = k
   603  			_ = v
   604  			mapEntrySize := 1 + len(k) + sovStatus(uint64(len(k))) + 1 + 8
   605  			n += mapEntrySize + 1 + sovStatus(uint64(mapEntrySize))
   606  		}
   607  	}
   608  	return n
   609  }
   610  
   611  func (m *NodeStatus) Size() (n int) {
   612  	if m == nil {
   613  		return 0
   614  	}
   615  	var l int
   616  	_ = l
   617  	l = m.Desc.Size()
   618  	n += 1 + l + sovStatus(uint64(l))
   619  	l = m.BuildInfo.Size()
   620  	n += 1 + l + sovStatus(uint64(l))
   621  	if m.StartedAt != 0 {
   622  		n += 1 + sovStatus(uint64(m.StartedAt))
   623  	}
   624  	if m.UpdatedAt != 0 {
   625  		n += 1 + sovStatus(uint64(m.UpdatedAt))
   626  	}
   627  	if len(m.Metrics) > 0 {
   628  		for k, v := range m.Metrics {
   629  			_ = k
   630  			_ = v
   631  			mapEntrySize := 1 + len(k) + sovStatus(uint64(len(k))) + 1 + 8
   632  			n += mapEntrySize + 1 + sovStatus(uint64(mapEntrySize))
   633  		}
   634  	}
   635  	if len(m.StoreStatuses) > 0 {
   636  		for _, e := range m.StoreStatuses {
   637  			l = e.Size()
   638  			n += 1 + l + sovStatus(uint64(l))
   639  		}
   640  	}
   641  	if len(m.Args) > 0 {
   642  		for _, s := range m.Args {
   643  			l = len(s)
   644  			n += 1 + l + sovStatus(uint64(l))
   645  		}
   646  	}
   647  	if len(m.Env) > 0 {
   648  		for _, s := range m.Env {
   649  			l = len(s)
   650  			n += 1 + l + sovStatus(uint64(l))
   651  		}
   652  	}
   653  	if len(m.Latencies) > 0 {
   654  		for k, v := range m.Latencies {
   655  			_ = k
   656  			_ = v
   657  			mapEntrySize := 1 + sovStatus(uint64(k)) + 1 + sovStatus(uint64(v))
   658  			n += mapEntrySize + 1 + sovStatus(uint64(mapEntrySize))
   659  		}
   660  	}
   661  	if len(m.Activity) > 0 {
   662  		for k, v := range m.Activity {
   663  			_ = k
   664  			_ = v
   665  			l = v.Size()
   666  			mapEntrySize := 1 + sovStatus(uint64(k)) + 1 + l + sovStatus(uint64(l))
   667  			n += mapEntrySize + 1 + sovStatus(uint64(mapEntrySize))
   668  		}
   669  	}
   670  	if m.TotalSystemMemory != 0 {
   671  		n += 1 + sovStatus(uint64(m.TotalSystemMemory))
   672  	}
   673  	if m.NumCpus != 0 {
   674  		n += 1 + sovStatus(uint64(m.NumCpus))
   675  	}
   676  	return n
   677  }
   678  
   679  func (m *NodeStatus_NetworkActivity) Size() (n int) {
   680  	if m == nil {
   681  		return 0
   682  	}
   683  	var l int
   684  	_ = l
   685  	if m.Incoming != 0 {
   686  		n += 1 + sovStatus(uint64(m.Incoming))
   687  	}
   688  	if m.Outgoing != 0 {
   689  		n += 1 + sovStatus(uint64(m.Outgoing))
   690  	}
   691  	if m.Latency != 0 {
   692  		n += 1 + sovStatus(uint64(m.Latency))
   693  	}
   694  	return n
   695  }
   696  
   697  func (m *HealthAlert) Size() (n int) {
   698  	if m == nil {
   699  		return 0
   700  	}
   701  	var l int
   702  	_ = l
   703  	if m.StoreID != 0 {
   704  		n += 1 + sovStatus(uint64(m.StoreID))
   705  	}
   706  	if m.Category != 0 {
   707  		n += 1 + sovStatus(uint64(m.Category))
   708  	}
   709  	l = len(m.Description)
   710  	if l > 0 {
   711  		n += 1 + l + sovStatus(uint64(l))
   712  	}
   713  	if m.Value != 0 {
   714  		n += 9
   715  	}
   716  	return n
   717  }
   718  
   719  func (m *HealthCheckResult) Size() (n int) {
   720  	if m == nil {
   721  		return 0
   722  	}
   723  	var l int
   724  	_ = l
   725  	if len(m.Alerts) > 0 {
   726  		for _, e := range m.Alerts {
   727  			l = e.Size()
   728  			n += 1 + l + sovStatus(uint64(l))
   729  		}
   730  	}
   731  	return n
   732  }
   733  
   734  func sovStatus(x uint64) (n int) {
   735  	for {
   736  		n++
   737  		x >>= 7
   738  		if x == 0 {
   739  			break
   740  		}
   741  	}
   742  	return n
   743  }
   744  func sozStatus(x uint64) (n int) {
   745  	return sovStatus(uint64((x << 1) ^ uint64((int64(x) >> 63))))
   746  }
   747  func (m *StoreStatus) Unmarshal(dAtA []byte) error {
   748  	l := len(dAtA)
   749  	iNdEx := 0
   750  	for iNdEx < l {
   751  		preIndex := iNdEx
   752  		var wire uint64
   753  		for shift := uint(0); ; shift += 7 {
   754  			if shift >= 64 {
   755  				return ErrIntOverflowStatus
   756  			}
   757  			if iNdEx >= l {
   758  				return io.ErrUnexpectedEOF
   759  			}
   760  			b := dAtA[iNdEx]
   761  			iNdEx++
   762  			wire |= (uint64(b) & 0x7F) << shift
   763  			if b < 0x80 {
   764  				break
   765  			}
   766  		}
   767  		fieldNum := int32(wire >> 3)
   768  		wireType := int(wire & 0x7)
   769  		if wireType == 4 {
   770  			return fmt.Errorf("proto: StoreStatus: wiretype end group for non-group")
   771  		}
   772  		if fieldNum <= 0 {
   773  			return fmt.Errorf("proto: StoreStatus: illegal tag %d (wire type %d)", fieldNum, wire)
   774  		}
   775  		switch fieldNum {
   776  		case 1:
   777  			if wireType != 2 {
   778  				return fmt.Errorf("proto: wrong wireType = %d for field Desc", wireType)
   779  			}
   780  			var msglen int
   781  			for shift := uint(0); ; shift += 7 {
   782  				if shift >= 64 {
   783  					return ErrIntOverflowStatus
   784  				}
   785  				if iNdEx >= l {
   786  					return io.ErrUnexpectedEOF
   787  				}
   788  				b := dAtA[iNdEx]
   789  				iNdEx++
   790  				msglen |= (int(b) & 0x7F) << shift
   791  				if b < 0x80 {
   792  					break
   793  				}
   794  			}
   795  			if msglen < 0 {
   796  				return ErrInvalidLengthStatus
   797  			}
   798  			postIndex := iNdEx + msglen
   799  			if postIndex > l {
   800  				return io.ErrUnexpectedEOF
   801  			}
   802  			if err := m.Desc.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
   803  				return err
   804  			}
   805  			iNdEx = postIndex
   806  		case 2:
   807  			if wireType != 2 {
   808  				return fmt.Errorf("proto: wrong wireType = %d for field Metrics", wireType)
   809  			}
   810  			var msglen int
   811  			for shift := uint(0); ; shift += 7 {
   812  				if shift >= 64 {
   813  					return ErrIntOverflowStatus
   814  				}
   815  				if iNdEx >= l {
   816  					return io.ErrUnexpectedEOF
   817  				}
   818  				b := dAtA[iNdEx]
   819  				iNdEx++
   820  				msglen |= (int(b) & 0x7F) << shift
   821  				if b < 0x80 {
   822  					break
   823  				}
   824  			}
   825  			if msglen < 0 {
   826  				return ErrInvalidLengthStatus
   827  			}
   828  			postIndex := iNdEx + msglen
   829  			if postIndex > l {
   830  				return io.ErrUnexpectedEOF
   831  			}
   832  			if m.Metrics == nil {
   833  				m.Metrics = make(map[string]float64)
   834  			}
   835  			var mapkey string
   836  			var mapvalue float64
   837  			for iNdEx < postIndex {
   838  				entryPreIndex := iNdEx
   839  				var wire uint64
   840  				for shift := uint(0); ; shift += 7 {
   841  					if shift >= 64 {
   842  						return ErrIntOverflowStatus
   843  					}
   844  					if iNdEx >= l {
   845  						return io.ErrUnexpectedEOF
   846  					}
   847  					b := dAtA[iNdEx]
   848  					iNdEx++
   849  					wire |= (uint64(b) & 0x7F) << shift
   850  					if b < 0x80 {
   851  						break
   852  					}
   853  				}
   854  				fieldNum := int32(wire >> 3)
   855  				if fieldNum == 1 {
   856  					var stringLenmapkey uint64
   857  					for shift := uint(0); ; shift += 7 {
   858  						if shift >= 64 {
   859  							return ErrIntOverflowStatus
   860  						}
   861  						if iNdEx >= l {
   862  							return io.ErrUnexpectedEOF
   863  						}
   864  						b := dAtA[iNdEx]
   865  						iNdEx++
   866  						stringLenmapkey |= (uint64(b) & 0x7F) << shift
   867  						if b < 0x80 {
   868  							break
   869  						}
   870  					}
   871  					intStringLenmapkey := int(stringLenmapkey)
   872  					if intStringLenmapkey < 0 {
   873  						return ErrInvalidLengthStatus
   874  					}
   875  					postStringIndexmapkey := iNdEx + intStringLenmapkey
   876  					if postStringIndexmapkey > l {
   877  						return io.ErrUnexpectedEOF
   878  					}
   879  					mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
   880  					iNdEx = postStringIndexmapkey
   881  				} else if fieldNum == 2 {
   882  					var mapvaluetemp uint64
   883  					if (iNdEx + 8) > l {
   884  						return io.ErrUnexpectedEOF
   885  					}
   886  					mapvaluetemp = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:]))
   887  					iNdEx += 8
   888  					mapvalue = math.Float64frombits(mapvaluetemp)
   889  				} else {
   890  					iNdEx = entryPreIndex
   891  					skippy, err := skipStatus(dAtA[iNdEx:])
   892  					if err != nil {
   893  						return err
   894  					}
   895  					if skippy < 0 {
   896  						return ErrInvalidLengthStatus
   897  					}
   898  					if (iNdEx + skippy) > postIndex {
   899  						return io.ErrUnexpectedEOF
   900  					}
   901  					iNdEx += skippy
   902  				}
   903  			}
   904  			m.Metrics[mapkey] = mapvalue
   905  			iNdEx = postIndex
   906  		default:
   907  			iNdEx = preIndex
   908  			skippy, err := skipStatus(dAtA[iNdEx:])
   909  			if err != nil {
   910  				return err
   911  			}
   912  			if skippy < 0 {
   913  				return ErrInvalidLengthStatus
   914  			}
   915  			if (iNdEx + skippy) > l {
   916  				return io.ErrUnexpectedEOF
   917  			}
   918  			iNdEx += skippy
   919  		}
   920  	}
   921  
   922  	if iNdEx > l {
   923  		return io.ErrUnexpectedEOF
   924  	}
   925  	return nil
   926  }
   927  func (m *NodeStatus) Unmarshal(dAtA []byte) error {
   928  	l := len(dAtA)
   929  	iNdEx := 0
   930  	for iNdEx < l {
   931  		preIndex := iNdEx
   932  		var wire uint64
   933  		for shift := uint(0); ; shift += 7 {
   934  			if shift >= 64 {
   935  				return ErrIntOverflowStatus
   936  			}
   937  			if iNdEx >= l {
   938  				return io.ErrUnexpectedEOF
   939  			}
   940  			b := dAtA[iNdEx]
   941  			iNdEx++
   942  			wire |= (uint64(b) & 0x7F) << shift
   943  			if b < 0x80 {
   944  				break
   945  			}
   946  		}
   947  		fieldNum := int32(wire >> 3)
   948  		wireType := int(wire & 0x7)
   949  		if wireType == 4 {
   950  			return fmt.Errorf("proto: NodeStatus: wiretype end group for non-group")
   951  		}
   952  		if fieldNum <= 0 {
   953  			return fmt.Errorf("proto: NodeStatus: illegal tag %d (wire type %d)", fieldNum, wire)
   954  		}
   955  		switch fieldNum {
   956  		case 1:
   957  			if wireType != 2 {
   958  				return fmt.Errorf("proto: wrong wireType = %d for field Desc", wireType)
   959  			}
   960  			var msglen int
   961  			for shift := uint(0); ; shift += 7 {
   962  				if shift >= 64 {
   963  					return ErrIntOverflowStatus
   964  				}
   965  				if iNdEx >= l {
   966  					return io.ErrUnexpectedEOF
   967  				}
   968  				b := dAtA[iNdEx]
   969  				iNdEx++
   970  				msglen |= (int(b) & 0x7F) << shift
   971  				if b < 0x80 {
   972  					break
   973  				}
   974  			}
   975  			if msglen < 0 {
   976  				return ErrInvalidLengthStatus
   977  			}
   978  			postIndex := iNdEx + msglen
   979  			if postIndex > l {
   980  				return io.ErrUnexpectedEOF
   981  			}
   982  			if err := m.Desc.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
   983  				return err
   984  			}
   985  			iNdEx = postIndex
   986  		case 2:
   987  			if wireType != 2 {
   988  				return fmt.Errorf("proto: wrong wireType = %d for field BuildInfo", wireType)
   989  			}
   990  			var msglen int
   991  			for shift := uint(0); ; shift += 7 {
   992  				if shift >= 64 {
   993  					return ErrIntOverflowStatus
   994  				}
   995  				if iNdEx >= l {
   996  					return io.ErrUnexpectedEOF
   997  				}
   998  				b := dAtA[iNdEx]
   999  				iNdEx++
  1000  				msglen |= (int(b) & 0x7F) << shift
  1001  				if b < 0x80 {
  1002  					break
  1003  				}
  1004  			}
  1005  			if msglen < 0 {
  1006  				return ErrInvalidLengthStatus
  1007  			}
  1008  			postIndex := iNdEx + msglen
  1009  			if postIndex > l {
  1010  				return io.ErrUnexpectedEOF
  1011  			}
  1012  			if err := m.BuildInfo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  1013  				return err
  1014  			}
  1015  			iNdEx = postIndex
  1016  		case 3:
  1017  			if wireType != 0 {
  1018  				return fmt.Errorf("proto: wrong wireType = %d for field StartedAt", wireType)
  1019  			}
  1020  			m.StartedAt = 0
  1021  			for shift := uint(0); ; shift += 7 {
  1022  				if shift >= 64 {
  1023  					return ErrIntOverflowStatus
  1024  				}
  1025  				if iNdEx >= l {
  1026  					return io.ErrUnexpectedEOF
  1027  				}
  1028  				b := dAtA[iNdEx]
  1029  				iNdEx++
  1030  				m.StartedAt |= (int64(b) & 0x7F) << shift
  1031  				if b < 0x80 {
  1032  					break
  1033  				}
  1034  			}
  1035  		case 4:
  1036  			if wireType != 0 {
  1037  				return fmt.Errorf("proto: wrong wireType = %d for field UpdatedAt", wireType)
  1038  			}
  1039  			m.UpdatedAt = 0
  1040  			for shift := uint(0); ; shift += 7 {
  1041  				if shift >= 64 {
  1042  					return ErrIntOverflowStatus
  1043  				}
  1044  				if iNdEx >= l {
  1045  					return io.ErrUnexpectedEOF
  1046  				}
  1047  				b := dAtA[iNdEx]
  1048  				iNdEx++
  1049  				m.UpdatedAt |= (int64(b) & 0x7F) << shift
  1050  				if b < 0x80 {
  1051  					break
  1052  				}
  1053  			}
  1054  		case 5:
  1055  			if wireType != 2 {
  1056  				return fmt.Errorf("proto: wrong wireType = %d for field Metrics", wireType)
  1057  			}
  1058  			var msglen int
  1059  			for shift := uint(0); ; shift += 7 {
  1060  				if shift >= 64 {
  1061  					return ErrIntOverflowStatus
  1062  				}
  1063  				if iNdEx >= l {
  1064  					return io.ErrUnexpectedEOF
  1065  				}
  1066  				b := dAtA[iNdEx]
  1067  				iNdEx++
  1068  				msglen |= (int(b) & 0x7F) << shift
  1069  				if b < 0x80 {
  1070  					break
  1071  				}
  1072  			}
  1073  			if msglen < 0 {
  1074  				return ErrInvalidLengthStatus
  1075  			}
  1076  			postIndex := iNdEx + msglen
  1077  			if postIndex > l {
  1078  				return io.ErrUnexpectedEOF
  1079  			}
  1080  			if m.Metrics == nil {
  1081  				m.Metrics = make(map[string]float64)
  1082  			}
  1083  			var mapkey string
  1084  			var mapvalue float64
  1085  			for iNdEx < postIndex {
  1086  				entryPreIndex := iNdEx
  1087  				var wire uint64
  1088  				for shift := uint(0); ; shift += 7 {
  1089  					if shift >= 64 {
  1090  						return ErrIntOverflowStatus
  1091  					}
  1092  					if iNdEx >= l {
  1093  						return io.ErrUnexpectedEOF
  1094  					}
  1095  					b := dAtA[iNdEx]
  1096  					iNdEx++
  1097  					wire |= (uint64(b) & 0x7F) << shift
  1098  					if b < 0x80 {
  1099  						break
  1100  					}
  1101  				}
  1102  				fieldNum := int32(wire >> 3)
  1103  				if fieldNum == 1 {
  1104  					var stringLenmapkey uint64
  1105  					for shift := uint(0); ; shift += 7 {
  1106  						if shift >= 64 {
  1107  							return ErrIntOverflowStatus
  1108  						}
  1109  						if iNdEx >= l {
  1110  							return io.ErrUnexpectedEOF
  1111  						}
  1112  						b := dAtA[iNdEx]
  1113  						iNdEx++
  1114  						stringLenmapkey |= (uint64(b) & 0x7F) << shift
  1115  						if b < 0x80 {
  1116  							break
  1117  						}
  1118  					}
  1119  					intStringLenmapkey := int(stringLenmapkey)
  1120  					if intStringLenmapkey < 0 {
  1121  						return ErrInvalidLengthStatus
  1122  					}
  1123  					postStringIndexmapkey := iNdEx + intStringLenmapkey
  1124  					if postStringIndexmapkey > l {
  1125  						return io.ErrUnexpectedEOF
  1126  					}
  1127  					mapkey = string(dAtA[iNdEx:postStringIndexmapkey])
  1128  					iNdEx = postStringIndexmapkey
  1129  				} else if fieldNum == 2 {
  1130  					var mapvaluetemp uint64
  1131  					if (iNdEx + 8) > l {
  1132  						return io.ErrUnexpectedEOF
  1133  					}
  1134  					mapvaluetemp = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:]))
  1135  					iNdEx += 8
  1136  					mapvalue = math.Float64frombits(mapvaluetemp)
  1137  				} else {
  1138  					iNdEx = entryPreIndex
  1139  					skippy, err := skipStatus(dAtA[iNdEx:])
  1140  					if err != nil {
  1141  						return err
  1142  					}
  1143  					if skippy < 0 {
  1144  						return ErrInvalidLengthStatus
  1145  					}
  1146  					if (iNdEx + skippy) > postIndex {
  1147  						return io.ErrUnexpectedEOF
  1148  					}
  1149  					iNdEx += skippy
  1150  				}
  1151  			}
  1152  			m.Metrics[mapkey] = mapvalue
  1153  			iNdEx = postIndex
  1154  		case 6:
  1155  			if wireType != 2 {
  1156  				return fmt.Errorf("proto: wrong wireType = %d for field StoreStatuses", wireType)
  1157  			}
  1158  			var msglen int
  1159  			for shift := uint(0); ; shift += 7 {
  1160  				if shift >= 64 {
  1161  					return ErrIntOverflowStatus
  1162  				}
  1163  				if iNdEx >= l {
  1164  					return io.ErrUnexpectedEOF
  1165  				}
  1166  				b := dAtA[iNdEx]
  1167  				iNdEx++
  1168  				msglen |= (int(b) & 0x7F) << shift
  1169  				if b < 0x80 {
  1170  					break
  1171  				}
  1172  			}
  1173  			if msglen < 0 {
  1174  				return ErrInvalidLengthStatus
  1175  			}
  1176  			postIndex := iNdEx + msglen
  1177  			if postIndex > l {
  1178  				return io.ErrUnexpectedEOF
  1179  			}
  1180  			m.StoreStatuses = append(m.StoreStatuses, StoreStatus{})
  1181  			if err := m.StoreStatuses[len(m.StoreStatuses)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  1182  				return err
  1183  			}
  1184  			iNdEx = postIndex
  1185  		case 7:
  1186  			if wireType != 2 {
  1187  				return fmt.Errorf("proto: wrong wireType = %d for field Args", wireType)
  1188  			}
  1189  			var stringLen uint64
  1190  			for shift := uint(0); ; shift += 7 {
  1191  				if shift >= 64 {
  1192  					return ErrIntOverflowStatus
  1193  				}
  1194  				if iNdEx >= l {
  1195  					return io.ErrUnexpectedEOF
  1196  				}
  1197  				b := dAtA[iNdEx]
  1198  				iNdEx++
  1199  				stringLen |= (uint64(b) & 0x7F) << shift
  1200  				if b < 0x80 {
  1201  					break
  1202  				}
  1203  			}
  1204  			intStringLen := int(stringLen)
  1205  			if intStringLen < 0 {
  1206  				return ErrInvalidLengthStatus
  1207  			}
  1208  			postIndex := iNdEx + intStringLen
  1209  			if postIndex > l {
  1210  				return io.ErrUnexpectedEOF
  1211  			}
  1212  			m.Args = append(m.Args, string(dAtA[iNdEx:postIndex]))
  1213  			iNdEx = postIndex
  1214  		case 8:
  1215  			if wireType != 2 {
  1216  				return fmt.Errorf("proto: wrong wireType = %d for field Env", wireType)
  1217  			}
  1218  			var stringLen uint64
  1219  			for shift := uint(0); ; shift += 7 {
  1220  				if shift >= 64 {
  1221  					return ErrIntOverflowStatus
  1222  				}
  1223  				if iNdEx >= l {
  1224  					return io.ErrUnexpectedEOF
  1225  				}
  1226  				b := dAtA[iNdEx]
  1227  				iNdEx++
  1228  				stringLen |= (uint64(b) & 0x7F) << shift
  1229  				if b < 0x80 {
  1230  					break
  1231  				}
  1232  			}
  1233  			intStringLen := int(stringLen)
  1234  			if intStringLen < 0 {
  1235  				return ErrInvalidLengthStatus
  1236  			}
  1237  			postIndex := iNdEx + intStringLen
  1238  			if postIndex > l {
  1239  				return io.ErrUnexpectedEOF
  1240  			}
  1241  			m.Env = append(m.Env, string(dAtA[iNdEx:postIndex]))
  1242  			iNdEx = postIndex
  1243  		case 9:
  1244  			if wireType != 2 {
  1245  				return fmt.Errorf("proto: wrong wireType = %d for field Latencies", wireType)
  1246  			}
  1247  			var msglen int
  1248  			for shift := uint(0); ; shift += 7 {
  1249  				if shift >= 64 {
  1250  					return ErrIntOverflowStatus
  1251  				}
  1252  				if iNdEx >= l {
  1253  					return io.ErrUnexpectedEOF
  1254  				}
  1255  				b := dAtA[iNdEx]
  1256  				iNdEx++
  1257  				msglen |= (int(b) & 0x7F) << shift
  1258  				if b < 0x80 {
  1259  					break
  1260  				}
  1261  			}
  1262  			if msglen < 0 {
  1263  				return ErrInvalidLengthStatus
  1264  			}
  1265  			postIndex := iNdEx + msglen
  1266  			if postIndex > l {
  1267  				return io.ErrUnexpectedEOF
  1268  			}
  1269  			if m.Latencies == nil {
  1270  				m.Latencies = make(map[github_com_cockroachdb_cockroach_pkg_roachpb.NodeID]int64)
  1271  			}
  1272  			var mapkey int32
  1273  			var mapvalue int64
  1274  			for iNdEx < postIndex {
  1275  				entryPreIndex := iNdEx
  1276  				var wire uint64
  1277  				for shift := uint(0); ; shift += 7 {
  1278  					if shift >= 64 {
  1279  						return ErrIntOverflowStatus
  1280  					}
  1281  					if iNdEx >= l {
  1282  						return io.ErrUnexpectedEOF
  1283  					}
  1284  					b := dAtA[iNdEx]
  1285  					iNdEx++
  1286  					wire |= (uint64(b) & 0x7F) << shift
  1287  					if b < 0x80 {
  1288  						break
  1289  					}
  1290  				}
  1291  				fieldNum := int32(wire >> 3)
  1292  				if fieldNum == 1 {
  1293  					for shift := uint(0); ; shift += 7 {
  1294  						if shift >= 64 {
  1295  							return ErrIntOverflowStatus
  1296  						}
  1297  						if iNdEx >= l {
  1298  							return io.ErrUnexpectedEOF
  1299  						}
  1300  						b := dAtA[iNdEx]
  1301  						iNdEx++
  1302  						mapkey |= (int32(b) & 0x7F) << shift
  1303  						if b < 0x80 {
  1304  							break
  1305  						}
  1306  					}
  1307  				} else if fieldNum == 2 {
  1308  					for shift := uint(0); ; shift += 7 {
  1309  						if shift >= 64 {
  1310  							return ErrIntOverflowStatus
  1311  						}
  1312  						if iNdEx >= l {
  1313  							return io.ErrUnexpectedEOF
  1314  						}
  1315  						b := dAtA[iNdEx]
  1316  						iNdEx++
  1317  						mapvalue |= (int64(b) & 0x7F) << shift
  1318  						if b < 0x80 {
  1319  							break
  1320  						}
  1321  					}
  1322  				} else {
  1323  					iNdEx = entryPreIndex
  1324  					skippy, err := skipStatus(dAtA[iNdEx:])
  1325  					if err != nil {
  1326  						return err
  1327  					}
  1328  					if skippy < 0 {
  1329  						return ErrInvalidLengthStatus
  1330  					}
  1331  					if (iNdEx + skippy) > postIndex {
  1332  						return io.ErrUnexpectedEOF
  1333  					}
  1334  					iNdEx += skippy
  1335  				}
  1336  			}
  1337  			m.Latencies[github_com_cockroachdb_cockroach_pkg_roachpb.NodeID(mapkey)] = mapvalue
  1338  			iNdEx = postIndex
  1339  		case 10:
  1340  			if wireType != 2 {
  1341  				return fmt.Errorf("proto: wrong wireType = %d for field Activity", wireType)
  1342  			}
  1343  			var msglen int
  1344  			for shift := uint(0); ; shift += 7 {
  1345  				if shift >= 64 {
  1346  					return ErrIntOverflowStatus
  1347  				}
  1348  				if iNdEx >= l {
  1349  					return io.ErrUnexpectedEOF
  1350  				}
  1351  				b := dAtA[iNdEx]
  1352  				iNdEx++
  1353  				msglen |= (int(b) & 0x7F) << shift
  1354  				if b < 0x80 {
  1355  					break
  1356  				}
  1357  			}
  1358  			if msglen < 0 {
  1359  				return ErrInvalidLengthStatus
  1360  			}
  1361  			postIndex := iNdEx + msglen
  1362  			if postIndex > l {
  1363  				return io.ErrUnexpectedEOF
  1364  			}
  1365  			if m.Activity == nil {
  1366  				m.Activity = make(map[github_com_cockroachdb_cockroach_pkg_roachpb.NodeID]NodeStatus_NetworkActivity)
  1367  			}
  1368  			var mapkey int32
  1369  			mapvalue := &NodeStatus_NetworkActivity{}
  1370  			for iNdEx < postIndex {
  1371  				entryPreIndex := iNdEx
  1372  				var wire uint64
  1373  				for shift := uint(0); ; shift += 7 {
  1374  					if shift >= 64 {
  1375  						return ErrIntOverflowStatus
  1376  					}
  1377  					if iNdEx >= l {
  1378  						return io.ErrUnexpectedEOF
  1379  					}
  1380  					b := dAtA[iNdEx]
  1381  					iNdEx++
  1382  					wire |= (uint64(b) & 0x7F) << shift
  1383  					if b < 0x80 {
  1384  						break
  1385  					}
  1386  				}
  1387  				fieldNum := int32(wire >> 3)
  1388  				if fieldNum == 1 {
  1389  					for shift := uint(0); ; shift += 7 {
  1390  						if shift >= 64 {
  1391  							return ErrIntOverflowStatus
  1392  						}
  1393  						if iNdEx >= l {
  1394  							return io.ErrUnexpectedEOF
  1395  						}
  1396  						b := dAtA[iNdEx]
  1397  						iNdEx++
  1398  						mapkey |= (int32(b) & 0x7F) << shift
  1399  						if b < 0x80 {
  1400  							break
  1401  						}
  1402  					}
  1403  				} else if fieldNum == 2 {
  1404  					var mapmsglen int
  1405  					for shift := uint(0); ; shift += 7 {
  1406  						if shift >= 64 {
  1407  							return ErrIntOverflowStatus
  1408  						}
  1409  						if iNdEx >= l {
  1410  							return io.ErrUnexpectedEOF
  1411  						}
  1412  						b := dAtA[iNdEx]
  1413  						iNdEx++
  1414  						mapmsglen |= (int(b) & 0x7F) << shift
  1415  						if b < 0x80 {
  1416  							break
  1417  						}
  1418  					}
  1419  					if mapmsglen < 0 {
  1420  						return ErrInvalidLengthStatus
  1421  					}
  1422  					postmsgIndex := iNdEx + mapmsglen
  1423  					if mapmsglen < 0 {
  1424  						return ErrInvalidLengthStatus
  1425  					}
  1426  					if postmsgIndex > l {
  1427  						return io.ErrUnexpectedEOF
  1428  					}
  1429  					mapvalue = &NodeStatus_NetworkActivity{}
  1430  					if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
  1431  						return err
  1432  					}
  1433  					iNdEx = postmsgIndex
  1434  				} else {
  1435  					iNdEx = entryPreIndex
  1436  					skippy, err := skipStatus(dAtA[iNdEx:])
  1437  					if err != nil {
  1438  						return err
  1439  					}
  1440  					if skippy < 0 {
  1441  						return ErrInvalidLengthStatus
  1442  					}
  1443  					if (iNdEx + skippy) > postIndex {
  1444  						return io.ErrUnexpectedEOF
  1445  					}
  1446  					iNdEx += skippy
  1447  				}
  1448  			}
  1449  			m.Activity[github_com_cockroachdb_cockroach_pkg_roachpb.NodeID(mapkey)] = *mapvalue
  1450  			iNdEx = postIndex
  1451  		case 11:
  1452  			if wireType != 0 {
  1453  				return fmt.Errorf("proto: wrong wireType = %d for field TotalSystemMemory", wireType)
  1454  			}
  1455  			m.TotalSystemMemory = 0
  1456  			for shift := uint(0); ; shift += 7 {
  1457  				if shift >= 64 {
  1458  					return ErrIntOverflowStatus
  1459  				}
  1460  				if iNdEx >= l {
  1461  					return io.ErrUnexpectedEOF
  1462  				}
  1463  				b := dAtA[iNdEx]
  1464  				iNdEx++
  1465  				m.TotalSystemMemory |= (int64(b) & 0x7F) << shift
  1466  				if b < 0x80 {
  1467  					break
  1468  				}
  1469  			}
  1470  		case 12:
  1471  			if wireType != 0 {
  1472  				return fmt.Errorf("proto: wrong wireType = %d for field NumCpus", wireType)
  1473  			}
  1474  			m.NumCpus = 0
  1475  			for shift := uint(0); ; shift += 7 {
  1476  				if shift >= 64 {
  1477  					return ErrIntOverflowStatus
  1478  				}
  1479  				if iNdEx >= l {
  1480  					return io.ErrUnexpectedEOF
  1481  				}
  1482  				b := dAtA[iNdEx]
  1483  				iNdEx++
  1484  				m.NumCpus |= (int32(b) & 0x7F) << shift
  1485  				if b < 0x80 {
  1486  					break
  1487  				}
  1488  			}
  1489  		default:
  1490  			iNdEx = preIndex
  1491  			skippy, err := skipStatus(dAtA[iNdEx:])
  1492  			if err != nil {
  1493  				return err
  1494  			}
  1495  			if skippy < 0 {
  1496  				return ErrInvalidLengthStatus
  1497  			}
  1498  			if (iNdEx + skippy) > l {
  1499  				return io.ErrUnexpectedEOF
  1500  			}
  1501  			iNdEx += skippy
  1502  		}
  1503  	}
  1504  
  1505  	if iNdEx > l {
  1506  		return io.ErrUnexpectedEOF
  1507  	}
  1508  	return nil
  1509  }
  1510  func (m *NodeStatus_NetworkActivity) Unmarshal(dAtA []byte) error {
  1511  	l := len(dAtA)
  1512  	iNdEx := 0
  1513  	for iNdEx < l {
  1514  		preIndex := iNdEx
  1515  		var wire uint64
  1516  		for shift := uint(0); ; shift += 7 {
  1517  			if shift >= 64 {
  1518  				return ErrIntOverflowStatus
  1519  			}
  1520  			if iNdEx >= l {
  1521  				return io.ErrUnexpectedEOF
  1522  			}
  1523  			b := dAtA[iNdEx]
  1524  			iNdEx++
  1525  			wire |= (uint64(b) & 0x7F) << shift
  1526  			if b < 0x80 {
  1527  				break
  1528  			}
  1529  		}
  1530  		fieldNum := int32(wire >> 3)
  1531  		wireType := int(wire & 0x7)
  1532  		if wireType == 4 {
  1533  			return fmt.Errorf("proto: NetworkActivity: wiretype end group for non-group")
  1534  		}
  1535  		if fieldNum <= 0 {
  1536  			return fmt.Errorf("proto: NetworkActivity: illegal tag %d (wire type %d)", fieldNum, wire)
  1537  		}
  1538  		switch fieldNum {
  1539  		case 1:
  1540  			if wireType != 0 {
  1541  				return fmt.Errorf("proto: wrong wireType = %d for field Incoming", wireType)
  1542  			}
  1543  			m.Incoming = 0
  1544  			for shift := uint(0); ; shift += 7 {
  1545  				if shift >= 64 {
  1546  					return ErrIntOverflowStatus
  1547  				}
  1548  				if iNdEx >= l {
  1549  					return io.ErrUnexpectedEOF
  1550  				}
  1551  				b := dAtA[iNdEx]
  1552  				iNdEx++
  1553  				m.Incoming |= (int64(b) & 0x7F) << shift
  1554  				if b < 0x80 {
  1555  					break
  1556  				}
  1557  			}
  1558  		case 2:
  1559  			if wireType != 0 {
  1560  				return fmt.Errorf("proto: wrong wireType = %d for field Outgoing", wireType)
  1561  			}
  1562  			m.Outgoing = 0
  1563  			for shift := uint(0); ; shift += 7 {
  1564  				if shift >= 64 {
  1565  					return ErrIntOverflowStatus
  1566  				}
  1567  				if iNdEx >= l {
  1568  					return io.ErrUnexpectedEOF
  1569  				}
  1570  				b := dAtA[iNdEx]
  1571  				iNdEx++
  1572  				m.Outgoing |= (int64(b) & 0x7F) << shift
  1573  				if b < 0x80 {
  1574  					break
  1575  				}
  1576  			}
  1577  		case 3:
  1578  			if wireType != 0 {
  1579  				return fmt.Errorf("proto: wrong wireType = %d for field Latency", wireType)
  1580  			}
  1581  			m.Latency = 0
  1582  			for shift := uint(0); ; shift += 7 {
  1583  				if shift >= 64 {
  1584  					return ErrIntOverflowStatus
  1585  				}
  1586  				if iNdEx >= l {
  1587  					return io.ErrUnexpectedEOF
  1588  				}
  1589  				b := dAtA[iNdEx]
  1590  				iNdEx++
  1591  				m.Latency |= (int64(b) & 0x7F) << shift
  1592  				if b < 0x80 {
  1593  					break
  1594  				}
  1595  			}
  1596  		default:
  1597  			iNdEx = preIndex
  1598  			skippy, err := skipStatus(dAtA[iNdEx:])
  1599  			if err != nil {
  1600  				return err
  1601  			}
  1602  			if skippy < 0 {
  1603  				return ErrInvalidLengthStatus
  1604  			}
  1605  			if (iNdEx + skippy) > l {
  1606  				return io.ErrUnexpectedEOF
  1607  			}
  1608  			iNdEx += skippy
  1609  		}
  1610  	}
  1611  
  1612  	if iNdEx > l {
  1613  		return io.ErrUnexpectedEOF
  1614  	}
  1615  	return nil
  1616  }
  1617  func (m *HealthAlert) Unmarshal(dAtA []byte) error {
  1618  	l := len(dAtA)
  1619  	iNdEx := 0
  1620  	for iNdEx < l {
  1621  		preIndex := iNdEx
  1622  		var wire uint64
  1623  		for shift := uint(0); ; shift += 7 {
  1624  			if shift >= 64 {
  1625  				return ErrIntOverflowStatus
  1626  			}
  1627  			if iNdEx >= l {
  1628  				return io.ErrUnexpectedEOF
  1629  			}
  1630  			b := dAtA[iNdEx]
  1631  			iNdEx++
  1632  			wire |= (uint64(b) & 0x7F) << shift
  1633  			if b < 0x80 {
  1634  				break
  1635  			}
  1636  		}
  1637  		fieldNum := int32(wire >> 3)
  1638  		wireType := int(wire & 0x7)
  1639  		if wireType == 4 {
  1640  			return fmt.Errorf("proto: HealthAlert: wiretype end group for non-group")
  1641  		}
  1642  		if fieldNum <= 0 {
  1643  			return fmt.Errorf("proto: HealthAlert: illegal tag %d (wire type %d)", fieldNum, wire)
  1644  		}
  1645  		switch fieldNum {
  1646  		case 1:
  1647  			if wireType != 0 {
  1648  				return fmt.Errorf("proto: wrong wireType = %d for field StoreID", wireType)
  1649  			}
  1650  			m.StoreID = 0
  1651  			for shift := uint(0); ; shift += 7 {
  1652  				if shift >= 64 {
  1653  					return ErrIntOverflowStatus
  1654  				}
  1655  				if iNdEx >= l {
  1656  					return io.ErrUnexpectedEOF
  1657  				}
  1658  				b := dAtA[iNdEx]
  1659  				iNdEx++
  1660  				m.StoreID |= (github_com_cockroachdb_cockroach_pkg_roachpb.StoreID(b) & 0x7F) << shift
  1661  				if b < 0x80 {
  1662  					break
  1663  				}
  1664  			}
  1665  		case 2:
  1666  			if wireType != 0 {
  1667  				return fmt.Errorf("proto: wrong wireType = %d for field Category", wireType)
  1668  			}
  1669  			m.Category = 0
  1670  			for shift := uint(0); ; shift += 7 {
  1671  				if shift >= 64 {
  1672  					return ErrIntOverflowStatus
  1673  				}
  1674  				if iNdEx >= l {
  1675  					return io.ErrUnexpectedEOF
  1676  				}
  1677  				b := dAtA[iNdEx]
  1678  				iNdEx++
  1679  				m.Category |= (HealthAlert_Category(b) & 0x7F) << shift
  1680  				if b < 0x80 {
  1681  					break
  1682  				}
  1683  			}
  1684  		case 3:
  1685  			if wireType != 2 {
  1686  				return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType)
  1687  			}
  1688  			var stringLen uint64
  1689  			for shift := uint(0); ; shift += 7 {
  1690  				if shift >= 64 {
  1691  					return ErrIntOverflowStatus
  1692  				}
  1693  				if iNdEx >= l {
  1694  					return io.ErrUnexpectedEOF
  1695  				}
  1696  				b := dAtA[iNdEx]
  1697  				iNdEx++
  1698  				stringLen |= (uint64(b) & 0x7F) << shift
  1699  				if b < 0x80 {
  1700  					break
  1701  				}
  1702  			}
  1703  			intStringLen := int(stringLen)
  1704  			if intStringLen < 0 {
  1705  				return ErrInvalidLengthStatus
  1706  			}
  1707  			postIndex := iNdEx + intStringLen
  1708  			if postIndex > l {
  1709  				return io.ErrUnexpectedEOF
  1710  			}
  1711  			m.Description = string(dAtA[iNdEx:postIndex])
  1712  			iNdEx = postIndex
  1713  		case 4:
  1714  			if wireType != 1 {
  1715  				return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType)
  1716  			}
  1717  			var v uint64
  1718  			if (iNdEx + 8) > l {
  1719  				return io.ErrUnexpectedEOF
  1720  			}
  1721  			v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:]))
  1722  			iNdEx += 8
  1723  			m.Value = float64(math.Float64frombits(v))
  1724  		default:
  1725  			iNdEx = preIndex
  1726  			skippy, err := skipStatus(dAtA[iNdEx:])
  1727  			if err != nil {
  1728  				return err
  1729  			}
  1730  			if skippy < 0 {
  1731  				return ErrInvalidLengthStatus
  1732  			}
  1733  			if (iNdEx + skippy) > l {
  1734  				return io.ErrUnexpectedEOF
  1735  			}
  1736  			iNdEx += skippy
  1737  		}
  1738  	}
  1739  
  1740  	if iNdEx > l {
  1741  		return io.ErrUnexpectedEOF
  1742  	}
  1743  	return nil
  1744  }
  1745  func (m *HealthCheckResult) Unmarshal(dAtA []byte) error {
  1746  	l := len(dAtA)
  1747  	iNdEx := 0
  1748  	for iNdEx < l {
  1749  		preIndex := iNdEx
  1750  		var wire uint64
  1751  		for shift := uint(0); ; shift += 7 {
  1752  			if shift >= 64 {
  1753  				return ErrIntOverflowStatus
  1754  			}
  1755  			if iNdEx >= l {
  1756  				return io.ErrUnexpectedEOF
  1757  			}
  1758  			b := dAtA[iNdEx]
  1759  			iNdEx++
  1760  			wire |= (uint64(b) & 0x7F) << shift
  1761  			if b < 0x80 {
  1762  				break
  1763  			}
  1764  		}
  1765  		fieldNum := int32(wire >> 3)
  1766  		wireType := int(wire & 0x7)
  1767  		if wireType == 4 {
  1768  			return fmt.Errorf("proto: HealthCheckResult: wiretype end group for non-group")
  1769  		}
  1770  		if fieldNum <= 0 {
  1771  			return fmt.Errorf("proto: HealthCheckResult: illegal tag %d (wire type %d)", fieldNum, wire)
  1772  		}
  1773  		switch fieldNum {
  1774  		case 1:
  1775  			if wireType != 2 {
  1776  				return fmt.Errorf("proto: wrong wireType = %d for field Alerts", wireType)
  1777  			}
  1778  			var msglen int
  1779  			for shift := uint(0); ; shift += 7 {
  1780  				if shift >= 64 {
  1781  					return ErrIntOverflowStatus
  1782  				}
  1783  				if iNdEx >= l {
  1784  					return io.ErrUnexpectedEOF
  1785  				}
  1786  				b := dAtA[iNdEx]
  1787  				iNdEx++
  1788  				msglen |= (int(b) & 0x7F) << shift
  1789  				if b < 0x80 {
  1790  					break
  1791  				}
  1792  			}
  1793  			if msglen < 0 {
  1794  				return ErrInvalidLengthStatus
  1795  			}
  1796  			postIndex := iNdEx + msglen
  1797  			if postIndex > l {
  1798  				return io.ErrUnexpectedEOF
  1799  			}
  1800  			m.Alerts = append(m.Alerts, HealthAlert{})
  1801  			if err := m.Alerts[len(m.Alerts)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  1802  				return err
  1803  			}
  1804  			iNdEx = postIndex
  1805  		default:
  1806  			iNdEx = preIndex
  1807  			skippy, err := skipStatus(dAtA[iNdEx:])
  1808  			if err != nil {
  1809  				return err
  1810  			}
  1811  			if skippy < 0 {
  1812  				return ErrInvalidLengthStatus
  1813  			}
  1814  			if (iNdEx + skippy) > l {
  1815  				return io.ErrUnexpectedEOF
  1816  			}
  1817  			iNdEx += skippy
  1818  		}
  1819  	}
  1820  
  1821  	if iNdEx > l {
  1822  		return io.ErrUnexpectedEOF
  1823  	}
  1824  	return nil
  1825  }
  1826  func skipStatus(dAtA []byte) (n int, err error) {
  1827  	l := len(dAtA)
  1828  	iNdEx := 0
  1829  	for iNdEx < l {
  1830  		var wire uint64
  1831  		for shift := uint(0); ; shift += 7 {
  1832  			if shift >= 64 {
  1833  				return 0, ErrIntOverflowStatus
  1834  			}
  1835  			if iNdEx >= l {
  1836  				return 0, io.ErrUnexpectedEOF
  1837  			}
  1838  			b := dAtA[iNdEx]
  1839  			iNdEx++
  1840  			wire |= (uint64(b) & 0x7F) << shift
  1841  			if b < 0x80 {
  1842  				break
  1843  			}
  1844  		}
  1845  		wireType := int(wire & 0x7)
  1846  		switch wireType {
  1847  		case 0:
  1848  			for shift := uint(0); ; shift += 7 {
  1849  				if shift >= 64 {
  1850  					return 0, ErrIntOverflowStatus
  1851  				}
  1852  				if iNdEx >= l {
  1853  					return 0, io.ErrUnexpectedEOF
  1854  				}
  1855  				iNdEx++
  1856  				if dAtA[iNdEx-1] < 0x80 {
  1857  					break
  1858  				}
  1859  			}
  1860  			return iNdEx, nil
  1861  		case 1:
  1862  			iNdEx += 8
  1863  			return iNdEx, nil
  1864  		case 2:
  1865  			var length int
  1866  			for shift := uint(0); ; shift += 7 {
  1867  				if shift >= 64 {
  1868  					return 0, ErrIntOverflowStatus
  1869  				}
  1870  				if iNdEx >= l {
  1871  					return 0, io.ErrUnexpectedEOF
  1872  				}
  1873  				b := dAtA[iNdEx]
  1874  				iNdEx++
  1875  				length |= (int(b) & 0x7F) << shift
  1876  				if b < 0x80 {
  1877  					break
  1878  				}
  1879  			}
  1880  			iNdEx += length
  1881  			if length < 0 {
  1882  				return 0, ErrInvalidLengthStatus
  1883  			}
  1884  			return iNdEx, nil
  1885  		case 3:
  1886  			for {
  1887  				var innerWire uint64
  1888  				var start int = iNdEx
  1889  				for shift := uint(0); ; shift += 7 {
  1890  					if shift >= 64 {
  1891  						return 0, ErrIntOverflowStatus
  1892  					}
  1893  					if iNdEx >= l {
  1894  						return 0, io.ErrUnexpectedEOF
  1895  					}
  1896  					b := dAtA[iNdEx]
  1897  					iNdEx++
  1898  					innerWire |= (uint64(b) & 0x7F) << shift
  1899  					if b < 0x80 {
  1900  						break
  1901  					}
  1902  				}
  1903  				innerWireType := int(innerWire & 0x7)
  1904  				if innerWireType == 4 {
  1905  					break
  1906  				}
  1907  				next, err := skipStatus(dAtA[start:])
  1908  				if err != nil {
  1909  					return 0, err
  1910  				}
  1911  				iNdEx = start + next
  1912  			}
  1913  			return iNdEx, nil
  1914  		case 4:
  1915  			return iNdEx, nil
  1916  		case 5:
  1917  			iNdEx += 4
  1918  			return iNdEx, nil
  1919  		default:
  1920  			return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
  1921  		}
  1922  	}
  1923  	panic("unreachable")
  1924  }
  1925  
  1926  var (
  1927  	ErrInvalidLengthStatus = fmt.Errorf("proto: negative length found during unmarshaling")
  1928  	ErrIntOverflowStatus   = fmt.Errorf("proto: integer overflow")
  1929  )
  1930  
  1931  func init() {
  1932  	proto.RegisterFile("server/status/statuspb/status.proto", fileDescriptor_status_f9872bd1035fefcc)
  1933  }
  1934  
  1935  var fileDescriptor_status_f9872bd1035fefcc = []byte{
  1936  	// 817 bytes of a gzipped FileDescriptorProto
  1937  	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0x5f, 0x6f, 0xe3, 0x44,
  1938  	0x10, 0xcf, 0x36, 0x69, 0xe3, 0x8c, 0xef, 0x4a, 0x6f, 0x39, 0x90, 0x89, 0x44, 0x6a, 0x02, 0x0f,
  1939  	0x11, 0x12, 0x8e, 0x94, 0x43, 0x08, 0xda, 0xbe, 0xf4, 0x9f, 0x20, 0x3a, 0x5a, 0xa4, 0x4d, 0x25,
  1940  	0xa4, 0x7b, 0x09, 0x1b, 0x7b, 0xcf, 0xb5, 0x12, 0x7b, 0x2d, 0xef, 0xba, 0x28, 0xaf, 0x7c, 0x02,
  1941  	0x24, 0x24, 0xbe, 0x00, 0x5f, 0xa6, 0x8f, 0xf7, 0x78, 0x42, 0xa2, 0x40, 0xfa, 0xce, 0x67, 0x40,
  1942  	0xbb, 0x5e, 0x27, 0x2e, 0x2a, 0xea, 0x45, 0xf0, 0x94, 0xd9, 0xf9, 0x79, 0x7e, 0x33, 0xbf, 0x99,
  1943  	0xd9, 0x0d, 0x7c, 0x28, 0x58, 0x76, 0xc5, 0xb2, 0xbe, 0x90, 0x54, 0xe6, 0xc2, 0xfc, 0xa4, 0x13,
  1944  	0x63, 0x78, 0x69, 0xc6, 0x25, 0xc7, 0xae, 0xcf, 0xfd, 0x69, 0xc6, 0xa9, 0x7f, 0xe9, 0x15, 0x9f,
  1945  	0x7b, 0x06, 0x2e, 0x3f, 0x6f, 0xbf, 0xab, 0xd1, 0x74, 0xd2, 0x8f, 0x99, 0xa4, 0x01, 0x95, 0xb4,
  1946  	0x88, 0x6c, 0xef, 0x4c, 0xf2, 0x68, 0x16, 0xf4, 0xa3, 0xe4, 0x25, 0x37, 0x9e, 0xa7, 0x21, 0x0f,
  1947  	0xb9, 0x36, 0xfb, 0xca, 0x2a, 0xbc, 0xdd, 0xdf, 0x10, 0xd8, 0x23, 0xc9, 0x33, 0x36, 0xd2, 0x8c,
  1948  	0xf8, 0x00, 0x1a, 0x01, 0x13, 0xbe, 0x83, 0x5c, 0xd4, 0xb3, 0x07, 0x5d, 0x6f, 0x55, 0x80, 0x49,
  1949  	0xe4, 0xe9, 0xaf, 0x4f, 0x98, 0xf0, 0xb3, 0x28, 0x95, 0x3c, 0x3b, 0x6a, 0x5c, 0xdf, 0xec, 0xd6,
  1950  	0x88, 0x8e, 0xc2, 0x17, 0xd0, 0x8c, 0x99, 0xcc, 0x22, 0x5f, 0x38, 0x1b, 0x6e, 0xbd, 0x67, 0x0f,
  1951  	0xf6, 0xbc, 0x87, 0x14, 0x78, 0x95, 0xec, 0xde, 0x59, 0x11, 0x7c, 0x9a, 0xc8, 0x6c, 0x4e, 0x4a,
  1952  	0xaa, 0xf6, 0x1e, 0x3c, 0xaa, 0x02, 0x78, 0x07, 0xea, 0x53, 0x36, 0xd7, 0x25, 0xb6, 0x88, 0x32,
  1953  	0xf1, 0x53, 0xd8, 0xbc, 0xa2, 0xb3, 0x9c, 0x39, 0x1b, 0x2e, 0xea, 0x21, 0x52, 0x1c, 0xf6, 0x36,
  1954  	0x3e, 0x47, 0xdd, 0xbf, 0x2c, 0x80, 0x73, 0x1e, 0x94, 0xf2, 0xf6, 0xef, 0xc8, 0xfb, 0xe0, 0x1e,
  1955  	0x79, 0xea, 0xe3, 0x7f, 0x51, 0xb7, 0x07, 0xa0, 0xbb, 0x3a, 0x56, 0x5d, 0xd5, 0xa9, 0xec, 0xc1,
  1956  	0x3b, 0x15, 0x0a, 0x0d, 0x7a, 0xc3, 0xe4, 0x25, 0x37, 0x61, 0x2d, 0xed, 0x51, 0x0e, 0xfc, 0x3e,
  1957  	0x80, 0x90, 0x34, 0x93, 0x2c, 0x18, 0x53, 0xe9, 0xd4, 0x5d, 0xd4, 0xab, 0x93, 0x96, 0xf1, 0x1c,
  1958  	0x4a, 0x05, 0xe7, 0x69, 0x40, 0x0d, 0xdc, 0x28, 0x60, 0xe3, 0x39, 0x94, 0x78, 0xb4, 0xea, 0xeb,
  1959  	0xa6, 0xee, 0xeb, 0x17, 0x0f, 0xf7, 0x75, 0xa5, 0xfa, 0xfe, 0xb6, 0xe2, 0x17, 0xb0, 0x2d, 0x54,
  1960  	0xef, 0xc7, 0x45, 0x08, 0x13, 0xce, 0x96, 0xe6, 0xfe, 0x64, 0xad, 0x99, 0x19, 0xa9, 0x8f, 0xc5,
  1961  	0xca, 0xc5, 0x04, 0xc6, 0xd0, 0xa0, 0x59, 0x28, 0x9c, 0xa6, 0x5b, 0xef, 0xb5, 0x88, 0xb6, 0xd5,
  1962  	0xd8, 0x58, 0x72, 0xe5, 0x58, 0xda, 0xa5, 0x4c, 0xfc, 0x33, 0x82, 0xd6, 0x8c, 0x4a, 0x96, 0xf8,
  1963  	0x11, 0x13, 0x4e, 0x4b, 0x67, 0xdf, 0x5f, 0x4b, 0xd9, 0xd7, 0x65, 0xb4, 0xd6, 0x76, 0xb4, 0xaf,
  1964  	0x6a, 0xf9, 0xe1, 0xf7, 0xdd, 0x67, 0x61, 0x24, 0x2f, 0xf3, 0x89, 0xe7, 0xf3, 0xb8, 0xbf, 0xa4,
  1965  	0x0b, 0x26, 0x2b, 0xbb, 0x9f, 0x4e, 0xc3, 0x7e, 0x75, 0xe4, 0xc3, 0x13, 0xb2, 0x2a, 0x05, 0xff,
  1966  	0x84, 0xc0, 0xa2, 0xbe, 0x8c, 0xae, 0x22, 0x39, 0x77, 0xe0, 0x4d, 0x37, 0xb9, 0x52, 0xd7, 0xa1,
  1967  	0x09, 0xfe, 0x1f, 0xca, 0x5a, 0x16, 0x82, 0x3d, 0x78, 0x5b, 0x72, 0x49, 0x67, 0x63, 0x31, 0x17,
  1968  	0x92, 0xc5, 0xe3, 0x98, 0xc5, 0x3c, 0x9b, 0x3b, 0xb6, 0xde, 0x96, 0x27, 0x1a, 0x1a, 0x69, 0xe4,
  1969  	0x4c, 0x03, 0xf8, 0x3d, 0xb0, 0x92, 0x3c, 0x1e, 0xfb, 0x69, 0x2e, 0x9c, 0x47, 0x2e, 0xea, 0x6d,
  1970  	0x92, 0x66, 0x92, 0xc7, 0xc7, 0x69, 0xfe, 0x9f, 0xae, 0x54, 0xfb, 0x00, 0xb6, 0xef, 0xb6, 0xbd,
  1971  	0x1a, 0xbd, 0x79, 0x4f, 0x74, 0xbd, 0x1a, 0xed, 0xc3, 0x5b, 0xe7, 0x4c, 0x7e, 0xcf, 0xb3, 0x69,
  1972  	0xd9, 0x23, 0xdc, 0x06, 0x2b, 0x4a, 0x7c, 0x1e, 0x47, 0x49, 0xa8, 0x39, 0xea, 0x64, 0x79, 0x56,
  1973  	0x18, 0xcf, 0x65, 0xc8, 0x15, 0x56, 0x70, 0x2d, 0xcf, 0xd8, 0x81, 0x66, 0x31, 0xb2, 0xb9, 0xb9,
  1974  	0x50, 0xe5, 0xb1, 0x3d, 0x87, 0xc7, 0x77, 0x26, 0x70, 0x4f, 0x85, 0xa4, 0x5a, 0xa1, 0x3d, 0x38,
  1975  	0x58, 0x6b, 0xbc, 0xff, 0x50, 0x50, 0x7d, 0x70, 0x7e, 0xd9, 0x00, 0xfb, 0x2b, 0x46, 0x67, 0xf2,
  1976  	0xf2, 0x70, 0xc6, 0x32, 0x89, 0x27, 0x60, 0x15, 0xb7, 0x2c, 0x0a, 0x8a, 0xf4, 0x47, 0x5f, 0xaa,
  1977  	0x6d, 0xf8, 0xf5, 0x66, 0xf7, 0xd3, 0xb5, 0xb6, 0x41, 0x5f, 0xb9, 0xe1, 0xc9, 0xe2, 0x66, 0xb7,
  1978  	0x69, 0x4c, 0xd2, 0xd4, 0xc4, 0xc3, 0x00, 0x13, 0xb0, 0x7c, 0x2a, 0x59, 0xa8, 0xb6, 0x41, 0xc9,
  1979  	0xd9, 0x1e, 0x7c, 0xf6, 0xb0, 0x9c, 0x4a, 0x91, 0xde, 0xb1, 0x89, 0x26, 0x4b, 0x1e, 0xec, 0x82,
  1980  	0x1d, 0x98, 0x67, 0x30, 0xe2, 0x89, 0x6e, 0x70, 0x8b, 0x54, 0x5d, 0xab, 0x19, 0x37, 0x2a, 0x1b,
  1981  	0xd2, 0xfd, 0x08, 0xac, 0x92, 0x0d, 0xdb, 0xd0, 0x3c, 0x3b, 0xbd, 0x20, 0xc3, 0xe3, 0xd1, 0x4e,
  1982  	0x4d, 0x1d, 0xce, 0x4f, 0x2f, 0xbe, 0xfd, 0x86, 0x3c, 0xdf, 0x41, 0xdd, 0xef, 0xe0, 0x49, 0x91,
  1983  	0xff, 0xf8, 0x92, 0xf9, 0x53, 0xc2, 0x44, 0x3e, 0x93, 0xf8, 0x39, 0x6c, 0x51, 0x55, 0x8e, 0x70,
  1984  	0xd0, 0x9b, 0x3e, 0x44, 0x15, 0x11, 0xe6, 0x21, 0x32, 0x14, 0x47, 0x1f, 0x5f, 0xff, 0xd9, 0xa9,
  1985  	0x5d, 0x2f, 0x3a, 0xe8, 0xd5, 0xa2, 0x83, 0x5e, 0x2f, 0x3a, 0xe8, 0x8f, 0x45, 0x07, 0xfd, 0x78,
  1986  	0xdb, 0xa9, 0xbd, 0xba, 0xed, 0xd4, 0x5e, 0xdf, 0x76, 0x6a, 0x2f, 0xac, 0x92, 0x65, 0xb2, 0xa5,
  1987  	0xff, 0x0b, 0x9f, 0xfd, 0x1d, 0x00, 0x00, 0xff, 0xff, 0x78, 0x91, 0x14, 0xef, 0x94, 0x07, 0x00,
  1988  	0x00,
  1989  }