// @generated by protoc-gen-es v0.2.0 with parameter "target=ts" // @generated from file prepress/mock-service.proto (package prepress.v1, syntax proto3) /* eslint-disable */ /* @ts-nocheck */ import type {BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage} from "@bufbuild/protobuf"; import {Message, proto3} from "@bufbuild/protobuf"; /** * @generated from message prepress.v1.MockJob */ export class MockJob extends Message { /** * @generated from field: string id = 1; */ id = ""; /** * @generated from field: string status = 2; */ status = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime = proto3; static readonly typeName = "prepress.v1.MockJob"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "status", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): MockJob { return new MockJob().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): MockJob { return new MockJob().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): MockJob { return new MockJob().fromJsonString(jsonString, options); } static equals(a: MockJob | PlainMessage | undefined, b: MockJob | PlainMessage | undefined): boolean { return proto3.util.equals(MockJob, a, b); } } /** * @generated from message prepress.v1.JobsProcessingCountRequest */ export class JobsProcessingCountRequest extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime = proto3; static readonly typeName = "prepress.v1.JobsProcessingCountRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): JobsProcessingCountRequest { return new JobsProcessingCountRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): JobsProcessingCountRequest { return new JobsProcessingCountRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): JobsProcessingCountRequest { return new JobsProcessingCountRequest().fromJsonString(jsonString, options); } static equals(a: JobsProcessingCountRequest | PlainMessage | undefined, b: JobsProcessingCountRequest | PlainMessage | undefined): boolean { return proto3.util.equals(JobsProcessingCountRequest, a, b); } } /** * @generated from message prepress.v1.JobsProcessingCountResponse */ export class JobsProcessingCountResponse extends Message { /** * @generated from field: int32 count = 1; */ count = 0; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime = proto3; static readonly typeName = "prepress.v1.JobsProcessingCountResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "count", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): JobsProcessingCountResponse { return new JobsProcessingCountResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): JobsProcessingCountResponse { return new JobsProcessingCountResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): JobsProcessingCountResponse { return new JobsProcessingCountResponse().fromJsonString(jsonString, options); } static equals(a: JobsProcessingCountResponse | PlainMessage | undefined, b: JobsProcessingCountResponse | PlainMessage | undefined): boolean { return proto3.util.equals(JobsProcessingCountResponse, a, b); } } /** * @generated from message prepress.v1.StartNewJobRequest */ export class StartNewJobRequest extends Message { /** * @generated from field: string id = 1; */ id = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime = proto3; static readonly typeName = "prepress.v1.StartNewJobRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): StartNewJobRequest { return new StartNewJobRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): StartNewJobRequest { return new StartNewJobRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): StartNewJobRequest { return new StartNewJobRequest().fromJsonString(jsonString, options); } static equals(a: StartNewJobRequest | PlainMessage | undefined, b: StartNewJobRequest | PlainMessage | undefined): boolean { return proto3.util.equals(StartNewJobRequest, a, b); } } /** * @generated from message prepress.v1.StartNewJobResponse */ export class StartNewJobResponse extends Message { /** * @generated from field: prepress.v1.MockJob job = 1; */ job?: MockJob; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime = proto3; static readonly typeName = "prepress.v1.StartNewJobResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "job", kind: "message", T: MockJob }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): StartNewJobResponse { return new StartNewJobResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): StartNewJobResponse { return new StartNewJobResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): StartNewJobResponse { return new StartNewJobResponse().fromJsonString(jsonString, options); } static equals(a: StartNewJobResponse | PlainMessage | undefined, b: StartNewJobResponse | PlainMessage | undefined): boolean { return proto3.util.equals(StartNewJobResponse, a, b); } } /** * @generated from message prepress.v1.GetJobRequest */ export class GetJobRequest extends Message { /** * @generated from field: string id = 1; */ id = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime = proto3; static readonly typeName = "prepress.v1.GetJobRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): GetJobRequest { return new GetJobRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): GetJobRequest { return new GetJobRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): GetJobRequest { return new GetJobRequest().fromJsonString(jsonString, options); } static equals(a: GetJobRequest | PlainMessage | undefined, b: GetJobRequest | PlainMessage | undefined): boolean { return proto3.util.equals(GetJobRequest, a, b); } } /** * @generated from message prepress.v1.GetJobResponse */ export class GetJobResponse extends Message { /** * @generated from field: prepress.v1.MockJob job = 1; */ job?: MockJob; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime = proto3; static readonly typeName = "prepress.v1.GetJobResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "job", kind: "message", T: MockJob }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): GetJobResponse { return new GetJobResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): GetJobResponse { return new GetJobResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): GetJobResponse { return new GetJobResponse().fromJsonString(jsonString, options); } static equals(a: GetJobResponse | PlainMessage | undefined, b: GetJobResponse | PlainMessage | undefined): boolean { return proto3.util.equals(GetJobResponse, a, b); } }