Interface HeaderMutationOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
HeaderMutation,HeaderMutation.Builder
public interface HeaderMutationOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionAppend new header by the specified HeaderValueOption.Append new header by the specified HeaderValueOption.Remove the specified header if it exists.com.google.protobuf.ByteStringRemove the specified header if it exists.Remove the header if the key matches the specified string matcher.Remove the header if the key matches the specified string matcher.booleanAppend new header by the specified HeaderValueOption.booleanRemove the specified header if it exists.booleanRemove the header if the key matches the specified string matcher.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasRemove
boolean hasRemove()Remove the specified header if it exists.
string remove = 1 [(.validate.rules) = { ... }- Returns:
- Whether the remove field is set.
-
getRemove
String getRemove()Remove the specified header if it exists.
string remove = 1 [(.validate.rules) = { ... }- Returns:
- The remove.
-
getRemoveBytes
com.google.protobuf.ByteString getRemoveBytes()Remove the specified header if it exists.
string remove = 1 [(.validate.rules) = { ... }- Returns:
- The bytes for remove.
-
hasAppend
boolean hasAppend()Append new header by the specified HeaderValueOption.
.envoy.config.core.v3.HeaderValueOption append = 2;- Returns:
- Whether the append field is set.
-
getAppend
HeaderValueOption getAppend()Append new header by the specified HeaderValueOption.
.envoy.config.core.v3.HeaderValueOption append = 2;- Returns:
- The append.
-
getAppendOrBuilder
HeaderValueOptionOrBuilder getAppendOrBuilder()Append new header by the specified HeaderValueOption.
.envoy.config.core.v3.HeaderValueOption append = 2; -
hasRemoveOnMatch
boolean hasRemoveOnMatch()Remove the header if the key matches the specified string matcher.
.envoy.config.common.mutation_rules.v3.HeaderMutation.RemoveOnMatch remove_on_match = 3;- Returns:
- Whether the removeOnMatch field is set.
-
getRemoveOnMatch
HeaderMutation.RemoveOnMatch getRemoveOnMatch()Remove the header if the key matches the specified string matcher.
.envoy.config.common.mutation_rules.v3.HeaderMutation.RemoveOnMatch remove_on_match = 3;- Returns:
- The removeOnMatch.
-
getRemoveOnMatchOrBuilder
HeaderMutation.RemoveOnMatchOrBuilder getRemoveOnMatchOrBuilder()Remove the header if the key matches the specified string matcher.
.envoy.config.common.mutation_rules.v3.HeaderMutation.RemoveOnMatch remove_on_match = 3; -
getActionCase
HeaderMutation.ActionCase getActionCase()
-