Package io.envoyproxy.envoy.type.http.v3
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 TypeMethodDescriptiongetName()The name that will be used to obtain cookie value from downstream HTTP request or generate new cookie for downstream.com.google.protobuf.ByteStringThe name that will be used to obtain cookie value from downstream HTTP request or generate new cookie for downstream.getPath()Path of cookie.com.google.protobuf.ByteStringPath of cookie.com.google.protobuf.DurationgetTtl()Duration of cookie.com.google.protobuf.DurationOrBuilderDuration of cookie.booleanhasTtl()Duration of cookie.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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.
-