session-ios/SignalServiceKit/protobuf/SignalIOS.proto

31 lines
674 B
Protocol Buffer
Raw Normal View History

/**
* Copyright (C) 2014-2016 Open Whisper Systems
*
* Licensed according to the LICENSE file in this repository.
*/
2018-06-07 07:57:59 +02:00
// iOS - since we use a modern proto-compiler, we must specify
// the legacy proto format.
syntax = "proto2";
// iOS - package name determines class prefix
package IOSProtos;
message BackupSnapshot {
message BackupEntity {
enum Type {
UNKNOWN = 0;
MIGRATION = 1;
THREAD = 2;
INTERACTION = 3;
ATTACHMENT = 4;
}
2018-08-03 20:03:02 +02:00
// @required
optional Type type = 1;
2018-08-03 20:03:02 +02:00
// @required
optional bytes entityData = 2;
}
repeated BackupEntity entity = 1;
2018-06-07 07:57:59 +02:00
}