github.com/hxx258456/ccgo@v0.0.5-0.20230213014102-48b35f46f66f/go-control-plane/envoy/admin/v3/server_info.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.25.0 4 // protoc v3.16.0 5 // source: envoy/admin/v3/server_info.proto 6 7 package envoy_admin_v3 8 9 import ( 10 _ "github.com/cncf/xds/go/udpa/annotations" 11 _ "github.com/hxx258456/ccgo/go-control-plane/envoy/annotations" 12 v3 "github.com/hxx258456/ccgo/go-control-plane/envoy/config/core/v3" 13 proto "github.com/golang/protobuf/proto" 14 duration "github.com/golang/protobuf/ptypes/duration" 15 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 16 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 17 reflect "reflect" 18 sync "sync" 19 ) 20 21 const ( 22 // Verify that this generated code is sufficiently up-to-date. 23 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 24 // Verify that runtime/protoimpl is sufficiently up-to-date. 25 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 26 ) 27 28 // This is a compile-time assertion that a sufficiently up-to-date version 29 // of the legacy proto package is being used. 30 const _ = proto.ProtoPackageIsVersion4 31 32 type ServerInfo_State int32 33 34 const ( 35 // Server is live and serving traffic. 36 ServerInfo_LIVE ServerInfo_State = 0 37 // Server is draining listeners in response to external health checks failing. 38 ServerInfo_DRAINING ServerInfo_State = 1 39 // Server has not yet completed cluster manager initialization. 40 ServerInfo_PRE_INITIALIZING ServerInfo_State = 2 41 // Server is running the cluster manager initialization callbacks (e.g., RDS). 42 ServerInfo_INITIALIZING ServerInfo_State = 3 43 ) 44 45 // Enum value maps for ServerInfo_State. 46 var ( 47 ServerInfo_State_name = map[int32]string{ 48 0: "LIVE", 49 1: "DRAINING", 50 2: "PRE_INITIALIZING", 51 3: "INITIALIZING", 52 } 53 ServerInfo_State_value = map[string]int32{ 54 "LIVE": 0, 55 "DRAINING": 1, 56 "PRE_INITIALIZING": 2, 57 "INITIALIZING": 3, 58 } 59 ) 60 61 func (x ServerInfo_State) Enum() *ServerInfo_State { 62 p := new(ServerInfo_State) 63 *p = x 64 return p 65 } 66 67 func (x ServerInfo_State) String() string { 68 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 69 } 70 71 func (ServerInfo_State) Descriptor() protoreflect.EnumDescriptor { 72 return file_envoy_admin_v3_server_info_proto_enumTypes[0].Descriptor() 73 } 74 75 func (ServerInfo_State) Type() protoreflect.EnumType { 76 return &file_envoy_admin_v3_server_info_proto_enumTypes[0] 77 } 78 79 func (x ServerInfo_State) Number() protoreflect.EnumNumber { 80 return protoreflect.EnumNumber(x) 81 } 82 83 // Deprecated: Use ServerInfo_State.Descriptor instead. 84 func (ServerInfo_State) EnumDescriptor() ([]byte, []int) { 85 return file_envoy_admin_v3_server_info_proto_rawDescGZIP(), []int{0, 0} 86 } 87 88 type CommandLineOptions_IpVersion int32 89 90 const ( 91 CommandLineOptions_v4 CommandLineOptions_IpVersion = 0 92 CommandLineOptions_v6 CommandLineOptions_IpVersion = 1 93 ) 94 95 // Enum value maps for CommandLineOptions_IpVersion. 96 var ( 97 CommandLineOptions_IpVersion_name = map[int32]string{ 98 0: "v4", 99 1: "v6", 100 } 101 CommandLineOptions_IpVersion_value = map[string]int32{ 102 "v4": 0, 103 "v6": 1, 104 } 105 ) 106 107 func (x CommandLineOptions_IpVersion) Enum() *CommandLineOptions_IpVersion { 108 p := new(CommandLineOptions_IpVersion) 109 *p = x 110 return p 111 } 112 113 func (x CommandLineOptions_IpVersion) String() string { 114 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 115 } 116 117 func (CommandLineOptions_IpVersion) Descriptor() protoreflect.EnumDescriptor { 118 return file_envoy_admin_v3_server_info_proto_enumTypes[1].Descriptor() 119 } 120 121 func (CommandLineOptions_IpVersion) Type() protoreflect.EnumType { 122 return &file_envoy_admin_v3_server_info_proto_enumTypes[1] 123 } 124 125 func (x CommandLineOptions_IpVersion) Number() protoreflect.EnumNumber { 126 return protoreflect.EnumNumber(x) 127 } 128 129 // Deprecated: Use CommandLineOptions_IpVersion.Descriptor instead. 130 func (CommandLineOptions_IpVersion) EnumDescriptor() ([]byte, []int) { 131 return file_envoy_admin_v3_server_info_proto_rawDescGZIP(), []int{1, 0} 132 } 133 134 type CommandLineOptions_Mode int32 135 136 const ( 137 // Validate configs and then serve traffic normally. 138 CommandLineOptions_Serve CommandLineOptions_Mode = 0 139 // Validate configs and exit. 140 CommandLineOptions_Validate CommandLineOptions_Mode = 1 141 // Completely load and initialize the config, and then exit without running the listener loop. 142 CommandLineOptions_InitOnly CommandLineOptions_Mode = 2 143 ) 144 145 // Enum value maps for CommandLineOptions_Mode. 146 var ( 147 CommandLineOptions_Mode_name = map[int32]string{ 148 0: "Serve", 149 1: "Validate", 150 2: "InitOnly", 151 } 152 CommandLineOptions_Mode_value = map[string]int32{ 153 "Serve": 0, 154 "Validate": 1, 155 "InitOnly": 2, 156 } 157 ) 158 159 func (x CommandLineOptions_Mode) Enum() *CommandLineOptions_Mode { 160 p := new(CommandLineOptions_Mode) 161 *p = x 162 return p 163 } 164 165 func (x CommandLineOptions_Mode) String() string { 166 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 167 } 168 169 func (CommandLineOptions_Mode) Descriptor() protoreflect.EnumDescriptor { 170 return file_envoy_admin_v3_server_info_proto_enumTypes[2].Descriptor() 171 } 172 173 func (CommandLineOptions_Mode) Type() protoreflect.EnumType { 174 return &file_envoy_admin_v3_server_info_proto_enumTypes[2] 175 } 176 177 func (x CommandLineOptions_Mode) Number() protoreflect.EnumNumber { 178 return protoreflect.EnumNumber(x) 179 } 180 181 // Deprecated: Use CommandLineOptions_Mode.Descriptor instead. 182 func (CommandLineOptions_Mode) EnumDescriptor() ([]byte, []int) { 183 return file_envoy_admin_v3_server_info_proto_rawDescGZIP(), []int{1, 1} 184 } 185 186 type CommandLineOptions_DrainStrategy int32 187 188 const ( 189 // Gradually discourage connections over the course of the drain period. 190 CommandLineOptions_Gradual CommandLineOptions_DrainStrategy = 0 191 // Discourage all connections for the duration of the drain sequence. 192 CommandLineOptions_Immediate CommandLineOptions_DrainStrategy = 1 193 ) 194 195 // Enum value maps for CommandLineOptions_DrainStrategy. 196 var ( 197 CommandLineOptions_DrainStrategy_name = map[int32]string{ 198 0: "Gradual", 199 1: "Immediate", 200 } 201 CommandLineOptions_DrainStrategy_value = map[string]int32{ 202 "Gradual": 0, 203 "Immediate": 1, 204 } 205 ) 206 207 func (x CommandLineOptions_DrainStrategy) Enum() *CommandLineOptions_DrainStrategy { 208 p := new(CommandLineOptions_DrainStrategy) 209 *p = x 210 return p 211 } 212 213 func (x CommandLineOptions_DrainStrategy) String() string { 214 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 215 } 216 217 func (CommandLineOptions_DrainStrategy) Descriptor() protoreflect.EnumDescriptor { 218 return file_envoy_admin_v3_server_info_proto_enumTypes[3].Descriptor() 219 } 220 221 func (CommandLineOptions_DrainStrategy) Type() protoreflect.EnumType { 222 return &file_envoy_admin_v3_server_info_proto_enumTypes[3] 223 } 224 225 func (x CommandLineOptions_DrainStrategy) Number() protoreflect.EnumNumber { 226 return protoreflect.EnumNumber(x) 227 } 228 229 // Deprecated: Use CommandLineOptions_DrainStrategy.Descriptor instead. 230 func (CommandLineOptions_DrainStrategy) EnumDescriptor() ([]byte, []int) { 231 return file_envoy_admin_v3_server_info_proto_rawDescGZIP(), []int{1, 2} 232 } 233 234 // Proto representation of the value returned by /server_info, containing 235 // server version/server status information. 236 // [#next-free-field: 8] 237 type ServerInfo struct { 238 state protoimpl.MessageState 239 sizeCache protoimpl.SizeCache 240 unknownFields protoimpl.UnknownFields 241 242 // Server version. 243 Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` 244 // State of the server. 245 State ServerInfo_State `protobuf:"varint,2,opt,name=state,proto3,enum=envoy.admin.v3.ServerInfo_State" json:"state,omitempty"` 246 // Uptime since current epoch was started. 247 UptimeCurrentEpoch *duration.Duration `protobuf:"bytes,3,opt,name=uptime_current_epoch,json=uptimeCurrentEpoch,proto3" json:"uptime_current_epoch,omitempty"` 248 // Uptime since the start of the first epoch. 249 UptimeAllEpochs *duration.Duration `protobuf:"bytes,4,opt,name=uptime_all_epochs,json=uptimeAllEpochs,proto3" json:"uptime_all_epochs,omitempty"` 250 // Hot restart version. 251 HotRestartVersion string `protobuf:"bytes,5,opt,name=hot_restart_version,json=hotRestartVersion,proto3" json:"hot_restart_version,omitempty"` 252 // Command line options the server is currently running with. 253 CommandLineOptions *CommandLineOptions `protobuf:"bytes,6,opt,name=command_line_options,json=commandLineOptions,proto3" json:"command_line_options,omitempty"` 254 // Populated node identity of this server. 255 Node *v3.Node `protobuf:"bytes,7,opt,name=node,proto3" json:"node,omitempty"` 256 } 257 258 func (x *ServerInfo) Reset() { 259 *x = ServerInfo{} 260 if protoimpl.UnsafeEnabled { 261 mi := &file_envoy_admin_v3_server_info_proto_msgTypes[0] 262 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 263 ms.StoreMessageInfo(mi) 264 } 265 } 266 267 func (x *ServerInfo) String() string { 268 return protoimpl.X.MessageStringOf(x) 269 } 270 271 func (*ServerInfo) ProtoMessage() {} 272 273 func (x *ServerInfo) ProtoReflect() protoreflect.Message { 274 mi := &file_envoy_admin_v3_server_info_proto_msgTypes[0] 275 if protoimpl.UnsafeEnabled && x != nil { 276 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 277 if ms.LoadMessageInfo() == nil { 278 ms.StoreMessageInfo(mi) 279 } 280 return ms 281 } 282 return mi.MessageOf(x) 283 } 284 285 // Deprecated: Use ServerInfo.ProtoReflect.Descriptor instead. 286 func (*ServerInfo) Descriptor() ([]byte, []int) { 287 return file_envoy_admin_v3_server_info_proto_rawDescGZIP(), []int{0} 288 } 289 290 func (x *ServerInfo) GetVersion() string { 291 if x != nil { 292 return x.Version 293 } 294 return "" 295 } 296 297 func (x *ServerInfo) GetState() ServerInfo_State { 298 if x != nil { 299 return x.State 300 } 301 return ServerInfo_LIVE 302 } 303 304 func (x *ServerInfo) GetUptimeCurrentEpoch() *duration.Duration { 305 if x != nil { 306 return x.UptimeCurrentEpoch 307 } 308 return nil 309 } 310 311 func (x *ServerInfo) GetUptimeAllEpochs() *duration.Duration { 312 if x != nil { 313 return x.UptimeAllEpochs 314 } 315 return nil 316 } 317 318 func (x *ServerInfo) GetHotRestartVersion() string { 319 if x != nil { 320 return x.HotRestartVersion 321 } 322 return "" 323 } 324 325 func (x *ServerInfo) GetCommandLineOptions() *CommandLineOptions { 326 if x != nil { 327 return x.CommandLineOptions 328 } 329 return nil 330 } 331 332 func (x *ServerInfo) GetNode() *v3.Node { 333 if x != nil { 334 return x.Node 335 } 336 return nil 337 } 338 339 // [#next-free-field: 38] 340 type CommandLineOptions struct { 341 state protoimpl.MessageState 342 sizeCache protoimpl.SizeCache 343 unknownFields protoimpl.UnknownFields 344 345 // See :option:`--base-id` for details. 346 BaseId uint64 `protobuf:"varint,1,opt,name=base_id,json=baseId,proto3" json:"base_id,omitempty"` 347 // See :option:`--use-dynamic-base-id` for details. 348 UseDynamicBaseId bool `protobuf:"varint,31,opt,name=use_dynamic_base_id,json=useDynamicBaseId,proto3" json:"use_dynamic_base_id,omitempty"` 349 // See :option:`--base-id-path` for details. 350 BaseIdPath string `protobuf:"bytes,32,opt,name=base_id_path,json=baseIdPath,proto3" json:"base_id_path,omitempty"` 351 // See :option:`--concurrency` for details. 352 Concurrency uint32 `protobuf:"varint,2,opt,name=concurrency,proto3" json:"concurrency,omitempty"` 353 // See :option:`--config-path` for details. 354 ConfigPath string `protobuf:"bytes,3,opt,name=config_path,json=configPath,proto3" json:"config_path,omitempty"` 355 // See :option:`--config-yaml` for details. 356 ConfigYaml string `protobuf:"bytes,4,opt,name=config_yaml,json=configYaml,proto3" json:"config_yaml,omitempty"` 357 // See :option:`--allow-unknown-static-fields` for details. 358 AllowUnknownStaticFields bool `protobuf:"varint,5,opt,name=allow_unknown_static_fields,json=allowUnknownStaticFields,proto3" json:"allow_unknown_static_fields,omitempty"` 359 // See :option:`--reject-unknown-dynamic-fields` for details. 360 RejectUnknownDynamicFields bool `protobuf:"varint,26,opt,name=reject_unknown_dynamic_fields,json=rejectUnknownDynamicFields,proto3" json:"reject_unknown_dynamic_fields,omitempty"` 361 // See :option:`--ignore-unknown-dynamic-fields` for details. 362 IgnoreUnknownDynamicFields bool `protobuf:"varint,30,opt,name=ignore_unknown_dynamic_fields,json=ignoreUnknownDynamicFields,proto3" json:"ignore_unknown_dynamic_fields,omitempty"` 363 // See :option:`--admin-address-path` for details. 364 AdminAddressPath string `protobuf:"bytes,6,opt,name=admin_address_path,json=adminAddressPath,proto3" json:"admin_address_path,omitempty"` 365 // See :option:`--local-address-ip-version` for details. 366 LocalAddressIpVersion CommandLineOptions_IpVersion `protobuf:"varint,7,opt,name=local_address_ip_version,json=localAddressIpVersion,proto3,enum=envoy.admin.v3.CommandLineOptions_IpVersion" json:"local_address_ip_version,omitempty"` 367 // See :option:`--log-level` for details. 368 LogLevel string `protobuf:"bytes,8,opt,name=log_level,json=logLevel,proto3" json:"log_level,omitempty"` 369 // See :option:`--component-log-level` for details. 370 ComponentLogLevel string `protobuf:"bytes,9,opt,name=component_log_level,json=componentLogLevel,proto3" json:"component_log_level,omitempty"` 371 // See :option:`--log-format` for details. 372 LogFormat string `protobuf:"bytes,10,opt,name=log_format,json=logFormat,proto3" json:"log_format,omitempty"` 373 // See :option:`--log-format-escaped` for details. 374 LogFormatEscaped bool `protobuf:"varint,27,opt,name=log_format_escaped,json=logFormatEscaped,proto3" json:"log_format_escaped,omitempty"` 375 // See :option:`--log-path` for details. 376 LogPath string `protobuf:"bytes,11,opt,name=log_path,json=logPath,proto3" json:"log_path,omitempty"` 377 // See :option:`--service-cluster` for details. 378 ServiceCluster string `protobuf:"bytes,13,opt,name=service_cluster,json=serviceCluster,proto3" json:"service_cluster,omitempty"` 379 // See :option:`--service-node` for details. 380 ServiceNode string `protobuf:"bytes,14,opt,name=service_node,json=serviceNode,proto3" json:"service_node,omitempty"` 381 // See :option:`--service-zone` for details. 382 ServiceZone string `protobuf:"bytes,15,opt,name=service_zone,json=serviceZone,proto3" json:"service_zone,omitempty"` 383 // See :option:`--file-flush-interval-msec` for details. 384 FileFlushInterval *duration.Duration `protobuf:"bytes,16,opt,name=file_flush_interval,json=fileFlushInterval,proto3" json:"file_flush_interval,omitempty"` 385 // See :option:`--drain-time-s` for details. 386 DrainTime *duration.Duration `protobuf:"bytes,17,opt,name=drain_time,json=drainTime,proto3" json:"drain_time,omitempty"` 387 // See :option:`--drain-strategy` for details. 388 DrainStrategy CommandLineOptions_DrainStrategy `protobuf:"varint,33,opt,name=drain_strategy,json=drainStrategy,proto3,enum=envoy.admin.v3.CommandLineOptions_DrainStrategy" json:"drain_strategy,omitempty"` 389 // See :option:`--parent-shutdown-time-s` for details. 390 ParentShutdownTime *duration.Duration `protobuf:"bytes,18,opt,name=parent_shutdown_time,json=parentShutdownTime,proto3" json:"parent_shutdown_time,omitempty"` 391 // See :option:`--mode` for details. 392 Mode CommandLineOptions_Mode `protobuf:"varint,19,opt,name=mode,proto3,enum=envoy.admin.v3.CommandLineOptions_Mode" json:"mode,omitempty"` 393 // See :option:`--disable-hot-restart` for details. 394 DisableHotRestart bool `protobuf:"varint,22,opt,name=disable_hot_restart,json=disableHotRestart,proto3" json:"disable_hot_restart,omitempty"` 395 // See :option:`--enable-mutex-tracing` for details. 396 EnableMutexTracing bool `protobuf:"varint,23,opt,name=enable_mutex_tracing,json=enableMutexTracing,proto3" json:"enable_mutex_tracing,omitempty"` 397 // See :option:`--restart-epoch` for details. 398 RestartEpoch uint32 `protobuf:"varint,24,opt,name=restart_epoch,json=restartEpoch,proto3" json:"restart_epoch,omitempty"` 399 // See :option:`--cpuset-threads` for details. 400 CpusetThreads bool `protobuf:"varint,25,opt,name=cpuset_threads,json=cpusetThreads,proto3" json:"cpuset_threads,omitempty"` 401 // See :option:`--disable-extensions` for details. 402 DisabledExtensions []string `protobuf:"bytes,28,rep,name=disabled_extensions,json=disabledExtensions,proto3" json:"disabled_extensions,omitempty"` 403 // See :option:`--enable-fine-grain-logging` for details. 404 EnableFineGrainLogging bool `protobuf:"varint,34,opt,name=enable_fine_grain_logging,json=enableFineGrainLogging,proto3" json:"enable_fine_grain_logging,omitempty"` 405 // See :option:`--socket-path` for details. 406 SocketPath string `protobuf:"bytes,35,opt,name=socket_path,json=socketPath,proto3" json:"socket_path,omitempty"` 407 // See :option:`--socket-mode` for details. 408 SocketMode uint32 `protobuf:"varint,36,opt,name=socket_mode,json=socketMode,proto3" json:"socket_mode,omitempty"` 409 // See :option:`--enable-core-dump` for details. 410 EnableCoreDump bool `protobuf:"varint,37,opt,name=enable_core_dump,json=enableCoreDump,proto3" json:"enable_core_dump,omitempty"` 411 // Deprecated: Do not use. 412 HiddenEnvoyDeprecatedMaxStats uint64 `protobuf:"varint,20,opt,name=hidden_envoy_deprecated_max_stats,json=hiddenEnvoyDeprecatedMaxStats,proto3" json:"hidden_envoy_deprecated_max_stats,omitempty"` 413 // Deprecated: Do not use. 414 HiddenEnvoyDeprecatedMaxObjNameLen uint64 `protobuf:"varint,21,opt,name=hidden_envoy_deprecated_max_obj_name_len,json=hiddenEnvoyDeprecatedMaxObjNameLen,proto3" json:"hidden_envoy_deprecated_max_obj_name_len,omitempty"` 415 } 416 417 func (x *CommandLineOptions) Reset() { 418 *x = CommandLineOptions{} 419 if protoimpl.UnsafeEnabled { 420 mi := &file_envoy_admin_v3_server_info_proto_msgTypes[1] 421 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 422 ms.StoreMessageInfo(mi) 423 } 424 } 425 426 func (x *CommandLineOptions) String() string { 427 return protoimpl.X.MessageStringOf(x) 428 } 429 430 func (*CommandLineOptions) ProtoMessage() {} 431 432 func (x *CommandLineOptions) ProtoReflect() protoreflect.Message { 433 mi := &file_envoy_admin_v3_server_info_proto_msgTypes[1] 434 if protoimpl.UnsafeEnabled && x != nil { 435 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 436 if ms.LoadMessageInfo() == nil { 437 ms.StoreMessageInfo(mi) 438 } 439 return ms 440 } 441 return mi.MessageOf(x) 442 } 443 444 // Deprecated: Use CommandLineOptions.ProtoReflect.Descriptor instead. 445 func (*CommandLineOptions) Descriptor() ([]byte, []int) { 446 return file_envoy_admin_v3_server_info_proto_rawDescGZIP(), []int{1} 447 } 448 449 func (x *CommandLineOptions) GetBaseId() uint64 { 450 if x != nil { 451 return x.BaseId 452 } 453 return 0 454 } 455 456 func (x *CommandLineOptions) GetUseDynamicBaseId() bool { 457 if x != nil { 458 return x.UseDynamicBaseId 459 } 460 return false 461 } 462 463 func (x *CommandLineOptions) GetBaseIdPath() string { 464 if x != nil { 465 return x.BaseIdPath 466 } 467 return "" 468 } 469 470 func (x *CommandLineOptions) GetConcurrency() uint32 { 471 if x != nil { 472 return x.Concurrency 473 } 474 return 0 475 } 476 477 func (x *CommandLineOptions) GetConfigPath() string { 478 if x != nil { 479 return x.ConfigPath 480 } 481 return "" 482 } 483 484 func (x *CommandLineOptions) GetConfigYaml() string { 485 if x != nil { 486 return x.ConfigYaml 487 } 488 return "" 489 } 490 491 func (x *CommandLineOptions) GetAllowUnknownStaticFields() bool { 492 if x != nil { 493 return x.AllowUnknownStaticFields 494 } 495 return false 496 } 497 498 func (x *CommandLineOptions) GetRejectUnknownDynamicFields() bool { 499 if x != nil { 500 return x.RejectUnknownDynamicFields 501 } 502 return false 503 } 504 505 func (x *CommandLineOptions) GetIgnoreUnknownDynamicFields() bool { 506 if x != nil { 507 return x.IgnoreUnknownDynamicFields 508 } 509 return false 510 } 511 512 func (x *CommandLineOptions) GetAdminAddressPath() string { 513 if x != nil { 514 return x.AdminAddressPath 515 } 516 return "" 517 } 518 519 func (x *CommandLineOptions) GetLocalAddressIpVersion() CommandLineOptions_IpVersion { 520 if x != nil { 521 return x.LocalAddressIpVersion 522 } 523 return CommandLineOptions_v4 524 } 525 526 func (x *CommandLineOptions) GetLogLevel() string { 527 if x != nil { 528 return x.LogLevel 529 } 530 return "" 531 } 532 533 func (x *CommandLineOptions) GetComponentLogLevel() string { 534 if x != nil { 535 return x.ComponentLogLevel 536 } 537 return "" 538 } 539 540 func (x *CommandLineOptions) GetLogFormat() string { 541 if x != nil { 542 return x.LogFormat 543 } 544 return "" 545 } 546 547 func (x *CommandLineOptions) GetLogFormatEscaped() bool { 548 if x != nil { 549 return x.LogFormatEscaped 550 } 551 return false 552 } 553 554 func (x *CommandLineOptions) GetLogPath() string { 555 if x != nil { 556 return x.LogPath 557 } 558 return "" 559 } 560 561 func (x *CommandLineOptions) GetServiceCluster() string { 562 if x != nil { 563 return x.ServiceCluster 564 } 565 return "" 566 } 567 568 func (x *CommandLineOptions) GetServiceNode() string { 569 if x != nil { 570 return x.ServiceNode 571 } 572 return "" 573 } 574 575 func (x *CommandLineOptions) GetServiceZone() string { 576 if x != nil { 577 return x.ServiceZone 578 } 579 return "" 580 } 581 582 func (x *CommandLineOptions) GetFileFlushInterval() *duration.Duration { 583 if x != nil { 584 return x.FileFlushInterval 585 } 586 return nil 587 } 588 589 func (x *CommandLineOptions) GetDrainTime() *duration.Duration { 590 if x != nil { 591 return x.DrainTime 592 } 593 return nil 594 } 595 596 func (x *CommandLineOptions) GetDrainStrategy() CommandLineOptions_DrainStrategy { 597 if x != nil { 598 return x.DrainStrategy 599 } 600 return CommandLineOptions_Gradual 601 } 602 603 func (x *CommandLineOptions) GetParentShutdownTime() *duration.Duration { 604 if x != nil { 605 return x.ParentShutdownTime 606 } 607 return nil 608 } 609 610 func (x *CommandLineOptions) GetMode() CommandLineOptions_Mode { 611 if x != nil { 612 return x.Mode 613 } 614 return CommandLineOptions_Serve 615 } 616 617 func (x *CommandLineOptions) GetDisableHotRestart() bool { 618 if x != nil { 619 return x.DisableHotRestart 620 } 621 return false 622 } 623 624 func (x *CommandLineOptions) GetEnableMutexTracing() bool { 625 if x != nil { 626 return x.EnableMutexTracing 627 } 628 return false 629 } 630 631 func (x *CommandLineOptions) GetRestartEpoch() uint32 { 632 if x != nil { 633 return x.RestartEpoch 634 } 635 return 0 636 } 637 638 func (x *CommandLineOptions) GetCpusetThreads() bool { 639 if x != nil { 640 return x.CpusetThreads 641 } 642 return false 643 } 644 645 func (x *CommandLineOptions) GetDisabledExtensions() []string { 646 if x != nil { 647 return x.DisabledExtensions 648 } 649 return nil 650 } 651 652 func (x *CommandLineOptions) GetEnableFineGrainLogging() bool { 653 if x != nil { 654 return x.EnableFineGrainLogging 655 } 656 return false 657 } 658 659 func (x *CommandLineOptions) GetSocketPath() string { 660 if x != nil { 661 return x.SocketPath 662 } 663 return "" 664 } 665 666 func (x *CommandLineOptions) GetSocketMode() uint32 { 667 if x != nil { 668 return x.SocketMode 669 } 670 return 0 671 } 672 673 func (x *CommandLineOptions) GetEnableCoreDump() bool { 674 if x != nil { 675 return x.EnableCoreDump 676 } 677 return false 678 } 679 680 // Deprecated: Do not use. 681 func (x *CommandLineOptions) GetHiddenEnvoyDeprecatedMaxStats() uint64 { 682 if x != nil { 683 return x.HiddenEnvoyDeprecatedMaxStats 684 } 685 return 0 686 } 687 688 // Deprecated: Do not use. 689 func (x *CommandLineOptions) GetHiddenEnvoyDeprecatedMaxObjNameLen() uint64 { 690 if x != nil { 691 return x.HiddenEnvoyDeprecatedMaxObjNameLen 692 } 693 return 0 694 } 695 696 var File_envoy_admin_v3_server_info_proto protoreflect.FileDescriptor 697 698 var file_envoy_admin_v3_server_info_proto_rawDesc = []byte{ 699 0x0a, 0x20, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x76, 0x33, 700 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 701 0x74, 0x6f, 0x12, 0x0e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 702 0x76, 0x33, 0x1a, 0x1f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 703 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x70, 0x72, 704 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 705 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 706 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 707 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x69, 708 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 709 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 710 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 711 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 712 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x98, 0x04, 0x0a, 0x0a, 0x53, 713 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 714 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 715 0x69, 0x6f, 0x6e, 0x12, 0x36, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 716 0x28, 0x0e, 0x32, 0x20, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 717 0x2e, 0x76, 0x33, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x53, 718 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x4b, 0x0a, 0x14, 0x75, 719 0x70, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x65, 0x70, 720 0x6f, 0x63, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 721 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 722 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x12, 0x75, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x43, 0x75, 0x72, 0x72, 723 0x65, 0x6e, 0x74, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x45, 0x0a, 0x11, 0x75, 0x70, 0x74, 0x69, 724 0x6d, 0x65, 0x5f, 0x61, 0x6c, 0x6c, 0x5f, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x73, 0x18, 0x04, 0x20, 725 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 726 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0f, 727 0x75, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x41, 0x6c, 0x6c, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x73, 0x12, 728 0x2e, 0x0a, 0x13, 0x68, 0x6f, 0x74, 0x5f, 0x72, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x76, 729 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x68, 0x6f, 730 0x74, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 731 0x54, 0x0a, 0x14, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x5f, 0x6c, 0x69, 0x6e, 0x65, 0x5f, 732 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 733 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x43, 734 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x4c, 0x69, 0x6e, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 735 0x73, 0x52, 0x12, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x4c, 0x69, 0x6e, 0x65, 0x4f, 0x70, 736 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2e, 0x0a, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x07, 0x20, 737 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 738 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 739 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x22, 0x47, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x08, 740 0x0a, 0x04, 0x4c, 0x49, 0x56, 0x45, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x52, 0x41, 0x49, 741 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x14, 0x0a, 0x10, 0x50, 0x52, 0x45, 0x5f, 0x49, 0x4e, 742 0x49, 0x54, 0x49, 0x41, 0x4c, 0x49, 0x5a, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x10, 0x0a, 0x0c, 743 0x49, 0x4e, 0x49, 0x54, 0x49, 0x41, 0x4c, 0x49, 0x5a, 0x49, 0x4e, 0x47, 0x10, 0x03, 0x3a, 0x25, 744 0x9a, 0xc5, 0x88, 0x1e, 0x20, 0x0a, 0x1e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 745 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 746 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0xdb, 0x0f, 0x0a, 0x12, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 747 0x64, 0x4c, 0x69, 0x6e, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x17, 0x0a, 0x07, 748 0x62, 0x61, 0x73, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x62, 749 0x61, 0x73, 0x65, 0x49, 0x64, 0x12, 0x2d, 0x0a, 0x13, 0x75, 0x73, 0x65, 0x5f, 0x64, 0x79, 0x6e, 750 0x61, 0x6d, 0x69, 0x63, 0x5f, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x1f, 0x20, 0x01, 751 0x28, 0x08, 0x52, 0x10, 0x75, 0x73, 0x65, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x42, 0x61, 752 0x73, 0x65, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0c, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x69, 0x64, 0x5f, 753 0x70, 0x61, 0x74, 0x68, 0x18, 0x20, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x62, 0x61, 0x73, 0x65, 754 0x49, 0x64, 0x50, 0x61, 0x74, 0x68, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x63, 0x75, 0x72, 755 0x72, 0x65, 0x6e, 0x63, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 756 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x63, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x66, 757 0x69, 0x67, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 758 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x50, 0x61, 0x74, 0x68, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 759 0x66, 0x69, 0x67, 0x5f, 0x79, 0x61, 0x6d, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 760 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x59, 0x61, 0x6d, 0x6c, 0x12, 0x3d, 0x0a, 0x1b, 0x61, 0x6c, 761 0x6c, 0x6f, 0x77, 0x5f, 0x75, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 762 0x69, 0x63, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 763 0x18, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x55, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x53, 0x74, 0x61, 764 0x74, 0x69, 0x63, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, 0x41, 0x0a, 0x1d, 0x72, 0x65, 0x6a, 765 0x65, 0x63, 0x74, 0x5f, 0x75, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x5f, 0x64, 0x79, 0x6e, 0x61, 766 0x6d, 0x69, 0x63, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x08, 767 0x52, 0x1a, 0x72, 0x65, 0x6a, 0x65, 0x63, 0x74, 0x55, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x44, 768 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, 0x41, 0x0a, 0x1d, 769 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x5f, 0x75, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x5f, 0x64, 770 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x1e, 0x20, 771 0x01, 0x28, 0x08, 0x52, 0x1a, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x55, 0x6e, 0x6b, 0x6e, 0x6f, 772 0x77, 0x6e, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, 773 0x2c, 0x0a, 0x12, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 774 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x64, 0x6d, 775 0x69, 0x6e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x50, 0x61, 0x74, 0x68, 0x12, 0x65, 0x0a, 776 0x18, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x69, 777 0x70, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 778 0x2c, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33, 779 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x4c, 0x69, 0x6e, 0x65, 0x4f, 0x70, 0x74, 0x69, 780 0x6f, 0x6e, 0x73, 0x2e, 0x49, 0x70, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x15, 0x6c, 781 0x6f, 0x63, 0x61, 0x6c, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x49, 0x70, 0x56, 0x65, 0x72, 782 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x6c, 0x6f, 0x67, 0x5f, 0x6c, 0x65, 0x76, 0x65, 783 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x6f, 0x67, 0x4c, 0x65, 0x76, 0x65, 784 0x6c, 0x12, 0x2e, 0x0a, 0x13, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x5f, 0x6c, 785 0x6f, 0x67, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 786 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x4c, 0x6f, 0x67, 0x4c, 0x65, 0x76, 0x65, 787 0x6c, 0x12, 0x1d, 0x0a, 0x0a, 0x6c, 0x6f, 0x67, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 788 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6c, 0x6f, 0x67, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 789 0x12, 0x2c, 0x0a, 0x12, 0x6c, 0x6f, 0x67, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x5f, 0x65, 790 0x73, 0x63, 0x61, 0x70, 0x65, 0x64, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x6c, 0x6f, 791 0x67, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x45, 0x73, 0x63, 0x61, 0x70, 0x65, 0x64, 0x12, 0x19, 792 0x0a, 0x08, 0x6c, 0x6f, 0x67, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 793 0x52, 0x07, 0x6c, 0x6f, 0x67, 0x50, 0x61, 0x74, 0x68, 0x12, 0x27, 0x0a, 0x0f, 0x73, 0x65, 0x72, 794 0x76, 0x69, 0x63, 0x65, 0x5f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x0d, 0x20, 0x01, 795 0x28, 0x09, 0x52, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 796 0x65, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6e, 0x6f, 797 0x64, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 798 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 799 0x5f, 0x7a, 0x6f, 0x6e, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x65, 0x72, 800 0x76, 0x69, 0x63, 0x65, 0x5a, 0x6f, 0x6e, 0x65, 0x12, 0x49, 0x0a, 0x13, 0x66, 0x69, 0x6c, 0x65, 801 0x5f, 0x66, 0x6c, 0x75, 0x73, 0x68, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 802 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 803 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 804 0x52, 0x11, 0x66, 0x69, 0x6c, 0x65, 0x46, 0x6c, 0x75, 0x73, 0x68, 0x49, 0x6e, 0x74, 0x65, 0x72, 805 0x76, 0x61, 0x6c, 0x12, 0x38, 0x0a, 0x0a, 0x64, 0x72, 0x61, 0x69, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 806 0x65, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 807 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 808 0x6f, 0x6e, 0x52, 0x09, 0x64, 0x72, 0x61, 0x69, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x57, 0x0a, 809 0x0e, 0x64, 0x72, 0x61, 0x69, 0x6e, 0x5f, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x18, 810 0x21, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x30, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 811 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x4c, 0x69, 812 0x6e, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x44, 0x72, 0x61, 0x69, 0x6e, 0x53, 813 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x0d, 0x64, 0x72, 0x61, 0x69, 0x6e, 0x53, 0x74, 814 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x12, 0x4b, 0x0a, 0x14, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 815 0x5f, 0x73, 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x12, 816 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 817 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 818 0x12, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x53, 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x54, 819 0x69, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x13, 0x20, 0x01, 0x28, 820 0x0e, 0x32, 0x27, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 821 0x76, 0x33, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x4c, 0x69, 0x6e, 0x65, 0x4f, 0x70, 822 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x6d, 0x6f, 0x64, 0x65, 823 0x12, 0x2e, 0x0a, 0x13, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x68, 0x6f, 0x74, 0x5f, 824 0x72, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x16, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x64, 825 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x48, 0x6f, 0x74, 0x52, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 826 0x12, 0x30, 0x0a, 0x14, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6d, 0x75, 0x74, 0x65, 0x78, 827 0x5f, 0x74, 0x72, 0x61, 0x63, 0x69, 0x6e, 0x67, 0x18, 0x17, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 828 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x4d, 0x75, 0x74, 0x65, 0x78, 0x54, 0x72, 0x61, 0x63, 0x69, 829 0x6e, 0x67, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x65, 0x70, 830 0x6f, 0x63, 0x68, 0x18, 0x18, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x74, 0x61, 831 0x72, 0x74, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x70, 0x75, 0x73, 0x65, 832 0x74, 0x5f, 0x74, 0x68, 0x72, 0x65, 0x61, 0x64, 0x73, 0x18, 0x19, 0x20, 0x01, 0x28, 0x08, 0x52, 833 0x0d, 0x63, 0x70, 0x75, 0x73, 0x65, 0x74, 0x54, 0x68, 0x72, 0x65, 0x61, 0x64, 0x73, 0x12, 0x2f, 834 0x0a, 0x13, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 835 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x1c, 0x20, 0x03, 0x28, 0x09, 0x52, 0x12, 0x64, 0x69, 0x73, 836 0x61, 0x62, 0x6c, 0x65, 0x64, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 837 0x39, 0x0a, 0x19, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x66, 0x69, 0x6e, 0x65, 0x5f, 0x67, 838 0x72, 0x61, 0x69, 0x6e, 0x5f, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x18, 0x22, 0x20, 0x01, 839 0x28, 0x08, 0x52, 0x16, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x46, 0x69, 0x6e, 0x65, 0x47, 0x72, 840 0x61, 0x69, 0x6e, 0x4c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x6f, 841 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x23, 0x20, 0x01, 0x28, 0x09, 0x52, 842 0x0a, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x50, 0x61, 0x74, 0x68, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 843 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x24, 0x20, 0x01, 0x28, 0x0d, 844 0x52, 0x0a, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x28, 0x0a, 0x10, 845 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x63, 0x6f, 0x72, 0x65, 0x5f, 0x64, 0x75, 0x6d, 0x70, 846 0x18, 0x25, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x6f, 847 0x72, 0x65, 0x44, 0x75, 0x6d, 0x70, 0x12, 0x5b, 0x0a, 0x21, 0x68, 0x69, 0x64, 0x64, 0x65, 0x6e, 848 0x5f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x5f, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 849 0x64, 0x5f, 0x6d, 0x61, 0x78, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 0x14, 0x20, 0x01, 0x28, 850 0x04, 0x42, 0x11, 0x18, 0x01, 0x92, 0xc7, 0x86, 0xd8, 0x04, 0x03, 0x33, 0x2e, 0x30, 0xb8, 0xee, 851 0xf2, 0xd2, 0x05, 0x01, 0x52, 0x1d, 0x68, 0x69, 0x64, 0x64, 0x65, 0x6e, 0x45, 0x6e, 0x76, 0x6f, 852 0x79, 0x44, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x4d, 0x61, 0x78, 0x53, 0x74, 853 0x61, 0x74, 0x73, 0x12, 0x67, 0x0a, 0x28, 0x68, 0x69, 0x64, 0x64, 0x65, 0x6e, 0x5f, 0x65, 0x6e, 854 0x76, 0x6f, 0x79, 0x5f, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6d, 855 0x61, 0x78, 0x5f, 0x6f, 0x62, 0x6a, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x6c, 0x65, 0x6e, 0x18, 856 0x15, 0x20, 0x01, 0x28, 0x04, 0x42, 0x11, 0x18, 0x01, 0x92, 0xc7, 0x86, 0xd8, 0x04, 0x03, 0x33, 857 0x2e, 0x30, 0xb8, 0xee, 0xf2, 0xd2, 0x05, 0x01, 0x52, 0x22, 0x68, 0x69, 0x64, 0x64, 0x65, 0x6e, 858 0x45, 0x6e, 0x76, 0x6f, 0x79, 0x44, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x4d, 859 0x61, 0x78, 0x4f, 0x62, 0x6a, 0x4e, 0x61, 0x6d, 0x65, 0x4c, 0x65, 0x6e, 0x22, 0x1b, 0x0a, 0x09, 860 0x49, 0x70, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x06, 0x0a, 0x02, 0x76, 0x34, 0x10, 861 0x00, 0x12, 0x06, 0x0a, 0x02, 0x76, 0x36, 0x10, 0x01, 0x22, 0x2d, 0x0a, 0x04, 0x4d, 0x6f, 0x64, 862 0x65, 0x12, 0x09, 0x0a, 0x05, 0x53, 0x65, 0x72, 0x76, 0x65, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 863 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x49, 0x6e, 864 0x69, 0x74, 0x4f, 0x6e, 0x6c, 0x79, 0x10, 0x02, 0x22, 0x2b, 0x0a, 0x0d, 0x44, 0x72, 0x61, 0x69, 865 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x12, 0x0b, 0x0a, 0x07, 0x47, 0x72, 0x61, 866 0x64, 0x75, 0x61, 0x6c, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x49, 0x6d, 0x6d, 0x65, 0x64, 0x69, 867 0x61, 0x74, 0x65, 0x10, 0x01, 0x3a, 0x2d, 0x9a, 0xc5, 0x88, 0x1e, 0x28, 0x0a, 0x26, 0x65, 0x6e, 868 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 869 0x61, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x4c, 0x69, 0x6e, 0x65, 0x4f, 0x70, 0x74, 870 0x69, 0x6f, 0x6e, 0x73, 0x4a, 0x04, 0x08, 0x0c, 0x10, 0x0d, 0x4a, 0x04, 0x08, 0x1d, 0x10, 0x1e, 871 0x52, 0x11, 0x62, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x5f, 0x76, 0x65, 0x72, 0x73, 872 0x69, 0x6f, 0x6e, 0x42, 0x39, 0x0a, 0x1c, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 873 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 874 0x2e, 0x76, 0x33, 0x42, 0x0f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x50, 875 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x02, 0x62, 0x06, 876 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 877 } 878 879 var ( 880 file_envoy_admin_v3_server_info_proto_rawDescOnce sync.Once 881 file_envoy_admin_v3_server_info_proto_rawDescData = file_envoy_admin_v3_server_info_proto_rawDesc 882 ) 883 884 func file_envoy_admin_v3_server_info_proto_rawDescGZIP() []byte { 885 file_envoy_admin_v3_server_info_proto_rawDescOnce.Do(func() { 886 file_envoy_admin_v3_server_info_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_admin_v3_server_info_proto_rawDescData) 887 }) 888 return file_envoy_admin_v3_server_info_proto_rawDescData 889 } 890 891 var file_envoy_admin_v3_server_info_proto_enumTypes = make([]protoimpl.EnumInfo, 4) 892 var file_envoy_admin_v3_server_info_proto_msgTypes = make([]protoimpl.MessageInfo, 2) 893 var file_envoy_admin_v3_server_info_proto_goTypes = []interface{}{ 894 (ServerInfo_State)(0), // 0: envoy.admin.v3.ServerInfo.State 895 (CommandLineOptions_IpVersion)(0), // 1: envoy.admin.v3.CommandLineOptions.IpVersion 896 (CommandLineOptions_Mode)(0), // 2: envoy.admin.v3.CommandLineOptions.Mode 897 (CommandLineOptions_DrainStrategy)(0), // 3: envoy.admin.v3.CommandLineOptions.DrainStrategy 898 (*ServerInfo)(nil), // 4: envoy.admin.v3.ServerInfo 899 (*CommandLineOptions)(nil), // 5: envoy.admin.v3.CommandLineOptions 900 (*duration.Duration)(nil), // 6: google.protobuf.Duration 901 (*v3.Node)(nil), // 7: envoy.config.core.v3.Node 902 } 903 var file_envoy_admin_v3_server_info_proto_depIdxs = []int32{ 904 0, // 0: envoy.admin.v3.ServerInfo.state:type_name -> envoy.admin.v3.ServerInfo.State 905 6, // 1: envoy.admin.v3.ServerInfo.uptime_current_epoch:type_name -> google.protobuf.Duration 906 6, // 2: envoy.admin.v3.ServerInfo.uptime_all_epochs:type_name -> google.protobuf.Duration 907 5, // 3: envoy.admin.v3.ServerInfo.command_line_options:type_name -> envoy.admin.v3.CommandLineOptions 908 7, // 4: envoy.admin.v3.ServerInfo.node:type_name -> envoy.config.core.v3.Node 909 1, // 5: envoy.admin.v3.CommandLineOptions.local_address_ip_version:type_name -> envoy.admin.v3.CommandLineOptions.IpVersion 910 6, // 6: envoy.admin.v3.CommandLineOptions.file_flush_interval:type_name -> google.protobuf.Duration 911 6, // 7: envoy.admin.v3.CommandLineOptions.drain_time:type_name -> google.protobuf.Duration 912 3, // 8: envoy.admin.v3.CommandLineOptions.drain_strategy:type_name -> envoy.admin.v3.CommandLineOptions.DrainStrategy 913 6, // 9: envoy.admin.v3.CommandLineOptions.parent_shutdown_time:type_name -> google.protobuf.Duration 914 2, // 10: envoy.admin.v3.CommandLineOptions.mode:type_name -> envoy.admin.v3.CommandLineOptions.Mode 915 11, // [11:11] is the sub-list for method output_type 916 11, // [11:11] is the sub-list for method input_type 917 11, // [11:11] is the sub-list for extension type_name 918 11, // [11:11] is the sub-list for extension extendee 919 0, // [0:11] is the sub-list for field type_name 920 } 921 922 func init() { file_envoy_admin_v3_server_info_proto_init() } 923 func file_envoy_admin_v3_server_info_proto_init() { 924 if File_envoy_admin_v3_server_info_proto != nil { 925 return 926 } 927 if !protoimpl.UnsafeEnabled { 928 file_envoy_admin_v3_server_info_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 929 switch v := v.(*ServerInfo); i { 930 case 0: 931 return &v.state 932 case 1: 933 return &v.sizeCache 934 case 2: 935 return &v.unknownFields 936 default: 937 return nil 938 } 939 } 940 file_envoy_admin_v3_server_info_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 941 switch v := v.(*CommandLineOptions); i { 942 case 0: 943 return &v.state 944 case 1: 945 return &v.sizeCache 946 case 2: 947 return &v.unknownFields 948 default: 949 return nil 950 } 951 } 952 } 953 type x struct{} 954 out := protoimpl.TypeBuilder{ 955 File: protoimpl.DescBuilder{ 956 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 957 RawDescriptor: file_envoy_admin_v3_server_info_proto_rawDesc, 958 NumEnums: 4, 959 NumMessages: 2, 960 NumExtensions: 0, 961 NumServices: 0, 962 }, 963 GoTypes: file_envoy_admin_v3_server_info_proto_goTypes, 964 DependencyIndexes: file_envoy_admin_v3_server_info_proto_depIdxs, 965 EnumInfos: file_envoy_admin_v3_server_info_proto_enumTypes, 966 MessageInfos: file_envoy_admin_v3_server_info_proto_msgTypes, 967 }.Build() 968 File_envoy_admin_v3_server_info_proto = out.File 969 file_envoy_admin_v3_server_info_proto_rawDesc = nil 970 file_envoy_admin_v3_server_info_proto_goTypes = nil 971 file_envoy_admin_v3_server_info_proto_depIdxs = nil 972 }