You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

619 lines
25 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.25.0
  4. // protoc v3.12.3
  5. // source: remote.proto
  6. package remote_pb
  7. import (
  8. proto "github.com/golang/protobuf/proto"
  9. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  10. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  11. reflect "reflect"
  12. sync "sync"
  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. // This is a compile-time assertion that a sufficiently up-to-date version
  21. // of the legacy proto package is being used.
  22. const _ = proto.ProtoPackageIsVersion4
  23. /////////////////////////
  24. // Remote Storage related
  25. /////////////////////////
  26. type RemoteConf struct {
  27. state protoimpl.MessageState
  28. sizeCache protoimpl.SizeCache
  29. unknownFields protoimpl.UnknownFields
  30. Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
  31. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
  32. S3AccessKey string `protobuf:"bytes,4,opt,name=s3_access_key,json=s3AccessKey,proto3" json:"s3_access_key,omitempty"`
  33. S3SecretKey string `protobuf:"bytes,5,opt,name=s3_secret_key,json=s3SecretKey,proto3" json:"s3_secret_key,omitempty"`
  34. S3Region string `protobuf:"bytes,6,opt,name=s3_region,json=s3Region,proto3" json:"s3_region,omitempty"`
  35. S3Endpoint string `protobuf:"bytes,7,opt,name=s3_endpoint,json=s3Endpoint,proto3" json:"s3_endpoint,omitempty"`
  36. S3StorageClass string `protobuf:"bytes,8,opt,name=s3_storage_class,json=s3StorageClass,proto3" json:"s3_storage_class,omitempty"`
  37. S3ForcePathStyle bool `protobuf:"varint,9,opt,name=s3_force_path_style,json=s3ForcePathStyle,proto3" json:"s3_force_path_style,omitempty"`
  38. GcsGoogleApplicationCredentials string `protobuf:"bytes,10,opt,name=gcs_google_application_credentials,json=gcsGoogleApplicationCredentials,proto3" json:"gcs_google_application_credentials,omitempty"`
  39. AzureAccountName string `protobuf:"bytes,15,opt,name=azure_account_name,json=azureAccountName,proto3" json:"azure_account_name,omitempty"`
  40. AzureAccountKey string `protobuf:"bytes,16,opt,name=azure_account_key,json=azureAccountKey,proto3" json:"azure_account_key,omitempty"`
  41. BackblazeKeyId string `protobuf:"bytes,20,opt,name=backblaze_key_id,json=backblazeKeyId,proto3" json:"backblaze_key_id,omitempty"`
  42. BackblazeApplicationKey string `protobuf:"bytes,21,opt,name=backblaze_application_key,json=backblazeApplicationKey,proto3" json:"backblaze_application_key,omitempty"`
  43. BackblazeEndpoint string `protobuf:"bytes,22,opt,name=backblaze_endpoint,json=backblazeEndpoint,proto3" json:"backblaze_endpoint,omitempty"`
  44. AliyunAccessKey string `protobuf:"bytes,25,opt,name=aliyun_access_key,json=aliyunAccessKey,proto3" json:"aliyun_access_key,omitempty"`
  45. AliyunSecretKey string `protobuf:"bytes,26,opt,name=aliyun_secret_key,json=aliyunSecretKey,proto3" json:"aliyun_secret_key,omitempty"`
  46. AliyunEndpoint string `protobuf:"bytes,27,opt,name=aliyun_endpoint,json=aliyunEndpoint,proto3" json:"aliyun_endpoint,omitempty"`
  47. AliyunRegion string `protobuf:"bytes,28,opt,name=aliyun_region,json=aliyunRegion,proto3" json:"aliyun_region,omitempty"`
  48. TencentSecretId string `protobuf:"bytes,30,opt,name=tencent_secret_id,json=tencentSecretId,proto3" json:"tencent_secret_id,omitempty"`
  49. TencentSecretKey string `protobuf:"bytes,31,opt,name=tencent_secret_key,json=tencentSecretKey,proto3" json:"tencent_secret_key,omitempty"`
  50. TencentEndpoint string `protobuf:"bytes,32,opt,name=tencent_endpoint,json=tencentEndpoint,proto3" json:"tencent_endpoint,omitempty"`
  51. TencentRegion string `protobuf:"bytes,33,opt,name=tencent_region,json=tencentRegion,proto3" json:"tencent_region,omitempty"`
  52. BaiduAccessKey string `protobuf:"bytes,35,opt,name=baidu_access_key,json=baiduAccessKey,proto3" json:"baidu_access_key,omitempty"`
  53. BaiduSecretKey string `protobuf:"bytes,36,opt,name=baidu_secret_key,json=baiduSecretKey,proto3" json:"baidu_secret_key,omitempty"`
  54. BaiduEndpoint string `protobuf:"bytes,37,opt,name=baidu_endpoint,json=baiduEndpoint,proto3" json:"baidu_endpoint,omitempty"`
  55. BaiduRegion string `protobuf:"bytes,38,opt,name=baidu_region,json=baiduRegion,proto3" json:"baidu_region,omitempty"`
  56. WasabiAccessKey string `protobuf:"bytes,40,opt,name=wasabi_access_key,json=wasabiAccessKey,proto3" json:"wasabi_access_key,omitempty"`
  57. WasabiSecretKey string `protobuf:"bytes,41,opt,name=wasabi_secret_key,json=wasabiSecretKey,proto3" json:"wasabi_secret_key,omitempty"`
  58. WasabiEndpoint string `protobuf:"bytes,42,opt,name=wasabi_endpoint,json=wasabiEndpoint,proto3" json:"wasabi_endpoint,omitempty"`
  59. WasabiRegion string `protobuf:"bytes,43,opt,name=wasabi_region,json=wasabiRegion,proto3" json:"wasabi_region,omitempty"`
  60. }
  61. func (x *RemoteConf) Reset() {
  62. *x = RemoteConf{}
  63. if protoimpl.UnsafeEnabled {
  64. mi := &file_remote_proto_msgTypes[0]
  65. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  66. ms.StoreMessageInfo(mi)
  67. }
  68. }
  69. func (x *RemoteConf) String() string {
  70. return protoimpl.X.MessageStringOf(x)
  71. }
  72. func (*RemoteConf) ProtoMessage() {}
  73. func (x *RemoteConf) ProtoReflect() protoreflect.Message {
  74. mi := &file_remote_proto_msgTypes[0]
  75. if protoimpl.UnsafeEnabled && x != nil {
  76. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  77. if ms.LoadMessageInfo() == nil {
  78. ms.StoreMessageInfo(mi)
  79. }
  80. return ms
  81. }
  82. return mi.MessageOf(x)
  83. }
  84. // Deprecated: Use RemoteConf.ProtoReflect.Descriptor instead.
  85. func (*RemoteConf) Descriptor() ([]byte, []int) {
  86. return file_remote_proto_rawDescGZIP(), []int{0}
  87. }
  88. func (x *RemoteConf) GetType() string {
  89. if x != nil {
  90. return x.Type
  91. }
  92. return ""
  93. }
  94. func (x *RemoteConf) GetName() string {
  95. if x != nil {
  96. return x.Name
  97. }
  98. return ""
  99. }
  100. func (x *RemoteConf) GetS3AccessKey() string {
  101. if x != nil {
  102. return x.S3AccessKey
  103. }
  104. return ""
  105. }
  106. func (x *RemoteConf) GetS3SecretKey() string {
  107. if x != nil {
  108. return x.S3SecretKey
  109. }
  110. return ""
  111. }
  112. func (x *RemoteConf) GetS3Region() string {
  113. if x != nil {
  114. return x.S3Region
  115. }
  116. return ""
  117. }
  118. func (x *RemoteConf) GetS3Endpoint() string {
  119. if x != nil {
  120. return x.S3Endpoint
  121. }
  122. return ""
  123. }
  124. func (x *RemoteConf) GetS3StorageClass() string {
  125. if x != nil {
  126. return x.S3StorageClass
  127. }
  128. return ""
  129. }
  130. func (x *RemoteConf) GetS3ForcePathStyle() bool {
  131. if x != nil {
  132. return x.S3ForcePathStyle
  133. }
  134. return false
  135. }
  136. func (x *RemoteConf) GetGcsGoogleApplicationCredentials() string {
  137. if x != nil {
  138. return x.GcsGoogleApplicationCredentials
  139. }
  140. return ""
  141. }
  142. func (x *RemoteConf) GetAzureAccountName() string {
  143. if x != nil {
  144. return x.AzureAccountName
  145. }
  146. return ""
  147. }
  148. func (x *RemoteConf) GetAzureAccountKey() string {
  149. if x != nil {
  150. return x.AzureAccountKey
  151. }
  152. return ""
  153. }
  154. func (x *RemoteConf) GetBackblazeKeyId() string {
  155. if x != nil {
  156. return x.BackblazeKeyId
  157. }
  158. return ""
  159. }
  160. func (x *RemoteConf) GetBackblazeApplicationKey() string {
  161. if x != nil {
  162. return x.BackblazeApplicationKey
  163. }
  164. return ""
  165. }
  166. func (x *RemoteConf) GetBackblazeEndpoint() string {
  167. if x != nil {
  168. return x.BackblazeEndpoint
  169. }
  170. return ""
  171. }
  172. func (x *RemoteConf) GetAliyunAccessKey() string {
  173. if x != nil {
  174. return x.AliyunAccessKey
  175. }
  176. return ""
  177. }
  178. func (x *RemoteConf) GetAliyunSecretKey() string {
  179. if x != nil {
  180. return x.AliyunSecretKey
  181. }
  182. return ""
  183. }
  184. func (x *RemoteConf) GetAliyunEndpoint() string {
  185. if x != nil {
  186. return x.AliyunEndpoint
  187. }
  188. return ""
  189. }
  190. func (x *RemoteConf) GetAliyunRegion() string {
  191. if x != nil {
  192. return x.AliyunRegion
  193. }
  194. return ""
  195. }
  196. func (x *RemoteConf) GetTencentSecretId() string {
  197. if x != nil {
  198. return x.TencentSecretId
  199. }
  200. return ""
  201. }
  202. func (x *RemoteConf) GetTencentSecretKey() string {
  203. if x != nil {
  204. return x.TencentSecretKey
  205. }
  206. return ""
  207. }
  208. func (x *RemoteConf) GetTencentEndpoint() string {
  209. if x != nil {
  210. return x.TencentEndpoint
  211. }
  212. return ""
  213. }
  214. func (x *RemoteConf) GetTencentRegion() string {
  215. if x != nil {
  216. return x.TencentRegion
  217. }
  218. return ""
  219. }
  220. func (x *RemoteConf) GetBaiduAccessKey() string {
  221. if x != nil {
  222. return x.BaiduAccessKey
  223. }
  224. return ""
  225. }
  226. func (x *RemoteConf) GetBaiduSecretKey() string {
  227. if x != nil {
  228. return x.BaiduSecretKey
  229. }
  230. return ""
  231. }
  232. func (x *RemoteConf) GetBaiduEndpoint() string {
  233. if x != nil {
  234. return x.BaiduEndpoint
  235. }
  236. return ""
  237. }
  238. func (x *RemoteConf) GetBaiduRegion() string {
  239. if x != nil {
  240. return x.BaiduRegion
  241. }
  242. return ""
  243. }
  244. func (x *RemoteConf) GetWasabiAccessKey() string {
  245. if x != nil {
  246. return x.WasabiAccessKey
  247. }
  248. return ""
  249. }
  250. func (x *RemoteConf) GetWasabiSecretKey() string {
  251. if x != nil {
  252. return x.WasabiSecretKey
  253. }
  254. return ""
  255. }
  256. func (x *RemoteConf) GetWasabiEndpoint() string {
  257. if x != nil {
  258. return x.WasabiEndpoint
  259. }
  260. return ""
  261. }
  262. func (x *RemoteConf) GetWasabiRegion() string {
  263. if x != nil {
  264. return x.WasabiRegion
  265. }
  266. return ""
  267. }
  268. type RemoteStorageMapping struct {
  269. state protoimpl.MessageState
  270. sizeCache protoimpl.SizeCache
  271. unknownFields protoimpl.UnknownFields
  272. Mappings map[string]*RemoteStorageLocation `protobuf:"bytes,1,rep,name=mappings,proto3" json:"mappings,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  273. }
  274. func (x *RemoteStorageMapping) Reset() {
  275. *x = RemoteStorageMapping{}
  276. if protoimpl.UnsafeEnabled {
  277. mi := &file_remote_proto_msgTypes[1]
  278. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  279. ms.StoreMessageInfo(mi)
  280. }
  281. }
  282. func (x *RemoteStorageMapping) String() string {
  283. return protoimpl.X.MessageStringOf(x)
  284. }
  285. func (*RemoteStorageMapping) ProtoMessage() {}
  286. func (x *RemoteStorageMapping) ProtoReflect() protoreflect.Message {
  287. mi := &file_remote_proto_msgTypes[1]
  288. if protoimpl.UnsafeEnabled && x != nil {
  289. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  290. if ms.LoadMessageInfo() == nil {
  291. ms.StoreMessageInfo(mi)
  292. }
  293. return ms
  294. }
  295. return mi.MessageOf(x)
  296. }
  297. // Deprecated: Use RemoteStorageMapping.ProtoReflect.Descriptor instead.
  298. func (*RemoteStorageMapping) Descriptor() ([]byte, []int) {
  299. return file_remote_proto_rawDescGZIP(), []int{1}
  300. }
  301. func (x *RemoteStorageMapping) GetMappings() map[string]*RemoteStorageLocation {
  302. if x != nil {
  303. return x.Mappings
  304. }
  305. return nil
  306. }
  307. type RemoteStorageLocation struct {
  308. state protoimpl.MessageState
  309. sizeCache protoimpl.SizeCache
  310. unknownFields protoimpl.UnknownFields
  311. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  312. Bucket string `protobuf:"bytes,2,opt,name=bucket,proto3" json:"bucket,omitempty"`
  313. Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
  314. }
  315. func (x *RemoteStorageLocation) Reset() {
  316. *x = RemoteStorageLocation{}
  317. if protoimpl.UnsafeEnabled {
  318. mi := &file_remote_proto_msgTypes[2]
  319. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  320. ms.StoreMessageInfo(mi)
  321. }
  322. }
  323. func (x *RemoteStorageLocation) String() string {
  324. return protoimpl.X.MessageStringOf(x)
  325. }
  326. func (*RemoteStorageLocation) ProtoMessage() {}
  327. func (x *RemoteStorageLocation) ProtoReflect() protoreflect.Message {
  328. mi := &file_remote_proto_msgTypes[2]
  329. if protoimpl.UnsafeEnabled && x != nil {
  330. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  331. if ms.LoadMessageInfo() == nil {
  332. ms.StoreMessageInfo(mi)
  333. }
  334. return ms
  335. }
  336. return mi.MessageOf(x)
  337. }
  338. // Deprecated: Use RemoteStorageLocation.ProtoReflect.Descriptor instead.
  339. func (*RemoteStorageLocation) Descriptor() ([]byte, []int) {
  340. return file_remote_proto_rawDescGZIP(), []int{2}
  341. }
  342. func (x *RemoteStorageLocation) GetName() string {
  343. if x != nil {
  344. return x.Name
  345. }
  346. return ""
  347. }
  348. func (x *RemoteStorageLocation) GetBucket() string {
  349. if x != nil {
  350. return x.Bucket
  351. }
  352. return ""
  353. }
  354. func (x *RemoteStorageLocation) GetPath() string {
  355. if x != nil {
  356. return x.Path
  357. }
  358. return ""
  359. }
  360. var File_remote_proto protoreflect.FileDescriptor
  361. var file_remote_proto_rawDesc = []byte{
  362. 0x0a, 0x0c, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x09,
  363. 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x70, 0x62, 0x22, 0xe5, 0x09, 0x0a, 0x0a, 0x52, 0x65,
  364. 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65,
  365. 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04,
  366. 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
  367. 0x12, 0x22, 0x0a, 0x0d, 0x73, 0x33, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x6b, 0x65,
  368. 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x33, 0x41, 0x63, 0x63, 0x65, 0x73,
  369. 0x73, 0x4b, 0x65, 0x79, 0x12, 0x22, 0x0a, 0x0d, 0x73, 0x33, 0x5f, 0x73, 0x65, 0x63, 0x72, 0x65,
  370. 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x33, 0x53,
  371. 0x65, 0x63, 0x72, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x33, 0x5f, 0x72,
  372. 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x33, 0x52,
  373. 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x33, 0x5f, 0x65, 0x6e, 0x64, 0x70,
  374. 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x33, 0x45, 0x6e,
  375. 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x73, 0x33, 0x5f, 0x73, 0x74, 0x6f,
  376. 0x72, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09,
  377. 0x52, 0x0e, 0x73, 0x33, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73,
  378. 0x12, 0x2d, 0x0a, 0x13, 0x73, 0x33, 0x5f, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x5f, 0x70, 0x61, 0x74,
  379. 0x68, 0x5f, 0x73, 0x74, 0x79, 0x6c, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x73,
  380. 0x33, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x50, 0x61, 0x74, 0x68, 0x53, 0x74, 0x79, 0x6c, 0x65, 0x12,
  381. 0x4b, 0x0a, 0x22, 0x67, 0x63, 0x73, 0x5f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5f, 0x61, 0x70,
  382. 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e,
  383. 0x74, 0x69, 0x61, 0x6c, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x1f, 0x67, 0x63, 0x73,
  384. 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x41, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f,
  385. 0x6e, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x73, 0x12, 0x2c, 0x0a, 0x12,
  386. 0x61, 0x7a, 0x75, 0x72, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x6e, 0x61,
  387. 0x6d, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x7a, 0x75, 0x72, 0x65, 0x41,
  388. 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x61, 0x7a,
  389. 0x75, 0x72, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x18,
  390. 0x10, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x61, 0x7a, 0x75, 0x72, 0x65, 0x41, 0x63, 0x63, 0x6f,
  391. 0x75, 0x6e, 0x74, 0x4b, 0x65, 0x79, 0x12, 0x28, 0x0a, 0x10, 0x62, 0x61, 0x63, 0x6b, 0x62, 0x6c,
  392. 0x61, 0x7a, 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x14, 0x20, 0x01, 0x28, 0x09,
  393. 0x52, 0x0e, 0x62, 0x61, 0x63, 0x6b, 0x62, 0x6c, 0x61, 0x7a, 0x65, 0x4b, 0x65, 0x79, 0x49, 0x64,
  394. 0x12, 0x3a, 0x0a, 0x19, 0x62, 0x61, 0x63, 0x6b, 0x62, 0x6c, 0x61, 0x7a, 0x65, 0x5f, 0x61, 0x70,
  395. 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x15, 0x20,
  396. 0x01, 0x28, 0x09, 0x52, 0x17, 0x62, 0x61, 0x63, 0x6b, 0x62, 0x6c, 0x61, 0x7a, 0x65, 0x41, 0x70,
  397. 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4b, 0x65, 0x79, 0x12, 0x2d, 0x0a, 0x12,
  398. 0x62, 0x61, 0x63, 0x6b, 0x62, 0x6c, 0x61, 0x7a, 0x65, 0x5f, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69,
  399. 0x6e, 0x74, 0x18, 0x16, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x62, 0x61, 0x63, 0x6b, 0x62, 0x6c,
  400. 0x61, 0x7a, 0x65, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x61,
  401. 0x6c, 0x69, 0x79, 0x75, 0x6e, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x6b, 0x65, 0x79,
  402. 0x18, 0x19, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x61, 0x6c, 0x69, 0x79, 0x75, 0x6e, 0x41, 0x63,
  403. 0x63, 0x65, 0x73, 0x73, 0x4b, 0x65, 0x79, 0x12, 0x2a, 0x0a, 0x11, 0x61, 0x6c, 0x69, 0x79, 0x75,
  404. 0x6e, 0x5f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x1a, 0x20, 0x01,
  405. 0x28, 0x09, 0x52, 0x0f, 0x61, 0x6c, 0x69, 0x79, 0x75, 0x6e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74,
  406. 0x4b, 0x65, 0x79, 0x12, 0x27, 0x0a, 0x0f, 0x61, 0x6c, 0x69, 0x79, 0x75, 0x6e, 0x5f, 0x65, 0x6e,
  407. 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x61, 0x6c,
  408. 0x69, 0x79, 0x75, 0x6e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x23, 0x0a, 0x0d,
  409. 0x61, 0x6c, 0x69, 0x79, 0x75, 0x6e, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x18, 0x1c, 0x20,
  410. 0x01, 0x28, 0x09, 0x52, 0x0c, 0x61, 0x6c, 0x69, 0x79, 0x75, 0x6e, 0x52, 0x65, 0x67, 0x69, 0x6f,
  411. 0x6e, 0x12, 0x2a, 0x0a, 0x11, 0x74, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x65, 0x63,
  412. 0x72, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x74, 0x65,
  413. 0x6e, 0x63, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x49, 0x64, 0x12, 0x2c, 0x0a,
  414. 0x12, 0x74, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x5f,
  415. 0x6b, 0x65, 0x79, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x74, 0x65, 0x6e, 0x63, 0x65,
  416. 0x6e, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x4b, 0x65, 0x79, 0x12, 0x29, 0x0a, 0x10, 0x74,
  417. 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x74, 0x5f, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18,
  418. 0x20, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x74, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x74, 0x45, 0x6e,
  419. 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x74, 0x65, 0x6e, 0x63, 0x65, 0x6e,
  420. 0x74, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x18, 0x21, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d,
  421. 0x74, 0x65, 0x6e, 0x63, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x28, 0x0a,
  422. 0x10, 0x62, 0x61, 0x69, 0x64, 0x75, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x6b, 0x65,
  423. 0x79, 0x18, 0x23, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x62, 0x61, 0x69, 0x64, 0x75, 0x41, 0x63,
  424. 0x63, 0x65, 0x73, 0x73, 0x4b, 0x65, 0x79, 0x12, 0x28, 0x0a, 0x10, 0x62, 0x61, 0x69, 0x64, 0x75,
  425. 0x5f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x24, 0x20, 0x01, 0x28,
  426. 0x09, 0x52, 0x0e, 0x62, 0x61, 0x69, 0x64, 0x75, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x4b, 0x65,
  427. 0x79, 0x12, 0x25, 0x0a, 0x0e, 0x62, 0x61, 0x69, 0x64, 0x75, 0x5f, 0x65, 0x6e, 0x64, 0x70, 0x6f,
  428. 0x69, 0x6e, 0x74, 0x18, 0x25, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x62, 0x61, 0x69, 0x64, 0x75,
  429. 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x61, 0x69, 0x64,
  430. 0x75, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x18, 0x26, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b,
  431. 0x62, 0x61, 0x69, 0x64, 0x75, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x2a, 0x0a, 0x11, 0x77,
  432. 0x61, 0x73, 0x61, 0x62, 0x69, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x6b, 0x65, 0x79,
  433. 0x18, 0x28, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x77, 0x61, 0x73, 0x61, 0x62, 0x69, 0x41, 0x63,
  434. 0x63, 0x65, 0x73, 0x73, 0x4b, 0x65, 0x79, 0x12, 0x2a, 0x0a, 0x11, 0x77, 0x61, 0x73, 0x61, 0x62,
  435. 0x69, 0x5f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x29, 0x20, 0x01,
  436. 0x28, 0x09, 0x52, 0x0f, 0x77, 0x61, 0x73, 0x61, 0x62, 0x69, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74,
  437. 0x4b, 0x65, 0x79, 0x12, 0x27, 0x0a, 0x0f, 0x77, 0x61, 0x73, 0x61, 0x62, 0x69, 0x5f, 0x65, 0x6e,
  438. 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x2a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x77, 0x61,
  439. 0x73, 0x61, 0x62, 0x69, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x23, 0x0a, 0x0d,
  440. 0x77, 0x61, 0x73, 0x61, 0x62, 0x69, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x18, 0x2b, 0x20,
  441. 0x01, 0x28, 0x09, 0x52, 0x0c, 0x77, 0x61, 0x73, 0x61, 0x62, 0x69, 0x52, 0x65, 0x67, 0x69, 0x6f,
  442. 0x6e, 0x22, 0xc0, 0x01, 0x0a, 0x14, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x53, 0x74, 0x6f, 0x72,
  443. 0x61, 0x67, 0x65, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x12, 0x49, 0x0a, 0x08, 0x6d, 0x61,
  444. 0x70, 0x70, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x72,
  445. 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x53,
  446. 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x4d, 0x61,
  447. 0x70, 0x70, 0x69, 0x6e, 0x67, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x6d, 0x61, 0x70,
  448. 0x70, 0x69, 0x6e, 0x67, 0x73, 0x1a, 0x5d, 0x0a, 0x0d, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67,
  449. 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20,
  450. 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x36, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
  451. 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65,
  452. 0x5f, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67,
  453. 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
  454. 0x3a, 0x02, 0x38, 0x01, 0x22, 0x57, 0x0a, 0x15, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x53, 0x74,
  455. 0x6f, 0x72, 0x61, 0x67, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a,
  456. 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d,
  457. 0x65, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28,
  458. 0x09, 0x52, 0x06, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74,
  459. 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x42, 0x50, 0x0a,
  460. 0x10, 0x73, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x66, 0x73, 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e,
  461. 0x74, 0x42, 0x0a, 0x46, 0x69, 0x6c, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x5a, 0x30, 0x67,
  462. 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x68, 0x72, 0x69, 0x73, 0x6c,
  463. 0x75, 0x73, 0x66, 0x2f, 0x73, 0x65, 0x61, 0x77, 0x65, 0x65, 0x64, 0x66, 0x73, 0x2f, 0x77, 0x65,
  464. 0x65, 0x64, 0x2f, 0x70, 0x62, 0x2f, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x70, 0x62, 0x62,
  465. 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  466. }
  467. var (
  468. file_remote_proto_rawDescOnce sync.Once
  469. file_remote_proto_rawDescData = file_remote_proto_rawDesc
  470. )
  471. func file_remote_proto_rawDescGZIP() []byte {
  472. file_remote_proto_rawDescOnce.Do(func() {
  473. file_remote_proto_rawDescData = protoimpl.X.CompressGZIP(file_remote_proto_rawDescData)
  474. })
  475. return file_remote_proto_rawDescData
  476. }
  477. var file_remote_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
  478. var file_remote_proto_goTypes = []interface{}{
  479. (*RemoteConf)(nil), // 0: remote_pb.RemoteConf
  480. (*RemoteStorageMapping)(nil), // 1: remote_pb.RemoteStorageMapping
  481. (*RemoteStorageLocation)(nil), // 2: remote_pb.RemoteStorageLocation
  482. nil, // 3: remote_pb.RemoteStorageMapping.MappingsEntry
  483. }
  484. var file_remote_proto_depIdxs = []int32{
  485. 3, // 0: remote_pb.RemoteStorageMapping.mappings:type_name -> remote_pb.RemoteStorageMapping.MappingsEntry
  486. 2, // 1: remote_pb.RemoteStorageMapping.MappingsEntry.value:type_name -> remote_pb.RemoteStorageLocation
  487. 2, // [2:2] is the sub-list for method output_type
  488. 2, // [2:2] is the sub-list for method input_type
  489. 2, // [2:2] is the sub-list for extension type_name
  490. 2, // [2:2] is the sub-list for extension extendee
  491. 0, // [0:2] is the sub-list for field type_name
  492. }
  493. func init() { file_remote_proto_init() }
  494. func file_remote_proto_init() {
  495. if File_remote_proto != nil {
  496. return
  497. }
  498. if !protoimpl.UnsafeEnabled {
  499. file_remote_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  500. switch v := v.(*RemoteConf); i {
  501. case 0:
  502. return &v.state
  503. case 1:
  504. return &v.sizeCache
  505. case 2:
  506. return &v.unknownFields
  507. default:
  508. return nil
  509. }
  510. }
  511. file_remote_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  512. switch v := v.(*RemoteStorageMapping); i {
  513. case 0:
  514. return &v.state
  515. case 1:
  516. return &v.sizeCache
  517. case 2:
  518. return &v.unknownFields
  519. default:
  520. return nil
  521. }
  522. }
  523. file_remote_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  524. switch v := v.(*RemoteStorageLocation); i {
  525. case 0:
  526. return &v.state
  527. case 1:
  528. return &v.sizeCache
  529. case 2:
  530. return &v.unknownFields
  531. default:
  532. return nil
  533. }
  534. }
  535. }
  536. type x struct{}
  537. out := protoimpl.TypeBuilder{
  538. File: protoimpl.DescBuilder{
  539. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  540. RawDescriptor: file_remote_proto_rawDesc,
  541. NumEnums: 0,
  542. NumMessages: 4,
  543. NumExtensions: 0,
  544. NumServices: 0,
  545. },
  546. GoTypes: file_remote_proto_goTypes,
  547. DependencyIndexes: file_remote_proto_depIdxs,
  548. MessageInfos: file_remote_proto_msgTypes,
  549. }.Build()
  550. File_remote_proto = out.File
  551. file_remote_proto_rawDesc = nil
  552. file_remote_proto_goTypes = nil
  553. file_remote_proto_depIdxs = nil
  554. }