s3.pb.go 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.36.6
  4. // protoc v5.29.3
  5. // source: s3.proto
  6. package s3_pb
  7. import (
  8. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  9. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  10. reflect "reflect"
  11. sync "sync"
  12. unsafe "unsafe"
  13. )
  14. const (
  15. // Verify that this generated code is sufficiently up-to-date.
  16. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  17. // Verify that runtime/protoimpl is sufficiently up-to-date.
  18. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  19. )
  20. type S3ConfigureRequest struct {
  21. state protoimpl.MessageState `protogen:"open.v1"`
  22. S3ConfigurationFileContent []byte `protobuf:"bytes,1,opt,name=s3_configuration_file_content,json=s3ConfigurationFileContent,proto3" json:"s3_configuration_file_content,omitempty"`
  23. unknownFields protoimpl.UnknownFields
  24. sizeCache protoimpl.SizeCache
  25. }
  26. func (x *S3ConfigureRequest) Reset() {
  27. *x = S3ConfigureRequest{}
  28. mi := &file_s3_proto_msgTypes[0]
  29. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  30. ms.StoreMessageInfo(mi)
  31. }
  32. func (x *S3ConfigureRequest) String() string {
  33. return protoimpl.X.MessageStringOf(x)
  34. }
  35. func (*S3ConfigureRequest) ProtoMessage() {}
  36. func (x *S3ConfigureRequest) ProtoReflect() protoreflect.Message {
  37. mi := &file_s3_proto_msgTypes[0]
  38. if x != nil {
  39. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  40. if ms.LoadMessageInfo() == nil {
  41. ms.StoreMessageInfo(mi)
  42. }
  43. return ms
  44. }
  45. return mi.MessageOf(x)
  46. }
  47. // Deprecated: Use S3ConfigureRequest.ProtoReflect.Descriptor instead.
  48. func (*S3ConfigureRequest) Descriptor() ([]byte, []int) {
  49. return file_s3_proto_rawDescGZIP(), []int{0}
  50. }
  51. func (x *S3ConfigureRequest) GetS3ConfigurationFileContent() []byte {
  52. if x != nil {
  53. return x.S3ConfigurationFileContent
  54. }
  55. return nil
  56. }
  57. type S3ConfigureResponse struct {
  58. state protoimpl.MessageState `protogen:"open.v1"`
  59. unknownFields protoimpl.UnknownFields
  60. sizeCache protoimpl.SizeCache
  61. }
  62. func (x *S3ConfigureResponse) Reset() {
  63. *x = S3ConfigureResponse{}
  64. mi := &file_s3_proto_msgTypes[1]
  65. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  66. ms.StoreMessageInfo(mi)
  67. }
  68. func (x *S3ConfigureResponse) String() string {
  69. return protoimpl.X.MessageStringOf(x)
  70. }
  71. func (*S3ConfigureResponse) ProtoMessage() {}
  72. func (x *S3ConfigureResponse) ProtoReflect() protoreflect.Message {
  73. mi := &file_s3_proto_msgTypes[1]
  74. if x != nil {
  75. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  76. if ms.LoadMessageInfo() == nil {
  77. ms.StoreMessageInfo(mi)
  78. }
  79. return ms
  80. }
  81. return mi.MessageOf(x)
  82. }
  83. // Deprecated: Use S3ConfigureResponse.ProtoReflect.Descriptor instead.
  84. func (*S3ConfigureResponse) Descriptor() ([]byte, []int) {
  85. return file_s3_proto_rawDescGZIP(), []int{1}
  86. }
  87. type S3CircuitBreakerConfig struct {
  88. state protoimpl.MessageState `protogen:"open.v1"`
  89. Global *S3CircuitBreakerOptions `protobuf:"bytes,1,opt,name=global,proto3" json:"global,omitempty"`
  90. Buckets map[string]*S3CircuitBreakerOptions `protobuf:"bytes,2,rep,name=buckets,proto3" json:"buckets,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
  91. unknownFields protoimpl.UnknownFields
  92. sizeCache protoimpl.SizeCache
  93. }
  94. func (x *S3CircuitBreakerConfig) Reset() {
  95. *x = S3CircuitBreakerConfig{}
  96. mi := &file_s3_proto_msgTypes[2]
  97. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  98. ms.StoreMessageInfo(mi)
  99. }
  100. func (x *S3CircuitBreakerConfig) String() string {
  101. return protoimpl.X.MessageStringOf(x)
  102. }
  103. func (*S3CircuitBreakerConfig) ProtoMessage() {}
  104. func (x *S3CircuitBreakerConfig) ProtoReflect() protoreflect.Message {
  105. mi := &file_s3_proto_msgTypes[2]
  106. if x != nil {
  107. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  108. if ms.LoadMessageInfo() == nil {
  109. ms.StoreMessageInfo(mi)
  110. }
  111. return ms
  112. }
  113. return mi.MessageOf(x)
  114. }
  115. // Deprecated: Use S3CircuitBreakerConfig.ProtoReflect.Descriptor instead.
  116. func (*S3CircuitBreakerConfig) Descriptor() ([]byte, []int) {
  117. return file_s3_proto_rawDescGZIP(), []int{2}
  118. }
  119. func (x *S3CircuitBreakerConfig) GetGlobal() *S3CircuitBreakerOptions {
  120. if x != nil {
  121. return x.Global
  122. }
  123. return nil
  124. }
  125. func (x *S3CircuitBreakerConfig) GetBuckets() map[string]*S3CircuitBreakerOptions {
  126. if x != nil {
  127. return x.Buckets
  128. }
  129. return nil
  130. }
  131. type S3CircuitBreakerOptions struct {
  132. state protoimpl.MessageState `protogen:"open.v1"`
  133. Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
  134. Actions map[string]int64 `protobuf:"bytes,2,rep,name=actions,proto3" json:"actions,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
  135. unknownFields protoimpl.UnknownFields
  136. sizeCache protoimpl.SizeCache
  137. }
  138. func (x *S3CircuitBreakerOptions) Reset() {
  139. *x = S3CircuitBreakerOptions{}
  140. mi := &file_s3_proto_msgTypes[3]
  141. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  142. ms.StoreMessageInfo(mi)
  143. }
  144. func (x *S3CircuitBreakerOptions) String() string {
  145. return protoimpl.X.MessageStringOf(x)
  146. }
  147. func (*S3CircuitBreakerOptions) ProtoMessage() {}
  148. func (x *S3CircuitBreakerOptions) ProtoReflect() protoreflect.Message {
  149. mi := &file_s3_proto_msgTypes[3]
  150. if x != nil {
  151. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  152. if ms.LoadMessageInfo() == nil {
  153. ms.StoreMessageInfo(mi)
  154. }
  155. return ms
  156. }
  157. return mi.MessageOf(x)
  158. }
  159. // Deprecated: Use S3CircuitBreakerOptions.ProtoReflect.Descriptor instead.
  160. func (*S3CircuitBreakerOptions) Descriptor() ([]byte, []int) {
  161. return file_s3_proto_rawDescGZIP(), []int{3}
  162. }
  163. func (x *S3CircuitBreakerOptions) GetEnabled() bool {
  164. if x != nil {
  165. return x.Enabled
  166. }
  167. return false
  168. }
  169. func (x *S3CircuitBreakerOptions) GetActions() map[string]int64 {
  170. if x != nil {
  171. return x.Actions
  172. }
  173. return nil
  174. }
  175. type CORSRule struct {
  176. state protoimpl.MessageState `protogen:"open.v1"`
  177. AllowedHeaders []string `protobuf:"bytes,1,rep,name=allowed_headers,json=allowedHeaders,proto3" json:"allowed_headers,omitempty"`
  178. AllowedMethods []string `protobuf:"bytes,2,rep,name=allowed_methods,json=allowedMethods,proto3" json:"allowed_methods,omitempty"`
  179. AllowedOrigins []string `protobuf:"bytes,3,rep,name=allowed_origins,json=allowedOrigins,proto3" json:"allowed_origins,omitempty"`
  180. ExposeHeaders []string `protobuf:"bytes,4,rep,name=expose_headers,json=exposeHeaders,proto3" json:"expose_headers,omitempty"`
  181. MaxAgeSeconds int32 `protobuf:"varint,5,opt,name=max_age_seconds,json=maxAgeSeconds,proto3" json:"max_age_seconds,omitempty"`
  182. Id string `protobuf:"bytes,6,opt,name=id,proto3" json:"id,omitempty"`
  183. unknownFields protoimpl.UnknownFields
  184. sizeCache protoimpl.SizeCache
  185. }
  186. func (x *CORSRule) Reset() {
  187. *x = CORSRule{}
  188. mi := &file_s3_proto_msgTypes[4]
  189. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  190. ms.StoreMessageInfo(mi)
  191. }
  192. func (x *CORSRule) String() string {
  193. return protoimpl.X.MessageStringOf(x)
  194. }
  195. func (*CORSRule) ProtoMessage() {}
  196. func (x *CORSRule) ProtoReflect() protoreflect.Message {
  197. mi := &file_s3_proto_msgTypes[4]
  198. if x != nil {
  199. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  200. if ms.LoadMessageInfo() == nil {
  201. ms.StoreMessageInfo(mi)
  202. }
  203. return ms
  204. }
  205. return mi.MessageOf(x)
  206. }
  207. // Deprecated: Use CORSRule.ProtoReflect.Descriptor instead.
  208. func (*CORSRule) Descriptor() ([]byte, []int) {
  209. return file_s3_proto_rawDescGZIP(), []int{4}
  210. }
  211. func (x *CORSRule) GetAllowedHeaders() []string {
  212. if x != nil {
  213. return x.AllowedHeaders
  214. }
  215. return nil
  216. }
  217. func (x *CORSRule) GetAllowedMethods() []string {
  218. if x != nil {
  219. return x.AllowedMethods
  220. }
  221. return nil
  222. }
  223. func (x *CORSRule) GetAllowedOrigins() []string {
  224. if x != nil {
  225. return x.AllowedOrigins
  226. }
  227. return nil
  228. }
  229. func (x *CORSRule) GetExposeHeaders() []string {
  230. if x != nil {
  231. return x.ExposeHeaders
  232. }
  233. return nil
  234. }
  235. func (x *CORSRule) GetMaxAgeSeconds() int32 {
  236. if x != nil {
  237. return x.MaxAgeSeconds
  238. }
  239. return 0
  240. }
  241. func (x *CORSRule) GetId() string {
  242. if x != nil {
  243. return x.Id
  244. }
  245. return ""
  246. }
  247. type CORSConfiguration struct {
  248. state protoimpl.MessageState `protogen:"open.v1"`
  249. CorsRules []*CORSRule `protobuf:"bytes,1,rep,name=cors_rules,json=corsRules,proto3" json:"cors_rules,omitempty"`
  250. unknownFields protoimpl.UnknownFields
  251. sizeCache protoimpl.SizeCache
  252. }
  253. func (x *CORSConfiguration) Reset() {
  254. *x = CORSConfiguration{}
  255. mi := &file_s3_proto_msgTypes[5]
  256. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  257. ms.StoreMessageInfo(mi)
  258. }
  259. func (x *CORSConfiguration) String() string {
  260. return protoimpl.X.MessageStringOf(x)
  261. }
  262. func (*CORSConfiguration) ProtoMessage() {}
  263. func (x *CORSConfiguration) ProtoReflect() protoreflect.Message {
  264. mi := &file_s3_proto_msgTypes[5]
  265. if x != nil {
  266. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  267. if ms.LoadMessageInfo() == nil {
  268. ms.StoreMessageInfo(mi)
  269. }
  270. return ms
  271. }
  272. return mi.MessageOf(x)
  273. }
  274. // Deprecated: Use CORSConfiguration.ProtoReflect.Descriptor instead.
  275. func (*CORSConfiguration) Descriptor() ([]byte, []int) {
  276. return file_s3_proto_rawDescGZIP(), []int{5}
  277. }
  278. func (x *CORSConfiguration) GetCorsRules() []*CORSRule {
  279. if x != nil {
  280. return x.CorsRules
  281. }
  282. return nil
  283. }
  284. type BucketMetadata struct {
  285. state protoimpl.MessageState `protogen:"open.v1"`
  286. Tags map[string]string `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
  287. Cors *CORSConfiguration `protobuf:"bytes,2,opt,name=cors,proto3" json:"cors,omitempty"`
  288. Encryption *EncryptionConfiguration `protobuf:"bytes,3,opt,name=encryption,proto3" json:"encryption,omitempty"`
  289. unknownFields protoimpl.UnknownFields
  290. sizeCache protoimpl.SizeCache
  291. }
  292. func (x *BucketMetadata) Reset() {
  293. *x = BucketMetadata{}
  294. mi := &file_s3_proto_msgTypes[6]
  295. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  296. ms.StoreMessageInfo(mi)
  297. }
  298. func (x *BucketMetadata) String() string {
  299. return protoimpl.X.MessageStringOf(x)
  300. }
  301. func (*BucketMetadata) ProtoMessage() {}
  302. func (x *BucketMetadata) ProtoReflect() protoreflect.Message {
  303. mi := &file_s3_proto_msgTypes[6]
  304. if x != nil {
  305. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  306. if ms.LoadMessageInfo() == nil {
  307. ms.StoreMessageInfo(mi)
  308. }
  309. return ms
  310. }
  311. return mi.MessageOf(x)
  312. }
  313. // Deprecated: Use BucketMetadata.ProtoReflect.Descriptor instead.
  314. func (*BucketMetadata) Descriptor() ([]byte, []int) {
  315. return file_s3_proto_rawDescGZIP(), []int{6}
  316. }
  317. func (x *BucketMetadata) GetTags() map[string]string {
  318. if x != nil {
  319. return x.Tags
  320. }
  321. return nil
  322. }
  323. func (x *BucketMetadata) GetCors() *CORSConfiguration {
  324. if x != nil {
  325. return x.Cors
  326. }
  327. return nil
  328. }
  329. func (x *BucketMetadata) GetEncryption() *EncryptionConfiguration {
  330. if x != nil {
  331. return x.Encryption
  332. }
  333. return nil
  334. }
  335. type EncryptionConfiguration struct {
  336. state protoimpl.MessageState `protogen:"open.v1"`
  337. SseAlgorithm string `protobuf:"bytes,1,opt,name=sse_algorithm,json=sseAlgorithm,proto3" json:"sse_algorithm,omitempty"` // "AES256" or "aws:kms"
  338. KmsKeyId string `protobuf:"bytes,2,opt,name=kms_key_id,json=kmsKeyId,proto3" json:"kms_key_id,omitempty"` // KMS key ID (optional for aws:kms)
  339. BucketKeyEnabled bool `protobuf:"varint,3,opt,name=bucket_key_enabled,json=bucketKeyEnabled,proto3" json:"bucket_key_enabled,omitempty"` // S3 Bucket Keys optimization
  340. unknownFields protoimpl.UnknownFields
  341. sizeCache protoimpl.SizeCache
  342. }
  343. func (x *EncryptionConfiguration) Reset() {
  344. *x = EncryptionConfiguration{}
  345. mi := &file_s3_proto_msgTypes[7]
  346. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  347. ms.StoreMessageInfo(mi)
  348. }
  349. func (x *EncryptionConfiguration) String() string {
  350. return protoimpl.X.MessageStringOf(x)
  351. }
  352. func (*EncryptionConfiguration) ProtoMessage() {}
  353. func (x *EncryptionConfiguration) ProtoReflect() protoreflect.Message {
  354. mi := &file_s3_proto_msgTypes[7]
  355. if x != nil {
  356. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  357. if ms.LoadMessageInfo() == nil {
  358. ms.StoreMessageInfo(mi)
  359. }
  360. return ms
  361. }
  362. return mi.MessageOf(x)
  363. }
  364. // Deprecated: Use EncryptionConfiguration.ProtoReflect.Descriptor instead.
  365. func (*EncryptionConfiguration) Descriptor() ([]byte, []int) {
  366. return file_s3_proto_rawDescGZIP(), []int{7}
  367. }
  368. func (x *EncryptionConfiguration) GetSseAlgorithm() string {
  369. if x != nil {
  370. return x.SseAlgorithm
  371. }
  372. return ""
  373. }
  374. func (x *EncryptionConfiguration) GetKmsKeyId() string {
  375. if x != nil {
  376. return x.KmsKeyId
  377. }
  378. return ""
  379. }
  380. func (x *EncryptionConfiguration) GetBucketKeyEnabled() bool {
  381. if x != nil {
  382. return x.BucketKeyEnabled
  383. }
  384. return false
  385. }
  386. var File_s3_proto protoreflect.FileDescriptor
  387. const file_s3_proto_rawDesc = "" +
  388. "\n" +
  389. "\bs3.proto\x12\fmessaging_pb\"W\n" +
  390. "\x12S3ConfigureRequest\x12A\n" +
  391. "\x1ds3_configuration_file_content\x18\x01 \x01(\fR\x1as3ConfigurationFileContent\"\x15\n" +
  392. "\x13S3ConfigureResponse\"\x87\x02\n" +
  393. "\x16S3CircuitBreakerConfig\x12=\n" +
  394. "\x06global\x18\x01 \x01(\v2%.messaging_pb.S3CircuitBreakerOptionsR\x06global\x12K\n" +
  395. "\abuckets\x18\x02 \x03(\v21.messaging_pb.S3CircuitBreakerConfig.BucketsEntryR\abuckets\x1aa\n" +
  396. "\fBucketsEntry\x12\x10\n" +
  397. "\x03key\x18\x01 \x01(\tR\x03key\x12;\n" +
  398. "\x05value\x18\x02 \x01(\v2%.messaging_pb.S3CircuitBreakerOptionsR\x05value:\x028\x01\"\xbd\x01\n" +
  399. "\x17S3CircuitBreakerOptions\x12\x18\n" +
  400. "\aenabled\x18\x01 \x01(\bR\aenabled\x12L\n" +
  401. "\aactions\x18\x02 \x03(\v22.messaging_pb.S3CircuitBreakerOptions.ActionsEntryR\aactions\x1a:\n" +
  402. "\fActionsEntry\x12\x10\n" +
  403. "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
  404. "\x05value\x18\x02 \x01(\x03R\x05value:\x028\x01\"\xe4\x01\n" +
  405. "\bCORSRule\x12'\n" +
  406. "\x0fallowed_headers\x18\x01 \x03(\tR\x0eallowedHeaders\x12'\n" +
  407. "\x0fallowed_methods\x18\x02 \x03(\tR\x0eallowedMethods\x12'\n" +
  408. "\x0fallowed_origins\x18\x03 \x03(\tR\x0eallowedOrigins\x12%\n" +
  409. "\x0eexpose_headers\x18\x04 \x03(\tR\rexposeHeaders\x12&\n" +
  410. "\x0fmax_age_seconds\x18\x05 \x01(\x05R\rmaxAgeSeconds\x12\x0e\n" +
  411. "\x02id\x18\x06 \x01(\tR\x02id\"J\n" +
  412. "\x11CORSConfiguration\x125\n" +
  413. "\n" +
  414. "cors_rules\x18\x01 \x03(\v2\x16.messaging_pb.CORSRuleR\tcorsRules\"\x81\x02\n" +
  415. "\x0eBucketMetadata\x12:\n" +
  416. "\x04tags\x18\x01 \x03(\v2&.messaging_pb.BucketMetadata.TagsEntryR\x04tags\x123\n" +
  417. "\x04cors\x18\x02 \x01(\v2\x1f.messaging_pb.CORSConfigurationR\x04cors\x12E\n" +
  418. "\n" +
  419. "encryption\x18\x03 \x01(\v2%.messaging_pb.EncryptionConfigurationR\n" +
  420. "encryption\x1a7\n" +
  421. "\tTagsEntry\x12\x10\n" +
  422. "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
  423. "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\x8a\x01\n" +
  424. "\x17EncryptionConfiguration\x12#\n" +
  425. "\rsse_algorithm\x18\x01 \x01(\tR\fsseAlgorithm\x12\x1c\n" +
  426. "\n" +
  427. "kms_key_id\x18\x02 \x01(\tR\bkmsKeyId\x12,\n" +
  428. "\x12bucket_key_enabled\x18\x03 \x01(\bR\x10bucketKeyEnabled2_\n" +
  429. "\tSeaweedS3\x12R\n" +
  430. "\tConfigure\x12 .messaging_pb.S3ConfigureRequest\x1a!.messaging_pb.S3ConfigureResponse\"\x00BI\n" +
  431. "\x10seaweedfs.clientB\aS3ProtoZ,github.com/seaweedfs/seaweedfs/weed/pb/s3_pbb\x06proto3"
  432. var (
  433. file_s3_proto_rawDescOnce sync.Once
  434. file_s3_proto_rawDescData []byte
  435. )
  436. func file_s3_proto_rawDescGZIP() []byte {
  437. file_s3_proto_rawDescOnce.Do(func() {
  438. file_s3_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_s3_proto_rawDesc), len(file_s3_proto_rawDesc)))
  439. })
  440. return file_s3_proto_rawDescData
  441. }
  442. var file_s3_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
  443. var file_s3_proto_goTypes = []any{
  444. (*S3ConfigureRequest)(nil), // 0: messaging_pb.S3ConfigureRequest
  445. (*S3ConfigureResponse)(nil), // 1: messaging_pb.S3ConfigureResponse
  446. (*S3CircuitBreakerConfig)(nil), // 2: messaging_pb.S3CircuitBreakerConfig
  447. (*S3CircuitBreakerOptions)(nil), // 3: messaging_pb.S3CircuitBreakerOptions
  448. (*CORSRule)(nil), // 4: messaging_pb.CORSRule
  449. (*CORSConfiguration)(nil), // 5: messaging_pb.CORSConfiguration
  450. (*BucketMetadata)(nil), // 6: messaging_pb.BucketMetadata
  451. (*EncryptionConfiguration)(nil), // 7: messaging_pb.EncryptionConfiguration
  452. nil, // 8: messaging_pb.S3CircuitBreakerConfig.BucketsEntry
  453. nil, // 9: messaging_pb.S3CircuitBreakerOptions.ActionsEntry
  454. nil, // 10: messaging_pb.BucketMetadata.TagsEntry
  455. }
  456. var file_s3_proto_depIdxs = []int32{
  457. 3, // 0: messaging_pb.S3CircuitBreakerConfig.global:type_name -> messaging_pb.S3CircuitBreakerOptions
  458. 8, // 1: messaging_pb.S3CircuitBreakerConfig.buckets:type_name -> messaging_pb.S3CircuitBreakerConfig.BucketsEntry
  459. 9, // 2: messaging_pb.S3CircuitBreakerOptions.actions:type_name -> messaging_pb.S3CircuitBreakerOptions.ActionsEntry
  460. 4, // 3: messaging_pb.CORSConfiguration.cors_rules:type_name -> messaging_pb.CORSRule
  461. 10, // 4: messaging_pb.BucketMetadata.tags:type_name -> messaging_pb.BucketMetadata.TagsEntry
  462. 5, // 5: messaging_pb.BucketMetadata.cors:type_name -> messaging_pb.CORSConfiguration
  463. 7, // 6: messaging_pb.BucketMetadata.encryption:type_name -> messaging_pb.EncryptionConfiguration
  464. 3, // 7: messaging_pb.S3CircuitBreakerConfig.BucketsEntry.value:type_name -> messaging_pb.S3CircuitBreakerOptions
  465. 0, // 8: messaging_pb.SeaweedS3.Configure:input_type -> messaging_pb.S3ConfigureRequest
  466. 1, // 9: messaging_pb.SeaweedS3.Configure:output_type -> messaging_pb.S3ConfigureResponse
  467. 9, // [9:10] is the sub-list for method output_type
  468. 8, // [8:9] is the sub-list for method input_type
  469. 8, // [8:8] is the sub-list for extension type_name
  470. 8, // [8:8] is the sub-list for extension extendee
  471. 0, // [0:8] is the sub-list for field type_name
  472. }
  473. func init() { file_s3_proto_init() }
  474. func file_s3_proto_init() {
  475. if File_s3_proto != nil {
  476. return
  477. }
  478. type x struct{}
  479. out := protoimpl.TypeBuilder{
  480. File: protoimpl.DescBuilder{
  481. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  482. RawDescriptor: unsafe.Slice(unsafe.StringData(file_s3_proto_rawDesc), len(file_s3_proto_rawDesc)),
  483. NumEnums: 0,
  484. NumMessages: 11,
  485. NumExtensions: 0,
  486. NumServices: 1,
  487. },
  488. GoTypes: file_s3_proto_goTypes,
  489. DependencyIndexes: file_s3_proto_depIdxs,
  490. MessageInfos: file_s3_proto_msgTypes,
  491. }.Build()
  492. File_s3_proto = out.File
  493. file_s3_proto_goTypes = nil
  494. file_s3_proto_depIdxs = nil
  495. }