// @generated by protoc-gen-es v1.10.0 with parameter "target=ts" // @generated from file viz-view.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 { BlockFilter, RequestProjectHeader } from "./core/shared_pb.js"; /** * @generated from message vizapi.View */ export class View extends Message { /** * Identifier of the View * * @generated from field: string ViewID = 1; */ ViewID = ""; /** * Identifier of the Project * * @generated from field: string ProjectID = 2; */ ProjectID = ""; /** * Identifier of the screen * * @generated from field: string ScreenID = 3; */ ScreenID = ""; /** * Identifier of the user who created * * @generated from field: string CreateUserID = 4; */ CreateUserID = ""; /** * Identifier of the user who did last update * * @generated from field: string UpdateUserID = 5; */ UpdateUserID = ""; /** * Date of creation in ISO 8601 format with time zone (accepted tzd formats: [+01:00, -01:00, Z] * * @generated from field: string CreateDateTime = 6; */ CreateDateTime = ""; /** * Date of last update in ISO 8601 format with time zone (accepted tzd formats: [+01:00, -01:00, Z] * * @generated from field: string UpdateDateTime = 7; */ UpdateDateTime = ""; /** * Content of the View * * @generated from field: string Payload = 10; */ Payload = ""; /** * Visibility of the View * * @generated from field: bool IsPrivate = 12; */ IsPrivate = false; /** * Name of the View * * @generated from field: string Name = 13; */ Name = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "vizapi.View"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "ViewID", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "ProjectID", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 3, name: "ScreenID", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 4, name: "CreateUserID", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 5, name: "UpdateUserID", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 6, name: "CreateDateTime", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 7, name: "UpdateDateTime", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 10, name: "Payload", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 12, name: "IsPrivate", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, { no: 13, name: "Name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): View { return new View().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): View { return new View().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): View { return new View().fromJsonString(jsonString, options); } static equals(a: View | PlainMessage | undefined, b: View | PlainMessage | undefined): boolean { return proto3.util.equals(View, a, b); } } /** * @generated from message vizapi.ComposedUserView */ export class ComposedUserView extends Message { /** * Identifier of the View * * @generated from field: string ViewID = 1; */ ViewID = ""; /** * Name of the View * * @generated from field: string Name = 2; */ Name = ""; /** * Identifier of the User * * @generated from field: string UserID = 3; */ UserID = ""; /** * Identifier of the Project * * @generated from field: string ProjectID = 4; */ ProjectID = ""; /** * Identifier of the Screen * * @generated from field: string ScreenID = 5; */ ScreenID = ""; /** * Content of the View * * @generated from field: string Payload = 6; */ Payload = ""; /** * Visibility of the View * * @generated from field: bool IsPrivate = 9; */ IsPrivate = false; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "vizapi.ComposedUserView"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "ViewID", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "Name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 3, name: "UserID", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 4, name: "ProjectID", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 5, name: "ScreenID", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 6, name: "Payload", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 9, name: "IsPrivate", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): ComposedUserView { return new ComposedUserView().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): ComposedUserView { return new ComposedUserView().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): ComposedUserView { return new ComposedUserView().fromJsonString(jsonString, options); } static equals(a: ComposedUserView | PlainMessage | undefined, b: ComposedUserView | PlainMessage | undefined): boolean { return proto3.util.equals(ComposedUserView, a, b); } } /** * IDs of the View * * @generated from message vizapi.GetViewRequest */ export class GetViewRequest extends Message { /** * @generated from field: api.RequestProjectHeader Header = 1; */ Header?: RequestProjectHeader; /** * Identifier of the View * * @generated from field: string ViewID = 2; */ ViewID = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "vizapi.GetViewRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "Header", kind: "message", T: RequestProjectHeader }, { no: 2, name: "ViewID", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): GetViewRequest { return new GetViewRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): GetViewRequest { return new GetViewRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): GetViewRequest { return new GetViewRequest().fromJsonString(jsonString, options); } static equals(a: GetViewRequest | PlainMessage | undefined, b: GetViewRequest | PlainMessage | undefined): boolean { return proto3.util.equals(GetViewRequest, a, b); } } /** * All information about the View * * @generated from message vizapi.GetViewResult */ export class GetViewResult extends Message { /** * @generated from field: vizapi.ComposedUserView Result = 1; */ Result?: ComposedUserView; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "vizapi.GetViewResult"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "Result", kind: "message", T: ComposedUserView }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): GetViewResult { return new GetViewResult().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): GetViewResult { return new GetViewResult().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): GetViewResult { return new GetViewResult().fromJsonString(jsonString, options); } static equals(a: GetViewResult | PlainMessage | undefined, b: GetViewResult | PlainMessage | undefined): boolean { return proto3.util.equals(GetViewResult, a, b); } } /** * Information that needs to be stored * * @generated from message vizapi.CreateViewRequest */ export class CreateViewRequest extends Message { /** * @generated from field: api.RequestProjectHeader Header = 1; */ Header?: RequestProjectHeader; /** * Name of the View * * @generated from field: string Name = 2; */ Name = ""; /** * Identifier of the Screen * * @generated from field: string ScreenID = 3; */ ScreenID = ""; /** * Content of the View * * @generated from field: string Payload = 5; */ Payload = ""; /** * Visibility of the View * * @generated from field: bool IsPrivate = 7; */ IsPrivate = false; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "vizapi.CreateViewRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "Header", kind: "message", T: RequestProjectHeader }, { no: 2, name: "Name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 3, name: "ScreenID", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 5, name: "Payload", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 7, name: "IsPrivate", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): CreateViewRequest { return new CreateViewRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): CreateViewRequest { return new CreateViewRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): CreateViewRequest { return new CreateViewRequest().fromJsonString(jsonString, options); } static equals(a: CreateViewRequest | PlainMessage | undefined, b: CreateViewRequest | PlainMessage | undefined): boolean { return proto3.util.equals(CreateViewRequest, a, b); } } /** * ID of the created View * * @generated from message vizapi.CreateViewResult */ export class CreateViewResult extends Message { /** * Identifier of the View * * @generated from field: string ViewID = 1; */ ViewID = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "vizapi.CreateViewResult"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "ViewID", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): CreateViewResult { return new CreateViewResult().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): CreateViewResult { return new CreateViewResult().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): CreateViewResult { return new CreateViewResult().fromJsonString(jsonString, options); } static equals(a: CreateViewResult | PlainMessage | undefined, b: CreateViewResult | PlainMessage | undefined): boolean { return proto3.util.equals(CreateViewResult, a, b); } } /** * Information that needs to be updated * * @generated from message vizapi.UpdateViewRequest */ export class UpdateViewRequest extends Message { /** * @generated from field: api.RequestProjectHeader Header = 1; */ Header?: RequestProjectHeader; /** * Identifier of the View * * @generated from field: string ViewID = 2; */ ViewID = ""; /** * Name of the View * * @generated from field: string Name = 3; */ Name = ""; /** * Identifier of the Screen * * @generated from field: string ScreenID = 4; */ ScreenID = ""; /** * Content of the View * * @generated from field: string Payload = 6; */ Payload = ""; /** * Visibility of the View * * @generated from field: bool IsPrivate = 8; */ IsPrivate = false; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "vizapi.UpdateViewRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "Header", kind: "message", T: RequestProjectHeader }, { no: 2, name: "ViewID", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 3, name: "Name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 4, name: "ScreenID", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 6, name: "Payload", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 8, name: "IsPrivate", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): UpdateViewRequest { return new UpdateViewRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): UpdateViewRequest { return new UpdateViewRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): UpdateViewRequest { return new UpdateViewRequest().fromJsonString(jsonString, options); } static equals(a: UpdateViewRequest | PlainMessage | undefined, b: UpdateViewRequest | PlainMessage | undefined): boolean { return proto3.util.equals(UpdateViewRequest, a, b); } } /** * Updated View ID * * @generated from message vizapi.UpdateViewResult */ export class UpdateViewResult extends Message { /** * Identifier of the View * * @generated from field: string ViewID = 1; */ ViewID = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "vizapi.UpdateViewResult"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "ViewID", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): UpdateViewResult { return new UpdateViewResult().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): UpdateViewResult { return new UpdateViewResult().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): UpdateViewResult { return new UpdateViewResult().fromJsonString(jsonString, options); } static equals(a: UpdateViewResult | PlainMessage | undefined, b: UpdateViewResult | PlainMessage | undefined): boolean { return proto3.util.equals(UpdateViewResult, a, b); } } /** * IDs of the View to be deleted * * @generated from message vizapi.DeleteViewRequest */ export class DeleteViewRequest extends Message { /** * @generated from field: api.RequestProjectHeader Header = 1; */ Header?: RequestProjectHeader; /** * Identifier of the View * * @generated from field: string ViewID = 2; */ ViewID = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "vizapi.DeleteViewRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "Header", kind: "message", T: RequestProjectHeader }, { no: 2, name: "ViewID", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): DeleteViewRequest { return new DeleteViewRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): DeleteViewRequest { return new DeleteViewRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): DeleteViewRequest { return new DeleteViewRequest().fromJsonString(jsonString, options); } static equals(a: DeleteViewRequest | PlainMessage | undefined, b: DeleteViewRequest | PlainMessage | undefined): boolean { return proto3.util.equals(DeleteViewRequest, a, b); } } /** * @generated from message vizapi.DeleteViewResult */ export class DeleteViewResult extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "vizapi.DeleteViewResult"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): DeleteViewResult { return new DeleteViewResult().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): DeleteViewResult { return new DeleteViewResult().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): DeleteViewResult { return new DeleteViewResult().fromJsonString(jsonString, options); } static equals(a: DeleteViewResult | PlainMessage | undefined, b: DeleteViewResult | PlainMessage | undefined): boolean { return proto3.util.equals(DeleteViewResult, a, b); } } /** * @generated from message vizapi.ListViewRequest */ export class ListViewRequest extends Message { /** * @generated from field: api.RequestProjectHeader Header = 1; */ Header?: RequestProjectHeader; /** * Identifier of the Screen * * @generated from field: string ScreenID = 2; */ ScreenID = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "vizapi.ListViewRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "Header", kind: "message", T: RequestProjectHeader }, { no: 2, name: "ScreenID", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): ListViewRequest { return new ListViewRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): ListViewRequest { return new ListViewRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): ListViewRequest { return new ListViewRequest().fromJsonString(jsonString, options); } static equals(a: ListViewRequest | PlainMessage | undefined, b: ListViewRequest | PlainMessage | undefined): boolean { return proto3.util.equals(ListViewRequest, a, b); } } /** * List of Views * * @generated from message vizapi.ListViewResult */ export class ListViewResult extends Message { /** * All information in a View * * @generated from field: repeated vizapi.ComposedUserView Results = 1; */ Results: ComposedUserView[] = []; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "vizapi.ListViewResult"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "Results", kind: "message", T: ComposedUserView, repeated: true }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): ListViewResult { return new ListViewResult().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): ListViewResult { return new ListViewResult().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): ListViewResult { return new ListViewResult().fromJsonString(jsonString, options); } static equals(a: ListViewResult | PlainMessage | undefined, b: ListViewResult | PlainMessage | undefined): boolean { return proto3.util.equals(ListViewResult, a, b); } } /** * @generated from message vizapi.DeleteViewsForProjectRequest */ export class DeleteViewsForProjectRequest extends Message { /** * Identifier of the Project * * @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.DeleteViewsForProjectRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "ProjectID", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): DeleteViewsForProjectRequest { return new DeleteViewsForProjectRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): DeleteViewsForProjectRequest { return new DeleteViewsForProjectRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): DeleteViewsForProjectRequest { return new DeleteViewsForProjectRequest().fromJsonString(jsonString, options); } static equals(a: DeleteViewsForProjectRequest | PlainMessage | undefined, b: DeleteViewsForProjectRequest | PlainMessage | undefined): boolean { return proto3.util.equals(DeleteViewsForProjectRequest, a, b); } } /** * @generated from message vizapi.DeleteViewsForProjectResult */ export class DeleteViewsForProjectResult extends Message { constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "vizapi.DeleteViewsForProjectResult"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ ]); static fromBinary(bytes: Uint8Array, options?: Partial): DeleteViewsForProjectResult { return new DeleteViewsForProjectResult().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): DeleteViewsForProjectResult { return new DeleteViewsForProjectResult().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): DeleteViewsForProjectResult { return new DeleteViewsForProjectResult().fromJsonString(jsonString, options); } static equals(a: DeleteViewsForProjectResult | PlainMessage | undefined, b: DeleteViewsForProjectResult | PlainMessage | undefined): boolean { return proto3.util.equals(DeleteViewsForProjectResult, a, b); } } /** * @generated from message vizapi.TranslationMap */ export class TranslationMap extends Message { /** * @generated from field: map data = 1; */ data: { [key: string]: string } = {}; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "vizapi.TranslationMap"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "data", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): TranslationMap { return new TranslationMap().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): TranslationMap { return new TranslationMap().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): TranslationMap { return new TranslationMap().fromJsonString(jsonString, options); } static equals(a: TranslationMap | PlainMessage | undefined, b: TranslationMap | PlainMessage | undefined): boolean { return proto3.util.equals(TranslationMap, a, b); } } /** * @generated from message vizapi.ExtractColumnFormat */ export class ExtractColumnFormat extends Message { /** * @generated from field: vizapi.ExtractColumnFormat.type Type = 1; */ Type = ExtractColumnFormat_type.UNKNOWN; /** * @generated from field: string Format = 2; */ Format = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "vizapi.ExtractColumnFormat"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "Type", kind: "enum", T: proto3.getEnumType(ExtractColumnFormat_type) }, { no: 2, name: "Format", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): ExtractColumnFormat { return new ExtractColumnFormat().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): ExtractColumnFormat { return new ExtractColumnFormat().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): ExtractColumnFormat { return new ExtractColumnFormat().fromJsonString(jsonString, options); } static equals(a: ExtractColumnFormat | PlainMessage | undefined, b: ExtractColumnFormat | PlainMessage | undefined): boolean { return proto3.util.equals(ExtractColumnFormat, a, b); } } /** * @generated from enum vizapi.ExtractColumnFormat.type */ export enum ExtractColumnFormat_type { /** * @generated from enum value: UNKNOWN = 0; */ UNKNOWN = 0, /** * @generated from enum value: DATE = 1; */ DATE = 1, /** * @generated from enum value: SUFFIX = 2; */ SUFFIX = 2, } // Retrieve enum metadata with: proto3.getEnumType(ExtractColumnFormat_type) proto3.util.setEnumType(ExtractColumnFormat_type, "vizapi.ExtractColumnFormat.type", [ { no: 0, name: "UNKNOWN" }, { no: 1, name: "DATE" }, { no: 2, name: "SUFFIX" }, ]); /** * @generated from message vizapi.ExtractRequest */ export class ExtractRequest extends Message { /** * @generated from field: api.RequestProjectHeader Header = 1; */ Header?: RequestProjectHeader; /** * @generated from field: string ViewID = 2; */ ViewID = ""; /** * BlockFilter structure for Find query * * @generated from field: repeated api.BlockFilter BlockFilters = 3; */ BlockFilters: BlockFilter[] = []; /** * Range filter structure for Find query * * @generated from field: string ListSeparator = 4; */ ListSeparator = ""; /** * @generated from field: string DecimalSeparator = 5; */ DecimalSeparator = ""; /** * @generated from field: map ColumnTranslationMaps = 8; */ ColumnTranslationMaps: { [key: string]: TranslationMap } = {}; /** * @generated from field: map ColumnFormats = 9; */ ColumnFormats: { [key: number]: ExtractColumnFormat } = {}; /** * @generated from field: string TargetTimeZone = 10; */ TargetTimeZone = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "vizapi.ExtractRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "Header", kind: "message", T: RequestProjectHeader }, { no: 2, name: "ViewID", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 3, name: "BlockFilters", kind: "message", T: BlockFilter, repeated: true }, { no: 4, name: "ListSeparator", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 5, name: "DecimalSeparator", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 8, name: "ColumnTranslationMaps", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "message", T: TranslationMap} }, { no: 9, name: "ColumnFormats", kind: "map", K: 5 /* ScalarType.INT32 */, V: {kind: "message", T: ExtractColumnFormat} }, { no: 10, name: "TargetTimeZone", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): ExtractRequest { return new ExtractRequest().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): ExtractRequest { return new ExtractRequest().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): ExtractRequest { return new ExtractRequest().fromJsonString(jsonString, options); } static equals(a: ExtractRequest | PlainMessage | undefined, b: ExtractRequest | PlainMessage | undefined): boolean { return proto3.util.equals(ExtractRequest, a, b); } } /** * @generated from message vizapi.ExtractResult */ export class ExtractResult extends Message { /** * @generated from field: string WorkflowID = 1; */ WorkflowID = ""; /** * @generated from field: string RunID = 2; */ RunID = ""; constructor(data?: PartialMessage) { super(); proto3.util.initPartial(data, this); } static readonly runtime: typeof proto3 = proto3; static readonly typeName = "vizapi.ExtractResult"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ { no: 1, name: "WorkflowID", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 2, name: "RunID", kind: "scalar", T: 9 /* ScalarType.STRING */ }, ]); static fromBinary(bytes: Uint8Array, options?: Partial): ExtractResult { return new ExtractResult().fromBinary(bytes, options); } static fromJson(jsonValue: JsonValue, options?: Partial): ExtractResult { return new ExtractResult().fromJson(jsonValue, options); } static fromJsonString(jsonString: string, options?: Partial): ExtractResult { return new ExtractResult().fromJsonString(jsonString, options); } static equals(a: ExtractResult | PlainMessage | undefined, b: ExtractResult | PlainMessage | undefined): boolean { return proto3.util.equals(ExtractResult, a, b); } }