Download include/google/protobuf/compiler/cpp/options.h from Shenghong/dai_env: direct link, hf CLI and curl.
- Browser
- Download file 2.41 kB
-
https://huggingface.co/Shenghong/dai_env/resolve/main/include/google/protobuf/compiler/cpp/options.h
- Command line
-
hf download hf://Shenghong/dai_env/include/google/protobuf/compiler/cpp/options.h
-
curl -L -o options.h https://huggingface.co/Shenghong/dai_env/resolve/main/include/google/protobuf/compiler/cpp/options.h
2.41 kB
| // Protocol Buffers - Google's data interchange format | |
| // Copyright 2008 Google Inc. All rights reserved. | |
| // | |
| // Use of this source code is governed by a BSD-style | |
| // license that can be found in the LICENSE file or at | |
| // https://developers.google.com/open-source/licenses/bsd | |
| // Author: rennie@google.com (Jeffrey Rennie) | |
| namespace google { | |
| namespace protobuf { | |
| namespace compiler { | |
| class AccessInfoMap; | |
| class SplitMap; | |
| namespace cpp { | |
| enum class EnforceOptimizeMode { | |
| kNoEnforcement, // Use the runtime specified by the file specific options. | |
| kSpeed, // Full runtime with a generated code implementation. | |
| kCodeSize, // Full runtime with a reflective implementation. | |
| kLiteRuntime, | |
| }; | |
| struct FieldListenerOptions { | |
| bool inject_field_listener_events = false; | |
| absl::flat_hash_set<std::string> forbidden_field_listener_events; | |
| }; | |
| // Generator options (see generator.cc for a description of each): | |
| struct Options { | |
| const AccessInfoMap* access_info_map = nullptr; | |
| const SplitMap* split_map = nullptr; | |
| std::string dllexport_decl; | |
| std::string runtime_include_base; | |
| std::string annotation_pragma_name; | |
| std::string annotation_guard_name; | |
| FieldListenerOptions field_listener_options; | |
| EnforceOptimizeMode enforce_mode = EnforceOptimizeMode::kNoEnforcement; | |
| int num_cc_files = 0; | |
| bool safe_boundary_check = false; | |
| bool proto_h = false; | |
| bool transitive_pb_h = true; | |
| bool annotate_headers = false; | |
| bool lite_implicit_weak_fields = false; | |
| bool descriptor_implicit_weak_messages = false; | |
| bool bootstrap = false; | |
| bool opensource_runtime = false; | |
| bool annotate_accessor = false; | |
| bool force_split = false; | |
| // TODO: clean this up after the change is rolled out for 2 | |
| // weeks. | |
| bool profile_driven_cluster_aux_subtable = true; | |
| bool force_eagerly_verified_lazy = true; | |
| bool force_inline_string = true; | |
| bool force_eagerly_verified_lazy = false; | |
| bool force_inline_string = false; | |
| bool strip_nonfunctional_codegen = false; | |
| }; | |
| } // namespace cpp | |
| } // namespace compiler | |
| } // namespace protobuf | |
| } // namespace google | |