public static final class TcpProxyOuterClass.TcpProxy.DeprecatedV1.TCPRoute extends com.google.protobuf.GeneratedMessageV3 implements TcpProxyOuterClass.TcpProxy.DeprecatedV1.TCPRouteOrBuilder
A TCP proxy route consists of a set of optional L4 criteria and the name of a cluster. If a downstream connection matches all the specified criteria, the cluster in the route is used for the corresponding upstream connection. Routes are tried in the order specified until a match is found. If no match is found, the connection is closed. A route with no criteria is valid and always produces a match.Protobuf type
envoy.config.filter.network.tcp_proxy.v2.TcpProxy.DeprecatedV1.TCPRoute| Modifier and Type | Class and Description |
|---|---|
static class |
TcpProxyOuterClass.TcpProxy.DeprecatedV1.TCPRoute.Builder
A TCP proxy route consists of a set of optional L4 criteria and the
name of a cluster.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
CLUSTER_FIELD_NUMBER |
static int |
DESTINATION_IP_LIST_FIELD_NUMBER |
static int |
DESTINATION_PORTS_FIELD_NUMBER |
static int |
SOURCE_IP_LIST_FIELD_NUMBER |
static int |
SOURCE_PORTS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getCluster()
The cluster to connect to when a the downstream network connection
matches the specified criteria.
|
com.google.protobuf.ByteString |
getClusterBytes()
The cluster to connect to when a the downstream network connection
matches the specified criteria.
|
static TcpProxyOuterClass.TcpProxy.DeprecatedV1.TCPRoute |
getDefaultInstance() |
TcpProxyOuterClass.TcpProxy.DeprecatedV1.TCPRoute |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
AddressOuterClass.CidrRange |
getDestinationIpList(int index)
An optional list of IP address subnets in the form
“ip_address/xx”.
|
int |
getDestinationIpListCount()
An optional list of IP address subnets in the form
“ip_address/xx”.
|
List<AddressOuterClass.CidrRange> |
getDestinationIpListList()
An optional list of IP address subnets in the form
“ip_address/xx”.
|
AddressOuterClass.CidrRangeOrBuilder |
getDestinationIpListOrBuilder(int index)
An optional list of IP address subnets in the form
“ip_address/xx”.
|
List<? extends AddressOuterClass.CidrRangeOrBuilder> |
getDestinationIpListOrBuilderList()
An optional list of IP address subnets in the form
“ip_address/xx”.
|
String |
getDestinationPorts()
An optional string containing a comma-separated list of port numbers
or ranges.
|
com.google.protobuf.ByteString |
getDestinationPortsBytes()
An optional string containing a comma-separated list of port numbers
or ranges.
|
com.google.protobuf.Parser<TcpProxyOuterClass.TcpProxy.DeprecatedV1.TCPRoute> |
getParserForType() |
int |
getSerializedSize() |
AddressOuterClass.CidrRange |
getSourceIpList(int index)
An optional list of IP address subnets in the form
“ip_address/xx”.
|
int |
getSourceIpListCount()
An optional list of IP address subnets in the form
“ip_address/xx”.
|
List<AddressOuterClass.CidrRange> |
getSourceIpListList()
An optional list of IP address subnets in the form
“ip_address/xx”.
|
AddressOuterClass.CidrRangeOrBuilder |
getSourceIpListOrBuilder(int index)
An optional list of IP address subnets in the form
“ip_address/xx”.
|
List<? extends AddressOuterClass.CidrRangeOrBuilder> |
getSourceIpListOrBuilderList()
An optional list of IP address subnets in the form
“ip_address/xx”.
|
String |
getSourcePorts()
An optional string containing a comma-separated list of port numbers
or ranges.
|
com.google.protobuf.ByteString |
getSourcePortsBytes()
An optional string containing a comma-separated list of port numbers
or ranges.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static TcpProxyOuterClass.TcpProxy.DeprecatedV1.TCPRoute.Builder |
newBuilder() |
static TcpProxyOuterClass.TcpProxy.DeprecatedV1.TCPRoute.Builder |
newBuilder(TcpProxyOuterClass.TcpProxy.DeprecatedV1.TCPRoute prototype) |
TcpProxyOuterClass.TcpProxy.DeprecatedV1.TCPRoute.Builder |
newBuilderForType() |
protected TcpProxyOuterClass.TcpProxy.DeprecatedV1.TCPRoute.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static TcpProxyOuterClass.TcpProxy.DeprecatedV1.TCPRoute |
parseDelimitedFrom(InputStream input) |
static TcpProxyOuterClass.TcpProxy.DeprecatedV1.TCPRoute |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TcpProxyOuterClass.TcpProxy.DeprecatedV1.TCPRoute |
parseFrom(byte[] data) |
static TcpProxyOuterClass.TcpProxy.DeprecatedV1.TCPRoute |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TcpProxyOuterClass.TcpProxy.DeprecatedV1.TCPRoute |
parseFrom(ByteBuffer data) |
static TcpProxyOuterClass.TcpProxy.DeprecatedV1.TCPRoute |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TcpProxyOuterClass.TcpProxy.DeprecatedV1.TCPRoute |
parseFrom(com.google.protobuf.ByteString data) |
static TcpProxyOuterClass.TcpProxy.DeprecatedV1.TCPRoute |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TcpProxyOuterClass.TcpProxy.DeprecatedV1.TCPRoute |
parseFrom(com.google.protobuf.CodedInputStream input) |
static TcpProxyOuterClass.TcpProxy.DeprecatedV1.TCPRoute |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TcpProxyOuterClass.TcpProxy.DeprecatedV1.TCPRoute |
parseFrom(InputStream input) |
static TcpProxyOuterClass.TcpProxy.DeprecatedV1.TCPRoute |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<TcpProxyOuterClass.TcpProxy.DeprecatedV1.TCPRoute> |
parser() |
TcpProxyOuterClass.TcpProxy.DeprecatedV1.TCPRoute.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int CLUSTER_FIELD_NUMBER
public static final int DESTINATION_IP_LIST_FIELD_NUMBER
public static final int DESTINATION_PORTS_FIELD_NUMBER
public static final int SOURCE_IP_LIST_FIELD_NUMBER
public static final int SOURCE_PORTS_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getCluster()
The cluster to connect to when a the downstream network connection matches the specified criteria.
string cluster = 1 [(.validate.rules) = { ... }getCluster in interface TcpProxyOuterClass.TcpProxy.DeprecatedV1.TCPRouteOrBuilderpublic com.google.protobuf.ByteString getClusterBytes()
The cluster to connect to when a the downstream network connection matches the specified criteria.
string cluster = 1 [(.validate.rules) = { ... }getClusterBytes in interface TcpProxyOuterClass.TcpProxy.DeprecatedV1.TCPRouteOrBuilderpublic List<AddressOuterClass.CidrRange> getDestinationIpListList()
An optional list of IP address subnets in the form “ip_address/xx”. The criteria is satisfied if the destination IP address of the downstream connection is contained in at least one of the specified subnets. If the parameter is not specified or the list is empty, the destination IP address is ignored. The destination IP address of the downstream connection might be different from the addresses on which the proxy is listening if the connection has been redirected.
repeated .envoy.api.v2.core.CidrRange destination_ip_list = 2;getDestinationIpListList in interface TcpProxyOuterClass.TcpProxy.DeprecatedV1.TCPRouteOrBuilderpublic List<? extends AddressOuterClass.CidrRangeOrBuilder> getDestinationIpListOrBuilderList()
An optional list of IP address subnets in the form “ip_address/xx”. The criteria is satisfied if the destination IP address of the downstream connection is contained in at least one of the specified subnets. If the parameter is not specified or the list is empty, the destination IP address is ignored. The destination IP address of the downstream connection might be different from the addresses on which the proxy is listening if the connection has been redirected.
repeated .envoy.api.v2.core.CidrRange destination_ip_list = 2;getDestinationIpListOrBuilderList in interface TcpProxyOuterClass.TcpProxy.DeprecatedV1.TCPRouteOrBuilderpublic int getDestinationIpListCount()
An optional list of IP address subnets in the form “ip_address/xx”. The criteria is satisfied if the destination IP address of the downstream connection is contained in at least one of the specified subnets. If the parameter is not specified or the list is empty, the destination IP address is ignored. The destination IP address of the downstream connection might be different from the addresses on which the proxy is listening if the connection has been redirected.
repeated .envoy.api.v2.core.CidrRange destination_ip_list = 2;getDestinationIpListCount in interface TcpProxyOuterClass.TcpProxy.DeprecatedV1.TCPRouteOrBuilderpublic AddressOuterClass.CidrRange getDestinationIpList(int index)
An optional list of IP address subnets in the form “ip_address/xx”. The criteria is satisfied if the destination IP address of the downstream connection is contained in at least one of the specified subnets. If the parameter is not specified or the list is empty, the destination IP address is ignored. The destination IP address of the downstream connection might be different from the addresses on which the proxy is listening if the connection has been redirected.
repeated .envoy.api.v2.core.CidrRange destination_ip_list = 2;getDestinationIpList in interface TcpProxyOuterClass.TcpProxy.DeprecatedV1.TCPRouteOrBuilderpublic AddressOuterClass.CidrRangeOrBuilder getDestinationIpListOrBuilder(int index)
An optional list of IP address subnets in the form “ip_address/xx”. The criteria is satisfied if the destination IP address of the downstream connection is contained in at least one of the specified subnets. If the parameter is not specified or the list is empty, the destination IP address is ignored. The destination IP address of the downstream connection might be different from the addresses on which the proxy is listening if the connection has been redirected.
repeated .envoy.api.v2.core.CidrRange destination_ip_list = 2;getDestinationIpListOrBuilder in interface TcpProxyOuterClass.TcpProxy.DeprecatedV1.TCPRouteOrBuilderpublic String getDestinationPorts()
An optional string containing a comma-separated list of port numbers or ranges. The criteria is satisfied if the destination port of the downstream connection is contained in at least one of the specified ranges. If the parameter is not specified, the destination port is ignored. The destination port address of the downstream connection might be different from the port on which the proxy is listening if the connection has been redirected.
string destination_ports = 3;getDestinationPorts in interface TcpProxyOuterClass.TcpProxy.DeprecatedV1.TCPRouteOrBuilderpublic com.google.protobuf.ByteString getDestinationPortsBytes()
An optional string containing a comma-separated list of port numbers or ranges. The criteria is satisfied if the destination port of the downstream connection is contained in at least one of the specified ranges. If the parameter is not specified, the destination port is ignored. The destination port address of the downstream connection might be different from the port on which the proxy is listening if the connection has been redirected.
string destination_ports = 3;getDestinationPortsBytes in interface TcpProxyOuterClass.TcpProxy.DeprecatedV1.TCPRouteOrBuilderpublic List<AddressOuterClass.CidrRange> getSourceIpListList()
An optional list of IP address subnets in the form “ip_address/xx”. The criteria is satisfied if the source IP address of the downstream connection is contained in at least one of the specified subnets. If the parameter is not specified or the list is empty, the source IP address is ignored.
repeated .envoy.api.v2.core.CidrRange source_ip_list = 4;getSourceIpListList in interface TcpProxyOuterClass.TcpProxy.DeprecatedV1.TCPRouteOrBuilderpublic List<? extends AddressOuterClass.CidrRangeOrBuilder> getSourceIpListOrBuilderList()
An optional list of IP address subnets in the form “ip_address/xx”. The criteria is satisfied if the source IP address of the downstream connection is contained in at least one of the specified subnets. If the parameter is not specified or the list is empty, the source IP address is ignored.
repeated .envoy.api.v2.core.CidrRange source_ip_list = 4;getSourceIpListOrBuilderList in interface TcpProxyOuterClass.TcpProxy.DeprecatedV1.TCPRouteOrBuilderpublic int getSourceIpListCount()
An optional list of IP address subnets in the form “ip_address/xx”. The criteria is satisfied if the source IP address of the downstream connection is contained in at least one of the specified subnets. If the parameter is not specified or the list is empty, the source IP address is ignored.
repeated .envoy.api.v2.core.CidrRange source_ip_list = 4;getSourceIpListCount in interface TcpProxyOuterClass.TcpProxy.DeprecatedV1.TCPRouteOrBuilderpublic AddressOuterClass.CidrRange getSourceIpList(int index)
An optional list of IP address subnets in the form “ip_address/xx”. The criteria is satisfied if the source IP address of the downstream connection is contained in at least one of the specified subnets. If the parameter is not specified or the list is empty, the source IP address is ignored.
repeated .envoy.api.v2.core.CidrRange source_ip_list = 4;getSourceIpList in interface TcpProxyOuterClass.TcpProxy.DeprecatedV1.TCPRouteOrBuilderpublic AddressOuterClass.CidrRangeOrBuilder getSourceIpListOrBuilder(int index)
An optional list of IP address subnets in the form “ip_address/xx”. The criteria is satisfied if the source IP address of the downstream connection is contained in at least one of the specified subnets. If the parameter is not specified or the list is empty, the source IP address is ignored.
repeated .envoy.api.v2.core.CidrRange source_ip_list = 4;getSourceIpListOrBuilder in interface TcpProxyOuterClass.TcpProxy.DeprecatedV1.TCPRouteOrBuilderpublic String getSourcePorts()
An optional string containing a comma-separated list of port numbers or ranges. The criteria is satisfied if the source port of the downstream connection is contained in at least one of the specified ranges. If the parameter is not specified, the source port is ignored.
string source_ports = 5;getSourcePorts in interface TcpProxyOuterClass.TcpProxy.DeprecatedV1.TCPRouteOrBuilderpublic com.google.protobuf.ByteString getSourcePortsBytes()
An optional string containing a comma-separated list of port numbers or ranges. The criteria is satisfied if the source port of the downstream connection is contained in at least one of the specified ranges. If the parameter is not specified, the source port is ignored.
string source_ports = 5;getSourcePortsBytes in interface TcpProxyOuterClass.TcpProxy.DeprecatedV1.TCPRouteOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static TcpProxyOuterClass.TcpProxy.DeprecatedV1.TCPRoute parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TcpProxyOuterClass.TcpProxy.DeprecatedV1.TCPRoute parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TcpProxyOuterClass.TcpProxy.DeprecatedV1.TCPRoute parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TcpProxyOuterClass.TcpProxy.DeprecatedV1.TCPRoute parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TcpProxyOuterClass.TcpProxy.DeprecatedV1.TCPRoute parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TcpProxyOuterClass.TcpProxy.DeprecatedV1.TCPRoute parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TcpProxyOuterClass.TcpProxy.DeprecatedV1.TCPRoute parseFrom(InputStream input) throws IOException
IOExceptionpublic static TcpProxyOuterClass.TcpProxy.DeprecatedV1.TCPRoute parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TcpProxyOuterClass.TcpProxy.DeprecatedV1.TCPRoute parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static TcpProxyOuterClass.TcpProxy.DeprecatedV1.TCPRoute parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TcpProxyOuterClass.TcpProxy.DeprecatedV1.TCPRoute parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static TcpProxyOuterClass.TcpProxy.DeprecatedV1.TCPRoute parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic TcpProxyOuterClass.TcpProxy.DeprecatedV1.TCPRoute.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static TcpProxyOuterClass.TcpProxy.DeprecatedV1.TCPRoute.Builder newBuilder()
public static TcpProxyOuterClass.TcpProxy.DeprecatedV1.TCPRoute.Builder newBuilder(TcpProxyOuterClass.TcpProxy.DeprecatedV1.TCPRoute prototype)
public TcpProxyOuterClass.TcpProxy.DeprecatedV1.TCPRoute.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected TcpProxyOuterClass.TcpProxy.DeprecatedV1.TCPRoute.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static TcpProxyOuterClass.TcpProxy.DeprecatedV1.TCPRoute getDefaultInstance()
public static com.google.protobuf.Parser<TcpProxyOuterClass.TcpProxy.DeprecatedV1.TCPRoute> parser()
public com.google.protobuf.Parser<TcpProxyOuterClass.TcpProxy.DeprecatedV1.TCPRoute> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public TcpProxyOuterClass.TcpProxy.DeprecatedV1.TCPRoute getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018 The Envoy Project. All rights reserved.