Cookie

class Cookie : GeneratedMessage, Context.CookieOrBuilder
HTTP cookies to set on the response, including the content of each cookie, name, and any flags.
Protobuf type elide.page.Context.Cookie

Types

Link copied to clipboard
class Builder : GeneratedMessage.Builder<BuilderT> , Context.CookieOrBuilder
HTTP cookies to set on the response, including the content of each cookie, name, and any flags.
Protobuf type elide.page.Context.Cookie
Link copied to clipboard
enum ExpirationStrategyCase : Internal.EnumLite, AbstractMessageLite.InternalOneOfEnum
Link copied to clipboard
enum SameSitePolicy : ProtocolMessageEnum
Enumerates options for same-site cookie policies.
Protobuf enum elide.page.Context.Cookie.SameSitePolicy

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
open fun equals(obj: Any): Boolean
Link copied to clipboard
Link copied to clipboard
open fun getAbsoluteExpire(): Timestamp
Sets an absolute time-point value for cookie expiration.
.google.protobuf.Timestamp absolute_expire = 6;
Link copied to clipboard
open fun getAbsoluteExpireOrBuilder(): TimestampOrBuilder
Sets an absolute time-point value for cookie expiration.
.google.protobuf.Timestamp absolute_expire = 6;
Link copied to clipboard
open fun getAllFields(): Map<Descriptors.FieldDescriptor, Any>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun getDescriptor(): Descriptors.Descriptor
Link copied to clipboard
open fun getDescriptorForType(): Descriptors.Descriptor
Link copied to clipboard
open fun getDomain(): String
Domain value of the cookie to set. Optional.
string domain = 3;
Link copied to clipboard
open fun getDomainBytes(): ByteString
Domain value of the cookie to set. Optional.
string domain = 3;
Link copied to clipboard
open fun getField(field: Descriptors.FieldDescriptor): Any
Link copied to clipboard
open fun getHttpOnly(): Boolean
`HttpOnly` flag for the cookie.
bool http_only = 9;
Link copied to clipboard
Immediately expire the cookie.
bool immediate_expire = 5;
Link copied to clipboard
open fun getName(): String
Name of the cookie to set.
string name = 1;
Link copied to clipboard
open fun getNameBytes(): ByteString
Name of the cookie to set.
string name = 1;
Link copied to clipboard
open fun getNoExpire(): Boolean
Set a far-future expiration.
bool no_expire = 8;
Link copied to clipboard
open fun getOneofFieldDescriptor(oneof: Descriptors.OneofDescriptor): Descriptors.FieldDescriptor
Link copied to clipboard
abstract fun getParserForType(): Parser<out Message>
abstract fun getParserForType(): Parser<out MessageLite>
open fun getParserForType(): Parser<Context.Cookie>
Link copied to clipboard
open fun getPath(): String
Path value of the cookie to set. Optional.
string path = 4;
Link copied to clipboard
open fun getPathBytes(): ByteString
Path value of the cookie to set. Optional.
string path = 4;
Link copied to clipboard
open fun getRelativeExpire(): Duration
Sets a relative time-period value for cookie expiration.
.google.protobuf.Duration relative_expire = 7;
Link copied to clipboard
open fun getRelativeExpireOrBuilder(): DurationOrBuilder
Sets a relative time-period value for cookie expiration.
.google.protobuf.Duration relative_expire = 7;
Link copied to clipboard
open fun getRepeatedField(field: Descriptors.FieldDescriptor, index: Int): Any
Link copied to clipboard
open fun getRepeatedFieldCount(field: Descriptors.FieldDescriptor): Int
Link copied to clipboard
`SameSite` policy flag for the cookie.
.elide.page.Context.Cookie.SameSitePolicy same_site = 11;
Link copied to clipboard
open fun getSameSiteValue(): Int
`SameSite` policy flag for the cookie.
.elide.page.Context.Cookie.SameSitePolicy same_site = 11;
Link copied to clipboard
open fun getSecure(): Boolean
`Secure` flag for the cookie.
bool secure = 10;
Link copied to clipboard
Link copied to clipboard
open fun getUnknownFields(): UnknownFieldSet
Link copied to clipboard
open fun getValue(): String
Value of the cookie to set. Optional. If left empty, the specified cookie will be cleared.
string value = 2;
Link copied to clipboard
open fun getValueBytes(): ByteString
Value of the cookie to set. Optional. If left empty, the specified cookie will be cleared.
string value = 2;
Link copied to clipboard
Sets an absolute time-point value for cookie expiration.
.google.protobuf.Timestamp absolute_expire = 6;
Link copied to clipboard
open fun hasField(field: Descriptors.FieldDescriptor): Boolean
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
Immediately expire the cookie.
bool immediate_expire = 5;
Link copied to clipboard
open fun hasNoExpire(): Boolean
Set a far-future expiration.
bool no_expire = 8;
Link copied to clipboard
open fun hasOneof(oneof: Descriptors.OneofDescriptor): Boolean
Link copied to clipboard
Sets a relative time-period value for cookie expiration.
.google.protobuf.Duration relative_expire = 7;
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun <ContainingT : Message?, T> newFileScopedGeneratedExtension(singularType: Class<out Any>, defaultInstance: Message): GeneratedMessage.GeneratedExtension<ContainingT, T>
Link copied to clipboard
open fun <ContainingT : Message?, T> newMessageScopedGeneratedExtension(scope: Message, descriptorIndex: Int, singularType: Class<out Any>, defaultInstance: Message): GeneratedMessage.GeneratedExtension<ContainingT, T>
Link copied to clipboard
open fun parseDelimitedFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): Context.Cookie
Link copied to clipboard
open fun parseFrom(data: ByteString): Context.Cookie
open fun parseFrom(input: CodedInputStream): Context.Cookie
open fun parseFrom(data: Array<Byte>, extensionRegistry: ExtensionRegistryLite): Context.Cookie
open fun parseFrom(data: ByteString, extensionRegistry: ExtensionRegistryLite): Context.Cookie
open fun parseFrom(input: CodedInputStream, extensionRegistry: ExtensionRegistryLite): Context.Cookie
open fun parseFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): Context.Cookie
open fun parseFrom(data: ByteBuffer, extensionRegistry: ExtensionRegistryLite): Context.Cookie
Link copied to clipboard
open fun parser(): Parser<Context.Cookie>
Link copied to clipboard
Link copied to clipboard
open fun toByteArray(): Array<Byte>
Link copied to clipboard
open fun toByteString(): ByteString
Link copied to clipboard
Link copied to clipboard
open fun writeDelimitedTo(output: OutputStream)
Link copied to clipboard
open fun writeTo(output: CodedOutputStream)