Interface UdpProxyConfig.HashPolicyOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getKey()
      A given key will be used to compute the hash used by hash-based load balancing algorithms.
      com.google.protobuf.ByteString getKeyBytes()
      A given key will be used to compute the hash used by hash-based load balancing algorithms.
      UdpProxyConfig.HashPolicy.PolicySpecifierCase getPolicySpecifierCase()  
      boolean getSourceIp()
      The source IP will be used to compute the hash used by hash-based load balancing algorithms.
      boolean hasKey()
      A given key will be used to compute the hash used by hash-based load balancing algorithms.
      boolean hasSourceIp()
      The source IP will be used to compute the hash used by hash-based load balancing algorithms.
      • 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

      • hasSourceIp

        boolean hasSourceIp()
         The source IP will be used to compute the hash used by hash-based load balancing algorithms.
         
        bool source_ip = 1 [(.validate.rules) = { ... }
        Returns:
        Whether the sourceIp field is set.
      • getSourceIp

        boolean getSourceIp()
         The source IP will be used to compute the hash used by hash-based load balancing algorithms.
         
        bool source_ip = 1 [(.validate.rules) = { ... }
        Returns:
        The sourceIp.
      • hasKey

        boolean hasKey()
         A given key will be used to compute the hash used by hash-based load balancing algorithms.
         In certain cases there is a need to direct different UDP streams jointly towards the selected set of endpoints.
         A possible use-case is VoIP telephony, where media (RTP) and its corresponding control (RTCP) belong to the same logical session,
         although they travel in separate streams. To ensure that these pair of streams are load-balanced on session level
         (instead of individual stream level), dynamically created listeners can use the same hash key for each stream in the session.
         
        string key = 2 [(.validate.rules) = { ... }
        Returns:
        Whether the key field is set.
      • getKey

        String getKey()
         A given key will be used to compute the hash used by hash-based load balancing algorithms.
         In certain cases there is a need to direct different UDP streams jointly towards the selected set of endpoints.
         A possible use-case is VoIP telephony, where media (RTP) and its corresponding control (RTCP) belong to the same logical session,
         although they travel in separate streams. To ensure that these pair of streams are load-balanced on session level
         (instead of individual stream level), dynamically created listeners can use the same hash key for each stream in the session.
         
        string key = 2 [(.validate.rules) = { ... }
        Returns:
        The key.
      • getKeyBytes

        com.google.protobuf.ByteString getKeyBytes()
         A given key will be used to compute the hash used by hash-based load balancing algorithms.
         In certain cases there is a need to direct different UDP streams jointly towards the selected set of endpoints.
         A possible use-case is VoIP telephony, where media (RTP) and its corresponding control (RTCP) belong to the same logical session,
         although they travel in separate streams. To ensure that these pair of streams are load-balanced on session level
         (instead of individual stream level), dynamically created listeners can use the same hash key for each stream in the session.
         
        string key = 2 [(.validate.rules) = { ... }
        Returns:
        The bytes for key.