1// Copyright 2021 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-devel 18// protoc v3.13.0 19// source: google/cloud/aiplatform/v1beta1/dataset.proto 20 21package aiplatform 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 structpb "google.golang.org/protobuf/types/known/structpb" 32 timestamppb "google.golang.org/protobuf/types/known/timestamppb" 33) 34 35const ( 36 // Verify that this generated code is sufficiently up-to-date. 37 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 38 // Verify that runtime/protoimpl is sufficiently up-to-date. 39 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 40) 41 42// This is a compile-time assertion that a sufficiently up-to-date version 43// of the legacy proto package is being used. 44const _ = proto.ProtoPackageIsVersion4 45 46// A collection of DataItems and Annotations on them. 47type Dataset struct { 48 state protoimpl.MessageState 49 sizeCache protoimpl.SizeCache 50 unknownFields protoimpl.UnknownFields 51 52 // Output only. The resource name of the Dataset. 53 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 54 // Required. The user-defined name of the Dataset. 55 // The name can be up to 128 characters long and can be consist of any UTF-8 56 // characters. 57 DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` 58 // Required. Points to a YAML file stored on Google Cloud Storage describing additional 59 // information about the Dataset. 60 // The schema is defined as an OpenAPI 3.0.2 Schema Object. 61 // The schema files that can be used here are found in 62 // gs://google-cloud-aiplatform/schema/dataset/metadata/. 63 MetadataSchemaUri string `protobuf:"bytes,3,opt,name=metadata_schema_uri,json=metadataSchemaUri,proto3" json:"metadata_schema_uri,omitempty"` 64 // Required. Additional information about the Dataset. 65 Metadata *structpb.Value `protobuf:"bytes,8,opt,name=metadata,proto3" json:"metadata,omitempty"` 66 // Output only. Timestamp when this Dataset was created. 67 CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` 68 // Output only. Timestamp when this Dataset was last updated. 69 UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` 70 // Used to perform consistent read-modify-write updates. If not set, a blind 71 // "overwrite" update happens. 72 Etag string `protobuf:"bytes,6,opt,name=etag,proto3" json:"etag,omitempty"` 73 // The labels with user-defined metadata to organize your Datasets. 74 // 75 // Label keys and values can be no longer than 64 characters 76 // (Unicode codepoints), can only contain lowercase letters, numeric 77 // characters, underscores and dashes. International characters are allowed. 78 // No more than 64 user labels can be associated with one Dataset (System 79 // labels are excluded). 80 // 81 // See https://goo.gl/xmQnxf for more information and examples of labels. 82 // System reserved label keys are prefixed with "aiplatform.googleapis.com/" 83 // and are immutable. Following system labels exist for each Dataset: 84 // 85 // * "aiplatform.googleapis.com/dataset_metadata_schema": output only, its 86 // value is the [metadata_schema's][google.cloud.aiplatform.v1beta1.Dataset.metadata_schema_uri] title. 87 Labels map[string]string `protobuf:"bytes,7,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 88 // Customer-managed encryption key spec for a Dataset. If set, this Dataset 89 // and all sub-resources of this Dataset will be secured by this key. 90 EncryptionSpec *EncryptionSpec `protobuf:"bytes,11,opt,name=encryption_spec,json=encryptionSpec,proto3" json:"encryption_spec,omitempty"` 91} 92 93func (x *Dataset) Reset() { 94 *x = Dataset{} 95 if protoimpl.UnsafeEnabled { 96 mi := &file_google_cloud_aiplatform_v1beta1_dataset_proto_msgTypes[0] 97 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 98 ms.StoreMessageInfo(mi) 99 } 100} 101 102func (x *Dataset) String() string { 103 return protoimpl.X.MessageStringOf(x) 104} 105 106func (*Dataset) ProtoMessage() {} 107 108func (x *Dataset) ProtoReflect() protoreflect.Message { 109 mi := &file_google_cloud_aiplatform_v1beta1_dataset_proto_msgTypes[0] 110 if protoimpl.UnsafeEnabled && x != nil { 111 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 112 if ms.LoadMessageInfo() == nil { 113 ms.StoreMessageInfo(mi) 114 } 115 return ms 116 } 117 return mi.MessageOf(x) 118} 119 120// Deprecated: Use Dataset.ProtoReflect.Descriptor instead. 121func (*Dataset) Descriptor() ([]byte, []int) { 122 return file_google_cloud_aiplatform_v1beta1_dataset_proto_rawDescGZIP(), []int{0} 123} 124 125func (x *Dataset) GetName() string { 126 if x != nil { 127 return x.Name 128 } 129 return "" 130} 131 132func (x *Dataset) GetDisplayName() string { 133 if x != nil { 134 return x.DisplayName 135 } 136 return "" 137} 138 139func (x *Dataset) GetMetadataSchemaUri() string { 140 if x != nil { 141 return x.MetadataSchemaUri 142 } 143 return "" 144} 145 146func (x *Dataset) GetMetadata() *structpb.Value { 147 if x != nil { 148 return x.Metadata 149 } 150 return nil 151} 152 153func (x *Dataset) GetCreateTime() *timestamppb.Timestamp { 154 if x != nil { 155 return x.CreateTime 156 } 157 return nil 158} 159 160func (x *Dataset) GetUpdateTime() *timestamppb.Timestamp { 161 if x != nil { 162 return x.UpdateTime 163 } 164 return nil 165} 166 167func (x *Dataset) GetEtag() string { 168 if x != nil { 169 return x.Etag 170 } 171 return "" 172} 173 174func (x *Dataset) GetLabels() map[string]string { 175 if x != nil { 176 return x.Labels 177 } 178 return nil 179} 180 181func (x *Dataset) GetEncryptionSpec() *EncryptionSpec { 182 if x != nil { 183 return x.EncryptionSpec 184 } 185 return nil 186} 187 188// Describes the location from where we import data into a Dataset, together 189// with the labels that will be applied to the DataItems and the Annotations. 190type ImportDataConfig struct { 191 state protoimpl.MessageState 192 sizeCache protoimpl.SizeCache 193 unknownFields protoimpl.UnknownFields 194 195 // The source of the input. 196 // 197 // Types that are assignable to Source: 198 // *ImportDataConfig_GcsSource 199 Source isImportDataConfig_Source `protobuf_oneof:"source"` 200 // Labels that will be applied to newly imported DataItems. If an identical 201 // DataItem as one being imported already exists in the Dataset, then these 202 // labels will be appended to these of the already existing one, and if labels 203 // with identical key is imported before, the old label value will be 204 // overwritten. If two DataItems are identical in the same import data 205 // operation, the labels will be combined and if key collision happens in this 206 // case, one of the values will be picked randomly. Two DataItems are 207 // considered identical if their content bytes are identical (e.g. image bytes 208 // or pdf bytes). 209 // These labels will be overridden by Annotation labels specified inside index 210 // file referenced by [import_schema_uri][google.cloud.aiplatform.v1beta1.ImportDataConfig.import_schema_uri], e.g. jsonl file. 211 DataItemLabels map[string]string `protobuf:"bytes,2,rep,name=data_item_labels,json=dataItemLabels,proto3" json:"data_item_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 212 // Required. Points to a YAML file stored on Google Cloud Storage describing the import 213 // format. Validation will be done against the schema. The schema is defined 214 // as an [OpenAPI 3.0.2 Schema Object](https://tinyurl.com/y538mdwt). 215 ImportSchemaUri string `protobuf:"bytes,4,opt,name=import_schema_uri,json=importSchemaUri,proto3" json:"import_schema_uri,omitempty"` 216} 217 218func (x *ImportDataConfig) Reset() { 219 *x = ImportDataConfig{} 220 if protoimpl.UnsafeEnabled { 221 mi := &file_google_cloud_aiplatform_v1beta1_dataset_proto_msgTypes[1] 222 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 223 ms.StoreMessageInfo(mi) 224 } 225} 226 227func (x *ImportDataConfig) String() string { 228 return protoimpl.X.MessageStringOf(x) 229} 230 231func (*ImportDataConfig) ProtoMessage() {} 232 233func (x *ImportDataConfig) ProtoReflect() protoreflect.Message { 234 mi := &file_google_cloud_aiplatform_v1beta1_dataset_proto_msgTypes[1] 235 if protoimpl.UnsafeEnabled && x != nil { 236 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 237 if ms.LoadMessageInfo() == nil { 238 ms.StoreMessageInfo(mi) 239 } 240 return ms 241 } 242 return mi.MessageOf(x) 243} 244 245// Deprecated: Use ImportDataConfig.ProtoReflect.Descriptor instead. 246func (*ImportDataConfig) Descriptor() ([]byte, []int) { 247 return file_google_cloud_aiplatform_v1beta1_dataset_proto_rawDescGZIP(), []int{1} 248} 249 250func (m *ImportDataConfig) GetSource() isImportDataConfig_Source { 251 if m != nil { 252 return m.Source 253 } 254 return nil 255} 256 257func (x *ImportDataConfig) GetGcsSource() *GcsSource { 258 if x, ok := x.GetSource().(*ImportDataConfig_GcsSource); ok { 259 return x.GcsSource 260 } 261 return nil 262} 263 264func (x *ImportDataConfig) GetDataItemLabels() map[string]string { 265 if x != nil { 266 return x.DataItemLabels 267 } 268 return nil 269} 270 271func (x *ImportDataConfig) GetImportSchemaUri() string { 272 if x != nil { 273 return x.ImportSchemaUri 274 } 275 return "" 276} 277 278type isImportDataConfig_Source interface { 279 isImportDataConfig_Source() 280} 281 282type ImportDataConfig_GcsSource struct { 283 // The Google Cloud Storage location for the input content. 284 GcsSource *GcsSource `protobuf:"bytes,1,opt,name=gcs_source,json=gcsSource,proto3,oneof"` 285} 286 287func (*ImportDataConfig_GcsSource) isImportDataConfig_Source() {} 288 289// Describes what part of the Dataset is to be exported, the destination of 290// the export and how to export. 291type ExportDataConfig struct { 292 state protoimpl.MessageState 293 sizeCache protoimpl.SizeCache 294 unknownFields protoimpl.UnknownFields 295 296 // The destination of the output. 297 // 298 // Types that are assignable to Destination: 299 // *ExportDataConfig_GcsDestination 300 Destination isExportDataConfig_Destination `protobuf_oneof:"destination"` 301 // A filter on Annotations of the Dataset. Only Annotations on to-be-exported 302 // DataItems(specified by [data_items_filter][]) that match this filter will 303 // be exported. The filter syntax is the same as in 304 // [ListAnnotations][google.cloud.aiplatform.v1beta1.DatasetService.ListAnnotations]. 305 AnnotationsFilter string `protobuf:"bytes,2,opt,name=annotations_filter,json=annotationsFilter,proto3" json:"annotations_filter,omitempty"` 306} 307 308func (x *ExportDataConfig) Reset() { 309 *x = ExportDataConfig{} 310 if protoimpl.UnsafeEnabled { 311 mi := &file_google_cloud_aiplatform_v1beta1_dataset_proto_msgTypes[2] 312 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 313 ms.StoreMessageInfo(mi) 314 } 315} 316 317func (x *ExportDataConfig) String() string { 318 return protoimpl.X.MessageStringOf(x) 319} 320 321func (*ExportDataConfig) ProtoMessage() {} 322 323func (x *ExportDataConfig) ProtoReflect() protoreflect.Message { 324 mi := &file_google_cloud_aiplatform_v1beta1_dataset_proto_msgTypes[2] 325 if protoimpl.UnsafeEnabled && x != nil { 326 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 327 if ms.LoadMessageInfo() == nil { 328 ms.StoreMessageInfo(mi) 329 } 330 return ms 331 } 332 return mi.MessageOf(x) 333} 334 335// Deprecated: Use ExportDataConfig.ProtoReflect.Descriptor instead. 336func (*ExportDataConfig) Descriptor() ([]byte, []int) { 337 return file_google_cloud_aiplatform_v1beta1_dataset_proto_rawDescGZIP(), []int{2} 338} 339 340func (m *ExportDataConfig) GetDestination() isExportDataConfig_Destination { 341 if m != nil { 342 return m.Destination 343 } 344 return nil 345} 346 347func (x *ExportDataConfig) GetGcsDestination() *GcsDestination { 348 if x, ok := x.GetDestination().(*ExportDataConfig_GcsDestination); ok { 349 return x.GcsDestination 350 } 351 return nil 352} 353 354func (x *ExportDataConfig) GetAnnotationsFilter() string { 355 if x != nil { 356 return x.AnnotationsFilter 357 } 358 return "" 359} 360 361type isExportDataConfig_Destination interface { 362 isExportDataConfig_Destination() 363} 364 365type ExportDataConfig_GcsDestination struct { 366 // The Google Cloud Storage location where the output is to be written to. 367 // In the given directory a new directory will be created with name: 368 // `export-data-<dataset-display-name>-<timestamp-of-export-call>` where 369 // timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. All export 370 // output will be written into that directory. Inside that directory, 371 // annotations with the same schema will be grouped into sub directories 372 // which are named with the corresponding annotations' schema title. Inside 373 // these sub directories, a schema.yaml will be created to describe the 374 // output format. 375 GcsDestination *GcsDestination `protobuf:"bytes,1,opt,name=gcs_destination,json=gcsDestination,proto3,oneof"` 376} 377 378func (*ExportDataConfig_GcsDestination) isExportDataConfig_Destination() {} 379 380var File_google_cloud_aiplatform_v1beta1_dataset_proto protoreflect.FileDescriptor 381 382var file_google_cloud_aiplatform_v1beta1_dataset_proto_rawDesc = []byte{ 383 0x0a, 0x2d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 384 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 385 0x31, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 386 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 387 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 388 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 389 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 390 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 391 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x35, 0x67, 0x6f, 392 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 393 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x65, 0x6e, 394 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x70, 0x72, 395 0x6f, 0x74, 0x6f, 0x1a, 0x28, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 396 0x64, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x62, 397 0x65, 0x74, 0x61, 0x31, 0x2f, 0x69, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 398 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 399 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 400 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 401 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 402 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 403 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x97, 0x05, 0x0a, 0x07, 0x44, 404 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 405 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 406 0x26, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 407 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 408 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x33, 0x0a, 0x13, 0x6d, 0x65, 0x74, 0x61, 0x64, 409 0x61, 0x74, 0x61, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x03, 410 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x11, 0x6d, 0x65, 0x74, 0x61, 0x64, 411 0x61, 0x74, 0x61, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x55, 0x72, 0x69, 0x12, 0x37, 0x0a, 0x08, 412 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 413 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 414 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x08, 0x6d, 0x65, 0x74, 415 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x40, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 416 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 417 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 418 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 419 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 420 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 421 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 422 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x75, 423 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x65, 0x74, 0x61, 424 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x65, 0x74, 0x61, 0x67, 0x12, 0x4c, 0x0a, 425 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 426 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 427 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 428 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 429 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x58, 0x0a, 0x0f, 0x65, 430 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x18, 0x0b, 431 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 432 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 433 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 434 0x6e, 0x53, 0x70, 0x65, 0x63, 0x52, 0x0e, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 435 0x6e, 0x53, 0x70, 0x65, 0x63, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 436 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 437 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 438 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 439 0x3a, 0x62, 0xea, 0x41, 0x5f, 0x0a, 0x21, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 440 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 441 0x2f, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x12, 0x3a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 442 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 443 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 444 0x7d, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x73, 0x2f, 0x7b, 0x64, 0x61, 0x74, 0x61, 445 0x73, 0x65, 0x74, 0x7d, 0x22, 0xce, 0x02, 0x0a, 0x10, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x44, 446 0x61, 0x74, 0x61, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x4b, 0x0a, 0x0a, 0x67, 0x63, 0x73, 447 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 448 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 449 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 450 0x47, 0x63, 0x73, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x48, 0x00, 0x52, 0x09, 0x67, 0x63, 0x73, 451 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x6f, 0x0a, 0x10, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x69, 452 0x74, 0x65, 0x6d, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 453 0x32, 0x45, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 454 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 455 0x61, 0x31, 0x2e, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x44, 0x61, 0x74, 0x61, 0x43, 0x6f, 0x6e, 456 0x66, 0x69, 0x67, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x49, 0x74, 0x65, 0x6d, 0x4c, 0x61, 0x62, 0x65, 457 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0e, 0x64, 0x61, 0x74, 0x61, 0x49, 0x74, 0x65, 458 0x6d, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x2f, 0x0a, 0x11, 0x69, 0x6d, 0x70, 0x6f, 0x72, 459 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x04, 0x20, 0x01, 460 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0f, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x53, 461 0x63, 0x68, 0x65, 0x6d, 0x61, 0x55, 0x72, 0x69, 0x1a, 0x41, 0x0a, 0x13, 0x44, 0x61, 0x74, 0x61, 462 0x49, 0x74, 0x65, 0x6d, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 463 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 464 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 465 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x08, 0x0a, 0x06, 0x73, 466 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, 0xac, 0x01, 0x0a, 0x10, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 467 0x44, 0x61, 0x74, 0x61, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x5a, 0x0a, 0x0f, 0x67, 0x63, 468 0x73, 0x5f, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 469 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 470 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 471 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x63, 0x73, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 472 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x0e, 0x67, 0x63, 0x73, 0x44, 0x65, 0x73, 0x74, 0x69, 473 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2d, 0x0a, 0x12, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 474 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 475 0x28, 0x09, 0x52, 0x11, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x46, 476 0x69, 0x6c, 0x74, 0x65, 0x72, 0x42, 0x0d, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 477 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x80, 0x01, 0x0a, 0x23, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 478 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 479 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x0c, 0x44, 0x61, 480 0x74, 0x61, 0x73, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x49, 0x67, 0x6f, 481 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 482 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 483 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 484 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b, 0x61, 0x69, 0x70, 485 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 486} 487 488var ( 489 file_google_cloud_aiplatform_v1beta1_dataset_proto_rawDescOnce sync.Once 490 file_google_cloud_aiplatform_v1beta1_dataset_proto_rawDescData = file_google_cloud_aiplatform_v1beta1_dataset_proto_rawDesc 491) 492 493func file_google_cloud_aiplatform_v1beta1_dataset_proto_rawDescGZIP() []byte { 494 file_google_cloud_aiplatform_v1beta1_dataset_proto_rawDescOnce.Do(func() { 495 file_google_cloud_aiplatform_v1beta1_dataset_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1beta1_dataset_proto_rawDescData) 496 }) 497 return file_google_cloud_aiplatform_v1beta1_dataset_proto_rawDescData 498} 499 500var file_google_cloud_aiplatform_v1beta1_dataset_proto_msgTypes = make([]protoimpl.MessageInfo, 5) 501var file_google_cloud_aiplatform_v1beta1_dataset_proto_goTypes = []interface{}{ 502 (*Dataset)(nil), // 0: google.cloud.aiplatform.v1beta1.Dataset 503 (*ImportDataConfig)(nil), // 1: google.cloud.aiplatform.v1beta1.ImportDataConfig 504 (*ExportDataConfig)(nil), // 2: google.cloud.aiplatform.v1beta1.ExportDataConfig 505 nil, // 3: google.cloud.aiplatform.v1beta1.Dataset.LabelsEntry 506 nil, // 4: google.cloud.aiplatform.v1beta1.ImportDataConfig.DataItemLabelsEntry 507 (*structpb.Value)(nil), // 5: google.protobuf.Value 508 (*timestamppb.Timestamp)(nil), // 6: google.protobuf.Timestamp 509 (*EncryptionSpec)(nil), // 7: google.cloud.aiplatform.v1beta1.EncryptionSpec 510 (*GcsSource)(nil), // 8: google.cloud.aiplatform.v1beta1.GcsSource 511 (*GcsDestination)(nil), // 9: google.cloud.aiplatform.v1beta1.GcsDestination 512} 513var file_google_cloud_aiplatform_v1beta1_dataset_proto_depIdxs = []int32{ 514 5, // 0: google.cloud.aiplatform.v1beta1.Dataset.metadata:type_name -> google.protobuf.Value 515 6, // 1: google.cloud.aiplatform.v1beta1.Dataset.create_time:type_name -> google.protobuf.Timestamp 516 6, // 2: google.cloud.aiplatform.v1beta1.Dataset.update_time:type_name -> google.protobuf.Timestamp 517 3, // 3: google.cloud.aiplatform.v1beta1.Dataset.labels:type_name -> google.cloud.aiplatform.v1beta1.Dataset.LabelsEntry 518 7, // 4: google.cloud.aiplatform.v1beta1.Dataset.encryption_spec:type_name -> google.cloud.aiplatform.v1beta1.EncryptionSpec 519 8, // 5: google.cloud.aiplatform.v1beta1.ImportDataConfig.gcs_source:type_name -> google.cloud.aiplatform.v1beta1.GcsSource 520 4, // 6: google.cloud.aiplatform.v1beta1.ImportDataConfig.data_item_labels:type_name -> google.cloud.aiplatform.v1beta1.ImportDataConfig.DataItemLabelsEntry 521 9, // 7: google.cloud.aiplatform.v1beta1.ExportDataConfig.gcs_destination:type_name -> google.cloud.aiplatform.v1beta1.GcsDestination 522 8, // [8:8] is the sub-list for method output_type 523 8, // [8:8] is the sub-list for method input_type 524 8, // [8:8] is the sub-list for extension type_name 525 8, // [8:8] is the sub-list for extension extendee 526 0, // [0:8] is the sub-list for field type_name 527} 528 529func init() { file_google_cloud_aiplatform_v1beta1_dataset_proto_init() } 530func file_google_cloud_aiplatform_v1beta1_dataset_proto_init() { 531 if File_google_cloud_aiplatform_v1beta1_dataset_proto != nil { 532 return 533 } 534 file_google_cloud_aiplatform_v1beta1_encryption_spec_proto_init() 535 file_google_cloud_aiplatform_v1beta1_io_proto_init() 536 if !protoimpl.UnsafeEnabled { 537 file_google_cloud_aiplatform_v1beta1_dataset_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 538 switch v := v.(*Dataset); i { 539 case 0: 540 return &v.state 541 case 1: 542 return &v.sizeCache 543 case 2: 544 return &v.unknownFields 545 default: 546 return nil 547 } 548 } 549 file_google_cloud_aiplatform_v1beta1_dataset_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 550 switch v := v.(*ImportDataConfig); i { 551 case 0: 552 return &v.state 553 case 1: 554 return &v.sizeCache 555 case 2: 556 return &v.unknownFields 557 default: 558 return nil 559 } 560 } 561 file_google_cloud_aiplatform_v1beta1_dataset_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 562 switch v := v.(*ExportDataConfig); i { 563 case 0: 564 return &v.state 565 case 1: 566 return &v.sizeCache 567 case 2: 568 return &v.unknownFields 569 default: 570 return nil 571 } 572 } 573 } 574 file_google_cloud_aiplatform_v1beta1_dataset_proto_msgTypes[1].OneofWrappers = []interface{}{ 575 (*ImportDataConfig_GcsSource)(nil), 576 } 577 file_google_cloud_aiplatform_v1beta1_dataset_proto_msgTypes[2].OneofWrappers = []interface{}{ 578 (*ExportDataConfig_GcsDestination)(nil), 579 } 580 type x struct{} 581 out := protoimpl.TypeBuilder{ 582 File: protoimpl.DescBuilder{ 583 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 584 RawDescriptor: file_google_cloud_aiplatform_v1beta1_dataset_proto_rawDesc, 585 NumEnums: 0, 586 NumMessages: 5, 587 NumExtensions: 0, 588 NumServices: 0, 589 }, 590 GoTypes: file_google_cloud_aiplatform_v1beta1_dataset_proto_goTypes, 591 DependencyIndexes: file_google_cloud_aiplatform_v1beta1_dataset_proto_depIdxs, 592 MessageInfos: file_google_cloud_aiplatform_v1beta1_dataset_proto_msgTypes, 593 }.Build() 594 File_google_cloud_aiplatform_v1beta1_dataset_proto = out.File 595 file_google_cloud_aiplatform_v1beta1_dataset_proto_rawDesc = nil 596 file_google_cloud_aiplatform_v1beta1_dataset_proto_goTypes = nil 597 file_google_cloud_aiplatform_v1beta1_dataset_proto_depIdxs = nil 598} 599