Interface HeaderValueOptionOrBuilder

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

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

    Modifier and Type
    Method
    Description
    com.google.protobuf.BoolValue
    Deprecated.
    envoy.config.core.v3.HeaderValueOption.append is deprecated.
    Describes the action taken to append/overwrite the given value for an existing header or to only add this header if it's absent.
    int
    Describes the action taken to append/overwrite the given value for an existing header or to only add this header if it's absent.
    com.google.protobuf.BoolValueOrBuilder
    Deprecated.
    Header name/value pair that this option applies to.
    Header name/value pair that this option applies to.
    boolean
    Is the header value allowed to be empty? If false (default), custom headers with empty values are dropped, otherwise they are added.
    boolean
    Deprecated.
    envoy.config.core.v3.HeaderValueOption.append is deprecated.
    boolean
    Header name/value pair that this option applies to.

    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 Details

    • hasHeader

      boolean hasHeader()
       Header name/value pair that this option applies to.
       
      .envoy.config.core.v3.HeaderValue header = 1 [(.validate.rules) = { ... }
      Returns:
      Whether the header field is set.
    • getHeader

      HeaderValue getHeader()
       Header name/value pair that this option applies to.
       
      .envoy.config.core.v3.HeaderValue header = 1 [(.validate.rules) = { ... }
      Returns:
      The header.
    • getHeaderOrBuilder

      HeaderValueOrBuilder getHeaderOrBuilder()
       Header name/value pair that this option applies to.
       
      .envoy.config.core.v3.HeaderValue header = 1 [(.validate.rules) = { ... }
    • hasAppend

      @Deprecated boolean hasAppend()
      Deprecated.
      envoy.config.core.v3.HeaderValueOption.append is deprecated. See envoy/config/core/v3/base.proto;l=437
       Should the value be appended? If true (default), the value is appended to
       existing values. Otherwise it replaces any existing values.
       This field is deprecated and please use
       :ref:`append_action <envoy_v3_api_field_config.core.v3.HeaderValueOption.append_action>` as replacement.
      
       .. note::
       The :ref:`external authorization service <envoy_v3_api_msg_service.auth.v3.CheckResponse>` and
       :ref:`external processor service <envoy_v3_api_msg_service.ext_proc.v3.ProcessingResponse>` have
       default value (``false``) for this field.
       
      .google.protobuf.BoolValue append = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
      Returns:
      Whether the append field is set.
    • getAppend

      @Deprecated com.google.protobuf.BoolValue getAppend()
      Deprecated.
      envoy.config.core.v3.HeaderValueOption.append is deprecated. See envoy/config/core/v3/base.proto;l=437
       Should the value be appended? If true (default), the value is appended to
       existing values. Otherwise it replaces any existing values.
       This field is deprecated and please use
       :ref:`append_action <envoy_v3_api_field_config.core.v3.HeaderValueOption.append_action>` as replacement.
      
       .. note::
       The :ref:`external authorization service <envoy_v3_api_msg_service.auth.v3.CheckResponse>` and
       :ref:`external processor service <envoy_v3_api_msg_service.ext_proc.v3.ProcessingResponse>` have
       default value (``false``) for this field.
       
      .google.protobuf.BoolValue append = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
      Returns:
      The append.
    • getAppendOrBuilder

      @Deprecated com.google.protobuf.BoolValueOrBuilder getAppendOrBuilder()
      Deprecated.
       Should the value be appended? If true (default), the value is appended to
       existing values. Otherwise it replaces any existing values.
       This field is deprecated and please use
       :ref:`append_action <envoy_v3_api_field_config.core.v3.HeaderValueOption.append_action>` as replacement.
      
       .. note::
       The :ref:`external authorization service <envoy_v3_api_msg_service.auth.v3.CheckResponse>` and
       :ref:`external processor service <envoy_v3_api_msg_service.ext_proc.v3.ProcessingResponse>` have
       default value (``false``) for this field.
       
      .google.protobuf.BoolValue append = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
    • getAppendActionValue

      int getAppendActionValue()
       Describes the action taken to append/overwrite the given value for an existing header
       or to only add this header if it's absent.
       Value defaults to :ref:`APPEND_IF_EXISTS_OR_ADD
       <envoy_v3_api_enum_value_config.core.v3.HeaderValueOption.HeaderAppendAction.APPEND_IF_EXISTS_OR_ADD>`.
       
      .envoy.config.core.v3.HeaderValueOption.HeaderAppendAction append_action = 3 [(.validate.rules) = { ... }
      Returns:
      The enum numeric value on the wire for appendAction.
    • getAppendAction

       Describes the action taken to append/overwrite the given value for an existing header
       or to only add this header if it's absent.
       Value defaults to :ref:`APPEND_IF_EXISTS_OR_ADD
       <envoy_v3_api_enum_value_config.core.v3.HeaderValueOption.HeaderAppendAction.APPEND_IF_EXISTS_OR_ADD>`.
       
      .envoy.config.core.v3.HeaderValueOption.HeaderAppendAction append_action = 3 [(.validate.rules) = { ... }
      Returns:
      The appendAction.
    • getKeepEmptyValue

      boolean getKeepEmptyValue()
       Is the header value allowed to be empty? If false (default), custom headers with empty values are dropped,
       otherwise they are added.
       
      bool keep_empty_value = 4;
      Returns:
      The keepEmptyValue.