public static final class TcpProxy.DeprecatedV1.TCPRoute extends com.google.protobuf.GeneratedMessageV3 implements 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. [#next-free-field: 6]Protobuf type
envoy.config.filter.network.tcp_proxy.v2.TcpProxy.DeprecatedV1.TCPRoute| Modifier and Type | Class and Description |
|---|---|
static class |
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, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| 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 TcpProxy.DeprecatedV1.TCPRoute |
getDefaultInstance() |
TcpProxy.DeprecatedV1.TCPRoute |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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<CidrRange> |
getDestinationIpListList()
An optional list of IP address subnets in the form
“ip_address/xx”.
|
CidrRangeOrBuilder |
getDestinationIpListOrBuilder(int index)
An optional list of IP address subnets in the form
“ip_address/xx”.
|
List<? extends 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<TcpProxy.DeprecatedV1.TCPRoute> |
getParserForType() |
int |
getSerializedSize() |
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<CidrRange> |
getSourceIpListList()
An optional list of IP address subnets in the form
“ip_address/xx”.
|
CidrRangeOrBuilder |
getSourceIpListOrBuilder(int index)
An optional list of IP address subnets in the form
“ip_address/xx”.
|
List<? extends 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 TcpProxy.DeprecatedV1.TCPRoute.Builder |
newBuilder() |
static TcpProxy.DeprecatedV1.TCPRoute.Builder |
newBuilder(TcpProxy.DeprecatedV1.TCPRoute prototype) |
TcpProxy.DeprecatedV1.TCPRoute.Builder |
newBuilderForType() |
protected TcpProxy.DeprecatedV1.TCPRoute.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static TcpProxy.DeprecatedV1.TCPRoute |
parseDelimitedFrom(InputStream input) |
static TcpProxy.DeprecatedV1.TCPRoute |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TcpProxy.DeprecatedV1.TCPRoute |
parseFrom(byte[] data) |
static TcpProxy.DeprecatedV1.TCPRoute |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TcpProxy.DeprecatedV1.TCPRoute |
parseFrom(ByteBuffer data) |
static TcpProxy.DeprecatedV1.TCPRoute |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TcpProxy.DeprecatedV1.TCPRoute |
parseFrom(com.google.protobuf.ByteString data) |
static TcpProxy.DeprecatedV1.TCPRoute |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TcpProxy.DeprecatedV1.TCPRoute |
parseFrom(com.google.protobuf.CodedInputStream input) |
static TcpProxy.DeprecatedV1.TCPRoute |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TcpProxy.DeprecatedV1.TCPRoute |
parseFrom(InputStream input) |
static TcpProxy.DeprecatedV1.TCPRoute |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<TcpProxy.DeprecatedV1.TCPRoute> |
parser() |
TcpProxy.DeprecatedV1.TCPRoute.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, 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
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public 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 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 TcpProxy.DeprecatedV1.TCPRouteOrBuilderpublic List<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 TcpProxy.DeprecatedV1.TCPRouteOrBuilderpublic List<? extends 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 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 TcpProxy.DeprecatedV1.TCPRouteOrBuilderpublic 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 TcpProxy.DeprecatedV1.TCPRouteOrBuilderpublic 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 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 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 TcpProxy.DeprecatedV1.TCPRouteOrBuilderpublic List<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 TcpProxy.DeprecatedV1.TCPRouteOrBuilderpublic List<? extends 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 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 TcpProxy.DeprecatedV1.TCPRouteOrBuilderpublic 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 TcpProxy.DeprecatedV1.TCPRouteOrBuilderpublic 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 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 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 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 TcpProxy.DeprecatedV1.TCPRoute parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TcpProxy.DeprecatedV1.TCPRoute parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TcpProxy.DeprecatedV1.TCPRoute parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TcpProxy.DeprecatedV1.TCPRoute parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TcpProxy.DeprecatedV1.TCPRoute parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TcpProxy.DeprecatedV1.TCPRoute parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TcpProxy.DeprecatedV1.TCPRoute parseFrom(InputStream input) throws IOException
IOExceptionpublic static TcpProxy.DeprecatedV1.TCPRoute parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TcpProxy.DeprecatedV1.TCPRoute parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static TcpProxy.DeprecatedV1.TCPRoute parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TcpProxy.DeprecatedV1.TCPRoute parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static TcpProxy.DeprecatedV1.TCPRoute parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic TcpProxy.DeprecatedV1.TCPRoute.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static TcpProxy.DeprecatedV1.TCPRoute.Builder newBuilder()
public static TcpProxy.DeprecatedV1.TCPRoute.Builder newBuilder(TcpProxy.DeprecatedV1.TCPRoute prototype)
public TcpProxy.DeprecatedV1.TCPRoute.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected TcpProxy.DeprecatedV1.TCPRoute.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static TcpProxy.DeprecatedV1.TCPRoute getDefaultInstance()
public static com.google.protobuf.Parser<TcpProxy.DeprecatedV1.TCPRoute> parser()
public com.google.protobuf.Parser<TcpProxy.DeprecatedV1.TCPRoute> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public TcpProxy.DeprecatedV1.TCPRoute getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018–2021 The Envoy Project. All rights reserved.