All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap Maven / Gradle / Ivy

There is a newer version: 1.0.46
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: envoy/config/bootstrap/v3/bootstrap.proto

package io.envoyproxy.envoy.config.bootstrap.v3;

/**
 * 
 * Bootstrap :ref:`configuration overview <config_overview_bootstrap>`.
 * [#next-free-field: 41]
 * 
* * Protobuf type {@code envoy.config.bootstrap.v3.Bootstrap} */ public final class Bootstrap extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:envoy.config.bootstrap.v3.Bootstrap) BootstrapOrBuilder { private static final long serialVersionUID = 0L; // Use Bootstrap.newBuilder() to construct. private Bootstrap(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Bootstrap() { nodeContextParams_ = com.google.protobuf.LazyStringArrayList.EMPTY; flagsPath_ = ""; statsSinks_ = java.util.Collections.emptyList(); headerPrefix_ = ""; bootstrapExtensions_ = java.util.Collections.emptyList(); fatalActions_ = java.util.Collections.emptyList(); configSources_ = java.util.Collections.emptyList(); defaultSocketInterface_ = ""; inlineHeaders_ = java.util.Collections.emptyList(); perfTracingFilePath_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Bootstrap(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Bootstrap( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { io.envoyproxy.envoy.config.core.v3.Node.Builder subBuilder = null; if (node_ != null) { subBuilder = node_.toBuilder(); } node_ = input.readMessage(io.envoyproxy.envoy.config.core.v3.Node.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(node_); node_ = subBuilder.buildPartial(); } break; } case 18: { io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources.Builder subBuilder = null; if (staticResources_ != null) { subBuilder = staticResources_.toBuilder(); } staticResources_ = input.readMessage(io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(staticResources_); staticResources_ = subBuilder.buildPartial(); } break; } case 26: { io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources.Builder subBuilder = null; if (dynamicResources_ != null) { subBuilder = dynamicResources_.toBuilder(); } dynamicResources_ = input.readMessage(io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(dynamicResources_); dynamicResources_ = subBuilder.buildPartial(); } break; } case 34: { io.envoyproxy.envoy.config.bootstrap.v3.ClusterManager.Builder subBuilder = null; if (clusterManager_ != null) { subBuilder = clusterManager_.toBuilder(); } clusterManager_ = input.readMessage(io.envoyproxy.envoy.config.bootstrap.v3.ClusterManager.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(clusterManager_); clusterManager_ = subBuilder.buildPartial(); } break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); flagsPath_ = s; break; } case 50: { if (!((mutable_bitField0_ & 0x00000002) != 0)) { statsSinks_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } statsSinks_.add( input.readMessage(io.envoyproxy.envoy.config.metrics.v3.StatsSink.parser(), extensionRegistry)); break; } case 58: { com.google.protobuf.Duration.Builder subBuilder = null; if (statsFlushInterval_ != null) { subBuilder = statsFlushInterval_.toBuilder(); } statsFlushInterval_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(statsFlushInterval_); statsFlushInterval_ = subBuilder.buildPartial(); } break; } case 66: { io.envoyproxy.envoy.config.bootstrap.v3.Watchdog.Builder subBuilder = null; if (watchdog_ != null) { subBuilder = watchdog_.toBuilder(); } watchdog_ = input.readMessage(io.envoyproxy.envoy.config.bootstrap.v3.Watchdog.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(watchdog_); watchdog_ = subBuilder.buildPartial(); } break; } case 74: { io.envoyproxy.envoy.config.trace.v3.Tracing.Builder subBuilder = null; if (tracing_ != null) { subBuilder = tracing_.toBuilder(); } tracing_ = input.readMessage(io.envoyproxy.envoy.config.trace.v3.Tracing.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(tracing_); tracing_ = subBuilder.buildPartial(); } break; } case 98: { io.envoyproxy.envoy.config.bootstrap.v3.Admin.Builder subBuilder = null; if (admin_ != null) { subBuilder = admin_.toBuilder(); } admin_ = input.readMessage(io.envoyproxy.envoy.config.bootstrap.v3.Admin.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(admin_); admin_ = subBuilder.buildPartial(); } break; } case 106: { io.envoyproxy.envoy.config.metrics.v3.StatsConfig.Builder subBuilder = null; if (statsConfig_ != null) { subBuilder = statsConfig_.toBuilder(); } statsConfig_ = input.readMessage(io.envoyproxy.envoy.config.metrics.v3.StatsConfig.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(statsConfig_); statsConfig_ = subBuilder.buildPartial(); } break; } case 114: { io.envoyproxy.envoy.config.core.v3.ApiConfigSource.Builder subBuilder = null; if (hdsConfig_ != null) { subBuilder = hdsConfig_.toBuilder(); } hdsConfig_ = input.readMessage(io.envoyproxy.envoy.config.core.v3.ApiConfigSource.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(hdsConfig_); hdsConfig_ = subBuilder.buildPartial(); } break; } case 122: { io.envoyproxy.envoy.config.overload.v3.OverloadManager.Builder subBuilder = null; if (overloadManager_ != null) { subBuilder = overloadManager_.toBuilder(); } overloadManager_ = input.readMessage(io.envoyproxy.envoy.config.overload.v3.OverloadManager.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(overloadManager_); overloadManager_ = subBuilder.buildPartial(); } break; } case 128: { enableDispatcherStats_ = input.readBool(); break; } case 138: { io.envoyproxy.envoy.config.bootstrap.v3.LayeredRuntime.Builder subBuilder = null; if (layeredRuntime_ != null) { subBuilder = layeredRuntime_.toBuilder(); } layeredRuntime_ = input.readMessage(io.envoyproxy.envoy.config.bootstrap.v3.LayeredRuntime.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(layeredRuntime_); layeredRuntime_ = subBuilder.buildPartial(); } break; } case 146: { java.lang.String s = input.readStringRequireUtf8(); headerPrefix_ = s; break; } case 154: { com.google.protobuf.UInt64Value.Builder subBuilder = null; if (statsServerVersionOverride_ != null) { subBuilder = statsServerVersionOverride_.toBuilder(); } statsServerVersionOverride_ = input.readMessage(com.google.protobuf.UInt64Value.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(statsServerVersionOverride_); statsServerVersionOverride_ = subBuilder.buildPartial(); } break; } case 160: { useTcpForDnsLookups_ = input.readBool(); break; } case 170: { if (!((mutable_bitField0_ & 0x00000004) != 0)) { bootstrapExtensions_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000004; } bootstrapExtensions_.add( input.readMessage(io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.parser(), extensionRegistry)); break; } case 178: { if (!((mutable_bitField0_ & 0x00000010) != 0)) { configSources_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000010; } configSources_.add( input.readMessage(io.envoyproxy.envoy.config.core.v3.ConfigSource.parser(), extensionRegistry)); break; } case 186: { io.envoyproxy.envoy.config.core.v3.ConfigSource.Builder subBuilder = null; if (defaultConfigSource_ != null) { subBuilder = defaultConfigSource_.toBuilder(); } defaultConfigSource_ = input.readMessage(io.envoyproxy.envoy.config.core.v3.ConfigSource.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(defaultConfigSource_); defaultConfigSource_ = subBuilder.buildPartial(); } break; } case 194: { java.lang.String s = input.readStringRequireUtf8(); defaultSocketInterface_ = s; break; } case 202: { if (!((mutable_bitField0_ & 0x00000020) != 0)) { certificateProviderInstances_ = com.google.protobuf.MapField.newMapField( CertificateProviderInstancesDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000020; } com.google.protobuf.MapEntry certificateProviderInstances__ = input.readMessage( CertificateProviderInstancesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); certificateProviderInstances_.getMutableMap().put( certificateProviderInstances__.getKey(), certificateProviderInstances__.getValue()); break; } case 210: { java.lang.String s = input.readStringRequireUtf8(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { nodeContextParams_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000001; } nodeContextParams_.add(s); break; } case 218: { io.envoyproxy.envoy.config.bootstrap.v3.Watchdogs.Builder subBuilder = null; if (watchdogs_ != null) { subBuilder = watchdogs_.toBuilder(); } watchdogs_ = input.readMessage(io.envoyproxy.envoy.config.bootstrap.v3.Watchdogs.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(watchdogs_); watchdogs_ = subBuilder.buildPartial(); } break; } case 226: { if (!((mutable_bitField0_ & 0x00000008) != 0)) { fatalActions_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000008; } fatalActions_.add( input.readMessage(io.envoyproxy.envoy.config.bootstrap.v3.FatalAction.parser(), extensionRegistry)); break; } case 232: { statsFlush_ = input.readBool(); statsFlushCase_ = 29; break; } case 242: { io.envoyproxy.envoy.config.core.v3.DnsResolutionConfig.Builder subBuilder = null; if (dnsResolutionConfig_ != null) { subBuilder = dnsResolutionConfig_.toBuilder(); } dnsResolutionConfig_ = input.readMessage(io.envoyproxy.envoy.config.core.v3.DnsResolutionConfig.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(dnsResolutionConfig_); dnsResolutionConfig_ = subBuilder.buildPartial(); } break; } case 250: { io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.Builder subBuilder = null; if (typedDnsResolverConfig_ != null) { subBuilder = typedDnsResolverConfig_.toBuilder(); } typedDnsResolverConfig_ = input.readMessage(io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(typedDnsResolverConfig_); typedDnsResolverConfig_ = subBuilder.buildPartial(); } break; } case 258: { if (!((mutable_bitField0_ & 0x00000040) != 0)) { inlineHeaders_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000040; } inlineHeaders_.add( input.readMessage(io.envoyproxy.envoy.config.bootstrap.v3.CustomInlineHeader.parser(), extensionRegistry)); break; } case 266: { java.lang.String s = input.readStringRequireUtf8(); perfTracingFilePath_ = s; break; } case 274: { io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.Builder subBuilder = null; if (defaultRegexEngine_ != null) { subBuilder = defaultRegexEngine_.toBuilder(); } defaultRegexEngine_ = input.readMessage(io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(defaultRegexEngine_); defaultRegexEngine_ = subBuilder.buildPartial(); } break; } case 282: { io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.Builder subBuilder = null; if (xdsDelegateExtension_ != null) { subBuilder = xdsDelegateExtension_.toBuilder(); } xdsDelegateExtension_ = input.readMessage(io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(xdsDelegateExtension_); xdsDelegateExtension_ = subBuilder.buildPartial(); } break; } case 290: { io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.Builder subBuilder = null; if (xdsConfigTrackerExtension_ != null) { subBuilder = xdsConfigTrackerExtension_.toBuilder(); } xdsConfigTrackerExtension_ = input.readMessage(io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(xdsConfigTrackerExtension_); xdsConfigTrackerExtension_ = subBuilder.buildPartial(); } break; } case 298: { io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.Builder subBuilder = null; if (listenerManager_ != null) { subBuilder = listenerManager_.toBuilder(); } listenerManager_ = input.readMessage(io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(listenerManager_); listenerManager_ = subBuilder.buildPartial(); } break; } case 306: { io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.Builder subBuilder = null; if (applicationLogConfig_ != null) { subBuilder = applicationLogConfig_.toBuilder(); } applicationLogConfig_ = input.readMessage(io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(applicationLogConfig_); applicationLogConfig_ = subBuilder.buildPartial(); } break; } case 314: { io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions.Builder subBuilder = null; if (deferredStatOptions_ != null) { subBuilder = deferredStatOptions_.toBuilder(); } deferredStatOptions_ = input.readMessage(io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(deferredStatOptions_); deferredStatOptions_ = subBuilder.buildPartial(); } break; } case 322: { io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig.Builder subBuilder = null; if (grpcAsyncClientManagerConfig_ != null) { subBuilder = grpcAsyncClientManagerConfig_.toBuilder(); } grpcAsyncClientManagerConfig_ = input.readMessage(io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(grpcAsyncClientManagerConfig_); grpcAsyncClientManagerConfig_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000002) != 0)) { statsSinks_ = java.util.Collections.unmodifiableList(statsSinks_); } if (((mutable_bitField0_ & 0x00000004) != 0)) { bootstrapExtensions_ = java.util.Collections.unmodifiableList(bootstrapExtensions_); } if (((mutable_bitField0_ & 0x00000010) != 0)) { configSources_ = java.util.Collections.unmodifiableList(configSources_); } if (((mutable_bitField0_ & 0x00000001) != 0)) { nodeContextParams_ = nodeContextParams_.getUnmodifiableView(); } if (((mutable_bitField0_ & 0x00000008) != 0)) { fatalActions_ = java.util.Collections.unmodifiableList(fatalActions_); } if (((mutable_bitField0_ & 0x00000040) != 0)) { inlineHeaders_ = java.util.Collections.unmodifiableList(inlineHeaders_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.config.bootstrap.v3.BootstrapProto.internal_static_envoy_config_bootstrap_v3_Bootstrap_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 25: return internalGetCertificateProviderInstances(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.config.bootstrap.v3.BootstrapProto.internal_static_envoy_config_bootstrap_v3_Bootstrap_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.class, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.Builder.class); } public interface StaticResourcesOrBuilder extends // @@protoc_insertion_point(interface_extends:envoy.config.bootstrap.v3.Bootstrap.StaticResources) com.google.protobuf.MessageOrBuilder { /** *
     * Static :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>`. These listeners are
     * available regardless of LDS configuration.
     * 
* * repeated .envoy.config.listener.v3.Listener listeners = 1; */ java.util.List getListenersList(); /** *
     * Static :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>`. These listeners are
     * available regardless of LDS configuration.
     * 
* * repeated .envoy.config.listener.v3.Listener listeners = 1; */ io.envoyproxy.envoy.config.listener.v3.Listener getListeners(int index); /** *
     * Static :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>`. These listeners are
     * available regardless of LDS configuration.
     * 
* * repeated .envoy.config.listener.v3.Listener listeners = 1; */ int getListenersCount(); /** *
     * Static :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>`. These listeners are
     * available regardless of LDS configuration.
     * 
* * repeated .envoy.config.listener.v3.Listener listeners = 1; */ java.util.List getListenersOrBuilderList(); /** *
     * Static :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>`. These listeners are
     * available regardless of LDS configuration.
     * 
* * repeated .envoy.config.listener.v3.Listener listeners = 1; */ io.envoyproxy.envoy.config.listener.v3.ListenerOrBuilder getListenersOrBuilder( int index); /** *
     * If a network based configuration source is specified for :ref:`cds_config
     * <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.DynamicResources.cds_config>`, it's necessary
     * to have some initial cluster definitions available to allow Envoy to know
     * how to speak to the management server. These cluster definitions may not
     * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
     * IP or DNS-based).
     * 
* * repeated .envoy.config.cluster.v3.Cluster clusters = 2; */ java.util.List getClustersList(); /** *
     * If a network based configuration source is specified for :ref:`cds_config
     * <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.DynamicResources.cds_config>`, it's necessary
     * to have some initial cluster definitions available to allow Envoy to know
     * how to speak to the management server. These cluster definitions may not
     * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
     * IP or DNS-based).
     * 
* * repeated .envoy.config.cluster.v3.Cluster clusters = 2; */ io.envoyproxy.envoy.config.cluster.v3.Cluster getClusters(int index); /** *
     * If a network based configuration source is specified for :ref:`cds_config
     * <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.DynamicResources.cds_config>`, it's necessary
     * to have some initial cluster definitions available to allow Envoy to know
     * how to speak to the management server. These cluster definitions may not
     * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
     * IP or DNS-based).
     * 
* * repeated .envoy.config.cluster.v3.Cluster clusters = 2; */ int getClustersCount(); /** *
     * If a network based configuration source is specified for :ref:`cds_config
     * <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.DynamicResources.cds_config>`, it's necessary
     * to have some initial cluster definitions available to allow Envoy to know
     * how to speak to the management server. These cluster definitions may not
     * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
     * IP or DNS-based).
     * 
* * repeated .envoy.config.cluster.v3.Cluster clusters = 2; */ java.util.List getClustersOrBuilderList(); /** *
     * If a network based configuration source is specified for :ref:`cds_config
     * <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.DynamicResources.cds_config>`, it's necessary
     * to have some initial cluster definitions available to allow Envoy to know
     * how to speak to the management server. These cluster definitions may not
     * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
     * IP or DNS-based).
     * 
* * repeated .envoy.config.cluster.v3.Cluster clusters = 2; */ io.envoyproxy.envoy.config.cluster.v3.ClusterOrBuilder getClustersOrBuilder( int index); /** *
     * These static secrets can be used by :ref:`SdsSecretConfig
     * <envoy_v3_api_msg_extensions.transport_sockets.tls.v3.SdsSecretConfig>`
     * 
* * repeated .envoy.extensions.transport_sockets.tls.v3.Secret secrets = 3; */ java.util.List getSecretsList(); /** *
     * These static secrets can be used by :ref:`SdsSecretConfig
     * <envoy_v3_api_msg_extensions.transport_sockets.tls.v3.SdsSecretConfig>`
     * 
* * repeated .envoy.extensions.transport_sockets.tls.v3.Secret secrets = 3; */ io.envoyproxy.envoy.extensions.transport_sockets.tls.v3.Secret getSecrets(int index); /** *
     * These static secrets can be used by :ref:`SdsSecretConfig
     * <envoy_v3_api_msg_extensions.transport_sockets.tls.v3.SdsSecretConfig>`
     * 
* * repeated .envoy.extensions.transport_sockets.tls.v3.Secret secrets = 3; */ int getSecretsCount(); /** *
     * These static secrets can be used by :ref:`SdsSecretConfig
     * <envoy_v3_api_msg_extensions.transport_sockets.tls.v3.SdsSecretConfig>`
     * 
* * repeated .envoy.extensions.transport_sockets.tls.v3.Secret secrets = 3; */ java.util.List getSecretsOrBuilderList(); /** *
     * These static secrets can be used by :ref:`SdsSecretConfig
     * <envoy_v3_api_msg_extensions.transport_sockets.tls.v3.SdsSecretConfig>`
     * 
* * repeated .envoy.extensions.transport_sockets.tls.v3.Secret secrets = 3; */ io.envoyproxy.envoy.extensions.transport_sockets.tls.v3.SecretOrBuilder getSecretsOrBuilder( int index); } /** * Protobuf type {@code envoy.config.bootstrap.v3.Bootstrap.StaticResources} */ public static final class StaticResources extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:envoy.config.bootstrap.v3.Bootstrap.StaticResources) StaticResourcesOrBuilder { private static final long serialVersionUID = 0L; // Use StaticResources.newBuilder() to construct. private StaticResources(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private StaticResources() { listeners_ = java.util.Collections.emptyList(); clusters_ = java.util.Collections.emptyList(); secrets_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new StaticResources(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private StaticResources( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { listeners_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } listeners_.add( input.readMessage(io.envoyproxy.envoy.config.listener.v3.Listener.parser(), extensionRegistry)); break; } case 18: { if (!((mutable_bitField0_ & 0x00000002) != 0)) { clusters_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } clusters_.add( input.readMessage(io.envoyproxy.envoy.config.cluster.v3.Cluster.parser(), extensionRegistry)); break; } case 26: { if (!((mutable_bitField0_ & 0x00000004) != 0)) { secrets_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000004; } secrets_.add( input.readMessage(io.envoyproxy.envoy.extensions.transport_sockets.tls.v3.Secret.parser(), extensionRegistry)); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { listeners_ = java.util.Collections.unmodifiableList(listeners_); } if (((mutable_bitField0_ & 0x00000002) != 0)) { clusters_ = java.util.Collections.unmodifiableList(clusters_); } if (((mutable_bitField0_ & 0x00000004) != 0)) { secrets_ = java.util.Collections.unmodifiableList(secrets_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.config.bootstrap.v3.BootstrapProto.internal_static_envoy_config_bootstrap_v3_Bootstrap_StaticResources_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.config.bootstrap.v3.BootstrapProto.internal_static_envoy_config_bootstrap_v3_Bootstrap_StaticResources_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources.class, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources.Builder.class); } public static final int LISTENERS_FIELD_NUMBER = 1; private java.util.List listeners_; /** *
     * Static :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>`. These listeners are
     * available regardless of LDS configuration.
     * 
* * repeated .envoy.config.listener.v3.Listener listeners = 1; */ @java.lang.Override public java.util.List getListenersList() { return listeners_; } /** *
     * Static :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>`. These listeners are
     * available regardless of LDS configuration.
     * 
* * repeated .envoy.config.listener.v3.Listener listeners = 1; */ @java.lang.Override public java.util.List getListenersOrBuilderList() { return listeners_; } /** *
     * Static :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>`. These listeners are
     * available regardless of LDS configuration.
     * 
* * repeated .envoy.config.listener.v3.Listener listeners = 1; */ @java.lang.Override public int getListenersCount() { return listeners_.size(); } /** *
     * Static :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>`. These listeners are
     * available regardless of LDS configuration.
     * 
* * repeated .envoy.config.listener.v3.Listener listeners = 1; */ @java.lang.Override public io.envoyproxy.envoy.config.listener.v3.Listener getListeners(int index) { return listeners_.get(index); } /** *
     * Static :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>`. These listeners are
     * available regardless of LDS configuration.
     * 
* * repeated .envoy.config.listener.v3.Listener listeners = 1; */ @java.lang.Override public io.envoyproxy.envoy.config.listener.v3.ListenerOrBuilder getListenersOrBuilder( int index) { return listeners_.get(index); } public static final int CLUSTERS_FIELD_NUMBER = 2; private java.util.List clusters_; /** *
     * If a network based configuration source is specified for :ref:`cds_config
     * <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.DynamicResources.cds_config>`, it's necessary
     * to have some initial cluster definitions available to allow Envoy to know
     * how to speak to the management server. These cluster definitions may not
     * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
     * IP or DNS-based).
     * 
* * repeated .envoy.config.cluster.v3.Cluster clusters = 2; */ @java.lang.Override public java.util.List getClustersList() { return clusters_; } /** *
     * If a network based configuration source is specified for :ref:`cds_config
     * <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.DynamicResources.cds_config>`, it's necessary
     * to have some initial cluster definitions available to allow Envoy to know
     * how to speak to the management server. These cluster definitions may not
     * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
     * IP or DNS-based).
     * 
* * repeated .envoy.config.cluster.v3.Cluster clusters = 2; */ @java.lang.Override public java.util.List getClustersOrBuilderList() { return clusters_; } /** *
     * If a network based configuration source is specified for :ref:`cds_config
     * <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.DynamicResources.cds_config>`, it's necessary
     * to have some initial cluster definitions available to allow Envoy to know
     * how to speak to the management server. These cluster definitions may not
     * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
     * IP or DNS-based).
     * 
* * repeated .envoy.config.cluster.v3.Cluster clusters = 2; */ @java.lang.Override public int getClustersCount() { return clusters_.size(); } /** *
     * If a network based configuration source is specified for :ref:`cds_config
     * <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.DynamicResources.cds_config>`, it's necessary
     * to have some initial cluster definitions available to allow Envoy to know
     * how to speak to the management server. These cluster definitions may not
     * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
     * IP or DNS-based).
     * 
* * repeated .envoy.config.cluster.v3.Cluster clusters = 2; */ @java.lang.Override public io.envoyproxy.envoy.config.cluster.v3.Cluster getClusters(int index) { return clusters_.get(index); } /** *
     * If a network based configuration source is specified for :ref:`cds_config
     * <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.DynamicResources.cds_config>`, it's necessary
     * to have some initial cluster definitions available to allow Envoy to know
     * how to speak to the management server. These cluster definitions may not
     * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
     * IP or DNS-based).
     * 
* * repeated .envoy.config.cluster.v3.Cluster clusters = 2; */ @java.lang.Override public io.envoyproxy.envoy.config.cluster.v3.ClusterOrBuilder getClustersOrBuilder( int index) { return clusters_.get(index); } public static final int SECRETS_FIELD_NUMBER = 3; private java.util.List secrets_; /** *
     * These static secrets can be used by :ref:`SdsSecretConfig
     * <envoy_v3_api_msg_extensions.transport_sockets.tls.v3.SdsSecretConfig>`
     * 
* * repeated .envoy.extensions.transport_sockets.tls.v3.Secret secrets = 3; */ @java.lang.Override public java.util.List getSecretsList() { return secrets_; } /** *
     * These static secrets can be used by :ref:`SdsSecretConfig
     * <envoy_v3_api_msg_extensions.transport_sockets.tls.v3.SdsSecretConfig>`
     * 
* * repeated .envoy.extensions.transport_sockets.tls.v3.Secret secrets = 3; */ @java.lang.Override public java.util.List getSecretsOrBuilderList() { return secrets_; } /** *
     * These static secrets can be used by :ref:`SdsSecretConfig
     * <envoy_v3_api_msg_extensions.transport_sockets.tls.v3.SdsSecretConfig>`
     * 
* * repeated .envoy.extensions.transport_sockets.tls.v3.Secret secrets = 3; */ @java.lang.Override public int getSecretsCount() { return secrets_.size(); } /** *
     * These static secrets can be used by :ref:`SdsSecretConfig
     * <envoy_v3_api_msg_extensions.transport_sockets.tls.v3.SdsSecretConfig>`
     * 
* * repeated .envoy.extensions.transport_sockets.tls.v3.Secret secrets = 3; */ @java.lang.Override public io.envoyproxy.envoy.extensions.transport_sockets.tls.v3.Secret getSecrets(int index) { return secrets_.get(index); } /** *
     * These static secrets can be used by :ref:`SdsSecretConfig
     * <envoy_v3_api_msg_extensions.transport_sockets.tls.v3.SdsSecretConfig>`
     * 
* * repeated .envoy.extensions.transport_sockets.tls.v3.Secret secrets = 3; */ @java.lang.Override public io.envoyproxy.envoy.extensions.transport_sockets.tls.v3.SecretOrBuilder getSecretsOrBuilder( int index) { return secrets_.get(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < listeners_.size(); i++) { output.writeMessage(1, listeners_.get(i)); } for (int i = 0; i < clusters_.size(); i++) { output.writeMessage(2, clusters_.get(i)); } for (int i = 0; i < secrets_.size(); i++) { output.writeMessage(3, secrets_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < listeners_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, listeners_.get(i)); } for (int i = 0; i < clusters_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, clusters_.get(i)); } for (int i = 0; i < secrets_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, secrets_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources)) { return super.equals(obj); } io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources other = (io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources) obj; if (!getListenersList() .equals(other.getListenersList())) return false; if (!getClustersList() .equals(other.getClustersList())) return false; if (!getSecretsList() .equals(other.getSecretsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getListenersCount() > 0) { hash = (37 * hash) + LISTENERS_FIELD_NUMBER; hash = (53 * hash) + getListenersList().hashCode(); } if (getClustersCount() > 0) { hash = (37 * hash) + CLUSTERS_FIELD_NUMBER; hash = (53 * hash) + getClustersList().hashCode(); } if (getSecretsCount() > 0) { hash = (37 * hash) + SECRETS_FIELD_NUMBER; hash = (53 * hash) + getSecretsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code envoy.config.bootstrap.v3.Bootstrap.StaticResources} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:envoy.config.bootstrap.v3.Bootstrap.StaticResources) io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResourcesOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.config.bootstrap.v3.BootstrapProto.internal_static_envoy_config_bootstrap_v3_Bootstrap_StaticResources_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.config.bootstrap.v3.BootstrapProto.internal_static_envoy_config_bootstrap_v3_Bootstrap_StaticResources_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources.class, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources.Builder.class); } // Construct using io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getListenersFieldBuilder(); getClustersFieldBuilder(); getSecretsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (listenersBuilder_ == null) { listeners_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { listenersBuilder_.clear(); } if (clustersBuilder_ == null) { clusters_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { clustersBuilder_.clear(); } if (secretsBuilder_ == null) { secrets_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); } else { secretsBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.envoyproxy.envoy.config.bootstrap.v3.BootstrapProto.internal_static_envoy_config_bootstrap_v3_Bootstrap_StaticResources_descriptor; } @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources getDefaultInstanceForType() { return io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources.getDefaultInstance(); } @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources build() { io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources buildPartial() { io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources result = new io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources(this); int from_bitField0_ = bitField0_; if (listenersBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { listeners_ = java.util.Collections.unmodifiableList(listeners_); bitField0_ = (bitField0_ & ~0x00000001); } result.listeners_ = listeners_; } else { result.listeners_ = listenersBuilder_.build(); } if (clustersBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { clusters_ = java.util.Collections.unmodifiableList(clusters_); bitField0_ = (bitField0_ & ~0x00000002); } result.clusters_ = clusters_; } else { result.clusters_ = clustersBuilder_.build(); } if (secretsBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0)) { secrets_ = java.util.Collections.unmodifiableList(secrets_); bitField0_ = (bitField0_ & ~0x00000004); } result.secrets_ = secrets_; } else { result.secrets_ = secretsBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources) { return mergeFrom((io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources other) { if (other == io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources.getDefaultInstance()) return this; if (listenersBuilder_ == null) { if (!other.listeners_.isEmpty()) { if (listeners_.isEmpty()) { listeners_ = other.listeners_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureListenersIsMutable(); listeners_.addAll(other.listeners_); } onChanged(); } } else { if (!other.listeners_.isEmpty()) { if (listenersBuilder_.isEmpty()) { listenersBuilder_.dispose(); listenersBuilder_ = null; listeners_ = other.listeners_; bitField0_ = (bitField0_ & ~0x00000001); listenersBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getListenersFieldBuilder() : null; } else { listenersBuilder_.addAllMessages(other.listeners_); } } } if (clustersBuilder_ == null) { if (!other.clusters_.isEmpty()) { if (clusters_.isEmpty()) { clusters_ = other.clusters_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureClustersIsMutable(); clusters_.addAll(other.clusters_); } onChanged(); } } else { if (!other.clusters_.isEmpty()) { if (clustersBuilder_.isEmpty()) { clustersBuilder_.dispose(); clustersBuilder_ = null; clusters_ = other.clusters_; bitField0_ = (bitField0_ & ~0x00000002); clustersBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getClustersFieldBuilder() : null; } else { clustersBuilder_.addAllMessages(other.clusters_); } } } if (secretsBuilder_ == null) { if (!other.secrets_.isEmpty()) { if (secrets_.isEmpty()) { secrets_ = other.secrets_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureSecretsIsMutable(); secrets_.addAll(other.secrets_); } onChanged(); } } else { if (!other.secrets_.isEmpty()) { if (secretsBuilder_.isEmpty()) { secretsBuilder_.dispose(); secretsBuilder_ = null; secrets_ = other.secrets_; bitField0_ = (bitField0_ & ~0x00000004); secretsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getSecretsFieldBuilder() : null; } else { secretsBuilder_.addAllMessages(other.secrets_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List listeners_ = java.util.Collections.emptyList(); private void ensureListenersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { listeners_ = new java.util.ArrayList(listeners_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.config.listener.v3.Listener, io.envoyproxy.envoy.config.listener.v3.Listener.Builder, io.envoyproxy.envoy.config.listener.v3.ListenerOrBuilder> listenersBuilder_; /** *
       * Static :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>`. These listeners are
       * available regardless of LDS configuration.
       * 
* * repeated .envoy.config.listener.v3.Listener listeners = 1; */ public java.util.List getListenersList() { if (listenersBuilder_ == null) { return java.util.Collections.unmodifiableList(listeners_); } else { return listenersBuilder_.getMessageList(); } } /** *
       * Static :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>`. These listeners are
       * available regardless of LDS configuration.
       * 
* * repeated .envoy.config.listener.v3.Listener listeners = 1; */ public int getListenersCount() { if (listenersBuilder_ == null) { return listeners_.size(); } else { return listenersBuilder_.getCount(); } } /** *
       * Static :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>`. These listeners are
       * available regardless of LDS configuration.
       * 
* * repeated .envoy.config.listener.v3.Listener listeners = 1; */ public io.envoyproxy.envoy.config.listener.v3.Listener getListeners(int index) { if (listenersBuilder_ == null) { return listeners_.get(index); } else { return listenersBuilder_.getMessage(index); } } /** *
       * Static :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>`. These listeners are
       * available regardless of LDS configuration.
       * 
* * repeated .envoy.config.listener.v3.Listener listeners = 1; */ public Builder setListeners( int index, io.envoyproxy.envoy.config.listener.v3.Listener value) { if (listenersBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureListenersIsMutable(); listeners_.set(index, value); onChanged(); } else { listenersBuilder_.setMessage(index, value); } return this; } /** *
       * Static :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>`. These listeners are
       * available regardless of LDS configuration.
       * 
* * repeated .envoy.config.listener.v3.Listener listeners = 1; */ public Builder setListeners( int index, io.envoyproxy.envoy.config.listener.v3.Listener.Builder builderForValue) { if (listenersBuilder_ == null) { ensureListenersIsMutable(); listeners_.set(index, builderForValue.build()); onChanged(); } else { listenersBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * Static :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>`. These listeners are
       * available regardless of LDS configuration.
       * 
* * repeated .envoy.config.listener.v3.Listener listeners = 1; */ public Builder addListeners(io.envoyproxy.envoy.config.listener.v3.Listener value) { if (listenersBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureListenersIsMutable(); listeners_.add(value); onChanged(); } else { listenersBuilder_.addMessage(value); } return this; } /** *
       * Static :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>`. These listeners are
       * available regardless of LDS configuration.
       * 
* * repeated .envoy.config.listener.v3.Listener listeners = 1; */ public Builder addListeners( int index, io.envoyproxy.envoy.config.listener.v3.Listener value) { if (listenersBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureListenersIsMutable(); listeners_.add(index, value); onChanged(); } else { listenersBuilder_.addMessage(index, value); } return this; } /** *
       * Static :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>`. These listeners are
       * available regardless of LDS configuration.
       * 
* * repeated .envoy.config.listener.v3.Listener listeners = 1; */ public Builder addListeners( io.envoyproxy.envoy.config.listener.v3.Listener.Builder builderForValue) { if (listenersBuilder_ == null) { ensureListenersIsMutable(); listeners_.add(builderForValue.build()); onChanged(); } else { listenersBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * Static :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>`. These listeners are
       * available regardless of LDS configuration.
       * 
* * repeated .envoy.config.listener.v3.Listener listeners = 1; */ public Builder addListeners( int index, io.envoyproxy.envoy.config.listener.v3.Listener.Builder builderForValue) { if (listenersBuilder_ == null) { ensureListenersIsMutable(); listeners_.add(index, builderForValue.build()); onChanged(); } else { listenersBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * Static :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>`. These listeners are
       * available regardless of LDS configuration.
       * 
* * repeated .envoy.config.listener.v3.Listener listeners = 1; */ public Builder addAllListeners( java.lang.Iterable values) { if (listenersBuilder_ == null) { ensureListenersIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, listeners_); onChanged(); } else { listenersBuilder_.addAllMessages(values); } return this; } /** *
       * Static :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>`. These listeners are
       * available regardless of LDS configuration.
       * 
* * repeated .envoy.config.listener.v3.Listener listeners = 1; */ public Builder clearListeners() { if (listenersBuilder_ == null) { listeners_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { listenersBuilder_.clear(); } return this; } /** *
       * Static :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>`. These listeners are
       * available regardless of LDS configuration.
       * 
* * repeated .envoy.config.listener.v3.Listener listeners = 1; */ public Builder removeListeners(int index) { if (listenersBuilder_ == null) { ensureListenersIsMutable(); listeners_.remove(index); onChanged(); } else { listenersBuilder_.remove(index); } return this; } /** *
       * Static :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>`. These listeners are
       * available regardless of LDS configuration.
       * 
* * repeated .envoy.config.listener.v3.Listener listeners = 1; */ public io.envoyproxy.envoy.config.listener.v3.Listener.Builder getListenersBuilder( int index) { return getListenersFieldBuilder().getBuilder(index); } /** *
       * Static :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>`. These listeners are
       * available regardless of LDS configuration.
       * 
* * repeated .envoy.config.listener.v3.Listener listeners = 1; */ public io.envoyproxy.envoy.config.listener.v3.ListenerOrBuilder getListenersOrBuilder( int index) { if (listenersBuilder_ == null) { return listeners_.get(index); } else { return listenersBuilder_.getMessageOrBuilder(index); } } /** *
       * Static :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>`. These listeners are
       * available regardless of LDS configuration.
       * 
* * repeated .envoy.config.listener.v3.Listener listeners = 1; */ public java.util.List getListenersOrBuilderList() { if (listenersBuilder_ != null) { return listenersBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(listeners_); } } /** *
       * Static :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>`. These listeners are
       * available regardless of LDS configuration.
       * 
* * repeated .envoy.config.listener.v3.Listener listeners = 1; */ public io.envoyproxy.envoy.config.listener.v3.Listener.Builder addListenersBuilder() { return getListenersFieldBuilder().addBuilder( io.envoyproxy.envoy.config.listener.v3.Listener.getDefaultInstance()); } /** *
       * Static :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>`. These listeners are
       * available regardless of LDS configuration.
       * 
* * repeated .envoy.config.listener.v3.Listener listeners = 1; */ public io.envoyproxy.envoy.config.listener.v3.Listener.Builder addListenersBuilder( int index) { return getListenersFieldBuilder().addBuilder( index, io.envoyproxy.envoy.config.listener.v3.Listener.getDefaultInstance()); } /** *
       * Static :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>`. These listeners are
       * available regardless of LDS configuration.
       * 
* * repeated .envoy.config.listener.v3.Listener listeners = 1; */ public java.util.List getListenersBuilderList() { return getListenersFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.config.listener.v3.Listener, io.envoyproxy.envoy.config.listener.v3.Listener.Builder, io.envoyproxy.envoy.config.listener.v3.ListenerOrBuilder> getListenersFieldBuilder() { if (listenersBuilder_ == null) { listenersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.config.listener.v3.Listener, io.envoyproxy.envoy.config.listener.v3.Listener.Builder, io.envoyproxy.envoy.config.listener.v3.ListenerOrBuilder>( listeners_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); listeners_ = null; } return listenersBuilder_; } private java.util.List clusters_ = java.util.Collections.emptyList(); private void ensureClustersIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { clusters_ = new java.util.ArrayList(clusters_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.config.cluster.v3.Cluster, io.envoyproxy.envoy.config.cluster.v3.Cluster.Builder, io.envoyproxy.envoy.config.cluster.v3.ClusterOrBuilder> clustersBuilder_; /** *
       * If a network based configuration source is specified for :ref:`cds_config
       * <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.DynamicResources.cds_config>`, it's necessary
       * to have some initial cluster definitions available to allow Envoy to know
       * how to speak to the management server. These cluster definitions may not
       * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
       * IP or DNS-based).
       * 
* * repeated .envoy.config.cluster.v3.Cluster clusters = 2; */ public java.util.List getClustersList() { if (clustersBuilder_ == null) { return java.util.Collections.unmodifiableList(clusters_); } else { return clustersBuilder_.getMessageList(); } } /** *
       * If a network based configuration source is specified for :ref:`cds_config
       * <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.DynamicResources.cds_config>`, it's necessary
       * to have some initial cluster definitions available to allow Envoy to know
       * how to speak to the management server. These cluster definitions may not
       * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
       * IP or DNS-based).
       * 
* * repeated .envoy.config.cluster.v3.Cluster clusters = 2; */ public int getClustersCount() { if (clustersBuilder_ == null) { return clusters_.size(); } else { return clustersBuilder_.getCount(); } } /** *
       * If a network based configuration source is specified for :ref:`cds_config
       * <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.DynamicResources.cds_config>`, it's necessary
       * to have some initial cluster definitions available to allow Envoy to know
       * how to speak to the management server. These cluster definitions may not
       * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
       * IP or DNS-based).
       * 
* * repeated .envoy.config.cluster.v3.Cluster clusters = 2; */ public io.envoyproxy.envoy.config.cluster.v3.Cluster getClusters(int index) { if (clustersBuilder_ == null) { return clusters_.get(index); } else { return clustersBuilder_.getMessage(index); } } /** *
       * If a network based configuration source is specified for :ref:`cds_config
       * <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.DynamicResources.cds_config>`, it's necessary
       * to have some initial cluster definitions available to allow Envoy to know
       * how to speak to the management server. These cluster definitions may not
       * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
       * IP or DNS-based).
       * 
* * repeated .envoy.config.cluster.v3.Cluster clusters = 2; */ public Builder setClusters( int index, io.envoyproxy.envoy.config.cluster.v3.Cluster value) { if (clustersBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureClustersIsMutable(); clusters_.set(index, value); onChanged(); } else { clustersBuilder_.setMessage(index, value); } return this; } /** *
       * If a network based configuration source is specified for :ref:`cds_config
       * <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.DynamicResources.cds_config>`, it's necessary
       * to have some initial cluster definitions available to allow Envoy to know
       * how to speak to the management server. These cluster definitions may not
       * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
       * IP or DNS-based).
       * 
* * repeated .envoy.config.cluster.v3.Cluster clusters = 2; */ public Builder setClusters( int index, io.envoyproxy.envoy.config.cluster.v3.Cluster.Builder builderForValue) { if (clustersBuilder_ == null) { ensureClustersIsMutable(); clusters_.set(index, builderForValue.build()); onChanged(); } else { clustersBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * If a network based configuration source is specified for :ref:`cds_config
       * <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.DynamicResources.cds_config>`, it's necessary
       * to have some initial cluster definitions available to allow Envoy to know
       * how to speak to the management server. These cluster definitions may not
       * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
       * IP or DNS-based).
       * 
* * repeated .envoy.config.cluster.v3.Cluster clusters = 2; */ public Builder addClusters(io.envoyproxy.envoy.config.cluster.v3.Cluster value) { if (clustersBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureClustersIsMutable(); clusters_.add(value); onChanged(); } else { clustersBuilder_.addMessage(value); } return this; } /** *
       * If a network based configuration source is specified for :ref:`cds_config
       * <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.DynamicResources.cds_config>`, it's necessary
       * to have some initial cluster definitions available to allow Envoy to know
       * how to speak to the management server. These cluster definitions may not
       * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
       * IP or DNS-based).
       * 
* * repeated .envoy.config.cluster.v3.Cluster clusters = 2; */ public Builder addClusters( int index, io.envoyproxy.envoy.config.cluster.v3.Cluster value) { if (clustersBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureClustersIsMutable(); clusters_.add(index, value); onChanged(); } else { clustersBuilder_.addMessage(index, value); } return this; } /** *
       * If a network based configuration source is specified for :ref:`cds_config
       * <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.DynamicResources.cds_config>`, it's necessary
       * to have some initial cluster definitions available to allow Envoy to know
       * how to speak to the management server. These cluster definitions may not
       * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
       * IP or DNS-based).
       * 
* * repeated .envoy.config.cluster.v3.Cluster clusters = 2; */ public Builder addClusters( io.envoyproxy.envoy.config.cluster.v3.Cluster.Builder builderForValue) { if (clustersBuilder_ == null) { ensureClustersIsMutable(); clusters_.add(builderForValue.build()); onChanged(); } else { clustersBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * If a network based configuration source is specified for :ref:`cds_config
       * <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.DynamicResources.cds_config>`, it's necessary
       * to have some initial cluster definitions available to allow Envoy to know
       * how to speak to the management server. These cluster definitions may not
       * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
       * IP or DNS-based).
       * 
* * repeated .envoy.config.cluster.v3.Cluster clusters = 2; */ public Builder addClusters( int index, io.envoyproxy.envoy.config.cluster.v3.Cluster.Builder builderForValue) { if (clustersBuilder_ == null) { ensureClustersIsMutable(); clusters_.add(index, builderForValue.build()); onChanged(); } else { clustersBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * If a network based configuration source is specified for :ref:`cds_config
       * <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.DynamicResources.cds_config>`, it's necessary
       * to have some initial cluster definitions available to allow Envoy to know
       * how to speak to the management server. These cluster definitions may not
       * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
       * IP or DNS-based).
       * 
* * repeated .envoy.config.cluster.v3.Cluster clusters = 2; */ public Builder addAllClusters( java.lang.Iterable values) { if (clustersBuilder_ == null) { ensureClustersIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, clusters_); onChanged(); } else { clustersBuilder_.addAllMessages(values); } return this; } /** *
       * If a network based configuration source is specified for :ref:`cds_config
       * <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.DynamicResources.cds_config>`, it's necessary
       * to have some initial cluster definitions available to allow Envoy to know
       * how to speak to the management server. These cluster definitions may not
       * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
       * IP or DNS-based).
       * 
* * repeated .envoy.config.cluster.v3.Cluster clusters = 2; */ public Builder clearClusters() { if (clustersBuilder_ == null) { clusters_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { clustersBuilder_.clear(); } return this; } /** *
       * If a network based configuration source is specified for :ref:`cds_config
       * <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.DynamicResources.cds_config>`, it's necessary
       * to have some initial cluster definitions available to allow Envoy to know
       * how to speak to the management server. These cluster definitions may not
       * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
       * IP or DNS-based).
       * 
* * repeated .envoy.config.cluster.v3.Cluster clusters = 2; */ public Builder removeClusters(int index) { if (clustersBuilder_ == null) { ensureClustersIsMutable(); clusters_.remove(index); onChanged(); } else { clustersBuilder_.remove(index); } return this; } /** *
       * If a network based configuration source is specified for :ref:`cds_config
       * <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.DynamicResources.cds_config>`, it's necessary
       * to have some initial cluster definitions available to allow Envoy to know
       * how to speak to the management server. These cluster definitions may not
       * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
       * IP or DNS-based).
       * 
* * repeated .envoy.config.cluster.v3.Cluster clusters = 2; */ public io.envoyproxy.envoy.config.cluster.v3.Cluster.Builder getClustersBuilder( int index) { return getClustersFieldBuilder().getBuilder(index); } /** *
       * If a network based configuration source is specified for :ref:`cds_config
       * <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.DynamicResources.cds_config>`, it's necessary
       * to have some initial cluster definitions available to allow Envoy to know
       * how to speak to the management server. These cluster definitions may not
       * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
       * IP or DNS-based).
       * 
* * repeated .envoy.config.cluster.v3.Cluster clusters = 2; */ public io.envoyproxy.envoy.config.cluster.v3.ClusterOrBuilder getClustersOrBuilder( int index) { if (clustersBuilder_ == null) { return clusters_.get(index); } else { return clustersBuilder_.getMessageOrBuilder(index); } } /** *
       * If a network based configuration source is specified for :ref:`cds_config
       * <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.DynamicResources.cds_config>`, it's necessary
       * to have some initial cluster definitions available to allow Envoy to know
       * how to speak to the management server. These cluster definitions may not
       * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
       * IP or DNS-based).
       * 
* * repeated .envoy.config.cluster.v3.Cluster clusters = 2; */ public java.util.List getClustersOrBuilderList() { if (clustersBuilder_ != null) { return clustersBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(clusters_); } } /** *
       * If a network based configuration source is specified for :ref:`cds_config
       * <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.DynamicResources.cds_config>`, it's necessary
       * to have some initial cluster definitions available to allow Envoy to know
       * how to speak to the management server. These cluster definitions may not
       * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
       * IP or DNS-based).
       * 
* * repeated .envoy.config.cluster.v3.Cluster clusters = 2; */ public io.envoyproxy.envoy.config.cluster.v3.Cluster.Builder addClustersBuilder() { return getClustersFieldBuilder().addBuilder( io.envoyproxy.envoy.config.cluster.v3.Cluster.getDefaultInstance()); } /** *
       * If a network based configuration source is specified for :ref:`cds_config
       * <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.DynamicResources.cds_config>`, it's necessary
       * to have some initial cluster definitions available to allow Envoy to know
       * how to speak to the management server. These cluster definitions may not
       * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
       * IP or DNS-based).
       * 
* * repeated .envoy.config.cluster.v3.Cluster clusters = 2; */ public io.envoyproxy.envoy.config.cluster.v3.Cluster.Builder addClustersBuilder( int index) { return getClustersFieldBuilder().addBuilder( index, io.envoyproxy.envoy.config.cluster.v3.Cluster.getDefaultInstance()); } /** *
       * If a network based configuration source is specified for :ref:`cds_config
       * <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.DynamicResources.cds_config>`, it's necessary
       * to have some initial cluster definitions available to allow Envoy to know
       * how to speak to the management server. These cluster definitions may not
       * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
       * IP or DNS-based).
       * 
* * repeated .envoy.config.cluster.v3.Cluster clusters = 2; */ public java.util.List getClustersBuilderList() { return getClustersFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.config.cluster.v3.Cluster, io.envoyproxy.envoy.config.cluster.v3.Cluster.Builder, io.envoyproxy.envoy.config.cluster.v3.ClusterOrBuilder> getClustersFieldBuilder() { if (clustersBuilder_ == null) { clustersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.config.cluster.v3.Cluster, io.envoyproxy.envoy.config.cluster.v3.Cluster.Builder, io.envoyproxy.envoy.config.cluster.v3.ClusterOrBuilder>( clusters_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); clusters_ = null; } return clustersBuilder_; } private java.util.List secrets_ = java.util.Collections.emptyList(); private void ensureSecretsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { secrets_ = new java.util.ArrayList(secrets_); bitField0_ |= 0x00000004; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.extensions.transport_sockets.tls.v3.Secret, io.envoyproxy.envoy.extensions.transport_sockets.tls.v3.Secret.Builder, io.envoyproxy.envoy.extensions.transport_sockets.tls.v3.SecretOrBuilder> secretsBuilder_; /** *
       * These static secrets can be used by :ref:`SdsSecretConfig
       * <envoy_v3_api_msg_extensions.transport_sockets.tls.v3.SdsSecretConfig>`
       * 
* * repeated .envoy.extensions.transport_sockets.tls.v3.Secret secrets = 3; */ public java.util.List getSecretsList() { if (secretsBuilder_ == null) { return java.util.Collections.unmodifiableList(secrets_); } else { return secretsBuilder_.getMessageList(); } } /** *
       * These static secrets can be used by :ref:`SdsSecretConfig
       * <envoy_v3_api_msg_extensions.transport_sockets.tls.v3.SdsSecretConfig>`
       * 
* * repeated .envoy.extensions.transport_sockets.tls.v3.Secret secrets = 3; */ public int getSecretsCount() { if (secretsBuilder_ == null) { return secrets_.size(); } else { return secretsBuilder_.getCount(); } } /** *
       * These static secrets can be used by :ref:`SdsSecretConfig
       * <envoy_v3_api_msg_extensions.transport_sockets.tls.v3.SdsSecretConfig>`
       * 
* * repeated .envoy.extensions.transport_sockets.tls.v3.Secret secrets = 3; */ public io.envoyproxy.envoy.extensions.transport_sockets.tls.v3.Secret getSecrets(int index) { if (secretsBuilder_ == null) { return secrets_.get(index); } else { return secretsBuilder_.getMessage(index); } } /** *
       * These static secrets can be used by :ref:`SdsSecretConfig
       * <envoy_v3_api_msg_extensions.transport_sockets.tls.v3.SdsSecretConfig>`
       * 
* * repeated .envoy.extensions.transport_sockets.tls.v3.Secret secrets = 3; */ public Builder setSecrets( int index, io.envoyproxy.envoy.extensions.transport_sockets.tls.v3.Secret value) { if (secretsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSecretsIsMutable(); secrets_.set(index, value); onChanged(); } else { secretsBuilder_.setMessage(index, value); } return this; } /** *
       * These static secrets can be used by :ref:`SdsSecretConfig
       * <envoy_v3_api_msg_extensions.transport_sockets.tls.v3.SdsSecretConfig>`
       * 
* * repeated .envoy.extensions.transport_sockets.tls.v3.Secret secrets = 3; */ public Builder setSecrets( int index, io.envoyproxy.envoy.extensions.transport_sockets.tls.v3.Secret.Builder builderForValue) { if (secretsBuilder_ == null) { ensureSecretsIsMutable(); secrets_.set(index, builderForValue.build()); onChanged(); } else { secretsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * These static secrets can be used by :ref:`SdsSecretConfig
       * <envoy_v3_api_msg_extensions.transport_sockets.tls.v3.SdsSecretConfig>`
       * 
* * repeated .envoy.extensions.transport_sockets.tls.v3.Secret secrets = 3; */ public Builder addSecrets(io.envoyproxy.envoy.extensions.transport_sockets.tls.v3.Secret value) { if (secretsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSecretsIsMutable(); secrets_.add(value); onChanged(); } else { secretsBuilder_.addMessage(value); } return this; } /** *
       * These static secrets can be used by :ref:`SdsSecretConfig
       * <envoy_v3_api_msg_extensions.transport_sockets.tls.v3.SdsSecretConfig>`
       * 
* * repeated .envoy.extensions.transport_sockets.tls.v3.Secret secrets = 3; */ public Builder addSecrets( int index, io.envoyproxy.envoy.extensions.transport_sockets.tls.v3.Secret value) { if (secretsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSecretsIsMutable(); secrets_.add(index, value); onChanged(); } else { secretsBuilder_.addMessage(index, value); } return this; } /** *
       * These static secrets can be used by :ref:`SdsSecretConfig
       * <envoy_v3_api_msg_extensions.transport_sockets.tls.v3.SdsSecretConfig>`
       * 
* * repeated .envoy.extensions.transport_sockets.tls.v3.Secret secrets = 3; */ public Builder addSecrets( io.envoyproxy.envoy.extensions.transport_sockets.tls.v3.Secret.Builder builderForValue) { if (secretsBuilder_ == null) { ensureSecretsIsMutable(); secrets_.add(builderForValue.build()); onChanged(); } else { secretsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * These static secrets can be used by :ref:`SdsSecretConfig
       * <envoy_v3_api_msg_extensions.transport_sockets.tls.v3.SdsSecretConfig>`
       * 
* * repeated .envoy.extensions.transport_sockets.tls.v3.Secret secrets = 3; */ public Builder addSecrets( int index, io.envoyproxy.envoy.extensions.transport_sockets.tls.v3.Secret.Builder builderForValue) { if (secretsBuilder_ == null) { ensureSecretsIsMutable(); secrets_.add(index, builderForValue.build()); onChanged(); } else { secretsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * These static secrets can be used by :ref:`SdsSecretConfig
       * <envoy_v3_api_msg_extensions.transport_sockets.tls.v3.SdsSecretConfig>`
       * 
* * repeated .envoy.extensions.transport_sockets.tls.v3.Secret secrets = 3; */ public Builder addAllSecrets( java.lang.Iterable values) { if (secretsBuilder_ == null) { ensureSecretsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, secrets_); onChanged(); } else { secretsBuilder_.addAllMessages(values); } return this; } /** *
       * These static secrets can be used by :ref:`SdsSecretConfig
       * <envoy_v3_api_msg_extensions.transport_sockets.tls.v3.SdsSecretConfig>`
       * 
* * repeated .envoy.extensions.transport_sockets.tls.v3.Secret secrets = 3; */ public Builder clearSecrets() { if (secretsBuilder_ == null) { secrets_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { secretsBuilder_.clear(); } return this; } /** *
       * These static secrets can be used by :ref:`SdsSecretConfig
       * <envoy_v3_api_msg_extensions.transport_sockets.tls.v3.SdsSecretConfig>`
       * 
* * repeated .envoy.extensions.transport_sockets.tls.v3.Secret secrets = 3; */ public Builder removeSecrets(int index) { if (secretsBuilder_ == null) { ensureSecretsIsMutable(); secrets_.remove(index); onChanged(); } else { secretsBuilder_.remove(index); } return this; } /** *
       * These static secrets can be used by :ref:`SdsSecretConfig
       * <envoy_v3_api_msg_extensions.transport_sockets.tls.v3.SdsSecretConfig>`
       * 
* * repeated .envoy.extensions.transport_sockets.tls.v3.Secret secrets = 3; */ public io.envoyproxy.envoy.extensions.transport_sockets.tls.v3.Secret.Builder getSecretsBuilder( int index) { return getSecretsFieldBuilder().getBuilder(index); } /** *
       * These static secrets can be used by :ref:`SdsSecretConfig
       * <envoy_v3_api_msg_extensions.transport_sockets.tls.v3.SdsSecretConfig>`
       * 
* * repeated .envoy.extensions.transport_sockets.tls.v3.Secret secrets = 3; */ public io.envoyproxy.envoy.extensions.transport_sockets.tls.v3.SecretOrBuilder getSecretsOrBuilder( int index) { if (secretsBuilder_ == null) { return secrets_.get(index); } else { return secretsBuilder_.getMessageOrBuilder(index); } } /** *
       * These static secrets can be used by :ref:`SdsSecretConfig
       * <envoy_v3_api_msg_extensions.transport_sockets.tls.v3.SdsSecretConfig>`
       * 
* * repeated .envoy.extensions.transport_sockets.tls.v3.Secret secrets = 3; */ public java.util.List getSecretsOrBuilderList() { if (secretsBuilder_ != null) { return secretsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(secrets_); } } /** *
       * These static secrets can be used by :ref:`SdsSecretConfig
       * <envoy_v3_api_msg_extensions.transport_sockets.tls.v3.SdsSecretConfig>`
       * 
* * repeated .envoy.extensions.transport_sockets.tls.v3.Secret secrets = 3; */ public io.envoyproxy.envoy.extensions.transport_sockets.tls.v3.Secret.Builder addSecretsBuilder() { return getSecretsFieldBuilder().addBuilder( io.envoyproxy.envoy.extensions.transport_sockets.tls.v3.Secret.getDefaultInstance()); } /** *
       * These static secrets can be used by :ref:`SdsSecretConfig
       * <envoy_v3_api_msg_extensions.transport_sockets.tls.v3.SdsSecretConfig>`
       * 
* * repeated .envoy.extensions.transport_sockets.tls.v3.Secret secrets = 3; */ public io.envoyproxy.envoy.extensions.transport_sockets.tls.v3.Secret.Builder addSecretsBuilder( int index) { return getSecretsFieldBuilder().addBuilder( index, io.envoyproxy.envoy.extensions.transport_sockets.tls.v3.Secret.getDefaultInstance()); } /** *
       * These static secrets can be used by :ref:`SdsSecretConfig
       * <envoy_v3_api_msg_extensions.transport_sockets.tls.v3.SdsSecretConfig>`
       * 
* * repeated .envoy.extensions.transport_sockets.tls.v3.Secret secrets = 3; */ public java.util.List getSecretsBuilderList() { return getSecretsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.extensions.transport_sockets.tls.v3.Secret, io.envoyproxy.envoy.extensions.transport_sockets.tls.v3.Secret.Builder, io.envoyproxy.envoy.extensions.transport_sockets.tls.v3.SecretOrBuilder> getSecretsFieldBuilder() { if (secretsBuilder_ == null) { secretsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.extensions.transport_sockets.tls.v3.Secret, io.envoyproxy.envoy.extensions.transport_sockets.tls.v3.Secret.Builder, io.envoyproxy.envoy.extensions.transport_sockets.tls.v3.SecretOrBuilder>( secrets_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); secrets_ = null; } return secretsBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:envoy.config.bootstrap.v3.Bootstrap.StaticResources) } // @@protoc_insertion_point(class_scope:envoy.config.bootstrap.v3.Bootstrap.StaticResources) private static final io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources(); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public StaticResources parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new StaticResources(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DynamicResourcesOrBuilder extends // @@protoc_insertion_point(interface_extends:envoy.config.bootstrap.v3.Bootstrap.DynamicResources) com.google.protobuf.MessageOrBuilder { /** *
     * All :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>` are provided by a single
     * :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
     * 
* * .envoy.config.core.v3.ConfigSource lds_config = 1; * @return Whether the ldsConfig field is set. */ boolean hasLdsConfig(); /** *
     * All :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>` are provided by a single
     * :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
     * 
* * .envoy.config.core.v3.ConfigSource lds_config = 1; * @return The ldsConfig. */ io.envoyproxy.envoy.config.core.v3.ConfigSource getLdsConfig(); /** *
     * All :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>` are provided by a single
     * :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
     * 
* * .envoy.config.core.v3.ConfigSource lds_config = 1; */ io.envoyproxy.envoy.config.core.v3.ConfigSourceOrBuilder getLdsConfigOrBuilder(); /** *
     * xdstp:// resource locator for listener collection.
     * [#not-implemented-hide:]
     * 
* * string lds_resources_locator = 5; * @return The ldsResourcesLocator. */ java.lang.String getLdsResourcesLocator(); /** *
     * xdstp:// resource locator for listener collection.
     * [#not-implemented-hide:]
     * 
* * string lds_resources_locator = 5; * @return The bytes for ldsResourcesLocator. */ com.google.protobuf.ByteString getLdsResourcesLocatorBytes(); /** *
     * All post-bootstrap :ref:`Cluster <envoy_v3_api_msg_config.cluster.v3.Cluster>` definitions are
     * provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
     * configuration source.
     * 
* * .envoy.config.core.v3.ConfigSource cds_config = 2; * @return Whether the cdsConfig field is set. */ boolean hasCdsConfig(); /** *
     * All post-bootstrap :ref:`Cluster <envoy_v3_api_msg_config.cluster.v3.Cluster>` definitions are
     * provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
     * configuration source.
     * 
* * .envoy.config.core.v3.ConfigSource cds_config = 2; * @return The cdsConfig. */ io.envoyproxy.envoy.config.core.v3.ConfigSource getCdsConfig(); /** *
     * All post-bootstrap :ref:`Cluster <envoy_v3_api_msg_config.cluster.v3.Cluster>` definitions are
     * provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
     * configuration source.
     * 
* * .envoy.config.core.v3.ConfigSource cds_config = 2; */ io.envoyproxy.envoy.config.core.v3.ConfigSourceOrBuilder getCdsConfigOrBuilder(); /** *
     * xdstp:// resource locator for cluster collection.
     * [#not-implemented-hide:]
     * 
* * string cds_resources_locator = 6; * @return The cdsResourcesLocator. */ java.lang.String getCdsResourcesLocator(); /** *
     * xdstp:// resource locator for cluster collection.
     * [#not-implemented-hide:]
     * 
* * string cds_resources_locator = 6; * @return The bytes for cdsResourcesLocator. */ com.google.protobuf.ByteString getCdsResourcesLocatorBytes(); /** *
     * A single :ref:`ADS <config_overview_ads>` source may be optionally
     * specified. This must have :ref:`api_type
     * <envoy_v3_api_field_config.core.v3.ApiConfigSource.api_type>` :ref:`GRPC
     * <envoy_v3_api_enum_value_config.core.v3.ApiConfigSource.ApiType.GRPC>`. Only
     * :ref:`ConfigSources <envoy_v3_api_msg_config.core.v3.ConfigSource>` that have
     * the :ref:`ads <envoy_v3_api_field_config.core.v3.ConfigSource.ads>` field set will be
     * streamed on the ADS channel.
     * 
* * .envoy.config.core.v3.ApiConfigSource ads_config = 3; * @return Whether the adsConfig field is set. */ boolean hasAdsConfig(); /** *
     * A single :ref:`ADS <config_overview_ads>` source may be optionally
     * specified. This must have :ref:`api_type
     * <envoy_v3_api_field_config.core.v3.ApiConfigSource.api_type>` :ref:`GRPC
     * <envoy_v3_api_enum_value_config.core.v3.ApiConfigSource.ApiType.GRPC>`. Only
     * :ref:`ConfigSources <envoy_v3_api_msg_config.core.v3.ConfigSource>` that have
     * the :ref:`ads <envoy_v3_api_field_config.core.v3.ConfigSource.ads>` field set will be
     * streamed on the ADS channel.
     * 
* * .envoy.config.core.v3.ApiConfigSource ads_config = 3; * @return The adsConfig. */ io.envoyproxy.envoy.config.core.v3.ApiConfigSource getAdsConfig(); /** *
     * A single :ref:`ADS <config_overview_ads>` source may be optionally
     * specified. This must have :ref:`api_type
     * <envoy_v3_api_field_config.core.v3.ApiConfigSource.api_type>` :ref:`GRPC
     * <envoy_v3_api_enum_value_config.core.v3.ApiConfigSource.ApiType.GRPC>`. Only
     * :ref:`ConfigSources <envoy_v3_api_msg_config.core.v3.ConfigSource>` that have
     * the :ref:`ads <envoy_v3_api_field_config.core.v3.ConfigSource.ads>` field set will be
     * streamed on the ADS channel.
     * 
* * .envoy.config.core.v3.ApiConfigSource ads_config = 3; */ io.envoyproxy.envoy.config.core.v3.ApiConfigSourceOrBuilder getAdsConfigOrBuilder(); } /** *
   * [#next-free-field: 7]
   * 
* * Protobuf type {@code envoy.config.bootstrap.v3.Bootstrap.DynamicResources} */ public static final class DynamicResources extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:envoy.config.bootstrap.v3.Bootstrap.DynamicResources) DynamicResourcesOrBuilder { private static final long serialVersionUID = 0L; // Use DynamicResources.newBuilder() to construct. private DynamicResources(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DynamicResources() { ldsResourcesLocator_ = ""; cdsResourcesLocator_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DynamicResources(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DynamicResources( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { io.envoyproxy.envoy.config.core.v3.ConfigSource.Builder subBuilder = null; if (ldsConfig_ != null) { subBuilder = ldsConfig_.toBuilder(); } ldsConfig_ = input.readMessage(io.envoyproxy.envoy.config.core.v3.ConfigSource.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(ldsConfig_); ldsConfig_ = subBuilder.buildPartial(); } break; } case 18: { io.envoyproxy.envoy.config.core.v3.ConfigSource.Builder subBuilder = null; if (cdsConfig_ != null) { subBuilder = cdsConfig_.toBuilder(); } cdsConfig_ = input.readMessage(io.envoyproxy.envoy.config.core.v3.ConfigSource.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(cdsConfig_); cdsConfig_ = subBuilder.buildPartial(); } break; } case 26: { io.envoyproxy.envoy.config.core.v3.ApiConfigSource.Builder subBuilder = null; if (adsConfig_ != null) { subBuilder = adsConfig_.toBuilder(); } adsConfig_ = input.readMessage(io.envoyproxy.envoy.config.core.v3.ApiConfigSource.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(adsConfig_); adsConfig_ = subBuilder.buildPartial(); } break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); ldsResourcesLocator_ = s; break; } case 50: { java.lang.String s = input.readStringRequireUtf8(); cdsResourcesLocator_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.config.bootstrap.v3.BootstrapProto.internal_static_envoy_config_bootstrap_v3_Bootstrap_DynamicResources_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.config.bootstrap.v3.BootstrapProto.internal_static_envoy_config_bootstrap_v3_Bootstrap_DynamicResources_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources.class, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources.Builder.class); } public static final int LDS_CONFIG_FIELD_NUMBER = 1; private io.envoyproxy.envoy.config.core.v3.ConfigSource ldsConfig_; /** *
     * All :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>` are provided by a single
     * :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
     * 
* * .envoy.config.core.v3.ConfigSource lds_config = 1; * @return Whether the ldsConfig field is set. */ @java.lang.Override public boolean hasLdsConfig() { return ldsConfig_ != null; } /** *
     * All :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>` are provided by a single
     * :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
     * 
* * .envoy.config.core.v3.ConfigSource lds_config = 1; * @return The ldsConfig. */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.ConfigSource getLdsConfig() { return ldsConfig_ == null ? io.envoyproxy.envoy.config.core.v3.ConfigSource.getDefaultInstance() : ldsConfig_; } /** *
     * All :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>` are provided by a single
     * :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
     * 
* * .envoy.config.core.v3.ConfigSource lds_config = 1; */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.ConfigSourceOrBuilder getLdsConfigOrBuilder() { return getLdsConfig(); } public static final int LDS_RESOURCES_LOCATOR_FIELD_NUMBER = 5; private volatile java.lang.Object ldsResourcesLocator_; /** *
     * xdstp:// resource locator for listener collection.
     * [#not-implemented-hide:]
     * 
* * string lds_resources_locator = 5; * @return The ldsResourcesLocator. */ @java.lang.Override public java.lang.String getLdsResourcesLocator() { java.lang.Object ref = ldsResourcesLocator_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ldsResourcesLocator_ = s; return s; } } /** *
     * xdstp:// resource locator for listener collection.
     * [#not-implemented-hide:]
     * 
* * string lds_resources_locator = 5; * @return The bytes for ldsResourcesLocator. */ @java.lang.Override public com.google.protobuf.ByteString getLdsResourcesLocatorBytes() { java.lang.Object ref = ldsResourcesLocator_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); ldsResourcesLocator_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CDS_CONFIG_FIELD_NUMBER = 2; private io.envoyproxy.envoy.config.core.v3.ConfigSource cdsConfig_; /** *
     * All post-bootstrap :ref:`Cluster <envoy_v3_api_msg_config.cluster.v3.Cluster>` definitions are
     * provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
     * configuration source.
     * 
* * .envoy.config.core.v3.ConfigSource cds_config = 2; * @return Whether the cdsConfig field is set. */ @java.lang.Override public boolean hasCdsConfig() { return cdsConfig_ != null; } /** *
     * All post-bootstrap :ref:`Cluster <envoy_v3_api_msg_config.cluster.v3.Cluster>` definitions are
     * provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
     * configuration source.
     * 
* * .envoy.config.core.v3.ConfigSource cds_config = 2; * @return The cdsConfig. */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.ConfigSource getCdsConfig() { return cdsConfig_ == null ? io.envoyproxy.envoy.config.core.v3.ConfigSource.getDefaultInstance() : cdsConfig_; } /** *
     * All post-bootstrap :ref:`Cluster <envoy_v3_api_msg_config.cluster.v3.Cluster>` definitions are
     * provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
     * configuration source.
     * 
* * .envoy.config.core.v3.ConfigSource cds_config = 2; */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.ConfigSourceOrBuilder getCdsConfigOrBuilder() { return getCdsConfig(); } public static final int CDS_RESOURCES_LOCATOR_FIELD_NUMBER = 6; private volatile java.lang.Object cdsResourcesLocator_; /** *
     * xdstp:// resource locator for cluster collection.
     * [#not-implemented-hide:]
     * 
* * string cds_resources_locator = 6; * @return The cdsResourcesLocator. */ @java.lang.Override public java.lang.String getCdsResourcesLocator() { java.lang.Object ref = cdsResourcesLocator_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cdsResourcesLocator_ = s; return s; } } /** *
     * xdstp:// resource locator for cluster collection.
     * [#not-implemented-hide:]
     * 
* * string cds_resources_locator = 6; * @return The bytes for cdsResourcesLocator. */ @java.lang.Override public com.google.protobuf.ByteString getCdsResourcesLocatorBytes() { java.lang.Object ref = cdsResourcesLocator_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); cdsResourcesLocator_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ADS_CONFIG_FIELD_NUMBER = 3; private io.envoyproxy.envoy.config.core.v3.ApiConfigSource adsConfig_; /** *
     * A single :ref:`ADS <config_overview_ads>` source may be optionally
     * specified. This must have :ref:`api_type
     * <envoy_v3_api_field_config.core.v3.ApiConfigSource.api_type>` :ref:`GRPC
     * <envoy_v3_api_enum_value_config.core.v3.ApiConfigSource.ApiType.GRPC>`. Only
     * :ref:`ConfigSources <envoy_v3_api_msg_config.core.v3.ConfigSource>` that have
     * the :ref:`ads <envoy_v3_api_field_config.core.v3.ConfigSource.ads>` field set will be
     * streamed on the ADS channel.
     * 
* * .envoy.config.core.v3.ApiConfigSource ads_config = 3; * @return Whether the adsConfig field is set. */ @java.lang.Override public boolean hasAdsConfig() { return adsConfig_ != null; } /** *
     * A single :ref:`ADS <config_overview_ads>` source may be optionally
     * specified. This must have :ref:`api_type
     * <envoy_v3_api_field_config.core.v3.ApiConfigSource.api_type>` :ref:`GRPC
     * <envoy_v3_api_enum_value_config.core.v3.ApiConfigSource.ApiType.GRPC>`. Only
     * :ref:`ConfigSources <envoy_v3_api_msg_config.core.v3.ConfigSource>` that have
     * the :ref:`ads <envoy_v3_api_field_config.core.v3.ConfigSource.ads>` field set will be
     * streamed on the ADS channel.
     * 
* * .envoy.config.core.v3.ApiConfigSource ads_config = 3; * @return The adsConfig. */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.ApiConfigSource getAdsConfig() { return adsConfig_ == null ? io.envoyproxy.envoy.config.core.v3.ApiConfigSource.getDefaultInstance() : adsConfig_; } /** *
     * A single :ref:`ADS <config_overview_ads>` source may be optionally
     * specified. This must have :ref:`api_type
     * <envoy_v3_api_field_config.core.v3.ApiConfigSource.api_type>` :ref:`GRPC
     * <envoy_v3_api_enum_value_config.core.v3.ApiConfigSource.ApiType.GRPC>`. Only
     * :ref:`ConfigSources <envoy_v3_api_msg_config.core.v3.ConfigSource>` that have
     * the :ref:`ads <envoy_v3_api_field_config.core.v3.ConfigSource.ads>` field set will be
     * streamed on the ADS channel.
     * 
* * .envoy.config.core.v3.ApiConfigSource ads_config = 3; */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.ApiConfigSourceOrBuilder getAdsConfigOrBuilder() { return getAdsConfig(); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (ldsConfig_ != null) { output.writeMessage(1, getLdsConfig()); } if (cdsConfig_ != null) { output.writeMessage(2, getCdsConfig()); } if (adsConfig_ != null) { output.writeMessage(3, getAdsConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ldsResourcesLocator_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, ldsResourcesLocator_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cdsResourcesLocator_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, cdsResourcesLocator_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (ldsConfig_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getLdsConfig()); } if (cdsConfig_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getCdsConfig()); } if (adsConfig_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getAdsConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ldsResourcesLocator_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, ldsResourcesLocator_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cdsResourcesLocator_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, cdsResourcesLocator_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources)) { return super.equals(obj); } io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources other = (io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources) obj; if (hasLdsConfig() != other.hasLdsConfig()) return false; if (hasLdsConfig()) { if (!getLdsConfig() .equals(other.getLdsConfig())) return false; } if (!getLdsResourcesLocator() .equals(other.getLdsResourcesLocator())) return false; if (hasCdsConfig() != other.hasCdsConfig()) return false; if (hasCdsConfig()) { if (!getCdsConfig() .equals(other.getCdsConfig())) return false; } if (!getCdsResourcesLocator() .equals(other.getCdsResourcesLocator())) return false; if (hasAdsConfig() != other.hasAdsConfig()) return false; if (hasAdsConfig()) { if (!getAdsConfig() .equals(other.getAdsConfig())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasLdsConfig()) { hash = (37 * hash) + LDS_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getLdsConfig().hashCode(); } hash = (37 * hash) + LDS_RESOURCES_LOCATOR_FIELD_NUMBER; hash = (53 * hash) + getLdsResourcesLocator().hashCode(); if (hasCdsConfig()) { hash = (37 * hash) + CDS_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getCdsConfig().hashCode(); } hash = (37 * hash) + CDS_RESOURCES_LOCATOR_FIELD_NUMBER; hash = (53 * hash) + getCdsResourcesLocator().hashCode(); if (hasAdsConfig()) { hash = (37 * hash) + ADS_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getAdsConfig().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
     * [#next-free-field: 7]
     * 
* * Protobuf type {@code envoy.config.bootstrap.v3.Bootstrap.DynamicResources} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:envoy.config.bootstrap.v3.Bootstrap.DynamicResources) io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResourcesOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.config.bootstrap.v3.BootstrapProto.internal_static_envoy_config_bootstrap_v3_Bootstrap_DynamicResources_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.config.bootstrap.v3.BootstrapProto.internal_static_envoy_config_bootstrap_v3_Bootstrap_DynamicResources_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources.class, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources.Builder.class); } // Construct using io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (ldsConfigBuilder_ == null) { ldsConfig_ = null; } else { ldsConfig_ = null; ldsConfigBuilder_ = null; } ldsResourcesLocator_ = ""; if (cdsConfigBuilder_ == null) { cdsConfig_ = null; } else { cdsConfig_ = null; cdsConfigBuilder_ = null; } cdsResourcesLocator_ = ""; if (adsConfigBuilder_ == null) { adsConfig_ = null; } else { adsConfig_ = null; adsConfigBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.envoyproxy.envoy.config.bootstrap.v3.BootstrapProto.internal_static_envoy_config_bootstrap_v3_Bootstrap_DynamicResources_descriptor; } @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources getDefaultInstanceForType() { return io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources.getDefaultInstance(); } @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources build() { io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources buildPartial() { io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources result = new io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources(this); if (ldsConfigBuilder_ == null) { result.ldsConfig_ = ldsConfig_; } else { result.ldsConfig_ = ldsConfigBuilder_.build(); } result.ldsResourcesLocator_ = ldsResourcesLocator_; if (cdsConfigBuilder_ == null) { result.cdsConfig_ = cdsConfig_; } else { result.cdsConfig_ = cdsConfigBuilder_.build(); } result.cdsResourcesLocator_ = cdsResourcesLocator_; if (adsConfigBuilder_ == null) { result.adsConfig_ = adsConfig_; } else { result.adsConfig_ = adsConfigBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources) { return mergeFrom((io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources other) { if (other == io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources.getDefaultInstance()) return this; if (other.hasLdsConfig()) { mergeLdsConfig(other.getLdsConfig()); } if (!other.getLdsResourcesLocator().isEmpty()) { ldsResourcesLocator_ = other.ldsResourcesLocator_; onChanged(); } if (other.hasCdsConfig()) { mergeCdsConfig(other.getCdsConfig()); } if (!other.getCdsResourcesLocator().isEmpty()) { cdsResourcesLocator_ = other.cdsResourcesLocator_; onChanged(); } if (other.hasAdsConfig()) { mergeAdsConfig(other.getAdsConfig()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private io.envoyproxy.envoy.config.core.v3.ConfigSource ldsConfig_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.ConfigSource, io.envoyproxy.envoy.config.core.v3.ConfigSource.Builder, io.envoyproxy.envoy.config.core.v3.ConfigSourceOrBuilder> ldsConfigBuilder_; /** *
       * All :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>` are provided by a single
       * :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
       * 
* * .envoy.config.core.v3.ConfigSource lds_config = 1; * @return Whether the ldsConfig field is set. */ public boolean hasLdsConfig() { return ldsConfigBuilder_ != null || ldsConfig_ != null; } /** *
       * All :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>` are provided by a single
       * :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
       * 
* * .envoy.config.core.v3.ConfigSource lds_config = 1; * @return The ldsConfig. */ public io.envoyproxy.envoy.config.core.v3.ConfigSource getLdsConfig() { if (ldsConfigBuilder_ == null) { return ldsConfig_ == null ? io.envoyproxy.envoy.config.core.v3.ConfigSource.getDefaultInstance() : ldsConfig_; } else { return ldsConfigBuilder_.getMessage(); } } /** *
       * All :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>` are provided by a single
       * :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
       * 
* * .envoy.config.core.v3.ConfigSource lds_config = 1; */ public Builder setLdsConfig(io.envoyproxy.envoy.config.core.v3.ConfigSource value) { if (ldsConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ldsConfig_ = value; onChanged(); } else { ldsConfigBuilder_.setMessage(value); } return this; } /** *
       * All :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>` are provided by a single
       * :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
       * 
* * .envoy.config.core.v3.ConfigSource lds_config = 1; */ public Builder setLdsConfig( io.envoyproxy.envoy.config.core.v3.ConfigSource.Builder builderForValue) { if (ldsConfigBuilder_ == null) { ldsConfig_ = builderForValue.build(); onChanged(); } else { ldsConfigBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * All :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>` are provided by a single
       * :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
       * 
* * .envoy.config.core.v3.ConfigSource lds_config = 1; */ public Builder mergeLdsConfig(io.envoyproxy.envoy.config.core.v3.ConfigSource value) { if (ldsConfigBuilder_ == null) { if (ldsConfig_ != null) { ldsConfig_ = io.envoyproxy.envoy.config.core.v3.ConfigSource.newBuilder(ldsConfig_).mergeFrom(value).buildPartial(); } else { ldsConfig_ = value; } onChanged(); } else { ldsConfigBuilder_.mergeFrom(value); } return this; } /** *
       * All :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>` are provided by a single
       * :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
       * 
* * .envoy.config.core.v3.ConfigSource lds_config = 1; */ public Builder clearLdsConfig() { if (ldsConfigBuilder_ == null) { ldsConfig_ = null; onChanged(); } else { ldsConfig_ = null; ldsConfigBuilder_ = null; } return this; } /** *
       * All :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>` are provided by a single
       * :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
       * 
* * .envoy.config.core.v3.ConfigSource lds_config = 1; */ public io.envoyproxy.envoy.config.core.v3.ConfigSource.Builder getLdsConfigBuilder() { onChanged(); return getLdsConfigFieldBuilder().getBuilder(); } /** *
       * All :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>` are provided by a single
       * :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
       * 
* * .envoy.config.core.v3.ConfigSource lds_config = 1; */ public io.envoyproxy.envoy.config.core.v3.ConfigSourceOrBuilder getLdsConfigOrBuilder() { if (ldsConfigBuilder_ != null) { return ldsConfigBuilder_.getMessageOrBuilder(); } else { return ldsConfig_ == null ? io.envoyproxy.envoy.config.core.v3.ConfigSource.getDefaultInstance() : ldsConfig_; } } /** *
       * All :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>` are provided by a single
       * :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
       * 
* * .envoy.config.core.v3.ConfigSource lds_config = 1; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.ConfigSource, io.envoyproxy.envoy.config.core.v3.ConfigSource.Builder, io.envoyproxy.envoy.config.core.v3.ConfigSourceOrBuilder> getLdsConfigFieldBuilder() { if (ldsConfigBuilder_ == null) { ldsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.ConfigSource, io.envoyproxy.envoy.config.core.v3.ConfigSource.Builder, io.envoyproxy.envoy.config.core.v3.ConfigSourceOrBuilder>( getLdsConfig(), getParentForChildren(), isClean()); ldsConfig_ = null; } return ldsConfigBuilder_; } private java.lang.Object ldsResourcesLocator_ = ""; /** *
       * xdstp:// resource locator for listener collection.
       * [#not-implemented-hide:]
       * 
* * string lds_resources_locator = 5; * @return The ldsResourcesLocator. */ public java.lang.String getLdsResourcesLocator() { java.lang.Object ref = ldsResourcesLocator_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ldsResourcesLocator_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * xdstp:// resource locator for listener collection.
       * [#not-implemented-hide:]
       * 
* * string lds_resources_locator = 5; * @return The bytes for ldsResourcesLocator. */ public com.google.protobuf.ByteString getLdsResourcesLocatorBytes() { java.lang.Object ref = ldsResourcesLocator_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); ldsResourcesLocator_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * xdstp:// resource locator for listener collection.
       * [#not-implemented-hide:]
       * 
* * string lds_resources_locator = 5; * @param value The ldsResourcesLocator to set. * @return This builder for chaining. */ public Builder setLdsResourcesLocator( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ldsResourcesLocator_ = value; onChanged(); return this; } /** *
       * xdstp:// resource locator for listener collection.
       * [#not-implemented-hide:]
       * 
* * string lds_resources_locator = 5; * @return This builder for chaining. */ public Builder clearLdsResourcesLocator() { ldsResourcesLocator_ = getDefaultInstance().getLdsResourcesLocator(); onChanged(); return this; } /** *
       * xdstp:// resource locator for listener collection.
       * [#not-implemented-hide:]
       * 
* * string lds_resources_locator = 5; * @param value The bytes for ldsResourcesLocator to set. * @return This builder for chaining. */ public Builder setLdsResourcesLocatorBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ldsResourcesLocator_ = value; onChanged(); return this; } private io.envoyproxy.envoy.config.core.v3.ConfigSource cdsConfig_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.ConfigSource, io.envoyproxy.envoy.config.core.v3.ConfigSource.Builder, io.envoyproxy.envoy.config.core.v3.ConfigSourceOrBuilder> cdsConfigBuilder_; /** *
       * All post-bootstrap :ref:`Cluster <envoy_v3_api_msg_config.cluster.v3.Cluster>` definitions are
       * provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
       * configuration source.
       * 
* * .envoy.config.core.v3.ConfigSource cds_config = 2; * @return Whether the cdsConfig field is set. */ public boolean hasCdsConfig() { return cdsConfigBuilder_ != null || cdsConfig_ != null; } /** *
       * All post-bootstrap :ref:`Cluster <envoy_v3_api_msg_config.cluster.v3.Cluster>` definitions are
       * provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
       * configuration source.
       * 
* * .envoy.config.core.v3.ConfigSource cds_config = 2; * @return The cdsConfig. */ public io.envoyproxy.envoy.config.core.v3.ConfigSource getCdsConfig() { if (cdsConfigBuilder_ == null) { return cdsConfig_ == null ? io.envoyproxy.envoy.config.core.v3.ConfigSource.getDefaultInstance() : cdsConfig_; } else { return cdsConfigBuilder_.getMessage(); } } /** *
       * All post-bootstrap :ref:`Cluster <envoy_v3_api_msg_config.cluster.v3.Cluster>` definitions are
       * provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
       * configuration source.
       * 
* * .envoy.config.core.v3.ConfigSource cds_config = 2; */ public Builder setCdsConfig(io.envoyproxy.envoy.config.core.v3.ConfigSource value) { if (cdsConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } cdsConfig_ = value; onChanged(); } else { cdsConfigBuilder_.setMessage(value); } return this; } /** *
       * All post-bootstrap :ref:`Cluster <envoy_v3_api_msg_config.cluster.v3.Cluster>` definitions are
       * provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
       * configuration source.
       * 
* * .envoy.config.core.v3.ConfigSource cds_config = 2; */ public Builder setCdsConfig( io.envoyproxy.envoy.config.core.v3.ConfigSource.Builder builderForValue) { if (cdsConfigBuilder_ == null) { cdsConfig_ = builderForValue.build(); onChanged(); } else { cdsConfigBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * All post-bootstrap :ref:`Cluster <envoy_v3_api_msg_config.cluster.v3.Cluster>` definitions are
       * provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
       * configuration source.
       * 
* * .envoy.config.core.v3.ConfigSource cds_config = 2; */ public Builder mergeCdsConfig(io.envoyproxy.envoy.config.core.v3.ConfigSource value) { if (cdsConfigBuilder_ == null) { if (cdsConfig_ != null) { cdsConfig_ = io.envoyproxy.envoy.config.core.v3.ConfigSource.newBuilder(cdsConfig_).mergeFrom(value).buildPartial(); } else { cdsConfig_ = value; } onChanged(); } else { cdsConfigBuilder_.mergeFrom(value); } return this; } /** *
       * All post-bootstrap :ref:`Cluster <envoy_v3_api_msg_config.cluster.v3.Cluster>` definitions are
       * provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
       * configuration source.
       * 
* * .envoy.config.core.v3.ConfigSource cds_config = 2; */ public Builder clearCdsConfig() { if (cdsConfigBuilder_ == null) { cdsConfig_ = null; onChanged(); } else { cdsConfig_ = null; cdsConfigBuilder_ = null; } return this; } /** *
       * All post-bootstrap :ref:`Cluster <envoy_v3_api_msg_config.cluster.v3.Cluster>` definitions are
       * provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
       * configuration source.
       * 
* * .envoy.config.core.v3.ConfigSource cds_config = 2; */ public io.envoyproxy.envoy.config.core.v3.ConfigSource.Builder getCdsConfigBuilder() { onChanged(); return getCdsConfigFieldBuilder().getBuilder(); } /** *
       * All post-bootstrap :ref:`Cluster <envoy_v3_api_msg_config.cluster.v3.Cluster>` definitions are
       * provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
       * configuration source.
       * 
* * .envoy.config.core.v3.ConfigSource cds_config = 2; */ public io.envoyproxy.envoy.config.core.v3.ConfigSourceOrBuilder getCdsConfigOrBuilder() { if (cdsConfigBuilder_ != null) { return cdsConfigBuilder_.getMessageOrBuilder(); } else { return cdsConfig_ == null ? io.envoyproxy.envoy.config.core.v3.ConfigSource.getDefaultInstance() : cdsConfig_; } } /** *
       * All post-bootstrap :ref:`Cluster <envoy_v3_api_msg_config.cluster.v3.Cluster>` definitions are
       * provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
       * configuration source.
       * 
* * .envoy.config.core.v3.ConfigSource cds_config = 2; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.ConfigSource, io.envoyproxy.envoy.config.core.v3.ConfigSource.Builder, io.envoyproxy.envoy.config.core.v3.ConfigSourceOrBuilder> getCdsConfigFieldBuilder() { if (cdsConfigBuilder_ == null) { cdsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.ConfigSource, io.envoyproxy.envoy.config.core.v3.ConfigSource.Builder, io.envoyproxy.envoy.config.core.v3.ConfigSourceOrBuilder>( getCdsConfig(), getParentForChildren(), isClean()); cdsConfig_ = null; } return cdsConfigBuilder_; } private java.lang.Object cdsResourcesLocator_ = ""; /** *
       * xdstp:// resource locator for cluster collection.
       * [#not-implemented-hide:]
       * 
* * string cds_resources_locator = 6; * @return The cdsResourcesLocator. */ public java.lang.String getCdsResourcesLocator() { java.lang.Object ref = cdsResourcesLocator_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cdsResourcesLocator_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * xdstp:// resource locator for cluster collection.
       * [#not-implemented-hide:]
       * 
* * string cds_resources_locator = 6; * @return The bytes for cdsResourcesLocator. */ public com.google.protobuf.ByteString getCdsResourcesLocatorBytes() { java.lang.Object ref = cdsResourcesLocator_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); cdsResourcesLocator_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * xdstp:// resource locator for cluster collection.
       * [#not-implemented-hide:]
       * 
* * string cds_resources_locator = 6; * @param value The cdsResourcesLocator to set. * @return This builder for chaining. */ public Builder setCdsResourcesLocator( java.lang.String value) { if (value == null) { throw new NullPointerException(); } cdsResourcesLocator_ = value; onChanged(); return this; } /** *
       * xdstp:// resource locator for cluster collection.
       * [#not-implemented-hide:]
       * 
* * string cds_resources_locator = 6; * @return This builder for chaining. */ public Builder clearCdsResourcesLocator() { cdsResourcesLocator_ = getDefaultInstance().getCdsResourcesLocator(); onChanged(); return this; } /** *
       * xdstp:// resource locator for cluster collection.
       * [#not-implemented-hide:]
       * 
* * string cds_resources_locator = 6; * @param value The bytes for cdsResourcesLocator to set. * @return This builder for chaining. */ public Builder setCdsResourcesLocatorBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); cdsResourcesLocator_ = value; onChanged(); return this; } private io.envoyproxy.envoy.config.core.v3.ApiConfigSource adsConfig_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.ApiConfigSource, io.envoyproxy.envoy.config.core.v3.ApiConfigSource.Builder, io.envoyproxy.envoy.config.core.v3.ApiConfigSourceOrBuilder> adsConfigBuilder_; /** *
       * A single :ref:`ADS <config_overview_ads>` source may be optionally
       * specified. This must have :ref:`api_type
       * <envoy_v3_api_field_config.core.v3.ApiConfigSource.api_type>` :ref:`GRPC
       * <envoy_v3_api_enum_value_config.core.v3.ApiConfigSource.ApiType.GRPC>`. Only
       * :ref:`ConfigSources <envoy_v3_api_msg_config.core.v3.ConfigSource>` that have
       * the :ref:`ads <envoy_v3_api_field_config.core.v3.ConfigSource.ads>` field set will be
       * streamed on the ADS channel.
       * 
* * .envoy.config.core.v3.ApiConfigSource ads_config = 3; * @return Whether the adsConfig field is set. */ public boolean hasAdsConfig() { return adsConfigBuilder_ != null || adsConfig_ != null; } /** *
       * A single :ref:`ADS <config_overview_ads>` source may be optionally
       * specified. This must have :ref:`api_type
       * <envoy_v3_api_field_config.core.v3.ApiConfigSource.api_type>` :ref:`GRPC
       * <envoy_v3_api_enum_value_config.core.v3.ApiConfigSource.ApiType.GRPC>`. Only
       * :ref:`ConfigSources <envoy_v3_api_msg_config.core.v3.ConfigSource>` that have
       * the :ref:`ads <envoy_v3_api_field_config.core.v3.ConfigSource.ads>` field set will be
       * streamed on the ADS channel.
       * 
* * .envoy.config.core.v3.ApiConfigSource ads_config = 3; * @return The adsConfig. */ public io.envoyproxy.envoy.config.core.v3.ApiConfigSource getAdsConfig() { if (adsConfigBuilder_ == null) { return adsConfig_ == null ? io.envoyproxy.envoy.config.core.v3.ApiConfigSource.getDefaultInstance() : adsConfig_; } else { return adsConfigBuilder_.getMessage(); } } /** *
       * A single :ref:`ADS <config_overview_ads>` source may be optionally
       * specified. This must have :ref:`api_type
       * <envoy_v3_api_field_config.core.v3.ApiConfigSource.api_type>` :ref:`GRPC
       * <envoy_v3_api_enum_value_config.core.v3.ApiConfigSource.ApiType.GRPC>`. Only
       * :ref:`ConfigSources <envoy_v3_api_msg_config.core.v3.ConfigSource>` that have
       * the :ref:`ads <envoy_v3_api_field_config.core.v3.ConfigSource.ads>` field set will be
       * streamed on the ADS channel.
       * 
* * .envoy.config.core.v3.ApiConfigSource ads_config = 3; */ public Builder setAdsConfig(io.envoyproxy.envoy.config.core.v3.ApiConfigSource value) { if (adsConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } adsConfig_ = value; onChanged(); } else { adsConfigBuilder_.setMessage(value); } return this; } /** *
       * A single :ref:`ADS <config_overview_ads>` source may be optionally
       * specified. This must have :ref:`api_type
       * <envoy_v3_api_field_config.core.v3.ApiConfigSource.api_type>` :ref:`GRPC
       * <envoy_v3_api_enum_value_config.core.v3.ApiConfigSource.ApiType.GRPC>`. Only
       * :ref:`ConfigSources <envoy_v3_api_msg_config.core.v3.ConfigSource>` that have
       * the :ref:`ads <envoy_v3_api_field_config.core.v3.ConfigSource.ads>` field set will be
       * streamed on the ADS channel.
       * 
* * .envoy.config.core.v3.ApiConfigSource ads_config = 3; */ public Builder setAdsConfig( io.envoyproxy.envoy.config.core.v3.ApiConfigSource.Builder builderForValue) { if (adsConfigBuilder_ == null) { adsConfig_ = builderForValue.build(); onChanged(); } else { adsConfigBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * A single :ref:`ADS <config_overview_ads>` source may be optionally
       * specified. This must have :ref:`api_type
       * <envoy_v3_api_field_config.core.v3.ApiConfigSource.api_type>` :ref:`GRPC
       * <envoy_v3_api_enum_value_config.core.v3.ApiConfigSource.ApiType.GRPC>`. Only
       * :ref:`ConfigSources <envoy_v3_api_msg_config.core.v3.ConfigSource>` that have
       * the :ref:`ads <envoy_v3_api_field_config.core.v3.ConfigSource.ads>` field set will be
       * streamed on the ADS channel.
       * 
* * .envoy.config.core.v3.ApiConfigSource ads_config = 3; */ public Builder mergeAdsConfig(io.envoyproxy.envoy.config.core.v3.ApiConfigSource value) { if (adsConfigBuilder_ == null) { if (adsConfig_ != null) { adsConfig_ = io.envoyproxy.envoy.config.core.v3.ApiConfigSource.newBuilder(adsConfig_).mergeFrom(value).buildPartial(); } else { adsConfig_ = value; } onChanged(); } else { adsConfigBuilder_.mergeFrom(value); } return this; } /** *
       * A single :ref:`ADS <config_overview_ads>` source may be optionally
       * specified. This must have :ref:`api_type
       * <envoy_v3_api_field_config.core.v3.ApiConfigSource.api_type>` :ref:`GRPC
       * <envoy_v3_api_enum_value_config.core.v3.ApiConfigSource.ApiType.GRPC>`. Only
       * :ref:`ConfigSources <envoy_v3_api_msg_config.core.v3.ConfigSource>` that have
       * the :ref:`ads <envoy_v3_api_field_config.core.v3.ConfigSource.ads>` field set will be
       * streamed on the ADS channel.
       * 
* * .envoy.config.core.v3.ApiConfigSource ads_config = 3; */ public Builder clearAdsConfig() { if (adsConfigBuilder_ == null) { adsConfig_ = null; onChanged(); } else { adsConfig_ = null; adsConfigBuilder_ = null; } return this; } /** *
       * A single :ref:`ADS <config_overview_ads>` source may be optionally
       * specified. This must have :ref:`api_type
       * <envoy_v3_api_field_config.core.v3.ApiConfigSource.api_type>` :ref:`GRPC
       * <envoy_v3_api_enum_value_config.core.v3.ApiConfigSource.ApiType.GRPC>`. Only
       * :ref:`ConfigSources <envoy_v3_api_msg_config.core.v3.ConfigSource>` that have
       * the :ref:`ads <envoy_v3_api_field_config.core.v3.ConfigSource.ads>` field set will be
       * streamed on the ADS channel.
       * 
* * .envoy.config.core.v3.ApiConfigSource ads_config = 3; */ public io.envoyproxy.envoy.config.core.v3.ApiConfigSource.Builder getAdsConfigBuilder() { onChanged(); return getAdsConfigFieldBuilder().getBuilder(); } /** *
       * A single :ref:`ADS <config_overview_ads>` source may be optionally
       * specified. This must have :ref:`api_type
       * <envoy_v3_api_field_config.core.v3.ApiConfigSource.api_type>` :ref:`GRPC
       * <envoy_v3_api_enum_value_config.core.v3.ApiConfigSource.ApiType.GRPC>`. Only
       * :ref:`ConfigSources <envoy_v3_api_msg_config.core.v3.ConfigSource>` that have
       * the :ref:`ads <envoy_v3_api_field_config.core.v3.ConfigSource.ads>` field set will be
       * streamed on the ADS channel.
       * 
* * .envoy.config.core.v3.ApiConfigSource ads_config = 3; */ public io.envoyproxy.envoy.config.core.v3.ApiConfigSourceOrBuilder getAdsConfigOrBuilder() { if (adsConfigBuilder_ != null) { return adsConfigBuilder_.getMessageOrBuilder(); } else { return adsConfig_ == null ? io.envoyproxy.envoy.config.core.v3.ApiConfigSource.getDefaultInstance() : adsConfig_; } } /** *
       * A single :ref:`ADS <config_overview_ads>` source may be optionally
       * specified. This must have :ref:`api_type
       * <envoy_v3_api_field_config.core.v3.ApiConfigSource.api_type>` :ref:`GRPC
       * <envoy_v3_api_enum_value_config.core.v3.ApiConfigSource.ApiType.GRPC>`. Only
       * :ref:`ConfigSources <envoy_v3_api_msg_config.core.v3.ConfigSource>` that have
       * the :ref:`ads <envoy_v3_api_field_config.core.v3.ConfigSource.ads>` field set will be
       * streamed on the ADS channel.
       * 
* * .envoy.config.core.v3.ApiConfigSource ads_config = 3; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.ApiConfigSource, io.envoyproxy.envoy.config.core.v3.ApiConfigSource.Builder, io.envoyproxy.envoy.config.core.v3.ApiConfigSourceOrBuilder> getAdsConfigFieldBuilder() { if (adsConfigBuilder_ == null) { adsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.ApiConfigSource, io.envoyproxy.envoy.config.core.v3.ApiConfigSource.Builder, io.envoyproxy.envoy.config.core.v3.ApiConfigSourceOrBuilder>( getAdsConfig(), getParentForChildren(), isClean()); adsConfig_ = null; } return adsConfigBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:envoy.config.bootstrap.v3.Bootstrap.DynamicResources) } // @@protoc_insertion_point(class_scope:envoy.config.bootstrap.v3.Bootstrap.DynamicResources) private static final io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources(); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DynamicResources parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DynamicResources(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ApplicationLogConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig) com.google.protobuf.MessageOrBuilder { /** *
     * Optional field to set the application logs format. If this field is set, it will override
     * the default log format. Setting both this field and :option:`--log-format` command line
     * option is not allowed, and will cause a bootstrap error.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat log_format = 1; * @return Whether the logFormat field is set. */ boolean hasLogFormat(); /** *
     * Optional field to set the application logs format. If this field is set, it will override
     * the default log format. Setting both this field and :option:`--log-format` command line
     * option is not allowed, and will cause a bootstrap error.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat log_format = 1; * @return The logFormat. */ io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat getLogFormat(); /** *
     * Optional field to set the application logs format. If this field is set, it will override
     * the default log format. Setting both this field and :option:`--log-format` command line
     * option is not allowed, and will cause a bootstrap error.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat log_format = 1; */ io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormatOrBuilder getLogFormatOrBuilder(); } /** * Protobuf type {@code envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig} */ public static final class ApplicationLogConfig extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig) ApplicationLogConfigOrBuilder { private static final long serialVersionUID = 0L; // Use ApplicationLogConfig.newBuilder() to construct. private ApplicationLogConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ApplicationLogConfig() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ApplicationLogConfig(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ApplicationLogConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat.Builder subBuilder = null; if (logFormat_ != null) { subBuilder = logFormat_.toBuilder(); } logFormat_ = input.readMessage(io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(logFormat_); logFormat_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.config.bootstrap.v3.BootstrapProto.internal_static_envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.config.bootstrap.v3.BootstrapProto.internal_static_envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.class, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.Builder.class); } public interface LogFormatOrBuilder extends // @@protoc_insertion_point(interface_extends:envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat) com.google.protobuf.MessageOrBuilder { /** *
       * Flush application logs in JSON format. The configured JSON struct can
       * support all the format flags specified in the :option:`--log-format`
       * command line options section, except for the ``%v`` and ``%_`` flags.
       * 
* * .google.protobuf.Struct json_format = 1; * @return Whether the jsonFormat field is set. */ boolean hasJsonFormat(); /** *
       * Flush application logs in JSON format. The configured JSON struct can
       * support all the format flags specified in the :option:`--log-format`
       * command line options section, except for the ``%v`` and ``%_`` flags.
       * 
* * .google.protobuf.Struct json_format = 1; * @return The jsonFormat. */ com.google.protobuf.Struct getJsonFormat(); /** *
       * Flush application logs in JSON format. The configured JSON struct can
       * support all the format flags specified in the :option:`--log-format`
       * command line options section, except for the ``%v`` and ``%_`` flags.
       * 
* * .google.protobuf.Struct json_format = 1; */ com.google.protobuf.StructOrBuilder getJsonFormatOrBuilder(); /** *
       * Flush application log in a format defined by a string. The text format
       * can support all the format flags specified in the :option:`--log-format`
       * command line option section.
       * 
* * string text_format = 2; * @return Whether the textFormat field is set. */ boolean hasTextFormat(); /** *
       * Flush application log in a format defined by a string. The text format
       * can support all the format flags specified in the :option:`--log-format`
       * command line option section.
       * 
* * string text_format = 2; * @return The textFormat. */ java.lang.String getTextFormat(); /** *
       * Flush application log in a format defined by a string. The text format
       * can support all the format flags specified in the :option:`--log-format`
       * command line option section.
       * 
* * string text_format = 2; * @return The bytes for textFormat. */ com.google.protobuf.ByteString getTextFormatBytes(); public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat.LogFormatCase getLogFormatCase(); } /** * Protobuf type {@code envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat} */ public static final class LogFormat extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat) LogFormatOrBuilder { private static final long serialVersionUID = 0L; // Use LogFormat.newBuilder() to construct. private LogFormat(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private LogFormat() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new LogFormat(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private LogFormat( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.google.protobuf.Struct.Builder subBuilder = null; if (logFormatCase_ == 1) { subBuilder = ((com.google.protobuf.Struct) logFormat_).toBuilder(); } logFormat_ = input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.google.protobuf.Struct) logFormat_); logFormat_ = subBuilder.buildPartial(); } logFormatCase_ = 1; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); logFormatCase_ = 2; logFormat_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.config.bootstrap.v3.BootstrapProto.internal_static_envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.config.bootstrap.v3.BootstrapProto.internal_static_envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat.class, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat.Builder.class); } private int logFormatCase_ = 0; private java.lang.Object logFormat_; public enum LogFormatCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { JSON_FORMAT(1), TEXT_FORMAT(2), LOGFORMAT_NOT_SET(0); private final int value; private LogFormatCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static LogFormatCase valueOf(int value) { return forNumber(value); } public static LogFormatCase forNumber(int value) { switch (value) { case 1: return JSON_FORMAT; case 2: return TEXT_FORMAT; case 0: return LOGFORMAT_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public LogFormatCase getLogFormatCase() { return LogFormatCase.forNumber( logFormatCase_); } public static final int JSON_FORMAT_FIELD_NUMBER = 1; /** *
       * Flush application logs in JSON format. The configured JSON struct can
       * support all the format flags specified in the :option:`--log-format`
       * command line options section, except for the ``%v`` and ``%_`` flags.
       * 
* * .google.protobuf.Struct json_format = 1; * @return Whether the jsonFormat field is set. */ @java.lang.Override public boolean hasJsonFormat() { return logFormatCase_ == 1; } /** *
       * Flush application logs in JSON format. The configured JSON struct can
       * support all the format flags specified in the :option:`--log-format`
       * command line options section, except for the ``%v`` and ``%_`` flags.
       * 
* * .google.protobuf.Struct json_format = 1; * @return The jsonFormat. */ @java.lang.Override public com.google.protobuf.Struct getJsonFormat() { if (logFormatCase_ == 1) { return (com.google.protobuf.Struct) logFormat_; } return com.google.protobuf.Struct.getDefaultInstance(); } /** *
       * Flush application logs in JSON format. The configured JSON struct can
       * support all the format flags specified in the :option:`--log-format`
       * command line options section, except for the ``%v`` and ``%_`` flags.
       * 
* * .google.protobuf.Struct json_format = 1; */ @java.lang.Override public com.google.protobuf.StructOrBuilder getJsonFormatOrBuilder() { if (logFormatCase_ == 1) { return (com.google.protobuf.Struct) logFormat_; } return com.google.protobuf.Struct.getDefaultInstance(); } public static final int TEXT_FORMAT_FIELD_NUMBER = 2; /** *
       * Flush application log in a format defined by a string. The text format
       * can support all the format flags specified in the :option:`--log-format`
       * command line option section.
       * 
* * string text_format = 2; * @return Whether the textFormat field is set. */ public boolean hasTextFormat() { return logFormatCase_ == 2; } /** *
       * Flush application log in a format defined by a string. The text format
       * can support all the format flags specified in the :option:`--log-format`
       * command line option section.
       * 
* * string text_format = 2; * @return The textFormat. */ public java.lang.String getTextFormat() { java.lang.Object ref = ""; if (logFormatCase_ == 2) { ref = logFormat_; } if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (logFormatCase_ == 2) { logFormat_ = s; } return s; } } /** *
       * Flush application log in a format defined by a string. The text format
       * can support all the format flags specified in the :option:`--log-format`
       * command line option section.
       * 
* * string text_format = 2; * @return The bytes for textFormat. */ public com.google.protobuf.ByteString getTextFormatBytes() { java.lang.Object ref = ""; if (logFormatCase_ == 2) { ref = logFormat_; } if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); if (logFormatCase_ == 2) { logFormat_ = b; } return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (logFormatCase_ == 1) { output.writeMessage(1, (com.google.protobuf.Struct) logFormat_); } if (logFormatCase_ == 2) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, logFormat_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (logFormatCase_ == 1) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, (com.google.protobuf.Struct) logFormat_); } if (logFormatCase_ == 2) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, logFormat_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat)) { return super.equals(obj); } io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat other = (io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat) obj; if (!getLogFormatCase().equals(other.getLogFormatCase())) return false; switch (logFormatCase_) { case 1: if (!getJsonFormat() .equals(other.getJsonFormat())) return false; break; case 2: if (!getTextFormat() .equals(other.getTextFormat())) return false; break; case 0: default: } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); switch (logFormatCase_) { case 1: hash = (37 * hash) + JSON_FORMAT_FIELD_NUMBER; hash = (53 * hash) + getJsonFormat().hashCode(); break; case 2: hash = (37 * hash) + TEXT_FORMAT_FIELD_NUMBER; hash = (53 * hash) + getTextFormat().hashCode(); break; case 0: default: } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat) io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormatOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.config.bootstrap.v3.BootstrapProto.internal_static_envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.config.bootstrap.v3.BootstrapProto.internal_static_envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat.class, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat.Builder.class); } // Construct using io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); logFormatCase_ = 0; logFormat_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.envoyproxy.envoy.config.bootstrap.v3.BootstrapProto.internal_static_envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_descriptor; } @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat getDefaultInstanceForType() { return io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat.getDefaultInstance(); } @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat build() { io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat buildPartial() { io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat result = new io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat(this); if (logFormatCase_ == 1) { if (jsonFormatBuilder_ == null) { result.logFormat_ = logFormat_; } else { result.logFormat_ = jsonFormatBuilder_.build(); } } if (logFormatCase_ == 2) { result.logFormat_ = logFormat_; } result.logFormatCase_ = logFormatCase_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat) { return mergeFrom((io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat other) { if (other == io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat.getDefaultInstance()) return this; switch (other.getLogFormatCase()) { case JSON_FORMAT: { mergeJsonFormat(other.getJsonFormat()); break; } case TEXT_FORMAT: { logFormatCase_ = 2; logFormat_ = other.logFormat_; onChanged(); break; } case LOGFORMAT_NOT_SET: { break; } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int logFormatCase_ = 0; private java.lang.Object logFormat_; public LogFormatCase getLogFormatCase() { return LogFormatCase.forNumber( logFormatCase_); } public Builder clearLogFormat() { logFormatCase_ = 0; logFormat_ = null; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> jsonFormatBuilder_; /** *
         * Flush application logs in JSON format. The configured JSON struct can
         * support all the format flags specified in the :option:`--log-format`
         * command line options section, except for the ``%v`` and ``%_`` flags.
         * 
* * .google.protobuf.Struct json_format = 1; * @return Whether the jsonFormat field is set. */ @java.lang.Override public boolean hasJsonFormat() { return logFormatCase_ == 1; } /** *
         * Flush application logs in JSON format. The configured JSON struct can
         * support all the format flags specified in the :option:`--log-format`
         * command line options section, except for the ``%v`` and ``%_`` flags.
         * 
* * .google.protobuf.Struct json_format = 1; * @return The jsonFormat. */ @java.lang.Override public com.google.protobuf.Struct getJsonFormat() { if (jsonFormatBuilder_ == null) { if (logFormatCase_ == 1) { return (com.google.protobuf.Struct) logFormat_; } return com.google.protobuf.Struct.getDefaultInstance(); } else { if (logFormatCase_ == 1) { return jsonFormatBuilder_.getMessage(); } return com.google.protobuf.Struct.getDefaultInstance(); } } /** *
         * Flush application logs in JSON format. The configured JSON struct can
         * support all the format flags specified in the :option:`--log-format`
         * command line options section, except for the ``%v`` and ``%_`` flags.
         * 
* * .google.protobuf.Struct json_format = 1; */ public Builder setJsonFormat(com.google.protobuf.Struct value) { if (jsonFormatBuilder_ == null) { if (value == null) { throw new NullPointerException(); } logFormat_ = value; onChanged(); } else { jsonFormatBuilder_.setMessage(value); } logFormatCase_ = 1; return this; } /** *
         * Flush application logs in JSON format. The configured JSON struct can
         * support all the format flags specified in the :option:`--log-format`
         * command line options section, except for the ``%v`` and ``%_`` flags.
         * 
* * .google.protobuf.Struct json_format = 1; */ public Builder setJsonFormat( com.google.protobuf.Struct.Builder builderForValue) { if (jsonFormatBuilder_ == null) { logFormat_ = builderForValue.build(); onChanged(); } else { jsonFormatBuilder_.setMessage(builderForValue.build()); } logFormatCase_ = 1; return this; } /** *
         * Flush application logs in JSON format. The configured JSON struct can
         * support all the format flags specified in the :option:`--log-format`
         * command line options section, except for the ``%v`` and ``%_`` flags.
         * 
* * .google.protobuf.Struct json_format = 1; */ public Builder mergeJsonFormat(com.google.protobuf.Struct value) { if (jsonFormatBuilder_ == null) { if (logFormatCase_ == 1 && logFormat_ != com.google.protobuf.Struct.getDefaultInstance()) { logFormat_ = com.google.protobuf.Struct.newBuilder((com.google.protobuf.Struct) logFormat_) .mergeFrom(value).buildPartial(); } else { logFormat_ = value; } onChanged(); } else { if (logFormatCase_ == 1) { jsonFormatBuilder_.mergeFrom(value); } else { jsonFormatBuilder_.setMessage(value); } } logFormatCase_ = 1; return this; } /** *
         * Flush application logs in JSON format. The configured JSON struct can
         * support all the format flags specified in the :option:`--log-format`
         * command line options section, except for the ``%v`` and ``%_`` flags.
         * 
* * .google.protobuf.Struct json_format = 1; */ public Builder clearJsonFormat() { if (jsonFormatBuilder_ == null) { if (logFormatCase_ == 1) { logFormatCase_ = 0; logFormat_ = null; onChanged(); } } else { if (logFormatCase_ == 1) { logFormatCase_ = 0; logFormat_ = null; } jsonFormatBuilder_.clear(); } return this; } /** *
         * Flush application logs in JSON format. The configured JSON struct can
         * support all the format flags specified in the :option:`--log-format`
         * command line options section, except for the ``%v`` and ``%_`` flags.
         * 
* * .google.protobuf.Struct json_format = 1; */ public com.google.protobuf.Struct.Builder getJsonFormatBuilder() { return getJsonFormatFieldBuilder().getBuilder(); } /** *
         * Flush application logs in JSON format. The configured JSON struct can
         * support all the format flags specified in the :option:`--log-format`
         * command line options section, except for the ``%v`` and ``%_`` flags.
         * 
* * .google.protobuf.Struct json_format = 1; */ @java.lang.Override public com.google.protobuf.StructOrBuilder getJsonFormatOrBuilder() { if ((logFormatCase_ == 1) && (jsonFormatBuilder_ != null)) { return jsonFormatBuilder_.getMessageOrBuilder(); } else { if (logFormatCase_ == 1) { return (com.google.protobuf.Struct) logFormat_; } return com.google.protobuf.Struct.getDefaultInstance(); } } /** *
         * Flush application logs in JSON format. The configured JSON struct can
         * support all the format flags specified in the :option:`--log-format`
         * command line options section, except for the ``%v`` and ``%_`` flags.
         * 
* * .google.protobuf.Struct json_format = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> getJsonFormatFieldBuilder() { if (jsonFormatBuilder_ == null) { if (!(logFormatCase_ == 1)) { logFormat_ = com.google.protobuf.Struct.getDefaultInstance(); } jsonFormatBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>( (com.google.protobuf.Struct) logFormat_, getParentForChildren(), isClean()); logFormat_ = null; } logFormatCase_ = 1; onChanged();; return jsonFormatBuilder_; } /** *
         * Flush application log in a format defined by a string. The text format
         * can support all the format flags specified in the :option:`--log-format`
         * command line option section.
         * 
* * string text_format = 2; * @return Whether the textFormat field is set. */ @java.lang.Override public boolean hasTextFormat() { return logFormatCase_ == 2; } /** *
         * Flush application log in a format defined by a string. The text format
         * can support all the format flags specified in the :option:`--log-format`
         * command line option section.
         * 
* * string text_format = 2; * @return The textFormat. */ @java.lang.Override public java.lang.String getTextFormat() { java.lang.Object ref = ""; if (logFormatCase_ == 2) { ref = logFormat_; } if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (logFormatCase_ == 2) { logFormat_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
         * Flush application log in a format defined by a string. The text format
         * can support all the format flags specified in the :option:`--log-format`
         * command line option section.
         * 
* * string text_format = 2; * @return The bytes for textFormat. */ @java.lang.Override public com.google.protobuf.ByteString getTextFormatBytes() { java.lang.Object ref = ""; if (logFormatCase_ == 2) { ref = logFormat_; } if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); if (logFormatCase_ == 2) { logFormat_ = b; } return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
         * Flush application log in a format defined by a string. The text format
         * can support all the format flags specified in the :option:`--log-format`
         * command line option section.
         * 
* * string text_format = 2; * @param value The textFormat to set. * @return This builder for chaining. */ public Builder setTextFormat( java.lang.String value) { if (value == null) { throw new NullPointerException(); } logFormatCase_ = 2; logFormat_ = value; onChanged(); return this; } /** *
         * Flush application log in a format defined by a string. The text format
         * can support all the format flags specified in the :option:`--log-format`
         * command line option section.
         * 
* * string text_format = 2; * @return This builder for chaining. */ public Builder clearTextFormat() { if (logFormatCase_ == 2) { logFormatCase_ = 0; logFormat_ = null; onChanged(); } return this; } /** *
         * Flush application log in a format defined by a string. The text format
         * can support all the format flags specified in the :option:`--log-format`
         * command line option section.
         * 
* * string text_format = 2; * @param value The bytes for textFormat to set. * @return This builder for chaining. */ public Builder setTextFormatBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); logFormatCase_ = 2; logFormat_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat) } // @@protoc_insertion_point(class_scope:envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat) private static final io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat(); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public LogFormat parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new LogFormat(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public static final int LOG_FORMAT_FIELD_NUMBER = 1; private io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat logFormat_; /** *
     * Optional field to set the application logs format. If this field is set, it will override
     * the default log format. Setting both this field and :option:`--log-format` command line
     * option is not allowed, and will cause a bootstrap error.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat log_format = 1; * @return Whether the logFormat field is set. */ @java.lang.Override public boolean hasLogFormat() { return logFormat_ != null; } /** *
     * Optional field to set the application logs format. If this field is set, it will override
     * the default log format. Setting both this field and :option:`--log-format` command line
     * option is not allowed, and will cause a bootstrap error.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat log_format = 1; * @return The logFormat. */ @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat getLogFormat() { return logFormat_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat.getDefaultInstance() : logFormat_; } /** *
     * Optional field to set the application logs format. If this field is set, it will override
     * the default log format. Setting both this field and :option:`--log-format` command line
     * option is not allowed, and will cause a bootstrap error.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat log_format = 1; */ @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormatOrBuilder getLogFormatOrBuilder() { return getLogFormat(); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (logFormat_ != null) { output.writeMessage(1, getLogFormat()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (logFormat_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getLogFormat()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig)) { return super.equals(obj); } io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig other = (io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig) obj; if (hasLogFormat() != other.hasLogFormat()) return false; if (hasLogFormat()) { if (!getLogFormat() .equals(other.getLogFormat())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasLogFormat()) { hash = (37 * hash) + LOG_FORMAT_FIELD_NUMBER; hash = (53 * hash) + getLogFormat().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig) io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfigOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.config.bootstrap.v3.BootstrapProto.internal_static_envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.config.bootstrap.v3.BootstrapProto.internal_static_envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.class, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.Builder.class); } // Construct using io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (logFormatBuilder_ == null) { logFormat_ = null; } else { logFormat_ = null; logFormatBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.envoyproxy.envoy.config.bootstrap.v3.BootstrapProto.internal_static_envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_descriptor; } @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig getDefaultInstanceForType() { return io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.getDefaultInstance(); } @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig build() { io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig buildPartial() { io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig result = new io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig(this); if (logFormatBuilder_ == null) { result.logFormat_ = logFormat_; } else { result.logFormat_ = logFormatBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig) { return mergeFrom((io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig other) { if (other == io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.getDefaultInstance()) return this; if (other.hasLogFormat()) { mergeLogFormat(other.getLogFormat()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat logFormat_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat.Builder, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormatOrBuilder> logFormatBuilder_; /** *
       * Optional field to set the application logs format. If this field is set, it will override
       * the default log format. Setting both this field and :option:`--log-format` command line
       * option is not allowed, and will cause a bootstrap error.
       * 
* * .envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat log_format = 1; * @return Whether the logFormat field is set. */ public boolean hasLogFormat() { return logFormatBuilder_ != null || logFormat_ != null; } /** *
       * Optional field to set the application logs format. If this field is set, it will override
       * the default log format. Setting both this field and :option:`--log-format` command line
       * option is not allowed, and will cause a bootstrap error.
       * 
* * .envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat log_format = 1; * @return The logFormat. */ public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat getLogFormat() { if (logFormatBuilder_ == null) { return logFormat_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat.getDefaultInstance() : logFormat_; } else { return logFormatBuilder_.getMessage(); } } /** *
       * Optional field to set the application logs format. If this field is set, it will override
       * the default log format. Setting both this field and :option:`--log-format` command line
       * option is not allowed, and will cause a bootstrap error.
       * 
* * .envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat log_format = 1; */ public Builder setLogFormat(io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat value) { if (logFormatBuilder_ == null) { if (value == null) { throw new NullPointerException(); } logFormat_ = value; onChanged(); } else { logFormatBuilder_.setMessage(value); } return this; } /** *
       * Optional field to set the application logs format. If this field is set, it will override
       * the default log format. Setting both this field and :option:`--log-format` command line
       * option is not allowed, and will cause a bootstrap error.
       * 
* * .envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat log_format = 1; */ public Builder setLogFormat( io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat.Builder builderForValue) { if (logFormatBuilder_ == null) { logFormat_ = builderForValue.build(); onChanged(); } else { logFormatBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Optional field to set the application logs format. If this field is set, it will override
       * the default log format. Setting both this field and :option:`--log-format` command line
       * option is not allowed, and will cause a bootstrap error.
       * 
* * .envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat log_format = 1; */ public Builder mergeLogFormat(io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat value) { if (logFormatBuilder_ == null) { if (logFormat_ != null) { logFormat_ = io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat.newBuilder(logFormat_).mergeFrom(value).buildPartial(); } else { logFormat_ = value; } onChanged(); } else { logFormatBuilder_.mergeFrom(value); } return this; } /** *
       * Optional field to set the application logs format. If this field is set, it will override
       * the default log format. Setting both this field and :option:`--log-format` command line
       * option is not allowed, and will cause a bootstrap error.
       * 
* * .envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat log_format = 1; */ public Builder clearLogFormat() { if (logFormatBuilder_ == null) { logFormat_ = null; onChanged(); } else { logFormat_ = null; logFormatBuilder_ = null; } return this; } /** *
       * Optional field to set the application logs format. If this field is set, it will override
       * the default log format. Setting both this field and :option:`--log-format` command line
       * option is not allowed, and will cause a bootstrap error.
       * 
* * .envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat log_format = 1; */ public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat.Builder getLogFormatBuilder() { onChanged(); return getLogFormatFieldBuilder().getBuilder(); } /** *
       * Optional field to set the application logs format. If this field is set, it will override
       * the default log format. Setting both this field and :option:`--log-format` command line
       * option is not allowed, and will cause a bootstrap error.
       * 
* * .envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat log_format = 1; */ public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormatOrBuilder getLogFormatOrBuilder() { if (logFormatBuilder_ != null) { return logFormatBuilder_.getMessageOrBuilder(); } else { return logFormat_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat.getDefaultInstance() : logFormat_; } } /** *
       * Optional field to set the application logs format. If this field is set, it will override
       * the default log format. Setting both this field and :option:`--log-format` command line
       * option is not allowed, and will cause a bootstrap error.
       * 
* * .envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat log_format = 1; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat.Builder, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormatOrBuilder> getLogFormatFieldBuilder() { if (logFormatBuilder_ == null) { logFormatBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat.Builder, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormatOrBuilder>( getLogFormat(), getParentForChildren(), isClean()); logFormat_ = null; } return logFormatBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig) } // @@protoc_insertion_point(class_scope:envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig) private static final io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig(); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ApplicationLogConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ApplicationLogConfig(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DeferredStatOptionsOrBuilder extends // @@protoc_insertion_point(interface_extends:envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions) com.google.protobuf.MessageOrBuilder { /** *
     * When the flag is enabled, Envoy will lazily initialize a subset of the stats (see below).
     * This will save memory and CPU cycles when creating the objects that own these stats, if those
     * stats are never referenced throughout the lifetime of the process. However, it will incur additional
     * memory overhead for these objects, and a small increase of CPU usage when a at least one of the stats
     * is updated for the first time.
     * Groups of stats that will be lazily initialized:
     * - Cluster traffic stats: a subgroup of the :ref:`cluster statistics <config_cluster_manager_cluster_stats>`
     * that are used when requests are routed to the cluster.
     * 
* * bool enable_deferred_creation_stats = 1; * @return The enableDeferredCreationStats. */ boolean getEnableDeferredCreationStats(); } /** * Protobuf type {@code envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions} */ public static final class DeferredStatOptions extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions) DeferredStatOptionsOrBuilder { private static final long serialVersionUID = 0L; // Use DeferredStatOptions.newBuilder() to construct. private DeferredStatOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DeferredStatOptions() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DeferredStatOptions(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DeferredStatOptions( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { enableDeferredCreationStats_ = input.readBool(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.config.bootstrap.v3.BootstrapProto.internal_static_envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.config.bootstrap.v3.BootstrapProto.internal_static_envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions.class, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions.Builder.class); } public static final int ENABLE_DEFERRED_CREATION_STATS_FIELD_NUMBER = 1; private boolean enableDeferredCreationStats_; /** *
     * When the flag is enabled, Envoy will lazily initialize a subset of the stats (see below).
     * This will save memory and CPU cycles when creating the objects that own these stats, if those
     * stats are never referenced throughout the lifetime of the process. However, it will incur additional
     * memory overhead for these objects, and a small increase of CPU usage when a at least one of the stats
     * is updated for the first time.
     * Groups of stats that will be lazily initialized:
     * - Cluster traffic stats: a subgroup of the :ref:`cluster statistics <config_cluster_manager_cluster_stats>`
     * that are used when requests are routed to the cluster.
     * 
* * bool enable_deferred_creation_stats = 1; * @return The enableDeferredCreationStats. */ @java.lang.Override public boolean getEnableDeferredCreationStats() { return enableDeferredCreationStats_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (enableDeferredCreationStats_ != false) { output.writeBool(1, enableDeferredCreationStats_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (enableDeferredCreationStats_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(1, enableDeferredCreationStats_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions)) { return super.equals(obj); } io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions other = (io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions) obj; if (getEnableDeferredCreationStats() != other.getEnableDeferredCreationStats()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLE_DEFERRED_CREATION_STATS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getEnableDeferredCreationStats()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions) io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptionsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.config.bootstrap.v3.BootstrapProto.internal_static_envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.config.bootstrap.v3.BootstrapProto.internal_static_envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions.class, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions.Builder.class); } // Construct using io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); enableDeferredCreationStats_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.envoyproxy.envoy.config.bootstrap.v3.BootstrapProto.internal_static_envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions_descriptor; } @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions getDefaultInstanceForType() { return io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions.getDefaultInstance(); } @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions build() { io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions buildPartial() { io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions result = new io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions(this); result.enableDeferredCreationStats_ = enableDeferredCreationStats_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions) { return mergeFrom((io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions other) { if (other == io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions.getDefaultInstance()) return this; if (other.getEnableDeferredCreationStats() != false) { setEnableDeferredCreationStats(other.getEnableDeferredCreationStats()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private boolean enableDeferredCreationStats_ ; /** *
       * When the flag is enabled, Envoy will lazily initialize a subset of the stats (see below).
       * This will save memory and CPU cycles when creating the objects that own these stats, if those
       * stats are never referenced throughout the lifetime of the process. However, it will incur additional
       * memory overhead for these objects, and a small increase of CPU usage when a at least one of the stats
       * is updated for the first time.
       * Groups of stats that will be lazily initialized:
       * - Cluster traffic stats: a subgroup of the :ref:`cluster statistics <config_cluster_manager_cluster_stats>`
       * that are used when requests are routed to the cluster.
       * 
* * bool enable_deferred_creation_stats = 1; * @return The enableDeferredCreationStats. */ @java.lang.Override public boolean getEnableDeferredCreationStats() { return enableDeferredCreationStats_; } /** *
       * When the flag is enabled, Envoy will lazily initialize a subset of the stats (see below).
       * This will save memory and CPU cycles when creating the objects that own these stats, if those
       * stats are never referenced throughout the lifetime of the process. However, it will incur additional
       * memory overhead for these objects, and a small increase of CPU usage when a at least one of the stats
       * is updated for the first time.
       * Groups of stats that will be lazily initialized:
       * - Cluster traffic stats: a subgroup of the :ref:`cluster statistics <config_cluster_manager_cluster_stats>`
       * that are used when requests are routed to the cluster.
       * 
* * bool enable_deferred_creation_stats = 1; * @param value The enableDeferredCreationStats to set. * @return This builder for chaining. */ public Builder setEnableDeferredCreationStats(boolean value) { enableDeferredCreationStats_ = value; onChanged(); return this; } /** *
       * When the flag is enabled, Envoy will lazily initialize a subset of the stats (see below).
       * This will save memory and CPU cycles when creating the objects that own these stats, if those
       * stats are never referenced throughout the lifetime of the process. However, it will incur additional
       * memory overhead for these objects, and a small increase of CPU usage when a at least one of the stats
       * is updated for the first time.
       * Groups of stats that will be lazily initialized:
       * - Cluster traffic stats: a subgroup of the :ref:`cluster statistics <config_cluster_manager_cluster_stats>`
       * that are used when requests are routed to the cluster.
       * 
* * bool enable_deferred_creation_stats = 1; * @return This builder for chaining. */ public Builder clearEnableDeferredCreationStats() { enableDeferredCreationStats_ = false; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions) } // @@protoc_insertion_point(class_scope:envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions) private static final io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions(); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DeferredStatOptions parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DeferredStatOptions(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GrpcAsyncClientManagerConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig) com.google.protobuf.MessageOrBuilder { /** *
     * Optional field to set the expiration time for the cached gRPC client object.
     * The minimal value is 5s and the default is 50s.
     * 
* * .google.protobuf.Duration max_cached_entry_idle_duration = 1 [(.validate.rules) = { ... } * @return Whether the maxCachedEntryIdleDuration field is set. */ boolean hasMaxCachedEntryIdleDuration(); /** *
     * Optional field to set the expiration time for the cached gRPC client object.
     * The minimal value is 5s and the default is 50s.
     * 
* * .google.protobuf.Duration max_cached_entry_idle_duration = 1 [(.validate.rules) = { ... } * @return The maxCachedEntryIdleDuration. */ com.google.protobuf.Duration getMaxCachedEntryIdleDuration(); /** *
     * Optional field to set the expiration time for the cached gRPC client object.
     * The minimal value is 5s and the default is 50s.
     * 
* * .google.protobuf.Duration max_cached_entry_idle_duration = 1 [(.validate.rules) = { ... } */ com.google.protobuf.DurationOrBuilder getMaxCachedEntryIdleDurationOrBuilder(); } /** * Protobuf type {@code envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig} */ public static final class GrpcAsyncClientManagerConfig extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig) GrpcAsyncClientManagerConfigOrBuilder { private static final long serialVersionUID = 0L; // Use GrpcAsyncClientManagerConfig.newBuilder() to construct. private GrpcAsyncClientManagerConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GrpcAsyncClientManagerConfig() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GrpcAsyncClientManagerConfig(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GrpcAsyncClientManagerConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.google.protobuf.Duration.Builder subBuilder = null; if (maxCachedEntryIdleDuration_ != null) { subBuilder = maxCachedEntryIdleDuration_.toBuilder(); } maxCachedEntryIdleDuration_ = input.readMessage(com.google.protobuf.Duration.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(maxCachedEntryIdleDuration_); maxCachedEntryIdleDuration_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.config.bootstrap.v3.BootstrapProto.internal_static_envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.config.bootstrap.v3.BootstrapProto.internal_static_envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig.class, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig.Builder.class); } public static final int MAX_CACHED_ENTRY_IDLE_DURATION_FIELD_NUMBER = 1; private com.google.protobuf.Duration maxCachedEntryIdleDuration_; /** *
     * Optional field to set the expiration time for the cached gRPC client object.
     * The minimal value is 5s and the default is 50s.
     * 
* * .google.protobuf.Duration max_cached_entry_idle_duration = 1 [(.validate.rules) = { ... } * @return Whether the maxCachedEntryIdleDuration field is set. */ @java.lang.Override public boolean hasMaxCachedEntryIdleDuration() { return maxCachedEntryIdleDuration_ != null; } /** *
     * Optional field to set the expiration time for the cached gRPC client object.
     * The minimal value is 5s and the default is 50s.
     * 
* * .google.protobuf.Duration max_cached_entry_idle_duration = 1 [(.validate.rules) = { ... } * @return The maxCachedEntryIdleDuration. */ @java.lang.Override public com.google.protobuf.Duration getMaxCachedEntryIdleDuration() { return maxCachedEntryIdleDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxCachedEntryIdleDuration_; } /** *
     * Optional field to set the expiration time for the cached gRPC client object.
     * The minimal value is 5s and the default is 50s.
     * 
* * .google.protobuf.Duration max_cached_entry_idle_duration = 1 [(.validate.rules) = { ... } */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getMaxCachedEntryIdleDurationOrBuilder() { return getMaxCachedEntryIdleDuration(); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (maxCachedEntryIdleDuration_ != null) { output.writeMessage(1, getMaxCachedEntryIdleDuration()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (maxCachedEntryIdleDuration_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getMaxCachedEntryIdleDuration()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig)) { return super.equals(obj); } io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig other = (io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig) obj; if (hasMaxCachedEntryIdleDuration() != other.hasMaxCachedEntryIdleDuration()) return false; if (hasMaxCachedEntryIdleDuration()) { if (!getMaxCachedEntryIdleDuration() .equals(other.getMaxCachedEntryIdleDuration())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasMaxCachedEntryIdleDuration()) { hash = (37 * hash) + MAX_CACHED_ENTRY_IDLE_DURATION_FIELD_NUMBER; hash = (53 * hash) + getMaxCachedEntryIdleDuration().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig) io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfigOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.config.bootstrap.v3.BootstrapProto.internal_static_envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.config.bootstrap.v3.BootstrapProto.internal_static_envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig.class, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig.Builder.class); } // Construct using io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (maxCachedEntryIdleDurationBuilder_ == null) { maxCachedEntryIdleDuration_ = null; } else { maxCachedEntryIdleDuration_ = null; maxCachedEntryIdleDurationBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.envoyproxy.envoy.config.bootstrap.v3.BootstrapProto.internal_static_envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig_descriptor; } @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig getDefaultInstanceForType() { return io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig.getDefaultInstance(); } @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig build() { io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig buildPartial() { io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig result = new io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig(this); if (maxCachedEntryIdleDurationBuilder_ == null) { result.maxCachedEntryIdleDuration_ = maxCachedEntryIdleDuration_; } else { result.maxCachedEntryIdleDuration_ = maxCachedEntryIdleDurationBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig) { return mergeFrom((io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig other) { if (other == io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig.getDefaultInstance()) return this; if (other.hasMaxCachedEntryIdleDuration()) { mergeMaxCachedEntryIdleDuration(other.getMaxCachedEntryIdleDuration()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.google.protobuf.Duration maxCachedEntryIdleDuration_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> maxCachedEntryIdleDurationBuilder_; /** *
       * Optional field to set the expiration time for the cached gRPC client object.
       * The minimal value is 5s and the default is 50s.
       * 
* * .google.protobuf.Duration max_cached_entry_idle_duration = 1 [(.validate.rules) = { ... } * @return Whether the maxCachedEntryIdleDuration field is set. */ public boolean hasMaxCachedEntryIdleDuration() { return maxCachedEntryIdleDurationBuilder_ != null || maxCachedEntryIdleDuration_ != null; } /** *
       * Optional field to set the expiration time for the cached gRPC client object.
       * The minimal value is 5s and the default is 50s.
       * 
* * .google.protobuf.Duration max_cached_entry_idle_duration = 1 [(.validate.rules) = { ... } * @return The maxCachedEntryIdleDuration. */ public com.google.protobuf.Duration getMaxCachedEntryIdleDuration() { if (maxCachedEntryIdleDurationBuilder_ == null) { return maxCachedEntryIdleDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxCachedEntryIdleDuration_; } else { return maxCachedEntryIdleDurationBuilder_.getMessage(); } } /** *
       * Optional field to set the expiration time for the cached gRPC client object.
       * The minimal value is 5s and the default is 50s.
       * 
* * .google.protobuf.Duration max_cached_entry_idle_duration = 1 [(.validate.rules) = { ... } */ public Builder setMaxCachedEntryIdleDuration(com.google.protobuf.Duration value) { if (maxCachedEntryIdleDurationBuilder_ == null) { if (value == null) { throw new NullPointerException(); } maxCachedEntryIdleDuration_ = value; onChanged(); } else { maxCachedEntryIdleDurationBuilder_.setMessage(value); } return this; } /** *
       * Optional field to set the expiration time for the cached gRPC client object.
       * The minimal value is 5s and the default is 50s.
       * 
* * .google.protobuf.Duration max_cached_entry_idle_duration = 1 [(.validate.rules) = { ... } */ public Builder setMaxCachedEntryIdleDuration( com.google.protobuf.Duration.Builder builderForValue) { if (maxCachedEntryIdleDurationBuilder_ == null) { maxCachedEntryIdleDuration_ = builderForValue.build(); onChanged(); } else { maxCachedEntryIdleDurationBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Optional field to set the expiration time for the cached gRPC client object.
       * The minimal value is 5s and the default is 50s.
       * 
* * .google.protobuf.Duration max_cached_entry_idle_duration = 1 [(.validate.rules) = { ... } */ public Builder mergeMaxCachedEntryIdleDuration(com.google.protobuf.Duration value) { if (maxCachedEntryIdleDurationBuilder_ == null) { if (maxCachedEntryIdleDuration_ != null) { maxCachedEntryIdleDuration_ = com.google.protobuf.Duration.newBuilder(maxCachedEntryIdleDuration_).mergeFrom(value).buildPartial(); } else { maxCachedEntryIdleDuration_ = value; } onChanged(); } else { maxCachedEntryIdleDurationBuilder_.mergeFrom(value); } return this; } /** *
       * Optional field to set the expiration time for the cached gRPC client object.
       * The minimal value is 5s and the default is 50s.
       * 
* * .google.protobuf.Duration max_cached_entry_idle_duration = 1 [(.validate.rules) = { ... } */ public Builder clearMaxCachedEntryIdleDuration() { if (maxCachedEntryIdleDurationBuilder_ == null) { maxCachedEntryIdleDuration_ = null; onChanged(); } else { maxCachedEntryIdleDuration_ = null; maxCachedEntryIdleDurationBuilder_ = null; } return this; } /** *
       * Optional field to set the expiration time for the cached gRPC client object.
       * The minimal value is 5s and the default is 50s.
       * 
* * .google.protobuf.Duration max_cached_entry_idle_duration = 1 [(.validate.rules) = { ... } */ public com.google.protobuf.Duration.Builder getMaxCachedEntryIdleDurationBuilder() { onChanged(); return getMaxCachedEntryIdleDurationFieldBuilder().getBuilder(); } /** *
       * Optional field to set the expiration time for the cached gRPC client object.
       * The minimal value is 5s and the default is 50s.
       * 
* * .google.protobuf.Duration max_cached_entry_idle_duration = 1 [(.validate.rules) = { ... } */ public com.google.protobuf.DurationOrBuilder getMaxCachedEntryIdleDurationOrBuilder() { if (maxCachedEntryIdleDurationBuilder_ != null) { return maxCachedEntryIdleDurationBuilder_.getMessageOrBuilder(); } else { return maxCachedEntryIdleDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxCachedEntryIdleDuration_; } } /** *
       * Optional field to set the expiration time for the cached gRPC client object.
       * The minimal value is 5s and the default is 50s.
       * 
* * .google.protobuf.Duration max_cached_entry_idle_duration = 1 [(.validate.rules) = { ... } */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> getMaxCachedEntryIdleDurationFieldBuilder() { if (maxCachedEntryIdleDurationBuilder_ == null) { maxCachedEntryIdleDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( getMaxCachedEntryIdleDuration(), getParentForChildren(), isClean()); maxCachedEntryIdleDuration_ = null; } return maxCachedEntryIdleDurationBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig) } // @@protoc_insertion_point(class_scope:envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig) private static final io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig(); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GrpcAsyncClientManagerConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GrpcAsyncClientManagerConfig(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private int statsFlushCase_ = 0; private java.lang.Object statsFlush_; public enum StatsFlushCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { STATS_FLUSH_ON_ADMIN(29), STATSFLUSH_NOT_SET(0); private final int value; private StatsFlushCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static StatsFlushCase valueOf(int value) { return forNumber(value); } public static StatsFlushCase forNumber(int value) { switch (value) { case 29: return STATS_FLUSH_ON_ADMIN; case 0: return STATSFLUSH_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public StatsFlushCase getStatsFlushCase() { return StatsFlushCase.forNumber( statsFlushCase_); } public static final int NODE_FIELD_NUMBER = 1; private io.envoyproxy.envoy.config.core.v3.Node node_; /** *
   * Node identity to present to the management server and for instance
   * identification purposes (e.g. in generated headers).
   * 
* * .envoy.config.core.v3.Node node = 1; * @return Whether the node field is set. */ @java.lang.Override public boolean hasNode() { return node_ != null; } /** *
   * Node identity to present to the management server and for instance
   * identification purposes (e.g. in generated headers).
   * 
* * .envoy.config.core.v3.Node node = 1; * @return The node. */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.Node getNode() { return node_ == null ? io.envoyproxy.envoy.config.core.v3.Node.getDefaultInstance() : node_; } /** *
   * Node identity to present to the management server and for instance
   * identification purposes (e.g. in generated headers).
   * 
* * .envoy.config.core.v3.Node node = 1; */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.NodeOrBuilder getNodeOrBuilder() { return getNode(); } public static final int NODE_CONTEXT_PARAMS_FIELD_NUMBER = 26; private com.google.protobuf.LazyStringList nodeContextParams_; /** *
   * A list of :ref:`Node <envoy_v3_api_msg_config.core.v3.Node>` field names
   * that will be included in the context parameters of the effective
   * xdstp:// URL that is sent in a discovery request when resource
   * locators are used for LDS/CDS. Any non-string field will have its JSON
   * encoding set as the context parameter value, with the exception of
   * metadata, which will be flattened (see example below). The supported field
   * names are:
   * - "cluster"
   * - "id"
   * - "locality.region"
   * - "locality.sub_zone"
   * - "locality.zone"
   * - "metadata"
   * - "user_agent_build_version.metadata"
   * - "user_agent_build_version.version"
   * - "user_agent_name"
   * - "user_agent_version"
   * The node context parameters act as a base layer dictionary for the context
   * parameters (i.e. more specific resource specific context parameters will
   * override). Field names will be prefixed with “udpa.node.” when included in
   * context parameters.
   * For example, if node_context_params is ``["user_agent_name", "metadata"]``,
   * the implied context parameters might be::
   *   node.user_agent_name: "envoy"
   *   node.metadata.foo: "{\"bar\": \"baz\"}"
   *   node.metadata.some: "42"
   *   node.metadata.thing: "\"thing\""
   * [#not-implemented-hide:]
   * 
* * repeated string node_context_params = 26; * @return A list containing the nodeContextParams. */ public com.google.protobuf.ProtocolStringList getNodeContextParamsList() { return nodeContextParams_; } /** *
   * A list of :ref:`Node <envoy_v3_api_msg_config.core.v3.Node>` field names
   * that will be included in the context parameters of the effective
   * xdstp:// URL that is sent in a discovery request when resource
   * locators are used for LDS/CDS. Any non-string field will have its JSON
   * encoding set as the context parameter value, with the exception of
   * metadata, which will be flattened (see example below). The supported field
   * names are:
   * - "cluster"
   * - "id"
   * - "locality.region"
   * - "locality.sub_zone"
   * - "locality.zone"
   * - "metadata"
   * - "user_agent_build_version.metadata"
   * - "user_agent_build_version.version"
   * - "user_agent_name"
   * - "user_agent_version"
   * The node context parameters act as a base layer dictionary for the context
   * parameters (i.e. more specific resource specific context parameters will
   * override). Field names will be prefixed with “udpa.node.” when included in
   * context parameters.
   * For example, if node_context_params is ``["user_agent_name", "metadata"]``,
   * the implied context parameters might be::
   *   node.user_agent_name: "envoy"
   *   node.metadata.foo: "{\"bar\": \"baz\"}"
   *   node.metadata.some: "42"
   *   node.metadata.thing: "\"thing\""
   * [#not-implemented-hide:]
   * 
* * repeated string node_context_params = 26; * @return The count of nodeContextParams. */ public int getNodeContextParamsCount() { return nodeContextParams_.size(); } /** *
   * A list of :ref:`Node <envoy_v3_api_msg_config.core.v3.Node>` field names
   * that will be included in the context parameters of the effective
   * xdstp:// URL that is sent in a discovery request when resource
   * locators are used for LDS/CDS. Any non-string field will have its JSON
   * encoding set as the context parameter value, with the exception of
   * metadata, which will be flattened (see example below). The supported field
   * names are:
   * - "cluster"
   * - "id"
   * - "locality.region"
   * - "locality.sub_zone"
   * - "locality.zone"
   * - "metadata"
   * - "user_agent_build_version.metadata"
   * - "user_agent_build_version.version"
   * - "user_agent_name"
   * - "user_agent_version"
   * The node context parameters act as a base layer dictionary for the context
   * parameters (i.e. more specific resource specific context parameters will
   * override). Field names will be prefixed with “udpa.node.” when included in
   * context parameters.
   * For example, if node_context_params is ``["user_agent_name", "metadata"]``,
   * the implied context parameters might be::
   *   node.user_agent_name: "envoy"
   *   node.metadata.foo: "{\"bar\": \"baz\"}"
   *   node.metadata.some: "42"
   *   node.metadata.thing: "\"thing\""
   * [#not-implemented-hide:]
   * 
* * repeated string node_context_params = 26; * @param index The index of the element to return. * @return The nodeContextParams at the given index. */ public java.lang.String getNodeContextParams(int index) { return nodeContextParams_.get(index); } /** *
   * A list of :ref:`Node <envoy_v3_api_msg_config.core.v3.Node>` field names
   * that will be included in the context parameters of the effective
   * xdstp:// URL that is sent in a discovery request when resource
   * locators are used for LDS/CDS. Any non-string field will have its JSON
   * encoding set as the context parameter value, with the exception of
   * metadata, which will be flattened (see example below). The supported field
   * names are:
   * - "cluster"
   * - "id"
   * - "locality.region"
   * - "locality.sub_zone"
   * - "locality.zone"
   * - "metadata"
   * - "user_agent_build_version.metadata"
   * - "user_agent_build_version.version"
   * - "user_agent_name"
   * - "user_agent_version"
   * The node context parameters act as a base layer dictionary for the context
   * parameters (i.e. more specific resource specific context parameters will
   * override). Field names will be prefixed with “udpa.node.” when included in
   * context parameters.
   * For example, if node_context_params is ``["user_agent_name", "metadata"]``,
   * the implied context parameters might be::
   *   node.user_agent_name: "envoy"
   *   node.metadata.foo: "{\"bar\": \"baz\"}"
   *   node.metadata.some: "42"
   *   node.metadata.thing: "\"thing\""
   * [#not-implemented-hide:]
   * 
* * repeated string node_context_params = 26; * @param index The index of the value to return. * @return The bytes of the nodeContextParams at the given index. */ public com.google.protobuf.ByteString getNodeContextParamsBytes(int index) { return nodeContextParams_.getByteString(index); } public static final int STATIC_RESOURCES_FIELD_NUMBER = 2; private io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources staticResources_; /** *
   * Statically specified resources.
   * 
* * .envoy.config.bootstrap.v3.Bootstrap.StaticResources static_resources = 2; * @return Whether the staticResources field is set. */ @java.lang.Override public boolean hasStaticResources() { return staticResources_ != null; } /** *
   * Statically specified resources.
   * 
* * .envoy.config.bootstrap.v3.Bootstrap.StaticResources static_resources = 2; * @return The staticResources. */ @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources getStaticResources() { return staticResources_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources.getDefaultInstance() : staticResources_; } /** *
   * Statically specified resources.
   * 
* * .envoy.config.bootstrap.v3.Bootstrap.StaticResources static_resources = 2; */ @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResourcesOrBuilder getStaticResourcesOrBuilder() { return getStaticResources(); } public static final int DYNAMIC_RESOURCES_FIELD_NUMBER = 3; private io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources dynamicResources_; /** *
   * xDS configuration sources.
   * 
* * .envoy.config.bootstrap.v3.Bootstrap.DynamicResources dynamic_resources = 3; * @return Whether the dynamicResources field is set. */ @java.lang.Override public boolean hasDynamicResources() { return dynamicResources_ != null; } /** *
   * xDS configuration sources.
   * 
* * .envoy.config.bootstrap.v3.Bootstrap.DynamicResources dynamic_resources = 3; * @return The dynamicResources. */ @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources getDynamicResources() { return dynamicResources_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources.getDefaultInstance() : dynamicResources_; } /** *
   * xDS configuration sources.
   * 
* * .envoy.config.bootstrap.v3.Bootstrap.DynamicResources dynamic_resources = 3; */ @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResourcesOrBuilder getDynamicResourcesOrBuilder() { return getDynamicResources(); } public static final int CLUSTER_MANAGER_FIELD_NUMBER = 4; private io.envoyproxy.envoy.config.bootstrap.v3.ClusterManager clusterManager_; /** *
   * Configuration for the cluster manager which owns all upstream clusters
   * within the server.
   * 
* * .envoy.config.bootstrap.v3.ClusterManager cluster_manager = 4; * @return Whether the clusterManager field is set. */ @java.lang.Override public boolean hasClusterManager() { return clusterManager_ != null; } /** *
   * Configuration for the cluster manager which owns all upstream clusters
   * within the server.
   * 
* * .envoy.config.bootstrap.v3.ClusterManager cluster_manager = 4; * @return The clusterManager. */ @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.ClusterManager getClusterManager() { return clusterManager_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.ClusterManager.getDefaultInstance() : clusterManager_; } /** *
   * Configuration for the cluster manager which owns all upstream clusters
   * within the server.
   * 
* * .envoy.config.bootstrap.v3.ClusterManager cluster_manager = 4; */ @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.ClusterManagerOrBuilder getClusterManagerOrBuilder() { return getClusterManager(); } public static final int HDS_CONFIG_FIELD_NUMBER = 14; private io.envoyproxy.envoy.config.core.v3.ApiConfigSource hdsConfig_; /** *
   * Health discovery service config option.
   * (:ref:`core.ApiConfigSource <envoy_v3_api_msg_config.core.v3.ApiConfigSource>`)
   * 
* * .envoy.config.core.v3.ApiConfigSource hds_config = 14; * @return Whether the hdsConfig field is set. */ @java.lang.Override public boolean hasHdsConfig() { return hdsConfig_ != null; } /** *
   * Health discovery service config option.
   * (:ref:`core.ApiConfigSource <envoy_v3_api_msg_config.core.v3.ApiConfigSource>`)
   * 
* * .envoy.config.core.v3.ApiConfigSource hds_config = 14; * @return The hdsConfig. */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.ApiConfigSource getHdsConfig() { return hdsConfig_ == null ? io.envoyproxy.envoy.config.core.v3.ApiConfigSource.getDefaultInstance() : hdsConfig_; } /** *
   * Health discovery service config option.
   * (:ref:`core.ApiConfigSource <envoy_v3_api_msg_config.core.v3.ApiConfigSource>`)
   * 
* * .envoy.config.core.v3.ApiConfigSource hds_config = 14; */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.ApiConfigSourceOrBuilder getHdsConfigOrBuilder() { return getHdsConfig(); } public static final int FLAGS_PATH_FIELD_NUMBER = 5; private volatile java.lang.Object flagsPath_; /** *
   * Optional file system path to search for startup flag files.
   * 
* * string flags_path = 5; * @return The flagsPath. */ @java.lang.Override public java.lang.String getFlagsPath() { java.lang.Object ref = flagsPath_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); flagsPath_ = s; return s; } } /** *
   * Optional file system path to search for startup flag files.
   * 
* * string flags_path = 5; * @return The bytes for flagsPath. */ @java.lang.Override public com.google.protobuf.ByteString getFlagsPathBytes() { java.lang.Object ref = flagsPath_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); flagsPath_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int STATS_SINKS_FIELD_NUMBER = 6; private java.util.List statsSinks_; /** *
   * Optional set of stats sinks.
   * 
* * repeated .envoy.config.metrics.v3.StatsSink stats_sinks = 6; */ @java.lang.Override public java.util.List getStatsSinksList() { return statsSinks_; } /** *
   * Optional set of stats sinks.
   * 
* * repeated .envoy.config.metrics.v3.StatsSink stats_sinks = 6; */ @java.lang.Override public java.util.List getStatsSinksOrBuilderList() { return statsSinks_; } /** *
   * Optional set of stats sinks.
   * 
* * repeated .envoy.config.metrics.v3.StatsSink stats_sinks = 6; */ @java.lang.Override public int getStatsSinksCount() { return statsSinks_.size(); } /** *
   * Optional set of stats sinks.
   * 
* * repeated .envoy.config.metrics.v3.StatsSink stats_sinks = 6; */ @java.lang.Override public io.envoyproxy.envoy.config.metrics.v3.StatsSink getStatsSinks(int index) { return statsSinks_.get(index); } /** *
   * Optional set of stats sinks.
   * 
* * repeated .envoy.config.metrics.v3.StatsSink stats_sinks = 6; */ @java.lang.Override public io.envoyproxy.envoy.config.metrics.v3.StatsSinkOrBuilder getStatsSinksOrBuilder( int index) { return statsSinks_.get(index); } public static final int DEFERRED_STAT_OPTIONS_FIELD_NUMBER = 39; private io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions deferredStatOptions_; /** *
   * Options to control behaviors of deferred creation compatible stats.
   * 
* * .envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions deferred_stat_options = 39; * @return Whether the deferredStatOptions field is set. */ @java.lang.Override public boolean hasDeferredStatOptions() { return deferredStatOptions_ != null; } /** *
   * Options to control behaviors of deferred creation compatible stats.
   * 
* * .envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions deferred_stat_options = 39; * @return The deferredStatOptions. */ @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions getDeferredStatOptions() { return deferredStatOptions_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions.getDefaultInstance() : deferredStatOptions_; } /** *
   * Options to control behaviors of deferred creation compatible stats.
   * 
* * .envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions deferred_stat_options = 39; */ @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptionsOrBuilder getDeferredStatOptionsOrBuilder() { return getDeferredStatOptions(); } public static final int STATS_CONFIG_FIELD_NUMBER = 13; private io.envoyproxy.envoy.config.metrics.v3.StatsConfig statsConfig_; /** *
   * Configuration for internal processing of stats.
   * 
* * .envoy.config.metrics.v3.StatsConfig stats_config = 13; * @return Whether the statsConfig field is set. */ @java.lang.Override public boolean hasStatsConfig() { return statsConfig_ != null; } /** *
   * Configuration for internal processing of stats.
   * 
* * .envoy.config.metrics.v3.StatsConfig stats_config = 13; * @return The statsConfig. */ @java.lang.Override public io.envoyproxy.envoy.config.metrics.v3.StatsConfig getStatsConfig() { return statsConfig_ == null ? io.envoyproxy.envoy.config.metrics.v3.StatsConfig.getDefaultInstance() : statsConfig_; } /** *
   * Configuration for internal processing of stats.
   * 
* * .envoy.config.metrics.v3.StatsConfig stats_config = 13; */ @java.lang.Override public io.envoyproxy.envoy.config.metrics.v3.StatsConfigOrBuilder getStatsConfigOrBuilder() { return getStatsConfig(); } public static final int STATS_FLUSH_INTERVAL_FIELD_NUMBER = 7; private com.google.protobuf.Duration statsFlushInterval_; /** *
   * 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). Only one of ``stats_flush_interval`` or ``stats_flush_on_admin``
   * can be set.
   * Duration must be at least 1ms and at most 5 min.
   * 
* * .google.protobuf.Duration stats_flush_interval = 7 [(.validate.rules) = { ... } * @return Whether the statsFlushInterval field is set. */ @java.lang.Override public boolean hasStatsFlushInterval() { return statsFlushInterval_ != null; } /** *
   * 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). Only one of ``stats_flush_interval`` or ``stats_flush_on_admin``
   * can be set.
   * Duration must be at least 1ms and at most 5 min.
   * 
* * .google.protobuf.Duration stats_flush_interval = 7 [(.validate.rules) = { ... } * @return The statsFlushInterval. */ @java.lang.Override public com.google.protobuf.Duration getStatsFlushInterval() { return statsFlushInterval_ == null ? com.google.protobuf.Duration.getDefaultInstance() : statsFlushInterval_; } /** *
   * 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). Only one of ``stats_flush_interval`` or ``stats_flush_on_admin``
   * can be set.
   * Duration must be at least 1ms and at most 5 min.
   * 
* * .google.protobuf.Duration stats_flush_interval = 7 [(.validate.rules) = { ... } */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getStatsFlushIntervalOrBuilder() { return getStatsFlushInterval(); } public static final int STATS_FLUSH_ON_ADMIN_FIELD_NUMBER = 29; /** *
   * Flush stats to sinks only when queried for on the admin interface. If set,
   * a flush timer is not created. Only one of ``stats_flush_on_admin`` or
   * ``stats_flush_interval`` can be set.
   * 
* * bool stats_flush_on_admin = 29 [(.validate.rules) = { ... } * @return Whether the statsFlushOnAdmin field is set. */ @java.lang.Override public boolean hasStatsFlushOnAdmin() { return statsFlushCase_ == 29; } /** *
   * Flush stats to sinks only when queried for on the admin interface. If set,
   * a flush timer is not created. Only one of ``stats_flush_on_admin`` or
   * ``stats_flush_interval`` can be set.
   * 
* * bool stats_flush_on_admin = 29 [(.validate.rules) = { ... } * @return The statsFlushOnAdmin. */ @java.lang.Override public boolean getStatsFlushOnAdmin() { if (statsFlushCase_ == 29) { return (java.lang.Boolean) statsFlush_; } return false; } public static final int WATCHDOG_FIELD_NUMBER = 8; private io.envoyproxy.envoy.config.bootstrap.v3.Watchdog watchdog_; /** *
   * Optional watchdog configuration.
   * This is for a single watchdog configuration for the entire system.
   * Deprecated in favor of ``watchdogs`` which has finer granularity.
   * 
* * .envoy.config.bootstrap.v3.Watchdog watchdog = 8 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; * @deprecated envoy.config.bootstrap.v3.Bootstrap.watchdog is deprecated. * See envoy/config/bootstrap/v3/bootstrap.proto;l=237 * @return Whether the watchdog field is set. */ @java.lang.Override @java.lang.Deprecated public boolean hasWatchdog() { return watchdog_ != null; } /** *
   * Optional watchdog configuration.
   * This is for a single watchdog configuration for the entire system.
   * Deprecated in favor of ``watchdogs`` which has finer granularity.
   * 
* * .envoy.config.bootstrap.v3.Watchdog watchdog = 8 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; * @deprecated envoy.config.bootstrap.v3.Bootstrap.watchdog is deprecated. * See envoy/config/bootstrap/v3/bootstrap.proto;l=237 * @return The watchdog. */ @java.lang.Override @java.lang.Deprecated public io.envoyproxy.envoy.config.bootstrap.v3.Watchdog getWatchdog() { return watchdog_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.Watchdog.getDefaultInstance() : watchdog_; } /** *
   * Optional watchdog configuration.
   * This is for a single watchdog configuration for the entire system.
   * Deprecated in favor of ``watchdogs`` which has finer granularity.
   * 
* * .envoy.config.bootstrap.v3.Watchdog watchdog = 8 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; */ @java.lang.Override @java.lang.Deprecated public io.envoyproxy.envoy.config.bootstrap.v3.WatchdogOrBuilder getWatchdogOrBuilder() { return getWatchdog(); } public static final int WATCHDOGS_FIELD_NUMBER = 27; private io.envoyproxy.envoy.config.bootstrap.v3.Watchdogs watchdogs_; /** *
   * Optional watchdogs configuration.
   * This is used for specifying different watchdogs for the different subsystems.
   * [#extension-category: envoy.guarddog_actions]
   * 
* * .envoy.config.bootstrap.v3.Watchdogs watchdogs = 27; * @return Whether the watchdogs field is set. */ @java.lang.Override public boolean hasWatchdogs() { return watchdogs_ != null; } /** *
   * Optional watchdogs configuration.
   * This is used for specifying different watchdogs for the different subsystems.
   * [#extension-category: envoy.guarddog_actions]
   * 
* * .envoy.config.bootstrap.v3.Watchdogs watchdogs = 27; * @return The watchdogs. */ @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Watchdogs getWatchdogs() { return watchdogs_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.Watchdogs.getDefaultInstance() : watchdogs_; } /** *
   * Optional watchdogs configuration.
   * This is used for specifying different watchdogs for the different subsystems.
   * [#extension-category: envoy.guarddog_actions]
   * 
* * .envoy.config.bootstrap.v3.Watchdogs watchdogs = 27; */ @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.WatchdogsOrBuilder getWatchdogsOrBuilder() { return getWatchdogs(); } public static final int TRACING_FIELD_NUMBER = 9; private io.envoyproxy.envoy.config.trace.v3.Tracing tracing_; /** *
   * Configuration for an external tracing provider.
   * .. attention::
   *  This field has been deprecated in favor of :ref:`HttpConnectionManager.Tracing.provider
   *  <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.Tracing.provider>`.
   * 
* * .envoy.config.trace.v3.Tracing tracing = 9 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; * @deprecated envoy.config.bootstrap.v3.Bootstrap.tracing is deprecated. * See envoy/config/bootstrap/v3/bootstrap.proto;l=250 * @return Whether the tracing field is set. */ @java.lang.Override @java.lang.Deprecated public boolean hasTracing() { return tracing_ != null; } /** *
   * Configuration for an external tracing provider.
   * .. attention::
   *  This field has been deprecated in favor of :ref:`HttpConnectionManager.Tracing.provider
   *  <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.Tracing.provider>`.
   * 
* * .envoy.config.trace.v3.Tracing tracing = 9 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; * @deprecated envoy.config.bootstrap.v3.Bootstrap.tracing is deprecated. * See envoy/config/bootstrap/v3/bootstrap.proto;l=250 * @return The tracing. */ @java.lang.Override @java.lang.Deprecated public io.envoyproxy.envoy.config.trace.v3.Tracing getTracing() { return tracing_ == null ? io.envoyproxy.envoy.config.trace.v3.Tracing.getDefaultInstance() : tracing_; } /** *
   * Configuration for an external tracing provider.
   * .. attention::
   *  This field has been deprecated in favor of :ref:`HttpConnectionManager.Tracing.provider
   *  <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.Tracing.provider>`.
   * 
* * .envoy.config.trace.v3.Tracing tracing = 9 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; */ @java.lang.Override @java.lang.Deprecated public io.envoyproxy.envoy.config.trace.v3.TracingOrBuilder getTracingOrBuilder() { return getTracing(); } public static final int LAYERED_RUNTIME_FIELD_NUMBER = 17; private io.envoyproxy.envoy.config.bootstrap.v3.LayeredRuntime layeredRuntime_; /** *
   * 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.v3.LayeredRuntime layered_runtime = 17; * @return Whether the layeredRuntime field is set. */ @java.lang.Override public boolean hasLayeredRuntime() { return layeredRuntime_ != null; } /** *
   * 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.v3.LayeredRuntime layered_runtime = 17; * @return The layeredRuntime. */ @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.LayeredRuntime getLayeredRuntime() { return layeredRuntime_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.LayeredRuntime.getDefaultInstance() : layeredRuntime_; } /** *
   * 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.v3.LayeredRuntime layered_runtime = 17; */ @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.LayeredRuntimeOrBuilder getLayeredRuntimeOrBuilder() { return getLayeredRuntime(); } public static final int ADMIN_FIELD_NUMBER = 12; private io.envoyproxy.envoy.config.bootstrap.v3.Admin admin_; /** *
   * Configuration for the local administration HTTP server.
   * 
* * .envoy.config.bootstrap.v3.Admin admin = 12; * @return Whether the admin field is set. */ @java.lang.Override public boolean hasAdmin() { return admin_ != null; } /** *
   * Configuration for the local administration HTTP server.
   * 
* * .envoy.config.bootstrap.v3.Admin admin = 12; * @return The admin. */ @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Admin getAdmin() { return admin_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.Admin.getDefaultInstance() : admin_; } /** *
   * Configuration for the local administration HTTP server.
   * 
* * .envoy.config.bootstrap.v3.Admin admin = 12; */ @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.AdminOrBuilder getAdminOrBuilder() { return getAdmin(); } public static final int OVERLOAD_MANAGER_FIELD_NUMBER = 15; private io.envoyproxy.envoy.config.overload.v3.OverloadManager overloadManager_; /** *
   * Optional overload manager configuration.
   * 
* * .envoy.config.overload.v3.OverloadManager overload_manager = 15 [(.udpa.annotations.security) = { ... } * @return Whether the overloadManager field is set. */ @java.lang.Override public boolean hasOverloadManager() { return overloadManager_ != null; } /** *
   * Optional overload manager configuration.
   * 
* * .envoy.config.overload.v3.OverloadManager overload_manager = 15 [(.udpa.annotations.security) = { ... } * @return The overloadManager. */ @java.lang.Override public io.envoyproxy.envoy.config.overload.v3.OverloadManager getOverloadManager() { return overloadManager_ == null ? io.envoyproxy.envoy.config.overload.v3.OverloadManager.getDefaultInstance() : overloadManager_; } /** *
   * Optional overload manager configuration.
   * 
* * .envoy.config.overload.v3.OverloadManager overload_manager = 15 [(.udpa.annotations.security) = { ... } */ @java.lang.Override public io.envoyproxy.envoy.config.overload.v3.OverloadManagerOrBuilder getOverloadManagerOrBuilder() { return getOverloadManager(); } public static final int ENABLE_DISPATCHER_STATS_FIELD_NUMBER = 16; private boolean enableDispatcherStats_; /** *
   * 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_v3_api_msg_config.metrics.v3.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; * @return The enableDispatcherStats. */ @java.lang.Override public boolean getEnableDispatcherStats() { return enableDispatcherStats_; } public static final int HEADER_PREFIX_FIELD_NUMBER = 18; private volatile java.lang.Object headerPrefix_; /** *
   * 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; * @return The headerPrefix. */ @java.lang.Override public java.lang.String getHeaderPrefix() { java.lang.Object ref = headerPrefix_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); headerPrefix_ = s; return s; } } /** *
   * 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; * @return The bytes for headerPrefix. */ @java.lang.Override public com.google.protobuf.ByteString getHeaderPrefixBytes() { java.lang.Object ref = headerPrefix_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); headerPrefix_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int STATS_SERVER_VERSION_OVERRIDE_FIELD_NUMBER = 19; private com.google.protobuf.UInt64Value statsServerVersionOverride_; /** *
   * 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_v3_api_msg_config.metrics.v3.StatsSink>`.
   * 
* * .google.protobuf.UInt64Value stats_server_version_override = 19; * @return Whether the statsServerVersionOverride field is set. */ @java.lang.Override public boolean hasStatsServerVersionOverride() { return statsServerVersionOverride_ != null; } /** *
   * 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_v3_api_msg_config.metrics.v3.StatsSink>`.
   * 
* * .google.protobuf.UInt64Value stats_server_version_override = 19; * @return The statsServerVersionOverride. */ @java.lang.Override public com.google.protobuf.UInt64Value getStatsServerVersionOverride() { return statsServerVersionOverride_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : statsServerVersionOverride_; } /** *
   * 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_v3_api_msg_config.metrics.v3.StatsSink>`.
   * 
* * .google.protobuf.UInt64Value stats_server_version_override = 19; */ @java.lang.Override public com.google.protobuf.UInt64ValueOrBuilder getStatsServerVersionOverrideOrBuilder() { return getStatsServerVersionOverride(); } public static final int USE_TCP_FOR_DNS_LOOKUPS_FIELD_NUMBER = 20; private boolean useTcpForDnsLookups_; /** *
   * 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_v3_api_field_config.cluster.v3.Cluster.dns_resolvers>` and
   * :ref:`use_tcp_for_dns_lookups <envoy_v3_api_field_config.cluster.v3.Cluster.use_tcp_for_dns_lookups>` are
   * specified.
   * This field is deprecated in favor of ``dns_resolution_config``
   * which aggregates all of the DNS resolver configuration in a single message.
   * 
* * bool use_tcp_for_dns_lookups = 20 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; * @deprecated envoy.config.bootstrap.v3.Bootstrap.use_tcp_for_dns_lookups is deprecated. * See envoy/config/bootstrap/v3/bootstrap.proto;l=298 * @return The useTcpForDnsLookups. */ @java.lang.Override @java.lang.Deprecated public boolean getUseTcpForDnsLookups() { return useTcpForDnsLookups_; } public static final int DNS_RESOLUTION_CONFIG_FIELD_NUMBER = 30; private io.envoyproxy.envoy.config.core.v3.DnsResolutionConfig dnsResolutionConfig_; /** *
   * DNS resolution configuration which includes the underlying dns resolver addresses and options.
   * This may be overridden on a per-cluster basis in cds_config, when
   * :ref:`dns_resolution_config <envoy_v3_api_field_config.cluster.v3.Cluster.dns_resolution_config>`
   * is specified.
   * This field is deprecated in favor of
   * :ref:`typed_dns_resolver_config <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.typed_dns_resolver_config>`.
   * 
* * .envoy.config.core.v3.DnsResolutionConfig dns_resolution_config = 30 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; * @deprecated envoy.config.bootstrap.v3.Bootstrap.dns_resolution_config is deprecated. * See envoy/config/bootstrap/v3/bootstrap.proto;l=307 * @return Whether the dnsResolutionConfig field is set. */ @java.lang.Override @java.lang.Deprecated public boolean hasDnsResolutionConfig() { return dnsResolutionConfig_ != null; } /** *
   * DNS resolution configuration which includes the underlying dns resolver addresses and options.
   * This may be overridden on a per-cluster basis in cds_config, when
   * :ref:`dns_resolution_config <envoy_v3_api_field_config.cluster.v3.Cluster.dns_resolution_config>`
   * is specified.
   * This field is deprecated in favor of
   * :ref:`typed_dns_resolver_config <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.typed_dns_resolver_config>`.
   * 
* * .envoy.config.core.v3.DnsResolutionConfig dns_resolution_config = 30 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; * @deprecated envoy.config.bootstrap.v3.Bootstrap.dns_resolution_config is deprecated. * See envoy/config/bootstrap/v3/bootstrap.proto;l=307 * @return The dnsResolutionConfig. */ @java.lang.Override @java.lang.Deprecated public io.envoyproxy.envoy.config.core.v3.DnsResolutionConfig getDnsResolutionConfig() { return dnsResolutionConfig_ == null ? io.envoyproxy.envoy.config.core.v3.DnsResolutionConfig.getDefaultInstance() : dnsResolutionConfig_; } /** *
   * DNS resolution configuration which includes the underlying dns resolver addresses and options.
   * This may be overridden on a per-cluster basis in cds_config, when
   * :ref:`dns_resolution_config <envoy_v3_api_field_config.cluster.v3.Cluster.dns_resolution_config>`
   * is specified.
   * This field is deprecated in favor of
   * :ref:`typed_dns_resolver_config <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.typed_dns_resolver_config>`.
   * 
* * .envoy.config.core.v3.DnsResolutionConfig dns_resolution_config = 30 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; */ @java.lang.Override @java.lang.Deprecated public io.envoyproxy.envoy.config.core.v3.DnsResolutionConfigOrBuilder getDnsResolutionConfigOrBuilder() { return getDnsResolutionConfig(); } public static final int TYPED_DNS_RESOLVER_CONFIG_FIELD_NUMBER = 31; private io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig typedDnsResolverConfig_; /** *
   * DNS resolver type configuration extension. This extension can be used to configure c-ares, apple,
   * or any other DNS resolver types and the related parameters.
   * For example, an object of
   * :ref:`CaresDnsResolverConfig <envoy_v3_api_msg_extensions.network.dns_resolver.cares.v3.CaresDnsResolverConfig>`
   * can be packed into this ``typed_dns_resolver_config``. This configuration replaces the
   * :ref:`dns_resolution_config <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.dns_resolution_config>`
   * configuration.
   * During the transition period when both ``dns_resolution_config`` and ``typed_dns_resolver_config`` exists,
   * when ``typed_dns_resolver_config`` is in place, Envoy will use it and ignore ``dns_resolution_config``.
   * When ``typed_dns_resolver_config`` is missing, the default behavior is in place.
   * [#extension-category: envoy.network.dns_resolver]
   * 
* * .envoy.config.core.v3.TypedExtensionConfig typed_dns_resolver_config = 31; * @return Whether the typedDnsResolverConfig field is set. */ @java.lang.Override public boolean hasTypedDnsResolverConfig() { return typedDnsResolverConfig_ != null; } /** *
   * DNS resolver type configuration extension. This extension can be used to configure c-ares, apple,
   * or any other DNS resolver types and the related parameters.
   * For example, an object of
   * :ref:`CaresDnsResolverConfig <envoy_v3_api_msg_extensions.network.dns_resolver.cares.v3.CaresDnsResolverConfig>`
   * can be packed into this ``typed_dns_resolver_config``. This configuration replaces the
   * :ref:`dns_resolution_config <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.dns_resolution_config>`
   * configuration.
   * During the transition period when both ``dns_resolution_config`` and ``typed_dns_resolver_config`` exists,
   * when ``typed_dns_resolver_config`` is in place, Envoy will use it and ignore ``dns_resolution_config``.
   * When ``typed_dns_resolver_config`` is missing, the default behavior is in place.
   * [#extension-category: envoy.network.dns_resolver]
   * 
* * .envoy.config.core.v3.TypedExtensionConfig typed_dns_resolver_config = 31; * @return The typedDnsResolverConfig. */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig getTypedDnsResolverConfig() { return typedDnsResolverConfig_ == null ? io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.getDefaultInstance() : typedDnsResolverConfig_; } /** *
   * DNS resolver type configuration extension. This extension can be used to configure c-ares, apple,
   * or any other DNS resolver types and the related parameters.
   * For example, an object of
   * :ref:`CaresDnsResolverConfig <envoy_v3_api_msg_extensions.network.dns_resolver.cares.v3.CaresDnsResolverConfig>`
   * can be packed into this ``typed_dns_resolver_config``. This configuration replaces the
   * :ref:`dns_resolution_config <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.dns_resolution_config>`
   * configuration.
   * During the transition period when both ``dns_resolution_config`` and ``typed_dns_resolver_config`` exists,
   * when ``typed_dns_resolver_config`` is in place, Envoy will use it and ignore ``dns_resolution_config``.
   * When ``typed_dns_resolver_config`` is missing, the default behavior is in place.
   * [#extension-category: envoy.network.dns_resolver]
   * 
* * .envoy.config.core.v3.TypedExtensionConfig typed_dns_resolver_config = 31; */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.TypedExtensionConfigOrBuilder getTypedDnsResolverConfigOrBuilder() { return getTypedDnsResolverConfig(); } public static final int BOOTSTRAP_EXTENSIONS_FIELD_NUMBER = 21; private java.util.List bootstrapExtensions_; /** *
   * Specifies optional bootstrap extensions to be instantiated at startup time.
   * Each item contains extension specific configuration.
   * [#extension-category: envoy.bootstrap]
   * 
* * repeated .envoy.config.core.v3.TypedExtensionConfig bootstrap_extensions = 21; */ @java.lang.Override public java.util.List getBootstrapExtensionsList() { return bootstrapExtensions_; } /** *
   * Specifies optional bootstrap extensions to be instantiated at startup time.
   * Each item contains extension specific configuration.
   * [#extension-category: envoy.bootstrap]
   * 
* * repeated .envoy.config.core.v3.TypedExtensionConfig bootstrap_extensions = 21; */ @java.lang.Override public java.util.List getBootstrapExtensionsOrBuilderList() { return bootstrapExtensions_; } /** *
   * Specifies optional bootstrap extensions to be instantiated at startup time.
   * Each item contains extension specific configuration.
   * [#extension-category: envoy.bootstrap]
   * 
* * repeated .envoy.config.core.v3.TypedExtensionConfig bootstrap_extensions = 21; */ @java.lang.Override public int getBootstrapExtensionsCount() { return bootstrapExtensions_.size(); } /** *
   * Specifies optional bootstrap extensions to be instantiated at startup time.
   * Each item contains extension specific configuration.
   * [#extension-category: envoy.bootstrap]
   * 
* * repeated .envoy.config.core.v3.TypedExtensionConfig bootstrap_extensions = 21; */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig getBootstrapExtensions(int index) { return bootstrapExtensions_.get(index); } /** *
   * Specifies optional bootstrap extensions to be instantiated at startup time.
   * Each item contains extension specific configuration.
   * [#extension-category: envoy.bootstrap]
   * 
* * repeated .envoy.config.core.v3.TypedExtensionConfig bootstrap_extensions = 21; */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.TypedExtensionConfigOrBuilder getBootstrapExtensionsOrBuilder( int index) { return bootstrapExtensions_.get(index); } public static final int FATAL_ACTIONS_FIELD_NUMBER = 28; private java.util.List fatalActions_; /** *
   * Specifies optional extensions instantiated at startup time and
   * invoked during crash time on the request that caused the crash.
   * 
* * repeated .envoy.config.bootstrap.v3.FatalAction fatal_actions = 28; */ @java.lang.Override public java.util.List getFatalActionsList() { return fatalActions_; } /** *
   * Specifies optional extensions instantiated at startup time and
   * invoked during crash time on the request that caused the crash.
   * 
* * repeated .envoy.config.bootstrap.v3.FatalAction fatal_actions = 28; */ @java.lang.Override public java.util.List getFatalActionsOrBuilderList() { return fatalActions_; } /** *
   * Specifies optional extensions instantiated at startup time and
   * invoked during crash time on the request that caused the crash.
   * 
* * repeated .envoy.config.bootstrap.v3.FatalAction fatal_actions = 28; */ @java.lang.Override public int getFatalActionsCount() { return fatalActions_.size(); } /** *
   * Specifies optional extensions instantiated at startup time and
   * invoked during crash time on the request that caused the crash.
   * 
* * repeated .envoy.config.bootstrap.v3.FatalAction fatal_actions = 28; */ @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.FatalAction getFatalActions(int index) { return fatalActions_.get(index); } /** *
   * Specifies optional extensions instantiated at startup time and
   * invoked during crash time on the request that caused the crash.
   * 
* * repeated .envoy.config.bootstrap.v3.FatalAction fatal_actions = 28; */ @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.FatalActionOrBuilder getFatalActionsOrBuilder( int index) { return fatalActions_.get(index); } public static final int CONFIG_SOURCES_FIELD_NUMBER = 22; private java.util.List configSources_; /** *
   * Configuration sources that will participate in
   * xdstp:// URL authority resolution. The algorithm is as
   * follows:
   * 1. The authority field is taken from the xdstp:// URL, call
   *    this ``resource_authority``.
   * 2. ``resource_authority`` is compared against the authorities in any peer
   *    ``ConfigSource``. The peer ``ConfigSource`` is the configuration source
   *    message which would have been used unconditionally for resolution
   *    with opaque resource names. If there is a match with an authority, the
   *    peer ``ConfigSource`` message is used.
   * 3. ``resource_authority`` is compared sequentially with the authorities in
   *    each configuration source in ``config_sources``. The first ``ConfigSource``
   *    to match wins.
   * 4. As a fallback, if no configuration source matches, then
   *    ``default_config_source`` is used.
   * 5. If ``default_config_source`` is not specified, resolution fails.
   * [#not-implemented-hide:]
   * 
* * repeated .envoy.config.core.v3.ConfigSource config_sources = 22; */ @java.lang.Override public java.util.List getConfigSourcesList() { return configSources_; } /** *
   * Configuration sources that will participate in
   * xdstp:// URL authority resolution. The algorithm is as
   * follows:
   * 1. The authority field is taken from the xdstp:// URL, call
   *    this ``resource_authority``.
   * 2. ``resource_authority`` is compared against the authorities in any peer
   *    ``ConfigSource``. The peer ``ConfigSource`` is the configuration source
   *    message which would have been used unconditionally for resolution
   *    with opaque resource names. If there is a match with an authority, the
   *    peer ``ConfigSource`` message is used.
   * 3. ``resource_authority`` is compared sequentially with the authorities in
   *    each configuration source in ``config_sources``. The first ``ConfigSource``
   *    to match wins.
   * 4. As a fallback, if no configuration source matches, then
   *    ``default_config_source`` is used.
   * 5. If ``default_config_source`` is not specified, resolution fails.
   * [#not-implemented-hide:]
   * 
* * repeated .envoy.config.core.v3.ConfigSource config_sources = 22; */ @java.lang.Override public java.util.List getConfigSourcesOrBuilderList() { return configSources_; } /** *
   * Configuration sources that will participate in
   * xdstp:// URL authority resolution. The algorithm is as
   * follows:
   * 1. The authority field is taken from the xdstp:// URL, call
   *    this ``resource_authority``.
   * 2. ``resource_authority`` is compared against the authorities in any peer
   *    ``ConfigSource``. The peer ``ConfigSource`` is the configuration source
   *    message which would have been used unconditionally for resolution
   *    with opaque resource names. If there is a match with an authority, the
   *    peer ``ConfigSource`` message is used.
   * 3. ``resource_authority`` is compared sequentially with the authorities in
   *    each configuration source in ``config_sources``. The first ``ConfigSource``
   *    to match wins.
   * 4. As a fallback, if no configuration source matches, then
   *    ``default_config_source`` is used.
   * 5. If ``default_config_source`` is not specified, resolution fails.
   * [#not-implemented-hide:]
   * 
* * repeated .envoy.config.core.v3.ConfigSource config_sources = 22; */ @java.lang.Override public int getConfigSourcesCount() { return configSources_.size(); } /** *
   * Configuration sources that will participate in
   * xdstp:// URL authority resolution. The algorithm is as
   * follows:
   * 1. The authority field is taken from the xdstp:// URL, call
   *    this ``resource_authority``.
   * 2. ``resource_authority`` is compared against the authorities in any peer
   *    ``ConfigSource``. The peer ``ConfigSource`` is the configuration source
   *    message which would have been used unconditionally for resolution
   *    with opaque resource names. If there is a match with an authority, the
   *    peer ``ConfigSource`` message is used.
   * 3. ``resource_authority`` is compared sequentially with the authorities in
   *    each configuration source in ``config_sources``. The first ``ConfigSource``
   *    to match wins.
   * 4. As a fallback, if no configuration source matches, then
   *    ``default_config_source`` is used.
   * 5. If ``default_config_source`` is not specified, resolution fails.
   * [#not-implemented-hide:]
   * 
* * repeated .envoy.config.core.v3.ConfigSource config_sources = 22; */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.ConfigSource getConfigSources(int index) { return configSources_.get(index); } /** *
   * Configuration sources that will participate in
   * xdstp:// URL authority resolution. The algorithm is as
   * follows:
   * 1. The authority field is taken from the xdstp:// URL, call
   *    this ``resource_authority``.
   * 2. ``resource_authority`` is compared against the authorities in any peer
   *    ``ConfigSource``. The peer ``ConfigSource`` is the configuration source
   *    message which would have been used unconditionally for resolution
   *    with opaque resource names. If there is a match with an authority, the
   *    peer ``ConfigSource`` message is used.
   * 3. ``resource_authority`` is compared sequentially with the authorities in
   *    each configuration source in ``config_sources``. The first ``ConfigSource``
   *    to match wins.
   * 4. As a fallback, if no configuration source matches, then
   *    ``default_config_source`` is used.
   * 5. If ``default_config_source`` is not specified, resolution fails.
   * [#not-implemented-hide:]
   * 
* * repeated .envoy.config.core.v3.ConfigSource config_sources = 22; */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.ConfigSourceOrBuilder getConfigSourcesOrBuilder( int index) { return configSources_.get(index); } public static final int DEFAULT_CONFIG_SOURCE_FIELD_NUMBER = 23; private io.envoyproxy.envoy.config.core.v3.ConfigSource defaultConfigSource_; /** *
   * Default configuration source for xdstp:// URLs if all
   * other resolution fails.
   * [#not-implemented-hide:]
   * 
* * .envoy.config.core.v3.ConfigSource default_config_source = 23; * @return Whether the defaultConfigSource field is set. */ @java.lang.Override public boolean hasDefaultConfigSource() { return defaultConfigSource_ != null; } /** *
   * Default configuration source for xdstp:// URLs if all
   * other resolution fails.
   * [#not-implemented-hide:]
   * 
* * .envoy.config.core.v3.ConfigSource default_config_source = 23; * @return The defaultConfigSource. */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.ConfigSource getDefaultConfigSource() { return defaultConfigSource_ == null ? io.envoyproxy.envoy.config.core.v3.ConfigSource.getDefaultInstance() : defaultConfigSource_; } /** *
   * Default configuration source for xdstp:// URLs if all
   * other resolution fails.
   * [#not-implemented-hide:]
   * 
* * .envoy.config.core.v3.ConfigSource default_config_source = 23; */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.ConfigSourceOrBuilder getDefaultConfigSourceOrBuilder() { return getDefaultConfigSource(); } public static final int DEFAULT_SOCKET_INTERFACE_FIELD_NUMBER = 24; private volatile java.lang.Object defaultSocketInterface_; /** *
   * Optional overriding of default socket interface. The value must be the name of one of the
   * socket interface factories initialized through a bootstrap extension
   * 
* * string default_socket_interface = 24; * @return The defaultSocketInterface. */ @java.lang.Override public java.lang.String getDefaultSocketInterface() { java.lang.Object ref = defaultSocketInterface_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultSocketInterface_ = s; return s; } } /** *
   * Optional overriding of default socket interface. The value must be the name of one of the
   * socket interface factories initialized through a bootstrap extension
   * 
* * string default_socket_interface = 24; * @return The bytes for defaultSocketInterface. */ @java.lang.Override public com.google.protobuf.ByteString getDefaultSocketInterfaceBytes() { java.lang.Object ref = defaultSocketInterface_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); defaultSocketInterface_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CERTIFICATE_PROVIDER_INSTANCES_FIELD_NUMBER = 25; private static final class CertificateProviderInstancesDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( io.envoyproxy.envoy.config.bootstrap.v3.BootstrapProto.internal_static_envoy_config_bootstrap_v3_Bootstrap_CertificateProviderInstancesEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.MESSAGE, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.getDefaultInstance()); } private com.google.protobuf.MapField< java.lang.String, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig> certificateProviderInstances_; private com.google.protobuf.MapField internalGetCertificateProviderInstances() { if (certificateProviderInstances_ == null) { return com.google.protobuf.MapField.emptyMapField( CertificateProviderInstancesDefaultEntryHolder.defaultEntry); } return certificateProviderInstances_; } public int getCertificateProviderInstancesCount() { return internalGetCertificateProviderInstances().getMap().size(); } /** *
   * Global map of CertificateProvider instances. These instances are referred to by name in the
   * :ref:`CommonTlsContext.CertificateProviderInstance.instance_name
   * <envoy_v3_api_field_extensions.transport_sockets.tls.v3.CommonTlsContext.CertificateProviderInstance.instance_name>`
   * field.
   * [#not-implemented-hide:]
   * 
* * map<string, .envoy.config.core.v3.TypedExtensionConfig> certificate_provider_instances = 25; */ @java.lang.Override public boolean containsCertificateProviderInstances( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetCertificateProviderInstances().getMap().containsKey(key); } /** * Use {@link #getCertificateProviderInstancesMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getCertificateProviderInstances() { return getCertificateProviderInstancesMap(); } /** *
   * Global map of CertificateProvider instances. These instances are referred to by name in the
   * :ref:`CommonTlsContext.CertificateProviderInstance.instance_name
   * <envoy_v3_api_field_extensions.transport_sockets.tls.v3.CommonTlsContext.CertificateProviderInstance.instance_name>`
   * field.
   * [#not-implemented-hide:]
   * 
* * map<string, .envoy.config.core.v3.TypedExtensionConfig> certificate_provider_instances = 25; */ @java.lang.Override public java.util.Map getCertificateProviderInstancesMap() { return internalGetCertificateProviderInstances().getMap(); } /** *
   * Global map of CertificateProvider instances. These instances are referred to by name in the
   * :ref:`CommonTlsContext.CertificateProviderInstance.instance_name
   * <envoy_v3_api_field_extensions.transport_sockets.tls.v3.CommonTlsContext.CertificateProviderInstance.instance_name>`
   * field.
   * [#not-implemented-hide:]
   * 
* * map<string, .envoy.config.core.v3.TypedExtensionConfig> certificate_provider_instances = 25; */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig getCertificateProviderInstancesOrDefault( java.lang.String key, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetCertificateProviderInstances().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
   * Global map of CertificateProvider instances. These instances are referred to by name in the
   * :ref:`CommonTlsContext.CertificateProviderInstance.instance_name
   * <envoy_v3_api_field_extensions.transport_sockets.tls.v3.CommonTlsContext.CertificateProviderInstance.instance_name>`
   * field.
   * [#not-implemented-hide:]
   * 
* * map<string, .envoy.config.core.v3.TypedExtensionConfig> certificate_provider_instances = 25; */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig getCertificateProviderInstancesOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetCertificateProviderInstances().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int INLINE_HEADERS_FIELD_NUMBER = 32; private java.util.List inlineHeaders_; /** *
   * Specifies a set of headers that need to be registered as inline header. This configuration
   * allows users to customize the inline headers on-demand at Envoy startup without modifying
   * Envoy's source code.
   * Note that the 'set-cookie' header cannot be registered as inline header.
   * 
* * repeated .envoy.config.bootstrap.v3.CustomInlineHeader inline_headers = 32; */ @java.lang.Override public java.util.List getInlineHeadersList() { return inlineHeaders_; } /** *
   * Specifies a set of headers that need to be registered as inline header. This configuration
   * allows users to customize the inline headers on-demand at Envoy startup without modifying
   * Envoy's source code.
   * Note that the 'set-cookie' header cannot be registered as inline header.
   * 
* * repeated .envoy.config.bootstrap.v3.CustomInlineHeader inline_headers = 32; */ @java.lang.Override public java.util.List getInlineHeadersOrBuilderList() { return inlineHeaders_; } /** *
   * Specifies a set of headers that need to be registered as inline header. This configuration
   * allows users to customize the inline headers on-demand at Envoy startup without modifying
   * Envoy's source code.
   * Note that the 'set-cookie' header cannot be registered as inline header.
   * 
* * repeated .envoy.config.bootstrap.v3.CustomInlineHeader inline_headers = 32; */ @java.lang.Override public int getInlineHeadersCount() { return inlineHeaders_.size(); } /** *
   * Specifies a set of headers that need to be registered as inline header. This configuration
   * allows users to customize the inline headers on-demand at Envoy startup without modifying
   * Envoy's source code.
   * Note that the 'set-cookie' header cannot be registered as inline header.
   * 
* * repeated .envoy.config.bootstrap.v3.CustomInlineHeader inline_headers = 32; */ @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.CustomInlineHeader getInlineHeaders(int index) { return inlineHeaders_.get(index); } /** *
   * Specifies a set of headers that need to be registered as inline header. This configuration
   * allows users to customize the inline headers on-demand at Envoy startup without modifying
   * Envoy's source code.
   * Note that the 'set-cookie' header cannot be registered as inline header.
   * 
* * repeated .envoy.config.bootstrap.v3.CustomInlineHeader inline_headers = 32; */ @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.CustomInlineHeaderOrBuilder getInlineHeadersOrBuilder( int index) { return inlineHeaders_.get(index); } public static final int PERF_TRACING_FILE_PATH_FIELD_NUMBER = 33; private volatile java.lang.Object perfTracingFilePath_; /** *
   * Optional path to a file with performance tracing data created by "Perfetto" SDK in binary
   * ProtoBuf format. The default value is "envoy.pftrace".
   * 
* * string perf_tracing_file_path = 33; * @return The perfTracingFilePath. */ @java.lang.Override public java.lang.String getPerfTracingFilePath() { java.lang.Object ref = perfTracingFilePath_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); perfTracingFilePath_ = s; return s; } } /** *
   * Optional path to a file with performance tracing data created by "Perfetto" SDK in binary
   * ProtoBuf format. The default value is "envoy.pftrace".
   * 
* * string perf_tracing_file_path = 33; * @return The bytes for perfTracingFilePath. */ @java.lang.Override public com.google.protobuf.ByteString getPerfTracingFilePathBytes() { java.lang.Object ref = perfTracingFilePath_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); perfTracingFilePath_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DEFAULT_REGEX_ENGINE_FIELD_NUMBER = 34; private io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig defaultRegexEngine_; /** *
   * Optional overriding of default regex engine.
   * If the value is not specified, Google RE2 will be used by default.
   * [#extension-category: envoy.regex_engines]
   * 
* * .envoy.config.core.v3.TypedExtensionConfig default_regex_engine = 34; * @return Whether the defaultRegexEngine field is set. */ @java.lang.Override public boolean hasDefaultRegexEngine() { return defaultRegexEngine_ != null; } /** *
   * Optional overriding of default regex engine.
   * If the value is not specified, Google RE2 will be used by default.
   * [#extension-category: envoy.regex_engines]
   * 
* * .envoy.config.core.v3.TypedExtensionConfig default_regex_engine = 34; * @return The defaultRegexEngine. */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig getDefaultRegexEngine() { return defaultRegexEngine_ == null ? io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.getDefaultInstance() : defaultRegexEngine_; } /** *
   * Optional overriding of default regex engine.
   * If the value is not specified, Google RE2 will be used by default.
   * [#extension-category: envoy.regex_engines]
   * 
* * .envoy.config.core.v3.TypedExtensionConfig default_regex_engine = 34; */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.TypedExtensionConfigOrBuilder getDefaultRegexEngineOrBuilder() { return getDefaultRegexEngine(); } public static final int XDS_DELEGATE_EXTENSION_FIELD_NUMBER = 35; private io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig xdsDelegateExtension_; /** *
   * Optional XdsResourcesDelegate configuration, which allows plugging custom logic into both
   * fetch and load events during xDS processing.
   * If a value is not specified, no XdsResourcesDelegate will be used.
   * TODO(abeyad): Add public-facing documentation.
   * [#not-implemented-hide:]
   * 
* * .envoy.config.core.v3.TypedExtensionConfig xds_delegate_extension = 35; * @return Whether the xdsDelegateExtension field is set. */ @java.lang.Override public boolean hasXdsDelegateExtension() { return xdsDelegateExtension_ != null; } /** *
   * Optional XdsResourcesDelegate configuration, which allows plugging custom logic into both
   * fetch and load events during xDS processing.
   * If a value is not specified, no XdsResourcesDelegate will be used.
   * TODO(abeyad): Add public-facing documentation.
   * [#not-implemented-hide:]
   * 
* * .envoy.config.core.v3.TypedExtensionConfig xds_delegate_extension = 35; * @return The xdsDelegateExtension. */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig getXdsDelegateExtension() { return xdsDelegateExtension_ == null ? io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.getDefaultInstance() : xdsDelegateExtension_; } /** *
   * Optional XdsResourcesDelegate configuration, which allows plugging custom logic into both
   * fetch and load events during xDS processing.
   * If a value is not specified, no XdsResourcesDelegate will be used.
   * TODO(abeyad): Add public-facing documentation.
   * [#not-implemented-hide:]
   * 
* * .envoy.config.core.v3.TypedExtensionConfig xds_delegate_extension = 35; */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.TypedExtensionConfigOrBuilder getXdsDelegateExtensionOrBuilder() { return getXdsDelegateExtension(); } public static final int XDS_CONFIG_TRACKER_EXTENSION_FIELD_NUMBER = 36; private io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig xdsConfigTrackerExtension_; /** *
   * Optional XdsConfigTracker configuration, which allows tracking xDS responses in external components,
   * e.g., external tracer or monitor. It provides the process point when receive, ingest, or fail to
   * process xDS resources and messages. If a value is not specified, no XdsConfigTracker will be used.
   * .. note::
   *    There are no in-repo extensions currently, and the :repo:`XdsConfigTracker <envoy/config/xds_config_tracker.h>`
   *    interface should be implemented before using.
   *    See :repo:`xds_config_tracker_integration_test <test/integration/xds_config_tracker_integration_test.cc>`
   *    for an example usage of the interface.
   * 
* * .envoy.config.core.v3.TypedExtensionConfig xds_config_tracker_extension = 36; * @return Whether the xdsConfigTrackerExtension field is set. */ @java.lang.Override public boolean hasXdsConfigTrackerExtension() { return xdsConfigTrackerExtension_ != null; } /** *
   * Optional XdsConfigTracker configuration, which allows tracking xDS responses in external components,
   * e.g., external tracer or monitor. It provides the process point when receive, ingest, or fail to
   * process xDS resources and messages. If a value is not specified, no XdsConfigTracker will be used.
   * .. note::
   *    There are no in-repo extensions currently, and the :repo:`XdsConfigTracker <envoy/config/xds_config_tracker.h>`
   *    interface should be implemented before using.
   *    See :repo:`xds_config_tracker_integration_test <test/integration/xds_config_tracker_integration_test.cc>`
   *    for an example usage of the interface.
   * 
* * .envoy.config.core.v3.TypedExtensionConfig xds_config_tracker_extension = 36; * @return The xdsConfigTrackerExtension. */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig getXdsConfigTrackerExtension() { return xdsConfigTrackerExtension_ == null ? io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.getDefaultInstance() : xdsConfigTrackerExtension_; } /** *
   * Optional XdsConfigTracker configuration, which allows tracking xDS responses in external components,
   * e.g., external tracer or monitor. It provides the process point when receive, ingest, or fail to
   * process xDS resources and messages. If a value is not specified, no XdsConfigTracker will be used.
   * .. note::
   *    There are no in-repo extensions currently, and the :repo:`XdsConfigTracker <envoy/config/xds_config_tracker.h>`
   *    interface should be implemented before using.
   *    See :repo:`xds_config_tracker_integration_test <test/integration/xds_config_tracker_integration_test.cc>`
   *    for an example usage of the interface.
   * 
* * .envoy.config.core.v3.TypedExtensionConfig xds_config_tracker_extension = 36; */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.TypedExtensionConfigOrBuilder getXdsConfigTrackerExtensionOrBuilder() { return getXdsConfigTrackerExtension(); } public static final int LISTENER_MANAGER_FIELD_NUMBER = 37; private io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig listenerManager_; /** *
   * [#not-implemented-hide:]
   * This controls the type of listener manager configured for Envoy. Currently
   * Envoy only supports ListenerManager for this field and Envoy Mobile
   * supports ApiListenerManager.
   * 
* * .envoy.config.core.v3.TypedExtensionConfig listener_manager = 37; * @return Whether the listenerManager field is set. */ @java.lang.Override public boolean hasListenerManager() { return listenerManager_ != null; } /** *
   * [#not-implemented-hide:]
   * This controls the type of listener manager configured for Envoy. Currently
   * Envoy only supports ListenerManager for this field and Envoy Mobile
   * supports ApiListenerManager.
   * 
* * .envoy.config.core.v3.TypedExtensionConfig listener_manager = 37; * @return The listenerManager. */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig getListenerManager() { return listenerManager_ == null ? io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.getDefaultInstance() : listenerManager_; } /** *
   * [#not-implemented-hide:]
   * This controls the type of listener manager configured for Envoy. Currently
   * Envoy only supports ListenerManager for this field and Envoy Mobile
   * supports ApiListenerManager.
   * 
* * .envoy.config.core.v3.TypedExtensionConfig listener_manager = 37; */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.TypedExtensionConfigOrBuilder getListenerManagerOrBuilder() { return getListenerManager(); } public static final int APPLICATION_LOG_CONFIG_FIELD_NUMBER = 38; private io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig applicationLogConfig_; /** *
   * Optional application log configuration.
   * 
* * .envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig application_log_config = 38; * @return Whether the applicationLogConfig field is set. */ @java.lang.Override public boolean hasApplicationLogConfig() { return applicationLogConfig_ != null; } /** *
   * Optional application log configuration.
   * 
* * .envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig application_log_config = 38; * @return The applicationLogConfig. */ @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig getApplicationLogConfig() { return applicationLogConfig_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.getDefaultInstance() : applicationLogConfig_; } /** *
   * Optional application log configuration.
   * 
* * .envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig application_log_config = 38; */ @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfigOrBuilder getApplicationLogConfigOrBuilder() { return getApplicationLogConfig(); } public static final int GRPC_ASYNC_CLIENT_MANAGER_CONFIG_FIELD_NUMBER = 40; private io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig grpcAsyncClientManagerConfig_; /** *
   * Optional gRPC async manager config.
   * 
* * .envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig grpc_async_client_manager_config = 40; * @return Whether the grpcAsyncClientManagerConfig field is set. */ @java.lang.Override public boolean hasGrpcAsyncClientManagerConfig() { return grpcAsyncClientManagerConfig_ != null; } /** *
   * Optional gRPC async manager config.
   * 
* * .envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig grpc_async_client_manager_config = 40; * @return The grpcAsyncClientManagerConfig. */ @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig getGrpcAsyncClientManagerConfig() { return grpcAsyncClientManagerConfig_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig.getDefaultInstance() : grpcAsyncClientManagerConfig_; } /** *
   * Optional gRPC async manager config.
   * 
* * .envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig grpc_async_client_manager_config = 40; */ @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfigOrBuilder getGrpcAsyncClientManagerConfigOrBuilder() { return getGrpcAsyncClientManagerConfig(); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (node_ != null) { output.writeMessage(1, getNode()); } if (staticResources_ != null) { output.writeMessage(2, getStaticResources()); } if (dynamicResources_ != null) { output.writeMessage(3, getDynamicResources()); } if (clusterManager_ != null) { output.writeMessage(4, getClusterManager()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(flagsPath_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, flagsPath_); } for (int i = 0; i < statsSinks_.size(); i++) { output.writeMessage(6, statsSinks_.get(i)); } if (statsFlushInterval_ != null) { output.writeMessage(7, getStatsFlushInterval()); } if (watchdog_ != null) { output.writeMessage(8, getWatchdog()); } if (tracing_ != null) { output.writeMessage(9, getTracing()); } if (admin_ != null) { output.writeMessage(12, getAdmin()); } if (statsConfig_ != null) { output.writeMessage(13, getStatsConfig()); } if (hdsConfig_ != null) { output.writeMessage(14, getHdsConfig()); } if (overloadManager_ != null) { output.writeMessage(15, getOverloadManager()); } if (enableDispatcherStats_ != false) { output.writeBool(16, enableDispatcherStats_); } if (layeredRuntime_ != null) { output.writeMessage(17, getLayeredRuntime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(headerPrefix_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 18, headerPrefix_); } if (statsServerVersionOverride_ != null) { output.writeMessage(19, getStatsServerVersionOverride()); } if (useTcpForDnsLookups_ != false) { output.writeBool(20, useTcpForDnsLookups_); } for (int i = 0; i < bootstrapExtensions_.size(); i++) { output.writeMessage(21, bootstrapExtensions_.get(i)); } for (int i = 0; i < configSources_.size(); i++) { output.writeMessage(22, configSources_.get(i)); } if (defaultConfigSource_ != null) { output.writeMessage(23, getDefaultConfigSource()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultSocketInterface_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 24, defaultSocketInterface_); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetCertificateProviderInstances(), CertificateProviderInstancesDefaultEntryHolder.defaultEntry, 25); for (int i = 0; i < nodeContextParams_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 26, nodeContextParams_.getRaw(i)); } if (watchdogs_ != null) { output.writeMessage(27, getWatchdogs()); } for (int i = 0; i < fatalActions_.size(); i++) { output.writeMessage(28, fatalActions_.get(i)); } if (statsFlushCase_ == 29) { output.writeBool( 29, (boolean)((java.lang.Boolean) statsFlush_)); } if (dnsResolutionConfig_ != null) { output.writeMessage(30, getDnsResolutionConfig()); } if (typedDnsResolverConfig_ != null) { output.writeMessage(31, getTypedDnsResolverConfig()); } for (int i = 0; i < inlineHeaders_.size(); i++) { output.writeMessage(32, inlineHeaders_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(perfTracingFilePath_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 33, perfTracingFilePath_); } if (defaultRegexEngine_ != null) { output.writeMessage(34, getDefaultRegexEngine()); } if (xdsDelegateExtension_ != null) { output.writeMessage(35, getXdsDelegateExtension()); } if (xdsConfigTrackerExtension_ != null) { output.writeMessage(36, getXdsConfigTrackerExtension()); } if (listenerManager_ != null) { output.writeMessage(37, getListenerManager()); } if (applicationLogConfig_ != null) { output.writeMessage(38, getApplicationLogConfig()); } if (deferredStatOptions_ != null) { output.writeMessage(39, getDeferredStatOptions()); } if (grpcAsyncClientManagerConfig_ != null) { output.writeMessage(40, getGrpcAsyncClientManagerConfig()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (node_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getNode()); } if (staticResources_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getStaticResources()); } if (dynamicResources_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getDynamicResources()); } if (clusterManager_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getClusterManager()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(flagsPath_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, flagsPath_); } for (int i = 0; i < statsSinks_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, statsSinks_.get(i)); } if (statsFlushInterval_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, getStatsFlushInterval()); } if (watchdog_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, getWatchdog()); } if (tracing_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, getTracing()); } if (admin_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(12, getAdmin()); } if (statsConfig_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(13, getStatsConfig()); } if (hdsConfig_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(14, getHdsConfig()); } if (overloadManager_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(15, getOverloadManager()); } if (enableDispatcherStats_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(16, enableDispatcherStats_); } if (layeredRuntime_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(17, getLayeredRuntime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(headerPrefix_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, headerPrefix_); } if (statsServerVersionOverride_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(19, getStatsServerVersionOverride()); } if (useTcpForDnsLookups_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(20, useTcpForDnsLookups_); } for (int i = 0; i < bootstrapExtensions_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(21, bootstrapExtensions_.get(i)); } for (int i = 0; i < configSources_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(22, configSources_.get(i)); } if (defaultConfigSource_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(23, getDefaultConfigSource()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultSocketInterface_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(24, defaultSocketInterface_); } for (java.util.Map.Entry entry : internalGetCertificateProviderInstances().getMap().entrySet()) { com.google.protobuf.MapEntry certificateProviderInstances__ = CertificateProviderInstancesDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(25, certificateProviderInstances__); } { int dataSize = 0; for (int i = 0; i < nodeContextParams_.size(); i++) { dataSize += computeStringSizeNoTag(nodeContextParams_.getRaw(i)); } size += dataSize; size += 2 * getNodeContextParamsList().size(); } if (watchdogs_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(27, getWatchdogs()); } for (int i = 0; i < fatalActions_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(28, fatalActions_.get(i)); } if (statsFlushCase_ == 29) { size += com.google.protobuf.CodedOutputStream .computeBoolSize( 29, (boolean)((java.lang.Boolean) statsFlush_)); } if (dnsResolutionConfig_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(30, getDnsResolutionConfig()); } if (typedDnsResolverConfig_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(31, getTypedDnsResolverConfig()); } for (int i = 0; i < inlineHeaders_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(32, inlineHeaders_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(perfTracingFilePath_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(33, perfTracingFilePath_); } if (defaultRegexEngine_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(34, getDefaultRegexEngine()); } if (xdsDelegateExtension_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(35, getXdsDelegateExtension()); } if (xdsConfigTrackerExtension_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(36, getXdsConfigTrackerExtension()); } if (listenerManager_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(37, getListenerManager()); } if (applicationLogConfig_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(38, getApplicationLogConfig()); } if (deferredStatOptions_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(39, getDeferredStatOptions()); } if (grpcAsyncClientManagerConfig_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(40, getGrpcAsyncClientManagerConfig()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap)) { return super.equals(obj); } io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap other = (io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap) obj; if (hasNode() != other.hasNode()) return false; if (hasNode()) { if (!getNode() .equals(other.getNode())) return false; } if (!getNodeContextParamsList() .equals(other.getNodeContextParamsList())) return false; if (hasStaticResources() != other.hasStaticResources()) return false; if (hasStaticResources()) { if (!getStaticResources() .equals(other.getStaticResources())) return false; } if (hasDynamicResources() != other.hasDynamicResources()) return false; if (hasDynamicResources()) { if (!getDynamicResources() .equals(other.getDynamicResources())) return false; } if (hasClusterManager() != other.hasClusterManager()) return false; if (hasClusterManager()) { if (!getClusterManager() .equals(other.getClusterManager())) return false; } if (hasHdsConfig() != other.hasHdsConfig()) return false; if (hasHdsConfig()) { if (!getHdsConfig() .equals(other.getHdsConfig())) return false; } if (!getFlagsPath() .equals(other.getFlagsPath())) return false; if (!getStatsSinksList() .equals(other.getStatsSinksList())) return false; if (hasDeferredStatOptions() != other.hasDeferredStatOptions()) return false; if (hasDeferredStatOptions()) { if (!getDeferredStatOptions() .equals(other.getDeferredStatOptions())) return false; } if (hasStatsConfig() != other.hasStatsConfig()) return false; if (hasStatsConfig()) { if (!getStatsConfig() .equals(other.getStatsConfig())) return false; } if (hasStatsFlushInterval() != other.hasStatsFlushInterval()) return false; if (hasStatsFlushInterval()) { if (!getStatsFlushInterval() .equals(other.getStatsFlushInterval())) return false; } if (hasWatchdog() != other.hasWatchdog()) return false; if (hasWatchdog()) { if (!getWatchdog() .equals(other.getWatchdog())) return false; } if (hasWatchdogs() != other.hasWatchdogs()) return false; if (hasWatchdogs()) { if (!getWatchdogs() .equals(other.getWatchdogs())) return false; } if (hasTracing() != other.hasTracing()) return false; if (hasTracing()) { if (!getTracing() .equals(other.getTracing())) return false; } if (hasLayeredRuntime() != other.hasLayeredRuntime()) return false; if (hasLayeredRuntime()) { if (!getLayeredRuntime() .equals(other.getLayeredRuntime())) return false; } if (hasAdmin() != other.hasAdmin()) return false; if (hasAdmin()) { if (!getAdmin() .equals(other.getAdmin())) return false; } if (hasOverloadManager() != other.hasOverloadManager()) return false; if (hasOverloadManager()) { if (!getOverloadManager() .equals(other.getOverloadManager())) return false; } if (getEnableDispatcherStats() != other.getEnableDispatcherStats()) return false; if (!getHeaderPrefix() .equals(other.getHeaderPrefix())) return false; if (hasStatsServerVersionOverride() != other.hasStatsServerVersionOverride()) return false; if (hasStatsServerVersionOverride()) { if (!getStatsServerVersionOverride() .equals(other.getStatsServerVersionOverride())) return false; } if (getUseTcpForDnsLookups() != other.getUseTcpForDnsLookups()) return false; if (hasDnsResolutionConfig() != other.hasDnsResolutionConfig()) return false; if (hasDnsResolutionConfig()) { if (!getDnsResolutionConfig() .equals(other.getDnsResolutionConfig())) return false; } if (hasTypedDnsResolverConfig() != other.hasTypedDnsResolverConfig()) return false; if (hasTypedDnsResolverConfig()) { if (!getTypedDnsResolverConfig() .equals(other.getTypedDnsResolverConfig())) return false; } if (!getBootstrapExtensionsList() .equals(other.getBootstrapExtensionsList())) return false; if (!getFatalActionsList() .equals(other.getFatalActionsList())) return false; if (!getConfigSourcesList() .equals(other.getConfigSourcesList())) return false; if (hasDefaultConfigSource() != other.hasDefaultConfigSource()) return false; if (hasDefaultConfigSource()) { if (!getDefaultConfigSource() .equals(other.getDefaultConfigSource())) return false; } if (!getDefaultSocketInterface() .equals(other.getDefaultSocketInterface())) return false; if (!internalGetCertificateProviderInstances().equals( other.internalGetCertificateProviderInstances())) return false; if (!getInlineHeadersList() .equals(other.getInlineHeadersList())) return false; if (!getPerfTracingFilePath() .equals(other.getPerfTracingFilePath())) return false; if (hasDefaultRegexEngine() != other.hasDefaultRegexEngine()) return false; if (hasDefaultRegexEngine()) { if (!getDefaultRegexEngine() .equals(other.getDefaultRegexEngine())) return false; } if (hasXdsDelegateExtension() != other.hasXdsDelegateExtension()) return false; if (hasXdsDelegateExtension()) { if (!getXdsDelegateExtension() .equals(other.getXdsDelegateExtension())) return false; } if (hasXdsConfigTrackerExtension() != other.hasXdsConfigTrackerExtension()) return false; if (hasXdsConfigTrackerExtension()) { if (!getXdsConfigTrackerExtension() .equals(other.getXdsConfigTrackerExtension())) return false; } if (hasListenerManager() != other.hasListenerManager()) return false; if (hasListenerManager()) { if (!getListenerManager() .equals(other.getListenerManager())) return false; } if (hasApplicationLogConfig() != other.hasApplicationLogConfig()) return false; if (hasApplicationLogConfig()) { if (!getApplicationLogConfig() .equals(other.getApplicationLogConfig())) return false; } if (hasGrpcAsyncClientManagerConfig() != other.hasGrpcAsyncClientManagerConfig()) return false; if (hasGrpcAsyncClientManagerConfig()) { if (!getGrpcAsyncClientManagerConfig() .equals(other.getGrpcAsyncClientManagerConfig())) return false; } if (!getStatsFlushCase().equals(other.getStatsFlushCase())) return false; switch (statsFlushCase_) { case 29: if (getStatsFlushOnAdmin() != other.getStatsFlushOnAdmin()) return false; break; case 0: default: } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasNode()) { hash = (37 * hash) + NODE_FIELD_NUMBER; hash = (53 * hash) + getNode().hashCode(); } if (getNodeContextParamsCount() > 0) { hash = (37 * hash) + NODE_CONTEXT_PARAMS_FIELD_NUMBER; hash = (53 * hash) + getNodeContextParamsList().hashCode(); } if (hasStaticResources()) { hash = (37 * hash) + STATIC_RESOURCES_FIELD_NUMBER; hash = (53 * hash) + getStaticResources().hashCode(); } if (hasDynamicResources()) { hash = (37 * hash) + DYNAMIC_RESOURCES_FIELD_NUMBER; hash = (53 * hash) + getDynamicResources().hashCode(); } if (hasClusterManager()) { hash = (37 * hash) + CLUSTER_MANAGER_FIELD_NUMBER; hash = (53 * hash) + getClusterManager().hashCode(); } if (hasHdsConfig()) { hash = (37 * hash) + HDS_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getHdsConfig().hashCode(); } hash = (37 * hash) + FLAGS_PATH_FIELD_NUMBER; hash = (53 * hash) + getFlagsPath().hashCode(); if (getStatsSinksCount() > 0) { hash = (37 * hash) + STATS_SINKS_FIELD_NUMBER; hash = (53 * hash) + getStatsSinksList().hashCode(); } if (hasDeferredStatOptions()) { hash = (37 * hash) + DEFERRED_STAT_OPTIONS_FIELD_NUMBER; hash = (53 * hash) + getDeferredStatOptions().hashCode(); } if (hasStatsConfig()) { hash = (37 * hash) + STATS_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getStatsConfig().hashCode(); } if (hasStatsFlushInterval()) { hash = (37 * hash) + STATS_FLUSH_INTERVAL_FIELD_NUMBER; hash = (53 * hash) + getStatsFlushInterval().hashCode(); } if (hasWatchdog()) { hash = (37 * hash) + WATCHDOG_FIELD_NUMBER; hash = (53 * hash) + getWatchdog().hashCode(); } if (hasWatchdogs()) { hash = (37 * hash) + WATCHDOGS_FIELD_NUMBER; hash = (53 * hash) + getWatchdogs().hashCode(); } if (hasTracing()) { hash = (37 * hash) + TRACING_FIELD_NUMBER; hash = (53 * hash) + getTracing().hashCode(); } if (hasLayeredRuntime()) { hash = (37 * hash) + LAYERED_RUNTIME_FIELD_NUMBER; hash = (53 * hash) + getLayeredRuntime().hashCode(); } if (hasAdmin()) { hash = (37 * hash) + ADMIN_FIELD_NUMBER; hash = (53 * hash) + getAdmin().hashCode(); } if (hasOverloadManager()) { hash = (37 * hash) + OVERLOAD_MANAGER_FIELD_NUMBER; hash = (53 * hash) + getOverloadManager().hashCode(); } hash = (37 * hash) + ENABLE_DISPATCHER_STATS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getEnableDispatcherStats()); hash = (37 * hash) + HEADER_PREFIX_FIELD_NUMBER; hash = (53 * hash) + getHeaderPrefix().hashCode(); if (hasStatsServerVersionOverride()) { hash = (37 * hash) + STATS_SERVER_VERSION_OVERRIDE_FIELD_NUMBER; hash = (53 * hash) + getStatsServerVersionOverride().hashCode(); } hash = (37 * hash) + USE_TCP_FOR_DNS_LOOKUPS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getUseTcpForDnsLookups()); if (hasDnsResolutionConfig()) { hash = (37 * hash) + DNS_RESOLUTION_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getDnsResolutionConfig().hashCode(); } if (hasTypedDnsResolverConfig()) { hash = (37 * hash) + TYPED_DNS_RESOLVER_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getTypedDnsResolverConfig().hashCode(); } if (getBootstrapExtensionsCount() > 0) { hash = (37 * hash) + BOOTSTRAP_EXTENSIONS_FIELD_NUMBER; hash = (53 * hash) + getBootstrapExtensionsList().hashCode(); } if (getFatalActionsCount() > 0) { hash = (37 * hash) + FATAL_ACTIONS_FIELD_NUMBER; hash = (53 * hash) + getFatalActionsList().hashCode(); } if (getConfigSourcesCount() > 0) { hash = (37 * hash) + CONFIG_SOURCES_FIELD_NUMBER; hash = (53 * hash) + getConfigSourcesList().hashCode(); } if (hasDefaultConfigSource()) { hash = (37 * hash) + DEFAULT_CONFIG_SOURCE_FIELD_NUMBER; hash = (53 * hash) + getDefaultConfigSource().hashCode(); } hash = (37 * hash) + DEFAULT_SOCKET_INTERFACE_FIELD_NUMBER; hash = (53 * hash) + getDefaultSocketInterface().hashCode(); if (!internalGetCertificateProviderInstances().getMap().isEmpty()) { hash = (37 * hash) + CERTIFICATE_PROVIDER_INSTANCES_FIELD_NUMBER; hash = (53 * hash) + internalGetCertificateProviderInstances().hashCode(); } if (getInlineHeadersCount() > 0) { hash = (37 * hash) + INLINE_HEADERS_FIELD_NUMBER; hash = (53 * hash) + getInlineHeadersList().hashCode(); } hash = (37 * hash) + PERF_TRACING_FILE_PATH_FIELD_NUMBER; hash = (53 * hash) + getPerfTracingFilePath().hashCode(); if (hasDefaultRegexEngine()) { hash = (37 * hash) + DEFAULT_REGEX_ENGINE_FIELD_NUMBER; hash = (53 * hash) + getDefaultRegexEngine().hashCode(); } if (hasXdsDelegateExtension()) { hash = (37 * hash) + XDS_DELEGATE_EXTENSION_FIELD_NUMBER; hash = (53 * hash) + getXdsDelegateExtension().hashCode(); } if (hasXdsConfigTrackerExtension()) { hash = (37 * hash) + XDS_CONFIG_TRACKER_EXTENSION_FIELD_NUMBER; hash = (53 * hash) + getXdsConfigTrackerExtension().hashCode(); } if (hasListenerManager()) { hash = (37 * hash) + LISTENER_MANAGER_FIELD_NUMBER; hash = (53 * hash) + getListenerManager().hashCode(); } if (hasApplicationLogConfig()) { hash = (37 * hash) + APPLICATION_LOG_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getApplicationLogConfig().hashCode(); } if (hasGrpcAsyncClientManagerConfig()) { hash = (37 * hash) + GRPC_ASYNC_CLIENT_MANAGER_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getGrpcAsyncClientManagerConfig().hashCode(); } switch (statsFlushCase_) { case 29: hash = (37 * hash) + STATS_FLUSH_ON_ADMIN_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getStatsFlushOnAdmin()); break; case 0: default: } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
   * Bootstrap :ref:`configuration overview <config_overview_bootstrap>`.
   * [#next-free-field: 41]
   * 
* * Protobuf type {@code envoy.config.bootstrap.v3.Bootstrap} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:envoy.config.bootstrap.v3.Bootstrap) io.envoyproxy.envoy.config.bootstrap.v3.BootstrapOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.config.bootstrap.v3.BootstrapProto.internal_static_envoy_config_bootstrap_v3_Bootstrap_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 25: return internalGetCertificateProviderInstances(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 25: return internalGetMutableCertificateProviderInstances(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.config.bootstrap.v3.BootstrapProto.internal_static_envoy_config_bootstrap_v3_Bootstrap_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.class, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.Builder.class); } // Construct using io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getStatsSinksFieldBuilder(); getBootstrapExtensionsFieldBuilder(); getFatalActionsFieldBuilder(); getConfigSourcesFieldBuilder(); getInlineHeadersFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (nodeBuilder_ == null) { node_ = null; } else { node_ = null; nodeBuilder_ = null; } nodeContextParams_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); if (staticResourcesBuilder_ == null) { staticResources_ = null; } else { staticResources_ = null; staticResourcesBuilder_ = null; } if (dynamicResourcesBuilder_ == null) { dynamicResources_ = null; } else { dynamicResources_ = null; dynamicResourcesBuilder_ = null; } if (clusterManagerBuilder_ == null) { clusterManager_ = null; } else { clusterManager_ = null; clusterManagerBuilder_ = null; } if (hdsConfigBuilder_ == null) { hdsConfig_ = null; } else { hdsConfig_ = null; hdsConfigBuilder_ = null; } flagsPath_ = ""; if (statsSinksBuilder_ == null) { statsSinks_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { statsSinksBuilder_.clear(); } if (deferredStatOptionsBuilder_ == null) { deferredStatOptions_ = null; } else { deferredStatOptions_ = null; deferredStatOptionsBuilder_ = null; } if (statsConfigBuilder_ == null) { statsConfig_ = null; } else { statsConfig_ = null; statsConfigBuilder_ = null; } if (statsFlushIntervalBuilder_ == null) { statsFlushInterval_ = null; } else { statsFlushInterval_ = null; statsFlushIntervalBuilder_ = null; } if (watchdogBuilder_ == null) { watchdog_ = null; } else { watchdog_ = null; watchdogBuilder_ = null; } if (watchdogsBuilder_ == null) { watchdogs_ = null; } else { watchdogs_ = null; watchdogsBuilder_ = null; } if (tracingBuilder_ == null) { tracing_ = null; } else { tracing_ = null; tracingBuilder_ = null; } if (layeredRuntimeBuilder_ == null) { layeredRuntime_ = null; } else { layeredRuntime_ = null; layeredRuntimeBuilder_ = null; } if (adminBuilder_ == null) { admin_ = null; } else { admin_ = null; adminBuilder_ = null; } if (overloadManagerBuilder_ == null) { overloadManager_ = null; } else { overloadManager_ = null; overloadManagerBuilder_ = null; } enableDispatcherStats_ = false; headerPrefix_ = ""; if (statsServerVersionOverrideBuilder_ == null) { statsServerVersionOverride_ = null; } else { statsServerVersionOverride_ = null; statsServerVersionOverrideBuilder_ = null; } useTcpForDnsLookups_ = false; if (dnsResolutionConfigBuilder_ == null) { dnsResolutionConfig_ = null; } else { dnsResolutionConfig_ = null; dnsResolutionConfigBuilder_ = null; } if (typedDnsResolverConfigBuilder_ == null) { typedDnsResolverConfig_ = null; } else { typedDnsResolverConfig_ = null; typedDnsResolverConfigBuilder_ = null; } if (bootstrapExtensionsBuilder_ == null) { bootstrapExtensions_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); } else { bootstrapExtensionsBuilder_.clear(); } if (fatalActionsBuilder_ == null) { fatalActions_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); } else { fatalActionsBuilder_.clear(); } if (configSourcesBuilder_ == null) { configSources_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); } else { configSourcesBuilder_.clear(); } if (defaultConfigSourceBuilder_ == null) { defaultConfigSource_ = null; } else { defaultConfigSource_ = null; defaultConfigSourceBuilder_ = null; } defaultSocketInterface_ = ""; internalGetMutableCertificateProviderInstances().clear(); if (inlineHeadersBuilder_ == null) { inlineHeaders_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000040); } else { inlineHeadersBuilder_.clear(); } perfTracingFilePath_ = ""; if (defaultRegexEngineBuilder_ == null) { defaultRegexEngine_ = null; } else { defaultRegexEngine_ = null; defaultRegexEngineBuilder_ = null; } if (xdsDelegateExtensionBuilder_ == null) { xdsDelegateExtension_ = null; } else { xdsDelegateExtension_ = null; xdsDelegateExtensionBuilder_ = null; } if (xdsConfigTrackerExtensionBuilder_ == null) { xdsConfigTrackerExtension_ = null; } else { xdsConfigTrackerExtension_ = null; xdsConfigTrackerExtensionBuilder_ = null; } if (listenerManagerBuilder_ == null) { listenerManager_ = null; } else { listenerManager_ = null; listenerManagerBuilder_ = null; } if (applicationLogConfigBuilder_ == null) { applicationLogConfig_ = null; } else { applicationLogConfig_ = null; applicationLogConfigBuilder_ = null; } if (grpcAsyncClientManagerConfigBuilder_ == null) { grpcAsyncClientManagerConfig_ = null; } else { grpcAsyncClientManagerConfig_ = null; grpcAsyncClientManagerConfigBuilder_ = null; } statsFlushCase_ = 0; statsFlush_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.envoyproxy.envoy.config.bootstrap.v3.BootstrapProto.internal_static_envoy_config_bootstrap_v3_Bootstrap_descriptor; } @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap getDefaultInstanceForType() { return io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.getDefaultInstance(); } @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap build() { io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap buildPartial() { io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap result = new io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap(this); int from_bitField0_ = bitField0_; if (nodeBuilder_ == null) { result.node_ = node_; } else { result.node_ = nodeBuilder_.build(); } if (((bitField0_ & 0x00000001) != 0)) { nodeContextParams_ = nodeContextParams_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); } result.nodeContextParams_ = nodeContextParams_; if (staticResourcesBuilder_ == null) { result.staticResources_ = staticResources_; } else { result.staticResources_ = staticResourcesBuilder_.build(); } if (dynamicResourcesBuilder_ == null) { result.dynamicResources_ = dynamicResources_; } else { result.dynamicResources_ = dynamicResourcesBuilder_.build(); } if (clusterManagerBuilder_ == null) { result.clusterManager_ = clusterManager_; } else { result.clusterManager_ = clusterManagerBuilder_.build(); } if (hdsConfigBuilder_ == null) { result.hdsConfig_ = hdsConfig_; } else { result.hdsConfig_ = hdsConfigBuilder_.build(); } result.flagsPath_ = flagsPath_; if (statsSinksBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { statsSinks_ = java.util.Collections.unmodifiableList(statsSinks_); bitField0_ = (bitField0_ & ~0x00000002); } result.statsSinks_ = statsSinks_; } else { result.statsSinks_ = statsSinksBuilder_.build(); } if (deferredStatOptionsBuilder_ == null) { result.deferredStatOptions_ = deferredStatOptions_; } else { result.deferredStatOptions_ = deferredStatOptionsBuilder_.build(); } if (statsConfigBuilder_ == null) { result.statsConfig_ = statsConfig_; } else { result.statsConfig_ = statsConfigBuilder_.build(); } if (statsFlushIntervalBuilder_ == null) { result.statsFlushInterval_ = statsFlushInterval_; } else { result.statsFlushInterval_ = statsFlushIntervalBuilder_.build(); } if (statsFlushCase_ == 29) { result.statsFlush_ = statsFlush_; } if (watchdogBuilder_ == null) { result.watchdog_ = watchdog_; } else { result.watchdog_ = watchdogBuilder_.build(); } if (watchdogsBuilder_ == null) { result.watchdogs_ = watchdogs_; } else { result.watchdogs_ = watchdogsBuilder_.build(); } if (tracingBuilder_ == null) { result.tracing_ = tracing_; } else { result.tracing_ = tracingBuilder_.build(); } if (layeredRuntimeBuilder_ == null) { result.layeredRuntime_ = layeredRuntime_; } else { result.layeredRuntime_ = layeredRuntimeBuilder_.build(); } if (adminBuilder_ == null) { result.admin_ = admin_; } else { result.admin_ = adminBuilder_.build(); } if (overloadManagerBuilder_ == null) { result.overloadManager_ = overloadManager_; } else { result.overloadManager_ = overloadManagerBuilder_.build(); } result.enableDispatcherStats_ = enableDispatcherStats_; result.headerPrefix_ = headerPrefix_; if (statsServerVersionOverrideBuilder_ == null) { result.statsServerVersionOverride_ = statsServerVersionOverride_; } else { result.statsServerVersionOverride_ = statsServerVersionOverrideBuilder_.build(); } result.useTcpForDnsLookups_ = useTcpForDnsLookups_; if (dnsResolutionConfigBuilder_ == null) { result.dnsResolutionConfig_ = dnsResolutionConfig_; } else { result.dnsResolutionConfig_ = dnsResolutionConfigBuilder_.build(); } if (typedDnsResolverConfigBuilder_ == null) { result.typedDnsResolverConfig_ = typedDnsResolverConfig_; } else { result.typedDnsResolverConfig_ = typedDnsResolverConfigBuilder_.build(); } if (bootstrapExtensionsBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0)) { bootstrapExtensions_ = java.util.Collections.unmodifiableList(bootstrapExtensions_); bitField0_ = (bitField0_ & ~0x00000004); } result.bootstrapExtensions_ = bootstrapExtensions_; } else { result.bootstrapExtensions_ = bootstrapExtensionsBuilder_.build(); } if (fatalActionsBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0)) { fatalActions_ = java.util.Collections.unmodifiableList(fatalActions_); bitField0_ = (bitField0_ & ~0x00000008); } result.fatalActions_ = fatalActions_; } else { result.fatalActions_ = fatalActionsBuilder_.build(); } if (configSourcesBuilder_ == null) { if (((bitField0_ & 0x00000010) != 0)) { configSources_ = java.util.Collections.unmodifiableList(configSources_); bitField0_ = (bitField0_ & ~0x00000010); } result.configSources_ = configSources_; } else { result.configSources_ = configSourcesBuilder_.build(); } if (defaultConfigSourceBuilder_ == null) { result.defaultConfigSource_ = defaultConfigSource_; } else { result.defaultConfigSource_ = defaultConfigSourceBuilder_.build(); } result.defaultSocketInterface_ = defaultSocketInterface_; result.certificateProviderInstances_ = internalGetCertificateProviderInstances(); result.certificateProviderInstances_.makeImmutable(); if (inlineHeadersBuilder_ == null) { if (((bitField0_ & 0x00000040) != 0)) { inlineHeaders_ = java.util.Collections.unmodifiableList(inlineHeaders_); bitField0_ = (bitField0_ & ~0x00000040); } result.inlineHeaders_ = inlineHeaders_; } else { result.inlineHeaders_ = inlineHeadersBuilder_.build(); } result.perfTracingFilePath_ = perfTracingFilePath_; if (defaultRegexEngineBuilder_ == null) { result.defaultRegexEngine_ = defaultRegexEngine_; } else { result.defaultRegexEngine_ = defaultRegexEngineBuilder_.build(); } if (xdsDelegateExtensionBuilder_ == null) { result.xdsDelegateExtension_ = xdsDelegateExtension_; } else { result.xdsDelegateExtension_ = xdsDelegateExtensionBuilder_.build(); } if (xdsConfigTrackerExtensionBuilder_ == null) { result.xdsConfigTrackerExtension_ = xdsConfigTrackerExtension_; } else { result.xdsConfigTrackerExtension_ = xdsConfigTrackerExtensionBuilder_.build(); } if (listenerManagerBuilder_ == null) { result.listenerManager_ = listenerManager_; } else { result.listenerManager_ = listenerManagerBuilder_.build(); } if (applicationLogConfigBuilder_ == null) { result.applicationLogConfig_ = applicationLogConfig_; } else { result.applicationLogConfig_ = applicationLogConfigBuilder_.build(); } if (grpcAsyncClientManagerConfigBuilder_ == null) { result.grpcAsyncClientManagerConfig_ = grpcAsyncClientManagerConfig_; } else { result.grpcAsyncClientManagerConfig_ = grpcAsyncClientManagerConfigBuilder_.build(); } result.statsFlushCase_ = statsFlushCase_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap) { return mergeFrom((io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap other) { if (other == io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.getDefaultInstance()) return this; if (other.hasNode()) { mergeNode(other.getNode()); } if (!other.nodeContextParams_.isEmpty()) { if (nodeContextParams_.isEmpty()) { nodeContextParams_ = other.nodeContextParams_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureNodeContextParamsIsMutable(); nodeContextParams_.addAll(other.nodeContextParams_); } onChanged(); } if (other.hasStaticResources()) { mergeStaticResources(other.getStaticResources()); } if (other.hasDynamicResources()) { mergeDynamicResources(other.getDynamicResources()); } if (other.hasClusterManager()) { mergeClusterManager(other.getClusterManager()); } if (other.hasHdsConfig()) { mergeHdsConfig(other.getHdsConfig()); } if (!other.getFlagsPath().isEmpty()) { flagsPath_ = other.flagsPath_; onChanged(); } if (statsSinksBuilder_ == null) { if (!other.statsSinks_.isEmpty()) { if (statsSinks_.isEmpty()) { statsSinks_ = other.statsSinks_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureStatsSinksIsMutable(); statsSinks_.addAll(other.statsSinks_); } onChanged(); } } else { if (!other.statsSinks_.isEmpty()) { if (statsSinksBuilder_.isEmpty()) { statsSinksBuilder_.dispose(); statsSinksBuilder_ = null; statsSinks_ = other.statsSinks_; bitField0_ = (bitField0_ & ~0x00000002); statsSinksBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getStatsSinksFieldBuilder() : null; } else { statsSinksBuilder_.addAllMessages(other.statsSinks_); } } } if (other.hasDeferredStatOptions()) { mergeDeferredStatOptions(other.getDeferredStatOptions()); } if (other.hasStatsConfig()) { mergeStatsConfig(other.getStatsConfig()); } if (other.hasStatsFlushInterval()) { mergeStatsFlushInterval(other.getStatsFlushInterval()); } if (other.hasWatchdog()) { mergeWatchdog(other.getWatchdog()); } if (other.hasWatchdogs()) { mergeWatchdogs(other.getWatchdogs()); } if (other.hasTracing()) { mergeTracing(other.getTracing()); } if (other.hasLayeredRuntime()) { mergeLayeredRuntime(other.getLayeredRuntime()); } if (other.hasAdmin()) { mergeAdmin(other.getAdmin()); } if (other.hasOverloadManager()) { mergeOverloadManager(other.getOverloadManager()); } if (other.getEnableDispatcherStats() != false) { setEnableDispatcherStats(other.getEnableDispatcherStats()); } if (!other.getHeaderPrefix().isEmpty()) { headerPrefix_ = other.headerPrefix_; onChanged(); } if (other.hasStatsServerVersionOverride()) { mergeStatsServerVersionOverride(other.getStatsServerVersionOverride()); } if (other.getUseTcpForDnsLookups() != false) { setUseTcpForDnsLookups(other.getUseTcpForDnsLookups()); } if (other.hasDnsResolutionConfig()) { mergeDnsResolutionConfig(other.getDnsResolutionConfig()); } if (other.hasTypedDnsResolverConfig()) { mergeTypedDnsResolverConfig(other.getTypedDnsResolverConfig()); } if (bootstrapExtensionsBuilder_ == null) { if (!other.bootstrapExtensions_.isEmpty()) { if (bootstrapExtensions_.isEmpty()) { bootstrapExtensions_ = other.bootstrapExtensions_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureBootstrapExtensionsIsMutable(); bootstrapExtensions_.addAll(other.bootstrapExtensions_); } onChanged(); } } else { if (!other.bootstrapExtensions_.isEmpty()) { if (bootstrapExtensionsBuilder_.isEmpty()) { bootstrapExtensionsBuilder_.dispose(); bootstrapExtensionsBuilder_ = null; bootstrapExtensions_ = other.bootstrapExtensions_; bitField0_ = (bitField0_ & ~0x00000004); bootstrapExtensionsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getBootstrapExtensionsFieldBuilder() : null; } else { bootstrapExtensionsBuilder_.addAllMessages(other.bootstrapExtensions_); } } } if (fatalActionsBuilder_ == null) { if (!other.fatalActions_.isEmpty()) { if (fatalActions_.isEmpty()) { fatalActions_ = other.fatalActions_; bitField0_ = (bitField0_ & ~0x00000008); } else { ensureFatalActionsIsMutable(); fatalActions_.addAll(other.fatalActions_); } onChanged(); } } else { if (!other.fatalActions_.isEmpty()) { if (fatalActionsBuilder_.isEmpty()) { fatalActionsBuilder_.dispose(); fatalActionsBuilder_ = null; fatalActions_ = other.fatalActions_; bitField0_ = (bitField0_ & ~0x00000008); fatalActionsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getFatalActionsFieldBuilder() : null; } else { fatalActionsBuilder_.addAllMessages(other.fatalActions_); } } } if (configSourcesBuilder_ == null) { if (!other.configSources_.isEmpty()) { if (configSources_.isEmpty()) { configSources_ = other.configSources_; bitField0_ = (bitField0_ & ~0x00000010); } else { ensureConfigSourcesIsMutable(); configSources_.addAll(other.configSources_); } onChanged(); } } else { if (!other.configSources_.isEmpty()) { if (configSourcesBuilder_.isEmpty()) { configSourcesBuilder_.dispose(); configSourcesBuilder_ = null; configSources_ = other.configSources_; bitField0_ = (bitField0_ & ~0x00000010); configSourcesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getConfigSourcesFieldBuilder() : null; } else { configSourcesBuilder_.addAllMessages(other.configSources_); } } } if (other.hasDefaultConfigSource()) { mergeDefaultConfigSource(other.getDefaultConfigSource()); } if (!other.getDefaultSocketInterface().isEmpty()) { defaultSocketInterface_ = other.defaultSocketInterface_; onChanged(); } internalGetMutableCertificateProviderInstances().mergeFrom( other.internalGetCertificateProviderInstances()); if (inlineHeadersBuilder_ == null) { if (!other.inlineHeaders_.isEmpty()) { if (inlineHeaders_.isEmpty()) { inlineHeaders_ = other.inlineHeaders_; bitField0_ = (bitField0_ & ~0x00000040); } else { ensureInlineHeadersIsMutable(); inlineHeaders_.addAll(other.inlineHeaders_); } onChanged(); } } else { if (!other.inlineHeaders_.isEmpty()) { if (inlineHeadersBuilder_.isEmpty()) { inlineHeadersBuilder_.dispose(); inlineHeadersBuilder_ = null; inlineHeaders_ = other.inlineHeaders_; bitField0_ = (bitField0_ & ~0x00000040); inlineHeadersBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getInlineHeadersFieldBuilder() : null; } else { inlineHeadersBuilder_.addAllMessages(other.inlineHeaders_); } } } if (!other.getPerfTracingFilePath().isEmpty()) { perfTracingFilePath_ = other.perfTracingFilePath_; onChanged(); } if (other.hasDefaultRegexEngine()) { mergeDefaultRegexEngine(other.getDefaultRegexEngine()); } if (other.hasXdsDelegateExtension()) { mergeXdsDelegateExtension(other.getXdsDelegateExtension()); } if (other.hasXdsConfigTrackerExtension()) { mergeXdsConfigTrackerExtension(other.getXdsConfigTrackerExtension()); } if (other.hasListenerManager()) { mergeListenerManager(other.getListenerManager()); } if (other.hasApplicationLogConfig()) { mergeApplicationLogConfig(other.getApplicationLogConfig()); } if (other.hasGrpcAsyncClientManagerConfig()) { mergeGrpcAsyncClientManagerConfig(other.getGrpcAsyncClientManagerConfig()); } switch (other.getStatsFlushCase()) { case STATS_FLUSH_ON_ADMIN: { setStatsFlushOnAdmin(other.getStatsFlushOnAdmin()); break; } case STATSFLUSH_NOT_SET: { break; } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int statsFlushCase_ = 0; private java.lang.Object statsFlush_; public StatsFlushCase getStatsFlushCase() { return StatsFlushCase.forNumber( statsFlushCase_); } public Builder clearStatsFlush() { statsFlushCase_ = 0; statsFlush_ = null; onChanged(); return this; } private int bitField0_; private io.envoyproxy.envoy.config.core.v3.Node node_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.Node, io.envoyproxy.envoy.config.core.v3.Node.Builder, io.envoyproxy.envoy.config.core.v3.NodeOrBuilder> nodeBuilder_; /** *
     * Node identity to present to the management server and for instance
     * identification purposes (e.g. in generated headers).
     * 
* * .envoy.config.core.v3.Node node = 1; * @return Whether the node field is set. */ public boolean hasNode() { return nodeBuilder_ != null || node_ != null; } /** *
     * Node identity to present to the management server and for instance
     * identification purposes (e.g. in generated headers).
     * 
* * .envoy.config.core.v3.Node node = 1; * @return The node. */ public io.envoyproxy.envoy.config.core.v3.Node getNode() { if (nodeBuilder_ == null) { return node_ == null ? io.envoyproxy.envoy.config.core.v3.Node.getDefaultInstance() : node_; } else { return nodeBuilder_.getMessage(); } } /** *
     * Node identity to present to the management server and for instance
     * identification purposes (e.g. in generated headers).
     * 
* * .envoy.config.core.v3.Node node = 1; */ public Builder setNode(io.envoyproxy.envoy.config.core.v3.Node value) { if (nodeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } node_ = value; onChanged(); } else { nodeBuilder_.setMessage(value); } return this; } /** *
     * Node identity to present to the management server and for instance
     * identification purposes (e.g. in generated headers).
     * 
* * .envoy.config.core.v3.Node node = 1; */ public Builder setNode( io.envoyproxy.envoy.config.core.v3.Node.Builder builderForValue) { if (nodeBuilder_ == null) { node_ = builderForValue.build(); onChanged(); } else { nodeBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * Node identity to present to the management server and for instance
     * identification purposes (e.g. in generated headers).
     * 
* * .envoy.config.core.v3.Node node = 1; */ public Builder mergeNode(io.envoyproxy.envoy.config.core.v3.Node value) { if (nodeBuilder_ == null) { if (node_ != null) { node_ = io.envoyproxy.envoy.config.core.v3.Node.newBuilder(node_).mergeFrom(value).buildPartial(); } else { node_ = value; } onChanged(); } else { nodeBuilder_.mergeFrom(value); } return this; } /** *
     * Node identity to present to the management server and for instance
     * identification purposes (e.g. in generated headers).
     * 
* * .envoy.config.core.v3.Node node = 1; */ public Builder clearNode() { if (nodeBuilder_ == null) { node_ = null; onChanged(); } else { node_ = null; nodeBuilder_ = null; } return this; } /** *
     * Node identity to present to the management server and for instance
     * identification purposes (e.g. in generated headers).
     * 
* * .envoy.config.core.v3.Node node = 1; */ public io.envoyproxy.envoy.config.core.v3.Node.Builder getNodeBuilder() { onChanged(); return getNodeFieldBuilder().getBuilder(); } /** *
     * Node identity to present to the management server and for instance
     * identification purposes (e.g. in generated headers).
     * 
* * .envoy.config.core.v3.Node node = 1; */ public io.envoyproxy.envoy.config.core.v3.NodeOrBuilder getNodeOrBuilder() { if (nodeBuilder_ != null) { return nodeBuilder_.getMessageOrBuilder(); } else { return node_ == null ? io.envoyproxy.envoy.config.core.v3.Node.getDefaultInstance() : node_; } } /** *
     * Node identity to present to the management server and for instance
     * identification purposes (e.g. in generated headers).
     * 
* * .envoy.config.core.v3.Node node = 1; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.Node, io.envoyproxy.envoy.config.core.v3.Node.Builder, io.envoyproxy.envoy.config.core.v3.NodeOrBuilder> getNodeFieldBuilder() { if (nodeBuilder_ == null) { nodeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.Node, io.envoyproxy.envoy.config.core.v3.Node.Builder, io.envoyproxy.envoy.config.core.v3.NodeOrBuilder>( getNode(), getParentForChildren(), isClean()); node_ = null; } return nodeBuilder_; } private com.google.protobuf.LazyStringList nodeContextParams_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureNodeContextParamsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { nodeContextParams_ = new com.google.protobuf.LazyStringArrayList(nodeContextParams_); bitField0_ |= 0x00000001; } } /** *
     * A list of :ref:`Node <envoy_v3_api_msg_config.core.v3.Node>` field names
     * that will be included in the context parameters of the effective
     * xdstp:// URL that is sent in a discovery request when resource
     * locators are used for LDS/CDS. Any non-string field will have its JSON
     * encoding set as the context parameter value, with the exception of
     * metadata, which will be flattened (see example below). The supported field
     * names are:
     * - "cluster"
     * - "id"
     * - "locality.region"
     * - "locality.sub_zone"
     * - "locality.zone"
     * - "metadata"
     * - "user_agent_build_version.metadata"
     * - "user_agent_build_version.version"
     * - "user_agent_name"
     * - "user_agent_version"
     * The node context parameters act as a base layer dictionary for the context
     * parameters (i.e. more specific resource specific context parameters will
     * override). Field names will be prefixed with “udpa.node.” when included in
     * context parameters.
     * For example, if node_context_params is ``["user_agent_name", "metadata"]``,
     * the implied context parameters might be::
     *   node.user_agent_name: "envoy"
     *   node.metadata.foo: "{\"bar\": \"baz\"}"
     *   node.metadata.some: "42"
     *   node.metadata.thing: "\"thing\""
     * [#not-implemented-hide:]
     * 
* * repeated string node_context_params = 26; * @return A list containing the nodeContextParams. */ public com.google.protobuf.ProtocolStringList getNodeContextParamsList() { return nodeContextParams_.getUnmodifiableView(); } /** *
     * A list of :ref:`Node <envoy_v3_api_msg_config.core.v3.Node>` field names
     * that will be included in the context parameters of the effective
     * xdstp:// URL that is sent in a discovery request when resource
     * locators are used for LDS/CDS. Any non-string field will have its JSON
     * encoding set as the context parameter value, with the exception of
     * metadata, which will be flattened (see example below). The supported field
     * names are:
     * - "cluster"
     * - "id"
     * - "locality.region"
     * - "locality.sub_zone"
     * - "locality.zone"
     * - "metadata"
     * - "user_agent_build_version.metadata"
     * - "user_agent_build_version.version"
     * - "user_agent_name"
     * - "user_agent_version"
     * The node context parameters act as a base layer dictionary for the context
     * parameters (i.e. more specific resource specific context parameters will
     * override). Field names will be prefixed with “udpa.node.” when included in
     * context parameters.
     * For example, if node_context_params is ``["user_agent_name", "metadata"]``,
     * the implied context parameters might be::
     *   node.user_agent_name: "envoy"
     *   node.metadata.foo: "{\"bar\": \"baz\"}"
     *   node.metadata.some: "42"
     *   node.metadata.thing: "\"thing\""
     * [#not-implemented-hide:]
     * 
* * repeated string node_context_params = 26; * @return The count of nodeContextParams. */ public int getNodeContextParamsCount() { return nodeContextParams_.size(); } /** *
     * A list of :ref:`Node <envoy_v3_api_msg_config.core.v3.Node>` field names
     * that will be included in the context parameters of the effective
     * xdstp:// URL that is sent in a discovery request when resource
     * locators are used for LDS/CDS. Any non-string field will have its JSON
     * encoding set as the context parameter value, with the exception of
     * metadata, which will be flattened (see example below). The supported field
     * names are:
     * - "cluster"
     * - "id"
     * - "locality.region"
     * - "locality.sub_zone"
     * - "locality.zone"
     * - "metadata"
     * - "user_agent_build_version.metadata"
     * - "user_agent_build_version.version"
     * - "user_agent_name"
     * - "user_agent_version"
     * The node context parameters act as a base layer dictionary for the context
     * parameters (i.e. more specific resource specific context parameters will
     * override). Field names will be prefixed with “udpa.node.” when included in
     * context parameters.
     * For example, if node_context_params is ``["user_agent_name", "metadata"]``,
     * the implied context parameters might be::
     *   node.user_agent_name: "envoy"
     *   node.metadata.foo: "{\"bar\": \"baz\"}"
     *   node.metadata.some: "42"
     *   node.metadata.thing: "\"thing\""
     * [#not-implemented-hide:]
     * 
* * repeated string node_context_params = 26; * @param index The index of the element to return. * @return The nodeContextParams at the given index. */ public java.lang.String getNodeContextParams(int index) { return nodeContextParams_.get(index); } /** *
     * A list of :ref:`Node <envoy_v3_api_msg_config.core.v3.Node>` field names
     * that will be included in the context parameters of the effective
     * xdstp:// URL that is sent in a discovery request when resource
     * locators are used for LDS/CDS. Any non-string field will have its JSON
     * encoding set as the context parameter value, with the exception of
     * metadata, which will be flattened (see example below). The supported field
     * names are:
     * - "cluster"
     * - "id"
     * - "locality.region"
     * - "locality.sub_zone"
     * - "locality.zone"
     * - "metadata"
     * - "user_agent_build_version.metadata"
     * - "user_agent_build_version.version"
     * - "user_agent_name"
     * - "user_agent_version"
     * The node context parameters act as a base layer dictionary for the context
     * parameters (i.e. more specific resource specific context parameters will
     * override). Field names will be prefixed with “udpa.node.” when included in
     * context parameters.
     * For example, if node_context_params is ``["user_agent_name", "metadata"]``,
     * the implied context parameters might be::
     *   node.user_agent_name: "envoy"
     *   node.metadata.foo: "{\"bar\": \"baz\"}"
     *   node.metadata.some: "42"
     *   node.metadata.thing: "\"thing\""
     * [#not-implemented-hide:]
     * 
* * repeated string node_context_params = 26; * @param index The index of the value to return. * @return The bytes of the nodeContextParams at the given index. */ public com.google.protobuf.ByteString getNodeContextParamsBytes(int index) { return nodeContextParams_.getByteString(index); } /** *
     * A list of :ref:`Node <envoy_v3_api_msg_config.core.v3.Node>` field names
     * that will be included in the context parameters of the effective
     * xdstp:// URL that is sent in a discovery request when resource
     * locators are used for LDS/CDS. Any non-string field will have its JSON
     * encoding set as the context parameter value, with the exception of
     * metadata, which will be flattened (see example below). The supported field
     * names are:
     * - "cluster"
     * - "id"
     * - "locality.region"
     * - "locality.sub_zone"
     * - "locality.zone"
     * - "metadata"
     * - "user_agent_build_version.metadata"
     * - "user_agent_build_version.version"
     * - "user_agent_name"
     * - "user_agent_version"
     * The node context parameters act as a base layer dictionary for the context
     * parameters (i.e. more specific resource specific context parameters will
     * override). Field names will be prefixed with “udpa.node.” when included in
     * context parameters.
     * For example, if node_context_params is ``["user_agent_name", "metadata"]``,
     * the implied context parameters might be::
     *   node.user_agent_name: "envoy"
     *   node.metadata.foo: "{\"bar\": \"baz\"}"
     *   node.metadata.some: "42"
     *   node.metadata.thing: "\"thing\""
     * [#not-implemented-hide:]
     * 
* * repeated string node_context_params = 26; * @param index The index to set the value at. * @param value The nodeContextParams to set. * @return This builder for chaining. */ public Builder setNodeContextParams( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureNodeContextParamsIsMutable(); nodeContextParams_.set(index, value); onChanged(); return this; } /** *
     * A list of :ref:`Node <envoy_v3_api_msg_config.core.v3.Node>` field names
     * that will be included in the context parameters of the effective
     * xdstp:// URL that is sent in a discovery request when resource
     * locators are used for LDS/CDS. Any non-string field will have its JSON
     * encoding set as the context parameter value, with the exception of
     * metadata, which will be flattened (see example below). The supported field
     * names are:
     * - "cluster"
     * - "id"
     * - "locality.region"
     * - "locality.sub_zone"
     * - "locality.zone"
     * - "metadata"
     * - "user_agent_build_version.metadata"
     * - "user_agent_build_version.version"
     * - "user_agent_name"
     * - "user_agent_version"
     * The node context parameters act as a base layer dictionary for the context
     * parameters (i.e. more specific resource specific context parameters will
     * override). Field names will be prefixed with “udpa.node.” when included in
     * context parameters.
     * For example, if node_context_params is ``["user_agent_name", "metadata"]``,
     * the implied context parameters might be::
     *   node.user_agent_name: "envoy"
     *   node.metadata.foo: "{\"bar\": \"baz\"}"
     *   node.metadata.some: "42"
     *   node.metadata.thing: "\"thing\""
     * [#not-implemented-hide:]
     * 
* * repeated string node_context_params = 26; * @param value The nodeContextParams to add. * @return This builder for chaining. */ public Builder addNodeContextParams( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureNodeContextParamsIsMutable(); nodeContextParams_.add(value); onChanged(); return this; } /** *
     * A list of :ref:`Node <envoy_v3_api_msg_config.core.v3.Node>` field names
     * that will be included in the context parameters of the effective
     * xdstp:// URL that is sent in a discovery request when resource
     * locators are used for LDS/CDS. Any non-string field will have its JSON
     * encoding set as the context parameter value, with the exception of
     * metadata, which will be flattened (see example below). The supported field
     * names are:
     * - "cluster"
     * - "id"
     * - "locality.region"
     * - "locality.sub_zone"
     * - "locality.zone"
     * - "metadata"
     * - "user_agent_build_version.metadata"
     * - "user_agent_build_version.version"
     * - "user_agent_name"
     * - "user_agent_version"
     * The node context parameters act as a base layer dictionary for the context
     * parameters (i.e. more specific resource specific context parameters will
     * override). Field names will be prefixed with “udpa.node.” when included in
     * context parameters.
     * For example, if node_context_params is ``["user_agent_name", "metadata"]``,
     * the implied context parameters might be::
     *   node.user_agent_name: "envoy"
     *   node.metadata.foo: "{\"bar\": \"baz\"}"
     *   node.metadata.some: "42"
     *   node.metadata.thing: "\"thing\""
     * [#not-implemented-hide:]
     * 
* * repeated string node_context_params = 26; * @param values The nodeContextParams to add. * @return This builder for chaining. */ public Builder addAllNodeContextParams( java.lang.Iterable values) { ensureNodeContextParamsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, nodeContextParams_); onChanged(); return this; } /** *
     * A list of :ref:`Node <envoy_v3_api_msg_config.core.v3.Node>` field names
     * that will be included in the context parameters of the effective
     * xdstp:// URL that is sent in a discovery request when resource
     * locators are used for LDS/CDS. Any non-string field will have its JSON
     * encoding set as the context parameter value, with the exception of
     * metadata, which will be flattened (see example below). The supported field
     * names are:
     * - "cluster"
     * - "id"
     * - "locality.region"
     * - "locality.sub_zone"
     * - "locality.zone"
     * - "metadata"
     * - "user_agent_build_version.metadata"
     * - "user_agent_build_version.version"
     * - "user_agent_name"
     * - "user_agent_version"
     * The node context parameters act as a base layer dictionary for the context
     * parameters (i.e. more specific resource specific context parameters will
     * override). Field names will be prefixed with “udpa.node.” when included in
     * context parameters.
     * For example, if node_context_params is ``["user_agent_name", "metadata"]``,
     * the implied context parameters might be::
     *   node.user_agent_name: "envoy"
     *   node.metadata.foo: "{\"bar\": \"baz\"}"
     *   node.metadata.some: "42"
     *   node.metadata.thing: "\"thing\""
     * [#not-implemented-hide:]
     * 
* * repeated string node_context_params = 26; * @return This builder for chaining. */ public Builder clearNodeContextParams() { nodeContextParams_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
     * A list of :ref:`Node <envoy_v3_api_msg_config.core.v3.Node>` field names
     * that will be included in the context parameters of the effective
     * xdstp:// URL that is sent in a discovery request when resource
     * locators are used for LDS/CDS. Any non-string field will have its JSON
     * encoding set as the context parameter value, with the exception of
     * metadata, which will be flattened (see example below). The supported field
     * names are:
     * - "cluster"
     * - "id"
     * - "locality.region"
     * - "locality.sub_zone"
     * - "locality.zone"
     * - "metadata"
     * - "user_agent_build_version.metadata"
     * - "user_agent_build_version.version"
     * - "user_agent_name"
     * - "user_agent_version"
     * The node context parameters act as a base layer dictionary for the context
     * parameters (i.e. more specific resource specific context parameters will
     * override). Field names will be prefixed with “udpa.node.” when included in
     * context parameters.
     * For example, if node_context_params is ``["user_agent_name", "metadata"]``,
     * the implied context parameters might be::
     *   node.user_agent_name: "envoy"
     *   node.metadata.foo: "{\"bar\": \"baz\"}"
     *   node.metadata.some: "42"
     *   node.metadata.thing: "\"thing\""
     * [#not-implemented-hide:]
     * 
* * repeated string node_context_params = 26; * @param value The bytes of the nodeContextParams to add. * @return This builder for chaining. */ public Builder addNodeContextParamsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureNodeContextParamsIsMutable(); nodeContextParams_.add(value); onChanged(); return this; } private io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources staticResources_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources.Builder, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResourcesOrBuilder> staticResourcesBuilder_; /** *
     * Statically specified resources.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.StaticResources static_resources = 2; * @return Whether the staticResources field is set. */ public boolean hasStaticResources() { return staticResourcesBuilder_ != null || staticResources_ != null; } /** *
     * Statically specified resources.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.StaticResources static_resources = 2; * @return The staticResources. */ public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources getStaticResources() { if (staticResourcesBuilder_ == null) { return staticResources_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources.getDefaultInstance() : staticResources_; } else { return staticResourcesBuilder_.getMessage(); } } /** *
     * Statically specified resources.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.StaticResources static_resources = 2; */ public Builder setStaticResources(io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources value) { if (staticResourcesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } staticResources_ = value; onChanged(); } else { staticResourcesBuilder_.setMessage(value); } return this; } /** *
     * Statically specified resources.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.StaticResources static_resources = 2; */ public Builder setStaticResources( io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources.Builder builderForValue) { if (staticResourcesBuilder_ == null) { staticResources_ = builderForValue.build(); onChanged(); } else { staticResourcesBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * Statically specified resources.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.StaticResources static_resources = 2; */ public Builder mergeStaticResources(io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources value) { if (staticResourcesBuilder_ == null) { if (staticResources_ != null) { staticResources_ = io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources.newBuilder(staticResources_).mergeFrom(value).buildPartial(); } else { staticResources_ = value; } onChanged(); } else { staticResourcesBuilder_.mergeFrom(value); } return this; } /** *
     * Statically specified resources.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.StaticResources static_resources = 2; */ public Builder clearStaticResources() { if (staticResourcesBuilder_ == null) { staticResources_ = null; onChanged(); } else { staticResources_ = null; staticResourcesBuilder_ = null; } return this; } /** *
     * Statically specified resources.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.StaticResources static_resources = 2; */ public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources.Builder getStaticResourcesBuilder() { onChanged(); return getStaticResourcesFieldBuilder().getBuilder(); } /** *
     * Statically specified resources.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.StaticResources static_resources = 2; */ public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResourcesOrBuilder getStaticResourcesOrBuilder() { if (staticResourcesBuilder_ != null) { return staticResourcesBuilder_.getMessageOrBuilder(); } else { return staticResources_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources.getDefaultInstance() : staticResources_; } } /** *
     * Statically specified resources.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.StaticResources static_resources = 2; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources.Builder, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResourcesOrBuilder> getStaticResourcesFieldBuilder() { if (staticResourcesBuilder_ == null) { staticResourcesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources.Builder, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResourcesOrBuilder>( getStaticResources(), getParentForChildren(), isClean()); staticResources_ = null; } return staticResourcesBuilder_; } private io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources dynamicResources_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources.Builder, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResourcesOrBuilder> dynamicResourcesBuilder_; /** *
     * xDS configuration sources.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.DynamicResources dynamic_resources = 3; * @return Whether the dynamicResources field is set. */ public boolean hasDynamicResources() { return dynamicResourcesBuilder_ != null || dynamicResources_ != null; } /** *
     * xDS configuration sources.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.DynamicResources dynamic_resources = 3; * @return The dynamicResources. */ public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources getDynamicResources() { if (dynamicResourcesBuilder_ == null) { return dynamicResources_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources.getDefaultInstance() : dynamicResources_; } else { return dynamicResourcesBuilder_.getMessage(); } } /** *
     * xDS configuration sources.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.DynamicResources dynamic_resources = 3; */ public Builder setDynamicResources(io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources value) { if (dynamicResourcesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } dynamicResources_ = value; onChanged(); } else { dynamicResourcesBuilder_.setMessage(value); } return this; } /** *
     * xDS configuration sources.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.DynamicResources dynamic_resources = 3; */ public Builder setDynamicResources( io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources.Builder builderForValue) { if (dynamicResourcesBuilder_ == null) { dynamicResources_ = builderForValue.build(); onChanged(); } else { dynamicResourcesBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * xDS configuration sources.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.DynamicResources dynamic_resources = 3; */ public Builder mergeDynamicResources(io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources value) { if (dynamicResourcesBuilder_ == null) { if (dynamicResources_ != null) { dynamicResources_ = io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources.newBuilder(dynamicResources_).mergeFrom(value).buildPartial(); } else { dynamicResources_ = value; } onChanged(); } else { dynamicResourcesBuilder_.mergeFrom(value); } return this; } /** *
     * xDS configuration sources.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.DynamicResources dynamic_resources = 3; */ public Builder clearDynamicResources() { if (dynamicResourcesBuilder_ == null) { dynamicResources_ = null; onChanged(); } else { dynamicResources_ = null; dynamicResourcesBuilder_ = null; } return this; } /** *
     * xDS configuration sources.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.DynamicResources dynamic_resources = 3; */ public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources.Builder getDynamicResourcesBuilder() { onChanged(); return getDynamicResourcesFieldBuilder().getBuilder(); } /** *
     * xDS configuration sources.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.DynamicResources dynamic_resources = 3; */ public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResourcesOrBuilder getDynamicResourcesOrBuilder() { if (dynamicResourcesBuilder_ != null) { return dynamicResourcesBuilder_.getMessageOrBuilder(); } else { return dynamicResources_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources.getDefaultInstance() : dynamicResources_; } } /** *
     * xDS configuration sources.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.DynamicResources dynamic_resources = 3; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources.Builder, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResourcesOrBuilder> getDynamicResourcesFieldBuilder() { if (dynamicResourcesBuilder_ == null) { dynamicResourcesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources.Builder, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResourcesOrBuilder>( getDynamicResources(), getParentForChildren(), isClean()); dynamicResources_ = null; } return dynamicResourcesBuilder_; } private io.envoyproxy.envoy.config.bootstrap.v3.ClusterManager clusterManager_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.ClusterManager, io.envoyproxy.envoy.config.bootstrap.v3.ClusterManager.Builder, io.envoyproxy.envoy.config.bootstrap.v3.ClusterManagerOrBuilder> clusterManagerBuilder_; /** *
     * Configuration for the cluster manager which owns all upstream clusters
     * within the server.
     * 
* * .envoy.config.bootstrap.v3.ClusterManager cluster_manager = 4; * @return Whether the clusterManager field is set. */ public boolean hasClusterManager() { return clusterManagerBuilder_ != null || clusterManager_ != null; } /** *
     * Configuration for the cluster manager which owns all upstream clusters
     * within the server.
     * 
* * .envoy.config.bootstrap.v3.ClusterManager cluster_manager = 4; * @return The clusterManager. */ public io.envoyproxy.envoy.config.bootstrap.v3.ClusterManager getClusterManager() { if (clusterManagerBuilder_ == null) { return clusterManager_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.ClusterManager.getDefaultInstance() : clusterManager_; } else { return clusterManagerBuilder_.getMessage(); } } /** *
     * Configuration for the cluster manager which owns all upstream clusters
     * within the server.
     * 
* * .envoy.config.bootstrap.v3.ClusterManager cluster_manager = 4; */ public Builder setClusterManager(io.envoyproxy.envoy.config.bootstrap.v3.ClusterManager value) { if (clusterManagerBuilder_ == null) { if (value == null) { throw new NullPointerException(); } clusterManager_ = value; onChanged(); } else { clusterManagerBuilder_.setMessage(value); } return this; } /** *
     * Configuration for the cluster manager which owns all upstream clusters
     * within the server.
     * 
* * .envoy.config.bootstrap.v3.ClusterManager cluster_manager = 4; */ public Builder setClusterManager( io.envoyproxy.envoy.config.bootstrap.v3.ClusterManager.Builder builderForValue) { if (clusterManagerBuilder_ == null) { clusterManager_ = builderForValue.build(); onChanged(); } else { clusterManagerBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * Configuration for the cluster manager which owns all upstream clusters
     * within the server.
     * 
* * .envoy.config.bootstrap.v3.ClusterManager cluster_manager = 4; */ public Builder mergeClusterManager(io.envoyproxy.envoy.config.bootstrap.v3.ClusterManager value) { if (clusterManagerBuilder_ == null) { if (clusterManager_ != null) { clusterManager_ = io.envoyproxy.envoy.config.bootstrap.v3.ClusterManager.newBuilder(clusterManager_).mergeFrom(value).buildPartial(); } else { clusterManager_ = value; } onChanged(); } else { clusterManagerBuilder_.mergeFrom(value); } return this; } /** *
     * Configuration for the cluster manager which owns all upstream clusters
     * within the server.
     * 
* * .envoy.config.bootstrap.v3.ClusterManager cluster_manager = 4; */ public Builder clearClusterManager() { if (clusterManagerBuilder_ == null) { clusterManager_ = null; onChanged(); } else { clusterManager_ = null; clusterManagerBuilder_ = null; } return this; } /** *
     * Configuration for the cluster manager which owns all upstream clusters
     * within the server.
     * 
* * .envoy.config.bootstrap.v3.ClusterManager cluster_manager = 4; */ public io.envoyproxy.envoy.config.bootstrap.v3.ClusterManager.Builder getClusterManagerBuilder() { onChanged(); return getClusterManagerFieldBuilder().getBuilder(); } /** *
     * Configuration for the cluster manager which owns all upstream clusters
     * within the server.
     * 
* * .envoy.config.bootstrap.v3.ClusterManager cluster_manager = 4; */ public io.envoyproxy.envoy.config.bootstrap.v3.ClusterManagerOrBuilder getClusterManagerOrBuilder() { if (clusterManagerBuilder_ != null) { return clusterManagerBuilder_.getMessageOrBuilder(); } else { return clusterManager_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.ClusterManager.getDefaultInstance() : clusterManager_; } } /** *
     * Configuration for the cluster manager which owns all upstream clusters
     * within the server.
     * 
* * .envoy.config.bootstrap.v3.ClusterManager cluster_manager = 4; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.ClusterManager, io.envoyproxy.envoy.config.bootstrap.v3.ClusterManager.Builder, io.envoyproxy.envoy.config.bootstrap.v3.ClusterManagerOrBuilder> getClusterManagerFieldBuilder() { if (clusterManagerBuilder_ == null) { clusterManagerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.ClusterManager, io.envoyproxy.envoy.config.bootstrap.v3.ClusterManager.Builder, io.envoyproxy.envoy.config.bootstrap.v3.ClusterManagerOrBuilder>( getClusterManager(), getParentForChildren(), isClean()); clusterManager_ = null; } return clusterManagerBuilder_; } private io.envoyproxy.envoy.config.core.v3.ApiConfigSource hdsConfig_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.ApiConfigSource, io.envoyproxy.envoy.config.core.v3.ApiConfigSource.Builder, io.envoyproxy.envoy.config.core.v3.ApiConfigSourceOrBuilder> hdsConfigBuilder_; /** *
     * Health discovery service config option.
     * (:ref:`core.ApiConfigSource <envoy_v3_api_msg_config.core.v3.ApiConfigSource>`)
     * 
* * .envoy.config.core.v3.ApiConfigSource hds_config = 14; * @return Whether the hdsConfig field is set. */ public boolean hasHdsConfig() { return hdsConfigBuilder_ != null || hdsConfig_ != null; } /** *
     * Health discovery service config option.
     * (:ref:`core.ApiConfigSource <envoy_v3_api_msg_config.core.v3.ApiConfigSource>`)
     * 
* * .envoy.config.core.v3.ApiConfigSource hds_config = 14; * @return The hdsConfig. */ public io.envoyproxy.envoy.config.core.v3.ApiConfigSource getHdsConfig() { if (hdsConfigBuilder_ == null) { return hdsConfig_ == null ? io.envoyproxy.envoy.config.core.v3.ApiConfigSource.getDefaultInstance() : hdsConfig_; } else { return hdsConfigBuilder_.getMessage(); } } /** *
     * Health discovery service config option.
     * (:ref:`core.ApiConfigSource <envoy_v3_api_msg_config.core.v3.ApiConfigSource>`)
     * 
* * .envoy.config.core.v3.ApiConfigSource hds_config = 14; */ public Builder setHdsConfig(io.envoyproxy.envoy.config.core.v3.ApiConfigSource value) { if (hdsConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } hdsConfig_ = value; onChanged(); } else { hdsConfigBuilder_.setMessage(value); } return this; } /** *
     * Health discovery service config option.
     * (:ref:`core.ApiConfigSource <envoy_v3_api_msg_config.core.v3.ApiConfigSource>`)
     * 
* * .envoy.config.core.v3.ApiConfigSource hds_config = 14; */ public Builder setHdsConfig( io.envoyproxy.envoy.config.core.v3.ApiConfigSource.Builder builderForValue) { if (hdsConfigBuilder_ == null) { hdsConfig_ = builderForValue.build(); onChanged(); } else { hdsConfigBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * Health discovery service config option.
     * (:ref:`core.ApiConfigSource <envoy_v3_api_msg_config.core.v3.ApiConfigSource>`)
     * 
* * .envoy.config.core.v3.ApiConfigSource hds_config = 14; */ public Builder mergeHdsConfig(io.envoyproxy.envoy.config.core.v3.ApiConfigSource value) { if (hdsConfigBuilder_ == null) { if (hdsConfig_ != null) { hdsConfig_ = io.envoyproxy.envoy.config.core.v3.ApiConfigSource.newBuilder(hdsConfig_).mergeFrom(value).buildPartial(); } else { hdsConfig_ = value; } onChanged(); } else { hdsConfigBuilder_.mergeFrom(value); } return this; } /** *
     * Health discovery service config option.
     * (:ref:`core.ApiConfigSource <envoy_v3_api_msg_config.core.v3.ApiConfigSource>`)
     * 
* * .envoy.config.core.v3.ApiConfigSource hds_config = 14; */ public Builder clearHdsConfig() { if (hdsConfigBuilder_ == null) { hdsConfig_ = null; onChanged(); } else { hdsConfig_ = null; hdsConfigBuilder_ = null; } return this; } /** *
     * Health discovery service config option.
     * (:ref:`core.ApiConfigSource <envoy_v3_api_msg_config.core.v3.ApiConfigSource>`)
     * 
* * .envoy.config.core.v3.ApiConfigSource hds_config = 14; */ public io.envoyproxy.envoy.config.core.v3.ApiConfigSource.Builder getHdsConfigBuilder() { onChanged(); return getHdsConfigFieldBuilder().getBuilder(); } /** *
     * Health discovery service config option.
     * (:ref:`core.ApiConfigSource <envoy_v3_api_msg_config.core.v3.ApiConfigSource>`)
     * 
* * .envoy.config.core.v3.ApiConfigSource hds_config = 14; */ public io.envoyproxy.envoy.config.core.v3.ApiConfigSourceOrBuilder getHdsConfigOrBuilder() { if (hdsConfigBuilder_ != null) { return hdsConfigBuilder_.getMessageOrBuilder(); } else { return hdsConfig_ == null ? io.envoyproxy.envoy.config.core.v3.ApiConfigSource.getDefaultInstance() : hdsConfig_; } } /** *
     * Health discovery service config option.
     * (:ref:`core.ApiConfigSource <envoy_v3_api_msg_config.core.v3.ApiConfigSource>`)
     * 
* * .envoy.config.core.v3.ApiConfigSource hds_config = 14; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.ApiConfigSource, io.envoyproxy.envoy.config.core.v3.ApiConfigSource.Builder, io.envoyproxy.envoy.config.core.v3.ApiConfigSourceOrBuilder> getHdsConfigFieldBuilder() { if (hdsConfigBuilder_ == null) { hdsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.ApiConfigSource, io.envoyproxy.envoy.config.core.v3.ApiConfigSource.Builder, io.envoyproxy.envoy.config.core.v3.ApiConfigSourceOrBuilder>( getHdsConfig(), getParentForChildren(), isClean()); hdsConfig_ = null; } return hdsConfigBuilder_; } private java.lang.Object flagsPath_ = ""; /** *
     * Optional file system path to search for startup flag files.
     * 
* * string flags_path = 5; * @return The flagsPath. */ public java.lang.String getFlagsPath() { java.lang.Object ref = flagsPath_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); flagsPath_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * Optional file system path to search for startup flag files.
     * 
* * string flags_path = 5; * @return The bytes for flagsPath. */ public com.google.protobuf.ByteString getFlagsPathBytes() { java.lang.Object ref = flagsPath_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); flagsPath_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * Optional file system path to search for startup flag files.
     * 
* * string flags_path = 5; * @param value The flagsPath to set. * @return This builder for chaining. */ public Builder setFlagsPath( java.lang.String value) { if (value == null) { throw new NullPointerException(); } flagsPath_ = value; onChanged(); return this; } /** *
     * Optional file system path to search for startup flag files.
     * 
* * string flags_path = 5; * @return This builder for chaining. */ public Builder clearFlagsPath() { flagsPath_ = getDefaultInstance().getFlagsPath(); onChanged(); return this; } /** *
     * Optional file system path to search for startup flag files.
     * 
* * string flags_path = 5; * @param value The bytes for flagsPath to set. * @return This builder for chaining. */ public Builder setFlagsPathBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); flagsPath_ = value; onChanged(); return this; } private java.util.List statsSinks_ = java.util.Collections.emptyList(); private void ensureStatsSinksIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { statsSinks_ = new java.util.ArrayList(statsSinks_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.config.metrics.v3.StatsSink, io.envoyproxy.envoy.config.metrics.v3.StatsSink.Builder, io.envoyproxy.envoy.config.metrics.v3.StatsSinkOrBuilder> statsSinksBuilder_; /** *
     * Optional set of stats sinks.
     * 
* * repeated .envoy.config.metrics.v3.StatsSink stats_sinks = 6; */ public java.util.List getStatsSinksList() { if (statsSinksBuilder_ == null) { return java.util.Collections.unmodifiableList(statsSinks_); } else { return statsSinksBuilder_.getMessageList(); } } /** *
     * Optional set of stats sinks.
     * 
* * repeated .envoy.config.metrics.v3.StatsSink stats_sinks = 6; */ public int getStatsSinksCount() { if (statsSinksBuilder_ == null) { return statsSinks_.size(); } else { return statsSinksBuilder_.getCount(); } } /** *
     * Optional set of stats sinks.
     * 
* * repeated .envoy.config.metrics.v3.StatsSink stats_sinks = 6; */ public io.envoyproxy.envoy.config.metrics.v3.StatsSink getStatsSinks(int index) { if (statsSinksBuilder_ == null) { return statsSinks_.get(index); } else { return statsSinksBuilder_.getMessage(index); } } /** *
     * Optional set of stats sinks.
     * 
* * repeated .envoy.config.metrics.v3.StatsSink stats_sinks = 6; */ public Builder setStatsSinks( int index, io.envoyproxy.envoy.config.metrics.v3.StatsSink value) { if (statsSinksBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStatsSinksIsMutable(); statsSinks_.set(index, value); onChanged(); } else { statsSinksBuilder_.setMessage(index, value); } return this; } /** *
     * Optional set of stats sinks.
     * 
* * repeated .envoy.config.metrics.v3.StatsSink stats_sinks = 6; */ public Builder setStatsSinks( int index, io.envoyproxy.envoy.config.metrics.v3.StatsSink.Builder builderForValue) { if (statsSinksBuilder_ == null) { ensureStatsSinksIsMutable(); statsSinks_.set(index, builderForValue.build()); onChanged(); } else { statsSinksBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     * Optional set of stats sinks.
     * 
* * repeated .envoy.config.metrics.v3.StatsSink stats_sinks = 6; */ public Builder addStatsSinks(io.envoyproxy.envoy.config.metrics.v3.StatsSink value) { if (statsSinksBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStatsSinksIsMutable(); statsSinks_.add(value); onChanged(); } else { statsSinksBuilder_.addMessage(value); } return this; } /** *
     * Optional set of stats sinks.
     * 
* * repeated .envoy.config.metrics.v3.StatsSink stats_sinks = 6; */ public Builder addStatsSinks( int index, io.envoyproxy.envoy.config.metrics.v3.StatsSink value) { if (statsSinksBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStatsSinksIsMutable(); statsSinks_.add(index, value); onChanged(); } else { statsSinksBuilder_.addMessage(index, value); } return this; } /** *
     * Optional set of stats sinks.
     * 
* * repeated .envoy.config.metrics.v3.StatsSink stats_sinks = 6; */ public Builder addStatsSinks( io.envoyproxy.envoy.config.metrics.v3.StatsSink.Builder builderForValue) { if (statsSinksBuilder_ == null) { ensureStatsSinksIsMutable(); statsSinks_.add(builderForValue.build()); onChanged(); } else { statsSinksBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     * Optional set of stats sinks.
     * 
* * repeated .envoy.config.metrics.v3.StatsSink stats_sinks = 6; */ public Builder addStatsSinks( int index, io.envoyproxy.envoy.config.metrics.v3.StatsSink.Builder builderForValue) { if (statsSinksBuilder_ == null) { ensureStatsSinksIsMutable(); statsSinks_.add(index, builderForValue.build()); onChanged(); } else { statsSinksBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     * Optional set of stats sinks.
     * 
* * repeated .envoy.config.metrics.v3.StatsSink stats_sinks = 6; */ public Builder addAllStatsSinks( java.lang.Iterable values) { if (statsSinksBuilder_ == null) { ensureStatsSinksIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, statsSinks_); onChanged(); } else { statsSinksBuilder_.addAllMessages(values); } return this; } /** *
     * Optional set of stats sinks.
     * 
* * repeated .envoy.config.metrics.v3.StatsSink stats_sinks = 6; */ public Builder clearStatsSinks() { if (statsSinksBuilder_ == null) { statsSinks_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { statsSinksBuilder_.clear(); } return this; } /** *
     * Optional set of stats sinks.
     * 
* * repeated .envoy.config.metrics.v3.StatsSink stats_sinks = 6; */ public Builder removeStatsSinks(int index) { if (statsSinksBuilder_ == null) { ensureStatsSinksIsMutable(); statsSinks_.remove(index); onChanged(); } else { statsSinksBuilder_.remove(index); } return this; } /** *
     * Optional set of stats sinks.
     * 
* * repeated .envoy.config.metrics.v3.StatsSink stats_sinks = 6; */ public io.envoyproxy.envoy.config.metrics.v3.StatsSink.Builder getStatsSinksBuilder( int index) { return getStatsSinksFieldBuilder().getBuilder(index); } /** *
     * Optional set of stats sinks.
     * 
* * repeated .envoy.config.metrics.v3.StatsSink stats_sinks = 6; */ public io.envoyproxy.envoy.config.metrics.v3.StatsSinkOrBuilder getStatsSinksOrBuilder( int index) { if (statsSinksBuilder_ == null) { return statsSinks_.get(index); } else { return statsSinksBuilder_.getMessageOrBuilder(index); } } /** *
     * Optional set of stats sinks.
     * 
* * repeated .envoy.config.metrics.v3.StatsSink stats_sinks = 6; */ public java.util.List getStatsSinksOrBuilderList() { if (statsSinksBuilder_ != null) { return statsSinksBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(statsSinks_); } } /** *
     * Optional set of stats sinks.
     * 
* * repeated .envoy.config.metrics.v3.StatsSink stats_sinks = 6; */ public io.envoyproxy.envoy.config.metrics.v3.StatsSink.Builder addStatsSinksBuilder() { return getStatsSinksFieldBuilder().addBuilder( io.envoyproxy.envoy.config.metrics.v3.StatsSink.getDefaultInstance()); } /** *
     * Optional set of stats sinks.
     * 
* * repeated .envoy.config.metrics.v3.StatsSink stats_sinks = 6; */ public io.envoyproxy.envoy.config.metrics.v3.StatsSink.Builder addStatsSinksBuilder( int index) { return getStatsSinksFieldBuilder().addBuilder( index, io.envoyproxy.envoy.config.metrics.v3.StatsSink.getDefaultInstance()); } /** *
     * Optional set of stats sinks.
     * 
* * repeated .envoy.config.metrics.v3.StatsSink stats_sinks = 6; */ public java.util.List getStatsSinksBuilderList() { return getStatsSinksFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.config.metrics.v3.StatsSink, io.envoyproxy.envoy.config.metrics.v3.StatsSink.Builder, io.envoyproxy.envoy.config.metrics.v3.StatsSinkOrBuilder> getStatsSinksFieldBuilder() { if (statsSinksBuilder_ == null) { statsSinksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.config.metrics.v3.StatsSink, io.envoyproxy.envoy.config.metrics.v3.StatsSink.Builder, io.envoyproxy.envoy.config.metrics.v3.StatsSinkOrBuilder>( statsSinks_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); statsSinks_ = null; } return statsSinksBuilder_; } private io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions deferredStatOptions_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions.Builder, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptionsOrBuilder> deferredStatOptionsBuilder_; /** *
     * Options to control behaviors of deferred creation compatible stats.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions deferred_stat_options = 39; * @return Whether the deferredStatOptions field is set. */ public boolean hasDeferredStatOptions() { return deferredStatOptionsBuilder_ != null || deferredStatOptions_ != null; } /** *
     * Options to control behaviors of deferred creation compatible stats.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions deferred_stat_options = 39; * @return The deferredStatOptions. */ public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions getDeferredStatOptions() { if (deferredStatOptionsBuilder_ == null) { return deferredStatOptions_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions.getDefaultInstance() : deferredStatOptions_; } else { return deferredStatOptionsBuilder_.getMessage(); } } /** *
     * Options to control behaviors of deferred creation compatible stats.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions deferred_stat_options = 39; */ public Builder setDeferredStatOptions(io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions value) { if (deferredStatOptionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } deferredStatOptions_ = value; onChanged(); } else { deferredStatOptionsBuilder_.setMessage(value); } return this; } /** *
     * Options to control behaviors of deferred creation compatible stats.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions deferred_stat_options = 39; */ public Builder setDeferredStatOptions( io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions.Builder builderForValue) { if (deferredStatOptionsBuilder_ == null) { deferredStatOptions_ = builderForValue.build(); onChanged(); } else { deferredStatOptionsBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * Options to control behaviors of deferred creation compatible stats.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions deferred_stat_options = 39; */ public Builder mergeDeferredStatOptions(io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions value) { if (deferredStatOptionsBuilder_ == null) { if (deferredStatOptions_ != null) { deferredStatOptions_ = io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions.newBuilder(deferredStatOptions_).mergeFrom(value).buildPartial(); } else { deferredStatOptions_ = value; } onChanged(); } else { deferredStatOptionsBuilder_.mergeFrom(value); } return this; } /** *
     * Options to control behaviors of deferred creation compatible stats.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions deferred_stat_options = 39; */ public Builder clearDeferredStatOptions() { if (deferredStatOptionsBuilder_ == null) { deferredStatOptions_ = null; onChanged(); } else { deferredStatOptions_ = null; deferredStatOptionsBuilder_ = null; } return this; } /** *
     * Options to control behaviors of deferred creation compatible stats.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions deferred_stat_options = 39; */ public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions.Builder getDeferredStatOptionsBuilder() { onChanged(); return getDeferredStatOptionsFieldBuilder().getBuilder(); } /** *
     * Options to control behaviors of deferred creation compatible stats.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions deferred_stat_options = 39; */ public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptionsOrBuilder getDeferredStatOptionsOrBuilder() { if (deferredStatOptionsBuilder_ != null) { return deferredStatOptionsBuilder_.getMessageOrBuilder(); } else { return deferredStatOptions_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions.getDefaultInstance() : deferredStatOptions_; } } /** *
     * Options to control behaviors of deferred creation compatible stats.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions deferred_stat_options = 39; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions.Builder, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptionsOrBuilder> getDeferredStatOptionsFieldBuilder() { if (deferredStatOptionsBuilder_ == null) { deferredStatOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions.Builder, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptionsOrBuilder>( getDeferredStatOptions(), getParentForChildren(), isClean()); deferredStatOptions_ = null; } return deferredStatOptionsBuilder_; } private io.envoyproxy.envoy.config.metrics.v3.StatsConfig statsConfig_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.metrics.v3.StatsConfig, io.envoyproxy.envoy.config.metrics.v3.StatsConfig.Builder, io.envoyproxy.envoy.config.metrics.v3.StatsConfigOrBuilder> statsConfigBuilder_; /** *
     * Configuration for internal processing of stats.
     * 
* * .envoy.config.metrics.v3.StatsConfig stats_config = 13; * @return Whether the statsConfig field is set. */ public boolean hasStatsConfig() { return statsConfigBuilder_ != null || statsConfig_ != null; } /** *
     * Configuration for internal processing of stats.
     * 
* * .envoy.config.metrics.v3.StatsConfig stats_config = 13; * @return The statsConfig. */ public io.envoyproxy.envoy.config.metrics.v3.StatsConfig getStatsConfig() { if (statsConfigBuilder_ == null) { return statsConfig_ == null ? io.envoyproxy.envoy.config.metrics.v3.StatsConfig.getDefaultInstance() : statsConfig_; } else { return statsConfigBuilder_.getMessage(); } } /** *
     * Configuration for internal processing of stats.
     * 
* * .envoy.config.metrics.v3.StatsConfig stats_config = 13; */ public Builder setStatsConfig(io.envoyproxy.envoy.config.metrics.v3.StatsConfig value) { if (statsConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } statsConfig_ = value; onChanged(); } else { statsConfigBuilder_.setMessage(value); } return this; } /** *
     * Configuration for internal processing of stats.
     * 
* * .envoy.config.metrics.v3.StatsConfig stats_config = 13; */ public Builder setStatsConfig( io.envoyproxy.envoy.config.metrics.v3.StatsConfig.Builder builderForValue) { if (statsConfigBuilder_ == null) { statsConfig_ = builderForValue.build(); onChanged(); } else { statsConfigBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * Configuration for internal processing of stats.
     * 
* * .envoy.config.metrics.v3.StatsConfig stats_config = 13; */ public Builder mergeStatsConfig(io.envoyproxy.envoy.config.metrics.v3.StatsConfig value) { if (statsConfigBuilder_ == null) { if (statsConfig_ != null) { statsConfig_ = io.envoyproxy.envoy.config.metrics.v3.StatsConfig.newBuilder(statsConfig_).mergeFrom(value).buildPartial(); } else { statsConfig_ = value; } onChanged(); } else { statsConfigBuilder_.mergeFrom(value); } return this; } /** *
     * Configuration for internal processing of stats.
     * 
* * .envoy.config.metrics.v3.StatsConfig stats_config = 13; */ public Builder clearStatsConfig() { if (statsConfigBuilder_ == null) { statsConfig_ = null; onChanged(); } else { statsConfig_ = null; statsConfigBuilder_ = null; } return this; } /** *
     * Configuration for internal processing of stats.
     * 
* * .envoy.config.metrics.v3.StatsConfig stats_config = 13; */ public io.envoyproxy.envoy.config.metrics.v3.StatsConfig.Builder getStatsConfigBuilder() { onChanged(); return getStatsConfigFieldBuilder().getBuilder(); } /** *
     * Configuration for internal processing of stats.
     * 
* * .envoy.config.metrics.v3.StatsConfig stats_config = 13; */ public io.envoyproxy.envoy.config.metrics.v3.StatsConfigOrBuilder getStatsConfigOrBuilder() { if (statsConfigBuilder_ != null) { return statsConfigBuilder_.getMessageOrBuilder(); } else { return statsConfig_ == null ? io.envoyproxy.envoy.config.metrics.v3.StatsConfig.getDefaultInstance() : statsConfig_; } } /** *
     * Configuration for internal processing of stats.
     * 
* * .envoy.config.metrics.v3.StatsConfig stats_config = 13; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.metrics.v3.StatsConfig, io.envoyproxy.envoy.config.metrics.v3.StatsConfig.Builder, io.envoyproxy.envoy.config.metrics.v3.StatsConfigOrBuilder> getStatsConfigFieldBuilder() { if (statsConfigBuilder_ == null) { statsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.metrics.v3.StatsConfig, io.envoyproxy.envoy.config.metrics.v3.StatsConfig.Builder, io.envoyproxy.envoy.config.metrics.v3.StatsConfigOrBuilder>( getStatsConfig(), getParentForChildren(), isClean()); statsConfig_ = null; } return statsConfigBuilder_; } private com.google.protobuf.Duration statsFlushInterval_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> statsFlushIntervalBuilder_; /** *
     * 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). Only one of ``stats_flush_interval`` or ``stats_flush_on_admin``
     * can be set.
     * Duration must be at least 1ms and at most 5 min.
     * 
* * .google.protobuf.Duration stats_flush_interval = 7 [(.validate.rules) = { ... } * @return Whether the statsFlushInterval field is set. */ public boolean hasStatsFlushInterval() { return statsFlushIntervalBuilder_ != null || statsFlushInterval_ != null; } /** *
     * 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). Only one of ``stats_flush_interval`` or ``stats_flush_on_admin``
     * can be set.
     * Duration must be at least 1ms and at most 5 min.
     * 
* * .google.protobuf.Duration stats_flush_interval = 7 [(.validate.rules) = { ... } * @return The statsFlushInterval. */ public com.google.protobuf.Duration getStatsFlushInterval() { if (statsFlushIntervalBuilder_ == null) { return statsFlushInterval_ == null ? com.google.protobuf.Duration.getDefaultInstance() : statsFlushInterval_; } else { return statsFlushIntervalBuilder_.getMessage(); } } /** *
     * 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). Only one of ``stats_flush_interval`` or ``stats_flush_on_admin``
     * can be set.
     * Duration must be at least 1ms and at most 5 min.
     * 
* * .google.protobuf.Duration stats_flush_interval = 7 [(.validate.rules) = { ... } */ public Builder setStatsFlushInterval(com.google.protobuf.Duration value) { if (statsFlushIntervalBuilder_ == null) { if (value == null) { throw new NullPointerException(); } statsFlushInterval_ = value; onChanged(); } else { statsFlushIntervalBuilder_.setMessage(value); } return this; } /** *
     * 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). Only one of ``stats_flush_interval`` or ``stats_flush_on_admin``
     * can be set.
     * Duration must be at least 1ms and at most 5 min.
     * 
* * .google.protobuf.Duration stats_flush_interval = 7 [(.validate.rules) = { ... } */ public Builder setStatsFlushInterval( com.google.protobuf.Duration.Builder builderForValue) { if (statsFlushIntervalBuilder_ == null) { statsFlushInterval_ = builderForValue.build(); onChanged(); } else { statsFlushIntervalBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * 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). Only one of ``stats_flush_interval`` or ``stats_flush_on_admin``
     * can be set.
     * Duration must be at least 1ms and at most 5 min.
     * 
* * .google.protobuf.Duration stats_flush_interval = 7 [(.validate.rules) = { ... } */ public Builder mergeStatsFlushInterval(com.google.protobuf.Duration value) { if (statsFlushIntervalBuilder_ == null) { if (statsFlushInterval_ != null) { statsFlushInterval_ = com.google.protobuf.Duration.newBuilder(statsFlushInterval_).mergeFrom(value).buildPartial(); } else { statsFlushInterval_ = value; } onChanged(); } else { statsFlushIntervalBuilder_.mergeFrom(value); } return this; } /** *
     * 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). Only one of ``stats_flush_interval`` or ``stats_flush_on_admin``
     * can be set.
     * Duration must be at least 1ms and at most 5 min.
     * 
* * .google.protobuf.Duration stats_flush_interval = 7 [(.validate.rules) = { ... } */ public Builder clearStatsFlushInterval() { if (statsFlushIntervalBuilder_ == null) { statsFlushInterval_ = null; onChanged(); } else { statsFlushInterval_ = null; statsFlushIntervalBuilder_ = null; } return this; } /** *
     * 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). Only one of ``stats_flush_interval`` or ``stats_flush_on_admin``
     * can be set.
     * Duration must be at least 1ms and at most 5 min.
     * 
* * .google.protobuf.Duration stats_flush_interval = 7 [(.validate.rules) = { ... } */ public com.google.protobuf.Duration.Builder getStatsFlushIntervalBuilder() { onChanged(); return getStatsFlushIntervalFieldBuilder().getBuilder(); } /** *
     * 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). Only one of ``stats_flush_interval`` or ``stats_flush_on_admin``
     * can be set.
     * Duration must be at least 1ms and at most 5 min.
     * 
* * .google.protobuf.Duration stats_flush_interval = 7 [(.validate.rules) = { ... } */ public com.google.protobuf.DurationOrBuilder getStatsFlushIntervalOrBuilder() { if (statsFlushIntervalBuilder_ != null) { return statsFlushIntervalBuilder_.getMessageOrBuilder(); } else { return statsFlushInterval_ == null ? com.google.protobuf.Duration.getDefaultInstance() : statsFlushInterval_; } } /** *
     * 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). Only one of ``stats_flush_interval`` or ``stats_flush_on_admin``
     * can be set.
     * Duration must be at least 1ms and at most 5 min.
     * 
* * .google.protobuf.Duration stats_flush_interval = 7 [(.validate.rules) = { ... } */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> getStatsFlushIntervalFieldBuilder() { if (statsFlushIntervalBuilder_ == null) { statsFlushIntervalBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( getStatsFlushInterval(), getParentForChildren(), isClean()); statsFlushInterval_ = null; } return statsFlushIntervalBuilder_; } /** *
     * Flush stats to sinks only when queried for on the admin interface. If set,
     * a flush timer is not created. Only one of ``stats_flush_on_admin`` or
     * ``stats_flush_interval`` can be set.
     * 
* * bool stats_flush_on_admin = 29 [(.validate.rules) = { ... } * @return Whether the statsFlushOnAdmin field is set. */ public boolean hasStatsFlushOnAdmin() { return statsFlushCase_ == 29; } /** *
     * Flush stats to sinks only when queried for on the admin interface. If set,
     * a flush timer is not created. Only one of ``stats_flush_on_admin`` or
     * ``stats_flush_interval`` can be set.
     * 
* * bool stats_flush_on_admin = 29 [(.validate.rules) = { ... } * @return The statsFlushOnAdmin. */ public boolean getStatsFlushOnAdmin() { if (statsFlushCase_ == 29) { return (java.lang.Boolean) statsFlush_; } return false; } /** *
     * Flush stats to sinks only when queried for on the admin interface. If set,
     * a flush timer is not created. Only one of ``stats_flush_on_admin`` or
     * ``stats_flush_interval`` can be set.
     * 
* * bool stats_flush_on_admin = 29 [(.validate.rules) = { ... } * @param value The statsFlushOnAdmin to set. * @return This builder for chaining. */ public Builder setStatsFlushOnAdmin(boolean value) { statsFlushCase_ = 29; statsFlush_ = value; onChanged(); return this; } /** *
     * Flush stats to sinks only when queried for on the admin interface. If set,
     * a flush timer is not created. Only one of ``stats_flush_on_admin`` or
     * ``stats_flush_interval`` can be set.
     * 
* * bool stats_flush_on_admin = 29 [(.validate.rules) = { ... } * @return This builder for chaining. */ public Builder clearStatsFlushOnAdmin() { if (statsFlushCase_ == 29) { statsFlushCase_ = 0; statsFlush_ = null; onChanged(); } return this; } private io.envoyproxy.envoy.config.bootstrap.v3.Watchdog watchdog_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.Watchdog, io.envoyproxy.envoy.config.bootstrap.v3.Watchdog.Builder, io.envoyproxy.envoy.config.bootstrap.v3.WatchdogOrBuilder> watchdogBuilder_; /** *
     * Optional watchdog configuration.
     * This is for a single watchdog configuration for the entire system.
     * Deprecated in favor of ``watchdogs`` which has finer granularity.
     * 
* * .envoy.config.bootstrap.v3.Watchdog watchdog = 8 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; * @deprecated envoy.config.bootstrap.v3.Bootstrap.watchdog is deprecated. * See envoy/config/bootstrap/v3/bootstrap.proto;l=237 * @return Whether the watchdog field is set. */ @java.lang.Deprecated public boolean hasWatchdog() { return watchdogBuilder_ != null || watchdog_ != null; } /** *
     * Optional watchdog configuration.
     * This is for a single watchdog configuration for the entire system.
     * Deprecated in favor of ``watchdogs`` which has finer granularity.
     * 
* * .envoy.config.bootstrap.v3.Watchdog watchdog = 8 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; * @deprecated envoy.config.bootstrap.v3.Bootstrap.watchdog is deprecated. * See envoy/config/bootstrap/v3/bootstrap.proto;l=237 * @return The watchdog. */ @java.lang.Deprecated public io.envoyproxy.envoy.config.bootstrap.v3.Watchdog getWatchdog() { if (watchdogBuilder_ == null) { return watchdog_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.Watchdog.getDefaultInstance() : watchdog_; } else { return watchdogBuilder_.getMessage(); } } /** *
     * Optional watchdog configuration.
     * This is for a single watchdog configuration for the entire system.
     * Deprecated in favor of ``watchdogs`` which has finer granularity.
     * 
* * .envoy.config.bootstrap.v3.Watchdog watchdog = 8 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; */ @java.lang.Deprecated public Builder setWatchdog(io.envoyproxy.envoy.config.bootstrap.v3.Watchdog value) { if (watchdogBuilder_ == null) { if (value == null) { throw new NullPointerException(); } watchdog_ = value; onChanged(); } else { watchdogBuilder_.setMessage(value); } return this; } /** *
     * Optional watchdog configuration.
     * This is for a single watchdog configuration for the entire system.
     * Deprecated in favor of ``watchdogs`` which has finer granularity.
     * 
* * .envoy.config.bootstrap.v3.Watchdog watchdog = 8 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; */ @java.lang.Deprecated public Builder setWatchdog( io.envoyproxy.envoy.config.bootstrap.v3.Watchdog.Builder builderForValue) { if (watchdogBuilder_ == null) { watchdog_ = builderForValue.build(); onChanged(); } else { watchdogBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * Optional watchdog configuration.
     * This is for a single watchdog configuration for the entire system.
     * Deprecated in favor of ``watchdogs`` which has finer granularity.
     * 
* * .envoy.config.bootstrap.v3.Watchdog watchdog = 8 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; */ @java.lang.Deprecated public Builder mergeWatchdog(io.envoyproxy.envoy.config.bootstrap.v3.Watchdog value) { if (watchdogBuilder_ == null) { if (watchdog_ != null) { watchdog_ = io.envoyproxy.envoy.config.bootstrap.v3.Watchdog.newBuilder(watchdog_).mergeFrom(value).buildPartial(); } else { watchdog_ = value; } onChanged(); } else { watchdogBuilder_.mergeFrom(value); } return this; } /** *
     * Optional watchdog configuration.
     * This is for a single watchdog configuration for the entire system.
     * Deprecated in favor of ``watchdogs`` which has finer granularity.
     * 
* * .envoy.config.bootstrap.v3.Watchdog watchdog = 8 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; */ @java.lang.Deprecated public Builder clearWatchdog() { if (watchdogBuilder_ == null) { watchdog_ = null; onChanged(); } else { watchdog_ = null; watchdogBuilder_ = null; } return this; } /** *
     * Optional watchdog configuration.
     * This is for a single watchdog configuration for the entire system.
     * Deprecated in favor of ``watchdogs`` which has finer granularity.
     * 
* * .envoy.config.bootstrap.v3.Watchdog watchdog = 8 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; */ @java.lang.Deprecated public io.envoyproxy.envoy.config.bootstrap.v3.Watchdog.Builder getWatchdogBuilder() { onChanged(); return getWatchdogFieldBuilder().getBuilder(); } /** *
     * Optional watchdog configuration.
     * This is for a single watchdog configuration for the entire system.
     * Deprecated in favor of ``watchdogs`` which has finer granularity.
     * 
* * .envoy.config.bootstrap.v3.Watchdog watchdog = 8 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; */ @java.lang.Deprecated public io.envoyproxy.envoy.config.bootstrap.v3.WatchdogOrBuilder getWatchdogOrBuilder() { if (watchdogBuilder_ != null) { return watchdogBuilder_.getMessageOrBuilder(); } else { return watchdog_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.Watchdog.getDefaultInstance() : watchdog_; } } /** *
     * Optional watchdog configuration.
     * This is for a single watchdog configuration for the entire system.
     * Deprecated in favor of ``watchdogs`` which has finer granularity.
     * 
* * .envoy.config.bootstrap.v3.Watchdog watchdog = 8 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.Watchdog, io.envoyproxy.envoy.config.bootstrap.v3.Watchdog.Builder, io.envoyproxy.envoy.config.bootstrap.v3.WatchdogOrBuilder> getWatchdogFieldBuilder() { if (watchdogBuilder_ == null) { watchdogBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.Watchdog, io.envoyproxy.envoy.config.bootstrap.v3.Watchdog.Builder, io.envoyproxy.envoy.config.bootstrap.v3.WatchdogOrBuilder>( getWatchdog(), getParentForChildren(), isClean()); watchdog_ = null; } return watchdogBuilder_; } private io.envoyproxy.envoy.config.bootstrap.v3.Watchdogs watchdogs_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.Watchdogs, io.envoyproxy.envoy.config.bootstrap.v3.Watchdogs.Builder, io.envoyproxy.envoy.config.bootstrap.v3.WatchdogsOrBuilder> watchdogsBuilder_; /** *
     * Optional watchdogs configuration.
     * This is used for specifying different watchdogs for the different subsystems.
     * [#extension-category: envoy.guarddog_actions]
     * 
* * .envoy.config.bootstrap.v3.Watchdogs watchdogs = 27; * @return Whether the watchdogs field is set. */ public boolean hasWatchdogs() { return watchdogsBuilder_ != null || watchdogs_ != null; } /** *
     * Optional watchdogs configuration.
     * This is used for specifying different watchdogs for the different subsystems.
     * [#extension-category: envoy.guarddog_actions]
     * 
* * .envoy.config.bootstrap.v3.Watchdogs watchdogs = 27; * @return The watchdogs. */ public io.envoyproxy.envoy.config.bootstrap.v3.Watchdogs getWatchdogs() { if (watchdogsBuilder_ == null) { return watchdogs_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.Watchdogs.getDefaultInstance() : watchdogs_; } else { return watchdogsBuilder_.getMessage(); } } /** *
     * Optional watchdogs configuration.
     * This is used for specifying different watchdogs for the different subsystems.
     * [#extension-category: envoy.guarddog_actions]
     * 
* * .envoy.config.bootstrap.v3.Watchdogs watchdogs = 27; */ public Builder setWatchdogs(io.envoyproxy.envoy.config.bootstrap.v3.Watchdogs value) { if (watchdogsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } watchdogs_ = value; onChanged(); } else { watchdogsBuilder_.setMessage(value); } return this; } /** *
     * Optional watchdogs configuration.
     * This is used for specifying different watchdogs for the different subsystems.
     * [#extension-category: envoy.guarddog_actions]
     * 
* * .envoy.config.bootstrap.v3.Watchdogs watchdogs = 27; */ public Builder setWatchdogs( io.envoyproxy.envoy.config.bootstrap.v3.Watchdogs.Builder builderForValue) { if (watchdogsBuilder_ == null) { watchdogs_ = builderForValue.build(); onChanged(); } else { watchdogsBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * Optional watchdogs configuration.
     * This is used for specifying different watchdogs for the different subsystems.
     * [#extension-category: envoy.guarddog_actions]
     * 
* * .envoy.config.bootstrap.v3.Watchdogs watchdogs = 27; */ public Builder mergeWatchdogs(io.envoyproxy.envoy.config.bootstrap.v3.Watchdogs value) { if (watchdogsBuilder_ == null) { if (watchdogs_ != null) { watchdogs_ = io.envoyproxy.envoy.config.bootstrap.v3.Watchdogs.newBuilder(watchdogs_).mergeFrom(value).buildPartial(); } else { watchdogs_ = value; } onChanged(); } else { watchdogsBuilder_.mergeFrom(value); } return this; } /** *
     * Optional watchdogs configuration.
     * This is used for specifying different watchdogs for the different subsystems.
     * [#extension-category: envoy.guarddog_actions]
     * 
* * .envoy.config.bootstrap.v3.Watchdogs watchdogs = 27; */ public Builder clearWatchdogs() { if (watchdogsBuilder_ == null) { watchdogs_ = null; onChanged(); } else { watchdogs_ = null; watchdogsBuilder_ = null; } return this; } /** *
     * Optional watchdogs configuration.
     * This is used for specifying different watchdogs for the different subsystems.
     * [#extension-category: envoy.guarddog_actions]
     * 
* * .envoy.config.bootstrap.v3.Watchdogs watchdogs = 27; */ public io.envoyproxy.envoy.config.bootstrap.v3.Watchdogs.Builder getWatchdogsBuilder() { onChanged(); return getWatchdogsFieldBuilder().getBuilder(); } /** *
     * Optional watchdogs configuration.
     * This is used for specifying different watchdogs for the different subsystems.
     * [#extension-category: envoy.guarddog_actions]
     * 
* * .envoy.config.bootstrap.v3.Watchdogs watchdogs = 27; */ public io.envoyproxy.envoy.config.bootstrap.v3.WatchdogsOrBuilder getWatchdogsOrBuilder() { if (watchdogsBuilder_ != null) { return watchdogsBuilder_.getMessageOrBuilder(); } else { return watchdogs_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.Watchdogs.getDefaultInstance() : watchdogs_; } } /** *
     * Optional watchdogs configuration.
     * This is used for specifying different watchdogs for the different subsystems.
     * [#extension-category: envoy.guarddog_actions]
     * 
* * .envoy.config.bootstrap.v3.Watchdogs watchdogs = 27; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.Watchdogs, io.envoyproxy.envoy.config.bootstrap.v3.Watchdogs.Builder, io.envoyproxy.envoy.config.bootstrap.v3.WatchdogsOrBuilder> getWatchdogsFieldBuilder() { if (watchdogsBuilder_ == null) { watchdogsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.Watchdogs, io.envoyproxy.envoy.config.bootstrap.v3.Watchdogs.Builder, io.envoyproxy.envoy.config.bootstrap.v3.WatchdogsOrBuilder>( getWatchdogs(), getParentForChildren(), isClean()); watchdogs_ = null; } return watchdogsBuilder_; } private io.envoyproxy.envoy.config.trace.v3.Tracing tracing_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.trace.v3.Tracing, io.envoyproxy.envoy.config.trace.v3.Tracing.Builder, io.envoyproxy.envoy.config.trace.v3.TracingOrBuilder> tracingBuilder_; /** *
     * Configuration for an external tracing provider.
     * .. attention::
     *  This field has been deprecated in favor of :ref:`HttpConnectionManager.Tracing.provider
     *  <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.Tracing.provider>`.
     * 
* * .envoy.config.trace.v3.Tracing tracing = 9 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; * @deprecated envoy.config.bootstrap.v3.Bootstrap.tracing is deprecated. * See envoy/config/bootstrap/v3/bootstrap.proto;l=250 * @return Whether the tracing field is set. */ @java.lang.Deprecated public boolean hasTracing() { return tracingBuilder_ != null || tracing_ != null; } /** *
     * Configuration for an external tracing provider.
     * .. attention::
     *  This field has been deprecated in favor of :ref:`HttpConnectionManager.Tracing.provider
     *  <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.Tracing.provider>`.
     * 
* * .envoy.config.trace.v3.Tracing tracing = 9 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; * @deprecated envoy.config.bootstrap.v3.Bootstrap.tracing is deprecated. * See envoy/config/bootstrap/v3/bootstrap.proto;l=250 * @return The tracing. */ @java.lang.Deprecated public io.envoyproxy.envoy.config.trace.v3.Tracing getTracing() { if (tracingBuilder_ == null) { return tracing_ == null ? io.envoyproxy.envoy.config.trace.v3.Tracing.getDefaultInstance() : tracing_; } else { return tracingBuilder_.getMessage(); } } /** *
     * Configuration for an external tracing provider.
     * .. attention::
     *  This field has been deprecated in favor of :ref:`HttpConnectionManager.Tracing.provider
     *  <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.Tracing.provider>`.
     * 
* * .envoy.config.trace.v3.Tracing tracing = 9 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; */ @java.lang.Deprecated public Builder setTracing(io.envoyproxy.envoy.config.trace.v3.Tracing value) { if (tracingBuilder_ == null) { if (value == null) { throw new NullPointerException(); } tracing_ = value; onChanged(); } else { tracingBuilder_.setMessage(value); } return this; } /** *
     * Configuration for an external tracing provider.
     * .. attention::
     *  This field has been deprecated in favor of :ref:`HttpConnectionManager.Tracing.provider
     *  <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.Tracing.provider>`.
     * 
* * .envoy.config.trace.v3.Tracing tracing = 9 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; */ @java.lang.Deprecated public Builder setTracing( io.envoyproxy.envoy.config.trace.v3.Tracing.Builder builderForValue) { if (tracingBuilder_ == null) { tracing_ = builderForValue.build(); onChanged(); } else { tracingBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * Configuration for an external tracing provider.
     * .. attention::
     *  This field has been deprecated in favor of :ref:`HttpConnectionManager.Tracing.provider
     *  <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.Tracing.provider>`.
     * 
* * .envoy.config.trace.v3.Tracing tracing = 9 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; */ @java.lang.Deprecated public Builder mergeTracing(io.envoyproxy.envoy.config.trace.v3.Tracing value) { if (tracingBuilder_ == null) { if (tracing_ != null) { tracing_ = io.envoyproxy.envoy.config.trace.v3.Tracing.newBuilder(tracing_).mergeFrom(value).buildPartial(); } else { tracing_ = value; } onChanged(); } else { tracingBuilder_.mergeFrom(value); } return this; } /** *
     * Configuration for an external tracing provider.
     * .. attention::
     *  This field has been deprecated in favor of :ref:`HttpConnectionManager.Tracing.provider
     *  <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.Tracing.provider>`.
     * 
* * .envoy.config.trace.v3.Tracing tracing = 9 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; */ @java.lang.Deprecated public Builder clearTracing() { if (tracingBuilder_ == null) { tracing_ = null; onChanged(); } else { tracing_ = null; tracingBuilder_ = null; } return this; } /** *
     * Configuration for an external tracing provider.
     * .. attention::
     *  This field has been deprecated in favor of :ref:`HttpConnectionManager.Tracing.provider
     *  <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.Tracing.provider>`.
     * 
* * .envoy.config.trace.v3.Tracing tracing = 9 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; */ @java.lang.Deprecated public io.envoyproxy.envoy.config.trace.v3.Tracing.Builder getTracingBuilder() { onChanged(); return getTracingFieldBuilder().getBuilder(); } /** *
     * Configuration for an external tracing provider.
     * .. attention::
     *  This field has been deprecated in favor of :ref:`HttpConnectionManager.Tracing.provider
     *  <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.Tracing.provider>`.
     * 
* * .envoy.config.trace.v3.Tracing tracing = 9 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; */ @java.lang.Deprecated public io.envoyproxy.envoy.config.trace.v3.TracingOrBuilder getTracingOrBuilder() { if (tracingBuilder_ != null) { return tracingBuilder_.getMessageOrBuilder(); } else { return tracing_ == null ? io.envoyproxy.envoy.config.trace.v3.Tracing.getDefaultInstance() : tracing_; } } /** *
     * Configuration for an external tracing provider.
     * .. attention::
     *  This field has been deprecated in favor of :ref:`HttpConnectionManager.Tracing.provider
     *  <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.Tracing.provider>`.
     * 
* * .envoy.config.trace.v3.Tracing tracing = 9 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.trace.v3.Tracing, io.envoyproxy.envoy.config.trace.v3.Tracing.Builder, io.envoyproxy.envoy.config.trace.v3.TracingOrBuilder> getTracingFieldBuilder() { if (tracingBuilder_ == null) { tracingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.trace.v3.Tracing, io.envoyproxy.envoy.config.trace.v3.Tracing.Builder, io.envoyproxy.envoy.config.trace.v3.TracingOrBuilder>( getTracing(), getParentForChildren(), isClean()); tracing_ = null; } return tracingBuilder_; } private io.envoyproxy.envoy.config.bootstrap.v3.LayeredRuntime layeredRuntime_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.LayeredRuntime, io.envoyproxy.envoy.config.bootstrap.v3.LayeredRuntime.Builder, io.envoyproxy.envoy.config.bootstrap.v3.LayeredRuntimeOrBuilder> layeredRuntimeBuilder_; /** *
     * 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.v3.LayeredRuntime layered_runtime = 17; * @return Whether the layeredRuntime field is set. */ public boolean hasLayeredRuntime() { return layeredRuntimeBuilder_ != null || layeredRuntime_ != null; } /** *
     * 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.v3.LayeredRuntime layered_runtime = 17; * @return The layeredRuntime. */ public io.envoyproxy.envoy.config.bootstrap.v3.LayeredRuntime getLayeredRuntime() { if (layeredRuntimeBuilder_ == null) { return layeredRuntime_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.LayeredRuntime.getDefaultInstance() : layeredRuntime_; } else { return layeredRuntimeBuilder_.getMessage(); } } /** *
     * 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.v3.LayeredRuntime layered_runtime = 17; */ public Builder setLayeredRuntime(io.envoyproxy.envoy.config.bootstrap.v3.LayeredRuntime value) { if (layeredRuntimeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } layeredRuntime_ = value; onChanged(); } else { layeredRuntimeBuilder_.setMessage(value); } return this; } /** *
     * 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.v3.LayeredRuntime layered_runtime = 17; */ public Builder setLayeredRuntime( io.envoyproxy.envoy.config.bootstrap.v3.LayeredRuntime.Builder builderForValue) { if (layeredRuntimeBuilder_ == null) { layeredRuntime_ = builderForValue.build(); onChanged(); } else { layeredRuntimeBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * 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.v3.LayeredRuntime layered_runtime = 17; */ public Builder mergeLayeredRuntime(io.envoyproxy.envoy.config.bootstrap.v3.LayeredRuntime value) { if (layeredRuntimeBuilder_ == null) { if (layeredRuntime_ != null) { layeredRuntime_ = io.envoyproxy.envoy.config.bootstrap.v3.LayeredRuntime.newBuilder(layeredRuntime_).mergeFrom(value).buildPartial(); } else { layeredRuntime_ = value; } onChanged(); } else { layeredRuntimeBuilder_.mergeFrom(value); } return this; } /** *
     * 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.v3.LayeredRuntime layered_runtime = 17; */ public Builder clearLayeredRuntime() { if (layeredRuntimeBuilder_ == null) { layeredRuntime_ = null; onChanged(); } else { layeredRuntime_ = null; layeredRuntimeBuilder_ = null; } return this; } /** *
     * 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.v3.LayeredRuntime layered_runtime = 17; */ public io.envoyproxy.envoy.config.bootstrap.v3.LayeredRuntime.Builder getLayeredRuntimeBuilder() { onChanged(); return getLayeredRuntimeFieldBuilder().getBuilder(); } /** *
     * 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.v3.LayeredRuntime layered_runtime = 17; */ public io.envoyproxy.envoy.config.bootstrap.v3.LayeredRuntimeOrBuilder getLayeredRuntimeOrBuilder() { if (layeredRuntimeBuilder_ != null) { return layeredRuntimeBuilder_.getMessageOrBuilder(); } else { return layeredRuntime_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.LayeredRuntime.getDefaultInstance() : layeredRuntime_; } } /** *
     * 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.v3.LayeredRuntime layered_runtime = 17; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.LayeredRuntime, io.envoyproxy.envoy.config.bootstrap.v3.LayeredRuntime.Builder, io.envoyproxy.envoy.config.bootstrap.v3.LayeredRuntimeOrBuilder> getLayeredRuntimeFieldBuilder() { if (layeredRuntimeBuilder_ == null) { layeredRuntimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.LayeredRuntime, io.envoyproxy.envoy.config.bootstrap.v3.LayeredRuntime.Builder, io.envoyproxy.envoy.config.bootstrap.v3.LayeredRuntimeOrBuilder>( getLayeredRuntime(), getParentForChildren(), isClean()); layeredRuntime_ = null; } return layeredRuntimeBuilder_; } private io.envoyproxy.envoy.config.bootstrap.v3.Admin admin_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.Admin, io.envoyproxy.envoy.config.bootstrap.v3.Admin.Builder, io.envoyproxy.envoy.config.bootstrap.v3.AdminOrBuilder> adminBuilder_; /** *
     * Configuration for the local administration HTTP server.
     * 
* * .envoy.config.bootstrap.v3.Admin admin = 12; * @return Whether the admin field is set. */ public boolean hasAdmin() { return adminBuilder_ != null || admin_ != null; } /** *
     * Configuration for the local administration HTTP server.
     * 
* * .envoy.config.bootstrap.v3.Admin admin = 12; * @return The admin. */ public io.envoyproxy.envoy.config.bootstrap.v3.Admin getAdmin() { if (adminBuilder_ == null) { return admin_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.Admin.getDefaultInstance() : admin_; } else { return adminBuilder_.getMessage(); } } /** *
     * Configuration for the local administration HTTP server.
     * 
* * .envoy.config.bootstrap.v3.Admin admin = 12; */ public Builder setAdmin(io.envoyproxy.envoy.config.bootstrap.v3.Admin value) { if (adminBuilder_ == null) { if (value == null) { throw new NullPointerException(); } admin_ = value; onChanged(); } else { adminBuilder_.setMessage(value); } return this; } /** *
     * Configuration for the local administration HTTP server.
     * 
* * .envoy.config.bootstrap.v3.Admin admin = 12; */ public Builder setAdmin( io.envoyproxy.envoy.config.bootstrap.v3.Admin.Builder builderForValue) { if (adminBuilder_ == null) { admin_ = builderForValue.build(); onChanged(); } else { adminBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * Configuration for the local administration HTTP server.
     * 
* * .envoy.config.bootstrap.v3.Admin admin = 12; */ public Builder mergeAdmin(io.envoyproxy.envoy.config.bootstrap.v3.Admin value) { if (adminBuilder_ == null) { if (admin_ != null) { admin_ = io.envoyproxy.envoy.config.bootstrap.v3.Admin.newBuilder(admin_).mergeFrom(value).buildPartial(); } else { admin_ = value; } onChanged(); } else { adminBuilder_.mergeFrom(value); } return this; } /** *
     * Configuration for the local administration HTTP server.
     * 
* * .envoy.config.bootstrap.v3.Admin admin = 12; */ public Builder clearAdmin() { if (adminBuilder_ == null) { admin_ = null; onChanged(); } else { admin_ = null; adminBuilder_ = null; } return this; } /** *
     * Configuration for the local administration HTTP server.
     * 
* * .envoy.config.bootstrap.v3.Admin admin = 12; */ public io.envoyproxy.envoy.config.bootstrap.v3.Admin.Builder getAdminBuilder() { onChanged(); return getAdminFieldBuilder().getBuilder(); } /** *
     * Configuration for the local administration HTTP server.
     * 
* * .envoy.config.bootstrap.v3.Admin admin = 12; */ public io.envoyproxy.envoy.config.bootstrap.v3.AdminOrBuilder getAdminOrBuilder() { if (adminBuilder_ != null) { return adminBuilder_.getMessageOrBuilder(); } else { return admin_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.Admin.getDefaultInstance() : admin_; } } /** *
     * Configuration for the local administration HTTP server.
     * 
* * .envoy.config.bootstrap.v3.Admin admin = 12; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.Admin, io.envoyproxy.envoy.config.bootstrap.v3.Admin.Builder, io.envoyproxy.envoy.config.bootstrap.v3.AdminOrBuilder> getAdminFieldBuilder() { if (adminBuilder_ == null) { adminBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.Admin, io.envoyproxy.envoy.config.bootstrap.v3.Admin.Builder, io.envoyproxy.envoy.config.bootstrap.v3.AdminOrBuilder>( getAdmin(), getParentForChildren(), isClean()); admin_ = null; } return adminBuilder_; } private io.envoyproxy.envoy.config.overload.v3.OverloadManager overloadManager_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.overload.v3.OverloadManager, io.envoyproxy.envoy.config.overload.v3.OverloadManager.Builder, io.envoyproxy.envoy.config.overload.v3.OverloadManagerOrBuilder> overloadManagerBuilder_; /** *
     * Optional overload manager configuration.
     * 
* * .envoy.config.overload.v3.OverloadManager overload_manager = 15 [(.udpa.annotations.security) = { ... } * @return Whether the overloadManager field is set. */ public boolean hasOverloadManager() { return overloadManagerBuilder_ != null || overloadManager_ != null; } /** *
     * Optional overload manager configuration.
     * 
* * .envoy.config.overload.v3.OverloadManager overload_manager = 15 [(.udpa.annotations.security) = { ... } * @return The overloadManager. */ public io.envoyproxy.envoy.config.overload.v3.OverloadManager getOverloadManager() { if (overloadManagerBuilder_ == null) { return overloadManager_ == null ? io.envoyproxy.envoy.config.overload.v3.OverloadManager.getDefaultInstance() : overloadManager_; } else { return overloadManagerBuilder_.getMessage(); } } /** *
     * Optional overload manager configuration.
     * 
* * .envoy.config.overload.v3.OverloadManager overload_manager = 15 [(.udpa.annotations.security) = { ... } */ public Builder setOverloadManager(io.envoyproxy.envoy.config.overload.v3.OverloadManager value) { if (overloadManagerBuilder_ == null) { if (value == null) { throw new NullPointerException(); } overloadManager_ = value; onChanged(); } else { overloadManagerBuilder_.setMessage(value); } return this; } /** *
     * Optional overload manager configuration.
     * 
* * .envoy.config.overload.v3.OverloadManager overload_manager = 15 [(.udpa.annotations.security) = { ... } */ public Builder setOverloadManager( io.envoyproxy.envoy.config.overload.v3.OverloadManager.Builder builderForValue) { if (overloadManagerBuilder_ == null) { overloadManager_ = builderForValue.build(); onChanged(); } else { overloadManagerBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * Optional overload manager configuration.
     * 
* * .envoy.config.overload.v3.OverloadManager overload_manager = 15 [(.udpa.annotations.security) = { ... } */ public Builder mergeOverloadManager(io.envoyproxy.envoy.config.overload.v3.OverloadManager value) { if (overloadManagerBuilder_ == null) { if (overloadManager_ != null) { overloadManager_ = io.envoyproxy.envoy.config.overload.v3.OverloadManager.newBuilder(overloadManager_).mergeFrom(value).buildPartial(); } else { overloadManager_ = value; } onChanged(); } else { overloadManagerBuilder_.mergeFrom(value); } return this; } /** *
     * Optional overload manager configuration.
     * 
* * .envoy.config.overload.v3.OverloadManager overload_manager = 15 [(.udpa.annotations.security) = { ... } */ public Builder clearOverloadManager() { if (overloadManagerBuilder_ == null) { overloadManager_ = null; onChanged(); } else { overloadManager_ = null; overloadManagerBuilder_ = null; } return this; } /** *
     * Optional overload manager configuration.
     * 
* * .envoy.config.overload.v3.OverloadManager overload_manager = 15 [(.udpa.annotations.security) = { ... } */ public io.envoyproxy.envoy.config.overload.v3.OverloadManager.Builder getOverloadManagerBuilder() { onChanged(); return getOverloadManagerFieldBuilder().getBuilder(); } /** *
     * Optional overload manager configuration.
     * 
* * .envoy.config.overload.v3.OverloadManager overload_manager = 15 [(.udpa.annotations.security) = { ... } */ public io.envoyproxy.envoy.config.overload.v3.OverloadManagerOrBuilder getOverloadManagerOrBuilder() { if (overloadManagerBuilder_ != null) { return overloadManagerBuilder_.getMessageOrBuilder(); } else { return overloadManager_ == null ? io.envoyproxy.envoy.config.overload.v3.OverloadManager.getDefaultInstance() : overloadManager_; } } /** *
     * Optional overload manager configuration.
     * 
* * .envoy.config.overload.v3.OverloadManager overload_manager = 15 [(.udpa.annotations.security) = { ... } */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.overload.v3.OverloadManager, io.envoyproxy.envoy.config.overload.v3.OverloadManager.Builder, io.envoyproxy.envoy.config.overload.v3.OverloadManagerOrBuilder> getOverloadManagerFieldBuilder() { if (overloadManagerBuilder_ == null) { overloadManagerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.overload.v3.OverloadManager, io.envoyproxy.envoy.config.overload.v3.OverloadManager.Builder, io.envoyproxy.envoy.config.overload.v3.OverloadManagerOrBuilder>( getOverloadManager(), getParentForChildren(), isClean()); overloadManager_ = null; } return overloadManagerBuilder_; } private boolean enableDispatcherStats_ ; /** *
     * 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_v3_api_msg_config.metrics.v3.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; * @return The enableDispatcherStats. */ @java.lang.Override public boolean getEnableDispatcherStats() { return enableDispatcherStats_; } /** *
     * 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_v3_api_msg_config.metrics.v3.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; * @param value The enableDispatcherStats to set. * @return This builder for chaining. */ public Builder setEnableDispatcherStats(boolean value) { enableDispatcherStats_ = value; onChanged(); return this; } /** *
     * 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_v3_api_msg_config.metrics.v3.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; * @return This builder for chaining. */ public Builder clearEnableDispatcherStats() { enableDispatcherStats_ = false; onChanged(); return this; } private java.lang.Object headerPrefix_ = ""; /** *
     * 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; * @return The headerPrefix. */ public java.lang.String getHeaderPrefix() { java.lang.Object ref = headerPrefix_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); headerPrefix_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * 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; * @return The bytes for headerPrefix. */ public com.google.protobuf.ByteString getHeaderPrefixBytes() { java.lang.Object ref = headerPrefix_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); headerPrefix_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * 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; * @param value The headerPrefix to set. * @return This builder for chaining. */ public Builder setHeaderPrefix( java.lang.String value) { if (value == null) { throw new NullPointerException(); } headerPrefix_ = value; onChanged(); return this; } /** *
     * 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; * @return This builder for chaining. */ public Builder clearHeaderPrefix() { headerPrefix_ = getDefaultInstance().getHeaderPrefix(); onChanged(); return this; } /** *
     * 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; * @param value The bytes for headerPrefix to set. * @return This builder for chaining. */ public Builder setHeaderPrefixBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); headerPrefix_ = value; onChanged(); return this; } private com.google.protobuf.UInt64Value statsServerVersionOverride_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder> statsServerVersionOverrideBuilder_; /** *
     * 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_v3_api_msg_config.metrics.v3.StatsSink>`.
     * 
* * .google.protobuf.UInt64Value stats_server_version_override = 19; * @return Whether the statsServerVersionOverride field is set. */ public boolean hasStatsServerVersionOverride() { return statsServerVersionOverrideBuilder_ != null || statsServerVersionOverride_ != null; } /** *
     * 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_v3_api_msg_config.metrics.v3.StatsSink>`.
     * 
* * .google.protobuf.UInt64Value stats_server_version_override = 19; * @return The statsServerVersionOverride. */ public com.google.protobuf.UInt64Value getStatsServerVersionOverride() { if (statsServerVersionOverrideBuilder_ == null) { return statsServerVersionOverride_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : statsServerVersionOverride_; } else { return statsServerVersionOverrideBuilder_.getMessage(); } } /** *
     * 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_v3_api_msg_config.metrics.v3.StatsSink>`.
     * 
* * .google.protobuf.UInt64Value stats_server_version_override = 19; */ public Builder setStatsServerVersionOverride(com.google.protobuf.UInt64Value value) { if (statsServerVersionOverrideBuilder_ == null) { if (value == null) { throw new NullPointerException(); } statsServerVersionOverride_ = value; onChanged(); } else { statsServerVersionOverrideBuilder_.setMessage(value); } return this; } /** *
     * 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_v3_api_msg_config.metrics.v3.StatsSink>`.
     * 
* * .google.protobuf.UInt64Value stats_server_version_override = 19; */ public Builder setStatsServerVersionOverride( com.google.protobuf.UInt64Value.Builder builderForValue) { if (statsServerVersionOverrideBuilder_ == null) { statsServerVersionOverride_ = builderForValue.build(); onChanged(); } else { statsServerVersionOverrideBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * 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_v3_api_msg_config.metrics.v3.StatsSink>`.
     * 
* * .google.protobuf.UInt64Value stats_server_version_override = 19; */ public Builder mergeStatsServerVersionOverride(com.google.protobuf.UInt64Value value) { if (statsServerVersionOverrideBuilder_ == null) { if (statsServerVersionOverride_ != null) { statsServerVersionOverride_ = com.google.protobuf.UInt64Value.newBuilder(statsServerVersionOverride_).mergeFrom(value).buildPartial(); } else { statsServerVersionOverride_ = value; } onChanged(); } else { statsServerVersionOverrideBuilder_.mergeFrom(value); } return this; } /** *
     * 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_v3_api_msg_config.metrics.v3.StatsSink>`.
     * 
* * .google.protobuf.UInt64Value stats_server_version_override = 19; */ public Builder clearStatsServerVersionOverride() { if (statsServerVersionOverrideBuilder_ == null) { statsServerVersionOverride_ = null; onChanged(); } else { statsServerVersionOverride_ = null; statsServerVersionOverrideBuilder_ = null; } return this; } /** *
     * 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_v3_api_msg_config.metrics.v3.StatsSink>`.
     * 
* * .google.protobuf.UInt64Value stats_server_version_override = 19; */ public com.google.protobuf.UInt64Value.Builder getStatsServerVersionOverrideBuilder() { onChanged(); return getStatsServerVersionOverrideFieldBuilder().getBuilder(); } /** *
     * 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_v3_api_msg_config.metrics.v3.StatsSink>`.
     * 
* * .google.protobuf.UInt64Value stats_server_version_override = 19; */ public com.google.protobuf.UInt64ValueOrBuilder getStatsServerVersionOverrideOrBuilder() { if (statsServerVersionOverrideBuilder_ != null) { return statsServerVersionOverrideBuilder_.getMessageOrBuilder(); } else { return statsServerVersionOverride_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : statsServerVersionOverride_; } } /** *
     * 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_v3_api_msg_config.metrics.v3.StatsSink>`.
     * 
* * .google.protobuf.UInt64Value stats_server_version_override = 19; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder> getStatsServerVersionOverrideFieldBuilder() { if (statsServerVersionOverrideBuilder_ == null) { statsServerVersionOverrideBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder>( getStatsServerVersionOverride(), getParentForChildren(), isClean()); statsServerVersionOverride_ = null; } return statsServerVersionOverrideBuilder_; } private boolean useTcpForDnsLookups_ ; /** *
     * 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_v3_api_field_config.cluster.v3.Cluster.dns_resolvers>` and
     * :ref:`use_tcp_for_dns_lookups <envoy_v3_api_field_config.cluster.v3.Cluster.use_tcp_for_dns_lookups>` are
     * specified.
     * This field is deprecated in favor of ``dns_resolution_config``
     * which aggregates all of the DNS resolver configuration in a single message.
     * 
* * bool use_tcp_for_dns_lookups = 20 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; * @deprecated envoy.config.bootstrap.v3.Bootstrap.use_tcp_for_dns_lookups is deprecated. * See envoy/config/bootstrap/v3/bootstrap.proto;l=298 * @return The useTcpForDnsLookups. */ @java.lang.Override @java.lang.Deprecated public boolean getUseTcpForDnsLookups() { return useTcpForDnsLookups_; } /** *
     * 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_v3_api_field_config.cluster.v3.Cluster.dns_resolvers>` and
     * :ref:`use_tcp_for_dns_lookups <envoy_v3_api_field_config.cluster.v3.Cluster.use_tcp_for_dns_lookups>` are
     * specified.
     * This field is deprecated in favor of ``dns_resolution_config``
     * which aggregates all of the DNS resolver configuration in a single message.
     * 
* * bool use_tcp_for_dns_lookups = 20 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; * @deprecated envoy.config.bootstrap.v3.Bootstrap.use_tcp_for_dns_lookups is deprecated. * See envoy/config/bootstrap/v3/bootstrap.proto;l=298 * @param value The useTcpForDnsLookups to set. * @return This builder for chaining. */ @java.lang.Deprecated public Builder setUseTcpForDnsLookups(boolean value) { useTcpForDnsLookups_ = value; onChanged(); return this; } /** *
     * 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_v3_api_field_config.cluster.v3.Cluster.dns_resolvers>` and
     * :ref:`use_tcp_for_dns_lookups <envoy_v3_api_field_config.cluster.v3.Cluster.use_tcp_for_dns_lookups>` are
     * specified.
     * This field is deprecated in favor of ``dns_resolution_config``
     * which aggregates all of the DNS resolver configuration in a single message.
     * 
* * bool use_tcp_for_dns_lookups = 20 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; * @deprecated envoy.config.bootstrap.v3.Bootstrap.use_tcp_for_dns_lookups is deprecated. * See envoy/config/bootstrap/v3/bootstrap.proto;l=298 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearUseTcpForDnsLookups() { useTcpForDnsLookups_ = false; onChanged(); return this; } private io.envoyproxy.envoy.config.core.v3.DnsResolutionConfig dnsResolutionConfig_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.DnsResolutionConfig, io.envoyproxy.envoy.config.core.v3.DnsResolutionConfig.Builder, io.envoyproxy.envoy.config.core.v3.DnsResolutionConfigOrBuilder> dnsResolutionConfigBuilder_; /** *
     * DNS resolution configuration which includes the underlying dns resolver addresses and options.
     * This may be overridden on a per-cluster basis in cds_config, when
     * :ref:`dns_resolution_config <envoy_v3_api_field_config.cluster.v3.Cluster.dns_resolution_config>`
     * is specified.
     * This field is deprecated in favor of
     * :ref:`typed_dns_resolver_config <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.typed_dns_resolver_config>`.
     * 
* * .envoy.config.core.v3.DnsResolutionConfig dns_resolution_config = 30 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; * @deprecated envoy.config.bootstrap.v3.Bootstrap.dns_resolution_config is deprecated. * See envoy/config/bootstrap/v3/bootstrap.proto;l=307 * @return Whether the dnsResolutionConfig field is set. */ @java.lang.Deprecated public boolean hasDnsResolutionConfig() { return dnsResolutionConfigBuilder_ != null || dnsResolutionConfig_ != null; } /** *
     * DNS resolution configuration which includes the underlying dns resolver addresses and options.
     * This may be overridden on a per-cluster basis in cds_config, when
     * :ref:`dns_resolution_config <envoy_v3_api_field_config.cluster.v3.Cluster.dns_resolution_config>`
     * is specified.
     * This field is deprecated in favor of
     * :ref:`typed_dns_resolver_config <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.typed_dns_resolver_config>`.
     * 
* * .envoy.config.core.v3.DnsResolutionConfig dns_resolution_config = 30 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; * @deprecated envoy.config.bootstrap.v3.Bootstrap.dns_resolution_config is deprecated. * See envoy/config/bootstrap/v3/bootstrap.proto;l=307 * @return The dnsResolutionConfig. */ @java.lang.Deprecated public io.envoyproxy.envoy.config.core.v3.DnsResolutionConfig getDnsResolutionConfig() { if (dnsResolutionConfigBuilder_ == null) { return dnsResolutionConfig_ == null ? io.envoyproxy.envoy.config.core.v3.DnsResolutionConfig.getDefaultInstance() : dnsResolutionConfig_; } else { return dnsResolutionConfigBuilder_.getMessage(); } } /** *
     * DNS resolution configuration which includes the underlying dns resolver addresses and options.
     * This may be overridden on a per-cluster basis in cds_config, when
     * :ref:`dns_resolution_config <envoy_v3_api_field_config.cluster.v3.Cluster.dns_resolution_config>`
     * is specified.
     * This field is deprecated in favor of
     * :ref:`typed_dns_resolver_config <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.typed_dns_resolver_config>`.
     * 
* * .envoy.config.core.v3.DnsResolutionConfig dns_resolution_config = 30 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; */ @java.lang.Deprecated public Builder setDnsResolutionConfig(io.envoyproxy.envoy.config.core.v3.DnsResolutionConfig value) { if (dnsResolutionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } dnsResolutionConfig_ = value; onChanged(); } else { dnsResolutionConfigBuilder_.setMessage(value); } return this; } /** *
     * DNS resolution configuration which includes the underlying dns resolver addresses and options.
     * This may be overridden on a per-cluster basis in cds_config, when
     * :ref:`dns_resolution_config <envoy_v3_api_field_config.cluster.v3.Cluster.dns_resolution_config>`
     * is specified.
     * This field is deprecated in favor of
     * :ref:`typed_dns_resolver_config <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.typed_dns_resolver_config>`.
     * 
* * .envoy.config.core.v3.DnsResolutionConfig dns_resolution_config = 30 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; */ @java.lang.Deprecated public Builder setDnsResolutionConfig( io.envoyproxy.envoy.config.core.v3.DnsResolutionConfig.Builder builderForValue) { if (dnsResolutionConfigBuilder_ == null) { dnsResolutionConfig_ = builderForValue.build(); onChanged(); } else { dnsResolutionConfigBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * DNS resolution configuration which includes the underlying dns resolver addresses and options.
     * This may be overridden on a per-cluster basis in cds_config, when
     * :ref:`dns_resolution_config <envoy_v3_api_field_config.cluster.v3.Cluster.dns_resolution_config>`
     * is specified.
     * This field is deprecated in favor of
     * :ref:`typed_dns_resolver_config <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.typed_dns_resolver_config>`.
     * 
* * .envoy.config.core.v3.DnsResolutionConfig dns_resolution_config = 30 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; */ @java.lang.Deprecated public Builder mergeDnsResolutionConfig(io.envoyproxy.envoy.config.core.v3.DnsResolutionConfig value) { if (dnsResolutionConfigBuilder_ == null) { if (dnsResolutionConfig_ != null) { dnsResolutionConfig_ = io.envoyproxy.envoy.config.core.v3.DnsResolutionConfig.newBuilder(dnsResolutionConfig_).mergeFrom(value).buildPartial(); } else { dnsResolutionConfig_ = value; } onChanged(); } else { dnsResolutionConfigBuilder_.mergeFrom(value); } return this; } /** *
     * DNS resolution configuration which includes the underlying dns resolver addresses and options.
     * This may be overridden on a per-cluster basis in cds_config, when
     * :ref:`dns_resolution_config <envoy_v3_api_field_config.cluster.v3.Cluster.dns_resolution_config>`
     * is specified.
     * This field is deprecated in favor of
     * :ref:`typed_dns_resolver_config <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.typed_dns_resolver_config>`.
     * 
* * .envoy.config.core.v3.DnsResolutionConfig dns_resolution_config = 30 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; */ @java.lang.Deprecated public Builder clearDnsResolutionConfig() { if (dnsResolutionConfigBuilder_ == null) { dnsResolutionConfig_ = null; onChanged(); } else { dnsResolutionConfig_ = null; dnsResolutionConfigBuilder_ = null; } return this; } /** *
     * DNS resolution configuration which includes the underlying dns resolver addresses and options.
     * This may be overridden on a per-cluster basis in cds_config, when
     * :ref:`dns_resolution_config <envoy_v3_api_field_config.cluster.v3.Cluster.dns_resolution_config>`
     * is specified.
     * This field is deprecated in favor of
     * :ref:`typed_dns_resolver_config <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.typed_dns_resolver_config>`.
     * 
* * .envoy.config.core.v3.DnsResolutionConfig dns_resolution_config = 30 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; */ @java.lang.Deprecated public io.envoyproxy.envoy.config.core.v3.DnsResolutionConfig.Builder getDnsResolutionConfigBuilder() { onChanged(); return getDnsResolutionConfigFieldBuilder().getBuilder(); } /** *
     * DNS resolution configuration which includes the underlying dns resolver addresses and options.
     * This may be overridden on a per-cluster basis in cds_config, when
     * :ref:`dns_resolution_config <envoy_v3_api_field_config.cluster.v3.Cluster.dns_resolution_config>`
     * is specified.
     * This field is deprecated in favor of
     * :ref:`typed_dns_resolver_config <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.typed_dns_resolver_config>`.
     * 
* * .envoy.config.core.v3.DnsResolutionConfig dns_resolution_config = 30 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; */ @java.lang.Deprecated public io.envoyproxy.envoy.config.core.v3.DnsResolutionConfigOrBuilder getDnsResolutionConfigOrBuilder() { if (dnsResolutionConfigBuilder_ != null) { return dnsResolutionConfigBuilder_.getMessageOrBuilder(); } else { return dnsResolutionConfig_ == null ? io.envoyproxy.envoy.config.core.v3.DnsResolutionConfig.getDefaultInstance() : dnsResolutionConfig_; } } /** *
     * DNS resolution configuration which includes the underlying dns resolver addresses and options.
     * This may be overridden on a per-cluster basis in cds_config, when
     * :ref:`dns_resolution_config <envoy_v3_api_field_config.cluster.v3.Cluster.dns_resolution_config>`
     * is specified.
     * This field is deprecated in favor of
     * :ref:`typed_dns_resolver_config <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.typed_dns_resolver_config>`.
     * 
* * .envoy.config.core.v3.DnsResolutionConfig dns_resolution_config = 30 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.DnsResolutionConfig, io.envoyproxy.envoy.config.core.v3.DnsResolutionConfig.Builder, io.envoyproxy.envoy.config.core.v3.DnsResolutionConfigOrBuilder> getDnsResolutionConfigFieldBuilder() { if (dnsResolutionConfigBuilder_ == null) { dnsResolutionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.DnsResolutionConfig, io.envoyproxy.envoy.config.core.v3.DnsResolutionConfig.Builder, io.envoyproxy.envoy.config.core.v3.DnsResolutionConfigOrBuilder>( getDnsResolutionConfig(), getParentForChildren(), isClean()); dnsResolutionConfig_ = null; } return dnsResolutionConfigBuilder_; } private io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig typedDnsResolverConfig_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.Builder, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfigOrBuilder> typedDnsResolverConfigBuilder_; /** *
     * DNS resolver type configuration extension. This extension can be used to configure c-ares, apple,
     * or any other DNS resolver types and the related parameters.
     * For example, an object of
     * :ref:`CaresDnsResolverConfig <envoy_v3_api_msg_extensions.network.dns_resolver.cares.v3.CaresDnsResolverConfig>`
     * can be packed into this ``typed_dns_resolver_config``. This configuration replaces the
     * :ref:`dns_resolution_config <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.dns_resolution_config>`
     * configuration.
     * During the transition period when both ``dns_resolution_config`` and ``typed_dns_resolver_config`` exists,
     * when ``typed_dns_resolver_config`` is in place, Envoy will use it and ignore ``dns_resolution_config``.
     * When ``typed_dns_resolver_config`` is missing, the default behavior is in place.
     * [#extension-category: envoy.network.dns_resolver]
     * 
* * .envoy.config.core.v3.TypedExtensionConfig typed_dns_resolver_config = 31; * @return Whether the typedDnsResolverConfig field is set. */ public boolean hasTypedDnsResolverConfig() { return typedDnsResolverConfigBuilder_ != null || typedDnsResolverConfig_ != null; } /** *
     * DNS resolver type configuration extension. This extension can be used to configure c-ares, apple,
     * or any other DNS resolver types and the related parameters.
     * For example, an object of
     * :ref:`CaresDnsResolverConfig <envoy_v3_api_msg_extensions.network.dns_resolver.cares.v3.CaresDnsResolverConfig>`
     * can be packed into this ``typed_dns_resolver_config``. This configuration replaces the
     * :ref:`dns_resolution_config <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.dns_resolution_config>`
     * configuration.
     * During the transition period when both ``dns_resolution_config`` and ``typed_dns_resolver_config`` exists,
     * when ``typed_dns_resolver_config`` is in place, Envoy will use it and ignore ``dns_resolution_config``.
     * When ``typed_dns_resolver_config`` is missing, the default behavior is in place.
     * [#extension-category: envoy.network.dns_resolver]
     * 
* * .envoy.config.core.v3.TypedExtensionConfig typed_dns_resolver_config = 31; * @return The typedDnsResolverConfig. */ public io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig getTypedDnsResolverConfig() { if (typedDnsResolverConfigBuilder_ == null) { return typedDnsResolverConfig_ == null ? io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.getDefaultInstance() : typedDnsResolverConfig_; } else { return typedDnsResolverConfigBuilder_.getMessage(); } } /** *
     * DNS resolver type configuration extension. This extension can be used to configure c-ares, apple,
     * or any other DNS resolver types and the related parameters.
     * For example, an object of
     * :ref:`CaresDnsResolverConfig <envoy_v3_api_msg_extensions.network.dns_resolver.cares.v3.CaresDnsResolverConfig>`
     * can be packed into this ``typed_dns_resolver_config``. This configuration replaces the
     * :ref:`dns_resolution_config <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.dns_resolution_config>`
     * configuration.
     * During the transition period when both ``dns_resolution_config`` and ``typed_dns_resolver_config`` exists,
     * when ``typed_dns_resolver_config`` is in place, Envoy will use it and ignore ``dns_resolution_config``.
     * When ``typed_dns_resolver_config`` is missing, the default behavior is in place.
     * [#extension-category: envoy.network.dns_resolver]
     * 
* * .envoy.config.core.v3.TypedExtensionConfig typed_dns_resolver_config = 31; */ public Builder setTypedDnsResolverConfig(io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig value) { if (typedDnsResolverConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } typedDnsResolverConfig_ = value; onChanged(); } else { typedDnsResolverConfigBuilder_.setMessage(value); } return this; } /** *
     * DNS resolver type configuration extension. This extension can be used to configure c-ares, apple,
     * or any other DNS resolver types and the related parameters.
     * For example, an object of
     * :ref:`CaresDnsResolverConfig <envoy_v3_api_msg_extensions.network.dns_resolver.cares.v3.CaresDnsResolverConfig>`
     * can be packed into this ``typed_dns_resolver_config``. This configuration replaces the
     * :ref:`dns_resolution_config <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.dns_resolution_config>`
     * configuration.
     * During the transition period when both ``dns_resolution_config`` and ``typed_dns_resolver_config`` exists,
     * when ``typed_dns_resolver_config`` is in place, Envoy will use it and ignore ``dns_resolution_config``.
     * When ``typed_dns_resolver_config`` is missing, the default behavior is in place.
     * [#extension-category: envoy.network.dns_resolver]
     * 
* * .envoy.config.core.v3.TypedExtensionConfig typed_dns_resolver_config = 31; */ public Builder setTypedDnsResolverConfig( io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.Builder builderForValue) { if (typedDnsResolverConfigBuilder_ == null) { typedDnsResolverConfig_ = builderForValue.build(); onChanged(); } else { typedDnsResolverConfigBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * DNS resolver type configuration extension. This extension can be used to configure c-ares, apple,
     * or any other DNS resolver types and the related parameters.
     * For example, an object of
     * :ref:`CaresDnsResolverConfig <envoy_v3_api_msg_extensions.network.dns_resolver.cares.v3.CaresDnsResolverConfig>`
     * can be packed into this ``typed_dns_resolver_config``. This configuration replaces the
     * :ref:`dns_resolution_config <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.dns_resolution_config>`
     * configuration.
     * During the transition period when both ``dns_resolution_config`` and ``typed_dns_resolver_config`` exists,
     * when ``typed_dns_resolver_config`` is in place, Envoy will use it and ignore ``dns_resolution_config``.
     * When ``typed_dns_resolver_config`` is missing, the default behavior is in place.
     * [#extension-category: envoy.network.dns_resolver]
     * 
* * .envoy.config.core.v3.TypedExtensionConfig typed_dns_resolver_config = 31; */ public Builder mergeTypedDnsResolverConfig(io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig value) { if (typedDnsResolverConfigBuilder_ == null) { if (typedDnsResolverConfig_ != null) { typedDnsResolverConfig_ = io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.newBuilder(typedDnsResolverConfig_).mergeFrom(value).buildPartial(); } else { typedDnsResolverConfig_ = value; } onChanged(); } else { typedDnsResolverConfigBuilder_.mergeFrom(value); } return this; } /** *
     * DNS resolver type configuration extension. This extension can be used to configure c-ares, apple,
     * or any other DNS resolver types and the related parameters.
     * For example, an object of
     * :ref:`CaresDnsResolverConfig <envoy_v3_api_msg_extensions.network.dns_resolver.cares.v3.CaresDnsResolverConfig>`
     * can be packed into this ``typed_dns_resolver_config``. This configuration replaces the
     * :ref:`dns_resolution_config <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.dns_resolution_config>`
     * configuration.
     * During the transition period when both ``dns_resolution_config`` and ``typed_dns_resolver_config`` exists,
     * when ``typed_dns_resolver_config`` is in place, Envoy will use it and ignore ``dns_resolution_config``.
     * When ``typed_dns_resolver_config`` is missing, the default behavior is in place.
     * [#extension-category: envoy.network.dns_resolver]
     * 
* * .envoy.config.core.v3.TypedExtensionConfig typed_dns_resolver_config = 31; */ public Builder clearTypedDnsResolverConfig() { if (typedDnsResolverConfigBuilder_ == null) { typedDnsResolverConfig_ = null; onChanged(); } else { typedDnsResolverConfig_ = null; typedDnsResolverConfigBuilder_ = null; } return this; } /** *
     * DNS resolver type configuration extension. This extension can be used to configure c-ares, apple,
     * or any other DNS resolver types and the related parameters.
     * For example, an object of
     * :ref:`CaresDnsResolverConfig <envoy_v3_api_msg_extensions.network.dns_resolver.cares.v3.CaresDnsResolverConfig>`
     * can be packed into this ``typed_dns_resolver_config``. This configuration replaces the
     * :ref:`dns_resolution_config <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.dns_resolution_config>`
     * configuration.
     * During the transition period when both ``dns_resolution_config`` and ``typed_dns_resolver_config`` exists,
     * when ``typed_dns_resolver_config`` is in place, Envoy will use it and ignore ``dns_resolution_config``.
     * When ``typed_dns_resolver_config`` is missing, the default behavior is in place.
     * [#extension-category: envoy.network.dns_resolver]
     * 
* * .envoy.config.core.v3.TypedExtensionConfig typed_dns_resolver_config = 31; */ public io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.Builder getTypedDnsResolverConfigBuilder() { onChanged(); return getTypedDnsResolverConfigFieldBuilder().getBuilder(); } /** *
     * DNS resolver type configuration extension. This extension can be used to configure c-ares, apple,
     * or any other DNS resolver types and the related parameters.
     * For example, an object of
     * :ref:`CaresDnsResolverConfig <envoy_v3_api_msg_extensions.network.dns_resolver.cares.v3.CaresDnsResolverConfig>`
     * can be packed into this ``typed_dns_resolver_config``. This configuration replaces the
     * :ref:`dns_resolution_config <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.dns_resolution_config>`
     * configuration.
     * During the transition period when both ``dns_resolution_config`` and ``typed_dns_resolver_config`` exists,
     * when ``typed_dns_resolver_config`` is in place, Envoy will use it and ignore ``dns_resolution_config``.
     * When ``typed_dns_resolver_config`` is missing, the default behavior is in place.
     * [#extension-category: envoy.network.dns_resolver]
     * 
* * .envoy.config.core.v3.TypedExtensionConfig typed_dns_resolver_config = 31; */ public io.envoyproxy.envoy.config.core.v3.TypedExtensionConfigOrBuilder getTypedDnsResolverConfigOrBuilder() { if (typedDnsResolverConfigBuilder_ != null) { return typedDnsResolverConfigBuilder_.getMessageOrBuilder(); } else { return typedDnsResolverConfig_ == null ? io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.getDefaultInstance() : typedDnsResolverConfig_; } } /** *
     * DNS resolver type configuration extension. This extension can be used to configure c-ares, apple,
     * or any other DNS resolver types and the related parameters.
     * For example, an object of
     * :ref:`CaresDnsResolverConfig <envoy_v3_api_msg_extensions.network.dns_resolver.cares.v3.CaresDnsResolverConfig>`
     * can be packed into this ``typed_dns_resolver_config``. This configuration replaces the
     * :ref:`dns_resolution_config <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.dns_resolution_config>`
     * configuration.
     * During the transition period when both ``dns_resolution_config`` and ``typed_dns_resolver_config`` exists,
     * when ``typed_dns_resolver_config`` is in place, Envoy will use it and ignore ``dns_resolution_config``.
     * When ``typed_dns_resolver_config`` is missing, the default behavior is in place.
     * [#extension-category: envoy.network.dns_resolver]
     * 
* * .envoy.config.core.v3.TypedExtensionConfig typed_dns_resolver_config = 31; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.Builder, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfigOrBuilder> getTypedDnsResolverConfigFieldBuilder() { if (typedDnsResolverConfigBuilder_ == null) { typedDnsResolverConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.Builder, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfigOrBuilder>( getTypedDnsResolverConfig(), getParentForChildren(), isClean()); typedDnsResolverConfig_ = null; } return typedDnsResolverConfigBuilder_; } private java.util.List bootstrapExtensions_ = java.util.Collections.emptyList(); private void ensureBootstrapExtensionsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { bootstrapExtensions_ = new java.util.ArrayList(bootstrapExtensions_); bitField0_ |= 0x00000004; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.Builder, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfigOrBuilder> bootstrapExtensionsBuilder_; /** *
     * Specifies optional bootstrap extensions to be instantiated at startup time.
     * Each item contains extension specific configuration.
     * [#extension-category: envoy.bootstrap]
     * 
* * repeated .envoy.config.core.v3.TypedExtensionConfig bootstrap_extensions = 21; */ public java.util.List getBootstrapExtensionsList() { if (bootstrapExtensionsBuilder_ == null) { return java.util.Collections.unmodifiableList(bootstrapExtensions_); } else { return bootstrapExtensionsBuilder_.getMessageList(); } } /** *
     * Specifies optional bootstrap extensions to be instantiated at startup time.
     * Each item contains extension specific configuration.
     * [#extension-category: envoy.bootstrap]
     * 
* * repeated .envoy.config.core.v3.TypedExtensionConfig bootstrap_extensions = 21; */ public int getBootstrapExtensionsCount() { if (bootstrapExtensionsBuilder_ == null) { return bootstrapExtensions_.size(); } else { return bootstrapExtensionsBuilder_.getCount(); } } /** *
     * Specifies optional bootstrap extensions to be instantiated at startup time.
     * Each item contains extension specific configuration.
     * [#extension-category: envoy.bootstrap]
     * 
* * repeated .envoy.config.core.v3.TypedExtensionConfig bootstrap_extensions = 21; */ public io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig getBootstrapExtensions(int index) { if (bootstrapExtensionsBuilder_ == null) { return bootstrapExtensions_.get(index); } else { return bootstrapExtensionsBuilder_.getMessage(index); } } /** *
     * Specifies optional bootstrap extensions to be instantiated at startup time.
     * Each item contains extension specific configuration.
     * [#extension-category: envoy.bootstrap]
     * 
* * repeated .envoy.config.core.v3.TypedExtensionConfig bootstrap_extensions = 21; */ public Builder setBootstrapExtensions( int index, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig value) { if (bootstrapExtensionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureBootstrapExtensionsIsMutable(); bootstrapExtensions_.set(index, value); onChanged(); } else { bootstrapExtensionsBuilder_.setMessage(index, value); } return this; } /** *
     * Specifies optional bootstrap extensions to be instantiated at startup time.
     * Each item contains extension specific configuration.
     * [#extension-category: envoy.bootstrap]
     * 
* * repeated .envoy.config.core.v3.TypedExtensionConfig bootstrap_extensions = 21; */ public Builder setBootstrapExtensions( int index, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.Builder builderForValue) { if (bootstrapExtensionsBuilder_ == null) { ensureBootstrapExtensionsIsMutable(); bootstrapExtensions_.set(index, builderForValue.build()); onChanged(); } else { bootstrapExtensionsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     * Specifies optional bootstrap extensions to be instantiated at startup time.
     * Each item contains extension specific configuration.
     * [#extension-category: envoy.bootstrap]
     * 
* * repeated .envoy.config.core.v3.TypedExtensionConfig bootstrap_extensions = 21; */ public Builder addBootstrapExtensions(io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig value) { if (bootstrapExtensionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureBootstrapExtensionsIsMutable(); bootstrapExtensions_.add(value); onChanged(); } else { bootstrapExtensionsBuilder_.addMessage(value); } return this; } /** *
     * Specifies optional bootstrap extensions to be instantiated at startup time.
     * Each item contains extension specific configuration.
     * [#extension-category: envoy.bootstrap]
     * 
* * repeated .envoy.config.core.v3.TypedExtensionConfig bootstrap_extensions = 21; */ public Builder addBootstrapExtensions( int index, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig value) { if (bootstrapExtensionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureBootstrapExtensionsIsMutable(); bootstrapExtensions_.add(index, value); onChanged(); } else { bootstrapExtensionsBuilder_.addMessage(index, value); } return this; } /** *
     * Specifies optional bootstrap extensions to be instantiated at startup time.
     * Each item contains extension specific configuration.
     * [#extension-category: envoy.bootstrap]
     * 
* * repeated .envoy.config.core.v3.TypedExtensionConfig bootstrap_extensions = 21; */ public Builder addBootstrapExtensions( io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.Builder builderForValue) { if (bootstrapExtensionsBuilder_ == null) { ensureBootstrapExtensionsIsMutable(); bootstrapExtensions_.add(builderForValue.build()); onChanged(); } else { bootstrapExtensionsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     * Specifies optional bootstrap extensions to be instantiated at startup time.
     * Each item contains extension specific configuration.
     * [#extension-category: envoy.bootstrap]
     * 
* * repeated .envoy.config.core.v3.TypedExtensionConfig bootstrap_extensions = 21; */ public Builder addBootstrapExtensions( int index, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.Builder builderForValue) { if (bootstrapExtensionsBuilder_ == null) { ensureBootstrapExtensionsIsMutable(); bootstrapExtensions_.add(index, builderForValue.build()); onChanged(); } else { bootstrapExtensionsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     * Specifies optional bootstrap extensions to be instantiated at startup time.
     * Each item contains extension specific configuration.
     * [#extension-category: envoy.bootstrap]
     * 
* * repeated .envoy.config.core.v3.TypedExtensionConfig bootstrap_extensions = 21; */ public Builder addAllBootstrapExtensions( java.lang.Iterable values) { if (bootstrapExtensionsBuilder_ == null) { ensureBootstrapExtensionsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, bootstrapExtensions_); onChanged(); } else { bootstrapExtensionsBuilder_.addAllMessages(values); } return this; } /** *
     * Specifies optional bootstrap extensions to be instantiated at startup time.
     * Each item contains extension specific configuration.
     * [#extension-category: envoy.bootstrap]
     * 
* * repeated .envoy.config.core.v3.TypedExtensionConfig bootstrap_extensions = 21; */ public Builder clearBootstrapExtensions() { if (bootstrapExtensionsBuilder_ == null) { bootstrapExtensions_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { bootstrapExtensionsBuilder_.clear(); } return this; } /** *
     * Specifies optional bootstrap extensions to be instantiated at startup time.
     * Each item contains extension specific configuration.
     * [#extension-category: envoy.bootstrap]
     * 
* * repeated .envoy.config.core.v3.TypedExtensionConfig bootstrap_extensions = 21; */ public Builder removeBootstrapExtensions(int index) { if (bootstrapExtensionsBuilder_ == null) { ensureBootstrapExtensionsIsMutable(); bootstrapExtensions_.remove(index); onChanged(); } else { bootstrapExtensionsBuilder_.remove(index); } return this; } /** *
     * Specifies optional bootstrap extensions to be instantiated at startup time.
     * Each item contains extension specific configuration.
     * [#extension-category: envoy.bootstrap]
     * 
* * repeated .envoy.config.core.v3.TypedExtensionConfig bootstrap_extensions = 21; */ public io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.Builder getBootstrapExtensionsBuilder( int index) { return getBootstrapExtensionsFieldBuilder().getBuilder(index); } /** *
     * Specifies optional bootstrap extensions to be instantiated at startup time.
     * Each item contains extension specific configuration.
     * [#extension-category: envoy.bootstrap]
     * 
* * repeated .envoy.config.core.v3.TypedExtensionConfig bootstrap_extensions = 21; */ public io.envoyproxy.envoy.config.core.v3.TypedExtensionConfigOrBuilder getBootstrapExtensionsOrBuilder( int index) { if (bootstrapExtensionsBuilder_ == null) { return bootstrapExtensions_.get(index); } else { return bootstrapExtensionsBuilder_.getMessageOrBuilder(index); } } /** *
     * Specifies optional bootstrap extensions to be instantiated at startup time.
     * Each item contains extension specific configuration.
     * [#extension-category: envoy.bootstrap]
     * 
* * repeated .envoy.config.core.v3.TypedExtensionConfig bootstrap_extensions = 21; */ public java.util.List getBootstrapExtensionsOrBuilderList() { if (bootstrapExtensionsBuilder_ != null) { return bootstrapExtensionsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(bootstrapExtensions_); } } /** *
     * Specifies optional bootstrap extensions to be instantiated at startup time.
     * Each item contains extension specific configuration.
     * [#extension-category: envoy.bootstrap]
     * 
* * repeated .envoy.config.core.v3.TypedExtensionConfig bootstrap_extensions = 21; */ public io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.Builder addBootstrapExtensionsBuilder() { return getBootstrapExtensionsFieldBuilder().addBuilder( io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.getDefaultInstance()); } /** *
     * Specifies optional bootstrap extensions to be instantiated at startup time.
     * Each item contains extension specific configuration.
     * [#extension-category: envoy.bootstrap]
     * 
* * repeated .envoy.config.core.v3.TypedExtensionConfig bootstrap_extensions = 21; */ public io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.Builder addBootstrapExtensionsBuilder( int index) { return getBootstrapExtensionsFieldBuilder().addBuilder( index, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.getDefaultInstance()); } /** *
     * Specifies optional bootstrap extensions to be instantiated at startup time.
     * Each item contains extension specific configuration.
     * [#extension-category: envoy.bootstrap]
     * 
* * repeated .envoy.config.core.v3.TypedExtensionConfig bootstrap_extensions = 21; */ public java.util.List getBootstrapExtensionsBuilderList() { return getBootstrapExtensionsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.Builder, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfigOrBuilder> getBootstrapExtensionsFieldBuilder() { if (bootstrapExtensionsBuilder_ == null) { bootstrapExtensionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.Builder, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfigOrBuilder>( bootstrapExtensions_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); bootstrapExtensions_ = null; } return bootstrapExtensionsBuilder_; } private java.util.List fatalActions_ = java.util.Collections.emptyList(); private void ensureFatalActionsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { fatalActions_ = new java.util.ArrayList(fatalActions_); bitField0_ |= 0x00000008; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.FatalAction, io.envoyproxy.envoy.config.bootstrap.v3.FatalAction.Builder, io.envoyproxy.envoy.config.bootstrap.v3.FatalActionOrBuilder> fatalActionsBuilder_; /** *
     * Specifies optional extensions instantiated at startup time and
     * invoked during crash time on the request that caused the crash.
     * 
* * repeated .envoy.config.bootstrap.v3.FatalAction fatal_actions = 28; */ public java.util.List getFatalActionsList() { if (fatalActionsBuilder_ == null) { return java.util.Collections.unmodifiableList(fatalActions_); } else { return fatalActionsBuilder_.getMessageList(); } } /** *
     * Specifies optional extensions instantiated at startup time and
     * invoked during crash time on the request that caused the crash.
     * 
* * repeated .envoy.config.bootstrap.v3.FatalAction fatal_actions = 28; */ public int getFatalActionsCount() { if (fatalActionsBuilder_ == null) { return fatalActions_.size(); } else { return fatalActionsBuilder_.getCount(); } } /** *
     * Specifies optional extensions instantiated at startup time and
     * invoked during crash time on the request that caused the crash.
     * 
* * repeated .envoy.config.bootstrap.v3.FatalAction fatal_actions = 28; */ public io.envoyproxy.envoy.config.bootstrap.v3.FatalAction getFatalActions(int index) { if (fatalActionsBuilder_ == null) { return fatalActions_.get(index); } else { return fatalActionsBuilder_.getMessage(index); } } /** *
     * Specifies optional extensions instantiated at startup time and
     * invoked during crash time on the request that caused the crash.
     * 
* * repeated .envoy.config.bootstrap.v3.FatalAction fatal_actions = 28; */ public Builder setFatalActions( int index, io.envoyproxy.envoy.config.bootstrap.v3.FatalAction value) { if (fatalActionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFatalActionsIsMutable(); fatalActions_.set(index, value); onChanged(); } else { fatalActionsBuilder_.setMessage(index, value); } return this; } /** *
     * Specifies optional extensions instantiated at startup time and
     * invoked during crash time on the request that caused the crash.
     * 
* * repeated .envoy.config.bootstrap.v3.FatalAction fatal_actions = 28; */ public Builder setFatalActions( int index, io.envoyproxy.envoy.config.bootstrap.v3.FatalAction.Builder builderForValue) { if (fatalActionsBuilder_ == null) { ensureFatalActionsIsMutable(); fatalActions_.set(index, builderForValue.build()); onChanged(); } else { fatalActionsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     * Specifies optional extensions instantiated at startup time and
     * invoked during crash time on the request that caused the crash.
     * 
* * repeated .envoy.config.bootstrap.v3.FatalAction fatal_actions = 28; */ public Builder addFatalActions(io.envoyproxy.envoy.config.bootstrap.v3.FatalAction value) { if (fatalActionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFatalActionsIsMutable(); fatalActions_.add(value); onChanged(); } else { fatalActionsBuilder_.addMessage(value); } return this; } /** *
     * Specifies optional extensions instantiated at startup time and
     * invoked during crash time on the request that caused the crash.
     * 
* * repeated .envoy.config.bootstrap.v3.FatalAction fatal_actions = 28; */ public Builder addFatalActions( int index, io.envoyproxy.envoy.config.bootstrap.v3.FatalAction value) { if (fatalActionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFatalActionsIsMutable(); fatalActions_.add(index, value); onChanged(); } else { fatalActionsBuilder_.addMessage(index, value); } return this; } /** *
     * Specifies optional extensions instantiated at startup time and
     * invoked during crash time on the request that caused the crash.
     * 
* * repeated .envoy.config.bootstrap.v3.FatalAction fatal_actions = 28; */ public Builder addFatalActions( io.envoyproxy.envoy.config.bootstrap.v3.FatalAction.Builder builderForValue) { if (fatalActionsBuilder_ == null) { ensureFatalActionsIsMutable(); fatalActions_.add(builderForValue.build()); onChanged(); } else { fatalActionsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     * Specifies optional extensions instantiated at startup time and
     * invoked during crash time on the request that caused the crash.
     * 
* * repeated .envoy.config.bootstrap.v3.FatalAction fatal_actions = 28; */ public Builder addFatalActions( int index, io.envoyproxy.envoy.config.bootstrap.v3.FatalAction.Builder builderForValue) { if (fatalActionsBuilder_ == null) { ensureFatalActionsIsMutable(); fatalActions_.add(index, builderForValue.build()); onChanged(); } else { fatalActionsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     * Specifies optional extensions instantiated at startup time and
     * invoked during crash time on the request that caused the crash.
     * 
* * repeated .envoy.config.bootstrap.v3.FatalAction fatal_actions = 28; */ public Builder addAllFatalActions( java.lang.Iterable values) { if (fatalActionsBuilder_ == null) { ensureFatalActionsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, fatalActions_); onChanged(); } else { fatalActionsBuilder_.addAllMessages(values); } return this; } /** *
     * Specifies optional extensions instantiated at startup time and
     * invoked during crash time on the request that caused the crash.
     * 
* * repeated .envoy.config.bootstrap.v3.FatalAction fatal_actions = 28; */ public Builder clearFatalActions() { if (fatalActionsBuilder_ == null) { fatalActions_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); } else { fatalActionsBuilder_.clear(); } return this; } /** *
     * Specifies optional extensions instantiated at startup time and
     * invoked during crash time on the request that caused the crash.
     * 
* * repeated .envoy.config.bootstrap.v3.FatalAction fatal_actions = 28; */ public Builder removeFatalActions(int index) { if (fatalActionsBuilder_ == null) { ensureFatalActionsIsMutable(); fatalActions_.remove(index); onChanged(); } else { fatalActionsBuilder_.remove(index); } return this; } /** *
     * Specifies optional extensions instantiated at startup time and
     * invoked during crash time on the request that caused the crash.
     * 
* * repeated .envoy.config.bootstrap.v3.FatalAction fatal_actions = 28; */ public io.envoyproxy.envoy.config.bootstrap.v3.FatalAction.Builder getFatalActionsBuilder( int index) { return getFatalActionsFieldBuilder().getBuilder(index); } /** *
     * Specifies optional extensions instantiated at startup time and
     * invoked during crash time on the request that caused the crash.
     * 
* * repeated .envoy.config.bootstrap.v3.FatalAction fatal_actions = 28; */ public io.envoyproxy.envoy.config.bootstrap.v3.FatalActionOrBuilder getFatalActionsOrBuilder( int index) { if (fatalActionsBuilder_ == null) { return fatalActions_.get(index); } else { return fatalActionsBuilder_.getMessageOrBuilder(index); } } /** *
     * Specifies optional extensions instantiated at startup time and
     * invoked during crash time on the request that caused the crash.
     * 
* * repeated .envoy.config.bootstrap.v3.FatalAction fatal_actions = 28; */ public java.util.List getFatalActionsOrBuilderList() { if (fatalActionsBuilder_ != null) { return fatalActionsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(fatalActions_); } } /** *
     * Specifies optional extensions instantiated at startup time and
     * invoked during crash time on the request that caused the crash.
     * 
* * repeated .envoy.config.bootstrap.v3.FatalAction fatal_actions = 28; */ public io.envoyproxy.envoy.config.bootstrap.v3.FatalAction.Builder addFatalActionsBuilder() { return getFatalActionsFieldBuilder().addBuilder( io.envoyproxy.envoy.config.bootstrap.v3.FatalAction.getDefaultInstance()); } /** *
     * Specifies optional extensions instantiated at startup time and
     * invoked during crash time on the request that caused the crash.
     * 
* * repeated .envoy.config.bootstrap.v3.FatalAction fatal_actions = 28; */ public io.envoyproxy.envoy.config.bootstrap.v3.FatalAction.Builder addFatalActionsBuilder( int index) { return getFatalActionsFieldBuilder().addBuilder( index, io.envoyproxy.envoy.config.bootstrap.v3.FatalAction.getDefaultInstance()); } /** *
     * Specifies optional extensions instantiated at startup time and
     * invoked during crash time on the request that caused the crash.
     * 
* * repeated .envoy.config.bootstrap.v3.FatalAction fatal_actions = 28; */ public java.util.List getFatalActionsBuilderList() { return getFatalActionsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.FatalAction, io.envoyproxy.envoy.config.bootstrap.v3.FatalAction.Builder, io.envoyproxy.envoy.config.bootstrap.v3.FatalActionOrBuilder> getFatalActionsFieldBuilder() { if (fatalActionsBuilder_ == null) { fatalActionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.FatalAction, io.envoyproxy.envoy.config.bootstrap.v3.FatalAction.Builder, io.envoyproxy.envoy.config.bootstrap.v3.FatalActionOrBuilder>( fatalActions_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); fatalActions_ = null; } return fatalActionsBuilder_; } private java.util.List configSources_ = java.util.Collections.emptyList(); private void ensureConfigSourcesIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { configSources_ = new java.util.ArrayList(configSources_); bitField0_ |= 0x00000010; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.ConfigSource, io.envoyproxy.envoy.config.core.v3.ConfigSource.Builder, io.envoyproxy.envoy.config.core.v3.ConfigSourceOrBuilder> configSourcesBuilder_; /** *
     * Configuration sources that will participate in
     * xdstp:// URL authority resolution. The algorithm is as
     * follows:
     * 1. The authority field is taken from the xdstp:// URL, call
     *    this ``resource_authority``.
     * 2. ``resource_authority`` is compared against the authorities in any peer
     *    ``ConfigSource``. The peer ``ConfigSource`` is the configuration source
     *    message which would have been used unconditionally for resolution
     *    with opaque resource names. If there is a match with an authority, the
     *    peer ``ConfigSource`` message is used.
     * 3. ``resource_authority`` is compared sequentially with the authorities in
     *    each configuration source in ``config_sources``. The first ``ConfigSource``
     *    to match wins.
     * 4. As a fallback, if no configuration source matches, then
     *    ``default_config_source`` is used.
     * 5. If ``default_config_source`` is not specified, resolution fails.
     * [#not-implemented-hide:]
     * 
* * repeated .envoy.config.core.v3.ConfigSource config_sources = 22; */ public java.util.List getConfigSourcesList() { if (configSourcesBuilder_ == null) { return java.util.Collections.unmodifiableList(configSources_); } else { return configSourcesBuilder_.getMessageList(); } } /** *
     * Configuration sources that will participate in
     * xdstp:// URL authority resolution. The algorithm is as
     * follows:
     * 1. The authority field is taken from the xdstp:// URL, call
     *    this ``resource_authority``.
     * 2. ``resource_authority`` is compared against the authorities in any peer
     *    ``ConfigSource``. The peer ``ConfigSource`` is the configuration source
     *    message which would have been used unconditionally for resolution
     *    with opaque resource names. If there is a match with an authority, the
     *    peer ``ConfigSource`` message is used.
     * 3. ``resource_authority`` is compared sequentially with the authorities in
     *    each configuration source in ``config_sources``. The first ``ConfigSource``
     *    to match wins.
     * 4. As a fallback, if no configuration source matches, then
     *    ``default_config_source`` is used.
     * 5. If ``default_config_source`` is not specified, resolution fails.
     * [#not-implemented-hide:]
     * 
* * repeated .envoy.config.core.v3.ConfigSource config_sources = 22; */ public int getConfigSourcesCount() { if (configSourcesBuilder_ == null) { return configSources_.size(); } else { return configSourcesBuilder_.getCount(); } } /** *
     * Configuration sources that will participate in
     * xdstp:// URL authority resolution. The algorithm is as
     * follows:
     * 1. The authority field is taken from the xdstp:// URL, call
     *    this ``resource_authority``.
     * 2. ``resource_authority`` is compared against the authorities in any peer
     *    ``ConfigSource``. The peer ``ConfigSource`` is the configuration source
     *    message which would have been used unconditionally for resolution
     *    with opaque resource names. If there is a match with an authority, the
     *    peer ``ConfigSource`` message is used.
     * 3. ``resource_authority`` is compared sequentially with the authorities in
     *    each configuration source in ``config_sources``. The first ``ConfigSource``
     *    to match wins.
     * 4. As a fallback, if no configuration source matches, then
     *    ``default_config_source`` is used.
     * 5. If ``default_config_source`` is not specified, resolution fails.
     * [#not-implemented-hide:]
     * 
* * repeated .envoy.config.core.v3.ConfigSource config_sources = 22; */ public io.envoyproxy.envoy.config.core.v3.ConfigSource getConfigSources(int index) { if (configSourcesBuilder_ == null) { return configSources_.get(index); } else { return configSourcesBuilder_.getMessage(index); } } /** *
     * Configuration sources that will participate in
     * xdstp:// URL authority resolution. The algorithm is as
     * follows:
     * 1. The authority field is taken from the xdstp:// URL, call
     *    this ``resource_authority``.
     * 2. ``resource_authority`` is compared against the authorities in any peer
     *    ``ConfigSource``. The peer ``ConfigSource`` is the configuration source
     *    message which would have been used unconditionally for resolution
     *    with opaque resource names. If there is a match with an authority, the
     *    peer ``ConfigSource`` message is used.
     * 3. ``resource_authority`` is compared sequentially with the authorities in
     *    each configuration source in ``config_sources``. The first ``ConfigSource``
     *    to match wins.
     * 4. As a fallback, if no configuration source matches, then
     *    ``default_config_source`` is used.
     * 5. If ``default_config_source`` is not specified, resolution fails.
     * [#not-implemented-hide:]
     * 
* * repeated .envoy.config.core.v3.ConfigSource config_sources = 22; */ public Builder setConfigSources( int index, io.envoyproxy.envoy.config.core.v3.ConfigSource value) { if (configSourcesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureConfigSourcesIsMutable(); configSources_.set(index, value); onChanged(); } else { configSourcesBuilder_.setMessage(index, value); } return this; } /** *
     * Configuration sources that will participate in
     * xdstp:// URL authority resolution. The algorithm is as
     * follows:
     * 1. The authority field is taken from the xdstp:// URL, call
     *    this ``resource_authority``.
     * 2. ``resource_authority`` is compared against the authorities in any peer
     *    ``ConfigSource``. The peer ``ConfigSource`` is the configuration source
     *    message which would have been used unconditionally for resolution
     *    with opaque resource names. If there is a match with an authority, the
     *    peer ``ConfigSource`` message is used.
     * 3. ``resource_authority`` is compared sequentially with the authorities in
     *    each configuration source in ``config_sources``. The first ``ConfigSource``
     *    to match wins.
     * 4. As a fallback, if no configuration source matches, then
     *    ``default_config_source`` is used.
     * 5. If ``default_config_source`` is not specified, resolution fails.
     * [#not-implemented-hide:]
     * 
* * repeated .envoy.config.core.v3.ConfigSource config_sources = 22; */ public Builder setConfigSources( int index, io.envoyproxy.envoy.config.core.v3.ConfigSource.Builder builderForValue) { if (configSourcesBuilder_ == null) { ensureConfigSourcesIsMutable(); configSources_.set(index, builderForValue.build()); onChanged(); } else { configSourcesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     * Configuration sources that will participate in
     * xdstp:// URL authority resolution. The algorithm is as
     * follows:
     * 1. The authority field is taken from the xdstp:// URL, call
     *    this ``resource_authority``.
     * 2. ``resource_authority`` is compared against the authorities in any peer
     *    ``ConfigSource``. The peer ``ConfigSource`` is the configuration source
     *    message which would have been used unconditionally for resolution
     *    with opaque resource names. If there is a match with an authority, the
     *    peer ``ConfigSource`` message is used.
     * 3. ``resource_authority`` is compared sequentially with the authorities in
     *    each configuration source in ``config_sources``. The first ``ConfigSource``
     *    to match wins.
     * 4. As a fallback, if no configuration source matches, then
     *    ``default_config_source`` is used.
     * 5. If ``default_config_source`` is not specified, resolution fails.
     * [#not-implemented-hide:]
     * 
* * repeated .envoy.config.core.v3.ConfigSource config_sources = 22; */ public Builder addConfigSources(io.envoyproxy.envoy.config.core.v3.ConfigSource value) { if (configSourcesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureConfigSourcesIsMutable(); configSources_.add(value); onChanged(); } else { configSourcesBuilder_.addMessage(value); } return this; } /** *
     * Configuration sources that will participate in
     * xdstp:// URL authority resolution. The algorithm is as
     * follows:
     * 1. The authority field is taken from the xdstp:// URL, call
     *    this ``resource_authority``.
     * 2. ``resource_authority`` is compared against the authorities in any peer
     *    ``ConfigSource``. The peer ``ConfigSource`` is the configuration source
     *    message which would have been used unconditionally for resolution
     *    with opaque resource names. If there is a match with an authority, the
     *    peer ``ConfigSource`` message is used.
     * 3. ``resource_authority`` is compared sequentially with the authorities in
     *    each configuration source in ``config_sources``. The first ``ConfigSource``
     *    to match wins.
     * 4. As a fallback, if no configuration source matches, then
     *    ``default_config_source`` is used.
     * 5. If ``default_config_source`` is not specified, resolution fails.
     * [#not-implemented-hide:]
     * 
* * repeated .envoy.config.core.v3.ConfigSource config_sources = 22; */ public Builder addConfigSources( int index, io.envoyproxy.envoy.config.core.v3.ConfigSource value) { if (configSourcesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureConfigSourcesIsMutable(); configSources_.add(index, value); onChanged(); } else { configSourcesBuilder_.addMessage(index, value); } return this; } /** *
     * Configuration sources that will participate in
     * xdstp:// URL authority resolution. The algorithm is as
     * follows:
     * 1. The authority field is taken from the xdstp:// URL, call
     *    this ``resource_authority``.
     * 2. ``resource_authority`` is compared against the authorities in any peer
     *    ``ConfigSource``. The peer ``ConfigSource`` is the configuration source
     *    message which would have been used unconditionally for resolution
     *    with opaque resource names. If there is a match with an authority, the
     *    peer ``ConfigSource`` message is used.
     * 3. ``resource_authority`` is compared sequentially with the authorities in
     *    each configuration source in ``config_sources``. The first ``ConfigSource``
     *    to match wins.
     * 4. As a fallback, if no configuration source matches, then
     *    ``default_config_source`` is used.
     * 5. If ``default_config_source`` is not specified, resolution fails.
     * [#not-implemented-hide:]
     * 
* * repeated .envoy.config.core.v3.ConfigSource config_sources = 22; */ public Builder addConfigSources( io.envoyproxy.envoy.config.core.v3.ConfigSource.Builder builderForValue) { if (configSourcesBuilder_ == null) { ensureConfigSourcesIsMutable(); configSources_.add(builderForValue.build()); onChanged(); } else { configSourcesBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     * Configuration sources that will participate in
     * xdstp:// URL authority resolution. The algorithm is as
     * follows:
     * 1. The authority field is taken from the xdstp:// URL, call
     *    this ``resource_authority``.
     * 2. ``resource_authority`` is compared against the authorities in any peer
     *    ``ConfigSource``. The peer ``ConfigSource`` is the configuration source
     *    message which would have been used unconditionally for resolution
     *    with opaque resource names. If there is a match with an authority, the
     *    peer ``ConfigSource`` message is used.
     * 3. ``resource_authority`` is compared sequentially with the authorities in
     *    each configuration source in ``config_sources``. The first ``ConfigSource``
     *    to match wins.
     * 4. As a fallback, if no configuration source matches, then
     *    ``default_config_source`` is used.
     * 5. If ``default_config_source`` is not specified, resolution fails.
     * [#not-implemented-hide:]
     * 
* * repeated .envoy.config.core.v3.ConfigSource config_sources = 22; */ public Builder addConfigSources( int index, io.envoyproxy.envoy.config.core.v3.ConfigSource.Builder builderForValue) { if (configSourcesBuilder_ == null) { ensureConfigSourcesIsMutable(); configSources_.add(index, builderForValue.build()); onChanged(); } else { configSourcesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     * Configuration sources that will participate in
     * xdstp:// URL authority resolution. The algorithm is as
     * follows:
     * 1. The authority field is taken from the xdstp:// URL, call
     *    this ``resource_authority``.
     * 2. ``resource_authority`` is compared against the authorities in any peer
     *    ``ConfigSource``. The peer ``ConfigSource`` is the configuration source
     *    message which would have been used unconditionally for resolution
     *    with opaque resource names. If there is a match with an authority, the
     *    peer ``ConfigSource`` message is used.
     * 3. ``resource_authority`` is compared sequentially with the authorities in
     *    each configuration source in ``config_sources``. The first ``ConfigSource``
     *    to match wins.
     * 4. As a fallback, if no configuration source matches, then
     *    ``default_config_source`` is used.
     * 5. If ``default_config_source`` is not specified, resolution fails.
     * [#not-implemented-hide:]
     * 
* * repeated .envoy.config.core.v3.ConfigSource config_sources = 22; */ public Builder addAllConfigSources( java.lang.Iterable values) { if (configSourcesBuilder_ == null) { ensureConfigSourcesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, configSources_); onChanged(); } else { configSourcesBuilder_.addAllMessages(values); } return this; } /** *
     * Configuration sources that will participate in
     * xdstp:// URL authority resolution. The algorithm is as
     * follows:
     * 1. The authority field is taken from the xdstp:// URL, call
     *    this ``resource_authority``.
     * 2. ``resource_authority`` is compared against the authorities in any peer
     *    ``ConfigSource``. The peer ``ConfigSource`` is the configuration source
     *    message which would have been used unconditionally for resolution
     *    with opaque resource names. If there is a match with an authority, the
     *    peer ``ConfigSource`` message is used.
     * 3. ``resource_authority`` is compared sequentially with the authorities in
     *    each configuration source in ``config_sources``. The first ``ConfigSource``
     *    to match wins.
     * 4. As a fallback, if no configuration source matches, then
     *    ``default_config_source`` is used.
     * 5. If ``default_config_source`` is not specified, resolution fails.
     * [#not-implemented-hide:]
     * 
* * repeated .envoy.config.core.v3.ConfigSource config_sources = 22; */ public Builder clearConfigSources() { if (configSourcesBuilder_ == null) { configSources_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); onChanged(); } else { configSourcesBuilder_.clear(); } return this; } /** *
     * Configuration sources that will participate in
     * xdstp:// URL authority resolution. The algorithm is as
     * follows:
     * 1. The authority field is taken from the xdstp:// URL, call
     *    this ``resource_authority``.
     * 2. ``resource_authority`` is compared against the authorities in any peer
     *    ``ConfigSource``. The peer ``ConfigSource`` is the configuration source
     *    message which would have been used unconditionally for resolution
     *    with opaque resource names. If there is a match with an authority, the
     *    peer ``ConfigSource`` message is used.
     * 3. ``resource_authority`` is compared sequentially with the authorities in
     *    each configuration source in ``config_sources``. The first ``ConfigSource``
     *    to match wins.
     * 4. As a fallback, if no configuration source matches, then
     *    ``default_config_source`` is used.
     * 5. If ``default_config_source`` is not specified, resolution fails.
     * [#not-implemented-hide:]
     * 
* * repeated .envoy.config.core.v3.ConfigSource config_sources = 22; */ public Builder removeConfigSources(int index) { if (configSourcesBuilder_ == null) { ensureConfigSourcesIsMutable(); configSources_.remove(index); onChanged(); } else { configSourcesBuilder_.remove(index); } return this; } /** *
     * Configuration sources that will participate in
     * xdstp:// URL authority resolution. The algorithm is as
     * follows:
     * 1. The authority field is taken from the xdstp:// URL, call
     *    this ``resource_authority``.
     * 2. ``resource_authority`` is compared against the authorities in any peer
     *    ``ConfigSource``. The peer ``ConfigSource`` is the configuration source
     *    message which would have been used unconditionally for resolution
     *    with opaque resource names. If there is a match with an authority, the
     *    peer ``ConfigSource`` message is used.
     * 3. ``resource_authority`` is compared sequentially with the authorities in
     *    each configuration source in ``config_sources``. The first ``ConfigSource``
     *    to match wins.
     * 4. As a fallback, if no configuration source matches, then
     *    ``default_config_source`` is used.
     * 5. If ``default_config_source`` is not specified, resolution fails.
     * [#not-implemented-hide:]
     * 
* * repeated .envoy.config.core.v3.ConfigSource config_sources = 22; */ public io.envoyproxy.envoy.config.core.v3.ConfigSource.Builder getConfigSourcesBuilder( int index) { return getConfigSourcesFieldBuilder().getBuilder(index); } /** *
     * Configuration sources that will participate in
     * xdstp:// URL authority resolution. The algorithm is as
     * follows:
     * 1. The authority field is taken from the xdstp:// URL, call
     *    this ``resource_authority``.
     * 2. ``resource_authority`` is compared against the authorities in any peer
     *    ``ConfigSource``. The peer ``ConfigSource`` is the configuration source
     *    message which would have been used unconditionally for resolution
     *    with opaque resource names. If there is a match with an authority, the
     *    peer ``ConfigSource`` message is used.
     * 3. ``resource_authority`` is compared sequentially with the authorities in
     *    each configuration source in ``config_sources``. The first ``ConfigSource``
     *    to match wins.
     * 4. As a fallback, if no configuration source matches, then
     *    ``default_config_source`` is used.
     * 5. If ``default_config_source`` is not specified, resolution fails.
     * [#not-implemented-hide:]
     * 
* * repeated .envoy.config.core.v3.ConfigSource config_sources = 22; */ public io.envoyproxy.envoy.config.core.v3.ConfigSourceOrBuilder getConfigSourcesOrBuilder( int index) { if (configSourcesBuilder_ == null) { return configSources_.get(index); } else { return configSourcesBuilder_.getMessageOrBuilder(index); } } /** *
     * Configuration sources that will participate in
     * xdstp:// URL authority resolution. The algorithm is as
     * follows:
     * 1. The authority field is taken from the xdstp:// URL, call
     *    this ``resource_authority``.
     * 2. ``resource_authority`` is compared against the authorities in any peer
     *    ``ConfigSource``. The peer ``ConfigSource`` is the configuration source
     *    message which would have been used unconditionally for resolution
     *    with opaque resource names. If there is a match with an authority, the
     *    peer ``ConfigSource`` message is used.
     * 3. ``resource_authority`` is compared sequentially with the authorities in
     *    each configuration source in ``config_sources``. The first ``ConfigSource``
     *    to match wins.
     * 4. As a fallback, if no configuration source matches, then
     *    ``default_config_source`` is used.
     * 5. If ``default_config_source`` is not specified, resolution fails.
     * [#not-implemented-hide:]
     * 
* * repeated .envoy.config.core.v3.ConfigSource config_sources = 22; */ public java.util.List getConfigSourcesOrBuilderList() { if (configSourcesBuilder_ != null) { return configSourcesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(configSources_); } } /** *
     * Configuration sources that will participate in
     * xdstp:// URL authority resolution. The algorithm is as
     * follows:
     * 1. The authority field is taken from the xdstp:// URL, call
     *    this ``resource_authority``.
     * 2. ``resource_authority`` is compared against the authorities in any peer
     *    ``ConfigSource``. The peer ``ConfigSource`` is the configuration source
     *    message which would have been used unconditionally for resolution
     *    with opaque resource names. If there is a match with an authority, the
     *    peer ``ConfigSource`` message is used.
     * 3. ``resource_authority`` is compared sequentially with the authorities in
     *    each configuration source in ``config_sources``. The first ``ConfigSource``
     *    to match wins.
     * 4. As a fallback, if no configuration source matches, then
     *    ``default_config_source`` is used.
     * 5. If ``default_config_source`` is not specified, resolution fails.
     * [#not-implemented-hide:]
     * 
* * repeated .envoy.config.core.v3.ConfigSource config_sources = 22; */ public io.envoyproxy.envoy.config.core.v3.ConfigSource.Builder addConfigSourcesBuilder() { return getConfigSourcesFieldBuilder().addBuilder( io.envoyproxy.envoy.config.core.v3.ConfigSource.getDefaultInstance()); } /** *
     * Configuration sources that will participate in
     * xdstp:// URL authority resolution. The algorithm is as
     * follows:
     * 1. The authority field is taken from the xdstp:// URL, call
     *    this ``resource_authority``.
     * 2. ``resource_authority`` is compared against the authorities in any peer
     *    ``ConfigSource``. The peer ``ConfigSource`` is the configuration source
     *    message which would have been used unconditionally for resolution
     *    with opaque resource names. If there is a match with an authority, the
     *    peer ``ConfigSource`` message is used.
     * 3. ``resource_authority`` is compared sequentially with the authorities in
     *    each configuration source in ``config_sources``. The first ``ConfigSource``
     *    to match wins.
     * 4. As a fallback, if no configuration source matches, then
     *    ``default_config_source`` is used.
     * 5. If ``default_config_source`` is not specified, resolution fails.
     * [#not-implemented-hide:]
     * 
* * repeated .envoy.config.core.v3.ConfigSource config_sources = 22; */ public io.envoyproxy.envoy.config.core.v3.ConfigSource.Builder addConfigSourcesBuilder( int index) { return getConfigSourcesFieldBuilder().addBuilder( index, io.envoyproxy.envoy.config.core.v3.ConfigSource.getDefaultInstance()); } /** *
     * Configuration sources that will participate in
     * xdstp:// URL authority resolution. The algorithm is as
     * follows:
     * 1. The authority field is taken from the xdstp:// URL, call
     *    this ``resource_authority``.
     * 2. ``resource_authority`` is compared against the authorities in any peer
     *    ``ConfigSource``. The peer ``ConfigSource`` is the configuration source
     *    message which would have been used unconditionally for resolution
     *    with opaque resource names. If there is a match with an authority, the
     *    peer ``ConfigSource`` message is used.
     * 3. ``resource_authority`` is compared sequentially with the authorities in
     *    each configuration source in ``config_sources``. The first ``ConfigSource``
     *    to match wins.
     * 4. As a fallback, if no configuration source matches, then
     *    ``default_config_source`` is used.
     * 5. If ``default_config_source`` is not specified, resolution fails.
     * [#not-implemented-hide:]
     * 
* * repeated .envoy.config.core.v3.ConfigSource config_sources = 22; */ public java.util.List getConfigSourcesBuilderList() { return getConfigSourcesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.ConfigSource, io.envoyproxy.envoy.config.core.v3.ConfigSource.Builder, io.envoyproxy.envoy.config.core.v3.ConfigSourceOrBuilder> getConfigSourcesFieldBuilder() { if (configSourcesBuilder_ == null) { configSourcesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.ConfigSource, io.envoyproxy.envoy.config.core.v3.ConfigSource.Builder, io.envoyproxy.envoy.config.core.v3.ConfigSourceOrBuilder>( configSources_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean()); configSources_ = null; } return configSourcesBuilder_; } private io.envoyproxy.envoy.config.core.v3.ConfigSource defaultConfigSource_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.ConfigSource, io.envoyproxy.envoy.config.core.v3.ConfigSource.Builder, io.envoyproxy.envoy.config.core.v3.ConfigSourceOrBuilder> defaultConfigSourceBuilder_; /** *
     * Default configuration source for xdstp:// URLs if all
     * other resolution fails.
     * [#not-implemented-hide:]
     * 
* * .envoy.config.core.v3.ConfigSource default_config_source = 23; * @return Whether the defaultConfigSource field is set. */ public boolean hasDefaultConfigSource() { return defaultConfigSourceBuilder_ != null || defaultConfigSource_ != null; } /** *
     * Default configuration source for xdstp:// URLs if all
     * other resolution fails.
     * [#not-implemented-hide:]
     * 
* * .envoy.config.core.v3.ConfigSource default_config_source = 23; * @return The defaultConfigSource. */ public io.envoyproxy.envoy.config.core.v3.ConfigSource getDefaultConfigSource() { if (defaultConfigSourceBuilder_ == null) { return defaultConfigSource_ == null ? io.envoyproxy.envoy.config.core.v3.ConfigSource.getDefaultInstance() : defaultConfigSource_; } else { return defaultConfigSourceBuilder_.getMessage(); } } /** *
     * Default configuration source for xdstp:// URLs if all
     * other resolution fails.
     * [#not-implemented-hide:]
     * 
* * .envoy.config.core.v3.ConfigSource default_config_source = 23; */ public Builder setDefaultConfigSource(io.envoyproxy.envoy.config.core.v3.ConfigSource value) { if (defaultConfigSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); } defaultConfigSource_ = value; onChanged(); } else { defaultConfigSourceBuilder_.setMessage(value); } return this; } /** *
     * Default configuration source for xdstp:// URLs if all
     * other resolution fails.
     * [#not-implemented-hide:]
     * 
* * .envoy.config.core.v3.ConfigSource default_config_source = 23; */ public Builder setDefaultConfigSource( io.envoyproxy.envoy.config.core.v3.ConfigSource.Builder builderForValue) { if (defaultConfigSourceBuilder_ == null) { defaultConfigSource_ = builderForValue.build(); onChanged(); } else { defaultConfigSourceBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * Default configuration source for xdstp:// URLs if all
     * other resolution fails.
     * [#not-implemented-hide:]
     * 
* * .envoy.config.core.v3.ConfigSource default_config_source = 23; */ public Builder mergeDefaultConfigSource(io.envoyproxy.envoy.config.core.v3.ConfigSource value) { if (defaultConfigSourceBuilder_ == null) { if (defaultConfigSource_ != null) { defaultConfigSource_ = io.envoyproxy.envoy.config.core.v3.ConfigSource.newBuilder(defaultConfigSource_).mergeFrom(value).buildPartial(); } else { defaultConfigSource_ = value; } onChanged(); } else { defaultConfigSourceBuilder_.mergeFrom(value); } return this; } /** *
     * Default configuration source for xdstp:// URLs if all
     * other resolution fails.
     * [#not-implemented-hide:]
     * 
* * .envoy.config.core.v3.ConfigSource default_config_source = 23; */ public Builder clearDefaultConfigSource() { if (defaultConfigSourceBuilder_ == null) { defaultConfigSource_ = null; onChanged(); } else { defaultConfigSource_ = null; defaultConfigSourceBuilder_ = null; } return this; } /** *
     * Default configuration source for xdstp:// URLs if all
     * other resolution fails.
     * [#not-implemented-hide:]
     * 
* * .envoy.config.core.v3.ConfigSource default_config_source = 23; */ public io.envoyproxy.envoy.config.core.v3.ConfigSource.Builder getDefaultConfigSourceBuilder() { onChanged(); return getDefaultConfigSourceFieldBuilder().getBuilder(); } /** *
     * Default configuration source for xdstp:// URLs if all
     * other resolution fails.
     * [#not-implemented-hide:]
     * 
* * .envoy.config.core.v3.ConfigSource default_config_source = 23; */ public io.envoyproxy.envoy.config.core.v3.ConfigSourceOrBuilder getDefaultConfigSourceOrBuilder() { if (defaultConfigSourceBuilder_ != null) { return defaultConfigSourceBuilder_.getMessageOrBuilder(); } else { return defaultConfigSource_ == null ? io.envoyproxy.envoy.config.core.v3.ConfigSource.getDefaultInstance() : defaultConfigSource_; } } /** *
     * Default configuration source for xdstp:// URLs if all
     * other resolution fails.
     * [#not-implemented-hide:]
     * 
* * .envoy.config.core.v3.ConfigSource default_config_source = 23; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.ConfigSource, io.envoyproxy.envoy.config.core.v3.ConfigSource.Builder, io.envoyproxy.envoy.config.core.v3.ConfigSourceOrBuilder> getDefaultConfigSourceFieldBuilder() { if (defaultConfigSourceBuilder_ == null) { defaultConfigSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.ConfigSource, io.envoyproxy.envoy.config.core.v3.ConfigSource.Builder, io.envoyproxy.envoy.config.core.v3.ConfigSourceOrBuilder>( getDefaultConfigSource(), getParentForChildren(), isClean()); defaultConfigSource_ = null; } return defaultConfigSourceBuilder_; } private java.lang.Object defaultSocketInterface_ = ""; /** *
     * Optional overriding of default socket interface. The value must be the name of one of the
     * socket interface factories initialized through a bootstrap extension
     * 
* * string default_socket_interface = 24; * @return The defaultSocketInterface. */ public java.lang.String getDefaultSocketInterface() { java.lang.Object ref = defaultSocketInterface_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultSocketInterface_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * Optional overriding of default socket interface. The value must be the name of one of the
     * socket interface factories initialized through a bootstrap extension
     * 
* * string default_socket_interface = 24; * @return The bytes for defaultSocketInterface. */ public com.google.protobuf.ByteString getDefaultSocketInterfaceBytes() { java.lang.Object ref = defaultSocketInterface_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); defaultSocketInterface_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * Optional overriding of default socket interface. The value must be the name of one of the
     * socket interface factories initialized through a bootstrap extension
     * 
* * string default_socket_interface = 24; * @param value The defaultSocketInterface to set. * @return This builder for chaining. */ public Builder setDefaultSocketInterface( java.lang.String value) { if (value == null) { throw new NullPointerException(); } defaultSocketInterface_ = value; onChanged(); return this; } /** *
     * Optional overriding of default socket interface. The value must be the name of one of the
     * socket interface factories initialized through a bootstrap extension
     * 
* * string default_socket_interface = 24; * @return This builder for chaining. */ public Builder clearDefaultSocketInterface() { defaultSocketInterface_ = getDefaultInstance().getDefaultSocketInterface(); onChanged(); return this; } /** *
     * Optional overriding of default socket interface. The value must be the name of one of the
     * socket interface factories initialized through a bootstrap extension
     * 
* * string default_socket_interface = 24; * @param value The bytes for defaultSocketInterface to set. * @return This builder for chaining. */ public Builder setDefaultSocketInterfaceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); defaultSocketInterface_ = value; onChanged(); return this; } private com.google.protobuf.MapField< java.lang.String, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig> certificateProviderInstances_; private com.google.protobuf.MapField internalGetCertificateProviderInstances() { if (certificateProviderInstances_ == null) { return com.google.protobuf.MapField.emptyMapField( CertificateProviderInstancesDefaultEntryHolder.defaultEntry); } return certificateProviderInstances_; } private com.google.protobuf.MapField internalGetMutableCertificateProviderInstances() { onChanged();; if (certificateProviderInstances_ == null) { certificateProviderInstances_ = com.google.protobuf.MapField.newMapField( CertificateProviderInstancesDefaultEntryHolder.defaultEntry); } if (!certificateProviderInstances_.isMutable()) { certificateProviderInstances_ = certificateProviderInstances_.copy(); } return certificateProviderInstances_; } public int getCertificateProviderInstancesCount() { return internalGetCertificateProviderInstances().getMap().size(); } /** *
     * Global map of CertificateProvider instances. These instances are referred to by name in the
     * :ref:`CommonTlsContext.CertificateProviderInstance.instance_name
     * <envoy_v3_api_field_extensions.transport_sockets.tls.v3.CommonTlsContext.CertificateProviderInstance.instance_name>`
     * field.
     * [#not-implemented-hide:]
     * 
* * map<string, .envoy.config.core.v3.TypedExtensionConfig> certificate_provider_instances = 25; */ @java.lang.Override public boolean containsCertificateProviderInstances( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetCertificateProviderInstances().getMap().containsKey(key); } /** * Use {@link #getCertificateProviderInstancesMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getCertificateProviderInstances() { return getCertificateProviderInstancesMap(); } /** *
     * Global map of CertificateProvider instances. These instances are referred to by name in the
     * :ref:`CommonTlsContext.CertificateProviderInstance.instance_name
     * <envoy_v3_api_field_extensions.transport_sockets.tls.v3.CommonTlsContext.CertificateProviderInstance.instance_name>`
     * field.
     * [#not-implemented-hide:]
     * 
* * map<string, .envoy.config.core.v3.TypedExtensionConfig> certificate_provider_instances = 25; */ @java.lang.Override public java.util.Map getCertificateProviderInstancesMap() { return internalGetCertificateProviderInstances().getMap(); } /** *
     * Global map of CertificateProvider instances. These instances are referred to by name in the
     * :ref:`CommonTlsContext.CertificateProviderInstance.instance_name
     * <envoy_v3_api_field_extensions.transport_sockets.tls.v3.CommonTlsContext.CertificateProviderInstance.instance_name>`
     * field.
     * [#not-implemented-hide:]
     * 
* * map<string, .envoy.config.core.v3.TypedExtensionConfig> certificate_provider_instances = 25; */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig getCertificateProviderInstancesOrDefault( java.lang.String key, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetCertificateProviderInstances().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * Global map of CertificateProvider instances. These instances are referred to by name in the
     * :ref:`CommonTlsContext.CertificateProviderInstance.instance_name
     * <envoy_v3_api_field_extensions.transport_sockets.tls.v3.CommonTlsContext.CertificateProviderInstance.instance_name>`
     * field.
     * [#not-implemented-hide:]
     * 
* * map<string, .envoy.config.core.v3.TypedExtensionConfig> certificate_provider_instances = 25; */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig getCertificateProviderInstancesOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetCertificateProviderInstances().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearCertificateProviderInstances() { internalGetMutableCertificateProviderInstances().getMutableMap() .clear(); return this; } /** *
     * Global map of CertificateProvider instances. These instances are referred to by name in the
     * :ref:`CommonTlsContext.CertificateProviderInstance.instance_name
     * <envoy_v3_api_field_extensions.transport_sockets.tls.v3.CommonTlsContext.CertificateProviderInstance.instance_name>`
     * field.
     * [#not-implemented-hide:]
     * 
* * map<string, .envoy.config.core.v3.TypedExtensionConfig> certificate_provider_instances = 25; */ public Builder removeCertificateProviderInstances( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableCertificateProviderInstances().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableCertificateProviderInstances() { return internalGetMutableCertificateProviderInstances().getMutableMap(); } /** *
     * Global map of CertificateProvider instances. These instances are referred to by name in the
     * :ref:`CommonTlsContext.CertificateProviderInstance.instance_name
     * <envoy_v3_api_field_extensions.transport_sockets.tls.v3.CommonTlsContext.CertificateProviderInstance.instance_name>`
     * field.
     * [#not-implemented-hide:]
     * 
* * map<string, .envoy.config.core.v3.TypedExtensionConfig> certificate_provider_instances = 25; */ public Builder putCertificateProviderInstances( java.lang.String key, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableCertificateProviderInstances().getMutableMap() .put(key, value); return this; } /** *
     * Global map of CertificateProvider instances. These instances are referred to by name in the
     * :ref:`CommonTlsContext.CertificateProviderInstance.instance_name
     * <envoy_v3_api_field_extensions.transport_sockets.tls.v3.CommonTlsContext.CertificateProviderInstance.instance_name>`
     * field.
     * [#not-implemented-hide:]
     * 
* * map<string, .envoy.config.core.v3.TypedExtensionConfig> certificate_provider_instances = 25; */ public Builder putAllCertificateProviderInstances( java.util.Map values) { internalGetMutableCertificateProviderInstances().getMutableMap() .putAll(values); return this; } private java.util.List inlineHeaders_ = java.util.Collections.emptyList(); private void ensureInlineHeadersIsMutable() { if (!((bitField0_ & 0x00000040) != 0)) { inlineHeaders_ = new java.util.ArrayList(inlineHeaders_); bitField0_ |= 0x00000040; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.CustomInlineHeader, io.envoyproxy.envoy.config.bootstrap.v3.CustomInlineHeader.Builder, io.envoyproxy.envoy.config.bootstrap.v3.CustomInlineHeaderOrBuilder> inlineHeadersBuilder_; /** *
     * Specifies a set of headers that need to be registered as inline header. This configuration
     * allows users to customize the inline headers on-demand at Envoy startup without modifying
     * Envoy's source code.
     * Note that the 'set-cookie' header cannot be registered as inline header.
     * 
* * repeated .envoy.config.bootstrap.v3.CustomInlineHeader inline_headers = 32; */ public java.util.List getInlineHeadersList() { if (inlineHeadersBuilder_ == null) { return java.util.Collections.unmodifiableList(inlineHeaders_); } else { return inlineHeadersBuilder_.getMessageList(); } } /** *
     * Specifies a set of headers that need to be registered as inline header. This configuration
     * allows users to customize the inline headers on-demand at Envoy startup without modifying
     * Envoy's source code.
     * Note that the 'set-cookie' header cannot be registered as inline header.
     * 
* * repeated .envoy.config.bootstrap.v3.CustomInlineHeader inline_headers = 32; */ public int getInlineHeadersCount() { if (inlineHeadersBuilder_ == null) { return inlineHeaders_.size(); } else { return inlineHeadersBuilder_.getCount(); } } /** *
     * Specifies a set of headers that need to be registered as inline header. This configuration
     * allows users to customize the inline headers on-demand at Envoy startup without modifying
     * Envoy's source code.
     * Note that the 'set-cookie' header cannot be registered as inline header.
     * 
* * repeated .envoy.config.bootstrap.v3.CustomInlineHeader inline_headers = 32; */ public io.envoyproxy.envoy.config.bootstrap.v3.CustomInlineHeader getInlineHeaders(int index) { if (inlineHeadersBuilder_ == null) { return inlineHeaders_.get(index); } else { return inlineHeadersBuilder_.getMessage(index); } } /** *
     * Specifies a set of headers that need to be registered as inline header. This configuration
     * allows users to customize the inline headers on-demand at Envoy startup without modifying
     * Envoy's source code.
     * Note that the 'set-cookie' header cannot be registered as inline header.
     * 
* * repeated .envoy.config.bootstrap.v3.CustomInlineHeader inline_headers = 32; */ public Builder setInlineHeaders( int index, io.envoyproxy.envoy.config.bootstrap.v3.CustomInlineHeader value) { if (inlineHeadersBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureInlineHeadersIsMutable(); inlineHeaders_.set(index, value); onChanged(); } else { inlineHeadersBuilder_.setMessage(index, value); } return this; } /** *
     * Specifies a set of headers that need to be registered as inline header. This configuration
     * allows users to customize the inline headers on-demand at Envoy startup without modifying
     * Envoy's source code.
     * Note that the 'set-cookie' header cannot be registered as inline header.
     * 
* * repeated .envoy.config.bootstrap.v3.CustomInlineHeader inline_headers = 32; */ public Builder setInlineHeaders( int index, io.envoyproxy.envoy.config.bootstrap.v3.CustomInlineHeader.Builder builderForValue) { if (inlineHeadersBuilder_ == null) { ensureInlineHeadersIsMutable(); inlineHeaders_.set(index, builderForValue.build()); onChanged(); } else { inlineHeadersBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     * Specifies a set of headers that need to be registered as inline header. This configuration
     * allows users to customize the inline headers on-demand at Envoy startup without modifying
     * Envoy's source code.
     * Note that the 'set-cookie' header cannot be registered as inline header.
     * 
* * repeated .envoy.config.bootstrap.v3.CustomInlineHeader inline_headers = 32; */ public Builder addInlineHeaders(io.envoyproxy.envoy.config.bootstrap.v3.CustomInlineHeader value) { if (inlineHeadersBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureInlineHeadersIsMutable(); inlineHeaders_.add(value); onChanged(); } else { inlineHeadersBuilder_.addMessage(value); } return this; } /** *
     * Specifies a set of headers that need to be registered as inline header. This configuration
     * allows users to customize the inline headers on-demand at Envoy startup without modifying
     * Envoy's source code.
     * Note that the 'set-cookie' header cannot be registered as inline header.
     * 
* * repeated .envoy.config.bootstrap.v3.CustomInlineHeader inline_headers = 32; */ public Builder addInlineHeaders( int index, io.envoyproxy.envoy.config.bootstrap.v3.CustomInlineHeader value) { if (inlineHeadersBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureInlineHeadersIsMutable(); inlineHeaders_.add(index, value); onChanged(); } else { inlineHeadersBuilder_.addMessage(index, value); } return this; } /** *
     * Specifies a set of headers that need to be registered as inline header. This configuration
     * allows users to customize the inline headers on-demand at Envoy startup without modifying
     * Envoy's source code.
     * Note that the 'set-cookie' header cannot be registered as inline header.
     * 
* * repeated .envoy.config.bootstrap.v3.CustomInlineHeader inline_headers = 32; */ public Builder addInlineHeaders( io.envoyproxy.envoy.config.bootstrap.v3.CustomInlineHeader.Builder builderForValue) { if (inlineHeadersBuilder_ == null) { ensureInlineHeadersIsMutable(); inlineHeaders_.add(builderForValue.build()); onChanged(); } else { inlineHeadersBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     * Specifies a set of headers that need to be registered as inline header. This configuration
     * allows users to customize the inline headers on-demand at Envoy startup without modifying
     * Envoy's source code.
     * Note that the 'set-cookie' header cannot be registered as inline header.
     * 
* * repeated .envoy.config.bootstrap.v3.CustomInlineHeader inline_headers = 32; */ public Builder addInlineHeaders( int index, io.envoyproxy.envoy.config.bootstrap.v3.CustomInlineHeader.Builder builderForValue) { if (inlineHeadersBuilder_ == null) { ensureInlineHeadersIsMutable(); inlineHeaders_.add(index, builderForValue.build()); onChanged(); } else { inlineHeadersBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     * Specifies a set of headers that need to be registered as inline header. This configuration
     * allows users to customize the inline headers on-demand at Envoy startup without modifying
     * Envoy's source code.
     * Note that the 'set-cookie' header cannot be registered as inline header.
     * 
* * repeated .envoy.config.bootstrap.v3.CustomInlineHeader inline_headers = 32; */ public Builder addAllInlineHeaders( java.lang.Iterable values) { if (inlineHeadersBuilder_ == null) { ensureInlineHeadersIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, inlineHeaders_); onChanged(); } else { inlineHeadersBuilder_.addAllMessages(values); } return this; } /** *
     * Specifies a set of headers that need to be registered as inline header. This configuration
     * allows users to customize the inline headers on-demand at Envoy startup without modifying
     * Envoy's source code.
     * Note that the 'set-cookie' header cannot be registered as inline header.
     * 
* * repeated .envoy.config.bootstrap.v3.CustomInlineHeader inline_headers = 32; */ public Builder clearInlineHeaders() { if (inlineHeadersBuilder_ == null) { inlineHeaders_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000040); onChanged(); } else { inlineHeadersBuilder_.clear(); } return this; } /** *
     * Specifies a set of headers that need to be registered as inline header. This configuration
     * allows users to customize the inline headers on-demand at Envoy startup without modifying
     * Envoy's source code.
     * Note that the 'set-cookie' header cannot be registered as inline header.
     * 
* * repeated .envoy.config.bootstrap.v3.CustomInlineHeader inline_headers = 32; */ public Builder removeInlineHeaders(int index) { if (inlineHeadersBuilder_ == null) { ensureInlineHeadersIsMutable(); inlineHeaders_.remove(index); onChanged(); } else { inlineHeadersBuilder_.remove(index); } return this; } /** *
     * Specifies a set of headers that need to be registered as inline header. This configuration
     * allows users to customize the inline headers on-demand at Envoy startup without modifying
     * Envoy's source code.
     * Note that the 'set-cookie' header cannot be registered as inline header.
     * 
* * repeated .envoy.config.bootstrap.v3.CustomInlineHeader inline_headers = 32; */ public io.envoyproxy.envoy.config.bootstrap.v3.CustomInlineHeader.Builder getInlineHeadersBuilder( int index) { return getInlineHeadersFieldBuilder().getBuilder(index); } /** *
     * Specifies a set of headers that need to be registered as inline header. This configuration
     * allows users to customize the inline headers on-demand at Envoy startup without modifying
     * Envoy's source code.
     * Note that the 'set-cookie' header cannot be registered as inline header.
     * 
* * repeated .envoy.config.bootstrap.v3.CustomInlineHeader inline_headers = 32; */ public io.envoyproxy.envoy.config.bootstrap.v3.CustomInlineHeaderOrBuilder getInlineHeadersOrBuilder( int index) { if (inlineHeadersBuilder_ == null) { return inlineHeaders_.get(index); } else { return inlineHeadersBuilder_.getMessageOrBuilder(index); } } /** *
     * Specifies a set of headers that need to be registered as inline header. This configuration
     * allows users to customize the inline headers on-demand at Envoy startup without modifying
     * Envoy's source code.
     * Note that the 'set-cookie' header cannot be registered as inline header.
     * 
* * repeated .envoy.config.bootstrap.v3.CustomInlineHeader inline_headers = 32; */ public java.util.List getInlineHeadersOrBuilderList() { if (inlineHeadersBuilder_ != null) { return inlineHeadersBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(inlineHeaders_); } } /** *
     * Specifies a set of headers that need to be registered as inline header. This configuration
     * allows users to customize the inline headers on-demand at Envoy startup without modifying
     * Envoy's source code.
     * Note that the 'set-cookie' header cannot be registered as inline header.
     * 
* * repeated .envoy.config.bootstrap.v3.CustomInlineHeader inline_headers = 32; */ public io.envoyproxy.envoy.config.bootstrap.v3.CustomInlineHeader.Builder addInlineHeadersBuilder() { return getInlineHeadersFieldBuilder().addBuilder( io.envoyproxy.envoy.config.bootstrap.v3.CustomInlineHeader.getDefaultInstance()); } /** *
     * Specifies a set of headers that need to be registered as inline header. This configuration
     * allows users to customize the inline headers on-demand at Envoy startup without modifying
     * Envoy's source code.
     * Note that the 'set-cookie' header cannot be registered as inline header.
     * 
* * repeated .envoy.config.bootstrap.v3.CustomInlineHeader inline_headers = 32; */ public io.envoyproxy.envoy.config.bootstrap.v3.CustomInlineHeader.Builder addInlineHeadersBuilder( int index) { return getInlineHeadersFieldBuilder().addBuilder( index, io.envoyproxy.envoy.config.bootstrap.v3.CustomInlineHeader.getDefaultInstance()); } /** *
     * Specifies a set of headers that need to be registered as inline header. This configuration
     * allows users to customize the inline headers on-demand at Envoy startup without modifying
     * Envoy's source code.
     * Note that the 'set-cookie' header cannot be registered as inline header.
     * 
* * repeated .envoy.config.bootstrap.v3.CustomInlineHeader inline_headers = 32; */ public java.util.List getInlineHeadersBuilderList() { return getInlineHeadersFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.CustomInlineHeader, io.envoyproxy.envoy.config.bootstrap.v3.CustomInlineHeader.Builder, io.envoyproxy.envoy.config.bootstrap.v3.CustomInlineHeaderOrBuilder> getInlineHeadersFieldBuilder() { if (inlineHeadersBuilder_ == null) { inlineHeadersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.CustomInlineHeader, io.envoyproxy.envoy.config.bootstrap.v3.CustomInlineHeader.Builder, io.envoyproxy.envoy.config.bootstrap.v3.CustomInlineHeaderOrBuilder>( inlineHeaders_, ((bitField0_ & 0x00000040) != 0), getParentForChildren(), isClean()); inlineHeaders_ = null; } return inlineHeadersBuilder_; } private java.lang.Object perfTracingFilePath_ = ""; /** *
     * Optional path to a file with performance tracing data created by "Perfetto" SDK in binary
     * ProtoBuf format. The default value is "envoy.pftrace".
     * 
* * string perf_tracing_file_path = 33; * @return The perfTracingFilePath. */ public java.lang.String getPerfTracingFilePath() { java.lang.Object ref = perfTracingFilePath_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); perfTracingFilePath_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * Optional path to a file with performance tracing data created by "Perfetto" SDK in binary
     * ProtoBuf format. The default value is "envoy.pftrace".
     * 
* * string perf_tracing_file_path = 33; * @return The bytes for perfTracingFilePath. */ public com.google.protobuf.ByteString getPerfTracingFilePathBytes() { java.lang.Object ref = perfTracingFilePath_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); perfTracingFilePath_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * Optional path to a file with performance tracing data created by "Perfetto" SDK in binary
     * ProtoBuf format. The default value is "envoy.pftrace".
     * 
* * string perf_tracing_file_path = 33; * @param value The perfTracingFilePath to set. * @return This builder for chaining. */ public Builder setPerfTracingFilePath( java.lang.String value) { if (value == null) { throw new NullPointerException(); } perfTracingFilePath_ = value; onChanged(); return this; } /** *
     * Optional path to a file with performance tracing data created by "Perfetto" SDK in binary
     * ProtoBuf format. The default value is "envoy.pftrace".
     * 
* * string perf_tracing_file_path = 33; * @return This builder for chaining. */ public Builder clearPerfTracingFilePath() { perfTracingFilePath_ = getDefaultInstance().getPerfTracingFilePath(); onChanged(); return this; } /** *
     * Optional path to a file with performance tracing data created by "Perfetto" SDK in binary
     * ProtoBuf format. The default value is "envoy.pftrace".
     * 
* * string perf_tracing_file_path = 33; * @param value The bytes for perfTracingFilePath to set. * @return This builder for chaining. */ public Builder setPerfTracingFilePathBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); perfTracingFilePath_ = value; onChanged(); return this; } private io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig defaultRegexEngine_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.Builder, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfigOrBuilder> defaultRegexEngineBuilder_; /** *
     * Optional overriding of default regex engine.
     * If the value is not specified, Google RE2 will be used by default.
     * [#extension-category: envoy.regex_engines]
     * 
* * .envoy.config.core.v3.TypedExtensionConfig default_regex_engine = 34; * @return Whether the defaultRegexEngine field is set. */ public boolean hasDefaultRegexEngine() { return defaultRegexEngineBuilder_ != null || defaultRegexEngine_ != null; } /** *
     * Optional overriding of default regex engine.
     * If the value is not specified, Google RE2 will be used by default.
     * [#extension-category: envoy.regex_engines]
     * 
* * .envoy.config.core.v3.TypedExtensionConfig default_regex_engine = 34; * @return The defaultRegexEngine. */ public io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig getDefaultRegexEngine() { if (defaultRegexEngineBuilder_ == null) { return defaultRegexEngine_ == null ? io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.getDefaultInstance() : defaultRegexEngine_; } else { return defaultRegexEngineBuilder_.getMessage(); } } /** *
     * Optional overriding of default regex engine.
     * If the value is not specified, Google RE2 will be used by default.
     * [#extension-category: envoy.regex_engines]
     * 
* * .envoy.config.core.v3.TypedExtensionConfig default_regex_engine = 34; */ public Builder setDefaultRegexEngine(io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig value) { if (defaultRegexEngineBuilder_ == null) { if (value == null) { throw new NullPointerException(); } defaultRegexEngine_ = value; onChanged(); } else { defaultRegexEngineBuilder_.setMessage(value); } return this; } /** *
     * Optional overriding of default regex engine.
     * If the value is not specified, Google RE2 will be used by default.
     * [#extension-category: envoy.regex_engines]
     * 
* * .envoy.config.core.v3.TypedExtensionConfig default_regex_engine = 34; */ public Builder setDefaultRegexEngine( io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.Builder builderForValue) { if (defaultRegexEngineBuilder_ == null) { defaultRegexEngine_ = builderForValue.build(); onChanged(); } else { defaultRegexEngineBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * Optional overriding of default regex engine.
     * If the value is not specified, Google RE2 will be used by default.
     * [#extension-category: envoy.regex_engines]
     * 
* * .envoy.config.core.v3.TypedExtensionConfig default_regex_engine = 34; */ public Builder mergeDefaultRegexEngine(io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig value) { if (defaultRegexEngineBuilder_ == null) { if (defaultRegexEngine_ != null) { defaultRegexEngine_ = io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.newBuilder(defaultRegexEngine_).mergeFrom(value).buildPartial(); } else { defaultRegexEngine_ = value; } onChanged(); } else { defaultRegexEngineBuilder_.mergeFrom(value); } return this; } /** *
     * Optional overriding of default regex engine.
     * If the value is not specified, Google RE2 will be used by default.
     * [#extension-category: envoy.regex_engines]
     * 
* * .envoy.config.core.v3.TypedExtensionConfig default_regex_engine = 34; */ public Builder clearDefaultRegexEngine() { if (defaultRegexEngineBuilder_ == null) { defaultRegexEngine_ = null; onChanged(); } else { defaultRegexEngine_ = null; defaultRegexEngineBuilder_ = null; } return this; } /** *
     * Optional overriding of default regex engine.
     * If the value is not specified, Google RE2 will be used by default.
     * [#extension-category: envoy.regex_engines]
     * 
* * .envoy.config.core.v3.TypedExtensionConfig default_regex_engine = 34; */ public io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.Builder getDefaultRegexEngineBuilder() { onChanged(); return getDefaultRegexEngineFieldBuilder().getBuilder(); } /** *
     * Optional overriding of default regex engine.
     * If the value is not specified, Google RE2 will be used by default.
     * [#extension-category: envoy.regex_engines]
     * 
* * .envoy.config.core.v3.TypedExtensionConfig default_regex_engine = 34; */ public io.envoyproxy.envoy.config.core.v3.TypedExtensionConfigOrBuilder getDefaultRegexEngineOrBuilder() { if (defaultRegexEngineBuilder_ != null) { return defaultRegexEngineBuilder_.getMessageOrBuilder(); } else { return defaultRegexEngine_ == null ? io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.getDefaultInstance() : defaultRegexEngine_; } } /** *
     * Optional overriding of default regex engine.
     * If the value is not specified, Google RE2 will be used by default.
     * [#extension-category: envoy.regex_engines]
     * 
* * .envoy.config.core.v3.TypedExtensionConfig default_regex_engine = 34; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.Builder, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfigOrBuilder> getDefaultRegexEngineFieldBuilder() { if (defaultRegexEngineBuilder_ == null) { defaultRegexEngineBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.Builder, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfigOrBuilder>( getDefaultRegexEngine(), getParentForChildren(), isClean()); defaultRegexEngine_ = null; } return defaultRegexEngineBuilder_; } private io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig xdsDelegateExtension_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.Builder, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfigOrBuilder> xdsDelegateExtensionBuilder_; /** *
     * Optional XdsResourcesDelegate configuration, which allows plugging custom logic into both
     * fetch and load events during xDS processing.
     * If a value is not specified, no XdsResourcesDelegate will be used.
     * TODO(abeyad): Add public-facing documentation.
     * [#not-implemented-hide:]
     * 
* * .envoy.config.core.v3.TypedExtensionConfig xds_delegate_extension = 35; * @return Whether the xdsDelegateExtension field is set. */ public boolean hasXdsDelegateExtension() { return xdsDelegateExtensionBuilder_ != null || xdsDelegateExtension_ != null; } /** *
     * Optional XdsResourcesDelegate configuration, which allows plugging custom logic into both
     * fetch and load events during xDS processing.
     * If a value is not specified, no XdsResourcesDelegate will be used.
     * TODO(abeyad): Add public-facing documentation.
     * [#not-implemented-hide:]
     * 
* * .envoy.config.core.v3.TypedExtensionConfig xds_delegate_extension = 35; * @return The xdsDelegateExtension. */ public io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig getXdsDelegateExtension() { if (xdsDelegateExtensionBuilder_ == null) { return xdsDelegateExtension_ == null ? io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.getDefaultInstance() : xdsDelegateExtension_; } else { return xdsDelegateExtensionBuilder_.getMessage(); } } /** *
     * Optional XdsResourcesDelegate configuration, which allows plugging custom logic into both
     * fetch and load events during xDS processing.
     * If a value is not specified, no XdsResourcesDelegate will be used.
     * TODO(abeyad): Add public-facing documentation.
     * [#not-implemented-hide:]
     * 
* * .envoy.config.core.v3.TypedExtensionConfig xds_delegate_extension = 35; */ public Builder setXdsDelegateExtension(io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig value) { if (xdsDelegateExtensionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } xdsDelegateExtension_ = value; onChanged(); } else { xdsDelegateExtensionBuilder_.setMessage(value); } return this; } /** *
     * Optional XdsResourcesDelegate configuration, which allows plugging custom logic into both
     * fetch and load events during xDS processing.
     * If a value is not specified, no XdsResourcesDelegate will be used.
     * TODO(abeyad): Add public-facing documentation.
     * [#not-implemented-hide:]
     * 
* * .envoy.config.core.v3.TypedExtensionConfig xds_delegate_extension = 35; */ public Builder setXdsDelegateExtension( io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.Builder builderForValue) { if (xdsDelegateExtensionBuilder_ == null) { xdsDelegateExtension_ = builderForValue.build(); onChanged(); } else { xdsDelegateExtensionBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * Optional XdsResourcesDelegate configuration, which allows plugging custom logic into both
     * fetch and load events during xDS processing.
     * If a value is not specified, no XdsResourcesDelegate will be used.
     * TODO(abeyad): Add public-facing documentation.
     * [#not-implemented-hide:]
     * 
* * .envoy.config.core.v3.TypedExtensionConfig xds_delegate_extension = 35; */ public Builder mergeXdsDelegateExtension(io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig value) { if (xdsDelegateExtensionBuilder_ == null) { if (xdsDelegateExtension_ != null) { xdsDelegateExtension_ = io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.newBuilder(xdsDelegateExtension_).mergeFrom(value).buildPartial(); } else { xdsDelegateExtension_ = value; } onChanged(); } else { xdsDelegateExtensionBuilder_.mergeFrom(value); } return this; } /** *
     * Optional XdsResourcesDelegate configuration, which allows plugging custom logic into both
     * fetch and load events during xDS processing.
     * If a value is not specified, no XdsResourcesDelegate will be used.
     * TODO(abeyad): Add public-facing documentation.
     * [#not-implemented-hide:]
     * 
* * .envoy.config.core.v3.TypedExtensionConfig xds_delegate_extension = 35; */ public Builder clearXdsDelegateExtension() { if (xdsDelegateExtensionBuilder_ == null) { xdsDelegateExtension_ = null; onChanged(); } else { xdsDelegateExtension_ = null; xdsDelegateExtensionBuilder_ = null; } return this; } /** *
     * Optional XdsResourcesDelegate configuration, which allows plugging custom logic into both
     * fetch and load events during xDS processing.
     * If a value is not specified, no XdsResourcesDelegate will be used.
     * TODO(abeyad): Add public-facing documentation.
     * [#not-implemented-hide:]
     * 
* * .envoy.config.core.v3.TypedExtensionConfig xds_delegate_extension = 35; */ public io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.Builder getXdsDelegateExtensionBuilder() { onChanged(); return getXdsDelegateExtensionFieldBuilder().getBuilder(); } /** *
     * Optional XdsResourcesDelegate configuration, which allows plugging custom logic into both
     * fetch and load events during xDS processing.
     * If a value is not specified, no XdsResourcesDelegate will be used.
     * TODO(abeyad): Add public-facing documentation.
     * [#not-implemented-hide:]
     * 
* * .envoy.config.core.v3.TypedExtensionConfig xds_delegate_extension = 35; */ public io.envoyproxy.envoy.config.core.v3.TypedExtensionConfigOrBuilder getXdsDelegateExtensionOrBuilder() { if (xdsDelegateExtensionBuilder_ != null) { return xdsDelegateExtensionBuilder_.getMessageOrBuilder(); } else { return xdsDelegateExtension_ == null ? io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.getDefaultInstance() : xdsDelegateExtension_; } } /** *
     * Optional XdsResourcesDelegate configuration, which allows plugging custom logic into both
     * fetch and load events during xDS processing.
     * If a value is not specified, no XdsResourcesDelegate will be used.
     * TODO(abeyad): Add public-facing documentation.
     * [#not-implemented-hide:]
     * 
* * .envoy.config.core.v3.TypedExtensionConfig xds_delegate_extension = 35; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.Builder, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfigOrBuilder> getXdsDelegateExtensionFieldBuilder() { if (xdsDelegateExtensionBuilder_ == null) { xdsDelegateExtensionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.Builder, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfigOrBuilder>( getXdsDelegateExtension(), getParentForChildren(), isClean()); xdsDelegateExtension_ = null; } return xdsDelegateExtensionBuilder_; } private io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig xdsConfigTrackerExtension_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.Builder, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfigOrBuilder> xdsConfigTrackerExtensionBuilder_; /** *
     * Optional XdsConfigTracker configuration, which allows tracking xDS responses in external components,
     * e.g., external tracer or monitor. It provides the process point when receive, ingest, or fail to
     * process xDS resources and messages. If a value is not specified, no XdsConfigTracker will be used.
     * .. note::
     *    There are no in-repo extensions currently, and the :repo:`XdsConfigTracker <envoy/config/xds_config_tracker.h>`
     *    interface should be implemented before using.
     *    See :repo:`xds_config_tracker_integration_test <test/integration/xds_config_tracker_integration_test.cc>`
     *    for an example usage of the interface.
     * 
* * .envoy.config.core.v3.TypedExtensionConfig xds_config_tracker_extension = 36; * @return Whether the xdsConfigTrackerExtension field is set. */ public boolean hasXdsConfigTrackerExtension() { return xdsConfigTrackerExtensionBuilder_ != null || xdsConfigTrackerExtension_ != null; } /** *
     * Optional XdsConfigTracker configuration, which allows tracking xDS responses in external components,
     * e.g., external tracer or monitor. It provides the process point when receive, ingest, or fail to
     * process xDS resources and messages. If a value is not specified, no XdsConfigTracker will be used.
     * .. note::
     *    There are no in-repo extensions currently, and the :repo:`XdsConfigTracker <envoy/config/xds_config_tracker.h>`
     *    interface should be implemented before using.
     *    See :repo:`xds_config_tracker_integration_test <test/integration/xds_config_tracker_integration_test.cc>`
     *    for an example usage of the interface.
     * 
* * .envoy.config.core.v3.TypedExtensionConfig xds_config_tracker_extension = 36; * @return The xdsConfigTrackerExtension. */ public io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig getXdsConfigTrackerExtension() { if (xdsConfigTrackerExtensionBuilder_ == null) { return xdsConfigTrackerExtension_ == null ? io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.getDefaultInstance() : xdsConfigTrackerExtension_; } else { return xdsConfigTrackerExtensionBuilder_.getMessage(); } } /** *
     * Optional XdsConfigTracker configuration, which allows tracking xDS responses in external components,
     * e.g., external tracer or monitor. It provides the process point when receive, ingest, or fail to
     * process xDS resources and messages. If a value is not specified, no XdsConfigTracker will be used.
     * .. note::
     *    There are no in-repo extensions currently, and the :repo:`XdsConfigTracker <envoy/config/xds_config_tracker.h>`
     *    interface should be implemented before using.
     *    See :repo:`xds_config_tracker_integration_test <test/integration/xds_config_tracker_integration_test.cc>`
     *    for an example usage of the interface.
     * 
* * .envoy.config.core.v3.TypedExtensionConfig xds_config_tracker_extension = 36; */ public Builder setXdsConfigTrackerExtension(io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig value) { if (xdsConfigTrackerExtensionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } xdsConfigTrackerExtension_ = value; onChanged(); } else { xdsConfigTrackerExtensionBuilder_.setMessage(value); } return this; } /** *
     * Optional XdsConfigTracker configuration, which allows tracking xDS responses in external components,
     * e.g., external tracer or monitor. It provides the process point when receive, ingest, or fail to
     * process xDS resources and messages. If a value is not specified, no XdsConfigTracker will be used.
     * .. note::
     *    There are no in-repo extensions currently, and the :repo:`XdsConfigTracker <envoy/config/xds_config_tracker.h>`
     *    interface should be implemented before using.
     *    See :repo:`xds_config_tracker_integration_test <test/integration/xds_config_tracker_integration_test.cc>`
     *    for an example usage of the interface.
     * 
* * .envoy.config.core.v3.TypedExtensionConfig xds_config_tracker_extension = 36; */ public Builder setXdsConfigTrackerExtension( io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.Builder builderForValue) { if (xdsConfigTrackerExtensionBuilder_ == null) { xdsConfigTrackerExtension_ = builderForValue.build(); onChanged(); } else { xdsConfigTrackerExtensionBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * Optional XdsConfigTracker configuration, which allows tracking xDS responses in external components,
     * e.g., external tracer or monitor. It provides the process point when receive, ingest, or fail to
     * process xDS resources and messages. If a value is not specified, no XdsConfigTracker will be used.
     * .. note::
     *    There are no in-repo extensions currently, and the :repo:`XdsConfigTracker <envoy/config/xds_config_tracker.h>`
     *    interface should be implemented before using.
     *    See :repo:`xds_config_tracker_integration_test <test/integration/xds_config_tracker_integration_test.cc>`
     *    for an example usage of the interface.
     * 
* * .envoy.config.core.v3.TypedExtensionConfig xds_config_tracker_extension = 36; */ public Builder mergeXdsConfigTrackerExtension(io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig value) { if (xdsConfigTrackerExtensionBuilder_ == null) { if (xdsConfigTrackerExtension_ != null) { xdsConfigTrackerExtension_ = io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.newBuilder(xdsConfigTrackerExtension_).mergeFrom(value).buildPartial(); } else { xdsConfigTrackerExtension_ = value; } onChanged(); } else { xdsConfigTrackerExtensionBuilder_.mergeFrom(value); } return this; } /** *
     * Optional XdsConfigTracker configuration, which allows tracking xDS responses in external components,
     * e.g., external tracer or monitor. It provides the process point when receive, ingest, or fail to
     * process xDS resources and messages. If a value is not specified, no XdsConfigTracker will be used.
     * .. note::
     *    There are no in-repo extensions currently, and the :repo:`XdsConfigTracker <envoy/config/xds_config_tracker.h>`
     *    interface should be implemented before using.
     *    See :repo:`xds_config_tracker_integration_test <test/integration/xds_config_tracker_integration_test.cc>`
     *    for an example usage of the interface.
     * 
* * .envoy.config.core.v3.TypedExtensionConfig xds_config_tracker_extension = 36; */ public Builder clearXdsConfigTrackerExtension() { if (xdsConfigTrackerExtensionBuilder_ == null) { xdsConfigTrackerExtension_ = null; onChanged(); } else { xdsConfigTrackerExtension_ = null; xdsConfigTrackerExtensionBuilder_ = null; } return this; } /** *
     * Optional XdsConfigTracker configuration, which allows tracking xDS responses in external components,
     * e.g., external tracer or monitor. It provides the process point when receive, ingest, or fail to
     * process xDS resources and messages. If a value is not specified, no XdsConfigTracker will be used.
     * .. note::
     *    There are no in-repo extensions currently, and the :repo:`XdsConfigTracker <envoy/config/xds_config_tracker.h>`
     *    interface should be implemented before using.
     *    See :repo:`xds_config_tracker_integration_test <test/integration/xds_config_tracker_integration_test.cc>`
     *    for an example usage of the interface.
     * 
* * .envoy.config.core.v3.TypedExtensionConfig xds_config_tracker_extension = 36; */ public io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.Builder getXdsConfigTrackerExtensionBuilder() { onChanged(); return getXdsConfigTrackerExtensionFieldBuilder().getBuilder(); } /** *
     * Optional XdsConfigTracker configuration, which allows tracking xDS responses in external components,
     * e.g., external tracer or monitor. It provides the process point when receive, ingest, or fail to
     * process xDS resources and messages. If a value is not specified, no XdsConfigTracker will be used.
     * .. note::
     *    There are no in-repo extensions currently, and the :repo:`XdsConfigTracker <envoy/config/xds_config_tracker.h>`
     *    interface should be implemented before using.
     *    See :repo:`xds_config_tracker_integration_test <test/integration/xds_config_tracker_integration_test.cc>`
     *    for an example usage of the interface.
     * 
* * .envoy.config.core.v3.TypedExtensionConfig xds_config_tracker_extension = 36; */ public io.envoyproxy.envoy.config.core.v3.TypedExtensionConfigOrBuilder getXdsConfigTrackerExtensionOrBuilder() { if (xdsConfigTrackerExtensionBuilder_ != null) { return xdsConfigTrackerExtensionBuilder_.getMessageOrBuilder(); } else { return xdsConfigTrackerExtension_ == null ? io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.getDefaultInstance() : xdsConfigTrackerExtension_; } } /** *
     * Optional XdsConfigTracker configuration, which allows tracking xDS responses in external components,
     * e.g., external tracer or monitor. It provides the process point when receive, ingest, or fail to
     * process xDS resources and messages. If a value is not specified, no XdsConfigTracker will be used.
     * .. note::
     *    There are no in-repo extensions currently, and the :repo:`XdsConfigTracker <envoy/config/xds_config_tracker.h>`
     *    interface should be implemented before using.
     *    See :repo:`xds_config_tracker_integration_test <test/integration/xds_config_tracker_integration_test.cc>`
     *    for an example usage of the interface.
     * 
* * .envoy.config.core.v3.TypedExtensionConfig xds_config_tracker_extension = 36; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.Builder, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfigOrBuilder> getXdsConfigTrackerExtensionFieldBuilder() { if (xdsConfigTrackerExtensionBuilder_ == null) { xdsConfigTrackerExtensionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.Builder, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfigOrBuilder>( getXdsConfigTrackerExtension(), getParentForChildren(), isClean()); xdsConfigTrackerExtension_ = null; } return xdsConfigTrackerExtensionBuilder_; } private io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig listenerManager_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.Builder, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfigOrBuilder> listenerManagerBuilder_; /** *
     * [#not-implemented-hide:]
     * This controls the type of listener manager configured for Envoy. Currently
     * Envoy only supports ListenerManager for this field and Envoy Mobile
     * supports ApiListenerManager.
     * 
* * .envoy.config.core.v3.TypedExtensionConfig listener_manager = 37; * @return Whether the listenerManager field is set. */ public boolean hasListenerManager() { return listenerManagerBuilder_ != null || listenerManager_ != null; } /** *
     * [#not-implemented-hide:]
     * This controls the type of listener manager configured for Envoy. Currently
     * Envoy only supports ListenerManager for this field and Envoy Mobile
     * supports ApiListenerManager.
     * 
* * .envoy.config.core.v3.TypedExtensionConfig listener_manager = 37; * @return The listenerManager. */ public io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig getListenerManager() { if (listenerManagerBuilder_ == null) { return listenerManager_ == null ? io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.getDefaultInstance() : listenerManager_; } else { return listenerManagerBuilder_.getMessage(); } } /** *
     * [#not-implemented-hide:]
     * This controls the type of listener manager configured for Envoy. Currently
     * Envoy only supports ListenerManager for this field and Envoy Mobile
     * supports ApiListenerManager.
     * 
* * .envoy.config.core.v3.TypedExtensionConfig listener_manager = 37; */ public Builder setListenerManager(io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig value) { if (listenerManagerBuilder_ == null) { if (value == null) { throw new NullPointerException(); } listenerManager_ = value; onChanged(); } else { listenerManagerBuilder_.setMessage(value); } return this; } /** *
     * [#not-implemented-hide:]
     * This controls the type of listener manager configured for Envoy. Currently
     * Envoy only supports ListenerManager for this field and Envoy Mobile
     * supports ApiListenerManager.
     * 
* * .envoy.config.core.v3.TypedExtensionConfig listener_manager = 37; */ public Builder setListenerManager( io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.Builder builderForValue) { if (listenerManagerBuilder_ == null) { listenerManager_ = builderForValue.build(); onChanged(); } else { listenerManagerBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * [#not-implemented-hide:]
     * This controls the type of listener manager configured for Envoy. Currently
     * Envoy only supports ListenerManager for this field and Envoy Mobile
     * supports ApiListenerManager.
     * 
* * .envoy.config.core.v3.TypedExtensionConfig listener_manager = 37; */ public Builder mergeListenerManager(io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig value) { if (listenerManagerBuilder_ == null) { if (listenerManager_ != null) { listenerManager_ = io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.newBuilder(listenerManager_).mergeFrom(value).buildPartial(); } else { listenerManager_ = value; } onChanged(); } else { listenerManagerBuilder_.mergeFrom(value); } return this; } /** *
     * [#not-implemented-hide:]
     * This controls the type of listener manager configured for Envoy. Currently
     * Envoy only supports ListenerManager for this field and Envoy Mobile
     * supports ApiListenerManager.
     * 
* * .envoy.config.core.v3.TypedExtensionConfig listener_manager = 37; */ public Builder clearListenerManager() { if (listenerManagerBuilder_ == null) { listenerManager_ = null; onChanged(); } else { listenerManager_ = null; listenerManagerBuilder_ = null; } return this; } /** *
     * [#not-implemented-hide:]
     * This controls the type of listener manager configured for Envoy. Currently
     * Envoy only supports ListenerManager for this field and Envoy Mobile
     * supports ApiListenerManager.
     * 
* * .envoy.config.core.v3.TypedExtensionConfig listener_manager = 37; */ public io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.Builder getListenerManagerBuilder() { onChanged(); return getListenerManagerFieldBuilder().getBuilder(); } /** *
     * [#not-implemented-hide:]
     * This controls the type of listener manager configured for Envoy. Currently
     * Envoy only supports ListenerManager for this field and Envoy Mobile
     * supports ApiListenerManager.
     * 
* * .envoy.config.core.v3.TypedExtensionConfig listener_manager = 37; */ public io.envoyproxy.envoy.config.core.v3.TypedExtensionConfigOrBuilder getListenerManagerOrBuilder() { if (listenerManagerBuilder_ != null) { return listenerManagerBuilder_.getMessageOrBuilder(); } else { return listenerManager_ == null ? io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.getDefaultInstance() : listenerManager_; } } /** *
     * [#not-implemented-hide:]
     * This controls the type of listener manager configured for Envoy. Currently
     * Envoy only supports ListenerManager for this field and Envoy Mobile
     * supports ApiListenerManager.
     * 
* * .envoy.config.core.v3.TypedExtensionConfig listener_manager = 37; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.Builder, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfigOrBuilder> getListenerManagerFieldBuilder() { if (listenerManagerBuilder_ == null) { listenerManagerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.Builder, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfigOrBuilder>( getListenerManager(), getParentForChildren(), isClean()); listenerManager_ = null; } return listenerManagerBuilder_; } private io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig applicationLogConfig_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.Builder, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfigOrBuilder> applicationLogConfigBuilder_; /** *
     * Optional application log configuration.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig application_log_config = 38; * @return Whether the applicationLogConfig field is set. */ public boolean hasApplicationLogConfig() { return applicationLogConfigBuilder_ != null || applicationLogConfig_ != null; } /** *
     * Optional application log configuration.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig application_log_config = 38; * @return The applicationLogConfig. */ public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig getApplicationLogConfig() { if (applicationLogConfigBuilder_ == null) { return applicationLogConfig_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.getDefaultInstance() : applicationLogConfig_; } else { return applicationLogConfigBuilder_.getMessage(); } } /** *
     * Optional application log configuration.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig application_log_config = 38; */ public Builder setApplicationLogConfig(io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig value) { if (applicationLogConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } applicationLogConfig_ = value; onChanged(); } else { applicationLogConfigBuilder_.setMessage(value); } return this; } /** *
     * Optional application log configuration.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig application_log_config = 38; */ public Builder setApplicationLogConfig( io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.Builder builderForValue) { if (applicationLogConfigBuilder_ == null) { applicationLogConfig_ = builderForValue.build(); onChanged(); } else { applicationLogConfigBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * Optional application log configuration.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig application_log_config = 38; */ public Builder mergeApplicationLogConfig(io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig value) { if (applicationLogConfigBuilder_ == null) { if (applicationLogConfig_ != null) { applicationLogConfig_ = io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.newBuilder(applicationLogConfig_).mergeFrom(value).buildPartial(); } else { applicationLogConfig_ = value; } onChanged(); } else { applicationLogConfigBuilder_.mergeFrom(value); } return this; } /** *
     * Optional application log configuration.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig application_log_config = 38; */ public Builder clearApplicationLogConfig() { if (applicationLogConfigBuilder_ == null) { applicationLogConfig_ = null; onChanged(); } else { applicationLogConfig_ = null; applicationLogConfigBuilder_ = null; } return this; } /** *
     * Optional application log configuration.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig application_log_config = 38; */ public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.Builder getApplicationLogConfigBuilder() { onChanged(); return getApplicationLogConfigFieldBuilder().getBuilder(); } /** *
     * Optional application log configuration.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig application_log_config = 38; */ public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfigOrBuilder getApplicationLogConfigOrBuilder() { if (applicationLogConfigBuilder_ != null) { return applicationLogConfigBuilder_.getMessageOrBuilder(); } else { return applicationLogConfig_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.getDefaultInstance() : applicationLogConfig_; } } /** *
     * Optional application log configuration.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig application_log_config = 38; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.Builder, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfigOrBuilder> getApplicationLogConfigFieldBuilder() { if (applicationLogConfigBuilder_ == null) { applicationLogConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.Builder, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfigOrBuilder>( getApplicationLogConfig(), getParentForChildren(), isClean()); applicationLogConfig_ = null; } return applicationLogConfigBuilder_; } private io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig grpcAsyncClientManagerConfig_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig.Builder, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfigOrBuilder> grpcAsyncClientManagerConfigBuilder_; /** *
     * Optional gRPC async manager config.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig grpc_async_client_manager_config = 40; * @return Whether the grpcAsyncClientManagerConfig field is set. */ public boolean hasGrpcAsyncClientManagerConfig() { return grpcAsyncClientManagerConfigBuilder_ != null || grpcAsyncClientManagerConfig_ != null; } /** *
     * Optional gRPC async manager config.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig grpc_async_client_manager_config = 40; * @return The grpcAsyncClientManagerConfig. */ public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig getGrpcAsyncClientManagerConfig() { if (grpcAsyncClientManagerConfigBuilder_ == null) { return grpcAsyncClientManagerConfig_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig.getDefaultInstance() : grpcAsyncClientManagerConfig_; } else { return grpcAsyncClientManagerConfigBuilder_.getMessage(); } } /** *
     * Optional gRPC async manager config.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig grpc_async_client_manager_config = 40; */ public Builder setGrpcAsyncClientManagerConfig(io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig value) { if (grpcAsyncClientManagerConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } grpcAsyncClientManagerConfig_ = value; onChanged(); } else { grpcAsyncClientManagerConfigBuilder_.setMessage(value); } return this; } /** *
     * Optional gRPC async manager config.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig grpc_async_client_manager_config = 40; */ public Builder setGrpcAsyncClientManagerConfig( io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig.Builder builderForValue) { if (grpcAsyncClientManagerConfigBuilder_ == null) { grpcAsyncClientManagerConfig_ = builderForValue.build(); onChanged(); } else { grpcAsyncClientManagerConfigBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * Optional gRPC async manager config.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig grpc_async_client_manager_config = 40; */ public Builder mergeGrpcAsyncClientManagerConfig(io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig value) { if (grpcAsyncClientManagerConfigBuilder_ == null) { if (grpcAsyncClientManagerConfig_ != null) { grpcAsyncClientManagerConfig_ = io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig.newBuilder(grpcAsyncClientManagerConfig_).mergeFrom(value).buildPartial(); } else { grpcAsyncClientManagerConfig_ = value; } onChanged(); } else { grpcAsyncClientManagerConfigBuilder_.mergeFrom(value); } return this; } /** *
     * Optional gRPC async manager config.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig grpc_async_client_manager_config = 40; */ public Builder clearGrpcAsyncClientManagerConfig() { if (grpcAsyncClientManagerConfigBuilder_ == null) { grpcAsyncClientManagerConfig_ = null; onChanged(); } else { grpcAsyncClientManagerConfig_ = null; grpcAsyncClientManagerConfigBuilder_ = null; } return this; } /** *
     * Optional gRPC async manager config.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig grpc_async_client_manager_config = 40; */ public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig.Builder getGrpcAsyncClientManagerConfigBuilder() { onChanged(); return getGrpcAsyncClientManagerConfigFieldBuilder().getBuilder(); } /** *
     * Optional gRPC async manager config.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig grpc_async_client_manager_config = 40; */ public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfigOrBuilder getGrpcAsyncClientManagerConfigOrBuilder() { if (grpcAsyncClientManagerConfigBuilder_ != null) { return grpcAsyncClientManagerConfigBuilder_.getMessageOrBuilder(); } else { return grpcAsyncClientManagerConfig_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig.getDefaultInstance() : grpcAsyncClientManagerConfig_; } } /** *
     * Optional gRPC async manager config.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig grpc_async_client_manager_config = 40; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig.Builder, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfigOrBuilder> getGrpcAsyncClientManagerConfigFieldBuilder() { if (grpcAsyncClientManagerConfigBuilder_ == null) { grpcAsyncClientManagerConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig.Builder, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfigOrBuilder>( getGrpcAsyncClientManagerConfig(), getParentForChildren(), isClean()); grpcAsyncClientManagerConfig_ = null; } return grpcAsyncClientManagerConfigBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:envoy.config.bootstrap.v3.Bootstrap) } // @@protoc_insertion_point(class_scope:envoy.config.bootstrap.v3.Bootstrap) private static final io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap(); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Bootstrap parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Bootstrap(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy