Interface CookieOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Cookie, Cookie.Builder

public interface CookieOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    getAttributes(int index)
    Additional attributes for the cookie.
    int
    Additional attributes for the cookie.
    Additional attributes for the cookie.
    Additional attributes for the cookie.
    Additional attributes for the cookie.
    The name that will be used to obtain cookie value from downstream HTTP request or generate new cookie for downstream.
    com.google.protobuf.ByteString
    The name that will be used to obtain cookie value from downstream HTTP request or generate new cookie for downstream.
    Path of cookie.
    com.google.protobuf.ByteString
    Path of cookie.
    com.google.protobuf.Duration
    Duration of cookie.
    com.google.protobuf.DurationOrBuilder
    Duration of cookie.
    boolean
    Duration of cookie.

    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 Details

    • getName

      String getName()
       The name that will be used to obtain cookie value from downstream HTTP request or generate
       new cookie for downstream.
       
      string name = 1 [(.validate.rules) = { ... }
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       The name that will be used to obtain cookie value from downstream HTTP request or generate
       new cookie for downstream.
       
      string name = 1 [(.validate.rules) = { ... }
      Returns:
      The bytes for name.
    • hasTtl

      boolean hasTtl()
       Duration of cookie. This will be used to set the expiry time of a new cookie when it is
       generated. Set this to 0s to use a session cookie and disable cookie expiration.
       
      .google.protobuf.Duration ttl = 2 [(.validate.rules) = { ... }
      Returns:
      Whether the ttl field is set.
    • getTtl

      com.google.protobuf.Duration getTtl()
       Duration of cookie. This will be used to set the expiry time of a new cookie when it is
       generated. Set this to 0s to use a session cookie and disable cookie expiration.
       
      .google.protobuf.Duration ttl = 2 [(.validate.rules) = { ... }
      Returns:
      The ttl.
    • getTtlOrBuilder

      com.google.protobuf.DurationOrBuilder getTtlOrBuilder()
       Duration of cookie. This will be used to set the expiry time of a new cookie when it is
       generated. Set this to 0s to use a session cookie and disable cookie expiration.
       
      .google.protobuf.Duration ttl = 2 [(.validate.rules) = { ... }
    • getPath

      String getPath()
       Path of cookie. This will be used to set the path of a new cookie when it is generated.
       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()
       Path of cookie. This will be used to set the path of a new cookie when it is generated.
       If no path is specified here, no path will be set for the cookie.
       
      string path = 3;
      Returns:
      The bytes for path.
    • getAttributesList

      List<CookieAttribute> getAttributesList()
       Additional attributes for the cookie. They will be used when generating a new cookie.
       
      repeated .envoy.type.http.v3.CookieAttribute attributes = 4;
    • getAttributes

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

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

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

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