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