~ubuntuone-control-tower/ubuntuone-storage-protocol/stable-2-0

« back to all changes in this revision

Viewing changes to ubuntuone/storageprotocol/protocol.proto

  • Committer: Tarmac
  • Author(s): Guillermo Gonzalez
  • Date: 2011-02-10 19:45:50 UTC
  • mfrom: (123.2.4 upload-id)
  • Revision ID: tarmac-20110210194550-835792nh0r4nlyzu
Add upload_id support to PutContent (BEGIN_CONTENT and PUT_CONTENT messages)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
 ubuntuone.storageprotocol.protocol_pb2 - storage protocol
3
3
 
4
 
 Copyright 2009 Canonical Ltd.
 
4
 Copyright 2009-2011 Canonical Ltd.
5
5
 
6
6
 This program is free software: you can redistribute it and/or modify it
7
7
 under the terms of the GNU Affero General Public License version 3,
241
241
    optional uint32 crc32 = 5;
242
242
    optional uint64 size = 6;
243
243
    optional uint64 deflated_size = 7;
 
244
    optional bytes upload_id = 8;
244
245
}
245
246
 
246
247
message BeginContent {
247
248
    optional uint64 offset = 2;
 
249
    optional bytes upload_id = 3;
248
250
}
249
251
 
250
252
message UploadInProgress {