Interface HttpHeadersOrBuilder

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

    public interface HttpHeadersOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      boolean containsAttributes​(String key)
      [#not-implemented-hide:] The values of properties selected by the ``request_attributes`` or ``response_attributes`` list in the configuration.
      Map<String,​com.google.protobuf.Struct> getAttributes()
      Deprecated.
      int getAttributesCount()
      [#not-implemented-hide:] The values of properties selected by the ``request_attributes`` or ``response_attributes`` list in the configuration.
      Map<String,​com.google.protobuf.Struct> getAttributesMap()
      [#not-implemented-hide:] The values of properties selected by the ``request_attributes`` or ``response_attributes`` list in the configuration.
      com.google.protobuf.Struct getAttributesOrDefault​(String key, com.google.protobuf.Struct defaultValue)
      [#not-implemented-hide:] The values of properties selected by the ``request_attributes`` or ``response_attributes`` list in the configuration.
      com.google.protobuf.Struct getAttributesOrThrow​(String key)
      [#not-implemented-hide:] The values of properties selected by the ``request_attributes`` or ``response_attributes`` list in the configuration.
      boolean getEndOfStream()
      If true, then there is no message body associated with this request or response.
      HeaderMap getHeaders()
      The HTTP request headers.
      HeaderMapOrBuilder getHeadersOrBuilder()
      The HTTP request headers.
      boolean hasHeaders()
      The HTTP request headers.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • hasHeaders

        boolean hasHeaders()
         The HTTP request headers. All header keys will be
         lower-cased, because HTTP header keys are case-insensitive.
         
        .envoy.config.core.v3.HeaderMap headers = 1;
        Returns:
        Whether the headers field is set.
      • getHeaders

        HeaderMap getHeaders()
         The HTTP request headers. All header keys will be
         lower-cased, because HTTP header keys are case-insensitive.
         
        .envoy.config.core.v3.HeaderMap headers = 1;
        Returns:
        The headers.
      • getHeadersOrBuilder

        HeaderMapOrBuilder getHeadersOrBuilder()
         The HTTP request headers. All header keys will be
         lower-cased, because HTTP header keys are case-insensitive.
         
        .envoy.config.core.v3.HeaderMap headers = 1;
      • getAttributesCount

        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;
      • containsAttributes

        boolean containsAttributes​(String key)
         [#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;
      • getAttributesMap

        Map<String,​com.google.protobuf.Struct> 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;
      • getAttributesOrDefault

        com.google.protobuf.Struct getAttributesOrDefault​(String key,
                                                          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;
      • getAttributesOrThrow

        com.google.protobuf.Struct getAttributesOrThrow​(String key)
         [#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;
      • getEndOfStream

        boolean getEndOfStream()
         If true, then there is no message body associated with this
         request or response.
         
        bool end_of_stream = 3;
        Returns:
        The endOfStream.