// package: akkaserverless.component.entity
// file: akkaserverless/component/entity/entity.proto

/* tslint:disable */
/* eslint-disable */

import * as jspb from "google-protobuf";
import * as akkaserverless_component_component_pb from "../../../akkaserverless/component/component_pb";
import * as google_protobuf_any_pb from "google-protobuf/google/protobuf/any_pb";

export class Command extends jspb.Message { 
    getEntityId(): string;
    setEntityId(value: string): Command;
    getId(): number;
    setId(value: number): Command;
    getName(): string;
    setName(value: string): Command;

    hasPayload(): boolean;
    clearPayload(): void;
    getPayload(): google_protobuf_any_pb.Any | undefined;
    setPayload(value?: google_protobuf_any_pb.Any): Command;

    hasMetadata(): boolean;
    clearMetadata(): void;
    getMetadata(): akkaserverless_component_component_pb.Metadata | undefined;
    setMetadata(value?: akkaserverless_component_component_pb.Metadata): Command;

    serializeBinary(): Uint8Array;
    toObject(includeInstance?: boolean): Command.AsObject;
    static toObject(includeInstance: boolean, msg: Command): Command.AsObject;
    static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
    static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
    static serializeBinaryToWriter(message: Command, writer: jspb.BinaryWriter): void;
    static deserializeBinary(bytes: Uint8Array): Command;
    static deserializeBinaryFromReader(message: Command, reader: jspb.BinaryReader): Command;
}

export namespace Command {
    export type AsObject = {
        entityId: string,
        id: number,
        name: string,
        payload?: google_protobuf_any_pb.Any.AsObject,
        metadata?: akkaserverless_component_component_pb.Metadata.AsObject,
    }
}
