OR-Tools  8.2
optional_boolean.pb.cc
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ortools/util/optional_boolean.proto
3 
5 
6 #include <algorithm>
7 
8 #include <google/protobuf/io/coded_stream.h>
9 #include <google/protobuf/extension_set.h>
10 #include <google/protobuf/wire_format_lite.h>
11 #include <google/protobuf/descriptor.h>
12 #include <google/protobuf/generated_message_reflection.h>
13 #include <google/protobuf/reflection_ops.h>
14 #include <google/protobuf/wire_format.h>
15 // @@protoc_insertion_point(includes)
16 #include <google/protobuf/port_def.inc>
17 namespace operations_research {
18 } // namespace operations_research
19 static constexpr ::PROTOBUF_NAMESPACE_ID::Metadata* file_level_metadata_ortools_2futil_2foptional_5fboolean_2eproto = nullptr;
20 static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* file_level_enum_descriptors_ortools_2futil_2foptional_5fboolean_2eproto[1];
21 static constexpr ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const** file_level_service_descriptors_ortools_2futil_2foptional_5fboolean_2eproto = nullptr;
23 static constexpr ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema* schemas = nullptr;
24 static constexpr ::PROTOBUF_NAMESPACE_ID::Message* const* file_default_instances = nullptr;
25 
26 const char descriptor_table_protodef_ortools_2futil_2foptional_5fboolean_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) =
27  "\n#ortools/util/optional_boolean.proto\022\023o"
28  "perations_research*F\n\017OptionalBoolean\022\024\n"
29  "\020BOOL_UNSPECIFIED\020\000\022\016\n\nBOOL_FALSE\020\002\022\r\n\tB"
30  "OOL_TRUE\020\003B1\n\027com.google.ortools.utilP\001\252"
31  "\002\023Google.OrTools.Utilb\006proto3"
32  ;
33 static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_ortools_2futil_2foptional_5fboolean_2eproto_deps[1] = {
34 };
35 static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_ortools_2futil_2foptional_5fboolean_2eproto_sccs[1] = {
36 };
37 static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_ortools_2futil_2foptional_5fboolean_2eproto_once;
38 const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ortools_2futil_2foptional_5fboolean_2eproto = {
39  false, false, descriptor_table_protodef_ortools_2futil_2foptional_5fboolean_2eproto, "ortools/util/optional_boolean.proto", 189,
43 };
44 
45 // Force running AddDescriptors() at dynamic initialization time.
46 static bool dynamic_init_dummy_ortools_2futil_2foptional_5fboolean_2eproto = (static_cast<void>(::PROTOBUF_NAMESPACE_ID::internal::AddDescriptors(&descriptor_table_ortools_2futil_2foptional_5fboolean_2eproto)), true);
47 namespace operations_research {
48 const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* OptionalBoolean_descriptor() {
49  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_ortools_2futil_2foptional_5fboolean_2eproto);
51 }
53  switch (value) {
54  case 0:
55  case 2:
56  case 3:
57  return true;
58  default:
59  return false;
60  }
61 }
62 
63 
64 // @@protoc_insertion_point(namespace_scope)
65 } // namespace operations_research
66 PROTOBUF_NAMESPACE_OPEN
67 PROTOBUF_NAMESPACE_CLOSE
68 
69 // @@protoc_insertion_point(global_scope)
70 #include <google/protobuf/port_undef.inc>
int64 value
unsigned int uint32
The vehicle routing library lets one model and solve generic vehicle routing problems ranging from th...
bool OptionalBoolean_IsValid(int value)
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * OptionalBoolean_descriptor()
::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase *const descriptor_table_ortools_2futil_2foptional_5fboolean_2eproto_sccs[1]
const char descriptor_table_protodef_ortools_2futil_2foptional_5fboolean_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static constexpr ::PROTOBUF_NAMESPACE_ID::Message *const * file_default_instances
static constexpr ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const ** file_level_service_descriptors_ortools_2futil_2foptional_5fboolean_2eproto
static constexpr ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema * schemas
::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_ortools_2futil_2foptional_5fboolean_2eproto_once
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * file_level_enum_descriptors_ortools_2futil_2foptional_5fboolean_2eproto[1]
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ortools_2futil_2foptional_5fboolean_2eproto
static constexpr ::PROTOBUF_NAMESPACE_ID::Metadata * file_level_metadata_ortools_2futil_2foptional_5fboolean_2eproto
static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable *const descriptor_table_ortools_2futil_2foptional_5fboolean_2eproto_deps[1]
static bool dynamic_init_dummy_ortools_2futil_2foptional_5fboolean_2eproto
static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]