All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.envoyproxy.envoy.config.route.v3.RouteConfiguration.scala Maven / Gradle / Ivy

There is a newer version: 1.23.0-dev-f04150-1
Show newest version
// Generated by the Scala Plugin for the Protocol Buffer Compiler.
// Do not edit!
//
// Protofile syntax: PROTO3

package io.envoyproxy.envoy.config.route.v3

/** [#next-free-field: 16]
  *
  * @param name
  *   The name of the route configuration. For example, it might match
  *   :ref:`route_config_name
  *   <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.Rds.route_config_name>` in
  *   :ref:`envoy_v3_api_msg_extensions.filters.network.http_connection_manager.v3.Rds`.
  * @param virtualHosts
  *   An array of virtual hosts that make up the route table.
  * @param vhds
  *   An array of virtual hosts will be dynamically loaded via the VHDS API.
  *   Both *virtual_hosts* and *vhds* fields will be used when present. *virtual_hosts* can be used
  *   for a base routing table or for infrequently changing virtual hosts. *vhds* is used for
  *   on-demand discovery of virtual hosts. The contents of these two fields will be merged to
  *   generate a routing table for a given RouteConfiguration, with *vhds* derived configuration
  *   taking precedence.
  * @param internalOnlyHeaders
  *   Optionally specifies a list of HTTP headers that the connection manager
  *   will consider to be internal only. If they are found on external requests they will be cleaned
  *   prior to filter invocation. See :ref:`config_http_conn_man_headers_x-envoy-internal` for more
  *   information.
  * @param responseHeadersToAdd
  *   Specifies a list of HTTP headers that should be added to each response that
  *   the connection manager encodes. Headers specified at this level are applied
  *   after headers from any enclosed :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` or
  *   :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`. For more information, including details on
  *   header value syntax, see the documentation on :ref:`custom request headers
  *   <config_http_conn_man_headers_custom_request_headers>`.
  * @param responseHeadersToRemove
  *   Specifies a list of HTTP headers that should be removed from each response
  *   that the connection manager encodes.
  * @param requestHeadersToAdd
  *   Specifies a list of HTTP headers that should be added to each request
  *   routed by the HTTP connection manager. Headers specified at this level are
  *   applied after headers from any enclosed :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost` or
  *   :ref:`envoy_v3_api_msg_config.route.v3.RouteAction`. For more information, including details on
  *   header value syntax, see the documentation on :ref:`custom request headers
  *   <config_http_conn_man_headers_custom_request_headers>`.
  * @param requestHeadersToRemove
  *   Specifies a list of HTTP headers that should be removed from each request
  *   routed by the HTTP connection manager.
  * @param mostSpecificHeaderMutationsWins
  *   By default, headers that should be added/removed are evaluated from most to least specific:
  *  
  *   * route level
  *   * virtual host level
  *   * connection manager level
  *  
  *   To allow setting overrides at the route or virtual host level, this order can be reversed
  *   by setting this option to true. Defaults to false.
  * @param validateClusters
  *   An optional boolean that specifies whether the clusters that the route
  *   table refers to will be validated by the cluster manager. If set to true
  *   and a route refers to a non-existent cluster, the route table will not
  *   load. If set to false and a route refers to a non-existent cluster, the
  *   route table will load and the router filter will return a 404 if the route
  *   is selected at runtime. This setting defaults to true if the route table
  *   is statically defined via the :ref:`route_config
  *   <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.route_config>`
  *   option. This setting default to false if the route table is loaded dynamically via the
  *   :ref:`rds
  *   <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.rds>`
  *   option. Users may wish to override the default behavior in certain cases (for example when
  *   using CDS with a static route table).
  * @param maxDirectResponseBodySizeBytes
  *   The maximum bytes of the response :ref:`direct response body
  *   <envoy_v3_api_field_config.route.v3.DirectResponseAction.body>` size. If not specified the default
  *   is 4096.
  *  
  *   .. warning::
  *  
  *     Envoy currently holds the content of :ref:`direct response body
  *     <envoy_v3_api_field_config.route.v3.DirectResponseAction.body>` in memory. Be careful setting
  *     this to be larger than the default 4KB, since the allocated memory for direct response body
  *     is not subject to data plane buffering controls.
  * @param clusterSpecifierPlugins
  *   A list of plugins and their configurations which may be used by a
  *   :ref:`cluster specifier plugin name <envoy_v3_api_field_config.route.v3.RouteAction.cluster_specifier_plugin>`
  *   within the route. All *extension.name* fields in this list must be unique.
  * @param requestMirrorPolicies
  *   Specify a set of default request mirroring policies which apply to all routes under its virtual hosts.
  *   Note that policies are not merged, the most specific non-empty one becomes the mirror policies.
  * @param ignorePortInHostMatching
  *   By default, port in :authority header (if any) is used in host matching.
  *   With this option enabled, Envoy will ignore the port number in the :authority header (if any) when picking VirtualHost.
  *   NOTE: this option will not strip the port number (if any) contained in route config
  *   :ref:`envoy_v3_api_msg_config.route.v3.VirtualHost`.domains field.
  * @param ignorePathParametersInPathMatching
  *   Ignore path-parameters in path-matching.
  *   Before RFC3986, URI were like(RFC1808): <scheme>://<net_loc>/<path>;<params>?<query>#<fragment>
  *   Envoy by default takes ":path" as "<path>;<params>".
  *   For users who want to only match path on the "<path>" portion, this option should be true.
  */
