1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: tensorflow/core/protobuf/error_codes.proto
3
4#include "tensorflow/core/protobuf/error_codes.pb.h"
5
6#include <algorithm>
7
8#include <google/protobuf/stubs/common.h>
9#include <google/protobuf/io/coded_stream.h>
10#include <google/protobuf/extension_set.h>
11#include <google/protobuf/wire_format_lite.h>
12#include <google/protobuf/descriptor.h>
13#include <google/protobuf/generated_message_reflection.h>
14#include <google/protobuf/reflection_ops.h>
15#include <google/protobuf/wire_format.h>
16// @@protoc_insertion_point(includes)
17#include <google/protobuf/port_def.inc>
18namespace tensorflow {
19namespace error {
20} // namespace error
21} // namespace tensorflow
22static constexpr ::PROTOBUF_NAMESPACE_ID::Metadata* file_level_metadata_tensorflow_2fcore_2fprotobuf_2ferror_5fcodes_2eproto = nullptr;
23static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* file_level_enum_descriptors_tensorflow_2fcore_2fprotobuf_2ferror_5fcodes_2eproto[1];
24static constexpr ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const** file_level_service_descriptors_tensorflow_2fcore_2fprotobuf_2ferror_5fcodes_2eproto = nullptr;
25const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_tensorflow_2fcore_2fprotobuf_2ferror_5fcodes_2eproto::offsets[1] = {};
26static constexpr ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema* schemas = nullptr;
27static constexpr ::PROTOBUF_NAMESPACE_ID::Message* const* file_default_instances = nullptr;
28
29const char descriptor_table_protodef_tensorflow_2fcore_2fprotobuf_2ferror_5fcodes_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) =
30 "\n*tensorflow/core/protobuf/error_codes.p"
31 "roto\022\020tensorflow.error*\204\003\n\004Code\022\006\n\002OK\020\000\022"
32 "\r\n\tCANCELLED\020\001\022\013\n\007UNKNOWN\020\002\022\024\n\020INVALID_A"
33 "RGUMENT\020\003\022\025\n\021DEADLINE_EXCEEDED\020\004\022\r\n\tNOT_"
34 "FOUND\020\005\022\022\n\016ALREADY_EXISTS\020\006\022\025\n\021PERMISSIO"
35 "N_DENIED\020\007\022\023\n\017UNAUTHENTICATED\020\020\022\026\n\022RESOU"
36 "RCE_EXHAUSTED\020\010\022\027\n\023FAILED_PRECONDITION\020\t"
37 "\022\013\n\007ABORTED\020\n\022\020\n\014OUT_OF_RANGE\020\013\022\021\n\rUNIMP"
38 "LEMENTED\020\014\022\014\n\010INTERNAL\020\r\022\017\n\013UNAVAILABLE\020"
39 "\016\022\r\n\tDATA_LOSS\020\017\022K\nGDO_NOT_USE_RESERVED_"
40 "FOR_FUTURE_EXPANSION_USE_DEFAULT_IN_SWIT"
41 "CH_INSTEAD_\020\024B\210\001\n\030org.tensorflow.framewo"
42 "rkB\020ErrorCodesProtosP\001ZUgithub.com/tenso"
43 "rflow/tensorflow/tensorflow/go/core/prot"
44 "obuf/for_core_protos_go_proto\370\001\001b\006proto3"
45 ;
46static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_tensorflow_2fcore_2fprotobuf_2ferror_5fcodes_2eproto_deps[1] = {
47};
48static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_tensorflow_2fcore_2fprotobuf_2ferror_5fcodes_2eproto_sccs[1] = {
49};
50static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_tensorflow_2fcore_2fprotobuf_2ferror_5fcodes_2eproto_once;
51static bool descriptor_table_tensorflow_2fcore_2fprotobuf_2ferror_5fcodes_2eproto_initialized = false;
52const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_tensorflow_2fcore_2fprotobuf_2ferror_5fcodes_2eproto = {
53 &descriptor_table_tensorflow_2fcore_2fprotobuf_2ferror_5fcodes_2eproto_initialized, descriptor_table_protodef_tensorflow_2fcore_2fprotobuf_2ferror_5fcodes_2eproto, "tensorflow/core/protobuf/error_codes.proto", 600,
54 &descriptor_table_tensorflow_2fcore_2fprotobuf_2ferror_5fcodes_2eproto_once, descriptor_table_tensorflow_2fcore_2fprotobuf_2ferror_5fcodes_2eproto_sccs, descriptor_table_tensorflow_2fcore_2fprotobuf_2ferror_5fcodes_2eproto_deps, 0, 0,
55 schemas, file_default_instances, TableStruct_tensorflow_2fcore_2fprotobuf_2ferror_5fcodes_2eproto::offsets,
56 file_level_metadata_tensorflow_2fcore_2fprotobuf_2ferror_5fcodes_2eproto, 0, file_level_enum_descriptors_tensorflow_2fcore_2fprotobuf_2ferror_5fcodes_2eproto, file_level_service_descriptors_tensorflow_2fcore_2fprotobuf_2ferror_5fcodes_2eproto,
57};
58
59// Force running AddDescriptors() at dynamic initialization time.
60static bool dynamic_init_dummy_tensorflow_2fcore_2fprotobuf_2ferror_5fcodes_2eproto = ( ::PROTOBUF_NAMESPACE_ID::internal::AddDescriptors(&descriptor_table_tensorflow_2fcore_2fprotobuf_2ferror_5fcodes_2eproto), true);
61namespace tensorflow {
62namespace error {
63const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Code_descriptor() {
64 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_tensorflow_2fcore_2fprotobuf_2ferror_5fcodes_2eproto);
65 return file_level_enum_descriptors_tensorflow_2fcore_2fprotobuf_2ferror_5fcodes_2eproto[0];
66}
67bool Code_IsValid(int value) {
68 switch (value) {
69 case 0:
70 case 1:
71 case 2:
72 case 3:
73 case 4:
74 case 5:
75 case 6:
76 case 7:
77 case 8:
78 case 9:
79 case 10:
80 case 11:
81 case 12:
82 case 13:
83 case 14:
84 case 15:
85 case 16:
86 case 20:
87 return true;
88 default:
89 return false;
90 }
91}
92
93
94// @@protoc_insertion_point(namespace_scope)
95} // namespace error
96} // namespace tensorflow
97PROTOBUF_NAMESPACE_OPEN
98PROTOBUF_NAMESPACE_CLOSE
99
100// @@protoc_insertion_point(global_scope)
101#include <google/protobuf/port_undef.inc>
102