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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<TcpProxy.DeprecatedV1.TCPRoute.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<TcpProxy.DeprecatedV1.TCPRoute.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<TcpProxy.DeprecatedV1.TCPRoute.Builder>
    • getDefaultInstanceForType

      public TcpProxy.DeprecatedV1.TCPRoute getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public TcpProxy.DeprecatedV1.TCPRoute buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.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:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<TcpProxy.DeprecatedV1.TCPRoute.Builder>
    • clearField

      public TcpProxy.DeprecatedV1.TCPRoute.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<TcpProxy.DeprecatedV1.TCPRoute.Builder>
    • clearOneof

      public TcpProxy.DeprecatedV1.TCPRoute.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.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:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.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:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TcpProxy.DeprecatedV1.TCPRoute.Builder>
    • mergeFrom

      public TcpProxy.DeprecatedV1.TCPRoute.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<TcpProxy.DeprecatedV1.TCPRoute.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<TcpProxy.DeprecatedV1.TCPRoute.Builder>
      Throws:
      IOException
    • getCluster

      public String getCluster()
       The cluster to connect to when a the downstream network connection
       matches the specified criteria.
       
      string cluster = 1 [(.validate.rules) = { ... }
      Specified by:
      getCluster in interface TcpProxy.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:
      getClusterBytes in interface TcpProxy.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

      public TcpProxy.DeprecatedV1.TCPRoute.Builder setClusterBytes(com.google.protobuf.ByteString value)
       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

      public 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;
      Specified by:
      getDestinationIpListList in interface TcpProxy.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:
      getDestinationIpListCount in interface TcpProxy.DeprecatedV1.TCPRouteOrBuilder
    • getDestinationIpList

      public 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;
      Specified by:
      getDestinationIpList in interface TcpProxy.DeprecatedV1.TCPRouteOrBuilder
    • setDestinationIpList

      public TcpProxy.DeprecatedV1.TCPRoute.Builder setDestinationIpList(int index, CidrRange value)
       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

      public TcpProxy.DeprecatedV1.TCPRoute.Builder addDestinationIpList(CidrRange value)
       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 value)
       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

      public TcpProxy.DeprecatedV1.TCPRoute.Builder 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

      public TcpProxy.DeprecatedV1.TCPRoute.Builder removeDestinationIpList(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;
    • getDestinationIpListBuilder

      public CidrRange.Builder getDestinationIpListBuilder(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

      public 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;
      Specified by:
      getDestinationIpListOrBuilder in interface TcpProxy.DeprecatedV1.TCPRouteOrBuilder
    • getDestinationIpListOrBuilderList

      public 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;
      Specified by:
      getDestinationIpListOrBuilderList in interface TcpProxy.DeprecatedV1.TCPRouteOrBuilder
    • addDestinationIpListBuilder

      public CidrRange.Builder 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

      public CidrRange.Builder addDestinationIpListBuilder(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;
    • getDestinationIpListBuilderList

      public List<CidrRange.Builder> 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

      public 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;
      Specified by:
      getDestinationPorts in interface TcpProxy.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:
      getDestinationPortsBytes in interface TcpProxy.DeprecatedV1.TCPRouteOrBuilder
      Returns:
      The bytes for destinationPorts.
    • setDestinationPorts

      public TcpProxy.DeprecatedV1.TCPRoute.Builder setDestinationPorts(String 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 destinationPorts to set.
      Returns:
      This builder for chaining.
    • clearDestinationPorts

      public TcpProxy.DeprecatedV1.TCPRoute.Builder 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

      public 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;
      Specified by:
      getSourceIpListList in interface TcpProxy.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:
      getSourceIpListCount in interface TcpProxy.DeprecatedV1.TCPRouteOrBuilder
    • getSourceIpList

      public 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;
      Specified by:
      getSourceIpList in interface TcpProxy.DeprecatedV1.TCPRouteOrBuilder
    • setSourceIpList

      public TcpProxy.DeprecatedV1.TCPRoute.Builder setSourceIpList(int index, CidrRange value)
       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

      public TcpProxy.DeprecatedV1.TCPRoute.Builder addSourceIpList(CidrRange value)
       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 value)
       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(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

      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

      public TcpProxy.DeprecatedV1.TCPRoute.Builder 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

      public TcpProxy.DeprecatedV1.TCPRoute.Builder removeSourceIpList(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;
    • getSourceIpListBuilder

      public CidrRange.Builder getSourceIpListBuilder(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

      public 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;
      Specified by:
      getSourceIpListOrBuilder in interface TcpProxy.DeprecatedV1.TCPRouteOrBuilder
    • getSourceIpListOrBuilderList

      public 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;
      Specified by:
      getSourceIpListOrBuilderList in interface TcpProxy.DeprecatedV1.TCPRouteOrBuilder
    • addSourceIpListBuilder

      public CidrRange.Builder 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

      public CidrRange.Builder addSourceIpListBuilder(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;
    • getSourceIpListBuilderList

      public List<CidrRange.Builder> 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

      public 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;
      Specified by:
      getSourcePorts in interface TcpProxy.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:
      getSourcePortsBytes in interface TcpProxy.DeprecatedV1.TCPRouteOrBuilder
      Returns:
      The bytes for sourcePorts.
    • setSourcePorts

      public TcpProxy.DeprecatedV1.TCPRoute.Builder setSourcePorts(String 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 sourcePorts to set.
      Returns:
      This builder for chaining.
    • clearSourcePorts

      public TcpProxy.DeprecatedV1.TCPRoute.Builder 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:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TcpProxy.DeprecatedV1.TCPRoute.Builder>
    • mergeUnknownFields

      public final TcpProxy.DeprecatedV1.TCPRoute.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TcpProxy.DeprecatedV1.TCPRoute.Builder>