rasa.signal-service-java.2.15.3_unofficial_106.source-code.InternalSerialization.proto Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of signal-service-java Show documentation
Show all versions of signal-service-java Show documentation
Signal Service communication library for Java, unofficial fork
// Proto schema formatted by Wire, do not edit.
// Source: InternalSerialization.proto
syntax = "proto2";
package textsecure;
import "SignalService.proto";
option java_package = "org.whispersystems.signalservice.internal.serialize.protos";
option java_multiple_files = true;
message SignalServiceContentProto {
optional AddressProto localAddress = 1;
optional MetadataProto metadata = 2;
oneof data {
signalservice.DataMessage legacyDataMessage = 3;
signalservice.Content content = 4;
}
}
message SignalServiceEnvelopeProto {
reserved 3;
reserved 5;
optional int32 type = 1;
optional string sourceServiceId = 2;
optional int32 deviceId = 4;
optional bytes content = 6;
optional int64 timestamp = 7;
optional int64 serverReceivedTimestamp = 8;
optional int64 serverDeliveredTimestamp = 9;
optional string serverGuid = 10;
optional string destinationServiceId = 11;
optional bool urgent = 12 [default = true];
optional bool story = 13;
optional bytes reportingToken = 14;
}
message MetadataProto {
optional AddressProto address = 1;
optional int32 senderDevice = 2;
optional int64 timestamp = 3;
optional int64 serverReceivedTimestamp = 5;
optional int64 serverDeliveredTimestamp = 6;
optional bool needsReceipt = 4;
optional string serverGuid = 7;
optional bytes groupId = 8;
optional string destinationUuid = 9;
}
message AddressProto {
optional bytes uuid = 1;
optional string e164 = 2;
}