public interface TcpProxyOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
AccessLog |
getAccessLog(int index)
Configuration for :ref:`access logs <arch_overview_access_logs>`
emitted by the this tcp_proxy.
|
int |
getAccessLogCount()
Configuration for :ref:`access logs <arch_overview_access_logs>`
emitted by the this tcp_proxy.
|
List<AccessLog> |
getAccessLogList()
Configuration for :ref:`access logs <arch_overview_access_logs>`
emitted by the this tcp_proxy.
|
AccessLogOrBuilder |
getAccessLogOrBuilder(int index)
Configuration for :ref:`access logs <arch_overview_access_logs>`
emitted by the this tcp_proxy.
|
List<? extends AccessLogOrBuilder> |
getAccessLogOrBuilderList()
Configuration for :ref:`access logs <arch_overview_access_logs>`
emitted by the this tcp_proxy.
|
String |
getCluster()
The upstream cluster to connect to.
.. note::
Complex routing (based on connection properties) is being implemented in listeners.
|
com.google.protobuf.ByteString |
getClusterBytes()
The upstream cluster to connect to.
.. note::
Complex routing (based on connection properties) is being implemented in listeners.
|
TcpProxy.ClusterSpecifierCase |
getClusterSpecifierCase() |
TcpProxy.DeprecatedV1 |
getDeprecatedV1()
Deprecated.
|
TcpProxy.DeprecatedV1OrBuilder |
getDeprecatedV1OrBuilder()
Deprecated.
|
com.google.protobuf.Duration |
getDownstreamIdleTimeout()
[#not-implemented-hide:] The idle timeout for connections managed by the TCP proxy
filter.
|
com.google.protobuf.DurationOrBuilder |
getDownstreamIdleTimeoutOrBuilder()
[#not-implemented-hide:] The idle timeout for connections managed by the TCP proxy
filter.
|
com.google.protobuf.Duration |
getIdleTimeout()
The idle timeout for connections managed by the TCP proxy filter.
|
com.google.protobuf.DurationOrBuilder |
getIdleTimeoutOrBuilder()
The idle timeout for connections managed by the TCP proxy filter.
|
com.google.protobuf.UInt32Value |
getMaxConnectAttempts()
The maximum number of unsuccessful connection attempts that will be made before
giving up.
|
com.google.protobuf.UInt32ValueOrBuilder |
getMaxConnectAttemptsOrBuilder()
The maximum number of unsuccessful connection attempts that will be made before
giving up.
|
Metadata |
getMetadataMatch()
Optional endpoint metadata match criteria.
|
MetadataOrBuilder |
getMetadataMatchOrBuilder()
Optional endpoint metadata match criteria.
|
String |
getStatPrefix()
The prefix to use when emitting :ref:`statistics
<config_network_filters_tcp_proxy_stats>`.
|
com.google.protobuf.ByteString |
getStatPrefixBytes()
The prefix to use when emitting :ref:`statistics
<config_network_filters_tcp_proxy_stats>`.
|
com.google.protobuf.Duration |
getUpstreamIdleTimeout()
[#not-implemented-hide:]
.google.protobuf.Duration upstream_idle_timeout = 4; |
com.google.protobuf.DurationOrBuilder |
getUpstreamIdleTimeoutOrBuilder()
[#not-implemented-hide:]
.google.protobuf.Duration upstream_idle_timeout = 4; |
TcpProxy.WeightedCluster |
getWeightedClusters()
Multiple upstream clusters can be specified for a given route.
|
TcpProxy.WeightedClusterOrBuilder |
getWeightedClustersOrBuilder()
Multiple upstream clusters can be specified for a given route.
|
boolean |
hasDeprecatedV1()
Deprecated.
|
boolean |
hasDownstreamIdleTimeout()
[#not-implemented-hide:] The idle timeout for connections managed by the TCP proxy
filter.
|
boolean |
hasIdleTimeout()
The idle timeout for connections managed by the TCP proxy filter.
|
boolean |
hasMaxConnectAttempts()
The maximum number of unsuccessful connection attempts that will be made before
giving up.
|
boolean |
hasMetadataMatch()
Optional endpoint metadata match criteria.
|
boolean |
hasUpstreamIdleTimeout()
[#not-implemented-hide:]
.google.protobuf.Duration upstream_idle_timeout = 4; |
boolean |
hasWeightedClusters()
Multiple upstream clusters can be specified for a given route.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getStatPrefix()
The prefix to use when emitting :ref:`statistics <config_network_filters_tcp_proxy_stats>`.
string stat_prefix = 1 [(.validate.rules) = { ... }com.google.protobuf.ByteString getStatPrefixBytes()
The prefix to use when emitting :ref:`statistics <config_network_filters_tcp_proxy_stats>`.
string stat_prefix = 1 [(.validate.rules) = { ... }String getCluster()
The upstream cluster to connect to. .. note:: Complex routing (based on connection properties) is being implemented in listeners. Once fully implemented, this field (or `weighted_clusters`) will be the only way to configure the target cluster. In the interim, complex routing requires using a :ref:`deprecated_v1 <envoy_api_field_config.filter.network.tcp_proxy.v2.TcpProxy.deprecated_v1>` configuration. This field is ignored if a `deprecated_v1` configuration is set.
string cluster = 2;com.google.protobuf.ByteString getClusterBytes()
The upstream cluster to connect to. .. note:: Complex routing (based on connection properties) is being implemented in listeners. Once fully implemented, this field (or `weighted_clusters`) will be the only way to configure the target cluster. In the interim, complex routing requires using a :ref:`deprecated_v1 <envoy_api_field_config.filter.network.tcp_proxy.v2.TcpProxy.deprecated_v1>` configuration. This field is ignored if a `deprecated_v1` configuration is set.
string cluster = 2;boolean hasWeightedClusters()
Multiple upstream clusters can be specified for a given route. The request is routed to one of the upstream clusters based on weights assigned to each cluster. .. note:: This field is ignored if the :ref:`deprecated_v1 <envoy_api_field_config.filter.network.tcp_proxy.v2.TcpProxy.deprecated_v1>` configuration is set.
.envoy.config.filter.network.tcp_proxy.v2.TcpProxy.WeightedCluster weighted_clusters = 10;TcpProxy.WeightedCluster getWeightedClusters()
Multiple upstream clusters can be specified for a given route. The request is routed to one of the upstream clusters based on weights assigned to each cluster. .. note:: This field is ignored if the :ref:`deprecated_v1 <envoy_api_field_config.filter.network.tcp_proxy.v2.TcpProxy.deprecated_v1>` configuration is set.
.envoy.config.filter.network.tcp_proxy.v2.TcpProxy.WeightedCluster weighted_clusters = 10;TcpProxy.WeightedClusterOrBuilder getWeightedClustersOrBuilder()
Multiple upstream clusters can be specified for a given route. The request is routed to one of the upstream clusters based on weights assigned to each cluster. .. note:: This field is ignored if the :ref:`deprecated_v1 <envoy_api_field_config.filter.network.tcp_proxy.v2.TcpProxy.deprecated_v1>` configuration is set.
.envoy.config.filter.network.tcp_proxy.v2.TcpProxy.WeightedCluster weighted_clusters = 10;boolean hasMetadataMatch()
Optional endpoint metadata match criteria. Only endpoints in the upstream cluster with metadata matching that set in metadata_match will be considered. The filter name should be specified as *envoy.lb*.
.envoy.api.v2.core.Metadata metadata_match = 9;Metadata getMetadataMatch()
Optional endpoint metadata match criteria. Only endpoints in the upstream cluster with metadata matching that set in metadata_match will be considered. The filter name should be specified as *envoy.lb*.
.envoy.api.v2.core.Metadata metadata_match = 9;MetadataOrBuilder getMetadataMatchOrBuilder()
Optional endpoint metadata match criteria. Only endpoints in the upstream cluster with metadata matching that set in metadata_match will be considered. The filter name should be specified as *envoy.lb*.
.envoy.api.v2.core.Metadata metadata_match = 9;boolean hasIdleTimeout()
The idle timeout for connections managed by the TCP proxy filter. The idle timeout is defined as the period in which there are no bytes sent or received on either the upstream or downstream connection. If not set, connections will never be closed by the TCP proxy due to being idle.
.google.protobuf.Duration idle_timeout = 8 [(.gogoproto.stdduration) = true, (.validate.rules) = { ... }com.google.protobuf.Duration getIdleTimeout()
The idle timeout for connections managed by the TCP proxy filter. The idle timeout is defined as the period in which there are no bytes sent or received on either the upstream or downstream connection. If not set, connections will never be closed by the TCP proxy due to being idle.
.google.protobuf.Duration idle_timeout = 8 [(.gogoproto.stdduration) = true, (.validate.rules) = { ... }com.google.protobuf.DurationOrBuilder getIdleTimeoutOrBuilder()
The idle timeout for connections managed by the TCP proxy filter. The idle timeout is defined as the period in which there are no bytes sent or received on either the upstream or downstream connection. If not set, connections will never be closed by the TCP proxy due to being idle.
.google.protobuf.Duration idle_timeout = 8 [(.gogoproto.stdduration) = true, (.validate.rules) = { ... }boolean hasDownstreamIdleTimeout()
[#not-implemented-hide:] The idle timeout for connections managed by the TCP proxy filter. The idle timeout is defined as the period in which there is no active traffic. If not set, there is no idle timeout. When the idle timeout is reached the connection will be closed. The distinction between downstream_idle_timeout/upstream_idle_timeout provides a means to set timeout based on the last byte sent on the downstream/upstream connection.
.google.protobuf.Duration downstream_idle_timeout = 3;com.google.protobuf.Duration getDownstreamIdleTimeout()
[#not-implemented-hide:] The idle timeout for connections managed by the TCP proxy filter. The idle timeout is defined as the period in which there is no active traffic. If not set, there is no idle timeout. When the idle timeout is reached the connection will be closed. The distinction between downstream_idle_timeout/upstream_idle_timeout provides a means to set timeout based on the last byte sent on the downstream/upstream connection.
.google.protobuf.Duration downstream_idle_timeout = 3;com.google.protobuf.DurationOrBuilder getDownstreamIdleTimeoutOrBuilder()
[#not-implemented-hide:] The idle timeout for connections managed by the TCP proxy filter. The idle timeout is defined as the period in which there is no active traffic. If not set, there is no idle timeout. When the idle timeout is reached the connection will be closed. The distinction between downstream_idle_timeout/upstream_idle_timeout provides a means to set timeout based on the last byte sent on the downstream/upstream connection.
.google.protobuf.Duration downstream_idle_timeout = 3;boolean hasUpstreamIdleTimeout()
[#not-implemented-hide:]
.google.protobuf.Duration upstream_idle_timeout = 4;com.google.protobuf.Duration getUpstreamIdleTimeout()
[#not-implemented-hide:]
.google.protobuf.Duration upstream_idle_timeout = 4;com.google.protobuf.DurationOrBuilder getUpstreamIdleTimeoutOrBuilder()
[#not-implemented-hide:]
.google.protobuf.Duration upstream_idle_timeout = 4;List<AccessLog> getAccessLogList()
Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by the this tcp_proxy.
repeated .envoy.config.filter.accesslog.v2.AccessLog access_log = 5;AccessLog getAccessLog(int index)
Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by the this tcp_proxy.
repeated .envoy.config.filter.accesslog.v2.AccessLog access_log = 5;int getAccessLogCount()
Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by the this tcp_proxy.
repeated .envoy.config.filter.accesslog.v2.AccessLog access_log = 5;List<? extends AccessLogOrBuilder> getAccessLogOrBuilderList()
Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by the this tcp_proxy.
repeated .envoy.config.filter.accesslog.v2.AccessLog access_log = 5;AccessLogOrBuilder getAccessLogOrBuilder(int index)
Configuration for :ref:`access logs <arch_overview_access_logs>` emitted by the this tcp_proxy.
repeated .envoy.config.filter.accesslog.v2.AccessLog access_log = 5;@Deprecated boolean hasDeprecatedV1()
TCP Proxy filter configuration using deprecated V1 format. This is required for complex
routing until filter chain matching in the listener is implemented.
Example:
.. code-block:: yaml
- name: "envoy.tcp_proxy"
config:
deprecated_v1: true
value:
stat_prefix: "prefix"
access_log:
- ...
route_config:
routes:
- cluster: "cluster"
destination_ip_list:
- "10.1.0.0/8"
destination_ports: "8080"
source_ip_list:
- "10.1.0.0/16"
- "2001:db8::/32"
source_ports: "8000,9000-9999"
.. attention::
Using the deprecated V1 configuration excludes the use of any V2 configuration options. Only
the V1 configuration is used. All available fields are shown in the example, although the
access log configuration is omitted for simplicity. The access log configuration uses the
:repo:`deprecated V1 access log configuration<source/common/json/config_schemas.cc>`.
.. attention::
In the deprecated V1 configuration, source and destination CIDR ranges are specified as a
list of strings with each string in CIDR notation. Source and destination ports are
specified as single strings containing a comma-separated list of ports and/or port ranges.
.envoy.config.filter.network.tcp_proxy.v2.TcpProxy.DeprecatedV1 deprecated_v1 = 6 [deprecated = true];@Deprecated TcpProxy.DeprecatedV1 getDeprecatedV1()
TCP Proxy filter configuration using deprecated V1 format. This is required for complex
routing until filter chain matching in the listener is implemented.
Example:
.. code-block:: yaml
- name: "envoy.tcp_proxy"
config:
deprecated_v1: true
value:
stat_prefix: "prefix"
access_log:
- ...
route_config:
routes:
- cluster: "cluster"
destination_ip_list:
- "10.1.0.0/8"
destination_ports: "8080"
source_ip_list:
- "10.1.0.0/16"
- "2001:db8::/32"
source_ports: "8000,9000-9999"
.. attention::
Using the deprecated V1 configuration excludes the use of any V2 configuration options. Only
the V1 configuration is used. All available fields are shown in the example, although the
access log configuration is omitted for simplicity. The access log configuration uses the
:repo:`deprecated V1 access log configuration<source/common/json/config_schemas.cc>`.
.. attention::
In the deprecated V1 configuration, source and destination CIDR ranges are specified as a
list of strings with each string in CIDR notation. Source and destination ports are
specified as single strings containing a comma-separated list of ports and/or port ranges.
.envoy.config.filter.network.tcp_proxy.v2.TcpProxy.DeprecatedV1 deprecated_v1 = 6 [deprecated = true];@Deprecated TcpProxy.DeprecatedV1OrBuilder getDeprecatedV1OrBuilder()
TCP Proxy filter configuration using deprecated V1 format. This is required for complex
routing until filter chain matching in the listener is implemented.
Example:
.. code-block:: yaml
- name: "envoy.tcp_proxy"
config:
deprecated_v1: true
value:
stat_prefix: "prefix"
access_log:
- ...
route_config:
routes:
- cluster: "cluster"
destination_ip_list:
- "10.1.0.0/8"
destination_ports: "8080"
source_ip_list:
- "10.1.0.0/16"
- "2001:db8::/32"
source_ports: "8000,9000-9999"
.. attention::
Using the deprecated V1 configuration excludes the use of any V2 configuration options. Only
the V1 configuration is used. All available fields are shown in the example, although the
access log configuration is omitted for simplicity. The access log configuration uses the
:repo:`deprecated V1 access log configuration<source/common/json/config_schemas.cc>`.
.. attention::
In the deprecated V1 configuration, source and destination CIDR ranges are specified as a
list of strings with each string in CIDR notation. Source and destination ports are
specified as single strings containing a comma-separated list of ports and/or port ranges.
.envoy.config.filter.network.tcp_proxy.v2.TcpProxy.DeprecatedV1 deprecated_v1 = 6 [deprecated = true];boolean hasMaxConnectAttempts()
The maximum number of unsuccessful connection attempts that will be made before giving up. If the parameter is not specified, 1 connection attempt will be made.
.google.protobuf.UInt32Value max_connect_attempts = 7 [(.validate.rules) = { ... }com.google.protobuf.UInt32Value getMaxConnectAttempts()
The maximum number of unsuccessful connection attempts that will be made before giving up. If the parameter is not specified, 1 connection attempt will be made.
.google.protobuf.UInt32Value max_connect_attempts = 7 [(.validate.rules) = { ... }com.google.protobuf.UInt32ValueOrBuilder getMaxConnectAttemptsOrBuilder()
The maximum number of unsuccessful connection attempts that will be made before giving up. If the parameter is not specified, 1 connection attempt will be made.
.google.protobuf.UInt32Value max_connect_attempts = 7 [(.validate.rules) = { ... }TcpProxy.ClusterSpecifierCase getClusterSpecifierCase()
Copyright © 2018–2019 The Envoy Project. All rights reserved.