...

Source file src/google.golang.org/genproto/googleapis/cloud/visualinspection/v1beta1/dataset.pb.go

Documentation: google.golang.org/genproto/googleapis/cloud/visualinspection/v1beta1

     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/dataset.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  // A Dataset is a collection of Images and Annotations, which could be used to
    46  // solve a specifc visual inspection problem.
    47  type Dataset struct {
    48  	state         protoimpl.MessageState
    49  	sizeCache     protoimpl.SizeCache
    50  	unknownFields protoimpl.UnknownFields
    51  
    52  	// Output only. Resource name for the Dataset generated by the system.
    53  	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    54  	// Required. A user friendly display name for the Dataset.
    55  	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
    56  	// Output only. Timestamp when this Dataset was created.
    57  	CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
    58  	// Output only. Timestamp when this Dataset was last updated.
    59  	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
    60  	// Used to perform consistent read-modify-write updates. If not set, a blind
    61  	// "overwrite" update happens.
    62  	Etag string `protobuf:"bytes,5,opt,name=etag,proto3" json:"etag,omitempty"`
    63  	// The labels with user-defined metadata to organize your dataset.
    64  	//
    65  	// Label keys and values can be no longer than 64 characters
    66  	// (Unicode codepoints), can only contain lowercase letters, numeric
    67  	// characters, underscores and dashes. International characters are allowed.
    68  	// Label keys must start with a letter.
    69  	//
    70  	// See https://goo.gl/xmQnxf for more information on and examples of labels.
    71  	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"`
    72  	// Output only. The number of Images in the Dataset.
    73  	ImageCount int64 `protobuf:"varint,7,opt,name=image_count,json=imageCount,proto3" json:"image_count,omitempty"`
    74  }
    75  
    76  func (x *Dataset) Reset() {
    77  	*x = Dataset{}
    78  	if protoimpl.UnsafeEnabled {
    79  		mi := &file_google_cloud_visualinspection_v1beta1_dataset_proto_msgTypes[0]
    80  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    81  		ms.StoreMessageInfo(mi)
    82  	}
    83  }
    84  
    85  func (x *Dataset) String() string {
    86  	return protoimpl.X.MessageStringOf(x)
    87  }
    88  
    89  func (*Dataset) ProtoMessage() {}
    90  
    91  func (x *Dataset) ProtoReflect() protoreflect.Message {
    92  	mi := &file_google_cloud_visualinspection_v1beta1_dataset_proto_msgTypes[0]
    93  	if protoimpl.UnsafeEnabled && x != nil {
    94  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    95  		if ms.LoadMessageInfo() == nil {
    96  			ms.StoreMessageInfo(mi)
    97  		}
    98  		return ms
    99  	}
   100  	return mi.MessageOf(x)
   101  }
   102  
   103  // Deprecated: Use Dataset.ProtoReflect.Descriptor instead.
   104  func (*Dataset) Descriptor() ([]byte, []int) {
   105  	return file_google_cloud_visualinspection_v1beta1_dataset_proto_rawDescGZIP(), []int{0}
   106  }
   107  
   108  func (x *Dataset) GetName() string {
   109  	if x != nil {
   110  		return x.Name
   111  	}
   112  	return ""
   113  }
   114  
   115  func (x *Dataset) GetDisplayName() string {
   116  	if x != nil {
   117  		return x.DisplayName
   118  	}
   119  	return ""
   120  }
   121  
   122  func (x *Dataset) GetCreateTime() *timestamppb.Timestamp {
   123  	if x != nil {
   124  		return x.CreateTime
   125  	}
   126  	return nil
   127  }
   128  
   129  func (x *Dataset) GetUpdateTime() *timestamppb.Timestamp {
   130  	if x != nil {
   131  		return x.UpdateTime
   132  	}
   133  	return nil
   134  }
   135  
   136  func (x *Dataset) GetEtag() string {
   137  	if x != nil {
   138  		return x.Etag
   139  	}
   140  	return ""
   141  }
   142  
   143  func (x *Dataset) GetLabels() map[string]string {
   144  	if x != nil {
   145  		return x.Labels
   146  	}
   147  	return nil
   148  }
   149  
   150  func (x *Dataset) GetImageCount() int64 {
   151  	if x != nil {
   152  		return x.ImageCount
   153  	}
   154  	return 0
   155  }
   156  
   157  // Describes the location from where we import data into a Dataset.
   158  type ImportDataConfig struct {
   159  	state         protoimpl.MessageState
   160  	sizeCache     protoimpl.SizeCache
   161  	unknownFields protoimpl.UnknownFields
   162  
   163  	// The source of the input.
   164  	//
   165  	// Types that are assignable to Source:
   166  	//	*ImportDataConfig_GcsSource
   167  	//	*ImportDataConfig_DatasetResource
   168  	Source isImportDataConfig_Source `protobuf_oneof:"source"`
   169  }
   170  
   171  func (x *ImportDataConfig) Reset() {
   172  	*x = ImportDataConfig{}
   173  	if protoimpl.UnsafeEnabled {
   174  		mi := &file_google_cloud_visualinspection_v1beta1_dataset_proto_msgTypes[1]
   175  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   176  		ms.StoreMessageInfo(mi)
   177  	}
   178  }
   179  
   180  func (x *ImportDataConfig) String() string {
   181  	return protoimpl.X.MessageStringOf(x)
   182  }
   183  
   184  func (*ImportDataConfig) ProtoMessage() {}
   185  
   186  func (x *ImportDataConfig) ProtoReflect() protoreflect.Message {
   187  	mi := &file_google_cloud_visualinspection_v1beta1_dataset_proto_msgTypes[1]
   188  	if protoimpl.UnsafeEnabled && x != nil {
   189  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   190  		if ms.LoadMessageInfo() == nil {
   191  			ms.StoreMessageInfo(mi)
   192  		}
   193  		return ms
   194  	}
   195  	return mi.MessageOf(x)
   196  }
   197  
   198  // Deprecated: Use ImportDataConfig.ProtoReflect.Descriptor instead.
   199  func (*ImportDataConfig) Descriptor() ([]byte, []int) {
   200  	return file_google_cloud_visualinspection_v1beta1_dataset_proto_rawDescGZIP(), []int{1}
   201  }
   202  
   203  func (m *ImportDataConfig) GetSource() isImportDataConfig_Source {
   204  	if m != nil {
   205  		return m.Source
   206  	}
   207  	return nil
   208  }
   209  
   210  func (x *ImportDataConfig) GetGcsSource() *GcsSource {
   211  	if x, ok := x.GetSource().(*ImportDataConfig_GcsSource); ok {
   212  		return x.GcsSource
   213  	}
   214  	return nil
   215  }
   216  
   217  func (x *ImportDataConfig) GetDatasetResource() *DatasetSource {
   218  	if x, ok := x.GetSource().(*ImportDataConfig_DatasetResource); ok {
   219  		return x.DatasetResource
   220  	}
   221  	return nil
   222  }
   223  
   224  type isImportDataConfig_Source interface {
   225  	isImportDataConfig_Source()
   226  }
   227  
   228  type ImportDataConfig_GcsSource struct {
   229  	// The Google Cloud Storage location for the input content.
   230  	// Supported file extensions:
   231  	// 1. A JSON/CSV file.
   232  	// 2. Image file. Supported extension includes jpg,jpeg,png.
   233  	GcsSource *GcsSource `protobuf:"bytes,1,opt,name=gcs_source,json=gcsSource,proto3,oneof"`
   234  }
   235  
   236  type ImportDataConfig_DatasetResource struct {
   237  	// Import data from another Dataset.
   238  	DatasetResource *DatasetSource `protobuf:"bytes,2,opt,name=dataset_resource,json=datasetResource,proto3,oneof"`
   239  }
   240  
   241  func (*ImportDataConfig_GcsSource) isImportDataConfig_Source() {}
   242  
   243  func (*ImportDataConfig_DatasetResource) isImportDataConfig_Source() {}
   244  
   245  // Describes the source Dataset from where we import data.
   246  type DatasetSource struct {
   247  	state         protoimpl.MessageState
   248  	sizeCache     protoimpl.SizeCache
   249  	unknownFields protoimpl.UnknownFields
   250  
   251  	// Required. Dataset resource name. It needs to be in the same project and
   252  	// location.
   253  	Dataset string `protobuf:"bytes,1,opt,name=dataset,proto3" json:"dataset,omitempty"`
   254  	// Filter on Images to import.
   255  	ImageFilter string `protobuf:"bytes,2,opt,name=image_filter,json=imageFilter,proto3" json:"image_filter,omitempty"`
   256  	// Filter on Annotations to import. Only Annotations on already filtered in
   257  	// Images are considered.
   258  	AnnotationFilter string `protobuf:"bytes,3,opt,name=annotation_filter,json=annotationFilter,proto3" json:"annotation_filter,omitempty"`
   259  }
   260  
   261  func (x *DatasetSource) Reset() {
   262  	*x = DatasetSource{}
   263  	if protoimpl.UnsafeEnabled {
   264  		mi := &file_google_cloud_visualinspection_v1beta1_dataset_proto_msgTypes[2]
   265  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   266  		ms.StoreMessageInfo(mi)
   267  	}
   268  }
   269  
   270  func (x *DatasetSource) String() string {
   271  	return protoimpl.X.MessageStringOf(x)
   272  }
   273  
   274  func (*DatasetSource) ProtoMessage() {}
   275  
   276  func (x *DatasetSource) ProtoReflect() protoreflect.Message {
   277  	mi := &file_google_cloud_visualinspection_v1beta1_dataset_proto_msgTypes[2]
   278  	if protoimpl.UnsafeEnabled && x != nil {
   279  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   280  		if ms.LoadMessageInfo() == nil {
   281  			ms.StoreMessageInfo(mi)
   282  		}
   283  		return ms
   284  	}
   285  	return mi.MessageOf(x)
   286  }
   287  
   288  // Deprecated: Use DatasetSource.ProtoReflect.Descriptor instead.
   289  func (*DatasetSource) Descriptor() ([]byte, []int) {
   290  	return file_google_cloud_visualinspection_v1beta1_dataset_proto_rawDescGZIP(), []int{2}
   291  }
   292  
   293  func (x *DatasetSource) GetDataset() string {
   294  	if x != nil {
   295  		return x.Dataset
   296  	}
   297  	return ""
   298  }
   299  
   300  func (x *DatasetSource) GetImageFilter() string {
   301  	if x != nil {
   302  		return x.ImageFilter
   303  	}
   304  	return ""
   305  }
   306  
   307  func (x *DatasetSource) GetAnnotationFilter() string {
   308  	if x != nil {
   309  		return x.AnnotationFilter
   310  	}
   311  	return ""
   312  }
   313  
   314  // Describes the location to where we export data from a Dataset.
   315  type ExportDataConfig struct {
   316  	state         protoimpl.MessageState
   317  	sizeCache     protoimpl.SizeCache
   318  	unknownFields protoimpl.UnknownFields
   319  
   320  	// The Google Cloud Storage location where the output is to be written to.
   321  	// In the given directory a new directory will be created with name:
   322  	// export-data-<dataset-display-name>-<timestamp-of-export-call> where
   323  	// timestamp is in YYYYMMDDHHMMSS format. All export
   324  	// output will be written into that directory. Inside that directory,
   325  	// annotations with the same schema will be grouped into sub directories
   326  	// which are named with the corresponding annotations' schema title. Inside
   327  	// these sub directories, a schema.yaml will be created to describe the
   328  	// output format.
   329  	GcsDestination *GcsDestination `protobuf:"bytes,1,opt,name=gcs_destination,json=gcsDestination,proto3" json:"gcs_destination,omitempty"`
   330  }
   331  
   332  func (x *ExportDataConfig) Reset() {
   333  	*x = ExportDataConfig{}
   334  	if protoimpl.UnsafeEnabled {
   335  		mi := &file_google_cloud_visualinspection_v1beta1_dataset_proto_msgTypes[3]
   336  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   337  		ms.StoreMessageInfo(mi)
   338  	}
   339  }
   340  
   341  func (x *ExportDataConfig) String() string {
   342  	return protoimpl.X.MessageStringOf(x)
   343  }
   344  
   345  func (*ExportDataConfig) ProtoMessage() {}
   346  
   347  func (x *ExportDataConfig) ProtoReflect() protoreflect.Message {
   348  	mi := &file_google_cloud_visualinspection_v1beta1_dataset_proto_msgTypes[3]
   349  	if protoimpl.UnsafeEnabled && x != nil {
   350  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   351  		if ms.LoadMessageInfo() == nil {
   352  			ms.StoreMessageInfo(mi)
   353  		}
   354  		return ms
   355  	}
   356  	return mi.MessageOf(x)
   357  }
   358  
   359  // Deprecated: Use ExportDataConfig.ProtoReflect.Descriptor instead.
   360  func (*ExportDataConfig) Descriptor() ([]byte, []int) {
   361  	return file_google_cloud_visualinspection_v1beta1_dataset_proto_rawDescGZIP(), []int{3}
   362  }
   363  
   364  func (x *ExportDataConfig) GetGcsDestination() *GcsDestination {
   365  	if x != nil {
   366  		return x.GcsDestination
   367  	}
   368  	return nil
   369  }
   370  
   371  var File_google_cloud_visualinspection_v1beta1_dataset_proto protoreflect.FileDescriptor
   372  
   373  var file_google_cloud_visualinspection_v1beta1_dataset_proto_rawDesc = []byte{
   374  	0x0a, 0x33, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x76,
   375  	0x69, 0x73, 0x75, 0x61, 0x6c, 0x69, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2f,
   376  	0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x2e,
   377  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x25, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
   378  	0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x75, 0x61, 0x6c, 0x69, 0x6e, 0x73, 0x70, 0x65, 0x63,
   379  	0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, 0x1c, 0x67, 0x6f,
   380  	0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74,
   381  	0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67,
   382  	0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68,
   383  	0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f,
   384  	0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
   385  	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63,
   386  	0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x76, 0x69, 0x73, 0x75, 0x61, 0x6c, 0x69, 0x6e, 0x73, 0x70, 0x65,
   387  	0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x69, 0x6f,
   388  	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70,
   389  	0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
   390  	0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x81, 0x04, 0x0a, 0x07, 0x44, 0x61, 0x74, 0x61,
   391  	0x73, 0x65, 0x74, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
   392  	0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0c,
   393  	0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01,
   394  	0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79,
   395  	0x4e, 0x61, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74,
   396  	0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
   397  	0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65,
   398  	0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61,
   399  	0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65,
   400  	0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f,
   401  	0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69,
   402  	0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x75, 0x70,
   403  	0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x65, 0x74, 0x61, 0x67,
   404  	0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x65, 0x74, 0x61, 0x67, 0x12, 0x52, 0x0a, 0x06,
   405  	0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x67,
   406  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x75,
   407  	0x61, 0x6c, 0x69, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62,
   408  	0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x2e, 0x4c, 0x61, 0x62,
   409  	0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73,
   410  	0x12, 0x24, 0x0a, 0x0b, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18,
   411  	0x07, 0x20, 0x01, 0x28, 0x03, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x69, 0x6d, 0x61, 0x67,
   412  	0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73,
   413  	0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01,
   414  	0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
   415  	0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38,
   416  	0x01, 0x3a, 0x68, 0xea, 0x41, 0x65, 0x0a, 0x27, 0x76, 0x69, 0x73, 0x75, 0x61, 0x6c, 0x69, 0x6e,
   417  	0x73, 0x70, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61,
   418  	0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x12,
   419  	0x3a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65,
   420  	0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c,
   421  	0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74,
   422  	0x73, 0x2f, 0x7b, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x7d, 0x22, 0xd2, 0x01, 0x0a, 0x10,
   423  	0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x44, 0x61, 0x74, 0x61, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
   424  	0x12, 0x51, 0x0a, 0x0a, 0x67, 0x63, 0x73, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x01,
   425  	0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
   426  	0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x75, 0x61, 0x6c, 0x69, 0x6e, 0x73, 0x70, 0x65, 0x63,
   427  	0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x63, 0x73,
   428  	0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x48, 0x00, 0x52, 0x09, 0x67, 0x63, 0x73, 0x53, 0x6f, 0x75,
   429  	0x72, 0x63, 0x65, 0x12, 0x61, 0x0a, 0x10, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x5f, 0x72,
   430  	0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e,
   431  	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73,
   432  	0x75, 0x61, 0x6c, 0x69, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31,
   433  	0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x53, 0x6f, 0x75,
   434  	0x72, 0x63, 0x65, 0x48, 0x00, 0x52, 0x0f, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x52, 0x65,
   435  	0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x42, 0x08, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
   436  	0x22, 0xaa, 0x01, 0x0a, 0x0d, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x53, 0x6f, 0x75, 0x72,
   437  	0x63, 0x65, 0x12, 0x49, 0x0a, 0x07, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x18, 0x01, 0x20,
   438  	0x01, 0x28, 0x09, 0x42, 0x2f, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x29, 0x0a, 0x27, 0x76, 0x69, 0x73,
   439  	0x75, 0x61, 0x6c, 0x69, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x67, 0x6f,
   440  	0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x44, 0x61, 0x74,
   441  	0x61, 0x73, 0x65, 0x74, 0x52, 0x07, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x12, 0x21, 0x0a,
   442  	0x0c, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20,
   443  	0x01, 0x28, 0x09, 0x52, 0x0b, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72,
   444  	0x12, 0x2b, 0x0a, 0x11, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x66,
   445  	0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x6e, 0x6e,
   446  	0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0x72, 0x0a,
   447  	0x10, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x44, 0x61, 0x74, 0x61, 0x43, 0x6f, 0x6e, 0x66, 0x69,
   448  	0x67, 0x12, 0x5e, 0x0a, 0x0f, 0x67, 0x63, 0x73, 0x5f, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61,
   449  	0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f,
   450  	0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x75, 0x61, 0x6c,
   451  	0x69, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74,
   452  	0x61, 0x31, 0x2e, 0x47, 0x63, 0x73, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f,
   453  	0x6e, 0x52, 0x0e, 0x67, 0x63, 0x73, 0x44, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f,
   454  	0x6e, 0x42, 0xff, 0x01, 0x0a, 0x29, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
   455  	0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x75, 0x61, 0x6c, 0x69, 0x6e, 0x73,
   456  	0x70, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x50,
   457  	0x01, 0x5a, 0x55, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67,
   458  	0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f,
   459  	0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x76,
   460  	0x69, 0x73, 0x75, 0x61, 0x6c, 0x69, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2f,
   461  	0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b, 0x76, 0x69, 0x73, 0x75, 0x61, 0x6c, 0x69, 0x6e,
   462  	0x73, 0x70, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0xaa, 0x02, 0x25, 0x47, 0x6f, 0x6f, 0x67, 0x6c,
   463  	0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x56, 0x69, 0x73, 0x75, 0x61, 0x6c, 0x49, 0x6e,
   464  	0x73, 0x70, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x56, 0x31, 0x42, 0x65, 0x74, 0x61, 0x31,
   465  	0xca, 0x02, 0x25, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c,
   466  	0x56, 0x69, 0x73, 0x75, 0x61, 0x6c, 0x49, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e,
   467  	0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xea, 0x02, 0x28, 0x47, 0x6f, 0x6f, 0x67, 0x6c,
   468  	0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x56, 0x69, 0x73, 0x75, 0x61, 0x6c,
   469  	0x49, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65,
   470  	0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   471  }
   472  
   473  var (
   474  	file_google_cloud_visualinspection_v1beta1_dataset_proto_rawDescOnce sync.Once
   475  	file_google_cloud_visualinspection_v1beta1_dataset_proto_rawDescData = file_google_cloud_visualinspection_v1beta1_dataset_proto_rawDesc
   476  )
   477  
   478  func file_google_cloud_visualinspection_v1beta1_dataset_proto_rawDescGZIP() []byte {
   479  	file_google_cloud_visualinspection_v1beta1_dataset_proto_rawDescOnce.Do(func() {
   480  		file_google_cloud_visualinspection_v1beta1_dataset_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_visualinspection_v1beta1_dataset_proto_rawDescData)
   481  	})
   482  	return file_google_cloud_visualinspection_v1beta1_dataset_proto_rawDescData
   483  }
   484  
   485  var file_google_cloud_visualinspection_v1beta1_dataset_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
   486  var file_google_cloud_visualinspection_v1beta1_dataset_proto_goTypes = []interface{}{
   487  	(*Dataset)(nil),               // 0: google.cloud.visualinspection.v1beta1.Dataset
   488  	(*ImportDataConfig)(nil),      // 1: google.cloud.visualinspection.v1beta1.ImportDataConfig
   489  	(*DatasetSource)(nil),         // 2: google.cloud.visualinspection.v1beta1.DatasetSource
   490  	(*ExportDataConfig)(nil),      // 3: google.cloud.visualinspection.v1beta1.ExportDataConfig
   491  	nil,                           // 4: google.cloud.visualinspection.v1beta1.Dataset.LabelsEntry
   492  	(*timestamppb.Timestamp)(nil), // 5: google.protobuf.Timestamp
   493  	(*GcsSource)(nil),             // 6: google.cloud.visualinspection.v1beta1.GcsSource
   494  	(*GcsDestination)(nil),        // 7: google.cloud.visualinspection.v1beta1.GcsDestination
   495  }
   496  var file_google_cloud_visualinspection_v1beta1_dataset_proto_depIdxs = []int32{
   497  	5, // 0: google.cloud.visualinspection.v1beta1.Dataset.create_time:type_name -> google.protobuf.Timestamp
   498  	5, // 1: google.cloud.visualinspection.v1beta1.Dataset.update_time:type_name -> google.protobuf.Timestamp
   499  	4, // 2: google.cloud.visualinspection.v1beta1.Dataset.labels:type_name -> google.cloud.visualinspection.v1beta1.Dataset.LabelsEntry
   500  	6, // 3: google.cloud.visualinspection.v1beta1.ImportDataConfig.gcs_source:type_name -> google.cloud.visualinspection.v1beta1.GcsSource
   501  	2, // 4: google.cloud.visualinspection.v1beta1.ImportDataConfig.dataset_resource:type_name -> google.cloud.visualinspection.v1beta1.DatasetSource
   502  	7, // 5: google.cloud.visualinspection.v1beta1.ExportDataConfig.gcs_destination:type_name -> google.cloud.visualinspection.v1beta1.GcsDestination
   503  	6, // [6:6] is the sub-list for method output_type
   504  	6, // [6:6] is the sub-list for method input_type
   505  	6, // [6:6] is the sub-list for extension type_name
   506  	6, // [6:6] is the sub-list for extension extendee
   507  	0, // [0:6] is the sub-list for field type_name
   508  }
   509  
   510  func init() { file_google_cloud_visualinspection_v1beta1_dataset_proto_init() }
   511  func file_google_cloud_visualinspection_v1beta1_dataset_proto_init() {
   512  	if File_google_cloud_visualinspection_v1beta1_dataset_proto != nil {
   513  		return
   514  	}
   515  	file_google_cloud_visualinspection_v1beta1_io_proto_init()
   516  	if !protoimpl.UnsafeEnabled {
   517  		file_google_cloud_visualinspection_v1beta1_dataset_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   518  			switch v := v.(*Dataset); i {
   519  			case 0:
   520  				return &v.state
   521  			case 1:
   522  				return &v.sizeCache
   523  			case 2:
   524  				return &v.unknownFields
   525  			default:
   526  				return nil
   527  			}
   528  		}
   529  		file_google_cloud_visualinspection_v1beta1_dataset_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   530  			switch v := v.(*ImportDataConfig); i {
   531  			case 0:
   532  				return &v.state
   533  			case 1:
   534  				return &v.sizeCache
   535  			case 2:
   536  				return &v.unknownFields
   537  			default:
   538  				return nil
   539  			}
   540  		}
   541  		file_google_cloud_visualinspection_v1beta1_dataset_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   542  			switch v := v.(*DatasetSource); i {
   543  			case 0:
   544  				return &v.state
   545  			case 1:
   546  				return &v.sizeCache
   547  			case 2:
   548  				return &v.unknownFields
   549  			default:
   550  				return nil
   551  			}
   552  		}
   553  		file_google_cloud_visualinspection_v1beta1_dataset_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   554  			switch v := v.(*ExportDataConfig); i {
   555  			case 0:
   556  				return &v.state
   557  			case 1:
   558  				return &v.sizeCache
   559  			case 2:
   560  				return &v.unknownFields
   561  			default:
   562  				return nil
   563  			}
   564  		}
   565  	}
   566  	file_google_cloud_visualinspection_v1beta1_dataset_proto_msgTypes[1].OneofWrappers = []interface{}{
   567  		(*ImportDataConfig_GcsSource)(nil),
   568  		(*ImportDataConfig_DatasetResource)(nil),
   569  	}
   570  	type x struct{}
   571  	out := protoimpl.TypeBuilder{
   572  		File: protoimpl.DescBuilder{
   573  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   574  			RawDescriptor: file_google_cloud_visualinspection_v1beta1_dataset_proto_rawDesc,
   575  			NumEnums:      0,
   576  			NumMessages:   5,
   577  			NumExtensions: 0,
   578  			NumServices:   0,
   579  		},
   580  		GoTypes:           file_google_cloud_visualinspection_v1beta1_dataset_proto_goTypes,
   581  		DependencyIndexes: file_google_cloud_visualinspection_v1beta1_dataset_proto_depIdxs,
   582  		MessageInfos:      file_google_cloud_visualinspection_v1beta1_dataset_proto_msgTypes,
   583  	}.Build()
   584  	File_google_cloud_visualinspection_v1beta1_dataset_proto = out.File
   585  	file_google_cloud_visualinspection_v1beta1_dataset_proto_rawDesc = nil
   586  	file_google_cloud_visualinspection_v1beta1_dataset_proto_goTypes = nil
   587  	file_google_cloud_visualinspection_v1beta1_dataset_proto_depIdxs = nil
   588  }
   589  

View as plain text