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

io.envoyproxy.envoy.config.bootstrap.v2.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/v2/bootstrap.proto

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

/**
 * 
 * Bootstrap :ref:`configuration overview <config_overview_v2_bootstrap>`.
 * 
* * Protobuf type {@code envoy.config.bootstrap.v2.Bootstrap} */ public final class Bootstrap extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:envoy.config.bootstrap.v2.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() { flagsPath_ = ""; statsSinks_ = java.util.Collections.emptyList(); headerPrefix_ = ""; } @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.api.v2.core.Node.Builder subBuilder = null; if (node_ != null) { subBuilder = node_.toBuilder(); } node_ = input.readMessage(io.envoyproxy.envoy.api.v2.core.Node.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(node_); node_ = subBuilder.buildPartial(); } break; } case 18: { io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources.Builder subBuilder = null; if (staticResources_ != null) { subBuilder = staticResources_.toBuilder(); } staticResources_ = input.readMessage(io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(staticResources_); staticResources_ = subBuilder.buildPartial(); } break; } case 26: { io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources.Builder subBuilder = null; if (dynamicResources_ != null) { subBuilder = dynamicResources_.toBuilder(); } dynamicResources_ = input.readMessage(io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(dynamicResources_); dynamicResources_ = subBuilder.buildPartial(); } break; } case 34: { io.envoyproxy.envoy.config.bootstrap.v2.ClusterManager.Builder subBuilder = null; if (clusterManager_ != null) { subBuilder = clusterManager_.toBuilder(); } clusterManager_ = input.readMessage(io.envoyproxy.envoy.config.bootstrap.v2.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_ & 0x00000001) != 0)) { statsSinks_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } statsSinks_.add( input.readMessage(io.envoyproxy.envoy.config.metrics.v2.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.v2.Watchdog.Builder subBuilder = null; if (watchdog_ != null) { subBuilder = watchdog_.toBuilder(); } watchdog_ = input.readMessage(io.envoyproxy.envoy.config.bootstrap.v2.Watchdog.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(watchdog_); watchdog_ = subBuilder.buildPartial(); } break; } case 74: { io.envoyproxy.envoy.config.trace.v2.Tracing.Builder subBuilder = null; if (tracing_ != null) { subBuilder = tracing_.toBuilder(); } tracing_ = input.readMessage(io.envoyproxy.envoy.config.trace.v2.Tracing.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(tracing_); tracing_ = subBuilder.buildPartial(); } break; } case 90: { io.envoyproxy.envoy.config.bootstrap.v2.Runtime.Builder subBuilder = null; if (runtime_ != null) { subBuilder = runtime_.toBuilder(); } runtime_ = input.readMessage(io.envoyproxy.envoy.config.bootstrap.v2.Runtime.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(runtime_); runtime_ = subBuilder.buildPartial(); } break; } case 98: { io.envoyproxy.envoy.config.bootstrap.v2.Admin.Builder subBuilder = null; if (admin_ != null) { subBuilder = admin_.toBuilder(); } admin_ = input.readMessage(io.envoyproxy.envoy.config.bootstrap.v2.Admin.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(admin_); admin_ = subBuilder.buildPartial(); } break; } case 106: { io.envoyproxy.envoy.config.metrics.v2.StatsConfig.Builder subBuilder = null; if (statsConfig_ != null) { subBuilder = statsConfig_.toBuilder(); } statsConfig_ = input.readMessage(io.envoyproxy.envoy.config.metrics.v2.StatsConfig.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(statsConfig_); statsConfig_ = subBuilder.buildPartial(); } break; } case 114: { io.envoyproxy.envoy.api.v2.core.ApiConfigSource.Builder subBuilder = null; if (hdsConfig_ != null) { subBuilder = hdsConfig_.toBuilder(); } hdsConfig_ = input.readMessage(io.envoyproxy.envoy.api.v2.core.ApiConfigSource.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(hdsConfig_); hdsConfig_ = subBuilder.buildPartial(); } break; } case 122: { io.envoyproxy.envoy.config.overload.v2alpha.OverloadManager.Builder subBuilder = null; if (overloadManager_ != null) { subBuilder = overloadManager_.toBuilder(); } overloadManager_ = input.readMessage(io.envoyproxy.envoy.config.overload.v2alpha.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.v2.LayeredRuntime.Builder subBuilder = null; if (layeredRuntime_ != null) { subBuilder = layeredRuntime_.toBuilder(); } layeredRuntime_ = input.readMessage(io.envoyproxy.envoy.config.bootstrap.v2.LayeredRuntime.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(layeredRuntime_); layeredRuntime_ = subBuilder.buildPartial(); } break; } case 146: { java.lang.String s = input.readStringRequireUtf8(); headerPrefix_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { statsSinks_ = java.util.Collections.unmodifiableList(statsSinks_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.config.bootstrap.v2.BootstrapProto.internal_static_envoy_config_bootstrap_v2_Bootstrap_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.config.bootstrap.v2.BootstrapProto.internal_static_envoy_config_bootstrap_v2_Bootstrap_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.class, io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.Builder.class); } public interface StaticResourcesOrBuilder extends // @@protoc_insertion_point(interface_extends:envoy.config.bootstrap.v2.Bootstrap.StaticResources) com.google.protobuf.MessageOrBuilder { /** *
     * Static :ref:`Listeners <envoy_api_msg_Listener>`. These listeners are
     * available regardless of LDS configuration.
     * 
* * repeated .envoy.api.v2.Listener listeners = 1; */ java.util.List getListenersList(); /** *
     * Static :ref:`Listeners <envoy_api_msg_Listener>`. These listeners are
     * available regardless of LDS configuration.
     * 
* * repeated .envoy.api.v2.Listener listeners = 1; */ io.envoyproxy.envoy.api.v2.Listener getListeners(int index); /** *
     * Static :ref:`Listeners <envoy_api_msg_Listener>`. These listeners are
     * available regardless of LDS configuration.
     * 
* * repeated .envoy.api.v2.Listener listeners = 1; */ int getListenersCount(); /** *
     * Static :ref:`Listeners <envoy_api_msg_Listener>`. These listeners are
     * available regardless of LDS configuration.
     * 
* * repeated .envoy.api.v2.Listener listeners = 1; */ java.util.List getListenersOrBuilderList(); /** *
     * Static :ref:`Listeners <envoy_api_msg_Listener>`. These listeners are
     * available regardless of LDS configuration.
     * 
* * repeated .envoy.api.v2.Listener listeners = 1; */ io.envoyproxy.envoy.api.v2.ListenerOrBuilder getListenersOrBuilder( int index); /** *
     * If a network based configuration source is specified for :ref:`cds_config
     * <envoy_api_field_config.bootstrap.v2.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.api.v2.Cluster clusters = 2; */ java.util.List getClustersList(); /** *
     * If a network based configuration source is specified for :ref:`cds_config
     * <envoy_api_field_config.bootstrap.v2.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.api.v2.Cluster clusters = 2; */ io.envoyproxy.envoy.api.v2.Cluster getClusters(int index); /** *
     * If a network based configuration source is specified for :ref:`cds_config
     * <envoy_api_field_config.bootstrap.v2.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.api.v2.Cluster clusters = 2; */ int getClustersCount(); /** *
     * If a network based configuration source is specified for :ref:`cds_config
     * <envoy_api_field_config.bootstrap.v2.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.api.v2.Cluster clusters = 2; */ java.util.List getClustersOrBuilderList(); /** *
     * If a network based configuration source is specified for :ref:`cds_config
     * <envoy_api_field_config.bootstrap.v2.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.api.v2.Cluster clusters = 2; */ io.envoyproxy.envoy.api.v2.ClusterOrBuilder getClustersOrBuilder( int index); /** *
     * These static secrets can be used by :ref:`SdsSecretConfig
     * <envoy_api_msg_auth.SdsSecretConfig>`
     * 
* * repeated .envoy.api.v2.auth.Secret secrets = 3; */ java.util.List getSecretsList(); /** *
     * These static secrets can be used by :ref:`SdsSecretConfig
     * <envoy_api_msg_auth.SdsSecretConfig>`
     * 
* * repeated .envoy.api.v2.auth.Secret secrets = 3; */ io.envoyproxy.envoy.api.v2.auth.Secret getSecrets(int index); /** *
     * These static secrets can be used by :ref:`SdsSecretConfig
     * <envoy_api_msg_auth.SdsSecretConfig>`
     * 
* * repeated .envoy.api.v2.auth.Secret secrets = 3; */ int getSecretsCount(); /** *
     * These static secrets can be used by :ref:`SdsSecretConfig
     * <envoy_api_msg_auth.SdsSecretConfig>`
     * 
* * repeated .envoy.api.v2.auth.Secret secrets = 3; */ java.util.List getSecretsOrBuilderList(); /** *
     * These static secrets can be used by :ref:`SdsSecretConfig
     * <envoy_api_msg_auth.SdsSecretConfig>`
     * 
* * repeated .envoy.api.v2.auth.Secret secrets = 3; */ io.envoyproxy.envoy.api.v2.auth.SecretOrBuilder getSecretsOrBuilder( int index); } /** * Protobuf type {@code envoy.config.bootstrap.v2.Bootstrap.StaticResources} */ public static final class StaticResources extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:envoy.config.bootstrap.v2.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.api.v2.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.api.v2.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.api.v2.auth.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 (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.v2.BootstrapProto.internal_static_envoy_config_bootstrap_v2_Bootstrap_StaticResources_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.config.bootstrap.v2.BootstrapProto.internal_static_envoy_config_bootstrap_v2_Bootstrap_StaticResources_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources.class, io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources.Builder.class); } public static final int LISTENERS_FIELD_NUMBER = 1; private java.util.List listeners_; /** *
     * Static :ref:`Listeners <envoy_api_msg_Listener>`. These listeners are
     * available regardless of LDS configuration.
     * 
* * repeated .envoy.api.v2.Listener listeners = 1; */ public java.util.List getListenersList() { return listeners_; } /** *
     * Static :ref:`Listeners <envoy_api_msg_Listener>`. These listeners are
     * available regardless of LDS configuration.
     * 
* * repeated .envoy.api.v2.Listener listeners = 1; */ public java.util.List getListenersOrBuilderList() { return listeners_; } /** *
     * Static :ref:`Listeners <envoy_api_msg_Listener>`. These listeners are
     * available regardless of LDS configuration.
     * 
* * repeated .envoy.api.v2.Listener listeners = 1; */ public int getListenersCount() { return listeners_.size(); } /** *
     * Static :ref:`Listeners <envoy_api_msg_Listener>`. These listeners are
     * available regardless of LDS configuration.
     * 
* * repeated .envoy.api.v2.Listener listeners = 1; */ public io.envoyproxy.envoy.api.v2.Listener getListeners(int index) { return listeners_.get(index); } /** *
     * Static :ref:`Listeners <envoy_api_msg_Listener>`. These listeners are
     * available regardless of LDS configuration.
     * 
* * repeated .envoy.api.v2.Listener listeners = 1; */ public io.envoyproxy.envoy.api.v2.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_api_field_config.bootstrap.v2.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.api.v2.Cluster clusters = 2; */ public java.util.List getClustersList() { return clusters_; } /** *
     * If a network based configuration source is specified for :ref:`cds_config
     * <envoy_api_field_config.bootstrap.v2.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.api.v2.Cluster clusters = 2; */ public java.util.List getClustersOrBuilderList() { return clusters_; } /** *
     * If a network based configuration source is specified for :ref:`cds_config
     * <envoy_api_field_config.bootstrap.v2.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.api.v2.Cluster clusters = 2; */ public int getClustersCount() { return clusters_.size(); } /** *
     * If a network based configuration source is specified for :ref:`cds_config
     * <envoy_api_field_config.bootstrap.v2.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.api.v2.Cluster clusters = 2; */ public io.envoyproxy.envoy.api.v2.Cluster getClusters(int index) { return clusters_.get(index); } /** *
     * If a network based configuration source is specified for :ref:`cds_config
     * <envoy_api_field_config.bootstrap.v2.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.api.v2.Cluster clusters = 2; */ public io.envoyproxy.envoy.api.v2.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_api_msg_auth.SdsSecretConfig>`
     * 
* * repeated .envoy.api.v2.auth.Secret secrets = 3; */ public java.util.List getSecretsList() { return secrets_; } /** *
     * These static secrets can be used by :ref:`SdsSecretConfig
     * <envoy_api_msg_auth.SdsSecretConfig>`
     * 
* * repeated .envoy.api.v2.auth.Secret secrets = 3; */ public java.util.List getSecretsOrBuilderList() { return secrets_; } /** *
     * These static secrets can be used by :ref:`SdsSecretConfig
     * <envoy_api_msg_auth.SdsSecretConfig>`
     * 
* * repeated .envoy.api.v2.auth.Secret secrets = 3; */ public int getSecretsCount() { return secrets_.size(); } /** *
     * These static secrets can be used by :ref:`SdsSecretConfig
     * <envoy_api_msg_auth.SdsSecretConfig>`
     * 
* * repeated .envoy.api.v2.auth.Secret secrets = 3; */ public io.envoyproxy.envoy.api.v2.auth.Secret getSecrets(int index) { return secrets_.get(index); } /** *
     * These static secrets can be used by :ref:`SdsSecretConfig
     * <envoy_api_msg_auth.SdsSecretConfig>`
     * 
* * repeated .envoy.api.v2.auth.Secret secrets = 3; */ public io.envoyproxy.envoy.api.v2.auth.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.v2.Bootstrap.StaticResources)) { return super.equals(obj); } io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources other = (io.envoyproxy.envoy.config.bootstrap.v2.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.v2.Bootstrap.StaticResources parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.config.bootstrap.v2.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.v2.Bootstrap.StaticResources parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.config.bootstrap.v2.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.v2.Bootstrap.StaticResources parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.config.bootstrap.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.Bootstrap.StaticResources} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:envoy.config.bootstrap.v2.Bootstrap.StaticResources) io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResourcesOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.config.bootstrap.v2.BootstrapProto.internal_static_envoy_config_bootstrap_v2_Bootstrap_StaticResources_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.config.bootstrap.v2.BootstrapProto.internal_static_envoy_config_bootstrap_v2_Bootstrap_StaticResources_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources.class, io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources.Builder.class); } // Construct using io.envoyproxy.envoy.config.bootstrap.v2.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.v2.BootstrapProto.internal_static_envoy_config_bootstrap_v2_Bootstrap_StaticResources_descriptor; } @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources getDefaultInstanceForType() { return io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources.getDefaultInstance(); } @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources build() { io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources buildPartial() { io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources result = new io.envoyproxy.envoy.config.bootstrap.v2.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.v2.Bootstrap.StaticResources) { return mergeFrom((io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources other) { if (other == io.envoyproxy.envoy.config.bootstrap.v2.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.v2.Bootstrap.StaticResources parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.envoyproxy.envoy.config.bootstrap.v2.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.api.v2.Listener, io.envoyproxy.envoy.api.v2.Listener.Builder, io.envoyproxy.envoy.api.v2.ListenerOrBuilder> listenersBuilder_; /** *
       * Static :ref:`Listeners <envoy_api_msg_Listener>`. These listeners are
       * available regardless of LDS configuration.
       * 
* * repeated .envoy.api.v2.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_api_msg_Listener>`. These listeners are
       * available regardless of LDS configuration.
       * 
* * repeated .envoy.api.v2.Listener listeners = 1; */ public int getListenersCount() { if (listenersBuilder_ == null) { return listeners_.size(); } else { return listenersBuilder_.getCount(); } } /** *
       * Static :ref:`Listeners <envoy_api_msg_Listener>`. These listeners are
       * available regardless of LDS configuration.
       * 
* * repeated .envoy.api.v2.Listener listeners = 1; */ public io.envoyproxy.envoy.api.v2.Listener getListeners(int index) { if (listenersBuilder_ == null) { return listeners_.get(index); } else { return listenersBuilder_.getMessage(index); } } /** *
       * Static :ref:`Listeners <envoy_api_msg_Listener>`. These listeners are
       * available regardless of LDS configuration.
       * 
* * repeated .envoy.api.v2.Listener listeners = 1; */ public Builder setListeners( int index, io.envoyproxy.envoy.api.v2.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_api_msg_Listener>`. These listeners are
       * available regardless of LDS configuration.
       * 
* * repeated .envoy.api.v2.Listener listeners = 1; */ public Builder setListeners( int index, io.envoyproxy.envoy.api.v2.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_api_msg_Listener>`. These listeners are
       * available regardless of LDS configuration.
       * 
* * repeated .envoy.api.v2.Listener listeners = 1; */ public Builder addListeners(io.envoyproxy.envoy.api.v2.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_api_msg_Listener>`. These listeners are
       * available regardless of LDS configuration.
       * 
* * repeated .envoy.api.v2.Listener listeners = 1; */ public Builder addListeners( int index, io.envoyproxy.envoy.api.v2.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_api_msg_Listener>`. These listeners are
       * available regardless of LDS configuration.
       * 
* * repeated .envoy.api.v2.Listener listeners = 1; */ public Builder addListeners( io.envoyproxy.envoy.api.v2.Listener.Builder builderForValue) { if (listenersBuilder_ == null) { ensureListenersIsMutable(); listeners_.add(builderForValue.build()); onChanged(); } else { listenersBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * Static :ref:`Listeners <envoy_api_msg_Listener>`. These listeners are
       * available regardless of LDS configuration.
       * 
* * repeated .envoy.api.v2.Listener listeners = 1; */ public Builder addListeners( int index, io.envoyproxy.envoy.api.v2.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_api_msg_Listener>`. These listeners are
       * available regardless of LDS configuration.
       * 
* * repeated .envoy.api.v2.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_api_msg_Listener>`. These listeners are
       * available regardless of LDS configuration.
       * 
* * repeated .envoy.api.v2.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_api_msg_Listener>`. These listeners are
       * available regardless of LDS configuration.
       * 
* * repeated .envoy.api.v2.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_api_msg_Listener>`. These listeners are
       * available regardless of LDS configuration.
       * 
* * repeated .envoy.api.v2.Listener listeners = 1; */ public io.envoyproxy.envoy.api.v2.Listener.Builder getListenersBuilder( int index) { return getListenersFieldBuilder().getBuilder(index); } /** *
       * Static :ref:`Listeners <envoy_api_msg_Listener>`. These listeners are
       * available regardless of LDS configuration.
       * 
* * repeated .envoy.api.v2.Listener listeners = 1; */ public io.envoyproxy.envoy.api.v2.ListenerOrBuilder getListenersOrBuilder( int index) { if (listenersBuilder_ == null) { return listeners_.get(index); } else { return listenersBuilder_.getMessageOrBuilder(index); } } /** *
       * Static :ref:`Listeners <envoy_api_msg_Listener>`. These listeners are
       * available regardless of LDS configuration.
       * 
* * repeated .envoy.api.v2.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_api_msg_Listener>`. These listeners are
       * available regardless of LDS configuration.
       * 
* * repeated .envoy.api.v2.Listener listeners = 1; */ public io.envoyproxy.envoy.api.v2.Listener.Builder addListenersBuilder() { return getListenersFieldBuilder().addBuilder( io.envoyproxy.envoy.api.v2.Listener.getDefaultInstance()); } /** *
       * Static :ref:`Listeners <envoy_api_msg_Listener>`. These listeners are
       * available regardless of LDS configuration.
       * 
* * repeated .envoy.api.v2.Listener listeners = 1; */ public io.envoyproxy.envoy.api.v2.Listener.Builder addListenersBuilder( int index) { return getListenersFieldBuilder().addBuilder( index, io.envoyproxy.envoy.api.v2.Listener.getDefaultInstance()); } /** *
       * Static :ref:`Listeners <envoy_api_msg_Listener>`. These listeners are
       * available regardless of LDS configuration.
       * 
* * repeated .envoy.api.v2.Listener listeners = 1; */ public java.util.List getListenersBuilderList() { return getListenersFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.api.v2.Listener, io.envoyproxy.envoy.api.v2.Listener.Builder, io.envoyproxy.envoy.api.v2.ListenerOrBuilder> getListenersFieldBuilder() { if (listenersBuilder_ == null) { listenersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.api.v2.Listener, io.envoyproxy.envoy.api.v2.Listener.Builder, io.envoyproxy.envoy.api.v2.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.api.v2.Cluster, io.envoyproxy.envoy.api.v2.Cluster.Builder, io.envoyproxy.envoy.api.v2.ClusterOrBuilder> clustersBuilder_; /** *
       * If a network based configuration source is specified for :ref:`cds_config
       * <envoy_api_field_config.bootstrap.v2.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.api.v2.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_api_field_config.bootstrap.v2.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.api.v2.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_api_field_config.bootstrap.v2.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.api.v2.Cluster clusters = 2; */ public io.envoyproxy.envoy.api.v2.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_api_field_config.bootstrap.v2.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.api.v2.Cluster clusters = 2; */ public Builder setClusters( int index, io.envoyproxy.envoy.api.v2.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_api_field_config.bootstrap.v2.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.api.v2.Cluster clusters = 2; */ public Builder setClusters( int index, io.envoyproxy.envoy.api.v2.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_api_field_config.bootstrap.v2.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.api.v2.Cluster clusters = 2; */ public Builder addClusters(io.envoyproxy.envoy.api.v2.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_api_field_config.bootstrap.v2.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.api.v2.Cluster clusters = 2; */ public Builder addClusters( int index, io.envoyproxy.envoy.api.v2.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_api_field_config.bootstrap.v2.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.api.v2.Cluster clusters = 2; */ public Builder addClusters( io.envoyproxy.envoy.api.v2.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_api_field_config.bootstrap.v2.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.api.v2.Cluster clusters = 2; */ public Builder addClusters( int index, io.envoyproxy.envoy.api.v2.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_api_field_config.bootstrap.v2.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.api.v2.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_api_field_config.bootstrap.v2.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.api.v2.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_api_field_config.bootstrap.v2.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.api.v2.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_api_field_config.bootstrap.v2.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.api.v2.Cluster clusters = 2; */ public io.envoyproxy.envoy.api.v2.Cluster.Builder getClustersBuilder( int index) { return getClustersFieldBuilder().getBuilder(index); } /** *
       * If a network based configuration source is specified for :ref:`cds_config
       * <envoy_api_field_config.bootstrap.v2.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.api.v2.Cluster clusters = 2; */ public io.envoyproxy.envoy.api.v2.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_api_field_config.bootstrap.v2.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.api.v2.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_api_field_config.bootstrap.v2.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.api.v2.Cluster clusters = 2; */ public io.envoyproxy.envoy.api.v2.Cluster.Builder addClustersBuilder() { return getClustersFieldBuilder().addBuilder( io.envoyproxy.envoy.api.v2.Cluster.getDefaultInstance()); } /** *
       * If a network based configuration source is specified for :ref:`cds_config
       * <envoy_api_field_config.bootstrap.v2.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.api.v2.Cluster clusters = 2; */ public io.envoyproxy.envoy.api.v2.Cluster.Builder addClustersBuilder( int index) { return getClustersFieldBuilder().addBuilder( index, io.envoyproxy.envoy.api.v2.Cluster.getDefaultInstance()); } /** *
       * If a network based configuration source is specified for :ref:`cds_config
       * <envoy_api_field_config.bootstrap.v2.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.api.v2.Cluster clusters = 2; */ public java.util.List getClustersBuilderList() { return getClustersFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.api.v2.Cluster, io.envoyproxy.envoy.api.v2.Cluster.Builder, io.envoyproxy.envoy.api.v2.ClusterOrBuilder> getClustersFieldBuilder() { if (clustersBuilder_ == null) { clustersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.api.v2.Cluster, io.envoyproxy.envoy.api.v2.Cluster.Builder, io.envoyproxy.envoy.api.v2.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.api.v2.auth.Secret, io.envoyproxy.envoy.api.v2.auth.Secret.Builder, io.envoyproxy.envoy.api.v2.auth.SecretOrBuilder> secretsBuilder_; /** *
       * These static secrets can be used by :ref:`SdsSecretConfig
       * <envoy_api_msg_auth.SdsSecretConfig>`
       * 
* * repeated .envoy.api.v2.auth.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_api_msg_auth.SdsSecretConfig>`
       * 
* * repeated .envoy.api.v2.auth.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_api_msg_auth.SdsSecretConfig>`
       * 
* * repeated .envoy.api.v2.auth.Secret secrets = 3; */ public io.envoyproxy.envoy.api.v2.auth.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_api_msg_auth.SdsSecretConfig>`
       * 
* * repeated .envoy.api.v2.auth.Secret secrets = 3; */ public Builder setSecrets( int index, io.envoyproxy.envoy.api.v2.auth.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_api_msg_auth.SdsSecretConfig>`
       * 
* * repeated .envoy.api.v2.auth.Secret secrets = 3; */ public Builder setSecrets( int index, io.envoyproxy.envoy.api.v2.auth.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_api_msg_auth.SdsSecretConfig>`
       * 
* * repeated .envoy.api.v2.auth.Secret secrets = 3; */ public Builder addSecrets(io.envoyproxy.envoy.api.v2.auth.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_api_msg_auth.SdsSecretConfig>`
       * 
* * repeated .envoy.api.v2.auth.Secret secrets = 3; */ public Builder addSecrets( int index, io.envoyproxy.envoy.api.v2.auth.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_api_msg_auth.SdsSecretConfig>`
       * 
* * repeated .envoy.api.v2.auth.Secret secrets = 3; */ public Builder addSecrets( io.envoyproxy.envoy.api.v2.auth.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_api_msg_auth.SdsSecretConfig>`
       * 
* * repeated .envoy.api.v2.auth.Secret secrets = 3; */ public Builder addSecrets( int index, io.envoyproxy.envoy.api.v2.auth.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_api_msg_auth.SdsSecretConfig>`
       * 
* * repeated .envoy.api.v2.auth.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_api_msg_auth.SdsSecretConfig>`
       * 
* * repeated .envoy.api.v2.auth.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_api_msg_auth.SdsSecretConfig>`
       * 
* * repeated .envoy.api.v2.auth.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_api_msg_auth.SdsSecretConfig>`
       * 
* * repeated .envoy.api.v2.auth.Secret secrets = 3; */ public io.envoyproxy.envoy.api.v2.auth.Secret.Builder getSecretsBuilder( int index) { return getSecretsFieldBuilder().getBuilder(index); } /** *
       * These static secrets can be used by :ref:`SdsSecretConfig
       * <envoy_api_msg_auth.SdsSecretConfig>`
       * 
* * repeated .envoy.api.v2.auth.Secret secrets = 3; */ public io.envoyproxy.envoy.api.v2.auth.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_api_msg_auth.SdsSecretConfig>`
       * 
* * repeated .envoy.api.v2.auth.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_api_msg_auth.SdsSecretConfig>`
       * 
* * repeated .envoy.api.v2.auth.Secret secrets = 3; */ public io.envoyproxy.envoy.api.v2.auth.Secret.Builder addSecretsBuilder() { return getSecretsFieldBuilder().addBuilder( io.envoyproxy.envoy.api.v2.auth.Secret.getDefaultInstance()); } /** *
       * These static secrets can be used by :ref:`SdsSecretConfig
       * <envoy_api_msg_auth.SdsSecretConfig>`
       * 
* * repeated .envoy.api.v2.auth.Secret secrets = 3; */ public io.envoyproxy.envoy.api.v2.auth.Secret.Builder addSecretsBuilder( int index) { return getSecretsFieldBuilder().addBuilder( index, io.envoyproxy.envoy.api.v2.auth.Secret.getDefaultInstance()); } /** *
       * These static secrets can be used by :ref:`SdsSecretConfig
       * <envoy_api_msg_auth.SdsSecretConfig>`
       * 
* * repeated .envoy.api.v2.auth.Secret secrets = 3; */ public java.util.List getSecretsBuilderList() { return getSecretsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.api.v2.auth.Secret, io.envoyproxy.envoy.api.v2.auth.Secret.Builder, io.envoyproxy.envoy.api.v2.auth.SecretOrBuilder> getSecretsFieldBuilder() { if (secretsBuilder_ == null) { secretsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.api.v2.auth.Secret, io.envoyproxy.envoy.api.v2.auth.Secret.Builder, io.envoyproxy.envoy.api.v2.auth.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.v2.Bootstrap.StaticResources) } // @@protoc_insertion_point(class_scope:envoy.config.bootstrap.v2.Bootstrap.StaticResources) private static final io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources(); } public static io.envoyproxy.envoy.config.bootstrap.v2.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.v2.Bootstrap.StaticResources getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DynamicResourcesOrBuilder extends // @@protoc_insertion_point(interface_extends:envoy.config.bootstrap.v2.Bootstrap.DynamicResources) com.google.protobuf.MessageOrBuilder { /** *
     * All :ref:`Listeners <envoy_api_msg_Listener>` are provided by a single
     * :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
     * 
* * .envoy.api.v2.core.ConfigSource lds_config = 1; */ boolean hasLdsConfig(); /** *
     * All :ref:`Listeners <envoy_api_msg_Listener>` are provided by a single
     * :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
     * 
* * .envoy.api.v2.core.ConfigSource lds_config = 1; */ io.envoyproxy.envoy.api.v2.core.ConfigSource getLdsConfig(); /** *
     * All :ref:`Listeners <envoy_api_msg_Listener>` are provided by a single
     * :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
     * 
* * .envoy.api.v2.core.ConfigSource lds_config = 1; */ io.envoyproxy.envoy.api.v2.core.ConfigSourceOrBuilder getLdsConfigOrBuilder(); /** *
     * All post-bootstrap :ref:`Cluster <envoy_api_msg_Cluster>` definitions are
     * provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
     * configuration source.
     * 
* * .envoy.api.v2.core.ConfigSource cds_config = 2; */ boolean hasCdsConfig(); /** *
     * All post-bootstrap :ref:`Cluster <envoy_api_msg_Cluster>` definitions are
     * provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
     * configuration source.
     * 
* * .envoy.api.v2.core.ConfigSource cds_config = 2; */ io.envoyproxy.envoy.api.v2.core.ConfigSource getCdsConfig(); /** *
     * All post-bootstrap :ref:`Cluster <envoy_api_msg_Cluster>` definitions are
     * provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
     * configuration source.
     * 
* * .envoy.api.v2.core.ConfigSource cds_config = 2; */ io.envoyproxy.envoy.api.v2.core.ConfigSourceOrBuilder getCdsConfigOrBuilder(); /** *
     * A single :ref:`ADS <config_overview_v2_ads>` source may be optionally
     * specified. This must have :ref:`api_type
     * <envoy_api_field_core.ApiConfigSource.api_type>` :ref:`GRPC
     * <envoy_api_enum_value_core.ApiConfigSource.ApiType.GRPC>`. Only
     * :ref:`ConfigSources <envoy_api_msg_core.ConfigSource>` that have
     * the :ref:`ads <envoy_api_field_core.ConfigSource.ads>` field set will be
     * streamed on the ADS channel.
     * 
* * .envoy.api.v2.core.ApiConfigSource ads_config = 3; */ boolean hasAdsConfig(); /** *
     * A single :ref:`ADS <config_overview_v2_ads>` source may be optionally
     * specified. This must have :ref:`api_type
     * <envoy_api_field_core.ApiConfigSource.api_type>` :ref:`GRPC
     * <envoy_api_enum_value_core.ApiConfigSource.ApiType.GRPC>`. Only
     * :ref:`ConfigSources <envoy_api_msg_core.ConfigSource>` that have
     * the :ref:`ads <envoy_api_field_core.ConfigSource.ads>` field set will be
     * streamed on the ADS channel.
     * 
* * .envoy.api.v2.core.ApiConfigSource ads_config = 3; */ io.envoyproxy.envoy.api.v2.core.ApiConfigSource getAdsConfig(); /** *
     * A single :ref:`ADS <config_overview_v2_ads>` source may be optionally
     * specified. This must have :ref:`api_type
     * <envoy_api_field_core.ApiConfigSource.api_type>` :ref:`GRPC
     * <envoy_api_enum_value_core.ApiConfigSource.ApiType.GRPC>`. Only
     * :ref:`ConfigSources <envoy_api_msg_core.ConfigSource>` that have
     * the :ref:`ads <envoy_api_field_core.ConfigSource.ads>` field set will be
     * streamed on the ADS channel.
     * 
* * .envoy.api.v2.core.ApiConfigSource ads_config = 3; */ io.envoyproxy.envoy.api.v2.core.ApiConfigSourceOrBuilder getAdsConfigOrBuilder(); } /** * Protobuf type {@code envoy.config.bootstrap.v2.Bootstrap.DynamicResources} */ public static final class DynamicResources extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:envoy.config.bootstrap.v2.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() { } @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.api.v2.core.ConfigSource.Builder subBuilder = null; if (ldsConfig_ != null) { subBuilder = ldsConfig_.toBuilder(); } ldsConfig_ = input.readMessage(io.envoyproxy.envoy.api.v2.core.ConfigSource.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(ldsConfig_); ldsConfig_ = subBuilder.buildPartial(); } break; } case 18: { io.envoyproxy.envoy.api.v2.core.ConfigSource.Builder subBuilder = null; if (cdsConfig_ != null) { subBuilder = cdsConfig_.toBuilder(); } cdsConfig_ = input.readMessage(io.envoyproxy.envoy.api.v2.core.ConfigSource.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(cdsConfig_); cdsConfig_ = subBuilder.buildPartial(); } break; } case 26: { io.envoyproxy.envoy.api.v2.core.ApiConfigSource.Builder subBuilder = null; if (adsConfig_ != null) { subBuilder = adsConfig_.toBuilder(); } adsConfig_ = input.readMessage(io.envoyproxy.envoy.api.v2.core.ApiConfigSource.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(adsConfig_); adsConfig_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.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.v2.BootstrapProto.internal_static_envoy_config_bootstrap_v2_Bootstrap_DynamicResources_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.config.bootstrap.v2.BootstrapProto.internal_static_envoy_config_bootstrap_v2_Bootstrap_DynamicResources_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources.class, io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources.Builder.class); } public static final int LDS_CONFIG_FIELD_NUMBER = 1; private io.envoyproxy.envoy.api.v2.core.ConfigSource ldsConfig_; /** *
     * All :ref:`Listeners <envoy_api_msg_Listener>` are provided by a single
     * :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
     * 
* * .envoy.api.v2.core.ConfigSource lds_config = 1; */ public boolean hasLdsConfig() { return ldsConfig_ != null; } /** *
     * All :ref:`Listeners <envoy_api_msg_Listener>` are provided by a single
     * :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
     * 
* * .envoy.api.v2.core.ConfigSource lds_config = 1; */ public io.envoyproxy.envoy.api.v2.core.ConfigSource getLdsConfig() { return ldsConfig_ == null ? io.envoyproxy.envoy.api.v2.core.ConfigSource.getDefaultInstance() : ldsConfig_; } /** *
     * All :ref:`Listeners <envoy_api_msg_Listener>` are provided by a single
     * :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
     * 
* * .envoy.api.v2.core.ConfigSource lds_config = 1; */ public io.envoyproxy.envoy.api.v2.core.ConfigSourceOrBuilder getLdsConfigOrBuilder() { return getLdsConfig(); } public static final int CDS_CONFIG_FIELD_NUMBER = 2; private io.envoyproxy.envoy.api.v2.core.ConfigSource cdsConfig_; /** *
     * All post-bootstrap :ref:`Cluster <envoy_api_msg_Cluster>` definitions are
     * provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
     * configuration source.
     * 
* * .envoy.api.v2.core.ConfigSource cds_config = 2; */ public boolean hasCdsConfig() { return cdsConfig_ != null; } /** *
     * All post-bootstrap :ref:`Cluster <envoy_api_msg_Cluster>` definitions are
     * provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
     * configuration source.
     * 
* * .envoy.api.v2.core.ConfigSource cds_config = 2; */ public io.envoyproxy.envoy.api.v2.core.ConfigSource getCdsConfig() { return cdsConfig_ == null ? io.envoyproxy.envoy.api.v2.core.ConfigSource.getDefaultInstance() : cdsConfig_; } /** *
     * All post-bootstrap :ref:`Cluster <envoy_api_msg_Cluster>` definitions are
     * provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
     * configuration source.
     * 
* * .envoy.api.v2.core.ConfigSource cds_config = 2; */ public io.envoyproxy.envoy.api.v2.core.ConfigSourceOrBuilder getCdsConfigOrBuilder() { return getCdsConfig(); } public static final int ADS_CONFIG_FIELD_NUMBER = 3; private io.envoyproxy.envoy.api.v2.core.ApiConfigSource adsConfig_; /** *
     * A single :ref:`ADS <config_overview_v2_ads>` source may be optionally
     * specified. This must have :ref:`api_type
     * <envoy_api_field_core.ApiConfigSource.api_type>` :ref:`GRPC
     * <envoy_api_enum_value_core.ApiConfigSource.ApiType.GRPC>`. Only
     * :ref:`ConfigSources <envoy_api_msg_core.ConfigSource>` that have
     * the :ref:`ads <envoy_api_field_core.ConfigSource.ads>` field set will be
     * streamed on the ADS channel.
     * 
* * .envoy.api.v2.core.ApiConfigSource ads_config = 3; */ public boolean hasAdsConfig() { return adsConfig_ != null; } /** *
     * A single :ref:`ADS <config_overview_v2_ads>` source may be optionally
     * specified. This must have :ref:`api_type
     * <envoy_api_field_core.ApiConfigSource.api_type>` :ref:`GRPC
     * <envoy_api_enum_value_core.ApiConfigSource.ApiType.GRPC>`. Only
     * :ref:`ConfigSources <envoy_api_msg_core.ConfigSource>` that have
     * the :ref:`ads <envoy_api_field_core.ConfigSource.ads>` field set will be
     * streamed on the ADS channel.
     * 
* * .envoy.api.v2.core.ApiConfigSource ads_config = 3; */ public io.envoyproxy.envoy.api.v2.core.ApiConfigSource getAdsConfig() { return adsConfig_ == null ? io.envoyproxy.envoy.api.v2.core.ApiConfigSource.getDefaultInstance() : adsConfig_; } /** *
     * A single :ref:`ADS <config_overview_v2_ads>` source may be optionally
     * specified. This must have :ref:`api_type
     * <envoy_api_field_core.ApiConfigSource.api_type>` :ref:`GRPC
     * <envoy_api_enum_value_core.ApiConfigSource.ApiType.GRPC>`. Only
     * :ref:`ConfigSources <envoy_api_msg_core.ConfigSource>` that have
     * the :ref:`ads <envoy_api_field_core.ConfigSource.ads>` field set will be
     * streamed on the ADS channel.
     * 
* * .envoy.api.v2.core.ApiConfigSource ads_config = 3; */ public io.envoyproxy.envoy.api.v2.core.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()); } 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()); } 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.v2.Bootstrap.DynamicResources)) { return super.equals(obj); } io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources other = (io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources) obj; if (hasLdsConfig() != other.hasLdsConfig()) return false; if (hasLdsConfig()) { if (!getLdsConfig() .equals(other.getLdsConfig())) return false; } if (hasCdsConfig() != other.hasCdsConfig()) return false; if (hasCdsConfig()) { if (!getCdsConfig() .equals(other.getCdsConfig())) 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(); } if (hasCdsConfig()) { hash = (37 * hash) + CDS_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getCdsConfig().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.v2.Bootstrap.DynamicResources parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.config.bootstrap.v2.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.v2.Bootstrap.DynamicResources parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.config.bootstrap.v2.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.v2.Bootstrap.DynamicResources parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.config.bootstrap.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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; } /** * Protobuf type {@code envoy.config.bootstrap.v2.Bootstrap.DynamicResources} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:envoy.config.bootstrap.v2.Bootstrap.DynamicResources) io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResourcesOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.config.bootstrap.v2.BootstrapProto.internal_static_envoy_config_bootstrap_v2_Bootstrap_DynamicResources_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.config.bootstrap.v2.BootstrapProto.internal_static_envoy_config_bootstrap_v2_Bootstrap_DynamicResources_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources.class, io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources.Builder.class); } // Construct using io.envoyproxy.envoy.config.bootstrap.v2.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; } if (cdsConfigBuilder_ == null) { cdsConfig_ = null; } else { cdsConfig_ = null; cdsConfigBuilder_ = null; } 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.v2.BootstrapProto.internal_static_envoy_config_bootstrap_v2_Bootstrap_DynamicResources_descriptor; } @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources getDefaultInstanceForType() { return io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources.getDefaultInstance(); } @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources build() { io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources buildPartial() { io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources result = new io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources(this); if (ldsConfigBuilder_ == null) { result.ldsConfig_ = ldsConfig_; } else { result.ldsConfig_ = ldsConfigBuilder_.build(); } if (cdsConfigBuilder_ == null) { result.cdsConfig_ = cdsConfig_; } else { result.cdsConfig_ = cdsConfigBuilder_.build(); } 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.v2.Bootstrap.DynamicResources) { return mergeFrom((io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources other) { if (other == io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources.getDefaultInstance()) return this; if (other.hasLdsConfig()) { mergeLdsConfig(other.getLdsConfig()); } if (other.hasCdsConfig()) { mergeCdsConfig(other.getCdsConfig()); } 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.v2.Bootstrap.DynamicResources parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private io.envoyproxy.envoy.api.v2.core.ConfigSource ldsConfig_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.api.v2.core.ConfigSource, io.envoyproxy.envoy.api.v2.core.ConfigSource.Builder, io.envoyproxy.envoy.api.v2.core.ConfigSourceOrBuilder> ldsConfigBuilder_; /** *
       * All :ref:`Listeners <envoy_api_msg_Listener>` are provided by a single
       * :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
       * 
* * .envoy.api.v2.core.ConfigSource lds_config = 1; */ public boolean hasLdsConfig() { return ldsConfigBuilder_ != null || ldsConfig_ != null; } /** *
       * All :ref:`Listeners <envoy_api_msg_Listener>` are provided by a single
       * :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
       * 
* * .envoy.api.v2.core.ConfigSource lds_config = 1; */ public io.envoyproxy.envoy.api.v2.core.ConfigSource getLdsConfig() { if (ldsConfigBuilder_ == null) { return ldsConfig_ == null ? io.envoyproxy.envoy.api.v2.core.ConfigSource.getDefaultInstance() : ldsConfig_; } else { return ldsConfigBuilder_.getMessage(); } } /** *
       * All :ref:`Listeners <envoy_api_msg_Listener>` are provided by a single
       * :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
       * 
* * .envoy.api.v2.core.ConfigSource lds_config = 1; */ public Builder setLdsConfig(io.envoyproxy.envoy.api.v2.core.ConfigSource value) { if (ldsConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ldsConfig_ = value; onChanged(); } else { ldsConfigBuilder_.setMessage(value); } return this; } /** *
       * All :ref:`Listeners <envoy_api_msg_Listener>` are provided by a single
       * :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
       * 
* * .envoy.api.v2.core.ConfigSource lds_config = 1; */ public Builder setLdsConfig( io.envoyproxy.envoy.api.v2.core.ConfigSource.Builder builderForValue) { if (ldsConfigBuilder_ == null) { ldsConfig_ = builderForValue.build(); onChanged(); } else { ldsConfigBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * All :ref:`Listeners <envoy_api_msg_Listener>` are provided by a single
       * :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
       * 
* * .envoy.api.v2.core.ConfigSource lds_config = 1; */ public Builder mergeLdsConfig(io.envoyproxy.envoy.api.v2.core.ConfigSource value) { if (ldsConfigBuilder_ == null) { if (ldsConfig_ != null) { ldsConfig_ = io.envoyproxy.envoy.api.v2.core.ConfigSource.newBuilder(ldsConfig_).mergeFrom(value).buildPartial(); } else { ldsConfig_ = value; } onChanged(); } else { ldsConfigBuilder_.mergeFrom(value); } return this; } /** *
       * All :ref:`Listeners <envoy_api_msg_Listener>` are provided by a single
       * :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
       * 
* * .envoy.api.v2.core.ConfigSource lds_config = 1; */ public Builder clearLdsConfig() { if (ldsConfigBuilder_ == null) { ldsConfig_ = null; onChanged(); } else { ldsConfig_ = null; ldsConfigBuilder_ = null; } return this; } /** *
       * All :ref:`Listeners <envoy_api_msg_Listener>` are provided by a single
       * :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
       * 
* * .envoy.api.v2.core.ConfigSource lds_config = 1; */ public io.envoyproxy.envoy.api.v2.core.ConfigSource.Builder getLdsConfigBuilder() { onChanged(); return getLdsConfigFieldBuilder().getBuilder(); } /** *
       * All :ref:`Listeners <envoy_api_msg_Listener>` are provided by a single
       * :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
       * 
* * .envoy.api.v2.core.ConfigSource lds_config = 1; */ public io.envoyproxy.envoy.api.v2.core.ConfigSourceOrBuilder getLdsConfigOrBuilder() { if (ldsConfigBuilder_ != null) { return ldsConfigBuilder_.getMessageOrBuilder(); } else { return ldsConfig_ == null ? io.envoyproxy.envoy.api.v2.core.ConfigSource.getDefaultInstance() : ldsConfig_; } } /** *
       * All :ref:`Listeners <envoy_api_msg_Listener>` are provided by a single
       * :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
       * 
* * .envoy.api.v2.core.ConfigSource lds_config = 1; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.api.v2.core.ConfigSource, io.envoyproxy.envoy.api.v2.core.ConfigSource.Builder, io.envoyproxy.envoy.api.v2.core.ConfigSourceOrBuilder> getLdsConfigFieldBuilder() { if (ldsConfigBuilder_ == null) { ldsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.api.v2.core.ConfigSource, io.envoyproxy.envoy.api.v2.core.ConfigSource.Builder, io.envoyproxy.envoy.api.v2.core.ConfigSourceOrBuilder>( getLdsConfig(), getParentForChildren(), isClean()); ldsConfig_ = null; } return ldsConfigBuilder_; } private io.envoyproxy.envoy.api.v2.core.ConfigSource cdsConfig_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.api.v2.core.ConfigSource, io.envoyproxy.envoy.api.v2.core.ConfigSource.Builder, io.envoyproxy.envoy.api.v2.core.ConfigSourceOrBuilder> cdsConfigBuilder_; /** *
       * All post-bootstrap :ref:`Cluster <envoy_api_msg_Cluster>` definitions are
       * provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
       * configuration source.
       * 
* * .envoy.api.v2.core.ConfigSource cds_config = 2; */ public boolean hasCdsConfig() { return cdsConfigBuilder_ != null || cdsConfig_ != null; } /** *
       * All post-bootstrap :ref:`Cluster <envoy_api_msg_Cluster>` definitions are
       * provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
       * configuration source.
       * 
* * .envoy.api.v2.core.ConfigSource cds_config = 2; */ public io.envoyproxy.envoy.api.v2.core.ConfigSource getCdsConfig() { if (cdsConfigBuilder_ == null) { return cdsConfig_ == null ? io.envoyproxy.envoy.api.v2.core.ConfigSource.getDefaultInstance() : cdsConfig_; } else { return cdsConfigBuilder_.getMessage(); } } /** *
       * All post-bootstrap :ref:`Cluster <envoy_api_msg_Cluster>` definitions are
       * provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
       * configuration source.
       * 
* * .envoy.api.v2.core.ConfigSource cds_config = 2; */ public Builder setCdsConfig(io.envoyproxy.envoy.api.v2.core.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_api_msg_Cluster>` definitions are
       * provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
       * configuration source.
       * 
* * .envoy.api.v2.core.ConfigSource cds_config = 2; */ public Builder setCdsConfig( io.envoyproxy.envoy.api.v2.core.ConfigSource.Builder builderForValue) { if (cdsConfigBuilder_ == null) { cdsConfig_ = builderForValue.build(); onChanged(); } else { cdsConfigBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * All post-bootstrap :ref:`Cluster <envoy_api_msg_Cluster>` definitions are
       * provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
       * configuration source.
       * 
* * .envoy.api.v2.core.ConfigSource cds_config = 2; */ public Builder mergeCdsConfig(io.envoyproxy.envoy.api.v2.core.ConfigSource value) { if (cdsConfigBuilder_ == null) { if (cdsConfig_ != null) { cdsConfig_ = io.envoyproxy.envoy.api.v2.core.ConfigSource.newBuilder(cdsConfig_).mergeFrom(value).buildPartial(); } else { cdsConfig_ = value; } onChanged(); } else { cdsConfigBuilder_.mergeFrom(value); } return this; } /** *
       * All post-bootstrap :ref:`Cluster <envoy_api_msg_Cluster>` definitions are
       * provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
       * configuration source.
       * 
* * .envoy.api.v2.core.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_api_msg_Cluster>` definitions are
       * provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
       * configuration source.
       * 
* * .envoy.api.v2.core.ConfigSource cds_config = 2; */ public io.envoyproxy.envoy.api.v2.core.ConfigSource.Builder getCdsConfigBuilder() { onChanged(); return getCdsConfigFieldBuilder().getBuilder(); } /** *
       * All post-bootstrap :ref:`Cluster <envoy_api_msg_Cluster>` definitions are
       * provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
       * configuration source.
       * 
* * .envoy.api.v2.core.ConfigSource cds_config = 2; */ public io.envoyproxy.envoy.api.v2.core.ConfigSourceOrBuilder getCdsConfigOrBuilder() { if (cdsConfigBuilder_ != null) { return cdsConfigBuilder_.getMessageOrBuilder(); } else { return cdsConfig_ == null ? io.envoyproxy.envoy.api.v2.core.ConfigSource.getDefaultInstance() : cdsConfig_; } } /** *
       * All post-bootstrap :ref:`Cluster <envoy_api_msg_Cluster>` definitions are
       * provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
       * configuration source.
       * 
* * .envoy.api.v2.core.ConfigSource cds_config = 2; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.api.v2.core.ConfigSource, io.envoyproxy.envoy.api.v2.core.ConfigSource.Builder, io.envoyproxy.envoy.api.v2.core.ConfigSourceOrBuilder> getCdsConfigFieldBuilder() { if (cdsConfigBuilder_ == null) { cdsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.api.v2.core.ConfigSource, io.envoyproxy.envoy.api.v2.core.ConfigSource.Builder, io.envoyproxy.envoy.api.v2.core.ConfigSourceOrBuilder>( getCdsConfig(), getParentForChildren(), isClean()); cdsConfig_ = null; } return cdsConfigBuilder_; } private io.envoyproxy.envoy.api.v2.core.ApiConfigSource adsConfig_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.api.v2.core.ApiConfigSource, io.envoyproxy.envoy.api.v2.core.ApiConfigSource.Builder, io.envoyproxy.envoy.api.v2.core.ApiConfigSourceOrBuilder> adsConfigBuilder_; /** *
       * A single :ref:`ADS <config_overview_v2_ads>` source may be optionally
       * specified. This must have :ref:`api_type
       * <envoy_api_field_core.ApiConfigSource.api_type>` :ref:`GRPC
       * <envoy_api_enum_value_core.ApiConfigSource.ApiType.GRPC>`. Only
       * :ref:`ConfigSources <envoy_api_msg_core.ConfigSource>` that have
       * the :ref:`ads <envoy_api_field_core.ConfigSource.ads>` field set will be
       * streamed on the ADS channel.
       * 
* * .envoy.api.v2.core.ApiConfigSource ads_config = 3; */ public boolean hasAdsConfig() { return adsConfigBuilder_ != null || adsConfig_ != null; } /** *
       * A single :ref:`ADS <config_overview_v2_ads>` source may be optionally
       * specified. This must have :ref:`api_type
       * <envoy_api_field_core.ApiConfigSource.api_type>` :ref:`GRPC
       * <envoy_api_enum_value_core.ApiConfigSource.ApiType.GRPC>`. Only
       * :ref:`ConfigSources <envoy_api_msg_core.ConfigSource>` that have
       * the :ref:`ads <envoy_api_field_core.ConfigSource.ads>` field set will be
       * streamed on the ADS channel.
       * 
* * .envoy.api.v2.core.ApiConfigSource ads_config = 3; */ public io.envoyproxy.envoy.api.v2.core.ApiConfigSource getAdsConfig() { if (adsConfigBuilder_ == null) { return adsConfig_ == null ? io.envoyproxy.envoy.api.v2.core.ApiConfigSource.getDefaultInstance() : adsConfig_; } else { return adsConfigBuilder_.getMessage(); } } /** *
       * A single :ref:`ADS <config_overview_v2_ads>` source may be optionally
       * specified. This must have :ref:`api_type
       * <envoy_api_field_core.ApiConfigSource.api_type>` :ref:`GRPC
       * <envoy_api_enum_value_core.ApiConfigSource.ApiType.GRPC>`. Only
       * :ref:`ConfigSources <envoy_api_msg_core.ConfigSource>` that have
       * the :ref:`ads <envoy_api_field_core.ConfigSource.ads>` field set will be
       * streamed on the ADS channel.
       * 
* * .envoy.api.v2.core.ApiConfigSource ads_config = 3; */ public Builder setAdsConfig(io.envoyproxy.envoy.api.v2.core.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_v2_ads>` source may be optionally
       * specified. This must have :ref:`api_type
       * <envoy_api_field_core.ApiConfigSource.api_type>` :ref:`GRPC
       * <envoy_api_enum_value_core.ApiConfigSource.ApiType.GRPC>`. Only
       * :ref:`ConfigSources <envoy_api_msg_core.ConfigSource>` that have
       * the :ref:`ads <envoy_api_field_core.ConfigSource.ads>` field set will be
       * streamed on the ADS channel.
       * 
* * .envoy.api.v2.core.ApiConfigSource ads_config = 3; */ public Builder setAdsConfig( io.envoyproxy.envoy.api.v2.core.ApiConfigSource.Builder builderForValue) { if (adsConfigBuilder_ == null) { adsConfig_ = builderForValue.build(); onChanged(); } else { adsConfigBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * A single :ref:`ADS <config_overview_v2_ads>` source may be optionally
       * specified. This must have :ref:`api_type
       * <envoy_api_field_core.ApiConfigSource.api_type>` :ref:`GRPC
       * <envoy_api_enum_value_core.ApiConfigSource.ApiType.GRPC>`. Only
       * :ref:`ConfigSources <envoy_api_msg_core.ConfigSource>` that have
       * the :ref:`ads <envoy_api_field_core.ConfigSource.ads>` field set will be
       * streamed on the ADS channel.
       * 
* * .envoy.api.v2.core.ApiConfigSource ads_config = 3; */ public Builder mergeAdsConfig(io.envoyproxy.envoy.api.v2.core.ApiConfigSource value) { if (adsConfigBuilder_ == null) { if (adsConfig_ != null) { adsConfig_ = io.envoyproxy.envoy.api.v2.core.ApiConfigSource.newBuilder(adsConfig_).mergeFrom(value).buildPartial(); } else { adsConfig_ = value; } onChanged(); } else { adsConfigBuilder_.mergeFrom(value); } return this; } /** *
       * A single :ref:`ADS <config_overview_v2_ads>` source may be optionally
       * specified. This must have :ref:`api_type
       * <envoy_api_field_core.ApiConfigSource.api_type>` :ref:`GRPC
       * <envoy_api_enum_value_core.ApiConfigSource.ApiType.GRPC>`. Only
       * :ref:`ConfigSources <envoy_api_msg_core.ConfigSource>` that have
       * the :ref:`ads <envoy_api_field_core.ConfigSource.ads>` field set will be
       * streamed on the ADS channel.
       * 
* * .envoy.api.v2.core.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_v2_ads>` source may be optionally
       * specified. This must have :ref:`api_type
       * <envoy_api_field_core.ApiConfigSource.api_type>` :ref:`GRPC
       * <envoy_api_enum_value_core.ApiConfigSource.ApiType.GRPC>`. Only
       * :ref:`ConfigSources <envoy_api_msg_core.ConfigSource>` that have
       * the :ref:`ads <envoy_api_field_core.ConfigSource.ads>` field set will be
       * streamed on the ADS channel.
       * 
* * .envoy.api.v2.core.ApiConfigSource ads_config = 3; */ public io.envoyproxy.envoy.api.v2.core.ApiConfigSource.Builder getAdsConfigBuilder() { onChanged(); return getAdsConfigFieldBuilder().getBuilder(); } /** *
       * A single :ref:`ADS <config_overview_v2_ads>` source may be optionally
       * specified. This must have :ref:`api_type
       * <envoy_api_field_core.ApiConfigSource.api_type>` :ref:`GRPC
       * <envoy_api_enum_value_core.ApiConfigSource.ApiType.GRPC>`. Only
       * :ref:`ConfigSources <envoy_api_msg_core.ConfigSource>` that have
       * the :ref:`ads <envoy_api_field_core.ConfigSource.ads>` field set will be
       * streamed on the ADS channel.
       * 
* * .envoy.api.v2.core.ApiConfigSource ads_config = 3; */ public io.envoyproxy.envoy.api.v2.core.ApiConfigSourceOrBuilder getAdsConfigOrBuilder() { if (adsConfigBuilder_ != null) { return adsConfigBuilder_.getMessageOrBuilder(); } else { return adsConfig_ == null ? io.envoyproxy.envoy.api.v2.core.ApiConfigSource.getDefaultInstance() : adsConfig_; } } /** *
       * A single :ref:`ADS <config_overview_v2_ads>` source may be optionally
       * specified. This must have :ref:`api_type
       * <envoy_api_field_core.ApiConfigSource.api_type>` :ref:`GRPC
       * <envoy_api_enum_value_core.ApiConfigSource.ApiType.GRPC>`. Only
       * :ref:`ConfigSources <envoy_api_msg_core.ConfigSource>` that have
       * the :ref:`ads <envoy_api_field_core.ConfigSource.ads>` field set will be
       * streamed on the ADS channel.
       * 
* * .envoy.api.v2.core.ApiConfigSource ads_config = 3; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.api.v2.core.ApiConfigSource, io.envoyproxy.envoy.api.v2.core.ApiConfigSource.Builder, io.envoyproxy.envoy.api.v2.core.ApiConfigSourceOrBuilder> getAdsConfigFieldBuilder() { if (adsConfigBuilder_ == null) { adsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.api.v2.core.ApiConfigSource, io.envoyproxy.envoy.api.v2.core.ApiConfigSource.Builder, io.envoyproxy.envoy.api.v2.core.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.v2.Bootstrap.DynamicResources) } // @@protoc_insertion_point(class_scope:envoy.config.bootstrap.v2.Bootstrap.DynamicResources) private static final io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources(); } public static io.envoyproxy.envoy.config.bootstrap.v2.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.v2.Bootstrap.DynamicResources getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public static final int NODE_FIELD_NUMBER = 1; private io.envoyproxy.envoy.api.v2.core.Node node_; /** *
   * Node identity to present to the management server and for instance
   * identification purposes (e.g. in generated headers).
   * 
* * .envoy.api.v2.core.Node node = 1; */ 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.api.v2.core.Node node = 1; */ public io.envoyproxy.envoy.api.v2.core.Node getNode() { return node_ == null ? io.envoyproxy.envoy.api.v2.core.Node.getDefaultInstance() : node_; } /** *
   * Node identity to present to the management server and for instance
   * identification purposes (e.g. in generated headers).
   * 
* * .envoy.api.v2.core.Node node = 1; */ public io.envoyproxy.envoy.api.v2.core.NodeOrBuilder getNodeOrBuilder() { return getNode(); } public static final int STATIC_RESOURCES_FIELD_NUMBER = 2; private io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources staticResources_; /** *
   * Statically specified resources.
   * 
* * .envoy.config.bootstrap.v2.Bootstrap.StaticResources static_resources = 2; */ public boolean hasStaticResources() { return staticResources_ != null; } /** *
   * Statically specified resources.
   * 
* * .envoy.config.bootstrap.v2.Bootstrap.StaticResources static_resources = 2; */ public io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources getStaticResources() { return staticResources_ == null ? io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources.getDefaultInstance() : staticResources_; } /** *
   * Statically specified resources.
   * 
* * .envoy.config.bootstrap.v2.Bootstrap.StaticResources static_resources = 2; */ public io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResourcesOrBuilder getStaticResourcesOrBuilder() { return getStaticResources(); } public static final int DYNAMIC_RESOURCES_FIELD_NUMBER = 3; private io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources dynamicResources_; /** *
   * xDS configuration sources.
   * 
* * .envoy.config.bootstrap.v2.Bootstrap.DynamicResources dynamic_resources = 3; */ public boolean hasDynamicResources() { return dynamicResources_ != null; } /** *
   * xDS configuration sources.
   * 
* * .envoy.config.bootstrap.v2.Bootstrap.DynamicResources dynamic_resources = 3; */ public io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources getDynamicResources() { return dynamicResources_ == null ? io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources.getDefaultInstance() : dynamicResources_; } /** *
   * xDS configuration sources.
   * 
* * .envoy.config.bootstrap.v2.Bootstrap.DynamicResources dynamic_resources = 3; */ public io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResourcesOrBuilder getDynamicResourcesOrBuilder() { return getDynamicResources(); } public static final int CLUSTER_MANAGER_FIELD_NUMBER = 4; private io.envoyproxy.envoy.config.bootstrap.v2.ClusterManager clusterManager_; /** *
   * Configuration for the cluster manager which owns all upstream clusters
   * within the server.
   * 
* * .envoy.config.bootstrap.v2.ClusterManager cluster_manager = 4; */ public boolean hasClusterManager() { return clusterManager_ != null; } /** *
   * Configuration for the cluster manager which owns all upstream clusters
   * within the server.
   * 
* * .envoy.config.bootstrap.v2.ClusterManager cluster_manager = 4; */ public io.envoyproxy.envoy.config.bootstrap.v2.ClusterManager getClusterManager() { return clusterManager_ == null ? io.envoyproxy.envoy.config.bootstrap.v2.ClusterManager.getDefaultInstance() : clusterManager_; } /** *
   * Configuration for the cluster manager which owns all upstream clusters
   * within the server.
   * 
* * .envoy.config.bootstrap.v2.ClusterManager cluster_manager = 4; */ public io.envoyproxy.envoy.config.bootstrap.v2.ClusterManagerOrBuilder getClusterManagerOrBuilder() { return getClusterManager(); } public static final int HDS_CONFIG_FIELD_NUMBER = 14; private io.envoyproxy.envoy.api.v2.core.ApiConfigSource hdsConfig_; /** *
   * Health discovery service config option.
   * (:ref:`core.ApiConfigSource <envoy_api_msg_core.ApiConfigSource>`)
   * 
* * .envoy.api.v2.core.ApiConfigSource hds_config = 14; */ public boolean hasHdsConfig() { return hdsConfig_ != null; } /** *
   * Health discovery service config option.
   * (:ref:`core.ApiConfigSource <envoy_api_msg_core.ApiConfigSource>`)
   * 
* * .envoy.api.v2.core.ApiConfigSource hds_config = 14; */ public io.envoyproxy.envoy.api.v2.core.ApiConfigSource getHdsConfig() { return hdsConfig_ == null ? io.envoyproxy.envoy.api.v2.core.ApiConfigSource.getDefaultInstance() : hdsConfig_; } /** *
   * Health discovery service config option.
   * (:ref:`core.ApiConfigSource <envoy_api_msg_core.ApiConfigSource>`)
   * 
* * .envoy.api.v2.core.ApiConfigSource hds_config = 14; */ public io.envoyproxy.envoy.api.v2.core.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; */ 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; */ 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.v2.StatsSink stats_sinks = 6; */ public java.util.List getStatsSinksList() { return statsSinks_; } /** *
   * Optional set of stats sinks.
   * 
* * repeated .envoy.config.metrics.v2.StatsSink stats_sinks = 6; */ public java.util.List getStatsSinksOrBuilderList() { return statsSinks_; } /** *
   * Optional set of stats sinks.
   * 
* * repeated .envoy.config.metrics.v2.StatsSink stats_sinks = 6; */ public int getStatsSinksCount() { return statsSinks_.size(); } /** *
   * Optional set of stats sinks.
   * 
* * repeated .envoy.config.metrics.v2.StatsSink stats_sinks = 6; */ public io.envoyproxy.envoy.config.metrics.v2.StatsSink getStatsSinks(int index) { return statsSinks_.get(index); } /** *
   * Optional set of stats sinks.
   * 
* * repeated .envoy.config.metrics.v2.StatsSink stats_sinks = 6; */ public io.envoyproxy.envoy.config.metrics.v2.StatsSinkOrBuilder getStatsSinksOrBuilder( int index) { return statsSinks_.get(index); } public static final int STATS_CONFIG_FIELD_NUMBER = 13; private io.envoyproxy.envoy.config.metrics.v2.StatsConfig statsConfig_; /** *
   * Configuration for internal processing of stats.
   * 
* * .envoy.config.metrics.v2.StatsConfig stats_config = 13; */ public boolean hasStatsConfig() { return statsConfig_ != null; } /** *
   * Configuration for internal processing of stats.
   * 
* * .envoy.config.metrics.v2.StatsConfig stats_config = 13; */ public io.envoyproxy.envoy.config.metrics.v2.StatsConfig getStatsConfig() { return statsConfig_ == null ? io.envoyproxy.envoy.config.metrics.v2.StatsConfig.getDefaultInstance() : statsConfig_; } /** *
   * Configuration for internal processing of stats.
   * 
* * .envoy.config.metrics.v2.StatsConfig stats_config = 13; */ public io.envoyproxy.envoy.config.metrics.v2.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).
   * Duration must be at least 1ms and at most 5 min.
   * 
* * .google.protobuf.Duration stats_flush_interval = 7 [(.validate.rules) = { ... } */ 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).
   * 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 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).
   * 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() { return getStatsFlushInterval(); } public static final int WATCHDOG_FIELD_NUMBER = 8; private io.envoyproxy.envoy.config.bootstrap.v2.Watchdog watchdog_; /** *
   * Optional watchdog configuration.
   * 
* * .envoy.config.bootstrap.v2.Watchdog watchdog = 8; */ public boolean hasWatchdog() { return watchdog_ != null; } /** *
   * Optional watchdog configuration.
   * 
* * .envoy.config.bootstrap.v2.Watchdog watchdog = 8; */ public io.envoyproxy.envoy.config.bootstrap.v2.Watchdog getWatchdog() { return watchdog_ == null ? io.envoyproxy.envoy.config.bootstrap.v2.Watchdog.getDefaultInstance() : watchdog_; } /** *
   * Optional watchdog configuration.
   * 
* * .envoy.config.bootstrap.v2.Watchdog watchdog = 8; */ public io.envoyproxy.envoy.config.bootstrap.v2.WatchdogOrBuilder getWatchdogOrBuilder() { return getWatchdog(); } public static final int TRACING_FIELD_NUMBER = 9; private io.envoyproxy.envoy.config.trace.v2.Tracing tracing_; /** *
   * Configuration for an external tracing provider. If not specified, no
   * tracing will be performed.
   * 
* * .envoy.config.trace.v2.Tracing tracing = 9; */ public boolean hasTracing() { return tracing_ != null; } /** *
   * Configuration for an external tracing provider. If not specified, no
   * tracing will be performed.
   * 
* * .envoy.config.trace.v2.Tracing tracing = 9; */ public io.envoyproxy.envoy.config.trace.v2.Tracing getTracing() { return tracing_ == null ? io.envoyproxy.envoy.config.trace.v2.Tracing.getDefaultInstance() : tracing_; } /** *
   * Configuration for an external tracing provider. If not specified, no
   * tracing will be performed.
   * 
* * .envoy.config.trace.v2.Tracing tracing = 9; */ public io.envoyproxy.envoy.config.trace.v2.TracingOrBuilder getTracingOrBuilder() { return getTracing(); } public static final int RUNTIME_FIELD_NUMBER = 11; private io.envoyproxy.envoy.config.bootstrap.v2.Runtime runtime_; /** *
   * Configuration for the runtime configuration provider (deprecated). If not
   * specified, a “null” provider will be used which will result in all defaults
   * being used.
   * 
* * .envoy.config.bootstrap.v2.Runtime runtime = 11 [deprecated = true]; */ @java.lang.Deprecated public boolean hasRuntime() { return runtime_ != null; } /** *
   * Configuration for the runtime configuration provider (deprecated). If not
   * specified, a “null” provider will be used which will result in all defaults
   * being used.
   * 
* * .envoy.config.bootstrap.v2.Runtime runtime = 11 [deprecated = true]; */ @java.lang.Deprecated public io.envoyproxy.envoy.config.bootstrap.v2.Runtime getRuntime() { return runtime_ == null ? io.envoyproxy.envoy.config.bootstrap.v2.Runtime.getDefaultInstance() : runtime_; } /** *
   * Configuration for the runtime configuration provider (deprecated). If not
   * specified, a “null” provider will be used which will result in all defaults
   * being used.
   * 
* * .envoy.config.bootstrap.v2.Runtime runtime = 11 [deprecated = true]; */ @java.lang.Deprecated public io.envoyproxy.envoy.config.bootstrap.v2.RuntimeOrBuilder getRuntimeOrBuilder() { return getRuntime(); } public static final int LAYERED_RUNTIME_FIELD_NUMBER = 17; private io.envoyproxy.envoy.config.bootstrap.v2.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.v2.LayeredRuntime layered_runtime = 17; */ 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.v2.LayeredRuntime layered_runtime = 17; */ public io.envoyproxy.envoy.config.bootstrap.v2.LayeredRuntime getLayeredRuntime() { return layeredRuntime_ == null ? io.envoyproxy.envoy.config.bootstrap.v2.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.v2.LayeredRuntime layered_runtime = 17; */ public io.envoyproxy.envoy.config.bootstrap.v2.LayeredRuntimeOrBuilder getLayeredRuntimeOrBuilder() { return getLayeredRuntime(); } public static final int ADMIN_FIELD_NUMBER = 12; private io.envoyproxy.envoy.config.bootstrap.v2.Admin admin_; /** *
   * Configuration for the local administration HTTP server.
   * 
* * .envoy.config.bootstrap.v2.Admin admin = 12; */ public boolean hasAdmin() { return admin_ != null; } /** *
   * Configuration for the local administration HTTP server.
   * 
* * .envoy.config.bootstrap.v2.Admin admin = 12; */ public io.envoyproxy.envoy.config.bootstrap.v2.Admin getAdmin() { return admin_ == null ? io.envoyproxy.envoy.config.bootstrap.v2.Admin.getDefaultInstance() : admin_; } /** *
   * Configuration for the local administration HTTP server.
   * 
* * .envoy.config.bootstrap.v2.Admin admin = 12; */ public io.envoyproxy.envoy.config.bootstrap.v2.AdminOrBuilder getAdminOrBuilder() { return getAdmin(); } public static final int OVERLOAD_MANAGER_FIELD_NUMBER = 15; private io.envoyproxy.envoy.config.overload.v2alpha.OverloadManager overloadManager_; /** *
   * Optional overload manager configuration.
   * 
* * .envoy.config.overload.v2alpha.OverloadManager overload_manager = 15; */ public boolean hasOverloadManager() { return overloadManager_ != null; } /** *
   * Optional overload manager configuration.
   * 
* * .envoy.config.overload.v2alpha.OverloadManager overload_manager = 15; */ public io.envoyproxy.envoy.config.overload.v2alpha.OverloadManager getOverloadManager() { return overloadManager_ == null ? io.envoyproxy.envoy.config.overload.v2alpha.OverloadManager.getDefaultInstance() : overloadManager_; } /** *
   * Optional overload manager configuration.
   * 
* * .envoy.config.overload.v2alpha.OverloadManager overload_manager = 15; */ public io.envoyproxy.envoy.config.overload.v2alpha.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_api_msg_config.metrics.v2.StatsdSink>`, it will send each observed value
   * over the wire individually because the statsd protocol doesn't have any way to represent a
   * histogram summary. Be aware that this can be a very large volume of data.
   * 
* * bool enable_dispatcher_stats = 16; */ 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; */ 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; */ 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; } } 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 (!getFlagsPathBytes().isEmpty()) { 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 (runtime_ != null) { output.writeMessage(11, getRuntime()); } 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 (!getHeaderPrefixBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 18, headerPrefix_); } 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 (!getFlagsPathBytes().isEmpty()) { 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 (runtime_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(11, getRuntime()); } 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 (!getHeaderPrefixBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, headerPrefix_); } 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.v2.Bootstrap)) { return super.equals(obj); } io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap other = (io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap) obj; if (hasNode() != other.hasNode()) return false; if (hasNode()) { if (!getNode() .equals(other.getNode())) 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 (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 (hasTracing() != other.hasTracing()) return false; if (hasTracing()) { if (!getTracing() .equals(other.getTracing())) return false; } if (hasRuntime() != other.hasRuntime()) return false; if (hasRuntime()) { if (!getRuntime() .equals(other.getRuntime())) 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 (!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 (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 (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 (hasTracing()) { hash = (37 * hash) + TRACING_FIELD_NUMBER; hash = (53 * hash) + getTracing().hashCode(); } if (hasRuntime()) { hash = (37 * hash) + RUNTIME_FIELD_NUMBER; hash = (53 * hash) + getRuntime().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(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.config.bootstrap.v2.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.v2.Bootstrap parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.config.bootstrap.v2.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.v2.Bootstrap parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.config.bootstrap.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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_v2_bootstrap>`.
   * 
* * Protobuf type {@code envoy.config.bootstrap.v2.Bootstrap} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:envoy.config.bootstrap.v2.Bootstrap) io.envoyproxy.envoy.config.bootstrap.v2.BootstrapOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.config.bootstrap.v2.BootstrapProto.internal_static_envoy_config_bootstrap_v2_Bootstrap_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.config.bootstrap.v2.BootstrapProto.internal_static_envoy_config_bootstrap_v2_Bootstrap_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.class, io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.Builder.class); } // Construct using io.envoyproxy.envoy.config.bootstrap.v2.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(); } } @java.lang.Override public Builder clear() { super.clear(); if (nodeBuilder_ == null) { node_ = null; } else { node_ = null; nodeBuilder_ = null; } 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_ & ~0x00000001); } else { statsSinksBuilder_.clear(); } 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 (tracingBuilder_ == null) { tracing_ = null; } else { tracing_ = null; tracingBuilder_ = null; } if (runtimeBuilder_ == null) { runtime_ = null; } else { runtime_ = null; runtimeBuilder_ = 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_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.envoyproxy.envoy.config.bootstrap.v2.BootstrapProto.internal_static_envoy_config_bootstrap_v2_Bootstrap_descriptor; } @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap getDefaultInstanceForType() { return io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.getDefaultInstance(); } @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap build() { io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap buildPartial() { io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap result = new io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap(this); int from_bitField0_ = bitField0_; if (nodeBuilder_ == null) { result.node_ = node_; } else { result.node_ = nodeBuilder_.build(); } 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_ & 0x00000001) != 0)) { statsSinks_ = java.util.Collections.unmodifiableList(statsSinks_); bitField0_ = (bitField0_ & ~0x00000001); } result.statsSinks_ = statsSinks_; } else { result.statsSinks_ = statsSinksBuilder_.build(); } if (statsConfigBuilder_ == null) { result.statsConfig_ = statsConfig_; } else { result.statsConfig_ = statsConfigBuilder_.build(); } if (statsFlushIntervalBuilder_ == null) { result.statsFlushInterval_ = statsFlushInterval_; } else { result.statsFlushInterval_ = statsFlushIntervalBuilder_.build(); } if (watchdogBuilder_ == null) { result.watchdog_ = watchdog_; } else { result.watchdog_ = watchdogBuilder_.build(); } if (tracingBuilder_ == null) { result.tracing_ = tracing_; } else { result.tracing_ = tracingBuilder_.build(); } if (runtimeBuilder_ == null) { result.runtime_ = runtime_; } else { result.runtime_ = runtimeBuilder_.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_; 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.v2.Bootstrap) { return mergeFrom((io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap other) { if (other == io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.getDefaultInstance()) return this; if (other.hasNode()) { mergeNode(other.getNode()); } 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_ & ~0x00000001); } else { ensureStatsSinksIsMutable(); statsSinks_.addAll(other.statsSinks_); } onChanged(); } } else { if (!other.statsSinks_.isEmpty()) { if (statsSinksBuilder_.isEmpty()) { statsSinksBuilder_.dispose(); statsSinksBuilder_ = null; statsSinks_ = other.statsSinks_; bitField0_ = (bitField0_ & ~0x00000001); statsSinksBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getStatsSinksFieldBuilder() : null; } else { statsSinksBuilder_.addAllMessages(other.statsSinks_); } } } if (other.hasStatsConfig()) { mergeStatsConfig(other.getStatsConfig()); } if (other.hasStatsFlushInterval()) { mergeStatsFlushInterval(other.getStatsFlushInterval()); } if (other.hasWatchdog()) { mergeWatchdog(other.getWatchdog()); } if (other.hasTracing()) { mergeTracing(other.getTracing()); } if (other.hasRuntime()) { mergeRuntime(other.getRuntime()); } 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(); } 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.v2.Bootstrap parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private io.envoyproxy.envoy.api.v2.core.Node node_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.api.v2.core.Node, io.envoyproxy.envoy.api.v2.core.Node.Builder, io.envoyproxy.envoy.api.v2.core.NodeOrBuilder> nodeBuilder_; /** *
     * Node identity to present to the management server and for instance
     * identification purposes (e.g. in generated headers).
     * 
* * .envoy.api.v2.core.Node node = 1; */ 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.api.v2.core.Node node = 1; */ public io.envoyproxy.envoy.api.v2.core.Node getNode() { if (nodeBuilder_ == null) { return node_ == null ? io.envoyproxy.envoy.api.v2.core.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.api.v2.core.Node node = 1; */ public Builder setNode(io.envoyproxy.envoy.api.v2.core.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.api.v2.core.Node node = 1; */ public Builder setNode( io.envoyproxy.envoy.api.v2.core.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.api.v2.core.Node node = 1; */ public Builder mergeNode(io.envoyproxy.envoy.api.v2.core.Node value) { if (nodeBuilder_ == null) { if (node_ != null) { node_ = io.envoyproxy.envoy.api.v2.core.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.api.v2.core.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.api.v2.core.Node node = 1; */ public io.envoyproxy.envoy.api.v2.core.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.api.v2.core.Node node = 1; */ public io.envoyproxy.envoy.api.v2.core.NodeOrBuilder getNodeOrBuilder() { if (nodeBuilder_ != null) { return nodeBuilder_.getMessageOrBuilder(); } else { return node_ == null ? io.envoyproxy.envoy.api.v2.core.Node.getDefaultInstance() : node_; } } /** *
     * Node identity to present to the management server and for instance
     * identification purposes (e.g. in generated headers).
     * 
* * .envoy.api.v2.core.Node node = 1; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.api.v2.core.Node, io.envoyproxy.envoy.api.v2.core.Node.Builder, io.envoyproxy.envoy.api.v2.core.NodeOrBuilder> getNodeFieldBuilder() { if (nodeBuilder_ == null) { nodeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.api.v2.core.Node, io.envoyproxy.envoy.api.v2.core.Node.Builder, io.envoyproxy.envoy.api.v2.core.NodeOrBuilder>( getNode(), getParentForChildren(), isClean()); node_ = null; } return nodeBuilder_; } private io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources staticResources_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources, io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources.Builder, io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResourcesOrBuilder> staticResourcesBuilder_; /** *
     * Statically specified resources.
     * 
* * .envoy.config.bootstrap.v2.Bootstrap.StaticResources static_resources = 2; */ public boolean hasStaticResources() { return staticResourcesBuilder_ != null || staticResources_ != null; } /** *
     * Statically specified resources.
     * 
* * .envoy.config.bootstrap.v2.Bootstrap.StaticResources static_resources = 2; */ public io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources getStaticResources() { if (staticResourcesBuilder_ == null) { return staticResources_ == null ? io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources.getDefaultInstance() : staticResources_; } else { return staticResourcesBuilder_.getMessage(); } } /** *
     * Statically specified resources.
     * 
* * .envoy.config.bootstrap.v2.Bootstrap.StaticResources static_resources = 2; */ public Builder setStaticResources(io.envoyproxy.envoy.config.bootstrap.v2.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.v2.Bootstrap.StaticResources static_resources = 2; */ public Builder setStaticResources( io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources.Builder builderForValue) { if (staticResourcesBuilder_ == null) { staticResources_ = builderForValue.build(); onChanged(); } else { staticResourcesBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * Statically specified resources.
     * 
* * .envoy.config.bootstrap.v2.Bootstrap.StaticResources static_resources = 2; */ public Builder mergeStaticResources(io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources value) { if (staticResourcesBuilder_ == null) { if (staticResources_ != null) { staticResources_ = io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources.newBuilder(staticResources_).mergeFrom(value).buildPartial(); } else { staticResources_ = value; } onChanged(); } else { staticResourcesBuilder_.mergeFrom(value); } return this; } /** *
     * Statically specified resources.
     * 
* * .envoy.config.bootstrap.v2.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.v2.Bootstrap.StaticResources static_resources = 2; */ public io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources.Builder getStaticResourcesBuilder() { onChanged(); return getStaticResourcesFieldBuilder().getBuilder(); } /** *
     * Statically specified resources.
     * 
* * .envoy.config.bootstrap.v2.Bootstrap.StaticResources static_resources = 2; */ public io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResourcesOrBuilder getStaticResourcesOrBuilder() { if (staticResourcesBuilder_ != null) { return staticResourcesBuilder_.getMessageOrBuilder(); } else { return staticResources_ == null ? io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources.getDefaultInstance() : staticResources_; } } /** *
     * Statically specified resources.
     * 
* * .envoy.config.bootstrap.v2.Bootstrap.StaticResources static_resources = 2; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources, io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources.Builder, io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResourcesOrBuilder> getStaticResourcesFieldBuilder() { if (staticResourcesBuilder_ == null) { staticResourcesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources, io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources.Builder, io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResourcesOrBuilder>( getStaticResources(), getParentForChildren(), isClean()); staticResources_ = null; } return staticResourcesBuilder_; } private io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources dynamicResources_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources, io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources.Builder, io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResourcesOrBuilder> dynamicResourcesBuilder_; /** *
     * xDS configuration sources.
     * 
* * .envoy.config.bootstrap.v2.Bootstrap.DynamicResources dynamic_resources = 3; */ public boolean hasDynamicResources() { return dynamicResourcesBuilder_ != null || dynamicResources_ != null; } /** *
     * xDS configuration sources.
     * 
* * .envoy.config.bootstrap.v2.Bootstrap.DynamicResources dynamic_resources = 3; */ public io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources getDynamicResources() { if (dynamicResourcesBuilder_ == null) { return dynamicResources_ == null ? io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources.getDefaultInstance() : dynamicResources_; } else { return dynamicResourcesBuilder_.getMessage(); } } /** *
     * xDS configuration sources.
     * 
* * .envoy.config.bootstrap.v2.Bootstrap.DynamicResources dynamic_resources = 3; */ public Builder setDynamicResources(io.envoyproxy.envoy.config.bootstrap.v2.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.v2.Bootstrap.DynamicResources dynamic_resources = 3; */ public Builder setDynamicResources( io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources.Builder builderForValue) { if (dynamicResourcesBuilder_ == null) { dynamicResources_ = builderForValue.build(); onChanged(); } else { dynamicResourcesBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * xDS configuration sources.
     * 
* * .envoy.config.bootstrap.v2.Bootstrap.DynamicResources dynamic_resources = 3; */ public Builder mergeDynamicResources(io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources value) { if (dynamicResourcesBuilder_ == null) { if (dynamicResources_ != null) { dynamicResources_ = io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources.newBuilder(dynamicResources_).mergeFrom(value).buildPartial(); } else { dynamicResources_ = value; } onChanged(); } else { dynamicResourcesBuilder_.mergeFrom(value); } return this; } /** *
     * xDS configuration sources.
     * 
* * .envoy.config.bootstrap.v2.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.v2.Bootstrap.DynamicResources dynamic_resources = 3; */ public io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources.Builder getDynamicResourcesBuilder() { onChanged(); return getDynamicResourcesFieldBuilder().getBuilder(); } /** *
     * xDS configuration sources.
     * 
* * .envoy.config.bootstrap.v2.Bootstrap.DynamicResources dynamic_resources = 3; */ public io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResourcesOrBuilder getDynamicResourcesOrBuilder() { if (dynamicResourcesBuilder_ != null) { return dynamicResourcesBuilder_.getMessageOrBuilder(); } else { return dynamicResources_ == null ? io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources.getDefaultInstance() : dynamicResources_; } } /** *
     * xDS configuration sources.
     * 
* * .envoy.config.bootstrap.v2.Bootstrap.DynamicResources dynamic_resources = 3; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources, io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources.Builder, io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResourcesOrBuilder> getDynamicResourcesFieldBuilder() { if (dynamicResourcesBuilder_ == null) { dynamicResourcesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources, io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources.Builder, io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResourcesOrBuilder>( getDynamicResources(), getParentForChildren(), isClean()); dynamicResources_ = null; } return dynamicResourcesBuilder_; } private io.envoyproxy.envoy.config.bootstrap.v2.ClusterManager clusterManager_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v2.ClusterManager, io.envoyproxy.envoy.config.bootstrap.v2.ClusterManager.Builder, io.envoyproxy.envoy.config.bootstrap.v2.ClusterManagerOrBuilder> clusterManagerBuilder_; /** *
     * Configuration for the cluster manager which owns all upstream clusters
     * within the server.
     * 
* * .envoy.config.bootstrap.v2.ClusterManager cluster_manager = 4; */ public boolean hasClusterManager() { return clusterManagerBuilder_ != null || clusterManager_ != null; } /** *
     * Configuration for the cluster manager which owns all upstream clusters
     * within the server.
     * 
* * .envoy.config.bootstrap.v2.ClusterManager cluster_manager = 4; */ public io.envoyproxy.envoy.config.bootstrap.v2.ClusterManager getClusterManager() { if (clusterManagerBuilder_ == null) { return clusterManager_ == null ? io.envoyproxy.envoy.config.bootstrap.v2.ClusterManager.getDefaultInstance() : clusterManager_; } else { return clusterManagerBuilder_.getMessage(); } } /** *
     * Configuration for the cluster manager which owns all upstream clusters
     * within the server.
     * 
* * .envoy.config.bootstrap.v2.ClusterManager cluster_manager = 4; */ public Builder setClusterManager(io.envoyproxy.envoy.config.bootstrap.v2.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.v2.ClusterManager cluster_manager = 4; */ public Builder setClusterManager( io.envoyproxy.envoy.config.bootstrap.v2.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.v2.ClusterManager cluster_manager = 4; */ public Builder mergeClusterManager(io.envoyproxy.envoy.config.bootstrap.v2.ClusterManager value) { if (clusterManagerBuilder_ == null) { if (clusterManager_ != null) { clusterManager_ = io.envoyproxy.envoy.config.bootstrap.v2.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.v2.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.v2.ClusterManager cluster_manager = 4; */ public io.envoyproxy.envoy.config.bootstrap.v2.ClusterManager.Builder getClusterManagerBuilder() { onChanged(); return getClusterManagerFieldBuilder().getBuilder(); } /** *
     * Configuration for the cluster manager which owns all upstream clusters
     * within the server.
     * 
* * .envoy.config.bootstrap.v2.ClusterManager cluster_manager = 4; */ public io.envoyproxy.envoy.config.bootstrap.v2.ClusterManagerOrBuilder getClusterManagerOrBuilder() { if (clusterManagerBuilder_ != null) { return clusterManagerBuilder_.getMessageOrBuilder(); } else { return clusterManager_ == null ? io.envoyproxy.envoy.config.bootstrap.v2.ClusterManager.getDefaultInstance() : clusterManager_; } } /** *
     * Configuration for the cluster manager which owns all upstream clusters
     * within the server.
     * 
* * .envoy.config.bootstrap.v2.ClusterManager cluster_manager = 4; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v2.ClusterManager, io.envoyproxy.envoy.config.bootstrap.v2.ClusterManager.Builder, io.envoyproxy.envoy.config.bootstrap.v2.ClusterManagerOrBuilder> getClusterManagerFieldBuilder() { if (clusterManagerBuilder_ == null) { clusterManagerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v2.ClusterManager, io.envoyproxy.envoy.config.bootstrap.v2.ClusterManager.Builder, io.envoyproxy.envoy.config.bootstrap.v2.ClusterManagerOrBuilder>( getClusterManager(), getParentForChildren(), isClean()); clusterManager_ = null; } return clusterManagerBuilder_; } private io.envoyproxy.envoy.api.v2.core.ApiConfigSource hdsConfig_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.api.v2.core.ApiConfigSource, io.envoyproxy.envoy.api.v2.core.ApiConfigSource.Builder, io.envoyproxy.envoy.api.v2.core.ApiConfigSourceOrBuilder> hdsConfigBuilder_; /** *
     * Health discovery service config option.
     * (:ref:`core.ApiConfigSource <envoy_api_msg_core.ApiConfigSource>`)
     * 
* * .envoy.api.v2.core.ApiConfigSource hds_config = 14; */ public boolean hasHdsConfig() { return hdsConfigBuilder_ != null || hdsConfig_ != null; } /** *
     * Health discovery service config option.
     * (:ref:`core.ApiConfigSource <envoy_api_msg_core.ApiConfigSource>`)
     * 
* * .envoy.api.v2.core.ApiConfigSource hds_config = 14; */ public io.envoyproxy.envoy.api.v2.core.ApiConfigSource getHdsConfig() { if (hdsConfigBuilder_ == null) { return hdsConfig_ == null ? io.envoyproxy.envoy.api.v2.core.ApiConfigSource.getDefaultInstance() : hdsConfig_; } else { return hdsConfigBuilder_.getMessage(); } } /** *
     * Health discovery service config option.
     * (:ref:`core.ApiConfigSource <envoy_api_msg_core.ApiConfigSource>`)
     * 
* * .envoy.api.v2.core.ApiConfigSource hds_config = 14; */ public Builder setHdsConfig(io.envoyproxy.envoy.api.v2.core.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_api_msg_core.ApiConfigSource>`)
     * 
* * .envoy.api.v2.core.ApiConfigSource hds_config = 14; */ public Builder setHdsConfig( io.envoyproxy.envoy.api.v2.core.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_api_msg_core.ApiConfigSource>`)
     * 
* * .envoy.api.v2.core.ApiConfigSource hds_config = 14; */ public Builder mergeHdsConfig(io.envoyproxy.envoy.api.v2.core.ApiConfigSource value) { if (hdsConfigBuilder_ == null) { if (hdsConfig_ != null) { hdsConfig_ = io.envoyproxy.envoy.api.v2.core.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_api_msg_core.ApiConfigSource>`)
     * 
* * .envoy.api.v2.core.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_api_msg_core.ApiConfigSource>`)
     * 
* * .envoy.api.v2.core.ApiConfigSource hds_config = 14; */ public io.envoyproxy.envoy.api.v2.core.ApiConfigSource.Builder getHdsConfigBuilder() { onChanged(); return getHdsConfigFieldBuilder().getBuilder(); } /** *
     * Health discovery service config option.
     * (:ref:`core.ApiConfigSource <envoy_api_msg_core.ApiConfigSource>`)
     * 
* * .envoy.api.v2.core.ApiConfigSource hds_config = 14; */ public io.envoyproxy.envoy.api.v2.core.ApiConfigSourceOrBuilder getHdsConfigOrBuilder() { if (hdsConfigBuilder_ != null) { return hdsConfigBuilder_.getMessageOrBuilder(); } else { return hdsConfig_ == null ? io.envoyproxy.envoy.api.v2.core.ApiConfigSource.getDefaultInstance() : hdsConfig_; } } /** *
     * Health discovery service config option.
     * (:ref:`core.ApiConfigSource <envoy_api_msg_core.ApiConfigSource>`)
     * 
* * .envoy.api.v2.core.ApiConfigSource hds_config = 14; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.api.v2.core.ApiConfigSource, io.envoyproxy.envoy.api.v2.core.ApiConfigSource.Builder, io.envoyproxy.envoy.api.v2.core.ApiConfigSourceOrBuilder> getHdsConfigFieldBuilder() { if (hdsConfigBuilder_ == null) { hdsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.api.v2.core.ApiConfigSource, io.envoyproxy.envoy.api.v2.core.ApiConfigSource.Builder, io.envoyproxy.envoy.api.v2.core.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; */ 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; */ 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; */ 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; */ public Builder clearFlagsPath() { flagsPath_ = getDefaultInstance().getFlagsPath(); onChanged(); return this; } /** *
     * Optional file system path to search for startup flag files.
     * 
* * string flags_path = 5; */ 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_ & 0x00000001) != 0)) { statsSinks_ = new java.util.ArrayList(statsSinks_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.config.metrics.v2.StatsSink, io.envoyproxy.envoy.config.metrics.v2.StatsSink.Builder, io.envoyproxy.envoy.config.metrics.v2.StatsSinkOrBuilder> statsSinksBuilder_; /** *
     * Optional set of stats sinks.
     * 
* * repeated .envoy.config.metrics.v2.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.v2.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.v2.StatsSink stats_sinks = 6; */ public io.envoyproxy.envoy.config.metrics.v2.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.v2.StatsSink stats_sinks = 6; */ public Builder setStatsSinks( int index, io.envoyproxy.envoy.config.metrics.v2.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.v2.StatsSink stats_sinks = 6; */ public Builder setStatsSinks( int index, io.envoyproxy.envoy.config.metrics.v2.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.v2.StatsSink stats_sinks = 6; */ public Builder addStatsSinks(io.envoyproxy.envoy.config.metrics.v2.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.v2.StatsSink stats_sinks = 6; */ public Builder addStatsSinks( int index, io.envoyproxy.envoy.config.metrics.v2.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.v2.StatsSink stats_sinks = 6; */ public Builder addStatsSinks( io.envoyproxy.envoy.config.metrics.v2.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.v2.StatsSink stats_sinks = 6; */ public Builder addStatsSinks( int index, io.envoyproxy.envoy.config.metrics.v2.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.v2.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.v2.StatsSink stats_sinks = 6; */ public Builder clearStatsSinks() { if (statsSinksBuilder_ == null) { statsSinks_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { statsSinksBuilder_.clear(); } return this; } /** *
     * Optional set of stats sinks.
     * 
* * repeated .envoy.config.metrics.v2.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.v2.StatsSink stats_sinks = 6; */ public io.envoyproxy.envoy.config.metrics.v2.StatsSink.Builder getStatsSinksBuilder( int index) { return getStatsSinksFieldBuilder().getBuilder(index); } /** *
     * Optional set of stats sinks.
     * 
* * repeated .envoy.config.metrics.v2.StatsSink stats_sinks = 6; */ public io.envoyproxy.envoy.config.metrics.v2.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.v2.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.v2.StatsSink stats_sinks = 6; */ public io.envoyproxy.envoy.config.metrics.v2.StatsSink.Builder addStatsSinksBuilder() { return getStatsSinksFieldBuilder().addBuilder( io.envoyproxy.envoy.config.metrics.v2.StatsSink.getDefaultInstance()); } /** *
     * Optional set of stats sinks.
     * 
* * repeated .envoy.config.metrics.v2.StatsSink stats_sinks = 6; */ public io.envoyproxy.envoy.config.metrics.v2.StatsSink.Builder addStatsSinksBuilder( int index) { return getStatsSinksFieldBuilder().addBuilder( index, io.envoyproxy.envoy.config.metrics.v2.StatsSink.getDefaultInstance()); } /** *
     * Optional set of stats sinks.
     * 
* * repeated .envoy.config.metrics.v2.StatsSink stats_sinks = 6; */ public java.util.List getStatsSinksBuilderList() { return getStatsSinksFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.config.metrics.v2.StatsSink, io.envoyproxy.envoy.config.metrics.v2.StatsSink.Builder, io.envoyproxy.envoy.config.metrics.v2.StatsSinkOrBuilder> getStatsSinksFieldBuilder() { if (statsSinksBuilder_ == null) { statsSinksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.config.metrics.v2.StatsSink, io.envoyproxy.envoy.config.metrics.v2.StatsSink.Builder, io.envoyproxy.envoy.config.metrics.v2.StatsSinkOrBuilder>( statsSinks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); statsSinks_ = null; } return statsSinksBuilder_; } private io.envoyproxy.envoy.config.metrics.v2.StatsConfig statsConfig_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.metrics.v2.StatsConfig, io.envoyproxy.envoy.config.metrics.v2.StatsConfig.Builder, io.envoyproxy.envoy.config.metrics.v2.StatsConfigOrBuilder> statsConfigBuilder_; /** *
     * Configuration for internal processing of stats.
     * 
* * .envoy.config.metrics.v2.StatsConfig stats_config = 13; */ public boolean hasStatsConfig() { return statsConfigBuilder_ != null || statsConfig_ != null; } /** *
     * Configuration for internal processing of stats.
     * 
* * .envoy.config.metrics.v2.StatsConfig stats_config = 13; */ public io.envoyproxy.envoy.config.metrics.v2.StatsConfig getStatsConfig() { if (statsConfigBuilder_ == null) { return statsConfig_ == null ? io.envoyproxy.envoy.config.metrics.v2.StatsConfig.getDefaultInstance() : statsConfig_; } else { return statsConfigBuilder_.getMessage(); } } /** *
     * Configuration for internal processing of stats.
     * 
* * .envoy.config.metrics.v2.StatsConfig stats_config = 13; */ public Builder setStatsConfig(io.envoyproxy.envoy.config.metrics.v2.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.v2.StatsConfig stats_config = 13; */ public Builder setStatsConfig( io.envoyproxy.envoy.config.metrics.v2.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.v2.StatsConfig stats_config = 13; */ public Builder mergeStatsConfig(io.envoyproxy.envoy.config.metrics.v2.StatsConfig value) { if (statsConfigBuilder_ == null) { if (statsConfig_ != null) { statsConfig_ = io.envoyproxy.envoy.config.metrics.v2.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.v2.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.v2.StatsConfig stats_config = 13; */ public io.envoyproxy.envoy.config.metrics.v2.StatsConfig.Builder getStatsConfigBuilder() { onChanged(); return getStatsConfigFieldBuilder().getBuilder(); } /** *
     * Configuration for internal processing of stats.
     * 
* * .envoy.config.metrics.v2.StatsConfig stats_config = 13; */ public io.envoyproxy.envoy.config.metrics.v2.StatsConfigOrBuilder getStatsConfigOrBuilder() { if (statsConfigBuilder_ != null) { return statsConfigBuilder_.getMessageOrBuilder(); } else { return statsConfig_ == null ? io.envoyproxy.envoy.config.metrics.v2.StatsConfig.getDefaultInstance() : statsConfig_; } } /** *
     * Configuration for internal processing of stats.
     * 
* * .envoy.config.metrics.v2.StatsConfig stats_config = 13; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.metrics.v2.StatsConfig, io.envoyproxy.envoy.config.metrics.v2.StatsConfig.Builder, io.envoyproxy.envoy.config.metrics.v2.StatsConfigOrBuilder> getStatsConfigFieldBuilder() { if (statsConfigBuilder_ == null) { statsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.metrics.v2.StatsConfig, io.envoyproxy.envoy.config.metrics.v2.StatsConfig.Builder, io.envoyproxy.envoy.config.metrics.v2.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).
     * Duration must be at least 1ms and at most 5 min.
     * 
* * .google.protobuf.Duration stats_flush_interval = 7 [(.validate.rules) = { ... } */ 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).
     * 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 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).
     * 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).
     * 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).
     * 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).
     * 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).
     * 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).
     * 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).
     * 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_; } private io.envoyproxy.envoy.config.bootstrap.v2.Watchdog watchdog_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v2.Watchdog, io.envoyproxy.envoy.config.bootstrap.v2.Watchdog.Builder, io.envoyproxy.envoy.config.bootstrap.v2.WatchdogOrBuilder> watchdogBuilder_; /** *
     * Optional watchdog configuration.
     * 
* * .envoy.config.bootstrap.v2.Watchdog watchdog = 8; */ public boolean hasWatchdog() { return watchdogBuilder_ != null || watchdog_ != null; } /** *
     * Optional watchdog configuration.
     * 
* * .envoy.config.bootstrap.v2.Watchdog watchdog = 8; */ public io.envoyproxy.envoy.config.bootstrap.v2.Watchdog getWatchdog() { if (watchdogBuilder_ == null) { return watchdog_ == null ? io.envoyproxy.envoy.config.bootstrap.v2.Watchdog.getDefaultInstance() : watchdog_; } else { return watchdogBuilder_.getMessage(); } } /** *
     * Optional watchdog configuration.
     * 
* * .envoy.config.bootstrap.v2.Watchdog watchdog = 8; */ public Builder setWatchdog(io.envoyproxy.envoy.config.bootstrap.v2.Watchdog value) { if (watchdogBuilder_ == null) { if (value == null) { throw new NullPointerException(); } watchdog_ = value; onChanged(); } else { watchdogBuilder_.setMessage(value); } return this; } /** *
     * Optional watchdog configuration.
     * 
* * .envoy.config.bootstrap.v2.Watchdog watchdog = 8; */ public Builder setWatchdog( io.envoyproxy.envoy.config.bootstrap.v2.Watchdog.Builder builderForValue) { if (watchdogBuilder_ == null) { watchdog_ = builderForValue.build(); onChanged(); } else { watchdogBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * Optional watchdog configuration.
     * 
* * .envoy.config.bootstrap.v2.Watchdog watchdog = 8; */ public Builder mergeWatchdog(io.envoyproxy.envoy.config.bootstrap.v2.Watchdog value) { if (watchdogBuilder_ == null) { if (watchdog_ != null) { watchdog_ = io.envoyproxy.envoy.config.bootstrap.v2.Watchdog.newBuilder(watchdog_).mergeFrom(value).buildPartial(); } else { watchdog_ = value; } onChanged(); } else { watchdogBuilder_.mergeFrom(value); } return this; } /** *
     * Optional watchdog configuration.
     * 
* * .envoy.config.bootstrap.v2.Watchdog watchdog = 8; */ public Builder clearWatchdog() { if (watchdogBuilder_ == null) { watchdog_ = null; onChanged(); } else { watchdog_ = null; watchdogBuilder_ = null; } return this; } /** *
     * Optional watchdog configuration.
     * 
* * .envoy.config.bootstrap.v2.Watchdog watchdog = 8; */ public io.envoyproxy.envoy.config.bootstrap.v2.Watchdog.Builder getWatchdogBuilder() { onChanged(); return getWatchdogFieldBuilder().getBuilder(); } /** *
     * Optional watchdog configuration.
     * 
* * .envoy.config.bootstrap.v2.Watchdog watchdog = 8; */ public io.envoyproxy.envoy.config.bootstrap.v2.WatchdogOrBuilder getWatchdogOrBuilder() { if (watchdogBuilder_ != null) { return watchdogBuilder_.getMessageOrBuilder(); } else { return watchdog_ == null ? io.envoyproxy.envoy.config.bootstrap.v2.Watchdog.getDefaultInstance() : watchdog_; } } /** *
     * Optional watchdog configuration.
     * 
* * .envoy.config.bootstrap.v2.Watchdog watchdog = 8; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v2.Watchdog, io.envoyproxy.envoy.config.bootstrap.v2.Watchdog.Builder, io.envoyproxy.envoy.config.bootstrap.v2.WatchdogOrBuilder> getWatchdogFieldBuilder() { if (watchdogBuilder_ == null) { watchdogBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v2.Watchdog, io.envoyproxy.envoy.config.bootstrap.v2.Watchdog.Builder, io.envoyproxy.envoy.config.bootstrap.v2.WatchdogOrBuilder>( getWatchdog(), getParentForChildren(), isClean()); watchdog_ = null; } return watchdogBuilder_; } private io.envoyproxy.envoy.config.trace.v2.Tracing tracing_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.trace.v2.Tracing, io.envoyproxy.envoy.config.trace.v2.Tracing.Builder, io.envoyproxy.envoy.config.trace.v2.TracingOrBuilder> tracingBuilder_; /** *
     * Configuration for an external tracing provider. If not specified, no
     * tracing will be performed.
     * 
* * .envoy.config.trace.v2.Tracing tracing = 9; */ public boolean hasTracing() { return tracingBuilder_ != null || tracing_ != null; } /** *
     * Configuration for an external tracing provider. If not specified, no
     * tracing will be performed.
     * 
* * .envoy.config.trace.v2.Tracing tracing = 9; */ public io.envoyproxy.envoy.config.trace.v2.Tracing getTracing() { if (tracingBuilder_ == null) { return tracing_ == null ? io.envoyproxy.envoy.config.trace.v2.Tracing.getDefaultInstance() : tracing_; } else { return tracingBuilder_.getMessage(); } } /** *
     * Configuration for an external tracing provider. If not specified, no
     * tracing will be performed.
     * 
* * .envoy.config.trace.v2.Tracing tracing = 9; */ public Builder setTracing(io.envoyproxy.envoy.config.trace.v2.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. If not specified, no
     * tracing will be performed.
     * 
* * .envoy.config.trace.v2.Tracing tracing = 9; */ public Builder setTracing( io.envoyproxy.envoy.config.trace.v2.Tracing.Builder builderForValue) { if (tracingBuilder_ == null) { tracing_ = builderForValue.build(); onChanged(); } else { tracingBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * Configuration for an external tracing provider. If not specified, no
     * tracing will be performed.
     * 
* * .envoy.config.trace.v2.Tracing tracing = 9; */ public Builder mergeTracing(io.envoyproxy.envoy.config.trace.v2.Tracing value) { if (tracingBuilder_ == null) { if (tracing_ != null) { tracing_ = io.envoyproxy.envoy.config.trace.v2.Tracing.newBuilder(tracing_).mergeFrom(value).buildPartial(); } else { tracing_ = value; } onChanged(); } else { tracingBuilder_.mergeFrom(value); } return this; } /** *
     * Configuration for an external tracing provider. If not specified, no
     * tracing will be performed.
     * 
* * .envoy.config.trace.v2.Tracing tracing = 9; */ public Builder clearTracing() { if (tracingBuilder_ == null) { tracing_ = null; onChanged(); } else { tracing_ = null; tracingBuilder_ = null; } return this; } /** *
     * Configuration for an external tracing provider. If not specified, no
     * tracing will be performed.
     * 
* * .envoy.config.trace.v2.Tracing tracing = 9; */ public io.envoyproxy.envoy.config.trace.v2.Tracing.Builder getTracingBuilder() { onChanged(); return getTracingFieldBuilder().getBuilder(); } /** *
     * Configuration for an external tracing provider. If not specified, no
     * tracing will be performed.
     * 
* * .envoy.config.trace.v2.Tracing tracing = 9; */ public io.envoyproxy.envoy.config.trace.v2.TracingOrBuilder getTracingOrBuilder() { if (tracingBuilder_ != null) { return tracingBuilder_.getMessageOrBuilder(); } else { return tracing_ == null ? io.envoyproxy.envoy.config.trace.v2.Tracing.getDefaultInstance() : tracing_; } } /** *
     * Configuration for an external tracing provider. If not specified, no
     * tracing will be performed.
     * 
* * .envoy.config.trace.v2.Tracing tracing = 9; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.trace.v2.Tracing, io.envoyproxy.envoy.config.trace.v2.Tracing.Builder, io.envoyproxy.envoy.config.trace.v2.TracingOrBuilder> getTracingFieldBuilder() { if (tracingBuilder_ == null) { tracingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.trace.v2.Tracing, io.envoyproxy.envoy.config.trace.v2.Tracing.Builder, io.envoyproxy.envoy.config.trace.v2.TracingOrBuilder>( getTracing(), getParentForChildren(), isClean()); tracing_ = null; } return tracingBuilder_; } private io.envoyproxy.envoy.config.bootstrap.v2.Runtime runtime_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v2.Runtime, io.envoyproxy.envoy.config.bootstrap.v2.Runtime.Builder, io.envoyproxy.envoy.config.bootstrap.v2.RuntimeOrBuilder> runtimeBuilder_; /** *
     * Configuration for the runtime configuration provider (deprecated). If not
     * specified, a “null” provider will be used which will result in all defaults
     * being used.
     * 
* * .envoy.config.bootstrap.v2.Runtime runtime = 11 [deprecated = true]; */ @java.lang.Deprecated public boolean hasRuntime() { return runtimeBuilder_ != null || runtime_ != null; } /** *
     * Configuration for the runtime configuration provider (deprecated). If not
     * specified, a “null” provider will be used which will result in all defaults
     * being used.
     * 
* * .envoy.config.bootstrap.v2.Runtime runtime = 11 [deprecated = true]; */ @java.lang.Deprecated public io.envoyproxy.envoy.config.bootstrap.v2.Runtime getRuntime() { if (runtimeBuilder_ == null) { return runtime_ == null ? io.envoyproxy.envoy.config.bootstrap.v2.Runtime.getDefaultInstance() : runtime_; } else { return runtimeBuilder_.getMessage(); } } /** *
     * Configuration for the runtime configuration provider (deprecated). If not
     * specified, a “null” provider will be used which will result in all defaults
     * being used.
     * 
* * .envoy.config.bootstrap.v2.Runtime runtime = 11 [deprecated = true]; */ @java.lang.Deprecated public Builder setRuntime(io.envoyproxy.envoy.config.bootstrap.v2.Runtime value) { if (runtimeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } runtime_ = value; onChanged(); } else { runtimeBuilder_.setMessage(value); } return this; } /** *
     * Configuration for the runtime configuration provider (deprecated). If not
     * specified, a “null” provider will be used which will result in all defaults
     * being used.
     * 
* * .envoy.config.bootstrap.v2.Runtime runtime = 11 [deprecated = true]; */ @java.lang.Deprecated public Builder setRuntime( io.envoyproxy.envoy.config.bootstrap.v2.Runtime.Builder builderForValue) { if (runtimeBuilder_ == null) { runtime_ = builderForValue.build(); onChanged(); } else { runtimeBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * Configuration for the runtime configuration provider (deprecated). If not
     * specified, a “null” provider will be used which will result in all defaults
     * being used.
     * 
* * .envoy.config.bootstrap.v2.Runtime runtime = 11 [deprecated = true]; */ @java.lang.Deprecated public Builder mergeRuntime(io.envoyproxy.envoy.config.bootstrap.v2.Runtime value) { if (runtimeBuilder_ == null) { if (runtime_ != null) { runtime_ = io.envoyproxy.envoy.config.bootstrap.v2.Runtime.newBuilder(runtime_).mergeFrom(value).buildPartial(); } else { runtime_ = value; } onChanged(); } else { runtimeBuilder_.mergeFrom(value); } return this; } /** *
     * Configuration for the runtime configuration provider (deprecated). If not
     * specified, a “null” provider will be used which will result in all defaults
     * being used.
     * 
* * .envoy.config.bootstrap.v2.Runtime runtime = 11 [deprecated = true]; */ @java.lang.Deprecated public Builder clearRuntime() { if (runtimeBuilder_ == null) { runtime_ = null; onChanged(); } else { runtime_ = null; runtimeBuilder_ = null; } return this; } /** *
     * Configuration for the runtime configuration provider (deprecated). If not
     * specified, a “null” provider will be used which will result in all defaults
     * being used.
     * 
* * .envoy.config.bootstrap.v2.Runtime runtime = 11 [deprecated = true]; */ @java.lang.Deprecated public io.envoyproxy.envoy.config.bootstrap.v2.Runtime.Builder getRuntimeBuilder() { onChanged(); return getRuntimeFieldBuilder().getBuilder(); } /** *
     * Configuration for the runtime configuration provider (deprecated). If not
     * specified, a “null” provider will be used which will result in all defaults
     * being used.
     * 
* * .envoy.config.bootstrap.v2.Runtime runtime = 11 [deprecated = true]; */ @java.lang.Deprecated public io.envoyproxy.envoy.config.bootstrap.v2.RuntimeOrBuilder getRuntimeOrBuilder() { if (runtimeBuilder_ != null) { return runtimeBuilder_.getMessageOrBuilder(); } else { return runtime_ == null ? io.envoyproxy.envoy.config.bootstrap.v2.Runtime.getDefaultInstance() : runtime_; } } /** *
     * Configuration for the runtime configuration provider (deprecated). If not
     * specified, a “null” provider will be used which will result in all defaults
     * being used.
     * 
* * .envoy.config.bootstrap.v2.Runtime runtime = 11 [deprecated = true]; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v2.Runtime, io.envoyproxy.envoy.config.bootstrap.v2.Runtime.Builder, io.envoyproxy.envoy.config.bootstrap.v2.RuntimeOrBuilder> getRuntimeFieldBuilder() { if (runtimeBuilder_ == null) { runtimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v2.Runtime, io.envoyproxy.envoy.config.bootstrap.v2.Runtime.Builder, io.envoyproxy.envoy.config.bootstrap.v2.RuntimeOrBuilder>( getRuntime(), getParentForChildren(), isClean()); runtime_ = null; } return runtimeBuilder_; } private io.envoyproxy.envoy.config.bootstrap.v2.LayeredRuntime layeredRuntime_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v2.LayeredRuntime, io.envoyproxy.envoy.config.bootstrap.v2.LayeredRuntime.Builder, io.envoyproxy.envoy.config.bootstrap.v2.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.v2.LayeredRuntime layered_runtime = 17; */ 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.v2.LayeredRuntime layered_runtime = 17; */ public io.envoyproxy.envoy.config.bootstrap.v2.LayeredRuntime getLayeredRuntime() { if (layeredRuntimeBuilder_ == null) { return layeredRuntime_ == null ? io.envoyproxy.envoy.config.bootstrap.v2.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.v2.LayeredRuntime layered_runtime = 17; */ public Builder setLayeredRuntime(io.envoyproxy.envoy.config.bootstrap.v2.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.v2.LayeredRuntime layered_runtime = 17; */ public Builder setLayeredRuntime( io.envoyproxy.envoy.config.bootstrap.v2.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.v2.LayeredRuntime layered_runtime = 17; */ public Builder mergeLayeredRuntime(io.envoyproxy.envoy.config.bootstrap.v2.LayeredRuntime value) { if (layeredRuntimeBuilder_ == null) { if (layeredRuntime_ != null) { layeredRuntime_ = io.envoyproxy.envoy.config.bootstrap.v2.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.v2.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.v2.LayeredRuntime layered_runtime = 17; */ public io.envoyproxy.envoy.config.bootstrap.v2.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.v2.LayeredRuntime layered_runtime = 17; */ public io.envoyproxy.envoy.config.bootstrap.v2.LayeredRuntimeOrBuilder getLayeredRuntimeOrBuilder() { if (layeredRuntimeBuilder_ != null) { return layeredRuntimeBuilder_.getMessageOrBuilder(); } else { return layeredRuntime_ == null ? io.envoyproxy.envoy.config.bootstrap.v2.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.v2.LayeredRuntime layered_runtime = 17; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v2.LayeredRuntime, io.envoyproxy.envoy.config.bootstrap.v2.LayeredRuntime.Builder, io.envoyproxy.envoy.config.bootstrap.v2.LayeredRuntimeOrBuilder> getLayeredRuntimeFieldBuilder() { if (layeredRuntimeBuilder_ == null) { layeredRuntimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v2.LayeredRuntime, io.envoyproxy.envoy.config.bootstrap.v2.LayeredRuntime.Builder, io.envoyproxy.envoy.config.bootstrap.v2.LayeredRuntimeOrBuilder>( getLayeredRuntime(), getParentForChildren(), isClean()); layeredRuntime_ = null; } return layeredRuntimeBuilder_; } private io.envoyproxy.envoy.config.bootstrap.v2.Admin admin_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v2.Admin, io.envoyproxy.envoy.config.bootstrap.v2.Admin.Builder, io.envoyproxy.envoy.config.bootstrap.v2.AdminOrBuilder> adminBuilder_; /** *
     * Configuration for the local administration HTTP server.
     * 
* * .envoy.config.bootstrap.v2.Admin admin = 12; */ public boolean hasAdmin() { return adminBuilder_ != null || admin_ != null; } /** *
     * Configuration for the local administration HTTP server.
     * 
* * .envoy.config.bootstrap.v2.Admin admin = 12; */ public io.envoyproxy.envoy.config.bootstrap.v2.Admin getAdmin() { if (adminBuilder_ == null) { return admin_ == null ? io.envoyproxy.envoy.config.bootstrap.v2.Admin.getDefaultInstance() : admin_; } else { return adminBuilder_.getMessage(); } } /** *
     * Configuration for the local administration HTTP server.
     * 
* * .envoy.config.bootstrap.v2.Admin admin = 12; */ public Builder setAdmin(io.envoyproxy.envoy.config.bootstrap.v2.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.v2.Admin admin = 12; */ public Builder setAdmin( io.envoyproxy.envoy.config.bootstrap.v2.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.v2.Admin admin = 12; */ public Builder mergeAdmin(io.envoyproxy.envoy.config.bootstrap.v2.Admin value) { if (adminBuilder_ == null) { if (admin_ != null) { admin_ = io.envoyproxy.envoy.config.bootstrap.v2.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.v2.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.v2.Admin admin = 12; */ public io.envoyproxy.envoy.config.bootstrap.v2.Admin.Builder getAdminBuilder() { onChanged(); return getAdminFieldBuilder().getBuilder(); } /** *
     * Configuration for the local administration HTTP server.
     * 
* * .envoy.config.bootstrap.v2.Admin admin = 12; */ public io.envoyproxy.envoy.config.bootstrap.v2.AdminOrBuilder getAdminOrBuilder() { if (adminBuilder_ != null) { return adminBuilder_.getMessageOrBuilder(); } else { return admin_ == null ? io.envoyproxy.envoy.config.bootstrap.v2.Admin.getDefaultInstance() : admin_; } } /** *
     * Configuration for the local administration HTTP server.
     * 
* * .envoy.config.bootstrap.v2.Admin admin = 12; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v2.Admin, io.envoyproxy.envoy.config.bootstrap.v2.Admin.Builder, io.envoyproxy.envoy.config.bootstrap.v2.AdminOrBuilder> getAdminFieldBuilder() { if (adminBuilder_ == null) { adminBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v2.Admin, io.envoyproxy.envoy.config.bootstrap.v2.Admin.Builder, io.envoyproxy.envoy.config.bootstrap.v2.AdminOrBuilder>( getAdmin(), getParentForChildren(), isClean()); admin_ = null; } return adminBuilder_; } private io.envoyproxy.envoy.config.overload.v2alpha.OverloadManager overloadManager_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.overload.v2alpha.OverloadManager, io.envoyproxy.envoy.config.overload.v2alpha.OverloadManager.Builder, io.envoyproxy.envoy.config.overload.v2alpha.OverloadManagerOrBuilder> overloadManagerBuilder_; /** *
     * Optional overload manager configuration.
     * 
* * .envoy.config.overload.v2alpha.OverloadManager overload_manager = 15; */ public boolean hasOverloadManager() { return overloadManagerBuilder_ != null || overloadManager_ != null; } /** *
     * Optional overload manager configuration.
     * 
* * .envoy.config.overload.v2alpha.OverloadManager overload_manager = 15; */ public io.envoyproxy.envoy.config.overload.v2alpha.OverloadManager getOverloadManager() { if (overloadManagerBuilder_ == null) { return overloadManager_ == null ? io.envoyproxy.envoy.config.overload.v2alpha.OverloadManager.getDefaultInstance() : overloadManager_; } else { return overloadManagerBuilder_.getMessage(); } } /** *
     * Optional overload manager configuration.
     * 
* * .envoy.config.overload.v2alpha.OverloadManager overload_manager = 15; */ public Builder setOverloadManager(io.envoyproxy.envoy.config.overload.v2alpha.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.v2alpha.OverloadManager overload_manager = 15; */ public Builder setOverloadManager( io.envoyproxy.envoy.config.overload.v2alpha.OverloadManager.Builder builderForValue) { if (overloadManagerBuilder_ == null) { overloadManager_ = builderForValue.build(); onChanged(); } else { overloadManagerBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * Optional overload manager configuration.
     * 
* * .envoy.config.overload.v2alpha.OverloadManager overload_manager = 15; */ public Builder mergeOverloadManager(io.envoyproxy.envoy.config.overload.v2alpha.OverloadManager value) { if (overloadManagerBuilder_ == null) { if (overloadManager_ != null) { overloadManager_ = io.envoyproxy.envoy.config.overload.v2alpha.OverloadManager.newBuilder(overloadManager_).mergeFrom(value).buildPartial(); } else { overloadManager_ = value; } onChanged(); } else { overloadManagerBuilder_.mergeFrom(value); } return this; } /** *
     * Optional overload manager configuration.
     * 
* * .envoy.config.overload.v2alpha.OverloadManager overload_manager = 15; */ public Builder clearOverloadManager() { if (overloadManagerBuilder_ == null) { overloadManager_ = null; onChanged(); } else { overloadManager_ = null; overloadManagerBuilder_ = null; } return this; } /** *
     * Optional overload manager configuration.
     * 
* * .envoy.config.overload.v2alpha.OverloadManager overload_manager = 15; */ public io.envoyproxy.envoy.config.overload.v2alpha.OverloadManager.Builder getOverloadManagerBuilder() { onChanged(); return getOverloadManagerFieldBuilder().getBuilder(); } /** *
     * Optional overload manager configuration.
     * 
* * .envoy.config.overload.v2alpha.OverloadManager overload_manager = 15; */ public io.envoyproxy.envoy.config.overload.v2alpha.OverloadManagerOrBuilder getOverloadManagerOrBuilder() { if (overloadManagerBuilder_ != null) { return overloadManagerBuilder_.getMessageOrBuilder(); } else { return overloadManager_ == null ? io.envoyproxy.envoy.config.overload.v2alpha.OverloadManager.getDefaultInstance() : overloadManager_; } } /** *
     * Optional overload manager configuration.
     * 
* * .envoy.config.overload.v2alpha.OverloadManager overload_manager = 15; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.overload.v2alpha.OverloadManager, io.envoyproxy.envoy.config.overload.v2alpha.OverloadManager.Builder, io.envoyproxy.envoy.config.overload.v2alpha.OverloadManagerOrBuilder> getOverloadManagerFieldBuilder() { if (overloadManagerBuilder_ == null) { overloadManagerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.overload.v2alpha.OverloadManager, io.envoyproxy.envoy.config.overload.v2alpha.OverloadManager.Builder, io.envoyproxy.envoy.config.overload.v2alpha.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_api_msg_config.metrics.v2.StatsdSink>`, it will send each observed value
     * over the wire individually because the statsd protocol doesn't have any way to represent a
     * histogram summary. Be aware that this can be a very large volume of data.
     * 
* * bool enable_dispatcher_stats = 16; */ 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_api_msg_config.metrics.v2.StatsdSink>`, it will send each observed value
     * over the wire individually because the statsd protocol doesn't have any way to represent a
     * histogram summary. Be aware that this can be a very large volume of data.
     * 
* * bool enable_dispatcher_stats = 16; */ 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_api_msg_config.metrics.v2.StatsdSink>`, it will send each observed value
     * over the wire individually because the statsd protocol doesn't have any way to represent a
     * histogram summary. Be aware that this can be a very large volume of data.
     * 
* * bool enable_dispatcher_stats = 16; */ 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; */ 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; */ 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; */ 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; */ 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; */ public Builder setHeaderPrefixBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); headerPrefix_ = 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.v2.Bootstrap) } // @@protoc_insertion_point(class_scope:envoy.config.bootstrap.v2.Bootstrap) private static final io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap(); } public static io.envoyproxy.envoy.config.bootstrap.v2.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.v2.Bootstrap getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy