// @generated by protoc-gen-es v1.10.0 with parameter "target=ts" // @generated from file sf/substreams/index/v1/keys.proto (package sf.substreams.index.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 sf.substreams.index.v1.Keys */ export class Keys extends Message { /** * @generated from field: repeated string keys = 1; */ keys: string[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "sf.substreams.index.v1.Keys"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "keys", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): Keys { return new Keys().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): Keys { return new Keys().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): Keys { return new Keys().fromJsonString(jsonString, options); } static equals(a: Keys | PlainMessage | undefined, b: Keys | PlainMessage | undefined): boolean { return proto3.util.equals(Keys, a, b); } }