UNPKG

@bufbuild/protobuf

Version:

A complete implementation of Protocol Buffers in TypeScript, suitable for web browsers and Node.js.

61 lines (60 loc) 3.53 kB
"use strict"; // Copyright 2021-2025 Buf Technologies, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. Object.defineProperty(exports, "__esModule", { value: true }); exports.cpp = exports.CppFeatures_StringTypeSchema = exports.CppFeatures_StringType = exports.CppFeaturesSchema = exports.file_google_protobuf_cpp_features = void 0; const file_js_1 = require("../../../../codegenv2/file.js"); const descriptor_pb_js_1 = require("./descriptor_pb.js"); const message_js_1 = require("../../../../codegenv2/message.js"); const enum_js_1 = require("../../../../codegenv2/enum.js"); const extension_js_1 = require("../../../../codegenv2/extension.js"); /** * Describes the file google/protobuf/cpp_features.proto. */ exports.file_google_protobuf_cpp_features = (0, file_js_1.fileDesc)("CiJnb29nbGUvcHJvdG9idWYvY3BwX2ZlYXR1cmVzLnByb3RvEgJwYiL8AwoLQ3BwRmVhdHVyZXMS+wEKEmxlZ2FjeV9jbG9zZWRfZW51bRgBIAEoCELeAYgBAZgBBJgBAaIBCRIEdHJ1ZRiEB6IBChIFZmFsc2UY5weyAbgBCOgHEOgHGq8BVGhlIGxlZ2FjeSBjbG9zZWQgZW51bSBiZWhhdmlvciBpbiBDKysgaXMgZGVwcmVjYXRlZCBhbmQgaXMgc2NoZWR1bGVkIHRvIGJlIHJlbW92ZWQgaW4gZWRpdGlvbiAyMDI1LiAgU2VlIGh0dHA6Ly9wcm90b2J1Zi5kZXYvcHJvZ3JhbW1pbmctZ3VpZGVzL2VudW0vI2NwcCBmb3IgbW9yZSBpbmZvcm1hdGlvbhJaCgtzdHJpbmdfdHlwZRgCIAEoDjIaLnBiLkNwcEZlYXR1cmVzLlN0cmluZ1R5cGVCKYgBAZgBBJgBAaIBCxIGU1RSSU5HGIQHogEJEgRWSUVXGOkHsgEDCOgHEkwKGmVudW1fbmFtZV91c2VzX3N0cmluZ192aWV3GAMgASgIQiiIAQKYAQaYAQGiAQoSBWZhbHNlGIQHogEJEgR0cnVlGOkHsgEDCOkHIkUKClN0cmluZ1R5cGUSFwoTU1RSSU5HX1RZUEVfVU5LTk9XThAAEggKBFZJRVcQARIICgRDT1JEEAISCgoGU1RSSU5HEAM6PwoDY3BwEhsuZ29vZ2xlLnByb3RvYnVmLkZlYXR1cmVTZXQY6AcgASgLMg8ucGIuQ3BwRmVhdHVyZXNSA2NwcA", [descriptor_pb_js_1.file_google_protobuf_descriptor]); /** * Describes the message pb.CppFeatures. * Use `create(CppFeaturesSchema)` to create a new message. */ exports.CppFeaturesSchema = (0, message_js_1.messageDesc)(exports.file_google_protobuf_cpp_features, 0); /** * @generated from enum pb.CppFeatures.StringType */ var CppFeatures_StringType; (function (CppFeatures_StringType) { /** * @generated from enum value: STRING_TYPE_UNKNOWN = 0; */ CppFeatures_StringType[CppFeatures_StringType["STRING_TYPE_UNKNOWN"] = 0] = "STRING_TYPE_UNKNOWN"; /** * @generated from enum value: VIEW = 1; */ CppFeatures_StringType[CppFeatures_StringType["VIEW"] = 1] = "VIEW"; /** * @generated from enum value: CORD = 2; */ CppFeatures_StringType[CppFeatures_StringType["CORD"] = 2] = "CORD"; /** * @generated from enum value: STRING = 3; */ CppFeatures_StringType[CppFeatures_StringType["STRING"] = 3] = "STRING"; })(CppFeatures_StringType || (exports.CppFeatures_StringType = CppFeatures_StringType = {})); /** * Describes the enum pb.CppFeatures.StringType. */ exports.CppFeatures_StringTypeSchema = (0, enum_js_1.enumDesc)(exports.file_google_protobuf_cpp_features, 0, 0); /** * @generated from extension: optional pb.CppFeatures cpp = 1000; */ exports.cpp = (0, extension_js_1.extDesc)(exports.file_google_protobuf_cpp_features, 0);