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

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

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

// Protobuf Java Version: 3.25.1
package io.envoyproxy.envoy.config.bootstrap.v2;

/**
 * 
 * Bootstrap :ref:`configuration overview <config_overview_bootstrap>`.
 * [#next-free-field: 21]
 * 
* * Protobuf type {@code envoy.config.bootstrap.v2.Bootstrap} */ public final class Bootstrap extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:envoy.config.bootstrap.v2.Bootstrap) BootstrapOrBuilder { private static final long serialVersionUID = 0L; // Use Bootstrap.newBuilder() to construct. private Bootstrap(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Bootstrap() { flagsPath_ = ""; statsSinks_ = java.util.Collections.emptyList(); headerPrefix_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Bootstrap(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.config.bootstrap.v2.BootstrapProto.internal_static_envoy_config_bootstrap_v2_Bootstrap_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.config.bootstrap.v2.BootstrapProto.internal_static_envoy_config_bootstrap_v2_Bootstrap_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.class, io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.Builder.class); } public interface StaticResourcesOrBuilder extends // @@protoc_insertion_point(interface_extends:envoy.config.bootstrap.v2.Bootstrap.StaticResources) com.google.protobuf.MessageOrBuilder { /** *
     * Static :ref:`Listeners <envoy_api_msg_Listener>`. These listeners are
     * available regardless of LDS configuration.
     * 
* * repeated .envoy.api.v2.Listener listeners = 1; */ java.util.List getListenersList(); /** *
     * Static :ref:`Listeners <envoy_api_msg_Listener>`. These listeners are
     * available regardless of LDS configuration.
     * 
* * repeated .envoy.api.v2.Listener listeners = 1; */ io.envoyproxy.envoy.api.v2.Listener getListeners(int index); /** *
     * Static :ref:`Listeners <envoy_api_msg_Listener>`. These listeners are
     * available regardless of LDS configuration.
     * 
* * repeated .envoy.api.v2.Listener listeners = 1; */ int getListenersCount(); /** *
     * Static :ref:`Listeners <envoy_api_msg_Listener>`. These listeners are
     * available regardless of LDS configuration.
     * 
* * repeated .envoy.api.v2.Listener listeners = 1; */ java.util.List getListenersOrBuilderList(); /** *
     * Static :ref:`Listeners <envoy_api_msg_Listener>`. These listeners are
     * available regardless of LDS configuration.
     * 
* * repeated .envoy.api.v2.Listener listeners = 1; */ io.envoyproxy.envoy.api.v2.ListenerOrBuilder getListenersOrBuilder( int index); /** *
     * If a network based configuration source is specified for :ref:`cds_config
     * <envoy_api_field_config.bootstrap.v2.Bootstrap.DynamicResources.cds_config>`, it's necessary
     * to have some initial cluster definitions available to allow Envoy to know
     * how to speak to the management server. These cluster definitions may not
     * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
     * IP or DNS-based).
     * 
* * repeated .envoy.api.v2.Cluster clusters = 2; */ java.util.List getClustersList(); /** *
     * If a network based configuration source is specified for :ref:`cds_config
     * <envoy_api_field_config.bootstrap.v2.Bootstrap.DynamicResources.cds_config>`, it's necessary
     * to have some initial cluster definitions available to allow Envoy to know
     * how to speak to the management server. These cluster definitions may not
     * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
     * IP or DNS-based).
     * 
* * repeated .envoy.api.v2.Cluster clusters = 2; */ io.envoyproxy.envoy.api.v2.Cluster getClusters(int index); /** *
     * If a network based configuration source is specified for :ref:`cds_config
     * <envoy_api_field_config.bootstrap.v2.Bootstrap.DynamicResources.cds_config>`, it's necessary
     * to have some initial cluster definitions available to allow Envoy to know
     * how to speak to the management server. These cluster definitions may not
     * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
     * IP or DNS-based).
     * 
* * repeated .envoy.api.v2.Cluster clusters = 2; */ int getClustersCount(); /** *
     * If a network based configuration source is specified for :ref:`cds_config
     * <envoy_api_field_config.bootstrap.v2.Bootstrap.DynamicResources.cds_config>`, it's necessary
     * to have some initial cluster definitions available to allow Envoy to know
     * how to speak to the management server. These cluster definitions may not
     * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
     * IP or DNS-based).
     * 
* * repeated .envoy.api.v2.Cluster clusters = 2; */ java.util.List getClustersOrBuilderList(); /** *
     * If a network based configuration source is specified for :ref:`cds_config
     * <envoy_api_field_config.bootstrap.v2.Bootstrap.DynamicResources.cds_config>`, it's necessary
     * to have some initial cluster definitions available to allow Envoy to know
     * how to speak to the management server. These cluster definitions may not
     * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
     * IP or DNS-based).
     * 
* * repeated .envoy.api.v2.Cluster clusters = 2; */ io.envoyproxy.envoy.api.v2.ClusterOrBuilder getClustersOrBuilder( int index); /** *
     * These static secrets can be used by :ref:`SdsSecretConfig
     * <envoy_api_msg_auth.SdsSecretConfig>`
     * 
* * repeated .envoy.api.v2.auth.Secret secrets = 3; */ java.util.List getSecretsList(); /** *
     * These static secrets can be used by :ref:`SdsSecretConfig
     * <envoy_api_msg_auth.SdsSecretConfig>`
     * 
* * repeated .envoy.api.v2.auth.Secret secrets = 3; */ io.envoyproxy.envoy.api.v2.auth.Secret getSecrets(int index); /** *
     * These static secrets can be used by :ref:`SdsSecretConfig
     * <envoy_api_msg_auth.SdsSecretConfig>`
     * 
* * repeated .envoy.api.v2.auth.Secret secrets = 3; */ int getSecretsCount(); /** *
     * These static secrets can be used by :ref:`SdsSecretConfig
     * <envoy_api_msg_auth.SdsSecretConfig>`
     * 
* * repeated .envoy.api.v2.auth.Secret secrets = 3; */ java.util.List getSecretsOrBuilderList(); /** *
     * These static secrets can be used by :ref:`SdsSecretConfig
     * <envoy_api_msg_auth.SdsSecretConfig>`
     * 
* * repeated .envoy.api.v2.auth.Secret secrets = 3; */ io.envoyproxy.envoy.api.v2.auth.SecretOrBuilder getSecretsOrBuilder( int index); } /** * Protobuf type {@code envoy.config.bootstrap.v2.Bootstrap.StaticResources} */ public static final class StaticResources extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:envoy.config.bootstrap.v2.Bootstrap.StaticResources) StaticResourcesOrBuilder { private static final long serialVersionUID = 0L; // Use StaticResources.newBuilder() to construct. private StaticResources(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private StaticResources() { listeners_ = java.util.Collections.emptyList(); clusters_ = java.util.Collections.emptyList(); secrets_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new StaticResources(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.config.bootstrap.v2.BootstrapProto.internal_static_envoy_config_bootstrap_v2_Bootstrap_StaticResources_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.config.bootstrap.v2.BootstrapProto.internal_static_envoy_config_bootstrap_v2_Bootstrap_StaticResources_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources.class, io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources.Builder.class); } public static final int LISTENERS_FIELD_NUMBER = 1; @SuppressWarnings("serial") private java.util.List listeners_; /** *
     * Static :ref:`Listeners <envoy_api_msg_Listener>`. These listeners are
     * available regardless of LDS configuration.
     * 
* * repeated .envoy.api.v2.Listener listeners = 1; */ @java.lang.Override public java.util.List getListenersList() { return listeners_; } /** *
     * Static :ref:`Listeners <envoy_api_msg_Listener>`. These listeners are
     * available regardless of LDS configuration.
     * 
* * repeated .envoy.api.v2.Listener listeners = 1; */ @java.lang.Override public java.util.List getListenersOrBuilderList() { return listeners_; } /** *
     * Static :ref:`Listeners <envoy_api_msg_Listener>`. These listeners are
     * available regardless of LDS configuration.
     * 
* * repeated .envoy.api.v2.Listener listeners = 1; */ @java.lang.Override public int getListenersCount() { return listeners_.size(); } /** *
     * Static :ref:`Listeners <envoy_api_msg_Listener>`. These listeners are
     * available regardless of LDS configuration.
     * 
* * repeated .envoy.api.v2.Listener listeners = 1; */ @java.lang.Override public io.envoyproxy.envoy.api.v2.Listener getListeners(int index) { return listeners_.get(index); } /** *
     * Static :ref:`Listeners <envoy_api_msg_Listener>`. These listeners are
     * available regardless of LDS configuration.
     * 
* * repeated .envoy.api.v2.Listener listeners = 1; */ @java.lang.Override public io.envoyproxy.envoy.api.v2.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_api_field_config.bootstrap.v2.Bootstrap.DynamicResources.cds_config>`, it's necessary
     * to have some initial cluster definitions available to allow Envoy to know
     * how to speak to the management server. These cluster definitions may not
     * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
     * IP or DNS-based).
     * 
* * repeated .envoy.api.v2.Cluster clusters = 2; */ @java.lang.Override public java.util.List getClustersList() { return clusters_; } /** *
     * If a network based configuration source is specified for :ref:`cds_config
     * <envoy_api_field_config.bootstrap.v2.Bootstrap.DynamicResources.cds_config>`, it's necessary
     * to have some initial cluster definitions available to allow Envoy to know
     * how to speak to the management server. These cluster definitions may not
     * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
     * IP or DNS-based).
     * 
* * repeated .envoy.api.v2.Cluster clusters = 2; */ @java.lang.Override public java.util.List getClustersOrBuilderList() { return clusters_; } /** *
     * If a network based configuration source is specified for :ref:`cds_config
     * <envoy_api_field_config.bootstrap.v2.Bootstrap.DynamicResources.cds_config>`, it's necessary
     * to have some initial cluster definitions available to allow Envoy to know
     * how to speak to the management server. These cluster definitions may not
     * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
     * IP or DNS-based).
     * 
* * repeated .envoy.api.v2.Cluster clusters = 2; */ @java.lang.Override public int getClustersCount() { return clusters_.size(); } /** *
     * If a network based configuration source is specified for :ref:`cds_config
     * <envoy_api_field_config.bootstrap.v2.Bootstrap.DynamicResources.cds_config>`, it's necessary
     * to have some initial cluster definitions available to allow Envoy to know
     * how to speak to the management server. These cluster definitions may not
     * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
     * IP or DNS-based).
     * 
* * repeated .envoy.api.v2.Cluster clusters = 2; */ @java.lang.Override public io.envoyproxy.envoy.api.v2.Cluster getClusters(int index) { return clusters_.get(index); } /** *
     * If a network based configuration source is specified for :ref:`cds_config
     * <envoy_api_field_config.bootstrap.v2.Bootstrap.DynamicResources.cds_config>`, it's necessary
     * to have some initial cluster definitions available to allow Envoy to know
     * how to speak to the management server. These cluster definitions may not
     * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
     * IP or DNS-based).
     * 
* * repeated .envoy.api.v2.Cluster clusters = 2; */ @java.lang.Override public io.envoyproxy.envoy.api.v2.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_api_msg_auth.SdsSecretConfig>`
     * 
* * repeated .envoy.api.v2.auth.Secret secrets = 3; */ @java.lang.Override public java.util.List getSecretsList() { return secrets_; } /** *
     * These static secrets can be used by :ref:`SdsSecretConfig
     * <envoy_api_msg_auth.SdsSecretConfig>`
     * 
* * repeated .envoy.api.v2.auth.Secret secrets = 3; */ @java.lang.Override public java.util.List getSecretsOrBuilderList() { return secrets_; } /** *
     * These static secrets can be used by :ref:`SdsSecretConfig
     * <envoy_api_msg_auth.SdsSecretConfig>`
     * 
* * repeated .envoy.api.v2.auth.Secret secrets = 3; */ @java.lang.Override public int getSecretsCount() { return secrets_.size(); } /** *
     * These static secrets can be used by :ref:`SdsSecretConfig
     * <envoy_api_msg_auth.SdsSecretConfig>`
     * 
* * repeated .envoy.api.v2.auth.Secret secrets = 3; */ @java.lang.Override public io.envoyproxy.envoy.api.v2.auth.Secret getSecrets(int index) { return secrets_.get(index); } /** *
     * These static secrets can be used by :ref:`SdsSecretConfig
     * <envoy_api_msg_auth.SdsSecretConfig>`
     * 
* * repeated .envoy.api.v2.auth.Secret secrets = 3; */ @java.lang.Override public io.envoyproxy.envoy.api.v2.auth.SecretOrBuilder getSecretsOrBuilder( int index) { return secrets_.get(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < listeners_.size(); i++) { output.writeMessage(1, listeners_.get(i)); } for (int i = 0; i < clusters_.size(); i++) { output.writeMessage(2, clusters_.get(i)); } for (int i = 0; i < secrets_.size(); i++) { output.writeMessage(3, secrets_.get(i)); } 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.v2.Bootstrap.StaticResources)) { return super.equals(obj); } io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources other = (io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources) obj; if (!getListenersList() .equals(other.getListenersList())) return false; if (!getClustersList() .equals(other.getClustersList())) return false; if (!getSecretsList() .equals(other.getSecretsList())) return false; if (!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.v2.Bootstrap.StaticResources parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code envoy.config.bootstrap.v2.Bootstrap.StaticResources} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:envoy.config.bootstrap.v2.Bootstrap.StaticResources) io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResourcesOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.config.bootstrap.v2.BootstrapProto.internal_static_envoy_config_bootstrap_v2_Bootstrap_StaticResources_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.config.bootstrap.v2.BootstrapProto.internal_static_envoy_config_bootstrap_v2_Bootstrap_StaticResources_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources.class, io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources.Builder.class); } // Construct using io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources.newBuilder() private Builder() { } 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.v2.BootstrapProto.internal_static_envoy_config_bootstrap_v2_Bootstrap_StaticResources_descriptor; } @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources getDefaultInstanceForType() { return io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources.getDefaultInstance(); } @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources build() { io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources buildPartial() { io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources result = new io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(io.envoyproxy.envoy.config.bootstrap.v2.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.v2.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.v2.Bootstrap.StaticResources) { return mergeFrom((io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources other) { if (other == io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources.getDefaultInstance()) return this; if (listenersBuilder_ == null) { if (!other.listeners_.isEmpty()) { if (listeners_.isEmpty()) { listeners_ = other.listeners_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureListenersIsMutable(); listeners_.addAll(other.listeners_); } onChanged(); } } else { if (!other.listeners_.isEmpty()) { if (listenersBuilder_.isEmpty()) { listenersBuilder_.dispose(); listenersBuilder_ = null; listeners_ = other.listeners_; bitField0_ = (bitField0_ & ~0x00000001); listenersBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getListenersFieldBuilder() : null; } else { listenersBuilder_.addAllMessages(other.listeners_); } } } if (clustersBuilder_ == null) { if (!other.clusters_.isEmpty()) { if (clusters_.isEmpty()) { clusters_ = other.clusters_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureClustersIsMutable(); clusters_.addAll(other.clusters_); } onChanged(); } } else { if (!other.clusters_.isEmpty()) { if (clustersBuilder_.isEmpty()) { clustersBuilder_.dispose(); clustersBuilder_ = null; clusters_ = other.clusters_; bitField0_ = (bitField0_ & ~0x00000002); clustersBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getClustersFieldBuilder() : null; } else { clustersBuilder_.addAllMessages(other.clusters_); } } } if (secretsBuilder_ == null) { if (!other.secrets_.isEmpty()) { if (secrets_.isEmpty()) { secrets_ = other.secrets_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureSecretsIsMutable(); secrets_.addAll(other.secrets_); } onChanged(); } } else { if (!other.secrets_.isEmpty()) { if (secretsBuilder_.isEmpty()) { secretsBuilder_.dispose(); secretsBuilder_ = null; secrets_ = other.secrets_; bitField0_ = (bitField0_ & ~0x00000004); secretsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getSecretsFieldBuilder() : null; } else { secretsBuilder_.addAllMessages(other.secrets_); } } } this.mergeUnknownFields(other.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.api.v2.Listener m = input.readMessage( io.envoyproxy.envoy.api.v2.Listener.parser(), extensionRegistry); if (listenersBuilder_ == null) { ensureListenersIsMutable(); listeners_.add(m); } else { listenersBuilder_.addMessage(m); } break; } // case 10 case 18: { io.envoyproxy.envoy.api.v2.Cluster m = input.readMessage( io.envoyproxy.envoy.api.v2.Cluster.parser(), extensionRegistry); if (clustersBuilder_ == null) { ensureClustersIsMutable(); clusters_.add(m); } else { clustersBuilder_.addMessage(m); } break; } // case 18 case 26: { io.envoyproxy.envoy.api.v2.auth.Secret m = input.readMessage( io.envoyproxy.envoy.api.v2.auth.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.api.v2.Listener, io.envoyproxy.envoy.api.v2.Listener.Builder, io.envoyproxy.envoy.api.v2.ListenerOrBuilder> listenersBuilder_; /** *
       * Static :ref:`Listeners <envoy_api_msg_Listener>`. These listeners are
       * available regardless of LDS configuration.
       * 
