api.pb.go 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/protobuf/api.proto
  3. package known_proto
  4. import (
  5. protoreflect "github.com/golang/protobuf/v2/reflect/protoreflect"
  6. protoregistry "github.com/golang/protobuf/v2/reflect/protoregistry"
  7. protoiface "github.com/golang/protobuf/v2/runtime/protoiface"
  8. protoimpl "github.com/golang/protobuf/v2/runtime/protoimpl"
  9. sync "sync"
  10. )
  11. const _ = protoimpl.EnforceVersion(protoimpl.Version - 0)
  12. // Api is a light-weight descriptor for an API Interface.
  13. //
  14. // Interfaces are also described as "protocol buffer services" in some contexts,
  15. // such as by the "service" keyword in a .proto file, but they are different
  16. // from API Services, which represent a concrete implementation of an interface
  17. // as opposed to simply a description of methods and bindings. They are also
  18. // sometimes simply referred to as "APIs" in other contexts, such as the name of
  19. // this message itself. See https://cloud.google.com/apis/design/glossary for
  20. // detailed terminology.
  21. type Api struct {
  22. // The fully qualified name of this interface, including package name
  23. // followed by the interface's simple name.
  24. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  25. // The methods of this interface, in unspecified order.
  26. Methods []*Method `protobuf:"bytes,2,rep,name=methods,proto3" json:"methods,omitempty"`
  27. // Any metadata attached to the interface.
  28. Options []*Option `protobuf:"bytes,3,rep,name=options,proto3" json:"options,omitempty"`
  29. // A version string for this interface. If specified, must have the form
  30. // `major-version.minor-version`, as in `1.10`. If the minor version is
  31. // omitted, it defaults to zero. If the entire version field is empty, the
  32. // major version is derived from the package name, as outlined below. If the
  33. // field is not empty, the version in the package name will be verified to be
  34. // consistent with what is provided here.
  35. //
  36. // The versioning schema uses [semantic
  37. // versioning](http://semver.org) where the major version number
  38. // indicates a breaking change and the minor version an additive,
  39. // non-breaking change. Both version numbers are signals to users
  40. // what to expect from different versions, and should be carefully
  41. // chosen based on the product plan.
  42. //
  43. // The major version is also reflected in the package name of the
  44. // interface, which must end in `v<major-version>`, as in
  45. // `google.feature.v1`. For major versions 0 and 1, the suffix can
  46. // be omitted. Zero major versions must only be used for
  47. // experimental, non-GA interfaces.
  48. //
  49. //
  50. Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
  51. // Source context for the protocol buffer service represented by this
  52. // message.
  53. SourceContext *SourceContext `protobuf:"bytes,5,opt,name=source_context,json=sourceContext,proto3" json:"source_context,omitempty"`
  54. // Included interfaces. See [Mixin][].
  55. Mixins []*Mixin `protobuf:"bytes,6,rep,name=mixins,proto3" json:"mixins,omitempty"`
  56. // The source syntax of the service.
  57. Syntax Syntax `protobuf:"varint,7,opt,name=syntax,proto3,enum=google.protobuf.Syntax" json:"syntax,omitempty"`
  58. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  59. XXX_unrecognized protoimpl.UnknownFields `json:"-"`
  60. XXX_sizecache protoimpl.SizeCache `json:"-"`
  61. }
  62. func (x *Api) Reset() {
  63. *x = Api{}
  64. }
  65. func (x *Api) String() string {
  66. return protoimpl.X.MessageStringOf(x)
  67. }
  68. func (*Api) ProtoMessage() {}
  69. func (x *Api) ProtoReflect() protoreflect.Message {
  70. return file_google_protobuf_api_proto_msgTypes[0].MessageOf(x)
  71. }
  72. func (m *Api) XXX_Methods() *protoiface.Methods {
  73. return file_google_protobuf_api_proto_msgTypes[0].Methods()
  74. }
  75. // Deprecated: Use Api.ProtoReflect.Type instead.
  76. func (*Api) Descriptor() ([]byte, []int) {
  77. return file_google_protobuf_api_proto_rawDescGZIP(), []int{0}
  78. }
  79. func (x *Api) GetName() string {
  80. if x != nil {
  81. return x.Name
  82. }
  83. return ""
  84. }
  85. func (x *Api) GetMethods() []*Method {
  86. if x != nil {
  87. return x.Methods
  88. }
  89. return nil
  90. }
  91. func (x *Api) GetOptions() []*Option {
  92. if x != nil {
  93. return x.Options
  94. }
  95. return nil
  96. }
  97. func (x *Api) GetVersion() string {
  98. if x != nil {
  99. return x.Version
  100. }
  101. return ""
  102. }
  103. func (x *Api) GetSourceContext() *SourceContext {
  104. if x != nil {
  105. return x.SourceContext
  106. }
  107. return nil
  108. }
  109. func (x *Api) GetMixins() []*Mixin {
  110. if x != nil {
  111. return x.Mixins
  112. }
  113. return nil
  114. }
  115. func (x *Api) GetSyntax() Syntax {
  116. if x != nil {
  117. return x.Syntax
  118. }
  119. return Syntax_SYNTAX_PROTO2
  120. }
  121. // Method represents a method of an API interface.
  122. type Method struct {
  123. // The simple name of this method.
  124. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  125. // A URL of the input message type.
  126. RequestTypeUrl string `protobuf:"bytes,2,opt,name=request_type_url,json=requestTypeUrl,proto3" json:"request_type_url,omitempty"`
  127. // If true, the request is streamed.
  128. RequestStreaming bool `protobuf:"varint,3,opt,name=request_streaming,json=requestStreaming,proto3" json:"request_streaming,omitempty"`
  129. // The URL of the output message type.
  130. ResponseTypeUrl string `protobuf:"bytes,4,opt,name=response_type_url,json=responseTypeUrl,proto3" json:"response_type_url,omitempty"`
  131. // If true, the response is streamed.
  132. ResponseStreaming bool `protobuf:"varint,5,opt,name=response_streaming,json=responseStreaming,proto3" json:"response_streaming,omitempty"`
  133. // Any metadata attached to the method.
  134. Options []*Option `protobuf:"bytes,6,rep,name=options,proto3" json:"options,omitempty"`
  135. // The source syntax of this method.
  136. Syntax Syntax `protobuf:"varint,7,opt,name=syntax,proto3,enum=google.protobuf.Syntax" json:"syntax,omitempty"`
  137. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  138. XXX_unrecognized protoimpl.UnknownFields `json:"-"`
  139. XXX_sizecache protoimpl.SizeCache `json:"-"`
  140. }
  141. func (x *Method) Reset() {
  142. *x = Method{}
  143. }
  144. func (x *Method) String() string {
  145. return protoimpl.X.MessageStringOf(x)
  146. }
  147. func (*Method) ProtoMessage() {}
  148. func (x *Method) ProtoReflect() protoreflect.Message {
  149. return file_google_protobuf_api_proto_msgTypes[1].MessageOf(x)
  150. }
  151. func (m *Method) XXX_Methods() *protoiface.Methods {
  152. return file_google_protobuf_api_proto_msgTypes[1].Methods()
  153. }
  154. // Deprecated: Use Method.ProtoReflect.Type instead.
  155. func (*Method) Descriptor() ([]byte, []int) {
  156. return file_google_protobuf_api_proto_rawDescGZIP(), []int{1}
  157. }
  158. func (x *Method) GetName() string {
  159. if x != nil {
  160. return x.Name
  161. }
  162. return ""
  163. }
  164. func (x *Method) GetRequestTypeUrl() string {
  165. if x != nil {
  166. return x.RequestTypeUrl
  167. }
  168. return ""
  169. }
  170. func (x *Method) GetRequestStreaming() bool {
  171. if x != nil {
  172. return x.RequestStreaming
  173. }
  174. return false
  175. }
  176. func (x *Method) GetResponseTypeUrl() string {
  177. if x != nil {
  178. return x.ResponseTypeUrl
  179. }
  180. return ""
  181. }
  182. func (x *Method) GetResponseStreaming() bool {
  183. if x != nil {
  184. return x.ResponseStreaming
  185. }
  186. return false
  187. }
  188. func (x *Method) GetOptions() []*Option {
  189. if x != nil {
  190. return x.Options
  191. }
  192. return nil
  193. }
  194. func (x *Method) GetSyntax() Syntax {
  195. if x != nil {
  196. return x.Syntax
  197. }
  198. return Syntax_SYNTAX_PROTO2
  199. }
  200. // Declares an API Interface to be included in this interface. The including
  201. // interface must redeclare all the methods from the included interface, but
  202. // documentation and options are inherited as follows:
  203. //
  204. // - If after comment and whitespace stripping, the documentation
  205. // string of the redeclared method is empty, it will be inherited
  206. // from the original method.
  207. //
  208. // - Each annotation belonging to the service config (http,
  209. // visibility) which is not set in the redeclared method will be
  210. // inherited.
  211. //
  212. // - If an http annotation is inherited, the path pattern will be
  213. // modified as follows. Any version prefix will be replaced by the
  214. // version of the including interface plus the [root][] path if
  215. // specified.
  216. //
  217. // Example of a simple mixin:
  218. //
  219. // package google.acl.v1;
  220. // service AccessControl {
  221. // // Get the underlying ACL object.
  222. // rpc GetAcl(GetAclRequest) returns (Acl) {
  223. // option (google.api.http).get = "/v1/{resource=**}:getAcl";
  224. // }
  225. // }
  226. //
  227. // package google.storage.v2;
  228. // service Storage {
  229. // rpc GetAcl(GetAclRequest) returns (Acl);
  230. //
  231. // // Get a data record.
  232. // rpc GetData(GetDataRequest) returns (Data) {
  233. // option (google.api.http).get = "/v2/{resource=**}";
  234. // }
  235. // }
  236. //
  237. // Example of a mixin configuration:
  238. //
  239. // apis:
  240. // - name: google.storage.v2.Storage
  241. // mixins:
  242. // - name: google.acl.v1.AccessControl
  243. //
  244. // The mixin construct implies that all methods in `AccessControl` are
  245. // also declared with same name and request/response types in
  246. // `Storage`. A documentation generator or annotation processor will
  247. // see the effective `Storage.GetAcl` method after inherting
  248. // documentation and annotations as follows:
  249. //
  250. // service Storage {
  251. // // Get the underlying ACL object.
  252. // rpc GetAcl(GetAclRequest) returns (Acl) {
  253. // option (google.api.http).get = "/v2/{resource=**}:getAcl";
  254. // }
  255. // ...
  256. // }
  257. //
  258. // Note how the version in the path pattern changed from `v1` to `v2`.
  259. //
  260. // If the `root` field in the mixin is specified, it should be a
  261. // relative path under which inherited HTTP paths are placed. Example:
  262. //
  263. // apis:
  264. // - name: google.storage.v2.Storage
  265. // mixins:
  266. // - name: google.acl.v1.AccessControl
  267. // root: acls
  268. //
  269. // This implies the following inherited HTTP annotation:
  270. //
  271. // service Storage {
  272. // // Get the underlying ACL object.
  273. // rpc GetAcl(GetAclRequest) returns (Acl) {
  274. // option (google.api.http).get = "/v2/acls/{resource=**}:getAcl";
  275. // }
  276. // ...
  277. // }
  278. type Mixin struct {
  279. // The fully qualified name of the interface which is included.
  280. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  281. // If non-empty specifies a path under which inherited HTTP paths
  282. // are rooted.
  283. Root string `protobuf:"bytes,2,opt,name=root,proto3" json:"root,omitempty"`
  284. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  285. XXX_unrecognized protoimpl.UnknownFields `json:"-"`
  286. XXX_sizecache protoimpl.SizeCache `json:"-"`
  287. }
  288. func (x *Mixin) Reset() {
  289. *x = Mixin{}
  290. }
  291. func (x *Mixin) String() string {
  292. return protoimpl.X.MessageStringOf(x)
  293. }
  294. func (*Mixin) ProtoMessage() {}
  295. func (x *Mixin) ProtoReflect() protoreflect.Message {
  296. return file_google_protobuf_api_proto_msgTypes[2].MessageOf(x)
  297. }
  298. func (m *Mixin) XXX_Methods() *protoiface.Methods {
  299. return file_google_protobuf_api_proto_msgTypes[2].Methods()
  300. }
  301. // Deprecated: Use Mixin.ProtoReflect.Type instead.
  302. func (*Mixin) Descriptor() ([]byte, []int) {
  303. return file_google_protobuf_api_proto_rawDescGZIP(), []int{2}
  304. }
  305. func (x *Mixin) GetName() string {
  306. if x != nil {
  307. return x.Name
  308. }
  309. return ""
  310. }
  311. func (x *Mixin) GetRoot() string {
  312. if x != nil {
  313. return x.Root
  314. }
  315. return ""
  316. }
  317. var File_google_protobuf_api_proto protoreflect.FileDescriptor
  318. var file_google_protobuf_api_proto_rawDesc = []byte{
  319. 0x0a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
  320. 0x66, 0x2f, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0f, 0x67, 0x6f, 0x6f,
  321. 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x1a, 0x24, 0x67, 0x6f,
  322. 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x6f,
  323. 0x75, 0x72, 0x63, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x2e, 0x70, 0x72, 0x6f,
  324. 0x74, 0x6f, 0x1a, 0x1a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  325. 0x62, 0x75, 0x66, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc1,
  326. 0x02, 0x0a, 0x03, 0x41, 0x70, 0x69, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01,
  327. 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x31, 0x0a, 0x07, 0x6d, 0x65,
  328. 0x74, 0x68, 0x6f, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f,
  329. 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65,
  330. 0x74, 0x68, 0x6f, 0x64, 0x52, 0x07, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x73, 0x12, 0x31, 0x0a,
  331. 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17,
  332. 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
  333. 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73,
  334. 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28,
  335. 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x45, 0x0a, 0x0e, 0x73, 0x6f,
  336. 0x75, 0x72, 0x63, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x05, 0x20, 0x01,
  337. 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  338. 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65,
  339. 0x78, 0x74, 0x52, 0x0d, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78,
  340. 0x74, 0x12, 0x2e, 0x0a, 0x06, 0x6d, 0x69, 0x78, 0x69, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28,
  341. 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  342. 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x69, 0x78, 0x69, 0x6e, 0x52, 0x06, 0x6d, 0x69, 0x78, 0x69, 0x6e,
  343. 0x73, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x79, 0x6e, 0x74, 0x61, 0x78, 0x18, 0x07, 0x20, 0x01, 0x28,
  344. 0x0e, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  345. 0x62, 0x75, 0x66, 0x2e, 0x53, 0x79, 0x6e, 0x74, 0x61, 0x78, 0x52, 0x06, 0x73, 0x79, 0x6e, 0x74,
  346. 0x61, 0x78, 0x22, 0xb2, 0x02, 0x0a, 0x06, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x12, 0x0a,
  347. 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d,
  348. 0x65, 0x12, 0x28, 0x0a, 0x10, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x74, 0x79, 0x70,
  349. 0x65, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x72, 0x65, 0x71,
  350. 0x75, 0x65, 0x73, 0x74, 0x54, 0x79, 0x70, 0x65, 0x55, 0x72, 0x6c, 0x12, 0x2b, 0x0a, 0x11, 0x72,
  351. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67,
  352. 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x53,
  353. 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x12, 0x2a, 0x0a, 0x11, 0x72, 0x65, 0x73, 0x70,
  354. 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x04, 0x20,
  355. 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x54, 0x79, 0x70,
  356. 0x65, 0x55, 0x72, 0x6c, 0x12, 0x2d, 0x0a, 0x12, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
  357. 0x5f, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08,
  358. 0x52, 0x11, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d,
  359. 0x69, 0x6e, 0x67, 0x12, 0x31, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06,
  360. 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
  361. 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x6f,
  362. 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x79, 0x6e, 0x74, 0x61, 0x78,
  363. 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
  364. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x79, 0x6e, 0x74, 0x61, 0x78, 0x52,
  365. 0x06, 0x73, 0x79, 0x6e, 0x74, 0x61, 0x78, 0x22, 0x2f, 0x0a, 0x05, 0x4d, 0x69, 0x78, 0x69, 0x6e,
  366. 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
  367. 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x02, 0x20, 0x01,
  368. 0x28, 0x09, 0x52, 0x04, 0x72, 0x6f, 0x6f, 0x74, 0x42, 0x7f, 0x0a, 0x13, 0x63, 0x6f, 0x6d, 0x2e,
  369. 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x42,
  370. 0x08, 0x41, 0x70, 0x69, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x35, 0x67, 0x69, 0x74,
  371. 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2f, 0x70,
  372. 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x32, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73,
  373. 0x2f, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x3b, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x5f, 0x70, 0x72, 0x6f,
  374. 0x74, 0x6f, 0xa2, 0x02, 0x03, 0x47, 0x50, 0x42, 0xaa, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c,
  375. 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x57, 0x65, 0x6c, 0x6c, 0x4b,
  376. 0x6e, 0x6f, 0x77, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  377. 0x33,
  378. }
  379. var (
  380. file_google_protobuf_api_proto_rawDescOnce sync.Once
  381. file_google_protobuf_api_proto_rawDescData = file_google_protobuf_api_proto_rawDesc
  382. )
  383. func file_google_protobuf_api_proto_rawDescGZIP() []byte {
  384. file_google_protobuf_api_proto_rawDescOnce.Do(func() {
  385. file_google_protobuf_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_protobuf_api_proto_rawDescData)
  386. })
  387. return file_google_protobuf_api_proto_rawDescData
  388. }
  389. var file_google_protobuf_api_proto_msgTypes = make([]protoimpl.MessageType, 3)
  390. var file_google_protobuf_api_proto_goTypes = []interface{}{
  391. (*Api)(nil), // 0: google.protobuf.Api
  392. (*Method)(nil), // 1: google.protobuf.Method
  393. (*Mixin)(nil), // 2: google.protobuf.Mixin
  394. (*Option)(nil), // 3: google.protobuf.Option
  395. (*SourceContext)(nil), // 4: google.protobuf.SourceContext
  396. (Syntax)(0), // 5: google.protobuf.Syntax
  397. }
  398. var file_google_protobuf_api_proto_depIdxs = []int32{
  399. 1, // google.protobuf.Api.methods:type_name -> google.protobuf.Method
  400. 3, // google.protobuf.Api.options:type_name -> google.protobuf.Option
  401. 4, // google.protobuf.Api.source_context:type_name -> google.protobuf.SourceContext
  402. 2, // google.protobuf.Api.mixins:type_name -> google.protobuf.Mixin
  403. 5, // google.protobuf.Api.syntax:type_name -> google.protobuf.Syntax
  404. 3, // google.protobuf.Method.options:type_name -> google.protobuf.Option
  405. 5, // google.protobuf.Method.syntax:type_name -> google.protobuf.Syntax
  406. }
  407. func init() { file_google_protobuf_api_proto_init() }
  408. func file_google_protobuf_api_proto_init() {
  409. if File_google_protobuf_api_proto != nil {
  410. return
  411. }
  412. file_google_protobuf_source_context_proto_init()
  413. file_google_protobuf_type_proto_init()
  414. File_google_protobuf_api_proto = protoimpl.FileBuilder{
  415. RawDescriptor: file_google_protobuf_api_proto_rawDesc,
  416. GoTypes: file_google_protobuf_api_proto_goTypes,
  417. DependencyIndexes: file_google_protobuf_api_proto_depIdxs,
  418. MessageOutputTypes: file_google_protobuf_api_proto_msgTypes,
  419. FilesRegistry: protoregistry.GlobalFiles,
  420. TypesRegistry: protoregistry.GlobalTypes,
  421. }.Init()
  422. file_google_protobuf_api_proto_rawDesc = nil
  423. file_google_protobuf_api_proto_goTypes = nil
  424. file_google_protobuf_api_proto_depIdxs = nil
  425. }