// Generated by https://github.com/foxglove/schemas

syntax = "proto3";

import "google/protobuf/timestamp.proto";

package foxglove;

// Command to remove previously published entities
message SceneEntityDeletion {
  // An enumeration indicating which entities should match a SceneEntityDeletion command
  enum Type {
    // Delete the existing entity on the same topic that has the provided `id`
    MATCHING_ID = 0;

    // Delete all existing entities on the same topic
    ALL = 1;
  }
  // Timestamp of the deletion. Only matching entities earlier than this timestamp will be deleted.
  google.protobuf.Timestamp timestamp = 1;

  // Type of deletion action to perform
  Type type = 2;

  // Identifier which must match if `type` is `MATCHING_ID`.
  string id = 3;
}
