Builder

class Builder : GeneratedMessage.Builder<BuilderT> , Context.Fonts.FontReferenceOrBuilder
Specifies information about an individual reference to a font file.
Protobuf type elide.page.Context.Fonts.FontReference

Properties

Link copied to clipboard
val Context.Fonts.FontReferenceOrBuilder.uriOrNull: TrustedResourceUrlProto?

Functions

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
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
open fun clearField(field: Descriptors.FieldDescriptor): BuilderT
abstract fun clearField(field: Descriptors.FieldDescriptor): Message.Builder
Link copied to clipboard
Specifies the format of the font reference being made.
.elide.page.Context.Fonts.FontFormat format = 2;
Link copied to clipboard
Name of the font reference.
string name = 3;
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
Whether to pre-fetch this asset, as applicable.
bool prefetch = 7;
Link copied to clipboard
Whether to pre-load this asset, as applicable.
bool preload = 8;
Link copied to clipboard
Whether to proactively push this asset, as applicable.
bool push = 9;
Link copied to clipboard
Specifies the type of reference being made.
.elide.page.Context.Fonts.FontReferenceType type = 1;
Link copied to clipboard
URI reference to this font asset.
.webutil.html.types.TrustedResourceUrlProto uri = 6;
Link copied to clipboard
Variant of the font reference.
string variant = 5;
Link copied to clipboard
Weight of the font reference.
string weight = 4;
Link copied to clipboard
open fun clone(): BuilderType
open fun clone(): BuilderT
abstract fun clone(): Message.Builder
Link copied to clipboard
Link copied to clipboard
open fun getAllFields(): Map<Descriptors.FieldDescriptor, Any>
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 getField(field: Descriptors.FieldDescriptor): Any
Link copied to clipboard
open fun getFieldBuilder(field: Descriptors.FieldDescriptor): Message.Builder
Link copied to clipboard
Specifies the format of the font reference being made.
.elide.page.Context.Fonts.FontFormat format = 2;
Link copied to clipboard
open fun getFormatValue(): Int
Specifies the format of the font reference being made.
.elide.page.Context.Fonts.FontFormat format = 2;
Link copied to clipboard
open fun getName(): String
Name of the font reference.
string name = 3;
Link copied to clipboard
open fun getNameBytes(): ByteString
Name of the font reference.
string name = 3;
Link copied to clipboard
open fun getOneofFieldDescriptor(oneof: Descriptors.OneofDescriptor): Descriptors.FieldDescriptor
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 getRepeatedFieldBuilder(field: Descriptors.FieldDescriptor, index: Int): Message.Builder
Link copied to clipboard
open fun getRepeatedFieldCount(field: Descriptors.FieldDescriptor): Int
Link copied to clipboard
Specifies the type of reference being made.
.elide.page.Context.Fonts.FontReferenceType type = 1;
Link copied to clipboard
open fun getTypeValue(): Int
Specifies the type of reference being made.
.elide.page.Context.Fonts.FontReferenceType type = 1;
Link copied to clipboard
fun getUnknownFields(): UnknownFieldSet
Link copied to clipboard
open fun getUri(): TrustedResourceUrlProto
URI reference to this font asset.
.webutil.html.types.TrustedResourceUrlProto uri = 6;
Link copied to clipboard
open fun getUriBuilder(): TrustedResourceUrlProto.Builder
URI reference to this font asset.
.webutil.html.types.TrustedResourceUrlProto uri = 6;
Link copied to clipboard
open fun getUriOrBuilder(): TrustedResourceUrlProtoOrBuilder
URI reference to this font asset.
.webutil.html.types.TrustedResourceUrlProto uri = 6;
Link copied to clipboard
open fun getVariant(): String
Variant of the font reference.
string variant = 5;
Link copied to clipboard
open fun getVariantBytes(): ByteString
Variant of the font reference.
string variant = 5;
Link copied to clipboard
open fun getWeight(): String
Weight of the font reference.
string weight = 4;
Link copied to clipboard
open fun getWeightBytes(): ByteString
Weight of the font reference.
string weight = 4;
Link copied to clipboard
open fun hasField(field: Descriptors.FieldDescriptor): Boolean
Link copied to clipboard
open fun hasOneof(oneof: Descriptors.OneofDescriptor): Boolean
Link copied to clipboard
open fun hasUri(): Boolean
URI reference to this font asset.
.webutil.html.types.TrustedResourceUrlProto uri = 6;
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(input: CodedInputStream, extensionRegistry: ExtensionRegistryLite): Context.Fonts.FontReference.Builder
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 mergeUri(value: TrustedResourceUrlProto): Context.Fonts.FontReference.Builder
URI reference to this font asset.
.webutil.html.types.TrustedResourceUrlProto uri = 6;
Link copied to clipboard
open fun newBuilderForField(field: Descriptors.FieldDescriptor): Message.Builder
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
Specifies the format of the font reference being made.
.elide.page.Context.Fonts.FontFormat format = 2;
Link copied to clipboard
Specifies the format of the font reference being made.
.elide.page.Context.Fonts.FontFormat format = 2;
Link copied to clipboard
Name of the font reference.
string name = 3;
Link copied to clipboard
Name of the font reference.
string name = 3;
Link copied to clipboard
Whether to pre-fetch this asset, as applicable.
bool prefetch = 7;
Link copied to clipboard
Whether to pre-load this asset, as applicable.
bool preload = 8;
Link copied to clipboard
Whether to proactively push this asset, as applicable.
bool push = 9;
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
Specifies the type of reference being made.
.elide.page.Context.Fonts.FontReferenceType type = 1;
Link copied to clipboard
Specifies the type of reference being made.
.elide.page.Context.Fonts.FontReferenceType type = 1;
Link copied to clipboard
open fun setUnknownFields(unknownFields: UnknownFieldSet): BuilderT
abstract fun setUnknownFields(unknownFields: UnknownFieldSet): Message.Builder
Link copied to clipboard
open fun setUri(value: TrustedResourceUrlProto): Context.Fonts.FontReference.Builder
open fun setUri(builderForValue: TrustedResourceUrlProto.Builder): Context.Fonts.FontReference.Builder
URI reference to this font asset.
.webutil.html.types.TrustedResourceUrlProto uri = 6;
Link copied to clipboard
Variant of the font reference.
string variant = 5;
Link copied to clipboard
Variant of the font reference.
string variant = 5;
Link copied to clipboard
Weight of the font reference.
string weight = 4;
Link copied to clipboard
Weight of the font reference.
string weight = 4;
Link copied to clipboard
open fun toString(): String