blob: 784984ac30c363a4e7813bf273e1279d8c69c47b [file] [log] [blame]
syntax = "proto3";
package cobalt.encoder;
import "observation.proto";
import "encrypted_message.proto";
// ObservationStoreRecord is used internally by FileObservationStore for
// serializing protos into files. It allows writing either a meta_data or an
// encrypted_observation so they can later be reconstructed into an Envelope.
message ObservationStoreRecord {
oneof contents {
ObservationMetadata meta_data = 1;
EncryptedMessage encrypted_observation = 2;
}
}