github.com/aristanetworks/goarista@v0.0.0-20240514173732-cca2755bbd44/healthzdata/healthzdata.pb.go (about) 1 // Copyright (c) 2022 Arista Networks, Inc. 2 // Use of this source code is governed by the Apache License 2.0 3 // that can be found in the COPYING file. 4 5 // Code generated by protoc-gen-go. DO NOT EDIT. 6 // versions: 7 // protoc-gen-go v1.28.1 8 // protoc v3.21.9 9 // source: healthzdata.proto 10 11 package healthzdata 12 13 import ( 14 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 15 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 16 reflect "reflect" 17 sync "sync" 18 ) 19 20 const ( 21 // Verify that this generated code is sufficiently up-to-date. 22 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 23 // Verify that runtime/protoimpl is sufficiently up-to-date. 24 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 25 ) 26 27 // A HealthzData message is returned in the GNOI Healthz RPC, 28 // to satisfy the ComponentStatus.healthz field, which is described as: 29 // ``` 30 // Opaque data for how the healthcheck is implemented. This can be any 31 // proto defined by the vendor. This could be the equivalent to outputs 32 // like "show tech" or core files or any other diagnostic data. 33 // ``` 34 // The size of the message may be large. 35 // Ensure that the client is configured to receive large message sizes. 36 type HealthzData struct { 37 state protoimpl.MessageState 38 sizeCache protoimpl.SizeCache 39 unknownFields protoimpl.UnknownFields 40 41 // healthzdata.proto version number 42 Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` 43 // data points collected for a component 44 DataPoints []*HealthzDataPoint `protobuf:"bytes,2,rep,name=data_points,json=dataPoints,proto3" json:"data_points,omitempty"` 45 } 46 47 func (x *HealthzData) Reset() { 48 *x = HealthzData{} 49 if protoimpl.UnsafeEnabled { 50 mi := &file_healthzdata_proto_msgTypes[0] 51 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 52 ms.StoreMessageInfo(mi) 53 } 54 } 55 56 func (x *HealthzData) String() string { 57 return protoimpl.X.MessageStringOf(x) 58 } 59 60 func (*HealthzData) ProtoMessage() {} 61 62 func (x *HealthzData) ProtoReflect() protoreflect.Message { 63 mi := &file_healthzdata_proto_msgTypes[0] 64 if protoimpl.UnsafeEnabled && x != nil { 65 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 66 if ms.LoadMessageInfo() == nil { 67 ms.StoreMessageInfo(mi) 68 } 69 return ms 70 } 71 return mi.MessageOf(x) 72 } 73 74 // Deprecated: Use HealthzData.ProtoReflect.Descriptor instead. 75 func (*HealthzData) Descriptor() ([]byte, []int) { 76 return file_healthzdata_proto_rawDescGZIP(), []int{0} 77 } 78 79 func (x *HealthzData) GetVersion() uint32 { 80 if x != nil { 81 return x.Version 82 } 83 return 0 84 } 85 86 func (x *HealthzData) GetDataPoints() []*HealthzDataPoint { 87 if x != nil { 88 return x.DataPoints 89 } 90 return nil 91 } 92 93 // A HealthzDataPoint represents data from one source 94 // that relates to a component. 95 // For example, the data relating to one 'show' command. 96 // If multiple sources are being used to collect data, 97 // each one will be captured in its own datapoint. 98 type HealthzDataPoint struct { 99 state protoimpl.MessageState 100 sizeCache protoimpl.SizeCache 101 unknownFields protoimpl.UnknownFields 102 103 // Types that are assignable to Datapoint: 104 // 105 // *HealthzDataPoint_ShowCommand 106 // *HealthzDataPoint_SupportScript 107 // *HealthzDataPoint_Logs 108 // *HealthzDataPoint_BashCommand 109 Datapoint isHealthzDataPoint_Datapoint `protobuf_oneof:"datapoint"` 110 } 111 112 func (x *HealthzDataPoint) Reset() { 113 *x = HealthzDataPoint{} 114 if protoimpl.UnsafeEnabled { 115 mi := &file_healthzdata_proto_msgTypes[1] 116 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 117 ms.StoreMessageInfo(mi) 118 } 119 } 120 121 func (x *HealthzDataPoint) String() string { 122 return protoimpl.X.MessageStringOf(x) 123 } 124 125 func (*HealthzDataPoint) ProtoMessage() {} 126 127 func (x *HealthzDataPoint) ProtoReflect() protoreflect.Message { 128 mi := &file_healthzdata_proto_msgTypes[1] 129 if protoimpl.UnsafeEnabled && x != nil { 130 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 131 if ms.LoadMessageInfo() == nil { 132 ms.StoreMessageInfo(mi) 133 } 134 return ms 135 } 136 return mi.MessageOf(x) 137 } 138 139 // Deprecated: Use HealthzDataPoint.ProtoReflect.Descriptor instead. 140 func (*HealthzDataPoint) Descriptor() ([]byte, []int) { 141 return file_healthzdata_proto_rawDescGZIP(), []int{1} 142 } 143 144 func (m *HealthzDataPoint) GetDatapoint() isHealthzDataPoint_Datapoint { 145 if m != nil { 146 return m.Datapoint 147 } 148 return nil 149 } 150 151 func (x *HealthzDataPoint) GetShowCommand() *ShowCommand { 152 if x, ok := x.GetDatapoint().(*HealthzDataPoint_ShowCommand); ok { 153 return x.ShowCommand 154 } 155 return nil 156 } 157 158 func (x *HealthzDataPoint) GetSupportScript() *SupportScript { 159 if x, ok := x.GetDatapoint().(*HealthzDataPoint_SupportScript); ok { 160 return x.SupportScript 161 } 162 return nil 163 } 164 165 func (x *HealthzDataPoint) GetLogs() *Logs { 166 if x, ok := x.GetDatapoint().(*HealthzDataPoint_Logs); ok { 167 return x.Logs 168 } 169 return nil 170 } 171 172 func (x *HealthzDataPoint) GetBashCommand() *BashCommand { 173 if x, ok := x.GetDatapoint().(*HealthzDataPoint_BashCommand); ok { 174 return x.BashCommand 175 } 176 return nil 177 } 178 179 type isHealthzDataPoint_Datapoint interface { 180 isHealthzDataPoint_Datapoint() 181 } 182 183 type HealthzDataPoint_ShowCommand struct { 184 ShowCommand *ShowCommand `protobuf:"bytes,1,opt,name=show_command,json=showCommand,proto3,oneof"` 185 } 186 187 type HealthzDataPoint_SupportScript struct { 188 SupportScript *SupportScript `protobuf:"bytes,2,opt,name=support_script,json=supportScript,proto3,oneof"` 189 } 190 191 type HealthzDataPoint_Logs struct { 192 Logs *Logs `protobuf:"bytes,3,opt,name=logs,proto3,oneof"` 193 } 194 195 type HealthzDataPoint_BashCommand struct { 196 BashCommand *BashCommand `protobuf:"bytes,4,opt,name=bash_command,json=bashCommand,proto3,oneof"` 197 } 198 199 func (*HealthzDataPoint_ShowCommand) isHealthzDataPoint_Datapoint() {} 200 201 func (*HealthzDataPoint_SupportScript) isHealthzDataPoint_Datapoint() {} 202 203 func (*HealthzDataPoint_Logs) isHealthzDataPoint_Datapoint() {} 204 205 func (*HealthzDataPoint_BashCommand) isHealthzDataPoint_Datapoint() {} 206 207 // A Logs datapoint captures information from one or more 208 // log files on the system. 209 type Logs struct { 210 state protoimpl.MessageState 211 sizeCache protoimpl.SizeCache 212 unknownFields protoimpl.UnknownFields 213 214 LogsDescription string `protobuf:"bytes,1,opt,name=logs_description,json=logsDescription,proto3" json:"logs_description,omitempty"` 215 // data is a .tar.gz archive containing log file(s) 216 Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` 217 } 218 219 func (x *Logs) Reset() { 220 *x = Logs{} 221 if protoimpl.UnsafeEnabled { 222 mi := &file_healthzdata_proto_msgTypes[2] 223 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 224 ms.StoreMessageInfo(mi) 225 } 226 } 227 228 func (x *Logs) String() string { 229 return protoimpl.X.MessageStringOf(x) 230 } 231 232 func (*Logs) ProtoMessage() {} 233 234 func (x *Logs) ProtoReflect() protoreflect.Message { 235 mi := &file_healthzdata_proto_msgTypes[2] 236 if protoimpl.UnsafeEnabled && x != nil { 237 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 238 if ms.LoadMessageInfo() == nil { 239 ms.StoreMessageInfo(mi) 240 } 241 return ms 242 } 243 return mi.MessageOf(x) 244 } 245 246 // Deprecated: Use Logs.ProtoReflect.Descriptor instead. 247 func (*Logs) Descriptor() ([]byte, []int) { 248 return file_healthzdata_proto_rawDescGZIP(), []int{2} 249 } 250 251 func (x *Logs) GetLogsDescription() string { 252 if x != nil { 253 return x.LogsDescription 254 } 255 return "" 256 } 257 258 func (x *Logs) GetData() []byte { 259 if x != nil { 260 return x.Data 261 } 262 return nil 263 } 264 265 // A ShowCommand datapoint captures information from 266 // running a CLI show command on the system 267 type ShowCommand struct { 268 state protoimpl.MessageState 269 sizeCache protoimpl.SizeCache 270 unknownFields protoimpl.UnknownFields 271 272 ShowCommand string `protobuf:"bytes,1,opt,name=show_command,json=showCommand,proto3" json:"show_command,omitempty"` 273 // data is a .tar.gz archive containing 274 // a JSON or text file with show command output 275 Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` 276 } 277 278 func (x *ShowCommand) Reset() { 279 *x = ShowCommand{} 280 if protoimpl.UnsafeEnabled { 281 mi := &file_healthzdata_proto_msgTypes[3] 282 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 283 ms.StoreMessageInfo(mi) 284 } 285 } 286 287 func (x *ShowCommand) String() string { 288 return protoimpl.X.MessageStringOf(x) 289 } 290 291 func (*ShowCommand) ProtoMessage() {} 292 293 func (x *ShowCommand) ProtoReflect() protoreflect.Message { 294 mi := &file_healthzdata_proto_msgTypes[3] 295 if protoimpl.UnsafeEnabled && x != nil { 296 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 297 if ms.LoadMessageInfo() == nil { 298 ms.StoreMessageInfo(mi) 299 } 300 return ms 301 } 302 return mi.MessageOf(x) 303 } 304 305 // Deprecated: Use ShowCommand.ProtoReflect.Descriptor instead. 306 func (*ShowCommand) Descriptor() ([]byte, []int) { 307 return file_healthzdata_proto_rawDescGZIP(), []int{3} 308 } 309 310 func (x *ShowCommand) GetShowCommand() string { 311 if x != nil { 312 return x.ShowCommand 313 } 314 return "" 315 } 316 317 func (x *ShowCommand) GetData() []byte { 318 if x != nil { 319 return x.Data 320 } 321 return nil 322 } 323 324 // A SupportScript datapoint captures information 325 // from running an existing support script 326 // on the system. 327 type SupportScript struct { 328 state protoimpl.MessageState 329 sizeCache protoimpl.SizeCache 330 unknownFields protoimpl.UnknownFields 331 332 ScriptName string `protobuf:"bytes,1,opt,name=script_name,json=scriptName,proto3" json:"script_name,omitempty"` 333 // data is a .tar.gz archive containing file(s) 334 // generated by the support script 335 Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` 336 } 337 338 func (x *SupportScript) Reset() { 339 *x = SupportScript{} 340 if protoimpl.UnsafeEnabled { 341 mi := &file_healthzdata_proto_msgTypes[4] 342 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 343 ms.StoreMessageInfo(mi) 344 } 345 } 346 347 func (x *SupportScript) String() string { 348 return protoimpl.X.MessageStringOf(x) 349 } 350 351 func (*SupportScript) ProtoMessage() {} 352 353 func (x *SupportScript) ProtoReflect() protoreflect.Message { 354 mi := &file_healthzdata_proto_msgTypes[4] 355 if protoimpl.UnsafeEnabled && x != nil { 356 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 357 if ms.LoadMessageInfo() == nil { 358 ms.StoreMessageInfo(mi) 359 } 360 return ms 361 } 362 return mi.MessageOf(x) 363 } 364 365 // Deprecated: Use SupportScript.ProtoReflect.Descriptor instead. 366 func (*SupportScript) Descriptor() ([]byte, []int) { 367 return file_healthzdata_proto_rawDescGZIP(), []int{4} 368 } 369 370 func (x *SupportScript) GetScriptName() string { 371 if x != nil { 372 return x.ScriptName 373 } 374 return "" 375 } 376 377 func (x *SupportScript) GetData() []byte { 378 if x != nil { 379 return x.Data 380 } 381 return nil 382 } 383 384 // A BashCommand datapoint captures information 385 // from running some bash command on the system. 386 type BashCommand struct { 387 state protoimpl.MessageState 388 sizeCache protoimpl.SizeCache 389 unknownFields protoimpl.UnknownFields 390 391 Command string `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"` 392 // data is a .tar.gz archive containing any output from 393 // running the bash command on the system 394 Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` 395 } 396 397 func (x *BashCommand) Reset() { 398 *x = BashCommand{} 399 if protoimpl.UnsafeEnabled { 400 mi := &file_healthzdata_proto_msgTypes[5] 401 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 402 ms.StoreMessageInfo(mi) 403 } 404 } 405 406 func (x *BashCommand) String() string { 407 return protoimpl.X.MessageStringOf(x) 408 } 409 410 func (*BashCommand) ProtoMessage() {} 411 412 func (x *BashCommand) ProtoReflect() protoreflect.Message { 413 mi := &file_healthzdata_proto_msgTypes[5] 414 if protoimpl.UnsafeEnabled && x != nil { 415 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 416 if ms.LoadMessageInfo() == nil { 417 ms.StoreMessageInfo(mi) 418 } 419 return ms 420 } 421 return mi.MessageOf(x) 422 } 423 424 // Deprecated: Use BashCommand.ProtoReflect.Descriptor instead. 425 func (*BashCommand) Descriptor() ([]byte, []int) { 426 return file_healthzdata_proto_rawDescGZIP(), []int{5} 427 } 428 429 func (x *BashCommand) GetCommand() string { 430 if x != nil { 431 return x.Command 432 } 433 return "" 434 } 435 436 func (x *BashCommand) GetData() []byte { 437 if x != nil { 438 return x.Data 439 } 440 return nil 441 } 442 443 var File_healthzdata_proto protoreflect.FileDescriptor 444 445 var file_healthzdata_proto_rawDesc = []byte{ 446 0x0a, 0x11, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x7a, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 447 0x6f, 0x74, 0x6f, 0x22, 0x5b, 0x0a, 0x0b, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x7a, 0x44, 0x61, 448 0x74, 0x61, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 449 0x01, 0x28, 0x0d, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x32, 0x0a, 0x0b, 450 0x64, 0x61, 0x74, 0x61, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 451 0x0b, 0x32, 0x11, 0x2e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x7a, 0x44, 0x61, 0x74, 0x61, 0x50, 452 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x73, 453 0x22, 0xdb, 0x01, 0x0a, 0x10, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x7a, 0x44, 0x61, 0x74, 0x61, 454 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x31, 0x0a, 0x0c, 0x73, 0x68, 0x6f, 0x77, 0x5f, 0x63, 0x6f, 455 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x53, 0x68, 456 0x6f, 0x77, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x48, 0x00, 0x52, 0x0b, 0x73, 0x68, 0x6f, 457 0x77, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x37, 0x0a, 0x0e, 0x73, 0x75, 0x70, 0x70, 458 0x6f, 0x72, 0x74, 0x5f, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 459 0x32, 0x0e, 0x2e, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x53, 0x63, 0x72, 0x69, 0x70, 0x74, 460 0x48, 0x00, 0x52, 0x0d, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x53, 0x63, 0x72, 0x69, 0x70, 461 0x74, 0x12, 0x1b, 0x0a, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 462 0x05, 0x2e, 0x4c, 0x6f, 0x67, 0x73, 0x48, 0x00, 0x52, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x12, 0x31, 463 0x0a, 0x0c, 0x62, 0x61, 0x73, 0x68, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x04, 464 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x42, 0x61, 0x73, 0x68, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 465 0x6e, 0x64, 0x48, 0x00, 0x52, 0x0b, 0x62, 0x61, 0x73, 0x68, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 466 0x64, 0x42, 0x0b, 0x0a, 0x09, 0x64, 0x61, 0x74, 0x61, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x22, 0x45, 467 0x0a, 0x04, 0x4c, 0x6f, 0x67, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x6c, 0x6f, 0x67, 0x73, 0x5f, 0x64, 468 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 469 0x52, 0x0f, 0x6c, 0x6f, 0x67, 0x73, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 470 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 471 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x44, 0x0a, 0x0b, 0x53, 0x68, 0x6f, 0x77, 0x43, 0x6f, 0x6d, 472 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x68, 0x6f, 0x77, 0x5f, 0x63, 0x6f, 0x6d, 473 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x68, 0x6f, 0x77, 474 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 475 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x44, 0x0a, 0x0d, 0x53, 476 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x53, 0x63, 0x72, 0x69, 0x70, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 477 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 478 0x09, 0x52, 0x0a, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 479 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 480 0x61, 0x22, 0x3b, 0x0a, 0x0b, 0x42, 0x61, 0x73, 0x68, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 481 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 482 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 483 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x62, 0x06, 484 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 485 } 486 487 var ( 488 file_healthzdata_proto_rawDescOnce sync.Once 489 file_healthzdata_proto_rawDescData = file_healthzdata_proto_rawDesc 490 ) 491 492 func file_healthzdata_proto_rawDescGZIP() []byte { 493 file_healthzdata_proto_rawDescOnce.Do(func() { 494 file_healthzdata_proto_rawDescData = protoimpl.X.CompressGZIP(file_healthzdata_proto_rawDescData) 495 }) 496 return file_healthzdata_proto_rawDescData 497 } 498 499 var file_healthzdata_proto_msgTypes = make([]protoimpl.MessageInfo, 6) 500 var file_healthzdata_proto_goTypes = []interface{}{ 501 (*HealthzData)(nil), // 0: HealthzData 502 (*HealthzDataPoint)(nil), // 1: HealthzDataPoint 503 (*Logs)(nil), // 2: Logs 504 (*ShowCommand)(nil), // 3: ShowCommand 505 (*SupportScript)(nil), // 4: SupportScript 506 (*BashCommand)(nil), // 5: BashCommand 507 } 508 var file_healthzdata_proto_depIdxs = []int32{ 509 1, // 0: HealthzData.data_points:type_name -> HealthzDataPoint 510 3, // 1: HealthzDataPoint.show_command:type_name -> ShowCommand 511 4, // 2: HealthzDataPoint.support_script:type_name -> SupportScript 512 2, // 3: HealthzDataPoint.logs:type_name -> Logs 513 5, // 4: HealthzDataPoint.bash_command:type_name -> BashCommand 514 5, // [5:5] is the sub-list for method output_type 515 5, // [5:5] is the sub-list for method input_type 516 5, // [5:5] is the sub-list for extension type_name 517 5, // [5:5] is the sub-list for extension extendee 518 0, // [0:5] is the sub-list for field type_name 519 } 520 521 func init() { file_healthzdata_proto_init() } 522 func file_healthzdata_proto_init() { 523 if File_healthzdata_proto != nil { 524 return 525 } 526 if !protoimpl.UnsafeEnabled { 527 file_healthzdata_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 528 switch v := v.(*HealthzData); i { 529 case 0: 530 return &v.state 531 case 1: 532 return &v.sizeCache 533 case 2: 534 return &v.unknownFields 535 default: 536 return nil 537 } 538 } 539 file_healthzdata_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 540 switch v := v.(*HealthzDataPoint); i { 541 case 0: 542 return &v.state 543 case 1: 544 return &v.sizeCache 545 case 2: 546 return &v.unknownFields 547 default: 548 return nil 549 } 550 } 551 file_healthzdata_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 552 switch v := v.(*Logs); i { 553 case 0: 554 return &v.state 555 case 1: 556 return &v.sizeCache 557 case 2: 558 return &v.unknownFields 559 default: 560 return nil 561 } 562 } 563 file_healthzdata_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 564 switch v := v.(*ShowCommand); i { 565 case 0: 566 return &v.state 567 case 1: 568 return &v.sizeCache 569 case 2: 570 return &v.unknownFields 571 default: 572 return nil 573 } 574 } 575 file_healthzdata_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 576 switch v := v.(*SupportScript); i { 577 case 0: 578 return &v.state 579 case 1: 580 return &v.sizeCache 581 case 2: 582 return &v.unknownFields 583 default: 584 return nil 585 } 586 } 587 file_healthzdata_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 588 switch v := v.(*BashCommand); i { 589 case 0: 590 return &v.state 591 case 1: 592 return &v.sizeCache 593 case 2: 594 return &v.unknownFields 595 default: 596 return nil 597 } 598 } 599 } 600 file_healthzdata_proto_msgTypes[1].OneofWrappers = []interface{}{ 601 (*HealthzDataPoint_ShowCommand)(nil), 602 (*HealthzDataPoint_SupportScript)(nil), 603 (*HealthzDataPoint_Logs)(nil), 604 (*HealthzDataPoint_BashCommand)(nil), 605 } 606 type x struct{} 607 out := protoimpl.TypeBuilder{ 608 File: protoimpl.DescBuilder{ 609 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 610 RawDescriptor: file_healthzdata_proto_rawDesc, 611 NumEnums: 0, 612 NumMessages: 6, 613 NumExtensions: 0, 614 NumServices: 0, 615 }, 616 GoTypes: file_healthzdata_proto_goTypes, 617 DependencyIndexes: file_healthzdata_proto_depIdxs, 618 MessageInfos: file_healthzdata_proto_msgTypes, 619 }.Build() 620 File_healthzdata_proto = out.File 621 file_healthzdata_proto_rawDesc = nil 622 file_healthzdata_proto_goTypes = nil 623 file_healthzdata_proto_depIdxs = nil 624 }