1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package visualinspection
22
23 import (
24 reflect "reflect"
25 sync "sync"
26
27 proto "github.com/golang/protobuf/proto"
28 _ "google.golang.org/genproto/googleapis/api/annotations"
29 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
30 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
31 )
32
33 const (
34
35 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
36
37 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
38 )
39
40
41
42 const _ = proto.ProtoPackageIsVersion4
43
44
45
46
47 type NormalizedVertex struct {
48 state protoimpl.MessageState
49 sizeCache protoimpl.SizeCache
50 unknownFields protoimpl.UnknownFields
51
52
53 X float32 `protobuf:"fixed32,1,opt,name=x,proto3" json:"x,omitempty"`
54
55 Y float32 `protobuf:"fixed32,2,opt,name=y,proto3" json:"y,omitempty"`
56 }
57
58 func (x *NormalizedVertex) Reset() {
59 *x = NormalizedVertex{}
60 if protoimpl.UnsafeEnabled {
61 mi := &file_google_cloud_visualinspection_v1beta1_geometry_proto_msgTypes[0]
62 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
63 ms.StoreMessageInfo(mi)
64 }
65 }
66
67 func (x *NormalizedVertex) String() string {
68 return protoimpl.X.MessageStringOf(x)
69 }
70
71 func (*NormalizedVertex) ProtoMessage() {}
72
73 func (x *NormalizedVertex) ProtoReflect() protoreflect.Message {
74 mi := &file_google_cloud_visualinspection_v1beta1_geometry_proto_msgTypes[0]
75 if protoimpl.UnsafeEnabled && x != nil {
76 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
77 if ms.LoadMessageInfo() == nil {
78 ms.StoreMessageInfo(mi)
79 }
80 return ms
81 }
82 return mi.MessageOf(x)
83 }
84
85
86 func (*NormalizedVertex) Descriptor() ([]byte, []int) {
87 return file_google_cloud_visualinspection_v1beta1_geometry_proto_rawDescGZIP(), []int{0}
88 }
89
90 func (x *NormalizedVertex) GetX() float32 {
91 if x != nil {
92 return x.X
93 }
94 return 0
95 }
96
97 func (x *NormalizedVertex) GetY() float32 {
98 if x != nil {
99 return x.Y
100 }
101 return 0
102 }
103
104
105 type NormalizedBoundingPoly struct {
106 state protoimpl.MessageState
107 sizeCache protoimpl.SizeCache
108 unknownFields protoimpl.UnknownFields
109
110
111
112 NormalizedVertices []*NormalizedVertex `protobuf:"bytes,1,rep,name=normalized_vertices,json=normalizedVertices,proto3" json:"normalized_vertices,omitempty"`
113 }
114
115 func (x *NormalizedBoundingPoly) Reset() {
116 *x = NormalizedBoundingPoly{}
117 if protoimpl.UnsafeEnabled {
118 mi := &file_google_cloud_visualinspection_v1beta1_geometry_proto_msgTypes[1]
119 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
120 ms.StoreMessageInfo(mi)
121 }
122 }
123
124 func (x *NormalizedBoundingPoly) String() string {
125 return protoimpl.X.MessageStringOf(x)
126 }
127
128 func (*NormalizedBoundingPoly) ProtoMessage() {}
129
130 func (x *NormalizedBoundingPoly) ProtoReflect() protoreflect.Message {
131 mi := &file_google_cloud_visualinspection_v1beta1_geometry_proto_msgTypes[1]
132 if protoimpl.UnsafeEnabled && x != nil {
133 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
134 if ms.LoadMessageInfo() == nil {
135 ms.StoreMessageInfo(mi)
136 }
137 return ms
138 }
139 return mi.MessageOf(x)
140 }
141
142
143 func (*NormalizedBoundingPoly) Descriptor() ([]byte, []int) {
144 return file_google_cloud_visualinspection_v1beta1_geometry_proto_rawDescGZIP(), []int{1}
145 }
146
147 func (x *NormalizedBoundingPoly) GetNormalizedVertices() []*NormalizedVertex {
148 if x != nil {
149 return x.NormalizedVertices
150 }
151 return nil
152 }
153
154
155
156 type NormalizedPolyline struct {
157 state protoimpl.MessageState
158 sizeCache protoimpl.SizeCache
159 unknownFields protoimpl.UnknownFields
160
161
162 NormalizedVertices []*NormalizedVertex `protobuf:"bytes,1,rep,name=normalized_vertices,json=normalizedVertices,proto3" json:"normalized_vertices,omitempty"`
163 }
164
165 func (x *NormalizedPolyline) Reset() {
166 *x = NormalizedPolyline{}
167 if protoimpl.UnsafeEnabled {
168 mi := &file_google_cloud_visualinspection_v1beta1_geometry_proto_msgTypes[2]
169 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
170 ms.StoreMessageInfo(mi)
171 }
172 }
173
174 func (x *NormalizedPolyline) String() string {
175 return protoimpl.X.MessageStringOf(x)
176 }
177
178 func (*NormalizedPolyline) ProtoMessage() {}
179
180 func (x *NormalizedPolyline) ProtoReflect() protoreflect.Message {
181 mi := &file_google_cloud_visualinspection_v1beta1_geometry_proto_msgTypes[2]
182 if protoimpl.UnsafeEnabled && x != nil {
183 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
184 if ms.LoadMessageInfo() == nil {
185 ms.StoreMessageInfo(mi)
186 }
187 return ms
188 }
189 return mi.MessageOf(x)
190 }
191
192
193 func (*NormalizedPolyline) Descriptor() ([]byte, []int) {
194 return file_google_cloud_visualinspection_v1beta1_geometry_proto_rawDescGZIP(), []int{2}
195 }
196
197 func (x *NormalizedPolyline) GetNormalizedVertices() []*NormalizedVertex {
198 if x != nil {
199 return x.NormalizedVertices
200 }
201 return nil
202 }
203
204 var File_google_cloud_visualinspection_v1beta1_geometry_proto protoreflect.FileDescriptor
205
206 var file_google_cloud_visualinspection_v1beta1_geometry_proto_rawDesc = []byte{
207 0x0a, 0x34, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x76,
208 0x69, 0x73, 0x75, 0x61, 0x6c, 0x69, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2f,
209 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x67, 0x65, 0x6f, 0x6d, 0x65, 0x74, 0x72, 0x79,
210 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x25, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
211 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x75, 0x61, 0x6c, 0x69, 0x6e, 0x73, 0x70, 0x65,
212 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, 0x1c, 0x67,
213 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61,
214 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2e, 0x0a, 0x10, 0x4e,
215 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x56, 0x65, 0x72, 0x74, 0x65, 0x78, 0x12,
216 0x0c, 0x0a, 0x01, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x02, 0x52, 0x01, 0x78, 0x12, 0x0c, 0x0a,
217 0x01, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x52, 0x01, 0x79, 0x22, 0x82, 0x01, 0x0a, 0x16,
218 0x4e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x69,
219 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x79, 0x12, 0x68, 0x0a, 0x13, 0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x6c,
220 0x69, 0x7a, 0x65, 0x64, 0x5f, 0x76, 0x65, 0x72, 0x74, 0x69, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20,
221 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
222 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x75, 0x61, 0x6c, 0x69, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74,
223 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4e, 0x6f, 0x72, 0x6d,
224 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x56, 0x65, 0x72, 0x74, 0x65, 0x78, 0x52, 0x12, 0x6e, 0x6f,
225 0x72, 0x6d, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x56, 0x65, 0x72, 0x74, 0x69, 0x63, 0x65, 0x73,
226 0x22, 0x7e, 0x0a, 0x12, 0x4e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x50, 0x6f,
227 0x6c, 0x79, 0x6c, 0x69, 0x6e, 0x65, 0x12, 0x68, 0x0a, 0x13, 0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x6c,
228 0x69, 0x7a, 0x65, 0x64, 0x5f, 0x76, 0x65, 0x72, 0x74, 0x69, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20,
229 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
230 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x75, 0x61, 0x6c, 0x69, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74,
231 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4e, 0x6f, 0x72, 0x6d,
232 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x56, 0x65, 0x72, 0x74, 0x65, 0x78, 0x52, 0x12, 0x6e, 0x6f,
233 0x72, 0x6d, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x56, 0x65, 0x72, 0x74, 0x69, 0x63, 0x65, 0x73,
234 0x42, 0xff, 0x01, 0x0a, 0x29, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
235 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x75, 0x61, 0x6c, 0x69, 0x6e, 0x73, 0x70,
236 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x50, 0x01,
237 0x5a, 0x55, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e,
238 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f,
239 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x76, 0x69,
240 0x73, 0x75, 0x61, 0x6c, 0x69, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x76,
241 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b, 0x76, 0x69, 0x73, 0x75, 0x61, 0x6c, 0x69, 0x6e, 0x73,
242 0x70, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0xaa, 0x02, 0x25, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
243 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x56, 0x69, 0x73, 0x75, 0x61, 0x6c, 0x49, 0x6e, 0x73,
244 0x70, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x56, 0x31, 0x42, 0x65, 0x74, 0x61, 0x31, 0xca,
245 0x02, 0x25, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x56,
246 0x69, 0x73, 0x75, 0x61, 0x6c, 0x49, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5c,
247 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xea, 0x02, 0x28, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
248 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x56, 0x69, 0x73, 0x75, 0x61, 0x6c, 0x49,
249 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74,
250 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
251 }
252
253 var (
254 file_google_cloud_visualinspection_v1beta1_geometry_proto_rawDescOnce sync.Once
255 file_google_cloud_visualinspection_v1beta1_geometry_proto_rawDescData = file_google_cloud_visualinspection_v1beta1_geometry_proto_rawDesc
256 )
257
258 func file_google_cloud_visualinspection_v1beta1_geometry_proto_rawDescGZIP() []byte {
259 file_google_cloud_visualinspection_v1beta1_geometry_proto_rawDescOnce.Do(func() {
260 file_google_cloud_visualinspection_v1beta1_geometry_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_visualinspection_v1beta1_geometry_proto_rawDescData)
261 })
262 return file_google_cloud_visualinspection_v1beta1_geometry_proto_rawDescData
263 }
264
265 var file_google_cloud_visualinspection_v1beta1_geometry_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
266 var file_google_cloud_visualinspection_v1beta1_geometry_proto_goTypes = []interface{}{
267 (*NormalizedVertex)(nil),
268 (*NormalizedBoundingPoly)(nil),
269 (*NormalizedPolyline)(nil),
270 }
271 var file_google_cloud_visualinspection_v1beta1_geometry_proto_depIdxs = []int32{
272 0,
273 0,
274 2,
275 2,
276 2,
277 2,
278 0,
279 }
280
281 func init() { file_google_cloud_visualinspection_v1beta1_geometry_proto_init() }
282 func file_google_cloud_visualinspection_v1beta1_geometry_proto_init() {
283 if File_google_cloud_visualinspection_v1beta1_geometry_proto != nil {
284 return
285 }
286 if !protoimpl.UnsafeEnabled {
287 file_google_cloud_visualinspection_v1beta1_geometry_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
288 switch v := v.(*NormalizedVertex); i {
289 case 0:
290 return &v.state
291 case 1:
292 return &v.sizeCache
293 case 2:
294 return &v.unknownFields
295 default:
296 return nil
297 }
298 }
299 file_google_cloud_visualinspection_v1beta1_geometry_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
300 switch v := v.(*NormalizedBoundingPoly); i {
301 case 0:
302 return &v.state
303 case 1:
304 return &v.sizeCache
305 case 2:
306 return &v.unknownFields
307 default:
308 return nil
309 }
310 }
311 file_google_cloud_visualinspection_v1beta1_geometry_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
312 switch v := v.(*NormalizedPolyline); i {
313 case 0:
314 return &v.state
315 case 1:
316 return &v.sizeCache
317 case 2:
318 return &v.unknownFields
319 default:
320 return nil
321 }
322 }
323 }
324 type x struct{}
325 out := protoimpl.TypeBuilder{
326 File: protoimpl.DescBuilder{
327 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
328 RawDescriptor: file_google_cloud_visualinspection_v1beta1_geometry_proto_rawDesc,
329 NumEnums: 0,
330 NumMessages: 3,
331 NumExtensions: 0,
332 NumServices: 0,
333 },
334 GoTypes: file_google_cloud_visualinspection_v1beta1_geometry_proto_goTypes,
335 DependencyIndexes: file_google_cloud_visualinspection_v1beta1_geometry_proto_depIdxs,
336 MessageInfos: file_google_cloud_visualinspection_v1beta1_geometry_proto_msgTypes,
337 }.Build()
338 File_google_cloud_visualinspection_v1beta1_geometry_proto = out.File
339 file_google_cloud_visualinspection_v1beta1_geometry_proto_rawDesc = nil
340 file_google_cloud_visualinspection_v1beta1_geometry_proto_goTypes = nil
341 file_google_cloud_visualinspection_v1beta1_geometry_proto_depIdxs = nil
342 }
343
View as plain text