1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: types.proto
3
4 #include "types.pb.h"
5
6 #include <algorithm>
7
8 #include <google/protobuf/stubs/common.h>
9 #include <google/protobuf/stubs/port.h>
10 #include <google/protobuf/stubs/once.h>
11 #include <google/protobuf/io/coded_stream.h>
12 #include <google/protobuf/wire_format_lite_inl.h>
13 #include <google/protobuf/descriptor.h>
14 #include <google/protobuf/generated_message_reflection.h>
15 #include <google/protobuf/reflection_ops.h>
16 #include <google/protobuf/wire_format.h>
17 // This is a temporary google only hack
18 #ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS
19 #include "third_party/protobuf/version.h"
20 #endif
21 // @@protoc_insertion_point(includes)
22 namespace opencv_tensorflow {
23 } // namespace opencv_tensorflow
24 namespace protobuf_types_2eproto {
25 const ::google::protobuf::EnumDescriptor* file_level_enum_descriptors[1];
26 const ::google::protobuf::uint32 TableStruct::offsets[1] = {};
27 static const ::google::protobuf::internal::MigrationSchema* schemas = NULL;
28 static const ::google::protobuf::Message* const* file_default_instances = NULL;
29
protobuf_AssignDescriptors()30 void protobuf_AssignDescriptors() {
31 AddDescriptors();
32 ::google::protobuf::MessageFactory* factory = NULL;
33 AssignDescriptors(
34 "types.proto", schemas, file_default_instances, TableStruct::offsets, factory,
35 NULL, file_level_enum_descriptors, NULL);
36 }
37
protobuf_AssignDescriptorsOnce()38 void protobuf_AssignDescriptorsOnce() {
39 static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
40 ::google::protobuf::GoogleOnceInit(&once, &protobuf_AssignDescriptors);
41 }
42
43 void protobuf_RegisterTypes(const ::std::string&) GOOGLE_PROTOBUF_ATTRIBUTE_COLD;
protobuf_RegisterTypes(const::std::string &)44 void protobuf_RegisterTypes(const ::std::string&) {
45 protobuf_AssignDescriptorsOnce();
46 }
47
AddDescriptorsImpl()48 void AddDescriptorsImpl() {
49 InitDefaults();
50 static const char descriptor[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
51 "\n\013types.proto\022\021opencv_tensorflow*\234\005\n\010Dat"
52 "aType\022\016\n\nDT_INVALID\020\000\022\014\n\010DT_FLOAT\020\001\022\r\n\tD"
53 "T_DOUBLE\020\002\022\014\n\010DT_INT32\020\003\022\014\n\010DT_UINT8\020\004\022\014"
54 "\n\010DT_INT16\020\005\022\013\n\007DT_INT8\020\006\022\r\n\tDT_STRING\020\007"
55 "\022\020\n\014DT_COMPLEX64\020\010\022\014\n\010DT_INT64\020\t\022\013\n\007DT_B"
56 "OOL\020\n\022\014\n\010DT_QINT8\020\013\022\r\n\tDT_QUINT8\020\014\022\r\n\tDT"
57 "_QINT32\020\r\022\017\n\013DT_BFLOAT16\020\016\022\r\n\tDT_QINT16\020"
58 "\017\022\016\n\nDT_QUINT16\020\020\022\r\n\tDT_UINT16\020\021\022\021\n\rDT_C"
59 "OMPLEX128\020\022\022\013\n\007DT_HALF\020\023\022\020\n\014DT_FLOAT_REF"
60 "\020e\022\021\n\rDT_DOUBLE_REF\020f\022\020\n\014DT_INT32_REF\020g\022"
61 "\020\n\014DT_UINT8_REF\020h\022\020\n\014DT_INT16_REF\020i\022\017\n\013D"
62 "T_INT8_REF\020j\022\021\n\rDT_STRING_REF\020k\022\024\n\020DT_CO"
63 "MPLEX64_REF\020l\022\020\n\014DT_INT64_REF\020m\022\017\n\013DT_BO"
64 "OL_REF\020n\022\020\n\014DT_QINT8_REF\020o\022\021\n\rDT_QUINT8_"
65 "REF\020p\022\021\n\rDT_QINT32_REF\020q\022\023\n\017DT_BFLOAT16_"
66 "REF\020r\022\021\n\rDT_QINT16_REF\020s\022\022\n\016DT_QUINT16_R"
67 "EF\020t\022\021\n\rDT_UINT16_REF\020u\022\025\n\021DT_COMPLEX128"
68 "_REF\020v\022\017\n\013DT_HALF_REF\020wB,\n\030org.tensorflo"
69 "w.frameworkB\013TypesProtosP\001\370\001\001b\006proto3"
70 };
71 ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
72 descriptor, 757);
73 ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
74 "types.proto", &protobuf_RegisterTypes);
75 }
76
AddDescriptors()77 void AddDescriptors() {
78 static GOOGLE_PROTOBUF_DECLARE_ONCE(once);
79 ::google::protobuf::GoogleOnceInit(&once, &AddDescriptorsImpl);
80 }
81 // Force AddDescriptors() to be called at dynamic initialization time.
82 struct StaticDescriptorInitializer {
StaticDescriptorInitializerprotobuf_types_2eproto::StaticDescriptorInitializer83 StaticDescriptorInitializer() {
84 AddDescriptors();
85 }
86 } static_descriptor_initializer;
87 } // namespace protobuf_types_2eproto
88 namespace opencv_tensorflow {
DataType_descriptor()89 const ::google::protobuf::EnumDescriptor* DataType_descriptor() {
90 protobuf_types_2eproto::protobuf_AssignDescriptorsOnce();
91 return protobuf_types_2eproto::file_level_enum_descriptors[0];
92 }
DataType_IsValid(int value)93 bool DataType_IsValid(int value) {
94 switch (value) {
95 case 0:
96 case 1:
97 case 2:
98 case 3:
99 case 4:
100 case 5:
101 case 6:
102 case 7:
103 case 8:
104 case 9:
105 case 10:
106 case 11:
107 case 12:
108 case 13:
109 case 14:
110 case 15:
111 case 16:
112 case 17:
113 case 18:
114 case 19:
115 case 101:
116 case 102:
117 case 103:
118 case 104:
119 case 105:
120 case 106:
121 case 107:
122 case 108:
123 case 109:
124 case 110:
125 case 111:
126 case 112:
127 case 113:
128 case 114:
129 case 115:
130 case 116:
131 case 117:
132 case 118:
133 case 119:
134 return true;
135 default:
136 return false;
137 }
138 }
139
140
141 // @@protoc_insertion_point(namespace_scope)
142 } // namespace opencv_tensorflow
143
144 // @@protoc_insertion_point(global_scope)
145