Package com.google.api
Interface DocumentationOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Documentation,Documentation.Builder
public interface DocumentationOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetDocumentationRootUrl()The URL to the root of documentation.com.google.protobuf.ByteStringgetDocumentationRootUrlBytes()The URL to the root of documentation.StringgetOverview()Declares a single overview page.com.google.protobuf.ByteStringgetOverviewBytes()Declares a single overview page.PagegetPages(int index)The top level pages for the documentation set.intgetPagesCount()The top level pages for the documentation set.List<Page>getPagesList()The top level pages for the documentation set.PageOrBuildergetPagesOrBuilder(int index)The top level pages for the documentation set.List<? extends PageOrBuilder>getPagesOrBuilderList()The top level pages for the documentation set.DocumentationRulegetRules(int index)A list of documentation rules that apply to individual API elements.intgetRulesCount()A list of documentation rules that apply to individual API elements.List<DocumentationRule>getRulesList()A list of documentation rules that apply to individual API elements.DocumentationRuleOrBuildergetRulesOrBuilder(int index)A list of documentation rules that apply to individual API elements.List<? extends DocumentationRuleOrBuilder>getRulesOrBuilderList()A list of documentation rules that apply to individual API elements.StringgetServiceRootUrl()Specifies the service root url if the default one (the service name from the yaml file) is not suitable.com.google.protobuf.ByteStringgetServiceRootUrlBytes()Specifies the service root url if the default one (the service name from the yaml file) is not suitable.StringgetSummary()A short description of what the service does.com.google.protobuf.ByteStringgetSummaryBytes()A short description of what the service does.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getSummary
String 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;- Returns:
- The summary.
-
getSummaryBytes
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;- Returns:
- The bytes for summary.
-
getPagesList
List<Page> getPagesList()
The top level pages for the documentation set.
repeated .google.api.Page pages = 5;
-
getPages
Page getPages(int index)
The top level pages for the documentation set.
repeated .google.api.Page pages = 5;
-
getPagesCount
int getPagesCount()
The top level pages for the documentation set.
repeated .google.api.Page pages = 5;
-
getPagesOrBuilderList
List<? extends PageOrBuilder> getPagesOrBuilderList()
The top level pages for the documentation set.
repeated .google.api.Page pages = 5;
-
getPagesOrBuilder
PageOrBuilder getPagesOrBuilder(int index)
The top level pages for the documentation set.
repeated .google.api.Page pages = 5;
-
getRulesList
List<DocumentationRule> 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;
-
getRules
DocumentationRule getRules(int index)
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;
-
getRulesCount
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;
-
getRulesOrBuilderList
List<? extends DocumentationRuleOrBuilder> 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;
-
getRulesOrBuilder
DocumentationRuleOrBuilder getRulesOrBuilder(int index)
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
String getDocumentationRootUrl()
The URL to the root of documentation.
string documentation_root_url = 4;- Returns:
- The documentationRootUrl.
-
getDocumentationRootUrlBytes
com.google.protobuf.ByteString getDocumentationRootUrlBytes()
The URL to the root of documentation.
string documentation_root_url = 4;- Returns:
- The bytes for documentationRootUrl.
-
getServiceRootUrl
String 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;- Returns:
- The serviceRootUrl.
-
getServiceRootUrlBytes
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;- Returns:
- The bytes for serviceRootUrl.
-
getOverview
String 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;- Returns:
- The overview.
-
getOverviewBytes
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;- Returns:
- The bytes for overview.
-
-