1// Protocol Buffers - Google's data interchange format 2// Copyright 2008 Google Inc. All rights reserved. 3// https://developers.google.com/protocol-buffers/ 4// 5// Redistribution and use in source and binary forms, with or without 6// modification, are permitted provided that the following conditions are 7// met: 8// 9// * Redistributions of source code must retain the above copyright 10// notice, this list of conditions and the following disclaimer. 11// * Redistributions in binary form must reproduce the above 12// copyright notice, this list of conditions and the following disclaimer 13// in the documentation and/or other materials provided with the 14// distribution. 15// * Neither the name of Google Inc. nor the names of its 16// contributors may be used to endorse or promote products derived from 17// this software without specific prior written permission. 18// 19// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 20// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 21// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 22// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 23// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 24// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 25// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 26// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 27// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 29// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 31// Code generated by protoc-gen-go. DO NOT EDIT. 32// source: google/protobuf/api.proto 33 34package apipb 35 36import ( 37 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 38 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 39 sourcecontextpb "google.golang.org/protobuf/types/known/sourcecontextpb" 40 typepb "google.golang.org/protobuf/types/known/typepb" 41 reflect "reflect" 42 sync "sync" 43) 44 45// Api is a light-weight descriptor for an API Interface. 46// 47// Interfaces are also described as "protocol buffer services" in some contexts, 48// such as by the "service" keyword in a .proto file, but they are different 49// from API Services, which represent a concrete implementation of an interface 50// as opposed to simply a description of methods and bindings. They are also 51// sometimes simply referred to as "APIs" in other contexts, such as the name of 52// this message itself. See https://cloud.google.com/apis/design/glossary for 53// detailed terminology. 54type Api struct { 55 state protoimpl.MessageState 56 sizeCache protoimpl.SizeCache 57 unknownFields protoimpl.UnknownFields 58 59 // The fully qualified name of this interface, including package name 60 // followed by the interface's simple name. 61 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 62 // The methods of this interface, in unspecified order. 63 Methods []*Method `protobuf:"bytes,2,rep,name=methods,proto3" json:"methods,omitempty"` 64 // Any metadata attached to the interface. 65 Options []*typepb.Option `protobuf:"bytes,3,rep,name=options,proto3" json:"options,omitempty"` 66 // A version string for this interface. If specified, must have the form 67 // `major-version.minor-version`, as in `1.10`. If the minor version is 68 // omitted, it defaults to zero. If the entire version field is empty, the 69 // major version is derived from the package name, as outlined below. If the 70 // field is not empty, the version in the package name will be verified to be 71 // consistent with what is provided here. 72 // 73 // The versioning schema uses [semantic 74 // versioning](http://semver.org) where the major version number 75 // indicates a breaking change and the minor version an additive, 76 // non-breaking change. Both version numbers are signals to users 77 // what to expect from different versions, and should be carefully 78 // chosen based on the product plan. 79 // 80 // The major version is also reflected in the package name of the 81 // interface, which must end in `v<major-version>`, as in 82 // `google.feature.v1`. For major versions 0 and 1, the suffix can 83 // be omitted. Zero major versions must only be used for 84 // experimental, non-GA interfaces. 85 // 86 // 87 Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"` 88 // Source context for the protocol buffer service represented by this 89 // message. 90 SourceContext *sourcecontextpb.SourceContext `protobuf:"bytes,5,opt,name=source_context,json=sourceContext,proto3" json:"source_context,omitempty"` 91 // Included interfaces. See [Mixin][]. 92 Mixins []*Mixin `protobuf:"bytes,6,rep,name=mixins,proto3" json:"mixins,omitempty"` 93 // The source syntax of the service. 94 Syntax typepb.Syntax `protobuf:"varint,7,opt,name=syntax,proto3,enum=google.protobuf.Syntax" json:"syntax,omitempty"` 95} 96 97func (x *Api) Reset() { 98 *x = Api{} 99 if protoimpl.UnsafeEnabled { 100 mi := &file_google_protobuf_api_proto_msgTypes[0] 101 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 102 ms.StoreMessageInfo(mi) 103 } 104} 105 106func (x *Api) String() string { 107 return protoimpl.X.MessageStringOf(x) 108} 109 110func (*Api) ProtoMessage() {} 111 112func (x *Api) ProtoReflect() protoreflect.Message { 113 mi := &file_google_protobuf_api_proto_msgTypes[0] 114 if protoimpl.UnsafeEnabled && x != nil { 115 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 116 if ms.LoadMessageInfo() == nil { 117 ms.StoreMessageInfo(mi) 118 } 119 return ms 120 } 121 return mi.MessageOf(x) 122} 123 124// Deprecated: Use Api.ProtoReflect.Descriptor instead. 125func (*Api) Descriptor() ([]byte, []int) { 126 return file_google_protobuf_api_proto_rawDescGZIP(), []int{0} 127} 128 129func (x *Api) GetName() string { 130 if x != nil { 131 return x.Name 132 } 133 return "" 134} 135 136func (x *Api) GetMethods() []*Method { 137 if x != nil { 138 return x.Methods 139 } 140 return nil 141} 142 143func (x *Api) GetOptions() []*typepb.Option { 144 if x != nil { 145 return x.Options 146 } 147 return nil 148} 149 150func (x *Api) GetVersion() string { 151 if x != nil { 152 return x.Version 153 } 154 return "" 155} 156 157func (x *Api) GetSourceContext() *sourcecontextpb.SourceContext { 158 if x != nil { 159 return x.SourceContext 160 } 161 return nil 162} 163 164func (x *Api) GetMixins() []*Mixin { 165 if x != nil { 166 return x.Mixins 167 } 168 return nil 169} 170 171func (x *Api) GetSyntax() typepb.Syntax { 172 if x != nil { 173 return x.Syntax 174 } 175 return typepb.Syntax(0) 176} 177 178// Method represents a method of an API interface. 179type Method struct { 180 state protoimpl.MessageState 181 sizeCache protoimpl.SizeCache 182 unknownFields protoimpl.UnknownFields 183 184 // The simple name of this method. 185 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 186 // A URL of the input message type. 187 RequestTypeUrl string `protobuf:"bytes,2,opt,name=request_type_url,json=requestTypeUrl,proto3" json:"request_type_url,omitempty"` 188 // If true, the request is streamed. 189 RequestStreaming bool `protobuf:"varint,3,opt,name=request_streaming,json=requestStreaming,proto3" json:"request_streaming,omitempty"` 190 // The URL of the output message type. 191 ResponseTypeUrl string `protobuf:"bytes,4,opt,name=response_type_url,json=responseTypeUrl,proto3" json:"response_type_url,omitempty"` 192 // If true, the response is streamed. 193 ResponseStreaming bool `protobuf:"varint,5,opt,name=response_streaming,json=responseStreaming,proto3" json:"response_streaming,omitempty"` 194 // Any metadata attached to the method. 195 Options []*typepb.Option `protobuf:"bytes,6,rep,name=options,proto3" json:"options,omitempty"` 196 // The source syntax of this method. 197 Syntax typepb.Syntax `protobuf:"varint,7,opt,name=syntax,proto3,enum=google.protobuf.Syntax" json:"syntax,omitempty"` 198} 199 200func (x *Method) Reset() { 201 *x = Method{} 202 if protoimpl.UnsafeEnabled { 203 mi := &file_google_protobuf_api_proto_msgTypes[1] 204 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 205 ms.StoreMessageInfo(mi) 206 } 207} 208 209func (x *Method) String() string { 210 return protoimpl.X.MessageStringOf(x) 211} 212 213func (*Method) ProtoMessage() {} 214 215func (x *Method) ProtoReflect() protoreflect.Message { 216 mi := &file_google_protobuf_api_proto_msgTypes[1] 217 if protoimpl.UnsafeEnabled && x != nil { 218 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 219 if ms.LoadMessageInfo() == nil { 220 ms.StoreMessageInfo(mi) 221 } 222 return ms 223 } 224 return mi.MessageOf(x) 225} 226 227// Deprecated: Use Method.ProtoReflect.Descriptor instead. 228func (*Method) Descriptor() ([]byte, []int) { 229 return file_google_protobuf_api_proto_rawDescGZIP(), []int{1} 230} 231 232func (x *Method) GetName() string { 233 if x != nil { 234 return x.Name 235 } 236 return "" 237} 238 239func (x *Method) GetRequestTypeUrl() string { 240 if x != nil { 241 return x.RequestTypeUrl 242 } 243 return "" 244} 245 246func (x *Method) GetRequestStreaming() bool { 247 if x != nil { 248 return x.RequestStreaming 249 } 250 return false 251} 252 253func (x *Method) GetResponseTypeUrl() string { 254 if x != nil { 255 return x.ResponseTypeUrl 256 } 257 return "" 258} 259 260func (x *Method) GetResponseStreaming() bool { 261 if x != nil { 262 return x.ResponseStreaming 263 } 264 return false 265} 266 267func (x *Method) GetOptions() []*typepb.Option { 268 if x != nil { 269 return x.Options 270 } 271 return nil 272} 273 274func (x *Method) GetSyntax() typepb.Syntax { 275 if x != nil { 276 return x.Syntax 277 } 278 return typepb.Syntax(0) 279} 280 281// Declares an API Interface to be included in this interface. The including 282// interface must redeclare all the methods from the included interface, but 283// documentation and options are inherited as follows: 284// 285// - If after comment and whitespace stripping, the documentation 286// string of the redeclared method is empty, it will be inherited 287// from the original method. 288// 289// - Each annotation belonging to the service config (http, 290// visibility) which is not set in the redeclared method will be 291// inherited. 292// 293// - If an http annotation is inherited, the path pattern will be 294// modified as follows. Any version prefix will be replaced by the 295// version of the including interface plus the [root][] path if 296// specified. 297// 298// Example of a simple mixin: 299// 300// package google.acl.v1; 301// service AccessControl { 302// // Get the underlying ACL object. 303// rpc GetAcl(GetAclRequest) returns (Acl) { 304// option (google.api.http).get = "/v1/{resource=**}:getAcl"; 305// } 306// } 307// 308// package google.storage.v2; 309// service Storage { 310// rpc GetAcl(GetAclRequest) returns (Acl); 311// 312// // Get a data record. 313// rpc GetData(GetDataRequest) returns (Data) { 314// option (google.api.http).get = "/v2/{resource=**}"; 315// } 316// } 317// 318// Example of a mixin configuration: 319// 320// apis: 321// - name: google.storage.v2.Storage 322// mixins: 323// - name: google.acl.v1.AccessControl 324// 325// The mixin construct implies that all methods in `AccessControl` are 326// also declared with same name and request/response types in 327// `Storage`. A documentation generator or annotation processor will 328// see the effective `Storage.GetAcl` method after inheriting 329// documentation and annotations as follows: 330// 331// service Storage { 332// // Get the underlying ACL object. 333// rpc GetAcl(GetAclRequest) returns (Acl) { 334// option (google.api.http).get = "/v2/{resource=**}:getAcl"; 335// } 336// ... 337// } 338// 339// Note how the version in the path pattern changed from `v1` to `v2`. 340// 341// If the `root` field in the mixin is specified, it should be a 342// relative path under which inherited HTTP paths are placed. Example: 343// 344// apis: 345// - name: google.storage.v2.Storage 346// mixins: 347// - name: google.acl.v1.AccessControl 348// root: acls 349// 350// This implies the following inherited HTTP annotation: 351// 352// service Storage { 353// // Get the underlying ACL object. 354// rpc GetAcl(GetAclRequest) returns (Acl) { 355// option (google.api.http).get = "/v2/acls/{resource=**}:getAcl"; 356// } 357// ... 358// } 359type Mixin struct { 360 state protoimpl.MessageState 361 sizeCache protoimpl.SizeCache 362 unknownFields protoimpl.UnknownFields 363 364 // The fully qualified name of the interface which is included. 365 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 366 // If non-empty specifies a path under which inherited HTTP paths 367 // are rooted. 368 Root string `protobuf:"bytes,2,opt,name=root,proto3" json:"root,omitempty"` 369} 370 371func (x *Mixin) Reset() { 372 *x = Mixin{} 373 if protoimpl.UnsafeEnabled { 374 mi := &file_google_protobuf_api_proto_msgTypes[2] 375 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 376 ms.StoreMessageInfo(mi) 377 } 378} 379 380func (x *Mixin) String() string { 381 return protoimpl.X.MessageStringOf(x) 382} 383 384func (*Mixin) ProtoMessage() {} 385 386func (x *Mixin) ProtoReflect() protoreflect.Message { 387 mi := &file_google_protobuf_api_proto_msgTypes[2] 388 if protoimpl.UnsafeEnabled && x != nil { 389 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 390 if ms.LoadMessageInfo() == nil { 391 ms.StoreMessageInfo(mi) 392 } 393 return ms 394 } 395 return mi.MessageOf(x) 396} 397 398// Deprecated: Use Mixin.ProtoReflect.Descriptor instead. 399func (*Mixin) Descriptor() ([]byte, []int) { 400 return file_google_protobuf_api_proto_rawDescGZIP(), []int{2} 401} 402 403func (x *Mixin) GetName() string { 404 if x != nil { 405 return x.Name 406 } 407 return "" 408} 409 410func (x *Mixin) GetRoot() string { 411 if x != nil { 412 return x.Root 413 } 414 return "" 415} 416 417var File_google_protobuf_api_proto protoreflect.FileDescriptor 418 419var file_google_protobuf_api_proto_rawDesc = []byte{ 420 0x0a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 421 0x66, 0x2f, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0f, 0x67, 0x6f, 0x6f, 422 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x1a, 0x24, 0x67, 0x6f, 423 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x6f, 424 0x75, 0x72, 0x63, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x2e, 0x70, 0x72, 0x6f, 425 0x74, 0x6f, 0x1a, 0x1a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 426 0x62, 0x75, 0x66, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc1, 427 0x02, 0x0a, 0x03, 0x41, 0x70, 0x69, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 428 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x31, 0x0a, 0x07, 0x6d, 0x65, 429 0x74, 0x68, 0x6f, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 430 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 431 0x74, 0x68, 0x6f, 0x64, 0x52, 0x07, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x73, 0x12, 0x31, 0x0a, 432 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 433 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 434 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 435 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 436 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x45, 0x0a, 0x0e, 0x73, 0x6f, 437 0x75, 0x72, 0x63, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x05, 0x20, 0x01, 438 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 439 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 440 0x78, 0x74, 0x52, 0x0d, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 441 0x74, 0x12, 0x2e, 0x0a, 0x06, 0x6d, 0x69, 0x78, 0x69, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 442 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 443 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x69, 0x78, 0x69, 0x6e, 0x52, 0x06, 0x6d, 0x69, 0x78, 0x69, 0x6e, 444 0x73, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x79, 0x6e, 0x74, 0x61, 0x78, 0x18, 0x07, 0x20, 0x01, 0x28, 445 0x0e, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 446 0x62, 0x75, 0x66, 0x2e, 0x53, 0x79, 0x6e, 0x74, 0x61, 0x78, 0x52, 0x06, 0x73, 0x79, 0x6e, 0x74, 447 0x61, 0x78, 0x22, 0xb2, 0x02, 0x0a, 0x06, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x12, 0x0a, 448 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 449 0x65, 0x12, 0x28, 0x0a, 0x10, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x74, 0x79, 0x70, 450 0x65, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x72, 0x65, 0x71, 451 0x75, 0x65, 0x73, 0x74, 0x54, 0x79, 0x70, 0x65, 0x55, 0x72, 0x6c, 0x12, 0x2b, 0x0a, 0x11, 0x72, 452 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 453 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x53, 454 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x12, 0x2a, 0x0a, 0x11, 0x72, 0x65, 0x73, 0x70, 455 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x04, 0x20, 456 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x54, 0x79, 0x70, 457 0x65, 0x55, 0x72, 0x6c, 0x12, 0x2d, 0x0a, 0x12, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 458 0x5f, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 459 0x52, 0x11, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 460 0x69, 0x6e, 0x67, 0x12, 0x31, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, 461 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 462 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x6f, 463 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x79, 0x6e, 0x74, 0x61, 0x78, 464 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 465 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x79, 0x6e, 0x74, 0x61, 0x78, 0x52, 466 0x06, 0x73, 0x79, 0x6e, 0x74, 0x61, 0x78, 0x22, 0x2f, 0x0a, 0x05, 0x4d, 0x69, 0x78, 0x69, 0x6e, 467 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 468 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x02, 0x20, 0x01, 469 0x28, 0x09, 0x52, 0x04, 0x72, 0x6f, 0x6f, 0x74, 0x42, 0x76, 0x0a, 0x13, 0x63, 0x6f, 0x6d, 0x2e, 470 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x42, 471 0x08, 0x41, 0x70, 0x69, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2c, 0x67, 0x6f, 0x6f, 472 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 473 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x6b, 0x6e, 474 0x6f, 0x77, 0x6e, 0x2f, 0x61, 0x70, 0x69, 0x70, 0x62, 0xa2, 0x02, 0x03, 0x47, 0x50, 0x42, 0xaa, 475 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 476 0x66, 0x2e, 0x57, 0x65, 0x6c, 0x6c, 0x4b, 0x6e, 0x6f, 0x77, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 477 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 478} 479 480var ( 481 file_google_protobuf_api_proto_rawDescOnce sync.Once 482 file_google_protobuf_api_proto_rawDescData = file_google_protobuf_api_proto_rawDesc 483) 484 485func file_google_protobuf_api_proto_rawDescGZIP() []byte { 486 file_google_protobuf_api_proto_rawDescOnce.Do(func() { 487 file_google_protobuf_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_protobuf_api_proto_rawDescData) 488 }) 489 return file_google_protobuf_api_proto_rawDescData 490} 491 492var file_google_protobuf_api_proto_msgTypes = make([]protoimpl.MessageInfo, 3) 493var file_google_protobuf_api_proto_goTypes = []interface{}{ 494 (*Api)(nil), // 0: google.protobuf.Api 495 (*Method)(nil), // 1: google.protobuf.Method 496 (*Mixin)(nil), // 2: google.protobuf.Mixin 497 (*typepb.Option)(nil), // 3: google.protobuf.Option 498 (*sourcecontextpb.SourceContext)(nil), // 4: google.protobuf.SourceContext 499 (typepb.Syntax)(0), // 5: google.protobuf.Syntax 500} 501var file_google_protobuf_api_proto_depIdxs = []int32{ 502 1, // 0: google.protobuf.Api.methods:type_name -> google.protobuf.Method 503 3, // 1: google.protobuf.Api.options:type_name -> google.protobuf.Option 504 4, // 2: google.protobuf.Api.source_context:type_name -> google.protobuf.SourceContext 505 2, // 3: google.protobuf.Api.mixins:type_name -> google.protobuf.Mixin 506 5, // 4: google.protobuf.Api.syntax:type_name -> google.protobuf.Syntax 507 3, // 5: google.protobuf.Method.options:type_name -> google.protobuf.Option 508 5, // 6: google.protobuf.Method.syntax:type_name -> google.protobuf.Syntax 509 7, // [7:7] is the sub-list for method output_type 510 7, // [7:7] is the sub-list for method input_type 511 7, // [7:7] is the sub-list for extension type_name 512 7, // [7:7] is the sub-list for extension extendee 513 0, // [0:7] is the sub-list for field type_name 514} 515 516func init() { file_google_protobuf_api_proto_init() } 517func file_google_protobuf_api_proto_init() { 518 if File_google_protobuf_api_proto != nil { 519 return 520 } 521 if !protoimpl.UnsafeEnabled { 522 file_google_protobuf_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 523 switch v := v.(*Api); i { 524 case 0: 525 return &v.state 526 case 1: 527 return &v.sizeCache 528 case 2: 529 return &v.unknownFields 530 default: 531 return nil 532 } 533 } 534 file_google_protobuf_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 535 switch v := v.(*Method); i { 536 case 0: 537 return &v.state 538 case 1: 539 return &v.sizeCache 540 case 2: 541 return &v.unknownFields 542 default: 543 return nil 544 } 545 } 546 file_google_protobuf_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 547 switch v := v.(*Mixin); i { 548 case 0: 549 return &v.state 550 case 1: 551 return &v.sizeCache 552 case 2: 553 return &v.unknownFields 554 default: 555 return nil 556 } 557 } 558 } 559 type x struct{} 560 out := protoimpl.TypeBuilder{ 561 File: protoimpl.DescBuilder{ 562 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 563 RawDescriptor: file_google_protobuf_api_proto_rawDesc, 564 NumEnums: 0, 565 NumMessages: 3, 566 NumExtensions: 0, 567 NumServices: 0, 568 }, 569 GoTypes: file_google_protobuf_api_proto_goTypes, 570 DependencyIndexes: file_google_protobuf_api_proto_depIdxs, 571 MessageInfos: file_google_protobuf_api_proto_msgTypes, 572 }.Build() 573 File_google_protobuf_api_proto = out.File 574 file_google_protobuf_api_proto_rawDesc = nil 575 file_google_protobuf_api_proto_goTypes = nil 576 file_google_protobuf_api_proto_depIdxs = nil 577} 578