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 Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"` 86 // Source context for the protocol buffer service represented by this 87 // message. 88 SourceContext *sourcecontextpb.SourceContext `protobuf:"bytes,5,opt,name=source_context,json=sourceContext,proto3" json:"source_context,omitempty"` 89 // Included interfaces. See [Mixin][]. 90 Mixins []*Mixin `protobuf:"bytes,6,rep,name=mixins,proto3" json:"mixins,omitempty"` 91 // The source syntax of the service. 92 Syntax typepb.Syntax `protobuf:"varint,7,opt,name=syntax,proto3,enum=google.protobuf.Syntax" json:"syntax,omitempty"` 93} 94 95func (x *Api) Reset() { 96 *x = Api{} 97 if protoimpl.UnsafeEnabled { 98 mi := &file_google_protobuf_api_proto_msgTypes[0] 99 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 100 ms.StoreMessageInfo(mi) 101 } 102} 103 104func (x *Api) String() string { 105 return protoimpl.X.MessageStringOf(x) 106} 107 108func (*Api) ProtoMessage() {} 109 110func (x *Api) ProtoReflect() protoreflect.Message { 111 mi := &file_google_protobuf_api_proto_msgTypes[0] 112 if protoimpl.UnsafeEnabled && x != nil { 113 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 114 if ms.LoadMessageInfo() == nil { 115 ms.StoreMessageInfo(mi) 116 } 117 return ms 118 } 119 return mi.MessageOf(x) 120} 121 122// Deprecated: Use Api.ProtoReflect.Descriptor instead. 123func (*Api) Descriptor() ([]byte, []int) { 124 return file_google_protobuf_api_proto_rawDescGZIP(), []int{0} 125} 126 127func (x *Api) GetName() string { 128 if x != nil { 129 return x.Name 130 } 131 return "" 132} 133 134func (x *Api) GetMethods() []*Method { 135 if x != nil { 136 return x.Methods 137 } 138 return nil 139} 140 141func (x *Api) GetOptions() []*typepb.Option { 142 if x != nil { 143 return x.Options 144 } 145 return nil 146} 147 148func (x *Api) GetVersion() string { 149 if x != nil { 150 return x.Version 151 } 152 return "" 153} 154 155func (x *Api) GetSourceContext() *sourcecontextpb.SourceContext { 156 if x != nil { 157 return x.SourceContext 158 } 159 return nil 160} 161 162func (x *Api) GetMixins() []*Mixin { 163 if x != nil { 164 return x.Mixins 165 } 166 return nil 167} 168 169func (x *Api) GetSyntax() typepb.Syntax { 170 if x != nil { 171 return x.Syntax 172 } 173 return typepb.Syntax(0) 174} 175 176// Method represents a method of an API interface. 177type Method struct { 178 state protoimpl.MessageState 179 sizeCache protoimpl.SizeCache 180 unknownFields protoimpl.UnknownFields 181 182 // The simple name of this method. 183 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 184 // A URL of the input message type. 185 RequestTypeUrl string `protobuf:"bytes,2,opt,name=request_type_url,json=requestTypeUrl,proto3" json:"request_type_url,omitempty"` 186 // If true, the request is streamed. 187 RequestStreaming bool `protobuf:"varint,3,opt,name=request_streaming,json=requestStreaming,proto3" json:"request_streaming,omitempty"` 188 // The URL of the output message type. 189 ResponseTypeUrl string `protobuf:"bytes,4,opt,name=response_type_url,json=responseTypeUrl,proto3" json:"response_type_url,omitempty"` 190 // If true, the response is streamed. 191 ResponseStreaming bool `protobuf:"varint,5,opt,name=response_streaming,json=responseStreaming,proto3" json:"response_streaming,omitempty"` 192 // Any metadata attached to the method. 193 Options []*typepb.Option `protobuf:"bytes,6,rep,name=options,proto3" json:"options,omitempty"` 194 // The source syntax of this method. 195 Syntax typepb.Syntax `protobuf:"varint,7,opt,name=syntax,proto3,enum=google.protobuf.Syntax" json:"syntax,omitempty"` 196} 197 198func (x *Method) Reset() { 199 *x = Method{} 200 if protoimpl.UnsafeEnabled { 201 mi := &file_google_protobuf_api_proto_msgTypes[1] 202 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 203 ms.StoreMessageInfo(mi) 204 } 205} 206 207func (x *Method) String() string { 208 return protoimpl.X.MessageStringOf(x) 209} 210 211func (*Method) ProtoMessage() {} 212 213func (x *Method) ProtoReflect() protoreflect.Message { 214 mi := &file_google_protobuf_api_proto_msgTypes[1] 215 if protoimpl.UnsafeEnabled && x != nil { 216 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 217 if ms.LoadMessageInfo() == nil { 218 ms.StoreMessageInfo(mi) 219 } 220 return ms 221 } 222 return mi.MessageOf(x) 223} 224 225// Deprecated: Use Method.ProtoReflect.Descriptor instead. 226func (*Method) Descriptor() ([]byte, []int) { 227 return file_google_protobuf_api_proto_rawDescGZIP(), []int{1} 228} 229 230func (x *Method) GetName() string { 231 if x != nil { 232 return x.Name 233 } 234 return "" 235} 236 237func (x *Method) GetRequestTypeUrl() string { 238 if x != nil { 239 return x.RequestTypeUrl 240 } 241 return "" 242} 243 244func (x *Method) GetRequestStreaming() bool { 245 if x != nil { 246 return x.RequestStreaming 247 } 248 return false 249} 250 251func (x *Method) GetResponseTypeUrl() string { 252 if x != nil { 253 return x.ResponseTypeUrl 254 } 255 return "" 256} 257 258func (x *Method) GetResponseStreaming() bool { 259 if x != nil { 260 return x.ResponseStreaming 261 } 262 return false 263} 264 265func (x *Method) GetOptions() []*typepb.Option { 266 if x != nil { 267 return x.Options 268 } 269 return nil 270} 271 272func (x *Method) GetSyntax() typepb.Syntax { 273 if x != nil { 274 return x.Syntax 275 } 276 return typepb.Syntax(0) 277} 278 279// Declares an API Interface to be included in this interface. The including 280// interface must redeclare all the methods from the included interface, but 281// documentation and options are inherited as follows: 282// 283// - If after comment and whitespace stripping, the documentation 284// string of the redeclared method is empty, it will be inherited 285// from the original method. 286// 287// - Each annotation belonging to the service config (http, 288// visibility) which is not set in the redeclared method will be 289// inherited. 290// 291// - If an http annotation is inherited, the path pattern will be 292// modified as follows. Any version prefix will be replaced by the 293// version of the including interface plus the [root][] path if 294// specified. 295// 296// Example of a simple mixin: 297// 298// package google.acl.v1; 299// service AccessControl { 300// // Get the underlying ACL object. 301// rpc GetAcl(GetAclRequest) returns (Acl) { 302// option (google.api.http).get = "/v1/{resource=**}:getAcl"; 303// } 304// } 305// 306// package google.storage.v2; 307// service Storage { 308// rpc GetAcl(GetAclRequest) returns (Acl); 309// 310// // Get a data record. 311// rpc GetData(GetDataRequest) returns (Data) { 312// option (google.api.http).get = "/v2/{resource=**}"; 313// } 314// } 315// 316// Example of a mixin configuration: 317// 318// apis: 319// - name: google.storage.v2.Storage 320// mixins: 321// - name: google.acl.v1.AccessControl 322// 323// The mixin construct implies that all methods in `AccessControl` are 324// also declared with same name and request/response types in 325// `Storage`. A documentation generator or annotation processor will 326// see the effective `Storage.GetAcl` method after inheriting 327// documentation and annotations as follows: 328// 329// service Storage { 330// // Get the underlying ACL object. 331// rpc GetAcl(GetAclRequest) returns (Acl) { 332// option (google.api.http).get = "/v2/{resource=**}:getAcl"; 333// } 334// ... 335// } 336// 337// Note how the version in the path pattern changed from `v1` to `v2`. 338// 339// If the `root` field in the mixin is specified, it should be a 340// relative path under which inherited HTTP paths are placed. Example: 341// 342// apis: 343// - name: google.storage.v2.Storage 344// mixins: 345// - name: google.acl.v1.AccessControl 346// root: acls 347// 348// This implies the following inherited HTTP annotation: 349// 350// service Storage { 351// // Get the underlying ACL object. 352// rpc GetAcl(GetAclRequest) returns (Acl) { 353// option (google.api.http).get = "/v2/acls/{resource=**}:getAcl"; 354// } 355// ... 356// } 357type Mixin struct { 358 state protoimpl.MessageState 359 sizeCache protoimpl.SizeCache 360 unknownFields protoimpl.UnknownFields 361 362 // The fully qualified name of the interface which is included. 363 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 364 // If non-empty specifies a path under which inherited HTTP paths 365 // are rooted. 366 Root string `protobuf:"bytes,2,opt,name=root,proto3" json:"root,omitempty"` 367} 368 369func (x *Mixin) Reset() { 370 *x = Mixin{} 371 if protoimpl.UnsafeEnabled { 372 mi := &file_google_protobuf_api_proto_msgTypes[2] 373 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 374 ms.StoreMessageInfo(mi) 375 } 376} 377 378func (x *Mixin) String() string { 379 return protoimpl.X.MessageStringOf(x) 380} 381 382func (*Mixin) ProtoMessage() {} 383 384func (x *Mixin) ProtoReflect() protoreflect.Message { 385 mi := &file_google_protobuf_api_proto_msgTypes[2] 386 if protoimpl.UnsafeEnabled && x != nil { 387 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 388 if ms.LoadMessageInfo() == nil { 389 ms.StoreMessageInfo(mi) 390 } 391 return ms 392 } 393 return mi.MessageOf(x) 394} 395 396// Deprecated: Use Mixin.ProtoReflect.Descriptor instead. 397func (*Mixin) Descriptor() ([]byte, []int) { 398 return file_google_protobuf_api_proto_rawDescGZIP(), []int{2} 399} 400 401func (x *Mixin) GetName() string { 402 if x != nil { 403 return x.Name 404 } 405 return "" 406} 407 408func (x *Mixin) GetRoot() string { 409 if x != nil { 410 return x.Root 411 } 412 return "" 413} 414 415var File_google_protobuf_api_proto protoreflect.FileDescriptor 416 417var file_google_protobuf_api_proto_rawDesc = []byte{ 418 0x0a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 419 0x66, 0x2f, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0f, 0x67, 0x6f, 0x6f, 420 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x1a, 0x24, 0x67, 0x6f, 421 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x6f, 422 0x75, 0x72, 0x63, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x2e, 0x70, 0x72, 0x6f, 423 0x74, 0x6f, 0x1a, 0x1a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 424 0x62, 0x75, 0x66, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc1, 425 0x02, 0x0a, 0x03, 0x41, 0x70, 0x69, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 426 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x31, 0x0a, 0x07, 0x6d, 0x65, 427 0x74, 0x68, 0x6f, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 428 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 429 0x74, 0x68, 0x6f, 0x64, 0x52, 0x07, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x73, 0x12, 0x31, 0x0a, 430 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 431 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 432 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 433 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 434 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x45, 0x0a, 0x0e, 0x73, 0x6f, 435 0x75, 0x72, 0x63, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x05, 0x20, 0x01, 436 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 437 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 438 0x78, 0x74, 0x52, 0x0d, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 439 0x74, 0x12, 0x2e, 0x0a, 0x06, 0x6d, 0x69, 0x78, 0x69, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 440 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 441 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x69, 0x78, 0x69, 0x6e, 0x52, 0x06, 0x6d, 0x69, 0x78, 0x69, 0x6e, 442 0x73, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x79, 0x6e, 0x74, 0x61, 0x78, 0x18, 0x07, 0x20, 0x01, 0x28, 443 0x0e, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 444 0x62, 0x75, 0x66, 0x2e, 0x53, 0x79, 0x6e, 0x74, 0x61, 0x78, 0x52, 0x06, 0x73, 0x79, 0x6e, 0x74, 445 0x61, 0x78, 0x22, 0xb2, 0x02, 0x0a, 0x06, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x12, 0x0a, 446 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 447 0x65, 0x12, 0x28, 0x0a, 0x10, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x74, 0x79, 0x70, 448 0x65, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x72, 0x65, 0x71, 449 0x75, 0x65, 0x73, 0x74, 0x54, 0x79, 0x70, 0x65, 0x55, 0x72, 0x6c, 0x12, 0x2b, 0x0a, 0x11, 0x72, 450 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 451 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x53, 452 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x12, 0x2a, 0x0a, 0x11, 0x72, 0x65, 0x73, 0x70, 453 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x04, 0x20, 454 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x54, 0x79, 0x70, 455 0x65, 0x55, 0x72, 0x6c, 0x12, 0x2d, 0x0a, 0x12, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 456 0x5f, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 457 0x52, 0x11, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 458 0x69, 0x6e, 0x67, 0x12, 0x31, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, 459 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 460 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x6f, 461 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x79, 0x6e, 0x74, 0x61, 0x78, 462 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 463 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x79, 0x6e, 0x74, 0x61, 0x78, 0x52, 464 0x06, 0x73, 0x79, 0x6e, 0x74, 0x61, 0x78, 0x22, 0x2f, 0x0a, 0x05, 0x4d, 0x69, 0x78, 0x69, 0x6e, 465 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 466 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x02, 0x20, 0x01, 467 0x28, 0x09, 0x52, 0x04, 0x72, 0x6f, 0x6f, 0x74, 0x42, 0x76, 0x0a, 0x13, 0x63, 0x6f, 0x6d, 0x2e, 468 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x42, 469 0x08, 0x41, 0x70, 0x69, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2c, 0x67, 0x6f, 0x6f, 470 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 471 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x6b, 0x6e, 472 0x6f, 0x77, 0x6e, 0x2f, 0x61, 0x70, 0x69, 0x70, 0x62, 0xa2, 0x02, 0x03, 0x47, 0x50, 0x42, 0xaa, 473 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 474 0x66, 0x2e, 0x57, 0x65, 0x6c, 0x6c, 0x4b, 0x6e, 0x6f, 0x77, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 475 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 476} 477 478var ( 479 file_google_protobuf_api_proto_rawDescOnce sync.Once 480 file_google_protobuf_api_proto_rawDescData = file_google_protobuf_api_proto_rawDesc 481) 482 483func file_google_protobuf_api_proto_rawDescGZIP() []byte { 484 file_google_protobuf_api_proto_rawDescOnce.Do(func() { 485 file_google_protobuf_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_protobuf_api_proto_rawDescData) 486 }) 487 return file_google_protobuf_api_proto_rawDescData 488} 489 490var file_google_protobuf_api_proto_msgTypes = make([]protoimpl.MessageInfo, 3) 491var file_google_protobuf_api_proto_goTypes = []interface{}{ 492 (*Api)(nil), // 0: google.protobuf.Api 493 (*Method)(nil), // 1: google.protobuf.Method 494 (*Mixin)(nil), // 2: google.protobuf.Mixin 495 (*typepb.Option)(nil), // 3: google.protobuf.Option 496 (*sourcecontextpb.SourceContext)(nil), // 4: google.protobuf.SourceContext 497 (typepb.Syntax)(0), // 5: google.protobuf.Syntax 498} 499var file_google_protobuf_api_proto_depIdxs = []int32{ 500 1, // 0: google.protobuf.Api.methods:type_name -> google.protobuf.Method 501 3, // 1: google.protobuf.Api.options:type_name -> google.protobuf.Option 502 4, // 2: google.protobuf.Api.source_context:type_name -> google.protobuf.SourceContext 503 2, // 3: google.protobuf.Api.mixins:type_name -> google.protobuf.Mixin 504 5, // 4: google.protobuf.Api.syntax:type_name -> google.protobuf.Syntax 505 3, // 5: google.protobuf.Method.options:type_name -> google.protobuf.Option 506 5, // 6: google.protobuf.Method.syntax:type_name -> google.protobuf.Syntax 507 7, // [7:7] is the sub-list for method output_type 508 7, // [7:7] is the sub-list for method input_type 509 7, // [7:7] is the sub-list for extension type_name 510 7, // [7:7] is the sub-list for extension extendee 511 0, // [0:7] is the sub-list for field type_name 512} 513 514func init() { file_google_protobuf_api_proto_init() } 515func file_google_protobuf_api_proto_init() { 516 if File_google_protobuf_api_proto != nil { 517 return 518 } 519 if !protoimpl.UnsafeEnabled { 520 file_google_protobuf_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 521 switch v := v.(*Api); i { 522 case 0: 523 return &v.state 524 case 1: 525 return &v.sizeCache 526 case 2: 527 return &v.unknownFields 528 default: 529 return nil 530 } 531 } 532 file_google_protobuf_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 533 switch v := v.(*Method); i { 534 case 0: 535 return &v.state 536 case 1: 537 return &v.sizeCache 538 case 2: 539 return &v.unknownFields 540 default: 541 return nil 542 } 543 } 544 file_google_protobuf_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 545 switch v := v.(*Mixin); i { 546 case 0: 547 return &v.state 548 case 1: 549 return &v.sizeCache 550 case 2: 551 return &v.unknownFields 552 default: 553 return nil 554 } 555 } 556 } 557 type x struct{} 558 out := protoimpl.TypeBuilder{ 559 File: protoimpl.DescBuilder{ 560 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 561 RawDescriptor: file_google_protobuf_api_proto_rawDesc, 562 NumEnums: 0, 563 NumMessages: 3, 564 NumExtensions: 0, 565 NumServices: 0, 566 }, 567 GoTypes: file_google_protobuf_api_proto_goTypes, 568 DependencyIndexes: file_google_protobuf_api_proto_depIdxs, 569 MessageInfos: file_google_protobuf_api_proto_msgTypes, 570 }.Build() 571 File_google_protobuf_api_proto = out.File 572 file_google_protobuf_api_proto_rawDesc = nil 573 file_google_protobuf_api_proto_goTypes = nil 574 file_google_protobuf_api_proto_depIdxs = nil 575} 576