Interface RouteAction.HashPolicy.CookieOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getName()
      The name of the cookie that will be used to obtain the hash key.
      com.google.protobuf.ByteString getNameBytes()
      The name of the cookie that will be used to obtain the hash key.
      String getPath()
      The name of the path for the cookie.
      com.google.protobuf.ByteString getPathBytes()
      The name of the path for the cookie.
      com.google.protobuf.Duration getTtl()
      If specified, a cookie with the TTL will be generated if the cookie is not present.
      com.google.protobuf.DurationOrBuilder getTtlOrBuilder()
      If specified, a cookie with the TTL will be generated if the cookie is not present.
      boolean hasTtl()
      If specified, a cookie with the TTL will be generated if the cookie is not present.
      • 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

      • getName

        String getName()
         The name of the cookie that will be used to obtain the hash key. If the
         cookie is not present and ttl below is not set, no hash will be
         produced.
         
        string name = 1 [(.validate.rules) = { ... }
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         The name of the cookie that will be used to obtain the hash key. If the
         cookie is not present and ttl below is not set, no hash will be
         produced.
         
        string name = 1 [(.validate.rules) = { ... }
        Returns:
        The bytes for name.
      • hasTtl

        boolean hasTtl()
         If specified, a cookie with the TTL will be generated if the cookie is
         not present. If the TTL is present and zero, the generated cookie will
         be a session cookie.
         
        .google.protobuf.Duration ttl = 2;
        Returns:
        Whether the ttl field is set.
      • getTtl

        com.google.protobuf.Duration getTtl()
         If specified, a cookie with the TTL will be generated if the cookie is
         not present. If the TTL is present and zero, the generated cookie will
         be a session cookie.
         
        .google.protobuf.Duration ttl = 2;
        Returns:
        The ttl.
      • getTtlOrBuilder

        com.google.protobuf.DurationOrBuilder getTtlOrBuilder()
         If specified, a cookie with the TTL will be generated if the cookie is
         not present. If the TTL is present and zero, the generated cookie will
         be a session cookie.
         
        .google.protobuf.Duration ttl = 2;
      • getPath

        String getPath()
         The name of the path for the cookie. If no path is specified here, no path
         will be set for the cookie.
         
        string path = 3;
        Returns:
        The path.
      • getPathBytes

        com.google.protobuf.ByteString getPathBytes()
         The name of the path for the cookie. If no path is specified here, no path
         will be set for the cookie.
         
        string path = 3;
        Returns:
        The bytes for path.