Merge lp:~mandel/ubuntuone-windows-installer/add_syncdaemon_protobuf into lp:ubuntuone-windows-installer/beta
- add_syncdaemon_protobuf
- Merge into beta
Proposed by
Manuel de la Peña
Status: | Merged |
---|---|
Approved by: | Rick McBride |
Approved revision: | 62 |
Merged at revision: | 71 |
Proposed branch: | lp:~mandel/ubuntuone-windows-installer/add_syncdaemon_protobuf |
Merge into: | lp:ubuntuone-windows-installer/beta |
Prerequisite: | lp:~mandel/ubuntuone-windows-installer/remove_syncdaemon_shit_from_msi |
Diff against target: |
2344 lines (+2285/-1) 6 files modified
.bzrignore (+2/-0) main.build (+25/-1) src/Canonical.UbuntuOne.SyncDaemon/Canonical.UbuntuOne.SyncDaemon.csproj (+66/-0) src/Canonical.UbuntuOne.SyncDaemon/Properties/AssemblyInfo.cs (+23/-0) src/Canonical.UbuntuOne.SyncDaemon/SyncDaemon.cs (+2157/-0) src/UbuntuOne.sln (+12/-0) |
To merge this branch: | bzr merge lp:~mandel/ubuntuone-windows-installer/add_syncdaemon_protobuf |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Rick McBride (community) | Approve | ||
Vincenzo Di Somma (community) | Approve | ||
Review via email: mp+33570@code.launchpad.net |
Commit message
Description of the change
Gets the protocol project and generates the Proto code for .Net to use in the project.
To post a comment you must log in.
Revision history for this message
Rick McBride (rmcbride) wrote : | # |
Looks good. Tests pass.
review:
Approve
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === modified file '.bzrignore' |
2 | --- .bzrignore 2010-08-18 12:44:45 +0000 |
3 | +++ .bzrignore 2010-08-24 18:41:45 +0000 |
4 | @@ -29,3 +29,5 @@ |
5 | *.ReSharper |
6 | test-results |
7 | install/UbuntuOne.msi |
8 | +src/Canonical.UbuntuOne.SyncDaemon/obj |
9 | +src/Canonical.UbuntuOne.SyncDaemon/bin |
10 | |
11 | === modified file 'main.build' |
12 | --- main.build 2010-08-24 18:41:44 +0000 |
13 | +++ main.build 2010-08-24 18:41:45 +0000 |
14 | @@ -101,9 +101,33 @@ |
15 | </asminfo> |
16 | </target> |
17 | |
18 | + <target name="generate_syncdaemon_proto" |
19 | + description="Generates the protobuf class that is used to communicate with the ubuntu one servers."> |
20 | + <delete file="src/Canonical.UbuntuOne.SyncDaemon/SyncDaemon.cs" /> |
21 | + |
22 | + <!-- get the latests code of the protocol --> |
23 | + <exec managed="true" |
24 | + workingdir="lib/Protobuf-net" |
25 | + program="bzr.exe" |
26 | + commandline="branch lp:ubuntuone-storage-protocol protocol"/> |
27 | + <!-- use the proto that definitions present in the branch --> |
28 | + |
29 | + <exec basedir="lib/Protobuf-net" |
30 | + managed="true" |
31 | + workingdir="lib/Protobuf-net" |
32 | + program="protogen.exe" |
33 | + commandline="-i:protocol\ubuntuone\storageprotocol\protocol.proto -o:SyncDaemon.cs -ns:Canonical.UbuntuOne.SyncDaemon -p:fixCase=false"/> |
34 | + |
35 | + <!-- move the generated code --> |
36 | + <move file="./lib/Protobuf-net/SyncDaemon.cs" todir="./src/Canonical.UbuntuOne.SyncDaemon"/> |
37 | + |
38 | + <!-- delete the checouk brach --> |
39 | + <delete dir="lib/Protobuf-net/protocol" if="${directory::exists('lib/Protobuf-net/protocol')}" /> |
40 | + |
41 | + </target> |
42 | <target name="build" |
43 | description="Compiles all the different projects that form part of the solution." |
44 | - depends="clean, generate-versionnumber"> |
45 | + depends="clean, generate_syncdaemon_proto, generate-versionnumber"> |
46 | <!-- use the msbuild action to compile the solution --> |
47 | <msbuild project="src/UbuntuOne.sln"> |
48 | <property name="Configuration" value="${enviroment}" /> |
49 | |
50 | === added directory 'src/Canonical.UbuntuOne.SyncDaemon' |
51 | === added file 'src/Canonical.UbuntuOne.SyncDaemon/Canonical.UbuntuOne.SyncDaemon.csproj' |
52 | --- src/Canonical.UbuntuOne.SyncDaemon/Canonical.UbuntuOne.SyncDaemon.csproj 1970-01-01 00:00:00 +0000 |
53 | +++ src/Canonical.UbuntuOne.SyncDaemon/Canonical.UbuntuOne.SyncDaemon.csproj 2010-08-24 18:41:45 +0000 |
54 | @@ -0,0 +1,66 @@ |
55 | +<?xml version="1.0" encoding="utf-8"?> |
56 | +<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
57 | + <PropertyGroup> |
58 | + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
59 | + <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
60 | + <ProductVersion>9.0.21022</ProductVersion> |
61 | + <SchemaVersion>2.0</SchemaVersion> |
62 | + <ProjectGuid>{38042450-48E0-472F-A7D8-577A7B763279}</ProjectGuid> |
63 | + <OutputType>Library</OutputType> |
64 | + <AppDesignerFolder>Properties</AppDesignerFolder> |
65 | + <RootNamespace>Canonical.UbuntuOne.SyncDaemon</RootNamespace> |
66 | + <AssemblyName>Canonical.UbuntuOne.SyncDaemon</AssemblyName> |
67 | + <TargetFrameworkVersion>v3.5</TargetFrameworkVersion> |
68 | + <FileAlignment>512</FileAlignment> |
69 | + </PropertyGroup> |
70 | + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> |
71 | + <DebugSymbols>true</DebugSymbols> |
72 | + <DebugType>full</DebugType> |
73 | + <Optimize>false</Optimize> |
74 | + <OutputPath>bin\Debug\</OutputPath> |
75 | + <DefineConstants>DEBUG;TRACE</DefineConstants> |
76 | + <ErrorReport>prompt</ErrorReport> |
77 | + <WarningLevel>4</WarningLevel> |
78 | + </PropertyGroup> |
79 | + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> |
80 | + <DebugType>pdbonly</DebugType> |
81 | + <Optimize>true</Optimize> |
82 | + <OutputPath>bin\Release\</OutputPath> |
83 | + <DefineConstants>TRACE</DefineConstants> |
84 | + <ErrorReport>prompt</ErrorReport> |
85 | + <WarningLevel>4</WarningLevel> |
86 | + </PropertyGroup> |
87 | + <ItemGroup> |
88 | + <Reference Include="protobuf-net, Version=1.0.0.282, Culture=neutral, PublicKeyToken=257b51d87d2e4d67, processorArchitecture=MSIL"> |
89 | + <SpecificVersion>False</SpecificVersion> |
90 | + <HintPath>..\..\lib\Protobuf-net\protobuf-net.dll</HintPath> |
91 | + </Reference> |
92 | + <Reference Include="System" /> |
93 | + <Reference Include="System.Core"> |
94 | + <RequiredTargetFramework>3.5</RequiredTargetFramework> |
95 | + </Reference> |
96 | + <Reference Include="System.Xml.Linq"> |
97 | + <RequiredTargetFramework>3.5</RequiredTargetFramework> |
98 | + </Reference> |
99 | + <Reference Include="System.Data.DataSetExtensions"> |
100 | + <RequiredTargetFramework>3.5</RequiredTargetFramework> |
101 | + </Reference> |
102 | + <Reference Include="System.Data" /> |
103 | + <Reference Include="System.Xml" /> |
104 | + </ItemGroup> |
105 | + <ItemGroup> |
106 | + <Compile Include="..\Version.cs"> |
107 | + <Link>Properties\Version.cs</Link> |
108 | + </Compile> |
109 | + <Compile Include="Properties\AssemblyInfo.cs" /> |
110 | + <Compile Include="SyncDaemon.cs" /> |
111 | + </ItemGroup> |
112 | + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> |
113 | + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. |
114 | + Other similar extension points exist, see Microsoft.Common.targets. |
115 | + <Target Name="BeforeBuild"> |
116 | + </Target> |
117 | + <Target Name="AfterBuild"> |
118 | + </Target> |
119 | + --> |
120 | +</Project> |
121 | \ No newline at end of file |
122 | |
123 | === added directory 'src/Canonical.UbuntuOne.SyncDaemon/Properties' |
124 | === added file 'src/Canonical.UbuntuOne.SyncDaemon/Properties/AssemblyInfo.cs' |
125 | --- src/Canonical.UbuntuOne.SyncDaemon/Properties/AssemblyInfo.cs 1970-01-01 00:00:00 +0000 |
126 | +++ src/Canonical.UbuntuOne.SyncDaemon/Properties/AssemblyInfo.cs 2010-08-24 18:41:45 +0000 |
127 | @@ -0,0 +1,23 @@ |
128 | +using System.Reflection; |
129 | +using System.Runtime.CompilerServices; |
130 | +using System.Runtime.InteropServices; |
131 | + |
132 | +// General Information about an assembly is controlled through the following |
133 | +// set of attributes. Change these attribute values to modify the information |
134 | +// associated with an assembly. |
135 | +[assembly: AssemblyTitle("Canonical.UbuntuOne.SyncDaemon")] |
136 | +[assembly: AssemblyDescription("")] |
137 | +[assembly: AssemblyConfiguration("")] |
138 | +[assembly: AssemblyCompany("")] |
139 | +[assembly: AssemblyProduct("Canonical.UbuntuOne.SyncDaemon")] |
140 | +[assembly: AssemblyCopyright("Copyright © 2010")] |
141 | +[assembly: AssemblyTrademark("")] |
142 | +[assembly: AssemblyCulture("")] |
143 | + |
144 | +// Setting ComVisible to false makes the types in this assembly not visible |
145 | +// to COM components. If you need to access a type in this assembly from |
146 | +// COM, set the ComVisible attribute to true on that type. |
147 | +[assembly: ComVisible(false)] |
148 | + |
149 | +// The following GUID is for the ID of the typelib if this project is exposed to COM |
150 | +[assembly: Guid("9c88a052-7520-4cbc-bb7d-597d025ac389")] |
151 | \ No newline at end of file |
152 | |
153 | === added file 'src/Canonical.UbuntuOne.SyncDaemon/SyncDaemon.cs' |
154 | --- src/Canonical.UbuntuOne.SyncDaemon/SyncDaemon.cs 1970-01-01 00:00:00 +0000 |
155 | +++ src/Canonical.UbuntuOne.SyncDaemon/SyncDaemon.cs 2010-08-24 18:41:45 +0000 |
156 | @@ -0,0 +1,2157 @@ |
157 | +//------------------------------------------------------------------------------ |
158 | +// <auto-generated> |
159 | +// This code was generated by a tool. |
160 | +// |
161 | +// Changes to this file may cause incorrect behavior and will be lost if |
162 | +// the code is regenerated. |
163 | +// </auto-generated> |
164 | +//------------------------------------------------------------------------------ |
165 | + |
166 | +// Generated from: protocol/ubuntuone/storageprotocol/protocol.proto |
167 | +namespace ubuntuone.storageprotocol |
168 | +{ |
169 | + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"Message")] |
170 | + public partial class Message : global::ProtoBuf.IExtensible |
171 | + { |
172 | + public Message() {} |
173 | + |
174 | + private int _id; |
175 | + [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] |
176 | + public int id |
177 | + { |
178 | + get { return _id; } |
179 | + set { _id = value; } |
180 | + } |
181 | + private ubuntuone.storageprotocol.Message.MessageType _type; |
182 | + [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"type", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] |
183 | + public ubuntuone.storageprotocol.Message.MessageType type |
184 | + { |
185 | + get { return _type; } |
186 | + set { _type = value; } |
187 | + } |
188 | + |
189 | + private ubuntuone.storageprotocol.Error _error = null; |
190 | + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"error", DataFormat = global::ProtoBuf.DataFormat.Default)] |
191 | + [global::System.ComponentModel.DefaultValue(null)] |
192 | + public ubuntuone.storageprotocol.Error error |
193 | + { |
194 | + get { return _error; } |
195 | + set { _error = value; } |
196 | + } |
197 | + |
198 | + private ubuntuone.storageprotocol.Protocol _protocol = null; |
199 | + [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"protocol", DataFormat = global::ProtoBuf.DataFormat.Default)] |
200 | + [global::System.ComponentModel.DefaultValue(null)] |
201 | + public ubuntuone.storageprotocol.Protocol protocol |
202 | + { |
203 | + get { return _protocol; } |
204 | + set { _protocol = value; } |
205 | + } |
206 | + private readonly global::System.Collections.Generic.List<ubuntuone.storageprotocol.AuthParameter> _auth_parameters = new global::System.Collections.Generic.List<ubuntuone.storageprotocol.AuthParameter>(); |
207 | + [global::ProtoBuf.ProtoMember(5, Name=@"auth_parameters", DataFormat = global::ProtoBuf.DataFormat.Default)] |
208 | + public global::System.Collections.Generic.List<ubuntuone.storageprotocol.AuthParameter> auth_parameters |
209 | + { |
210 | + get { return _auth_parameters; } |
211 | + } |
212 | + |
213 | + |
214 | + private byte[] _session_id = null; |
215 | + [global::ProtoBuf.ProtoMember(42, IsRequired = false, Name=@"session_id", DataFormat = global::ProtoBuf.DataFormat.Default)] |
216 | + [global::System.ComponentModel.DefaultValue(null)] |
217 | + public byte[] session_id |
218 | + { |
219 | + get { return _session_id; } |
220 | + set { _session_id = value; } |
221 | + } |
222 | + |
223 | + private ubuntuone.storageprotocol.Root _root = null; |
224 | + [global::ProtoBuf.ProtoMember(6, IsRequired = false, Name=@"root", DataFormat = global::ProtoBuf.DataFormat.Default)] |
225 | + [global::System.ComponentModel.DefaultValue(null)] |
226 | + public ubuntuone.storageprotocol.Root root |
227 | + { |
228 | + get { return _root; } |
229 | + set { _root = value; } |
230 | + } |
231 | + private readonly global::System.Collections.Generic.List<ubuntuone.storageprotocol.Query> _query = new global::System.Collections.Generic.List<ubuntuone.storageprotocol.Query>(); |
232 | + [global::ProtoBuf.ProtoMember(7, Name=@"query", DataFormat = global::ProtoBuf.DataFormat.Default)] |
233 | + public global::System.Collections.Generic.List<ubuntuone.storageprotocol.Query> query |
234 | + { |
235 | + get { return _query; } |
236 | + } |
237 | + |
238 | + |
239 | + private ubuntuone.storageprotocol.NodeState _node_state = null; |
240 | + [global::ProtoBuf.ProtoMember(8, IsRequired = false, Name=@"node_state", DataFormat = global::ProtoBuf.DataFormat.Default)] |
241 | + [global::System.ComponentModel.DefaultValue(null)] |
242 | + public ubuntuone.storageprotocol.NodeState node_state |
243 | + { |
244 | + get { return _node_state; } |
245 | + set { _node_state = value; } |
246 | + } |
247 | + |
248 | + private ubuntuone.storageprotocol.Make _make = null; |
249 | + [global::ProtoBuf.ProtoMember(9, IsRequired = false, Name=@"make", DataFormat = global::ProtoBuf.DataFormat.Default)] |
250 | + [global::System.ComponentModel.DefaultValue(null)] |
251 | + public ubuntuone.storageprotocol.Make make |
252 | + { |
253 | + get { return _make; } |
254 | + set { _make = value; } |
255 | + } |
256 | + |
257 | + private ubuntuone.storageprotocol.New _new = null; |
258 | + [global::ProtoBuf.ProtoMember(10, IsRequired = false, Name=@"new", DataFormat = global::ProtoBuf.DataFormat.Default)] |
259 | + [global::System.ComponentModel.DefaultValue(null)] |
260 | + public ubuntuone.storageprotocol.New @new |
261 | + { |
262 | + get { return _new; } |
263 | + set { _new = value; } |
264 | + } |
265 | + |
266 | + private ubuntuone.storageprotocol.Move _move = null; |
267 | + [global::ProtoBuf.ProtoMember(11, IsRequired = false, Name=@"move", DataFormat = global::ProtoBuf.DataFormat.Default)] |
268 | + [global::System.ComponentModel.DefaultValue(null)] |
269 | + public ubuntuone.storageprotocol.Move move |
270 | + { |
271 | + get { return _move; } |
272 | + set { _move = value; } |
273 | + } |
274 | + |
275 | + private ubuntuone.storageprotocol.GetContent _get_content = null; |
276 | + [global::ProtoBuf.ProtoMember(12, IsRequired = false, Name=@"get_content", DataFormat = global::ProtoBuf.DataFormat.Default)] |
277 | + [global::System.ComponentModel.DefaultValue(null)] |
278 | + public ubuntuone.storageprotocol.GetContent get_content |
279 | + { |
280 | + get { return _get_content; } |
281 | + set { _get_content = value; } |
282 | + } |
283 | + |
284 | + private ubuntuone.storageprotocol.PutContent _put_content = null; |
285 | + [global::ProtoBuf.ProtoMember(13, IsRequired = false, Name=@"put_content", DataFormat = global::ProtoBuf.DataFormat.Default)] |
286 | + [global::System.ComponentModel.DefaultValue(null)] |
287 | + public ubuntuone.storageprotocol.PutContent put_content |
288 | + { |
289 | + get { return _put_content; } |
290 | + set { _put_content = value; } |
291 | + } |
292 | + |
293 | + private ubuntuone.storageprotocol.UploadInProgress _upload_in_progress = null; |
294 | + [global::ProtoBuf.ProtoMember(14, IsRequired = false, Name=@"upload_in_progress", DataFormat = global::ProtoBuf.DataFormat.Default)] |
295 | + [global::System.ComponentModel.DefaultValue(null)] |
296 | + public ubuntuone.storageprotocol.UploadInProgress upload_in_progress |
297 | + { |
298 | + get { return _upload_in_progress; } |
299 | + set { _upload_in_progress = value; } |
300 | + } |
301 | + |
302 | + private ubuntuone.storageprotocol.Bytes _bytes = null; |
303 | + [global::ProtoBuf.ProtoMember(15, IsRequired = false, Name=@"bytes", DataFormat = global::ProtoBuf.DataFormat.Default)] |
304 | + [global::System.ComponentModel.DefaultValue(null)] |
305 | + public ubuntuone.storageprotocol.Bytes bytes |
306 | + { |
307 | + get { return _bytes; } |
308 | + set { _bytes = value; } |
309 | + } |
310 | + |
311 | + private ubuntuone.storageprotocol.Unlink _unlink = null; |
312 | + [global::ProtoBuf.ProtoMember(16, IsRequired = false, Name=@"unlink", DataFormat = global::ProtoBuf.DataFormat.Default)] |
313 | + [global::System.ComponentModel.DefaultValue(null)] |
314 | + public ubuntuone.storageprotocol.Unlink unlink |
315 | + { |
316 | + get { return _unlink; } |
317 | + set { _unlink = value; } |
318 | + } |
319 | + |
320 | + private ubuntuone.storageprotocol.CancelRequest _cancel_request = null; |
321 | + [global::ProtoBuf.ProtoMember(17, IsRequired = false, Name=@"cancel_request", DataFormat = global::ProtoBuf.DataFormat.Default)] |
322 | + [global::System.ComponentModel.DefaultValue(null)] |
323 | + public ubuntuone.storageprotocol.CancelRequest cancel_request |
324 | + { |
325 | + get { return _cancel_request; } |
326 | + set { _cancel_request = value; } |
327 | + } |
328 | + |
329 | + private ubuntuone.storageprotocol.NodeAttr _node_attr = null; |
330 | + [global::ProtoBuf.ProtoMember(18, IsRequired = false, Name=@"node_attr", DataFormat = global::ProtoBuf.DataFormat.Default)] |
331 | + [global::System.ComponentModel.DefaultValue(null)] |
332 | + public ubuntuone.storageprotocol.NodeAttr node_attr |
333 | + { |
334 | + get { return _node_attr; } |
335 | + set { _node_attr = value; } |
336 | + } |
337 | + |
338 | + private ulong _new_generation = default(ulong); |
339 | + [global::ProtoBuf.ProtoMember(43, IsRequired = false, Name=@"new_generation", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] |
340 | + [global::System.ComponentModel.DefaultValue(default(ulong))] |
341 | + public ulong new_generation |
342 | + { |
343 | + get { return _new_generation; } |
344 | + set { _new_generation = value; } |
345 | + } |
346 | + |
347 | + private ubuntuone.storageprotocol.CreateShare _create_share = null; |
348 | + [global::ProtoBuf.ProtoMember(19, IsRequired = false, Name=@"create_share", DataFormat = global::ProtoBuf.DataFormat.Default)] |
349 | + [global::System.ComponentModel.DefaultValue(null)] |
350 | + public ubuntuone.storageprotocol.CreateShare create_share |
351 | + { |
352 | + get { return _create_share; } |
353 | + set { _create_share = value; } |
354 | + } |
355 | + |
356 | + private ubuntuone.storageprotocol.Shares _shares = null; |
357 | + [global::ProtoBuf.ProtoMember(20, IsRequired = false, Name=@"shares", DataFormat = global::ProtoBuf.DataFormat.Default)] |
358 | + [global::System.ComponentModel.DefaultValue(null)] |
359 | + public ubuntuone.storageprotocol.Shares shares |
360 | + { |
361 | + get { return _shares; } |
362 | + set { _shares = value; } |
363 | + } |
364 | + |
365 | + private ubuntuone.storageprotocol.NotifyShare _notify_share = null; |
366 | + [global::ProtoBuf.ProtoMember(21, IsRequired = false, Name=@"notify_share", DataFormat = global::ProtoBuf.DataFormat.Default)] |
367 | + [global::System.ComponentModel.DefaultValue(null)] |
368 | + public ubuntuone.storageprotocol.NotifyShare notify_share |
369 | + { |
370 | + get { return _notify_share; } |
371 | + set { _notify_share = value; } |
372 | + } |
373 | + |
374 | + private ubuntuone.storageprotocol.ShareAccepted _share_accepted = null; |
375 | + [global::ProtoBuf.ProtoMember(22, IsRequired = false, Name=@"share_accepted", DataFormat = global::ProtoBuf.DataFormat.Default)] |
376 | + [global::System.ComponentModel.DefaultValue(null)] |
377 | + public ubuntuone.storageprotocol.ShareAccepted share_accepted |
378 | + { |
379 | + get { return _share_accepted; } |
380 | + set { _share_accepted = value; } |
381 | + } |
382 | + |
383 | + private ubuntuone.storageprotocol.ShareDeleted _share_deleted = null; |
384 | + [global::ProtoBuf.ProtoMember(23, IsRequired = false, Name=@"share_deleted", DataFormat = global::ProtoBuf.DataFormat.Default)] |
385 | + [global::System.ComponentModel.DefaultValue(null)] |
386 | + public ubuntuone.storageprotocol.ShareDeleted share_deleted |
387 | + { |
388 | + get { return _share_deleted; } |
389 | + set { _share_deleted = value; } |
390 | + } |
391 | + |
392 | + private ubuntuone.storageprotocol.ShareCreated _share_created = null; |
393 | + [global::ProtoBuf.ProtoMember(24, IsRequired = false, Name=@"share_created", DataFormat = global::ProtoBuf.DataFormat.Default)] |
394 | + [global::System.ComponentModel.DefaultValue(null)] |
395 | + public ubuntuone.storageprotocol.ShareCreated share_created |
396 | + { |
397 | + get { return _share_created; } |
398 | + set { _share_created = value; } |
399 | + } |
400 | + |
401 | + private ubuntuone.storageprotocol.DeleteShare _delete_share = null; |
402 | + [global::ProtoBuf.ProtoMember(25, IsRequired = false, Name=@"delete_share", DataFormat = global::ProtoBuf.DataFormat.Default)] |
403 | + [global::System.ComponentModel.DefaultValue(null)] |
404 | + public ubuntuone.storageprotocol.DeleteShare delete_share |
405 | + { |
406 | + get { return _delete_share; } |
407 | + set { _delete_share = value; } |
408 | + } |
409 | + |
410 | + private ubuntuone.storageprotocol.CreateUDF _create_udf = null; |
411 | + [global::ProtoBuf.ProtoMember(33, IsRequired = false, Name=@"create_udf", DataFormat = global::ProtoBuf.DataFormat.Default)] |
412 | + [global::System.ComponentModel.DefaultValue(null)] |
413 | + public ubuntuone.storageprotocol.CreateUDF create_udf |
414 | + { |
415 | + get { return _create_udf; } |
416 | + set { _create_udf = value; } |
417 | + } |
418 | + |
419 | + private ubuntuone.storageprotocol.Volumes _list_volumes = null; |
420 | + [global::ProtoBuf.ProtoMember(34, IsRequired = false, Name=@"list_volumes", DataFormat = global::ProtoBuf.DataFormat.Default)] |
421 | + [global::System.ComponentModel.DefaultValue(null)] |
422 | + public ubuntuone.storageprotocol.Volumes list_volumes |
423 | + { |
424 | + get { return _list_volumes; } |
425 | + set { _list_volumes = value; } |
426 | + } |
427 | + |
428 | + private ubuntuone.storageprotocol.VolumeDeleted _volume_deleted = null; |
429 | + [global::ProtoBuf.ProtoMember(35, IsRequired = false, Name=@"volume_deleted", DataFormat = global::ProtoBuf.DataFormat.Default)] |
430 | + [global::System.ComponentModel.DefaultValue(null)] |
431 | + public ubuntuone.storageprotocol.VolumeDeleted volume_deleted |
432 | + { |
433 | + get { return _volume_deleted; } |
434 | + set { _volume_deleted = value; } |
435 | + } |
436 | + |
437 | + private ubuntuone.storageprotocol.Volumes _volume_created = null; |
438 | + [global::ProtoBuf.ProtoMember(36, IsRequired = false, Name=@"volume_created", DataFormat = global::ProtoBuf.DataFormat.Default)] |
439 | + [global::System.ComponentModel.DefaultValue(null)] |
440 | + public ubuntuone.storageprotocol.Volumes volume_created |
441 | + { |
442 | + get { return _volume_created; } |
443 | + set { _volume_created = value; } |
444 | + } |
445 | + |
446 | + private ubuntuone.storageprotocol.DeleteVolume _delete_volume = null; |
447 | + [global::ProtoBuf.ProtoMember(37, IsRequired = false, Name=@"delete_volume", DataFormat = global::ProtoBuf.DataFormat.Default)] |
448 | + [global::System.ComponentModel.DefaultValue(null)] |
449 | + public ubuntuone.storageprotocol.DeleteVolume delete_volume |
450 | + { |
451 | + get { return _delete_volume; } |
452 | + set { _delete_volume = value; } |
453 | + } |
454 | + |
455 | + private ubuntuone.storageprotocol.VolumeNewGeneration _volume_new_generation = null; |
456 | + [global::ProtoBuf.ProtoMember(41, IsRequired = false, Name=@"volume_new_generation", DataFormat = global::ProtoBuf.DataFormat.Default)] |
457 | + [global::System.ComponentModel.DefaultValue(null)] |
458 | + public ubuntuone.storageprotocol.VolumeNewGeneration volume_new_generation |
459 | + { |
460 | + get { return _volume_new_generation; } |
461 | + set { _volume_new_generation = value; } |
462 | + } |
463 | + private readonly global::System.Collections.Generic.List<ubuntuone.storageprotocol.QueryCaps> _query_caps = new global::System.Collections.Generic.List<ubuntuone.storageprotocol.QueryCaps>(); |
464 | + [global::ProtoBuf.ProtoMember(26, Name=@"query_caps", DataFormat = global::ProtoBuf.DataFormat.Default)] |
465 | + public global::System.Collections.Generic.List<ubuntuone.storageprotocol.QueryCaps> query_caps |
466 | + { |
467 | + get { return _query_caps; } |
468 | + } |
469 | + |
470 | + private readonly global::System.Collections.Generic.List<ubuntuone.storageprotocol.SetCaps> _set_caps = new global::System.Collections.Generic.List<ubuntuone.storageprotocol.SetCaps>(); |
471 | + [global::ProtoBuf.ProtoMember(27, Name=@"set_caps", DataFormat = global::ProtoBuf.DataFormat.Default)] |
472 | + public global::System.Collections.Generic.List<ubuntuone.storageprotocol.SetCaps> set_caps |
473 | + { |
474 | + get { return _set_caps; } |
475 | + } |
476 | + |
477 | + |
478 | + private ubuntuone.storageprotocol.AcceptCaps _accept_caps = null; |
479 | + [global::ProtoBuf.ProtoMember(28, IsRequired = false, Name=@"accept_caps", DataFormat = global::ProtoBuf.DataFormat.Default)] |
480 | + [global::System.ComponentModel.DefaultValue(null)] |
481 | + public ubuntuone.storageprotocol.AcceptCaps accept_caps |
482 | + { |
483 | + get { return _accept_caps; } |
484 | + set { _accept_caps = value; } |
485 | + } |
486 | + |
487 | + private ubuntuone.storageprotocol.FreeSpaceInfo _free_space_info = null; |
488 | + [global::ProtoBuf.ProtoMember(29, IsRequired = false, Name=@"free_space_info", DataFormat = global::ProtoBuf.DataFormat.Default)] |
489 | + [global::System.ComponentModel.DefaultValue(null)] |
490 | + public ubuntuone.storageprotocol.FreeSpaceInfo free_space_info |
491 | + { |
492 | + get { return _free_space_info; } |
493 | + set { _free_space_info = value; } |
494 | + } |
495 | + |
496 | + private ubuntuone.storageprotocol.FreeSpaceInquiry _free_space_inquiry = null; |
497 | + [global::ProtoBuf.ProtoMember(30, IsRequired = false, Name=@"free_space_inquiry", DataFormat = global::ProtoBuf.DataFormat.Default)] |
498 | + [global::System.ComponentModel.DefaultValue(null)] |
499 | + public ubuntuone.storageprotocol.FreeSpaceInquiry free_space_inquiry |
500 | + { |
501 | + get { return _free_space_inquiry; } |
502 | + set { _free_space_inquiry = value; } |
503 | + } |
504 | + |
505 | + private ubuntuone.storageprotocol.AccountInfo _account_info = null; |
506 | + [global::ProtoBuf.ProtoMember(31, IsRequired = false, Name=@"account_info", DataFormat = global::ProtoBuf.DataFormat.Default)] |
507 | + [global::System.ComponentModel.DefaultValue(null)] |
508 | + public ubuntuone.storageprotocol.AccountInfo account_info |
509 | + { |
510 | + get { return _account_info; } |
511 | + set { _account_info = value; } |
512 | + } |
513 | + |
514 | + private ubuntuone.storageprotocol.BeginContent _begin_content = null; |
515 | + [global::ProtoBuf.ProtoMember(32, IsRequired = false, Name=@"begin_content", DataFormat = global::ProtoBuf.DataFormat.Default)] |
516 | + [global::System.ComponentModel.DefaultValue(null)] |
517 | + public ubuntuone.storageprotocol.BeginContent begin_content |
518 | + { |
519 | + get { return _begin_content; } |
520 | + set { _begin_content = value; } |
521 | + } |
522 | + |
523 | + private ubuntuone.storageprotocol.GetDelta _get_delta = null; |
524 | + [global::ProtoBuf.ProtoMember(38, IsRequired = false, Name=@"get_delta", DataFormat = global::ProtoBuf.DataFormat.Default)] |
525 | + [global::System.ComponentModel.DefaultValue(null)] |
526 | + public ubuntuone.storageprotocol.GetDelta get_delta |
527 | + { |
528 | + get { return _get_delta; } |
529 | + set { _get_delta = value; } |
530 | + } |
531 | + |
532 | + private ubuntuone.storageprotocol.DeltaInfo _delta_info = null; |
533 | + [global::ProtoBuf.ProtoMember(39, IsRequired = false, Name=@"delta_info", DataFormat = global::ProtoBuf.DataFormat.Default)] |
534 | + [global::System.ComponentModel.DefaultValue(null)] |
535 | + public ubuntuone.storageprotocol.DeltaInfo delta_info |
536 | + { |
537 | + get { return _delta_info; } |
538 | + set { _delta_info = value; } |
539 | + } |
540 | + |
541 | + private ubuntuone.storageprotocol.DeltaEnd _delta_end = null; |
542 | + [global::ProtoBuf.ProtoMember(40, IsRequired = false, Name=@"delta_end", DataFormat = global::ProtoBuf.DataFormat.Default)] |
543 | + [global::System.ComponentModel.DefaultValue(null)] |
544 | + public ubuntuone.storageprotocol.DeltaEnd delta_end |
545 | + { |
546 | + get { return _delta_end; } |
547 | + set { _delta_end = value; } |
548 | + } |
549 | + [global::ProtoBuf.ProtoContract(Name=@"MessageType")] |
550 | + public enum MessageType |
551 | + { |
552 | + |
553 | + [global::ProtoBuf.ProtoEnum(Name=@"NOOP", Value=0)] |
554 | + NOOP = 0, |
555 | + |
556 | + [global::ProtoBuf.ProtoEnum(Name=@"ERROR", Value=1)] |
557 | + ERROR = 1, |
558 | + |
559 | + [global::ProtoBuf.ProtoEnum(Name=@"OK", Value=2)] |
560 | + OK = 2, |
561 | + |
562 | + [global::ProtoBuf.ProtoEnum(Name=@"PING", Value=3)] |
563 | + PING = 3, |
564 | + |
565 | + [global::ProtoBuf.ProtoEnum(Name=@"PONG", Value=4)] |
566 | + PONG = 4, |
567 | + |
568 | + [global::ProtoBuf.ProtoEnum(Name=@"PROTOCOL_VERSION", Value=5)] |
569 | + PROTOCOL_VERSION = 5, |
570 | + |
571 | + [global::ProtoBuf.ProtoEnum(Name=@"AUTH_REQUEST", Value=6)] |
572 | + AUTH_REQUEST = 6, |
573 | + |
574 | + [global::ProtoBuf.ProtoEnum(Name=@"AUTH_REQUEST_TOKEN", Value=7)] |
575 | + AUTH_REQUEST_TOKEN = 7, |
576 | + |
577 | + [global::ProtoBuf.ProtoEnum(Name=@"AUTH_REQUEST_TOKEN_READY", Value=8)] |
578 | + AUTH_REQUEST_TOKEN_READY = 8, |
579 | + |
580 | + [global::ProtoBuf.ProtoEnum(Name=@"AUTH_AUTHENTICATED", Value=9)] |
581 | + AUTH_AUTHENTICATED = 9, |
582 | + |
583 | + [global::ProtoBuf.ProtoEnum(Name=@"ROOT", Value=10)] |
584 | + ROOT = 10, |
585 | + |
586 | + [global::ProtoBuf.ProtoEnum(Name=@"MAKE_DIR", Value=11)] |
587 | + MAKE_DIR = 11, |
588 | + |
589 | + [global::ProtoBuf.ProtoEnum(Name=@"MAKE_FILE", Value=12)] |
590 | + MAKE_FILE = 12, |
591 | + |
592 | + [global::ProtoBuf.ProtoEnum(Name=@"NEW_DIR", Value=13)] |
593 | + NEW_DIR = 13, |
594 | + |
595 | + [global::ProtoBuf.ProtoEnum(Name=@"NEW_FILE", Value=14)] |
596 | + NEW_FILE = 14, |
597 | + |
598 | + [global::ProtoBuf.ProtoEnum(Name=@"QUERY", Value=15)] |
599 | + QUERY = 15, |
600 | + |
601 | + [global::ProtoBuf.ProtoEnum(Name=@"NODE_STATE", Value=16)] |
602 | + NODE_STATE = 16, |
603 | + |
604 | + [global::ProtoBuf.ProtoEnum(Name=@"QUERY_END", Value=17)] |
605 | + QUERY_END = 17, |
606 | + |
607 | + [global::ProtoBuf.ProtoEnum(Name=@"GET_CONTENT", Value=18)] |
608 | + GET_CONTENT = 18, |
609 | + |
610 | + [global::ProtoBuf.ProtoEnum(Name=@"PUT_CONTENT", Value=19)] |
611 | + PUT_CONTENT = 19, |
612 | + |
613 | + [global::ProtoBuf.ProtoEnum(Name=@"BEGIN_CONTENT", Value=20)] |
614 | + BEGIN_CONTENT = 20, |
615 | + |
616 | + [global::ProtoBuf.ProtoEnum(Name=@"BYTES", Value=21)] |
617 | + BYTES = 21, |
618 | + |
619 | + [global::ProtoBuf.ProtoEnum(Name=@"EOF", Value=22)] |
620 | + EOF = 22, |
621 | + |
622 | + [global::ProtoBuf.ProtoEnum(Name=@"MOVE", Value=23)] |
623 | + MOVE = 23, |
624 | + |
625 | + [global::ProtoBuf.ProtoEnum(Name=@"UNLINK", Value=24)] |
626 | + UNLINK = 24, |
627 | + |
628 | + [global::ProtoBuf.ProtoEnum(Name=@"CREATE_SHARE", Value=25)] |
629 | + CREATE_SHARE = 25, |
630 | + |
631 | + [global::ProtoBuf.ProtoEnum(Name=@"LIST_SHARES", Value=26)] |
632 | + LIST_SHARES = 26, |
633 | + |
634 | + [global::ProtoBuf.ProtoEnum(Name=@"SHARES_INFO", Value=27)] |
635 | + SHARES_INFO = 27, |
636 | + |
637 | + [global::ProtoBuf.ProtoEnum(Name=@"SHARES_END", Value=28)] |
638 | + SHARES_END = 28, |
639 | + |
640 | + [global::ProtoBuf.ProtoEnum(Name=@"NOTIFY_SHARE", Value=29)] |
641 | + NOTIFY_SHARE = 29, |
642 | + |
643 | + [global::ProtoBuf.ProtoEnum(Name=@"SHARE_ACCEPTED", Value=30)] |
644 | + SHARE_ACCEPTED = 30, |
645 | + |
646 | + [global::ProtoBuf.ProtoEnum(Name=@"SHARE_DELETED", Value=31)] |
647 | + SHARE_DELETED = 31, |
648 | + |
649 | + [global::ProtoBuf.ProtoEnum(Name=@"SHARE_CREATED", Value=34)] |
650 | + SHARE_CREATED = 34, |
651 | + |
652 | + [global::ProtoBuf.ProtoEnum(Name=@"DELETE_SHARE", Value=36)] |
653 | + DELETE_SHARE = 36, |
654 | + |
655 | + [global::ProtoBuf.ProtoEnum(Name=@"CREATE_UDF", Value=44)] |
656 | + CREATE_UDF = 44, |
657 | + |
658 | + [global::ProtoBuf.ProtoEnum(Name=@"LIST_VOLUMES", Value=45)] |
659 | + LIST_VOLUMES = 45, |
660 | + |
661 | + [global::ProtoBuf.ProtoEnum(Name=@"VOLUMES_INFO", Value=46)] |
662 | + VOLUMES_INFO = 46, |
663 | + |
664 | + [global::ProtoBuf.ProtoEnum(Name=@"VOLUMES_END", Value=47)] |
665 | + VOLUMES_END = 47, |
666 | + |
667 | + [global::ProtoBuf.ProtoEnum(Name=@"VOLUME_DELETED", Value=48)] |
668 | + VOLUME_DELETED = 48, |
669 | + |
670 | + [global::ProtoBuf.ProtoEnum(Name=@"VOLUME_CREATED", Value=49)] |
671 | + VOLUME_CREATED = 49, |
672 | + |
673 | + [global::ProtoBuf.ProtoEnum(Name=@"DELETE_VOLUME", Value=50)] |
674 | + DELETE_VOLUME = 50, |
675 | + |
676 | + [global::ProtoBuf.ProtoEnum(Name=@"VOLUME_NEW_GENERATION", Value=54)] |
677 | + VOLUME_NEW_GENERATION = 54, |
678 | + |
679 | + [global::ProtoBuf.ProtoEnum(Name=@"CANCEL_REQUEST", Value=32)] |
680 | + CANCEL_REQUEST = 32, |
681 | + |
682 | + [global::ProtoBuf.ProtoEnum(Name=@"NODE_ATTR", Value=33)] |
683 | + NODE_ATTR = 33, |
684 | + |
685 | + [global::ProtoBuf.ProtoEnum(Name=@"CANCELLED", Value=35)] |
686 | + CANCELLED = 35, |
687 | + |
688 | + [global::ProtoBuf.ProtoEnum(Name=@"QUERY_CAPS", Value=37)] |
689 | + QUERY_CAPS = 37, |
690 | + |
691 | + [global::ProtoBuf.ProtoEnum(Name=@"SET_CAPS", Value=38)] |
692 | + SET_CAPS = 38, |
693 | + |
694 | + [global::ProtoBuf.ProtoEnum(Name=@"ACCEPT_CAPS", Value=39)] |
695 | + ACCEPT_CAPS = 39, |
696 | + |
697 | + [global::ProtoBuf.ProtoEnum(Name=@"FREE_SPACE_INFO", Value=40)] |
698 | + FREE_SPACE_INFO = 40, |
699 | + |
700 | + [global::ProtoBuf.ProtoEnum(Name=@"FREE_SPACE_INQUIRY", Value=41)] |
701 | + FREE_SPACE_INQUIRY = 41, |
702 | + |
703 | + [global::ProtoBuf.ProtoEnum(Name=@"ACCOUNT_INFO", Value=42)] |
704 | + ACCOUNT_INFO = 42, |
705 | + |
706 | + [global::ProtoBuf.ProtoEnum(Name=@"ACCOUNT_INQUIRY", Value=43)] |
707 | + ACCOUNT_INQUIRY = 43, |
708 | + |
709 | + [global::ProtoBuf.ProtoEnum(Name=@"GET_DELTA", Value=51)] |
710 | + GET_DELTA = 51, |
711 | + |
712 | + [global::ProtoBuf.ProtoEnum(Name=@"DELTA_INFO", Value=52)] |
713 | + DELTA_INFO = 52, |
714 | + |
715 | + [global::ProtoBuf.ProtoEnum(Name=@"DELTA_END", Value=53)] |
716 | + DELTA_END = 53 |
717 | + } |
718 | + |
719 | + private global::ProtoBuf.IExtension extensionObject; |
720 | + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) |
721 | + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } |
722 | + } |
723 | + |
724 | + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"Error")] |
725 | + public partial class Error : global::ProtoBuf.IExtensible |
726 | + { |
727 | + public Error() {} |
728 | + |
729 | + private ubuntuone.storageprotocol.Error.ErrorType _type; |
730 | + [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"type", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] |
731 | + public ubuntuone.storageprotocol.Error.ErrorType type |
732 | + { |
733 | + get { return _type; } |
734 | + set { _type = value; } |
735 | + } |
736 | + |
737 | + private string _comment = ""; |
738 | + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"comment", DataFormat = global::ProtoBuf.DataFormat.Default)] |
739 | + [global::System.ComponentModel.DefaultValue("")] |
740 | + public string comment |
741 | + { |
742 | + get { return _comment; } |
743 | + set { _comment = value; } |
744 | + } |
745 | + [global::ProtoBuf.ProtoContract(Name=@"ErrorType")] |
746 | + public enum ErrorType |
747 | + { |
748 | + |
749 | + [global::ProtoBuf.ProtoEnum(Name=@"UNSUPPORTED_VERSION", Value=0)] |
750 | + UNSUPPORTED_VERSION = 0, |
751 | + |
752 | + [global::ProtoBuf.ProtoEnum(Name=@"AUTHENTICATION_FAILED", Value=1)] |
753 | + AUTHENTICATION_FAILED = 1, |
754 | + |
755 | + [global::ProtoBuf.ProtoEnum(Name=@"INTERNAL_ERROR", Value=2)] |
756 | + INTERNAL_ERROR = 2, |
757 | + |
758 | + [global::ProtoBuf.ProtoEnum(Name=@"AUTHENTICATION_REQUIRED", Value=3)] |
759 | + AUTHENTICATION_REQUIRED = 3, |
760 | + |
761 | + [global::ProtoBuf.ProtoEnum(Name=@"NO_PERMISSION", Value=4)] |
762 | + NO_PERMISSION = 4, |
763 | + |
764 | + [global::ProtoBuf.ProtoEnum(Name=@"ALREADY_EXISTS", Value=5)] |
765 | + ALREADY_EXISTS = 5, |
766 | + |
767 | + [global::ProtoBuf.ProtoEnum(Name=@"DOES_NOT_EXIST", Value=6)] |
768 | + DOES_NOT_EXIST = 6, |
769 | + |
770 | + [global::ProtoBuf.ProtoEnum(Name=@"NOT_A_DIRECTORY", Value=7)] |
771 | + NOT_A_DIRECTORY = 7, |
772 | + |
773 | + [global::ProtoBuf.ProtoEnum(Name=@"NOT_EMPTY", Value=8)] |
774 | + NOT_EMPTY = 8, |
775 | + |
776 | + [global::ProtoBuf.ProtoEnum(Name=@"NOT_AVAILABLE", Value=9)] |
777 | + NOT_AVAILABLE = 9, |
778 | + |
779 | + [global::ProtoBuf.ProtoEnum(Name=@"UPLOAD_IN_PROGRESS", Value=10)] |
780 | + UPLOAD_IN_PROGRESS = 10, |
781 | + |
782 | + [global::ProtoBuf.ProtoEnum(Name=@"UPLOAD_CORRUPT", Value=11)] |
783 | + UPLOAD_CORRUPT = 11, |
784 | + |
785 | + [global::ProtoBuf.ProtoEnum(Name=@"UPLOAD_CANCELED", Value=12)] |
786 | + UPLOAD_CANCELED = 12, |
787 | + |
788 | + [global::ProtoBuf.ProtoEnum(Name=@"CONFLICT", Value=13)] |
789 | + CONFLICT = 13, |
790 | + |
791 | + [global::ProtoBuf.ProtoEnum(Name=@"TRY_AGAIN", Value=14)] |
792 | + TRY_AGAIN = 14, |
793 | + |
794 | + [global::ProtoBuf.ProtoEnum(Name=@"PROTOCOL_ERROR", Value=15)] |
795 | + PROTOCOL_ERROR = 15, |
796 | + |
797 | + [global::ProtoBuf.ProtoEnum(Name=@"QUOTA_EXCEEDED", Value=16)] |
798 | + QUOTA_EXCEEDED = 16, |
799 | + |
800 | + [global::ProtoBuf.ProtoEnum(Name=@"INVALID_FILENAME", Value=17)] |
801 | + INVALID_FILENAME = 17, |
802 | + |
803 | + [global::ProtoBuf.ProtoEnum(Name=@"CANNOT_PRODUCE_DELTA", Value=18)] |
804 | + CANNOT_PRODUCE_DELTA = 18 |
805 | + } |
806 | + |
807 | + private global::ProtoBuf.IExtension extensionObject; |
808 | + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) |
809 | + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } |
810 | + } |
811 | + |
812 | + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"Protocol")] |
813 | + public partial class Protocol : global::ProtoBuf.IExtensible |
814 | + { |
815 | + public Protocol() {} |
816 | + |
817 | + private int _version; |
818 | + [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"version", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] |
819 | + public int version |
820 | + { |
821 | + get { return _version; } |
822 | + set { _version = value; } |
823 | + } |
824 | + private global::ProtoBuf.IExtension extensionObject; |
825 | + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) |
826 | + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } |
827 | + } |
828 | + |
829 | + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"AuthParameter")] |
830 | + public partial class AuthParameter : global::ProtoBuf.IExtensible |
831 | + { |
832 | + public AuthParameter() {} |
833 | + |
834 | + private string _name; |
835 | + [global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"name", DataFormat = global::ProtoBuf.DataFormat.Default)] |
836 | + public string name |
837 | + { |
838 | + get { return _name; } |
839 | + set { _name = value; } |
840 | + } |
841 | + private string _value; |
842 | + [global::ProtoBuf.ProtoMember(2, IsRequired = true, Name=@"value", DataFormat = global::ProtoBuf.DataFormat.Default)] |
843 | + public string value |
844 | + { |
845 | + get { return _value; } |
846 | + set { _value = value; } |
847 | + } |
848 | + private global::ProtoBuf.IExtension extensionObject; |
849 | + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) |
850 | + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } |
851 | + } |
852 | + |
853 | + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"Make")] |
854 | + public partial class Make : global::ProtoBuf.IExtensible |
855 | + { |
856 | + public Make() {} |
857 | + |
858 | + |
859 | + private byte[] _share = null; |
860 | + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"share", DataFormat = global::ProtoBuf.DataFormat.Default)] |
861 | + [global::System.ComponentModel.DefaultValue(null)] |
862 | + public byte[] share |
863 | + { |
864 | + get { return _share; } |
865 | + set { _share = value; } |
866 | + } |
867 | + |
868 | + private byte[] _parent_node = null; |
869 | + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"parent_node", DataFormat = global::ProtoBuf.DataFormat.Default)] |
870 | + [global::System.ComponentModel.DefaultValue(null)] |
871 | + public byte[] parent_node |
872 | + { |
873 | + get { return _parent_node; } |
874 | + set { _parent_node = value; } |
875 | + } |
876 | + |
877 | + private string _name = ""; |
878 | + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"name", DataFormat = global::ProtoBuf.DataFormat.Default)] |
879 | + [global::System.ComponentModel.DefaultValue("")] |
880 | + public string name |
881 | + { |
882 | + get { return _name; } |
883 | + set { _name = value; } |
884 | + } |
885 | + private global::ProtoBuf.IExtension extensionObject; |
886 | + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) |
887 | + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } |
888 | + } |
889 | + |
890 | + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"New")] |
891 | + public partial class New : global::ProtoBuf.IExtensible |
892 | + { |
893 | + public New() {} |
894 | + |
895 | + |
896 | + private byte[] _node = null; |
897 | + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"node", DataFormat = global::ProtoBuf.DataFormat.Default)] |
898 | + [global::System.ComponentModel.DefaultValue(null)] |
899 | + public byte[] node |
900 | + { |
901 | + get { return _node; } |
902 | + set { _node = value; } |
903 | + } |
904 | + |
905 | + private byte[] _parent_node = null; |
906 | + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"parent_node", DataFormat = global::ProtoBuf.DataFormat.Default)] |
907 | + [global::System.ComponentModel.DefaultValue(null)] |
908 | + public byte[] parent_node |
909 | + { |
910 | + get { return _parent_node; } |
911 | + set { _parent_node = value; } |
912 | + } |
913 | + |
914 | + private string _name = ""; |
915 | + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"name", DataFormat = global::ProtoBuf.DataFormat.Default)] |
916 | + [global::System.ComponentModel.DefaultValue("")] |
917 | + public string name |
918 | + { |
919 | + get { return _name; } |
920 | + set { _name = value; } |
921 | + } |
922 | + private global::ProtoBuf.IExtension extensionObject; |
923 | + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) |
924 | + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } |
925 | + } |
926 | + |
927 | + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"Root")] |
928 | + public partial class Root : global::ProtoBuf.IExtensible |
929 | + { |
930 | + public Root() {} |
931 | + |
932 | + |
933 | + private byte[] _node = null; |
934 | + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"node", DataFormat = global::ProtoBuf.DataFormat.Default)] |
935 | + [global::System.ComponentModel.DefaultValue(null)] |
936 | + public byte[] node |
937 | + { |
938 | + get { return _node; } |
939 | + set { _node = value; } |
940 | + } |
941 | + |
942 | + private ulong _generation = default(ulong); |
943 | + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"generation", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] |
944 | + [global::System.ComponentModel.DefaultValue(default(ulong))] |
945 | + public ulong generation |
946 | + { |
947 | + get { return _generation; } |
948 | + set { _generation = value; } |
949 | + } |
950 | + |
951 | + private ulong _free_bytes = default(ulong); |
952 | + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"free_bytes", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] |
953 | + [global::System.ComponentModel.DefaultValue(default(ulong))] |
954 | + public ulong free_bytes |
955 | + { |
956 | + get { return _free_bytes; } |
957 | + set { _free_bytes = value; } |
958 | + } |
959 | + private global::ProtoBuf.IExtension extensionObject; |
960 | + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) |
961 | + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } |
962 | + } |
963 | + |
964 | + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"Query")] |
965 | + public partial class Query : global::ProtoBuf.IExtensible |
966 | + { |
967 | + public Query() {} |
968 | + |
969 | + |
970 | + private byte[] _share = null; |
971 | + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"share", DataFormat = global::ProtoBuf.DataFormat.Default)] |
972 | + [global::System.ComponentModel.DefaultValue(null)] |
973 | + public byte[] share |
974 | + { |
975 | + get { return _share; } |
976 | + set { _share = value; } |
977 | + } |
978 | + |
979 | + private byte[] _node = null; |
980 | + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"node", DataFormat = global::ProtoBuf.DataFormat.Default)] |
981 | + [global::System.ComponentModel.DefaultValue(null)] |
982 | + public byte[] node |
983 | + { |
984 | + get { return _node; } |
985 | + set { _node = value; } |
986 | + } |
987 | + |
988 | + private byte[] _hash = null; |
989 | + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"hash", DataFormat = global::ProtoBuf.DataFormat.Default)] |
990 | + [global::System.ComponentModel.DefaultValue(null)] |
991 | + public byte[] hash |
992 | + { |
993 | + get { return _hash; } |
994 | + set { _hash = value; } |
995 | + } |
996 | + private global::ProtoBuf.IExtension extensionObject; |
997 | + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) |
998 | + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } |
999 | + } |
1000 | + |
1001 | + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"NodeState")] |
1002 | + public partial class NodeState : global::ProtoBuf.IExtensible |
1003 | + { |
1004 | + public NodeState() {} |
1005 | + |
1006 | + |
1007 | + private byte[] _share = null; |
1008 | + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"share", DataFormat = global::ProtoBuf.DataFormat.Default)] |
1009 | + [global::System.ComponentModel.DefaultValue(null)] |
1010 | + public byte[] share |
1011 | + { |
1012 | + get { return _share; } |
1013 | + set { _share = value; } |
1014 | + } |
1015 | + |
1016 | + private byte[] _node = null; |
1017 | + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"node", DataFormat = global::ProtoBuf.DataFormat.Default)] |
1018 | + [global::System.ComponentModel.DefaultValue(null)] |
1019 | + public byte[] node |
1020 | + { |
1021 | + get { return _node; } |
1022 | + set { _node = value; } |
1023 | + } |
1024 | + |
1025 | + private byte[] _hash = null; |
1026 | + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"hash", DataFormat = global::ProtoBuf.DataFormat.Default)] |
1027 | + [global::System.ComponentModel.DefaultValue(null)] |
1028 | + public byte[] hash |
1029 | + { |
1030 | + get { return _hash; } |
1031 | + set { _hash = value; } |
1032 | + } |
1033 | + private global::ProtoBuf.IExtension extensionObject; |
1034 | + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) |
1035 | + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } |
1036 | + } |
1037 | + |
1038 | + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetContent")] |
1039 | + public partial class GetContent : global::ProtoBuf.IExtensible |
1040 | + { |
1041 | + public GetContent() {} |
1042 | + |
1043 | + |
1044 | + private byte[] _share = null; |
1045 | + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"share", DataFormat = global::ProtoBuf.DataFormat.Default)] |
1046 | + [global::System.ComponentModel.DefaultValue(null)] |
1047 | + public byte[] share |
1048 | + { |
1049 | + get { return _share; } |
1050 | + set { _share = value; } |
1051 | + } |
1052 | + |
1053 | + private byte[] _node = null; |
1054 | + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"node", DataFormat = global::ProtoBuf.DataFormat.Default)] |
1055 | + [global::System.ComponentModel.DefaultValue(null)] |
1056 | + public byte[] node |
1057 | + { |
1058 | + get { return _node; } |
1059 | + set { _node = value; } |
1060 | + } |
1061 | + |
1062 | + private byte[] _hash = null; |
1063 | + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"hash", DataFormat = global::ProtoBuf.DataFormat.Default)] |
1064 | + [global::System.ComponentModel.DefaultValue(null)] |
1065 | + public byte[] hash |
1066 | + { |
1067 | + get { return _hash; } |
1068 | + set { _hash = value; } |
1069 | + } |
1070 | + |
1071 | + private long _offset = default(long); |
1072 | + [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"offset", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] |
1073 | + [global::System.ComponentModel.DefaultValue(default(long))] |
1074 | + public long offset |
1075 | + { |
1076 | + get { return _offset; } |
1077 | + set { _offset = value; } |
1078 | + } |
1079 | + private global::ProtoBuf.IExtension extensionObject; |
1080 | + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) |
1081 | + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } |
1082 | + } |
1083 | + |
1084 | + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CancelRequest")] |
1085 | + public partial class CancelRequest : global::ProtoBuf.IExtensible |
1086 | + { |
1087 | + public CancelRequest() {} |
1088 | + |
1089 | + private global::ProtoBuf.IExtension extensionObject; |
1090 | + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) |
1091 | + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } |
1092 | + } |
1093 | + |
1094 | + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"NodeAttr")] |
1095 | + public partial class NodeAttr : global::ProtoBuf.IExtensible |
1096 | + { |
1097 | + public NodeAttr() {} |
1098 | + |
1099 | + |
1100 | + private ulong _deflated_size = default(ulong); |
1101 | + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"deflated_size", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] |
1102 | + [global::System.ComponentModel.DefaultValue(default(ulong))] |
1103 | + public ulong deflated_size |
1104 | + { |
1105 | + get { return _deflated_size; } |
1106 | + set { _deflated_size = value; } |
1107 | + } |
1108 | + |
1109 | + private ulong _size = default(ulong); |
1110 | + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"size", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] |
1111 | + [global::System.ComponentModel.DefaultValue(default(ulong))] |
1112 | + public ulong size |
1113 | + { |
1114 | + get { return _size; } |
1115 | + set { _size = value; } |
1116 | + } |
1117 | + |
1118 | + private byte[] _hash = null; |
1119 | + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"hash", DataFormat = global::ProtoBuf.DataFormat.Default)] |
1120 | + [global::System.ComponentModel.DefaultValue(null)] |
1121 | + public byte[] hash |
1122 | + { |
1123 | + get { return _hash; } |
1124 | + set { _hash = value; } |
1125 | + } |
1126 | + |
1127 | + private uint _crc32 = default(uint); |
1128 | + [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"crc32", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] |
1129 | + [global::System.ComponentModel.DefaultValue(default(uint))] |
1130 | + public uint crc32 |
1131 | + { |
1132 | + get { return _crc32; } |
1133 | + set { _crc32 = value; } |
1134 | + } |
1135 | + private global::ProtoBuf.IExtension extensionObject; |
1136 | + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) |
1137 | + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } |
1138 | + } |
1139 | + |
1140 | + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"Bytes")] |
1141 | + public partial class Bytes : global::ProtoBuf.IExtensible |
1142 | + { |
1143 | + public Bytes() {} |
1144 | + |
1145 | + |
1146 | + private byte[] _bytes = null; |
1147 | + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"bytes", DataFormat = global::ProtoBuf.DataFormat.Default)] |
1148 | + [global::System.ComponentModel.DefaultValue(null)] |
1149 | + public byte[] bytes |
1150 | + { |
1151 | + get { return _bytes; } |
1152 | + set { _bytes = value; } |
1153 | + } |
1154 | + private global::ProtoBuf.IExtension extensionObject; |
1155 | + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) |
1156 | + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } |
1157 | + } |
1158 | + |
1159 | + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"PutContent")] |
1160 | + public partial class PutContent : global::ProtoBuf.IExtensible |
1161 | + { |
1162 | + public PutContent() {} |
1163 | + |
1164 | + |
1165 | + private byte[] _share = null; |
1166 | + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"share", DataFormat = global::ProtoBuf.DataFormat.Default)] |
1167 | + [global::System.ComponentModel.DefaultValue(null)] |
1168 | + public byte[] share |
1169 | + { |
1170 | + get { return _share; } |
1171 | + set { _share = value; } |
1172 | + } |
1173 | + |
1174 | + private byte[] _node = null; |
1175 | + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"node", DataFormat = global::ProtoBuf.DataFormat.Default)] |
1176 | + [global::System.ComponentModel.DefaultValue(null)] |
1177 | + public byte[] node |
1178 | + { |
1179 | + get { return _node; } |
1180 | + set { _node = value; } |
1181 | + } |
1182 | + |
1183 | + private byte[] _previous_hash = null; |
1184 | + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"previous_hash", DataFormat = global::ProtoBuf.DataFormat.Default)] |
1185 | + [global::System.ComponentModel.DefaultValue(null)] |
1186 | + public byte[] previous_hash |
1187 | + { |
1188 | + get { return _previous_hash; } |
1189 | + set { _previous_hash = value; } |
1190 | + } |
1191 | + |
1192 | + private byte[] _hash = null; |
1193 | + [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"hash", DataFormat = global::ProtoBuf.DataFormat.Default)] |
1194 | + [global::System.ComponentModel.DefaultValue(null)] |
1195 | + public byte[] hash |
1196 | + { |
1197 | + get { return _hash; } |
1198 | + set { _hash = value; } |
1199 | + } |
1200 | + |
1201 | + private uint _crc32 = default(uint); |
1202 | + [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"crc32", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] |
1203 | + [global::System.ComponentModel.DefaultValue(default(uint))] |
1204 | + public uint crc32 |
1205 | + { |
1206 | + get { return _crc32; } |
1207 | + set { _crc32 = value; } |
1208 | + } |
1209 | + |
1210 | + private ulong _size = default(ulong); |
1211 | + [global::ProtoBuf.ProtoMember(6, IsRequired = false, Name=@"size", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] |
1212 | + [global::System.ComponentModel.DefaultValue(default(ulong))] |
1213 | + public ulong size |
1214 | + { |
1215 | + get { return _size; } |
1216 | + set { _size = value; } |
1217 | + } |
1218 | + |
1219 | + private ulong _deflated_size = default(ulong); |
1220 | + [global::ProtoBuf.ProtoMember(7, IsRequired = false, Name=@"deflated_size", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] |
1221 | + [global::System.ComponentModel.DefaultValue(default(ulong))] |
1222 | + public ulong deflated_size |
1223 | + { |
1224 | + get { return _deflated_size; } |
1225 | + set { _deflated_size = value; } |
1226 | + } |
1227 | + private global::ProtoBuf.IExtension extensionObject; |
1228 | + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) |
1229 | + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } |
1230 | + } |
1231 | + |
1232 | + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"BeginContent")] |
1233 | + public partial class BeginContent : global::ProtoBuf.IExtensible |
1234 | + { |
1235 | + public BeginContent() {} |
1236 | + |
1237 | + |
1238 | + private ulong _offset = default(ulong); |
1239 | + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"offset", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] |
1240 | + [global::System.ComponentModel.DefaultValue(default(ulong))] |
1241 | + public ulong offset |
1242 | + { |
1243 | + get { return _offset; } |
1244 | + set { _offset = value; } |
1245 | + } |
1246 | + private global::ProtoBuf.IExtension extensionObject; |
1247 | + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) |
1248 | + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } |
1249 | + } |
1250 | + |
1251 | + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"UploadInProgress")] |
1252 | + public partial class UploadInProgress : global::ProtoBuf.IExtensible |
1253 | + { |
1254 | + public UploadInProgress() {} |
1255 | + |
1256 | + |
1257 | + private byte[] _upload = null; |
1258 | + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"upload", DataFormat = global::ProtoBuf.DataFormat.Default)] |
1259 | + [global::System.ComponentModel.DefaultValue(null)] |
1260 | + public byte[] upload |
1261 | + { |
1262 | + get { return _upload; } |
1263 | + set { _upload = value; } |
1264 | + } |
1265 | + |
1266 | + private int _timestamp = default(int); |
1267 | + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"timestamp", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] |
1268 | + [global::System.ComponentModel.DefaultValue(default(int))] |
1269 | + public int timestamp |
1270 | + { |
1271 | + get { return _timestamp; } |
1272 | + set { _timestamp = value; } |
1273 | + } |
1274 | + private global::ProtoBuf.IExtension extensionObject; |
1275 | + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) |
1276 | + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } |
1277 | + } |
1278 | + |
1279 | + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"Move")] |
1280 | + public partial class Move : global::ProtoBuf.IExtensible |
1281 | + { |
1282 | + public Move() {} |
1283 | + |
1284 | + |
1285 | + private byte[] _share = null; |
1286 | + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"share", DataFormat = global::ProtoBuf.DataFormat.Default)] |
1287 | + [global::System.ComponentModel.DefaultValue(null)] |
1288 | + public byte[] share |
1289 | + { |
1290 | + get { return _share; } |
1291 | + set { _share = value; } |
1292 | + } |
1293 | + |
1294 | + private byte[] _node = null; |
1295 | + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"node", DataFormat = global::ProtoBuf.DataFormat.Default)] |
1296 | + [global::System.ComponentModel.DefaultValue(null)] |
1297 | + public byte[] node |
1298 | + { |
1299 | + get { return _node; } |
1300 | + set { _node = value; } |
1301 | + } |
1302 | + |
1303 | + private byte[] _new_parent_node = null; |
1304 | + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"new_parent_node", DataFormat = global::ProtoBuf.DataFormat.Default)] |
1305 | + [global::System.ComponentModel.DefaultValue(null)] |
1306 | + public byte[] new_parent_node |
1307 | + { |
1308 | + get { return _new_parent_node; } |
1309 | + set { _new_parent_node = value; } |
1310 | + } |
1311 | + |
1312 | + private string _new_name = ""; |
1313 | + [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"new_name", DataFormat = global::ProtoBuf.DataFormat.Default)] |
1314 | + [global::System.ComponentModel.DefaultValue("")] |
1315 | + public string new_name |
1316 | + { |
1317 | + get { return _new_name; } |
1318 | + set { _new_name = value; } |
1319 | + } |
1320 | + private global::ProtoBuf.IExtension extensionObject; |
1321 | + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) |
1322 | + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } |
1323 | + } |
1324 | + |
1325 | + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"Unlink")] |
1326 | + public partial class Unlink : global::ProtoBuf.IExtensible |
1327 | + { |
1328 | + public Unlink() {} |
1329 | + |
1330 | + |
1331 | + private byte[] _share = null; |
1332 | + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"share", DataFormat = global::ProtoBuf.DataFormat.Default)] |
1333 | + [global::System.ComponentModel.DefaultValue(null)] |
1334 | + public byte[] share |
1335 | + { |
1336 | + get { return _share; } |
1337 | + set { _share = value; } |
1338 | + } |
1339 | + |
1340 | + private byte[] _node = null; |
1341 | + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"node", DataFormat = global::ProtoBuf.DataFormat.Default)] |
1342 | + [global::System.ComponentModel.DefaultValue(null)] |
1343 | + public byte[] node |
1344 | + { |
1345 | + get { return _node; } |
1346 | + set { _node = value; } |
1347 | + } |
1348 | + private global::ProtoBuf.IExtension extensionObject; |
1349 | + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) |
1350 | + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } |
1351 | + } |
1352 | + |
1353 | + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CreateShare")] |
1354 | + public partial class CreateShare : global::ProtoBuf.IExtensible |
1355 | + { |
1356 | + public CreateShare() {} |
1357 | + |
1358 | + |
1359 | + private byte[] _node = null; |
1360 | + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"node", DataFormat = global::ProtoBuf.DataFormat.Default)] |
1361 | + [global::System.ComponentModel.DefaultValue(null)] |
1362 | + public byte[] node |
1363 | + { |
1364 | + get { return _node; } |
1365 | + set { _node = value; } |
1366 | + } |
1367 | + |
1368 | + private string _share_to = ""; |
1369 | + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"share_to", DataFormat = global::ProtoBuf.DataFormat.Default)] |
1370 | + [global::System.ComponentModel.DefaultValue("")] |
1371 | + public string share_to |
1372 | + { |
1373 | + get { return _share_to; } |
1374 | + set { _share_to = value; } |
1375 | + } |
1376 | + |
1377 | + private string _name = ""; |
1378 | + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"name", DataFormat = global::ProtoBuf.DataFormat.Default)] |
1379 | + [global::System.ComponentModel.DefaultValue("")] |
1380 | + public string name |
1381 | + { |
1382 | + get { return _name; } |
1383 | + set { _name = value; } |
1384 | + } |
1385 | + |
1386 | + private ubuntuone.storageprotocol.CreateShare.AccessLevel _access_level = ubuntuone.storageprotocol.CreateShare.AccessLevel.VIEW; |
1387 | + [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"access_level", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] |
1388 | + [global::System.ComponentModel.DefaultValue(ubuntuone.storageprotocol.CreateShare.AccessLevel.VIEW)] |
1389 | + public ubuntuone.storageprotocol.CreateShare.AccessLevel access_level |
1390 | + { |
1391 | + get { return _access_level; } |
1392 | + set { _access_level = value; } |
1393 | + } |
1394 | + [global::ProtoBuf.ProtoContract(Name=@"AccessLevel")] |
1395 | + public enum AccessLevel |
1396 | + { |
1397 | + |
1398 | + [global::ProtoBuf.ProtoEnum(Name=@"VIEW", Value=0)] |
1399 | + VIEW = 0, |
1400 | + |
1401 | + [global::ProtoBuf.ProtoEnum(Name=@"MODIFY", Value=1)] |
1402 | + MODIFY = 1 |
1403 | + } |
1404 | + |
1405 | + private global::ProtoBuf.IExtension extensionObject; |
1406 | + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) |
1407 | + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } |
1408 | + } |
1409 | + |
1410 | + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"Shares")] |
1411 | + public partial class Shares : global::ProtoBuf.IExtensible |
1412 | + { |
1413 | + public Shares() {} |
1414 | + |
1415 | + |
1416 | + private byte[] _share_id = null; |
1417 | + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"share_id", DataFormat = global::ProtoBuf.DataFormat.Default)] |
1418 | + [global::System.ComponentModel.DefaultValue(null)] |
1419 | + public byte[] share_id |
1420 | + { |
1421 | + get { return _share_id; } |
1422 | + set { _share_id = value; } |
1423 | + } |
1424 | + |
1425 | + private ubuntuone.storageprotocol.Shares.Direction _direction = ubuntuone.storageprotocol.Shares.Direction.TO_ME; |
1426 | + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"direction", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] |
1427 | + [global::System.ComponentModel.DefaultValue(ubuntuone.storageprotocol.Shares.Direction.TO_ME)] |
1428 | + public ubuntuone.storageprotocol.Shares.Direction direction |
1429 | + { |
1430 | + get { return _direction; } |
1431 | + set { _direction = value; } |
1432 | + } |
1433 | + |
1434 | + private byte[] _subtree = null; |
1435 | + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"subtree", DataFormat = global::ProtoBuf.DataFormat.Default)] |
1436 | + [global::System.ComponentModel.DefaultValue(null)] |
1437 | + public byte[] subtree |
1438 | + { |
1439 | + get { return _subtree; } |
1440 | + set { _subtree = value; } |
1441 | + } |
1442 | + |
1443 | + private string _share_name = ""; |
1444 | + [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"share_name", DataFormat = global::ProtoBuf.DataFormat.Default)] |
1445 | + [global::System.ComponentModel.DefaultValue("")] |
1446 | + public string share_name |
1447 | + { |
1448 | + get { return _share_name; } |
1449 | + set { _share_name = value; } |
1450 | + } |
1451 | + |
1452 | + private string _other_username = ""; |
1453 | + [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"other_username", DataFormat = global::ProtoBuf.DataFormat.Default)] |
1454 | + [global::System.ComponentModel.DefaultValue("")] |
1455 | + public string other_username |
1456 | + { |
1457 | + get { return _other_username; } |
1458 | + set { _other_username = value; } |
1459 | + } |
1460 | + |
1461 | + private string _other_visible_name = ""; |
1462 | + [global::ProtoBuf.ProtoMember(6, IsRequired = false, Name=@"other_visible_name", DataFormat = global::ProtoBuf.DataFormat.Default)] |
1463 | + [global::System.ComponentModel.DefaultValue("")] |
1464 | + public string other_visible_name |
1465 | + { |
1466 | + get { return _other_visible_name; } |
1467 | + set { _other_visible_name = value; } |
1468 | + } |
1469 | + |
1470 | + private bool _accepted = default(bool); |
1471 | + [global::ProtoBuf.ProtoMember(7, IsRequired = false, Name=@"accepted", DataFormat = global::ProtoBuf.DataFormat.Default)] |
1472 | + [global::System.ComponentModel.DefaultValue(default(bool))] |
1473 | + public bool accepted |
1474 | + { |
1475 | + get { return _accepted; } |
1476 | + set { _accepted = value; } |
1477 | + } |
1478 | + |
1479 | + private ubuntuone.storageprotocol.Shares.AccessLevel _access_level = ubuntuone.storageprotocol.Shares.AccessLevel.VIEW; |
1480 | + [global::ProtoBuf.ProtoMember(8, IsRequired = false, Name=@"access_level", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] |
1481 | + [global::System.ComponentModel.DefaultValue(ubuntuone.storageprotocol.Shares.AccessLevel.VIEW)] |
1482 | + public ubuntuone.storageprotocol.Shares.AccessLevel access_level |
1483 | + { |
1484 | + get { return _access_level; } |
1485 | + set { _access_level = value; } |
1486 | + } |
1487 | + |
1488 | + private ulong _generation = default(ulong); |
1489 | + [global::ProtoBuf.ProtoMember(9, IsRequired = false, Name=@"generation", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] |
1490 | + [global::System.ComponentModel.DefaultValue(default(ulong))] |
1491 | + public ulong generation |
1492 | + { |
1493 | + get { return _generation; } |
1494 | + set { _generation = value; } |
1495 | + } |
1496 | + |
1497 | + private ulong _free_bytes = default(ulong); |
1498 | + [global::ProtoBuf.ProtoMember(10, IsRequired = false, Name=@"free_bytes", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] |
1499 | + [global::System.ComponentModel.DefaultValue(default(ulong))] |
1500 | + public ulong free_bytes |
1501 | + { |
1502 | + get { return _free_bytes; } |
1503 | + set { _free_bytes = value; } |
1504 | + } |
1505 | + |
1506 | + private byte[] _subtree_volume_id = null; |
1507 | + [global::ProtoBuf.ProtoMember(11, IsRequired = false, Name=@"subtree_volume_id", DataFormat = global::ProtoBuf.DataFormat.Default)] |
1508 | + [global::System.ComponentModel.DefaultValue(null)] |
1509 | + public byte[] subtree_volume_id |
1510 | + { |
1511 | + get { return _subtree_volume_id; } |
1512 | + set { _subtree_volume_id = value; } |
1513 | + } |
1514 | + [global::ProtoBuf.ProtoContract(Name=@"Direction")] |
1515 | + public enum Direction |
1516 | + { |
1517 | + |
1518 | + [global::ProtoBuf.ProtoEnum(Name=@"TO_ME", Value=0)] |
1519 | + TO_ME = 0, |
1520 | + |
1521 | + [global::ProtoBuf.ProtoEnum(Name=@"FROM_ME", Value=1)] |
1522 | + FROM_ME = 1 |
1523 | + } |
1524 | + |
1525 | + [global::ProtoBuf.ProtoContract(Name=@"AccessLevel")] |
1526 | + public enum AccessLevel |
1527 | + { |
1528 | + |
1529 | + [global::ProtoBuf.ProtoEnum(Name=@"VIEW", Value=0)] |
1530 | + VIEW = 0, |
1531 | + |
1532 | + [global::ProtoBuf.ProtoEnum(Name=@"MODIFY", Value=1)] |
1533 | + MODIFY = 1 |
1534 | + } |
1535 | + |
1536 | + private global::ProtoBuf.IExtension extensionObject; |
1537 | + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) |
1538 | + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } |
1539 | + } |
1540 | + |
1541 | + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"NotifyShare")] |
1542 | + public partial class NotifyShare : global::ProtoBuf.IExtensible |
1543 | + { |
1544 | + public NotifyShare() {} |
1545 | + |
1546 | + |
1547 | + private string _share_id = ""; |
1548 | + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"share_id", DataFormat = global::ProtoBuf.DataFormat.Default)] |
1549 | + [global::System.ComponentModel.DefaultValue("")] |
1550 | + public string share_id |
1551 | + { |
1552 | + get { return _share_id; } |
1553 | + set { _share_id = value; } |
1554 | + } |
1555 | + |
1556 | + private string _subtree = ""; |
1557 | + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"subtree", DataFormat = global::ProtoBuf.DataFormat.Default)] |
1558 | + [global::System.ComponentModel.DefaultValue("")] |
1559 | + public string subtree |
1560 | + { |
1561 | + get { return _subtree; } |
1562 | + set { _subtree = value; } |
1563 | + } |
1564 | + |
1565 | + private string _share_name = ""; |
1566 | + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"share_name", DataFormat = global::ProtoBuf.DataFormat.Default)] |
1567 | + [global::System.ComponentModel.DefaultValue("")] |
1568 | + public string share_name |
1569 | + { |
1570 | + get { return _share_name; } |
1571 | + set { _share_name = value; } |
1572 | + } |
1573 | + |
1574 | + private string _from_username = ""; |
1575 | + [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"from_username", DataFormat = global::ProtoBuf.DataFormat.Default)] |
1576 | + [global::System.ComponentModel.DefaultValue("")] |
1577 | + public string from_username |
1578 | + { |
1579 | + get { return _from_username; } |
1580 | + set { _from_username = value; } |
1581 | + } |
1582 | + |
1583 | + private string _from_visible_name = ""; |
1584 | + [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"from_visible_name", DataFormat = global::ProtoBuf.DataFormat.Default)] |
1585 | + [global::System.ComponentModel.DefaultValue("")] |
1586 | + public string from_visible_name |
1587 | + { |
1588 | + get { return _from_visible_name; } |
1589 | + set { _from_visible_name = value; } |
1590 | + } |
1591 | + |
1592 | + private ubuntuone.storageprotocol.NotifyShare.AccessLevel _access_level = ubuntuone.storageprotocol.NotifyShare.AccessLevel.VIEW; |
1593 | + [global::ProtoBuf.ProtoMember(6, IsRequired = false, Name=@"access_level", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] |
1594 | + [global::System.ComponentModel.DefaultValue(ubuntuone.storageprotocol.NotifyShare.AccessLevel.VIEW)] |
1595 | + public ubuntuone.storageprotocol.NotifyShare.AccessLevel access_level |
1596 | + { |
1597 | + get { return _access_level; } |
1598 | + set { _access_level = value; } |
1599 | + } |
1600 | + [global::ProtoBuf.ProtoContract(Name=@"AccessLevel")] |
1601 | + public enum AccessLevel |
1602 | + { |
1603 | + |
1604 | + [global::ProtoBuf.ProtoEnum(Name=@"VIEW", Value=0)] |
1605 | + VIEW = 0, |
1606 | + |
1607 | + [global::ProtoBuf.ProtoEnum(Name=@"MODIFY", Value=1)] |
1608 | + MODIFY = 1 |
1609 | + } |
1610 | + |
1611 | + private global::ProtoBuf.IExtension extensionObject; |
1612 | + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) |
1613 | + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } |
1614 | + } |
1615 | + |
1616 | + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"ShareAccepted")] |
1617 | + public partial class ShareAccepted : global::ProtoBuf.IExtensible |
1618 | + { |
1619 | + public ShareAccepted() {} |
1620 | + |
1621 | + |
1622 | + private string _share_id = ""; |
1623 | + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"share_id", DataFormat = global::ProtoBuf.DataFormat.Default)] |
1624 | + [global::System.ComponentModel.DefaultValue("")] |
1625 | + public string share_id |
1626 | + { |
1627 | + get { return _share_id; } |
1628 | + set { _share_id = value; } |
1629 | + } |
1630 | + |
1631 | + private ubuntuone.storageprotocol.ShareAccepted.Answer _answer = ubuntuone.storageprotocol.ShareAccepted.Answer.YES; |
1632 | + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"answer", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] |
1633 | + [global::System.ComponentModel.DefaultValue(ubuntuone.storageprotocol.ShareAccepted.Answer.YES)] |
1634 | + public ubuntuone.storageprotocol.ShareAccepted.Answer answer |
1635 | + { |
1636 | + get { return _answer; } |
1637 | + set { _answer = value; } |
1638 | + } |
1639 | + [global::ProtoBuf.ProtoContract(Name=@"Answer")] |
1640 | + public enum Answer |
1641 | + { |
1642 | + |
1643 | + [global::ProtoBuf.ProtoEnum(Name=@"YES", Value=0)] |
1644 | + YES = 0, |
1645 | + |
1646 | + [global::ProtoBuf.ProtoEnum(Name=@"NO", Value=1)] |
1647 | + NO = 1 |
1648 | + } |
1649 | + |
1650 | + private global::ProtoBuf.IExtension extensionObject; |
1651 | + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) |
1652 | + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } |
1653 | + } |
1654 | + |
1655 | + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"ShareDeleted")] |
1656 | + public partial class ShareDeleted : global::ProtoBuf.IExtensible |
1657 | + { |
1658 | + public ShareDeleted() {} |
1659 | + |
1660 | + |
1661 | + private string _share_id = ""; |
1662 | + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"share_id", DataFormat = global::ProtoBuf.DataFormat.Default)] |
1663 | + [global::System.ComponentModel.DefaultValue("")] |
1664 | + public string share_id |
1665 | + { |
1666 | + get { return _share_id; } |
1667 | + set { _share_id = value; } |
1668 | + } |
1669 | + private global::ProtoBuf.IExtension extensionObject; |
1670 | + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) |
1671 | + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } |
1672 | + } |
1673 | + |
1674 | + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"ShareCreated")] |
1675 | + public partial class ShareCreated : global::ProtoBuf.IExtensible |
1676 | + { |
1677 | + public ShareCreated() {} |
1678 | + |
1679 | + |
1680 | + private string _share_id = ""; |
1681 | + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"share_id", DataFormat = global::ProtoBuf.DataFormat.Default)] |
1682 | + [global::System.ComponentModel.DefaultValue("")] |
1683 | + public string share_id |
1684 | + { |
1685 | + get { return _share_id; } |
1686 | + set { _share_id = value; } |
1687 | + } |
1688 | + private global::ProtoBuf.IExtension extensionObject; |
1689 | + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) |
1690 | + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } |
1691 | + } |
1692 | + |
1693 | + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"DeleteShare")] |
1694 | + public partial class DeleteShare : global::ProtoBuf.IExtensible |
1695 | + { |
1696 | + public DeleteShare() {} |
1697 | + |
1698 | + |
1699 | + private string _share_id = ""; |
1700 | + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"share_id", DataFormat = global::ProtoBuf.DataFormat.Default)] |
1701 | + [global::System.ComponentModel.DefaultValue("")] |
1702 | + public string share_id |
1703 | + { |
1704 | + get { return _share_id; } |
1705 | + set { _share_id = value; } |
1706 | + } |
1707 | + private global::ProtoBuf.IExtension extensionObject; |
1708 | + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) |
1709 | + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } |
1710 | + } |
1711 | + |
1712 | + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"CreateUDF")] |
1713 | + public partial class CreateUDF : global::ProtoBuf.IExtensible |
1714 | + { |
1715 | + public CreateUDF() {} |
1716 | + |
1717 | + |
1718 | + private string _path = ""; |
1719 | + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"path", DataFormat = global::ProtoBuf.DataFormat.Default)] |
1720 | + [global::System.ComponentModel.DefaultValue("")] |
1721 | + public string path |
1722 | + { |
1723 | + get { return _path; } |
1724 | + set { _path = value; } |
1725 | + } |
1726 | + |
1727 | + private string _name = ""; |
1728 | + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"name", DataFormat = global::ProtoBuf.DataFormat.Default)] |
1729 | + [global::System.ComponentModel.DefaultValue("")] |
1730 | + public string name |
1731 | + { |
1732 | + get { return _name; } |
1733 | + set { _name = value; } |
1734 | + } |
1735 | + private global::ProtoBuf.IExtension extensionObject; |
1736 | + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) |
1737 | + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } |
1738 | + } |
1739 | + |
1740 | + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"UDFs")] |
1741 | + public partial class UDFs : global::ProtoBuf.IExtensible |
1742 | + { |
1743 | + public UDFs() {} |
1744 | + |
1745 | + |
1746 | + private byte[] _volume = null; |
1747 | + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"volume", DataFormat = global::ProtoBuf.DataFormat.Default)] |
1748 | + [global::System.ComponentModel.DefaultValue(null)] |
1749 | + public byte[] volume |
1750 | + { |
1751 | + get { return _volume; } |
1752 | + set { _volume = value; } |
1753 | + } |
1754 | + |
1755 | + private byte[] _node = null; |
1756 | + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"node", DataFormat = global::ProtoBuf.DataFormat.Default)] |
1757 | + [global::System.ComponentModel.DefaultValue(null)] |
1758 | + public byte[] node |
1759 | + { |
1760 | + get { return _node; } |
1761 | + set { _node = value; } |
1762 | + } |
1763 | + |
1764 | + private string _suggested_path = ""; |
1765 | + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"suggested_path", DataFormat = global::ProtoBuf.DataFormat.Default)] |
1766 | + [global::System.ComponentModel.DefaultValue("")] |
1767 | + public string suggested_path |
1768 | + { |
1769 | + get { return _suggested_path; } |
1770 | + set { _suggested_path = value; } |
1771 | + } |
1772 | + |
1773 | + private ulong _generation = default(ulong); |
1774 | + [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"generation", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] |
1775 | + [global::System.ComponentModel.DefaultValue(default(ulong))] |
1776 | + public ulong generation |
1777 | + { |
1778 | + get { return _generation; } |
1779 | + set { _generation = value; } |
1780 | + } |
1781 | + |
1782 | + private ulong _free_bytes = default(ulong); |
1783 | + [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"free_bytes", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] |
1784 | + [global::System.ComponentModel.DefaultValue(default(ulong))] |
1785 | + public ulong free_bytes |
1786 | + { |
1787 | + get { return _free_bytes; } |
1788 | + set { _free_bytes = value; } |
1789 | + } |
1790 | + private global::ProtoBuf.IExtension extensionObject; |
1791 | + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) |
1792 | + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } |
1793 | + } |
1794 | + |
1795 | + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"VolumeDeleted")] |
1796 | + public partial class VolumeDeleted : global::ProtoBuf.IExtensible |
1797 | + { |
1798 | + public VolumeDeleted() {} |
1799 | + |
1800 | + |
1801 | + private byte[] _volume = null; |
1802 | + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"volume", DataFormat = global::ProtoBuf.DataFormat.Default)] |
1803 | + [global::System.ComponentModel.DefaultValue(null)] |
1804 | + public byte[] volume |
1805 | + { |
1806 | + get { return _volume; } |
1807 | + set { _volume = value; } |
1808 | + } |
1809 | + private global::ProtoBuf.IExtension extensionObject; |
1810 | + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) |
1811 | + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } |
1812 | + } |
1813 | + |
1814 | + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"DeleteVolume")] |
1815 | + public partial class DeleteVolume : global::ProtoBuf.IExtensible |
1816 | + { |
1817 | + public DeleteVolume() {} |
1818 | + |
1819 | + |
1820 | + private byte[] _volume = null; |
1821 | + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"volume", DataFormat = global::ProtoBuf.DataFormat.Default)] |
1822 | + [global::System.ComponentModel.DefaultValue(null)] |
1823 | + public byte[] volume |
1824 | + { |
1825 | + get { return _volume; } |
1826 | + set { _volume = value; } |
1827 | + } |
1828 | + private global::ProtoBuf.IExtension extensionObject; |
1829 | + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) |
1830 | + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } |
1831 | + } |
1832 | + |
1833 | + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"Volumes")] |
1834 | + public partial class Volumes : global::ProtoBuf.IExtensible |
1835 | + { |
1836 | + public Volumes() {} |
1837 | + |
1838 | + |
1839 | + private ubuntuone.storageprotocol.Volumes.VolumeType _type = ubuntuone.storageprotocol.Volumes.VolumeType.ROOT; |
1840 | + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"type", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] |
1841 | + [global::System.ComponentModel.DefaultValue(ubuntuone.storageprotocol.Volumes.VolumeType.ROOT)] |
1842 | + public ubuntuone.storageprotocol.Volumes.VolumeType type |
1843 | + { |
1844 | + get { return _type; } |
1845 | + set { _type = value; } |
1846 | + } |
1847 | + |
1848 | + private ubuntuone.storageprotocol.Root _root = null; |
1849 | + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"root", DataFormat = global::ProtoBuf.DataFormat.Default)] |
1850 | + [global::System.ComponentModel.DefaultValue(null)] |
1851 | + public ubuntuone.storageprotocol.Root root |
1852 | + { |
1853 | + get { return _root; } |
1854 | + set { _root = value; } |
1855 | + } |
1856 | + |
1857 | + private ubuntuone.storageprotocol.UDFs _udf = null; |
1858 | + [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"udf", DataFormat = global::ProtoBuf.DataFormat.Default)] |
1859 | + [global::System.ComponentModel.DefaultValue(null)] |
1860 | + public ubuntuone.storageprotocol.UDFs udf |
1861 | + { |
1862 | + get { return _udf; } |
1863 | + set { _udf = value; } |
1864 | + } |
1865 | + |
1866 | + private ubuntuone.storageprotocol.Shares _share = null; |
1867 | + [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"share", DataFormat = global::ProtoBuf.DataFormat.Default)] |
1868 | + [global::System.ComponentModel.DefaultValue(null)] |
1869 | + public ubuntuone.storageprotocol.Shares share |
1870 | + { |
1871 | + get { return _share; } |
1872 | + set { _share = value; } |
1873 | + } |
1874 | + [global::ProtoBuf.ProtoContract(Name=@"VolumeType")] |
1875 | + public enum VolumeType |
1876 | + { |
1877 | + |
1878 | + [global::ProtoBuf.ProtoEnum(Name=@"ROOT", Value=1)] |
1879 | + ROOT = 1, |
1880 | + |
1881 | + [global::ProtoBuf.ProtoEnum(Name=@"SHARE", Value=2)] |
1882 | + SHARE = 2, |
1883 | + |
1884 | + [global::ProtoBuf.ProtoEnum(Name=@"UDF", Value=3)] |
1885 | + UDF = 3 |
1886 | + } |
1887 | + |
1888 | + private global::ProtoBuf.IExtension extensionObject; |
1889 | + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) |
1890 | + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } |
1891 | + } |
1892 | + |
1893 | + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"QueryCaps")] |
1894 | + public partial class QueryCaps : global::ProtoBuf.IExtensible |
1895 | + { |
1896 | + public QueryCaps() {} |
1897 | + |
1898 | + |
1899 | + private string _capability = ""; |
1900 | + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"capability", DataFormat = global::ProtoBuf.DataFormat.Default)] |
1901 | + [global::System.ComponentModel.DefaultValue("")] |
1902 | + public string capability |
1903 | + { |
1904 | + get { return _capability; } |
1905 | + set { _capability = value; } |
1906 | + } |
1907 | + private global::ProtoBuf.IExtension extensionObject; |
1908 | + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) |
1909 | + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } |
1910 | + } |
1911 | + |
1912 | + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"SetCaps")] |
1913 | + public partial class SetCaps : global::ProtoBuf.IExtensible |
1914 | + { |
1915 | + public SetCaps() {} |
1916 | + |
1917 | + |
1918 | + private string _capability = ""; |
1919 | + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"capability", DataFormat = global::ProtoBuf.DataFormat.Default)] |
1920 | + [global::System.ComponentModel.DefaultValue("")] |
1921 | + public string capability |
1922 | + { |
1923 | + get { return _capability; } |
1924 | + set { _capability = value; } |
1925 | + } |
1926 | + private global::ProtoBuf.IExtension extensionObject; |
1927 | + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) |
1928 | + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } |
1929 | + } |
1930 | + |
1931 | + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"AcceptCaps")] |
1932 | + public partial class AcceptCaps : global::ProtoBuf.IExtensible |
1933 | + { |
1934 | + public AcceptCaps() {} |
1935 | + |
1936 | + |
1937 | + private bool _accepted = default(bool); |
1938 | + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"accepted", DataFormat = global::ProtoBuf.DataFormat.Default)] |
1939 | + [global::System.ComponentModel.DefaultValue(default(bool))] |
1940 | + public bool accepted |
1941 | + { |
1942 | + get { return _accepted; } |
1943 | + set { _accepted = value; } |
1944 | + } |
1945 | + |
1946 | + private string _redirect_hostname = ""; |
1947 | + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"redirect_hostname", DataFormat = global::ProtoBuf.DataFormat.Default)] |
1948 | + [global::System.ComponentModel.DefaultValue("")] |
1949 | + public string redirect_hostname |
1950 | + { |
1951 | + get { return _redirect_hostname; } |
1952 | + set { _redirect_hostname = value; } |
1953 | + } |
1954 | + |
1955 | + private string _redirect_port = ""; |
1956 | + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"redirect_port", DataFormat = global::ProtoBuf.DataFormat.Default)] |
1957 | + [global::System.ComponentModel.DefaultValue("")] |
1958 | + public string redirect_port |
1959 | + { |
1960 | + get { return _redirect_port; } |
1961 | + set { _redirect_port = value; } |
1962 | + } |
1963 | + |
1964 | + private string _redirect_srvrecord = ""; |
1965 | + [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"redirect_srvrecord", DataFormat = global::ProtoBuf.DataFormat.Default)] |
1966 | + [global::System.ComponentModel.DefaultValue("")] |
1967 | + public string redirect_srvrecord |
1968 | + { |
1969 | + get { return _redirect_srvrecord; } |
1970 | + set { _redirect_srvrecord = value; } |
1971 | + } |
1972 | + private global::ProtoBuf.IExtension extensionObject; |
1973 | + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) |
1974 | + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } |
1975 | + } |
1976 | + |
1977 | + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"FreeSpaceInfo")] |
1978 | + public partial class FreeSpaceInfo : global::ProtoBuf.IExtensible |
1979 | + { |
1980 | + public FreeSpaceInfo() {} |
1981 | + |
1982 | + |
1983 | + private string _share_id = ""; |
1984 | + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"share_id", DataFormat = global::ProtoBuf.DataFormat.Default)] |
1985 | + [global::System.ComponentModel.DefaultValue("")] |
1986 | + public string share_id |
1987 | + { |
1988 | + get { return _share_id; } |
1989 | + set { _share_id = value; } |
1990 | + } |
1991 | + |
1992 | + private ulong _free_bytes = default(ulong); |
1993 | + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"free_bytes", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] |
1994 | + [global::System.ComponentModel.DefaultValue(default(ulong))] |
1995 | + public ulong free_bytes |
1996 | + { |
1997 | + get { return _free_bytes; } |
1998 | + set { _free_bytes = value; } |
1999 | + } |
2000 | + private global::ProtoBuf.IExtension extensionObject; |
2001 | + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) |
2002 | + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } |
2003 | + } |
2004 | + |
2005 | + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"FreeSpaceInquiry")] |
2006 | + public partial class FreeSpaceInquiry : global::ProtoBuf.IExtensible |
2007 | + { |
2008 | + public FreeSpaceInquiry() {} |
2009 | + |
2010 | + |
2011 | + private string _share_id = ""; |
2012 | + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"share_id", DataFormat = global::ProtoBuf.DataFormat.Default)] |
2013 | + [global::System.ComponentModel.DefaultValue("")] |
2014 | + public string share_id |
2015 | + { |
2016 | + get { return _share_id; } |
2017 | + set { _share_id = value; } |
2018 | + } |
2019 | + private global::ProtoBuf.IExtension extensionObject; |
2020 | + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) |
2021 | + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } |
2022 | + } |
2023 | + |
2024 | + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"AccountInfo")] |
2025 | + public partial class AccountInfo : global::ProtoBuf.IExtensible |
2026 | + { |
2027 | + public AccountInfo() {} |
2028 | + |
2029 | + |
2030 | + private ulong _purchased_bytes = default(ulong); |
2031 | + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"purchased_bytes", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] |
2032 | + [global::System.ComponentModel.DefaultValue(default(ulong))] |
2033 | + public ulong purchased_bytes |
2034 | + { |
2035 | + get { return _purchased_bytes; } |
2036 | + set { _purchased_bytes = value; } |
2037 | + } |
2038 | + private global::ProtoBuf.IExtension extensionObject; |
2039 | + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) |
2040 | + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } |
2041 | + } |
2042 | + |
2043 | + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"VolumeNewGeneration")] |
2044 | + public partial class VolumeNewGeneration : global::ProtoBuf.IExtensible |
2045 | + { |
2046 | + public VolumeNewGeneration() {} |
2047 | + |
2048 | + |
2049 | + private byte[] _volume = null; |
2050 | + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"volume", DataFormat = global::ProtoBuf.DataFormat.Default)] |
2051 | + [global::System.ComponentModel.DefaultValue(null)] |
2052 | + public byte[] volume |
2053 | + { |
2054 | + get { return _volume; } |
2055 | + set { _volume = value; } |
2056 | + } |
2057 | + |
2058 | + private ulong _generation = default(ulong); |
2059 | + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"generation", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] |
2060 | + [global::System.ComponentModel.DefaultValue(default(ulong))] |
2061 | + public ulong generation |
2062 | + { |
2063 | + get { return _generation; } |
2064 | + set { _generation = value; } |
2065 | + } |
2066 | + private global::ProtoBuf.IExtension extensionObject; |
2067 | + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) |
2068 | + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } |
2069 | + } |
2070 | + |
2071 | + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"GetDelta")] |
2072 | + public partial class GetDelta : global::ProtoBuf.IExtensible |
2073 | + { |
2074 | + public GetDelta() {} |
2075 | + |
2076 | + |
2077 | + private byte[] _share = null; |
2078 | + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"share", DataFormat = global::ProtoBuf.DataFormat.Default)] |
2079 | + [global::System.ComponentModel.DefaultValue(null)] |
2080 | + public byte[] share |
2081 | + { |
2082 | + get { return _share; } |
2083 | + set { _share = value; } |
2084 | + } |
2085 | + |
2086 | + private ulong _from_generation = default(ulong); |
2087 | + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"from_generation", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] |
2088 | + [global::System.ComponentModel.DefaultValue(default(ulong))] |
2089 | + public ulong from_generation |
2090 | + { |
2091 | + get { return _from_generation; } |
2092 | + set { _from_generation = value; } |
2093 | + } |
2094 | + |
2095 | + private bool _from_scratch = default(bool); |
2096 | + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"from_scratch", DataFormat = global::ProtoBuf.DataFormat.Default)] |
2097 | + [global::System.ComponentModel.DefaultValue(default(bool))] |
2098 | + public bool from_scratch |
2099 | + { |
2100 | + get { return _from_scratch; } |
2101 | + set { _from_scratch = value; } |
2102 | + } |
2103 | + private global::ProtoBuf.IExtension extensionObject; |
2104 | + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) |
2105 | + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } |
2106 | + } |
2107 | + |
2108 | + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"DeltaInfo")] |
2109 | + public partial class DeltaInfo : global::ProtoBuf.IExtensible |
2110 | + { |
2111 | + public DeltaInfo() {} |
2112 | + |
2113 | + |
2114 | + private ulong _generation = default(ulong); |
2115 | + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"generation", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] |
2116 | + [global::System.ComponentModel.DefaultValue(default(ulong))] |
2117 | + public ulong generation |
2118 | + { |
2119 | + get { return _generation; } |
2120 | + set { _generation = value; } |
2121 | + } |
2122 | + |
2123 | + private bool _is_live = default(bool); |
2124 | + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"is_live", DataFormat = global::ProtoBuf.DataFormat.Default)] |
2125 | + [global::System.ComponentModel.DefaultValue(default(bool))] |
2126 | + public bool is_live |
2127 | + { |
2128 | + get { return _is_live; } |
2129 | + set { _is_live = value; } |
2130 | + } |
2131 | + |
2132 | + private ubuntuone.storageprotocol.DeltaInfo.DeltaInfoType _type = ubuntuone.storageprotocol.DeltaInfo.DeltaInfoType.FILE_INFO; |
2133 | + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"type", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] |
2134 | + [global::System.ComponentModel.DefaultValue(ubuntuone.storageprotocol.DeltaInfo.DeltaInfoType.FILE_INFO)] |
2135 | + public ubuntuone.storageprotocol.DeltaInfo.DeltaInfoType type |
2136 | + { |
2137 | + get { return _type; } |
2138 | + set { _type = value; } |
2139 | + } |
2140 | + |
2141 | + private ubuntuone.storageprotocol.FileInfo _file_info = null; |
2142 | + [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"file_info", DataFormat = global::ProtoBuf.DataFormat.Default)] |
2143 | + [global::System.ComponentModel.DefaultValue(null)] |
2144 | + public ubuntuone.storageprotocol.FileInfo file_info |
2145 | + { |
2146 | + get { return _file_info; } |
2147 | + set { _file_info = value; } |
2148 | + } |
2149 | + [global::ProtoBuf.ProtoContract(Name=@"DeltaInfoType")] |
2150 | + public enum DeltaInfoType |
2151 | + { |
2152 | + |
2153 | + [global::ProtoBuf.ProtoEnum(Name=@"FILE_INFO", Value=1)] |
2154 | + FILE_INFO = 1 |
2155 | + } |
2156 | + |
2157 | + private global::ProtoBuf.IExtension extensionObject; |
2158 | + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) |
2159 | + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } |
2160 | + } |
2161 | + |
2162 | + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"FileInfo")] |
2163 | + public partial class FileInfo : global::ProtoBuf.IExtensible |
2164 | + { |
2165 | + public FileInfo() {} |
2166 | + |
2167 | + |
2168 | + private ubuntuone.storageprotocol.FileInfo.FileType _type = ubuntuone.storageprotocol.FileInfo.FileType.DIRECTORY; |
2169 | + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"type", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] |
2170 | + [global::System.ComponentModel.DefaultValue(ubuntuone.storageprotocol.FileInfo.FileType.DIRECTORY)] |
2171 | + public ubuntuone.storageprotocol.FileInfo.FileType type |
2172 | + { |
2173 | + get { return _type; } |
2174 | + set { _type = value; } |
2175 | + } |
2176 | + |
2177 | + private byte[] _parent = null; |
2178 | + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"parent", DataFormat = global::ProtoBuf.DataFormat.Default)] |
2179 | + [global::System.ComponentModel.DefaultValue(null)] |
2180 | + public byte[] parent |
2181 | + { |
2182 | + get { return _parent; } |
2183 | + set { _parent = value; } |
2184 | + } |
2185 | + |
2186 | + private byte[] _share = null; |
2187 | + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"share", DataFormat = global::ProtoBuf.DataFormat.Default)] |
2188 | + [global::System.ComponentModel.DefaultValue(null)] |
2189 | + public byte[] share |
2190 | + { |
2191 | + get { return _share; } |
2192 | + set { _share = value; } |
2193 | + } |
2194 | + |
2195 | + private byte[] _node = null; |
2196 | + [global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"node", DataFormat = global::ProtoBuf.DataFormat.Default)] |
2197 | + [global::System.ComponentModel.DefaultValue(null)] |
2198 | + public byte[] node |
2199 | + { |
2200 | + get { return _node; } |
2201 | + set { _node = value; } |
2202 | + } |
2203 | + |
2204 | + private string _name = ""; |
2205 | + [global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"name", DataFormat = global::ProtoBuf.DataFormat.Default)] |
2206 | + [global::System.ComponentModel.DefaultValue("")] |
2207 | + public string name |
2208 | + { |
2209 | + get { return _name; } |
2210 | + set { _name = value; } |
2211 | + } |
2212 | + |
2213 | + private bool _is_public = default(bool); |
2214 | + [global::ProtoBuf.ProtoMember(6, IsRequired = false, Name=@"is_public", DataFormat = global::ProtoBuf.DataFormat.Default)] |
2215 | + [global::System.ComponentModel.DefaultValue(default(bool))] |
2216 | + public bool is_public |
2217 | + { |
2218 | + get { return _is_public; } |
2219 | + set { _is_public = value; } |
2220 | + } |
2221 | + |
2222 | + private byte[] _content_hash = null; |
2223 | + [global::ProtoBuf.ProtoMember(7, IsRequired = false, Name=@"content_hash", DataFormat = global::ProtoBuf.DataFormat.Default)] |
2224 | + [global::System.ComponentModel.DefaultValue(null)] |
2225 | + public byte[] content_hash |
2226 | + { |
2227 | + get { return _content_hash; } |
2228 | + set { _content_hash = value; } |
2229 | + } |
2230 | + |
2231 | + private uint _crc32 = default(uint); |
2232 | + [global::ProtoBuf.ProtoMember(8, IsRequired = false, Name=@"crc32", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] |
2233 | + [global::System.ComponentModel.DefaultValue(default(uint))] |
2234 | + public uint crc32 |
2235 | + { |
2236 | + get { return _crc32; } |
2237 | + set { _crc32 = value; } |
2238 | + } |
2239 | + |
2240 | + private ulong _size = default(ulong); |
2241 | + [global::ProtoBuf.ProtoMember(9, IsRequired = false, Name=@"size", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] |
2242 | + [global::System.ComponentModel.DefaultValue(default(ulong))] |
2243 | + public ulong size |
2244 | + { |
2245 | + get { return _size; } |
2246 | + set { _size = value; } |
2247 | + } |
2248 | + |
2249 | + private ulong _last_modified = default(ulong); |
2250 | + [global::ProtoBuf.ProtoMember(10, IsRequired = false, Name=@"last_modified", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] |
2251 | + [global::System.ComponentModel.DefaultValue(default(ulong))] |
2252 | + public ulong last_modified |
2253 | + { |
2254 | + get { return _last_modified; } |
2255 | + set { _last_modified = value; } |
2256 | + } |
2257 | + [global::ProtoBuf.ProtoContract(Name=@"FileType")] |
2258 | + public enum FileType |
2259 | + { |
2260 | + |
2261 | + [global::ProtoBuf.ProtoEnum(Name=@"DIRECTORY", Value=0)] |
2262 | + DIRECTORY = 0, |
2263 | + |
2264 | + [global::ProtoBuf.ProtoEnum(Name=@"FILE", Value=1)] |
2265 | + FILE = 1, |
2266 | + |
2267 | + [global::ProtoBuf.ProtoEnum(Name=@"SYMLINK", Value=2)] |
2268 | + SYMLINK = 2 |
2269 | + } |
2270 | + |
2271 | + private global::ProtoBuf.IExtension extensionObject; |
2272 | + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) |
2273 | + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } |
2274 | + } |
2275 | + |
2276 | + [global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"DeltaEnd")] |
2277 | + public partial class DeltaEnd : global::ProtoBuf.IExtensible |
2278 | + { |
2279 | + public DeltaEnd() {} |
2280 | + |
2281 | + |
2282 | + private ulong _generation = default(ulong); |
2283 | + [global::ProtoBuf.ProtoMember(1, IsRequired = false, Name=@"generation", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] |
2284 | + [global::System.ComponentModel.DefaultValue(default(ulong))] |
2285 | + public ulong generation |
2286 | + { |
2287 | + get { return _generation; } |
2288 | + set { _generation = value; } |
2289 | + } |
2290 | + |
2291 | + private bool _full = default(bool); |
2292 | + [global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"full", DataFormat = global::ProtoBuf.DataFormat.Default)] |
2293 | + [global::System.ComponentModel.DefaultValue(default(bool))] |
2294 | + public bool full |
2295 | + { |
2296 | + get { return _full; } |
2297 | + set { _full = value; } |
2298 | + } |
2299 | + |
2300 | + private ulong _free_bytes = default(ulong); |
2301 | + [global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"free_bytes", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)] |
2302 | + [global::System.ComponentModel.DefaultValue(default(ulong))] |
2303 | + public ulong free_bytes |
2304 | + { |
2305 | + get { return _free_bytes; } |
2306 | + set { _free_bytes = value; } |
2307 | + } |
2308 | + private global::ProtoBuf.IExtension extensionObject; |
2309 | + global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing) |
2310 | + { return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); } |
2311 | + } |
2312 | + |
2313 | +} |
2314 | \ No newline at end of file |
2315 | |
2316 | === modified file 'src/UbuntuOne.sln' |
2317 | --- src/UbuntuOne.sln 2010-08-04 14:36:09 +0000 |
2318 | +++ src/UbuntuOne.sln 2010-08-24 18:41:45 +0000 |
2319 | @@ -21,6 +21,8 @@ |
2320 | EndProject |
2321 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UbuntuOneClient.Tests", "UbuntuOneClient.Tests\UbuntuOneClient.Tests.csproj", "{53B3D3DA-687D-4D35-A3D3-7939E635098B}" |
2322 | EndProject |
2323 | +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Canonical.UbuntuOne.SyncDaemon", "Canonical.UbuntuOne.SyncDaemon\Canonical.UbuntuOne.SyncDaemon.csproj", "{38042450-48E0-472F-A7D8-577A7B763279}" |
2324 | +EndProject |
2325 | Global |
2326 | GlobalSection(SolutionConfigurationPlatforms) = preSolution |
2327 | Debug|Any CPU = Debug|Any CPU |
2328 | @@ -131,6 +133,16 @@ |
2329 | {53B3D3DA-687D-4D35-A3D3-7939E635098B}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU |
2330 | {53B3D3DA-687D-4D35-A3D3-7939E635098B}.Release|Mixed Platforms.Build.0 = Release|Any CPU |
2331 | {53B3D3DA-687D-4D35-A3D3-7939E635098B}.Release|x86.ActiveCfg = Release|Any CPU |
2332 | + {38042450-48E0-472F-A7D8-577A7B763279}.Debug|Any CPU.ActiveCfg = Debug|Any CPU |
2333 | + {38042450-48E0-472F-A7D8-577A7B763279}.Debug|Any CPU.Build.0 = Debug|Any CPU |
2334 | + {38042450-48E0-472F-A7D8-577A7B763279}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU |
2335 | + {38042450-48E0-472F-A7D8-577A7B763279}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU |
2336 | + {38042450-48E0-472F-A7D8-577A7B763279}.Debug|x86.ActiveCfg = Debug|Any CPU |
2337 | + {38042450-48E0-472F-A7D8-577A7B763279}.Release|Any CPU.ActiveCfg = Release|Any CPU |
2338 | + {38042450-48E0-472F-A7D8-577A7B763279}.Release|Any CPU.Build.0 = Release|Any CPU |
2339 | + {38042450-48E0-472F-A7D8-577A7B763279}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU |
2340 | + {38042450-48E0-472F-A7D8-577A7B763279}.Release|Mixed Platforms.Build.0 = Release|Any CPU |
2341 | + {38042450-48E0-472F-A7D8-577A7B763279}.Release|x86.ActiveCfg = Release|Any CPU |
2342 | EndGlobalSection |
2343 | GlobalSection(SolutionProperties) = preSolution |
2344 | HideSolutionNode = FALSE |
Looks ok.