public static final class Page.Builder extends GeneratedMessageV3.Builder<Page.Builder> implements PageOrBuilder
Represents a documentation page. A page can contain subpages to represent nested documentation set structure.Protobuf type
google.api.Page| Modifier and Type | Method and Description |
|---|---|
Page.Builder |
addAllSubpages(java.lang.Iterable<? extends Page> values)
Subpages of this page.
|
Page.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
Page.Builder |
addSubpages(int index,
Page.Builder builderForValue)
Subpages of this page.
|
Page.Builder |
addSubpages(int index,
Page value)
Subpages of this page.
|
Page.Builder |
addSubpages(Page.Builder builderForValue)
Subpages of this page.
|
Page.Builder |
addSubpages(Page value)
Subpages of this page.
|
Page.Builder |
addSubpagesBuilder()
Subpages of this page.
|
Page.Builder |
addSubpagesBuilder(int index)
Subpages of this page.
|
Page |
build() |
Page |
buildPartial() |
Page.Builder |
clear() |
Page.Builder |
clearContent()
The Markdown content of the page.
|
Page.Builder |
clearField(Descriptors.FieldDescriptor field) |
Page.Builder |
clearName()
The name of the page.
|
Page.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
Page.Builder |
clearSubpages()
Subpages of this page.
|
Page.Builder |
clone() |
java.lang.String |
getContent()
The Markdown content of the page.
|
ByteString |
getContentBytes()
The Markdown content of the page.
|
Page |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getName()
The name of the page.
|
ByteString |
getNameBytes()
The name of the page.
|
Page |
getSubpages(int index)
Subpages of this page.
|
Page.Builder |
getSubpagesBuilder(int index)
Subpages of this page.
|
java.util.List<Page.Builder> |
getSubpagesBuilderList()
Subpages of this page.
|
int |
getSubpagesCount()
Subpages of this page.
|
java.util.List<Page> |
getSubpagesList()
Subpages of this page.
|
PageOrBuilder |
getSubpagesOrBuilder(int index)
Subpages of this page.
|
java.util.List<? extends PageOrBuilder> |
getSubpagesOrBuilderList()
Subpages of this page.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Page.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
Page.Builder |
mergeFrom(Message other) |
Page.Builder |
mergeFrom(Page other) |
Page.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
Page.Builder |
removeSubpages(int index)
Subpages of this page.
|
Page.Builder |
setContent(java.lang.String value)
The Markdown content of the page.
|
Page.Builder |
setContentBytes(ByteString value)
The Markdown content of the page.
|
Page.Builder |
setField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
Page.Builder |
setName(java.lang.String value)
The name of the page.
|
Page.Builder |
setNameBytes(ByteString value)
The name of the page.
|
Page.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Page.Builder |
setSubpages(int index,
Page.Builder builderForValue)
Subpages of this page.
|
Page.Builder |
setSubpages(int index,
Page value)
Subpages of this page.
|
Page.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeFrompublic static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3.Builder<Page.Builder>public Page.Builder clear()
clear in interface Message.Builderclear in interface MessageLite.Builderclear in class GeneratedMessageV3.Builder<Page.Builder>public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface Message.BuildergetDescriptorForType in interface MessageOrBuildergetDescriptorForType in class GeneratedMessageV3.Builder<Page.Builder>public Page getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic Page build()
build in interface Message.Builderbuild in interface MessageLite.Builderpublic Page buildPartial()
buildPartial in interface Message.BuilderbuildPartial in interface MessageLite.Builderpublic Page.Builder clone()
clone in interface Message.Builderclone in interface MessageLite.Builderclone in class GeneratedMessageV3.Builder<Page.Builder>public Page.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface Message.BuildersetField in class GeneratedMessageV3.Builder<Page.Builder>public Page.Builder clearField(Descriptors.FieldDescriptor field)
clearField in interface Message.BuilderclearField in class GeneratedMessageV3.Builder<Page.Builder>public Page.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof in interface Message.BuilderclearOneof in class GeneratedMessageV3.Builder<Page.Builder>public Page.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface Message.BuildersetRepeatedField in class GeneratedMessageV3.Builder<Page.Builder>public Page.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface Message.BuilderaddRepeatedField in class GeneratedMessageV3.Builder<Page.Builder>public Page.Builder mergeFrom(Message other)
mergeFrom in interface Message.BuildermergeFrom in class AbstractMessage.Builder<Page.Builder>public Page.Builder mergeFrom(Page other)
public final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3.Builder<Page.Builder>public Page.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface Message.BuildermergeFrom in interface MessageLite.BuildermergeFrom in class AbstractMessage.Builder<Page.Builder>java.io.IOExceptionpublic java.lang.String getName()
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: (== include tutorial.md ==)
subpages:
- name: Java
content: (== include tutorial_java.md ==)
</code></pre>
You can reference `Java` page using Markdown reference link syntax:
`[Java][Tutorial.Java]`.
string name = 1;getName in interface PageOrBuilderpublic ByteString getNameBytes()
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: (== include tutorial.md ==)
subpages:
- name: Java
content: (== include tutorial_java.md ==)
</code></pre>
You can reference `Java` page using Markdown reference link syntax:
`[Java][Tutorial.Java]`.
string name = 1;getNameBytes in interface PageOrBuilderpublic Page.Builder setName(java.lang.String value)
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: (== include tutorial.md ==)
subpages:
- name: Java
content: (== include tutorial_java.md ==)
</code></pre>
You can reference `Java` page using Markdown reference link syntax:
`[Java][Tutorial.Java]`.
string name = 1;public Page.Builder clearName()
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: (== include tutorial.md ==)
subpages:
- name: Java
content: (== include tutorial_java.md ==)
</code></pre>
You can reference `Java` page using Markdown reference link syntax:
`[Java][Tutorial.Java]`.
string name = 1;public Page.Builder setNameBytes(ByteString value)
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: (== include tutorial.md ==)
subpages:
- name: Java
content: (== include tutorial_java.md ==)
</code></pre>
You can reference `Java` page using Markdown reference link syntax:
`[Java][Tutorial.Java]`.
string name = 1;public java.lang.String getContent()
The Markdown content of the page. You can use <code>(== include {path}
==)</code> to include content from a Markdown file.
string content = 2;getContent in interface PageOrBuilderpublic ByteString getContentBytes()
The Markdown content of the page. You can use <code>(== include {path}
==)</code> to include content from a Markdown file.
string content = 2;getContentBytes in interface PageOrBuilderpublic Page.Builder setContent(java.lang.String value)
The Markdown content of the page. You can use <code>(== include {path}
==)</code> to include content from a Markdown file.
string content = 2;public Page.Builder clearContent()
The Markdown content of the page. You can use <code>(== include {path}
==)</code> to include content from a Markdown file.
string content = 2;public Page.Builder setContentBytes(ByteString value)
The Markdown content of the page. You can use <code>(== include {path}
==)</code> to include content from a Markdown file.
string content = 2;public java.util.List<Page> getSubpagesList()
Subpages of this page. The order of subpages specified here will be honored in the generated docset.
repeated .google.api.Page subpages = 3;getSubpagesList in interface PageOrBuilderpublic int getSubpagesCount()
Subpages of this page. The order of subpages specified here will be honored in the generated docset.
repeated .google.api.Page subpages = 3;getSubpagesCount in interface PageOrBuilderpublic Page getSubpages(int index)
Subpages of this page. The order of subpages specified here will be honored in the generated docset.
repeated .google.api.Page subpages = 3;getSubpages in interface PageOrBuilderpublic Page.Builder setSubpages(int index, Page value)
Subpages of this page. The order of subpages specified here will be honored in the generated docset.
repeated .google.api.Page subpages = 3;public Page.Builder setSubpages(int index, Page.Builder builderForValue)
Subpages of this page. The order of subpages specified here will be honored in the generated docset.
repeated .google.api.Page subpages = 3;public Page.Builder addSubpages(Page value)
Subpages of this page. The order of subpages specified here will be honored in the generated docset.
repeated .google.api.Page subpages = 3;public Page.Builder addSubpages(int index, Page value)
Subpages of this page. The order of subpages specified here will be honored in the generated docset.
repeated .google.api.Page subpages = 3;public Page.Builder addSubpages(Page.Builder builderForValue)
Subpages of this page. The order of subpages specified here will be honored in the generated docset.
repeated .google.api.Page subpages = 3;public Page.Builder addSubpages(int index, Page.Builder builderForValue)
Subpages of this page. The order of subpages specified here will be honored in the generated docset.
repeated .google.api.Page subpages = 3;public Page.Builder addAllSubpages(java.lang.Iterable<? extends Page> values)
Subpages of this page. The order of subpages specified here will be honored in the generated docset.
repeated .google.api.Page subpages = 3;public Page.Builder clearSubpages()
Subpages of this page. The order of subpages specified here will be honored in the generated docset.
repeated .google.api.Page subpages = 3;public Page.Builder removeSubpages(int index)
Subpages of this page. The order of subpages specified here will be honored in the generated docset.
repeated .google.api.Page subpages = 3;public Page.Builder getSubpagesBuilder(int index)
Subpages of this page. The order of subpages specified here will be honored in the generated docset.
repeated .google.api.Page subpages = 3;public PageOrBuilder getSubpagesOrBuilder(int index)
Subpages of this page. The order of subpages specified here will be honored in the generated docset.
repeated .google.api.Page subpages = 3;getSubpagesOrBuilder in interface PageOrBuilderpublic java.util.List<? extends PageOrBuilder> getSubpagesOrBuilderList()
Subpages of this page. The order of subpages specified here will be honored in the generated docset.
repeated .google.api.Page subpages = 3;getSubpagesOrBuilderList in interface PageOrBuilderpublic Page.Builder addSubpagesBuilder()
Subpages of this page. The order of subpages specified here will be honored in the generated docset.
repeated .google.api.Page subpages = 3;public Page.Builder addSubpagesBuilder(int index)
Subpages of this page. The order of subpages specified here will be honored in the generated docset.
repeated .google.api.Page subpages = 3;public java.util.List<Page.Builder> getSubpagesBuilderList()
Subpages of this page. The order of subpages specified here will be honored in the generated docset.
repeated .google.api.Page subpages = 3;public final Page.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields in interface Message.BuildersetUnknownFields in class GeneratedMessageV3.Builder<Page.Builder>public final Page.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields in interface Message.BuildermergeUnknownFields in class GeneratedMessageV3.Builder<Page.Builder>