blob: a5365f327dac0fd898764c4f1b33b957f0545cbf [file] [log] [blame]
syntax = "proto3";
package cobalt.encoder;
import "observation_batch.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;
}
}