Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: envoy/config/bootstrap/v2/bootstrap.proto
package io.envoyproxy.envoy.config.bootstrap.v2;
/**
*
* 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).
*
* 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).
*
* 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).
*
* 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).
*
* 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).
*
* Static :ref:`Listeners <envoy_api_msg_Listener>`. These listeners are
* available regardless of LDS configuration.
*
*
* repeated .envoy.api.v2.Listener listeners = 1;
*/
public io.envoyproxy.envoy.api.v2.ListenerOrBuilder getListenersOrBuilder(
int index) {
return listeners_.get(index);
}
public static final int CLUSTERS_FIELD_NUMBER = 2;
private java.util.List clusters_;
/**
*
* If a network based configuration source is specified for :ref:`cds_config
* <envoy_api_field_config.bootstrap.v2.Bootstrap.DynamicResources.cds_config>`, it's necessary
* to have some initial cluster definitions available to allow Envoy to know
* how to speak to the management server. These cluster definitions may not
* use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
* IP or DNS-based).
*
* 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).
*
* If a network based configuration source is specified for :ref:`cds_config
* <envoy_api_field_config.bootstrap.v2.Bootstrap.DynamicResources.cds_config>`, it's necessary
* to have some initial cluster definitions available to allow Envoy to know
* how to speak to the management server. These cluster definitions may not
* use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
* IP or DNS-based).
*
*
* repeated .envoy.api.v2.Cluster clusters = 2;
*/
public int getClustersCount() {
return clusters_.size();
}
/**
*
* If a network based configuration source is specified for :ref:`cds_config
* <envoy_api_field_config.bootstrap.v2.Bootstrap.DynamicResources.cds_config>`, it's necessary
* to have some initial cluster definitions available to allow Envoy to know
* how to speak to the management server. These cluster definitions may not
* use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
* IP or DNS-based).
*
* If a network based configuration source is specified for :ref:`cds_config
* <envoy_api_field_config.bootstrap.v2.Bootstrap.DynamicResources.cds_config>`, it's necessary
* to have some initial cluster definitions available to allow Envoy to know
* how to speak to the management server. These cluster definitions may not
* use :ref:`EDS <arch_overview_dynamic_config_eds>` (i.e. they should be static
* IP or DNS-based).
*
*
* repeated .envoy.api.v2.Cluster clusters = 2;
*/
public io.envoyproxy.envoy.api.v2.ClusterOrBuilder getClustersOrBuilder(
int index) {
return clusters_.get(index);
}
public static final int SECRETS_FIELD_NUMBER = 3;
private java.util.List secrets_;
/**
*
* These static secrets can be used by :ref:`SdsSecretConfig
* <envoy_api_msg_auth.SdsSecretConfig>`
*
* 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).
*
* 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).
*
* 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).
*
* 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).
*
* 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).
*
* 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).
*
* 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).
*
* 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).
*
* 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).
*
* 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).
*
* 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).
*
* 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).
*
* All post-bootstrap :ref:`Cluster <envoy_api_msg_Cluster>` definitions are
* provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
* configuration source.
*
* All post-bootstrap :ref:`Cluster <envoy_api_msg_Cluster>` definitions are
* provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
* configuration source.
*
* All post-bootstrap :ref:`Cluster <envoy_api_msg_Cluster>` definitions are
* provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
* configuration source.
*
* A single :ref:`ADS <config_overview_v2_ads>` source may be optionally
* specified. This must have :ref:`api_type
* <envoy_api_field_core.ApiConfigSource.api_type>` :ref:`GRPC
* <envoy_api_enum_value_core.ApiConfigSource.ApiType.GRPC>`. Only
* :ref:`ConfigSources <envoy_api_msg_core.ConfigSource>` that have
* the :ref:`ads <envoy_api_field_core.ConfigSource.ads>` field set will be
* streamed on the ADS channel.
*
* A single :ref:`ADS <config_overview_v2_ads>` source may be optionally
* specified. This must have :ref:`api_type
* <envoy_api_field_core.ApiConfigSource.api_type>` :ref:`GRPC
* <envoy_api_enum_value_core.ApiConfigSource.ApiType.GRPC>`. Only
* :ref:`ConfigSources <envoy_api_msg_core.ConfigSource>` that have
* the :ref:`ads <envoy_api_field_core.ConfigSource.ads>` field set will be
* streamed on the ADS channel.
*
* A single :ref:`ADS <config_overview_v2_ads>` source may be optionally
* specified. This must have :ref:`api_type
* <envoy_api_field_core.ApiConfigSource.api_type>` :ref:`GRPC
* <envoy_api_enum_value_core.ApiConfigSource.ApiType.GRPC>`. Only
* :ref:`ConfigSources <envoy_api_msg_core.ConfigSource>` that have
* the :ref:`ads <envoy_api_field_core.ConfigSource.ads>` field set will be
* streamed on the ADS channel.
*
*
* .envoy.api.v2.core.ApiConfigSource ads_config = 3;
*/
io.envoyproxy.envoy.api.v2.core.ApiConfigSourceOrBuilder getAdsConfigOrBuilder();
}
/**
* Protobuf type {@code envoy.config.bootstrap.v2.Bootstrap.DynamicResources}
*/
public static final class DynamicResources extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:envoy.config.bootstrap.v2.Bootstrap.DynamicResources)
DynamicResourcesOrBuilder {
private static final long serialVersionUID = 0L;
// Use DynamicResources.newBuilder() to construct.
private DynamicResources(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private DynamicResources() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new DynamicResources();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private DynamicResources(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
io.envoyproxy.envoy.api.v2.core.ConfigSource.Builder subBuilder = null;
if (ldsConfig_ != null) {
subBuilder = ldsConfig_.toBuilder();
}
ldsConfig_ = input.readMessage(io.envoyproxy.envoy.api.v2.core.ConfigSource.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(ldsConfig_);
ldsConfig_ = subBuilder.buildPartial();
}
break;
}
case 18: {
io.envoyproxy.envoy.api.v2.core.ConfigSource.Builder subBuilder = null;
if (cdsConfig_ != null) {
subBuilder = cdsConfig_.toBuilder();
}
cdsConfig_ = input.readMessage(io.envoyproxy.envoy.api.v2.core.ConfigSource.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(cdsConfig_);
cdsConfig_ = subBuilder.buildPartial();
}
break;
}
case 26: {
io.envoyproxy.envoy.api.v2.core.ApiConfigSource.Builder subBuilder = null;
if (adsConfig_ != null) {
subBuilder = adsConfig_.toBuilder();
}
adsConfig_ = input.readMessage(io.envoyproxy.envoy.api.v2.core.ApiConfigSource.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(adsConfig_);
adsConfig_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.envoyproxy.envoy.config.bootstrap.v2.BootstrapProto.internal_static_envoy_config_bootstrap_v2_Bootstrap_DynamicResources_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.envoyproxy.envoy.config.bootstrap.v2.BootstrapProto.internal_static_envoy_config_bootstrap_v2_Bootstrap_DynamicResources_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources.class, io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources.Builder.class);
}
public static final int LDS_CONFIG_FIELD_NUMBER = 1;
private io.envoyproxy.envoy.api.v2.core.ConfigSource ldsConfig_;
/**
*
* All :ref:`Listeners <envoy_api_msg_Listener>` are provided by a single
* :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
*
* All :ref:`Listeners <envoy_api_msg_Listener>` are provided by a single
* :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
*
*
* .envoy.api.v2.core.ConfigSource lds_config = 1;
*/
public io.envoyproxy.envoy.api.v2.core.ConfigSourceOrBuilder getLdsConfigOrBuilder() {
return getLdsConfig();
}
public static final int CDS_CONFIG_FIELD_NUMBER = 2;
private io.envoyproxy.envoy.api.v2.core.ConfigSource cdsConfig_;
/**
*
* All post-bootstrap :ref:`Cluster <envoy_api_msg_Cluster>` definitions are
* provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
* configuration source.
*
* All post-bootstrap :ref:`Cluster <envoy_api_msg_Cluster>` definitions are
* provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
* configuration source.
*
* All post-bootstrap :ref:`Cluster <envoy_api_msg_Cluster>` definitions are
* provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
* configuration source.
*
*
* .envoy.api.v2.core.ConfigSource cds_config = 2;
*/
public io.envoyproxy.envoy.api.v2.core.ConfigSourceOrBuilder getCdsConfigOrBuilder() {
return getCdsConfig();
}
public static final int ADS_CONFIG_FIELD_NUMBER = 3;
private io.envoyproxy.envoy.api.v2.core.ApiConfigSource adsConfig_;
/**
*
* A single :ref:`ADS <config_overview_v2_ads>` source may be optionally
* specified. This must have :ref:`api_type
* <envoy_api_field_core.ApiConfigSource.api_type>` :ref:`GRPC
* <envoy_api_enum_value_core.ApiConfigSource.ApiType.GRPC>`. Only
* :ref:`ConfigSources <envoy_api_msg_core.ConfigSource>` that have
* the :ref:`ads <envoy_api_field_core.ConfigSource.ads>` field set will be
* streamed on the ADS channel.
*
* A single :ref:`ADS <config_overview_v2_ads>` source may be optionally
* specified. This must have :ref:`api_type
* <envoy_api_field_core.ApiConfigSource.api_type>` :ref:`GRPC
* <envoy_api_enum_value_core.ApiConfigSource.ApiType.GRPC>`. Only
* :ref:`ConfigSources <envoy_api_msg_core.ConfigSource>` that have
* the :ref:`ads <envoy_api_field_core.ConfigSource.ads>` field set will be
* streamed on the ADS channel.
*
* A single :ref:`ADS <config_overview_v2_ads>` source may be optionally
* specified. This must have :ref:`api_type
* <envoy_api_field_core.ApiConfigSource.api_type>` :ref:`GRPC
* <envoy_api_enum_value_core.ApiConfigSource.ApiType.GRPC>`. Only
* :ref:`ConfigSources <envoy_api_msg_core.ConfigSource>` that have
* the :ref:`ads <envoy_api_field_core.ConfigSource.ads>` field set will be
* streamed on the ADS channel.
*
*
* .envoy.api.v2.core.ApiConfigSource ads_config = 3;
*/
public io.envoyproxy.envoy.api.v2.core.ApiConfigSourceOrBuilder getAdsConfigOrBuilder() {
return getAdsConfig();
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (ldsConfig_ != null) {
output.writeMessage(1, getLdsConfig());
}
if (cdsConfig_ != null) {
output.writeMessage(2, getCdsConfig());
}
if (adsConfig_ != null) {
output.writeMessage(3, getAdsConfig());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (ldsConfig_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getLdsConfig());
}
if (cdsConfig_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getCdsConfig());
}
if (adsConfig_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getAdsConfig());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources)) {
return super.equals(obj);
}
io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources other = (io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources) obj;
if (hasLdsConfig() != other.hasLdsConfig()) return false;
if (hasLdsConfig()) {
if (!getLdsConfig()
.equals(other.getLdsConfig())) return false;
}
if (hasCdsConfig() != other.hasCdsConfig()) return false;
if (hasCdsConfig()) {
if (!getCdsConfig()
.equals(other.getCdsConfig())) return false;
}
if (hasAdsConfig() != other.hasAdsConfig()) return false;
if (hasAdsConfig()) {
if (!getAdsConfig()
.equals(other.getAdsConfig())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasLdsConfig()) {
hash = (37 * hash) + LDS_CONFIG_FIELD_NUMBER;
hash = (53 * hash) + getLdsConfig().hashCode();
}
if (hasCdsConfig()) {
hash = (37 * hash) + CDS_CONFIG_FIELD_NUMBER;
hash = (53 * hash) + getCdsConfig().hashCode();
}
if (hasAdsConfig()) {
hash = (37 * hash) + ADS_CONFIG_FIELD_NUMBER;
hash = (53 * hash) + getAdsConfig().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code envoy.config.bootstrap.v2.Bootstrap.DynamicResources}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:envoy.config.bootstrap.v2.Bootstrap.DynamicResources)
io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResourcesOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.envoyproxy.envoy.config.bootstrap.v2.BootstrapProto.internal_static_envoy_config_bootstrap_v2_Bootstrap_DynamicResources_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.envoyproxy.envoy.config.bootstrap.v2.BootstrapProto.internal_static_envoy_config_bootstrap_v2_Bootstrap_DynamicResources_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources.class, io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources.Builder.class);
}
// Construct using io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (ldsConfigBuilder_ == null) {
ldsConfig_ = null;
} else {
ldsConfig_ = null;
ldsConfigBuilder_ = null;
}
if (cdsConfigBuilder_ == null) {
cdsConfig_ = null;
} else {
cdsConfig_ = null;
cdsConfigBuilder_ = null;
}
if (adsConfigBuilder_ == null) {
adsConfig_ = null;
} else {
adsConfig_ = null;
adsConfigBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return io.envoyproxy.envoy.config.bootstrap.v2.BootstrapProto.internal_static_envoy_config_bootstrap_v2_Bootstrap_DynamicResources_descriptor;
}
@java.lang.Override
public io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources getDefaultInstanceForType() {
return io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources.getDefaultInstance();
}
@java.lang.Override
public io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources build() {
io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources buildPartial() {
io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources result = new io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources(this);
if (ldsConfigBuilder_ == null) {
result.ldsConfig_ = ldsConfig_;
} else {
result.ldsConfig_ = ldsConfigBuilder_.build();
}
if (cdsConfigBuilder_ == null) {
result.cdsConfig_ = cdsConfig_;
} else {
result.cdsConfig_ = cdsConfigBuilder_.build();
}
if (adsConfigBuilder_ == null) {
result.adsConfig_ = adsConfig_;
} else {
result.adsConfig_ = adsConfigBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources) {
return mergeFrom((io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources other) {
if (other == io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources.getDefaultInstance()) return this;
if (other.hasLdsConfig()) {
mergeLdsConfig(other.getLdsConfig());
}
if (other.hasCdsConfig()) {
mergeCdsConfig(other.getCdsConfig());
}
if (other.hasAdsConfig()) {
mergeAdsConfig(other.getAdsConfig());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private io.envoyproxy.envoy.api.v2.core.ConfigSource ldsConfig_;
private com.google.protobuf.SingleFieldBuilderV3<
io.envoyproxy.envoy.api.v2.core.ConfigSource, io.envoyproxy.envoy.api.v2.core.ConfigSource.Builder, io.envoyproxy.envoy.api.v2.core.ConfigSourceOrBuilder> ldsConfigBuilder_;
/**
*
* All :ref:`Listeners <envoy_api_msg_Listener>` are provided by a single
* :ref:`LDS <arch_overview_dynamic_config_lds>` configuration source.
*
* All post-bootstrap :ref:`Cluster <envoy_api_msg_Cluster>` definitions are
* provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
* configuration source.
*
* All post-bootstrap :ref:`Cluster <envoy_api_msg_Cluster>` definitions are
* provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
* configuration source.
*
* All post-bootstrap :ref:`Cluster <envoy_api_msg_Cluster>` definitions are
* provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
* configuration source.
*
*
* .envoy.api.v2.core.ConfigSource cds_config = 2;
*/
public Builder setCdsConfig(io.envoyproxy.envoy.api.v2.core.ConfigSource value) {
if (cdsConfigBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
cdsConfig_ = value;
onChanged();
} else {
cdsConfigBuilder_.setMessage(value);
}
return this;
}
/**
*
* All post-bootstrap :ref:`Cluster <envoy_api_msg_Cluster>` definitions are
* provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
* configuration source.
*
* All post-bootstrap :ref:`Cluster <envoy_api_msg_Cluster>` definitions are
* provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
* configuration source.
*
* All post-bootstrap :ref:`Cluster <envoy_api_msg_Cluster>` definitions are
* provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
* configuration source.
*
* All post-bootstrap :ref:`Cluster <envoy_api_msg_Cluster>` definitions are
* provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
* configuration source.
*
* All post-bootstrap :ref:`Cluster <envoy_api_msg_Cluster>` definitions are
* provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
* configuration source.
*
* All post-bootstrap :ref:`Cluster <envoy_api_msg_Cluster>` definitions are
* provided by a single :ref:`CDS <arch_overview_dynamic_config_cds>`
* configuration source.
*
* A single :ref:`ADS <config_overview_v2_ads>` source may be optionally
* specified. This must have :ref:`api_type
* <envoy_api_field_core.ApiConfigSource.api_type>` :ref:`GRPC
* <envoy_api_enum_value_core.ApiConfigSource.ApiType.GRPC>`. Only
* :ref:`ConfigSources <envoy_api_msg_core.ConfigSource>` that have
* the :ref:`ads <envoy_api_field_core.ConfigSource.ads>` field set will be
* streamed on the ADS channel.
*
* A single :ref:`ADS <config_overview_v2_ads>` source may be optionally
* specified. This must have :ref:`api_type
* <envoy_api_field_core.ApiConfigSource.api_type>` :ref:`GRPC
* <envoy_api_enum_value_core.ApiConfigSource.ApiType.GRPC>`. Only
* :ref:`ConfigSources <envoy_api_msg_core.ConfigSource>` that have
* the :ref:`ads <envoy_api_field_core.ConfigSource.ads>` field set will be
* streamed on the ADS channel.
*
* A single :ref:`ADS <config_overview_v2_ads>` source may be optionally
* specified. This must have :ref:`api_type
* <envoy_api_field_core.ApiConfigSource.api_type>` :ref:`GRPC
* <envoy_api_enum_value_core.ApiConfigSource.ApiType.GRPC>`. Only
* :ref:`ConfigSources <envoy_api_msg_core.ConfigSource>` that have
* the :ref:`ads <envoy_api_field_core.ConfigSource.ads>` field set will be
* streamed on the ADS channel.
*
*
* .envoy.api.v2.core.ApiConfigSource ads_config = 3;
*/
public Builder setAdsConfig(io.envoyproxy.envoy.api.v2.core.ApiConfigSource value) {
if (adsConfigBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
adsConfig_ = value;
onChanged();
} else {
adsConfigBuilder_.setMessage(value);
}
return this;
}
/**
*
* A single :ref:`ADS <config_overview_v2_ads>` source may be optionally
* specified. This must have :ref:`api_type
* <envoy_api_field_core.ApiConfigSource.api_type>` :ref:`GRPC
* <envoy_api_enum_value_core.ApiConfigSource.ApiType.GRPC>`. Only
* :ref:`ConfigSources <envoy_api_msg_core.ConfigSource>` that have
* the :ref:`ads <envoy_api_field_core.ConfigSource.ads>` field set will be
* streamed on the ADS channel.
*
* A single :ref:`ADS <config_overview_v2_ads>` source may be optionally
* specified. This must have :ref:`api_type
* <envoy_api_field_core.ApiConfigSource.api_type>` :ref:`GRPC
* <envoy_api_enum_value_core.ApiConfigSource.ApiType.GRPC>`. Only
* :ref:`ConfigSources <envoy_api_msg_core.ConfigSource>` that have
* the :ref:`ads <envoy_api_field_core.ConfigSource.ads>` field set will be
* streamed on the ADS channel.
*
* A single :ref:`ADS <config_overview_v2_ads>` source may be optionally
* specified. This must have :ref:`api_type
* <envoy_api_field_core.ApiConfigSource.api_type>` :ref:`GRPC
* <envoy_api_enum_value_core.ApiConfigSource.ApiType.GRPC>`. Only
* :ref:`ConfigSources <envoy_api_msg_core.ConfigSource>` that have
* the :ref:`ads <envoy_api_field_core.ConfigSource.ads>` field set will be
* streamed on the ADS channel.
*
* A single :ref:`ADS <config_overview_v2_ads>` source may be optionally
* specified. This must have :ref:`api_type
* <envoy_api_field_core.ApiConfigSource.api_type>` :ref:`GRPC
* <envoy_api_enum_value_core.ApiConfigSource.ApiType.GRPC>`. Only
* :ref:`ConfigSources <envoy_api_msg_core.ConfigSource>` that have
* the :ref:`ads <envoy_api_field_core.ConfigSource.ads>` field set will be
* streamed on the ADS channel.
*
* A single :ref:`ADS <config_overview_v2_ads>` source may be optionally
* specified. This must have :ref:`api_type
* <envoy_api_field_core.ApiConfigSource.api_type>` :ref:`GRPC
* <envoy_api_enum_value_core.ApiConfigSource.ApiType.GRPC>`. Only
* :ref:`ConfigSources <envoy_api_msg_core.ConfigSource>` that have
* the :ref:`ads <envoy_api_field_core.ConfigSource.ads>` field set will be
* streamed on the ADS channel.
*
* A single :ref:`ADS <config_overview_v2_ads>` source may be optionally
* specified. This must have :ref:`api_type
* <envoy_api_field_core.ApiConfigSource.api_type>` :ref:`GRPC
* <envoy_api_enum_value_core.ApiConfigSource.ApiType.GRPC>`. Only
* :ref:`ConfigSources <envoy_api_msg_core.ConfigSource>` that have
* the :ref:`ads <envoy_api_field_core.ConfigSource.ads>` field set will be
* streamed on the ADS channel.
*
*
* .envoy.api.v2.core.ApiConfigSource ads_config = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.envoyproxy.envoy.api.v2.core.ApiConfigSource, io.envoyproxy.envoy.api.v2.core.ApiConfigSource.Builder, io.envoyproxy.envoy.api.v2.core.ApiConfigSourceOrBuilder>
getAdsConfigFieldBuilder() {
if (adsConfigBuilder_ == null) {
adsConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.envoyproxy.envoy.api.v2.core.ApiConfigSource, io.envoyproxy.envoy.api.v2.core.ApiConfigSource.Builder, io.envoyproxy.envoy.api.v2.core.ApiConfigSourceOrBuilder>(
getAdsConfig(),
getParentForChildren(),
isClean());
adsConfig_ = null;
}
return adsConfigBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:envoy.config.bootstrap.v2.Bootstrap.DynamicResources)
}
// @@protoc_insertion_point(class_scope:envoy.config.bootstrap.v2.Bootstrap.DynamicResources)
private static final io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources();
}
public static io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public DynamicResources parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new DynamicResources(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap.DynamicResources getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public static final int NODE_FIELD_NUMBER = 1;
private io.envoyproxy.envoy.api.v2.core.Node node_;
/**
*
* Node identity to present to the management server and for instance
* identification purposes (e.g. in generated headers).
*
* Configuration for internal processing of stats.
*
*
* .envoy.config.metrics.v2.StatsConfig stats_config = 13;
*/
public io.envoyproxy.envoy.config.metrics.v2.StatsConfigOrBuilder getStatsConfigOrBuilder() {
return getStatsConfig();
}
public static final int STATS_FLUSH_INTERVAL_FIELD_NUMBER = 7;
private com.google.protobuf.Duration statsFlushInterval_;
/**
*
* Optional duration between flushes to configured stats sinks. For
* performance reasons Envoy latches counters and only flushes counters and
* gauges at a periodic interval. If not specified the default is 5000ms (5
* seconds).
* Duration must be at least 1ms and at most 5 min.
*
* 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.
*
* Optional duration between flushes to configured stats sinks. For
* performance reasons Envoy latches counters and only flushes counters and
* gauges at a periodic interval. If not specified the default is 5000ms (5
* seconds).
* Duration must be at least 1ms and at most 5 min.
*
*
* .google.protobuf.Duration stats_flush_interval = 7 [(.validate.rules) = { ... }
*/
public com.google.protobuf.DurationOrBuilder getStatsFlushIntervalOrBuilder() {
return getStatsFlushInterval();
}
public static final int WATCHDOG_FIELD_NUMBER = 8;
private io.envoyproxy.envoy.config.bootstrap.v2.Watchdog watchdog_;
/**
*
* Configuration for an external tracing provider. If not specified, no
* tracing will be performed.
*
*
* .envoy.config.trace.v2.Tracing tracing = 9;
*/
public io.envoyproxy.envoy.config.trace.v2.TracingOrBuilder getTracingOrBuilder() {
return getTracing();
}
public static final int RUNTIME_FIELD_NUMBER = 11;
private io.envoyproxy.envoy.config.bootstrap.v2.Runtime runtime_;
/**
*
* Configuration for the runtime configuration provider (deprecated). If not
* specified, a “null” provider will be used which will result in all defaults
* being used.
*
* Configuration for the runtime configuration provider (deprecated). If not
* specified, a “null” provider will be used which will result in all defaults
* being used.
*
* Configuration for the runtime configuration provider (deprecated). If not
* specified, a “null” provider will be used which will result in all defaults
* being used.
*
*
* .envoy.config.bootstrap.v2.Runtime runtime = 11 [deprecated = true];
*/
@java.lang.Deprecated public io.envoyproxy.envoy.config.bootstrap.v2.RuntimeOrBuilder getRuntimeOrBuilder() {
return getRuntime();
}
public static final int LAYERED_RUNTIME_FIELD_NUMBER = 17;
private io.envoyproxy.envoy.config.bootstrap.v2.LayeredRuntime layeredRuntime_;
/**
*
* Configuration for the runtime configuration provider. If not
* specified, a “null” provider will be used which will result in all defaults
* being used.
*
* Configuration for the runtime configuration provider. If not
* specified, a “null” provider will be used which will result in all defaults
* being used.
*
* Configuration for the runtime configuration provider. If not
* specified, a “null” provider will be used which will result in all defaults
* being used.
*
*
* .envoy.config.bootstrap.v2.LayeredRuntime layered_runtime = 17;
*/
public io.envoyproxy.envoy.config.bootstrap.v2.LayeredRuntimeOrBuilder getLayeredRuntimeOrBuilder() {
return getLayeredRuntime();
}
public static final int ADMIN_FIELD_NUMBER = 12;
private io.envoyproxy.envoy.config.bootstrap.v2.Admin admin_;
/**
*
* Configuration for the local administration HTTP server.
*
*
* .envoy.config.overload.v2alpha.OverloadManager overload_manager = 15;
*/
public io.envoyproxy.envoy.config.overload.v2alpha.OverloadManagerOrBuilder getOverloadManagerOrBuilder() {
return getOverloadManager();
}
public static final int ENABLE_DISPATCHER_STATS_FIELD_NUMBER = 16;
private boolean enableDispatcherStats_;
/**
*
* Enable :ref:`stats for event dispatcher <operations_performance>`, defaults to false.
* Note that this records a value for each iteration of the event loop on every thread. This
* should normally be minimal overhead, but when using
* :ref:`statsd <envoy_api_msg_config.metrics.v2.StatsdSink>`, it will send each observed value
* over the wire individually because the statsd protocol doesn't have any way to represent a
* histogram summary. Be aware that this can be a very large volume of data.
*
*
* bool enable_dispatcher_stats = 16;
*/
public boolean getEnableDispatcherStats() {
return enableDispatcherStats_;
}
public static final int HEADER_PREFIX_FIELD_NUMBER = 18;
private volatile java.lang.Object headerPrefix_;
/**
*
* Optional string which will be used in lieu of x-envoy in prefixing headers.
* For example, if this string is present and set to X-Foo, then x-envoy-retry-on will be
* transformed into x-foo-retry-on etc.
* Note this applies to the headers Envoy will generate, the headers Envoy will sanitize, and the
* headers Envoy will trust for core code and core extensions only. Be VERY careful making
* changes to this string, especially in multi-layer Envoy deployments or deployments using
* extensions which are not upstream.
*
* Optional string which will be used in lieu of x-envoy in prefixing headers.
* For example, if this string is present and set to X-Foo, then x-envoy-retry-on will be
* transformed into x-foo-retry-on etc.
* Note this applies to the headers Envoy will generate, the headers Envoy will sanitize, and the
* headers Envoy will trust for core code and core extensions only. Be VERY careful making
* changes to this string, especially in multi-layer Envoy deployments or deployments using
* extensions which are not upstream.
*
*
* string header_prefix = 18;
*/
public com.google.protobuf.ByteString
getHeaderPrefixBytes() {
java.lang.Object ref = headerPrefix_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
headerPrefix_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (node_ != null) {
output.writeMessage(1, getNode());
}
if (staticResources_ != null) {
output.writeMessage(2, getStaticResources());
}
if (dynamicResources_ != null) {
output.writeMessage(3, getDynamicResources());
}
if (clusterManager_ != null) {
output.writeMessage(4, getClusterManager());
}
if (!getFlagsPathBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, flagsPath_);
}
for (int i = 0; i < statsSinks_.size(); i++) {
output.writeMessage(6, statsSinks_.get(i));
}
if (statsFlushInterval_ != null) {
output.writeMessage(7, getStatsFlushInterval());
}
if (watchdog_ != null) {
output.writeMessage(8, getWatchdog());
}
if (tracing_ != null) {
output.writeMessage(9, getTracing());
}
if (runtime_ != null) {
output.writeMessage(11, getRuntime());
}
if (admin_ != null) {
output.writeMessage(12, getAdmin());
}
if (statsConfig_ != null) {
output.writeMessage(13, getStatsConfig());
}
if (hdsConfig_ != null) {
output.writeMessage(14, getHdsConfig());
}
if (overloadManager_ != null) {
output.writeMessage(15, getOverloadManager());
}
if (enableDispatcherStats_ != false) {
output.writeBool(16, enableDispatcherStats_);
}
if (layeredRuntime_ != null) {
output.writeMessage(17, getLayeredRuntime());
}
if (!getHeaderPrefixBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 18, headerPrefix_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (node_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getNode());
}
if (staticResources_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getStaticResources());
}
if (dynamicResources_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getDynamicResources());
}
if (clusterManager_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getClusterManager());
}
if (!getFlagsPathBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, flagsPath_);
}
for (int i = 0; i < statsSinks_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, statsSinks_.get(i));
}
if (statsFlushInterval_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, getStatsFlushInterval());
}
if (watchdog_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, getWatchdog());
}
if (tracing_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(9, getTracing());
}
if (runtime_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(11, getRuntime());
}
if (admin_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(12, getAdmin());
}
if (statsConfig_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(13, getStatsConfig());
}
if (hdsConfig_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(14, getHdsConfig());
}
if (overloadManager_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(15, getOverloadManager());
}
if (enableDispatcherStats_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(16, enableDispatcherStats_);
}
if (layeredRuntime_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(17, getLayeredRuntime());
}
if (!getHeaderPrefixBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, headerPrefix_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap)) {
return super.equals(obj);
}
io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap other = (io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap) obj;
if (hasNode() != other.hasNode()) return false;
if (hasNode()) {
if (!getNode()
.equals(other.getNode())) return false;
}
if (hasStaticResources() != other.hasStaticResources()) return false;
if (hasStaticResources()) {
if (!getStaticResources()
.equals(other.getStaticResources())) return false;
}
if (hasDynamicResources() != other.hasDynamicResources()) return false;
if (hasDynamicResources()) {
if (!getDynamicResources()
.equals(other.getDynamicResources())) return false;
}
if (hasClusterManager() != other.hasClusterManager()) return false;
if (hasClusterManager()) {
if (!getClusterManager()
.equals(other.getClusterManager())) return false;
}
if (hasHdsConfig() != other.hasHdsConfig()) return false;
if (hasHdsConfig()) {
if (!getHdsConfig()
.equals(other.getHdsConfig())) return false;
}
if (!getFlagsPath()
.equals(other.getFlagsPath())) return false;
if (!getStatsSinksList()
.equals(other.getStatsSinksList())) return false;
if (hasStatsConfig() != other.hasStatsConfig()) return false;
if (hasStatsConfig()) {
if (!getStatsConfig()
.equals(other.getStatsConfig())) return false;
}
if (hasStatsFlushInterval() != other.hasStatsFlushInterval()) return false;
if (hasStatsFlushInterval()) {
if (!getStatsFlushInterval()
.equals(other.getStatsFlushInterval())) return false;
}
if (hasWatchdog() != other.hasWatchdog()) return false;
if (hasWatchdog()) {
if (!getWatchdog()
.equals(other.getWatchdog())) return false;
}
if (hasTracing() != other.hasTracing()) return false;
if (hasTracing()) {
if (!getTracing()
.equals(other.getTracing())) return false;
}
if (hasRuntime() != other.hasRuntime()) return false;
if (hasRuntime()) {
if (!getRuntime()
.equals(other.getRuntime())) return false;
}
if (hasLayeredRuntime() != other.hasLayeredRuntime()) return false;
if (hasLayeredRuntime()) {
if (!getLayeredRuntime()
.equals(other.getLayeredRuntime())) return false;
}
if (hasAdmin() != other.hasAdmin()) return false;
if (hasAdmin()) {
if (!getAdmin()
.equals(other.getAdmin())) return false;
}
if (hasOverloadManager() != other.hasOverloadManager()) return false;
if (hasOverloadManager()) {
if (!getOverloadManager()
.equals(other.getOverloadManager())) return false;
}
if (getEnableDispatcherStats()
!= other.getEnableDispatcherStats()) return false;
if (!getHeaderPrefix()
.equals(other.getHeaderPrefix())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasNode()) {
hash = (37 * hash) + NODE_FIELD_NUMBER;
hash = (53 * hash) + getNode().hashCode();
}
if (hasStaticResources()) {
hash = (37 * hash) + STATIC_RESOURCES_FIELD_NUMBER;
hash = (53 * hash) + getStaticResources().hashCode();
}
if (hasDynamicResources()) {
hash = (37 * hash) + DYNAMIC_RESOURCES_FIELD_NUMBER;
hash = (53 * hash) + getDynamicResources().hashCode();
}
if (hasClusterManager()) {
hash = (37 * hash) + CLUSTER_MANAGER_FIELD_NUMBER;
hash = (53 * hash) + getClusterManager().hashCode();
}
if (hasHdsConfig()) {
hash = (37 * hash) + HDS_CONFIG_FIELD_NUMBER;
hash = (53 * hash) + getHdsConfig().hashCode();
}
hash = (37 * hash) + FLAGS_PATH_FIELD_NUMBER;
hash = (53 * hash) + getFlagsPath().hashCode();
if (getStatsSinksCount() > 0) {
hash = (37 * hash) + STATS_SINKS_FIELD_NUMBER;
hash = (53 * hash) + getStatsSinksList().hashCode();
}
if (hasStatsConfig()) {
hash = (37 * hash) + STATS_CONFIG_FIELD_NUMBER;
hash = (53 * hash) + getStatsConfig().hashCode();
}
if (hasStatsFlushInterval()) {
hash = (37 * hash) + STATS_FLUSH_INTERVAL_FIELD_NUMBER;
hash = (53 * hash) + getStatsFlushInterval().hashCode();
}
if (hasWatchdog()) {
hash = (37 * hash) + WATCHDOG_FIELD_NUMBER;
hash = (53 * hash) + getWatchdog().hashCode();
}
if (hasTracing()) {
hash = (37 * hash) + TRACING_FIELD_NUMBER;
hash = (53 * hash) + getTracing().hashCode();
}
if (hasRuntime()) {
hash = (37 * hash) + RUNTIME_FIELD_NUMBER;
hash = (53 * hash) + getRuntime().hashCode();
}
if (hasLayeredRuntime()) {
hash = (37 * hash) + LAYERED_RUNTIME_FIELD_NUMBER;
hash = (53 * hash) + getLayeredRuntime().hashCode();
}
if (hasAdmin()) {
hash = (37 * hash) + ADMIN_FIELD_NUMBER;
hash = (53 * hash) + getAdmin().hashCode();
}
if (hasOverloadManager()) {
hash = (37 * hash) + OVERLOAD_MANAGER_FIELD_NUMBER;
hash = (53 * hash) + getOverloadManager().hashCode();
}
hash = (37 * hash) + ENABLE_DISPATCHER_STATS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getEnableDispatcherStats());
hash = (37 * hash) + HEADER_PREFIX_FIELD_NUMBER;
hash = (53 * hash) + getHeaderPrefix().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* 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.
*
* 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.
*
* 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.
*
* 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.
*
* 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.
*
* 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.
*
* 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.
*
* 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.
*
* 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.
*
* Configuration for the runtime configuration provider (deprecated). If not
* specified, a “null” provider will be used which will result in all defaults
* being used.
*
* Configuration for the runtime configuration provider (deprecated). If not
* specified, a “null” provider will be used which will result in all defaults
* being used.
*
* Configuration for the runtime configuration provider (deprecated). If not
* specified, a “null” provider will be used which will result in all defaults
* being used.
*
* Configuration for the runtime configuration provider (deprecated). If not
* specified, a “null” provider will be used which will result in all defaults
* being used.
*
* Configuration for the runtime configuration provider (deprecated). If not
* specified, a “null” provider will be used which will result in all defaults
* being used.
*
* Configuration for the runtime configuration provider (deprecated). If not
* specified, a “null” provider will be used which will result in all defaults
* being used.
*
* Configuration for the runtime configuration provider (deprecated). If not
* specified, a “null” provider will be used which will result in all defaults
* being used.
*
* Configuration for the runtime configuration provider (deprecated). If not
* specified, a “null” provider will be used which will result in all defaults
* being used.
*
* Configuration for the runtime configuration provider (deprecated). If not
* specified, a “null” provider will be used which will result in all defaults
* being used.
*
* Configuration for the runtime configuration provider. If not
* specified, a “null” provider will be used which will result in all defaults
* being used.
*
* Configuration for the runtime configuration provider. If not
* specified, a “null” provider will be used which will result in all defaults
* being used.
*
* Configuration for the runtime configuration provider. If not
* specified, a “null” provider will be used which will result in all defaults
* being used.
*
*
* .envoy.config.bootstrap.v2.LayeredRuntime layered_runtime = 17;
*/
public Builder setLayeredRuntime(io.envoyproxy.envoy.config.bootstrap.v2.LayeredRuntime value) {
if (layeredRuntimeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
layeredRuntime_ = value;
onChanged();
} else {
layeredRuntimeBuilder_.setMessage(value);
}
return this;
}
/**
*
* Configuration for the runtime configuration provider. If not
* specified, a “null” provider will be used which will result in all defaults
* being used.
*
* Configuration for the runtime configuration provider. If not
* specified, a “null” provider will be used which will result in all defaults
* being used.
*
* Configuration for the runtime configuration provider. If not
* specified, a “null” provider will be used which will result in all defaults
* being used.
*
* Configuration for the runtime configuration provider. If not
* specified, a “null” provider will be used which will result in all defaults
* being used.
*
* Configuration for the runtime configuration provider. If not
* specified, a “null” provider will be used which will result in all defaults
* being used.
*
* Configuration for the runtime configuration provider. If not
* specified, a “null” provider will be used which will result in all defaults
* being used.
*
* 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.
*
* 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.
*
* 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.
*
* 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.
*
* 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.
*
* 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.
*
* 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.
*
* Optional string which will be used in lieu of x-envoy in prefixing headers.
* For example, if this string is present and set to X-Foo, then x-envoy-retry-on will be
* transformed into x-foo-retry-on etc.
* Note this applies to the headers Envoy will generate, the headers Envoy will sanitize, and the
* headers Envoy will trust for core code and core extensions only. Be VERY careful making
* changes to this string, especially in multi-layer Envoy deployments or deployments using
* extensions which are not upstream.
*
*
* string header_prefix = 18;
*/
public Builder setHeaderPrefixBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
headerPrefix_ = value;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:envoy.config.bootstrap.v2.Bootstrap)
}
// @@protoc_insertion_point(class_scope:envoy.config.bootstrap.v2.Bootstrap)
private static final io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap();
}
public static io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Bootstrap parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Bootstrap(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public io.envoyproxy.envoy.config.bootstrap.v2.Bootstrap getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}