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

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

The newest version!
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: envoy/config/bootstrap/v3/bootstrap.proto

// Protobuf Java Version: 3.25.5
package io.envoyproxy.envoy.config.bootstrap.v3;

/**
 * 
 * Bootstrap :ref:`configuration overview <config_overview_bootstrap>`.
 * [#next-free-field: 42]
 * 
* * Protobuf type {@code envoy.config.bootstrap.v3.Bootstrap} */ public final class Bootstrap extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:envoy.config.bootstrap.v3.Bootstrap) BootstrapOrBuilder { private static final long serialVersionUID = 0L; // Use Bootstrap.newBuilder() to construct. private Bootstrap(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Bootstrap() { nodeContextParams_ = com.google.protobuf.LazyStringArrayList.emptyList(); flagsPath_ = ""; statsSinks_ = java.util.Collections.emptyList(); headerPrefix_ = ""; bootstrapExtensions_ = java.util.Collections.emptyList(); fatalActions_ = java.util.Collections.emptyList(); configSources_ = java.util.Collections.emptyList(); defaultSocketInterface_ = ""; inlineHeaders_ = java.util.Collections.emptyList(); perfTracingFilePath_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Bootstrap(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.config.bootstrap.v3.BootstrapProto.internal_static_envoy_config_bootstrap_v3_Bootstrap_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( int number) { switch (number) { case 25: return internalGetCertificateProviderInstances(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.config.bootstrap.v3.BootstrapProto.internal_static_envoy_config_bootstrap_v3_Bootstrap_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.class, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.Builder.class); } public interface StaticResourcesOrBuilder extends // @@protoc_insertion_point(interface_extends:envoy.config.bootstrap.v3.Bootstrap.StaticResources) com.google.protobuf.MessageOrBuilder { /** *
     * Static :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>`. These listeners are
     * available regardless of LDS configuration.
     * 
* * repeated .envoy.config.listener.v3.Listener listeners = 1; */ java.util.List getListenersList(); /** *
     * Static :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>`. These listeners are
     * available regardless of LDS configuration.
     * 
* * repeated .envoy.config.listener.v3.Listener listeners = 1; */ io.envoyproxy.envoy.config.listener.v3.Listener getListeners(int index); /** *
     * Static :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>`. These listeners are
     * available regardless of LDS configuration.
     * 
* * repeated .envoy.config.listener.v3.Listener listeners = 1; */ int getListenersCount(); /** *
     * Static :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>`. These listeners are
     * available regardless of LDS configuration.
     * 
* * repeated .envoy.config.listener.v3.Listener listeners = 1; */ java.util.List getListenersOrBuilderList(); /** *
     * Static :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>`. These listeners are
     * available regardless of LDS configuration.
     * 
* * repeated .envoy.config.listener.v3.Listener listeners = 1; */ io.envoyproxy.envoy.config.listener.v3.ListenerOrBuilder getListenersOrBuilder( int index); /** *
     * If a network based configuration source is specified for :ref:`cds_config
     * <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.DynamicResources.cds_config>`, it's necessary
     * to have some initial cluster definitions available to allow Envoy to know
     * how to speak to the management server. These cluster definitions may not
     * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
     * IP or DNS-based).
     * 
* * repeated .envoy.config.cluster.v3.Cluster clusters = 2; */ java.util.List getClustersList(); /** *
     * If a network based configuration source is specified for :ref:`cds_config
     * <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.DynamicResources.cds_config>`, it's necessary
     * to have some initial cluster definitions available to allow Envoy to know
     * how to speak to the management server. These cluster definitions may not
     * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
     * IP or DNS-based).
     * 
* * repeated .envoy.config.cluster.v3.Cluster clusters = 2; */ io.envoyproxy.envoy.config.cluster.v3.Cluster getClusters(int index); /** *
     * If a network based configuration source is specified for :ref:`cds_config
     * <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.DynamicResources.cds_config>`, it's necessary
     * to have some initial cluster definitions available to allow Envoy to know
     * how to speak to the management server. These cluster definitions may not
     * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
     * IP or DNS-based).
     * 
* * repeated .envoy.config.cluster.v3.Cluster clusters = 2; */ int getClustersCount(); /** *
     * If a network based configuration source is specified for :ref:`cds_config
     * <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.DynamicResources.cds_config>`, it's necessary
     * to have some initial cluster definitions available to allow Envoy to know
     * how to speak to the management server. These cluster definitions may not
     * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
     * IP or DNS-based).
     * 
* * repeated .envoy.config.cluster.v3.Cluster clusters = 2; */ java.util.List getClustersOrBuilderList(); /** *
     * If a network based configuration source is specified for :ref:`cds_config
     * <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.DynamicResources.cds_config>`, it's necessary
     * to have some initial cluster definitions available to allow Envoy to know
     * how to speak to the management server. These cluster definitions may not
     * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
     * IP or DNS-based).
     * 
* * repeated .envoy.config.cluster.v3.Cluster clusters = 2; */ io.envoyproxy.envoy.config.cluster.v3.ClusterOrBuilder getClustersOrBuilder( int index); /** *
     * These static secrets can be used by :ref:`SdsSecretConfig
     * <envoy_v3_api_msg_extensions.transport_sockets.tls.v3.SdsSecretConfig>`
     * 
* * repeated .envoy.extensions.transport_sockets.tls.v3.Secret secrets = 3; */ java.util.List getSecretsList(); /** *
     * These static secrets can be used by :ref:`SdsSecretConfig
     * <envoy_v3_api_msg_extensions.transport_sockets.tls.v3.SdsSecretConfig>`
     * 
* * repeated .envoy.extensions.transport_sockets.tls.v3.Secret secrets = 3; */ io.envoyproxy.envoy.extensions.transport_sockets.tls.v3.Secret getSecrets(int index); /** *
     * These static secrets can be used by :ref:`SdsSecretConfig
     * <envoy_v3_api_msg_extensions.transport_sockets.tls.v3.SdsSecretConfig>`
     * 
* * repeated .envoy.extensions.transport_sockets.tls.v3.Secret secrets = 3; */ int getSecretsCount(); /** *
     * These static secrets can be used by :ref:`SdsSecretConfig
     * <envoy_v3_api_msg_extensions.transport_sockets.tls.v3.SdsSecretConfig>`
     * 
* * repeated .envoy.extensions.transport_sockets.tls.v3.Secret secrets = 3; */ java.util.List getSecretsOrBuilderList(); /** *
     * These static secrets can be used by :ref:`SdsSecretConfig
     * <envoy_v3_api_msg_extensions.transport_sockets.tls.v3.SdsSecretConfig>`
     * 
* * repeated .envoy.extensions.transport_sockets.tls.v3.Secret secrets = 3; */ io.envoyproxy.envoy.extensions.transport_sockets.tls.v3.SecretOrBuilder getSecretsOrBuilder( int index); } /** * Protobuf type {@code envoy.config.bootstrap.v3.Bootstrap.StaticResources} */ public static final class StaticResources extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:envoy.config.bootstrap.v3.Bootstrap.StaticResources) StaticResourcesOrBuilder { private static final long serialVersionUID = 0L; // Use StaticResources.newBuilder() to construct. private StaticResources(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private StaticResources() { listeners_ = java.util.Collections.emptyList(); clusters_ = java.util.Collections.emptyList(); secrets_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new StaticResources(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.config.bootstrap.v3.BootstrapProto.internal_static_envoy_config_bootstrap_v3_Bootstrap_StaticResources_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.config.bootstrap.v3.BootstrapProto.internal_static_envoy_config_bootstrap_v3_Bootstrap_StaticResources_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources.class, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources.Builder.class); } public static final int LISTENERS_FIELD_NUMBER = 1; @SuppressWarnings("serial") private java.util.List listeners_; /** *
     * Static :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>`. These listeners are
     * available regardless of LDS configuration.
     * 
* * repeated .envoy.config.listener.v3.Listener listeners = 1; */ @java.lang.Override public java.util.List getListenersList() { return listeners_; } /** *
     * Static :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>`. These listeners are
     * available regardless of LDS configuration.
     * 
* * repeated .envoy.config.listener.v3.Listener listeners = 1; */ @java.lang.Override public java.util.List getListenersOrBuilderList() { return listeners_; } /** *
     * Static :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>`. These listeners are
     * available regardless of LDS configuration.
     * 
* * repeated .envoy.config.listener.v3.Listener listeners = 1; */ @java.lang.Override public int getListenersCount() { return listeners_.size(); } /** *
     * Static :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>`. These listeners are
     * available regardless of LDS configuration.
     * 
* * repeated .envoy.config.listener.v3.Listener listeners = 1; */ @java.lang.Override public io.envoyproxy.envoy.config.listener.v3.Listener getListeners(int index) { return listeners_.get(index); } /** *
     * Static :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>`. These listeners are
     * available regardless of LDS configuration.
     * 
* * repeated .envoy.config.listener.v3.Listener listeners = 1; */ @java.lang.Override public io.envoyproxy.envoy.config.listener.v3.ListenerOrBuilder getListenersOrBuilder( int index) { return listeners_.get(index); } public static final int CLUSTERS_FIELD_NUMBER = 2; @SuppressWarnings("serial") private java.util.List clusters_; /** *
     * If a network based configuration source is specified for :ref:`cds_config
     * <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.DynamicResources.cds_config>`, it's necessary
     * to have some initial cluster definitions available to allow Envoy to know
     * how to speak to the management server. These cluster definitions may not
     * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
     * IP or DNS-based).
     * 
* * repeated .envoy.config.cluster.v3.Cluster clusters = 2; */ @java.lang.Override public java.util.List getClustersList() { return clusters_; } /** *
     * If a network based configuration source is specified for :ref:`cds_config
     * <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.DynamicResources.cds_config>`, it's necessary
     * to have some initial cluster definitions available to allow Envoy to know
     * how to speak to the management server. These cluster definitions may not
     * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
     * IP or DNS-based).
     * 
* * repeated .envoy.config.cluster.v3.Cluster clusters = 2; */ @java.lang.Override public java.util.List getClustersOrBuilderList() { return clusters_; } /** *
     * If a network based configuration source is specified for :ref:`cds_config
     * <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.DynamicResources.cds_config>`, it's necessary
     * to have some initial cluster definitions available to allow Envoy to know
     * how to speak to the management server. These cluster definitions may not
     * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
     * IP or DNS-based).
     * 
* * repeated .envoy.config.cluster.v3.Cluster clusters = 2; */ @java.lang.Override public int getClustersCount() { return clusters_.size(); } /** *
     * If a network based configuration source is specified for :ref:`cds_config
     * <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.DynamicResources.cds_config>`, it's necessary
     * to have some initial cluster definitions available to allow Envoy to know
     * how to speak to the management server. These cluster definitions may not
     * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
     * IP or DNS-based).
     * 
* * repeated .envoy.config.cluster.v3.Cluster clusters = 2; */ @java.lang.Override public io.envoyproxy.envoy.config.cluster.v3.Cluster getClusters(int index) { return clusters_.get(index); } /** *
     * If a network based configuration source is specified for :ref:`cds_config
     * <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.DynamicResources.cds_config>`, it's necessary
     * to have some initial cluster definitions available to allow Envoy to know
     * how to speak to the management server. These cluster definitions may not
     * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
     * IP or DNS-based).
     * 
* * repeated .envoy.config.cluster.v3.Cluster clusters = 2; */ @java.lang.Override public io.envoyproxy.envoy.config.cluster.v3.ClusterOrBuilder getClustersOrBuilder( int index) { return clusters_.get(index); } public static final int SECRETS_FIELD_NUMBER = 3; @SuppressWarnings("serial") private java.util.List secrets_; /** *
     * These static secrets can be used by :ref:`SdsSecretConfig
     * <envoy_v3_api_msg_extensions.transport_sockets.tls.v3.SdsSecretConfig>`
     * 
* * repeated .envoy.extensions.transport_sockets.tls.v3.Secret secrets = 3; */ @java.lang.Override public java.util.List getSecretsList() { return secrets_; } /** *
     * These static secrets can be used by :ref:`SdsSecretConfig
     * <envoy_v3_api_msg_extensions.transport_sockets.tls.v3.SdsSecretConfig>`
     * 
* * repeated .envoy.extensions.transport_sockets.tls.v3.Secret secrets = 3; */ @java.lang.Override public java.util.List getSecretsOrBuilderList() { return secrets_; } /** *
     * These static secrets can be used by :ref:`SdsSecretConfig
     * <envoy_v3_api_msg_extensions.transport_sockets.tls.v3.SdsSecretConfig>`
     * 
* * repeated .envoy.extensions.transport_sockets.tls.v3.Secret secrets = 3; */ @java.lang.Override public int getSecretsCount() { return secrets_.size(); } /** *
     * These static secrets can be used by :ref:`SdsSecretConfig
     * <envoy_v3_api_msg_extensions.transport_sockets.tls.v3.SdsSecretConfig>`
     * 
* * repeated .envoy.extensions.transport_sockets.tls.v3.Secret secrets = 3; */ @java.lang.Override public io.envoyproxy.envoy.extensions.transport_sockets.tls.v3.Secret getSecrets(int index) { return secrets_.get(index); } /** *
     * These static secrets can be used by :ref:`SdsSecretConfig
     * <envoy_v3_api_msg_extensions.transport_sockets.tls.v3.SdsSecretConfig>`
     * 
* * repeated .envoy.extensions.transport_sockets.tls.v3.Secret secrets = 3; */ @java.lang.Override public io.envoyproxy.envoy.extensions.transport_sockets.tls.v3.SecretOrBuilder getSecretsOrBuilder( int index) { return secrets_.get(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < listeners_.size(); i++) { output.writeMessage(1, listeners_.get(i)); } for (int i = 0; i < clusters_.size(); i++) { output.writeMessage(2, clusters_.get(i)); } for (int i = 0; i < secrets_.size(); i++) { output.writeMessage(3, secrets_.get(i)); } getUnknownFields().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 += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources)) { return super.equals(obj); } io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources other = (io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources) obj; if (!getListenersList() .equals(other.getListenersList())) return false; if (!getClustersList() .equals(other.getClustersList())) return false; if (!getSecretsList() .equals(other.getSecretsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) 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) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code envoy.config.bootstrap.v3.Bootstrap.StaticResources} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:envoy.config.bootstrap.v3.Bootstrap.StaticResources) io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResourcesOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.config.bootstrap.v3.BootstrapProto.internal_static_envoy_config_bootstrap_v3_Bootstrap_StaticResources_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.config.bootstrap.v3.BootstrapProto.internal_static_envoy_config_bootstrap_v3_Bootstrap_StaticResources_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources.class, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources.Builder.class); } // Construct using io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; if (listenersBuilder_ == null) { listeners_ = java.util.Collections.emptyList(); } else { listeners_ = null; listenersBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); if (clustersBuilder_ == null) { clusters_ = java.util.Collections.emptyList(); } else { clusters_ = null; clustersBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); if (secretsBuilder_ == null) { secrets_ = java.util.Collections.emptyList(); } else { secrets_ = null; secretsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.envoyproxy.envoy.config.bootstrap.v3.BootstrapProto.internal_static_envoy_config_bootstrap_v3_Bootstrap_StaticResources_descriptor; } @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources getDefaultInstanceForType() { return io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources.getDefaultInstance(); } @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources build() { io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources buildPartial() { io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources result = new io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources result) { 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(); } } private void buildPartial0(io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources result) { int from_bitField0_ = bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources) { return mergeFrom((io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources other) { if (other == io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources.getDefaultInstance()) return this; if (listenersBuilder_ == null) { if (!other.listeners_.isEmpty()) { if (listeners_.isEmpty()) { listeners_ = other.listeners_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureListenersIsMutable(); listeners_.addAll(other.listeners_); } onChanged(); } } else { if (!other.listeners_.isEmpty()) { if (listenersBuilder_.isEmpty()) { listenersBuilder_.dispose(); listenersBuilder_ = null; listeners_ = other.listeners_; bitField0_ = (bitField0_ & ~0x00000001); listenersBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getListenersFieldBuilder() : null; } else { listenersBuilder_.addAllMessages(other.listeners_); } } } if (clustersBuilder_ == null) { if (!other.clusters_.isEmpty()) { if (clusters_.isEmpty()) { clusters_ = other.clusters_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureClustersIsMutable(); clusters_.addAll(other.clusters_); } onChanged(); } } else { if (!other.clusters_.isEmpty()) { if (clustersBuilder_.isEmpty()) { clustersBuilder_.dispose(); clustersBuilder_ = null; clusters_ = other.clusters_; bitField0_ = (bitField0_ & ~0x00000002); clustersBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getClustersFieldBuilder() : null; } else { clustersBuilder_.addAllMessages(other.clusters_); } } } if (secretsBuilder_ == null) { if (!other.secrets_.isEmpty()) { if (secrets_.isEmpty()) { secrets_ = other.secrets_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureSecretsIsMutable(); secrets_.addAll(other.secrets_); } onChanged(); } } else { if (!other.secrets_.isEmpty()) { if (secretsBuilder_.isEmpty()) { secretsBuilder_.dispose(); secretsBuilder_ = null; secrets_ = other.secrets_; bitField0_ = (bitField0_ & ~0x00000004); secretsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getSecretsFieldBuilder() : null; } else { secretsBuilder_.addAllMessages(other.secrets_); } } } this.mergeUnknownFields(other.getUnknownFields()); 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 { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { io.envoyproxy.envoy.config.listener.v3.Listener m = input.readMessage( io.envoyproxy.envoy.config.listener.v3.Listener.parser(), extensionRegistry); if (listenersBuilder_ == null) { ensureListenersIsMutable(); listeners_.add(m); } else { listenersBuilder_.addMessage(m); } break; } // case 10 case 18: { io.envoyproxy.envoy.config.cluster.v3.Cluster m = input.readMessage( io.envoyproxy.envoy.config.cluster.v3.Cluster.parser(), extensionRegistry); if (clustersBuilder_ == null) { ensureClustersIsMutable(); clusters_.add(m); } else { clustersBuilder_.addMessage(m); } break; } // case 18 case 26: { io.envoyproxy.envoy.extensions.transport_sockets.tls.v3.Secret m = input.readMessage( io.envoyproxy.envoy.extensions.transport_sockets.tls.v3.Secret.parser(), extensionRegistry); if (secretsBuilder_ == null) { ensureSecretsIsMutable(); secrets_.add(m); } else { secretsBuilder_.addMessage(m); } break; } // case 26 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private java.util.List listeners_ = java.util.Collections.emptyList(); private void ensureListenersIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { listeners_ = new java.util.ArrayList(listeners_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.config.listener.v3.Listener, io.envoyproxy.envoy.config.listener.v3.Listener.Builder, io.envoyproxy.envoy.config.listener.v3.ListenerOrBuilder> listenersBuilder_; /** *
       * Static :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>`. These listeners are
       * available regardless of LDS configuration.
       * 
* * repeated .envoy.config.listener.v3.Listener listeners = 1; */ public java.util.List getListenersList() { if (listenersBuilder_ == null) { return java.util.Collections.unmodifiableList(listeners_); } else { return listenersBuilder_.getMessageList(); } } /** *
       * Static :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>`. These listeners are
       * available regardless of LDS configuration.
       * 
* * repeated .envoy.config.listener.v3.Listener listeners = 1; */ public int getListenersCount() { if (listenersBuilder_ == null) { return listeners_.size(); } else { return listenersBuilder_.getCount(); } } /** *
       * Static :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>`. These listeners are
       * available regardless of LDS configuration.
       * 
* * repeated .envoy.config.listener.v3.Listener listeners = 1; */ public io.envoyproxy.envoy.config.listener.v3.Listener getListeners(int index) { if (listenersBuilder_ == null) { return listeners_.get(index); } else { return listenersBuilder_.getMessage(index); } } /** *
       * Static :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>`. These listeners are
       * available regardless of LDS configuration.
       * 
* * repeated .envoy.config.listener.v3.Listener listeners = 1; */ public Builder setListeners( int index, io.envoyproxy.envoy.config.listener.v3.Listener value) { if (listenersBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureListenersIsMutable(); listeners_.set(index, value); onChanged(); } else { listenersBuilder_.setMessage(index, value); } return this; } /** *
       * Static :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>`. These listeners are
       * available regardless of LDS configuration.
       * 
* * repeated .envoy.config.listener.v3.Listener listeners = 1; */ public Builder setListeners( int index, io.envoyproxy.envoy.config.listener.v3.Listener.Builder builderForValue) { if (listenersBuilder_ == null) { ensureListenersIsMutable(); listeners_.set(index, builderForValue.build()); onChanged(); } else { listenersBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * Static :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>`. These listeners are
       * available regardless of LDS configuration.
       * 
* * repeated .envoy.config.listener.v3.Listener listeners = 1; */ public Builder addListeners(io.envoyproxy.envoy.config.listener.v3.Listener value) { if (listenersBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureListenersIsMutable(); listeners_.add(value); onChanged(); } else { listenersBuilder_.addMessage(value); } return this; } /** *
       * Static :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>`. These listeners are
       * available regardless of LDS configuration.
       * 
* * repeated .envoy.config.listener.v3.Listener listeners = 1; */ public Builder addListeners( int index, io.envoyproxy.envoy.config.listener.v3.Listener value) { if (listenersBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureListenersIsMutable(); listeners_.add(index, value); onChanged(); } else { listenersBuilder_.addMessage(index, value); } return this; } /** *
       * Static :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>`. These listeners are
       * available regardless of LDS configuration.
       * 
* * repeated .envoy.config.listener.v3.Listener listeners = 1; */ public Builder addListeners( io.envoyproxy.envoy.config.listener.v3.Listener.Builder builderForValue) { if (listenersBuilder_ == null) { ensureListenersIsMutable(); listeners_.add(builderForValue.build()); onChanged(); } else { listenersBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * Static :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>`. These listeners are
       * available regardless of LDS configuration.
       * 
* * repeated .envoy.config.listener.v3.Listener listeners = 1; */ public Builder addListeners( int index, io.envoyproxy.envoy.config.listener.v3.Listener.Builder builderForValue) { if (listenersBuilder_ == null) { ensureListenersIsMutable(); listeners_.add(index, builderForValue.build()); onChanged(); } else { listenersBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * Static :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>`. These listeners are
       * available regardless of LDS configuration.
       * 
* * repeated .envoy.config.listener.v3.Listener listeners = 1; */ public Builder addAllListeners( java.lang.Iterable values) { if (listenersBuilder_ == null) { ensureListenersIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, listeners_); onChanged(); } else { listenersBuilder_.addAllMessages(values); } return this; } /** *
       * Static :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>`. These listeners are
       * available regardless of LDS configuration.
       * 
* * repeated .envoy.config.listener.v3.Listener listeners = 1; */ public Builder clearListeners() { if (listenersBuilder_ == null) { listeners_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { listenersBuilder_.clear(); } return this; } /** *
       * Static :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>`. These listeners are
       * available regardless of LDS configuration.
       * 
* * repeated .envoy.config.listener.v3.Listener listeners = 1; */ public Builder removeListeners(int index) { if (listenersBuilder_ == null) { ensureListenersIsMutable(); listeners_.remove(index); onChanged(); } else { listenersBuilder_.remove(index); } return this; } /** *
       * Static :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>`. These listeners are
       * available regardless of LDS configuration.
       * 
* * repeated .envoy.config.listener.v3.Listener listeners = 1; */ public io.envoyproxy.envoy.config.listener.v3.Listener.Builder getListenersBuilder( int index) { return getListenersFieldBuilder().getBuilder(index); } /** *
       * Static :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>`. These listeners are
       * available regardless of LDS configuration.
       * 
* * repeated .envoy.config.listener.v3.Listener listeners = 1; */ public io.envoyproxy.envoy.config.listener.v3.ListenerOrBuilder getListenersOrBuilder( int index) { if (listenersBuilder_ == null) { return listeners_.get(index); } else { return listenersBuilder_.getMessageOrBuilder(index); } } /** *
       * Static :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>`. These listeners are
       * available regardless of LDS configuration.
       * 
* * repeated .envoy.config.listener.v3.Listener listeners = 1; */ public java.util.List getListenersOrBuilderList() { if (listenersBuilder_ != null) { return listenersBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(listeners_); } } /** *
       * Static :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>`. These listeners are
       * available regardless of LDS configuration.
       * 
* * repeated .envoy.config.listener.v3.Listener listeners = 1; */ public io.envoyproxy.envoy.config.listener.v3.Listener.Builder addListenersBuilder() { return getListenersFieldBuilder().addBuilder( io.envoyproxy.envoy.config.listener.v3.Listener.getDefaultInstance()); } /** *
       * Static :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>`. These listeners are
       * available regardless of LDS configuration.
       * 
* * repeated .envoy.config.listener.v3.Listener listeners = 1; */ public io.envoyproxy.envoy.config.listener.v3.Listener.Builder addListenersBuilder( int index) { return getListenersFieldBuilder().addBuilder( index, io.envoyproxy.envoy.config.listener.v3.Listener.getDefaultInstance()); } /** *
       * Static :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>`. These listeners are
       * available regardless of LDS configuration.
       * 
* * repeated .envoy.config.listener.v3.Listener listeners = 1; */ public java.util.List getListenersBuilderList() { return getListenersFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.config.listener.v3.Listener, io.envoyproxy.envoy.config.listener.v3.Listener.Builder, io.envoyproxy.envoy.config.listener.v3.ListenerOrBuilder> getListenersFieldBuilder() { if (listenersBuilder_ == null) { listenersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.config.listener.v3.Listener, io.envoyproxy.envoy.config.listener.v3.Listener.Builder, io.envoyproxy.envoy.config.listener.v3.ListenerOrBuilder>( listeners_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); listeners_ = null; } return listenersBuilder_; } private java.util.List clusters_ = java.util.Collections.emptyList(); private void ensureClustersIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { clusters_ = new java.util.ArrayList(clusters_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.config.cluster.v3.Cluster, io.envoyproxy.envoy.config.cluster.v3.Cluster.Builder, io.envoyproxy.envoy.config.cluster.v3.ClusterOrBuilder> clustersBuilder_; /** *
       * If a network based configuration source is specified for :ref:`cds_config
       * <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.DynamicResources.cds_config>`, it's necessary
       * to have some initial cluster definitions available to allow Envoy to know
       * how to speak to the management server. These cluster definitions may not
       * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
       * IP or DNS-based).
       * 
* * repeated .envoy.config.cluster.v3.Cluster clusters = 2; */ public java.util.List getClustersList() { if (clustersBuilder_ == null) { return java.util.Collections.unmodifiableList(clusters_); } else { return clustersBuilder_.getMessageList(); } } /** *
       * If a network based configuration source is specified for :ref:`cds_config
       * <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.DynamicResources.cds_config>`, it's necessary
       * to have some initial cluster definitions available to allow Envoy to know
       * how to speak to the management server. These cluster definitions may not
       * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
       * IP or DNS-based).
       * 
* * repeated .envoy.config.cluster.v3.Cluster clusters = 2; */ public int getClustersCount() { if (clustersBuilder_ == null) { return clusters_.size(); } else { return clustersBuilder_.getCount(); } } /** *
       * If a network based configuration source is specified for :ref:`cds_config
       * <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.DynamicResources.cds_config>`, it's necessary
       * to have some initial cluster definitions available to allow Envoy to know
       * how to speak to the management server. These cluster definitions may not
       * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
       * IP or DNS-based).
       * 
* * repeated .envoy.config.cluster.v3.Cluster clusters = 2; */ public io.envoyproxy.envoy.config.cluster.v3.Cluster getClusters(int index) { if (clustersBuilder_ == null) { return clusters_.get(index); } else { return clustersBuilder_.getMessage(index); } } /** *
       * If a network based configuration source is specified for :ref:`cds_config
       * <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.DynamicResources.cds_config>`, it's necessary
       * to have some initial cluster definitions available to allow Envoy to know
       * how to speak to the management server. These cluster definitions may not
       * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
       * IP or DNS-based).
       * 
* * repeated .envoy.config.cluster.v3.Cluster clusters = 2; */ public Builder setClusters( int index, io.envoyproxy.envoy.config.cluster.v3.Cluster value) { if (clustersBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureClustersIsMutable(); clusters_.set(index, value); onChanged(); } else { clustersBuilder_.setMessage(index, value); } return this; } /** *
       * If a network based configuration source is specified for :ref:`cds_config
       * <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.DynamicResources.cds_config>`, it's necessary
       * to have some initial cluster definitions available to allow Envoy to know
       * how to speak to the management server. These cluster definitions may not
       * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
       * IP or DNS-based).
       * 
* * repeated .envoy.config.cluster.v3.Cluster clusters = 2; */ public Builder setClusters( int index, io.envoyproxy.envoy.config.cluster.v3.Cluster.Builder builderForValue) { if (clustersBuilder_ == null) { ensureClustersIsMutable(); clusters_.set(index, builderForValue.build()); onChanged(); } else { clustersBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * If a network based configuration source is specified for :ref:`cds_config
       * <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.DynamicResources.cds_config>`, it's necessary
       * to have some initial cluster definitions available to allow Envoy to know
       * how to speak to the management server. These cluster definitions may not
       * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
       * IP or DNS-based).
       * 
* * repeated .envoy.config.cluster.v3.Cluster clusters = 2; */ public Builder addClusters(io.envoyproxy.envoy.config.cluster.v3.Cluster value) { if (clustersBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureClustersIsMutable(); clusters_.add(value); onChanged(); } else { clustersBuilder_.addMessage(value); } return this; } /** *
       * If a network based configuration source is specified for :ref:`cds_config
       * <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.DynamicResources.cds_config>`, it's necessary
       * to have some initial cluster definitions available to allow Envoy to know
       * how to speak to the management server. These cluster definitions may not
       * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
       * IP or DNS-based).
       * 
* * repeated .envoy.config.cluster.v3.Cluster clusters = 2; */ public Builder addClusters( int index, io.envoyproxy.envoy.config.cluster.v3.Cluster value) { if (clustersBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureClustersIsMutable(); clusters_.add(index, value); onChanged(); } else { clustersBuilder_.addMessage(index, value); } return this; } /** *
       * If a network based configuration source is specified for :ref:`cds_config
       * <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.DynamicResources.cds_config>`, it's necessary
       * to have some initial cluster definitions available to allow Envoy to know
       * how to speak to the management server. These cluster definitions may not
       * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
       * IP or DNS-based).
       * 
* * repeated .envoy.config.cluster.v3.Cluster clusters = 2; */ public Builder addClusters( io.envoyproxy.envoy.config.cluster.v3.Cluster.Builder builderForValue) { if (clustersBuilder_ == null) { ensureClustersIsMutable(); clusters_.add(builderForValue.build()); onChanged(); } else { clustersBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * If a network based configuration source is specified for :ref:`cds_config
       * <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.DynamicResources.cds_config>`, it's necessary
       * to have some initial cluster definitions available to allow Envoy to know
       * how to speak to the management server. These cluster definitions may not
       * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
       * IP or DNS-based).
       * 
* * repeated .envoy.config.cluster.v3.Cluster clusters = 2; */ public Builder addClusters( int index, io.envoyproxy.envoy.config.cluster.v3.Cluster.Builder builderForValue) { if (clustersBuilder_ == null) { ensureClustersIsMutable(); clusters_.add(index, builderForValue.build()); onChanged(); } else { clustersBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * If a network based configuration source is specified for :ref:`cds_config
       * <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.DynamicResources.cds_config>`, it's necessary
       * to have some initial cluster definitions available to allow Envoy to know
       * how to speak to the management server. These cluster definitions may not
       * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
       * IP or DNS-based).
       * 
* * repeated .envoy.config.cluster.v3.Cluster clusters = 2; */ public Builder addAllClusters( java.lang.Iterable values) { if (clustersBuilder_ == null) { ensureClustersIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, clusters_); onChanged(); } else { clustersBuilder_.addAllMessages(values); } return this; } /** *
       * If a network based configuration source is specified for :ref:`cds_config
       * <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.DynamicResources.cds_config>`, it's necessary
       * to have some initial cluster definitions available to allow Envoy to know
       * how to speak to the management server. These cluster definitions may not
       * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
       * IP or DNS-based).
       * 
* * repeated .envoy.config.cluster.v3.Cluster clusters = 2; */ public Builder clearClusters() { if (clustersBuilder_ == null) { clusters_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { clustersBuilder_.clear(); } return this; } /** *
       * If a network based configuration source is specified for :ref:`cds_config
       * <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.DynamicResources.cds_config>`, it's necessary
       * to have some initial cluster definitions available to allow Envoy to know
       * how to speak to the management server. These cluster definitions may not
       * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
       * IP or DNS-based).
       * 
* * repeated .envoy.config.cluster.v3.Cluster clusters = 2; */ public Builder removeClusters(int index) { if (clustersBuilder_ == null) { ensureClustersIsMutable(); clusters_.remove(index); onChanged(); } else { clustersBuilder_.remove(index); } return this; } /** *
       * If a network based configuration source is specified for :ref:`cds_config
       * <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.DynamicResources.cds_config>`, it's necessary
       * to have some initial cluster definitions available to allow Envoy to know
       * how to speak to the management server. These cluster definitions may not
       * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
       * IP or DNS-based).
       * 
* * repeated .envoy.config.cluster.v3.Cluster clusters = 2; */ public io.envoyproxy.envoy.config.cluster.v3.Cluster.Builder getClustersBuilder( int index) { return getClustersFieldBuilder().getBuilder(index); } /** *
       * If a network based configuration source is specified for :ref:`cds_config
       * <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.DynamicResources.cds_config>`, it's necessary
       * to have some initial cluster definitions available to allow Envoy to know
       * how to speak to the management server. These cluster definitions may not
       * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
       * IP or DNS-based).
       * 
* * repeated .envoy.config.cluster.v3.Cluster clusters = 2; */ public io.envoyproxy.envoy.config.cluster.v3.ClusterOrBuilder getClustersOrBuilder( int index) { if (clustersBuilder_ == null) { return clusters_.get(index); } else { return clustersBuilder_.getMessageOrBuilder(index); } } /** *
       * If a network based configuration source is specified for :ref:`cds_config
       * <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.DynamicResources.cds_config>`, it's necessary
       * to have some initial cluster definitions available to allow Envoy to know
       * how to speak to the management server. These cluster definitions may not
       * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
       * IP or DNS-based).
       * 
* * repeated .envoy.config.cluster.v3.Cluster clusters = 2; */ public java.util.List getClustersOrBuilderList() { if (clustersBuilder_ != null) { return clustersBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(clusters_); } } /** *
       * If a network based configuration source is specified for :ref:`cds_config
       * <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.DynamicResources.cds_config>`, it's necessary
       * to have some initial cluster definitions available to allow Envoy to know
       * how to speak to the management server. These cluster definitions may not
       * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
       * IP or DNS-based).
       * 
* * repeated .envoy.config.cluster.v3.Cluster clusters = 2; */ public io.envoyproxy.envoy.config.cluster.v3.Cluster.Builder addClustersBuilder() { return getClustersFieldBuilder().addBuilder( io.envoyproxy.envoy.config.cluster.v3.Cluster.getDefaultInstance()); } /** *
       * If a network based configuration source is specified for :ref:`cds_config
       * <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.DynamicResources.cds_config>`, it's necessary
       * to have some initial cluster definitions available to allow Envoy to know
       * how to speak to the management server. These cluster definitions may not
       * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
       * IP or DNS-based).
       * 
* * repeated .envoy.config.cluster.v3.Cluster clusters = 2; */ public io.envoyproxy.envoy.config.cluster.v3.Cluster.Builder addClustersBuilder( int index) { return getClustersFieldBuilder().addBuilder( index, io.envoyproxy.envoy.config.cluster.v3.Cluster.getDefaultInstance()); } /** *
       * If a network based configuration source is specified for :ref:`cds_config
       * <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.DynamicResources.cds_config>`, it's necessary
       * to have some initial cluster definitions available to allow Envoy to know
       * how to speak to the management server. These cluster definitions may not
       * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
       * IP or DNS-based).
       * 
* * repeated .envoy.config.cluster.v3.Cluster clusters = 2; */ public java.util.List getClustersBuilderList() { return getClustersFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.config.cluster.v3.Cluster, io.envoyproxy.envoy.config.cluster.v3.Cluster.Builder, io.envoyproxy.envoy.config.cluster.v3.ClusterOrBuilder> getClustersFieldBuilder() { if (clustersBuilder_ == null) { clustersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.config.cluster.v3.Cluster, io.envoyproxy.envoy.config.cluster.v3.Cluster.Builder, io.envoyproxy.envoy.config.cluster.v3.ClusterOrBuilder>( clusters_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); clusters_ = null; } return clustersBuilder_; } private java.util.List secrets_ = java.util.Collections.emptyList(); private void ensureSecretsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { secrets_ = new java.util.ArrayList(secrets_); bitField0_ |= 0x00000004; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.extensions.transport_sockets.tls.v3.Secret, io.envoyproxy.envoy.extensions.transport_sockets.tls.v3.Secret.Builder, io.envoyproxy.envoy.extensions.transport_sockets.tls.v3.SecretOrBuilder> secretsBuilder_; /** *
       * These static secrets can be used by :ref:`SdsSecretConfig
       * <envoy_v3_api_msg_extensions.transport_sockets.tls.v3.SdsSecretConfig>`
       * 
* * repeated .envoy.extensions.transport_sockets.tls.v3.Secret secrets = 3; */ public java.util.List getSecretsList() { if (secretsBuilder_ == null) { return java.util.Collections.unmodifiableList(secrets_); } else { return secretsBuilder_.getMessageList(); } } /** *
       * These static secrets can be used by :ref:`SdsSecretConfig
       * <envoy_v3_api_msg_extensions.transport_sockets.tls.v3.SdsSecretConfig>`
       * 
* * repeated .envoy.extensions.transport_sockets.tls.v3.Secret secrets = 3; */ public int getSecretsCount() { if (secretsBuilder_ == null) { return secrets_.size(); } else { return secretsBuilder_.getCount(); } } /** *
       * These static secrets can be used by :ref:`SdsSecretConfig
       * <envoy_v3_api_msg_extensions.transport_sockets.tls.v3.SdsSecretConfig>`
       * 
* * repeated .envoy.extensions.transport_sockets.tls.v3.Secret secrets = 3; */ public io.envoyproxy.envoy.extensions.transport_sockets.tls.v3.Secret getSecrets(int index) { if (secretsBuilder_ == null) { return secrets_.get(index); } else { return secretsBuilder_.getMessage(index); } } /** *
       * These static secrets can be used by :ref:`SdsSecretConfig
       * <envoy_v3_api_msg_extensions.transport_sockets.tls.v3.SdsSecretConfig>`
       * 
* * repeated .envoy.extensions.transport_sockets.tls.v3.Secret secrets = 3; */ public Builder setSecrets( int index, io.envoyproxy.envoy.extensions.transport_sockets.tls.v3.Secret value) { if (secretsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSecretsIsMutable(); secrets_.set(index, value); onChanged(); } else { secretsBuilder_.setMessage(index, value); } return this; } /** *
       * These static secrets can be used by :ref:`SdsSecretConfig
       * <envoy_v3_api_msg_extensions.transport_sockets.tls.v3.SdsSecretConfig>`
       * 
* * repeated .envoy.extensions.transport_sockets.tls.v3.Secret secrets = 3; */ public Builder setSecrets( int index, io.envoyproxy.envoy.extensions.transport_sockets.tls.v3.Secret.Builder builderForValue) { if (secretsBuilder_ == null) { ensureSecretsIsMutable(); secrets_.set(index, builderForValue.build()); onChanged(); } else { secretsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * These static secrets can be used by :ref:`SdsSecretConfig
       * <envoy_v3_api_msg_extensions.transport_sockets.tls.v3.SdsSecretConfig>`
       * 
* * repeated .envoy.extensions.transport_sockets.tls.v3.Secret secrets = 3; */ public Builder addSecrets(io.envoyproxy.envoy.extensions.transport_sockets.tls.v3.Secret value) { if (secretsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSecretsIsMutable(); secrets_.add(value); onChanged(); } else { secretsBuilder_.addMessage(value); } return this; } /** *
       * These static secrets can be used by :ref:`SdsSecretConfig
       * <envoy_v3_api_msg_extensions.transport_sockets.tls.v3.SdsSecretConfig>`
       * 
* * repeated .envoy.extensions.transport_sockets.tls.v3.Secret secrets = 3; */ public Builder addSecrets( int index, io.envoyproxy.envoy.extensions.transport_sockets.tls.v3.Secret value) { if (secretsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSecretsIsMutable(); secrets_.add(index, value); onChanged(); } else { secretsBuilder_.addMessage(index, value); } return this; } /** *
       * These static secrets can be used by :ref:`SdsSecretConfig
       * <envoy_v3_api_msg_extensions.transport_sockets.tls.v3.SdsSecretConfig>`
       * 
* * repeated .envoy.extensions.transport_sockets.tls.v3.Secret secrets = 3; */ public Builder addSecrets( io.envoyproxy.envoy.extensions.transport_sockets.tls.v3.Secret.Builder builderForValue) { if (secretsBuilder_ == null) { ensureSecretsIsMutable(); secrets_.add(builderForValue.build()); onChanged(); } else { secretsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * These static secrets can be used by :ref:`SdsSecretConfig
       * <envoy_v3_api_msg_extensions.transport_sockets.tls.v3.SdsSecretConfig>`
       * 
* * repeated .envoy.extensions.transport_sockets.tls.v3.Secret secrets = 3; */ public Builder addSecrets( int index, io.envoyproxy.envoy.extensions.transport_sockets.tls.v3.Secret.Builder builderForValue) { if (secretsBuilder_ == null) { ensureSecretsIsMutable(); secrets_.add(index, builderForValue.build()); onChanged(); } else { secretsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * These static secrets can be used by :ref:`SdsSecretConfig
       * <envoy_v3_api_msg_extensions.transport_sockets.tls.v3.SdsSecretConfig>`
       * 
* * repeated .envoy.extensions.transport_sockets.tls.v3.Secret secrets = 3; */ public Builder addAllSecrets( java.lang.Iterable values) { if (secretsBuilder_ == null) { ensureSecretsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, secrets_); onChanged(); } else { secretsBuilder_.addAllMessages(values); } return this; } /** *
       * These static secrets can be used by :ref:`SdsSecretConfig
       * <envoy_v3_api_msg_extensions.transport_sockets.tls.v3.SdsSecretConfig>`
       * 
* * repeated .envoy.extensions.transport_sockets.tls.v3.Secret secrets = 3; */ public Builder clearSecrets() { if (secretsBuilder_ == null) { secrets_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { secretsBuilder_.clear(); } return this; } /** *
       * These static secrets can be used by :ref:`SdsSecretConfig
       * <envoy_v3_api_msg_extensions.transport_sockets.tls.v3.SdsSecretConfig>`
       * 
* * repeated .envoy.extensions.transport_sockets.tls.v3.Secret secrets = 3; */ public Builder removeSecrets(int index) { if (secretsBuilder_ == null) { ensureSecretsIsMutable(); secrets_.remove(index); onChanged(); } else { secretsBuilder_.remove(index); } return this; } /** *
       * These static secrets can be used by :ref:`SdsSecretConfig
       * <envoy_v3_api_msg_extensions.transport_sockets.tls.v3.SdsSecretConfig>`
       * 
* * repeated .envoy.extensions.transport_sockets.tls.v3.Secret secrets = 3; */ public io.envoyproxy.envoy.extensions.transport_sockets.tls.v3.Secret.Builder getSecretsBuilder( int index) { return getSecretsFieldBuilder().getBuilder(index); } /** *
       * These static secrets can be used by :ref:`SdsSecretConfig
       * <envoy_v3_api_msg_extensions.transport_sockets.tls.v3.SdsSecretConfig>`
       * 
* * repeated .envoy.extensions.transport_sockets.tls.v3.Secret secrets = 3; */ public io.envoyproxy.envoy.extensions.transport_sockets.tls.v3.SecretOrBuilder getSecretsOrBuilder( int index) { if (secretsBuilder_ == null) { return secrets_.get(index); } else { return secretsBuilder_.getMessageOrBuilder(index); } } /** *
       * These static secrets can be used by :ref:`SdsSecretConfig
       * <envoy_v3_api_msg_extensions.transport_sockets.tls.v3.SdsSecretConfig>`
       * 
* * repeated .envoy.extensions.transport_sockets.tls.v3.Secret secrets = 3; */ public java.util.List getSecretsOrBuilderList() { if (secretsBuilder_ != null) { return secretsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(secrets_); } } /** *
       * These static secrets can be used by :ref:`SdsSecretConfig
       * <envoy_v3_api_msg_extensions.transport_sockets.tls.v3.SdsSecretConfig>`
       * 
* * repeated .envoy.extensions.transport_sockets.tls.v3.Secret secrets = 3; */ public io.envoyproxy.envoy.extensions.transport_sockets.tls.v3.Secret.Builder addSecretsBuilder() { return getSecretsFieldBuilder().addBuilder( io.envoyproxy.envoy.extensions.transport_sockets.tls.v3.Secret.getDefaultInstance()); } /** *
       * These static secrets can be used by :ref:`SdsSecretConfig
       * <envoy_v3_api_msg_extensions.transport_sockets.tls.v3.SdsSecretConfig>`
       * 
* * repeated .envoy.extensions.transport_sockets.tls.v3.Secret secrets = 3; */ public io.envoyproxy.envoy.extensions.transport_sockets.tls.v3.Secret.Builder addSecretsBuilder( int index) { return getSecretsFieldBuilder().addBuilder( index, io.envoyproxy.envoy.extensions.transport_sockets.tls.v3.Secret.getDefaultInstance()); } /** *
       * These static secrets can be used by :ref:`SdsSecretConfig
       * <envoy_v3_api_msg_extensions.transport_sockets.tls.v3.SdsSecretConfig>`
       * 
* * repeated .envoy.extensions.transport_sockets.tls.v3.Secret secrets = 3; */ public java.util.List getSecretsBuilderList() { return getSecretsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.extensions.transport_sockets.tls.v3.Secret, io.envoyproxy.envoy.extensions.transport_sockets.tls.v3.Secret.Builder, io.envoyproxy.envoy.extensions.transport_sockets.tls.v3.SecretOrBuilder> getSecretsFieldBuilder() { if (secretsBuilder_ == null) { secretsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.extensions.transport_sockets.tls.v3.Secret, io.envoyproxy.envoy.extensions.transport_sockets.tls.v3.Secret.Builder, io.envoyproxy.envoy.extensions.transport_sockets.tls.v3.SecretOrBuilder>( secrets_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); secrets_ = null; } return secretsBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:envoy.config.bootstrap.v3.Bootstrap.StaticResources) } // @@protoc_insertion_point(class_scope:envoy.config.bootstrap.v3.Bootstrap.StaticResources) private static final io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources(); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public StaticResources parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DynamicResourcesOrBuilder extends // @@protoc_insertion_point(interface_extends:envoy.config.bootstrap.v3.Bootstrap.DynamicResources) com.google.protobuf.MessageOrBuilder { /** *
     * All :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>` are provided by a single
     * :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
     * 
* * .envoy.config.core.v3.ConfigSource lds_config = 1; * @return Whether the ldsConfig field is set. */ boolean hasLdsConfig(); /** *
     * All :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>` are provided by a single
     * :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
     * 
* * .envoy.config.core.v3.ConfigSource lds_config = 1; * @return The ldsConfig. */ io.envoyproxy.envoy.config.core.v3.ConfigSource getLdsConfig(); /** *
     * All :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>` are provided by a single
     * :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
     * 
* * .envoy.config.core.v3.ConfigSource lds_config = 1; */ io.envoyproxy.envoy.config.core.v3.ConfigSourceOrBuilder getLdsConfigOrBuilder(); /** *
     * xdstp:// resource locator for listener collection.
     * [#not-implemented-hide:]
     * 
* * string lds_resources_locator = 5; * @return The ldsResourcesLocator. */ java.lang.String getLdsResourcesLocator(); /** *
     * xdstp:// resource locator for listener collection.
     * [#not-implemented-hide:]
     * 
* * string lds_resources_locator = 5; * @return The bytes for ldsResourcesLocator. */ com.google.protobuf.ByteString getLdsResourcesLocatorBytes(); /** *
     * All post-bootstrap :ref:`Cluster <envoy_v3_api_msg_config.cluster.v3.Cluster>` definitions are
     * provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
     * configuration source.
     * 
* * .envoy.config.core.v3.ConfigSource cds_config = 2; * @return Whether the cdsConfig field is set. */ boolean hasCdsConfig(); /** *
     * All post-bootstrap :ref:`Cluster <envoy_v3_api_msg_config.cluster.v3.Cluster>` definitions are
     * provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
     * configuration source.
     * 
* * .envoy.config.core.v3.ConfigSource cds_config = 2; * @return The cdsConfig. */ io.envoyproxy.envoy.config.core.v3.ConfigSource getCdsConfig(); /** *
     * All post-bootstrap :ref:`Cluster <envoy_v3_api_msg_config.cluster.v3.Cluster>` definitions are
     * provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
     * configuration source.
     * 
* * .envoy.config.core.v3.ConfigSource cds_config = 2; */ io.envoyproxy.envoy.config.core.v3.ConfigSourceOrBuilder getCdsConfigOrBuilder(); /** *
     * xdstp:// resource locator for cluster collection.
     * [#not-implemented-hide:]
     * 
* * string cds_resources_locator = 6; * @return The cdsResourcesLocator. */ java.lang.String getCdsResourcesLocator(); /** *
     * xdstp:// resource locator for cluster collection.
     * [#not-implemented-hide:]
     * 
* * string cds_resources_locator = 6; * @return The bytes for cdsResourcesLocator. */ com.google.protobuf.ByteString getCdsResourcesLocatorBytes(); /** *
     * A single :ref:`ADS <config_overview_ads>` source may be optionally
     * specified. This must have :ref:`api_type
     * <envoy_v3_api_field_config.core.v3.ApiConfigSource.api_type>` :ref:`GRPC
     * <envoy_v3_api_enum_value_config.core.v3.ApiConfigSource.ApiType.GRPC>`. Only
     * :ref:`ConfigSources <envoy_v3_api_msg_config.core.v3.ConfigSource>` that have
     * the :ref:`ads <envoy_v3_api_field_config.core.v3.ConfigSource.ads>` field set will be
     * streamed on the ADS channel.
     * 
* * .envoy.config.core.v3.ApiConfigSource ads_config = 3; * @return Whether the adsConfig field is set. */ boolean hasAdsConfig(); /** *
     * A single :ref:`ADS <config_overview_ads>` source may be optionally
     * specified. This must have :ref:`api_type
     * <envoy_v3_api_field_config.core.v3.ApiConfigSource.api_type>` :ref:`GRPC
     * <envoy_v3_api_enum_value_config.core.v3.ApiConfigSource.ApiType.GRPC>`. Only
     * :ref:`ConfigSources <envoy_v3_api_msg_config.core.v3.ConfigSource>` that have
     * the :ref:`ads <envoy_v3_api_field_config.core.v3.ConfigSource.ads>` field set will be
     * streamed on the ADS channel.
     * 
* * .envoy.config.core.v3.ApiConfigSource ads_config = 3; * @return The adsConfig. */ io.envoyproxy.envoy.config.core.v3.ApiConfigSource getAdsConfig(); /** *
     * A single :ref:`ADS <config_overview_ads>` source may be optionally
     * specified. This must have :ref:`api_type
     * <envoy_v3_api_field_config.core.v3.ApiConfigSource.api_type>` :ref:`GRPC
     * <envoy_v3_api_enum_value_config.core.v3.ApiConfigSource.ApiType.GRPC>`. Only
     * :ref:`ConfigSources <envoy_v3_api_msg_config.core.v3.ConfigSource>` that have
     * the :ref:`ads <envoy_v3_api_field_config.core.v3.ConfigSource.ads>` field set will be
     * streamed on the ADS channel.
     * 
* * .envoy.config.core.v3.ApiConfigSource ads_config = 3; */ io.envoyproxy.envoy.config.core.v3.ApiConfigSourceOrBuilder getAdsConfigOrBuilder(); } /** *
   * [#next-free-field: 7]
   * 
* * Protobuf type {@code envoy.config.bootstrap.v3.Bootstrap.DynamicResources} */ public static final class DynamicResources extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:envoy.config.bootstrap.v3.Bootstrap.DynamicResources) DynamicResourcesOrBuilder { private static final long serialVersionUID = 0L; // Use DynamicResources.newBuilder() to construct. private DynamicResources(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DynamicResources() { ldsResourcesLocator_ = ""; cdsResourcesLocator_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DynamicResources(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.config.bootstrap.v3.BootstrapProto.internal_static_envoy_config_bootstrap_v3_Bootstrap_DynamicResources_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.config.bootstrap.v3.BootstrapProto.internal_static_envoy_config_bootstrap_v3_Bootstrap_DynamicResources_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources.class, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources.Builder.class); } private int bitField0_; public static final int LDS_CONFIG_FIELD_NUMBER = 1; private io.envoyproxy.envoy.config.core.v3.ConfigSource ldsConfig_; /** *
     * All :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>` are provided by a single
     * :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
     * 
* * .envoy.config.core.v3.ConfigSource lds_config = 1; * @return Whether the ldsConfig field is set. */ @java.lang.Override public boolean hasLdsConfig() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * All :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>` are provided by a single
     * :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
     * 
* * .envoy.config.core.v3.ConfigSource lds_config = 1; * @return The ldsConfig. */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.ConfigSource getLdsConfig() { return ldsConfig_ == null ? io.envoyproxy.envoy.config.core.v3.ConfigSource.getDefaultInstance() : ldsConfig_; } /** *
     * All :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>` are provided by a single
     * :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
     * 
* * .envoy.config.core.v3.ConfigSource lds_config = 1; */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.ConfigSourceOrBuilder getLdsConfigOrBuilder() { return ldsConfig_ == null ? io.envoyproxy.envoy.config.core.v3.ConfigSource.getDefaultInstance() : ldsConfig_; } public static final int LDS_RESOURCES_LOCATOR_FIELD_NUMBER = 5; @SuppressWarnings("serial") private volatile java.lang.Object ldsResourcesLocator_ = ""; /** *
     * xdstp:// resource locator for listener collection.
     * [#not-implemented-hide:]
     * 
* * string lds_resources_locator = 5; * @return The ldsResourcesLocator. */ @java.lang.Override public java.lang.String getLdsResourcesLocator() { java.lang.Object ref = ldsResourcesLocator_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ldsResourcesLocator_ = s; return s; } } /** *
     * xdstp:// resource locator for listener collection.
     * [#not-implemented-hide:]
     * 
* * string lds_resources_locator = 5; * @return The bytes for ldsResourcesLocator. */ @java.lang.Override public com.google.protobuf.ByteString getLdsResourcesLocatorBytes() { java.lang.Object ref = ldsResourcesLocator_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); ldsResourcesLocator_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CDS_CONFIG_FIELD_NUMBER = 2; private io.envoyproxy.envoy.config.core.v3.ConfigSource cdsConfig_; /** *
     * All post-bootstrap :ref:`Cluster <envoy_v3_api_msg_config.cluster.v3.Cluster>` definitions are
     * provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
     * configuration source.
     * 
* * .envoy.config.core.v3.ConfigSource cds_config = 2; * @return Whether the cdsConfig field is set. */ @java.lang.Override public boolean hasCdsConfig() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * All post-bootstrap :ref:`Cluster <envoy_v3_api_msg_config.cluster.v3.Cluster>` definitions are
     * provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
     * configuration source.
     * 
* * .envoy.config.core.v3.ConfigSource cds_config = 2; * @return The cdsConfig. */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.ConfigSource getCdsConfig() { return cdsConfig_ == null ? io.envoyproxy.envoy.config.core.v3.ConfigSource.getDefaultInstance() : cdsConfig_; } /** *
     * All post-bootstrap :ref:`Cluster <envoy_v3_api_msg_config.cluster.v3.Cluster>` definitions are
     * provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
     * configuration source.
     * 
* * .envoy.config.core.v3.ConfigSource cds_config = 2; */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.ConfigSourceOrBuilder getCdsConfigOrBuilder() { return cdsConfig_ == null ? io.envoyproxy.envoy.config.core.v3.ConfigSource.getDefaultInstance() : cdsConfig_; } public static final int CDS_RESOURCES_LOCATOR_FIELD_NUMBER = 6; @SuppressWarnings("serial") private volatile java.lang.Object cdsResourcesLocator_ = ""; /** *
     * xdstp:// resource locator for cluster collection.
     * [#not-implemented-hide:]
     * 
* * string cds_resources_locator = 6; * @return The cdsResourcesLocator. */ @java.lang.Override public java.lang.String getCdsResourcesLocator() { java.lang.Object ref = cdsResourcesLocator_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cdsResourcesLocator_ = s; return s; } } /** *
     * xdstp:// resource locator for cluster collection.
     * [#not-implemented-hide:]
     * 
* * string cds_resources_locator = 6; * @return The bytes for cdsResourcesLocator. */ @java.lang.Override public com.google.protobuf.ByteString getCdsResourcesLocatorBytes() { java.lang.Object ref = cdsResourcesLocator_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); cdsResourcesLocator_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ADS_CONFIG_FIELD_NUMBER = 3; private io.envoyproxy.envoy.config.core.v3.ApiConfigSource adsConfig_; /** *
     * A single :ref:`ADS <config_overview_ads>` source may be optionally
     * specified. This must have :ref:`api_type
     * <envoy_v3_api_field_config.core.v3.ApiConfigSource.api_type>` :ref:`GRPC
     * <envoy_v3_api_enum_value_config.core.v3.ApiConfigSource.ApiType.GRPC>`. Only
     * :ref:`ConfigSources <envoy_v3_api_msg_config.core.v3.ConfigSource>` that have
     * the :ref:`ads <envoy_v3_api_field_config.core.v3.ConfigSource.ads>` field set will be
     * streamed on the ADS channel.
     * 
* * .envoy.config.core.v3.ApiConfigSource ads_config = 3; * @return Whether the adsConfig field is set. */ @java.lang.Override public boolean hasAdsConfig() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * A single :ref:`ADS <config_overview_ads>` source may be optionally
     * specified. This must have :ref:`api_type
     * <envoy_v3_api_field_config.core.v3.ApiConfigSource.api_type>` :ref:`GRPC
     * <envoy_v3_api_enum_value_config.core.v3.ApiConfigSource.ApiType.GRPC>`. Only
     * :ref:`ConfigSources <envoy_v3_api_msg_config.core.v3.ConfigSource>` that have
     * the :ref:`ads <envoy_v3_api_field_config.core.v3.ConfigSource.ads>` field set will be
     * streamed on the ADS channel.
     * 
* * .envoy.config.core.v3.ApiConfigSource ads_config = 3; * @return The adsConfig. */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.ApiConfigSource getAdsConfig() { return adsConfig_ == null ? io.envoyproxy.envoy.config.core.v3.ApiConfigSource.getDefaultInstance() : adsConfig_; } /** *
     * A single :ref:`ADS <config_overview_ads>` source may be optionally
     * specified. This must have :ref:`api_type
     * <envoy_v3_api_field_config.core.v3.ApiConfigSource.api_type>` :ref:`GRPC
     * <envoy_v3_api_enum_value_config.core.v3.ApiConfigSource.ApiType.GRPC>`. Only
     * :ref:`ConfigSources <envoy_v3_api_msg_config.core.v3.ConfigSource>` that have
     * the :ref:`ads <envoy_v3_api_field_config.core.v3.ConfigSource.ads>` field set will be
     * streamed on the ADS channel.
     * 
* * .envoy.config.core.v3.ApiConfigSource ads_config = 3; */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.ApiConfigSourceOrBuilder getAdsConfigOrBuilder() { return adsConfig_ == null ? io.envoyproxy.envoy.config.core.v3.ApiConfigSource.getDefaultInstance() : adsConfig_; } 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 (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getLdsConfig()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(2, getCdsConfig()); } if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(3, getAdsConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ldsResourcesLocator_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, ldsResourcesLocator_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cdsResourcesLocator_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, cdsResourcesLocator_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getLdsConfig()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getCdsConfig()); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getAdsConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ldsResourcesLocator_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, ldsResourcesLocator_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cdsResourcesLocator_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, cdsResourcesLocator_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources)) { return super.equals(obj); } io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources other = (io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources) obj; if (hasLdsConfig() != other.hasLdsConfig()) return false; if (hasLdsConfig()) { if (!getLdsConfig() .equals(other.getLdsConfig())) return false; } if (!getLdsResourcesLocator() .equals(other.getLdsResourcesLocator())) return false; if (hasCdsConfig() != other.hasCdsConfig()) return false; if (hasCdsConfig()) { if (!getCdsConfig() .equals(other.getCdsConfig())) return false; } if (!getCdsResourcesLocator() .equals(other.getCdsResourcesLocator())) return false; if (hasAdsConfig() != other.hasAdsConfig()) return false; if (hasAdsConfig()) { if (!getAdsConfig() .equals(other.getAdsConfig())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasLdsConfig()) { hash = (37 * hash) + LDS_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getLdsConfig().hashCode(); } hash = (37 * hash) + LDS_RESOURCES_LOCATOR_FIELD_NUMBER; hash = (53 * hash) + getLdsResourcesLocator().hashCode(); if (hasCdsConfig()) { hash = (37 * hash) + CDS_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getCdsConfig().hashCode(); } hash = (37 * hash) + CDS_RESOURCES_LOCATOR_FIELD_NUMBER; hash = (53 * hash) + getCdsResourcesLocator().hashCode(); if (hasAdsConfig()) { hash = (37 * hash) + ADS_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getAdsConfig().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
     * [#next-free-field: 7]
     * 
* * Protobuf type {@code envoy.config.bootstrap.v3.Bootstrap.DynamicResources} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:envoy.config.bootstrap.v3.Bootstrap.DynamicResources) io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResourcesOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.config.bootstrap.v3.BootstrapProto.internal_static_envoy_config_bootstrap_v3_Bootstrap_DynamicResources_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.config.bootstrap.v3.BootstrapProto.internal_static_envoy_config_bootstrap_v3_Bootstrap_DynamicResources_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources.class, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources.Builder.class); } // Construct using io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getLdsConfigFieldBuilder(); getCdsConfigFieldBuilder(); getAdsConfigFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; ldsConfig_ = null; if (ldsConfigBuilder_ != null) { ldsConfigBuilder_.dispose(); ldsConfigBuilder_ = null; } ldsResourcesLocator_ = ""; cdsConfig_ = null; if (cdsConfigBuilder_ != null) { cdsConfigBuilder_.dispose(); cdsConfigBuilder_ = null; } cdsResourcesLocator_ = ""; adsConfig_ = null; if (adsConfigBuilder_ != null) { adsConfigBuilder_.dispose(); adsConfigBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.envoyproxy.envoy.config.bootstrap.v3.BootstrapProto.internal_static_envoy_config_bootstrap_v3_Bootstrap_DynamicResources_descriptor; } @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources getDefaultInstanceForType() { return io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources.getDefaultInstance(); } @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources build() { io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources buildPartial() { io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources result = new io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.ldsConfig_ = ldsConfigBuilder_ == null ? ldsConfig_ : ldsConfigBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.ldsResourcesLocator_ = ldsResourcesLocator_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.cdsConfig_ = cdsConfigBuilder_ == null ? cdsConfig_ : cdsConfigBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000008) != 0)) { result.cdsResourcesLocator_ = cdsResourcesLocator_; } if (((from_bitField0_ & 0x00000010) != 0)) { result.adsConfig_ = adsConfigBuilder_ == null ? adsConfig_ : adsConfigBuilder_.build(); to_bitField0_ |= 0x00000004; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources) { return mergeFrom((io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources other) { if (other == io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources.getDefaultInstance()) return this; if (other.hasLdsConfig()) { mergeLdsConfig(other.getLdsConfig()); } if (!other.getLdsResourcesLocator().isEmpty()) { ldsResourcesLocator_ = other.ldsResourcesLocator_; bitField0_ |= 0x00000002; onChanged(); } if (other.hasCdsConfig()) { mergeCdsConfig(other.getCdsConfig()); } if (!other.getCdsResourcesLocator().isEmpty()) { cdsResourcesLocator_ = other.cdsResourcesLocator_; bitField0_ |= 0x00000008; onChanged(); } if (other.hasAdsConfig()) { mergeAdsConfig(other.getAdsConfig()); } this.mergeUnknownFields(other.getUnknownFields()); 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 { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { input.readMessage( getLdsConfigFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 18: { input.readMessage( getCdsConfigFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 18 case 26: { input.readMessage( getAdsConfigFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000010; break; } // case 26 case 42: { ldsResourcesLocator_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; break; } // case 42 case 50: { cdsResourcesLocator_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000008; break; } // case 50 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private io.envoyproxy.envoy.config.core.v3.ConfigSource ldsConfig_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.ConfigSource, io.envoyproxy.envoy.config.core.v3.ConfigSource.Builder, io.envoyproxy.envoy.config.core.v3.ConfigSourceOrBuilder> ldsConfigBuilder_; /** *
       * All :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>` are provided by a single
       * :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
       * 
* * .envoy.config.core.v3.ConfigSource lds_config = 1; * @return Whether the ldsConfig field is set. */ public boolean hasLdsConfig() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * All :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>` are provided by a single
       * :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
       * 
* * .envoy.config.core.v3.ConfigSource lds_config = 1; * @return The ldsConfig. */ public io.envoyproxy.envoy.config.core.v3.ConfigSource getLdsConfig() { if (ldsConfigBuilder_ == null) { return ldsConfig_ == null ? io.envoyproxy.envoy.config.core.v3.ConfigSource.getDefaultInstance() : ldsConfig_; } else { return ldsConfigBuilder_.getMessage(); } } /** *
       * All :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>` are provided by a single
       * :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
       * 
* * .envoy.config.core.v3.ConfigSource lds_config = 1; */ public Builder setLdsConfig(io.envoyproxy.envoy.config.core.v3.ConfigSource value) { if (ldsConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ldsConfig_ = value; } else { ldsConfigBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * All :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>` are provided by a single
       * :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
       * 
* * .envoy.config.core.v3.ConfigSource lds_config = 1; */ public Builder setLdsConfig( io.envoyproxy.envoy.config.core.v3.ConfigSource.Builder builderForValue) { if (ldsConfigBuilder_ == null) { ldsConfig_ = builderForValue.build(); } else { ldsConfigBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * All :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>` are provided by a single
       * :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
       * 
* * .envoy.config.core.v3.ConfigSource lds_config = 1; */ public Builder mergeLdsConfig(io.envoyproxy.envoy.config.core.v3.ConfigSource value) { if (ldsConfigBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && ldsConfig_ != null && ldsConfig_ != io.envoyproxy.envoy.config.core.v3.ConfigSource.getDefaultInstance()) { getLdsConfigBuilder().mergeFrom(value); } else { ldsConfig_ = value; } } else { ldsConfigBuilder_.mergeFrom(value); } if (ldsConfig_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** *
       * All :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>` are provided by a single
       * :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
       * 
* * .envoy.config.core.v3.ConfigSource lds_config = 1; */ public Builder clearLdsConfig() { bitField0_ = (bitField0_ & ~0x00000001); ldsConfig_ = null; if (ldsConfigBuilder_ != null) { ldsConfigBuilder_.dispose(); ldsConfigBuilder_ = null; } onChanged(); return this; } /** *
       * All :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>` are provided by a single
       * :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
       * 
* * .envoy.config.core.v3.ConfigSource lds_config = 1; */ public io.envoyproxy.envoy.config.core.v3.ConfigSource.Builder getLdsConfigBuilder() { bitField0_ |= 0x00000001; onChanged(); return getLdsConfigFieldBuilder().getBuilder(); } /** *
       * All :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>` are provided by a single
       * :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
       * 
* * .envoy.config.core.v3.ConfigSource lds_config = 1; */ public io.envoyproxy.envoy.config.core.v3.ConfigSourceOrBuilder getLdsConfigOrBuilder() { if (ldsConfigBuilder_ != null) { return ldsConfigBuilder_.getMessageOrBuilder(); } else { return ldsConfig_ == null ? io.envoyproxy.envoy.config.core.v3.ConfigSource.getDefaultInstance() : ldsConfig_; } } /** *
       * All :ref:`Listeners <envoy_v3_api_msg_config.listener.v3.Listener>` are provided by a single
       * :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
       * 
* * .envoy.config.core.v3.ConfigSource lds_config = 1; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.ConfigSource, io.envoyproxy.envoy.config.core.v3.ConfigSource.Builder, io.envoyproxy.envoy.config.core.v3.ConfigSourceOrBuilder> getLdsConfigFieldBuilder() { if (ldsConfigBuilder_ == null) { ldsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.ConfigSource, io.envoyproxy.envoy.config.core.v3.ConfigSource.Builder, io.envoyproxy.envoy.config.core.v3.ConfigSourceOrBuilder>( getLdsConfig(), getParentForChildren(), isClean()); ldsConfig_ = null; } return ldsConfigBuilder_; } private java.lang.Object ldsResourcesLocator_ = ""; /** *
       * xdstp:// resource locator for listener collection.
       * [#not-implemented-hide:]
       * 
* * string lds_resources_locator = 5; * @return The ldsResourcesLocator. */ public java.lang.String getLdsResourcesLocator() { java.lang.Object ref = ldsResourcesLocator_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ldsResourcesLocator_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * xdstp:// resource locator for listener collection.
       * [#not-implemented-hide:]
       * 
* * string lds_resources_locator = 5; * @return The bytes for ldsResourcesLocator. */ public com.google.protobuf.ByteString getLdsResourcesLocatorBytes() { java.lang.Object ref = ldsResourcesLocator_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); ldsResourcesLocator_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * xdstp:// resource locator for listener collection.
       * [#not-implemented-hide:]
       * 
* * string lds_resources_locator = 5; * @param value The ldsResourcesLocator to set. * @return This builder for chaining. */ public Builder setLdsResourcesLocator( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ldsResourcesLocator_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * xdstp:// resource locator for listener collection.
       * [#not-implemented-hide:]
       * 
* * string lds_resources_locator = 5; * @return This builder for chaining. */ public Builder clearLdsResourcesLocator() { ldsResourcesLocator_ = getDefaultInstance().getLdsResourcesLocator(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** *
       * xdstp:// resource locator for listener collection.
       * [#not-implemented-hide:]
       * 
* * string lds_resources_locator = 5; * @param value The bytes for ldsResourcesLocator to set. * @return This builder for chaining. */ public Builder setLdsResourcesLocatorBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ldsResourcesLocator_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } private io.envoyproxy.envoy.config.core.v3.ConfigSource cdsConfig_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.ConfigSource, io.envoyproxy.envoy.config.core.v3.ConfigSource.Builder, io.envoyproxy.envoy.config.core.v3.ConfigSourceOrBuilder> cdsConfigBuilder_; /** *
       * All post-bootstrap :ref:`Cluster <envoy_v3_api_msg_config.cluster.v3.Cluster>` definitions are
       * provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
       * configuration source.
       * 
* * .envoy.config.core.v3.ConfigSource cds_config = 2; * @return Whether the cdsConfig field is set. */ public boolean hasCdsConfig() { return ((bitField0_ & 0x00000004) != 0); } /** *
       * All post-bootstrap :ref:`Cluster <envoy_v3_api_msg_config.cluster.v3.Cluster>` definitions are
       * provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
       * configuration source.
       * 
* * .envoy.config.core.v3.ConfigSource cds_config = 2; * @return The cdsConfig. */ public io.envoyproxy.envoy.config.core.v3.ConfigSource getCdsConfig() { if (cdsConfigBuilder_ == null) { return cdsConfig_ == null ? io.envoyproxy.envoy.config.core.v3.ConfigSource.getDefaultInstance() : cdsConfig_; } else { return cdsConfigBuilder_.getMessage(); } } /** *
       * All post-bootstrap :ref:`Cluster <envoy_v3_api_msg_config.cluster.v3.Cluster>` definitions are
       * provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
       * configuration source.
       * 
* * .envoy.config.core.v3.ConfigSource cds_config = 2; */ public Builder setCdsConfig(io.envoyproxy.envoy.config.core.v3.ConfigSource value) { if (cdsConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } cdsConfig_ = value; } else { cdsConfigBuilder_.setMessage(value); } bitField0_ |= 0x00000004; onChanged(); return this; } /** *
       * All post-bootstrap :ref:`Cluster <envoy_v3_api_msg_config.cluster.v3.Cluster>` definitions are
       * provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
       * configuration source.
       * 
* * .envoy.config.core.v3.ConfigSource cds_config = 2; */ public Builder setCdsConfig( io.envoyproxy.envoy.config.core.v3.ConfigSource.Builder builderForValue) { if (cdsConfigBuilder_ == null) { cdsConfig_ = builderForValue.build(); } else { cdsConfigBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; onChanged(); return this; } /** *
       * All post-bootstrap :ref:`Cluster <envoy_v3_api_msg_config.cluster.v3.Cluster>` definitions are
       * provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
       * configuration source.
       * 
* * .envoy.config.core.v3.ConfigSource cds_config = 2; */ public Builder mergeCdsConfig(io.envoyproxy.envoy.config.core.v3.ConfigSource value) { if (cdsConfigBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && cdsConfig_ != null && cdsConfig_ != io.envoyproxy.envoy.config.core.v3.ConfigSource.getDefaultInstance()) { getCdsConfigBuilder().mergeFrom(value); } else { cdsConfig_ = value; } } else { cdsConfigBuilder_.mergeFrom(value); } if (cdsConfig_ != null) { bitField0_ |= 0x00000004; onChanged(); } return this; } /** *
       * All post-bootstrap :ref:`Cluster <envoy_v3_api_msg_config.cluster.v3.Cluster>` definitions are
       * provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
       * configuration source.
       * 
* * .envoy.config.core.v3.ConfigSource cds_config = 2; */ public Builder clearCdsConfig() { bitField0_ = (bitField0_ & ~0x00000004); cdsConfig_ = null; if (cdsConfigBuilder_ != null) { cdsConfigBuilder_.dispose(); cdsConfigBuilder_ = null; } onChanged(); return this; } /** *
       * All post-bootstrap :ref:`Cluster <envoy_v3_api_msg_config.cluster.v3.Cluster>` definitions are
       * provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
       * configuration source.
       * 
* * .envoy.config.core.v3.ConfigSource cds_config = 2; */ public io.envoyproxy.envoy.config.core.v3.ConfigSource.Builder getCdsConfigBuilder() { bitField0_ |= 0x00000004; onChanged(); return getCdsConfigFieldBuilder().getBuilder(); } /** *
       * All post-bootstrap :ref:`Cluster <envoy_v3_api_msg_config.cluster.v3.Cluster>` definitions are
       * provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
       * configuration source.
       * 
* * .envoy.config.core.v3.ConfigSource cds_config = 2; */ public io.envoyproxy.envoy.config.core.v3.ConfigSourceOrBuilder getCdsConfigOrBuilder() { if (cdsConfigBuilder_ != null) { return cdsConfigBuilder_.getMessageOrBuilder(); } else { return cdsConfig_ == null ? io.envoyproxy.envoy.config.core.v3.ConfigSource.getDefaultInstance() : cdsConfig_; } } /** *
       * All post-bootstrap :ref:`Cluster <envoy_v3_api_msg_config.cluster.v3.Cluster>` definitions are
       * provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
       * configuration source.
       * 
* * .envoy.config.core.v3.ConfigSource cds_config = 2; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.ConfigSource, io.envoyproxy.envoy.config.core.v3.ConfigSource.Builder, io.envoyproxy.envoy.config.core.v3.ConfigSourceOrBuilder> getCdsConfigFieldBuilder() { if (cdsConfigBuilder_ == null) { cdsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.ConfigSource, io.envoyproxy.envoy.config.core.v3.ConfigSource.Builder, io.envoyproxy.envoy.config.core.v3.ConfigSourceOrBuilder>( getCdsConfig(), getParentForChildren(), isClean()); cdsConfig_ = null; } return cdsConfigBuilder_; } private java.lang.Object cdsResourcesLocator_ = ""; /** *
       * xdstp:// resource locator for cluster collection.
       * [#not-implemented-hide:]
       * 
* * string cds_resources_locator = 6; * @return The cdsResourcesLocator. */ public java.lang.String getCdsResourcesLocator() { java.lang.Object ref = cdsResourcesLocator_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cdsResourcesLocator_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * xdstp:// resource locator for cluster collection.
       * [#not-implemented-hide:]
       * 
* * string cds_resources_locator = 6; * @return The bytes for cdsResourcesLocator. */ public com.google.protobuf.ByteString getCdsResourcesLocatorBytes() { java.lang.Object ref = cdsResourcesLocator_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); cdsResourcesLocator_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * xdstp:// resource locator for cluster collection.
       * [#not-implemented-hide:]
       * 
* * string cds_resources_locator = 6; * @param value The cdsResourcesLocator to set. * @return This builder for chaining. */ public Builder setCdsResourcesLocator( java.lang.String value) { if (value == null) { throw new NullPointerException(); } cdsResourcesLocator_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** *
       * xdstp:// resource locator for cluster collection.
       * [#not-implemented-hide:]
       * 
* * string cds_resources_locator = 6; * @return This builder for chaining. */ public Builder clearCdsResourcesLocator() { cdsResourcesLocator_ = getDefaultInstance().getCdsResourcesLocator(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } /** *
       * xdstp:// resource locator for cluster collection.
       * [#not-implemented-hide:]
       * 
* * string cds_resources_locator = 6; * @param value The bytes for cdsResourcesLocator to set. * @return This builder for chaining. */ public Builder setCdsResourcesLocatorBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); cdsResourcesLocator_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } private io.envoyproxy.envoy.config.core.v3.ApiConfigSource adsConfig_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.ApiConfigSource, io.envoyproxy.envoy.config.core.v3.ApiConfigSource.Builder, io.envoyproxy.envoy.config.core.v3.ApiConfigSourceOrBuilder> adsConfigBuilder_; /** *
       * A single :ref:`ADS <config_overview_ads>` source may be optionally
       * specified. This must have :ref:`api_type
       * <envoy_v3_api_field_config.core.v3.ApiConfigSource.api_type>` :ref:`GRPC
       * <envoy_v3_api_enum_value_config.core.v3.ApiConfigSource.ApiType.GRPC>`. Only
       * :ref:`ConfigSources <envoy_v3_api_msg_config.core.v3.ConfigSource>` that have
       * the :ref:`ads <envoy_v3_api_field_config.core.v3.ConfigSource.ads>` field set will be
       * streamed on the ADS channel.
       * 
* * .envoy.config.core.v3.ApiConfigSource ads_config = 3; * @return Whether the adsConfig field is set. */ public boolean hasAdsConfig() { return ((bitField0_ & 0x00000010) != 0); } /** *
       * A single :ref:`ADS <config_overview_ads>` source may be optionally
       * specified. This must have :ref:`api_type
       * <envoy_v3_api_field_config.core.v3.ApiConfigSource.api_type>` :ref:`GRPC
       * <envoy_v3_api_enum_value_config.core.v3.ApiConfigSource.ApiType.GRPC>`. Only
       * :ref:`ConfigSources <envoy_v3_api_msg_config.core.v3.ConfigSource>` that have
       * the :ref:`ads <envoy_v3_api_field_config.core.v3.ConfigSource.ads>` field set will be
       * streamed on the ADS channel.
       * 
* * .envoy.config.core.v3.ApiConfigSource ads_config = 3; * @return The adsConfig. */ public io.envoyproxy.envoy.config.core.v3.ApiConfigSource getAdsConfig() { if (adsConfigBuilder_ == null) { return adsConfig_ == null ? io.envoyproxy.envoy.config.core.v3.ApiConfigSource.getDefaultInstance() : adsConfig_; } else { return adsConfigBuilder_.getMessage(); } } /** *
       * A single :ref:`ADS <config_overview_ads>` source may be optionally
       * specified. This must have :ref:`api_type
       * <envoy_v3_api_field_config.core.v3.ApiConfigSource.api_type>` :ref:`GRPC
       * <envoy_v3_api_enum_value_config.core.v3.ApiConfigSource.ApiType.GRPC>`. Only
       * :ref:`ConfigSources <envoy_v3_api_msg_config.core.v3.ConfigSource>` that have
       * the :ref:`ads <envoy_v3_api_field_config.core.v3.ConfigSource.ads>` field set will be
       * streamed on the ADS channel.
       * 
* * .envoy.config.core.v3.ApiConfigSource ads_config = 3; */ public Builder setAdsConfig(io.envoyproxy.envoy.config.core.v3.ApiConfigSource value) { if (adsConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } adsConfig_ = value; } else { adsConfigBuilder_.setMessage(value); } bitField0_ |= 0x00000010; onChanged(); return this; } /** *
       * A single :ref:`ADS <config_overview_ads>` source may be optionally
       * specified. This must have :ref:`api_type
       * <envoy_v3_api_field_config.core.v3.ApiConfigSource.api_type>` :ref:`GRPC
       * <envoy_v3_api_enum_value_config.core.v3.ApiConfigSource.ApiType.GRPC>`. Only
       * :ref:`ConfigSources <envoy_v3_api_msg_config.core.v3.ConfigSource>` that have
       * the :ref:`ads <envoy_v3_api_field_config.core.v3.ConfigSource.ads>` field set will be
       * streamed on the ADS channel.
       * 
* * .envoy.config.core.v3.ApiConfigSource ads_config = 3; */ public Builder setAdsConfig( io.envoyproxy.envoy.config.core.v3.ApiConfigSource.Builder builderForValue) { if (adsConfigBuilder_ == null) { adsConfig_ = builderForValue.build(); } else { adsConfigBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000010; onChanged(); return this; } /** *
       * A single :ref:`ADS <config_overview_ads>` source may be optionally
       * specified. This must have :ref:`api_type
       * <envoy_v3_api_field_config.core.v3.ApiConfigSource.api_type>` :ref:`GRPC
       * <envoy_v3_api_enum_value_config.core.v3.ApiConfigSource.ApiType.GRPC>`. Only
       * :ref:`ConfigSources <envoy_v3_api_msg_config.core.v3.ConfigSource>` that have
       * the :ref:`ads <envoy_v3_api_field_config.core.v3.ConfigSource.ads>` field set will be
       * streamed on the ADS channel.
       * 
* * .envoy.config.core.v3.ApiConfigSource ads_config = 3; */ public Builder mergeAdsConfig(io.envoyproxy.envoy.config.core.v3.ApiConfigSource value) { if (adsConfigBuilder_ == null) { if (((bitField0_ & 0x00000010) != 0) && adsConfig_ != null && adsConfig_ != io.envoyproxy.envoy.config.core.v3.ApiConfigSource.getDefaultInstance()) { getAdsConfigBuilder().mergeFrom(value); } else { adsConfig_ = value; } } else { adsConfigBuilder_.mergeFrom(value); } if (adsConfig_ != null) { bitField0_ |= 0x00000010; onChanged(); } return this; } /** *
       * A single :ref:`ADS <config_overview_ads>` source may be optionally
       * specified. This must have :ref:`api_type
       * <envoy_v3_api_field_config.core.v3.ApiConfigSource.api_type>` :ref:`GRPC
       * <envoy_v3_api_enum_value_config.core.v3.ApiConfigSource.ApiType.GRPC>`. Only
       * :ref:`ConfigSources <envoy_v3_api_msg_config.core.v3.ConfigSource>` that have
       * the :ref:`ads <envoy_v3_api_field_config.core.v3.ConfigSource.ads>` field set will be
       * streamed on the ADS channel.
       * 
* * .envoy.config.core.v3.ApiConfigSource ads_config = 3; */ public Builder clearAdsConfig() { bitField0_ = (bitField0_ & ~0x00000010); adsConfig_ = null; if (adsConfigBuilder_ != null) { adsConfigBuilder_.dispose(); adsConfigBuilder_ = null; } onChanged(); return this; } /** *
       * A single :ref:`ADS <config_overview_ads>` source may be optionally
       * specified. This must have :ref:`api_type
       * <envoy_v3_api_field_config.core.v3.ApiConfigSource.api_type>` :ref:`GRPC
       * <envoy_v3_api_enum_value_config.core.v3.ApiConfigSource.ApiType.GRPC>`. Only
       * :ref:`ConfigSources <envoy_v3_api_msg_config.core.v3.ConfigSource>` that have
       * the :ref:`ads <envoy_v3_api_field_config.core.v3.ConfigSource.ads>` field set will be
       * streamed on the ADS channel.
       * 
* * .envoy.config.core.v3.ApiConfigSource ads_config = 3; */ public io.envoyproxy.envoy.config.core.v3.ApiConfigSource.Builder getAdsConfigBuilder() { bitField0_ |= 0x00000010; onChanged(); return getAdsConfigFieldBuilder().getBuilder(); } /** *
       * A single :ref:`ADS <config_overview_ads>` source may be optionally
       * specified. This must have :ref:`api_type
       * <envoy_v3_api_field_config.core.v3.ApiConfigSource.api_type>` :ref:`GRPC
       * <envoy_v3_api_enum_value_config.core.v3.ApiConfigSource.ApiType.GRPC>`. Only
       * :ref:`ConfigSources <envoy_v3_api_msg_config.core.v3.ConfigSource>` that have
       * the :ref:`ads <envoy_v3_api_field_config.core.v3.ConfigSource.ads>` field set will be
       * streamed on the ADS channel.
       * 
* * .envoy.config.core.v3.ApiConfigSource ads_config = 3; */ public io.envoyproxy.envoy.config.core.v3.ApiConfigSourceOrBuilder getAdsConfigOrBuilder() { if (adsConfigBuilder_ != null) { return adsConfigBuilder_.getMessageOrBuilder(); } else { return adsConfig_ == null ? io.envoyproxy.envoy.config.core.v3.ApiConfigSource.getDefaultInstance() : adsConfig_; } } /** *
       * A single :ref:`ADS <config_overview_ads>` source may be optionally
       * specified. This must have :ref:`api_type
       * <envoy_v3_api_field_config.core.v3.ApiConfigSource.api_type>` :ref:`GRPC
       * <envoy_v3_api_enum_value_config.core.v3.ApiConfigSource.ApiType.GRPC>`. Only
       * :ref:`ConfigSources <envoy_v3_api_msg_config.core.v3.ConfigSource>` that have
       * the :ref:`ads <envoy_v3_api_field_config.core.v3.ConfigSource.ads>` field set will be
       * streamed on the ADS channel.
       * 
* * .envoy.config.core.v3.ApiConfigSource ads_config = 3; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.ApiConfigSource, io.envoyproxy.envoy.config.core.v3.ApiConfigSource.Builder, io.envoyproxy.envoy.config.core.v3.ApiConfigSourceOrBuilder> getAdsConfigFieldBuilder() { if (adsConfigBuilder_ == null) { adsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.ApiConfigSource, io.envoyproxy.envoy.config.core.v3.ApiConfigSource.Builder, io.envoyproxy.envoy.config.core.v3.ApiConfigSourceOrBuilder>( getAdsConfig(), getParentForChildren(), isClean()); adsConfig_ = null; } return adsConfigBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:envoy.config.bootstrap.v3.Bootstrap.DynamicResources) } // @@protoc_insertion_point(class_scope:envoy.config.bootstrap.v3.Bootstrap.DynamicResources) private static final io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources(); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DynamicResources parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ApplicationLogConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig) com.google.protobuf.MessageOrBuilder { /** *
     * Optional field to set the application logs format. If this field is set, it will override
     * the default log format. Setting both this field and :option:`--log-format` command line
     * option is not allowed, and will cause a bootstrap error.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat log_format = 1; * @return Whether the logFormat field is set. */ boolean hasLogFormat(); /** *
     * Optional field to set the application logs format. If this field is set, it will override
     * the default log format. Setting both this field and :option:`--log-format` command line
     * option is not allowed, and will cause a bootstrap error.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat log_format = 1; * @return The logFormat. */ io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat getLogFormat(); /** *
     * Optional field to set the application logs format. If this field is set, it will override
     * the default log format. Setting both this field and :option:`--log-format` command line
     * option is not allowed, and will cause a bootstrap error.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat log_format = 1; */ io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormatOrBuilder getLogFormatOrBuilder(); } /** * Protobuf type {@code envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig} */ public static final class ApplicationLogConfig extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig) ApplicationLogConfigOrBuilder { private static final long serialVersionUID = 0L; // Use ApplicationLogConfig.newBuilder() to construct. private ApplicationLogConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ApplicationLogConfig() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ApplicationLogConfig(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.config.bootstrap.v3.BootstrapProto.internal_static_envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.config.bootstrap.v3.BootstrapProto.internal_static_envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.class, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.Builder.class); } public interface LogFormatOrBuilder extends // @@protoc_insertion_point(interface_extends:envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat) com.google.protobuf.MessageOrBuilder { /** *
       * Flush application logs in JSON format. The configured JSON struct can
       * support all the format flags specified in the :option:`--log-format`
       * command line options section, except for the ``%v`` and ``%_`` flags.
       * 
* * .google.protobuf.Struct json_format = 1; * @return Whether the jsonFormat field is set. */ boolean hasJsonFormat(); /** *
       * Flush application logs in JSON format. The configured JSON struct can
       * support all the format flags specified in the :option:`--log-format`
       * command line options section, except for the ``%v`` and ``%_`` flags.
       * 
* * .google.protobuf.Struct json_format = 1; * @return The jsonFormat. */ com.google.protobuf.Struct getJsonFormat(); /** *
       * Flush application logs in JSON format. The configured JSON struct can
       * support all the format flags specified in the :option:`--log-format`
       * command line options section, except for the ``%v`` and ``%_`` flags.
       * 
* * .google.protobuf.Struct json_format = 1; */ com.google.protobuf.StructOrBuilder getJsonFormatOrBuilder(); /** *
       * Flush application log in a format defined by a string. The text format
       * can support all the format flags specified in the :option:`--log-format`
       * command line option section.
       * 
* * string text_format = 2; * @return Whether the textFormat field is set. */ boolean hasTextFormat(); /** *
       * Flush application log in a format defined by a string. The text format
       * can support all the format flags specified in the :option:`--log-format`
       * command line option section.
       * 
* * string text_format = 2; * @return The textFormat. */ java.lang.String getTextFormat(); /** *
       * Flush application log in a format defined by a string. The text format
       * can support all the format flags specified in the :option:`--log-format`
       * command line option section.
       * 
* * string text_format = 2; * @return The bytes for textFormat. */ com.google.protobuf.ByteString getTextFormatBytes(); io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat.LogFormatCase getLogFormatCase(); } /** * Protobuf type {@code envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat} */ public static final class LogFormat extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat) LogFormatOrBuilder { private static final long serialVersionUID = 0L; // Use LogFormat.newBuilder() to construct. private LogFormat(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private LogFormat() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new LogFormat(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.config.bootstrap.v3.BootstrapProto.internal_static_envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.config.bootstrap.v3.BootstrapProto.internal_static_envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat.class, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat.Builder.class); } private int logFormatCase_ = 0; @SuppressWarnings("serial") private java.lang.Object logFormat_; public enum LogFormatCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { JSON_FORMAT(1), TEXT_FORMAT(2), LOGFORMAT_NOT_SET(0); private final int value; private LogFormatCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static LogFormatCase valueOf(int value) { return forNumber(value); } public static LogFormatCase forNumber(int value) { switch (value) { case 1: return JSON_FORMAT; case 2: return TEXT_FORMAT; case 0: return LOGFORMAT_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public LogFormatCase getLogFormatCase() { return LogFormatCase.forNumber( logFormatCase_); } public static final int JSON_FORMAT_FIELD_NUMBER = 1; /** *
       * Flush application logs in JSON format. The configured JSON struct can
       * support all the format flags specified in the :option:`--log-format`
       * command line options section, except for the ``%v`` and ``%_`` flags.
       * 
* * .google.protobuf.Struct json_format = 1; * @return Whether the jsonFormat field is set. */ @java.lang.Override public boolean hasJsonFormat() { return logFormatCase_ == 1; } /** *
       * Flush application logs in JSON format. The configured JSON struct can
       * support all the format flags specified in the :option:`--log-format`
       * command line options section, except for the ``%v`` and ``%_`` flags.
       * 
* * .google.protobuf.Struct json_format = 1; * @return The jsonFormat. */ @java.lang.Override public com.google.protobuf.Struct getJsonFormat() { if (logFormatCase_ == 1) { return (com.google.protobuf.Struct) logFormat_; } return com.google.protobuf.Struct.getDefaultInstance(); } /** *
       * Flush application logs in JSON format. The configured JSON struct can
       * support all the format flags specified in the :option:`--log-format`
       * command line options section, except for the ``%v`` and ``%_`` flags.
       * 
* * .google.protobuf.Struct json_format = 1; */ @java.lang.Override public com.google.protobuf.StructOrBuilder getJsonFormatOrBuilder() { if (logFormatCase_ == 1) { return (com.google.protobuf.Struct) logFormat_; } return com.google.protobuf.Struct.getDefaultInstance(); } public static final int TEXT_FORMAT_FIELD_NUMBER = 2; /** *
       * Flush application log in a format defined by a string. The text format
       * can support all the format flags specified in the :option:`--log-format`
       * command line option section.
       * 
* * string text_format = 2; * @return Whether the textFormat field is set. */ public boolean hasTextFormat() { return logFormatCase_ == 2; } /** *
       * Flush application log in a format defined by a string. The text format
       * can support all the format flags specified in the :option:`--log-format`
       * command line option section.
       * 
* * string text_format = 2; * @return The textFormat. */ public java.lang.String getTextFormat() { java.lang.Object ref = ""; if (logFormatCase_ == 2) { ref = logFormat_; } if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (logFormatCase_ == 2) { logFormat_ = s; } return s; } } /** *
       * Flush application log in a format defined by a string. The text format
       * can support all the format flags specified in the :option:`--log-format`
       * command line option section.
       * 
* * string text_format = 2; * @return The bytes for textFormat. */ public com.google.protobuf.ByteString getTextFormatBytes() { java.lang.Object ref = ""; if (logFormatCase_ == 2) { ref = logFormat_; } if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); if (logFormatCase_ == 2) { logFormat_ = b; } return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (logFormatCase_ == 1) { output.writeMessage(1, (com.google.protobuf.Struct) logFormat_); } if (logFormatCase_ == 2) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, logFormat_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (logFormatCase_ == 1) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, (com.google.protobuf.Struct) logFormat_); } if (logFormatCase_ == 2) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, logFormat_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat)) { return super.equals(obj); } io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat other = (io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat) obj; if (!getLogFormatCase().equals(other.getLogFormatCase())) return false; switch (logFormatCase_) { case 1: if (!getJsonFormat() .equals(other.getJsonFormat())) return false; break; case 2: if (!getTextFormat() .equals(other.getTextFormat())) return false; break; case 0: default: } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); switch (logFormatCase_) { case 1: hash = (37 * hash) + JSON_FORMAT_FIELD_NUMBER; hash = (53 * hash) + getJsonFormat().hashCode(); break; case 2: hash = (37 * hash) + TEXT_FORMAT_FIELD_NUMBER; hash = (53 * hash) + getTextFormat().hashCode(); break; case 0: default: } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat) io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormatOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.config.bootstrap.v3.BootstrapProto.internal_static_envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.config.bootstrap.v3.BootstrapProto.internal_static_envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat.class, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat.Builder.class); } // Construct using io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; if (jsonFormatBuilder_ != null) { jsonFormatBuilder_.clear(); } logFormatCase_ = 0; logFormat_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.envoyproxy.envoy.config.bootstrap.v3.BootstrapProto.internal_static_envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_LogFormat_descriptor; } @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat getDefaultInstanceForType() { return io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat.getDefaultInstance(); } @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat build() { io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat buildPartial() { io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat result = new io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat(this); if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; } private void buildPartial0(io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat result) { int from_bitField0_ = bitField0_; } private void buildPartialOneofs(io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat result) { result.logFormatCase_ = logFormatCase_; result.logFormat_ = this.logFormat_; if (logFormatCase_ == 1 && jsonFormatBuilder_ != null) { result.logFormat_ = jsonFormatBuilder_.build(); } } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat) { return mergeFrom((io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat other) { if (other == io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat.getDefaultInstance()) return this; switch (other.getLogFormatCase()) { case JSON_FORMAT: { mergeJsonFormat(other.getJsonFormat()); break; } case TEXT_FORMAT: { logFormatCase_ = 2; logFormat_ = other.logFormat_; onChanged(); break; } case LOGFORMAT_NOT_SET: { break; } } this.mergeUnknownFields(other.getUnknownFields()); 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 { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { input.readMessage( getJsonFormatFieldBuilder().getBuilder(), extensionRegistry); logFormatCase_ = 1; break; } // case 10 case 18: { java.lang.String s = input.readStringRequireUtf8(); logFormatCase_ = 2; logFormat_ = s; break; } // case 18 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int logFormatCase_ = 0; private java.lang.Object logFormat_; public LogFormatCase getLogFormatCase() { return LogFormatCase.forNumber( logFormatCase_); } public Builder clearLogFormat() { logFormatCase_ = 0; logFormat_ = null; onChanged(); return this; } private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> jsonFormatBuilder_; /** *
         * Flush application logs in JSON format. The configured JSON struct can
         * support all the format flags specified in the :option:`--log-format`
         * command line options section, except for the ``%v`` and ``%_`` flags.
         * 
* * .google.protobuf.Struct json_format = 1; * @return Whether the jsonFormat field is set. */ @java.lang.Override public boolean hasJsonFormat() { return logFormatCase_ == 1; } /** *
         * Flush application logs in JSON format. The configured JSON struct can
         * support all the format flags specified in the :option:`--log-format`
         * command line options section, except for the ``%v`` and ``%_`` flags.
         * 
* * .google.protobuf.Struct json_format = 1; * @return The jsonFormat. */ @java.lang.Override public com.google.protobuf.Struct getJsonFormat() { if (jsonFormatBuilder_ == null) { if (logFormatCase_ == 1) { return (com.google.protobuf.Struct) logFormat_; } return com.google.protobuf.Struct.getDefaultInstance(); } else { if (logFormatCase_ == 1) { return jsonFormatBuilder_.getMessage(); } return com.google.protobuf.Struct.getDefaultInstance(); } } /** *
         * Flush application logs in JSON format. The configured JSON struct can
         * support all the format flags specified in the :option:`--log-format`
         * command line options section, except for the ``%v`` and ``%_`` flags.
         * 
* * .google.protobuf.Struct json_format = 1; */ public Builder setJsonFormat(com.google.protobuf.Struct value) { if (jsonFormatBuilder_ == null) { if (value == null) { throw new NullPointerException(); } logFormat_ = value; onChanged(); } else { jsonFormatBuilder_.setMessage(value); } logFormatCase_ = 1; return this; } /** *
         * Flush application logs in JSON format. The configured JSON struct can
         * support all the format flags specified in the :option:`--log-format`
         * command line options section, except for the ``%v`` and ``%_`` flags.
         * 
* * .google.protobuf.Struct json_format = 1; */ public Builder setJsonFormat( com.google.protobuf.Struct.Builder builderForValue) { if (jsonFormatBuilder_ == null) { logFormat_ = builderForValue.build(); onChanged(); } else { jsonFormatBuilder_.setMessage(builderForValue.build()); } logFormatCase_ = 1; return this; } /** *
         * Flush application logs in JSON format. The configured JSON struct can
         * support all the format flags specified in the :option:`--log-format`
         * command line options section, except for the ``%v`` and ``%_`` flags.
         * 
* * .google.protobuf.Struct json_format = 1; */ public Builder mergeJsonFormat(com.google.protobuf.Struct value) { if (jsonFormatBuilder_ == null) { if (logFormatCase_ == 1 && logFormat_ != com.google.protobuf.Struct.getDefaultInstance()) { logFormat_ = com.google.protobuf.Struct.newBuilder((com.google.protobuf.Struct) logFormat_) .mergeFrom(value).buildPartial(); } else { logFormat_ = value; } onChanged(); } else { if (logFormatCase_ == 1) { jsonFormatBuilder_.mergeFrom(value); } else { jsonFormatBuilder_.setMessage(value); } } logFormatCase_ = 1; return this; } /** *
         * Flush application logs in JSON format. The configured JSON struct can
         * support all the format flags specified in the :option:`--log-format`
         * command line options section, except for the ``%v`` and ``%_`` flags.
         * 
* * .google.protobuf.Struct json_format = 1; */ public Builder clearJsonFormat() { if (jsonFormatBuilder_ == null) { if (logFormatCase_ == 1) { logFormatCase_ = 0; logFormat_ = null; onChanged(); } } else { if (logFormatCase_ == 1) { logFormatCase_ = 0; logFormat_ = null; } jsonFormatBuilder_.clear(); } return this; } /** *
         * Flush application logs in JSON format. The configured JSON struct can
         * support all the format flags specified in the :option:`--log-format`
         * command line options section, except for the ``%v`` and ``%_`` flags.
         * 
* * .google.protobuf.Struct json_format = 1; */ public com.google.protobuf.Struct.Builder getJsonFormatBuilder() { return getJsonFormatFieldBuilder().getBuilder(); } /** *
         * Flush application logs in JSON format. The configured JSON struct can
         * support all the format flags specified in the :option:`--log-format`
         * command line options section, except for the ``%v`` and ``%_`` flags.
         * 
* * .google.protobuf.Struct json_format = 1; */ @java.lang.Override public com.google.protobuf.StructOrBuilder getJsonFormatOrBuilder() { if ((logFormatCase_ == 1) && (jsonFormatBuilder_ != null)) { return jsonFormatBuilder_.getMessageOrBuilder(); } else { if (logFormatCase_ == 1) { return (com.google.protobuf.Struct) logFormat_; } return com.google.protobuf.Struct.getDefaultInstance(); } } /** *
         * Flush application logs in JSON format. The configured JSON struct can
         * support all the format flags specified in the :option:`--log-format`
         * command line options section, except for the ``%v`` and ``%_`` flags.
         * 
* * .google.protobuf.Struct json_format = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> getJsonFormatFieldBuilder() { if (jsonFormatBuilder_ == null) { if (!(logFormatCase_ == 1)) { logFormat_ = com.google.protobuf.Struct.getDefaultInstance(); } jsonFormatBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>( (com.google.protobuf.Struct) logFormat_, getParentForChildren(), isClean()); logFormat_ = null; } logFormatCase_ = 1; onChanged(); return jsonFormatBuilder_; } /** *
         * Flush application log in a format defined by a string. The text format
         * can support all the format flags specified in the :option:`--log-format`
         * command line option section.
         * 
* * string text_format = 2; * @return Whether the textFormat field is set. */ @java.lang.Override public boolean hasTextFormat() { return logFormatCase_ == 2; } /** *
         * Flush application log in a format defined by a string. The text format
         * can support all the format flags specified in the :option:`--log-format`
         * command line option section.
         * 
* * string text_format = 2; * @return The textFormat. */ @java.lang.Override public java.lang.String getTextFormat() { java.lang.Object ref = ""; if (logFormatCase_ == 2) { ref = logFormat_; } if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (logFormatCase_ == 2) { logFormat_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
         * Flush application log in a format defined by a string. The text format
         * can support all the format flags specified in the :option:`--log-format`
         * command line option section.
         * 
* * string text_format = 2; * @return The bytes for textFormat. */ @java.lang.Override public com.google.protobuf.ByteString getTextFormatBytes() { java.lang.Object ref = ""; if (logFormatCase_ == 2) { ref = logFormat_; } if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); if (logFormatCase_ == 2) { logFormat_ = b; } return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
         * Flush application log in a format defined by a string. The text format
         * can support all the format flags specified in the :option:`--log-format`
         * command line option section.
         * 
* * string text_format = 2; * @param value The textFormat to set. * @return This builder for chaining. */ public Builder setTextFormat( java.lang.String value) { if (value == null) { throw new NullPointerException(); } logFormatCase_ = 2; logFormat_ = value; onChanged(); return this; } /** *
         * Flush application log in a format defined by a string. The text format
         * can support all the format flags specified in the :option:`--log-format`
         * command line option section.
         * 
* * string text_format = 2; * @return This builder for chaining. */ public Builder clearTextFormat() { if (logFormatCase_ == 2) { logFormatCase_ = 0; logFormat_ = null; onChanged(); } return this; } /** *
         * Flush application log in a format defined by a string. The text format
         * can support all the format flags specified in the :option:`--log-format`
         * command line option section.
         * 
* * string text_format = 2; * @param value The bytes for textFormat to set. * @return This builder for chaining. */ public Builder setTextFormatBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); logFormatCase_ = 2; logFormat_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat) } // @@protoc_insertion_point(class_scope:envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat) private static final io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat(); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public LogFormat parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private int bitField0_; public static final int LOG_FORMAT_FIELD_NUMBER = 1; private io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat logFormat_; /** *
     * Optional field to set the application logs format. If this field is set, it will override
     * the default log format. Setting both this field and :option:`--log-format` command line
     * option is not allowed, and will cause a bootstrap error.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat log_format = 1; * @return Whether the logFormat field is set. */ @java.lang.Override public boolean hasLogFormat() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Optional field to set the application logs format. If this field is set, it will override
     * the default log format. Setting both this field and :option:`--log-format` command line
     * option is not allowed, and will cause a bootstrap error.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat log_format = 1; * @return The logFormat. */ @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat getLogFormat() { return logFormat_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat.getDefaultInstance() : logFormat_; } /** *
     * Optional field to set the application logs format. If this field is set, it will override
     * the default log format. Setting both this field and :option:`--log-format` command line
     * option is not allowed, and will cause a bootstrap error.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat log_format = 1; */ @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormatOrBuilder getLogFormatOrBuilder() { return logFormat_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat.getDefaultInstance() : logFormat_; } 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 (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getLogFormat()); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getLogFormat()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig)) { return super.equals(obj); } io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig other = (io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig) obj; if (hasLogFormat() != other.hasLogFormat()) return false; if (hasLogFormat()) { if (!getLogFormat() .equals(other.getLogFormat())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasLogFormat()) { hash = (37 * hash) + LOG_FORMAT_FIELD_NUMBER; hash = (53 * hash) + getLogFormat().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig) io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfigOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.config.bootstrap.v3.BootstrapProto.internal_static_envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.config.bootstrap.v3.BootstrapProto.internal_static_envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.class, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.Builder.class); } // Construct using io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getLogFormatFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; logFormat_ = null; if (logFormatBuilder_ != null) { logFormatBuilder_.dispose(); logFormatBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.envoyproxy.envoy.config.bootstrap.v3.BootstrapProto.internal_static_envoy_config_bootstrap_v3_Bootstrap_ApplicationLogConfig_descriptor; } @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig getDefaultInstanceForType() { return io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.getDefaultInstance(); } @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig build() { io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig buildPartial() { io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig result = new io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.logFormat_ = logFormatBuilder_ == null ? logFormat_ : logFormatBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig) { return mergeFrom((io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig other) { if (other == io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.getDefaultInstance()) return this; if (other.hasLogFormat()) { mergeLogFormat(other.getLogFormat()); } this.mergeUnknownFields(other.getUnknownFields()); 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 { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { input.readMessage( getLogFormatFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat logFormat_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat.Builder, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormatOrBuilder> logFormatBuilder_; /** *
       * Optional field to set the application logs format. If this field is set, it will override
       * the default log format. Setting both this field and :option:`--log-format` command line
       * option is not allowed, and will cause a bootstrap error.
       * 
* * .envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat log_format = 1; * @return Whether the logFormat field is set. */ public boolean hasLogFormat() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * Optional field to set the application logs format. If this field is set, it will override
       * the default log format. Setting both this field and :option:`--log-format` command line
       * option is not allowed, and will cause a bootstrap error.
       * 
* * .envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat log_format = 1; * @return The logFormat. */ public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat getLogFormat() { if (logFormatBuilder_ == null) { return logFormat_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat.getDefaultInstance() : logFormat_; } else { return logFormatBuilder_.getMessage(); } } /** *
       * Optional field to set the application logs format. If this field is set, it will override
       * the default log format. Setting both this field and :option:`--log-format` command line
       * option is not allowed, and will cause a bootstrap error.
       * 
* * .envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat log_format = 1; */ public Builder setLogFormat(io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat value) { if (logFormatBuilder_ == null) { if (value == null) { throw new NullPointerException(); } logFormat_ = value; } else { logFormatBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * Optional field to set the application logs format. If this field is set, it will override
       * the default log format. Setting both this field and :option:`--log-format` command line
       * option is not allowed, and will cause a bootstrap error.
       * 
* * .envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat log_format = 1; */ public Builder setLogFormat( io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat.Builder builderForValue) { if (logFormatBuilder_ == null) { logFormat_ = builderForValue.build(); } else { logFormatBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * Optional field to set the application logs format. If this field is set, it will override
       * the default log format. Setting both this field and :option:`--log-format` command line
       * option is not allowed, and will cause a bootstrap error.
       * 
* * .envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat log_format = 1; */ public Builder mergeLogFormat(io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat value) { if (logFormatBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && logFormat_ != null && logFormat_ != io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat.getDefaultInstance()) { getLogFormatBuilder().mergeFrom(value); } else { logFormat_ = value; } } else { logFormatBuilder_.mergeFrom(value); } if (logFormat_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** *
       * Optional field to set the application logs format. If this field is set, it will override
       * the default log format. Setting both this field and :option:`--log-format` command line
       * option is not allowed, and will cause a bootstrap error.
       * 
* * .envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat log_format = 1; */ public Builder clearLogFormat() { bitField0_ = (bitField0_ & ~0x00000001); logFormat_ = null; if (logFormatBuilder_ != null) { logFormatBuilder_.dispose(); logFormatBuilder_ = null; } onChanged(); return this; } /** *
       * Optional field to set the application logs format. If this field is set, it will override
       * the default log format. Setting both this field and :option:`--log-format` command line
       * option is not allowed, and will cause a bootstrap error.
       * 
* * .envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat log_format = 1; */ public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat.Builder getLogFormatBuilder() { bitField0_ |= 0x00000001; onChanged(); return getLogFormatFieldBuilder().getBuilder(); } /** *
       * Optional field to set the application logs format. If this field is set, it will override
       * the default log format. Setting both this field and :option:`--log-format` command line
       * option is not allowed, and will cause a bootstrap error.
       * 
* * .envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat log_format = 1; */ public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormatOrBuilder getLogFormatOrBuilder() { if (logFormatBuilder_ != null) { return logFormatBuilder_.getMessageOrBuilder(); } else { return logFormat_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat.getDefaultInstance() : logFormat_; } } /** *
       * Optional field to set the application logs format. If this field is set, it will override
       * the default log format. Setting both this field and :option:`--log-format` command line
       * option is not allowed, and will cause a bootstrap error.
       * 
* * .envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat log_format = 1; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat.Builder, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormatOrBuilder> getLogFormatFieldBuilder() { if (logFormatBuilder_ == null) { logFormatBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormat.Builder, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.LogFormatOrBuilder>( getLogFormat(), getParentForChildren(), isClean()); logFormat_ = null; } return logFormatBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig) } // @@protoc_insertion_point(class_scope:envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig) private static final io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig(); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ApplicationLogConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DeferredStatOptionsOrBuilder extends // @@protoc_insertion_point(interface_extends:envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions) com.google.protobuf.MessageOrBuilder { /** *
     * When the flag is enabled, Envoy will lazily initialize a subset of the stats (see below).
     * This will save memory and CPU cycles when creating the objects that own these stats, if those
     * stats are never referenced throughout the lifetime of the process. However, it will incur additional
     * memory overhead for these objects, and a small increase of CPU usage when a at least one of the stats
     * is updated for the first time.
     * Groups of stats that will be lazily initialized:
     * - Cluster traffic stats: a subgroup of the :ref:`cluster statistics <config_cluster_manager_cluster_stats>`
     * that are used when requests are routed to the cluster.
     * 
* * bool enable_deferred_creation_stats = 1; * @return The enableDeferredCreationStats. */ boolean getEnableDeferredCreationStats(); } /** * Protobuf type {@code envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions} */ public static final class DeferredStatOptions extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions) DeferredStatOptionsOrBuilder { private static final long serialVersionUID = 0L; // Use DeferredStatOptions.newBuilder() to construct. private DeferredStatOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DeferredStatOptions() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DeferredStatOptions(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.config.bootstrap.v3.BootstrapProto.internal_static_envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.config.bootstrap.v3.BootstrapProto.internal_static_envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions.class, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions.Builder.class); } public static final int ENABLE_DEFERRED_CREATION_STATS_FIELD_NUMBER = 1; private boolean enableDeferredCreationStats_ = false; /** *
     * When the flag is enabled, Envoy will lazily initialize a subset of the stats (see below).
     * This will save memory and CPU cycles when creating the objects that own these stats, if those
     * stats are never referenced throughout the lifetime of the process. However, it will incur additional
     * memory overhead for these objects, and a small increase of CPU usage when a at least one of the stats
     * is updated for the first time.
     * Groups of stats that will be lazily initialized:
     * - Cluster traffic stats: a subgroup of the :ref:`cluster statistics <config_cluster_manager_cluster_stats>`
     * that are used when requests are routed to the cluster.
     * 
* * bool enable_deferred_creation_stats = 1; * @return The enableDeferredCreationStats. */ @java.lang.Override public boolean getEnableDeferredCreationStats() { return enableDeferredCreationStats_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (enableDeferredCreationStats_ != false) { output.writeBool(1, enableDeferredCreationStats_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (enableDeferredCreationStats_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(1, enableDeferredCreationStats_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions)) { return super.equals(obj); } io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions other = (io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions) obj; if (getEnableDeferredCreationStats() != other.getEnableDeferredCreationStats()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ENABLE_DEFERRED_CREATION_STATS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getEnableDeferredCreationStats()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions) io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptionsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.config.bootstrap.v3.BootstrapProto.internal_static_envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.config.bootstrap.v3.BootstrapProto.internal_static_envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions.class, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions.Builder.class); } // Construct using io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; enableDeferredCreationStats_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.envoyproxy.envoy.config.bootstrap.v3.BootstrapProto.internal_static_envoy_config_bootstrap_v3_Bootstrap_DeferredStatOptions_descriptor; } @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions getDefaultInstanceForType() { return io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions.getDefaultInstance(); } @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions build() { io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions buildPartial() { io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions result = new io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.enableDeferredCreationStats_ = enableDeferredCreationStats_; } } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions) { return mergeFrom((io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions other) { if (other == io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions.getDefaultInstance()) return this; if (other.getEnableDeferredCreationStats() != false) { setEnableDeferredCreationStats(other.getEnableDeferredCreationStats()); } this.mergeUnknownFields(other.getUnknownFields()); 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 { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { enableDeferredCreationStats_ = input.readBool(); bitField0_ |= 0x00000001; break; } // case 8 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private boolean enableDeferredCreationStats_ ; /** *
       * When the flag is enabled, Envoy will lazily initialize a subset of the stats (see below).
       * This will save memory and CPU cycles when creating the objects that own these stats, if those
       * stats are never referenced throughout the lifetime of the process. However, it will incur additional
       * memory overhead for these objects, and a small increase of CPU usage when a at least one of the stats
       * is updated for the first time.
       * Groups of stats that will be lazily initialized:
       * - Cluster traffic stats: a subgroup of the :ref:`cluster statistics <config_cluster_manager_cluster_stats>`
       * that are used when requests are routed to the cluster.
       * 
* * bool enable_deferred_creation_stats = 1; * @return The enableDeferredCreationStats. */ @java.lang.Override public boolean getEnableDeferredCreationStats() { return enableDeferredCreationStats_; } /** *
       * When the flag is enabled, Envoy will lazily initialize a subset of the stats (see below).
       * This will save memory and CPU cycles when creating the objects that own these stats, if those
       * stats are never referenced throughout the lifetime of the process. However, it will incur additional
       * memory overhead for these objects, and a small increase of CPU usage when a at least one of the stats
       * is updated for the first time.
       * Groups of stats that will be lazily initialized:
       * - Cluster traffic stats: a subgroup of the :ref:`cluster statistics <config_cluster_manager_cluster_stats>`
       * that are used when requests are routed to the cluster.
       * 
* * bool enable_deferred_creation_stats = 1; * @param value The enableDeferredCreationStats to set. * @return This builder for chaining. */ public Builder setEnableDeferredCreationStats(boolean value) { enableDeferredCreationStats_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * When the flag is enabled, Envoy will lazily initialize a subset of the stats (see below).
       * This will save memory and CPU cycles when creating the objects that own these stats, if those
       * stats are never referenced throughout the lifetime of the process. However, it will incur additional
       * memory overhead for these objects, and a small increase of CPU usage when a at least one of the stats
       * is updated for the first time.
       * Groups of stats that will be lazily initialized:
       * - Cluster traffic stats: a subgroup of the :ref:`cluster statistics <config_cluster_manager_cluster_stats>`
       * that are used when requests are routed to the cluster.
       * 
* * bool enable_deferred_creation_stats = 1; * @return This builder for chaining. */ public Builder clearEnableDeferredCreationStats() { bitField0_ = (bitField0_ & ~0x00000001); enableDeferredCreationStats_ = false; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions) } // @@protoc_insertion_point(class_scope:envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions) private static final io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions(); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DeferredStatOptions parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GrpcAsyncClientManagerConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig) com.google.protobuf.MessageOrBuilder { /** *
     * Optional field to set the expiration time for the cached gRPC client object.
     * The minimal value is 5s and the default is 50s.
     * 
* * .google.protobuf.Duration max_cached_entry_idle_duration = 1 [(.validate.rules) = { ... } * @return Whether the maxCachedEntryIdleDuration field is set. */ boolean hasMaxCachedEntryIdleDuration(); /** *
     * Optional field to set the expiration time for the cached gRPC client object.
     * The minimal value is 5s and the default is 50s.
     * 
* * .google.protobuf.Duration max_cached_entry_idle_duration = 1 [(.validate.rules) = { ... } * @return The maxCachedEntryIdleDuration. */ com.google.protobuf.Duration getMaxCachedEntryIdleDuration(); /** *
     * Optional field to set the expiration time for the cached gRPC client object.
     * The minimal value is 5s and the default is 50s.
     * 
* * .google.protobuf.Duration max_cached_entry_idle_duration = 1 [(.validate.rules) = { ... } */ com.google.protobuf.DurationOrBuilder getMaxCachedEntryIdleDurationOrBuilder(); } /** * Protobuf type {@code envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig} */ public static final class GrpcAsyncClientManagerConfig extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig) GrpcAsyncClientManagerConfigOrBuilder { private static final long serialVersionUID = 0L; // Use GrpcAsyncClientManagerConfig.newBuilder() to construct. private GrpcAsyncClientManagerConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GrpcAsyncClientManagerConfig() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GrpcAsyncClientManagerConfig(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.config.bootstrap.v3.BootstrapProto.internal_static_envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.config.bootstrap.v3.BootstrapProto.internal_static_envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig.class, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig.Builder.class); } private int bitField0_; public static final int MAX_CACHED_ENTRY_IDLE_DURATION_FIELD_NUMBER = 1; private com.google.protobuf.Duration maxCachedEntryIdleDuration_; /** *
     * Optional field to set the expiration time for the cached gRPC client object.
     * The minimal value is 5s and the default is 50s.
     * 
* * .google.protobuf.Duration max_cached_entry_idle_duration = 1 [(.validate.rules) = { ... } * @return Whether the maxCachedEntryIdleDuration field is set. */ @java.lang.Override public boolean hasMaxCachedEntryIdleDuration() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Optional field to set the expiration time for the cached gRPC client object.
     * The minimal value is 5s and the default is 50s.
     * 
* * .google.protobuf.Duration max_cached_entry_idle_duration = 1 [(.validate.rules) = { ... } * @return The maxCachedEntryIdleDuration. */ @java.lang.Override public com.google.protobuf.Duration getMaxCachedEntryIdleDuration() { return maxCachedEntryIdleDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxCachedEntryIdleDuration_; } /** *
     * Optional field to set the expiration time for the cached gRPC client object.
     * The minimal value is 5s and the default is 50s.
     * 
* * .google.protobuf.Duration max_cached_entry_idle_duration = 1 [(.validate.rules) = { ... } */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getMaxCachedEntryIdleDurationOrBuilder() { return maxCachedEntryIdleDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxCachedEntryIdleDuration_; } 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 (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getMaxCachedEntryIdleDuration()); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getMaxCachedEntryIdleDuration()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig)) { return super.equals(obj); } io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig other = (io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig) obj; if (hasMaxCachedEntryIdleDuration() != other.hasMaxCachedEntryIdleDuration()) return false; if (hasMaxCachedEntryIdleDuration()) { if (!getMaxCachedEntryIdleDuration() .equals(other.getMaxCachedEntryIdleDuration())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasMaxCachedEntryIdleDuration()) { hash = (37 * hash) + MAX_CACHED_ENTRY_IDLE_DURATION_FIELD_NUMBER; hash = (53 * hash) + getMaxCachedEntryIdleDuration().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig) io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfigOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.config.bootstrap.v3.BootstrapProto.internal_static_envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.config.bootstrap.v3.BootstrapProto.internal_static_envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig.class, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig.Builder.class); } // Construct using io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getMaxCachedEntryIdleDurationFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; maxCachedEntryIdleDuration_ = null; if (maxCachedEntryIdleDurationBuilder_ != null) { maxCachedEntryIdleDurationBuilder_.dispose(); maxCachedEntryIdleDurationBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.envoyproxy.envoy.config.bootstrap.v3.BootstrapProto.internal_static_envoy_config_bootstrap_v3_Bootstrap_GrpcAsyncClientManagerConfig_descriptor; } @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig getDefaultInstanceForType() { return io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig.getDefaultInstance(); } @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig build() { io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig buildPartial() { io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig result = new io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.maxCachedEntryIdleDuration_ = maxCachedEntryIdleDurationBuilder_ == null ? maxCachedEntryIdleDuration_ : maxCachedEntryIdleDurationBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig) { return mergeFrom((io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig other) { if (other == io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig.getDefaultInstance()) return this; if (other.hasMaxCachedEntryIdleDuration()) { mergeMaxCachedEntryIdleDuration(other.getMaxCachedEntryIdleDuration()); } this.mergeUnknownFields(other.getUnknownFields()); 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 { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { input.readMessage( getMaxCachedEntryIdleDurationFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private com.google.protobuf.Duration maxCachedEntryIdleDuration_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> maxCachedEntryIdleDurationBuilder_; /** *
       * Optional field to set the expiration time for the cached gRPC client object.
       * The minimal value is 5s and the default is 50s.
       * 
* * .google.protobuf.Duration max_cached_entry_idle_duration = 1 [(.validate.rules) = { ... } * @return Whether the maxCachedEntryIdleDuration field is set. */ public boolean hasMaxCachedEntryIdleDuration() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * Optional field to set the expiration time for the cached gRPC client object.
       * The minimal value is 5s and the default is 50s.
       * 
* * .google.protobuf.Duration max_cached_entry_idle_duration = 1 [(.validate.rules) = { ... } * @return The maxCachedEntryIdleDuration. */ public com.google.protobuf.Duration getMaxCachedEntryIdleDuration() { if (maxCachedEntryIdleDurationBuilder_ == null) { return maxCachedEntryIdleDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxCachedEntryIdleDuration_; } else { return maxCachedEntryIdleDurationBuilder_.getMessage(); } } /** *
       * Optional field to set the expiration time for the cached gRPC client object.
       * The minimal value is 5s and the default is 50s.
       * 
* * .google.protobuf.Duration max_cached_entry_idle_duration = 1 [(.validate.rules) = { ... } */ public Builder setMaxCachedEntryIdleDuration(com.google.protobuf.Duration value) { if (maxCachedEntryIdleDurationBuilder_ == null) { if (value == null) { throw new NullPointerException(); } maxCachedEntryIdleDuration_ = value; } else { maxCachedEntryIdleDurationBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * Optional field to set the expiration time for the cached gRPC client object.
       * The minimal value is 5s and the default is 50s.
       * 
* * .google.protobuf.Duration max_cached_entry_idle_duration = 1 [(.validate.rules) = { ... } */ public Builder setMaxCachedEntryIdleDuration( com.google.protobuf.Duration.Builder builderForValue) { if (maxCachedEntryIdleDurationBuilder_ == null) { maxCachedEntryIdleDuration_ = builderForValue.build(); } else { maxCachedEntryIdleDurationBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * Optional field to set the expiration time for the cached gRPC client object.
       * The minimal value is 5s and the default is 50s.
       * 
* * .google.protobuf.Duration max_cached_entry_idle_duration = 1 [(.validate.rules) = { ... } */ public Builder mergeMaxCachedEntryIdleDuration(com.google.protobuf.Duration value) { if (maxCachedEntryIdleDurationBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && maxCachedEntryIdleDuration_ != null && maxCachedEntryIdleDuration_ != com.google.protobuf.Duration.getDefaultInstance()) { getMaxCachedEntryIdleDurationBuilder().mergeFrom(value); } else { maxCachedEntryIdleDuration_ = value; } } else { maxCachedEntryIdleDurationBuilder_.mergeFrom(value); } if (maxCachedEntryIdleDuration_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** *
       * Optional field to set the expiration time for the cached gRPC client object.
       * The minimal value is 5s and the default is 50s.
       * 
* * .google.protobuf.Duration max_cached_entry_idle_duration = 1 [(.validate.rules) = { ... } */ public Builder clearMaxCachedEntryIdleDuration() { bitField0_ = (bitField0_ & ~0x00000001); maxCachedEntryIdleDuration_ = null; if (maxCachedEntryIdleDurationBuilder_ != null) { maxCachedEntryIdleDurationBuilder_.dispose(); maxCachedEntryIdleDurationBuilder_ = null; } onChanged(); return this; } /** *
       * Optional field to set the expiration time for the cached gRPC client object.
       * The minimal value is 5s and the default is 50s.
       * 
* * .google.protobuf.Duration max_cached_entry_idle_duration = 1 [(.validate.rules) = { ... } */ public com.google.protobuf.Duration.Builder getMaxCachedEntryIdleDurationBuilder() { bitField0_ |= 0x00000001; onChanged(); return getMaxCachedEntryIdleDurationFieldBuilder().getBuilder(); } /** *
       * Optional field to set the expiration time for the cached gRPC client object.
       * The minimal value is 5s and the default is 50s.
       * 
* * .google.protobuf.Duration max_cached_entry_idle_duration = 1 [(.validate.rules) = { ... } */ public com.google.protobuf.DurationOrBuilder getMaxCachedEntryIdleDurationOrBuilder() { if (maxCachedEntryIdleDurationBuilder_ != null) { return maxCachedEntryIdleDurationBuilder_.getMessageOrBuilder(); } else { return maxCachedEntryIdleDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : maxCachedEntryIdleDuration_; } } /** *
       * Optional field to set the expiration time for the cached gRPC client object.
       * The minimal value is 5s and the default is 50s.
       * 
* * .google.protobuf.Duration max_cached_entry_idle_duration = 1 [(.validate.rules) = { ... } */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> getMaxCachedEntryIdleDurationFieldBuilder() { if (maxCachedEntryIdleDurationBuilder_ == null) { maxCachedEntryIdleDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( getMaxCachedEntryIdleDuration(), getParentForChildren(), isClean()); maxCachedEntryIdleDuration_ = null; } return maxCachedEntryIdleDurationBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig) } // @@protoc_insertion_point(class_scope:envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig) private static final io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig(); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GrpcAsyncClientManagerConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private int bitField0_; private int statsFlushCase_ = 0; @SuppressWarnings("serial") private java.lang.Object statsFlush_; public enum StatsFlushCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { STATS_FLUSH_ON_ADMIN(29), STATSFLUSH_NOT_SET(0); private final int value; private StatsFlushCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static StatsFlushCase valueOf(int value) { return forNumber(value); } public static StatsFlushCase forNumber(int value) { switch (value) { case 29: return STATS_FLUSH_ON_ADMIN; case 0: return STATSFLUSH_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public StatsFlushCase getStatsFlushCase() { return StatsFlushCase.forNumber( statsFlushCase_); } public static final int NODE_FIELD_NUMBER = 1; private io.envoyproxy.envoy.config.core.v3.Node node_; /** *
   * Node identity to present to the management server and for instance
   * identification purposes (e.g. in generated headers).
   * 
* * .envoy.config.core.v3.Node node = 1; * @return Whether the node field is set. */ @java.lang.Override public boolean hasNode() { return ((bitField0_ & 0x00000001) != 0); } /** *
   * Node identity to present to the management server and for instance
   * identification purposes (e.g. in generated headers).
   * 
* * .envoy.config.core.v3.Node node = 1; * @return The node. */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.Node getNode() { return node_ == null ? io.envoyproxy.envoy.config.core.v3.Node.getDefaultInstance() : node_; } /** *
   * Node identity to present to the management server and for instance
   * identification purposes (e.g. in generated headers).
   * 
* * .envoy.config.core.v3.Node node = 1; */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.NodeOrBuilder getNodeOrBuilder() { return node_ == null ? io.envoyproxy.envoy.config.core.v3.Node.getDefaultInstance() : node_; } public static final int NODE_CONTEXT_PARAMS_FIELD_NUMBER = 26; @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList nodeContextParams_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** *
   * A list of :ref:`Node <envoy_v3_api_msg_config.core.v3.Node>` field names
   * that will be included in the context parameters of the effective
   * xdstp:// URL that is sent in a discovery request when resource
   * locators are used for LDS/CDS. Any non-string field will have its JSON
   * encoding set as the context parameter value, with the exception of
   * metadata, which will be flattened (see example below). The supported field
   * names are:
   * - "cluster"
   * - "id"
   * - "locality.region"
   * - "locality.sub_zone"
   * - "locality.zone"
   * - "metadata"
   * - "user_agent_build_version.metadata"
   * - "user_agent_build_version.version"
   * - "user_agent_name"
   * - "user_agent_version"
   *
   * The node context parameters act as a base layer dictionary for the context
   * parameters (i.e. more specific resource specific context parameters will
   * override). Field names will be prefixed with “udpa.node.” when included in
   * context parameters.
   *
   * For example, if node_context_params is ``["user_agent_name", "metadata"]``,
   * the implied context parameters might be::
   *
   *   node.user_agent_name: "envoy"
   *   node.metadata.foo: "{\"bar\": \"baz\"}"
   *   node.metadata.some: "42"
   *   node.metadata.thing: "\"thing\""
   *
   * [#not-implemented-hide:]
   * 
* * repeated string node_context_params = 26; * @return A list containing the nodeContextParams. */ public com.google.protobuf.ProtocolStringList getNodeContextParamsList() { return nodeContextParams_; } /** *
   * A list of :ref:`Node <envoy_v3_api_msg_config.core.v3.Node>` field names
   * that will be included in the context parameters of the effective
   * xdstp:// URL that is sent in a discovery request when resource
   * locators are used for LDS/CDS. Any non-string field will have its JSON
   * encoding set as the context parameter value, with the exception of
   * metadata, which will be flattened (see example below). The supported field
   * names are:
   * - "cluster"
   * - "id"
   * - "locality.region"
   * - "locality.sub_zone"
   * - "locality.zone"
   * - "metadata"
   * - "user_agent_build_version.metadata"
   * - "user_agent_build_version.version"
   * - "user_agent_name"
   * - "user_agent_version"
   *
   * The node context parameters act as a base layer dictionary for the context
   * parameters (i.e. more specific resource specific context parameters will
   * override). Field names will be prefixed with “udpa.node.” when included in
   * context parameters.
   *
   * For example, if node_context_params is ``["user_agent_name", "metadata"]``,
   * the implied context parameters might be::
   *
   *   node.user_agent_name: "envoy"
   *   node.metadata.foo: "{\"bar\": \"baz\"}"
   *   node.metadata.some: "42"
   *   node.metadata.thing: "\"thing\""
   *
   * [#not-implemented-hide:]
   * 
* * repeated string node_context_params = 26; * @return The count of nodeContextParams. */ public int getNodeContextParamsCount() { return nodeContextParams_.size(); } /** *
   * A list of :ref:`Node <envoy_v3_api_msg_config.core.v3.Node>` field names
   * that will be included in the context parameters of the effective
   * xdstp:// URL that is sent in a discovery request when resource
   * locators are used for LDS/CDS. Any non-string field will have its JSON
   * encoding set as the context parameter value, with the exception of
   * metadata, which will be flattened (see example below). The supported field
   * names are:
   * - "cluster"
   * - "id"
   * - "locality.region"
   * - "locality.sub_zone"
   * - "locality.zone"
   * - "metadata"
   * - "user_agent_build_version.metadata"
   * - "user_agent_build_version.version"
   * - "user_agent_name"
   * - "user_agent_version"
   *
   * The node context parameters act as a base layer dictionary for the context
   * parameters (i.e. more specific resource specific context parameters will
   * override). Field names will be prefixed with “udpa.node.” when included in
   * context parameters.
   *
   * For example, if node_context_params is ``["user_agent_name", "metadata"]``,
   * the implied context parameters might be::
   *
   *   node.user_agent_name: "envoy"
   *   node.metadata.foo: "{\"bar\": \"baz\"}"
   *   node.metadata.some: "42"
   *   node.metadata.thing: "\"thing\""
   *
   * [#not-implemented-hide:]
   * 
* * repeated string node_context_params = 26; * @param index The index of the element to return. * @return The nodeContextParams at the given index. */ public java.lang.String getNodeContextParams(int index) { return nodeContextParams_.get(index); } /** *
   * A list of :ref:`Node <envoy_v3_api_msg_config.core.v3.Node>` field names
   * that will be included in the context parameters of the effective
   * xdstp:// URL that is sent in a discovery request when resource
   * locators are used for LDS/CDS. Any non-string field will have its JSON
   * encoding set as the context parameter value, with the exception of
   * metadata, which will be flattened (see example below). The supported field
   * names are:
   * - "cluster"
   * - "id"
   * - "locality.region"
   * - "locality.sub_zone"
   * - "locality.zone"
   * - "metadata"
   * - "user_agent_build_version.metadata"
   * - "user_agent_build_version.version"
   * - "user_agent_name"
   * - "user_agent_version"
   *
   * The node context parameters act as a base layer dictionary for the context
   * parameters (i.e. more specific resource specific context parameters will
   * override). Field names will be prefixed with “udpa.node.” when included in
   * context parameters.
   *
   * For example, if node_context_params is ``["user_agent_name", "metadata"]``,
   * the implied context parameters might be::
   *
   *   node.user_agent_name: "envoy"
   *   node.metadata.foo: "{\"bar\": \"baz\"}"
   *   node.metadata.some: "42"
   *   node.metadata.thing: "\"thing\""
   *
   * [#not-implemented-hide:]
   * 
* * repeated string node_context_params = 26; * @param index The index of the value to return. * @return The bytes of the nodeContextParams at the given index. */ public com.google.protobuf.ByteString getNodeContextParamsBytes(int index) { return nodeContextParams_.getByteString(index); } public static final int STATIC_RESOURCES_FIELD_NUMBER = 2; private io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources staticResources_; /** *
   * Statically specified resources.
   * 
* * .envoy.config.bootstrap.v3.Bootstrap.StaticResources static_resources = 2; * @return Whether the staticResources field is set. */ @java.lang.Override public boolean hasStaticResources() { return ((bitField0_ & 0x00000002) != 0); } /** *
   * Statically specified resources.
   * 
* * .envoy.config.bootstrap.v3.Bootstrap.StaticResources static_resources = 2; * @return The staticResources. */ @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources getStaticResources() { return staticResources_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources.getDefaultInstance() : staticResources_; } /** *
   * Statically specified resources.
   * 
* * .envoy.config.bootstrap.v3.Bootstrap.StaticResources static_resources = 2; */ @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResourcesOrBuilder getStaticResourcesOrBuilder() { return staticResources_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources.getDefaultInstance() : staticResources_; } public static final int DYNAMIC_RESOURCES_FIELD_NUMBER = 3; private io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources dynamicResources_; /** *
   * xDS configuration sources.
   * 
* * .envoy.config.bootstrap.v3.Bootstrap.DynamicResources dynamic_resources = 3; * @return Whether the dynamicResources field is set. */ @java.lang.Override public boolean hasDynamicResources() { return ((bitField0_ & 0x00000004) != 0); } /** *
   * xDS configuration sources.
   * 
* * .envoy.config.bootstrap.v3.Bootstrap.DynamicResources dynamic_resources = 3; * @return The dynamicResources. */ @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources getDynamicResources() { return dynamicResources_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources.getDefaultInstance() : dynamicResources_; } /** *
   * xDS configuration sources.
   * 
* * .envoy.config.bootstrap.v3.Bootstrap.DynamicResources dynamic_resources = 3; */ @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResourcesOrBuilder getDynamicResourcesOrBuilder() { return dynamicResources_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources.getDefaultInstance() : dynamicResources_; } public static final int CLUSTER_MANAGER_FIELD_NUMBER = 4; private io.envoyproxy.envoy.config.bootstrap.v3.ClusterManager clusterManager_; /** *
   * Configuration for the cluster manager which owns all upstream clusters
   * within the server.
   * 
* * .envoy.config.bootstrap.v3.ClusterManager cluster_manager = 4; * @return Whether the clusterManager field is set. */ @java.lang.Override public boolean hasClusterManager() { return ((bitField0_ & 0x00000008) != 0); } /** *
   * Configuration for the cluster manager which owns all upstream clusters
   * within the server.
   * 
* * .envoy.config.bootstrap.v3.ClusterManager cluster_manager = 4; * @return The clusterManager. */ @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.ClusterManager getClusterManager() { return clusterManager_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.ClusterManager.getDefaultInstance() : clusterManager_; } /** *
   * Configuration for the cluster manager which owns all upstream clusters
   * within the server.
   * 
* * .envoy.config.bootstrap.v3.ClusterManager cluster_manager = 4; */ @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.ClusterManagerOrBuilder getClusterManagerOrBuilder() { return clusterManager_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.ClusterManager.getDefaultInstance() : clusterManager_; } public static final int HDS_CONFIG_FIELD_NUMBER = 14; private io.envoyproxy.envoy.config.core.v3.ApiConfigSource hdsConfig_; /** *
   * Health discovery service config option.
   * (:ref:`core.ApiConfigSource <envoy_v3_api_msg_config.core.v3.ApiConfigSource>`)
   * 
* * .envoy.config.core.v3.ApiConfigSource hds_config = 14; * @return Whether the hdsConfig field is set. */ @java.lang.Override public boolean hasHdsConfig() { return ((bitField0_ & 0x00000010) != 0); } /** *
   * Health discovery service config option.
   * (:ref:`core.ApiConfigSource <envoy_v3_api_msg_config.core.v3.ApiConfigSource>`)
   * 
* * .envoy.config.core.v3.ApiConfigSource hds_config = 14; * @return The hdsConfig. */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.ApiConfigSource getHdsConfig() { return hdsConfig_ == null ? io.envoyproxy.envoy.config.core.v3.ApiConfigSource.getDefaultInstance() : hdsConfig_; } /** *
   * Health discovery service config option.
   * (:ref:`core.ApiConfigSource <envoy_v3_api_msg_config.core.v3.ApiConfigSource>`)
   * 
* * .envoy.config.core.v3.ApiConfigSource hds_config = 14; */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.ApiConfigSourceOrBuilder getHdsConfigOrBuilder() { return hdsConfig_ == null ? io.envoyproxy.envoy.config.core.v3.ApiConfigSource.getDefaultInstance() : hdsConfig_; } public static final int FLAGS_PATH_FIELD_NUMBER = 5; @SuppressWarnings("serial") private volatile java.lang.Object flagsPath_ = ""; /** *
   * Optional file system path to search for startup flag files.
   * 
* * string flags_path = 5; * @return The flagsPath. */ @java.lang.Override public java.lang.String getFlagsPath() { java.lang.Object ref = flagsPath_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); flagsPath_ = s; return s; } } /** *
   * Optional file system path to search for startup flag files.
   * 
* * string flags_path = 5; * @return The bytes for flagsPath. */ @java.lang.Override public com.google.protobuf.ByteString getFlagsPathBytes() { java.lang.Object ref = flagsPath_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); flagsPath_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int STATS_SINKS_FIELD_NUMBER = 6; @SuppressWarnings("serial") private java.util.List statsSinks_; /** *
   * Optional set of stats sinks.
   * 
* * repeated .envoy.config.metrics.v3.StatsSink stats_sinks = 6; */ @java.lang.Override public java.util.List getStatsSinksList() { return statsSinks_; } /** *
   * Optional set of stats sinks.
   * 
* * repeated .envoy.config.metrics.v3.StatsSink stats_sinks = 6; */ @java.lang.Override public java.util.List getStatsSinksOrBuilderList() { return statsSinks_; } /** *
   * Optional set of stats sinks.
   * 
* * repeated .envoy.config.metrics.v3.StatsSink stats_sinks = 6; */ @java.lang.Override public int getStatsSinksCount() { return statsSinks_.size(); } /** *
   * Optional set of stats sinks.
   * 
* * repeated .envoy.config.metrics.v3.StatsSink stats_sinks = 6; */ @java.lang.Override public io.envoyproxy.envoy.config.metrics.v3.StatsSink getStatsSinks(int index) { return statsSinks_.get(index); } /** *
   * Optional set of stats sinks.
   * 
* * repeated .envoy.config.metrics.v3.StatsSink stats_sinks = 6; */ @java.lang.Override public io.envoyproxy.envoy.config.metrics.v3.StatsSinkOrBuilder getStatsSinksOrBuilder( int index) { return statsSinks_.get(index); } public static final int DEFERRED_STAT_OPTIONS_FIELD_NUMBER = 39; private io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions deferredStatOptions_; /** *
   * Options to control behaviors of deferred creation compatible stats.
   * 
* * .envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions deferred_stat_options = 39; * @return Whether the deferredStatOptions field is set. */ @java.lang.Override public boolean hasDeferredStatOptions() { return ((bitField0_ & 0x00000020) != 0); } /** *
   * Options to control behaviors of deferred creation compatible stats.
   * 
* * .envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions deferred_stat_options = 39; * @return The deferredStatOptions. */ @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions getDeferredStatOptions() { return deferredStatOptions_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions.getDefaultInstance() : deferredStatOptions_; } /** *
   * Options to control behaviors of deferred creation compatible stats.
   * 
* * .envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions deferred_stat_options = 39; */ @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptionsOrBuilder getDeferredStatOptionsOrBuilder() { return deferredStatOptions_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions.getDefaultInstance() : deferredStatOptions_; } public static final int STATS_CONFIG_FIELD_NUMBER = 13; private io.envoyproxy.envoy.config.metrics.v3.StatsConfig statsConfig_; /** *
   * Configuration for internal processing of stats.
   * 
* * .envoy.config.metrics.v3.StatsConfig stats_config = 13; * @return Whether the statsConfig field is set. */ @java.lang.Override public boolean hasStatsConfig() { return ((bitField0_ & 0x00000040) != 0); } /** *
   * Configuration for internal processing of stats.
   * 
* * .envoy.config.metrics.v3.StatsConfig stats_config = 13; * @return The statsConfig. */ @java.lang.Override public io.envoyproxy.envoy.config.metrics.v3.StatsConfig getStatsConfig() { return statsConfig_ == null ? io.envoyproxy.envoy.config.metrics.v3.StatsConfig.getDefaultInstance() : statsConfig_; } /** *
   * Configuration for internal processing of stats.
   * 
* * .envoy.config.metrics.v3.StatsConfig stats_config = 13; */ @java.lang.Override public io.envoyproxy.envoy.config.metrics.v3.StatsConfigOrBuilder getStatsConfigOrBuilder() { return statsConfig_ == null ? io.envoyproxy.envoy.config.metrics.v3.StatsConfig.getDefaultInstance() : statsConfig_; } public static final int STATS_FLUSH_INTERVAL_FIELD_NUMBER = 7; private com.google.protobuf.Duration statsFlushInterval_; /** *
   * Optional duration between flushes to configured stats sinks. For
   * performance reasons Envoy latches counters and only flushes counters and
   * gauges at a periodic interval. If not specified the default is 5000ms (5
   * seconds). Only one of ``stats_flush_interval`` or ``stats_flush_on_admin``
   * can be set.
   * Duration must be at least 1ms and at most 5 min.
   * 
* * .google.protobuf.Duration stats_flush_interval = 7 [(.validate.rules) = { ... } * @return Whether the statsFlushInterval field is set. */ @java.lang.Override public boolean hasStatsFlushInterval() { return ((bitField0_ & 0x00000080) != 0); } /** *
   * Optional duration between flushes to configured stats sinks. For
   * performance reasons Envoy latches counters and only flushes counters and
   * gauges at a periodic interval. If not specified the default is 5000ms (5
   * seconds). Only one of ``stats_flush_interval`` or ``stats_flush_on_admin``
   * can be set.
   * Duration must be at least 1ms and at most 5 min.
   * 
* * .google.protobuf.Duration stats_flush_interval = 7 [(.validate.rules) = { ... } * @return The statsFlushInterval. */ @java.lang.Override public com.google.protobuf.Duration getStatsFlushInterval() { return statsFlushInterval_ == null ? com.google.protobuf.Duration.getDefaultInstance() : statsFlushInterval_; } /** *
   * Optional duration between flushes to configured stats sinks. For
   * performance reasons Envoy latches counters and only flushes counters and
   * gauges at a periodic interval. If not specified the default is 5000ms (5
   * seconds). Only one of ``stats_flush_interval`` or ``stats_flush_on_admin``
   * can be set.
   * Duration must be at least 1ms and at most 5 min.
   * 
* * .google.protobuf.Duration stats_flush_interval = 7 [(.validate.rules) = { ... } */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getStatsFlushIntervalOrBuilder() { return statsFlushInterval_ == null ? com.google.protobuf.Duration.getDefaultInstance() : statsFlushInterval_; } public static final int STATS_FLUSH_ON_ADMIN_FIELD_NUMBER = 29; /** *
   * Flush stats to sinks only when queried for on the admin interface. If set,
   * a flush timer is not created. Only one of ``stats_flush_on_admin`` or
   * ``stats_flush_interval`` can be set.
   * 
* * bool stats_flush_on_admin = 29 [(.validate.rules) = { ... } * @return Whether the statsFlushOnAdmin field is set. */ @java.lang.Override public boolean hasStatsFlushOnAdmin() { return statsFlushCase_ == 29; } /** *
   * Flush stats to sinks only when queried for on the admin interface. If set,
   * a flush timer is not created. Only one of ``stats_flush_on_admin`` or
   * ``stats_flush_interval`` can be set.
   * 
* * bool stats_flush_on_admin = 29 [(.validate.rules) = { ... } * @return The statsFlushOnAdmin. */ @java.lang.Override public boolean getStatsFlushOnAdmin() { if (statsFlushCase_ == 29) { return (java.lang.Boolean) statsFlush_; } return false; } public static final int WATCHDOG_FIELD_NUMBER = 8; private io.envoyproxy.envoy.config.bootstrap.v3.Watchdog watchdog_; /** *
   * Optional watchdog configuration.
   * This is for a single watchdog configuration for the entire system.
   * Deprecated in favor of ``watchdogs`` which has finer granularity.
   * 
* * .envoy.config.bootstrap.v3.Watchdog watchdog = 8 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; * @deprecated envoy.config.bootstrap.v3.Bootstrap.watchdog is deprecated. * See envoy/config/bootstrap/v3/bootstrap.proto;l=237 * @return Whether the watchdog field is set. */ @java.lang.Override @java.lang.Deprecated public boolean hasWatchdog() { return ((bitField0_ & 0x00000100) != 0); } /** *
   * Optional watchdog configuration.
   * This is for a single watchdog configuration for the entire system.
   * Deprecated in favor of ``watchdogs`` which has finer granularity.
   * 
* * .envoy.config.bootstrap.v3.Watchdog watchdog = 8 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; * @deprecated envoy.config.bootstrap.v3.Bootstrap.watchdog is deprecated. * See envoy/config/bootstrap/v3/bootstrap.proto;l=237 * @return The watchdog. */ @java.lang.Override @java.lang.Deprecated public io.envoyproxy.envoy.config.bootstrap.v3.Watchdog getWatchdog() { return watchdog_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.Watchdog.getDefaultInstance() : watchdog_; } /** *
   * Optional watchdog configuration.
   * This is for a single watchdog configuration for the entire system.
   * Deprecated in favor of ``watchdogs`` which has finer granularity.
   * 
* * .envoy.config.bootstrap.v3.Watchdog watchdog = 8 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; */ @java.lang.Override @java.lang.Deprecated public io.envoyproxy.envoy.config.bootstrap.v3.WatchdogOrBuilder getWatchdogOrBuilder() { return watchdog_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.Watchdog.getDefaultInstance() : watchdog_; } public static final int WATCHDOGS_FIELD_NUMBER = 27; private io.envoyproxy.envoy.config.bootstrap.v3.Watchdogs watchdogs_; /** *
   * Optional watchdogs configuration.
   * This is used for specifying different watchdogs for the different subsystems.
   * [#extension-category: envoy.guarddog_actions]
   * 
* * .envoy.config.bootstrap.v3.Watchdogs watchdogs = 27; * @return Whether the watchdogs field is set. */ @java.lang.Override public boolean hasWatchdogs() { return ((bitField0_ & 0x00000200) != 0); } /** *
   * Optional watchdogs configuration.
   * This is used for specifying different watchdogs for the different subsystems.
   * [#extension-category: envoy.guarddog_actions]
   * 
* * .envoy.config.bootstrap.v3.Watchdogs watchdogs = 27; * @return The watchdogs. */ @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Watchdogs getWatchdogs() { return watchdogs_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.Watchdogs.getDefaultInstance() : watchdogs_; } /** *
   * Optional watchdogs configuration.
   * This is used for specifying different watchdogs for the different subsystems.
   * [#extension-category: envoy.guarddog_actions]
   * 
* * .envoy.config.bootstrap.v3.Watchdogs watchdogs = 27; */ @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.WatchdogsOrBuilder getWatchdogsOrBuilder() { return watchdogs_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.Watchdogs.getDefaultInstance() : watchdogs_; } public static final int TRACING_FIELD_NUMBER = 9; private io.envoyproxy.envoy.config.trace.v3.Tracing tracing_; /** *
   * Configuration for an external tracing provider.
   *
   * .. attention::
   *  This field has been deprecated in favor of :ref:`HttpConnectionManager.Tracing.provider
   *  <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.Tracing.provider>`.
   * 
* * .envoy.config.trace.v3.Tracing tracing = 9 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; * @deprecated envoy.config.bootstrap.v3.Bootstrap.tracing is deprecated. * See envoy/config/bootstrap/v3/bootstrap.proto;l=250 * @return Whether the tracing field is set. */ @java.lang.Override @java.lang.Deprecated public boolean hasTracing() { return ((bitField0_ & 0x00000400) != 0); } /** *
   * Configuration for an external tracing provider.
   *
   * .. attention::
   *  This field has been deprecated in favor of :ref:`HttpConnectionManager.Tracing.provider
   *  <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.Tracing.provider>`.
   * 
* * .envoy.config.trace.v3.Tracing tracing = 9 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; * @deprecated envoy.config.bootstrap.v3.Bootstrap.tracing is deprecated. * See envoy/config/bootstrap/v3/bootstrap.proto;l=250 * @return The tracing. */ @java.lang.Override @java.lang.Deprecated public io.envoyproxy.envoy.config.trace.v3.Tracing getTracing() { return tracing_ == null ? io.envoyproxy.envoy.config.trace.v3.Tracing.getDefaultInstance() : tracing_; } /** *
   * Configuration for an external tracing provider.
   *
   * .. attention::
   *  This field has been deprecated in favor of :ref:`HttpConnectionManager.Tracing.provider
   *  <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.Tracing.provider>`.
   * 
* * .envoy.config.trace.v3.Tracing tracing = 9 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; */ @java.lang.Override @java.lang.Deprecated public io.envoyproxy.envoy.config.trace.v3.TracingOrBuilder getTracingOrBuilder() { return tracing_ == null ? io.envoyproxy.envoy.config.trace.v3.Tracing.getDefaultInstance() : tracing_; } public static final int LAYERED_RUNTIME_FIELD_NUMBER = 17; private io.envoyproxy.envoy.config.bootstrap.v3.LayeredRuntime layeredRuntime_; /** *
   * Configuration for the runtime configuration provider. If not
   * specified, a “null” provider will be used which will result in all defaults
   * being used.
   * 
* * .envoy.config.bootstrap.v3.LayeredRuntime layered_runtime = 17; * @return Whether the layeredRuntime field is set. */ @java.lang.Override public boolean hasLayeredRuntime() { return ((bitField0_ & 0x00000800) != 0); } /** *
   * Configuration for the runtime configuration provider. If not
   * specified, a “null” provider will be used which will result in all defaults
   * being used.
   * 
* * .envoy.config.bootstrap.v3.LayeredRuntime layered_runtime = 17; * @return The layeredRuntime. */ @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.LayeredRuntime getLayeredRuntime() { return layeredRuntime_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.LayeredRuntime.getDefaultInstance() : layeredRuntime_; } /** *
   * Configuration for the runtime configuration provider. If not
   * specified, a “null” provider will be used which will result in all defaults
   * being used.
   * 
* * .envoy.config.bootstrap.v3.LayeredRuntime layered_runtime = 17; */ @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.LayeredRuntimeOrBuilder getLayeredRuntimeOrBuilder() { return layeredRuntime_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.LayeredRuntime.getDefaultInstance() : layeredRuntime_; } public static final int ADMIN_FIELD_NUMBER = 12; private io.envoyproxy.envoy.config.bootstrap.v3.Admin admin_; /** *
   * Configuration for the local administration HTTP server.
   * 
* * .envoy.config.bootstrap.v3.Admin admin = 12; * @return Whether the admin field is set. */ @java.lang.Override public boolean hasAdmin() { return ((bitField0_ & 0x00001000) != 0); } /** *
   * Configuration for the local administration HTTP server.
   * 
* * .envoy.config.bootstrap.v3.Admin admin = 12; * @return The admin. */ @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Admin getAdmin() { return admin_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.Admin.getDefaultInstance() : admin_; } /** *
   * Configuration for the local administration HTTP server.
   * 
* * .envoy.config.bootstrap.v3.Admin admin = 12; */ @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.AdminOrBuilder getAdminOrBuilder() { return admin_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.Admin.getDefaultInstance() : admin_; } public static final int OVERLOAD_MANAGER_FIELD_NUMBER = 15; private io.envoyproxy.envoy.config.overload.v3.OverloadManager overloadManager_; /** *
   * Optional overload manager configuration.
   * 
* * .envoy.config.overload.v3.OverloadManager overload_manager = 15 [(.udpa.annotations.security) = { ... } * @return Whether the overloadManager field is set. */ @java.lang.Override public boolean hasOverloadManager() { return ((bitField0_ & 0x00002000) != 0); } /** *
   * Optional overload manager configuration.
   * 
* * .envoy.config.overload.v3.OverloadManager overload_manager = 15 [(.udpa.annotations.security) = { ... } * @return The overloadManager. */ @java.lang.Override public io.envoyproxy.envoy.config.overload.v3.OverloadManager getOverloadManager() { return overloadManager_ == null ? io.envoyproxy.envoy.config.overload.v3.OverloadManager.getDefaultInstance() : overloadManager_; } /** *
   * Optional overload manager configuration.
   * 
* * .envoy.config.overload.v3.OverloadManager overload_manager = 15 [(.udpa.annotations.security) = { ... } */ @java.lang.Override public io.envoyproxy.envoy.config.overload.v3.OverloadManagerOrBuilder getOverloadManagerOrBuilder() { return overloadManager_ == null ? io.envoyproxy.envoy.config.overload.v3.OverloadManager.getDefaultInstance() : overloadManager_; } public static final int ENABLE_DISPATCHER_STATS_FIELD_NUMBER = 16; private boolean enableDispatcherStats_ = false; /** *
   * Enable :ref:`stats for event dispatcher <operations_performance>`, defaults to false.
   * Note that this records a value for each iteration of the event loop on every thread. This
   * should normally be minimal overhead, but when using
   * :ref:`statsd <envoy_v3_api_msg_config.metrics.v3.StatsdSink>`, it will send each observed value
   * over the wire individually because the statsd protocol doesn't have any way to represent a
   * histogram summary. Be aware that this can be a very large volume of data.
   * 
* * bool enable_dispatcher_stats = 16; * @return The enableDispatcherStats. */ @java.lang.Override public boolean getEnableDispatcherStats() { return enableDispatcherStats_; } public static final int HEADER_PREFIX_FIELD_NUMBER = 18; @SuppressWarnings("serial") private volatile java.lang.Object headerPrefix_ = ""; /** *
   * Optional string which will be used in lieu of x-envoy in prefixing headers.
   *
   * For example, if this string is present and set to X-Foo, then x-envoy-retry-on will be
   * transformed into x-foo-retry-on etc.
   *
   * Note this applies to the headers Envoy will generate, the headers Envoy will sanitize, and the
   * headers Envoy will trust for core code and core extensions only. Be VERY careful making
   * changes to this string, especially in multi-layer Envoy deployments or deployments using
   * extensions which are not upstream.
   * 
* * string header_prefix = 18; * @return The headerPrefix. */ @java.lang.Override public java.lang.String getHeaderPrefix() { java.lang.Object ref = headerPrefix_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); headerPrefix_ = s; return s; } } /** *
   * Optional string which will be used in lieu of x-envoy in prefixing headers.
   *
   * For example, if this string is present and set to X-Foo, then x-envoy-retry-on will be
   * transformed into x-foo-retry-on etc.
   *
   * Note this applies to the headers Envoy will generate, the headers Envoy will sanitize, and the
   * headers Envoy will trust for core code and core extensions only. Be VERY careful making
   * changes to this string, especially in multi-layer Envoy deployments or deployments using
   * extensions which are not upstream.
   * 
* * string header_prefix = 18; * @return The bytes for headerPrefix. */ @java.lang.Override public com.google.protobuf.ByteString getHeaderPrefixBytes() { java.lang.Object ref = headerPrefix_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); headerPrefix_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int STATS_SERVER_VERSION_OVERRIDE_FIELD_NUMBER = 19; private com.google.protobuf.UInt64Value statsServerVersionOverride_; /** *
   * Optional proxy version which will be used to set the value of :ref:`server.version statistic
   * <server_statistics>` if specified. Envoy will not process this value, it will be sent as is to
   * :ref:`stats sinks <envoy_v3_api_msg_config.metrics.v3.StatsSink>`.
   * 
* * .google.protobuf.UInt64Value stats_server_version_override = 19; * @return Whether the statsServerVersionOverride field is set. */ @java.lang.Override public boolean hasStatsServerVersionOverride() { return ((bitField0_ & 0x00004000) != 0); } /** *
   * Optional proxy version which will be used to set the value of :ref:`server.version statistic
   * <server_statistics>` if specified. Envoy will not process this value, it will be sent as is to
   * :ref:`stats sinks <envoy_v3_api_msg_config.metrics.v3.StatsSink>`.
   * 
* * .google.protobuf.UInt64Value stats_server_version_override = 19; * @return The statsServerVersionOverride. */ @java.lang.Override public com.google.protobuf.UInt64Value getStatsServerVersionOverride() { return statsServerVersionOverride_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : statsServerVersionOverride_; } /** *
   * Optional proxy version which will be used to set the value of :ref:`server.version statistic
   * <server_statistics>` if specified. Envoy will not process this value, it will be sent as is to
   * :ref:`stats sinks <envoy_v3_api_msg_config.metrics.v3.StatsSink>`.
   * 
* * .google.protobuf.UInt64Value stats_server_version_override = 19; */ @java.lang.Override public com.google.protobuf.UInt64ValueOrBuilder getStatsServerVersionOverrideOrBuilder() { return statsServerVersionOverride_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : statsServerVersionOverride_; } public static final int USE_TCP_FOR_DNS_LOOKUPS_FIELD_NUMBER = 20; private boolean useTcpForDnsLookups_ = false; /** *
   * Always use TCP queries instead of UDP queries for DNS lookups.
   * This may be overridden on a per-cluster basis in cds_config,
   * when :ref:`dns_resolvers <envoy_v3_api_field_config.cluster.v3.Cluster.dns_resolvers>` and
   * :ref:`use_tcp_for_dns_lookups <envoy_v3_api_field_config.cluster.v3.Cluster.use_tcp_for_dns_lookups>` are
   * specified.
   * This field is deprecated in favor of ``dns_resolution_config``
   * which aggregates all of the DNS resolver configuration in a single message.
   * 
* * bool use_tcp_for_dns_lookups = 20 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; * @deprecated envoy.config.bootstrap.v3.Bootstrap.use_tcp_for_dns_lookups is deprecated. * See envoy/config/bootstrap/v3/bootstrap.proto;l=298 * @return The useTcpForDnsLookups. */ @java.lang.Override @java.lang.Deprecated public boolean getUseTcpForDnsLookups() { return useTcpForDnsLookups_; } public static final int DNS_RESOLUTION_CONFIG_FIELD_NUMBER = 30; private io.envoyproxy.envoy.config.core.v3.DnsResolutionConfig dnsResolutionConfig_; /** *
   * DNS resolution configuration which includes the underlying dns resolver addresses and options.
   * This may be overridden on a per-cluster basis in cds_config, when
   * :ref:`dns_resolution_config <envoy_v3_api_field_config.cluster.v3.Cluster.dns_resolution_config>`
   * is specified.
   * This field is deprecated in favor of
   * :ref:`typed_dns_resolver_config <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.typed_dns_resolver_config>`.
   * 
* * .envoy.config.core.v3.DnsResolutionConfig dns_resolution_config = 30 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; * @deprecated envoy.config.bootstrap.v3.Bootstrap.dns_resolution_config is deprecated. * See envoy/config/bootstrap/v3/bootstrap.proto;l=307 * @return Whether the dnsResolutionConfig field is set. */ @java.lang.Override @java.lang.Deprecated public boolean hasDnsResolutionConfig() { return ((bitField0_ & 0x00008000) != 0); } /** *
   * DNS resolution configuration which includes the underlying dns resolver addresses and options.
   * This may be overridden on a per-cluster basis in cds_config, when
   * :ref:`dns_resolution_config <envoy_v3_api_field_config.cluster.v3.Cluster.dns_resolution_config>`
   * is specified.
   * This field is deprecated in favor of
   * :ref:`typed_dns_resolver_config <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.typed_dns_resolver_config>`.
   * 
* * .envoy.config.core.v3.DnsResolutionConfig dns_resolution_config = 30 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; * @deprecated envoy.config.bootstrap.v3.Bootstrap.dns_resolution_config is deprecated. * See envoy/config/bootstrap/v3/bootstrap.proto;l=307 * @return The dnsResolutionConfig. */ @java.lang.Override @java.lang.Deprecated public io.envoyproxy.envoy.config.core.v3.DnsResolutionConfig getDnsResolutionConfig() { return dnsResolutionConfig_ == null ? io.envoyproxy.envoy.config.core.v3.DnsResolutionConfig.getDefaultInstance() : dnsResolutionConfig_; } /** *
   * DNS resolution configuration which includes the underlying dns resolver addresses and options.
   * This may be overridden on a per-cluster basis in cds_config, when
   * :ref:`dns_resolution_config <envoy_v3_api_field_config.cluster.v3.Cluster.dns_resolution_config>`
   * is specified.
   * This field is deprecated in favor of
   * :ref:`typed_dns_resolver_config <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.typed_dns_resolver_config>`.
   * 
* * .envoy.config.core.v3.DnsResolutionConfig dns_resolution_config = 30 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; */ @java.lang.Override @java.lang.Deprecated public io.envoyproxy.envoy.config.core.v3.DnsResolutionConfigOrBuilder getDnsResolutionConfigOrBuilder() { return dnsResolutionConfig_ == null ? io.envoyproxy.envoy.config.core.v3.DnsResolutionConfig.getDefaultInstance() : dnsResolutionConfig_; } public static final int TYPED_DNS_RESOLVER_CONFIG_FIELD_NUMBER = 31; private io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig typedDnsResolverConfig_; /** *
   * DNS resolver type configuration extension. This extension can be used to configure c-ares, apple,
   * or any other DNS resolver types and the related parameters.
   * For example, an object of
   * :ref:`CaresDnsResolverConfig <envoy_v3_api_msg_extensions.network.dns_resolver.cares.v3.CaresDnsResolverConfig>`
   * can be packed into this ``typed_dns_resolver_config``. This configuration replaces the
   * :ref:`dns_resolution_config <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.dns_resolution_config>`
   * configuration.
   * During the transition period when both ``dns_resolution_config`` and ``typed_dns_resolver_config`` exists,
   * when ``typed_dns_resolver_config`` is in place, Envoy will use it and ignore ``dns_resolution_config``.
   * When ``typed_dns_resolver_config`` is missing, the default behavior is in place.
   * [#extension-category: envoy.network.dns_resolver]
   * 
* * .envoy.config.core.v3.TypedExtensionConfig typed_dns_resolver_config = 31; * @return Whether the typedDnsResolverConfig field is set. */ @java.lang.Override public boolean hasTypedDnsResolverConfig() { return ((bitField0_ & 0x00010000) != 0); } /** *
   * DNS resolver type configuration extension. This extension can be used to configure c-ares, apple,
   * or any other DNS resolver types and the related parameters.
   * For example, an object of
   * :ref:`CaresDnsResolverConfig <envoy_v3_api_msg_extensions.network.dns_resolver.cares.v3.CaresDnsResolverConfig>`
   * can be packed into this ``typed_dns_resolver_config``. This configuration replaces the
   * :ref:`dns_resolution_config <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.dns_resolution_config>`
   * configuration.
   * During the transition period when both ``dns_resolution_config`` and ``typed_dns_resolver_config`` exists,
   * when ``typed_dns_resolver_config`` is in place, Envoy will use it and ignore ``dns_resolution_config``.
   * When ``typed_dns_resolver_config`` is missing, the default behavior is in place.
   * [#extension-category: envoy.network.dns_resolver]
   * 
* * .envoy.config.core.v3.TypedExtensionConfig typed_dns_resolver_config = 31; * @return The typedDnsResolverConfig. */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig getTypedDnsResolverConfig() { return typedDnsResolverConfig_ == null ? io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.getDefaultInstance() : typedDnsResolverConfig_; } /** *
   * DNS resolver type configuration extension. This extension can be used to configure c-ares, apple,
   * or any other DNS resolver types and the related parameters.
   * For example, an object of
   * :ref:`CaresDnsResolverConfig <envoy_v3_api_msg_extensions.network.dns_resolver.cares.v3.CaresDnsResolverConfig>`
   * can be packed into this ``typed_dns_resolver_config``. This configuration replaces the
   * :ref:`dns_resolution_config <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.dns_resolution_config>`
   * configuration.
   * During the transition period when both ``dns_resolution_config`` and ``typed_dns_resolver_config`` exists,
   * when ``typed_dns_resolver_config`` is in place, Envoy will use it and ignore ``dns_resolution_config``.
   * When ``typed_dns_resolver_config`` is missing, the default behavior is in place.
   * [#extension-category: envoy.network.dns_resolver]
   * 
* * .envoy.config.core.v3.TypedExtensionConfig typed_dns_resolver_config = 31; */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.TypedExtensionConfigOrBuilder getTypedDnsResolverConfigOrBuilder() { return typedDnsResolverConfig_ == null ? io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.getDefaultInstance() : typedDnsResolverConfig_; } public static final int BOOTSTRAP_EXTENSIONS_FIELD_NUMBER = 21; @SuppressWarnings("serial") private java.util.List bootstrapExtensions_; /** *
   * Specifies optional bootstrap extensions to be instantiated at startup time.
   * Each item contains extension specific configuration.
   * [#extension-category: envoy.bootstrap]
   * 
* * repeated .envoy.config.core.v3.TypedExtensionConfig bootstrap_extensions = 21; */ @java.lang.Override public java.util.List getBootstrapExtensionsList() { return bootstrapExtensions_; } /** *
   * Specifies optional bootstrap extensions to be instantiated at startup time.
   * Each item contains extension specific configuration.
   * [#extension-category: envoy.bootstrap]
   * 
* * repeated .envoy.config.core.v3.TypedExtensionConfig bootstrap_extensions = 21; */ @java.lang.Override public java.util.List getBootstrapExtensionsOrBuilderList() { return bootstrapExtensions_; } /** *
   * Specifies optional bootstrap extensions to be instantiated at startup time.
   * Each item contains extension specific configuration.
   * [#extension-category: envoy.bootstrap]
   * 
* * repeated .envoy.config.core.v3.TypedExtensionConfig bootstrap_extensions = 21; */ @java.lang.Override public int getBootstrapExtensionsCount() { return bootstrapExtensions_.size(); } /** *
   * Specifies optional bootstrap extensions to be instantiated at startup time.
   * Each item contains extension specific configuration.
   * [#extension-category: envoy.bootstrap]
   * 
* * repeated .envoy.config.core.v3.TypedExtensionConfig bootstrap_extensions = 21; */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig getBootstrapExtensions(int index) { return bootstrapExtensions_.get(index); } /** *
   * Specifies optional bootstrap extensions to be instantiated at startup time.
   * Each item contains extension specific configuration.
   * [#extension-category: envoy.bootstrap]
   * 
* * repeated .envoy.config.core.v3.TypedExtensionConfig bootstrap_extensions = 21; */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.TypedExtensionConfigOrBuilder getBootstrapExtensionsOrBuilder( int index) { return bootstrapExtensions_.get(index); } public static final int FATAL_ACTIONS_FIELD_NUMBER = 28; @SuppressWarnings("serial") private java.util.List fatalActions_; /** *
   * Specifies optional extensions instantiated at startup time and
   * invoked during crash time on the request that caused the crash.
   * 
* * repeated .envoy.config.bootstrap.v3.FatalAction fatal_actions = 28; */ @java.lang.Override public java.util.List getFatalActionsList() { return fatalActions_; } /** *
   * Specifies optional extensions instantiated at startup time and
   * invoked during crash time on the request that caused the crash.
   * 
* * repeated .envoy.config.bootstrap.v3.FatalAction fatal_actions = 28; */ @java.lang.Override public java.util.List getFatalActionsOrBuilderList() { return fatalActions_; } /** *
   * Specifies optional extensions instantiated at startup time and
   * invoked during crash time on the request that caused the crash.
   * 
* * repeated .envoy.config.bootstrap.v3.FatalAction fatal_actions = 28; */ @java.lang.Override public int getFatalActionsCount() { return fatalActions_.size(); } /** *
   * Specifies optional extensions instantiated at startup time and
   * invoked during crash time on the request that caused the crash.
   * 
* * repeated .envoy.config.bootstrap.v3.FatalAction fatal_actions = 28; */ @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.FatalAction getFatalActions(int index) { return fatalActions_.get(index); } /** *
   * Specifies optional extensions instantiated at startup time and
   * invoked during crash time on the request that caused the crash.
   * 
* * repeated .envoy.config.bootstrap.v3.FatalAction fatal_actions = 28; */ @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.FatalActionOrBuilder getFatalActionsOrBuilder( int index) { return fatalActions_.get(index); } public static final int CONFIG_SOURCES_FIELD_NUMBER = 22; @SuppressWarnings("serial") private java.util.List configSources_; /** *
   * Configuration sources that will participate in
   * xdstp:// URL authority resolution. The algorithm is as
   * follows:
   * 1. The authority field is taken from the xdstp:// URL, call
   *    this ``resource_authority``.
   * 2. ``resource_authority`` is compared against the authorities in any peer
   *    ``ConfigSource``. The peer ``ConfigSource`` is the configuration source
   *    message which would have been used unconditionally for resolution
   *    with opaque resource names. If there is a match with an authority, the
   *    peer ``ConfigSource`` message is used.
   * 3. ``resource_authority`` is compared sequentially with the authorities in
   *    each configuration source in ``config_sources``. The first ``ConfigSource``
   *    to match wins.
   * 4. As a fallback, if no configuration source matches, then
   *    ``default_config_source`` is used.
   * 5. If ``default_config_source`` is not specified, resolution fails.
   * [#not-implemented-hide:]
   * 
* * repeated .envoy.config.core.v3.ConfigSource config_sources = 22; */ @java.lang.Override public java.util.List getConfigSourcesList() { return configSources_; } /** *
   * Configuration sources that will participate in
   * xdstp:// URL authority resolution. The algorithm is as
   * follows:
   * 1. The authority field is taken from the xdstp:// URL, call
   *    this ``resource_authority``.
   * 2. ``resource_authority`` is compared against the authorities in any peer
   *    ``ConfigSource``. The peer ``ConfigSource`` is the configuration source
   *    message which would have been used unconditionally for resolution
   *    with opaque resource names. If there is a match with an authority, the
   *    peer ``ConfigSource`` message is used.
   * 3. ``resource_authority`` is compared sequentially with the authorities in
   *    each configuration source in ``config_sources``. The first ``ConfigSource``
   *    to match wins.
   * 4. As a fallback, if no configuration source matches, then
   *    ``default_config_source`` is used.
   * 5. If ``default_config_source`` is not specified, resolution fails.
   * [#not-implemented-hide:]
   * 
* * repeated .envoy.config.core.v3.ConfigSource config_sources = 22; */ @java.lang.Override public java.util.List getConfigSourcesOrBuilderList() { return configSources_; } /** *
   * Configuration sources that will participate in
   * xdstp:// URL authority resolution. The algorithm is as
   * follows:
   * 1. The authority field is taken from the xdstp:// URL, call
   *    this ``resource_authority``.
   * 2. ``resource_authority`` is compared against the authorities in any peer
   *    ``ConfigSource``. The peer ``ConfigSource`` is the configuration source
   *    message which would have been used unconditionally for resolution
   *    with opaque resource names. If there is a match with an authority, the
   *    peer ``ConfigSource`` message is used.
   * 3. ``resource_authority`` is compared sequentially with the authorities in
   *    each configuration source in ``config_sources``. The first ``ConfigSource``
   *    to match wins.
   * 4. As a fallback, if no configuration source matches, then
   *    ``default_config_source`` is used.
   * 5. If ``default_config_source`` is not specified, resolution fails.
   * [#not-implemented-hide:]
   * 
* * repeated .envoy.config.core.v3.ConfigSource config_sources = 22; */ @java.lang.Override public int getConfigSourcesCount() { return configSources_.size(); } /** *
   * Configuration sources that will participate in
   * xdstp:// URL authority resolution. The algorithm is as
   * follows:
   * 1. The authority field is taken from the xdstp:// URL, call
   *    this ``resource_authority``.
   * 2. ``resource_authority`` is compared against the authorities in any peer
   *    ``ConfigSource``. The peer ``ConfigSource`` is the configuration source
   *    message which would have been used unconditionally for resolution
   *    with opaque resource names. If there is a match with an authority, the
   *    peer ``ConfigSource`` message is used.
   * 3. ``resource_authority`` is compared sequentially with the authorities in
   *    each configuration source in ``config_sources``. The first ``ConfigSource``
   *    to match wins.
   * 4. As a fallback, if no configuration source matches, then
   *    ``default_config_source`` is used.
   * 5. If ``default_config_source`` is not specified, resolution fails.
   * [#not-implemented-hide:]
   * 
* * repeated .envoy.config.core.v3.ConfigSource config_sources = 22; */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.ConfigSource getConfigSources(int index) { return configSources_.get(index); } /** *
   * Configuration sources that will participate in
   * xdstp:// URL authority resolution. The algorithm is as
   * follows:
   * 1. The authority field is taken from the xdstp:// URL, call
   *    this ``resource_authority``.
   * 2. ``resource_authority`` is compared against the authorities in any peer
   *    ``ConfigSource``. The peer ``ConfigSource`` is the configuration source
   *    message which would have been used unconditionally for resolution
   *    with opaque resource names. If there is a match with an authority, the
   *    peer ``ConfigSource`` message is used.
   * 3. ``resource_authority`` is compared sequentially with the authorities in
   *    each configuration source in ``config_sources``. The first ``ConfigSource``
   *    to match wins.
   * 4. As a fallback, if no configuration source matches, then
   *    ``default_config_source`` is used.
   * 5. If ``default_config_source`` is not specified, resolution fails.
   * [#not-implemented-hide:]
   * 
* * repeated .envoy.config.core.v3.ConfigSource config_sources = 22; */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.ConfigSourceOrBuilder getConfigSourcesOrBuilder( int index) { return configSources_.get(index); } public static final int DEFAULT_CONFIG_SOURCE_FIELD_NUMBER = 23; private io.envoyproxy.envoy.config.core.v3.ConfigSource defaultConfigSource_; /** *
   * Default configuration source for xdstp:// URLs if all
   * other resolution fails.
   * [#not-implemented-hide:]
   * 
* * .envoy.config.core.v3.ConfigSource default_config_source = 23; * @return Whether the defaultConfigSource field is set. */ @java.lang.Override public boolean hasDefaultConfigSource() { return ((bitField0_ & 0x00020000) != 0); } /** *
   * Default configuration source for xdstp:// URLs if all
   * other resolution fails.
   * [#not-implemented-hide:]
   * 
* * .envoy.config.core.v3.ConfigSource default_config_source = 23; * @return The defaultConfigSource. */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.ConfigSource getDefaultConfigSource() { return defaultConfigSource_ == null ? io.envoyproxy.envoy.config.core.v3.ConfigSource.getDefaultInstance() : defaultConfigSource_; } /** *
   * Default configuration source for xdstp:// URLs if all
   * other resolution fails.
   * [#not-implemented-hide:]
   * 
* * .envoy.config.core.v3.ConfigSource default_config_source = 23; */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.ConfigSourceOrBuilder getDefaultConfigSourceOrBuilder() { return defaultConfigSource_ == null ? io.envoyproxy.envoy.config.core.v3.ConfigSource.getDefaultInstance() : defaultConfigSource_; } public static final int DEFAULT_SOCKET_INTERFACE_FIELD_NUMBER = 24; @SuppressWarnings("serial") private volatile java.lang.Object defaultSocketInterface_ = ""; /** *
   * Optional overriding of default socket interface. The value must be the name of one of the
   * socket interface factories initialized through a bootstrap extension
   * 
* * string default_socket_interface = 24; * @return The defaultSocketInterface. */ @java.lang.Override public java.lang.String getDefaultSocketInterface() { java.lang.Object ref = defaultSocketInterface_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultSocketInterface_ = s; return s; } } /** *
   * Optional overriding of default socket interface. The value must be the name of one of the
   * socket interface factories initialized through a bootstrap extension
   * 
* * string default_socket_interface = 24; * @return The bytes for defaultSocketInterface. */ @java.lang.Override public com.google.protobuf.ByteString getDefaultSocketInterfaceBytes() { java.lang.Object ref = defaultSocketInterface_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); defaultSocketInterface_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CERTIFICATE_PROVIDER_INSTANCES_FIELD_NUMBER = 25; private static final class CertificateProviderInstancesDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( io.envoyproxy.envoy.config.bootstrap.v3.BootstrapProto.internal_static_envoy_config_bootstrap_v3_Bootstrap_CertificateProviderInstancesEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.MESSAGE, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.getDefaultInstance()); } @SuppressWarnings("serial") private com.google.protobuf.MapField< java.lang.String, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig> certificateProviderInstances_; private com.google.protobuf.MapField internalGetCertificateProviderInstances() { if (certificateProviderInstances_ == null) { return com.google.protobuf.MapField.emptyMapField( CertificateProviderInstancesDefaultEntryHolder.defaultEntry); } return certificateProviderInstances_; } public int getCertificateProviderInstancesCount() { return internalGetCertificateProviderInstances().getMap().size(); } /** *
   * Global map of CertificateProvider instances. These instances are referred to by name in the
   * :ref:`CommonTlsContext.CertificateProviderInstance.instance_name
   * <envoy_v3_api_field_extensions.transport_sockets.tls.v3.CommonTlsContext.CertificateProviderInstance.instance_name>`
   * field.
   * [#not-implemented-hide:]
   * 
* * map<string, .envoy.config.core.v3.TypedExtensionConfig> certificate_provider_instances = 25; */ @java.lang.Override public boolean containsCertificateProviderInstances( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetCertificateProviderInstances().getMap().containsKey(key); } /** * Use {@link #getCertificateProviderInstancesMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getCertificateProviderInstances() { return getCertificateProviderInstancesMap(); } /** *
   * Global map of CertificateProvider instances. These instances are referred to by name in the
   * :ref:`CommonTlsContext.CertificateProviderInstance.instance_name
   * <envoy_v3_api_field_extensions.transport_sockets.tls.v3.CommonTlsContext.CertificateProviderInstance.instance_name>`
   * field.
   * [#not-implemented-hide:]
   * 
* * map<string, .envoy.config.core.v3.TypedExtensionConfig> certificate_provider_instances = 25; */ @java.lang.Override public java.util.Map getCertificateProviderInstancesMap() { return internalGetCertificateProviderInstances().getMap(); } /** *
   * Global map of CertificateProvider instances. These instances are referred to by name in the
   * :ref:`CommonTlsContext.CertificateProviderInstance.instance_name
   * <envoy_v3_api_field_extensions.transport_sockets.tls.v3.CommonTlsContext.CertificateProviderInstance.instance_name>`
   * field.
   * [#not-implemented-hide:]
   * 
* * map<string, .envoy.config.core.v3.TypedExtensionConfig> certificate_provider_instances = 25; */ @java.lang.Override public /* nullable */ io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig getCertificateProviderInstancesOrDefault( java.lang.String key, /* nullable */ io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetCertificateProviderInstances().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
   * Global map of CertificateProvider instances. These instances are referred to by name in the
   * :ref:`CommonTlsContext.CertificateProviderInstance.instance_name
   * <envoy_v3_api_field_extensions.transport_sockets.tls.v3.CommonTlsContext.CertificateProviderInstance.instance_name>`
   * field.
   * [#not-implemented-hide:]
   * 
* * map<string, .envoy.config.core.v3.TypedExtensionConfig> certificate_provider_instances = 25; */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig getCertificateProviderInstancesOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetCertificateProviderInstances().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int INLINE_HEADERS_FIELD_NUMBER = 32; @SuppressWarnings("serial") private java.util.List inlineHeaders_; /** *
   * Specifies a set of headers that need to be registered as inline header. This configuration
   * allows users to customize the inline headers on-demand at Envoy startup without modifying
   * Envoy's source code.
   *
   * Note that the 'set-cookie' header cannot be registered as inline header.
   * 
* * repeated .envoy.config.bootstrap.v3.CustomInlineHeader inline_headers = 32; */ @java.lang.Override public java.util.List getInlineHeadersList() { return inlineHeaders_; } /** *
   * Specifies a set of headers that need to be registered as inline header. This configuration
   * allows users to customize the inline headers on-demand at Envoy startup without modifying
   * Envoy's source code.
   *
   * Note that the 'set-cookie' header cannot be registered as inline header.
   * 
* * repeated .envoy.config.bootstrap.v3.CustomInlineHeader inline_headers = 32; */ @java.lang.Override public java.util.List getInlineHeadersOrBuilderList() { return inlineHeaders_; } /** *
   * Specifies a set of headers that need to be registered as inline header. This configuration
   * allows users to customize the inline headers on-demand at Envoy startup without modifying
   * Envoy's source code.
   *
   * Note that the 'set-cookie' header cannot be registered as inline header.
   * 
* * repeated .envoy.config.bootstrap.v3.CustomInlineHeader inline_headers = 32; */ @java.lang.Override public int getInlineHeadersCount() { return inlineHeaders_.size(); } /** *
   * Specifies a set of headers that need to be registered as inline header. This configuration
   * allows users to customize the inline headers on-demand at Envoy startup without modifying
   * Envoy's source code.
   *
   * Note that the 'set-cookie' header cannot be registered as inline header.
   * 
* * repeated .envoy.config.bootstrap.v3.CustomInlineHeader inline_headers = 32; */ @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.CustomInlineHeader getInlineHeaders(int index) { return inlineHeaders_.get(index); } /** *
   * Specifies a set of headers that need to be registered as inline header. This configuration
   * allows users to customize the inline headers on-demand at Envoy startup without modifying
   * Envoy's source code.
   *
   * Note that the 'set-cookie' header cannot be registered as inline header.
   * 
* * repeated .envoy.config.bootstrap.v3.CustomInlineHeader inline_headers = 32; */ @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.CustomInlineHeaderOrBuilder getInlineHeadersOrBuilder( int index) { return inlineHeaders_.get(index); } public static final int PERF_TRACING_FILE_PATH_FIELD_NUMBER = 33; @SuppressWarnings("serial") private volatile java.lang.Object perfTracingFilePath_ = ""; /** *
   * Optional path to a file with performance tracing data created by "Perfetto" SDK in binary
   * ProtoBuf format. The default value is "envoy.pftrace".
   * 
* * string perf_tracing_file_path = 33; * @return The perfTracingFilePath. */ @java.lang.Override public java.lang.String getPerfTracingFilePath() { java.lang.Object ref = perfTracingFilePath_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); perfTracingFilePath_ = s; return s; } } /** *
   * Optional path to a file with performance tracing data created by "Perfetto" SDK in binary
   * ProtoBuf format. The default value is "envoy.pftrace".
   * 
* * string perf_tracing_file_path = 33; * @return The bytes for perfTracingFilePath. */ @java.lang.Override public com.google.protobuf.ByteString getPerfTracingFilePathBytes() { java.lang.Object ref = perfTracingFilePath_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); perfTracingFilePath_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DEFAULT_REGEX_ENGINE_FIELD_NUMBER = 34; private io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig defaultRegexEngine_; /** *
   * Optional overriding of default regex engine.
   * If the value is not specified, Google RE2 will be used by default.
   * [#extension-category: envoy.regex_engines]
   * 
* * .envoy.config.core.v3.TypedExtensionConfig default_regex_engine = 34; * @return Whether the defaultRegexEngine field is set. */ @java.lang.Override public boolean hasDefaultRegexEngine() { return ((bitField0_ & 0x00040000) != 0); } /** *
   * Optional overriding of default regex engine.
   * If the value is not specified, Google RE2 will be used by default.
   * [#extension-category: envoy.regex_engines]
   * 
* * .envoy.config.core.v3.TypedExtensionConfig default_regex_engine = 34; * @return The defaultRegexEngine. */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig getDefaultRegexEngine() { return defaultRegexEngine_ == null ? io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.getDefaultInstance() : defaultRegexEngine_; } /** *
   * Optional overriding of default regex engine.
   * If the value is not specified, Google RE2 will be used by default.
   * [#extension-category: envoy.regex_engines]
   * 
* * .envoy.config.core.v3.TypedExtensionConfig default_regex_engine = 34; */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.TypedExtensionConfigOrBuilder getDefaultRegexEngineOrBuilder() { return defaultRegexEngine_ == null ? io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.getDefaultInstance() : defaultRegexEngine_; } public static final int XDS_DELEGATE_EXTENSION_FIELD_NUMBER = 35; private io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig xdsDelegateExtension_; /** *
   * Optional XdsResourcesDelegate configuration, which allows plugging custom logic into both
   * fetch and load events during xDS processing.
   * If a value is not specified, no XdsResourcesDelegate will be used.
   * TODO(abeyad): Add public-facing documentation.
   * [#not-implemented-hide:]
   * 
* * .envoy.config.core.v3.TypedExtensionConfig xds_delegate_extension = 35; * @return Whether the xdsDelegateExtension field is set. */ @java.lang.Override public boolean hasXdsDelegateExtension() { return ((bitField0_ & 0x00080000) != 0); } /** *
   * Optional XdsResourcesDelegate configuration, which allows plugging custom logic into both
   * fetch and load events during xDS processing.
   * If a value is not specified, no XdsResourcesDelegate will be used.
   * TODO(abeyad): Add public-facing documentation.
   * [#not-implemented-hide:]
   * 
* * .envoy.config.core.v3.TypedExtensionConfig xds_delegate_extension = 35; * @return The xdsDelegateExtension. */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig getXdsDelegateExtension() { return xdsDelegateExtension_ == null ? io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.getDefaultInstance() : xdsDelegateExtension_; } /** *
   * Optional XdsResourcesDelegate configuration, which allows plugging custom logic into both
   * fetch and load events during xDS processing.
   * If a value is not specified, no XdsResourcesDelegate will be used.
   * TODO(abeyad): Add public-facing documentation.
   * [#not-implemented-hide:]
   * 
* * .envoy.config.core.v3.TypedExtensionConfig xds_delegate_extension = 35; */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.TypedExtensionConfigOrBuilder getXdsDelegateExtensionOrBuilder() { return xdsDelegateExtension_ == null ? io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.getDefaultInstance() : xdsDelegateExtension_; } public static final int XDS_CONFIG_TRACKER_EXTENSION_FIELD_NUMBER = 36; private io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig xdsConfigTrackerExtension_; /** *
   * Optional XdsConfigTracker configuration, which allows tracking xDS responses in external components,
   * e.g., external tracer or monitor. It provides the process point when receive, ingest, or fail to
   * process xDS resources and messages. If a value is not specified, no XdsConfigTracker will be used.
   *
   * .. note::
   *
   *    There are no in-repo extensions currently, and the :repo:`XdsConfigTracker <envoy/config/xds_config_tracker.h>`
   *    interface should be implemented before using.
   *    See :repo:`xds_config_tracker_integration_test <test/integration/xds_config_tracker_integration_test.cc>`
   *    for an example usage of the interface.
   * 
* * .envoy.config.core.v3.TypedExtensionConfig xds_config_tracker_extension = 36; * @return Whether the xdsConfigTrackerExtension field is set. */ @java.lang.Override public boolean hasXdsConfigTrackerExtension() { return ((bitField0_ & 0x00100000) != 0); } /** *
   * Optional XdsConfigTracker configuration, which allows tracking xDS responses in external components,
   * e.g., external tracer or monitor. It provides the process point when receive, ingest, or fail to
   * process xDS resources and messages. If a value is not specified, no XdsConfigTracker will be used.
   *
   * .. note::
   *
   *    There are no in-repo extensions currently, and the :repo:`XdsConfigTracker <envoy/config/xds_config_tracker.h>`
   *    interface should be implemented before using.
   *    See :repo:`xds_config_tracker_integration_test <test/integration/xds_config_tracker_integration_test.cc>`
   *    for an example usage of the interface.
   * 
* * .envoy.config.core.v3.TypedExtensionConfig xds_config_tracker_extension = 36; * @return The xdsConfigTrackerExtension. */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig getXdsConfigTrackerExtension() { return xdsConfigTrackerExtension_ == null ? io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.getDefaultInstance() : xdsConfigTrackerExtension_; } /** *
   * Optional XdsConfigTracker configuration, which allows tracking xDS responses in external components,
   * e.g., external tracer or monitor. It provides the process point when receive, ingest, or fail to
   * process xDS resources and messages. If a value is not specified, no XdsConfigTracker will be used.
   *
   * .. note::
   *
   *    There are no in-repo extensions currently, and the :repo:`XdsConfigTracker <envoy/config/xds_config_tracker.h>`
   *    interface should be implemented before using.
   *    See :repo:`xds_config_tracker_integration_test <test/integration/xds_config_tracker_integration_test.cc>`
   *    for an example usage of the interface.
   * 
* * .envoy.config.core.v3.TypedExtensionConfig xds_config_tracker_extension = 36; */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.TypedExtensionConfigOrBuilder getXdsConfigTrackerExtensionOrBuilder() { return xdsConfigTrackerExtension_ == null ? io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.getDefaultInstance() : xdsConfigTrackerExtension_; } public static final int LISTENER_MANAGER_FIELD_NUMBER = 37; private io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig listenerManager_; /** *
   * [#not-implemented-hide:]
   * This controls the type of listener manager configured for Envoy. Currently
   * Envoy only supports ListenerManager for this field and Envoy Mobile
   * supports ApiListenerManager.
   * 
* * .envoy.config.core.v3.TypedExtensionConfig listener_manager = 37; * @return Whether the listenerManager field is set. */ @java.lang.Override public boolean hasListenerManager() { return ((bitField0_ & 0x00200000) != 0); } /** *
   * [#not-implemented-hide:]
   * This controls the type of listener manager configured for Envoy. Currently
   * Envoy only supports ListenerManager for this field and Envoy Mobile
   * supports ApiListenerManager.
   * 
* * .envoy.config.core.v3.TypedExtensionConfig listener_manager = 37; * @return The listenerManager. */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig getListenerManager() { return listenerManager_ == null ? io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.getDefaultInstance() : listenerManager_; } /** *
   * [#not-implemented-hide:]
   * This controls the type of listener manager configured for Envoy. Currently
   * Envoy only supports ListenerManager for this field and Envoy Mobile
   * supports ApiListenerManager.
   * 
* * .envoy.config.core.v3.TypedExtensionConfig listener_manager = 37; */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.TypedExtensionConfigOrBuilder getListenerManagerOrBuilder() { return listenerManager_ == null ? io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.getDefaultInstance() : listenerManager_; } public static final int APPLICATION_LOG_CONFIG_FIELD_NUMBER = 38; private io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig applicationLogConfig_; /** *
   * Optional application log configuration.
   * 
* * .envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig application_log_config = 38; * @return Whether the applicationLogConfig field is set. */ @java.lang.Override public boolean hasApplicationLogConfig() { return ((bitField0_ & 0x00400000) != 0); } /** *
   * Optional application log configuration.
   * 
* * .envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig application_log_config = 38; * @return The applicationLogConfig. */ @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig getApplicationLogConfig() { return applicationLogConfig_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.getDefaultInstance() : applicationLogConfig_; } /** *
   * Optional application log configuration.
   * 
* * .envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig application_log_config = 38; */ @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfigOrBuilder getApplicationLogConfigOrBuilder() { return applicationLogConfig_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.getDefaultInstance() : applicationLogConfig_; } public static final int GRPC_ASYNC_CLIENT_MANAGER_CONFIG_FIELD_NUMBER = 40; private io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig grpcAsyncClientManagerConfig_; /** *
   * Optional gRPC async manager config.
   * 
* * .envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig grpc_async_client_manager_config = 40; * @return Whether the grpcAsyncClientManagerConfig field is set. */ @java.lang.Override public boolean hasGrpcAsyncClientManagerConfig() { return ((bitField0_ & 0x00800000) != 0); } /** *
   * Optional gRPC async manager config.
   * 
* * .envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig grpc_async_client_manager_config = 40; * @return The grpcAsyncClientManagerConfig. */ @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig getGrpcAsyncClientManagerConfig() { return grpcAsyncClientManagerConfig_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig.getDefaultInstance() : grpcAsyncClientManagerConfig_; } /** *
   * Optional gRPC async manager config.
   * 
* * .envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig grpc_async_client_manager_config = 40; */ @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfigOrBuilder getGrpcAsyncClientManagerConfigOrBuilder() { return grpcAsyncClientManagerConfig_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig.getDefaultInstance() : grpcAsyncClientManagerConfig_; } public static final int MEMORY_ALLOCATOR_MANAGER_FIELD_NUMBER = 41; private io.envoyproxy.envoy.config.bootstrap.v3.MemoryAllocatorManager memoryAllocatorManager_; /** *
   * Optional configuration for memory allocation manager.
   * Memory releasing is only supported for `tcmalloc allocator <https://github.com/google/tcmalloc>`_.
   * 
* * .envoy.config.bootstrap.v3.MemoryAllocatorManager memory_allocator_manager = 41; * @return Whether the memoryAllocatorManager field is set. */ @java.lang.Override public boolean hasMemoryAllocatorManager() { return ((bitField0_ & 0x01000000) != 0); } /** *
   * Optional configuration for memory allocation manager.
   * Memory releasing is only supported for `tcmalloc allocator <https://github.com/google/tcmalloc>`_.
   * 
* * .envoy.config.bootstrap.v3.MemoryAllocatorManager memory_allocator_manager = 41; * @return The memoryAllocatorManager. */ @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.MemoryAllocatorManager getMemoryAllocatorManager() { return memoryAllocatorManager_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.MemoryAllocatorManager.getDefaultInstance() : memoryAllocatorManager_; } /** *
   * Optional configuration for memory allocation manager.
   * Memory releasing is only supported for `tcmalloc allocator <https://github.com/google/tcmalloc>`_.
   * 
* * .envoy.config.bootstrap.v3.MemoryAllocatorManager memory_allocator_manager = 41; */ @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.MemoryAllocatorManagerOrBuilder getMemoryAllocatorManagerOrBuilder() { return memoryAllocatorManager_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.MemoryAllocatorManager.getDefaultInstance() : memoryAllocatorManager_; } 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 (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getNode()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(2, getStaticResources()); } if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(3, getDynamicResources()); } if (((bitField0_ & 0x00000008) != 0)) { output.writeMessage(4, getClusterManager()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(flagsPath_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, flagsPath_); } for (int i = 0; i < statsSinks_.size(); i++) { output.writeMessage(6, statsSinks_.get(i)); } if (((bitField0_ & 0x00000080) != 0)) { output.writeMessage(7, getStatsFlushInterval()); } if (((bitField0_ & 0x00000100) != 0)) { output.writeMessage(8, getWatchdog()); } if (((bitField0_ & 0x00000400) != 0)) { output.writeMessage(9, getTracing()); } if (((bitField0_ & 0x00001000) != 0)) { output.writeMessage(12, getAdmin()); } if (((bitField0_ & 0x00000040) != 0)) { output.writeMessage(13, getStatsConfig()); } if (((bitField0_ & 0x00000010) != 0)) { output.writeMessage(14, getHdsConfig()); } if (((bitField0_ & 0x00002000) != 0)) { output.writeMessage(15, getOverloadManager()); } if (enableDispatcherStats_ != false) { output.writeBool(16, enableDispatcherStats_); } if (((bitField0_ & 0x00000800) != 0)) { output.writeMessage(17, getLayeredRuntime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(headerPrefix_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 18, headerPrefix_); } if (((bitField0_ & 0x00004000) != 0)) { output.writeMessage(19, getStatsServerVersionOverride()); } if (useTcpForDnsLookups_ != false) { output.writeBool(20, useTcpForDnsLookups_); } for (int i = 0; i < bootstrapExtensions_.size(); i++) { output.writeMessage(21, bootstrapExtensions_.get(i)); } for (int i = 0; i < configSources_.size(); i++) { output.writeMessage(22, configSources_.get(i)); } if (((bitField0_ & 0x00020000) != 0)) { output.writeMessage(23, getDefaultConfigSource()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultSocketInterface_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 24, defaultSocketInterface_); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetCertificateProviderInstances(), CertificateProviderInstancesDefaultEntryHolder.defaultEntry, 25); for (int i = 0; i < nodeContextParams_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 26, nodeContextParams_.getRaw(i)); } if (((bitField0_ & 0x00000200) != 0)) { output.writeMessage(27, getWatchdogs()); } for (int i = 0; i < fatalActions_.size(); i++) { output.writeMessage(28, fatalActions_.get(i)); } if (statsFlushCase_ == 29) { output.writeBool( 29, (boolean)((java.lang.Boolean) statsFlush_)); } if (((bitField0_ & 0x00008000) != 0)) { output.writeMessage(30, getDnsResolutionConfig()); } if (((bitField0_ & 0x00010000) != 0)) { output.writeMessage(31, getTypedDnsResolverConfig()); } for (int i = 0; i < inlineHeaders_.size(); i++) { output.writeMessage(32, inlineHeaders_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(perfTracingFilePath_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 33, perfTracingFilePath_); } if (((bitField0_ & 0x00040000) != 0)) { output.writeMessage(34, getDefaultRegexEngine()); } if (((bitField0_ & 0x00080000) != 0)) { output.writeMessage(35, getXdsDelegateExtension()); } if (((bitField0_ & 0x00100000) != 0)) { output.writeMessage(36, getXdsConfigTrackerExtension()); } if (((bitField0_ & 0x00200000) != 0)) { output.writeMessage(37, getListenerManager()); } if (((bitField0_ & 0x00400000) != 0)) { output.writeMessage(38, getApplicationLogConfig()); } if (((bitField0_ & 0x00000020) != 0)) { output.writeMessage(39, getDeferredStatOptions()); } if (((bitField0_ & 0x00800000) != 0)) { output.writeMessage(40, getGrpcAsyncClientManagerConfig()); } if (((bitField0_ & 0x01000000) != 0)) { output.writeMessage(41, getMemoryAllocatorManager()); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getNode()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getStaticResources()); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getDynamicResources()); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getClusterManager()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(flagsPath_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, flagsPath_); } for (int i = 0; i < statsSinks_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, statsSinks_.get(i)); } if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, getStatsFlushInterval()); } if (((bitField0_ & 0x00000100) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, getWatchdog()); } if (((bitField0_ & 0x00000400) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, getTracing()); } if (((bitField0_ & 0x00001000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(12, getAdmin()); } if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(13, getStatsConfig()); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(14, getHdsConfig()); } if (((bitField0_ & 0x00002000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(15, getOverloadManager()); } if (enableDispatcherStats_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(16, enableDispatcherStats_); } if (((bitField0_ & 0x00000800) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(17, getLayeredRuntime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(headerPrefix_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, headerPrefix_); } if (((bitField0_ & 0x00004000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(19, getStatsServerVersionOverride()); } if (useTcpForDnsLookups_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(20, useTcpForDnsLookups_); } for (int i = 0; i < bootstrapExtensions_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(21, bootstrapExtensions_.get(i)); } for (int i = 0; i < configSources_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(22, configSources_.get(i)); } if (((bitField0_ & 0x00020000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(23, getDefaultConfigSource()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(defaultSocketInterface_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(24, defaultSocketInterface_); } for (java.util.Map.Entry entry : internalGetCertificateProviderInstances().getMap().entrySet()) { com.google.protobuf.MapEntry certificateProviderInstances__ = CertificateProviderInstancesDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(25, certificateProviderInstances__); } { int dataSize = 0; for (int i = 0; i < nodeContextParams_.size(); i++) { dataSize += computeStringSizeNoTag(nodeContextParams_.getRaw(i)); } size += dataSize; size += 2 * getNodeContextParamsList().size(); } if (((bitField0_ & 0x00000200) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(27, getWatchdogs()); } for (int i = 0; i < fatalActions_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(28, fatalActions_.get(i)); } if (statsFlushCase_ == 29) { size += com.google.protobuf.CodedOutputStream .computeBoolSize( 29, (boolean)((java.lang.Boolean) statsFlush_)); } if (((bitField0_ & 0x00008000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(30, getDnsResolutionConfig()); } if (((bitField0_ & 0x00010000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(31, getTypedDnsResolverConfig()); } for (int i = 0; i < inlineHeaders_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(32, inlineHeaders_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(perfTracingFilePath_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(33, perfTracingFilePath_); } if (((bitField0_ & 0x00040000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(34, getDefaultRegexEngine()); } if (((bitField0_ & 0x00080000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(35, getXdsDelegateExtension()); } if (((bitField0_ & 0x00100000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(36, getXdsConfigTrackerExtension()); } if (((bitField0_ & 0x00200000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(37, getListenerManager()); } if (((bitField0_ & 0x00400000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(38, getApplicationLogConfig()); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(39, getDeferredStatOptions()); } if (((bitField0_ & 0x00800000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(40, getGrpcAsyncClientManagerConfig()); } if (((bitField0_ & 0x01000000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(41, getMemoryAllocatorManager()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap)) { return super.equals(obj); } io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap other = (io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap) obj; if (hasNode() != other.hasNode()) return false; if (hasNode()) { if (!getNode() .equals(other.getNode())) return false; } if (!getNodeContextParamsList() .equals(other.getNodeContextParamsList())) return false; if (hasStaticResources() != other.hasStaticResources()) return false; if (hasStaticResources()) { if (!getStaticResources() .equals(other.getStaticResources())) return false; } if (hasDynamicResources() != other.hasDynamicResources()) return false; if (hasDynamicResources()) { if (!getDynamicResources() .equals(other.getDynamicResources())) return false; } if (hasClusterManager() != other.hasClusterManager()) return false; if (hasClusterManager()) { if (!getClusterManager() .equals(other.getClusterManager())) return false; } if (hasHdsConfig() != other.hasHdsConfig()) return false; if (hasHdsConfig()) { if (!getHdsConfig() .equals(other.getHdsConfig())) return false; } if (!getFlagsPath() .equals(other.getFlagsPath())) return false; if (!getStatsSinksList() .equals(other.getStatsSinksList())) return false; if (hasDeferredStatOptions() != other.hasDeferredStatOptions()) return false; if (hasDeferredStatOptions()) { if (!getDeferredStatOptions() .equals(other.getDeferredStatOptions())) return false; } if (hasStatsConfig() != other.hasStatsConfig()) return false; if (hasStatsConfig()) { if (!getStatsConfig() .equals(other.getStatsConfig())) return false; } if (hasStatsFlushInterval() != other.hasStatsFlushInterval()) return false; if (hasStatsFlushInterval()) { if (!getStatsFlushInterval() .equals(other.getStatsFlushInterval())) return false; } if (hasWatchdog() != other.hasWatchdog()) return false; if (hasWatchdog()) { if (!getWatchdog() .equals(other.getWatchdog())) return false; } if (hasWatchdogs() != other.hasWatchdogs()) return false; if (hasWatchdogs()) { if (!getWatchdogs() .equals(other.getWatchdogs())) return false; } if (hasTracing() != other.hasTracing()) return false; if (hasTracing()) { if (!getTracing() .equals(other.getTracing())) return false; } if (hasLayeredRuntime() != other.hasLayeredRuntime()) return false; if (hasLayeredRuntime()) { if (!getLayeredRuntime() .equals(other.getLayeredRuntime())) return false; } if (hasAdmin() != other.hasAdmin()) return false; if (hasAdmin()) { if (!getAdmin() .equals(other.getAdmin())) return false; } if (hasOverloadManager() != other.hasOverloadManager()) return false; if (hasOverloadManager()) { if (!getOverloadManager() .equals(other.getOverloadManager())) return false; } if (getEnableDispatcherStats() != other.getEnableDispatcherStats()) return false; if (!getHeaderPrefix() .equals(other.getHeaderPrefix())) return false; if (hasStatsServerVersionOverride() != other.hasStatsServerVersionOverride()) return false; if (hasStatsServerVersionOverride()) { if (!getStatsServerVersionOverride() .equals(other.getStatsServerVersionOverride())) return false; } if (getUseTcpForDnsLookups() != other.getUseTcpForDnsLookups()) return false; if (hasDnsResolutionConfig() != other.hasDnsResolutionConfig()) return false; if (hasDnsResolutionConfig()) { if (!getDnsResolutionConfig() .equals(other.getDnsResolutionConfig())) return false; } if (hasTypedDnsResolverConfig() != other.hasTypedDnsResolverConfig()) return false; if (hasTypedDnsResolverConfig()) { if (!getTypedDnsResolverConfig() .equals(other.getTypedDnsResolverConfig())) return false; } if (!getBootstrapExtensionsList() .equals(other.getBootstrapExtensionsList())) return false; if (!getFatalActionsList() .equals(other.getFatalActionsList())) return false; if (!getConfigSourcesList() .equals(other.getConfigSourcesList())) return false; if (hasDefaultConfigSource() != other.hasDefaultConfigSource()) return false; if (hasDefaultConfigSource()) { if (!getDefaultConfigSource() .equals(other.getDefaultConfigSource())) return false; } if (!getDefaultSocketInterface() .equals(other.getDefaultSocketInterface())) return false; if (!internalGetCertificateProviderInstances().equals( other.internalGetCertificateProviderInstances())) return false; if (!getInlineHeadersList() .equals(other.getInlineHeadersList())) return false; if (!getPerfTracingFilePath() .equals(other.getPerfTracingFilePath())) return false; if (hasDefaultRegexEngine() != other.hasDefaultRegexEngine()) return false; if (hasDefaultRegexEngine()) { if (!getDefaultRegexEngine() .equals(other.getDefaultRegexEngine())) return false; } if (hasXdsDelegateExtension() != other.hasXdsDelegateExtension()) return false; if (hasXdsDelegateExtension()) { if (!getXdsDelegateExtension() .equals(other.getXdsDelegateExtension())) return false; } if (hasXdsConfigTrackerExtension() != other.hasXdsConfigTrackerExtension()) return false; if (hasXdsConfigTrackerExtension()) { if (!getXdsConfigTrackerExtension() .equals(other.getXdsConfigTrackerExtension())) return false; } if (hasListenerManager() != other.hasListenerManager()) return false; if (hasListenerManager()) { if (!getListenerManager() .equals(other.getListenerManager())) return false; } if (hasApplicationLogConfig() != other.hasApplicationLogConfig()) return false; if (hasApplicationLogConfig()) { if (!getApplicationLogConfig() .equals(other.getApplicationLogConfig())) return false; } if (hasGrpcAsyncClientManagerConfig() != other.hasGrpcAsyncClientManagerConfig()) return false; if (hasGrpcAsyncClientManagerConfig()) { if (!getGrpcAsyncClientManagerConfig() .equals(other.getGrpcAsyncClientManagerConfig())) return false; } if (hasMemoryAllocatorManager() != other.hasMemoryAllocatorManager()) return false; if (hasMemoryAllocatorManager()) { if (!getMemoryAllocatorManager() .equals(other.getMemoryAllocatorManager())) return false; } if (!getStatsFlushCase().equals(other.getStatsFlushCase())) return false; switch (statsFlushCase_) { case 29: if (getStatsFlushOnAdmin() != other.getStatsFlushOnAdmin()) return false; break; case 0: default: } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasNode()) { hash = (37 * hash) + NODE_FIELD_NUMBER; hash = (53 * hash) + getNode().hashCode(); } if (getNodeContextParamsCount() > 0) { hash = (37 * hash) + NODE_CONTEXT_PARAMS_FIELD_NUMBER; hash = (53 * hash) + getNodeContextParamsList().hashCode(); } if (hasStaticResources()) { hash = (37 * hash) + STATIC_RESOURCES_FIELD_NUMBER; hash = (53 * hash) + getStaticResources().hashCode(); } if (hasDynamicResources()) { hash = (37 * hash) + DYNAMIC_RESOURCES_FIELD_NUMBER; hash = (53 * hash) + getDynamicResources().hashCode(); } if (hasClusterManager()) { hash = (37 * hash) + CLUSTER_MANAGER_FIELD_NUMBER; hash = (53 * hash) + getClusterManager().hashCode(); } if (hasHdsConfig()) { hash = (37 * hash) + HDS_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getHdsConfig().hashCode(); } hash = (37 * hash) + FLAGS_PATH_FIELD_NUMBER; hash = (53 * hash) + getFlagsPath().hashCode(); if (getStatsSinksCount() > 0) { hash = (37 * hash) + STATS_SINKS_FIELD_NUMBER; hash = (53 * hash) + getStatsSinksList().hashCode(); } if (hasDeferredStatOptions()) { hash = (37 * hash) + DEFERRED_STAT_OPTIONS_FIELD_NUMBER; hash = (53 * hash) + getDeferredStatOptions().hashCode(); } if (hasStatsConfig()) { hash = (37 * hash) + STATS_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getStatsConfig().hashCode(); } if (hasStatsFlushInterval()) { hash = (37 * hash) + STATS_FLUSH_INTERVAL_FIELD_NUMBER; hash = (53 * hash) + getStatsFlushInterval().hashCode(); } if (hasWatchdog()) { hash = (37 * hash) + WATCHDOG_FIELD_NUMBER; hash = (53 * hash) + getWatchdog().hashCode(); } if (hasWatchdogs()) { hash = (37 * hash) + WATCHDOGS_FIELD_NUMBER; hash = (53 * hash) + getWatchdogs().hashCode(); } if (hasTracing()) { hash = (37 * hash) + TRACING_FIELD_NUMBER; hash = (53 * hash) + getTracing().hashCode(); } if (hasLayeredRuntime()) { hash = (37 * hash) + LAYERED_RUNTIME_FIELD_NUMBER; hash = (53 * hash) + getLayeredRuntime().hashCode(); } if (hasAdmin()) { hash = (37 * hash) + ADMIN_FIELD_NUMBER; hash = (53 * hash) + getAdmin().hashCode(); } if (hasOverloadManager()) { hash = (37 * hash) + OVERLOAD_MANAGER_FIELD_NUMBER; hash = (53 * hash) + getOverloadManager().hashCode(); } hash = (37 * hash) + ENABLE_DISPATCHER_STATS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getEnableDispatcherStats()); hash = (37 * hash) + HEADER_PREFIX_FIELD_NUMBER; hash = (53 * hash) + getHeaderPrefix().hashCode(); if (hasStatsServerVersionOverride()) { hash = (37 * hash) + STATS_SERVER_VERSION_OVERRIDE_FIELD_NUMBER; hash = (53 * hash) + getStatsServerVersionOverride().hashCode(); } hash = (37 * hash) + USE_TCP_FOR_DNS_LOOKUPS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getUseTcpForDnsLookups()); if (hasDnsResolutionConfig()) { hash = (37 * hash) + DNS_RESOLUTION_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getDnsResolutionConfig().hashCode(); } if (hasTypedDnsResolverConfig()) { hash = (37 * hash) + TYPED_DNS_RESOLVER_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getTypedDnsResolverConfig().hashCode(); } if (getBootstrapExtensionsCount() > 0) { hash = (37 * hash) + BOOTSTRAP_EXTENSIONS_FIELD_NUMBER; hash = (53 * hash) + getBootstrapExtensionsList().hashCode(); } if (getFatalActionsCount() > 0) { hash = (37 * hash) + FATAL_ACTIONS_FIELD_NUMBER; hash = (53 * hash) + getFatalActionsList().hashCode(); } if (getConfigSourcesCount() > 0) { hash = (37 * hash) + CONFIG_SOURCES_FIELD_NUMBER; hash = (53 * hash) + getConfigSourcesList().hashCode(); } if (hasDefaultConfigSource()) { hash = (37 * hash) + DEFAULT_CONFIG_SOURCE_FIELD_NUMBER; hash = (53 * hash) + getDefaultConfigSource().hashCode(); } hash = (37 * hash) + DEFAULT_SOCKET_INTERFACE_FIELD_NUMBER; hash = (53 * hash) + getDefaultSocketInterface().hashCode(); if (!internalGetCertificateProviderInstances().getMap().isEmpty()) { hash = (37 * hash) + CERTIFICATE_PROVIDER_INSTANCES_FIELD_NUMBER; hash = (53 * hash) + internalGetCertificateProviderInstances().hashCode(); } if (getInlineHeadersCount() > 0) { hash = (37 * hash) + INLINE_HEADERS_FIELD_NUMBER; hash = (53 * hash) + getInlineHeadersList().hashCode(); } hash = (37 * hash) + PERF_TRACING_FILE_PATH_FIELD_NUMBER; hash = (53 * hash) + getPerfTracingFilePath().hashCode(); if (hasDefaultRegexEngine()) { hash = (37 * hash) + DEFAULT_REGEX_ENGINE_FIELD_NUMBER; hash = (53 * hash) + getDefaultRegexEngine().hashCode(); } if (hasXdsDelegateExtension()) { hash = (37 * hash) + XDS_DELEGATE_EXTENSION_FIELD_NUMBER; hash = (53 * hash) + getXdsDelegateExtension().hashCode(); } if (hasXdsConfigTrackerExtension()) { hash = (37 * hash) + XDS_CONFIG_TRACKER_EXTENSION_FIELD_NUMBER; hash = (53 * hash) + getXdsConfigTrackerExtension().hashCode(); } if (hasListenerManager()) { hash = (37 * hash) + LISTENER_MANAGER_FIELD_NUMBER; hash = (53 * hash) + getListenerManager().hashCode(); } if (hasApplicationLogConfig()) { hash = (37 * hash) + APPLICATION_LOG_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getApplicationLogConfig().hashCode(); } if (hasGrpcAsyncClientManagerConfig()) { hash = (37 * hash) + GRPC_ASYNC_CLIENT_MANAGER_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getGrpcAsyncClientManagerConfig().hashCode(); } if (hasMemoryAllocatorManager()) { hash = (37 * hash) + MEMORY_ALLOCATOR_MANAGER_FIELD_NUMBER; hash = (53 * hash) + getMemoryAllocatorManager().hashCode(); } switch (statsFlushCase_) { case 29: hash = (37 * hash) + STATS_FLUSH_ON_ADMIN_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getStatsFlushOnAdmin()); break; case 0: default: } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
   * Bootstrap :ref:`configuration overview <config_overview_bootstrap>`.
   * [#next-free-field: 42]
   * 
* * Protobuf type {@code envoy.config.bootstrap.v3.Bootstrap} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:envoy.config.bootstrap.v3.Bootstrap) io.envoyproxy.envoy.config.bootstrap.v3.BootstrapOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.config.bootstrap.v3.BootstrapProto.internal_static_envoy_config_bootstrap_v3_Bootstrap_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection( int number) { switch (number) { case 25: return internalGetCertificateProviderInstances(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( int number) { switch (number) { case 25: return internalGetMutableCertificateProviderInstances(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.config.bootstrap.v3.BootstrapProto.internal_static_envoy_config_bootstrap_v3_Bootstrap_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.class, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.Builder.class); } // Construct using io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getNodeFieldBuilder(); getStaticResourcesFieldBuilder(); getDynamicResourcesFieldBuilder(); getClusterManagerFieldBuilder(); getHdsConfigFieldBuilder(); getStatsSinksFieldBuilder(); getDeferredStatOptionsFieldBuilder(); getStatsConfigFieldBuilder(); getStatsFlushIntervalFieldBuilder(); getWatchdogFieldBuilder(); getWatchdogsFieldBuilder(); getTracingFieldBuilder(); getLayeredRuntimeFieldBuilder(); getAdminFieldBuilder(); getOverloadManagerFieldBuilder(); getStatsServerVersionOverrideFieldBuilder(); getDnsResolutionConfigFieldBuilder(); getTypedDnsResolverConfigFieldBuilder(); getBootstrapExtensionsFieldBuilder(); getFatalActionsFieldBuilder(); getConfigSourcesFieldBuilder(); getDefaultConfigSourceFieldBuilder(); getInlineHeadersFieldBuilder(); getDefaultRegexEngineFieldBuilder(); getXdsDelegateExtensionFieldBuilder(); getXdsConfigTrackerExtensionFieldBuilder(); getListenerManagerFieldBuilder(); getApplicationLogConfigFieldBuilder(); getGrpcAsyncClientManagerConfigFieldBuilder(); getMemoryAllocatorManagerFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; bitField1_ = 0; node_ = null; if (nodeBuilder_ != null) { nodeBuilder_.dispose(); nodeBuilder_ = null; } nodeContextParams_ = com.google.protobuf.LazyStringArrayList.emptyList(); staticResources_ = null; if (staticResourcesBuilder_ != null) { staticResourcesBuilder_.dispose(); staticResourcesBuilder_ = null; } dynamicResources_ = null; if (dynamicResourcesBuilder_ != null) { dynamicResourcesBuilder_.dispose(); dynamicResourcesBuilder_ = null; } clusterManager_ = null; if (clusterManagerBuilder_ != null) { clusterManagerBuilder_.dispose(); clusterManagerBuilder_ = null; } hdsConfig_ = null; if (hdsConfigBuilder_ != null) { hdsConfigBuilder_.dispose(); hdsConfigBuilder_ = null; } flagsPath_ = ""; if (statsSinksBuilder_ == null) { statsSinks_ = java.util.Collections.emptyList(); } else { statsSinks_ = null; statsSinksBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000080); deferredStatOptions_ = null; if (deferredStatOptionsBuilder_ != null) { deferredStatOptionsBuilder_.dispose(); deferredStatOptionsBuilder_ = null; } statsConfig_ = null; if (statsConfigBuilder_ != null) { statsConfigBuilder_.dispose(); statsConfigBuilder_ = null; } statsFlushInterval_ = null; if (statsFlushIntervalBuilder_ != null) { statsFlushIntervalBuilder_.dispose(); statsFlushIntervalBuilder_ = null; } watchdog_ = null; if (watchdogBuilder_ != null) { watchdogBuilder_.dispose(); watchdogBuilder_ = null; } watchdogs_ = null; if (watchdogsBuilder_ != null) { watchdogsBuilder_.dispose(); watchdogsBuilder_ = null; } tracing_ = null; if (tracingBuilder_ != null) { tracingBuilder_.dispose(); tracingBuilder_ = null; } layeredRuntime_ = null; if (layeredRuntimeBuilder_ != null) { layeredRuntimeBuilder_.dispose(); layeredRuntimeBuilder_ = null; } admin_ = null; if (adminBuilder_ != null) { adminBuilder_.dispose(); adminBuilder_ = null; } overloadManager_ = null; if (overloadManagerBuilder_ != null) { overloadManagerBuilder_.dispose(); overloadManagerBuilder_ = null; } enableDispatcherStats_ = false; headerPrefix_ = ""; statsServerVersionOverride_ = null; if (statsServerVersionOverrideBuilder_ != null) { statsServerVersionOverrideBuilder_.dispose(); statsServerVersionOverrideBuilder_ = null; } useTcpForDnsLookups_ = false; dnsResolutionConfig_ = null; if (dnsResolutionConfigBuilder_ != null) { dnsResolutionConfigBuilder_.dispose(); dnsResolutionConfigBuilder_ = null; } typedDnsResolverConfig_ = null; if (typedDnsResolverConfigBuilder_ != null) { typedDnsResolverConfigBuilder_.dispose(); typedDnsResolverConfigBuilder_ = null; } if (bootstrapExtensionsBuilder_ == null) { bootstrapExtensions_ = java.util.Collections.emptyList(); } else { bootstrapExtensions_ = null; bootstrapExtensionsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x01000000); if (fatalActionsBuilder_ == null) { fatalActions_ = java.util.Collections.emptyList(); } else { fatalActions_ = null; fatalActionsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x02000000); if (configSourcesBuilder_ == null) { configSources_ = java.util.Collections.emptyList(); } else { configSources_ = null; configSourcesBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x04000000); defaultConfigSource_ = null; if (defaultConfigSourceBuilder_ != null) { defaultConfigSourceBuilder_.dispose(); defaultConfigSourceBuilder_ = null; } defaultSocketInterface_ = ""; internalGetMutableCertificateProviderInstances().clear(); if (inlineHeadersBuilder_ == null) { inlineHeaders_ = java.util.Collections.emptyList(); } else { inlineHeaders_ = null; inlineHeadersBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x40000000); perfTracingFilePath_ = ""; defaultRegexEngine_ = null; if (defaultRegexEngineBuilder_ != null) { defaultRegexEngineBuilder_.dispose(); defaultRegexEngineBuilder_ = null; } xdsDelegateExtension_ = null; if (xdsDelegateExtensionBuilder_ != null) { xdsDelegateExtensionBuilder_.dispose(); xdsDelegateExtensionBuilder_ = null; } xdsConfigTrackerExtension_ = null; if (xdsConfigTrackerExtensionBuilder_ != null) { xdsConfigTrackerExtensionBuilder_.dispose(); xdsConfigTrackerExtensionBuilder_ = null; } listenerManager_ = null; if (listenerManagerBuilder_ != null) { listenerManagerBuilder_.dispose(); listenerManagerBuilder_ = null; } applicationLogConfig_ = null; if (applicationLogConfigBuilder_ != null) { applicationLogConfigBuilder_.dispose(); applicationLogConfigBuilder_ = null; } grpcAsyncClientManagerConfig_ = null; if (grpcAsyncClientManagerConfigBuilder_ != null) { grpcAsyncClientManagerConfigBuilder_.dispose(); grpcAsyncClientManagerConfigBuilder_ = null; } memoryAllocatorManager_ = null; if (memoryAllocatorManagerBuilder_ != null) { memoryAllocatorManagerBuilder_.dispose(); memoryAllocatorManagerBuilder_ = null; } statsFlushCase_ = 0; statsFlush_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.envoyproxy.envoy.config.bootstrap.v3.BootstrapProto.internal_static_envoy_config_bootstrap_v3_Bootstrap_descriptor; } @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap getDefaultInstanceForType() { return io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.getDefaultInstance(); } @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap build() { io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap buildPartial() { io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap result = new io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } if (bitField1_ != 0) { buildPartial1(result); } buildPartialOneofs(result); onBuilt(); return result; } private void buildPartialRepeatedFields(io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap result) { if (statsSinksBuilder_ == null) { if (((bitField0_ & 0x00000080) != 0)) { statsSinks_ = java.util.Collections.unmodifiableList(statsSinks_); bitField0_ = (bitField0_ & ~0x00000080); } result.statsSinks_ = statsSinks_; } else { result.statsSinks_ = statsSinksBuilder_.build(); } if (bootstrapExtensionsBuilder_ == null) { if (((bitField0_ & 0x01000000) != 0)) { bootstrapExtensions_ = java.util.Collections.unmodifiableList(bootstrapExtensions_); bitField0_ = (bitField0_ & ~0x01000000); } result.bootstrapExtensions_ = bootstrapExtensions_; } else { result.bootstrapExtensions_ = bootstrapExtensionsBuilder_.build(); } if (fatalActionsBuilder_ == null) { if (((bitField0_ & 0x02000000) != 0)) { fatalActions_ = java.util.Collections.unmodifiableList(fatalActions_); bitField0_ = (bitField0_ & ~0x02000000); } result.fatalActions_ = fatalActions_; } else { result.fatalActions_ = fatalActionsBuilder_.build(); } if (configSourcesBuilder_ == null) { if (((bitField0_ & 0x04000000) != 0)) { configSources_ = java.util.Collections.unmodifiableList(configSources_); bitField0_ = (bitField0_ & ~0x04000000); } result.configSources_ = configSources_; } else { result.configSources_ = configSourcesBuilder_.build(); } if (inlineHeadersBuilder_ == null) { if (((bitField0_ & 0x40000000) != 0)) { inlineHeaders_ = java.util.Collections.unmodifiableList(inlineHeaders_); bitField0_ = (bitField0_ & ~0x40000000); } result.inlineHeaders_ = inlineHeaders_; } else { result.inlineHeaders_ = inlineHeadersBuilder_.build(); } } private void buildPartial0(io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.node_ = nodeBuilder_ == null ? node_ : nodeBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { nodeContextParams_.makeImmutable(); result.nodeContextParams_ = nodeContextParams_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.staticResources_ = staticResourcesBuilder_ == null ? staticResources_ : staticResourcesBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000008) != 0)) { result.dynamicResources_ = dynamicResourcesBuilder_ == null ? dynamicResources_ : dynamicResourcesBuilder_.build(); to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000010) != 0)) { result.clusterManager_ = clusterManagerBuilder_ == null ? clusterManager_ : clusterManagerBuilder_.build(); to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000020) != 0)) { result.hdsConfig_ = hdsConfigBuilder_ == null ? hdsConfig_ : hdsConfigBuilder_.build(); to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000040) != 0)) { result.flagsPath_ = flagsPath_; } if (((from_bitField0_ & 0x00000100) != 0)) { result.deferredStatOptions_ = deferredStatOptionsBuilder_ == null ? deferredStatOptions_ : deferredStatOptionsBuilder_.build(); to_bitField0_ |= 0x00000020; } if (((from_bitField0_ & 0x00000200) != 0)) { result.statsConfig_ = statsConfigBuilder_ == null ? statsConfig_ : statsConfigBuilder_.build(); to_bitField0_ |= 0x00000040; } if (((from_bitField0_ & 0x00000400) != 0)) { result.statsFlushInterval_ = statsFlushIntervalBuilder_ == null ? statsFlushInterval_ : statsFlushIntervalBuilder_.build(); to_bitField0_ |= 0x00000080; } if (((from_bitField0_ & 0x00001000) != 0)) { result.watchdog_ = watchdogBuilder_ == null ? watchdog_ : watchdogBuilder_.build(); to_bitField0_ |= 0x00000100; } if (((from_bitField0_ & 0x00002000) != 0)) { result.watchdogs_ = watchdogsBuilder_ == null ? watchdogs_ : watchdogsBuilder_.build(); to_bitField0_ |= 0x00000200; } if (((from_bitField0_ & 0x00004000) != 0)) { result.tracing_ = tracingBuilder_ == null ? tracing_ : tracingBuilder_.build(); to_bitField0_ |= 0x00000400; } if (((from_bitField0_ & 0x00008000) != 0)) { result.layeredRuntime_ = layeredRuntimeBuilder_ == null ? layeredRuntime_ : layeredRuntimeBuilder_.build(); to_bitField0_ |= 0x00000800; } if (((from_bitField0_ & 0x00010000) != 0)) { result.admin_ = adminBuilder_ == null ? admin_ : adminBuilder_.build(); to_bitField0_ |= 0x00001000; } if (((from_bitField0_ & 0x00020000) != 0)) { result.overloadManager_ = overloadManagerBuilder_ == null ? overloadManager_ : overloadManagerBuilder_.build(); to_bitField0_ |= 0x00002000; } if (((from_bitField0_ & 0x00040000) != 0)) { result.enableDispatcherStats_ = enableDispatcherStats_; } if (((from_bitField0_ & 0x00080000) != 0)) { result.headerPrefix_ = headerPrefix_; } if (((from_bitField0_ & 0x00100000) != 0)) { result.statsServerVersionOverride_ = statsServerVersionOverrideBuilder_ == null ? statsServerVersionOverride_ : statsServerVersionOverrideBuilder_.build(); to_bitField0_ |= 0x00004000; } if (((from_bitField0_ & 0x00200000) != 0)) { result.useTcpForDnsLookups_ = useTcpForDnsLookups_; } if (((from_bitField0_ & 0x00400000) != 0)) { result.dnsResolutionConfig_ = dnsResolutionConfigBuilder_ == null ? dnsResolutionConfig_ : dnsResolutionConfigBuilder_.build(); to_bitField0_ |= 0x00008000; } if (((from_bitField0_ & 0x00800000) != 0)) { result.typedDnsResolverConfig_ = typedDnsResolverConfigBuilder_ == null ? typedDnsResolverConfig_ : typedDnsResolverConfigBuilder_.build(); to_bitField0_ |= 0x00010000; } if (((from_bitField0_ & 0x08000000) != 0)) { result.defaultConfigSource_ = defaultConfigSourceBuilder_ == null ? defaultConfigSource_ : defaultConfigSourceBuilder_.build(); to_bitField0_ |= 0x00020000; } if (((from_bitField0_ & 0x10000000) != 0)) { result.defaultSocketInterface_ = defaultSocketInterface_; } if (((from_bitField0_ & 0x20000000) != 0)) { result.certificateProviderInstances_ = internalGetCertificateProviderInstances().build(CertificateProviderInstancesDefaultEntryHolder.defaultEntry); } if (((from_bitField0_ & 0x80000000) != 0)) { result.perfTracingFilePath_ = perfTracingFilePath_; } result.bitField0_ |= to_bitField0_; } private void buildPartial1(io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap result) { int from_bitField1_ = bitField1_; int to_bitField0_ = 0; if (((from_bitField1_ & 0x00000001) != 0)) { result.defaultRegexEngine_ = defaultRegexEngineBuilder_ == null ? defaultRegexEngine_ : defaultRegexEngineBuilder_.build(); to_bitField0_ |= 0x00040000; } if (((from_bitField1_ & 0x00000002) != 0)) { result.xdsDelegateExtension_ = xdsDelegateExtensionBuilder_ == null ? xdsDelegateExtension_ : xdsDelegateExtensionBuilder_.build(); to_bitField0_ |= 0x00080000; } if (((from_bitField1_ & 0x00000004) != 0)) { result.xdsConfigTrackerExtension_ = xdsConfigTrackerExtensionBuilder_ == null ? xdsConfigTrackerExtension_ : xdsConfigTrackerExtensionBuilder_.build(); to_bitField0_ |= 0x00100000; } if (((from_bitField1_ & 0x00000008) != 0)) { result.listenerManager_ = listenerManagerBuilder_ == null ? listenerManager_ : listenerManagerBuilder_.build(); to_bitField0_ |= 0x00200000; } if (((from_bitField1_ & 0x00000010) != 0)) { result.applicationLogConfig_ = applicationLogConfigBuilder_ == null ? applicationLogConfig_ : applicationLogConfigBuilder_.build(); to_bitField0_ |= 0x00400000; } if (((from_bitField1_ & 0x00000020) != 0)) { result.grpcAsyncClientManagerConfig_ = grpcAsyncClientManagerConfigBuilder_ == null ? grpcAsyncClientManagerConfig_ : grpcAsyncClientManagerConfigBuilder_.build(); to_bitField0_ |= 0x00800000; } if (((from_bitField1_ & 0x00000040) != 0)) { result.memoryAllocatorManager_ = memoryAllocatorManagerBuilder_ == null ? memoryAllocatorManager_ : memoryAllocatorManagerBuilder_.build(); to_bitField0_ |= 0x01000000; } result.bitField0_ |= to_bitField0_; } private void buildPartialOneofs(io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap result) { result.statsFlushCase_ = statsFlushCase_; result.statsFlush_ = this.statsFlush_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap) { return mergeFrom((io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap other) { if (other == io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.getDefaultInstance()) return this; if (other.hasNode()) { mergeNode(other.getNode()); } if (!other.nodeContextParams_.isEmpty()) { if (nodeContextParams_.isEmpty()) { nodeContextParams_ = other.nodeContextParams_; bitField0_ |= 0x00000002; } else { ensureNodeContextParamsIsMutable(); nodeContextParams_.addAll(other.nodeContextParams_); } onChanged(); } if (other.hasStaticResources()) { mergeStaticResources(other.getStaticResources()); } if (other.hasDynamicResources()) { mergeDynamicResources(other.getDynamicResources()); } if (other.hasClusterManager()) { mergeClusterManager(other.getClusterManager()); } if (other.hasHdsConfig()) { mergeHdsConfig(other.getHdsConfig()); } if (!other.getFlagsPath().isEmpty()) { flagsPath_ = other.flagsPath_; bitField0_ |= 0x00000040; onChanged(); } if (statsSinksBuilder_ == null) { if (!other.statsSinks_.isEmpty()) { if (statsSinks_.isEmpty()) { statsSinks_ = other.statsSinks_; bitField0_ = (bitField0_ & ~0x00000080); } else { ensureStatsSinksIsMutable(); statsSinks_.addAll(other.statsSinks_); } onChanged(); } } else { if (!other.statsSinks_.isEmpty()) { if (statsSinksBuilder_.isEmpty()) { statsSinksBuilder_.dispose(); statsSinksBuilder_ = null; statsSinks_ = other.statsSinks_; bitField0_ = (bitField0_ & ~0x00000080); statsSinksBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getStatsSinksFieldBuilder() : null; } else { statsSinksBuilder_.addAllMessages(other.statsSinks_); } } } if (other.hasDeferredStatOptions()) { mergeDeferredStatOptions(other.getDeferredStatOptions()); } if (other.hasStatsConfig()) { mergeStatsConfig(other.getStatsConfig()); } if (other.hasStatsFlushInterval()) { mergeStatsFlushInterval(other.getStatsFlushInterval()); } if (other.hasWatchdog()) { mergeWatchdog(other.getWatchdog()); } if (other.hasWatchdogs()) { mergeWatchdogs(other.getWatchdogs()); } if (other.hasTracing()) { mergeTracing(other.getTracing()); } if (other.hasLayeredRuntime()) { mergeLayeredRuntime(other.getLayeredRuntime()); } if (other.hasAdmin()) { mergeAdmin(other.getAdmin()); } if (other.hasOverloadManager()) { mergeOverloadManager(other.getOverloadManager()); } if (other.getEnableDispatcherStats() != false) { setEnableDispatcherStats(other.getEnableDispatcherStats()); } if (!other.getHeaderPrefix().isEmpty()) { headerPrefix_ = other.headerPrefix_; bitField0_ |= 0x00080000; onChanged(); } if (other.hasStatsServerVersionOverride()) { mergeStatsServerVersionOverride(other.getStatsServerVersionOverride()); } if (other.getUseTcpForDnsLookups() != false) { setUseTcpForDnsLookups(other.getUseTcpForDnsLookups()); } if (other.hasDnsResolutionConfig()) { mergeDnsResolutionConfig(other.getDnsResolutionConfig()); } if (other.hasTypedDnsResolverConfig()) { mergeTypedDnsResolverConfig(other.getTypedDnsResolverConfig()); } if (bootstrapExtensionsBuilder_ == null) { if (!other.bootstrapExtensions_.isEmpty()) { if (bootstrapExtensions_.isEmpty()) { bootstrapExtensions_ = other.bootstrapExtensions_; bitField0_ = (bitField0_ & ~0x01000000); } else { ensureBootstrapExtensionsIsMutable(); bootstrapExtensions_.addAll(other.bootstrapExtensions_); } onChanged(); } } else { if (!other.bootstrapExtensions_.isEmpty()) { if (bootstrapExtensionsBuilder_.isEmpty()) { bootstrapExtensionsBuilder_.dispose(); bootstrapExtensionsBuilder_ = null; bootstrapExtensions_ = other.bootstrapExtensions_; bitField0_ = (bitField0_ & ~0x01000000); bootstrapExtensionsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getBootstrapExtensionsFieldBuilder() : null; } else { bootstrapExtensionsBuilder_.addAllMessages(other.bootstrapExtensions_); } } } if (fatalActionsBuilder_ == null) { if (!other.fatalActions_.isEmpty()) { if (fatalActions_.isEmpty()) { fatalActions_ = other.fatalActions_; bitField0_ = (bitField0_ & ~0x02000000); } else { ensureFatalActionsIsMutable(); fatalActions_.addAll(other.fatalActions_); } onChanged(); } } else { if (!other.fatalActions_.isEmpty()) { if (fatalActionsBuilder_.isEmpty()) { fatalActionsBuilder_.dispose(); fatalActionsBuilder_ = null; fatalActions_ = other.fatalActions_; bitField0_ = (bitField0_ & ~0x02000000); fatalActionsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getFatalActionsFieldBuilder() : null; } else { fatalActionsBuilder_.addAllMessages(other.fatalActions_); } } } if (configSourcesBuilder_ == null) { if (!other.configSources_.isEmpty()) { if (configSources_.isEmpty()) { configSources_ = other.configSources_; bitField0_ = (bitField0_ & ~0x04000000); } else { ensureConfigSourcesIsMutable(); configSources_.addAll(other.configSources_); } onChanged(); } } else { if (!other.configSources_.isEmpty()) { if (configSourcesBuilder_.isEmpty()) { configSourcesBuilder_.dispose(); configSourcesBuilder_ = null; configSources_ = other.configSources_; bitField0_ = (bitField0_ & ~0x04000000); configSourcesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getConfigSourcesFieldBuilder() : null; } else { configSourcesBuilder_.addAllMessages(other.configSources_); } } } if (other.hasDefaultConfigSource()) { mergeDefaultConfigSource(other.getDefaultConfigSource()); } if (!other.getDefaultSocketInterface().isEmpty()) { defaultSocketInterface_ = other.defaultSocketInterface_; bitField0_ |= 0x10000000; onChanged(); } internalGetMutableCertificateProviderInstances().mergeFrom( other.internalGetCertificateProviderInstances()); bitField0_ |= 0x20000000; if (inlineHeadersBuilder_ == null) { if (!other.inlineHeaders_.isEmpty()) { if (inlineHeaders_.isEmpty()) { inlineHeaders_ = other.inlineHeaders_; bitField0_ = (bitField0_ & ~0x40000000); } else { ensureInlineHeadersIsMutable(); inlineHeaders_.addAll(other.inlineHeaders_); } onChanged(); } } else { if (!other.inlineHeaders_.isEmpty()) { if (inlineHeadersBuilder_.isEmpty()) { inlineHeadersBuilder_.dispose(); inlineHeadersBuilder_ = null; inlineHeaders_ = other.inlineHeaders_; bitField0_ = (bitField0_ & ~0x40000000); inlineHeadersBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getInlineHeadersFieldBuilder() : null; } else { inlineHeadersBuilder_.addAllMessages(other.inlineHeaders_); } } } if (!other.getPerfTracingFilePath().isEmpty()) { perfTracingFilePath_ = other.perfTracingFilePath_; bitField0_ |= 0x80000000; onChanged(); } if (other.hasDefaultRegexEngine()) { mergeDefaultRegexEngine(other.getDefaultRegexEngine()); } if (other.hasXdsDelegateExtension()) { mergeXdsDelegateExtension(other.getXdsDelegateExtension()); } if (other.hasXdsConfigTrackerExtension()) { mergeXdsConfigTrackerExtension(other.getXdsConfigTrackerExtension()); } if (other.hasListenerManager()) { mergeListenerManager(other.getListenerManager()); } if (other.hasApplicationLogConfig()) { mergeApplicationLogConfig(other.getApplicationLogConfig()); } if (other.hasGrpcAsyncClientManagerConfig()) { mergeGrpcAsyncClientManagerConfig(other.getGrpcAsyncClientManagerConfig()); } if (other.hasMemoryAllocatorManager()) { mergeMemoryAllocatorManager(other.getMemoryAllocatorManager()); } switch (other.getStatsFlushCase()) { case STATS_FLUSH_ON_ADMIN: { setStatsFlushOnAdmin(other.getStatsFlushOnAdmin()); break; } case STATSFLUSH_NOT_SET: { break; } } this.mergeUnknownFields(other.getUnknownFields()); 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 { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { input.readMessage( getNodeFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 18: { input.readMessage( getStaticResourcesFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 18 case 26: { input.readMessage( getDynamicResourcesFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000008; break; } // case 26 case 34: { input.readMessage( getClusterManagerFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000010; break; } // case 34 case 42: { flagsPath_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000040; break; } // case 42 case 50: { io.envoyproxy.envoy.config.metrics.v3.StatsSink m = input.readMessage( io.envoyproxy.envoy.config.metrics.v3.StatsSink.parser(), extensionRegistry); if (statsSinksBuilder_ == null) { ensureStatsSinksIsMutable(); statsSinks_.add(m); } else { statsSinksBuilder_.addMessage(m); } break; } // case 50 case 58: { input.readMessage( getStatsFlushIntervalFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000400; break; } // case 58 case 66: { input.readMessage( getWatchdogFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00001000; break; } // case 66 case 74: { input.readMessage( getTracingFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00004000; break; } // case 74 case 98: { input.readMessage( getAdminFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00010000; break; } // case 98 case 106: { input.readMessage( getStatsConfigFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000200; break; } // case 106 case 114: { input.readMessage( getHdsConfigFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000020; break; } // case 114 case 122: { input.readMessage( getOverloadManagerFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00020000; break; } // case 122 case 128: { enableDispatcherStats_ = input.readBool(); bitField0_ |= 0x00040000; break; } // case 128 case 138: { input.readMessage( getLayeredRuntimeFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00008000; break; } // case 138 case 146: { headerPrefix_ = input.readStringRequireUtf8(); bitField0_ |= 0x00080000; break; } // case 146 case 154: { input.readMessage( getStatsServerVersionOverrideFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00100000; break; } // case 154 case 160: { useTcpForDnsLookups_ = input.readBool(); bitField0_ |= 0x00200000; break; } // case 160 case 170: { io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig m = input.readMessage( io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.parser(), extensionRegistry); if (bootstrapExtensionsBuilder_ == null) { ensureBootstrapExtensionsIsMutable(); bootstrapExtensions_.add(m); } else { bootstrapExtensionsBuilder_.addMessage(m); } break; } // case 170 case 178: { io.envoyproxy.envoy.config.core.v3.ConfigSource m = input.readMessage( io.envoyproxy.envoy.config.core.v3.ConfigSource.parser(), extensionRegistry); if (configSourcesBuilder_ == null) { ensureConfigSourcesIsMutable(); configSources_.add(m); } else { configSourcesBuilder_.addMessage(m); } break; } // case 178 case 186: { input.readMessage( getDefaultConfigSourceFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x08000000; break; } // case 186 case 194: { defaultSocketInterface_ = input.readStringRequireUtf8(); bitField0_ |= 0x10000000; break; } // case 194 case 202: { com.google.protobuf.MapEntry certificateProviderInstances__ = input.readMessage( CertificateProviderInstancesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); internalGetMutableCertificateProviderInstances().ensureBuilderMap().put( certificateProviderInstances__.getKey(), certificateProviderInstances__.getValue()); bitField0_ |= 0x20000000; break; } // case 202 case 210: { java.lang.String s = input.readStringRequireUtf8(); ensureNodeContextParamsIsMutable(); nodeContextParams_.add(s); break; } // case 210 case 218: { input.readMessage( getWatchdogsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00002000; break; } // case 218 case 226: { io.envoyproxy.envoy.config.bootstrap.v3.FatalAction m = input.readMessage( io.envoyproxy.envoy.config.bootstrap.v3.FatalAction.parser(), extensionRegistry); if (fatalActionsBuilder_ == null) { ensureFatalActionsIsMutable(); fatalActions_.add(m); } else { fatalActionsBuilder_.addMessage(m); } break; } // case 226 case 232: { statsFlush_ = input.readBool(); statsFlushCase_ = 29; break; } // case 232 case 242: { input.readMessage( getDnsResolutionConfigFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00400000; break; } // case 242 case 250: { input.readMessage( getTypedDnsResolverConfigFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00800000; break; } // case 250 case 258: { io.envoyproxy.envoy.config.bootstrap.v3.CustomInlineHeader m = input.readMessage( io.envoyproxy.envoy.config.bootstrap.v3.CustomInlineHeader.parser(), extensionRegistry); if (inlineHeadersBuilder_ == null) { ensureInlineHeadersIsMutable(); inlineHeaders_.add(m); } else { inlineHeadersBuilder_.addMessage(m); } break; } // case 258 case 266: { perfTracingFilePath_ = input.readStringRequireUtf8(); bitField0_ |= 0x80000000; break; } // case 266 case 274: { input.readMessage( getDefaultRegexEngineFieldBuilder().getBuilder(), extensionRegistry); bitField1_ |= 0x00000001; break; } // case 274 case 282: { input.readMessage( getXdsDelegateExtensionFieldBuilder().getBuilder(), extensionRegistry); bitField1_ |= 0x00000002; break; } // case 282 case 290: { input.readMessage( getXdsConfigTrackerExtensionFieldBuilder().getBuilder(), extensionRegistry); bitField1_ |= 0x00000004; break; } // case 290 case 298: { input.readMessage( getListenerManagerFieldBuilder().getBuilder(), extensionRegistry); bitField1_ |= 0x00000008; break; } // case 298 case 306: { input.readMessage( getApplicationLogConfigFieldBuilder().getBuilder(), extensionRegistry); bitField1_ |= 0x00000010; break; } // case 306 case 314: { input.readMessage( getDeferredStatOptionsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000100; break; } // case 314 case 322: { input.readMessage( getGrpcAsyncClientManagerConfigFieldBuilder().getBuilder(), extensionRegistry); bitField1_ |= 0x00000020; break; } // case 322 case 330: { input.readMessage( getMemoryAllocatorManagerFieldBuilder().getBuilder(), extensionRegistry); bitField1_ |= 0x00000040; break; } // case 330 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int statsFlushCase_ = 0; private java.lang.Object statsFlush_; public StatsFlushCase getStatsFlushCase() { return StatsFlushCase.forNumber( statsFlushCase_); } public Builder clearStatsFlush() { statsFlushCase_ = 0; statsFlush_ = null; onChanged(); return this; } private int bitField0_; private int bitField1_; private io.envoyproxy.envoy.config.core.v3.Node node_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.Node, io.envoyproxy.envoy.config.core.v3.Node.Builder, io.envoyproxy.envoy.config.core.v3.NodeOrBuilder> nodeBuilder_; /** *
     * Node identity to present to the management server and for instance
     * identification purposes (e.g. in generated headers).
     * 
* * .envoy.config.core.v3.Node node = 1; * @return Whether the node field is set. */ public boolean hasNode() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Node identity to present to the management server and for instance
     * identification purposes (e.g. in generated headers).
     * 
* * .envoy.config.core.v3.Node node = 1; * @return The node. */ public io.envoyproxy.envoy.config.core.v3.Node getNode() { if (nodeBuilder_ == null) { return node_ == null ? io.envoyproxy.envoy.config.core.v3.Node.getDefaultInstance() : node_; } else { return nodeBuilder_.getMessage(); } } /** *
     * Node identity to present to the management server and for instance
     * identification purposes (e.g. in generated headers).
     * 
* * .envoy.config.core.v3.Node node = 1; */ public Builder setNode(io.envoyproxy.envoy.config.core.v3.Node value) { if (nodeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } node_ = value; } else { nodeBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
     * Node identity to present to the management server and for instance
     * identification purposes (e.g. in generated headers).
     * 
* * .envoy.config.core.v3.Node node = 1; */ public Builder setNode( io.envoyproxy.envoy.config.core.v3.Node.Builder builderForValue) { if (nodeBuilder_ == null) { node_ = builderForValue.build(); } else { nodeBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
     * Node identity to present to the management server and for instance
     * identification purposes (e.g. in generated headers).
     * 
* * .envoy.config.core.v3.Node node = 1; */ public Builder mergeNode(io.envoyproxy.envoy.config.core.v3.Node value) { if (nodeBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && node_ != null && node_ != io.envoyproxy.envoy.config.core.v3.Node.getDefaultInstance()) { getNodeBuilder().mergeFrom(value); } else { node_ = value; } } else { nodeBuilder_.mergeFrom(value); } if (node_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** *
     * Node identity to present to the management server and for instance
     * identification purposes (e.g. in generated headers).
     * 
* * .envoy.config.core.v3.Node node = 1; */ public Builder clearNode() { bitField0_ = (bitField0_ & ~0x00000001); node_ = null; if (nodeBuilder_ != null) { nodeBuilder_.dispose(); nodeBuilder_ = null; } onChanged(); return this; } /** *
     * Node identity to present to the management server and for instance
     * identification purposes (e.g. in generated headers).
     * 
* * .envoy.config.core.v3.Node node = 1; */ public io.envoyproxy.envoy.config.core.v3.Node.Builder getNodeBuilder() { bitField0_ |= 0x00000001; onChanged(); return getNodeFieldBuilder().getBuilder(); } /** *
     * Node identity to present to the management server and for instance
     * identification purposes (e.g. in generated headers).
     * 
* * .envoy.config.core.v3.Node node = 1; */ public io.envoyproxy.envoy.config.core.v3.NodeOrBuilder getNodeOrBuilder() { if (nodeBuilder_ != null) { return nodeBuilder_.getMessageOrBuilder(); } else { return node_ == null ? io.envoyproxy.envoy.config.core.v3.Node.getDefaultInstance() : node_; } } /** *
     * Node identity to present to the management server and for instance
     * identification purposes (e.g. in generated headers).
     * 
* * .envoy.config.core.v3.Node node = 1; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.Node, io.envoyproxy.envoy.config.core.v3.Node.Builder, io.envoyproxy.envoy.config.core.v3.NodeOrBuilder> getNodeFieldBuilder() { if (nodeBuilder_ == null) { nodeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.Node, io.envoyproxy.envoy.config.core.v3.Node.Builder, io.envoyproxy.envoy.config.core.v3.NodeOrBuilder>( getNode(), getParentForChildren(), isClean()); node_ = null; } return nodeBuilder_; } private com.google.protobuf.LazyStringArrayList nodeContextParams_ = com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureNodeContextParamsIsMutable() { if (!nodeContextParams_.isModifiable()) { nodeContextParams_ = new com.google.protobuf.LazyStringArrayList(nodeContextParams_); } bitField0_ |= 0x00000002; } /** *
     * A list of :ref:`Node <envoy_v3_api_msg_config.core.v3.Node>` field names
     * that will be included in the context parameters of the effective
     * xdstp:// URL that is sent in a discovery request when resource
     * locators are used for LDS/CDS. Any non-string field will have its JSON
     * encoding set as the context parameter value, with the exception of
     * metadata, which will be flattened (see example below). The supported field
     * names are:
     * - "cluster"
     * - "id"
     * - "locality.region"
     * - "locality.sub_zone"
     * - "locality.zone"
     * - "metadata"
     * - "user_agent_build_version.metadata"
     * - "user_agent_build_version.version"
     * - "user_agent_name"
     * - "user_agent_version"
     *
     * The node context parameters act as a base layer dictionary for the context
     * parameters (i.e. more specific resource specific context parameters will
     * override). Field names will be prefixed with “udpa.node.” when included in
     * context parameters.
     *
     * For example, if node_context_params is ``["user_agent_name", "metadata"]``,
     * the implied context parameters might be::
     *
     *   node.user_agent_name: "envoy"
     *   node.metadata.foo: "{\"bar\": \"baz\"}"
     *   node.metadata.some: "42"
     *   node.metadata.thing: "\"thing\""
     *
     * [#not-implemented-hide:]
     * 
* * repeated string node_context_params = 26; * @return A list containing the nodeContextParams. */ public com.google.protobuf.ProtocolStringList getNodeContextParamsList() { nodeContextParams_.makeImmutable(); return nodeContextParams_; } /** *
     * A list of :ref:`Node <envoy_v3_api_msg_config.core.v3.Node>` field names
     * that will be included in the context parameters of the effective
     * xdstp:// URL that is sent in a discovery request when resource
     * locators are used for LDS/CDS. Any non-string field will have its JSON
     * encoding set as the context parameter value, with the exception of
     * metadata, which will be flattened (see example below). The supported field
     * names are:
     * - "cluster"
     * - "id"
     * - "locality.region"
     * - "locality.sub_zone"
     * - "locality.zone"
     * - "metadata"
     * - "user_agent_build_version.metadata"
     * - "user_agent_build_version.version"
     * - "user_agent_name"
     * - "user_agent_version"
     *
     * The node context parameters act as a base layer dictionary for the context
     * parameters (i.e. more specific resource specific context parameters will
     * override). Field names will be prefixed with “udpa.node.” when included in
     * context parameters.
     *
     * For example, if node_context_params is ``["user_agent_name", "metadata"]``,
     * the implied context parameters might be::
     *
     *   node.user_agent_name: "envoy"
     *   node.metadata.foo: "{\"bar\": \"baz\"}"
     *   node.metadata.some: "42"
     *   node.metadata.thing: "\"thing\""
     *
     * [#not-implemented-hide:]
     * 
* * repeated string node_context_params = 26; * @return The count of nodeContextParams. */ public int getNodeContextParamsCount() { return nodeContextParams_.size(); } /** *
     * A list of :ref:`Node <envoy_v3_api_msg_config.core.v3.Node>` field names
     * that will be included in the context parameters of the effective
     * xdstp:// URL that is sent in a discovery request when resource
     * locators are used for LDS/CDS. Any non-string field will have its JSON
     * encoding set as the context parameter value, with the exception of
     * metadata, which will be flattened (see example below). The supported field
     * names are:
     * - "cluster"
     * - "id"
     * - "locality.region"
     * - "locality.sub_zone"
     * - "locality.zone"
     * - "metadata"
     * - "user_agent_build_version.metadata"
     * - "user_agent_build_version.version"
     * - "user_agent_name"
     * - "user_agent_version"
     *
     * The node context parameters act as a base layer dictionary for the context
     * parameters (i.e. more specific resource specific context parameters will
     * override). Field names will be prefixed with “udpa.node.” when included in
     * context parameters.
     *
     * For example, if node_context_params is ``["user_agent_name", "metadata"]``,
     * the implied context parameters might be::
     *
     *   node.user_agent_name: "envoy"
     *   node.metadata.foo: "{\"bar\": \"baz\"}"
     *   node.metadata.some: "42"
     *   node.metadata.thing: "\"thing\""
     *
     * [#not-implemented-hide:]
     * 
* * repeated string node_context_params = 26; * @param index The index of the element to return. * @return The nodeContextParams at the given index. */ public java.lang.String getNodeContextParams(int index) { return nodeContextParams_.get(index); } /** *
     * A list of :ref:`Node <envoy_v3_api_msg_config.core.v3.Node>` field names
     * that will be included in the context parameters of the effective
     * xdstp:// URL that is sent in a discovery request when resource
     * locators are used for LDS/CDS. Any non-string field will have its JSON
     * encoding set as the context parameter value, with the exception of
     * metadata, which will be flattened (see example below). The supported field
     * names are:
     * - "cluster"
     * - "id"
     * - "locality.region"
     * - "locality.sub_zone"
     * - "locality.zone"
     * - "metadata"
     * - "user_agent_build_version.metadata"
     * - "user_agent_build_version.version"
     * - "user_agent_name"
     * - "user_agent_version"
     *
     * The node context parameters act as a base layer dictionary for the context
     * parameters (i.e. more specific resource specific context parameters will
     * override). Field names will be prefixed with “udpa.node.” when included in
     * context parameters.
     *
     * For example, if node_context_params is ``["user_agent_name", "metadata"]``,
     * the implied context parameters might be::
     *
     *   node.user_agent_name: "envoy"
     *   node.metadata.foo: "{\"bar\": \"baz\"}"
     *   node.metadata.some: "42"
     *   node.metadata.thing: "\"thing\""
     *
     * [#not-implemented-hide:]
     * 
* * repeated string node_context_params = 26; * @param index The index of the value to return. * @return The bytes of the nodeContextParams at the given index. */ public com.google.protobuf.ByteString getNodeContextParamsBytes(int index) { return nodeContextParams_.getByteString(index); } /** *
     * A list of :ref:`Node <envoy_v3_api_msg_config.core.v3.Node>` field names
     * that will be included in the context parameters of the effective
     * xdstp:// URL that is sent in a discovery request when resource
     * locators are used for LDS/CDS. Any non-string field will have its JSON
     * encoding set as the context parameter value, with the exception of
     * metadata, which will be flattened (see example below). The supported field
     * names are:
     * - "cluster"
     * - "id"
     * - "locality.region"
     * - "locality.sub_zone"
     * - "locality.zone"
     * - "metadata"
     * - "user_agent_build_version.metadata"
     * - "user_agent_build_version.version"
     * - "user_agent_name"
     * - "user_agent_version"
     *
     * The node context parameters act as a base layer dictionary for the context
     * parameters (i.e. more specific resource specific context parameters will
     * override). Field names will be prefixed with “udpa.node.” when included in
     * context parameters.
     *
     * For example, if node_context_params is ``["user_agent_name", "metadata"]``,
     * the implied context parameters might be::
     *
     *   node.user_agent_name: "envoy"
     *   node.metadata.foo: "{\"bar\": \"baz\"}"
     *   node.metadata.some: "42"
     *   node.metadata.thing: "\"thing\""
     *
     * [#not-implemented-hide:]
     * 
* * repeated string node_context_params = 26; * @param index The index to set the value at. * @param value The nodeContextParams to set. * @return This builder for chaining. */ public Builder setNodeContextParams( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureNodeContextParamsIsMutable(); nodeContextParams_.set(index, value); bitField0_ |= 0x00000002; onChanged(); return this; } /** *
     * A list of :ref:`Node <envoy_v3_api_msg_config.core.v3.Node>` field names
     * that will be included in the context parameters of the effective
     * xdstp:// URL that is sent in a discovery request when resource
     * locators are used for LDS/CDS. Any non-string field will have its JSON
     * encoding set as the context parameter value, with the exception of
     * metadata, which will be flattened (see example below). The supported field
     * names are:
     * - "cluster"
     * - "id"
     * - "locality.region"
     * - "locality.sub_zone"
     * - "locality.zone"
     * - "metadata"
     * - "user_agent_build_version.metadata"
     * - "user_agent_build_version.version"
     * - "user_agent_name"
     * - "user_agent_version"
     *
     * The node context parameters act as a base layer dictionary for the context
     * parameters (i.e. more specific resource specific context parameters will
     * override). Field names will be prefixed with “udpa.node.” when included in
     * context parameters.
     *
     * For example, if node_context_params is ``["user_agent_name", "metadata"]``,
     * the implied context parameters might be::
     *
     *   node.user_agent_name: "envoy"
     *   node.metadata.foo: "{\"bar\": \"baz\"}"
     *   node.metadata.some: "42"
     *   node.metadata.thing: "\"thing\""
     *
     * [#not-implemented-hide:]
     * 
* * repeated string node_context_params = 26; * @param value The nodeContextParams to add. * @return This builder for chaining. */ public Builder addNodeContextParams( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureNodeContextParamsIsMutable(); nodeContextParams_.add(value); bitField0_ |= 0x00000002; onChanged(); return this; } /** *
     * A list of :ref:`Node <envoy_v3_api_msg_config.core.v3.Node>` field names
     * that will be included in the context parameters of the effective
     * xdstp:// URL that is sent in a discovery request when resource
     * locators are used for LDS/CDS. Any non-string field will have its JSON
     * encoding set as the context parameter value, with the exception of
     * metadata, which will be flattened (see example below). The supported field
     * names are:
     * - "cluster"
     * - "id"
     * - "locality.region"
     * - "locality.sub_zone"
     * - "locality.zone"
     * - "metadata"
     * - "user_agent_build_version.metadata"
     * - "user_agent_build_version.version"
     * - "user_agent_name"
     * - "user_agent_version"
     *
     * The node context parameters act as a base layer dictionary for the context
     * parameters (i.e. more specific resource specific context parameters will
     * override). Field names will be prefixed with “udpa.node.” when included in
     * context parameters.
     *
     * For example, if node_context_params is ``["user_agent_name", "metadata"]``,
     * the implied context parameters might be::
     *
     *   node.user_agent_name: "envoy"
     *   node.metadata.foo: "{\"bar\": \"baz\"}"
     *   node.metadata.some: "42"
     *   node.metadata.thing: "\"thing\""
     *
     * [#not-implemented-hide:]
     * 
* * repeated string node_context_params = 26; * @param values The nodeContextParams to add. * @return This builder for chaining. */ public Builder addAllNodeContextParams( java.lang.Iterable values) { ensureNodeContextParamsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, nodeContextParams_); bitField0_ |= 0x00000002; onChanged(); return this; } /** *
     * A list of :ref:`Node <envoy_v3_api_msg_config.core.v3.Node>` field names
     * that will be included in the context parameters of the effective
     * xdstp:// URL that is sent in a discovery request when resource
     * locators are used for LDS/CDS. Any non-string field will have its JSON
     * encoding set as the context parameter value, with the exception of
     * metadata, which will be flattened (see example below). The supported field
     * names are:
     * - "cluster"
     * - "id"
     * - "locality.region"
     * - "locality.sub_zone"
     * - "locality.zone"
     * - "metadata"
     * - "user_agent_build_version.metadata"
     * - "user_agent_build_version.version"
     * - "user_agent_name"
     * - "user_agent_version"
     *
     * The node context parameters act as a base layer dictionary for the context
     * parameters (i.e. more specific resource specific context parameters will
     * override). Field names will be prefixed with “udpa.node.” when included in
     * context parameters.
     *
     * For example, if node_context_params is ``["user_agent_name", "metadata"]``,
     * the implied context parameters might be::
     *
     *   node.user_agent_name: "envoy"
     *   node.metadata.foo: "{\"bar\": \"baz\"}"
     *   node.metadata.some: "42"
     *   node.metadata.thing: "\"thing\""
     *
     * [#not-implemented-hide:]
     * 
* * repeated string node_context_params = 26; * @return This builder for chaining. */ public Builder clearNodeContextParams() { nodeContextParams_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000002);; onChanged(); return this; } /** *
     * A list of :ref:`Node <envoy_v3_api_msg_config.core.v3.Node>` field names
     * that will be included in the context parameters of the effective
     * xdstp:// URL that is sent in a discovery request when resource
     * locators are used for LDS/CDS. Any non-string field will have its JSON
     * encoding set as the context parameter value, with the exception of
     * metadata, which will be flattened (see example below). The supported field
     * names are:
     * - "cluster"
     * - "id"
     * - "locality.region"
     * - "locality.sub_zone"
     * - "locality.zone"
     * - "metadata"
     * - "user_agent_build_version.metadata"
     * - "user_agent_build_version.version"
     * - "user_agent_name"
     * - "user_agent_version"
     *
     * The node context parameters act as a base layer dictionary for the context
     * parameters (i.e. more specific resource specific context parameters will
     * override). Field names will be prefixed with “udpa.node.” when included in
     * context parameters.
     *
     * For example, if node_context_params is ``["user_agent_name", "metadata"]``,
     * the implied context parameters might be::
     *
     *   node.user_agent_name: "envoy"
     *   node.metadata.foo: "{\"bar\": \"baz\"}"
     *   node.metadata.some: "42"
     *   node.metadata.thing: "\"thing\""
     *
     * [#not-implemented-hide:]
     * 
* * repeated string node_context_params = 26; * @param value The bytes of the nodeContextParams to add. * @return This builder for chaining. */ public Builder addNodeContextParamsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureNodeContextParamsIsMutable(); nodeContextParams_.add(value); bitField0_ |= 0x00000002; onChanged(); return this; } private io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources staticResources_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources.Builder, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResourcesOrBuilder> staticResourcesBuilder_; /** *
     * Statically specified resources.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.StaticResources static_resources = 2; * @return Whether the staticResources field is set. */ public boolean hasStaticResources() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * Statically specified resources.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.StaticResources static_resources = 2; * @return The staticResources. */ public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources getStaticResources() { if (staticResourcesBuilder_ == null) { return staticResources_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources.getDefaultInstance() : staticResources_; } else { return staticResourcesBuilder_.getMessage(); } } /** *
     * Statically specified resources.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.StaticResources static_resources = 2; */ public Builder setStaticResources(io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources value) { if (staticResourcesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } staticResources_ = value; } else { staticResourcesBuilder_.setMessage(value); } bitField0_ |= 0x00000004; onChanged(); return this; } /** *
     * Statically specified resources.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.StaticResources static_resources = 2; */ public Builder setStaticResources( io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources.Builder builderForValue) { if (staticResourcesBuilder_ == null) { staticResources_ = builderForValue.build(); } else { staticResourcesBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; onChanged(); return this; } /** *
     * Statically specified resources.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.StaticResources static_resources = 2; */ public Builder mergeStaticResources(io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources value) { if (staticResourcesBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && staticResources_ != null && staticResources_ != io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources.getDefaultInstance()) { getStaticResourcesBuilder().mergeFrom(value); } else { staticResources_ = value; } } else { staticResourcesBuilder_.mergeFrom(value); } if (staticResources_ != null) { bitField0_ |= 0x00000004; onChanged(); } return this; } /** *
     * Statically specified resources.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.StaticResources static_resources = 2; */ public Builder clearStaticResources() { bitField0_ = (bitField0_ & ~0x00000004); staticResources_ = null; if (staticResourcesBuilder_ != null) { staticResourcesBuilder_.dispose(); staticResourcesBuilder_ = null; } onChanged(); return this; } /** *
     * Statically specified resources.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.StaticResources static_resources = 2; */ public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources.Builder getStaticResourcesBuilder() { bitField0_ |= 0x00000004; onChanged(); return getStaticResourcesFieldBuilder().getBuilder(); } /** *
     * Statically specified resources.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.StaticResources static_resources = 2; */ public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResourcesOrBuilder getStaticResourcesOrBuilder() { if (staticResourcesBuilder_ != null) { return staticResourcesBuilder_.getMessageOrBuilder(); } else { return staticResources_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources.getDefaultInstance() : staticResources_; } } /** *
     * Statically specified resources.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.StaticResources static_resources = 2; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources.Builder, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResourcesOrBuilder> getStaticResourcesFieldBuilder() { if (staticResourcesBuilder_ == null) { staticResourcesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResources.Builder, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.StaticResourcesOrBuilder>( getStaticResources(), getParentForChildren(), isClean()); staticResources_ = null; } return staticResourcesBuilder_; } private io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources dynamicResources_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources.Builder, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResourcesOrBuilder> dynamicResourcesBuilder_; /** *
     * xDS configuration sources.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.DynamicResources dynamic_resources = 3; * @return Whether the dynamicResources field is set. */ public boolean hasDynamicResources() { return ((bitField0_ & 0x00000008) != 0); } /** *
     * xDS configuration sources.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.DynamicResources dynamic_resources = 3; * @return The dynamicResources. */ public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources getDynamicResources() { if (dynamicResourcesBuilder_ == null) { return dynamicResources_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources.getDefaultInstance() : dynamicResources_; } else { return dynamicResourcesBuilder_.getMessage(); } } /** *
     * xDS configuration sources.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.DynamicResources dynamic_resources = 3; */ public Builder setDynamicResources(io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources value) { if (dynamicResourcesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } dynamicResources_ = value; } else { dynamicResourcesBuilder_.setMessage(value); } bitField0_ |= 0x00000008; onChanged(); return this; } /** *
     * xDS configuration sources.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.DynamicResources dynamic_resources = 3; */ public Builder setDynamicResources( io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources.Builder builderForValue) { if (dynamicResourcesBuilder_ == null) { dynamicResources_ = builderForValue.build(); } else { dynamicResourcesBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000008; onChanged(); return this; } /** *
     * xDS configuration sources.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.DynamicResources dynamic_resources = 3; */ public Builder mergeDynamicResources(io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources value) { if (dynamicResourcesBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0) && dynamicResources_ != null && dynamicResources_ != io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources.getDefaultInstance()) { getDynamicResourcesBuilder().mergeFrom(value); } else { dynamicResources_ = value; } } else { dynamicResourcesBuilder_.mergeFrom(value); } if (dynamicResources_ != null) { bitField0_ |= 0x00000008; onChanged(); } return this; } /** *
     * xDS configuration sources.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.DynamicResources dynamic_resources = 3; */ public Builder clearDynamicResources() { bitField0_ = (bitField0_ & ~0x00000008); dynamicResources_ = null; if (dynamicResourcesBuilder_ != null) { dynamicResourcesBuilder_.dispose(); dynamicResourcesBuilder_ = null; } onChanged(); return this; } /** *
     * xDS configuration sources.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.DynamicResources dynamic_resources = 3; */ public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources.Builder getDynamicResourcesBuilder() { bitField0_ |= 0x00000008; onChanged(); return getDynamicResourcesFieldBuilder().getBuilder(); } /** *
     * xDS configuration sources.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.DynamicResources dynamic_resources = 3; */ public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResourcesOrBuilder getDynamicResourcesOrBuilder() { if (dynamicResourcesBuilder_ != null) { return dynamicResourcesBuilder_.getMessageOrBuilder(); } else { return dynamicResources_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources.getDefaultInstance() : dynamicResources_; } } /** *
     * xDS configuration sources.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.DynamicResources dynamic_resources = 3; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources.Builder, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResourcesOrBuilder> getDynamicResourcesFieldBuilder() { if (dynamicResourcesBuilder_ == null) { dynamicResourcesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResources.Builder, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DynamicResourcesOrBuilder>( getDynamicResources(), getParentForChildren(), isClean()); dynamicResources_ = null; } return dynamicResourcesBuilder_; } private io.envoyproxy.envoy.config.bootstrap.v3.ClusterManager clusterManager_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.ClusterManager, io.envoyproxy.envoy.config.bootstrap.v3.ClusterManager.Builder, io.envoyproxy.envoy.config.bootstrap.v3.ClusterManagerOrBuilder> clusterManagerBuilder_; /** *
     * Configuration for the cluster manager which owns all upstream clusters
     * within the server.
     * 
* * .envoy.config.bootstrap.v3.ClusterManager cluster_manager = 4; * @return Whether the clusterManager field is set. */ public boolean hasClusterManager() { return ((bitField0_ & 0x00000010) != 0); } /** *
     * Configuration for the cluster manager which owns all upstream clusters
     * within the server.
     * 
* * .envoy.config.bootstrap.v3.ClusterManager cluster_manager = 4; * @return The clusterManager. */ public io.envoyproxy.envoy.config.bootstrap.v3.ClusterManager getClusterManager() { if (clusterManagerBuilder_ == null) { return clusterManager_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.ClusterManager.getDefaultInstance() : clusterManager_; } else { return clusterManagerBuilder_.getMessage(); } } /** *
     * Configuration for the cluster manager which owns all upstream clusters
     * within the server.
     * 
* * .envoy.config.bootstrap.v3.ClusterManager cluster_manager = 4; */ public Builder setClusterManager(io.envoyproxy.envoy.config.bootstrap.v3.ClusterManager value) { if (clusterManagerBuilder_ == null) { if (value == null) { throw new NullPointerException(); } clusterManager_ = value; } else { clusterManagerBuilder_.setMessage(value); } bitField0_ |= 0x00000010; onChanged(); return this; } /** *
     * Configuration for the cluster manager which owns all upstream clusters
     * within the server.
     * 
* * .envoy.config.bootstrap.v3.ClusterManager cluster_manager = 4; */ public Builder setClusterManager( io.envoyproxy.envoy.config.bootstrap.v3.ClusterManager.Builder builderForValue) { if (clusterManagerBuilder_ == null) { clusterManager_ = builderForValue.build(); } else { clusterManagerBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000010; onChanged(); return this; } /** *
     * Configuration for the cluster manager which owns all upstream clusters
     * within the server.
     * 
* * .envoy.config.bootstrap.v3.ClusterManager cluster_manager = 4; */ public Builder mergeClusterManager(io.envoyproxy.envoy.config.bootstrap.v3.ClusterManager value) { if (clusterManagerBuilder_ == null) { if (((bitField0_ & 0x00000010) != 0) && clusterManager_ != null && clusterManager_ != io.envoyproxy.envoy.config.bootstrap.v3.ClusterManager.getDefaultInstance()) { getClusterManagerBuilder().mergeFrom(value); } else { clusterManager_ = value; } } else { clusterManagerBuilder_.mergeFrom(value); } if (clusterManager_ != null) { bitField0_ |= 0x00000010; onChanged(); } return this; } /** *
     * Configuration for the cluster manager which owns all upstream clusters
     * within the server.
     * 
* * .envoy.config.bootstrap.v3.ClusterManager cluster_manager = 4; */ public Builder clearClusterManager() { bitField0_ = (bitField0_ & ~0x00000010); clusterManager_ = null; if (clusterManagerBuilder_ != null) { clusterManagerBuilder_.dispose(); clusterManagerBuilder_ = null; } onChanged(); return this; } /** *
     * Configuration for the cluster manager which owns all upstream clusters
     * within the server.
     * 
* * .envoy.config.bootstrap.v3.ClusterManager cluster_manager = 4; */ public io.envoyproxy.envoy.config.bootstrap.v3.ClusterManager.Builder getClusterManagerBuilder() { bitField0_ |= 0x00000010; onChanged(); return getClusterManagerFieldBuilder().getBuilder(); } /** *
     * Configuration for the cluster manager which owns all upstream clusters
     * within the server.
     * 
* * .envoy.config.bootstrap.v3.ClusterManager cluster_manager = 4; */ public io.envoyproxy.envoy.config.bootstrap.v3.ClusterManagerOrBuilder getClusterManagerOrBuilder() { if (clusterManagerBuilder_ != null) { return clusterManagerBuilder_.getMessageOrBuilder(); } else { return clusterManager_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.ClusterManager.getDefaultInstance() : clusterManager_; } } /** *
     * Configuration for the cluster manager which owns all upstream clusters
     * within the server.
     * 
* * .envoy.config.bootstrap.v3.ClusterManager cluster_manager = 4; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.ClusterManager, io.envoyproxy.envoy.config.bootstrap.v3.ClusterManager.Builder, io.envoyproxy.envoy.config.bootstrap.v3.ClusterManagerOrBuilder> getClusterManagerFieldBuilder() { if (clusterManagerBuilder_ == null) { clusterManagerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.ClusterManager, io.envoyproxy.envoy.config.bootstrap.v3.ClusterManager.Builder, io.envoyproxy.envoy.config.bootstrap.v3.ClusterManagerOrBuilder>( getClusterManager(), getParentForChildren(), isClean()); clusterManager_ = null; } return clusterManagerBuilder_; } private io.envoyproxy.envoy.config.core.v3.ApiConfigSource hdsConfig_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.ApiConfigSource, io.envoyproxy.envoy.config.core.v3.ApiConfigSource.Builder, io.envoyproxy.envoy.config.core.v3.ApiConfigSourceOrBuilder> hdsConfigBuilder_; /** *
     * Health discovery service config option.
     * (:ref:`core.ApiConfigSource <envoy_v3_api_msg_config.core.v3.ApiConfigSource>`)
     * 
* * .envoy.config.core.v3.ApiConfigSource hds_config = 14; * @return Whether the hdsConfig field is set. */ public boolean hasHdsConfig() { return ((bitField0_ & 0x00000020) != 0); } /** *
     * Health discovery service config option.
     * (:ref:`core.ApiConfigSource <envoy_v3_api_msg_config.core.v3.ApiConfigSource>`)
     * 
* * .envoy.config.core.v3.ApiConfigSource hds_config = 14; * @return The hdsConfig. */ public io.envoyproxy.envoy.config.core.v3.ApiConfigSource getHdsConfig() { if (hdsConfigBuilder_ == null) { return hdsConfig_ == null ? io.envoyproxy.envoy.config.core.v3.ApiConfigSource.getDefaultInstance() : hdsConfig_; } else { return hdsConfigBuilder_.getMessage(); } } /** *
     * Health discovery service config option.
     * (:ref:`core.ApiConfigSource <envoy_v3_api_msg_config.core.v3.ApiConfigSource>`)
     * 
* * .envoy.config.core.v3.ApiConfigSource hds_config = 14; */ public Builder setHdsConfig(io.envoyproxy.envoy.config.core.v3.ApiConfigSource value) { if (hdsConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } hdsConfig_ = value; } else { hdsConfigBuilder_.setMessage(value); } bitField0_ |= 0x00000020; onChanged(); return this; } /** *
     * Health discovery service config option.
     * (:ref:`core.ApiConfigSource <envoy_v3_api_msg_config.core.v3.ApiConfigSource>`)
     * 
* * .envoy.config.core.v3.ApiConfigSource hds_config = 14; */ public Builder setHdsConfig( io.envoyproxy.envoy.config.core.v3.ApiConfigSource.Builder builderForValue) { if (hdsConfigBuilder_ == null) { hdsConfig_ = builderForValue.build(); } else { hdsConfigBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000020; onChanged(); return this; } /** *
     * Health discovery service config option.
     * (:ref:`core.ApiConfigSource <envoy_v3_api_msg_config.core.v3.ApiConfigSource>`)
     * 
* * .envoy.config.core.v3.ApiConfigSource hds_config = 14; */ public Builder mergeHdsConfig(io.envoyproxy.envoy.config.core.v3.ApiConfigSource value) { if (hdsConfigBuilder_ == null) { if (((bitField0_ & 0x00000020) != 0) && hdsConfig_ != null && hdsConfig_ != io.envoyproxy.envoy.config.core.v3.ApiConfigSource.getDefaultInstance()) { getHdsConfigBuilder().mergeFrom(value); } else { hdsConfig_ = value; } } else { hdsConfigBuilder_.mergeFrom(value); } if (hdsConfig_ != null) { bitField0_ |= 0x00000020; onChanged(); } return this; } /** *
     * Health discovery service config option.
     * (:ref:`core.ApiConfigSource <envoy_v3_api_msg_config.core.v3.ApiConfigSource>`)
     * 
* * .envoy.config.core.v3.ApiConfigSource hds_config = 14; */ public Builder clearHdsConfig() { bitField0_ = (bitField0_ & ~0x00000020); hdsConfig_ = null; if (hdsConfigBuilder_ != null) { hdsConfigBuilder_.dispose(); hdsConfigBuilder_ = null; } onChanged(); return this; } /** *
     * Health discovery service config option.
     * (:ref:`core.ApiConfigSource <envoy_v3_api_msg_config.core.v3.ApiConfigSource>`)
     * 
* * .envoy.config.core.v3.ApiConfigSource hds_config = 14; */ public io.envoyproxy.envoy.config.core.v3.ApiConfigSource.Builder getHdsConfigBuilder() { bitField0_ |= 0x00000020; onChanged(); return getHdsConfigFieldBuilder().getBuilder(); } /** *
     * Health discovery service config option.
     * (:ref:`core.ApiConfigSource <envoy_v3_api_msg_config.core.v3.ApiConfigSource>`)
     * 
* * .envoy.config.core.v3.ApiConfigSource hds_config = 14; */ public io.envoyproxy.envoy.config.core.v3.ApiConfigSourceOrBuilder getHdsConfigOrBuilder() { if (hdsConfigBuilder_ != null) { return hdsConfigBuilder_.getMessageOrBuilder(); } else { return hdsConfig_ == null ? io.envoyproxy.envoy.config.core.v3.ApiConfigSource.getDefaultInstance() : hdsConfig_; } } /** *
     * Health discovery service config option.
     * (:ref:`core.ApiConfigSource <envoy_v3_api_msg_config.core.v3.ApiConfigSource>`)
     * 
* * .envoy.config.core.v3.ApiConfigSource hds_config = 14; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.ApiConfigSource, io.envoyproxy.envoy.config.core.v3.ApiConfigSource.Builder, io.envoyproxy.envoy.config.core.v3.ApiConfigSourceOrBuilder> getHdsConfigFieldBuilder() { if (hdsConfigBuilder_ == null) { hdsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.ApiConfigSource, io.envoyproxy.envoy.config.core.v3.ApiConfigSource.Builder, io.envoyproxy.envoy.config.core.v3.ApiConfigSourceOrBuilder>( getHdsConfig(), getParentForChildren(), isClean()); hdsConfig_ = null; } return hdsConfigBuilder_; } private java.lang.Object flagsPath_ = ""; /** *
     * Optional file system path to search for startup flag files.
     * 
* * string flags_path = 5; * @return The flagsPath. */ public java.lang.String getFlagsPath() { java.lang.Object ref = flagsPath_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); flagsPath_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * Optional file system path to search for startup flag files.
     * 
* * string flags_path = 5; * @return The bytes for flagsPath. */ public com.google.protobuf.ByteString getFlagsPathBytes() { java.lang.Object ref = flagsPath_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); flagsPath_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * Optional file system path to search for startup flag files.
     * 
* * string flags_path = 5; * @param value The flagsPath to set. * @return This builder for chaining. */ public Builder setFlagsPath( java.lang.String value) { if (value == null) { throw new NullPointerException(); } flagsPath_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** *
     * Optional file system path to search for startup flag files.
     * 
* * string flags_path = 5; * @return This builder for chaining. */ public Builder clearFlagsPath() { flagsPath_ = getDefaultInstance().getFlagsPath(); bitField0_ = (bitField0_ & ~0x00000040); onChanged(); return this; } /** *
     * Optional file system path to search for startup flag files.
     * 
* * string flags_path = 5; * @param value The bytes for flagsPath to set. * @return This builder for chaining. */ public Builder setFlagsPathBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); flagsPath_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } private java.util.List statsSinks_ = java.util.Collections.emptyList(); private void ensureStatsSinksIsMutable() { if (!((bitField0_ & 0x00000080) != 0)) { statsSinks_ = new java.util.ArrayList(statsSinks_); bitField0_ |= 0x00000080; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.config.metrics.v3.StatsSink, io.envoyproxy.envoy.config.metrics.v3.StatsSink.Builder, io.envoyproxy.envoy.config.metrics.v3.StatsSinkOrBuilder> statsSinksBuilder_; /** *
     * Optional set of stats sinks.
     * 
* * repeated .envoy.config.metrics.v3.StatsSink stats_sinks = 6; */ public java.util.List getStatsSinksList() { if (statsSinksBuilder_ == null) { return java.util.Collections.unmodifiableList(statsSinks_); } else { return statsSinksBuilder_.getMessageList(); } } /** *
     * Optional set of stats sinks.
     * 
* * repeated .envoy.config.metrics.v3.StatsSink stats_sinks = 6; */ public int getStatsSinksCount() { if (statsSinksBuilder_ == null) { return statsSinks_.size(); } else { return statsSinksBuilder_.getCount(); } } /** *
     * Optional set of stats sinks.
     * 
* * repeated .envoy.config.metrics.v3.StatsSink stats_sinks = 6; */ public io.envoyproxy.envoy.config.metrics.v3.StatsSink getStatsSinks(int index) { if (statsSinksBuilder_ == null) { return statsSinks_.get(index); } else { return statsSinksBuilder_.getMessage(index); } } /** *
     * Optional set of stats sinks.
     * 
* * repeated .envoy.config.metrics.v3.StatsSink stats_sinks = 6; */ public Builder setStatsSinks( int index, io.envoyproxy.envoy.config.metrics.v3.StatsSink value) { if (statsSinksBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStatsSinksIsMutable(); statsSinks_.set(index, value); onChanged(); } else { statsSinksBuilder_.setMessage(index, value); } return this; } /** *
     * Optional set of stats sinks.
     * 
* * repeated .envoy.config.metrics.v3.StatsSink stats_sinks = 6; */ public Builder setStatsSinks( int index, io.envoyproxy.envoy.config.metrics.v3.StatsSink.Builder builderForValue) { if (statsSinksBuilder_ == null) { ensureStatsSinksIsMutable(); statsSinks_.set(index, builderForValue.build()); onChanged(); } else { statsSinksBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     * Optional set of stats sinks.
     * 
* * repeated .envoy.config.metrics.v3.StatsSink stats_sinks = 6; */ public Builder addStatsSinks(io.envoyproxy.envoy.config.metrics.v3.StatsSink value) { if (statsSinksBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStatsSinksIsMutable(); statsSinks_.add(value); onChanged(); } else { statsSinksBuilder_.addMessage(value); } return this; } /** *
     * Optional set of stats sinks.
     * 
* * repeated .envoy.config.metrics.v3.StatsSink stats_sinks = 6; */ public Builder addStatsSinks( int index, io.envoyproxy.envoy.config.metrics.v3.StatsSink value) { if (statsSinksBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStatsSinksIsMutable(); statsSinks_.add(index, value); onChanged(); } else { statsSinksBuilder_.addMessage(index, value); } return this; } /** *
     * Optional set of stats sinks.
     * 
* * repeated .envoy.config.metrics.v3.StatsSink stats_sinks = 6; */ public Builder addStatsSinks( io.envoyproxy.envoy.config.metrics.v3.StatsSink.Builder builderForValue) { if (statsSinksBuilder_ == null) { ensureStatsSinksIsMutable(); statsSinks_.add(builderForValue.build()); onChanged(); } else { statsSinksBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     * Optional set of stats sinks.
     * 
* * repeated .envoy.config.metrics.v3.StatsSink stats_sinks = 6; */ public Builder addStatsSinks( int index, io.envoyproxy.envoy.config.metrics.v3.StatsSink.Builder builderForValue) { if (statsSinksBuilder_ == null) { ensureStatsSinksIsMutable(); statsSinks_.add(index, builderForValue.build()); onChanged(); } else { statsSinksBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     * Optional set of stats sinks.
     * 
* * repeated .envoy.config.metrics.v3.StatsSink stats_sinks = 6; */ public Builder addAllStatsSinks( java.lang.Iterable values) { if (statsSinksBuilder_ == null) { ensureStatsSinksIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, statsSinks_); onChanged(); } else { statsSinksBuilder_.addAllMessages(values); } return this; } /** *
     * Optional set of stats sinks.
     * 
* * repeated .envoy.config.metrics.v3.StatsSink stats_sinks = 6; */ public Builder clearStatsSinks() { if (statsSinksBuilder_ == null) { statsSinks_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000080); onChanged(); } else { statsSinksBuilder_.clear(); } return this; } /** *
     * Optional set of stats sinks.
     * 
* * repeated .envoy.config.metrics.v3.StatsSink stats_sinks = 6; */ public Builder removeStatsSinks(int index) { if (statsSinksBuilder_ == null) { ensureStatsSinksIsMutable(); statsSinks_.remove(index); onChanged(); } else { statsSinksBuilder_.remove(index); } return this; } /** *
     * Optional set of stats sinks.
     * 
* * repeated .envoy.config.metrics.v3.StatsSink stats_sinks = 6; */ public io.envoyproxy.envoy.config.metrics.v3.StatsSink.Builder getStatsSinksBuilder( int index) { return getStatsSinksFieldBuilder().getBuilder(index); } /** *
     * Optional set of stats sinks.
     * 
* * repeated .envoy.config.metrics.v3.StatsSink stats_sinks = 6; */ public io.envoyproxy.envoy.config.metrics.v3.StatsSinkOrBuilder getStatsSinksOrBuilder( int index) { if (statsSinksBuilder_ == null) { return statsSinks_.get(index); } else { return statsSinksBuilder_.getMessageOrBuilder(index); } } /** *
     * Optional set of stats sinks.
     * 
* * repeated .envoy.config.metrics.v3.StatsSink stats_sinks = 6; */ public java.util.List getStatsSinksOrBuilderList() { if (statsSinksBuilder_ != null) { return statsSinksBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(statsSinks_); } } /** *
     * Optional set of stats sinks.
     * 
* * repeated .envoy.config.metrics.v3.StatsSink stats_sinks = 6; */ public io.envoyproxy.envoy.config.metrics.v3.StatsSink.Builder addStatsSinksBuilder() { return getStatsSinksFieldBuilder().addBuilder( io.envoyproxy.envoy.config.metrics.v3.StatsSink.getDefaultInstance()); } /** *
     * Optional set of stats sinks.
     * 
* * repeated .envoy.config.metrics.v3.StatsSink stats_sinks = 6; */ public io.envoyproxy.envoy.config.metrics.v3.StatsSink.Builder addStatsSinksBuilder( int index) { return getStatsSinksFieldBuilder().addBuilder( index, io.envoyproxy.envoy.config.metrics.v3.StatsSink.getDefaultInstance()); } /** *
     * Optional set of stats sinks.
     * 
* * repeated .envoy.config.metrics.v3.StatsSink stats_sinks = 6; */ public java.util.List getStatsSinksBuilderList() { return getStatsSinksFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.config.metrics.v3.StatsSink, io.envoyproxy.envoy.config.metrics.v3.StatsSink.Builder, io.envoyproxy.envoy.config.metrics.v3.StatsSinkOrBuilder> getStatsSinksFieldBuilder() { if (statsSinksBuilder_ == null) { statsSinksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.config.metrics.v3.StatsSink, io.envoyproxy.envoy.config.metrics.v3.StatsSink.Builder, io.envoyproxy.envoy.config.metrics.v3.StatsSinkOrBuilder>( statsSinks_, ((bitField0_ & 0x00000080) != 0), getParentForChildren(), isClean()); statsSinks_ = null; } return statsSinksBuilder_; } private io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions deferredStatOptions_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions.Builder, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptionsOrBuilder> deferredStatOptionsBuilder_; /** *
     * Options to control behaviors of deferred creation compatible stats.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions deferred_stat_options = 39; * @return Whether the deferredStatOptions field is set. */ public boolean hasDeferredStatOptions() { return ((bitField0_ & 0x00000100) != 0); } /** *
     * Options to control behaviors of deferred creation compatible stats.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions deferred_stat_options = 39; * @return The deferredStatOptions. */ public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions getDeferredStatOptions() { if (deferredStatOptionsBuilder_ == null) { return deferredStatOptions_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions.getDefaultInstance() : deferredStatOptions_; } else { return deferredStatOptionsBuilder_.getMessage(); } } /** *
     * Options to control behaviors of deferred creation compatible stats.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions deferred_stat_options = 39; */ public Builder setDeferredStatOptions(io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions value) { if (deferredStatOptionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } deferredStatOptions_ = value; } else { deferredStatOptionsBuilder_.setMessage(value); } bitField0_ |= 0x00000100; onChanged(); return this; } /** *
     * Options to control behaviors of deferred creation compatible stats.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions deferred_stat_options = 39; */ public Builder setDeferredStatOptions( io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions.Builder builderForValue) { if (deferredStatOptionsBuilder_ == null) { deferredStatOptions_ = builderForValue.build(); } else { deferredStatOptionsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000100; onChanged(); return this; } /** *
     * Options to control behaviors of deferred creation compatible stats.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions deferred_stat_options = 39; */ public Builder mergeDeferredStatOptions(io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions value) { if (deferredStatOptionsBuilder_ == null) { if (((bitField0_ & 0x00000100) != 0) && deferredStatOptions_ != null && deferredStatOptions_ != io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions.getDefaultInstance()) { getDeferredStatOptionsBuilder().mergeFrom(value); } else { deferredStatOptions_ = value; } } else { deferredStatOptionsBuilder_.mergeFrom(value); } if (deferredStatOptions_ != null) { bitField0_ |= 0x00000100; onChanged(); } return this; } /** *
     * Options to control behaviors of deferred creation compatible stats.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions deferred_stat_options = 39; */ public Builder clearDeferredStatOptions() { bitField0_ = (bitField0_ & ~0x00000100); deferredStatOptions_ = null; if (deferredStatOptionsBuilder_ != null) { deferredStatOptionsBuilder_.dispose(); deferredStatOptionsBuilder_ = null; } onChanged(); return this; } /** *
     * Options to control behaviors of deferred creation compatible stats.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions deferred_stat_options = 39; */ public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions.Builder getDeferredStatOptionsBuilder() { bitField0_ |= 0x00000100; onChanged(); return getDeferredStatOptionsFieldBuilder().getBuilder(); } /** *
     * Options to control behaviors of deferred creation compatible stats.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions deferred_stat_options = 39; */ public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptionsOrBuilder getDeferredStatOptionsOrBuilder() { if (deferredStatOptionsBuilder_ != null) { return deferredStatOptionsBuilder_.getMessageOrBuilder(); } else { return deferredStatOptions_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions.getDefaultInstance() : deferredStatOptions_; } } /** *
     * Options to control behaviors of deferred creation compatible stats.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions deferred_stat_options = 39; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions.Builder, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptionsOrBuilder> getDeferredStatOptionsFieldBuilder() { if (deferredStatOptionsBuilder_ == null) { deferredStatOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptions.Builder, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.DeferredStatOptionsOrBuilder>( getDeferredStatOptions(), getParentForChildren(), isClean()); deferredStatOptions_ = null; } return deferredStatOptionsBuilder_; } private io.envoyproxy.envoy.config.metrics.v3.StatsConfig statsConfig_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.metrics.v3.StatsConfig, io.envoyproxy.envoy.config.metrics.v3.StatsConfig.Builder, io.envoyproxy.envoy.config.metrics.v3.StatsConfigOrBuilder> statsConfigBuilder_; /** *
     * Configuration for internal processing of stats.
     * 
* * .envoy.config.metrics.v3.StatsConfig stats_config = 13; * @return Whether the statsConfig field is set. */ public boolean hasStatsConfig() { return ((bitField0_ & 0x00000200) != 0); } /** *
     * Configuration for internal processing of stats.
     * 
* * .envoy.config.metrics.v3.StatsConfig stats_config = 13; * @return The statsConfig. */ public io.envoyproxy.envoy.config.metrics.v3.StatsConfig getStatsConfig() { if (statsConfigBuilder_ == null) { return statsConfig_ == null ? io.envoyproxy.envoy.config.metrics.v3.StatsConfig.getDefaultInstance() : statsConfig_; } else { return statsConfigBuilder_.getMessage(); } } /** *
     * Configuration for internal processing of stats.
     * 
* * .envoy.config.metrics.v3.StatsConfig stats_config = 13; */ public Builder setStatsConfig(io.envoyproxy.envoy.config.metrics.v3.StatsConfig value) { if (statsConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } statsConfig_ = value; } else { statsConfigBuilder_.setMessage(value); } bitField0_ |= 0x00000200; onChanged(); return this; } /** *
     * Configuration for internal processing of stats.
     * 
* * .envoy.config.metrics.v3.StatsConfig stats_config = 13; */ public Builder setStatsConfig( io.envoyproxy.envoy.config.metrics.v3.StatsConfig.Builder builderForValue) { if (statsConfigBuilder_ == null) { statsConfig_ = builderForValue.build(); } else { statsConfigBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000200; onChanged(); return this; } /** *
     * Configuration for internal processing of stats.
     * 
* * .envoy.config.metrics.v3.StatsConfig stats_config = 13; */ public Builder mergeStatsConfig(io.envoyproxy.envoy.config.metrics.v3.StatsConfig value) { if (statsConfigBuilder_ == null) { if (((bitField0_ & 0x00000200) != 0) && statsConfig_ != null && statsConfig_ != io.envoyproxy.envoy.config.metrics.v3.StatsConfig.getDefaultInstance()) { getStatsConfigBuilder().mergeFrom(value); } else { statsConfig_ = value; } } else { statsConfigBuilder_.mergeFrom(value); } if (statsConfig_ != null) { bitField0_ |= 0x00000200; onChanged(); } return this; } /** *
     * Configuration for internal processing of stats.
     * 
* * .envoy.config.metrics.v3.StatsConfig stats_config = 13; */ public Builder clearStatsConfig() { bitField0_ = (bitField0_ & ~0x00000200); statsConfig_ = null; if (statsConfigBuilder_ != null) { statsConfigBuilder_.dispose(); statsConfigBuilder_ = null; } onChanged(); return this; } /** *
     * Configuration for internal processing of stats.
     * 
* * .envoy.config.metrics.v3.StatsConfig stats_config = 13; */ public io.envoyproxy.envoy.config.metrics.v3.StatsConfig.Builder getStatsConfigBuilder() { bitField0_ |= 0x00000200; onChanged(); return getStatsConfigFieldBuilder().getBuilder(); } /** *
     * Configuration for internal processing of stats.
     * 
* * .envoy.config.metrics.v3.StatsConfig stats_config = 13; */ public io.envoyproxy.envoy.config.metrics.v3.StatsConfigOrBuilder getStatsConfigOrBuilder() { if (statsConfigBuilder_ != null) { return statsConfigBuilder_.getMessageOrBuilder(); } else { return statsConfig_ == null ? io.envoyproxy.envoy.config.metrics.v3.StatsConfig.getDefaultInstance() : statsConfig_; } } /** *
     * Configuration for internal processing of stats.
     * 
* * .envoy.config.metrics.v3.StatsConfig stats_config = 13; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.metrics.v3.StatsConfig, io.envoyproxy.envoy.config.metrics.v3.StatsConfig.Builder, io.envoyproxy.envoy.config.metrics.v3.StatsConfigOrBuilder> getStatsConfigFieldBuilder() { if (statsConfigBuilder_ == null) { statsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.metrics.v3.StatsConfig, io.envoyproxy.envoy.config.metrics.v3.StatsConfig.Builder, io.envoyproxy.envoy.config.metrics.v3.StatsConfigOrBuilder>( getStatsConfig(), getParentForChildren(), isClean()); statsConfig_ = null; } return statsConfigBuilder_; } private com.google.protobuf.Duration statsFlushInterval_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> statsFlushIntervalBuilder_; /** *
     * Optional duration between flushes to configured stats sinks. For
     * performance reasons Envoy latches counters and only flushes counters and
     * gauges at a periodic interval. If not specified the default is 5000ms (5
     * seconds). Only one of ``stats_flush_interval`` or ``stats_flush_on_admin``
     * can be set.
     * Duration must be at least 1ms and at most 5 min.
     * 
* * .google.protobuf.Duration stats_flush_interval = 7 [(.validate.rules) = { ... } * @return Whether the statsFlushInterval field is set. */ public boolean hasStatsFlushInterval() { return ((bitField0_ & 0x00000400) != 0); } /** *
     * Optional duration between flushes to configured stats sinks. For
     * performance reasons Envoy latches counters and only flushes counters and
     * gauges at a periodic interval. If not specified the default is 5000ms (5
     * seconds). Only one of ``stats_flush_interval`` or ``stats_flush_on_admin``
     * can be set.
     * Duration must be at least 1ms and at most 5 min.
     * 
* * .google.protobuf.Duration stats_flush_interval = 7 [(.validate.rules) = { ... } * @return The statsFlushInterval. */ public com.google.protobuf.Duration getStatsFlushInterval() { if (statsFlushIntervalBuilder_ == null) { return statsFlushInterval_ == null ? com.google.protobuf.Duration.getDefaultInstance() : statsFlushInterval_; } else { return statsFlushIntervalBuilder_.getMessage(); } } /** *
     * Optional duration between flushes to configured stats sinks. For
     * performance reasons Envoy latches counters and only flushes counters and
     * gauges at a periodic interval. If not specified the default is 5000ms (5
     * seconds). Only one of ``stats_flush_interval`` or ``stats_flush_on_admin``
     * can be set.
     * Duration must be at least 1ms and at most 5 min.
     * 
* * .google.protobuf.Duration stats_flush_interval = 7 [(.validate.rules) = { ... } */ public Builder setStatsFlushInterval(com.google.protobuf.Duration value) { if (statsFlushIntervalBuilder_ == null) { if (value == null) { throw new NullPointerException(); } statsFlushInterval_ = value; } else { statsFlushIntervalBuilder_.setMessage(value); } bitField0_ |= 0x00000400; onChanged(); return this; } /** *
     * Optional duration between flushes to configured stats sinks. For
     * performance reasons Envoy latches counters and only flushes counters and
     * gauges at a periodic interval. If not specified the default is 5000ms (5
     * seconds). Only one of ``stats_flush_interval`` or ``stats_flush_on_admin``
     * can be set.
     * Duration must be at least 1ms and at most 5 min.
     * 
* * .google.protobuf.Duration stats_flush_interval = 7 [(.validate.rules) = { ... } */ public Builder setStatsFlushInterval( com.google.protobuf.Duration.Builder builderForValue) { if (statsFlushIntervalBuilder_ == null) { statsFlushInterval_ = builderForValue.build(); } else { statsFlushIntervalBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000400; onChanged(); return this; } /** *
     * Optional duration between flushes to configured stats sinks. For
     * performance reasons Envoy latches counters and only flushes counters and
     * gauges at a periodic interval. If not specified the default is 5000ms (5
     * seconds). Only one of ``stats_flush_interval`` or ``stats_flush_on_admin``
     * can be set.
     * Duration must be at least 1ms and at most 5 min.
     * 
* * .google.protobuf.Duration stats_flush_interval = 7 [(.validate.rules) = { ... } */ public Builder mergeStatsFlushInterval(com.google.protobuf.Duration value) { if (statsFlushIntervalBuilder_ == null) { if (((bitField0_ & 0x00000400) != 0) && statsFlushInterval_ != null && statsFlushInterval_ != com.google.protobuf.Duration.getDefaultInstance()) { getStatsFlushIntervalBuilder().mergeFrom(value); } else { statsFlushInterval_ = value; } } else { statsFlushIntervalBuilder_.mergeFrom(value); } if (statsFlushInterval_ != null) { bitField0_ |= 0x00000400; onChanged(); } return this; } /** *
     * Optional duration between flushes to configured stats sinks. For
     * performance reasons Envoy latches counters and only flushes counters and
     * gauges at a periodic interval. If not specified the default is 5000ms (5
     * seconds). Only one of ``stats_flush_interval`` or ``stats_flush_on_admin``
     * can be set.
     * Duration must be at least 1ms and at most 5 min.
     * 
* * .google.protobuf.Duration stats_flush_interval = 7 [(.validate.rules) = { ... } */ public Builder clearStatsFlushInterval() { bitField0_ = (bitField0_ & ~0x00000400); statsFlushInterval_ = null; if (statsFlushIntervalBuilder_ != null) { statsFlushIntervalBuilder_.dispose(); statsFlushIntervalBuilder_ = null; } onChanged(); return this; } /** *
     * Optional duration between flushes to configured stats sinks. For
     * performance reasons Envoy latches counters and only flushes counters and
     * gauges at a periodic interval. If not specified the default is 5000ms (5
     * seconds). Only one of ``stats_flush_interval`` or ``stats_flush_on_admin``
     * can be set.
     * Duration must be at least 1ms and at most 5 min.
     * 
* * .google.protobuf.Duration stats_flush_interval = 7 [(.validate.rules) = { ... } */ public com.google.protobuf.Duration.Builder getStatsFlushIntervalBuilder() { bitField0_ |= 0x00000400; onChanged(); return getStatsFlushIntervalFieldBuilder().getBuilder(); } /** *
     * Optional duration between flushes to configured stats sinks. For
     * performance reasons Envoy latches counters and only flushes counters and
     * gauges at a periodic interval. If not specified the default is 5000ms (5
     * seconds). Only one of ``stats_flush_interval`` or ``stats_flush_on_admin``
     * can be set.
     * Duration must be at least 1ms and at most 5 min.
     * 
* * .google.protobuf.Duration stats_flush_interval = 7 [(.validate.rules) = { ... } */ public com.google.protobuf.DurationOrBuilder getStatsFlushIntervalOrBuilder() { if (statsFlushIntervalBuilder_ != null) { return statsFlushIntervalBuilder_.getMessageOrBuilder(); } else { return statsFlushInterval_ == null ? com.google.protobuf.Duration.getDefaultInstance() : statsFlushInterval_; } } /** *
     * Optional duration between flushes to configured stats sinks. For
     * performance reasons Envoy latches counters and only flushes counters and
     * gauges at a periodic interval. If not specified the default is 5000ms (5
     * seconds). Only one of ``stats_flush_interval`` or ``stats_flush_on_admin``
     * can be set.
     * Duration must be at least 1ms and at most 5 min.
     * 
* * .google.protobuf.Duration stats_flush_interval = 7 [(.validate.rules) = { ... } */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> getStatsFlushIntervalFieldBuilder() { if (statsFlushIntervalBuilder_ == null) { statsFlushIntervalBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( getStatsFlushInterval(), getParentForChildren(), isClean()); statsFlushInterval_ = null; } return statsFlushIntervalBuilder_; } /** *
     * Flush stats to sinks only when queried for on the admin interface. If set,
     * a flush timer is not created. Only one of ``stats_flush_on_admin`` or
     * ``stats_flush_interval`` can be set.
     * 
* * bool stats_flush_on_admin = 29 [(.validate.rules) = { ... } * @return Whether the statsFlushOnAdmin field is set. */ public boolean hasStatsFlushOnAdmin() { return statsFlushCase_ == 29; } /** *
     * Flush stats to sinks only when queried for on the admin interface. If set,
     * a flush timer is not created. Only one of ``stats_flush_on_admin`` or
     * ``stats_flush_interval`` can be set.
     * 
* * bool stats_flush_on_admin = 29 [(.validate.rules) = { ... } * @return The statsFlushOnAdmin. */ public boolean getStatsFlushOnAdmin() { if (statsFlushCase_ == 29) { return (java.lang.Boolean) statsFlush_; } return false; } /** *
     * Flush stats to sinks only when queried for on the admin interface. If set,
     * a flush timer is not created. Only one of ``stats_flush_on_admin`` or
     * ``stats_flush_interval`` can be set.
     * 
* * bool stats_flush_on_admin = 29 [(.validate.rules) = { ... } * @param value The statsFlushOnAdmin to set. * @return This builder for chaining. */ public Builder setStatsFlushOnAdmin(boolean value) { statsFlushCase_ = 29; statsFlush_ = value; onChanged(); return this; } /** *
     * Flush stats to sinks only when queried for on the admin interface. If set,
     * a flush timer is not created. Only one of ``stats_flush_on_admin`` or
     * ``stats_flush_interval`` can be set.
     * 
* * bool stats_flush_on_admin = 29 [(.validate.rules) = { ... } * @return This builder for chaining. */ public Builder clearStatsFlushOnAdmin() { if (statsFlushCase_ == 29) { statsFlushCase_ = 0; statsFlush_ = null; onChanged(); } return this; } private io.envoyproxy.envoy.config.bootstrap.v3.Watchdog watchdog_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.Watchdog, io.envoyproxy.envoy.config.bootstrap.v3.Watchdog.Builder, io.envoyproxy.envoy.config.bootstrap.v3.WatchdogOrBuilder> watchdogBuilder_; /** *
     * Optional watchdog configuration.
     * This is for a single watchdog configuration for the entire system.
     * Deprecated in favor of ``watchdogs`` which has finer granularity.
     * 
* * .envoy.config.bootstrap.v3.Watchdog watchdog = 8 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; * @deprecated envoy.config.bootstrap.v3.Bootstrap.watchdog is deprecated. * See envoy/config/bootstrap/v3/bootstrap.proto;l=237 * @return Whether the watchdog field is set. */ @java.lang.Deprecated public boolean hasWatchdog() { return ((bitField0_ & 0x00001000) != 0); } /** *
     * Optional watchdog configuration.
     * This is for a single watchdog configuration for the entire system.
     * Deprecated in favor of ``watchdogs`` which has finer granularity.
     * 
* * .envoy.config.bootstrap.v3.Watchdog watchdog = 8 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; * @deprecated envoy.config.bootstrap.v3.Bootstrap.watchdog is deprecated. * See envoy/config/bootstrap/v3/bootstrap.proto;l=237 * @return The watchdog. */ @java.lang.Deprecated public io.envoyproxy.envoy.config.bootstrap.v3.Watchdog getWatchdog() { if (watchdogBuilder_ == null) { return watchdog_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.Watchdog.getDefaultInstance() : watchdog_; } else { return watchdogBuilder_.getMessage(); } } /** *
     * Optional watchdog configuration.
     * This is for a single watchdog configuration for the entire system.
     * Deprecated in favor of ``watchdogs`` which has finer granularity.
     * 
* * .envoy.config.bootstrap.v3.Watchdog watchdog = 8 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; */ @java.lang.Deprecated public Builder setWatchdog(io.envoyproxy.envoy.config.bootstrap.v3.Watchdog value) { if (watchdogBuilder_ == null) { if (value == null) { throw new NullPointerException(); } watchdog_ = value; } else { watchdogBuilder_.setMessage(value); } bitField0_ |= 0x00001000; onChanged(); return this; } /** *
     * Optional watchdog configuration.
     * This is for a single watchdog configuration for the entire system.
     * Deprecated in favor of ``watchdogs`` which has finer granularity.
     * 
* * .envoy.config.bootstrap.v3.Watchdog watchdog = 8 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; */ @java.lang.Deprecated public Builder setWatchdog( io.envoyproxy.envoy.config.bootstrap.v3.Watchdog.Builder builderForValue) { if (watchdogBuilder_ == null) { watchdog_ = builderForValue.build(); } else { watchdogBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00001000; onChanged(); return this; } /** *
     * Optional watchdog configuration.
     * This is for a single watchdog configuration for the entire system.
     * Deprecated in favor of ``watchdogs`` which has finer granularity.
     * 
* * .envoy.config.bootstrap.v3.Watchdog watchdog = 8 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; */ @java.lang.Deprecated public Builder mergeWatchdog(io.envoyproxy.envoy.config.bootstrap.v3.Watchdog value) { if (watchdogBuilder_ == null) { if (((bitField0_ & 0x00001000) != 0) && watchdog_ != null && watchdog_ != io.envoyproxy.envoy.config.bootstrap.v3.Watchdog.getDefaultInstance()) { getWatchdogBuilder().mergeFrom(value); } else { watchdog_ = value; } } else { watchdogBuilder_.mergeFrom(value); } if (watchdog_ != null) { bitField0_ |= 0x00001000; onChanged(); } return this; } /** *
     * Optional watchdog configuration.
     * This is for a single watchdog configuration for the entire system.
     * Deprecated in favor of ``watchdogs`` which has finer granularity.
     * 
* * .envoy.config.bootstrap.v3.Watchdog watchdog = 8 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; */ @java.lang.Deprecated public Builder clearWatchdog() { bitField0_ = (bitField0_ & ~0x00001000); watchdog_ = null; if (watchdogBuilder_ != null) { watchdogBuilder_.dispose(); watchdogBuilder_ = null; } onChanged(); return this; } /** *
     * Optional watchdog configuration.
     * This is for a single watchdog configuration for the entire system.
     * Deprecated in favor of ``watchdogs`` which has finer granularity.
     * 
* * .envoy.config.bootstrap.v3.Watchdog watchdog = 8 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; */ @java.lang.Deprecated public io.envoyproxy.envoy.config.bootstrap.v3.Watchdog.Builder getWatchdogBuilder() { bitField0_ |= 0x00001000; onChanged(); return getWatchdogFieldBuilder().getBuilder(); } /** *
     * Optional watchdog configuration.
     * This is for a single watchdog configuration for the entire system.
     * Deprecated in favor of ``watchdogs`` which has finer granularity.
     * 
* * .envoy.config.bootstrap.v3.Watchdog watchdog = 8 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; */ @java.lang.Deprecated public io.envoyproxy.envoy.config.bootstrap.v3.WatchdogOrBuilder getWatchdogOrBuilder() { if (watchdogBuilder_ != null) { return watchdogBuilder_.getMessageOrBuilder(); } else { return watchdog_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.Watchdog.getDefaultInstance() : watchdog_; } } /** *
     * Optional watchdog configuration.
     * This is for a single watchdog configuration for the entire system.
     * Deprecated in favor of ``watchdogs`` which has finer granularity.
     * 
* * .envoy.config.bootstrap.v3.Watchdog watchdog = 8 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.Watchdog, io.envoyproxy.envoy.config.bootstrap.v3.Watchdog.Builder, io.envoyproxy.envoy.config.bootstrap.v3.WatchdogOrBuilder> getWatchdogFieldBuilder() { if (watchdogBuilder_ == null) { watchdogBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.Watchdog, io.envoyproxy.envoy.config.bootstrap.v3.Watchdog.Builder, io.envoyproxy.envoy.config.bootstrap.v3.WatchdogOrBuilder>( getWatchdog(), getParentForChildren(), isClean()); watchdog_ = null; } return watchdogBuilder_; } private io.envoyproxy.envoy.config.bootstrap.v3.Watchdogs watchdogs_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.Watchdogs, io.envoyproxy.envoy.config.bootstrap.v3.Watchdogs.Builder, io.envoyproxy.envoy.config.bootstrap.v3.WatchdogsOrBuilder> watchdogsBuilder_; /** *
     * Optional watchdogs configuration.
     * This is used for specifying different watchdogs for the different subsystems.
     * [#extension-category: envoy.guarddog_actions]
     * 
* * .envoy.config.bootstrap.v3.Watchdogs watchdogs = 27; * @return Whether the watchdogs field is set. */ public boolean hasWatchdogs() { return ((bitField0_ & 0x00002000) != 0); } /** *
     * Optional watchdogs configuration.
     * This is used for specifying different watchdogs for the different subsystems.
     * [#extension-category: envoy.guarddog_actions]
     * 
* * .envoy.config.bootstrap.v3.Watchdogs watchdogs = 27; * @return The watchdogs. */ public io.envoyproxy.envoy.config.bootstrap.v3.Watchdogs getWatchdogs() { if (watchdogsBuilder_ == null) { return watchdogs_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.Watchdogs.getDefaultInstance() : watchdogs_; } else { return watchdogsBuilder_.getMessage(); } } /** *
     * Optional watchdogs configuration.
     * This is used for specifying different watchdogs for the different subsystems.
     * [#extension-category: envoy.guarddog_actions]
     * 
* * .envoy.config.bootstrap.v3.Watchdogs watchdogs = 27; */ public Builder setWatchdogs(io.envoyproxy.envoy.config.bootstrap.v3.Watchdogs value) { if (watchdogsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } watchdogs_ = value; } else { watchdogsBuilder_.setMessage(value); } bitField0_ |= 0x00002000; onChanged(); return this; } /** *
     * Optional watchdogs configuration.
     * This is used for specifying different watchdogs for the different subsystems.
     * [#extension-category: envoy.guarddog_actions]
     * 
* * .envoy.config.bootstrap.v3.Watchdogs watchdogs = 27; */ public Builder setWatchdogs( io.envoyproxy.envoy.config.bootstrap.v3.Watchdogs.Builder builderForValue) { if (watchdogsBuilder_ == null) { watchdogs_ = builderForValue.build(); } else { watchdogsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00002000; onChanged(); return this; } /** *
     * Optional watchdogs configuration.
     * This is used for specifying different watchdogs for the different subsystems.
     * [#extension-category: envoy.guarddog_actions]
     * 
* * .envoy.config.bootstrap.v3.Watchdogs watchdogs = 27; */ public Builder mergeWatchdogs(io.envoyproxy.envoy.config.bootstrap.v3.Watchdogs value) { if (watchdogsBuilder_ == null) { if (((bitField0_ & 0x00002000) != 0) && watchdogs_ != null && watchdogs_ != io.envoyproxy.envoy.config.bootstrap.v3.Watchdogs.getDefaultInstance()) { getWatchdogsBuilder().mergeFrom(value); } else { watchdogs_ = value; } } else { watchdogsBuilder_.mergeFrom(value); } if (watchdogs_ != null) { bitField0_ |= 0x00002000; onChanged(); } return this; } /** *
     * Optional watchdogs configuration.
     * This is used for specifying different watchdogs for the different subsystems.
     * [#extension-category: envoy.guarddog_actions]
     * 
* * .envoy.config.bootstrap.v3.Watchdogs watchdogs = 27; */ public Builder clearWatchdogs() { bitField0_ = (bitField0_ & ~0x00002000); watchdogs_ = null; if (watchdogsBuilder_ != null) { watchdogsBuilder_.dispose(); watchdogsBuilder_ = null; } onChanged(); return this; } /** *
     * Optional watchdogs configuration.
     * This is used for specifying different watchdogs for the different subsystems.
     * [#extension-category: envoy.guarddog_actions]
     * 
* * .envoy.config.bootstrap.v3.Watchdogs watchdogs = 27; */ public io.envoyproxy.envoy.config.bootstrap.v3.Watchdogs.Builder getWatchdogsBuilder() { bitField0_ |= 0x00002000; onChanged(); return getWatchdogsFieldBuilder().getBuilder(); } /** *
     * Optional watchdogs configuration.
     * This is used for specifying different watchdogs for the different subsystems.
     * [#extension-category: envoy.guarddog_actions]
     * 
* * .envoy.config.bootstrap.v3.Watchdogs watchdogs = 27; */ public io.envoyproxy.envoy.config.bootstrap.v3.WatchdogsOrBuilder getWatchdogsOrBuilder() { if (watchdogsBuilder_ != null) { return watchdogsBuilder_.getMessageOrBuilder(); } else { return watchdogs_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.Watchdogs.getDefaultInstance() : watchdogs_; } } /** *
     * Optional watchdogs configuration.
     * This is used for specifying different watchdogs for the different subsystems.
     * [#extension-category: envoy.guarddog_actions]
     * 
* * .envoy.config.bootstrap.v3.Watchdogs watchdogs = 27; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.Watchdogs, io.envoyproxy.envoy.config.bootstrap.v3.Watchdogs.Builder, io.envoyproxy.envoy.config.bootstrap.v3.WatchdogsOrBuilder> getWatchdogsFieldBuilder() { if (watchdogsBuilder_ == null) { watchdogsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.Watchdogs, io.envoyproxy.envoy.config.bootstrap.v3.Watchdogs.Builder, io.envoyproxy.envoy.config.bootstrap.v3.WatchdogsOrBuilder>( getWatchdogs(), getParentForChildren(), isClean()); watchdogs_ = null; } return watchdogsBuilder_; } private io.envoyproxy.envoy.config.trace.v3.Tracing tracing_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.trace.v3.Tracing, io.envoyproxy.envoy.config.trace.v3.Tracing.Builder, io.envoyproxy.envoy.config.trace.v3.TracingOrBuilder> tracingBuilder_; /** *
     * Configuration for an external tracing provider.
     *
     * .. attention::
     *  This field has been deprecated in favor of :ref:`HttpConnectionManager.Tracing.provider
     *  <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.Tracing.provider>`.
     * 
* * .envoy.config.trace.v3.Tracing tracing = 9 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; * @deprecated envoy.config.bootstrap.v3.Bootstrap.tracing is deprecated. * See envoy/config/bootstrap/v3/bootstrap.proto;l=250 * @return Whether the tracing field is set. */ @java.lang.Deprecated public boolean hasTracing() { return ((bitField0_ & 0x00004000) != 0); } /** *
     * Configuration for an external tracing provider.
     *
     * .. attention::
     *  This field has been deprecated in favor of :ref:`HttpConnectionManager.Tracing.provider
     *  <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.Tracing.provider>`.
     * 
* * .envoy.config.trace.v3.Tracing tracing = 9 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; * @deprecated envoy.config.bootstrap.v3.Bootstrap.tracing is deprecated. * See envoy/config/bootstrap/v3/bootstrap.proto;l=250 * @return The tracing. */ @java.lang.Deprecated public io.envoyproxy.envoy.config.trace.v3.Tracing getTracing() { if (tracingBuilder_ == null) { return tracing_ == null ? io.envoyproxy.envoy.config.trace.v3.Tracing.getDefaultInstance() : tracing_; } else { return tracingBuilder_.getMessage(); } } /** *
     * Configuration for an external tracing provider.
     *
     * .. attention::
     *  This field has been deprecated in favor of :ref:`HttpConnectionManager.Tracing.provider
     *  <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.Tracing.provider>`.
     * 
* * .envoy.config.trace.v3.Tracing tracing = 9 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; */ @java.lang.Deprecated public Builder setTracing(io.envoyproxy.envoy.config.trace.v3.Tracing value) { if (tracingBuilder_ == null) { if (value == null) { throw new NullPointerException(); } tracing_ = value; } else { tracingBuilder_.setMessage(value); } bitField0_ |= 0x00004000; onChanged(); return this; } /** *
     * Configuration for an external tracing provider.
     *
     * .. attention::
     *  This field has been deprecated in favor of :ref:`HttpConnectionManager.Tracing.provider
     *  <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.Tracing.provider>`.
     * 
* * .envoy.config.trace.v3.Tracing tracing = 9 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; */ @java.lang.Deprecated public Builder setTracing( io.envoyproxy.envoy.config.trace.v3.Tracing.Builder builderForValue) { if (tracingBuilder_ == null) { tracing_ = builderForValue.build(); } else { tracingBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00004000; onChanged(); return this; } /** *
     * Configuration for an external tracing provider.
     *
     * .. attention::
     *  This field has been deprecated in favor of :ref:`HttpConnectionManager.Tracing.provider
     *  <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.Tracing.provider>`.
     * 
* * .envoy.config.trace.v3.Tracing tracing = 9 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; */ @java.lang.Deprecated public Builder mergeTracing(io.envoyproxy.envoy.config.trace.v3.Tracing value) { if (tracingBuilder_ == null) { if (((bitField0_ & 0x00004000) != 0) && tracing_ != null && tracing_ != io.envoyproxy.envoy.config.trace.v3.Tracing.getDefaultInstance()) { getTracingBuilder().mergeFrom(value); } else { tracing_ = value; } } else { tracingBuilder_.mergeFrom(value); } if (tracing_ != null) { bitField0_ |= 0x00004000; onChanged(); } return this; } /** *
     * Configuration for an external tracing provider.
     *
     * .. attention::
     *  This field has been deprecated in favor of :ref:`HttpConnectionManager.Tracing.provider
     *  <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.Tracing.provider>`.
     * 
* * .envoy.config.trace.v3.Tracing tracing = 9 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; */ @java.lang.Deprecated public Builder clearTracing() { bitField0_ = (bitField0_ & ~0x00004000); tracing_ = null; if (tracingBuilder_ != null) { tracingBuilder_.dispose(); tracingBuilder_ = null; } onChanged(); return this; } /** *
     * Configuration for an external tracing provider.
     *
     * .. attention::
     *  This field has been deprecated in favor of :ref:`HttpConnectionManager.Tracing.provider
     *  <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.Tracing.provider>`.
     * 
* * .envoy.config.trace.v3.Tracing tracing = 9 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; */ @java.lang.Deprecated public io.envoyproxy.envoy.config.trace.v3.Tracing.Builder getTracingBuilder() { bitField0_ |= 0x00004000; onChanged(); return getTracingFieldBuilder().getBuilder(); } /** *
     * Configuration for an external tracing provider.
     *
     * .. attention::
     *  This field has been deprecated in favor of :ref:`HttpConnectionManager.Tracing.provider
     *  <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.Tracing.provider>`.
     * 
* * .envoy.config.trace.v3.Tracing tracing = 9 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; */ @java.lang.Deprecated public io.envoyproxy.envoy.config.trace.v3.TracingOrBuilder getTracingOrBuilder() { if (tracingBuilder_ != null) { return tracingBuilder_.getMessageOrBuilder(); } else { return tracing_ == null ? io.envoyproxy.envoy.config.trace.v3.Tracing.getDefaultInstance() : tracing_; } } /** *
     * Configuration for an external tracing provider.
     *
     * .. attention::
     *  This field has been deprecated in favor of :ref:`HttpConnectionManager.Tracing.provider
     *  <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.Tracing.provider>`.
     * 
* * .envoy.config.trace.v3.Tracing tracing = 9 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.trace.v3.Tracing, io.envoyproxy.envoy.config.trace.v3.Tracing.Builder, io.envoyproxy.envoy.config.trace.v3.TracingOrBuilder> getTracingFieldBuilder() { if (tracingBuilder_ == null) { tracingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.trace.v3.Tracing, io.envoyproxy.envoy.config.trace.v3.Tracing.Builder, io.envoyproxy.envoy.config.trace.v3.TracingOrBuilder>( getTracing(), getParentForChildren(), isClean()); tracing_ = null; } return tracingBuilder_; } private io.envoyproxy.envoy.config.bootstrap.v3.LayeredRuntime layeredRuntime_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.LayeredRuntime, io.envoyproxy.envoy.config.bootstrap.v3.LayeredRuntime.Builder, io.envoyproxy.envoy.config.bootstrap.v3.LayeredRuntimeOrBuilder> layeredRuntimeBuilder_; /** *
     * Configuration for the runtime configuration provider. If not
     * specified, a “null” provider will be used which will result in all defaults
     * being used.
     * 
* * .envoy.config.bootstrap.v3.LayeredRuntime layered_runtime = 17; * @return Whether the layeredRuntime field is set. */ public boolean hasLayeredRuntime() { return ((bitField0_ & 0x00008000) != 0); } /** *
     * Configuration for the runtime configuration provider. If not
     * specified, a “null” provider will be used which will result in all defaults
     * being used.
     * 
* * .envoy.config.bootstrap.v3.LayeredRuntime layered_runtime = 17; * @return The layeredRuntime. */ public io.envoyproxy.envoy.config.bootstrap.v3.LayeredRuntime getLayeredRuntime() { if (layeredRuntimeBuilder_ == null) { return layeredRuntime_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.LayeredRuntime.getDefaultInstance() : layeredRuntime_; } else { return layeredRuntimeBuilder_.getMessage(); } } /** *
     * Configuration for the runtime configuration provider. If not
     * specified, a “null” provider will be used which will result in all defaults
     * being used.
     * 
* * .envoy.config.bootstrap.v3.LayeredRuntime layered_runtime = 17; */ public Builder setLayeredRuntime(io.envoyproxy.envoy.config.bootstrap.v3.LayeredRuntime value) { if (layeredRuntimeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } layeredRuntime_ = value; } else { layeredRuntimeBuilder_.setMessage(value); } bitField0_ |= 0x00008000; onChanged(); return this; } /** *
     * Configuration for the runtime configuration provider. If not
     * specified, a “null” provider will be used which will result in all defaults
     * being used.
     * 
* * .envoy.config.bootstrap.v3.LayeredRuntime layered_runtime = 17; */ public Builder setLayeredRuntime( io.envoyproxy.envoy.config.bootstrap.v3.LayeredRuntime.Builder builderForValue) { if (layeredRuntimeBuilder_ == null) { layeredRuntime_ = builderForValue.build(); } else { layeredRuntimeBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00008000; onChanged(); return this; } /** *
     * Configuration for the runtime configuration provider. If not
     * specified, a “null” provider will be used which will result in all defaults
     * being used.
     * 
* * .envoy.config.bootstrap.v3.LayeredRuntime layered_runtime = 17; */ public Builder mergeLayeredRuntime(io.envoyproxy.envoy.config.bootstrap.v3.LayeredRuntime value) { if (layeredRuntimeBuilder_ == null) { if (((bitField0_ & 0x00008000) != 0) && layeredRuntime_ != null && layeredRuntime_ != io.envoyproxy.envoy.config.bootstrap.v3.LayeredRuntime.getDefaultInstance()) { getLayeredRuntimeBuilder().mergeFrom(value); } else { layeredRuntime_ = value; } } else { layeredRuntimeBuilder_.mergeFrom(value); } if (layeredRuntime_ != null) { bitField0_ |= 0x00008000; onChanged(); } return this; } /** *
     * Configuration for the runtime configuration provider. If not
     * specified, a “null” provider will be used which will result in all defaults
     * being used.
     * 
* * .envoy.config.bootstrap.v3.LayeredRuntime layered_runtime = 17; */ public Builder clearLayeredRuntime() { bitField0_ = (bitField0_ & ~0x00008000); layeredRuntime_ = null; if (layeredRuntimeBuilder_ != null) { layeredRuntimeBuilder_.dispose(); layeredRuntimeBuilder_ = null; } onChanged(); return this; } /** *
     * Configuration for the runtime configuration provider. If not
     * specified, a “null” provider will be used which will result in all defaults
     * being used.
     * 
* * .envoy.config.bootstrap.v3.LayeredRuntime layered_runtime = 17; */ public io.envoyproxy.envoy.config.bootstrap.v3.LayeredRuntime.Builder getLayeredRuntimeBuilder() { bitField0_ |= 0x00008000; onChanged(); return getLayeredRuntimeFieldBuilder().getBuilder(); } /** *
     * Configuration for the runtime configuration provider. If not
     * specified, a “null” provider will be used which will result in all defaults
     * being used.
     * 
* * .envoy.config.bootstrap.v3.LayeredRuntime layered_runtime = 17; */ public io.envoyproxy.envoy.config.bootstrap.v3.LayeredRuntimeOrBuilder getLayeredRuntimeOrBuilder() { if (layeredRuntimeBuilder_ != null) { return layeredRuntimeBuilder_.getMessageOrBuilder(); } else { return layeredRuntime_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.LayeredRuntime.getDefaultInstance() : layeredRuntime_; } } /** *
     * Configuration for the runtime configuration provider. If not
     * specified, a “null” provider will be used which will result in all defaults
     * being used.
     * 
* * .envoy.config.bootstrap.v3.LayeredRuntime layered_runtime = 17; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.LayeredRuntime, io.envoyproxy.envoy.config.bootstrap.v3.LayeredRuntime.Builder, io.envoyproxy.envoy.config.bootstrap.v3.LayeredRuntimeOrBuilder> getLayeredRuntimeFieldBuilder() { if (layeredRuntimeBuilder_ == null) { layeredRuntimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.LayeredRuntime, io.envoyproxy.envoy.config.bootstrap.v3.LayeredRuntime.Builder, io.envoyproxy.envoy.config.bootstrap.v3.LayeredRuntimeOrBuilder>( getLayeredRuntime(), getParentForChildren(), isClean()); layeredRuntime_ = null; } return layeredRuntimeBuilder_; } private io.envoyproxy.envoy.config.bootstrap.v3.Admin admin_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.Admin, io.envoyproxy.envoy.config.bootstrap.v3.Admin.Builder, io.envoyproxy.envoy.config.bootstrap.v3.AdminOrBuilder> adminBuilder_; /** *
     * Configuration for the local administration HTTP server.
     * 
* * .envoy.config.bootstrap.v3.Admin admin = 12; * @return Whether the admin field is set. */ public boolean hasAdmin() { return ((bitField0_ & 0x00010000) != 0); } /** *
     * Configuration for the local administration HTTP server.
     * 
* * .envoy.config.bootstrap.v3.Admin admin = 12; * @return The admin. */ public io.envoyproxy.envoy.config.bootstrap.v3.Admin getAdmin() { if (adminBuilder_ == null) { return admin_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.Admin.getDefaultInstance() : admin_; } else { return adminBuilder_.getMessage(); } } /** *
     * Configuration for the local administration HTTP server.
     * 
* * .envoy.config.bootstrap.v3.Admin admin = 12; */ public Builder setAdmin(io.envoyproxy.envoy.config.bootstrap.v3.Admin value) { if (adminBuilder_ == null) { if (value == null) { throw new NullPointerException(); } admin_ = value; } else { adminBuilder_.setMessage(value); } bitField0_ |= 0x00010000; onChanged(); return this; } /** *
     * Configuration for the local administration HTTP server.
     * 
* * .envoy.config.bootstrap.v3.Admin admin = 12; */ public Builder setAdmin( io.envoyproxy.envoy.config.bootstrap.v3.Admin.Builder builderForValue) { if (adminBuilder_ == null) { admin_ = builderForValue.build(); } else { adminBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00010000; onChanged(); return this; } /** *
     * Configuration for the local administration HTTP server.
     * 
* * .envoy.config.bootstrap.v3.Admin admin = 12; */ public Builder mergeAdmin(io.envoyproxy.envoy.config.bootstrap.v3.Admin value) { if (adminBuilder_ == null) { if (((bitField0_ & 0x00010000) != 0) && admin_ != null && admin_ != io.envoyproxy.envoy.config.bootstrap.v3.Admin.getDefaultInstance()) { getAdminBuilder().mergeFrom(value); } else { admin_ = value; } } else { adminBuilder_.mergeFrom(value); } if (admin_ != null) { bitField0_ |= 0x00010000; onChanged(); } return this; } /** *
     * Configuration for the local administration HTTP server.
     * 
* * .envoy.config.bootstrap.v3.Admin admin = 12; */ public Builder clearAdmin() { bitField0_ = (bitField0_ & ~0x00010000); admin_ = null; if (adminBuilder_ != null) { adminBuilder_.dispose(); adminBuilder_ = null; } onChanged(); return this; } /** *
     * Configuration for the local administration HTTP server.
     * 
* * .envoy.config.bootstrap.v3.Admin admin = 12; */ public io.envoyproxy.envoy.config.bootstrap.v3.Admin.Builder getAdminBuilder() { bitField0_ |= 0x00010000; onChanged(); return getAdminFieldBuilder().getBuilder(); } /** *
     * Configuration for the local administration HTTP server.
     * 
* * .envoy.config.bootstrap.v3.Admin admin = 12; */ public io.envoyproxy.envoy.config.bootstrap.v3.AdminOrBuilder getAdminOrBuilder() { if (adminBuilder_ != null) { return adminBuilder_.getMessageOrBuilder(); } else { return admin_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.Admin.getDefaultInstance() : admin_; } } /** *
     * Configuration for the local administration HTTP server.
     * 
* * .envoy.config.bootstrap.v3.Admin admin = 12; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.Admin, io.envoyproxy.envoy.config.bootstrap.v3.Admin.Builder, io.envoyproxy.envoy.config.bootstrap.v3.AdminOrBuilder> getAdminFieldBuilder() { if (adminBuilder_ == null) { adminBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.Admin, io.envoyproxy.envoy.config.bootstrap.v3.Admin.Builder, io.envoyproxy.envoy.config.bootstrap.v3.AdminOrBuilder>( getAdmin(), getParentForChildren(), isClean()); admin_ = null; } return adminBuilder_; } private io.envoyproxy.envoy.config.overload.v3.OverloadManager overloadManager_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.overload.v3.OverloadManager, io.envoyproxy.envoy.config.overload.v3.OverloadManager.Builder, io.envoyproxy.envoy.config.overload.v3.OverloadManagerOrBuilder> overloadManagerBuilder_; /** *
     * Optional overload manager configuration.
     * 
* * .envoy.config.overload.v3.OverloadManager overload_manager = 15 [(.udpa.annotations.security) = { ... } * @return Whether the overloadManager field is set. */ public boolean hasOverloadManager() { return ((bitField0_ & 0x00020000) != 0); } /** *
     * Optional overload manager configuration.
     * 
* * .envoy.config.overload.v3.OverloadManager overload_manager = 15 [(.udpa.annotations.security) = { ... } * @return The overloadManager. */ public io.envoyproxy.envoy.config.overload.v3.OverloadManager getOverloadManager() { if (overloadManagerBuilder_ == null) { return overloadManager_ == null ? io.envoyproxy.envoy.config.overload.v3.OverloadManager.getDefaultInstance() : overloadManager_; } else { return overloadManagerBuilder_.getMessage(); } } /** *
     * Optional overload manager configuration.
     * 
* * .envoy.config.overload.v3.OverloadManager overload_manager = 15 [(.udpa.annotations.security) = { ... } */ public Builder setOverloadManager(io.envoyproxy.envoy.config.overload.v3.OverloadManager value) { if (overloadManagerBuilder_ == null) { if (value == null) { throw new NullPointerException(); } overloadManager_ = value; } else { overloadManagerBuilder_.setMessage(value); } bitField0_ |= 0x00020000; onChanged(); return this; } /** *
     * Optional overload manager configuration.
     * 
* * .envoy.config.overload.v3.OverloadManager overload_manager = 15 [(.udpa.annotations.security) = { ... } */ public Builder setOverloadManager( io.envoyproxy.envoy.config.overload.v3.OverloadManager.Builder builderForValue) { if (overloadManagerBuilder_ == null) { overloadManager_ = builderForValue.build(); } else { overloadManagerBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00020000; onChanged(); return this; } /** *
     * Optional overload manager configuration.
     * 
* * .envoy.config.overload.v3.OverloadManager overload_manager = 15 [(.udpa.annotations.security) = { ... } */ public Builder mergeOverloadManager(io.envoyproxy.envoy.config.overload.v3.OverloadManager value) { if (overloadManagerBuilder_ == null) { if (((bitField0_ & 0x00020000) != 0) && overloadManager_ != null && overloadManager_ != io.envoyproxy.envoy.config.overload.v3.OverloadManager.getDefaultInstance()) { getOverloadManagerBuilder().mergeFrom(value); } else { overloadManager_ = value; } } else { overloadManagerBuilder_.mergeFrom(value); } if (overloadManager_ != null) { bitField0_ |= 0x00020000; onChanged(); } return this; } /** *
     * Optional overload manager configuration.
     * 
* * .envoy.config.overload.v3.OverloadManager overload_manager = 15 [(.udpa.annotations.security) = { ... } */ public Builder clearOverloadManager() { bitField0_ = (bitField0_ & ~0x00020000); overloadManager_ = null; if (overloadManagerBuilder_ != null) { overloadManagerBuilder_.dispose(); overloadManagerBuilder_ = null; } onChanged(); return this; } /** *
     * Optional overload manager configuration.
     * 
* * .envoy.config.overload.v3.OverloadManager overload_manager = 15 [(.udpa.annotations.security) = { ... } */ public io.envoyproxy.envoy.config.overload.v3.OverloadManager.Builder getOverloadManagerBuilder() { bitField0_ |= 0x00020000; onChanged(); return getOverloadManagerFieldBuilder().getBuilder(); } /** *
     * Optional overload manager configuration.
     * 
* * .envoy.config.overload.v3.OverloadManager overload_manager = 15 [(.udpa.annotations.security) = { ... } */ public io.envoyproxy.envoy.config.overload.v3.OverloadManagerOrBuilder getOverloadManagerOrBuilder() { if (overloadManagerBuilder_ != null) { return overloadManagerBuilder_.getMessageOrBuilder(); } else { return overloadManager_ == null ? io.envoyproxy.envoy.config.overload.v3.OverloadManager.getDefaultInstance() : overloadManager_; } } /** *
     * Optional overload manager configuration.
     * 
* * .envoy.config.overload.v3.OverloadManager overload_manager = 15 [(.udpa.annotations.security) = { ... } */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.overload.v3.OverloadManager, io.envoyproxy.envoy.config.overload.v3.OverloadManager.Builder, io.envoyproxy.envoy.config.overload.v3.OverloadManagerOrBuilder> getOverloadManagerFieldBuilder() { if (overloadManagerBuilder_ == null) { overloadManagerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.overload.v3.OverloadManager, io.envoyproxy.envoy.config.overload.v3.OverloadManager.Builder, io.envoyproxy.envoy.config.overload.v3.OverloadManagerOrBuilder>( getOverloadManager(), getParentForChildren(), isClean()); overloadManager_ = null; } return overloadManagerBuilder_; } private boolean enableDispatcherStats_ ; /** *
     * Enable :ref:`stats for event dispatcher <operations_performance>`, defaults to false.
     * Note that this records a value for each iteration of the event loop on every thread. This
     * should normally be minimal overhead, but when using
     * :ref:`statsd <envoy_v3_api_msg_config.metrics.v3.StatsdSink>`, it will send each observed value
     * over the wire individually because the statsd protocol doesn't have any way to represent a
     * histogram summary. Be aware that this can be a very large volume of data.
     * 
* * bool enable_dispatcher_stats = 16; * @return The enableDispatcherStats. */ @java.lang.Override public boolean getEnableDispatcherStats() { return enableDispatcherStats_; } /** *
     * Enable :ref:`stats for event dispatcher <operations_performance>`, defaults to false.
     * Note that this records a value for each iteration of the event loop on every thread. This
     * should normally be minimal overhead, but when using
     * :ref:`statsd <envoy_v3_api_msg_config.metrics.v3.StatsdSink>`, it will send each observed value
     * over the wire individually because the statsd protocol doesn't have any way to represent a
     * histogram summary. Be aware that this can be a very large volume of data.
     * 
* * bool enable_dispatcher_stats = 16; * @param value The enableDispatcherStats to set. * @return This builder for chaining. */ public Builder setEnableDispatcherStats(boolean value) { enableDispatcherStats_ = value; bitField0_ |= 0x00040000; onChanged(); return this; } /** *
     * Enable :ref:`stats for event dispatcher <operations_performance>`, defaults to false.
     * Note that this records a value for each iteration of the event loop on every thread. This
     * should normally be minimal overhead, but when using
     * :ref:`statsd <envoy_v3_api_msg_config.metrics.v3.StatsdSink>`, it will send each observed value
     * over the wire individually because the statsd protocol doesn't have any way to represent a
     * histogram summary. Be aware that this can be a very large volume of data.
     * 
* * bool enable_dispatcher_stats = 16; * @return This builder for chaining. */ public Builder clearEnableDispatcherStats() { bitField0_ = (bitField0_ & ~0x00040000); enableDispatcherStats_ = false; onChanged(); return this; } private java.lang.Object headerPrefix_ = ""; /** *
     * Optional string which will be used in lieu of x-envoy in prefixing headers.
     *
     * For example, if this string is present and set to X-Foo, then x-envoy-retry-on will be
     * transformed into x-foo-retry-on etc.
     *
     * Note this applies to the headers Envoy will generate, the headers Envoy will sanitize, and the
     * headers Envoy will trust for core code and core extensions only. Be VERY careful making
     * changes to this string, especially in multi-layer Envoy deployments or deployments using
     * extensions which are not upstream.
     * 
* * string header_prefix = 18; * @return The headerPrefix. */ public java.lang.String getHeaderPrefix() { java.lang.Object ref = headerPrefix_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); headerPrefix_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * Optional string which will be used in lieu of x-envoy in prefixing headers.
     *
     * For example, if this string is present and set to X-Foo, then x-envoy-retry-on will be
     * transformed into x-foo-retry-on etc.
     *
     * Note this applies to the headers Envoy will generate, the headers Envoy will sanitize, and the
     * headers Envoy will trust for core code and core extensions only. Be VERY careful making
     * changes to this string, especially in multi-layer Envoy deployments or deployments using
     * extensions which are not upstream.
     * 
* * string header_prefix = 18; * @return The bytes for headerPrefix. */ public com.google.protobuf.ByteString getHeaderPrefixBytes() { java.lang.Object ref = headerPrefix_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); headerPrefix_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * Optional string which will be used in lieu of x-envoy in prefixing headers.
     *
     * For example, if this string is present and set to X-Foo, then x-envoy-retry-on will be
     * transformed into x-foo-retry-on etc.
     *
     * Note this applies to the headers Envoy will generate, the headers Envoy will sanitize, and the
     * headers Envoy will trust for core code and core extensions only. Be VERY careful making
     * changes to this string, especially in multi-layer Envoy deployments or deployments using
     * extensions which are not upstream.
     * 
* * string header_prefix = 18; * @param value The headerPrefix to set. * @return This builder for chaining. */ public Builder setHeaderPrefix( java.lang.String value) { if (value == null) { throw new NullPointerException(); } headerPrefix_ = value; bitField0_ |= 0x00080000; onChanged(); return this; } /** *
     * Optional string which will be used in lieu of x-envoy in prefixing headers.
     *
     * For example, if this string is present and set to X-Foo, then x-envoy-retry-on will be
     * transformed into x-foo-retry-on etc.
     *
     * Note this applies to the headers Envoy will generate, the headers Envoy will sanitize, and the
     * headers Envoy will trust for core code and core extensions only. Be VERY careful making
     * changes to this string, especially in multi-layer Envoy deployments or deployments using
     * extensions which are not upstream.
     * 
* * string header_prefix = 18; * @return This builder for chaining. */ public Builder clearHeaderPrefix() { headerPrefix_ = getDefaultInstance().getHeaderPrefix(); bitField0_ = (bitField0_ & ~0x00080000); onChanged(); return this; } /** *
     * Optional string which will be used in lieu of x-envoy in prefixing headers.
     *
     * For example, if this string is present and set to X-Foo, then x-envoy-retry-on will be
     * transformed into x-foo-retry-on etc.
     *
     * Note this applies to the headers Envoy will generate, the headers Envoy will sanitize, and the
     * headers Envoy will trust for core code and core extensions only. Be VERY careful making
     * changes to this string, especially in multi-layer Envoy deployments or deployments using
     * extensions which are not upstream.
     * 
* * string header_prefix = 18; * @param value The bytes for headerPrefix to set. * @return This builder for chaining. */ public Builder setHeaderPrefixBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); headerPrefix_ = value; bitField0_ |= 0x00080000; onChanged(); return this; } private com.google.protobuf.UInt64Value statsServerVersionOverride_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder> statsServerVersionOverrideBuilder_; /** *
     * Optional proxy version which will be used to set the value of :ref:`server.version statistic
     * <server_statistics>` if specified. Envoy will not process this value, it will be sent as is to
     * :ref:`stats sinks <envoy_v3_api_msg_config.metrics.v3.StatsSink>`.
     * 
* * .google.protobuf.UInt64Value stats_server_version_override = 19; * @return Whether the statsServerVersionOverride field is set. */ public boolean hasStatsServerVersionOverride() { return ((bitField0_ & 0x00100000) != 0); } /** *
     * Optional proxy version which will be used to set the value of :ref:`server.version statistic
     * <server_statistics>` if specified. Envoy will not process this value, it will be sent as is to
     * :ref:`stats sinks <envoy_v3_api_msg_config.metrics.v3.StatsSink>`.
     * 
* * .google.protobuf.UInt64Value stats_server_version_override = 19; * @return The statsServerVersionOverride. */ public com.google.protobuf.UInt64Value getStatsServerVersionOverride() { if (statsServerVersionOverrideBuilder_ == null) { return statsServerVersionOverride_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : statsServerVersionOverride_; } else { return statsServerVersionOverrideBuilder_.getMessage(); } } /** *
     * Optional proxy version which will be used to set the value of :ref:`server.version statistic
     * <server_statistics>` if specified. Envoy will not process this value, it will be sent as is to
     * :ref:`stats sinks <envoy_v3_api_msg_config.metrics.v3.StatsSink>`.
     * 
* * .google.protobuf.UInt64Value stats_server_version_override = 19; */ public Builder setStatsServerVersionOverride(com.google.protobuf.UInt64Value value) { if (statsServerVersionOverrideBuilder_ == null) { if (value == null) { throw new NullPointerException(); } statsServerVersionOverride_ = value; } else { statsServerVersionOverrideBuilder_.setMessage(value); } bitField0_ |= 0x00100000; onChanged(); return this; } /** *
     * Optional proxy version which will be used to set the value of :ref:`server.version statistic
     * <server_statistics>` if specified. Envoy will not process this value, it will be sent as is to
     * :ref:`stats sinks <envoy_v3_api_msg_config.metrics.v3.StatsSink>`.
     * 
* * .google.protobuf.UInt64Value stats_server_version_override = 19; */ public Builder setStatsServerVersionOverride( com.google.protobuf.UInt64Value.Builder builderForValue) { if (statsServerVersionOverrideBuilder_ == null) { statsServerVersionOverride_ = builderForValue.build(); } else { statsServerVersionOverrideBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00100000; onChanged(); return this; } /** *
     * Optional proxy version which will be used to set the value of :ref:`server.version statistic
     * <server_statistics>` if specified. Envoy will not process this value, it will be sent as is to
     * :ref:`stats sinks <envoy_v3_api_msg_config.metrics.v3.StatsSink>`.
     * 
* * .google.protobuf.UInt64Value stats_server_version_override = 19; */ public Builder mergeStatsServerVersionOverride(com.google.protobuf.UInt64Value value) { if (statsServerVersionOverrideBuilder_ == null) { if (((bitField0_ & 0x00100000) != 0) && statsServerVersionOverride_ != null && statsServerVersionOverride_ != com.google.protobuf.UInt64Value.getDefaultInstance()) { getStatsServerVersionOverrideBuilder().mergeFrom(value); } else { statsServerVersionOverride_ = value; } } else { statsServerVersionOverrideBuilder_.mergeFrom(value); } if (statsServerVersionOverride_ != null) { bitField0_ |= 0x00100000; onChanged(); } return this; } /** *
     * Optional proxy version which will be used to set the value of :ref:`server.version statistic
     * <server_statistics>` if specified. Envoy will not process this value, it will be sent as is to
     * :ref:`stats sinks <envoy_v3_api_msg_config.metrics.v3.StatsSink>`.
     * 
* * .google.protobuf.UInt64Value stats_server_version_override = 19; */ public Builder clearStatsServerVersionOverride() { bitField0_ = (bitField0_ & ~0x00100000); statsServerVersionOverride_ = null; if (statsServerVersionOverrideBuilder_ != null) { statsServerVersionOverrideBuilder_.dispose(); statsServerVersionOverrideBuilder_ = null; } onChanged(); return this; } /** *
     * Optional proxy version which will be used to set the value of :ref:`server.version statistic
     * <server_statistics>` if specified. Envoy will not process this value, it will be sent as is to
     * :ref:`stats sinks <envoy_v3_api_msg_config.metrics.v3.StatsSink>`.
     * 
* * .google.protobuf.UInt64Value stats_server_version_override = 19; */ public com.google.protobuf.UInt64Value.Builder getStatsServerVersionOverrideBuilder() { bitField0_ |= 0x00100000; onChanged(); return getStatsServerVersionOverrideFieldBuilder().getBuilder(); } /** *
     * Optional proxy version which will be used to set the value of :ref:`server.version statistic
     * <server_statistics>` if specified. Envoy will not process this value, it will be sent as is to
     * :ref:`stats sinks <envoy_v3_api_msg_config.metrics.v3.StatsSink>`.
     * 
* * .google.protobuf.UInt64Value stats_server_version_override = 19; */ public com.google.protobuf.UInt64ValueOrBuilder getStatsServerVersionOverrideOrBuilder() { if (statsServerVersionOverrideBuilder_ != null) { return statsServerVersionOverrideBuilder_.getMessageOrBuilder(); } else { return statsServerVersionOverride_ == null ? com.google.protobuf.UInt64Value.getDefaultInstance() : statsServerVersionOverride_; } } /** *
     * Optional proxy version which will be used to set the value of :ref:`server.version statistic
     * <server_statistics>` if specified. Envoy will not process this value, it will be sent as is to
     * :ref:`stats sinks <envoy_v3_api_msg_config.metrics.v3.StatsSink>`.
     * 
* * .google.protobuf.UInt64Value stats_server_version_override = 19; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder> getStatsServerVersionOverrideFieldBuilder() { if (statsServerVersionOverrideBuilder_ == null) { statsServerVersionOverrideBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.UInt64Value, com.google.protobuf.UInt64Value.Builder, com.google.protobuf.UInt64ValueOrBuilder>( getStatsServerVersionOverride(), getParentForChildren(), isClean()); statsServerVersionOverride_ = null; } return statsServerVersionOverrideBuilder_; } private boolean useTcpForDnsLookups_ ; /** *
     * Always use TCP queries instead of UDP queries for DNS lookups.
     * This may be overridden on a per-cluster basis in cds_config,
     * when :ref:`dns_resolvers <envoy_v3_api_field_config.cluster.v3.Cluster.dns_resolvers>` and
     * :ref:`use_tcp_for_dns_lookups <envoy_v3_api_field_config.cluster.v3.Cluster.use_tcp_for_dns_lookups>` are
     * specified.
     * This field is deprecated in favor of ``dns_resolution_config``
     * which aggregates all of the DNS resolver configuration in a single message.
     * 
* * bool use_tcp_for_dns_lookups = 20 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; * @deprecated envoy.config.bootstrap.v3.Bootstrap.use_tcp_for_dns_lookups is deprecated. * See envoy/config/bootstrap/v3/bootstrap.proto;l=298 * @return The useTcpForDnsLookups. */ @java.lang.Override @java.lang.Deprecated public boolean getUseTcpForDnsLookups() { return useTcpForDnsLookups_; } /** *
     * Always use TCP queries instead of UDP queries for DNS lookups.
     * This may be overridden on a per-cluster basis in cds_config,
     * when :ref:`dns_resolvers <envoy_v3_api_field_config.cluster.v3.Cluster.dns_resolvers>` and
     * :ref:`use_tcp_for_dns_lookups <envoy_v3_api_field_config.cluster.v3.Cluster.use_tcp_for_dns_lookups>` are
     * specified.
     * This field is deprecated in favor of ``dns_resolution_config``
     * which aggregates all of the DNS resolver configuration in a single message.
     * 
* * bool use_tcp_for_dns_lookups = 20 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; * @deprecated envoy.config.bootstrap.v3.Bootstrap.use_tcp_for_dns_lookups is deprecated. * See envoy/config/bootstrap/v3/bootstrap.proto;l=298 * @param value The useTcpForDnsLookups to set. * @return This builder for chaining. */ @java.lang.Deprecated public Builder setUseTcpForDnsLookups(boolean value) { useTcpForDnsLookups_ = value; bitField0_ |= 0x00200000; onChanged(); return this; } /** *
     * Always use TCP queries instead of UDP queries for DNS lookups.
     * This may be overridden on a per-cluster basis in cds_config,
     * when :ref:`dns_resolvers <envoy_v3_api_field_config.cluster.v3.Cluster.dns_resolvers>` and
     * :ref:`use_tcp_for_dns_lookups <envoy_v3_api_field_config.cluster.v3.Cluster.use_tcp_for_dns_lookups>` are
     * specified.
     * This field is deprecated in favor of ``dns_resolution_config``
     * which aggregates all of the DNS resolver configuration in a single message.
     * 
* * bool use_tcp_for_dns_lookups = 20 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; * @deprecated envoy.config.bootstrap.v3.Bootstrap.use_tcp_for_dns_lookups is deprecated. * See envoy/config/bootstrap/v3/bootstrap.proto;l=298 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearUseTcpForDnsLookups() { bitField0_ = (bitField0_ & ~0x00200000); useTcpForDnsLookups_ = false; onChanged(); return this; } private io.envoyproxy.envoy.config.core.v3.DnsResolutionConfig dnsResolutionConfig_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.DnsResolutionConfig, io.envoyproxy.envoy.config.core.v3.DnsResolutionConfig.Builder, io.envoyproxy.envoy.config.core.v3.DnsResolutionConfigOrBuilder> dnsResolutionConfigBuilder_; /** *
     * DNS resolution configuration which includes the underlying dns resolver addresses and options.
     * This may be overridden on a per-cluster basis in cds_config, when
     * :ref:`dns_resolution_config <envoy_v3_api_field_config.cluster.v3.Cluster.dns_resolution_config>`
     * is specified.
     * This field is deprecated in favor of
     * :ref:`typed_dns_resolver_config <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.typed_dns_resolver_config>`.
     * 
* * .envoy.config.core.v3.DnsResolutionConfig dns_resolution_config = 30 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; * @deprecated envoy.config.bootstrap.v3.Bootstrap.dns_resolution_config is deprecated. * See envoy/config/bootstrap/v3/bootstrap.proto;l=307 * @return Whether the dnsResolutionConfig field is set. */ @java.lang.Deprecated public boolean hasDnsResolutionConfig() { return ((bitField0_ & 0x00400000) != 0); } /** *
     * DNS resolution configuration which includes the underlying dns resolver addresses and options.
     * This may be overridden on a per-cluster basis in cds_config, when
     * :ref:`dns_resolution_config <envoy_v3_api_field_config.cluster.v3.Cluster.dns_resolution_config>`
     * is specified.
     * This field is deprecated in favor of
     * :ref:`typed_dns_resolver_config <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.typed_dns_resolver_config>`.
     * 
* * .envoy.config.core.v3.DnsResolutionConfig dns_resolution_config = 30 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; * @deprecated envoy.config.bootstrap.v3.Bootstrap.dns_resolution_config is deprecated. * See envoy/config/bootstrap/v3/bootstrap.proto;l=307 * @return The dnsResolutionConfig. */ @java.lang.Deprecated public io.envoyproxy.envoy.config.core.v3.DnsResolutionConfig getDnsResolutionConfig() { if (dnsResolutionConfigBuilder_ == null) { return dnsResolutionConfig_ == null ? io.envoyproxy.envoy.config.core.v3.DnsResolutionConfig.getDefaultInstance() : dnsResolutionConfig_; } else { return dnsResolutionConfigBuilder_.getMessage(); } } /** *
     * DNS resolution configuration which includes the underlying dns resolver addresses and options.
     * This may be overridden on a per-cluster basis in cds_config, when
     * :ref:`dns_resolution_config <envoy_v3_api_field_config.cluster.v3.Cluster.dns_resolution_config>`
     * is specified.
     * This field is deprecated in favor of
     * :ref:`typed_dns_resolver_config <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.typed_dns_resolver_config>`.
     * 
* * .envoy.config.core.v3.DnsResolutionConfig dns_resolution_config = 30 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; */ @java.lang.Deprecated public Builder setDnsResolutionConfig(io.envoyproxy.envoy.config.core.v3.DnsResolutionConfig value) { if (dnsResolutionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } dnsResolutionConfig_ = value; } else { dnsResolutionConfigBuilder_.setMessage(value); } bitField0_ |= 0x00400000; onChanged(); return this; } /** *
     * DNS resolution configuration which includes the underlying dns resolver addresses and options.
     * This may be overridden on a per-cluster basis in cds_config, when
     * :ref:`dns_resolution_config <envoy_v3_api_field_config.cluster.v3.Cluster.dns_resolution_config>`
     * is specified.
     * This field is deprecated in favor of
     * :ref:`typed_dns_resolver_config <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.typed_dns_resolver_config>`.
     * 
* * .envoy.config.core.v3.DnsResolutionConfig dns_resolution_config = 30 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; */ @java.lang.Deprecated public Builder setDnsResolutionConfig( io.envoyproxy.envoy.config.core.v3.DnsResolutionConfig.Builder builderForValue) { if (dnsResolutionConfigBuilder_ == null) { dnsResolutionConfig_ = builderForValue.build(); } else { dnsResolutionConfigBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00400000; onChanged(); return this; } /** *
     * DNS resolution configuration which includes the underlying dns resolver addresses and options.
     * This may be overridden on a per-cluster basis in cds_config, when
     * :ref:`dns_resolution_config <envoy_v3_api_field_config.cluster.v3.Cluster.dns_resolution_config>`
     * is specified.
     * This field is deprecated in favor of
     * :ref:`typed_dns_resolver_config <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.typed_dns_resolver_config>`.
     * 
* * .envoy.config.core.v3.DnsResolutionConfig dns_resolution_config = 30 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; */ @java.lang.Deprecated public Builder mergeDnsResolutionConfig(io.envoyproxy.envoy.config.core.v3.DnsResolutionConfig value) { if (dnsResolutionConfigBuilder_ == null) { if (((bitField0_ & 0x00400000) != 0) && dnsResolutionConfig_ != null && dnsResolutionConfig_ != io.envoyproxy.envoy.config.core.v3.DnsResolutionConfig.getDefaultInstance()) { getDnsResolutionConfigBuilder().mergeFrom(value); } else { dnsResolutionConfig_ = value; } } else { dnsResolutionConfigBuilder_.mergeFrom(value); } if (dnsResolutionConfig_ != null) { bitField0_ |= 0x00400000; onChanged(); } return this; } /** *
     * DNS resolution configuration which includes the underlying dns resolver addresses and options.
     * This may be overridden on a per-cluster basis in cds_config, when
     * :ref:`dns_resolution_config <envoy_v3_api_field_config.cluster.v3.Cluster.dns_resolution_config>`
     * is specified.
     * This field is deprecated in favor of
     * :ref:`typed_dns_resolver_config <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.typed_dns_resolver_config>`.
     * 
* * .envoy.config.core.v3.DnsResolutionConfig dns_resolution_config = 30 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; */ @java.lang.Deprecated public Builder clearDnsResolutionConfig() { bitField0_ = (bitField0_ & ~0x00400000); dnsResolutionConfig_ = null; if (dnsResolutionConfigBuilder_ != null) { dnsResolutionConfigBuilder_.dispose(); dnsResolutionConfigBuilder_ = null; } onChanged(); return this; } /** *
     * DNS resolution configuration which includes the underlying dns resolver addresses and options.
     * This may be overridden on a per-cluster basis in cds_config, when
     * :ref:`dns_resolution_config <envoy_v3_api_field_config.cluster.v3.Cluster.dns_resolution_config>`
     * is specified.
     * This field is deprecated in favor of
     * :ref:`typed_dns_resolver_config <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.typed_dns_resolver_config>`.
     * 
* * .envoy.config.core.v3.DnsResolutionConfig dns_resolution_config = 30 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; */ @java.lang.Deprecated public io.envoyproxy.envoy.config.core.v3.DnsResolutionConfig.Builder getDnsResolutionConfigBuilder() { bitField0_ |= 0x00400000; onChanged(); return getDnsResolutionConfigFieldBuilder().getBuilder(); } /** *
     * DNS resolution configuration which includes the underlying dns resolver addresses and options.
     * This may be overridden on a per-cluster basis in cds_config, when
     * :ref:`dns_resolution_config <envoy_v3_api_field_config.cluster.v3.Cluster.dns_resolution_config>`
     * is specified.
     * This field is deprecated in favor of
     * :ref:`typed_dns_resolver_config <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.typed_dns_resolver_config>`.
     * 
* * .envoy.config.core.v3.DnsResolutionConfig dns_resolution_config = 30 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; */ @java.lang.Deprecated public io.envoyproxy.envoy.config.core.v3.DnsResolutionConfigOrBuilder getDnsResolutionConfigOrBuilder() { if (dnsResolutionConfigBuilder_ != null) { return dnsResolutionConfigBuilder_.getMessageOrBuilder(); } else { return dnsResolutionConfig_ == null ? io.envoyproxy.envoy.config.core.v3.DnsResolutionConfig.getDefaultInstance() : dnsResolutionConfig_; } } /** *
     * DNS resolution configuration which includes the underlying dns resolver addresses and options.
     * This may be overridden on a per-cluster basis in cds_config, when
     * :ref:`dns_resolution_config <envoy_v3_api_field_config.cluster.v3.Cluster.dns_resolution_config>`
     * is specified.
     * This field is deprecated in favor of
     * :ref:`typed_dns_resolver_config <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.typed_dns_resolver_config>`.
     * 
* * .envoy.config.core.v3.DnsResolutionConfig dns_resolution_config = 30 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"]; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.DnsResolutionConfig, io.envoyproxy.envoy.config.core.v3.DnsResolutionConfig.Builder, io.envoyproxy.envoy.config.core.v3.DnsResolutionConfigOrBuilder> getDnsResolutionConfigFieldBuilder() { if (dnsResolutionConfigBuilder_ == null) { dnsResolutionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.DnsResolutionConfig, io.envoyproxy.envoy.config.core.v3.DnsResolutionConfig.Builder, io.envoyproxy.envoy.config.core.v3.DnsResolutionConfigOrBuilder>( getDnsResolutionConfig(), getParentForChildren(), isClean()); dnsResolutionConfig_ = null; } return dnsResolutionConfigBuilder_; } private io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig typedDnsResolverConfig_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.Builder, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfigOrBuilder> typedDnsResolverConfigBuilder_; /** *
     * DNS resolver type configuration extension. This extension can be used to configure c-ares, apple,
     * or any other DNS resolver types and the related parameters.
     * For example, an object of
     * :ref:`CaresDnsResolverConfig <envoy_v3_api_msg_extensions.network.dns_resolver.cares.v3.CaresDnsResolverConfig>`
     * can be packed into this ``typed_dns_resolver_config``. This configuration replaces the
     * :ref:`dns_resolution_config <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.dns_resolution_config>`
     * configuration.
     * During the transition period when both ``dns_resolution_config`` and ``typed_dns_resolver_config`` exists,
     * when ``typed_dns_resolver_config`` is in place, Envoy will use it and ignore ``dns_resolution_config``.
     * When ``typed_dns_resolver_config`` is missing, the default behavior is in place.
     * [#extension-category: envoy.network.dns_resolver]
     * 
* * .envoy.config.core.v3.TypedExtensionConfig typed_dns_resolver_config = 31; * @return Whether the typedDnsResolverConfig field is set. */ public boolean hasTypedDnsResolverConfig() { return ((bitField0_ & 0x00800000) != 0); } /** *
     * DNS resolver type configuration extension. This extension can be used to configure c-ares, apple,
     * or any other DNS resolver types and the related parameters.
     * For example, an object of
     * :ref:`CaresDnsResolverConfig <envoy_v3_api_msg_extensions.network.dns_resolver.cares.v3.CaresDnsResolverConfig>`
     * can be packed into this ``typed_dns_resolver_config``. This configuration replaces the
     * :ref:`dns_resolution_config <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.dns_resolution_config>`
     * configuration.
     * During the transition period when both ``dns_resolution_config`` and ``typed_dns_resolver_config`` exists,
     * when ``typed_dns_resolver_config`` is in place, Envoy will use it and ignore ``dns_resolution_config``.
     * When ``typed_dns_resolver_config`` is missing, the default behavior is in place.
     * [#extension-category: envoy.network.dns_resolver]
     * 
* * .envoy.config.core.v3.TypedExtensionConfig typed_dns_resolver_config = 31; * @return The typedDnsResolverConfig. */ public io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig getTypedDnsResolverConfig() { if (typedDnsResolverConfigBuilder_ == null) { return typedDnsResolverConfig_ == null ? io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.getDefaultInstance() : typedDnsResolverConfig_; } else { return typedDnsResolverConfigBuilder_.getMessage(); } } /** *
     * DNS resolver type configuration extension. This extension can be used to configure c-ares, apple,
     * or any other DNS resolver types and the related parameters.
     * For example, an object of
     * :ref:`CaresDnsResolverConfig <envoy_v3_api_msg_extensions.network.dns_resolver.cares.v3.CaresDnsResolverConfig>`
     * can be packed into this ``typed_dns_resolver_config``. This configuration replaces the
     * :ref:`dns_resolution_config <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.dns_resolution_config>`
     * configuration.
     * During the transition period when both ``dns_resolution_config`` and ``typed_dns_resolver_config`` exists,
     * when ``typed_dns_resolver_config`` is in place, Envoy will use it and ignore ``dns_resolution_config``.
     * When ``typed_dns_resolver_config`` is missing, the default behavior is in place.
     * [#extension-category: envoy.network.dns_resolver]
     * 
* * .envoy.config.core.v3.TypedExtensionConfig typed_dns_resolver_config = 31; */ public Builder setTypedDnsResolverConfig(io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig value) { if (typedDnsResolverConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } typedDnsResolverConfig_ = value; } else { typedDnsResolverConfigBuilder_.setMessage(value); } bitField0_ |= 0x00800000; onChanged(); return this; } /** *
     * DNS resolver type configuration extension. This extension can be used to configure c-ares, apple,
     * or any other DNS resolver types and the related parameters.
     * For example, an object of
     * :ref:`CaresDnsResolverConfig <envoy_v3_api_msg_extensions.network.dns_resolver.cares.v3.CaresDnsResolverConfig>`
     * can be packed into this ``typed_dns_resolver_config``. This configuration replaces the
     * :ref:`dns_resolution_config <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.dns_resolution_config>`
     * configuration.
     * During the transition period when both ``dns_resolution_config`` and ``typed_dns_resolver_config`` exists,
     * when ``typed_dns_resolver_config`` is in place, Envoy will use it and ignore ``dns_resolution_config``.
     * When ``typed_dns_resolver_config`` is missing, the default behavior is in place.
     * [#extension-category: envoy.network.dns_resolver]
     * 
* * .envoy.config.core.v3.TypedExtensionConfig typed_dns_resolver_config = 31; */ public Builder setTypedDnsResolverConfig( io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.Builder builderForValue) { if (typedDnsResolverConfigBuilder_ == null) { typedDnsResolverConfig_ = builderForValue.build(); } else { typedDnsResolverConfigBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00800000; onChanged(); return this; } /** *
     * DNS resolver type configuration extension. This extension can be used to configure c-ares, apple,
     * or any other DNS resolver types and the related parameters.
     * For example, an object of
     * :ref:`CaresDnsResolverConfig <envoy_v3_api_msg_extensions.network.dns_resolver.cares.v3.CaresDnsResolverConfig>`
     * can be packed into this ``typed_dns_resolver_config``. This configuration replaces the
     * :ref:`dns_resolution_config <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.dns_resolution_config>`
     * configuration.
     * During the transition period when both ``dns_resolution_config`` and ``typed_dns_resolver_config`` exists,
     * when ``typed_dns_resolver_config`` is in place, Envoy will use it and ignore ``dns_resolution_config``.
     * When ``typed_dns_resolver_config`` is missing, the default behavior is in place.
     * [#extension-category: envoy.network.dns_resolver]
     * 
* * .envoy.config.core.v3.TypedExtensionConfig typed_dns_resolver_config = 31; */ public Builder mergeTypedDnsResolverConfig(io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig value) { if (typedDnsResolverConfigBuilder_ == null) { if (((bitField0_ & 0x00800000) != 0) && typedDnsResolverConfig_ != null && typedDnsResolverConfig_ != io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.getDefaultInstance()) { getTypedDnsResolverConfigBuilder().mergeFrom(value); } else { typedDnsResolverConfig_ = value; } } else { typedDnsResolverConfigBuilder_.mergeFrom(value); } if (typedDnsResolverConfig_ != null) { bitField0_ |= 0x00800000; onChanged(); } return this; } /** *
     * DNS resolver type configuration extension. This extension can be used to configure c-ares, apple,
     * or any other DNS resolver types and the related parameters.
     * For example, an object of
     * :ref:`CaresDnsResolverConfig <envoy_v3_api_msg_extensions.network.dns_resolver.cares.v3.CaresDnsResolverConfig>`
     * can be packed into this ``typed_dns_resolver_config``. This configuration replaces the
     * :ref:`dns_resolution_config <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.dns_resolution_config>`
     * configuration.
     * During the transition period when both ``dns_resolution_config`` and ``typed_dns_resolver_config`` exists,
     * when ``typed_dns_resolver_config`` is in place, Envoy will use it and ignore ``dns_resolution_config``.
     * When ``typed_dns_resolver_config`` is missing, the default behavior is in place.
     * [#extension-category: envoy.network.dns_resolver]
     * 
* * .envoy.config.core.v3.TypedExtensionConfig typed_dns_resolver_config = 31; */ public Builder clearTypedDnsResolverConfig() { bitField0_ = (bitField0_ & ~0x00800000); typedDnsResolverConfig_ = null; if (typedDnsResolverConfigBuilder_ != null) { typedDnsResolverConfigBuilder_.dispose(); typedDnsResolverConfigBuilder_ = null; } onChanged(); return this; } /** *
     * DNS resolver type configuration extension. This extension can be used to configure c-ares, apple,
     * or any other DNS resolver types and the related parameters.
     * For example, an object of
     * :ref:`CaresDnsResolverConfig <envoy_v3_api_msg_extensions.network.dns_resolver.cares.v3.CaresDnsResolverConfig>`
     * can be packed into this ``typed_dns_resolver_config``. This configuration replaces the
     * :ref:`dns_resolution_config <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.dns_resolution_config>`
     * configuration.
     * During the transition period when both ``dns_resolution_config`` and ``typed_dns_resolver_config`` exists,
     * when ``typed_dns_resolver_config`` is in place, Envoy will use it and ignore ``dns_resolution_config``.
     * When ``typed_dns_resolver_config`` is missing, the default behavior is in place.
     * [#extension-category: envoy.network.dns_resolver]
     * 
* * .envoy.config.core.v3.TypedExtensionConfig typed_dns_resolver_config = 31; */ public io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.Builder getTypedDnsResolverConfigBuilder() { bitField0_ |= 0x00800000; onChanged(); return getTypedDnsResolverConfigFieldBuilder().getBuilder(); } /** *
     * DNS resolver type configuration extension. This extension can be used to configure c-ares, apple,
     * or any other DNS resolver types and the related parameters.
     * For example, an object of
     * :ref:`CaresDnsResolverConfig <envoy_v3_api_msg_extensions.network.dns_resolver.cares.v3.CaresDnsResolverConfig>`
     * can be packed into this ``typed_dns_resolver_config``. This configuration replaces the
     * :ref:`dns_resolution_config <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.dns_resolution_config>`
     * configuration.
     * During the transition period when both ``dns_resolution_config`` and ``typed_dns_resolver_config`` exists,
     * when ``typed_dns_resolver_config`` is in place, Envoy will use it and ignore ``dns_resolution_config``.
     * When ``typed_dns_resolver_config`` is missing, the default behavior is in place.
     * [#extension-category: envoy.network.dns_resolver]
     * 
* * .envoy.config.core.v3.TypedExtensionConfig typed_dns_resolver_config = 31; */ public io.envoyproxy.envoy.config.core.v3.TypedExtensionConfigOrBuilder getTypedDnsResolverConfigOrBuilder() { if (typedDnsResolverConfigBuilder_ != null) { return typedDnsResolverConfigBuilder_.getMessageOrBuilder(); } else { return typedDnsResolverConfig_ == null ? io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.getDefaultInstance() : typedDnsResolverConfig_; } } /** *
     * DNS resolver type configuration extension. This extension can be used to configure c-ares, apple,
     * or any other DNS resolver types and the related parameters.
     * For example, an object of
     * :ref:`CaresDnsResolverConfig <envoy_v3_api_msg_extensions.network.dns_resolver.cares.v3.CaresDnsResolverConfig>`
     * can be packed into this ``typed_dns_resolver_config``. This configuration replaces the
     * :ref:`dns_resolution_config <envoy_v3_api_field_config.bootstrap.v3.Bootstrap.dns_resolution_config>`
     * configuration.
     * During the transition period when both ``dns_resolution_config`` and ``typed_dns_resolver_config`` exists,
     * when ``typed_dns_resolver_config`` is in place, Envoy will use it and ignore ``dns_resolution_config``.
     * When ``typed_dns_resolver_config`` is missing, the default behavior is in place.
     * [#extension-category: envoy.network.dns_resolver]
     * 
* * .envoy.config.core.v3.TypedExtensionConfig typed_dns_resolver_config = 31; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.Builder, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfigOrBuilder> getTypedDnsResolverConfigFieldBuilder() { if (typedDnsResolverConfigBuilder_ == null) { typedDnsResolverConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.Builder, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfigOrBuilder>( getTypedDnsResolverConfig(), getParentForChildren(), isClean()); typedDnsResolverConfig_ = null; } return typedDnsResolverConfigBuilder_; } private java.util.List bootstrapExtensions_ = java.util.Collections.emptyList(); private void ensureBootstrapExtensionsIsMutable() { if (!((bitField0_ & 0x01000000) != 0)) { bootstrapExtensions_ = new java.util.ArrayList(bootstrapExtensions_); bitField0_ |= 0x01000000; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.Builder, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfigOrBuilder> bootstrapExtensionsBuilder_; /** *
     * Specifies optional bootstrap extensions to be instantiated at startup time.
     * Each item contains extension specific configuration.
     * [#extension-category: envoy.bootstrap]
     * 
* * repeated .envoy.config.core.v3.TypedExtensionConfig bootstrap_extensions = 21; */ public java.util.List getBootstrapExtensionsList() { if (bootstrapExtensionsBuilder_ == null) { return java.util.Collections.unmodifiableList(bootstrapExtensions_); } else { return bootstrapExtensionsBuilder_.getMessageList(); } } /** *
     * Specifies optional bootstrap extensions to be instantiated at startup time.
     * Each item contains extension specific configuration.
     * [#extension-category: envoy.bootstrap]
     * 
* * repeated .envoy.config.core.v3.TypedExtensionConfig bootstrap_extensions = 21; */ public int getBootstrapExtensionsCount() { if (bootstrapExtensionsBuilder_ == null) { return bootstrapExtensions_.size(); } else { return bootstrapExtensionsBuilder_.getCount(); } } /** *
     * Specifies optional bootstrap extensions to be instantiated at startup time.
     * Each item contains extension specific configuration.
     * [#extension-category: envoy.bootstrap]
     * 
* * repeated .envoy.config.core.v3.TypedExtensionConfig bootstrap_extensions = 21; */ public io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig getBootstrapExtensions(int index) { if (bootstrapExtensionsBuilder_ == null) { return bootstrapExtensions_.get(index); } else { return bootstrapExtensionsBuilder_.getMessage(index); } } /** *
     * Specifies optional bootstrap extensions to be instantiated at startup time.
     * Each item contains extension specific configuration.
     * [#extension-category: envoy.bootstrap]
     * 
* * repeated .envoy.config.core.v3.TypedExtensionConfig bootstrap_extensions = 21; */ public Builder setBootstrapExtensions( int index, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig value) { if (bootstrapExtensionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureBootstrapExtensionsIsMutable(); bootstrapExtensions_.set(index, value); onChanged(); } else { bootstrapExtensionsBuilder_.setMessage(index, value); } return this; } /** *
     * Specifies optional bootstrap extensions to be instantiated at startup time.
     * Each item contains extension specific configuration.
     * [#extension-category: envoy.bootstrap]
     * 
* * repeated .envoy.config.core.v3.TypedExtensionConfig bootstrap_extensions = 21; */ public Builder setBootstrapExtensions( int index, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.Builder builderForValue) { if (bootstrapExtensionsBuilder_ == null) { ensureBootstrapExtensionsIsMutable(); bootstrapExtensions_.set(index, builderForValue.build()); onChanged(); } else { bootstrapExtensionsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     * Specifies optional bootstrap extensions to be instantiated at startup time.
     * Each item contains extension specific configuration.
     * [#extension-category: envoy.bootstrap]
     * 
* * repeated .envoy.config.core.v3.TypedExtensionConfig bootstrap_extensions = 21; */ public Builder addBootstrapExtensions(io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig value) { if (bootstrapExtensionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureBootstrapExtensionsIsMutable(); bootstrapExtensions_.add(value); onChanged(); } else { bootstrapExtensionsBuilder_.addMessage(value); } return this; } /** *
     * Specifies optional bootstrap extensions to be instantiated at startup time.
     * Each item contains extension specific configuration.
     * [#extension-category: envoy.bootstrap]
     * 
* * repeated .envoy.config.core.v3.TypedExtensionConfig bootstrap_extensions = 21; */ public Builder addBootstrapExtensions( int index, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig value) { if (bootstrapExtensionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureBootstrapExtensionsIsMutable(); bootstrapExtensions_.add(index, value); onChanged(); } else { bootstrapExtensionsBuilder_.addMessage(index, value); } return this; } /** *
     * Specifies optional bootstrap extensions to be instantiated at startup time.
     * Each item contains extension specific configuration.
     * [#extension-category: envoy.bootstrap]
     * 
* * repeated .envoy.config.core.v3.TypedExtensionConfig bootstrap_extensions = 21; */ public Builder addBootstrapExtensions( io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.Builder builderForValue) { if (bootstrapExtensionsBuilder_ == null) { ensureBootstrapExtensionsIsMutable(); bootstrapExtensions_.add(builderForValue.build()); onChanged(); } else { bootstrapExtensionsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     * Specifies optional bootstrap extensions to be instantiated at startup time.
     * Each item contains extension specific configuration.
     * [#extension-category: envoy.bootstrap]
     * 
* * repeated .envoy.config.core.v3.TypedExtensionConfig bootstrap_extensions = 21; */ public Builder addBootstrapExtensions( int index, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.Builder builderForValue) { if (bootstrapExtensionsBuilder_ == null) { ensureBootstrapExtensionsIsMutable(); bootstrapExtensions_.add(index, builderForValue.build()); onChanged(); } else { bootstrapExtensionsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     * Specifies optional bootstrap extensions to be instantiated at startup time.
     * Each item contains extension specific configuration.
     * [#extension-category: envoy.bootstrap]
     * 
* * repeated .envoy.config.core.v3.TypedExtensionConfig bootstrap_extensions = 21; */ public Builder addAllBootstrapExtensions( java.lang.Iterable values) { if (bootstrapExtensionsBuilder_ == null) { ensureBootstrapExtensionsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, bootstrapExtensions_); onChanged(); } else { bootstrapExtensionsBuilder_.addAllMessages(values); } return this; } /** *
     * Specifies optional bootstrap extensions to be instantiated at startup time.
     * Each item contains extension specific configuration.
     * [#extension-category: envoy.bootstrap]
     * 
* * repeated .envoy.config.core.v3.TypedExtensionConfig bootstrap_extensions = 21; */ public Builder clearBootstrapExtensions() { if (bootstrapExtensionsBuilder_ == null) { bootstrapExtensions_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x01000000); onChanged(); } else { bootstrapExtensionsBuilder_.clear(); } return this; } /** *
     * Specifies optional bootstrap extensions to be instantiated at startup time.
     * Each item contains extension specific configuration.
     * [#extension-category: envoy.bootstrap]
     * 
* * repeated .envoy.config.core.v3.TypedExtensionConfig bootstrap_extensions = 21; */ public Builder removeBootstrapExtensions(int index) { if (bootstrapExtensionsBuilder_ == null) { ensureBootstrapExtensionsIsMutable(); bootstrapExtensions_.remove(index); onChanged(); } else { bootstrapExtensionsBuilder_.remove(index); } return this; } /** *
     * Specifies optional bootstrap extensions to be instantiated at startup time.
     * Each item contains extension specific configuration.
     * [#extension-category: envoy.bootstrap]
     * 
* * repeated .envoy.config.core.v3.TypedExtensionConfig bootstrap_extensions = 21; */ public io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.Builder getBootstrapExtensionsBuilder( int index) { return getBootstrapExtensionsFieldBuilder().getBuilder(index); } /** *
     * Specifies optional bootstrap extensions to be instantiated at startup time.
     * Each item contains extension specific configuration.
     * [#extension-category: envoy.bootstrap]
     * 
* * repeated .envoy.config.core.v3.TypedExtensionConfig bootstrap_extensions = 21; */ public io.envoyproxy.envoy.config.core.v3.TypedExtensionConfigOrBuilder getBootstrapExtensionsOrBuilder( int index) { if (bootstrapExtensionsBuilder_ == null) { return bootstrapExtensions_.get(index); } else { return bootstrapExtensionsBuilder_.getMessageOrBuilder(index); } } /** *
     * Specifies optional bootstrap extensions to be instantiated at startup time.
     * Each item contains extension specific configuration.
     * [#extension-category: envoy.bootstrap]
     * 
* * repeated .envoy.config.core.v3.TypedExtensionConfig bootstrap_extensions = 21; */ public java.util.List getBootstrapExtensionsOrBuilderList() { if (bootstrapExtensionsBuilder_ != null) { return bootstrapExtensionsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(bootstrapExtensions_); } } /** *
     * Specifies optional bootstrap extensions to be instantiated at startup time.
     * Each item contains extension specific configuration.
     * [#extension-category: envoy.bootstrap]
     * 
* * repeated .envoy.config.core.v3.TypedExtensionConfig bootstrap_extensions = 21; */ public io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.Builder addBootstrapExtensionsBuilder() { return getBootstrapExtensionsFieldBuilder().addBuilder( io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.getDefaultInstance()); } /** *
     * Specifies optional bootstrap extensions to be instantiated at startup time.
     * Each item contains extension specific configuration.
     * [#extension-category: envoy.bootstrap]
     * 
* * repeated .envoy.config.core.v3.TypedExtensionConfig bootstrap_extensions = 21; */ public io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.Builder addBootstrapExtensionsBuilder( int index) { return getBootstrapExtensionsFieldBuilder().addBuilder( index, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.getDefaultInstance()); } /** *
     * Specifies optional bootstrap extensions to be instantiated at startup time.
     * Each item contains extension specific configuration.
     * [#extension-category: envoy.bootstrap]
     * 
* * repeated .envoy.config.core.v3.TypedExtensionConfig bootstrap_extensions = 21; */ public java.util.List getBootstrapExtensionsBuilderList() { return getBootstrapExtensionsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.Builder, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfigOrBuilder> getBootstrapExtensionsFieldBuilder() { if (bootstrapExtensionsBuilder_ == null) { bootstrapExtensionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.Builder, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfigOrBuilder>( bootstrapExtensions_, ((bitField0_ & 0x01000000) != 0), getParentForChildren(), isClean()); bootstrapExtensions_ = null; } return bootstrapExtensionsBuilder_; } private java.util.List fatalActions_ = java.util.Collections.emptyList(); private void ensureFatalActionsIsMutable() { if (!((bitField0_ & 0x02000000) != 0)) { fatalActions_ = new java.util.ArrayList(fatalActions_); bitField0_ |= 0x02000000; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.FatalAction, io.envoyproxy.envoy.config.bootstrap.v3.FatalAction.Builder, io.envoyproxy.envoy.config.bootstrap.v3.FatalActionOrBuilder> fatalActionsBuilder_; /** *
     * Specifies optional extensions instantiated at startup time and
     * invoked during crash time on the request that caused the crash.
     * 
* * repeated .envoy.config.bootstrap.v3.FatalAction fatal_actions = 28; */ public java.util.List getFatalActionsList() { if (fatalActionsBuilder_ == null) { return java.util.Collections.unmodifiableList(fatalActions_); } else { return fatalActionsBuilder_.getMessageList(); } } /** *
     * Specifies optional extensions instantiated at startup time and
     * invoked during crash time on the request that caused the crash.
     * 
* * repeated .envoy.config.bootstrap.v3.FatalAction fatal_actions = 28; */ public int getFatalActionsCount() { if (fatalActionsBuilder_ == null) { return fatalActions_.size(); } else { return fatalActionsBuilder_.getCount(); } } /** *
     * Specifies optional extensions instantiated at startup time and
     * invoked during crash time on the request that caused the crash.
     * 
* * repeated .envoy.config.bootstrap.v3.FatalAction fatal_actions = 28; */ public io.envoyproxy.envoy.config.bootstrap.v3.FatalAction getFatalActions(int index) { if (fatalActionsBuilder_ == null) { return fatalActions_.get(index); } else { return fatalActionsBuilder_.getMessage(index); } } /** *
     * Specifies optional extensions instantiated at startup time and
     * invoked during crash time on the request that caused the crash.
     * 
* * repeated .envoy.config.bootstrap.v3.FatalAction fatal_actions = 28; */ public Builder setFatalActions( int index, io.envoyproxy.envoy.config.bootstrap.v3.FatalAction value) { if (fatalActionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFatalActionsIsMutable(); fatalActions_.set(index, value); onChanged(); } else { fatalActionsBuilder_.setMessage(index, value); } return this; } /** *
     * Specifies optional extensions instantiated at startup time and
     * invoked during crash time on the request that caused the crash.
     * 
* * repeated .envoy.config.bootstrap.v3.FatalAction fatal_actions = 28; */ public Builder setFatalActions( int index, io.envoyproxy.envoy.config.bootstrap.v3.FatalAction.Builder builderForValue) { if (fatalActionsBuilder_ == null) { ensureFatalActionsIsMutable(); fatalActions_.set(index, builderForValue.build()); onChanged(); } else { fatalActionsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     * Specifies optional extensions instantiated at startup time and
     * invoked during crash time on the request that caused the crash.
     * 
* * repeated .envoy.config.bootstrap.v3.FatalAction fatal_actions = 28; */ public Builder addFatalActions(io.envoyproxy.envoy.config.bootstrap.v3.FatalAction value) { if (fatalActionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFatalActionsIsMutable(); fatalActions_.add(value); onChanged(); } else { fatalActionsBuilder_.addMessage(value); } return this; } /** *
     * Specifies optional extensions instantiated at startup time and
     * invoked during crash time on the request that caused the crash.
     * 
* * repeated .envoy.config.bootstrap.v3.FatalAction fatal_actions = 28; */ public Builder addFatalActions( int index, io.envoyproxy.envoy.config.bootstrap.v3.FatalAction value) { if (fatalActionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFatalActionsIsMutable(); fatalActions_.add(index, value); onChanged(); } else { fatalActionsBuilder_.addMessage(index, value); } return this; } /** *
     * Specifies optional extensions instantiated at startup time and
     * invoked during crash time on the request that caused the crash.
     * 
* * repeated .envoy.config.bootstrap.v3.FatalAction fatal_actions = 28; */ public Builder addFatalActions( io.envoyproxy.envoy.config.bootstrap.v3.FatalAction.Builder builderForValue) { if (fatalActionsBuilder_ == null) { ensureFatalActionsIsMutable(); fatalActions_.add(builderForValue.build()); onChanged(); } else { fatalActionsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     * Specifies optional extensions instantiated at startup time and
     * invoked during crash time on the request that caused the crash.
     * 
* * repeated .envoy.config.bootstrap.v3.FatalAction fatal_actions = 28; */ public Builder addFatalActions( int index, io.envoyproxy.envoy.config.bootstrap.v3.FatalAction.Builder builderForValue) { if (fatalActionsBuilder_ == null) { ensureFatalActionsIsMutable(); fatalActions_.add(index, builderForValue.build()); onChanged(); } else { fatalActionsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     * Specifies optional extensions instantiated at startup time and
     * invoked during crash time on the request that caused the crash.
     * 
* * repeated .envoy.config.bootstrap.v3.FatalAction fatal_actions = 28; */ public Builder addAllFatalActions( java.lang.Iterable values) { if (fatalActionsBuilder_ == null) { ensureFatalActionsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, fatalActions_); onChanged(); } else { fatalActionsBuilder_.addAllMessages(values); } return this; } /** *
     * Specifies optional extensions instantiated at startup time and
     * invoked during crash time on the request that caused the crash.
     * 
* * repeated .envoy.config.bootstrap.v3.FatalAction fatal_actions = 28; */ public Builder clearFatalActions() { if (fatalActionsBuilder_ == null) { fatalActions_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x02000000); onChanged(); } else { fatalActionsBuilder_.clear(); } return this; } /** *
     * Specifies optional extensions instantiated at startup time and
     * invoked during crash time on the request that caused the crash.
     * 
* * repeated .envoy.config.bootstrap.v3.FatalAction fatal_actions = 28; */ public Builder removeFatalActions(int index) { if (fatalActionsBuilder_ == null) { ensureFatalActionsIsMutable(); fatalActions_.remove(index); onChanged(); } else { fatalActionsBuilder_.remove(index); } return this; } /** *
     * Specifies optional extensions instantiated at startup time and
     * invoked during crash time on the request that caused the crash.
     * 
* * repeated .envoy.config.bootstrap.v3.FatalAction fatal_actions = 28; */ public io.envoyproxy.envoy.config.bootstrap.v3.FatalAction.Builder getFatalActionsBuilder( int index) { return getFatalActionsFieldBuilder().getBuilder(index); } /** *
     * Specifies optional extensions instantiated at startup time and
     * invoked during crash time on the request that caused the crash.
     * 
* * repeated .envoy.config.bootstrap.v3.FatalAction fatal_actions = 28; */ public io.envoyproxy.envoy.config.bootstrap.v3.FatalActionOrBuilder getFatalActionsOrBuilder( int index) { if (fatalActionsBuilder_ == null) { return fatalActions_.get(index); } else { return fatalActionsBuilder_.getMessageOrBuilder(index); } } /** *
     * Specifies optional extensions instantiated at startup time and
     * invoked during crash time on the request that caused the crash.
     * 
* * repeated .envoy.config.bootstrap.v3.FatalAction fatal_actions = 28; */ public java.util.List getFatalActionsOrBuilderList() { if (fatalActionsBuilder_ != null) { return fatalActionsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(fatalActions_); } } /** *
     * Specifies optional extensions instantiated at startup time and
     * invoked during crash time on the request that caused the crash.
     * 
* * repeated .envoy.config.bootstrap.v3.FatalAction fatal_actions = 28; */ public io.envoyproxy.envoy.config.bootstrap.v3.FatalAction.Builder addFatalActionsBuilder() { return getFatalActionsFieldBuilder().addBuilder( io.envoyproxy.envoy.config.bootstrap.v3.FatalAction.getDefaultInstance()); } /** *
     * Specifies optional extensions instantiated at startup time and
     * invoked during crash time on the request that caused the crash.
     * 
* * repeated .envoy.config.bootstrap.v3.FatalAction fatal_actions = 28; */ public io.envoyproxy.envoy.config.bootstrap.v3.FatalAction.Builder addFatalActionsBuilder( int index) { return getFatalActionsFieldBuilder().addBuilder( index, io.envoyproxy.envoy.config.bootstrap.v3.FatalAction.getDefaultInstance()); } /** *
     * Specifies optional extensions instantiated at startup time and
     * invoked during crash time on the request that caused the crash.
     * 
* * repeated .envoy.config.bootstrap.v3.FatalAction fatal_actions = 28; */ public java.util.List getFatalActionsBuilderList() { return getFatalActionsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.FatalAction, io.envoyproxy.envoy.config.bootstrap.v3.FatalAction.Builder, io.envoyproxy.envoy.config.bootstrap.v3.FatalActionOrBuilder> getFatalActionsFieldBuilder() { if (fatalActionsBuilder_ == null) { fatalActionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.FatalAction, io.envoyproxy.envoy.config.bootstrap.v3.FatalAction.Builder, io.envoyproxy.envoy.config.bootstrap.v3.FatalActionOrBuilder>( fatalActions_, ((bitField0_ & 0x02000000) != 0), getParentForChildren(), isClean()); fatalActions_ = null; } return fatalActionsBuilder_; } private java.util.List configSources_ = java.util.Collections.emptyList(); private void ensureConfigSourcesIsMutable() { if (!((bitField0_ & 0x04000000) != 0)) { configSources_ = new java.util.ArrayList(configSources_); bitField0_ |= 0x04000000; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.ConfigSource, io.envoyproxy.envoy.config.core.v3.ConfigSource.Builder, io.envoyproxy.envoy.config.core.v3.ConfigSourceOrBuilder> configSourcesBuilder_; /** *
     * Configuration sources that will participate in
     * xdstp:// URL authority resolution. The algorithm is as
     * follows:
     * 1. The authority field is taken from the xdstp:// URL, call
     *    this ``resource_authority``.
     * 2. ``resource_authority`` is compared against the authorities in any peer
     *    ``ConfigSource``. The peer ``ConfigSource`` is the configuration source
     *    message which would have been used unconditionally for resolution
     *    with opaque resource names. If there is a match with an authority, the
     *    peer ``ConfigSource`` message is used.
     * 3. ``resource_authority`` is compared sequentially with the authorities in
     *    each configuration source in ``config_sources``. The first ``ConfigSource``
     *    to match wins.
     * 4. As a fallback, if no configuration source matches, then
     *    ``default_config_source`` is used.
     * 5. If ``default_config_source`` is not specified, resolution fails.
     * [#not-implemented-hide:]
     * 
* * repeated .envoy.config.core.v3.ConfigSource config_sources = 22; */ public java.util.List getConfigSourcesList() { if (configSourcesBuilder_ == null) { return java.util.Collections.unmodifiableList(configSources_); } else { return configSourcesBuilder_.getMessageList(); } } /** *
     * Configuration sources that will participate in
     * xdstp:// URL authority resolution. The algorithm is as
     * follows:
     * 1. The authority field is taken from the xdstp:// URL, call
     *    this ``resource_authority``.
     * 2. ``resource_authority`` is compared against the authorities in any peer
     *    ``ConfigSource``. The peer ``ConfigSource`` is the configuration source
     *    message which would have been used unconditionally for resolution
     *    with opaque resource names. If there is a match with an authority, the
     *    peer ``ConfigSource`` message is used.
     * 3. ``resource_authority`` is compared sequentially with the authorities in
     *    each configuration source in ``config_sources``. The first ``ConfigSource``
     *    to match wins.
     * 4. As a fallback, if no configuration source matches, then
     *    ``default_config_source`` is used.
     * 5. If ``default_config_source`` is not specified, resolution fails.
     * [#not-implemented-hide:]
     * 
* * repeated .envoy.config.core.v3.ConfigSource config_sources = 22; */ public int getConfigSourcesCount() { if (configSourcesBuilder_ == null) { return configSources_.size(); } else { return configSourcesBuilder_.getCount(); } } /** *
     * Configuration sources that will participate in
     * xdstp:// URL authority resolution. The algorithm is as
     * follows:
     * 1. The authority field is taken from the xdstp:// URL, call
     *    this ``resource_authority``.
     * 2. ``resource_authority`` is compared against the authorities in any peer
     *    ``ConfigSource``. The peer ``ConfigSource`` is the configuration source
     *    message which would have been used unconditionally for resolution
     *    with opaque resource names. If there is a match with an authority, the
     *    peer ``ConfigSource`` message is used.
     * 3. ``resource_authority`` is compared sequentially with the authorities in
     *    each configuration source in ``config_sources``. The first ``ConfigSource``
     *    to match wins.
     * 4. As a fallback, if no configuration source matches, then
     *    ``default_config_source`` is used.
     * 5. If ``default_config_source`` is not specified, resolution fails.
     * [#not-implemented-hide:]
     * 
* * repeated .envoy.config.core.v3.ConfigSource config_sources = 22; */ public io.envoyproxy.envoy.config.core.v3.ConfigSource getConfigSources(int index) { if (configSourcesBuilder_ == null) { return configSources_.get(index); } else { return configSourcesBuilder_.getMessage(index); } } /** *
     * Configuration sources that will participate in
     * xdstp:// URL authority resolution. The algorithm is as
     * follows:
     * 1. The authority field is taken from the xdstp:// URL, call
     *    this ``resource_authority``.
     * 2. ``resource_authority`` is compared against the authorities in any peer
     *    ``ConfigSource``. The peer ``ConfigSource`` is the configuration source
     *    message which would have been used unconditionally for resolution
     *    with opaque resource names. If there is a match with an authority, the
     *    peer ``ConfigSource`` message is used.
     * 3. ``resource_authority`` is compared sequentially with the authorities in
     *    each configuration source in ``config_sources``. The first ``ConfigSource``
     *    to match wins.
     * 4. As a fallback, if no configuration source matches, then
     *    ``default_config_source`` is used.
     * 5. If ``default_config_source`` is not specified, resolution fails.
     * [#not-implemented-hide:]
     * 
* * repeated .envoy.config.core.v3.ConfigSource config_sources = 22; */ public Builder setConfigSources( int index, io.envoyproxy.envoy.config.core.v3.ConfigSource value) { if (configSourcesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureConfigSourcesIsMutable(); configSources_.set(index, value); onChanged(); } else { configSourcesBuilder_.setMessage(index, value); } return this; } /** *
     * Configuration sources that will participate in
     * xdstp:// URL authority resolution. The algorithm is as
     * follows:
     * 1. The authority field is taken from the xdstp:// URL, call
     *    this ``resource_authority``.
     * 2. ``resource_authority`` is compared against the authorities in any peer
     *    ``ConfigSource``. The peer ``ConfigSource`` is the configuration source
     *    message which would have been used unconditionally for resolution
     *    with opaque resource names. If there is a match with an authority, the
     *    peer ``ConfigSource`` message is used.
     * 3. ``resource_authority`` is compared sequentially with the authorities in
     *    each configuration source in ``config_sources``. The first ``ConfigSource``
     *    to match wins.
     * 4. As a fallback, if no configuration source matches, then
     *    ``default_config_source`` is used.
     * 5. If ``default_config_source`` is not specified, resolution fails.
     * [#not-implemented-hide:]
     * 
* * repeated .envoy.config.core.v3.ConfigSource config_sources = 22; */ public Builder setConfigSources( int index, io.envoyproxy.envoy.config.core.v3.ConfigSource.Builder builderForValue) { if (configSourcesBuilder_ == null) { ensureConfigSourcesIsMutable(); configSources_.set(index, builderForValue.build()); onChanged(); } else { configSourcesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     * Configuration sources that will participate in
     * xdstp:// URL authority resolution. The algorithm is as
     * follows:
     * 1. The authority field is taken from the xdstp:// URL, call
     *    this ``resource_authority``.
     * 2. ``resource_authority`` is compared against the authorities in any peer
     *    ``ConfigSource``. The peer ``ConfigSource`` is the configuration source
     *    message which would have been used unconditionally for resolution
     *    with opaque resource names. If there is a match with an authority, the
     *    peer ``ConfigSource`` message is used.
     * 3. ``resource_authority`` is compared sequentially with the authorities in
     *    each configuration source in ``config_sources``. The first ``ConfigSource``
     *    to match wins.
     * 4. As a fallback, if no configuration source matches, then
     *    ``default_config_source`` is used.
     * 5. If ``default_config_source`` is not specified, resolution fails.
     * [#not-implemented-hide:]
     * 
* * repeated .envoy.config.core.v3.ConfigSource config_sources = 22; */ public Builder addConfigSources(io.envoyproxy.envoy.config.core.v3.ConfigSource value) { if (configSourcesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureConfigSourcesIsMutable(); configSources_.add(value); onChanged(); } else { configSourcesBuilder_.addMessage(value); } return this; } /** *
     * Configuration sources that will participate in
     * xdstp:// URL authority resolution. The algorithm is as
     * follows:
     * 1. The authority field is taken from the xdstp:// URL, call
     *    this ``resource_authority``.
     * 2. ``resource_authority`` is compared against the authorities in any peer
     *    ``ConfigSource``. The peer ``ConfigSource`` is the configuration source
     *    message which would have been used unconditionally for resolution
     *    with opaque resource names. If there is a match with an authority, the
     *    peer ``ConfigSource`` message is used.
     * 3. ``resource_authority`` is compared sequentially with the authorities in
     *    each configuration source in ``config_sources``. The first ``ConfigSource``
     *    to match wins.
     * 4. As a fallback, if no configuration source matches, then
     *    ``default_config_source`` is used.
     * 5. If ``default_config_source`` is not specified, resolution fails.
     * [#not-implemented-hide:]
     * 
* * repeated .envoy.config.core.v3.ConfigSource config_sources = 22; */ public Builder addConfigSources( int index, io.envoyproxy.envoy.config.core.v3.ConfigSource value) { if (configSourcesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureConfigSourcesIsMutable(); configSources_.add(index, value); onChanged(); } else { configSourcesBuilder_.addMessage(index, value); } return this; } /** *
     * Configuration sources that will participate in
     * xdstp:// URL authority resolution. The algorithm is as
     * follows:
     * 1. The authority field is taken from the xdstp:// URL, call
     *    this ``resource_authority``.
     * 2. ``resource_authority`` is compared against the authorities in any peer
     *    ``ConfigSource``. The peer ``ConfigSource`` is the configuration source
     *    message which would have been used unconditionally for resolution
     *    with opaque resource names. If there is a match with an authority, the
     *    peer ``ConfigSource`` message is used.
     * 3. ``resource_authority`` is compared sequentially with the authorities in
     *    each configuration source in ``config_sources``. The first ``ConfigSource``
     *    to match wins.
     * 4. As a fallback, if no configuration source matches, then
     *    ``default_config_source`` is used.
     * 5. If ``default_config_source`` is not specified, resolution fails.
     * [#not-implemented-hide:]
     * 
* * repeated .envoy.config.core.v3.ConfigSource config_sources = 22; */ public Builder addConfigSources( io.envoyproxy.envoy.config.core.v3.ConfigSource.Builder builderForValue) { if (configSourcesBuilder_ == null) { ensureConfigSourcesIsMutable(); configSources_.add(builderForValue.build()); onChanged(); } else { configSourcesBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     * Configuration sources that will participate in
     * xdstp:// URL authority resolution. The algorithm is as
     * follows:
     * 1. The authority field is taken from the xdstp:// URL, call
     *    this ``resource_authority``.
     * 2. ``resource_authority`` is compared against the authorities in any peer
     *    ``ConfigSource``. The peer ``ConfigSource`` is the configuration source
     *    message which would have been used unconditionally for resolution
     *    with opaque resource names. If there is a match with an authority, the
     *    peer ``ConfigSource`` message is used.
     * 3. ``resource_authority`` is compared sequentially with the authorities in
     *    each configuration source in ``config_sources``. The first ``ConfigSource``
     *    to match wins.
     * 4. As a fallback, if no configuration source matches, then
     *    ``default_config_source`` is used.
     * 5. If ``default_config_source`` is not specified, resolution fails.
     * [#not-implemented-hide:]
     * 
* * repeated .envoy.config.core.v3.ConfigSource config_sources = 22; */ public Builder addConfigSources( int index, io.envoyproxy.envoy.config.core.v3.ConfigSource.Builder builderForValue) { if (configSourcesBuilder_ == null) { ensureConfigSourcesIsMutable(); configSources_.add(index, builderForValue.build()); onChanged(); } else { configSourcesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     * Configuration sources that will participate in
     * xdstp:// URL authority resolution. The algorithm is as
     * follows:
     * 1. The authority field is taken from the xdstp:// URL, call
     *    this ``resource_authority``.
     * 2. ``resource_authority`` is compared against the authorities in any peer
     *    ``ConfigSource``. The peer ``ConfigSource`` is the configuration source
     *    message which would have been used unconditionally for resolution
     *    with opaque resource names. If there is a match with an authority, the
     *    peer ``ConfigSource`` message is used.
     * 3. ``resource_authority`` is compared sequentially with the authorities in
     *    each configuration source in ``config_sources``. The first ``ConfigSource``
     *    to match wins.
     * 4. As a fallback, if no configuration source matches, then
     *    ``default_config_source`` is used.
     * 5. If ``default_config_source`` is not specified, resolution fails.
     * [#not-implemented-hide:]
     * 
* * repeated .envoy.config.core.v3.ConfigSource config_sources = 22; */ public Builder addAllConfigSources( java.lang.Iterable values) { if (configSourcesBuilder_ == null) { ensureConfigSourcesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, configSources_); onChanged(); } else { configSourcesBuilder_.addAllMessages(values); } return this; } /** *
     * Configuration sources that will participate in
     * xdstp:// URL authority resolution. The algorithm is as
     * follows:
     * 1. The authority field is taken from the xdstp:// URL, call
     *    this ``resource_authority``.
     * 2. ``resource_authority`` is compared against the authorities in any peer
     *    ``ConfigSource``. The peer ``ConfigSource`` is the configuration source
     *    message which would have been used unconditionally for resolution
     *    with opaque resource names. If there is a match with an authority, the
     *    peer ``ConfigSource`` message is used.
     * 3. ``resource_authority`` is compared sequentially with the authorities in
     *    each configuration source in ``config_sources``. The first ``ConfigSource``
     *    to match wins.
     * 4. As a fallback, if no configuration source matches, then
     *    ``default_config_source`` is used.
     * 5. If ``default_config_source`` is not specified, resolution fails.
     * [#not-implemented-hide:]
     * 
* * repeated .envoy.config.core.v3.ConfigSource config_sources = 22; */ public Builder clearConfigSources() { if (configSourcesBuilder_ == null) { configSources_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x04000000); onChanged(); } else { configSourcesBuilder_.clear(); } return this; } /** *
     * Configuration sources that will participate in
     * xdstp:// URL authority resolution. The algorithm is as
     * follows:
     * 1. The authority field is taken from the xdstp:// URL, call
     *    this ``resource_authority``.
     * 2. ``resource_authority`` is compared against the authorities in any peer
     *    ``ConfigSource``. The peer ``ConfigSource`` is the configuration source
     *    message which would have been used unconditionally for resolution
     *    with opaque resource names. If there is a match with an authority, the
     *    peer ``ConfigSource`` message is used.
     * 3. ``resource_authority`` is compared sequentially with the authorities in
     *    each configuration source in ``config_sources``. The first ``ConfigSource``
     *    to match wins.
     * 4. As a fallback, if no configuration source matches, then
     *    ``default_config_source`` is used.
     * 5. If ``default_config_source`` is not specified, resolution fails.
     * [#not-implemented-hide:]
     * 
* * repeated .envoy.config.core.v3.ConfigSource config_sources = 22; */ public Builder removeConfigSources(int index) { if (configSourcesBuilder_ == null) { ensureConfigSourcesIsMutable(); configSources_.remove(index); onChanged(); } else { configSourcesBuilder_.remove(index); } return this; } /** *
     * Configuration sources that will participate in
     * xdstp:// URL authority resolution. The algorithm is as
     * follows:
     * 1. The authority field is taken from the xdstp:// URL, call
     *    this ``resource_authority``.
     * 2. ``resource_authority`` is compared against the authorities in any peer
     *    ``ConfigSource``. The peer ``ConfigSource`` is the configuration source
     *    message which would have been used unconditionally for resolution
     *    with opaque resource names. If there is a match with an authority, the
     *    peer ``ConfigSource`` message is used.
     * 3. ``resource_authority`` is compared sequentially with the authorities in
     *    each configuration source in ``config_sources``. The first ``ConfigSource``
     *    to match wins.
     * 4. As a fallback, if no configuration source matches, then
     *    ``default_config_source`` is used.
     * 5. If ``default_config_source`` is not specified, resolution fails.
     * [#not-implemented-hide:]
     * 
* * repeated .envoy.config.core.v3.ConfigSource config_sources = 22; */ public io.envoyproxy.envoy.config.core.v3.ConfigSource.Builder getConfigSourcesBuilder( int index) { return getConfigSourcesFieldBuilder().getBuilder(index); } /** *
     * Configuration sources that will participate in
     * xdstp:// URL authority resolution. The algorithm is as
     * follows:
     * 1. The authority field is taken from the xdstp:// URL, call
     *    this ``resource_authority``.
     * 2. ``resource_authority`` is compared against the authorities in any peer
     *    ``ConfigSource``. The peer ``ConfigSource`` is the configuration source
     *    message which would have been used unconditionally for resolution
     *    with opaque resource names. If there is a match with an authority, the
     *    peer ``ConfigSource`` message is used.
     * 3. ``resource_authority`` is compared sequentially with the authorities in
     *    each configuration source in ``config_sources``. The first ``ConfigSource``
     *    to match wins.
     * 4. As a fallback, if no configuration source matches, then
     *    ``default_config_source`` is used.
     * 5. If ``default_config_source`` is not specified, resolution fails.
     * [#not-implemented-hide:]
     * 
* * repeated .envoy.config.core.v3.ConfigSource config_sources = 22; */ public io.envoyproxy.envoy.config.core.v3.ConfigSourceOrBuilder getConfigSourcesOrBuilder( int index) { if (configSourcesBuilder_ == null) { return configSources_.get(index); } else { return configSourcesBuilder_.getMessageOrBuilder(index); } } /** *
     * Configuration sources that will participate in
     * xdstp:// URL authority resolution. The algorithm is as
     * follows:
     * 1. The authority field is taken from the xdstp:// URL, call
     *    this ``resource_authority``.
     * 2. ``resource_authority`` is compared against the authorities in any peer
     *    ``ConfigSource``. The peer ``ConfigSource`` is the configuration source
     *    message which would have been used unconditionally for resolution
     *    with opaque resource names. If there is a match with an authority, the
     *    peer ``ConfigSource`` message is used.
     * 3. ``resource_authority`` is compared sequentially with the authorities in
     *    each configuration source in ``config_sources``. The first ``ConfigSource``
     *    to match wins.
     * 4. As a fallback, if no configuration source matches, then
     *    ``default_config_source`` is used.
     * 5. If ``default_config_source`` is not specified, resolution fails.
     * [#not-implemented-hide:]
     * 
* * repeated .envoy.config.core.v3.ConfigSource config_sources = 22; */ public java.util.List getConfigSourcesOrBuilderList() { if (configSourcesBuilder_ != null) { return configSourcesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(configSources_); } } /** *
     * Configuration sources that will participate in
     * xdstp:// URL authority resolution. The algorithm is as
     * follows:
     * 1. The authority field is taken from the xdstp:// URL, call
     *    this ``resource_authority``.
     * 2. ``resource_authority`` is compared against the authorities in any peer
     *    ``ConfigSource``. The peer ``ConfigSource`` is the configuration source
     *    message which would have been used unconditionally for resolution
     *    with opaque resource names. If there is a match with an authority, the
     *    peer ``ConfigSource`` message is used.
     * 3. ``resource_authority`` is compared sequentially with the authorities in
     *    each configuration source in ``config_sources``. The first ``ConfigSource``
     *    to match wins.
     * 4. As a fallback, if no configuration source matches, then
     *    ``default_config_source`` is used.
     * 5. If ``default_config_source`` is not specified, resolution fails.
     * [#not-implemented-hide:]
     * 
* * repeated .envoy.config.core.v3.ConfigSource config_sources = 22; */ public io.envoyproxy.envoy.config.core.v3.ConfigSource.Builder addConfigSourcesBuilder() { return getConfigSourcesFieldBuilder().addBuilder( io.envoyproxy.envoy.config.core.v3.ConfigSource.getDefaultInstance()); } /** *
     * Configuration sources that will participate in
     * xdstp:// URL authority resolution. The algorithm is as
     * follows:
     * 1. The authority field is taken from the xdstp:// URL, call
     *    this ``resource_authority``.
     * 2. ``resource_authority`` is compared against the authorities in any peer
     *    ``ConfigSource``. The peer ``ConfigSource`` is the configuration source
     *    message which would have been used unconditionally for resolution
     *    with opaque resource names. If there is a match with an authority, the
     *    peer ``ConfigSource`` message is used.
     * 3. ``resource_authority`` is compared sequentially with the authorities in
     *    each configuration source in ``config_sources``. The first ``ConfigSource``
     *    to match wins.
     * 4. As a fallback, if no configuration source matches, then
     *    ``default_config_source`` is used.
     * 5. If ``default_config_source`` is not specified, resolution fails.
     * [#not-implemented-hide:]
     * 
* * repeated .envoy.config.core.v3.ConfigSource config_sources = 22; */ public io.envoyproxy.envoy.config.core.v3.ConfigSource.Builder addConfigSourcesBuilder( int index) { return getConfigSourcesFieldBuilder().addBuilder( index, io.envoyproxy.envoy.config.core.v3.ConfigSource.getDefaultInstance()); } /** *
     * Configuration sources that will participate in
     * xdstp:// URL authority resolution. The algorithm is as
     * follows:
     * 1. The authority field is taken from the xdstp:// URL, call
     *    this ``resource_authority``.
     * 2. ``resource_authority`` is compared against the authorities in any peer
     *    ``ConfigSource``. The peer ``ConfigSource`` is the configuration source
     *    message which would have been used unconditionally for resolution
     *    with opaque resource names. If there is a match with an authority, the
     *    peer ``ConfigSource`` message is used.
     * 3. ``resource_authority`` is compared sequentially with the authorities in
     *    each configuration source in ``config_sources``. The first ``ConfigSource``
     *    to match wins.
     * 4. As a fallback, if no configuration source matches, then
     *    ``default_config_source`` is used.
     * 5. If ``default_config_source`` is not specified, resolution fails.
     * [#not-implemented-hide:]
     * 
* * repeated .envoy.config.core.v3.ConfigSource config_sources = 22; */ public java.util.List getConfigSourcesBuilderList() { return getConfigSourcesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.ConfigSource, io.envoyproxy.envoy.config.core.v3.ConfigSource.Builder, io.envoyproxy.envoy.config.core.v3.ConfigSourceOrBuilder> getConfigSourcesFieldBuilder() { if (configSourcesBuilder_ == null) { configSourcesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.ConfigSource, io.envoyproxy.envoy.config.core.v3.ConfigSource.Builder, io.envoyproxy.envoy.config.core.v3.ConfigSourceOrBuilder>( configSources_, ((bitField0_ & 0x04000000) != 0), getParentForChildren(), isClean()); configSources_ = null; } return configSourcesBuilder_; } private io.envoyproxy.envoy.config.core.v3.ConfigSource defaultConfigSource_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.ConfigSource, io.envoyproxy.envoy.config.core.v3.ConfigSource.Builder, io.envoyproxy.envoy.config.core.v3.ConfigSourceOrBuilder> defaultConfigSourceBuilder_; /** *
     * Default configuration source for xdstp:// URLs if all
     * other resolution fails.
     * [#not-implemented-hide:]
     * 
* * .envoy.config.core.v3.ConfigSource default_config_source = 23; * @return Whether the defaultConfigSource field is set. */ public boolean hasDefaultConfigSource() { return ((bitField0_ & 0x08000000) != 0); } /** *
     * Default configuration source for xdstp:// URLs if all
     * other resolution fails.
     * [#not-implemented-hide:]
     * 
* * .envoy.config.core.v3.ConfigSource default_config_source = 23; * @return The defaultConfigSource. */ public io.envoyproxy.envoy.config.core.v3.ConfigSource getDefaultConfigSource() { if (defaultConfigSourceBuilder_ == null) { return defaultConfigSource_ == null ? io.envoyproxy.envoy.config.core.v3.ConfigSource.getDefaultInstance() : defaultConfigSource_; } else { return defaultConfigSourceBuilder_.getMessage(); } } /** *
     * Default configuration source for xdstp:// URLs if all
     * other resolution fails.
     * [#not-implemented-hide:]
     * 
* * .envoy.config.core.v3.ConfigSource default_config_source = 23; */ public Builder setDefaultConfigSource(io.envoyproxy.envoy.config.core.v3.ConfigSource value) { if (defaultConfigSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); } defaultConfigSource_ = value; } else { defaultConfigSourceBuilder_.setMessage(value); } bitField0_ |= 0x08000000; onChanged(); return this; } /** *
     * Default configuration source for xdstp:// URLs if all
     * other resolution fails.
     * [#not-implemented-hide:]
     * 
* * .envoy.config.core.v3.ConfigSource default_config_source = 23; */ public Builder setDefaultConfigSource( io.envoyproxy.envoy.config.core.v3.ConfigSource.Builder builderForValue) { if (defaultConfigSourceBuilder_ == null) { defaultConfigSource_ = builderForValue.build(); } else { defaultConfigSourceBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x08000000; onChanged(); return this; } /** *
     * Default configuration source for xdstp:// URLs if all
     * other resolution fails.
     * [#not-implemented-hide:]
     * 
* * .envoy.config.core.v3.ConfigSource default_config_source = 23; */ public Builder mergeDefaultConfigSource(io.envoyproxy.envoy.config.core.v3.ConfigSource value) { if (defaultConfigSourceBuilder_ == null) { if (((bitField0_ & 0x08000000) != 0) && defaultConfigSource_ != null && defaultConfigSource_ != io.envoyproxy.envoy.config.core.v3.ConfigSource.getDefaultInstance()) { getDefaultConfigSourceBuilder().mergeFrom(value); } else { defaultConfigSource_ = value; } } else { defaultConfigSourceBuilder_.mergeFrom(value); } if (defaultConfigSource_ != null) { bitField0_ |= 0x08000000; onChanged(); } return this; } /** *
     * Default configuration source for xdstp:// URLs if all
     * other resolution fails.
     * [#not-implemented-hide:]
     * 
* * .envoy.config.core.v3.ConfigSource default_config_source = 23; */ public Builder clearDefaultConfigSource() { bitField0_ = (bitField0_ & ~0x08000000); defaultConfigSource_ = null; if (defaultConfigSourceBuilder_ != null) { defaultConfigSourceBuilder_.dispose(); defaultConfigSourceBuilder_ = null; } onChanged(); return this; } /** *
     * Default configuration source for xdstp:// URLs if all
     * other resolution fails.
     * [#not-implemented-hide:]
     * 
* * .envoy.config.core.v3.ConfigSource default_config_source = 23; */ public io.envoyproxy.envoy.config.core.v3.ConfigSource.Builder getDefaultConfigSourceBuilder() { bitField0_ |= 0x08000000; onChanged(); return getDefaultConfigSourceFieldBuilder().getBuilder(); } /** *
     * Default configuration source for xdstp:// URLs if all
     * other resolution fails.
     * [#not-implemented-hide:]
     * 
* * .envoy.config.core.v3.ConfigSource default_config_source = 23; */ public io.envoyproxy.envoy.config.core.v3.ConfigSourceOrBuilder getDefaultConfigSourceOrBuilder() { if (defaultConfigSourceBuilder_ != null) { return defaultConfigSourceBuilder_.getMessageOrBuilder(); } else { return defaultConfigSource_ == null ? io.envoyproxy.envoy.config.core.v3.ConfigSource.getDefaultInstance() : defaultConfigSource_; } } /** *
     * Default configuration source for xdstp:// URLs if all
     * other resolution fails.
     * [#not-implemented-hide:]
     * 
* * .envoy.config.core.v3.ConfigSource default_config_source = 23; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.ConfigSource, io.envoyproxy.envoy.config.core.v3.ConfigSource.Builder, io.envoyproxy.envoy.config.core.v3.ConfigSourceOrBuilder> getDefaultConfigSourceFieldBuilder() { if (defaultConfigSourceBuilder_ == null) { defaultConfigSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.ConfigSource, io.envoyproxy.envoy.config.core.v3.ConfigSource.Builder, io.envoyproxy.envoy.config.core.v3.ConfigSourceOrBuilder>( getDefaultConfigSource(), getParentForChildren(), isClean()); defaultConfigSource_ = null; } return defaultConfigSourceBuilder_; } private java.lang.Object defaultSocketInterface_ = ""; /** *
     * Optional overriding of default socket interface. The value must be the name of one of the
     * socket interface factories initialized through a bootstrap extension
     * 
* * string default_socket_interface = 24; * @return The defaultSocketInterface. */ public java.lang.String getDefaultSocketInterface() { java.lang.Object ref = defaultSocketInterface_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); defaultSocketInterface_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * Optional overriding of default socket interface. The value must be the name of one of the
     * socket interface factories initialized through a bootstrap extension
     * 
* * string default_socket_interface = 24; * @return The bytes for defaultSocketInterface. */ public com.google.protobuf.ByteString getDefaultSocketInterfaceBytes() { java.lang.Object ref = defaultSocketInterface_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); defaultSocketInterface_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * Optional overriding of default socket interface. The value must be the name of one of the
     * socket interface factories initialized through a bootstrap extension
     * 
* * string default_socket_interface = 24; * @param value The defaultSocketInterface to set. * @return This builder for chaining. */ public Builder setDefaultSocketInterface( java.lang.String value) { if (value == null) { throw new NullPointerException(); } defaultSocketInterface_ = value; bitField0_ |= 0x10000000; onChanged(); return this; } /** *
     * Optional overriding of default socket interface. The value must be the name of one of the
     * socket interface factories initialized through a bootstrap extension
     * 
* * string default_socket_interface = 24; * @return This builder for chaining. */ public Builder clearDefaultSocketInterface() { defaultSocketInterface_ = getDefaultInstance().getDefaultSocketInterface(); bitField0_ = (bitField0_ & ~0x10000000); onChanged(); return this; } /** *
     * Optional overriding of default socket interface. The value must be the name of one of the
     * socket interface factories initialized through a bootstrap extension
     * 
* * string default_socket_interface = 24; * @param value The bytes for defaultSocketInterface to set. * @return This builder for chaining. */ public Builder setDefaultSocketInterfaceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); defaultSocketInterface_ = value; bitField0_ |= 0x10000000; onChanged(); return this; } private static final class CertificateProviderInstancesConverter implements com.google.protobuf.MapFieldBuilder.Converter { @java.lang.Override public io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig build(io.envoyproxy.envoy.config.core.v3.TypedExtensionConfigOrBuilder val) { if (val instanceof io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig) { return (io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig) val; } return ((io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.Builder) val).build(); } @java.lang.Override public com.google.protobuf.MapEntry defaultEntry() { return CertificateProviderInstancesDefaultEntryHolder.defaultEntry; } }; private static final CertificateProviderInstancesConverter certificateProviderInstancesConverter = new CertificateProviderInstancesConverter(); private com.google.protobuf.MapFieldBuilder< java.lang.String, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfigOrBuilder, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.Builder> certificateProviderInstances_; private com.google.protobuf.MapFieldBuilder internalGetCertificateProviderInstances() { if (certificateProviderInstances_ == null) { return new com.google.protobuf.MapFieldBuilder<>(certificateProviderInstancesConverter); } return certificateProviderInstances_; } private com.google.protobuf.MapFieldBuilder internalGetMutableCertificateProviderInstances() { if (certificateProviderInstances_ == null) { certificateProviderInstances_ = new com.google.protobuf.MapFieldBuilder<>(certificateProviderInstancesConverter); } bitField0_ |= 0x20000000; onChanged(); return certificateProviderInstances_; } public int getCertificateProviderInstancesCount() { return internalGetCertificateProviderInstances().ensureBuilderMap().size(); } /** *
     * Global map of CertificateProvider instances. These instances are referred to by name in the
     * :ref:`CommonTlsContext.CertificateProviderInstance.instance_name
     * <envoy_v3_api_field_extensions.transport_sockets.tls.v3.CommonTlsContext.CertificateProviderInstance.instance_name>`
     * field.
     * [#not-implemented-hide:]
     * 
* * map<string, .envoy.config.core.v3.TypedExtensionConfig> certificate_provider_instances = 25; */ @java.lang.Override public boolean containsCertificateProviderInstances( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetCertificateProviderInstances().ensureBuilderMap().containsKey(key); } /** * Use {@link #getCertificateProviderInstancesMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getCertificateProviderInstances() { return getCertificateProviderInstancesMap(); } /** *
     * Global map of CertificateProvider instances. These instances are referred to by name in the
     * :ref:`CommonTlsContext.CertificateProviderInstance.instance_name
     * <envoy_v3_api_field_extensions.transport_sockets.tls.v3.CommonTlsContext.CertificateProviderInstance.instance_name>`
     * field.
     * [#not-implemented-hide:]
     * 
* * map<string, .envoy.config.core.v3.TypedExtensionConfig> certificate_provider_instances = 25; */ @java.lang.Override public java.util.Map getCertificateProviderInstancesMap() { return internalGetCertificateProviderInstances().getImmutableMap(); } /** *
     * Global map of CertificateProvider instances. These instances are referred to by name in the
     * :ref:`CommonTlsContext.CertificateProviderInstance.instance_name
     * <envoy_v3_api_field_extensions.transport_sockets.tls.v3.CommonTlsContext.CertificateProviderInstance.instance_name>`
     * field.
     * [#not-implemented-hide:]
     * 
* * map<string, .envoy.config.core.v3.TypedExtensionConfig> certificate_provider_instances = 25; */ @java.lang.Override public /* nullable */ io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig getCertificateProviderInstancesOrDefault( java.lang.String key, /* nullable */ io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMutableCertificateProviderInstances().ensureBuilderMap(); return map.containsKey(key) ? certificateProviderInstancesConverter.build(map.get(key)) : defaultValue; } /** *
     * Global map of CertificateProvider instances. These instances are referred to by name in the
     * :ref:`CommonTlsContext.CertificateProviderInstance.instance_name
     * <envoy_v3_api_field_extensions.transport_sockets.tls.v3.CommonTlsContext.CertificateProviderInstance.instance_name>`
     * field.
     * [#not-implemented-hide:]
     * 
* * map<string, .envoy.config.core.v3.TypedExtensionConfig> certificate_provider_instances = 25; */ @java.lang.Override public io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig getCertificateProviderInstancesOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetMutableCertificateProviderInstances().ensureBuilderMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return certificateProviderInstancesConverter.build(map.get(key)); } public Builder clearCertificateProviderInstances() { bitField0_ = (bitField0_ & ~0x20000000); internalGetMutableCertificateProviderInstances().clear(); return this; } /** *
     * Global map of CertificateProvider instances. These instances are referred to by name in the
     * :ref:`CommonTlsContext.CertificateProviderInstance.instance_name
     * <envoy_v3_api_field_extensions.transport_sockets.tls.v3.CommonTlsContext.CertificateProviderInstance.instance_name>`
     * field.
     * [#not-implemented-hide:]
     * 
* * map<string, .envoy.config.core.v3.TypedExtensionConfig> certificate_provider_instances = 25; */ public Builder removeCertificateProviderInstances( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableCertificateProviderInstances().ensureBuilderMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableCertificateProviderInstances() { bitField0_ |= 0x20000000; return internalGetMutableCertificateProviderInstances().ensureMessageMap(); } /** *
     * Global map of CertificateProvider instances. These instances are referred to by name in the
     * :ref:`CommonTlsContext.CertificateProviderInstance.instance_name
     * <envoy_v3_api_field_extensions.transport_sockets.tls.v3.CommonTlsContext.CertificateProviderInstance.instance_name>`
     * field.
     * [#not-implemented-hide:]
     * 
* * map<string, .envoy.config.core.v3.TypedExtensionConfig> certificate_provider_instances = 25; */ public Builder putCertificateProviderInstances( java.lang.String key, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableCertificateProviderInstances().ensureBuilderMap() .put(key, value); bitField0_ |= 0x20000000; return this; } /** *
     * Global map of CertificateProvider instances. These instances are referred to by name in the
     * :ref:`CommonTlsContext.CertificateProviderInstance.instance_name
     * <envoy_v3_api_field_extensions.transport_sockets.tls.v3.CommonTlsContext.CertificateProviderInstance.instance_name>`
     * field.
     * [#not-implemented-hide:]
     * 
* * map<string, .envoy.config.core.v3.TypedExtensionConfig> certificate_provider_instances = 25; */ public Builder putAllCertificateProviderInstances( java.util.Map values) { for (java.util.Map.Entry e : values.entrySet()) { if (e.getKey() == null || e.getValue() == null) { throw new NullPointerException(); } } internalGetMutableCertificateProviderInstances().ensureBuilderMap() .putAll(values); bitField0_ |= 0x20000000; return this; } /** *
     * Global map of CertificateProvider instances. These instances are referred to by name in the
     * :ref:`CommonTlsContext.CertificateProviderInstance.instance_name
     * <envoy_v3_api_field_extensions.transport_sockets.tls.v3.CommonTlsContext.CertificateProviderInstance.instance_name>`
     * field.
     * [#not-implemented-hide:]
     * 
* * map<string, .envoy.config.core.v3.TypedExtensionConfig> certificate_provider_instances = 25; */ public io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.Builder putCertificateProviderInstancesBuilderIfAbsent( java.lang.String key) { java.util.Map builderMap = internalGetMutableCertificateProviderInstances().ensureBuilderMap(); io.envoyproxy.envoy.config.core.v3.TypedExtensionConfigOrBuilder entry = builderMap.get(key); if (entry == null) { entry = io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.newBuilder(); builderMap.put(key, entry); } if (entry instanceof io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig) { entry = ((io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig) entry).toBuilder(); builderMap.put(key, entry); } return (io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.Builder) entry; } private java.util.List inlineHeaders_ = java.util.Collections.emptyList(); private void ensureInlineHeadersIsMutable() { if (!((bitField0_ & 0x40000000) != 0)) { inlineHeaders_ = new java.util.ArrayList(inlineHeaders_); bitField0_ |= 0x40000000; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.CustomInlineHeader, io.envoyproxy.envoy.config.bootstrap.v3.CustomInlineHeader.Builder, io.envoyproxy.envoy.config.bootstrap.v3.CustomInlineHeaderOrBuilder> inlineHeadersBuilder_; /** *
     * Specifies a set of headers that need to be registered as inline header. This configuration
     * allows users to customize the inline headers on-demand at Envoy startup without modifying
     * Envoy's source code.
     *
     * Note that the 'set-cookie' header cannot be registered as inline header.
     * 
* * repeated .envoy.config.bootstrap.v3.CustomInlineHeader inline_headers = 32; */ public java.util.List getInlineHeadersList() { if (inlineHeadersBuilder_ == null) { return java.util.Collections.unmodifiableList(inlineHeaders_); } else { return inlineHeadersBuilder_.getMessageList(); } } /** *
     * Specifies a set of headers that need to be registered as inline header. This configuration
     * allows users to customize the inline headers on-demand at Envoy startup without modifying
     * Envoy's source code.
     *
     * Note that the 'set-cookie' header cannot be registered as inline header.
     * 
* * repeated .envoy.config.bootstrap.v3.CustomInlineHeader inline_headers = 32; */ public int getInlineHeadersCount() { if (inlineHeadersBuilder_ == null) { return inlineHeaders_.size(); } else { return inlineHeadersBuilder_.getCount(); } } /** *
     * Specifies a set of headers that need to be registered as inline header. This configuration
     * allows users to customize the inline headers on-demand at Envoy startup without modifying
     * Envoy's source code.
     *
     * Note that the 'set-cookie' header cannot be registered as inline header.
     * 
* * repeated .envoy.config.bootstrap.v3.CustomInlineHeader inline_headers = 32; */ public io.envoyproxy.envoy.config.bootstrap.v3.CustomInlineHeader getInlineHeaders(int index) { if (inlineHeadersBuilder_ == null) { return inlineHeaders_.get(index); } else { return inlineHeadersBuilder_.getMessage(index); } } /** *
     * Specifies a set of headers that need to be registered as inline header. This configuration
     * allows users to customize the inline headers on-demand at Envoy startup without modifying
     * Envoy's source code.
     *
     * Note that the 'set-cookie' header cannot be registered as inline header.
     * 
* * repeated .envoy.config.bootstrap.v3.CustomInlineHeader inline_headers = 32; */ public Builder setInlineHeaders( int index, io.envoyproxy.envoy.config.bootstrap.v3.CustomInlineHeader value) { if (inlineHeadersBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureInlineHeadersIsMutable(); inlineHeaders_.set(index, value); onChanged(); } else { inlineHeadersBuilder_.setMessage(index, value); } return this; } /** *
     * Specifies a set of headers that need to be registered as inline header. This configuration
     * allows users to customize the inline headers on-demand at Envoy startup without modifying
     * Envoy's source code.
     *
     * Note that the 'set-cookie' header cannot be registered as inline header.
     * 
* * repeated .envoy.config.bootstrap.v3.CustomInlineHeader inline_headers = 32; */ public Builder setInlineHeaders( int index, io.envoyproxy.envoy.config.bootstrap.v3.CustomInlineHeader.Builder builderForValue) { if (inlineHeadersBuilder_ == null) { ensureInlineHeadersIsMutable(); inlineHeaders_.set(index, builderForValue.build()); onChanged(); } else { inlineHeadersBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     * Specifies a set of headers that need to be registered as inline header. This configuration
     * allows users to customize the inline headers on-demand at Envoy startup without modifying
     * Envoy's source code.
     *
     * Note that the 'set-cookie' header cannot be registered as inline header.
     * 
* * repeated .envoy.config.bootstrap.v3.CustomInlineHeader inline_headers = 32; */ public Builder addInlineHeaders(io.envoyproxy.envoy.config.bootstrap.v3.CustomInlineHeader value) { if (inlineHeadersBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureInlineHeadersIsMutable(); inlineHeaders_.add(value); onChanged(); } else { inlineHeadersBuilder_.addMessage(value); } return this; } /** *
     * Specifies a set of headers that need to be registered as inline header. This configuration
     * allows users to customize the inline headers on-demand at Envoy startup without modifying
     * Envoy's source code.
     *
     * Note that the 'set-cookie' header cannot be registered as inline header.
     * 
* * repeated .envoy.config.bootstrap.v3.CustomInlineHeader inline_headers = 32; */ public Builder addInlineHeaders( int index, io.envoyproxy.envoy.config.bootstrap.v3.CustomInlineHeader value) { if (inlineHeadersBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureInlineHeadersIsMutable(); inlineHeaders_.add(index, value); onChanged(); } else { inlineHeadersBuilder_.addMessage(index, value); } return this; } /** *
     * Specifies a set of headers that need to be registered as inline header. This configuration
     * allows users to customize the inline headers on-demand at Envoy startup without modifying
     * Envoy's source code.
     *
     * Note that the 'set-cookie' header cannot be registered as inline header.
     * 
* * repeated .envoy.config.bootstrap.v3.CustomInlineHeader inline_headers = 32; */ public Builder addInlineHeaders( io.envoyproxy.envoy.config.bootstrap.v3.CustomInlineHeader.Builder builderForValue) { if (inlineHeadersBuilder_ == null) { ensureInlineHeadersIsMutable(); inlineHeaders_.add(builderForValue.build()); onChanged(); } else { inlineHeadersBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     * Specifies a set of headers that need to be registered as inline header. This configuration
     * allows users to customize the inline headers on-demand at Envoy startup without modifying
     * Envoy's source code.
     *
     * Note that the 'set-cookie' header cannot be registered as inline header.
     * 
* * repeated .envoy.config.bootstrap.v3.CustomInlineHeader inline_headers = 32; */ public Builder addInlineHeaders( int index, io.envoyproxy.envoy.config.bootstrap.v3.CustomInlineHeader.Builder builderForValue) { if (inlineHeadersBuilder_ == null) { ensureInlineHeadersIsMutable(); inlineHeaders_.add(index, builderForValue.build()); onChanged(); } else { inlineHeadersBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     * Specifies a set of headers that need to be registered as inline header. This configuration
     * allows users to customize the inline headers on-demand at Envoy startup without modifying
     * Envoy's source code.
     *
     * Note that the 'set-cookie' header cannot be registered as inline header.
     * 
* * repeated .envoy.config.bootstrap.v3.CustomInlineHeader inline_headers = 32; */ public Builder addAllInlineHeaders( java.lang.Iterable values) { if (inlineHeadersBuilder_ == null) { ensureInlineHeadersIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, inlineHeaders_); onChanged(); } else { inlineHeadersBuilder_.addAllMessages(values); } return this; } /** *
     * Specifies a set of headers that need to be registered as inline header. This configuration
     * allows users to customize the inline headers on-demand at Envoy startup without modifying
     * Envoy's source code.
     *
     * Note that the 'set-cookie' header cannot be registered as inline header.
     * 
* * repeated .envoy.config.bootstrap.v3.CustomInlineHeader inline_headers = 32; */ public Builder clearInlineHeaders() { if (inlineHeadersBuilder_ == null) { inlineHeaders_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x40000000); onChanged(); } else { inlineHeadersBuilder_.clear(); } return this; } /** *
     * Specifies a set of headers that need to be registered as inline header. This configuration
     * allows users to customize the inline headers on-demand at Envoy startup without modifying
     * Envoy's source code.
     *
     * Note that the 'set-cookie' header cannot be registered as inline header.
     * 
* * repeated .envoy.config.bootstrap.v3.CustomInlineHeader inline_headers = 32; */ public Builder removeInlineHeaders(int index) { if (inlineHeadersBuilder_ == null) { ensureInlineHeadersIsMutable(); inlineHeaders_.remove(index); onChanged(); } else { inlineHeadersBuilder_.remove(index); } return this; } /** *
     * Specifies a set of headers that need to be registered as inline header. This configuration
     * allows users to customize the inline headers on-demand at Envoy startup without modifying
     * Envoy's source code.
     *
     * Note that the 'set-cookie' header cannot be registered as inline header.
     * 
* * repeated .envoy.config.bootstrap.v3.CustomInlineHeader inline_headers = 32; */ public io.envoyproxy.envoy.config.bootstrap.v3.CustomInlineHeader.Builder getInlineHeadersBuilder( int index) { return getInlineHeadersFieldBuilder().getBuilder(index); } /** *
     * Specifies a set of headers that need to be registered as inline header. This configuration
     * allows users to customize the inline headers on-demand at Envoy startup without modifying
     * Envoy's source code.
     *
     * Note that the 'set-cookie' header cannot be registered as inline header.
     * 
* * repeated .envoy.config.bootstrap.v3.CustomInlineHeader inline_headers = 32; */ public io.envoyproxy.envoy.config.bootstrap.v3.CustomInlineHeaderOrBuilder getInlineHeadersOrBuilder( int index) { if (inlineHeadersBuilder_ == null) { return inlineHeaders_.get(index); } else { return inlineHeadersBuilder_.getMessageOrBuilder(index); } } /** *
     * Specifies a set of headers that need to be registered as inline header. This configuration
     * allows users to customize the inline headers on-demand at Envoy startup without modifying
     * Envoy's source code.
     *
     * Note that the 'set-cookie' header cannot be registered as inline header.
     * 
* * repeated .envoy.config.bootstrap.v3.CustomInlineHeader inline_headers = 32; */ public java.util.List getInlineHeadersOrBuilderList() { if (inlineHeadersBuilder_ != null) { return inlineHeadersBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(inlineHeaders_); } } /** *
     * Specifies a set of headers that need to be registered as inline header. This configuration
     * allows users to customize the inline headers on-demand at Envoy startup without modifying
     * Envoy's source code.
     *
     * Note that the 'set-cookie' header cannot be registered as inline header.
     * 
* * repeated .envoy.config.bootstrap.v3.CustomInlineHeader inline_headers = 32; */ public io.envoyproxy.envoy.config.bootstrap.v3.CustomInlineHeader.Builder addInlineHeadersBuilder() { return getInlineHeadersFieldBuilder().addBuilder( io.envoyproxy.envoy.config.bootstrap.v3.CustomInlineHeader.getDefaultInstance()); } /** *
     * Specifies a set of headers that need to be registered as inline header. This configuration
     * allows users to customize the inline headers on-demand at Envoy startup without modifying
     * Envoy's source code.
     *
     * Note that the 'set-cookie' header cannot be registered as inline header.
     * 
* * repeated .envoy.config.bootstrap.v3.CustomInlineHeader inline_headers = 32; */ public io.envoyproxy.envoy.config.bootstrap.v3.CustomInlineHeader.Builder addInlineHeadersBuilder( int index) { return getInlineHeadersFieldBuilder().addBuilder( index, io.envoyproxy.envoy.config.bootstrap.v3.CustomInlineHeader.getDefaultInstance()); } /** *
     * Specifies a set of headers that need to be registered as inline header. This configuration
     * allows users to customize the inline headers on-demand at Envoy startup without modifying
     * Envoy's source code.
     *
     * Note that the 'set-cookie' header cannot be registered as inline header.
     * 
* * repeated .envoy.config.bootstrap.v3.CustomInlineHeader inline_headers = 32; */ public java.util.List getInlineHeadersBuilderList() { return getInlineHeadersFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.CustomInlineHeader, io.envoyproxy.envoy.config.bootstrap.v3.CustomInlineHeader.Builder, io.envoyproxy.envoy.config.bootstrap.v3.CustomInlineHeaderOrBuilder> getInlineHeadersFieldBuilder() { if (inlineHeadersBuilder_ == null) { inlineHeadersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.CustomInlineHeader, io.envoyproxy.envoy.config.bootstrap.v3.CustomInlineHeader.Builder, io.envoyproxy.envoy.config.bootstrap.v3.CustomInlineHeaderOrBuilder>( inlineHeaders_, ((bitField0_ & 0x40000000) != 0), getParentForChildren(), isClean()); inlineHeaders_ = null; } return inlineHeadersBuilder_; } private java.lang.Object perfTracingFilePath_ = ""; /** *
     * Optional path to a file with performance tracing data created by "Perfetto" SDK in binary
     * ProtoBuf format. The default value is "envoy.pftrace".
     * 
* * string perf_tracing_file_path = 33; * @return The perfTracingFilePath. */ public java.lang.String getPerfTracingFilePath() { java.lang.Object ref = perfTracingFilePath_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); perfTracingFilePath_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * Optional path to a file with performance tracing data created by "Perfetto" SDK in binary
     * ProtoBuf format. The default value is "envoy.pftrace".
     * 
* * string perf_tracing_file_path = 33; * @return The bytes for perfTracingFilePath. */ public com.google.protobuf.ByteString getPerfTracingFilePathBytes() { java.lang.Object ref = perfTracingFilePath_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); perfTracingFilePath_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * Optional path to a file with performance tracing data created by "Perfetto" SDK in binary
     * ProtoBuf format. The default value is "envoy.pftrace".
     * 
* * string perf_tracing_file_path = 33; * @param value The perfTracingFilePath to set. * @return This builder for chaining. */ public Builder setPerfTracingFilePath( java.lang.String value) { if (value == null) { throw new NullPointerException(); } perfTracingFilePath_ = value; bitField0_ |= 0x80000000; onChanged(); return this; } /** *
     * Optional path to a file with performance tracing data created by "Perfetto" SDK in binary
     * ProtoBuf format. The default value is "envoy.pftrace".
     * 
* * string perf_tracing_file_path = 33; * @return This builder for chaining. */ public Builder clearPerfTracingFilePath() { perfTracingFilePath_ = getDefaultInstance().getPerfTracingFilePath(); bitField0_ = (bitField0_ & ~0x80000000); onChanged(); return this; } /** *
     * Optional path to a file with performance tracing data created by "Perfetto" SDK in binary
     * ProtoBuf format. The default value is "envoy.pftrace".
     * 
* * string perf_tracing_file_path = 33; * @param value The bytes for perfTracingFilePath to set. * @return This builder for chaining. */ public Builder setPerfTracingFilePathBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); perfTracingFilePath_ = value; bitField0_ |= 0x80000000; onChanged(); return this; } private io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig defaultRegexEngine_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.Builder, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfigOrBuilder> defaultRegexEngineBuilder_; /** *
     * Optional overriding of default regex engine.
     * If the value is not specified, Google RE2 will be used by default.
     * [#extension-category: envoy.regex_engines]
     * 
* * .envoy.config.core.v3.TypedExtensionConfig default_regex_engine = 34; * @return Whether the defaultRegexEngine field is set. */ public boolean hasDefaultRegexEngine() { return ((bitField1_ & 0x00000001) != 0); } /** *
     * Optional overriding of default regex engine.
     * If the value is not specified, Google RE2 will be used by default.
     * [#extension-category: envoy.regex_engines]
     * 
* * .envoy.config.core.v3.TypedExtensionConfig default_regex_engine = 34; * @return The defaultRegexEngine. */ public io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig getDefaultRegexEngine() { if (defaultRegexEngineBuilder_ == null) { return defaultRegexEngine_ == null ? io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.getDefaultInstance() : defaultRegexEngine_; } else { return defaultRegexEngineBuilder_.getMessage(); } } /** *
     * Optional overriding of default regex engine.
     * If the value is not specified, Google RE2 will be used by default.
     * [#extension-category: envoy.regex_engines]
     * 
* * .envoy.config.core.v3.TypedExtensionConfig default_regex_engine = 34; */ public Builder setDefaultRegexEngine(io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig value) { if (defaultRegexEngineBuilder_ == null) { if (value == null) { throw new NullPointerException(); } defaultRegexEngine_ = value; } else { defaultRegexEngineBuilder_.setMessage(value); } bitField1_ |= 0x00000001; onChanged(); return this; } /** *
     * Optional overriding of default regex engine.
     * If the value is not specified, Google RE2 will be used by default.
     * [#extension-category: envoy.regex_engines]
     * 
* * .envoy.config.core.v3.TypedExtensionConfig default_regex_engine = 34; */ public Builder setDefaultRegexEngine( io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.Builder builderForValue) { if (defaultRegexEngineBuilder_ == null) { defaultRegexEngine_ = builderForValue.build(); } else { defaultRegexEngineBuilder_.setMessage(builderForValue.build()); } bitField1_ |= 0x00000001; onChanged(); return this; } /** *
     * Optional overriding of default regex engine.
     * If the value is not specified, Google RE2 will be used by default.
     * [#extension-category: envoy.regex_engines]
     * 
* * .envoy.config.core.v3.TypedExtensionConfig default_regex_engine = 34; */ public Builder mergeDefaultRegexEngine(io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig value) { if (defaultRegexEngineBuilder_ == null) { if (((bitField1_ & 0x00000001) != 0) && defaultRegexEngine_ != null && defaultRegexEngine_ != io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.getDefaultInstance()) { getDefaultRegexEngineBuilder().mergeFrom(value); } else { defaultRegexEngine_ = value; } } else { defaultRegexEngineBuilder_.mergeFrom(value); } if (defaultRegexEngine_ != null) { bitField1_ |= 0x00000001; onChanged(); } return this; } /** *
     * Optional overriding of default regex engine.
     * If the value is not specified, Google RE2 will be used by default.
     * [#extension-category: envoy.regex_engines]
     * 
* * .envoy.config.core.v3.TypedExtensionConfig default_regex_engine = 34; */ public Builder clearDefaultRegexEngine() { bitField1_ = (bitField1_ & ~0x00000001); defaultRegexEngine_ = null; if (defaultRegexEngineBuilder_ != null) { defaultRegexEngineBuilder_.dispose(); defaultRegexEngineBuilder_ = null; } onChanged(); return this; } /** *
     * Optional overriding of default regex engine.
     * If the value is not specified, Google RE2 will be used by default.
     * [#extension-category: envoy.regex_engines]
     * 
* * .envoy.config.core.v3.TypedExtensionConfig default_regex_engine = 34; */ public io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.Builder getDefaultRegexEngineBuilder() { bitField1_ |= 0x00000001; onChanged(); return getDefaultRegexEngineFieldBuilder().getBuilder(); } /** *
     * Optional overriding of default regex engine.
     * If the value is not specified, Google RE2 will be used by default.
     * [#extension-category: envoy.regex_engines]
     * 
* * .envoy.config.core.v3.TypedExtensionConfig default_regex_engine = 34; */ public io.envoyproxy.envoy.config.core.v3.TypedExtensionConfigOrBuilder getDefaultRegexEngineOrBuilder() { if (defaultRegexEngineBuilder_ != null) { return defaultRegexEngineBuilder_.getMessageOrBuilder(); } else { return defaultRegexEngine_ == null ? io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.getDefaultInstance() : defaultRegexEngine_; } } /** *
     * Optional overriding of default regex engine.
     * If the value is not specified, Google RE2 will be used by default.
     * [#extension-category: envoy.regex_engines]
     * 
* * .envoy.config.core.v3.TypedExtensionConfig default_regex_engine = 34; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.Builder, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfigOrBuilder> getDefaultRegexEngineFieldBuilder() { if (defaultRegexEngineBuilder_ == null) { defaultRegexEngineBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.Builder, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfigOrBuilder>( getDefaultRegexEngine(), getParentForChildren(), isClean()); defaultRegexEngine_ = null; } return defaultRegexEngineBuilder_; } private io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig xdsDelegateExtension_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.Builder, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfigOrBuilder> xdsDelegateExtensionBuilder_; /** *
     * Optional XdsResourcesDelegate configuration, which allows plugging custom logic into both
     * fetch and load events during xDS processing.
     * If a value is not specified, no XdsResourcesDelegate will be used.
     * TODO(abeyad): Add public-facing documentation.
     * [#not-implemented-hide:]
     * 
* * .envoy.config.core.v3.TypedExtensionConfig xds_delegate_extension = 35; * @return Whether the xdsDelegateExtension field is set. */ public boolean hasXdsDelegateExtension() { return ((bitField1_ & 0x00000002) != 0); } /** *
     * Optional XdsResourcesDelegate configuration, which allows plugging custom logic into both
     * fetch and load events during xDS processing.
     * If a value is not specified, no XdsResourcesDelegate will be used.
     * TODO(abeyad): Add public-facing documentation.
     * [#not-implemented-hide:]
     * 
* * .envoy.config.core.v3.TypedExtensionConfig xds_delegate_extension = 35; * @return The xdsDelegateExtension. */ public io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig getXdsDelegateExtension() { if (xdsDelegateExtensionBuilder_ == null) { return xdsDelegateExtension_ == null ? io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.getDefaultInstance() : xdsDelegateExtension_; } else { return xdsDelegateExtensionBuilder_.getMessage(); } } /** *
     * Optional XdsResourcesDelegate configuration, which allows plugging custom logic into both
     * fetch and load events during xDS processing.
     * If a value is not specified, no XdsResourcesDelegate will be used.
     * TODO(abeyad): Add public-facing documentation.
     * [#not-implemented-hide:]
     * 
* * .envoy.config.core.v3.TypedExtensionConfig xds_delegate_extension = 35; */ public Builder setXdsDelegateExtension(io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig value) { if (xdsDelegateExtensionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } xdsDelegateExtension_ = value; } else { xdsDelegateExtensionBuilder_.setMessage(value); } bitField1_ |= 0x00000002; onChanged(); return this; } /** *
     * Optional XdsResourcesDelegate configuration, which allows plugging custom logic into both
     * fetch and load events during xDS processing.
     * If a value is not specified, no XdsResourcesDelegate will be used.
     * TODO(abeyad): Add public-facing documentation.
     * [#not-implemented-hide:]
     * 
* * .envoy.config.core.v3.TypedExtensionConfig xds_delegate_extension = 35; */ public Builder setXdsDelegateExtension( io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.Builder builderForValue) { if (xdsDelegateExtensionBuilder_ == null) { xdsDelegateExtension_ = builderForValue.build(); } else { xdsDelegateExtensionBuilder_.setMessage(builderForValue.build()); } bitField1_ |= 0x00000002; onChanged(); return this; } /** *
     * Optional XdsResourcesDelegate configuration, which allows plugging custom logic into both
     * fetch and load events during xDS processing.
     * If a value is not specified, no XdsResourcesDelegate will be used.
     * TODO(abeyad): Add public-facing documentation.
     * [#not-implemented-hide:]
     * 
* * .envoy.config.core.v3.TypedExtensionConfig xds_delegate_extension = 35; */ public Builder mergeXdsDelegateExtension(io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig value) { if (xdsDelegateExtensionBuilder_ == null) { if (((bitField1_ & 0x00000002) != 0) && xdsDelegateExtension_ != null && xdsDelegateExtension_ != io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.getDefaultInstance()) { getXdsDelegateExtensionBuilder().mergeFrom(value); } else { xdsDelegateExtension_ = value; } } else { xdsDelegateExtensionBuilder_.mergeFrom(value); } if (xdsDelegateExtension_ != null) { bitField1_ |= 0x00000002; onChanged(); } return this; } /** *
     * Optional XdsResourcesDelegate configuration, which allows plugging custom logic into both
     * fetch and load events during xDS processing.
     * If a value is not specified, no XdsResourcesDelegate will be used.
     * TODO(abeyad): Add public-facing documentation.
     * [#not-implemented-hide:]
     * 
* * .envoy.config.core.v3.TypedExtensionConfig xds_delegate_extension = 35; */ public Builder clearXdsDelegateExtension() { bitField1_ = (bitField1_ & ~0x00000002); xdsDelegateExtension_ = null; if (xdsDelegateExtensionBuilder_ != null) { xdsDelegateExtensionBuilder_.dispose(); xdsDelegateExtensionBuilder_ = null; } onChanged(); return this; } /** *
     * Optional XdsResourcesDelegate configuration, which allows plugging custom logic into both
     * fetch and load events during xDS processing.
     * If a value is not specified, no XdsResourcesDelegate will be used.
     * TODO(abeyad): Add public-facing documentation.
     * [#not-implemented-hide:]
     * 
* * .envoy.config.core.v3.TypedExtensionConfig xds_delegate_extension = 35; */ public io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.Builder getXdsDelegateExtensionBuilder() { bitField1_ |= 0x00000002; onChanged(); return getXdsDelegateExtensionFieldBuilder().getBuilder(); } /** *
     * Optional XdsResourcesDelegate configuration, which allows plugging custom logic into both
     * fetch and load events during xDS processing.
     * If a value is not specified, no XdsResourcesDelegate will be used.
     * TODO(abeyad): Add public-facing documentation.
     * [#not-implemented-hide:]
     * 
* * .envoy.config.core.v3.TypedExtensionConfig xds_delegate_extension = 35; */ public io.envoyproxy.envoy.config.core.v3.TypedExtensionConfigOrBuilder getXdsDelegateExtensionOrBuilder() { if (xdsDelegateExtensionBuilder_ != null) { return xdsDelegateExtensionBuilder_.getMessageOrBuilder(); } else { return xdsDelegateExtension_ == null ? io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.getDefaultInstance() : xdsDelegateExtension_; } } /** *
     * Optional XdsResourcesDelegate configuration, which allows plugging custom logic into both
     * fetch and load events during xDS processing.
     * If a value is not specified, no XdsResourcesDelegate will be used.
     * TODO(abeyad): Add public-facing documentation.
     * [#not-implemented-hide:]
     * 
* * .envoy.config.core.v3.TypedExtensionConfig xds_delegate_extension = 35; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.Builder, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfigOrBuilder> getXdsDelegateExtensionFieldBuilder() { if (xdsDelegateExtensionBuilder_ == null) { xdsDelegateExtensionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.Builder, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfigOrBuilder>( getXdsDelegateExtension(), getParentForChildren(), isClean()); xdsDelegateExtension_ = null; } return xdsDelegateExtensionBuilder_; } private io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig xdsConfigTrackerExtension_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.Builder, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfigOrBuilder> xdsConfigTrackerExtensionBuilder_; /** *
     * Optional XdsConfigTracker configuration, which allows tracking xDS responses in external components,
     * e.g., external tracer or monitor. It provides the process point when receive, ingest, or fail to
     * process xDS resources and messages. If a value is not specified, no XdsConfigTracker will be used.
     *
     * .. note::
     *
     *    There are no in-repo extensions currently, and the :repo:`XdsConfigTracker <envoy/config/xds_config_tracker.h>`
     *    interface should be implemented before using.
     *    See :repo:`xds_config_tracker_integration_test <test/integration/xds_config_tracker_integration_test.cc>`
     *    for an example usage of the interface.
     * 
* * .envoy.config.core.v3.TypedExtensionConfig xds_config_tracker_extension = 36; * @return Whether the xdsConfigTrackerExtension field is set. */ public boolean hasXdsConfigTrackerExtension() { return ((bitField1_ & 0x00000004) != 0); } /** *
     * Optional XdsConfigTracker configuration, which allows tracking xDS responses in external components,
     * e.g., external tracer or monitor. It provides the process point when receive, ingest, or fail to
     * process xDS resources and messages. If a value is not specified, no XdsConfigTracker will be used.
     *
     * .. note::
     *
     *    There are no in-repo extensions currently, and the :repo:`XdsConfigTracker <envoy/config/xds_config_tracker.h>`
     *    interface should be implemented before using.
     *    See :repo:`xds_config_tracker_integration_test <test/integration/xds_config_tracker_integration_test.cc>`
     *    for an example usage of the interface.
     * 
* * .envoy.config.core.v3.TypedExtensionConfig xds_config_tracker_extension = 36; * @return The xdsConfigTrackerExtension. */ public io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig getXdsConfigTrackerExtension() { if (xdsConfigTrackerExtensionBuilder_ == null) { return xdsConfigTrackerExtension_ == null ? io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.getDefaultInstance() : xdsConfigTrackerExtension_; } else { return xdsConfigTrackerExtensionBuilder_.getMessage(); } } /** *
     * Optional XdsConfigTracker configuration, which allows tracking xDS responses in external components,
     * e.g., external tracer or monitor. It provides the process point when receive, ingest, or fail to
     * process xDS resources and messages. If a value is not specified, no XdsConfigTracker will be used.
     *
     * .. note::
     *
     *    There are no in-repo extensions currently, and the :repo:`XdsConfigTracker <envoy/config/xds_config_tracker.h>`
     *    interface should be implemented before using.
     *    See :repo:`xds_config_tracker_integration_test <test/integration/xds_config_tracker_integration_test.cc>`
     *    for an example usage of the interface.
     * 
* * .envoy.config.core.v3.TypedExtensionConfig xds_config_tracker_extension = 36; */ public Builder setXdsConfigTrackerExtension(io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig value) { if (xdsConfigTrackerExtensionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } xdsConfigTrackerExtension_ = value; } else { xdsConfigTrackerExtensionBuilder_.setMessage(value); } bitField1_ |= 0x00000004; onChanged(); return this; } /** *
     * Optional XdsConfigTracker configuration, which allows tracking xDS responses in external components,
     * e.g., external tracer or monitor. It provides the process point when receive, ingest, or fail to
     * process xDS resources and messages. If a value is not specified, no XdsConfigTracker will be used.
     *
     * .. note::
     *
     *    There are no in-repo extensions currently, and the :repo:`XdsConfigTracker <envoy/config/xds_config_tracker.h>`
     *    interface should be implemented before using.
     *    See :repo:`xds_config_tracker_integration_test <test/integration/xds_config_tracker_integration_test.cc>`
     *    for an example usage of the interface.
     * 
* * .envoy.config.core.v3.TypedExtensionConfig xds_config_tracker_extension = 36; */ public Builder setXdsConfigTrackerExtension( io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.Builder builderForValue) { if (xdsConfigTrackerExtensionBuilder_ == null) { xdsConfigTrackerExtension_ = builderForValue.build(); } else { xdsConfigTrackerExtensionBuilder_.setMessage(builderForValue.build()); } bitField1_ |= 0x00000004; onChanged(); return this; } /** *
     * Optional XdsConfigTracker configuration, which allows tracking xDS responses in external components,
     * e.g., external tracer or monitor. It provides the process point when receive, ingest, or fail to
     * process xDS resources and messages. If a value is not specified, no XdsConfigTracker will be used.
     *
     * .. note::
     *
     *    There are no in-repo extensions currently, and the :repo:`XdsConfigTracker <envoy/config/xds_config_tracker.h>`
     *    interface should be implemented before using.
     *    See :repo:`xds_config_tracker_integration_test <test/integration/xds_config_tracker_integration_test.cc>`
     *    for an example usage of the interface.
     * 
* * .envoy.config.core.v3.TypedExtensionConfig xds_config_tracker_extension = 36; */ public Builder mergeXdsConfigTrackerExtension(io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig value) { if (xdsConfigTrackerExtensionBuilder_ == null) { if (((bitField1_ & 0x00000004) != 0) && xdsConfigTrackerExtension_ != null && xdsConfigTrackerExtension_ != io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.getDefaultInstance()) { getXdsConfigTrackerExtensionBuilder().mergeFrom(value); } else { xdsConfigTrackerExtension_ = value; } } else { xdsConfigTrackerExtensionBuilder_.mergeFrom(value); } if (xdsConfigTrackerExtension_ != null) { bitField1_ |= 0x00000004; onChanged(); } return this; } /** *
     * Optional XdsConfigTracker configuration, which allows tracking xDS responses in external components,
     * e.g., external tracer or monitor. It provides the process point when receive, ingest, or fail to
     * process xDS resources and messages. If a value is not specified, no XdsConfigTracker will be used.
     *
     * .. note::
     *
     *    There are no in-repo extensions currently, and the :repo:`XdsConfigTracker <envoy/config/xds_config_tracker.h>`
     *    interface should be implemented before using.
     *    See :repo:`xds_config_tracker_integration_test <test/integration/xds_config_tracker_integration_test.cc>`
     *    for an example usage of the interface.
     * 
* * .envoy.config.core.v3.TypedExtensionConfig xds_config_tracker_extension = 36; */ public Builder clearXdsConfigTrackerExtension() { bitField1_ = (bitField1_ & ~0x00000004); xdsConfigTrackerExtension_ = null; if (xdsConfigTrackerExtensionBuilder_ != null) { xdsConfigTrackerExtensionBuilder_.dispose(); xdsConfigTrackerExtensionBuilder_ = null; } onChanged(); return this; } /** *
     * Optional XdsConfigTracker configuration, which allows tracking xDS responses in external components,
     * e.g., external tracer or monitor. It provides the process point when receive, ingest, or fail to
     * process xDS resources and messages. If a value is not specified, no XdsConfigTracker will be used.
     *
     * .. note::
     *
     *    There are no in-repo extensions currently, and the :repo:`XdsConfigTracker <envoy/config/xds_config_tracker.h>`
     *    interface should be implemented before using.
     *    See :repo:`xds_config_tracker_integration_test <test/integration/xds_config_tracker_integration_test.cc>`
     *    for an example usage of the interface.
     * 
* * .envoy.config.core.v3.TypedExtensionConfig xds_config_tracker_extension = 36; */ public io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.Builder getXdsConfigTrackerExtensionBuilder() { bitField1_ |= 0x00000004; onChanged(); return getXdsConfigTrackerExtensionFieldBuilder().getBuilder(); } /** *
     * Optional XdsConfigTracker configuration, which allows tracking xDS responses in external components,
     * e.g., external tracer or monitor. It provides the process point when receive, ingest, or fail to
     * process xDS resources and messages. If a value is not specified, no XdsConfigTracker will be used.
     *
     * .. note::
     *
     *    There are no in-repo extensions currently, and the :repo:`XdsConfigTracker <envoy/config/xds_config_tracker.h>`
     *    interface should be implemented before using.
     *    See :repo:`xds_config_tracker_integration_test <test/integration/xds_config_tracker_integration_test.cc>`
     *    for an example usage of the interface.
     * 
* * .envoy.config.core.v3.TypedExtensionConfig xds_config_tracker_extension = 36; */ public io.envoyproxy.envoy.config.core.v3.TypedExtensionConfigOrBuilder getXdsConfigTrackerExtensionOrBuilder() { if (xdsConfigTrackerExtensionBuilder_ != null) { return xdsConfigTrackerExtensionBuilder_.getMessageOrBuilder(); } else { return xdsConfigTrackerExtension_ == null ? io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.getDefaultInstance() : xdsConfigTrackerExtension_; } } /** *
     * Optional XdsConfigTracker configuration, which allows tracking xDS responses in external components,
     * e.g., external tracer or monitor. It provides the process point when receive, ingest, or fail to
     * process xDS resources and messages. If a value is not specified, no XdsConfigTracker will be used.
     *
     * .. note::
     *
     *    There are no in-repo extensions currently, and the :repo:`XdsConfigTracker <envoy/config/xds_config_tracker.h>`
     *    interface should be implemented before using.
     *    See :repo:`xds_config_tracker_integration_test <test/integration/xds_config_tracker_integration_test.cc>`
     *    for an example usage of the interface.
     * 
* * .envoy.config.core.v3.TypedExtensionConfig xds_config_tracker_extension = 36; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.Builder, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfigOrBuilder> getXdsConfigTrackerExtensionFieldBuilder() { if (xdsConfigTrackerExtensionBuilder_ == null) { xdsConfigTrackerExtensionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.Builder, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfigOrBuilder>( getXdsConfigTrackerExtension(), getParentForChildren(), isClean()); xdsConfigTrackerExtension_ = null; } return xdsConfigTrackerExtensionBuilder_; } private io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig listenerManager_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.Builder, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfigOrBuilder> listenerManagerBuilder_; /** *
     * [#not-implemented-hide:]
     * This controls the type of listener manager configured for Envoy. Currently
     * Envoy only supports ListenerManager for this field and Envoy Mobile
     * supports ApiListenerManager.
     * 
* * .envoy.config.core.v3.TypedExtensionConfig listener_manager = 37; * @return Whether the listenerManager field is set. */ public boolean hasListenerManager() { return ((bitField1_ & 0x00000008) != 0); } /** *
     * [#not-implemented-hide:]
     * This controls the type of listener manager configured for Envoy. Currently
     * Envoy only supports ListenerManager for this field and Envoy Mobile
     * supports ApiListenerManager.
     * 
* * .envoy.config.core.v3.TypedExtensionConfig listener_manager = 37; * @return The listenerManager. */ public io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig getListenerManager() { if (listenerManagerBuilder_ == null) { return listenerManager_ == null ? io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.getDefaultInstance() : listenerManager_; } else { return listenerManagerBuilder_.getMessage(); } } /** *
     * [#not-implemented-hide:]
     * This controls the type of listener manager configured for Envoy. Currently
     * Envoy only supports ListenerManager for this field and Envoy Mobile
     * supports ApiListenerManager.
     * 
* * .envoy.config.core.v3.TypedExtensionConfig listener_manager = 37; */ public Builder setListenerManager(io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig value) { if (listenerManagerBuilder_ == null) { if (value == null) { throw new NullPointerException(); } listenerManager_ = value; } else { listenerManagerBuilder_.setMessage(value); } bitField1_ |= 0x00000008; onChanged(); return this; } /** *
     * [#not-implemented-hide:]
     * This controls the type of listener manager configured for Envoy. Currently
     * Envoy only supports ListenerManager for this field and Envoy Mobile
     * supports ApiListenerManager.
     * 
* * .envoy.config.core.v3.TypedExtensionConfig listener_manager = 37; */ public Builder setListenerManager( io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.Builder builderForValue) { if (listenerManagerBuilder_ == null) { listenerManager_ = builderForValue.build(); } else { listenerManagerBuilder_.setMessage(builderForValue.build()); } bitField1_ |= 0x00000008; onChanged(); return this; } /** *
     * [#not-implemented-hide:]
     * This controls the type of listener manager configured for Envoy. Currently
     * Envoy only supports ListenerManager for this field and Envoy Mobile
     * supports ApiListenerManager.
     * 
* * .envoy.config.core.v3.TypedExtensionConfig listener_manager = 37; */ public Builder mergeListenerManager(io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig value) { if (listenerManagerBuilder_ == null) { if (((bitField1_ & 0x00000008) != 0) && listenerManager_ != null && listenerManager_ != io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.getDefaultInstance()) { getListenerManagerBuilder().mergeFrom(value); } else { listenerManager_ = value; } } else { listenerManagerBuilder_.mergeFrom(value); } if (listenerManager_ != null) { bitField1_ |= 0x00000008; onChanged(); } return this; } /** *
     * [#not-implemented-hide:]
     * This controls the type of listener manager configured for Envoy. Currently
     * Envoy only supports ListenerManager for this field and Envoy Mobile
     * supports ApiListenerManager.
     * 
* * .envoy.config.core.v3.TypedExtensionConfig listener_manager = 37; */ public Builder clearListenerManager() { bitField1_ = (bitField1_ & ~0x00000008); listenerManager_ = null; if (listenerManagerBuilder_ != null) { listenerManagerBuilder_.dispose(); listenerManagerBuilder_ = null; } onChanged(); return this; } /** *
     * [#not-implemented-hide:]
     * This controls the type of listener manager configured for Envoy. Currently
     * Envoy only supports ListenerManager for this field and Envoy Mobile
     * supports ApiListenerManager.
     * 
* * .envoy.config.core.v3.TypedExtensionConfig listener_manager = 37; */ public io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.Builder getListenerManagerBuilder() { bitField1_ |= 0x00000008; onChanged(); return getListenerManagerFieldBuilder().getBuilder(); } /** *
     * [#not-implemented-hide:]
     * This controls the type of listener manager configured for Envoy. Currently
     * Envoy only supports ListenerManager for this field and Envoy Mobile
     * supports ApiListenerManager.
     * 
* * .envoy.config.core.v3.TypedExtensionConfig listener_manager = 37; */ public io.envoyproxy.envoy.config.core.v3.TypedExtensionConfigOrBuilder getListenerManagerOrBuilder() { if (listenerManagerBuilder_ != null) { return listenerManagerBuilder_.getMessageOrBuilder(); } else { return listenerManager_ == null ? io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.getDefaultInstance() : listenerManager_; } } /** *
     * [#not-implemented-hide:]
     * This controls the type of listener manager configured for Envoy. Currently
     * Envoy only supports ListenerManager for this field and Envoy Mobile
     * supports ApiListenerManager.
     * 
* * .envoy.config.core.v3.TypedExtensionConfig listener_manager = 37; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.Builder, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfigOrBuilder> getListenerManagerFieldBuilder() { if (listenerManagerBuilder_ == null) { listenerManagerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfig.Builder, io.envoyproxy.envoy.config.core.v3.TypedExtensionConfigOrBuilder>( getListenerManager(), getParentForChildren(), isClean()); listenerManager_ = null; } return listenerManagerBuilder_; } private io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig applicationLogConfig_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.Builder, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfigOrBuilder> applicationLogConfigBuilder_; /** *
     * Optional application log configuration.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig application_log_config = 38; * @return Whether the applicationLogConfig field is set. */ public boolean hasApplicationLogConfig() { return ((bitField1_ & 0x00000010) != 0); } /** *
     * Optional application log configuration.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig application_log_config = 38; * @return The applicationLogConfig. */ public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig getApplicationLogConfig() { if (applicationLogConfigBuilder_ == null) { return applicationLogConfig_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.getDefaultInstance() : applicationLogConfig_; } else { return applicationLogConfigBuilder_.getMessage(); } } /** *
     * Optional application log configuration.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig application_log_config = 38; */ public Builder setApplicationLogConfig(io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig value) { if (applicationLogConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } applicationLogConfig_ = value; } else { applicationLogConfigBuilder_.setMessage(value); } bitField1_ |= 0x00000010; onChanged(); return this; } /** *
     * Optional application log configuration.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig application_log_config = 38; */ public Builder setApplicationLogConfig( io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.Builder builderForValue) { if (applicationLogConfigBuilder_ == null) { applicationLogConfig_ = builderForValue.build(); } else { applicationLogConfigBuilder_.setMessage(builderForValue.build()); } bitField1_ |= 0x00000010; onChanged(); return this; } /** *
     * Optional application log configuration.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig application_log_config = 38; */ public Builder mergeApplicationLogConfig(io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig value) { if (applicationLogConfigBuilder_ == null) { if (((bitField1_ & 0x00000010) != 0) && applicationLogConfig_ != null && applicationLogConfig_ != io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.getDefaultInstance()) { getApplicationLogConfigBuilder().mergeFrom(value); } else { applicationLogConfig_ = value; } } else { applicationLogConfigBuilder_.mergeFrom(value); } if (applicationLogConfig_ != null) { bitField1_ |= 0x00000010; onChanged(); } return this; } /** *
     * Optional application log configuration.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig application_log_config = 38; */ public Builder clearApplicationLogConfig() { bitField1_ = (bitField1_ & ~0x00000010); applicationLogConfig_ = null; if (applicationLogConfigBuilder_ != null) { applicationLogConfigBuilder_.dispose(); applicationLogConfigBuilder_ = null; } onChanged(); return this; } /** *
     * Optional application log configuration.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig application_log_config = 38; */ public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.Builder getApplicationLogConfigBuilder() { bitField1_ |= 0x00000010; onChanged(); return getApplicationLogConfigFieldBuilder().getBuilder(); } /** *
     * Optional application log configuration.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig application_log_config = 38; */ public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfigOrBuilder getApplicationLogConfigOrBuilder() { if (applicationLogConfigBuilder_ != null) { return applicationLogConfigBuilder_.getMessageOrBuilder(); } else { return applicationLogConfig_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.getDefaultInstance() : applicationLogConfig_; } } /** *
     * Optional application log configuration.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig application_log_config = 38; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.Builder, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfigOrBuilder> getApplicationLogConfigFieldBuilder() { if (applicationLogConfigBuilder_ == null) { applicationLogConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfig.Builder, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.ApplicationLogConfigOrBuilder>( getApplicationLogConfig(), getParentForChildren(), isClean()); applicationLogConfig_ = null; } return applicationLogConfigBuilder_; } private io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig grpcAsyncClientManagerConfig_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig.Builder, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfigOrBuilder> grpcAsyncClientManagerConfigBuilder_; /** *
     * Optional gRPC async manager config.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig grpc_async_client_manager_config = 40; * @return Whether the grpcAsyncClientManagerConfig field is set. */ public boolean hasGrpcAsyncClientManagerConfig() { return ((bitField1_ & 0x00000020) != 0); } /** *
     * Optional gRPC async manager config.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig grpc_async_client_manager_config = 40; * @return The grpcAsyncClientManagerConfig. */ public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig getGrpcAsyncClientManagerConfig() { if (grpcAsyncClientManagerConfigBuilder_ == null) { return grpcAsyncClientManagerConfig_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig.getDefaultInstance() : grpcAsyncClientManagerConfig_; } else { return grpcAsyncClientManagerConfigBuilder_.getMessage(); } } /** *
     * Optional gRPC async manager config.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig grpc_async_client_manager_config = 40; */ public Builder setGrpcAsyncClientManagerConfig(io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig value) { if (grpcAsyncClientManagerConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } grpcAsyncClientManagerConfig_ = value; } else { grpcAsyncClientManagerConfigBuilder_.setMessage(value); } bitField1_ |= 0x00000020; onChanged(); return this; } /** *
     * Optional gRPC async manager config.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig grpc_async_client_manager_config = 40; */ public Builder setGrpcAsyncClientManagerConfig( io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig.Builder builderForValue) { if (grpcAsyncClientManagerConfigBuilder_ == null) { grpcAsyncClientManagerConfig_ = builderForValue.build(); } else { grpcAsyncClientManagerConfigBuilder_.setMessage(builderForValue.build()); } bitField1_ |= 0x00000020; onChanged(); return this; } /** *
     * Optional gRPC async manager config.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig grpc_async_client_manager_config = 40; */ public Builder mergeGrpcAsyncClientManagerConfig(io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig value) { if (grpcAsyncClientManagerConfigBuilder_ == null) { if (((bitField1_ & 0x00000020) != 0) && grpcAsyncClientManagerConfig_ != null && grpcAsyncClientManagerConfig_ != io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig.getDefaultInstance()) { getGrpcAsyncClientManagerConfigBuilder().mergeFrom(value); } else { grpcAsyncClientManagerConfig_ = value; } } else { grpcAsyncClientManagerConfigBuilder_.mergeFrom(value); } if (grpcAsyncClientManagerConfig_ != null) { bitField1_ |= 0x00000020; onChanged(); } return this; } /** *
     * Optional gRPC async manager config.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig grpc_async_client_manager_config = 40; */ public Builder clearGrpcAsyncClientManagerConfig() { bitField1_ = (bitField1_ & ~0x00000020); grpcAsyncClientManagerConfig_ = null; if (grpcAsyncClientManagerConfigBuilder_ != null) { grpcAsyncClientManagerConfigBuilder_.dispose(); grpcAsyncClientManagerConfigBuilder_ = null; } onChanged(); return this; } /** *
     * Optional gRPC async manager config.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig grpc_async_client_manager_config = 40; */ public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig.Builder getGrpcAsyncClientManagerConfigBuilder() { bitField1_ |= 0x00000020; onChanged(); return getGrpcAsyncClientManagerConfigFieldBuilder().getBuilder(); } /** *
     * Optional gRPC async manager config.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig grpc_async_client_manager_config = 40; */ public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfigOrBuilder getGrpcAsyncClientManagerConfigOrBuilder() { if (grpcAsyncClientManagerConfigBuilder_ != null) { return grpcAsyncClientManagerConfigBuilder_.getMessageOrBuilder(); } else { return grpcAsyncClientManagerConfig_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig.getDefaultInstance() : grpcAsyncClientManagerConfig_; } } /** *
     * Optional gRPC async manager config.
     * 
* * .envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig grpc_async_client_manager_config = 40; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig.Builder, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfigOrBuilder> getGrpcAsyncClientManagerConfigFieldBuilder() { if (grpcAsyncClientManagerConfigBuilder_ == null) { grpcAsyncClientManagerConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfig.Builder, io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap.GrpcAsyncClientManagerConfigOrBuilder>( getGrpcAsyncClientManagerConfig(), getParentForChildren(), isClean()); grpcAsyncClientManagerConfig_ = null; } return grpcAsyncClientManagerConfigBuilder_; } private io.envoyproxy.envoy.config.bootstrap.v3.MemoryAllocatorManager memoryAllocatorManager_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.MemoryAllocatorManager, io.envoyproxy.envoy.config.bootstrap.v3.MemoryAllocatorManager.Builder, io.envoyproxy.envoy.config.bootstrap.v3.MemoryAllocatorManagerOrBuilder> memoryAllocatorManagerBuilder_; /** *
     * Optional configuration for memory allocation manager.
     * Memory releasing is only supported for `tcmalloc allocator <https://github.com/google/tcmalloc>`_.
     * 
* * .envoy.config.bootstrap.v3.MemoryAllocatorManager memory_allocator_manager = 41; * @return Whether the memoryAllocatorManager field is set. */ public boolean hasMemoryAllocatorManager() { return ((bitField1_ & 0x00000040) != 0); } /** *
     * Optional configuration for memory allocation manager.
     * Memory releasing is only supported for `tcmalloc allocator <https://github.com/google/tcmalloc>`_.
     * 
* * .envoy.config.bootstrap.v3.MemoryAllocatorManager memory_allocator_manager = 41; * @return The memoryAllocatorManager. */ public io.envoyproxy.envoy.config.bootstrap.v3.MemoryAllocatorManager getMemoryAllocatorManager() { if (memoryAllocatorManagerBuilder_ == null) { return memoryAllocatorManager_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.MemoryAllocatorManager.getDefaultInstance() : memoryAllocatorManager_; } else { return memoryAllocatorManagerBuilder_.getMessage(); } } /** *
     * Optional configuration for memory allocation manager.
     * Memory releasing is only supported for `tcmalloc allocator <https://github.com/google/tcmalloc>`_.
     * 
* * .envoy.config.bootstrap.v3.MemoryAllocatorManager memory_allocator_manager = 41; */ public Builder setMemoryAllocatorManager(io.envoyproxy.envoy.config.bootstrap.v3.MemoryAllocatorManager value) { if (memoryAllocatorManagerBuilder_ == null) { if (value == null) { throw new NullPointerException(); } memoryAllocatorManager_ = value; } else { memoryAllocatorManagerBuilder_.setMessage(value); } bitField1_ |= 0x00000040; onChanged(); return this; } /** *
     * Optional configuration for memory allocation manager.
     * Memory releasing is only supported for `tcmalloc allocator <https://github.com/google/tcmalloc>`_.
     * 
* * .envoy.config.bootstrap.v3.MemoryAllocatorManager memory_allocator_manager = 41; */ public Builder setMemoryAllocatorManager( io.envoyproxy.envoy.config.bootstrap.v3.MemoryAllocatorManager.Builder builderForValue) { if (memoryAllocatorManagerBuilder_ == null) { memoryAllocatorManager_ = builderForValue.build(); } else { memoryAllocatorManagerBuilder_.setMessage(builderForValue.build()); } bitField1_ |= 0x00000040; onChanged(); return this; } /** *
     * Optional configuration for memory allocation manager.
     * Memory releasing is only supported for `tcmalloc allocator <https://github.com/google/tcmalloc>`_.
     * 
* * .envoy.config.bootstrap.v3.MemoryAllocatorManager memory_allocator_manager = 41; */ public Builder mergeMemoryAllocatorManager(io.envoyproxy.envoy.config.bootstrap.v3.MemoryAllocatorManager value) { if (memoryAllocatorManagerBuilder_ == null) { if (((bitField1_ & 0x00000040) != 0) && memoryAllocatorManager_ != null && memoryAllocatorManager_ != io.envoyproxy.envoy.config.bootstrap.v3.MemoryAllocatorManager.getDefaultInstance()) { getMemoryAllocatorManagerBuilder().mergeFrom(value); } else { memoryAllocatorManager_ = value; } } else { memoryAllocatorManagerBuilder_.mergeFrom(value); } if (memoryAllocatorManager_ != null) { bitField1_ |= 0x00000040; onChanged(); } return this; } /** *
     * Optional configuration for memory allocation manager.
     * Memory releasing is only supported for `tcmalloc allocator <https://github.com/google/tcmalloc>`_.
     * 
* * .envoy.config.bootstrap.v3.MemoryAllocatorManager memory_allocator_manager = 41; */ public Builder clearMemoryAllocatorManager() { bitField1_ = (bitField1_ & ~0x00000040); memoryAllocatorManager_ = null; if (memoryAllocatorManagerBuilder_ != null) { memoryAllocatorManagerBuilder_.dispose(); memoryAllocatorManagerBuilder_ = null; } onChanged(); return this; } /** *
     * Optional configuration for memory allocation manager.
     * Memory releasing is only supported for `tcmalloc allocator <https://github.com/google/tcmalloc>`_.
     * 
* * .envoy.config.bootstrap.v3.MemoryAllocatorManager memory_allocator_manager = 41; */ public io.envoyproxy.envoy.config.bootstrap.v3.MemoryAllocatorManager.Builder getMemoryAllocatorManagerBuilder() { bitField1_ |= 0x00000040; onChanged(); return getMemoryAllocatorManagerFieldBuilder().getBuilder(); } /** *
     * Optional configuration for memory allocation manager.
     * Memory releasing is only supported for `tcmalloc allocator <https://github.com/google/tcmalloc>`_.
     * 
* * .envoy.config.bootstrap.v3.MemoryAllocatorManager memory_allocator_manager = 41; */ public io.envoyproxy.envoy.config.bootstrap.v3.MemoryAllocatorManagerOrBuilder getMemoryAllocatorManagerOrBuilder() { if (memoryAllocatorManagerBuilder_ != null) { return memoryAllocatorManagerBuilder_.getMessageOrBuilder(); } else { return memoryAllocatorManager_ == null ? io.envoyproxy.envoy.config.bootstrap.v3.MemoryAllocatorManager.getDefaultInstance() : memoryAllocatorManager_; } } /** *
     * Optional configuration for memory allocation manager.
     * Memory releasing is only supported for `tcmalloc allocator <https://github.com/google/tcmalloc>`_.
     * 
* * .envoy.config.bootstrap.v3.MemoryAllocatorManager memory_allocator_manager = 41; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.MemoryAllocatorManager, io.envoyproxy.envoy.config.bootstrap.v3.MemoryAllocatorManager.Builder, io.envoyproxy.envoy.config.bootstrap.v3.MemoryAllocatorManagerOrBuilder> getMemoryAllocatorManagerFieldBuilder() { if (memoryAllocatorManagerBuilder_ == null) { memoryAllocatorManagerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v3.MemoryAllocatorManager, io.envoyproxy.envoy.config.bootstrap.v3.MemoryAllocatorManager.Builder, io.envoyproxy.envoy.config.bootstrap.v3.MemoryAllocatorManagerOrBuilder>( getMemoryAllocatorManager(), getParentForChildren(), isClean()); memoryAllocatorManager_ = null; } return memoryAllocatorManagerBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:envoy.config.bootstrap.v3.Bootstrap) } // @@protoc_insertion_point(class_scope:envoy.config.bootstrap.v3.Bootstrap) private static final io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap(); } public static io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Bootstrap parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v3.Bootstrap getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy