// @generated by protoc-gen-es v1.10.0 with parameter "target=ts,import_extension=none"
// @generated from file draw/v1/metadata.proto (package draw.v1, syntax proto3)
/* eslint-disable */
// @ts-nocheck
import { Message, proto3 } from "@bufbuild/protobuf";
/**
 * @generated from message draw.v1.Metadata
 */
export class Metadata extends Message {
    /**
     * Uint8Array of colors: [r, g, b, a, ...]
     * For simple objects, this is a single color of [r, g, b, a]
     * For complex objects, this is an array of colors of [r, g, b, a, ...]
     *
     * @generated from field: optional bytes colors = 1;
     */
    colors;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "draw.v1.Metadata";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "colors", kind: "scalar", T: 12 /* ScalarType.BYTES */, opt: true },
    ]);
    static fromBinary(bytes, options) {
        return new Metadata().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new Metadata().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new Metadata().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(Metadata, a, b);
    }
}