@SerialVersionUID(0L)
final case class RouteConfiguration(
    name: _root_.scala.Predef.String = "",
    virtualHosts: _root_.scala.Seq[io.envoyproxy.envoy.config.route.v3.VirtualHost] = _root_.scala.Seq.empty,
    vhds: _root_.scala.Option[io.envoyproxy.envoy.config.route.v3.Vhds] = _root_.scala.None,
    internalOnlyHeaders: _root_.scala.Seq[_root_.scala.Predef.String] = _root_.scala.Seq.empty,
    responseHeadersToAdd: _root_.scala.Seq[io.envoyproxy.envoy.config.core.v3.HeaderValueOption] = _root_.scala.Seq.empty,
    responseHeadersToRemove: _root_.scala.Seq[_root_.scala.Predef.String] = _root_.scala.Seq.empty,
    requestHeadersToAdd: _root_.scala.Seq[io.envoyproxy.envoy.config.core.v3.HeaderValueOption] = _root_.scala.Seq.empty,
    requestHeadersToRemove: _root_.scala.Seq[_root_.scala.Predef.String] = _root_.scala.Seq.empty,
    mostSpecificHeaderMutationsWins: _root_.scala.Boolean = false,
    validateClusters: _root_.scala.Option[_root_.scala.Boolean] = _root_.scala.None,
    maxDirectResponseBodySizeBytes: _root_.scala.Option[_root_.scala.Int] = _root_.scala.None,
    clusterSpecifierPlugins: _root_.scala.Seq[io.envoyproxy.envoy.config.route.v3.ClusterSpecifierPlugin] = _root_.scala.Seq.empty,
    requestMirrorPolicies: _root_.scala.Seq[io.envoyproxy.envoy.config.route.v3.RouteAction.RequestMirrorPolicy] = _root_.scala.Seq.empty,
    ignorePortInHostMatching: _root_.scala.Boolean = false,
    ignorePathParametersInPathMatching: _root_.scala.Boolean = false,
    unknownFields: _root_.scalapb.UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty
    ) extends scalapb.GeneratedMessage with scalapb.lenses.Updatable[RouteConfiguration] {
    @transient
    private[this] var __serializedSizeMemoized: _root_.scala.Int = 0
    private[this] def __computeSerializedSize(): _root_.scala.Int = {
      var __size = 0
      
      {
        val __value = name
        if (!__value.isEmpty) {
          __size += _root_.com.google.protobuf.CodedOutputStream.computeStringSize(1, __value)
        }
      };
      virtualHosts.foreach { __item =>
        val __value = __item
        __size += 1 + _root_.com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(__value.serializedSize) + __value.serializedSize
      }
      if (vhds.isDefined) {
        val __value = vhds.get
        __size += 1 + _root_.com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(__value.serializedSize) + __value.serializedSize
      };
      internalOnlyHeaders.foreach { __item =>
        val __value = __item
        __size += _root_.com.google.protobuf.CodedOutputStream.computeStringSize(3, __value)
      }
      responseHeadersToAdd.foreach { __item =>
        val __value = __item
        __size += 1 + _root_.com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(__value.serializedSize) + __value.serializedSize
      }
      responseHeadersToRemove.foreach { __item =>
        val __value = __item
        __size += _root_.com.google.protobuf.CodedOutputStream.computeStringSize(5, __value)
      }
      requestHeadersToAdd.foreach { __item =>
        val __value = __item
        __size += 1 + _root_.com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(__value.serializedSize) + __value.serializedSize
      }
      requestHeadersToRemove.foreach { __item =>
        val __value = __item
        __size += _root_.com.google.protobuf.CodedOutputStream.computeStringSize(8, __value)
      }
      
      {
        val __value = mostSpecificHeaderMutationsWins
        if (__value != false) {
          __size += _root_.com.google.protobuf.CodedOutputStream.computeBoolSize(10, __value)
        }
      };
      if (validateClusters.isDefined) {
        val __value = io.envoyproxy.envoy.config.route.v3.RouteConfiguration._typemapper_validateClusters.toBase(validateClusters.get)
        __size += 1 + _root_.com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(__value.serializedSize) + __value.serializedSize
      };
      if (maxDirectResponseBodySizeBytes.isDefined) {
        val __value = io.envoyproxy.envoy.config.route.v3.RouteConfiguration._typemapper_maxDirectResponseBodySizeBytes.toBase(maxDirectResponseBodySizeBytes.get)
        __size += 1 + _root_.com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(__value.serializedSize) + __value.serializedSize
      };
      clusterSpecifierPlugins.foreach { __item =>
        val __value = __item
        __size += 1 + _root_.com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(__value.serializedSize) + __value.serializedSize
      }
      requestMirrorPolicies.foreach { __item =>
        val __value = __item
        __size += 1 + _root_.com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(__value.serializedSize) + __value.serializedSize
      }
      
      {
        val __value = ignorePortInHostMatching
        if (__value != false) {
          __size += _root_.com.google.protobuf.CodedOutputStream.computeBoolSize(14, __value)
        }
      };
      
      {
        val __value = ignorePathParametersInPathMatching
        if (__value != false) {
          __size += _root_.com.google.protobuf.CodedOutputStream.computeBoolSize(15, __value)
        }
      };
      __size += unknownFields.serializedSize
      __size
    }
    override def serializedSize: _root_.scala.Int = {
      var __size = __serializedSizeMemoized
      if (__size == 0) {
        __size = __computeSerializedSize() + 1
        __serializedSizeMemoized = __size
      }
      __size - 1
      
    }
    def writeTo(`_output__`: _root_.com.google.protobuf.CodedOutputStream): _root_.scala.Unit = {
      {
        val __v = name
        if (!__v.isEmpty) {
          _output__.writeString(1, __v)
        }
      };
      virtualHosts.foreach { __v =>
        val __m = __v
        _output__.writeTag(2, 2)
        _output__.writeUInt32NoTag(__m.serializedSize)
        __m.writeTo(_output__)
      };
      internalOnlyHeaders.foreach { __v =>
        val __m = __v
        _output__.writeString(3, __m)
      };
      responseHeadersToAdd.foreach { __v =>
        val __m = __v
        _output__.writeTag(4, 2)
        _output__.writeUInt32NoTag(__m.serializedSize)
        __m.writeTo(_output__)
      };
      responseHeadersToRemove.foreach { __v =>
        val __m = __v
        _output__.writeString(5, __m)
      };
      requestHeadersToAdd.foreach { __v =>
        val __m = __v
        _output__.writeTag(6, 2)
        _output__.writeUInt32NoTag(__m.serializedSize)
        __m.writeTo(_output__)
      };
      validateClusters.foreach { __v =>
        val __m = io.envoyproxy.envoy.config.route.v3.RouteConfiguration._typemapper_validateClusters.toBase(__v)
        _output__.writeTag(7, 2)
        _output__.writeUInt32NoTag(__m.serializedSize)
        __m.writeTo(_output__)
      };
      requestHeadersToRemove.foreach { __v =>
        val __m = __v
        _output__.writeString(8, __m)
      };
      vhds.foreach { __v =>
        val __m = __v
        _output__.writeTag(9, 2)
        _output__.writeUInt32NoTag(__m.serializedSize)
        __m.writeTo(_output__)
      };
      {
        val __v = mostSpecificHeaderMutationsWins
        if (__v != false) {
          _output__.writeBool(10, __v)
        }
      };
      maxDirectResponseBodySizeBytes.foreach { __v =>
        val __m = io.envoyproxy.envoy.config.route.v3.RouteConfiguration._typemapper_maxDirectResponseBodySizeBytes.toBase(__v)
        _output__.writeTag(11, 2)
        _output__.writeUInt32NoTag(__m.serializedSize)
        __m.writeTo(_output__)
      };
      clusterSpecifierPlugins.foreach { __v =>
        val __m = __v
        _output__.writeTag(12, 2)
        _output__.writeUInt32NoTag(__m.serializedSize)
        __m.writeTo(_output__)
      };
      requestMirrorPolicies.foreach { __v =>
        val __m = __v
        _output__.writeTag(13, 2)
        _output__.writeUInt32NoTag(__m.serializedSize)
        __m.writeTo(_output__)
      };
      {
        val __v = ignorePortInHostMatching
        if (__v != false) {
          _output__.writeBool(14, __v)
        }
      };
      {
        val __v = ignorePathParametersInPathMatching
        if (__v != false) {
          _output__.writeBool(15, __v)
        }
      };
      unknownFields.writeTo(_output__)
    }
    def withName(__v: _root_.scala.Predef.String): RouteConfiguration = copy(name = __v)
    def clearVirtualHosts = copy(virtualHosts = _root_.scala.Seq.empty)
    def addVirtualHosts(__vs: io.envoyproxy.envoy.config.route.v3.VirtualHost *): RouteConfiguration = addAllVirtualHosts(__vs)
    def addAllVirtualHosts(__vs: Iterable[io.envoyproxy.envoy.config.route.v3.VirtualHost]): RouteConfiguration = copy(virtualHosts = virtualHosts ++ __vs)
    def withVirtualHosts(__v: _root_.scala.Seq[io.envoyproxy.envoy.config.route.v3.VirtualHost]): RouteConfiguration = copy(virtualHosts = __v)
    def getVhds: io.envoyproxy.envoy.config.route.v3.Vhds = vhds.getOrElse(io.envoyproxy.envoy.config.route.v3.Vhds.defaultInstance)
    def clearVhds: RouteConfiguration = copy(vhds = _root_.scala.None)
    def withVhds(__v: io.envoyproxy.envoy.config.route.v3.Vhds): RouteConfiguration = copy(vhds = Option(__v))
    def clearInternalOnlyHeaders = copy(internalOnlyHeaders = _root_.scala.Seq.empty)
    def addInternalOnlyHeaders(__vs: _root_.scala.Predef.String *): RouteConfiguration = addAllInternalOnlyHeaders(__vs)
    def addAllInternalOnlyHeaders(__vs: Iterable[_root_.scala.Predef.String]): RouteConfiguration = copy(internalOnlyHeaders = internalOnlyHeaders ++ __vs)
    def withInternalOnlyHeaders(__v: _root_.scala.Seq[_root_.scala.Predef.String]): RouteConfiguration = copy(internalOnlyHeaders = __v)
    def clearResponseHeadersToAdd = copy(responseHeadersToAdd = _root_.scala.Seq.empty)
    def addResponseHeadersToAdd(__vs: io.envoyproxy.envoy.config.core.v3.HeaderValueOption *): RouteConfiguration = addAllResponseHeadersToAdd(__vs)
    def addAllResponseHeadersToAdd(__vs: Iterable[io.envoyproxy.envoy.config.core.v3.HeaderValueOption]): RouteConfiguration = copy(responseHeadersToAdd = responseHeadersToAdd ++ __vs)
    def withResponseHeadersToAdd(__v: _root_.scala.Seq[io.envoyproxy.envoy.config.core.v3.HeaderValueOption]): RouteConfiguration = copy(responseHeadersToAdd = __v)
    def clearResponseHeadersToRemove = copy(responseHeadersToRemove = _root_.scala.Seq.empty)
    def addResponseHeadersToRemove(__vs: _root_.scala.Predef.String *): RouteConfiguration = addAllResponseHeadersToRemove(__vs)
    def addAllResponseHeadersToRemove(__vs: Iterable[_root_.scala.Predef.String]): RouteConfiguration = copy(responseHeadersToRemove = responseHeadersToRemove ++ __vs)
    def withResponseHeadersToRemove(__v: _root_.scala.Seq[_root_.scala.Predef.String]): RouteConfiguration = copy(responseHeadersToRemove = __v)
    def clearRequestHeadersToAdd = copy(requestHeadersToAdd = _root_.scala.Seq.empty)
    def addRequestHeadersToAdd(__vs: io.envoyproxy.envoy.config.core.v3.HeaderValueOption *): RouteConfiguration = addAllRequestHeadersToAdd(__vs)
    def addAllRequestHeadersToAdd(__vs: Iterable[io.envoyproxy.envoy.config.core.v3.HeaderValueOption]): RouteConfiguration = copy(requestHeadersToAdd = requestHeadersToAdd ++ __vs)
    def withRequestHeadersToAdd(__v: _root_.scala.Seq[io.envoyproxy.envoy.config.core.v3.HeaderValueOption]): RouteConfiguration = copy(requestHeadersToAdd = __v)
    def clearRequestHeadersToRemove = copy(requestHeadersToRemove = _root_.scala.Seq.empty)
    def addRequestHeadersToRemove(__vs: _root_.scala.Predef.String *): RouteConfiguration = addAllRequestHeadersToRemove(__vs)
    def addAllRequestHeadersToRemove(__vs: Iterable[_root_.scala.Predef.String]): RouteConfiguration = copy(requestHeadersToRemove = requestHeadersToRemove ++ __vs)
    def withRequestHeadersToRemove(__v: _root_.scala.Seq[_root_.scala.Predef.String]): RouteConfiguration = copy(requestHeadersToRemove = __v)
    def withMostSpecificHeaderMutationsWins(__v: _root_.scala.Boolean): RouteConfiguration = copy(mostSpecificHeaderMutationsWins = __v)
    def getValidateClusters: _root_.scala.Boolean = validateClusters.getOrElse(io.envoyproxy.envoy.config.route.v3.RouteConfiguration._typemapper_validateClusters.toCustom(com.google.protobuf.wrappers.BoolValue.defaultInstance))
    def clearValidateClusters: RouteConfiguration = copy(validateClusters = _root_.scala.None)
    def withValidateClusters(__v: _root_.scala.Boolean): RouteConfiguration = copy(validateClusters = Option(__v))
    def getMaxDirectResponseBodySizeBytes: _root_.scala.Int = maxDirectResponseBodySizeBytes.getOrElse(io.envoyproxy.envoy.config.route.v3.RouteConfiguration._typemapper_maxDirectResponseBodySizeBytes.toCustom(com.google.protobuf.wrappers.UInt32Value.defaultInstance))
    def clearMaxDirectResponseBodySizeBytes: RouteConfiguration = copy(maxDirectResponseBodySizeBytes = _root_.scala.None)
    def withMaxDirectResponseBodySizeBytes(__v: _root_.scala.Int): RouteConfiguration = copy(maxDirectResponseBodySizeBytes = Option(__v))
    def clearClusterSpecifierPlugins = copy(clusterSpecifierPlugins = _root_.scala.Seq.empty)
    def addClusterSpecifierPlugins(__vs: io.envoyproxy.envoy.config.route.v3.ClusterSpecifierPlugin *): RouteConfiguration = addAllClusterSpecifierPlugins(__vs)
    def addAllClusterSpecifierPlugins(__vs: Iterable[io.envoyproxy.envoy.config.route.v3.ClusterSpecifierPlugin]): RouteConfiguration = copy(clusterSpecifierPlugins = clusterSpecifierPlugins ++ __vs)
    def withClusterSpecifierPlugins(__v: _root_.scala.Seq[io.envoyproxy.envoy.config.route.v3.ClusterSpecifierPlugin]): RouteConfiguration = copy(clusterSpecifierPlugins = __v)
    def clearRequestMirrorPolicies = copy(requestMirrorPolicies = _root_.scala.Seq.empty)
    def addRequestMirrorPolicies(__vs: io.envoyproxy.envoy.config.route.v3.RouteAction.RequestMirrorPolicy *): RouteConfiguration = addAllRequestMirrorPolicies(__vs)
    def addAllRequestMirrorPolicies(__vs: Iterable[io.envoyproxy.envoy.config.route.v3.RouteAction.RequestMirrorPolicy]): RouteConfiguration = copy(requestMirrorPolicies = requestMirrorPolicies ++ __vs)
    def withRequestMirrorPolicies(__v: _root_.scala.Seq[io.envoyproxy.envoy.config.route.v3.RouteAction.RequestMirrorPolicy]): RouteConfiguration = copy(requestMirrorPolicies = __v)
    def withIgnorePortInHostMatching(__v: _root_.scala.Boolean): RouteConfiguration = copy(ignorePortInHostMatching = __v)
    def withIgnorePathParametersInPathMatching(__v: _root_.scala.Boolean): RouteConfiguration = copy(ignorePathParametersInPathMatching = __v)
    def withUnknownFields(__v: _root_.scalapb.UnknownFieldSet) = copy(unknownFields = __v)
    def discardUnknownFields = copy(unknownFields = _root_.scalapb.UnknownFieldSet.empty)
    def getFieldByNumber(__fieldNumber: _root_.scala.Int): _root_.scala.Any = {
      (__fieldNumber: @_root_.scala.unchecked) match {
        case 1 => {
          val __t = name
          if (__t != "") __t else null
        }
        case 2 => virtualHosts
        case 9 => vhds.orNull
        case 3 => internalOnlyHeaders
        case 4 => responseHeadersToAdd
        case 5 => responseHeadersToRemove
        case 6 => requestHeadersToAdd
        case 8 => requestHeadersToRemove
        case 10 => {
          val __t = mostSpecificHeaderMutationsWins
          if (__t != false) __t else null
        }
        case 7 => validateClusters.map(io.envoyproxy.envoy.config.route.v3.RouteConfiguration._typemapper_validateClusters.toBase(_)).orNull
        case 11 => maxDirectResponseBodySizeBytes.map(io.envoyproxy.envoy.config.route.v3.RouteConfiguration._typemapper_maxDirectResponseBodySizeBytes.toBase(_)).orNull
        case 12 => clusterSpecifierPlugins
        case 13 => requestMirrorPolicies
        case 14 => {
          val __t = ignorePortInHostMatching
          if (__t != false) __t else null
        }
        case 15 => {
          val __t = ignorePathParametersInPathMatching
          if (__t != false) __t else null
        }
      }
    }
    def getField(__field: _root_.scalapb.descriptors.FieldDescriptor): _root_.scalapb.descriptors.PValue = {
      _root_.scala.Predef.require(__field.containingMessage eq companion.scalaDescriptor)
      (__field.number: @_root_.scala.unchecked) match {
        case 1 => _root_.scalapb.descriptors.PString(name)
        case 2 => _root_.scalapb.descriptors.PRepeated(virtualHosts.iterator.map(_.toPMessage).toVector)
        case 9 => vhds.map(_.toPMessage).getOrElse(_root_.scalapb.descriptors.PEmpty)
        case 3 => _root_.scalapb.descriptors.PRepeated(internalOnlyHeaders.iterator.map(_root_.scalapb.descriptors.PString(_)).toVector)
        case 4 => _root_.scalapb.descriptors.PRepeated(responseHeadersToAdd.iterator.map(_.toPMessage).toVector)
        case 5 => _root_.scalapb.descriptors.PRepeated(responseHeadersToRemove.iterator.map(_root_.scalapb.descriptors.PString(_)).toVector)
        case 6 => _root_.scalapb.descriptors.PRepeated(requestHeadersToAdd.iterator.map(_.toPMessage).toVector)
        case 8 => _root_.scalapb.descriptors.PRepeated(requestHeadersToRemove.iterator.map(_root_.scalapb.descriptors.PString(_)).toVector)
        case 10 => _root_.scalapb.descriptors.PBoolean(mostSpecificHeaderMutationsWins)
        case 7 => validateClusters.map(io.envoyproxy.envoy.config.route.v3.RouteConfiguration._typemapper_validateClusters.toBase(_).toPMessage).getOrElse(_root_.scalapb.descriptors.PEmpty)
        case 11 => maxDirectResponseBodySizeBytes.map(io.envoyproxy.envoy.config.route.v3.RouteConfiguration._typemapper_maxDirectResponseBodySizeBytes.toBase(_).toPMessage).getOrElse(_root_.scalapb.descriptors.PEmpty)
        case 12 => _root_.scalapb.descriptors.PRepeated(clusterSpecifierPlugins.iterator.map(_.toPMessage).toVector)
        case 13 => _root_.scalapb.descriptors.PRepeated(requestMirrorPolicies.iterator.map(_.toPMessage).toVector)
        case 14 => _root_.scalapb.descriptors.PBoolean(ignorePortInHostMatching)
        case 15 => _root_.scalapb.descriptors.PBoolean(ignorePathParametersInPathMatching)
      }
    }
    def toProtoString: _root_.scala.Predef.String = _root_.scalapb.TextFormat.printToUnicodeString(this)
    def companion: io.envoyproxy.envoy.config.route.v3.RouteConfiguration.type = io.envoyproxy.envoy.config.route.v3.RouteConfiguration
    // @@protoc_insertion_point(GeneratedMessage[envoy.config.route.v3.RouteConfiguration])
}

