// @generated by protoc-gen-es v1.10.0 with parameter "target=ts" // @generated from file viz-project-settings.proto (package vizapi, syntax proto3) /* eslint-disable */ // @ts-nocheck import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto3 } from "@bufbuild/protobuf"; import { RequestProjectHeader } from "./core/shared_pb.js"; import { GetOrganisationSettingResult } from "./viz-organisation-settings_pb.js"; /** * @generated from message vizapi.ProjectSetting */ export class ProjectSetting extends Message { /** * @generated from field: string ProjectID = 1; */ ProjectID = ""; /** * @generated from field: string Key = 2; */ Key = ""; /** * @generated from field: string Value = 3; */ Value = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "vizapi.ProjectSetting"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "ProjectID", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "Key", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 3, name: "Value", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): ProjectSetting { return new ProjectSetting().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): ProjectSetting { return new ProjectSetting().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): ProjectSetting { return new ProjectSetting().fromJsonString(jsonString, options); } static equals(a: ProjectSetting | PlainMessage | undefined, b: ProjectSetting | PlainMessage | undefined): boolean { return proto3.util.equals(ProjectSetting, a, b); } } /** * Key, Value pair to store * * @generated from message vizapi.PutProjectSettingRequest */ export class PutProjectSettingRequest extends Message { /** * @generated from field: api.RequestProjectHeader Header = 1; */ Header?: RequestProjectHeader; /** * @generated from field: string Key = 2; */ Key = ""; /** * @generated from field: string Value = 3; */ Value = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "vizapi.PutProjectSettingRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "Header", kind: "message", T: RequestProjectHeader }, { no: 2, name: "Key", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 3, name: "Value", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): PutProjectSettingRequest { return new PutProjectSettingRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): PutProjectSettingRequest { return new PutProjectSettingRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): PutProjectSettingRequest { return new PutProjectSettingRequest().fromJsonString(jsonString, options); } static equals(a: PutProjectSettingRequest | PlainMessage | undefined, b: PutProjectSettingRequest | PlainMessage | undefined): boolean { return proto3.util.equals(PutProjectSettingRequest, a, b); } } /** * Key, Value pair response * * @generated from message vizapi.PutProjectSettingResult */ export class PutProjectSettingResult extends Message { /** * @generated from field: string Key = 1; */ Key = ""; /** * @generated from field: string Value = 2; */ Value = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "vizapi.PutProjectSettingResult"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "Key", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "Value", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): PutProjectSettingResult { return new PutProjectSettingResult().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): PutProjectSettingResult { return new PutProjectSettingResult().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): PutProjectSettingResult { return new PutProjectSettingResult().fromJsonString(jsonString, options); } static equals(a: PutProjectSettingResult | PlainMessage | undefined, b: PutProjectSettingResult | PlainMessage | undefined): boolean { return proto3.util.equals(PutProjectSettingResult, a, b); } } /** * Key of the project's setting to get * * @generated from message vizapi.GetProjectSettingRequest */ export class GetProjectSettingRequest extends Message { /** * @generated from field: api.RequestProjectHeader Header = 1; */ Header?: RequestProjectHeader; /** * @generated from field: string Key = 2; */ Key = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "vizapi.GetProjectSettingRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "Header", kind: "message", T: RequestProjectHeader }, { no: 2, name: "Key", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): GetProjectSettingRequest { return new GetProjectSettingRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): GetProjectSettingRequest { return new GetProjectSettingRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): GetProjectSettingRequest { return new GetProjectSettingRequest().fromJsonString(jsonString, options); } static equals(a: GetProjectSettingRequest | PlainMessage | undefined, b: GetProjectSettingRequest | PlainMessage | undefined): boolean { return proto3.util.equals(GetProjectSettingRequest, a, b); } } /** * Key, Value pair response * * @generated from message vizapi.GetProjectSettingResult */ export class GetProjectSettingResult extends Message { /** * @generated from field: string Key = 1; */ Key = ""; /** * @generated from field: string Value = 2; */ Value = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "vizapi.GetProjectSettingResult"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "Key", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "Value", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): GetProjectSettingResult { return new GetProjectSettingResult().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): GetProjectSettingResult { return new GetProjectSettingResult().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): GetProjectSettingResult { return new GetProjectSettingResult().fromJsonString(jsonString, options); } static equals(a: GetProjectSettingResult | PlainMessage | undefined, b: GetProjectSettingResult | PlainMessage | undefined): boolean { return proto3.util.equals(GetProjectSettingResult, a, b); } } /** * Key of the project's setting to delete * * @generated from message vizapi.DeleteProjectSettingRequest */ export class DeleteProjectSettingRequest extends Message { /** * @generated from field: api.RequestProjectHeader Header = 1; */ Header?: RequestProjectHeader; /** * @generated from field: string Key = 2; */ Key = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "vizapi.DeleteProjectSettingRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "Header", kind: "message", T: RequestProjectHeader }, { no: 2, name: "Key", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): DeleteProjectSettingRequest { return new DeleteProjectSettingRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): DeleteProjectSettingRequest { return new DeleteProjectSettingRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): DeleteProjectSettingRequest { return new DeleteProjectSettingRequest().fromJsonString(jsonString, options); } static equals(a: DeleteProjectSettingRequest | PlainMessage | undefined, b: DeleteProjectSettingRequest | PlainMessage | undefined): boolean { return proto3.util.equals(DeleteProjectSettingRequest, a, b); } } /** * @generated from message vizapi.DeleteProjectSettingResult */ export class DeleteProjectSettingResult extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "vizapi.DeleteProjectSettingResult"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): DeleteProjectSettingResult { return new DeleteProjectSettingResult().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): DeleteProjectSettingResult { return new DeleteProjectSettingResult().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): DeleteProjectSettingResult { return new DeleteProjectSettingResult().fromJsonString(jsonString, options); } static equals(a: DeleteProjectSettingResult | PlainMessage | undefined, b: DeleteProjectSettingResult | PlainMessage | undefined): boolean { return proto3.util.equals(DeleteProjectSettingResult, a, b); } } /** * @generated from message vizapi.ListProjectSettingsRequest */ export class ListProjectSettingsRequest extends Message { /** * @generated from field: api.RequestProjectHeader Header = 1; */ Header?: RequestProjectHeader; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "vizapi.ListProjectSettingsRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "Header", kind: "message", T: RequestProjectHeader }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): ListProjectSettingsRequest { return new ListProjectSettingsRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): ListProjectSettingsRequest { return new ListProjectSettingsRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): ListProjectSettingsRequest { return new ListProjectSettingsRequest().fromJsonString(jsonString, options); } static equals(a: ListProjectSettingsRequest | PlainMessage | undefined, b: ListProjectSettingsRequest | PlainMessage | undefined): boolean { return proto3.util.equals(ListProjectSettingsRequest, a, b); } } /** * List of the project's settings * * @generated from message vizapi.ListProjectSettingsResult */ export class ListProjectSettingsResult extends Message { /** * @generated from field: repeated vizapi.GetProjectSettingResult ProjectSettings = 1; */ ProjectSettings: GetProjectSettingResult[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "vizapi.ListProjectSettingsResult"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "ProjectSettings", kind: "message", T: GetProjectSettingResult, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): ListProjectSettingsResult { return new ListProjectSettingsResult().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): ListProjectSettingsResult { return new ListProjectSettingsResult().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): ListProjectSettingsResult { return new ListProjectSettingsResult().fromJsonString(jsonString, options); } static equals(a: ListProjectSettingsResult | PlainMessage | undefined, b: ListProjectSettingsResult | PlainMessage | undefined): boolean { return proto3.util.equals(ListProjectSettingsResult, a, b); } } /** * @generated from message vizapi.ListProjectOrganisationSettingsRequest */ export class ListProjectOrganisationSettingsRequest extends Message { /** * @generated from field: api.RequestProjectHeader Header = 1; */ Header?: RequestProjectHeader; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "vizapi.ListProjectOrganisationSettingsRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "Header", kind: "message", T: RequestProjectHeader }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): ListProjectOrganisationSettingsRequest { return new ListProjectOrganisationSettingsRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): ListProjectOrganisationSettingsRequest { return new ListProjectOrganisationSettingsRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): ListProjectOrganisationSettingsRequest { return new ListProjectOrganisationSettingsRequest().fromJsonString(jsonString, options); } static equals(a: ListProjectOrganisationSettingsRequest | PlainMessage | undefined, b: ListProjectOrganisationSettingsRequest | PlainMessage | undefined): boolean { return proto3.util.equals(ListProjectOrganisationSettingsRequest, a, b); } } /** * List of the project's settings * * @generated from message vizapi.ListProjectOrganisationSettingsResult */ export class ListProjectOrganisationSettingsResult extends Message { /** * @generated from field: repeated vizapi.GetOrganisationSettingResult OrganisationSettings = 1; */ OrganisationSettings: GetOrganisationSettingResult[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "vizapi.ListProjectOrganisationSettingsResult"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "OrganisationSettings", kind: "message", T: GetOrganisationSettingResult, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): ListProjectOrganisationSettingsResult { return new ListProjectOrganisationSettingsResult().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): ListProjectOrganisationSettingsResult { return new ListProjectOrganisationSettingsResult().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): ListProjectOrganisationSettingsResult { return new ListProjectOrganisationSettingsResult().fromJsonString(jsonString, options); } static equals(a: ListProjectOrganisationSettingsResult | PlainMessage | undefined, b: ListProjectOrganisationSettingsResult | PlainMessage | undefined): boolean { return proto3.util.equals(ListProjectOrganisationSettingsResult, a, b); } } /** * @generated from message vizapi.DeleteSettingsForProjectRequest */ export class DeleteSettingsForProjectRequest extends Message { /** * @generated from field: string ProjectID = 1; */ ProjectID = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "vizapi.DeleteSettingsForProjectRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "ProjectID", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): DeleteSettingsForProjectRequest { return new DeleteSettingsForProjectRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): DeleteSettingsForProjectRequest { return new DeleteSettingsForProjectRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): DeleteSettingsForProjectRequest { return new DeleteSettingsForProjectRequest().fromJsonString(jsonString, options); } static equals(a: DeleteSettingsForProjectRequest | PlainMessage | undefined, b: DeleteSettingsForProjectRequest | PlainMessage | undefined): boolean { return proto3.util.equals(DeleteSettingsForProjectRequest, a, b); } } /** * @generated from message vizapi.DeleteSettingsForProjectResult */ export class DeleteSettingsForProjectResult extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "vizapi.DeleteSettingsForProjectResult"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): DeleteSettingsForProjectResult { return new DeleteSettingsForProjectResult().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): DeleteSettingsForProjectResult { return new DeleteSettingsForProjectResult().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): DeleteSettingsForProjectResult { return new DeleteSettingsForProjectResult().fromJsonString(jsonString, options); } static equals(a: DeleteSettingsForProjectResult | PlainMessage | undefined, b: DeleteSettingsForProjectResult | PlainMessage | undefined): boolean { return proto3.util.equals(DeleteSettingsForProjectResult, a, b); } }