// @generated by protoc-gen-es v1.10.0 with parameter "target=ts,import_extension=none"
// @generated from file draw/v1/service.proto (package draw.v1, syntax proto3)
/* eslint-disable */
// @ts-nocheck
import { FieldMask, Message, proto3 } from "@bufbuild/protobuf";
import { Transform } from "../../common/v1/common_pb";
import { Drawing } from "./drawing_pb";
import { SceneMetadata } from "./scene_pb";
import { Relationship } from "./metadata_pb";
/**
 * @generated from enum draw.v1.EntityChangeType
 */
export var EntityChangeType;
(function (EntityChangeType) {
    /**
     * @generated from enum value: ENTITY_CHANGE_TYPE_UNSPECIFIED = 0;
     */
    EntityChangeType[EntityChangeType["UNSPECIFIED"] = 0] = "UNSPECIFIED";
    /**
     * @generated from enum value: ENTITY_CHANGE_TYPE_ADDED = 1;
     */
    EntityChangeType[EntityChangeType["ADDED"] = 1] = "ADDED";
    /**
     * @generated from enum value: ENTITY_CHANGE_TYPE_REMOVED = 2;
     */
    EntityChangeType[EntityChangeType["REMOVED"] = 2] = "REMOVED";
    /**
     * @generated from enum value: ENTITY_CHANGE_TYPE_UPDATED = 3;
     */
    EntityChangeType[EntityChangeType["UPDATED"] = 3] = "UPDATED";
})(EntityChangeType || (EntityChangeType = {}));
// Retrieve enum metadata with: proto3.getEnumType(EntityChangeType)
proto3.util.setEnumType(EntityChangeType, "draw.v1.EntityChangeType", [
    { no: 0, name: "ENTITY_CHANGE_TYPE_UNSPECIFIED" },
    { no: 1, name: "ENTITY_CHANGE_TYPE_ADDED" },
    { no: 2, name: "ENTITY_CHANGE_TYPE_REMOVED" },
    { no: 3, name: "ENTITY_CHANGE_TYPE_UPDATED" },
]);
/**
 * @generated from message draw.v1.AddEntityRequest
 */
export class AddEntityRequest extends Message {
    /**
     * @generated from oneof draw.v1.AddEntityRequest.entity
     */
    entity = { case: undefined };
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "draw.v1.AddEntityRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "transform", kind: "message", T: Transform, oneof: "entity" },
        { no: 2, name: "drawing", kind: "message", T: Drawing, oneof: "entity" },
    ]);
    static fromBinary(bytes, options) {
        return new AddEntityRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new AddEntityRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new AddEntityRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(AddEntityRequest, a, b);
    }
}
/**
 * @generated from message draw.v1.AddEntityResponse
 */
export class AddEntityResponse extends Message {
    /**
     * @generated from field: bytes uuid = 1;
     */
    uuid = new Uint8Array(0);
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "draw.v1.AddEntityResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "uuid", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
    ]);
    static fromBinary(bytes, options) {
        return new AddEntityResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new AddEntityResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new AddEntityResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(AddEntityResponse, a, b);
    }
}
/**
 * @generated from message draw.v1.UpdateEntityRequest
 */
export class UpdateEntityRequest extends Message {
    /**
     * @generated from field: bytes uuid = 1;
     */
    uuid = new Uint8Array(0);
    /**
     * @generated from oneof draw.v1.UpdateEntityRequest.entity
     */
    entity = { case: undefined };
    /**
     * The fields to update on the entity. If empty, all fields are replaced.
     *
     * @generated from field: google.protobuf.FieldMask updated_fields = 4;
     */
    updatedFields;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "draw.v1.UpdateEntityRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "uuid", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
        { no: 2, name: "transform", kind: "message", T: Transform, oneof: "entity" },
        { no: 3, name: "drawing", kind: "message", T: Drawing, oneof: "entity" },
        { no: 4, name: "updated_fields", kind: "message", T: FieldMask },
    ]);
    static fromBinary(bytes, options) {
        return new UpdateEntityRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new UpdateEntityRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new UpdateEntityRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(UpdateEntityRequest, a, b);
    }
}
/**
 * @generated from message draw.v1.UpdateEntityResponse
 */
