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/io.proto 20 21package visualinspection 22 23import ( 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) 32 33const ( 34 // Verify that this generated code is sufficiently up-to-date. 35 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 36 // Verify that runtime/protoimpl is sufficiently up-to-date. 37 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 38) 39 40// This is a compile-time assertion that a sufficiently up-to-date version 41// of the legacy proto package is being used. 42const _ = proto.ProtoPackageIsVersion4 43 44// The Google Cloud Storage location for the input content. 45type GcsSource struct { 46 state protoimpl.MessageState 47 sizeCache protoimpl.SizeCache 48 unknownFields protoimpl.UnknownFields 49 50 // Required. Reference to a Google Cloud Storage path. 51 Uris []string `protobuf:"bytes,1,rep,name=uris,proto3" json:"uris,omitempty"` 52} 53 54func (x *GcsSource) Reset() { 55 *x = GcsSource{} 56 if protoimpl.UnsafeEnabled { 57 mi := &file_google_cloud_visualinspection_v1beta1_io_proto_msgTypes[0] 58 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 59 ms.StoreMessageInfo(mi) 60 } 61} 62 63func (x *GcsSource) String() string { 64 return protoimpl.X.MessageStringOf(x) 65} 66 67func (*GcsSource) ProtoMessage() {} 68 69func (x *GcsSource) ProtoReflect() protoreflect.Message { 70 mi := &file_google_cloud_visualinspection_v1beta1_io_proto_msgTypes[0] 71 if protoimpl.UnsafeEnabled && x != nil { 72 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 73 if ms.LoadMessageInfo() == nil { 74 ms.StoreMessageInfo(mi) 75 } 76 return ms 77 } 78 return mi.MessageOf(x) 79} 80 81// Deprecated: Use GcsSource.ProtoReflect.Descriptor instead. 82func (*GcsSource) Descriptor() ([]byte, []int) { 83 return file_google_cloud_visualinspection_v1beta1_io_proto_rawDescGZIP(), []int{0} 84} 85 86func (x *GcsSource) GetUris() []string { 87 if x != nil { 88 return x.Uris 89 } 90 return nil 91} 92 93// The Google Cloud Storage location where the output is to be written to. 94type GcsDestination struct { 95 state protoimpl.MessageState 96 sizeCache protoimpl.SizeCache 97 unknownFields protoimpl.UnknownFields 98 99 // Required. Google Cloud Storage URI to output directory. If the uri doesn't 100 // end with 101 // '/', a '/' will be automatically appended. The directory is created if it 102 // doesn't exist. 103 OutputUriPrefix string `protobuf:"bytes,1,opt,name=output_uri_prefix,json=outputUriPrefix,proto3" json:"output_uri_prefix,omitempty"` 104} 105 106func (x *GcsDestination) Reset() { 107 *x = GcsDestination{} 108 if protoimpl.UnsafeEnabled { 109 mi := &file_google_cloud_visualinspection_v1beta1_io_proto_msgTypes[1] 110 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 111 ms.StoreMessageInfo(mi) 112 } 113} 114 115func (x *GcsDestination) String() string { 116 return protoimpl.X.MessageStringOf(x) 117} 118 119func (*GcsDestination) ProtoMessage() {} 120 121func (x *GcsDestination) ProtoReflect() protoreflect.Message { 122 mi := &file_google_cloud_visualinspection_v1beta1_io_proto_msgTypes[1] 123 if protoimpl.UnsafeEnabled && x != nil { 124 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 125 if ms.LoadMessageInfo() == nil { 126 ms.StoreMessageInfo(mi) 127 } 128 return ms 129 } 130 return mi.MessageOf(x) 131} 132 133// Deprecated: Use GcsDestination.ProtoReflect.Descriptor instead. 134func (*GcsDestination) Descriptor() ([]byte, []int) { 135 return file_google_cloud_visualinspection_v1beta1_io_proto_rawDescGZIP(), []int{1} 136} 137 138func (x *GcsDestination) GetOutputUriPrefix() string { 139 if x != nil { 140 return x.OutputUriPrefix 141 } 142 return "" 143} 144 145var File_google_cloud_visualinspection_v1beta1_io_proto protoreflect.FileDescriptor 146 147var file_google_cloud_visualinspection_v1beta1_io_proto_rawDesc = []byte{ 148 0x0a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x76, 149 0x69, 0x73, 0x75, 0x61, 0x6c, 0x69, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 150 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x69, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 151 0x12, 0x25, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 152 0x69, 0x73, 0x75, 0x61, 0x6c, 0x69, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 153 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 154 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 155 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 156 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 157 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x24, 0x0a, 0x09, 0x47, 0x63, 0x73, 0x53, 0x6f, 0x75, 158 0x72, 0x63, 0x65, 0x12, 0x17, 0x0a, 0x04, 0x75, 0x72, 0x69, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 159 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x75, 0x72, 0x69, 0x73, 0x22, 0x41, 0x0a, 0x0e, 160 0x47, 0x63, 0x73, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2f, 161 0x0a, 0x11, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x75, 0x72, 0x69, 0x5f, 0x70, 0x72, 0x65, 162 0x66, 0x69, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0f, 163 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x55, 0x72, 0x69, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x42, 164 0xff, 0x01, 0x0a, 0x29, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 165 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x75, 0x61, 0x6c, 0x69, 0x6e, 0x73, 0x70, 0x65, 166 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x50, 0x01, 0x5a, 167 0x55, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 168 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 169 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x76, 0x69, 0x73, 170 0x75, 0x61, 0x6c, 0x69, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 171 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b, 0x76, 0x69, 0x73, 0x75, 0x61, 0x6c, 0x69, 0x6e, 0x73, 0x70, 172 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0xaa, 0x02, 0x25, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 173 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x56, 0x69, 0x73, 0x75, 0x61, 0x6c, 0x49, 0x6e, 0x73, 0x70, 174 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x56, 0x31, 0x42, 0x65, 0x74, 0x61, 0x31, 0xca, 0x02, 175 0x25, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x56, 0x69, 176 0x73, 0x75, 0x61, 0x6c, 0x49, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5c, 0x56, 177 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xea, 0x02, 0x28, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 178 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x56, 0x69, 0x73, 0x75, 0x61, 0x6c, 0x49, 0x6e, 179 0x73, 0x70, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 180 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 181} 182 183var ( 184 file_google_cloud_visualinspection_v1beta1_io_proto_rawDescOnce sync.Once 185 file_google_cloud_visualinspection_v1beta1_io_proto_rawDescData = file_google_cloud_visualinspection_v1beta1_io_proto_rawDesc 186) 187 188func file_google_cloud_visualinspection_v1beta1_io_proto_rawDescGZIP() []byte { 189 file_google_cloud_visualinspection_v1beta1_io_proto_rawDescOnce.Do(func() { 190 file_google_cloud_visualinspection_v1beta1_io_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_visualinspection_v1beta1_io_proto_rawDescData) 191 }) 192 return file_google_cloud_visualinspection_v1beta1_io_proto_rawDescData 193} 194 195var file_google_cloud_visualinspection_v1beta1_io_proto_msgTypes = make([]protoimpl.MessageInfo, 2) 196var file_google_cloud_visualinspection_v1beta1_io_proto_goTypes = []interface{}{ 197 (*GcsSource)(nil), // 0: google.cloud.visualinspection.v1beta1.GcsSource 198 (*GcsDestination)(nil), // 1: google.cloud.visualinspection.v1beta1.GcsDestination 199} 200var file_google_cloud_visualinspection_v1beta1_io_proto_depIdxs = []int32{ 201 0, // [0:0] is the sub-list for method output_type 202 0, // [0:0] is the sub-list for method input_type 203 0, // [0:0] is the sub-list for extension type_name 204 0, // [0:0] is the sub-list for extension extendee 205 0, // [0:0] is the sub-list for field type_name 206} 207 208func init() { file_google_cloud_visualinspection_v1beta1_io_proto_init() } 209func file_google_cloud_visualinspection_v1beta1_io_proto_init() { 210 if File_google_cloud_visualinspection_v1beta1_io_proto != nil { 211 return 212 } 213 if !protoimpl.UnsafeEnabled { 214 file_google_cloud_visualinspection_v1beta1_io_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 215 switch v := v.(*GcsSource); i { 216 case 0: 217 return &v.state 218 case 1: 219 return &v.sizeCache 220 case 2: 221 return &v.unknownFields 222 default: 223 return nil 224 } 225 } 226 file_google_cloud_visualinspection_v1beta1_io_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 227 switch v := v.(*GcsDestination); i { 228 case 0: 229 return &v.state 230 case 1: 231 return &v.sizeCache 232 case 2: 233 return &v.unknownFields 234 default: 235 return nil 236 } 237 } 238 } 239 type x struct{} 240 out := protoimpl.TypeBuilder{ 241 File: protoimpl.DescBuilder{ 242 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 243 RawDescriptor: file_google_cloud_visualinspection_v1beta1_io_proto_rawDesc, 244 NumEnums: 0, 245 NumMessages: 2, 246 NumExtensions: 0, 247 NumServices: 0, 248 }, 249 GoTypes: file_google_cloud_visualinspection_v1beta1_io_proto_goTypes, 250 DependencyIndexes: file_google_cloud_visualinspection_v1beta1_io_proto_depIdxs, 251 MessageInfos: file_google_cloud_visualinspection_v1beta1_io_proto_msgTypes, 252 }.Build() 253 File_google_cloud_visualinspection_v1beta1_io_proto = out.File 254 file_google_cloud_visualinspection_v1beta1_io_proto_rawDesc = nil 255 file_google_cloud_visualinspection_v1beta1_io_proto_goTypes = nil 256 file_google_cloud_visualinspection_v1beta1_io_proto_depIdxs = nil 257} 258