| 1 | // @generated by protoc-gen-es v1.10.0 with parameter "target=ts,import_extension=none" |
| 2 | // @generated from file types/v1/feature.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 } from "@bufbuild/protobuf"; |
| 8 | |
| 9 | /** |
| 10 | * @generated from message types.v1.Feature |
| 11 | */ |
| 12 | export class Feature extends Message<Feature> { |
| 13 | /** |
| 14 | * @generated from field: string name = 1; |
| 15 | */ |
| 16 | name = ""; |
| 17 | |
| 18 | constructor(data?: PartialMessage<Feature>) { |
| 19 | super(); |
| 20 | proto3.util.initPartial(data, this); |
| 21 | } |
| 22 | |
| 23 | static readonly runtime: typeof proto3 = proto3; |
| 24 | static readonly typeName = "types.v1.Feature"; |
| 25 | static readonly fields: FieldList = proto3.util.newFieldList(() => [ |
| 26 | { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, |
| 27 | ]); |
| 28 | |
| 29 | static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Feature { |
| 30 | return new Feature().fromBinary(bytes, options); |
| 31 | } |
| 32 | |
| 33 | static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Feature { |
| 34 | return new Feature().fromJson(jsonValue, options); |
| 35 | } |
| 36 | |
| 37 | static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Feature { |
| 38 | return new Feature().fromJsonString(jsonString, options); |
| 39 | } |
| 40 | |
| 41 | static equals(a: Feature | PlainMessage<Feature> | undefined, b: Feature | PlainMessage<Feature> | undefined): boolean { |
| 42 | return proto3.util.equals(Feature, a, b); |
| 43 | } |
| 44 | } |
| 45 |