Interface RouteAction.HashPolicy.CookieOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
RouteAction.HashPolicy.Cookie, RouteAction.HashPolicy.Cookie.Builder
Enclosing class:
RouteAction.HashPolicy

public static interface RouteAction.HashPolicy.CookieOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • 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.
    • getAttributesList

       Additional attributes for the cookie. They will be used when generating a new cookie.
       
      repeated .envoy.config.route.v3.RouteAction.HashPolicy.CookieAttribute attributes = 4;
    • getAttributes

      RouteAction.HashPolicy.CookieAttribute getAttributes(int index)
       Additional attributes for the cookie. They will be used when generating a new cookie.
       
      repeated .envoy.config.route.v3.RouteAction.HashPolicy.CookieAttribute attributes = 4;
    • getAttributesCount

      int getAttributesCount()
       Additional attributes for the cookie. They will be used when generating a new cookie.
       
      repeated .envoy.config.route.v3.RouteAction.HashPolicy.CookieAttribute attributes = 4;
    • getAttributesOrBuilderList

      List<? extends RouteAction.HashPolicy.CookieAttributeOrBuilder> getAttributesOrBuilderList()
       Additional attributes for the cookie. They will be used when generating a new cookie.
       
      repeated .envoy.config.route.v3.RouteAction.HashPolicy.CookieAttribute attributes = 4;
    • getAttributesOrBuilder

      RouteAction.HashPolicy.CookieAttributeOrBuilder getAttributesOrBuilder(int index)
       Additional attributes for the cookie. They will be used when generating a new cookie.
       
      repeated .envoy.config.route.v3.RouteAction.HashPolicy.CookieAttribute attributes = 4;