github.com/cockroachdb/cockroach@v20.2.0-alpha.1+incompatible/pkg/server/diagnosticspb/diagnostics.pb.go (about) 1 // Code generated by protoc-gen-gogo. DO NOT EDIT. 2 // source: server/diagnosticspb/diagnostics.proto 3 4 package diagnosticspb 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 zonepb "github.com/cockroachdb/cockroach/pkg/config/zonepb" 11 import roachpb "github.com/cockroachdb/cockroach/pkg/roachpb" 12 import sqlbase "github.com/cockroachdb/cockroach/pkg/sql/sqlbase" 13 14 import github_com_cockroachdb_cockroach_pkg_roachpb "github.com/cockroachdb/cockroach/pkg/roachpb" 15 16 import github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys" 17 import encoding_binary "encoding/binary" 18 19 import io "io" 20 21 // Reference imports to suppress errors if they are not otherwise used. 22 var _ = proto.Marshal 23 var _ = fmt.Errorf 24 var _ = math.Inf 25 26 // This is a compile-time assertion to ensure that this generated file 27 // is compatible with the proto package it is being compiled against. 28 // A compilation error at this line likely means your copy of the 29 // proto package needs to be updated. 30 const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package 31 32 type DiagnosticReport struct { 33 Node NodeInfo `protobuf:"bytes,1,opt,name=node,proto3" json:"node"` 34 Stores []StoreInfo `protobuf:"bytes,2,rep,name=stores,proto3" json:"stores"` 35 Schema []sqlbase.TableDescriptor `protobuf:"bytes,3,rep,name=schema,proto3" json:"schema"` 36 SqlStats []roachpb.CollectedStatementStatistics `protobuf:"bytes,4,rep,name=sql_stats,json=sqlStats,proto3" json:"sql_stats"` 37 AlteredSettings map[string]string `protobuf:"bytes,6,rep,name=altered_settings,json=alteredSettings,proto3" json:"altered_settings,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 38 ZoneConfigs map[int64]zonepb.ZoneConfig `protobuf:"bytes,8,rep,name=zone_configs,json=zoneConfigs,proto3" json:"zone_configs" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 39 FeatureUsage map[string]int32 `protobuf:"bytes,9,rep,name=feature_usage,json=featureUsage,proto3" json:"feature_usage" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` 40 LegacyUnimplementedErrors map[string]int64 `protobuf:"bytes,5,rep,name=legacy_unimplemented_errors,json=legacyUnimplementedErrors,proto3" json:"legacy_unimplemented_errors,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` 41 LegacyErrorCounts map[string]int64 `protobuf:"bytes,7,rep,name=legacy_error_counts,json=legacyErrorCounts,proto3" json:"legacy_error_counts,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` 42 } 43 44 func (m *DiagnosticReport) Reset() { *m = DiagnosticReport{} } 45 func (m *DiagnosticReport) String() string { return proto.CompactTextString(m) } 46 func (*DiagnosticReport) ProtoMessage() {} 47 func (*DiagnosticReport) Descriptor() ([]byte, []int) { 48 return fileDescriptor_diagnostics_5c3b35b5aaeee3d9, []int{0} 49 } 50 func (m *DiagnosticReport) XXX_Unmarshal(b []byte) error { 51 return m.Unmarshal(b) 52 } 53 func (m *DiagnosticReport) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 54 b = b[:cap(b)] 55 n, err := m.MarshalTo(b) 56 if err != nil { 57 return nil, err 58 } 59 return b[:n], nil 60 } 61 func (dst *DiagnosticReport) XXX_Merge(src proto.Message) { 62 xxx_messageInfo_DiagnosticReport.Merge(dst, src) 63 } 64 func (m *DiagnosticReport) XXX_Size() int { 65 return m.Size() 66 } 67 func (m *DiagnosticReport) XXX_DiscardUnknown() { 68 xxx_messageInfo_DiagnosticReport.DiscardUnknown(m) 69 } 70 71 var xxx_messageInfo_DiagnosticReport proto.InternalMessageInfo 72 73 type NodeInfo struct { 74 NodeID github_com_cockroachdb_cockroach_pkg_roachpb.NodeID `protobuf:"varint,1,opt,name=node_id,json=nodeId,proto3,casttype=github.com/cockroachdb/cockroach/pkg/roachpb.NodeID" json:"node_id,omitempty"` 75 Bytes int64 `protobuf:"varint,2,opt,name=bytes,proto3" json:"bytes,omitempty"` 76 KeyCount int64 `protobuf:"varint,3,opt,name=key_count,json=keyCount,proto3" json:"key_count,omitempty"` 77 RangeCount int64 `protobuf:"varint,4,opt,name=range_count,json=rangeCount,proto3" json:"range_count,omitempty"` 78 Locality roachpb.Locality `protobuf:"bytes,5,opt,name=locality,proto3" json:"locality"` 79 Hardware HardwareInfo `protobuf:"bytes,6,opt,name=hardware,proto3" json:"hardware"` 80 Os OSInfo `protobuf:"bytes,7,opt,name=os,proto3" json:"os"` 81 Build build.Info `protobuf:"bytes,8,opt,name=build,proto3" json:"build"` 82 Uptime int64 `protobuf:"varint,9,opt,name=uptime,proto3" json:"uptime,omitempty"` 83 LicenseType string `protobuf:"bytes,10,opt,name=license_type,json=licenseType,proto3" json:"license_type,omitempty"` 84 Topology TopologyInfo `protobuf:"bytes,11,opt,name=topology,proto3" json:"topology"` 85 } 86 87 func (m *NodeInfo) Reset() { *m = NodeInfo{} } 88 func (m *NodeInfo) String() string { return proto.CompactTextString(m) } 89 func (*NodeInfo) ProtoMessage() {} 90 func (*NodeInfo) Descriptor() ([]byte, []int) { 91 return fileDescriptor_diagnostics_5c3b35b5aaeee3d9, []int{1} 92 } 93 func (m *NodeInfo) XXX_Unmarshal(b []byte) error { 94 return m.Unmarshal(b) 95 } 96 func (m *NodeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 97 b = b[:cap(b)] 98 n, err := m.MarshalTo(b) 99 if err != nil { 100 return nil, err 101 } 102 return b[:n], nil 103 } 104 func (dst *NodeInfo) XXX_Merge(src proto.Message) { 105 xxx_messageInfo_NodeInfo.Merge(dst, src) 106 } 107 func (m *NodeInfo) XXX_Size() int { 108 return m.Size() 109 } 110 func (m *NodeInfo) XXX_DiscardUnknown() { 111 xxx_messageInfo_NodeInfo.DiscardUnknown(m) 112 } 113 114 var xxx_messageInfo_NodeInfo proto.InternalMessageInfo 115 116 type StoreInfo struct { 117 NodeID github_com_cockroachdb_cockroach_pkg_roachpb.NodeID `protobuf:"varint,1,opt,name=node_id,json=nodeId,proto3,casttype=github.com/cockroachdb/cockroach/pkg/roachpb.NodeID" json:"node_id,omitempty"` 118 StoreID github_com_cockroachdb_cockroach_pkg_roachpb.StoreID `protobuf:"varint,2,opt,name=store_id,json=storeId,proto3,casttype=github.com/cockroachdb/cockroach/pkg/roachpb.StoreID" json:"store_id,omitempty"` 119 Bytes int64 `protobuf:"varint,3,opt,name=bytes,proto3" json:"bytes,omitempty"` 120 KeyCount int64 `protobuf:"varint,4,opt,name=key_count,json=keyCount,proto3" json:"key_count,omitempty"` 121 RangeCount int64 `protobuf:"varint,5,opt,name=range_count,json=rangeCount,proto3" json:"range_count,omitempty"` 122 Capacity int64 `protobuf:"varint,6,opt,name=capacity,proto3" json:"capacity,omitempty"` 123 Available int64 `protobuf:"varint,7,opt,name=available,proto3" json:"available,omitempty"` 124 Used int64 `protobuf:"varint,8,opt,name=used,proto3" json:"used,omitempty"` 125 EncryptionAlgorithm int64 `protobuf:"varint,9,opt,name=encryption_algorithm,json=encryptionAlgorithm,proto3" json:"encryption_algorithm,omitempty"` 126 } 127 128 func (m *StoreInfo) Reset() { *m = StoreInfo{} } 129 func (m *StoreInfo) String() string { return proto.CompactTextString(m) } 130 func (*StoreInfo) ProtoMessage() {} 131 func (*StoreInfo) Descriptor() ([]byte, []int) { 132 return fileDescriptor_diagnostics_5c3b35b5aaeee3d9, []int{2} 133 } 134 func (m *StoreInfo) XXX_Unmarshal(b []byte) error { 135 return m.Unmarshal(b) 136 } 137 func (m *StoreInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 138 b = b[:cap(b)] 139 n, err := m.MarshalTo(b) 140 if err != nil { 141 return nil, err 142 } 143 return b[:n], nil 144 } 145 func (dst *StoreInfo) XXX_Merge(src proto.Message) { 146 xxx_messageInfo_StoreInfo.Merge(dst, src) 147 } 148 func (m *StoreInfo) XXX_Size() int { 149 return m.Size() 150 } 151 func (m *StoreInfo) XXX_DiscardUnknown() { 152 xxx_messageInfo_StoreInfo.DiscardUnknown(m) 153 } 154 155 var xxx_messageInfo_StoreInfo proto.InternalMessageInfo 156 157 type CPUInfo struct { 158 Numcpu int32 `protobuf:"varint,1,opt,name=numcpu,proto3" json:"numcpu,omitempty"` 159 Sockets int32 `protobuf:"varint,2,opt,name=sockets,proto3" json:"sockets,omitempty"` 160 Cores int32 `protobuf:"varint,3,opt,name=cores,proto3" json:"cores,omitempty"` 161 Model string `protobuf:"bytes,4,opt,name=model,proto3" json:"model,omitempty"` 162 Mhz float32 `protobuf:"fixed32,5,opt,name=mhz,proto3" json:"mhz,omitempty"` 163 Features []string `protobuf:"bytes,6,rep,name=features,proto3" json:"features,omitempty"` 164 } 165 166 func (m *CPUInfo) Reset() { *m = CPUInfo{} } 167 func (m *CPUInfo) String() string { return proto.CompactTextString(m) } 168 func (*CPUInfo) ProtoMessage() {} 169 func (*CPUInfo) Descriptor() ([]byte, []int) { 170 return fileDescriptor_diagnostics_5c3b35b5aaeee3d9, []int{3} 171 } 172 func (m *CPUInfo) XXX_Unmarshal(b []byte) error { 173 return m.Unmarshal(b) 174 } 175 func (m *CPUInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 176 b = b[:cap(b)] 177 n, err := m.MarshalTo(b) 178 if err != nil { 179 return nil, err 180 } 181 return b[:n], nil 182 } 183 func (dst *CPUInfo) XXX_Merge(src proto.Message) { 184 xxx_messageInfo_CPUInfo.Merge(dst, src) 185 } 186 func (m *CPUInfo) XXX_Size() int { 187 return m.Size() 188 } 189 func (m *CPUInfo) XXX_DiscardUnknown() { 190 xxx_messageInfo_CPUInfo.DiscardUnknown(m) 191 } 192 193 var xxx_messageInfo_CPUInfo proto.InternalMessageInfo 194 195 type HardwareInfo struct { 196 Virtualization string `protobuf:"bytes,1,opt,name=virtualization,proto3" json:"virtualization,omitempty"` 197 Cpu CPUInfo `protobuf:"bytes,2,opt,name=cpu,proto3" json:"cpu"` 198 Mem MemInfo `protobuf:"bytes,3,opt,name=mem,proto3" json:"mem"` 199 Loadavg15 float32 `protobuf:"fixed32,4,opt,name=loadavg15,proto3" json:"loadavg15,omitempty"` 200 Provider string `protobuf:"bytes,5,opt,name=provider,proto3" json:"provider,omitempty"` 201 InstanceClass string `protobuf:"bytes,6,opt,name=instance_class,json=instanceClass,proto3" json:"instance_class,omitempty"` 202 } 203 204 func (m *HardwareInfo) Reset() { *m = HardwareInfo{} } 205 func (m *HardwareInfo) String() string { return proto.CompactTextString(m) } 206 func (*HardwareInfo) ProtoMessage() {} 207 func (*HardwareInfo) Descriptor() ([]byte, []int) { 208 return fileDescriptor_diagnostics_5c3b35b5aaeee3d9, []int{4} 209 } 210 func (m *HardwareInfo) XXX_Unmarshal(b []byte) error { 211 return m.Unmarshal(b) 212 } 213 func (m *HardwareInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 214 b = b[:cap(b)] 215 n, err := m.MarshalTo(b) 216 if err != nil { 217 return nil, err 218 } 219 return b[:n], nil 220 } 221 func (dst *HardwareInfo) XXX_Merge(src proto.Message) { 222 xxx_messageInfo_HardwareInfo.Merge(dst, src) 223 } 224 func (m *HardwareInfo) XXX_Size() int { 225 return m.Size() 226 } 227 func (m *HardwareInfo) XXX_DiscardUnknown() { 228 xxx_messageInfo_HardwareInfo.DiscardUnknown(m) 229 } 230 231 var xxx_messageInfo_HardwareInfo proto.InternalMessageInfo 232 233 type OSInfo struct { 234 Family string `protobuf:"bytes,1,opt,name=family,proto3" json:"family,omitempty"` 235 Platform string `protobuf:"bytes,2,opt,name=platform,proto3" json:"platform,omitempty"` 236 Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` 237 } 238 239 func (m *OSInfo) Reset() { *m = OSInfo{} } 240 func (m *OSInfo) String() string { return proto.CompactTextString(m) } 241 func (*OSInfo) ProtoMessage() {} 242 func (*OSInfo) Descriptor() ([]byte, []int) { 243 return fileDescriptor_diagnostics_5c3b35b5aaeee3d9, []int{5} 244 } 245 func (m *OSInfo) XXX_Unmarshal(b []byte) error { 246 return m.Unmarshal(b) 247 } 248 func (m *OSInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 249 b = b[:cap(b)] 250 n, err := m.MarshalTo(b) 251 if err != nil { 252 return nil, err 253 } 254 return b[:n], nil 255 } 256 func (dst *OSInfo) XXX_Merge(src proto.Message) { 257 xxx_messageInfo_OSInfo.Merge(dst, src) 258 } 259 func (m *OSInfo) XXX_Size() int { 260 return m.Size() 261 } 262 func (m *OSInfo) XXX_DiscardUnknown() { 263 xxx_messageInfo_OSInfo.DiscardUnknown(m) 264 } 265 266 var xxx_messageInfo_OSInfo proto.InternalMessageInfo 267 268 type MemInfo struct { 269 Total uint64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` 270 Available uint64 `protobuf:"varint,2,opt,name=available,proto3" json:"available,omitempty"` 271 } 272 273 func (m *MemInfo) Reset() { *m = MemInfo{} } 274 func (m *MemInfo) String() string { return proto.CompactTextString(m) } 275 func (*MemInfo) ProtoMessage() {} 276 func (*MemInfo) Descriptor() ([]byte, []int) { 277 return fileDescriptor_diagnostics_5c3b35b5aaeee3d9, []int{6} 278 } 279 func (m *MemInfo) XXX_Unmarshal(b []byte) error { 280 return m.Unmarshal(b) 281 } 282 func (m *MemInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 283 b = b[:cap(b)] 284 n, err := m.MarshalTo(b) 285 if err != nil { 286 return nil, err 287 } 288 return b[:n], nil 289 } 290 func (dst *MemInfo) XXX_Merge(src proto.Message) { 291 xxx_messageInfo_MemInfo.Merge(dst, src) 292 } 293 func (m *MemInfo) XXX_Size() int { 294 return m.Size() 295 } 296 func (m *MemInfo) XXX_DiscardUnknown() { 297 xxx_messageInfo_MemInfo.DiscardUnknown(m) 298 } 299 300 var xxx_messageInfo_MemInfo proto.InternalMessageInfo 301 302 type TopologyInfo struct { 303 Provider string `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"` 304 Region string `protobuf:"bytes,2,opt,name=region,proto3" json:"region,omitempty"` 305 } 306 307 func (m *TopologyInfo) Reset() { *m = TopologyInfo{} } 308 func (m *TopologyInfo) String() string { return proto.CompactTextString(m) } 309 func (*TopologyInfo) ProtoMessage() {} 310 func (*TopologyInfo) Descriptor() ([]byte, []int) { 311 return fileDescriptor_diagnostics_5c3b35b5aaeee3d9, []int{7} 312 } 313 func (m *TopologyInfo) XXX_Unmarshal(b []byte) error { 314 return m.Unmarshal(b) 315 } 316 func (m *TopologyInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 317 b = b[:cap(b)] 318 n, err := m.MarshalTo(b) 319 if err != nil { 320 return nil, err 321 } 322 return b[:n], nil 323 } 324 func (dst *TopologyInfo) XXX_Merge(src proto.Message) { 325 xxx_messageInfo_TopologyInfo.Merge(dst, src) 326 } 327 func (m *TopologyInfo) XXX_Size() int { 328 return m.Size() 329 } 330 func (m *TopologyInfo) XXX_DiscardUnknown() { 331 xxx_messageInfo_TopologyInfo.DiscardUnknown(m) 332 } 333 334 var xxx_messageInfo_TopologyInfo proto.InternalMessageInfo 335 336 func init() { 337 proto.RegisterType((*DiagnosticReport)(nil), "cockroach.server.diagnosticspb.DiagnosticReport") 338 proto.RegisterMapType((map[string]string)(nil), "cockroach.server.diagnosticspb.DiagnosticReport.AlteredSettingsEntry") 339 proto.RegisterMapType((map[string]int32)(nil), "cockroach.server.diagnosticspb.DiagnosticReport.FeatureUsageEntry") 340 proto.RegisterMapType((map[string]int64)(nil), "cockroach.server.diagnosticspb.DiagnosticReport.LegacyErrorCountsEntry") 341 proto.RegisterMapType((map[string]int64)(nil), "cockroach.server.diagnosticspb.DiagnosticReport.LegacyUnimplementedErrorsEntry") 342 proto.RegisterMapType((map[int64]zonepb.ZoneConfig)(nil), "cockroach.server.diagnosticspb.DiagnosticReport.ZoneConfigsEntry") 343 proto.RegisterType((*NodeInfo)(nil), "cockroach.server.diagnosticspb.NodeInfo") 344 proto.RegisterType((*StoreInfo)(nil), "cockroach.server.diagnosticspb.StoreInfo") 345 proto.RegisterType((*CPUInfo)(nil), "cockroach.server.diagnosticspb.CPUInfo") 346 proto.RegisterType((*HardwareInfo)(nil), "cockroach.server.diagnosticspb.HardwareInfo") 347 proto.RegisterType((*OSInfo)(nil), "cockroach.server.diagnosticspb.OSInfo") 348 proto.RegisterType((*MemInfo)(nil), "cockroach.server.diagnosticspb.MemInfo") 349 proto.RegisterType((*TopologyInfo)(nil), "cockroach.server.diagnosticspb.TopologyInfo") 350 } 351 func (m *DiagnosticReport) Marshal() (dAtA []byte, err error) { 352 size := m.Size() 353 dAtA = make([]byte, size) 354 n, err := m.MarshalTo(dAtA) 355 if err != nil { 356 return nil, err 357 } 358 return dAtA[:n], nil 359 } 360 361 func (m *DiagnosticReport) MarshalTo(dAtA []byte) (int, error) { 362 var i int 363 _ = i 364 var l int 365 _ = l 366 dAtA[i] = 0xa 367 i++ 368 i = encodeVarintDiagnostics(dAtA, i, uint64(m.Node.Size())) 369 n1, err := m.Node.MarshalTo(dAtA[i:]) 370 if err != nil { 371 return 0, err 372 } 373 i += n1 374 if len(m.Stores) > 0 { 375 for _, msg := range m.Stores { 376 dAtA[i] = 0x12 377 i++ 378 i = encodeVarintDiagnostics(dAtA, i, uint64(msg.Size())) 379 n, err := msg.MarshalTo(dAtA[i:]) 380 if err != nil { 381 return 0, err 382 } 383 i += n 384 } 385 } 386 if len(m.Schema) > 0 { 387 for _, msg := range m.Schema { 388 dAtA[i] = 0x1a 389 i++ 390 i = encodeVarintDiagnostics(dAtA, i, uint64(msg.Size())) 391 n, err := msg.MarshalTo(dAtA[i:]) 392 if err != nil { 393 return 0, err 394 } 395 i += n 396 } 397 } 398 if len(m.SqlStats) > 0 { 399 for _, msg := range m.SqlStats { 400 dAtA[i] = 0x22 401 i++ 402 i = encodeVarintDiagnostics(dAtA, i, uint64(msg.Size())) 403 n, err := msg.MarshalTo(dAtA[i:]) 404 if err != nil { 405 return 0, err 406 } 407 i += n 408 } 409 } 410 if len(m.LegacyUnimplementedErrors) > 0 { 411 keysForLegacyUnimplementedErrors := make([]string, 0, len(m.LegacyUnimplementedErrors)) 412 for k := range m.LegacyUnimplementedErrors { 413 keysForLegacyUnimplementedErrors = append(keysForLegacyUnimplementedErrors, string(k)) 414 } 415 github_com_gogo_protobuf_sortkeys.Strings(keysForLegacyUnimplementedErrors) 416 for _, k := range keysForLegacyUnimplementedErrors { 417 dAtA[i] = 0x2a 418 i++ 419 v := m.LegacyUnimplementedErrors[string(k)] 420 mapSize := 1 + len(k) + sovDiagnostics(uint64(len(k))) + 1 + sovDiagnostics(uint64(v)) 421 i = encodeVarintDiagnostics(dAtA, i, uint64(mapSize)) 422 dAtA[i] = 0xa 423 i++ 424 i = encodeVarintDiagnostics(dAtA, i, uint64(len(k))) 425 i += copy(dAtA[i:], k) 426 dAtA[i] = 0x10 427 i++ 428 i = encodeVarintDiagnostics(dAtA, i, uint64(v)) 429 } 430 } 431 if len(m.AlteredSettings) > 0 { 432 keysForAlteredSettings := make([]string, 0, len(m.AlteredSettings)) 433 for k := range m.AlteredSettings { 434 keysForAlteredSettings = append(keysForAlteredSettings, string(k)) 435 } 436 github_com_gogo_protobuf_sortkeys.Strings(keysForAlteredSettings) 437 for _, k := range keysForAlteredSettings { 438 dAtA[i] = 0x32 439 i++ 440 v := m.AlteredSettings[string(k)] 441 mapSize := 1 + len(k) + sovDiagnostics(uint64(len(k))) + 1 + len(v) + sovDiagnostics(uint64(len(v))) 442 i = encodeVarintDiagnostics(dAtA, i, uint64(mapSize)) 443 dAtA[i] = 0xa 444 i++ 445 i = encodeVarintDiagnostics(dAtA, i, uint64(len(k))) 446 i += copy(dAtA[i:], k) 447 dAtA[i] = 0x12 448 i++ 449 i = encodeVarintDiagnostics(dAtA, i, uint64(len(v))) 450 i += copy(dAtA[i:], v) 451 } 452 } 453 if len(m.LegacyErrorCounts) > 0 { 454 keysForLegacyErrorCounts := make([]string, 0, len(m.LegacyErrorCounts)) 455 for k := range m.LegacyErrorCounts { 456 keysForLegacyErrorCounts = append(keysForLegacyErrorCounts, string(k)) 457 } 458 github_com_gogo_protobuf_sortkeys.Strings(keysForLegacyErrorCounts) 459 for _, k := range keysForLegacyErrorCounts { 460 dAtA[i] = 0x3a 461 i++ 462 v := m.LegacyErrorCounts[string(k)] 463 mapSize := 1 + len(k) + sovDiagnostics(uint64(len(k))) + 1 + sovDiagnostics(uint64(v)) 464 i = encodeVarintDiagnostics(dAtA, i, uint64(mapSize)) 465 dAtA[i] = 0xa 466 i++ 467 i = encodeVarintDiagnostics(dAtA, i, uint64(len(k))) 468 i += copy(dAtA[i:], k) 469 dAtA[i] = 0x10 470 i++ 471 i = encodeVarintDiagnostics(dAtA, i, uint64(v)) 472 } 473 } 474 if len(m.ZoneConfigs) > 0 { 475 keysForZoneConfigs := make([]int64, 0, len(m.ZoneConfigs)) 476 for k := range m.ZoneConfigs { 477 keysForZoneConfigs = append(keysForZoneConfigs, int64(k)) 478 } 479 github_com_gogo_protobuf_sortkeys.Int64s(keysForZoneConfigs) 480 for _, k := range keysForZoneConfigs { 481 dAtA[i] = 0x42 482 i++ 483 v := m.ZoneConfigs[int64(k)] 484 msgSize := 0 485 if (&v) != nil { 486 msgSize = (&v).Size() 487 msgSize += 1 + sovDiagnostics(uint64(msgSize)) 488 } 489 mapSize := 1 + sovDiagnostics(uint64(k)) + msgSize 490 i = encodeVarintDiagnostics(dAtA, i, uint64(mapSize)) 491 dAtA[i] = 0x8 492 i++ 493 i = encodeVarintDiagnostics(dAtA, i, uint64(k)) 494 dAtA[i] = 0x12 495 i++ 496 i = encodeVarintDiagnostics(dAtA, i, uint64((&v).Size())) 497 n2, err := (&v).MarshalTo(dAtA[i:]) 498 if err != nil { 499 return 0, err 500 } 501 i += n2 502 } 503 } 504 if len(m.FeatureUsage) > 0 { 505 keysForFeatureUsage := make([]string, 0, len(m.FeatureUsage)) 506 for k := range m.FeatureUsage { 507 keysForFeatureUsage = append(keysForFeatureUsage, string(k)) 508 } 509 github_com_gogo_protobuf_sortkeys.Strings(keysForFeatureUsage) 510 for _, k := range keysForFeatureUsage { 511 dAtA[i] = 0x4a 512 i++ 513 v := m.FeatureUsage[string(k)] 514 mapSize := 1 + len(k) + sovDiagnostics(uint64(len(k))) + 1 + sovDiagnostics(uint64(v)) 515 i = encodeVarintDiagnostics(dAtA, i, uint64(mapSize)) 516 dAtA[i] = 0xa 517 i++ 518 i = encodeVarintDiagnostics(dAtA, i, uint64(len(k))) 519 i += copy(dAtA[i:], k) 520 dAtA[i] = 0x10 521 i++ 522 i = encodeVarintDiagnostics(dAtA, i, uint64(v)) 523 } 524 } 525 return i, nil 526 } 527 528 func (m *NodeInfo) Marshal() (dAtA []byte, err error) { 529 size := m.Size() 530 dAtA = make([]byte, size) 531 n, err := m.MarshalTo(dAtA) 532 if err != nil { 533 return nil, err 534 } 535 return dAtA[:n], nil 536 } 537 538 func (m *NodeInfo) MarshalTo(dAtA []byte) (int, error) { 539 var i int 540 _ = i 541 var l int 542 _ = l 543 if m.NodeID != 0 { 544 dAtA[i] = 0x8 545 i++ 546 i = encodeVarintDiagnostics(dAtA, i, uint64(m.NodeID)) 547 } 548 if m.Bytes != 0 { 549 dAtA[i] = 0x10 550 i++ 551 i = encodeVarintDiagnostics(dAtA, i, uint64(m.Bytes)) 552 } 553 if m.KeyCount != 0 { 554 dAtA[i] = 0x18 555 i++ 556 i = encodeVarintDiagnostics(dAtA, i, uint64(m.KeyCount)) 557 } 558 if m.RangeCount != 0 { 559 dAtA[i] = 0x20 560 i++ 561 i = encodeVarintDiagnostics(dAtA, i, uint64(m.RangeCount)) 562 } 563 dAtA[i] = 0x2a 564 i++ 565 i = encodeVarintDiagnostics(dAtA, i, uint64(m.Locality.Size())) 566 n3, err := m.Locality.MarshalTo(dAtA[i:]) 567 if err != nil { 568 return 0, err 569 } 570 i += n3 571 dAtA[i] = 0x32 572 i++ 573 i = encodeVarintDiagnostics(dAtA, i, uint64(m.Hardware.Size())) 574 n4, err := m.Hardware.MarshalTo(dAtA[i:]) 575 if err != nil { 576 return 0, err 577 } 578 i += n4 579 dAtA[i] = 0x3a 580 i++ 581 i = encodeVarintDiagnostics(dAtA, i, uint64(m.Os.Size())) 582 n5, err := m.Os.MarshalTo(dAtA[i:]) 583 if err != nil { 584 return 0, err 585 } 586 i += n5 587 dAtA[i] = 0x42 588 i++ 589 i = encodeVarintDiagnostics(dAtA, i, uint64(m.Build.Size())) 590 n6, err := m.Build.MarshalTo(dAtA[i:]) 591 if err != nil { 592 return 0, err 593 } 594 i += n6 595 if m.Uptime != 0 { 596 dAtA[i] = 0x48 597 i++ 598 i = encodeVarintDiagnostics(dAtA, i, uint64(m.Uptime)) 599 } 600 if len(m.LicenseType) > 0 { 601 dAtA[i] = 0x52 602 i++ 603 i = encodeVarintDiagnostics(dAtA, i, uint64(len(m.LicenseType))) 604 i += copy(dAtA[i:], m.LicenseType) 605 } 606 dAtA[i] = 0x5a 607 i++ 608 i = encodeVarintDiagnostics(dAtA, i, uint64(m.Topology.Size())) 609 n7, err := m.Topology.MarshalTo(dAtA[i:]) 610 if err != nil { 611 return 0, err 612 } 613 i += n7 614 return i, nil 615 } 616 617 func (m *StoreInfo) Marshal() (dAtA []byte, err error) { 618 size := m.Size() 619 dAtA = make([]byte, size) 620 n, err := m.MarshalTo(dAtA) 621 if err != nil { 622 return nil, err 623 } 624 return dAtA[:n], nil 625 } 626 627 func (m *StoreInfo) MarshalTo(dAtA []byte) (int, error) { 628 var i int 629 _ = i 630 var l int 631 _ = l 632 if m.NodeID != 0 { 633 dAtA[i] = 0x8 634 i++ 635 i = encodeVarintDiagnostics(dAtA, i, uint64(m.NodeID)) 636 } 637 if m.StoreID != 0 { 638 dAtA[i] = 0x10 639 i++ 640 i = encodeVarintDiagnostics(dAtA, i, uint64(m.StoreID)) 641 } 642 if m.Bytes != 0 { 643 dAtA[i] = 0x18 644 i++ 645 i = encodeVarintDiagnostics(dAtA, i, uint64(m.Bytes)) 646 } 647 if m.KeyCount != 0 { 648 dAtA[i] = 0x20 649 i++ 650 i = encodeVarintDiagnostics(dAtA, i, uint64(m.KeyCount)) 651 } 652 if m.RangeCount != 0 { 653 dAtA[i] = 0x28 654 i++ 655 i = encodeVarintDiagnostics(dAtA, i, uint64(m.RangeCount)) 656 } 657 if m.Capacity != 0 { 658 dAtA[i] = 0x30 659 i++ 660 i = encodeVarintDiagnostics(dAtA, i, uint64(m.Capacity)) 661 } 662 if m.Available != 0 { 663 dAtA[i] = 0x38 664 i++ 665 i = encodeVarintDiagnostics(dAtA, i, uint64(m.Available)) 666 } 667 if m.Used != 0 { 668 dAtA[i] = 0x40 669 i++ 670 i = encodeVarintDiagnostics(dAtA, i, uint64(m.Used)) 671 } 672 if m.EncryptionAlgorithm != 0 { 673 dAtA[i] = 0x48 674 i++ 675 i = encodeVarintDiagnostics(dAtA, i, uint64(m.EncryptionAlgorithm)) 676 } 677 return i, nil 678 } 679 680 func (m *CPUInfo) Marshal() (dAtA []byte, err error) { 681 size := m.Size() 682 dAtA = make([]byte, size) 683 n, err := m.MarshalTo(dAtA) 684 if err != nil { 685 return nil, err 686 } 687 return dAtA[:n], nil 688 } 689 690 func (m *CPUInfo) MarshalTo(dAtA []byte) (int, error) { 691 var i int 692 _ = i 693 var l int 694 _ = l 695 if m.Numcpu != 0 { 696 dAtA[i] = 0x8 697 i++ 698 i = encodeVarintDiagnostics(dAtA, i, uint64(m.Numcpu)) 699 } 700 if m.Sockets != 0 { 701 dAtA[i] = 0x10 702 i++ 703 i = encodeVarintDiagnostics(dAtA, i, uint64(m.Sockets)) 704 } 705 if m.Cores != 0 { 706 dAtA[i] = 0x18 707 i++ 708 i = encodeVarintDiagnostics(dAtA, i, uint64(m.Cores)) 709 } 710 if len(m.Model) > 0 { 711 dAtA[i] = 0x22 712 i++ 713 i = encodeVarintDiagnostics(dAtA, i, uint64(len(m.Model))) 714 i += copy(dAtA[i:], m.Model) 715 } 716 if m.Mhz != 0 { 717 dAtA[i] = 0x2d 718 i++ 719 encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.Mhz)))) 720 i += 4 721 } 722 if len(m.Features) > 0 { 723 for _, s := range m.Features { 724 dAtA[i] = 0x32 725 i++ 726 l = len(s) 727 for l >= 1<<7 { 728 dAtA[i] = uint8(uint64(l)&0x7f | 0x80) 729 l >>= 7 730 i++ 731 } 732 dAtA[i] = uint8(l) 733 i++ 734 i += copy(dAtA[i:], s) 735 } 736 } 737 return i, nil 738 } 739 740 func (m *HardwareInfo) Marshal() (dAtA []byte, err error) { 741 size := m.Size() 742 dAtA = make([]byte, size) 743 n, err := m.MarshalTo(dAtA) 744 if err != nil { 745 return nil, err 746 } 747 return dAtA[:n], nil 748 } 749 750 func (m *HardwareInfo) MarshalTo(dAtA []byte) (int, error) { 751 var i int 752 _ = i 753 var l int 754 _ = l 755 if len(m.Virtualization) > 0 { 756 dAtA[i] = 0xa 757 i++ 758 i = encodeVarintDiagnostics(dAtA, i, uint64(len(m.Virtualization))) 759 i += copy(dAtA[i:], m.Virtualization) 760 } 761 dAtA[i] = 0x12 762 i++ 763 i = encodeVarintDiagnostics(dAtA, i, uint64(m.Cpu.Size())) 764 n8, err := m.Cpu.MarshalTo(dAtA[i:]) 765 if err != nil { 766 return 0, err 767 } 768 i += n8 769 dAtA[i] = 0x1a 770 i++ 771 i = encodeVarintDiagnostics(dAtA, i, uint64(m.Mem.Size())) 772 n9, err := m.Mem.MarshalTo(dAtA[i:]) 773 if err != nil { 774 return 0, err 775 } 776 i += n9 777 if m.Loadavg15 != 0 { 778 dAtA[i] = 0x25 779 i++ 780 encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.Loadavg15)))) 781 i += 4 782 } 783 if len(m.Provider) > 0 { 784 dAtA[i] = 0x2a 785 i++ 786 i = encodeVarintDiagnostics(dAtA, i, uint64(len(m.Provider))) 787 i += copy(dAtA[i:], m.Provider) 788 } 789 if len(m.InstanceClass) > 0 { 790 dAtA[i] = 0x32 791 i++ 792 i = encodeVarintDiagnostics(dAtA, i, uint64(len(m.InstanceClass))) 793 i += copy(dAtA[i:], m.InstanceClass) 794 } 795 return i, nil 796 } 797 798 func (m *OSInfo) Marshal() (dAtA []byte, err error) { 799 size := m.Size() 800 dAtA = make([]byte, size) 801 n, err := m.MarshalTo(dAtA) 802 if err != nil { 803 return nil, err 804 } 805 return dAtA[:n], nil 806 } 807 808 func (m *OSInfo) MarshalTo(dAtA []byte) (int, error) { 809 var i int 810 _ = i 811 var l int 812 _ = l 813 if len(m.Family) > 0 { 814 dAtA[i] = 0xa 815 i++ 816 i = encodeVarintDiagnostics(dAtA, i, uint64(len(m.Family))) 817 i += copy(dAtA[i:], m.Family) 818 } 819 if len(m.Platform) > 0 { 820 dAtA[i] = 0x12 821 i++ 822 i = encodeVarintDiagnostics(dAtA, i, uint64(len(m.Platform))) 823 i += copy(dAtA[i:], m.Platform) 824 } 825 if len(m.Version) > 0 { 826 dAtA[i] = 0x1a 827 i++ 828 i = encodeVarintDiagnostics(dAtA, i, uint64(len(m.Version))) 829 i += copy(dAtA[i:], m.Version) 830 } 831 return i, nil 832 } 833 834 func (m *MemInfo) Marshal() (dAtA []byte, err error) { 835 size := m.Size() 836 dAtA = make([]byte, size) 837 n, err := m.MarshalTo(dAtA) 838 if err != nil { 839 return nil, err 840 } 841 return dAtA[:n], nil 842 } 843 844 func (m *MemInfo) MarshalTo(dAtA []byte) (int, error) { 845 var i int 846 _ = i 847 var l int 848 _ = l 849 if m.Total != 0 { 850 dAtA[i] = 0x8 851 i++ 852 i = encodeVarintDiagnostics(dAtA, i, uint64(m.Total)) 853 } 854 if m.Available != 0 { 855 dAtA[i] = 0x10 856 i++ 857 i = encodeVarintDiagnostics(dAtA, i, uint64(m.Available)) 858 } 859 return i, nil 860 } 861 862 func (m *TopologyInfo) Marshal() (dAtA []byte, err error) { 863 size := m.Size() 864 dAtA = make([]byte, size) 865 n, err := m.MarshalTo(dAtA) 866 if err != nil { 867 return nil, err 868 } 869 return dAtA[:n], nil 870 } 871 872 func (m *TopologyInfo) MarshalTo(dAtA []byte) (int, error) { 873 var i int 874 _ = i 875 var l int 876 _ = l 877 if len(m.Provider) > 0 { 878 dAtA[i] = 0xa 879 i++ 880 i = encodeVarintDiagnostics(dAtA, i, uint64(len(m.Provider))) 881 i += copy(dAtA[i:], m.Provider) 882 } 883 if len(m.Region) > 0 { 884 dAtA[i] = 0x12 885 i++ 886 i = encodeVarintDiagnostics(dAtA, i, uint64(len(m.Region))) 887 i += copy(dAtA[i:], m.Region) 888 } 889 return i, nil 890 } 891 892 func encodeVarintDiagnostics(dAtA []byte, offset int, v uint64) int { 893 for v >= 1<<7 { 894 dAtA[offset] = uint8(v&0x7f | 0x80) 895 v >>= 7 896 offset++ 897 } 898 dAtA[offset] = uint8(v) 899 return offset + 1 900 } 901 func (m *DiagnosticReport) Size() (n int) { 902 if m == nil { 903 return 0 904 } 905 var l int 906 _ = l 907 l = m.Node.Size() 908 n += 1 + l + sovDiagnostics(uint64(l)) 909 if len(m.Stores) > 0 { 910 for _, e := range m.Stores { 911 l = e.Size() 912 n += 1 + l + sovDiagnostics(uint64(l)) 913 } 914 } 915 if len(m.Schema) > 0 { 916 for _, e := range m.Schema { 917 l = e.Size() 918 n += 1 + l + sovDiagnostics(uint64(l)) 919 } 920 } 921 if len(m.SqlStats) > 0 { 922 for _, e := range m.SqlStats { 923 l = e.Size() 924 n += 1 + l + sovDiagnostics(uint64(l)) 925 } 926 } 927 if len(m.LegacyUnimplementedErrors) > 0 { 928 for k, v := range m.LegacyUnimplementedErrors { 929 _ = k 930 _ = v 931 mapEntrySize := 1 + len(k) + sovDiagnostics(uint64(len(k))) + 1 + sovDiagnostics(uint64(v)) 932 n += mapEntrySize + 1 + sovDiagnostics(uint64(mapEntrySize)) 933 } 934 } 935 if len(m.AlteredSettings) > 0 { 936 for k, v := range m.AlteredSettings { 937 _ = k 938 _ = v 939 mapEntrySize := 1 + len(k) + sovDiagnostics(uint64(len(k))) + 1 + len(v) + sovDiagnostics(uint64(len(v))) 940 n += mapEntrySize + 1 + sovDiagnostics(uint64(mapEntrySize)) 941 } 942 } 943 if len(m.LegacyErrorCounts) > 0 { 944 for k, v := range m.LegacyErrorCounts { 945 _ = k 946 _ = v 947 mapEntrySize := 1 + len(k) + sovDiagnostics(uint64(len(k))) + 1 + sovDiagnostics(uint64(v)) 948 n += mapEntrySize + 1 + sovDiagnostics(uint64(mapEntrySize)) 949 } 950 } 951 if len(m.ZoneConfigs) > 0 { 952 for k, v := range m.ZoneConfigs { 953 _ = k 954 _ = v 955 l = v.Size() 956 mapEntrySize := 1 + sovDiagnostics(uint64(k)) + 1 + l + sovDiagnostics(uint64(l)) 957 n += mapEntrySize + 1 + sovDiagnostics(uint64(mapEntrySize)) 958 } 959 } 960 if len(m.FeatureUsage) > 0 { 961 for k, v := range m.FeatureUsage { 962 _ = k 963 _ = v 964 mapEntrySize := 1 + len(k) + sovDiagnostics(uint64(len(k))) + 1 + sovDiagnostics(uint64(v)) 965 n += mapEntrySize + 1 + sovDiagnostics(uint64(mapEntrySize)) 966 } 967 } 968 return n 969 } 970 971 func (m *NodeInfo) Size() (n int) { 972 if m == nil { 973 return 0 974 } 975 var l int 976 _ = l 977 if m.NodeID != 0 { 978 n += 1 + sovDiagnostics(uint64(m.NodeID)) 979 } 980 if m.Bytes != 0 { 981 n += 1 + sovDiagnostics(uint64(m.Bytes)) 982 } 983 if m.KeyCount != 0 { 984 n += 1 + sovDiagnostics(uint64(m.KeyCount)) 985 } 986 if m.RangeCount != 0 { 987 n += 1 + sovDiagnostics(uint64(m.RangeCount)) 988 } 989 l = m.Locality.Size() 990 n += 1 + l + sovDiagnostics(uint64(l)) 991 l = m.Hardware.Size() 992 n += 1 + l + sovDiagnostics(uint64(l)) 993 l = m.Os.Size() 994 n += 1 + l + sovDiagnostics(uint64(l)) 995 l = m.Build.Size() 996 n += 1 + l + sovDiagnostics(uint64(l)) 997 if m.Uptime != 0 { 998 n += 1 + sovDiagnostics(uint64(m.Uptime)) 999 } 1000 l = len(m.LicenseType) 1001 if l > 0 { 1002 n += 1 + l + sovDiagnostics(uint64(l)) 1003 } 1004 l = m.Topology.Size() 1005 n += 1 + l + sovDiagnostics(uint64(l)) 1006 return n 1007 } 1008 1009 func (m *StoreInfo) Size() (n int) { 1010 if m == nil { 1011 return 0 1012 } 1013 var l int 1014 _ = l 1015 if m.NodeID != 0 { 1016 n += 1 + sovDiagnostics(uint64(m.NodeID)) 1017 } 1018 if m.StoreID != 0 { 1019 n += 1 + sovDiagnostics(uint64(m.StoreID)) 1020 } 1021 if m.Bytes != 0 { 1022 n += 1 + sovDiagnostics(uint64(m.Bytes)) 1023 } 1024 if m.KeyCount != 0 { 1025 n += 1 + sovDiagnostics(uint64(m.KeyCount)) 1026 } 1027 if m.RangeCount != 0 { 1028 n += 1 + sovDiagnostics(uint64(m.RangeCount)) 1029 } 1030 if m.Capacity != 0 { 1031 n += 1 + sovDiagnostics(uint64(m.Capacity)) 1032 } 1033 if m.Available != 0 { 1034 n += 1 + sovDiagnostics(uint64(m.Available)) 1035 } 1036 if m.Used != 0 { 1037 n += 1 + sovDiagnostics(uint64(m.Used)) 1038 } 1039 if m.EncryptionAlgorithm != 0 { 1040 n += 1 + sovDiagnostics(uint64(m.EncryptionAlgorithm)) 1041 } 1042 return n 1043 } 1044 1045 func (m *CPUInfo) Size() (n int) { 1046 if m == nil { 1047 return 0 1048 } 1049 var l int 1050 _ = l 1051 if m.Numcpu != 0 { 1052 n += 1 + sovDiagnostics(uint64(m.Numcpu)) 1053 } 1054 if m.Sockets != 0 { 1055 n += 1 + sovDiagnostics(uint64(m.Sockets)) 1056 } 1057 if m.Cores != 0 { 1058 n += 1 + sovDiagnostics(uint64(m.Cores)) 1059 } 1060 l = len(m.Model) 1061 if l > 0 { 1062 n += 1 + l + sovDiagnostics(uint64(l)) 1063 } 1064 if m.Mhz != 0 { 1065 n += 5 1066 } 1067 if len(m.Features) > 0 { 1068 for _, s := range m.Features { 1069 l = len(s) 1070 n += 1 + l + sovDiagnostics(uint64(l)) 1071 } 1072 } 1073 return n 1074 } 1075 1076 func (m *HardwareInfo) Size() (n int) { 1077 if m == nil { 1078 return 0 1079 } 1080 var l int 1081 _ = l 1082 l = len(m.Virtualization) 1083 if l > 0 { 1084 n += 1 + l + sovDiagnostics(uint64(l)) 1085 } 1086 l = m.Cpu.Size() 1087 n += 1 + l + sovDiagnostics(uint64(l)) 1088 l = m.Mem.Size() 1089 n += 1 + l + sovDiagnostics(uint64(l)) 1090 if m.Loadavg15 != 0 { 1091 n += 5 1092 } 1093 l = len(m.Provider) 1094 if l > 0 { 1095 n += 1 + l + sovDiagnostics(uint64(l)) 1096 } 1097 l = len(m.InstanceClass) 1098 if l > 0 { 1099 n += 1 + l + sovDiagnostics(uint64(l)) 1100 } 1101 return n 1102 } 1103 1104 func (m *OSInfo) Size() (n int) { 1105 if m == nil { 1106 return 0 1107 } 1108 var l int 1109 _ = l 1110 l = len(m.Family) 1111 if l > 0 { 1112 n += 1 + l + sovDiagnostics(uint64(l)) 1113 } 1114 l = len(m.Platform) 1115 if l > 0 { 1116 n += 1 + l + sovDiagnostics(uint64(l)) 1117 } 1118 l = len(m.Version) 1119 if l > 0 { 1120 n += 1 + l + sovDiagnostics(uint64(l)) 1121 } 1122 return n 1123 } 1124 1125 func (m *MemInfo) Size() (n int) { 1126 if m == nil { 1127 return 0 1128 } 1129 var l int 1130 _ = l 1131 if m.Total != 0 { 1132 n += 1 + sovDiagnostics(uint64(m.Total)) 1133 } 1134 if m.Available != 0 { 1135 n += 1 + sovDiagnostics(uint64(m.Available)) 1136 } 1137 return n 1138 } 1139 1140 func (m *TopologyInfo) Size() (n int) { 1141 if m == nil { 1142 return 0 1143 } 1144 var l int 1145 _ = l 1146 l = len(m.Provider) 1147 if l > 0 { 1148 n += 1 + l + sovDiagnostics(uint64(l)) 1149 } 1150 l = len(m.Region) 1151 if l > 0 { 1152 n += 1 + l + sovDiagnostics(uint64(l)) 1153 } 1154 return n 1155 } 1156 1157 func sovDiagnostics(x uint64) (n int) { 1158 for { 1159 n++ 1160 x >>= 7 1161 if x == 0 { 1162 break 1163 } 1164 } 1165 return n 1166 } 1167 func sozDiagnostics(x uint64) (n int) { 1168 return sovDiagnostics(uint64((x << 1) ^ uint64((int64(x) >> 63)))) 1169 } 1170 func (m *DiagnosticReport) Unmarshal(dAtA []byte) error { 1171 l := len(dAtA) 1172 iNdEx := 0 1173 for iNdEx < l { 1174 preIndex := iNdEx 1175 var wire uint64 1176 for shift := uint(0); ; shift += 7 { 1177 if shift >= 64 { 1178 return ErrIntOverflowDiagnostics 1179 } 1180 if iNdEx >= l { 1181 return io.ErrUnexpectedEOF 1182 } 1183 b := dAtA[iNdEx] 1184 iNdEx++ 1185 wire |= (uint64(b) & 0x7F) << shift 1186 if b < 0x80 { 1187 break 1188 } 1189 } 1190 fieldNum := int32(wire >> 3) 1191 wireType := int(wire & 0x7) 1192 if wireType == 4 { 1193 return fmt.Errorf("proto: DiagnosticReport: wiretype end group for non-group") 1194 } 1195 if fieldNum <= 0 { 1196 return fmt.Errorf("proto: DiagnosticReport: illegal tag %d (wire type %d)", fieldNum, wire) 1197 } 1198 switch fieldNum { 1199 case 1: 1200 if wireType != 2 { 1201 return fmt.Errorf("proto: wrong wireType = %d for field Node", wireType) 1202 } 1203 var msglen int 1204 for shift := uint(0); ; shift += 7 { 1205 if shift >= 64 { 1206 return ErrIntOverflowDiagnostics 1207 } 1208 if iNdEx >= l { 1209 return io.ErrUnexpectedEOF 1210 } 1211 b := dAtA[iNdEx] 1212 iNdEx++ 1213 msglen |= (int(b) & 0x7F) << shift 1214 if b < 0x80 { 1215 break 1216 } 1217 } 1218 if msglen < 0 { 1219 return ErrInvalidLengthDiagnostics 1220 } 1221 postIndex := iNdEx + msglen 1222 if postIndex > l { 1223 return io.ErrUnexpectedEOF 1224 } 1225 if err := m.Node.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 1226 return err 1227 } 1228 iNdEx = postIndex 1229 case 2: 1230 if wireType != 2 { 1231 return fmt.Errorf("proto: wrong wireType = %d for field Stores", wireType) 1232 } 1233 var msglen int 1234 for shift := uint(0); ; shift += 7 { 1235 if shift >= 64 { 1236 return ErrIntOverflowDiagnostics 1237 } 1238 if iNdEx >= l { 1239 return io.ErrUnexpectedEOF 1240 } 1241 b := dAtA[iNdEx] 1242 iNdEx++ 1243 msglen |= (int(b) & 0x7F) << shift 1244 if b < 0x80 { 1245 break 1246 } 1247 } 1248 if msglen < 0 { 1249 return ErrInvalidLengthDiagnostics 1250 } 1251 postIndex := iNdEx + msglen 1252 if postIndex > l { 1253 return io.ErrUnexpectedEOF 1254 } 1255 m.Stores = append(m.Stores, StoreInfo{}) 1256 if err := m.Stores[len(m.Stores)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 1257 return err 1258 } 1259 iNdEx = postIndex 1260 case 3: 1261 if wireType != 2 { 1262 return fmt.Errorf("proto: wrong wireType = %d for field Schema", wireType) 1263 } 1264 var msglen int 1265 for shift := uint(0); ; shift += 7 { 1266 if shift >= 64 { 1267 return ErrIntOverflowDiagnostics 1268 } 1269 if iNdEx >= l { 1270 return io.ErrUnexpectedEOF 1271 } 1272 b := dAtA[iNdEx] 1273 iNdEx++ 1274 msglen |= (int(b) & 0x7F) << shift 1275 if b < 0x80 { 1276 break 1277 } 1278 } 1279 if msglen < 0 { 1280 return ErrInvalidLengthDiagnostics 1281 } 1282 postIndex := iNdEx + msglen 1283 if postIndex > l { 1284 return io.ErrUnexpectedEOF 1285 } 1286 m.Schema = append(m.Schema, sqlbase.TableDescriptor{}) 1287 if err := m.Schema[len(m.Schema)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 1288 return err 1289 } 1290 iNdEx = postIndex 1291 case 4: 1292 if wireType != 2 { 1293 return fmt.Errorf("proto: wrong wireType = %d for field SqlStats", wireType) 1294 } 1295 var msglen int 1296 for shift := uint(0); ; shift += 7 { 1297 if shift >= 64 { 1298 return ErrIntOverflowDiagnostics 1299 } 1300 if iNdEx >= l { 1301 return io.ErrUnexpectedEOF 1302 } 1303 b := dAtA[iNdEx] 1304 iNdEx++ 1305 msglen |= (int(b) & 0x7F) << shift 1306 if b < 0x80 { 1307 break 1308 } 1309 } 1310 if msglen < 0 { 1311 return ErrInvalidLengthDiagnostics 1312 } 1313 postIndex := iNdEx + msglen 1314 if postIndex > l { 1315 return io.ErrUnexpectedEOF 1316 } 1317 m.SqlStats = append(m.SqlStats, roachpb.CollectedStatementStatistics{}) 1318 if err := m.SqlStats[len(m.SqlStats)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 1319 return err 1320 } 1321 iNdEx = postIndex 1322 case 5: 1323 if wireType != 2 { 1324 return fmt.Errorf("proto: wrong wireType = %d for field LegacyUnimplementedErrors", wireType) 1325 } 1326 var msglen int 1327 for shift := uint(0); ; shift += 7 { 1328 if shift >= 64 { 1329 return ErrIntOverflowDiagnostics 1330 } 1331 if iNdEx >= l { 1332 return io.ErrUnexpectedEOF 1333 } 1334 b := dAtA[iNdEx] 1335 iNdEx++ 1336 msglen |= (int(b) & 0x7F) << shift 1337 if b < 0x80 { 1338 break 1339 } 1340 } 1341 if msglen < 0 { 1342 return ErrInvalidLengthDiagnostics 1343 } 1344 postIndex := iNdEx + msglen 1345 if postIndex > l { 1346 return io.ErrUnexpectedEOF 1347 } 1348 if m.LegacyUnimplementedErrors == nil { 1349 m.LegacyUnimplementedErrors = make(map[string]int64) 1350 } 1351 var mapkey string 1352 var mapvalue int64 1353 for iNdEx < postIndex { 1354 entryPreIndex := iNdEx 1355 var wire uint64 1356 for shift := uint(0); ; shift += 7 { 1357 if shift >= 64 { 1358 return ErrIntOverflowDiagnostics 1359 } 1360 if iNdEx >= l { 1361 return io.ErrUnexpectedEOF 1362 } 1363 b := dAtA[iNdEx] 1364 iNdEx++ 1365 wire |= (uint64(b) & 0x7F) << shift 1366 if b < 0x80 { 1367 break 1368 } 1369 } 1370 fieldNum := int32(wire >> 3) 1371 if fieldNum == 1 { 1372 var stringLenmapkey uint64 1373 for shift := uint(0); ; shift += 7 { 1374 if shift >= 64 { 1375 return ErrIntOverflowDiagnostics 1376 } 1377 if iNdEx >= l { 1378 return io.ErrUnexpectedEOF 1379 } 1380 b := dAtA[iNdEx] 1381 iNdEx++ 1382 stringLenmapkey |= (uint64(b) & 0x7F) << shift 1383 if b < 0x80 { 1384 break 1385 } 1386 } 1387 intStringLenmapkey := int(stringLenmapkey) 1388 if intStringLenmapkey < 0 { 1389 return ErrInvalidLengthDiagnostics 1390 } 1391 postStringIndexmapkey := iNdEx + intStringLenmapkey 1392 if postStringIndexmapkey > l { 1393 return io.ErrUnexpectedEOF 1394 } 1395 mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) 1396 iNdEx = postStringIndexmapkey 1397 } else if fieldNum == 2 { 1398 for shift := uint(0); ; shift += 7 { 1399 if shift >= 64 { 1400 return ErrIntOverflowDiagnostics 1401 } 1402 if iNdEx >= l { 1403 return io.ErrUnexpectedEOF 1404 } 1405 b := dAtA[iNdEx] 1406 iNdEx++ 1407 mapvalue |= (int64(b) & 0x7F) << shift 1408 if b < 0x80 { 1409 break 1410 } 1411 } 1412 } else { 1413 iNdEx = entryPreIndex 1414 skippy, err := skipDiagnostics(dAtA[iNdEx:]) 1415 if err != nil { 1416 return err 1417 } 1418 if skippy < 0 { 1419 return ErrInvalidLengthDiagnostics 1420 } 1421 if (iNdEx + skippy) > postIndex { 1422 return io.ErrUnexpectedEOF 1423 } 1424 iNdEx += skippy 1425 } 1426 } 1427 m.LegacyUnimplementedErrors[mapkey] = mapvalue 1428 iNdEx = postIndex 1429 case 6: 1430 if wireType != 2 { 1431 return fmt.Errorf("proto: wrong wireType = %d for field AlteredSettings", wireType) 1432 } 1433 var msglen int 1434 for shift := uint(0); ; shift += 7 { 1435 if shift >= 64 { 1436 return ErrIntOverflowDiagnostics 1437 } 1438 if iNdEx >= l { 1439 return io.ErrUnexpectedEOF 1440 } 1441 b := dAtA[iNdEx] 1442 iNdEx++ 1443 msglen |= (int(b) & 0x7F) << shift 1444 if b < 0x80 { 1445 break 1446 } 1447 } 1448 if msglen < 0 { 1449 return ErrInvalidLengthDiagnostics 1450 } 1451 postIndex := iNdEx + msglen 1452 if postIndex > l { 1453 return io.ErrUnexpectedEOF 1454 } 1455 if m.AlteredSettings == nil { 1456 m.AlteredSettings = make(map[string]string) 1457 } 1458 var mapkey string 1459 var mapvalue string 1460 for iNdEx < postIndex { 1461 entryPreIndex := iNdEx 1462 var wire uint64 1463 for shift := uint(0); ; shift += 7 { 1464 if shift >= 64 { 1465 return ErrIntOverflowDiagnostics 1466 } 1467 if iNdEx >= l { 1468 return io.ErrUnexpectedEOF 1469 } 1470 b := dAtA[iNdEx] 1471 iNdEx++ 1472 wire |= (uint64(b) & 0x7F) << shift 1473 if b < 0x80 { 1474 break 1475 } 1476 } 1477 fieldNum := int32(wire >> 3) 1478 if fieldNum == 1 { 1479 var stringLenmapkey uint64 1480 for shift := uint(0); ; shift += 7 { 1481 if shift >= 64 { 1482 return ErrIntOverflowDiagnostics 1483 } 1484 if iNdEx >= l { 1485 return io.ErrUnexpectedEOF 1486 } 1487 b := dAtA[iNdEx] 1488 iNdEx++ 1489 stringLenmapkey |= (uint64(b) & 0x7F) << shift 1490 if b < 0x80 { 1491 break 1492 } 1493 } 1494 intStringLenmapkey := int(stringLenmapkey) 1495 if intStringLenmapkey < 0 { 1496 return ErrInvalidLengthDiagnostics 1497 } 1498 postStringIndexmapkey := iNdEx + intStringLenmapkey 1499 if postStringIndexmapkey > l { 1500 return io.ErrUnexpectedEOF 1501 } 1502 mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) 1503 iNdEx = postStringIndexmapkey 1504 } else if fieldNum == 2 { 1505 var stringLenmapvalue uint64 1506 for shift := uint(0); ; shift += 7 { 1507 if shift >= 64 { 1508 return ErrIntOverflowDiagnostics 1509 } 1510 if iNdEx >= l { 1511 return io.ErrUnexpectedEOF 1512 } 1513 b := dAtA[iNdEx] 1514 iNdEx++ 1515 stringLenmapvalue |= (uint64(b) & 0x7F) << shift 1516 if b < 0x80 { 1517 break 1518 } 1519 } 1520 intStringLenmapvalue := int(stringLenmapvalue) 1521 if intStringLenmapvalue < 0 { 1522 return ErrInvalidLengthDiagnostics 1523 } 1524 postStringIndexmapvalue := iNdEx + intStringLenmapvalue 1525 if postStringIndexmapvalue > l { 1526 return io.ErrUnexpectedEOF 1527 } 1528 mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) 1529 iNdEx = postStringIndexmapvalue 1530 } else { 1531 iNdEx = entryPreIndex 1532 skippy, err := skipDiagnostics(dAtA[iNdEx:]) 1533 if err != nil { 1534 return err 1535 } 1536 if skippy < 0 { 1537 return ErrInvalidLengthDiagnostics 1538 } 1539 if (iNdEx + skippy) > postIndex { 1540 return io.ErrUnexpectedEOF 1541 } 1542 iNdEx += skippy 1543 } 1544 } 1545 m.AlteredSettings[mapkey] = mapvalue 1546 iNdEx = postIndex 1547 case 7: 1548 if wireType != 2 { 1549 return fmt.Errorf("proto: wrong wireType = %d for field LegacyErrorCounts", wireType) 1550 } 1551 var msglen int 1552 for shift := uint(0); ; shift += 7 { 1553 if shift >= 64 { 1554 return ErrIntOverflowDiagnostics 1555 } 1556 if iNdEx >= l { 1557 return io.ErrUnexpectedEOF 1558 } 1559 b := dAtA[iNdEx] 1560 iNdEx++ 1561 msglen |= (int(b) & 0x7F) << shift 1562 if b < 0x80 { 1563 break 1564 } 1565 } 1566 if msglen < 0 { 1567 return ErrInvalidLengthDiagnostics 1568 } 1569 postIndex := iNdEx + msglen 1570 if postIndex > l { 1571 return io.ErrUnexpectedEOF 1572 } 1573 if m.LegacyErrorCounts == nil { 1574 m.LegacyErrorCounts = make(map[string]int64) 1575 } 1576 var mapkey string 1577 var mapvalue int64 1578 for iNdEx < postIndex { 1579 entryPreIndex := iNdEx 1580 var wire uint64 1581 for shift := uint(0); ; shift += 7 { 1582 if shift >= 64 { 1583 return ErrIntOverflowDiagnostics 1584 } 1585 if iNdEx >= l { 1586 return io.ErrUnexpectedEOF 1587 } 1588 b := dAtA[iNdEx] 1589 iNdEx++ 1590 wire |= (uint64(b) & 0x7F) << shift 1591 if b < 0x80 { 1592 break 1593 } 1594 } 1595 fieldNum := int32(wire >> 3) 1596 if fieldNum == 1 { 1597 var stringLenmapkey uint64 1598 for shift := uint(0); ; shift += 7 { 1599 if shift >= 64 { 1600 return ErrIntOverflowDiagnostics 1601 } 1602 if iNdEx >= l { 1603 return io.ErrUnexpectedEOF 1604 } 1605 b := dAtA[iNdEx] 1606 iNdEx++ 1607 stringLenmapkey |= (uint64(b) & 0x7F) << shift 1608 if b < 0x80 { 1609 break 1610 } 1611 } 1612 intStringLenmapkey := int(stringLenmapkey) 1613 if intStringLenmapkey < 0 { 1614 return ErrInvalidLengthDiagnostics 1615 } 1616 postStringIndexmapkey := iNdEx + intStringLenmapkey 1617 if postStringIndexmapkey > l { 1618 return io.ErrUnexpectedEOF 1619 } 1620 mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) 1621 iNdEx = postStringIndexmapkey 1622 } else if fieldNum == 2 { 1623 for shift := uint(0); ; shift += 7 { 1624 if shift >= 64 { 1625 return ErrIntOverflowDiagnostics 1626 } 1627 if iNdEx >= l { 1628 return io.ErrUnexpectedEOF 1629 } 1630 b := dAtA[iNdEx] 1631 iNdEx++ 1632 mapvalue |= (int64(b) & 0x7F) << shift 1633 if b < 0x80 { 1634 break 1635 } 1636 } 1637 } else { 1638 iNdEx = entryPreIndex 1639 skippy, err := skipDiagnostics(dAtA[iNdEx:]) 1640 if err != nil { 1641 return err 1642 } 1643 if skippy < 0 { 1644 return ErrInvalidLengthDiagnostics 1645 } 1646 if (iNdEx + skippy) > postIndex { 1647 return io.ErrUnexpectedEOF 1648 } 1649 iNdEx += skippy 1650 } 1651 } 1652 m.LegacyErrorCounts[mapkey] = mapvalue 1653 iNdEx = postIndex 1654 case 8: 1655 if wireType != 2 { 1656 return fmt.Errorf("proto: wrong wireType = %d for field ZoneConfigs", wireType) 1657 } 1658 var msglen int 1659 for shift := uint(0); ; shift += 7 { 1660 if shift >= 64 { 1661 return ErrIntOverflowDiagnostics 1662 } 1663 if iNdEx >= l { 1664 return io.ErrUnexpectedEOF 1665 } 1666 b := dAtA[iNdEx] 1667 iNdEx++ 1668 msglen |= (int(b) & 0x7F) << shift 1669 if b < 0x80 { 1670 break 1671 } 1672 } 1673 if msglen < 0 { 1674 return ErrInvalidLengthDiagnostics 1675 } 1676 postIndex := iNdEx + msglen 1677 if postIndex > l { 1678 return io.ErrUnexpectedEOF 1679 } 1680 if m.ZoneConfigs == nil { 1681 m.ZoneConfigs = make(map[int64]zonepb.ZoneConfig) 1682 } 1683 var mapkey int64 1684 mapvalue := &zonepb.ZoneConfig{} 1685 for iNdEx < postIndex { 1686 entryPreIndex := iNdEx 1687 var wire uint64 1688 for shift := uint(0); ; shift += 7 { 1689 if shift >= 64 { 1690 return ErrIntOverflowDiagnostics 1691 } 1692 if iNdEx >= l { 1693 return io.ErrUnexpectedEOF 1694 } 1695 b := dAtA[iNdEx] 1696 iNdEx++ 1697 wire |= (uint64(b) & 0x7F) << shift 1698 if b < 0x80 { 1699 break 1700 } 1701 } 1702 fieldNum := int32(wire >> 3) 1703 if fieldNum == 1 { 1704 for shift := uint(0); ; shift += 7 { 1705 if shift >= 64 { 1706 return ErrIntOverflowDiagnostics 1707 } 1708 if iNdEx >= l { 1709 return io.ErrUnexpectedEOF 1710 } 1711 b := dAtA[iNdEx] 1712 iNdEx++ 1713 mapkey |= (int64(b) & 0x7F) << shift 1714 if b < 0x80 { 1715 break 1716 } 1717 } 1718 } else if fieldNum == 2 { 1719 var mapmsglen int 1720 for shift := uint(0); ; shift += 7 { 1721 if shift >= 64 { 1722 return ErrIntOverflowDiagnostics 1723 } 1724 if iNdEx >= l { 1725 return io.ErrUnexpectedEOF 1726 } 1727 b := dAtA[iNdEx] 1728 iNdEx++ 1729 mapmsglen |= (int(b) & 0x7F) << shift 1730 if b < 0x80 { 1731 break 1732 } 1733 } 1734 if mapmsglen < 0 { 1735 return ErrInvalidLengthDiagnostics 1736 } 1737 postmsgIndex := iNdEx + mapmsglen 1738 if mapmsglen < 0 { 1739 return ErrInvalidLengthDiagnostics 1740 } 1741 if postmsgIndex > l { 1742 return io.ErrUnexpectedEOF 1743 } 1744 mapvalue = &zonepb.ZoneConfig{} 1745 if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil { 1746 return err 1747 } 1748 iNdEx = postmsgIndex 1749 } else { 1750 iNdEx = entryPreIndex 1751 skippy, err := skipDiagnostics(dAtA[iNdEx:]) 1752 if err != nil { 1753 return err 1754 } 1755 if skippy < 0 { 1756 return ErrInvalidLengthDiagnostics 1757 } 1758 if (iNdEx + skippy) > postIndex { 1759 return io.ErrUnexpectedEOF 1760 } 1761 iNdEx += skippy 1762 } 1763 } 1764 m.ZoneConfigs[mapkey] = *mapvalue 1765 iNdEx = postIndex 1766 case 9: 1767 if wireType != 2 { 1768 return fmt.Errorf("proto: wrong wireType = %d for field FeatureUsage", wireType) 1769 } 1770 var msglen int 1771 for shift := uint(0); ; shift += 7 { 1772 if shift >= 64 { 1773 return ErrIntOverflowDiagnostics 1774 } 1775 if iNdEx >= l { 1776 return io.ErrUnexpectedEOF 1777 } 1778 b := dAtA[iNdEx] 1779 iNdEx++ 1780 msglen |= (int(b) & 0x7F) << shift 1781 if b < 0x80 { 1782 break 1783 } 1784 } 1785 if msglen < 0 { 1786 return ErrInvalidLengthDiagnostics 1787 } 1788 postIndex := iNdEx + msglen 1789 if postIndex > l { 1790 return io.ErrUnexpectedEOF 1791 } 1792 if m.FeatureUsage == nil { 1793 m.FeatureUsage = make(map[string]int32) 1794 } 1795 var mapkey string 1796 var mapvalue int32 1797 for iNdEx < postIndex { 1798 entryPreIndex := iNdEx 1799 var wire uint64 1800 for shift := uint(0); ; shift += 7 { 1801 if shift >= 64 { 1802 return ErrIntOverflowDiagnostics 1803 } 1804 if iNdEx >= l { 1805 return io.ErrUnexpectedEOF 1806 } 1807 b := dAtA[iNdEx] 1808 iNdEx++ 1809 wire |= (uint64(b) & 0x7F) << shift 1810 if b < 0x80 { 1811 break 1812 } 1813 } 1814 fieldNum := int32(wire >> 3) 1815 if fieldNum == 1 { 1816 var stringLenmapkey uint64 1817 for shift := uint(0); ; shift += 7 { 1818 if shift >= 64 { 1819 return ErrIntOverflowDiagnostics 1820 } 1821 if iNdEx >= l { 1822 return io.ErrUnexpectedEOF 1823 } 1824 b := dAtA[iNdEx] 1825 iNdEx++ 1826 stringLenmapkey |= (uint64(b) & 0x7F) << shift 1827 if b < 0x80 { 1828 break 1829 } 1830 } 1831 intStringLenmapkey := int(stringLenmapkey) 1832 if intStringLenmapkey < 0 { 1833 return ErrInvalidLengthDiagnostics 1834 } 1835 postStringIndexmapkey := iNdEx + intStringLenmapkey 1836 if postStringIndexmapkey > l { 1837 return io.ErrUnexpectedEOF 1838 } 1839 mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) 1840 iNdEx = postStringIndexmapkey 1841 } else if fieldNum == 2 { 1842 for shift := uint(0); ; shift += 7 { 1843 if shift >= 64 { 1844 return ErrIntOverflowDiagnostics 1845 } 1846 if iNdEx >= l { 1847 return io.ErrUnexpectedEOF 1848 } 1849 b := dAtA[iNdEx] 1850 iNdEx++ 1851 mapvalue |= (int32(b) & 0x7F) << shift 1852 if b < 0x80 { 1853 break 1854 } 1855 } 1856 } else { 1857 iNdEx = entryPreIndex 1858 skippy, err := skipDiagnostics(dAtA[iNdEx:]) 1859 if err != nil { 1860 return err 1861 } 1862 if skippy < 0 { 1863 return ErrInvalidLengthDiagnostics 1864 } 1865 if (iNdEx + skippy) > postIndex { 1866 return io.ErrUnexpectedEOF 1867 } 1868 iNdEx += skippy 1869 } 1870 } 1871 m.FeatureUsage[mapkey] = mapvalue 1872 iNdEx = postIndex 1873 default: 1874 iNdEx = preIndex 1875 skippy, err := skipDiagnostics(dAtA[iNdEx:]) 1876 if err != nil { 1877 return err 1878 } 1879 if skippy < 0 { 1880 return ErrInvalidLengthDiagnostics 1881 } 1882 if (iNdEx + skippy) > l { 1883 return io.ErrUnexpectedEOF 1884 } 1885 iNdEx += skippy 1886 } 1887 } 1888 1889 if iNdEx > l { 1890 return io.ErrUnexpectedEOF 1891 } 1892 return nil 1893 } 1894 func (m *NodeInfo) Unmarshal(dAtA []byte) error { 1895 l := len(dAtA) 1896 iNdEx := 0 1897 for iNdEx < l { 1898 preIndex := iNdEx 1899 var wire uint64 1900 for shift := uint(0); ; shift += 7 { 1901 if shift >= 64 { 1902 return ErrIntOverflowDiagnostics 1903 } 1904 if iNdEx >= l { 1905 return io.ErrUnexpectedEOF 1906 } 1907 b := dAtA[iNdEx] 1908 iNdEx++ 1909 wire |= (uint64(b) & 0x7F) << shift 1910 if b < 0x80 { 1911 break 1912 } 1913 } 1914 fieldNum := int32(wire >> 3) 1915 wireType := int(wire & 0x7) 1916 if wireType == 4 { 1917 return fmt.Errorf("proto: NodeInfo: wiretype end group for non-group") 1918 } 1919 if fieldNum <= 0 { 1920 return fmt.Errorf("proto: NodeInfo: illegal tag %d (wire type %d)", fieldNum, wire) 1921 } 1922 switch fieldNum { 1923 case 1: 1924 if wireType != 0 { 1925 return fmt.Errorf("proto: wrong wireType = %d for field NodeID", wireType) 1926 } 1927 m.NodeID = 0 1928 for shift := uint(0); ; shift += 7 { 1929 if shift >= 64 { 1930 return ErrIntOverflowDiagnostics 1931 } 1932 if iNdEx >= l { 1933 return io.ErrUnexpectedEOF 1934 } 1935 b := dAtA[iNdEx] 1936 iNdEx++ 1937 m.NodeID |= (github_com_cockroachdb_cockroach_pkg_roachpb.NodeID(b) & 0x7F) << shift 1938 if b < 0x80 { 1939 break 1940 } 1941 } 1942 case 2: 1943 if wireType != 0 { 1944 return fmt.Errorf("proto: wrong wireType = %d for field Bytes", wireType) 1945 } 1946 m.Bytes = 0 1947 for shift := uint(0); ; shift += 7 { 1948 if shift >= 64 { 1949 return ErrIntOverflowDiagnostics 1950 } 1951 if iNdEx >= l { 1952 return io.ErrUnexpectedEOF 1953 } 1954 b := dAtA[iNdEx] 1955 iNdEx++ 1956 m.Bytes |= (int64(b) & 0x7F) << shift 1957 if b < 0x80 { 1958 break 1959 } 1960 } 1961 case 3: 1962 if wireType != 0 { 1963 return fmt.Errorf("proto: wrong wireType = %d for field KeyCount", wireType) 1964 } 1965 m.KeyCount = 0 1966 for shift := uint(0); ; shift += 7 { 1967 if shift >= 64 { 1968 return ErrIntOverflowDiagnostics 1969 } 1970 if iNdEx >= l { 1971 return io.ErrUnexpectedEOF 1972 } 1973 b := dAtA[iNdEx] 1974 iNdEx++ 1975 m.KeyCount |= (int64(b) & 0x7F) << shift 1976 if b < 0x80 { 1977 break 1978 } 1979 } 1980 case 4: 1981 if wireType != 0 { 1982 return fmt.Errorf("proto: wrong wireType = %d for field RangeCount", wireType) 1983 } 1984 m.RangeCount = 0 1985 for shift := uint(0); ; shift += 7 { 1986 if shift >= 64 { 1987 return ErrIntOverflowDiagnostics 1988 } 1989 if iNdEx >= l { 1990 return io.ErrUnexpectedEOF 1991 } 1992 b := dAtA[iNdEx] 1993 iNdEx++ 1994 m.RangeCount |= (int64(b) & 0x7F) << shift 1995 if b < 0x80 { 1996 break 1997 } 1998 } 1999 case 5: 2000 if wireType != 2 { 2001 return fmt.Errorf("proto: wrong wireType = %d for field Locality", wireType) 2002 } 2003 var msglen int 2004 for shift := uint(0); ; shift += 7 { 2005 if shift >= 64 { 2006 return ErrIntOverflowDiagnostics 2007 } 2008 if iNdEx >= l { 2009 return io.ErrUnexpectedEOF 2010 } 2011 b := dAtA[iNdEx] 2012 iNdEx++ 2013 msglen |= (int(b) & 0x7F) << shift 2014 if b < 0x80 { 2015 break 2016 } 2017 } 2018 if msglen < 0 { 2019 return ErrInvalidLengthDiagnostics 2020 } 2021 postIndex := iNdEx + msglen 2022 if postIndex > l { 2023 return io.ErrUnexpectedEOF 2024 } 2025 if err := m.Locality.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 2026 return err 2027 } 2028 iNdEx = postIndex 2029 case 6: 2030 if wireType != 2 { 2031 return fmt.Errorf("proto: wrong wireType = %d for field Hardware", wireType) 2032 } 2033 var msglen int 2034 for shift := uint(0); ; shift += 7 { 2035 if shift >= 64 { 2036 return ErrIntOverflowDiagnostics 2037 } 2038 if iNdEx >= l { 2039 return io.ErrUnexpectedEOF 2040 } 2041 b := dAtA[iNdEx] 2042 iNdEx++ 2043 msglen |= (int(b) & 0x7F) << shift 2044 if b < 0x80 { 2045 break 2046 } 2047 } 2048 if msglen < 0 { 2049 return ErrInvalidLengthDiagnostics 2050 } 2051 postIndex := iNdEx + msglen 2052 if postIndex > l { 2053 return io.ErrUnexpectedEOF 2054 } 2055 if err := m.Hardware.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 2056 return err 2057 } 2058 iNdEx = postIndex 2059 case 7: 2060 if wireType != 2 { 2061 return fmt.Errorf("proto: wrong wireType = %d for field Os", wireType) 2062 } 2063 var msglen int 2064 for shift := uint(0); ; shift += 7 { 2065 if shift >= 64 { 2066 return ErrIntOverflowDiagnostics 2067 } 2068 if iNdEx >= l { 2069 return io.ErrUnexpectedEOF 2070 } 2071 b := dAtA[iNdEx] 2072 iNdEx++ 2073 msglen |= (int(b) & 0x7F) << shift 2074 if b < 0x80 { 2075 break 2076 } 2077 } 2078 if msglen < 0 { 2079 return ErrInvalidLengthDiagnostics 2080 } 2081 postIndex := iNdEx + msglen 2082 if postIndex > l { 2083 return io.ErrUnexpectedEOF 2084 } 2085 if err := m.Os.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 2086 return err 2087 } 2088 iNdEx = postIndex 2089 case 8: 2090 if wireType != 2 { 2091 return fmt.Errorf("proto: wrong wireType = %d for field Build", wireType) 2092 } 2093 var msglen int 2094 for shift := uint(0); ; shift += 7 { 2095 if shift >= 64 { 2096 return ErrIntOverflowDiagnostics 2097 } 2098 if iNdEx >= l { 2099 return io.ErrUnexpectedEOF 2100 } 2101 b := dAtA[iNdEx] 2102 iNdEx++ 2103 msglen |= (int(b) & 0x7F) << shift 2104 if b < 0x80 { 2105 break 2106 } 2107 } 2108 if msglen < 0 { 2109 return ErrInvalidLengthDiagnostics 2110 } 2111 postIndex := iNdEx + msglen 2112 if postIndex > l { 2113 return io.ErrUnexpectedEOF 2114 } 2115 if err := m.Build.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 2116 return err 2117 } 2118 iNdEx = postIndex 2119 case 9: 2120 if wireType != 0 { 2121 return fmt.Errorf("proto: wrong wireType = %d for field Uptime", wireType) 2122 } 2123 m.Uptime = 0 2124 for shift := uint(0); ; shift += 7 { 2125 if shift >= 64 { 2126 return ErrIntOverflowDiagnostics 2127 } 2128 if iNdEx >= l { 2129 return io.ErrUnexpectedEOF 2130 } 2131 b := dAtA[iNdEx] 2132 iNdEx++ 2133 m.Uptime |= (int64(b) & 0x7F) << shift 2134 if b < 0x80 { 2135 break 2136 } 2137 } 2138 case 10: 2139 if wireType != 2 { 2140 return fmt.Errorf("proto: wrong wireType = %d for field LicenseType", wireType) 2141 } 2142 var stringLen uint64 2143 for shift := uint(0); ; shift += 7 { 2144 if shift >= 64 { 2145 return ErrIntOverflowDiagnostics 2146 } 2147 if iNdEx >= l { 2148 return io.ErrUnexpectedEOF 2149 } 2150 b := dAtA[iNdEx] 2151 iNdEx++ 2152 stringLen |= (uint64(b) & 0x7F) << shift 2153 if b < 0x80 { 2154 break 2155 } 2156 } 2157 intStringLen := int(stringLen) 2158 if intStringLen < 0 { 2159 return ErrInvalidLengthDiagnostics 2160 } 2161 postIndex := iNdEx + intStringLen 2162 if postIndex > l { 2163 return io.ErrUnexpectedEOF 2164 } 2165 m.LicenseType = string(dAtA[iNdEx:postIndex]) 2166 iNdEx = postIndex 2167 case 11: 2168 if wireType != 2 { 2169 return fmt.Errorf("proto: wrong wireType = %d for field Topology", wireType) 2170 } 2171 var msglen int 2172 for shift := uint(0); ; shift += 7 { 2173 if shift >= 64 { 2174 return ErrIntOverflowDiagnostics 2175 } 2176 if iNdEx >= l { 2177 return io.ErrUnexpectedEOF 2178 } 2179 b := dAtA[iNdEx] 2180 iNdEx++ 2181 msglen |= (int(b) & 0x7F) << shift 2182 if b < 0x80 { 2183 break 2184 } 2185 } 2186 if msglen < 0 { 2187 return ErrInvalidLengthDiagnostics 2188 } 2189 postIndex := iNdEx + msglen 2190 if postIndex > l { 2191 return io.ErrUnexpectedEOF 2192 } 2193 if err := m.Topology.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 2194 return err 2195 } 2196 iNdEx = postIndex 2197 default: 2198 iNdEx = preIndex 2199 skippy, err := skipDiagnostics(dAtA[iNdEx:]) 2200 if err != nil { 2201 return err 2202 } 2203 if skippy < 0 { 2204 return ErrInvalidLengthDiagnostics 2205 } 2206 if (iNdEx + skippy) > l { 2207 return io.ErrUnexpectedEOF 2208 } 2209 iNdEx += skippy 2210 } 2211 } 2212 2213 if iNdEx > l { 2214 return io.ErrUnexpectedEOF 2215 } 2216 return nil 2217 } 2218 func (m *StoreInfo) Unmarshal(dAtA []byte) error { 2219 l := len(dAtA) 2220 iNdEx := 0 2221 for iNdEx < l { 2222 preIndex := iNdEx 2223 var wire uint64 2224 for shift := uint(0); ; shift += 7 { 2225 if shift >= 64 { 2226 return ErrIntOverflowDiagnostics 2227 } 2228 if iNdEx >= l { 2229 return io.ErrUnexpectedEOF 2230 } 2231 b := dAtA[iNdEx] 2232 iNdEx++ 2233 wire |= (uint64(b) & 0x7F) << shift 2234 if b < 0x80 { 2235 break 2236 } 2237 } 2238 fieldNum := int32(wire >> 3) 2239 wireType := int(wire & 0x7) 2240 if wireType == 4 { 2241 return fmt.Errorf("proto: StoreInfo: wiretype end group for non-group") 2242 } 2243 if fieldNum <= 0 { 2244 return fmt.Errorf("proto: StoreInfo: illegal tag %d (wire type %d)", fieldNum, wire) 2245 } 2246 switch fieldNum { 2247 case 1: 2248 if wireType != 0 { 2249 return fmt.Errorf("proto: wrong wireType = %d for field NodeID", wireType) 2250 } 2251 m.NodeID = 0 2252 for shift := uint(0); ; shift += 7 { 2253 if shift >= 64 { 2254 return ErrIntOverflowDiagnostics 2255 } 2256 if iNdEx >= l { 2257 return io.ErrUnexpectedEOF 2258 } 2259 b := dAtA[iNdEx] 2260 iNdEx++ 2261 m.NodeID |= (github_com_cockroachdb_cockroach_pkg_roachpb.NodeID(b) & 0x7F) << shift 2262 if b < 0x80 { 2263 break 2264 } 2265 } 2266 case 2: 2267 if wireType != 0 { 2268 return fmt.Errorf("proto: wrong wireType = %d for field StoreID", wireType) 2269 } 2270 m.StoreID = 0 2271 for shift := uint(0); ; shift += 7 { 2272 if shift >= 64 { 2273 return ErrIntOverflowDiagnostics 2274 } 2275 if iNdEx >= l { 2276 return io.ErrUnexpectedEOF 2277 } 2278 b := dAtA[iNdEx] 2279 iNdEx++ 2280 m.StoreID |= (github_com_cockroachdb_cockroach_pkg_roachpb.StoreID(b) & 0x7F) << shift 2281 if b < 0x80 { 2282 break 2283 } 2284 } 2285 case 3: 2286 if wireType != 0 { 2287 return fmt.Errorf("proto: wrong wireType = %d for field Bytes", wireType) 2288 } 2289 m.Bytes = 0 2290 for shift := uint(0); ; shift += 7 { 2291 if shift >= 64 { 2292 return ErrIntOverflowDiagnostics 2293 } 2294 if iNdEx >= l { 2295 return io.ErrUnexpectedEOF 2296 } 2297 b := dAtA[iNdEx] 2298 iNdEx++ 2299 m.Bytes |= (int64(b) & 0x7F) << shift 2300 if b < 0x80 { 2301 break 2302 } 2303 } 2304 case 4: 2305 if wireType != 0 { 2306 return fmt.Errorf("proto: wrong wireType = %d for field KeyCount", wireType) 2307 } 2308 m.KeyCount = 0 2309 for shift := uint(0); ; shift += 7 { 2310 if shift >= 64 { 2311 return ErrIntOverflowDiagnostics 2312 } 2313 if iNdEx >= l { 2314 return io.ErrUnexpectedEOF 2315 } 2316 b := dAtA[iNdEx] 2317 iNdEx++ 2318 m.KeyCount |= (int64(b) & 0x7F) << shift 2319 if b < 0x80 { 2320 break 2321 } 2322 } 2323 case 5: 2324 if wireType != 0 { 2325 return fmt.Errorf("proto: wrong wireType = %d for field RangeCount", wireType) 2326 } 2327 m.RangeCount = 0 2328 for shift := uint(0); ; shift += 7 { 2329 if shift >= 64 { 2330 return ErrIntOverflowDiagnostics 2331 } 2332 if iNdEx >= l { 2333 return io.ErrUnexpectedEOF 2334 } 2335 b := dAtA[iNdEx] 2336 iNdEx++ 2337 m.RangeCount |= (int64(b) & 0x7F) << shift 2338 if b < 0x80 { 2339 break 2340 } 2341 } 2342 case 6: 2343 if wireType != 0 { 2344 return fmt.Errorf("proto: wrong wireType = %d for field Capacity", wireType) 2345 } 2346 m.Capacity = 0 2347 for shift := uint(0); ; shift += 7 { 2348 if shift >= 64 { 2349 return ErrIntOverflowDiagnostics 2350 } 2351 if iNdEx >= l { 2352 return io.ErrUnexpectedEOF 2353 } 2354 b := dAtA[iNdEx] 2355 iNdEx++ 2356 m.Capacity |= (int64(b) & 0x7F) << shift 2357 if b < 0x80 { 2358 break 2359 } 2360 } 2361 case 7: 2362 if wireType != 0 { 2363 return fmt.Errorf("proto: wrong wireType = %d for field Available", wireType) 2364 } 2365 m.Available = 0 2366 for shift := uint(0); ; shift += 7 { 2367 if shift >= 64 { 2368 return ErrIntOverflowDiagnostics 2369 } 2370 if iNdEx >= l { 2371 return io.ErrUnexpectedEOF 2372 } 2373 b := dAtA[iNdEx] 2374 iNdEx++ 2375 m.Available |= (int64(b) & 0x7F) << shift 2376 if b < 0x80 { 2377 break 2378 } 2379 } 2380 case 8: 2381 if wireType != 0 { 2382 return fmt.Errorf("proto: wrong wireType = %d for field Used", wireType) 2383 } 2384 m.Used = 0 2385 for shift := uint(0); ; shift += 7 { 2386 if shift >= 64 { 2387 return ErrIntOverflowDiagnostics 2388 } 2389 if iNdEx >= l { 2390 return io.ErrUnexpectedEOF 2391 } 2392 b := dAtA[iNdEx] 2393 iNdEx++ 2394 m.Used |= (int64(b) & 0x7F) << shift 2395 if b < 0x80 { 2396 break 2397 } 2398 } 2399 case 9: 2400 if wireType != 0 { 2401 return fmt.Errorf("proto: wrong wireType = %d for field EncryptionAlgorithm", wireType) 2402 } 2403 m.EncryptionAlgorithm = 0 2404 for shift := uint(0); ; shift += 7 { 2405 if shift >= 64 { 2406 return ErrIntOverflowDiagnostics 2407 } 2408 if iNdEx >= l { 2409 return io.ErrUnexpectedEOF 2410 } 2411 b := dAtA[iNdEx] 2412 iNdEx++ 2413 m.EncryptionAlgorithm |= (int64(b) & 0x7F) << shift 2414 if b < 0x80 { 2415 break 2416 } 2417 } 2418 default: 2419 iNdEx = preIndex 2420 skippy, err := skipDiagnostics(dAtA[iNdEx:]) 2421 if err != nil { 2422 return err 2423 } 2424 if skippy < 0 { 2425 return ErrInvalidLengthDiagnostics 2426 } 2427 if (iNdEx + skippy) > l { 2428 return io.ErrUnexpectedEOF 2429 } 2430 iNdEx += skippy 2431 } 2432 } 2433 2434 if iNdEx > l { 2435 return io.ErrUnexpectedEOF 2436 } 2437 return nil 2438 } 2439 func (m *CPUInfo) Unmarshal(dAtA []byte) error { 2440 l := len(dAtA) 2441 iNdEx := 0 2442 for iNdEx < l { 2443 preIndex := iNdEx 2444 var wire uint64 2445 for shift := uint(0); ; shift += 7 { 2446 if shift >= 64 { 2447 return ErrIntOverflowDiagnostics 2448 } 2449 if iNdEx >= l { 2450 return io.ErrUnexpectedEOF 2451 } 2452 b := dAtA[iNdEx] 2453 iNdEx++ 2454 wire |= (uint64(b) & 0x7F) << shift 2455 if b < 0x80 { 2456 break 2457 } 2458 } 2459 fieldNum := int32(wire >> 3) 2460 wireType := int(wire & 0x7) 2461 if wireType == 4 { 2462 return fmt.Errorf("proto: CPUInfo: wiretype end group for non-group") 2463 } 2464 if fieldNum <= 0 { 2465 return fmt.Errorf("proto: CPUInfo: illegal tag %d (wire type %d)", fieldNum, wire) 2466 } 2467 switch fieldNum { 2468 case 1: 2469 if wireType != 0 { 2470 return fmt.Errorf("proto: wrong wireType = %d for field Numcpu", wireType) 2471 } 2472 m.Numcpu = 0 2473 for shift := uint(0); ; shift += 7 { 2474 if shift >= 64 { 2475 return ErrIntOverflowDiagnostics 2476 } 2477 if iNdEx >= l { 2478 return io.ErrUnexpectedEOF 2479 } 2480 b := dAtA[iNdEx] 2481 iNdEx++ 2482 m.Numcpu |= (int32(b) & 0x7F) << shift 2483 if b < 0x80 { 2484 break 2485 } 2486 } 2487 case 2: 2488 if wireType != 0 { 2489 return fmt.Errorf("proto: wrong wireType = %d for field Sockets", wireType) 2490 } 2491 m.Sockets = 0 2492 for shift := uint(0); ; shift += 7 { 2493 if shift >= 64 { 2494 return ErrIntOverflowDiagnostics 2495 } 2496 if iNdEx >= l { 2497 return io.ErrUnexpectedEOF 2498 } 2499 b := dAtA[iNdEx] 2500 iNdEx++ 2501 m.Sockets |= (int32(b) & 0x7F) << shift 2502 if b < 0x80 { 2503 break 2504 } 2505 } 2506 case 3: 2507 if wireType != 0 { 2508 return fmt.Errorf("proto: wrong wireType = %d for field Cores", wireType) 2509 } 2510 m.Cores = 0 2511 for shift := uint(0); ; shift += 7 { 2512 if shift >= 64 { 2513 return ErrIntOverflowDiagnostics 2514 } 2515 if iNdEx >= l { 2516 return io.ErrUnexpectedEOF 2517 } 2518 b := dAtA[iNdEx] 2519 iNdEx++ 2520 m.Cores |= (int32(b) & 0x7F) << shift 2521 if b < 0x80 { 2522 break 2523 } 2524 } 2525 case 4: 2526 if wireType != 2 { 2527 return fmt.Errorf("proto: wrong wireType = %d for field Model", wireType) 2528 } 2529 var stringLen uint64 2530 for shift := uint(0); ; shift += 7 { 2531 if shift >= 64 { 2532 return ErrIntOverflowDiagnostics 2533 } 2534 if iNdEx >= l { 2535 return io.ErrUnexpectedEOF 2536 } 2537 b := dAtA[iNdEx] 2538 iNdEx++ 2539 stringLen |= (uint64(b) & 0x7F) << shift 2540 if b < 0x80 { 2541 break 2542 } 2543 } 2544 intStringLen := int(stringLen) 2545 if intStringLen < 0 { 2546 return ErrInvalidLengthDiagnostics 2547 } 2548 postIndex := iNdEx + intStringLen 2549 if postIndex > l { 2550 return io.ErrUnexpectedEOF 2551 } 2552 m.Model = string(dAtA[iNdEx:postIndex]) 2553 iNdEx = postIndex 2554 case 5: 2555 if wireType != 5 { 2556 return fmt.Errorf("proto: wrong wireType = %d for field Mhz", wireType) 2557 } 2558 var v uint32 2559 if (iNdEx + 4) > l { 2560 return io.ErrUnexpectedEOF 2561 } 2562 v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) 2563 iNdEx += 4 2564 m.Mhz = float32(math.Float32frombits(v)) 2565 case 6: 2566 if wireType != 2 { 2567 return fmt.Errorf("proto: wrong wireType = %d for field Features", wireType) 2568 } 2569 var stringLen uint64 2570 for shift := uint(0); ; shift += 7 { 2571 if shift >= 64 { 2572 return ErrIntOverflowDiagnostics 2573 } 2574 if iNdEx >= l { 2575 return io.ErrUnexpectedEOF 2576 } 2577 b := dAtA[iNdEx] 2578 iNdEx++ 2579 stringLen |= (uint64(b) & 0x7F) << shift 2580 if b < 0x80 { 2581 break 2582 } 2583 } 2584 intStringLen := int(stringLen) 2585 if intStringLen < 0 { 2586 return ErrInvalidLengthDiagnostics 2587 } 2588 postIndex := iNdEx + intStringLen 2589 if postIndex > l { 2590 return io.ErrUnexpectedEOF 2591 } 2592 m.Features = append(m.Features, string(dAtA[iNdEx:postIndex])) 2593 iNdEx = postIndex 2594 default: 2595 iNdEx = preIndex 2596 skippy, err := skipDiagnostics(dAtA[iNdEx:]) 2597 if err != nil { 2598 return err 2599 } 2600 if skippy < 0 { 2601 return ErrInvalidLengthDiagnostics 2602 } 2603 if (iNdEx + skippy) > l { 2604 return io.ErrUnexpectedEOF 2605 } 2606 iNdEx += skippy 2607 } 2608 } 2609 2610 if iNdEx > l { 2611 return io.ErrUnexpectedEOF 2612 } 2613 return nil 2614 } 2615 func (m *HardwareInfo) Unmarshal(dAtA []byte) error { 2616 l := len(dAtA) 2617 iNdEx := 0 2618 for iNdEx < l { 2619 preIndex := iNdEx 2620 var wire uint64 2621 for shift := uint(0); ; shift += 7 { 2622 if shift >= 64 { 2623 return ErrIntOverflowDiagnostics 2624 } 2625 if iNdEx >= l { 2626 return io.ErrUnexpectedEOF 2627 } 2628 b := dAtA[iNdEx] 2629 iNdEx++ 2630 wire |= (uint64(b) & 0x7F) << shift 2631 if b < 0x80 { 2632 break 2633 } 2634 } 2635 fieldNum := int32(wire >> 3) 2636 wireType := int(wire & 0x7) 2637 if wireType == 4 { 2638 return fmt.Errorf("proto: HardwareInfo: wiretype end group for non-group") 2639 } 2640 if fieldNum <= 0 { 2641 return fmt.Errorf("proto: HardwareInfo: illegal tag %d (wire type %d)", fieldNum, wire) 2642 } 2643 switch fieldNum { 2644 case 1: 2645 if wireType != 2 { 2646 return fmt.Errorf("proto: wrong wireType = %d for field Virtualization", wireType) 2647 } 2648 var stringLen uint64 2649 for shift := uint(0); ; shift += 7 { 2650 if shift >= 64 { 2651 return ErrIntOverflowDiagnostics 2652 } 2653 if iNdEx >= l { 2654 return io.ErrUnexpectedEOF 2655 } 2656 b := dAtA[iNdEx] 2657 iNdEx++ 2658 stringLen |= (uint64(b) & 0x7F) << shift 2659 if b < 0x80 { 2660 break 2661 } 2662 } 2663 intStringLen := int(stringLen) 2664 if intStringLen < 0 { 2665 return ErrInvalidLengthDiagnostics 2666 } 2667 postIndex := iNdEx + intStringLen 2668 if postIndex > l { 2669 return io.ErrUnexpectedEOF 2670 } 2671 m.Virtualization = string(dAtA[iNdEx:postIndex]) 2672 iNdEx = postIndex 2673 case 2: 2674 if wireType != 2 { 2675 return fmt.Errorf("proto: wrong wireType = %d for field Cpu", wireType) 2676 } 2677 var msglen int 2678 for shift := uint(0); ; shift += 7 { 2679 if shift >= 64 { 2680 return ErrIntOverflowDiagnostics 2681 } 2682 if iNdEx >= l { 2683 return io.ErrUnexpectedEOF 2684 } 2685 b := dAtA[iNdEx] 2686 iNdEx++ 2687 msglen |= (int(b) & 0x7F) << shift 2688 if b < 0x80 { 2689 break 2690 } 2691 } 2692 if msglen < 0 { 2693 return ErrInvalidLengthDiagnostics 2694 } 2695 postIndex := iNdEx + msglen 2696 if postIndex > l { 2697 return io.ErrUnexpectedEOF 2698 } 2699 if err := m.Cpu.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 2700 return err 2701 } 2702 iNdEx = postIndex 2703 case 3: 2704 if wireType != 2 { 2705 return fmt.Errorf("proto: wrong wireType = %d for field Mem", wireType) 2706 } 2707 var msglen int 2708 for shift := uint(0); ; shift += 7 { 2709 if shift >= 64 { 2710 return ErrIntOverflowDiagnostics 2711 } 2712 if iNdEx >= l { 2713 return io.ErrUnexpectedEOF 2714 } 2715 b := dAtA[iNdEx] 2716 iNdEx++ 2717 msglen |= (int(b) & 0x7F) << shift 2718 if b < 0x80 { 2719 break 2720 } 2721 } 2722 if msglen < 0 { 2723 return ErrInvalidLengthDiagnostics 2724 } 2725 postIndex := iNdEx + msglen 2726 if postIndex > l { 2727 return io.ErrUnexpectedEOF 2728 } 2729 if err := m.Mem.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 2730 return err 2731 } 2732 iNdEx = postIndex 2733 case 4: 2734 if wireType != 5 { 2735 return fmt.Errorf("proto: wrong wireType = %d for field Loadavg15", wireType) 2736 } 2737 var v uint32 2738 if (iNdEx + 4) > l { 2739 return io.ErrUnexpectedEOF 2740 } 2741 v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) 2742 iNdEx += 4 2743 m.Loadavg15 = float32(math.Float32frombits(v)) 2744 case 5: 2745 if wireType != 2 { 2746 return fmt.Errorf("proto: wrong wireType = %d for field Provider", wireType) 2747 } 2748 var stringLen uint64 2749 for shift := uint(0); ; shift += 7 { 2750 if shift >= 64 { 2751 return ErrIntOverflowDiagnostics 2752 } 2753 if iNdEx >= l { 2754 return io.ErrUnexpectedEOF 2755 } 2756 b := dAtA[iNdEx] 2757 iNdEx++ 2758 stringLen |= (uint64(b) & 0x7F) << shift 2759 if b < 0x80 { 2760 break 2761 } 2762 } 2763 intStringLen := int(stringLen) 2764 if intStringLen < 0 { 2765 return ErrInvalidLengthDiagnostics 2766 } 2767 postIndex := iNdEx + intStringLen 2768 if postIndex > l { 2769 return io.ErrUnexpectedEOF 2770 } 2771 m.Provider = string(dAtA[iNdEx:postIndex]) 2772 iNdEx = postIndex 2773 case 6: 2774 if wireType != 2 { 2775 return fmt.Errorf("proto: wrong wireType = %d for field InstanceClass", wireType) 2776 } 2777 var stringLen uint64 2778 for shift := uint(0); ; shift += 7 { 2779 if shift >= 64 { 2780 return ErrIntOverflowDiagnostics 2781 } 2782 if iNdEx >= l { 2783 return io.ErrUnexpectedEOF 2784 } 2785 b := dAtA[iNdEx] 2786 iNdEx++ 2787 stringLen |= (uint64(b) & 0x7F) << shift 2788 if b < 0x80 { 2789 break 2790 } 2791 } 2792 intStringLen := int(stringLen) 2793 if intStringLen < 0 { 2794 return ErrInvalidLengthDiagnostics 2795 } 2796 postIndex := iNdEx + intStringLen 2797 if postIndex > l { 2798 return io.ErrUnexpectedEOF 2799 } 2800 m.InstanceClass = string(dAtA[iNdEx:postIndex]) 2801 iNdEx = postIndex 2802 default: 2803 iNdEx = preIndex 2804 skippy, err := skipDiagnostics(dAtA[iNdEx:]) 2805 if err != nil { 2806 return err 2807 } 2808 if skippy < 0 { 2809 return ErrInvalidLengthDiagnostics 2810 } 2811 if (iNdEx + skippy) > l { 2812 return io.ErrUnexpectedEOF 2813 } 2814 iNdEx += skippy 2815 } 2816 } 2817 2818 if iNdEx > l { 2819 return io.ErrUnexpectedEOF 2820 } 2821 return nil 2822 } 2823 func (m *OSInfo) Unmarshal(dAtA []byte) error { 2824 l := len(dAtA) 2825 iNdEx := 0 2826 for iNdEx < l { 2827 preIndex := iNdEx 2828 var wire uint64 2829 for shift := uint(0); ; shift += 7 { 2830 if shift >= 64 { 2831 return ErrIntOverflowDiagnostics 2832 } 2833 if iNdEx >= l { 2834 return io.ErrUnexpectedEOF 2835 } 2836 b := dAtA[iNdEx] 2837 iNdEx++ 2838 wire |= (uint64(b) & 0x7F) << shift 2839 if b < 0x80 { 2840 break 2841 } 2842 } 2843 fieldNum := int32(wire >> 3) 2844 wireType := int(wire & 0x7) 2845 if wireType == 4 { 2846 return fmt.Errorf("proto: OSInfo: wiretype end group for non-group") 2847 } 2848 if fieldNum <= 0 { 2849 return fmt.Errorf("proto: OSInfo: illegal tag %d (wire type %d)", fieldNum, wire) 2850 } 2851 switch fieldNum { 2852 case 1: 2853 if wireType != 2 { 2854 return fmt.Errorf("proto: wrong wireType = %d for field Family", wireType) 2855 } 2856 var stringLen uint64 2857 for shift := uint(0); ; shift += 7 { 2858 if shift >= 64 { 2859 return ErrIntOverflowDiagnostics 2860 } 2861 if iNdEx >= l { 2862 return io.ErrUnexpectedEOF 2863 } 2864 b := dAtA[iNdEx] 2865 iNdEx++ 2866 stringLen |= (uint64(b) & 0x7F) << shift 2867 if b < 0x80 { 2868 break 2869 } 2870 } 2871 intStringLen := int(stringLen) 2872 if intStringLen < 0 { 2873 return ErrInvalidLengthDiagnostics 2874 } 2875 postIndex := iNdEx + intStringLen 2876 if postIndex > l { 2877 return io.ErrUnexpectedEOF 2878 } 2879 m.Family = string(dAtA[iNdEx:postIndex]) 2880 iNdEx = postIndex 2881 case 2: 2882 if wireType != 2 { 2883 return fmt.Errorf("proto: wrong wireType = %d for field Platform", wireType) 2884 } 2885 var stringLen uint64 2886 for shift := uint(0); ; shift += 7 { 2887 if shift >= 64 { 2888 return ErrIntOverflowDiagnostics 2889 } 2890 if iNdEx >= l { 2891 return io.ErrUnexpectedEOF 2892 } 2893 b := dAtA[iNdEx] 2894 iNdEx++ 2895 stringLen |= (uint64(b) & 0x7F) << shift 2896 if b < 0x80 { 2897 break 2898 } 2899 } 2900 intStringLen := int(stringLen) 2901 if intStringLen < 0 { 2902 return ErrInvalidLengthDiagnostics 2903 } 2904 postIndex := iNdEx + intStringLen 2905 if postIndex > l { 2906 return io.ErrUnexpectedEOF 2907 } 2908 m.Platform = string(dAtA[iNdEx:postIndex]) 2909 iNdEx = postIndex 2910 case 3: 2911 if wireType != 2 { 2912 return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) 2913 } 2914 var stringLen uint64 2915 for shift := uint(0); ; shift += 7 { 2916 if shift >= 64 { 2917 return ErrIntOverflowDiagnostics 2918 } 2919 if iNdEx >= l { 2920 return io.ErrUnexpectedEOF 2921 } 2922 b := dAtA[iNdEx] 2923 iNdEx++ 2924 stringLen |= (uint64(b) & 0x7F) << shift 2925 if b < 0x80 { 2926 break 2927 } 2928 } 2929 intStringLen := int(stringLen) 2930 if intStringLen < 0 { 2931 return ErrInvalidLengthDiagnostics 2932 } 2933 postIndex := iNdEx + intStringLen 2934 if postIndex > l { 2935 return io.ErrUnexpectedEOF 2936 } 2937 m.Version = string(dAtA[iNdEx:postIndex]) 2938 iNdEx = postIndex 2939 default: 2940 iNdEx = preIndex 2941 skippy, err := skipDiagnostics(dAtA[iNdEx:]) 2942 if err != nil { 2943 return err 2944 } 2945 if skippy < 0 { 2946 return ErrInvalidLengthDiagnostics 2947 } 2948 if (iNdEx + skippy) > l { 2949 return io.ErrUnexpectedEOF 2950 } 2951 iNdEx += skippy 2952 } 2953 } 2954 2955 if iNdEx > l { 2956 return io.ErrUnexpectedEOF 2957 } 2958 return nil 2959 } 2960 func (m *MemInfo) Unmarshal(dAtA []byte) error { 2961 l := len(dAtA) 2962 iNdEx := 0 2963 for iNdEx < l { 2964 preIndex := iNdEx 2965 var wire uint64 2966 for shift := uint(0); ; shift += 7 { 2967 if shift >= 64 { 2968 return ErrIntOverflowDiagnostics 2969 } 2970 if iNdEx >= l { 2971 return io.ErrUnexpectedEOF 2972 } 2973 b := dAtA[iNdEx] 2974 iNdEx++ 2975 wire |= (uint64(b) & 0x7F) << shift 2976 if b < 0x80 { 2977 break 2978 } 2979 } 2980 fieldNum := int32(wire >> 3) 2981 wireType := int(wire & 0x7) 2982 if wireType == 4 { 2983 return fmt.Errorf("proto: MemInfo: wiretype end group for non-group") 2984 } 2985 if fieldNum <= 0 { 2986 return fmt.Errorf("proto: MemInfo: illegal tag %d (wire type %d)", fieldNum, wire) 2987 } 2988 switch fieldNum { 2989 case 1: 2990 if wireType != 0 { 2991 return fmt.Errorf("proto: wrong wireType = %d for field Total", wireType) 2992 } 2993 m.Total = 0 2994 for shift := uint(0); ; shift += 7 { 2995 if shift >= 64 { 2996 return ErrIntOverflowDiagnostics 2997 } 2998 if iNdEx >= l { 2999 return io.ErrUnexpectedEOF 3000 } 3001 b := dAtA[iNdEx] 3002 iNdEx++ 3003 m.Total |= (uint64(b) & 0x7F) << shift 3004 if b < 0x80 { 3005 break 3006 } 3007 } 3008 case 2: 3009 if wireType != 0 { 3010 return fmt.Errorf("proto: wrong wireType = %d for field Available", wireType) 3011 } 3012 m.Available = 0 3013 for shift := uint(0); ; shift += 7 { 3014 if shift >= 64 { 3015 return ErrIntOverflowDiagnostics 3016 } 3017 if iNdEx >= l { 3018 return io.ErrUnexpectedEOF 3019 } 3020 b := dAtA[iNdEx] 3021 iNdEx++ 3022 m.Available |= (uint64(b) & 0x7F) << shift 3023 if b < 0x80 { 3024 break 3025 } 3026 } 3027 default: 3028 iNdEx = preIndex 3029 skippy, err := skipDiagnostics(dAtA[iNdEx:]) 3030 if err != nil { 3031 return err 3032 } 3033 if skippy < 0 { 3034 return ErrInvalidLengthDiagnostics 3035 } 3036 if (iNdEx + skippy) > l { 3037 return io.ErrUnexpectedEOF 3038 } 3039 iNdEx += skippy 3040 } 3041 } 3042 3043 if iNdEx > l { 3044 return io.ErrUnexpectedEOF 3045 } 3046 return nil 3047 } 3048 func (m *TopologyInfo) Unmarshal(dAtA []byte) error { 3049 l := len(dAtA) 3050 iNdEx := 0 3051 for iNdEx < l { 3052 preIndex := iNdEx 3053 var wire uint64 3054 for shift := uint(0); ; shift += 7 { 3055 if shift >= 64 { 3056 return ErrIntOverflowDiagnostics 3057 } 3058 if iNdEx >= l { 3059 return io.ErrUnexpectedEOF 3060 } 3061 b := dAtA[iNdEx] 3062 iNdEx++ 3063 wire |= (uint64(b) & 0x7F) << shift 3064 if b < 0x80 { 3065 break 3066 } 3067 } 3068 fieldNum := int32(wire >> 3) 3069 wireType := int(wire & 0x7) 3070 if wireType == 4 { 3071 return fmt.Errorf("proto: TopologyInfo: wiretype end group for non-group") 3072 } 3073 if fieldNum <= 0 { 3074 return fmt.Errorf("proto: TopologyInfo: illegal tag %d (wire type %d)", fieldNum, wire) 3075 } 3076 switch fieldNum { 3077 case 1: 3078 if wireType != 2 { 3079 return fmt.Errorf("proto: wrong wireType = %d for field Provider", wireType) 3080 } 3081 var stringLen uint64 3082 for shift := uint(0); ; shift += 7 { 3083 if shift >= 64 { 3084 return ErrIntOverflowDiagnostics 3085 } 3086 if iNdEx >= l { 3087 return io.ErrUnexpectedEOF 3088 } 3089 b := dAtA[iNdEx] 3090 iNdEx++ 3091 stringLen |= (uint64(b) & 0x7F) << shift 3092 if b < 0x80 { 3093 break 3094 } 3095 } 3096 intStringLen := int(stringLen) 3097 if intStringLen < 0 { 3098 return ErrInvalidLengthDiagnostics 3099 } 3100 postIndex := iNdEx + intStringLen 3101 if postIndex > l { 3102 return io.ErrUnexpectedEOF 3103 } 3104 m.Provider = string(dAtA[iNdEx:postIndex]) 3105 iNdEx = postIndex 3106 case 2: 3107 if wireType != 2 { 3108 return fmt.Errorf("proto: wrong wireType = %d for field Region", wireType) 3109 } 3110 var stringLen uint64 3111 for shift := uint(0); ; shift += 7 { 3112 if shift >= 64 { 3113 return ErrIntOverflowDiagnostics 3114 } 3115 if iNdEx >= l { 3116 return io.ErrUnexpectedEOF 3117 } 3118 b := dAtA[iNdEx] 3119 iNdEx++ 3120 stringLen |= (uint64(b) & 0x7F) << shift 3121 if b < 0x80 { 3122 break 3123 } 3124 } 3125 intStringLen := int(stringLen) 3126 if intStringLen < 0 { 3127 return ErrInvalidLengthDiagnostics 3128 } 3129 postIndex := iNdEx + intStringLen 3130 if postIndex > l { 3131 return io.ErrUnexpectedEOF 3132 } 3133 m.Region = string(dAtA[iNdEx:postIndex]) 3134 iNdEx = postIndex 3135 default: 3136 iNdEx = preIndex 3137 skippy, err := skipDiagnostics(dAtA[iNdEx:]) 3138 if err != nil { 3139 return err 3140 } 3141 if skippy < 0 { 3142 return ErrInvalidLengthDiagnostics 3143 } 3144 if (iNdEx + skippy) > l { 3145 return io.ErrUnexpectedEOF 3146 } 3147 iNdEx += skippy 3148 } 3149 } 3150 3151 if iNdEx > l { 3152 return io.ErrUnexpectedEOF 3153 } 3154 return nil 3155 } 3156 func skipDiagnostics(dAtA []byte) (n int, err error) { 3157 l := len(dAtA) 3158 iNdEx := 0 3159 for iNdEx < l { 3160 var wire uint64 3161 for shift := uint(0); ; shift += 7 { 3162 if shift >= 64 { 3163 return 0, ErrIntOverflowDiagnostics 3164 } 3165 if iNdEx >= l { 3166 return 0, io.ErrUnexpectedEOF 3167 } 3168 b := dAtA[iNdEx] 3169 iNdEx++ 3170 wire |= (uint64(b) & 0x7F) << shift 3171 if b < 0x80 { 3172 break 3173 } 3174 } 3175 wireType := int(wire & 0x7) 3176 switch wireType { 3177 case 0: 3178 for shift := uint(0); ; shift += 7 { 3179 if shift >= 64 { 3180 return 0, ErrIntOverflowDiagnostics 3181 } 3182 if iNdEx >= l { 3183 return 0, io.ErrUnexpectedEOF 3184 } 3185 iNdEx++ 3186 if dAtA[iNdEx-1] < 0x80 { 3187 break 3188 } 3189 } 3190 return iNdEx, nil 3191 case 1: 3192 iNdEx += 8 3193 return iNdEx, nil 3194 case 2: 3195 var length int 3196 for shift := uint(0); ; shift += 7 { 3197 if shift >= 64 { 3198 return 0, ErrIntOverflowDiagnostics 3199 } 3200 if iNdEx >= l { 3201 return 0, io.ErrUnexpectedEOF 3202 } 3203 b := dAtA[iNdEx] 3204 iNdEx++ 3205 length |= (int(b) & 0x7F) << shift 3206 if b < 0x80 { 3207 break 3208 } 3209 } 3210 iNdEx += length 3211 if length < 0 { 3212 return 0, ErrInvalidLengthDiagnostics 3213 } 3214 return iNdEx, nil 3215 case 3: 3216 for { 3217 var innerWire uint64 3218 var start int = iNdEx 3219 for shift := uint(0); ; shift += 7 { 3220 if shift >= 64 { 3221 return 0, ErrIntOverflowDiagnostics 3222 } 3223 if iNdEx >= l { 3224 return 0, io.ErrUnexpectedEOF 3225 } 3226 b := dAtA[iNdEx] 3227 iNdEx++ 3228 innerWire |= (uint64(b) & 0x7F) << shift 3229 if b < 0x80 { 3230 break 3231 } 3232 } 3233 innerWireType := int(innerWire & 0x7) 3234 if innerWireType == 4 { 3235 break 3236 } 3237 next, err := skipDiagnostics(dAtA[start:]) 3238 if err != nil { 3239 return 0, err 3240 } 3241 iNdEx = start + next 3242 } 3243 return iNdEx, nil 3244 case 4: 3245 return iNdEx, nil 3246 case 5: 3247 iNdEx += 4 3248 return iNdEx, nil 3249 default: 3250 return 0, fmt.Errorf("proto: illegal wireType %d", wireType) 3251 } 3252 } 3253 panic("unreachable") 3254 } 3255 3256 var ( 3257 ErrInvalidLengthDiagnostics = fmt.Errorf("proto: negative length found during unmarshaling") 3258 ErrIntOverflowDiagnostics = fmt.Errorf("proto: integer overflow") 3259 ) 3260 3261 func init() { 3262 proto.RegisterFile("server/diagnosticspb/diagnostics.proto", fileDescriptor_diagnostics_5c3b35b5aaeee3d9) 3263 } 3264 3265 var fileDescriptor_diagnostics_5c3b35b5aaeee3d9 = []byte{ 3266 // 1264 bytes of a gzipped FileDescriptorProto 3267 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x56, 0x41, 0x6f, 0x1b, 0xc5, 3268 0x17, 0x8f, 0xbd, 0xf6, 0xda, 0x1e, 0xa7, 0xfd, 0xa7, 0xd3, 0xfc, 0xc3, 0x92, 0x56, 0x4e, 0x31, 3269 0xa2, 0x14, 0x81, 0x6c, 0xb5, 0x05, 0x09, 0x10, 0x55, 0x15, 0x27, 0xa5, 0x54, 0x2a, 0x2d, 0xda, 3270 0xb4, 0x1c, 0x7a, 0xc0, 0x1a, 0xef, 0x8e, 0x37, 0x4b, 0x66, 0x77, 0x36, 0x33, 0xb3, 0xae, 0x9c, 3271 0xaf, 0xc0, 0x01, 0x2e, 0x1c, 0x90, 0xf8, 0x3a, 0x48, 0x3d, 0xf6, 0xd8, 0x53, 0x04, 0xe9, 0xb7, 3272 0xe0, 0x84, 0xe6, 0xcd, 0xac, 0xb3, 0x71, 0xdb, 0xb8, 0x41, 0xe2, 0xe4, 0x79, 0xef, 0xcd, 0xfb, 3273 0xbd, 0xf9, 0xbd, 0x79, 0xf3, 0x5b, 0xa3, 0xab, 0x92, 0x8a, 0x09, 0x15, 0xfd, 0x30, 0x26, 0x51, 3274 0xca, 0xa5, 0x8a, 0x03, 0x99, 0x8d, 0xca, 0x56, 0x2f, 0x13, 0x5c, 0x71, 0xdc, 0x09, 0x78, 0xb0, 3275 0x27, 0x38, 0x09, 0x76, 0x7b, 0x26, 0xa3, 0x77, 0x22, 0x63, 0x7d, 0x65, 0x94, 0xc7, 0x2c, 0xec, 3276 0xc7, 0xe9, 0x98, 0x9b, 0x8c, 0x75, 0x2f, 0xe0, 0xe9, 0x38, 0x8e, 0xfa, 0x07, 0x3c, 0xa5, 0xd9, 3277 0x08, 0x7e, 0x6c, 0x64, 0x35, 0xe2, 0x11, 0x87, 0x65, 0x5f, 0xaf, 0xac, 0xf7, 0x1d, 0x40, 0xcf, 3278 0x46, 0x7d, 0x92, 0x65, 0x43, 0xa9, 0x88, 0xb2, 0xa5, 0xd7, 0x2f, 0xcb, 0x7d, 0xd6, 0x97, 0xfb, 3279 0x6c, 0x44, 0x24, 0xed, 0x4b, 0x25, 0xf2, 0x40, 0xe5, 0x82, 0x86, 0x36, 0xba, 0x56, 0xa4, 0x25, 3280 0x54, 0x91, 0x90, 0x28, 0x62, 0xfc, 0xdd, 0x9f, 0x10, 0x5a, 0xd9, 0x9e, 0x1d, 0xd1, 0xa7, 0x19, 3281 0x17, 0x0a, 0x0f, 0x50, 0x2d, 0xe5, 0x21, 0xf5, 0x2a, 0x57, 0x2a, 0xd7, 0xda, 0x37, 0xae, 0xf5, 3282 0x4e, 0x27, 0xd5, 0x7b, 0xc0, 0x43, 0x7a, 0x2f, 0x1d, 0xf3, 0x41, 0xed, 0xd9, 0xe1, 0xc6, 0x92, 3283 0x0f, 0xb9, 0xf8, 0x2e, 0x72, 0xa5, 0xe2, 0x82, 0x4a, 0xaf, 0x7a, 0xc5, 0xb9, 0xd6, 0xbe, 0xf1, 3284 0xd1, 0x22, 0x94, 0x1d, 0xbd, 0xbb, 0x04, 0x63, 0xd3, 0xf1, 0x36, 0x72, 0x65, 0xb0, 0x4b, 0x13, 3285 0xe2, 0x39, 0x00, 0x74, 0xb5, 0x0c, 0xb4, 0xcf, 0x7a, 0x96, 0x72, 0xef, 0x11, 0x19, 0x31, 0xba, 3286 0x4d, 0x65, 0x20, 0xe2, 0x4c, 0x71, 0x31, 0x43, 0x81, 0x5c, 0xfc, 0x00, 0xb5, 0xe4, 0x3e, 0x33, 3287 0x0d, 0xf3, 0x6a, 0x00, 0xf4, 0xf1, 0x1c, 0xd0, 0x16, 0x67, 0x8c, 0x06, 0x8a, 0x86, 0x3b, 0x8a, 3288 0x28, 0x9a, 0xd0, 0x54, 0xe9, 0x45, 0x0c, 0xe7, 0xb3, 0x68, 0x4d, 0xb9, 0xcf, 0xb4, 0x53, 0xe2, 3289 0x9f, 0x2b, 0xe8, 0x12, 0xa3, 0x11, 0x09, 0xa6, 0xc3, 0x3c, 0x8d, 0x93, 0x8c, 0x41, 0x02, 0x0d, 3290 0x87, 0x54, 0x08, 0x2e, 0xa4, 0x57, 0x87, 0x12, 0x0f, 0x17, 0x91, 0x9e, 0x6f, 0x7d, 0xef, 0x3e, 3291 0x60, 0x3e, 0x2e, 0x43, 0xde, 0x01, 0xc4, 0x3b, 0xa9, 0x12, 0x53, 0xff, 0x5d, 0xf6, 0xa6, 0x38, 3292 0xce, 0xd0, 0x0a, 0x61, 0x8a, 0x0a, 0x1a, 0x0e, 0x25, 0x55, 0x2a, 0x4e, 0x23, 0xe9, 0xb9, 0x70, 3293 0x8a, 0x3b, 0x67, 0x3e, 0xc5, 0xa6, 0x01, 0xda, 0xb1, 0x38, 0xa6, 0xf6, 0xff, 0xc8, 0x49, 0x2f, 3294 0x7e, 0x8a, 0x2e, 0xda, 0x16, 0x00, 0xe9, 0x61, 0xc0, 0xf3, 0x54, 0x49, 0xaf, 0x01, 0x45, 0xef, 3295 0xfe, 0x4b, 0xea, 0xc0, 0x66, 0x0b, 0x90, 0x4c, 0xd9, 0x0b, 0x6c, 0xde, 0x8f, 0x7f, 0x44, 0xcb, 3296 0xfa, 0x9d, 0x0c, 0xcd, 0xd3, 0x91, 0x5e, 0x13, 0x2a, 0x6e, 0x9e, 0xb9, 0xe2, 0x13, 0x9e, 0xd2, 3297 0x2d, 0x83, 0x01, 0xb5, 0xec, 0x2d, 0xb7, 0x0f, 0x8e, 0xfd, 0x38, 0x41, 0xe7, 0xc6, 0x94, 0xe8, 3298 0xa7, 0x34, 0xcc, 0x25, 0x89, 0xa8, 0xd7, 0x82, 0x62, 0x83, 0x33, 0x17, 0xfb, 0xda, 0xa0, 0x3c, 3299 0xd6, 0x20, 0xe5, 0x6a, 0xcb, 0xe3, 0x52, 0x60, 0x7d, 0x80, 0x56, 0x5f, 0xd7, 0x7c, 0xbc, 0x82, 3300 0x9c, 0x3d, 0x3a, 0x85, 0x17, 0xd9, 0xf2, 0xf5, 0x12, 0xaf, 0xa2, 0xfa, 0x84, 0xb0, 0x9c, 0x7a, 3301 0x55, 0xf0, 0x19, 0xe3, 0xcb, 0xea, 0xe7, 0x95, 0xf5, 0x00, 0xad, 0xcc, 0x33, 0x2b, 0xe7, 0x3b, 3302 0x26, 0xff, 0x8b, 0x72, 0x7e, 0xfb, 0xc6, 0xfb, 0x25, 0x42, 0xa6, 0xaf, 0x3d, 0x23, 0x49, 0xa5, 3303 0x2e, 0x95, 0x8b, 0xdc, 0x46, 0x17, 0x5e, 0x61, 0xb4, 0xe8, 0x94, 0xf5, 0x32, 0xc0, 0x7d, 0xd4, 3304 0x39, 0x7d, 0xd8, 0x17, 0xa1, 0x39, 0x65, 0xb4, 0x6d, 0xb4, 0xf6, 0xfa, 0xf9, 0x39, 0x0b, 0x4a, 3305 0xf7, 0x8f, 0x1a, 0x6a, 0x16, 0x6a, 0x86, 0x9f, 0xa0, 0x86, 0x56, 0xb2, 0x61, 0x1c, 0x42, 0x72, 3306 0x7d, 0xb0, 0x79, 0x74, 0xb8, 0xe1, 0x42, 0x78, 0xfb, 0xef, 0xc3, 0x8d, 0x9b, 0x51, 0xac, 0x76, 3307 0xf3, 0x51, 0x2f, 0xe0, 0x49, 0x7f, 0xd6, 0xba, 0x70, 0x74, 0xbc, 0xee, 0x67, 0x7b, 0x51, 0xdf, 3308 0xca, 0xae, 0xd1, 0xc8, 0x6d, 0xdf, 0xd5, 0x88, 0xf7, 0x42, 0x7d, 0x84, 0xd1, 0x54, 0x81, 0x38, 3309 0xc2, 0x11, 0xc0, 0xc0, 0x97, 0x50, 0x6b, 0x8f, 0x4e, 0xcd, 0x3b, 0xf2, 0x1c, 0x88, 0x34, 0xf7, 3310 0xe8, 0x14, 0xd8, 0xe0, 0x0d, 0xd4, 0x16, 0x24, 0x8d, 0xa8, 0x0d, 0xd7, 0x20, 0x8c, 0xc0, 0x65, 3311 0x36, 0xdc, 0x42, 0x4d, 0xc6, 0x03, 0xc2, 0x62, 0x35, 0xf5, 0xea, 0x70, 0xa7, 0x97, 0x4a, 0x77, 3312 0x5a, 0x1c, 0xe4, 0xbe, 0xdd, 0x52, 0x28, 0x5a, 0x91, 0x82, 0x1f, 0xa0, 0xe6, 0x2e, 0x11, 0xe1, 3313 0x53, 0x22, 0xa8, 0xe7, 0x42, 0xfa, 0x27, 0x8b, 0x66, 0xfc, 0x1b, 0xbb, 0xbf, 0xa4, 0xda, 0x33, 3314 0x0c, 0xfc, 0x15, 0xaa, 0x72, 0x2d, 0x06, 0x95, 0x79, 0xcd, 0x7e, 0x1d, 0xd2, 0xc3, 0x9d, 0x12, 3315 0x46, 0x95, 0x4b, 0x7c, 0x1d, 0xd5, 0xe1, 0x53, 0xe9, 0x35, 0x01, 0xe0, 0xff, 0x25, 0x00, 0xf0, 3316 0xf7, 0x4a, 0xfb, 0xcd, 0x4e, 0xbc, 0x86, 0xdc, 0x3c, 0x53, 0x71, 0xa2, 0x9f, 0xa8, 0xee, 0x8d, 3317 0xb5, 0xf0, 0x7b, 0x68, 0x99, 0xc5, 0x01, 0x4d, 0x25, 0x1d, 0xaa, 0x69, 0x46, 0x3d, 0x04, 0x93, 3318 0xd0, 0xb6, 0xbe, 0x47, 0xd3, 0x8c, 0x6a, 0xee, 0x8a, 0x67, 0x9c, 0xf1, 0x68, 0xea, 0xb5, 0xdf, 3319 0x8e, 0xfb, 0x23, 0xbb, 0xbf, 0xcc, 0xbd, 0xc0, 0xe8, 0xfe, 0xee, 0xa0, 0xd6, 0xec, 0x7b, 0xf6, 3320 0x9f, 0x0e, 0xd2, 0x0f, 0xa8, 0x09, 0xdf, 0x49, 0x0d, 0x0e, 0x4f, 0x6c, 0xb0, 0x75, 0x74, 0xb8, 3321 0xd1, 0x30, 0xc5, 0x35, 0xfa, 0xa7, 0x67, 0x42, 0xb7, 0x79, 0x7e, 0x03, 0x40, 0xcb, 0x83, 0xea, 3322 0xbc, 0x71, 0x50, 0x6b, 0xa7, 0x0f, 0x6a, 0xfd, 0x95, 0x41, 0x5d, 0x47, 0xcd, 0x80, 0x64, 0x24, 3323 0xd0, 0x83, 0xea, 0x9a, 0xe4, 0xc2, 0xc6, 0x97, 0x51, 0x8b, 0x4c, 0x48, 0xcc, 0xf4, 0xc7, 0x1c, 3324 0x86, 0xc7, 0xf1, 0x8f, 0x1d, 0x18, 0xa3, 0x5a, 0x2e, 0xa9, 0x19, 0x0a, 0xc7, 0x87, 0x35, 0xbe, 3325 0x8e, 0x56, 0x69, 0x1a, 0x88, 0x69, 0xa6, 0x62, 0x9e, 0x0e, 0x09, 0x8b, 0xb8, 0x88, 0xd5, 0x6e, 3326 0x62, 0x87, 0xe0, 0xe2, 0x71, 0x6c, 0xb3, 0x08, 0x75, 0x7f, 0xad, 0xa0, 0xc6, 0xd6, 0x77, 0x8f, 3327 0xe1, 0x72, 0xd6, 0x90, 0x9b, 0xe6, 0x49, 0x90, 0xe5, 0xe6, 0x6e, 0x7c, 0x6b, 0x61, 0x0f, 0x35, 3328 0x24, 0x0f, 0xf6, 0xa8, 0x92, 0x56, 0xba, 0x0a, 0x53, 0xb7, 0x24, 0x80, 0x3f, 0x36, 0x8e, 0x91, 3329 0x34, 0x30, 0xb4, 0x37, 0xe1, 0x21, 0x65, 0xd0, 0x8e, 0x96, 0x6f, 0x0c, 0x2d, 0x3e, 0xc9, 0xee, 3330 0x01, 0xf4, 0xa0, 0xea, 0xeb, 0xa5, 0x26, 0x6f, 0x05, 0xdf, 0x7c, 0x9e, 0x5b, 0xfe, 0xcc, 0xee, 3331 0xfe, 0x56, 0x45, 0xcb, 0xe5, 0x37, 0x85, 0xaf, 0xa2, 0xf3, 0x93, 0x58, 0xa8, 0x9c, 0xb0, 0xf8, 3332 0x80, 0x68, 0x0e, 0x56, 0xc6, 0xe6, 0xbc, 0xf8, 0x36, 0x72, 0x34, 0x03, 0xa3, 0xe4, 0x1f, 0x2e, 3333 0x1a, 0x5d, 0x4b, 0xdd, 0x4e, 0xad, 0xce, 0xd4, 0x00, 0x09, 0x4d, 0x80, 0xd1, 0x5b, 0x00, 0x7c, 3334 0x4b, 0x93, 0x32, 0x40, 0x42, 0x13, 0x7d, 0x6f, 0x8c, 0x93, 0x90, 0x4c, 0xa2, 0xeb, 0x9f, 0x41, 3335 0x0b, 0xaa, 0xfe, 0xb1, 0x43, 0x93, 0xce, 0x04, 0x9f, 0xc4, 0x21, 0x15, 0xd0, 0x8b, 0x96, 0x3f, 3336 0xb3, 0xf1, 0x07, 0xe8, 0x7c, 0x9c, 0x4a, 0x45, 0xd2, 0x80, 0x0e, 0x03, 0x46, 0xa4, 0x84, 0x99, 3337 0x68, 0xf9, 0xe7, 0x0a, 0xef, 0x96, 0x76, 0x76, 0xbf, 0x47, 0xae, 0x11, 0x09, 0x7d, 0x63, 0x63, 3338 0x92, 0xc4, 0xac, 0xd0, 0x74, 0x6b, 0x41, 0x11, 0x46, 0xd4, 0x98, 0x8b, 0xc4, 0x7e, 0x13, 0x67, 3339 0xb6, 0xbe, 0xcd, 0x09, 0x15, 0x52, 0x77, 0xd0, 0x81, 0x50, 0x61, 0x76, 0x6f, 0xa1, 0x86, 0xa5, 3340 0xa3, 0xaf, 0x50, 0x71, 0x45, 0x18, 0xe0, 0xd6, 0x7c, 0x63, 0x9c, 0x9c, 0xc8, 0x2a, 0x44, 0x8e, 3341 0x1d, 0xdd, 0x01, 0x5a, 0x2e, 0x2b, 0xc1, 0x09, 0xa6, 0x95, 0x39, 0xa6, 0x6b, 0xc8, 0x15, 0x34, 3342 0xd2, 0x67, 0x30, 0xc7, 0xb3, 0xd6, 0xa0, 0xff, 0xec, 0xaf, 0xce, 0xd2, 0xb3, 0xa3, 0x4e, 0xe5, 3343 0xf9, 0x51, 0xa7, 0xf2, 0xe2, 0xa8, 0x53, 0xf9, 0xf3, 0xa8, 0x53, 0xf9, 0xe5, 0x65, 0x67, 0xe9, 3344 0xf9, 0xcb, 0xce, 0xd2, 0x8b, 0x97, 0x9d, 0xa5, 0x27, 0xe7, 0x4e, 0xf4, 0x7f, 0xe4, 0xc2, 0x7f, 3345 0xf7, 0x9b, 0xff, 0x04, 0x00, 0x00, 0xff, 0xff, 0x66, 0x7a, 0x5d, 0xa8, 0x96, 0x0c, 0x00, 0x00, 3346 }