-
Notifications
You must be signed in to change notification settings - Fork 0
/
string_int_label_map.pb.go
146 lines (127 loc) · 5.56 KB
/
string_int_label_map.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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: libs/labels/protos/string_int_label_map.proto
package object_detection_protos
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
type StringIntLabelMapItem struct {
// String name. The most common practice is to set this to a MID or synsets
// id.
Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
// Integer id that maps to the string name above. Label ids should start from
// 1.
Id *int32 `protobuf:"varint,2,opt,name=id" json:"id,omitempty"`
// Human readable string label.
DisplayName *string `protobuf:"bytes,3,opt,name=display_name,json=displayName" json:"display_name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *StringIntLabelMapItem) Reset() { *m = StringIntLabelMapItem{} }
func (m *StringIntLabelMapItem) String() string { return proto.CompactTextString(m) }
func (*StringIntLabelMapItem) ProtoMessage() {}
func (*StringIntLabelMapItem) Descriptor() ([]byte, []int) {
return fileDescriptor_20df02887ae33272, []int{0}
}
func (m *StringIntLabelMapItem) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_StringIntLabelMapItem.Unmarshal(m, b)
}
func (m *StringIntLabelMapItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_StringIntLabelMapItem.Marshal(b, m, deterministic)
}
func (m *StringIntLabelMapItem) XXX_Merge(src proto.Message) {
xxx_messageInfo_StringIntLabelMapItem.Merge(m, src)
}
func (m *StringIntLabelMapItem) XXX_Size() int {
return xxx_messageInfo_StringIntLabelMapItem.Size(m)
}
func (m *StringIntLabelMapItem) XXX_DiscardUnknown() {
xxx_messageInfo_StringIntLabelMapItem.DiscardUnknown(m)
}
var xxx_messageInfo_StringIntLabelMapItem proto.InternalMessageInfo
func (m *StringIntLabelMapItem) GetName() string {
if m != nil && m.Name != nil {
return *m.Name
}
return ""
}
func (m *StringIntLabelMapItem) GetId() int32 {
if m != nil && m.Id != nil {
return *m.Id
}
return 0
}
func (m *StringIntLabelMapItem) GetDisplayName() string {
if m != nil && m.DisplayName != nil {
return *m.DisplayName
}
return ""
}
type StringIntLabelMap struct {
Item []*StringIntLabelMapItem `protobuf:"bytes,1,rep,name=item" json:"item,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *StringIntLabelMap) Reset() { *m = StringIntLabelMap{} }
func (m *StringIntLabelMap) String() string { return proto.CompactTextString(m) }
func (*StringIntLabelMap) ProtoMessage() {}
func (*StringIntLabelMap) Descriptor() ([]byte, []int) {
return fileDescriptor_20df02887ae33272, []int{1}
}
func (m *StringIntLabelMap) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_StringIntLabelMap.Unmarshal(m, b)
}
func (m *StringIntLabelMap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_StringIntLabelMap.Marshal(b, m, deterministic)
}
func (m *StringIntLabelMap) XXX_Merge(src proto.Message) {
xxx_messageInfo_StringIntLabelMap.Merge(m, src)
}
func (m *StringIntLabelMap) XXX_Size() int {
return xxx_messageInfo_StringIntLabelMap.Size(m)
}
func (m *StringIntLabelMap) XXX_DiscardUnknown() {
xxx_messageInfo_StringIntLabelMap.DiscardUnknown(m)
}
var xxx_messageInfo_StringIntLabelMap proto.InternalMessageInfo
func (m *StringIntLabelMap) GetItem() []*StringIntLabelMapItem {
if m != nil {
return m.Item
}
return nil
}
func init() {
proto.RegisterType((*StringIntLabelMapItem)(nil), "object_detection.protos.StringIntLabelMapItem")
proto.RegisterType((*StringIntLabelMap)(nil), "object_detection.protos.StringIntLabelMap")
}
func init() {
proto.RegisterFile("libs/labels/protos/string_int_label_map.proto", fileDescriptor_20df02887ae33272)
}
var fileDescriptor_20df02887ae33272 = []byte{
// 194 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x8e, 0x3f, 0x6b, 0xc3, 0x30,
0x10, 0xc5, 0x91, 0xed, 0x0e, 0x95, 0x4b, 0xa1, 0x82, 0x52, 0x8f, 0xae, 0x27, 0x2f, 0x95, 0xa1,
0x1f, 0xa1, 0x9b, 0xa1, 0xed, 0xe0, 0x0c, 0xd9, 0x22, 0x64, 0xeb, 0x08, 0x17, 0xf4, 0x0f, 0xeb,
0x96, 0x7c, 0xfb, 0x10, 0x25, 0x5b, 0x92, 0xed, 0x78, 0xef, 0xfd, 0x8e, 0x1f, 0xff, 0xb2, 0x38,
0xa7, 0xc1, 0xea, 0x19, 0x6c, 0x1a, 0xe2, 0x1a, 0x28, 0xa4, 0x21, 0xd1, 0x8a, 0x7e, 0xaf, 0xd0,
0x93, 0xca, 0x85, 0x72, 0x3a, 0xca, 0xdc, 0x89, 0x8f, 0x30, 0x1f, 0x60, 0x21, 0x65, 0x80, 0x60,
0x21, 0x0c, 0xfe, 0x92, 0xa7, 0x6e, 0xc7, 0xdf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