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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<IPTagging.IPTag.Builder>
    • clear

      public IPTagging.IPTag.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<IPTagging.IPTag.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<IPTagging.IPTag.Builder>
    • getDefaultInstanceForType

      public IPTagging.IPTag getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public IPTagging.IPTag build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public IPTagging.IPTag buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      public IPTagging.IPTag.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<IPTagging.IPTag.Builder>
    • setField

      public IPTagging.IPTag.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<IPTagging.IPTag.Builder>
    • clearField

      public IPTagging.IPTag.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<IPTagging.IPTag.Builder>
    • clearOneof

      public IPTagging.IPTag.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.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:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<IPTagging.IPTag.Builder>
    • addRepeatedField

      public IPTagging.IPTag.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<IPTagging.IPTag.Builder>
    • mergeFrom

      public IPTagging.IPTag.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<IPTagging.IPTag.Builder>
    • mergeFrom

      public IPTagging.IPTag.Builder mergeFrom(IPTagging.IPTag other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.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:
      getIpTagName in interface IPTagging.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:
      getIpTagNameBytes in interface IPTagging.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.config.core.v3.CidrRange ip_list = 2;
      Specified by:
      getIpListList in interface IPTagging.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:
      getIpListCount in interface IPTagging.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.config.core.v3.CidrRange ip_list = 2;
      Specified by:
      getIpList in interface IPTagging.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.config.core.v3.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.config.core.v3.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.config.core.v3.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.config.core.v3.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.config.core.v3.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.config.core.v3.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.config.core.v3.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.config.core.v3.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.config.core.v3.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.config.core.v3.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.config.core.v3.CidrRange ip_list = 2;
      Specified by:
      getIpListOrBuilder in interface IPTagging.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.config.core.v3.CidrRange ip_list = 2;
      Specified by:
      getIpListOrBuilderList in interface IPTagging.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.config.core.v3.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.config.core.v3.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.config.core.v3.CidrRange ip_list = 2;
    • setUnknownFields

      public final IPTagging.IPTag.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<IPTagging.IPTag.Builder>
    • mergeUnknownFields

      public final IPTagging.IPTag.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<IPTagging.IPTag.Builder>