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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetName()The name that will be used to obtain cookie value from downstream HTTP request or generate new cookie for downstream.com.google.protobuf.ByteStringgetNameBytes()The name that will be used to obtain cookie value from downstream HTTP request or generate new cookie for downstream.StringgetPath()Path of cookie.com.google.protobuf.ByteStringgetPathBytes()Path of cookie.com.google.protobuf.DurationgetTtl()Duration of cookie.com.google.protobuf.DurationOrBuildergetTtlOrBuilder()Duration of cookie.booleanhasTtl()Duration of cookie.-
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 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 0 to use a session cookie.
.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 0 to use a session cookie.
.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 0 to use a session cookie.
.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.
-
-