You've already forked npm-viz-sdk
2716 lines
136 KiB
TypeScript
2716 lines
136 KiB
TypeScript
// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name
|
|
// @generated from protobuf file "viz-view.proto" (package "vizapi", syntax proto3)
|
|
// tslint:disable
|
|
import { ServiceType } from "@protobuf-ts/runtime-rpc";
|
|
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
|
|
import type { IBinaryWriter } from "@protobuf-ts/runtime";
|
|
import { WireType } from "@protobuf-ts/runtime";
|
|
import type { BinaryReadOptions } from "@protobuf-ts/runtime";
|
|
import type { IBinaryReader } from "@protobuf-ts/runtime";
|
|
import { UnknownFieldHandler } from "@protobuf-ts/runtime";
|
|
import type { PartialMessage } from "@protobuf-ts/runtime";
|
|
import { reflectionMergePartial } from "@protobuf-ts/runtime";
|
|
import { MessageType } from "@protobuf-ts/runtime";
|
|
import { BlockFilter } from "./core/shared";
|
|
import { RequestProjectHeader } from "./core/shared";
|
|
/**
|
|
* @generated from protobuf message vizapi.View
|
|
*/
|
|
export interface View {
|
|
/**
|
|
* Identifier of the View
|
|
*
|
|
* @generated from protobuf field: string ViewID = 1
|
|
*/
|
|
ViewID: string;
|
|
/**
|
|
* Identifier of the Project
|
|
*
|
|
* @generated from protobuf field: string ProjectID = 2
|
|
*/
|
|
ProjectID: string;
|
|
/**
|
|
* Identifier of the screen
|
|
*
|
|
* @generated from protobuf field: string ScreenID = 3
|
|
*/
|
|
ScreenID: string;
|
|
/**
|
|
* Identifier of the user who created
|
|
*
|
|
* @generated from protobuf field: string CreateUserID = 4
|
|
*/
|
|
CreateUserID: string;
|
|
/**
|
|
* Identifier of the user who did last update
|
|
*
|
|
* @generated from protobuf field: string UpdateUserID = 5
|
|
*/
|
|
UpdateUserID: string;
|
|
/**
|
|
* Date of creation in ISO 8601 format with time zone (accepted tzd formats: [+01:00, -01:00, Z]
|
|
*
|
|
* @generated from protobuf field: string CreateDateTime = 6
|
|
*/
|
|
CreateDateTime: string;
|
|
/**
|
|
* Date of last update in ISO 8601 format with time zone (accepted tzd formats: [+01:00, -01:00, Z]
|
|
*
|
|
* @generated from protobuf field: string UpdateDateTime = 7
|
|
*/
|
|
UpdateDateTime: string;
|
|
/**
|
|
* Content of the View
|
|
*
|
|
* @generated from protobuf field: string Payload = 10
|
|
*/
|
|
Payload: string;
|
|
/**
|
|
* Visibility of the View
|
|
*
|
|
* @generated from protobuf field: bool IsPrivate = 12
|
|
*/
|
|
IsPrivate: boolean;
|
|
/**
|
|
* Name of the View
|
|
*
|
|
* @generated from protobuf field: string Name = 13
|
|
*/
|
|
Name: string;
|
|
}
|
|
/**
|
|
* @generated from protobuf message vizapi.ComposedUserView
|
|
*/
|
|
export interface ComposedUserView {
|
|
/**
|
|
* Identifier of the View
|
|
*
|
|
* @generated from protobuf field: string ViewID = 1
|
|
*/
|
|
ViewID: string;
|
|
/**
|
|
* Name of the View
|
|
*
|
|
* @generated from protobuf field: string Name = 2
|
|
*/
|
|
Name: string;
|
|
/**
|
|
* Identifier of the User
|
|
*
|
|
* @generated from protobuf field: string UserID = 3
|
|
*/
|
|
UserID: string;
|
|
/**
|
|
* Identifier of the Project
|
|
*
|
|
* @generated from protobuf field: string ProjectID = 4
|
|
*/
|
|
ProjectID: string;
|
|
/**
|
|
* Identifier of the Screen
|
|
*
|
|
* @generated from protobuf field: string ScreenID = 5
|
|
*/
|
|
ScreenID: string;
|
|
/**
|
|
* Content of the View
|
|
*
|
|
* @generated from protobuf field: string Payload = 6
|
|
*/
|
|
Payload: string;
|
|
/**
|
|
* Visibility of the View
|
|
*
|
|
* @generated from protobuf field: bool IsPrivate = 9
|
|
*/
|
|
IsPrivate: boolean;
|
|
}
|
|
/**
|
|
* IDs of the View
|
|
*
|
|
* @generated from protobuf message vizapi.GetViewRequest
|
|
*/
|
|
export interface GetViewRequest {
|
|
/**
|
|
* @generated from protobuf field: api.RequestProjectHeader Header = 1
|
|
*/
|
|
Header?: RequestProjectHeader;
|
|
/**
|
|
* Identifier of the View
|
|
*
|
|
* @generated from protobuf field: string ViewID = 2
|
|
*/
|
|
ViewID: string;
|
|
}
|
|
/**
|
|
* All information about the View
|
|
*
|
|
* @generated from protobuf message vizapi.GetViewResult
|
|
*/
|
|
export interface GetViewResult {
|
|
/**
|
|
* @generated from protobuf field: vizapi.ComposedUserView Result = 1
|
|
*/
|
|
Result?: ComposedUserView;
|
|
}
|
|
/**
|
|
* Information that needs to be stored
|
|
*
|
|
* @generated from protobuf message vizapi.CreateViewRequest
|
|
*/
|
|
export interface CreateViewRequest {
|
|
/**
|
|
* @generated from protobuf field: api.RequestProjectHeader Header = 1
|
|
*/
|
|
Header?: RequestProjectHeader;
|
|
/**
|
|
* Name of the View
|
|
*
|
|
* @generated from protobuf field: string Name = 2
|
|
*/
|
|
Name: string;
|
|
/**
|
|
* Identifier of the Screen
|
|
*
|
|
* @generated from protobuf field: string ScreenID = 3
|
|
*/
|
|
ScreenID: string;
|
|
/**
|
|
* Content of the View
|
|
*
|
|
* @generated from protobuf field: string Payload = 5
|
|
*/
|
|
Payload: string;
|
|
/**
|
|
* Visibility of the View
|
|
*
|
|
* @generated from protobuf field: bool IsPrivate = 7
|
|
*/
|
|
IsPrivate: boolean;
|
|
}
|
|
/**
|
|
* ID of the created View
|
|
*
|
|
* @generated from protobuf message vizapi.CreateViewResult
|
|
*/
|
|
export interface CreateViewResult {
|
|
/**
|
|
* Identifier of the View
|
|
*
|
|
* @generated from protobuf field: string ViewID = 1
|
|
*/
|
|
ViewID: string;
|
|
}
|
|
/**
|
|
* Information that needs to be updated
|
|
*
|
|
* @generated from protobuf message vizapi.UpdateViewRequest
|
|
*/
|
|
export interface UpdateViewRequest {
|
|
/**
|
|
* @generated from protobuf field: api.RequestProjectHeader Header = 1
|
|
*/
|
|
Header?: RequestProjectHeader;
|
|
/**
|
|
* Identifier of the View
|
|
*
|
|
* @generated from protobuf field: string ViewID = 2
|
|
*/
|
|
ViewID: string;
|
|
/**
|
|
* Name of the View
|
|
*
|
|
* @generated from protobuf field: string Name = 3
|
|
*/
|
|
Name: string;
|
|
/**
|
|
* Identifier of the Screen
|
|
*
|
|
* @generated from protobuf field: string ScreenID = 4
|
|
*/
|
|
ScreenID: string;
|
|
/**
|
|
* Content of the View
|
|
*
|
|
* @generated from protobuf field: string Payload = 6
|
|
*/
|
|
Payload: string;
|
|
/**
|
|
* Visibility of the View
|
|
*
|
|
* @generated from protobuf field: bool IsPrivate = 8
|
|
*/
|
|
IsPrivate: boolean;
|
|
}
|
|
/**
|
|
* Updated View ID
|
|
*
|
|
* @generated from protobuf message vizapi.UpdateViewResult
|
|
*/
|
|
export interface UpdateViewResult {
|
|
/**
|
|
* Identifier of the View
|
|
*
|
|
* @generated from protobuf field: string ViewID = 1
|
|
*/
|
|
ViewID: string;
|
|
}
|
|
/**
|
|
* IDs of the View to be deleted
|
|
*
|
|
* @generated from protobuf message vizapi.DeleteViewRequest
|
|
*/
|
|
export interface DeleteViewRequest {
|
|
/**
|
|
* @generated from protobuf field: api.RequestProjectHeader Header = 1
|
|
*/
|
|
Header?: RequestProjectHeader;
|
|
/**
|
|
* Identifier of the View
|
|
*
|
|
* @generated from protobuf field: string ViewID = 2
|
|
*/
|
|
ViewID: string;
|
|
}
|
|
/**
|
|
* option (deprecated) = true;
|
|
*
|
|
* @generated from protobuf message vizapi.DeleteViewResult
|
|
*/
|
|
export interface DeleteViewResult {
|
|
}
|
|
/**
|
|
* @generated from protobuf message vizapi.ListViewRequest
|
|
*/
|
|
export interface ListViewRequest {
|
|
/**
|
|
* @generated from protobuf field: api.RequestProjectHeader Header = 1
|
|
*/
|
|
Header?: RequestProjectHeader;
|
|
/**
|
|
* Identifier of the Screen
|
|
*
|
|
* @generated from protobuf field: string ScreenID = 2
|
|
*/
|
|
ScreenID: string;
|
|
}
|
|
/**
|
|
* List of Views
|
|
*
|
|
* @generated from protobuf message vizapi.ListViewResult
|
|
*/
|
|
export interface ListViewResult {
|
|
/**
|
|
* All information in a View
|
|
*
|
|
* @generated from protobuf field: repeated vizapi.ComposedUserView Results = 1
|
|
*/
|
|
Results: ComposedUserView[];
|
|
}
|
|
/**
|
|
* IDs of the View
|
|
*
|
|
* @generated from protobuf message vizapi.GetProjectViewRequest
|
|
*/
|
|
export interface GetProjectViewRequest {
|
|
/**
|
|
* @generated from protobuf field: api.RequestProjectHeader Header = 1
|
|
*/
|
|
Header?: RequestProjectHeader;
|
|
/**
|
|
* Identifier of the View
|
|
*
|
|
* @generated from protobuf field: string ViewID = 2
|
|
*/
|
|
ViewID: string;
|
|
}
|
|
/**
|
|
* All information about the View
|
|
*
|
|
* @generated from protobuf message vizapi.GetProjectViewResult
|
|
*/
|
|
export interface GetProjectViewResult {
|
|
/**
|
|
* @generated from protobuf field: vizapi.ComposedUserView Result = 1
|
|
*/
|
|
Result?: ComposedUserView;
|
|
}
|
|
/**
|
|
* Information that needs to be stored
|
|
*
|
|
* @generated from protobuf message vizapi.CreateProjectViewRequest
|
|
*/
|
|
export interface CreateProjectViewRequest {
|
|
/**
|
|
* @generated from protobuf field: api.RequestProjectHeader Header = 1
|
|
*/
|
|
Header?: RequestProjectHeader;
|
|
/**
|
|
* Name of the View
|
|
*
|
|
* @generated from protobuf field: string Name = 2
|
|
*/
|
|
Name: string;
|
|
/**
|
|
* Identifier of the Screen
|
|
*
|
|
* @generated from protobuf field: string ScreenID = 3
|
|
*/
|
|
ScreenID: string;
|
|
/**
|
|
* Content of the View
|
|
*
|
|
* @generated from protobuf field: string Payload = 5
|
|
*/
|
|
Payload: string;
|
|
/**
|
|
* Visibility of the View
|
|
*
|
|
* @generated from protobuf field: bool IsPrivate = 7
|
|
*/
|
|
IsPrivate: boolean;
|
|
}
|
|
/**
|
|
* ID of the created View
|
|
*
|
|
* @generated from protobuf message vizapi.CreateProjectViewResult
|
|
*/
|
|
export interface CreateProjectViewResult {
|
|
/**
|
|
* Identifier of the View
|
|
*
|
|
* @generated from protobuf field: string ViewID = 1
|
|
*/
|
|
ViewID: string;
|
|
}
|
|
/**
|
|
* Information that needs to be updated
|
|
*
|
|
* @generated from protobuf message vizapi.UpdateProjectViewRequest
|
|
*/
|
|
export interface UpdateProjectViewRequest {
|
|
/**
|
|
* @generated from protobuf field: api.RequestProjectHeader Header = 1
|
|
*/
|
|
Header?: RequestProjectHeader;
|
|
/**
|
|
* Identifier of the View
|
|
*
|
|
* @generated from protobuf field: string ViewID = 2
|
|
*/
|
|
ViewID: string;
|
|
/**
|
|
* Name of the View
|
|
*
|
|
* @generated from protobuf field: string Name = 3
|
|
*/
|
|
Name: string;
|
|
/**
|
|
* Identifier of the Screen
|
|
*
|
|
* @generated from protobuf field: string ScreenID = 4
|
|
*/
|
|
ScreenID: string;
|
|
/**
|
|
* Content of the View
|
|
*
|
|
* @generated from protobuf field: string Payload = 6
|
|
*/
|
|
Payload: string;
|
|
/**
|
|
* Visibility of the View
|
|
*
|
|
* @generated from protobuf field: bool IsPrivate = 8
|
|
*/
|
|
IsPrivate: boolean;
|
|
}
|
|
/**
|
|
* Updated View ID
|
|
*
|
|
* @generated from protobuf message vizapi.UpdateProjectViewResult
|
|
*/
|
|
export interface UpdateProjectViewResult {
|
|
/**
|
|
* Identifier of the View
|
|
*
|
|
* @generated from protobuf field: string ViewID = 1
|
|
*/
|
|
ViewID: string;
|
|
}
|
|
/**
|
|
* IDs of the View to be deleted
|
|
*
|
|
* @generated from protobuf message vizapi.DeleteProjectViewRequest
|
|
*/
|
|
export interface DeleteProjectViewRequest {
|
|
/**
|
|
* @generated from protobuf field: api.RequestProjectHeader Header = 1
|
|
*/
|
|
Header?: RequestProjectHeader;
|
|
/**
|
|
* Identifier of the View
|
|
*
|
|
* @generated from protobuf field: string ViewID = 2
|
|
*/
|
|
ViewID: string;
|
|
}
|
|
/**
|
|
* @generated from protobuf message vizapi.DeleteProjectViewResult
|
|
*/
|
|
export interface DeleteProjectViewResult {
|
|
}
|
|
/**
|
|
* @generated from protobuf message vizapi.ListProjectViewRequest
|
|
*/
|
|
export interface ListProjectViewRequest {
|
|
/**
|
|
* @generated from protobuf field: api.RequestProjectHeader Header = 1
|
|
*/
|
|
Header?: RequestProjectHeader;
|
|
/**
|
|
* Identifier of the Screen
|
|
*
|
|
* @generated from protobuf field: string ScreenID = 2
|
|
*/
|
|
ScreenID: string;
|
|
}
|
|
/**
|
|
* List of Views
|
|
*
|
|
* @generated from protobuf message vizapi.ListProjectViewResult
|
|
*/
|
|
export interface ListProjectViewResult {
|
|
/**
|
|
* All information in a View
|
|
*
|
|
* @generated from protobuf field: repeated vizapi.ComposedUserView Results = 1
|
|
*/
|
|
Results: ComposedUserView[];
|
|
}
|
|
/**
|
|
* @generated from protobuf message vizapi.DeleteViewsForProjectRequest
|
|
*/
|
|
export interface DeleteViewsForProjectRequest {
|
|
/**
|
|
* Identifier of the Project
|
|
*
|
|
* @generated from protobuf field: string ProjectID = 1
|
|
*/
|
|
ProjectID: string;
|
|
}
|
|
/**
|
|
* @generated from protobuf message vizapi.DeleteViewsForProjectResult
|
|
*/
|
|
export interface DeleteViewsForProjectResult {
|
|
}
|
|
/**
|
|
* @generated from protobuf message vizapi.TranslationMap
|
|
*/
|
|
export interface TranslationMap {
|
|
/**
|
|
* @generated from protobuf field: map<string, string> data = 1
|
|
*/
|
|
data: {
|
|
[key: string]: string;
|
|
};
|
|
}
|
|
/**
|
|
* @generated from protobuf message vizapi.ExtractColumnFormat
|
|
*/
|
|
export interface ExtractColumnFormat {
|
|
/**
|
|
* @generated from protobuf field: vizapi.ExtractColumnFormat.type Type = 1
|
|
*/
|
|
Type: ExtractColumnFormat_type;
|
|
/**
|
|
* @generated from protobuf field: string Format = 2
|
|
*/
|
|
Format: string;
|
|
/**
|
|
* @generated from protobuf field: vizapi.DisplayDate DisplayDate = 3
|
|
*/
|
|
DisplayDate: DisplayDate;
|
|
}
|
|
/**
|
|
* @generated from protobuf enum vizapi.ExtractColumnFormat.type
|
|
*/
|
|
export enum ExtractColumnFormat_type {
|
|
/**
|
|
* @generated from protobuf enum value: UNKNOWN = 0;
|
|
*/
|
|
UNKNOWN = 0,
|
|
/**
|
|
* @generated from protobuf enum value: DATE = 1;
|
|
*/
|
|
DATE = 1,
|
|
/**
|
|
* @generated from protobuf enum value: SUFFIX = 2;
|
|
*/
|
|
SUFFIX = 2,
|
|
/**
|
|
* @generated from protobuf enum value: NUMBER = 3;
|
|
*/
|
|
NUMBER = 3
|
|
}
|
|
/**
|
|
* @generated from protobuf message vizapi.ExtractRequest
|
|
*/
|
|
export interface ExtractRequest {
|
|
/**
|
|
* @generated from protobuf field: api.RequestProjectHeader Header = 1
|
|
*/
|
|
Header?: RequestProjectHeader;
|
|
/**
|
|
* @generated from protobuf field: string ViewID = 2
|
|
*/
|
|
ViewID: string;
|
|
/**
|
|
* BlockFilter structure for Find query
|
|
*
|
|
* @generated from protobuf field: repeated api.BlockFilter BlockFilters = 3
|
|
*/
|
|
BlockFilters: BlockFilter[];
|
|
/**
|
|
* Range filter structure for Find query
|
|
*
|
|
* @generated from protobuf field: string ListSeparator = 4
|
|
*/
|
|
ListSeparator: string;
|
|
/**
|
|
* @generated from protobuf field: string DecimalSeparator = 5
|
|
*/
|
|
DecimalSeparator: string;
|
|
/**
|
|
* @generated from protobuf field: map<string, vizapi.TranslationMap> ColumnTranslationMaps = 8
|
|
*/
|
|
ColumnTranslationMaps: {
|
|
[key: string]: TranslationMap;
|
|
};
|
|
/**
|
|
* @generated from protobuf field: map<int32, vizapi.ExtractColumnFormat> ColumnFormats = 9
|
|
*/
|
|
ColumnFormats: {
|
|
[key: number]: ExtractColumnFormat;
|
|
};
|
|
/**
|
|
* @generated from protobuf field: string TargetTimeZone = 10
|
|
*/
|
|
TargetTimeZone: string;
|
|
/**
|
|
* @generated from protobuf field: string DateFormat = 11
|
|
*/
|
|
DateFormat: string;
|
|
/**
|
|
* @generated from protobuf field: string NumberFormat = 12
|
|
*/
|
|
NumberFormat: string;
|
|
/**
|
|
* @generated from protobuf field: vizapi.TimeFormat TimeFormat = 13
|
|
*/
|
|
TimeFormat: TimeFormat;
|
|
}
|
|
/**
|
|
* @generated from protobuf message vizapi.ExtractResult
|
|
*/
|
|
export interface ExtractResult {
|
|
/**
|
|
* @generated from protobuf field: string WorkflowID = 1
|
|
*/
|
|
WorkflowID: string;
|
|
/**
|
|
* @generated from protobuf field: string RunID = 2
|
|
*/
|
|
RunID: string;
|
|
}
|
|
/**
|
|
* @generated from protobuf message vizapi.ExtractProjectRequest
|
|
*/
|
|
export interface ExtractProjectRequest {
|
|
/**
|
|
* @generated from protobuf field: api.RequestProjectHeader Header = 1
|
|
*/
|
|
Header?: RequestProjectHeader;
|
|
/**
|
|
* @generated from protobuf field: string ViewID = 2
|
|
*/
|
|
ViewID: string;
|
|
/**
|
|
* BlockFilter structure for Find query
|
|
*
|
|
* @generated from protobuf field: repeated api.BlockFilter BlockFilters = 3
|
|
*/
|
|
BlockFilters: BlockFilter[];
|
|
/**
|
|
* Range filter structure for Find query
|
|
*
|
|
* @generated from protobuf field: string ListSeparator = 4
|
|
*/
|
|
ListSeparator: string;
|
|
/**
|
|
* @generated from protobuf field: string DecimalSeparator = 5
|
|
*/
|
|
DecimalSeparator: string;
|
|
/**
|
|
* @generated from protobuf field: map<string, vizapi.TranslationMap> ColumnTranslationMaps = 8
|
|
*/
|
|
ColumnTranslationMaps: {
|
|
[key: string]: TranslationMap;
|
|
};
|
|
/**
|
|
* @generated from protobuf field: map<int32, vizapi.ExtractColumnFormat> ColumnFormats = 9
|
|
*/
|
|
ColumnFormats: {
|
|
[key: number]: ExtractColumnFormat;
|
|
};
|
|
/**
|
|
* @generated from protobuf field: string TargetTimeZone = 10
|
|
*/
|
|
TargetTimeZone: string;
|
|
/**
|
|
* @generated from protobuf field: string DateFormat = 11
|
|
*/
|
|
DateFormat: string;
|
|
/**
|
|
* @generated from protobuf field: string NumberFormat = 12
|
|
*/
|
|
NumberFormat: string;
|
|
/**
|
|
* @generated from protobuf field: vizapi.TimeFormat TimeFormat = 13
|
|
*/
|
|
TimeFormat: TimeFormat;
|
|
}
|
|
/**
|
|
* @generated from protobuf message vizapi.ExtractProjectResult
|
|
*/
|
|
export interface ExtractProjectResult {
|
|
/**
|
|
* @generated from protobuf field: string WorkflowID = 1
|
|
*/
|
|
WorkflowID: string;
|
|
/**
|
|
* @generated from protobuf field: string RunID = 2
|
|
*/
|
|
RunID: string;
|
|
}
|
|
/**
|
|
* @generated from protobuf enum vizapi.TimeFormat
|
|
*/
|
|
export enum TimeFormat {
|
|
/**
|
|
* @generated from protobuf enum value: H12 = 0;
|
|
*/
|
|
H12 = 0,
|
|
/**
|
|
* @generated from protobuf enum value: H23 = 1;
|
|
*/
|
|
H23 = 1,
|
|
/**
|
|
* @generated from protobuf enum value: H24 = 2;
|
|
*/
|
|
H24 = 2
|
|
}
|
|
/**
|
|
* @generated from protobuf enum vizapi.DisplayDate
|
|
*/
|
|
export enum DisplayDate {
|
|
/**
|
|
* @generated from protobuf enum value: DATE = 0;
|
|
*/
|
|
DATE = 0,
|
|
/**
|
|
* @generated from protobuf enum value: DATE_TIME = 1;
|
|
*/
|
|
DATE_TIME = 1,
|
|
/**
|
|
* @generated from protobuf enum value: TIME = 2;
|
|
*/
|
|
TIME = 2
|
|
}
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class View$Type extends MessageType<View> {
|
|
constructor() {
|
|
super("vizapi.View", [
|
|
{ no: 1, name: "ViewID", kind: "scalar", localName: "ViewID", jsonName: "ViewID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the View" } } },
|
|
{ no: 2, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Project" }, "validate.rules": { string: { minLen: "1" } } } },
|
|
{ no: 3, name: "ScreenID", kind: "scalar", localName: "ScreenID", jsonName: "ScreenID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the screen" } } },
|
|
{ no: 4, name: "CreateUserID", kind: "scalar", localName: "CreateUserID", jsonName: "CreateUserID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the user who created" } } },
|
|
{ no: 5, name: "UpdateUserID", kind: "scalar", localName: "UpdateUserID", jsonName: "UpdateUserID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the user who did last update" } } },
|
|
{ no: 6, name: "CreateDateTime", kind: "scalar", localName: "CreateDateTime", jsonName: "CreateDateTime", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Date of creation in <a href='https://en.wikipedia.org/wiki/ISO_8601'>ISO 8601</a> format with time zone (accepted tzd formats: [+01:00, -01:00, Z]" } } },
|
|
{ no: 7, name: "UpdateDateTime", kind: "scalar", localName: "UpdateDateTime", jsonName: "UpdateDateTime", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Date of last update in <a href='https://en.wikipedia.org/wiki/ISO_8601'>ISO 8601</a> format with time zone (accepted tzd formats: [+01:00, -01:00, Z]" } } },
|
|
{ no: 10, name: "Payload", kind: "scalar", localName: "Payload", jsonName: "Payload", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Content of the View" } } },
|
|
{ no: 12, name: "IsPrivate", kind: "scalar", localName: "IsPrivate", jsonName: "IsPrivate", T: 8 /*ScalarType.BOOL*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Visibility of the View" } } },
|
|
{ no: 13, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the View" } } }
|
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ProjectID"] } } });
|
|
}
|
|
create(value?: PartialMessage<View>): View {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
message.ViewID = "";
|
|
message.ProjectID = "";
|
|
message.ScreenID = "";
|
|
message.CreateUserID = "";
|
|
message.UpdateUserID = "";
|
|
message.CreateDateTime = "";
|
|
message.UpdateDateTime = "";
|
|
message.Payload = "";
|
|
message.IsPrivate = false;
|
|
message.Name = "";
|
|
if (value !== undefined)
|
|
reflectionMergePartial<View>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: View): View {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* string ViewID */ 1:
|
|
message.ViewID = reader.string();
|
|
break;
|
|
case /* string ProjectID */ 2:
|
|
message.ProjectID = reader.string();
|
|
break;
|
|
case /* string ScreenID */ 3:
|
|
message.ScreenID = reader.string();
|
|
break;
|
|
case /* string CreateUserID */ 4:
|
|
message.CreateUserID = reader.string();
|
|
break;
|
|
case /* string UpdateUserID */ 5:
|
|
message.UpdateUserID = reader.string();
|
|
break;
|
|
case /* string CreateDateTime */ 6:
|
|
message.CreateDateTime = reader.string();
|
|
break;
|
|
case /* string UpdateDateTime */ 7:
|
|
message.UpdateDateTime = reader.string();
|
|
break;
|
|
case /* string Payload */ 10:
|
|
message.Payload = reader.string();
|
|
break;
|
|
case /* bool IsPrivate */ 12:
|
|
message.IsPrivate = reader.bool();
|
|
break;
|
|
case /* string Name */ 13:
|
|
message.Name = reader.string();
|
|
break;
|
|
default:
|
|
let u = options.readUnknownField;
|
|
if (u === "throw")
|
|
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
let d = reader.skip(wireType);
|
|
if (u !== false)
|
|
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
}
|
|
}
|
|
return message;
|
|
}
|
|
internalBinaryWrite(message: View, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* string ViewID = 1; */
|
|
if (message.ViewID !== "")
|
|
writer.tag(1, WireType.LengthDelimited).string(message.ViewID);
|
|
/* string ProjectID = 2; */
|
|
if (message.ProjectID !== "")
|
|
writer.tag(2, WireType.LengthDelimited).string(message.ProjectID);
|
|
/* string ScreenID = 3; */
|
|
if (message.ScreenID !== "")
|
|
writer.tag(3, WireType.LengthDelimited).string(message.ScreenID);
|
|
/* string CreateUserID = 4; */
|
|
if (message.CreateUserID !== "")
|
|
writer.tag(4, WireType.LengthDelimited).string(message.CreateUserID);
|
|
/* string UpdateUserID = 5; */
|
|
if (message.UpdateUserID !== "")
|
|
writer.tag(5, WireType.LengthDelimited).string(message.UpdateUserID);
|
|
/* string CreateDateTime = 6; */
|
|
if (message.CreateDateTime !== "")
|
|
writer.tag(6, WireType.LengthDelimited).string(message.CreateDateTime);
|
|
/* string UpdateDateTime = 7; */
|
|
if (message.UpdateDateTime !== "")
|
|
writer.tag(7, WireType.LengthDelimited).string(message.UpdateDateTime);
|
|
/* string Payload = 10; */
|
|
if (message.Payload !== "")
|
|
writer.tag(10, WireType.LengthDelimited).string(message.Payload);
|
|
/* bool IsPrivate = 12; */
|
|
if (message.IsPrivate !== false)
|
|
writer.tag(12, WireType.Varint).bool(message.IsPrivate);
|
|
/* string Name = 13; */
|
|
if (message.Name !== "")
|
|
writer.tag(13, WireType.LengthDelimited).string(message.Name);
|
|
let u = options.writeUnknownFields;
|
|
if (u !== false)
|
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
return writer;
|
|
}
|
|
}
|
|
/**
|
|
* @generated MessageType for protobuf message vizapi.View
|
|
*/
|
|
export const View = new View$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ComposedUserView$Type extends MessageType<ComposedUserView> {
|
|
constructor() {
|
|
super("vizapi.ComposedUserView", [
|
|
{ no: 1, name: "ViewID", kind: "scalar", localName: "ViewID", jsonName: "ViewID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the View" } } },
|
|
{ no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the View" } } },
|
|
{ no: 3, name: "UserID", kind: "scalar", localName: "UserID", jsonName: "UserID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the User" } } },
|
|
{ no: 4, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Project" } } },
|
|
{ no: 5, name: "ScreenID", kind: "scalar", localName: "ScreenID", jsonName: "ScreenID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Screen" } } },
|
|
{ no: 6, name: "Payload", kind: "scalar", localName: "Payload", jsonName: "Payload", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Content of the View" } } },
|
|
{ no: 9, name: "IsPrivate", kind: "scalar", localName: "IsPrivate", jsonName: "IsPrivate", T: 8 /*ScalarType.BOOL*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Visibility of the View" } } }
|
|
]);
|
|
}
|
|
create(value?: PartialMessage<ComposedUserView>): ComposedUserView {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
message.ViewID = "";
|
|
message.Name = "";
|
|
message.UserID = "";
|
|
message.ProjectID = "";
|
|
message.ScreenID = "";
|
|
message.Payload = "";
|
|
message.IsPrivate = false;
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ComposedUserView>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ComposedUserView): ComposedUserView {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* string ViewID */ 1:
|
|
message.ViewID = reader.string();
|
|
break;
|
|
case /* string Name */ 2:
|
|
message.Name = reader.string();
|
|
break;
|
|
case /* string UserID */ 3:
|
|
message.UserID = reader.string();
|
|
break;
|
|
case /* string ProjectID */ 4:
|
|
message.ProjectID = reader.string();
|
|
break;
|
|
case /* string ScreenID */ 5:
|
|
message.ScreenID = reader.string();
|
|
break;
|
|
case /* string Payload */ 6:
|
|
message.Payload = reader.string();
|
|
break;
|
|
case /* bool IsPrivate */ 9:
|
|
message.IsPrivate = reader.bool();
|
|
break;
|
|
default:
|
|
let u = options.readUnknownField;
|
|
if (u === "throw")
|
|
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
let d = reader.skip(wireType);
|
|
if (u !== false)
|
|
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
}
|
|
}
|
|
return message;
|
|
}
|
|
internalBinaryWrite(message: ComposedUserView, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* string ViewID = 1; */
|
|
if (message.ViewID !== "")
|
|
writer.tag(1, WireType.LengthDelimited).string(message.ViewID);
|
|
/* string Name = 2; */
|
|
if (message.Name !== "")
|
|
writer.tag(2, WireType.LengthDelimited).string(message.Name);
|
|
/* string UserID = 3; */
|
|
if (message.UserID !== "")
|
|
writer.tag(3, WireType.LengthDelimited).string(message.UserID);
|
|
/* string ProjectID = 4; */
|
|
if (message.ProjectID !== "")
|
|
writer.tag(4, WireType.LengthDelimited).string(message.ProjectID);
|
|
/* string ScreenID = 5; */
|
|
if (message.ScreenID !== "")
|
|
writer.tag(5, WireType.LengthDelimited).string(message.ScreenID);
|
|
/* string Payload = 6; */
|
|
if (message.Payload !== "")
|
|
writer.tag(6, WireType.LengthDelimited).string(message.Payload);
|
|
/* bool IsPrivate = 9; */
|
|
if (message.IsPrivate !== false)
|
|
writer.tag(9, WireType.Varint).bool(message.IsPrivate);
|
|
let u = options.writeUnknownFields;
|
|
if (u !== false)
|
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
return writer;
|
|
}
|
|
}
|
|
/**
|
|
* @generated MessageType for protobuf message vizapi.ComposedUserView
|
|
*/
|
|
export const ComposedUserView = new ComposedUserView$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class GetViewRequest$Type extends MessageType<GetViewRequest> {
|
|
constructor() {
|
|
super("vizapi.GetViewRequest", [
|
|
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
|
|
{ no: 2, name: "ViewID", kind: "scalar", localName: "ViewID", jsonName: "ViewID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the View" }, "validate.rules": { string: { minLen: "1" } } } }
|
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "IDs of the View", required: ["Header", "ViewID"] } } });
|
|
}
|
|
create(value?: PartialMessage<GetViewRequest>): GetViewRequest {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
message.ViewID = "";
|
|
if (value !== undefined)
|
|
reflectionMergePartial<GetViewRequest>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetViewRequest): GetViewRequest {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* api.RequestProjectHeader Header */ 1:
|
|
message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
|
|
break;
|
|
case /* string ViewID */ 2:
|
|
message.ViewID = reader.string();
|
|
break;
|
|
default:
|
|
let u = options.readUnknownField;
|
|
if (u === "throw")
|
|
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
let d = reader.skip(wireType);
|
|
if (u !== false)
|
|
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
}
|
|
}
|
|
return message;
|
|
}
|
|
internalBinaryWrite(message: GetViewRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* api.RequestProjectHeader Header = 1; */
|
|
if (message.Header)
|
|
RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
/* string ViewID = 2; */
|
|
if (message.ViewID !== "")
|
|
writer.tag(2, WireType.LengthDelimited).string(message.ViewID);
|
|
let u = options.writeUnknownFields;
|
|
if (u !== false)
|
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
return writer;
|
|
}
|
|
}
|
|
/**
|
|
* @generated MessageType for protobuf message vizapi.GetViewRequest
|
|
*/
|
|
export const GetViewRequest = new GetViewRequest$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class GetViewResult$Type extends MessageType<GetViewResult> {
|
|
constructor() {
|
|
super("vizapi.GetViewResult", [
|
|
{ no: 1, name: "Result", kind: "message", localName: "Result", jsonName: "Result", T: () => ComposedUserView }
|
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "All information about the View" } } });
|
|
}
|
|
create(value?: PartialMessage<GetViewResult>): GetViewResult {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
if (value !== undefined)
|
|
reflectionMergePartial<GetViewResult>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetViewResult): GetViewResult {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* vizapi.ComposedUserView Result */ 1:
|
|
message.Result = ComposedUserView.internalBinaryRead(reader, reader.uint32(), options, message.Result);
|
|
break;
|
|
default:
|
|
let u = options.readUnknownField;
|
|
if (u === "throw")
|
|
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
let d = reader.skip(wireType);
|
|
if (u !== false)
|
|
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
}
|
|
}
|
|
return message;
|
|
}
|
|
internalBinaryWrite(message: GetViewResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* vizapi.ComposedUserView Result = 1; */
|
|
if (message.Result)
|
|
ComposedUserView.internalBinaryWrite(message.Result, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
let u = options.writeUnknownFields;
|
|
if (u !== false)
|
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
return writer;
|
|
}
|
|
}
|
|
/**
|
|
* @generated MessageType for protobuf message vizapi.GetViewResult
|
|
*/
|
|
export const GetViewResult = new GetViewResult$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class CreateViewRequest$Type extends MessageType<CreateViewRequest> {
|
|
constructor() {
|
|
super("vizapi.CreateViewRequest", [
|
|
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
|
|
{ no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the View" }, "validate.rules": { string: { minLen: "1" } } } },
|
|
{ no: 3, name: "ScreenID", kind: "scalar", localName: "ScreenID", jsonName: "ScreenID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Screen" }, "validate.rules": { string: { minLen: "1" } } } },
|
|
{ no: 5, name: "Payload", kind: "scalar", localName: "Payload", jsonName: "Payload", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Content of the View" } } },
|
|
{ no: 7, name: "IsPrivate", kind: "scalar", localName: "IsPrivate", jsonName: "IsPrivate", T: 8 /*ScalarType.BOOL*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Visibility of the View" } } }
|
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Information that needs to be stored", required: ["Header", "Name", "ScreenID"] } } });
|
|
}
|
|
create(value?: PartialMessage<CreateViewRequest>): CreateViewRequest {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
message.Name = "";
|
|
message.ScreenID = "";
|
|
message.Payload = "";
|
|
message.IsPrivate = false;
|
|
if (value !== undefined)
|
|
reflectionMergePartial<CreateViewRequest>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CreateViewRequest): CreateViewRequest {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* api.RequestProjectHeader Header */ 1:
|
|
message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
|
|
break;
|
|
case /* string Name */ 2:
|
|
message.Name = reader.string();
|
|
break;
|
|
case /* string ScreenID */ 3:
|
|
message.ScreenID = reader.string();
|
|
break;
|
|
case /* string Payload */ 5:
|
|
message.Payload = reader.string();
|
|
break;
|
|
case /* bool IsPrivate */ 7:
|
|
message.IsPrivate = reader.bool();
|
|
break;
|
|
default:
|
|
let u = options.readUnknownField;
|
|
if (u === "throw")
|
|
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
let d = reader.skip(wireType);
|
|
if (u !== false)
|
|
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
}
|
|
}
|
|
return message;
|
|
}
|
|
internalBinaryWrite(message: CreateViewRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* api.RequestProjectHeader Header = 1; */
|
|
if (message.Header)
|
|
RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
/* string Name = 2; */
|
|
if (message.Name !== "")
|
|
writer.tag(2, WireType.LengthDelimited).string(message.Name);
|
|
/* string ScreenID = 3; */
|
|
if (message.ScreenID !== "")
|
|
writer.tag(3, WireType.LengthDelimited).string(message.ScreenID);
|
|
/* string Payload = 5; */
|
|
if (message.Payload !== "")
|
|
writer.tag(5, WireType.LengthDelimited).string(message.Payload);
|
|
/* bool IsPrivate = 7; */
|
|
if (message.IsPrivate !== false)
|
|
writer.tag(7, WireType.Varint).bool(message.IsPrivate);
|
|
let u = options.writeUnknownFields;
|
|
if (u !== false)
|
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
return writer;
|
|
}
|
|
}
|
|
/**
|
|
* @generated MessageType for protobuf message vizapi.CreateViewRequest
|
|
*/
|
|
export const CreateViewRequest = new CreateViewRequest$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class CreateViewResult$Type extends MessageType<CreateViewResult> {
|
|
constructor() {
|
|
super("vizapi.CreateViewResult", [
|
|
{ no: 1, name: "ViewID", kind: "scalar", localName: "ViewID", jsonName: "ViewID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the View" } } }
|
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "ID of the created View" } } });
|
|
}
|
|
create(value?: PartialMessage<CreateViewResult>): CreateViewResult {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
message.ViewID = "";
|
|
if (value !== undefined)
|
|
reflectionMergePartial<CreateViewResult>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CreateViewResult): CreateViewResult {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* string ViewID */ 1:
|
|
message.ViewID = reader.string();
|
|
break;
|
|
default:
|
|
let u = options.readUnknownField;
|
|
if (u === "throw")
|
|
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
let d = reader.skip(wireType);
|
|
if (u !== false)
|
|
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
}
|
|
}
|
|
return message;
|
|
}
|
|
internalBinaryWrite(message: CreateViewResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* string ViewID = 1; */
|
|
if (message.ViewID !== "")
|
|
writer.tag(1, WireType.LengthDelimited).string(message.ViewID);
|
|
let u = options.writeUnknownFields;
|
|
if (u !== false)
|
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
return writer;
|
|
}
|
|
}
|
|
/**
|
|
* @generated MessageType for protobuf message vizapi.CreateViewResult
|
|
*/
|
|
export const CreateViewResult = new CreateViewResult$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class UpdateViewRequest$Type extends MessageType<UpdateViewRequest> {
|
|
constructor() {
|
|
super("vizapi.UpdateViewRequest", [
|
|
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
|
|
{ no: 2, name: "ViewID", kind: "scalar", localName: "ViewID", jsonName: "ViewID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the View" }, "validate.rules": { string: { minLen: "1" } } } },
|
|
{ no: 3, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the View" }, "validate.rules": { string: { minLen: "1" } } } },
|
|
{ no: 4, name: "ScreenID", kind: "scalar", localName: "ScreenID", jsonName: "ScreenID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Screen" }, "validate.rules": { string: { minLen: "1" } } } },
|
|
{ no: 6, name: "Payload", kind: "scalar", localName: "Payload", jsonName: "Payload", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Content of the View" }, "validate.rules": { string: { minLen: "1" } } } },
|
|
{ no: 8, name: "IsPrivate", kind: "scalar", localName: "IsPrivate", jsonName: "IsPrivate", T: 8 /*ScalarType.BOOL*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Visibility of the View" } } }
|
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Information that needs to be updated", required: ["Header", "ViewID", "Name", "ScreenID", "Payload"] } } });
|
|
}
|
|
create(value?: PartialMessage<UpdateViewRequest>): UpdateViewRequest {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
message.ViewID = "";
|
|
message.Name = "";
|
|
message.ScreenID = "";
|
|
message.Payload = "";
|
|
message.IsPrivate = false;
|
|
if (value !== undefined)
|
|
reflectionMergePartial<UpdateViewRequest>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: UpdateViewRequest): UpdateViewRequest {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* api.RequestProjectHeader Header */ 1:
|
|
message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
|
|
break;
|
|
case /* string ViewID */ 2:
|
|
message.ViewID = reader.string();
|
|
break;
|
|
case /* string Name */ 3:
|
|
message.Name = reader.string();
|
|
break;
|
|
case /* string ScreenID */ 4:
|
|
message.ScreenID = reader.string();
|
|
break;
|
|
case /* string Payload */ 6:
|
|
message.Payload = reader.string();
|
|
break;
|
|
case /* bool IsPrivate */ 8:
|
|
message.IsPrivate = reader.bool();
|
|
break;
|
|
default:
|
|
let u = options.readUnknownField;
|
|
if (u === "throw")
|
|
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
let d = reader.skip(wireType);
|
|
if (u !== false)
|
|
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
}
|
|
}
|
|
return message;
|
|
}
|
|
internalBinaryWrite(message: UpdateViewRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* api.RequestProjectHeader Header = 1; */
|
|
if (message.Header)
|
|
RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
/* string ViewID = 2; */
|
|
if (message.ViewID !== "")
|
|
writer.tag(2, WireType.LengthDelimited).string(message.ViewID);
|
|
/* string Name = 3; */
|
|
if (message.Name !== "")
|
|
writer.tag(3, WireType.LengthDelimited).string(message.Name);
|
|
/* string ScreenID = 4; */
|
|
if (message.ScreenID !== "")
|
|
writer.tag(4, WireType.LengthDelimited).string(message.ScreenID);
|
|
/* string Payload = 6; */
|
|
if (message.Payload !== "")
|
|
writer.tag(6, WireType.LengthDelimited).string(message.Payload);
|
|
/* bool IsPrivate = 8; */
|
|
if (message.IsPrivate !== false)
|
|
writer.tag(8, WireType.Varint).bool(message.IsPrivate);
|
|
let u = options.writeUnknownFields;
|
|
if (u !== false)
|
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
return writer;
|
|
}
|
|
}
|
|
/**
|
|
* @generated MessageType for protobuf message vizapi.UpdateViewRequest
|
|
*/
|
|
export const UpdateViewRequest = new UpdateViewRequest$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class UpdateViewResult$Type extends MessageType<UpdateViewResult> {
|
|
constructor() {
|
|
super("vizapi.UpdateViewResult", [
|
|
{ no: 1, name: "ViewID", kind: "scalar", localName: "ViewID", jsonName: "ViewID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the View" } } }
|
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Updated View ID" } } });
|
|
}
|
|
create(value?: PartialMessage<UpdateViewResult>): UpdateViewResult {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
message.ViewID = "";
|
|
if (value !== undefined)
|
|
reflectionMergePartial<UpdateViewResult>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: UpdateViewResult): UpdateViewResult {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* string ViewID */ 1:
|
|
message.ViewID = reader.string();
|
|
break;
|
|
default:
|
|
let u = options.readUnknownField;
|
|
if (u === "throw")
|
|
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
let d = reader.skip(wireType);
|
|
if (u !== false)
|
|
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
}
|
|
}
|
|
return message;
|
|
}
|
|
internalBinaryWrite(message: UpdateViewResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* string ViewID = 1; */
|
|
if (message.ViewID !== "")
|
|
writer.tag(1, WireType.LengthDelimited).string(message.ViewID);
|
|
let u = options.writeUnknownFields;
|
|
if (u !== false)
|
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
return writer;
|
|
}
|
|
}
|
|
/**
|
|
* @generated MessageType for protobuf message vizapi.UpdateViewResult
|
|
*/
|
|
export const UpdateViewResult = new UpdateViewResult$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class DeleteViewRequest$Type extends MessageType<DeleteViewRequest> {
|
|
constructor() {
|
|
super("vizapi.DeleteViewRequest", [
|
|
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
|
|
{ no: 2, name: "ViewID", kind: "scalar", localName: "ViewID", jsonName: "ViewID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the View" }, "validate.rules": { string: { minLen: "1" } } } }
|
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "IDs of the View to be deleted", required: ["Header", "ViewID"] } } });
|
|
}
|
|
create(value?: PartialMessage<DeleteViewRequest>): DeleteViewRequest {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
message.ViewID = "";
|
|
if (value !== undefined)
|
|
reflectionMergePartial<DeleteViewRequest>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DeleteViewRequest): DeleteViewRequest {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* api.RequestProjectHeader Header */ 1:
|
|
message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
|
|
break;
|
|
case /* string ViewID */ 2:
|
|
message.ViewID = reader.string();
|
|
break;
|
|
default:
|
|
let u = options.readUnknownField;
|
|
if (u === "throw")
|
|
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
let d = reader.skip(wireType);
|
|
if (u !== false)
|
|
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
}
|
|
}
|
|
return message;
|
|
}
|
|
internalBinaryWrite(message: DeleteViewRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* api.RequestProjectHeader Header = 1; */
|
|
if (message.Header)
|
|
RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
/* string ViewID = 2; */
|
|
if (message.ViewID !== "")
|
|
writer.tag(2, WireType.LengthDelimited).string(message.ViewID);
|
|
let u = options.writeUnknownFields;
|
|
if (u !== false)
|
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
return writer;
|
|
}
|
|
}
|
|
/**
|
|
* @generated MessageType for protobuf message vizapi.DeleteViewRequest
|
|
*/
|
|
export const DeleteViewRequest = new DeleteViewRequest$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class DeleteViewResult$Type extends MessageType<DeleteViewResult> {
|
|
constructor() {
|
|
super("vizapi.DeleteViewResult", []);
|
|
}
|
|
create(value?: PartialMessage<DeleteViewResult>): DeleteViewResult {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
if (value !== undefined)
|
|
reflectionMergePartial<DeleteViewResult>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DeleteViewResult): DeleteViewResult {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
default:
|
|
let u = options.readUnknownField;
|
|
if (u === "throw")
|
|
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
let d = reader.skip(wireType);
|
|
if (u !== false)
|
|
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
}
|
|
}
|
|
return message;
|
|
}
|
|
internalBinaryWrite(message: DeleteViewResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
let u = options.writeUnknownFields;
|
|
if (u !== false)
|
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
return writer;
|
|
}
|
|
}
|
|
/**
|
|
* @generated MessageType for protobuf message vizapi.DeleteViewResult
|
|
*/
|
|
export const DeleteViewResult = new DeleteViewResult$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ListViewRequest$Type extends MessageType<ListViewRequest> {
|
|
constructor() {
|
|
super("vizapi.ListViewRequest", [
|
|
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
|
|
{ no: 2, name: "ScreenID", kind: "scalar", localName: "ScreenID", jsonName: "ScreenID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Screen" } } }
|
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header"] } } });
|
|
}
|
|
create(value?: PartialMessage<ListViewRequest>): ListViewRequest {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
message.ScreenID = "";
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ListViewRequest>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListViewRequest): ListViewRequest {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* api.RequestProjectHeader Header */ 1:
|
|
message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
|
|
break;
|
|
case /* string ScreenID */ 2:
|
|
message.ScreenID = reader.string();
|
|
break;
|
|
default:
|
|
let u = options.readUnknownField;
|
|
if (u === "throw")
|
|
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
let d = reader.skip(wireType);
|
|
if (u !== false)
|
|
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
}
|
|
}
|
|
return message;
|
|
}
|
|
internalBinaryWrite(message: ListViewRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* api.RequestProjectHeader Header = 1; */
|
|
if (message.Header)
|
|
RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
/* string ScreenID = 2; */
|
|
if (message.ScreenID !== "")
|
|
writer.tag(2, WireType.LengthDelimited).string(message.ScreenID);
|
|
let u = options.writeUnknownFields;
|
|
if (u !== false)
|
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
return writer;
|
|
}
|
|
}
|
|
/**
|
|
* @generated MessageType for protobuf message vizapi.ListViewRequest
|
|
*/
|
|
export const ListViewRequest = new ListViewRequest$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ListViewResult$Type extends MessageType<ListViewResult> {
|
|
constructor() {
|
|
super("vizapi.ListViewResult", [
|
|
{ no: 1, name: "Results", kind: "message", localName: "Results", jsonName: "Results", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ComposedUserView, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "All information in a View" } } }
|
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "List of Views" } } });
|
|
}
|
|
create(value?: PartialMessage<ListViewResult>): ListViewResult {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
message.Results = [];
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ListViewResult>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListViewResult): ListViewResult {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* repeated vizapi.ComposedUserView Results */ 1:
|
|
message.Results.push(ComposedUserView.internalBinaryRead(reader, reader.uint32(), options));
|
|
break;
|
|
default:
|
|
let u = options.readUnknownField;
|
|
if (u === "throw")
|
|
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
let d = reader.skip(wireType);
|
|
if (u !== false)
|
|
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
}
|
|
}
|
|
return message;
|
|
}
|
|
internalBinaryWrite(message: ListViewResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* repeated vizapi.ComposedUserView Results = 1; */
|
|
for (let i = 0; i < message.Results.length; i++)
|
|
ComposedUserView.internalBinaryWrite(message.Results[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
let u = options.writeUnknownFields;
|
|
if (u !== false)
|
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
return writer;
|
|
}
|
|
}
|
|
/**
|
|
* @generated MessageType for protobuf message vizapi.ListViewResult
|
|
*/
|
|
export const ListViewResult = new ListViewResult$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class GetProjectViewRequest$Type extends MessageType<GetProjectViewRequest> {
|
|
constructor() {
|
|
super("vizapi.GetProjectViewRequest", [
|
|
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
|
|
{ no: 2, name: "ViewID", kind: "scalar", localName: "ViewID", jsonName: "ViewID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the View" }, "validate.rules": { string: { minLen: "1" } } } }
|
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "IDs of the View", required: ["Header", "ViewID"] } } });
|
|
}
|
|
create(value?: PartialMessage<GetProjectViewRequest>): GetProjectViewRequest {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
message.ViewID = "";
|
|
if (value !== undefined)
|
|
reflectionMergePartial<GetProjectViewRequest>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetProjectViewRequest): GetProjectViewRequest {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* api.RequestProjectHeader Header */ 1:
|
|
message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
|
|
break;
|
|
case /* string ViewID */ 2:
|
|
message.ViewID = reader.string();
|
|
break;
|
|
default:
|
|
let u = options.readUnknownField;
|
|
if (u === "throw")
|
|
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
let d = reader.skip(wireType);
|
|
if (u !== false)
|
|
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
}
|
|
}
|
|
return message;
|
|
}
|
|
internalBinaryWrite(message: GetProjectViewRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* api.RequestProjectHeader Header = 1; */
|
|
if (message.Header)
|
|
RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
/* string ViewID = 2; */
|
|
if (message.ViewID !== "")
|
|
writer.tag(2, WireType.LengthDelimited).string(message.ViewID);
|
|
let u = options.writeUnknownFields;
|
|
if (u !== false)
|
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
return writer;
|
|
}
|
|
}
|
|
/**
|
|
* @generated MessageType for protobuf message vizapi.GetProjectViewRequest
|
|
*/
|
|
export const GetProjectViewRequest = new GetProjectViewRequest$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class GetProjectViewResult$Type extends MessageType<GetProjectViewResult> {
|
|
constructor() {
|
|
super("vizapi.GetProjectViewResult", [
|
|
{ no: 1, name: "Result", kind: "message", localName: "Result", jsonName: "Result", T: () => ComposedUserView }
|
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "All information about the View" } } });
|
|
}
|
|
create(value?: PartialMessage<GetProjectViewResult>): GetProjectViewResult {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
if (value !== undefined)
|
|
reflectionMergePartial<GetProjectViewResult>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetProjectViewResult): GetProjectViewResult {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* vizapi.ComposedUserView Result */ 1:
|
|
message.Result = ComposedUserView.internalBinaryRead(reader, reader.uint32(), options, message.Result);
|
|
break;
|
|
default:
|
|
let u = options.readUnknownField;
|
|
if (u === "throw")
|
|
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
let d = reader.skip(wireType);
|
|
if (u !== false)
|
|
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
}
|
|
}
|
|
return message;
|
|
}
|
|
internalBinaryWrite(message: GetProjectViewResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* vizapi.ComposedUserView Result = 1; */
|
|
if (message.Result)
|
|
ComposedUserView.internalBinaryWrite(message.Result, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
let u = options.writeUnknownFields;
|
|
if (u !== false)
|
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
return writer;
|
|
}
|
|
}
|
|
/**
|
|
* @generated MessageType for protobuf message vizapi.GetProjectViewResult
|
|
*/
|
|
export const GetProjectViewResult = new GetProjectViewResult$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class CreateProjectViewRequest$Type extends MessageType<CreateProjectViewRequest> {
|
|
constructor() {
|
|
super("vizapi.CreateProjectViewRequest", [
|
|
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
|
|
{ no: 2, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the View" }, "validate.rules": { string: { minLen: "1" } } } },
|
|
{ no: 3, name: "ScreenID", kind: "scalar", localName: "ScreenID", jsonName: "ScreenID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Screen" }, "validate.rules": { string: { minLen: "1" } } } },
|
|
{ no: 5, name: "Payload", kind: "scalar", localName: "Payload", jsonName: "Payload", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Content of the View" } } },
|
|
{ no: 7, name: "IsPrivate", kind: "scalar", localName: "IsPrivate", jsonName: "IsPrivate", T: 8 /*ScalarType.BOOL*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Visibility of the View" } } }
|
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Information that needs to be stored", required: ["Header", "Name", "ScreenID"] } } });
|
|
}
|
|
create(value?: PartialMessage<CreateProjectViewRequest>): CreateProjectViewRequest {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
message.Name = "";
|
|
message.ScreenID = "";
|
|
message.Payload = "";
|
|
message.IsPrivate = false;
|
|
if (value !== undefined)
|
|
reflectionMergePartial<CreateProjectViewRequest>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CreateProjectViewRequest): CreateProjectViewRequest {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* api.RequestProjectHeader Header */ 1:
|
|
message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
|
|
break;
|
|
case /* string Name */ 2:
|
|
message.Name = reader.string();
|
|
break;
|
|
case /* string ScreenID */ 3:
|
|
message.ScreenID = reader.string();
|
|
break;
|
|
case /* string Payload */ 5:
|
|
message.Payload = reader.string();
|
|
break;
|
|
case /* bool IsPrivate */ 7:
|
|
message.IsPrivate = reader.bool();
|
|
break;
|
|
default:
|
|
let u = options.readUnknownField;
|
|
if (u === "throw")
|
|
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
let d = reader.skip(wireType);
|
|
if (u !== false)
|
|
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
}
|
|
}
|
|
return message;
|
|
}
|
|
internalBinaryWrite(message: CreateProjectViewRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* api.RequestProjectHeader Header = 1; */
|
|
if (message.Header)
|
|
RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
/* string Name = 2; */
|
|
if (message.Name !== "")
|
|
writer.tag(2, WireType.LengthDelimited).string(message.Name);
|
|
/* string ScreenID = 3; */
|
|
if (message.ScreenID !== "")
|
|
writer.tag(3, WireType.LengthDelimited).string(message.ScreenID);
|
|
/* string Payload = 5; */
|
|
if (message.Payload !== "")
|
|
writer.tag(5, WireType.LengthDelimited).string(message.Payload);
|
|
/* bool IsPrivate = 7; */
|
|
if (message.IsPrivate !== false)
|
|
writer.tag(7, WireType.Varint).bool(message.IsPrivate);
|
|
let u = options.writeUnknownFields;
|
|
if (u !== false)
|
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
return writer;
|
|
}
|
|
}
|
|
/**
|
|
* @generated MessageType for protobuf message vizapi.CreateProjectViewRequest
|
|
*/
|
|
export const CreateProjectViewRequest = new CreateProjectViewRequest$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class CreateProjectViewResult$Type extends MessageType<CreateProjectViewResult> {
|
|
constructor() {
|
|
super("vizapi.CreateProjectViewResult", [
|
|
{ no: 1, name: "ViewID", kind: "scalar", localName: "ViewID", jsonName: "ViewID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the View" } } }
|
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "ID of the created View" } } });
|
|
}
|
|
create(value?: PartialMessage<CreateProjectViewResult>): CreateProjectViewResult {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
message.ViewID = "";
|
|
if (value !== undefined)
|
|
reflectionMergePartial<CreateProjectViewResult>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CreateProjectViewResult): CreateProjectViewResult {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* string ViewID */ 1:
|
|
message.ViewID = reader.string();
|
|
break;
|
|
default:
|
|
let u = options.readUnknownField;
|
|
if (u === "throw")
|
|
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
let d = reader.skip(wireType);
|
|
if (u !== false)
|
|
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
}
|
|
}
|
|
return message;
|
|
}
|
|
internalBinaryWrite(message: CreateProjectViewResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* string ViewID = 1; */
|
|
if (message.ViewID !== "")
|
|
writer.tag(1, WireType.LengthDelimited).string(message.ViewID);
|
|
let u = options.writeUnknownFields;
|
|
if (u !== false)
|
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
return writer;
|
|
}
|
|
}
|
|
/**
|
|
* @generated MessageType for protobuf message vizapi.CreateProjectViewResult
|
|
*/
|
|
export const CreateProjectViewResult = new CreateProjectViewResult$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class UpdateProjectViewRequest$Type extends MessageType<UpdateProjectViewRequest> {
|
|
constructor() {
|
|
super("vizapi.UpdateProjectViewRequest", [
|
|
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
|
|
{ no: 2, name: "ViewID", kind: "scalar", localName: "ViewID", jsonName: "ViewID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the View" }, "validate.rules": { string: { minLen: "1" } } } },
|
|
{ no: 3, name: "Name", kind: "scalar", localName: "Name", jsonName: "Name", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Name of the View" }, "validate.rules": { string: { minLen: "1" } } } },
|
|
{ no: 4, name: "ScreenID", kind: "scalar", localName: "ScreenID", jsonName: "ScreenID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Screen" }, "validate.rules": { string: { minLen: "1" } } } },
|
|
{ no: 6, name: "Payload", kind: "scalar", localName: "Payload", jsonName: "Payload", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Content of the View" }, "validate.rules": { string: { minLen: "1" } } } },
|
|
{ no: 8, name: "IsPrivate", kind: "scalar", localName: "IsPrivate", jsonName: "IsPrivate", T: 8 /*ScalarType.BOOL*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Visibility of the View" } } }
|
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Information that needs to be updated", required: ["Header", "ViewID", "Name", "ScreenID", "Payload"] } } });
|
|
}
|
|
create(value?: PartialMessage<UpdateProjectViewRequest>): UpdateProjectViewRequest {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
message.ViewID = "";
|
|
message.Name = "";
|
|
message.ScreenID = "";
|
|
message.Payload = "";
|
|
message.IsPrivate = false;
|
|
if (value !== undefined)
|
|
reflectionMergePartial<UpdateProjectViewRequest>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: UpdateProjectViewRequest): UpdateProjectViewRequest {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* api.RequestProjectHeader Header */ 1:
|
|
message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
|
|
break;
|
|
case /* string ViewID */ 2:
|
|
message.ViewID = reader.string();
|
|
break;
|
|
case /* string Name */ 3:
|
|
message.Name = reader.string();
|
|
break;
|
|
case /* string ScreenID */ 4:
|
|
message.ScreenID = reader.string();
|
|
break;
|
|
case /* string Payload */ 6:
|
|
message.Payload = reader.string();
|
|
break;
|
|
case /* bool IsPrivate */ 8:
|
|
message.IsPrivate = reader.bool();
|
|
break;
|
|
default:
|
|
let u = options.readUnknownField;
|
|
if (u === "throw")
|
|
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
let d = reader.skip(wireType);
|
|
if (u !== false)
|
|
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
}
|
|
}
|
|
return message;
|
|
}
|
|
internalBinaryWrite(message: UpdateProjectViewRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* api.RequestProjectHeader Header = 1; */
|
|
if (message.Header)
|
|
RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
/* string ViewID = 2; */
|
|
if (message.ViewID !== "")
|
|
writer.tag(2, WireType.LengthDelimited).string(message.ViewID);
|
|
/* string Name = 3; */
|
|
if (message.Name !== "")
|
|
writer.tag(3, WireType.LengthDelimited).string(message.Name);
|
|
/* string ScreenID = 4; */
|
|
if (message.ScreenID !== "")
|
|
writer.tag(4, WireType.LengthDelimited).string(message.ScreenID);
|
|
/* string Payload = 6; */
|
|
if (message.Payload !== "")
|
|
writer.tag(6, WireType.LengthDelimited).string(message.Payload);
|
|
/* bool IsPrivate = 8; */
|
|
if (message.IsPrivate !== false)
|
|
writer.tag(8, WireType.Varint).bool(message.IsPrivate);
|
|
let u = options.writeUnknownFields;
|
|
if (u !== false)
|
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
return writer;
|
|
}
|
|
}
|
|
/**
|
|
* @generated MessageType for protobuf message vizapi.UpdateProjectViewRequest
|
|
*/
|
|
export const UpdateProjectViewRequest = new UpdateProjectViewRequest$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class UpdateProjectViewResult$Type extends MessageType<UpdateProjectViewResult> {
|
|
constructor() {
|
|
super("vizapi.UpdateProjectViewResult", [
|
|
{ no: 1, name: "ViewID", kind: "scalar", localName: "ViewID", jsonName: "ViewID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the View" } } }
|
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "Updated View ID" } } });
|
|
}
|
|
create(value?: PartialMessage<UpdateProjectViewResult>): UpdateProjectViewResult {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
message.ViewID = "";
|
|
if (value !== undefined)
|
|
reflectionMergePartial<UpdateProjectViewResult>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: UpdateProjectViewResult): UpdateProjectViewResult {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* string ViewID */ 1:
|
|
message.ViewID = reader.string();
|
|
break;
|
|
default:
|
|
let u = options.readUnknownField;
|
|
if (u === "throw")
|
|
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
let d = reader.skip(wireType);
|
|
if (u !== false)
|
|
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
}
|
|
}
|
|
return message;
|
|
}
|
|
internalBinaryWrite(message: UpdateProjectViewResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* string ViewID = 1; */
|
|
if (message.ViewID !== "")
|
|
writer.tag(1, WireType.LengthDelimited).string(message.ViewID);
|
|
let u = options.writeUnknownFields;
|
|
if (u !== false)
|
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
return writer;
|
|
}
|
|
}
|
|
/**
|
|
* @generated MessageType for protobuf message vizapi.UpdateProjectViewResult
|
|
*/
|
|
export const UpdateProjectViewResult = new UpdateProjectViewResult$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class DeleteProjectViewRequest$Type extends MessageType<DeleteProjectViewRequest> {
|
|
constructor() {
|
|
super("vizapi.DeleteProjectViewRequest", [
|
|
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
|
|
{ no: 2, name: "ViewID", kind: "scalar", localName: "ViewID", jsonName: "ViewID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the View" }, "validate.rules": { string: { minLen: "1" } } } }
|
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "IDs of the View to be deleted", required: ["Header", "ViewID"] } } });
|
|
}
|
|
create(value?: PartialMessage<DeleteProjectViewRequest>): DeleteProjectViewRequest {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
message.ViewID = "";
|
|
if (value !== undefined)
|
|
reflectionMergePartial<DeleteProjectViewRequest>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DeleteProjectViewRequest): DeleteProjectViewRequest {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* api.RequestProjectHeader Header */ 1:
|
|
message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
|
|
break;
|
|
case /* string ViewID */ 2:
|
|
message.ViewID = reader.string();
|
|
break;
|
|
default:
|
|
let u = options.readUnknownField;
|
|
if (u === "throw")
|
|
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
let d = reader.skip(wireType);
|
|
if (u !== false)
|
|
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
}
|
|
}
|
|
return message;
|
|
}
|
|
internalBinaryWrite(message: DeleteProjectViewRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* api.RequestProjectHeader Header = 1; */
|
|
if (message.Header)
|
|
RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
/* string ViewID = 2; */
|
|
if (message.ViewID !== "")
|
|
writer.tag(2, WireType.LengthDelimited).string(message.ViewID);
|
|
let u = options.writeUnknownFields;
|
|
if (u !== false)
|
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
return writer;
|
|
}
|
|
}
|
|
/**
|
|
* @generated MessageType for protobuf message vizapi.DeleteProjectViewRequest
|
|
*/
|
|
export const DeleteProjectViewRequest = new DeleteProjectViewRequest$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class DeleteProjectViewResult$Type extends MessageType<DeleteProjectViewResult> {
|
|
constructor() {
|
|
super("vizapi.DeleteProjectViewResult", []);
|
|
}
|
|
create(value?: PartialMessage<DeleteProjectViewResult>): DeleteProjectViewResult {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
if (value !== undefined)
|
|
reflectionMergePartial<DeleteProjectViewResult>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DeleteProjectViewResult): DeleteProjectViewResult {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
default:
|
|
let u = options.readUnknownField;
|
|
if (u === "throw")
|
|
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
let d = reader.skip(wireType);
|
|
if (u !== false)
|
|
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
}
|
|
}
|
|
return message;
|
|
}
|
|
internalBinaryWrite(message: DeleteProjectViewResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
let u = options.writeUnknownFields;
|
|
if (u !== false)
|
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
return writer;
|
|
}
|
|
}
|
|
/**
|
|
* @generated MessageType for protobuf message vizapi.DeleteProjectViewResult
|
|
*/
|
|
export const DeleteProjectViewResult = new DeleteProjectViewResult$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ListProjectViewRequest$Type extends MessageType<ListProjectViewRequest> {
|
|
constructor() {
|
|
super("vizapi.ListProjectViewRequest", [
|
|
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
|
|
{ no: 2, name: "ScreenID", kind: "scalar", localName: "ScreenID", jsonName: "ScreenID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Screen" } } }
|
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header"] } } });
|
|
}
|
|
create(value?: PartialMessage<ListProjectViewRequest>): ListProjectViewRequest {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
message.ScreenID = "";
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ListProjectViewRequest>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListProjectViewRequest): ListProjectViewRequest {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* api.RequestProjectHeader Header */ 1:
|
|
message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
|
|
break;
|
|
case /* string ScreenID */ 2:
|
|
message.ScreenID = reader.string();
|
|
break;
|
|
default:
|
|
let u = options.readUnknownField;
|
|
if (u === "throw")
|
|
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
let d = reader.skip(wireType);
|
|
if (u !== false)
|
|
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
}
|
|
}
|
|
return message;
|
|
}
|
|
internalBinaryWrite(message: ListProjectViewRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* api.RequestProjectHeader Header = 1; */
|
|
if (message.Header)
|
|
RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
/* string ScreenID = 2; */
|
|
if (message.ScreenID !== "")
|
|
writer.tag(2, WireType.LengthDelimited).string(message.ScreenID);
|
|
let u = options.writeUnknownFields;
|
|
if (u !== false)
|
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
return writer;
|
|
}
|
|
}
|
|
/**
|
|
* @generated MessageType for protobuf message vizapi.ListProjectViewRequest
|
|
*/
|
|
export const ListProjectViewRequest = new ListProjectViewRequest$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ListProjectViewResult$Type extends MessageType<ListProjectViewResult> {
|
|
constructor() {
|
|
super("vizapi.ListProjectViewResult", [
|
|
{ no: 1, name: "Results", kind: "message", localName: "Results", jsonName: "Results", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ComposedUserView, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "All information in a View" } } }
|
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { description: "List of Views" } } });
|
|
}
|
|
create(value?: PartialMessage<ListProjectViewResult>): ListProjectViewResult {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
message.Results = [];
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ListProjectViewResult>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ListProjectViewResult): ListProjectViewResult {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* repeated vizapi.ComposedUserView Results */ 1:
|
|
message.Results.push(ComposedUserView.internalBinaryRead(reader, reader.uint32(), options));
|
|
break;
|
|
default:
|
|
let u = options.readUnknownField;
|
|
if (u === "throw")
|
|
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
let d = reader.skip(wireType);
|
|
if (u !== false)
|
|
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
}
|
|
}
|
|
return message;
|
|
}
|
|
internalBinaryWrite(message: ListProjectViewResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* repeated vizapi.ComposedUserView Results = 1; */
|
|
for (let i = 0; i < message.Results.length; i++)
|
|
ComposedUserView.internalBinaryWrite(message.Results[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
let u = options.writeUnknownFields;
|
|
if (u !== false)
|
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
return writer;
|
|
}
|
|
}
|
|
/**
|
|
* @generated MessageType for protobuf message vizapi.ListProjectViewResult
|
|
*/
|
|
export const ListProjectViewResult = new ListProjectViewResult$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class DeleteViewsForProjectRequest$Type extends MessageType<DeleteViewsForProjectRequest> {
|
|
constructor() {
|
|
super("vizapi.DeleteViewsForProjectRequest", [
|
|
{ no: 1, name: "ProjectID", kind: "scalar", localName: "ProjectID", jsonName: "ProjectID", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Identifier of the Project" }, "validate.rules": { string: { minLen: "1" } } } }
|
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["ProjectID"] } } });
|
|
}
|
|
create(value?: PartialMessage<DeleteViewsForProjectRequest>): DeleteViewsForProjectRequest {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
message.ProjectID = "";
|
|
if (value !== undefined)
|
|
reflectionMergePartial<DeleteViewsForProjectRequest>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DeleteViewsForProjectRequest): DeleteViewsForProjectRequest {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* string ProjectID */ 1:
|
|
message.ProjectID = reader.string();
|
|
break;
|
|
default:
|
|
let u = options.readUnknownField;
|
|
if (u === "throw")
|
|
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
let d = reader.skip(wireType);
|
|
if (u !== false)
|
|
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
}
|
|
}
|
|
return message;
|
|
}
|
|
internalBinaryWrite(message: DeleteViewsForProjectRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* string ProjectID = 1; */
|
|
if (message.ProjectID !== "")
|
|
writer.tag(1, WireType.LengthDelimited).string(message.ProjectID);
|
|
let u = options.writeUnknownFields;
|
|
if (u !== false)
|
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
return writer;
|
|
}
|
|
}
|
|
/**
|
|
* @generated MessageType for protobuf message vizapi.DeleteViewsForProjectRequest
|
|
*/
|
|
export const DeleteViewsForProjectRequest = new DeleteViewsForProjectRequest$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class DeleteViewsForProjectResult$Type extends MessageType<DeleteViewsForProjectResult> {
|
|
constructor() {
|
|
super("vizapi.DeleteViewsForProjectResult", []);
|
|
}
|
|
create(value?: PartialMessage<DeleteViewsForProjectResult>): DeleteViewsForProjectResult {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
if (value !== undefined)
|
|
reflectionMergePartial<DeleteViewsForProjectResult>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DeleteViewsForProjectResult): DeleteViewsForProjectResult {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
default:
|
|
let u = options.readUnknownField;
|
|
if (u === "throw")
|
|
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
let d = reader.skip(wireType);
|
|
if (u !== false)
|
|
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
}
|
|
}
|
|
return message;
|
|
}
|
|
internalBinaryWrite(message: DeleteViewsForProjectResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
let u = options.writeUnknownFields;
|
|
if (u !== false)
|
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
return writer;
|
|
}
|
|
}
|
|
/**
|
|
* @generated MessageType for protobuf message vizapi.DeleteViewsForProjectResult
|
|
*/
|
|
export const DeleteViewsForProjectResult = new DeleteViewsForProjectResult$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class TranslationMap$Type extends MessageType<TranslationMap> {
|
|
constructor() {
|
|
super("vizapi.TranslationMap", [
|
|
{ no: 1, name: "data", kind: "map", K: 9 /*ScalarType.STRING*/, V: { kind: "scalar", T: 9 /*ScalarType.STRING*/ } }
|
|
]);
|
|
}
|
|
create(value?: PartialMessage<TranslationMap>): TranslationMap {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
message.data = {};
|
|
if (value !== undefined)
|
|
reflectionMergePartial<TranslationMap>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: TranslationMap): TranslationMap {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* map<string, string> data */ 1:
|
|
this.binaryReadMap1(message.data, reader, options);
|
|
break;
|
|
default:
|
|
let u = options.readUnknownField;
|
|
if (u === "throw")
|
|
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
let d = reader.skip(wireType);
|
|
if (u !== false)
|
|
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
}
|
|
}
|
|
return message;
|
|
}
|
|
private binaryReadMap1(map: TranslationMap["data"], reader: IBinaryReader, options: BinaryReadOptions): void {
|
|
let len = reader.uint32(), end = reader.pos + len, key: keyof TranslationMap["data"] | undefined, val: TranslationMap["data"][any] | undefined;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case 1:
|
|
key = reader.string();
|
|
break;
|
|
case 2:
|
|
val = reader.string();
|
|
break;
|
|
default: throw new globalThis.Error("unknown map entry field for vizapi.TranslationMap.data");
|
|
}
|
|
}
|
|
map[key ?? ""] = val ?? "";
|
|
}
|
|
internalBinaryWrite(message: TranslationMap, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* map<string, string> data = 1; */
|
|
for (let k of globalThis.Object.keys(message.data))
|
|
writer.tag(1, WireType.LengthDelimited).fork().tag(1, WireType.LengthDelimited).string(k).tag(2, WireType.LengthDelimited).string(message.data[k]).join();
|
|
let u = options.writeUnknownFields;
|
|
if (u !== false)
|
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
return writer;
|
|
}
|
|
}
|
|
/**
|
|
* @generated MessageType for protobuf message vizapi.TranslationMap
|
|
*/
|
|
export const TranslationMap = new TranslationMap$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ExtractColumnFormat$Type extends MessageType<ExtractColumnFormat> {
|
|
constructor() {
|
|
super("vizapi.ExtractColumnFormat", [
|
|
{ no: 1, name: "Type", kind: "enum", localName: "Type", jsonName: "Type", T: () => ["vizapi.ExtractColumnFormat.type", ExtractColumnFormat_type] },
|
|
{ no: 2, name: "Format", kind: "scalar", localName: "Format", jsonName: "Format", T: 9 /*ScalarType.STRING*/ },
|
|
{ no: 3, name: "DisplayDate", kind: "enum", localName: "DisplayDate", jsonName: "DisplayDate", T: () => ["vizapi.DisplayDate", DisplayDate] }
|
|
]);
|
|
}
|
|
create(value?: PartialMessage<ExtractColumnFormat>): ExtractColumnFormat {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
message.Type = 0;
|
|
message.Format = "";
|
|
message.DisplayDate = 0;
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ExtractColumnFormat>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExtractColumnFormat): ExtractColumnFormat {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* vizapi.ExtractColumnFormat.type Type */ 1:
|
|
message.Type = reader.int32();
|
|
break;
|
|
case /* string Format */ 2:
|
|
message.Format = reader.string();
|
|
break;
|
|
case /* vizapi.DisplayDate DisplayDate */ 3:
|
|
message.DisplayDate = reader.int32();
|
|
break;
|
|
default:
|
|
let u = options.readUnknownField;
|
|
if (u === "throw")
|
|
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
let d = reader.skip(wireType);
|
|
if (u !== false)
|
|
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
}
|
|
}
|
|
return message;
|
|
}
|
|
internalBinaryWrite(message: ExtractColumnFormat, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* vizapi.ExtractColumnFormat.type Type = 1; */
|
|
if (message.Type !== 0)
|
|
writer.tag(1, WireType.Varint).int32(message.Type);
|
|
/* string Format = 2; */
|
|
if (message.Format !== "")
|
|
writer.tag(2, WireType.LengthDelimited).string(message.Format);
|
|
/* vizapi.DisplayDate DisplayDate = 3; */
|
|
if (message.DisplayDate !== 0)
|
|
writer.tag(3, WireType.Varint).int32(message.DisplayDate);
|
|
let u = options.writeUnknownFields;
|
|
if (u !== false)
|
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
return writer;
|
|
}
|
|
}
|
|
/**
|
|
* @generated MessageType for protobuf message vizapi.ExtractColumnFormat
|
|
*/
|
|
export const ExtractColumnFormat = new ExtractColumnFormat$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ExtractRequest$Type extends MessageType<ExtractRequest> {
|
|
constructor() {
|
|
super("vizapi.ExtractRequest", [
|
|
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
|
|
{ no: 2, name: "ViewID", kind: "scalar", localName: "ViewID", jsonName: "ViewID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
|
{ no: 3, name: "BlockFilters", kind: "message", localName: "BlockFilters", jsonName: "BlockFilters", repeat: 2 /*RepeatType.UNPACKED*/, T: () => BlockFilter, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "BlockFilter structure for Find query" } } },
|
|
{ no: 4, name: "ListSeparator", kind: "scalar", localName: "ListSeparator", jsonName: "ListSeparator", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Separator for list to use in the csv" }, "validate.rules": { string: { minLen: "1" } } } },
|
|
{ no: 5, name: "DecimalSeparator", kind: "scalar", localName: "DecimalSeparator", jsonName: "DecimalSeparator", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Separator for decimal to use in the csv" }, "validate.rules": { string: { minLen: "1" } } } },
|
|
{ no: 8, name: "ColumnTranslationMaps", kind: "map", localName: "ColumnTranslationMaps", jsonName: "ColumnTranslationMaps", K: 9 /*ScalarType.STRING*/, V: { kind: "message", T: () => TranslationMap } },
|
|
{ no: 9, name: "ColumnFormats", kind: "map", localName: "ColumnFormats", jsonName: "ColumnFormats", K: 5 /*ScalarType.INT32*/, V: { kind: "message", T: () => ExtractColumnFormat } },
|
|
{ no: 10, name: "TargetTimeZone", kind: "scalar", localName: "TargetTimeZone", jsonName: "TargetTimeZone", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Target user time zone <a href='https://en.wikipedia.org/wiki/List_of_tz_database_time_zones'>format</a>", example: "\"Europe/Paris\"" }, "validate.rules": { string: { minLen: "1", tzData: true } } } },
|
|
{ no: 11, name: "DateFormat", kind: "scalar", localName: "DateFormat", jsonName: "DateFormat", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Language code to format dates <a href='https://en.wikipedia.org/wiki/ISO_639'>format</a>", example: "\"en-US\"" } } },
|
|
{ no: 12, name: "NumberFormat", kind: "scalar", localName: "NumberFormat", jsonName: "NumberFormat", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Language code to format numbers <a href='https://en.wikipedia.org/wiki/ISO_639'>format</a>", example: "\"en-US\"" } } },
|
|
{ no: 13, name: "TimeFormat", kind: "enum", localName: "TimeFormat", jsonName: "TimeFormat", T: () => ["vizapi.TimeFormat", TimeFormat], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Hour clock time format" } } }
|
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ViewID", "ListSeparator", "DecimalSeparator"] } } });
|
|
}
|
|
create(value?: PartialMessage<ExtractRequest>): ExtractRequest {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
message.ViewID = "";
|
|
message.BlockFilters = [];
|
|
message.ListSeparator = "";
|
|
message.DecimalSeparator = "";
|
|
message.ColumnTranslationMaps = {};
|
|
message.ColumnFormats = {};
|
|
message.TargetTimeZone = "";
|
|
message.DateFormat = "";
|
|
message.NumberFormat = "";
|
|
message.TimeFormat = 0;
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ExtractRequest>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExtractRequest): ExtractRequest {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* api.RequestProjectHeader Header */ 1:
|
|
message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
|
|
break;
|
|
case /* string ViewID */ 2:
|
|
message.ViewID = reader.string();
|
|
break;
|
|
case /* repeated api.BlockFilter BlockFilters */ 3:
|
|
message.BlockFilters.push(BlockFilter.internalBinaryRead(reader, reader.uint32(), options));
|
|
break;
|
|
case /* string ListSeparator */ 4:
|
|
message.ListSeparator = reader.string();
|
|
break;
|
|
case /* string DecimalSeparator */ 5:
|
|
message.DecimalSeparator = reader.string();
|
|
break;
|
|
case /* map<string, vizapi.TranslationMap> ColumnTranslationMaps */ 8:
|
|
this.binaryReadMap8(message.ColumnTranslationMaps, reader, options);
|
|
break;
|
|
case /* map<int32, vizapi.ExtractColumnFormat> ColumnFormats */ 9:
|
|
this.binaryReadMap9(message.ColumnFormats, reader, options);
|
|
break;
|
|
case /* string TargetTimeZone */ 10:
|
|
message.TargetTimeZone = reader.string();
|
|
break;
|
|
case /* string DateFormat */ 11:
|
|
message.DateFormat = reader.string();
|
|
break;
|
|
case /* string NumberFormat */ 12:
|
|
message.NumberFormat = reader.string();
|
|
break;
|
|
case /* vizapi.TimeFormat TimeFormat */ 13:
|
|
message.TimeFormat = reader.int32();
|
|
break;
|
|
default:
|
|
let u = options.readUnknownField;
|
|
if (u === "throw")
|
|
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
let d = reader.skip(wireType);
|
|
if (u !== false)
|
|
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
}
|
|
}
|
|
return message;
|
|
}
|
|
private binaryReadMap8(map: ExtractRequest["ColumnTranslationMaps"], reader: IBinaryReader, options: BinaryReadOptions): void {
|
|
let len = reader.uint32(), end = reader.pos + len, key: keyof ExtractRequest["ColumnTranslationMaps"] | undefined, val: ExtractRequest["ColumnTranslationMaps"][any] | undefined;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case 1:
|
|
key = reader.string();
|
|
break;
|
|
case 2:
|
|
val = TranslationMap.internalBinaryRead(reader, reader.uint32(), options);
|
|
break;
|
|
default: throw new globalThis.Error("unknown map entry field for vizapi.ExtractRequest.ColumnTranslationMaps");
|
|
}
|
|
}
|
|
map[key ?? ""] = val ?? TranslationMap.create();
|
|
}
|
|
private binaryReadMap9(map: ExtractRequest["ColumnFormats"], reader: IBinaryReader, options: BinaryReadOptions): void {
|
|
let len = reader.uint32(), end = reader.pos + len, key: keyof ExtractRequest["ColumnFormats"] | undefined, val: ExtractRequest["ColumnFormats"][any] | undefined;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case 1:
|
|
key = reader.int32();
|
|
break;
|
|
case 2:
|
|
val = ExtractColumnFormat.internalBinaryRead(reader, reader.uint32(), options);
|
|
break;
|
|
default: throw new globalThis.Error("unknown map entry field for vizapi.ExtractRequest.ColumnFormats");
|
|
}
|
|
}
|
|
map[key ?? 0] = val ?? ExtractColumnFormat.create();
|
|
}
|
|
internalBinaryWrite(message: ExtractRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* api.RequestProjectHeader Header = 1; */
|
|
if (message.Header)
|
|
RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
/* string ViewID = 2; */
|
|
if (message.ViewID !== "")
|
|
writer.tag(2, WireType.LengthDelimited).string(message.ViewID);
|
|
/* repeated api.BlockFilter BlockFilters = 3; */
|
|
for (let i = 0; i < message.BlockFilters.length; i++)
|
|
BlockFilter.internalBinaryWrite(message.BlockFilters[i], writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
/* string ListSeparator = 4; */
|
|
if (message.ListSeparator !== "")
|
|
writer.tag(4, WireType.LengthDelimited).string(message.ListSeparator);
|
|
/* string DecimalSeparator = 5; */
|
|
if (message.DecimalSeparator !== "")
|
|
writer.tag(5, WireType.LengthDelimited).string(message.DecimalSeparator);
|
|
/* map<string, vizapi.TranslationMap> ColumnTranslationMaps = 8; */
|
|
for (let k of globalThis.Object.keys(message.ColumnTranslationMaps)) {
|
|
writer.tag(8, WireType.LengthDelimited).fork().tag(1, WireType.LengthDelimited).string(k);
|
|
writer.tag(2, WireType.LengthDelimited).fork();
|
|
TranslationMap.internalBinaryWrite(message.ColumnTranslationMaps[k], writer, options);
|
|
writer.join().join();
|
|
}
|
|
/* map<int32, vizapi.ExtractColumnFormat> ColumnFormats = 9; */
|
|
for (let k of globalThis.Object.keys(message.ColumnFormats)) {
|
|
writer.tag(9, WireType.LengthDelimited).fork().tag(1, WireType.Varint).int32(parseInt(k));
|
|
writer.tag(2, WireType.LengthDelimited).fork();
|
|
ExtractColumnFormat.internalBinaryWrite(message.ColumnFormats[k as any], writer, options);
|
|
writer.join().join();
|
|
}
|
|
/* string TargetTimeZone = 10; */
|
|
if (message.TargetTimeZone !== "")
|
|
writer.tag(10, WireType.LengthDelimited).string(message.TargetTimeZone);
|
|
/* string DateFormat = 11; */
|
|
if (message.DateFormat !== "")
|
|
writer.tag(11, WireType.LengthDelimited).string(message.DateFormat);
|
|
/* string NumberFormat = 12; */
|
|
if (message.NumberFormat !== "")
|
|
writer.tag(12, WireType.LengthDelimited).string(message.NumberFormat);
|
|
/* vizapi.TimeFormat TimeFormat = 13; */
|
|
if (message.TimeFormat !== 0)
|
|
writer.tag(13, WireType.Varint).int32(message.TimeFormat);
|
|
let u = options.writeUnknownFields;
|
|
if (u !== false)
|
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
return writer;
|
|
}
|
|
}
|
|
/**
|
|
* @generated MessageType for protobuf message vizapi.ExtractRequest
|
|
*/
|
|
export const ExtractRequest = new ExtractRequest$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ExtractResult$Type extends MessageType<ExtractResult> {
|
|
constructor() {
|
|
super("vizapi.ExtractResult", [
|
|
{ no: 1, name: "WorkflowID", kind: "scalar", localName: "WorkflowID", jsonName: "WorkflowID", T: 9 /*ScalarType.STRING*/ },
|
|
{ no: 2, name: "RunID", kind: "scalar", localName: "RunID", jsonName: "RunID", T: 9 /*ScalarType.STRING*/ }
|
|
]);
|
|
}
|
|
create(value?: PartialMessage<ExtractResult>): ExtractResult {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
message.WorkflowID = "";
|
|
message.RunID = "";
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ExtractResult>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExtractResult): ExtractResult {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* string WorkflowID */ 1:
|
|
message.WorkflowID = reader.string();
|
|
break;
|
|
case /* string RunID */ 2:
|
|
message.RunID = reader.string();
|
|
break;
|
|
default:
|
|
let u = options.readUnknownField;
|
|
if (u === "throw")
|
|
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
let d = reader.skip(wireType);
|
|
if (u !== false)
|
|
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
}
|
|
}
|
|
return message;
|
|
}
|
|
internalBinaryWrite(message: ExtractResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* string WorkflowID = 1; */
|
|
if (message.WorkflowID !== "")
|
|
writer.tag(1, WireType.LengthDelimited).string(message.WorkflowID);
|
|
/* string RunID = 2; */
|
|
if (message.RunID !== "")
|
|
writer.tag(2, WireType.LengthDelimited).string(message.RunID);
|
|
let u = options.writeUnknownFields;
|
|
if (u !== false)
|
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
return writer;
|
|
}
|
|
}
|
|
/**
|
|
* @generated MessageType for protobuf message vizapi.ExtractResult
|
|
*/
|
|
export const ExtractResult = new ExtractResult$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ExtractProjectRequest$Type extends MessageType<ExtractProjectRequest> {
|
|
constructor() {
|
|
super("vizapi.ExtractProjectRequest", [
|
|
{ no: 1, name: "Header", kind: "message", localName: "Header", jsonName: "Header", T: () => RequestProjectHeader, options: { "validate.rules": { message: { required: true } } } },
|
|
{ no: 2, name: "ViewID", kind: "scalar", localName: "ViewID", jsonName: "ViewID", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { minLen: "1" } } } },
|
|
{ no: 3, name: "BlockFilters", kind: "message", localName: "BlockFilters", jsonName: "BlockFilters", repeat: 2 /*RepeatType.UNPACKED*/, T: () => BlockFilter, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "BlockFilter structure for Find query" } } },
|
|
{ no: 4, name: "ListSeparator", kind: "scalar", localName: "ListSeparator", jsonName: "ListSeparator", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Separator for list to use in the csv" }, "validate.rules": { string: { minLen: "1" } } } },
|
|
{ no: 5, name: "DecimalSeparator", kind: "scalar", localName: "DecimalSeparator", jsonName: "DecimalSeparator", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Separator for decimal to use in the csv" }, "validate.rules": { string: { minLen: "1" } } } },
|
|
{ no: 8, name: "ColumnTranslationMaps", kind: "map", localName: "ColumnTranslationMaps", jsonName: "ColumnTranslationMaps", K: 9 /*ScalarType.STRING*/, V: { kind: "message", T: () => TranslationMap } },
|
|
{ no: 9, name: "ColumnFormats", kind: "map", localName: "ColumnFormats", jsonName: "ColumnFormats", K: 5 /*ScalarType.INT32*/, V: { kind: "message", T: () => ExtractColumnFormat } },
|
|
{ no: 10, name: "TargetTimeZone", kind: "scalar", localName: "TargetTimeZone", jsonName: "TargetTimeZone", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Target user time zone <a href='https://en.wikipedia.org/wiki/List_of_tz_database_time_zones'>format</a>", example: "\"Europe/Paris\"" }, "validate.rules": { string: { minLen: "1", tzData: true } } } },
|
|
{ no: 11, name: "DateFormat", kind: "scalar", localName: "DateFormat", jsonName: "DateFormat", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Language code to format dates <a href='https://en.wikipedia.org/wiki/ISO_639'>format</a>", example: "\"en-US\"" } } },
|
|
{ no: 12, name: "NumberFormat", kind: "scalar", localName: "NumberFormat", jsonName: "NumberFormat", T: 9 /*ScalarType.STRING*/, options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Language code to format numbers <a href='https://en.wikipedia.org/wiki/ISO_639'>format</a>", example: "\"en-US\"" } } },
|
|
{ no: 13, name: "TimeFormat", kind: "enum", localName: "TimeFormat", jsonName: "TimeFormat", T: () => ["vizapi.TimeFormat", TimeFormat], options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field": { description: "Hour clock time format" } } }
|
|
], { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema": { jsonSchema: { required: ["Header", "ViewID", "ListSeparator", "DecimalSeparator"] } } });
|
|
}
|
|
create(value?: PartialMessage<ExtractProjectRequest>): ExtractProjectRequest {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
message.ViewID = "";
|
|
message.BlockFilters = [];
|
|
message.ListSeparator = "";
|
|
message.DecimalSeparator = "";
|
|
message.ColumnTranslationMaps = {};
|
|
message.ColumnFormats = {};
|
|
message.TargetTimeZone = "";
|
|
message.DateFormat = "";
|
|
message.NumberFormat = "";
|
|
message.TimeFormat = 0;
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ExtractProjectRequest>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExtractProjectRequest): ExtractProjectRequest {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* api.RequestProjectHeader Header */ 1:
|
|
message.Header = RequestProjectHeader.internalBinaryRead(reader, reader.uint32(), options, message.Header);
|
|
break;
|
|
case /* string ViewID */ 2:
|
|
message.ViewID = reader.string();
|
|
break;
|
|
case /* repeated api.BlockFilter BlockFilters */ 3:
|
|
message.BlockFilters.push(BlockFilter.internalBinaryRead(reader, reader.uint32(), options));
|
|
break;
|
|
case /* string ListSeparator */ 4:
|
|
message.ListSeparator = reader.string();
|
|
break;
|
|
case /* string DecimalSeparator */ 5:
|
|
message.DecimalSeparator = reader.string();
|
|
break;
|
|
case /* map<string, vizapi.TranslationMap> ColumnTranslationMaps */ 8:
|
|
this.binaryReadMap8(message.ColumnTranslationMaps, reader, options);
|
|
break;
|
|
case /* map<int32, vizapi.ExtractColumnFormat> ColumnFormats */ 9:
|
|
this.binaryReadMap9(message.ColumnFormats, reader, options);
|
|
break;
|
|
case /* string TargetTimeZone */ 10:
|
|
message.TargetTimeZone = reader.string();
|
|
break;
|
|
case /* string DateFormat */ 11:
|
|
message.DateFormat = reader.string();
|
|
break;
|
|
case /* string NumberFormat */ 12:
|
|
message.NumberFormat = reader.string();
|
|
break;
|
|
case /* vizapi.TimeFormat TimeFormat */ 13:
|
|
message.TimeFormat = reader.int32();
|
|
break;
|
|
default:
|
|
let u = options.readUnknownField;
|
|
if (u === "throw")
|
|
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
let d = reader.skip(wireType);
|
|
if (u !== false)
|
|
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
}
|
|
}
|
|
return message;
|
|
}
|
|
private binaryReadMap8(map: ExtractProjectRequest["ColumnTranslationMaps"], reader: IBinaryReader, options: BinaryReadOptions): void {
|
|
let len = reader.uint32(), end = reader.pos + len, key: keyof ExtractProjectRequest["ColumnTranslationMaps"] | undefined, val: ExtractProjectRequest["ColumnTranslationMaps"][any] | undefined;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case 1:
|
|
key = reader.string();
|
|
break;
|
|
case 2:
|
|
val = TranslationMap.internalBinaryRead(reader, reader.uint32(), options);
|
|
break;
|
|
default: throw new globalThis.Error("unknown map entry field for vizapi.ExtractProjectRequest.ColumnTranslationMaps");
|
|
}
|
|
}
|
|
map[key ?? ""] = val ?? TranslationMap.create();
|
|
}
|
|
private binaryReadMap9(map: ExtractProjectRequest["ColumnFormats"], reader: IBinaryReader, options: BinaryReadOptions): void {
|
|
let len = reader.uint32(), end = reader.pos + len, key: keyof ExtractProjectRequest["ColumnFormats"] | undefined, val: ExtractProjectRequest["ColumnFormats"][any] | undefined;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case 1:
|
|
key = reader.int32();
|
|
break;
|
|
case 2:
|
|
val = ExtractColumnFormat.internalBinaryRead(reader, reader.uint32(), options);
|
|
break;
|
|
default: throw new globalThis.Error("unknown map entry field for vizapi.ExtractProjectRequest.ColumnFormats");
|
|
}
|
|
}
|
|
map[key ?? 0] = val ?? ExtractColumnFormat.create();
|
|
}
|
|
internalBinaryWrite(message: ExtractProjectRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* api.RequestProjectHeader Header = 1; */
|
|
if (message.Header)
|
|
RequestProjectHeader.internalBinaryWrite(message.Header, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
/* string ViewID = 2; */
|
|
if (message.ViewID !== "")
|
|
writer.tag(2, WireType.LengthDelimited).string(message.ViewID);
|
|
/* repeated api.BlockFilter BlockFilters = 3; */
|
|
for (let i = 0; i < message.BlockFilters.length; i++)
|
|
BlockFilter.internalBinaryWrite(message.BlockFilters[i], writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
/* string ListSeparator = 4; */
|
|
if (message.ListSeparator !== "")
|
|
writer.tag(4, WireType.LengthDelimited).string(message.ListSeparator);
|
|
/* string DecimalSeparator = 5; */
|
|
if (message.DecimalSeparator !== "")
|
|
writer.tag(5, WireType.LengthDelimited).string(message.DecimalSeparator);
|
|
/* map<string, vizapi.TranslationMap> ColumnTranslationMaps = 8; */
|
|
for (let k of globalThis.Object.keys(message.ColumnTranslationMaps)) {
|
|
writer.tag(8, WireType.LengthDelimited).fork().tag(1, WireType.LengthDelimited).string(k);
|
|
writer.tag(2, WireType.LengthDelimited).fork();
|
|
TranslationMap.internalBinaryWrite(message.ColumnTranslationMaps[k], writer, options);
|
|
writer.join().join();
|
|
}
|
|
/* map<int32, vizapi.ExtractColumnFormat> ColumnFormats = 9; */
|
|
for (let k of globalThis.Object.keys(message.ColumnFormats)) {
|
|
writer.tag(9, WireType.LengthDelimited).fork().tag(1, WireType.Varint).int32(parseInt(k));
|
|
writer.tag(2, WireType.LengthDelimited).fork();
|
|
ExtractColumnFormat.internalBinaryWrite(message.ColumnFormats[k as any], writer, options);
|
|
writer.join().join();
|
|
}
|
|
/* string TargetTimeZone = 10; */
|
|
if (message.TargetTimeZone !== "")
|
|
writer.tag(10, WireType.LengthDelimited).string(message.TargetTimeZone);
|
|
/* string DateFormat = 11; */
|
|
if (message.DateFormat !== "")
|
|
writer.tag(11, WireType.LengthDelimited).string(message.DateFormat);
|
|
/* string NumberFormat = 12; */
|
|
if (message.NumberFormat !== "")
|
|
writer.tag(12, WireType.LengthDelimited).string(message.NumberFormat);
|
|
/* vizapi.TimeFormat TimeFormat = 13; */
|
|
if (message.TimeFormat !== 0)
|
|
writer.tag(13, WireType.Varint).int32(message.TimeFormat);
|
|
let u = options.writeUnknownFields;
|
|
if (u !== false)
|
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
return writer;
|
|
}
|
|
}
|
|
/**
|
|
* @generated MessageType for protobuf message vizapi.ExtractProjectRequest
|
|
*/
|
|
export const ExtractProjectRequest = new ExtractProjectRequest$Type();
|
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
class ExtractProjectResult$Type extends MessageType<ExtractProjectResult> {
|
|
constructor() {
|
|
super("vizapi.ExtractProjectResult", [
|
|
{ no: 1, name: "WorkflowID", kind: "scalar", localName: "WorkflowID", jsonName: "WorkflowID", T: 9 /*ScalarType.STRING*/ },
|
|
{ no: 2, name: "RunID", kind: "scalar", localName: "RunID", jsonName: "RunID", T: 9 /*ScalarType.STRING*/ }
|
|
]);
|
|
}
|
|
create(value?: PartialMessage<ExtractProjectResult>): ExtractProjectResult {
|
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
message.WorkflowID = "";
|
|
message.RunID = "";
|
|
if (value !== undefined)
|
|
reflectionMergePartial<ExtractProjectResult>(this, message, value);
|
|
return message;
|
|
}
|
|
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExtractProjectResult): ExtractProjectResult {
|
|
let message = target ?? this.create(), end = reader.pos + length;
|
|
while (reader.pos < end) {
|
|
let [fieldNo, wireType] = reader.tag();
|
|
switch (fieldNo) {
|
|
case /* string WorkflowID */ 1:
|
|
message.WorkflowID = reader.string();
|
|
break;
|
|
case /* string RunID */ 2:
|
|
message.RunID = reader.string();
|
|
break;
|
|
default:
|
|
let u = options.readUnknownField;
|
|
if (u === "throw")
|
|
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
let d = reader.skip(wireType);
|
|
if (u !== false)
|
|
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
}
|
|
}
|
|
return message;
|
|
}
|
|
internalBinaryWrite(message: ExtractProjectResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
/* string WorkflowID = 1; */
|
|
if (message.WorkflowID !== "")
|
|
writer.tag(1, WireType.LengthDelimited).string(message.WorkflowID);
|
|
/* string RunID = 2; */
|
|
if (message.RunID !== "")
|
|
writer.tag(2, WireType.LengthDelimited).string(message.RunID);
|
|
let u = options.writeUnknownFields;
|
|
if (u !== false)
|
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
return writer;
|
|
}
|
|
}
|
|
/**
|
|
* @generated MessageType for protobuf message vizapi.ExtractProjectResult
|
|
*/
|
|
export const ExtractProjectResult = new ExtractProjectResult$Type();
|
|
/**
|
|
* @generated ServiceType for protobuf service vizapi.ViewService
|
|
*/
|
|
export const ViewService = new ServiceType("vizapi.ViewService", [
|
|
{ name: "Get", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["View"], summary: "Get a view" }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: GetViewRequest, O: GetViewResult },
|
|
{ name: "Create", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["View"], summary: "Create a view" }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: CreateViewRequest, O: CreateViewResult },
|
|
{ name: "Update", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["View"], summary: "Update a view" }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: UpdateViewRequest, O: UpdateViewResult },
|
|
{ name: "Delete", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["View"], summary: "Delete a view" }, "api.rscType": "Project", "api.roles": "Platform.Project-Views", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: DeleteViewRequest, O: DeleteViewResult },
|
|
{ name: "List", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["View"], summary: "List views", description: "List all Views present under the same Project and with the same Screen ID" }, "api.rscType": "Project", "api.roles": "Platform.Project-Views", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ListViewRequest, O: ListViewResult },
|
|
{ name: "DeleteViewsForProject", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["View"], summary: "Delete all views for a project" }, "api.rscType": "Platform", "api.roles": "Platform.Project-Views", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: DeleteViewsForProjectRequest, O: DeleteViewsForProjectResult },
|
|
{ name: "Extract", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["View"], summary: "Extract view", description: "Start view extraction in csv format" }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExtractRequest, O: ExtractResult },
|
|
{ name: "GetProject", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["View"], summary: "Get a view" }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: GetProjectViewRequest, O: GetProjectViewResult },
|
|
{ name: "CreateProject", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["View"], summary: "Create a view" }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: CreateProjectViewRequest, O: CreateProjectViewResult },
|
|
{ name: "UpdateProject", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["View"], summary: "Update a view" }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: UpdateProjectViewRequest, O: UpdateProjectViewResult },
|
|
{ name: "DeleteProject", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["View"], summary: "Delete a view" }, "api.rscType": "Project", "api.roles": "Platform.Project-Views", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: DeleteProjectViewRequest, O: DeleteProjectViewResult },
|
|
{ name: "ListProject", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["View"], summary: "List views", description: "List all Views present under the same Project and with the same Screen ID" }, "api.rscType": "Project", "api.roles": "Platform.Project-Views", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ListProjectViewRequest, O: ListProjectViewResult },
|
|
{ name: "ExtractProject", options: { "grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation": { tags: ["View"], summary: "Extract view", description: "Start view extraction in csv format" }, "api.rscType": "Project", "api.roles": "", "google.api.method_visibility": { restriction: "PUBLIC" } }, I: ExtractProjectRequest, O: ExtractProjectResult }
|
|
], { "api.k8sService": "views-server" });
|