OR-Tools  9.2
optional_boolean.pb.h
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
4#ifndef GOOGLE_PROTOBUF_INCLUDED_ortools_2futil_2foptional_5fboolean_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_ortools_2futil_2foptional_5fboolean_2eproto
6
7#include <limits>
8#include <string>
9
10#include <google/protobuf/port_def.inc>
11#if PROTOBUF_VERSION < 3019000
12#error This file was generated by a newer version of protoc which is
13#error incompatible with your Protocol Buffer headers. Please update
14#error your headers.
15#endif
16#if 3019001 < PROTOBUF_MIN_PROTOC_VERSION
17#error This file was generated by an older version of protoc which is
18#error incompatible with your Protocol Buffer headers. Please
19#error regenerate this file with a newer version of protoc.
20#endif
21
22#include <google/protobuf/port_undef.inc>
23#include <google/protobuf/io/coded_stream.h>
24#include <google/protobuf/arena.h>
25#include <google/protobuf/arenastring.h>
26#include <google/protobuf/generated_message_table_driven.h>
27#include <google/protobuf/generated_message_util.h>
28#include <google/protobuf/metadata_lite.h>
29#include <google/protobuf/generated_message_reflection.h>
30#include <google/protobuf/repeated_field.h> // IWYU pragma: export
31#include <google/protobuf/extension_set.h> // IWYU pragma: export
32#include <google/protobuf/generated_enum_reflection.h>
33// @@protoc_insertion_point(includes)
34#include <google/protobuf/port_def.inc>
35#define PROTOBUF_INTERNAL_EXPORT_ortools_2futil_2foptional_5fboolean_2eproto
36PROTOBUF_NAMESPACE_OPEN
37namespace internal {
38class AnyMetadata;
39} // namespace internal
40PROTOBUF_NAMESPACE_CLOSE
41
42// Internal implementation detail -- do not use these members.
44 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
46 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
48 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
50 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
51 static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
52 static const uint32_t offsets[];
53};
54extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ortools_2futil_2foptional_5fboolean_2eproto;
55PROTOBUF_NAMESPACE_OPEN
56PROTOBUF_NAMESPACE_CLOSE
57namespace operations_research {
58
59enum OptionalBoolean : int {
65};
70
71const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* OptionalBoolean_descriptor();
72template<typename T>
73inline const std::string& OptionalBoolean_Name(T enum_t_value) {
76 "Incorrect type passed to function OptionalBoolean_Name.");
77 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
78 OptionalBoolean_descriptor(), enum_t_value);
79}
81 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, OptionalBoolean* value) {
82 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<OptionalBoolean>(
84}
85// ===================================================================
86
87
88// ===================================================================
89
90
91// ===================================================================
92
93#ifdef __GNUC__
94 #pragma GCC diagnostic push
95 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
96#endif // __GNUC__
97#ifdef __GNUC__
98 #pragma GCC diagnostic pop
99#endif // __GNUC__
100
101// @@protoc_insertion_point(namespace_scope)
102
103} // namespace operations_research
104
105PROTOBUF_NAMESPACE_OPEN
106
107template <> struct is_proto_enum< ::operations_research::OptionalBoolean> : ::std::true_type {};
108template <>
109inline const EnumDescriptor* GetEnumDescriptor< ::operations_research::OptionalBoolean>() {
111}
112
113PROTOBUF_NAMESPACE_CLOSE
114
115// @@protoc_insertion_point(global_scope)
116
117#include <google/protobuf/port_undef.inc>
118#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_ortools_2futil_2foptional_5fboolean_2eproto
int64_t max
Definition: alldiff_cst.cc:140
int64_t min
Definition: alldiff_cst.cc:139
const std::string name
int64_t value
Collection of objects used to extend the Constraint Solver library.
constexpr int OptionalBoolean_ARRAYSIZE
const std::string & OptionalBoolean_Name(T enum_t_value)
bool OptionalBoolean_IsValid(int value)
constexpr OptionalBoolean OptionalBoolean_MIN
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * OptionalBoolean_descriptor()
bool OptionalBoolean_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, OptionalBoolean *value)
constexpr OptionalBoolean OptionalBoolean_MAX
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ortools_2futil_2foptional_5fboolean_2eproto
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]
static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1] PROTOBUF_SECTION_VARIABLE(protodesc_cold)