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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<Page.Builder>
public Page.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<Page.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<Page.Builder>
public Page getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public Page build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public Page buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public Page.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<Page.Builder>
public Page.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<Page.Builder>
public Page.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<Page.Builder>
public Page.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<Page.Builder>
public Page.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<Page.Builder>
public Page.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<Page.Builder>
public Page.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<Page.Builder>
public Page.Builder mergeFrom(Page other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<Page.Builder>
public Page.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<Page.Builder>
java.io.IOException
public 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 PageOrBuilder
public 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 PageOrBuilder
public 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 PageOrBuilder
public 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 PageOrBuilder
public 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 PageOrBuilder
public 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 PageOrBuilder
public 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 PageOrBuilder
public 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 PageOrBuilder
public 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 PageOrBuilder
public 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.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<Page.Builder>
public final Page.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<Page.Builder>