export class UpdateEntityResponse extends Message {
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "draw.v1.UpdateEntityResponse";
    static fields = proto3.util.newFieldList(() => []);
    static fromBinary(bytes, options) {
        return new UpdateEntityResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new UpdateEntityResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new UpdateEntityResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(UpdateEntityResponse, a, b);
    }
}
/**
 * @generated from message draw.v1.RemoveEntityRequest
 */
export class RemoveEntityRequest extends Message {
    /**
     * @generated from field: bytes uuid = 1;
     */
    uuid = new Uint8Array(0);
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "draw.v1.RemoveEntityRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "uuid", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
    ]);
    static fromBinary(bytes, options) {
        return new RemoveEntityRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new RemoveEntityRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new RemoveEntityRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(RemoveEntityRequest, a, b);
    }
}
/**
 * @generated from message draw.v1.RemoveEntityResponse
 */
export class RemoveEntityResponse extends Message {
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "draw.v1.RemoveEntityResponse";
    static fields = proto3.util.newFieldList(() => []);
    static fromBinary(bytes, options) {
        return new RemoveEntityResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new RemoveEntityResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new RemoveEntityResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(RemoveEntityResponse, a, b);
    }
}
/**
 * @generated from message draw.v1.RemoveAllTransformsRequest
 */
export class RemoveAllTransformsRequest extends Message {
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "draw.v1.RemoveAllTransformsRequest";
    static fields = proto3.util.newFieldList(() => []);
    static fromBinary(bytes, options) {
        return new RemoveAllTransformsRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new RemoveAllTransformsRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new RemoveAllTransformsRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(RemoveAllTransformsRequest, a, b);
    }
}
/**
 * @generated from message draw.v1.RemoveAllTransformsResponse
 */
export class RemoveAllTransformsResponse extends Message {
    /**
     * @generated from field: int32 count = 1;
     */
    count = 0;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "draw.v1.RemoveAllTransformsResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "count", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
    ]);
    static fromBinary(bytes, options) {
        return new RemoveAllTransformsResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new RemoveAllTransformsResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new RemoveAllTransformsResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(RemoveAllTransformsResponse, a, b);
    }
}
/**
 * @generated from message draw.v1.StreamEntityChangesRequest
 */
export class StreamEntityChangesRequest extends Message {
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "draw.v1.StreamEntityChangesRequest";
    static fields = proto3.util.newFieldList(() => []);
    static fromBinary(bytes, options) {
        return new StreamEntityChangesRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new StreamEntityChangesRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new StreamEntityChangesRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(StreamEntityChangesRequest, a, b);
    }
}
/**
 * @generated from message draw.v1.StreamEntityChangesResponse
 */
export class StreamEntityChangesResponse extends Message {
    /**
     * @generated from field: draw.v1.EntityChangeType change_type = 1;
     */
    changeType = EntityChangeType.UNSPECIFIED;
    /**
     * @generated from oneof draw.v1.StreamEntityChangesResponse.entity
     */
    entity = { case: undefined };
    /**
     * @generated from field: google.protobuf.FieldMask updated_fields = 4;
     */
    updatedFields;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "draw.v1.StreamEntityChangesResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "change_type", kind: "enum", T: proto3.getEnumType(EntityChangeType) },
        { no: 2, name: "transform", kind: "message", T: Transform, oneof: "entity" },
        { no: 3, name: "drawing", kind: "message", T: Drawing, oneof: "entity" },
        { no: 4, name: "updated_fields", kind: "message", T: FieldMask },
    ]);
    static fromBinary(bytes, options) {
        return new StreamEntityChangesResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new StreamEntityChangesResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new StreamEntityChangesResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(StreamEntityChangesResponse, a, b);
    }
}
/**
 * @generated from message draw.v1.RemoveAllDrawingsRequest
 */
