Class Bootstrap
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,BootstrapOrBuilder,Serializable
public final class Bootstrap extends com.google.protobuf.GeneratedMessageV3 implements BootstrapOrBuilder
Bootstrap :ref:`configuration overview <config_overview_bootstrap>`. [#next-free-field: 21]
Protobuf typeenvoy.config.bootstrap.v2.Bootstrap- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBootstrap.BuilderBootstrap :ref:`configuration overview <config_overview_bootstrap>`.static classBootstrap.DynamicResourcesProtobuf typeenvoy.config.bootstrap.v2.Bootstrap.DynamicResourcesstatic interfaceBootstrap.DynamicResourcesOrBuilderstatic classBootstrap.StaticResourcesProtobuf typeenvoy.config.bootstrap.v2.Bootstrap.StaticResourcesstatic interfaceBootstrap.StaticResourcesOrBuilder-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intADMIN_FIELD_NUMBERstatic intCLUSTER_MANAGER_FIELD_NUMBERstatic intDYNAMIC_RESOURCES_FIELD_NUMBERstatic intENABLE_DISPATCHER_STATS_FIELD_NUMBERstatic intFLAGS_PATH_FIELD_NUMBERstatic intHDS_CONFIG_FIELD_NUMBERstatic intHEADER_PREFIX_FIELD_NUMBERstatic intLAYERED_RUNTIME_FIELD_NUMBERstatic intNODE_FIELD_NUMBERstatic intOVERLOAD_MANAGER_FIELD_NUMBERstatic intRUNTIME_FIELD_NUMBERstatic intSTATIC_RESOURCES_FIELD_NUMBERstatic intSTATS_CONFIG_FIELD_NUMBERstatic intSTATS_FLUSH_INTERVAL_FIELD_NUMBERstatic intSTATS_SERVER_VERSION_OVERRIDE_FIELD_NUMBERstatic intSTATS_SINKS_FIELD_NUMBERstatic intTRACING_FIELD_NUMBERstatic intUSE_TCP_FOR_DNS_LOOKUPS_FIELD_NUMBERstatic intWATCHDOG_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(Object obj)AdmingetAdmin()Configuration for the local administration HTTP server.AdminOrBuildergetAdminOrBuilder()Configuration for the local administration HTTP server.ClusterManagergetClusterManager()Configuration for the cluster manager which owns all upstream clusters within the server.ClusterManagerOrBuildergetClusterManagerOrBuilder()Configuration for the cluster manager which owns all upstream clusters within the server.static BootstrapgetDefaultInstance()BootstrapgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()Bootstrap.DynamicResourcesgetDynamicResources()xDS configuration sources.Bootstrap.DynamicResourcesOrBuildergetDynamicResourcesOrBuilder()xDS configuration sources.booleangetEnableDispatcherStats()Enable :ref:`stats for event dispatcher <operations_performance>`, defaults to false.StringgetFlagsPath()Optional file system path to search for startup flag files.com.google.protobuf.ByteStringgetFlagsPathBytes()Optional file system path to search for startup flag files.ApiConfigSourcegetHdsConfig()Health discovery service config option.ApiConfigSourceOrBuildergetHdsConfigOrBuilder()Health discovery service config option.StringgetHeaderPrefix()Optional string which will be used in lieu of x-envoy in prefixing headers.com.google.protobuf.ByteStringgetHeaderPrefixBytes()Optional string which will be used in lieu of x-envoy in prefixing headers.LayeredRuntimegetLayeredRuntime()Configuration for the runtime configuration provider.LayeredRuntimeOrBuildergetLayeredRuntimeOrBuilder()Configuration for the runtime configuration provider.NodegetNode()Node identity to present to the management server and for instance identification purposes (e.g. in generated headers).NodeOrBuildergetNodeOrBuilder()Node identity to present to the management server and for instance identification purposes (e.g. in generated headers).OverloadManagergetOverloadManager()Optional overload manager configuration.OverloadManagerOrBuildergetOverloadManagerOrBuilder()Optional overload manager configuration.com.google.protobuf.Parser<Bootstrap>getParserForType()RuntimegetRuntime()Deprecated.envoy.config.bootstrap.v2.Bootstrap.runtime is deprecated.RuntimeOrBuildergetRuntimeOrBuilder()Deprecated.intgetSerializedSize()Bootstrap.StaticResourcesgetStaticResources()Statically specified resources.Bootstrap.StaticResourcesOrBuildergetStaticResourcesOrBuilder()Statically specified resources.StatsConfiggetStatsConfig()Configuration for internal processing of stats.StatsConfigOrBuildergetStatsConfigOrBuilder()Configuration for internal processing of stats.com.google.protobuf.DurationgetStatsFlushInterval()Optional duration between flushes to configured stats sinks.com.google.protobuf.DurationOrBuildergetStatsFlushIntervalOrBuilder()Optional duration between flushes to configured stats sinks.com.google.protobuf.UInt64ValuegetStatsServerVersionOverride()Optional proxy version which will be used to set the value of :ref:`server.version statistic <server_statistics>` if specified.com.google.protobuf.UInt64ValueOrBuildergetStatsServerVersionOverrideOrBuilder()Optional proxy version which will be used to set the value of :ref:`server.version statistic <server_statistics>` if specified.StatsSinkgetStatsSinks(int index)Optional set of stats sinks.intgetStatsSinksCount()Optional set of stats sinks.List<StatsSink>getStatsSinksList()Optional set of stats sinks.StatsSinkOrBuildergetStatsSinksOrBuilder(int index)Optional set of stats sinks.List<? extends StatsSinkOrBuilder>getStatsSinksOrBuilderList()Optional set of stats sinks.TracinggetTracing()Configuration for an external tracing provider. .. attention:: This field has been deprecated in favor of :ref:`HttpConnectionManager.Tracing.provider <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.Tracing.provider>`.TracingOrBuildergetTracingOrBuilder()Configuration for an external tracing provider. .. attention:: This field has been deprecated in favor of :ref:`HttpConnectionManager.Tracing.provider <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.Tracing.provider>`.com.google.protobuf.UnknownFieldSetgetUnknownFields()booleangetUseTcpForDnsLookups()Always use TCP queries instead of UDP queries for DNS lookups.WatchdoggetWatchdog()Optional watchdog configuration.WatchdogOrBuildergetWatchdogOrBuilder()Optional watchdog configuration.booleanhasAdmin()Configuration for the local administration HTTP server.booleanhasClusterManager()Configuration for the cluster manager which owns all upstream clusters within the server.booleanhasDynamicResources()xDS configuration sources.inthashCode()booleanhasHdsConfig()Health discovery service config option.booleanhasLayeredRuntime()Configuration for the runtime configuration provider.booleanhasNode()Node identity to present to the management server and for instance identification purposes (e.g. in generated headers).booleanhasOverloadManager()Optional overload manager configuration.booleanhasRuntime()Deprecated.envoy.config.bootstrap.v2.Bootstrap.runtime is deprecated.booleanhasStaticResources()Statically specified resources.booleanhasStatsConfig()Configuration for internal processing of stats.booleanhasStatsFlushInterval()Optional duration between flushes to configured stats sinks.booleanhasStatsServerVersionOverride()Optional proxy version which will be used to set the value of :ref:`server.version statistic <server_statistics>` if specified.booleanhasTracing()Configuration for an external tracing provider. .. attention:: This field has been deprecated in favor of :ref:`HttpConnectionManager.Tracing.provider <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.Tracing.provider>`.booleanhasWatchdog()Optional watchdog configuration.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Bootstrap.BuildernewBuilder()static Bootstrap.BuildernewBuilder(Bootstrap prototype)Bootstrap.BuildernewBuilderForType()protected Bootstrap.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static BootstrapparseDelimitedFrom(InputStream input)static BootstrapparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static BootstrapparseFrom(byte[] data)static BootstrapparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static BootstrapparseFrom(com.google.protobuf.ByteString data)static BootstrapparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static BootstrapparseFrom(com.google.protobuf.CodedInputStream input)static BootstrapparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static BootstrapparseFrom(InputStream input)static BootstrapparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static BootstrapparseFrom(ByteBuffer data)static BootstrapparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Bootstrap>parser()Bootstrap.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NODE_FIELD_NUMBER
public static final int NODE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATIC_RESOURCES_FIELD_NUMBER
public static final int STATIC_RESOURCES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DYNAMIC_RESOURCES_FIELD_NUMBER
public static final int DYNAMIC_RESOURCES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CLUSTER_MANAGER_FIELD_NUMBER
public static final int CLUSTER_MANAGER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HDS_CONFIG_FIELD_NUMBER
public static final int HDS_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FLAGS_PATH_FIELD_NUMBER
public static final int FLAGS_PATH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATS_SINKS_FIELD_NUMBER
public static final int STATS_SINKS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATS_CONFIG_FIELD_NUMBER
public static final int STATS_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATS_FLUSH_INTERVAL_FIELD_NUMBER
public static final int STATS_FLUSH_INTERVAL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
WATCHDOG_FIELD_NUMBER
public static final int WATCHDOG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TRACING_FIELD_NUMBER
public static final int TRACING_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RUNTIME_FIELD_NUMBER
public static final int RUNTIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LAYERED_RUNTIME_FIELD_NUMBER
public static final int LAYERED_RUNTIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ADMIN_FIELD_NUMBER
public static final int ADMIN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OVERLOAD_MANAGER_FIELD_NUMBER
public static final int OVERLOAD_MANAGER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENABLE_DISPATCHER_STATS_FIELD_NUMBER
public static final int ENABLE_DISPATCHER_STATS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HEADER_PREFIX_FIELD_NUMBER
public static final int HEADER_PREFIX_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATS_SERVER_VERSION_OVERRIDE_FIELD_NUMBER
public static final int STATS_SERVER_VERSION_OVERRIDE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
USE_TCP_FOR_DNS_LOOKUPS_FIELD_NUMBER
public static final int USE_TCP_FOR_DNS_LOOKUPS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasNode
public boolean hasNode()
Node identity to present to the management server and for instance identification purposes (e.g. in generated headers).
.envoy.api.v2.core.Node node = 1;- Specified by:
hasNodein interfaceBootstrapOrBuilder- Returns:
- Whether the node field is set.
-
getNode
public Node getNode()
Node identity to present to the management server and for instance identification purposes (e.g. in generated headers).
.envoy.api.v2.core.Node node = 1;- Specified by:
getNodein interfaceBootstrapOrBuilder- Returns:
- The node.
-
getNodeOrBuilder
public NodeOrBuilder getNodeOrBuilder()
Node identity to present to the management server and for instance identification purposes (e.g. in generated headers).
.envoy.api.v2.core.Node node = 1;- Specified by:
getNodeOrBuilderin interfaceBootstrapOrBuilder
-
hasStaticResources
public boolean hasStaticResources()
Statically specified resources.
.envoy.config.bootstrap.v2.Bootstrap.StaticResources static_resources = 2;- Specified by:
hasStaticResourcesin interfaceBootstrapOrBuilder- Returns:
- Whether the staticResources field is set.
-
getStaticResources
public Bootstrap.StaticResources getStaticResources()
Statically specified resources.
.envoy.config.bootstrap.v2.Bootstrap.StaticResources static_resources = 2;- Specified by:
getStaticResourcesin interfaceBootstrapOrBuilder- Returns:
- The staticResources.
-
getStaticResourcesOrBuilder
public Bootstrap.StaticResourcesOrBuilder getStaticResourcesOrBuilder()
Statically specified resources.
.envoy.config.bootstrap.v2.Bootstrap.StaticResources static_resources = 2;- Specified by:
getStaticResourcesOrBuilderin interfaceBootstrapOrBuilder
-
hasDynamicResources
public boolean hasDynamicResources()
xDS configuration sources.
.envoy.config.bootstrap.v2.Bootstrap.DynamicResources dynamic_resources = 3;- Specified by:
hasDynamicResourcesin interfaceBootstrapOrBuilder- Returns:
- Whether the dynamicResources field is set.
-
getDynamicResources
public Bootstrap.DynamicResources getDynamicResources()
xDS configuration sources.
.envoy.config.bootstrap.v2.Bootstrap.DynamicResources dynamic_resources = 3;- Specified by:
getDynamicResourcesin interfaceBootstrapOrBuilder- Returns:
- The dynamicResources.
-
getDynamicResourcesOrBuilder
public Bootstrap.DynamicResourcesOrBuilder getDynamicResourcesOrBuilder()
xDS configuration sources.
.envoy.config.bootstrap.v2.Bootstrap.DynamicResources dynamic_resources = 3;- Specified by:
getDynamicResourcesOrBuilderin interfaceBootstrapOrBuilder
-
hasClusterManager
public boolean hasClusterManager()
Configuration for the cluster manager which owns all upstream clusters within the server.
.envoy.config.bootstrap.v2.ClusterManager cluster_manager = 4;- Specified by:
hasClusterManagerin interfaceBootstrapOrBuilder- Returns:
- Whether the clusterManager field is set.
-
getClusterManager
public ClusterManager getClusterManager()
Configuration for the cluster manager which owns all upstream clusters within the server.
.envoy.config.bootstrap.v2.ClusterManager cluster_manager = 4;- Specified by:
getClusterManagerin interfaceBootstrapOrBuilder- Returns:
- The clusterManager.
-
getClusterManagerOrBuilder
public ClusterManagerOrBuilder getClusterManagerOrBuilder()
Configuration for the cluster manager which owns all upstream clusters within the server.
.envoy.config.bootstrap.v2.ClusterManager cluster_manager = 4;- Specified by:
getClusterManagerOrBuilderin interfaceBootstrapOrBuilder
-
hasHdsConfig
public boolean hasHdsConfig()
Health discovery service config option. (:ref:`core.ApiConfigSource <envoy_api_msg_core.ApiConfigSource>`)
.envoy.api.v2.core.ApiConfigSource hds_config = 14;- Specified by:
hasHdsConfigin interfaceBootstrapOrBuilder- Returns:
- Whether the hdsConfig field is set.
-
getHdsConfig
public ApiConfigSource getHdsConfig()
Health discovery service config option. (:ref:`core.ApiConfigSource <envoy_api_msg_core.ApiConfigSource>`)
.envoy.api.v2.core.ApiConfigSource hds_config = 14;- Specified by:
getHdsConfigin interfaceBootstrapOrBuilder- Returns:
- The hdsConfig.
-
getHdsConfigOrBuilder
public ApiConfigSourceOrBuilder getHdsConfigOrBuilder()
Health discovery service config option. (:ref:`core.ApiConfigSource <envoy_api_msg_core.ApiConfigSource>`)
.envoy.api.v2.core.ApiConfigSource hds_config = 14;- Specified by:
getHdsConfigOrBuilderin interfaceBootstrapOrBuilder
-
getFlagsPath
public String getFlagsPath()
Optional file system path to search for startup flag files.
string flags_path = 5;- Specified by:
getFlagsPathin interfaceBootstrapOrBuilder- Returns:
- The flagsPath.
-
getFlagsPathBytes
public com.google.protobuf.ByteString getFlagsPathBytes()
Optional file system path to search for startup flag files.
string flags_path = 5;- Specified by:
getFlagsPathBytesin interfaceBootstrapOrBuilder- Returns:
- The bytes for flagsPath.
-
getStatsSinksList
public List<StatsSink> getStatsSinksList()
Optional set of stats sinks.
repeated .envoy.config.metrics.v2.StatsSink stats_sinks = 6;- Specified by:
getStatsSinksListin interfaceBootstrapOrBuilder
-
getStatsSinksOrBuilderList
public List<? extends StatsSinkOrBuilder> getStatsSinksOrBuilderList()
Optional set of stats sinks.
repeated .envoy.config.metrics.v2.StatsSink stats_sinks = 6;- Specified by:
getStatsSinksOrBuilderListin interfaceBootstrapOrBuilder
-
getStatsSinksCount
public int getStatsSinksCount()
Optional set of stats sinks.
repeated .envoy.config.metrics.v2.StatsSink stats_sinks = 6;- Specified by:
getStatsSinksCountin interfaceBootstrapOrBuilder
-
getStatsSinks
public StatsSink getStatsSinks(int index)
Optional set of stats sinks.
repeated .envoy.config.metrics.v2.StatsSink stats_sinks = 6;- Specified by:
getStatsSinksin interfaceBootstrapOrBuilder
-
getStatsSinksOrBuilder
public StatsSinkOrBuilder getStatsSinksOrBuilder(int index)
Optional set of stats sinks.
repeated .envoy.config.metrics.v2.StatsSink stats_sinks = 6;- Specified by:
getStatsSinksOrBuilderin interfaceBootstrapOrBuilder
-
hasStatsConfig
public boolean hasStatsConfig()
Configuration for internal processing of stats.
.envoy.config.metrics.v2.StatsConfig stats_config = 13;- Specified by:
hasStatsConfigin interfaceBootstrapOrBuilder- Returns:
- Whether the statsConfig field is set.
-
getStatsConfig
public StatsConfig getStatsConfig()
Configuration for internal processing of stats.
.envoy.config.metrics.v2.StatsConfig stats_config = 13;- Specified by:
getStatsConfigin interfaceBootstrapOrBuilder- Returns:
- The statsConfig.
-
getStatsConfigOrBuilder
public StatsConfigOrBuilder getStatsConfigOrBuilder()
Configuration for internal processing of stats.
.envoy.config.metrics.v2.StatsConfig stats_config = 13;- Specified by:
getStatsConfigOrBuilderin interfaceBootstrapOrBuilder
-
hasStatsFlushInterval
public boolean hasStatsFlushInterval()
Optional duration between flushes to configured stats sinks. For performance reasons Envoy latches counters and only flushes counters and gauges at a periodic interval. If not specified the default is 5000ms (5 seconds). Duration must be at least 1ms and at most 5 min.
.google.protobuf.Duration stats_flush_interval = 7 [(.validate.rules) = { ... }- Specified by:
hasStatsFlushIntervalin interfaceBootstrapOrBuilder- Returns:
- Whether the statsFlushInterval field is set.
-
getStatsFlushInterval
public com.google.protobuf.Duration getStatsFlushInterval()
Optional duration between flushes to configured stats sinks. For performance reasons Envoy latches counters and only flushes counters and gauges at a periodic interval. If not specified the default is 5000ms (5 seconds). Duration must be at least 1ms and at most 5 min.
.google.protobuf.Duration stats_flush_interval = 7 [(.validate.rules) = { ... }- Specified by:
getStatsFlushIntervalin interfaceBootstrapOrBuilder- Returns:
- The statsFlushInterval.
-
getStatsFlushIntervalOrBuilder
public com.google.protobuf.DurationOrBuilder getStatsFlushIntervalOrBuilder()
Optional duration between flushes to configured stats sinks. For performance reasons Envoy latches counters and only flushes counters and gauges at a periodic interval. If not specified the default is 5000ms (5 seconds). Duration must be at least 1ms and at most 5 min.
.google.protobuf.Duration stats_flush_interval = 7 [(.validate.rules) = { ... }- Specified by:
getStatsFlushIntervalOrBuilderin interfaceBootstrapOrBuilder
-
hasWatchdog
public boolean hasWatchdog()
Optional watchdog configuration.
.envoy.config.bootstrap.v2.Watchdog watchdog = 8;- Specified by:
hasWatchdogin interfaceBootstrapOrBuilder- Returns:
- Whether the watchdog field is set.
-
getWatchdog
public Watchdog getWatchdog()
Optional watchdog configuration.
.envoy.config.bootstrap.v2.Watchdog watchdog = 8;- Specified by:
getWatchdogin interfaceBootstrapOrBuilder- Returns:
- The watchdog.
-
getWatchdogOrBuilder
public WatchdogOrBuilder getWatchdogOrBuilder()
Optional watchdog configuration.
.envoy.config.bootstrap.v2.Watchdog watchdog = 8;- Specified by:
getWatchdogOrBuilderin interfaceBootstrapOrBuilder
-
hasTracing
public boolean hasTracing()
Configuration for an external tracing provider. .. attention:: This field has been deprecated in favor of :ref:`HttpConnectionManager.Tracing.provider <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.Tracing.provider>`.
.envoy.config.trace.v2.Tracing tracing = 9;- Specified by:
hasTracingin interfaceBootstrapOrBuilder- Returns:
- Whether the tracing field is set.
-
getTracing
public Tracing getTracing()
Configuration for an external tracing provider. .. attention:: This field has been deprecated in favor of :ref:`HttpConnectionManager.Tracing.provider <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.Tracing.provider>`.
.envoy.config.trace.v2.Tracing tracing = 9;- Specified by:
getTracingin interfaceBootstrapOrBuilder- Returns:
- The tracing.
-
getTracingOrBuilder
public TracingOrBuilder getTracingOrBuilder()
Configuration for an external tracing provider. .. attention:: This field has been deprecated in favor of :ref:`HttpConnectionManager.Tracing.provider <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.Tracing.provider>`.
.envoy.config.trace.v2.Tracing tracing = 9;- Specified by:
getTracingOrBuilderin interfaceBootstrapOrBuilder
-
hasRuntime
@Deprecated public boolean hasRuntime()
Deprecated.envoy.config.bootstrap.v2.Bootstrap.runtime is deprecated. See envoy/config/bootstrap/v2/bootstrap.proto;l=130Configuration for the runtime configuration provider (deprecated). If not specified, a “null” provider will be used which will result in all defaults being used.
.envoy.config.bootstrap.v2.Runtime runtime = 11 [deprecated = true, (.envoy.annotations.disallowed_by_default) = true];- Specified by:
hasRuntimein interfaceBootstrapOrBuilder- Returns:
- Whether the runtime field is set.
-
getRuntime
@Deprecated public Runtime getRuntime()
Deprecated.envoy.config.bootstrap.v2.Bootstrap.runtime is deprecated. See envoy/config/bootstrap/v2/bootstrap.proto;l=130Configuration for the runtime configuration provider (deprecated). If not specified, a “null” provider will be used which will result in all defaults being used.
.envoy.config.bootstrap.v2.Runtime runtime = 11 [deprecated = true, (.envoy.annotations.disallowed_by_default) = true];- Specified by:
getRuntimein interfaceBootstrapOrBuilder- Returns:
- The runtime.
-
getRuntimeOrBuilder
@Deprecated public RuntimeOrBuilder getRuntimeOrBuilder()
Deprecated.Configuration for the runtime configuration provider (deprecated). If not specified, a “null” provider will be used which will result in all defaults being used.
.envoy.config.bootstrap.v2.Runtime runtime = 11 [deprecated = true, (.envoy.annotations.disallowed_by_default) = true];- Specified by:
getRuntimeOrBuilderin interfaceBootstrapOrBuilder
-
hasLayeredRuntime
public boolean hasLayeredRuntime()
Configuration for the runtime configuration provider. If not specified, a “null” provider will be used which will result in all defaults being used.
.envoy.config.bootstrap.v2.LayeredRuntime layered_runtime = 17;- Specified by:
hasLayeredRuntimein interfaceBootstrapOrBuilder- Returns:
- Whether the layeredRuntime field is set.
-
getLayeredRuntime
public LayeredRuntime getLayeredRuntime()
Configuration for the runtime configuration provider. If not specified, a “null” provider will be used which will result in all defaults being used.
.envoy.config.bootstrap.v2.LayeredRuntime layered_runtime = 17;- Specified by:
getLayeredRuntimein interfaceBootstrapOrBuilder- Returns:
- The layeredRuntime.
-
getLayeredRuntimeOrBuilder
public LayeredRuntimeOrBuilder getLayeredRuntimeOrBuilder()
Configuration for the runtime configuration provider. If not specified, a “null” provider will be used which will result in all defaults being used.
.envoy.config.bootstrap.v2.LayeredRuntime layered_runtime = 17;- Specified by:
getLayeredRuntimeOrBuilderin interfaceBootstrapOrBuilder
-
hasAdmin
public boolean hasAdmin()
Configuration for the local administration HTTP server.
.envoy.config.bootstrap.v2.Admin admin = 12;- Specified by:
hasAdminin interfaceBootstrapOrBuilder- Returns:
- Whether the admin field is set.
-
getAdmin
public Admin getAdmin()
Configuration for the local administration HTTP server.
.envoy.config.bootstrap.v2.Admin admin = 12;- Specified by:
getAdminin interfaceBootstrapOrBuilder- Returns:
- The admin.
-
getAdminOrBuilder
public AdminOrBuilder getAdminOrBuilder()
Configuration for the local administration HTTP server.
.envoy.config.bootstrap.v2.Admin admin = 12;- Specified by:
getAdminOrBuilderin interfaceBootstrapOrBuilder
-
hasOverloadManager
public boolean hasOverloadManager()
Optional overload manager configuration.
.envoy.config.overload.v2alpha.OverloadManager overload_manager = 15;- Specified by:
hasOverloadManagerin interfaceBootstrapOrBuilder- Returns:
- Whether the overloadManager field is set.
-
getOverloadManager
public OverloadManager getOverloadManager()
Optional overload manager configuration.
.envoy.config.overload.v2alpha.OverloadManager overload_manager = 15;- Specified by:
getOverloadManagerin interfaceBootstrapOrBuilder- Returns:
- The overloadManager.
-
getOverloadManagerOrBuilder
public OverloadManagerOrBuilder getOverloadManagerOrBuilder()
Optional overload manager configuration.
.envoy.config.overload.v2alpha.OverloadManager overload_manager = 15;- Specified by:
getOverloadManagerOrBuilderin interfaceBootstrapOrBuilder
-
getEnableDispatcherStats
public boolean getEnableDispatcherStats()
Enable :ref:`stats for event dispatcher <operations_performance>`, defaults to false. Note that this records a value for each iteration of the event loop on every thread. This should normally be minimal overhead, but when using :ref:`statsd <envoy_api_msg_config.metrics.v2.StatsdSink>`, it will send each observed value over the wire individually because the statsd protocol doesn't have any way to represent a histogram summary. Be aware that this can be a very large volume of data.
bool enable_dispatcher_stats = 16;- Specified by:
getEnableDispatcherStatsin interfaceBootstrapOrBuilder- Returns:
- The enableDispatcherStats.
-
getHeaderPrefix
public String getHeaderPrefix()
Optional string which will be used in lieu of x-envoy in prefixing headers. For example, if this string is present and set to X-Foo, then x-envoy-retry-on will be transformed into x-foo-retry-on etc. Note this applies to the headers Envoy will generate, the headers Envoy will sanitize, and the headers Envoy will trust for core code and core extensions only. Be VERY careful making changes to this string, especially in multi-layer Envoy deployments or deployments using extensions which are not upstream.
string header_prefix = 18;- Specified by:
getHeaderPrefixin interfaceBootstrapOrBuilder- Returns:
- The headerPrefix.
-
getHeaderPrefixBytes
public com.google.protobuf.ByteString getHeaderPrefixBytes()
Optional string which will be used in lieu of x-envoy in prefixing headers. For example, if this string is present and set to X-Foo, then x-envoy-retry-on will be transformed into x-foo-retry-on etc. Note this applies to the headers Envoy will generate, the headers Envoy will sanitize, and the headers Envoy will trust for core code and core extensions only. Be VERY careful making changes to this string, especially in multi-layer Envoy deployments or deployments using extensions which are not upstream.
string header_prefix = 18;- Specified by:
getHeaderPrefixBytesin interfaceBootstrapOrBuilder- Returns:
- The bytes for headerPrefix.
-
hasStatsServerVersionOverride
public boolean hasStatsServerVersionOverride()
Optional proxy version which will be used to set the value of :ref:`server.version statistic <server_statistics>` if specified. Envoy will not process this value, it will be sent as is to :ref:`stats sinks <envoy_api_msg_config.metrics.v2.StatsSink>`.
.google.protobuf.UInt64Value stats_server_version_override = 19;- Specified by:
hasStatsServerVersionOverridein interfaceBootstrapOrBuilder- Returns:
- Whether the statsServerVersionOverride field is set.
-
getStatsServerVersionOverride
public com.google.protobuf.UInt64Value getStatsServerVersionOverride()
Optional proxy version which will be used to set the value of :ref:`server.version statistic <server_statistics>` if specified. Envoy will not process this value, it will be sent as is to :ref:`stats sinks <envoy_api_msg_config.metrics.v2.StatsSink>`.
.google.protobuf.UInt64Value stats_server_version_override = 19;- Specified by:
getStatsServerVersionOverridein interfaceBootstrapOrBuilder- Returns:
- The statsServerVersionOverride.
-
getStatsServerVersionOverrideOrBuilder
public com.google.protobuf.UInt64ValueOrBuilder getStatsServerVersionOverrideOrBuilder()
Optional proxy version which will be used to set the value of :ref:`server.version statistic <server_statistics>` if specified. Envoy will not process this value, it will be sent as is to :ref:`stats sinks <envoy_api_msg_config.metrics.v2.StatsSink>`.
.google.protobuf.UInt64Value stats_server_version_override = 19;- Specified by:
getStatsServerVersionOverrideOrBuilderin interfaceBootstrapOrBuilder
-
getUseTcpForDnsLookups
public boolean getUseTcpForDnsLookups()
Always use TCP queries instead of UDP queries for DNS lookups. This may be overridden on a per-cluster basis in cds_config, when :ref:`dns_resolvers <envoy_api_field_Cluster.dns_resolvers>` and :ref:`use_tcp_for_dns_lookups <envoy_api_field_Cluster.use_tcp_for_dns_lookups>` are specified. Setting this value causes failure if the ``envoy.restart_features.use_apple_api_for_dns_lookups`` runtime value is true during server startup. Apple' API only uses UDP for DNS resolution.
bool use_tcp_for_dns_lookups = 20;- Specified by:
getUseTcpForDnsLookupsin interfaceBootstrapOrBuilder- Returns:
- The useTcpForDnsLookups.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Bootstrap parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Bootstrap parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Bootstrap parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Bootstrap parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Bootstrap parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Bootstrap parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Bootstrap parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Bootstrap parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Bootstrap parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Bootstrap parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Bootstrap parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Bootstrap parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Bootstrap.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Bootstrap.Builder newBuilder()
-
newBuilder
public static Bootstrap.Builder newBuilder(Bootstrap prototype)
-
toBuilder
public Bootstrap.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Bootstrap.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Bootstrap getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Bootstrap> parser()
-
getParserForType
public com.google.protobuf.Parser<Bootstrap> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Bootstrap getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-