Introduce Wire for proto codegen.

This commit is contained in:
Greyson Parrelli
2023-02-02 10:10:00 -05:00
committed by Nicholas Tinsley
parent 72449fd73e
commit a91a13cead
11 changed files with 215 additions and 31 deletions

View File

@@ -0,0 +1,17 @@
/**
* Copyright (C) 2014-2016 Open Whisper Systems
*
* Licensed according to the LICENSE file in this repository.
*/
syntax = "proto2";
package signalservice;
option java_package = "org.thoughtcrime.securesms.devicelist.protos";
message DeviceName {
optional bytes ephemeralPublic = 1;
optional bytes syntheticIv = 2;
optional bytes ciphertext = 3;
}

View File

@@ -0,0 +1,15 @@
syntax = "proto3";
package signal;
option java_package = "org.thoughtcrime.securesms.emoji.protos";
option java_multiple_files = true;
message JumbomojiPack {
repeated JumbomojiItem items = 1;
}
message JumbomojiItem {
string name = 1;
bytes image = 2;
}

View File

@@ -0,0 +1,15 @@
/**
* Copyright (C) 2023 Open Whisper Systems
*
* Licensed according to the LICENSE file in this repository.
*/
syntax = "proto3";
package signal;
option java_package = "org.thoughtcrime.securesms.absbackup.protos";
message KbsAuthToken {
repeated string tokens = 1;
}