export class RemoveAllDrawingsRequest extends Message {
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "draw.v1.RemoveAllDrawingsRequest";
    static fields = proto3.util.newFieldList(() => []);
    static fromBinary(bytes, options) {
        return new RemoveAllDrawingsRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new RemoveAllDrawingsRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new RemoveAllDrawingsRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(RemoveAllDrawingsRequest, a, b);
    }
}
/**
 * @generated from message draw.v1.RemoveAllDrawingsResponse
 */
export class RemoveAllDrawingsResponse extends Message {
    /**
     * @generated from field: int32 count = 1;
     */
    count = 0;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "draw.v1.RemoveAllDrawingsResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "count", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
    ]);
    static fromBinary(bytes, options) {
        return new RemoveAllDrawingsResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new RemoveAllDrawingsResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new RemoveAllDrawingsResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(RemoveAllDrawingsResponse, a, b);
    }
}
/**
 * @generated from message draw.v1.SetSceneRequest
 */
export class SetSceneRequest extends Message {
    /**
     * @generated from field: draw.v1.SceneMetadata scene_metadata = 1;
     */
    sceneMetadata;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "draw.v1.SetSceneRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "scene_metadata", kind: "message", T: SceneMetadata },
    ]);
    static fromBinary(bytes, options) {
        return new SetSceneRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new SetSceneRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new SetSceneRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(SetSceneRequest, a, b);
    }
}
/**
 * @generated from message draw.v1.SetSceneResponse
 */
export class SetSceneResponse extends Message {
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "draw.v1.SetSceneResponse";
    static fields = proto3.util.newFieldList(() => []);
    static fromBinary(bytes, options) {
        return new SetSceneResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new SetSceneResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new SetSceneResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(SetSceneResponse, a, b);
    }
}
/**
 * @generated from message draw.v1.StreamSceneChangesRequest
 */
export class StreamSceneChangesRequest extends Message {
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "draw.v1.StreamSceneChangesRequest";
    static fields = proto3.util.newFieldList(() => []);
    static fromBinary(bytes, options) {
        return new StreamSceneChangesRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new StreamSceneChangesRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new StreamSceneChangesRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(StreamSceneChangesRequest, a, b);
    }
}
/**
 * @generated from message draw.v1.StreamSceneChangesResponse
 */
export class StreamSceneChangesResponse extends Message {
    /**
     * @generated from field: draw.v1.SceneMetadata scene_metadata = 1;
     */
    sceneMetadata;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "draw.v1.StreamSceneChangesResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "scene_metadata", kind: "message", T: SceneMetadata },
    ]);
    static fromBinary(bytes, options) {
        return new StreamSceneChangesResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new StreamSceneChangesResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new StreamSceneChangesResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(StreamSceneChangesResponse, a, b);
    }
}
/**
 * @generated from message draw.v1.RemoveAllRequest
 */
export class RemoveAllRequest extends Message {
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "draw.v1.RemoveAllRequest";
    static fields = proto3.util.newFieldList(() => []);
    static fromBinary(bytes, options) {
        return new RemoveAllRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new RemoveAllRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new RemoveAllRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(RemoveAllRequest, a, b);
    }
}
/**
 * @generated from message draw.v1.RemoveAllResponse
 */
export class RemoveAllResponse extends Message {
    /**
     * @generated from field: int32 transform_count = 1;
     */
    transformCount = 0;
    /**
     * @generated from field: int32 drawing_count = 2;
     */
    drawingCount = 0;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "draw.v1.RemoveAllResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "transform_count", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
        { no: 2, name: "drawing_count", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
    ]);
    static fromBinary(bytes, options) {
        return new RemoveAllResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new RemoveAllResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new RemoveAllResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(RemoveAllResponse, a, b);
    }
}
/**
 * @generated from message draw.v1.CreateRelationshipRequest
 */
