ScriptBundle

Specifies a bundle of JavaScript code, containing one or more script assets to be included in an HTML page, and
optionally settings about how to embed the script.
Protobuf type elide.assets.AssetBundle.ScriptBundle

Types

Link copied to clipboard
class Builder : GeneratedMessage.Builder<BuilderT> , AssetBundle.ScriptBundleOrBuilder
Specifies a bundle of JavaScript code, containing one or more script assets to be included in an HTML page, and
optionally settings about how to embed the script.
Protobuf type elide.assets.AssetBundle.ScriptBundle
Link copied to clipboard
Describes the structure of an individual script asset, which is constituent to the bundle that holds it.
Protobuf type elide.assets.AssetBundle.ScriptBundle.ScriptAsset
Link copied to clipboard
interface ScriptAssetOrBuilder : MessageOrBuilder

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

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
Script code assets associated with this bundle. Always non-empty.
repeated .elide.assets.AssetBundle.ScriptBundle.ScriptAsset asset = 2;
Link copied to clipboard
open fun getAssetCount(): Int
Script code assets associated with this bundle. Always non-empty.
repeated .elide.assets.AssetBundle.ScriptBundle.ScriptAsset asset = 2;
Link copied to clipboard
Script code assets associated with this bundle. Always non-empty.
repeated .elide.assets.AssetBundle.ScriptBundle.ScriptAsset asset = 2;
Link copied to clipboard
Script code assets associated with this bundle. Always non-empty.
repeated .elide.assets.AssetBundle.ScriptBundle.ScriptAsset asset = 2;
Link copied to clipboard
Script code assets associated with this bundle. Always non-empty.
repeated .elide.assets.AssetBundle.ScriptBundle.ScriptAsset asset = 2;
Link copied to clipboard
open fun getCacheable(): Boolean
Whether this asset should be considered cacheable.
bool cacheable = 5;
Link copied to clipboard
Whether this asset should be compressed when serving to end-users.
bool compressable = 4;
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Specifies dependencies that must be loaded before this module, if any.
.elide.assets.AssetBundle.AssetDependencies dependencies = 3;
Link copied to clipboard
Specifies dependencies that must be loaded before this module, if any.
.elide.assets.AssetBundle.AssetDependencies dependencies = 3;
Link copied to clipboard
fun getDescriptor(): Descriptors.Descriptor
Link copied to clipboard
open fun getDescriptorForType(): Descriptors.Descriptor
Link copied to clipboard
open fun getExternal(): Boolean
Marked if this asset is external, in which case the described script should be referenced via a script tag.
bool external = 6;
Link copied to clipboard
open fun getField(field: Descriptors.FieldDescriptor): Any
Link copied to clipboard
open fun getModule(): String
Script module name/path.
string module = 1;
Link copied to clipboard
open fun getModuleBytes(): ByteString
Script module name/path.
string module = 1;
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 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
Specifies dependencies that must be loaded before this module, if any.
.elide.assets.AssetBundle.AssetDependencies dependencies = 3;
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
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): AssetBundle.ScriptBundle
Link copied to clipboard
open fun parseFrom(data: ByteString): AssetBundle.ScriptBundle
open fun parseFrom(input: CodedInputStream): AssetBundle.ScriptBundle
open fun parseFrom(data: Array<Byte>, extensionRegistry: ExtensionRegistryLite): AssetBundle.ScriptBundle
open fun parseFrom(data: ByteString, extensionRegistry: ExtensionRegistryLite): AssetBundle.ScriptBundle
open fun parseFrom(input: CodedInputStream, extensionRegistry: ExtensionRegistryLite): AssetBundle.ScriptBundle
open fun parseFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): AssetBundle.ScriptBundle
open fun parseFrom(data: ByteBuffer, extensionRegistry: ExtensionRegistryLite): AssetBundle.ScriptBundle
Link copied to clipboard
open fun parser(): Parser<AssetBundle.ScriptBundle>
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)