Builder

class Builder : GeneratedMessage.Builder<BuilderT> , Context.MetadataOrBuilder
Defines the structure of well-known page-level metadata, including the page title, description,
keywords, and so on.
Protobuf type elide.page.Context.Metadata

Functions

Link copied to clipboard
Defines meta tag keywords, to be included in the page.
repeated string keyword = 3;
Link copied to clipboard
Defines a favicon image link to apply to the browser tab.
repeated .elide.page.Context.PageLink link = 10;
Link copied to clipboard
RDFa prefixes to add. If left unset, the default OpenGraph prefix will be used.
repeated .elide.page.Context.RDFPrefix prefix = 17;
Link copied to clipboard
Defines meta tag keywords, to be included in the page.
repeated string keyword = 3;
Link copied to clipboard
open fun addKeywordBytes(value: ByteString): Context.Metadata.Builder
Defines meta tag keywords, to be included in the page.
repeated string keyword = 3;
Link copied to clipboard
open fun addLink(index: Int, builderForValue: Context.PageLink.Builder): Context.Metadata.Builder
Defines a favicon image link to apply to the browser tab.
repeated .elide.page.Context.PageLink link = 10;
Link copied to clipboard
Defines a favicon image link to apply to the browser tab.
repeated .elide.page.Context.PageLink link = 10;
Link copied to clipboard
RDFa prefixes to add. If left unset, the default OpenGraph prefix will be used.
repeated .elide.page.Context.RDFPrefix prefix = 17;
Link copied to clipboard
RDFa prefixes to add. If left unset, the default OpenGraph prefix will be used.
repeated .elide.page.Context.RDFPrefix prefix = 17;
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
Directive for color scheme compatibility.
string color_scheme = 16;
Link copied to clipboard
Delegate package for use with Soy rendering, if applicable.
string delegate_package = 20;
Link copied to clipboard
Defines the meta description content for the page.
string description = 2;
Link copied to clipboard
Facebook application identifier.
string fb_app_id = 13;
Link copied to clipboard
open fun clearField(field: Descriptors.FieldDescriptor): BuilderT
abstract fun clearField(field: Descriptors.FieldDescriptor): Message.Builder
Link copied to clipboard
Googlebot-specific directives.
string googlebot = 18;
Link copied to clipboard
Identifier for Google Tag Manager.
string gtm_id = 12;
Link copied to clipboard
Defines meta tag keywords, to be included in the page.
repeated string keyword = 3;
Link copied to clipboard
Defines the language we are rendering the page for.
.elide.base.LanguageSpec language = 11;
Link copied to clipboard
Defines a favicon image link to apply to the browser tab.
repeated .elide.page.Context.PageLink link = 10;
Link copied to clipboard
Defines a link to a web application manifest, if applicable.
.webutil.html.types.TrustedResourceUrlProto manifest = 6;
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
Describes OpenGraph data for a given page.
.elide.page.Context.Metadata.OpenGraph open_graph = 14;
Link copied to clipboard
RDFa prefixes to add. If left unset, the default OpenGraph prefix will be used.
repeated .elide.page.Context.RDFPrefix prefix = 17;
Link copied to clipboard
Set the rating for this page (see: SafeSearch ratings).
string rating = 19;
Link copied to clipboard
Directive for indexers/robots.
string robots = 15;
Link copied to clipboard
Defines semantic content structure and binding content.
.elide.page.SemanticMetadata semantic = 4;
Link copied to clipboard
Defines an image to use in iOS circumstances, when launching as an app shortcut.
string startup_image = 9;
Link copied to clipboard
Defines a hex code to use as the primary theme color for the application.
string theme = 7;
Link copied to clipboard
Defines the HTML title for the page, emitted in the <head>.
string title = 1;
Link copied to clipboard
Defines an icon to use in iOS circumstances, when used as an app shortcut.
string touch_icon = 8;
Link copied to clipboard
Defines the viewport settings that should be used by the rendered page.
string viewport = 5;
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
Directive for color scheme compatibility.
string color_scheme = 16;
Link copied to clipboard
open fun getColorSchemeBytes(): ByteString
Directive for color scheme compatibility.
string color_scheme = 16;
Link copied to clipboard
Link copied to clipboard
Delegate package for use with Soy rendering, if applicable.
string delegate_package = 20;
Link copied to clipboard
open fun getDelegatePackageBytes(): ByteString
Delegate package for use with Soy rendering, if applicable.
string delegate_package = 20;
Link copied to clipboard
Defines the meta description content for the page.
string description = 2;
Link copied to clipboard
open fun getDescriptionBytes(): ByteString
Defines the meta description content for the page.
string description = 2;
Link copied to clipboard
fun getDescriptor(): Descriptors.Descriptor
Link copied to clipboard
open fun getDescriptorForType(): Descriptors.Descriptor
Link copied to clipboard
open fun getFbAppId(): String
Facebook application identifier.
string fb_app_id = 13;
Link copied to clipboard
open fun getFbAppIdBytes(): ByteString
Facebook application identifier.
string fb_app_id = 13;
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 getGooglebot(): String
Googlebot-specific directives.
string googlebot = 18;
Link copied to clipboard
open fun getGooglebotBytes(): ByteString
Googlebot-specific directives.
string googlebot = 18;
Link copied to clipboard
open fun getGtmId(): String
Identifier for Google Tag Manager.
string gtm_id = 12;
Link copied to clipboard
open fun getGtmIdBytes(): ByteString
Identifier for Google Tag Manager.
string gtm_id = 12;
Link copied to clipboard
open fun getKeyword(index: Int): String
Defines meta tag keywords, to be included in the page.
repeated string keyword = 3;
Link copied to clipboard
open fun getKeywordBytes(index: Int): ByteString
Defines meta tag keywords, to be included in the page.
repeated string keyword = 3;
Link copied to clipboard
open fun getKeywordCount(): Int
Defines meta tag keywords, to be included in the page.
repeated string keyword = 3;
Link copied to clipboard
open fun getKeywordList(): ProtocolStringList
Defines meta tag keywords, to be included in the page.
repeated string keyword = 3;
Link copied to clipboard
Defines the language we are rendering the page for.
.elide.base.LanguageSpec language = 11;
Link copied to clipboard
Defines the language we are rendering the page for.
.elide.base.LanguageSpec language = 11;
Link copied to clipboard
Defines the language we are rendering the page for.
.elide.base.LanguageSpec language = 11;
Link copied to clipboard
open fun getLink(index: Int): Context.PageLink
Defines a favicon image link to apply to the browser tab.
repeated .elide.page.Context.PageLink link = 10;
Link copied to clipboard
Defines a favicon image link to apply to the browser tab.
repeated .elide.page.Context.PageLink link = 10;
Link copied to clipboard
Defines a favicon image link to apply to the browser tab.
repeated .elide.page.Context.PageLink link = 10;
Link copied to clipboard
open fun getLinkCount(): Int
Defines a favicon image link to apply to the browser tab.
repeated .elide.page.Context.PageLink link = 10;
Link copied to clipboard
Defines a favicon image link to apply to the browser tab.
repeated .elide.page.Context.PageLink link = 10;
Link copied to clipboard
Defines a favicon image link to apply to the browser tab.
repeated .elide.page.Context.PageLink link = 10;
Link copied to clipboard
Defines a favicon image link to apply to the browser tab.
repeated .elide.page.Context.PageLink link = 10;
Link copied to clipboard
open fun getManifest(): TrustedResourceUrlProto
Defines a link to a web application manifest, if applicable.
.webutil.html.types.TrustedResourceUrlProto manifest = 6;
Link copied to clipboard
open fun getManifestBuilder(): TrustedResourceUrlProto.Builder
Defines a link to a web application manifest, if applicable.
.webutil.html.types.TrustedResourceUrlProto manifest = 6;
Link copied to clipboard
open fun getManifestOrBuilder(): TrustedResourceUrlProtoOrBuilder
Defines a link to a web application manifest, if applicable.
.webutil.html.types.TrustedResourceUrlProto manifest = 6;
Link copied to clipboard
open fun getOneofFieldDescriptor(oneof: Descriptors.OneofDescriptor): Descriptors.FieldDescriptor
Link copied to clipboard
Describes OpenGraph data for a given page.
.elide.page.Context.Metadata.OpenGraph open_graph = 14;
Link copied to clipboard
Describes OpenGraph data for a given page.
.elide.page.Context.Metadata.OpenGraph open_graph = 14;
Link copied to clipboard
Describes OpenGraph data for a given page.
.elide.page.Context.Metadata.OpenGraph open_graph = 14;
Link copied to clipboard
open fun getPrefix(index: Int): Context.RDFPrefix
RDFa prefixes to add. If left unset, the default OpenGraph prefix will be used.
repeated .elide.page.Context.RDFPrefix prefix = 17;
Link copied to clipboard
RDFa prefixes to add. If left unset, the default OpenGraph prefix will be used.
repeated .elide.page.Context.RDFPrefix prefix = 17;
Link copied to clipboard
RDFa prefixes to add. If left unset, the default OpenGraph prefix will be used.
repeated .elide.page.Context.RDFPrefix prefix = 17;
Link copied to clipboard
open fun getPrefixCount(): Int
RDFa prefixes to add. If left unset, the default OpenGraph prefix will be used.
repeated .elide.page.Context.RDFPrefix prefix = 17;
Link copied to clipboard
RDFa prefixes to add. If left unset, the default OpenGraph prefix will be used.
repeated .elide.page.Context.RDFPrefix prefix = 17;
Link copied to clipboard
RDFa prefixes to add. If left unset, the default OpenGraph prefix will be used.
repeated .elide.page.Context.RDFPrefix prefix = 17;
Link copied to clipboard
RDFa prefixes to add. If left unset, the default OpenGraph prefix will be used.
repeated .elide.page.Context.RDFPrefix prefix = 17;
Link copied to clipboard
open fun getRating(): String
Set the rating for this page (see: SafeSearch ratings).
string rating = 19;
Link copied to clipboard
open fun getRatingBytes(): ByteString
Set the rating for this page (see: SafeSearch ratings).
string rating = 19;
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
open fun getRobots(): String
Directive for indexers/robots.
string robots = 15;
Link copied to clipboard
open fun getRobotsBytes(): ByteString
Directive for indexers/robots.
string robots = 15;
Link copied to clipboard
Defines semantic content structure and binding content.
.elide.page.SemanticMetadata semantic = 4;
Link copied to clipboard
Defines semantic content structure and binding content.
.elide.page.SemanticMetadata semantic = 4;
Link copied to clipboard
Defines semantic content structure and binding content.
.elide.page.SemanticMetadata semantic = 4;
Link copied to clipboard
Defines an image to use in iOS circumstances, when launching as an app shortcut.
string startup_image = 9;
Link copied to clipboard
open fun getStartupImageBytes(): ByteString
Defines an image to use in iOS circumstances, when launching as an app shortcut.
string startup_image = 9;
Link copied to clipboard
open fun getTheme(): String
Defines a hex code to use as the primary theme color for the application.
string theme = 7;
Link copied to clipboard
open fun getThemeBytes(): ByteString
Defines a hex code to use as the primary theme color for the application.
string theme = 7;
Link copied to clipboard
open fun getTitle(): String
Defines the HTML title for the page, emitted in the <head>.
string title = 1;
Link copied to clipboard
open fun getTitleBytes(): ByteString
Defines the HTML title for the page, emitted in the <head>.
string title = 1;
Link copied to clipboard
open fun getTouchIcon(): String
Defines an icon to use in iOS circumstances, when used as an app shortcut.
string touch_icon = 8;
Link copied to clipboard
open fun getTouchIconBytes(): ByteString
Defines an icon to use in iOS circumstances, when used as an app shortcut.
string touch_icon = 8;
Link copied to clipboard
fun getUnknownFields(): UnknownFieldSet
Link copied to clipboard
open fun getViewport(): String
Defines the viewport settings that should be used by the rendered page.
string viewport = 5;
Link copied to clipboard
open fun getViewportBytes(): ByteString
Defines the viewport settings that should be used by the rendered page.
string viewport = 5;
Link copied to clipboard
open fun hasField(field: Descriptors.FieldDescriptor): Boolean
Link copied to clipboard
open fun hasLanguage(): Boolean
Defines the language we are rendering the page for.
.elide.base.LanguageSpec language = 11;
Link copied to clipboard
open fun hasManifest(): Boolean
Defines a link to a web application manifest, if applicable.
.webutil.html.types.TrustedResourceUrlProto manifest = 6;
Link copied to clipboard
open fun hasOneof(oneof: Descriptors.OneofDescriptor): Boolean
Link copied to clipboard
open fun hasOpenGraph(): Boolean
Describes OpenGraph data for a given page.
.elide.page.Context.Metadata.OpenGraph open_graph = 14;
Link copied to clipboard
open fun hasSemantic(): Boolean
Defines semantic content structure and binding content.
.elide.page.SemanticMetadata semantic = 4;
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): Context.Metadata.Builder
open fun mergeFrom(input: CodedInputStream, extensionRegistry: ExtensionRegistryLite): Context.Metadata.Builder
Link copied to clipboard
Defines the language we are rendering the page for.
.elide.base.LanguageSpec language = 11;
Link copied to clipboard
open fun mergeManifest(value: TrustedResourceUrlProto): Context.Metadata.Builder
Defines a link to a web application manifest, if applicable.
.webutil.html.types.TrustedResourceUrlProto manifest = 6;
Link copied to clipboard
Describes OpenGraph data for a given page.
.elide.page.Context.Metadata.OpenGraph open_graph = 14;
Link copied to clipboard
Defines semantic content structure and binding content.
.elide.page.SemanticMetadata semantic = 4;
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
Defines a favicon image link to apply to the browser tab.
repeated .elide.page.Context.PageLink link = 10;
Link copied to clipboard
RDFa prefixes to add. If left unset, the default OpenGraph prefix will be used.
repeated .elide.page.Context.RDFPrefix prefix = 17;
Link copied to clipboard
Directive for color scheme compatibility.
string color_scheme = 16;
Link copied to clipboard
open fun setColorSchemeBytes(value: ByteString): Context.Metadata.Builder
Directive for color scheme compatibility.
string color_scheme = 16;
Link copied to clipboard
Delegate package for use with Soy rendering, if applicable.
string delegate_package = 20;
Link copied to clipboard
Delegate package for use with Soy rendering, if applicable.
string delegate_package = 20;
Link copied to clipboard
Defines the meta description content for the page.
string description = 2;
Link copied to clipboard
open fun setDescriptionBytes(value: ByteString): Context.Metadata.Builder
Defines the meta description content for the page.
string description = 2;
Link copied to clipboard
Facebook application identifier.
string fb_app_id = 13;
Link copied to clipboard
open fun setFbAppIdBytes(value: ByteString): Context.Metadata.Builder
Facebook application identifier.
string fb_app_id = 13;
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
Googlebot-specific directives.
string googlebot = 18;
Link copied to clipboard
open fun setGooglebotBytes(value: ByteString): Context.Metadata.Builder
Googlebot-specific directives.
string googlebot = 18;
Link copied to clipboard
Identifier for Google Tag Manager.
string gtm_id = 12;
Link copied to clipboard
open fun setGtmIdBytes(value: ByteString): Context.Metadata.Builder
Identifier for Google Tag Manager.
string gtm_id = 12;
Link copied to clipboard
open fun setKeyword(index: Int, value: String): Context.Metadata.Builder
Defines meta tag keywords, to be included in the page.
repeated string keyword = 3;
Link copied to clipboard
Defines the language we are rendering the page for.
.elide.base.LanguageSpec language = 11;
Link copied to clipboard
open fun setLink(index: Int, builderForValue: Context.PageLink.Builder): Context.Metadata.Builder
Defines a favicon image link to apply to the browser tab.
repeated .elide.page.Context.PageLink link = 10;
Link copied to clipboard
open fun setManifest(value: TrustedResourceUrlProto): Context.Metadata.Builder
open fun setManifest(builderForValue: TrustedResourceUrlProto.Builder): Context.Metadata.Builder
Defines a link to a web application manifest, if applicable.
.webutil.html.types.TrustedResourceUrlProto manifest = 6;
Link copied to clipboard
Describes OpenGraph data for a given page.
.elide.page.Context.Metadata.OpenGraph open_graph = 14;
Link copied to clipboard
RDFa prefixes to add. If left unset, the default OpenGraph prefix will be used.
repeated .elide.page.Context.RDFPrefix prefix = 17;
Link copied to clipboard
Set the rating for this page (see: SafeSearch ratings).
string rating = 19;
Link copied to clipboard
open fun setRatingBytes(value: ByteString): Context.Metadata.Builder
Set the rating for this page (see: SafeSearch ratings).
string rating = 19;
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
Directive for indexers/robots.
string robots = 15;
Link copied to clipboard
open fun setRobotsBytes(value: ByteString): Context.Metadata.Builder
Directive for indexers/robots.
string robots = 15;
Link copied to clipboard
Defines semantic content structure and binding content.
.elide.page.SemanticMetadata semantic = 4;
Link copied to clipboard
Defines an image to use in iOS circumstances, when launching as an app shortcut.
string startup_image = 9;
Link copied to clipboard
open fun setStartupImageBytes(value: ByteString): Context.Metadata.Builder
Defines an image to use in iOS circumstances, when launching as an app shortcut.
string startup_image = 9;
Link copied to clipboard
Defines a hex code to use as the primary theme color for the application.
string theme = 7;
Link copied to clipboard
open fun setThemeBytes(value: ByteString): Context.Metadata.Builder
Defines a hex code to use as the primary theme color for the application.
string theme = 7;
Link copied to clipboard
Defines the HTML title for the page, emitted in the <head>.
string title = 1;
Link copied to clipboard
open fun setTitleBytes(value: ByteString): Context.Metadata.Builder
Defines the HTML title for the page, emitted in the <head>.
string title = 1;
Link copied to clipboard
Defines an icon to use in iOS circumstances, when used as an app shortcut.
string touch_icon = 8;
Link copied to clipboard
open fun setTouchIconBytes(value: ByteString): Context.Metadata.Builder
Defines an icon to use in iOS circumstances, when used as an app shortcut.
string touch_icon = 8;
Link copied to clipboard
open fun setUnknownFields(unknownFields: UnknownFieldSet): BuilderT
abstract fun setUnknownFields(unknownFields: UnknownFieldSet): Message.Builder
Link copied to clipboard
Defines the viewport settings that should be used by the rendered page.
string viewport = 5;
Link copied to clipboard
open fun setViewportBytes(value: ByteString): Context.Metadata.Builder
Defines the viewport settings that should be used by the rendered page.
string viewport = 5;
Link copied to clipboard
open fun toString(): String