Package com.google.api
Class Documentation.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Documentation.Builder>
com.google.api.Documentation.Builder
- All Implemented Interfaces:
DocumentationOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Documentation
public static final class Documentation.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Documentation.Builder>
implements DocumentationOrBuilder
`Documentation` provides the information for describing a service.
Example:
<pre><code>documentation:
summary: >
The Google Calendar API gives access
to most calendar features.
pages:
- name: Overview
content: (== include google/foo/overview.md ==)
- name: Tutorial
content: (== include google/foo/tutorial.md ==)
subpages;
- name: Java
content: (== include google/foo/tutorial_java.md ==)
rules:
- selector: google.calendar.Calendar.Get
description: >
...
- selector: google.calendar.Calendar.Put
description: >
...
</code></pre>
Documentation is provided in markdown syntax. In addition to
standard markdown features, definition lists, tables and fenced
code blocks are supported. Section headers can be provided and are
interpreted relative to the section nesting of the context where
a documentation fragment is embedded.
Documentation from the IDL is merged with documentation defined
via the config at normalization time, where documentation provided
by config rules overrides IDL provided.
A number of constructs specific to the API platform are supported
in documentation text.
In order to reference a proto element, the following
notation can be used:
<pre><code>[fully.qualified.proto.name][]</code></pre>
To override the display text used for the link, this can be used:
<pre><code>[display text][fully.qualified.proto.name]</code></pre>
Text can be excluded from doc using the following notation:
<pre><code>(-- internal comment --)</code></pre>
A few directives are available in documentation. Note that
directives must appear on a single line to be properly
identified. The `include` directive includes a markdown file from
an external source:
<pre><code>(== include path/to/file ==)</code></pre>
The `resource_for` directive marks a message to be the resource of
a collection in REST view. If it is not specified, tools attempt
to infer the resource from the operations in a collection:
<pre><code>(== resource_for v1.shelves.books ==)</code></pre>
The directive `suppress_warning` does not directly affect documentation
and is documented together with service config validation.
Protobuf type google.api.Documentation-
Method Summary
Modifier and TypeMethodDescriptionaddAllPages(Iterable<? extends Page> values) The top level pages for the documentation set.addAllRules(Iterable<? extends DocumentationRule> values) A list of documentation rules that apply to individual API elements.The top level pages for the documentation set.addPages(int index, Page.Builder builderForValue) The top level pages for the documentation set.The top level pages for the documentation set.addPages(Page.Builder builderForValue) The top level pages for the documentation set.The top level pages for the documentation set.addPagesBuilder(int index) The top level pages for the documentation set.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addRules(int index, DocumentationRule value) A list of documentation rules that apply to individual API elements.addRules(int index, DocumentationRule.Builder builderForValue) A list of documentation rules that apply to individual API elements.addRules(DocumentationRule value) A list of documentation rules that apply to individual API elements.addRules(DocumentationRule.Builder builderForValue) A list of documentation rules that apply to individual API elements.A list of documentation rules that apply to individual API elements.addRulesBuilder(int index) A list of documentation rules that apply to individual API elements.build()clear()The URL to the root of documentation.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Declares a single overview page.The top level pages for the documentation set.A list of documentation rules that apply to individual API elements.Specifies the service root url if the default one (the service name from the yaml file) is not suitable.A short description of what the service does.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe URL to the root of documentation.com.google.protobuf.ByteStringThe URL to the root of documentation.Declares a single overview page.com.google.protobuf.ByteStringDeclares a single overview page.getPages(int index) The top level pages for the documentation set.getPagesBuilder(int index) The top level pages for the documentation set.The top level pages for the documentation set.intThe top level pages for the documentation set.The top level pages for the documentation set.getPagesOrBuilder(int index) The top level pages for the documentation set.List<? extends PageOrBuilder>The top level pages for the documentation set.getRules(int index) A list of documentation rules that apply to individual API elements.getRulesBuilder(int index) A list of documentation rules that apply to individual API elements.A list of documentation rules that apply to individual API elements.intA list of documentation rules that apply to individual API elements.A list of documentation rules that apply to individual API elements.getRulesOrBuilder(int index) A list of documentation rules that apply to individual API elements.List<? extends DocumentationRuleOrBuilder>A list of documentation rules that apply to individual API elements.Specifies the service root url if the default one (the service name from the yaml file) is not suitable.com.google.protobuf.ByteStringSpecifies the service root url if the default one (the service name from the yaml file) is not suitable.A short description of what the service does.com.google.protobuf.ByteStringA short description of what the service does.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(Documentation other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) final Documentation.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removePages(int index) The top level pages for the documentation set.removeRules(int index) A list of documentation rules that apply to individual API elements.setDocumentationRootUrl(String value) The URL to the root of documentation.setDocumentationRootUrlBytes(com.google.protobuf.ByteString value) The URL to the root of documentation.setOverview(String value) Declares a single overview page.setOverviewBytes(com.google.protobuf.ByteString value) Declares a single overview page.The top level pages for the documentation set.setPages(int index, Page.Builder builderForValue) The top level pages for the documentation set.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRules(int index, DocumentationRule value) A list of documentation rules that apply to individual API elements.setRules(int index, DocumentationRule.Builder builderForValue) A list of documentation rules that apply to individual API elements.setServiceRootUrl(String value) Specifies the service root url if the default one (the service name from the yaml file) is not suitable.setServiceRootUrlBytes(com.google.protobuf.ByteString value) Specifies the service root url if the default one (the service name from the yaml file) is not suitable.setSummary(String value) A short description of what the service does.setSummaryBytes(com.google.protobuf.ByteString value) A short description of what the service does.final Documentation.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Documentation.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Documentation.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Documentation.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Documentation.Builder>
-
setField
public Documentation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Documentation.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Documentation.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Documentation.Builder>
-
setRepeatedField
public Documentation.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Documentation.Builder>
-
addRepeatedField
public Documentation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Documentation.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Documentation.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Documentation.Builder>
-
mergeFrom
public Documentation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Documentation.Builder>- Throws:
IOException
-
getSummary
A short description of what the service does. The summary must be plain text. It becomes the overview of the service displayed in Google Cloud Console. NOTE: This field is equivalent to the standard field `description`.
string summary = 1;- Specified by:
getSummaryin interfaceDocumentationOrBuilder- Returns:
- The summary.
-
getSummaryBytes
public com.google.protobuf.ByteString getSummaryBytes()A short description of what the service does. The summary must be plain text. It becomes the overview of the service displayed in Google Cloud Console. NOTE: This field is equivalent to the standard field `description`.
string summary = 1;- Specified by:
getSummaryBytesin interfaceDocumentationOrBuilder- Returns:
- The bytes for summary.
-
setSummary
A short description of what the service does. The summary must be plain text. It becomes the overview of the service displayed in Google Cloud Console. NOTE: This field is equivalent to the standard field `description`.
string summary = 1;- Parameters:
value- The summary to set.- Returns:
- This builder for chaining.
-
clearSummary
A short description of what the service does. The summary must be plain text. It becomes the overview of the service displayed in Google Cloud Console. NOTE: This field is equivalent to the standard field `description`.
string summary = 1;- Returns:
- This builder for chaining.
-
setSummaryBytes
A short description of what the service does. The summary must be plain text. It becomes the overview of the service displayed in Google Cloud Console. NOTE: This field is equivalent to the standard field `description`.
string summary = 1;- Parameters:
value- The bytes for summary to set.- Returns:
- This builder for chaining.
-
getPagesList
The top level pages for the documentation set.
repeated .google.api.Page pages = 5;- Specified by:
getPagesListin interfaceDocumentationOrBuilder
-
getPagesCount
public int getPagesCount()The top level pages for the documentation set.
repeated .google.api.Page pages = 5;- Specified by:
getPagesCountin interfaceDocumentationOrBuilder
-
getPages
The top level pages for the documentation set.
repeated .google.api.Page pages = 5;- Specified by:
getPagesin interfaceDocumentationOrBuilder
-
setPages
The top level pages for the documentation set.
repeated .google.api.Page pages = 5; -
setPages
The top level pages for the documentation set.
repeated .google.api.Page pages = 5; -
addPages
The top level pages for the documentation set.
repeated .google.api.Page pages = 5; -
addPages
The top level pages for the documentation set.
repeated .google.api.Page pages = 5; -
addPages
The top level pages for the documentation set.
repeated .google.api.Page pages = 5; -
addPages
The top level pages for the documentation set.
repeated .google.api.Page pages = 5; -
addAllPages
The top level pages for the documentation set.
repeated .google.api.Page pages = 5; -
clearPages
The top level pages for the documentation set.
repeated .google.api.Page pages = 5; -
removePages
The top level pages for the documentation set.
repeated .google.api.Page pages = 5; -
getPagesBuilder
The top level pages for the documentation set.
repeated .google.api.Page pages = 5; -
getPagesOrBuilder
The top level pages for the documentation set.
repeated .google.api.Page pages = 5;- Specified by:
getPagesOrBuilderin interfaceDocumentationOrBuilder
-
getPagesOrBuilderList
The top level pages for the documentation set.
repeated .google.api.Page pages = 5;- Specified by:
getPagesOrBuilderListin interfaceDocumentationOrBuilder
-
addPagesBuilder
The top level pages for the documentation set.
repeated .google.api.Page pages = 5; -
addPagesBuilder
The top level pages for the documentation set.
repeated .google.api.Page pages = 5; -
getPagesBuilderList
The top level pages for the documentation set.
repeated .google.api.Page pages = 5; -
getRulesList
A list of documentation rules that apply to individual API elements. **NOTE:** All service configuration rules follow "last one wins" order.
repeated .google.api.DocumentationRule rules = 3;- Specified by:
getRulesListin interfaceDocumentationOrBuilder
-
getRulesCount
public int getRulesCount()A list of documentation rules that apply to individual API elements. **NOTE:** All service configuration rules follow "last one wins" order.
repeated .google.api.DocumentationRule rules = 3;- Specified by:
getRulesCountin interfaceDocumentationOrBuilder
-
getRules
A list of documentation rules that apply to individual API elements. **NOTE:** All service configuration rules follow "last one wins" order.
repeated .google.api.DocumentationRule rules = 3;- Specified by:
getRulesin interfaceDocumentationOrBuilder
-
setRules
A list of documentation rules that apply to individual API elements. **NOTE:** All service configuration rules follow "last one wins" order.
repeated .google.api.DocumentationRule rules = 3; -
setRules
A list of documentation rules that apply to individual API elements. **NOTE:** All service configuration rules follow "last one wins" order.
repeated .google.api.DocumentationRule rules = 3; -
addRules
A list of documentation rules that apply to individual API elements. **NOTE:** All service configuration rules follow "last one wins" order.
repeated .google.api.DocumentationRule rules = 3; -
addRules
A list of documentation rules that apply to individual API elements. **NOTE:** All service configuration rules follow "last one wins" order.
repeated .google.api.DocumentationRule rules = 3; -
addRules
A list of documentation rules that apply to individual API elements. **NOTE:** All service configuration rules follow "last one wins" order.
repeated .google.api.DocumentationRule rules = 3; -
addRules
A list of documentation rules that apply to individual API elements. **NOTE:** All service configuration rules follow "last one wins" order.
repeated .google.api.DocumentationRule rules = 3; -
addAllRules
A list of documentation rules that apply to individual API elements. **NOTE:** All service configuration rules follow "last one wins" order.
repeated .google.api.DocumentationRule rules = 3; -
clearRules
A list of documentation rules that apply to individual API elements. **NOTE:** All service configuration rules follow "last one wins" order.
repeated .google.api.DocumentationRule rules = 3; -
removeRules
A list of documentation rules that apply to individual API elements. **NOTE:** All service configuration rules follow "last one wins" order.
repeated .google.api.DocumentationRule rules = 3; -
getRulesBuilder
A list of documentation rules that apply to individual API elements. **NOTE:** All service configuration rules follow "last one wins" order.
repeated .google.api.DocumentationRule rules = 3; -
getRulesOrBuilder
A list of documentation rules that apply to individual API elements. **NOTE:** All service configuration rules follow "last one wins" order.
repeated .google.api.DocumentationRule rules = 3;- Specified by:
getRulesOrBuilderin interfaceDocumentationOrBuilder
-
getRulesOrBuilderList
A list of documentation rules that apply to individual API elements. **NOTE:** All service configuration rules follow "last one wins" order.
repeated .google.api.DocumentationRule rules = 3;- Specified by:
getRulesOrBuilderListin interfaceDocumentationOrBuilder
-
addRulesBuilder
A list of documentation rules that apply to individual API elements. **NOTE:** All service configuration rules follow "last one wins" order.
repeated .google.api.DocumentationRule rules = 3; -
addRulesBuilder
A list of documentation rules that apply to individual API elements. **NOTE:** All service configuration rules follow "last one wins" order.
repeated .google.api.DocumentationRule rules = 3; -
getRulesBuilderList
A list of documentation rules that apply to individual API elements. **NOTE:** All service configuration rules follow "last one wins" order.
repeated .google.api.DocumentationRule rules = 3; -
getDocumentationRootUrl
The URL to the root of documentation.
string documentation_root_url = 4;- Specified by:
getDocumentationRootUrlin interfaceDocumentationOrBuilder- Returns:
- The documentationRootUrl.
-
getDocumentationRootUrlBytes
public com.google.protobuf.ByteString getDocumentationRootUrlBytes()The URL to the root of documentation.
string documentation_root_url = 4;- Specified by:
getDocumentationRootUrlBytesin interfaceDocumentationOrBuilder- Returns:
- The bytes for documentationRootUrl.
-
setDocumentationRootUrl
The URL to the root of documentation.
string documentation_root_url = 4;- Parameters:
value- The documentationRootUrl to set.- Returns:
- This builder for chaining.
-
clearDocumentationRootUrl
The URL to the root of documentation.
string documentation_root_url = 4;- Returns:
- This builder for chaining.
-
setDocumentationRootUrlBytes
The URL to the root of documentation.
string documentation_root_url = 4;- Parameters:
value- The bytes for documentationRootUrl to set.- Returns:
- This builder for chaining.
-
getServiceRootUrl
Specifies the service root url if the default one (the service name from the yaml file) is not suitable. This can be seen in any fully specified service urls as well as sections that show a base that other urls are relative to.
string service_root_url = 6;- Specified by:
getServiceRootUrlin interfaceDocumentationOrBuilder- Returns:
- The serviceRootUrl.
-
getServiceRootUrlBytes
public com.google.protobuf.ByteString getServiceRootUrlBytes()Specifies the service root url if the default one (the service name from the yaml file) is not suitable. This can be seen in any fully specified service urls as well as sections that show a base that other urls are relative to.
string service_root_url = 6;- Specified by:
getServiceRootUrlBytesin interfaceDocumentationOrBuilder- Returns:
- The bytes for serviceRootUrl.
-
setServiceRootUrl
Specifies the service root url if the default one (the service name from the yaml file) is not suitable. This can be seen in any fully specified service urls as well as sections that show a base that other urls are relative to.
string service_root_url = 6;- Parameters:
value- The serviceRootUrl to set.- Returns:
- This builder for chaining.
-
clearServiceRootUrl
Specifies the service root url if the default one (the service name from the yaml file) is not suitable. This can be seen in any fully specified service urls as well as sections that show a base that other urls are relative to.
string service_root_url = 6;- Returns:
- This builder for chaining.
-
setServiceRootUrlBytes
Specifies the service root url if the default one (the service name from the yaml file) is not suitable. This can be seen in any fully specified service urls as well as sections that show a base that other urls are relative to.
string service_root_url = 6;- Parameters:
value- The bytes for serviceRootUrl to set.- Returns:
- This builder for chaining.
-
getOverview
Declares a single overview page. For example: <pre><code>documentation: summary: ... overview: (== include overview.md ==) </code></pre> This is a shortcut for the following declaration (using pages style): <pre><code>documentation: summary: ... pages: - name: Overview content: (== include overview.md ==) </code></pre> Note: you cannot specify both `overview` field and `pages` field.string overview = 2;- Specified by:
getOverviewin interfaceDocumentationOrBuilder- Returns:
- The overview.
-
getOverviewBytes
public com.google.protobuf.ByteString getOverviewBytes()Declares a single overview page. For example: <pre><code>documentation: summary: ... overview: (== include overview.md ==) </code></pre> This is a shortcut for the following declaration (using pages style): <pre><code>documentation: summary: ... pages: - name: Overview content: (== include overview.md ==) </code></pre> Note: you cannot specify both `overview` field and `pages` field.string overview = 2;- Specified by:
getOverviewBytesin interfaceDocumentationOrBuilder- Returns:
- The bytes for overview.
-
setOverview
Declares a single overview page. For example: <pre><code>documentation: summary: ... overview: (== include overview.md ==) </code></pre> This is a shortcut for the following declaration (using pages style): <pre><code>documentation: summary: ... pages: - name: Overview content: (== include overview.md ==) </code></pre> Note: you cannot specify both `overview` field and `pages` field.string overview = 2;- Parameters:
value- The overview to set.- Returns:
- This builder for chaining.
-
clearOverview
Declares a single overview page. For example: <pre><code>documentation: summary: ... overview: (== include overview.md ==) </code></pre> This is a shortcut for the following declaration (using pages style): <pre><code>documentation: summary: ... pages: - name: Overview content: (== include overview.md ==) </code></pre> Note: you cannot specify both `overview` field and `pages` field.string overview = 2;- Returns:
- This builder for chaining.
-
setOverviewBytes
Declares a single overview page. For example: <pre><code>documentation: summary: ... overview: (== include overview.md ==) </code></pre> This is a shortcut for the following declaration (using pages style): <pre><code>documentation: summary: ... pages: - name: Overview content: (== include overview.md ==) </code></pre> Note: you cannot specify both `overview` field and `pages` field.string overview = 2;- Parameters:
value- The bytes for overview to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Documentation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Documentation.Builder>
-
mergeUnknownFields
public final Documentation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Documentation.Builder>
-