object RouteConfiguration extends scalapb.GeneratedMessageCompanion[io.envoyproxy.envoy.config.route.v3.RouteConfiguration] {
  implicit def messageCompanion: scalapb.GeneratedMessageCompanion[io.envoyproxy.envoy.config.route.v3.RouteConfiguration] = this
  def parseFrom(`_input__`: _root_.com.google.protobuf.CodedInputStream): io.envoyproxy.envoy.config.route.v3.RouteConfiguration = {
    var __name: _root_.scala.Predef.String = ""
    val __virtualHosts: _root_.scala.collection.immutable.VectorBuilder[io.envoyproxy.envoy.config.route.v3.VirtualHost] = new _root_.scala.collection.immutable.VectorBuilder[io.envoyproxy.envoy.config.route.v3.VirtualHost]
    var __vhds: _root_.scala.Option[io.envoyproxy.envoy.config.route.v3.Vhds] = _root_.scala.None
    val __internalOnlyHeaders: _root_.scala.collection.immutable.VectorBuilder[_root_.scala.Predef.String] = new _root_.scala.collection.immutable.VectorBuilder[_root_.scala.Predef.String]
    val __responseHeadersToAdd: _root_.scala.collection.immutable.VectorBuilder[io.envoyproxy.envoy.config.core.v3.HeaderValueOption] = new _root_.scala.collection.immutable.VectorBuilder[io.envoyproxy.envoy.config.core.v3.HeaderValueOption]
    val __responseHeadersToRemove: _root_.scala.collection.immutable.VectorBuilder[_root_.scala.Predef.String] = new _root_.scala.collection.immutable.VectorBuilder[_root_.scala.Predef.String]
    val __requestHeadersToAdd: _root_.scala.collection.immutable.VectorBuilder[io.envoyproxy.envoy.config.core.v3.HeaderValueOption] = new _root_.scala.collection.immutable.VectorBuilder[io.envoyproxy.envoy.config.core.v3.HeaderValueOption]
    val __requestHeadersToRemove: _root_.scala.collection.immutable.VectorBuilder[_root_.scala.Predef.String] = new _root_.scala.collection.immutable.VectorBuilder[_root_.scala.Predef.String]
    var __mostSpecificHeaderMutationsWins: _root_.scala.Boolean = false
    var __validateClusters: _root_.scala.Option[_root_.scala.Boolean] = _root_.scala.None
    var __maxDirectResponseBodySizeBytes: _root_.scala.Option[_root_.scala.Int] = _root_.scala.None
    val __clusterSpecifierPlugins: _root_.scala.collection.immutable.VectorBuilder[io.envoyproxy.envoy.config.route.v3.ClusterSpecifierPlugin] = new _root_.scala.collection.immutable.VectorBuilder[io.envoyproxy.envoy.config.route.v3.ClusterSpecifierPlugin]
    val __requestMirrorPolicies: _root_.scala.collection.immutable.VectorBuilder[io.envoyproxy.envoy.config.route.v3.RouteAction.RequestMirrorPolicy] = new _root_.scala.collection.immutable.VectorBuilder[io.envoyproxy.envoy.config.route.v3.RouteAction.RequestMirrorPolicy]
    var __ignorePortInHostMatching: _root_.scala.Boolean = false
    var __ignorePathParametersInPathMatching: _root_.scala.Boolean = false
    var `_unknownFields__`: _root_.scalapb.UnknownFieldSet.Builder = null
    var _done__ = false
    while (!_done__) {
      val _tag__ = _input__.readTag()
      _tag__ match {
        case 0 => _done__ = true
        case 10 =>
          __name = _input__.readStringRequireUtf8()
        case 18 =>
          __virtualHosts += _root_.scalapb.LiteParser.readMessage[io.envoyproxy.envoy.config.route.v3.VirtualHost](_input__)
        case 74 =>
          __vhds = Option(__vhds.fold(_root_.scalapb.LiteParser.readMessage[io.envoyproxy.envoy.config.route.v3.Vhds](_input__))(_root_.scalapb.LiteParser.readMessage(_input__, _)))
        case 26 =>
          __internalOnlyHeaders += _input__.readStringRequireUtf8()
        case 34 =>
          __responseHeadersToAdd += _root_.scalapb.LiteParser.readMessage[io.envoyproxy.envoy.config.core.v3.HeaderValueOption](_input__)
        case 42 =>
          __responseHeadersToRemove += _input__.readStringRequireUtf8()
        case 50 =>
          __requestHeadersToAdd += _root_.scalapb.LiteParser.readMessage[io.envoyproxy.envoy.config.core.v3.HeaderValueOption](_input__)
        case 66 =>
          __requestHeadersToRemove += _input__.readStringRequireUtf8()
        case 80 =>
          __mostSpecificHeaderMutationsWins = _input__.readBool()
        case 58 =>
          __validateClusters = Option(io.envoyproxy.envoy.config.route.v3.RouteConfiguration._typemapper_validateClusters.toCustom(__validateClusters.map(io.envoyproxy.envoy.config.route.v3.RouteConfiguration._typemapper_validateClusters.toBase(_)).fold(_root_.scalapb.LiteParser.readMessage[com.google.protobuf.wrappers.BoolValue](_input__))(_root_.scalapb.LiteParser.readMessage(_input__, _))))
        case 90 =>
          __maxDirectResponseBodySizeBytes = Option(io.envoyproxy.envoy.config.route.v3.RouteConfiguration._typemapper_maxDirectResponseBodySizeBytes.toCustom(__maxDirectResponseBodySizeBytes.map(io.envoyproxy.envoy.config.route.v3.RouteConfiguration._typemapper_maxDirectResponseBodySizeBytes.toBase(_)).fold(_root_.scalapb.LiteParser.readMessage[com.google.protobuf.wrappers.UInt32Value](_input__))(_root_.scalapb.LiteParser.readMessage(_input__, _))))
        case 98 =>
          __clusterSpecifierPlugins += _root_.scalapb.LiteParser.readMessage[io.envoyproxy.envoy.config.route.v3.ClusterSpecifierPlugin](_input__)
        case 106 =>
          __requestMirrorPolicies += _root_.scalapb.LiteParser.readMessage[io.envoyproxy.envoy.config.route.v3.RouteAction.RequestMirrorPolicy](_input__)
        case 112 =>
          __ignorePortInHostMatching = _input__.readBool()
        case 120 =>
          __ignorePathParametersInPathMatching = _input__.readBool()
        case tag =>
          if (_unknownFields__ == null) {
            _unknownFields__ = new _root_.scalapb.UnknownFieldSet.Builder()
          }
          _unknownFields__.parseField(tag, _input__)
      }
    }
    io.envoyproxy.envoy.config.route.v3.RouteConfiguration(
        name = __name,
        virtualHosts = __virtualHosts.result(),
        vhds = __vhds,
        internalOnlyHeaders = __internalOnlyHeaders.result(),
        responseHeadersToAdd = __responseHeadersToAdd.result(),
        responseHeadersToRemove = __responseHeadersToRemove.result(),
        requestHeadersToAdd = __requestHeadersToAdd.result(),
        requestHeadersToRemove = __requestHeadersToRemove.result(),
        mostSpecificHeaderMutationsWins = __mostSpecificHeaderMutationsWins,
        validateClusters = __validateClusters,
        maxDirectResponseBodySizeBytes = __maxDirectResponseBodySizeBytes,
        clusterSpecifierPlugins = __clusterSpecifierPlugins.result(),
        requestMirrorPolicies = __requestMirrorPolicies.result(),
        ignorePortInHostMatching = __ignorePortInHostMatching,
        ignorePathParametersInPathMatching = __ignorePathParametersInPathMatching,
        unknownFields = if (_unknownFields__ == null) _root_.scalapb.UnknownFieldSet.empty else _unknownFields__.result()
    )
  }
  implicit def messageReads: _root_.scalapb.descriptors.Reads[io.envoyproxy.envoy.config.route.v3.RouteConfiguration] = _root_.scalapb.descriptors.Reads{
    case _root_.scalapb.descriptors.PMessage(__fieldsMap) =>
      _root_.scala.Predef.require(__fieldsMap.keys.forall(_.containingMessage eq scalaDescriptor), "FieldDescriptor does not match message type.")
      io.envoyproxy.envoy.config.route.v3.RouteConfiguration(
        name = __fieldsMap.get(scalaDescriptor.findFieldByNumber(1).get).map(_.as[_root_.scala.Predef.String]).getOrElse(""),
        virtualHosts = __fieldsMap.get(scalaDescriptor.findFieldByNumber(2).get).map(_.as[_root_.scala.Seq[io.envoyproxy.envoy.config.route.v3.VirtualHost]]).getOrElse(_root_.scala.Seq.empty),
        vhds = __fieldsMap.get(scalaDescriptor.findFieldByNumber(9).get).flatMap(_.as[_root_.scala.Option[io.envoyproxy.envoy.config.route.v3.Vhds]]),
        internalOnlyHeaders = __fieldsMap.get(scalaDescriptor.findFieldByNumber(3).get).map(_.as[_root_.scala.Seq[_root_.scala.Predef.String]]).getOrElse(_root_.scala.Seq.empty),
        responseHeadersToAdd = __fieldsMap.get(scalaDescriptor.findFieldByNumber(4).get).map(_.as[_root_.scala.Seq[io.envoyproxy.envoy.config.core.v3.HeaderValueOption]]).getOrElse(_root_.scala.Seq.empty),
        responseHeadersToRemove = __fieldsMap.get(scalaDescriptor.findFieldByNumber(5).get).map(_.as[_root_.scala.Seq[_root_.scala.Predef.String]]).getOrElse(_root_.scala.Seq.empty),
        requestHeadersToAdd = __fieldsMap.get(scalaDescriptor.findFieldByNumber(6).get).map(_.as[_root_.scala.Seq[io.envoyproxy.envoy.config.core.v3.HeaderValueOption]]).getOrElse(_root_.scala.Seq.empty),
        requestHeadersToRemove = __fieldsMap.get(scalaDescriptor.findFieldByNumber(8).get).map(_.as[_root_.scala.Seq[_root_.scala.Predef.String]]).getOrElse(_root_.scala.Seq.empty),
        mostSpecificHeaderMutationsWins = __fieldsMap.get(scalaDescriptor.findFieldByNumber(10).get).map(_.as[_root_.scala.Boolean]).getOrElse(false),
        validateClusters = __fieldsMap.get(scalaDescriptor.findFieldByNumber(7).get).flatMap(_.as[_root_.scala.Option[com.google.protobuf.wrappers.BoolValue]]).map(io.envoyproxy.envoy.config.route.v3.RouteConfiguration._typemapper_validateClusters.toCustom(_)),
        maxDirectResponseBodySizeBytes = __fieldsMap.get(scalaDescriptor.findFieldByNumber(11).get).flatMap(_.as[_root_.scala.Option[com.google.protobuf.wrappers.UInt32Value]]).map(io.envoyproxy.envoy.config.route.v3.RouteConfiguration._typemapper_maxDirectResponseBodySizeBytes.toCustom(_)),
        clusterSpecifierPlugins = __fieldsMap.get(scalaDescriptor.findFieldByNumber(12).get).map(_.as[_root_.scala.Seq[io.envoyproxy.envoy.config.route.v3.ClusterSpecifierPlugin]]).getOrElse(_root_.scala.Seq.empty),
        requestMirrorPolicies = __fieldsMap.get(scalaDescriptor.findFieldByNumber(13).get).map(_.as[_root_.scala.Seq[io.envoyproxy.envoy.config.route.v3.RouteAction.RequestMirrorPolicy]]).getOrElse(_root_.scala.Seq.empty),
        ignorePortInHostMatching = __fieldsMap.get(scalaDescriptor.findFieldByNumber(14).get).map(_.as[_root_.scala.Boolean]).getOrElse(false),
        ignorePathParametersInPathMatching = __fieldsMap.get(scalaDescriptor.findFieldByNumber(15).get).map(_.as[_root_.scala.Boolean]).getOrElse(false)
      )
    case _ => throw new RuntimeException("Expected PMessage")
  }
  def javaDescriptor: _root_.com.google.protobuf.Descriptors.Descriptor = RouteProto.javaDescriptor.getMessageTypes().get(0)
  def scalaDescriptor: _root_.scalapb.descriptors.Descriptor = RouteProto.scalaDescriptor.messages(0)
  def messageCompanionForFieldNumber(__number: _root_.scala.Int): _root_.scalapb.GeneratedMessageCompanion[_] = {
    var __out: _root_.scalapb.GeneratedMessageCompanion[_] = null
    (__number: @_root_.scala.unchecked) match {
      case 2 => __out = io.envoyproxy.envoy.config.route.v3.VirtualHost
      case 9 => __out = io.envoyproxy.envoy.config.route.v3.Vhds
      case 4 => __out = io.envoyproxy.envoy.config.core.v3.HeaderValueOption
      case 6 => __out = io.envoyproxy.envoy.config.core.v3.HeaderValueOption
      case 7 => __out = com.google.protobuf.wrappers.BoolValue
      case 11 => __out = com.google.protobuf.wrappers.UInt32Value
      case 12 => __out = io.envoyproxy.envoy.config.route.v3.ClusterSpecifierPlugin
      case 13 => __out = io.envoyproxy.envoy.config.route.v3.RouteAction.RequestMirrorPolicy
    }
    __out
  }
  lazy val nestedMessagesCompanions: Seq[_root_.scalapb.GeneratedMessageCompanion[_ <: _root_.scalapb.GeneratedMessage]] = Seq.empty
  def enumCompanionForFieldNumber(__fieldNumber: _root_.scala.Int): _root_.scalapb.GeneratedEnumCompanion[_] = throw new MatchError(__fieldNumber)
  lazy val defaultInstance = io.envoyproxy.envoy.config.route.v3.RouteConfiguration(
    name = "",
    virtualHosts = _root_.scala.Seq.empty,
    vhds = _root_.scala.None,
    internalOnlyHeaders = _root_.scala.Seq.empty,
    responseHeadersToAdd = _root_.scala.Seq.empty,
    responseHeadersToRemove = _root_.scala.Seq.empty,
    requestHeadersToAdd = _root_.scala.Seq.empty,
    requestHeadersToRemove = _root_.scala.Seq.empty,
    mostSpecificHeaderMutationsWins = false,
    validateClusters = _root_.scala.None,
    maxDirectResponseBodySizeBytes = _root_.scala.None,
    clusterSpecifierPlugins = _root_.scala.Seq.empty,
    requestMirrorPolicies = _root_.scala.Seq.empty,
    ignorePortInHostMatching = false,
    ignorePathParametersInPathMatching = false
  )
  implicit class RouteConfigurationLens[UpperPB](_l: _root_.scalapb.lenses.Lens[UpperPB, io.envoyproxy.envoy.config.route.v3.RouteConfiguration]) extends _root_.scalapb.lenses.ObjectLens[UpperPB, io.envoyproxy.envoy.config.route.v3.RouteConfiguration](_l) {
    def name: _root_.scalapb.lenses.Lens[UpperPB, _root_.scala.Predef.String] = field(_.name)((c_, f_) => c_.copy(name = f_))
    def virtualHosts: _root_.scalapb.lenses.Lens[UpperPB, _root_.scala.Seq[io.envoyproxy.envoy.config.route.v3.VirtualHost]] = field(_.virtualHosts)((c_, f_) => c_.copy(virtualHosts = f_))
    def vhds: _root_.scalapb.lenses.Lens[UpperPB, io.envoyproxy.envoy.config.route.v3.Vhds] = field(_.getVhds)((c_, f_) => c_.copy(vhds = Option(f_)))
    def optionalVhds: _root_.scalapb.lenses.Lens[UpperPB, _root_.scala.Option[io.envoyproxy.envoy.config.route.v3.Vhds]] = field(_.vhds)((c_, f_) => c_.copy(vhds = f_))
    def internalOnlyHeaders: _root_.scalapb.lenses.Lens[UpperPB, _root_.scala.Seq[_root_.scala.Predef.String]] = field(_.internalOnlyHeaders)((c_, f_) => c_.copy(internalOnlyHeaders = f_))
    def responseHeadersToAdd: _root_.scalapb.lenses.Lens[UpperPB, _root_.scala.Seq[io.envoyproxy.envoy.config.core.v3.HeaderValueOption]] = field(_.responseHeadersToAdd)((c_, f_) => c_.copy(responseHeadersToAdd = f_))
    def responseHeadersToRemove: _root_.scalapb.lenses.Lens[UpperPB, _root_.scala.Seq[_root_.scala.Predef.String]] = field(_.responseHeadersToRemove)((c_, f_) => c_.copy(responseHeadersToRemove = f_))
    def requestHeadersToAdd: _root_.scalapb.lenses.Lens[UpperPB, _root_.scala.Seq[io.envoyproxy.envoy.config.core.v3.HeaderValueOption]] = field(_.requestHeadersToAdd)((c_, f_) => c_.copy(requestHeadersToAdd = f_))
    def requestHeadersToRemove: _root_.scalapb.lenses.Lens[UpperPB, _root_.scala.Seq[_root_.scala.Predef.String]] = field(_.requestHeadersToRemove)((c_, f_) => c_.copy(requestHeadersToRemove = f_))
    def mostSpecificHeaderMutationsWins: _root_.scalapb.lenses.Lens[UpperPB, _root_.scala.Boolean] = field(_.mostSpecificHeaderMutationsWins)((c_, f_) => c_.copy(mostSpecificHeaderMutationsWins = f_))
    def validateClusters: _root_.scalapb.lenses.Lens[UpperPB, _root_.scala.Boolean] = field(_.getValidateClusters)((c_, f_) => c_.copy(validateClusters = Option(f_)))
    def optionalValidateClusters: _root_.scalapb.lenses.Lens[UpperPB, _root_.scala.Option[_root_.scala.Boolean]] = field(_.validateClusters)((c_, f_) => c_.copy(validateClusters = f_))
    def maxDirectResponseBodySizeBytes: _root_.scalapb.lenses.Lens[UpperPB, _root_.scala.Int] = field(_.getMaxDirectResponseBodySizeBytes)((c_, f_) => c_.copy(maxDirectResponseBodySizeBytes = Option(f_)))
    def optionalMaxDirectResponseBodySizeBytes: _root_.scalapb.lenses.Lens[UpperPB, _root_.scala.Option[_root_.scala.Int]] = field(_.maxDirectResponseBodySizeBytes)((c_, f_) => c_.copy(maxDirectResponseBodySizeBytes = f_))
    def clusterSpecifierPlugins: _root_.scalapb.lenses.Lens[UpperPB, _root_.scala.Seq[io.envoyproxy.envoy.config.route.v3.ClusterSpecifierPlugin]] = field(_.clusterSpecifierPlugins)((c_, f_) => c_.copy(clusterSpecifierPlugins = f_))
    def requestMirrorPolicies: _root_.scalapb.lenses.Lens[UpperPB, _root_.scala.Seq[io.envoyproxy.envoy.config.route.v3.RouteAction.RequestMirrorPolicy]] = field(_.requestMirrorPolicies)((c_, f_) => c_.copy(requestMirrorPolicies = f_))
    def ignorePortInHostMatching: _root_.scalapb.lenses.Lens[UpperPB, _root_.scala.Boolean] = field(_.ignorePortInHostMatching)((c_, f_) => c_.copy(ignorePortInHostMatching = f_))
    def ignorePathParametersInPathMatching: _root_.scalapb.lenses.Lens[UpperPB, _root_.scala.Boolean] = field(_.ignorePathParametersInPathMatching)((c_, f_) => c_.copy(ignorePathParametersInPathMatching = f_))
  }
  final val NAME_FIELD_NUMBER = 1
  final val VIRTUAL_HOSTS_FIELD_NUMBER = 2
  final val VHDS_FIELD_NUMBER = 9
  final val INTERNAL_ONLY_HEADERS_FIELD_NUMBER = 3
  final val RESPONSE_HEADERS_TO_ADD_FIELD_NUMBER = 4
  final val RESPONSE_HEADERS_TO_REMOVE_FIELD_NUMBER = 5
  final val REQUEST_HEADERS_TO_ADD_FIELD_NUMBER = 6
  final val REQUEST_HEADERS_TO_REMOVE_FIELD_NUMBER = 8
  final val MOST_SPECIFIC_HEADER_MUTATIONS_WINS_FIELD_NUMBER = 10
  final val VALIDATE_CLUSTERS_FIELD_NUMBER = 7
  final val MAX_DIRECT_RESPONSE_BODY_SIZE_BYTES_FIELD_NUMBER = 11
  final val CLUSTER_SPECIFIER_PLUGINS_FIELD_NUMBER = 12
  final val REQUEST_MIRROR_POLICIES_FIELD_NUMBER = 13
  final val IGNORE_PORT_IN_HOST_MATCHING_FIELD_NUMBER = 14
  final val IGNORE_PATH_PARAMETERS_IN_PATH_MATCHING_FIELD_NUMBER = 15
  @transient
  private[v3] val _typemapper_validateClusters: _root_.scalapb.TypeMapper[com.google.protobuf.wrappers.BoolValue, _root_.scala.Boolean] = implicitly[_root_.scalapb.TypeMapper[com.google.protobuf.wrappers.BoolValue, _root_.scala.Boolean]]
  @transient
  private[v3] val _typemapper_maxDirectResponseBodySizeBytes: _root_.scalapb.TypeMapper[com.google.protobuf.wrappers.UInt32Value, _root_.scala.Int] = implicitly[_root_.scalapb.TypeMapper[com.google.protobuf.wrappers.UInt32Value, _root_.scala.Int]]
  def of(
    name: _root_.scala.Predef.String,
    virtualHosts: _root_.scala.Seq[io.envoyproxy.envoy.config.route.v3.VirtualHost],
    vhds: _root_.scala.Option[io.envoyproxy.envoy.config.route.v3.Vhds],
    internalOnlyHeaders: _root_.scala.Seq[_root_.scala.Predef.String],
    responseHeadersToAdd: _root_.scala.Seq[io.envoyproxy.envoy.config.core.v3.HeaderValueOption],
    responseHeadersToRemove: _root_.scala.Seq[_root_.scala.Predef.String],
    requestHeadersToAdd: _root_.scala.Seq[io.envoyproxy.envoy.config.core.v3.HeaderValueOption],
    requestHeadersToRemove: _root_.scala.Seq[_root_.scala.Predef.String],
    mostSpecificHeaderMutationsWins: _root_.scala.Boolean,
    validateClusters: _root_.scala.Option[_root_.scala.Boolean],
    maxDirectResponseBodySizeBytes: _root_.scala.Option[_root_.scala.Int],
    clusterSpecifierPlugins: _root_.scala.Seq[io.envoyproxy.envoy.config.route.v3.ClusterSpecifierPlugin],
    requestMirrorPolicies: _root_.scala.Seq[io.envoyproxy.envoy.config.route.v3.RouteAction.RequestMirrorPolicy],
    ignorePortInHostMatching: _root_.scala.Boolean,
    ignorePathParametersInPathMatching: _root_.scala.Boolean
  ): _root_.io.envoyproxy.envoy.config.route.v3.RouteConfiguration = _root_.io.envoyproxy.envoy.config.route.v3.RouteConfiguration(
    name,
    virtualHosts,
    vhds,
    internalOnlyHeaders,
    responseHeadersToAdd,
    responseHeadersToRemove,
    requestHeadersToAdd,
    requestHeadersToRemove,
    mostSpecificHeaderMutationsWins,
    validateClusters,
    maxDirectResponseBodySizeBytes,
    clusterSpecifierPlugins,
    requestMirrorPolicies,
    ignorePortInHostMatching,
    ignorePathParametersInPathMatching
  )
  // @@protoc_insertion_point(GeneratedMessageCompanion[envoy.config.route.v3.RouteConfiguration])
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy