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