| 1 |
// Copyright 2026 Google LLC |
| 2 |
// |
| 3 |
// Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 |
// you may not use this file except in compliance with the License. |
| 5 |
// You may obtain a copy of the License at |
| 6 |
// |
| 7 |
// http://www.apache.org/licenses/LICENSE-2.0 |
| 8 |
// |
| 9 |
// Unless required by applicable law or agreed to in writing, software |
| 10 |
// distributed under the License is distributed on an "AS IS" BASIS, |
| 11 |
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 |
// See the License for the specific language governing permissions and |
| 13 |
// limitations under the License. |
| 14 |
|
| 15 |
// Code generated by protoc-gen-go. DO NOT EDIT. |
| 16 |
// versions: |
| 17 |
// protoc-gen-go v1.26.0 |
| 18 |
// protoc v4.24.4 |
| 19 |
// source: google/api/documentation.proto |
| 20 |
|
| 21 |
package serviceconfig |
| 22 |
|
| 23 |
import ( |
| 24 |
reflect "reflect" |
| 25 |
sync "sync" |
| 26 |
|
| 27 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 28 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 29 |
) |
| 30 |
|
| 31 |
const ( |
| 32 |
// Verify that this generated code is sufficiently up-to-date. |
| 33 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 34 |
// Verify that runtime/protoimpl is sufficiently up-to-date. |
| 35 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 36 |
) |
| 37 |
|
| 38 |
// `Documentation` provides the information for describing a service. |
| 39 |
// |
| 40 |
// Example: |
| 41 |
// <pre><code>documentation: |
| 42 |
// |
| 43 |
// summary: > |
| 44 |
// The Google Calendar API gives access |
| 45 |
// to most calendar features. |
| 46 |
// pages: |
| 47 |
// - name: Overview |
| 48 |
// content: (== include google/foo/overview.md ==) |
| 49 |
// - name: Tutorial |
| 50 |
// content: (== include google/foo/tutorial.md ==) |
| 51 |
// subpages: |
| 52 |
// - name: Java |
| 53 |
// content: (== include google/foo/tutorial_java.md ==) |
| 54 |
// rules: |
| 55 |
// - selector: google.calendar.Calendar.Get |
| 56 |
// description: > |
| 57 |
// ... |
| 58 |
// - selector: google.calendar.Calendar.Put |
| 59 |
// description: > |
| 60 |
// ... |
| 61 |
// |
| 62 |
// </code></pre> |
| 63 |
// Documentation is provided in markdown syntax. In addition to |
| 64 |
// standard markdown features, definition lists, tables and fenced |
| 65 |
// code blocks are supported. Section headers can be provided and are |
| 66 |
// interpreted relative to the section nesting of the context where |
| 67 |
// a documentation fragment is embedded. |
| 68 |
// |
| 69 |
// Documentation from the IDL is merged with documentation defined |
| 70 |
// via the config at normalization time, where documentation provided |
| 71 |
// by config rules overrides IDL provided. |
| 72 |
// |
| 73 |
// A number of constructs specific to the API platform are supported |
| 74 |
// in documentation text. |
| 75 |
// |
| 76 |
// In order to reference a proto element, the following |
| 77 |
// notation can be used: |
| 78 |
// <pre><code>[fully.qualified.proto.name][]</code></pre> |
| 79 |
// To override the display text used for the link, this can be used: |
| 80 |
// <pre><code>[display text][fully.qualified.proto.name]</code></pre> |
| 81 |
// Text can be excluded from doc using the following notation: |
| 82 |
// <pre><code>(-- internal comment --)</code></pre> |
| 83 |
// |
| 84 |
// A few directives are available in documentation. Note that |
| 85 |
// directives must appear on a single line to be properly |
| 86 |
// identified. The `include` directive includes a markdown file from |
| 87 |
// an external source: |
| 88 |
// <pre><code>(== include path/to/file ==)</code></pre> |
| 89 |
// The `resource_for` directive marks a message to be the resource of |
| 90 |
// a collection in REST view. If it is not specified, tools attempt |
| 91 |
// to infer the resource from the operations in a collection: |
| 92 |
// <pre><code>(== resource_for v1.shelves.books ==)</code></pre> |
| 93 |
// The directive `suppress_warning` does not directly affect documentation |
| 94 |
// and is documented together with service config validation. |
| 95 |
type Documentation struct { |
| 96 |
state protoimpl.MessageState |
| 97 |
sizeCache protoimpl.SizeCache |
| 98 |
unknownFields protoimpl.UnknownFields |
| 99 |
|
| 100 |
// A short description of what the service does. The summary must be plain |
| 101 |
// text. It becomes the overview of the service displayed in Google Cloud |
| 102 |
// Console. |
| 103 |
// NOTE: This field is equivalent to the standard field `description`. |
| 104 |
Summary string `protobuf:"bytes,1,opt,name=summary,proto3" json:"summary,omitempty"` |
| 105 |
// The top level pages for the documentation set. |
| 106 |
Pages []*Page `protobuf:"bytes,5,rep,name=pages,proto3" json:"pages,omitempty"` |
| 107 |
// A list of documentation rules that apply to individual API elements. |
| 108 |
// |
| 109 |
// **NOTE:** All service configuration rules follow "last one wins" order. |
| 110 |
Rules []*DocumentationRule `protobuf:"bytes,3,rep,name=rules,proto3" json:"rules,omitempty"` |
| 111 |
// The URL to the root of documentation. |
| 112 |
DocumentationRootUrl string `protobuf:"bytes,4,opt,name=documentation_root_url,json=documentationRootUrl,proto3" json:"documentation_root_url,omitempty"` |
| 113 |
// Specifies the service root url if the default one (the service name |
| 114 |
// from the yaml file) is not suitable. This can be seen in any fully |
| 115 |
// specified service urls as well as sections that show a base that other |
| 116 |
// urls are relative to. |
| 117 |
ServiceRootUrl string `protobuf:"bytes,6,opt,name=service_root_url,json=serviceRootUrl,proto3" json:"service_root_url,omitempty"` |
| 118 |
// Declares a single overview page. For example: |
| 119 |
// <pre><code>documentation: |
| 120 |
// |
| 121 |
// summary: ... |
| 122 |
// overview: (== include overview.md ==) |
| 123 |
// |
| 124 |
// </code></pre> |
| 125 |
// This is a shortcut for the following declaration (using pages style): |
| 126 |
// <pre><code>documentation: |
| 127 |
// |
| 128 |
// summary: ... |
| 129 |
// pages: |
| 130 |
// - name: Overview |
| 131 |
// content: (== include overview.md ==) |
| 132 |
// |
| 133 |
// </code></pre> |
| 134 |
// Note: you cannot specify both `overview` field and `pages` field. |
| 135 |
Overview string `protobuf:"bytes,2,opt,name=overview,proto3" json:"overview,omitempty"` |
| 136 |
} |
| 137 |
|
| 138 |
func (x *Documentation) Reset() { |
| 139 |
*x = Documentation{} |
| 140 |
if protoimpl.UnsafeEnabled { |
| 141 |
mi := &file_google_api_documentation_proto_msgTypes[0] |
| 142 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 143 |
ms.StoreMessageInfo(mi) |
| 144 |
} |
| 145 |
} |
| 146 |
|
| 147 |
func (x *Documentation) String() string { |
| 148 |
return protoimpl.X.MessageStringOf(x) |
| 149 |
} |
| 150 |
|
| 151 |
func (*Documentation) ProtoMessage() {} |
| 152 |
|
| 153 |
func (x *Documentation) ProtoReflect() protoreflect.Message { |
| 154 |
mi := &file_google_api_documentation_proto_msgTypes[0] |
| 155 |
if protoimpl.UnsafeEnabled && x != nil { |
| 156 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 157 |
if ms.LoadMessageInfo() == nil { |
| 158 |
ms.StoreMessageInfo(mi) |
| 159 |
} |
| 160 |
return ms |
| 161 |
} |
| 162 |
return mi.MessageOf(x) |
| 163 |
} |
| 164 |
|
| 165 |
// Deprecated: Use Documentation.ProtoReflect.Descriptor instead. |
| 166 |
func (*Documentation) Descriptor() ([]byte, []int) { |
| 167 |
return file_google_api_documentation_proto_rawDescGZIP(), []int{0} |
| 168 |
} |
| 169 |
|
| 170 |
func (x *Documentation) GetSummary() string { |
| 171 |
if x != nil { |
| 172 |
return x.Summary |
| 173 |
} |
| 174 |
return "" |
| 175 |
} |
| 176 |
|
| 177 |
func (x *Documentation) GetPages() []*Page { |
| 178 |
if x != nil { |
| 179 |
return x.Pages |
| 180 |
} |
| 181 |
return nil |
| 182 |
} |
| 183 |
|
| 184 |
func (x *Documentation) GetRules() []*DocumentationRule { |
| 185 |
if x != nil { |
| 186 |
return x.Rules |
| 187 |
} |
| 188 |
return nil |
| 189 |
} |
| 190 |
|
| 191 |
func (x *Documentation) GetDocumentationRootUrl() string { |
| 192 |
if x != nil { |
| 193 |
return x.DocumentationRootUrl |
| 194 |
} |
| 195 |
return "" |
| 196 |
} |
| 197 |
|
| 198 |
func (x *Documentation) GetServiceRootUrl() string { |
| 199 |
if x != nil { |
| 200 |
return x.ServiceRootUrl |
| 201 |
} |
| 202 |
return "" |
| 203 |
} |
| 204 |
|
| 205 |
func (x *Documentation) GetOverview() string { |
| 206 |
if x != nil { |
| 207 |
return x.Overview |
| 208 |
} |
| 209 |
return "" |
| 210 |
} |
| 211 |
|
| 212 |
// A documentation rule provides information about individual API elements. |
| 213 |
type DocumentationRule struct { |
| 214 |
state protoimpl.MessageState |
| 215 |
sizeCache protoimpl.SizeCache |
| 216 |
unknownFields protoimpl.UnknownFields |
| 217 |
|
| 218 |
// The selector is a comma-separated list of patterns for any element such as |
| 219 |
// a method, a field, an enum value. Each pattern is a qualified name of the |
| 220 |
// element which may end in "*", indicating a wildcard. Wildcards are only |
| 221 |
// allowed at the end and for a whole component of the qualified name, |
| 222 |
// i.e. "foo.*" is ok, but not "foo.b*" or "foo.*.bar". A wildcard will match |
| 223 |
// one or more components. To specify a default for all applicable elements, |
| 224 |
// the whole pattern "*" is used. |
| 225 |
Selector string `protobuf:"bytes,1,opt,name=selector,proto3" json:"selector,omitempty"` |
| 226 |
// Description of the selected proto element (e.g. a message, a method, a |
| 227 |
// 'service' definition, or a field). Defaults to leading & trailing comments |
| 228 |
// taken from the proto source definition of the proto element. |
| 229 |
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` |
| 230 |
// Deprecation description of the selected element(s). It can be provided if |
| 231 |
// an element is marked as `deprecated`. |
| 232 |
DeprecationDescription string `protobuf:"bytes,3,opt,name=deprecation_description,json=deprecationDescription,proto3" json:"deprecation_description,omitempty"` |
| 233 |
} |
| 234 |
|
| 235 |
func (x *DocumentationRule) Reset() { |
| 236 |
*x = DocumentationRule{} |
| 237 |
if protoimpl.UnsafeEnabled { |
| 238 |
mi := &file_google_api_documentation_proto_msgTypes[1] |
| 239 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 240 |
ms.StoreMessageInfo(mi) |
| 241 |
} |
| 242 |
} |
| 243 |
|
| 244 |
func (x *DocumentationRule) String() string { |
| 245 |
return protoimpl.X.MessageStringOf(x) |
| 246 |
} |
| 247 |
|
| 248 |
func (*DocumentationRule) ProtoMessage() {} |
| 249 |
|
| 250 |
func (x *DocumentationRule) ProtoReflect() protoreflect.Message { |
| 251 |
mi := &file_google_api_documentation_proto_msgTypes[1] |
| 252 |
if protoimpl.UnsafeEnabled && x != nil { |
| 253 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 254 |
if ms.LoadMessageInfo() == nil { |
| 255 |
ms.StoreMessageInfo(mi) |
| 256 |
} |
| 257 |
return ms |
| 258 |
} |
| 259 |
return mi.MessageOf(x) |
| 260 |
} |
| 261 |
|
| 262 |
// Deprecated: Use DocumentationRule.ProtoReflect.Descriptor instead. |
| 263 |
func (*DocumentationRule) Descriptor() ([]byte, []int) { |
| 264 |
return file_google_api_documentation_proto_rawDescGZIP(), []int{1} |
| 265 |
} |
| 266 |
|
| 267 |
func (x *DocumentationRule) GetSelector() string { |
| 268 |
if x != nil { |
| 269 |
return x.Selector |
| 270 |
} |
| 271 |
return "" |
| 272 |
} |
| 273 |
|
| 274 |
func (x *DocumentationRule) GetDescription() string { |
| 275 |
if x != nil { |
| 276 |
return x.Description |
| 277 |
} |
| 278 |
return "" |
| 279 |
} |
| 280 |
|
| 281 |
func (x *DocumentationRule) GetDeprecationDescription() string { |
| 282 |
if x != nil { |
| 283 |
return x.DeprecationDescription |
| 284 |
} |
| 285 |
return "" |
| 286 |
} |
| 287 |
|
| 288 |
// Represents a documentation page. A page can contain subpages to represent |
| 289 |
// nested documentation set structure. |
| 290 |
type Page struct { |
| 291 |
state protoimpl.MessageState |
| 292 |
sizeCache protoimpl.SizeCache |
| 293 |
unknownFields protoimpl.UnknownFields |
| 294 |
|
| 295 |
// The name of the page. It will be used as an identity of the page to |
| 296 |
// generate URI of the page, text of the link to this page in navigation, |
| 297 |
// etc. The full page name (start from the root page name to this page |
| 298 |
// concatenated with `.`) can be used as reference to the page in your |
| 299 |
// documentation. For example: |
| 300 |
// <pre><code>pages: |
| 301 |
// - name: Tutorial |
| 302 |
// content: (== include tutorial.md ==) |
| 303 |
// subpages: |
| 304 |
// - name: Java |
| 305 |
// content: (== include tutorial_java.md ==) |
| 306 |
// |
| 307 |
// </code></pre> |
| 308 |
// You can reference `Java` page using Markdown reference link syntax: |
| 309 |
// `[Java][Tutorial.Java]`. |
| 310 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 311 |
// The Markdown content of the page. You can use ```(== include {path} |
| 312 |
// ==)``` to include content from a Markdown file. The content can be used |
| 313 |
// to produce the documentation page such as HTML format page. |
| 314 |
Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` |
| 315 |
// Subpages of this page. The order of subpages specified here will be |
| 316 |
// honored in the generated docset. |
| 317 |
Subpages []*Page `protobuf:"bytes,3,rep,name=subpages,proto3" json:"subpages,omitempty"` |
| 318 |
} |
| 319 |
|
| 320 |
func (x *Page) Reset() { |
| 321 |
*x = Page{} |
| 322 |
if protoimpl.UnsafeEnabled { |
| 323 |
mi := &file_google_api_documentation_proto_msgTypes[2] |
| 324 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 325 |
ms.StoreMessageInfo(mi) |
| 326 |
} |
| 327 |
} |
| 328 |
|
| 329 |
func (x *Page) String() string { |
| 330 |
return protoimpl.X.MessageStringOf(x) |
| 331 |
} |
| 332 |
|
| 333 |
func (*Page) ProtoMessage() {} |
| 334 |
|
| 335 |
func (x *Page) ProtoReflect() protoreflect.Message { |
| 336 |
mi := &file_google_api_documentation_proto_msgTypes[2] |
| 337 |
if protoimpl.UnsafeEnabled && x != nil { |
| 338 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 339 |
if ms.LoadMessageInfo() == nil { |
| 340 |
ms.StoreMessageInfo(mi) |
| 341 |
} |
| 342 |
return ms |
| 343 |
} |
| 344 |
return mi.MessageOf(x) |
| 345 |
} |
| 346 |
|
| 347 |
// Deprecated: Use Page.ProtoReflect.Descriptor instead. |
| 348 |
func (*Page) Descriptor() ([]byte, []int) { |
| 349 |
return file_google_api_documentation_proto_rawDescGZIP(), []int{2} |
| 350 |
} |
| 351 |
|
| 352 |
func (x *Page) GetName() string { |
| 353 |
if x != nil { |
| 354 |
return x.Name |
| 355 |
} |
| 356 |
return "" |
| 357 |
} |
| 358 |
|
| 359 |
func (x *Page) GetContent() string { |
| 360 |
if x != nil { |
| 361 |
return x.Content |
| 362 |
} |
| 363 |
return "" |
| 364 |
} |
| 365 |
|
| 366 |
func (x *Page) GetSubpages() []*Page { |
| 367 |
if x != nil { |
| 368 |
return x.Subpages |
| 369 |
} |
| 370 |
return nil |
| 371 |
} |
| 372 |
|
| 373 |
var File_google_api_documentation_proto protoreflect.FileDescriptor |
| 374 |
|
| 375 |
var file_google_api_documentation_proto_rawDesc = []byte{ |
| 376 |
0x0a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x64, 0x6f, 0x63, |
| 377 |
0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, |
| 378 |
0x12, 0x0a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x22, 0x82, 0x02, 0x0a, |
| 379 |
0x0d, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, |
| 380 |
0x0a, 0x07, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, |
| 381 |
0x07, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x26, 0x0a, 0x05, 0x70, 0x61, 0x67, 0x65, |
| 382 |
0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 383 |
0x2e, 0x61, 0x70, 0x69, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x05, 0x70, 0x61, 0x67, 0x65, 0x73, |
| 384 |
0x12, 0x33, 0x0a, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, |
| 385 |
0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x44, 0x6f, 0x63, |
| 386 |
0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x05, |
| 387 |
0x72, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x34, 0x0a, 0x16, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, |
| 388 |
0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x5f, 0x75, 0x72, 0x6c, 0x18, |
| 389 |
0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, |
| 390 |
0x74, 0x69, 0x6f, 0x6e, 0x52, 0x6f, 0x6f, 0x74, 0x55, 0x72, 0x6c, 0x12, 0x28, 0x0a, 0x10, 0x73, |
| 391 |
0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x5f, 0x75, 0x72, 0x6c, 0x18, |
| 392 |
0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x6f, |
| 393 |
0x6f, 0x74, 0x55, 0x72, 0x6c, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x76, 0x65, 0x72, 0x76, 0x69, 0x65, |
| 394 |
0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x76, 0x65, 0x72, 0x76, 0x69, 0x65, |
| 395 |
0x77, 0x22, 0x8a, 0x01, 0x0a, 0x11, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, |
| 396 |
0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x6c, 0x65, 0x63, |
| 397 |
0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x65, 0x6c, 0x65, 0x63, |
| 398 |
0x74, 0x6f, 0x72, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, |
| 399 |
0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, |
| 400 |
0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x37, 0x0a, 0x17, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, |
| 401 |
0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, |
| 402 |
0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x16, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, |
| 403 |
0x69, 0x6f, 0x6e, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x62, |
| 404 |
0x0a, 0x04, 0x50, 0x61, 0x67, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, |
| 405 |
0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, |
| 406 |
0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, |
| 407 |
0x74, 0x65, 0x6e, 0x74, 0x12, 0x2c, 0x0a, 0x08, 0x73, 0x75, 0x62, 0x70, 0x61, 0x67, 0x65, 0x73, |
| 408 |
0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 409 |
0x61, 0x70, 0x69, 0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x08, 0x73, 0x75, 0x62, 0x70, 0x61, 0x67, |
| 410 |
0x65, 0x73, 0x42, 0x74, 0x0a, 0x0e, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 411 |
0x2e, 0x61, 0x70, 0x69, 0x42, 0x12, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, |
| 412 |
0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x45, 0x67, 0x6f, 0x6f, 0x67, |
| 413 |
0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, |
| 414 |
0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, |
| 415 |
0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x63, 0x6f, 0x6e, |
| 416 |
0x66, 0x69, 0x67, 0x3b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, |
| 417 |
0x67, 0xa2, 0x02, 0x04, 0x47, 0x41, 0x50, 0x49, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 418 |
} |
| 419 |
|
| 420 |
var ( |
| 421 |
file_google_api_documentation_proto_rawDescOnce sync.Once |
| 422 |
file_google_api_documentation_proto_rawDescData = file_google_api_documentation_proto_rawDesc |
| 423 |
) |
| 424 |
|
| 425 |
func file_google_api_documentation_proto_rawDescGZIP() []byte { |
| 426 |
file_google_api_documentation_proto_rawDescOnce.Do(func() { |
| 427 |
file_google_api_documentation_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_api_documentation_proto_rawDescData) |
| 428 |
}) |
| 429 |
return file_google_api_documentation_proto_rawDescData |
| 430 |
} |
| 431 |
|
| 432 |
var file_google_api_documentation_proto_msgTypes = make([]protoimpl.MessageInfo, 3) |
| 433 |
var file_google_api_documentation_proto_goTypes = []interface{}{ |
| 434 |
(*Documentation)(nil), // 0: google.api.Documentation |
| 435 |
(*DocumentationRule)(nil), // 1: google.api.DocumentationRule |
| 436 |
(*Page)(nil), // 2: google.api.Page |
| 437 |
} |
| 438 |
var file_google_api_documentation_proto_depIdxs = []int32{ |
| 439 |
2, // 0: google.api.Documentation.pages:type_name -> google.api.Page |
| 440 |
1, // 1: google.api.Documentation.rules:type_name -> google.api.DocumentationRule |
| 441 |
2, // 2: google.api.Page.subpages:type_name -> google.api.Page |
| 442 |
3, // [3:3] is the sub-list for method output_type |
| 443 |
3, // [3:3] is the sub-list for method input_type |
| 444 |
3, // [3:3] is the sub-list for extension type_name |
| 445 |
3, // [3:3] is the sub-list for extension extendee |
| 446 |
0, // [0:3] is the sub-list for field type_name |
| 447 |
} |
| 448 |
|
| 449 |
func init() { file_google_api_documentation_proto_init() } |
| 450 |
func file_google_api_documentation_proto_init() { |
| 451 |
if File_google_api_documentation_proto != nil { |
| 452 |
return |
| 453 |
} |
| 454 |
if !protoimpl.UnsafeEnabled { |
| 455 |
file_google_api_documentation_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| 456 |
switch v := v.(*Documentation); i { |
| 457 |
case 0: |
| 458 |
return &v.state |
| 459 |
case 1: |
| 460 |
return &v.sizeCache |
| 461 |
case 2: |
| 462 |
return &v.unknownFields |
| 463 |
default: |
| 464 |
return nil |
| 465 |
} |
| 466 |
} |
| 467 |
file_google_api_documentation_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| 468 |
switch v := v.(*DocumentationRule); i { |
| 469 |
case 0: |
| 470 |
return &v.state |
| 471 |
case 1: |
| 472 |
return &v.sizeCache |
| 473 |
case 2: |
| 474 |
return &v.unknownFields |
| 475 |
default: |
| 476 |
return nil |
| 477 |
} |
| 478 |
} |
| 479 |
file_google_api_documentation_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { |
| 480 |
switch v := v.(*Page); i { |
| 481 |
case 0: |
| 482 |
return &v.state |
| 483 |
case 1: |
| 484 |
return &v.sizeCache |
| 485 |
case 2: |
| 486 |
return &v.unknownFields |
| 487 |
default: |
| 488 |
return nil |
| 489 |
} |
| 490 |
} |
| 491 |
} |
| 492 |
type x struct{} |
| 493 |
out := protoimpl.TypeBuilder{ |
| 494 |
File: protoimpl.DescBuilder{ |
| 495 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 496 |
RawDescriptor: file_google_api_documentation_proto_rawDesc, |
| 497 |
NumEnums: 0, |
| 498 |
NumMessages: 3, |
| 499 |
NumExtensions: 0, |
| 500 |
NumServices: 0, |
| 501 |
}, |
| 502 |
GoTypes: file_google_api_documentation_proto_goTypes, |
| 503 |
DependencyIndexes: file_google_api_documentation_proto_depIdxs, |
| 504 |
MessageInfos: file_google_api_documentation_proto_msgTypes, |
| 505 |
}.Build() |
| 506 |
File_google_api_documentation_proto = out.File |
| 507 |
file_google_api_documentation_proto_rawDesc = nil |
| 508 |
file_google_api_documentation_proto_goTypes = nil |
| 509 |
file_google_api_documentation_proto_depIdxs = nil |
| 510 |
} |