// @generated by protoc-gen-es v1.10.0 with parameter "target=ts,import_extension=none"
// @generated from file draw/v1/snapshot.proto (package draw.v1, syntax proto3)
/* eslint-disable */
// @ts-nocheck
import { Message, proto3 } from "@bufbuild/protobuf";
import { Transform } from "../../common/v1/common_pb";
import { Drawing } from "./drawing_pb";
import { SceneMetadata } from "./scene_pb";
/**
 * @generated from message draw.v1.Snapshot
 */
export class Snapshot extends Message {
    /**
     * the list of transforms and shapes in the scene to render
     *
     * @generated from field: repeated viam.common.v1.Transform transforms = 1;
     */
    transforms = [];
    /**
     * the list of drawings in the scene to render
     *
     * @generated from field: repeated draw.v1.Drawing drawings = 2;
     */
    drawings = [];
    /**
     * a unique ID for the snapshot, to inform the visualizer if a new snapshot is being rendered
     *
     * @generated from field: bytes uuid = 3;
     */
    uuid = new Uint8Array(0);
    /**
     * optional metadata for the scene, matches the visualizer's "settings"
     *
     * @generated from field: optional draw.v1.SceneMetadata scene_metadata = 4;
     */
    sceneMetadata;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "draw.v1.Snapshot";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "transforms", kind: "message", T: Transform, repeated: true },
        { no: 2, name: "drawings", kind: "message", T: Drawing, repeated: true },
        { no: 3, name: "uuid", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
        { no: 4, name: "scene_metadata", kind: "message", T: SceneMetadata, opt: true },
    ]);
    static fromBinary(bytes, options) {
        return new Snapshot().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new Snapshot().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new Snapshot().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(Snapshot, a, b);
    }
}
