io.envoyproxy.envoy.service.ext_proc.v3.HttpHeadersOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: envoy/service/ext_proc/v3/external_processor.proto
package io.envoyproxy.envoy.service.ext_proc.v3;
public interface HttpHeadersOrBuilder extends
// @@protoc_insertion_point(interface_extends:envoy.service.ext_proc.v3.HttpHeaders)
com.google.protobuf.MessageOrBuilder {
/**
*
* The HTTP request headers. All header keys will be
* lower-cased, because HTTP header keys are case-insensitive.
* The ``headers`` encoding is based on the runtime guard
* envoy_reloadable_features_send_header_raw_value setting.
* When it is true, the header value is encoded in the
* :ref:`raw_value <envoy_v3_api_field_config.core.v3.HeaderValue.raw_value>` field.
* When it is false, the header value is encoded in the
* :ref:`value <envoy_v3_api_field_config.core.v3.HeaderValue.value>` field.
*
*
* .envoy.config.core.v3.HeaderMap headers = 1;
* @return Whether the headers field is set.
*/
boolean hasHeaders();
/**
*
* The HTTP request headers. All header keys will be
* lower-cased, because HTTP header keys are case-insensitive.
* The ``headers`` encoding is based on the runtime guard
* envoy_reloadable_features_send_header_raw_value setting.
* When it is true, the header value is encoded in the
* :ref:`raw_value <envoy_v3_api_field_config.core.v3.HeaderValue.raw_value>` field.
* When it is false, the header value is encoded in the
* :ref:`value <envoy_v3_api_field_config.core.v3.HeaderValue.value>` field.
*
*
* .envoy.config.core.v3.HeaderMap headers = 1;
* @return The headers.
*/
io.envoyproxy.envoy.config.core.v3.HeaderMap getHeaders();
/**
*
* The HTTP request headers. All header keys will be
* lower-cased, because HTTP header keys are case-insensitive.
* The ``headers`` encoding is based on the runtime guard
* envoy_reloadable_features_send_header_raw_value setting.
* When it is true, the header value is encoded in the
* :ref:`raw_value <envoy_v3_api_field_config.core.v3.HeaderValue.raw_value>` field.
* When it is false, the header value is encoded in the
* :ref:`value <envoy_v3_api_field_config.core.v3.HeaderValue.value>` field.
*
*
* .envoy.config.core.v3.HeaderMap headers = 1;
*/
io.envoyproxy.envoy.config.core.v3.HeaderMapOrBuilder getHeadersOrBuilder();
/**
*
* [#not-implemented-hide:]
* The values of properties selected by the ``request_attributes``
* or ``response_attributes`` list in the configuration. Each entry
* in the list is populated
* from the standard :ref:`attributes <arch_overview_attributes>`
* supported across Envoy.
*
*
* map<string, .google.protobuf.Struct> attributes = 2;
*/
int getAttributesCount();
/**
*
* [#not-implemented-hide:]
* The values of properties selected by the ``request_attributes``
* or ``response_attributes`` list in the configuration. Each entry
* in the list is populated
* from the standard :ref:`attributes <arch_overview_attributes>`
* supported across Envoy.
*
*
* map<string, .google.protobuf.Struct> attributes = 2;
*/
boolean containsAttributes(
java.lang.String key);
/**
* Use {@link #getAttributesMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getAttributes();
/**
*
* [#not-implemented-hide:]
* The values of properties selected by the ``request_attributes``
* or ``response_attributes`` list in the configuration. Each entry
* in the list is populated
* from the standard :ref:`attributes <arch_overview_attributes>`
* supported across Envoy.
*
*
* map<string, .google.protobuf.Struct> attributes = 2;
*/
java.util.Map
getAttributesMap();
/**
*
* [#not-implemented-hide:]
* The values of properties selected by the ``request_attributes``
* or ``response_attributes`` list in the configuration. Each entry
* in the list is populated
* from the standard :ref:`attributes <arch_overview_attributes>`
* supported across Envoy.
*
*
* map<string, .google.protobuf.Struct> attributes = 2;
*/
/* nullable */
com.google.protobuf.Struct getAttributesOrDefault(
java.lang.String key,
/* nullable */
com.google.protobuf.Struct defaultValue);
/**
*
* [#not-implemented-hide:]
* The values of properties selected by the ``request_attributes``
* or ``response_attributes`` list in the configuration. Each entry
* in the list is populated
* from the standard :ref:`attributes <arch_overview_attributes>`
* supported across Envoy.
*
*
* map<string, .google.protobuf.Struct> attributes = 2;
*/
com.google.protobuf.Struct getAttributesOrThrow(
java.lang.String key);
/**
*
* If true, then there is no message body associated with this
* request or response.
*
*
* bool end_of_stream = 3;
* @return The endOfStream.
*/
boolean getEndOfStream();
}