1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
#[derive(serde::Serialize, serde::Deserialize)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ExportProgress {
}
pub mod export_progress {
#[derive(serde::Serialize, serde::Deserialize)]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum Progress {
Unspecified = 0,
Preparing = 1,
TransferData = 2,
Done = 3,
Cancellation = 4,
Cancelled = 5,
}
}
#[derive(serde::Serialize, serde::Deserialize)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ExportItemProgress {
#[prost(uint32, tag="1")]
pub parts_total: u32,
#[prost(uint32, tag="2")]
pub parts_completed: u32,
#[prost(message, optional, tag="3")]
pub start_time: ::core::option::Option<::pbjson_types::Timestamp>,
#[prost(message, optional, tag="4")]
pub end_time: ::core::option::Option<::pbjson_types::Timestamp>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ExportToYtSettings {
#[prost(string, tag="1")]
pub host: ::prost::alloc::string::String,
#[prost(uint32, tag="2")]
pub port: u32,
#[prost(string, tag="3")]
pub token: ::prost::alloc::string::String,
#[prost(message, repeated, tag="4")]
pub items: ::prost::alloc::vec::Vec<export_to_yt_settings::Item>,
#[prost(string, tag="5")]
pub description: ::prost::alloc::string::String,
#[prost(uint32, tag="6")]
pub number_of_retries: u32,
#[prost(bool, tag="7")]
pub use_type_v3: bool,
}
pub mod export_to_yt_settings {
#[derive(serde::Serialize, serde::Deserialize)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Item {
#[prost(string, tag="1")]
pub source_path: ::prost::alloc::string::String,
#[prost(string, tag="2")]
pub destination_path: ::prost::alloc::string::String,
}
}
#[derive(serde::Serialize, serde::Deserialize)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ExportToYtResult {
}
#[derive(serde::Serialize, serde::Deserialize)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ExportToYtMetadata {
#[prost(message, optional, tag="1")]
pub settings: ::core::option::Option<ExportToYtSettings>,
#[prost(enumeration="export_progress::Progress", tag="2")]
pub progress: i32,
#[prost(message, repeated, tag="3")]
pub items_progress: ::prost::alloc::vec::Vec<ExportItemProgress>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ExportToYtRequest {
#[prost(message, optional, tag="1")]
pub operation_params: ::core::option::Option<super::operations::OperationParams>,
#[prost(message, optional, tag="2")]
pub settings: ::core::option::Option<ExportToYtSettings>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ExportToYtResponse {
#[prost(message, optional, tag="1")]
pub operation: ::core::option::Option<super::operations::Operation>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ExportToS3Settings {
#[prost(string, tag="1")]
pub endpoint: ::prost::alloc::string::String,
#[prost(enumeration="export_to_s3_settings::Scheme", tag="2")]
pub scheme: i32,
#[prost(string, tag="3")]
pub bucket: ::prost::alloc::string::String,
#[prost(string, tag="4")]
pub access_key: ::prost::alloc::string::String,
#[prost(string, tag="5")]
pub secret_key: ::prost::alloc::string::String,
#[prost(message, repeated, tag="6")]
pub items: ::prost::alloc::vec::Vec<export_to_s3_settings::Item>,
#[prost(string, tag="7")]
pub description: ::prost::alloc::string::String,
#[prost(uint32, tag="8")]
pub number_of_retries: u32,
#[prost(enumeration="export_to_s3_settings::StorageClass", tag="9")]
pub storage_class: i32,
}
pub mod export_to_s3_settings {
#[derive(serde::Serialize, serde::Deserialize)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Item {
#[prost(string, tag="1")]
pub source_path: ::prost::alloc::string::String,
#[prost(string, tag="2")]
pub destination_prefix: ::prost::alloc::string::String,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum Scheme {
Unspecified = 0,
Http = 1,
Https = 2,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
#[repr(i32)]
pub enum StorageClass {
Unspecified = 0,
Standard = 1,
ReducedRedundancy = 2,
StandardIa = 3,
OnezoneIa = 4,
IntelligentTiering = 5,
Glacier = 6,
DeepArchive = 7,
Outposts = 8,
}
}
#[derive(serde::Serialize, serde::Deserialize)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ExportToS3Result {
}
#[derive(serde::Serialize, serde::Deserialize)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ExportToS3Metadata {
#[prost(message, optional, tag="1")]
pub settings: ::core::option::Option<ExportToS3Settings>,
#[prost(enumeration="export_progress::Progress", tag="2")]
pub progress: i32,
#[prost(message, repeated, tag="3")]
pub items_progress: ::prost::alloc::vec::Vec<ExportItemProgress>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ExportToS3Request {
#[prost(message, optional, tag="1")]
pub operation_params: ::core::option::Option<super::operations::OperationParams>,
#[prost(message, optional, tag="2")]
pub settings: ::core::option::Option<ExportToS3Settings>,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ExportToS3Response {
#[prost(message, optional, tag="1")]
pub operation: ::core::option::Option<super::operations::Operation>,
}