Debian Codegraph @

googleapis/cloud/visionai/v1/streaming_resources.pb.go

raw
1 // Copyright 2022 Google LLC
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 // Code generated by protoc-gen-go. DO NOT EDIT.
16 // versions:
17 // protoc-gen-go v1.26.0
18 // protoc v3.21.9
19 // source: google/cloud/visionai/v1/streaming_resources.proto
20
21 package visionai
22
23 import (
24 reflect "reflect"
25 sync "sync"
26
27 _ "google.golang.org/genproto/googleapis/api/annotations"
28 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
29 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
30 durationpb "google.golang.org/protobuf/types/known/durationpb"
31 structpb "google.golang.org/protobuf/types/known/structpb"
32 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
33 )
34
35 const (
36 // Verify that this generated code is sufficiently up-to-date.
37 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
38 // Verify that runtime/protoimpl is sufficiently up-to-date.
39 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
40 )
41
42 // The descriptor for a gstreamer buffer payload.
43 type GstreamerBufferDescriptor struct {
44 state protoimpl.MessageState
45 sizeCache protoimpl.SizeCache
46 unknownFields protoimpl.UnknownFields
47
48 // The caps string of the payload.
49 CapsString string `protobuf:"bytes,1,opt,name=caps_string,json=capsString,proto3" json:"caps_string,omitempty"`
50 // Whether the buffer is a key frame.
51 IsKeyFrame bool `protobuf:"varint,2,opt,name=is_key_frame,json=isKeyFrame,proto3" json:"is_key_frame,omitempty"`
52 // PTS of the frame.
53 PtsTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=pts_time,json=ptsTime,proto3" json:"pts_time,omitempty"`
54 // DTS of the frame.
55 DtsTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=dts_time,json=dtsTime,proto3" json:"dts_time,omitempty"`
56 // Duration of the frame.
57 Duration *durationpb.Duration `protobuf:"bytes,5,opt,name=duration,proto3" json:"duration,omitempty"`
58 }
59
60 func (x *GstreamerBufferDescriptor) Reset() {
61 *x = GstreamerBufferDescriptor{}
62 if protoimpl.UnsafeEnabled {
63 mi := &file_google_cloud_visionai_v1_streaming_resources_proto_msgTypes[0]
64 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
65 ms.StoreMessageInfo(mi)
66 }
67 }
68
69 func (x *GstreamerBufferDescriptor) String() string {
70 return protoimpl.X.MessageStringOf(x)
71 }
72
73 func (*GstreamerBufferDescriptor) ProtoMessage() {}
74
75 func (x *GstreamerBufferDescriptor) ProtoReflect() protoreflect.Message {
76 mi := &file_google_cloud_visionai_v1_streaming_resources_proto_msgTypes[0]
77 if protoimpl.UnsafeEnabled && x != nil {
78 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
79 if ms.LoadMessageInfo() == nil {
80 ms.StoreMessageInfo(mi)
81 }
82 return ms
83 }
84 return mi.MessageOf(x)
85 }
86
87 // Deprecated: Use GstreamerBufferDescriptor.ProtoReflect.Descriptor instead.
88 func (*GstreamerBufferDescriptor) Descriptor() ([]byte, []int) {
89 return file_google_cloud_visionai_v1_streaming_resources_proto_rawDescGZIP(), []int{0}
90 }
91
92 func (x *GstreamerBufferDescriptor) GetCapsString() string {
93 if x != nil {
94 return x.CapsString
95 }
96 return ""
97 }
98
99 func (x *GstreamerBufferDescriptor) GetIsKeyFrame() bool {
100 if x != nil {
101 return x.IsKeyFrame
102 }
103 return false
104 }
105
106 func (x *GstreamerBufferDescriptor) GetPtsTime() *timestamppb.Timestamp {
107 if x != nil {
108 return x.PtsTime
109 }
110 return nil
111 }
112
113 func (x *GstreamerBufferDescriptor) GetDtsTime() *timestamppb.Timestamp {
114 if x != nil {
115 return x.DtsTime
116 }
117 return nil
118 }
119
120 func (x *GstreamerBufferDescriptor) GetDuration() *durationpb.Duration {
121 if x != nil {
122 return x.Duration
123 }
124 return nil
125 }
126
127 // The descriptor for a raw image.
128 type RawImageDescriptor struct {
129 state protoimpl.MessageState
130 sizeCache protoimpl.SizeCache
131 unknownFields protoimpl.UnknownFields
132
133 // Raw image format. Its possible values are: "srgb".
134 Format string `protobuf:"bytes,1,opt,name=format,proto3" json:"format,omitempty"`
135 // The height of the image.
136 Height int32 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
137 // The width of the image.
138 Width int32 `protobuf:"varint,3,opt,name=width,proto3" json:"width,omitempty"`
139 }
140
141 func (x *RawImageDescriptor) Reset() {
142 *x = RawImageDescriptor{}
143 if protoimpl.UnsafeEnabled {
144 mi := &file_google_cloud_visionai_v1_streaming_resources_proto_msgTypes[1]
145 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
146 ms.StoreMessageInfo(mi)
147 }
148 }
149
150 func (x *RawImageDescriptor) String() string {
151 return protoimpl.X.MessageStringOf(x)
152 }
153
154 func (*RawImageDescriptor) ProtoMessage() {}
155
156 func (x *RawImageDescriptor) ProtoReflect() protoreflect.Message {
157 mi := &file_google_cloud_visionai_v1_streaming_resources_proto_msgTypes[1]
158 if protoimpl.UnsafeEnabled && x != nil {
159 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
160 if ms.LoadMessageInfo() == nil {
161 ms.StoreMessageInfo(mi)
162 }
163 return ms
164 }
165 return mi.MessageOf(x)
166 }
167
168 // Deprecated: Use RawImageDescriptor.ProtoReflect.Descriptor instead.
169 func (*RawImageDescriptor) Descriptor() ([]byte, []int) {
170 return file_google_cloud_visionai_v1_streaming_resources_proto_rawDescGZIP(), []int{1}
171 }
172
173 func (x *RawImageDescriptor) GetFormat() string {
174 if x != nil {
175 return x.Format
176 }
177 return ""
178 }
179
180 func (x *RawImageDescriptor) GetHeight() int32 {
181 if x != nil {
182 return x.Height
183 }
184 return 0
185 }
186
187 func (x *RawImageDescriptor) GetWidth() int32 {
188 if x != nil {
189 return x.Width
190 }
191 return 0
192 }
193
194 // The message that represents the data type of a packet.
195 type PacketType struct {
196 state protoimpl.MessageState
197 sizeCache protoimpl.SizeCache
198 unknownFields protoimpl.UnknownFields
199
200 // The type class of the packet. Its possible values are:
201 // "gst", "protobuf", and "string".
202 TypeClass string `protobuf:"bytes,1,opt,name=type_class,json=typeClass,proto3" json:"type_class,omitempty"`
203 // The type descriptor.
204 TypeDescriptor *PacketType_TypeDescriptor `protobuf:"bytes,2,opt,name=type_descriptor,json=typeDescriptor,proto3" json:"type_descriptor,omitempty"`
205 }
206
207 func (x *PacketType) Reset() {
208 *x = PacketType{}
209 if protoimpl.UnsafeEnabled {
210 mi := &file_google_cloud_visionai_v1_streaming_resources_proto_msgTypes[2]
211 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
212 ms.StoreMessageInfo(mi)
213 }
214 }
215
216 func (x *PacketType) String() string {
217 return protoimpl.X.MessageStringOf(x)
218 }
219
220 func (*PacketType) ProtoMessage() {}
221
222 func (x *PacketType) ProtoReflect() protoreflect.Message {
223 mi := &file_google_cloud_visionai_v1_streaming_resources_proto_msgTypes[2]
224 if protoimpl.UnsafeEnabled && x != nil {
225 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
226 if ms.LoadMessageInfo() == nil {
227 ms.StoreMessageInfo(mi)
228 }
229 return ms
230 }
231 return mi.MessageOf(x)
232 }
233
234 // Deprecated: Use PacketType.ProtoReflect.Descriptor instead.
235 func (*PacketType) Descriptor() ([]byte, []int) {
236 return file_google_cloud_visionai_v1_streaming_resources_proto_rawDescGZIP(), []int{2}
237 }
238
239 func (x *PacketType) GetTypeClass() string {
240 if x != nil {
241 return x.TypeClass
242 }
243 return ""
244 }
245
246 func (x *PacketType) GetTypeDescriptor() *PacketType_TypeDescriptor {
247 if x != nil {
248 return x.TypeDescriptor
249 }
250 return nil
251 }
252
253 // The message that represents server metadata.
254 type ServerMetadata struct {
255 state protoimpl.MessageState
256 sizeCache protoimpl.SizeCache
257 unknownFields protoimpl.UnknownFields
258
259 // The offset position for the packet in its stream.
260 Offset int64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"`
261 // The timestamp at which the stream server receives this packet. This is
262 // based on the local clock of on the server side. It is guaranteed to be
263 // monotonically increasing for the packets within each session; however
264 // this timestamp is not comparable across packets sent to the same stream
265 // different sessions. Session here refers to one individual gRPC streaming
266 // request to the stream server.
267 IngestTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=ingest_time,json=ingestTime,proto3" json:"ingest_time,omitempty"`
268 }
269
270 func (x *ServerMetadata) Reset() {
271 *x = ServerMetadata{}
272 if protoimpl.UnsafeEnabled {
273 mi := &file_google_cloud_visionai_v1_streaming_resources_proto_msgTypes[3]
274 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
275 ms.StoreMessageInfo(mi)
276 }
277 }
278
279 func (x *ServerMetadata) String() string {
280 return protoimpl.X.MessageStringOf(x)
281 }
282
283 func (*ServerMetadata) ProtoMessage() {}
284
285 func (x *ServerMetadata) ProtoReflect() protoreflect.Message {
286 mi := &file_google_cloud_visionai_v1_streaming_resources_proto_msgTypes[3]
287 if protoimpl.UnsafeEnabled && x != nil {
288 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
289 if ms.LoadMessageInfo() == nil {
290 ms.StoreMessageInfo(mi)
291 }
292 return ms
293 }
294 return mi.MessageOf(x)
295 }
296
297 // Deprecated: Use ServerMetadata.ProtoReflect.Descriptor instead.
298 func (*ServerMetadata) Descriptor() ([]byte, []int) {
299 return file_google_cloud_visionai_v1_streaming_resources_proto_rawDescGZIP(), []int{3}
300 }
301
302 func (x *ServerMetadata) GetOffset() int64 {
303 if x != nil {
304 return x.Offset
305 }
306 return 0
307 }
308
309 func (x *ServerMetadata) GetIngestTime() *timestamppb.Timestamp {
310 if x != nil {
311 return x.IngestTime
312 }
313 return nil
314 }
315
316 // The message that represents series metadata.
317 type SeriesMetadata struct {
318 state protoimpl.MessageState
319 sizeCache protoimpl.SizeCache
320 unknownFields protoimpl.UnknownFields
321
322 // Series name. It's in the format of
323 // "projects/{project}/locations/{location}/clusters/{cluster}/series/{stream}".
324 Series string `protobuf:"bytes,1,opt,name=series,proto3" json:"series,omitempty"`
325 }
326
327 func (x *SeriesMetadata) Reset() {
328 *x = SeriesMetadata{}
329 if protoimpl.UnsafeEnabled {
330 mi := &file_google_cloud_visionai_v1_streaming_resources_proto_msgTypes[4]
331 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
332 ms.StoreMessageInfo(mi)
333 }
334 }
335
336 func (x *SeriesMetadata) String() string {
337 return protoimpl.X.MessageStringOf(x)
338 }
339
340 func (*SeriesMetadata) ProtoMessage() {}
341
342 func (x *SeriesMetadata) ProtoReflect() protoreflect.Message {
343 mi := &file_google_cloud_visionai_v1_streaming_resources_proto_msgTypes[4]
344 if protoimpl.UnsafeEnabled && x != nil {
345 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
346 if ms.LoadMessageInfo() == nil {
347 ms.StoreMessageInfo(mi)
348 }
349 return ms
350 }
351 return mi.MessageOf(x)
352 }
353
354 // Deprecated: Use SeriesMetadata.ProtoReflect.Descriptor instead.
355 func (*SeriesMetadata) Descriptor() ([]byte, []int) {
356 return file_google_cloud_visionai_v1_streaming_resources_proto_rawDescGZIP(), []int{4}
357 }
358
359 func (x *SeriesMetadata) GetSeries() string {
360 if x != nil {
361 return x.Series
362 }
363 return ""
364 }
365
366 // The message that represents packet header.
367 type PacketHeader struct {
368 state protoimpl.MessageState
369 sizeCache protoimpl.SizeCache
370 unknownFields protoimpl.UnknownFields
371
372 // Input only. The capture time of the packet.
373 CaptureTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=capture_time,json=captureTime,proto3" json:"capture_time,omitempty"`
374 // Input only. Immutable. The type of the payload.
375 Type *PacketType `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
376 // Input only. This field is for users to attach user managed metadata.
377 Metadata *structpb.Struct `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
378 // Output only. Metadata that the server appends to each packet before sending
379 // it to receivers. You don't need to set a value for this field when sending
380 // packets.
381 ServerMetadata *ServerMetadata `protobuf:"bytes,4,opt,name=server_metadata,json=serverMetadata,proto3" json:"server_metadata,omitempty"`
382 // Input only. Immutable. Metadata that the server needs to know where to
383 // write the packets to. It's only required for the first packet.
384 SeriesMetadata *SeriesMetadata `protobuf:"bytes,5,opt,name=series_metadata,json=seriesMetadata,proto3" json:"series_metadata,omitempty"`
385 // Immutable. Packet flag set. SDK will set the flag automatically.
386 Flags int32 `protobuf:"varint,6,opt,name=flags,proto3" json:"flags,omitempty"`
387 // Immutable. Header string for tracing across services. It should be set when the packet
388 // is first arrived in the stream server.
389 //
390 // The input format is a lowercase hex string:
391 // - version_id: 1 byte, currently must be zero - hex encoded (2 characters)
392 // - trace_id: 16 bytes (opaque blob) - hex encoded (32 characters)
393 // - span_id: 8 bytes (opaque blob) - hex encoded (16 characters)
394 // - trace_options: 1 byte (LSB means tracing enabled) - hex encoded (2
395 // characters)
396 //
397 // Example: "00-404142434445464748494a4b4c4d4e4f-6162636465666768-01"
398 //
399 // v trace_id span_id options
400 TraceContext string `protobuf:"bytes,7,opt,name=trace_context,json=traceContext,proto3" json:"trace_context,omitempty"`
401 }
402
403 func (x *PacketHeader) Reset() {
404 *x = PacketHeader{}
405 if protoimpl.UnsafeEnabled {
406 mi := &file_google_cloud_visionai_v1_streaming_resources_proto_msgTypes[5]
407 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
408 ms.StoreMessageInfo(mi)
409 }
410 }
411
412 func (x *PacketHeader) String() string {
413 return protoimpl.X.MessageStringOf(x)
414 }
415
416 func (*PacketHeader) ProtoMessage() {}
417
418 func (x *PacketHeader) ProtoReflect() protoreflect.Message {
419 mi := &file_google_cloud_visionai_v1_streaming_resources_proto_msgTypes[5]
420 if protoimpl.UnsafeEnabled && x != nil {
421 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
422 if ms.LoadMessageInfo() == nil {
423 ms.StoreMessageInfo(mi)
424 }
425 return ms
426 }
427 return mi.MessageOf(x)
428 }
429
430 // Deprecated: Use PacketHeader.ProtoReflect.Descriptor instead.
431 func (*PacketHeader) Descriptor() ([]byte, []int) {
432 return file_google_cloud_visionai_v1_streaming_resources_proto_rawDescGZIP(), []int{5}
433 }
434
435 func (x *PacketHeader) GetCaptureTime() *timestamppb.Timestamp {
436 if x != nil {
437 return x.CaptureTime
438 }
439 return nil
440 }
441
442 func (x *PacketHeader) GetType() *PacketType {
443 if x != nil {
444 return x.Type
445 }
446 return nil
447 }
448
449 func (x *PacketHeader) GetMetadata() *structpb.Struct {
450 if x != nil {
451 return x.Metadata
452 }
453 return nil
454 }
455
456 func (x *PacketHeader) GetServerMetadata() *ServerMetadata {
457 if x != nil {
458 return x.ServerMetadata
459 }
460 return nil
461 }
462
463 func (x *PacketHeader) GetSeriesMetadata() *SeriesMetadata {
464 if x != nil {
465 return x.SeriesMetadata
466 }
467 return nil
468 }
469
470 func (x *PacketHeader) GetFlags() int32 {
471 if x != nil {
472 return x.Flags
473 }
474 return 0
475 }
476
477 func (x *PacketHeader) GetTraceContext() string {
478 if x != nil {
479 return x.TraceContext
480 }
481 return ""
482 }
483
484 // The quanta of datum that the series accepts.
485 type Packet struct {
486 state protoimpl.MessageState
487 sizeCache protoimpl.SizeCache
488 unknownFields protoimpl.UnknownFields
489
490 // The packet header.
491 Header *PacketHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
492 // The payload of the packet.
493 Payload []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
494 }
495
496 func (x *Packet) Reset() {
497 *x = Packet{}
498 if protoimpl.UnsafeEnabled {
499 mi := &file_google_cloud_visionai_v1_streaming_resources_proto_msgTypes[6]
500 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
501 ms.StoreMessageInfo(mi)
502 }
503 }
504
505 func (x *Packet) String() string {
506 return protoimpl.X.MessageStringOf(x)
507 }
508
509 func (*Packet) ProtoMessage() {}
510
511 func (x *Packet) ProtoReflect() protoreflect.Message {
512 mi := &file_google_cloud_visionai_v1_streaming_resources_proto_msgTypes[6]
513 if protoimpl.UnsafeEnabled && x != nil {
514 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
515 if ms.LoadMessageInfo() == nil {
516 ms.StoreMessageInfo(mi)
517 }
518 return ms
519 }
520 return mi.MessageOf(x)
521 }
522
523 // Deprecated: Use Packet.ProtoReflect.Descriptor instead.
524 func (*Packet) Descriptor() ([]byte, []int) {
525 return file_google_cloud_visionai_v1_streaming_resources_proto_rawDescGZIP(), []int{6}
526 }
527
528 func (x *Packet) GetHeader() *PacketHeader {
529 if x != nil {
530 return x.Header
531 }
532 return nil
533 }
534
535 func (x *Packet) GetPayload() []byte {
536 if x != nil {
537 return x.Payload
538 }
539 return nil
540 }
541
542 // The message that fully specifies the type of the packet.
543 type PacketType_TypeDescriptor struct {
544 state protoimpl.MessageState
545 sizeCache protoimpl.SizeCache
546 unknownFields protoimpl.UnknownFields
547
548 // Detailed information about the type.
549 //
550 // It is non-empty only for specific type class codecs. Needed only when the
551 // type string alone is not enough to disambiguate the specific type.
552 //
553 // Types that are assignable to TypeDetails:
554 //
555 // *PacketType_TypeDescriptor_GstreamerBufferDescriptor
556 // *PacketType_TypeDescriptor_RawImageDescriptor
557 TypeDetails isPacketType_TypeDescriptor_TypeDetails `protobuf_oneof:"type_details"`
558 // The type of the packet. Its possible values is codec dependent.
559 //
560 // The fully qualified type name is always the concatenation of the
561 // value in `type_class` together with the value in `type`, separated by a
562 // '/'.
563 //
564 // Note that specific codecs can define their own type hierarchy, and so the
565 // type string here can in fact be separated by multiple '/'s of its own.
566 //
567 // Please see the open source SDK for specific codec documentation.
568 Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
569 }
570
571 func (x *PacketType_TypeDescriptor) Reset() {
572 *x = PacketType_TypeDescriptor{}
573 if protoimpl.UnsafeEnabled {
574 mi := &file_google_cloud_visionai_v1_streaming_resources_proto_msgTypes[7]
575 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
576 ms.StoreMessageInfo(mi)
577 }
578 }
579
580 func (x *PacketType_TypeDescriptor) String() string {
581 return protoimpl.X.MessageStringOf(x)
582 }
583
584 func (*PacketType_TypeDescriptor) ProtoMessage() {}
585
586 func (x *PacketType_TypeDescriptor) ProtoReflect() protoreflect.Message {
587 mi := &file_google_cloud_visionai_v1_streaming_resources_proto_msgTypes[7]
588 if protoimpl.UnsafeEnabled && x != nil {
589 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
590 if ms.LoadMessageInfo() == nil {
591 ms.StoreMessageInfo(mi)
592 }
593 return ms
594 }
595 return mi.MessageOf(x)
596 }
597
598 // Deprecated: Use PacketType_TypeDescriptor.ProtoReflect.Descriptor instead.
599 func (*PacketType_TypeDescriptor) Descriptor() ([]byte, []int) {
600 return file_google_cloud_visionai_v1_streaming_resources_proto_rawDescGZIP(), []int{2, 0}
601 }
602
603 func (m *PacketType_TypeDescriptor) GetTypeDetails() isPacketType_TypeDescriptor_TypeDetails {
604 if m != nil {
605 return m.TypeDetails
606 }
607 return nil
608 }
609
610 func (x *PacketType_TypeDescriptor) GetGstreamerBufferDescriptor() *GstreamerBufferDescriptor {
611 if x, ok := x.GetTypeDetails().(*PacketType_TypeDescriptor_GstreamerBufferDescriptor); ok {
612 return x.GstreamerBufferDescriptor
613 }
614 return nil
615 }
616
617 func (x *PacketType_TypeDescriptor) GetRawImageDescriptor() *RawImageDescriptor {
618 if x, ok := x.GetTypeDetails().(*PacketType_TypeDescriptor_RawImageDescriptor); ok {
619 return x.RawImageDescriptor
620 }
621 return nil
622 }
623
624 func (x *PacketType_TypeDescriptor) GetType() string {
625 if x != nil {
626 return x.Type
627 }
628 return ""
629 }
630
631 type isPacketType_TypeDescriptor_TypeDetails interface {
632 isPacketType_TypeDescriptor_TypeDetails()
633 }
634
635 type PacketType_TypeDescriptor_GstreamerBufferDescriptor struct {
636 // GstreamerBufferDescriptor is the descriptor for gstreamer buffer type.
637 GstreamerBufferDescriptor *GstreamerBufferDescriptor `protobuf:"bytes,2,opt,name=gstreamer_buffer_descriptor,json=gstreamerBufferDescriptor,proto3,oneof"`
638 }
639
640 type PacketType_TypeDescriptor_RawImageDescriptor struct {
641 // RawImageDescriptor is the descriptor for the raw image type.
642 RawImageDescriptor *RawImageDescriptor `protobuf:"bytes,3,opt,name=raw_image_descriptor,json=rawImageDescriptor,proto3,oneof"`
643 }
644
645 func (*PacketType_TypeDescriptor_GstreamerBufferDescriptor) isPacketType_TypeDescriptor_TypeDetails() {
646 }
647
648 func (*PacketType_TypeDescriptor_RawImageDescriptor) isPacketType_TypeDescriptor_TypeDetails() {}
649
650 var File_google_cloud_visionai_v1_streaming_resources_proto protoreflect.FileDescriptor
651
652 var file_google_cloud_visionai_v1_streaming_resources_proto_rawDesc = []byte{
653 0x0a, 0x32, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x76,
654 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x61, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x74, 0x72, 0x65, 0x61,
655 0x6d, 0x69, 0x6e, 0x67, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70,
656 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
657 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x1a, 0x1f,
658 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64,
659 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
660 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f,
661 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67,
662 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61,
663 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67,
664 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75,
665 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
666 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74,
667 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x83, 0x02, 0x0a, 0x19, 0x47, 0x73,
668 0x74, 0x72, 0x65, 0x61, 0x6d, 0x65, 0x72, 0x42, 0x75, 0x66, 0x66, 0x65, 0x72, 0x44, 0x65, 0x73,
669 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x61, 0x70, 0x73, 0x5f,
670 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x61,
671 0x70, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x20, 0x0a, 0x0c, 0x69, 0x73, 0x5f, 0x6b,
672 0x65, 0x79, 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a,
673 0x69, 0x73, 0x4b, 0x65, 0x79, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x12, 0x35, 0x0a, 0x08, 0x70, 0x74,
674 0x73, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67,
675 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54,
676 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x07, 0x70, 0x74, 0x73, 0x54, 0x69, 0x6d,
677 0x65, 0x12, 0x35, 0x0a, 0x08, 0x64, 0x74, 0x73, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20,
678 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
679 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52,
680 0x07, 0x64, 0x74, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x35, 0x0a, 0x08, 0x64, 0x75, 0x72, 0x61,
681 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f,
682 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72,
683 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22,
684 0x5a, 0x0a, 0x12, 0x52, 0x61, 0x77, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72,
685 0x69, 0x70, 0x74, 0x6f, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18,
686 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x16, 0x0a,
687 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x68,
688 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x77, 0x69, 0x64, 0x74, 0x68, 0x18, 0x03,
689 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x77, 0x69, 0x64, 0x74, 0x68, 0x22, 0x99, 0x03, 0x0a, 0x0a,
690 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x79,
691 0x70, 0x65, 0x5f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
692 0x74, 0x79, 0x70, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x12, 0x5c, 0x0a, 0x0f, 0x74, 0x79, 0x70,
693 0x65, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01,
694 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
695 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61,
696 0x63, 0x6b, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x44, 0x65, 0x73,
697 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x0e, 0x74, 0x79, 0x70, 0x65, 0x44, 0x65, 0x73,
698 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x1a, 0x8d, 0x02, 0x0a, 0x0e, 0x54, 0x79, 0x70, 0x65,
699 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x12, 0x75, 0x0a, 0x1b, 0x67, 0x73,
700 0x74, 0x72, 0x65, 0x61, 0x6d, 0x65, 0x72, 0x5f, 0x62, 0x75, 0x66, 0x66, 0x65, 0x72, 0x5f, 0x64,
701 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
702 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76,
703 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x73, 0x74, 0x72, 0x65,
704 0x61, 0x6d, 0x65, 0x72, 0x42, 0x75, 0x66, 0x66, 0x65, 0x72, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69,
705 0x70, 0x74, 0x6f, 0x72, 0x48, 0x00, 0x52, 0x19, 0x67, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x65,
706 0x72, 0x42, 0x75, 0x66, 0x66, 0x65, 0x72, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f,
707 0x72, 0x12, 0x60, 0x0a, 0x14, 0x72, 0x61, 0x77, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x64,
708 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32,
709 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76,
710 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x61, 0x77, 0x49, 0x6d,
711 0x61, 0x67, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x48, 0x00, 0x52,
712 0x12, 0x72, 0x61, 0x77, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70,
713 0x74, 0x6f, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
714 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x42, 0x0e, 0x0a, 0x0c, 0x74, 0x79, 0x70, 0x65, 0x5f,
715 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x22, 0x65, 0x0a, 0x0e, 0x53, 0x65, 0x72, 0x76, 0x65,
716 0x72, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66,
717 0x73, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65,
718 0x74, 0x12, 0x3b, 0x0a, 0x0b, 0x69, 0x6e, 0x67, 0x65, 0x73, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65,
719 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
720 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,
721 0x6d, 0x70, 0x52, 0x0a, 0x69, 0x6e, 0x67, 0x65, 0x73, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x4d,
722 0x0a, 0x0e, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61,
723 0x12, 0x3b, 0x0a, 0x06, 0x73, 0x65, 0x72, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
724 0x42, 0x23, 0xfa, 0x41, 0x20, 0x0a, 0x1e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x61, 0x69, 0x2e,
725 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53,
726 0x65, 0x72, 0x69, 0x65, 0x73, 0x52, 0x06, 0x73, 0x65, 0x72, 0x69, 0x65, 0x73, 0x22, 0xc6, 0x03,
727 0x0a, 0x0c, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x42,
728 0x0a, 0x0c, 0x63, 0x61, 0x70, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01,
729 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
730 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
731 0x42, 0x03, 0xe0, 0x41, 0x04, 0x52, 0x0b, 0x63, 0x61, 0x70, 0x74, 0x75, 0x72, 0x65, 0x54, 0x69,
732 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
733 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
734 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x63, 0x6b,
735 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x42, 0x06, 0xe0, 0x41, 0x04, 0xe0, 0x41, 0x05, 0x52, 0x04,
736 0x74, 0x79, 0x70, 0x65, 0x12, 0x38, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61,
737 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
738 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x42,
739 0x03, 0xe0, 0x41, 0x04, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x56,
740 0x0a, 0x0f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
741 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
742 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x61, 0x69, 0x2e,
743 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
744 0x61, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4d, 0x65,
745 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x59, 0x0a, 0x0f, 0x73, 0x65, 0x72, 0x69, 0x65, 0x73,
746 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32,
747 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76,
748 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x69, 0x65,
749 0x73, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x42, 0x06, 0xe0, 0x41, 0x04, 0xe0, 0x41,
750 0x05, 0x52, 0x0e, 0x73, 0x65, 0x72, 0x69, 0x65, 0x73, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
751 0x61, 0x12, 0x19, 0x0a, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05,
752 0x42, 0x03, 0xe0, 0x41, 0x05, 0x52, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x12, 0x28, 0x0a, 0x0d,
753 0x74, 0x72, 0x61, 0x63, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x07, 0x20,
754 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x05, 0x52, 0x0c, 0x74, 0x72, 0x61, 0x63, 0x65, 0x43,
755 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x22, 0x62, 0x0a, 0x06, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74,
756 0x12, 0x3e, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
757 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
758 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x61, 0x63, 0x6b,
759 0x65, 0x74, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72,
760 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
761 0x0c, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x42, 0xcf, 0x01, 0x0a, 0x1c, 0x63,
762 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
763 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x42, 0x17, 0x53, 0x74, 0x72,
764 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x50,
765 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x40, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67,
766 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f,
767 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c,
768 0x6f, 0x75, 0x64, 0x2f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x61, 0x69, 0x2f, 0x76, 0x31, 0x3b,
769 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x61, 0x69, 0xaa, 0x02, 0x18, 0x47, 0x6f, 0x6f, 0x67, 0x6c,
770 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x56, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x41, 0x49,
771 0x2e, 0x56, 0x31, 0xca, 0x02, 0x18, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f,
772 0x75, 0x64, 0x5c, 0x56, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x41, 0x49, 0x5c, 0x56, 0x31, 0xea, 0x02,
773 0x1b, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a,
774 0x56, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x41, 0x49, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72,
775 0x6f, 0x74, 0x6f, 0x33,
776 }
777
778 var (
779 file_google_cloud_visionai_v1_streaming_resources_proto_rawDescOnce sync.Once
780 file_google_cloud_visionai_v1_streaming_resources_proto_rawDescData = file_google_cloud_visionai_v1_streaming_resources_proto_rawDesc
781 )
782
783 func file_google_cloud_visionai_v1_streaming_resources_proto_rawDescGZIP() []byte {
784 file_google_cloud_visionai_v1_streaming_resources_proto_rawDescOnce.Do(func() {
785 file_google_cloud_visionai_v1_streaming_resources_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_visionai_v1_streaming_resources_proto_rawDescData)
786 })
787 return file_google_cloud_visionai_v1_streaming_resources_proto_rawDescData
788 }
789
790 var file_google_cloud_visionai_v1_streaming_resources_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
791 var file_google_cloud_visionai_v1_streaming_resources_proto_goTypes = []interface{}{
792 (*GstreamerBufferDescriptor)(nil), // 0: google.cloud.visionai.v1.GstreamerBufferDescriptor
793 (*RawImageDescriptor)(nil), // 1: google.cloud.visionai.v1.RawImageDescriptor
794 (*PacketType)(nil), // 2: google.cloud.visionai.v1.PacketType
795 (*ServerMetadata)(nil), // 3: google.cloud.visionai.v1.ServerMetadata
796 (*SeriesMetadata)(nil), // 4: google.cloud.visionai.v1.SeriesMetadata
797 (*PacketHeader)(nil), // 5: google.cloud.visionai.v1.PacketHeader
798 (*Packet)(nil), // 6: google.cloud.visionai.v1.Packet
799 (*PacketType_TypeDescriptor)(nil), // 7: google.cloud.visionai.v1.PacketType.TypeDescriptor
800 (*timestamppb.Timestamp)(nil), // 8: google.protobuf.Timestamp
801 (*durationpb.Duration)(nil), // 9: google.protobuf.Duration
802 (*structpb.Struct)(nil), // 10: google.protobuf.Struct
803 }
804 var file_google_cloud_visionai_v1_streaming_resources_proto_depIdxs = []int32{
805 8, // 0: google.cloud.visionai.v1.GstreamerBufferDescriptor.pts_time:type_name -> google.protobuf.Timestamp
806 8, // 1: google.cloud.visionai.v1.GstreamerBufferDescriptor.dts_time:type_name -> google.protobuf.Timestamp
807 9, // 2: google.cloud.visionai.v1.GstreamerBufferDescriptor.duration:type_name -> google.protobuf.Duration
808 7, // 3: google.cloud.visionai.v1.PacketType.type_descriptor:type_name -> google.cloud.visionai.v1.PacketType.TypeDescriptor
809 8, // 4: google.cloud.visionai.v1.ServerMetadata.ingest_time:type_name -> google.protobuf.Timestamp
810 8, // 5: google.cloud.visionai.v1.PacketHeader.capture_time:type_name -> google.protobuf.Timestamp
811 2, // 6: google.cloud.visionai.v1.PacketHeader.type:type_name -> google.cloud.visionai.v1.PacketType
812 10, // 7: google.cloud.visionai.v1.PacketHeader.metadata:type_name -> google.protobuf.Struct
813 3, // 8: google.cloud.visionai.v1.PacketHeader.server_metadata:type_name -> google.cloud.visionai.v1.ServerMetadata
814 4, // 9: google.cloud.visionai.v1.PacketHeader.series_metadata:type_name -> google.cloud.visionai.v1.SeriesMetadata
815 5, // 10: google.cloud.visionai.v1.Packet.header:type_name -> google.cloud.visionai.v1.PacketHeader
816 0, // 11: google.cloud.visionai.v1.PacketType.TypeDescriptor.gstreamer_buffer_descriptor:type_name -> google.cloud.visionai.v1.GstreamerBufferDescriptor
817 1, // 12: google.cloud.visionai.v1.PacketType.TypeDescriptor.raw_image_descriptor:type_name -> google.cloud.visionai.v1.RawImageDescriptor
818 13, // [13:13] is the sub-list for method output_type
819 13, // [13:13] is the sub-list for method input_type
820 13, // [13:13] is the sub-list for extension type_name
821 13, // [13:13] is the sub-list for extension extendee
822 0, // [0:13] is the sub-list for field type_name
823 }
824
825 func init() { file_google_cloud_visionai_v1_streaming_resources_proto_init() }
826 func file_google_cloud_visionai_v1_streaming_resources_proto_init() {
827 if File_google_cloud_visionai_v1_streaming_resources_proto != nil {
828 return
829 }
830 if !protoimpl.UnsafeEnabled {
831 file_google_cloud_visionai_v1_streaming_resources_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
832 switch v := v.(*GstreamerBufferDescriptor); i {
833 case 0:
834 return &v.state
835 case 1:
836 return &v.sizeCache
837 case 2:
838 return &v.unknownFields
839 default:
840 return nil
841 }
842 }
843 file_google_cloud_visionai_v1_streaming_resources_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
844 switch v := v.(*RawImageDescriptor); i {
845 case 0:
846 return &v.state
847 case 1:
848 return &v.sizeCache
849 case 2:
850 return &v.unknownFields
851 default:
852 return nil
853 }
854 }
855 file_google_cloud_visionai_v1_streaming_resources_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
856 switch v := v.(*PacketType); i {
857 case 0:
858 return &v.state
859 case 1:
860 return &v.sizeCache
861 case 2:
862 return &v.unknownFields
863 default:
864 return nil
865 }
866 }
867 file_google_cloud_visionai_v1_streaming_resources_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
868 switch v := v.(*ServerMetadata); i {
869 case 0:
870 return &v.state
871 case 1:
872 return &v.sizeCache
873 case 2:
874 return &v.unknownFields
875 default:
876 return nil
877 }
878 }
879 file_google_cloud_visionai_v1_streaming_resources_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
880 switch v := v.(*SeriesMetadata); i {
881 case 0:
882 return &v.state
883 case 1:
884 return &v.sizeCache
885 case 2:
886 return &v.unknownFields
887 default:
888 return nil
889 }
890 }
891 file_google_cloud_visionai_v1_streaming_resources_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
892 switch v := v.(*PacketHeader); i {
893 case 0:
894 return &v.state
895 case 1:
896 return &v.sizeCache
897 case 2:
898 return &v.unknownFields
899 default:
900 return nil
901 }
902 }
903 file_google_cloud_visionai_v1_streaming_resources_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
904 switch v := v.(*Packet); i {
905 case 0:
906 return &v.state
907 case 1:
908 return &v.sizeCache
909 case 2:
910 return &v.unknownFields
911 default:
912 return nil
913 }
914 }
915 file_google_cloud_visionai_v1_streaming_resources_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
916 switch v := v.(*PacketType_TypeDescriptor); i {
917 case 0:
918 return &v.state
919 case 1:
920 return &v.sizeCache
921 case 2:
922 return &v.unknownFields
923 default:
924 return nil
925 }
926 }
927 }
928 file_google_cloud_visionai_v1_streaming_resources_proto_msgTypes[7].OneofWrappers = []interface{}{
929 (*PacketType_TypeDescriptor_GstreamerBufferDescriptor)(nil),
930 (*PacketType_TypeDescriptor_RawImageDescriptor)(nil),
931 }
932 type x struct{}
933 out := protoimpl.TypeBuilder{
934 File: protoimpl.DescBuilder{
935 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
936 RawDescriptor: file_google_cloud_visionai_v1_streaming_resources_proto_rawDesc,
937 NumEnums: 0,
938 NumMessages: 8,
939 NumExtensions: 0,
940 NumServices: 0,
941 },
942 GoTypes: file_google_cloud_visionai_v1_streaming_resources_proto_goTypes,
943 DependencyIndexes: file_google_cloud_visionai_v1_streaming_resources_proto_depIdxs,
944 MessageInfos: file_google_cloud_visionai_v1_streaming_resources_proto_msgTypes,
945 }.Build()
946 File_google_cloud_visionai_v1_streaming_resources_proto = out.File
947 file_google_cloud_visionai_v1_streaming_resources_proto_rawDesc = nil
948 file_google_cloud_visionai_v1_streaming_resources_proto_goTypes = nil
949 file_google_cloud_visionai_v1_streaming_resources_proto_depIdxs = nil
950 }