public static final class HeaderFilter.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<HeaderFilter.Builder> implements HeaderFilterOrBuilder
Filters requests based on the presence or value of a request header.Protobuf type
envoy.config.filter.accesslog.v2.HeaderFilter| Modifier and Type | Method and Description |
|---|---|
HeaderFilter.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
HeaderFilter |
build() |
HeaderFilter |
buildPartial() |
HeaderFilter.Builder |
clear() |
HeaderFilter.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
HeaderFilter.Builder |
clearHeader()
Only requests with a header which matches the specified HeaderMatcher will pass the filter
check.
|
HeaderFilter.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
HeaderFilter.Builder |
clone() |
HeaderFilter |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
HeaderMatcher |
getHeader()
Only requests with a header which matches the specified HeaderMatcher will pass the filter
check.
|
HeaderMatcher.Builder |
getHeaderBuilder()
Only requests with a header which matches the specified HeaderMatcher will pass the filter
check.
|
HeaderMatcherOrBuilder |
getHeaderOrBuilder()
Only requests with a header which matches the specified HeaderMatcher will pass the filter
check.
|
boolean |
hasHeader()
Only requests with a header which matches the specified HeaderMatcher will pass the filter
check.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
HeaderFilter.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
HeaderFilter.Builder |
mergeFrom(HeaderFilter other) |
HeaderFilter.Builder |
mergeFrom(com.google.protobuf.Message other) |
HeaderFilter.Builder |
mergeHeader(HeaderMatcher value)
Only requests with a header which matches the specified HeaderMatcher will pass the filter
check.
|
HeaderFilter.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
HeaderFilter.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
HeaderFilter.Builder |
setHeader(HeaderMatcher.Builder builderForValue)
Only requests with a header which matches the specified HeaderMatcher will pass the filter
check.
|
HeaderFilter.Builder |
setHeader(HeaderMatcher value)
Only requests with a header which matches the specified HeaderMatcher will pass the filter
check.
|
HeaderFilter.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
HeaderFilter.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<HeaderFilter.Builder>public HeaderFilter.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<HeaderFilter.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<HeaderFilter.Builder>public HeaderFilter getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic HeaderFilter build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic HeaderFilter buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic HeaderFilter.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<HeaderFilter.Builder>public HeaderFilter.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<HeaderFilter.Builder>public HeaderFilter.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<HeaderFilter.Builder>public HeaderFilter.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<HeaderFilter.Builder>public HeaderFilter.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<HeaderFilter.Builder>public HeaderFilter.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<HeaderFilter.Builder>public HeaderFilter.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<HeaderFilter.Builder>public HeaderFilter.Builder mergeFrom(HeaderFilter other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<HeaderFilter.Builder>public HeaderFilter.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<HeaderFilter.Builder>IOExceptionpublic boolean hasHeader()
Only requests with a header which matches the specified HeaderMatcher will pass the filter check.
.envoy.api.v2.route.HeaderMatcher header = 1 [(.validate.rules) = { ... }hasHeader in interface HeaderFilterOrBuilderpublic HeaderMatcher getHeader()
Only requests with a header which matches the specified HeaderMatcher will pass the filter check.
.envoy.api.v2.route.HeaderMatcher header = 1 [(.validate.rules) = { ... }getHeader in interface HeaderFilterOrBuilderpublic HeaderFilter.Builder setHeader(HeaderMatcher value)
Only requests with a header which matches the specified HeaderMatcher will pass the filter check.
.envoy.api.v2.route.HeaderMatcher header = 1 [(.validate.rules) = { ... }public HeaderFilter.Builder setHeader(HeaderMatcher.Builder builderForValue)
Only requests with a header which matches the specified HeaderMatcher will pass the filter check.
.envoy.api.v2.route.HeaderMatcher header = 1 [(.validate.rules) = { ... }public HeaderFilter.Builder mergeHeader(HeaderMatcher value)
Only requests with a header which matches the specified HeaderMatcher will pass the filter check.
.envoy.api.v2.route.HeaderMatcher header = 1 [(.validate.rules) = { ... }public HeaderFilter.Builder clearHeader()
Only requests with a header which matches the specified HeaderMatcher will pass the filter check.
.envoy.api.v2.route.HeaderMatcher header = 1 [(.validate.rules) = { ... }public HeaderMatcher.Builder getHeaderBuilder()
Only requests with a header which matches the specified HeaderMatcher will pass the filter check.
.envoy.api.v2.route.HeaderMatcher header = 1 [(.validate.rules) = { ... }public HeaderMatcherOrBuilder getHeaderOrBuilder()
Only requests with a header which matches the specified HeaderMatcher will pass the filter check.
.envoy.api.v2.route.HeaderMatcher header = 1 [(.validate.rules) = { ... }getHeaderOrBuilder in interface HeaderFilterOrBuilderpublic final HeaderFilter.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<HeaderFilter.Builder>public final HeaderFilter.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<HeaderFilter.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.