Builder

class Builder : GeneratedMessage.Builder<BuilderT> , AssetBundleOrBuilder
Defines the structure of an "asset bundle," which keeps track of frontend assets for an application. This manifest is
generally consumed in binary-proto form by the backend systems running the app, so it can load frontend code and map
module paths to annotations affixed to controllers.

Assets enclosed in the asset manifest are referenced by their "module name," which is a dotted string path uniquely
scoping a given stylesheet or script. The set of sources associated with the module name are loaded in order, with
any applicable rewrite maps or other settings applying during output.
Protobuf type elide.assets.AssetBundle

Properties

Functions

Link copied to clipboard
Inlined asset contents, which specify pre-compressed asset data corresponding to a given CSS or JavaScript code
bundle. The server may choose to serve this content rather than performing compression on-the-fly.
repeated .elide.assets.AssetBundle.AssetContent asset = 8;
Link copied to clipboard
Inlined asset contents, which specify pre-compressed asset data corresponding to a given CSS or JavaScript code
bundle. The server may choose to serve this content rather than performing compression on-the-fly.
repeated .elide.assets.AssetBundle.AssetContent asset = 8;
Link copied to clipboard
Inlined asset contents, which specify pre-compressed asset data corresponding to a given CSS or JavaScript code
bundle. The server may choose to serve this content rather than performing compression on-the-fly.
repeated .elide.assets.AssetBundle.AssetContent asset = 8;
Link copied to clipboard
open fun addRepeatedField(field: Descriptors.FieldDescriptor, value: Any): BuilderT
abstract fun addRepeatedField(field: Descriptors.FieldDescriptor, value: Any): Message.Builder
Link copied to clipboard
abstract fun build(): MessageLite
open fun build(): AssetBundle
Link copied to clipboard
abstract fun buildPartial(): MessageLite
Link copied to clipboard
open fun clear(): BuilderType
abstract fun clear(): Message.Builder
Link copied to clipboard
Inlined asset contents, which specify pre-compressed asset data corresponding to a given CSS or JavaScript code
bundle. The server may choose to serve this content rather than performing compression on-the-fly.
repeated .elide.assets.AssetBundle.AssetContent asset = 8;
Link copied to clipboard
Raw bytes of a digest matching the algorithm for digests in file names, which represents a unique fingerprint of
the full asset bundle.
bytes digest = 4;
Link copied to clipboard
open fun clearField(field: Descriptors.FieldDescriptor): BuilderT
abstract fun clearField(field: Descriptors.FieldDescriptor): Message.Builder
Link copied to clipboard
Timestamp indicating when this asset manifest was generated. This may be used when calculating `ETags` or when
checking for updates to the asset bundle itself.
.google.protobuf.Timestamp generated = 3;
Link copied to clipboard
Link copied to clipboard
open fun clearOneof(oneof: Descriptors.OneofDescriptor): BuilderType
open fun clearOneof(oneof: Descriptors.OneofDescriptor): BuilderT
abstract fun clearOneof(oneof: Descriptors.OneofDescriptor): Message.Builder
Link copied to clipboard
Link copied to clipboard
Bundler settings that were active at the time the bundle was assembled, and some of which may extend to the runtime
use of the bundle to serve assets.
.elide.assets.AssetBundle.BundlerSettings settings = 2;
Link copied to clipboard
Link copied to clipboard
Version of the tool that produced this manifest. This is used by the tool to understand which asset bundle features
are supported for a given tool version.
uint32 version = 1;
Link copied to clipboard
open fun clone(): BuilderType
open fun clone(): BuilderT
abstract fun clone(): Message.Builder
Link copied to clipboard
Generic assets which are mapped within this bundle.
map<string, .elide.assets.AssetBundle.GenericBundle> generic = 7;
Link copied to clipboard
Set of scripts listed in this asset manifest. Like styles, this is a map of dotted-path module names mapped to
their script sources and settings. Generally, a Closure module name is used for scripts.
map<string, .elide.assets.AssetBundle.ScriptBundle> scripts = 6;
Link copied to clipboard
open fun containsStyles(key: String): Boolean
Set of styles listed in this asset manifest. Like scripts, this is a map of dotted-path module names mapped to
their stylesheet sources and settings. Generally, the GSS module name is used for stylesheets.
map<string, .elide.assets.AssetBundle.StyleBundle> styles = 5;
Link copied to clipboard
Link copied to clipboard
open fun getAllFields(): Map<Descriptors.FieldDescriptor, Any>
Link copied to clipboard
Inlined asset contents, which specify pre-compressed asset data corresponding to a given CSS or JavaScript code
bundle. The server may choose to serve this content rather than performing compression on-the-fly.
repeated .elide.assets.AssetBundle.AssetContent asset = 8;
Link copied to clipboard
Inlined asset contents, which specify pre-compressed asset data corresponding to a given CSS or JavaScript code
bundle. The server may choose to serve this content rather than performing compression on-the-fly.
repeated .elide.assets.AssetBundle.AssetContent asset = 8;
Link copied to clipboard
Inlined asset contents, which specify pre-compressed asset data corresponding to a given CSS or JavaScript code
bundle. The server may choose to serve this content rather than performing compression on-the-fly.
repeated .elide.assets.AssetBundle.AssetContent asset = 8;
Link copied to clipboard
open fun getAssetCount(): Int
Inlined asset contents, which specify pre-compressed asset data corresponding to a given CSS or JavaScript code
bundle. The server may choose to serve this content rather than performing compression on-the-fly.
repeated .elide.assets.AssetBundle.AssetContent asset = 8;
Link copied to clipboard
Inlined asset contents, which specify pre-compressed asset data corresponding to a given CSS or JavaScript code
bundle. The server may choose to serve this content rather than performing compression on-the-fly.
repeated .elide.assets.AssetBundle.AssetContent asset = 8;
Link copied to clipboard
Inlined asset contents, which specify pre-compressed asset data corresponding to a given CSS or JavaScript code
bundle. The server may choose to serve this content rather than performing compression on-the-fly.
repeated .elide.assets.AssetBundle.AssetContent asset = 8;
Link copied to clipboard
Inlined asset contents, which specify pre-compressed asset data corresponding to a given CSS or JavaScript code
bundle. The server may choose to serve this content rather than performing compression on-the-fly.
repeated .elide.assets.AssetBundle.AssetContent asset = 8;
Link copied to clipboard
abstract fun getDefaultInstanceForType(): MessageLite
Link copied to clipboard
fun getDescriptor(): Descriptors.Descriptor
Link copied to clipboard
open fun getDescriptorForType(): Descriptors.Descriptor
Link copied to clipboard
open fun getDigest(): ByteString
Raw bytes of a digest matching the algorithm for digests in file names, which represents a unique fingerprint of
the full asset bundle.
bytes digest = 4;
Link copied to clipboard
open fun getField(field: Descriptors.FieldDescriptor): Any
Link copied to clipboard
open fun getFieldBuilder(field: Descriptors.FieldDescriptor): Message.Builder
Link copied to clipboard
open fun getGenerated(): Timestamp
Timestamp indicating when this asset manifest was generated. This may be used when calculating `ETags` or when
checking for updates to the asset bundle itself.
.google.protobuf.Timestamp generated = 3;
Link copied to clipboard
open fun getGeneratedBuilder(): Timestamp.Builder
Timestamp indicating when this asset manifest was generated. This may be used when calculating `ETags` or when
checking for updates to the asset bundle itself.
.google.protobuf.Timestamp generated = 3;
Link copied to clipboard
open fun getGeneratedOrBuilder(): TimestampOrBuilder
Timestamp indicating when this asset manifest was generated. This may be used when calculating `ETags` or when
checking for updates to the asset bundle itself.
.google.protobuf.Timestamp generated = 3;
Link copied to clipboard
Link copied to clipboard
open fun getGenericCount(): Int
Generic assets which are mapped within this bundle.
map<string, .elide.assets.AssetBundle.GenericBundle> generic = 7;
Link copied to clipboard
Generic assets which are mapped within this bundle.
map<string, .elide.assets.AssetBundle.GenericBundle> generic = 7;
Link copied to clipboard
Generic assets which are mapped within this bundle.
map<string, .elide.assets.AssetBundle.GenericBundle> generic = 7;
Link copied to clipboard
Generic assets which are mapped within this bundle.
map<string, .elide.assets.AssetBundle.GenericBundle> generic = 7;
Link copied to clipboard
Use alternate mutation accessors instead.
Link copied to clipboard
Use alternate mutation accessors instead.
Link copied to clipboard
Use alternate mutation accessors instead.
Link copied to clipboard
open fun getOneofFieldDescriptor(oneof: Descriptors.OneofDescriptor): Descriptors.FieldDescriptor
Link copied to clipboard
open fun getRepeatedField(field: Descriptors.FieldDescriptor, index: Int): Any
Link copied to clipboard
open fun getRepeatedFieldBuilder(field: Descriptors.FieldDescriptor, index: Int): Message.Builder
Link copied to clipboard
open fun getRepeatedFieldCount(field: Descriptors.FieldDescriptor): Int
Link copied to clipboard
Link copied to clipboard
open fun getScriptsCount(): Int
Set of scripts listed in this asset manifest. Like styles, this is a map of dotted-path module names mapped to
their script sources and settings. Generally, a Closure module name is used for scripts.
map<string, .elide.assets.AssetBundle.ScriptBundle> scripts = 6;
Link copied to clipboard
Set of scripts listed in this asset manifest. Like styles, this is a map of dotted-path module names mapped to
their script sources and settings. Generally, a Closure module name is used for scripts.
map<string, .elide.assets.AssetBundle.ScriptBundle> scripts = 6;
Link copied to clipboard
Set of scripts listed in this asset manifest. Like styles, this is a map of dotted-path module names mapped to
their script sources and settings. Generally, a Closure module name is used for scripts.
map<string, .elide.assets.AssetBundle.ScriptBundle> scripts = 6;
Link copied to clipboard
Set of scripts listed in this asset manifest. Like styles, this is a map of dotted-path module names mapped to
their script sources and settings. Generally, a Closure module name is used for scripts.
map<string, .elide.assets.AssetBundle.ScriptBundle> scripts = 6;
Link copied to clipboard
Bundler settings that were active at the time the bundle was assembled, and some of which may extend to the runtime
use of the bundle to serve assets.
.elide.assets.AssetBundle.BundlerSettings settings = 2;
Link copied to clipboard
Bundler settings that were active at the time the bundle was assembled, and some of which may extend to the runtime
use of the bundle to serve assets.
.elide.assets.AssetBundle.BundlerSettings settings = 2;
Link copied to clipboard
Bundler settings that were active at the time the bundle was assembled, and some of which may extend to the runtime
use of the bundle to serve assets.
.elide.assets.AssetBundle.BundlerSettings settings = 2;
Link copied to clipboard
Link copied to clipboard
open fun getStylesCount(): Int
Set of styles listed in this asset manifest. Like scripts, this is a map of dotted-path module names mapped to
their stylesheet sources and settings. Generally, the GSS module name is used for stylesheets.
map<string, .elide.assets.AssetBundle.StyleBundle> styles = 5;
Link copied to clipboard
Set of styles listed in this asset manifest. Like scripts, this is a map of dotted-path module names mapped to
their stylesheet sources and settings. Generally, the GSS module name is used for stylesheets.
map<string, .elide.assets.AssetBundle.StyleBundle> styles = 5;
Link copied to clipboard
Set of styles listed in this asset manifest. Like scripts, this is a map of dotted-path module names mapped to
their stylesheet sources and settings. Generally, the GSS module name is used for stylesheets.
map<string, .elide.assets.AssetBundle.StyleBundle> styles = 5;
Link copied to clipboard
Set of styles listed in this asset manifest. Like scripts, this is a map of dotted-path module names mapped to
their stylesheet sources and settings. Generally, the GSS module name is used for stylesheets.
map<string, .elide.assets.AssetBundle.StyleBundle> styles = 5;
Link copied to clipboard
fun getUnknownFields(): UnknownFieldSet
Link copied to clipboard
open fun getVersion(): Int
Version of the tool that produced this manifest. This is used by the tool to understand which asset bundle features
are supported for a given tool version.
uint32 version = 1;
Link copied to clipboard
open fun hasField(field: Descriptors.FieldDescriptor): Boolean
Link copied to clipboard
open fun hasGenerated(): Boolean
Timestamp indicating when this asset manifest was generated. This may be used when calculating `ETags` or when
checking for updates to the asset bundle itself.
.google.protobuf.Timestamp generated = 3;
Link copied to clipboard
open fun hasOneof(oneof: Descriptors.OneofDescriptor): Boolean
Link copied to clipboard
open fun hasSettings(): Boolean
Bundler settings that were active at the time the bundle was assembled, and some of which may extend to the runtime
use of the bundle to serve assets.
.elide.assets.AssetBundle.BundlerSettings settings = 2;
Link copied to clipboard
Link copied to clipboard
open fun mergeDelimitedFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): Boolean
Link copied to clipboard
abstract fun mergeFrom(other: Message): Message.Builder
open fun mergeFrom(other: Message): AssetBundle.Builder
open fun mergeFrom(input: CodedInputStream, extensionRegistry: ExtensionRegistryLite): AssetBundle.Builder
Link copied to clipboard
open fun mergeGenerated(value: Timestamp): AssetBundle.Builder
Timestamp indicating when this asset manifest was generated. This may be used when calculating `ETags` or when
checking for updates to the asset bundle itself.
.google.protobuf.Timestamp generated = 3;
Link copied to clipboard
Bundler settings that were active at the time the bundle was assembled, and some of which may extend to the runtime
use of the bundle to serve assets.
.elide.assets.AssetBundle.BundlerSettings settings = 2;
Link copied to clipboard
open fun mergeUnknownFields(unknownFields: UnknownFieldSet): BuilderType
open fun mergeUnknownFields(unknownFields: UnknownFieldSet): BuilderT
abstract fun mergeUnknownFields(unknownFields: UnknownFieldSet): Message.Builder
Link copied to clipboard
open fun newBuilderForField(field: Descriptors.FieldDescriptor): Message.Builder
Link copied to clipboard
Generic assets which are mapped within this bundle.
map<string, .elide.assets.AssetBundle.GenericBundle> generic = 7;
Link copied to clipboard
Set of scripts listed in this asset manifest. Like styles, this is a map of dotted-path module names mapped to
their script sources and settings. Generally, a Closure module name is used for scripts.
map<string, .elide.assets.AssetBundle.ScriptBundle> scripts = 6;
Link copied to clipboard
Set of styles listed in this asset manifest. Like scripts, this is a map of dotted-path module names mapped to
their stylesheet sources and settings. Generally, the GSS module name is used for stylesheets.
map<string, .elide.assets.AssetBundle.StyleBundle> styles = 5;
Link copied to clipboard
Generic assets which are mapped within this bundle.
map<string, .elide.assets.AssetBundle.GenericBundle> generic = 7;
Link copied to clipboard
Generic assets which are mapped within this bundle.
map<string, .elide.assets.AssetBundle.GenericBundle> generic = 7;
Link copied to clipboard
Set of scripts listed in this asset manifest. Like styles, this is a map of dotted-path module names mapped to
their script sources and settings. Generally, a Closure module name is used for scripts.
map<string, .elide.assets.AssetBundle.ScriptBundle> scripts = 6;
Link copied to clipboard
Set of scripts listed in this asset manifest. Like styles, this is a map of dotted-path module names mapped to
their script sources and settings. Generally, a Closure module name is used for scripts.
map<string, .elide.assets.AssetBundle.ScriptBundle> scripts = 6;
Link copied to clipboard
Set of styles listed in this asset manifest. Like scripts, this is a map of dotted-path module names mapped to
their stylesheet sources and settings. Generally, the GSS module name is used for stylesheets.
map<string, .elide.assets.AssetBundle.StyleBundle> styles = 5;
Link copied to clipboard
Set of styles listed in this asset manifest. Like scripts, this is a map of dotted-path module names mapped to
their stylesheet sources and settings. Generally, the GSS module name is used for stylesheets.
map<string, .elide.assets.AssetBundle.StyleBundle> styles = 5;
Link copied to clipboard
Inlined asset contents, which specify pre-compressed asset data corresponding to a given CSS or JavaScript code
bundle. The server may choose to serve this content rather than performing compression on-the-fly.
repeated .elide.assets.AssetBundle.AssetContent asset = 8;
Link copied to clipboard
Generic assets which are mapped within this bundle.
map<string, .elide.assets.AssetBundle.GenericBundle> generic = 7;
Link copied to clipboard
Set of scripts listed in this asset manifest. Like styles, this is a map of dotted-path module names mapped to
their script sources and settings. Generally, a Closure module name is used for scripts.
map<string, .elide.assets.AssetBundle.ScriptBundle> scripts = 6;
Link copied to clipboard
Set of styles listed in this asset manifest. Like scripts, this is a map of dotted-path module names mapped to
their stylesheet sources and settings. Generally, the GSS module name is used for stylesheets.
map<string, .elide.assets.AssetBundle.StyleBundle> styles = 5;
Link copied to clipboard
Inlined asset contents, which specify pre-compressed asset data corresponding to a given CSS or JavaScript code
bundle. The server may choose to serve this content rather than performing compression on-the-fly.
repeated .elide.assets.AssetBundle.AssetContent asset = 8;
Link copied to clipboard
open fun setDigest(value: ByteString): AssetBundle.Builder
Raw bytes of a digest matching the algorithm for digests in file names, which represents a unique fingerprint of
the full asset bundle.
bytes digest = 4;
Link copied to clipboard
open fun setField(field: Descriptors.FieldDescriptor, value: Any): BuilderT
abstract fun setField(field: Descriptors.FieldDescriptor, value: Any): Message.Builder
Link copied to clipboard
open fun setGenerated(value: Timestamp): AssetBundle.Builder
open fun setGenerated(builderForValue: Timestamp.Builder): AssetBundle.Builder
Timestamp indicating when this asset manifest was generated. This may be used when calculating `ETags` or when
checking for updates to the asset bundle itself.
.google.protobuf.Timestamp generated = 3;
Link copied to clipboard
open fun setRepeatedField(field: Descriptors.FieldDescriptor, index: Int, value: Any): BuilderT
abstract fun setRepeatedField(field: Descriptors.FieldDescriptor, index: Int, value: Any): Message.Builder
Link copied to clipboard
Bundler settings that were active at the time the bundle was assembled, and some of which may extend to the runtime
use of the bundle to serve assets.
.elide.assets.AssetBundle.BundlerSettings settings = 2;
Link copied to clipboard
open fun setUnknownFields(unknownFields: UnknownFieldSet): BuilderT
abstract fun setUnknownFields(unknownFields: UnknownFieldSet): Message.Builder
Link copied to clipboard
Version of the tool that produced this manifest. This is used by the tool to understand which asset bundle features
are supported for a given tool version.
uint32 version = 1;
Link copied to clipboard
open fun toString(): String