Page

com.google.api.documentation.Page
See thePage companion object
final case class Page(name: String, content: String, subpages: Seq[Page], unknownFields: UnknownFieldSet) extends GeneratedMessage with Updatable[Page]

Represents a documentation page. A page can contain subpages to represent nested documentation set structure.

Attributes

content

The Markdown content of the page. You can use <code>&#40;== include {path} ==&#41;</code> to include content from a Markdown file. The content can be used to produce the documentation page such as HTML format page.

name

The name of the page. It will be used as an identity of the page to generate URI of the page, text of the link to this page in navigation, etc. The full page name (start from the root page name to this page concatenated with .) can be used as reference to the page in your documentation. For example: <pre><code>pages:

  • name: Tutorial content: &#40;== include tutorial.md ==&#41; subpages:
    • name: Java content: &#40;== include tutorial_java.md ==&#41; </code></pre> You can reference Java page using Markdown reference link syntax: [Java][Tutorial.Java].
subpages

Subpages of this page. The order of subpages specified here will be honored in the generated docset.

Companion:
object
Source:
Page.scala
Graph
Supertypes
trait Updatable[Page]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

Attributes

Source:
Page.scala
def addSubpages(`__vs`: Page*): Page

Attributes

Source:
Page.scala

Attributes

Source:
Page.scala
def companion: Page.type

Attributes

Source:
Page.scala

Attributes

Source:
Page.scala
def getField(`__field`: FieldDescriptor): PValue

Attributes

Source:
Page.scala
def getFieldByNumber(`__fieldNumber`: Int): Any

Attributes

Source:
Page.scala
override def serializedSize: Int

Attributes

Definition Classes
GeneratedMessage
Source:
Page.scala

Returns a human-readable ASCII format representation of this message.

Returns a human-readable ASCII format representation of this message.

The original message can be decoded from this format by using fromAscii on the companion object.

Attributes

Returns:

human-readable representation of this message.

Source:
Page.scala
def withContent(`__v`: String): Page

Attributes

Source:
Page.scala
def withName(`__v`: String): Page

Attributes

Source:
Page.scala
def withSubpages(`__v`: Seq[Page]): Page

Attributes

Source:
Page.scala
def withUnknownFields(`__v`: UnknownFieldSet): Page

Attributes

Source:
Page.scala
def writeTo(`_output__`: CodedOutputStream): Unit

Serializes the message into the given coded output stream

Serializes the message into the given coded output stream

Attributes

Source:
Page.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
final def toByteArray: Array[Byte]

Serializes the message and returns a byte array containing its raw bytes

Serializes the message and returns a byte array containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
Source:
GeneratedMessageCompanion.scala
final def toByteString: ByteString

Serializes the message and returns a ByteString containing its raw bytes

Serializes the message and returns a ByteString containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
Source:
GeneratedMessageCompanion.scala
final def toPMessage: PMessage

Attributes

Inherited from:
GeneratedMessage
Source:
GeneratedMessageCompanion.scala
def update(ms: Lens[Page, Page] => () => Page*): A

Attributes

Inherited from:
Updatable
Source:
Lenses.scala
final def writeDelimitedTo(output: OutputStream): Unit

Attributes

Inherited from:
GeneratedMessage
Source:
GeneratedMessageCompanion.scala
final def writeTo(output: OutputStream): Unit

Serializes the message into the given output stream

Serializes the message into the given output stream

Attributes

Inherited from:
GeneratedMessage
Source:
GeneratedMessageCompanion.scala