Merge lp:~mandel/ubuntuone-windows-installer/add_syncdaemon_protobuf into lp:ubuntuone-windows-installer/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
Reviewer Review Type Date Requested Status
Rick McBride (community) Approve
Vincenzo Di Somma (community) Approve
Review via email: mp+33570@code.launchpad.net

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
Vincenzo Di Somma (vds) wrote :

Looks ok.

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

Subscribers

People subscribed via source and target branches

to all changes: