Interface Generated.IPBlockOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    Generated.IPBlock, Generated.IPBlock.Builder
    Enclosing class:
    Generated

    public static interface Generated.IPBlockOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getCidr()
      cidr is a string representing the IPBlock Valid examples are "192.168.1.0/24" or "2001:db8::/64"
      com.google.protobuf.ByteString getCidrBytes()
      cidr is a string representing the IPBlock Valid examples are "192.168.1.0/24" or "2001:db8::/64"
      String getExcept​(int index)
      except is a slice of CIDRs that should not be included within an IPBlock Valid examples are "192.168.1.0/24" or "2001:db8::/64" Except values will be rejected if they are outside the cidr range +optional +listType=atomic
      com.google.protobuf.ByteString getExceptBytes​(int index)
      except is a slice of CIDRs that should not be included within an IPBlock Valid examples are "192.168.1.0/24" or "2001:db8::/64" Except values will be rejected if they are outside the cidr range +optional +listType=atomic
      int getExceptCount()
      except is a slice of CIDRs that should not be included within an IPBlock Valid examples are "192.168.1.0/24" or "2001:db8::/64" Except values will be rejected if they are outside the cidr range +optional +listType=atomic
      List<String> getExceptList()
      except is a slice of CIDRs that should not be included within an IPBlock Valid examples are "192.168.1.0/24" or "2001:db8::/64" Except values will be rejected if they are outside the cidr range +optional +listType=atomic
      boolean hasCidr()
      cidr is a string representing the IPBlock Valid examples are "192.168.1.0/24" or "2001:db8::/64"
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • hasCidr

        boolean hasCidr()
         cidr is a string representing the IPBlock
         Valid examples are "192.168.1.0/24" or "2001:db8::/64"
         
        optional string cidr = 1;
        Returns:
        Whether the cidr field is set.
      • getCidr

        String getCidr()
         cidr is a string representing the IPBlock
         Valid examples are "192.168.1.0/24" or "2001:db8::/64"
         
        optional string cidr = 1;
        Returns:
        The cidr.
      • getCidrBytes

        com.google.protobuf.ByteString getCidrBytes()
         cidr is a string representing the IPBlock
         Valid examples are "192.168.1.0/24" or "2001:db8::/64"
         
        optional string cidr = 1;
        Returns:
        The bytes for cidr.
      • getExceptList

        List<String> getExceptList()
         except is a slice of CIDRs that should not be included within an IPBlock
         Valid examples are "192.168.1.0/24" or "2001:db8::/64"
         Except values will be rejected if they are outside the cidr range
         +optional
         +listType=atomic
         
        repeated string except = 2;
        Returns:
        A list containing the except.
      • getExceptCount

        int getExceptCount()
         except is a slice of CIDRs that should not be included within an IPBlock
         Valid examples are "192.168.1.0/24" or "2001:db8::/64"
         Except values will be rejected if they are outside the cidr range
         +optional
         +listType=atomic
         
        repeated string except = 2;
        Returns:
        The count of except.
      • getExcept

        String getExcept​(int index)
         except is a slice of CIDRs that should not be included within an IPBlock
         Valid examples are "192.168.1.0/24" or "2001:db8::/64"
         Except values will be rejected if they are outside the cidr range
         +optional
         +listType=atomic
         
        repeated string except = 2;
        Parameters:
        index - The index of the element to return.
        Returns:
        The except at the given index.
      • getExceptBytes

        com.google.protobuf.ByteString getExceptBytes​(int index)
         except is a slice of CIDRs that should not be included within an IPBlock
         Valid examples are "192.168.1.0/24" or "2001:db8::/64"
         Except values will be rejected if they are outside the cidr range
         +optional
         +listType=atomic
         
        repeated string except = 2;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the except at the given index.