JavaScript

Defines the notion of an external script document, written in JavaScript, which should be included
via reference rather than inline.
Protobuf type elide.page.Context.Scripts.JavaScript

Types

Link copied to clipboard
class Builder : GeneratedMessage.Builder<BuilderT> , Context.Scripts.JavaScriptOrBuilder
Defines the notion of an external script document, written in JavaScript, which should be included
via reference rather than inline.
Protobuf type elide.page.Context.Scripts.JavaScript

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
val Context.Scripts.JavaScriptOrBuilder.uriOrNull: TrustedResourceUrlProto?

Functions

Link copied to clipboard
open fun equals(obj: Any): Boolean
Link copied to clipboard
Link copied to clipboard
open fun getAllFields(): Map<Descriptors.FieldDescriptor, Any>
Link copied to clipboard
open fun getAsync(): Boolean
Whether to add the `async` flag to a script.
bool async = 4;
Link copied to clipboard
Link copied to clipboard
open fun getDefer(): Boolean
Whether to add the `defer` flag to a script.
bool defer = 3;
Link copied to clipboard
fun getDescriptor(): Descriptors.Descriptor
Link copied to clipboard
open fun getDescriptorForType(): Descriptors.Descriptor
Link copied to clipboard
open fun getField(field: Descriptors.FieldDescriptor): Any
Link copied to clipboard
open fun getId(): String
ID at which to attach the script tag in the DOM.
string id = 2;
Link copied to clipboard
open fun getIdBytes(): ByteString
ID at which to attach the script tag in the DOM.
string id = 2;
Link copied to clipboard
open fun getModule(): Boolean
Whether to add the `module` flag to a script.
bool module = 5;
Link copied to clipboard
open fun getNoModule(): Boolean
Whether to add the `nomodule` flag to a script.
bool no_module = 6;
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>
Link copied to clipboard
open fun getPrefetch(): Boolean
Whether to pre-fetch this asset, as applicable.
bool prefetch = 7;
Link copied to clipboard
open fun getPreload(): Boolean
Whether to pre-load this asset, as applicable.
bool preload = 8;
Link copied to clipboard
open fun getPush(): Boolean
Whether to proactively push this asset, as applicable.
bool push = 9;
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
Link copied to clipboard
open fun getUnknownFields(): UnknownFieldSet
Link copied to clipboard
open fun getUri(): TrustedResourceUrlProto
URI to a given script asset.
.webutil.html.types.TrustedResourceUrlProto uri = 1;
Link copied to clipboard
open fun getUriOrBuilder(): TrustedResourceUrlProtoOrBuilder
URI to a given script asset.
.webutil.html.types.TrustedResourceUrlProto uri = 1;
Link copied to clipboard
open fun hasField(field: Descriptors.FieldDescriptor): Boolean
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
open fun hasOneof(oneof: Descriptors.OneofDescriptor): Boolean
Link copied to clipboard
open fun hasUri(): Boolean
URI to a given script asset.
.webutil.html.types.TrustedResourceUrlProto uri = 1;
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.Scripts.JavaScript
Link copied to clipboard
open fun parseFrom(data: ByteString): Context.Scripts.JavaScript
open fun parseFrom(input: CodedInputStream): Context.Scripts.JavaScript
open fun parseFrom(data: Array<Byte>, extensionRegistry: ExtensionRegistryLite): Context.Scripts.JavaScript
open fun parseFrom(data: ByteString, extensionRegistry: ExtensionRegistryLite): Context.Scripts.JavaScript
open fun parseFrom(input: CodedInputStream, extensionRegistry: ExtensionRegistryLite): Context.Scripts.JavaScript
open fun parseFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): Context.Scripts.JavaScript
open fun parseFrom(data: ByteBuffer, extensionRegistry: ExtensionRegistryLite): Context.Scripts.JavaScript
Link copied to clipboard
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)