Interface ResponseMapperOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
ResponseMapper, ResponseMapper.Builder

@Generated public interface ResponseMapperOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasFilter

      boolean hasFilter()
      Filter to determine if this mapper should apply.
      
      .envoy.config.accesslog.v3.AccessLogFilter filter = 1 [(.validate.rules) = { ... }
      Returns:
      Whether the filter field is set.
    • getFilter

      AccessLogFilter getFilter()
      Filter to determine if this mapper should apply.
      
      .envoy.config.accesslog.v3.AccessLogFilter filter = 1 [(.validate.rules) = { ... }
      Returns:
      The filter.
    • getFilterOrBuilder

      AccessLogFilterOrBuilder getFilterOrBuilder()
      Filter to determine if this mapper should apply.
      
      .envoy.config.accesslog.v3.AccessLogFilter filter = 1 [(.validate.rules) = { ... }
    • hasStatusCode

      boolean hasStatusCode()
      The new response status code if specified.
      
      .google.protobuf.UInt32Value status_code = 2 [(.validate.rules) = { ... }
      Returns:
      Whether the statusCode field is set.
    • getStatusCode

      com.google.protobuf.UInt32Value getStatusCode()
      The new response status code if specified.
      
      .google.protobuf.UInt32Value status_code = 2 [(.validate.rules) = { ... }
      Returns:
      The statusCode.
    • getStatusCodeOrBuilder

      com.google.protobuf.UInt32ValueOrBuilder getStatusCodeOrBuilder()
      The new response status code if specified.
      
      .google.protobuf.UInt32Value status_code = 2 [(.validate.rules) = { ... }
    • hasBody

      boolean hasBody()
      The new local reply body text if specified. It will be used in the ``%LOCAL_REPLY_BODY%``
      command operator in the ``body_format``.
      
      .envoy.config.core.v3.DataSource body = 3;
      Returns:
      Whether the body field is set.
    • getBody

      DataSource getBody()
      The new local reply body text if specified. It will be used in the ``%LOCAL_REPLY_BODY%``
      command operator in the ``body_format``.
      
      .envoy.config.core.v3.DataSource body = 3;
      Returns:
      The body.
    • getBodyOrBuilder

      DataSourceOrBuilder getBodyOrBuilder()
      The new local reply body text if specified. It will be used in the ``%LOCAL_REPLY_BODY%``
      command operator in the ``body_format``.
      
      .envoy.config.core.v3.DataSource body = 3;
    • hasBodyFormatOverride

      boolean hasBodyFormatOverride()
      A per mapper ``body_format`` to override the :ref:`body_format <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.LocalReplyConfig.body_format>`.
      It will be used when this mapper is matched.
      
      .envoy.config.core.v3.SubstitutionFormatString body_format_override = 4;
      Returns:
      Whether the bodyFormatOverride field is set.
    • getBodyFormatOverride

      SubstitutionFormatString getBodyFormatOverride()
      A per mapper ``body_format`` to override the :ref:`body_format <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.LocalReplyConfig.body_format>`.
      It will be used when this mapper is matched.
      
      .envoy.config.core.v3.SubstitutionFormatString body_format_override = 4;
      Returns:
      The bodyFormatOverride.
    • getBodyFormatOverrideOrBuilder

      SubstitutionFormatStringOrBuilder getBodyFormatOverrideOrBuilder()
      A per mapper ``body_format`` to override the :ref:`body_format <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.LocalReplyConfig.body_format>`.
      It will be used when this mapper is matched.
      
      .envoy.config.core.v3.SubstitutionFormatString body_format_override = 4;
    • getHeadersToAddList

      List<HeaderValueOption> getHeadersToAddList()
      HTTP headers to add to a local reply. This allows the response mapper to append, to add
      or to override headers of any local reply before it is sent to a downstream client.
      
      repeated .envoy.config.core.v3.HeaderValueOption headers_to_add = 5 [(.validate.rules) = { ... }
    • getHeadersToAdd

      HeaderValueOption getHeadersToAdd(int index)
      HTTP headers to add to a local reply. This allows the response mapper to append, to add
      or to override headers of any local reply before it is sent to a downstream client.
      
      repeated .envoy.config.core.v3.HeaderValueOption headers_to_add = 5 [(.validate.rules) = { ... }
    • getHeadersToAddCount

      int getHeadersToAddCount()
      HTTP headers to add to a local reply. This allows the response mapper to append, to add
      or to override headers of any local reply before it is sent to a downstream client.
      
      repeated .envoy.config.core.v3.HeaderValueOption headers_to_add = 5 [(.validate.rules) = { ... }
    • getHeadersToAddOrBuilderList

      List<? extends HeaderValueOptionOrBuilder> getHeadersToAddOrBuilderList()
      HTTP headers to add to a local reply. This allows the response mapper to append, to add
      or to override headers of any local reply before it is sent to a downstream client.
      
      repeated .envoy.config.core.v3.HeaderValueOption headers_to_add = 5 [(.validate.rules) = { ... }
    • getHeadersToAddOrBuilder

      HeaderValueOptionOrBuilder getHeadersToAddOrBuilder(int index)
      HTTP headers to add to a local reply. This allows the response mapper to append, to add
      or to override headers of any local reply before it is sent to a downstream client.
      
      repeated .envoy.config.core.v3.HeaderValueOption headers_to_add = 5 [(.validate.rules) = { ... }