File indexing completed on 2025-01-31 10:11:59
0001
0002
0003
0004
0005
0006
0007
0008 #ifndef GOOGLE_PROTOBUF_COMPILER_JAVA_OPTIONS_H__
0009 #define GOOGLE_PROTOBUF_COMPILER_JAVA_OPTIONS_H__
0010
0011 #include <string>
0012
0013 #include "google/protobuf/port.h"
0014
0015 namespace google {
0016 namespace protobuf {
0017 namespace compiler {
0018 namespace java {
0019
0020
0021 struct Options {
0022 Options()
0023 : generate_immutable_code(false),
0024 generate_mutable_code(false),
0025 generate_shared_code(false),
0026 enforce_lite(false),
0027 annotate_code(false),
0028 strip_nonfunctional_codegen(false) {
0029 }
0030
0031 bool generate_immutable_code;
0032 bool generate_mutable_code;
0033 bool generate_shared_code;
0034
0035
0036 bool enforce_lite;
0037 bool opensource_runtime = google::protobuf::internal::IsOss();
0038
0039
0040 bool annotate_code;
0041
0042
0043 std::string annotation_list_file;
0044
0045
0046 std::string output_list_file;
0047
0048 bool strip_nonfunctional_codegen;
0049 };
0050
0051 }
0052 }
0053 }
0054 }
0055
0056 #endif