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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.BoolValuegetAppend()Should the value be appended?HeaderValueOption.HeaderAppendActiongetAppendAction()[#not-implemented-hide:] Describes the action taken to append/overwrite the given value for an existing header or to only add this header if it's absent.intgetAppendActionValue()[#not-implemented-hide:] 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.BoolValueOrBuildergetAppendOrBuilder()Should the value be appended?HeaderValuegetHeader()Header name/value pair that this option applies to.HeaderValueOrBuildergetHeaderOrBuilder()Header name/value pair that this option applies to.booleangetKeepEmptyValue()Is the header value allowed to be empty?booleanhasAppend()Should the value be appended?booleanhasHeader()Header name/value pair that this option applies to.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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
boolean hasAppend()
Should the value be appended? If true (default), the value is appended to existing values. Otherwise it replaces any existing values.
.google.protobuf.BoolValue append = 2;- Returns:
- Whether the append field is set.
-
getAppend
com.google.protobuf.BoolValue getAppend()
Should the value be appended? If true (default), the value is appended to existing values. Otherwise it replaces any existing values.
.google.protobuf.BoolValue append = 2;- Returns:
- The append.
-
getAppendOrBuilder
com.google.protobuf.BoolValueOrBuilder getAppendOrBuilder()
Should the value be appended? If true (default), the value is appended to existing values. Otherwise it replaces any existing values.
.google.protobuf.BoolValue append = 2;
-
getAppendActionValue
int getAppendActionValue()
[#not-implemented-hide:] 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
HeaderValueOption.HeaderAppendAction getAppendAction()
[#not-implemented-hide:] 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.
-
-