| 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/lva.proto |
| 20 |
|
| 21 |
package visionaipb |
| 22 |
|
| 23 |
import ( |
| 24 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 25 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 26 |
reflect "reflect" |
| 27 |
sync "sync" |
| 28 |
) |
| 29 |
|
| 30 |
const ( |
| 31 |
// Verify that this generated code is sufficiently up-to-date. |
| 32 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 33 |
// Verify that runtime/protoimpl is sufficiently up-to-date. |
| 34 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 35 |
) |
| 36 |
|
| 37 |
// RunMode represents the mode to launch the Process on. |
| 38 |
type RunMode int32 |
| 39 |
|
| 40 |
const ( |
| 41 |
// Mode is unspecified. |
| 42 |
RunMode_RUN_MODE_UNSPECIFIED RunMode = 0 |
| 43 |
// Live mode. Meaning the Process is launched to handle live video |
| 44 |
// source, and possible packet drops are expected. |
| 45 |
RunMode_LIVE RunMode = 1 |
| 46 |
// Submission mode. Meaning the Process is launched to handle bounded video |
| 47 |
// files, with no packet drop. Completion status is tracked. |
| 48 |
RunMode_SUBMISSION RunMode = 2 |
| 49 |
) |
| 50 |
|
| 51 |
// Enum value maps for RunMode. |
| 52 |
var ( |
| 53 |
RunMode_name = map[int32]string{ |
| 54 |
0: "RUN_MODE_UNSPECIFIED", |
| 55 |
1: "LIVE", |
| 56 |
2: "SUBMISSION", |
| 57 |
} |
| 58 |
RunMode_value = map[string]int32{ |
| 59 |
"RUN_MODE_UNSPECIFIED": 0, |
| 60 |
"LIVE": 1, |
| 61 |
"SUBMISSION": 2, |
| 62 |
} |
| 63 |
) |
| 64 |
|
| 65 |
func (x RunMode) Enum() *RunMode { |
| 66 |
p := new(RunMode) |
| 67 |
*p = x |
| 68 |
return p |
| 69 |
} |
| 70 |
|
| 71 |
func (x RunMode) String() string { |
| 72 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 73 |
} |
| 74 |
|
| 75 |
func (RunMode) Descriptor() protoreflect.EnumDescriptor { |
| 76 |
return file_google_cloud_visionai_v1_lva_proto_enumTypes[0].Descriptor() |
| 77 |
} |
| 78 |
|
| 79 |
func (RunMode) Type() protoreflect.EnumType { |
| 80 |
return &file_google_cloud_visionai_v1_lva_proto_enumTypes[0] |
| 81 |
} |
| 82 |
|
| 83 |
func (x RunMode) Number() protoreflect.EnumNumber { |
| 84 |
return protoreflect.EnumNumber(x) |
| 85 |
} |
| 86 |
|
| 87 |
// Deprecated: Use RunMode.Descriptor instead. |
| 88 |
func (RunMode) EnumDescriptor() ([]byte, []int) { |
| 89 |
return file_google_cloud_visionai_v1_lva_proto_rawDescGZIP(), []int{0} |
| 90 |
} |
| 91 |
|
| 92 |
// State represents the running status of the Process. |
| 93 |
type RunStatus_State int32 |
| 94 |
|
| 95 |
const ( |
| 96 |
// State is unspecified. |
| 97 |
RunStatus_STATE_UNSPECIFIED RunStatus_State = 0 |
| 98 |
// INITIALIZING means the Process is scheduled but yet ready to handle |
| 99 |
// real traffic. |
| 100 |
RunStatus_INITIALIZING RunStatus_State = 1 |
| 101 |
// RUNNING means the Process is up running and handling traffic. |
| 102 |
RunStatus_RUNNING RunStatus_State = 2 |
| 103 |
// COMPLETED means the Process has completed the processing, especially |
| 104 |
// for non-streaming use case. |
| 105 |
RunStatus_COMPLETED RunStatus_State = 3 |
| 106 |
// FAILED means the Process failed to complete the processing. |
| 107 |
RunStatus_FAILED RunStatus_State = 4 |
| 108 |
// PENDING means the Process is created but yet to be scheduled. |
| 109 |
RunStatus_PENDING RunStatus_State = 5 |
| 110 |
) |
| 111 |
|
| 112 |
// Enum value maps for RunStatus_State. |
| 113 |
var ( |
| 114 |
RunStatus_State_name = map[int32]string{ |
| 115 |
0: "STATE_UNSPECIFIED", |
| 116 |
1: "INITIALIZING", |
| 117 |
2: "RUNNING", |
| 118 |
3: "COMPLETED", |
| 119 |
4: "FAILED", |
| 120 |
5: "PENDING", |
| 121 |
} |
| 122 |
RunStatus_State_value = map[string]int32{ |
| 123 |
"STATE_UNSPECIFIED": 0, |
| 124 |
"INITIALIZING": 1, |
| 125 |
"RUNNING": 2, |
| 126 |
"COMPLETED": 3, |
| 127 |
"FAILED": 4, |
| 128 |
"PENDING": 5, |
| 129 |
} |
| 130 |
) |
| 131 |
|
| 132 |
func (x RunStatus_State) Enum() *RunStatus_State { |
| 133 |
p := new(RunStatus_State) |
| 134 |
*p = x |
| 135 |
return p |
| 136 |
} |
| 137 |
|
| 138 |
func (x RunStatus_State) String() string { |
| 139 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 140 |
} |
| 141 |
|
| 142 |
func (RunStatus_State) Descriptor() protoreflect.EnumDescriptor { |
| 143 |
return file_google_cloud_visionai_v1_lva_proto_enumTypes[1].Descriptor() |
| 144 |
} |
| 145 |
|
| 146 |
func (RunStatus_State) Type() protoreflect.EnumType { |
| 147 |
return &file_google_cloud_visionai_v1_lva_proto_enumTypes[1] |
| 148 |
} |
| 149 |
|
| 150 |
func (x RunStatus_State) Number() protoreflect.EnumNumber { |
| 151 |
return protoreflect.EnumNumber(x) |
| 152 |
} |
| 153 |
|
| 154 |
// Deprecated: Use RunStatus_State.Descriptor instead. |
| 155 |
func (RunStatus_State) EnumDescriptor() ([]byte, []int) { |
| 156 |
return file_google_cloud_visionai_v1_lva_proto_rawDescGZIP(), []int{5, 0} |
| 157 |
} |
| 158 |
|
| 159 |
// Defines the interface of an Operator. |
| 160 |
// |
| 161 |
// Arguments to an operator are input/output streams that are getting |
| 162 |
// processesed/returned while attributes are fixed configuration parameters. |
| 163 |
type OperatorDefinition struct { |
| 164 |
state protoimpl.MessageState |
| 165 |
sizeCache protoimpl.SizeCache |
| 166 |
unknownFields protoimpl.UnknownFields |
| 167 |
|
| 168 |
// The name of this operator. |
| 169 |
// |
| 170 |
// Tentatively [A-Z][a-zA-Z0-9]*, e.g., BboxCounter, PetDetector, |
| 171 |
// PetDetector1. |
| 172 |
Operator string `protobuf:"bytes,1,opt,name=operator,proto3" json:"operator,omitempty"` |
| 173 |
// Declares input arguments. |
| 174 |
InputArgs []*OperatorDefinition_ArgumentDefinition `protobuf:"bytes,2,rep,name=input_args,json=inputArgs,proto3" json:"input_args,omitempty"` |
| 175 |
// Declares output arguments. |
| 176 |
OutputArgs []*OperatorDefinition_ArgumentDefinition `protobuf:"bytes,3,rep,name=output_args,json=outputArgs,proto3" json:"output_args,omitempty"` |
| 177 |
// Declares the attributes. |
| 178 |
Attributes []*OperatorDefinition_AttributeDefinition `protobuf:"bytes,4,rep,name=attributes,proto3" json:"attributes,omitempty"` |
| 179 |
// The resources for running the operator. |
| 180 |
Resources *ResourceSpecification `protobuf:"bytes,5,opt,name=resources,proto3" json:"resources,omitempty"` |
| 181 |
// Short description of the operator. |
| 182 |
ShortDescription string `protobuf:"bytes,6,opt,name=short_description,json=shortDescription,proto3" json:"short_description,omitempty"` |
| 183 |
// Full description of the operator. |
| 184 |
Description string `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"` |
| 185 |
} |
| 186 |
|
| 187 |
func (x *OperatorDefinition) Reset() { |
| 188 |
*x = OperatorDefinition{} |
| 189 |
mi := &file_google_cloud_visionai_v1_lva_proto_msgTypes[0] |
| 190 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 191 |
ms.StoreMessageInfo(mi) |
| 192 |
} |
| 193 |
|
| 194 |
func (x *OperatorDefinition) String() string { |
| 195 |
return protoimpl.X.MessageStringOf(x) |
| 196 |
} |
| 197 |
|
| 198 |
func (*OperatorDefinition) ProtoMessage() {} |
| 199 |
|
| 200 |
func (x *OperatorDefinition) ProtoReflect() protoreflect.Message { |
| 201 |
mi := &file_google_cloud_visionai_v1_lva_proto_msgTypes[0] |
| 202 |
if x != nil { |
| 203 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 204 |
if ms.LoadMessageInfo() == nil { |
| 205 |
ms.StoreMessageInfo(mi) |
| 206 |
} |
| 207 |
return ms |
| 208 |
} |
| 209 |
return mi.MessageOf(x) |
| 210 |
} |
| 211 |
|
| 212 |
// Deprecated: Use OperatorDefinition.ProtoReflect.Descriptor instead. |
| 213 |
func (*OperatorDefinition) Descriptor() ([]byte, []int) { |
| 214 |
return file_google_cloud_visionai_v1_lva_proto_rawDescGZIP(), []int{0} |
| 215 |
} |
| 216 |
|
| 217 |
func (x *OperatorDefinition) GetOperator() string { |
| 218 |
if x != nil { |
| 219 |
return x.Operator |
| 220 |
} |
| 221 |
return "" |
| 222 |
} |
| 223 |
|
| 224 |
func (x *OperatorDefinition) GetInputArgs() []*OperatorDefinition_ArgumentDefinition { |
| 225 |
if x != nil { |
| 226 |
return x.InputArgs |
| 227 |
} |
| 228 |
return nil |
| 229 |
} |
| 230 |
|
| 231 |
func (x *OperatorDefinition) GetOutputArgs() []*OperatorDefinition_ArgumentDefinition { |
| 232 |
if x != nil { |
| 233 |
return x.OutputArgs |
| 234 |
} |
| 235 |
return nil |
| 236 |
} |
| 237 |
|
| 238 |
func (x *OperatorDefinition) GetAttributes() []*OperatorDefinition_AttributeDefinition { |
| 239 |
if x != nil { |
| 240 |
return x.Attributes |
| 241 |
} |
| 242 |
return nil |
| 243 |
} |
| 244 |
|
| 245 |
func (x *OperatorDefinition) GetResources() *ResourceSpecification { |
| 246 |
if x != nil { |
| 247 |
return x.Resources |
| 248 |
} |
| 249 |
return nil |
| 250 |
} |
| 251 |
|
| 252 |
func (x *OperatorDefinition) GetShortDescription() string { |
| 253 |
if x != nil { |
| 254 |
return x.ShortDescription |
| 255 |
} |
| 256 |
return "" |
| 257 |
} |
| 258 |
|
| 259 |
func (x *OperatorDefinition) GetDescription() string { |
| 260 |
if x != nil { |
| 261 |
return x.Description |
| 262 |
} |
| 263 |
return "" |
| 264 |
} |
| 265 |
|
| 266 |
// ResourceSpec collects a set of resources that can |
| 267 |
// be used to specify requests and requirements. |
| 268 |
// |
| 269 |
// Note: Highly experimental as this can be runtime dependent. |
| 270 |
// Can use the "extras" field to experiment first before trying |
| 271 |
// to abstract it. |
| 272 |
type ResourceSpecification struct { |
| 273 |
state protoimpl.MessageState |
| 274 |
sizeCache protoimpl.SizeCache |
| 275 |
unknownFields protoimpl.UnknownFields |
| 276 |
|
| 277 |
// CPU specification. |
| 278 |
// |
| 279 |
// Examples: |
| 280 |
// "100m", "0.5", "1", "2", ... correspond to |
| 281 |
// 0.1, half, 1, or 2 cpus. |
| 282 |
// |
| 283 |
// Leave empty to let the system decide. |
| 284 |
// |
| 285 |
// Note that this does *not* determine the cpu vender/make, |
| 286 |
// or its underlying clock speed and specific SIMD features. |
| 287 |
// It is only the amount time it requires in timeslicing. |
| 288 |
Cpu string `protobuf:"bytes,1,opt,name=cpu,proto3" json:"cpu,omitempty"` |
| 289 |
// CPU limit. |
| 290 |
// |
| 291 |
// Examples: |
| 292 |
// "100m", "0.5", "1", "2", ... correspond to |
| 293 |
// 0.1, half, 1, or 2 cpus. |
| 294 |
// |
| 295 |
// Leave empty to indicate no limit. |
| 296 |
CpuLimits string `protobuf:"bytes,5,opt,name=cpu_limits,json=cpuLimits,proto3" json:"cpu_limits,omitempty"` |
| 297 |
// Memory specification (in bytes). |
| 298 |
// |
| 299 |
// Examples: |
| 300 |
// "128974848", "129e6", "129M", "123Mi", ... correspond to |
| 301 |
// 128974848 bytes, 129000000 bytes, 129 mebibytes, 123 megabytes. |
| 302 |
// |
| 303 |
// Leave empty to let the system decide. |
| 304 |
Memory string `protobuf:"bytes,2,opt,name=memory,proto3" json:"memory,omitempty"` |
| 305 |
// Memory usage limits. |
| 306 |
// |
| 307 |
// Examples: |
| 308 |
// "128974848", "129e6", "129M", "123Mi", ... correspond to |
| 309 |
// 128974848 bytes, 129000000 bytes, 129 mebibytes, 123 megabytes. |
| 310 |
// |
| 311 |
// Leave empty to indicate no limit. |
| 312 |
MemoryLimits string `protobuf:"bytes,6,opt,name=memory_limits,json=memoryLimits,proto3" json:"memory_limits,omitempty"` |
| 313 |
// Number of gpus. |
| 314 |
Gpus int32 `protobuf:"varint,3,opt,name=gpus,proto3" json:"gpus,omitempty"` |
| 315 |
// The maximum latency that this operator may use to process an element. |
| 316 |
// |
| 317 |
// If non positive, then a system default will be used. |
| 318 |
// Operator developers should arrange for the system compute resources to be |
| 319 |
// aligned with this latency budget; e.g. if you want a ML model to produce |
| 320 |
// results within 500ms, then you should make sure you request enough |
| 321 |
// cpu/gpu/memory to achieve that. |
| 322 |
LatencyBudgetMs int32 `protobuf:"varint,4,opt,name=latency_budget_ms,json=latencyBudgetMs,proto3" json:"latency_budget_ms,omitempty"` |
| 323 |
} |
| 324 |
|
| 325 |
func (x *ResourceSpecification) Reset() { |
| 326 |
*x = ResourceSpecification{} |
| 327 |
mi := &file_google_cloud_visionai_v1_lva_proto_msgTypes[1] |
| 328 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 329 |
ms.StoreMessageInfo(mi) |
| 330 |
} |
| 331 |
|
| 332 |
func (x *ResourceSpecification) String() string { |
| 333 |
return protoimpl.X.MessageStringOf(x) |
| 334 |
} |
| 335 |
|
| 336 |
func (*ResourceSpecification) ProtoMessage() {} |
| 337 |
|
| 338 |
func (x *ResourceSpecification) ProtoReflect() protoreflect.Message { |
| 339 |
mi := &file_google_cloud_visionai_v1_lva_proto_msgTypes[1] |
| 340 |
if x != nil { |
| 341 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 342 |
if ms.LoadMessageInfo() == nil { |
| 343 |
ms.StoreMessageInfo(mi) |
| 344 |
} |
| 345 |
return ms |
| 346 |
} |
| 347 |
return mi.MessageOf(x) |
| 348 |
} |
| 349 |
|
| 350 |
// Deprecated: Use ResourceSpecification.ProtoReflect.Descriptor instead. |
| 351 |
func (*ResourceSpecification) Descriptor() ([]byte, []int) { |
| 352 |
return file_google_cloud_visionai_v1_lva_proto_rawDescGZIP(), []int{1} |
| 353 |
} |
| 354 |
|
| 355 |
func (x *ResourceSpecification) GetCpu() string { |
| 356 |
if x != nil { |
| 357 |
return x.Cpu |
| 358 |
} |
| 359 |
return "" |
| 360 |
} |
| 361 |
|
| 362 |
func (x *ResourceSpecification) GetCpuLimits() string { |
| 363 |
if x != nil { |
| 364 |
return x.CpuLimits |
| 365 |
} |
| 366 |
return "" |
| 367 |
} |
| 368 |
|
| 369 |
func (x *ResourceSpecification) GetMemory() string { |
| 370 |
if x != nil { |
| 371 |
return x.Memory |
| 372 |
} |
| 373 |
return "" |
| 374 |
} |
| 375 |
|
| 376 |
func (x *ResourceSpecification) GetMemoryLimits() string { |
| 377 |
if x != nil { |
| 378 |
return x.MemoryLimits |
| 379 |
} |
| 380 |
return "" |
| 381 |
} |
| 382 |
|
| 383 |
func (x *ResourceSpecification) GetGpus() int32 { |
| 384 |
if x != nil { |
| 385 |
return x.Gpus |
| 386 |
} |
| 387 |
return 0 |
| 388 |
} |
| 389 |
|
| 390 |
func (x *ResourceSpecification) GetLatencyBudgetMs() int32 { |
| 391 |
if x != nil { |
| 392 |
return x.LatencyBudgetMs |
| 393 |
} |
| 394 |
return 0 |
| 395 |
} |
| 396 |
|
| 397 |
// Represents an actual value of an operator attribute. |
| 398 |
type AttributeValue struct { |
| 399 |
state protoimpl.MessageState |
| 400 |
sizeCache protoimpl.SizeCache |
| 401 |
unknownFields protoimpl.UnknownFields |
| 402 |
|
| 403 |
// Attribute value. |
| 404 |
// |
| 405 |
// Types that are assignable to Value: |
| 406 |
// |
| 407 |
// *AttributeValue_I |
| 408 |
// *AttributeValue_F |
| 409 |
// *AttributeValue_B |
| 410 |
// *AttributeValue_S |
| 411 |
Value isAttributeValue_Value `protobuf_oneof:"value"` |
| 412 |
} |
| 413 |
|
| 414 |
func (x *AttributeValue) Reset() { |
| 415 |
*x = AttributeValue{} |
| 416 |
mi := &file_google_cloud_visionai_v1_lva_proto_msgTypes[2] |
| 417 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 418 |
ms.StoreMessageInfo(mi) |
| 419 |
} |
| 420 |
|
| 421 |
func (x *AttributeValue) String() string { |
| 422 |
return protoimpl.X.MessageStringOf(x) |
| 423 |
} |
| 424 |
|
| 425 |
func (*AttributeValue) ProtoMessage() {} |
| 426 |
|
| 427 |
func (x *AttributeValue) ProtoReflect() protoreflect.Message { |
| 428 |
mi := &file_google_cloud_visionai_v1_lva_proto_msgTypes[2] |
| 429 |
if x != nil { |
| 430 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 431 |
if ms.LoadMessageInfo() == nil { |
| 432 |
ms.StoreMessageInfo(mi) |
| 433 |
} |
| 434 |
return ms |
| 435 |
} |
| 436 |
return mi.MessageOf(x) |
| 437 |
} |
| 438 |
|
| 439 |
// Deprecated: Use AttributeValue.ProtoReflect.Descriptor instead. |
| 440 |
func (*AttributeValue) Descriptor() ([]byte, []int) { |
| 441 |
return file_google_cloud_visionai_v1_lva_proto_rawDescGZIP(), []int{2} |
| 442 |
} |
| 443 |
|
| 444 |
func (m *AttributeValue) GetValue() isAttributeValue_Value { |
| 445 |
if m != nil { |
| 446 |
return m.Value |
| 447 |
} |
| 448 |
return nil |
| 449 |
} |
| 450 |
|
| 451 |
func (x *AttributeValue) GetI() int64 { |
| 452 |
if x, ok := x.GetValue().(*AttributeValue_I); ok { |
| 453 |
return x.I |
| 454 |
} |
| 455 |
return 0 |
| 456 |
} |
| 457 |
|
| 458 |
func (x *AttributeValue) GetF() float32 { |
| 459 |
if x, ok := x.GetValue().(*AttributeValue_F); ok { |
| 460 |
return x.F |
| 461 |
} |
| 462 |
return 0 |
| 463 |
} |
| 464 |
|
| 465 |
func (x *AttributeValue) GetB() bool { |
| 466 |
if x, ok := x.GetValue().(*AttributeValue_B); ok { |
| 467 |
return x.B |
| 468 |
} |
| 469 |
return false |
| 470 |
} |
| 471 |
|
| 472 |
func (x *AttributeValue) GetS() []byte { |
| 473 |
if x, ok := x.GetValue().(*AttributeValue_S); ok { |
| 474 |
return x.S |
| 475 |
} |
| 476 |
return nil |
| 477 |
} |
| 478 |
|
| 479 |
type isAttributeValue_Value interface { |
| 480 |
isAttributeValue_Value() |
| 481 |
} |
| 482 |
|
| 483 |
type AttributeValue_I struct { |
| 484 |
// int. |
| 485 |
I int64 `protobuf:"varint,1,opt,name=i,proto3,oneof"` |
| 486 |
} |
| 487 |
|
| 488 |
type AttributeValue_F struct { |
| 489 |
// float. |
| 490 |
F float32 `protobuf:"fixed32,2,opt,name=f,proto3,oneof"` |
| 491 |
} |
| 492 |
|
| 493 |
type AttributeValue_B struct { |
| 494 |
// bool. |
| 495 |
B bool `protobuf:"varint,3,opt,name=b,proto3,oneof"` |
| 496 |
} |
| 497 |
|
| 498 |
type AttributeValue_S struct { |
| 499 |
// string. |
| 500 |
S []byte `protobuf:"bytes,4,opt,name=s,proto3,oneof"` |
| 501 |
} |
| 502 |
|
| 503 |
func (*AttributeValue_I) isAttributeValue_Value() {} |
| 504 |
|
| 505 |
func (*AttributeValue_F) isAttributeValue_Value() {} |
| 506 |
|
| 507 |
func (*AttributeValue_B) isAttributeValue_Value() {} |
| 508 |
|
| 509 |
func (*AttributeValue_S) isAttributeValue_Value() {} |
| 510 |
|
| 511 |
// Defines an Analyzer. |
| 512 |
// |
| 513 |
// An analyzer processes data from its input streams using the logic defined in |
| 514 |
// the Operator that it represents. Of course, it produces data for the output |
| 515 |
// streams declared in the Operator. |
| 516 |
type AnalyzerDefinition struct { |
| 517 |
state protoimpl.MessageState |
| 518 |
sizeCache protoimpl.SizeCache |
| 519 |
unknownFields protoimpl.UnknownFields |
| 520 |
|
| 521 |
// The name of this analyzer. |
| 522 |
// |
| 523 |
// Tentatively [a-z][a-z0-9]*(_[a-z0-9]+)*. |
| 524 |
Analyzer string `protobuf:"bytes,1,opt,name=analyzer,proto3" json:"analyzer,omitempty"` |
| 525 |
// The name of the operator that this analyzer runs. |
| 526 |
// |
| 527 |
// Must match the name of a supported operator. |
| 528 |
Operator string `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"` |
| 529 |
// Input streams. |
| 530 |
Inputs []*AnalyzerDefinition_StreamInput `protobuf:"bytes,3,rep,name=inputs,proto3" json:"inputs,omitempty"` |
| 531 |
// The attribute values that this analyzer applies to the operator. |
| 532 |
// |
| 533 |
// Supply a mapping between the attribute names and the actual value you wish |
| 534 |
// to apply. If an attribute name is omitted, then it will take a |
| 535 |
// preconfigured default value. |
| 536 |
Attrs map[string]*AttributeValue `protobuf:"bytes,4,rep,name=attrs,proto3" json:"attrs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 537 |
// Debug options. |
| 538 |
DebugOptions *AnalyzerDefinition_DebugOptions `protobuf:"bytes,5,opt,name=debug_options,json=debugOptions,proto3" json:"debug_options,omitempty"` |
| 539 |
// Operator option. |
| 540 |
OperatorOption *AnalyzerDefinition_OperatorOption `protobuf:"bytes,6,opt,name=operator_option,json=operatorOption,proto3" json:"operator_option,omitempty"` |
| 541 |
} |
| 542 |
|
| 543 |
func (x *AnalyzerDefinition) Reset() { |
| 544 |
*x = AnalyzerDefinition{} |
| 545 |
mi := &file_google_cloud_visionai_v1_lva_proto_msgTypes[3] |
| 546 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 547 |
ms.StoreMessageInfo(mi) |
| 548 |
} |
| 549 |
|
| 550 |
func (x *AnalyzerDefinition) String() string { |
| 551 |
return protoimpl.X.MessageStringOf(x) |
| 552 |
} |
| 553 |
|
| 554 |
func (*AnalyzerDefinition) ProtoMessage() {} |
| 555 |
|
| 556 |
func (x *AnalyzerDefinition) ProtoReflect() protoreflect.Message { |
| 557 |
mi := &file_google_cloud_visionai_v1_lva_proto_msgTypes[3] |
| 558 |
if x != nil { |
| 559 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 560 |
if ms.LoadMessageInfo() == nil { |
| 561 |
ms.StoreMessageInfo(mi) |
| 562 |
} |
| 563 |
return ms |
| 564 |
} |
| 565 |
return mi.MessageOf(x) |
| 566 |
} |
| 567 |
|
| 568 |
// Deprecated: Use AnalyzerDefinition.ProtoReflect.Descriptor instead. |
| 569 |
func (*AnalyzerDefinition) Descriptor() ([]byte, []int) { |
| 570 |
return file_google_cloud_visionai_v1_lva_proto_rawDescGZIP(), []int{3} |
| 571 |
} |
| 572 |
|
| 573 |
func (x *AnalyzerDefinition) GetAnalyzer() string { |
| 574 |
if x != nil { |
| 575 |
return x.Analyzer |
| 576 |
} |
| 577 |
return "" |
| 578 |
} |
| 579 |
|
| 580 |
func (x *AnalyzerDefinition) GetOperator() string { |
| 581 |
if x != nil { |
| 582 |
return x.Operator |
| 583 |
} |
| 584 |
return "" |
| 585 |
} |
| 586 |
|
| 587 |
func (x *AnalyzerDefinition) GetInputs() []*AnalyzerDefinition_StreamInput { |
| 588 |
if x != nil { |
| 589 |
return x.Inputs |
| 590 |
} |
| 591 |
return nil |
| 592 |
} |
| 593 |
|
| 594 |
func (x *AnalyzerDefinition) GetAttrs() map[string]*AttributeValue { |
| 595 |
if x != nil { |
| 596 |
return x.Attrs |
| 597 |
} |
| 598 |
return nil |
| 599 |
} |
| 600 |
|
| 601 |
func (x *AnalyzerDefinition) GetDebugOptions() *AnalyzerDefinition_DebugOptions { |
| 602 |
if x != nil { |
| 603 |
return x.DebugOptions |
| 604 |
} |
| 605 |
return nil |
| 606 |
} |
| 607 |
|
| 608 |
func (x *AnalyzerDefinition) GetOperatorOption() *AnalyzerDefinition_OperatorOption { |
| 609 |
if x != nil { |
| 610 |
return x.OperatorOption |
| 611 |
} |
| 612 |
return nil |
| 613 |
} |
| 614 |
|
| 615 |
// Defines a full analysis. |
| 616 |
// |
| 617 |
// This is a description of the overall live analytics pipeline. |
| 618 |
// You may think of this as an edge list representation of a multigraph. |
| 619 |
// |
| 620 |
// This may be directly authored by a human in protobuf textformat, or it may be |
| 621 |
// generated by a programming API (perhaps Python or JavaScript depending on |
| 622 |
// context). |
| 623 |
type AnalysisDefinition struct { |
| 624 |
state protoimpl.MessageState |
| 625 |
sizeCache protoimpl.SizeCache |
| 626 |
unknownFields protoimpl.UnknownFields |
| 627 |
|
| 628 |
// Analyzer definitions. |
| 629 |
Analyzers []*AnalyzerDefinition `protobuf:"bytes,1,rep,name=analyzers,proto3" json:"analyzers,omitempty"` |
| 630 |
} |
| 631 |
|
| 632 |
func (x *AnalysisDefinition) Reset() { |
| 633 |
*x = AnalysisDefinition{} |
| 634 |
mi := &file_google_cloud_visionai_v1_lva_proto_msgTypes[4] |
| 635 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 636 |
ms.StoreMessageInfo(mi) |
| 637 |
} |
| 638 |
|
| 639 |
func (x *AnalysisDefinition) String() string { |
| 640 |
return protoimpl.X.MessageStringOf(x) |
| 641 |
} |
| 642 |
|
| 643 |
func (*AnalysisDefinition) ProtoMessage() {} |
| 644 |
|
| 645 |
func (x *AnalysisDefinition) ProtoReflect() protoreflect.Message { |
| 646 |
mi := &file_google_cloud_visionai_v1_lva_proto_msgTypes[4] |
| 647 |
if x != nil { |
| 648 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 649 |
if ms.LoadMessageInfo() == nil { |
| 650 |
ms.StoreMessageInfo(mi) |
| 651 |
} |
| 652 |
return ms |
| 653 |
} |
| 654 |
return mi.MessageOf(x) |
| 655 |
} |
| 656 |
|
| 657 |
// Deprecated: Use AnalysisDefinition.ProtoReflect.Descriptor instead. |
| 658 |
func (*AnalysisDefinition) Descriptor() ([]byte, []int) { |
| 659 |
return file_google_cloud_visionai_v1_lva_proto_rawDescGZIP(), []int{4} |
| 660 |
} |
| 661 |
|
| 662 |
func (x *AnalysisDefinition) GetAnalyzers() []*AnalyzerDefinition { |
| 663 |
if x != nil { |
| 664 |
return x.Analyzers |
| 665 |
} |
| 666 |
return nil |
| 667 |
} |
| 668 |
|
| 669 |
// Message describing the status of the Process. |
| 670 |
type RunStatus struct { |
| 671 |
state protoimpl.MessageState |
| 672 |
sizeCache protoimpl.SizeCache |
| 673 |
unknownFields protoimpl.UnknownFields |
| 674 |
|
| 675 |
// The state of the Process. |
| 676 |
State RunStatus_State `protobuf:"varint,1,opt,name=state,proto3,enum=google.cloud.visionai.v1.RunStatus_State" json:"state,omitempty"` |
| 677 |
// The reason of becoming the state. |
| 678 |
Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` |
| 679 |
} |
| 680 |
|
| 681 |
func (x *RunStatus) Reset() { |
| 682 |
*x = RunStatus{} |
| 683 |
mi := &file_google_cloud_visionai_v1_lva_proto_msgTypes[5] |
| 684 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 685 |
ms.StoreMessageInfo(mi) |
| 686 |
} |
| 687 |
|
| 688 |
func (x *RunStatus) String() string { |
| 689 |
return protoimpl.X.MessageStringOf(x) |
| 690 |
} |
| 691 |
|
| 692 |
func (*RunStatus) ProtoMessage() {} |
| 693 |
|
| 694 |
func (x *RunStatus) ProtoReflect() protoreflect.Message { |
| 695 |
mi := &file_google_cloud_visionai_v1_lva_proto_msgTypes[5] |
| 696 |
if x != nil { |
| 697 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 698 |
if ms.LoadMessageInfo() == nil { |
| 699 |
ms.StoreMessageInfo(mi) |
| 700 |
} |
| 701 |
return ms |
| 702 |
} |
| 703 |
return mi.MessageOf(x) |
| 704 |
} |
| 705 |
|
| 706 |
// Deprecated: Use RunStatus.ProtoReflect.Descriptor instead. |
| 707 |
func (*RunStatus) Descriptor() ([]byte, []int) { |
| 708 |
return file_google_cloud_visionai_v1_lva_proto_rawDescGZIP(), []int{5} |
| 709 |
} |
| 710 |
|
| 711 |
func (x *RunStatus) GetState() RunStatus_State { |
| 712 |
if x != nil { |
| 713 |
return x.State |
| 714 |
} |
| 715 |
return RunStatus_STATE_UNSPECIFIED |
| 716 |
} |
| 717 |
|
| 718 |
func (x *RunStatus) GetReason() string { |
| 719 |
if x != nil { |
| 720 |
return x.Reason |
| 721 |
} |
| 722 |
return "" |
| 723 |
} |
| 724 |
|
| 725 |
// Defines an argument to an operator. |
| 726 |
// |
| 727 |
// Used for both inputs and outputs. |
| 728 |
type OperatorDefinition_ArgumentDefinition struct { |
| 729 |
state protoimpl.MessageState |
| 730 |
sizeCache protoimpl.SizeCache |
| 731 |
unknownFields protoimpl.UnknownFields |
| 732 |
|
| 733 |
// The name of the argument. |
| 734 |
// |
| 735 |
// Tentatively [a-z]([_a-z0-9]*[a-z0-9])?, e.g., video, audio, |
| 736 |
// high_fps_frame. |
| 737 |
Argument string `protobuf:"bytes,1,opt,name=argument,proto3" json:"argument,omitempty"` |
| 738 |
// The data type of the argument. |
| 739 |
// |
| 740 |
// This should match the textual representation of a stream/Packet type. |
| 741 |
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` |
| 742 |
} |
| 743 |
|
| 744 |
func (x *OperatorDefinition_ArgumentDefinition) Reset() { |
| 745 |
*x = OperatorDefinition_ArgumentDefinition{} |
| 746 |
mi := &file_google_cloud_visionai_v1_lva_proto_msgTypes[6] |
| 747 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 748 |
ms.StoreMessageInfo(mi) |
| 749 |
} |
| 750 |
|
| 751 |
func (x *OperatorDefinition_ArgumentDefinition) String() string { |
| 752 |
return protoimpl.X.MessageStringOf(x) |
| 753 |
} |
| 754 |
|
| 755 |
func (*OperatorDefinition_ArgumentDefinition) ProtoMessage() {} |
| 756 |
|
| 757 |
func (x *OperatorDefinition_ArgumentDefinition) ProtoReflect() protoreflect.Message { |
| 758 |
mi := &file_google_cloud_visionai_v1_lva_proto_msgTypes[6] |
| 759 |
if x != nil { |
| 760 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 761 |
if ms.LoadMessageInfo() == nil { |
| 762 |
ms.StoreMessageInfo(mi) |
| 763 |
} |
| 764 |
return ms |
| 765 |
} |
| 766 |
return mi.MessageOf(x) |
| 767 |
} |
| 768 |
|
| 769 |
// Deprecated: Use OperatorDefinition_ArgumentDefinition.ProtoReflect.Descriptor instead. |
| 770 |
func (*OperatorDefinition_ArgumentDefinition) Descriptor() ([]byte, []int) { |
| 771 |
return file_google_cloud_visionai_v1_lva_proto_rawDescGZIP(), []int{0, 0} |
| 772 |
} |
| 773 |
|
| 774 |
func (x *OperatorDefinition_ArgumentDefinition) GetArgument() string { |
| 775 |
if x != nil { |
| 776 |
return x.Argument |
| 777 |
} |
| 778 |
return "" |
| 779 |
} |
| 780 |
|
| 781 |
func (x *OperatorDefinition_ArgumentDefinition) GetType() string { |
| 782 |
if x != nil { |
| 783 |
return x.Type |
| 784 |
} |
| 785 |
return "" |
| 786 |
} |
| 787 |
|
| 788 |
// Defines an attribute of an operator. |
| 789 |
type OperatorDefinition_AttributeDefinition struct { |
| 790 |
state protoimpl.MessageState |
| 791 |
sizeCache protoimpl.SizeCache |
| 792 |
unknownFields protoimpl.UnknownFields |
| 793 |
|
| 794 |
// The name of the attribute. |
| 795 |
// |
| 796 |
// Tentatively [a-z]([_a-z0-9]*[a-z0-9])?, e.g., max_frames_per_video, |
| 797 |
// resize_height. |
| 798 |
Attribute string `protobuf:"bytes,1,opt,name=attribute,proto3" json:"attribute,omitempty"` |
| 799 |
// The type of this attribute. |
| 800 |
// |
| 801 |
// See attribute_value.proto for possibilities. |
| 802 |
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` |
| 803 |
// The default value for the attribute. |
| 804 |
DefaultValue *AttributeValue `protobuf:"bytes,3,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"` |
| 805 |
} |
| 806 |
|
| 807 |
func (x *OperatorDefinition_AttributeDefinition) Reset() { |
| 808 |
*x = OperatorDefinition_AttributeDefinition{} |
| 809 |
mi := &file_google_cloud_visionai_v1_lva_proto_msgTypes[7] |
| 810 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 811 |
ms.StoreMessageInfo(mi) |
| 812 |
} |
| 813 |
|
| 814 |
func (x *OperatorDefinition_AttributeDefinition) String() string { |
| 815 |
return protoimpl.X.MessageStringOf(x) |
| 816 |
} |
| 817 |
|
| 818 |
func (*OperatorDefinition_AttributeDefinition) ProtoMessage() {} |
| 819 |
|
| 820 |
func (x *OperatorDefinition_AttributeDefinition) ProtoReflect() protoreflect.Message { |
| 821 |
mi := &file_google_cloud_visionai_v1_lva_proto_msgTypes[7] |
| 822 |
if x != nil { |
| 823 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 824 |
if ms.LoadMessageInfo() == nil { |
| 825 |
ms.StoreMessageInfo(mi) |
| 826 |
} |
| 827 |
return ms |
| 828 |
} |
| 829 |
return mi.MessageOf(x) |
| 830 |
} |
| 831 |
|
| 832 |
// Deprecated: Use OperatorDefinition_AttributeDefinition.ProtoReflect.Descriptor instead. |
| 833 |
func (*OperatorDefinition_AttributeDefinition) Descriptor() ([]byte, []int) { |
| 834 |
return file_google_cloud_visionai_v1_lva_proto_rawDescGZIP(), []int{0, 1} |
| 835 |
} |
| 836 |
|
| 837 |
func (x *OperatorDefinition_AttributeDefinition) GetAttribute() string { |
| 838 |
if x != nil { |
| 839 |
return x.Attribute |
| 840 |
} |
| 841 |
return "" |
| 842 |
} |
| 843 |
|
| 844 |
func (x *OperatorDefinition_AttributeDefinition) GetType() string { |
| 845 |
if x != nil { |
| 846 |
return x.Type |
| 847 |
} |
| 848 |
return "" |
| 849 |
} |
| 850 |
|
| 851 |
func (x *OperatorDefinition_AttributeDefinition) GetDefaultValue() *AttributeValue { |
| 852 |
if x != nil { |
| 853 |
return x.DefaultValue |
| 854 |
} |
| 855 |
return nil |
| 856 |
} |
| 857 |
|
| 858 |
// The inputs to this analyzer. |
| 859 |
// |
| 860 |
// We accept input name references of the following form: |
| 861 |
// <analyzer-name>:<output-argument-name> |
| 862 |
// |
| 863 |
// Example: |
| 864 |
// |
| 865 |
// Suppose you had an operator named "SomeOp" that has 2 output |
| 866 |
// arguments, the first of which is named "foo" and the second of which is |
| 867 |
// named "bar", and an operator named "MyOp" that accepts 2 inputs. |
| 868 |
// |
| 869 |
// Also suppose that there is an analyzer named "some-analyzer" that is |
| 870 |
// running "SomeOp" and another analyzer named "my-analyzer" running "MyOp". |
| 871 |
// |
| 872 |
// To indicate that "my-analyzer" is to consume "some-analyzer"'s "foo" |
| 873 |
// output as its first input and "some-analyzer"'s "bar" output as its |
| 874 |
// second input, you can set this field to the following: |
| 875 |
// input = ["some-analyzer:foo", "some-analyzer:bar"] |
| 876 |
type AnalyzerDefinition_StreamInput struct { |
| 877 |
state protoimpl.MessageState |
| 878 |
sizeCache protoimpl.SizeCache |
| 879 |
unknownFields protoimpl.UnknownFields |
| 880 |
|
| 881 |
// The name of the stream input (as discussed above). |
| 882 |
Input string `protobuf:"bytes,1,opt,name=input,proto3" json:"input,omitempty"` |
| 883 |
} |
| 884 |
|
| 885 |
func (x *AnalyzerDefinition_StreamInput) Reset() { |
| 886 |
*x = AnalyzerDefinition_StreamInput{} |
| 887 |
mi := &file_google_cloud_visionai_v1_lva_proto_msgTypes[8] |
| 888 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 889 |
ms.StoreMessageInfo(mi) |
| 890 |
} |
| 891 |
|
| 892 |
func (x *AnalyzerDefinition_StreamInput) String() string { |
| 893 |
return protoimpl.X.MessageStringOf(x) |
| 894 |
} |
| 895 |
|
| 896 |
func (*AnalyzerDefinition_StreamInput) ProtoMessage() {} |
| 897 |
|
| 898 |
func (x *AnalyzerDefinition_StreamInput) ProtoReflect() protoreflect.Message { |
| 899 |
mi := &file_google_cloud_visionai_v1_lva_proto_msgTypes[8] |
| 900 |
if x != nil { |
| 901 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 902 |
if ms.LoadMessageInfo() == nil { |
| 903 |
ms.StoreMessageInfo(mi) |
| 904 |
} |
| 905 |
return ms |
| 906 |
} |
| 907 |
return mi.MessageOf(x) |
| 908 |
} |
| 909 |
|
| 910 |
// Deprecated: Use AnalyzerDefinition_StreamInput.ProtoReflect.Descriptor instead. |
| 911 |
func (*AnalyzerDefinition_StreamInput) Descriptor() ([]byte, []int) { |
| 912 |
return file_google_cloud_visionai_v1_lva_proto_rawDescGZIP(), []int{3, 0} |
| 913 |
} |
| 914 |
|
| 915 |
func (x *AnalyzerDefinition_StreamInput) GetInput() string { |
| 916 |
if x != nil { |
| 917 |
return x.Input |
| 918 |
} |
| 919 |
return "" |
| 920 |
} |
| 921 |
|
| 922 |
// Options available for debugging purposes only. |
| 923 |
type AnalyzerDefinition_DebugOptions struct { |
| 924 |
state protoimpl.MessageState |
| 925 |
sizeCache protoimpl.SizeCache |
| 926 |
unknownFields protoimpl.UnknownFields |
| 927 |
|
| 928 |
// Environment variables. |
| 929 |
EnvironmentVariables map[string]string `protobuf:"bytes,1,rep,name=environment_variables,json=environmentVariables,proto3" json:"environment_variables,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 930 |
} |
| 931 |
|
| 932 |
func (x *AnalyzerDefinition_DebugOptions) Reset() { |
| 933 |
*x = AnalyzerDefinition_DebugOptions{} |
| 934 |
mi := &file_google_cloud_visionai_v1_lva_proto_msgTypes[9] |
| 935 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 936 |
ms.StoreMessageInfo(mi) |
| 937 |
} |
| 938 |
|
| 939 |
func (x *AnalyzerDefinition_DebugOptions) String() string { |
| 940 |
return protoimpl.X.MessageStringOf(x) |
| 941 |
} |
| 942 |
|
| 943 |
func (*AnalyzerDefinition_DebugOptions) ProtoMessage() {} |
| 944 |
|
| 945 |
func (x *AnalyzerDefinition_DebugOptions) ProtoReflect() protoreflect.Message { |
| 946 |
mi := &file_google_cloud_visionai_v1_lva_proto_msgTypes[9] |
| 947 |
if x != nil { |
| 948 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 949 |
if ms.LoadMessageInfo() == nil { |
| 950 |
ms.StoreMessageInfo(mi) |
| 951 |
} |
| 952 |
return ms |
| 953 |
} |
| 954 |
return mi.MessageOf(x) |
| 955 |
} |
| 956 |
|
| 957 |
// Deprecated: Use AnalyzerDefinition_DebugOptions.ProtoReflect.Descriptor instead. |
| 958 |
func (*AnalyzerDefinition_DebugOptions) Descriptor() ([]byte, []int) { |
| 959 |
return file_google_cloud_visionai_v1_lva_proto_rawDescGZIP(), []int{3, 1} |
| 960 |
} |
| 961 |
|
| 962 |
func (x *AnalyzerDefinition_DebugOptions) GetEnvironmentVariables() map[string]string { |
| 963 |
if x != nil { |
| 964 |
return x.EnvironmentVariables |
| 965 |
} |
| 966 |
return nil |
| 967 |
} |
| 968 |
|
| 969 |
// Option related to the operator. |
| 970 |
type AnalyzerDefinition_OperatorOption struct { |
| 971 |
state protoimpl.MessageState |
| 972 |
sizeCache protoimpl.SizeCache |
| 973 |
unknownFields protoimpl.UnknownFields |
| 974 |
|
| 975 |
// Tag of the operator. |
| 976 |
Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"` |
| 977 |
// Registry of the operator. e.g. public, dev. |
| 978 |
Registry string `protobuf:"bytes,2,opt,name=registry,proto3" json:"registry,omitempty"` |
| 979 |
} |
| 980 |
|
| 981 |
func (x *AnalyzerDefinition_OperatorOption) Reset() { |
| 982 |
*x = AnalyzerDefinition_OperatorOption{} |
| 983 |
mi := &file_google_cloud_visionai_v1_lva_proto_msgTypes[10] |
| 984 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 985 |
ms.StoreMessageInfo(mi) |
| 986 |
} |
| 987 |
|
| 988 |
func (x *AnalyzerDefinition_OperatorOption) String() string { |
| 989 |
return protoimpl.X.MessageStringOf(x) |
| 990 |
} |
| 991 |
|
| 992 |
func (*AnalyzerDefinition_OperatorOption) ProtoMessage() {} |
| 993 |
|
| 994 |
func (x *AnalyzerDefinition_OperatorOption) ProtoReflect() protoreflect.Message { |
| 995 |
mi := &file_google_cloud_visionai_v1_lva_proto_msgTypes[10] |
| 996 |
if x != nil { |
| 997 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 998 |
if ms.LoadMessageInfo() == nil { |
| 999 |
ms.StoreMessageInfo(mi) |
| 1000 |
} |
| 1001 |
return ms |
| 1002 |
} |
| 1003 |
return mi.MessageOf(x) |
| 1004 |
} |
| 1005 |
|
| 1006 |
// Deprecated: Use AnalyzerDefinition_OperatorOption.ProtoReflect.Descriptor instead. |
| 1007 |
func (*AnalyzerDefinition_OperatorOption) Descriptor() ([]byte, []int) { |
| 1008 |
return file_google_cloud_visionai_v1_lva_proto_rawDescGZIP(), []int{3, 2} |
| 1009 |
} |
| 1010 |
|
| 1011 |
func (x *AnalyzerDefinition_OperatorOption) GetTag() string { |
| 1012 |
if x != nil { |
| 1013 |
return x.Tag |
| 1014 |
} |
| 1015 |
return "" |
| 1016 |
} |
| 1017 |
|
| 1018 |
func (x *AnalyzerDefinition_OperatorOption) GetRegistry() string { |
| 1019 |
if x != nil { |
| 1020 |
return x.Registry |
| 1021 |
} |
| 1022 |
return "" |
| 1023 |
} |
| 1024 |
|
| 1025 |
var File_google_cloud_visionai_v1_lva_proto protoreflect.FileDescriptor |
| 1026 |
|
| 1027 |
var file_google_cloud_visionai_v1_lva_proto_rawDesc = []byte{ |
| 1028 |
0x0a, 0x22, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x76, |
| 1029 |
0x69, 0x73, 0x69, 0x6f, 0x6e, 0x61, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x6c, 0x76, 0x61, 0x2e, 0x70, |
| 1030 |
0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, |
| 1031 |
0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x22, 0xd1, |
| 1032 |
0x05, 0x0a, 0x12, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x44, 0x65, 0x66, 0x69, 0x6e, |
| 1033 |
0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, |
| 1034 |
0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, |
| 1035 |
0x72, 0x12, 0x5e, 0x0a, 0x0a, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x61, 0x72, 0x67, 0x73, 0x18, |
| 1036 |
0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, |
| 1037 |
0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x61, 0x69, 0x2e, 0x76, 0x31, |
| 1038 |
0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, |
| 1039 |
0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x44, 0x65, 0x66, 0x69, |
| 1040 |
0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x41, 0x72, 0x67, |
| 1041 |
0x73, 0x12, 0x60, 0x0a, 0x0b, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x61, 0x72, 0x67, 0x73, |
| 1042 |
0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 1043 |
0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x61, 0x69, 0x2e, 0x76, |
| 1044 |
0x31, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, |
| 1045 |
0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x44, 0x65, 0x66, |
| 1046 |
0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x41, |
| 1047 |
0x72, 0x67, 0x73, 0x12, 0x60, 0x0a, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, |
| 1048 |
0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x40, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 1049 |
0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x61, 0x69, 0x2e, |
| 1050 |
0x76, 0x31, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x44, 0x65, 0x66, 0x69, 0x6e, |
| 1051 |
0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x44, |
| 1052 |
0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, |
| 1053 |
0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x4d, 0x0a, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, |
| 1054 |
0x65, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 1055 |
0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x61, 0x69, |
| 1056 |
0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x70, 0x65, 0x63, |
| 1057 |
0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, |
| 1058 |
0x72, 0x63, 0x65, 0x73, 0x12, 0x2b, 0x0a, 0x11, 0x73, 0x68, 0x6f, 0x72, 0x74, 0x5f, 0x64, 0x65, |
| 1059 |
0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, |
| 1060 |
0x10, 0x73, 0x68, 0x6f, 0x72, 0x74, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, |
| 1061 |
0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, |
| 1062 |
0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, |
| 1063 |
0x69, 0x6f, 0x6e, 0x1a, 0x44, 0x0a, 0x12, 0x41, 0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x44, |
| 1064 |
0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x61, 0x72, 0x67, |
| 1065 |
0x75, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x61, 0x72, 0x67, |
| 1066 |
0x75, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, |
| 1067 |
0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x1a, 0x96, 0x01, 0x0a, 0x13, 0x41, 0x74, |
| 1068 |
0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, |
| 1069 |
0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x18, 0x01, |
| 1070 |
0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x12, |
| 1071 |
0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, |
| 1072 |
0x79, 0x70, 0x65, 0x12, 0x4d, 0x0a, 0x0d, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x76, |
| 1073 |
0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, |
| 1074 |
0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, |
| 1075 |
0x61, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x56, |
| 1076 |
0x61, 0x6c, 0x75, 0x65, 0x52, 0x0c, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x56, 0x61, 0x6c, |
| 1077 |
0x75, 0x65, 0x22, 0xc5, 0x01, 0x0a, 0x15, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, |
| 1078 |
0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, |
| 1079 |
0x63, 0x70, 0x75, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x63, 0x70, 0x75, 0x12, 0x1d, |
| 1080 |
0x0a, 0x0a, 0x63, 0x70, 0x75, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x18, 0x05, 0x20, 0x01, |
| 1081 |
0x28, 0x09, 0x52, 0x09, 0x63, 0x70, 0x75, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x12, 0x16, 0x0a, |
| 1082 |
0x06, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, |
| 1083 |
0x65, 0x6d, 0x6f, 0x72, 0x79, 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x5f, |
| 1084 |
0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6d, 0x65, |
| 1085 |
0x6d, 0x6f, 0x72, 0x79, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x67, 0x70, |
| 1086 |
0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x67, 0x70, 0x75, 0x73, 0x12, 0x2a, |
| 1087 |
0x0a, 0x11, 0x6c, 0x61, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x5f, 0x62, 0x75, 0x64, 0x67, 0x65, 0x74, |
| 1088 |
0x5f, 0x6d, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x6c, 0x61, 0x74, 0x65, 0x6e, |
| 1089 |
0x63, 0x79, 0x42, 0x75, 0x64, 0x67, 0x65, 0x74, 0x4d, 0x73, 0x22, 0x59, 0x0a, 0x0e, 0x41, 0x74, |
| 1090 |
0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x0e, 0x0a, 0x01, |
| 1091 |
0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x01, 0x69, 0x12, 0x0e, 0x0a, 0x01, |
| 1092 |
0x66, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x48, 0x00, 0x52, 0x01, 0x66, 0x12, 0x0e, 0x0a, 0x01, |
| 1093 |
0x62, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x01, 0x62, 0x12, 0x0e, 0x0a, 0x01, |
| 1094 |
0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x01, 0x73, 0x42, 0x07, 0x0a, 0x05, |
| 1095 |
0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xe1, 0x06, 0x0a, 0x12, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x7a, |
| 1096 |
0x65, 0x72, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, |
| 1097 |
0x61, 0x6e, 0x61, 0x6c, 0x79, 0x7a, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, |
| 1098 |
0x61, 0x6e, 0x61, 0x6c, 0x79, 0x7a, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x70, 0x65, 0x72, |
| 1099 |
0x61, 0x74, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x70, 0x65, 0x72, |
| 1100 |
0x61, 0x74, 0x6f, 0x72, 0x12, 0x50, 0x0a, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x18, 0x03, |
| 1101 |
0x20, 0x03, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, |
| 1102 |
0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x2e, |
| 1103 |
0x41, 0x6e, 0x61, 0x6c, 0x79, 0x7a, 0x65, 0x72, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, |
| 1104 |
0x6f, 0x6e, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x52, 0x06, |
| 1105 |
0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x12, 0x4d, 0x0a, 0x05, 0x61, 0x74, 0x74, 0x72, 0x73, 0x18, |
| 1106 |
0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, |
| 1107 |
0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x61, 0x69, 0x2e, 0x76, 0x31, |
| 1108 |
0x2e, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x7a, 0x65, 0x72, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, |
| 1109 |
0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x74, 0x74, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, |
| 1110 |
0x61, 0x74, 0x74, 0x72, 0x73, 0x12, 0x5e, 0x0a, 0x0d, 0x64, 0x65, 0x62, 0x75, 0x67, 0x5f, 0x6f, |
| 1111 |
0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x67, |
| 1112 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, |
| 1113 |
0x6f, 0x6e, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x7a, 0x65, 0x72, |
| 1114 |
0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x44, 0x65, 0x62, 0x75, 0x67, |
| 1115 |
0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0c, 0x64, 0x65, 0x62, 0x75, 0x67, 0x4f, 0x70, |
| 1116 |
0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x64, 0x0a, 0x0f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, |
| 1117 |
0x72, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3b, |
| 1118 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, |
| 1119 |
0x73, 0x69, 0x6f, 0x6e, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x7a, |
| 1120 |
0x65, 0x72, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4f, 0x70, 0x65, |
| 1121 |
0x72, 0x61, 0x74, 0x6f, 0x72, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x6f, 0x70, 0x65, |
| 1122 |
0x72, 0x61, 0x74, 0x6f, 0x72, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x23, 0x0a, 0x0b, 0x53, |
| 1123 |
0x74, 0x72, 0x65, 0x61, 0x6d, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, |
| 1124 |
0x70, 0x75, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x69, 0x6e, 0x70, 0x75, 0x74, |
| 1125 |
0x1a, 0xe2, 0x01, 0x0a, 0x0c, 0x44, 0x65, 0x62, 0x75, 0x67, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, |
| 1126 |
0x73, 0x12, 0x88, 0x01, 0x0a, 0x15, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, |
| 1127 |
0x74, 0x5f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, |
| 1128 |
0x0b, 0x32, 0x53, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, |
| 1129 |
0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6e, 0x61, |
| 1130 |
0x6c, 0x79, 0x7a, 0x65, 0x72, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, |
| 1131 |
0x44, 0x65, 0x62, 0x75, 0x67, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x45, 0x6e, 0x76, |
| 1132 |
0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, |
| 1133 |
0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x14, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, |
| 1134 |
0x65, 0x6e, 0x74, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x1a, 0x47, 0x0a, 0x19, |
| 1135 |
0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x56, 0x61, 0x72, 0x69, 0x61, |
| 1136 |
0x62, 0x6c, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, |
| 1137 |
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, |
| 1138 |
0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, |
| 1139 |
0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x3e, 0x0a, 0x0e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, |
| 1140 |
0x72, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x61, 0x67, 0x18, 0x01, |
| 1141 |
0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x74, 0x61, 0x67, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x67, |
| 1142 |
0x69, 0x73, 0x74, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x67, |
| 1143 |
0x69, 0x73, 0x74, 0x72, 0x79, 0x1a, 0x62, 0x0a, 0x0a, 0x41, 0x74, 0x74, 0x72, 0x73, 0x45, 0x6e, |
| 1144 |
0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, |
| 1145 |
0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x3e, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, |
| 1146 |
0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, |
| 1147 |
0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x2e, |
| 1148 |
0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, |
| 1149 |
0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x60, 0x0a, 0x12, 0x41, 0x6e, 0x61, |
| 1150 |
0x6c, 0x79, 0x73, 0x69, 0x73, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, |
| 1151 |
0x4a, 0x0a, 0x09, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x7a, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, |
| 1152 |
0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, |
| 1153 |
0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6e, |
| 1154 |
0x61, 0x6c, 0x79, 0x7a, 0x65, 0x72, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, |
| 1155 |
0x52, 0x09, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x7a, 0x65, 0x72, 0x73, 0x22, 0xcb, 0x01, 0x0a, 0x09, |
| 1156 |
0x52, 0x75, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x3f, 0x0a, 0x05, 0x73, 0x74, 0x61, |
| 1157 |
0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 1158 |
0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x61, 0x69, |
| 1159 |
0x2e, 0x76, 0x31, 0x2e, 0x52, 0x75, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x53, 0x74, |
| 1160 |
0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, |
| 1161 |
0x61, 0x73, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, |
| 1162 |
0x6f, 0x6e, 0x22, 0x65, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53, |
| 1163 |
0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, |
| 1164 |
0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x49, 0x4e, 0x49, 0x54, 0x49, 0x41, 0x4c, 0x49, 0x5a, 0x49, |
| 1165 |
0x4e, 0x47, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x55, 0x4e, 0x4e, 0x49, 0x4e, 0x47, 0x10, |
| 1166 |
0x02, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x4f, 0x4d, 0x50, 0x4c, 0x45, 0x54, 0x45, 0x44, 0x10, 0x03, |
| 1167 |
0x12, 0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x04, 0x12, 0x0b, 0x0a, 0x07, |
| 1168 |
0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x05, 0x2a, 0x3d, 0x0a, 0x07, 0x52, 0x75, 0x6e, |
| 1169 |
0x4d, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x14, 0x52, 0x55, 0x4e, 0x5f, 0x4d, 0x4f, 0x44, 0x45, |
| 1170 |
0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x08, |
| 1171 |
0x0a, 0x04, 0x4c, 0x49, 0x56, 0x45, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x53, 0x55, 0x42, 0x4d, |
| 1172 |
0x49, 0x53, 0x53, 0x49, 0x4f, 0x4e, 0x10, 0x02, 0x42, 0xb8, 0x01, 0x0a, 0x1c, 0x63, 0x6f, 0x6d, |
| 1173 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, |
| 1174 |
0x73, 0x69, 0x6f, 0x6e, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x42, 0x08, 0x4c, 0x76, 0x61, 0x50, 0x72, |
| 1175 |
0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x38, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, |
| 1176 |
0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x76, 0x69, 0x73, 0x69, 0x6f, |
| 1177 |
0x6e, 0x61, 0x69, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, |
| 1178 |
0x61, 0x69, 0x70, 0x62, 0x3b, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x61, 0x69, 0x70, 0x62, 0xaa, |
| 1179 |
0x02, 0x18, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x56, |
| 1180 |
0x69, 0x73, 0x69, 0x6f, 0x6e, 0x41, 0x49, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x18, 0x47, 0x6f, 0x6f, |
| 1181 |
0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x56, 0x69, 0x73, 0x69, 0x6f, 0x6e, |
| 1182 |
0x41, 0x49, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x1b, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, |
| 1183 |
0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x56, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x41, 0x49, 0x3a, |
| 1184 |
0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 1185 |
} |
| 1186 |
|
| 1187 |
var ( |
| 1188 |
file_google_cloud_visionai_v1_lva_proto_rawDescOnce sync.Once |
| 1189 |
file_google_cloud_visionai_v1_lva_proto_rawDescData = file_google_cloud_visionai_v1_lva_proto_rawDesc |
| 1190 |
) |
| 1191 |
|
| 1192 |
func file_google_cloud_visionai_v1_lva_proto_rawDescGZIP() []byte { |
| 1193 |
file_google_cloud_visionai_v1_lva_proto_rawDescOnce.Do(func() { |
| 1194 |
file_google_cloud_visionai_v1_lva_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_visionai_v1_lva_proto_rawDescData) |
| 1195 |
}) |
| 1196 |
return file_google_cloud_visionai_v1_lva_proto_rawDescData |
| 1197 |
} |
| 1198 |
|
| 1199 |
var file_google_cloud_visionai_v1_lva_proto_enumTypes = make([]protoimpl.EnumInfo, 2) |
| 1200 |
var file_google_cloud_visionai_v1_lva_proto_msgTypes = make([]protoimpl.MessageInfo, 13) |
| 1201 |
var file_google_cloud_visionai_v1_lva_proto_goTypes = []any{ |
| 1202 |
(RunMode)(0), // 0: google.cloud.visionai.v1.RunMode |
| 1203 |
(RunStatus_State)(0), // 1: google.cloud.visionai.v1.RunStatus.State |
| 1204 |
(*OperatorDefinition)(nil), // 2: google.cloud.visionai.v1.OperatorDefinition |
| 1205 |
(*ResourceSpecification)(nil), // 3: google.cloud.visionai.v1.ResourceSpecification |
| 1206 |
(*AttributeValue)(nil), // 4: google.cloud.visionai.v1.AttributeValue |
| 1207 |
(*AnalyzerDefinition)(nil), // 5: google.cloud.visionai.v1.AnalyzerDefinition |
| 1208 |
(*AnalysisDefinition)(nil), // 6: google.cloud.visionai.v1.AnalysisDefinition |
| 1209 |
(*RunStatus)(nil), // 7: google.cloud.visionai.v1.RunStatus |
| 1210 |
(*OperatorDefinition_ArgumentDefinition)(nil), // 8: google.cloud.visionai.v1.OperatorDefinition.ArgumentDefinition |
| 1211 |
(*OperatorDefinition_AttributeDefinition)(nil), // 9: google.cloud.visionai.v1.OperatorDefinition.AttributeDefinition |
| 1212 |
(*AnalyzerDefinition_StreamInput)(nil), // 10: google.cloud.visionai.v1.AnalyzerDefinition.StreamInput |
| 1213 |
(*AnalyzerDefinition_DebugOptions)(nil), // 11: google.cloud.visionai.v1.AnalyzerDefinition.DebugOptions |
| 1214 |
(*AnalyzerDefinition_OperatorOption)(nil), // 12: google.cloud.visionai.v1.AnalyzerDefinition.OperatorOption |
| 1215 |
nil, // 13: google.cloud.visionai.v1.AnalyzerDefinition.AttrsEntry |
| 1216 |
nil, // 14: google.cloud.visionai.v1.AnalyzerDefinition.DebugOptions.EnvironmentVariablesEntry |
| 1217 |
} |
| 1218 |
var file_google_cloud_visionai_v1_lva_proto_depIdxs = []int32{ |
| 1219 |
8, // 0: google.cloud.visionai.v1.OperatorDefinition.input_args:type_name -> google.cloud.visionai.v1.OperatorDefinition.ArgumentDefinition |
| 1220 |
8, // 1: google.cloud.visionai.v1.OperatorDefinition.output_args:type_name -> google.cloud.visionai.v1.OperatorDefinition.ArgumentDefinition |
| 1221 |
9, // 2: google.cloud.visionai.v1.OperatorDefinition.attributes:type_name -> google.cloud.visionai.v1.OperatorDefinition.AttributeDefinition |
| 1222 |
3, // 3: google.cloud.visionai.v1.OperatorDefinition.resources:type_name -> google.cloud.visionai.v1.ResourceSpecification |
| 1223 |
10, // 4: google.cloud.visionai.v1.AnalyzerDefinition.inputs:type_name -> google.cloud.visionai.v1.AnalyzerDefinition.StreamInput |
| 1224 |
13, // 5: google.cloud.visionai.v1.AnalyzerDefinition.attrs:type_name -> google.cloud.visionai.v1.AnalyzerDefinition.AttrsEntry |
| 1225 |
11, // 6: google.cloud.visionai.v1.AnalyzerDefinition.debug_options:type_name -> google.cloud.visionai.v1.AnalyzerDefinition.DebugOptions |
| 1226 |
12, // 7: google.cloud.visionai.v1.AnalyzerDefinition.operator_option:type_name -> google.cloud.visionai.v1.AnalyzerDefinition.OperatorOption |
| 1227 |
5, // 8: google.cloud.visionai.v1.AnalysisDefinition.analyzers:type_name -> google.cloud.visionai.v1.AnalyzerDefinition |
| 1228 |
1, // 9: google.cloud.visionai.v1.RunStatus.state:type_name -> google.cloud.visionai.v1.RunStatus.State |
| 1229 |
4, // 10: google.cloud.visionai.v1.OperatorDefinition.AttributeDefinition.default_value:type_name -> google.cloud.visionai.v1.AttributeValue |
| 1230 |
14, // 11: google.cloud.visionai.v1.AnalyzerDefinition.DebugOptions.environment_variables:type_name -> google.cloud.visionai.v1.AnalyzerDefinition.DebugOptions.EnvironmentVariablesEntry |
| 1231 |
4, // 12: google.cloud.visionai.v1.AnalyzerDefinition.AttrsEntry.value:type_name -> google.cloud.visionai.v1.AttributeValue |
| 1232 |
13, // [13:13] is the sub-list for method output_type |
| 1233 |
13, // [13:13] is the sub-list for method input_type |
| 1234 |
13, // [13:13] is the sub-list for extension type_name |
| 1235 |
13, // [13:13] is the sub-list for extension extendee |
| 1236 |
0, // [0:13] is the sub-list for field type_name |
| 1237 |
} |
| 1238 |
|
| 1239 |
func init() { file_google_cloud_visionai_v1_lva_proto_init() } |
| 1240 |
func file_google_cloud_visionai_v1_lva_proto_init() { |
| 1241 |
if File_google_cloud_visionai_v1_lva_proto != nil { |
| 1242 |
return |
| 1243 |
} |
| 1244 |
file_google_cloud_visionai_v1_lva_proto_msgTypes[2].OneofWrappers = []any{ |
| 1245 |
(*AttributeValue_I)(nil), |
| 1246 |
(*AttributeValue_F)(nil), |
| 1247 |
(*AttributeValue_B)(nil), |
| 1248 |
(*AttributeValue_S)(nil), |
| 1249 |
} |
| 1250 |
type x struct{} |
| 1251 |
out := protoimpl.TypeBuilder{ |
| 1252 |
File: protoimpl.DescBuilder{ |
| 1253 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 1254 |
RawDescriptor: file_google_cloud_visionai_v1_lva_proto_rawDesc, |
| 1255 |
NumEnums: 2, |
| 1256 |
NumMessages: 13, |
| 1257 |
NumExtensions: 0, |
| 1258 |
NumServices: 0, |
| 1259 |
}, |
| 1260 |
GoTypes: file_google_cloud_visionai_v1_lva_proto_goTypes, |
| 1261 |
DependencyIndexes: file_google_cloud_visionai_v1_lva_proto_depIdxs, |
| 1262 |
EnumInfos: file_google_cloud_visionai_v1_lva_proto_enumTypes, |
| 1263 |
MessageInfos: file_google_cloud_visionai_v1_lva_proto_msgTypes, |
| 1264 |
}.Build() |
| 1265 |
File_google_cloud_visionai_v1_lva_proto = out.File |
| 1266 |
file_google_cloud_visionai_v1_lva_proto_rawDesc = nil |
| 1267 |
file_google_cloud_visionai_v1_lva_proto_goTypes = nil |
| 1268 |
file_google_cloud_visionai_v1_lva_proto_depIdxs = nil |
| 1269 |
} |