Interface RateLimit.Action.MaskedRemoteAddressOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      com.google.protobuf.UInt32Value getV4PrefixMaskLen()
      Length of prefix mask len for IPv4 (e.g.
      com.google.protobuf.UInt32ValueOrBuilder getV4PrefixMaskLenOrBuilder()
      Length of prefix mask len for IPv4 (e.g.
      com.google.protobuf.UInt32Value getV6PrefixMaskLen()
      Length of prefix mask len for IPv6 (e.g.
      com.google.protobuf.UInt32ValueOrBuilder getV6PrefixMaskLenOrBuilder()
      Length of prefix mask len for IPv6 (e.g.
      boolean hasV4PrefixMaskLen()
      Length of prefix mask len for IPv4 (e.g.
      boolean hasV6PrefixMaskLen()
      Length of prefix mask len for IPv6 (e.g.
      • 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

      • hasV4PrefixMaskLen

        boolean hasV4PrefixMaskLen()
         Length of prefix mask len for IPv4 (e.g. 0, 32).
         Defaults to 32 when unset.
         For example, trusted address from x-forwarded-for is ``192.168.1.1``,
         the descriptor entry is ("masked_remote_address", "192.168.1.1/32");
         if mask len is 24, the descriptor entry is ("masked_remote_address", "192.168.1.0/24").
         
        .google.protobuf.UInt32Value v4_prefix_mask_len = 1 [(.validate.rules) = { ... }
        Returns:
        Whether the v4PrefixMaskLen field is set.
      • getV4PrefixMaskLen

        com.google.protobuf.UInt32Value getV4PrefixMaskLen()
         Length of prefix mask len for IPv4 (e.g. 0, 32).
         Defaults to 32 when unset.
         For example, trusted address from x-forwarded-for is ``192.168.1.1``,
         the descriptor entry is ("masked_remote_address", "192.168.1.1/32");
         if mask len is 24, the descriptor entry is ("masked_remote_address", "192.168.1.0/24").
         
        .google.protobuf.UInt32Value v4_prefix_mask_len = 1 [(.validate.rules) = { ... }
        Returns:
        The v4PrefixMaskLen.
      • getV4PrefixMaskLenOrBuilder

        com.google.protobuf.UInt32ValueOrBuilder getV4PrefixMaskLenOrBuilder()
         Length of prefix mask len for IPv4 (e.g. 0, 32).
         Defaults to 32 when unset.
         For example, trusted address from x-forwarded-for is ``192.168.1.1``,
         the descriptor entry is ("masked_remote_address", "192.168.1.1/32");
         if mask len is 24, the descriptor entry is ("masked_remote_address", "192.168.1.0/24").
         
        .google.protobuf.UInt32Value v4_prefix_mask_len = 1 [(.validate.rules) = { ... }
      • hasV6PrefixMaskLen

        boolean hasV6PrefixMaskLen()
         Length of prefix mask len for IPv6 (e.g. 0, 128).
         Defaults to 128 when unset.
         For example, trusted address from x-forwarded-for is ``2001:abcd:ef01:2345:6789:abcd:ef01:234``,
         the descriptor entry is ("masked_remote_address", "2001:abcd:ef01:2345:6789:abcd:ef01:234/128");
         if mask len is 64, the descriptor entry is ("masked_remote_address", "2001:abcd:ef01:2345::/64").
         
        .google.protobuf.UInt32Value v6_prefix_mask_len = 2 [(.validate.rules) = { ... }
        Returns:
        Whether the v6PrefixMaskLen field is set.
      • getV6PrefixMaskLen

        com.google.protobuf.UInt32Value getV6PrefixMaskLen()
         Length of prefix mask len for IPv6 (e.g. 0, 128).
         Defaults to 128 when unset.
         For example, trusted address from x-forwarded-for is ``2001:abcd:ef01:2345:6789:abcd:ef01:234``,
         the descriptor entry is ("masked_remote_address", "2001:abcd:ef01:2345:6789:abcd:ef01:234/128");
         if mask len is 64, the descriptor entry is ("masked_remote_address", "2001:abcd:ef01:2345::/64").
         
        .google.protobuf.UInt32Value v6_prefix_mask_len = 2 [(.validate.rules) = { ... }
        Returns:
        The v6PrefixMaskLen.
      • getV6PrefixMaskLenOrBuilder

        com.google.protobuf.UInt32ValueOrBuilder getV6PrefixMaskLenOrBuilder()
         Length of prefix mask len for IPv6 (e.g. 0, 128).
         Defaults to 128 when unset.
         For example, trusted address from x-forwarded-for is ``2001:abcd:ef01:2345:6789:abcd:ef01:234``,
         the descriptor entry is ("masked_remote_address", "2001:abcd:ef01:2345:6789:abcd:ef01:234/128");
         if mask len is 64, the descriptor entry is ("masked_remote_address", "2001:abcd:ef01:2345::/64").
         
        .google.protobuf.UInt32Value v6_prefix_mask_len = 2 [(.validate.rules) = { ... }