Class TcpProxy.DeprecatedV1.TCPRoute
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.envoyproxy.envoy.config.filter.network.tcp_proxy.v2.TcpProxy.DeprecatedV1.TCPRoute
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,TcpProxy.DeprecatedV1.TCPRouteOrBuilder,Serializable
- Enclosing class:
- TcpProxy.DeprecatedV1
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- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA TCP proxy route consists of a set of optional L4 criteria and the name of a cluster.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe cluster to connect to when a the downstream network connection matches the specified criteria.com.google.protobuf.ByteStringThe cluster to connect to when a the downstream network connection matches the specified criteria.static final com.google.protobuf.Descriptors.DescriptorgetDestinationIpList(int index) An optional list of IP address subnets in the form “ip_address/xx”.intAn optional list of IP address subnets in the form “ip_address/xx”.An optional list of IP address subnets in the form “ip_address/xx”.getDestinationIpListOrBuilder(int index) An optional list of IP address subnets in the form “ip_address/xx”.List<? extends CidrRangeOrBuilder>An optional list of IP address subnets in the form “ip_address/xx”.An optional string containing a comma-separated list of port numbers or ranges.com.google.protobuf.ByteStringAn optional string containing a comma-separated list of port numbers or ranges.com.google.protobuf.Parser<TcpProxy.DeprecatedV1.TCPRoute>intgetSourceIpList(int index) An optional list of IP address subnets in the form “ip_address/xx”.intAn optional list of IP address subnets in the form “ip_address/xx”.An optional list of IP address subnets in the form “ip_address/xx”.getSourceIpListOrBuilder(int index) An optional list of IP address subnets in the form “ip_address/xx”.List<? extends CidrRangeOrBuilder>An optional list of IP address subnets in the form “ip_address/xx”.An optional string containing a comma-separated list of port numbers or ranges.com.google.protobuf.ByteStringAn optional string containing a comma-separated list of port numbers or ranges.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(TcpProxy.DeprecatedV1.TCPRoute prototype) protected TcpProxy.DeprecatedV1.TCPRoute.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<TcpProxy.DeprecatedV1.TCPRoute>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, 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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
CLUSTER_FIELD_NUMBER
public static final int CLUSTER_FIELD_NUMBER- See Also:
-
DESTINATION_IP_LIST_FIELD_NUMBER
public static final int DESTINATION_IP_LIST_FIELD_NUMBER- See Also:
-
DESTINATION_PORTS_FIELD_NUMBER
public static final int DESTINATION_PORTS_FIELD_NUMBER- See Also:
-
SOURCE_IP_LIST_FIELD_NUMBER
public static final int SOURCE_IP_LIST_FIELD_NUMBER- See Also:
-
SOURCE_PORTS_FIELD_NUMBER
public static final int SOURCE_PORTS_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getCluster
The cluster to connect to when a the downstream network connection matches the specified criteria.
string cluster = 1 [(.validate.rules) = { ... }- Specified by:
getClusterin interfaceTcpProxy.DeprecatedV1.TCPRouteOrBuilder- Returns:
- The cluster.
-
getClusterBytes
public 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) = { ... }- Specified by:
getClusterBytesin interfaceTcpProxy.DeprecatedV1.TCPRouteOrBuilder- Returns:
- The bytes for cluster.
-
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;- Specified by:
getDestinationIpListListin interfaceTcpProxy.DeprecatedV1.TCPRouteOrBuilder
-
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;- Specified by:
getDestinationIpListOrBuilderListin interfaceTcpProxy.DeprecatedV1.TCPRouteOrBuilder
-
getDestinationIpListCount
public 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;- Specified by:
getDestinationIpListCountin interfaceTcpProxy.DeprecatedV1.TCPRouteOrBuilder
-
getDestinationIpList
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;- Specified by:
getDestinationIpListin interfaceTcpProxy.DeprecatedV1.TCPRouteOrBuilder
-
getDestinationIpListOrBuilder
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;- Specified by:
getDestinationIpListOrBuilderin interfaceTcpProxy.DeprecatedV1.TCPRouteOrBuilder
-
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;- Specified by:
getDestinationPortsin interfaceTcpProxy.DeprecatedV1.TCPRouteOrBuilder- Returns:
- The destinationPorts.
-
getDestinationPortsBytes
public 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;- Specified by:
getDestinationPortsBytesin interfaceTcpProxy.DeprecatedV1.TCPRouteOrBuilder- Returns:
- The bytes for destinationPorts.
-
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;- Specified by:
getSourceIpListListin interfaceTcpProxy.DeprecatedV1.TCPRouteOrBuilder
-
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;- Specified by:
getSourceIpListOrBuilderListin interfaceTcpProxy.DeprecatedV1.TCPRouteOrBuilder
-
getSourceIpListCount
public 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;- Specified by:
getSourceIpListCountin interfaceTcpProxy.DeprecatedV1.TCPRouteOrBuilder
-
getSourceIpList
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;- Specified by:
getSourceIpListin interfaceTcpProxy.DeprecatedV1.TCPRouteOrBuilder
-
getSourceIpListOrBuilder
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;- Specified by:
getSourceIpListOrBuilderin interfaceTcpProxy.DeprecatedV1.TCPRouteOrBuilder
-
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;- Specified by:
getSourcePortsin interfaceTcpProxy.DeprecatedV1.TCPRouteOrBuilder- Returns:
- The sourcePorts.
-
getSourcePortsBytes
public 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;- Specified by:
getSourcePortsBytesin interfaceTcpProxy.DeprecatedV1.TCPRouteOrBuilder- Returns:
- The bytes for sourcePorts.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static TcpProxy.DeprecatedV1.TCPRoute parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TcpProxy.DeprecatedV1.TCPRoute parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TcpProxy.DeprecatedV1.TCPRoute parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TcpProxy.DeprecatedV1.TCPRoute parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TcpProxy.DeprecatedV1.TCPRoute parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TcpProxy.DeprecatedV1.TCPRoute parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static TcpProxy.DeprecatedV1.TCPRoute parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static TcpProxy.DeprecatedV1.TCPRoute parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static TcpProxy.DeprecatedV1.TCPRoute parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static TcpProxy.DeprecatedV1.TCPRoute parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static TcpProxy.DeprecatedV1.TCPRoute parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static TcpProxy.DeprecatedV1.TCPRoute.Builder newBuilder(TcpProxy.DeprecatedV1.TCPRoute prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected TcpProxy.DeprecatedV1.TCPRoute.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-