FontReferenceOrBuilder

interface FontReferenceOrBuilder : MessageOrBuilder

Inheritors

Properties

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

Functions

Link copied to clipboard
Link copied to clipboard
abstract fun getAllFields(): Map<Descriptors.FieldDescriptor, Any>
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 getField(field: Descriptors.FieldDescriptor): Any
Link copied to clipboard
Specifies the format of the font reference being made.
.elide.page.Context.Fonts.FontFormat format = 2;
Link copied to clipboard
abstract fun getFormatValue(): Int
Specifies the format of the font reference being made.
.elide.page.Context.Fonts.FontFormat format = 2;
Link copied to clipboard
Link copied to clipboard
abstract fun getName(): String
Name of the font reference.
string name = 3;
Link copied to clipboard
abstract fun getNameBytes(): ByteString
Name of the font reference.
string name = 3;
Link copied to clipboard
abstract fun getOneofFieldDescriptor(oneof: Descriptors.OneofDescriptor): Descriptors.FieldDescriptor
Link copied to clipboard
abstract fun getPrefetch(): Boolean
Whether to pre-fetch this asset, as applicable.
bool prefetch = 7;
Link copied to clipboard
abstract fun getPreload(): Boolean
Whether to pre-load this asset, as applicable.
bool preload = 8;
Link copied to clipboard
abstract fun getPush(): Boolean
Whether to proactively push this asset, as applicable.
bool push = 9;
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
Specifies the type of reference being made.
.elide.page.Context.Fonts.FontReferenceType type = 1;
Link copied to clipboard
abstract fun getTypeValue(): Int
Specifies the type of reference being made.
.elide.page.Context.Fonts.FontReferenceType type = 1;
Link copied to clipboard
abstract fun getUnknownFields(): UnknownFieldSet
Link copied to clipboard
abstract fun getUri(): TrustedResourceUrlProto
URI reference to this font asset.
.webutil.html.types.TrustedResourceUrlProto uri = 6;
Link copied to clipboard
abstract fun getUriOrBuilder(): TrustedResourceUrlProtoOrBuilder
URI reference to this font asset.
.webutil.html.types.TrustedResourceUrlProto uri = 6;
Link copied to clipboard
abstract fun getVariant(): String
Variant of the font reference.
string variant = 5;
Link copied to clipboard
abstract fun getVariantBytes(): ByteString
Variant of the font reference.
string variant = 5;
Link copied to clipboard
abstract fun getWeight(): String
Weight of the font reference.
string weight = 4;
Link copied to clipboard
abstract fun getWeightBytes(): ByteString
Weight of the font reference.
string weight = 4;
Link copied to clipboard
abstract fun hasField(field: Descriptors.FieldDescriptor): Boolean
Link copied to clipboard
abstract fun hasOneof(oneof: Descriptors.OneofDescriptor): Boolean
Link copied to clipboard
abstract fun hasUri(): Boolean
URI reference to this font asset.
.webutil.html.types.TrustedResourceUrlProto uri = 6;
Link copied to clipboard
abstract fun isInitialized(): Boolean