public static final class IpTagging.IPTagging.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<IpTagging.IPTagging.Builder> implements IpTagging.IPTaggingOrBuilder
This is an HTTP filter which enables Envoy to tag requests with extra information such as location, cloud source, and any extra data. This is useful to prevent against DDoS.Protobuf type
envoy.config.filter.http.ip_tagging.v2.IPTagging| Modifier and Type | Method and Description |
|---|---|
IpTagging.IPTagging.Builder |
addAllIpTags(Iterable<? extends IpTagging.IPTagging.IPTag> values)
repeated .envoy.config.filter.http.ip_tagging.v2.IPTagging.IPTag ip_tags = 2; |
IpTagging.IPTagging.Builder |
addIpTags(int index,
IpTagging.IPTagging.IPTag.Builder builderForValue)
repeated .envoy.config.filter.http.ip_tagging.v2.IPTagging.IPTag ip_tags = 2; |
IpTagging.IPTagging.Builder |
addIpTags(int index,
IpTagging.IPTagging.IPTag value)
repeated .envoy.config.filter.http.ip_tagging.v2.IPTagging.IPTag ip_tags = 2; |
IpTagging.IPTagging.Builder |
addIpTags(IpTagging.IPTagging.IPTag.Builder builderForValue)
repeated .envoy.config.filter.http.ip_tagging.v2.IPTagging.IPTag ip_tags = 2; |
IpTagging.IPTagging.Builder |
addIpTags(IpTagging.IPTagging.IPTag value)
repeated .envoy.config.filter.http.ip_tagging.v2.IPTagging.IPTag ip_tags = 2; |
IpTagging.IPTagging.IPTag.Builder |
addIpTagsBuilder()
repeated .envoy.config.filter.http.ip_tagging.v2.IPTagging.IPTag ip_tags = 2; |
IpTagging.IPTagging.IPTag.Builder |
addIpTagsBuilder(int index)
repeated .envoy.config.filter.http.ip_tagging.v2.IPTagging.IPTag ip_tags = 2; |
IpTagging.IPTagging.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
IpTagging.IPTagging |
build() |
IpTagging.IPTagging |
buildPartial() |
IpTagging.IPTagging.Builder |
clear() |
IpTagging.IPTagging.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
IpTagging.IPTagging.Builder |
clearIpTags()
repeated .envoy.config.filter.http.ip_tagging.v2.IPTagging.IPTag ip_tags = 2; |
IpTagging.IPTagging.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
IpTagging.IPTagging.Builder |
clearRequestType()
The type of requests the filter should apply to.
|
IpTagging.IPTagging.Builder |
clone() |
IpTagging.IPTagging |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
IpTagging.IPTagging.IPTag |
getIpTags(int index)
repeated .envoy.config.filter.http.ip_tagging.v2.IPTagging.IPTag ip_tags = 2; |
IpTagging.IPTagging.IPTag.Builder |
getIpTagsBuilder(int index)
repeated .envoy.config.filter.http.ip_tagging.v2.IPTagging.IPTag ip_tags = 2; |
List<IpTagging.IPTagging.IPTag.Builder> |
getIpTagsBuilderList()
repeated .envoy.config.filter.http.ip_tagging.v2.IPTagging.IPTag ip_tags = 2; |
int |
getIpTagsCount()
repeated .envoy.config.filter.http.ip_tagging.v2.IPTagging.IPTag ip_tags = 2; |
List<IpTagging.IPTagging.IPTag> |
getIpTagsList()
repeated .envoy.config.filter.http.ip_tagging.v2.IPTagging.IPTag ip_tags = 2; |
IpTagging.IPTagging.IPTagOrBuilder |
getIpTagsOrBuilder(int index)
repeated .envoy.config.filter.http.ip_tagging.v2.IPTagging.IPTag ip_tags = 2; |
List<? extends IpTagging.IPTagging.IPTagOrBuilder> |
getIpTagsOrBuilderList()
repeated .envoy.config.filter.http.ip_tagging.v2.IPTagging.IPTag ip_tags = 2; |
IpTagging.IPTagging.RequestType |
getRequestType()
The type of requests the filter should apply to.
|
int |
getRequestTypeValue()
The type of requests the filter should apply to.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
IpTagging.IPTagging.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
IpTagging.IPTagging.Builder |
mergeFrom(IpTagging.IPTagging other) |
IpTagging.IPTagging.Builder |
mergeFrom(com.google.protobuf.Message other) |
IpTagging.IPTagging.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
IpTagging.IPTagging.Builder |
removeIpTags(int index)
repeated .envoy.config.filter.http.ip_tagging.v2.IPTagging.IPTag ip_tags = 2; |
IpTagging.IPTagging.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
IpTagging.IPTagging.Builder |
setIpTags(int index,
IpTagging.IPTagging.IPTag.Builder builderForValue)
repeated .envoy.config.filter.http.ip_tagging.v2.IPTagging.IPTag ip_tags = 2; |
IpTagging.IPTagging.Builder |
setIpTags(int index,
IpTagging.IPTagging.IPTag value)
repeated .envoy.config.filter.http.ip_tagging.v2.IPTagging.IPTag ip_tags = 2; |
IpTagging.IPTagging.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
IpTagging.IPTagging.Builder |
setRequestType(IpTagging.IPTagging.RequestType value)
The type of requests the filter should apply to.
|
IpTagging.IPTagging.Builder |
setRequestTypeValue(int value)
The type of requests the filter should apply to.
|
IpTagging.IPTagging.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<IpTagging.IPTagging.Builder>public IpTagging.IPTagging.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<IpTagging.IPTagging.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<IpTagging.IPTagging.Builder>public IpTagging.IPTagging getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic IpTagging.IPTagging build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic IpTagging.IPTagging buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic IpTagging.IPTagging.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<IpTagging.IPTagging.Builder>public IpTagging.IPTagging.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<IpTagging.IPTagging.Builder>public IpTagging.IPTagging.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<IpTagging.IPTagging.Builder>public IpTagging.IPTagging.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<IpTagging.IPTagging.Builder>public IpTagging.IPTagging.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<IpTagging.IPTagging.Builder>public IpTagging.IPTagging.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<IpTagging.IPTagging.Builder>public IpTagging.IPTagging.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<IpTagging.IPTagging.Builder>public IpTagging.IPTagging.Builder mergeFrom(IpTagging.IPTagging other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<IpTagging.IPTagging.Builder>public IpTagging.IPTagging.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<IpTagging.IPTagging.Builder>IOExceptionpublic int getRequestTypeValue()
The type of requests the filter should apply to. The supported types are internal, external or both. A request is considered internal if x-envoy-internal is set to true. If x-envoy-internal is not set or false, a request is considered external. The filter defaults to both, and it will apply to all request types.
.envoy.config.filter.http.ip_tagging.v2.IPTagging.RequestType request_type = 1;getRequestTypeValue in interface IpTagging.IPTaggingOrBuilderpublic IpTagging.IPTagging.Builder setRequestTypeValue(int value)
The type of requests the filter should apply to. The supported types are internal, external or both. A request is considered internal if x-envoy-internal is set to true. If x-envoy-internal is not set or false, a request is considered external. The filter defaults to both, and it will apply to all request types.
.envoy.config.filter.http.ip_tagging.v2.IPTagging.RequestType request_type = 1;public IpTagging.IPTagging.RequestType getRequestType()
The type of requests the filter should apply to. The supported types are internal, external or both. A request is considered internal if x-envoy-internal is set to true. If x-envoy-internal is not set or false, a request is considered external. The filter defaults to both, and it will apply to all request types.
.envoy.config.filter.http.ip_tagging.v2.IPTagging.RequestType request_type = 1;getRequestType in interface IpTagging.IPTaggingOrBuilderpublic IpTagging.IPTagging.Builder setRequestType(IpTagging.IPTagging.RequestType value)
The type of requests the filter should apply to. The supported types are internal, external or both. A request is considered internal if x-envoy-internal is set to true. If x-envoy-internal is not set or false, a request is considered external. The filter defaults to both, and it will apply to all request types.
.envoy.config.filter.http.ip_tagging.v2.IPTagging.RequestType request_type = 1;public IpTagging.IPTagging.Builder clearRequestType()
The type of requests the filter should apply to. The supported types are internal, external or both. A request is considered internal if x-envoy-internal is set to true. If x-envoy-internal is not set or false, a request is considered external. The filter defaults to both, and it will apply to all request types.
.envoy.config.filter.http.ip_tagging.v2.IPTagging.RequestType request_type = 1;public List<IpTagging.IPTagging.IPTag> getIpTagsList()
repeated .envoy.config.filter.http.ip_tagging.v2.IPTagging.IPTag ip_tags = 2;getIpTagsList in interface IpTagging.IPTaggingOrBuilderpublic int getIpTagsCount()
repeated .envoy.config.filter.http.ip_tagging.v2.IPTagging.IPTag ip_tags = 2;getIpTagsCount in interface IpTagging.IPTaggingOrBuilderpublic IpTagging.IPTagging.IPTag getIpTags(int index)
repeated .envoy.config.filter.http.ip_tagging.v2.IPTagging.IPTag ip_tags = 2;getIpTags in interface IpTagging.IPTaggingOrBuilderpublic IpTagging.IPTagging.Builder setIpTags(int index, IpTagging.IPTagging.IPTag value)
repeated .envoy.config.filter.http.ip_tagging.v2.IPTagging.IPTag ip_tags = 2;public IpTagging.IPTagging.Builder setIpTags(int index, IpTagging.IPTagging.IPTag.Builder builderForValue)
repeated .envoy.config.filter.http.ip_tagging.v2.IPTagging.IPTag ip_tags = 2;public IpTagging.IPTagging.Builder addIpTags(IpTagging.IPTagging.IPTag value)
repeated .envoy.config.filter.http.ip_tagging.v2.IPTagging.IPTag ip_tags = 2;public IpTagging.IPTagging.Builder addIpTags(int index, IpTagging.IPTagging.IPTag value)
repeated .envoy.config.filter.http.ip_tagging.v2.IPTagging.IPTag ip_tags = 2;public IpTagging.IPTagging.Builder addIpTags(IpTagging.IPTagging.IPTag.Builder builderForValue)
repeated .envoy.config.filter.http.ip_tagging.v2.IPTagging.IPTag ip_tags = 2;public IpTagging.IPTagging.Builder addIpTags(int index, IpTagging.IPTagging.IPTag.Builder builderForValue)
repeated .envoy.config.filter.http.ip_tagging.v2.IPTagging.IPTag ip_tags = 2;public IpTagging.IPTagging.Builder addAllIpTags(Iterable<? extends IpTagging.IPTagging.IPTag> values)
repeated .envoy.config.filter.http.ip_tagging.v2.IPTagging.IPTag ip_tags = 2;public IpTagging.IPTagging.Builder clearIpTags()
repeated .envoy.config.filter.http.ip_tagging.v2.IPTagging.IPTag ip_tags = 2;public IpTagging.IPTagging.Builder removeIpTags(int index)
repeated .envoy.config.filter.http.ip_tagging.v2.IPTagging.IPTag ip_tags = 2;public IpTagging.IPTagging.IPTag.Builder getIpTagsBuilder(int index)
repeated .envoy.config.filter.http.ip_tagging.v2.IPTagging.IPTag ip_tags = 2;public IpTagging.IPTagging.IPTagOrBuilder getIpTagsOrBuilder(int index)
repeated .envoy.config.filter.http.ip_tagging.v2.IPTagging.IPTag ip_tags = 2;getIpTagsOrBuilder in interface IpTagging.IPTaggingOrBuilderpublic List<? extends IpTagging.IPTagging.IPTagOrBuilder> getIpTagsOrBuilderList()
repeated .envoy.config.filter.http.ip_tagging.v2.IPTagging.IPTag ip_tags = 2;getIpTagsOrBuilderList in interface IpTagging.IPTaggingOrBuilderpublic IpTagging.IPTagging.IPTag.Builder addIpTagsBuilder()
repeated .envoy.config.filter.http.ip_tagging.v2.IPTagging.IPTag ip_tags = 2;public IpTagging.IPTagging.IPTag.Builder addIpTagsBuilder(int index)
repeated .envoy.config.filter.http.ip_tagging.v2.IPTagging.IPTag ip_tags = 2;public List<IpTagging.IPTagging.IPTag.Builder> getIpTagsBuilderList()
repeated .envoy.config.filter.http.ip_tagging.v2.IPTagging.IPTag ip_tags = 2;public final IpTagging.IPTagging.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<IpTagging.IPTagging.Builder>public final IpTagging.IPTagging.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<IpTagging.IPTagging.Builder>Copyright © 2018 The Envoy Project. All rights reserved.