// @generated by protoc-gen-es v1.10.1 with parameter "target=ts" // @generated from file media/v1/comments.proto (package media.v1, syntax proto3) /* eslint-disable */ // @ts-nocheck import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto3, protoInt64 } from "@bufbuild/protobuf"; /** * @generated from message media.v1.Comment */ export class Comment extends Message { /** * @generated from field: int64 id = 1; */ id = protoInt64.zero; /** * @generated from field: string created_at = 2; */ createdAt = ""; /** * @generated from field: string updated_at = 3; */ updatedAt = ""; /** * @generated from field: int64 comment_id = 4; */ commentId = protoInt64.zero; /** * @generated from field: string user_initials = 5; */ userInitials = ""; /** * @generated from field: int64 user_id = 6; */ userId = protoInt64.zero; /** * @generated from field: string user_type = 7; */ userType = ""; /** * @generated from field: string comment = 8; */ comment = ""; /** * @generated from field: bool active = 15; */ active = false; /** * @generated from field: string user_name = 16; */ userName = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "media.v1.Comment"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "id", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, { no: 2, name: "created_at", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 3, name: "updated_at", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 4, name: "comment_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, { no: 5, name: "user_initials", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 6, name: "user_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, { no: 7, name: "user_type", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 8, name: "comment", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 15, name: "active", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, { no: 16, name: "user_name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): Comment { return new Comment().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): Comment { return new Comment().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): Comment { return new Comment().fromJsonString(jsonString, options); } static equals(a: Comment | PlainMessage | undefined, b: Comment | PlainMessage | undefined): boolean { return proto3.util.equals(Comment, a, b); } } /** * @generated from message media.v1.Thread */ export class Thread extends Message { /** * @generated from field: int64 id = 1; */ id = protoInt64.zero; /** * @generated from field: string created_at = 2; */ createdAt = ""; /** * @generated from field: string updated_at = 3; */ updatedAt = ""; /** * @generated from field: int64 page_id = 4; */ pageId = protoInt64.zero; /** * @generated from field: int64 media_item_id = 5; */ mediaItemId = protoInt64.zero; /** * @generated from field: repeated media.v1.Comment comments = 6; */ comments: Comment[] = []; /** * @generated from field: int32 x_coordinate_px = 7; */ xCoordinatePx = 0; /** * @generated from field: int32 y_coordinate_px = 8; */ yCoordinatePx = 0; /** * @generated from field: bool resolved = 9; */ resolved = false; /** * @generated from field: media.v1.Thread.ThreadType type = 10; */ type = Thread_ThreadType.UNDEFINED; /** * @generated from field: bool active = 11; */ active = false; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "media.v1.Thread"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "id", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, { no: 2, name: "created_at", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 3, name: "updated_at", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 4, name: "page_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, { no: 5, name: "media_item_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, { no: 6, name: "comments", kind: "message", T: Comment, repeated: true }, { no: 7, name: "x_coordinate_px", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, { no: 8, name: "y_coordinate_px", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, { no: 9, name: "resolved", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, { no: 10, name: "type", kind: "enum", T: proto3.getEnumType(Thread_ThreadType) }, { no: 11, name: "active", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): Thread { return new Thread().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): Thread { return new Thread().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): Thread { return new Thread().fromJsonString(jsonString, options); } static equals(a: Thread | PlainMessage | undefined, b: Thread | PlainMessage | undefined): boolean { return proto3.util.equals(Thread, a, b); } } /** * @generated from enum media.v1.Thread.ThreadType */ export enum Thread_ThreadType { /** * @generated from enum value: THREAD_TYPE_UNDEFINED = 0; */ UNDEFINED = 0, /** * @generated from enum value: THREAD_TYPE_ANNOTATION = 1; */ ANNOTATION = 1, /** * @generated from enum value: THREAD_TYPE_STANDARD = 2; */ STANDARD = 2, } // Retrieve enum metadata with: proto3.getEnumType(Thread_ThreadType) proto3.util.setEnumType(Thread_ThreadType, "media.v1.Thread.ThreadType", [ { no: 0, name: "THREAD_TYPE_UNDEFINED" }, { no: 1, name: "THREAD_TYPE_ANNOTATION" }, { no: 2, name: "THREAD_TYPE_STANDARD" }, ]); /** * @generated from message media.v1.CreateMediaThreadRequest */ export class CreateMediaThreadRequest extends Message { /** * @generated from field: media.v1.Thread thread = 1; */ thread?: Thread; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "media.v1.CreateMediaThreadRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "thread", kind: "message", T: Thread }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): CreateMediaThreadRequest { return new CreateMediaThreadRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): CreateMediaThreadRequest { return new CreateMediaThreadRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): CreateMediaThreadRequest { return new CreateMediaThreadRequest().fromJsonString(jsonString, options); } static equals(a: CreateMediaThreadRequest | PlainMessage | undefined, b: CreateMediaThreadRequest | PlainMessage | undefined): boolean { return proto3.util.equals(CreateMediaThreadRequest, a, b); } } /** * @generated from message media.v1.CreateMediaThreadResponse */ export class CreateMediaThreadResponse extends Message { /** * @generated from field: media.v1.Thread thread = 1; */ thread?: Thread; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "media.v1.CreateMediaThreadResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "thread", kind: "message", T: Thread }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): CreateMediaThreadResponse { return new CreateMediaThreadResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): CreateMediaThreadResponse { return new CreateMediaThreadResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): CreateMediaThreadResponse { return new CreateMediaThreadResponse().fromJsonString(jsonString, options); } static equals(a: CreateMediaThreadResponse | PlainMessage | undefined, b: CreateMediaThreadResponse | PlainMessage | undefined): boolean { return proto3.util.equals(CreateMediaThreadResponse, a, b); } } /** * @generated from message media.v1.GetThreadsForMediaItemRequest */ export class GetThreadsForMediaItemRequest extends Message { /** * @generated from field: int64 media_item_id = 1; */ mediaItemId = protoInt64.zero; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "media.v1.GetThreadsForMediaItemRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "media_item_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): GetThreadsForMediaItemRequest { return new GetThreadsForMediaItemRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): GetThreadsForMediaItemRequest { return new GetThreadsForMediaItemRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): GetThreadsForMediaItemRequest { return new GetThreadsForMediaItemRequest().fromJsonString(jsonString, options); } static equals(a: GetThreadsForMediaItemRequest | PlainMessage | undefined, b: GetThreadsForMediaItemRequest | PlainMessage | undefined): boolean { return proto3.util.equals(GetThreadsForMediaItemRequest, a, b); } } /** * @generated from message media.v1.GetThreadsForMediaItemResponse */ export class GetThreadsForMediaItemResponse extends Message { /** * @generated from field: repeated media.v1.Thread threads = 1; */ threads: Thread[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "media.v1.GetThreadsForMediaItemResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "threads", kind: "message", T: Thread, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): GetThreadsForMediaItemResponse { return new GetThreadsForMediaItemResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): GetThreadsForMediaItemResponse { return new GetThreadsForMediaItemResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): GetThreadsForMediaItemResponse { return new GetThreadsForMediaItemResponse().fromJsonString(jsonString, options); } static equals(a: GetThreadsForMediaItemResponse | PlainMessage | undefined, b: GetThreadsForMediaItemResponse | PlainMessage | undefined): boolean { return proto3.util.equals(GetThreadsForMediaItemResponse, a, b); } } /** * @generated from message media.v1.UpdateMediaThreadRequest */ export class UpdateMediaThreadRequest extends Message { /** * @generated from field: media.v1.Thread thread = 1; */ thread?: Thread; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "media.v1.UpdateMediaThreadRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "thread", kind: "message", T: Thread }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): UpdateMediaThreadRequest { return new UpdateMediaThreadRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): UpdateMediaThreadRequest { return new UpdateMediaThreadRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): UpdateMediaThreadRequest { return new UpdateMediaThreadRequest().fromJsonString(jsonString, options); } static equals(a: UpdateMediaThreadRequest | PlainMessage | undefined, b: UpdateMediaThreadRequest | PlainMessage | undefined): boolean { return proto3.util.equals(UpdateMediaThreadRequest, a, b); } } /** * @generated from message media.v1.UpdateMediaThreadResponse */ export class UpdateMediaThreadResponse extends Message { /** * @generated from field: media.v1.Thread thread = 1; */ thread?: Thread; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "media.v1.UpdateMediaThreadResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "thread", kind: "message", T: Thread }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): UpdateMediaThreadResponse { return new UpdateMediaThreadResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): UpdateMediaThreadResponse { return new UpdateMediaThreadResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): UpdateMediaThreadResponse { return new UpdateMediaThreadResponse().fromJsonString(jsonString, options); } static equals(a: UpdateMediaThreadResponse | PlainMessage | undefined, b: UpdateMediaThreadResponse | PlainMessage | undefined): boolean { return proto3.util.equals(UpdateMediaThreadResponse, a, b); } } /** * @generated from message media.v1.ResolveMediaThreadRequest */ export class ResolveMediaThreadRequest 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 = "media.v1.ResolveMediaThreadRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "id", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): ResolveMediaThreadRequest { return new ResolveMediaThreadRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): ResolveMediaThreadRequest { return new ResolveMediaThreadRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): ResolveMediaThreadRequest { return new ResolveMediaThreadRequest().fromJsonString(jsonString, options); } static equals(a: ResolveMediaThreadRequest | PlainMessage | undefined, b: ResolveMediaThreadRequest | PlainMessage | undefined): boolean { return proto3.util.equals(ResolveMediaThreadRequest, a, b); } } /** * @generated from message media.v1.ResolveMediaThreadResponse */ export class ResolveMediaThreadResponse extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "media.v1.ResolveMediaThreadResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): ResolveMediaThreadResponse { return new ResolveMediaThreadResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): ResolveMediaThreadResponse { return new ResolveMediaThreadResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): ResolveMediaThreadResponse { return new ResolveMediaThreadResponse().fromJsonString(jsonString, options); } static equals(a: ResolveMediaThreadResponse | PlainMessage | undefined, b: ResolveMediaThreadResponse | PlainMessage | undefined): boolean { return proto3.util.equals(ResolveMediaThreadResponse, a, b); } } /** * @generated from message media.v1.UnResolveMediaThreadRequest */ export class UnResolveMediaThreadRequest 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 = "media.v1.UnResolveMediaThreadRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "id", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): UnResolveMediaThreadRequest { return new UnResolveMediaThreadRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): UnResolveMediaThreadRequest { return new UnResolveMediaThreadRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): UnResolveMediaThreadRequest { return new UnResolveMediaThreadRequest().fromJsonString(jsonString, options); } static equals(a: UnResolveMediaThreadRequest | PlainMessage | undefined, b: UnResolveMediaThreadRequest | PlainMessage | undefined): boolean { return proto3.util.equals(UnResolveMediaThreadRequest, a, b); } } /** * @generated from message media.v1.UnResolveMediaThreadResponse */ export class UnResolveMediaThreadResponse extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "media.v1.UnResolveMediaThreadResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): UnResolveMediaThreadResponse { return new UnResolveMediaThreadResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): UnResolveMediaThreadResponse { return new UnResolveMediaThreadResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): UnResolveMediaThreadResponse { return new UnResolveMediaThreadResponse().fromJsonString(jsonString, options); } static equals(a: UnResolveMediaThreadResponse | PlainMessage | undefined, b: UnResolveMediaThreadResponse | PlainMessage | undefined): boolean { return proto3.util.equals(UnResolveMediaThreadResponse, a, b); } } /** * @generated from message media.v1.CreateMediaCommentRequest */ export class CreateMediaCommentRequest extends Message { /** * @generated from field: int64 thread_id = 1; */ threadId = protoInt64.zero; /** * @generated from field: media.v1.Comment comment = 2; */ comment?: Comment; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "media.v1.CreateMediaCommentRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "thread_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, { no: 2, name: "comment", kind: "message", T: Comment }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): CreateMediaCommentRequest { return new CreateMediaCommentRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): CreateMediaCommentRequest { return new CreateMediaCommentRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): CreateMediaCommentRequest { return new CreateMediaCommentRequest().fromJsonString(jsonString, options); } static equals(a: CreateMediaCommentRequest | PlainMessage | undefined, b: CreateMediaCommentRequest | PlainMessage | undefined): boolean { return proto3.util.equals(CreateMediaCommentRequest, a, b); } } /** * @generated from message media.v1.CreateMediaCommentResponse */ export class CreateMediaCommentResponse extends Message { /** * @generated from field: media.v1.Comment comment = 1; */ comment?: Comment; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "media.v1.CreateMediaCommentResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "comment", kind: "message", T: Comment }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): CreateMediaCommentResponse { return new CreateMediaCommentResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): CreateMediaCommentResponse { return new CreateMediaCommentResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): CreateMediaCommentResponse { return new CreateMediaCommentResponse().fromJsonString(jsonString, options); } static equals(a: CreateMediaCommentResponse | PlainMessage | undefined, b: CreateMediaCommentResponse | PlainMessage | undefined): boolean { return proto3.util.equals(CreateMediaCommentResponse, a, b); } } /** * @generated from message media.v1.UpdateMediaCommentRequest */ export class UpdateMediaCommentRequest extends Message { /** * @generated from field: media.v1.Comment comment = 1; */ comment?: Comment; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "media.v1.UpdateMediaCommentRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "comment", kind: "message", T: Comment }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): UpdateMediaCommentRequest { return new UpdateMediaCommentRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): UpdateMediaCommentRequest { return new UpdateMediaCommentRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): UpdateMediaCommentRequest { return new UpdateMediaCommentRequest().fromJsonString(jsonString, options); } static equals(a: UpdateMediaCommentRequest | PlainMessage | undefined, b: UpdateMediaCommentRequest | PlainMessage | undefined): boolean { return proto3.util.equals(UpdateMediaCommentRequest, a, b); } } /** * @generated from message media.v1.UpdateMediaCommentResponse */ export class UpdateMediaCommentResponse extends Message { /** * @generated from field: media.v1.Comment comment = 1; */ comment?: Comment; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "media.v1.UpdateMediaCommentResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "comment", kind: "message", T: Comment }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): UpdateMediaCommentResponse { return new UpdateMediaCommentResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): UpdateMediaCommentResponse { return new UpdateMediaCommentResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): UpdateMediaCommentResponse { return new UpdateMediaCommentResponse().fromJsonString(jsonString, options); } static equals(a: UpdateMediaCommentResponse | PlainMessage | undefined, b: UpdateMediaCommentResponse | PlainMessage | undefined): boolean { return proto3.util.equals(UpdateMediaCommentResponse, a, b); } } /** * @generated from message media.v1.DeleteMediaCommentRequest */ export class DeleteMediaCommentRequest extends Message { /** * @generated from field: int64 thread_id = 1; */ threadId = protoInt64.zero; /** * @generated from field: int64 id = 2; */ id = protoInt64.zero; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "media.v1.DeleteMediaCommentRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "thread_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, { no: 2, name: "id", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): DeleteMediaCommentRequest { return new DeleteMediaCommentRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): DeleteMediaCommentRequest { return new DeleteMediaCommentRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): DeleteMediaCommentRequest { return new DeleteMediaCommentRequest().fromJsonString(jsonString, options); } static equals(a: DeleteMediaCommentRequest | PlainMessage | undefined, b: DeleteMediaCommentRequest | PlainMessage | undefined): boolean { return proto3.util.equals(DeleteMediaCommentRequest, a, b); } } /** * @generated from message media.v1.DeleteMediaCommentResponse */ export class DeleteMediaCommentResponse extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "media.v1.DeleteMediaCommentResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): DeleteMediaCommentResponse { return new DeleteMediaCommentResponse().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): DeleteMediaCommentResponse { return new DeleteMediaCommentResponse().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): DeleteMediaCommentResponse { return new DeleteMediaCommentResponse().fromJsonString(jsonString, options); } static equals(a: DeleteMediaCommentResponse | PlainMessage | undefined, b: DeleteMediaCommentResponse | PlainMessage | undefined): boolean { return proto3.util.equals(DeleteMediaCommentResponse, a, b); } }