/
error_codes.pb.go
97 lines (86 loc) · 4.42 KB
/
error_codes.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.31.0
// protoc (unknown)
// source: tensorflow/core/lib/core/error_codes.proto
package core
import (
protobuf "github.com/airenas/go-tf-serving-protogen/tensorflow/tsl/protobuf"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
// Symbols defined in public import of tensorflow/tsl/protobuf/error_codes.proto.
type Code = protobuf.Code
const Code_OK = protobuf.Code_OK
const Code_CANCELLED = protobuf.Code_CANCELLED
const Code_UNKNOWN = protobuf.Code_UNKNOWN
const Code_INVALID_ARGUMENT = protobuf.Code_INVALID_ARGUMENT
const Code_DEADLINE_EXCEEDED = protobuf.Code_DEADLINE_EXCEEDED
const Code_NOT_FOUND = protobuf.Code_NOT_FOUND
const Code_ALREADY_EXISTS = protobuf.Code_ALREADY_EXISTS
const Code_PERMISSION_DENIED = protobuf.Code_PERMISSION_DENIED
const Code_UNAUTHENTICATED = protobuf.Code_UNAUTHENTICATED
const Code_RESOURCE_EXHAUSTED = protobuf.Code_RESOURCE_EXHAUSTED
const Code_FAILED_PRECONDITION = protobuf.Code_FAILED_PRECONDITION
const Code_ABORTED = protobuf.Code_ABORTED
const Code_OUT_OF_RANGE = protobuf.Code_OUT_OF_RANGE
const Code_UNIMPLEMENTED = protobuf.Code_UNIMPLEMENTED
const Code_INTERNAL = protobuf.Code_INTERNAL
const Code_UNAVAILABLE = protobuf.Code_UNAVAILABLE
const Code_DATA_LOSS = protobuf.Code_DATA_LOSS
const Code_DO_NOT_USE_RESERVED_FOR_FUTURE_EXPANSION_USE_DEFAULT_IN_SWITCH_INSTEAD_ = protobuf.Code_DO_NOT_USE_RESERVED_FOR_FUTURE_EXPANSION_USE_DEFAULT_IN_SWITCH_INSTEAD_
var Code_name = protobuf.Code_name
var Code_value = protobuf.Code_value
var File_tensorflow_core_lib_core_error_codes_proto protoreflect.FileDescriptor
var file_tensorflow_core_lib_core_error_codes_proto_rawDesc = []byte{
0x0a, 0x2a, 0x74, 0x65, 0x6e, 0x73, 0x6f, 0x72, 0x66, 0x6c, 0x6f, 0x77, 0x2f, 0x63, 0x6f, 0x72,
0x65, 0x2f, 0x6c, 0x69, 0x62, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x65, 0x72, 0x72, 0x6f, 0x72,
0x5f, 0x63, 0x6f, 0x64, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x29, 0x74, 0x65,
0x6e, 0x73, 0x6f, 0x72, 0x66, 0x6c, 0x6f, 0x77, 0x2f, 0x74, 0x73, 0x6c, 0x2f, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x63, 0x6f, 0x64, 0x65,
0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x42, 0x57, 0x42, 0x0f, 0x45, 0x72, 0x72, 0x6f, 0x72,
0x43, 0x6f, 0x64, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x42, 0x67, 0x69,
0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x69, 0x72, 0x65, 0x6e, 0x61, 0x73,
0x2f, 0x67, 0x6f, 0x2d, 0x74, 0x66, 0x2d, 0x73, 0x65, 0x72, 0x76, 0x69, 0x6e, 0x67, 0x2d, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x67, 0x65, 0x6e, 0x2f, 0x74, 0x65, 0x6e, 0x73, 0x6f, 0x72, 0x66, 0x6c,
0x6f, 0x77, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x6c, 0x69, 0x62, 0x2f, 0x63, 0x6f, 0x72, 0x65,
0x50, 0x00, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var file_tensorflow_core_lib_core_error_codes_proto_goTypes = []interface{}{}
var file_tensorflow_core_lib_core_error_codes_proto_depIdxs = []int32{
0, // [0:0] is the sub-list for method output_type
0, // [0:0] is the sub-list for method input_type
0, // [0:0] is the sub-list for extension type_name
0, // [0:0] is the sub-list for extension extendee
0, // [0:0] is the sub-list for field type_name
}
func init() { file_tensorflow_core_lib_core_error_codes_proto_init() }
func file_tensorflow_core_lib_core_error_codes_proto_init() {
if File_tensorflow_core_lib_core_error_codes_proto != nil {
return
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_tensorflow_core_lib_core_error_codes_proto_rawDesc,
NumEnums: 0,
NumMessages: 0,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_tensorflow_core_lib_core_error_codes_proto_goTypes,
DependencyIndexes: file_tensorflow_core_lib_core_error_codes_proto_depIdxs,
}.Build()
File_tensorflow_core_lib_core_error_codes_proto = out.File
file_tensorflow_core_lib_core_error_codes_proto_rawDesc = nil
file_tensorflow_core_lib_core_error_codes_proto_goTypes = nil
file_tensorflow_core_lib_core_error_codes_proto_depIdxs = nil
}