UNPKG

@ydbjs/api

Version:

TypeScript gRPC service definitions and protobuf types for all YDB APIs. Enables strongly-typed client generation and low-level protocol access.

234 lines 14.8 kB
// @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=js" // @generated from file protos/ydb_monitoring.proto (package Ydb.Monitoring, syntax proto3) /* eslint-disable */ import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1"; import { file_protos_ydb_operation } from "./ydb_operation_pb.js"; /** * Describes the file protos/ydb_monitoring.proto. */ export const file_protos_ydb_monitoring = /*@__PURE__*/ fileDesc("Chtwcm90b3MveWRiX21vbml0b3JpbmcucHJvdG8SDllkYi5Nb25pdG9yaW5nImcKClN0YXR1c0ZsYWciWQoGU3RhdHVzEg8KC1VOU1BFQ0lGSUVEEAASCAoER1JFWRABEgkKBUdSRUVOEAISCAoEQkxVRRADEgoKBllFTExPVxAEEgoKBk9SQU5HRRAFEgcKA1JFRBAGIr4BChBTZWxmQ2hlY2tSZXF1ZXN0EjkKEG9wZXJhdGlvbl9wYXJhbXMYASABKAsyHy5ZZGIuT3BlcmF0aW9ucy5PcGVyYXRpb25QYXJhbXMSHQoVcmV0dXJuX3ZlcmJvc2Vfc3RhdHVzGAIgASgIEjkKDm1pbmltdW1fc3RhdHVzGAMgASgOMiEuWWRiLk1vbml0b3JpbmcuU3RhdHVzRmxhZy5TdGF0dXMSFQoNbWF4aW11bV9sZXZlbBgEIAEoDSJBChFTZWxmQ2hlY2tSZXNwb25zZRIsCglvcGVyYXRpb24YASABKAsyGS5ZZGIuT3BlcmF0aW9ucy5PcGVyYXRpb24iTQoQTm9kZUNoZWNrUmVxdWVzdBI5ChBvcGVyYXRpb25fcGFyYW1zGAEgASgLMh8uWWRiLk9wZXJhdGlvbnMuT3BlcmF0aW9uUGFyYW1zIkEKEU5vZGVDaGVja1Jlc3BvbnNlEiwKCW9wZXJhdGlvbhgBIAEoCzIZLllkYi5PcGVyYXRpb25zLk9wZXJhdGlvbiJnCglTZWxmQ2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gZwcm90bzM", [file_protos_ydb_operation]); /** * Describes the message Ydb.Monitoring.StatusFlag. * Use `create(StatusFlagSchema)` to create a new message. */ export const StatusFlagSchema = /*@__PURE__*/ messageDesc(file_protos_ydb_monitoring, 0); /** * Describes the general state of a component. * From GREEN to RED, where GREEN is good, and RED is bad. * GREY means that the corresponding status is unknown. * * @generated from enum Ydb.Monitoring.StatusFlag.Status */ export var StatusFlag_Status; (function (StatusFlag_Status) { /** * @generated from enum value: UNSPECIFIED = 0; */ StatusFlag_Status[StatusFlag_Status["UNSPECIFIED"] = 0] = "UNSPECIFIED"; /** * @generated from enum value: GREY = 1; */ StatusFlag_Status[StatusFlag_Status["GREY"] = 1] = "GREY"; /** * @generated from enum value: GREEN = 2; */ StatusFlag_Status[StatusFlag_Status["GREEN"] = 2] = "GREEN"; /** * @generated from enum value: BLUE = 3; */ StatusFlag_Status[StatusFlag_Status["BLUE"] = 3] = "BLUE"; /** * @generated from enum value: YELLOW = 4; */ StatusFlag_Status[StatusFlag_Status["YELLOW"] = 4] = "YELLOW"; /** * @generated from enum value: ORANGE = 5; */ StatusFlag_Status[StatusFlag_Status["ORANGE"] = 5] = "ORANGE"; /** * @generated from enum value: RED = 6; */ StatusFlag_Status[StatusFlag_Status["RED"] = 6] = "RED"; })(StatusFlag_Status || (StatusFlag_Status = {})); /** * Describes the enum Ydb.Monitoring.StatusFlag.Status. */ export const StatusFlag_StatusSchema = /*@__PURE__*/ enumDesc(file_protos_ydb_monitoring, 0, 0); /** * Describes the message Ydb.Monitoring.SelfCheckRequest. * Use `create(SelfCheckRequestSchema)` to create a new message. */ export const SelfCheckRequestSchema = /*@__PURE__*/ messageDesc(file_protos_ydb_monitoring, 1); /** * Describes the message Ydb.Monitoring.SelfCheckResponse. * Use `create(SelfCheckResponseSchema)` to create a new message. */ export const SelfCheckResponseSchema = /*@__PURE__*/ messageDesc(file_protos_ydb_monitoring, 2); /** * Describes the message Ydb.Monitoring.NodeCheckRequest. * Use `create(NodeCheckRequestSchema)` to create a new message. */ export const NodeCheckRequestSchema = /*@__PURE__*/ messageDesc(file_protos_ydb_monitoring, 3); /** * Describes the message Ydb.Monitoring.NodeCheckResponse. * Use `create(NodeCheckResponseSchema)` to create a new message. */ export const NodeCheckResponseSchema = /*@__PURE__*/ messageDesc(file_protos_ydb_monitoring, 4); /** * Describes the message Ydb.Monitoring.SelfCheck. * Use `create(SelfCheckSchema)` to create a new message. */ export const SelfCheckSchema = /*@__PURE__*/ messageDesc(file_protos_ydb_monitoring, 5); /** * Describes the result of self-check performed. * * @generated from enum Ydb.Monitoring.SelfCheck.Result */ export var SelfCheck_Result; (function (SelfCheck_Result) { /** * @generated from enum value: UNSPECIFIED = 0; */ SelfCheck_Result[SelfCheck_Result["UNSPECIFIED"] = 0] = "UNSPECIFIED"; /** * @generated from enum value: GOOD = 1; */ SelfCheck_Result[SelfCheck_Result["GOOD"] = 1] = "GOOD"; /** * @generated from enum value: DEGRADED = 2; */ SelfCheck_Result[SelfCheck_Result["DEGRADED"] = 2] = "DEGRADED"; /** * @generated from enum value: MAINTENANCE_REQUIRED = 3; */ SelfCheck_Result[SelfCheck_Result["MAINTENANCE_REQUIRED"] = 3] = "MAINTENANCE_REQUIRED"; /** * @generated from enum value: EMERGENCY = 4; */ SelfCheck_Result[SelfCheck_Result["EMERGENCY"] = 4] = "EMERGENCY"; })(SelfCheck_Result || (SelfCheck_Result = {})); /** * Describes the enum Ydb.Monitoring.SelfCheck.Result. */ export const SelfCheck_ResultSchema = /*@__PURE__*/ enumDesc(file_protos_ydb_monitoring, 5, 0); /** * Describes the message Ydb.Monitoring.StoragePDiskStatus. * Use `create(StoragePDiskStatusSchema)` to create a new message. */ export const StoragePDiskStatusSchema = /*@__PURE__*/ messageDesc(file_protos_ydb_monitoring, 6); /** * Describes the message Ydb.Monitoring.StorageVDiskStatus. * Use `create(StorageVDiskStatusSchema)` to create a new message. */ export const StorageVDiskStatusSchema = /*@__PURE__*/ messageDesc(file_protos_ydb_monitoring, 7); /** * Describes the message Ydb.Monitoring.StorageGroupStatus. * Use `create(StorageGroupStatusSchema)` to create a new message. */ export const StorageGroupStatusSchema = /*@__PURE__*/ messageDesc(file_protos_ydb_monitoring, 8); /** * Describes the message Ydb.Monitoring.StoragePoolStatus. * Use `create(StoragePoolStatusSchema)` to create a new message. */ export const StoragePoolStatusSchema = /*@__PURE__*/ messageDesc(file_protos_ydb_monitoring, 9); /** * Describes the message Ydb.Monitoring.StorageStatus. * Use `create(StorageStatusSchema)` to create a new message. */ export const StorageStatusSchema = /*@__PURE__*/ messageDesc(file_protos_ydb_monitoring, 10); /** * Describes the message Ydb.Monitoring.ComputeTabletStatus. * Use `create(ComputeTabletStatusSchema)` to create a new message. */ export const ComputeTabletStatusSchema = /*@__PURE__*/ messageDesc(file_protos_ydb_monitoring, 11); /** * Describes the message Ydb.Monitoring.ThreadPoolStatus. * Use `create(ThreadPoolStatusSchema)` to create a new message. */ export const ThreadPoolStatusSchema = /*@__PURE__*/ messageDesc(file_protos_ydb_monitoring, 12); /** * Describes the message Ydb.Monitoring.LoadAverageStatus. * Use `create(LoadAverageStatusSchema)` to create a new message. */ export const LoadAverageStatusSchema = /*@__PURE__*/ messageDesc(file_protos_ydb_monitoring, 13); /** * Describes the message Ydb.Monitoring.ComputeNodeStatus. * Use `create(ComputeNodeStatusSchema)` to create a new message. */ export const ComputeNodeStatusSchema = /*@__PURE__*/ messageDesc(file_protos_ydb_monitoring, 14); /** * Describes the message Ydb.Monitoring.ComputeStatus. * Use `create(ComputeStatusSchema)` to create a new message. */ export const ComputeStatusSchema = /*@__PURE__*/ messageDesc(file_protos_ydb_monitoring, 15); /** * Describes the message Ydb.Monitoring.LocationNode. * Use `create(LocationNodeSchema)` to create a new message. */ export const LocationNodeSchema = /*@__PURE__*/ messageDesc(file_protos_ydb_monitoring, 16); /** * Describes the message Ydb.Monitoring.LocationStoragePDisk. * Use `create(LocationStoragePDiskSchema)` to create a new message. */ export const LocationStoragePDiskSchema = /*@__PURE__*/ messageDesc(file_protos_ydb_monitoring, 17); /** * Describes the message Ydb.Monitoring.LocationStorageVDisk. * Use `create(LocationStorageVDiskSchema)` to create a new message. */ export const LocationStorageVDiskSchema = /*@__PURE__*/ messageDesc(file_protos_ydb_monitoring, 18); /** * Describes the message Ydb.Monitoring.LocationStorageGroup. * Use `create(LocationStorageGroupSchema)` to create a new message. */ export const LocationStorageGroupSchema = /*@__PURE__*/ messageDesc(file_protos_ydb_monitoring, 19); /** * Describes the message Ydb.Monitoring.LocationStoragePool. * Use `create(LocationStoragePoolSchema)` to create a new message. */ export const LocationStoragePoolSchema = /*@__PURE__*/ messageDesc(file_protos_ydb_monitoring, 20); /** * Describes the message Ydb.Monitoring.LocationStorage. * Use `create(LocationStorageSchema)` to create a new message. */ export const LocationStorageSchema = /*@__PURE__*/ messageDesc(file_protos_ydb_monitoring, 21); /** * Describes the message Ydb.Monitoring.LocationComputePool. * Use `create(LocationComputePoolSchema)` to create a new message. */ export const LocationComputePoolSchema = /*@__PURE__*/ messageDesc(file_protos_ydb_monitoring, 22); /** * Describes the message Ydb.Monitoring.LocationComputeTablet. * Use `create(LocationComputeTabletSchema)` to create a new message. */ export const LocationComputeTabletSchema = /*@__PURE__*/ messageDesc(file_protos_ydb_monitoring, 23); /** * Describes the message Ydb.Monitoring.LocationCompute. * Use `create(LocationComputeSchema)` to create a new message. */ export const LocationComputeSchema = /*@__PURE__*/ messageDesc(file_protos_ydb_monitoring, 24); /** * Describes the message Ydb.Monitoring.LocationDatabase. * Use `create(LocationDatabaseSchema)` to create a new message. */ export const LocationDatabaseSchema = /*@__PURE__*/ messageDesc(file_protos_ydb_monitoring, 25); /** * Describes the message Ydb.Monitoring.Location. * Use `create(LocationSchema)` to create a new message. */ export const LocationSchema = /*@__PURE__*/ messageDesc(file_protos_ydb_monitoring, 26); /** * Describes the message Ydb.Monitoring.IssueLog. * Use `create(IssueLogSchema)` to create a new message. */ export const IssueLogSchema = /*@__PURE__*/ messageDesc(file_protos_ydb_monitoring, 27); /** * Describes the message Ydb.Monitoring.DatabaseStatus. * Use `create(DatabaseStatusSchema)` to create a new message. */ export const DatabaseStatusSchema = /*@__PURE__*/ messageDesc(file_protos_ydb_monitoring, 28); /** * Describes the message Ydb.Monitoring.SelfCheckResult. * Use `create(SelfCheckResultSchema)` to create a new message. */ export const SelfCheckResultSchema = /*@__PURE__*/ messageDesc(file_protos_ydb_monitoring, 29); //# sourceMappingURL=ydb_monitoring_pb.js.map