Debian Codegraph @

js/types/v1/meta_pb.ts

raw symbols SCIP
1 // @generated by protoc-gen-es v1.10.0 with parameter "target=ts,import_extension=none"
2 // @generated from file types/v1/meta.proto (package types.v1, syntax proto3)
3 /* eslint-disable */
4 // @ts-nocheck
5
6 import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
7 import { Message, proto3, protoInt64 } from "@bufbuild/protobuf";
8
9 /**
10 * @generated from message types.v1.ReqMeta
11 */
12 export class ReqMeta extends Message<ReqMeta> {
13 /**
14 * @generated from field: int64 machine_id = 2;
15 */
16 machineId = protoInt64.zero;
17
18 constructor(data?: PartialMessage<ReqMeta>) {
19 super();
20 proto3.util.initPartial(data, this);
21 }
22
23 static readonly runtime: typeof proto3 = proto3;
24 static readonly typeName = "types.v1.ReqMeta";
25 static readonly fields: FieldList = proto3.util.newFieldList(() => [
26 { no: 2, name: "machine_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
27 ]);
28
29 static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ReqMeta {
30 return new ReqMeta().fromBinary(bytes, options);
31 }
32
33 static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ReqMeta {
34 return new ReqMeta().fromJson(jsonValue, options);
35 }
36
37 static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ReqMeta {
38 return new ReqMeta().fromJsonString(jsonString, options);
39 }
40
41 static equals(a: ReqMeta | PlainMessage<ReqMeta> | undefined, b: ReqMeta | PlainMessage<ReqMeta> | undefined): boolean {
42 return proto3.util.equals(ReqMeta, a, b);
43 }
44 }
45
46 /**
47 * @generated from message types.v1.ResMeta
48 */
49 export class ResMeta extends Message<ResMeta> {
50 /**
51 * @generated from field: int64 machine_id = 2;
52 */
53 machineId = protoInt64.zero;
54
55 constructor(data?: PartialMessage<ResMeta>) {
56 super();
57 proto3.util.initPartial(data, this);
58 }
59
60 static readonly runtime: typeof proto3 = proto3;
61 static readonly typeName = "types.v1.ResMeta";
62 static readonly fields: FieldList = proto3.util.newFieldList(() => [
63 { no: 2, name: "machine_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
64 ]);
65
66 static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ResMeta {
67 return new ResMeta().fromBinary(bytes, options);
68 }
69
70 static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ResMeta {
71 return new ResMeta().fromJson(jsonValue, options);
72 }
73
74 static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ResMeta {
75 return new ResMeta().fromJsonString(jsonString, options);
76 }
77
78 static equals(a: ResMeta | PlainMessage<ResMeta> | undefined, b: ResMeta | PlainMessage<ResMeta> | undefined): boolean {
79 return proto3.util.equals(ResMeta, a, b);
80 }
81 }
82