@ydbjs/api
Version:
TypeScript gRPC service definitions and protobuf types for all YDB APIs. Enables strongly-typed client generation and low-level protocol access.
90 lines • 6.59 kB
JavaScript
// @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=js"
// @generated from file protos/ydb_operation.proto (package Ydb.Operations, syntax proto3)
/* eslint-disable */
import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
import { file_google_protobuf_any } from "../google/protobuf/any_pb.js";
import { file_google_protobuf_duration } from "../google/protobuf/duration_pb.js";
import { file_protos_annotations_validation } from "./annotations/validation_pb.js";
import { file_protos_ydb_common } from "./ydb_common_pb.js";
import { file_protos_ydb_issue_message } from "./ydb_issue_message_pb.js";
import { file_protos_ydb_status_codes } from "./ydb_status_codes_pb.js";
/**
* Describes the file protos/ydb_operation.proto.
*/
export const file_protos_ydb_operation = /*@__PURE__*/ fileDesc("Chpwcm90b3MveWRiX29wZXJhdGlvbi5wcm90bxIOWWRiLk9wZXJhdGlvbnMitgMKD09wZXJhdGlvblBhcmFtcxJFCg5vcGVyYXRpb25fbW9kZRgBIAEoDjItLllkYi5PcGVyYXRpb25zLk9wZXJhdGlvblBhcmFtcy5PcGVyYXRpb25Nb2RlEjQKEW9wZXJhdGlvbl90aW1lb3V0GAIgASgLMhkuZ29vZ2xlLnByb3RvYnVmLkR1cmF0aW9uEi8KDGNhbmNlbF9hZnRlchgDIAEoCzIZLmdvb2dsZS5wcm90b2J1Zi5EdXJhdGlvbhJNCgZsYWJlbHMYBCADKAsyKy5ZZGIuT3BlcmF0aW9ucy5PcGVyYXRpb25QYXJhbXMuTGFiZWxzRW50cnlCEKLmKgMYgAGq5ioFCgMYgAESMQoQcmVwb3J0X2Nvc3RfaW5mbxgFIAEoDjIXLllkYi5GZWF0dXJlRmxhZy5TdGF0dXMaLQoLTGFiZWxzRW50cnkSCwoDa2V5GAEgASgJEg0KBXZhbHVlGAIgASgJOgI4ASJECg1PcGVyYXRpb25Nb2RlEh4KGk9QRVJBVElP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LlN0YXR1c0lkcy5TdGF0dXNDb2RlEicKBmlzc3VlcxgEIAMoCzIXLllkYi5Jc3N1ZS5Jc3N1ZU1lc3NhZ2USJAoGcmVzdWx0GAUgASgLMhQuZ29vZ2xlLnByb3RvYnVmLkFueRImCghtZXRhZGF0YRgGIAEoCzIULmdvb2dsZS5wcm90b2J1Zi5BbnkSIAoJY29zdF9pbmZvGAcgASgLMg0uWWRiLkNvc3RJbmZvQmMKDnRlY2gueWRiLnByb3RvQg9PcGVyYXRpb25Qcm90b3NaPWdpdGh1Yi5jb20veWRiLXBsYXRmb3JtL3lkYi1nby1nZW5wcm90by9wcm90b3MvWWRiX09wZXJhdGlvbnP4AQFiBnByb3RvMw", [file_google_protobuf_any, file_google_protobuf_duration, file_protos_annotations_validation, file_protos_ydb_common, file_protos_ydb_issue_message, file_protos_ydb_status_codes]);
/**
* Describes the message Ydb.Operations.OperationParams.
* Use `create(OperationParamsSchema)` to create a new message.
*/
export const OperationParamsSchema = /*@__PURE__*/ messageDesc(file_protos_ydb_operation, 0);
/**
* @generated from enum Ydb.Operations.OperationParams.OperationMode
*/
export var OperationParams_OperationMode;
(function (OperationParams_OperationMode) {
/**
* @generated from enum value: OPERATION_MODE_UNSPECIFIED = 0;
*/
OperationParams_OperationMode[OperationParams_OperationMode["OPERATION_MODE_UNSPECIFIED"] = 0] = "OPERATION_MODE_UNSPECIFIED";
/**
* Server will only reply once operation is finished (ready=true), and operation object won't be
* accessible after the reply. This is a basic request-response mode.
*
* @generated from enum value: SYNC = 1;
*/
OperationParams_OperationMode[OperationParams_OperationMode["SYNC"] = 1] = "SYNC";
/**
* @generated from enum value: ASYNC = 2;
*/
OperationParams_OperationMode[OperationParams_OperationMode["ASYNC"] = 2] = "ASYNC";
})(OperationParams_OperationMode || (OperationParams_OperationMode = {}));
/**
* Describes the enum Ydb.Operations.OperationParams.OperationMode.
*/
export const OperationParams_OperationModeSchema = /*@__PURE__*/ enumDesc(file_protos_ydb_operation, 0, 0);
/**
* Describes the message Ydb.Operations.GetOperationRequest.
* Use `create(GetOperationRequestSchema)` to create a new message.
*/
export const GetOperationRequestSchema = /*@__PURE__*/ messageDesc(file_protos_ydb_operation, 1);
/**
* Describes the message Ydb.Operations.GetOperationResponse.
* Use `create(GetOperationResponseSchema)` to create a new message.
*/
export const GetOperationResponseSchema = /*@__PURE__*/ messageDesc(file_protos_ydb_operation, 2);
/**
* Describes the message Ydb.Operations.CancelOperationRequest.
* Use `create(CancelOperationRequestSchema)` to create a new message.
*/
export const CancelOperationRequestSchema = /*@__PURE__*/ messageDesc(file_protos_ydb_operation, 3);
/**
* Describes the message Ydb.Operations.CancelOperationResponse.
* Use `create(CancelOperationResponseSchema)` to create a new message.
*/
export const CancelOperationResponseSchema = /*@__PURE__*/ messageDesc(file_protos_ydb_operation, 4);
/**
* Describes the message Ydb.Operations.ForgetOperationRequest.
* Use `create(ForgetOperationRequestSchema)` to create a new message.
*/
export const ForgetOperationRequestSchema = /*@__PURE__*/ messageDesc(file_protos_ydb_operation, 5);
/**
* Describes the message Ydb.Operations.ForgetOperationResponse.
* Use `create(ForgetOperationResponseSchema)` to create a new message.
*/
export const ForgetOperationResponseSchema = /*@__PURE__*/ messageDesc(file_protos_ydb_operation, 6);
/**
* Describes the message Ydb.Operations.ListOperationsRequest.
* Use `create(ListOperationsRequestSchema)` to create a new message.
*/
export const ListOperationsRequestSchema = /*@__PURE__*/ messageDesc(file_protos_ydb_operation, 7);
/**
* Describes the message Ydb.Operations.ListOperationsResponse.
* Use `create(ListOperationsResponseSchema)` to create a new message.
*/
export const ListOperationsResponseSchema = /*@__PURE__*/ messageDesc(file_protos_ydb_operation, 8);
/**
* Describes the message Ydb.Operations.Operation.
* Use `create(OperationSchema)` to create a new message.
*/
export const OperationSchema = /*@__PURE__*/ messageDesc(file_protos_ydb_operation, 9);
//# sourceMappingURL=ydb_operation_pb.js.map