Class IPTagging.IPTag.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<IPTagging.IPTag.Builder>
-
- io.envoyproxy.envoy.config.filter.http.ip_tagging.v2.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 typeenvoy.config.filter.http.ip_tagging.v2.IPTagging.IPTag
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description IPTagging.IPTag.BuilderaddAllIpList(Iterable<? extends CidrRange> values)A list of IP address subnets that will be tagged with ip_tag_name.IPTagging.IPTag.BuilderaddIpList(int index, CidrRange value)A list of IP address subnets that will be tagged with ip_tag_name.IPTagging.IPTag.BuilderaddIpList(int index, CidrRange.Builder builderForValue)A list of IP address subnets that will be tagged with ip_tag_name.IPTagging.IPTag.BuilderaddIpList(CidrRange value)A list of IP address subnets that will be tagged with ip_tag_name.IPTagging.IPTag.BuilderaddIpList(CidrRange.Builder builderForValue)A list of IP address subnets that will be tagged with ip_tag_name.CidrRange.BuilderaddIpListBuilder()A list of IP address subnets that will be tagged with ip_tag_name.CidrRange.BuilderaddIpListBuilder(int index)A list of IP address subnets that will be tagged with ip_tag_name.IPTagging.IPTag.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)IPTagging.IPTagbuild()IPTagging.IPTagbuildPartial()IPTagging.IPTag.Builderclear()IPTagging.IPTag.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)IPTagging.IPTag.BuilderclearIpList()A list of IP address subnets that will be tagged with ip_tag_name.IPTagging.IPTag.BuilderclearIpTagName()Specifies the IP tag name to apply.IPTagging.IPTag.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)IPTagging.IPTag.Builderclone()IPTagging.IPTaggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()CidrRangegetIpList(int index)A list of IP address subnets that will be tagged with ip_tag_name.CidrRange.BuildergetIpListBuilder(int index)A list of IP address subnets that will be tagged with ip_tag_name.List<CidrRange.Builder>getIpListBuilderList()A list of IP address subnets that will be tagged with ip_tag_name.intgetIpListCount()A list of IP address subnets that will be tagged with ip_tag_name.List<CidrRange>getIpListList()A list of IP address subnets that will be tagged with ip_tag_name.CidrRangeOrBuildergetIpListOrBuilder(int index)A list of IP address subnets that will be tagged with ip_tag_name.List<? extends CidrRangeOrBuilder>getIpListOrBuilderList()A list of IP address subnets that will be tagged with ip_tag_name.StringgetIpTagName()Specifies the IP tag name to apply.com.google.protobuf.ByteStringgetIpTagNameBytes()Specifies the IP tag name to apply.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()IPTagging.IPTag.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)IPTagging.IPTag.BuildermergeFrom(com.google.protobuf.Message other)IPTagging.IPTag.BuildermergeFrom(IPTagging.IPTag other)IPTagging.IPTag.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)IPTagging.IPTag.BuilderremoveIpList(int index)A list of IP address subnets that will be tagged with ip_tag_name.IPTagging.IPTag.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)IPTagging.IPTag.BuildersetIpList(int index, CidrRange value)A list of IP address subnets that will be tagged with ip_tag_name.IPTagging.IPTag.BuildersetIpList(int index, CidrRange.Builder builderForValue)A list of IP address subnets that will be tagged with ip_tag_name.IPTagging.IPTag.BuildersetIpTagName(String value)Specifies the IP tag name to apply.IPTagging.IPTag.BuildersetIpTagNameBytes(com.google.protobuf.ByteString value)Specifies the IP tag name to apply.IPTagging.IPTag.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)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, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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
public 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
public IPTagging.IPTag getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public IPTagging.IPTag build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public IPTagging.IPTag buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public IPTagging.IPTag.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
public IPTagging.IPTag.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<IPTagging.IPTag.Builder>
-
clearOneof
public IPTagging.IPTag.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- 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
public IPTagging.IPTag.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<IPTagging.IPTag.Builder>
-
mergeFrom
public IPTagging.IPTag.Builder mergeFrom(IPTagging.IPTag other)
-
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
public String 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
public IPTagging.IPTag.Builder setIpTagName(String value)
Specifies the IP tag name to apply.
string ip_tag_name = 1;- Parameters:
value- The ipTagName to set.- Returns:
- This builder for chaining.
-
clearIpTagName
public IPTagging.IPTag.Builder clearIpTagName()
Specifies the IP tag name to apply.
string ip_tag_name = 1;- Returns:
- This builder for chaining.
-
setIpTagNameBytes
public IPTagging.IPTag.Builder setIpTagNameBytes(com.google.protobuf.ByteString value)
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
public List<CidrRange> getIpListList()
A list of IP address subnets that will be tagged with ip_tag_name. Both IPv4 and IPv6 are supported.
repeated .envoy.api.v2.core.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.api.v2.core.CidrRange ip_list = 2;- Specified by:
getIpListCountin interfaceIPTagging.IPTagOrBuilder
-
getIpList
public CidrRange getIpList(int index)
A list of IP address subnets that will be tagged with ip_tag_name. Both IPv4 and IPv6 are supported.
repeated .envoy.api.v2.core.CidrRange ip_list = 2;- Specified by:
getIpListin interfaceIPTagging.IPTagOrBuilder
-
setIpList
public IPTagging.IPTag.Builder setIpList(int index, CidrRange value)
A list of IP address subnets that will be tagged with ip_tag_name. Both IPv4 and IPv6 are supported.
repeated .envoy.api.v2.core.CidrRange ip_list = 2;
-
setIpList
public IPTagging.IPTag.Builder setIpList(int index, CidrRange.Builder builderForValue)
A list of IP address subnets that will be tagged with ip_tag_name. Both IPv4 and IPv6 are supported.
repeated .envoy.api.v2.core.CidrRange ip_list = 2;
-
addIpList
public IPTagging.IPTag.Builder addIpList(CidrRange value)
A list of IP address subnets that will be tagged with ip_tag_name. Both IPv4 and IPv6 are supported.
repeated .envoy.api.v2.core.CidrRange ip_list = 2;
-
addIpList
public IPTagging.IPTag.Builder addIpList(int index, CidrRange value)
A list of IP address subnets that will be tagged with ip_tag_name. Both IPv4 and IPv6 are supported.
repeated .envoy.api.v2.core.CidrRange ip_list = 2;
-
addIpList
public IPTagging.IPTag.Builder addIpList(CidrRange.Builder builderForValue)
A list of IP address subnets that will be tagged with ip_tag_name. Both IPv4 and IPv6 are supported.
repeated .envoy.api.v2.core.CidrRange ip_list = 2;
-
addIpList
public IPTagging.IPTag.Builder addIpList(int index, CidrRange.Builder builderForValue)
A list of IP address subnets that will be tagged with ip_tag_name. Both IPv4 and IPv6 are supported.
repeated .envoy.api.v2.core.CidrRange ip_list = 2;
-
addAllIpList
public IPTagging.IPTag.Builder addAllIpList(Iterable<? extends CidrRange> values)
A list of IP address subnets that will be tagged with ip_tag_name. Both IPv4 and IPv6 are supported.
repeated .envoy.api.v2.core.CidrRange ip_list = 2;
-
clearIpList
public IPTagging.IPTag.Builder clearIpList()
A list of IP address subnets that will be tagged with ip_tag_name. Both IPv4 and IPv6 are supported.
repeated .envoy.api.v2.core.CidrRange ip_list = 2;
-
removeIpList
public IPTagging.IPTag.Builder removeIpList(int index)
A list of IP address subnets that will be tagged with ip_tag_name. Both IPv4 and IPv6 are supported.
repeated .envoy.api.v2.core.CidrRange ip_list = 2;
-
getIpListBuilder
public CidrRange.Builder getIpListBuilder(int index)
A list of IP address subnets that will be tagged with ip_tag_name. Both IPv4 and IPv6 are supported.
repeated .envoy.api.v2.core.CidrRange ip_list = 2;
-
getIpListOrBuilder
public CidrRangeOrBuilder getIpListOrBuilder(int index)
A list of IP address subnets that will be tagged with ip_tag_name. Both IPv4 and IPv6 are supported.
repeated .envoy.api.v2.core.CidrRange ip_list = 2;- Specified by:
getIpListOrBuilderin interfaceIPTagging.IPTagOrBuilder
-
getIpListOrBuilderList
public List<? extends CidrRangeOrBuilder> getIpListOrBuilderList()
A list of IP address subnets that will be tagged with ip_tag_name. Both IPv4 and IPv6 are supported.
repeated .envoy.api.v2.core.CidrRange ip_list = 2;- Specified by:
getIpListOrBuilderListin interfaceIPTagging.IPTagOrBuilder
-
addIpListBuilder
public CidrRange.Builder addIpListBuilder()
A list of IP address subnets that will be tagged with ip_tag_name. Both IPv4 and IPv6 are supported.
repeated .envoy.api.v2.core.CidrRange ip_list = 2;
-
addIpListBuilder
public CidrRange.Builder addIpListBuilder(int index)
A list of IP address subnets that will be tagged with ip_tag_name. Both IPv4 and IPv6 are supported.
repeated .envoy.api.v2.core.CidrRange ip_list = 2;
-
getIpListBuilderList
public List<CidrRange.Builder> getIpListBuilderList()
A list of IP address subnets that will be tagged with ip_tag_name. Both IPv4 and IPv6 are supported.
repeated .envoy.api.v2.core.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>
-
-