Class TcpProxy.DeprecatedV1.TCPRoute.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<TcpProxy.DeprecatedV1.TCPRoute.Builder>
io.envoyproxy.envoy.config.filter.network.tcp_proxy.v2.TcpProxy.DeprecatedV1.TCPRoute.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,TcpProxy.DeprecatedV1.TCPRouteOrBuilder,Cloneable
- Enclosing class:
- TcpProxy.DeprecatedV1.TCPRoute
public static final class TcpProxy.DeprecatedV1.TCPRoute.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<TcpProxy.DeprecatedV1.TCPRoute.Builder>
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-
Method Summary
Modifier and TypeMethodDescriptionaddAllDestinationIpList(Iterable<? extends CidrRange> values) An optional list of IP address subnets in the form “ip_address/xx”.addAllSourceIpList(Iterable<? extends CidrRange> values) An optional list of IP address subnets in the form “ip_address/xx”.addDestinationIpList(int index, CidrRange value) An optional list of IP address subnets in the form “ip_address/xx”.addDestinationIpList(int index, CidrRange.Builder builderForValue) An optional list of IP address subnets in the form “ip_address/xx”.addDestinationIpList(CidrRange value) An optional list of IP address subnets in the form “ip_address/xx”.addDestinationIpList(CidrRange.Builder builderForValue) An 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”.addDestinationIpListBuilder(int index) An optional list of IP address subnets in the form “ip_address/xx”.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addSourceIpList(int index, CidrRange value) An optional list of IP address subnets in the form “ip_address/xx”.addSourceIpList(int index, CidrRange.Builder builderForValue) An optional list of IP address subnets in the form “ip_address/xx”.addSourceIpList(CidrRange value) An optional list of IP address subnets in the form “ip_address/xx”.addSourceIpList(CidrRange.Builder builderForValue) An 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”.addSourceIpListBuilder(int index) An optional list of IP address subnets in the form “ip_address/xx”.build()clear()The cluster to connect to when a the downstream network connection matches the specified criteria.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.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) 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.clone()The 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.Descriptorcom.google.protobuf.Descriptors.DescriptorgetDestinationIpList(int index) An optional list of IP address subnets in the form “ip_address/xx”.getDestinationIpListBuilder(int index) An 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”.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.getSourceIpList(int index) An optional list of IP address subnets in the form “ip_address/xx”.getSourceIpListBuilder(int index) An 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”.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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeDestinationIpList(int index) An optional list of IP address subnets in the form “ip_address/xx”.removeSourceIpList(int index) An optional list of IP address subnets in the form “ip_address/xx”.setCluster(String value) The cluster to connect to when a the downstream network connection matches the specified criteria.setClusterBytes(com.google.protobuf.ByteString value) The cluster to connect to when a the downstream network connection matches the specified criteria.setDestinationIpList(int index, CidrRange value) An optional list of IP address subnets in the form “ip_address/xx”.setDestinationIpList(int index, CidrRange.Builder builderForValue) An optional list of IP address subnets in the form “ip_address/xx”.setDestinationPorts(String value) An optional string containing a comma-separated list of port numbers or ranges.setDestinationPortsBytes(com.google.protobuf.ByteString value) An optional string containing a comma-separated list of port numbers or ranges.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setSourceIpList(int index, CidrRange value) An optional list of IP address subnets in the form “ip_address/xx”.setSourceIpList(int index, CidrRange.Builder builderForValue) An optional list of IP address subnets in the form “ip_address/xx”.setSourcePorts(String value) An optional string containing a comma-separated list of port numbers or ranges.setSourcePortsBytes(com.google.protobuf.ByteString value) An optional string containing a comma-separated list of port numbers or ranges.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.Builder<TcpProxy.DeprecatedV1.TCPRoute.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<TcpProxy.DeprecatedV1.TCPRoute.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<TcpProxy.DeprecatedV1.TCPRoute.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<TcpProxy.DeprecatedV1.TCPRoute.Builder>
-
setField
public TcpProxy.DeprecatedV1.TCPRoute.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TcpProxy.DeprecatedV1.TCPRoute.Builder>
-
clearField
public TcpProxy.DeprecatedV1.TCPRoute.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TcpProxy.DeprecatedV1.TCPRoute.Builder>
-
clearOneof
public TcpProxy.DeprecatedV1.TCPRoute.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<TcpProxy.DeprecatedV1.TCPRoute.Builder>
-
setRepeatedField
public TcpProxy.DeprecatedV1.TCPRoute.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TcpProxy.DeprecatedV1.TCPRoute.Builder>
-
addRepeatedField
public TcpProxy.DeprecatedV1.TCPRoute.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TcpProxy.DeprecatedV1.TCPRoute.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TcpProxy.DeprecatedV1.TCPRoute.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<TcpProxy.DeprecatedV1.TCPRoute.Builder>
-
mergeFrom
public TcpProxy.DeprecatedV1.TCPRoute.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TcpProxy.DeprecatedV1.TCPRoute.Builder>- Throws:
IOException
-
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.
-
setCluster
The cluster to connect to when a the downstream network connection matches the specified criteria.
string cluster = 1 [(.validate.rules) = { ... }- Parameters:
value- The cluster to set.- Returns:
- This builder for chaining.
-
clearCluster
The cluster to connect to when a the downstream network connection matches the specified criteria.
string cluster = 1 [(.validate.rules) = { ... }- Returns:
- This builder for chaining.
-
setClusterBytes
The cluster to connect to when a the downstream network connection matches the specified criteria.
string cluster = 1 [(.validate.rules) = { ... }- Parameters:
value- The bytes for cluster to set.- Returns:
- This builder for chaining.
-
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
-
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
-
setDestinationIpList
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; -
setDestinationIpList
public TcpProxy.DeprecatedV1.TCPRoute.Builder setDestinationIpList(int index, CidrRange.Builder builderForValue) 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; -
addDestinationIpList
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; -
addDestinationIpList
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; -
addDestinationIpList
public TcpProxy.DeprecatedV1.TCPRoute.Builder addDestinationIpList(CidrRange.Builder builderForValue) 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; -
addDestinationIpList
public TcpProxy.DeprecatedV1.TCPRoute.Builder addDestinationIpList(int index, CidrRange.Builder builderForValue) 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; -
addAllDestinationIpList
public TcpProxy.DeprecatedV1.TCPRoute.Builder addAllDestinationIpList(Iterable<? extends CidrRange> values) 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; -
clearDestinationIpList
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; -
removeDestinationIpList
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; -
getDestinationIpListBuilder
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
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
-
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
-
addDestinationIpListBuilder
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; -
addDestinationIpListBuilder
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; -
getDestinationIpListBuilderList
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; -
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.
-
setDestinationPorts
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;- Parameters:
value- The destinationPorts to set.- Returns:
- This builder for chaining.
-
clearDestinationPorts
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;- Returns:
- This builder for chaining.
-
setDestinationPortsBytes
public TcpProxy.DeprecatedV1.TCPRoute.Builder setDestinationPortsBytes(com.google.protobuf.ByteString value) 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;- Parameters:
value- The bytes for destinationPorts to set.- Returns:
- This builder for chaining.
-
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
-
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
-
setSourceIpList
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; -
setSourceIpList
public TcpProxy.DeprecatedV1.TCPRoute.Builder setSourceIpList(int index, CidrRange.Builder builderForValue) 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; -
addSourceIpList
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; -
addSourceIpList
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; -
addSourceIpList
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; -
addSourceIpList
public TcpProxy.DeprecatedV1.TCPRoute.Builder addSourceIpList(int index, CidrRange.Builder builderForValue) 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; -
addAllSourceIpList
public TcpProxy.DeprecatedV1.TCPRoute.Builder addAllSourceIpList(Iterable<? extends CidrRange> values) 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; -
clearSourceIpList
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; -
removeSourceIpList
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; -
getSourceIpListBuilder
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
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
-
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
-
addSourceIpListBuilder
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; -
addSourceIpListBuilder
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; -
getSourceIpListBuilderList
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; -
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.
-
setSourcePorts
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;- Parameters:
value- The sourcePorts to set.- Returns:
- This builder for chaining.
-
clearSourcePorts
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;- Returns:
- This builder for chaining.
-
setSourcePortsBytes
public TcpProxy.DeprecatedV1.TCPRoute.Builder setSourcePortsBytes(com.google.protobuf.ByteString value) 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;- Parameters:
value- The bytes for sourcePorts to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final TcpProxy.DeprecatedV1.TCPRoute.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TcpProxy.DeprecatedV1.TCPRoute.Builder>
-
mergeUnknownFields
public final TcpProxy.DeprecatedV1.TCPRoute.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TcpProxy.DeprecatedV1.TCPRoute.Builder>
-