| 1 |
// Copyright 2020 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.25.0 |
| 18 |
// protoc v3.13.0 |
| 19 |
// source: google/cloud/visualinspection/v1beta1/solution_artifact.proto |
| 20 |
|
| 21 |
package visualinspection |
| 22 |
|
| 23 |
import ( |
| 24 |
reflect "reflect" |
| 25 |
sync "sync" |
| 26 |
|
| 27 |
proto "github.com/golang/protobuf/proto" |
| 28 |
_ "google.golang.org/genproto/googleapis/api/annotations" |
| 29 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 30 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 31 |
timestamppb "google.golang.org/protobuf/types/known/timestamppb" |
| 32 |
) |
| 33 |
|
| 34 |
const ( |
| 35 |
// Verify that this generated code is sufficiently up-to-date. |
| 36 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 37 |
// Verify that runtime/protoimpl is sufficiently up-to-date. |
| 38 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 39 |
) |
| 40 |
|
| 41 |
// This is a compile-time assertion that a sufficiently up-to-date version |
| 42 |
// of the legacy proto package is being used. |
| 43 |
const _ = proto.ProtoPackageIsVersion4 |
| 44 |
|
| 45 |
// Export format types. |
| 46 |
type SolutionArtifact_ExportType int32 |
| 47 |
|
| 48 |
const ( |
| 49 |
// Unspecified by the user. |
| 50 |
SolutionArtifact_EXPORT_TYPE_UNSPECIFIED SolutionArtifact_ExportType = 0 |
| 51 |
// A Docker-compatible container which runs on CPU only. |
| 52 |
SolutionArtifact_CPU_CONTAINER SolutionArtifact_ExportType = 1 |
| 53 |
// A Docker-compatible container which runs on GPU. |
| 54 |
SolutionArtifact_GPU_CONTAINER SolutionArtifact_ExportType = 2 |
| 55 |
// Packaged archive without the Docker container. It might include multiple |
| 56 |
// models, images, and other configuration files in one package. |
| 57 |
SolutionArtifact_PACKAGED_ARCHIVE SolutionArtifact_ExportType = 3 |
| 58 |
) |
| 59 |
|
| 60 |
// Enum value maps for SolutionArtifact_ExportType. |
| 61 |
var ( |
| 62 |
SolutionArtifact_ExportType_name = map[int32]string{ |
| 63 |
0: "EXPORT_TYPE_UNSPECIFIED", |
| 64 |
1: "CPU_CONTAINER", |
| 65 |
2: "GPU_CONTAINER", |
| 66 |
3: "PACKAGED_ARCHIVE", |
| 67 |
} |
| 68 |
SolutionArtifact_ExportType_value = map[string]int32{ |
| 69 |
"EXPORT_TYPE_UNSPECIFIED": 0, |
| 70 |
"CPU_CONTAINER": 1, |
| 71 |
"GPU_CONTAINER": 2, |
| 72 |
"PACKAGED_ARCHIVE": 3, |
| 73 |
} |
| 74 |
) |
| 75 |
|
| 76 |
func (x SolutionArtifact_ExportType) Enum() *SolutionArtifact_ExportType { |
| 77 |
p := new(SolutionArtifact_ExportType) |
| 78 |
*p = x |
| 79 |
return p |
| 80 |
} |
| 81 |
|
| 82 |
func (x SolutionArtifact_ExportType) String() string { |
| 83 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 84 |
} |
| 85 |
|
| 86 |
func (SolutionArtifact_ExportType) Descriptor() protoreflect.EnumDescriptor { |
| 87 |
return file_google_cloud_visualinspection_v1beta1_solution_artifact_proto_enumTypes[0].Descriptor() |
| 88 |
} |
| 89 |
|
| 90 |
func (SolutionArtifact_ExportType) Type() protoreflect.EnumType { |
| 91 |
return &file_google_cloud_visualinspection_v1beta1_solution_artifact_proto_enumTypes[0] |
| 92 |
} |
| 93 |
|
| 94 |
func (x SolutionArtifact_ExportType) Number() protoreflect.EnumNumber { |
| 95 |
return protoreflect.EnumNumber(x) |
| 96 |
} |
| 97 |
|
| 98 |
// Deprecated: Use SolutionArtifact_ExportType.Descriptor instead. |
| 99 |
func (SolutionArtifact_ExportType) EnumDescriptor() ([]byte, []int) { |
| 100 |
return file_google_cloud_visualinspection_v1beta1_solution_artifact_proto_rawDescGZIP(), []int{0, 0} |
| 101 |
} |
| 102 |
|
| 103 |
// A SolutionArtifact is a fixed set of Models which can be exported or |
| 104 |
// deployed. |
| 105 |
type SolutionArtifact struct { |
| 106 |
state protoimpl.MessageState |
| 107 |
sizeCache protoimpl.SizeCache |
| 108 |
unknownFields protoimpl.UnknownFields |
| 109 |
|
| 110 |
// Types that are assignable to ExportLocation: |
| 111 |
// *SolutionArtifact_ContainerExportLocation |
| 112 |
// *SolutionArtifact_PackagedArchiveGcsUri |
| 113 |
ExportLocation isSolutionArtifact_ExportLocation `protobuf_oneof:"export_location"` |
| 114 |
// Output only. Resource name for SolutionArtifact generated by the system. |
| 115 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 116 |
// Output only. Timestamp when this Module was created. |
| 117 |
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` |
| 118 |
// Required. A user friendly display name for the SolutionArtifact. |
| 119 |
// The name can be up to 128 characters long and can consist of any UTF-8 |
| 120 |
// characters. |
| 121 |
DisplayName string `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` |
| 122 |
// A description for this SolutionArtifact. |
| 123 |
Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` |
| 124 |
// The labels with user-defined metadata to organize your SolutionArtifacts. |
| 125 |
// |
| 126 |
// Label keys and values can be no longer than 64 characters |
| 127 |
// (Unicode codepoints), can only contain lowercase letters, numeric |
| 128 |
// characters, underscores and dashes. International characters are allowed. |
| 129 |
// Label keys must start with a letter. |
| 130 |
// |
| 131 |
// See https://goo.gl/xmQnxf for more information on and examples of labels. |
| 132 |
Labels map[string]string `protobuf:"bytes,6,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 133 |
// A list of Models to include in the exported solution. If this field is not |
| 134 |
// provided in the CreateSolutionArtifactRequest, the latest Model for every |
| 135 |
// Module will be exported. If provided, then only these Models are exported. |
| 136 |
// The list of models must comprise a complete solution according to the |
| 137 |
// expectations set by the Solution's SolutionType. |
| 138 |
Models []string `protobuf:"bytes,7,rep,name=models,proto3" json:"models,omitempty"` |
| 139 |
// Required. Export type. |
| 140 |
ExportType SolutionArtifact_ExportType `protobuf:"varint,8,opt,name=export_type,json=exportType,proto3,enum=google.cloud.visualinspection.v1beta1.SolutionArtifact_ExportType" json:"export_type,omitempty"` |
| 141 |
} |
| 142 |
|
| 143 |
func (x *SolutionArtifact) Reset() { |
| 144 |
*x = SolutionArtifact{} |
| 145 |
if protoimpl.UnsafeEnabled { |
| 146 |
mi := &file_google_cloud_visualinspection_v1beta1_solution_artifact_proto_msgTypes[0] |
| 147 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 148 |
ms.StoreMessageInfo(mi) |
| 149 |
} |
| 150 |
} |
| 151 |
|
| 152 |
func (x *SolutionArtifact) String() string { |
| 153 |
return protoimpl.X.MessageStringOf(x) |
| 154 |
} |
| 155 |
|
| 156 |
func (*SolutionArtifact) ProtoMessage() {} |
| 157 |
|
| 158 |
func (x *SolutionArtifact) ProtoReflect() protoreflect.Message { |
| 159 |
mi := &file_google_cloud_visualinspection_v1beta1_solution_artifact_proto_msgTypes[0] |
| 160 |
if protoimpl.UnsafeEnabled && x != nil { |
| 161 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 162 |
if ms.LoadMessageInfo() == nil { |
| 163 |
ms.StoreMessageInfo(mi) |
| 164 |
} |
| 165 |
return ms |
| 166 |
} |
| 167 |
return mi.MessageOf(x) |
| 168 |
} |
| 169 |
|
| 170 |
// Deprecated: Use SolutionArtifact.ProtoReflect.Descriptor instead. |
| 171 |
func (*SolutionArtifact) Descriptor() ([]byte, []int) { |
| 172 |
return file_google_cloud_visualinspection_v1beta1_solution_artifact_proto_rawDescGZIP(), []int{0} |
| 173 |
} |
| 174 |
|
| 175 |
func (m *SolutionArtifact) GetExportLocation() isSolutionArtifact_ExportLocation { |
| 176 |
if m != nil { |
| 177 |
return m.ExportLocation |
| 178 |
} |
| 179 |
return nil |
| 180 |
} |
| 181 |
|
| 182 |
func (x *SolutionArtifact) GetContainerExportLocation() *GcrDestination { |
| 183 |
if x, ok := x.GetExportLocation().(*SolutionArtifact_ContainerExportLocation); ok { |
| 184 |
return x.ContainerExportLocation |
| 185 |
} |
| 186 |
return nil |
| 187 |
} |
| 188 |
|
| 189 |
func (x *SolutionArtifact) GetPackagedArchiveGcsUri() string { |
| 190 |
if x, ok := x.GetExportLocation().(*SolutionArtifact_PackagedArchiveGcsUri); ok { |
| 191 |
return x.PackagedArchiveGcsUri |
| 192 |
} |
| 193 |
return "" |
| 194 |
} |
| 195 |
|
| 196 |
func (x *SolutionArtifact) GetName() string { |
| 197 |
if x != nil { |
| 198 |
return x.Name |
| 199 |
} |
| 200 |
return "" |
| 201 |
} |
| 202 |
|
| 203 |
func (x *SolutionArtifact) GetCreateTime() *timestamppb.Timestamp { |
| 204 |
if x != nil { |
| 205 |
return x.CreateTime |
| 206 |
} |
| 207 |
return nil |
| 208 |
} |
| 209 |
|
| 210 |
func (x *SolutionArtifact) GetDisplayName() string { |
| 211 |
if x != nil { |
| 212 |
return x.DisplayName |
| 213 |
} |
| 214 |
return "" |
| 215 |
} |
| 216 |
|
| 217 |
func (x *SolutionArtifact) GetDescription() string { |
| 218 |
if x != nil { |
| 219 |
return x.Description |
| 220 |
} |
| 221 |
return "" |
| 222 |
} |
| 223 |
|
| 224 |
func (x *SolutionArtifact) GetLabels() map[string]string { |
| 225 |
if x != nil { |
| 226 |
return x.Labels |
| 227 |
} |
| 228 |
return nil |
| 229 |
} |
| 230 |
|
| 231 |
func (x *SolutionArtifact) GetModels() []string { |
| 232 |
if x != nil { |
| 233 |
return x.Models |
| 234 |
} |
| 235 |
return nil |
| 236 |
} |
| 237 |
|
| 238 |
func (x *SolutionArtifact) GetExportType() SolutionArtifact_ExportType { |
| 239 |
if x != nil { |
| 240 |
return x.ExportType |
| 241 |
} |
| 242 |
return SolutionArtifact_EXPORT_TYPE_UNSPECIFIED |
| 243 |
} |
| 244 |
|
| 245 |
type isSolutionArtifact_ExportLocation interface { |
| 246 |
isSolutionArtifact_ExportLocation() |
| 247 |
} |
| 248 |
|
| 249 |
type SolutionArtifact_ContainerExportLocation struct { |
| 250 |
// Export location for the container. This must be specified when export |
| 251 |
// type is a CONTAINER type. |
| 252 |
ContainerExportLocation *GcrDestination `protobuf:"bytes,9,opt,name=container_export_location,json=containerExportLocation,proto3,oneof"` |
| 253 |
} |
| 254 |
|
| 255 |
type SolutionArtifact_PackagedArchiveGcsUri struct { |
| 256 |
// Export location for the packaged archive in the format like |
| 257 |
// gs://<BUCKET_NAME>/<OBJECT_NAME>.tar.gz. This must be specified when |
| 258 |
// export type is PACKAGED_ARCHIVE. |
| 259 |
PackagedArchiveGcsUri string `protobuf:"bytes,10,opt,name=packaged_archive_gcs_uri,json=packagedArchiveGcsUri,proto3,oneof"` |
| 260 |
} |
| 261 |
|
| 262 |
func (*SolutionArtifact_ContainerExportLocation) isSolutionArtifact_ExportLocation() {} |
| 263 |
|
| 264 |
func (*SolutionArtifact_PackagedArchiveGcsUri) isSolutionArtifact_ExportLocation() {} |
| 265 |
|
| 266 |
// The GCR location where the container will be pushed. |
| 267 |
type GcrDestination struct { |
| 268 |
state protoimpl.MessageState |
| 269 |
sizeCache protoimpl.SizeCache |
| 270 |
unknownFields protoimpl.UnknownFields |
| 271 |
|
| 272 |
// Required. Google Container Registry URI of the new image, up to |
| 273 |
// 2000 characters long. See |
| 274 |
// |
| 275 |
// https: |
| 276 |
// //cloud.google.com/container-registry/do |
| 277 |
// // cs/pushing-and-pulling#pushing_an_image_to_a_registry |
| 278 |
// Accepted forms: |
| 279 |
// * [HOSTNAME]/[PROJECT-ID]/[IMAGE] |
| 280 |
// * [HOSTNAME]/[PROJECT-ID]/[IMAGE]:[TAG] |
| 281 |
// |
| 282 |
// The requesting user must have permission to push images the project. |
| 283 |
OutputUri string `protobuf:"bytes,1,opt,name=output_uri,json=outputUri,proto3" json:"output_uri,omitempty"` |
| 284 |
} |
| 285 |
|
| 286 |
func (x *GcrDestination) Reset() { |
| 287 |
*x = GcrDestination{} |
| 288 |
if protoimpl.UnsafeEnabled { |
| 289 |
mi := &file_google_cloud_visualinspection_v1beta1_solution_artifact_proto_msgTypes[1] |
| 290 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 291 |
ms.StoreMessageInfo(mi) |
| 292 |
} |
| 293 |
} |
| 294 |
|
| 295 |
func (x *GcrDestination) String() string { |
| 296 |
return protoimpl.X.MessageStringOf(x) |
| 297 |
} |
| 298 |
|
| 299 |
func (*GcrDestination) ProtoMessage() {} |
| 300 |
|
| 301 |
func (x *GcrDestination) ProtoReflect() protoreflect.Message { |
| 302 |
mi := &file_google_cloud_visualinspection_v1beta1_solution_artifact_proto_msgTypes[1] |
| 303 |
if protoimpl.UnsafeEnabled && x != nil { |
| 304 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 305 |
if ms.LoadMessageInfo() == nil { |
| 306 |
ms.StoreMessageInfo(mi) |
| 307 |
} |
| 308 |
return ms |
| 309 |
} |
| 310 |
return mi.MessageOf(x) |
| 311 |
} |
| 312 |
|
| 313 |
// Deprecated: Use GcrDestination.ProtoReflect.Descriptor instead. |
| 314 |
func (*GcrDestination) Descriptor() ([]byte, []int) { |
| 315 |
return file_google_cloud_visualinspection_v1beta1_solution_artifact_proto_rawDescGZIP(), []int{1} |
| 316 |
} |
| 317 |
|
| 318 |
func (x *GcrDestination) GetOutputUri() string { |
| 319 |
if x != nil { |
| 320 |
return x.OutputUri |
| 321 |
} |
| 322 |
return "" |
| 323 |
} |
| 324 |
|
| 325 |
var File_google_cloud_visualinspection_v1beta1_solution_artifact_proto protoreflect.FileDescriptor |
| 326 |
|
| 327 |
var file_google_cloud_visualinspection_v1beta1_solution_artifact_proto_rawDesc = []byte{ |
| 328 |
0x0a, 0x3d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x76, |
| 329 |
0x69, 0x73, 0x75, 0x61, 0x6c, 0x69, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2f, |
| 330 |
0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, |
| 331 |
0x5f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, |
| 332 |
0x25, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, |
| 333 |
0x73, 0x75, 0x61, 0x6c, 0x69, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, |
| 334 |
0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, |
| 335 |
0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, |
| 336 |
0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, |
| 337 |
0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, |
| 338 |
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, |
| 339 |
0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, |
| 340 |
0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, |
| 341 |
0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, |
| 342 |
0x6f, 0x22, 0x98, 0x07, 0x0a, 0x10, 0x53, 0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x72, |
| 343 |
0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x12, 0x73, 0x0a, 0x19, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, |
| 344 |
0x6e, 0x65, 0x72, 0x5f, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, |
| 345 |
0x69, 0x6f, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 346 |
0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x75, 0x61, 0x6c, 0x69, |
| 347 |
0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, |
| 348 |
0x31, 0x2e, 0x47, 0x63, 0x72, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, |
| 349 |
0x48, 0x00, 0x52, 0x17, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x45, 0x78, 0x70, |
| 350 |
0x6f, 0x72, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x39, 0x0a, 0x18, 0x70, |
| 351 |
0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x64, 0x5f, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x5f, |
| 352 |
0x67, 0x63, 0x73, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, |
| 353 |
0x15, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x64, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, |
| 354 |
0x47, 0x63, 0x73, 0x55, 0x72, 0x69, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, |
| 355 |
0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, |
| 356 |
0x40, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, |
| 357 |
0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, |
| 358 |
0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, |
| 359 |
0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, |
| 360 |
0x65, 0x12, 0x26, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, |
| 361 |
0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0b, 0x64, 0x69, |
| 362 |
0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, |
| 363 |
0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, |
| 364 |
0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x5b, 0x0a, 0x06, 0x6c, |
| 365 |
0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x43, 0x2e, 0x67, 0x6f, |
| 366 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x75, 0x61, |
| 367 |
0x6c, 0x69, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, |
| 368 |
0x74, 0x61, 0x31, 0x2e, 0x53, 0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x72, 0x74, 0x69, |
| 369 |
0x66, 0x61, 0x63, 0x74, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, |
| 370 |
0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x6f, 0x64, 0x65, |
| 371 |
0x6c, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, |
| 372 |
0x12, 0x68, 0x0a, 0x0b, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, |
| 373 |
0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x42, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, |
| 374 |
0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x75, 0x61, 0x6c, 0x69, 0x6e, 0x73, 0x70, 0x65, |
| 375 |
0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x6f, |
| 376 |
0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x2e, 0x45, |
| 377 |
0x78, 0x70, 0x6f, 0x72, 0x74, 0x54, 0x79, 0x70, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, |
| 378 |
0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x54, 0x79, 0x70, 0x65, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, |
| 379 |
0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, |
| 380 |
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, |
| 381 |
0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, |
| 382 |
0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x65, 0x0a, 0x0a, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x54, |
| 383 |
0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x17, 0x45, 0x58, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x54, 0x59, |
| 384 |
0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, |
| 385 |
0x12, 0x11, 0x0a, 0x0d, 0x43, 0x50, 0x55, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x41, 0x49, 0x4e, 0x45, |
| 386 |
0x52, 0x10, 0x01, 0x12, 0x11, 0x0a, 0x0d, 0x47, 0x50, 0x55, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x41, |
| 387 |
0x49, 0x4e, 0x45, 0x52, 0x10, 0x02, 0x12, 0x14, 0x0a, 0x10, 0x50, 0x41, 0x43, 0x4b, 0x41, 0x47, |
| 388 |
0x45, 0x44, 0x5f, 0x41, 0x52, 0x43, 0x48, 0x49, 0x56, 0x45, 0x10, 0x03, 0x3a, 0x9a, 0x01, 0xea, |
| 389 |
0x41, 0x96, 0x01, 0x0a, 0x30, 0x76, 0x69, 0x73, 0x75, 0x61, 0x6c, 0x69, 0x6e, 0x73, 0x70, 0x65, |
| 390 |
0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, |
| 391 |
0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x53, 0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x72, 0x74, |
| 392 |
0x69, 0x66, 0x61, 0x63, 0x74, 0x12, 0x62, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, |
| 393 |
0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, |
| 394 |
0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x73, |
| 395 |
0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x69, |
| 396 |
0x6f, 0x6e, 0x7d, 0x2f, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x72, 0x74, 0x69, |
| 397 |
0x66, 0x61, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, |
| 398 |
0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x7d, 0x42, 0x11, 0x0a, 0x0f, 0x65, 0x78, 0x70, |
| 399 |
0x6f, 0x72, 0x74, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x34, 0x0a, 0x0e, |
| 400 |
0x47, 0x63, 0x72, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x22, |
| 401 |
0x0a, 0x0a, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, |
| 402 |
0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x09, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x55, |
| 403 |
0x72, 0x69, 0x42, 0xff, 0x01, 0x0a, 0x29, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 404 |
0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x75, 0x61, 0x6c, 0x69, 0x6e, |
| 405 |
0x73, 0x70, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, |
| 406 |
0x50, 0x01, 0x5a, 0x55, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, |
| 407 |
0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, |
| 408 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, |
| 409 |
0x76, 0x69, 0x73, 0x75, 0x61, 0x6c, 0x69, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, |
| 410 |
0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b, 0x76, 0x69, 0x73, 0x75, 0x61, 0x6c, 0x69, |
| 411 |
0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0xaa, 0x02, 0x25, 0x47, 0x6f, 0x6f, 0x67, |
| 412 |
0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x56, 0x69, 0x73, 0x75, 0x61, 0x6c, 0x49, |
| 413 |
0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x56, 0x31, 0x42, 0x65, 0x74, 0x61, |
| 414 |
0x31, 0xca, 0x02, 0x25, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, |
| 415 |
0x5c, 0x56, 0x69, 0x73, 0x75, 0x61, 0x6c, 0x49, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x69, 0x6f, |
| 416 |
0x6e, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xea, 0x02, 0x28, 0x47, 0x6f, 0x6f, 0x67, |
| 417 |
0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x56, 0x69, 0x73, 0x75, 0x61, |
| 418 |
0x6c, 0x49, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x3a, 0x56, 0x31, 0x62, |
| 419 |
0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 420 |
} |
| 421 |
|
| 422 |
var ( |
| 423 |
file_google_cloud_visualinspection_v1beta1_solution_artifact_proto_rawDescOnce sync.Once |
| 424 |
file_google_cloud_visualinspection_v1beta1_solution_artifact_proto_rawDescData = file_google_cloud_visualinspection_v1beta1_solution_artifact_proto_rawDesc |
| 425 |
) |
| 426 |
|
| 427 |
func file_google_cloud_visualinspection_v1beta1_solution_artifact_proto_rawDescGZIP() []byte { |
| 428 |
file_google_cloud_visualinspection_v1beta1_solution_artifact_proto_rawDescOnce.Do(func() { |
| 429 |
file_google_cloud_visualinspection_v1beta1_solution_artifact_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_visualinspection_v1beta1_solution_artifact_proto_rawDescData) |
| 430 |
}) |
| 431 |
return file_google_cloud_visualinspection_v1beta1_solution_artifact_proto_rawDescData |
| 432 |
} |
| 433 |
|
| 434 |
var file_google_cloud_visualinspection_v1beta1_solution_artifact_proto_enumTypes = make([]protoimpl.EnumInfo, 1) |
| 435 |
var file_google_cloud_visualinspection_v1beta1_solution_artifact_proto_msgTypes = make([]protoimpl.MessageInfo, 3) |
| 436 |
var file_google_cloud_visualinspection_v1beta1_solution_artifact_proto_goTypes = []interface{}{ |
| 437 |
(SolutionArtifact_ExportType)(0), // 0: google.cloud.visualinspection.v1beta1.SolutionArtifact.ExportType |
| 438 |
(*SolutionArtifact)(nil), // 1: google.cloud.visualinspection.v1beta1.SolutionArtifact |
| 439 |
(*GcrDestination)(nil), // 2: google.cloud.visualinspection.v1beta1.GcrDestination |
| 440 |
nil, // 3: google.cloud.visualinspection.v1beta1.SolutionArtifact.LabelsEntry |
| 441 |
(*timestamppb.Timestamp)(nil), // 4: google.protobuf.Timestamp |
| 442 |
} |
| 443 |
var file_google_cloud_visualinspection_v1beta1_solution_artifact_proto_depIdxs = []int32{ |
| 444 |
2, // 0: google.cloud.visualinspection.v1beta1.SolutionArtifact.container_export_location:type_name -> google.cloud.visualinspection.v1beta1.GcrDestination |
| 445 |
4, // 1: google.cloud.visualinspection.v1beta1.SolutionArtifact.create_time:type_name -> google.protobuf.Timestamp |
| 446 |
3, // 2: google.cloud.visualinspection.v1beta1.SolutionArtifact.labels:type_name -> google.cloud.visualinspection.v1beta1.SolutionArtifact.LabelsEntry |
| 447 |
0, // 3: google.cloud.visualinspection.v1beta1.SolutionArtifact.export_type:type_name -> google.cloud.visualinspection.v1beta1.SolutionArtifact.ExportType |
| 448 |
4, // [4:4] is the sub-list for method output_type |
| 449 |
4, // [4:4] is the sub-list for method input_type |
| 450 |
4, // [4:4] is the sub-list for extension type_name |
| 451 |
4, // [4:4] is the sub-list for extension extendee |
| 452 |
0, // [0:4] is the sub-list for field type_name |
| 453 |
} |
| 454 |
|
| 455 |
func init() { file_google_cloud_visualinspection_v1beta1_solution_artifact_proto_init() } |
| 456 |
func file_google_cloud_visualinspection_v1beta1_solution_artifact_proto_init() { |
| 457 |
if File_google_cloud_visualinspection_v1beta1_solution_artifact_proto != nil { |
| 458 |
return |
| 459 |
} |
| 460 |
if !protoimpl.UnsafeEnabled { |
| 461 |
file_google_cloud_visualinspection_v1beta1_solution_artifact_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| 462 |
switch v := v.(*SolutionArtifact); i { |
| 463 |
case 0: |
| 464 |
return &v.state |
| 465 |
case 1: |
| 466 |
return &v.sizeCache |
| 467 |
case 2: |
| 468 |
return &v.unknownFields |
| 469 |
default: |
| 470 |
return nil |
| 471 |
} |
| 472 |
} |
| 473 |
file_google_cloud_visualinspection_v1beta1_solution_artifact_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| 474 |
switch v := v.(*GcrDestination); i { |
| 475 |
case 0: |
| 476 |
return &v.state |
| 477 |
case 1: |
| 478 |
return &v.sizeCache |
| 479 |
case 2: |
| 480 |
return &v.unknownFields |
| 481 |
default: |
| 482 |
return nil |
| 483 |
} |
| 484 |
} |
| 485 |
} |
| 486 |
file_google_cloud_visualinspection_v1beta1_solution_artifact_proto_msgTypes[0].OneofWrappers = []interface{}{ |
| 487 |
(*SolutionArtifact_ContainerExportLocation)(nil), |
| 488 |
(*SolutionArtifact_PackagedArchiveGcsUri)(nil), |
| 489 |
} |
| 490 |
type x struct{} |
| 491 |
out := protoimpl.TypeBuilder{ |
| 492 |
File: protoimpl.DescBuilder{ |
| 493 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 494 |
RawDescriptor: file_google_cloud_visualinspection_v1beta1_solution_artifact_proto_rawDesc, |
| 495 |
NumEnums: 1, |
| 496 |
NumMessages: 3, |
| 497 |
NumExtensions: 0, |
| 498 |
NumServices: 0, |
| 499 |
}, |
| 500 |
GoTypes: file_google_cloud_visualinspection_v1beta1_solution_artifact_proto_goTypes, |
| 501 |
DependencyIndexes: file_google_cloud_visualinspection_v1beta1_solution_artifact_proto_depIdxs, |
| 502 |
EnumInfos: file_google_cloud_visualinspection_v1beta1_solution_artifact_proto_enumTypes, |
| 503 |
MessageInfos: file_google_cloud_visualinspection_v1beta1_solution_artifact_proto_msgTypes, |
| 504 |
}.Build() |
| 505 |
File_google_cloud_visualinspection_v1beta1_solution_artifact_proto = out.File |
| 506 |
file_google_cloud_visualinspection_v1beta1_solution_artifact_proto_rawDesc = nil |
| 507 |
file_google_cloud_visualinspection_v1beta1_solution_artifact_proto_goTypes = nil |
| 508 |
file_google_cloud_visualinspection_v1beta1_solution_artifact_proto_depIdxs = nil |
| 509 |
} |