* * repeated .envoy.api.v2.Listener listeners = 1; */ public java.util.List getListenersList() { if (listenersBuilder_ == null) { return java.util.Collections.unmodifiableList(listeners_); } else { return listenersBuilder_.getMessageList(); } } /** *
       * Static :ref:`Listeners <envoy_api_msg_Listener>`. These listeners are
       * available regardless of LDS configuration.
       * 
* * repeated .envoy.api.v2.Listener listeners = 1; */ public int getListenersCount() { if (listenersBuilder_ == null) { return listeners_.size(); } else { return listenersBuilder_.getCount(); } } /** *
       * Static :ref:`Listeners <envoy_api_msg_Listener>`. These listeners are
       * available regardless of LDS configuration.
       * 
* * repeated .envoy.api.v2.Listener listeners = 1; */ public io.envoyproxy.envoy.api.v2.Listener getListeners(int index) { if (listenersBuilder_ == null) { return listeners_.get(index); } else { return listenersBuilder_.getMessage(index); } } /** *
       * Static :ref:`Listeners <envoy_api_msg_Listener>`. These listeners are
       * available regardless of LDS configuration.
       * 
* * repeated .envoy.api.v2.Listener listeners = 1; */ public Builder setListeners( int index, io.envoyproxy.envoy.api.v2.Listener value) { if (listenersBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureListenersIsMutable(); listeners_.set(index, value); onChanged(); } else { listenersBuilder_.setMessage(index, value); } return this; } /** *
       * Static :ref:`Listeners <envoy_api_msg_Listener>`. These listeners are
       * available regardless of LDS configuration.
       * 
* * repeated .envoy.api.v2.Listener listeners = 1; */ public Builder setListeners( int index, io.envoyproxy.envoy.api.v2.Listener.Builder builderForValue) { if (listenersBuilder_ == null) { ensureListenersIsMutable(); listeners_.set(index, builderForValue.build()); onChanged(); } else { listenersBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * Static :ref:`Listeners <envoy_api_msg_Listener>`. These listeners are
       * available regardless of LDS configuration.
       * 
* * repeated .envoy.api.v2.Listener listeners = 1; */ public Builder addListeners(io.envoyproxy.envoy.api.v2.Listener value) { if (listenersBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureListenersIsMutable(); listeners_.add(value); onChanged(); } else { listenersBuilder_.addMessage(value); } return this; } /** *
       * Static :ref:`Listeners <envoy_api_msg_Listener>`. These listeners are
       * available regardless of LDS configuration.
       * 
* * repeated .envoy.api.v2.Listener listeners = 1; */ public Builder addListeners( int index, io.envoyproxy.envoy.api.v2.Listener value) { if (listenersBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureListenersIsMutable(); listeners_.add(index, value); onChanged(); } else { listenersBuilder_.addMessage(index, value); } return this; } /** *
       * Static :ref:`Listeners <envoy_api_msg_Listener>`. These listeners are
       * available regardless of LDS configuration.
       * 
* * repeated .envoy.api.v2.Listener listeners = 1; */ public Builder addListeners( io.envoyproxy.envoy.api.v2.Listener.Builder builderForValue) { if (listenersBuilder_ == null) { ensureListenersIsMutable(); listeners_.add(builderForValue.build()); onChanged(); } else { listenersBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * Static :ref:`Listeners <envoy_api_msg_Listener>`. These listeners are
       * available regardless of LDS configuration.
       * 
* * repeated .envoy.api.v2.Listener listeners = 1; */ public Builder addListeners( int index, io.envoyproxy.envoy.api.v2.Listener.Builder builderForValue) { if (listenersBuilder_ == null) { ensureListenersIsMutable(); listeners_.add(index, builderForValue.build()); onChanged(); } else { listenersBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * Static :ref:`Listeners <envoy_api_msg_Listener>`. These listeners are
       * available regardless of LDS configuration.
       * 
* * repeated .envoy.api.v2.Listener listeners = 1; */ public Builder addAllListeners( java.lang.Iterable values) { if (listenersBuilder_ == null) { ensureListenersIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, listeners_); onChanged(); } else { listenersBuilder_.addAllMessages(values); } return this; } /** *
       * Static :ref:`Listeners <envoy_api_msg_Listener>`. These listeners are
       * available regardless of LDS configuration.
       * 
* * repeated .envoy.api.v2.Listener listeners = 1; */ public Builder clearListeners() { if (listenersBuilder_ == null) { listeners_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { listenersBuilder_.clear(); } return this; } /** *
       * Static :ref:`Listeners <envoy_api_msg_Listener>`. These listeners are
       * available regardless of LDS configuration.
       * 
* * repeated .envoy.api.v2.Listener listeners = 1; */ public Builder removeListeners(int index) { if (listenersBuilder_ == null) { ensureListenersIsMutable(); listeners_.remove(index); onChanged(); } else { listenersBuilder_.remove(index); } return this; } /** *
       * Static :ref:`Listeners <envoy_api_msg_Listener>`. These listeners are
       * available regardless of LDS configuration.
       * 
* * repeated .envoy.api.v2.Listener listeners = 1; */ public io.envoyproxy.envoy.api.v2.Listener.Builder getListenersBuilder( int index) { return getListenersFieldBuilder().getBuilder(index); } /** *
       * Static :ref:`Listeners <envoy_api_msg_Listener>`. These listeners are
       * available regardless of LDS configuration.
       * 
* * repeated .envoy.api.v2.Listener listeners = 1; */ public io.envoyproxy.envoy.api.v2.ListenerOrBuilder getListenersOrBuilder( int index) { if (listenersBuilder_ == null) { return listeners_.get(index); } else { return listenersBuilder_.getMessageOrBuilder(index); } } /** *
       * Static :ref:`Listeners <envoy_api_msg_Listener>`. These listeners are
       * available regardless of LDS configuration.
       * 
* * repeated .envoy.api.v2.Listener listeners = 1; */ public java.util.List getListenersOrBuilderList() { if (listenersBuilder_ != null) { return listenersBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(listeners_); } } /** *
       * Static :ref:`Listeners <envoy_api_msg_Listener>`. These listeners are
       * available regardless of LDS configuration.
       * 
* * repeated .envoy.api.v2.Listener listeners = 1; */ public io.envoyproxy.envoy.api.v2.Listener.Builder addListenersBuilder() { return getListenersFieldBuilder().addBuilder( io.envoyproxy.envoy.api.v2.Listener.getDefaultInstance()); } /** *
       * Static :ref:`Listeners <envoy_api_msg_Listener>`. These listeners are
       * available regardless of LDS configuration.
       * 
* * repeated .envoy.api.v2.Listener listeners = 1; */ public io.envoyproxy.envoy.api.v2.Listener.Builder addListenersBuilder( int index) { return getListenersFieldBuilder().addBuilder( index, io.envoyproxy.envoy.api.v2.Listener.getDefaultInstance()); } /** *
       * Static :ref:`Listeners <envoy_api_msg_Listener>`. These listeners are
       * available regardless of LDS configuration.
       * 
* * repeated .envoy.api.v2.Listener listeners = 1; */ public java.util.List getListenersBuilderList() { return getListenersFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.api.v2.Listener, io.envoyproxy.envoy.api.v2.Listener.Builder, io.envoyproxy.envoy.api.v2.ListenerOrBuilder> getListenersFieldBuilder() { if (listenersBuilder_ == null) { listenersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.api.v2.Listener, io.envoyproxy.envoy.api.v2.Listener.Builder, io.envoyproxy.envoy.api.v2.ListenerOrBuilder>( listeners_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); listeners_ = null; } return listenersBuilder_; } private java.util.List clusters_ = java.util.Collections.emptyList(); private void ensureClustersIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { clusters_ = new java.util.ArrayList(clusters_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.api.v2.Cluster, io.envoyproxy.envoy.api.v2.Cluster.Builder, io.envoyproxy.envoy.api.v2.ClusterOrBuilder> clustersBuilder_; /** *
       * If a network based configuration source is specified for :ref:`cds_config
       * <envoy_api_field_config.bootstrap.v2.Bootstrap.DynamicResources.cds_config>`, it's necessary
       * to have some initial cluster definitions available to allow Envoy to know
       * how to speak to the management server. These cluster definitions may not
       * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
       * IP or DNS-based).
       * 
* * repeated .envoy.api.v2.Cluster clusters = 2; */ public java.util.List getClustersList() { if (clustersBuilder_ == null) { return java.util.Collections.unmodifiableList(clusters_); } else { return clustersBuilder_.getMessageList(); } } /** *
       * If a network based configuration source is specified for :ref:`cds_config
       * <envoy_api_field_config.bootstrap.v2.Bootstrap.DynamicResources.cds_config>`, it's necessary
       * to have some initial cluster definitions available to allow Envoy to know
       * how to speak to the management server. These cluster definitions may not
       * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
       * IP or DNS-based).
       * 
* * repeated .envoy.api.v2.Cluster clusters = 2; */ public int getClustersCount() { if (clustersBuilder_ == null) { return clusters_.size(); } else { return clustersBuilder_.getCount(); } } /** *
       * If a network based configuration source is specified for :ref:`cds_config
       * <envoy_api_field_config.bootstrap.v2.Bootstrap.DynamicResources.cds_config>`, it's necessary
       * to have some initial cluster definitions available to allow Envoy to know
       * how to speak to the management server. These cluster definitions may not
       * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
       * IP or DNS-based).
       * 
* * repeated .envoy.api.v2.Cluster clusters = 2; */ public io.envoyproxy.envoy.api.v2.Cluster getClusters(int index) { if (clustersBuilder_ == null) { return clusters_.get(index); } else { return clustersBuilder_.getMessage(index); } } /** *
       * If a network based configuration source is specified for :ref:`cds_config
       * <envoy_api_field_config.bootstrap.v2.Bootstrap.DynamicResources.cds_config>`, it's necessary
       * to have some initial cluster definitions available to allow Envoy to know
       * how to speak to the management server. These cluster definitions may not
       * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
       * IP or DNS-based).
       * 
* * repeated .envoy.api.v2.Cluster clusters = 2; */ public Builder setClusters( int index, io.envoyproxy.envoy.api.v2.Cluster value) { if (clustersBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureClustersIsMutable(); clusters_.set(index, value); onChanged(); } else { clustersBuilder_.setMessage(index, value); } return this; } /** *
       * If a network based configuration source is specified for :ref:`cds_config
       * <envoy_api_field_config.bootstrap.v2.Bootstrap.DynamicResources.cds_config>`, it's necessary
       * to have some initial cluster definitions available to allow Envoy to know
       * how to speak to the management server. These cluster definitions may not
       * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
       * IP or DNS-based).
       * 
* * repeated .envoy.api.v2.Cluster clusters = 2; */ public Builder setClusters( int index, io.envoyproxy.envoy.api.v2.Cluster.Builder builderForValue) { if (clustersBuilder_ == null) { ensureClustersIsMutable(); clusters_.set(index, builderForValue.build()); onChanged(); } else { clustersBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * If a network based configuration source is specified for :ref:`cds_config
       * <envoy_api_field_config.bootstrap.v2.Bootstrap.DynamicResources.cds_config>`, it's necessary
       * to have some initial cluster definitions available to allow Envoy to know
       * how to speak to the management server. These cluster definitions may not
       * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
       * IP or DNS-based).
       * 
* * repeated .envoy.api.v2.Cluster clusters = 2; */ public Builder addClusters(io.envoyproxy.envoy.api.v2.Cluster value) { if (clustersBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureClustersIsMutable(); clusters_.add(value); onChanged(); } else { clustersBuilder_.addMessage(value); } return this; } /** *
       * If a network based configuration source is specified for :ref:`cds_config
       * <envoy_api_field_config.bootstrap.v2.Bootstrap.DynamicResources.cds_config>`, it's necessary
       * to have some initial cluster definitions available to allow Envoy to know
       * how to speak to the management server. These cluster definitions may not
       * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
       * IP or DNS-based).
       * 
* * repeated .envoy.api.v2.Cluster clusters = 2; */ public Builder addClusters( int index, io.envoyproxy.envoy.api.v2.Cluster value) { if (clustersBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureClustersIsMutable(); clusters_.add(index, value); onChanged(); } else { clustersBuilder_.addMessage(index, value); } return this; } /** *
       * If a network based configuration source is specified for :ref:`cds_config
       * <envoy_api_field_config.bootstrap.v2.Bootstrap.DynamicResources.cds_config>`, it's necessary
       * to have some initial cluster definitions available to allow Envoy to know
       * how to speak to the management server. These cluster definitions may not
       * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
       * IP or DNS-based).
       * 
* * repeated .envoy.api.v2.Cluster clusters = 2; */ public Builder addClusters( io.envoyproxy.envoy.api.v2.Cluster.Builder builderForValue) { if (clustersBuilder_ == null) { ensureClustersIsMutable(); clusters_.add(builderForValue.build()); onChanged(); } else { clustersBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * If a network based configuration source is specified for :ref:`cds_config
       * <envoy_api_field_config.bootstrap.v2.Bootstrap.DynamicResources.cds_config>`, it's necessary
       * to have some initial cluster definitions available to allow Envoy to know
       * how to speak to the management server. These cluster definitions may not
       * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
       * IP or DNS-based).
       * 
* * repeated .envoy.api.v2.Cluster clusters = 2; */ public Builder addClusters( int index, io.envoyproxy.envoy.api.v2.Cluster.Builder builderForValue) { if (clustersBuilder_ == null) { ensureClustersIsMutable(); clusters_.add(index, builderForValue.build()); onChanged(); } else { clustersBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * If a network based configuration source is specified for :ref:`cds_config
       * <envoy_api_field_config.bootstrap.v2.Bootstrap.DynamicResources.cds_config>`, it's necessary
       * to have some initial cluster definitions available to allow Envoy to know
       * how to speak to the management server. These cluster definitions may not
       * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
       * IP or DNS-based).
       * 
* * repeated .envoy.api.v2.Cluster clusters = 2; */ public Builder addAllClusters( java.lang.Iterable values) { if (clustersBuilder_ == null) { ensureClustersIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, clusters_); onChanged(); } else { clustersBuilder_.addAllMessages(values); } return this; } /** *
       * If a network based configuration source is specified for :ref:`cds_config
       * <envoy_api_field_config.bootstrap.v2.Bootstrap.DynamicResources.cds_config>`, it's necessary
       * to have some initial cluster definitions available to allow Envoy to know
       * how to speak to the management server. These cluster definitions may not
       * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
       * IP or DNS-based).
       * 
* * repeated .envoy.api.v2.Cluster clusters = 2; */ public Builder clearClusters() { if (clustersBuilder_ == null) { clusters_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { clustersBuilder_.clear(); } return this; } /** *
       * If a network based configuration source is specified for :ref:`cds_config
       * <envoy_api_field_config.bootstrap.v2.Bootstrap.DynamicResources.cds_config>`, it's necessary
       * to have some initial cluster definitions available to allow Envoy to know
       * how to speak to the management server. These cluster definitions may not
       * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
       * IP or DNS-based).
       * 
* * repeated .envoy.api.v2.Cluster clusters = 2; */ public Builder removeClusters(int index) { if (clustersBuilder_ == null) { ensureClustersIsMutable(); clusters_.remove(index); onChanged(); } else { clustersBuilder_.remove(index); } return this; } /** *
       * If a network based configuration source is specified for :ref:`cds_config
       * <envoy_api_field_config.bootstrap.v2.Bootstrap.DynamicResources.cds_config>`, it's necessary
       * to have some initial cluster definitions available to allow Envoy to know
       * how to speak to the management server. These cluster definitions may not
       * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
       * IP or DNS-based).
       * 
* * repeated .envoy.api.v2.Cluster clusters = 2; */ public io.envoyproxy.envoy.api.v2.Cluster.Builder getClustersBuilder( int index) { return getClustersFieldBuilder().getBuilder(index); } /** *
       * If a network based configuration source is specified for :ref:`cds_config
       * <envoy_api_field_config.bootstrap.v2.Bootstrap.DynamicResources.cds_config>`, it's necessary
       * to have some initial cluster definitions available to allow Envoy to know
       * how to speak to the management server. These cluster definitions may not
       * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
       * IP or DNS-based).
       * 
* * repeated .envoy.api.v2.Cluster clusters = 2; */ public io.envoyproxy.envoy.api.v2.ClusterOrBuilder getClustersOrBuilder( int index) { if (clustersBuilder_ == null) { return clusters_.get(index); } else { return clustersBuilder_.getMessageOrBuilder(index); } } /** *
       * If a network based configuration source is specified for :ref:`cds_config
       * <envoy_api_field_config.bootstrap.v2.Bootstrap.DynamicResources.cds_config>`, it's necessary
       * to have some initial cluster definitions available to allow Envoy to know
       * how to speak to the management server. These cluster definitions may not
       * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
       * IP or DNS-based).
       * 
* * repeated .envoy.api.v2.Cluster clusters = 2; */ public java.util.List getClustersOrBuilderList() { if (clustersBuilder_ != null) { return clustersBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(clusters_); } } /** *
       * If a network based configuration source is specified for :ref:`cds_config
       * <envoy_api_field_config.bootstrap.v2.Bootstrap.DynamicResources.cds_config>`, it's necessary
       * to have some initial cluster definitions available to allow Envoy to know
       * how to speak to the management server. These cluster definitions may not
       * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
       * IP or DNS-based).
       * 
* * repeated .envoy.api.v2.Cluster clusters = 2; */ public io.envoyproxy.envoy.api.v2.Cluster.Builder addClustersBuilder() { return getClustersFieldBuilder().addBuilder( io.envoyproxy.envoy.api.v2.Cluster.getDefaultInstance()); } /** *
       * If a network based configuration source is specified for :ref:`cds_config
       * <envoy_api_field_config.bootstrap.v2.Bootstrap.DynamicResources.cds_config>`, it's necessary
       * to have some initial cluster definitions available to allow Envoy to know
       * how to speak to the management server. These cluster definitions may not
       * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
       * IP or DNS-based).
       * 
* * repeated .envoy.api.v2.Cluster clusters = 2; */ public io.envoyproxy.envoy.api.v2.Cluster.Builder addClustersBuilder( int index) { return getClustersFieldBuilder().addBuilder( index, io.envoyproxy.envoy.api.v2.Cluster.getDefaultInstance()); } /** *
       * If a network based configuration source is specified for :ref:`cds_config
       * <envoy_api_field_config.bootstrap.v2.Bootstrap.DynamicResources.cds_config>`, it's necessary
       * to have some initial cluster definitions available to allow Envoy to know
       * how to speak to the management server. These cluster definitions may not
       * use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
       * IP or DNS-based).
       * 
* * repeated .envoy.api.v2.Cluster clusters = 2; */ public java.util.List getClustersBuilderList() { return getClustersFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.api.v2.Cluster, io.envoyproxy.envoy.api.v2.Cluster.Builder, io.envoyproxy.envoy.api.v2.ClusterOrBuilder> getClustersFieldBuilder() { if (clustersBuilder_ == null) { clustersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.api.v2.Cluster, io.envoyproxy.envoy.api.v2.Cluster.Builder, io.envoyproxy.envoy.api.v2.ClusterOrBuilder>( clusters_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); clusters_ = null; } return clustersBuilder_; } private java.util.List secrets_ = java.util.Collections.emptyList(); private void ensureSecretsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { secrets_ = new java.util.ArrayList(secrets_); bitField0_ |= 0x00000004; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.api.v2.auth.Secret, io.envoyproxy.envoy.api.v2.auth.Secret.Builder, io.envoyproxy.envoy.api.v2.auth.SecretOrBuilder> secretsBuilder_; /** *
       * These static secrets can be used by :ref:`SdsSecretConfig
       * <envoy_api_msg_auth.SdsSecretConfig>`
       * 
* * repeated .envoy.api.v2.auth.Secret secrets = 3; */ public java.util.List getSecretsList() { if (secretsBuilder_ == null) { return java.util.Collections.unmodifiableList(secrets_); } else { return secretsBuilder_.getMessageList(); } } /** *
       * These static secrets can be used by :ref:`SdsSecretConfig
       * <envoy_api_msg_auth.SdsSecretConfig>`
       * 
* * repeated .envoy.api.v2.auth.Secret secrets = 3; */ public int getSecretsCount() { if (secretsBuilder_ == null) { return secrets_.size(); } else { return secretsBuilder_.getCount(); } } /** *
       * These static secrets can be used by :ref:`SdsSecretConfig
       * <envoy_api_msg_auth.SdsSecretConfig>`
       * 
* * repeated .envoy.api.v2.auth.Secret secrets = 3; */ public io.envoyproxy.envoy.api.v2.auth.Secret getSecrets(int index) { if (secretsBuilder_ == null) { return secrets_.get(index); } else { return secretsBuilder_.getMessage(index); } } /** *
       * These static secrets can be used by :ref:`SdsSecretConfig
       * <envoy_api_msg_auth.SdsSecretConfig>`
       * 
* * repeated .envoy.api.v2.auth.Secret secrets = 3; */ public Builder setSecrets( int index, io.envoyproxy.envoy.api.v2.auth.Secret value) { if (secretsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSecretsIsMutable(); secrets_.set(index, value); onChanged(); } else { secretsBuilder_.setMessage(index, value); } return this; } /** *
       * These static secrets can be used by :ref:`SdsSecretConfig
       * <envoy_api_msg_auth.SdsSecretConfig>`
       * 
* * repeated .envoy.api.v2.auth.Secret secrets = 3; */ public Builder setSecrets( int index, io.envoyproxy.envoy.api.v2.auth.Secret.Builder builderForValue) { if (secretsBuilder_ == null) { ensureSecretsIsMutable(); secrets_.set(index, builderForValue.build()); onChanged(); } else { secretsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * These static secrets can be used by :ref:`SdsSecretConfig
       * <envoy_api_msg_auth.SdsSecretConfig>`
       * 
* * repeated .envoy.api.v2.auth.Secret secrets = 3; */ public Builder addSecrets(io.envoyproxy.envoy.api.v2.auth.Secret value) { if (secretsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSecretsIsMutable(); secrets_.add(value); onChanged(); } else { secretsBuilder_.addMessage(value); } return this; } /** *
       * These static secrets can be used by :ref:`SdsSecretConfig
       * <envoy_api_msg_auth.SdsSecretConfig>`
       * 
* * repeated .envoy.api.v2.auth.Secret secrets = 3; */ public Builder addSecrets( int index, io.envoyproxy.envoy.api.v2.auth.Secret value) { if (secretsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureSecretsIsMutable(); secrets_.add(index, value); onChanged(); } else { secretsBuilder_.addMessage(index, value); } return this; } /** *
       * These static secrets can be used by :ref:`SdsSecretConfig
       * <envoy_api_msg_auth.SdsSecretConfig>`
       * 
* * repeated .envoy.api.v2.auth.Secret secrets = 3; */ public Builder addSecrets( io.envoyproxy.envoy.api.v2.auth.Secret.Builder builderForValue) { if (secretsBuilder_ == null) { ensureSecretsIsMutable(); secrets_.add(builderForValue.build()); onChanged(); } else { secretsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * These static secrets can be used by :ref:`SdsSecretConfig
       * <envoy_api_msg_auth.SdsSecretConfig>`
       * 
* * repeated .envoy.api.v2.auth.Secret secrets = 3; */ public Builder addSecrets( int index, io.envoyproxy.envoy.api.v2.auth.Secret.Builder builderForValue) { if (secretsBuilder_ == null) { ensureSecretsIsMutable(); secrets_.add(index, builderForValue.build()); onChanged(); } else { secretsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * These static secrets can be used by :ref:`SdsSecretConfig
       * <envoy_api_msg_auth.SdsSecretConfig>`
       * 
* * repeated .envoy.api.v2.auth.Secret secrets = 3; */ public Builder addAllSecrets( java.lang.Iterable values) { if (secretsBuilder_ == null) { ensureSecretsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, secrets_); onChanged(); } else { secretsBuilder_.addAllMessages(values); } return this; } /** *
       * These static secrets can be used by :ref:`SdsSecretConfig
       * <envoy_api_msg_auth.SdsSecretConfig>`
       * 
* * repeated .envoy.api.v2.auth.Secret secrets = 3; */ public Builder clearSecrets() { if (secretsBuilder_ == null) { secrets_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { secretsBuilder_.clear(); } return this; } /** *
       * These static secrets can be used by :ref:`SdsSecretConfig
       * <envoy_api_msg_auth.SdsSecretConfig>`
       * 
* * repeated .envoy.api.v2.auth.Secret secrets = 3; */ public Builder removeSecrets(int index) { if (secretsBuilder_ == null) { ensureSecretsIsMutable(); secrets_.remove(index); onChanged(); } else { secretsBuilder_.remove(index); } return this; } /** *
       * These static secrets can be used by :ref:`SdsSecretConfig
       * <envoy_api_msg_auth.SdsSecretConfig>`
       * 
* * repeated .envoy.api.v2.auth.Secret secrets = 3; */ public io.envoyproxy.envoy.api.v2.auth.Secret.Builder getSecretsBuilder( int index) { return getSecretsFieldBuilder().getBuilder(index); } /** *
       * These static secrets can be used by :ref:`SdsSecretConfig
       * <envoy_api_msg_auth.SdsSecretConfig>`
       * 
* * repeated .envoy.api.v2.auth.Secret secrets = 3; */ public io.envoyproxy.envoy.api.v2.auth.SecretOrBuilder getSecretsOrBuilder( int index) { if (secretsBuilder_ == null) { return secrets_.get(index); } else { return secretsBuilder_.getMessageOrBuilder(index); } } /** *
       * These static secrets can be used by :ref:`SdsSecretConfig
       * <envoy_api_msg_auth.SdsSecretConfig>`
       * 
* * repeated .envoy.api.v2.auth.Secret secrets = 3; */ public java.util.List getSecretsOrBuilderList() { if (secretsBuilder_ != null) { return secretsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(secrets_); } } /** *
       * These static secrets can be used by :ref:`SdsSecretConfig
       * <envoy_api_msg_auth.SdsSecretConfig>`
       * 
* * repeated .envoy.api.v2.auth.Secret secrets = 3; */ public io.envoyproxy.envoy.api.v2.auth.Secret.Builder addSecretsBuilder() { return getSecretsFieldBuilder().addBuilder( io.envoyproxy.envoy.api.v2.auth.Secret.getDefaultInstance()); } /** *
       * These static secrets can be used by :ref:`SdsSecretConfig
       * <envoy_api_msg_auth.SdsSecretConfig>`
       * 
* * repeated .envoy.api.v2.auth.Secret secrets = 3; */ public io.envoyproxy.envoy.api.v2.auth.Secret.Builder addSecretsBuilder( int index) { return getSecretsFieldBuilder().addBuilder( index, io.envoyproxy.envoy.api.v2.auth.Secret.getDefaultInstance()); } /** *
       * These static secrets can be used by :ref:`SdsSecretConfig
       * <envoy_api_msg_auth.SdsSecretConfig>`
       * 
* * repeated .envoy.api.v2.auth.Secret secrets = 3; */ public java.util.List getSecretsBuilderList() { return getSecretsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.api.v2.auth.Secret, io.envoyproxy.envoy.api.v2.auth.Secret.Builder, io.envoyproxy.envoy.api.v2.auth.SecretOrBuilder> getSecretsFieldBuilder() { if (secretsBuilder_ == null) { secretsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.api.v2.auth.Secret, io.envoyproxy.envoy.api.v2.auth.Secret.Builder, io.envoyproxy.envoy.api.v2.auth.SecretOrBuilder>( secrets_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); secrets_ = null; } return secretsBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:envoy.config.bootstrap.v2.Bootstrap.StaticResources) } // @@protoc_insertion_point(class_scope:envoy.config.bootstrap.v2.Bootstrap.StaticResources) private static final io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources(); } public static io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public StaticResources parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { 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.v2.Bootstrap.StaticResources getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DynamicResourcesOrBuilder extends // @@protoc_insertion_point(interface_extends:envoy.config.bootstrap.v2.Bootstrap.DynamicResources) com.google.protobuf.MessageOrBuilder { /** *
     * All :ref:`Listeners <envoy_api_msg_Listener>` are provided by a single
     * :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
     * 
* * .envoy.api.v2.core.ConfigSource lds_config = 1; * @return Whether the ldsConfig field is set. */ boolean hasLdsConfig(); /** *
     * All :ref:`Listeners <envoy_api_msg_Listener>` are provided by a single
     * :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
     * 
* * .envoy.api.v2.core.ConfigSource lds_config = 1; * @return The ldsConfig. */ io.envoyproxy.envoy.api.v2.core.ConfigSource getLdsConfig(); /** *
     * All :ref:`Listeners <envoy_api_msg_Listener>` are provided by a single
     * :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
     * 
* * .envoy.api.v2.core.ConfigSource lds_config = 1; */ io.envoyproxy.envoy.api.v2.core.ConfigSourceOrBuilder getLdsConfigOrBuilder(); /** *
     * All post-bootstrap :ref:`Cluster <envoy_api_msg_Cluster>` definitions are
     * provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
     * configuration source.
     * 
* * .envoy.api.v2.core.ConfigSource cds_config = 2; * @return Whether the cdsConfig field is set. */ boolean hasCdsConfig(); /** *
     * All post-bootstrap :ref:`Cluster <envoy_api_msg_Cluster>` definitions are
     * provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
     * configuration source.
     * 
* * .envoy.api.v2.core.ConfigSource cds_config = 2; * @return The cdsConfig. */ io.envoyproxy.envoy.api.v2.core.ConfigSource getCdsConfig(); /** *
     * All post-bootstrap :ref:`Cluster <envoy_api_msg_Cluster>` definitions are
     * provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
     * configuration source.
     * 
* * .envoy.api.v2.core.ConfigSource cds_config = 2; */ io.envoyproxy.envoy.api.v2.core.ConfigSourceOrBuilder getCdsConfigOrBuilder(); /** *
     * A single :ref:`ADS <config_overview_ads>` source may be optionally
     * specified. This must have :ref:`api_type
     * <envoy_api_field_core.ApiConfigSource.api_type>` :ref:`GRPC
     * <envoy_api_enum_value_core.ApiConfigSource.ApiType.GRPC>`. Only
     * :ref:`ConfigSources <envoy_api_msg_core.ConfigSource>` that have
     * the :ref:`ads <envoy_api_field_core.ConfigSource.ads>` field set will be
     * streamed on the ADS channel.
     * 
* * .envoy.api.v2.core.ApiConfigSource ads_config = 3; * @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_api_field_core.ApiConfigSource.api_type>` :ref:`GRPC
     * <envoy_api_enum_value_core.ApiConfigSource.ApiType.GRPC>`. Only
     * :ref:`ConfigSources <envoy_api_msg_core.ConfigSource>` that have
     * the :ref:`ads <envoy_api_field_core.ConfigSource.ads>` field set will be
     * streamed on the ADS channel.
     * 
* * .envoy.api.v2.core.ApiConfigSource ads_config = 3; * @return The adsConfig. */ io.envoyproxy.envoy.api.v2.core.ApiConfigSource getAdsConfig(); /** *
     * A single :ref:`ADS <config_overview_ads>` source may be optionally
     * specified. This must have :ref:`api_type
     * <envoy_api_field_core.ApiConfigSource.api_type>` :ref:`GRPC
     * <envoy_api_enum_value_core.ApiConfigSource.ApiType.GRPC>`. Only
     * :ref:`ConfigSources <envoy_api_msg_core.ConfigSource>` that have
     * the :ref:`ads <envoy_api_field_core.ConfigSource.ads>` field set will be
     * streamed on the ADS channel.
     * 
* * .envoy.api.v2.core.ApiConfigSource ads_config = 3; */ io.envoyproxy.envoy.api.v2.core.ApiConfigSourceOrBuilder getAdsConfigOrBuilder(); } /** * Protobuf type {@code envoy.config.bootstrap.v2.Bootstrap.DynamicResources} */ public static final class DynamicResources extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:envoy.config.bootstrap.v2.Bootstrap.DynamicResources) DynamicResourcesOrBuilder { private static final long serialVersionUID = 0L; // Use DynamicResources.newBuilder() to construct. private DynamicResources(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DynamicResources() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DynamicResources(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.config.bootstrap.v2.BootstrapProto.internal_static_envoy_config_bootstrap_v2_Bootstrap_DynamicResources_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.config.bootstrap.v2.BootstrapProto.internal_static_envoy_config_bootstrap_v2_Bootstrap_DynamicResources_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources.class, io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources.Builder.class); } private int bitField0_; public static final int LDS_CONFIG_FIELD_NUMBER = 1; private io.envoyproxy.envoy.api.v2.core.ConfigSource ldsConfig_; /** *
     * All :ref:`Listeners <envoy_api_msg_Listener>` are provided by a single
     * :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
     * 
* * .envoy.api.v2.core.ConfigSource lds_config = 1; * @return Whether the ldsConfig field is set. */ @java.lang.Override public boolean hasLdsConfig() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * All :ref:`Listeners <envoy_api_msg_Listener>` are provided by a single
     * :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
     * 
* * .envoy.api.v2.core.ConfigSource lds_config = 1; * @return The ldsConfig. */ @java.lang.Override public io.envoyproxy.envoy.api.v2.core.ConfigSource getLdsConfig() { return ldsConfig_ == null ? io.envoyproxy.envoy.api.v2.core.ConfigSource.getDefaultInstance() : ldsConfig_; } /** *
     * All :ref:`Listeners <envoy_api_msg_Listener>` are provided by a single
     * :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
     * 
* * .envoy.api.v2.core.ConfigSource lds_config = 1; */ @java.lang.Override public io.envoyproxy.envoy.api.v2.core.ConfigSourceOrBuilder getLdsConfigOrBuilder() { return ldsConfig_ == null ? io.envoyproxy.envoy.api.v2.core.ConfigSource.getDefaultInstance() : ldsConfig_; } public static final int CDS_CONFIG_FIELD_NUMBER = 2; private io.envoyproxy.envoy.api.v2.core.ConfigSource cdsConfig_; /** *
     * All post-bootstrap :ref:`Cluster <envoy_api_msg_Cluster>` definitions are
     * provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
     * configuration source.
     * 
* * .envoy.api.v2.core.ConfigSource cds_config = 2; * @return Whether the cdsConfig field is set. */ @java.lang.Override public boolean hasCdsConfig() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * All post-bootstrap :ref:`Cluster <envoy_api_msg_Cluster>` definitions are
     * provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
     * configuration source.
     * 
* * .envoy.api.v2.core.ConfigSource cds_config = 2; * @return The cdsConfig. */ @java.lang.Override public io.envoyproxy.envoy.api.v2.core.ConfigSource getCdsConfig() { return cdsConfig_ == null ? io.envoyproxy.envoy.api.v2.core.ConfigSource.getDefaultInstance() : cdsConfig_; } /** *
     * All post-bootstrap :ref:`Cluster <envoy_api_msg_Cluster>` definitions are
     * provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
     * configuration source.
     * 
* * .envoy.api.v2.core.ConfigSource cds_config = 2; */ @java.lang.Override public io.envoyproxy.envoy.api.v2.core.ConfigSourceOrBuilder getCdsConfigOrBuilder() { return cdsConfig_ == null ? io.envoyproxy.envoy.api.v2.core.ConfigSource.getDefaultInstance() : cdsConfig_; } public static final int ADS_CONFIG_FIELD_NUMBER = 3; private io.envoyproxy.envoy.api.v2.core.ApiConfigSource adsConfig_; /** *
     * A single :ref:`ADS <config_overview_ads>` source may be optionally
     * specified. This must have :ref:`api_type
     * <envoy_api_field_core.ApiConfigSource.api_type>` :ref:`GRPC
     * <envoy_api_enum_value_core.ApiConfigSource.ApiType.GRPC>`. Only
     * :ref:`ConfigSources <envoy_api_msg_core.ConfigSource>` that have
     * the :ref:`ads <envoy_api_field_core.ConfigSource.ads>` field set will be
     * streamed on the ADS channel.
     * 
* * .envoy.api.v2.core.ApiConfigSource ads_config = 3; * @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_api_field_core.ApiConfigSource.api_type>` :ref:`GRPC
     * <envoy_api_enum_value_core.ApiConfigSource.ApiType.GRPC>`. Only
     * :ref:`ConfigSources <envoy_api_msg_core.ConfigSource>` that have
     * the :ref:`ads <envoy_api_field_core.ConfigSource.ads>` field set will be
     * streamed on the ADS channel.
     * 
* * .envoy.api.v2.core.ApiConfigSource ads_config = 3; * @return The adsConfig. */ @java.lang.Override public io.envoyproxy.envoy.api.v2.core.ApiConfigSource getAdsConfig() { return adsConfig_ == null ? io.envoyproxy.envoy.api.v2.core.ApiConfigSource.getDefaultInstance() : adsConfig_; } /** *
     * A single :ref:`ADS <config_overview_ads>` source may be optionally
     * specified. This must have :ref:`api_type
     * <envoy_api_field_core.ApiConfigSource.api_type>` :ref:`GRPC
     * <envoy_api_enum_value_core.ApiConfigSource.ApiType.GRPC>`. Only
     * :ref:`ConfigSources <envoy_api_msg_core.ConfigSource>` that have
     * the :ref:`ads <envoy_api_field_core.ConfigSource.ads>` field set will be
     * streamed on the ADS channel.
     * 
* * .envoy.api.v2.core.ApiConfigSource ads_config = 3; */ @java.lang.Override public io.envoyproxy.envoy.api.v2.core.ApiConfigSourceOrBuilder getAdsConfigOrBuilder() { return adsConfig_ == null ? io.envoyproxy.envoy.api.v2.core.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()); } 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()); } 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.v2.Bootstrap.DynamicResources)) { return super.equals(obj); } io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources other = (io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources) obj; if (hasLdsConfig() != other.hasLdsConfig()) return false; if (hasLdsConfig()) { if (!getLdsConfig() .equals(other.getLdsConfig())) return false; } if (hasCdsConfig() != other.hasCdsConfig()) return false; if (hasCdsConfig()) { if (!getCdsConfig() .equals(other.getCdsConfig())) return false; } if (hasAdsConfig() != other.hasAdsConfig()) return false; if (hasAdsConfig()) { if (!getAdsConfig() .equals(other.getAdsConfig())) return false; } if (!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(); } if (hasCdsConfig()) { hash = (37 * hash) + CDS_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getCdsConfig().hashCode(); } if (hasAdsConfig()) { hash = (37 * hash) + ADS_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getAdsConfig().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code envoy.config.bootstrap.v2.Bootstrap.DynamicResources} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:envoy.config.bootstrap.v2.Bootstrap.DynamicResources) io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResourcesOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.config.bootstrap.v2.BootstrapProto.internal_static_envoy_config_bootstrap_v2_Bootstrap_DynamicResources_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.config.bootstrap.v2.BootstrapProto.internal_static_envoy_config_bootstrap_v2_Bootstrap_DynamicResources_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources.class, io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources.Builder.class); } // Construct using io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getLdsConfigFieldBuilder(); getCdsConfigFieldBuilder(); getAdsConfigFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; ldsConfig_ = null; if (ldsConfigBuilder_ != null) { ldsConfigBuilder_.dispose(); ldsConfigBuilder_ = null; } cdsConfig_ = null; if (cdsConfigBuilder_ != null) { cdsConfigBuilder_.dispose(); cdsConfigBuilder_ = null; } 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.v2.BootstrapProto.internal_static_envoy_config_bootstrap_v2_Bootstrap_DynamicResources_descriptor; } @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources getDefaultInstanceForType() { return io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources.getDefaultInstance(); } @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources build() { io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources buildPartial() { io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources result = new io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(io.envoyproxy.envoy.config.bootstrap.v2.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.cdsConfig_ = cdsConfigBuilder_ == null ? cdsConfig_ : cdsConfigBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 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.v2.Bootstrap.DynamicResources) { return mergeFrom((io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources other) { if (other == io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources.getDefaultInstance()) return this; if (other.hasLdsConfig()) { mergeLdsConfig(other.getLdsConfig()); } if (other.hasCdsConfig()) { mergeCdsConfig(other.getCdsConfig()); } if (other.hasAdsConfig()) { mergeAdsConfig(other.getAdsConfig()); } this.mergeUnknownFields(other.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_ |= 0x00000002; break; } // case 18 case 26: { input.readMessage( getAdsConfigFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; 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 io.envoyproxy.envoy.api.v2.core.ConfigSource ldsConfig_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.api.v2.core.ConfigSource, io.envoyproxy.envoy.api.v2.core.ConfigSource.Builder, io.envoyproxy.envoy.api.v2.core.ConfigSourceOrBuilder> ldsConfigBuilder_; /** *
       * All :ref:`Listeners <envoy_api_msg_Listener>` are provided by a single
       * :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
       * 
* * .envoy.api.v2.core.ConfigSource lds_config = 1; * @return Whether the ldsConfig field is set. */ public boolean hasLdsConfig() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * All :ref:`Listeners <envoy_api_msg_Listener>` are provided by a single
       * :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
       * 
* * .envoy.api.v2.core.ConfigSource lds_config = 1; * @return The ldsConfig. */ public io.envoyproxy.envoy.api.v2.core.ConfigSource getLdsConfig() { if (ldsConfigBuilder_ == null) { return ldsConfig_ == null ? io.envoyproxy.envoy.api.v2.core.ConfigSource.getDefaultInstance() : ldsConfig_; } else { return ldsConfigBuilder_.getMessage(); } } /** *
       * All :ref:`Listeners <envoy_api_msg_Listener>` are provided by a single
       * :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
       * 
* * .envoy.api.v2.core.ConfigSource lds_config = 1; */ public Builder setLdsConfig(io.envoyproxy.envoy.api.v2.core.ConfigSource value) { if (ldsConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ldsConfig_ = value; } else { ldsConfigBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * All :ref:`Listeners <envoy_api_msg_Listener>` are provided by a single
       * :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
       * 
* * .envoy.api.v2.core.ConfigSource lds_config = 1; */ public Builder setLdsConfig( io.envoyproxy.envoy.api.v2.core.ConfigSource.Builder builderForValue) { if (ldsConfigBuilder_ == null) { ldsConfig_ = builderForValue.build(); } else { ldsConfigBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * All :ref:`Listeners <envoy_api_msg_Listener>` are provided by a single
       * :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
       * 
* * .envoy.api.v2.core.ConfigSource lds_config = 1; */ public Builder mergeLdsConfig(io.envoyproxy.envoy.api.v2.core.ConfigSource value) { if (ldsConfigBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && ldsConfig_ != null && ldsConfig_ != io.envoyproxy.envoy.api.v2.core.ConfigSource.getDefaultInstance()) { getLdsConfigBuilder().mergeFrom(value); } else { ldsConfig_ = value; } } else { ldsConfigBuilder_.mergeFrom(value); } if (ldsConfig_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** *
       * All :ref:`Listeners <envoy_api_msg_Listener>` are provided by a single
       * :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
       * 
* * .envoy.api.v2.core.ConfigSource lds_config = 1; */ public Builder clearLdsConfig() { bitField0_ = (bitField0_ & ~0x00000001); ldsConfig_ = null; if (ldsConfigBuilder_ != null) { ldsConfigBuilder_.dispose(); ldsConfigBuilder_ = null; } onChanged(); return this; } /** *
       * All :ref:`Listeners <envoy_api_msg_Listener>` are provided by a single
       * :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
       * 
* * .envoy.api.v2.core.ConfigSource lds_config = 1; */ public io.envoyproxy.envoy.api.v2.core.ConfigSource.Builder getLdsConfigBuilder() { bitField0_ |= 0x00000001; onChanged(); return getLdsConfigFieldBuilder().getBuilder(); } /** *
       * All :ref:`Listeners <envoy_api_msg_Listener>` are provided by a single
       * :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
       * 
* * .envoy.api.v2.core.ConfigSource lds_config = 1; */ public io.envoyproxy.envoy.api.v2.core.ConfigSourceOrBuilder getLdsConfigOrBuilder() { if (ldsConfigBuilder_ != null) { return ldsConfigBuilder_.getMessageOrBuilder(); } else { return ldsConfig_ == null ? io.envoyproxy.envoy.api.v2.core.ConfigSource.getDefaultInstance() : ldsConfig_; } } /** *
       * All :ref:`Listeners <envoy_api_msg_Listener>` are provided by a single
       * :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
       * 
* * .envoy.api.v2.core.ConfigSource lds_config = 1; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.api.v2.core.ConfigSource, io.envoyproxy.envoy.api.v2.core.ConfigSource.Builder, io.envoyproxy.envoy.api.v2.core.ConfigSourceOrBuilder> getLdsConfigFieldBuilder() { if (ldsConfigBuilder_ == null) { ldsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.api.v2.core.ConfigSource, io.envoyproxy.envoy.api.v2.core.ConfigSource.Builder, io.envoyproxy.envoy.api.v2.core.ConfigSourceOrBuilder>( getLdsConfig(), getParentForChildren(), isClean()); ldsConfig_ = null; } return ldsConfigBuilder_; } private io.envoyproxy.envoy.api.v2.core.ConfigSource cdsConfig_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.api.v2.core.ConfigSource, io.envoyproxy.envoy.api.v2.core.ConfigSource.Builder, io.envoyproxy.envoy.api.v2.core.ConfigSourceOrBuilder> cdsConfigBuilder_; /** *
       * All post-bootstrap :ref:`Cluster <envoy_api_msg_Cluster>` definitions are
       * provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
       * configuration source.
       * 
* * .envoy.api.v2.core.ConfigSource cds_config = 2; * @return Whether the cdsConfig field is set. */ public boolean hasCdsConfig() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * All post-bootstrap :ref:`Cluster <envoy_api_msg_Cluster>` definitions are
       * provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
       * configuration source.
       * 
* * .envoy.api.v2.core.ConfigSource cds_config = 2; * @return The cdsConfig. */ public io.envoyproxy.envoy.api.v2.core.ConfigSource getCdsConfig() { if (cdsConfigBuilder_ == null) { return cdsConfig_ == null ? io.envoyproxy.envoy.api.v2.core.ConfigSource.getDefaultInstance() : cdsConfig_; } else { return cdsConfigBuilder_.getMessage(); } } /** *
       * All post-bootstrap :ref:`Cluster <envoy_api_msg_Cluster>` definitions are
       * provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
       * configuration source.
       * 
* * .envoy.api.v2.core.ConfigSource cds_config = 2; */ public Builder setCdsConfig(io.envoyproxy.envoy.api.v2.core.ConfigSource value) { if (cdsConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } cdsConfig_ = value; } else { cdsConfigBuilder_.setMessage(value); } bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * All post-bootstrap :ref:`Cluster <envoy_api_msg_Cluster>` definitions are
       * provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
       * configuration source.
       * 
* * .envoy.api.v2.core.ConfigSource cds_config = 2; */ public Builder setCdsConfig( io.envoyproxy.envoy.api.v2.core.ConfigSource.Builder builderForValue) { if (cdsConfigBuilder_ == null) { cdsConfig_ = builderForValue.build(); } else { cdsConfigBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * All post-bootstrap :ref:`Cluster <envoy_api_msg_Cluster>` definitions are
       * provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
       * configuration source.
       * 
* * .envoy.api.v2.core.ConfigSource cds_config = 2; */ public Builder mergeCdsConfig(io.envoyproxy.envoy.api.v2.core.ConfigSource value) { if (cdsConfigBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && cdsConfig_ != null && cdsConfig_ != io.envoyproxy.envoy.api.v2.core.ConfigSource.getDefaultInstance()) { getCdsConfigBuilder().mergeFrom(value); } else { cdsConfig_ = value; } } else { cdsConfigBuilder_.mergeFrom(value); } if (cdsConfig_ != null) { bitField0_ |= 0x00000002; onChanged(); } return this; } /** *
       * All post-bootstrap :ref:`Cluster <envoy_api_msg_Cluster>` definitions are
       * provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
       * configuration source.
       * 
* * .envoy.api.v2.core.ConfigSource cds_config = 2; */ public Builder clearCdsConfig() { bitField0_ = (bitField0_ & ~0x00000002); cdsConfig_ = null; if (cdsConfigBuilder_ != null) { cdsConfigBuilder_.dispose(); cdsConfigBuilder_ = null; } onChanged(); return this; } /** *
       * All post-bootstrap :ref:`Cluster <envoy_api_msg_Cluster>` definitions are
       * provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
       * configuration source.
       * 
* * .envoy.api.v2.core.ConfigSource cds_config = 2; */ public io.envoyproxy.envoy.api.v2.core.ConfigSource.Builder getCdsConfigBuilder() { bitField0_ |= 0x00000002; onChanged(); return getCdsConfigFieldBuilder().getBuilder(); } /** *
       * All post-bootstrap :ref:`Cluster <envoy_api_msg_Cluster>` definitions are
       * provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
       * configuration source.
       * 
* * .envoy.api.v2.core.ConfigSource cds_config = 2; */ public io.envoyproxy.envoy.api.v2.core.ConfigSourceOrBuilder getCdsConfigOrBuilder() { if (cdsConfigBuilder_ != null) { return cdsConfigBuilder_.getMessageOrBuilder(); } else { return cdsConfig_ == null ? io.envoyproxy.envoy.api.v2.core.ConfigSource.getDefaultInstance() : cdsConfig_; } } /** *
       * All post-bootstrap :ref:`Cluster <envoy_api_msg_Cluster>` definitions are
       * provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
       * configuration source.
       * 
* * .envoy.api.v2.core.ConfigSource cds_config = 2; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.api.v2.core.ConfigSource, io.envoyproxy.envoy.api.v2.core.ConfigSource.Builder, io.envoyproxy.envoy.api.v2.core.ConfigSourceOrBuilder> getCdsConfigFieldBuilder() { if (cdsConfigBuilder_ == null) { cdsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.api.v2.core.ConfigSource, io.envoyproxy.envoy.api.v2.core.ConfigSource.Builder, io.envoyproxy.envoy.api.v2.core.ConfigSourceOrBuilder>( getCdsConfig(), getParentForChildren(), isClean()); cdsConfig_ = null; } return cdsConfigBuilder_; } private io.envoyproxy.envoy.api.v2.core.ApiConfigSource adsConfig_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.api.v2.core.ApiConfigSource, io.envoyproxy.envoy.api.v2.core.ApiConfigSource.Builder, io.envoyproxy.envoy.api.v2.core.ApiConfigSourceOrBuilder> adsConfigBuilder_; /** *
       * A single :ref:`ADS <config_overview_ads>` source may be optionally
       * specified. This must have :ref:`api_type
       * <envoy_api_field_core.ApiConfigSource.api_type>` :ref:`GRPC
       * <envoy_api_enum_value_core.ApiConfigSource.ApiType.GRPC>`. Only
       * :ref:`ConfigSources <envoy_api_msg_core.ConfigSource>` that have
       * the :ref:`ads <envoy_api_field_core.ConfigSource.ads>` field set will be
       * streamed on the ADS channel.
       * 
* * .envoy.api.v2.core.ApiConfigSource ads_config = 3; * @return Whether the adsConfig field is set. */ 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_api_field_core.ApiConfigSource.api_type>` :ref:`GRPC
       * <envoy_api_enum_value_core.ApiConfigSource.ApiType.GRPC>`. Only
       * :ref:`ConfigSources <envoy_api_msg_core.ConfigSource>` that have
       * the :ref:`ads <envoy_api_field_core.ConfigSource.ads>` field set will be
       * streamed on the ADS channel.
       * 
* * .envoy.api.v2.core.ApiConfigSource ads_config = 3; * @return The adsConfig. */ public io.envoyproxy.envoy.api.v2.core.ApiConfigSource getAdsConfig() { if (adsConfigBuilder_ == null) { return adsConfig_ == null ? io.envoyproxy.envoy.api.v2.core.ApiConfigSource.getDefaultInstance() : adsConfig_; } else { return adsConfigBuilder_.getMessage(); } } /** *
       * A single :ref:`ADS <config_overview_ads>` source may be optionally
       * specified. This must have :ref:`api_type
       * <envoy_api_field_core.ApiConfigSource.api_type>` :ref:`GRPC
       * <envoy_api_enum_value_core.ApiConfigSource.ApiType.GRPC>`. Only
       * :ref:`ConfigSources <envoy_api_msg_core.ConfigSource>` that have
       * the :ref:`ads <envoy_api_field_core.ConfigSource.ads>` field set will be
       * streamed on the ADS channel.
       * 
* * .envoy.api.v2.core.ApiConfigSource ads_config = 3; */ public Builder setAdsConfig(io.envoyproxy.envoy.api.v2.core.ApiConfigSource value) { if (adsConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } adsConfig_ = value; } else { adsConfigBuilder_.setMessage(value); } bitField0_ |= 0x00000004; onChanged(); return this; } /** *
       * A single :ref:`ADS <config_overview_ads>` source may be optionally
       * specified. This must have :ref:`api_type
       * <envoy_api_field_core.ApiConfigSource.api_type>` :ref:`GRPC
       * <envoy_api_enum_value_core.ApiConfigSource.ApiType.GRPC>`. Only
       * :ref:`ConfigSources <envoy_api_msg_core.ConfigSource>` that have
       * the :ref:`ads <envoy_api_field_core.ConfigSource.ads>` field set will be
       * streamed on the ADS channel.
       * 
* * .envoy.api.v2.core.ApiConfigSource ads_config = 3; */ public Builder setAdsConfig( io.envoyproxy.envoy.api.v2.core.ApiConfigSource.Builder builderForValue) { if (adsConfigBuilder_ == null) { adsConfig_ = builderForValue.build(); } else { adsConfigBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; onChanged(); return this; } /** *
       * A single :ref:`ADS <config_overview_ads>` source may be optionally
       * specified. This must have :ref:`api_type
       * <envoy_api_field_core.ApiConfigSource.api_type>` :ref:`GRPC
       * <envoy_api_enum_value_core.ApiConfigSource.ApiType.GRPC>`. Only
       * :ref:`ConfigSources <envoy_api_msg_core.ConfigSource>` that have
       * the :ref:`ads <envoy_api_field_core.ConfigSource.ads>` field set will be
       * streamed on the ADS channel.
       * 
* * .envoy.api.v2.core.ApiConfigSource ads_config = 3; */ public Builder mergeAdsConfig(io.envoyproxy.envoy.api.v2.core.ApiConfigSource value) { if (adsConfigBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && adsConfig_ != null && adsConfig_ != io.envoyproxy.envoy.api.v2.core.ApiConfigSource.getDefaultInstance()) { getAdsConfigBuilder().mergeFrom(value); } else { adsConfig_ = value; } } else { adsConfigBuilder_.mergeFrom(value); } if (adsConfig_ != null) { bitField0_ |= 0x00000004; onChanged(); } return this; } /** *
       * A single :ref:`ADS <config_overview_ads>` source may be optionally
       * specified. This must have :ref:`api_type
       * <envoy_api_field_core.ApiConfigSource.api_type>` :ref:`GRPC
       * <envoy_api_enum_value_core.ApiConfigSource.ApiType.GRPC>`. Only
       * :ref:`ConfigSources <envoy_api_msg_core.ConfigSource>` that have
       * the :ref:`ads <envoy_api_field_core.ConfigSource.ads>` field set will be
       * streamed on the ADS channel.
       * 
* * .envoy.api.v2.core.ApiConfigSource ads_config = 3; */ public Builder clearAdsConfig() { bitField0_ = (bitField0_ & ~0x00000004); 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_api_field_core.ApiConfigSource.api_type>` :ref:`GRPC
       * <envoy_api_enum_value_core.ApiConfigSource.ApiType.GRPC>`. Only
       * :ref:`ConfigSources <envoy_api_msg_core.ConfigSource>` that have
       * the :ref:`ads <envoy_api_field_core.ConfigSource.ads>` field set will be
       * streamed on the ADS channel.
       * 
* * .envoy.api.v2.core.ApiConfigSource ads_config = 3; */ public io.envoyproxy.envoy.api.v2.core.ApiConfigSource.Builder getAdsConfigBuilder() { bitField0_ |= 0x00000004; onChanged(); return getAdsConfigFieldBuilder().getBuilder(); } /** *
       * A single :ref:`ADS <config_overview_ads>` source may be optionally
       * specified. This must have :ref:`api_type
       * <envoy_api_field_core.ApiConfigSource.api_type>` :ref:`GRPC
       * <envoy_api_enum_value_core.ApiConfigSource.ApiType.GRPC>`. Only
       * :ref:`ConfigSources <envoy_api_msg_core.ConfigSource>` that have
       * the :ref:`ads <envoy_api_field_core.ConfigSource.ads>` field set will be
       * streamed on the ADS channel.
       * 
* * .envoy.api.v2.core.ApiConfigSource ads_config = 3; */ public io.envoyproxy.envoy.api.v2.core.ApiConfigSourceOrBuilder getAdsConfigOrBuilder() { if (adsConfigBuilder_ != null) { return adsConfigBuilder_.getMessageOrBuilder(); } else { return adsConfig_ == null ? io.envoyproxy.envoy.api.v2.core.ApiConfigSource.getDefaultInstance() : adsConfig_; } } /** *
       * A single :ref:`ADS <config_overview_ads>` source may be optionally
       * specified. This must have :ref:`api_type
       * <envoy_api_field_core.ApiConfigSource.api_type>` :ref:`GRPC
       * <envoy_api_enum_value_core.ApiConfigSource.ApiType.GRPC>`. Only
       * :ref:`ConfigSources <envoy_api_msg_core.ConfigSource>` that have
       * the :ref:`ads <envoy_api_field_core.ConfigSource.ads>` field set will be
       * streamed on the ADS channel.
       * 
* * .envoy.api.v2.core.ApiConfigSource ads_config = 3; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.api.v2.core.ApiConfigSource, io.envoyproxy.envoy.api.v2.core.ApiConfigSource.Builder, io.envoyproxy.envoy.api.v2.core.ApiConfigSourceOrBuilder> getAdsConfigFieldBuilder() { if (adsConfigBuilder_ == null) { adsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.api.v2.core.ApiConfigSource, io.envoyproxy.envoy.api.v2.core.ApiConfigSource.Builder, io.envoyproxy.envoy.api.v2.core.ApiConfigSourceOrBuilder>( getAdsConfig(), getParentForChildren(), isClean()); adsConfig_ = null; } return adsConfigBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:envoy.config.bootstrap.v2.Bootstrap.DynamicResources) } // @@protoc_insertion_point(class_scope:envoy.config.bootstrap.v2.Bootstrap.DynamicResources) private static final io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources(); } public static io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DynamicResources parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { 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.v2.Bootstrap.DynamicResources getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private int bitField0_; public static final int NODE_FIELD_NUMBER = 1; private io.envoyproxy.envoy.api.v2.core.Node node_; /** *
   * Node identity to present to the management server and for instance
   * identification purposes (e.g. in generated headers).
   * 
* * .envoy.api.v2.core.Node node = 1; * @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.api.v2.core.Node node = 1; * @return The node. */ @java.lang.Override public io.envoyproxy.envoy.api.v2.core.Node getNode() { return node_ == null ? io.envoyproxy.envoy.api.v2.core.Node.getDefaultInstance() : node_; } /** *
   * Node identity to present to the management server and for instance
   * identification purposes (e.g. in generated headers).
   * 
* * .envoy.api.v2.core.Node node = 1; */ @java.lang.Override public io.envoyproxy.envoy.api.v2.core.NodeOrBuilder getNodeOrBuilder() { return node_ == null ? io.envoyproxy.envoy.api.v2.core.Node.getDefaultInstance() : node_; } public static final int STATIC_RESOURCES_FIELD_NUMBER = 2; private io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources staticResources_; /** *
   * Statically specified resources.
   * 
* * .envoy.config.bootstrap.v2.Bootstrap.StaticResources static_resources = 2; * @return Whether the staticResources field is set. */ @java.lang.Override public boolean hasStaticResources() { return ((bitField0_ & 0x00000002) != 0); } /** *
   * Statically specified resources.
   * 
* * .envoy.config.bootstrap.v2.Bootstrap.StaticResources static_resources = 2; * @return The staticResources. */ @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources getStaticResources() { return staticResources_ == null ? io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources.getDefaultInstance() : staticResources_; } /** *
   * Statically specified resources.
   * 
* * .envoy.config.bootstrap.v2.Bootstrap.StaticResources static_resources = 2; */ @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResourcesOrBuilder getStaticResourcesOrBuilder() { return staticResources_ == null ? io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources.getDefaultInstance() : staticResources_; } public static final int DYNAMIC_RESOURCES_FIELD_NUMBER = 3; private io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources dynamicResources_; /** *
   * xDS configuration sources.
   * 
* * .envoy.config.bootstrap.v2.Bootstrap.DynamicResources dynamic_resources = 3; * @return Whether the dynamicResources field is set. */ @java.lang.Override public boolean hasDynamicResources() { return ((bitField0_ & 0x00000004) != 0); } /** *
   * xDS configuration sources.
   * 
* * .envoy.config.bootstrap.v2.Bootstrap.DynamicResources dynamic_resources = 3; * @return The dynamicResources. */ @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources getDynamicResources() { return dynamicResources_ == null ? io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources.getDefaultInstance() : dynamicResources_; } /** *
   * xDS configuration sources.
   * 
* * .envoy.config.bootstrap.v2.Bootstrap.DynamicResources dynamic_resources = 3; */ @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResourcesOrBuilder getDynamicResourcesOrBuilder() { return dynamicResources_ == null ? io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources.getDefaultInstance() : dynamicResources_; } public static final int CLUSTER_MANAGER_FIELD_NUMBER = 4; private io.envoyproxy.envoy.config.bootstrap.v2.ClusterManager clusterManager_; /** *
   * Configuration for the cluster manager which owns all upstream clusters
   * within the server.
   * 
* * .envoy.config.bootstrap.v2.ClusterManager cluster_manager = 4; * @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.v2.ClusterManager cluster_manager = 4; * @return The clusterManager. */ @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v2.ClusterManager getClusterManager() { return clusterManager_ == null ? io.envoyproxy.envoy.config.bootstrap.v2.ClusterManager.getDefaultInstance() : clusterManager_; } /** *
   * Configuration for the cluster manager which owns all upstream clusters
   * within the server.
   * 
* * .envoy.config.bootstrap.v2.ClusterManager cluster_manager = 4; */ @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v2.ClusterManagerOrBuilder getClusterManagerOrBuilder() { return clusterManager_ == null ? io.envoyproxy.envoy.config.bootstrap.v2.ClusterManager.getDefaultInstance() : clusterManager_; } public static final int HDS_CONFIG_FIELD_NUMBER = 14; private io.envoyproxy.envoy.api.v2.core.ApiConfigSource hdsConfig_; /** *
   * Health discovery service config option.
   * (:ref:`core.ApiConfigSource <envoy_api_msg_core.ApiConfigSource>`)
   * 
* * .envoy.api.v2.core.ApiConfigSource hds_config = 14; * @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_api_msg_core.ApiConfigSource>`)
   * 
* * .envoy.api.v2.core.ApiConfigSource hds_config = 14; * @return The hdsConfig. */ @java.lang.Override public io.envoyproxy.envoy.api.v2.core.ApiConfigSource getHdsConfig() { return hdsConfig_ == null ? io.envoyproxy.envoy.api.v2.core.ApiConfigSource.getDefaultInstance() : hdsConfig_; } /** *
   * Health discovery service config option.
   * (:ref:`core.ApiConfigSource <envoy_api_msg_core.ApiConfigSource>`)
   * 
* * .envoy.api.v2.core.ApiConfigSource hds_config = 14; */ @java.lang.Override public io.envoyproxy.envoy.api.v2.core.ApiConfigSourceOrBuilder getHdsConfigOrBuilder() { return hdsConfig_ == null ? io.envoyproxy.envoy.api.v2.core.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.v2.StatsSink stats_sinks = 6; */ @java.lang.Override public java.util.List getStatsSinksList() { return statsSinks_; } /** *
   * Optional set of stats sinks.
   * 
* * repeated .envoy.config.metrics.v2.StatsSink stats_sinks = 6; */ @java.lang.Override public java.util.List getStatsSinksOrBuilderList() { return statsSinks_; } /** *
   * Optional set of stats sinks.
   * 
* * repeated .envoy.config.metrics.v2.StatsSink stats_sinks = 6; */ @java.lang.Override public int getStatsSinksCount() { return statsSinks_.size(); } /** *
   * Optional set of stats sinks.
   * 
* * repeated .envoy.config.metrics.v2.StatsSink stats_sinks = 6; */ @java.lang.Override public io.envoyproxy.envoy.config.metrics.v2.StatsSink getStatsSinks(int index) { return statsSinks_.get(index); } /** *
   * Optional set of stats sinks.
   * 
* * repeated .envoy.config.metrics.v2.StatsSink stats_sinks = 6; */ @java.lang.Override public io.envoyproxy.envoy.config.metrics.v2.StatsSinkOrBuilder getStatsSinksOrBuilder( int index) { return statsSinks_.get(index); } public static final int STATS_CONFIG_FIELD_NUMBER = 13; private io.envoyproxy.envoy.config.metrics.v2.StatsConfig statsConfig_; /** *
   * Configuration for internal processing of stats.
   * 
* * .envoy.config.metrics.v2.StatsConfig stats_config = 13; * @return Whether the statsConfig field is set. */ @java.lang.Override public boolean hasStatsConfig() { return ((bitField0_ & 0x00000020) != 0); } /** *
   * Configuration for internal processing of stats.
   * 
* * .envoy.config.metrics.v2.StatsConfig stats_config = 13; * @return The statsConfig. */ @java.lang.Override public io.envoyproxy.envoy.config.metrics.v2.StatsConfig getStatsConfig() { return statsConfig_ == null ? io.envoyproxy.envoy.config.metrics.v2.StatsConfig.getDefaultInstance() : statsConfig_; } /** *
   * Configuration for internal processing of stats.
   * 
* * .envoy.config.metrics.v2.StatsConfig stats_config = 13; */ @java.lang.Override public io.envoyproxy.envoy.config.metrics.v2.StatsConfigOrBuilder getStatsConfigOrBuilder() { return statsConfig_ == null ? io.envoyproxy.envoy.config.metrics.v2.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).
   * 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_ & 0x00000040) != 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).
   * 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).
   * 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 WATCHDOG_FIELD_NUMBER = 8; private io.envoyproxy.envoy.config.bootstrap.v2.Watchdog watchdog_; /** *
   * Optional watchdog configuration.
   * 
* * .envoy.config.bootstrap.v2.Watchdog watchdog = 8; * @return Whether the watchdog field is set. */ @java.lang.Override public boolean hasWatchdog() { return ((bitField0_ & 0x00000080) != 0); } /** *
   * Optional watchdog configuration.
   * 
* * .envoy.config.bootstrap.v2.Watchdog watchdog = 8; * @return The watchdog. */ @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v2.Watchdog getWatchdog() { return watchdog_ == null ? io.envoyproxy.envoy.config.bootstrap.v2.Watchdog.getDefaultInstance() : watchdog_; } /** *
   * Optional watchdog configuration.
   * 
* * .envoy.config.bootstrap.v2.Watchdog watchdog = 8; */ @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v2.WatchdogOrBuilder getWatchdogOrBuilder() { return watchdog_ == null ? io.envoyproxy.envoy.config.bootstrap.v2.Watchdog.getDefaultInstance() : watchdog_; } public static final int TRACING_FIELD_NUMBER = 9; private io.envoyproxy.envoy.config.trace.v2.Tracing tracing_; /** *
   * Configuration for an external tracing provider.
   *
   * .. attention::
   *  This field has been deprecated in favor of :ref:`HttpConnectionManager.Tracing.provider
   *  <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.Tracing.provider>`.
   * 
* * .envoy.config.trace.v2.Tracing tracing = 9; * @return Whether the tracing field is set. */ @java.lang.Override public boolean hasTracing() { return ((bitField0_ & 0x00000100) != 0); } /** *
   * Configuration for an external tracing provider.
   *
   * .. attention::
   *  This field has been deprecated in favor of :ref:`HttpConnectionManager.Tracing.provider
   *  <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.Tracing.provider>`.
   * 
* * .envoy.config.trace.v2.Tracing tracing = 9; * @return The tracing. */ @java.lang.Override public io.envoyproxy.envoy.config.trace.v2.Tracing getTracing() { return tracing_ == null ? io.envoyproxy.envoy.config.trace.v2.Tracing.getDefaultInstance() : tracing_; } /** *
   * Configuration for an external tracing provider.
   *
   * .. attention::
   *  This field has been deprecated in favor of :ref:`HttpConnectionManager.Tracing.provider
   *  <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.Tracing.provider>`.
   * 
* * .envoy.config.trace.v2.Tracing tracing = 9; */ @java.lang.Override public io.envoyproxy.envoy.config.trace.v2.TracingOrBuilder getTracingOrBuilder() { return tracing_ == null ? io.envoyproxy.envoy.config.trace.v2.Tracing.getDefaultInstance() : tracing_; } public static final int RUNTIME_FIELD_NUMBER = 11; private io.envoyproxy.envoy.config.bootstrap.v2.Runtime runtime_; /** *
   * Configuration for the runtime configuration provider (deprecated). If not
   * specified, a “null” provider will be used which will result in all defaults
   * being used.
   * 
* * .envoy.config.bootstrap.v2.Runtime runtime = 11 [deprecated = true, (.envoy.annotations.disallowed_by_default) = true]; * @deprecated envoy.config.bootstrap.v2.Bootstrap.runtime is deprecated. * See envoy/config/bootstrap/v2/bootstrap.proto;l=130 * @return Whether the runtime field is set. */ @java.lang.Override @java.lang.Deprecated public boolean hasRuntime() { return ((bitField0_ & 0x00000200) != 0); } /** *
   * Configuration for the runtime configuration provider (deprecated). If not
   * specified, a “null” provider will be used which will result in all defaults
   * being used.
   * 
* * .envoy.config.bootstrap.v2.Runtime runtime = 11 [deprecated = true, (.envoy.annotations.disallowed_by_default) = true]; * @deprecated envoy.config.bootstrap.v2.Bootstrap.runtime is deprecated. * See envoy/config/bootstrap/v2/bootstrap.proto;l=130 * @return The runtime. */ @java.lang.Override @java.lang.Deprecated public io.envoyproxy.envoy.config.bootstrap.v2.Runtime getRuntime() { return runtime_ == null ? io.envoyproxy.envoy.config.bootstrap.v2.Runtime.getDefaultInstance() : runtime_; } /** *
   * Configuration for the runtime configuration provider (deprecated). If not
   * specified, a “null” provider will be used which will result in all defaults
   * being used.
   * 
* * .envoy.config.bootstrap.v2.Runtime runtime = 11 [deprecated = true, (.envoy.annotations.disallowed_by_default) = true]; */ @java.lang.Override @java.lang.Deprecated public io.envoyproxy.envoy.config.bootstrap.v2.RuntimeOrBuilder getRuntimeOrBuilder() { return runtime_ == null ? io.envoyproxy.envoy.config.bootstrap.v2.Runtime.getDefaultInstance() : runtime_; } public static final int LAYERED_RUNTIME_FIELD_NUMBER = 17; private io.envoyproxy.envoy.config.bootstrap.v2.LayeredRuntime layeredRuntime_; /** *
   * Configuration for the runtime configuration provider. If not
   * specified, a “null” provider will be used which will result in all defaults
   * being used.
   * 
* * .envoy.config.bootstrap.v2.LayeredRuntime layered_runtime = 17; * @return Whether the layeredRuntime field is set. */ @java.lang.Override public boolean hasLayeredRuntime() { return ((bitField0_ & 0x00000400) != 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.v2.LayeredRuntime layered_runtime = 17; * @return The layeredRuntime. */ @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v2.LayeredRuntime getLayeredRuntime() { return layeredRuntime_ == null ? io.envoyproxy.envoy.config.bootstrap.v2.LayeredRuntime.getDefaultInstance() : layeredRuntime_; } /** *
   * Configuration for the runtime configuration provider. If not
   * specified, a “null” provider will be used which will result in all defaults
   * being used.
   * 
* * .envoy.config.bootstrap.v2.LayeredRuntime layered_runtime = 17; */ @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v2.LayeredRuntimeOrBuilder getLayeredRuntimeOrBuilder() { return layeredRuntime_ == null ? io.envoyproxy.envoy.config.bootstrap.v2.LayeredRuntime.getDefaultInstance() : layeredRuntime_; } public static final int ADMIN_FIELD_NUMBER = 12; private io.envoyproxy.envoy.config.bootstrap.v2.Admin admin_; /** *
   * Configuration for the local administration HTTP server.
   * 
* * .envoy.config.bootstrap.v2.Admin admin = 12; * @return Whether the admin field is set. */ @java.lang.Override public boolean hasAdmin() { return ((bitField0_ & 0x00000800) != 0); } /** *
   * Configuration for the local administration HTTP server.
   * 
* * .envoy.config.bootstrap.v2.Admin admin = 12; * @return The admin. */ @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v2.Admin getAdmin() { return admin_ == null ? io.envoyproxy.envoy.config.bootstrap.v2.Admin.getDefaultInstance() : admin_; } /** *
   * Configuration for the local administration HTTP server.
   * 
* * .envoy.config.bootstrap.v2.Admin admin = 12; */ @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v2.AdminOrBuilder getAdminOrBuilder() { return admin_ == null ? io.envoyproxy.envoy.config.bootstrap.v2.Admin.getDefaultInstance() : admin_; } public static final int OVERLOAD_MANAGER_FIELD_NUMBER = 15; private io.envoyproxy.envoy.config.overload.v2alpha.OverloadManager overloadManager_; /** *
   * Optional overload manager configuration.
   * 
* * .envoy.config.overload.v2alpha.OverloadManager overload_manager = 15; * @return Whether the overloadManager field is set. */ @java.lang.Override public boolean hasOverloadManager() { return ((bitField0_ & 0x00001000) != 0); } /** *
   * Optional overload manager configuration.
   * 
* * .envoy.config.overload.v2alpha.OverloadManager overload_manager = 15; * @return The overloadManager. */ @java.lang.Override public io.envoyproxy.envoy.config.overload.v2alpha.OverloadManager getOverloadManager() { return overloadManager_ == null ? io.envoyproxy.envoy.config.overload.v2alpha.OverloadManager.getDefaultInstance() : overloadManager_; } /** *
   * Optional overload manager configuration.
   * 
* * .envoy.config.overload.v2alpha.OverloadManager overload_manager = 15; */ @java.lang.Override public io.envoyproxy.envoy.config.overload.v2alpha.OverloadManagerOrBuilder getOverloadManagerOrBuilder() { return overloadManager_ == null ? io.envoyproxy.envoy.config.overload.v2alpha.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_api_msg_config.metrics.v2.StatsdSink>`, it will send each observed value
   * over the wire individually because the statsd protocol doesn't have any way to represent a
   * histogram summary. Be aware that this can be a very large volume of data.
   * 
* * bool enable_dispatcher_stats = 16; * @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_api_msg_config.metrics.v2.StatsSink>`.
   * 
* * .google.protobuf.UInt64Value stats_server_version_override = 19; * @return Whether the statsServerVersionOverride field is set. */ @java.lang.Override public boolean hasStatsServerVersionOverride() { return ((bitField0_ & 0x00002000) != 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_api_msg_config.metrics.v2.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_api_msg_config.metrics.v2.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_api_field_Cluster.dns_resolvers>` and
   * :ref:`use_tcp_for_dns_lookups <envoy_api_field_Cluster.use_tcp_for_dns_lookups>` are
   * specified.
   * Setting this value causes failure if the
   * ``envoy.restart_features.use_apple_api_for_dns_lookups`` runtime value is true during
   * server startup. Apple' API only uses UDP for DNS resolution.
   * 
* * bool use_tcp_for_dns_lookups = 20; * @return The useTcpForDnsLookups. */ @java.lang.Override public boolean getUseTcpForDnsLookups() { return useTcpForDnsLookups_; } 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_ & 0x00000040) != 0)) { output.writeMessage(7, getStatsFlushInterval()); } if (((bitField0_ & 0x00000080) != 0)) { output.writeMessage(8, getWatchdog()); } if (((bitField0_ & 0x00000100) != 0)) { output.writeMessage(9, getTracing()); } if (((bitField0_ & 0x00000200) != 0)) { output.writeMessage(11, getRuntime()); } if (((bitField0_ & 0x00000800) != 0)) { output.writeMessage(12, getAdmin()); } if (((bitField0_ & 0x00000020) != 0)) { output.writeMessage(13, getStatsConfig()); } if (((bitField0_ & 0x00000010) != 0)) { output.writeMessage(14, getHdsConfig()); } if (((bitField0_ & 0x00001000) != 0)) { output.writeMessage(15, getOverloadManager()); } if (enableDispatcherStats_ != false) { output.writeBool(16, enableDispatcherStats_); } if (((bitField0_ & 0x00000400) != 0)) { output.writeMessage(17, getLayeredRuntime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(headerPrefix_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 18, headerPrefix_); } if (((bitField0_ & 0x00002000) != 0)) { output.writeMessage(19, getStatsServerVersionOverride()); } if (useTcpForDnsLookups_ != false) { output.writeBool(20, useTcpForDnsLookups_); } 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_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, getStatsFlushInterval()); } if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, getWatchdog()); } if (((bitField0_ & 0x00000100) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, getTracing()); } if (((bitField0_ & 0x00000200) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(11, getRuntime()); } if (((bitField0_ & 0x00000800) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(12, getAdmin()); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(13, getStatsConfig()); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(14, getHdsConfig()); } if (((bitField0_ & 0x00001000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(15, getOverloadManager()); } if (enableDispatcherStats_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(16, enableDispatcherStats_); } if (((bitField0_ & 0x00000400) != 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_ & 0x00002000) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(19, getStatsServerVersionOverride()); } if (useTcpForDnsLookups_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(20, useTcpForDnsLookups_); } 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.v2.Bootstrap)) { return super.equals(obj); } io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap other = (io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap) obj; if (hasNode() != other.hasNode()) return false; if (hasNode()) { if (!getNode() .equals(other.getNode())) return false; } if (hasStaticResources() != other.hasStaticResources()) return false; if (hasStaticResources()) { if (!getStaticResources() .equals(other.getStaticResources())) return false; } if (hasDynamicResources() != other.hasDynamicResources()) return false; if (hasDynamicResources()) { if (!getDynamicResources() .equals(other.getDynamicResources())) return false; } if (hasClusterManager() != other.hasClusterManager()) return false; if (hasClusterManager()) { if (!getClusterManager() .equals(other.getClusterManager())) return false; } if (hasHdsConfig() != other.hasHdsConfig()) return false; if (hasHdsConfig()) { if (!getHdsConfig() .equals(other.getHdsConfig())) return false; } if (!getFlagsPath() .equals(other.getFlagsPath())) return false; if (!getStatsSinksList() .equals(other.getStatsSinksList())) return false; if (hasStatsConfig() != other.hasStatsConfig()) return false; if (hasStatsConfig()) { if (!getStatsConfig() .equals(other.getStatsConfig())) return false; } if (hasStatsFlushInterval() != other.hasStatsFlushInterval()) return false; if (hasStatsFlushInterval()) { if (!getStatsFlushInterval() .equals(other.getStatsFlushInterval())) return false; } if (hasWatchdog() != other.hasWatchdog()) return false; if (hasWatchdog()) { if (!getWatchdog() .equals(other.getWatchdog())) return false; } if (hasTracing() != other.hasTracing()) return false; if (hasTracing()) { if (!getTracing() .equals(other.getTracing())) return false; } if (hasRuntime() != other.hasRuntime()) return false; if (hasRuntime()) { if (!getRuntime() .equals(other.getRuntime())) return false; } if (hasLayeredRuntime() != other.hasLayeredRuntime()) return false; if (hasLayeredRuntime()) { if (!getLayeredRuntime() .equals(other.getLayeredRuntime())) return false; } if (hasAdmin() != other.hasAdmin()) return false; if (hasAdmin()) { if (!getAdmin() .equals(other.getAdmin())) return false; } if (hasOverloadManager() != other.hasOverloadManager()) return false; if (hasOverloadManager()) { if (!getOverloadManager() .equals(other.getOverloadManager())) return false; } if (getEnableDispatcherStats() != other.getEnableDispatcherStats()) return false; if (!getHeaderPrefix() .equals(other.getHeaderPrefix())) return false; if (hasStatsServerVersionOverride() != other.hasStatsServerVersionOverride()) return false; if (hasStatsServerVersionOverride()) { if (!getStatsServerVersionOverride() .equals(other.getStatsServerVersionOverride())) return false; } if (getUseTcpForDnsLookups() != other.getUseTcpForDnsLookups()) 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 (hasNode()) { hash = (37 * hash) + NODE_FIELD_NUMBER; hash = (53 * hash) + getNode().hashCode(); } if (hasStaticResources()) { hash = (37 * hash) + STATIC_RESOURCES_FIELD_NUMBER; hash = (53 * hash) + getStaticResources().hashCode(); } if (hasDynamicResources()) { hash = (37 * hash) + DYNAMIC_RESOURCES_FIELD_NUMBER; hash = (53 * hash) + getDynamicResources().hashCode(); } if (hasClusterManager()) { hash = (37 * hash) + CLUSTER_MANAGER_FIELD_NUMBER; hash = (53 * hash) + getClusterManager().hashCode(); } if (hasHdsConfig()) { hash = (37 * hash) + HDS_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getHdsConfig().hashCode(); } hash = (37 * hash) + FLAGS_PATH_FIELD_NUMBER; hash = (53 * hash) + getFlagsPath().hashCode(); if (getStatsSinksCount() > 0) { hash = (37 * hash) + STATS_SINKS_FIELD_NUMBER; hash = (53 * hash) + getStatsSinksList().hashCode(); } if (hasStatsConfig()) { hash = (37 * hash) + STATS_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getStatsConfig().hashCode(); } if (hasStatsFlushInterval()) { hash = (37 * hash) + STATS_FLUSH_INTERVAL_FIELD_NUMBER; hash = (53 * hash) + getStatsFlushInterval().hashCode(); } if (hasWatchdog()) { hash = (37 * hash) + WATCHDOG_FIELD_NUMBER; hash = (53 * hash) + getWatchdog().hashCode(); } if (hasTracing()) { hash = (37 * hash) + TRACING_FIELD_NUMBER; hash = (53 * hash) + getTracing().hashCode(); } if (hasRuntime()) { hash = (37 * hash) + RUNTIME_FIELD_NUMBER; hash = (53 * hash) + getRuntime().hashCode(); } if (hasLayeredRuntime()) { hash = (37 * hash) + LAYERED_RUNTIME_FIELD_NUMBER; hash = (53 * hash) + getLayeredRuntime().hashCode(); } if (hasAdmin()) { hash = (37 * hash) + ADMIN_FIELD_NUMBER; hash = (53 * hash) + getAdmin().hashCode(); } if (hasOverloadManager()) { hash = (37 * hash) + OVERLOAD_MANAGER_FIELD_NUMBER; hash = (53 * hash) + getOverloadManager().hashCode(); } hash = (37 * hash) + ENABLE_DISPATCHER_STATS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getEnableDispatcherStats()); hash = (37 * hash) + HEADER_PREFIX_FIELD_NUMBER; hash = (53 * hash) + getHeaderPrefix().hashCode(); 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()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
   * Bootstrap :ref:`configuration overview <config_overview_bootstrap>`.
   * [#next-free-field: 21]
   * 
* * Protobuf type {@code envoy.config.bootstrap.v2.Bootstrap} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:envoy.config.bootstrap.v2.Bootstrap) io.envoyproxy.envoy.config.bootstrap.v2.BootstrapOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.envoyproxy.envoy.config.bootstrap.v2.BootstrapProto.internal_static_envoy_config_bootstrap_v2_Bootstrap_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.envoyproxy.envoy.config.bootstrap.v2.BootstrapProto.internal_static_envoy_config_bootstrap_v2_Bootstrap_fieldAccessorTable .ensureFieldAccessorsInitialized( io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.class, io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.Builder.class); } // Construct using io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getNodeFieldBuilder(); getStaticResourcesFieldBuilder(); getDynamicResourcesFieldBuilder(); getClusterManagerFieldBuilder(); getHdsConfigFieldBuilder(); getStatsSinksFieldBuilder(); getStatsConfigFieldBuilder(); getStatsFlushIntervalFieldBuilder(); getWatchdogFieldBuilder(); getTracingFieldBuilder(); getRuntimeFieldBuilder(); getLayeredRuntimeFieldBuilder(); getAdminFieldBuilder(); getOverloadManagerFieldBuilder(); getStatsServerVersionOverrideFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; node_ = null; if (nodeBuilder_ != null) { nodeBuilder_.dispose(); nodeBuilder_ = null; } 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_ & ~0x00000040); 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; } tracing_ = null; if (tracingBuilder_ != null) { tracingBuilder_.dispose(); tracingBuilder_ = null; } runtime_ = null; if (runtimeBuilder_ != null) { runtimeBuilder_.dispose(); runtimeBuilder_ = 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; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.envoyproxy.envoy.config.bootstrap.v2.BootstrapProto.internal_static_envoy_config_bootstrap_v2_Bootstrap_descriptor; } @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap getDefaultInstanceForType() { return io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.getDefaultInstance(); } @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap build() { io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap buildPartial() { io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap result = new io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap result) { if (statsSinksBuilder_ == null) { if (((bitField0_ & 0x00000040) != 0)) { statsSinks_ = java.util.Collections.unmodifiableList(statsSinks_); bitField0_ = (bitField0_ & ~0x00000040); } result.statsSinks_ = statsSinks_; } else { result.statsSinks_ = statsSinksBuilder_.build(); } } private void buildPartial0(io.envoyproxy.envoy.config.bootstrap.v2.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)) { result.staticResources_ = staticResourcesBuilder_ == null ? staticResources_ : staticResourcesBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.dynamicResources_ = dynamicResourcesBuilder_ == null ? dynamicResources_ : dynamicResourcesBuilder_.build(); to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { result.clusterManager_ = clusterManagerBuilder_ == null ? clusterManager_ : clusterManagerBuilder_.build(); to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { result.hdsConfig_ = hdsConfigBuilder_ == null ? hdsConfig_ : hdsConfigBuilder_.build(); to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000020) != 0)) { result.flagsPath_ = flagsPath_; } if (((from_bitField0_ & 0x00000080) != 0)) { result.statsConfig_ = statsConfigBuilder_ == null ? statsConfig_ : statsConfigBuilder_.build(); to_bitField0_ |= 0x00000020; } if (((from_bitField0_ & 0x00000100) != 0)) { result.statsFlushInterval_ = statsFlushIntervalBuilder_ == null ? statsFlushInterval_ : statsFlushIntervalBuilder_.build(); to_bitField0_ |= 0x00000040; } if (((from_bitField0_ & 0x00000200) != 0)) { result.watchdog_ = watchdogBuilder_ == null ? watchdog_ : watchdogBuilder_.build(); to_bitField0_ |= 0x00000080; } if (((from_bitField0_ & 0x00000400) != 0)) { result.tracing_ = tracingBuilder_ == null ? tracing_ : tracingBuilder_.build(); to_bitField0_ |= 0x00000100; } if (((from_bitField0_ & 0x00000800) != 0)) { result.runtime_ = runtimeBuilder_ == null ? runtime_ : runtimeBuilder_.build(); to_bitField0_ |= 0x00000200; } if (((from_bitField0_ & 0x00001000) != 0)) { result.layeredRuntime_ = layeredRuntimeBuilder_ == null ? layeredRuntime_ : layeredRuntimeBuilder_.build(); to_bitField0_ |= 0x00000400; } if (((from_bitField0_ & 0x00002000) != 0)) { result.admin_ = adminBuilder_ == null ? admin_ : adminBuilder_.build(); to_bitField0_ |= 0x00000800; } if (((from_bitField0_ & 0x00004000) != 0)) { result.overloadManager_ = overloadManagerBuilder_ == null ? overloadManager_ : overloadManagerBuilder_.build(); to_bitField0_ |= 0x00001000; } if (((from_bitField0_ & 0x00008000) != 0)) { result.enableDispatcherStats_ = enableDispatcherStats_; } if (((from_bitField0_ & 0x00010000) != 0)) { result.headerPrefix_ = headerPrefix_; } if (((from_bitField0_ & 0x00020000) != 0)) { result.statsServerVersionOverride_ = statsServerVersionOverrideBuilder_ == null ? statsServerVersionOverride_ : statsServerVersionOverrideBuilder_.build(); to_bitField0_ |= 0x00002000; } if (((from_bitField0_ & 0x00040000) != 0)) { result.useTcpForDnsLookups_ = useTcpForDnsLookups_; } 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.v2.Bootstrap) { return mergeFrom((io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap other) { if (other == io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.getDefaultInstance()) return this; if (other.hasNode()) { mergeNode(other.getNode()); } if (other.hasStaticResources()) { mergeStaticResources(other.getStaticResources()); } if (other.hasDynamicResources()) { mergeDynamicResources(other.getDynamicResources()); } if (other.hasClusterManager()) { mergeClusterManager(other.getClusterManager()); } if (other.hasHdsConfig()) { mergeHdsConfig(other.getHdsConfig()); } if (!other.getFlagsPath().isEmpty()) { flagsPath_ = other.flagsPath_; bitField0_ |= 0x00000020; onChanged(); } if (statsSinksBuilder_ == null) { if (!other.statsSinks_.isEmpty()) { if (statsSinks_.isEmpty()) { statsSinks_ = other.statsSinks_; bitField0_ = (bitField0_ & ~0x00000040); } else { ensureStatsSinksIsMutable(); statsSinks_.addAll(other.statsSinks_); } onChanged(); } } else { if (!other.statsSinks_.isEmpty()) { if (statsSinksBuilder_.isEmpty()) { statsSinksBuilder_.dispose(); statsSinksBuilder_ = null; statsSinks_ = other.statsSinks_; bitField0_ = (bitField0_ & ~0x00000040); statsSinksBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getStatsSinksFieldBuilder() : null; } else { statsSinksBuilder_.addAllMessages(other.statsSinks_); } } } if (other.hasStatsConfig()) { mergeStatsConfig(other.getStatsConfig()); } if (other.hasStatsFlushInterval()) { mergeStatsFlushInterval(other.getStatsFlushInterval()); } if (other.hasWatchdog()) { mergeWatchdog(other.getWatchdog()); } if (other.hasTracing()) { mergeTracing(other.getTracing()); } if (other.hasRuntime()) { mergeRuntime(other.getRuntime()); } if (other.hasLayeredRuntime()) { mergeLayeredRuntime(other.getLayeredRuntime()); } if (other.hasAdmin()) { mergeAdmin(other.getAdmin()); } if (other.hasOverloadManager()) { mergeOverloadManager(other.getOverloadManager()); } if (other.getEnableDispatcherStats() != false) { setEnableDispatcherStats(other.getEnableDispatcherStats()); } if (!other.getHeaderPrefix().isEmpty()) { headerPrefix_ = other.headerPrefix_; bitField0_ |= 0x00010000; onChanged(); } if (other.hasStatsServerVersionOverride()) { mergeStatsServerVersionOverride(other.getStatsServerVersionOverride()); } if (other.getUseTcpForDnsLookups() != false) { setUseTcpForDnsLookups(other.getUseTcpForDnsLookups()); } 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_ |= 0x00000002; break; } // case 18 case 26: { input.readMessage( getDynamicResourcesFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 26 case 34: { input.readMessage( getClusterManagerFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000008; break; } // case 34 case 42: { flagsPath_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000020; break; } // case 42 case 50: { io.envoyproxy.envoy.config.metrics.v2.StatsSink m = input.readMessage( io.envoyproxy.envoy.config.metrics.v2.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_ |= 0x00000100; break; } // case 58 case 66: { input.readMessage( getWatchdogFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000200; break; } // case 66 case 74: { input.readMessage( getTracingFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000400; break; } // case 74 case 90: { input.readMessage( getRuntimeFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000800; break; } // case 90 case 98: { input.readMessage( getAdminFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00002000; break; } // case 98 case 106: { input.readMessage( getStatsConfigFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000080; break; } // case 106 case 114: { input.readMessage( getHdsConfigFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000010; break; } // case 114 case 122: { input.readMessage( getOverloadManagerFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00004000; break; } // case 122 case 128: { enableDispatcherStats_ = input.readBool(); bitField0_ |= 0x00008000; break; } // case 128 case 138: { input.readMessage( getLayeredRuntimeFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00001000; break; } // case 138 case 146: { headerPrefix_ = input.readStringRequireUtf8(); bitField0_ |= 0x00010000; break; } // case 146 case 154: { input.readMessage( getStatsServerVersionOverrideFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00020000; break; } // case 154 case 160: { useTcpForDnsLookups_ = input.readBool(); bitField0_ |= 0x00040000; break; } // case 160 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.api.v2.core.Node node_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.api.v2.core.Node, io.envoyproxy.envoy.api.v2.core.Node.Builder, io.envoyproxy.envoy.api.v2.core.NodeOrBuilder> nodeBuilder_; /** *
     * Node identity to present to the management server and for instance
     * identification purposes (e.g. in generated headers).
     * 
* * .envoy.api.v2.core.Node node = 1; * @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.api.v2.core.Node node = 1; * @return The node. */ public io.envoyproxy.envoy.api.v2.core.Node getNode() { if (nodeBuilder_ == null) { return node_ == null ? io.envoyproxy.envoy.api.v2.core.Node.getDefaultInstance() : node_; } else { return nodeBuilder_.getMessage(); } } /** *
     * Node identity to present to the management server and for instance
     * identification purposes (e.g. in generated headers).
     * 
* * .envoy.api.v2.core.Node node = 1; */ public Builder setNode(io.envoyproxy.envoy.api.v2.core.Node value) { if (nodeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } node_ = value; } 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.api.v2.core.Node node = 1; */ public Builder setNode( io.envoyproxy.envoy.api.v2.core.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.api.v2.core.Node node = 1; */ public Builder mergeNode(io.envoyproxy.envoy.api.v2.core.Node value) { if (nodeBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && node_ != null && node_ != io.envoyproxy.envoy.api.v2.core.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.api.v2.core.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.api.v2.core.Node node = 1; */ public io.envoyproxy.envoy.api.v2.core.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.api.v2.core.Node node = 1; */ public io.envoyproxy.envoy.api.v2.core.NodeOrBuilder getNodeOrBuilder() { if (nodeBuilder_ != null) { return nodeBuilder_.getMessageOrBuilder(); } else { return node_ == null ? io.envoyproxy.envoy.api.v2.core.Node.getDefaultInstance() : node_; } } /** *
     * Node identity to present to the management server and for instance
     * identification purposes (e.g. in generated headers).
     * 
* * .envoy.api.v2.core.Node node = 1; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.api.v2.core.Node, io.envoyproxy.envoy.api.v2.core.Node.Builder, io.envoyproxy.envoy.api.v2.core.NodeOrBuilder> getNodeFieldBuilder() { if (nodeBuilder_ == null) { nodeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.api.v2.core.Node, io.envoyproxy.envoy.api.v2.core.Node.Builder, io.envoyproxy.envoy.api.v2.core.NodeOrBuilder>( getNode(), getParentForChildren(), isClean()); node_ = null; } return nodeBuilder_; } private io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources staticResources_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources, io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources.Builder, io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResourcesOrBuilder> staticResourcesBuilder_; /** *
     * Statically specified resources.
     * 
* * .envoy.config.bootstrap.v2.Bootstrap.StaticResources static_resources = 2; * @return Whether the staticResources field is set. */ public boolean hasStaticResources() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * Statically specified resources.
     * 
* * .envoy.config.bootstrap.v2.Bootstrap.StaticResources static_resources = 2; * @return The staticResources. */ public io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources getStaticResources() { if (staticResourcesBuilder_ == null) { return staticResources_ == null ? io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources.getDefaultInstance() : staticResources_; } else { return staticResourcesBuilder_.getMessage(); } } /** *
     * Statically specified resources.
     * 
* * .envoy.config.bootstrap.v2.Bootstrap.StaticResources static_resources = 2; */ public Builder setStaticResources(io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources value) { if (staticResourcesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } staticResources_ = value; } else { staticResourcesBuilder_.setMessage(value); } bitField0_ |= 0x00000002; onChanged(); return this; } /** *
     * Statically specified resources.
     * 
* * .envoy.config.bootstrap.v2.Bootstrap.StaticResources static_resources = 2; */ public Builder setStaticResources( io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources.Builder builderForValue) { if (staticResourcesBuilder_ == null) { staticResources_ = builderForValue.build(); } else { staticResourcesBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; onChanged(); return this; } /** *
     * Statically specified resources.
     * 
* * .envoy.config.bootstrap.v2.Bootstrap.StaticResources static_resources = 2; */ public Builder mergeStaticResources(io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources value) { if (staticResourcesBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && staticResources_ != null && staticResources_ != io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources.getDefaultInstance()) { getStaticResourcesBuilder().mergeFrom(value); } else { staticResources_ = value; } } else { staticResourcesBuilder_.mergeFrom(value); } if (staticResources_ != null) { bitField0_ |= 0x00000002; onChanged(); } return this; } /** *
     * Statically specified resources.
     * 
* * .envoy.config.bootstrap.v2.Bootstrap.StaticResources static_resources = 2; */ public Builder clearStaticResources() { bitField0_ = (bitField0_ & ~0x00000002); staticResources_ = null; if (staticResourcesBuilder_ != null) { staticResourcesBuilder_.dispose(); staticResourcesBuilder_ = null; } onChanged(); return this; } /** *
     * Statically specified resources.
     * 
* * .envoy.config.bootstrap.v2.Bootstrap.StaticResources static_resources = 2; */ public io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources.Builder getStaticResourcesBuilder() { bitField0_ |= 0x00000002; onChanged(); return getStaticResourcesFieldBuilder().getBuilder(); } /** *
     * Statically specified resources.
     * 
* * .envoy.config.bootstrap.v2.Bootstrap.StaticResources static_resources = 2; */ public io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResourcesOrBuilder getStaticResourcesOrBuilder() { if (staticResourcesBuilder_ != null) { return staticResourcesBuilder_.getMessageOrBuilder(); } else { return staticResources_ == null ? io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources.getDefaultInstance() : staticResources_; } } /** *
     * Statically specified resources.
     * 
* * .envoy.config.bootstrap.v2.Bootstrap.StaticResources static_resources = 2; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources, io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources.Builder, io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResourcesOrBuilder> getStaticResourcesFieldBuilder() { if (staticResourcesBuilder_ == null) { staticResourcesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources, io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResources.Builder, io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.StaticResourcesOrBuilder>( getStaticResources(), getParentForChildren(), isClean()); staticResources_ = null; } return staticResourcesBuilder_; } private io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources dynamicResources_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources, io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources.Builder, io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResourcesOrBuilder> dynamicResourcesBuilder_; /** *
     * xDS configuration sources.
     * 
* * .envoy.config.bootstrap.v2.Bootstrap.DynamicResources dynamic_resources = 3; * @return Whether the dynamicResources field is set. */ public boolean hasDynamicResources() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * xDS configuration sources.
     * 
* * .envoy.config.bootstrap.v2.Bootstrap.DynamicResources dynamic_resources = 3; * @return The dynamicResources. */ public io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources getDynamicResources() { if (dynamicResourcesBuilder_ == null) { return dynamicResources_ == null ? io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources.getDefaultInstance() : dynamicResources_; } else { return dynamicResourcesBuilder_.getMessage(); } } /** *
     * xDS configuration sources.
     * 
* * .envoy.config.bootstrap.v2.Bootstrap.DynamicResources dynamic_resources = 3; */ public Builder setDynamicResources(io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources value) { if (dynamicResourcesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } dynamicResources_ = value; } else { dynamicResourcesBuilder_.setMessage(value); } bitField0_ |= 0x00000004; onChanged(); return this; } /** *
     * xDS configuration sources.
     * 
* * .envoy.config.bootstrap.v2.Bootstrap.DynamicResources dynamic_resources = 3; */ public Builder setDynamicResources( io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources.Builder builderForValue) { if (dynamicResourcesBuilder_ == null) { dynamicResources_ = builderForValue.build(); } else { dynamicResourcesBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; onChanged(); return this; } /** *
     * xDS configuration sources.
     * 
* * .envoy.config.bootstrap.v2.Bootstrap.DynamicResources dynamic_resources = 3; */ public Builder mergeDynamicResources(io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources value) { if (dynamicResourcesBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && dynamicResources_ != null && dynamicResources_ != io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources.getDefaultInstance()) { getDynamicResourcesBuilder().mergeFrom(value); } else { dynamicResources_ = value; } } else { dynamicResourcesBuilder_.mergeFrom(value); } if (dynamicResources_ != null) { bitField0_ |= 0x00000004; onChanged(); } return this; } /** *
     * xDS configuration sources.
     * 
* * .envoy.config.bootstrap.v2.Bootstrap.DynamicResources dynamic_resources = 3; */ public Builder clearDynamicResources() { bitField0_ = (bitField0_ & ~0x00000004); dynamicResources_ = null; if (dynamicResourcesBuilder_ != null) { dynamicResourcesBuilder_.dispose(); dynamicResourcesBuilder_ = null; } onChanged(); return this; } /** *
     * xDS configuration sources.
     * 
* * .envoy.config.bootstrap.v2.Bootstrap.DynamicResources dynamic_resources = 3; */ public io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources.Builder getDynamicResourcesBuilder() { bitField0_ |= 0x00000004; onChanged(); return getDynamicResourcesFieldBuilder().getBuilder(); } /** *
     * xDS configuration sources.
     * 
* * .envoy.config.bootstrap.v2.Bootstrap.DynamicResources dynamic_resources = 3; */ public io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResourcesOrBuilder getDynamicResourcesOrBuilder() { if (dynamicResourcesBuilder_ != null) { return dynamicResourcesBuilder_.getMessageOrBuilder(); } else { return dynamicResources_ == null ? io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources.getDefaultInstance() : dynamicResources_; } } /** *
     * xDS configuration sources.
     * 
* * .envoy.config.bootstrap.v2.Bootstrap.DynamicResources dynamic_resources = 3; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources, io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources.Builder, io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResourcesOrBuilder> getDynamicResourcesFieldBuilder() { if (dynamicResourcesBuilder_ == null) { dynamicResourcesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources, io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources.Builder, io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResourcesOrBuilder>( getDynamicResources(), getParentForChildren(), isClean()); dynamicResources_ = null; } return dynamicResourcesBuilder_; } private io.envoyproxy.envoy.config.bootstrap.v2.ClusterManager clusterManager_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v2.ClusterManager, io.envoyproxy.envoy.config.bootstrap.v2.ClusterManager.Builder, io.envoyproxy.envoy.config.bootstrap.v2.ClusterManagerOrBuilder> clusterManagerBuilder_; /** *
     * Configuration for the cluster manager which owns all upstream clusters
     * within the server.
     * 
* * .envoy.config.bootstrap.v2.ClusterManager cluster_manager = 4; * @return Whether the clusterManager field is set. */ public boolean hasClusterManager() { return ((bitField0_ & 0x00000008) != 0); } /** *
     * Configuration for the cluster manager which owns all upstream clusters
     * within the server.
     * 
* * .envoy.config.bootstrap.v2.ClusterManager cluster_manager = 4; * @return The clusterManager. */ public io.envoyproxy.envoy.config.bootstrap.v2.ClusterManager getClusterManager() { if (clusterManagerBuilder_ == null) { return clusterManager_ == null ? io.envoyproxy.envoy.config.bootstrap.v2.ClusterManager.getDefaultInstance() : clusterManager_; } else { return clusterManagerBuilder_.getMessage(); } } /** *
     * Configuration for the cluster manager which owns all upstream clusters
     * within the server.
     * 
* * .envoy.config.bootstrap.v2.ClusterManager cluster_manager = 4; */ public Builder setClusterManager(io.envoyproxy.envoy.config.bootstrap.v2.ClusterManager value) { if (clusterManagerBuilder_ == null) { if (value == null) { throw new NullPointerException(); } clusterManager_ = value; } else { clusterManagerBuilder_.setMessage(value); } bitField0_ |= 0x00000008; onChanged(); return this; } /** *
     * Configuration for the cluster manager which owns all upstream clusters
     * within the server.
     * 
* * .envoy.config.bootstrap.v2.ClusterManager cluster_manager = 4; */ public Builder setClusterManager( io.envoyproxy.envoy.config.bootstrap.v2.ClusterManager.Builder builderForValue) { if (clusterManagerBuilder_ == null) { clusterManager_ = builderForValue.build(); } else { clusterManagerBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000008; onChanged(); return this; } /** *
     * Configuration for the cluster manager which owns all upstream clusters
     * within the server.
     * 
* * .envoy.config.bootstrap.v2.ClusterManager cluster_manager = 4; */ public Builder mergeClusterManager(io.envoyproxy.envoy.config.bootstrap.v2.ClusterManager value) { if (clusterManagerBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0) && clusterManager_ != null && clusterManager_ != io.envoyproxy.envoy.config.bootstrap.v2.ClusterManager.getDefaultInstance()) { getClusterManagerBuilder().mergeFrom(value); } else { clusterManager_ = value; } } else { clusterManagerBuilder_.mergeFrom(value); } if (clusterManager_ != null) { bitField0_ |= 0x00000008; onChanged(); } return this; } /** *
     * Configuration for the cluster manager which owns all upstream clusters
     * within the server.
     * 
* * .envoy.config.bootstrap.v2.ClusterManager cluster_manager = 4; */ public Builder clearClusterManager() { bitField0_ = (bitField0_ & ~0x00000008); 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.v2.ClusterManager cluster_manager = 4; */ public io.envoyproxy.envoy.config.bootstrap.v2.ClusterManager.Builder getClusterManagerBuilder() { bitField0_ |= 0x00000008; onChanged(); return getClusterManagerFieldBuilder().getBuilder(); } /** *
     * Configuration for the cluster manager which owns all upstream clusters
     * within the server.
     * 
* * .envoy.config.bootstrap.v2.ClusterManager cluster_manager = 4; */ public io.envoyproxy.envoy.config.bootstrap.v2.ClusterManagerOrBuilder getClusterManagerOrBuilder() { if (clusterManagerBuilder_ != null) { return clusterManagerBuilder_.getMessageOrBuilder(); } else { return clusterManager_ == null ? io.envoyproxy.envoy.config.bootstrap.v2.ClusterManager.getDefaultInstance() : clusterManager_; } } /** *
     * Configuration for the cluster manager which owns all upstream clusters
     * within the server.
     * 
* * .envoy.config.bootstrap.v2.ClusterManager cluster_manager = 4; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v2.ClusterManager, io.envoyproxy.envoy.config.bootstrap.v2.ClusterManager.Builder, io.envoyproxy.envoy.config.bootstrap.v2.ClusterManagerOrBuilder> getClusterManagerFieldBuilder() { if (clusterManagerBuilder_ == null) { clusterManagerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v2.ClusterManager, io.envoyproxy.envoy.config.bootstrap.v2.ClusterManager.Builder, io.envoyproxy.envoy.config.bootstrap.v2.ClusterManagerOrBuilder>( getClusterManager(), getParentForChildren(), isClean()); clusterManager_ = null; } return clusterManagerBuilder_; } private io.envoyproxy.envoy.api.v2.core.ApiConfigSource hdsConfig_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.api.v2.core.ApiConfigSource, io.envoyproxy.envoy.api.v2.core.ApiConfigSource.Builder, io.envoyproxy.envoy.api.v2.core.ApiConfigSourceOrBuilder> hdsConfigBuilder_; /** *
     * Health discovery service config option.
     * (:ref:`core.ApiConfigSource <envoy_api_msg_core.ApiConfigSource>`)
     * 
* * .envoy.api.v2.core.ApiConfigSource hds_config = 14; * @return Whether the hdsConfig field is set. */ public boolean hasHdsConfig() { return ((bitField0_ & 0x00000010) != 0); } /** *
     * Health discovery service config option.
     * (:ref:`core.ApiConfigSource <envoy_api_msg_core.ApiConfigSource>`)
     * 
* * .envoy.api.v2.core.ApiConfigSource hds_config = 14; * @return The hdsConfig. */ public io.envoyproxy.envoy.api.v2.core.ApiConfigSource getHdsConfig() { if (hdsConfigBuilder_ == null) { return hdsConfig_ == null ? io.envoyproxy.envoy.api.v2.core.ApiConfigSource.getDefaultInstance() : hdsConfig_; } else { return hdsConfigBuilder_.getMessage(); } } /** *
     * Health discovery service config option.
     * (:ref:`core.ApiConfigSource <envoy_api_msg_core.ApiConfigSource>`)
     * 
* * .envoy.api.v2.core.ApiConfigSource hds_config = 14; */ public Builder setHdsConfig(io.envoyproxy.envoy.api.v2.core.ApiConfigSource value) { if (hdsConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } hdsConfig_ = value; } else { hdsConfigBuilder_.setMessage(value); } bitField0_ |= 0x00000010; onChanged(); return this; } /** *
     * Health discovery service config option.
     * (:ref:`core.ApiConfigSource <envoy_api_msg_core.ApiConfigSource>`)
     * 
* * .envoy.api.v2.core.ApiConfigSource hds_config = 14; */ public Builder setHdsConfig( io.envoyproxy.envoy.api.v2.core.ApiConfigSource.Builder builderForValue) { if (hdsConfigBuilder_ == null) { hdsConfig_ = builderForValue.build(); } else { hdsConfigBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000010; onChanged(); return this; } /** *
     * Health discovery service config option.
     * (:ref:`core.ApiConfigSource <envoy_api_msg_core.ApiConfigSource>`)
     * 
* * .envoy.api.v2.core.ApiConfigSource hds_config = 14; */ public Builder mergeHdsConfig(io.envoyproxy.envoy.api.v2.core.ApiConfigSource value) { if (hdsConfigBuilder_ == null) { if (((bitField0_ & 0x00000010) != 0) && hdsConfig_ != null && hdsConfig_ != io.envoyproxy.envoy.api.v2.core.ApiConfigSource.getDefaultInstance()) { getHdsConfigBuilder().mergeFrom(value); } else { hdsConfig_ = value; } } else { hdsConfigBuilder_.mergeFrom(value); } if (hdsConfig_ != null) { bitField0_ |= 0x00000010; onChanged(); } return this; } /** *
     * Health discovery service config option.
     * (:ref:`core.ApiConfigSource <envoy_api_msg_core.ApiConfigSource>`)
     * 
* * .envoy.api.v2.core.ApiConfigSource hds_config = 14; */ public Builder clearHdsConfig() { bitField0_ = (bitField0_ & ~0x00000010); hdsConfig_ = null; if (hdsConfigBuilder_ != null) { hdsConfigBuilder_.dispose(); hdsConfigBuilder_ = null; } onChanged(); return this; } /** *
     * Health discovery service config option.
     * (:ref:`core.ApiConfigSource <envoy_api_msg_core.ApiConfigSource>`)
     * 
* * .envoy.api.v2.core.ApiConfigSource hds_config = 14; */ public io.envoyproxy.envoy.api.v2.core.ApiConfigSource.Builder getHdsConfigBuilder() { bitField0_ |= 0x00000010; onChanged(); return getHdsConfigFieldBuilder().getBuilder(); } /** *
     * Health discovery service config option.
     * (:ref:`core.ApiConfigSource <envoy_api_msg_core.ApiConfigSource>`)
     * 
* * .envoy.api.v2.core.ApiConfigSource hds_config = 14; */ public io.envoyproxy.envoy.api.v2.core.ApiConfigSourceOrBuilder getHdsConfigOrBuilder() { if (hdsConfigBuilder_ != null) { return hdsConfigBuilder_.getMessageOrBuilder(); } else { return hdsConfig_ == null ? io.envoyproxy.envoy.api.v2.core.ApiConfigSource.getDefaultInstance() : hdsConfig_; } } /** *
     * Health discovery service config option.
     * (:ref:`core.ApiConfigSource <envoy_api_msg_core.ApiConfigSource>`)
     * 
* * .envoy.api.v2.core.ApiConfigSource hds_config = 14; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.api.v2.core.ApiConfigSource, io.envoyproxy.envoy.api.v2.core.ApiConfigSource.Builder, io.envoyproxy.envoy.api.v2.core.ApiConfigSourceOrBuilder> getHdsConfigFieldBuilder() { if (hdsConfigBuilder_ == null) { hdsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.api.v2.core.ApiConfigSource, io.envoyproxy.envoy.api.v2.core.ApiConfigSource.Builder, io.envoyproxy.envoy.api.v2.core.ApiConfigSourceOrBuilder>( getHdsConfig(), getParentForChildren(), isClean()); hdsConfig_ = null; } return hdsConfigBuilder_; } private java.lang.Object flagsPath_ = ""; /** *
     * Optional file system path to search for startup flag files.
     * 
* * string flags_path = 5; * @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_ |= 0x00000020; 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_ & ~0x00000020); 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_ |= 0x00000020; onChanged(); return this; } private java.util.List statsSinks_ = java.util.Collections.emptyList(); private void ensureStatsSinksIsMutable() { if (!((bitField0_ & 0x00000040) != 0)) { statsSinks_ = new java.util.ArrayList(statsSinks_); bitField0_ |= 0x00000040; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.config.metrics.v2.StatsSink, io.envoyproxy.envoy.config.metrics.v2.StatsSink.Builder, io.envoyproxy.envoy.config.metrics.v2.StatsSinkOrBuilder> statsSinksBuilder_; /** *
     * Optional set of stats sinks.
     * 
* * repeated .envoy.config.metrics.v2.StatsSink stats_sinks = 6; */ public java.util.List getStatsSinksList() { if (statsSinksBuilder_ == null) { return java.util.Collections.unmodifiableList(statsSinks_); } else { return statsSinksBuilder_.getMessageList(); } } /** *
     * Optional set of stats sinks.
     * 
* * repeated .envoy.config.metrics.v2.StatsSink stats_sinks = 6; */ public int getStatsSinksCount() { if (statsSinksBuilder_ == null) { return statsSinks_.size(); } else { return statsSinksBuilder_.getCount(); } } /** *
     * Optional set of stats sinks.
     * 
* * repeated .envoy.config.metrics.v2.StatsSink stats_sinks = 6; */ public io.envoyproxy.envoy.config.metrics.v2.StatsSink getStatsSinks(int index) { if (statsSinksBuilder_ == null) { return statsSinks_.get(index); } else { return statsSinksBuilder_.getMessage(index); } } /** *
     * Optional set of stats sinks.
     * 
* * repeated .envoy.config.metrics.v2.StatsSink stats_sinks = 6; */ public Builder setStatsSinks( int index, io.envoyproxy.envoy.config.metrics.v2.StatsSink value) { if (statsSinksBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStatsSinksIsMutable(); statsSinks_.set(index, value); onChanged(); } else { statsSinksBuilder_.setMessage(index, value); } return this; } /** *
     * Optional set of stats sinks.
     * 
* * repeated .envoy.config.metrics.v2.StatsSink stats_sinks = 6; */ public Builder setStatsSinks( int index, io.envoyproxy.envoy.config.metrics.v2.StatsSink.Builder builderForValue) { if (statsSinksBuilder_ == null) { ensureStatsSinksIsMutable(); statsSinks_.set(index, builderForValue.build()); onChanged(); } else { statsSinksBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     * Optional set of stats sinks.
     * 
* * repeated .envoy.config.metrics.v2.StatsSink stats_sinks = 6; */ public Builder addStatsSinks(io.envoyproxy.envoy.config.metrics.v2.StatsSink value) { if (statsSinksBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStatsSinksIsMutable(); statsSinks_.add(value); onChanged(); } else { statsSinksBuilder_.addMessage(value); } return this; } /** *
     * Optional set of stats sinks.
     * 
* * repeated .envoy.config.metrics.v2.StatsSink stats_sinks = 6; */ public Builder addStatsSinks( int index, io.envoyproxy.envoy.config.metrics.v2.StatsSink value) { if (statsSinksBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStatsSinksIsMutable(); statsSinks_.add(index, value); onChanged(); } else { statsSinksBuilder_.addMessage(index, value); } return this; } /** *
     * Optional set of stats sinks.
     * 
* * repeated .envoy.config.metrics.v2.StatsSink stats_sinks = 6; */ public Builder addStatsSinks( io.envoyproxy.envoy.config.metrics.v2.StatsSink.Builder builderForValue) { if (statsSinksBuilder_ == null) { ensureStatsSinksIsMutable(); statsSinks_.add(builderForValue.build()); onChanged(); } else { statsSinksBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     * Optional set of stats sinks.
     * 
* * repeated .envoy.config.metrics.v2.StatsSink stats_sinks = 6; */ public Builder addStatsSinks( int index, io.envoyproxy.envoy.config.metrics.v2.StatsSink.Builder builderForValue) { if (statsSinksBuilder_ == null) { ensureStatsSinksIsMutable(); statsSinks_.add(index, builderForValue.build()); onChanged(); } else { statsSinksBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     * Optional set of stats sinks.
     * 
* * repeated .envoy.config.metrics.v2.StatsSink stats_sinks = 6; */ public Builder addAllStatsSinks( java.lang.Iterable values) { if (statsSinksBuilder_ == null) { ensureStatsSinksIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, statsSinks_); onChanged(); } else { statsSinksBuilder_.addAllMessages(values); } return this; } /** *
     * Optional set of stats sinks.
     * 
* * repeated .envoy.config.metrics.v2.StatsSink stats_sinks = 6; */ public Builder clearStatsSinks() { if (statsSinksBuilder_ == null) { statsSinks_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000040); onChanged(); } else { statsSinksBuilder_.clear(); } return this; } /** *
     * Optional set of stats sinks.
     * 
* * repeated .envoy.config.metrics.v2.StatsSink stats_sinks = 6; */ public Builder removeStatsSinks(int index) { if (statsSinksBuilder_ == null) { ensureStatsSinksIsMutable(); statsSinks_.remove(index); onChanged(); } else { statsSinksBuilder_.remove(index); } return this; } /** *
     * Optional set of stats sinks.
     * 
* * repeated .envoy.config.metrics.v2.StatsSink stats_sinks = 6; */ public io.envoyproxy.envoy.config.metrics.v2.StatsSink.Builder getStatsSinksBuilder( int index) { return getStatsSinksFieldBuilder().getBuilder(index); } /** *
     * Optional set of stats sinks.
     * 
* * repeated .envoy.config.metrics.v2.StatsSink stats_sinks = 6; */ public io.envoyproxy.envoy.config.metrics.v2.StatsSinkOrBuilder getStatsSinksOrBuilder( int index) { if (statsSinksBuilder_ == null) { return statsSinks_.get(index); } else { return statsSinksBuilder_.getMessageOrBuilder(index); } } /** *
     * Optional set of stats sinks.
     * 
* * repeated .envoy.config.metrics.v2.StatsSink stats_sinks = 6; */ public java.util.List getStatsSinksOrBuilderList() { if (statsSinksBuilder_ != null) { return statsSinksBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(statsSinks_); } } /** *
     * Optional set of stats sinks.
     * 
* * repeated .envoy.config.metrics.v2.StatsSink stats_sinks = 6; */ public io.envoyproxy.envoy.config.metrics.v2.StatsSink.Builder addStatsSinksBuilder() { return getStatsSinksFieldBuilder().addBuilder( io.envoyproxy.envoy.config.metrics.v2.StatsSink.getDefaultInstance()); } /** *
     * Optional set of stats sinks.
     * 
* * repeated .envoy.config.metrics.v2.StatsSink stats_sinks = 6; */ public io.envoyproxy.envoy.config.metrics.v2.StatsSink.Builder addStatsSinksBuilder( int index) { return getStatsSinksFieldBuilder().addBuilder( index, io.envoyproxy.envoy.config.metrics.v2.StatsSink.getDefaultInstance()); } /** *
     * Optional set of stats sinks.
     * 
* * repeated .envoy.config.metrics.v2.StatsSink stats_sinks = 6; */ public java.util.List getStatsSinksBuilderList() { return getStatsSinksFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.config.metrics.v2.StatsSink, io.envoyproxy.envoy.config.metrics.v2.StatsSink.Builder, io.envoyproxy.envoy.config.metrics.v2.StatsSinkOrBuilder> getStatsSinksFieldBuilder() { if (statsSinksBuilder_ == null) { statsSinksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.envoyproxy.envoy.config.metrics.v2.StatsSink, io.envoyproxy.envoy.config.metrics.v2.StatsSink.Builder, io.envoyproxy.envoy.config.metrics.v2.StatsSinkOrBuilder>( statsSinks_, ((bitField0_ & 0x00000040) != 0), getParentForChildren(), isClean()); statsSinks_ = null; } return statsSinksBuilder_; } private io.envoyproxy.envoy.config.metrics.v2.StatsConfig statsConfig_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.metrics.v2.StatsConfig, io.envoyproxy.envoy.config.metrics.v2.StatsConfig.Builder, io.envoyproxy.envoy.config.metrics.v2.StatsConfigOrBuilder> statsConfigBuilder_; /** *
     * Configuration for internal processing of stats.
     * 
* * .envoy.config.metrics.v2.StatsConfig stats_config = 13; * @return Whether the statsConfig field is set. */ public boolean hasStatsConfig() { return ((bitField0_ & 0x00000080) != 0); } /** *
     * Configuration for internal processing of stats.
     * 
* * .envoy.config.metrics.v2.StatsConfig stats_config = 13; * @return The statsConfig. */ public io.envoyproxy.envoy.config.metrics.v2.StatsConfig getStatsConfig() { if (statsConfigBuilder_ == null) { return statsConfig_ == null ? io.envoyproxy.envoy.config.metrics.v2.StatsConfig.getDefaultInstance() : statsConfig_; } else { return statsConfigBuilder_.getMessage(); } } /** *
     * Configuration for internal processing of stats.
     * 
* * .envoy.config.metrics.v2.StatsConfig stats_config = 13; */ public Builder setStatsConfig(io.envoyproxy.envoy.config.metrics.v2.StatsConfig value) { if (statsConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } statsConfig_ = value; } else { statsConfigBuilder_.setMessage(value); } bitField0_ |= 0x00000080; onChanged(); return this; } /** *
     * Configuration for internal processing of stats.
     * 
* * .envoy.config.metrics.v2.StatsConfig stats_config = 13; */ public Builder setStatsConfig( io.envoyproxy.envoy.config.metrics.v2.StatsConfig.Builder builderForValue) { if (statsConfigBuilder_ == null) { statsConfig_ = builderForValue.build(); } else { statsConfigBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000080; onChanged(); return this; } /** *
     * Configuration for internal processing of stats.
     * 
* * .envoy.config.metrics.v2.StatsConfig stats_config = 13; */ public Builder mergeStatsConfig(io.envoyproxy.envoy.config.metrics.v2.StatsConfig value) { if (statsConfigBuilder_ == null) { if (((bitField0_ & 0x00000080) != 0) && statsConfig_ != null && statsConfig_ != io.envoyproxy.envoy.config.metrics.v2.StatsConfig.getDefaultInstance()) { getStatsConfigBuilder().mergeFrom(value); } else { statsConfig_ = value; } } else { statsConfigBuilder_.mergeFrom(value); } if (statsConfig_ != null) { bitField0_ |= 0x00000080; onChanged(); } return this; } /** *
     * Configuration for internal processing of stats.
     * 
* * .envoy.config.metrics.v2.StatsConfig stats_config = 13; */ public Builder clearStatsConfig() { bitField0_ = (bitField0_ & ~0x00000080); statsConfig_ = null; if (statsConfigBuilder_ != null) { statsConfigBuilder_.dispose(); statsConfigBuilder_ = null; } onChanged(); return this; } /** *
     * Configuration for internal processing of stats.
     * 
* * .envoy.config.metrics.v2.StatsConfig stats_config = 13; */ public io.envoyproxy.envoy.config.metrics.v2.StatsConfig.Builder getStatsConfigBuilder() { bitField0_ |= 0x00000080; onChanged(); return getStatsConfigFieldBuilder().getBuilder(); } /** *
     * Configuration for internal processing of stats.
     * 
* * .envoy.config.metrics.v2.StatsConfig stats_config = 13; */ public io.envoyproxy.envoy.config.metrics.v2.StatsConfigOrBuilder getStatsConfigOrBuilder() { if (statsConfigBuilder_ != null) { return statsConfigBuilder_.getMessageOrBuilder(); } else { return statsConfig_ == null ? io.envoyproxy.envoy.config.metrics.v2.StatsConfig.getDefaultInstance() : statsConfig_; } } /** *
     * Configuration for internal processing of stats.
     * 
* * .envoy.config.metrics.v2.StatsConfig stats_config = 13; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.metrics.v2.StatsConfig, io.envoyproxy.envoy.config.metrics.v2.StatsConfig.Builder, io.envoyproxy.envoy.config.metrics.v2.StatsConfigOrBuilder> getStatsConfigFieldBuilder() { if (statsConfigBuilder_ == null) { statsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.metrics.v2.StatsConfig, io.envoyproxy.envoy.config.metrics.v2.StatsConfig.Builder, io.envoyproxy.envoy.config.metrics.v2.StatsConfigOrBuilder>( getStatsConfig(), getParentForChildren(), isClean()); statsConfig_ = null; } return statsConfigBuilder_; } private com.google.protobuf.Duration statsFlushInterval_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> statsFlushIntervalBuilder_; /** *
     * Optional duration between flushes to configured stats sinks. For
     * performance reasons Envoy latches counters and only flushes counters and
     * gauges at a periodic interval. If not specified the default is 5000ms (5
     * seconds).
     * Duration must be at least 1ms and at most 5 min.
     * 
* * .google.protobuf.Duration stats_flush_interval = 7 [(.validate.rules) = { ... } * @return Whether the statsFlushInterval field is set. */ public boolean hasStatsFlushInterval() { return ((bitField0_ & 0x00000100) != 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).
     * 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).
     * 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_ |= 0x00000100; 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).
     * 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_ |= 0x00000100; 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).
     * 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_ & 0x00000100) != 0) && statsFlushInterval_ != null && statsFlushInterval_ != com.google.protobuf.Duration.getDefaultInstance()) { getStatsFlushIntervalBuilder().mergeFrom(value); } else { statsFlushInterval_ = value; } } else { statsFlushIntervalBuilder_.mergeFrom(value); } if (statsFlushInterval_ != null) { bitField0_ |= 0x00000100; 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).
     * 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_ & ~0x00000100); 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).
     * 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_ |= 0x00000100; onChanged(); return getStatsFlushIntervalFieldBuilder().getBuilder(); } /** *
     * Optional duration between flushes to configured stats sinks. For
     * performance reasons Envoy latches counters and only flushes counters and
     * gauges at a periodic interval. If not specified the default is 5000ms (5
     * seconds).
     * Duration must be at least 1ms and at most 5 min.
     * 
* * .google.protobuf.Duration stats_flush_interval = 7 [(.validate.rules) = { ... } */ public com.google.protobuf.DurationOrBuilder getStatsFlushIntervalOrBuilder() { if (statsFlushIntervalBuilder_ != null) { return statsFlushIntervalBuilder_.getMessageOrBuilder(); } else { return statsFlushInterval_ == null ? com.google.protobuf.Duration.getDefaultInstance() : statsFlushInterval_; } } /** *
     * Optional duration between flushes to configured stats sinks. For
     * performance reasons Envoy latches counters and only flushes counters and
     * gauges at a periodic interval. If not specified the default is 5000ms (5
     * seconds).
     * Duration must be at least 1ms and at most 5 min.
     * 
* * .google.protobuf.Duration stats_flush_interval = 7 [(.validate.rules) = { ... } */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> getStatsFlushIntervalFieldBuilder() { if (statsFlushIntervalBuilder_ == null) { statsFlushIntervalBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( getStatsFlushInterval(), getParentForChildren(), isClean()); statsFlushInterval_ = null; } return statsFlushIntervalBuilder_; } private io.envoyproxy.envoy.config.bootstrap.v2.Watchdog watchdog_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v2.Watchdog, io.envoyproxy.envoy.config.bootstrap.v2.Watchdog.Builder, io.envoyproxy.envoy.config.bootstrap.v2.WatchdogOrBuilder> watchdogBuilder_; /** *
     * Optional watchdog configuration.
     * 
* * .envoy.config.bootstrap.v2.Watchdog watchdog = 8; * @return Whether the watchdog field is set. */ public boolean hasWatchdog() { return ((bitField0_ & 0x00000200) != 0); } /** *
     * Optional watchdog configuration.
     * 
* * .envoy.config.bootstrap.v2.Watchdog watchdog = 8; * @return The watchdog. */ public io.envoyproxy.envoy.config.bootstrap.v2.Watchdog getWatchdog() { if (watchdogBuilder_ == null) { return watchdog_ == null ? io.envoyproxy.envoy.config.bootstrap.v2.Watchdog.getDefaultInstance() : watchdog_; } else { return watchdogBuilder_.getMessage(); } } /** *
     * Optional watchdog configuration.
     * 
* * .envoy.config.bootstrap.v2.Watchdog watchdog = 8; */ public Builder setWatchdog(io.envoyproxy.envoy.config.bootstrap.v2.Watchdog value) { if (watchdogBuilder_ == null) { if (value == null) { throw new NullPointerException(); } watchdog_ = value; } else { watchdogBuilder_.setMessage(value); } bitField0_ |= 0x00000200; onChanged(); return this; } /** *
     * Optional watchdog configuration.
     * 
* * .envoy.config.bootstrap.v2.Watchdog watchdog = 8; */ public Builder setWatchdog( io.envoyproxy.envoy.config.bootstrap.v2.Watchdog.Builder builderForValue) { if (watchdogBuilder_ == null) { watchdog_ = builderForValue.build(); } else { watchdogBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000200; onChanged(); return this; } /** *
     * Optional watchdog configuration.
     * 
* * .envoy.config.bootstrap.v2.Watchdog watchdog = 8; */ public Builder mergeWatchdog(io.envoyproxy.envoy.config.bootstrap.v2.Watchdog value) { if (watchdogBuilder_ == null) { if (((bitField0_ & 0x00000200) != 0) && watchdog_ != null && watchdog_ != io.envoyproxy.envoy.config.bootstrap.v2.Watchdog.getDefaultInstance()) { getWatchdogBuilder().mergeFrom(value); } else { watchdog_ = value; } } else { watchdogBuilder_.mergeFrom(value); } if (watchdog_ != null) { bitField0_ |= 0x00000200; onChanged(); } return this; } /** *
     * Optional watchdog configuration.
     * 
* * .envoy.config.bootstrap.v2.Watchdog watchdog = 8; */ public Builder clearWatchdog() { bitField0_ = (bitField0_ & ~0x00000200); watchdog_ = null; if (watchdogBuilder_ != null) { watchdogBuilder_.dispose(); watchdogBuilder_ = null; } onChanged(); return this; } /** *
     * Optional watchdog configuration.
     * 
* * .envoy.config.bootstrap.v2.Watchdog watchdog = 8; */ public io.envoyproxy.envoy.config.bootstrap.v2.Watchdog.Builder getWatchdogBuilder() { bitField0_ |= 0x00000200; onChanged(); return getWatchdogFieldBuilder().getBuilder(); } /** *
     * Optional watchdog configuration.
     * 
* * .envoy.config.bootstrap.v2.Watchdog watchdog = 8; */ public io.envoyproxy.envoy.config.bootstrap.v2.WatchdogOrBuilder getWatchdogOrBuilder() { if (watchdogBuilder_ != null) { return watchdogBuilder_.getMessageOrBuilder(); } else { return watchdog_ == null ? io.envoyproxy.envoy.config.bootstrap.v2.Watchdog.getDefaultInstance() : watchdog_; } } /** *
     * Optional watchdog configuration.
     * 
* * .envoy.config.bootstrap.v2.Watchdog watchdog = 8; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v2.Watchdog, io.envoyproxy.envoy.config.bootstrap.v2.Watchdog.Builder, io.envoyproxy.envoy.config.bootstrap.v2.WatchdogOrBuilder> getWatchdogFieldBuilder() { if (watchdogBuilder_ == null) { watchdogBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v2.Watchdog, io.envoyproxy.envoy.config.bootstrap.v2.Watchdog.Builder, io.envoyproxy.envoy.config.bootstrap.v2.WatchdogOrBuilder>( getWatchdog(), getParentForChildren(), isClean()); watchdog_ = null; } return watchdogBuilder_; } private io.envoyproxy.envoy.config.trace.v2.Tracing tracing_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.trace.v2.Tracing, io.envoyproxy.envoy.config.trace.v2.Tracing.Builder, io.envoyproxy.envoy.config.trace.v2.TracingOrBuilder> tracingBuilder_; /** *
     * Configuration for an external tracing provider.
     *
     * .. attention::
     *  This field has been deprecated in favor of :ref:`HttpConnectionManager.Tracing.provider
     *  <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.Tracing.provider>`.
     * 
* * .envoy.config.trace.v2.Tracing tracing = 9; * @return Whether the tracing field is set. */ 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_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.Tracing.provider>`.
     * 
* * .envoy.config.trace.v2.Tracing tracing = 9; * @return The tracing. */ public io.envoyproxy.envoy.config.trace.v2.Tracing getTracing() { if (tracingBuilder_ == null) { return tracing_ == null ? io.envoyproxy.envoy.config.trace.v2.Tracing.getDefaultInstance() : tracing_; } else { return tracingBuilder_.getMessage(); } } /** *
     * Configuration for an external tracing provider.
     *
     * .. attention::
     *  This field has been deprecated in favor of :ref:`HttpConnectionManager.Tracing.provider
     *  <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.Tracing.provider>`.
     * 
* * .envoy.config.trace.v2.Tracing tracing = 9; */ public Builder setTracing(io.envoyproxy.envoy.config.trace.v2.Tracing value) { if (tracingBuilder_ == null) { if (value == null) { throw new NullPointerException(); } tracing_ = value; } else { tracingBuilder_.setMessage(value); } bitField0_ |= 0x00000400; onChanged(); return this; } /** *
     * Configuration for an external tracing provider.
     *
     * .. attention::
     *  This field has been deprecated in favor of :ref:`HttpConnectionManager.Tracing.provider
     *  <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.Tracing.provider>`.
     * 
* * .envoy.config.trace.v2.Tracing tracing = 9; */ public Builder setTracing( io.envoyproxy.envoy.config.trace.v2.Tracing.Builder builderForValue) { if (tracingBuilder_ == null) { tracing_ = builderForValue.build(); } else { tracingBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000400; onChanged(); return this; } /** *
     * Configuration for an external tracing provider.
     *
     * .. attention::
     *  This field has been deprecated in favor of :ref:`HttpConnectionManager.Tracing.provider
     *  <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.Tracing.provider>`.
     * 
* * .envoy.config.trace.v2.Tracing tracing = 9; */ public Builder mergeTracing(io.envoyproxy.envoy.config.trace.v2.Tracing value) { if (tracingBuilder_ == null) { if (((bitField0_ & 0x00000400) != 0) && tracing_ != null && tracing_ != io.envoyproxy.envoy.config.trace.v2.Tracing.getDefaultInstance()) { getTracingBuilder().mergeFrom(value); } else { tracing_ = value; } } else { tracingBuilder_.mergeFrom(value); } if (tracing_ != null) { bitField0_ |= 0x00000400; onChanged(); } return this; } /** *
     * Configuration for an external tracing provider.
     *
     * .. attention::
     *  This field has been deprecated in favor of :ref:`HttpConnectionManager.Tracing.provider
     *  <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.Tracing.provider>`.
     * 
* * .envoy.config.trace.v2.Tracing tracing = 9; */ public Builder clearTracing() { bitField0_ = (bitField0_ & ~0x00000400); 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_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.Tracing.provider>`.
     * 
* * .envoy.config.trace.v2.Tracing tracing = 9; */ public io.envoyproxy.envoy.config.trace.v2.Tracing.Builder getTracingBuilder() { bitField0_ |= 0x00000400; onChanged(); return getTracingFieldBuilder().getBuilder(); } /** *
     * Configuration for an external tracing provider.
     *
     * .. attention::
     *  This field has been deprecated in favor of :ref:`HttpConnectionManager.Tracing.provider
     *  <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.Tracing.provider>`.
     * 
* * .envoy.config.trace.v2.Tracing tracing = 9; */ public io.envoyproxy.envoy.config.trace.v2.TracingOrBuilder getTracingOrBuilder() { if (tracingBuilder_ != null) { return tracingBuilder_.getMessageOrBuilder(); } else { return tracing_ == null ? io.envoyproxy.envoy.config.trace.v2.Tracing.getDefaultInstance() : tracing_; } } /** *
     * Configuration for an external tracing provider.
     *
     * .. attention::
     *  This field has been deprecated in favor of :ref:`HttpConnectionManager.Tracing.provider
     *  <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.Tracing.provider>`.
     * 
* * .envoy.config.trace.v2.Tracing tracing = 9; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.trace.v2.Tracing, io.envoyproxy.envoy.config.trace.v2.Tracing.Builder, io.envoyproxy.envoy.config.trace.v2.TracingOrBuilder> getTracingFieldBuilder() { if (tracingBuilder_ == null) { tracingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.trace.v2.Tracing, io.envoyproxy.envoy.config.trace.v2.Tracing.Builder, io.envoyproxy.envoy.config.trace.v2.TracingOrBuilder>( getTracing(), getParentForChildren(), isClean()); tracing_ = null; } return tracingBuilder_; } private io.envoyproxy.envoy.config.bootstrap.v2.Runtime runtime_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v2.Runtime, io.envoyproxy.envoy.config.bootstrap.v2.Runtime.Builder, io.envoyproxy.envoy.config.bootstrap.v2.RuntimeOrBuilder> runtimeBuilder_; /** *
     * Configuration for the runtime configuration provider (deprecated). If not
     * specified, a “null” provider will be used which will result in all defaults
     * being used.
     * 
* * .envoy.config.bootstrap.v2.Runtime runtime = 11 [deprecated = true, (.envoy.annotations.disallowed_by_default) = true]; * @deprecated envoy.config.bootstrap.v2.Bootstrap.runtime is deprecated. * See envoy/config/bootstrap/v2/bootstrap.proto;l=130 * @return Whether the runtime field is set. */ @java.lang.Deprecated public boolean hasRuntime() { return ((bitField0_ & 0x00000800) != 0); } /** *
     * Configuration for the runtime configuration provider (deprecated). If not
     * specified, a “null” provider will be used which will result in all defaults
     * being used.
     * 
* * .envoy.config.bootstrap.v2.Runtime runtime = 11 [deprecated = true, (.envoy.annotations.disallowed_by_default) = true]; * @deprecated envoy.config.bootstrap.v2.Bootstrap.runtime is deprecated. * See envoy/config/bootstrap/v2/bootstrap.proto;l=130 * @return The runtime. */ @java.lang.Deprecated public io.envoyproxy.envoy.config.bootstrap.v2.Runtime getRuntime() { if (runtimeBuilder_ == null) { return runtime_ == null ? io.envoyproxy.envoy.config.bootstrap.v2.Runtime.getDefaultInstance() : runtime_; } else { return runtimeBuilder_.getMessage(); } } /** *
     * Configuration for the runtime configuration provider (deprecated). If not
     * specified, a “null” provider will be used which will result in all defaults
     * being used.
     * 
* * .envoy.config.bootstrap.v2.Runtime runtime = 11 [deprecated = true, (.envoy.annotations.disallowed_by_default) = true]; */ @java.lang.Deprecated public Builder setRuntime(io.envoyproxy.envoy.config.bootstrap.v2.Runtime value) { if (runtimeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } runtime_ = value; } else { runtimeBuilder_.setMessage(value); } bitField0_ |= 0x00000800; onChanged(); return this; } /** *
     * Configuration for the runtime configuration provider (deprecated). If not
     * specified, a “null” provider will be used which will result in all defaults
     * being used.
     * 
* * .envoy.config.bootstrap.v2.Runtime runtime = 11 [deprecated = true, (.envoy.annotations.disallowed_by_default) = true]; */ @java.lang.Deprecated public Builder setRuntime( io.envoyproxy.envoy.config.bootstrap.v2.Runtime.Builder builderForValue) { if (runtimeBuilder_ == null) { runtime_ = builderForValue.build(); } else { runtimeBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000800; onChanged(); return this; } /** *
     * Configuration for the runtime configuration provider (deprecated). If not
     * specified, a “null” provider will be used which will result in all defaults
     * being used.
     * 
* * .envoy.config.bootstrap.v2.Runtime runtime = 11 [deprecated = true, (.envoy.annotations.disallowed_by_default) = true]; */ @java.lang.Deprecated public Builder mergeRuntime(io.envoyproxy.envoy.config.bootstrap.v2.Runtime value) { if (runtimeBuilder_ == null) { if (((bitField0_ & 0x00000800) != 0) && runtime_ != null && runtime_ != io.envoyproxy.envoy.config.bootstrap.v2.Runtime.getDefaultInstance()) { getRuntimeBuilder().mergeFrom(value); } else { runtime_ = value; } } else { runtimeBuilder_.mergeFrom(value); } if (runtime_ != null) { bitField0_ |= 0x00000800; onChanged(); } return this; } /** *
     * Configuration for the runtime configuration provider (deprecated). If not
     * specified, a “null” provider will be used which will result in all defaults
     * being used.
     * 
* * .envoy.config.bootstrap.v2.Runtime runtime = 11 [deprecated = true, (.envoy.annotations.disallowed_by_default) = true]; */ @java.lang.Deprecated public Builder clearRuntime() { bitField0_ = (bitField0_ & ~0x00000800); runtime_ = null; if (runtimeBuilder_ != null) { runtimeBuilder_.dispose(); runtimeBuilder_ = null; } onChanged(); return this; } /** *
     * Configuration for the runtime configuration provider (deprecated). If not
     * specified, a “null” provider will be used which will result in all defaults
     * being used.
     * 
* * .envoy.config.bootstrap.v2.Runtime runtime = 11 [deprecated = true, (.envoy.annotations.disallowed_by_default) = true]; */ @java.lang.Deprecated public io.envoyproxy.envoy.config.bootstrap.v2.Runtime.Builder getRuntimeBuilder() { bitField0_ |= 0x00000800; onChanged(); return getRuntimeFieldBuilder().getBuilder(); } /** *
     * Configuration for the runtime configuration provider (deprecated). If not
     * specified, a “null” provider will be used which will result in all defaults
     * being used.
     * 
* * .envoy.config.bootstrap.v2.Runtime runtime = 11 [deprecated = true, (.envoy.annotations.disallowed_by_default) = true]; */ @java.lang.Deprecated public io.envoyproxy.envoy.config.bootstrap.v2.RuntimeOrBuilder getRuntimeOrBuilder() { if (runtimeBuilder_ != null) { return runtimeBuilder_.getMessageOrBuilder(); } else { return runtime_ == null ? io.envoyproxy.envoy.config.bootstrap.v2.Runtime.getDefaultInstance() : runtime_; } } /** *
     * Configuration for the runtime configuration provider (deprecated). If not
     * specified, a “null” provider will be used which will result in all defaults
     * being used.
     * 
* * .envoy.config.bootstrap.v2.Runtime runtime = 11 [deprecated = true, (.envoy.annotations.disallowed_by_default) = true]; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v2.Runtime, io.envoyproxy.envoy.config.bootstrap.v2.Runtime.Builder, io.envoyproxy.envoy.config.bootstrap.v2.RuntimeOrBuilder> getRuntimeFieldBuilder() { if (runtimeBuilder_ == null) { runtimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v2.Runtime, io.envoyproxy.envoy.config.bootstrap.v2.Runtime.Builder, io.envoyproxy.envoy.config.bootstrap.v2.RuntimeOrBuilder>( getRuntime(), getParentForChildren(), isClean()); runtime_ = null; } return runtimeBuilder_; } private io.envoyproxy.envoy.config.bootstrap.v2.LayeredRuntime layeredRuntime_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v2.LayeredRuntime, io.envoyproxy.envoy.config.bootstrap.v2.LayeredRuntime.Builder, io.envoyproxy.envoy.config.bootstrap.v2.LayeredRuntimeOrBuilder> layeredRuntimeBuilder_; /** *
     * Configuration for the runtime configuration provider. If not
     * specified, a “null” provider will be used which will result in all defaults
     * being used.
     * 
* * .envoy.config.bootstrap.v2.LayeredRuntime layered_runtime = 17; * @return Whether the layeredRuntime field is set. */ public boolean hasLayeredRuntime() { return ((bitField0_ & 0x00001000) != 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.v2.LayeredRuntime layered_runtime = 17; * @return The layeredRuntime. */ public io.envoyproxy.envoy.config.bootstrap.v2.LayeredRuntime getLayeredRuntime() { if (layeredRuntimeBuilder_ == null) { return layeredRuntime_ == null ? io.envoyproxy.envoy.config.bootstrap.v2.LayeredRuntime.getDefaultInstance() : layeredRuntime_; } else { return layeredRuntimeBuilder_.getMessage(); } } /** *
     * Configuration for the runtime configuration provider. If not
     * specified, a “null” provider will be used which will result in all defaults
     * being used.
     * 
* * .envoy.config.bootstrap.v2.LayeredRuntime layered_runtime = 17; */ public Builder setLayeredRuntime(io.envoyproxy.envoy.config.bootstrap.v2.LayeredRuntime value) { if (layeredRuntimeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } layeredRuntime_ = value; } else { layeredRuntimeBuilder_.setMessage(value); } bitField0_ |= 0x00001000; 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.v2.LayeredRuntime layered_runtime = 17; */ public Builder setLayeredRuntime( io.envoyproxy.envoy.config.bootstrap.v2.LayeredRuntime.Builder builderForValue) { if (layeredRuntimeBuilder_ == null) { layeredRuntime_ = builderForValue.build(); } else { layeredRuntimeBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00001000; 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.v2.LayeredRuntime layered_runtime = 17; */ public Builder mergeLayeredRuntime(io.envoyproxy.envoy.config.bootstrap.v2.LayeredRuntime value) { if (layeredRuntimeBuilder_ == null) { if (((bitField0_ & 0x00001000) != 0) && layeredRuntime_ != null && layeredRuntime_ != io.envoyproxy.envoy.config.bootstrap.v2.LayeredRuntime.getDefaultInstance()) { getLayeredRuntimeBuilder().mergeFrom(value); } else { layeredRuntime_ = value; } } else { layeredRuntimeBuilder_.mergeFrom(value); } if (layeredRuntime_ != null) { bitField0_ |= 0x00001000; 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.v2.LayeredRuntime layered_runtime = 17; */ public Builder clearLayeredRuntime() { bitField0_ = (bitField0_ & ~0x00001000); 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.v2.LayeredRuntime layered_runtime = 17; */ public io.envoyproxy.envoy.config.bootstrap.v2.LayeredRuntime.Builder getLayeredRuntimeBuilder() { bitField0_ |= 0x00001000; onChanged(); return getLayeredRuntimeFieldBuilder().getBuilder(); } /** *
     * Configuration for the runtime configuration provider. If not
     * specified, a “null” provider will be used which will result in all defaults
     * being used.
     * 
* * .envoy.config.bootstrap.v2.LayeredRuntime layered_runtime = 17; */ public io.envoyproxy.envoy.config.bootstrap.v2.LayeredRuntimeOrBuilder getLayeredRuntimeOrBuilder() { if (layeredRuntimeBuilder_ != null) { return layeredRuntimeBuilder_.getMessageOrBuilder(); } else { return layeredRuntime_ == null ? io.envoyproxy.envoy.config.bootstrap.v2.LayeredRuntime.getDefaultInstance() : layeredRuntime_; } } /** *
     * Configuration for the runtime configuration provider. If not
     * specified, a “null” provider will be used which will result in all defaults
     * being used.
     * 
* * .envoy.config.bootstrap.v2.LayeredRuntime layered_runtime = 17; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v2.LayeredRuntime, io.envoyproxy.envoy.config.bootstrap.v2.LayeredRuntime.Builder, io.envoyproxy.envoy.config.bootstrap.v2.LayeredRuntimeOrBuilder> getLayeredRuntimeFieldBuilder() { if (layeredRuntimeBuilder_ == null) { layeredRuntimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v2.LayeredRuntime, io.envoyproxy.envoy.config.bootstrap.v2.LayeredRuntime.Builder, io.envoyproxy.envoy.config.bootstrap.v2.LayeredRuntimeOrBuilder>( getLayeredRuntime(), getParentForChildren(), isClean()); layeredRuntime_ = null; } return layeredRuntimeBuilder_; } private io.envoyproxy.envoy.config.bootstrap.v2.Admin admin_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v2.Admin, io.envoyproxy.envoy.config.bootstrap.v2.Admin.Builder, io.envoyproxy.envoy.config.bootstrap.v2.AdminOrBuilder> adminBuilder_; /** *
     * Configuration for the local administration HTTP server.
     * 
* * .envoy.config.bootstrap.v2.Admin admin = 12; * @return Whether the admin field is set. */ public boolean hasAdmin() { return ((bitField0_ & 0x00002000) != 0); } /** *
     * Configuration for the local administration HTTP server.
     * 
* * .envoy.config.bootstrap.v2.Admin admin = 12; * @return The admin. */ public io.envoyproxy.envoy.config.bootstrap.v2.Admin getAdmin() { if (adminBuilder_ == null) { return admin_ == null ? io.envoyproxy.envoy.config.bootstrap.v2.Admin.getDefaultInstance() : admin_; } else { return adminBuilder_.getMessage(); } } /** *
     * Configuration for the local administration HTTP server.
     * 
* * .envoy.config.bootstrap.v2.Admin admin = 12; */ public Builder setAdmin(io.envoyproxy.envoy.config.bootstrap.v2.Admin value) { if (adminBuilder_ == null) { if (value == null) { throw new NullPointerException(); } admin_ = value; } else { adminBuilder_.setMessage(value); } bitField0_ |= 0x00002000; onChanged(); return this; } /** *
     * Configuration for the local administration HTTP server.
     * 
* * .envoy.config.bootstrap.v2.Admin admin = 12; */ public Builder setAdmin( io.envoyproxy.envoy.config.bootstrap.v2.Admin.Builder builderForValue) { if (adminBuilder_ == null) { admin_ = builderForValue.build(); } else { adminBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00002000; onChanged(); return this; } /** *
     * Configuration for the local administration HTTP server.
     * 
* * .envoy.config.bootstrap.v2.Admin admin = 12; */ public Builder mergeAdmin(io.envoyproxy.envoy.config.bootstrap.v2.Admin value) { if (adminBuilder_ == null) { if (((bitField0_ & 0x00002000) != 0) && admin_ != null && admin_ != io.envoyproxy.envoy.config.bootstrap.v2.Admin.getDefaultInstance()) { getAdminBuilder().mergeFrom(value); } else { admin_ = value; } } else { adminBuilder_.mergeFrom(value); } if (admin_ != null) { bitField0_ |= 0x00002000; onChanged(); } return this; } /** *
     * Configuration for the local administration HTTP server.
     * 
* * .envoy.config.bootstrap.v2.Admin admin = 12; */ public Builder clearAdmin() { bitField0_ = (bitField0_ & ~0x00002000); admin_ = null; if (adminBuilder_ != null) { adminBuilder_.dispose(); adminBuilder_ = null; } onChanged(); return this; } /** *
     * Configuration for the local administration HTTP server.
     * 
* * .envoy.config.bootstrap.v2.Admin admin = 12; */ public io.envoyproxy.envoy.config.bootstrap.v2.Admin.Builder getAdminBuilder() { bitField0_ |= 0x00002000; onChanged(); return getAdminFieldBuilder().getBuilder(); } /** *
     * Configuration for the local administration HTTP server.
     * 
* * .envoy.config.bootstrap.v2.Admin admin = 12; */ public io.envoyproxy.envoy.config.bootstrap.v2.AdminOrBuilder getAdminOrBuilder() { if (adminBuilder_ != null) { return adminBuilder_.getMessageOrBuilder(); } else { return admin_ == null ? io.envoyproxy.envoy.config.bootstrap.v2.Admin.getDefaultInstance() : admin_; } } /** *
     * Configuration for the local administration HTTP server.
     * 
* * .envoy.config.bootstrap.v2.Admin admin = 12; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v2.Admin, io.envoyproxy.envoy.config.bootstrap.v2.Admin.Builder, io.envoyproxy.envoy.config.bootstrap.v2.AdminOrBuilder> getAdminFieldBuilder() { if (adminBuilder_ == null) { adminBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.bootstrap.v2.Admin, io.envoyproxy.envoy.config.bootstrap.v2.Admin.Builder, io.envoyproxy.envoy.config.bootstrap.v2.AdminOrBuilder>( getAdmin(), getParentForChildren(), isClean()); admin_ = null; } return adminBuilder_; } private io.envoyproxy.envoy.config.overload.v2alpha.OverloadManager overloadManager_; private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.overload.v2alpha.OverloadManager, io.envoyproxy.envoy.config.overload.v2alpha.OverloadManager.Builder, io.envoyproxy.envoy.config.overload.v2alpha.OverloadManagerOrBuilder> overloadManagerBuilder_; /** *
     * Optional overload manager configuration.
     * 
* * .envoy.config.overload.v2alpha.OverloadManager overload_manager = 15; * @return Whether the overloadManager field is set. */ public boolean hasOverloadManager() { return ((bitField0_ & 0x00004000) != 0); } /** *
     * Optional overload manager configuration.
     * 
* * .envoy.config.overload.v2alpha.OverloadManager overload_manager = 15; * @return The overloadManager. */ public io.envoyproxy.envoy.config.overload.v2alpha.OverloadManager getOverloadManager() { if (overloadManagerBuilder_ == null) { return overloadManager_ == null ? io.envoyproxy.envoy.config.overload.v2alpha.OverloadManager.getDefaultInstance() : overloadManager_; } else { return overloadManagerBuilder_.getMessage(); } } /** *
     * Optional overload manager configuration.
     * 
* * .envoy.config.overload.v2alpha.OverloadManager overload_manager = 15; */ public Builder setOverloadManager(io.envoyproxy.envoy.config.overload.v2alpha.OverloadManager value) { if (overloadManagerBuilder_ == null) { if (value == null) { throw new NullPointerException(); } overloadManager_ = value; } else { overloadManagerBuilder_.setMessage(value); } bitField0_ |= 0x00004000; onChanged(); return this; } /** *
     * Optional overload manager configuration.
     * 
* * .envoy.config.overload.v2alpha.OverloadManager overload_manager = 15; */ public Builder setOverloadManager( io.envoyproxy.envoy.config.overload.v2alpha.OverloadManager.Builder builderForValue) { if (overloadManagerBuilder_ == null) { overloadManager_ = builderForValue.build(); } else { overloadManagerBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00004000; onChanged(); return this; } /** *
     * Optional overload manager configuration.
     * 
* * .envoy.config.overload.v2alpha.OverloadManager overload_manager = 15; */ public Builder mergeOverloadManager(io.envoyproxy.envoy.config.overload.v2alpha.OverloadManager value) { if (overloadManagerBuilder_ == null) { if (((bitField0_ & 0x00004000) != 0) && overloadManager_ != null && overloadManager_ != io.envoyproxy.envoy.config.overload.v2alpha.OverloadManager.getDefaultInstance()) { getOverloadManagerBuilder().mergeFrom(value); } else { overloadManager_ = value; } } else { overloadManagerBuilder_.mergeFrom(value); } if (overloadManager_ != null) { bitField0_ |= 0x00004000; onChanged(); } return this; } /** *
     * Optional overload manager configuration.
     * 
* * .envoy.config.overload.v2alpha.OverloadManager overload_manager = 15; */ public Builder clearOverloadManager() { bitField0_ = (bitField0_ & ~0x00004000); overloadManager_ = null; if (overloadManagerBuilder_ != null) { overloadManagerBuilder_.dispose(); overloadManagerBuilder_ = null; } onChanged(); return this; } /** *
     * Optional overload manager configuration.
     * 
* * .envoy.config.overload.v2alpha.OverloadManager overload_manager = 15; */ public io.envoyproxy.envoy.config.overload.v2alpha.OverloadManager.Builder getOverloadManagerBuilder() { bitField0_ |= 0x00004000; onChanged(); return getOverloadManagerFieldBuilder().getBuilder(); } /** *
     * Optional overload manager configuration.
     * 
* * .envoy.config.overload.v2alpha.OverloadManager overload_manager = 15; */ public io.envoyproxy.envoy.config.overload.v2alpha.OverloadManagerOrBuilder getOverloadManagerOrBuilder() { if (overloadManagerBuilder_ != null) { return overloadManagerBuilder_.getMessageOrBuilder(); } else { return overloadManager_ == null ? io.envoyproxy.envoy.config.overload.v2alpha.OverloadManager.getDefaultInstance() : overloadManager_; } } /** *
     * Optional overload manager configuration.
     * 
* * .envoy.config.overload.v2alpha.OverloadManager overload_manager = 15; */ private com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.overload.v2alpha.OverloadManager, io.envoyproxy.envoy.config.overload.v2alpha.OverloadManager.Builder, io.envoyproxy.envoy.config.overload.v2alpha.OverloadManagerOrBuilder> getOverloadManagerFieldBuilder() { if (overloadManagerBuilder_ == null) { overloadManagerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.envoyproxy.envoy.config.overload.v2alpha.OverloadManager, io.envoyproxy.envoy.config.overload.v2alpha.OverloadManager.Builder, io.envoyproxy.envoy.config.overload.v2alpha.OverloadManagerOrBuilder>( getOverloadManager(), getParentForChildren(), isClean()); overloadManager_ = null; } return overloadManagerBuilder_; } private boolean enableDispatcherStats_ ; /** *
     * Enable :ref:`stats for event dispatcher <operations_performance>`, defaults to false.
     * Note that this records a value for each iteration of the event loop on every thread. This
     * should normally be minimal overhead, but when using
     * :ref:`statsd <envoy_api_msg_config.metrics.v2.StatsdSink>`, it will send each observed value
     * over the wire individually because the statsd protocol doesn't have any way to represent a
     * histogram summary. Be aware that this can be a very large volume of data.
     * 
* * bool enable_dispatcher_stats = 16; * @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_api_msg_config.metrics.v2.StatsdSink>`, it will send each observed value
     * over the wire individually because the statsd protocol doesn't have any way to represent a
     * histogram summary. Be aware that this can be a very large volume of data.
     * 
* * bool enable_dispatcher_stats = 16; * @param value The enableDispatcherStats to set. * @return This builder for chaining. */ public Builder setEnableDispatcherStats(boolean value) { enableDispatcherStats_ = value; bitField0_ |= 0x00008000; onChanged(); return this; } /** *
     * Enable :ref:`stats for event dispatcher <operations_performance>`, defaults to false.
     * Note that this records a value for each iteration of the event loop on every thread. This
     * should normally be minimal overhead, but when using
     * :ref:`statsd <envoy_api_msg_config.metrics.v2.StatsdSink>`, it will send each observed value
     * over the wire individually because the statsd protocol doesn't have any way to represent a
     * histogram summary. Be aware that this can be a very large volume of data.
     * 
* * bool enable_dispatcher_stats = 16; * @return This builder for chaining. */ public Builder clearEnableDispatcherStats() { bitField0_ = (bitField0_ & ~0x00008000); 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_ |= 0x00010000; 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_ & ~0x00010000); 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_ |= 0x00010000; 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_api_msg_config.metrics.v2.StatsSink>`.
     * 
* * .google.protobuf.UInt64Value stats_server_version_override = 19; * @return Whether the statsServerVersionOverride field is set. */ public boolean hasStatsServerVersionOverride() { return ((bitField0_ & 0x00020000) != 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_api_msg_config.metrics.v2.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_api_msg_config.metrics.v2.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_ |= 0x00020000; 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_api_msg_config.metrics.v2.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_ |= 0x00020000; 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_api_msg_config.metrics.v2.StatsSink>`.
     * 
* * .google.protobuf.UInt64Value stats_server_version_override = 19; */ public Builder mergeStatsServerVersionOverride(com.google.protobuf.UInt64Value value) { if (statsServerVersionOverrideBuilder_ == null) { if (((bitField0_ & 0x00020000) != 0) && statsServerVersionOverride_ != null && statsServerVersionOverride_ != com.google.protobuf.UInt64Value.getDefaultInstance()) { getStatsServerVersionOverrideBuilder().mergeFrom(value); } else { statsServerVersionOverride_ = value; } } else { statsServerVersionOverrideBuilder_.mergeFrom(value); } if (statsServerVersionOverride_ != null) { bitField0_ |= 0x00020000; 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_api_msg_config.metrics.v2.StatsSink>`.
     * 
* * .google.protobuf.UInt64Value stats_server_version_override = 19; */ public Builder clearStatsServerVersionOverride() { bitField0_ = (bitField0_ & ~0x00020000); 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_api_msg_config.metrics.v2.StatsSink>`.
     * 
* * .google.protobuf.UInt64Value stats_server_version_override = 19; */ public com.google.protobuf.UInt64Value.Builder getStatsServerVersionOverrideBuilder() { bitField0_ |= 0x00020000; 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_api_msg_config.metrics.v2.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_api_msg_config.metrics.v2.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_api_field_Cluster.dns_resolvers>` and
     * :ref:`use_tcp_for_dns_lookups <envoy_api_field_Cluster.use_tcp_for_dns_lookups>` are
     * specified.
     * Setting this value causes failure if the
     * ``envoy.restart_features.use_apple_api_for_dns_lookups`` runtime value is true during
     * server startup. Apple' API only uses UDP for DNS resolution.
     * 
* * bool use_tcp_for_dns_lookups = 20; * @return The useTcpForDnsLookups. */ @java.lang.Override 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_api_field_Cluster.dns_resolvers>` and
     * :ref:`use_tcp_for_dns_lookups <envoy_api_field_Cluster.use_tcp_for_dns_lookups>` are
     * specified.
     * Setting this value causes failure if the
     * ``envoy.restart_features.use_apple_api_for_dns_lookups`` runtime value is true during
     * server startup. Apple' API only uses UDP for DNS resolution.
     * 
* * bool use_tcp_for_dns_lookups = 20; * @param value The useTcpForDnsLookups to set. * @return This builder for chaining. */ public Builder setUseTcpForDnsLookups(boolean value) { useTcpForDnsLookups_ = value; bitField0_ |= 0x00040000; 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_api_field_Cluster.dns_resolvers>` and
     * :ref:`use_tcp_for_dns_lookups <envoy_api_field_Cluster.use_tcp_for_dns_lookups>` are
     * specified.
     * Setting this value causes failure if the
     * ``envoy.restart_features.use_apple_api_for_dns_lookups`` runtime value is true during
     * server startup. Apple' API only uses UDP for DNS resolution.
     * 
* * bool use_tcp_for_dns_lookups = 20; * @return This builder for chaining. */ public Builder clearUseTcpForDnsLookups() { bitField0_ = (bitField0_ & ~0x00040000); useTcpForDnsLookups_ = 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.v2.Bootstrap) } // @@protoc_insertion_point(class_scope:envoy.config.bootstrap.v2.Bootstrap) private static final io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap(); } public static io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Bootstrap parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { 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.v2.Bootstrap getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy