public static final class ConfigSource.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ConfigSource.Builder> implements ConfigSourceOrBuilder
Configuration for :ref:`listeners <config_listeners>`, :ref:`clusters <config_cluster_manager>`, :ref:`routes <envoy_api_msg_config.route.v4alpha.RouteConfiguration>`, :ref:`endpoints <arch_overview_service_discovery>` etc. may either be sourced from the filesystem or from an xDS API source. Filesystem configs are watched with inotify for updates. [#next-free-field: 8]Protobuf type
envoy.config.core.v4alpha.ConfigSource| Modifier and Type | Method and Description |
|---|---|
ConfigSource.Builder |
addAllAuthorities(Iterable<? extends Authority> values)
Authorities that this config source may be used for.
|
ConfigSource.Builder |
addAuthorities(Authority.Builder builderForValue)
Authorities that this config source may be used for.
|
ConfigSource.Builder |
addAuthorities(Authority value)
Authorities that this config source may be used for.
|
ConfigSource.Builder |
addAuthorities(int index,
Authority.Builder builderForValue)
Authorities that this config source may be used for.
|
ConfigSource.Builder |
addAuthorities(int index,
Authority value)
Authorities that this config source may be used for.
|
Authority.Builder |
addAuthoritiesBuilder()
Authorities that this config source may be used for.
|
Authority.Builder |
addAuthoritiesBuilder(int index)
Authorities that this config source may be used for.
|
ConfigSource.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ConfigSource |
build() |
ConfigSource |
buildPartial() |
ConfigSource.Builder |
clear() |
ConfigSource.Builder |
clearAds()
When set, ADS will be used to fetch resources.
|
ConfigSource.Builder |
clearApiConfigSource()
API configuration source.
|
ConfigSource.Builder |
clearAuthorities()
Authorities that this config source may be used for.
|
ConfigSource.Builder |
clearConfigSourceSpecifier() |
ConfigSource.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ConfigSource.Builder |
clearInitialFetchTimeout()
When this timeout is specified, Envoy will wait no longer than the specified time for first
config response on this xDS subscription during the :ref:`initialization process
<arch_overview_initialization>`.
|
ConfigSource.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ConfigSource.Builder |
clearPath()
Path on the filesystem to source and watch for configuration updates.
|
ConfigSource.Builder |
clearResourceApiVersion()
API version for xDS resources.
|
ConfigSource.Builder |
clearSelf()
[#not-implemented-hide:]
When set, the client will access the resources from the same server it got the
ConfigSource from, although not necessarily from the same stream.
|
ConfigSource.Builder |
clone() |
AggregatedConfigSource |
getAds()
When set, ADS will be used to fetch resources.
|
AggregatedConfigSource.Builder |
getAdsBuilder()
When set, ADS will be used to fetch resources.
|
AggregatedConfigSourceOrBuilder |
getAdsOrBuilder()
When set, ADS will be used to fetch resources.
|
ApiConfigSource |
getApiConfigSource()
API configuration source.
|
ApiConfigSource.Builder |
getApiConfigSourceBuilder()
API configuration source.
|
ApiConfigSourceOrBuilder |
getApiConfigSourceOrBuilder()
API configuration source.
|
Authority |
getAuthorities(int index)
Authorities that this config source may be used for.
|
Authority.Builder |
getAuthoritiesBuilder(int index)
Authorities that this config source may be used for.
|
List<Authority.Builder> |
getAuthoritiesBuilderList()
Authorities that this config source may be used for.
|
int |
getAuthoritiesCount()
Authorities that this config source may be used for.
|
List<Authority> |
getAuthoritiesList()
Authorities that this config source may be used for.
|
AuthorityOrBuilder |
getAuthoritiesOrBuilder(int index)
Authorities that this config source may be used for.
|
List<? extends AuthorityOrBuilder> |
getAuthoritiesOrBuilderList()
Authorities that this config source may be used for.
|
ConfigSource.ConfigSourceSpecifierCase |
getConfigSourceSpecifierCase() |
ConfigSource |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.Duration |
getInitialFetchTimeout()
When this timeout is specified, Envoy will wait no longer than the specified time for first
config response on this xDS subscription during the :ref:`initialization process
<arch_overview_initialization>`.
|
com.google.protobuf.Duration.Builder |
getInitialFetchTimeoutBuilder()
When this timeout is specified, Envoy will wait no longer than the specified time for first
config response on this xDS subscription during the :ref:`initialization process
<arch_overview_initialization>`.
|
com.google.protobuf.DurationOrBuilder |
getInitialFetchTimeoutOrBuilder()
When this timeout is specified, Envoy will wait no longer than the specified time for first
config response on this xDS subscription during the :ref:`initialization process
<arch_overview_initialization>`.
|
String |
getPath()
Path on the filesystem to source and watch for configuration updates.
|
com.google.protobuf.ByteString |
getPathBytes()
Path on the filesystem to source and watch for configuration updates.
|
ApiVersion |
getResourceApiVersion()
API version for xDS resources.
|
int |
getResourceApiVersionValue()
API version for xDS resources.
|
SelfConfigSource |
getSelf()
[#not-implemented-hide:]
When set, the client will access the resources from the same server it got the
ConfigSource from, although not necessarily from the same stream.
|
SelfConfigSource.Builder |
getSelfBuilder()
[#not-implemented-hide:]
When set, the client will access the resources from the same server it got the
ConfigSource from, although not necessarily from the same stream.
|
SelfConfigSourceOrBuilder |
getSelfOrBuilder()
[#not-implemented-hide:]
When set, the client will access the resources from the same server it got the
ConfigSource from, although not necessarily from the same stream.
|
boolean |
hasAds()
When set, ADS will be used to fetch resources.
|
boolean |
hasApiConfigSource()
API configuration source.
|
boolean |
hasInitialFetchTimeout()
When this timeout is specified, Envoy will wait no longer than the specified time for first
config response on this xDS subscription during the :ref:`initialization process
<arch_overview_initialization>`.
|
boolean |
hasSelf()
[#not-implemented-hide:]
When set, the client will access the resources from the same server it got the
ConfigSource from, although not necessarily from the same stream.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ConfigSource.Builder |
mergeAds(AggregatedConfigSource value)
When set, ADS will be used to fetch resources.
|
ConfigSource.Builder |
mergeApiConfigSource(ApiConfigSource value)
API configuration source.
|
ConfigSource.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ConfigSource.Builder |
mergeFrom(ConfigSource other) |
ConfigSource.Builder |
mergeFrom(com.google.protobuf.Message other) |
ConfigSource.Builder |
mergeInitialFetchTimeout(com.google.protobuf.Duration value)
When this timeout is specified, Envoy will wait no longer than the specified time for first
config response on this xDS subscription during the :ref:`initialization process
<arch_overview_initialization>`.
|
ConfigSource.Builder |
mergeSelf(SelfConfigSource value)
[#not-implemented-hide:]
When set, the client will access the resources from the same server it got the
ConfigSource from, although not necessarily from the same stream.
|
ConfigSource.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ConfigSource.Builder |
removeAuthorities(int index)
Authorities that this config source may be used for.
|
ConfigSource.Builder |
setAds(AggregatedConfigSource.Builder builderForValue)
When set, ADS will be used to fetch resources.
|
ConfigSource.Builder |
setAds(AggregatedConfigSource value)
When set, ADS will be used to fetch resources.
|
ConfigSource.Builder |
setApiConfigSource(ApiConfigSource.Builder builderForValue)
API configuration source.
|
ConfigSource.Builder |
setApiConfigSource(ApiConfigSource value)
API configuration source.
|
ConfigSource.Builder |
setAuthorities(int index,
Authority.Builder builderForValue)
Authorities that this config source may be used for.
|
ConfigSource.Builder |
setAuthorities(int index,
Authority value)
Authorities that this config source may be used for.
|
ConfigSource.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ConfigSource.Builder |
setInitialFetchTimeout(com.google.protobuf.Duration.Builder builderForValue)
When this timeout is specified, Envoy will wait no longer than the specified time for first
config response on this xDS subscription during the :ref:`initialization process
<arch_overview_initialization>`.
|
ConfigSource.Builder |
setInitialFetchTimeout(com.google.protobuf.Duration value)
When this timeout is specified, Envoy will wait no longer than the specified time for first
config response on this xDS subscription during the :ref:`initialization process
<arch_overview_initialization>`.
|
ConfigSource.Builder |
setPath(String value)
Path on the filesystem to source and watch for configuration updates.
|
ConfigSource.Builder |
setPathBytes(com.google.protobuf.ByteString value)
Path on the filesystem to source and watch for configuration updates.
|
ConfigSource.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ConfigSource.Builder |
setResourceApiVersion(ApiVersion value)
API version for xDS resources.
|
ConfigSource.Builder |
setResourceApiVersionValue(int value)
API version for xDS resources.
|
ConfigSource.Builder |
setSelf(SelfConfigSource.Builder builderForValue)
[#not-implemented-hide:]
When set, the client will access the resources from the same server it got the
ConfigSource from, although not necessarily from the same stream.
|
ConfigSource.Builder |
setSelf(SelfConfigSource value)
[#not-implemented-hide:]
When set, the client will access the resources from the same server it got the
ConfigSource from, although not necessarily from the same stream.
|
ConfigSource.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ConfigSource.Builder>public ConfigSource.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ConfigSource.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ConfigSource.Builder>public ConfigSource getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ConfigSource build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ConfigSource buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ConfigSource.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ConfigSource.Builder>public ConfigSource.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ConfigSource.Builder>public ConfigSource.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ConfigSource.Builder>public ConfigSource.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ConfigSource.Builder>public ConfigSource.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ConfigSource.Builder>public ConfigSource.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ConfigSource.Builder>public ConfigSource.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ConfigSource.Builder>public ConfigSource.Builder mergeFrom(ConfigSource other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ConfigSource.Builder>public ConfigSource.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ConfigSource.Builder>IOExceptionpublic ConfigSource.ConfigSourceSpecifierCase getConfigSourceSpecifierCase()
getConfigSourceSpecifierCase in interface ConfigSourceOrBuilderpublic ConfigSource.Builder clearConfigSourceSpecifier()
public List<Authority> getAuthoritiesList()
Authorities that this config source may be used for. An authority specified in a xdstp:// URL is resolved to a *ConfigSource* prior to configuration fetch. This field provides the association between authority name and configuration source. [#not-implemented-hide:]
repeated .xds.core.v3.Authority authorities = 7;getAuthoritiesList in interface ConfigSourceOrBuilderpublic int getAuthoritiesCount()
Authorities that this config source may be used for. An authority specified in a xdstp:// URL is resolved to a *ConfigSource* prior to configuration fetch. This field provides the association between authority name and configuration source. [#not-implemented-hide:]
repeated .xds.core.v3.Authority authorities = 7;getAuthoritiesCount in interface ConfigSourceOrBuilderpublic Authority getAuthorities(int index)
Authorities that this config source may be used for. An authority specified in a xdstp:// URL is resolved to a *ConfigSource* prior to configuration fetch. This field provides the association between authority name and configuration source. [#not-implemented-hide:]
repeated .xds.core.v3.Authority authorities = 7;getAuthorities in interface ConfigSourceOrBuilderpublic ConfigSource.Builder setAuthorities(int index, Authority value)
Authorities that this config source may be used for. An authority specified in a xdstp:// URL is resolved to a *ConfigSource* prior to configuration fetch. This field provides the association between authority name and configuration source. [#not-implemented-hide:]
repeated .xds.core.v3.Authority authorities = 7;public ConfigSource.Builder setAuthorities(int index, Authority.Builder builderForValue)
Authorities that this config source may be used for. An authority specified in a xdstp:// URL is resolved to a *ConfigSource* prior to configuration fetch. This field provides the association between authority name and configuration source. [#not-implemented-hide:]
repeated .xds.core.v3.Authority authorities = 7;public ConfigSource.Builder addAuthorities(Authority value)
Authorities that this config source may be used for. An authority specified in a xdstp:// URL is resolved to a *ConfigSource* prior to configuration fetch. This field provides the association between authority name and configuration source. [#not-implemented-hide:]
repeated .xds.core.v3.Authority authorities = 7;public ConfigSource.Builder addAuthorities(int index, Authority value)
Authorities that this config source may be used for. An authority specified in a xdstp:// URL is resolved to a *ConfigSource* prior to configuration fetch. This field provides the association between authority name and configuration source. [#not-implemented-hide:]
repeated .xds.core.v3.Authority authorities = 7;public ConfigSource.Builder addAuthorities(Authority.Builder builderForValue)
Authorities that this config source may be used for. An authority specified in a xdstp:// URL is resolved to a *ConfigSource* prior to configuration fetch. This field provides the association between authority name and configuration source. [#not-implemented-hide:]
repeated .xds.core.v3.Authority authorities = 7;public ConfigSource.Builder addAuthorities(int index, Authority.Builder builderForValue)
Authorities that this config source may be used for. An authority specified in a xdstp:// URL is resolved to a *ConfigSource* prior to configuration fetch. This field provides the association between authority name and configuration source. [#not-implemented-hide:]
repeated .xds.core.v3.Authority authorities = 7;public ConfigSource.Builder addAllAuthorities(Iterable<? extends Authority> values)
Authorities that this config source may be used for. An authority specified in a xdstp:// URL is resolved to a *ConfigSource* prior to configuration fetch. This field provides the association between authority name and configuration source. [#not-implemented-hide:]
repeated .xds.core.v3.Authority authorities = 7;public ConfigSource.Builder clearAuthorities()
Authorities that this config source may be used for. An authority specified in a xdstp:// URL is resolved to a *ConfigSource* prior to configuration fetch. This field provides the association between authority name and configuration source. [#not-implemented-hide:]
repeated .xds.core.v3.Authority authorities = 7;public ConfigSource.Builder removeAuthorities(int index)
Authorities that this config source may be used for. An authority specified in a xdstp:// URL is resolved to a *ConfigSource* prior to configuration fetch. This field provides the association between authority name and configuration source. [#not-implemented-hide:]
repeated .xds.core.v3.Authority authorities = 7;public Authority.Builder getAuthoritiesBuilder(int index)
Authorities that this config source may be used for. An authority specified in a xdstp:// URL is resolved to a *ConfigSource* prior to configuration fetch. This field provides the association between authority name and configuration source. [#not-implemented-hide:]
repeated .xds.core.v3.Authority authorities = 7;public AuthorityOrBuilder getAuthoritiesOrBuilder(int index)
Authorities that this config source may be used for. An authority specified in a xdstp:// URL is resolved to a *ConfigSource* prior to configuration fetch. This field provides the association between authority name and configuration source. [#not-implemented-hide:]
repeated .xds.core.v3.Authority authorities = 7;getAuthoritiesOrBuilder in interface ConfigSourceOrBuilderpublic List<? extends AuthorityOrBuilder> getAuthoritiesOrBuilderList()
Authorities that this config source may be used for. An authority specified in a xdstp:// URL is resolved to a *ConfigSource* prior to configuration fetch. This field provides the association between authority name and configuration source. [#not-implemented-hide:]
repeated .xds.core.v3.Authority authorities = 7;getAuthoritiesOrBuilderList in interface ConfigSourceOrBuilderpublic Authority.Builder addAuthoritiesBuilder()
Authorities that this config source may be used for. An authority specified in a xdstp:// URL is resolved to a *ConfigSource* prior to configuration fetch. This field provides the association between authority name and configuration source. [#not-implemented-hide:]
repeated .xds.core.v3.Authority authorities = 7;public Authority.Builder addAuthoritiesBuilder(int index)
Authorities that this config source may be used for. An authority specified in a xdstp:// URL is resolved to a *ConfigSource* prior to configuration fetch. This field provides the association between authority name and configuration source. [#not-implemented-hide:]
repeated .xds.core.v3.Authority authorities = 7;public List<Authority.Builder> getAuthoritiesBuilderList()
Authorities that this config source may be used for. An authority specified in a xdstp:// URL is resolved to a *ConfigSource* prior to configuration fetch. This field provides the association between authority name and configuration source. [#not-implemented-hide:]
repeated .xds.core.v3.Authority authorities = 7;public String getPath()
Path on the filesystem to source and watch for configuration updates. When sourcing configuration for :ref:`secret <envoy_api_msg_extensions.transport_sockets.tls.v4alpha.Secret>`, the certificate and key files are also watched for updates. .. note:: The path to the source must exist at config load time. .. note:: Envoy will only watch the file path for *moves.* This is because in general only moves are atomic. The same method of swapping files as is demonstrated in the :ref:`runtime documentation <config_runtime_symbolic_link_swap>` can be used here also.
string path = 1;getPath in interface ConfigSourceOrBuilderpublic com.google.protobuf.ByteString getPathBytes()
Path on the filesystem to source and watch for configuration updates. When sourcing configuration for :ref:`secret <envoy_api_msg_extensions.transport_sockets.tls.v4alpha.Secret>`, the certificate and key files are also watched for updates. .. note:: The path to the source must exist at config load time. .. note:: Envoy will only watch the file path for *moves.* This is because in general only moves are atomic. The same method of swapping files as is demonstrated in the :ref:`runtime documentation <config_runtime_symbolic_link_swap>` can be used here also.
string path = 1;getPathBytes in interface ConfigSourceOrBuilderpublic ConfigSource.Builder setPath(String value)
Path on the filesystem to source and watch for configuration updates. When sourcing configuration for :ref:`secret <envoy_api_msg_extensions.transport_sockets.tls.v4alpha.Secret>`, the certificate and key files are also watched for updates. .. note:: The path to the source must exist at config load time. .. note:: Envoy will only watch the file path for *moves.* This is because in general only moves are atomic. The same method of swapping files as is demonstrated in the :ref:`runtime documentation <config_runtime_symbolic_link_swap>` can be used here also.
string path = 1;public ConfigSource.Builder clearPath()
Path on the filesystem to source and watch for configuration updates. When sourcing configuration for :ref:`secret <envoy_api_msg_extensions.transport_sockets.tls.v4alpha.Secret>`, the certificate and key files are also watched for updates. .. note:: The path to the source must exist at config load time. .. note:: Envoy will only watch the file path for *moves.* This is because in general only moves are atomic. The same method of swapping files as is demonstrated in the :ref:`runtime documentation <config_runtime_symbolic_link_swap>` can be used here also.
string path = 1;public ConfigSource.Builder setPathBytes(com.google.protobuf.ByteString value)
Path on the filesystem to source and watch for configuration updates. When sourcing configuration for :ref:`secret <envoy_api_msg_extensions.transport_sockets.tls.v4alpha.Secret>`, the certificate and key files are also watched for updates. .. note:: The path to the source must exist at config load time. .. note:: Envoy will only watch the file path for *moves.* This is because in general only moves are atomic. The same method of swapping files as is demonstrated in the :ref:`runtime documentation <config_runtime_symbolic_link_swap>` can be used here also.
string path = 1;public boolean hasApiConfigSource()
API configuration source.
.envoy.config.core.v4alpha.ApiConfigSource api_config_source = 2;hasApiConfigSource in interface ConfigSourceOrBuilderpublic ApiConfigSource getApiConfigSource()
API configuration source.
.envoy.config.core.v4alpha.ApiConfigSource api_config_source = 2;getApiConfigSource in interface ConfigSourceOrBuilderpublic ConfigSource.Builder setApiConfigSource(ApiConfigSource value)
API configuration source.
.envoy.config.core.v4alpha.ApiConfigSource api_config_source = 2;public ConfigSource.Builder setApiConfigSource(ApiConfigSource.Builder builderForValue)
API configuration source.
.envoy.config.core.v4alpha.ApiConfigSource api_config_source = 2;public ConfigSource.Builder mergeApiConfigSource(ApiConfigSource value)
API configuration source.
.envoy.config.core.v4alpha.ApiConfigSource api_config_source = 2;public ConfigSource.Builder clearApiConfigSource()
API configuration source.
.envoy.config.core.v4alpha.ApiConfigSource api_config_source = 2;public ApiConfigSource.Builder getApiConfigSourceBuilder()
API configuration source.
.envoy.config.core.v4alpha.ApiConfigSource api_config_source = 2;public ApiConfigSourceOrBuilder getApiConfigSourceOrBuilder()
API configuration source.
.envoy.config.core.v4alpha.ApiConfigSource api_config_source = 2;getApiConfigSourceOrBuilder in interface ConfigSourceOrBuilderpublic boolean hasAds()
When set, ADS will be used to fetch resources. The ADS API configuration source in the bootstrap configuration is used.
.envoy.config.core.v4alpha.AggregatedConfigSource ads = 3;hasAds in interface ConfigSourceOrBuilderpublic AggregatedConfigSource getAds()
When set, ADS will be used to fetch resources. The ADS API configuration source in the bootstrap configuration is used.
.envoy.config.core.v4alpha.AggregatedConfigSource ads = 3;getAds in interface ConfigSourceOrBuilderpublic ConfigSource.Builder setAds(AggregatedConfigSource value)
When set, ADS will be used to fetch resources. The ADS API configuration source in the bootstrap configuration is used.
.envoy.config.core.v4alpha.AggregatedConfigSource ads = 3;public ConfigSource.Builder setAds(AggregatedConfigSource.Builder builderForValue)
When set, ADS will be used to fetch resources. The ADS API configuration source in the bootstrap configuration is used.
.envoy.config.core.v4alpha.AggregatedConfigSource ads = 3;public ConfigSource.Builder mergeAds(AggregatedConfigSource value)
When set, ADS will be used to fetch resources. The ADS API configuration source in the bootstrap configuration is used.
.envoy.config.core.v4alpha.AggregatedConfigSource ads = 3;public ConfigSource.Builder clearAds()
When set, ADS will be used to fetch resources. The ADS API configuration source in the bootstrap configuration is used.
.envoy.config.core.v4alpha.AggregatedConfigSource ads = 3;public AggregatedConfigSource.Builder getAdsBuilder()
When set, ADS will be used to fetch resources. The ADS API configuration source in the bootstrap configuration is used.
.envoy.config.core.v4alpha.AggregatedConfigSource ads = 3;public AggregatedConfigSourceOrBuilder getAdsOrBuilder()
When set, ADS will be used to fetch resources. The ADS API configuration source in the bootstrap configuration is used.
.envoy.config.core.v4alpha.AggregatedConfigSource ads = 3;getAdsOrBuilder in interface ConfigSourceOrBuilderpublic boolean hasSelf()
[#not-implemented-hide:] When set, the client will access the resources from the same server it got the ConfigSource from, although not necessarily from the same stream. This is similar to the :ref:`ads<envoy_api_field.ConfigSource.ads>` field, except that the client may use a different stream to the same server. As a result, this field can be used for things like LRS that cannot be sent on an ADS stream. It can also be used to link from (e.g.) LDS to RDS on the same server without requiring the management server to know its name or required credentials. [#next-major-version: In xDS v3, consider replacing the ads field with this one, since this field can implicitly mean to use the same stream in the case where the ConfigSource is provided via ADS and the specified data can also be obtained via ADS.]
.envoy.config.core.v4alpha.SelfConfigSource self = 5;hasSelf in interface ConfigSourceOrBuilderpublic SelfConfigSource getSelf()
[#not-implemented-hide:] When set, the client will access the resources from the same server it got the ConfigSource from, although not necessarily from the same stream. This is similar to the :ref:`ads<envoy_api_field.ConfigSource.ads>` field, except that the client may use a different stream to the same server. As a result, this field can be used for things like LRS that cannot be sent on an ADS stream. It can also be used to link from (e.g.) LDS to RDS on the same server without requiring the management server to know its name or required credentials. [#next-major-version: In xDS v3, consider replacing the ads field with this one, since this field can implicitly mean to use the same stream in the case where the ConfigSource is provided via ADS and the specified data can also be obtained via ADS.]
.envoy.config.core.v4alpha.SelfConfigSource self = 5;getSelf in interface ConfigSourceOrBuilderpublic ConfigSource.Builder setSelf(SelfConfigSource value)
[#not-implemented-hide:] When set, the client will access the resources from the same server it got the ConfigSource from, although not necessarily from the same stream. This is similar to the :ref:`ads<envoy_api_field.ConfigSource.ads>` field, except that the client may use a different stream to the same server. As a result, this field can be used for things like LRS that cannot be sent on an ADS stream. It can also be used to link from (e.g.) LDS to RDS on the same server without requiring the management server to know its name or required credentials. [#next-major-version: In xDS v3, consider replacing the ads field with this one, since this field can implicitly mean to use the same stream in the case where the ConfigSource is provided via ADS and the specified data can also be obtained via ADS.]
.envoy.config.core.v4alpha.SelfConfigSource self = 5;public ConfigSource.Builder setSelf(SelfConfigSource.Builder builderForValue)
[#not-implemented-hide:] When set, the client will access the resources from the same server it got the ConfigSource from, although not necessarily from the same stream. This is similar to the :ref:`ads<envoy_api_field.ConfigSource.ads>` field, except that the client may use a different stream to the same server. As a result, this field can be used for things like LRS that cannot be sent on an ADS stream. It can also be used to link from (e.g.) LDS to RDS on the same server without requiring the management server to know its name or required credentials. [#next-major-version: In xDS v3, consider replacing the ads field with this one, since this field can implicitly mean to use the same stream in the case where the ConfigSource is provided via ADS and the specified data can also be obtained via ADS.]
.envoy.config.core.v4alpha.SelfConfigSource self = 5;public ConfigSource.Builder mergeSelf(SelfConfigSource value)
[#not-implemented-hide:] When set, the client will access the resources from the same server it got the ConfigSource from, although not necessarily from the same stream. This is similar to the :ref:`ads<envoy_api_field.ConfigSource.ads>` field, except that the client may use a different stream to the same server. As a result, this field can be used for things like LRS that cannot be sent on an ADS stream. It can also be used to link from (e.g.) LDS to RDS on the same server without requiring the management server to know its name or required credentials. [#next-major-version: In xDS v3, consider replacing the ads field with this one, since this field can implicitly mean to use the same stream in the case where the ConfigSource is provided via ADS and the specified data can also be obtained via ADS.]
.envoy.config.core.v4alpha.SelfConfigSource self = 5;public ConfigSource.Builder clearSelf()
[#not-implemented-hide:] When set, the client will access the resources from the same server it got the ConfigSource from, although not necessarily from the same stream. This is similar to the :ref:`ads<envoy_api_field.ConfigSource.ads>` field, except that the client may use a different stream to the same server. As a result, this field can be used for things like LRS that cannot be sent on an ADS stream. It can also be used to link from (e.g.) LDS to RDS on the same server without requiring the management server to know its name or required credentials. [#next-major-version: In xDS v3, consider replacing the ads field with this one, since this field can implicitly mean to use the same stream in the case where the ConfigSource is provided via ADS and the specified data can also be obtained via ADS.]
.envoy.config.core.v4alpha.SelfConfigSource self = 5;public SelfConfigSource.Builder getSelfBuilder()
[#not-implemented-hide:] When set, the client will access the resources from the same server it got the ConfigSource from, although not necessarily from the same stream. This is similar to the :ref:`ads<envoy_api_field.ConfigSource.ads>` field, except that the client may use a different stream to the same server. As a result, this field can be used for things like LRS that cannot be sent on an ADS stream. It can also be used to link from (e.g.) LDS to RDS on the same server without requiring the management server to know its name or required credentials. [#next-major-version: In xDS v3, consider replacing the ads field with this one, since this field can implicitly mean to use the same stream in the case where the ConfigSource is provided via ADS and the specified data can also be obtained via ADS.]
.envoy.config.core.v4alpha.SelfConfigSource self = 5;public SelfConfigSourceOrBuilder getSelfOrBuilder()
[#not-implemented-hide:] When set, the client will access the resources from the same server it got the ConfigSource from, although not necessarily from the same stream. This is similar to the :ref:`ads<envoy_api_field.ConfigSource.ads>` field, except that the client may use a different stream to the same server. As a result, this field can be used for things like LRS that cannot be sent on an ADS stream. It can also be used to link from (e.g.) LDS to RDS on the same server without requiring the management server to know its name or required credentials. [#next-major-version: In xDS v3, consider replacing the ads field with this one, since this field can implicitly mean to use the same stream in the case where the ConfigSource is provided via ADS and the specified data can also be obtained via ADS.]
.envoy.config.core.v4alpha.SelfConfigSource self = 5;getSelfOrBuilder in interface ConfigSourceOrBuilderpublic boolean hasInitialFetchTimeout()
When this timeout is specified, Envoy will wait no longer than the specified time for first config response on this xDS subscription during the :ref:`initialization process <arch_overview_initialization>`. After reaching the timeout, Envoy will move to the next initialization phase, even if the first config is not delivered yet. The timer is activated when the xDS API subscription starts, and is disarmed on first config update or on error. 0 means no timeout - Envoy will wait indefinitely for the first xDS config (unless another timeout applies). The default is 15s.
.google.protobuf.Duration initial_fetch_timeout = 4;hasInitialFetchTimeout in interface ConfigSourceOrBuilderpublic com.google.protobuf.Duration getInitialFetchTimeout()
When this timeout is specified, Envoy will wait no longer than the specified time for first config response on this xDS subscription during the :ref:`initialization process <arch_overview_initialization>`. After reaching the timeout, Envoy will move to the next initialization phase, even if the first config is not delivered yet. The timer is activated when the xDS API subscription starts, and is disarmed on first config update or on error. 0 means no timeout - Envoy will wait indefinitely for the first xDS config (unless another timeout applies). The default is 15s.
.google.protobuf.Duration initial_fetch_timeout = 4;getInitialFetchTimeout in interface ConfigSourceOrBuilderpublic ConfigSource.Builder setInitialFetchTimeout(com.google.protobuf.Duration value)
When this timeout is specified, Envoy will wait no longer than the specified time for first config response on this xDS subscription during the :ref:`initialization process <arch_overview_initialization>`. After reaching the timeout, Envoy will move to the next initialization phase, even if the first config is not delivered yet. The timer is activated when the xDS API subscription starts, and is disarmed on first config update or on error. 0 means no timeout - Envoy will wait indefinitely for the first xDS config (unless another timeout applies). The default is 15s.
.google.protobuf.Duration initial_fetch_timeout = 4;public ConfigSource.Builder setInitialFetchTimeout(com.google.protobuf.Duration.Builder builderForValue)
When this timeout is specified, Envoy will wait no longer than the specified time for first config response on this xDS subscription during the :ref:`initialization process <arch_overview_initialization>`. After reaching the timeout, Envoy will move to the next initialization phase, even if the first config is not delivered yet. The timer is activated when the xDS API subscription starts, and is disarmed on first config update or on error. 0 means no timeout - Envoy will wait indefinitely for the first xDS config (unless another timeout applies). The default is 15s.
.google.protobuf.Duration initial_fetch_timeout = 4;public ConfigSource.Builder mergeInitialFetchTimeout(com.google.protobuf.Duration value)
When this timeout is specified, Envoy will wait no longer than the specified time for first config response on this xDS subscription during the :ref:`initialization process <arch_overview_initialization>`. After reaching the timeout, Envoy will move to the next initialization phase, even if the first config is not delivered yet. The timer is activated when the xDS API subscription starts, and is disarmed on first config update or on error. 0 means no timeout - Envoy will wait indefinitely for the first xDS config (unless another timeout applies). The default is 15s.
.google.protobuf.Duration initial_fetch_timeout = 4;public ConfigSource.Builder clearInitialFetchTimeout()
When this timeout is specified, Envoy will wait no longer than the specified time for first config response on this xDS subscription during the :ref:`initialization process <arch_overview_initialization>`. After reaching the timeout, Envoy will move to the next initialization phase, even if the first config is not delivered yet. The timer is activated when the xDS API subscription starts, and is disarmed on first config update or on error. 0 means no timeout - Envoy will wait indefinitely for the first xDS config (unless another timeout applies). The default is 15s.
.google.protobuf.Duration initial_fetch_timeout = 4;public com.google.protobuf.Duration.Builder getInitialFetchTimeoutBuilder()
When this timeout is specified, Envoy will wait no longer than the specified time for first config response on this xDS subscription during the :ref:`initialization process <arch_overview_initialization>`. After reaching the timeout, Envoy will move to the next initialization phase, even if the first config is not delivered yet. The timer is activated when the xDS API subscription starts, and is disarmed on first config update or on error. 0 means no timeout - Envoy will wait indefinitely for the first xDS config (unless another timeout applies). The default is 15s.
.google.protobuf.Duration initial_fetch_timeout = 4;public com.google.protobuf.DurationOrBuilder getInitialFetchTimeoutOrBuilder()
When this timeout is specified, Envoy will wait no longer than the specified time for first config response on this xDS subscription during the :ref:`initialization process <arch_overview_initialization>`. After reaching the timeout, Envoy will move to the next initialization phase, even if the first config is not delivered yet. The timer is activated when the xDS API subscription starts, and is disarmed on first config update or on error. 0 means no timeout - Envoy will wait indefinitely for the first xDS config (unless another timeout applies). The default is 15s.
.google.protobuf.Duration initial_fetch_timeout = 4;getInitialFetchTimeoutOrBuilder in interface ConfigSourceOrBuilderpublic int getResourceApiVersionValue()
API version for xDS resources. This implies the type URLs that the client will request for resources and the resource type that the client will in turn expect to be delivered.
.envoy.config.core.v4alpha.ApiVersion resource_api_version = 6 [(.validate.rules) = { ... }getResourceApiVersionValue in interface ConfigSourceOrBuilderpublic ConfigSource.Builder setResourceApiVersionValue(int value)
API version for xDS resources. This implies the type URLs that the client will request for resources and the resource type that the client will in turn expect to be delivered.
.envoy.config.core.v4alpha.ApiVersion resource_api_version = 6 [(.validate.rules) = { ... }public ApiVersion getResourceApiVersion()
API version for xDS resources. This implies the type URLs that the client will request for resources and the resource type that the client will in turn expect to be delivered.
.envoy.config.core.v4alpha.ApiVersion resource_api_version = 6 [(.validate.rules) = { ... }getResourceApiVersion in interface ConfigSourceOrBuilderpublic ConfigSource.Builder setResourceApiVersion(ApiVersion value)
API version for xDS resources. This implies the type URLs that the client will request for resources and the resource type that the client will in turn expect to be delivered.
.envoy.config.core.v4alpha.ApiVersion resource_api_version = 6 [(.validate.rules) = { ... }public ConfigSource.Builder clearResourceApiVersion()
API version for xDS resources. This implies the type URLs that the client will request for resources and the resource type that the client will in turn expect to be delivered.
.envoy.config.core.v4alpha.ApiVersion resource_api_version = 6 [(.validate.rules) = { ... }public final ConfigSource.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ConfigSource.Builder>public final ConfigSource.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ConfigSource.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.