// @generated by protoc-gen-es v1.10.1 with parameter "target=ts" // @generated from file preflight/v2/guide.proto (package preflight.v2, syntax proto3) /* eslint-disable */ // @ts-nocheck import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto3, protoInt64, Timestamp } from "@bufbuild/protobuf"; import { Media } from "../../media/v1/media_pb.js"; /** * @generated from enum preflight.v2.Alignment */ export enum Alignment { /** * @generated from enum value: ALIGNMENT_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** * @generated from enum value: ALIGNMENT_TRIM = 1; */ TRIM = 1, /** * @generated from enum value: ALIGNMENT_BLEED = 2; */ BLEED = 2, /** * @generated from enum value: ALIGNMENT_SPECIFIED_SIZE = 3; */ SPECIFIED_SIZE = 3, } // Retrieve enum metadata with: proto3.getEnumType(Alignment) proto3.util.setEnumType(Alignment, "preflight.v2.Alignment", [ { no: 0, name: "ALIGNMENT_UNSPECIFIED" }, { no: 1, name: "ALIGNMENT_TRIM" }, { no: 2, name: "ALIGNMENT_BLEED" }, { no: 3, name: "ALIGNMENT_SPECIFIED_SIZE" }, ]); /** * @generated from message preflight.v2.Guide */ export class Guide extends Message { /** * @generated from field: int64 id = 1; */ id = protoInt64.zero; /** * @generated from field: google.protobuf.Timestamp created_at = 2; */ createdAt?: Timestamp; /** * @generated from field: google.protobuf.Timestamp updated_at = 3; */ updatedAt?: Timestamp; /** * @generated from field: int64 artworker_id = 4; */ artworkerId = protoInt64.zero; /** * @generated from field: int64 guide_group_id = 5; */ guideGroupId = protoInt64.zero; /** * @generated from field: string name = 6; */ name = ""; /** * @generated from field: string description = 7; */ description = ""; /** * @generated from field: preflight.v2.Alignment alignment = 8; */ alignment = Alignment.UNSPECIFIED; /** * @generated from field: bool is_double_sided = 9; */ isDoubleSided = false; /** * @generated from field: int64 media_item_id = 10; */ mediaItemId = protoInt64.zero; /** * @generated from field: optional media.v1.Media media_item = 11; */ mediaItem?: Media; /** * @generated from field: optional double height = 12; */ height?: number; /** * @generated from field: optional double width = 13; */ width?: number; /** * @generated from field: optional int64 selected_size_preset_id = 14; */ selectedSizePresetId?: bigint; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "preflight.v2.Guide"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "id", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, { no: 2, name: "created_at", kind: "message", T: Timestamp }, { no: 3, name: "updated_at", kind: "message", T: Timestamp }, { no: 4, name: "artworker_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, { no: 5, name: "guide_group_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, { no: 6, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 7, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 8, name: "alignment", kind: "enum", T: proto3.getEnumType(Alignment) }, { no: 9, name: "is_double_sided", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, { no: 10, name: "media_item_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, { no: 11, name: "media_item", kind: "message", T: Media, opt: true }, { no: 12, name: "height", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true }, { no: 13, name: "width", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true }, { no: 14, name: "selected_size_preset_id", kind: "scalar", T: 3 /* ScalarType.INT64 */, opt: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): Guide { return new Guide().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): Guide { return new Guide().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): Guide { return new Guide().fromJsonString(jsonString, options); } static equals(a: Guide | PlainMessage | undefined, b: Guide | PlainMessage | undefined): boolean { return proto3.util.equals(Guide, a, b); } } /** * @generated from message preflight.v2.GuideGroup */ export class GuideGroup extends Message { /** * @generated from field: int64 id = 1; */ id = protoInt64.zero; /** * @generated from field: google.protobuf.Timestamp created_at = 2; */ createdAt?: Timestamp; /** * @generated from field: google.protobuf.Timestamp updated_at = 3; */ updatedAt?: Timestamp; /** * @generated from field: int64 artworker_id = 4; */ artworkerId = protoInt64.zero; /** * @generated from field: string name = 5; */ name = ""; /** * @generated from field: string description = 6; */ description = ""; /** * @generated from field: repeated preflight.v2.Guide guides = 7; */ guides: Guide[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "preflight.v2.GuideGroup"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "id", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, { no: 2, name: "created_at", kind: "message", T: Timestamp }, { no: 3, name: "updated_at", kind: "message", T: Timestamp }, { no: 4, name: "artworker_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, { no: 5, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 6, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 7, name: "guides", kind: "message", T: Guide, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): GuideGroup { return new GuideGroup().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): GuideGroup { return new GuideGroup().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): GuideGroup { return new GuideGroup().fromJsonString(jsonString, options); } static equals(a: GuideGroup | PlainMessage | undefined, b: GuideGroup | PlainMessage | undefined): boolean { return proto3.util.equals(GuideGroup, a, b); } } /** * Request/Response messages for GuideGroup operations * * @generated from message preflight.v2.GetGuideGroupsRequest */ export class GetGuideGroupsRequest extends Message { /** * @generated from field: int64 artworker_id = 1; */ artworkerId = protoInt64.zero; /** * @generated from field: bool preload_guides = 2; */ preloadGuides = false; /** * @generated from field: bool preload_media_items = 3; */ preloadMediaItems = false; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "preflight.v2.GetGuideGroupsRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "artworker_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, { no: 2, name: "preload_guides", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, { no: 3, name: "preload_media_items", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): GetGuideGroupsRequest { return new GetGuideGroupsRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): GetGuideGroupsRequest { return new GetGuideGroupsRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): GetGuideGroupsRequest { return new GetGuideGroupsRequest().fromJsonString(jsonString, options); } static equals(a: GetGuideGroupsRequest | PlainMessage | undefined, b: GetGuideGroupsRequest | PlainMessage | undefined): boolean { return proto3.util.equals(GetGuideGroupsRequest, a, b); } } /** * @generated from message preflight.v2.GetGuideGroupsResponse */ export class GetGuideGroupsResponse extends Message { /** * @generated from field: repeated preflight.v2.GuideGroup guide_groups = 1; */ guideGroups: GuideGroup[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "preflight.v2.GetGuideGroupsResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "guide_groups", kind: "message", T: GuideGroup, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): GetGuideGroupsResponse { return new GetGuideGroupsResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): GetGuideGroupsResponse { return new GetGuideGroupsResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): GetGuideGroupsResponse { return new GetGuideGroupsResponse().fromJsonString(jsonString, options); } static equals(a: GetGuideGroupsResponse | PlainMessage | undefined, b: GetGuideGroupsResponse | PlainMessage | undefined): boolean { return proto3.util.equals(GetGuideGroupsResponse, a, b); } } /** * @generated from message preflight.v2.GetGuideGroupRequest */ export class GetGuideGroupRequest extends Message { /** * @generated from field: int64 id = 1; */ id = protoInt64.zero; /** * @generated from field: bool preload_guides = 2; */ preloadGuides = false; /** * @generated from field: bool preload_media_items = 3; */ preloadMediaItems = false; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "preflight.v2.GetGuideGroupRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "id", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, { no: 2, name: "preload_guides", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, { no: 3, name: "preload_media_items", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): GetGuideGroupRequest { return new GetGuideGroupRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): GetGuideGroupRequest { return new GetGuideGroupRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): GetGuideGroupRequest { return new GetGuideGroupRequest().fromJsonString(jsonString, options); } static equals(a: GetGuideGroupRequest | PlainMessage | undefined, b: GetGuideGroupRequest | PlainMessage | undefined): boolean { return proto3.util.equals(GetGuideGroupRequest, a, b); } } /** * @generated from message preflight.v2.GetGuideGroupResponse */ export class GetGuideGroupResponse extends Message { /** * @generated from field: preflight.v2.GuideGroup guide_group = 1; */ guideGroup?: GuideGroup; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "preflight.v2.GetGuideGroupResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "guide_group", kind: "message", T: GuideGroup }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): GetGuideGroupResponse { return new GetGuideGroupResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): GetGuideGroupResponse { return new GetGuideGroupResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): GetGuideGroupResponse { return new GetGuideGroupResponse().fromJsonString(jsonString, options); } static equals(a: GetGuideGroupResponse | PlainMessage | undefined, b: GetGuideGroupResponse | PlainMessage | undefined): boolean { return proto3.util.equals(GetGuideGroupResponse, a, b); } } /** * @generated from message preflight.v2.CreateGuideGroupRequest */ export class CreateGuideGroupRequest extends Message { /** * @generated from field: preflight.v2.GuideGroup guide_group = 1; */ guideGroup?: GuideGroup; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "preflight.v2.CreateGuideGroupRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "guide_group", kind: "message", T: GuideGroup }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): CreateGuideGroupRequest { return new CreateGuideGroupRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): CreateGuideGroupRequest { return new CreateGuideGroupRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): CreateGuideGroupRequest { return new CreateGuideGroupRequest().fromJsonString(jsonString, options); } static equals(a: CreateGuideGroupRequest | PlainMessage | undefined, b: CreateGuideGroupRequest | PlainMessage | undefined): boolean { return proto3.util.equals(CreateGuideGroupRequest, a, b); } } /** * @generated from message preflight.v2.CreateGuideGroupResponse */ export class CreateGuideGroupResponse extends Message { /** * @generated from field: preflight.v2.GuideGroup guide_group = 1; */ guideGroup?: GuideGroup; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "preflight.v2.CreateGuideGroupResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "guide_group", kind: "message", T: GuideGroup }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): CreateGuideGroupResponse { return new CreateGuideGroupResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): CreateGuideGroupResponse { return new CreateGuideGroupResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): CreateGuideGroupResponse { return new CreateGuideGroupResponse().fromJsonString(jsonString, options); } static equals(a: CreateGuideGroupResponse | PlainMessage | undefined, b: CreateGuideGroupResponse | PlainMessage | undefined): boolean { return proto3.util.equals(CreateGuideGroupResponse, a, b); } } /** * @generated from message preflight.v2.UpdateGuideGroupRequest */ export class UpdateGuideGroupRequest extends Message { /** * @generated from field: preflight.v2.GuideGroup guide_group = 1; */ guideGroup?: GuideGroup; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "preflight.v2.UpdateGuideGroupRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "guide_group", kind: "message", T: GuideGroup }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): UpdateGuideGroupRequest { return new UpdateGuideGroupRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): UpdateGuideGroupRequest { return new UpdateGuideGroupRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): UpdateGuideGroupRequest { return new UpdateGuideGroupRequest().fromJsonString(jsonString, options); } static equals(a: UpdateGuideGroupRequest | PlainMessage | undefined, b: UpdateGuideGroupRequest | PlainMessage | undefined): boolean { return proto3.util.equals(UpdateGuideGroupRequest, a, b); } } /** * @generated from message preflight.v2.UpdateGuideGroupResponse */ export class UpdateGuideGroupResponse extends Message { /** * @generated from field: preflight.v2.GuideGroup guide_group = 1; */ guideGroup?: GuideGroup; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "preflight.v2.UpdateGuideGroupResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "guide_group", kind: "message", T: GuideGroup }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): UpdateGuideGroupResponse { return new UpdateGuideGroupResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): UpdateGuideGroupResponse { return new UpdateGuideGroupResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): UpdateGuideGroupResponse { return new UpdateGuideGroupResponse().fromJsonString(jsonString, options); } static equals(a: UpdateGuideGroupResponse | PlainMessage | undefined, b: UpdateGuideGroupResponse | PlainMessage | undefined): boolean { return proto3.util.equals(UpdateGuideGroupResponse, a, b); } } /** * @generated from message preflight.v2.DeleteGuideGroupRequest */ export class DeleteGuideGroupRequest extends Message { /** * @generated from field: int64 id = 1; */ id = protoInt64.zero; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "preflight.v2.DeleteGuideGroupRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "id", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): DeleteGuideGroupRequest { return new DeleteGuideGroupRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): DeleteGuideGroupRequest { return new DeleteGuideGroupRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): DeleteGuideGroupRequest { return new DeleteGuideGroupRequest().fromJsonString(jsonString, options); } static equals(a: DeleteGuideGroupRequest | PlainMessage | undefined, b: DeleteGuideGroupRequest | PlainMessage | undefined): boolean { return proto3.util.equals(DeleteGuideGroupRequest, a, b); } } /** * @generated from message preflight.v2.DeleteGuideGroupResponse */ export class DeleteGuideGroupResponse extends Message { /** * @generated from field: bool success = 1; */ success = false; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "preflight.v2.DeleteGuideGroupResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "success", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): DeleteGuideGroupResponse { return new DeleteGuideGroupResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): DeleteGuideGroupResponse { return new DeleteGuideGroupResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): DeleteGuideGroupResponse { return new DeleteGuideGroupResponse().fromJsonString(jsonString, options); } static equals(a: DeleteGuideGroupResponse | PlainMessage | undefined, b: DeleteGuideGroupResponse | PlainMessage | undefined): boolean { return proto3.util.equals(DeleteGuideGroupResponse, a, b); } } /** * Request/Response messages for Guide operations * * @generated from message preflight.v2.GetGuideRequest */ export class GetGuideRequest extends Message { /** * @generated from field: int64 id = 1; */ id = protoInt64.zero; /** * @generated from field: bool preload_media_item = 2; */ preloadMediaItem = false; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "preflight.v2.GetGuideRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "id", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, { no: 2, name: "preload_media_item", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): GetGuideRequest { return new GetGuideRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): GetGuideRequest { return new GetGuideRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): GetGuideRequest { return new GetGuideRequest().fromJsonString(jsonString, options); } static equals(a: GetGuideRequest | PlainMessage | undefined, b: GetGuideRequest | PlainMessage | undefined): boolean { return proto3.util.equals(GetGuideRequest, a, b); } } /** * @generated from message preflight.v2.GetGuideResponse */ export class GetGuideResponse extends Message { /** * @generated from field: preflight.v2.Guide guide = 1; */ guide?: Guide; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "preflight.v2.GetGuideResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "guide", kind: "message", T: Guide }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): GetGuideResponse { return new GetGuideResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): GetGuideResponse { return new GetGuideResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): GetGuideResponse { return new GetGuideResponse().fromJsonString(jsonString, options); } static equals(a: GetGuideResponse | PlainMessage | undefined, b: GetGuideResponse | PlainMessage | undefined): boolean { return proto3.util.equals(GetGuideResponse, a, b); } } /** * @generated from message preflight.v2.CreateGuideRequest */ export class CreateGuideRequest extends Message { /** * @generated from field: preflight.v2.Guide guide = 1; */ guide?: Guide; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "preflight.v2.CreateGuideRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "guide", kind: "message", T: Guide }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): CreateGuideRequest { return new CreateGuideRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): CreateGuideRequest { return new CreateGuideRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): CreateGuideRequest { return new CreateGuideRequest().fromJsonString(jsonString, options); } static equals(a: CreateGuideRequest | PlainMessage | undefined, b: CreateGuideRequest | PlainMessage | undefined): boolean { return proto3.util.equals(CreateGuideRequest, a, b); } } /** * @generated from message preflight.v2.CreateGuideResponse */ export class CreateGuideResponse extends Message { /** * @generated from field: preflight.v2.Guide guide = 1; */ guide?: Guide; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "preflight.v2.CreateGuideResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "guide", kind: "message", T: Guide }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): CreateGuideResponse { return new CreateGuideResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): CreateGuideResponse { return new CreateGuideResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): CreateGuideResponse { return new CreateGuideResponse().fromJsonString(jsonString, options); } static equals(a: CreateGuideResponse | PlainMessage | undefined, b: CreateGuideResponse | PlainMessage | undefined): boolean { return proto3.util.equals(CreateGuideResponse, a, b); } } /** * @generated from message preflight.v2.UpdateGuideRequest */ export class UpdateGuideRequest extends Message { /** * @generated from field: preflight.v2.Guide guide = 1; */ guide?: Guide; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "preflight.v2.UpdateGuideRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "guide", kind: "message", T: Guide }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): UpdateGuideRequest { return new UpdateGuideRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): UpdateGuideRequest { return new UpdateGuideRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): UpdateGuideRequest { return new UpdateGuideRequest().fromJsonString(jsonString, options); } static equals(a: UpdateGuideRequest | PlainMessage | undefined, b: UpdateGuideRequest | PlainMessage | undefined): boolean { return proto3.util.equals(UpdateGuideRequest, a, b); } } /** * @generated from message preflight.v2.UpdateGuideResponse */ export class UpdateGuideResponse extends Message { /** * @generated from field: preflight.v2.Guide guide = 1; */ guide?: Guide; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "preflight.v2.UpdateGuideResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "guide", kind: "message", T: Guide }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): UpdateGuideResponse { return new UpdateGuideResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): UpdateGuideResponse { return new UpdateGuideResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): UpdateGuideResponse { return new UpdateGuideResponse().fromJsonString(jsonString, options); } static equals(a: UpdateGuideResponse | PlainMessage | undefined, b: UpdateGuideResponse | PlainMessage | undefined): boolean { return proto3.util.equals(UpdateGuideResponse, a, b); } } /** * @generated from message preflight.v2.DeleteGuideRequest */ export class DeleteGuideRequest extends Message { /** * @generated from field: int64 id = 1; */ id = protoInt64.zero; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "preflight.v2.DeleteGuideRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "id", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): DeleteGuideRequest { return new DeleteGuideRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): DeleteGuideRequest { return new DeleteGuideRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): DeleteGuideRequest { return new DeleteGuideRequest().fromJsonString(jsonString, options); } static equals(a: DeleteGuideRequest | PlainMessage | undefined, b: DeleteGuideRequest | PlainMessage | undefined): boolean { return proto3.util.equals(DeleteGuideRequest, a, b); } } /** * @generated from message preflight.v2.DeleteGuideResponse */ export class DeleteGuideResponse extends Message { /** * @generated from field: bool success = 1; */ success = false; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "preflight.v2.DeleteGuideResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "success", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): DeleteGuideResponse { return new DeleteGuideResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): DeleteGuideResponse { return new DeleteGuideResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): DeleteGuideResponse { return new DeleteGuideResponse().fromJsonString(jsonString, options); } static equals(a: DeleteGuideResponse | PlainMessage | undefined, b: DeleteGuideResponse | PlainMessage | undefined): boolean { return proto3.util.equals(DeleteGuideResponse, a, b); } }