Class RouterBgpPeerCustomLearnedIpRange.Builder

    • Method Detail

      • 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<RouterBgpPeerCustomLearnedIpRange.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<RouterBgpPeerCustomLearnedIpRange.Builder>
      • getDefaultInstanceForType

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

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

        public RouterBgpPeerCustomLearnedIpRange buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<RouterBgpPeerCustomLearnedIpRange.Builder>
      • hasRange

        public boolean hasRange()
         The custom learned route IP address range. Must be a valid CIDR-formatted prefix. If an IP address is provided without a subnet mask, it is interpreted as, for IPv4, a `/32` singular IP address range, and, for IPv6, `/128`.
         
        optional string range = 108280125;
        Specified by:
        hasRange in interface RouterBgpPeerCustomLearnedIpRangeOrBuilder
        Returns:
        Whether the range field is set.
      • getRange

        public String getRange()
         The custom learned route IP address range. Must be a valid CIDR-formatted prefix. If an IP address is provided without a subnet mask, it is interpreted as, for IPv4, a `/32` singular IP address range, and, for IPv6, `/128`.
         
        optional string range = 108280125;
        Specified by:
        getRange in interface RouterBgpPeerCustomLearnedIpRangeOrBuilder
        Returns:
        The range.
      • getRangeBytes

        public com.google.protobuf.ByteString getRangeBytes()
         The custom learned route IP address range. Must be a valid CIDR-formatted prefix. If an IP address is provided without a subnet mask, it is interpreted as, for IPv4, a `/32` singular IP address range, and, for IPv6, `/128`.
         
        optional string range = 108280125;
        Specified by:
        getRangeBytes in interface RouterBgpPeerCustomLearnedIpRangeOrBuilder
        Returns:
        The bytes for range.
      • setRange

        public RouterBgpPeerCustomLearnedIpRange.Builder setRange​(String value)
         The custom learned route IP address range. Must be a valid CIDR-formatted prefix. If an IP address is provided without a subnet mask, it is interpreted as, for IPv4, a `/32` singular IP address range, and, for IPv6, `/128`.
         
        optional string range = 108280125;
        Parameters:
        value - The range to set.
        Returns:
        This builder for chaining.
      • clearRange

        public RouterBgpPeerCustomLearnedIpRange.Builder clearRange()
         The custom learned route IP address range. Must be a valid CIDR-formatted prefix. If an IP address is provided without a subnet mask, it is interpreted as, for IPv4, a `/32` singular IP address range, and, for IPv6, `/128`.
         
        optional string range = 108280125;
        Returns:
        This builder for chaining.
      • setRangeBytes

        public RouterBgpPeerCustomLearnedIpRange.Builder setRangeBytes​(com.google.protobuf.ByteString value)
         The custom learned route IP address range. Must be a valid CIDR-formatted prefix. If an IP address is provided without a subnet mask, it is interpreted as, for IPv4, a `/32` singular IP address range, and, for IPv6, `/128`.
         
        optional string range = 108280125;
        Parameters:
        value - The bytes for range to set.
        Returns:
        This builder for chaining.