Uses of Class
io.envoyproxy.envoy.api.v2.Cluster.Builder
Packages that use Cluster.Builder
-
Uses of Cluster.Builder in io.envoyproxy.envoy.api.v2
Methods in io.envoyproxy.envoy.api.v2 that return Cluster.BuilderModifier and TypeMethodDescriptionCluster.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.addAllFilters(Iterable<? extends Filter> values) An (optional) network filter chain, listed in the order the filters should be applied.Cluster.Builder.addAllHealthChecks(Iterable<? extends HealthCheck> values) Optional :ref:`active health checking <arch_overview_health_checking>` configuration for the cluster.Cluster.Builder.addAllHosts(Iterable<? extends Address> values) Deprecated.Cluster.Builder.addAllTransportSocketMatches(Iterable<? extends Cluster.TransportSocketMatch> values) Configuration to use different transport sockets for different endpoints.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.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.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.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.addFilters(int index, Filter value) An (optional) network filter chain, listed in the order the filters should be applied.Cluster.Builder.addFilters(int index, Filter.Builder builderForValue) An (optional) network filter chain, listed in the order the filters should be applied.Cluster.Builder.addFilters(Filter value) An (optional) network filter chain, listed in the order the filters should be applied.Cluster.Builder.addFilters(Filter.Builder builderForValue) An (optional) network filter chain, listed in the order the filters should be applied.Cluster.Builder.addHealthChecks(int index, HealthCheck value) Optional :ref:`active health checking <arch_overview_health_checking>` configuration for the cluster.Cluster.Builder.addHealthChecks(int index, HealthCheck.Builder builderForValue) Optional :ref:`active health checking <arch_overview_health_checking>` configuration for the cluster.Cluster.Builder.addHealthChecks(HealthCheck value) Optional :ref:`active health checking <arch_overview_health_checking>` configuration for the cluster.Cluster.Builder.addHealthChecks(HealthCheck.Builder builderForValue) Optional :ref:`active health checking <arch_overview_health_checking>` configuration for the cluster.Deprecated.Cluster.Builder.addHosts(int index, Address.Builder builderForValue) Deprecated.Deprecated.Cluster.Builder.addHosts(Address.Builder builderForValue) Deprecated.Cluster.Builder.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) Cluster.Builder.addTransportSocketMatches(int index, Cluster.TransportSocketMatch value) Configuration to use different transport sockets for different endpoints.Cluster.Builder.addTransportSocketMatches(int index, Cluster.TransportSocketMatch.Builder builderForValue) Configuration to use different transport sockets for different endpoints.Cluster.Builder.addTransportSocketMatches(Cluster.TransportSocketMatch value) Configuration to use different transport sockets for different endpoints.Cluster.Builder.addTransportSocketMatches(Cluster.TransportSocketMatch.Builder builderForValue) Configuration to use different transport sockets for different endpoints.Cluster.Builder.clear()Cluster.Builder.clearAltStatName()An optional alternative to the cluster name to be used while emitting stats.Cluster.Builder.clearCircuitBreakers()Optional :ref:`circuit breaking <arch_overview_circuit_break>` for the cluster.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.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.clearClusterDiscoveryType()Cluster.Builder.clearClusterType()The custom cluster type.Cluster.Builder.clearCommonHttpProtocolOptions()Additional options when handling HTTP requests upstream.Cluster.Builder.clearCommonLbConfig()Common configuration for all load balancer implementations.Cluster.Builder.clearConnectTimeout()The timeout for new network connections to hosts in the cluster.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.clearDnsLookupFamily()The DNS IP address resolution policy.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.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.clearDrainConnectionsOnHostRemoval()If set to true, Envoy will ignore the health value of a host when processing its removal from service discovery.Cluster.Builder.clearEdsClusterConfig()Configuration to use for EDS updates for the Cluster.Cluster.Builder.clearExtensionProtocolOptions()Deprecated.Cluster.Builder.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Cluster.Builder.clearFilters()An (optional) network filter chain, listed in the order the filters should be applied.Cluster.Builder.clearHealthChecks()Optional :ref:`active health checking <arch_overview_health_checking>` configuration for the cluster.Cluster.Builder.clearHosts()Deprecated.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.clearHttpProtocolOptions()Additional options when handling HTTP1 requests.Cluster.Builder.clearLbConfig()Cluster.Builder.clearLbPolicy()The :ref:`load balancer type <arch_overview_load_balancing_types>` to use when picking a host in the cluster.Cluster.Builder.clearLbSubsetConfig()Configuration for load balancing subsetting.Cluster.Builder.clearLeastRequestLbConfig()Optional configuration for the LeastRequest load balancing policy.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.clearLoadBalancingPolicy()[#not-implemented-hide:] New mechanism for LB policy configuration.Cluster.Builder.clearLrsServer()[#not-implemented-hide:] If present, tells the client where to send load reports via LRS.Cluster.Builder.clearMaxRequestsPerConnection()Optional maximum requests for a single upstream connection.Cluster.Builder.clearMetadata()The Metadata field can be used to provide additional information about the cluster.Cluster.Builder.clearName()Supplies the name of the cluster which must be unique across all clusters.Cluster.Builder.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Cluster.Builder.clearOriginalDstLbConfig()Optional configuration for the Original Destination load balancing policy.Cluster.Builder.clearOutlierDetection()If specified, outlier detection will be enabled for this upstream cluster.Cluster.Builder.clearPerConnectionBufferLimitBytes()Soft limit on size of the cluster’s connections read and write buffers.Cluster.Builder.clearProtocolSelection()Determines how Envoy selects the protocol used to speak to upstream hosts.Cluster.Builder.clearRespectDnsTtl()Optional configuration for setting cluster's DNS refresh rate.Cluster.Builder.clearRingHashLbConfig()Optional configuration for the Ring Hash load balancing policy.Cluster.Builder.clearTlsContext()Deprecated.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.clearTransportSocket()Optional custom transport socket implementation to use for upstream connections.Cluster.Builder.clearTransportSocketMatches()Configuration to use different transport sockets for different endpoints.Cluster.Builder.clearType()The :ref:`service discovery type <arch_overview_service_discovery_types>` to use for resolving the cluster.Cluster.Builder.clearTypedExtensionProtocolOptions()Cluster.Builder.clearUpstreamBindConfig()Optional configuration used to bind newly established upstream connections.Cluster.Builder.clearUpstreamConnectionOptions()Optional options for upstream connections.Cluster.Builder.clearUpstreamHttpProtocolOptions()HTTP protocol options that are applied only to upstream HTTP connections.Cluster.Builder.clearUseTcpForDnsLookups()[#next-major-version: Reconcile DNS options in a single message.]Cluster.Builder.clone()Cluster.Builder.mergeCircuitBreakers(CircuitBreakers value) Optional :ref:`circuit breaking <arch_overview_circuit_break>` for the cluster.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.mergeClusterType(Cluster.CustomClusterType value) The custom cluster type.Cluster.Builder.mergeCommonHttpProtocolOptions(HttpProtocolOptions value) Additional options when handling HTTP requests upstream.Cluster.Builder.mergeCommonLbConfig(Cluster.CommonLbConfig value) Common configuration for all load balancer implementations.Cluster.Builder.mergeConnectTimeout(com.google.protobuf.Duration value) The timeout for new network connections to hosts in the cluster.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.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.mergeEdsClusterConfig(Cluster.EdsClusterConfig value) Configuration to use for EDS updates for the Cluster.Cluster.Builder.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) Cluster.Builder.mergeFrom(com.google.protobuf.Message other) 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.mergeHttpProtocolOptions(Http1ProtocolOptions value) Additional options when handling HTTP1 requests.Cluster.Builder.mergeLbSubsetConfig(Cluster.LbSubsetConfig value) Configuration for load balancing subsetting.Cluster.Builder.mergeLeastRequestLbConfig(Cluster.LeastRequestLbConfig value) Optional configuration for the LeastRequest load balancing policy.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.mergeLoadBalancingPolicy(LoadBalancingPolicy value) [#not-implemented-hide:] New mechanism for LB policy configuration.Cluster.Builder.mergeLrsServer(ConfigSource value) [#not-implemented-hide:] If present, tells the client where to send load reports via LRS.Cluster.Builder.mergeMaxRequestsPerConnection(com.google.protobuf.UInt32Value value) Optional maximum requests for a single upstream connection.Cluster.Builder.mergeMetadata(Metadata value) The Metadata field can be used to provide additional information about the cluster.Cluster.Builder.mergeOriginalDstLbConfig(Cluster.OriginalDstLbConfig value) Optional configuration for the Original Destination load balancing policy.Cluster.Builder.mergeOutlierDetection(OutlierDetection value) If specified, outlier detection will be enabled for this upstream cluster.Cluster.Builder.mergePerConnectionBufferLimitBytes(com.google.protobuf.UInt32Value value) Soft limit on size of the cluster’s connections read and write buffers.Cluster.Builder.mergeRingHashLbConfig(Cluster.RingHashLbConfig value) Optional configuration for the Ring Hash load balancing policy.Cluster.Builder.mergeTlsContext(UpstreamTlsContext value) Deprecated.Cluster.Builder.mergeTransportSocket(TransportSocket value) Optional custom transport socket implementation to use for upstream connections.final Cluster.BuilderCluster.Builder.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Cluster.Builder.mergeUpstreamBindConfig(BindConfig value) Optional configuration used to bind newly established upstream connections.Cluster.Builder.mergeUpstreamConnectionOptions(UpstreamConnectionOptions value) Optional options for upstream connections.Cluster.Builder.mergeUpstreamHttpProtocolOptions(UpstreamHttpProtocolOptions value) HTTP protocol options that are applied only to upstream HTTP connections.static Cluster.BuilderCluster.newBuilder()static Cluster.BuilderCluster.newBuilder(Cluster prototype) Cluster.newBuilderForType()protected Cluster.BuilderCluster.newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) Cluster.Builder.putAllExtensionProtocolOptions(Map<String, com.google.protobuf.Struct> values) Deprecated.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.putExtensionProtocolOptions(String key, com.google.protobuf.Struct value) Deprecated.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.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.removeExtensionProtocolOptions(String key) Deprecated.Cluster.Builder.removeFilters(int index) An (optional) network filter chain, listed in the order the filters should be applied.Cluster.Builder.removeHealthChecks(int index) Optional :ref:`active health checking <arch_overview_health_checking>` configuration for the cluster.Cluster.Builder.removeHosts(int index) Deprecated.Cluster.Builder.removeTransportSocketMatches(int index) Configuration to use different transport sockets for different endpoints.Cluster.Builder.removeTypedExtensionProtocolOptions(String key) The extension_protocol_options field is used to provide extension-specific protocol options for upstream connections.Cluster.Builder.setAltStatName(String value) An optional alternative to the cluster name to be used while emitting stats.Cluster.Builder.setAltStatNameBytes(com.google.protobuf.ByteString value) An optional alternative to the cluster name to be used while emitting stats.Cluster.Builder.setCircuitBreakers(CircuitBreakers value) Optional :ref:`circuit breaking <arch_overview_circuit_break>` for the cluster.Cluster.Builder.setCircuitBreakers(CircuitBreakers.Builder builderForValue) Optional :ref:`circuit breaking <arch_overview_circuit_break>` for the cluster.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.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.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.setClusterType(Cluster.CustomClusterType value) The custom cluster type.Cluster.Builder.setClusterType(Cluster.CustomClusterType.Builder builderForValue) The custom cluster type.Cluster.Builder.setCommonHttpProtocolOptions(HttpProtocolOptions value) Additional options when handling HTTP requests upstream.Cluster.Builder.setCommonHttpProtocolOptions(HttpProtocolOptions.Builder builderForValue) Additional options when handling HTTP requests upstream.Cluster.Builder.setCommonLbConfig(Cluster.CommonLbConfig value) Common configuration for all load balancer implementations.Cluster.Builder.setCommonLbConfig(Cluster.CommonLbConfig.Builder builderForValue) Common configuration for all load balancer implementations.Cluster.Builder.setConnectTimeout(com.google.protobuf.Duration value) The timeout for new network connections to hosts in the cluster.Cluster.Builder.setConnectTimeout(com.google.protobuf.Duration.Builder builderForValue) The timeout for new network connections to hosts in the cluster.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.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.setDnsLookupFamily(Cluster.DnsLookupFamily value) The DNS IP address resolution policy.Cluster.Builder.setDnsLookupFamilyValue(int value) The DNS IP address resolution policy.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.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.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.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.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.setEdsClusterConfig(Cluster.EdsClusterConfig value) Configuration to use for EDS updates for the Cluster.Cluster.Builder.setEdsClusterConfig(Cluster.EdsClusterConfig.Builder builderForValue) Configuration to use for EDS updates for the Cluster.Cluster.Builder.setFilters(int index, Filter value) An (optional) network filter chain, listed in the order the filters should be applied.Cluster.Builder.setFilters(int index, Filter.Builder builderForValue) An (optional) network filter chain, listed in the order the filters should be applied.Cluster.Builder.setHealthChecks(int index, HealthCheck value) Optional :ref:`active health checking <arch_overview_health_checking>` configuration for the cluster.Cluster.Builder.setHealthChecks(int index, HealthCheck.Builder builderForValue) Optional :ref:`active health checking <arch_overview_health_checking>` configuration for the cluster.Deprecated.Cluster.Builder.setHosts(int index, Address.Builder builderForValue) Deprecated.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.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.setHttpProtocolOptions(Http1ProtocolOptions value) Additional options when handling HTTP1 requests.Cluster.Builder.setHttpProtocolOptions(Http1ProtocolOptions.Builder builderForValue) Additional options when handling HTTP1 requests.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.setLbPolicyValue(int value) The :ref:`load balancer type <arch_overview_load_balancing_types>` to use when picking a host in the cluster.Cluster.Builder.setLbSubsetConfig(Cluster.LbSubsetConfig value) Configuration for load balancing subsetting.Cluster.Builder.setLbSubsetConfig(Cluster.LbSubsetConfig.Builder builderForValue) Configuration for load balancing subsetting.Cluster.Builder.setLeastRequestLbConfig(Cluster.LeastRequestLbConfig value) Optional configuration for the LeastRequest load balancing policy.Cluster.Builder.setLeastRequestLbConfig(Cluster.LeastRequestLbConfig.Builder builderForValue) Optional configuration for the LeastRequest load balancing policy.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.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.setLoadBalancingPolicy(LoadBalancingPolicy value) [#not-implemented-hide:] New mechanism for LB policy configuration.Cluster.Builder.setLoadBalancingPolicy(LoadBalancingPolicy.Builder builderForValue) [#not-implemented-hide:] New mechanism for LB policy configuration.Cluster.Builder.setLrsServer(ConfigSource value) [#not-implemented-hide:] If present, tells the client where to send load reports via LRS.Cluster.Builder.setLrsServer(ConfigSource.Builder builderForValue) [#not-implemented-hide:] If present, tells the client where to send load reports via LRS.Cluster.Builder.setMaxRequestsPerConnection(com.google.protobuf.UInt32Value value) Optional maximum requests for a single upstream connection.Cluster.Builder.setMaxRequestsPerConnection(com.google.protobuf.UInt32Value.Builder builderForValue) Optional maximum requests for a single upstream connection.Cluster.Builder.setMetadata(Metadata value) The Metadata field can be used to provide additional information about the cluster.Cluster.Builder.setMetadata(Metadata.Builder builderForValue) The Metadata field can be used to provide additional information about the cluster.Supplies the name of the cluster which must be unique across all clusters.Cluster.Builder.setNameBytes(com.google.protobuf.ByteString value) Supplies the name of the cluster which must be unique across all clusters.Cluster.Builder.setOriginalDstLbConfig(Cluster.OriginalDstLbConfig value) Optional configuration for the Original Destination load balancing policy.Cluster.Builder.setOriginalDstLbConfig(Cluster.OriginalDstLbConfig.Builder builderForValue) Optional configuration for the Original Destination load balancing policy.Cluster.Builder.setOutlierDetection(OutlierDetection value) If specified, outlier detection will be enabled for this upstream cluster.Cluster.Builder.setOutlierDetection(OutlierDetection.Builder builderForValue) If specified, outlier detection will be enabled for this upstream cluster.Cluster.Builder.setPerConnectionBufferLimitBytes(com.google.protobuf.UInt32Value value) Soft limit on size of the cluster’s connections read and write buffers.Cluster.Builder.setPerConnectionBufferLimitBytes(com.google.protobuf.UInt32Value.Builder builderForValue) Soft limit on size of the cluster’s connections read and write buffers.Cluster.Builder.setProtocolSelection(Cluster.ClusterProtocolSelection value) Determines how Envoy selects the protocol used to speak to upstream hosts.Cluster.Builder.setProtocolSelectionValue(int value) Determines how Envoy selects the protocol used to speak to upstream hosts.Cluster.Builder.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) Cluster.Builder.setRespectDnsTtl(boolean value) Optional configuration for setting cluster's DNS refresh rate.Cluster.Builder.setRingHashLbConfig(Cluster.RingHashLbConfig value) Optional configuration for the Ring Hash load balancing policy.Cluster.Builder.setRingHashLbConfig(Cluster.RingHashLbConfig.Builder builderForValue) Optional configuration for the Ring Hash load balancing policy.Cluster.Builder.setTlsContext(UpstreamTlsContext value) Deprecated.Cluster.Builder.setTlsContext(UpstreamTlsContext.Builder builderForValue) Deprecated.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.setTransportSocket(TransportSocket value) Optional custom transport socket implementation to use for upstream connections.Cluster.Builder.setTransportSocket(TransportSocket.Builder builderForValue) Optional custom transport socket implementation to use for upstream connections.Cluster.Builder.setTransportSocketMatches(int index, Cluster.TransportSocketMatch value) Configuration to use different transport sockets for different endpoints.Cluster.Builder.setTransportSocketMatches(int index, Cluster.TransportSocketMatch.Builder builderForValue) Configuration to use different transport sockets for different endpoints.Cluster.Builder.setType(Cluster.DiscoveryType value) The :ref:`service discovery type <arch_overview_service_discovery_types>` to use for resolving the cluster.Cluster.Builder.setTypeValue(int value) The :ref:`service discovery type <arch_overview_service_discovery_types>` to use for resolving the cluster.final Cluster.BuilderCluster.Builder.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Cluster.Builder.setUpstreamBindConfig(BindConfig value) Optional configuration used to bind newly established upstream connections.Cluster.Builder.setUpstreamBindConfig(BindConfig.Builder builderForValue) Optional configuration used to bind newly established upstream connections.Cluster.Builder.setUpstreamConnectionOptions(UpstreamConnectionOptions value) Optional options for upstream connections.Cluster.Builder.setUpstreamConnectionOptions(UpstreamConnectionOptions.Builder builderForValue) Optional options for upstream connections.Cluster.Builder.setUpstreamHttpProtocolOptions(UpstreamHttpProtocolOptions value) HTTP protocol options that are applied only to upstream HTTP connections.Cluster.Builder.setUpstreamHttpProtocolOptions(UpstreamHttpProtocolOptions.Builder builderForValue) HTTP protocol options that are applied only to upstream HTTP connections.Cluster.Builder.setUseTcpForDnsLookups(boolean value) [#next-major-version: Reconcile DNS options in a single message.]Cluster.toBuilder() -
Uses of Cluster.Builder in io.envoyproxy.envoy.config.bootstrap.v2
Methods in io.envoyproxy.envoy.config.bootstrap.v2 that return Cluster.BuilderModifier and TypeMethodDescriptionBootstrap.StaticResources.Builder.addClustersBuilder()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.Bootstrap.StaticResources.Builder.addClustersBuilder(int index) If a network based configuration source is specified for :ref:`cds_config <envoy_api_field_config.bootstrap.v2.Bootstrap.DynamicResources.cds_config>`, it's necessary to have some initial cluster definitions available to allow Envoy to know how to speak to the management server.Bootstrap.StaticResources.Builder.getClustersBuilder(int index) If a network based configuration source is specified for :ref:`cds_config <envoy_api_field_config.bootstrap.v2.Bootstrap.DynamicResources.cds_config>`, it's necessary to have some initial cluster definitions available to allow Envoy to know how to speak to the management server.Methods in io.envoyproxy.envoy.config.bootstrap.v2 that return types with arguments of type Cluster.BuilderModifier and TypeMethodDescriptionBootstrap.StaticResources.Builder.getClustersBuilderList()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.Methods in io.envoyproxy.envoy.config.bootstrap.v2 with parameters of type Cluster.BuilderModifier and TypeMethodDescriptionBootstrap.StaticResources.Builder.addClusters(int index, Cluster.Builder builderForValue) 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.Bootstrap.StaticResources.Builder.addClusters(Cluster.Builder builderForValue) 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.Bootstrap.StaticResources.Builder.setClusters(int index, Cluster.Builder builderForValue) 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.