Debian Codegraph @

googleapis/cloud/visionai/v1alpha1/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.12.2
19 // source: google/cloud/visionai/v1alpha1/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_v1alpha1_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_v1alpha1_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_v1alpha1_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_v1alpha1_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_v1alpha1_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_v1alpha1_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_v1alpha1_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_v1alpha1_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_v1alpha1_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_v1alpha1_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_v1alpha1_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_v1alpha1_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_v1alpha1_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_v1alpha1_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_v1alpha1_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_v1alpha1_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_v1alpha1_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_v1alpha1_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_v1alpha1_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_v1alpha1_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_v1alpha1_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_v1alpha1_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_v1alpha1_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_v1alpha1_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_v1alpha1_streaming_resources_proto protoreflect.FileDescriptor
651
652 var file_google_cloud_visionai_v1alpha1_streaming_resources_proto_rawDesc = []byte{
653 0x0a, 0x38, 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, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31,
655 0x2f, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75,
656 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x67, 0x6f, 0x6f, 0x67,
657 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x61,
658 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67,
659 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68,
660 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f,
661 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
662 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70,
663 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
664 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70,
665 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70,
666 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f,
667 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e,
668 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x83, 0x02, 0x0a, 0x19, 0x47, 0x73, 0x74, 0x72, 0x65, 0x61,
669 0x6d, 0x65, 0x72, 0x42, 0x75, 0x66, 0x66, 0x65, 0x72, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70,
670 0x74, 0x6f, 0x72, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x61, 0x70, 0x73, 0x5f, 0x73, 0x74, 0x72, 0x69,
671 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x61, 0x70, 0x73, 0x53, 0x74,
672 0x72, 0x69, 0x6e, 0x67, 0x12, 0x20, 0x0a, 0x0c, 0x69, 0x73, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x66,
673 0x72, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, 0x4b, 0x65,
674 0x79, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x12, 0x35, 0x0a, 0x08, 0x70, 0x74, 0x73, 0x5f, 0x74, 0x69,
675 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
676 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73,
677 0x74, 0x61, 0x6d, 0x70, 0x52, 0x07, 0x70, 0x74, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x35, 0x0a,
678 0x08, 0x64, 0x74, 0x73, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32,
679 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
680 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x07, 0x64, 0x74, 0x73,
681 0x54, 0x69, 0x6d, 0x65, 0x12, 0x35, 0x0a, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
682 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
683 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f,
684 0x6e, 0x52, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x5a, 0x0a, 0x12, 0x52,
685 0x61, 0x77, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f,
686 0x72, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28,
687 0x09, 0x52, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, 0x69,
688 0x67, 0x68, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68,
689 0x74, 0x12, 0x14, 0x0a, 0x05, 0x77, 0x69, 0x64, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05,
690 0x52, 0x05, 0x77, 0x69, 0x64, 0x74, 0x68, 0x22, 0xab, 0x03, 0x0a, 0x0a, 0x50, 0x61, 0x63, 0x6b,
691 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x63,
692 0x6c, 0x61, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x79, 0x70, 0x65,
693 0x43, 0x6c, 0x61, 0x73, 0x73, 0x12, 0x62, 0x0a, 0x0f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x64, 0x65,
694 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x39,
695 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69,
696 0x73, 0x69, 0x6f, 0x6e, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e,
697 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x44,
698 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x0e, 0x74, 0x79, 0x70, 0x65, 0x44,
699 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x1a, 0x99, 0x02, 0x0a, 0x0e, 0x54, 0x79,
700 0x70, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x12, 0x7b, 0x0a, 0x1b,
701 0x67, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x65, 0x72, 0x5f, 0x62, 0x75, 0x66, 0x66, 0x65, 0x72,
702 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28,
703 0x0b, 0x32, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
704 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68,
705 0x61, 0x31, 0x2e, 0x47, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x65, 0x72, 0x42, 0x75, 0x66, 0x66,
706 0x65, 0x72, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x48, 0x00, 0x52, 0x19,
707 0x67, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x65, 0x72, 0x42, 0x75, 0x66, 0x66, 0x65, 0x72, 0x44,
708 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x12, 0x66, 0x0a, 0x14, 0x72, 0x61, 0x77,
709 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f,
710 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
711 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x61, 0x69, 0x2e,
712 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x61, 0x77, 0x49, 0x6d, 0x61, 0x67,
713 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x48, 0x00, 0x52, 0x12, 0x72,
714 0x61, 0x77, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f,
715 0x72, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
716 0x04, 0x74, 0x79, 0x70, 0x65, 0x42, 0x0e, 0x0a, 0x0c, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x64, 0x65,
717 0x74, 0x61, 0x69, 0x6c, 0x73, 0x22, 0x65, 0x0a, 0x0e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4d,
718 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65,
719 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12,
720 0x3b, 0x0a, 0x0b, 0x69, 0x6e, 0x67, 0x65, 0x73, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02,
721 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
722 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
723 0x52, 0x0a, 0x69, 0x6e, 0x67, 0x65, 0x73, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x4d, 0x0a, 0x0e,
724 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x3b,
725 0x0a, 0x06, 0x73, 0x65, 0x72, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x23,
726 0xfa, 0x41, 0x20, 0x0a, 0x1e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x61, 0x69, 0x2e, 0x67, 0x6f,
727 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x65, 0x72,
728 0x69, 0x65, 0x73, 0x52, 0x06, 0x73, 0x65, 0x72, 0x69, 0x65, 0x73, 0x22, 0xd8, 0x03, 0x0a, 0x0c,
729 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x42, 0x0a, 0x0c,
730 0x63, 0x61, 0x70, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
731 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
732 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03,
733 0xe0, 0x41, 0x04, 0x52, 0x0b, 0x63, 0x61, 0x70, 0x74, 0x75, 0x72, 0x65, 0x54, 0x69, 0x6d, 0x65,
734 0x12, 0x46, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a,
735 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69,
736 0x73, 0x69, 0x6f, 0x6e, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e,
737 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x42, 0x06, 0xe0, 0x41, 0x04, 0xe0,
738 0x41, 0x05, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x38, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61,
739 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f,
740 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72,
741 0x75, 0x63, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x04, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61,
742 0x74, 0x61, 0x12, 0x5c, 0x0a, 0x0f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x6d, 0x65, 0x74,
743 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x67, 0x6f,
744 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f,
745 0x6e, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x53, 0x65, 0x72,
746 0x76, 0x65, 0x72, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x42, 0x03, 0xe0, 0x41, 0x03,
747 0x52, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61,
748 0x12, 0x5f, 0x0a, 0x0f, 0x73, 0x65, 0x72, 0x69, 0x65, 0x73, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64,
749 0x61, 0x74, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
750 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x61,
751 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x53, 0x65, 0x72, 0x69, 0x65,
752 0x73, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x42, 0x06, 0xe0, 0x41, 0x04, 0xe0, 0x41,
753 0x05, 0x52, 0x0e, 0x73, 0x65, 0x72, 0x69, 0x65, 0x73, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
754 0x61, 0x12, 0x19, 0x0a, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05,
755 0x42, 0x03, 0xe0, 0x41, 0x05, 0x52, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x12, 0x28, 0x0a, 0x0d,
756 0x74, 0x72, 0x61, 0x63, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x07, 0x20,
757 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x05, 0x52, 0x0c, 0x74, 0x72, 0x61, 0x63, 0x65, 0x43,
758 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x22, 0x68, 0x0a, 0x06, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74,
759 0x12, 0x44, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
760 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
761 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61,
762 0x31, 0x2e, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x06,
763 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61,
764 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64,
765 0x42, 0xed, 0x01, 0x0a, 0x22, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
766 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x61, 0x69, 0x2e, 0x76,
767 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x17, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69,
768 0x6e, 0x67, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f,
769 0x50, 0x01, 0x5a, 0x46, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e,
770 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67,
771 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f,
772 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x61, 0x69, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61,
773 0x31, 0x3b, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x61, 0x69, 0xaa, 0x02, 0x1e, 0x47, 0x6f, 0x6f,
774 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x56, 0x69, 0x73, 0x69, 0x6f, 0x6e,
775 0x41, 0x49, 0x2e, 0x56, 0x31, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x1e, 0x47, 0x6f,
776 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x56, 0x69, 0x73, 0x69, 0x6f,
777 0x6e, 0x41, 0x49, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xea, 0x02, 0x21, 0x47,
778 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x56, 0x69,
779 0x73, 0x69, 0x6f, 0x6e, 0x41, 0x49, 0x3a, 0x3a, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31,
780 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
781 }
782
783 var (
784 file_google_cloud_visionai_v1alpha1_streaming_resources_proto_rawDescOnce sync.Once
785 file_google_cloud_visionai_v1alpha1_streaming_resources_proto_rawDescData = file_google_cloud_visionai_v1alpha1_streaming_resources_proto_rawDesc
786 )
787
788 func file_google_cloud_visionai_v1alpha1_streaming_resources_proto_rawDescGZIP() []byte {
789 file_google_cloud_visionai_v1alpha1_streaming_resources_proto_rawDescOnce.Do(func() {
790 file_google_cloud_visionai_v1alpha1_streaming_resources_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_visionai_v1alpha1_streaming_resources_proto_rawDescData)
791 })
792 return file_google_cloud_visionai_v1alpha1_streaming_resources_proto_rawDescData
793 }
794
795 var file_google_cloud_visionai_v1alpha1_streaming_resources_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
796 var file_google_cloud_visionai_v1alpha1_streaming_resources_proto_goTypes = []interface{}{
797 (*GstreamerBufferDescriptor)(nil), // 0: google.cloud.visionai.v1alpha1.GstreamerBufferDescriptor
798 (*RawImageDescriptor)(nil), // 1: google.cloud.visionai.v1alpha1.RawImageDescriptor
799 (*PacketType)(nil), // 2: google.cloud.visionai.v1alpha1.PacketType
800 (*ServerMetadata)(nil), // 3: google.cloud.visionai.v1alpha1.ServerMetadata
801 (*SeriesMetadata)(nil), // 4: google.cloud.visionai.v1alpha1.SeriesMetadata
802 (*PacketHeader)(nil), // 5: google.cloud.visionai.v1alpha1.PacketHeader
803 (*Packet)(nil), // 6: google.cloud.visionai.v1alpha1.Packet
804 (*PacketType_TypeDescriptor)(nil), // 7: google.cloud.visionai.v1alpha1.PacketType.TypeDescriptor
805 (*timestamppb.Timestamp)(nil), // 8: google.protobuf.Timestamp
806 (*durationpb.Duration)(nil), // 9: google.protobuf.Duration
807 (*structpb.Struct)(nil), // 10: google.protobuf.Struct
808 }
809 var file_google_cloud_visionai_v1alpha1_streaming_resources_proto_depIdxs = []int32{
810 8, // 0: google.cloud.visionai.v1alpha1.GstreamerBufferDescriptor.pts_time:type_name -> google.protobuf.Timestamp
811 8, // 1: google.cloud.visionai.v1alpha1.GstreamerBufferDescriptor.dts_time:type_name -> google.protobuf.Timestamp
812 9, // 2: google.cloud.visionai.v1alpha1.GstreamerBufferDescriptor.duration:type_name -> google.protobuf.Duration
813 7, // 3: google.cloud.visionai.v1alpha1.PacketType.type_descriptor:type_name -> google.cloud.visionai.v1alpha1.PacketType.TypeDescriptor
814 8, // 4: google.cloud.visionai.v1alpha1.ServerMetadata.ingest_time:type_name -> google.protobuf.Timestamp
815 8, // 5: google.cloud.visionai.v1alpha1.PacketHeader.capture_time:type_name -> google.protobuf.Timestamp
816 2, // 6: google.cloud.visionai.v1alpha1.PacketHeader.type:type_name -> google.cloud.visionai.v1alpha1.PacketType
817 10, // 7: google.cloud.visionai.v1alpha1.PacketHeader.metadata:type_name -> google.protobuf.Struct
818 3, // 8: google.cloud.visionai.v1alpha1.PacketHeader.server_metadata:type_name -> google.cloud.visionai.v1alpha1.ServerMetadata
819 4, // 9: google.cloud.visionai.v1alpha1.PacketHeader.series_metadata:type_name -> google.cloud.visionai.v1alpha1.SeriesMetadata
820 5, // 10: google.cloud.visionai.v1alpha1.Packet.header:type_name -> google.cloud.visionai.v1alpha1.PacketHeader
821 0, // 11: google.cloud.visionai.v1alpha1.PacketType.TypeDescriptor.gstreamer_buffer_descriptor:type_name -> google.cloud.visionai.v1alpha1.GstreamerBufferDescriptor
822 1, // 12: google.cloud.visionai.v1alpha1.PacketType.TypeDescriptor.raw_image_descriptor:type_name -> google.cloud.visionai.v1alpha1.RawImageDescriptor
823 13, // [13:13] is the sub-list for method output_type
824 13, // [13:13] is the sub-list for method input_type
825 13, // [13:13] is the sub-list for extension type_name
826 13, // [13:13] is the sub-list for extension extendee
827 0, // [0:13] is the sub-list for field type_name
828 }
829
830 func init() { file_google_cloud_visionai_v1alpha1_streaming_resources_proto_init() }
831 func file_google_cloud_visionai_v1alpha1_streaming_resources_proto_init() {
832 if File_google_cloud_visionai_v1alpha1_streaming_resources_proto != nil {
833 return
834 }
835 if !protoimpl.UnsafeEnabled {
836 file_google_cloud_visionai_v1alpha1_streaming_resources_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
837 switch v := v.(*GstreamerBufferDescriptor); i {
838 case 0:
839 return &v.state
840 case 1:
841 return &v.sizeCache
842 case 2:
843 return &v.unknownFields
844 default:
845 return nil
846 }
847 }
848 file_google_cloud_visionai_v1alpha1_streaming_resources_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
849 switch v := v.(*RawImageDescriptor); i {
850 case 0:
851 return &v.state
852 case 1:
853 return &v.sizeCache
854 case 2:
855 return &v.unknownFields
856 default:
857 return nil
858 }
859 }
860 file_google_cloud_visionai_v1alpha1_streaming_resources_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
861 switch v := v.(*PacketType); i {
862 case 0:
863 return &v.state
864 case 1:
865 return &v.sizeCache
866 case 2:
867 return &v.unknownFields
868 default:
869 return nil
870 }
871 }
872 file_google_cloud_visionai_v1alpha1_streaming_resources_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
873 switch v := v.(*ServerMetadata); i {
874 case 0:
875 return &v.state
876 case 1:
877 return &v.sizeCache
878 case 2:
879 return &v.unknownFields
880 default:
881 return nil
882 }
883 }
884 file_google_cloud_visionai_v1alpha1_streaming_resources_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
885 switch v := v.(*SeriesMetadata); i {
886 case 0:
887 return &v.state
888 case 1:
889 return &v.sizeCache
890 case 2:
891 return &v.unknownFields
892 default:
893 return nil
894 }
895 }
896 file_google_cloud_visionai_v1alpha1_streaming_resources_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
897 switch v := v.(*PacketHeader); i {
898 case 0:
899 return &v.state
900 case 1:
901 return &v.sizeCache
902 case 2:
903 return &v.unknownFields
904 default:
905 return nil
906 }
907 }
908 file_google_cloud_visionai_v1alpha1_streaming_resources_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
909 switch v := v.(*Packet); i {
910 case 0:
911 return &v.state
912 case 1:
913 return &v.sizeCache
914 case 2:
915 return &v.unknownFields
916 default:
917 return nil
918 }
919 }
920 file_google_cloud_visionai_v1alpha1_streaming_resources_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
921 switch v := v.(*PacketType_TypeDescriptor); i {
922 case 0:
923 return &v.state
924 case 1:
925 return &v.sizeCache
926 case 2:
927 return &v.unknownFields
928 default:
929 return nil
930 }
931 }
932 }
933 file_google_cloud_visionai_v1alpha1_streaming_resources_proto_msgTypes[7].OneofWrappers = []interface{}{
934 (*PacketType_TypeDescriptor_GstreamerBufferDescriptor)(nil),
935 (*PacketType_TypeDescriptor_RawImageDescriptor)(nil),
936 }
937 type x struct{}
938 out := protoimpl.TypeBuilder{
939 File: protoimpl.DescBuilder{
940 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
941 RawDescriptor: file_google_cloud_visionai_v1alpha1_streaming_resources_proto_rawDesc,
942 NumEnums: 0,
943 NumMessages: 8,
944 NumExtensions: 0,
945 NumServices: 0,
946 },
947 GoTypes: file_google_cloud_visionai_v1alpha1_streaming_resources_proto_goTypes,
948 DependencyIndexes: file_google_cloud_visionai_v1alpha1_streaming_resources_proto_depIdxs,
949 MessageInfos: file_google_cloud_visionai_v1alpha1_streaming_resources_proto_msgTypes,
950 }.Build()
951 File_google_cloud_visionai_v1alpha1_streaming_resources_proto = out.File
952 file_google_cloud_visionai_v1alpha1_streaming_resources_proto_rawDesc = nil
953 file_google_cloud_visionai_v1alpha1_streaming_resources_proto_goTypes = nil
954 file_google_cloud_visionai_v1alpha1_streaming_resources_proto_depIdxs = nil
955 }