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 type
envoy.config.bootstrap.v2.Bootstrap- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBootstrap :ref:`configuration overview <config_overview_bootstrap>`.static final classProtobuf typeenvoy.config.bootstrap.v2.Bootstrap.DynamicResourcesstatic interfacestatic final classProtobuf typeenvoy.config.bootstrap.v2.Bootstrap.StaticResourcesstatic interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleangetAdmin()Configuration for the local administration HTTP server.Configuration for the local administration HTTP server.Configuration for the cluster manager which owns all upstream clusters within the server.Configuration for the cluster manager which owns all upstream clusters within the server.static Bootstrapstatic final com.google.protobuf.Descriptors.DescriptorxDS configuration sources.xDS configuration sources.booleanEnable :ref:`stats for event dispatcher <operations_performance>`, defaults to false.Optional file system path to search for startup flag files.com.google.protobuf.ByteStringOptional file system path to search for startup flag files.Health discovery service config option.Health discovery service config option.Optional string which will be used in lieu of x-envoy in prefixing headers.com.google.protobuf.ByteStringOptional string which will be used in lieu of x-envoy in prefixing headers.Configuration for the runtime configuration provider.Configuration for the runtime configuration provider.getNode()Node identity to present to the management server and for instance identification purposes (e.g. in generated headers).Node identity to present to the management server and for instance identification purposes (e.g. in generated headers).Optional overload manager configuration.Optional overload manager configuration.com.google.protobuf.Parser<Bootstrap>Deprecated.envoy.config.bootstrap.v2.Bootstrap.runtime is deprecated.Deprecated.intStatically specified resources.Statically specified resources.Configuration for internal processing of stats.Configuration for internal processing of stats.com.google.protobuf.DurationOptional duration between flushes to configured stats sinks.com.google.protobuf.DurationOrBuilderOptional duration between flushes to configured stats sinks.com.google.protobuf.UInt64ValueOptional proxy version which will be used to set the value of :ref:`server.version statistic <server_statistics>` if specified.com.google.protobuf.UInt64ValueOrBuilderOptional proxy version which will be used to set the value of :ref:`server.version statistic <server_statistics>` if specified.getStatsSinks(int index) Optional set of stats sinks.intOptional set of stats sinks.Optional set of stats sinks.getStatsSinksOrBuilder(int index) Optional set of stats sinks.List<? extends StatsSinkOrBuilder>Optional set of stats sinks.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>`.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>`.booleanAlways use TCP queries instead of UDP queries for DNS lookups.Optional watchdog configuration.Optional watchdog configuration.booleanhasAdmin()Configuration for the local administration HTTP server.booleanConfiguration for the cluster manager which owns all upstream clusters within the server.booleanxDS configuration sources.inthashCode()booleanHealth discovery service config option.booleanConfiguration for the runtime configuration provider.booleanhasNode()Node identity to present to the management server and for instance identification purposes (e.g. in generated headers).booleanOptional overload manager configuration.booleanDeprecated.envoy.config.bootstrap.v2.Bootstrap.runtime is deprecated.booleanStatically specified resources.booleanConfiguration for internal processing of stats.booleanOptional duration between flushes to configured stats sinks.booleanOptional proxy version which will be used to set the value of :ref:`server.version statistic <server_statistics>` if specified.booleanConfiguration 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>`.booleanOptional watchdog configuration.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic Bootstrap.Builderstatic Bootstrap.BuildernewBuilder(Bootstrap prototype) 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()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, 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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NODE_FIELD_NUMBER
public static final int NODE_FIELD_NUMBER- See Also:
-
STATIC_RESOURCES_FIELD_NUMBER
public static final int STATIC_RESOURCES_FIELD_NUMBER- See Also:
-
DYNAMIC_RESOURCES_FIELD_NUMBER
public static final int DYNAMIC_RESOURCES_FIELD_NUMBER- See Also:
-
CLUSTER_MANAGER_FIELD_NUMBER
public static final int CLUSTER_MANAGER_FIELD_NUMBER- See Also:
-
HDS_CONFIG_FIELD_NUMBER
public static final int HDS_CONFIG_FIELD_NUMBER- See Also:
-
FLAGS_PATH_FIELD_NUMBER
public static final int FLAGS_PATH_FIELD_NUMBER- See Also:
-
STATS_SINKS_FIELD_NUMBER
public static final int STATS_SINKS_FIELD_NUMBER- See Also:
-
STATS_CONFIG_FIELD_NUMBER
public static final int STATS_CONFIG_FIELD_NUMBER- See Also:
-
STATS_FLUSH_INTERVAL_FIELD_NUMBER
public static final int STATS_FLUSH_INTERVAL_FIELD_NUMBER- See Also:
-
WATCHDOG_FIELD_NUMBER
public static final int WATCHDOG_FIELD_NUMBER- See Also:
-
TRACING_FIELD_NUMBER
public static final int TRACING_FIELD_NUMBER- See Also:
-
RUNTIME_FIELD_NUMBER
public static final int RUNTIME_FIELD_NUMBER- See Also:
-
LAYERED_RUNTIME_FIELD_NUMBER
public static final int LAYERED_RUNTIME_FIELD_NUMBER- See Also:
-
ADMIN_FIELD_NUMBER
public static final int ADMIN_FIELD_NUMBER- See Also:
-
OVERLOAD_MANAGER_FIELD_NUMBER
public static final int OVERLOAD_MANAGER_FIELD_NUMBER- See Also:
-
ENABLE_DISPATCHER_STATS_FIELD_NUMBER
public static final int ENABLE_DISPATCHER_STATS_FIELD_NUMBER- See Also:
-
HEADER_PREFIX_FIELD_NUMBER
public static final int HEADER_PREFIX_FIELD_NUMBER- See Also:
-
STATS_SERVER_VERSION_OVERRIDE_FIELD_NUMBER
public static final int STATS_SERVER_VERSION_OVERRIDE_FIELD_NUMBER- See Also:
-
USE_TCP_FOR_DNS_LOOKUPS_FIELD_NUMBER
public static final int USE_TCP_FOR_DNS_LOOKUPS_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein 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
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
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
Statically specified resources.
.envoy.config.bootstrap.v2.Bootstrap.StaticResources static_resources = 2;- Specified by:
getStaticResourcesin interfaceBootstrapOrBuilder- Returns:
- The staticResources.
-
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
xDS configuration sources.
.envoy.config.bootstrap.v2.Bootstrap.DynamicResources dynamic_resources = 3;- Specified by:
getDynamicResourcesin interfaceBootstrapOrBuilder- Returns:
- The dynamicResources.
-
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
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
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
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
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
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
Optional set of stats sinks.
repeated .envoy.config.metrics.v2.StatsSink stats_sinks = 6;- Specified by:
getStatsSinksListin interfaceBootstrapOrBuilder
-
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
Optional set of stats sinks.
repeated .envoy.config.metrics.v2.StatsSink stats_sinks = 6;- Specified by:
getStatsSinksin interfaceBootstrapOrBuilder
-
getStatsSinksOrBuilder
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
Configuration for internal processing of stats.
.envoy.config.metrics.v2.StatsConfig stats_config = 13;- Specified by:
getStatsConfigin interfaceBootstrapOrBuilder- Returns:
- The statsConfig.
-
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
Optional watchdog configuration.
.envoy.config.bootstrap.v2.Watchdog watchdog = 8;- Specified by:
getWatchdogin interfaceBootstrapOrBuilder- Returns:
- The watchdog.
-
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
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
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.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.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.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
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
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
Configuration for the local administration HTTP server.
.envoy.config.bootstrap.v2.Admin admin = 12;- Specified by:
getAdminin interfaceBootstrapOrBuilder- Returns:
- The admin.
-
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
Optional overload manager configuration.
.envoy.config.overload.v2alpha.OverloadManager overload_manager = 15;- Specified by:
getOverloadManagerin interfaceBootstrapOrBuilder- Returns:
- The overloadManager.
-
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
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
- 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
- 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
- Throws:
IOException
-
parseFrom
public static Bootstrap parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Bootstrap parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Bootstrap parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
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
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-