api.pb.go 20 KB

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