| 1 |
// Copyright 2022 Google LLC |
| 2 |
// |
| 3 |
// Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 |
// you may not use this file except in compliance with the License. |
| 5 |
// You may obtain a copy of the License at |
| 6 |
// |
| 7 |
// http://www.apache.org/licenses/LICENSE-2.0 |
| 8 |
// |
| 9 |
// Unless required by applicable law or agreed to in writing, software |
| 10 |
// distributed under the License is distributed on an "AS IS" BASIS, |
| 11 |
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 |
// See the License for the specific language governing permissions and |
| 13 |
// limitations under the License. |
| 14 |
|
| 15 |
// Code generated by protoc-gen-go. DO NOT EDIT. |
| 16 |
// versions: |
| 17 |
// protoc-gen-go v1.26.0 |
| 18 |
// protoc v3.21.9 |
| 19 |
// source: google/cloud/visionai/v1/lva_service.proto |
| 20 |
|
| 21 |
package visionai |
| 22 |
|
| 23 |
import ( |
| 24 |
context "context" |
| 25 |
reflect "reflect" |
| 26 |
sync "sync" |
| 27 |
|
| 28 |
_ "google.golang.org/genproto/googleapis/api/annotations" |
| 29 |
longrunning "google.golang.org/genproto/googleapis/longrunning" |
| 30 |
grpc "google.golang.org/grpc" |
| 31 |
codes "google.golang.org/grpc/codes" |
| 32 |
status "google.golang.org/grpc/status" |
| 33 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 34 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 35 |
fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" |
| 36 |
) |
| 37 |
|
| 38 |
const ( |
| 39 |
// Verify that this generated code is sufficiently up-to-date. |
| 40 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 41 |
// Verify that runtime/protoimpl is sufficiently up-to-date. |
| 42 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 43 |
) |
| 44 |
|
| 45 |
// Message for requesting list of Analyses |
| 46 |
type ListAnalysesRequest struct { |
| 47 |
state protoimpl.MessageState |
| 48 |
sizeCache protoimpl.SizeCache |
| 49 |
unknownFields protoimpl.UnknownFields |
| 50 |
|
| 51 |
// Required. Parent value for ListAnalysesRequest |
| 52 |
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` |
| 53 |
// Requested page size. Server may return fewer items than requested. |
| 54 |
// If unspecified, server will pick an appropriate default. |
| 55 |
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` |
| 56 |
// A token identifying a page of results the server should return. |
| 57 |
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` |
| 58 |
// Filtering results |
| 59 |
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` |
| 60 |
// Hint for how to order the results |
| 61 |
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` |
| 62 |
} |
| 63 |
|
| 64 |
func (x *ListAnalysesRequest) Reset() { |
| 65 |
*x = ListAnalysesRequest{} |
| 66 |
if protoimpl.UnsafeEnabled { |
| 67 |
mi := &file_google_cloud_visionai_v1_lva_service_proto_msgTypes[0] |
| 68 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 69 |
ms.StoreMessageInfo(mi) |
| 70 |
} |
| 71 |
} |
| 72 |
|
| 73 |
func (x *ListAnalysesRequest) String() string { |
| 74 |
return protoimpl.X.MessageStringOf(x) |
| 75 |
} |
| 76 |
|
| 77 |
func (*ListAnalysesRequest) ProtoMessage() {} |
| 78 |
|
| 79 |
func (x *ListAnalysesRequest) ProtoReflect() protoreflect.Message { |
| 80 |
mi := &file_google_cloud_visionai_v1_lva_service_proto_msgTypes[0] |
| 81 |
if protoimpl.UnsafeEnabled && x != nil { |
| 82 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 83 |
if ms.LoadMessageInfo() == nil { |
| 84 |
ms.StoreMessageInfo(mi) |
| 85 |
} |
| 86 |
return ms |
| 87 |
} |
| 88 |
return mi.MessageOf(x) |
| 89 |
} |
| 90 |
|
| 91 |
// Deprecated: Use ListAnalysesRequest.ProtoReflect.Descriptor instead. |
| 92 |
func (*ListAnalysesRequest) Descriptor() ([]byte, []int) { |
| 93 |
return file_google_cloud_visionai_v1_lva_service_proto_rawDescGZIP(), []int{0} |
| 94 |
} |
| 95 |
|
| 96 |
func (x *ListAnalysesRequest) GetParent() string { |
| 97 |
if x != nil { |
| 98 |
return x.Parent |
| 99 |
} |
| 100 |
return "" |
| 101 |
} |
| 102 |
|
| 103 |
func (x *ListAnalysesRequest) GetPageSize() int32 { |
| 104 |
if x != nil { |
| 105 |
return x.PageSize |
| 106 |
} |
| 107 |
return 0 |
| 108 |
} |
| 109 |
|
| 110 |
func (x *ListAnalysesRequest) GetPageToken() string { |
| 111 |
if x != nil { |
| 112 |
return x.PageToken |
| 113 |
} |
| 114 |
return "" |
| 115 |
} |
| 116 |
|
| 117 |
func (x *ListAnalysesRequest) GetFilter() string { |
| 118 |
if x != nil { |
| 119 |
return x.Filter |
| 120 |
} |
| 121 |
return "" |
| 122 |
} |
| 123 |
|
| 124 |
func (x *ListAnalysesRequest) GetOrderBy() string { |
| 125 |
if x != nil { |
| 126 |
return x.OrderBy |
| 127 |
} |
| 128 |
return "" |
| 129 |
} |
| 130 |
|
| 131 |
// Message for response to listing Analyses |
| 132 |
type ListAnalysesResponse struct { |
| 133 |
state protoimpl.MessageState |
| 134 |
sizeCache protoimpl.SizeCache |
| 135 |
unknownFields protoimpl.UnknownFields |
| 136 |
|
| 137 |
// The list of Analysis |
| 138 |
Analyses []*Analysis `protobuf:"bytes,1,rep,name=analyses,proto3" json:"analyses,omitempty"` |
| 139 |
// A token identifying a page of results the server should return. |
| 140 |
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` |
| 141 |
// Locations that could not be reached. |
| 142 |
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"` |
| 143 |
} |
| 144 |
|
| 145 |
func (x *ListAnalysesResponse) Reset() { |
| 146 |
*x = ListAnalysesResponse{} |
| 147 |
if protoimpl.UnsafeEnabled { |
| 148 |
mi := &file_google_cloud_visionai_v1_lva_service_proto_msgTypes[1] |
| 149 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 150 |
ms.StoreMessageInfo(mi) |
| 151 |
} |
| 152 |
} |
| 153 |
|
| 154 |
func (x *ListAnalysesResponse) String() string { |
| 155 |
return protoimpl.X.MessageStringOf(x) |
| 156 |
} |
| 157 |
|
| 158 |
func (*ListAnalysesResponse) ProtoMessage() {} |
| 159 |
|
| 160 |
func (x *ListAnalysesResponse) ProtoReflect() protoreflect.Message { |
| 161 |
mi := &file_google_cloud_visionai_v1_lva_service_proto_msgTypes[1] |
| 162 |
if protoimpl.UnsafeEnabled && x != nil { |
| 163 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 164 |
if ms.LoadMessageInfo() == nil { |
| 165 |
ms.StoreMessageInfo(mi) |
| 166 |
} |
| 167 |
return ms |
| 168 |
} |
| 169 |
return mi.MessageOf(x) |
| 170 |
} |
| 171 |
|
| 172 |
// Deprecated: Use ListAnalysesResponse.ProtoReflect.Descriptor instead. |
| 173 |
func (*ListAnalysesResponse) Descriptor() ([]byte, []int) { |
| 174 |
return file_google_cloud_visionai_v1_lva_service_proto_rawDescGZIP(), []int{1} |
| 175 |
} |
| 176 |
|
| 177 |
func (x *ListAnalysesResponse) GetAnalyses() []*Analysis { |
| 178 |
if x != nil { |
| 179 |
return x.Analyses |
| 180 |
} |
| 181 |
return nil |
| 182 |
} |
| 183 |
|
| 184 |
func (x *ListAnalysesResponse) GetNextPageToken() string { |
| 185 |
if x != nil { |
| 186 |
return x.NextPageToken |
| 187 |
} |
| 188 |
return "" |
| 189 |
} |
| 190 |
|
| 191 |
func (x *ListAnalysesResponse) GetUnreachable() []string { |
| 192 |
if x != nil { |
| 193 |
return x.Unreachable |
| 194 |
} |
| 195 |
return nil |
| 196 |
} |
| 197 |
|
| 198 |
// Message for getting an Analysis. |
| 199 |
type GetAnalysisRequest struct { |
| 200 |
state protoimpl.MessageState |
| 201 |
sizeCache protoimpl.SizeCache |
| 202 |
unknownFields protoimpl.UnknownFields |
| 203 |
|
| 204 |
// Required. Name of the resource. |
| 205 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 206 |
} |
| 207 |
|
| 208 |
func (x *GetAnalysisRequest) Reset() { |
| 209 |
*x = GetAnalysisRequest{} |
| 210 |
if protoimpl.UnsafeEnabled { |
| 211 |
mi := &file_google_cloud_visionai_v1_lva_service_proto_msgTypes[2] |
| 212 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 213 |
ms.StoreMessageInfo(mi) |
| 214 |
} |
| 215 |
} |
| 216 |
|
| 217 |
func (x *GetAnalysisRequest) String() string { |
| 218 |
return protoimpl.X.MessageStringOf(x) |
| 219 |
} |
| 220 |
|
| 221 |
func (*GetAnalysisRequest) ProtoMessage() {} |
| 222 |
|
| 223 |
func (x *GetAnalysisRequest) ProtoReflect() protoreflect.Message { |
| 224 |
mi := &file_google_cloud_visionai_v1_lva_service_proto_msgTypes[2] |
| 225 |
if protoimpl.UnsafeEnabled && x != nil { |
| 226 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 227 |
if ms.LoadMessageInfo() == nil { |
| 228 |
ms.StoreMessageInfo(mi) |
| 229 |
} |
| 230 |
return ms |
| 231 |
} |
| 232 |
return mi.MessageOf(x) |
| 233 |
} |
| 234 |
|
| 235 |
// Deprecated: Use GetAnalysisRequest.ProtoReflect.Descriptor instead. |
| 236 |
func (*GetAnalysisRequest) Descriptor() ([]byte, []int) { |
| 237 |
return file_google_cloud_visionai_v1_lva_service_proto_rawDescGZIP(), []int{2} |
| 238 |
} |
| 239 |
|
| 240 |
func (x *GetAnalysisRequest) GetName() string { |
| 241 |
if x != nil { |
| 242 |
return x.Name |
| 243 |
} |
| 244 |
return "" |
| 245 |
} |
| 246 |
|
| 247 |
// Message for creating an Analysis. |
| 248 |
type CreateAnalysisRequest struct { |
| 249 |
state protoimpl.MessageState |
| 250 |
sizeCache protoimpl.SizeCache |
| 251 |
unknownFields protoimpl.UnknownFields |
| 252 |
|
| 253 |
// Required. Value for parent. |
| 254 |
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` |
| 255 |
// Required. Id of the requesting object. |
| 256 |
AnalysisId string `protobuf:"bytes,2,opt,name=analysis_id,json=analysisId,proto3" json:"analysis_id,omitempty"` |
| 257 |
// Required. The resource being created. |
| 258 |
Analysis *Analysis `protobuf:"bytes,3,opt,name=analysis,proto3" json:"analysis,omitempty"` |
| 259 |
// Optional. An optional request ID to identify requests. Specify a unique request ID |
| 260 |
// so that if you must retry your request, the server will know to ignore |
| 261 |
// the request if it has already been completed. The server will guarantee |
| 262 |
// that for at least 60 minutes since the first request. |
| 263 |
// |
| 264 |
// For example, consider a situation where you make an initial request and the |
| 265 |
// request times out. If you make the request again with the same request ID, |
| 266 |
// the server can check if original operation with the same request ID was |
| 267 |
// received, and if so, will ignore the second request. This prevents clients |
| 268 |
// from accidentally creating duplicate commitments. |
| 269 |
// |
| 270 |
// The request ID must be a valid UUID with the exception that zero UUID is |
| 271 |
// not supported (00000000-0000-0000-0000-000000000000). |
| 272 |
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` |
| 273 |
} |
| 274 |
|
| 275 |
func (x *CreateAnalysisRequest) Reset() { |
| 276 |
*x = CreateAnalysisRequest{} |
| 277 |
if protoimpl.UnsafeEnabled { |
| 278 |
mi := &file_google_cloud_visionai_v1_lva_service_proto_msgTypes[3] |
| 279 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 280 |
ms.StoreMessageInfo(mi) |
| 281 |
} |
| 282 |
} |
| 283 |
|
| 284 |
func (x *CreateAnalysisRequest) String() string { |
| 285 |
return protoimpl.X.MessageStringOf(x) |
| 286 |
} |
| 287 |
|
| 288 |
func (*CreateAnalysisRequest) ProtoMessage() {} |
| 289 |
|
| 290 |
func (x *CreateAnalysisRequest) ProtoReflect() protoreflect.Message { |
| 291 |
mi := &file_google_cloud_visionai_v1_lva_service_proto_msgTypes[3] |
| 292 |
if protoimpl.UnsafeEnabled && x != nil { |
| 293 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 294 |
if ms.LoadMessageInfo() == nil { |
| 295 |
ms.StoreMessageInfo(mi) |
| 296 |
} |
| 297 |
return ms |
| 298 |
} |
| 299 |
return mi.MessageOf(x) |
| 300 |
} |
| 301 |
|
| 302 |
// Deprecated: Use CreateAnalysisRequest.ProtoReflect.Descriptor instead. |
| 303 |
func (*CreateAnalysisRequest) Descriptor() ([]byte, []int) { |
| 304 |
return file_google_cloud_visionai_v1_lva_service_proto_rawDescGZIP(), []int{3} |
| 305 |
} |
| 306 |
|
| 307 |
func (x *CreateAnalysisRequest) GetParent() string { |
| 308 |
if x != nil { |
| 309 |
return x.Parent |
| 310 |
} |
| 311 |
return "" |
| 312 |
} |
| 313 |
|
| 314 |
func (x *CreateAnalysisRequest) GetAnalysisId() string { |
| 315 |
if x != nil { |
| 316 |
return x.AnalysisId |
| 317 |
} |
| 318 |
return "" |
| 319 |
} |
| 320 |
|
| 321 |
func (x *CreateAnalysisRequest) GetAnalysis() *Analysis { |
| 322 |
if x != nil { |
| 323 |
return x.Analysis |
| 324 |
} |
| 325 |
return nil |
| 326 |
} |
| 327 |
|
| 328 |
func (x *CreateAnalysisRequest) GetRequestId() string { |
| 329 |
if x != nil { |
| 330 |
return x.RequestId |
| 331 |
} |
| 332 |
return "" |
| 333 |
} |
| 334 |
|
| 335 |
// Message for updating an Analysis. |
| 336 |
type UpdateAnalysisRequest struct { |
| 337 |
state protoimpl.MessageState |
| 338 |
sizeCache protoimpl.SizeCache |
| 339 |
unknownFields protoimpl.UnknownFields |
| 340 |
|
| 341 |
// Required. Field mask is used to specify the fields to be overwritten in the |
| 342 |
// Analysis resource by the update. |
| 343 |
// The fields specified in the update_mask are relative to the resource, not |
| 344 |
// the full request. A field will be overwritten if it is in the mask. If the |
| 345 |
// user does not provide a mask then all fields will be overwritten. |
| 346 |
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` |
| 347 |
// Required. The resource being updated. |
| 348 |
Analysis *Analysis `protobuf:"bytes,2,opt,name=analysis,proto3" json:"analysis,omitempty"` |
| 349 |
// Optional. An optional request ID to identify requests. Specify a unique request ID |
| 350 |
// so that if you must retry your request, the server will know to ignore |
| 351 |
// the request if it has already been completed. The server will guarantee |
| 352 |
// that for at least 60 minutes since the first request. |
| 353 |
// |
| 354 |
// For example, consider a situation where you make an initial request and the |
| 355 |
// request times out. If you make the request again with the same request ID, |
| 356 |
// the server can check if original operation with the same request ID was |
| 357 |
// received, and if so, will ignore the second request. This prevents clients |
| 358 |
// from accidentally creating duplicate commitments. |
| 359 |
// |
| 360 |
// The request ID must be a valid UUID with the exception that zero UUID is |
| 361 |
// not supported (00000000-0000-0000-0000-000000000000). |
| 362 |
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` |
| 363 |
} |
| 364 |
|
| 365 |
func (x *UpdateAnalysisRequest) Reset() { |
| 366 |
*x = UpdateAnalysisRequest{} |
| 367 |
if protoimpl.UnsafeEnabled { |
| 368 |
mi := &file_google_cloud_visionai_v1_lva_service_proto_msgTypes[4] |
| 369 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 370 |
ms.StoreMessageInfo(mi) |
| 371 |
} |
| 372 |
} |
| 373 |
|
| 374 |
func (x *UpdateAnalysisRequest) String() string { |
| 375 |
return protoimpl.X.MessageStringOf(x) |
| 376 |
} |
| 377 |
|
| 378 |
func (*UpdateAnalysisRequest) ProtoMessage() {} |
| 379 |
|
| 380 |
func (x *UpdateAnalysisRequest) ProtoReflect() protoreflect.Message { |
| 381 |
mi := &file_google_cloud_visionai_v1_lva_service_proto_msgTypes[4] |
| 382 |
if protoimpl.UnsafeEnabled && x != nil { |
| 383 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 384 |
if ms.LoadMessageInfo() == nil { |
| 385 |
ms.StoreMessageInfo(mi) |
| 386 |
} |
| 387 |
return ms |
| 388 |
} |
| 389 |
return mi.MessageOf(x) |
| 390 |
} |
| 391 |
|
| 392 |
// Deprecated: Use UpdateAnalysisRequest.ProtoReflect.Descriptor instead. |
| 393 |
func (*UpdateAnalysisRequest) Descriptor() ([]byte, []int) { |
| 394 |
return file_google_cloud_visionai_v1_lva_service_proto_rawDescGZIP(), []int{4} |
| 395 |
} |
| 396 |
|
| 397 |
func (x *UpdateAnalysisRequest) GetUpdateMask() *fieldmaskpb.FieldMask { |
| 398 |
if x != nil { |
| 399 |
return x.UpdateMask |
| 400 |
} |
| 401 |
return nil |
| 402 |
} |
| 403 |
|
| 404 |
func (x *UpdateAnalysisRequest) GetAnalysis() *Analysis { |
| 405 |
if x != nil { |
| 406 |
return x.Analysis |
| 407 |
} |
| 408 |
return nil |
| 409 |
} |
| 410 |
|
| 411 |
func (x *UpdateAnalysisRequest) GetRequestId() string { |
| 412 |
if x != nil { |
| 413 |
return x.RequestId |
| 414 |
} |
| 415 |
return "" |
| 416 |
} |
| 417 |
|
| 418 |
// Message for deleting an Analysis. |
| 419 |
type DeleteAnalysisRequest struct { |
| 420 |
state protoimpl.MessageState |
| 421 |
sizeCache protoimpl.SizeCache |
| 422 |
unknownFields protoimpl.UnknownFields |
| 423 |
|
| 424 |
// Required. Name of the resource. |
| 425 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 426 |
// Optional. An optional request ID to identify requests. Specify a unique request ID |
| 427 |
// so that if you must retry your request, the server will know to ignore |
| 428 |
// the request if it has already been completed. The server will guarantee |
| 429 |
// that for at least 60 minutes after the first request. |
| 430 |
// |
| 431 |
// For example, consider a situation where you make an initial request and the |
| 432 |
// request times out. If you make the request again with the same request ID, |
| 433 |
// the server can check if original operation with the same request ID was |
| 434 |
// received, and if so, will ignore the second request. This prevents clients |
| 435 |
// from accidentally creating duplicate commitments. |
| 436 |
// |
| 437 |
// The request ID must be a valid UUID with the exception that zero UUID is |
| 438 |
// not supported (00000000-0000-0000-0000-000000000000). |
| 439 |
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` |
| 440 |
} |
| 441 |
|
| 442 |
func (x *DeleteAnalysisRequest) Reset() { |
| 443 |
*x = DeleteAnalysisRequest{} |
| 444 |
if protoimpl.UnsafeEnabled { |
| 445 |
mi := &file_google_cloud_visionai_v1_lva_service_proto_msgTypes[5] |
| 446 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 447 |
ms.StoreMessageInfo(mi) |
| 448 |
} |
| 449 |
} |
| 450 |
|
| 451 |
func (x *DeleteAnalysisRequest) String() string { |
| 452 |
return protoimpl.X.MessageStringOf(x) |
| 453 |
} |
| 454 |
|
| 455 |
func (*DeleteAnalysisRequest) ProtoMessage() {} |
| 456 |
|
| 457 |
func (x *DeleteAnalysisRequest) ProtoReflect() protoreflect.Message { |
| 458 |
mi := &file_google_cloud_visionai_v1_lva_service_proto_msgTypes[5] |
| 459 |
if protoimpl.UnsafeEnabled && x != nil { |
| 460 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 461 |
if ms.LoadMessageInfo() == nil { |
| 462 |
ms.StoreMessageInfo(mi) |
| 463 |
} |
| 464 |
return ms |
| 465 |
} |
| 466 |
return mi.MessageOf(x) |
| 467 |
} |
| 468 |
|
| 469 |
// Deprecated: Use DeleteAnalysisRequest.ProtoReflect.Descriptor instead. |
| 470 |
func (*DeleteAnalysisRequest) Descriptor() ([]byte, []int) { |
| 471 |
return file_google_cloud_visionai_v1_lva_service_proto_rawDescGZIP(), []int{5} |
| 472 |
} |
| 473 |
|
| 474 |
func (x *DeleteAnalysisRequest) GetName() string { |
| 475 |
if x != nil { |
| 476 |
return x.Name |
| 477 |
} |
| 478 |
return "" |
| 479 |
} |
| 480 |
|
| 481 |
func (x *DeleteAnalysisRequest) GetRequestId() string { |
| 482 |
if x != nil { |
| 483 |
return x.RequestId |
| 484 |
} |
| 485 |
return "" |
| 486 |
} |
| 487 |
|
| 488 |
var File_google_cloud_visionai_v1_lva_service_proto protoreflect.FileDescriptor |
| 489 |
|
| 490 |
var file_google_cloud_visionai_v1_lva_service_proto_rawDesc = []byte{ |
| 491 |
0x0a, 0x2a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x76, |
| 492 |
0x69, 0x73, 0x69, 0x6f, 0x6e, 0x61, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x6c, 0x76, 0x61, 0x5f, 0x73, |
| 493 |
0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x67, 0x6f, |
| 494 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, |
| 495 |
0x6e, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, |
| 496 |
0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, |
| 497 |
0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, |
| 498 |
0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, |
| 499 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, |
| 500 |
0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, |
| 501 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, |
| 502 |
0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 503 |
0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x61, 0x69, |
| 504 |
0x2f, 0x76, 0x31, 0x2f, 0x6c, 0x76, 0x61, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, |
| 505 |
0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, |
| 506 |
0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2f, 0x6f, 0x70, 0x65, 0x72, |
| 507 |
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, |
| 508 |
0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, |
| 509 |
0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc5, |
| 510 |
0x01, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x65, 0x73, 0x52, |
| 511 |
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3f, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, |
| 512 |
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x27, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x21, 0x0a, 0x1f, |
| 513 |
0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x61, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, |
| 514 |
0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, |
| 515 |
0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, |
| 516 |
0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, |
| 517 |
0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, |
| 518 |
0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, |
| 519 |
0x6b, 0x65, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x04, 0x20, |
| 520 |
0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x19, 0x0a, 0x08, 0x6f, |
| 521 |
0x72, 0x64, 0x65, 0x72, 0x5f, 0x62, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, |
| 522 |
0x72, 0x64, 0x65, 0x72, 0x42, 0x79, 0x22, 0xa0, 0x01, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x41, |
| 523 |
0x6e, 0x61, 0x6c, 0x79, 0x73, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, |
| 524 |
0x3e, 0x0a, 0x08, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, |
| 525 |
0x0b, 0x32, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, |
| 526 |
0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6e, 0x61, |
| 527 |
0x6c, 0x79, 0x73, 0x69, 0x73, 0x52, 0x08, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x65, 0x73, 0x12, |
| 528 |
0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, |
| 529 |
0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, |
| 530 |
0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x75, 0x6e, 0x72, 0x65, 0x61, |
| 531 |
0x63, 0x68, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x75, 0x6e, |
| 532 |
0x72, 0x65, 0x61, 0x63, 0x68, 0x61, 0x62, 0x6c, 0x65, 0x22, 0x52, 0x0a, 0x12, 0x47, 0x65, 0x74, |
| 533 |
0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, |
| 534 |
0x3c, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x28, 0xe0, |
| 535 |
0x41, 0x02, 0xfa, 0x41, 0x22, 0x0a, 0x20, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x61, 0x69, 0x2e, |
| 536 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, |
| 537 |
0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xe7, 0x01, |
| 538 |
0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, |
| 539 |
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3f, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, |
| 540 |
0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x27, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x21, 0x0a, |
| 541 |
0x1f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x61, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 542 |
0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, |
| 543 |
0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x24, 0x0a, 0x0b, 0x61, 0x6e, 0x61, 0x6c, |
| 544 |
0x79, 0x73, 0x69, 0x73, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, |
| 545 |
0x41, 0x02, 0x52, 0x0a, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x49, 0x64, 0x12, 0x43, |
| 546 |
0x0a, 0x08, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, |
| 547 |
0x32, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, |
| 548 |
0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6e, 0x61, 0x6c, |
| 549 |
0x79, 0x73, 0x69, 0x73, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x08, 0x61, 0x6e, 0x61, 0x6c, 0x79, |
| 550 |
0x73, 0x69, 0x73, 0x12, 0x22, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, |
| 551 |
0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x09, 0x72, 0x65, |
| 552 |
0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x22, 0xc2, 0x01, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, |
| 553 |
0x74, 0x65, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, |
| 554 |
0x74, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, |
| 555 |
0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 556 |
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, |
| 557 |
0x73, 0x6b, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, |
| 558 |
0x61, 0x73, 0x6b, 0x12, 0x43, 0x0a, 0x08, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x18, |
| 559 |
0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, |
| 560 |
0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x61, 0x69, 0x2e, 0x76, 0x31, |
| 561 |
0x2e, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x08, |
| 562 |
0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x12, 0x22, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, |
| 563 |
0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, |
| 564 |
0x01, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x22, 0x79, 0x0a, 0x15, |
| 565 |
0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x52, 0x65, |
| 566 |
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3c, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, |
| 567 |
0x01, 0x28, 0x09, 0x42, 0x28, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x22, 0x0a, 0x20, 0x76, 0x69, 0x73, |
| 568 |
0x69, 0x6f, 0x6e, 0x61, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, |
| 569 |
0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x52, 0x04, 0x6e, |
| 570 |
0x61, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, |
| 571 |
0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x09, 0x72, 0x65, |
| 572 |
0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x32, 0xf9, 0x08, 0x0a, 0x12, 0x4c, 0x69, 0x76, 0x65, |
| 573 |
0x56, 0x69, 0x64, 0x65, 0x6f, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x74, 0x69, 0x63, 0x73, 0x12, 0xb7, |
| 574 |
0x01, 0x0a, 0x0c, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x65, 0x73, 0x12, |
| 575 |
0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, |
| 576 |
0x69, 0x73, 0x69, 0x6f, 0x6e, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, |
| 577 |
0x6e, 0x61, 0x6c, 0x79, 0x73, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, |
| 578 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, |
| 579 |
0x73, 0x69, 0x6f, 0x6e, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x6e, |
| 580 |
0x61, 0x6c, 0x79, 0x73, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x48, |
| 581 |
0x82, 0xd3, 0xe4, 0x93, 0x02, 0x39, 0x12, 0x37, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, |
| 582 |
0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, |
| 583 |
0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x6c, 0x75, 0x73, 0x74, |
| 584 |
0x65, 0x72, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x65, 0x73, 0xda, |
| 585 |
0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0xa7, 0x01, 0x0a, 0x0b, 0x47, 0x65, 0x74, |
| 586 |
0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x12, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 587 |
0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x61, 0x69, |
| 588 |
0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x52, |
| 589 |
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 590 |
0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x61, 0x69, 0x2e, 0x76, |
| 591 |
0x31, 0x2e, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x22, 0x46, 0x82, 0xd3, 0xe4, 0x93, |
| 592 |
0x02, 0x39, 0x12, 0x37, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, |
| 593 |
0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, |
| 594 |
0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x2f, 0x2a, 0x2f, |
| 595 |
0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, |
| 596 |
0x6d, 0x65, 0x12, 0xea, 0x01, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x6e, 0x61, |
| 597 |
0x6c, 0x79, 0x73, 0x69, 0x73, 0x12, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, |
| 598 |
0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x61, 0x69, 0x2e, 0x76, 0x31, |
| 599 |
0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x52, |
| 600 |
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 601 |
0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72, |
| 602 |
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x87, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x43, 0x22, 0x37, |
| 603 |
0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, |
| 604 |
0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, |
| 605 |
0x2f, 0x2a, 0x2f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x61, |
| 606 |
0x6e, 0x61, 0x6c, 0x79, 0x73, 0x65, 0x73, 0x3a, 0x08, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, |
| 607 |
0x73, 0xda, 0x41, 0x1b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x61, 0x6e, 0x61, 0x6c, 0x79, |
| 608 |
0x73, 0x69, 0x73, 0x2c, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x5f, 0x69, 0x64, 0xca, |
| 609 |
0x41, 0x1d, 0x0a, 0x08, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x12, 0x11, 0x4f, 0x70, |
| 610 |
0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, |
| 611 |
0xec, 0x01, 0x0a, 0x0e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, |
| 612 |
0x69, 0x73, 0x12, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, |
| 613 |
0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, |
| 614 |
0x64, 0x61, 0x74, 0x65, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x52, 0x65, 0x71, 0x75, |
| 615 |
0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x6e, |
| 616 |
0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, |
| 617 |
0x6f, 0x6e, 0x22, 0x89, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x4c, 0x32, 0x40, 0x2f, 0x76, 0x31, |
| 618 |
0x2f, 0x7b, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, |
| 619 |
0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, |
| 620 |
0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x2f, |
| 621 |
0x2a, 0x2f, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x08, 0x61, |
| 622 |
0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0xda, 0x41, 0x14, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, |
| 623 |
0x69, 0x73, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0xca, 0x41, |
| 624 |
0x1d, 0x0a, 0x08, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x12, 0x11, 0x4f, 0x70, 0x65, |
| 625 |
0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0xd5, |
| 626 |
0x01, 0x0a, 0x0e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, |
| 627 |
0x73, 0x12, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, |
| 628 |
0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x61, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, |
| 629 |
0x65, 0x74, 0x65, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, |
| 630 |
0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x6e, 0x67, |
| 631 |
0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, |
| 632 |
0x6e, 0x22, 0x73, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x39, 0x2a, 0x37, 0x2f, 0x76, 0x31, 0x2f, 0x7b, |
| 633 |
0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, |
| 634 |
0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x6c, 0x75, 0x73, |
| 635 |
0x74, 0x65, 0x72, 0x73, 0x2f, 0x2a, 0x2f, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x65, 0x73, 0x2f, |
| 636 |
0x2a, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0xca, 0x41, 0x2a, 0x0a, 0x15, 0x67, 0x6f, |
| 637 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, |
| 638 |
0x70, 0x74, 0x79, 0x12, 0x11, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, |
| 639 |
0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x1a, 0x4b, 0xca, 0x41, 0x17, 0x76, 0x69, 0x73, 0x69, 0x6f, |
| 640 |
0x6e, 0x61, 0x69, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, |
| 641 |
0x6f, 0x6d, 0xd2, 0x41, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, |
| 642 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, |
| 643 |
0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c, 0x61, 0x74, 0x66, |
| 644 |
0x6f, 0x72, 0x6d, 0x42, 0xc7, 0x01, 0x0a, 0x1c, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 645 |
0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x61, |
| 646 |
0x69, 0x2e, 0x76, 0x31, 0x42, 0x0f, 0x4c, 0x76, 0x61, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, |
| 647 |
0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x40, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 648 |
0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, |
| 649 |
0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, |
| 650 |
0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x61, 0x69, 0x2f, 0x76, 0x31, |
| 651 |
0x3b, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x61, 0x69, 0xaa, 0x02, 0x18, 0x47, 0x6f, 0x6f, 0x67, |
| 652 |
0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x56, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x41, |
| 653 |
0x49, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x18, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, |
| 654 |
0x6f, 0x75, 0x64, 0x5c, 0x56, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x41, 0x49, 0x5c, 0x56, 0x31, 0xea, |
| 655 |
0x02, 0x1b, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, |
| 656 |
0x3a, 0x56, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x41, 0x49, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, |
| 657 |
0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 658 |
} |
| 659 |
|
| 660 |
var ( |
| 661 |
file_google_cloud_visionai_v1_lva_service_proto_rawDescOnce sync.Once |
| 662 |
file_google_cloud_visionai_v1_lva_service_proto_rawDescData = file_google_cloud_visionai_v1_lva_service_proto_rawDesc |
| 663 |
) |
| 664 |
|
| 665 |
func file_google_cloud_visionai_v1_lva_service_proto_rawDescGZIP() []byte { |
| 666 |
file_google_cloud_visionai_v1_lva_service_proto_rawDescOnce.Do(func() { |
| 667 |
file_google_cloud_visionai_v1_lva_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_visionai_v1_lva_service_proto_rawDescData) |
| 668 |
}) |
| 669 |
return file_google_cloud_visionai_v1_lva_service_proto_rawDescData |
| 670 |
} |
| 671 |
|
| 672 |
var file_google_cloud_visionai_v1_lva_service_proto_msgTypes = make([]protoimpl.MessageInfo, 6) |
| 673 |
var file_google_cloud_visionai_v1_lva_service_proto_goTypes = []interface{}{ |
| 674 |
(*ListAnalysesRequest)(nil), // 0: google.cloud.visionai.v1.ListAnalysesRequest |
| 675 |
(*ListAnalysesResponse)(nil), // 1: google.cloud.visionai.v1.ListAnalysesResponse |
| 676 |
(*GetAnalysisRequest)(nil), // 2: google.cloud.visionai.v1.GetAnalysisRequest |
| 677 |
(*CreateAnalysisRequest)(nil), // 3: google.cloud.visionai.v1.CreateAnalysisRequest |
| 678 |
(*UpdateAnalysisRequest)(nil), // 4: google.cloud.visionai.v1.UpdateAnalysisRequest |
| 679 |
(*DeleteAnalysisRequest)(nil), // 5: google.cloud.visionai.v1.DeleteAnalysisRequest |
| 680 |
(*Analysis)(nil), // 6: google.cloud.visionai.v1.Analysis |
| 681 |
(*fieldmaskpb.FieldMask)(nil), // 7: google.protobuf.FieldMask |
| 682 |
(*longrunning.Operation)(nil), // 8: google.longrunning.Operation |
| 683 |
} |
| 684 |
var file_google_cloud_visionai_v1_lva_service_proto_depIdxs = []int32{ |
| 685 |
6, // 0: google.cloud.visionai.v1.ListAnalysesResponse.analyses:type_name -> google.cloud.visionai.v1.Analysis |
| 686 |
6, // 1: google.cloud.visionai.v1.CreateAnalysisRequest.analysis:type_name -> google.cloud.visionai.v1.Analysis |
| 687 |
7, // 2: google.cloud.visionai.v1.UpdateAnalysisRequest.update_mask:type_name -> google.protobuf.FieldMask |
| 688 |
6, // 3: google.cloud.visionai.v1.UpdateAnalysisRequest.analysis:type_name -> google.cloud.visionai.v1.Analysis |
| 689 |
0, // 4: google.cloud.visionai.v1.LiveVideoAnalytics.ListAnalyses:input_type -> google.cloud.visionai.v1.ListAnalysesRequest |
| 690 |
2, // 5: google.cloud.visionai.v1.LiveVideoAnalytics.GetAnalysis:input_type -> google.cloud.visionai.v1.GetAnalysisRequest |
| 691 |
3, // 6: google.cloud.visionai.v1.LiveVideoAnalytics.CreateAnalysis:input_type -> google.cloud.visionai.v1.CreateAnalysisRequest |
| 692 |
4, // 7: google.cloud.visionai.v1.LiveVideoAnalytics.UpdateAnalysis:input_type -> google.cloud.visionai.v1.UpdateAnalysisRequest |
| 693 |
5, // 8: google.cloud.visionai.v1.LiveVideoAnalytics.DeleteAnalysis:input_type -> google.cloud.visionai.v1.DeleteAnalysisRequest |
| 694 |
1, // 9: google.cloud.visionai.v1.LiveVideoAnalytics.ListAnalyses:output_type -> google.cloud.visionai.v1.ListAnalysesResponse |
| 695 |
6, // 10: google.cloud.visionai.v1.LiveVideoAnalytics.GetAnalysis:output_type -> google.cloud.visionai.v1.Analysis |
| 696 |
8, // 11: google.cloud.visionai.v1.LiveVideoAnalytics.CreateAnalysis:output_type -> google.longrunning.Operation |
| 697 |
8, // 12: google.cloud.visionai.v1.LiveVideoAnalytics.UpdateAnalysis:output_type -> google.longrunning.Operation |
| 698 |
8, // 13: google.cloud.visionai.v1.LiveVideoAnalytics.DeleteAnalysis:output_type -> google.longrunning.Operation |
| 699 |
9, // [9:14] is the sub-list for method output_type |
| 700 |
4, // [4:9] is the sub-list for method input_type |
| 701 |
4, // [4:4] is the sub-list for extension type_name |
| 702 |
4, // [4:4] is the sub-list for extension extendee |
| 703 |
0, // [0:4] is the sub-list for field type_name |
| 704 |
} |
| 705 |
|
| 706 |
func init() { file_google_cloud_visionai_v1_lva_service_proto_init() } |
| 707 |
func file_google_cloud_visionai_v1_lva_service_proto_init() { |
| 708 |
if File_google_cloud_visionai_v1_lva_service_proto != nil { |
| 709 |
return |
| 710 |
} |
| 711 |
file_google_cloud_visionai_v1_lva_resources_proto_init() |
| 712 |
if !protoimpl.UnsafeEnabled { |
| 713 |
file_google_cloud_visionai_v1_lva_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| 714 |
switch v := v.(*ListAnalysesRequest); i { |
| 715 |
case 0: |
| 716 |
return &v.state |
| 717 |
case 1: |
| 718 |
return &v.sizeCache |
| 719 |
case 2: |
| 720 |
return &v.unknownFields |
| 721 |
default: |
| 722 |
return nil |
| 723 |
} |
| 724 |
} |
| 725 |
file_google_cloud_visionai_v1_lva_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| 726 |
switch v := v.(*ListAnalysesResponse); i { |
| 727 |
case 0: |
| 728 |
return &v.state |
| 729 |
case 1: |
| 730 |
return &v.sizeCache |
| 731 |
case 2: |
| 732 |
return &v.unknownFields |
| 733 |
default: |
| 734 |
return nil |
| 735 |
} |
| 736 |
} |
| 737 |
file_google_cloud_visionai_v1_lva_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { |
| 738 |
switch v := v.(*GetAnalysisRequest); i { |
| 739 |
case 0: |
| 740 |
return &v.state |
| 741 |
case 1: |
| 742 |
return &v.sizeCache |
| 743 |
case 2: |
| 744 |
return &v.unknownFields |
| 745 |
default: |
| 746 |
return nil |
| 747 |
} |
| 748 |
} |
| 749 |
file_google_cloud_visionai_v1_lva_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { |
| 750 |
switch v := v.(*CreateAnalysisRequest); i { |
| 751 |
case 0: |
| 752 |
return &v.state |
| 753 |
case 1: |
| 754 |
return &v.sizeCache |
| 755 |
case 2: |
| 756 |
return &v.unknownFields |
| 757 |
default: |
| 758 |
return nil |
| 759 |
} |
| 760 |
} |
| 761 |
file_google_cloud_visionai_v1_lva_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { |
| 762 |
switch v := v.(*UpdateAnalysisRequest); i { |
| 763 |
case 0: |
| 764 |
return &v.state |
| 765 |
case 1: |
| 766 |
return &v.sizeCache |
| 767 |
case 2: |
| 768 |
return &v.unknownFields |
| 769 |
default: |
| 770 |
return nil |
| 771 |
} |
| 772 |
} |
| 773 |
file_google_cloud_visionai_v1_lva_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { |
| 774 |
switch v := v.(*DeleteAnalysisRequest); i { |
| 775 |
case 0: |
| 776 |
return &v.state |
| 777 |
case 1: |
| 778 |
return &v.sizeCache |
| 779 |
case 2: |
| 780 |
return &v.unknownFields |
| 781 |
default: |
| 782 |
return nil |
| 783 |
} |
| 784 |
} |
| 785 |
} |
| 786 |
type x struct{} |
| 787 |
out := protoimpl.TypeBuilder{ |
| 788 |
File: protoimpl.DescBuilder{ |
| 789 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 790 |
RawDescriptor: file_google_cloud_visionai_v1_lva_service_proto_rawDesc, |
| 791 |
NumEnums: 0, |
| 792 |
NumMessages: 6, |
| 793 |
NumExtensions: 0, |
| 794 |
NumServices: 1, |
| 795 |
}, |
| 796 |
GoTypes: file_google_cloud_visionai_v1_lva_service_proto_goTypes, |
| 797 |
DependencyIndexes: file_google_cloud_visionai_v1_lva_service_proto_depIdxs, |
| 798 |
MessageInfos: file_google_cloud_visionai_v1_lva_service_proto_msgTypes, |
| 799 |
}.Build() |
| 800 |
File_google_cloud_visionai_v1_lva_service_proto = out.File |
| 801 |
file_google_cloud_visionai_v1_lva_service_proto_rawDesc = nil |
| 802 |
file_google_cloud_visionai_v1_lva_service_proto_goTypes = nil |
| 803 |
file_google_cloud_visionai_v1_lva_service_proto_depIdxs = nil |
| 804 |
} |
| 805 |
|
| 806 |
// Reference imports to suppress errors if they are not otherwise used. |
| 807 |
var _ context.Context |
| 808 |
var _ grpc.ClientConnInterface |
| 809 |
|
| 810 |
// This is a compile-time assertion to ensure that this generated file |
| 811 |
// is compatible with the grpc package it is being compiled against. |
| 812 |
const _ = grpc.SupportPackageIsVersion6 |
| 813 |
|
| 814 |
// LiveVideoAnalyticsClient is the client API for LiveVideoAnalytics service. |
| 815 |
// |
| 816 |
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| 817 |
type LiveVideoAnalyticsClient interface { |
| 818 |
// Lists Analyses in a given project and location. |
| 819 |
ListAnalyses(ctx context.Context, in *ListAnalysesRequest, opts ...grpc.CallOption) (*ListAnalysesResponse, error) |
| 820 |
// Gets details of a single Analysis. |
| 821 |
GetAnalysis(ctx context.Context, in *GetAnalysisRequest, opts ...grpc.CallOption) (*Analysis, error) |
| 822 |
// Creates a new Analysis in a given project and location. |
| 823 |
CreateAnalysis(ctx context.Context, in *CreateAnalysisRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) |
| 824 |
// Updates the parameters of a single Analysis. |
| 825 |
UpdateAnalysis(ctx context.Context, in *UpdateAnalysisRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) |
| 826 |
// Deletes a single Analysis. |
| 827 |
DeleteAnalysis(ctx context.Context, in *DeleteAnalysisRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) |
| 828 |
} |
| 829 |
|
| 830 |
type liveVideoAnalyticsClient struct { |
| 831 |
cc grpc.ClientConnInterface |
| 832 |
} |
| 833 |
|
| 834 |
func NewLiveVideoAnalyticsClient(cc grpc.ClientConnInterface) LiveVideoAnalyticsClient { |
| 835 |
return &liveVideoAnalyticsClient{cc} |
| 836 |
} |
| 837 |
|
| 838 |
func (c *liveVideoAnalyticsClient) ListAnalyses(ctx context.Context, in *ListAnalysesRequest, opts ...grpc.CallOption) (*ListAnalysesResponse, error) { |
| 839 |
out := new(ListAnalysesResponse) |
| 840 |
err := c.cc.Invoke(ctx, "/google.cloud.visionai.v1.LiveVideoAnalytics/ListAnalyses", in, out, opts...) |
| 841 |
if err != nil { |
| 842 |
return nil, err |
| 843 |
} |
| 844 |
return out, nil |
| 845 |
} |
| 846 |
|
| 847 |
func (c *liveVideoAnalyticsClient) GetAnalysis(ctx context.Context, in *GetAnalysisRequest, opts ...grpc.CallOption) (*Analysis, error) { |
| 848 |
out := new(Analysis) |
| 849 |
err := c.cc.Invoke(ctx, "/google.cloud.visionai.v1.LiveVideoAnalytics/GetAnalysis", in, out, opts...) |
| 850 |
if err != nil { |
| 851 |
return nil, err |
| 852 |
} |
| 853 |
return out, nil |
| 854 |
} |
| 855 |
|
| 856 |
func (c *liveVideoAnalyticsClient) CreateAnalysis(ctx context.Context, in *CreateAnalysisRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { |
| 857 |
out := new(longrunning.Operation) |
| 858 |
err := c.cc.Invoke(ctx, "/google.cloud.visionai.v1.LiveVideoAnalytics/CreateAnalysis", in, out, opts...) |
| 859 |
if err != nil { |
| 860 |
return nil, err |
| 861 |
} |
| 862 |
return out, nil |
| 863 |
} |
| 864 |
|
| 865 |
func (c *liveVideoAnalyticsClient) UpdateAnalysis(ctx context.Context, in *UpdateAnalysisRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { |
| 866 |
out := new(longrunning.Operation) |
| 867 |
err := c.cc.Invoke(ctx, "/google.cloud.visionai.v1.LiveVideoAnalytics/UpdateAnalysis", in, out, opts...) |
| 868 |
if err != nil { |
| 869 |
return nil, err |
| 870 |
} |
| 871 |
return out, nil |
| 872 |
} |
| 873 |
|
| 874 |
func (c *liveVideoAnalyticsClient) DeleteAnalysis(ctx context.Context, in *DeleteAnalysisRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) { |
| 875 |
out := new(longrunning.Operation) |
| 876 |
err := c.cc.Invoke(ctx, "/google.cloud.visionai.v1.LiveVideoAnalytics/DeleteAnalysis", in, out, opts...) |
| 877 |
if err != nil { |
| 878 |
return nil, err |
| 879 |
} |
| 880 |
return out, nil |
| 881 |
} |
| 882 |
|
| 883 |
// LiveVideoAnalyticsServer is the server API for LiveVideoAnalytics service. |
| 884 |
type LiveVideoAnalyticsServer interface { |
| 885 |
// Lists Analyses in a given project and location. |
| 886 |
ListAnalyses(context.Context, *ListAnalysesRequest) (*ListAnalysesResponse, error) |
| 887 |
// Gets details of a single Analysis. |
| 888 |
GetAnalysis(context.Context, *GetAnalysisRequest) (*Analysis, error) |
| 889 |
// Creates a new Analysis in a given project and location. |
| 890 |
CreateAnalysis(context.Context, *CreateAnalysisRequest) (*longrunning.Operation, error) |
| 891 |
// Updates the parameters of a single Analysis. |
| 892 |
UpdateAnalysis(context.Context, *UpdateAnalysisRequest) (*longrunning.Operation, error) |
| 893 |
// Deletes a single Analysis. |
| 894 |
DeleteAnalysis(context.Context, *DeleteAnalysisRequest) (*longrunning.Operation, error) |
| 895 |
} |
| 896 |
|
| 897 |
// UnimplementedLiveVideoAnalyticsServer can be embedded to have forward compatible implementations. |
| 898 |
type UnimplementedLiveVideoAnalyticsServer struct { |
| 899 |
} |
| 900 |
|
| 901 |
func (*UnimplementedLiveVideoAnalyticsServer) ListAnalyses(context.Context, *ListAnalysesRequest) (*ListAnalysesResponse, error) { |
| 902 |
return nil, status.Errorf(codes.Unimplemented, "method ListAnalyses not implemented") |
| 903 |
} |
| 904 |
func (*UnimplementedLiveVideoAnalyticsServer) GetAnalysis(context.Context, *GetAnalysisRequest) (*Analysis, error) { |
| 905 |
return nil, status.Errorf(codes.Unimplemented, "method GetAnalysis not implemented") |
| 906 |
} |
| 907 |
func (*UnimplementedLiveVideoAnalyticsServer) CreateAnalysis(context.Context, *CreateAnalysisRequest) (*longrunning.Operation, error) { |
| 908 |
return nil, status.Errorf(codes.Unimplemented, "method CreateAnalysis not implemented") |
| 909 |
} |
| 910 |
func (*UnimplementedLiveVideoAnalyticsServer) UpdateAnalysis(context.Context, *UpdateAnalysisRequest) (*longrunning.Operation, error) { |
| 911 |
return nil, status.Errorf(codes.Unimplemented, "method UpdateAnalysis not implemented") |
| 912 |
} |
| 913 |
func (*UnimplementedLiveVideoAnalyticsServer) DeleteAnalysis(context.Context, *DeleteAnalysisRequest) (*longrunning.Operation, error) { |
| 914 |
return nil, status.Errorf(codes.Unimplemented, "method DeleteAnalysis not implemented") |
| 915 |
} |
| 916 |
|
| 917 |
func RegisterLiveVideoAnalyticsServer(s *grpc.Server, srv LiveVideoAnalyticsServer) { |
| 918 |
s.RegisterService(&_LiveVideoAnalytics_serviceDesc, srv) |
| 919 |
} |
| 920 |
|
| 921 |
func _LiveVideoAnalytics_ListAnalyses_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 922 |
in := new(ListAnalysesRequest) |
| 923 |
if err := dec(in); err != nil { |
| 924 |
return nil, err |
| 925 |
} |
| 926 |
if interceptor == nil { |
| 927 |
return srv.(LiveVideoAnalyticsServer).ListAnalyses(ctx, in) |
| 928 |
} |
| 929 |
info := &grpc.UnaryServerInfo{ |
| 930 |
Server: srv, |
| 931 |
FullMethod: "/google.cloud.visionai.v1.LiveVideoAnalytics/ListAnalyses", |
| 932 |
} |
| 933 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 934 |
return srv.(LiveVideoAnalyticsServer).ListAnalyses(ctx, req.(*ListAnalysesRequest)) |
| 935 |
} |
| 936 |
return interceptor(ctx, in, info, handler) |
| 937 |
} |
| 938 |
|
| 939 |
func _LiveVideoAnalytics_GetAnalysis_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 940 |
in := new(GetAnalysisRequest) |
| 941 |
if err := dec(in); err != nil { |
| 942 |
return nil, err |
| 943 |
} |
| 944 |
if interceptor == nil { |
| 945 |
return srv.(LiveVideoAnalyticsServer).GetAnalysis(ctx, in) |
| 946 |
} |
| 947 |
info := &grpc.UnaryServerInfo{ |
| 948 |
Server: srv, |
| 949 |
FullMethod: "/google.cloud.visionai.v1.LiveVideoAnalytics/GetAnalysis", |
| 950 |
} |
| 951 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 952 |
return srv.(LiveVideoAnalyticsServer).GetAnalysis(ctx, req.(*GetAnalysisRequest)) |
| 953 |
} |
| 954 |
return interceptor(ctx, in, info, handler) |
| 955 |
} |
| 956 |
|
| 957 |
func _LiveVideoAnalytics_CreateAnalysis_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 958 |
in := new(CreateAnalysisRequest) |
| 959 |
if err := dec(in); err != nil { |
| 960 |
return nil, err |
| 961 |
} |
| 962 |
if interceptor == nil { |
| 963 |
return srv.(LiveVideoAnalyticsServer).CreateAnalysis(ctx, in) |
| 964 |
} |
| 965 |
info := &grpc.UnaryServerInfo{ |
| 966 |
Server: srv, |
| 967 |
FullMethod: "/google.cloud.visionai.v1.LiveVideoAnalytics/CreateAnalysis", |
| 968 |
} |
| 969 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 970 |
return srv.(LiveVideoAnalyticsServer).CreateAnalysis(ctx, req.(*CreateAnalysisRequest)) |
| 971 |
} |
| 972 |
return interceptor(ctx, in, info, handler) |
| 973 |
} |
| 974 |
|
| 975 |
func _LiveVideoAnalytics_UpdateAnalysis_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 976 |
in := new(UpdateAnalysisRequest) |
| 977 |
if err := dec(in); err != nil { |
| 978 |
return nil, err |
| 979 |
} |
| 980 |
if interceptor == nil { |
| 981 |
return srv.(LiveVideoAnalyticsServer).UpdateAnalysis(ctx, in) |
| 982 |
} |
| 983 |
info := &grpc.UnaryServerInfo{ |
| 984 |
Server: srv, |
| 985 |
FullMethod: "/google.cloud.visionai.v1.LiveVideoAnalytics/UpdateAnalysis", |
| 986 |
} |
| 987 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 988 |
return srv.(LiveVideoAnalyticsServer).UpdateAnalysis(ctx, req.(*UpdateAnalysisRequest)) |
| 989 |
} |
| 990 |
return interceptor(ctx, in, info, handler) |
| 991 |
} |
| 992 |
|
| 993 |
func _LiveVideoAnalytics_DeleteAnalysis_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 994 |
in := new(DeleteAnalysisRequest) |
| 995 |
if err := dec(in); err != nil { |
| 996 |
return nil, err |
| 997 |
} |
| 998 |
if interceptor == nil { |
| 999 |
return srv.(LiveVideoAnalyticsServer).DeleteAnalysis(ctx, in) |
| 1000 |
} |
| 1001 |
info := &grpc.UnaryServerInfo{ |
| 1002 |
Server: srv, |
| 1003 |
FullMethod: "/google.cloud.visionai.v1.LiveVideoAnalytics/DeleteAnalysis", |
| 1004 |
} |
| 1005 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 1006 |
return srv.(LiveVideoAnalyticsServer).DeleteAnalysis(ctx, req.(*DeleteAnalysisRequest)) |
| 1007 |
} |
| 1008 |
return interceptor(ctx, in, info, handler) |
| 1009 |
} |
| 1010 |
|
| 1011 |
var _LiveVideoAnalytics_serviceDesc = grpc.ServiceDesc{ |
| 1012 |
ServiceName: "google.cloud.visionai.v1.LiveVideoAnalytics", |
| 1013 |
HandlerType: (*LiveVideoAnalyticsServer)(nil), |
| 1014 |
Methods: []grpc.MethodDesc{ |
| 1015 |
{ |
| 1016 |
MethodName: "ListAnalyses", |
| 1017 |
Handler: _LiveVideoAnalytics_ListAnalyses_Handler, |
| 1018 |
}, |
| 1019 |
{ |
| 1020 |
MethodName: "GetAnalysis", |
| 1021 |
Handler: _LiveVideoAnalytics_GetAnalysis_Handler, |
| 1022 |
}, |
| 1023 |
{ |
| 1024 |
MethodName: "CreateAnalysis", |
| 1025 |
Handler: _LiveVideoAnalytics_CreateAnalysis_Handler, |
| 1026 |
}, |
| 1027 |
{ |
| 1028 |
MethodName: "UpdateAnalysis", |
| 1029 |
Handler: _LiveVideoAnalytics_UpdateAnalysis_Handler, |
| 1030 |
}, |
| 1031 |
{ |
| 1032 |
MethodName: "DeleteAnalysis", |
| 1033 |
Handler: _LiveVideoAnalytics_DeleteAnalysis_Handler, |
| 1034 |
}, |
| 1035 |
}, |
| 1036 |
Streams: []grpc.StreamDesc{}, |
| 1037 |
Metadata: "google/cloud/visionai/v1/lva_service.proto", |
| 1038 |
} |