ContextOrBuilder

interface ContextOrBuilder : MessageOrBuilder

Inheritors

Properties

Link copied to clipboard
val ContextOrBuilder.cdnPrefixOrNull: TrustedResourceUrlProto?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
abstract fun getAllFields(): Map<Descriptors.FieldDescriptor, Any>
Link copied to clipboard
abstract fun getCdnPrefix(): TrustedResourceUrlProto
Specifies the selected CDN prefix to use.
.webutil.html.types.TrustedResourceUrlProto cdn_prefix = 17;
Link copied to clipboard
abstract fun getCdnPrefixOrBuilder(): TrustedResourceUrlProtoOrBuilder
Specifies the selected CDN prefix to use.
.webutil.html.types.TrustedResourceUrlProto cdn_prefix = 17;
Link copied to clipboard
Specifies that the `nosniff` flag should be included in a `X-Content-Type-Options` header.
bool content_type_nosniff = 16;
Link copied to clipboard
abstract fun getCookie(index: Int): Context.Cookie
Specifies HTTP cookies to affix to the response associated with this context.
repeated .elide.page.Context.Cookie cookie = 8;
Link copied to clipboard
abstract fun getCookieCount(): Int
Specifies HTTP cookies to affix to the response associated with this context.
repeated .elide.page.Context.Cookie cookie = 8;
Link copied to clipboard
Specifies HTTP cookies to affix to the response associated with this context.
repeated .elide.page.Context.Cookie cookie = 8;
Link copied to clipboard
Specifies HTTP cookies to affix to the response associated with this context.
repeated .elide.page.Context.Cookie cookie = 8;
Link copied to clipboard
Specifies HTTP cookies to affix to the response associated with this context.
repeated .elide.page.Context.Cookie cookie = 8;
Link copied to clipboard
abstract fun getDefaultInstanceForType(): MessageLite
abstract fun getDefaultInstanceForType(): Message
Link copied to clipboard
abstract fun getDescriptorForType(): Descriptors.Descriptor
Link copied to clipboard
abstract fun getDnsPrefetch(index: Int): String
Specifies hostnames to pre-load DNS records for.
repeated string dns_prefetch = 18;
Link copied to clipboard
abstract fun getDnsPrefetchBytes(index: Int): ByteString
Specifies hostnames to pre-load DNS records for.
repeated string dns_prefetch = 18;
Link copied to clipboard
abstract fun getDnsPrefetchCount(): Int
Specifies hostnames to pre-load DNS records for.
repeated string dns_prefetch = 18;
Link copied to clipboard
abstract fun getDnsPrefetchList(): List<String>
Specifies hostnames to pre-load DNS records for.
repeated string dns_prefetch = 18;
Link copied to clipboard
`ETag` information to enclose with this page, when rendered.
.elide.page.Context.DynamicETag etag = 6;
Link copied to clipboard
`ETag` information to enclose with this page, when rendered.
.elide.page.Context.DynamicETag etag = 6;
Link copied to clipboard
abstract fun getFeaturePolicy(index: Int): String
Specifies feature policies for this HTTP cycle.
repeated string feature_policy = 13;
Link copied to clipboard
abstract fun getFeaturePolicyBytes(index: Int): ByteString
Specifies feature policies for this HTTP cycle.
repeated string feature_policy = 13;
Link copied to clipboard
abstract fun getFeaturePolicyCount(): Int
Specifies feature policies for this HTTP cycle.
repeated string feature_policy = 13;
Link copied to clipboard
Specifies feature policies for this HTTP cycle.
repeated string feature_policy = 13;
Link copied to clipboard
abstract fun getField(field: Descriptors.FieldDescriptor): Any
Link copied to clipboard
abstract fun getFonts(): Context.Fonts
Fonts to include/load on the page.
.elide.page.Context.Fonts fonts = 3;
Link copied to clipboard
Fonts to include/load on the page.
.elide.page.Context.Fonts fonts = 3;
Link copied to clipboard
Specifies options when a page is referenced as a frame.
.elide.page.Context.FramingPolicy framing_policy = 15;
Link copied to clipboard
abstract fun getFramingPolicyValue(): Int
Specifies options when a page is referenced as a frame.
.elide.page.Context.FramingPolicy framing_policy = 15;
Link copied to clipboard
abstract fun getHeader(index: Int): Context.ResponseHeader
Custom headers to affix to the response associated with this context.
repeated .elide.page.Context.ResponseHeader header = 9;
Link copied to clipboard
abstract fun getHeaderCount(): Int
Custom headers to affix to the response associated with this context.
repeated .elide.page.Context.ResponseHeader header = 9;
Link copied to clipboard
Custom headers to affix to the response associated with this context.
repeated .elide.page.Context.ResponseHeader header = 9;
Link copied to clipboard
Custom headers to affix to the response associated with this context.
repeated .elide.page.Context.ResponseHeader header = 9;
Link copied to clipboard
Custom headers to affix to the response associated with this context.
repeated .elide.page.Context.ResponseHeader header = 9;
Link copied to clipboard
Information provided by client-indicated hints.
.elide.page.Context.ClientHints hints = 12;
Link copied to clipboard
Information provided by client-indicated hints.
.elide.page.Context.ClientHints hints = 12;
Link copied to clipboard
Link copied to clipboard
abstract fun getLanguage(): String
Language to send in the `Content-Language` header.
string language = 11;
Link copied to clipboard
abstract fun getLanguageBytes(): ByteString
Language to send in the `Content-Language` header.
string language = 11;
Link copied to clipboard
Application manifest for a given page or web app.
.elide.page.Context.AppManifest manifest = 5;
Link copied to clipboard
Application manifest for a given page or web app.
.elide.page.Context.AppManifest manifest = 5;
Link copied to clipboard
abstract fun getMeta(): Context.Metadata
Metadata definitions for this web page render context.
.elide.page.Context.Metadata meta = 1;
Link copied to clipboard
Metadata definitions for this web page render context.
.elide.page.Context.Metadata meta = 1;
Link copied to clipboard
abstract fun getOneofFieldDescriptor(oneof: Descriptors.OneofDescriptor): Descriptors.FieldDescriptor
Link copied to clipboard
abstract fun getPreconnect(index: Int): String
Specifies hostnames to pre-connect to.
repeated string preconnect = 19;
Link copied to clipboard
abstract fun getPreconnectBytes(index: Int): ByteString
Specifies hostnames to pre-connect to.
repeated string preconnect = 19;
Link copied to clipboard
abstract fun getPreconnectCount(): Int
Specifies hostnames to pre-connect to.
repeated string preconnect = 19;
Link copied to clipboard
abstract fun getPreconnectList(): List<String>
Specifies hostnames to pre-connect to.
repeated string preconnect = 19;
Link copied to clipboard
Specifies the `Referrer-Policy` to apply to this HTTP cycle, as applicable.
.elide.page.Context.ReferrerPolicy referrer_policy = 21;
Link copied to clipboard
abstract fun getReferrerPolicyValue(): Int
Specifies the `Referrer-Policy` to apply to this HTTP cycle, as applicable.
.elide.page.Context.ReferrerPolicy referrer_policy = 21;
Link copied to clipboard
abstract fun getRepeatedField(field: Descriptors.FieldDescriptor, index: Int): Any
Link copied to clipboard
abstract fun getRepeatedFieldCount(field: Descriptors.FieldDescriptor): Int
Link copied to clipboard
abstract fun getScripts(): Context.Scripts
Scripts to include on the page or lift into the head.
.elide.page.Context.Scripts scripts = 4;
Link copied to clipboard
Scripts to include on the page or lift into the head.
.elide.page.Context.Scripts scripts = 4;
Link copied to clipboard
abstract fun getStyles(): Context.Styles
CSS definitions and lifted code for the page head.
.elide.page.Context.Styles styles = 2;
Link copied to clipboard
CSS definitions and lifted code for the page head.
.elide.page.Context.Styles styles = 2;
Link copied to clipboard
abstract fun getUnknownFields(): UnknownFieldSet
Link copied to clipboard
abstract fun getVary(index: Int): String
Set of HTTP request headers which cause this response to vary.
repeated string vary = 10;
Link copied to clipboard
abstract fun getVaryBytes(index: Int): ByteString
Set of HTTP request headers which cause this response to vary.
repeated string vary = 10;
Link copied to clipboard
abstract fun getVaryCount(): Int
Set of HTTP request headers which cause this response to vary.
repeated string vary = 10;
Link copied to clipboard
abstract fun getVaryList(): List<String>
Set of HTTP request headers which cause this response to vary.
repeated string vary = 10;
Link copied to clipboard
abstract fun getXssProtection(): String
Old-style Cross-Site Scripting vulnerability protection policy.
string xss_protection = 20;
Link copied to clipboard
abstract fun getXssProtectionBytes(): ByteString
Old-style Cross-Site Scripting vulnerability protection policy.
string xss_protection = 20;
Link copied to clipboard
abstract fun hasCdnPrefix(): Boolean
Specifies the selected CDN prefix to use.
.webutil.html.types.TrustedResourceUrlProto cdn_prefix = 17;
Link copied to clipboard
abstract fun hasEtag(): Boolean
`ETag` information to enclose with this page, when rendered.
.elide.page.Context.DynamicETag etag = 6;
Link copied to clipboard
abstract fun hasField(field: Descriptors.FieldDescriptor): Boolean
Link copied to clipboard
abstract fun hasFonts(): Boolean
Fonts to include/load on the page.
.elide.page.Context.Fonts fonts = 3;
Link copied to clipboard
abstract fun hasHints(): Boolean
Information provided by client-indicated hints.
.elide.page.Context.ClientHints hints = 12;
Link copied to clipboard
abstract fun hasManifest(): Boolean
Application manifest for a given page or web app.
.elide.page.Context.AppManifest manifest = 5;
Link copied to clipboard
abstract fun hasMeta(): Boolean
Metadata definitions for this web page render context.
.elide.page.Context.Metadata meta = 1;
Link copied to clipboard
abstract fun hasOneof(oneof: Descriptors.OneofDescriptor): Boolean
Link copied to clipboard
abstract fun hasScripts(): Boolean
Scripts to include on the page or lift into the head.
.elide.page.Context.Scripts scripts = 4;
Link copied to clipboard
abstract fun hasStyles(): Boolean
CSS definitions and lifted code for the page head.
.elide.page.Context.Styles styles = 2;
Link copied to clipboard
abstract fun isInitialized(): Boolean