export class CreateRelationshipRequest extends Message {
    /**
     * @generated from field: bytes source_uuid = 1;
     */
    sourceUuid = new Uint8Array(0);
    /**
     * @generated from field: draw.v1.Relationship relationship = 2;
     */
    relationship;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "draw.v1.CreateRelationshipRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "source_uuid", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
        { no: 2, name: "relationship", kind: "message", T: Relationship },
    ]);
    static fromBinary(bytes, options) {
        return new CreateRelationshipRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new CreateRelationshipRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new CreateRelationshipRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(CreateRelationshipRequest, a, b);
    }
}
/**
 * @generated from message draw.v1.CreateRelationshipResponse
 */
export class CreateRelationshipResponse extends Message {
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "draw.v1.CreateRelationshipResponse";
    static fields = proto3.util.newFieldList(() => []);
    static fromBinary(bytes, options) {
        return new CreateRelationshipResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new CreateRelationshipResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new CreateRelationshipResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(CreateRelationshipResponse, a, b);
    }
}
/**
 * @generated from message draw.v1.DeleteRelationshipRequest
 */
export class DeleteRelationshipRequest extends Message {
    /**
     * @generated from field: bytes source_uuid = 1;
     */
    sourceUuid = new Uint8Array(0);
    /**
     * @generated from field: bytes target_uuid = 2;
     */
    targetUuid = new Uint8Array(0);
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "draw.v1.DeleteRelationshipRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "source_uuid", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
        { no: 2, name: "target_uuid", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
    ]);
    static fromBinary(bytes, options) {
        return new DeleteRelationshipRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new DeleteRelationshipRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new DeleteRelationshipRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(DeleteRelationshipRequest, a, b);
    }
}
/**
 * @generated from message draw.v1.DeleteRelationshipResponse
 */
export class DeleteRelationshipResponse extends Message {
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "draw.v1.DeleteRelationshipResponse";
    static fields = proto3.util.newFieldList(() => []);
    static fromBinary(bytes, options) {
        return new DeleteRelationshipResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new DeleteRelationshipResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new DeleteRelationshipResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(DeleteRelationshipResponse, a, b);
    }
}
/**
 * @generated from message draw.v1.GetEntityChunkRequest
 */
export class GetEntityChunkRequest extends Message {
    /**
     * @generated from field: bytes uuid = 1;
     */
    uuid = new Uint8Array(0);
    /**
     * @generated from field: uint32 start = 2;
     */
    start = 0;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "draw.v1.GetEntityChunkRequest";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "uuid", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
        { no: 2, name: "start", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetEntityChunkRequest().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetEntityChunkRequest().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetEntityChunkRequest().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetEntityChunkRequest, a, b);
    }
}
/**
 * @generated from message draw.v1.GetEntityChunkResponse
 */
export class GetEntityChunkResponse extends Message {
    /**
     * The entity that is being chunked.
     *
     * @generated from oneof draw.v1.GetEntityChunkResponse.entity
     */
    entity = { case: undefined };
    /**
     * The element offset this chunk starts at.
     *
     * @generated from field: uint32 start = 3;
     */
    start = 0;
    /**
     * True when this is the last available chunk AND all data has been received from the producer.
     *
     * @generated from field: bool done = 4;
     */
    done = false;
    constructor(data) {
        super();
        proto3.util.initPartial(data, this);
    }
    static runtime = proto3;
    static typeName = "draw.v1.GetEntityChunkResponse";
    static fields = proto3.util.newFieldList(() => [
        { no: 1, name: "transform", kind: "message", T: Transform, oneof: "entity" },
        { no: 2, name: "drawing", kind: "message", T: Drawing, oneof: "entity" },
        { no: 3, name: "start", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
        { no: 4, name: "done", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
    ]);
    static fromBinary(bytes, options) {
        return new GetEntityChunkResponse().fromBinary(bytes, options);
    }
    static fromJson(jsonValue, options) {
        return new GetEntityChunkResponse().fromJson(jsonValue, options);
    }
    static fromJsonString(jsonString, options) {
        return new GetEntityChunkResponse().fromJsonString(jsonString, options);
    }
    static equals(a, b) {
        return proto3.util.equals(GetEntityChunkResponse, a, b);
    }
}
