| 1 |
// Copyright 2022 Google LLC |
| 2 |
// |
| 3 |
// Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 |
// you may not use this file except in compliance with the License. |
| 5 |
// You may obtain a copy of the License at |
| 6 |
// |
| 7 |
// http://www.apache.org/licenses/LICENSE-2.0 |
| 8 |
// |
| 9 |
// Unless required by applicable law or agreed to in writing, software |
| 10 |
// distributed under the License is distributed on an "AS IS" BASIS, |
| 11 |
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 |
// See the License for the specific language governing permissions and |
| 13 |
// limitations under the License. |
| 14 |
|
| 15 |
// Code generated by protoc-gen-go. DO NOT EDIT. |
| 16 |
// versions: |
| 17 |
// protoc-gen-go v1.26.0 |
| 18 |
// protoc v3.12.2 |
| 19 |
// source: google/cloud/visionai/v1alpha1/lva.proto |
| 20 |
|
| 21 |
package visionai |
| 22 |
|
| 23 |
import ( |
| 24 |
reflect "reflect" |
| 25 |
sync "sync" |
| 26 |
|
| 27 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 28 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 29 |
) |
| 30 |
|
| 31 |
const ( |
| 32 |
// Verify that this generated code is sufficiently up-to-date. |
| 33 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 34 |
// Verify that runtime/protoimpl is sufficiently up-to-date. |
| 35 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 36 |
) |
| 37 |
|
| 38 |
// Represents an actual value of an operator attribute. |
| 39 |
type AttributeValue struct { |
| 40 |
state protoimpl.MessageState |
| 41 |
sizeCache protoimpl.SizeCache |
| 42 |
unknownFields protoimpl.UnknownFields |
| 43 |
|
| 44 |
// Attribute value. |
| 45 |
// |
| 46 |
// Types that are assignable to Value: |
| 47 |
// |
| 48 |
// *AttributeValue_I |
| 49 |
// *AttributeValue_F |
| 50 |
// *AttributeValue_B |
| 51 |
// *AttributeValue_S |
| 52 |
Value isAttributeValue_Value `protobuf_oneof:"value"` |
| 53 |
} |
| 54 |
|
| 55 |
func (x *AttributeValue) Reset() { |
| 56 |
*x = AttributeValue{} |
| 57 |
if protoimpl.UnsafeEnabled { |
| 58 |
mi := &file_google_cloud_visionai_v1alpha1_lva_proto_msgTypes[0] |
| 59 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 60 |
ms.StoreMessageInfo(mi) |
| 61 |
} |
| 62 |
} |
| 63 |
|
| 64 |
func (x *AttributeValue) String() string { |
| 65 |
return protoimpl.X.MessageStringOf(x) |
| 66 |
} |
| 67 |
|
| 68 |
func (*AttributeValue) ProtoMessage() {} |
| 69 |
|
| 70 |
func (x *AttributeValue) ProtoReflect() protoreflect.Message { |
| 71 |
mi := &file_google_cloud_visionai_v1alpha1_lva_proto_msgTypes[0] |
| 72 |
if protoimpl.UnsafeEnabled && x != nil { |
| 73 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 74 |
if ms.LoadMessageInfo() == nil { |
| 75 |
ms.StoreMessageInfo(mi) |
| 76 |
} |
| 77 |
return ms |
| 78 |
} |
| 79 |
return mi.MessageOf(x) |
| 80 |
} |
| 81 |
|
| 82 |
// Deprecated: Use AttributeValue.ProtoReflect.Descriptor instead. |
| 83 |
func (*AttributeValue) Descriptor() ([]byte, []int) { |
| 84 |
return file_google_cloud_visionai_v1alpha1_lva_proto_rawDescGZIP(), []int{0} |
| 85 |
} |
| 86 |
|
| 87 |
func (m *AttributeValue) GetValue() isAttributeValue_Value { |
| 88 |
if m != nil { |
| 89 |
return m.Value |
| 90 |
} |
| 91 |
return nil |
| 92 |
} |
| 93 |
|
| 94 |
func (x *AttributeValue) GetI() int64 { |
| 95 |
if x, ok := x.GetValue().(*AttributeValue_I); ok { |
| 96 |
return x.I |
| 97 |
} |
| 98 |
return 0 |
| 99 |
} |
| 100 |
|
| 101 |
func (x *AttributeValue) GetF() float32 { |
| 102 |
if x, ok := x.GetValue().(*AttributeValue_F); ok { |
| 103 |
return x.F |
| 104 |
} |
| 105 |
return 0 |
| 106 |
} |
| 107 |
|
| 108 |
func (x *AttributeValue) GetB() bool { |
| 109 |
if x, ok := x.GetValue().(*AttributeValue_B); ok { |
| 110 |
return x.B |
| 111 |
} |
| 112 |
return false |
| 113 |
} |
| 114 |
|
| 115 |
func (x *AttributeValue) GetS() []byte { |
| 116 |
if x, ok := x.GetValue().(*AttributeValue_S); ok { |
| 117 |
return x.S |
| 118 |
} |
| 119 |
return nil |
| 120 |
} |
| 121 |
|
| 122 |
type isAttributeValue_Value interface { |
| 123 |
isAttributeValue_Value() |
| 124 |
} |
| 125 |
|
| 126 |
type AttributeValue_I struct { |
| 127 |
// int. |
| 128 |
I int64 `protobuf:"varint,1,opt,name=i,proto3,oneof"` |
| 129 |
} |
| 130 |
|
| 131 |
type AttributeValue_F struct { |
| 132 |
// float. |
| 133 |
F float32 `protobuf:"fixed32,2,opt,name=f,proto3,oneof"` |
| 134 |
} |
| 135 |
|
| 136 |
type AttributeValue_B struct { |
| 137 |
// bool. |
| 138 |
B bool `protobuf:"varint,3,opt,name=b,proto3,oneof"` |
| 139 |
} |
| 140 |
|
| 141 |
type AttributeValue_S struct { |
| 142 |
// string. |
| 143 |
S []byte `protobuf:"bytes,4,opt,name=s,proto3,oneof"` |
| 144 |
} |
| 145 |
|
| 146 |
func (*AttributeValue_I) isAttributeValue_Value() {} |
| 147 |
|
| 148 |
func (*AttributeValue_F) isAttributeValue_Value() {} |
| 149 |
|
| 150 |
func (*AttributeValue_B) isAttributeValue_Value() {} |
| 151 |
|
| 152 |
func (*AttributeValue_S) isAttributeValue_Value() {} |
| 153 |
|
| 154 |
// Defines an Analyzer. |
| 155 |
// |
| 156 |
// An analyzer processes data from its input streams using the logic defined in |
| 157 |
// the Operator that it represents. Of course, it produces data for the output |
| 158 |
// streams declared in the Operator. |
| 159 |
type AnalyzerDefinition struct { |
| 160 |
state protoimpl.MessageState |
| 161 |
sizeCache protoimpl.SizeCache |
| 162 |
unknownFields protoimpl.UnknownFields |
| 163 |
|
| 164 |
// The name of this analyzer. |
| 165 |
// |
| 166 |
// Tentatively [a-z][a-z0-9]*(_[a-z0-9]+)*. |
| 167 |
Analyzer string `protobuf:"bytes,1,opt,name=analyzer,proto3" json:"analyzer,omitempty"` |
| 168 |
// The name of the operator that this analyzer runs. |
| 169 |
// |
| 170 |
// Must match the name of a supported operator. |
| 171 |
Operator string `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"` |
| 172 |
// Input streams. |
| 173 |
Inputs []*AnalyzerDefinition_StreamInput `protobuf:"bytes,3,rep,name=inputs,proto3" json:"inputs,omitempty"` |
| 174 |
// The attribute values that this analyzer applies to the operator. |
| 175 |
// |
| 176 |
// Supply a mapping between the attribute names and the actual value you wish |
| 177 |
// to apply. If an attribute name is omitted, then it will take a |
| 178 |
// preconfigured default value. |
| 179 |
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"` |
| 180 |
// Debug options. |
| 181 |
DebugOptions *AnalyzerDefinition_DebugOptions `protobuf:"bytes,5,opt,name=debug_options,json=debugOptions,proto3" json:"debug_options,omitempty"` |
| 182 |
} |
| 183 |
|
| 184 |
func (x *AnalyzerDefinition) Reset() { |
| 185 |
*x = AnalyzerDefinition{} |
| 186 |
if protoimpl.UnsafeEnabled { |
| 187 |
mi := &file_google_cloud_visionai_v1alpha1_lva_proto_msgTypes[1] |
| 188 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 189 |
ms.StoreMessageInfo(mi) |
| 190 |
} |
| 191 |
} |
| 192 |
|
| 193 |
func (x *AnalyzerDefinition) String() string { |
| 194 |
return protoimpl.X.MessageStringOf(x) |
| 195 |
} |
| 196 |
|
| 197 |
func (*AnalyzerDefinition) ProtoMessage() {} |
| 198 |
|
| 199 |
func (x *AnalyzerDefinition) ProtoReflect() protoreflect.Message { |
| 200 |
mi := &file_google_cloud_visionai_v1alpha1_lva_proto_msgTypes[1] |
| 201 |
if protoimpl.UnsafeEnabled && x != nil { |
| 202 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 203 |
if ms.LoadMessageInfo() == nil { |
| 204 |
ms.StoreMessageInfo(mi) |
| 205 |
} |
| 206 |
return ms |
| 207 |
} |
| 208 |
return mi.MessageOf(x) |
| 209 |
} |
| 210 |
|
| 211 |
// Deprecated: Use AnalyzerDefinition.ProtoReflect.Descriptor instead. |
| 212 |
func (*AnalyzerDefinition) Descriptor() ([]byte, []int) { |
| 213 |
return file_google_cloud_visionai_v1alpha1_lva_proto_rawDescGZIP(), []int{1} |
| 214 |
} |
| 215 |
|
| 216 |
func (x *AnalyzerDefinition) GetAnalyzer() string { |
| 217 |
if x != nil { |
| 218 |
return x.Analyzer |
| 219 |
} |
| 220 |
return "" |
| 221 |
} |
| 222 |
|
| 223 |
func (x *AnalyzerDefinition) GetOperator() string { |
| 224 |
if x != nil { |
| 225 |
return x.Operator |
| 226 |
} |
| 227 |
return "" |
| 228 |
} |
| 229 |
|
| 230 |
func (x *AnalyzerDefinition) GetInputs() []*AnalyzerDefinition_StreamInput { |
| 231 |
if x != nil { |
| 232 |
return x.Inputs |
| 233 |
} |
| 234 |
return nil |
| 235 |
} |
| 236 |
|
| 237 |
func (x *AnalyzerDefinition) GetAttrs() map[string]*AttributeValue { |
| 238 |
if x != nil { |
| 239 |
return x.Attrs |
| 240 |
} |
| 241 |
return nil |
| 242 |
} |
| 243 |
|
| 244 |
func (x *AnalyzerDefinition) GetDebugOptions() *AnalyzerDefinition_DebugOptions { |
| 245 |
if x != nil { |
| 246 |
return x.DebugOptions |
| 247 |
} |
| 248 |
return nil |
| 249 |
} |
| 250 |
|
| 251 |
// Defines a full analysis. |
| 252 |
// |
| 253 |
// This is a description of the overall live analytics pipeline. |
| 254 |
// You may think of this as an edge list representation of a multigraph. |
| 255 |
// |
| 256 |
// This may be directly authored by a human in protobuf textformat, or it may be |
| 257 |
// generated by a programming API (perhaps Python or JavaScript depending on |
| 258 |
// context). |
| 259 |
type AnalysisDefinition struct { |
| 260 |
state protoimpl.MessageState |
| 261 |
sizeCache protoimpl.SizeCache |
| 262 |
unknownFields protoimpl.UnknownFields |
| 263 |
|
| 264 |
// Analyzer definitions. |
| 265 |
Analyzers []*AnalyzerDefinition `protobuf:"bytes,1,rep,name=analyzers,proto3" json:"analyzers,omitempty"` |
| 266 |
} |
| 267 |
|
| 268 |
func (x *AnalysisDefinition) Reset() { |
| 269 |
*x = AnalysisDefinition{} |
| 270 |
if protoimpl.UnsafeEnabled { |
| 271 |
mi := &file_google_cloud_visionai_v1alpha1_lva_proto_msgTypes[2] |
| 272 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 273 |
ms.StoreMessageInfo(mi) |
| 274 |
} |
| 275 |
} |
| 276 |
|
| 277 |
func (x *AnalysisDefinition) String() string { |
| 278 |
return protoimpl.X.MessageStringOf(x) |
| 279 |
} |
| 280 |
|
| 281 |
func (*AnalysisDefinition) ProtoMessage() {} |
| 282 |
|
| 283 |
func (x *AnalysisDefinition) ProtoReflect() protoreflect.Message { |
| 284 |
mi := &file_google_cloud_visionai_v1alpha1_lva_proto_msgTypes[2] |
| 285 |
if protoimpl.UnsafeEnabled && x != nil { |
| 286 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 287 |
if ms.LoadMessageInfo() == nil { |
| 288 |
ms.StoreMessageInfo(mi) |
| 289 |
} |
| 290 |
return ms |
| 291 |
} |
| 292 |
return mi.MessageOf(x) |
| 293 |
} |
| 294 |
|
| 295 |
// Deprecated: Use AnalysisDefinition.ProtoReflect.Descriptor instead. |
| 296 |
func (*AnalysisDefinition) Descriptor() ([]byte, []int) { |
| 297 |
return file_google_cloud_visionai_v1alpha1_lva_proto_rawDescGZIP(), []int{2} |
| 298 |
} |
| 299 |
|
| 300 |
func (x *AnalysisDefinition) GetAnalyzers() []*AnalyzerDefinition { |
| 301 |
if x != nil { |
| 302 |
return x.Analyzers |
| 303 |
} |
| 304 |
return nil |
| 305 |
} |
| 306 |
|
| 307 |
// The inputs to this analyzer. |
| 308 |
// |
| 309 |
// We accept input name references of the following form: |
| 310 |
// <analyzer-name>:<output-argument-name> |
| 311 |
// |
| 312 |
// Example: |
| 313 |
// |
| 314 |
// Suppose you had an operator named "SomeOp" that has 2 output |
| 315 |
// arguments, the first of which is named "foo" and the second of which is |
| 316 |
// named "bar", and an operator named "MyOp" that accepts 2 inputs. |
| 317 |
// |
| 318 |
// Also suppose that there is an analyzer named "some-analyzer" that is |
| 319 |
// running "SomeOp" and another analyzer named "my-analyzer" running "MyOp". |
| 320 |
// |
| 321 |
// To indicate that "my-analyzer" is to consume "some-analyzer"'s "foo" |
| 322 |
// output as its first input and "some-analyzer"'s "bar" output as its |
| 323 |
// second input, you can set this field to the following: |
| 324 |
// input = ["some-analyzer:foo", "some-analyzer:bar"] |
| 325 |
type AnalyzerDefinition_StreamInput struct { |
| 326 |
state protoimpl.MessageState |
| 327 |
sizeCache protoimpl.SizeCache |
| 328 |
unknownFields protoimpl.UnknownFields |
| 329 |
|
| 330 |
// The name of the stream input (as discussed above). |
| 331 |
Input string `protobuf:"bytes,1,opt,name=input,proto3" json:"input,omitempty"` |
| 332 |
} |
| 333 |
|
| 334 |
func (x *AnalyzerDefinition_StreamInput) Reset() { |
| 335 |
*x = AnalyzerDefinition_StreamInput{} |
| 336 |
if protoimpl.UnsafeEnabled { |
| 337 |
mi := &file_google_cloud_visionai_v1alpha1_lva_proto_msgTypes[3] |
| 338 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 339 |
ms.StoreMessageInfo(mi) |
| 340 |
} |
| 341 |
} |
| 342 |
|
| 343 |
func (x *AnalyzerDefinition_StreamInput) String() string { |
| 344 |
return protoimpl.X.MessageStringOf(x) |
| 345 |
} |
| 346 |
|
| 347 |
func (*AnalyzerDefinition_StreamInput) ProtoMessage() {} |
| 348 |
|
| 349 |
func (x *AnalyzerDefinition_StreamInput) ProtoReflect() protoreflect.Message { |
| 350 |
mi := &file_google_cloud_visionai_v1alpha1_lva_proto_msgTypes[3] |
| 351 |
if protoimpl.UnsafeEnabled && x != nil { |
| 352 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 353 |
if ms.LoadMessageInfo() == nil { |
| 354 |
ms.StoreMessageInfo(mi) |
| 355 |
} |
| 356 |
return ms |
| 357 |
} |
| 358 |
return mi.MessageOf(x) |
| 359 |
} |
| 360 |
|
| 361 |
// Deprecated: Use AnalyzerDefinition_StreamInput.ProtoReflect.Descriptor instead. |
| 362 |
func (*AnalyzerDefinition_StreamInput) Descriptor() ([]byte, []int) { |
| 363 |
return file_google_cloud_visionai_v1alpha1_lva_proto_rawDescGZIP(), []int{1, 0} |
| 364 |
} |
| 365 |
|
| 366 |
func (x *AnalyzerDefinition_StreamInput) GetInput() string { |
| 367 |
if x != nil { |
| 368 |
return x.Input |
| 369 |
} |
| 370 |
return "" |
| 371 |
} |
| 372 |
|
| 373 |
// Options available for debugging purposes only. |
| 374 |
type AnalyzerDefinition_DebugOptions struct { |
| 375 |
state protoimpl.MessageState |
| 376 |
sizeCache protoimpl.SizeCache |
| 377 |
unknownFields protoimpl.UnknownFields |
| 378 |
|
| 379 |
// Environment variables. |
| 380 |
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"` |
| 381 |
} |
| 382 |
|
| 383 |
func (x *AnalyzerDefinition_DebugOptions) Reset() { |
| 384 |
*x = AnalyzerDefinition_DebugOptions{} |
| 385 |
if protoimpl.UnsafeEnabled { |
| 386 |
mi := &file_google_cloud_visionai_v1alpha1_lva_proto_msgTypes[4] |
| 387 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 388 |
ms.StoreMessageInfo(mi) |
| 389 |
} |
| 390 |
} |
| 391 |
|
| 392 |
func (x *AnalyzerDefinition_DebugOptions) String() string { |
| 393 |
return protoimpl.X.MessageStringOf(x) |
| 394 |
} |
| 395 |
|
| 396 |
func (*AnalyzerDefinition_DebugOptions) ProtoMessage() {} |
| 397 |
|
| 398 |
func (x *AnalyzerDefinition_DebugOptions) ProtoReflect() protoreflect.Message { |
| 399 |
mi := &file_google_cloud_visionai_v1alpha1_lva_proto_msgTypes[4] |
| 400 |
if protoimpl.UnsafeEnabled && x != nil { |
| 401 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 402 |
if ms.LoadMessageInfo() == nil { |
| 403 |
ms.StoreMessageInfo(mi) |
| 404 |
} |
| 405 |
return ms |
| 406 |
} |
| 407 |
return mi.MessageOf(x) |
| 408 |
} |
| 409 |
|
| 410 |
// Deprecated: Use AnalyzerDefinition_DebugOptions.ProtoReflect.Descriptor instead. |
| 411 |
func (*AnalyzerDefinition_DebugOptions) Descriptor() ([]byte, []int) { |
| 412 |
return file_google_cloud_visionai_v1alpha1_lva_proto_rawDescGZIP(), []int{1, 1} |
| 413 |
} |
| 414 |
|
| 415 |
func (x *AnalyzerDefinition_DebugOptions) GetEnvironmentVariables() map[string]string { |
| 416 |
if x != nil { |
| 417 |
return x.EnvironmentVariables |
| 418 |
} |
| 419 |
return nil |
| 420 |
} |
| 421 |
|
| 422 |
var File_google_cloud_visionai_v1alpha1_lva_proto protoreflect.FileDescriptor |
| 423 |
|
| 424 |
var file_google_cloud_visionai_v1alpha1_lva_proto_rawDesc = []byte{ |
| 425 |
0x0a, 0x28, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x76, |
| 426 |
0x69, 0x73, 0x69, 0x6f, 0x6e, 0x61, 0x69, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, |
| 427 |
0x2f, 0x6c, 0x76, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x67, 0x6f, 0x6f, 0x67, |
| 428 |
0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x61, |
| 429 |
0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x22, 0x59, 0x0a, 0x0e, 0x41, 0x74, |
| 430 |
0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x0e, 0x0a, 0x01, |
| 431 |
0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x01, 0x69, 0x12, 0x0e, 0x0a, 0x01, |
| 432 |
0x66, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x48, 0x00, 0x52, 0x01, 0x66, 0x12, 0x0e, 0x0a, 0x01, |
| 433 |
0x62, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x01, 0x62, 0x12, 0x0e, 0x0a, 0x01, |
| 434 |
0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x01, 0x73, 0x42, 0x07, 0x0a, 0x05, |
| 435 |
0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xd9, 0x05, 0x0a, 0x12, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x7a, |
| 436 |
0x65, 0x72, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, |
| 437 |
0x61, 0x6e, 0x61, 0x6c, 0x79, 0x7a, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, |
| 438 |
0x61, 0x6e, 0x61, 0x6c, 0x79, 0x7a, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x70, 0x65, 0x72, |
| 439 |
0x61, 0x74, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x70, 0x65, 0x72, |
| 440 |
0x61, 0x74, 0x6f, 0x72, 0x12, 0x56, 0x0a, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x18, 0x03, |
| 441 |
0x20, 0x03, 0x28, 0x0b, 0x32, 0x3e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, |
| 442 |
0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x61, |
| 443 |
0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x7a, 0x65, 0x72, 0x44, 0x65, |
| 444 |
0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x49, |
| 445 |
0x6e, 0x70, 0x75, 0x74, 0x52, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x12, 0x53, 0x0a, 0x05, |
| 446 |
0x61, 0x74, 0x74, 0x72, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x67, 0x6f, |
| 447 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, |
| 448 |
0x6e, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x41, 0x6e, 0x61, |
| 449 |
0x6c, 0x79, 0x7a, 0x65, 0x72, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, |
| 450 |
0x41, 0x74, 0x74, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x61, 0x74, 0x74, 0x72, |
| 451 |
0x73, 0x12, 0x64, 0x0a, 0x0d, 0x64, 0x65, 0x62, 0x75, 0x67, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, |
| 452 |
0x6e, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 453 |
0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x61, 0x69, |
| 454 |
0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x7a, |
| 455 |
0x65, 0x72, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x44, 0x65, 0x62, |
| 456 |
0x75, 0x67, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0c, 0x64, 0x65, 0x62, 0x75, 0x67, |
| 457 |
0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x23, 0x0a, 0x0b, 0x53, 0x74, 0x72, 0x65, 0x61, |
| 458 |
0x6d, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x18, |
| 459 |
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x1a, 0xe8, 0x01, 0x0a, |
| 460 |
0x0c, 0x44, 0x65, 0x62, 0x75, 0x67, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x8e, 0x01, |
| 461 |
0x0a, 0x15, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x76, 0x61, |
| 462 |
0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x59, 0x2e, |
| 463 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, |
| 464 |
0x69, 0x6f, 0x6e, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x41, |
| 465 |
0x6e, 0x61, 0x6c, 0x79, 0x7a, 0x65, 0x72, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, |
| 466 |
0x6e, 0x2e, 0x44, 0x65, 0x62, 0x75, 0x67, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x45, |
| 467 |
0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, |
| 468 |
0x6c, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x14, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, |
| 469 |
0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x1a, 0x47, |
| 470 |
0x0a, 0x19, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x56, 0x61, 0x72, |
| 471 |
0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, |
| 472 |
0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, |
| 473 |
0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, |
| 474 |
0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x68, 0x0a, 0x0a, 0x41, 0x74, 0x74, 0x72, 0x73, |
| 475 |
0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, |
| 476 |
0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x44, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, |
| 477 |
0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 478 |
0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x61, 0x69, 0x2e, 0x76, |
| 479 |
0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, |
| 480 |
0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, |
| 481 |
0x01, 0x22, 0x66, 0x0a, 0x12, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x44, 0x65, 0x66, |
| 482 |
0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x50, 0x0a, 0x09, 0x61, 0x6e, 0x61, 0x6c, 0x79, |
| 483 |
0x7a, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, |
| 484 |
0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, |
| 485 |
0x61, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x41, 0x6e, 0x61, 0x6c, |
| 486 |
0x79, 0x7a, 0x65, 0x72, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, |
| 487 |
0x61, 0x6e, 0x61, 0x6c, 0x79, 0x7a, 0x65, 0x72, 0x73, 0x42, 0xde, 0x01, 0x0a, 0x22, 0x63, 0x6f, |
| 488 |
0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, |
| 489 |
0x69, 0x73, 0x69, 0x6f, 0x6e, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, |
| 490 |
0x42, 0x08, 0x4c, 0x76, 0x61, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x46, 0x67, 0x6f, |
| 491 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, |
| 492 |
0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, |
| 493 |
0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, |
| 494 |
0x61, 0x69, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x76, 0x69, 0x73, 0x69, |
| 495 |
0x6f, 0x6e, 0x61, 0x69, 0xaa, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, |
| 496 |
0x6f, 0x75, 0x64, 0x2e, 0x56, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x41, 0x49, 0x2e, 0x56, 0x31, 0x41, |
| 497 |
0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, |
| 498 |
0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x56, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x41, 0x49, 0x5c, 0x56, 0x31, |
| 499 |
0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xea, 0x02, 0x21, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, |
| 500 |
0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x56, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x41, 0x49, |
| 501 |
0x3a, 0x3a, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, |
| 502 |
0x6f, 0x33, |
| 503 |
} |
| 504 |
|
| 505 |
var ( |
| 506 |
file_google_cloud_visionai_v1alpha1_lva_proto_rawDescOnce sync.Once |
| 507 |
file_google_cloud_visionai_v1alpha1_lva_proto_rawDescData = file_google_cloud_visionai_v1alpha1_lva_proto_rawDesc |
| 508 |
) |
| 509 |
|
| 510 |
func file_google_cloud_visionai_v1alpha1_lva_proto_rawDescGZIP() []byte { |
| 511 |
file_google_cloud_visionai_v1alpha1_lva_proto_rawDescOnce.Do(func() { |
| 512 |
file_google_cloud_visionai_v1alpha1_lva_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_visionai_v1alpha1_lva_proto_rawDescData) |
| 513 |
}) |
| 514 |
return file_google_cloud_visionai_v1alpha1_lva_proto_rawDescData |
| 515 |
} |
| 516 |
|
| 517 |
var file_google_cloud_visionai_v1alpha1_lva_proto_msgTypes = make([]protoimpl.MessageInfo, 7) |
| 518 |
var file_google_cloud_visionai_v1alpha1_lva_proto_goTypes = []interface{}{ |
| 519 |
(*AttributeValue)(nil), // 0: google.cloud.visionai.v1alpha1.AttributeValue |
| 520 |
(*AnalyzerDefinition)(nil), // 1: google.cloud.visionai.v1alpha1.AnalyzerDefinition |
| 521 |
(*AnalysisDefinition)(nil), // 2: google.cloud.visionai.v1alpha1.AnalysisDefinition |
| 522 |
(*AnalyzerDefinition_StreamInput)(nil), // 3: google.cloud.visionai.v1alpha1.AnalyzerDefinition.StreamInput |
| 523 |
(*AnalyzerDefinition_DebugOptions)(nil), // 4: google.cloud.visionai.v1alpha1.AnalyzerDefinition.DebugOptions |
| 524 |
nil, // 5: google.cloud.visionai.v1alpha1.AnalyzerDefinition.AttrsEntry |
| 525 |
nil, // 6: google.cloud.visionai.v1alpha1.AnalyzerDefinition.DebugOptions.EnvironmentVariablesEntry |
| 526 |
} |
| 527 |
var file_google_cloud_visionai_v1alpha1_lva_proto_depIdxs = []int32{ |
| 528 |
3, // 0: google.cloud.visionai.v1alpha1.AnalyzerDefinition.inputs:type_name -> google.cloud.visionai.v1alpha1.AnalyzerDefinition.StreamInput |
| 529 |
5, // 1: google.cloud.visionai.v1alpha1.AnalyzerDefinition.attrs:type_name -> google.cloud.visionai.v1alpha1.AnalyzerDefinition.AttrsEntry |
| 530 |
4, // 2: google.cloud.visionai.v1alpha1.AnalyzerDefinition.debug_options:type_name -> google.cloud.visionai.v1alpha1.AnalyzerDefinition.DebugOptions |
| 531 |
1, // 3: google.cloud.visionai.v1alpha1.AnalysisDefinition.analyzers:type_name -> google.cloud.visionai.v1alpha1.AnalyzerDefinition |
| 532 |
6, // 4: google.cloud.visionai.v1alpha1.AnalyzerDefinition.DebugOptions.environment_variables:type_name -> google.cloud.visionai.v1alpha1.AnalyzerDefinition.DebugOptions.EnvironmentVariablesEntry |
| 533 |
0, // 5: google.cloud.visionai.v1alpha1.AnalyzerDefinition.AttrsEntry.value:type_name -> google.cloud.visionai.v1alpha1.AttributeValue |
| 534 |
6, // [6:6] is the sub-list for method output_type |
| 535 |
6, // [6:6] is the sub-list for method input_type |
| 536 |
6, // [6:6] is the sub-list for extension type_name |
| 537 |
6, // [6:6] is the sub-list for extension extendee |
| 538 |
0, // [0:6] is the sub-list for field type_name |
| 539 |
} |
| 540 |
|
| 541 |
func init() { file_google_cloud_visionai_v1alpha1_lva_proto_init() } |
| 542 |
func file_google_cloud_visionai_v1alpha1_lva_proto_init() { |
| 543 |
if File_google_cloud_visionai_v1alpha1_lva_proto != nil { |
| 544 |
return |
| 545 |
} |
| 546 |
if !protoimpl.UnsafeEnabled { |
| 547 |
file_google_cloud_visionai_v1alpha1_lva_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| 548 |
switch v := v.(*AttributeValue); i { |
| 549 |
case 0: |
| 550 |
return &v.state |
| 551 |
case 1: |
| 552 |
return &v.sizeCache |
| 553 |
case 2: |
| 554 |
return &v.unknownFields |
| 555 |
default: |
| 556 |
return nil |
| 557 |
} |
| 558 |
} |
| 559 |
file_google_cloud_visionai_v1alpha1_lva_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| 560 |
switch v := v.(*AnalyzerDefinition); i { |
| 561 |
case 0: |
| 562 |
return &v.state |
| 563 |
case 1: |
| 564 |
return &v.sizeCache |
| 565 |
case 2: |
| 566 |
return &v.unknownFields |
| 567 |
default: |
| 568 |
return nil |
| 569 |
} |
| 570 |
} |
| 571 |
file_google_cloud_visionai_v1alpha1_lva_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { |
| 572 |
switch v := v.(*AnalysisDefinition); i { |
| 573 |
case 0: |
| 574 |
return &v.state |
| 575 |
case 1: |
| 576 |
return &v.sizeCache |
| 577 |
case 2: |
| 578 |
return &v.unknownFields |
| 579 |
default: |
| 580 |
return nil |
| 581 |
} |
| 582 |
} |
| 583 |
file_google_cloud_visionai_v1alpha1_lva_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { |
| 584 |
switch v := v.(*AnalyzerDefinition_StreamInput); i { |
| 585 |
case 0: |
| 586 |
return &v.state |
| 587 |
case 1: |
| 588 |
return &v.sizeCache |
| 589 |
case 2: |
| 590 |
return &v.unknownFields |
| 591 |
default: |
| 592 |
return nil |
| 593 |
} |
| 594 |
} |
| 595 |
file_google_cloud_visionai_v1alpha1_lva_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { |
| 596 |
switch v := v.(*AnalyzerDefinition_DebugOptions); i { |
| 597 |
case 0: |
| 598 |
return &v.state |
| 599 |
case 1: |
| 600 |
return &v.sizeCache |
| 601 |
case 2: |
| 602 |
return &v.unknownFields |
| 603 |
default: |
| 604 |
return nil |
| 605 |
} |
| 606 |
} |
| 607 |
} |
| 608 |
file_google_cloud_visionai_v1alpha1_lva_proto_msgTypes[0].OneofWrappers = []interface{}{ |
| 609 |
(*AttributeValue_I)(nil), |
| 610 |
(*AttributeValue_F)(nil), |
| 611 |
(*AttributeValue_B)(nil), |
| 612 |
(*AttributeValue_S)(nil), |
| 613 |
} |
| 614 |
type x struct{} |
| 615 |
out := protoimpl.TypeBuilder{ |
| 616 |
File: protoimpl.DescBuilder{ |
| 617 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 618 |
RawDescriptor: file_google_cloud_visionai_v1alpha1_lva_proto_rawDesc, |
| 619 |
NumEnums: 0, |
| 620 |
NumMessages: 7, |
| 621 |
NumExtensions: 0, |
| 622 |
NumServices: 0, |
| 623 |
}, |
| 624 |
GoTypes: file_google_cloud_visionai_v1alpha1_lva_proto_goTypes, |
| 625 |
DependencyIndexes: file_google_cloud_visionai_v1alpha1_lva_proto_depIdxs, |
| 626 |
MessageInfos: file_google_cloud_visionai_v1alpha1_lva_proto_msgTypes, |
| 627 |
}.Build() |
| 628 |
File_google_cloud_visionai_v1alpha1_lva_proto = out.File |
| 629 |
file_google_cloud_visionai_v1alpha1_lva_proto_rawDesc = nil |
| 630 |
file_google_cloud_visionai_v1alpha1_lva_proto_goTypes = nil |
| 631 |
file_google_cloud_visionai_v1alpha1_lva_proto_depIdxs = nil |
| 632 |
} |