Class IPTagging.IPTag.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<IPTagging.IPTag.Builder>
io.envoyproxy.envoy.extensions.filters.http.ip_tagging.v3.IPTagging.IPTag.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,IPTagging.IPTagOrBuilder,Cloneable
- Enclosing class:
- IPTagging.IPTag
public static final class IPTagging.IPTag.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<IPTagging.IPTag.Builder>
implements IPTagging.IPTagOrBuilder
Supplies the IP tag name and the IP address subnets.Protobuf type
envoy.extensions.filters.http.ip_tagging.v3.IPTagging.IPTag-
Method Summary
Modifier and TypeMethodDescriptionaddAllIpList(Iterable<? extends CidrRange> values) A list of IP address subnets that will be tagged with ip_tag_name.A list of IP address subnets that will be tagged with ip_tag_name.addIpList(int index, CidrRange.Builder builderForValue) A list of IP address subnets that will be tagged with ip_tag_name.A list of IP address subnets that will be tagged with ip_tag_name.addIpList(CidrRange.Builder builderForValue) A list of IP address subnets that will be tagged with ip_tag_name.A list of IP address subnets that will be tagged with ip_tag_name.addIpListBuilder(int index) A list of IP address subnets that will be tagged with ip_tag_name.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) A list of IP address subnets that will be tagged with ip_tag_name.Specifies the IP tag name to apply.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetIpList(int index) A list of IP address subnets that will be tagged with ip_tag_name.getIpListBuilder(int index) A list of IP address subnets that will be tagged with ip_tag_name.A list of IP address subnets that will be tagged with ip_tag_name.intA list of IP address subnets that will be tagged with ip_tag_name.A list of IP address subnets that will be tagged with ip_tag_name.getIpListOrBuilder(int index) A list of IP address subnets that will be tagged with ip_tag_name.List<? extends CidrRangeOrBuilder>A list of IP address subnets that will be tagged with ip_tag_name.Specifies the IP tag name to apply.com.google.protobuf.ByteStringSpecifies the IP tag name to apply.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(IPTagging.IPTag other) final IPTagging.IPTag.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeIpList(int index) A list of IP address subnets that will be tagged with ip_tag_name.A list of IP address subnets that will be tagged with ip_tag_name.setIpList(int index, CidrRange.Builder builderForValue) A list of IP address subnets that will be tagged with ip_tag_name.setIpTagName(String value) Specifies the IP tag name to apply.setIpTagNameBytes(com.google.protobuf.ByteString value) Specifies the IP tag name to apply.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) final IPTagging.IPTag.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<IPTagging.IPTag.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<IPTagging.IPTag.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<IPTagging.IPTag.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<IPTagging.IPTag.Builder>
-
setField
public IPTagging.IPTag.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<IPTagging.IPTag.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<IPTagging.IPTag.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<IPTagging.IPTag.Builder>
-
setRepeatedField
public IPTagging.IPTag.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<IPTagging.IPTag.Builder>
-
addRepeatedField
public IPTagging.IPTag.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<IPTagging.IPTag.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<IPTagging.IPTag.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<IPTagging.IPTag.Builder>
-
mergeFrom
public IPTagging.IPTag.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<IPTagging.IPTag.Builder>- Throws:
IOException
-
getIpTagName
Specifies the IP tag name to apply.
string ip_tag_name = 1;- Specified by:
getIpTagNamein interfaceIPTagging.IPTagOrBuilder- Returns:
- The ipTagName.
-
getIpTagNameBytes
public com.google.protobuf.ByteString getIpTagNameBytes()Specifies the IP tag name to apply.
string ip_tag_name = 1;- Specified by:
getIpTagNameBytesin interfaceIPTagging.IPTagOrBuilder- Returns:
- The bytes for ipTagName.
-
setIpTagName
Specifies the IP tag name to apply.
string ip_tag_name = 1;- Parameters:
value- The ipTagName to set.- Returns:
- This builder for chaining.
-
clearIpTagName
Specifies the IP tag name to apply.
string ip_tag_name = 1;- Returns:
- This builder for chaining.
-
setIpTagNameBytes
Specifies the IP tag name to apply.
string ip_tag_name = 1;- Parameters:
value- The bytes for ipTagName to set.- Returns:
- This builder for chaining.
-
getIpListList
A list of IP address subnets that will be tagged with ip_tag_name. Both IPv4 and IPv6 are supported.
repeated .envoy.config.core.v3.CidrRange ip_list = 2;- Specified by:
getIpListListin interfaceIPTagging.IPTagOrBuilder
-
getIpListCount
public int getIpListCount()A list of IP address subnets that will be tagged with ip_tag_name. Both IPv4 and IPv6 are supported.
repeated .envoy.config.core.v3.CidrRange ip_list = 2;- Specified by:
getIpListCountin interfaceIPTagging.IPTagOrBuilder
-
getIpList
A list of IP address subnets that will be tagged with ip_tag_name. Both IPv4 and IPv6 are supported.
repeated .envoy.config.core.v3.CidrRange ip_list = 2;- Specified by:
getIpListin interfaceIPTagging.IPTagOrBuilder
-
setIpList
A list of IP address subnets that will be tagged with ip_tag_name. Both IPv4 and IPv6 are supported.
repeated .envoy.config.core.v3.CidrRange ip_list = 2; -
setIpList
A list of IP address subnets that will be tagged with ip_tag_name. Both IPv4 and IPv6 are supported.
repeated .envoy.config.core.v3.CidrRange ip_list = 2; -
addIpList
A list of IP address subnets that will be tagged with ip_tag_name. Both IPv4 and IPv6 are supported.
repeated .envoy.config.core.v3.CidrRange ip_list = 2; -
addIpList
A list of IP address subnets that will be tagged with ip_tag_name. Both IPv4 and IPv6 are supported.
repeated .envoy.config.core.v3.CidrRange ip_list = 2; -
addIpList
A list of IP address subnets that will be tagged with ip_tag_name. Both IPv4 and IPv6 are supported.
repeated .envoy.config.core.v3.CidrRange ip_list = 2; -
addIpList
A list of IP address subnets that will be tagged with ip_tag_name. Both IPv4 and IPv6 are supported.
repeated .envoy.config.core.v3.CidrRange ip_list = 2; -
addAllIpList
A list of IP address subnets that will be tagged with ip_tag_name. Both IPv4 and IPv6 are supported.
repeated .envoy.config.core.v3.CidrRange ip_list = 2; -
clearIpList
A list of IP address subnets that will be tagged with ip_tag_name. Both IPv4 and IPv6 are supported.
repeated .envoy.config.core.v3.CidrRange ip_list = 2; -
removeIpList
A list of IP address subnets that will be tagged with ip_tag_name. Both IPv4 and IPv6 are supported.
repeated .envoy.config.core.v3.CidrRange ip_list = 2; -
getIpListBuilder
A list of IP address subnets that will be tagged with ip_tag_name. Both IPv4 and IPv6 are supported.
repeated .envoy.config.core.v3.CidrRange ip_list = 2; -
getIpListOrBuilder
A list of IP address subnets that will be tagged with ip_tag_name. Both IPv4 and IPv6 are supported.
repeated .envoy.config.core.v3.CidrRange ip_list = 2;- Specified by:
getIpListOrBuilderin interfaceIPTagging.IPTagOrBuilder
-
getIpListOrBuilderList
A list of IP address subnets that will be tagged with ip_tag_name. Both IPv4 and IPv6 are supported.
repeated .envoy.config.core.v3.CidrRange ip_list = 2;- Specified by:
getIpListOrBuilderListin interfaceIPTagging.IPTagOrBuilder
-
addIpListBuilder
A list of IP address subnets that will be tagged with ip_tag_name. Both IPv4 and IPv6 are supported.
repeated .envoy.config.core.v3.CidrRange ip_list = 2; -
addIpListBuilder
A list of IP address subnets that will be tagged with ip_tag_name. Both IPv4 and IPv6 are supported.
repeated .envoy.config.core.v3.CidrRange ip_list = 2; -
getIpListBuilderList
A list of IP address subnets that will be tagged with ip_tag_name. Both IPv4 and IPv6 are supported.
repeated .envoy.config.core.v3.CidrRange ip_list = 2; -
setUnknownFields
public final IPTagging.IPTag.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<IPTagging.IPTag.Builder>
-
mergeUnknownFields
public final IPTagging.IPTag.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<IPTagging.IPTag.Builder>
-