Cluster.Builder |
Cluster.Builder.addAllDnsResolvers(Iterable<? extends Address> values) |
If DNS resolvers are specified and the cluster type is either
:ref:`STRICT_DNS<envoy_api_enum_value_Cluster.DiscoveryType.STRICT_DNS>`,
or :ref:`LOGICAL_DNS<envoy_api_enum_value_Cluster.DiscoveryType.LOGICAL_DNS>`,
this value is used to specify the cluster’s dns resolvers.
|
Cluster.Builder |
Cluster.Builder.addAllFilters(Iterable<? extends Filter> values) |
An (optional) network filter chain, listed in the order the filters should be applied.
|
Cluster.Builder |
Cluster.Builder.addAllHealthChecks(Iterable<? extends HealthCheck> values) |
Optional :ref:`active health checking <arch_overview_health_checking>`
configuration for the cluster.
|
Cluster.Builder |
Cluster.Builder.addAllHosts(Iterable<? extends Address> values) |
Deprecated.
|
Cluster.Builder |
Cluster.Builder.addAllTransportSocketMatches(Iterable<? extends Cluster.TransportSocketMatch> values) |
Configuration to use different transport sockets for different endpoints.
|
Cluster.Builder |
Cluster.Builder.addDnsResolvers(int index,
Address value) |
If DNS resolvers are specified and the cluster type is either
:ref:`STRICT_DNS<envoy_api_enum_value_Cluster.DiscoveryType.STRICT_DNS>`,
or :ref:`LOGICAL_DNS<envoy_api_enum_value_Cluster.DiscoveryType.LOGICAL_DNS>`,
this value is used to specify the cluster’s dns resolvers.
|
Cluster.Builder |
Cluster.Builder.addDnsResolvers(int index,
Address.Builder builderForValue) |
If DNS resolvers are specified and the cluster type is either
:ref:`STRICT_DNS<envoy_api_enum_value_Cluster.DiscoveryType.STRICT_DNS>`,
or :ref:`LOGICAL_DNS<envoy_api_enum_value_Cluster.DiscoveryType.LOGICAL_DNS>`,
this value is used to specify the cluster’s dns resolvers.
|
Cluster.Builder |
Cluster.Builder.addDnsResolvers(Address value) |
If DNS resolvers are specified and the cluster type is either
:ref:`STRICT_DNS<envoy_api_enum_value_Cluster.DiscoveryType.STRICT_DNS>`,
or :ref:`LOGICAL_DNS<envoy_api_enum_value_Cluster.DiscoveryType.LOGICAL_DNS>`,
this value is used to specify the cluster’s dns resolvers.
|
Cluster.Builder |
Cluster.Builder.addDnsResolvers(Address.Builder builderForValue) |
If DNS resolvers are specified and the cluster type is either
:ref:`STRICT_DNS<envoy_api_enum_value_Cluster.DiscoveryType.STRICT_DNS>`,
or :ref:`LOGICAL_DNS<envoy_api_enum_value_Cluster.DiscoveryType.LOGICAL_DNS>`,
this value is used to specify the cluster’s dns resolvers.
|
Cluster.Builder |
Cluster.Builder.addFilters(int index,
Filter value) |
An (optional) network filter chain, listed in the order the filters should be applied.
|
Cluster.Builder |
Cluster.Builder.addFilters(int index,
Filter.Builder builderForValue) |
An (optional) network filter chain, listed in the order the filters should be applied.
|
Cluster.Builder |
Cluster.Builder.addFilters(Filter value) |
An (optional) network filter chain, listed in the order the filters should be applied.
|
Cluster.Builder |
Cluster.Builder.addFilters(Filter.Builder builderForValue) |
An (optional) network filter chain, listed in the order the filters should be applied.
|
Cluster.Builder |
Cluster.Builder.addHealthChecks(int index,
HealthCheck value) |
Optional :ref:`active health checking <arch_overview_health_checking>`
configuration for the cluster.
|
Cluster.Builder |
Cluster.Builder.addHealthChecks(int index,
HealthCheck.Builder builderForValue) |
Optional :ref:`active health checking <arch_overview_health_checking>`
configuration for the cluster.
|
Cluster.Builder |
Cluster.Builder.addHealthChecks(HealthCheck value) |
Optional :ref:`active health checking <arch_overview_health_checking>`
configuration for the cluster.
|
Cluster.Builder |
Cluster.Builder.addHealthChecks(HealthCheck.Builder builderForValue) |
Optional :ref:`active health checking <arch_overview_health_checking>`
configuration for the cluster.
|
Cluster.Builder |
Cluster.Builder.addHosts(int index,
Address value) |
Deprecated.
|
Cluster.Builder |
Cluster.Builder.addHosts(int index,
Address.Builder builderForValue) |
Deprecated.
|
Cluster.Builder |
Cluster.Builder.addHosts(Address value) |
Deprecated.
|
Cluster.Builder |
Cluster.Builder.addHosts(Address.Builder builderForValue) |
Deprecated.
|
Cluster.Builder |
Cluster.Builder.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
|
Cluster.Builder |
Cluster.Builder.addTransportSocketMatches(int index,
Cluster.TransportSocketMatch value) |
Configuration to use different transport sockets for different endpoints.
|
Cluster.Builder |
Cluster.Builder.addTransportSocketMatches(int index,
Cluster.TransportSocketMatch.Builder builderForValue) |
Configuration to use different transport sockets for different endpoints.
|
Cluster.Builder |
Cluster.Builder.addTransportSocketMatches(Cluster.TransportSocketMatch value) |
Configuration to use different transport sockets for different endpoints.
|
Cluster.Builder |
Cluster.Builder.addTransportSocketMatches(Cluster.TransportSocketMatch.Builder builderForValue) |
Configuration to use different transport sockets for different endpoints.
|
Cluster.Builder |
Cluster.Builder.clear() |
|
Cluster.Builder |
Cluster.Builder.clearAltStatName() |
An optional alternative to the cluster name to be used while emitting stats.
|
Cluster.Builder |
Cluster.Builder.clearCircuitBreakers() |
Optional :ref:`circuit breaking <arch_overview_circuit_break>` for the cluster.
|
Cluster.Builder |
Cluster.Builder.clearCleanupInterval() |
The interval for removing stale hosts from a cluster type
:ref:`ORIGINAL_DST<envoy_api_enum_value_Cluster.DiscoveryType.ORIGINAL_DST>`.
|
Cluster.Builder |
Cluster.Builder.clearCloseConnectionsOnHostHealthFailure() |
If an upstream host becomes unhealthy (as determined by the configured health checks
or outlier detection), immediately close all connections to the failed host.
.. note::
This is currently only supported for connections created by tcp_proxy.
.. note::
The current implementation of this feature closes all connections immediately when
the unhealthy status is detected.
|
Cluster.Builder |
Cluster.Builder.clearClusterDiscoveryType() |
|
Cluster.Builder |
Cluster.Builder.clearClusterType() |
The custom cluster type.
|
Cluster.Builder |
Cluster.Builder.clearCommonHttpProtocolOptions() |
Additional options when handling HTTP requests upstream.
|
Cluster.Builder |
Cluster.Builder.clearCommonLbConfig() |
Common configuration for all load balancer implementations.
|
Cluster.Builder |
Cluster.Builder.clearConnectTimeout() |
The timeout for new network connections to hosts in the cluster.
|
Cluster.Builder |
Cluster.Builder.clearDnsFailureRefreshRate() |
If the DNS failure refresh rate is specified and the cluster type is either
:ref:`STRICT_DNS<envoy_api_enum_value_Cluster.DiscoveryType.STRICT_DNS>`,
or :ref:`LOGICAL_DNS<envoy_api_enum_value_Cluster.DiscoveryType.LOGICAL_DNS>`,
this is used as the cluster’s DNS refresh rate when requests are failing.
|
Cluster.Builder |
Cluster.Builder.clearDnsLookupFamily() |
The DNS IP address resolution policy.
|
Cluster.Builder |
Cluster.Builder.clearDnsRefreshRate() |
If the DNS refresh rate is specified and the cluster type is either
:ref:`STRICT_DNS<envoy_api_enum_value_Cluster.DiscoveryType.STRICT_DNS>`,
or :ref:`LOGICAL_DNS<envoy_api_enum_value_Cluster.DiscoveryType.LOGICAL_DNS>`,
this value is used as the cluster’s DNS refresh
rate.
|
Cluster.Builder |
Cluster.Builder.clearDnsResolvers() |
If DNS resolvers are specified and the cluster type is either
:ref:`STRICT_DNS<envoy_api_enum_value_Cluster.DiscoveryType.STRICT_DNS>`,
or :ref:`LOGICAL_DNS<envoy_api_enum_value_Cluster.DiscoveryType.LOGICAL_DNS>`,
this value is used to specify the cluster’s dns resolvers.
|
Cluster.Builder |
Cluster.Builder.clearDrainConnectionsOnHostRemoval() |
If set to true, Envoy will ignore the health value of a host when processing its removal
from service discovery.
|
Cluster.Builder |
Cluster.Builder.clearEdsClusterConfig() |
Configuration to use for EDS updates for the Cluster.
|
Cluster.Builder |
Cluster.Builder.clearExtensionProtocolOptions() |
Deprecated.
|
Cluster.Builder |
Cluster.Builder.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
|
Cluster.Builder |
Cluster.Builder.clearFilters() |
An (optional) network filter chain, listed in the order the filters should be applied.
|
Cluster.Builder |
Cluster.Builder.clearHealthChecks() |
Optional :ref:`active health checking <arch_overview_health_checking>`
configuration for the cluster.
|
Cluster.Builder |
Cluster.Builder.clearHosts() |
Deprecated.
|
Cluster.Builder |
Cluster.Builder.clearHttp2ProtocolOptions() |
Even if default HTTP2 protocol options are desired, this field must be
set so that Envoy will assume that the upstream supports HTTP/2 when
making new HTTP connection pool connections.
|
Cluster.Builder |
Cluster.Builder.clearHttpProtocolOptions() |
Additional options when handling HTTP1 requests.
|
Cluster.Builder |
Cluster.Builder.clearLbConfig() |
|
Cluster.Builder |
Cluster.Builder.clearLbPolicy() |
The :ref:`load balancer type <arch_overview_load_balancing_types>` to use
when picking a host in the cluster.
|
Cluster.Builder |
Cluster.Builder.clearLbSubsetConfig() |
Configuration for load balancing subsetting.
|
Cluster.Builder |
Cluster.Builder.clearLeastRequestLbConfig() |
Optional configuration for the LeastRequest load balancing policy.
|
Cluster.Builder |
Cluster.Builder.clearLoadAssignment() |
Setting this is required for specifying members of
:ref:`STATIC<envoy_api_enum_value_Cluster.DiscoveryType.STATIC>`,
:ref:`STRICT_DNS<envoy_api_enum_value_Cluster.DiscoveryType.STRICT_DNS>`
or :ref:`LOGICAL_DNS<envoy_api_enum_value_Cluster.DiscoveryType.LOGICAL_DNS>` clusters.
|
Cluster.Builder |
Cluster.Builder.clearLoadBalancingPolicy() |
[#not-implemented-hide:] New mechanism for LB policy configuration.
|
Cluster.Builder |
Cluster.Builder.clearLrsServer() |
[#not-implemented-hide:]
If present, tells the client where to send load reports via LRS.
|
Cluster.Builder |
Cluster.Builder.clearMaxRequestsPerConnection() |
Optional maximum requests for a single upstream connection.
|
Cluster.Builder |
Cluster.Builder.clearMetadata() |
The Metadata field can be used to provide additional information about the
cluster.
|
Cluster.Builder |
Cluster.Builder.clearName() |
Supplies the name of the cluster which must be unique across all clusters.
|
Cluster.Builder |
Cluster.Builder.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
|
Cluster.Builder |
Cluster.Builder.clearOriginalDstLbConfig() |
Optional configuration for the Original Destination load balancing policy.
|
Cluster.Builder |
Cluster.Builder.clearOutlierDetection() |
If specified, outlier detection will be enabled for this upstream cluster.
|
Cluster.Builder |
Cluster.Builder.clearPerConnectionBufferLimitBytes() |
Soft limit on size of the cluster’s connections read and write buffers.
|
Cluster.Builder |
Cluster.Builder.clearProtocolSelection() |
Determines how Envoy selects the protocol used to speak to upstream hosts.
|
Cluster.Builder |
Cluster.Builder.clearRespectDnsTtl() |
Optional configuration for setting cluster's DNS refresh rate.
|
Cluster.Builder |
Cluster.Builder.clearRingHashLbConfig() |
Optional configuration for the Ring Hash load balancing policy.
|
Cluster.Builder |
Cluster.Builder.clearTlsContext() |
Deprecated.
|
Cluster.Builder |
Cluster.Builder.clearTrackTimeoutBudgets() |
If track_timeout_budgets is true, the :ref:`timeout budget histograms
<config_cluster_manager_cluster_stats_timeout_budgets>` will be published for each
request.
|
Cluster.Builder |
Cluster.Builder.clearTransportSocket() |
Optional custom transport socket implementation to use for upstream connections.
|
Cluster.Builder |
Cluster.Builder.clearTransportSocketMatches() |
Configuration to use different transport sockets for different endpoints.
|
Cluster.Builder |
Cluster.Builder.clearType() |
The :ref:`service discovery type <arch_overview_service_discovery_types>`
to use for resolving the cluster.
|
Cluster.Builder |
Cluster.Builder.clearTypedExtensionProtocolOptions() |
|
Cluster.Builder |
Cluster.Builder.clearUpstreamBindConfig() |
Optional configuration used to bind newly established upstream connections.
|
Cluster.Builder |
Cluster.Builder.clearUpstreamConnectionOptions() |
Optional options for upstream connections.
|
Cluster.Builder |
Cluster.Builder.clearUpstreamHttpProtocolOptions() |
HTTP protocol options that are applied only to upstream HTTP connections.
|
Cluster.Builder |
Cluster.Builder.clearUseTcpForDnsLookups() |
[#next-major-version: Reconcile DNS options in a single message.]
|
Cluster.Builder |
Cluster.Builder.clone() |
|
Cluster.Builder |
Cluster.Builder.mergeCircuitBreakers(CircuitBreakers value) |
Optional :ref:`circuit breaking <arch_overview_circuit_break>` for the cluster.
|
Cluster.Builder |
Cluster.Builder.mergeCleanupInterval(com.google.protobuf.Duration value) |
The interval for removing stale hosts from a cluster type
:ref:`ORIGINAL_DST<envoy_api_enum_value_Cluster.DiscoveryType.ORIGINAL_DST>`.
|
Cluster.Builder |
Cluster.Builder.mergeClusterType(Cluster.CustomClusterType value) |
The custom cluster type.
|
Cluster.Builder |
Cluster.Builder.mergeCommonHttpProtocolOptions(HttpProtocolOptions value) |
Additional options when handling HTTP requests upstream.
|
Cluster.Builder |
Cluster.Builder.mergeCommonLbConfig(Cluster.CommonLbConfig value) |
Common configuration for all load balancer implementations.
|
Cluster.Builder |
Cluster.Builder.mergeConnectTimeout(com.google.protobuf.Duration value) |
The timeout for new network connections to hosts in the cluster.
|
Cluster.Builder |
Cluster.Builder.mergeDnsFailureRefreshRate(Cluster.RefreshRate value) |
If the DNS failure refresh rate is specified and the cluster type is either
:ref:`STRICT_DNS<envoy_api_enum_value_Cluster.DiscoveryType.STRICT_DNS>`,
or :ref:`LOGICAL_DNS<envoy_api_enum_value_Cluster.DiscoveryType.LOGICAL_DNS>`,
this is used as the cluster’s DNS refresh rate when requests are failing.
|
Cluster.Builder |
Cluster.Builder.mergeDnsRefreshRate(com.google.protobuf.Duration value) |
If the DNS refresh rate is specified and the cluster type is either
:ref:`STRICT_DNS<envoy_api_enum_value_Cluster.DiscoveryType.STRICT_DNS>`,
or :ref:`LOGICAL_DNS<envoy_api_enum_value_Cluster.DiscoveryType.LOGICAL_DNS>`,
this value is used as the cluster’s DNS refresh
rate.
|
Cluster.Builder |
Cluster.Builder.mergeEdsClusterConfig(Cluster.EdsClusterConfig value) |
Configuration to use for EDS updates for the Cluster.
|
Cluster.Builder |
Cluster.Builder.mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
|
Cluster.Builder |
Cluster.Builder.mergeFrom(com.google.protobuf.Message other) |
|
Cluster.Builder |
Cluster.Builder.mergeFrom(Cluster other) |
|
Cluster.Builder |
Cluster.Builder.mergeHttp2ProtocolOptions(Http2ProtocolOptions value) |
Even if default HTTP2 protocol options are desired, this field must be
set so that Envoy will assume that the upstream supports HTTP/2 when
making new HTTP connection pool connections.
|
Cluster.Builder |
Cluster.Builder.mergeHttpProtocolOptions(Http1ProtocolOptions value) |
Additional options when handling HTTP1 requests.
|
Cluster.Builder |
Cluster.Builder.mergeLbSubsetConfig(Cluster.LbSubsetConfig value) |
Configuration for load balancing subsetting.
|
Cluster.Builder |
Cluster.Builder.mergeLeastRequestLbConfig(Cluster.LeastRequestLbConfig value) |
Optional configuration for the LeastRequest load balancing policy.
|
Cluster.Builder |
Cluster.Builder.mergeLoadAssignment(ClusterLoadAssignment value) |
Setting this is required for specifying members of
:ref:`STATIC<envoy_api_enum_value_Cluster.DiscoveryType.STATIC>`,
:ref:`STRICT_DNS<envoy_api_enum_value_Cluster.DiscoveryType.STRICT_DNS>`
or :ref:`LOGICAL_DNS<envoy_api_enum_value_Cluster.DiscoveryType.LOGICAL_DNS>` clusters.
|
Cluster.Builder |
Cluster.Builder.mergeLoadBalancingPolicy(LoadBalancingPolicy value) |
[#not-implemented-hide:] New mechanism for LB policy configuration.
|
Cluster.Builder |
Cluster.Builder.mergeLrsServer(ConfigSource value) |
[#not-implemented-hide:]
If present, tells the client where to send load reports via LRS.
|
Cluster.Builder |
Cluster.Builder.mergeMaxRequestsPerConnection(com.google.protobuf.UInt32Value value) |
Optional maximum requests for a single upstream connection.
|
Cluster.Builder |
Cluster.Builder.mergeMetadata(Metadata value) |
The Metadata field can be used to provide additional information about the
cluster.
|
Cluster.Builder |
Cluster.Builder.mergeOriginalDstLbConfig(Cluster.OriginalDstLbConfig value) |
Optional configuration for the Original Destination load balancing policy.
|
Cluster.Builder |
Cluster.Builder.mergeOutlierDetection(OutlierDetection value) |
If specified, outlier detection will be enabled for this upstream cluster.
|
Cluster.Builder |
Cluster.Builder.mergePerConnectionBufferLimitBytes(com.google.protobuf.UInt32Value value) |
Soft limit on size of the cluster’s connections read and write buffers.
|
Cluster.Builder |
Cluster.Builder.mergeRingHashLbConfig(Cluster.RingHashLbConfig value) |
Optional configuration for the Ring Hash load balancing policy.
|
Cluster.Builder |
Cluster.Builder.mergeTlsContext(UpstreamTlsContext value) |
Deprecated.
|
Cluster.Builder |
Cluster.Builder.mergeTransportSocket(TransportSocket value) |
Optional custom transport socket implementation to use for upstream connections.
|
Cluster.Builder |
Cluster.Builder.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
|
Cluster.Builder |
Cluster.Builder.mergeUpstreamBindConfig(BindConfig value) |
Optional configuration used to bind newly established upstream connections.
|
Cluster.Builder |
Cluster.Builder.mergeUpstreamConnectionOptions(UpstreamConnectionOptions value) |
Optional options for upstream connections.
|
Cluster.Builder |
Cluster.Builder.mergeUpstreamHttpProtocolOptions(UpstreamHttpProtocolOptions value) |
HTTP protocol options that are applied only to upstream HTTP connections.
|
static Cluster.Builder |
Cluster.newBuilder() |
|
static Cluster.Builder |
Cluster.newBuilder(Cluster prototype) |
|
Cluster.Builder |
Cluster.newBuilderForType() |
|
protected Cluster.Builder |
Cluster.newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
|
Cluster.Builder |
Cluster.Builder.putAllExtensionProtocolOptions(Map<String,com.google.protobuf.Struct> values) |
Deprecated.
|
Cluster.Builder |
Cluster.Builder.putAllTypedExtensionProtocolOptions(Map<String,com.google.protobuf.Any> values) |
The extension_protocol_options field is used to provide extension-specific protocol options
for upstream connections.
|
Cluster.Builder |
Cluster.Builder.putExtensionProtocolOptions(String key,
com.google.protobuf.Struct value) |
Deprecated.
|
Cluster.Builder |
Cluster.Builder.putTypedExtensionProtocolOptions(String key,
com.google.protobuf.Any value) |
The extension_protocol_options field is used to provide extension-specific protocol options
for upstream connections.
|
Cluster.Builder |
Cluster.Builder.removeDnsResolvers(int index) |
If DNS resolvers are specified and the cluster type is either
:ref:`STRICT_DNS<envoy_api_enum_value_Cluster.DiscoveryType.STRICT_DNS>`,
or :ref:`LOGICAL_DNS<envoy_api_enum_value_Cluster.DiscoveryType.LOGICAL_DNS>`,
this value is used to specify the cluster’s dns resolvers.
|
Cluster.Builder |
Cluster.Builder.removeExtensionProtocolOptions(String key) |
Deprecated.
|
Cluster.Builder |
Cluster.Builder.removeFilters(int index) |
An (optional) network filter chain, listed in the order the filters should be applied.
|
Cluster.Builder |
Cluster.Builder.removeHealthChecks(int index) |
Optional :ref:`active health checking <arch_overview_health_checking>`
configuration for the cluster.
|
Cluster.Builder |
Cluster.Builder.removeHosts(int index) |
Deprecated.
|
Cluster.Builder |
Cluster.Builder.removeTransportSocketMatches(int index) |
Configuration to use different transport sockets for different endpoints.
|
Cluster.Builder |
Cluster.Builder.removeTypedExtensionProtocolOptions(String key) |
The extension_protocol_options field is used to provide extension-specific protocol options
for upstream connections.
|
Cluster.Builder |
Cluster.Builder.setAltStatName(String value) |
An optional alternative to the cluster name to be used while emitting stats.
|
Cluster.Builder |
Cluster.Builder.setAltStatNameBytes(com.google.protobuf.ByteString value) |
An optional alternative to the cluster name to be used while emitting stats.
|
Cluster.Builder |
Cluster.Builder.setCircuitBreakers(CircuitBreakers value) |
Optional :ref:`circuit breaking <arch_overview_circuit_break>` for the cluster.
|
Cluster.Builder |
Cluster.Builder.setCircuitBreakers(CircuitBreakers.Builder builderForValue) |
Optional :ref:`circuit breaking <arch_overview_circuit_break>` for the cluster.
|
Cluster.Builder |
Cluster.Builder.setCleanupInterval(com.google.protobuf.Duration value) |
The interval for removing stale hosts from a cluster type
:ref:`ORIGINAL_DST<envoy_api_enum_value_Cluster.DiscoveryType.ORIGINAL_DST>`.
|
Cluster.Builder |
Cluster.Builder.setCleanupInterval(com.google.protobuf.Duration.Builder builderForValue) |
The interval for removing stale hosts from a cluster type
:ref:`ORIGINAL_DST<envoy_api_enum_value_Cluster.DiscoveryType.ORIGINAL_DST>`.
|
Cluster.Builder |
Cluster.Builder.setCloseConnectionsOnHostHealthFailure(boolean value) |
If an upstream host becomes unhealthy (as determined by the configured health checks
or outlier detection), immediately close all connections to the failed host.
.. note::
This is currently only supported for connections created by tcp_proxy.
.. note::
The current implementation of this feature closes all connections immediately when
the unhealthy status is detected.
|
Cluster.Builder |
Cluster.Builder.setClusterType(Cluster.CustomClusterType value) |
The custom cluster type.
|
Cluster.Builder |
Cluster.Builder.setClusterType(Cluster.CustomClusterType.Builder builderForValue) |
The custom cluster type.
|
Cluster.Builder |
Cluster.Builder.setCommonHttpProtocolOptions(HttpProtocolOptions value) |
Additional options when handling HTTP requests upstream.
|
Cluster.Builder |
Cluster.Builder.setCommonHttpProtocolOptions(HttpProtocolOptions.Builder builderForValue) |
Additional options when handling HTTP requests upstream.
|
Cluster.Builder |
Cluster.Builder.setCommonLbConfig(Cluster.CommonLbConfig value) |
Common configuration for all load balancer implementations.
|
Cluster.Builder |
Cluster.Builder.setCommonLbConfig(Cluster.CommonLbConfig.Builder builderForValue) |
Common configuration for all load balancer implementations.
|
Cluster.Builder |
Cluster.Builder.setConnectTimeout(com.google.protobuf.Duration value) |
The timeout for new network connections to hosts in the cluster.
|
Cluster.Builder |
Cluster.Builder.setConnectTimeout(com.google.protobuf.Duration.Builder builderForValue) |
The timeout for new network connections to hosts in the cluster.
|
Cluster.Builder |
Cluster.Builder.setDnsFailureRefreshRate(Cluster.RefreshRate value) |
If the DNS failure refresh rate is specified and the cluster type is either
:ref:`STRICT_DNS<envoy_api_enum_value_Cluster.DiscoveryType.STRICT_DNS>`,
or :ref:`LOGICAL_DNS<envoy_api_enum_value_Cluster.DiscoveryType.LOGICAL_DNS>`,
this is used as the cluster’s DNS refresh rate when requests are failing.
|
Cluster.Builder |
Cluster.Builder.setDnsFailureRefreshRate(Cluster.RefreshRate.Builder builderForValue) |
If the DNS failure refresh rate is specified and the cluster type is either
:ref:`STRICT_DNS<envoy_api_enum_value_Cluster.DiscoveryType.STRICT_DNS>`,
or :ref:`LOGICAL_DNS<envoy_api_enum_value_Cluster.DiscoveryType.LOGICAL_DNS>`,
this is used as the cluster’s DNS refresh rate when requests are failing.
|
Cluster.Builder |
Cluster.Builder.setDnsLookupFamily(Cluster.DnsLookupFamily value) |
The DNS IP address resolution policy.
|
Cluster.Builder |
Cluster.Builder.setDnsLookupFamilyValue(int value) |
The DNS IP address resolution policy.
|
Cluster.Builder |
Cluster.Builder.setDnsRefreshRate(com.google.protobuf.Duration value) |
If the DNS refresh rate is specified and the cluster type is either
:ref:`STRICT_DNS<envoy_api_enum_value_Cluster.DiscoveryType.STRICT_DNS>`,
or :ref:`LOGICAL_DNS<envoy_api_enum_value_Cluster.DiscoveryType.LOGICAL_DNS>`,
this value is used as the cluster’s DNS refresh
rate.
|
Cluster.Builder |
Cluster.Builder.setDnsRefreshRate(com.google.protobuf.Duration.Builder builderForValue) |
If the DNS refresh rate is specified and the cluster type is either
:ref:`STRICT_DNS<envoy_api_enum_value_Cluster.DiscoveryType.STRICT_DNS>`,
or :ref:`LOGICAL_DNS<envoy_api_enum_value_Cluster.DiscoveryType.LOGICAL_DNS>`,
this value is used as the cluster’s DNS refresh
rate.
|
Cluster.Builder |
Cluster.Builder.setDnsResolvers(int index,
Address value) |
If DNS resolvers are specified and the cluster type is either
:ref:`STRICT_DNS<envoy_api_enum_value_Cluster.DiscoveryType.STRICT_DNS>`,
or :ref:`LOGICAL_DNS<envoy_api_enum_value_Cluster.DiscoveryType.LOGICAL_DNS>`,
this value is used to specify the cluster’s dns resolvers.
|
Cluster.Builder |
Cluster.Builder.setDnsResolvers(int index,
Address.Builder builderForValue) |
If DNS resolvers are specified and the cluster type is either
:ref:`STRICT_DNS<envoy_api_enum_value_Cluster.DiscoveryType.STRICT_DNS>`,
or :ref:`LOGICAL_DNS<envoy_api_enum_value_Cluster.DiscoveryType.LOGICAL_DNS>`,
this value is used to specify the cluster’s dns resolvers.
|
Cluster.Builder |
Cluster.Builder.setDrainConnectionsOnHostRemoval(boolean value) |
If set to true, Envoy will ignore the health value of a host when processing its removal
from service discovery.
|
Cluster.Builder |
Cluster.Builder.setEdsClusterConfig(Cluster.EdsClusterConfig value) |
Configuration to use for EDS updates for the Cluster.
|
Cluster.Builder |
Cluster.Builder.setEdsClusterConfig(Cluster.EdsClusterConfig.Builder builderForValue) |
Configuration to use for EDS updates for the Cluster.
|
Cluster.Builder |
Cluster.Builder.setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
|
Cluster.Builder |
Cluster.Builder.setFilters(int index,
Filter value) |
An (optional) network filter chain, listed in the order the filters should be applied.
|
Cluster.Builder |
Cluster.Builder.setFilters(int index,
Filter.Builder builderForValue) |
An (optional) network filter chain, listed in the order the filters should be applied.
|
Cluster.Builder |
Cluster.Builder.setHealthChecks(int index,
HealthCheck value) |
Optional :ref:`active health checking <arch_overview_health_checking>`
configuration for the cluster.
|
Cluster.Builder |
Cluster.Builder.setHealthChecks(int index,
HealthCheck.Builder builderForValue) |
Optional :ref:`active health checking <arch_overview_health_checking>`
configuration for the cluster.
|
Cluster.Builder |
Cluster.Builder.setHosts(int index,
Address value) |
Deprecated.
|
Cluster.Builder |
Cluster.Builder.setHosts(int index,
Address.Builder builderForValue) |
Deprecated.
|
Cluster.Builder |
Cluster.Builder.setHttp2ProtocolOptions(Http2ProtocolOptions value) |
Even if default HTTP2 protocol options are desired, this field must be
set so that Envoy will assume that the upstream supports HTTP/2 when
making new HTTP connection pool connections.
|
Cluster.Builder |
Cluster.Builder.setHttp2ProtocolOptions(Http2ProtocolOptions.Builder builderForValue) |
Even if default HTTP2 protocol options are desired, this field must be
set so that Envoy will assume that the upstream supports HTTP/2 when
making new HTTP connection pool connections.
|
Cluster.Builder |
Cluster.Builder.setHttpProtocolOptions(Http1ProtocolOptions value) |
Additional options when handling HTTP1 requests.
|
Cluster.Builder |
Cluster.Builder.setHttpProtocolOptions(Http1ProtocolOptions.Builder builderForValue) |
Additional options when handling HTTP1 requests.
|
Cluster.Builder |
Cluster.Builder.setLbPolicy(Cluster.LbPolicy value) |
The :ref:`load balancer type <arch_overview_load_balancing_types>` to use
when picking a host in the cluster.
|
Cluster.Builder |
Cluster.Builder.setLbPolicyValue(int value) |
The :ref:`load balancer type <arch_overview_load_balancing_types>` to use
when picking a host in the cluster.
|
Cluster.Builder |
Cluster.Builder.setLbSubsetConfig(Cluster.LbSubsetConfig value) |
Configuration for load balancing subsetting.
|
Cluster.Builder |
Cluster.Builder.setLbSubsetConfig(Cluster.LbSubsetConfig.Builder builderForValue) |
Configuration for load balancing subsetting.
|
Cluster.Builder |
Cluster.Builder.setLeastRequestLbConfig(Cluster.LeastRequestLbConfig value) |
Optional configuration for the LeastRequest load balancing policy.
|
Cluster.Builder |
Cluster.Builder.setLeastRequestLbConfig(Cluster.LeastRequestLbConfig.Builder builderForValue) |
Optional configuration for the LeastRequest load balancing policy.
|
Cluster.Builder |
Cluster.Builder.setLoadAssignment(ClusterLoadAssignment value) |
Setting this is required for specifying members of
:ref:`STATIC<envoy_api_enum_value_Cluster.DiscoveryType.STATIC>`,
:ref:`STRICT_DNS<envoy_api_enum_value_Cluster.DiscoveryType.STRICT_DNS>`
or :ref:`LOGICAL_DNS<envoy_api_enum_value_Cluster.DiscoveryType.LOGICAL_DNS>` clusters.
|
Cluster.Builder |
Cluster.Builder.setLoadAssignment(ClusterLoadAssignment.Builder builderForValue) |
Setting this is required for specifying members of
:ref:`STATIC<envoy_api_enum_value_Cluster.DiscoveryType.STATIC>`,
:ref:`STRICT_DNS<envoy_api_enum_value_Cluster.DiscoveryType.STRICT_DNS>`
or :ref:`LOGICAL_DNS<envoy_api_enum_value_Cluster.DiscoveryType.LOGICAL_DNS>` clusters.
|
Cluster.Builder |
Cluster.Builder.setLoadBalancingPolicy(LoadBalancingPolicy value) |
[#not-implemented-hide:] New mechanism for LB policy configuration.
|
Cluster.Builder |
Cluster.Builder.setLoadBalancingPolicy(LoadBalancingPolicy.Builder builderForValue) |
[#not-implemented-hide:] New mechanism for LB policy configuration.
|
Cluster.Builder |
Cluster.Builder.setLrsServer(ConfigSource value) |
[#not-implemented-hide:]
If present, tells the client where to send load reports via LRS.
|
Cluster.Builder |
Cluster.Builder.setLrsServer(ConfigSource.Builder builderForValue) |
[#not-implemented-hide:]
If present, tells the client where to send load reports via LRS.
|
Cluster.Builder |
Cluster.Builder.setMaxRequestsPerConnection(com.google.protobuf.UInt32Value value) |
Optional maximum requests for a single upstream connection.
|
Cluster.Builder |
Cluster.Builder.setMaxRequestsPerConnection(com.google.protobuf.UInt32Value.Builder builderForValue) |
Optional maximum requests for a single upstream connection.
|
Cluster.Builder |
Cluster.Builder.setMetadata(Metadata value) |
The Metadata field can be used to provide additional information about the
cluster.
|
Cluster.Builder |
Cluster.Builder.setMetadata(Metadata.Builder builderForValue) |
The Metadata field can be used to provide additional information about the
cluster.
|
Cluster.Builder |
Cluster.Builder.setName(String value) |
Supplies the name of the cluster which must be unique across all clusters.
|
Cluster.Builder |
Cluster.Builder.setNameBytes(com.google.protobuf.ByteString value) |
Supplies the name of the cluster which must be unique across all clusters.
|
Cluster.Builder |
Cluster.Builder.setOriginalDstLbConfig(Cluster.OriginalDstLbConfig value) |
Optional configuration for the Original Destination load balancing policy.
|
Cluster.Builder |
Cluster.Builder.setOriginalDstLbConfig(Cluster.OriginalDstLbConfig.Builder builderForValue) |
Optional configuration for the Original Destination load balancing policy.
|
Cluster.Builder |
Cluster.Builder.setOutlierDetection(OutlierDetection value) |
If specified, outlier detection will be enabled for this upstream cluster.
|
Cluster.Builder |
Cluster.Builder.setOutlierDetection(OutlierDetection.Builder builderForValue) |
If specified, outlier detection will be enabled for this upstream cluster.
|
Cluster.Builder |
Cluster.Builder.setPerConnectionBufferLimitBytes(com.google.protobuf.UInt32Value value) |
Soft limit on size of the cluster’s connections read and write buffers.
|
Cluster.Builder |
Cluster.Builder.setPerConnectionBufferLimitBytes(com.google.protobuf.UInt32Value.Builder builderForValue) |
Soft limit on size of the cluster’s connections read and write buffers.
|
Cluster.Builder |
Cluster.Builder.setProtocolSelection(Cluster.ClusterProtocolSelection value) |
Determines how Envoy selects the protocol used to speak to upstream hosts.
|
Cluster.Builder |
Cluster.Builder.setProtocolSelectionValue(int value) |
Determines how Envoy selects the protocol used to speak to upstream hosts.
|
Cluster.Builder |
Cluster.Builder.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
|
Cluster.Builder |
Cluster.Builder.setRespectDnsTtl(boolean value) |
Optional configuration for setting cluster's DNS refresh rate.
|
Cluster.Builder |
Cluster.Builder.setRingHashLbConfig(Cluster.RingHashLbConfig value) |
Optional configuration for the Ring Hash load balancing policy.
|
Cluster.Builder |
Cluster.Builder.setRingHashLbConfig(Cluster.RingHashLbConfig.Builder builderForValue) |
Optional configuration for the Ring Hash load balancing policy.
|
Cluster.Builder |
Cluster.Builder.setTlsContext(UpstreamTlsContext value) |
Deprecated.
|
Cluster.Builder |
Cluster.Builder.setTlsContext(UpstreamTlsContext.Builder builderForValue) |
Deprecated.
|
Cluster.Builder |
Cluster.Builder.setTrackTimeoutBudgets(boolean value) |
If track_timeout_budgets is true, the :ref:`timeout budget histograms
<config_cluster_manager_cluster_stats_timeout_budgets>` will be published for each
request.
|
Cluster.Builder |
Cluster.Builder.setTransportSocket(TransportSocket value) |
Optional custom transport socket implementation to use for upstream connections.
|
Cluster.Builder |
Cluster.Builder.setTransportSocket(TransportSocket.Builder builderForValue) |
Optional custom transport socket implementation to use for upstream connections.
|
Cluster.Builder |
Cluster.Builder.setTransportSocketMatches(int index,
Cluster.TransportSocketMatch value) |
Configuration to use different transport sockets for different endpoints.
|
Cluster.Builder |
Cluster.Builder.setTransportSocketMatches(int index,
Cluster.TransportSocketMatch.Builder builderForValue) |
Configuration to use different transport sockets for different endpoints.
|
Cluster.Builder |
Cluster.Builder.setType(Cluster.DiscoveryType value) |
The :ref:`service discovery type <arch_overview_service_discovery_types>`
to use for resolving the cluster.
|
Cluster.Builder |
Cluster.Builder.setTypeValue(int value) |
The :ref:`service discovery type <arch_overview_service_discovery_types>`
to use for resolving the cluster.
|
Cluster.Builder |
Cluster.Builder.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
|
Cluster.Builder |
Cluster.Builder.setUpstreamBindConfig(BindConfig value) |
Optional configuration used to bind newly established upstream connections.
|
Cluster.Builder |
Cluster.Builder.setUpstreamBindConfig(BindConfig.Builder builderForValue) |
Optional configuration used to bind newly established upstream connections.
|
Cluster.Builder |
Cluster.Builder.setUpstreamConnectionOptions(UpstreamConnectionOptions value) |
Optional options for upstream connections.
|
Cluster.Builder |
Cluster.Builder.setUpstreamConnectionOptions(UpstreamConnectionOptions.Builder builderForValue) |
Optional options for upstream connections.
|
Cluster.Builder |
Cluster.Builder.setUpstreamHttpProtocolOptions(UpstreamHttpProtocolOptions value) |
HTTP protocol options that are applied only to upstream HTTP connections.
|
Cluster.Builder |
Cluster.Builder.setUpstreamHttpProtocolOptions(UpstreamHttpProtocolOptions.Builder builderForValue) |
HTTP protocol options that are applied only to upstream HTTP connections.
|
Cluster.Builder |
Cluster.Builder.setUseTcpForDnsLookups(boolean value) |
[#next-major-version: Reconcile DNS options in a single message.]
|
Cluster.Builder |
Cluster.toBuilder() |
|