Enum ProcessingMode.HeaderSendMode

java.lang.Object
java.lang.Enum<ProcessingMode.HeaderSendMode>
io.envoyproxy.envoy.extensions.filters.http.ext_proc.v3.ProcessingMode.HeaderSendMode
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<ProcessingMode.HeaderSendMode>, java.lang.constant.Constable
Enclosing class:
ProcessingMode

public static enum ProcessingMode.HeaderSendMode extends Enum<ProcessingMode.HeaderSendMode> implements com.google.protobuf.ProtocolMessageEnum
 Control how headers and trailers are handled
 
Protobuf enum envoy.extensions.filters.http.ext_proc.v3.ProcessingMode.HeaderSendMode
  • Enum Constant Details

    • DEFAULT

      public static final ProcessingMode.HeaderSendMode DEFAULT
       When used to configure the ext_proc filter :ref:`processing_mode
       <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.processing_mode>`,
       the default HeaderSendMode depends on which part of the message is being processed. By
       default, request and response headers are sent, while trailers are skipped.
      
       When used in :ref:`mode_override
       <envoy_v3_api_field_service.ext_proc.v3.ProcessingResponse.mode_override>` or
       :ref:`allowed_override_modes
       <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.allowed_override_modes>`,
       a value of DEFAULT indicates that there is no change from the behavior that is configured for
       the filter in :ref:`processing_mode
       <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.processing_mode>`.
       
      DEFAULT = 0;
    • SEND

      public static final ProcessingMode.HeaderSendMode SEND
       Send the header or trailer.
       
      SEND = 1;
    • SKIP

      public static final ProcessingMode.HeaderSendMode SKIP
       Do not send the header or trailer.
       
      SKIP = 2;
    • UNRECOGNIZED

      public static final ProcessingMode.HeaderSendMode UNRECOGNIZED
  • Field Details

    • DEFAULT_VALUE

      public static final int DEFAULT_VALUE
       When used to configure the ext_proc filter :ref:`processing_mode
       <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.processing_mode>`,
       the default HeaderSendMode depends on which part of the message is being processed. By
       default, request and response headers are sent, while trailers are skipped.
      
       When used in :ref:`mode_override
       <envoy_v3_api_field_service.ext_proc.v3.ProcessingResponse.mode_override>` or
       :ref:`allowed_override_modes
       <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.allowed_override_modes>`,
       a value of DEFAULT indicates that there is no change from the behavior that is configured for
       the filter in :ref:`processing_mode
       <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.processing_mode>`.
       
      DEFAULT = 0;
      See Also:
    • SEND_VALUE

      public static final int SEND_VALUE
       Send the header or trailer.
       
      SEND = 1;
      See Also:
    • SKIP_VALUE

      public static final int SKIP_VALUE
       Do not send the header or trailer.
       
      SKIP = 2;
      See Also:
  • Method Details

    • values

      public static ProcessingMode.HeaderSendMode[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static ProcessingMode.HeaderSendMode valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static ProcessingMode.HeaderSendMode valueOf(int value)
      Deprecated.
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      value - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • forNumber

      public static ProcessingMode.HeaderSendMode forNumber(int value)
      Parameters:
      value - The numeric wire value of the corresponding enum entry.
      Returns:
      The enum associated with the given numeric wire value.
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<ProcessingMode.HeaderSendMode> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptor

      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static ProcessingMode.HeaderSendMode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      desc - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null