diff --git a/googleapis/actions/sdk/v2/theme_customization.pb.go b/googleapis/actions/sdk/v2/theme_customization.pb.go index 8addcb749..b37cfa120 100644 --- a/googleapis/actions/sdk/v2/theme_customization.pb.go +++ b/googleapis/actions/sdk/v2/theme_customization.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.25.0 +// protoc-gen-go v1.25.0-devel // protoc v3.13.0 // source: google/actions/sdk/v2/theme_customization.proto @@ -129,15 +129,15 @@ type ThemeCustomization struct { // This should be specified as a reference to the corresponding image in the // `resources/images/` directory. Eg: `$resources.images.foo` (without the // extension) for image in `resources/images/foo.jpg` - // When working on a project pulled from Console the Google managed url pulled - // could be used. + // When working on a project pulled from Console, the Google-managed URL + // pulled could be used. URLs from external sources are not allowed. LandscapeBackgroundImage string `protobuf:"bytes,5,opt,name=landscape_background_image,json=landscapeBackgroundImage,proto3" json:"landscape_background_image,omitempty"` // Portrait mode (minimum 1200x1920 pixels). // This should be specified as a reference to the corresponding image in the // `resources/images/` directory. Eg: `$resources.images.foo` (without the // extension) for image in `resources/images/foo.jpg` - // When working on a project pulled from Console the Google managed url pulled - // could be used. + // When working on a project pulled from Console, the Google-managed URL + // pulled could be used. URLs from external sources are not allowed. PortraitBackgroundImage string `protobuf:"bytes,6,opt,name=portrait_background_image,json=portraitBackgroundImage,proto3" json:"portrait_background_image,omitempty"` } diff --git a/googleapis/cloud/aiplatform/v1/schema/predict/instance/image_classification.pb.go b/googleapis/cloud/aiplatform/v1/schema/predict/instance/image_classification.pb.go new file mode 100644 index 000000000..45c2b9515 --- /dev/null +++ b/googleapis/cloud/aiplatform/v1/schema/predict/instance/image_classification.pb.go @@ -0,0 +1,207 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.25.0-devel +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1/schema/predict/instance/image_classification.proto + +package instance + +import ( + reflect "reflect" + sync "sync" + + proto "github.com/golang/protobuf/proto" + _ "google.golang.org/genproto/googleapis/api/annotations" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 + +// Prediction input format for Image Classification. +type ImageClassificationPredictionInstance struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The image bytes or GCS URI to make the prediction on. + Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` + // The MIME type of the content of the image. Only the images in below listed + // MIME types are supported. + // - image/jpeg + // - image/gif + // - image/png + // - image/webp + // - image/bmp + // - image/tiff + // - image/vnd.microsoft.icon + MimeType string `protobuf:"bytes,2,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` +} + +func (x *ImageClassificationPredictionInstance) Reset() { + *x = ImageClassificationPredictionInstance{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1_schema_predict_instance_image_classification_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ImageClassificationPredictionInstance) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ImageClassificationPredictionInstance) ProtoMessage() {} + +func (x *ImageClassificationPredictionInstance) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1_schema_predict_instance_image_classification_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ImageClassificationPredictionInstance.ProtoReflect.Descriptor instead. +func (*ImageClassificationPredictionInstance) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_predict_instance_image_classification_proto_rawDescGZIP(), []int{0} +} + +func (x *ImageClassificationPredictionInstance) GetContent() string { + if x != nil { + return x.Content + } + return "" +} + +func (x *ImageClassificationPredictionInstance) GetMimeType() string { + if x != nil { + return x.MimeType + } + return "" +} + +var File_google_cloud_aiplatform_v1_schema_predict_instance_image_classification_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1_schema_predict_instance_image_classification_proto_rawDesc = []byte{ + 0x0a, 0x4d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, + 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2f, 0x69, 0x6e, 0x73, 0x74, + 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6c, 0x61, 0x73, 0x73, + 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, + 0x32, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, + 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, + 0x6d, 0x61, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2e, 0x69, 0x6e, 0x73, 0x74, 0x61, + 0x6e, 0x63, 0x65, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, + 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x5e, 0x0a, 0x25, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, + 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, + 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, + 0x74, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x69, 0x6d, 0x65, 0x5f, 0x74, 0x79, 0x70, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x69, 0x6d, 0x65, 0x54, 0x79, 0x70, + 0x65, 0x42, 0xc2, 0x01, 0x0a, 0x36, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, + 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x70, 0x72, 0x65, 0x64, + 0x69, 0x63, 0x74, 0x2e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x42, 0x2a, 0x49, 0x6d, + 0x61, 0x67, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x73, 0x74, 0x61, + 0x6e, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x5a, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, + 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, + 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, + 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x70, 0x72, 0x65, + 0x64, 0x69, 0x63, 0x74, 0x2f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x3b, 0x69, 0x6e, + 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_google_cloud_aiplatform_v1_schema_predict_instance_image_classification_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1_schema_predict_instance_image_classification_proto_rawDescData = file_google_cloud_aiplatform_v1_schema_predict_instance_image_classification_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1_schema_predict_instance_image_classification_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1_schema_predict_instance_image_classification_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1_schema_predict_instance_image_classification_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1_schema_predict_instance_image_classification_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1_schema_predict_instance_image_classification_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1_schema_predict_instance_image_classification_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_google_cloud_aiplatform_v1_schema_predict_instance_image_classification_proto_goTypes = []interface{}{ + (*ImageClassificationPredictionInstance)(nil), // 0: google.cloud.aiplatform.v1.schema.predict.instance.ImageClassificationPredictionInstance +} +var file_google_cloud_aiplatform_v1_schema_predict_instance_image_classification_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { + file_google_cloud_aiplatform_v1_schema_predict_instance_image_classification_proto_init() +} +func file_google_cloud_aiplatform_v1_schema_predict_instance_image_classification_proto_init() { + if File_google_cloud_aiplatform_v1_schema_predict_instance_image_classification_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1_schema_predict_instance_image_classification_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ImageClassificationPredictionInstance); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_google_cloud_aiplatform_v1_schema_predict_instance_image_classification_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1_schema_predict_instance_image_classification_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1_schema_predict_instance_image_classification_proto_depIdxs, + MessageInfos: file_google_cloud_aiplatform_v1_schema_predict_instance_image_classification_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1_schema_predict_instance_image_classification_proto = out.File + file_google_cloud_aiplatform_v1_schema_predict_instance_image_classification_proto_rawDesc = nil + file_google_cloud_aiplatform_v1_schema_predict_instance_image_classification_proto_goTypes = nil + file_google_cloud_aiplatform_v1_schema_predict_instance_image_classification_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1/schema/predict/instance/image_object_detection.pb.go b/googleapis/cloud/aiplatform/v1/schema/predict/instance/image_object_detection.pb.go new file mode 100644 index 000000000..30e7e0004 --- /dev/null +++ b/googleapis/cloud/aiplatform/v1/schema/predict/instance/image_object_detection.pb.go @@ -0,0 +1,208 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.25.0-devel +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1/schema/predict/instance/image_object_detection.proto + +package instance + +import ( + reflect "reflect" + sync "sync" + + proto "github.com/golang/protobuf/proto" + _ "google.golang.org/genproto/googleapis/api/annotations" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 + +// Prediction input format for Image Object Detection. +type ImageObjectDetectionPredictionInstance struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The image bytes or GCS URI to make the prediction on. + Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` + // The MIME type of the content of the image. Only the images in below listed + // MIME types are supported. + // - image/jpeg + // - image/gif + // - image/png + // - image/webp + // - image/bmp + // - image/tiff + // - image/vnd.microsoft.icon + MimeType string `protobuf:"bytes,2,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` +} + +func (x *ImageObjectDetectionPredictionInstance) Reset() { + *x = ImageObjectDetectionPredictionInstance{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1_schema_predict_instance_image_object_detection_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ImageObjectDetectionPredictionInstance) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ImageObjectDetectionPredictionInstance) ProtoMessage() {} + +func (x *ImageObjectDetectionPredictionInstance) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1_schema_predict_instance_image_object_detection_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ImageObjectDetectionPredictionInstance.ProtoReflect.Descriptor instead. +func (*ImageObjectDetectionPredictionInstance) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_predict_instance_image_object_detection_proto_rawDescGZIP(), []int{0} +} + +func (x *ImageObjectDetectionPredictionInstance) GetContent() string { + if x != nil { + return x.Content + } + return "" +} + +func (x *ImageObjectDetectionPredictionInstance) GetMimeType() string { + if x != nil { + return x.MimeType + } + return "" +} + +var File_google_cloud_aiplatform_v1_schema_predict_instance_image_object_detection_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1_schema_predict_instance_image_object_detection_proto_rawDesc = []byte{ + 0x0a, 0x4f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, + 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2f, 0x69, 0x6e, 0x73, 0x74, + 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x6f, 0x62, 0x6a, 0x65, 0x63, + 0x74, 0x5f, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x12, 0x32, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, + 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, + 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2e, 0x69, 0x6e, 0x73, + 0x74, 0x61, 0x6e, 0x63, 0x65, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, + 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x5f, 0x0a, 0x26, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x4f, 0x62, 0x6a, 0x65, + 0x63, 0x74, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x64, 0x69, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x18, 0x0a, + 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, + 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x69, 0x6d, 0x65, 0x5f, + 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x69, 0x6d, 0x65, + 0x54, 0x79, 0x70, 0x65, 0x42, 0xc3, 0x01, 0x0a, 0x36, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, + 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x70, + 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x42, + 0x2b, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x44, 0x65, 0x74, 0x65, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, + 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x5a, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, + 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x69, 0x70, 0x6c, + 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, + 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, + 0x65, 0x3b, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_google_cloud_aiplatform_v1_schema_predict_instance_image_object_detection_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1_schema_predict_instance_image_object_detection_proto_rawDescData = file_google_cloud_aiplatform_v1_schema_predict_instance_image_object_detection_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1_schema_predict_instance_image_object_detection_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1_schema_predict_instance_image_object_detection_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1_schema_predict_instance_image_object_detection_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1_schema_predict_instance_image_object_detection_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1_schema_predict_instance_image_object_detection_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1_schema_predict_instance_image_object_detection_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_google_cloud_aiplatform_v1_schema_predict_instance_image_object_detection_proto_goTypes = []interface{}{ + (*ImageObjectDetectionPredictionInstance)(nil), // 0: google.cloud.aiplatform.v1.schema.predict.instance.ImageObjectDetectionPredictionInstance +} +var file_google_cloud_aiplatform_v1_schema_predict_instance_image_object_detection_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { + file_google_cloud_aiplatform_v1_schema_predict_instance_image_object_detection_proto_init() +} +func file_google_cloud_aiplatform_v1_schema_predict_instance_image_object_detection_proto_init() { + if File_google_cloud_aiplatform_v1_schema_predict_instance_image_object_detection_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1_schema_predict_instance_image_object_detection_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ImageObjectDetectionPredictionInstance); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_google_cloud_aiplatform_v1_schema_predict_instance_image_object_detection_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1_schema_predict_instance_image_object_detection_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1_schema_predict_instance_image_object_detection_proto_depIdxs, + MessageInfos: file_google_cloud_aiplatform_v1_schema_predict_instance_image_object_detection_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1_schema_predict_instance_image_object_detection_proto = out.File + file_google_cloud_aiplatform_v1_schema_predict_instance_image_object_detection_proto_rawDesc = nil + file_google_cloud_aiplatform_v1_schema_predict_instance_image_object_detection_proto_goTypes = nil + file_google_cloud_aiplatform_v1_schema_predict_instance_image_object_detection_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1/schema/predict/instance/image_segmentation.pb.go b/googleapis/cloud/aiplatform/v1/schema/predict/instance/image_segmentation.pb.go new file mode 100644 index 000000000..6f4b2c59a --- /dev/null +++ b/googleapis/cloud/aiplatform/v1/schema/predict/instance/image_segmentation.pb.go @@ -0,0 +1,200 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.25.0-devel +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1/schema/predict/instance/image_segmentation.proto + +package instance + +import ( + reflect "reflect" + sync "sync" + + proto "github.com/golang/protobuf/proto" + _ "google.golang.org/genproto/googleapis/api/annotations" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 + +// Prediction input format for Image Segmentation. +type ImageSegmentationPredictionInstance struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The image bytes to make the predictions on. + Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` + // The MIME type of the content of the image. Only the images in below listed + // MIME types are supported. + // - image/jpeg + // - image/png + MimeType string `protobuf:"bytes,2,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` +} + +func (x *ImageSegmentationPredictionInstance) Reset() { + *x = ImageSegmentationPredictionInstance{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1_schema_predict_instance_image_segmentation_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ImageSegmentationPredictionInstance) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ImageSegmentationPredictionInstance) ProtoMessage() {} + +func (x *ImageSegmentationPredictionInstance) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1_schema_predict_instance_image_segmentation_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ImageSegmentationPredictionInstance.ProtoReflect.Descriptor instead. +func (*ImageSegmentationPredictionInstance) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_predict_instance_image_segmentation_proto_rawDescGZIP(), []int{0} +} + +func (x *ImageSegmentationPredictionInstance) GetContent() string { + if x != nil { + return x.Content + } + return "" +} + +func (x *ImageSegmentationPredictionInstance) GetMimeType() string { + if x != nil { + return x.MimeType + } + return "" +} + +var File_google_cloud_aiplatform_v1_schema_predict_instance_image_segmentation_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1_schema_predict_instance_image_segmentation_proto_rawDesc = []byte{ + 0x0a, 0x4b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, + 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2f, 0x69, 0x6e, 0x73, 0x74, + 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x67, 0x6d, 0x65, + 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x32, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, + 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, + 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, + 0x65, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, + 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x5c, 0x0a, 0x23, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, + 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, + 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, + 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x69, 0x6d, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x69, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x42, 0xc0, 0x01, + 0x0a, 0x36, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, + 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, + 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2e, + 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x42, 0x28, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x53, + 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x64, 0x69, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x50, 0x72, 0x6f, + 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x5a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, + 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, + 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2f, 0x69, + 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x3b, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_google_cloud_aiplatform_v1_schema_predict_instance_image_segmentation_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1_schema_predict_instance_image_segmentation_proto_rawDescData = file_google_cloud_aiplatform_v1_schema_predict_instance_image_segmentation_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1_schema_predict_instance_image_segmentation_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1_schema_predict_instance_image_segmentation_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1_schema_predict_instance_image_segmentation_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1_schema_predict_instance_image_segmentation_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1_schema_predict_instance_image_segmentation_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1_schema_predict_instance_image_segmentation_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_google_cloud_aiplatform_v1_schema_predict_instance_image_segmentation_proto_goTypes = []interface{}{ + (*ImageSegmentationPredictionInstance)(nil), // 0: google.cloud.aiplatform.v1.schema.predict.instance.ImageSegmentationPredictionInstance +} +var file_google_cloud_aiplatform_v1_schema_predict_instance_image_segmentation_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_google_cloud_aiplatform_v1_schema_predict_instance_image_segmentation_proto_init() } +func file_google_cloud_aiplatform_v1_schema_predict_instance_image_segmentation_proto_init() { + if File_google_cloud_aiplatform_v1_schema_predict_instance_image_segmentation_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1_schema_predict_instance_image_segmentation_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ImageSegmentationPredictionInstance); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_google_cloud_aiplatform_v1_schema_predict_instance_image_segmentation_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1_schema_predict_instance_image_segmentation_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1_schema_predict_instance_image_segmentation_proto_depIdxs, + MessageInfos: file_google_cloud_aiplatform_v1_schema_predict_instance_image_segmentation_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1_schema_predict_instance_image_segmentation_proto = out.File + file_google_cloud_aiplatform_v1_schema_predict_instance_image_segmentation_proto_rawDesc = nil + file_google_cloud_aiplatform_v1_schema_predict_instance_image_segmentation_proto_goTypes = nil + file_google_cloud_aiplatform_v1_schema_predict_instance_image_segmentation_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1/schema/predict/instance/text_classification.pb.go b/googleapis/cloud/aiplatform/v1/schema/predict/instance/text_classification.pb.go new file mode 100644 index 000000000..5b5758a3c --- /dev/null +++ b/googleapis/cloud/aiplatform/v1/schema/predict/instance/text_classification.pb.go @@ -0,0 +1,199 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.25.0-devel +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1/schema/predict/instance/text_classification.proto + +package instance + +import ( + reflect "reflect" + sync "sync" + + proto "github.com/golang/protobuf/proto" + _ "google.golang.org/genproto/googleapis/api/annotations" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 + +// Prediction input format for Text Classification. +type TextClassificationPredictionInstance struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The text snippet to make the predictions on. + Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` + // The MIME type of the text snippet. The supported MIME types are listed + // below. + // - text/plain + MimeType string `protobuf:"bytes,2,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` +} + +func (x *TextClassificationPredictionInstance) Reset() { + *x = TextClassificationPredictionInstance{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1_schema_predict_instance_text_classification_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TextClassificationPredictionInstance) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TextClassificationPredictionInstance) ProtoMessage() {} + +func (x *TextClassificationPredictionInstance) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1_schema_predict_instance_text_classification_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TextClassificationPredictionInstance.ProtoReflect.Descriptor instead. +func (*TextClassificationPredictionInstance) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_predict_instance_text_classification_proto_rawDescGZIP(), []int{0} +} + +func (x *TextClassificationPredictionInstance) GetContent() string { + if x != nil { + return x.Content + } + return "" +} + +func (x *TextClassificationPredictionInstance) GetMimeType() string { + if x != nil { + return x.MimeType + } + return "" +} + +var File_google_cloud_aiplatform_v1_schema_predict_instance_text_classification_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1_schema_predict_instance_text_classification_proto_rawDesc = []byte{ + 0x0a, 0x4c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, + 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2f, 0x69, 0x6e, 0x73, 0x74, + 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, + 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x32, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, + 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, + 0x61, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, + 0x63, 0x65, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, + 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x5d, 0x0a, 0x24, 0x54, 0x65, 0x78, 0x74, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, + 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, + 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x69, 0x6d, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x69, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x42, + 0xc1, 0x01, 0x0a, 0x36, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, + 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, + 0x74, 0x2e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x42, 0x29, 0x54, 0x65, 0x78, 0x74, + 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, + 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, + 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x5a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, + 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, + 0x74, 0x2f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x3b, 0x69, 0x6e, 0x73, 0x74, 0x61, + 0x6e, 0x63, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_google_cloud_aiplatform_v1_schema_predict_instance_text_classification_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1_schema_predict_instance_text_classification_proto_rawDescData = file_google_cloud_aiplatform_v1_schema_predict_instance_text_classification_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1_schema_predict_instance_text_classification_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1_schema_predict_instance_text_classification_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1_schema_predict_instance_text_classification_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1_schema_predict_instance_text_classification_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1_schema_predict_instance_text_classification_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1_schema_predict_instance_text_classification_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_google_cloud_aiplatform_v1_schema_predict_instance_text_classification_proto_goTypes = []interface{}{ + (*TextClassificationPredictionInstance)(nil), // 0: google.cloud.aiplatform.v1.schema.predict.instance.TextClassificationPredictionInstance +} +var file_google_cloud_aiplatform_v1_schema_predict_instance_text_classification_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_google_cloud_aiplatform_v1_schema_predict_instance_text_classification_proto_init() } +func file_google_cloud_aiplatform_v1_schema_predict_instance_text_classification_proto_init() { + if File_google_cloud_aiplatform_v1_schema_predict_instance_text_classification_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1_schema_predict_instance_text_classification_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TextClassificationPredictionInstance); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_google_cloud_aiplatform_v1_schema_predict_instance_text_classification_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1_schema_predict_instance_text_classification_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1_schema_predict_instance_text_classification_proto_depIdxs, + MessageInfos: file_google_cloud_aiplatform_v1_schema_predict_instance_text_classification_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1_schema_predict_instance_text_classification_proto = out.File + file_google_cloud_aiplatform_v1_schema_predict_instance_text_classification_proto_rawDesc = nil + file_google_cloud_aiplatform_v1_schema_predict_instance_text_classification_proto_goTypes = nil + file_google_cloud_aiplatform_v1_schema_predict_instance_text_classification_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1/schema/predict/instance/text_extraction.pb.go b/googleapis/cloud/aiplatform/v1/schema/predict/instance/text_extraction.pb.go new file mode 100644 index 000000000..00ebe02e0 --- /dev/null +++ b/googleapis/cloud/aiplatform/v1/schema/predict/instance/text_extraction.pb.go @@ -0,0 +1,213 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.25.0-devel +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1/schema/predict/instance/text_extraction.proto + +package instance + +import ( + reflect "reflect" + sync "sync" + + proto "github.com/golang/protobuf/proto" + _ "google.golang.org/genproto/googleapis/api/annotations" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 + +// Prediction input format for Text Extraction. +type TextExtractionPredictionInstance struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The text snippet to make the predictions on. + Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` + // The MIME type of the text snippet. The supported MIME types are listed + // below. + // - text/plain + MimeType string `protobuf:"bytes,2,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` + // This field is only used for batch prediction. If a key is provided, the + // batch prediction result will by mapped to this key. If omitted, then the + // batch prediction result will contain the entire input instance. AI Platform + // will not check if keys in the request are duplicates, so it is up to the + // caller to ensure the keys are unique. + Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` +} + +func (x *TextExtractionPredictionInstance) Reset() { + *x = TextExtractionPredictionInstance{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1_schema_predict_instance_text_extraction_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TextExtractionPredictionInstance) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TextExtractionPredictionInstance) ProtoMessage() {} + +func (x *TextExtractionPredictionInstance) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1_schema_predict_instance_text_extraction_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TextExtractionPredictionInstance.ProtoReflect.Descriptor instead. +func (*TextExtractionPredictionInstance) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_predict_instance_text_extraction_proto_rawDescGZIP(), []int{0} +} + +func (x *TextExtractionPredictionInstance) GetContent() string { + if x != nil { + return x.Content + } + return "" +} + +func (x *TextExtractionPredictionInstance) GetMimeType() string { + if x != nil { + return x.MimeType + } + return "" +} + +func (x *TextExtractionPredictionInstance) GetKey() string { + if x != nil { + return x.Key + } + return "" +} + +var File_google_cloud_aiplatform_v1_schema_predict_instance_text_extraction_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1_schema_predict_instance_text_extraction_proto_rawDesc = []byte{ + 0x0a, 0x48, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, + 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2f, 0x69, 0x6e, 0x73, 0x74, + 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x72, 0x61, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x32, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, + 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x70, 0x72, + 0x65, 0x64, 0x69, 0x63, 0x74, 0x2e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x1a, 0x1c, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6b, 0x0a, 0x20, + 0x54, 0x65, 0x78, 0x74, 0x45, 0x78, 0x74, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, + 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, + 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x69, + 0x6d, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, + 0x69, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x42, 0xbd, 0x01, 0x0a, 0x36, 0x63, 0x6f, + 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, + 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2e, 0x69, 0x6e, 0x73, 0x74, + 0x61, 0x6e, 0x63, 0x65, 0x42, 0x25, 0x54, 0x65, 0x78, 0x74, 0x45, 0x78, 0x74, 0x72, 0x61, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, + 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x5a, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, + 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, + 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, + 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, + 0x3b, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_google_cloud_aiplatform_v1_schema_predict_instance_text_extraction_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1_schema_predict_instance_text_extraction_proto_rawDescData = file_google_cloud_aiplatform_v1_schema_predict_instance_text_extraction_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1_schema_predict_instance_text_extraction_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1_schema_predict_instance_text_extraction_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1_schema_predict_instance_text_extraction_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1_schema_predict_instance_text_extraction_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1_schema_predict_instance_text_extraction_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1_schema_predict_instance_text_extraction_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_google_cloud_aiplatform_v1_schema_predict_instance_text_extraction_proto_goTypes = []interface{}{ + (*TextExtractionPredictionInstance)(nil), // 0: google.cloud.aiplatform.v1.schema.predict.instance.TextExtractionPredictionInstance +} +var file_google_cloud_aiplatform_v1_schema_predict_instance_text_extraction_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_google_cloud_aiplatform_v1_schema_predict_instance_text_extraction_proto_init() } +func file_google_cloud_aiplatform_v1_schema_predict_instance_text_extraction_proto_init() { + if File_google_cloud_aiplatform_v1_schema_predict_instance_text_extraction_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1_schema_predict_instance_text_extraction_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TextExtractionPredictionInstance); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_google_cloud_aiplatform_v1_schema_predict_instance_text_extraction_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1_schema_predict_instance_text_extraction_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1_schema_predict_instance_text_extraction_proto_depIdxs, + MessageInfos: file_google_cloud_aiplatform_v1_schema_predict_instance_text_extraction_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1_schema_predict_instance_text_extraction_proto = out.File + file_google_cloud_aiplatform_v1_schema_predict_instance_text_extraction_proto_rawDesc = nil + file_google_cloud_aiplatform_v1_schema_predict_instance_text_extraction_proto_goTypes = nil + file_google_cloud_aiplatform_v1_schema_predict_instance_text_extraction_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1/schema/predict/instance/text_sentiment.pb.go b/googleapis/cloud/aiplatform/v1/schema/predict/instance/text_sentiment.pb.go new file mode 100644 index 000000000..3919e7ca7 --- /dev/null +++ b/googleapis/cloud/aiplatform/v1/schema/predict/instance/text_sentiment.pb.go @@ -0,0 +1,198 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.25.0-devel +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1/schema/predict/instance/text_sentiment.proto + +package instance + +import ( + reflect "reflect" + sync "sync" + + proto "github.com/golang/protobuf/proto" + _ "google.golang.org/genproto/googleapis/api/annotations" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 + +// Prediction input format for Text Sentiment. +type TextSentimentPredictionInstance struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The text snippet to make the predictions on. + Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` + // The MIME type of the text snippet. The supported MIME types are listed + // below. + // - text/plain + MimeType string `protobuf:"bytes,2,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` +} + +func (x *TextSentimentPredictionInstance) Reset() { + *x = TextSentimentPredictionInstance{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1_schema_predict_instance_text_sentiment_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TextSentimentPredictionInstance) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TextSentimentPredictionInstance) ProtoMessage() {} + +func (x *TextSentimentPredictionInstance) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1_schema_predict_instance_text_sentiment_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TextSentimentPredictionInstance.ProtoReflect.Descriptor instead. +func (*TextSentimentPredictionInstance) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_predict_instance_text_sentiment_proto_rawDescGZIP(), []int{0} +} + +func (x *TextSentimentPredictionInstance) GetContent() string { + if x != nil { + return x.Content + } + return "" +} + +func (x *TextSentimentPredictionInstance) GetMimeType() string { + if x != nil { + return x.MimeType + } + return "" +} + +var File_google_cloud_aiplatform_v1_schema_predict_instance_text_sentiment_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1_schema_predict_instance_text_sentiment_proto_rawDesc = []byte{ + 0x0a, 0x47, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, + 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2f, 0x69, 0x6e, 0x73, 0x74, + 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x73, 0x65, 0x6e, 0x74, 0x69, 0x6d, + 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x32, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, + 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x70, 0x72, 0x65, + 0x64, 0x69, 0x63, 0x74, 0x2e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x1a, 0x1c, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x58, 0x0a, 0x1f, 0x54, + 0x65, 0x78, 0x74, 0x53, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x65, 0x64, + 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x18, + 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x69, 0x6d, 0x65, + 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x69, 0x6d, + 0x65, 0x54, 0x79, 0x70, 0x65, 0x42, 0xbc, 0x01, 0x0a, 0x36, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, + 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, + 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, + 0x42, 0x24, 0x54, 0x65, 0x78, 0x74, 0x53, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x50, + 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, + 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x5a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, + 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, + 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, + 0x63, 0x74, 0x2f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x3b, 0x69, 0x6e, 0x73, 0x74, + 0x61, 0x6e, 0x63, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_google_cloud_aiplatform_v1_schema_predict_instance_text_sentiment_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1_schema_predict_instance_text_sentiment_proto_rawDescData = file_google_cloud_aiplatform_v1_schema_predict_instance_text_sentiment_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1_schema_predict_instance_text_sentiment_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1_schema_predict_instance_text_sentiment_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1_schema_predict_instance_text_sentiment_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1_schema_predict_instance_text_sentiment_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1_schema_predict_instance_text_sentiment_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1_schema_predict_instance_text_sentiment_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_google_cloud_aiplatform_v1_schema_predict_instance_text_sentiment_proto_goTypes = []interface{}{ + (*TextSentimentPredictionInstance)(nil), // 0: google.cloud.aiplatform.v1.schema.predict.instance.TextSentimentPredictionInstance +} +var file_google_cloud_aiplatform_v1_schema_predict_instance_text_sentiment_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_google_cloud_aiplatform_v1_schema_predict_instance_text_sentiment_proto_init() } +func file_google_cloud_aiplatform_v1_schema_predict_instance_text_sentiment_proto_init() { + if File_google_cloud_aiplatform_v1_schema_predict_instance_text_sentiment_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1_schema_predict_instance_text_sentiment_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TextSentimentPredictionInstance); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_google_cloud_aiplatform_v1_schema_predict_instance_text_sentiment_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1_schema_predict_instance_text_sentiment_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1_schema_predict_instance_text_sentiment_proto_depIdxs, + MessageInfos: file_google_cloud_aiplatform_v1_schema_predict_instance_text_sentiment_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1_schema_predict_instance_text_sentiment_proto = out.File + file_google_cloud_aiplatform_v1_schema_predict_instance_text_sentiment_proto_rawDesc = nil + file_google_cloud_aiplatform_v1_schema_predict_instance_text_sentiment_proto_goTypes = nil + file_google_cloud_aiplatform_v1_schema_predict_instance_text_sentiment_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1/schema/predict/instance/video_action_recognition.pb.go b/googleapis/cloud/aiplatform/v1/schema/predict/instance/video_action_recognition.pb.go new file mode 100644 index 000000000..a4c573adb --- /dev/null +++ b/googleapis/cloud/aiplatform/v1/schema/predict/instance/video_action_recognition.pb.go @@ -0,0 +1,233 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.25.0-devel +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1/schema/predict/instance/video_action_recognition.proto + +package instance + +import ( + reflect "reflect" + sync "sync" + + proto "github.com/golang/protobuf/proto" + _ "google.golang.org/genproto/googleapis/api/annotations" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 + +// Prediction input format for Video Action Recognition. +type VideoActionRecognitionPredictionInstance struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The Google Cloud Storage location of the video on which to perform the + // prediction. + Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` + // The MIME type of the content of the video. Only the following are + // supported: video/mp4 video/avi video/quicktime + MimeType string `protobuf:"bytes,2,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` + // The beginning, inclusive, of the video's time segment on which to perform + // the prediction. Expressed as a number of seconds as measured from the + // start of the video, with "s" appended at the end. Fractions are allowed, + // up to a microsecond precision. + TimeSegmentStart string `protobuf:"bytes,3,opt,name=time_segment_start,json=timeSegmentStart,proto3" json:"time_segment_start,omitempty"` + // The end, exclusive, of the video's time segment on which to perform + // the prediction. Expressed as a number of seconds as measured from the + // start of the video, with "s" appended at the end. Fractions are allowed, + // up to a microsecond precision, and "inf" or "Infinity" is allowed, which + // means the end of the video. + TimeSegmentEnd string `protobuf:"bytes,4,opt,name=time_segment_end,json=timeSegmentEnd,proto3" json:"time_segment_end,omitempty"` +} + +func (x *VideoActionRecognitionPredictionInstance) Reset() { + *x = VideoActionRecognitionPredictionInstance{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1_schema_predict_instance_video_action_recognition_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VideoActionRecognitionPredictionInstance) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VideoActionRecognitionPredictionInstance) ProtoMessage() {} + +func (x *VideoActionRecognitionPredictionInstance) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1_schema_predict_instance_video_action_recognition_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VideoActionRecognitionPredictionInstance.ProtoReflect.Descriptor instead. +func (*VideoActionRecognitionPredictionInstance) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_predict_instance_video_action_recognition_proto_rawDescGZIP(), []int{0} +} + +func (x *VideoActionRecognitionPredictionInstance) GetContent() string { + if x != nil { + return x.Content + } + return "" +} + +func (x *VideoActionRecognitionPredictionInstance) GetMimeType() string { + if x != nil { + return x.MimeType + } + return "" +} + +func (x *VideoActionRecognitionPredictionInstance) GetTimeSegmentStart() string { + if x != nil { + return x.TimeSegmentStart + } + return "" +} + +func (x *VideoActionRecognitionPredictionInstance) GetTimeSegmentEnd() string { + if x != nil { + return x.TimeSegmentEnd + } + return "" +} + +var File_google_cloud_aiplatform_v1_schema_predict_instance_video_action_recognition_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1_schema_predict_instance_video_action_recognition_proto_rawDesc = []byte{ + 0x0a, 0x51, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, + 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2f, 0x69, 0x6e, 0x73, 0x74, + 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x76, 0x69, 0x64, 0x65, 0x6f, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x5f, 0x72, 0x65, 0x63, 0x6f, 0x67, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x12, 0x32, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, + 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2e, 0x69, + 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, + 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb9, 0x01, 0x0a, 0x28, 0x56, 0x69, 0x64, 0x65, 0x6f, 0x41, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x63, 0x6f, 0x67, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, + 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, + 0x63, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, + 0x6d, 0x69, 0x6d, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x08, 0x6d, 0x69, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x74, 0x69, 0x6d, + 0x65, 0x5f, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x74, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x67, 0x6d, 0x65, + 0x6e, 0x74, 0x53, 0x74, 0x61, 0x72, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x74, 0x69, 0x6d, 0x65, 0x5f, + 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x65, 0x6e, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0e, 0x74, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x45, 0x6e, + 0x64, 0x42, 0xc5, 0x01, 0x0a, 0x36, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, + 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x70, 0x72, 0x65, 0x64, + 0x69, 0x63, 0x74, 0x2e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x42, 0x2d, 0x56, 0x69, + 0x64, 0x65, 0x6f, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x63, 0x6f, 0x67, 0x6e, 0x69, + 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, + 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x5a, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, + 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, + 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, + 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, + 0x3b, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_google_cloud_aiplatform_v1_schema_predict_instance_video_action_recognition_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1_schema_predict_instance_video_action_recognition_proto_rawDescData = file_google_cloud_aiplatform_v1_schema_predict_instance_video_action_recognition_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1_schema_predict_instance_video_action_recognition_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1_schema_predict_instance_video_action_recognition_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1_schema_predict_instance_video_action_recognition_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1_schema_predict_instance_video_action_recognition_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1_schema_predict_instance_video_action_recognition_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1_schema_predict_instance_video_action_recognition_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_google_cloud_aiplatform_v1_schema_predict_instance_video_action_recognition_proto_goTypes = []interface{}{ + (*VideoActionRecognitionPredictionInstance)(nil), // 0: google.cloud.aiplatform.v1.schema.predict.instance.VideoActionRecognitionPredictionInstance +} +var file_google_cloud_aiplatform_v1_schema_predict_instance_video_action_recognition_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { + file_google_cloud_aiplatform_v1_schema_predict_instance_video_action_recognition_proto_init() +} +func file_google_cloud_aiplatform_v1_schema_predict_instance_video_action_recognition_proto_init() { + if File_google_cloud_aiplatform_v1_schema_predict_instance_video_action_recognition_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1_schema_predict_instance_video_action_recognition_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VideoActionRecognitionPredictionInstance); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_google_cloud_aiplatform_v1_schema_predict_instance_video_action_recognition_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1_schema_predict_instance_video_action_recognition_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1_schema_predict_instance_video_action_recognition_proto_depIdxs, + MessageInfos: file_google_cloud_aiplatform_v1_schema_predict_instance_video_action_recognition_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1_schema_predict_instance_video_action_recognition_proto = out.File + file_google_cloud_aiplatform_v1_schema_predict_instance_video_action_recognition_proto_rawDesc = nil + file_google_cloud_aiplatform_v1_schema_predict_instance_video_action_recognition_proto_goTypes = nil + file_google_cloud_aiplatform_v1_schema_predict_instance_video_action_recognition_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1/schema/predict/instance/video_classification.pb.go b/googleapis/cloud/aiplatform/v1/schema/predict/instance/video_classification.pb.go new file mode 100644 index 000000000..b294138cc --- /dev/null +++ b/googleapis/cloud/aiplatform/v1/schema/predict/instance/video_classification.pb.go @@ -0,0 +1,232 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.25.0-devel +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1/schema/predict/instance/video_classification.proto + +package instance + +import ( + reflect "reflect" + sync "sync" + + proto "github.com/golang/protobuf/proto" + _ "google.golang.org/genproto/googleapis/api/annotations" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 + +// Prediction input format for Video Classification. +type VideoClassificationPredictionInstance struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The Google Cloud Storage location of the video on which to perform the + // prediction. + Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` + // The MIME type of the content of the video. Only the following are + // supported: video/mp4 video/avi video/quicktime + MimeType string `protobuf:"bytes,2,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` + // The beginning, inclusive, of the video's time segment on which to perform + // the prediction. Expressed as a number of seconds as measured from the + // start of the video, with "s" appended at the end. Fractions are allowed, + // up to a microsecond precision. + TimeSegmentStart string `protobuf:"bytes,3,opt,name=time_segment_start,json=timeSegmentStart,proto3" json:"time_segment_start,omitempty"` + // The end, exclusive, of the video's time segment on which to perform + // the prediction. Expressed as a number of seconds as measured from the + // start of the video, with "s" appended at the end. Fractions are allowed, + // up to a microsecond precision, and "inf" or "Infinity" is allowed, which + // means the end of the video. + TimeSegmentEnd string `protobuf:"bytes,4,opt,name=time_segment_end,json=timeSegmentEnd,proto3" json:"time_segment_end,omitempty"` +} + +func (x *VideoClassificationPredictionInstance) Reset() { + *x = VideoClassificationPredictionInstance{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1_schema_predict_instance_video_classification_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VideoClassificationPredictionInstance) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VideoClassificationPredictionInstance) ProtoMessage() {} + +func (x *VideoClassificationPredictionInstance) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1_schema_predict_instance_video_classification_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VideoClassificationPredictionInstance.ProtoReflect.Descriptor instead. +func (*VideoClassificationPredictionInstance) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_predict_instance_video_classification_proto_rawDescGZIP(), []int{0} +} + +func (x *VideoClassificationPredictionInstance) GetContent() string { + if x != nil { + return x.Content + } + return "" +} + +func (x *VideoClassificationPredictionInstance) GetMimeType() string { + if x != nil { + return x.MimeType + } + return "" +} + +func (x *VideoClassificationPredictionInstance) GetTimeSegmentStart() string { + if x != nil { + return x.TimeSegmentStart + } + return "" +} + +func (x *VideoClassificationPredictionInstance) GetTimeSegmentEnd() string { + if x != nil { + return x.TimeSegmentEnd + } + return "" +} + +var File_google_cloud_aiplatform_v1_schema_predict_instance_video_classification_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1_schema_predict_instance_video_classification_proto_rawDesc = []byte{ + 0x0a, 0x4d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, + 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2f, 0x69, 0x6e, 0x73, 0x74, + 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x76, 0x69, 0x64, 0x65, 0x6f, 0x5f, 0x63, 0x6c, 0x61, 0x73, 0x73, + 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, + 0x32, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, + 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, + 0x6d, 0x61, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2e, 0x69, 0x6e, 0x73, 0x74, 0x61, + 0x6e, 0x63, 0x65, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, + 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0xb6, 0x01, 0x0a, 0x25, 0x56, 0x69, 0x64, 0x65, 0x6f, 0x43, 0x6c, 0x61, 0x73, 0x73, + 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, + 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, + 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x69, 0x6d, 0x65, 0x5f, 0x74, 0x79, + 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x69, 0x6d, 0x65, 0x54, 0x79, + 0x70, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x73, 0x65, 0x67, 0x6d, 0x65, + 0x6e, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, + 0x74, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x72, 0x74, + 0x12, 0x28, 0x0a, 0x10, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, + 0x5f, 0x65, 0x6e, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x74, 0x69, 0x6d, 0x65, + 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x45, 0x6e, 0x64, 0x42, 0xc2, 0x01, 0x0a, 0x36, 0x63, + 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, + 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, + 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2e, 0x69, 0x6e, 0x73, + 0x74, 0x61, 0x6e, 0x63, 0x65, 0x42, 0x2a, 0x56, 0x69, 0x64, 0x65, 0x6f, 0x43, 0x6c, 0x61, 0x73, + 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, + 0x6f, 0x50, 0x01, 0x5a, 0x5a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, + 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, + 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x73, + 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2f, 0x69, 0x6e, + 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x3b, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_google_cloud_aiplatform_v1_schema_predict_instance_video_classification_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1_schema_predict_instance_video_classification_proto_rawDescData = file_google_cloud_aiplatform_v1_schema_predict_instance_video_classification_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1_schema_predict_instance_video_classification_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1_schema_predict_instance_video_classification_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1_schema_predict_instance_video_classification_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1_schema_predict_instance_video_classification_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1_schema_predict_instance_video_classification_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1_schema_predict_instance_video_classification_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_google_cloud_aiplatform_v1_schema_predict_instance_video_classification_proto_goTypes = []interface{}{ + (*VideoClassificationPredictionInstance)(nil), // 0: google.cloud.aiplatform.v1.schema.predict.instance.VideoClassificationPredictionInstance +} +var file_google_cloud_aiplatform_v1_schema_predict_instance_video_classification_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { + file_google_cloud_aiplatform_v1_schema_predict_instance_video_classification_proto_init() +} +func file_google_cloud_aiplatform_v1_schema_predict_instance_video_classification_proto_init() { + if File_google_cloud_aiplatform_v1_schema_predict_instance_video_classification_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1_schema_predict_instance_video_classification_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VideoClassificationPredictionInstance); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_google_cloud_aiplatform_v1_schema_predict_instance_video_classification_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1_schema_predict_instance_video_classification_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1_schema_predict_instance_video_classification_proto_depIdxs, + MessageInfos: file_google_cloud_aiplatform_v1_schema_predict_instance_video_classification_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1_schema_predict_instance_video_classification_proto = out.File + file_google_cloud_aiplatform_v1_schema_predict_instance_video_classification_proto_rawDesc = nil + file_google_cloud_aiplatform_v1_schema_predict_instance_video_classification_proto_goTypes = nil + file_google_cloud_aiplatform_v1_schema_predict_instance_video_classification_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1/schema/predict/instance/video_object_tracking.pb.go b/googleapis/cloud/aiplatform/v1/schema/predict/instance/video_object_tracking.pb.go new file mode 100644 index 000000000..c4e9c9f43 --- /dev/null +++ b/googleapis/cloud/aiplatform/v1/schema/predict/instance/video_object_tracking.pb.go @@ -0,0 +1,232 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.25.0-devel +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1/schema/predict/instance/video_object_tracking.proto + +package instance + +import ( + reflect "reflect" + sync "sync" + + proto "github.com/golang/protobuf/proto" + _ "google.golang.org/genproto/googleapis/api/annotations" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 + +// Prediction input format for Video Object Tracking. +type VideoObjectTrackingPredictionInstance struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The Google Cloud Storage location of the video on which to perform the + // prediction. + Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` + // The MIME type of the content of the video. Only the following are + // supported: video/mp4 video/avi video/quicktime + MimeType string `protobuf:"bytes,2,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` + // The beginning, inclusive, of the video's time segment on which to perform + // the prediction. Expressed as a number of seconds as measured from the + // start of the video, with "s" appended at the end. Fractions are allowed, + // up to a microsecond precision. + TimeSegmentStart string `protobuf:"bytes,3,opt,name=time_segment_start,json=timeSegmentStart,proto3" json:"time_segment_start,omitempty"` + // The end, exclusive, of the video's time segment on which to perform + // the prediction. Expressed as a number of seconds as measured from the + // start of the video, with "s" appended at the end. Fractions are allowed, + // up to a microsecond precision, and "inf" or "Infinity" is allowed, which + // means the end of the video. + TimeSegmentEnd string `protobuf:"bytes,4,opt,name=time_segment_end,json=timeSegmentEnd,proto3" json:"time_segment_end,omitempty"` +} + +func (x *VideoObjectTrackingPredictionInstance) Reset() { + *x = VideoObjectTrackingPredictionInstance{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1_schema_predict_instance_video_object_tracking_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VideoObjectTrackingPredictionInstance) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VideoObjectTrackingPredictionInstance) ProtoMessage() {} + +func (x *VideoObjectTrackingPredictionInstance) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1_schema_predict_instance_video_object_tracking_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VideoObjectTrackingPredictionInstance.ProtoReflect.Descriptor instead. +func (*VideoObjectTrackingPredictionInstance) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_predict_instance_video_object_tracking_proto_rawDescGZIP(), []int{0} +} + +func (x *VideoObjectTrackingPredictionInstance) GetContent() string { + if x != nil { + return x.Content + } + return "" +} + +func (x *VideoObjectTrackingPredictionInstance) GetMimeType() string { + if x != nil { + return x.MimeType + } + return "" +} + +func (x *VideoObjectTrackingPredictionInstance) GetTimeSegmentStart() string { + if x != nil { + return x.TimeSegmentStart + } + return "" +} + +func (x *VideoObjectTrackingPredictionInstance) GetTimeSegmentEnd() string { + if x != nil { + return x.TimeSegmentEnd + } + return "" +} + +var File_google_cloud_aiplatform_v1_schema_predict_instance_video_object_tracking_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1_schema_predict_instance_video_object_tracking_proto_rawDesc = []byte{ + 0x0a, 0x4e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, + 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2f, 0x69, 0x6e, 0x73, 0x74, + 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x76, 0x69, 0x64, 0x65, 0x6f, 0x5f, 0x6f, 0x62, 0x6a, 0x65, 0x63, + 0x74, 0x5f, 0x74, 0x72, 0x61, 0x63, 0x6b, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x12, 0x32, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, + 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2e, 0x69, 0x6e, 0x73, 0x74, + 0x61, 0x6e, 0x63, 0x65, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, + 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0xb6, 0x01, 0x0a, 0x25, 0x56, 0x69, 0x64, 0x65, 0x6f, 0x4f, 0x62, 0x6a, 0x65, + 0x63, 0x74, 0x54, 0x72, 0x61, 0x63, 0x6b, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x18, 0x0a, 0x07, + 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, + 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x69, 0x6d, 0x65, 0x5f, 0x74, + 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x69, 0x6d, 0x65, 0x54, + 0x79, 0x70, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x73, 0x65, 0x67, 0x6d, + 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x10, 0x74, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x72, + 0x74, 0x12, 0x28, 0x0a, 0x10, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, + 0x74, 0x5f, 0x65, 0x6e, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x74, 0x69, 0x6d, + 0x65, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x45, 0x6e, 0x64, 0x42, 0xc2, 0x01, 0x0a, 0x36, + 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, + 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, + 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2e, 0x69, 0x6e, + 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x42, 0x2a, 0x56, 0x69, 0x64, 0x65, 0x6f, 0x4f, 0x62, 0x6a, + 0x65, 0x63, 0x74, 0x54, 0x72, 0x61, 0x63, 0x6b, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x65, 0x64, 0x69, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x50, 0x72, 0x6f, + 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x5a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, + 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, + 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2f, 0x69, + 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x3b, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_google_cloud_aiplatform_v1_schema_predict_instance_video_object_tracking_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1_schema_predict_instance_video_object_tracking_proto_rawDescData = file_google_cloud_aiplatform_v1_schema_predict_instance_video_object_tracking_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1_schema_predict_instance_video_object_tracking_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1_schema_predict_instance_video_object_tracking_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1_schema_predict_instance_video_object_tracking_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1_schema_predict_instance_video_object_tracking_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1_schema_predict_instance_video_object_tracking_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1_schema_predict_instance_video_object_tracking_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_google_cloud_aiplatform_v1_schema_predict_instance_video_object_tracking_proto_goTypes = []interface{}{ + (*VideoObjectTrackingPredictionInstance)(nil), // 0: google.cloud.aiplatform.v1.schema.predict.instance.VideoObjectTrackingPredictionInstance +} +var file_google_cloud_aiplatform_v1_schema_predict_instance_video_object_tracking_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { + file_google_cloud_aiplatform_v1_schema_predict_instance_video_object_tracking_proto_init() +} +func file_google_cloud_aiplatform_v1_schema_predict_instance_video_object_tracking_proto_init() { + if File_google_cloud_aiplatform_v1_schema_predict_instance_video_object_tracking_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1_schema_predict_instance_video_object_tracking_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VideoObjectTrackingPredictionInstance); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_google_cloud_aiplatform_v1_schema_predict_instance_video_object_tracking_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1_schema_predict_instance_video_object_tracking_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1_schema_predict_instance_video_object_tracking_proto_depIdxs, + MessageInfos: file_google_cloud_aiplatform_v1_schema_predict_instance_video_object_tracking_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1_schema_predict_instance_video_object_tracking_proto = out.File + file_google_cloud_aiplatform_v1_schema_predict_instance_video_object_tracking_proto_rawDesc = nil + file_google_cloud_aiplatform_v1_schema_predict_instance_video_object_tracking_proto_goTypes = nil + file_google_cloud_aiplatform_v1_schema_predict_instance_video_object_tracking_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1/schema/predict/params/image_classification.pb.go b/googleapis/cloud/aiplatform/v1/schema/predict/params/image_classification.pb.go new file mode 100644 index 000000000..d8bdecb84 --- /dev/null +++ b/googleapis/cloud/aiplatform/v1/schema/predict/params/image_classification.pb.go @@ -0,0 +1,202 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.25.0-devel +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1/schema/predict/params/image_classification.proto + +package params + +import ( + reflect "reflect" + sync "sync" + + proto "github.com/golang/protobuf/proto" + _ "google.golang.org/genproto/googleapis/api/annotations" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 + +// Prediction model parameters for Image Classification. +type ImageClassificationPredictionParams struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The Model only returns predictions with at least this confidence score. + // Default value is 0.0 + ConfidenceThreshold float32 `protobuf:"fixed32,1,opt,name=confidence_threshold,json=confidenceThreshold,proto3" json:"confidence_threshold,omitempty"` + // The Model only returns up to that many top, by confidence score, + // predictions per instance. If this number is very high, the Model may return + // fewer predictions. Default value is 10. + MaxPredictions int32 `protobuf:"varint,2,opt,name=max_predictions,json=maxPredictions,proto3" json:"max_predictions,omitempty"` +} + +func (x *ImageClassificationPredictionParams) Reset() { + *x = ImageClassificationPredictionParams{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1_schema_predict_params_image_classification_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ImageClassificationPredictionParams) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ImageClassificationPredictionParams) ProtoMessage() {} + +func (x *ImageClassificationPredictionParams) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1_schema_predict_params_image_classification_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ImageClassificationPredictionParams.ProtoReflect.Descriptor instead. +func (*ImageClassificationPredictionParams) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_predict_params_image_classification_proto_rawDescGZIP(), []int{0} +} + +func (x *ImageClassificationPredictionParams) GetConfidenceThreshold() float32 { + if x != nil { + return x.ConfidenceThreshold + } + return 0 +} + +func (x *ImageClassificationPredictionParams) GetMaxPredictions() int32 { + if x != nil { + return x.MaxPredictions + } + return 0 +} + +var File_google_cloud_aiplatform_v1_schema_predict_params_image_classification_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1_schema_predict_params_image_classification_proto_rawDesc = []byte{ + 0x0a, 0x4b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, + 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2f, 0x70, 0x61, 0x72, 0x61, + 0x6d, 0x73, 0x2f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, + 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x30, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, + 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, + 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x1a, + 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, + 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x81, 0x01, + 0x0a, 0x23, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, + 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x31, 0x0a, 0x14, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, + 0x6e, 0x63, 0x65, 0x5f, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x02, 0x52, 0x13, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x54, + 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x6d, 0x61, 0x78, 0x5f, + 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x0e, 0x6d, 0x61, 0x78, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x42, 0xba, 0x01, 0x0a, 0x34, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, + 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x70, 0x72, 0x65, 0x64, + 0x69, 0x63, 0x74, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, 0x28, 0x49, 0x6d, 0x61, 0x67, + 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, + 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x50, + 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x56, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, + 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, + 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, + 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, + 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x3b, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_google_cloud_aiplatform_v1_schema_predict_params_image_classification_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1_schema_predict_params_image_classification_proto_rawDescData = file_google_cloud_aiplatform_v1_schema_predict_params_image_classification_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1_schema_predict_params_image_classification_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1_schema_predict_params_image_classification_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1_schema_predict_params_image_classification_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1_schema_predict_params_image_classification_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1_schema_predict_params_image_classification_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1_schema_predict_params_image_classification_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_google_cloud_aiplatform_v1_schema_predict_params_image_classification_proto_goTypes = []interface{}{ + (*ImageClassificationPredictionParams)(nil), // 0: google.cloud.aiplatform.v1.schema.predict.params.ImageClassificationPredictionParams +} +var file_google_cloud_aiplatform_v1_schema_predict_params_image_classification_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_google_cloud_aiplatform_v1_schema_predict_params_image_classification_proto_init() } +func file_google_cloud_aiplatform_v1_schema_predict_params_image_classification_proto_init() { + if File_google_cloud_aiplatform_v1_schema_predict_params_image_classification_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1_schema_predict_params_image_classification_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ImageClassificationPredictionParams); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_google_cloud_aiplatform_v1_schema_predict_params_image_classification_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1_schema_predict_params_image_classification_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1_schema_predict_params_image_classification_proto_depIdxs, + MessageInfos: file_google_cloud_aiplatform_v1_schema_predict_params_image_classification_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1_schema_predict_params_image_classification_proto = out.File + file_google_cloud_aiplatform_v1_schema_predict_params_image_classification_proto_rawDesc = nil + file_google_cloud_aiplatform_v1_schema_predict_params_image_classification_proto_goTypes = nil + file_google_cloud_aiplatform_v1_schema_predict_params_image_classification_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1/schema/predict/params/image_object_detection.pb.go b/googleapis/cloud/aiplatform/v1/schema/predict/params/image_object_detection.pb.go new file mode 100644 index 000000000..1c1ef02db --- /dev/null +++ b/googleapis/cloud/aiplatform/v1/schema/predict/params/image_object_detection.pb.go @@ -0,0 +1,204 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.25.0-devel +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1/schema/predict/params/image_object_detection.proto + +package params + +import ( + reflect "reflect" + sync "sync" + + proto "github.com/golang/protobuf/proto" + _ "google.golang.org/genproto/googleapis/api/annotations" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 + +// Prediction model parameters for Image Object Detection. +type ImageObjectDetectionPredictionParams struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The Model only returns predictions with at least this confidence score. + // Default value is 0.0 + ConfidenceThreshold float32 `protobuf:"fixed32,1,opt,name=confidence_threshold,json=confidenceThreshold,proto3" json:"confidence_threshold,omitempty"` + // The Model only returns up to that many top, by confidence score, + // predictions per instance. Note that number of returned predictions is also + // limited by metadata's predictionsLimit. Default value is 10. + MaxPredictions int32 `protobuf:"varint,2,opt,name=max_predictions,json=maxPredictions,proto3" json:"max_predictions,omitempty"` +} + +func (x *ImageObjectDetectionPredictionParams) Reset() { + *x = ImageObjectDetectionPredictionParams{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1_schema_predict_params_image_object_detection_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ImageObjectDetectionPredictionParams) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ImageObjectDetectionPredictionParams) ProtoMessage() {} + +func (x *ImageObjectDetectionPredictionParams) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1_schema_predict_params_image_object_detection_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ImageObjectDetectionPredictionParams.ProtoReflect.Descriptor instead. +func (*ImageObjectDetectionPredictionParams) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_predict_params_image_object_detection_proto_rawDescGZIP(), []int{0} +} + +func (x *ImageObjectDetectionPredictionParams) GetConfidenceThreshold() float32 { + if x != nil { + return x.ConfidenceThreshold + } + return 0 +} + +func (x *ImageObjectDetectionPredictionParams) GetMaxPredictions() int32 { + if x != nil { + return x.MaxPredictions + } + return 0 +} + +var File_google_cloud_aiplatform_v1_schema_predict_params_image_object_detection_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1_schema_predict_params_image_object_detection_proto_rawDesc = []byte{ + 0x0a, 0x4d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, + 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2f, 0x70, 0x61, 0x72, 0x61, + 0x6d, 0x73, 0x2f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, + 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, + 0x30, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, + 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, + 0x6d, 0x61, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6d, + 0x73, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, + 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x82, 0x01, 0x0a, 0x24, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x44, + 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x31, 0x0a, 0x14, 0x63, 0x6f, 0x6e, 0x66, + 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x02, 0x52, 0x13, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, + 0x63, 0x65, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x6d, + 0x61, 0x78, 0x5f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x6d, 0x61, 0x78, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x42, 0xbb, 0x01, 0x0a, 0x34, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, + 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x70, + 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, 0x29, 0x49, + 0x6d, 0x61, 0x67, 0x65, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, + 0x61, 0x6d, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x56, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, + 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, + 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, + 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x70, 0x72, 0x65, + 0x64, 0x69, 0x63, 0x74, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x3b, 0x70, 0x61, 0x72, 0x61, + 0x6d, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_google_cloud_aiplatform_v1_schema_predict_params_image_object_detection_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1_schema_predict_params_image_object_detection_proto_rawDescData = file_google_cloud_aiplatform_v1_schema_predict_params_image_object_detection_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1_schema_predict_params_image_object_detection_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1_schema_predict_params_image_object_detection_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1_schema_predict_params_image_object_detection_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1_schema_predict_params_image_object_detection_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1_schema_predict_params_image_object_detection_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1_schema_predict_params_image_object_detection_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_google_cloud_aiplatform_v1_schema_predict_params_image_object_detection_proto_goTypes = []interface{}{ + (*ImageObjectDetectionPredictionParams)(nil), // 0: google.cloud.aiplatform.v1.schema.predict.params.ImageObjectDetectionPredictionParams +} +var file_google_cloud_aiplatform_v1_schema_predict_params_image_object_detection_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { + file_google_cloud_aiplatform_v1_schema_predict_params_image_object_detection_proto_init() +} +func file_google_cloud_aiplatform_v1_schema_predict_params_image_object_detection_proto_init() { + if File_google_cloud_aiplatform_v1_schema_predict_params_image_object_detection_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1_schema_predict_params_image_object_detection_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ImageObjectDetectionPredictionParams); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_google_cloud_aiplatform_v1_schema_predict_params_image_object_detection_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1_schema_predict_params_image_object_detection_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1_schema_predict_params_image_object_detection_proto_depIdxs, + MessageInfos: file_google_cloud_aiplatform_v1_schema_predict_params_image_object_detection_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1_schema_predict_params_image_object_detection_proto = out.File + file_google_cloud_aiplatform_v1_schema_predict_params_image_object_detection_proto_rawDesc = nil + file_google_cloud_aiplatform_v1_schema_predict_params_image_object_detection_proto_goTypes = nil + file_google_cloud_aiplatform_v1_schema_predict_params_image_object_detection_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1/schema/predict/params/image_segmentation.pb.go b/googleapis/cloud/aiplatform/v1/schema/predict/params/image_segmentation.pb.go new file mode 100644 index 000000000..532c45ba8 --- /dev/null +++ b/googleapis/cloud/aiplatform/v1/schema/predict/params/image_segmentation.pb.go @@ -0,0 +1,190 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.25.0-devel +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1/schema/predict/params/image_segmentation.proto + +package params + +import ( + reflect "reflect" + sync "sync" + + proto "github.com/golang/protobuf/proto" + _ "google.golang.org/genproto/googleapis/api/annotations" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 + +// Prediction model parameters for Image Segmentation. +type ImageSegmentationPredictionParams struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // When the model predicts category of pixels of the image, it will only + // provide predictions for pixels that it is at least this much confident + // about. All other pixels will be classified as background. Default value is + // 0.5. + ConfidenceThreshold float32 `protobuf:"fixed32,1,opt,name=confidence_threshold,json=confidenceThreshold,proto3" json:"confidence_threshold,omitempty"` +} + +func (x *ImageSegmentationPredictionParams) Reset() { + *x = ImageSegmentationPredictionParams{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1_schema_predict_params_image_segmentation_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ImageSegmentationPredictionParams) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ImageSegmentationPredictionParams) ProtoMessage() {} + +func (x *ImageSegmentationPredictionParams) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1_schema_predict_params_image_segmentation_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ImageSegmentationPredictionParams.ProtoReflect.Descriptor instead. +func (*ImageSegmentationPredictionParams) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_predict_params_image_segmentation_proto_rawDescGZIP(), []int{0} +} + +func (x *ImageSegmentationPredictionParams) GetConfidenceThreshold() float32 { + if x != nil { + return x.ConfidenceThreshold + } + return 0 +} + +var File_google_cloud_aiplatform_v1_schema_predict_params_image_segmentation_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1_schema_predict_params_image_segmentation_proto_rawDesc = []byte{ + 0x0a, 0x49, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, + 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2f, 0x70, 0x61, 0x72, 0x61, + 0x6d, 0x73, 0x2f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x30, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, + 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x70, + 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x1a, 0x1c, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x56, 0x0a, 0x21, 0x49, + 0x6d, 0x61, 0x67, 0x65, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, + 0x12, 0x31, 0x0a, 0x14, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x74, + 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x02, 0x52, 0x13, + 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, + 0x6f, 0x6c, 0x64, 0x42, 0xb8, 0x01, 0x0a, 0x34, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, + 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x70, 0x72, + 0x65, 0x64, 0x69, 0x63, 0x74, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, 0x26, 0x49, 0x6d, + 0x61, 0x67, 0x65, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, + 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x50, + 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x56, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, + 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, + 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, + 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, + 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x3b, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_google_cloud_aiplatform_v1_schema_predict_params_image_segmentation_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1_schema_predict_params_image_segmentation_proto_rawDescData = file_google_cloud_aiplatform_v1_schema_predict_params_image_segmentation_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1_schema_predict_params_image_segmentation_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1_schema_predict_params_image_segmentation_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1_schema_predict_params_image_segmentation_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1_schema_predict_params_image_segmentation_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1_schema_predict_params_image_segmentation_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1_schema_predict_params_image_segmentation_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_google_cloud_aiplatform_v1_schema_predict_params_image_segmentation_proto_goTypes = []interface{}{ + (*ImageSegmentationPredictionParams)(nil), // 0: google.cloud.aiplatform.v1.schema.predict.params.ImageSegmentationPredictionParams +} +var file_google_cloud_aiplatform_v1_schema_predict_params_image_segmentation_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_google_cloud_aiplatform_v1_schema_predict_params_image_segmentation_proto_init() } +func file_google_cloud_aiplatform_v1_schema_predict_params_image_segmentation_proto_init() { + if File_google_cloud_aiplatform_v1_schema_predict_params_image_segmentation_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1_schema_predict_params_image_segmentation_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ImageSegmentationPredictionParams); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_google_cloud_aiplatform_v1_schema_predict_params_image_segmentation_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1_schema_predict_params_image_segmentation_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1_schema_predict_params_image_segmentation_proto_depIdxs, + MessageInfos: file_google_cloud_aiplatform_v1_schema_predict_params_image_segmentation_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1_schema_predict_params_image_segmentation_proto = out.File + file_google_cloud_aiplatform_v1_schema_predict_params_image_segmentation_proto_rawDesc = nil + file_google_cloud_aiplatform_v1_schema_predict_params_image_segmentation_proto_goTypes = nil + file_google_cloud_aiplatform_v1_schema_predict_params_image_segmentation_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1/schema/predict/params/video_action_recognition.pb.go b/googleapis/cloud/aiplatform/v1/schema/predict/params/video_action_recognition.pb.go new file mode 100644 index 000000000..bc5a670ac --- /dev/null +++ b/googleapis/cloud/aiplatform/v1/schema/predict/params/video_action_recognition.pb.go @@ -0,0 +1,204 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.25.0-devel +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1/schema/predict/params/video_action_recognition.proto + +package params + +import ( + reflect "reflect" + sync "sync" + + proto "github.com/golang/protobuf/proto" + _ "google.golang.org/genproto/googleapis/api/annotations" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 + +// Prediction model parameters for Video Action Recognition. +type VideoActionRecognitionPredictionParams struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The Model only returns predictions with at least this confidence score. + // Default value is 0.0 + ConfidenceThreshold float32 `protobuf:"fixed32,1,opt,name=confidence_threshold,json=confidenceThreshold,proto3" json:"confidence_threshold,omitempty"` + // The model only returns up to that many top, by confidence score, + // predictions per frame of the video. If this number is very high, the + // Model may return fewer predictions per frame. Default value is 50. + MaxPredictions int32 `protobuf:"varint,2,opt,name=max_predictions,json=maxPredictions,proto3" json:"max_predictions,omitempty"` +} + +func (x *VideoActionRecognitionPredictionParams) Reset() { + *x = VideoActionRecognitionPredictionParams{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1_schema_predict_params_video_action_recognition_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VideoActionRecognitionPredictionParams) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VideoActionRecognitionPredictionParams) ProtoMessage() {} + +func (x *VideoActionRecognitionPredictionParams) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1_schema_predict_params_video_action_recognition_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VideoActionRecognitionPredictionParams.ProtoReflect.Descriptor instead. +func (*VideoActionRecognitionPredictionParams) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_predict_params_video_action_recognition_proto_rawDescGZIP(), []int{0} +} + +func (x *VideoActionRecognitionPredictionParams) GetConfidenceThreshold() float32 { + if x != nil { + return x.ConfidenceThreshold + } + return 0 +} + +func (x *VideoActionRecognitionPredictionParams) GetMaxPredictions() int32 { + if x != nil { + return x.MaxPredictions + } + return 0 +} + +var File_google_cloud_aiplatform_v1_schema_predict_params_video_action_recognition_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1_schema_predict_params_video_action_recognition_proto_rawDesc = []byte{ + 0x0a, 0x4f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, + 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2f, 0x70, 0x61, 0x72, 0x61, + 0x6d, 0x73, 0x2f, 0x76, 0x69, 0x64, 0x65, 0x6f, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, + 0x72, 0x65, 0x63, 0x6f, 0x67, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x12, 0x30, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, + 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, + 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2e, 0x70, 0x61, 0x72, + 0x61, 0x6d, 0x73, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, + 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x84, 0x01, 0x0a, 0x26, 0x56, 0x69, 0x64, 0x65, 0x6f, 0x41, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x52, 0x65, 0x63, 0x6f, 0x67, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x64, + 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x31, 0x0a, 0x14, + 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x74, 0x68, 0x72, 0x65, 0x73, + 0x68, 0x6f, 0x6c, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x02, 0x52, 0x13, 0x63, 0x6f, 0x6e, 0x66, + 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x12, + 0x27, 0x0a, 0x0f, 0x6d, 0x61, 0x78, 0x5f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x6d, 0x61, 0x78, 0x50, 0x72, 0x65, + 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0xbd, 0x01, 0x0a, 0x34, 0x63, 0x6f, 0x6d, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, + 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, + 0x6d, 0x61, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6d, + 0x73, 0x42, 0x2b, 0x56, 0x69, 0x64, 0x65, 0x6f, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, + 0x63, 0x6f, 0x67, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, + 0x5a, 0x56, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, + 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x69, + 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, + 0x6d, 0x61, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6d, + 0x73, 0x3b, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_google_cloud_aiplatform_v1_schema_predict_params_video_action_recognition_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1_schema_predict_params_video_action_recognition_proto_rawDescData = file_google_cloud_aiplatform_v1_schema_predict_params_video_action_recognition_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1_schema_predict_params_video_action_recognition_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1_schema_predict_params_video_action_recognition_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1_schema_predict_params_video_action_recognition_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1_schema_predict_params_video_action_recognition_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1_schema_predict_params_video_action_recognition_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1_schema_predict_params_video_action_recognition_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_google_cloud_aiplatform_v1_schema_predict_params_video_action_recognition_proto_goTypes = []interface{}{ + (*VideoActionRecognitionPredictionParams)(nil), // 0: google.cloud.aiplatform.v1.schema.predict.params.VideoActionRecognitionPredictionParams +} +var file_google_cloud_aiplatform_v1_schema_predict_params_video_action_recognition_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { + file_google_cloud_aiplatform_v1_schema_predict_params_video_action_recognition_proto_init() +} +func file_google_cloud_aiplatform_v1_schema_predict_params_video_action_recognition_proto_init() { + if File_google_cloud_aiplatform_v1_schema_predict_params_video_action_recognition_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1_schema_predict_params_video_action_recognition_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VideoActionRecognitionPredictionParams); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_google_cloud_aiplatform_v1_schema_predict_params_video_action_recognition_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1_schema_predict_params_video_action_recognition_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1_schema_predict_params_video_action_recognition_proto_depIdxs, + MessageInfos: file_google_cloud_aiplatform_v1_schema_predict_params_video_action_recognition_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1_schema_predict_params_video_action_recognition_proto = out.File + file_google_cloud_aiplatform_v1_schema_predict_params_video_action_recognition_proto_rawDesc = nil + file_google_cloud_aiplatform_v1_schema_predict_params_video_action_recognition_proto_goTypes = nil + file_google_cloud_aiplatform_v1_schema_predict_params_video_action_recognition_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1/schema/predict/params/video_classification.pb.go b/googleapis/cloud/aiplatform/v1/schema/predict/params/video_classification.pb.go new file mode 100644 index 000000000..9bc637842 --- /dev/null +++ b/googleapis/cloud/aiplatform/v1/schema/predict/params/video_classification.pb.go @@ -0,0 +1,256 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.25.0-devel +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1/schema/predict/params/video_classification.proto + +package params + +import ( + reflect "reflect" + sync "sync" + + proto "github.com/golang/protobuf/proto" + _ "google.golang.org/genproto/googleapis/api/annotations" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 + +// Prediction model parameters for Video Classification. +type VideoClassificationPredictionParams struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The Model only returns predictions with at least this confidence score. + // Default value is 0.0 + ConfidenceThreshold float32 `protobuf:"fixed32,1,opt,name=confidence_threshold,json=confidenceThreshold,proto3" json:"confidence_threshold,omitempty"` + // The Model only returns up to that many top, by confidence score, + // predictions per instance. If this number is very high, the Model may return + // fewer predictions. Default value is 10,000. + MaxPredictions int32 `protobuf:"varint,2,opt,name=max_predictions,json=maxPredictions,proto3" json:"max_predictions,omitempty"` + // Set to true to request segment-level classification. AI Platform returns + // labels and their confidence scores for the entire time segment of the + // video that user specified in the input instance. + // Default value is true + SegmentClassification bool `protobuf:"varint,3,opt,name=segment_classification,json=segmentClassification,proto3" json:"segment_classification,omitempty"` + // Set to true to request shot-level classification. AI Platform determines + // the boundaries for each camera shot in the entire time segment of the + // video that user specified in the input instance. AI Platform then + // returns labels and their confidence scores for each detected shot, along + // with the start and end time of the shot. + // WARNING: Model evaluation is not done for this classification type, + // the quality of it depends on the training data, but there are no metrics + // provided to describe that quality. + // Default value is false + ShotClassification bool `protobuf:"varint,4,opt,name=shot_classification,json=shotClassification,proto3" json:"shot_classification,omitempty"` + // Set to true to request classification for a video at one-second intervals. + // AI Platform returns labels and their confidence scores for each second of + // the entire time segment of the video that user specified in the input + // WARNING: Model evaluation is not done for this classification type, the + // quality of it depends on the training data, but there are no metrics + // provided to describe that quality. Default value is false + OneSecIntervalClassification bool `protobuf:"varint,5,opt,name=one_sec_interval_classification,json=oneSecIntervalClassification,proto3" json:"one_sec_interval_classification,omitempty"` +} + +func (x *VideoClassificationPredictionParams) Reset() { + *x = VideoClassificationPredictionParams{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1_schema_predict_params_video_classification_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VideoClassificationPredictionParams) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VideoClassificationPredictionParams) ProtoMessage() {} + +func (x *VideoClassificationPredictionParams) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1_schema_predict_params_video_classification_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VideoClassificationPredictionParams.ProtoReflect.Descriptor instead. +func (*VideoClassificationPredictionParams) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_predict_params_video_classification_proto_rawDescGZIP(), []int{0} +} + +func (x *VideoClassificationPredictionParams) GetConfidenceThreshold() float32 { + if x != nil { + return x.ConfidenceThreshold + } + return 0 +} + +func (x *VideoClassificationPredictionParams) GetMaxPredictions() int32 { + if x != nil { + return x.MaxPredictions + } + return 0 +} + +func (x *VideoClassificationPredictionParams) GetSegmentClassification() bool { + if x != nil { + return x.SegmentClassification + } + return false +} + +func (x *VideoClassificationPredictionParams) GetShotClassification() bool { + if x != nil { + return x.ShotClassification + } + return false +} + +func (x *VideoClassificationPredictionParams) GetOneSecIntervalClassification() bool { + if x != nil { + return x.OneSecIntervalClassification + } + return false +} + +var File_google_cloud_aiplatform_v1_schema_predict_params_video_classification_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1_schema_predict_params_video_classification_proto_rawDesc = []byte{ + 0x0a, 0x4b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, + 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2f, 0x70, 0x61, 0x72, 0x61, + 0x6d, 0x73, 0x2f, 0x76, 0x69, 0x64, 0x65, 0x6f, 0x5f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, + 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x30, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, + 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, + 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x1a, + 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, + 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb0, 0x02, + 0x0a, 0x23, 0x56, 0x69, 0x64, 0x65, 0x6f, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, + 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x31, 0x0a, 0x14, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, + 0x6e, 0x63, 0x65, 0x5f, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x02, 0x52, 0x13, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x54, + 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x6d, 0x61, 0x78, 0x5f, + 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x0e, 0x6d, 0x61, 0x78, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x12, 0x35, 0x0a, 0x16, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x6c, 0x61, + 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x15, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, + 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2f, 0x0a, 0x13, 0x73, 0x68, 0x6f, 0x74, + 0x5f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x73, 0x68, 0x6f, 0x74, 0x43, 0x6c, 0x61, 0x73, 0x73, + 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x45, 0x0a, 0x1f, 0x6f, 0x6e, 0x65, + 0x5f, 0x73, 0x65, 0x63, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x5f, 0x63, 0x6c, + 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x1c, 0x6f, 0x6e, 0x65, 0x53, 0x65, 0x63, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, + 0x61, 0x6c, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x42, 0xba, 0x01, 0x0a, 0x34, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, + 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, + 0x63, 0x74, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, 0x28, 0x56, 0x69, 0x64, 0x65, 0x6f, + 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, + 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x50, 0x72, + 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x56, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, + 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, + 0x75, 0x64, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, + 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2f, + 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x3b, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_google_cloud_aiplatform_v1_schema_predict_params_video_classification_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1_schema_predict_params_video_classification_proto_rawDescData = file_google_cloud_aiplatform_v1_schema_predict_params_video_classification_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1_schema_predict_params_video_classification_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1_schema_predict_params_video_classification_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1_schema_predict_params_video_classification_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1_schema_predict_params_video_classification_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1_schema_predict_params_video_classification_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1_schema_predict_params_video_classification_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_google_cloud_aiplatform_v1_schema_predict_params_video_classification_proto_goTypes = []interface{}{ + (*VideoClassificationPredictionParams)(nil), // 0: google.cloud.aiplatform.v1.schema.predict.params.VideoClassificationPredictionParams +} +var file_google_cloud_aiplatform_v1_schema_predict_params_video_classification_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_google_cloud_aiplatform_v1_schema_predict_params_video_classification_proto_init() } +func file_google_cloud_aiplatform_v1_schema_predict_params_video_classification_proto_init() { + if File_google_cloud_aiplatform_v1_schema_predict_params_video_classification_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1_schema_predict_params_video_classification_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VideoClassificationPredictionParams); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_google_cloud_aiplatform_v1_schema_predict_params_video_classification_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1_schema_predict_params_video_classification_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1_schema_predict_params_video_classification_proto_depIdxs, + MessageInfos: file_google_cloud_aiplatform_v1_schema_predict_params_video_classification_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1_schema_predict_params_video_classification_proto = out.File + file_google_cloud_aiplatform_v1_schema_predict_params_video_classification_proto_rawDesc = nil + file_google_cloud_aiplatform_v1_schema_predict_params_video_classification_proto_goTypes = nil + file_google_cloud_aiplatform_v1_schema_predict_params_video_classification_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1/schema/predict/params/video_object_tracking.pb.go b/googleapis/cloud/aiplatform/v1/schema/predict/params/video_object_tracking.pb.go new file mode 100644 index 000000000..9ac05aaad --- /dev/null +++ b/googleapis/cloud/aiplatform/v1/schema/predict/params/video_object_tracking.pb.go @@ -0,0 +1,215 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.25.0-devel +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1/schema/predict/params/video_object_tracking.proto + +package params + +import ( + reflect "reflect" + sync "sync" + + proto "github.com/golang/protobuf/proto" + _ "google.golang.org/genproto/googleapis/api/annotations" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 + +// Prediction model parameters for Video Object Tracking. +type VideoObjectTrackingPredictionParams struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The Model only returns predictions with at least this confidence score. + // Default value is 0.0 + ConfidenceThreshold float32 `protobuf:"fixed32,1,opt,name=confidence_threshold,json=confidenceThreshold,proto3" json:"confidence_threshold,omitempty"` + // The model only returns up to that many top, by confidence score, + // predictions per frame of the video. If this number is very high, the + // Model may return fewer predictions per frame. Default value is 50. + MaxPredictions int32 `protobuf:"varint,2,opt,name=max_predictions,json=maxPredictions,proto3" json:"max_predictions,omitempty"` + // Only bounding boxes with shortest edge at least that long as a relative + // value of video frame size are returned. Default value is 0.0. + MinBoundingBoxSize float32 `protobuf:"fixed32,3,opt,name=min_bounding_box_size,json=minBoundingBoxSize,proto3" json:"min_bounding_box_size,omitempty"` +} + +func (x *VideoObjectTrackingPredictionParams) Reset() { + *x = VideoObjectTrackingPredictionParams{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1_schema_predict_params_video_object_tracking_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VideoObjectTrackingPredictionParams) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VideoObjectTrackingPredictionParams) ProtoMessage() {} + +func (x *VideoObjectTrackingPredictionParams) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1_schema_predict_params_video_object_tracking_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VideoObjectTrackingPredictionParams.ProtoReflect.Descriptor instead. +func (*VideoObjectTrackingPredictionParams) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_predict_params_video_object_tracking_proto_rawDescGZIP(), []int{0} +} + +func (x *VideoObjectTrackingPredictionParams) GetConfidenceThreshold() float32 { + if x != nil { + return x.ConfidenceThreshold + } + return 0 +} + +func (x *VideoObjectTrackingPredictionParams) GetMaxPredictions() int32 { + if x != nil { + return x.MaxPredictions + } + return 0 +} + +func (x *VideoObjectTrackingPredictionParams) GetMinBoundingBoxSize() float32 { + if x != nil { + return x.MinBoundingBoxSize + } + return 0 +} + +var File_google_cloud_aiplatform_v1_schema_predict_params_video_object_tracking_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1_schema_predict_params_video_object_tracking_proto_rawDesc = []byte{ + 0x0a, 0x4c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, + 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2f, 0x70, 0x61, 0x72, 0x61, + 0x6d, 0x73, 0x2f, 0x76, 0x69, 0x64, 0x65, 0x6f, 0x5f, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, + 0x74, 0x72, 0x61, 0x63, 0x6b, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x30, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, + 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, + 0x61, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, + 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, + 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb4, + 0x01, 0x0a, 0x23, 0x56, 0x69, 0x64, 0x65, 0x6f, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x54, 0x72, + 0x61, 0x63, 0x6b, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x31, 0x0a, 0x14, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, + 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x02, 0x52, 0x13, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, + 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x6d, 0x61, 0x78, + 0x5f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x0e, 0x6d, 0x61, 0x78, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x12, 0x31, 0x0a, 0x15, 0x6d, 0x69, 0x6e, 0x5f, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x69, + 0x6e, 0x67, 0x5f, 0x62, 0x6f, 0x78, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x02, 0x52, 0x12, 0x6d, 0x69, 0x6e, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x42, 0x6f, + 0x78, 0x53, 0x69, 0x7a, 0x65, 0x42, 0xba, 0x01, 0x0a, 0x34, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, + 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, + 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, 0x28, + 0x56, 0x69, 0x64, 0x65, 0x6f, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x54, 0x72, 0x61, 0x63, 0x6b, + 0x69, 0x6e, 0x67, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, + 0x61, 0x6d, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x56, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, + 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, + 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, + 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x70, 0x72, 0x65, + 0x64, 0x69, 0x63, 0x74, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x3b, 0x70, 0x61, 0x72, 0x61, + 0x6d, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_google_cloud_aiplatform_v1_schema_predict_params_video_object_tracking_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1_schema_predict_params_video_object_tracking_proto_rawDescData = file_google_cloud_aiplatform_v1_schema_predict_params_video_object_tracking_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1_schema_predict_params_video_object_tracking_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1_schema_predict_params_video_object_tracking_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1_schema_predict_params_video_object_tracking_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1_schema_predict_params_video_object_tracking_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1_schema_predict_params_video_object_tracking_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1_schema_predict_params_video_object_tracking_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_google_cloud_aiplatform_v1_schema_predict_params_video_object_tracking_proto_goTypes = []interface{}{ + (*VideoObjectTrackingPredictionParams)(nil), // 0: google.cloud.aiplatform.v1.schema.predict.params.VideoObjectTrackingPredictionParams +} +var file_google_cloud_aiplatform_v1_schema_predict_params_video_object_tracking_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_google_cloud_aiplatform_v1_schema_predict_params_video_object_tracking_proto_init() } +func file_google_cloud_aiplatform_v1_schema_predict_params_video_object_tracking_proto_init() { + if File_google_cloud_aiplatform_v1_schema_predict_params_video_object_tracking_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1_schema_predict_params_video_object_tracking_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VideoObjectTrackingPredictionParams); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_google_cloud_aiplatform_v1_schema_predict_params_video_object_tracking_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1_schema_predict_params_video_object_tracking_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1_schema_predict_params_video_object_tracking_proto_depIdxs, + MessageInfos: file_google_cloud_aiplatform_v1_schema_predict_params_video_object_tracking_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1_schema_predict_params_video_object_tracking_proto = out.File + file_google_cloud_aiplatform_v1_schema_predict_params_video_object_tracking_proto_rawDesc = nil + file_google_cloud_aiplatform_v1_schema_predict_params_video_object_tracking_proto_goTypes = nil + file_google_cloud_aiplatform_v1_schema_predict_params_video_object_tracking_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1/schema/predict/prediction/classification.pb.go b/googleapis/cloud/aiplatform/v1/schema/predict/prediction/classification.pb.go new file mode 100644 index 000000000..6e553813d --- /dev/null +++ b/googleapis/cloud/aiplatform/v1/schema/predict/prediction/classification.pb.go @@ -0,0 +1,211 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.25.0-devel +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1/schema/predict/prediction/classification.proto + +package prediction + +import ( + reflect "reflect" + sync "sync" + + proto "github.com/golang/protobuf/proto" + _ "google.golang.org/genproto/googleapis/api/annotations" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 + +// Prediction output format for Image and Text Classification. +type ClassificationPredictionResult struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The resource IDs of the AnnotationSpecs that had been identified, ordered + // by the confidence score descendingly. + Ids []int64 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"` + // The display names of the AnnotationSpecs that had been identified, order + // matches the IDs. + DisplayNames []string `protobuf:"bytes,2,rep,name=display_names,json=displayNames,proto3" json:"display_names,omitempty"` + // The Model's confidences in correctness of the predicted IDs, higher value + // means higher confidence. Order matches the Ids. + Confidences []float32 `protobuf:"fixed32,3,rep,packed,name=confidences,proto3" json:"confidences,omitempty"` +} + +func (x *ClassificationPredictionResult) Reset() { + *x = ClassificationPredictionResult{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1_schema_predict_prediction_classification_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ClassificationPredictionResult) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ClassificationPredictionResult) ProtoMessage() {} + +func (x *ClassificationPredictionResult) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1_schema_predict_prediction_classification_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ClassificationPredictionResult.ProtoReflect.Descriptor instead. +func (*ClassificationPredictionResult) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_predict_prediction_classification_proto_rawDescGZIP(), []int{0} +} + +func (x *ClassificationPredictionResult) GetIds() []int64 { + if x != nil { + return x.Ids + } + return nil +} + +func (x *ClassificationPredictionResult) GetDisplayNames() []string { + if x != nil { + return x.DisplayNames + } + return nil +} + +func (x *ClassificationPredictionResult) GetConfidences() []float32 { + if x != nil { + return x.Confidences + } + return nil +} + +var File_google_cloud_aiplatform_v1_schema_predict_prediction_classification_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1_schema_predict_prediction_classification_proto_rawDesc = []byte{ + 0x0a, 0x49, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, + 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2f, 0x70, 0x72, 0x65, 0x64, + 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x34, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, + 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x70, + 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, + 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x79, 0x0a, 0x1e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, + 0x74, 0x12, 0x10, 0x0a, 0x03, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x03, 0x52, 0x03, + 0x69, 0x64, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, + 0x61, 0x6d, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x64, 0x69, 0x73, 0x70, + 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x66, + 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x02, 0x52, 0x0b, 0x63, + 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x42, 0xc1, 0x01, 0x0a, 0x38, 0x63, + 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, + 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, + 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x65, + 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x23, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, + 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x5e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, + 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x69, 0x70, 0x6c, + 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, + 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x3b, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_google_cloud_aiplatform_v1_schema_predict_prediction_classification_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1_schema_predict_prediction_classification_proto_rawDescData = file_google_cloud_aiplatform_v1_schema_predict_prediction_classification_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1_schema_predict_prediction_classification_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1_schema_predict_prediction_classification_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1_schema_predict_prediction_classification_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1_schema_predict_prediction_classification_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1_schema_predict_prediction_classification_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1_schema_predict_prediction_classification_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_google_cloud_aiplatform_v1_schema_predict_prediction_classification_proto_goTypes = []interface{}{ + (*ClassificationPredictionResult)(nil), // 0: google.cloud.aiplatform.v1.schema.predict.prediction.ClassificationPredictionResult +} +var file_google_cloud_aiplatform_v1_schema_predict_prediction_classification_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_google_cloud_aiplatform_v1_schema_predict_prediction_classification_proto_init() } +func file_google_cloud_aiplatform_v1_schema_predict_prediction_classification_proto_init() { + if File_google_cloud_aiplatform_v1_schema_predict_prediction_classification_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1_schema_predict_prediction_classification_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClassificationPredictionResult); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_google_cloud_aiplatform_v1_schema_predict_prediction_classification_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1_schema_predict_prediction_classification_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1_schema_predict_prediction_classification_proto_depIdxs, + MessageInfos: file_google_cloud_aiplatform_v1_schema_predict_prediction_classification_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1_schema_predict_prediction_classification_proto = out.File + file_google_cloud_aiplatform_v1_schema_predict_prediction_classification_proto_rawDesc = nil + file_google_cloud_aiplatform_v1_schema_predict_prediction_classification_proto_goTypes = nil + file_google_cloud_aiplatform_v1_schema_predict_prediction_classification_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1/schema/predict/prediction/image_object_detection.pb.go b/googleapis/cloud/aiplatform/v1/schema/predict/prediction/image_object_detection.pb.go new file mode 100644 index 000000000..a5d25a7c0 --- /dev/null +++ b/googleapis/cloud/aiplatform/v1/schema/predict/prediction/image_object_detection.pb.go @@ -0,0 +1,236 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.25.0-devel +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1/schema/predict/prediction/image_object_detection.proto + +package prediction + +import ( + reflect "reflect" + sync "sync" + + proto "github.com/golang/protobuf/proto" + _ "google.golang.org/genproto/googleapis/api/annotations" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + structpb "google.golang.org/protobuf/types/known/structpb" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 + +// Prediction output format for Image Object Detection. +type ImageObjectDetectionPredictionResult struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The resource IDs of the AnnotationSpecs that had been identified, ordered + // by the confidence score descendingly. + Ids []int64 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"` + // The display names of the AnnotationSpecs that had been identified, order + // matches the IDs. + DisplayNames []string `protobuf:"bytes,2,rep,name=display_names,json=displayNames,proto3" json:"display_names,omitempty"` + // The Model's confidences in correctness of the predicted IDs, higher value + // means higher confidence. Order matches the Ids. + Confidences []float32 `protobuf:"fixed32,3,rep,packed,name=confidences,proto3" json:"confidences,omitempty"` + // Bounding boxes, i.e. the rectangles over the image, that pinpoint + // the found AnnotationSpecs. Given in order that matches the IDs. Each + // bounding box is an array of 4 numbers `xMin`, `xMax`, `yMin`, and + // `yMax`, which represent the extremal coordinates of the box. They are + // relative to the image size, and the point 0,0 is in the top left + // of the image. + Bboxes []*structpb.ListValue `protobuf:"bytes,4,rep,name=bboxes,proto3" json:"bboxes,omitempty"` +} + +func (x *ImageObjectDetectionPredictionResult) Reset() { + *x = ImageObjectDetectionPredictionResult{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1_schema_predict_prediction_image_object_detection_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ImageObjectDetectionPredictionResult) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ImageObjectDetectionPredictionResult) ProtoMessage() {} + +func (x *ImageObjectDetectionPredictionResult) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1_schema_predict_prediction_image_object_detection_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ImageObjectDetectionPredictionResult.ProtoReflect.Descriptor instead. +func (*ImageObjectDetectionPredictionResult) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_predict_prediction_image_object_detection_proto_rawDescGZIP(), []int{0} +} + +func (x *ImageObjectDetectionPredictionResult) GetIds() []int64 { + if x != nil { + return x.Ids + } + return nil +} + +func (x *ImageObjectDetectionPredictionResult) GetDisplayNames() []string { + if x != nil { + return x.DisplayNames + } + return nil +} + +func (x *ImageObjectDetectionPredictionResult) GetConfidences() []float32 { + if x != nil { + return x.Confidences + } + return nil +} + +func (x *ImageObjectDetectionPredictionResult) GetBboxes() []*structpb.ListValue { + if x != nil { + return x.Bboxes + } + return nil +} + +var File_google_cloud_aiplatform_v1_schema_predict_prediction_image_object_detection_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1_schema_predict_prediction_image_object_detection_proto_rawDesc = []byte{ + 0x0a, 0x51, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, + 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2f, 0x70, 0x72, 0x65, 0x64, + 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x6f, 0x62, 0x6a, + 0x65, 0x63, 0x74, 0x5f, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x12, 0x34, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, + 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2e, 0x70, + 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, + 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, + 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb3, 0x01, 0x0a, 0x24, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x4f, + 0x62, 0x6a, 0x65, 0x63, 0x74, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, + 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x10, + 0x0a, 0x03, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x03, 0x52, 0x03, 0x69, 0x64, 0x73, + 0x12, 0x23, 0x0a, 0x0d, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, + 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, + 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, + 0x6e, 0x63, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x02, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x66, + 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x32, 0x0a, 0x06, 0x62, 0x62, 0x6f, 0x78, 0x65, + 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, + 0x6c, 0x75, 0x65, 0x52, 0x06, 0x62, 0x62, 0x6f, 0x78, 0x65, 0x73, 0x42, 0xc7, 0x01, 0x0a, 0x38, + 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, + 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, + 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2e, 0x70, 0x72, + 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x29, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x4f, + 0x62, 0x6a, 0x65, 0x63, 0x74, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, + 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x50, 0x72, + 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x5e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, + 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, + 0x75, 0x64, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, + 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2f, + 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3b, 0x70, 0x72, 0x65, 0x64, 0x69, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_google_cloud_aiplatform_v1_schema_predict_prediction_image_object_detection_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1_schema_predict_prediction_image_object_detection_proto_rawDescData = file_google_cloud_aiplatform_v1_schema_predict_prediction_image_object_detection_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1_schema_predict_prediction_image_object_detection_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1_schema_predict_prediction_image_object_detection_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1_schema_predict_prediction_image_object_detection_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1_schema_predict_prediction_image_object_detection_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1_schema_predict_prediction_image_object_detection_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1_schema_predict_prediction_image_object_detection_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_google_cloud_aiplatform_v1_schema_predict_prediction_image_object_detection_proto_goTypes = []interface{}{ + (*ImageObjectDetectionPredictionResult)(nil), // 0: google.cloud.aiplatform.v1.schema.predict.prediction.ImageObjectDetectionPredictionResult + (*structpb.ListValue)(nil), // 1: google.protobuf.ListValue +} +var file_google_cloud_aiplatform_v1_schema_predict_prediction_image_object_detection_proto_depIdxs = []int32{ + 1, // 0: google.cloud.aiplatform.v1.schema.predict.prediction.ImageObjectDetectionPredictionResult.bboxes:type_name -> google.protobuf.ListValue + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { + file_google_cloud_aiplatform_v1_schema_predict_prediction_image_object_detection_proto_init() +} +func file_google_cloud_aiplatform_v1_schema_predict_prediction_image_object_detection_proto_init() { + if File_google_cloud_aiplatform_v1_schema_predict_prediction_image_object_detection_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1_schema_predict_prediction_image_object_detection_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ImageObjectDetectionPredictionResult); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_google_cloud_aiplatform_v1_schema_predict_prediction_image_object_detection_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1_schema_predict_prediction_image_object_detection_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1_schema_predict_prediction_image_object_detection_proto_depIdxs, + MessageInfos: file_google_cloud_aiplatform_v1_schema_predict_prediction_image_object_detection_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1_schema_predict_prediction_image_object_detection_proto = out.File + file_google_cloud_aiplatform_v1_schema_predict_prediction_image_object_detection_proto_rawDesc = nil + file_google_cloud_aiplatform_v1_schema_predict_prediction_image_object_detection_proto_goTypes = nil + file_google_cloud_aiplatform_v1_schema_predict_prediction_image_object_detection_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1/schema/predict/prediction/image_segmentation.pb.go b/googleapis/cloud/aiplatform/v1/schema/predict/prediction/image_segmentation.pb.go new file mode 100644 index 000000000..c772cf980 --- /dev/null +++ b/googleapis/cloud/aiplatform/v1/schema/predict/prediction/image_segmentation.pb.go @@ -0,0 +1,210 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.25.0-devel +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1/schema/predict/prediction/image_segmentation.proto + +package prediction + +import ( + reflect "reflect" + sync "sync" + + proto "github.com/golang/protobuf/proto" + _ "google.golang.org/genproto/googleapis/api/annotations" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 + +// Prediction output format for Image Segmentation. +type ImageSegmentationPredictionResult struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // A PNG image where each pixel in the mask represents the category in which + // the pixel in the original image was predicted to belong to. The size of + // this image will be the same as the original image. The mapping between the + // AnntoationSpec and the color can be found in model's metadata. The model + // will choose the most likely category and if none of the categories reach + // the confidence threshold, the pixel will be marked as background. + CategoryMask string `protobuf:"bytes,1,opt,name=category_mask,json=categoryMask,proto3" json:"category_mask,omitempty"` + // A one channel image which is encoded as an 8bit lossless PNG. The size of + // the image will be the same as the original image. For a specific pixel, + // darker color means less confidence in correctness of the cateogry in the + // categoryMask for the corresponding pixel. Black means no confidence and + // white means complete confidence. + ConfidenceMask string `protobuf:"bytes,2,opt,name=confidence_mask,json=confidenceMask,proto3" json:"confidence_mask,omitempty"` +} + +func (x *ImageSegmentationPredictionResult) Reset() { + *x = ImageSegmentationPredictionResult{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1_schema_predict_prediction_image_segmentation_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ImageSegmentationPredictionResult) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ImageSegmentationPredictionResult) ProtoMessage() {} + +func (x *ImageSegmentationPredictionResult) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1_schema_predict_prediction_image_segmentation_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ImageSegmentationPredictionResult.ProtoReflect.Descriptor instead. +func (*ImageSegmentationPredictionResult) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_predict_prediction_image_segmentation_proto_rawDescGZIP(), []int{0} +} + +func (x *ImageSegmentationPredictionResult) GetCategoryMask() string { + if x != nil { + return x.CategoryMask + } + return "" +} + +func (x *ImageSegmentationPredictionResult) GetConfidenceMask() string { + if x != nil { + return x.ConfidenceMask + } + return "" +} + +var File_google_cloud_aiplatform_v1_schema_predict_prediction_image_segmentation_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1_schema_predict_prediction_image_segmentation_proto_rawDesc = []byte{ + 0x0a, 0x4d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, + 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2f, 0x70, 0x72, 0x65, 0x64, + 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x67, + 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, + 0x34, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, + 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, + 0x6d, 0x61, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, + 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x71, 0x0a, 0x21, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x53, 0x65, 0x67, 0x6d, + 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x61, 0x74, 0x65, + 0x67, 0x6f, 0x72, 0x79, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0c, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x27, 0x0a, + 0x0f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, + 0x63, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x42, 0xc4, 0x01, 0x0a, 0x38, 0x63, 0x6f, 0x6d, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, + 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, + 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x42, 0x26, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, + 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x5e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, + 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, + 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, + 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x3b, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_google_cloud_aiplatform_v1_schema_predict_prediction_image_segmentation_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1_schema_predict_prediction_image_segmentation_proto_rawDescData = file_google_cloud_aiplatform_v1_schema_predict_prediction_image_segmentation_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1_schema_predict_prediction_image_segmentation_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1_schema_predict_prediction_image_segmentation_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1_schema_predict_prediction_image_segmentation_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1_schema_predict_prediction_image_segmentation_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1_schema_predict_prediction_image_segmentation_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1_schema_predict_prediction_image_segmentation_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_google_cloud_aiplatform_v1_schema_predict_prediction_image_segmentation_proto_goTypes = []interface{}{ + (*ImageSegmentationPredictionResult)(nil), // 0: google.cloud.aiplatform.v1.schema.predict.prediction.ImageSegmentationPredictionResult +} +var file_google_cloud_aiplatform_v1_schema_predict_prediction_image_segmentation_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { + file_google_cloud_aiplatform_v1_schema_predict_prediction_image_segmentation_proto_init() +} +func file_google_cloud_aiplatform_v1_schema_predict_prediction_image_segmentation_proto_init() { + if File_google_cloud_aiplatform_v1_schema_predict_prediction_image_segmentation_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1_schema_predict_prediction_image_segmentation_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ImageSegmentationPredictionResult); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_google_cloud_aiplatform_v1_schema_predict_prediction_image_segmentation_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1_schema_predict_prediction_image_segmentation_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1_schema_predict_prediction_image_segmentation_proto_depIdxs, + MessageInfos: file_google_cloud_aiplatform_v1_schema_predict_prediction_image_segmentation_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1_schema_predict_prediction_image_segmentation_proto = out.File + file_google_cloud_aiplatform_v1_schema_predict_prediction_image_segmentation_proto_rawDesc = nil + file_google_cloud_aiplatform_v1_schema_predict_prediction_image_segmentation_proto_goTypes = nil + file_google_cloud_aiplatform_v1_schema_predict_prediction_image_segmentation_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1/schema/predict/prediction/tabular_classification.pb.go b/googleapis/cloud/aiplatform/v1/schema/predict/prediction/tabular_classification.pb.go new file mode 100644 index 000000000..6220f61c3 --- /dev/null +++ b/googleapis/cloud/aiplatform/v1/schema/predict/prediction/tabular_classification.pb.go @@ -0,0 +1,203 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.25.0-devel +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1/schema/predict/prediction/tabular_classification.proto + +package prediction + +import ( + reflect "reflect" + sync "sync" + + proto "github.com/golang/protobuf/proto" + _ "google.golang.org/genproto/googleapis/api/annotations" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 + +// Prediction output format for Tabular Classification. +type TabularClassificationPredictionResult struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The name of the classes being classified, contains all possible values of + // the target column. + Classes []string `protobuf:"bytes,1,rep,name=classes,proto3" json:"classes,omitempty"` + // The model's confidence in each class being correct, higher + // value means higher confidence. The N-th score corresponds to + // the N-th class in classes. + Scores []float32 `protobuf:"fixed32,2,rep,packed,name=scores,proto3" json:"scores,omitempty"` +} + +func (x *TabularClassificationPredictionResult) Reset() { + *x = TabularClassificationPredictionResult{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_classification_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TabularClassificationPredictionResult) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TabularClassificationPredictionResult) ProtoMessage() {} + +func (x *TabularClassificationPredictionResult) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_classification_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TabularClassificationPredictionResult.ProtoReflect.Descriptor instead. +func (*TabularClassificationPredictionResult) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_classification_proto_rawDescGZIP(), []int{0} +} + +func (x *TabularClassificationPredictionResult) GetClasses() []string { + if x != nil { + return x.Classes + } + return nil +} + +func (x *TabularClassificationPredictionResult) GetScores() []float32 { + if x != nil { + return x.Scores + } + return nil +} + +var File_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_classification_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_classification_proto_rawDesc = []byte{ + 0x0a, 0x51, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, + 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2f, 0x70, 0x72, 0x65, 0x64, + 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x74, 0x61, 0x62, 0x75, 0x6c, 0x61, 0x72, 0x5f, 0x63, + 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x12, 0x34, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, + 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2e, 0x70, + 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x59, 0x0a, 0x25, 0x54, 0x61, 0x62, 0x75, 0x6c, + 0x61, 0x72, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, + 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x09, 0x52, 0x07, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x65, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x63, + 0x6f, 0x72, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x02, 0x52, 0x06, 0x73, 0x63, 0x6f, 0x72, + 0x65, 0x73, 0x42, 0xc8, 0x01, 0x0a, 0x38, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, + 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x70, 0x72, 0x65, + 0x64, 0x69, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, + 0x2a, 0x54, 0x61, 0x62, 0x75, 0x6c, 0x61, 0x72, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x5e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, + 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, + 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, + 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x3b, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_classification_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_classification_proto_rawDescData = file_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_classification_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_classification_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_classification_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_classification_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_classification_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_classification_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_classification_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_classification_proto_goTypes = []interface{}{ + (*TabularClassificationPredictionResult)(nil), // 0: google.cloud.aiplatform.v1.schema.predict.prediction.TabularClassificationPredictionResult +} +var file_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_classification_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { + file_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_classification_proto_init() +} +func file_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_classification_proto_init() { + if File_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_classification_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_classification_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TabularClassificationPredictionResult); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_classification_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_classification_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_classification_proto_depIdxs, + MessageInfos: file_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_classification_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_classification_proto = out.File + file_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_classification_proto_rawDesc = nil + file_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_classification_proto_goTypes = nil + file_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_classification_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1/schema/predict/prediction/tabular_regression.pb.go b/googleapis/cloud/aiplatform/v1/schema/predict/prediction/tabular_regression.pb.go new file mode 100644 index 000000000..289e7dde7 --- /dev/null +++ b/googleapis/cloud/aiplatform/v1/schema/predict/prediction/tabular_regression.pb.go @@ -0,0 +1,210 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.25.0-devel +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1/schema/predict/prediction/tabular_regression.proto + +package prediction + +import ( + reflect "reflect" + sync "sync" + + proto "github.com/golang/protobuf/proto" + _ "google.golang.org/genproto/googleapis/api/annotations" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 + +// Prediction output format for Tabular Regression. +type TabularRegressionPredictionResult struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The regression value. + Value float32 `protobuf:"fixed32,1,opt,name=value,proto3" json:"value,omitempty"` + // The lower bound of the prediction interval. + LowerBound float32 `protobuf:"fixed32,2,opt,name=lower_bound,json=lowerBound,proto3" json:"lower_bound,omitempty"` + // The upper bound of the prediction interval. + UpperBound float32 `protobuf:"fixed32,3,opt,name=upper_bound,json=upperBound,proto3" json:"upper_bound,omitempty"` +} + +func (x *TabularRegressionPredictionResult) Reset() { + *x = TabularRegressionPredictionResult{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_regression_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TabularRegressionPredictionResult) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TabularRegressionPredictionResult) ProtoMessage() {} + +func (x *TabularRegressionPredictionResult) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_regression_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TabularRegressionPredictionResult.ProtoReflect.Descriptor instead. +func (*TabularRegressionPredictionResult) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_regression_proto_rawDescGZIP(), []int{0} +} + +func (x *TabularRegressionPredictionResult) GetValue() float32 { + if x != nil { + return x.Value + } + return 0 +} + +func (x *TabularRegressionPredictionResult) GetLowerBound() float32 { + if x != nil { + return x.LowerBound + } + return 0 +} + +func (x *TabularRegressionPredictionResult) GetUpperBound() float32 { + if x != nil { + return x.UpperBound + } + return 0 +} + +var File_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_regression_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_regression_proto_rawDesc = []byte{ + 0x0a, 0x4d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, + 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2f, 0x70, 0x72, 0x65, 0x64, + 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x74, 0x61, 0x62, 0x75, 0x6c, 0x61, 0x72, 0x5f, 0x72, + 0x65, 0x67, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, + 0x34, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, + 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, + 0x6d, 0x61, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, + 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x7b, 0x0a, 0x21, 0x54, 0x61, 0x62, 0x75, 0x6c, 0x61, 0x72, 0x52, 0x65, + 0x67, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x02, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1f, + 0x0a, 0x0b, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x5f, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x02, 0x52, 0x0a, 0x6c, 0x6f, 0x77, 0x65, 0x72, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x12, + 0x1f, 0x0a, 0x0b, 0x75, 0x70, 0x70, 0x65, 0x72, 0x5f, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x02, 0x52, 0x0a, 0x75, 0x70, 0x70, 0x65, 0x72, 0x42, 0x6f, 0x75, 0x6e, 0x64, + 0x42, 0xc4, 0x01, 0x0a, 0x38, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, + 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, + 0x63, 0x74, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x26, 0x54, + 0x61, 0x62, 0x75, 0x6c, 0x61, 0x72, 0x52, 0x65, 0x67, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, + 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x5e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, + 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, + 0x74, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3b, 0x70, 0x72, 0x65, + 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_regression_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_regression_proto_rawDescData = file_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_regression_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_regression_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_regression_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_regression_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_regression_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_regression_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_regression_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_regression_proto_goTypes = []interface{}{ + (*TabularRegressionPredictionResult)(nil), // 0: google.cloud.aiplatform.v1.schema.predict.prediction.TabularRegressionPredictionResult +} +var file_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_regression_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { + file_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_regression_proto_init() +} +func file_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_regression_proto_init() { + if File_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_regression_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_regression_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TabularRegressionPredictionResult); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_regression_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_regression_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_regression_proto_depIdxs, + MessageInfos: file_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_regression_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_regression_proto = out.File + file_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_regression_proto_rawDesc = nil + file_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_regression_proto_goTypes = nil + file_google_cloud_aiplatform_v1_schema_predict_prediction_tabular_regression_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1/schema/predict/prediction/text_extraction.pb.go b/googleapis/cloud/aiplatform/v1/schema/predict/prediction/text_extraction.pb.go new file mode 100644 index 000000000..7e1ee266c --- /dev/null +++ b/googleapis/cloud/aiplatform/v1/schema/predict/prediction/text_extraction.pb.go @@ -0,0 +1,240 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.25.0-devel +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1/schema/predict/prediction/text_extraction.proto + +package prediction + +import ( + reflect "reflect" + sync "sync" + + proto "github.com/golang/protobuf/proto" + _ "google.golang.org/genproto/googleapis/api/annotations" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 + +// Prediction output format for Text Extraction. +type TextExtractionPredictionResult struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The resource IDs of the AnnotationSpecs that had been identified, + // ordered by the confidence score descendingly. + Ids []int64 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"` + // The display names of the AnnotationSpecs that had been identified, + // order matches the IDs. + DisplayNames []string `protobuf:"bytes,2,rep,name=display_names,json=displayNames,proto3" json:"display_names,omitempty"` + // The start offsets, inclusive, of the text segment in which the + // AnnotationSpec has been identified. Expressed as a zero-based number + // of characters as measured from the start of the text snippet. + TextSegmentStartOffsets []int64 `protobuf:"varint,3,rep,packed,name=text_segment_start_offsets,json=textSegmentStartOffsets,proto3" json:"text_segment_start_offsets,omitempty"` + // The end offsets, inclusive, of the text segment in which the + // AnnotationSpec has been identified. Expressed as a zero-based number + // of characters as measured from the start of the text snippet. + TextSegmentEndOffsets []int64 `protobuf:"varint,4,rep,packed,name=text_segment_end_offsets,json=textSegmentEndOffsets,proto3" json:"text_segment_end_offsets,omitempty"` + // The Model's confidences in correctness of the predicted IDs, higher + // value means higher confidence. Order matches the Ids. + Confidences []float32 `protobuf:"fixed32,5,rep,packed,name=confidences,proto3" json:"confidences,omitempty"` +} + +func (x *TextExtractionPredictionResult) Reset() { + *x = TextExtractionPredictionResult{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1_schema_predict_prediction_text_extraction_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TextExtractionPredictionResult) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TextExtractionPredictionResult) ProtoMessage() {} + +func (x *TextExtractionPredictionResult) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1_schema_predict_prediction_text_extraction_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TextExtractionPredictionResult.ProtoReflect.Descriptor instead. +func (*TextExtractionPredictionResult) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_predict_prediction_text_extraction_proto_rawDescGZIP(), []int{0} +} + +func (x *TextExtractionPredictionResult) GetIds() []int64 { + if x != nil { + return x.Ids + } + return nil +} + +func (x *TextExtractionPredictionResult) GetDisplayNames() []string { + if x != nil { + return x.DisplayNames + } + return nil +} + +func (x *TextExtractionPredictionResult) GetTextSegmentStartOffsets() []int64 { + if x != nil { + return x.TextSegmentStartOffsets + } + return nil +} + +func (x *TextExtractionPredictionResult) GetTextSegmentEndOffsets() []int64 { + if x != nil { + return x.TextSegmentEndOffsets + } + return nil +} + +func (x *TextExtractionPredictionResult) GetConfidences() []float32 { + if x != nil { + return x.Confidences + } + return nil +} + +var File_google_cloud_aiplatform_v1_schema_predict_prediction_text_extraction_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1_schema_predict_prediction_text_extraction_proto_rawDesc = []byte{ + 0x0a, 0x4a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, + 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2f, 0x70, 0x72, 0x65, 0x64, + 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x72, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x34, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, + 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, + 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, + 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0xef, 0x01, 0x0a, 0x1e, 0x54, 0x65, 0x78, 0x74, 0x45, 0x78, 0x74, 0x72, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, + 0x75, 0x6c, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x03, + 0x52, 0x03, 0x69, 0x64, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, + 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x64, 0x69, + 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x3b, 0x0a, 0x1a, 0x74, 0x65, + 0x78, 0x74, 0x5f, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, + 0x5f, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x03, 0x52, 0x17, + 0x74, 0x65, 0x78, 0x74, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x72, 0x74, + 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x73, 0x12, 0x37, 0x0a, 0x18, 0x74, 0x65, 0x78, 0x74, 0x5f, + 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x65, 0x6e, 0x64, 0x5f, 0x6f, 0x66, 0x66, 0x73, + 0x65, 0x74, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x03, 0x52, 0x15, 0x74, 0x65, 0x78, 0x74, 0x53, + 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x45, 0x6e, 0x64, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x73, + 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x18, + 0x05, 0x20, 0x03, 0x28, 0x02, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, + 0x65, 0x73, 0x42, 0xc1, 0x01, 0x0a, 0x38, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, + 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x70, 0x72, 0x65, + 0x64, 0x69, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, + 0x23, 0x54, 0x65, 0x78, 0x74, 0x45, 0x78, 0x74, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, + 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x50, + 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x5e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, + 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, + 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, + 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, + 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3b, 0x70, 0x72, 0x65, 0x64, + 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_google_cloud_aiplatform_v1_schema_predict_prediction_text_extraction_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1_schema_predict_prediction_text_extraction_proto_rawDescData = file_google_cloud_aiplatform_v1_schema_predict_prediction_text_extraction_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1_schema_predict_prediction_text_extraction_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1_schema_predict_prediction_text_extraction_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1_schema_predict_prediction_text_extraction_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1_schema_predict_prediction_text_extraction_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1_schema_predict_prediction_text_extraction_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1_schema_predict_prediction_text_extraction_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_google_cloud_aiplatform_v1_schema_predict_prediction_text_extraction_proto_goTypes = []interface{}{ + (*TextExtractionPredictionResult)(nil), // 0: google.cloud.aiplatform.v1.schema.predict.prediction.TextExtractionPredictionResult +} +var file_google_cloud_aiplatform_v1_schema_predict_prediction_text_extraction_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_google_cloud_aiplatform_v1_schema_predict_prediction_text_extraction_proto_init() } +func file_google_cloud_aiplatform_v1_schema_predict_prediction_text_extraction_proto_init() { + if File_google_cloud_aiplatform_v1_schema_predict_prediction_text_extraction_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1_schema_predict_prediction_text_extraction_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TextExtractionPredictionResult); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_google_cloud_aiplatform_v1_schema_predict_prediction_text_extraction_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1_schema_predict_prediction_text_extraction_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1_schema_predict_prediction_text_extraction_proto_depIdxs, + MessageInfos: file_google_cloud_aiplatform_v1_schema_predict_prediction_text_extraction_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1_schema_predict_prediction_text_extraction_proto = out.File + file_google_cloud_aiplatform_v1_schema_predict_prediction_text_extraction_proto_rawDesc = nil + file_google_cloud_aiplatform_v1_schema_predict_prediction_text_extraction_proto_goTypes = nil + file_google_cloud_aiplatform_v1_schema_predict_prediction_text_extraction_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1/schema/predict/prediction/text_sentiment.pb.go b/googleapis/cloud/aiplatform/v1/schema/predict/prediction/text_sentiment.pb.go new file mode 100644 index 000000000..d4ca5b26b --- /dev/null +++ b/googleapis/cloud/aiplatform/v1/schema/predict/prediction/text_sentiment.pb.go @@ -0,0 +1,190 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.25.0-devel +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1/schema/predict/prediction/text_sentiment.proto + +package prediction + +import ( + reflect "reflect" + sync "sync" + + proto "github.com/golang/protobuf/proto" + _ "google.golang.org/genproto/googleapis/api/annotations" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 + +// Prediction output format for Text Sentiment +type TextSentimentPredictionResult struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The integer sentiment labels between 0 (inclusive) and sentimentMax label + // (inclusive), while 0 maps to the least positive sentiment and + // sentimentMax maps to the most positive one. The higher the score is, the + // more positive the sentiment in the text snippet is. Note: sentimentMax is + // an integer value between 1 (inclusive) and 10 (inclusive). + Sentiment int32 `protobuf:"varint,1,opt,name=sentiment,proto3" json:"sentiment,omitempty"` +} + +func (x *TextSentimentPredictionResult) Reset() { + *x = TextSentimentPredictionResult{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1_schema_predict_prediction_text_sentiment_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TextSentimentPredictionResult) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TextSentimentPredictionResult) ProtoMessage() {} + +func (x *TextSentimentPredictionResult) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1_schema_predict_prediction_text_sentiment_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TextSentimentPredictionResult.ProtoReflect.Descriptor instead. +func (*TextSentimentPredictionResult) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_predict_prediction_text_sentiment_proto_rawDescGZIP(), []int{0} +} + +func (x *TextSentimentPredictionResult) GetSentiment() int32 { + if x != nil { + return x.Sentiment + } + return 0 +} + +var File_google_cloud_aiplatform_v1_schema_predict_prediction_text_sentiment_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1_schema_predict_prediction_text_sentiment_proto_rawDesc = []byte{ + 0x0a, 0x49, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, + 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2f, 0x70, 0x72, 0x65, 0x64, + 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x73, 0x65, 0x6e, 0x74, + 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x34, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, + 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x70, + 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, + 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x3d, 0x0a, 0x1d, 0x54, 0x65, 0x78, 0x74, 0x53, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74, + 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, + 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x09, 0x73, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0xc0, + 0x01, 0x0a, 0x38, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, + 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, + 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, + 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x22, 0x54, 0x65, 0x78, + 0x74, 0x53, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, + 0x01, 0x5a, 0x5e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, + 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, + 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2f, 0x70, 0x72, 0x65, 0x64, + 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3b, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_google_cloud_aiplatform_v1_schema_predict_prediction_text_sentiment_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1_schema_predict_prediction_text_sentiment_proto_rawDescData = file_google_cloud_aiplatform_v1_schema_predict_prediction_text_sentiment_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1_schema_predict_prediction_text_sentiment_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1_schema_predict_prediction_text_sentiment_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1_schema_predict_prediction_text_sentiment_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1_schema_predict_prediction_text_sentiment_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1_schema_predict_prediction_text_sentiment_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1_schema_predict_prediction_text_sentiment_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_google_cloud_aiplatform_v1_schema_predict_prediction_text_sentiment_proto_goTypes = []interface{}{ + (*TextSentimentPredictionResult)(nil), // 0: google.cloud.aiplatform.v1.schema.predict.prediction.TextSentimentPredictionResult +} +var file_google_cloud_aiplatform_v1_schema_predict_prediction_text_sentiment_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_google_cloud_aiplatform_v1_schema_predict_prediction_text_sentiment_proto_init() } +func file_google_cloud_aiplatform_v1_schema_predict_prediction_text_sentiment_proto_init() { + if File_google_cloud_aiplatform_v1_schema_predict_prediction_text_sentiment_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1_schema_predict_prediction_text_sentiment_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TextSentimentPredictionResult); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_google_cloud_aiplatform_v1_schema_predict_prediction_text_sentiment_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1_schema_predict_prediction_text_sentiment_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1_schema_predict_prediction_text_sentiment_proto_depIdxs, + MessageInfos: file_google_cloud_aiplatform_v1_schema_predict_prediction_text_sentiment_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1_schema_predict_prediction_text_sentiment_proto = out.File + file_google_cloud_aiplatform_v1_schema_predict_prediction_text_sentiment_proto_rawDesc = nil + file_google_cloud_aiplatform_v1_schema_predict_prediction_text_sentiment_proto_goTypes = nil + file_google_cloud_aiplatform_v1_schema_predict_prediction_text_sentiment_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1/schema/predict/prediction/video_action_recognition.pb.go b/googleapis/cloud/aiplatform/v1/schema/predict/prediction/video_action_recognition.pb.go new file mode 100644 index 000000000..32cd13d5d --- /dev/null +++ b/googleapis/cloud/aiplatform/v1/schema/predict/prediction/video_action_recognition.pb.go @@ -0,0 +1,258 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.25.0-devel +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1/schema/predict/prediction/video_action_recognition.proto + +package prediction + +import ( + reflect "reflect" + sync "sync" + + proto "github.com/golang/protobuf/proto" + _ "google.golang.org/genproto/googleapis/api/annotations" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + durationpb "google.golang.org/protobuf/types/known/durationpb" + wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 + +// Prediction output format for Video Action Recognition. +type VideoActionRecognitionPredictionResult struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The resource ID of the AnnotationSpec that had been identified. + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + // The display name of the AnnotationSpec that had been identified. + DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` + // The beginning, inclusive, of the video's time segment in which the + // AnnotationSpec has been identified. Expressed as a number of seconds as + // measured from the start of the video, with fractions up to a microsecond + // precision, and with "s" appended at the end. + TimeSegmentStart *durationpb.Duration `protobuf:"bytes,4,opt,name=time_segment_start,json=timeSegmentStart,proto3" json:"time_segment_start,omitempty"` + // The end, exclusive, of the video's time segment in which the + // AnnotationSpec has been identified. Expressed as a number of seconds as + // measured from the start of the video, with fractions up to a microsecond + // precision, and with "s" appended at the end. + TimeSegmentEnd *durationpb.Duration `protobuf:"bytes,5,opt,name=time_segment_end,json=timeSegmentEnd,proto3" json:"time_segment_end,omitempty"` + // The Model's confidence in correction of this prediction, higher + // value means higher confidence. + Confidence *wrapperspb.FloatValue `protobuf:"bytes,6,opt,name=confidence,proto3" json:"confidence,omitempty"` +} + +func (x *VideoActionRecognitionPredictionResult) Reset() { + *x = VideoActionRecognitionPredictionResult{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1_schema_predict_prediction_video_action_recognition_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VideoActionRecognitionPredictionResult) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VideoActionRecognitionPredictionResult) ProtoMessage() {} + +func (x *VideoActionRecognitionPredictionResult) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1_schema_predict_prediction_video_action_recognition_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VideoActionRecognitionPredictionResult.ProtoReflect.Descriptor instead. +func (*VideoActionRecognitionPredictionResult) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_predict_prediction_video_action_recognition_proto_rawDescGZIP(), []int{0} +} + +func (x *VideoActionRecognitionPredictionResult) GetId() string { + if x != nil { + return x.Id + } + return "" +} + +func (x *VideoActionRecognitionPredictionResult) GetDisplayName() string { + if x != nil { + return x.DisplayName + } + return "" +} + +func (x *VideoActionRecognitionPredictionResult) GetTimeSegmentStart() *durationpb.Duration { + if x != nil { + return x.TimeSegmentStart + } + return nil +} + +func (x *VideoActionRecognitionPredictionResult) GetTimeSegmentEnd() *durationpb.Duration { + if x != nil { + return x.TimeSegmentEnd + } + return nil +} + +func (x *VideoActionRecognitionPredictionResult) GetConfidence() *wrapperspb.FloatValue { + if x != nil { + return x.Confidence + } + return nil +} + +var File_google_cloud_aiplatform_v1_schema_predict_prediction_video_action_recognition_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1_schema_predict_prediction_video_action_recognition_proto_rawDesc = []byte{ + 0x0a, 0x53, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, + 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2f, 0x70, 0x72, 0x65, 0x64, + 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x69, 0x64, 0x65, 0x6f, 0x5f, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x65, 0x63, 0x6f, 0x67, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x34, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, + 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, + 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, + 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, + 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa6, 0x02, 0x0a, 0x26, 0x56, 0x69, + 0x64, 0x65, 0x6f, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x63, 0x6f, 0x67, 0x6e, 0x69, + 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, + 0x73, 0x75, 0x6c, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x02, 0x69, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, + 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, + 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x47, 0x0a, 0x12, 0x74, 0x69, 0x6d, 0x65, 0x5f, + 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x10, + 0x74, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x72, 0x74, + 0x12, 0x43, 0x0a, 0x10, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, + 0x5f, 0x65, 0x6e, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x74, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x67, 0x6d, 0x65, + 0x6e, 0x74, 0x45, 0x6e, 0x64, 0x12, 0x3b, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, + 0x6e, 0x63, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x6c, 0x6f, 0x61, + 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, + 0x63, 0x65, 0x42, 0xc9, 0x01, 0x0a, 0x38, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, + 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x70, 0x72, 0x65, + 0x64, 0x69, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, + 0x2b, 0x56, 0x69, 0x64, 0x65, 0x6f, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x63, 0x6f, + 0x67, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x5e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, + 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x69, 0x70, 0x6c, + 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, + 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x3b, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_google_cloud_aiplatform_v1_schema_predict_prediction_video_action_recognition_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1_schema_predict_prediction_video_action_recognition_proto_rawDescData = file_google_cloud_aiplatform_v1_schema_predict_prediction_video_action_recognition_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1_schema_predict_prediction_video_action_recognition_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1_schema_predict_prediction_video_action_recognition_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1_schema_predict_prediction_video_action_recognition_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1_schema_predict_prediction_video_action_recognition_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1_schema_predict_prediction_video_action_recognition_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1_schema_predict_prediction_video_action_recognition_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_google_cloud_aiplatform_v1_schema_predict_prediction_video_action_recognition_proto_goTypes = []interface{}{ + (*VideoActionRecognitionPredictionResult)(nil), // 0: google.cloud.aiplatform.v1.schema.predict.prediction.VideoActionRecognitionPredictionResult + (*durationpb.Duration)(nil), // 1: google.protobuf.Duration + (*wrapperspb.FloatValue)(nil), // 2: google.protobuf.FloatValue +} +var file_google_cloud_aiplatform_v1_schema_predict_prediction_video_action_recognition_proto_depIdxs = []int32{ + 1, // 0: google.cloud.aiplatform.v1.schema.predict.prediction.VideoActionRecognitionPredictionResult.time_segment_start:type_name -> google.protobuf.Duration + 1, // 1: google.cloud.aiplatform.v1.schema.predict.prediction.VideoActionRecognitionPredictionResult.time_segment_end:type_name -> google.protobuf.Duration + 2, // 2: google.cloud.aiplatform.v1.schema.predict.prediction.VideoActionRecognitionPredictionResult.confidence:type_name -> google.protobuf.FloatValue + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { + file_google_cloud_aiplatform_v1_schema_predict_prediction_video_action_recognition_proto_init() +} +func file_google_cloud_aiplatform_v1_schema_predict_prediction_video_action_recognition_proto_init() { + if File_google_cloud_aiplatform_v1_schema_predict_prediction_video_action_recognition_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1_schema_predict_prediction_video_action_recognition_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VideoActionRecognitionPredictionResult); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_google_cloud_aiplatform_v1_schema_predict_prediction_video_action_recognition_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1_schema_predict_prediction_video_action_recognition_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1_schema_predict_prediction_video_action_recognition_proto_depIdxs, + MessageInfos: file_google_cloud_aiplatform_v1_schema_predict_prediction_video_action_recognition_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1_schema_predict_prediction_video_action_recognition_proto = out.File + file_google_cloud_aiplatform_v1_schema_predict_prediction_video_action_recognition_proto_rawDesc = nil + file_google_cloud_aiplatform_v1_schema_predict_prediction_video_action_recognition_proto_goTypes = nil + file_google_cloud_aiplatform_v1_schema_predict_prediction_video_action_recognition_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1/schema/predict/prediction/video_classification.pb.go b/googleapis/cloud/aiplatform/v1/schema/predict/prediction/video_classification.pb.go new file mode 100644 index 000000000..ee723dd83 --- /dev/null +++ b/googleapis/cloud/aiplatform/v1/schema/predict/prediction/video_classification.pb.go @@ -0,0 +1,277 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.25.0-devel +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1/schema/predict/prediction/video_classification.proto + +package prediction + +import ( + reflect "reflect" + sync "sync" + + proto "github.com/golang/protobuf/proto" + _ "google.golang.org/genproto/googleapis/api/annotations" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + durationpb "google.golang.org/protobuf/types/known/durationpb" + wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 + +// Prediction output format for Video Classification. +type VideoClassificationPredictionResult struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The resource ID of the AnnotationSpec that had been identified. + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + // The display name of the AnnotationSpec that had been identified. + DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` + // The type of the prediction. The requested types can be configured + // via parameters. This will be one of + // - segment-classification + // - shot-classification + // - one-sec-interval-classification + Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` + // The beginning, inclusive, of the video's time segment in which the + // AnnotationSpec has been identified. Expressed as a number of seconds as + // measured from the start of the video, with fractions up to a microsecond + // precision, and with "s" appended at the end. Note that for + // 'segment-classification' prediction type, this equals the original + // 'timeSegmentStart' from the input instance, for other types it is the + // start of a shot or a 1 second interval respectively. + TimeSegmentStart *durationpb.Duration `protobuf:"bytes,4,opt,name=time_segment_start,json=timeSegmentStart,proto3" json:"time_segment_start,omitempty"` + // The end, exclusive, of the video's time segment in which the + // AnnotationSpec has been identified. Expressed as a number of seconds as + // measured from the start of the video, with fractions up to a microsecond + // precision, and with "s" appended at the end. Note that for + // 'segment-classification' prediction type, this equals the original + // 'timeSegmentEnd' from the input instance, for other types it is the end + // of a shot or a 1 second interval respectively. + TimeSegmentEnd *durationpb.Duration `protobuf:"bytes,5,opt,name=time_segment_end,json=timeSegmentEnd,proto3" json:"time_segment_end,omitempty"` + // The Model's confidence in correction of this prediction, higher + // value means higher confidence. + Confidence *wrapperspb.FloatValue `protobuf:"bytes,6,opt,name=confidence,proto3" json:"confidence,omitempty"` +} + +func (x *VideoClassificationPredictionResult) Reset() { + *x = VideoClassificationPredictionResult{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1_schema_predict_prediction_video_classification_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VideoClassificationPredictionResult) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VideoClassificationPredictionResult) ProtoMessage() {} + +func (x *VideoClassificationPredictionResult) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1_schema_predict_prediction_video_classification_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VideoClassificationPredictionResult.ProtoReflect.Descriptor instead. +func (*VideoClassificationPredictionResult) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_predict_prediction_video_classification_proto_rawDescGZIP(), []int{0} +} + +func (x *VideoClassificationPredictionResult) GetId() string { + if x != nil { + return x.Id + } + return "" +} + +func (x *VideoClassificationPredictionResult) GetDisplayName() string { + if x != nil { + return x.DisplayName + } + return "" +} + +func (x *VideoClassificationPredictionResult) GetType() string { + if x != nil { + return x.Type + } + return "" +} + +func (x *VideoClassificationPredictionResult) GetTimeSegmentStart() *durationpb.Duration { + if x != nil { + return x.TimeSegmentStart + } + return nil +} + +func (x *VideoClassificationPredictionResult) GetTimeSegmentEnd() *durationpb.Duration { + if x != nil { + return x.TimeSegmentEnd + } + return nil +} + +func (x *VideoClassificationPredictionResult) GetConfidence() *wrapperspb.FloatValue { + if x != nil { + return x.Confidence + } + return nil +} + +var File_google_cloud_aiplatform_v1_schema_predict_prediction_video_classification_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1_schema_predict_prediction_video_classification_proto_rawDesc = []byte{ + 0x0a, 0x4f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, + 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2f, 0x70, 0x72, 0x65, 0x64, + 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x69, 0x64, 0x65, 0x6f, 0x5f, 0x63, 0x6c, 0x61, + 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x12, 0x34, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, + 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, + 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x65, + 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, + 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, + 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb7, 0x02, 0x0a, 0x23, 0x56, 0x69, 0x64, 0x65, 0x6f, 0x43, + 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, + 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x0e, 0x0a, + 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x21, 0x0a, + 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, + 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, + 0x74, 0x79, 0x70, 0x65, 0x12, 0x47, 0x0a, 0x12, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x73, 0x65, 0x67, + 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x10, 0x74, 0x69, 0x6d, + 0x65, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x72, 0x74, 0x12, 0x43, 0x0a, + 0x10, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x65, 0x6e, + 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x0e, 0x74, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x45, + 0x6e, 0x64, 0x12, 0x3b, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x56, 0x61, + 0x6c, 0x75, 0x65, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x42, + 0xc6, 0x01, 0x0a, 0x38, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, + 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, + 0x74, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x28, 0x56, 0x69, + 0x64, 0x65, 0x6f, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, + 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x5e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, + 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, + 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, + 0x63, 0x74, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3b, 0x70, 0x72, + 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_google_cloud_aiplatform_v1_schema_predict_prediction_video_classification_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1_schema_predict_prediction_video_classification_proto_rawDescData = file_google_cloud_aiplatform_v1_schema_predict_prediction_video_classification_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1_schema_predict_prediction_video_classification_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1_schema_predict_prediction_video_classification_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1_schema_predict_prediction_video_classification_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1_schema_predict_prediction_video_classification_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1_schema_predict_prediction_video_classification_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1_schema_predict_prediction_video_classification_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_google_cloud_aiplatform_v1_schema_predict_prediction_video_classification_proto_goTypes = []interface{}{ + (*VideoClassificationPredictionResult)(nil), // 0: google.cloud.aiplatform.v1.schema.predict.prediction.VideoClassificationPredictionResult + (*durationpb.Duration)(nil), // 1: google.protobuf.Duration + (*wrapperspb.FloatValue)(nil), // 2: google.protobuf.FloatValue +} +var file_google_cloud_aiplatform_v1_schema_predict_prediction_video_classification_proto_depIdxs = []int32{ + 1, // 0: google.cloud.aiplatform.v1.schema.predict.prediction.VideoClassificationPredictionResult.time_segment_start:type_name -> google.protobuf.Duration + 1, // 1: google.cloud.aiplatform.v1.schema.predict.prediction.VideoClassificationPredictionResult.time_segment_end:type_name -> google.protobuf.Duration + 2, // 2: google.cloud.aiplatform.v1.schema.predict.prediction.VideoClassificationPredictionResult.confidence:type_name -> google.protobuf.FloatValue + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { + file_google_cloud_aiplatform_v1_schema_predict_prediction_video_classification_proto_init() +} +func file_google_cloud_aiplatform_v1_schema_predict_prediction_video_classification_proto_init() { + if File_google_cloud_aiplatform_v1_schema_predict_prediction_video_classification_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1_schema_predict_prediction_video_classification_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VideoClassificationPredictionResult); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_google_cloud_aiplatform_v1_schema_predict_prediction_video_classification_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1_schema_predict_prediction_video_classification_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1_schema_predict_prediction_video_classification_proto_depIdxs, + MessageInfos: file_google_cloud_aiplatform_v1_schema_predict_prediction_video_classification_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1_schema_predict_prediction_video_classification_proto = out.File + file_google_cloud_aiplatform_v1_schema_predict_prediction_video_classification_proto_rawDesc = nil + file_google_cloud_aiplatform_v1_schema_predict_prediction_video_classification_proto_goTypes = nil + file_google_cloud_aiplatform_v1_schema_predict_prediction_video_classification_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1/schema/predict/prediction/video_object_tracking.pb.go b/googleapis/cloud/aiplatform/v1/schema/predict/prediction/video_object_tracking.pb.go new file mode 100644 index 000000000..027c4925d --- /dev/null +++ b/googleapis/cloud/aiplatform/v1/schema/predict/prediction/video_object_tracking.pb.go @@ -0,0 +1,402 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.25.0-devel +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1/schema/predict/prediction/video_object_tracking.proto + +package prediction + +import ( + reflect "reflect" + sync "sync" + + proto "github.com/golang/protobuf/proto" + _ "google.golang.org/genproto/googleapis/api/annotations" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + durationpb "google.golang.org/protobuf/types/known/durationpb" + wrapperspb "google.golang.org/protobuf/types/known/wrapperspb" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 + +// Prediction output format for Video Object Tracking. +type VideoObjectTrackingPredictionResult struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The resource ID of the AnnotationSpec that had been identified. + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + // The display name of the AnnotationSpec that had been identified. + DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` + // The beginning, inclusive, of the video's time segment in which the + // object instance has been detected. Expressed as a number of seconds as + // measured from the start of the video, with fractions up to a microsecond + // precision, and with "s" appended at the end. + TimeSegmentStart *durationpb.Duration `protobuf:"bytes,3,opt,name=time_segment_start,json=timeSegmentStart,proto3" json:"time_segment_start,omitempty"` + // The end, inclusive, of the video's time segment in which the + // object instance has been detected. Expressed as a number of seconds as + // measured from the start of the video, with fractions up to a microsecond + // precision, and with "s" appended at the end. + TimeSegmentEnd *durationpb.Duration `protobuf:"bytes,4,opt,name=time_segment_end,json=timeSegmentEnd,proto3" json:"time_segment_end,omitempty"` + // The Model's confidence in correction of this prediction, higher + // value means higher confidence. + Confidence *wrapperspb.FloatValue `protobuf:"bytes,5,opt,name=confidence,proto3" json:"confidence,omitempty"` + // All of the frames of the video in which a single object instance has been + // detected. The bounding boxes in the frames identify the same object. + Frames []*VideoObjectTrackingPredictionResult_Frame `protobuf:"bytes,6,rep,name=frames,proto3" json:"frames,omitempty"` +} + +func (x *VideoObjectTrackingPredictionResult) Reset() { + *x = VideoObjectTrackingPredictionResult{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1_schema_predict_prediction_video_object_tracking_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VideoObjectTrackingPredictionResult) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VideoObjectTrackingPredictionResult) ProtoMessage() {} + +func (x *VideoObjectTrackingPredictionResult) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1_schema_predict_prediction_video_object_tracking_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VideoObjectTrackingPredictionResult.ProtoReflect.Descriptor instead. +func (*VideoObjectTrackingPredictionResult) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_predict_prediction_video_object_tracking_proto_rawDescGZIP(), []int{0} +} + +func (x *VideoObjectTrackingPredictionResult) GetId() string { + if x != nil { + return x.Id + } + return "" +} + +func (x *VideoObjectTrackingPredictionResult) GetDisplayName() string { + if x != nil { + return x.DisplayName + } + return "" +} + +func (x *VideoObjectTrackingPredictionResult) GetTimeSegmentStart() *durationpb.Duration { + if x != nil { + return x.TimeSegmentStart + } + return nil +} + +func (x *VideoObjectTrackingPredictionResult) GetTimeSegmentEnd() *durationpb.Duration { + if x != nil { + return x.TimeSegmentEnd + } + return nil +} + +func (x *VideoObjectTrackingPredictionResult) GetConfidence() *wrapperspb.FloatValue { + if x != nil { + return x.Confidence + } + return nil +} + +func (x *VideoObjectTrackingPredictionResult) GetFrames() []*VideoObjectTrackingPredictionResult_Frame { + if x != nil { + return x.Frames + } + return nil +} + +// The fields `xMin`, `xMax`, `yMin`, and `yMax` refer to a bounding box, +// i.e. the rectangle over the video frame pinpointing the found +// AnnotationSpec. The coordinates are relative to the frame size, and the +// point 0,0 is in the top left of the frame. +type VideoObjectTrackingPredictionResult_Frame struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // A time (frame) of a video in which the object has been detected. + // Expressed as a number of seconds as measured from the + // start of the video, with fractions up to a microsecond precision, and + // with "s" appended at the end. + TimeOffset *durationpb.Duration `protobuf:"bytes,1,opt,name=time_offset,json=timeOffset,proto3" json:"time_offset,omitempty"` + // The leftmost coordinate of the bounding box. + XMin *wrapperspb.FloatValue `protobuf:"bytes,2,opt,name=x_min,json=xMin,proto3" json:"x_min,omitempty"` + // The rightmost coordinate of the bounding box. + XMax *wrapperspb.FloatValue `protobuf:"bytes,3,opt,name=x_max,json=xMax,proto3" json:"x_max,omitempty"` + // The topmost coordinate of the bounding box. + YMin *wrapperspb.FloatValue `protobuf:"bytes,4,opt,name=y_min,json=yMin,proto3" json:"y_min,omitempty"` + // The bottommost coordinate of the bounding box. + YMax *wrapperspb.FloatValue `protobuf:"bytes,5,opt,name=y_max,json=yMax,proto3" json:"y_max,omitempty"` +} + +func (x *VideoObjectTrackingPredictionResult_Frame) Reset() { + *x = VideoObjectTrackingPredictionResult_Frame{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1_schema_predict_prediction_video_object_tracking_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VideoObjectTrackingPredictionResult_Frame) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VideoObjectTrackingPredictionResult_Frame) ProtoMessage() {} + +func (x *VideoObjectTrackingPredictionResult_Frame) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1_schema_predict_prediction_video_object_tracking_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use VideoObjectTrackingPredictionResult_Frame.ProtoReflect.Descriptor instead. +func (*VideoObjectTrackingPredictionResult_Frame) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_predict_prediction_video_object_tracking_proto_rawDescGZIP(), []int{0, 0} +} + +func (x *VideoObjectTrackingPredictionResult_Frame) GetTimeOffset() *durationpb.Duration { + if x != nil { + return x.TimeOffset + } + return nil +} + +func (x *VideoObjectTrackingPredictionResult_Frame) GetXMin() *wrapperspb.FloatValue { + if x != nil { + return x.XMin + } + return nil +} + +func (x *VideoObjectTrackingPredictionResult_Frame) GetXMax() *wrapperspb.FloatValue { + if x != nil { + return x.XMax + } + return nil +} + +func (x *VideoObjectTrackingPredictionResult_Frame) GetYMin() *wrapperspb.FloatValue { + if x != nil { + return x.YMin + } + return nil +} + +func (x *VideoObjectTrackingPredictionResult_Frame) GetYMax() *wrapperspb.FloatValue { + if x != nil { + return x.YMax + } + return nil +} + +var File_google_cloud_aiplatform_v1_schema_predict_prediction_video_object_tracking_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1_schema_predict_prediction_video_object_tracking_proto_rawDesc = []byte{ + 0x0a, 0x50, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, + 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2f, 0x70, 0x72, 0x65, 0x64, + 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x69, 0x64, 0x65, 0x6f, 0x5f, 0x6f, 0x62, 0x6a, + 0x65, 0x63, 0x74, 0x5f, 0x74, 0x72, 0x61, 0x63, 0x6b, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x12, 0x34, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, + 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, + 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2e, 0x70, 0x72, + 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, + 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xaa, 0x05, 0x0a, 0x23, 0x56, 0x69, 0x64, 0x65, 0x6f, + 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x54, 0x72, 0x61, 0x63, 0x6b, 0x69, 0x6e, 0x67, 0x50, 0x72, + 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x0e, + 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x21, + 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, + 0x65, 0x12, 0x47, 0x0a, 0x12, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, + 0x74, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, + 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x10, 0x74, 0x69, 0x6d, 0x65, 0x53, 0x65, + 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x72, 0x74, 0x12, 0x43, 0x0a, 0x10, 0x74, 0x69, + 0x6d, 0x65, 0x5f, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x65, 0x6e, 0x64, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, + 0x0e, 0x74, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x45, 0x6e, 0x64, 0x12, + 0x3b, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, + 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x77, 0x0a, 0x06, + 0x66, 0x72, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x5f, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, + 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, + 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x2e, 0x56, 0x69, 0x64, 0x65, 0x6f, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x54, + 0x72, 0x61, 0x63, 0x6b, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x52, 0x06, 0x66, + 0x72, 0x61, 0x6d, 0x65, 0x73, 0x1a, 0x8b, 0x02, 0x0a, 0x05, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x12, + 0x3a, 0x0a, 0x0b, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, + 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x30, 0x0a, 0x05, 0x78, + 0x5f, 0x6d, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x6c, 0x6f, + 0x61, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x04, 0x78, 0x4d, 0x69, 0x6e, 0x12, 0x30, 0x0a, + 0x05, 0x78, 0x5f, 0x6d, 0x61, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, + 0x6c, 0x6f, 0x61, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x04, 0x78, 0x4d, 0x61, 0x78, 0x12, + 0x30, 0x0a, 0x05, 0x79, 0x5f, 0x6d, 0x69, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x04, 0x79, 0x4d, 0x69, + 0x6e, 0x12, 0x30, 0x0a, 0x05, 0x79, 0x5f, 0x6d, 0x61, 0x78, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2e, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x04, 0x79, + 0x4d, 0x61, 0x78, 0x42, 0xc6, 0x01, 0x0a, 0x38, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, + 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x70, 0x72, + 0x65, 0x64, 0x69, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x42, 0x28, 0x56, 0x69, 0x64, 0x65, 0x6f, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x54, 0x72, 0x61, + 0x63, 0x6b, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, + 0x65, 0x73, 0x75, 0x6c, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x5e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, + 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, + 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, + 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x70, + 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x2f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x3b, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_google_cloud_aiplatform_v1_schema_predict_prediction_video_object_tracking_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1_schema_predict_prediction_video_object_tracking_proto_rawDescData = file_google_cloud_aiplatform_v1_schema_predict_prediction_video_object_tracking_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1_schema_predict_prediction_video_object_tracking_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1_schema_predict_prediction_video_object_tracking_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1_schema_predict_prediction_video_object_tracking_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1_schema_predict_prediction_video_object_tracking_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1_schema_predict_prediction_video_object_tracking_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1_schema_predict_prediction_video_object_tracking_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_google_cloud_aiplatform_v1_schema_predict_prediction_video_object_tracking_proto_goTypes = []interface{}{ + (*VideoObjectTrackingPredictionResult)(nil), // 0: google.cloud.aiplatform.v1.schema.predict.prediction.VideoObjectTrackingPredictionResult + (*VideoObjectTrackingPredictionResult_Frame)(nil), // 1: google.cloud.aiplatform.v1.schema.predict.prediction.VideoObjectTrackingPredictionResult.Frame + (*durationpb.Duration)(nil), // 2: google.protobuf.Duration + (*wrapperspb.FloatValue)(nil), // 3: google.protobuf.FloatValue +} +var file_google_cloud_aiplatform_v1_schema_predict_prediction_video_object_tracking_proto_depIdxs = []int32{ + 2, // 0: google.cloud.aiplatform.v1.schema.predict.prediction.VideoObjectTrackingPredictionResult.time_segment_start:type_name -> google.protobuf.Duration + 2, // 1: google.cloud.aiplatform.v1.schema.predict.prediction.VideoObjectTrackingPredictionResult.time_segment_end:type_name -> google.protobuf.Duration + 3, // 2: google.cloud.aiplatform.v1.schema.predict.prediction.VideoObjectTrackingPredictionResult.confidence:type_name -> google.protobuf.FloatValue + 1, // 3: google.cloud.aiplatform.v1.schema.predict.prediction.VideoObjectTrackingPredictionResult.frames:type_name -> google.cloud.aiplatform.v1.schema.predict.prediction.VideoObjectTrackingPredictionResult.Frame + 2, // 4: google.cloud.aiplatform.v1.schema.predict.prediction.VideoObjectTrackingPredictionResult.Frame.time_offset:type_name -> google.protobuf.Duration + 3, // 5: google.cloud.aiplatform.v1.schema.predict.prediction.VideoObjectTrackingPredictionResult.Frame.x_min:type_name -> google.protobuf.FloatValue + 3, // 6: google.cloud.aiplatform.v1.schema.predict.prediction.VideoObjectTrackingPredictionResult.Frame.x_max:type_name -> google.protobuf.FloatValue + 3, // 7: google.cloud.aiplatform.v1.schema.predict.prediction.VideoObjectTrackingPredictionResult.Frame.y_min:type_name -> google.protobuf.FloatValue + 3, // 8: google.cloud.aiplatform.v1.schema.predict.prediction.VideoObjectTrackingPredictionResult.Frame.y_max:type_name -> google.protobuf.FloatValue + 9, // [9:9] is the sub-list for method output_type + 9, // [9:9] is the sub-list for method input_type + 9, // [9:9] is the sub-list for extension type_name + 9, // [9:9] is the sub-list for extension extendee + 0, // [0:9] is the sub-list for field type_name +} + +func init() { + file_google_cloud_aiplatform_v1_schema_predict_prediction_video_object_tracking_proto_init() +} +func file_google_cloud_aiplatform_v1_schema_predict_prediction_video_object_tracking_proto_init() { + if File_google_cloud_aiplatform_v1_schema_predict_prediction_video_object_tracking_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1_schema_predict_prediction_video_object_tracking_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VideoObjectTrackingPredictionResult); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_aiplatform_v1_schema_predict_prediction_video_object_tracking_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VideoObjectTrackingPredictionResult_Frame); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_google_cloud_aiplatform_v1_schema_predict_prediction_video_object_tracking_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1_schema_predict_prediction_video_object_tracking_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1_schema_predict_prediction_video_object_tracking_proto_depIdxs, + MessageInfos: file_google_cloud_aiplatform_v1_schema_predict_prediction_video_object_tracking_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1_schema_predict_prediction_video_object_tracking_proto = out.File + file_google_cloud_aiplatform_v1_schema_predict_prediction_video_object_tracking_proto_rawDesc = nil + file_google_cloud_aiplatform_v1_schema_predict_prediction_video_object_tracking_proto_goTypes = nil + file_google_cloud_aiplatform_v1_schema_predict_prediction_video_object_tracking_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1/schema/trainingjob/definition/automl_image_classification.pb.go b/googleapis/cloud/aiplatform/v1/schema/trainingjob/definition/automl_image_classification.pb.go new file mode 100644 index 000000000..8110b377b --- /dev/null +++ b/googleapis/cloud/aiplatform/v1/schema/trainingjob/definition/automl_image_classification.pb.go @@ -0,0 +1,590 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.25.0-devel +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_image_classification.proto + +package definition + +import ( + reflect "reflect" + sync "sync" + + proto "github.com/golang/protobuf/proto" + _ "google.golang.org/genproto/googleapis/api/annotations" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 + +type AutoMlImageClassificationInputs_ModelType int32 + +const ( + // Should not be set. + AutoMlImageClassificationInputs_MODEL_TYPE_UNSPECIFIED AutoMlImageClassificationInputs_ModelType = 0 + // A Model best tailored to be used within Google Cloud, and which cannot + // be exported. + // Default. + AutoMlImageClassificationInputs_CLOUD AutoMlImageClassificationInputs_ModelType = 1 + // A model that, in addition to being available within Google + // Cloud, can also be exported (see ModelService.ExportModel) as TensorFlow + // or Core ML model and used on a mobile or edge device afterwards. + // Expected to have low latency, but may have lower prediction + // quality than other mobile models. + AutoMlImageClassificationInputs_MOBILE_TF_LOW_LATENCY_1 AutoMlImageClassificationInputs_ModelType = 2 + // A model that, in addition to being available within Google + // Cloud, can also be exported (see ModelService.ExportModel) as TensorFlow + // or Core ML model and used on a mobile or edge device with afterwards. + AutoMlImageClassificationInputs_MOBILE_TF_VERSATILE_1 AutoMlImageClassificationInputs_ModelType = 3 + // A model that, in addition to being available within Google + // Cloud, can also be exported (see ModelService.ExportModel) as TensorFlow + // or Core ML model and used on a mobile or edge device afterwards. + // Expected to have a higher latency, but should also have a higher + // prediction quality than other mobile models. + AutoMlImageClassificationInputs_MOBILE_TF_HIGH_ACCURACY_1 AutoMlImageClassificationInputs_ModelType = 4 +) + +// Enum value maps for AutoMlImageClassificationInputs_ModelType. +var ( + AutoMlImageClassificationInputs_ModelType_name = map[int32]string{ + 0: "MODEL_TYPE_UNSPECIFIED", + 1: "CLOUD", + 2: "MOBILE_TF_LOW_LATENCY_1", + 3: "MOBILE_TF_VERSATILE_1", + 4: "MOBILE_TF_HIGH_ACCURACY_1", + } + AutoMlImageClassificationInputs_ModelType_value = map[string]int32{ + "MODEL_TYPE_UNSPECIFIED": 0, + "CLOUD": 1, + "MOBILE_TF_LOW_LATENCY_1": 2, + "MOBILE_TF_VERSATILE_1": 3, + "MOBILE_TF_HIGH_ACCURACY_1": 4, + } +) + +func (x AutoMlImageClassificationInputs_ModelType) Enum() *AutoMlImageClassificationInputs_ModelType { + p := new(AutoMlImageClassificationInputs_ModelType) + *p = x + return p +} + +func (x AutoMlImageClassificationInputs_ModelType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (AutoMlImageClassificationInputs_ModelType) Descriptor() protoreflect.EnumDescriptor { + return file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_classification_proto_enumTypes[0].Descriptor() +} + +func (AutoMlImageClassificationInputs_ModelType) Type() protoreflect.EnumType { + return &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_classification_proto_enumTypes[0] +} + +func (x AutoMlImageClassificationInputs_ModelType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use AutoMlImageClassificationInputs_ModelType.Descriptor instead. +func (AutoMlImageClassificationInputs_ModelType) EnumDescriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_classification_proto_rawDescGZIP(), []int{1, 0} +} + +type AutoMlImageClassificationMetadata_SuccessfulStopReason int32 + +const ( + // Should not be set. + AutoMlImageClassificationMetadata_SUCCESSFUL_STOP_REASON_UNSPECIFIED AutoMlImageClassificationMetadata_SuccessfulStopReason = 0 + // The inputs.budgetMilliNodeHours had been reached. + AutoMlImageClassificationMetadata_BUDGET_REACHED AutoMlImageClassificationMetadata_SuccessfulStopReason = 1 + // Further training of the Model ceased to increase its quality, since it + // already has converged. + AutoMlImageClassificationMetadata_MODEL_CONVERGED AutoMlImageClassificationMetadata_SuccessfulStopReason = 2 +) + +// Enum value maps for AutoMlImageClassificationMetadata_SuccessfulStopReason. +var ( + AutoMlImageClassificationMetadata_SuccessfulStopReason_name = map[int32]string{ + 0: "SUCCESSFUL_STOP_REASON_UNSPECIFIED", + 1: "BUDGET_REACHED", + 2: "MODEL_CONVERGED", + } + AutoMlImageClassificationMetadata_SuccessfulStopReason_value = map[string]int32{ + "SUCCESSFUL_STOP_REASON_UNSPECIFIED": 0, + "BUDGET_REACHED": 1, + "MODEL_CONVERGED": 2, + } +) + +func (x AutoMlImageClassificationMetadata_SuccessfulStopReason) Enum() *AutoMlImageClassificationMetadata_SuccessfulStopReason { + p := new(AutoMlImageClassificationMetadata_SuccessfulStopReason) + *p = x + return p +} + +func (x AutoMlImageClassificationMetadata_SuccessfulStopReason) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (AutoMlImageClassificationMetadata_SuccessfulStopReason) Descriptor() protoreflect.EnumDescriptor { + return file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_classification_proto_enumTypes[1].Descriptor() +} + +func (AutoMlImageClassificationMetadata_SuccessfulStopReason) Type() protoreflect.EnumType { + return &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_classification_proto_enumTypes[1] +} + +func (x AutoMlImageClassificationMetadata_SuccessfulStopReason) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use AutoMlImageClassificationMetadata_SuccessfulStopReason.Descriptor instead. +func (AutoMlImageClassificationMetadata_SuccessfulStopReason) EnumDescriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_classification_proto_rawDescGZIP(), []int{2, 0} +} + +// A TrainingJob that trains and uploads an AutoML Image Classification Model. +type AutoMlImageClassification struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The input parameters of this TrainingJob. + Inputs *AutoMlImageClassificationInputs `protobuf:"bytes,1,opt,name=inputs,proto3" json:"inputs,omitempty"` + // The metadata information. + Metadata *AutoMlImageClassificationMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` +} + +func (x *AutoMlImageClassification) Reset() { + *x = AutoMlImageClassification{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_classification_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AutoMlImageClassification) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AutoMlImageClassification) ProtoMessage() {} + +func (x *AutoMlImageClassification) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_classification_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AutoMlImageClassification.ProtoReflect.Descriptor instead. +func (*AutoMlImageClassification) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_classification_proto_rawDescGZIP(), []int{0} +} + +func (x *AutoMlImageClassification) GetInputs() *AutoMlImageClassificationInputs { + if x != nil { + return x.Inputs + } + return nil +} + +func (x *AutoMlImageClassification) GetMetadata() *AutoMlImageClassificationMetadata { + if x != nil { + return x.Metadata + } + return nil +} + +type AutoMlImageClassificationInputs struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ModelType AutoMlImageClassificationInputs_ModelType `protobuf:"varint,1,opt,name=model_type,json=modelType,proto3,enum=google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlImageClassificationInputs_ModelType" json:"model_type,omitempty"` + // The ID of the `base` model. If it is specified, the new model will be + // trained based on the `base` model. Otherwise, the new model will be + // trained from scratch. The `base` model must be in the same + // Project and Location as the new Model to train, and have the same + // modelType. + BaseModelId string `protobuf:"bytes,2,opt,name=base_model_id,json=baseModelId,proto3" json:"base_model_id,omitempty"` + // The training budget of creating this model, expressed in milli node + // hours i.e. 1,000 value in this field means 1 node hour. The actual + // metadata.costMilliNodeHours will be equal or less than this value. + // If further model training ceases to provide any improvements, it will + // stop without using the full budget and the metadata.successfulStopReason + // will be `model-converged`. + // Note, node_hour = actual_hour * number_of_nodes_involved. + // For modelType `cloud`(default), the budget must be between 8,000 + // and 800,000 milli node hours, inclusive. The default value is 192,000 + // which represents one day in wall time, considering 8 nodes are used. + // For model types `mobile-tf-low-latency-1`, `mobile-tf-versatile-1`, + // `mobile-tf-high-accuracy-1`, the training budget must be between + // 1,000 and 100,000 milli node hours, inclusive. + // The default value is 24,000 which represents one day in wall time on a + // single node that is used. + BudgetMilliNodeHours int64 `protobuf:"varint,3,opt,name=budget_milli_node_hours,json=budgetMilliNodeHours,proto3" json:"budget_milli_node_hours,omitempty"` + // Use the entire training budget. This disables the early stopping feature. + // When false the early stopping feature is enabled, which means that + // AutoML Image Classification might stop training before the entire + // training budget has been used. + DisableEarlyStopping bool `protobuf:"varint,4,opt,name=disable_early_stopping,json=disableEarlyStopping,proto3" json:"disable_early_stopping,omitempty"` + // If false, a single-label (multi-class) Model will be trained (i.e. + // assuming that for each image just up to one annotation may be + // applicable). If true, a multi-label Model will be trained (i.e. + // assuming that for each image multiple annotations may be applicable). + MultiLabel bool `protobuf:"varint,5,opt,name=multi_label,json=multiLabel,proto3" json:"multi_label,omitempty"` +} + +func (x *AutoMlImageClassificationInputs) Reset() { + *x = AutoMlImageClassificationInputs{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_classification_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AutoMlImageClassificationInputs) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AutoMlImageClassificationInputs) ProtoMessage() {} + +func (x *AutoMlImageClassificationInputs) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_classification_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AutoMlImageClassificationInputs.ProtoReflect.Descriptor instead. +func (*AutoMlImageClassificationInputs) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_classification_proto_rawDescGZIP(), []int{1} +} + +func (x *AutoMlImageClassificationInputs) GetModelType() AutoMlImageClassificationInputs_ModelType { + if x != nil { + return x.ModelType + } + return AutoMlImageClassificationInputs_MODEL_TYPE_UNSPECIFIED +} + +func (x *AutoMlImageClassificationInputs) GetBaseModelId() string { + if x != nil { + return x.BaseModelId + } + return "" +} + +func (x *AutoMlImageClassificationInputs) GetBudgetMilliNodeHours() int64 { + if x != nil { + return x.BudgetMilliNodeHours + } + return 0 +} + +func (x *AutoMlImageClassificationInputs) GetDisableEarlyStopping() bool { + if x != nil { + return x.DisableEarlyStopping + } + return false +} + +func (x *AutoMlImageClassificationInputs) GetMultiLabel() bool { + if x != nil { + return x.MultiLabel + } + return false +} + +type AutoMlImageClassificationMetadata struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The actual training cost of creating this model, expressed in + // milli node hours, i.e. 1,000 value in this field means 1 node hour. + // Guaranteed to not exceed inputs.budgetMilliNodeHours. + CostMilliNodeHours int64 `protobuf:"varint,1,opt,name=cost_milli_node_hours,json=costMilliNodeHours,proto3" json:"cost_milli_node_hours,omitempty"` + // For successful job completions, this is the reason why the job has + // finished. + SuccessfulStopReason AutoMlImageClassificationMetadata_SuccessfulStopReason `protobuf:"varint,2,opt,name=successful_stop_reason,json=successfulStopReason,proto3,enum=google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlImageClassificationMetadata_SuccessfulStopReason" json:"successful_stop_reason,omitempty"` +} + +func (x *AutoMlImageClassificationMetadata) Reset() { + *x = AutoMlImageClassificationMetadata{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_classification_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AutoMlImageClassificationMetadata) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AutoMlImageClassificationMetadata) ProtoMessage() {} + +func (x *AutoMlImageClassificationMetadata) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_classification_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AutoMlImageClassificationMetadata.ProtoReflect.Descriptor instead. +func (*AutoMlImageClassificationMetadata) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_classification_proto_rawDescGZIP(), []int{2} +} + +func (x *AutoMlImageClassificationMetadata) GetCostMilliNodeHours() int64 { + if x != nil { + return x.CostMilliNodeHours + } + return 0 +} + +func (x *AutoMlImageClassificationMetadata) GetSuccessfulStopReason() AutoMlImageClassificationMetadata_SuccessfulStopReason { + if x != nil { + return x.SuccessfulStopReason + } + return AutoMlImageClassificationMetadata_SUCCESSFUL_STOP_REASON_UNSPECIFIED +} + +var File_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_classification_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_classification_proto_rawDesc = []byte{ + 0x0a, 0x5a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, + 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x2f, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2f, + 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x6d, + 0x6c, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x38, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, + 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, + 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2e, 0x64, 0x65, 0x66, 0x69, + 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, + 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x87, 0x02, 0x0a, 0x19, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x6c, 0x49, + 0x6d, 0x61, 0x67, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x12, 0x71, 0x0a, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x59, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, + 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, + 0x6f, 0x62, 0x2e, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x75, + 0x74, 0x6f, 0x4d, 0x6c, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, + 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x52, 0x06, 0x69, + 0x6e, 0x70, 0x75, 0x74, 0x73, 0x12, 0x77, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x5b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, + 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x74, 0x72, 0x61, 0x69, + 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2e, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x6c, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x43, 0x6c, + 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 0xe4, + 0x03, 0x0a, 0x1f, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x6c, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x43, 0x6c, + 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x70, 0x75, + 0x74, 0x73, 0x12, 0x82, 0x01, 0x0a, 0x0a, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x74, 0x79, 0x70, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x63, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, + 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x74, 0x72, 0x61, 0x69, + 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2e, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x6c, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x43, 0x6c, + 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x70, 0x75, + 0x74, 0x73, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x6d, 0x6f, + 0x64, 0x65, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, 0x22, 0x0a, 0x0d, 0x62, 0x61, 0x73, 0x65, 0x5f, + 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, + 0x62, 0x61, 0x73, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x49, 0x64, 0x12, 0x35, 0x0a, 0x17, 0x62, + 0x75, 0x64, 0x67, 0x65, 0x74, 0x5f, 0x6d, 0x69, 0x6c, 0x6c, 0x69, 0x5f, 0x6e, 0x6f, 0x64, 0x65, + 0x5f, 0x68, 0x6f, 0x75, 0x72, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x14, 0x62, 0x75, + 0x64, 0x67, 0x65, 0x74, 0x4d, 0x69, 0x6c, 0x6c, 0x69, 0x4e, 0x6f, 0x64, 0x65, 0x48, 0x6f, 0x75, + 0x72, 0x73, 0x12, 0x34, 0x0a, 0x16, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x65, 0x61, + 0x72, 0x6c, 0x79, 0x5f, 0x73, 0x74, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x14, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x45, 0x61, 0x72, 0x6c, 0x79, + 0x53, 0x74, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x75, 0x6c, 0x74, + 0x69, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x6d, + 0x75, 0x6c, 0x74, 0x69, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x22, 0x89, 0x01, 0x0a, 0x09, 0x4d, 0x6f, + 0x64, 0x65, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x16, 0x4d, 0x4f, 0x44, 0x45, 0x4c, + 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, + 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x43, 0x4c, 0x4f, 0x55, 0x44, 0x10, 0x01, 0x12, 0x1b, + 0x0a, 0x17, 0x4d, 0x4f, 0x42, 0x49, 0x4c, 0x45, 0x5f, 0x54, 0x46, 0x5f, 0x4c, 0x4f, 0x57, 0x5f, + 0x4c, 0x41, 0x54, 0x45, 0x4e, 0x43, 0x59, 0x5f, 0x31, 0x10, 0x02, 0x12, 0x19, 0x0a, 0x15, 0x4d, + 0x4f, 0x42, 0x49, 0x4c, 0x45, 0x5f, 0x54, 0x46, 0x5f, 0x56, 0x45, 0x52, 0x53, 0x41, 0x54, 0x49, + 0x4c, 0x45, 0x5f, 0x31, 0x10, 0x03, 0x12, 0x1d, 0x0a, 0x19, 0x4d, 0x4f, 0x42, 0x49, 0x4c, 0x45, + 0x5f, 0x54, 0x46, 0x5f, 0x48, 0x49, 0x47, 0x48, 0x5f, 0x41, 0x43, 0x43, 0x55, 0x52, 0x41, 0x43, + 0x59, 0x5f, 0x31, 0x10, 0x04, 0x22, 0xe8, 0x02, 0x0a, 0x21, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x6c, + 0x49, 0x6d, 0x61, 0x67, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x31, 0x0a, 0x15, 0x63, + 0x6f, 0x73, 0x74, 0x5f, 0x6d, 0x69, 0x6c, 0x6c, 0x69, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x68, + 0x6f, 0x75, 0x72, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x63, 0x6f, 0x73, 0x74, + 0x4d, 0x69, 0x6c, 0x6c, 0x69, 0x4e, 0x6f, 0x64, 0x65, 0x48, 0x6f, 0x75, 0x72, 0x73, 0x12, 0xa6, + 0x01, 0x0a, 0x16, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x66, 0x75, 0x6c, 0x5f, 0x73, 0x74, + 0x6f, 0x70, 0x5f, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x70, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, + 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x2e, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2e, + 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x4d, + 0x6c, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x53, 0x75, 0x63, + 0x63, 0x65, 0x73, 0x73, 0x66, 0x75, 0x6c, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x61, 0x73, 0x6f, + 0x6e, 0x52, 0x14, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x66, 0x75, 0x6c, 0x53, 0x74, 0x6f, + 0x70, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x22, 0x67, 0x0a, 0x14, 0x53, 0x75, 0x63, 0x63, 0x65, + 0x73, 0x73, 0x66, 0x75, 0x6c, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, + 0x26, 0x0a, 0x22, 0x53, 0x55, 0x43, 0x43, 0x45, 0x53, 0x53, 0x46, 0x55, 0x4c, 0x5f, 0x53, 0x54, + 0x4f, 0x50, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, + 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x12, 0x0a, 0x0e, 0x42, 0x55, 0x44, 0x47, 0x45, + 0x54, 0x5f, 0x52, 0x45, 0x41, 0x43, 0x48, 0x45, 0x44, 0x10, 0x01, 0x12, 0x13, 0x0a, 0x0f, 0x4d, + 0x4f, 0x44, 0x45, 0x4c, 0x5f, 0x43, 0x4f, 0x4e, 0x56, 0x45, 0x52, 0x47, 0x45, 0x44, 0x10, 0x02, + 0x42, 0xc4, 0x01, 0x0a, 0x3c, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, + 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x74, 0x72, 0x61, 0x69, 0x6e, + 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2e, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, + 0x6e, 0x42, 0x1e, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x4c, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x43, 0x6c, + 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, + 0x6f, 0x50, 0x01, 0x5a, 0x62, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, + 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, + 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x73, + 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, + 0x62, 0x2f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x3b, 0x64, 0x65, 0x66, + 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_classification_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_classification_proto_rawDescData = file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_classification_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_classification_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_classification_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_classification_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_classification_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_classification_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_classification_proto_enumTypes = make([]protoimpl.EnumInfo, 2) +var file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_classification_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_classification_proto_goTypes = []interface{}{ + (AutoMlImageClassificationInputs_ModelType)(0), // 0: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlImageClassificationInputs.ModelType + (AutoMlImageClassificationMetadata_SuccessfulStopReason)(0), // 1: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlImageClassificationMetadata.SuccessfulStopReason + (*AutoMlImageClassification)(nil), // 2: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlImageClassification + (*AutoMlImageClassificationInputs)(nil), // 3: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlImageClassificationInputs + (*AutoMlImageClassificationMetadata)(nil), // 4: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlImageClassificationMetadata +} +var file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_classification_proto_depIdxs = []int32{ + 3, // 0: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlImageClassification.inputs:type_name -> google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlImageClassificationInputs + 4, // 1: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlImageClassification.metadata:type_name -> google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlImageClassificationMetadata + 0, // 2: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlImageClassificationInputs.model_type:type_name -> google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlImageClassificationInputs.ModelType + 1, // 3: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlImageClassificationMetadata.successful_stop_reason:type_name -> google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlImageClassificationMetadata.SuccessfulStopReason + 4, // [4:4] is the sub-list for method output_type + 4, // [4:4] is the sub-list for method input_type + 4, // [4:4] is the sub-list for extension type_name + 4, // [4:4] is the sub-list for extension extendee + 0, // [0:4] is the sub-list for field type_name +} + +func init() { + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_classification_proto_init() +} +func file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_classification_proto_init() { + if File_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_classification_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_classification_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AutoMlImageClassification); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_classification_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AutoMlImageClassificationInputs); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_classification_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AutoMlImageClassificationMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_classification_proto_rawDesc, + NumEnums: 2, + NumMessages: 3, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_classification_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_classification_proto_depIdxs, + EnumInfos: file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_classification_proto_enumTypes, + MessageInfos: file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_classification_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_classification_proto = out.File + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_classification_proto_rawDesc = nil + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_classification_proto_goTypes = nil + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_classification_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1/schema/trainingjob/definition/automl_image_object_detection.pb.go b/googleapis/cloud/aiplatform/v1/schema/trainingjob/definition/automl_image_object_detection.pb.go new file mode 100644 index 000000000..8348ecf6d --- /dev/null +++ b/googleapis/cloud/aiplatform/v1/schema/trainingjob/definition/automl_image_object_detection.pb.go @@ -0,0 +1,570 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.25.0-devel +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_image_object_detection.proto + +package definition + +import ( + reflect "reflect" + sync "sync" + + proto "github.com/golang/protobuf/proto" + _ "google.golang.org/genproto/googleapis/api/annotations" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 + +type AutoMlImageObjectDetectionInputs_ModelType int32 + +const ( + // Should not be set. + AutoMlImageObjectDetectionInputs_MODEL_TYPE_UNSPECIFIED AutoMlImageObjectDetectionInputs_ModelType = 0 + // A model best tailored to be used within Google Cloud, and which cannot + // be exported. Expected to have a higher latency, but should also have a + // higher prediction quality than other cloud models. + AutoMlImageObjectDetectionInputs_CLOUD_HIGH_ACCURACY_1 AutoMlImageObjectDetectionInputs_ModelType = 1 + // A model best tailored to be used within Google Cloud, and which cannot + // be exported. Expected to have a low latency, but may have lower + // prediction quality than other cloud models. + AutoMlImageObjectDetectionInputs_CLOUD_LOW_LATENCY_1 AutoMlImageObjectDetectionInputs_ModelType = 2 + // A model that, in addition to being available within Google + // Cloud can also be exported (see ModelService.ExportModel) and + // used on a mobile or edge device with TensorFlow afterwards. + // Expected to have low latency, but may have lower prediction + // quality than other mobile models. + AutoMlImageObjectDetectionInputs_MOBILE_TF_LOW_LATENCY_1 AutoMlImageObjectDetectionInputs_ModelType = 3 + // A model that, in addition to being available within Google + // Cloud can also be exported (see ModelService.ExportModel) and + // used on a mobile or edge device with TensorFlow afterwards. + AutoMlImageObjectDetectionInputs_MOBILE_TF_VERSATILE_1 AutoMlImageObjectDetectionInputs_ModelType = 4 + // A model that, in addition to being available within Google + // Cloud, can also be exported (see ModelService.ExportModel) and + // used on a mobile or edge device with TensorFlow afterwards. + // Expected to have a higher latency, but should also have a higher + // prediction quality than other mobile models. + AutoMlImageObjectDetectionInputs_MOBILE_TF_HIGH_ACCURACY_1 AutoMlImageObjectDetectionInputs_ModelType = 5 +) + +// Enum value maps for AutoMlImageObjectDetectionInputs_ModelType. +var ( + AutoMlImageObjectDetectionInputs_ModelType_name = map[int32]string{ + 0: "MODEL_TYPE_UNSPECIFIED", + 1: "CLOUD_HIGH_ACCURACY_1", + 2: "CLOUD_LOW_LATENCY_1", + 3: "MOBILE_TF_LOW_LATENCY_1", + 4: "MOBILE_TF_VERSATILE_1", + 5: "MOBILE_TF_HIGH_ACCURACY_1", + } + AutoMlImageObjectDetectionInputs_ModelType_value = map[string]int32{ + "MODEL_TYPE_UNSPECIFIED": 0, + "CLOUD_HIGH_ACCURACY_1": 1, + "CLOUD_LOW_LATENCY_1": 2, + "MOBILE_TF_LOW_LATENCY_1": 3, + "MOBILE_TF_VERSATILE_1": 4, + "MOBILE_TF_HIGH_ACCURACY_1": 5, + } +) + +func (x AutoMlImageObjectDetectionInputs_ModelType) Enum() *AutoMlImageObjectDetectionInputs_ModelType { + p := new(AutoMlImageObjectDetectionInputs_ModelType) + *p = x + return p +} + +func (x AutoMlImageObjectDetectionInputs_ModelType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (AutoMlImageObjectDetectionInputs_ModelType) Descriptor() protoreflect.EnumDescriptor { + return file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_object_detection_proto_enumTypes[0].Descriptor() +} + +func (AutoMlImageObjectDetectionInputs_ModelType) Type() protoreflect.EnumType { + return &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_object_detection_proto_enumTypes[0] +} + +func (x AutoMlImageObjectDetectionInputs_ModelType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use AutoMlImageObjectDetectionInputs_ModelType.Descriptor instead. +func (AutoMlImageObjectDetectionInputs_ModelType) EnumDescriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_object_detection_proto_rawDescGZIP(), []int{1, 0} +} + +type AutoMlImageObjectDetectionMetadata_SuccessfulStopReason int32 + +const ( + // Should not be set. + AutoMlImageObjectDetectionMetadata_SUCCESSFUL_STOP_REASON_UNSPECIFIED AutoMlImageObjectDetectionMetadata_SuccessfulStopReason = 0 + // The inputs.budgetMilliNodeHours had been reached. + AutoMlImageObjectDetectionMetadata_BUDGET_REACHED AutoMlImageObjectDetectionMetadata_SuccessfulStopReason = 1 + // Further training of the Model ceased to increase its quality, since it + // already has converged. + AutoMlImageObjectDetectionMetadata_MODEL_CONVERGED AutoMlImageObjectDetectionMetadata_SuccessfulStopReason = 2 +) + +// Enum value maps for AutoMlImageObjectDetectionMetadata_SuccessfulStopReason. +var ( + AutoMlImageObjectDetectionMetadata_SuccessfulStopReason_name = map[int32]string{ + 0: "SUCCESSFUL_STOP_REASON_UNSPECIFIED", + 1: "BUDGET_REACHED", + 2: "MODEL_CONVERGED", + } + AutoMlImageObjectDetectionMetadata_SuccessfulStopReason_value = map[string]int32{ + "SUCCESSFUL_STOP_REASON_UNSPECIFIED": 0, + "BUDGET_REACHED": 1, + "MODEL_CONVERGED": 2, + } +) + +func (x AutoMlImageObjectDetectionMetadata_SuccessfulStopReason) Enum() *AutoMlImageObjectDetectionMetadata_SuccessfulStopReason { + p := new(AutoMlImageObjectDetectionMetadata_SuccessfulStopReason) + *p = x + return p +} + +func (x AutoMlImageObjectDetectionMetadata_SuccessfulStopReason) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (AutoMlImageObjectDetectionMetadata_SuccessfulStopReason) Descriptor() protoreflect.EnumDescriptor { + return file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_object_detection_proto_enumTypes[1].Descriptor() +} + +func (AutoMlImageObjectDetectionMetadata_SuccessfulStopReason) Type() protoreflect.EnumType { + return &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_object_detection_proto_enumTypes[1] +} + +func (x AutoMlImageObjectDetectionMetadata_SuccessfulStopReason) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use AutoMlImageObjectDetectionMetadata_SuccessfulStopReason.Descriptor instead. +func (AutoMlImageObjectDetectionMetadata_SuccessfulStopReason) EnumDescriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_object_detection_proto_rawDescGZIP(), []int{2, 0} +} + +// A TrainingJob that trains and uploads an AutoML Image Object Detection Model. +type AutoMlImageObjectDetection struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The input parameters of this TrainingJob. + Inputs *AutoMlImageObjectDetectionInputs `protobuf:"bytes,1,opt,name=inputs,proto3" json:"inputs,omitempty"` + // The metadata information + Metadata *AutoMlImageObjectDetectionMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` +} + +func (x *AutoMlImageObjectDetection) Reset() { + *x = AutoMlImageObjectDetection{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_object_detection_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AutoMlImageObjectDetection) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AutoMlImageObjectDetection) ProtoMessage() {} + +func (x *AutoMlImageObjectDetection) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_object_detection_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AutoMlImageObjectDetection.ProtoReflect.Descriptor instead. +func (*AutoMlImageObjectDetection) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_object_detection_proto_rawDescGZIP(), []int{0} +} + +func (x *AutoMlImageObjectDetection) GetInputs() *AutoMlImageObjectDetectionInputs { + if x != nil { + return x.Inputs + } + return nil +} + +func (x *AutoMlImageObjectDetection) GetMetadata() *AutoMlImageObjectDetectionMetadata { + if x != nil { + return x.Metadata + } + return nil +} + +type AutoMlImageObjectDetectionInputs struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ModelType AutoMlImageObjectDetectionInputs_ModelType `protobuf:"varint,1,opt,name=model_type,json=modelType,proto3,enum=google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlImageObjectDetectionInputs_ModelType" json:"model_type,omitempty"` + // The training budget of creating this model, expressed in milli node + // hours i.e. 1,000 value in this field means 1 node hour. The actual + // metadata.costMilliNodeHours will be equal or less than this value. + // If further model training ceases to provide any improvements, it will + // stop without using the full budget and the metadata.successfulStopReason + // will be `model-converged`. + // Note, node_hour = actual_hour * number_of_nodes_involved. + // For modelType `cloud`(default), the budget must be between 20,000 + // and 900,000 milli node hours, inclusive. The default value is 216,000 + // which represents one day in wall time, considering 9 nodes are used. + // For model types `mobile-tf-low-latency-1`, `mobile-tf-versatile-1`, + // `mobile-tf-high-accuracy-1` + // the training budget must be between 1,000 and 100,000 milli node hours, + // inclusive. The default value is 24,000 which represents one day in + // wall time on a single node that is used. + BudgetMilliNodeHours int64 `protobuf:"varint,2,opt,name=budget_milli_node_hours,json=budgetMilliNodeHours,proto3" json:"budget_milli_node_hours,omitempty"` + // Use the entire training budget. This disables the early stopping feature. + // When false the early stopping feature is enabled, which means that AutoML + // Image Object Detection might stop training before the entire training + // budget has been used. + DisableEarlyStopping bool `protobuf:"varint,3,opt,name=disable_early_stopping,json=disableEarlyStopping,proto3" json:"disable_early_stopping,omitempty"` +} + +func (x *AutoMlImageObjectDetectionInputs) Reset() { + *x = AutoMlImageObjectDetectionInputs{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_object_detection_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AutoMlImageObjectDetectionInputs) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AutoMlImageObjectDetectionInputs) ProtoMessage() {} + +func (x *AutoMlImageObjectDetectionInputs) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_object_detection_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AutoMlImageObjectDetectionInputs.ProtoReflect.Descriptor instead. +func (*AutoMlImageObjectDetectionInputs) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_object_detection_proto_rawDescGZIP(), []int{1} +} + +func (x *AutoMlImageObjectDetectionInputs) GetModelType() AutoMlImageObjectDetectionInputs_ModelType { + if x != nil { + return x.ModelType + } + return AutoMlImageObjectDetectionInputs_MODEL_TYPE_UNSPECIFIED +} + +func (x *AutoMlImageObjectDetectionInputs) GetBudgetMilliNodeHours() int64 { + if x != nil { + return x.BudgetMilliNodeHours + } + return 0 +} + +func (x *AutoMlImageObjectDetectionInputs) GetDisableEarlyStopping() bool { + if x != nil { + return x.DisableEarlyStopping + } + return false +} + +type AutoMlImageObjectDetectionMetadata struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The actual training cost of creating this model, expressed in + // milli node hours, i.e. 1,000 value in this field means 1 node hour. + // Guaranteed to not exceed inputs.budgetMilliNodeHours. + CostMilliNodeHours int64 `protobuf:"varint,1,opt,name=cost_milli_node_hours,json=costMilliNodeHours,proto3" json:"cost_milli_node_hours,omitempty"` + // For successful job completions, this is the reason why the job has + // finished. + SuccessfulStopReason AutoMlImageObjectDetectionMetadata_SuccessfulStopReason `protobuf:"varint,2,opt,name=successful_stop_reason,json=successfulStopReason,proto3,enum=google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlImageObjectDetectionMetadata_SuccessfulStopReason" json:"successful_stop_reason,omitempty"` +} + +func (x *AutoMlImageObjectDetectionMetadata) Reset() { + *x = AutoMlImageObjectDetectionMetadata{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_object_detection_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AutoMlImageObjectDetectionMetadata) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AutoMlImageObjectDetectionMetadata) ProtoMessage() {} + +func (x *AutoMlImageObjectDetectionMetadata) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_object_detection_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AutoMlImageObjectDetectionMetadata.ProtoReflect.Descriptor instead. +func (*AutoMlImageObjectDetectionMetadata) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_object_detection_proto_rawDescGZIP(), []int{2} +} + +func (x *AutoMlImageObjectDetectionMetadata) GetCostMilliNodeHours() int64 { + if x != nil { + return x.CostMilliNodeHours + } + return 0 +} + +func (x *AutoMlImageObjectDetectionMetadata) GetSuccessfulStopReason() AutoMlImageObjectDetectionMetadata_SuccessfulStopReason { + if x != nil { + return x.SuccessfulStopReason + } + return AutoMlImageObjectDetectionMetadata_SUCCESSFUL_STOP_REASON_UNSPECIFIED +} + +var File_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_object_detection_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_object_detection_proto_rawDesc = []byte{ + 0x0a, 0x5c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, + 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x2f, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2f, + 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x6d, + 0x6c, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x64, + 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x38, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, + 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, + 0x61, 0x2e, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2e, 0x64, 0x65, + 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8a, 0x02, 0x0a, 0x1a, 0x41, 0x75, 0x74, 0x6f, 0x4d, + 0x6c, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x44, 0x65, 0x74, 0x65, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x72, 0x0a, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x5a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, + 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, + 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2e, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, + 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x6c, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x4f, 0x62, 0x6a, 0x65, + 0x63, 0x74, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x70, 0x75, 0x74, + 0x73, 0x52, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x12, 0x78, 0x0a, 0x08, 0x6d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x5c, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, + 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, + 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2e, 0x64, 0x65, 0x66, 0x69, + 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x6c, 0x49, 0x6d, 0x61, + 0x67, 0x65, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0x22, 0xca, 0x03, 0x0a, 0x20, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x6c, 0x49, 0x6d, + 0x61, 0x67, 0x65, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x12, 0x83, 0x01, 0x0a, 0x0a, 0x6d, 0x6f, 0x64, + 0x65, 0x6c, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x64, 0x2e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, + 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, + 0x61, 0x2e, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2e, 0x64, 0x65, + 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x6c, 0x49, + 0x6d, 0x61, 0x67, 0x65, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x54, + 0x79, 0x70, 0x65, 0x52, 0x09, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, 0x35, + 0x0a, 0x17, 0x62, 0x75, 0x64, 0x67, 0x65, 0x74, 0x5f, 0x6d, 0x69, 0x6c, 0x6c, 0x69, 0x5f, 0x6e, + 0x6f, 0x64, 0x65, 0x5f, 0x68, 0x6f, 0x75, 0x72, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x14, 0x62, 0x75, 0x64, 0x67, 0x65, 0x74, 0x4d, 0x69, 0x6c, 0x6c, 0x69, 0x4e, 0x6f, 0x64, 0x65, + 0x48, 0x6f, 0x75, 0x72, 0x73, 0x12, 0x34, 0x0a, 0x16, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, + 0x5f, 0x65, 0x61, 0x72, 0x6c, 0x79, 0x5f, 0x73, 0x74, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x14, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x45, 0x61, + 0x72, 0x6c, 0x79, 0x53, 0x74, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x22, 0xb2, 0x01, 0x0a, 0x09, + 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x16, 0x4d, 0x4f, 0x44, + 0x45, 0x4c, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, + 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x19, 0x0a, 0x15, 0x43, 0x4c, 0x4f, 0x55, 0x44, 0x5f, 0x48, + 0x49, 0x47, 0x48, 0x5f, 0x41, 0x43, 0x43, 0x55, 0x52, 0x41, 0x43, 0x59, 0x5f, 0x31, 0x10, 0x01, + 0x12, 0x17, 0x0a, 0x13, 0x43, 0x4c, 0x4f, 0x55, 0x44, 0x5f, 0x4c, 0x4f, 0x57, 0x5f, 0x4c, 0x41, + 0x54, 0x45, 0x4e, 0x43, 0x59, 0x5f, 0x31, 0x10, 0x02, 0x12, 0x1b, 0x0a, 0x17, 0x4d, 0x4f, 0x42, + 0x49, 0x4c, 0x45, 0x5f, 0x54, 0x46, 0x5f, 0x4c, 0x4f, 0x57, 0x5f, 0x4c, 0x41, 0x54, 0x45, 0x4e, + 0x43, 0x59, 0x5f, 0x31, 0x10, 0x03, 0x12, 0x19, 0x0a, 0x15, 0x4d, 0x4f, 0x42, 0x49, 0x4c, 0x45, + 0x5f, 0x54, 0x46, 0x5f, 0x56, 0x45, 0x52, 0x53, 0x41, 0x54, 0x49, 0x4c, 0x45, 0x5f, 0x31, 0x10, + 0x04, 0x12, 0x1d, 0x0a, 0x19, 0x4d, 0x4f, 0x42, 0x49, 0x4c, 0x45, 0x5f, 0x54, 0x46, 0x5f, 0x48, + 0x49, 0x47, 0x48, 0x5f, 0x41, 0x43, 0x43, 0x55, 0x52, 0x41, 0x43, 0x59, 0x5f, 0x31, 0x10, 0x05, + 0x22, 0xea, 0x02, 0x0a, 0x22, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x6c, 0x49, 0x6d, 0x61, 0x67, 0x65, + 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x31, 0x0a, 0x15, 0x63, 0x6f, 0x73, 0x74, 0x5f, + 0x6d, 0x69, 0x6c, 0x6c, 0x69, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x68, 0x6f, 0x75, 0x72, 0x73, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x63, 0x6f, 0x73, 0x74, 0x4d, 0x69, 0x6c, 0x6c, + 0x69, 0x4e, 0x6f, 0x64, 0x65, 0x48, 0x6f, 0x75, 0x72, 0x73, 0x12, 0xa7, 0x01, 0x0a, 0x16, 0x73, + 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x66, 0x75, 0x6c, 0x5f, 0x73, 0x74, 0x6f, 0x70, 0x5f, 0x72, + 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x71, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, + 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, + 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2e, 0x64, 0x65, 0x66, 0x69, + 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x6c, 0x49, 0x6d, 0x61, + 0x67, 0x65, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, + 0x73, 0x66, 0x75, 0x6c, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x52, 0x14, + 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x66, 0x75, 0x6c, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, + 0x61, 0x73, 0x6f, 0x6e, 0x22, 0x67, 0x0a, 0x14, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x66, + 0x75, 0x6c, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x26, 0x0a, 0x22, + 0x53, 0x55, 0x43, 0x43, 0x45, 0x53, 0x53, 0x46, 0x55, 0x4c, 0x5f, 0x53, 0x54, 0x4f, 0x50, 0x5f, + 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, + 0x45, 0x44, 0x10, 0x00, 0x12, 0x12, 0x0a, 0x0e, 0x42, 0x55, 0x44, 0x47, 0x45, 0x54, 0x5f, 0x52, + 0x45, 0x41, 0x43, 0x48, 0x45, 0x44, 0x10, 0x01, 0x12, 0x13, 0x0a, 0x0f, 0x4d, 0x4f, 0x44, 0x45, + 0x4c, 0x5f, 0x43, 0x4f, 0x4e, 0x56, 0x45, 0x52, 0x47, 0x45, 0x44, 0x10, 0x02, 0x42, 0xc5, 0x01, + 0x0a, 0x3c, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, + 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, + 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, + 0x6a, 0x6f, 0x62, 0x2e, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x1f, + 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x4c, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x4f, 0x62, 0x6a, 0x65, 0x63, + 0x74, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, + 0x01, 0x5a, 0x62, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, + 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, + 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x2f, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2f, + 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x3b, 0x64, 0x65, 0x66, 0x69, 0x6e, + 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_object_detection_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_object_detection_proto_rawDescData = file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_object_detection_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_object_detection_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_object_detection_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_object_detection_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_object_detection_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_object_detection_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_object_detection_proto_enumTypes = make([]protoimpl.EnumInfo, 2) +var file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_object_detection_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_object_detection_proto_goTypes = []interface{}{ + (AutoMlImageObjectDetectionInputs_ModelType)(0), // 0: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlImageObjectDetectionInputs.ModelType + (AutoMlImageObjectDetectionMetadata_SuccessfulStopReason)(0), // 1: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlImageObjectDetectionMetadata.SuccessfulStopReason + (*AutoMlImageObjectDetection)(nil), // 2: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlImageObjectDetection + (*AutoMlImageObjectDetectionInputs)(nil), // 3: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlImageObjectDetectionInputs + (*AutoMlImageObjectDetectionMetadata)(nil), // 4: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlImageObjectDetectionMetadata +} +var file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_object_detection_proto_depIdxs = []int32{ + 3, // 0: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlImageObjectDetection.inputs:type_name -> google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlImageObjectDetectionInputs + 4, // 1: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlImageObjectDetection.metadata:type_name -> google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlImageObjectDetectionMetadata + 0, // 2: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlImageObjectDetectionInputs.model_type:type_name -> google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlImageObjectDetectionInputs.ModelType + 1, // 3: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlImageObjectDetectionMetadata.successful_stop_reason:type_name -> google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlImageObjectDetectionMetadata.SuccessfulStopReason + 4, // [4:4] is the sub-list for method output_type + 4, // [4:4] is the sub-list for method input_type + 4, // [4:4] is the sub-list for extension type_name + 4, // [4:4] is the sub-list for extension extendee + 0, // [0:4] is the sub-list for field type_name +} + +func init() { + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_object_detection_proto_init() +} +func file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_object_detection_proto_init() { + if File_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_object_detection_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_object_detection_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AutoMlImageObjectDetection); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_object_detection_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AutoMlImageObjectDetectionInputs); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_object_detection_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AutoMlImageObjectDetectionMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_object_detection_proto_rawDesc, + NumEnums: 2, + NumMessages: 3, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_object_detection_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_object_detection_proto_depIdxs, + EnumInfos: file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_object_detection_proto_enumTypes, + MessageInfos: file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_object_detection_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_object_detection_proto = out.File + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_object_detection_proto_rawDesc = nil + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_object_detection_proto_goTypes = nil + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_object_detection_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1/schema/trainingjob/definition/automl_image_segmentation.pb.go b/googleapis/cloud/aiplatform/v1/schema/trainingjob/definition/automl_image_segmentation.pb.go new file mode 100644 index 000000000..8963fee8e --- /dev/null +++ b/googleapis/cloud/aiplatform/v1/schema/trainingjob/definition/automl_image_segmentation.pb.go @@ -0,0 +1,548 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.25.0-devel +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_image_segmentation.proto + +package definition + +import ( + reflect "reflect" + sync "sync" + + proto "github.com/golang/protobuf/proto" + _ "google.golang.org/genproto/googleapis/api/annotations" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 + +type AutoMlImageSegmentationInputs_ModelType int32 + +const ( + // Should not be set. + AutoMlImageSegmentationInputs_MODEL_TYPE_UNSPECIFIED AutoMlImageSegmentationInputs_ModelType = 0 + // A model to be used via prediction calls to uCAIP API. Expected + // to have a higher latency, but should also have a higher prediction + // quality than other models. + AutoMlImageSegmentationInputs_CLOUD_HIGH_ACCURACY_1 AutoMlImageSegmentationInputs_ModelType = 1 + // A model to be used via prediction calls to uCAIP API. Expected + // to have a lower latency but relatively lower prediction quality. + AutoMlImageSegmentationInputs_CLOUD_LOW_ACCURACY_1 AutoMlImageSegmentationInputs_ModelType = 2 + // A model that, in addition to being available within Google + // Cloud, can also be exported (see ModelService.ExportModel) as TensorFlow + // model and used on a mobile or edge device afterwards. + // Expected to have low latency, but may have lower prediction + // quality than other mobile models. + AutoMlImageSegmentationInputs_MOBILE_TF_LOW_LATENCY_1 AutoMlImageSegmentationInputs_ModelType = 3 +) + +// Enum value maps for AutoMlImageSegmentationInputs_ModelType. +var ( + AutoMlImageSegmentationInputs_ModelType_name = map[int32]string{ + 0: "MODEL_TYPE_UNSPECIFIED", + 1: "CLOUD_HIGH_ACCURACY_1", + 2: "CLOUD_LOW_ACCURACY_1", + 3: "MOBILE_TF_LOW_LATENCY_1", + } + AutoMlImageSegmentationInputs_ModelType_value = map[string]int32{ + "MODEL_TYPE_UNSPECIFIED": 0, + "CLOUD_HIGH_ACCURACY_1": 1, + "CLOUD_LOW_ACCURACY_1": 2, + "MOBILE_TF_LOW_LATENCY_1": 3, + } +) + +func (x AutoMlImageSegmentationInputs_ModelType) Enum() *AutoMlImageSegmentationInputs_ModelType { + p := new(AutoMlImageSegmentationInputs_ModelType) + *p = x + return p +} + +func (x AutoMlImageSegmentationInputs_ModelType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (AutoMlImageSegmentationInputs_ModelType) Descriptor() protoreflect.EnumDescriptor { + return file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_segmentation_proto_enumTypes[0].Descriptor() +} + +func (AutoMlImageSegmentationInputs_ModelType) Type() protoreflect.EnumType { + return &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_segmentation_proto_enumTypes[0] +} + +func (x AutoMlImageSegmentationInputs_ModelType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use AutoMlImageSegmentationInputs_ModelType.Descriptor instead. +func (AutoMlImageSegmentationInputs_ModelType) EnumDescriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_segmentation_proto_rawDescGZIP(), []int{1, 0} +} + +type AutoMlImageSegmentationMetadata_SuccessfulStopReason int32 + +const ( + // Should not be set. + AutoMlImageSegmentationMetadata_SUCCESSFUL_STOP_REASON_UNSPECIFIED AutoMlImageSegmentationMetadata_SuccessfulStopReason = 0 + // The inputs.budgetMilliNodeHours had been reached. + AutoMlImageSegmentationMetadata_BUDGET_REACHED AutoMlImageSegmentationMetadata_SuccessfulStopReason = 1 + // Further training of the Model ceased to increase its quality, since it + // already has converged. + AutoMlImageSegmentationMetadata_MODEL_CONVERGED AutoMlImageSegmentationMetadata_SuccessfulStopReason = 2 +) + +// Enum value maps for AutoMlImageSegmentationMetadata_SuccessfulStopReason. +var ( + AutoMlImageSegmentationMetadata_SuccessfulStopReason_name = map[int32]string{ + 0: "SUCCESSFUL_STOP_REASON_UNSPECIFIED", + 1: "BUDGET_REACHED", + 2: "MODEL_CONVERGED", + } + AutoMlImageSegmentationMetadata_SuccessfulStopReason_value = map[string]int32{ + "SUCCESSFUL_STOP_REASON_UNSPECIFIED": 0, + "BUDGET_REACHED": 1, + "MODEL_CONVERGED": 2, + } +) + +func (x AutoMlImageSegmentationMetadata_SuccessfulStopReason) Enum() *AutoMlImageSegmentationMetadata_SuccessfulStopReason { + p := new(AutoMlImageSegmentationMetadata_SuccessfulStopReason) + *p = x + return p +} + +func (x AutoMlImageSegmentationMetadata_SuccessfulStopReason) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (AutoMlImageSegmentationMetadata_SuccessfulStopReason) Descriptor() protoreflect.EnumDescriptor { + return file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_segmentation_proto_enumTypes[1].Descriptor() +} + +func (AutoMlImageSegmentationMetadata_SuccessfulStopReason) Type() protoreflect.EnumType { + return &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_segmentation_proto_enumTypes[1] +} + +func (x AutoMlImageSegmentationMetadata_SuccessfulStopReason) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use AutoMlImageSegmentationMetadata_SuccessfulStopReason.Descriptor instead. +func (AutoMlImageSegmentationMetadata_SuccessfulStopReason) EnumDescriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_segmentation_proto_rawDescGZIP(), []int{2, 0} +} + +// A TrainingJob that trains and uploads an AutoML Image Segmentation Model. +type AutoMlImageSegmentation struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The input parameters of this TrainingJob. + Inputs *AutoMlImageSegmentationInputs `protobuf:"bytes,1,opt,name=inputs,proto3" json:"inputs,omitempty"` + // The metadata information. + Metadata *AutoMlImageSegmentationMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` +} + +func (x *AutoMlImageSegmentation) Reset() { + *x = AutoMlImageSegmentation{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_segmentation_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AutoMlImageSegmentation) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AutoMlImageSegmentation) ProtoMessage() {} + +func (x *AutoMlImageSegmentation) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_segmentation_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AutoMlImageSegmentation.ProtoReflect.Descriptor instead. +func (*AutoMlImageSegmentation) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_segmentation_proto_rawDescGZIP(), []int{0} +} + +func (x *AutoMlImageSegmentation) GetInputs() *AutoMlImageSegmentationInputs { + if x != nil { + return x.Inputs + } + return nil +} + +func (x *AutoMlImageSegmentation) GetMetadata() *AutoMlImageSegmentationMetadata { + if x != nil { + return x.Metadata + } + return nil +} + +type AutoMlImageSegmentationInputs struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ModelType AutoMlImageSegmentationInputs_ModelType `protobuf:"varint,1,opt,name=model_type,json=modelType,proto3,enum=google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlImageSegmentationInputs_ModelType" json:"model_type,omitempty"` + // The training budget of creating this model, expressed in milli node + // hours i.e. 1,000 value in this field means 1 node hour. The actual + // metadata.costMilliNodeHours will be equal or less than this value. + // If further model training ceases to provide any improvements, it will + // stop without using the full budget and the metadata.successfulStopReason + // will be `model-converged`. + // Note, node_hour = actual_hour * number_of_nodes_involved. Or + // actaul_wall_clock_hours = train_budget_milli_node_hours / + // (number_of_nodes_involved * 1000) + // For modelType `cloud-high-accuracy-1`(default), the budget must be between + // 20,000 and 2,000,000 milli node hours, inclusive. The default value is + // 192,000 which represents one day in wall time + // (1000 milli * 24 hours * 8 nodes). + BudgetMilliNodeHours int64 `protobuf:"varint,2,opt,name=budget_milli_node_hours,json=budgetMilliNodeHours,proto3" json:"budget_milli_node_hours,omitempty"` + // The ID of the `base` model. If it is specified, the new model will be + // trained based on the `base` model. Otherwise, the new model will be + // trained from scratch. The `base` model must be in the same + // Project and Location as the new Model to train, and have the same + // modelType. + BaseModelId string `protobuf:"bytes,3,opt,name=base_model_id,json=baseModelId,proto3" json:"base_model_id,omitempty"` +} + +func (x *AutoMlImageSegmentationInputs) Reset() { + *x = AutoMlImageSegmentationInputs{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_segmentation_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AutoMlImageSegmentationInputs) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AutoMlImageSegmentationInputs) ProtoMessage() {} + +func (x *AutoMlImageSegmentationInputs) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_segmentation_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AutoMlImageSegmentationInputs.ProtoReflect.Descriptor instead. +func (*AutoMlImageSegmentationInputs) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_segmentation_proto_rawDescGZIP(), []int{1} +} + +func (x *AutoMlImageSegmentationInputs) GetModelType() AutoMlImageSegmentationInputs_ModelType { + if x != nil { + return x.ModelType + } + return AutoMlImageSegmentationInputs_MODEL_TYPE_UNSPECIFIED +} + +func (x *AutoMlImageSegmentationInputs) GetBudgetMilliNodeHours() int64 { + if x != nil { + return x.BudgetMilliNodeHours + } + return 0 +} + +func (x *AutoMlImageSegmentationInputs) GetBaseModelId() string { + if x != nil { + return x.BaseModelId + } + return "" +} + +type AutoMlImageSegmentationMetadata struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The actual training cost of creating this model, expressed in + // milli node hours, i.e. 1,000 value in this field means 1 node hour. + // Guaranteed to not exceed inputs.budgetMilliNodeHours. + CostMilliNodeHours int64 `protobuf:"varint,1,opt,name=cost_milli_node_hours,json=costMilliNodeHours,proto3" json:"cost_milli_node_hours,omitempty"` + // For successful job completions, this is the reason why the job has + // finished. + SuccessfulStopReason AutoMlImageSegmentationMetadata_SuccessfulStopReason `protobuf:"varint,2,opt,name=successful_stop_reason,json=successfulStopReason,proto3,enum=google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlImageSegmentationMetadata_SuccessfulStopReason" json:"successful_stop_reason,omitempty"` +} + +func (x *AutoMlImageSegmentationMetadata) Reset() { + *x = AutoMlImageSegmentationMetadata{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_segmentation_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AutoMlImageSegmentationMetadata) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AutoMlImageSegmentationMetadata) ProtoMessage() {} + +func (x *AutoMlImageSegmentationMetadata) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_segmentation_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AutoMlImageSegmentationMetadata.ProtoReflect.Descriptor instead. +func (*AutoMlImageSegmentationMetadata) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_segmentation_proto_rawDescGZIP(), []int{2} +} + +func (x *AutoMlImageSegmentationMetadata) GetCostMilliNodeHours() int64 { + if x != nil { + return x.CostMilliNodeHours + } + return 0 +} + +func (x *AutoMlImageSegmentationMetadata) GetSuccessfulStopReason() AutoMlImageSegmentationMetadata_SuccessfulStopReason { + if x != nil { + return x.SuccessfulStopReason + } + return AutoMlImageSegmentationMetadata_SUCCESSFUL_STOP_REASON_UNSPECIFIED +} + +var File_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_segmentation_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_segmentation_proto_rawDesc = []byte{ + 0x0a, 0x58, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, + 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x2f, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2f, + 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x6d, + 0x6c, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x38, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, + 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x74, 0x72, + 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2e, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, + 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, + 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x81, 0x02, 0x0a, 0x17, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x6c, 0x49, 0x6d, 0x61, + 0x67, 0x65, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x6f, + 0x0a, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x57, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, + 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, + 0x6d, 0x61, 0x2e, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2e, 0x64, + 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x6c, + 0x49, 0x6d, 0x61, 0x67, 0x65, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x52, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x12, + 0x75, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x59, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, + 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, + 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, + 0x62, 0x2e, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x75, 0x74, + 0x6f, 0x4d, 0x6c, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 0xf8, 0x02, 0x0a, 0x1d, 0x41, 0x75, 0x74, 0x6f, 0x4d, + 0x6c, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x12, 0x80, 0x01, 0x0a, 0x0a, 0x6d, 0x6f, 0x64, + 0x65, 0x6c, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x61, 0x2e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, + 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, + 0x61, 0x2e, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2e, 0x64, 0x65, + 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x6c, 0x49, + 0x6d, 0x61, 0x67, 0x65, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x49, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x54, 0x79, 0x70, 0x65, + 0x52, 0x09, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, 0x35, 0x0a, 0x17, 0x62, + 0x75, 0x64, 0x67, 0x65, 0x74, 0x5f, 0x6d, 0x69, 0x6c, 0x6c, 0x69, 0x5f, 0x6e, 0x6f, 0x64, 0x65, + 0x5f, 0x68, 0x6f, 0x75, 0x72, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x14, 0x62, 0x75, + 0x64, 0x67, 0x65, 0x74, 0x4d, 0x69, 0x6c, 0x6c, 0x69, 0x4e, 0x6f, 0x64, 0x65, 0x48, 0x6f, 0x75, + 0x72, 0x73, 0x12, 0x22, 0x0a, 0x0d, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, + 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x62, 0x61, 0x73, 0x65, 0x4d, + 0x6f, 0x64, 0x65, 0x6c, 0x49, 0x64, 0x22, 0x79, 0x0a, 0x09, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x54, + 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x16, 0x4d, 0x4f, 0x44, 0x45, 0x4c, 0x5f, 0x54, 0x59, 0x50, + 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, + 0x19, 0x0a, 0x15, 0x43, 0x4c, 0x4f, 0x55, 0x44, 0x5f, 0x48, 0x49, 0x47, 0x48, 0x5f, 0x41, 0x43, + 0x43, 0x55, 0x52, 0x41, 0x43, 0x59, 0x5f, 0x31, 0x10, 0x01, 0x12, 0x18, 0x0a, 0x14, 0x43, 0x4c, + 0x4f, 0x55, 0x44, 0x5f, 0x4c, 0x4f, 0x57, 0x5f, 0x41, 0x43, 0x43, 0x55, 0x52, 0x41, 0x43, 0x59, + 0x5f, 0x31, 0x10, 0x02, 0x12, 0x1b, 0x0a, 0x17, 0x4d, 0x4f, 0x42, 0x49, 0x4c, 0x45, 0x5f, 0x54, + 0x46, 0x5f, 0x4c, 0x4f, 0x57, 0x5f, 0x4c, 0x41, 0x54, 0x45, 0x4e, 0x43, 0x59, 0x5f, 0x31, 0x10, + 0x03, 0x22, 0xe4, 0x02, 0x0a, 0x1f, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x6c, 0x49, 0x6d, 0x61, 0x67, + 0x65, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x31, 0x0a, 0x15, 0x63, 0x6f, 0x73, 0x74, 0x5f, 0x6d, 0x69, + 0x6c, 0x6c, 0x69, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x68, 0x6f, 0x75, 0x72, 0x73, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x63, 0x6f, 0x73, 0x74, 0x4d, 0x69, 0x6c, 0x6c, 0x69, 0x4e, + 0x6f, 0x64, 0x65, 0x48, 0x6f, 0x75, 0x72, 0x73, 0x12, 0xa4, 0x01, 0x0a, 0x16, 0x73, 0x75, 0x63, + 0x63, 0x65, 0x73, 0x73, 0x66, 0x75, 0x6c, 0x5f, 0x73, 0x74, 0x6f, 0x70, 0x5f, 0x72, 0x65, 0x61, + 0x73, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x6e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, + 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x74, 0x72, + 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2e, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, + 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x6c, 0x49, 0x6d, 0x61, 0x67, 0x65, + 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x66, 0x75, 0x6c, 0x53, + 0x74, 0x6f, 0x70, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x52, 0x14, 0x73, 0x75, 0x63, 0x63, 0x65, + 0x73, 0x73, 0x66, 0x75, 0x6c, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x22, + 0x67, 0x0a, 0x14, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x66, 0x75, 0x6c, 0x53, 0x74, 0x6f, + 0x70, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x26, 0x0a, 0x22, 0x53, 0x55, 0x43, 0x43, 0x45, + 0x53, 0x53, 0x46, 0x55, 0x4c, 0x5f, 0x53, 0x54, 0x4f, 0x50, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, + 0x4e, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, + 0x12, 0x0a, 0x0e, 0x42, 0x55, 0x44, 0x47, 0x45, 0x54, 0x5f, 0x52, 0x45, 0x41, 0x43, 0x48, 0x45, + 0x44, 0x10, 0x01, 0x12, 0x13, 0x0a, 0x0f, 0x4d, 0x4f, 0x44, 0x45, 0x4c, 0x5f, 0x43, 0x4f, 0x4e, + 0x56, 0x45, 0x52, 0x47, 0x45, 0x44, 0x10, 0x02, 0x42, 0xc2, 0x01, 0x0a, 0x3c, 0x63, 0x6f, 0x6d, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, + 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, + 0x6d, 0x61, 0x2e, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2e, 0x64, + 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x1c, 0x41, 0x75, 0x74, 0x6f, 0x4d, + 0x4c, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x62, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, + 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, + 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x74, 0x72, 0x61, 0x69, + 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x3b, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_segmentation_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_segmentation_proto_rawDescData = file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_segmentation_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_segmentation_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_segmentation_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_segmentation_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_segmentation_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_segmentation_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_segmentation_proto_enumTypes = make([]protoimpl.EnumInfo, 2) +var file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_segmentation_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_segmentation_proto_goTypes = []interface{}{ + (AutoMlImageSegmentationInputs_ModelType)(0), // 0: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlImageSegmentationInputs.ModelType + (AutoMlImageSegmentationMetadata_SuccessfulStopReason)(0), // 1: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlImageSegmentationMetadata.SuccessfulStopReason + (*AutoMlImageSegmentation)(nil), // 2: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlImageSegmentation + (*AutoMlImageSegmentationInputs)(nil), // 3: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlImageSegmentationInputs + (*AutoMlImageSegmentationMetadata)(nil), // 4: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlImageSegmentationMetadata +} +var file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_segmentation_proto_depIdxs = []int32{ + 3, // 0: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlImageSegmentation.inputs:type_name -> google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlImageSegmentationInputs + 4, // 1: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlImageSegmentation.metadata:type_name -> google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlImageSegmentationMetadata + 0, // 2: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlImageSegmentationInputs.model_type:type_name -> google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlImageSegmentationInputs.ModelType + 1, // 3: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlImageSegmentationMetadata.successful_stop_reason:type_name -> google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlImageSegmentationMetadata.SuccessfulStopReason + 4, // [4:4] is the sub-list for method output_type + 4, // [4:4] is the sub-list for method input_type + 4, // [4:4] is the sub-list for extension type_name + 4, // [4:4] is the sub-list for extension extendee + 0, // [0:4] is the sub-list for field type_name +} + +func init() { + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_segmentation_proto_init() +} +func file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_segmentation_proto_init() { + if File_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_segmentation_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_segmentation_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AutoMlImageSegmentation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_segmentation_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AutoMlImageSegmentationInputs); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_segmentation_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AutoMlImageSegmentationMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_segmentation_proto_rawDesc, + NumEnums: 2, + NumMessages: 3, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_segmentation_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_segmentation_proto_depIdxs, + EnumInfos: file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_segmentation_proto_enumTypes, + MessageInfos: file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_segmentation_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_segmentation_proto = out.File + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_segmentation_proto_rawDesc = nil + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_segmentation_proto_goTypes = nil + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_image_segmentation_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1/schema/trainingjob/definition/automl_tables.pb.go b/googleapis/cloud/aiplatform/v1/schema/trainingjob/definition/automl_tables.pb.go new file mode 100644 index 000000000..9c22b98e1 --- /dev/null +++ b/googleapis/cloud/aiplatform/v1/schema/trainingjob/definition/automl_tables.pb.go @@ -0,0 +1,1492 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.25.0-devel +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_tables.proto + +package definition + +import ( + reflect "reflect" + sync "sync" + + proto "github.com/golang/protobuf/proto" + _ "google.golang.org/genproto/googleapis/api/annotations" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 + +// A TrainingJob that trains and uploads an AutoML Tables Model. +type AutoMlTables struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The input parameters of this TrainingJob. + Inputs *AutoMlTablesInputs `protobuf:"bytes,1,opt,name=inputs,proto3" json:"inputs,omitempty"` + // The metadata information. + Metadata *AutoMlTablesMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` +} + +func (x *AutoMlTables) Reset() { + *x = AutoMlTables{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_tables_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AutoMlTables) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AutoMlTables) ProtoMessage() {} + +func (x *AutoMlTables) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_tables_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AutoMlTables.ProtoReflect.Descriptor instead. +func (*AutoMlTables) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_tables_proto_rawDescGZIP(), []int{0} +} + +func (x *AutoMlTables) GetInputs() *AutoMlTablesInputs { + if x != nil { + return x.Inputs + } + return nil +} + +func (x *AutoMlTables) GetMetadata() *AutoMlTablesMetadata { + if x != nil { + return x.Metadata + } + return nil +} + +type AutoMlTablesInputs struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Additional optimization objective configuration. Required for + // `maximize-precision-at-recall` and `maximize-recall-at-precision`, + // otherwise unused. + // + // Types that are assignable to AdditionalOptimizationObjectiveConfig: + // *AutoMlTablesInputs_OptimizationObjectiveRecallValue + // *AutoMlTablesInputs_OptimizationObjectivePrecisionValue + AdditionalOptimizationObjectiveConfig isAutoMlTablesInputs_AdditionalOptimizationObjectiveConfig `protobuf_oneof:"additional_optimization_objective_config"` + // The type of prediction the Model is to produce. + // "classification" - Predict one out of multiple target values is + // picked for each row. + // "regression" - Predict a value based on its relation to other values. + // This type is available only to columns that contain + // semantically numeric values, i.e. integers or floating + // point number, even if stored as e.g. strings. + PredictionType string `protobuf:"bytes,1,opt,name=prediction_type,json=predictionType,proto3" json:"prediction_type,omitempty"` + // The column name of the target column that the model is to predict. + TargetColumn string `protobuf:"bytes,2,opt,name=target_column,json=targetColumn,proto3" json:"target_column,omitempty"` + // Each transformation will apply transform function to given input column. + // And the result will be used for training. + // When creating transformation for BigQuery Struct column, the column should + // be flattened using "." as the delimiter. + Transformations []*AutoMlTablesInputs_Transformation `protobuf:"bytes,3,rep,name=transformations,proto3" json:"transformations,omitempty"` + // Objective function the model is optimizing towards. The training process + // creates a model that maximizes/minimizes the value of the objective + // function over the validation set. + // + // The supported optimization objectives depend on the prediction type. + // If the field is not set, a default objective function is used. + // + // classification (binary): + // "maximize-au-roc" (default) - Maximize the area under the receiver + // operating characteristic (ROC) curve. + // "minimize-log-loss" - Minimize log loss. + // "maximize-au-prc" - Maximize the area under the precision-recall curve. + // "maximize-precision-at-recall" - Maximize precision for a specified + // recall value. + // "maximize-recall-at-precision" - Maximize recall for a specified + // precision value. + // + // classification (multi-class): + // "minimize-log-loss" (default) - Minimize log loss. + // + // regression: + // "minimize-rmse" (default) - Minimize root-mean-squared error (RMSE). + // "minimize-mae" - Minimize mean-absolute error (MAE). + // "minimize-rmsle" - Minimize root-mean-squared log error (RMSLE). + OptimizationObjective string `protobuf:"bytes,4,opt,name=optimization_objective,json=optimizationObjective,proto3" json:"optimization_objective,omitempty"` + // Required. The train budget of creating this model, expressed in milli node + // hours i.e. 1,000 value in this field means 1 node hour. + // + // The training cost of the model will not exceed this budget. The final cost + // will be attempted to be close to the budget, though may end up being (even) + // noticeably smaller - at the backend's discretion. This especially may + // happen when further model training ceases to provide any improvements. + // + // If the budget is set to a value known to be insufficient to train a + // model for the given dataset, the training won't be attempted and + // will error. + // + // The train budget must be between 1,000 and 72,000 milli node hours, + // inclusive. + TrainBudgetMilliNodeHours int64 `protobuf:"varint,7,opt,name=train_budget_milli_node_hours,json=trainBudgetMilliNodeHours,proto3" json:"train_budget_milli_node_hours,omitempty"` + // Use the entire training budget. This disables the early stopping feature. + // By default, the early stopping feature is enabled, which means that AutoML + // Tables might stop training before the entire training budget has been used. + DisableEarlyStopping bool `protobuf:"varint,8,opt,name=disable_early_stopping,json=disableEarlyStopping,proto3" json:"disable_early_stopping,omitempty"` + // Column name that should be used as the weight column. + // Higher values in this column give more importance to the row + // during model training. The column must have numeric values between 0 and + // 10000 inclusively; 0 means the row is ignored for training. If weight + // column field is not set, then all rows are assumed to have equal weight + // of 1. + WeightColumnName string `protobuf:"bytes,9,opt,name=weight_column_name,json=weightColumnName,proto3" json:"weight_column_name,omitempty"` + // Configuration for exporting test set predictions to a BigQuery table. If + // this configuration is absent, then the export is not performed. + ExportEvaluatedDataItemsConfig *ExportEvaluatedDataItemsConfig `protobuf:"bytes,10,opt,name=export_evaluated_data_items_config,json=exportEvaluatedDataItemsConfig,proto3" json:"export_evaluated_data_items_config,omitempty"` +} + +func (x *AutoMlTablesInputs) Reset() { + *x = AutoMlTablesInputs{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_tables_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AutoMlTablesInputs) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AutoMlTablesInputs) ProtoMessage() {} + +func (x *AutoMlTablesInputs) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_tables_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AutoMlTablesInputs.ProtoReflect.Descriptor instead. +func (*AutoMlTablesInputs) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_tables_proto_rawDescGZIP(), []int{1} +} + +func (m *AutoMlTablesInputs) GetAdditionalOptimizationObjectiveConfig() isAutoMlTablesInputs_AdditionalOptimizationObjectiveConfig { + if m != nil { + return m.AdditionalOptimizationObjectiveConfig + } + return nil +} + +func (x *AutoMlTablesInputs) GetOptimizationObjectiveRecallValue() float32 { + if x, ok := x.GetAdditionalOptimizationObjectiveConfig().(*AutoMlTablesInputs_OptimizationObjectiveRecallValue); ok { + return x.OptimizationObjectiveRecallValue + } + return 0 +} + +func (x *AutoMlTablesInputs) GetOptimizationObjectivePrecisionValue() float32 { + if x, ok := x.GetAdditionalOptimizationObjectiveConfig().(*AutoMlTablesInputs_OptimizationObjectivePrecisionValue); ok { + return x.OptimizationObjectivePrecisionValue + } + return 0 +} + +func (x *AutoMlTablesInputs) GetPredictionType() string { + if x != nil { + return x.PredictionType + } + return "" +} + +func (x *AutoMlTablesInputs) GetTargetColumn() string { + if x != nil { + return x.TargetColumn + } + return "" +} + +func (x *AutoMlTablesInputs) GetTransformations() []*AutoMlTablesInputs_Transformation { + if x != nil { + return x.Transformations + } + return nil +} + +func (x *AutoMlTablesInputs) GetOptimizationObjective() string { + if x != nil { + return x.OptimizationObjective + } + return "" +} + +func (x *AutoMlTablesInputs) GetTrainBudgetMilliNodeHours() int64 { + if x != nil { + return x.TrainBudgetMilliNodeHours + } + return 0 +} + +func (x *AutoMlTablesInputs) GetDisableEarlyStopping() bool { + if x != nil { + return x.DisableEarlyStopping + } + return false +} + +func (x *AutoMlTablesInputs) GetWeightColumnName() string { + if x != nil { + return x.WeightColumnName + } + return "" +} + +func (x *AutoMlTablesInputs) GetExportEvaluatedDataItemsConfig() *ExportEvaluatedDataItemsConfig { + if x != nil { + return x.ExportEvaluatedDataItemsConfig + } + return nil +} + +type isAutoMlTablesInputs_AdditionalOptimizationObjectiveConfig interface { + isAutoMlTablesInputs_AdditionalOptimizationObjectiveConfig() +} + +type AutoMlTablesInputs_OptimizationObjectiveRecallValue struct { + // Required when optimization_objective is "maximize-precision-at-recall". + // Must be between 0 and 1, inclusive. + OptimizationObjectiveRecallValue float32 `protobuf:"fixed32,5,opt,name=optimization_objective_recall_value,json=optimizationObjectiveRecallValue,proto3,oneof"` +} + +type AutoMlTablesInputs_OptimizationObjectivePrecisionValue struct { + // Required when optimization_objective is "maximize-recall-at-precision". + // Must be between 0 and 1, inclusive. + OptimizationObjectivePrecisionValue float32 `protobuf:"fixed32,6,opt,name=optimization_objective_precision_value,json=optimizationObjectivePrecisionValue,proto3,oneof"` +} + +func (*AutoMlTablesInputs_OptimizationObjectiveRecallValue) isAutoMlTablesInputs_AdditionalOptimizationObjectiveConfig() { +} + +func (*AutoMlTablesInputs_OptimizationObjectivePrecisionValue) isAutoMlTablesInputs_AdditionalOptimizationObjectiveConfig() { +} + +// Model metadata specific to AutoML Tables. +type AutoMlTablesMetadata struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Output only. The actual training cost of the model, expressed in milli + // node hours, i.e. 1,000 value in this field means 1 node hour. Guaranteed + // to not exceed the train budget. + TrainCostMilliNodeHours int64 `protobuf:"varint,1,opt,name=train_cost_milli_node_hours,json=trainCostMilliNodeHours,proto3" json:"train_cost_milli_node_hours,omitempty"` +} + +func (x *AutoMlTablesMetadata) Reset() { + *x = AutoMlTablesMetadata{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_tables_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AutoMlTablesMetadata) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AutoMlTablesMetadata) ProtoMessage() {} + +func (x *AutoMlTablesMetadata) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_tables_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AutoMlTablesMetadata.ProtoReflect.Descriptor instead. +func (*AutoMlTablesMetadata) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_tables_proto_rawDescGZIP(), []int{2} +} + +func (x *AutoMlTablesMetadata) GetTrainCostMilliNodeHours() int64 { + if x != nil { + return x.TrainCostMilliNodeHours + } + return 0 +} + +type AutoMlTablesInputs_Transformation struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The transformation that the training pipeline will apply to the input + // columns. + // + // Types that are assignable to TransformationDetail: + // *AutoMlTablesInputs_Transformation_Auto + // *AutoMlTablesInputs_Transformation_Numeric + // *AutoMlTablesInputs_Transformation_Categorical + // *AutoMlTablesInputs_Transformation_Timestamp + // *AutoMlTablesInputs_Transformation_Text + // *AutoMlTablesInputs_Transformation_RepeatedNumeric + // *AutoMlTablesInputs_Transformation_RepeatedCategorical + // *AutoMlTablesInputs_Transformation_RepeatedText + TransformationDetail isAutoMlTablesInputs_Transformation_TransformationDetail `protobuf_oneof:"transformation_detail"` +} + +func (x *AutoMlTablesInputs_Transformation) Reset() { + *x = AutoMlTablesInputs_Transformation{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_tables_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AutoMlTablesInputs_Transformation) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AutoMlTablesInputs_Transformation) ProtoMessage() {} + +func (x *AutoMlTablesInputs_Transformation) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_tables_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AutoMlTablesInputs_Transformation.ProtoReflect.Descriptor instead. +func (*AutoMlTablesInputs_Transformation) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_tables_proto_rawDescGZIP(), []int{1, 0} +} + +func (m *AutoMlTablesInputs_Transformation) GetTransformationDetail() isAutoMlTablesInputs_Transformation_TransformationDetail { + if m != nil { + return m.TransformationDetail + } + return nil +} + +func (x *AutoMlTablesInputs_Transformation) GetAuto() *AutoMlTablesInputs_Transformation_AutoTransformation { + if x, ok := x.GetTransformationDetail().(*AutoMlTablesInputs_Transformation_Auto); ok { + return x.Auto + } + return nil +} + +func (x *AutoMlTablesInputs_Transformation) GetNumeric() *AutoMlTablesInputs_Transformation_NumericTransformation { + if x, ok := x.GetTransformationDetail().(*AutoMlTablesInputs_Transformation_Numeric); ok { + return x.Numeric + } + return nil +} + +func (x *AutoMlTablesInputs_Transformation) GetCategorical() *AutoMlTablesInputs_Transformation_CategoricalTransformation { + if x, ok := x.GetTransformationDetail().(*AutoMlTablesInputs_Transformation_Categorical); ok { + return x.Categorical + } + return nil +} + +func (x *AutoMlTablesInputs_Transformation) GetTimestamp() *AutoMlTablesInputs_Transformation_TimestampTransformation { + if x, ok := x.GetTransformationDetail().(*AutoMlTablesInputs_Transformation_Timestamp); ok { + return x.Timestamp + } + return nil +} + +func (x *AutoMlTablesInputs_Transformation) GetText() *AutoMlTablesInputs_Transformation_TextTransformation { + if x, ok := x.GetTransformationDetail().(*AutoMlTablesInputs_Transformation_Text); ok { + return x.Text + } + return nil +} + +func (x *AutoMlTablesInputs_Transformation) GetRepeatedNumeric() *AutoMlTablesInputs_Transformation_NumericArrayTransformation { + if x, ok := x.GetTransformationDetail().(*AutoMlTablesInputs_Transformation_RepeatedNumeric); ok { + return x.RepeatedNumeric + } + return nil +} + +func (x *AutoMlTablesInputs_Transformation) GetRepeatedCategorical() *AutoMlTablesInputs_Transformation_CategoricalArrayTransformation { + if x, ok := x.GetTransformationDetail().(*AutoMlTablesInputs_Transformation_RepeatedCategorical); ok { + return x.RepeatedCategorical + } + return nil +} + +func (x *AutoMlTablesInputs_Transformation) GetRepeatedText() *AutoMlTablesInputs_Transformation_TextArrayTransformation { + if x, ok := x.GetTransformationDetail().(*AutoMlTablesInputs_Transformation_RepeatedText); ok { + return x.RepeatedText + } + return nil +} + +type isAutoMlTablesInputs_Transformation_TransformationDetail interface { + isAutoMlTablesInputs_Transformation_TransformationDetail() +} + +type AutoMlTablesInputs_Transformation_Auto struct { + Auto *AutoMlTablesInputs_Transformation_AutoTransformation `protobuf:"bytes,1,opt,name=auto,proto3,oneof"` +} + +type AutoMlTablesInputs_Transformation_Numeric struct { + Numeric *AutoMlTablesInputs_Transformation_NumericTransformation `protobuf:"bytes,2,opt,name=numeric,proto3,oneof"` +} + +type AutoMlTablesInputs_Transformation_Categorical struct { + Categorical *AutoMlTablesInputs_Transformation_CategoricalTransformation `protobuf:"bytes,3,opt,name=categorical,proto3,oneof"` +} + +type AutoMlTablesInputs_Transformation_Timestamp struct { + Timestamp *AutoMlTablesInputs_Transformation_TimestampTransformation `protobuf:"bytes,4,opt,name=timestamp,proto3,oneof"` +} + +type AutoMlTablesInputs_Transformation_Text struct { + Text *AutoMlTablesInputs_Transformation_TextTransformation `protobuf:"bytes,5,opt,name=text,proto3,oneof"` +} + +type AutoMlTablesInputs_Transformation_RepeatedNumeric struct { + RepeatedNumeric *AutoMlTablesInputs_Transformation_NumericArrayTransformation `protobuf:"bytes,6,opt,name=repeated_numeric,json=repeatedNumeric,proto3,oneof"` +} + +type AutoMlTablesInputs_Transformation_RepeatedCategorical struct { + RepeatedCategorical *AutoMlTablesInputs_Transformation_CategoricalArrayTransformation `protobuf:"bytes,7,opt,name=repeated_categorical,json=repeatedCategorical,proto3,oneof"` +} + +type AutoMlTablesInputs_Transformation_RepeatedText struct { + RepeatedText *AutoMlTablesInputs_Transformation_TextArrayTransformation `protobuf:"bytes,8,opt,name=repeated_text,json=repeatedText,proto3,oneof"` +} + +func (*AutoMlTablesInputs_Transformation_Auto) isAutoMlTablesInputs_Transformation_TransformationDetail() { +} + +func (*AutoMlTablesInputs_Transformation_Numeric) isAutoMlTablesInputs_Transformation_TransformationDetail() { +} + +func (*AutoMlTablesInputs_Transformation_Categorical) isAutoMlTablesInputs_Transformation_TransformationDetail() { +} + +func (*AutoMlTablesInputs_Transformation_Timestamp) isAutoMlTablesInputs_Transformation_TransformationDetail() { +} + +func (*AutoMlTablesInputs_Transformation_Text) isAutoMlTablesInputs_Transformation_TransformationDetail() { +} + +func (*AutoMlTablesInputs_Transformation_RepeatedNumeric) isAutoMlTablesInputs_Transformation_TransformationDetail() { +} + +func (*AutoMlTablesInputs_Transformation_RepeatedCategorical) isAutoMlTablesInputs_Transformation_TransformationDetail() { +} + +func (*AutoMlTablesInputs_Transformation_RepeatedText) isAutoMlTablesInputs_Transformation_TransformationDetail() { +} + +// Training pipeline will infer the proper transformation based on the +// statistic of dataset. +type AutoMlTablesInputs_Transformation_AutoTransformation struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ColumnName string `protobuf:"bytes,1,opt,name=column_name,json=columnName,proto3" json:"column_name,omitempty"` +} + +func (x *AutoMlTablesInputs_Transformation_AutoTransformation) Reset() { + *x = AutoMlTablesInputs_Transformation_AutoTransformation{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_tables_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AutoMlTablesInputs_Transformation_AutoTransformation) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AutoMlTablesInputs_Transformation_AutoTransformation) ProtoMessage() {} + +func (x *AutoMlTablesInputs_Transformation_AutoTransformation) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_tables_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AutoMlTablesInputs_Transformation_AutoTransformation.ProtoReflect.Descriptor instead. +func (*AutoMlTablesInputs_Transformation_AutoTransformation) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_tables_proto_rawDescGZIP(), []int{1, 0, 0} +} + +func (x *AutoMlTablesInputs_Transformation_AutoTransformation) GetColumnName() string { + if x != nil { + return x.ColumnName + } + return "" +} + +// Training pipeline will perform following transformation functions. +// * The value converted to float32. +// * The z_score of the value. +// * log(value+1) when the value is greater than or equal to 0. Otherwise, +// this transformation is not applied and the value is considered a +// missing value. +// * z_score of log(value+1) when the value is greater than or equal to 0. +// Otherwise, this transformation is not applied and the value is +// considered a missing value. +// * A boolean value that indicates whether the value is valid. +type AutoMlTablesInputs_Transformation_NumericTransformation struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ColumnName string `protobuf:"bytes,1,opt,name=column_name,json=columnName,proto3" json:"column_name,omitempty"` + // If invalid values is allowed, the training pipeline will create a + // boolean feature that indicated whether the value is valid. + // Otherwise, the training pipeline will discard the input row from + // trainining data. + InvalidValuesAllowed bool `protobuf:"varint,2,opt,name=invalid_values_allowed,json=invalidValuesAllowed,proto3" json:"invalid_values_allowed,omitempty"` +} + +func (x *AutoMlTablesInputs_Transformation_NumericTransformation) Reset() { + *x = AutoMlTablesInputs_Transformation_NumericTransformation{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_tables_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AutoMlTablesInputs_Transformation_NumericTransformation) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AutoMlTablesInputs_Transformation_NumericTransformation) ProtoMessage() {} + +func (x *AutoMlTablesInputs_Transformation_NumericTransformation) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_tables_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AutoMlTablesInputs_Transformation_NumericTransformation.ProtoReflect.Descriptor instead. +func (*AutoMlTablesInputs_Transformation_NumericTransformation) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_tables_proto_rawDescGZIP(), []int{1, 0, 1} +} + +func (x *AutoMlTablesInputs_Transformation_NumericTransformation) GetColumnName() string { + if x != nil { + return x.ColumnName + } + return "" +} + +func (x *AutoMlTablesInputs_Transformation_NumericTransformation) GetInvalidValuesAllowed() bool { + if x != nil { + return x.InvalidValuesAllowed + } + return false +} + +// Training pipeline will perform following transformation functions. +// * The categorical string as is--no change to case, punctuation, +// spelling, +// tense, and so on. +// * Convert the category name to a dictionary lookup index and generate an +// embedding for each index. +// * Categories that appear less than 5 times in the training dataset are +// treated as the "unknown" category. The "unknown" category gets its own +// special lookup index and resulting embedding. +type AutoMlTablesInputs_Transformation_CategoricalTransformation struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ColumnName string `protobuf:"bytes,1,opt,name=column_name,json=columnName,proto3" json:"column_name,omitempty"` +} + +func (x *AutoMlTablesInputs_Transformation_CategoricalTransformation) Reset() { + *x = AutoMlTablesInputs_Transformation_CategoricalTransformation{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_tables_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AutoMlTablesInputs_Transformation_CategoricalTransformation) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AutoMlTablesInputs_Transformation_CategoricalTransformation) ProtoMessage() {} + +func (x *AutoMlTablesInputs_Transformation_CategoricalTransformation) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_tables_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AutoMlTablesInputs_Transformation_CategoricalTransformation.ProtoReflect.Descriptor instead. +func (*AutoMlTablesInputs_Transformation_CategoricalTransformation) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_tables_proto_rawDescGZIP(), []int{1, 0, 2} +} + +func (x *AutoMlTablesInputs_Transformation_CategoricalTransformation) GetColumnName() string { + if x != nil { + return x.ColumnName + } + return "" +} + +// Training pipeline will perform following transformation functions. +// * Apply the transformation functions for Numerical columns. +// * Determine the year, month, day,and weekday. Treat each value from the +// * timestamp as a Categorical column. +// * Invalid numerical values (for example, values that fall outside of a +// typical timestamp range, or are extreme values) receive no special +// treatment and are not removed. +type AutoMlTablesInputs_Transformation_TimestampTransformation struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ColumnName string `protobuf:"bytes,1,opt,name=column_name,json=columnName,proto3" json:"column_name,omitempty"` + // The format in which that time field is expressed. The time_format must + // either be one of: + // * `unix-seconds` + // * `unix-milliseconds` + // * `unix-microseconds` + // * `unix-nanoseconds` + // (for respectively number of seconds, milliseconds, microseconds and + // nanoseconds since start of the Unix epoch); + // or be written in `strftime` syntax. If time_format is not set, then the + // default format is RFC 3339 `date-time` format, where + // `time-offset` = `"Z"` (e.g. 1985-04-12T23:20:50.52Z) + TimeFormat string `protobuf:"bytes,2,opt,name=time_format,json=timeFormat,proto3" json:"time_format,omitempty"` + // If invalid values is allowed, the training pipeline will create a + // boolean feature that indicated whether the value is valid. + // Otherwise, the training pipeline will discard the input row from + // trainining data. + InvalidValuesAllowed bool `protobuf:"varint,3,opt,name=invalid_values_allowed,json=invalidValuesAllowed,proto3" json:"invalid_values_allowed,omitempty"` +} + +func (x *AutoMlTablesInputs_Transformation_TimestampTransformation) Reset() { + *x = AutoMlTablesInputs_Transformation_TimestampTransformation{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_tables_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AutoMlTablesInputs_Transformation_TimestampTransformation) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AutoMlTablesInputs_Transformation_TimestampTransformation) ProtoMessage() {} + +func (x *AutoMlTablesInputs_Transformation_TimestampTransformation) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_tables_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AutoMlTablesInputs_Transformation_TimestampTransformation.ProtoReflect.Descriptor instead. +func (*AutoMlTablesInputs_Transformation_TimestampTransformation) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_tables_proto_rawDescGZIP(), []int{1, 0, 3} +} + +func (x *AutoMlTablesInputs_Transformation_TimestampTransformation) GetColumnName() string { + if x != nil { + return x.ColumnName + } + return "" +} + +func (x *AutoMlTablesInputs_Transformation_TimestampTransformation) GetTimeFormat() string { + if x != nil { + return x.TimeFormat + } + return "" +} + +func (x *AutoMlTablesInputs_Transformation_TimestampTransformation) GetInvalidValuesAllowed() bool { + if x != nil { + return x.InvalidValuesAllowed + } + return false +} + +// Training pipeline will perform following transformation functions. +// * The text as is--no change to case, punctuation, spelling, tense, and +// so +// on. +// * Tokenize text to words. Convert each words to a dictionary lookup +// index +// and generate an embedding for each index. Combine the embedding of all +// elements into a single embedding using the mean. +// * Tokenization is based on unicode script boundaries. +// * Missing values get their own lookup index and resulting embedding. +// * Stop-words receive no special treatment and are not removed. +type AutoMlTablesInputs_Transformation_TextTransformation struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ColumnName string `protobuf:"bytes,1,opt,name=column_name,json=columnName,proto3" json:"column_name,omitempty"` +} + +func (x *AutoMlTablesInputs_Transformation_TextTransformation) Reset() { + *x = AutoMlTablesInputs_Transformation_TextTransformation{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_tables_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AutoMlTablesInputs_Transformation_TextTransformation) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AutoMlTablesInputs_Transformation_TextTransformation) ProtoMessage() {} + +func (x *AutoMlTablesInputs_Transformation_TextTransformation) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_tables_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AutoMlTablesInputs_Transformation_TextTransformation.ProtoReflect.Descriptor instead. +func (*AutoMlTablesInputs_Transformation_TextTransformation) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_tables_proto_rawDescGZIP(), []int{1, 0, 4} +} + +func (x *AutoMlTablesInputs_Transformation_TextTransformation) GetColumnName() string { + if x != nil { + return x.ColumnName + } + return "" +} + +// Treats the column as numerical array and performs following +// transformation functions. +// * All transformations for Numerical types applied to the average of the +// all elements. +// * The average of empty arrays is treated as zero. +type AutoMlTablesInputs_Transformation_NumericArrayTransformation struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ColumnName string `protobuf:"bytes,1,opt,name=column_name,json=columnName,proto3" json:"column_name,omitempty"` + // If invalid values is allowed, the training pipeline will create a + // boolean feature that indicated whether the value is valid. + // Otherwise, the training pipeline will discard the input row from + // trainining data. + InvalidValuesAllowed bool `protobuf:"varint,2,opt,name=invalid_values_allowed,json=invalidValuesAllowed,proto3" json:"invalid_values_allowed,omitempty"` +} + +func (x *AutoMlTablesInputs_Transformation_NumericArrayTransformation) Reset() { + *x = AutoMlTablesInputs_Transformation_NumericArrayTransformation{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_tables_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AutoMlTablesInputs_Transformation_NumericArrayTransformation) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AutoMlTablesInputs_Transformation_NumericArrayTransformation) ProtoMessage() {} + +func (x *AutoMlTablesInputs_Transformation_NumericArrayTransformation) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_tables_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AutoMlTablesInputs_Transformation_NumericArrayTransformation.ProtoReflect.Descriptor instead. +func (*AutoMlTablesInputs_Transformation_NumericArrayTransformation) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_tables_proto_rawDescGZIP(), []int{1, 0, 5} +} + +func (x *AutoMlTablesInputs_Transformation_NumericArrayTransformation) GetColumnName() string { + if x != nil { + return x.ColumnName + } + return "" +} + +func (x *AutoMlTablesInputs_Transformation_NumericArrayTransformation) GetInvalidValuesAllowed() bool { + if x != nil { + return x.InvalidValuesAllowed + } + return false +} + +// Treats the column as categorical array and performs following +// transformation functions. +// * For each element in the array, convert the category name to a +// dictionary +// lookup index and generate an embedding for each index. +// Combine the embedding of all elements into a single embedding using +// the mean. +// * Empty arrays treated as an embedding of zeroes. +type AutoMlTablesInputs_Transformation_CategoricalArrayTransformation struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ColumnName string `protobuf:"bytes,1,opt,name=column_name,json=columnName,proto3" json:"column_name,omitempty"` +} + +func (x *AutoMlTablesInputs_Transformation_CategoricalArrayTransformation) Reset() { + *x = AutoMlTablesInputs_Transformation_CategoricalArrayTransformation{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_tables_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AutoMlTablesInputs_Transformation_CategoricalArrayTransformation) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AutoMlTablesInputs_Transformation_CategoricalArrayTransformation) ProtoMessage() {} + +func (x *AutoMlTablesInputs_Transformation_CategoricalArrayTransformation) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_tables_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AutoMlTablesInputs_Transformation_CategoricalArrayTransformation.ProtoReflect.Descriptor instead. +func (*AutoMlTablesInputs_Transformation_CategoricalArrayTransformation) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_tables_proto_rawDescGZIP(), []int{1, 0, 6} +} + +func (x *AutoMlTablesInputs_Transformation_CategoricalArrayTransformation) GetColumnName() string { + if x != nil { + return x.ColumnName + } + return "" +} + +// Treats the column as text array and performs following transformation +// functions. +// * Concatenate all text values in the array into a single text value +// using +// a space (" ") as a delimiter, and then treat the result as a single +// text value. Apply the transformations for Text columns. +// * Empty arrays treated as an empty text. +type AutoMlTablesInputs_Transformation_TextArrayTransformation struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ColumnName string `protobuf:"bytes,1,opt,name=column_name,json=columnName,proto3" json:"column_name,omitempty"` +} + +func (x *AutoMlTablesInputs_Transformation_TextArrayTransformation) Reset() { + *x = AutoMlTablesInputs_Transformation_TextArrayTransformation{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_tables_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AutoMlTablesInputs_Transformation_TextArrayTransformation) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AutoMlTablesInputs_Transformation_TextArrayTransformation) ProtoMessage() {} + +func (x *AutoMlTablesInputs_Transformation_TextArrayTransformation) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_tables_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AutoMlTablesInputs_Transformation_TextArrayTransformation.ProtoReflect.Descriptor instead. +func (*AutoMlTablesInputs_Transformation_TextArrayTransformation) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_tables_proto_rawDescGZIP(), []int{1, 0, 7} +} + +func (x *AutoMlTablesInputs_Transformation_TextArrayTransformation) GetColumnName() string { + if x != nil { + return x.ColumnName + } + return "" +} + +var File_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_tables_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_tables_proto_rawDesc = []byte{ + 0x0a, 0x4c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, + 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x2f, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2f, + 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x6d, + 0x6c, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x38, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, + 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, + 0x61, 0x2e, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2e, 0x64, 0x65, + 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x61, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, + 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x74, 0x72, 0x61, 0x69, + 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x2f, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x65, 0x76, 0x61, 0x6c, 0x75, 0x61, + 0x74, 0x65, 0x64, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x5f, 0x63, + 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe0, 0x01, 0x0a, 0x0c, 0x41, 0x75, + 0x74, 0x6f, 0x4d, 0x6c, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x64, 0x0a, 0x06, 0x69, 0x6e, + 0x70, 0x75, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x4c, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, + 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x74, + 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2e, 0x64, 0x65, 0x66, 0x69, 0x6e, + 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x6c, 0x54, 0x61, 0x62, 0x6c, + 0x65, 0x73, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x52, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, + 0x12, 0x6a, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x4e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, + 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, + 0x6f, 0x62, 0x2e, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x75, + 0x74, 0x6f, 0x4d, 0x6c, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 0xd7, 0x15, 0x0a, + 0x12, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x6c, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x49, 0x6e, 0x70, + 0x75, 0x74, 0x73, 0x12, 0x4f, 0x0a, 0x23, 0x6f, 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x72, 0x65, + 0x63, 0x61, 0x6c, 0x6c, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x02, + 0x48, 0x00, 0x52, 0x20, 0x6f, 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x52, 0x65, 0x63, 0x61, 0x6c, 0x6c, 0x56, + 0x61, 0x6c, 0x75, 0x65, 0x12, 0x55, 0x0a, 0x26, 0x6f, 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x70, + 0x72, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x02, 0x48, 0x00, 0x52, 0x23, 0x6f, 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x50, 0x72, 0x65, + 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x70, + 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x54, 0x79, 0x70, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x63, + 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x74, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x12, 0x85, 0x01, 0x0a, 0x0f, 0x74, 0x72, + 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x5b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, + 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, + 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, + 0x6a, 0x6f, 0x62, 0x2e, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, + 0x75, 0x74, 0x6f, 0x4d, 0x6c, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x49, 0x6e, 0x70, 0x75, 0x74, + 0x73, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x0f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x12, 0x35, 0x0a, 0x16, 0x6f, 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x5f, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x15, 0x6f, 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4f, + 0x62, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x12, 0x40, 0x0a, 0x1d, 0x74, 0x72, 0x61, 0x69, + 0x6e, 0x5f, 0x62, 0x75, 0x64, 0x67, 0x65, 0x74, 0x5f, 0x6d, 0x69, 0x6c, 0x6c, 0x69, 0x5f, 0x6e, + 0x6f, 0x64, 0x65, 0x5f, 0x68, 0x6f, 0x75, 0x72, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x19, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x42, 0x75, 0x64, 0x67, 0x65, 0x74, 0x4d, 0x69, 0x6c, 0x6c, + 0x69, 0x4e, 0x6f, 0x64, 0x65, 0x48, 0x6f, 0x75, 0x72, 0x73, 0x12, 0x34, 0x0a, 0x16, 0x64, 0x69, + 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x65, 0x61, 0x72, 0x6c, 0x79, 0x5f, 0x73, 0x74, 0x6f, 0x70, + 0x70, 0x69, 0x6e, 0x67, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x14, 0x64, 0x69, 0x73, 0x61, + 0x62, 0x6c, 0x65, 0x45, 0x61, 0x72, 0x6c, 0x79, 0x53, 0x74, 0x6f, 0x70, 0x70, 0x69, 0x6e, 0x67, + 0x12, 0x2c, 0x0a, 0x12, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, + 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x77, 0x65, + 0x69, 0x67, 0x68, 0x74, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0xa4, + 0x01, 0x0a, 0x22, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x65, 0x76, 0x61, 0x6c, 0x75, 0x61, + 0x74, 0x65, 0x64, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x5f, 0x63, + 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x58, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, + 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, + 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2e, 0x64, 0x65, 0x66, 0x69, + 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x76, 0x61, + 0x6c, 0x75, 0x61, 0x74, 0x65, 0x64, 0x44, 0x61, 0x74, 0x61, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x43, + 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x1e, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x76, 0x61, + 0x6c, 0x75, 0x61, 0x74, 0x65, 0x64, 0x44, 0x61, 0x74, 0x61, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x43, + 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x1a, 0x92, 0x0f, 0x0a, 0x0e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, + 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x84, 0x01, 0x0a, 0x04, 0x61, 0x75, 0x74, + 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x6e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, + 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x74, 0x72, 0x61, 0x69, + 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2e, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x6c, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x49, + 0x6e, 0x70, 0x75, 0x74, 0x73, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, + 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x04, 0x61, 0x75, 0x74, 0x6f, 0x12, + 0x8d, 0x01, 0x0a, 0x07, 0x6e, 0x75, 0x6d, 0x65, 0x72, 0x69, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x71, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, + 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, + 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, + 0x62, 0x2e, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x75, 0x74, + 0x6f, 0x4d, 0x6c, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x2e, + 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4e, + 0x75, 0x6d, 0x65, 0x72, 0x69, 0x63, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x07, 0x6e, 0x75, 0x6d, 0x65, 0x72, 0x69, 0x63, 0x12, + 0x99, 0x01, 0x0a, 0x0b, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x69, 0x63, 0x61, 0x6c, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x75, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, + 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, + 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2e, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, + 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x6c, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x49, 0x6e, 0x70, + 0x75, 0x74, 0x73, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x2e, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x69, 0x63, 0x61, 0x6c, 0x54, 0x72, + 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x0b, + 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x69, 0x63, 0x61, 0x6c, 0x12, 0x93, 0x01, 0x0a, 0x09, + 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, + 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x2e, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2e, + 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x4d, + 0x6c, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x2e, 0x54, 0x72, + 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x54, 0x69, 0x6d, + 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, + 0x70, 0x12, 0x84, 0x01, 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x6e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, + 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, + 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, + 0x2e, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x75, 0x74, 0x6f, + 0x4d, 0x6c, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x2e, 0x54, + 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x54, 0x65, + 0x78, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x48, 0x00, 0x52, 0x04, 0x74, 0x65, 0x78, 0x74, 0x12, 0xa3, 0x01, 0x0a, 0x10, 0x72, 0x65, 0x70, + 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6e, 0x75, 0x6d, 0x65, 0x72, 0x69, 0x63, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x76, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, + 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, + 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, + 0x6a, 0x6f, 0x62, 0x2e, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, + 0x75, 0x74, 0x6f, 0x4d, 0x6c, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x49, 0x6e, 0x70, 0x75, 0x74, + 0x73, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x2e, 0x4e, 0x75, 0x6d, 0x65, 0x72, 0x69, 0x63, 0x41, 0x72, 0x72, 0x61, 0x79, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x0f, 0x72, + 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x4e, 0x75, 0x6d, 0x65, 0x72, 0x69, 0x63, 0x12, 0xaf, + 0x01, 0x0a, 0x14, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x63, 0x61, 0x74, 0x65, + 0x67, 0x6f, 0x72, 0x69, 0x63, 0x61, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x7a, 0x2e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, + 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, + 0x61, 0x2e, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2e, 0x64, 0x65, + 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x6c, 0x54, + 0x61, 0x62, 0x6c, 0x65, 0x73, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x2e, 0x54, 0x72, 0x61, 0x6e, + 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x61, 0x74, 0x65, 0x67, + 0x6f, 0x72, 0x69, 0x63, 0x61, 0x6c, 0x41, 0x72, 0x72, 0x61, 0x79, 0x54, 0x72, 0x61, 0x6e, 0x73, + 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x13, 0x72, 0x65, 0x70, + 0x65, 0x61, 0x74, 0x65, 0x64, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x69, 0x63, 0x61, 0x6c, + 0x12, 0x9a, 0x01, 0x0a, 0x0d, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x74, 0x65, + 0x78, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, + 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x74, 0x72, 0x61, + 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2e, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, + 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x6c, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, + 0x49, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x54, 0x65, 0x78, 0x74, 0x41, 0x72, 0x72, 0x61, 0x79, 0x54, + 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, + 0x0c, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x54, 0x65, 0x78, 0x74, 0x1a, 0x35, 0x0a, + 0x12, 0x41, 0x75, 0x74, 0x6f, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, + 0x4e, 0x61, 0x6d, 0x65, 0x1a, 0x6e, 0x0a, 0x15, 0x4e, 0x75, 0x6d, 0x65, 0x72, 0x69, 0x63, 0x54, + 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, + 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x34, + 0x0a, 0x16, 0x69, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, + 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x14, + 0x69, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x41, 0x6c, 0x6c, + 0x6f, 0x77, 0x65, 0x64, 0x1a, 0x3c, 0x0a, 0x19, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x69, + 0x63, 0x61, 0x6c, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4e, 0x61, + 0x6d, 0x65, 0x1a, 0x91, 0x01, 0x0a, 0x17, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, + 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1f, + 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, + 0x1f, 0x0a, 0x0b, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, + 0x12, 0x34, 0x0a, 0x16, 0x69, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x73, 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x14, 0x69, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x41, + 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x1a, 0x35, 0x0a, 0x12, 0x54, 0x65, 0x78, 0x74, 0x54, 0x72, + 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, + 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x1a, 0x73, 0x0a, + 0x1a, 0x4e, 0x75, 0x6d, 0x65, 0x72, 0x69, 0x63, 0x41, 0x72, 0x72, 0x61, 0x79, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x63, + 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x34, 0x0a, 0x16, + 0x69, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x5f, 0x61, + 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x14, 0x69, 0x6e, + 0x76, 0x61, 0x6c, 0x69, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x41, 0x6c, 0x6c, 0x6f, 0x77, + 0x65, 0x64, 0x1a, 0x41, 0x0a, 0x1e, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x69, 0x63, 0x61, + 0x6c, 0x41, 0x72, 0x72, 0x61, 0x79, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6e, + 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, + 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x1a, 0x3a, 0x0a, 0x17, 0x54, 0x65, 0x78, 0x74, 0x41, 0x72, 0x72, + 0x61, 0x79, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4e, 0x61, 0x6d, + 0x65, 0x42, 0x17, 0x0a, 0x15, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x42, 0x2a, 0x0a, 0x28, 0x61, 0x64, + 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, + 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x54, 0x0a, 0x14, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x6c, + 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x3c, + 0x0a, 0x1b, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x5f, 0x63, 0x6f, 0x73, 0x74, 0x5f, 0x6d, 0x69, 0x6c, + 0x6c, 0x69, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x68, 0x6f, 0x75, 0x72, 0x73, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x17, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x43, 0x6f, 0x73, 0x74, 0x4d, 0x69, + 0x6c, 0x6c, 0x69, 0x4e, 0x6f, 0x64, 0x65, 0x48, 0x6f, 0x75, 0x72, 0x73, 0x42, 0xb7, 0x01, 0x0a, + 0x3c, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, + 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, + 0x6f, 0x62, 0x2e, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x11, 0x41, + 0x75, 0x74, 0x6f, 0x4d, 0x4c, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, + 0x50, 0x01, 0x5a, 0x62, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, + 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, + 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, + 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, + 0x2f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x3b, 0x64, 0x65, 0x66, 0x69, + 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_tables_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_tables_proto_rawDescData = file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_tables_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_tables_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_tables_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_tables_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_tables_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_tables_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_tables_proto_msgTypes = make([]protoimpl.MessageInfo, 12) +var file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_tables_proto_goTypes = []interface{}{ + (*AutoMlTables)(nil), // 0: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTables + (*AutoMlTablesInputs)(nil), // 1: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTablesInputs + (*AutoMlTablesMetadata)(nil), // 2: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTablesMetadata + (*AutoMlTablesInputs_Transformation)(nil), // 3: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTablesInputs.Transformation + (*AutoMlTablesInputs_Transformation_AutoTransformation)(nil), // 4: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTablesInputs.Transformation.AutoTransformation + (*AutoMlTablesInputs_Transformation_NumericTransformation)(nil), // 5: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTablesInputs.Transformation.NumericTransformation + (*AutoMlTablesInputs_Transformation_CategoricalTransformation)(nil), // 6: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTablesInputs.Transformation.CategoricalTransformation + (*AutoMlTablesInputs_Transformation_TimestampTransformation)(nil), // 7: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTablesInputs.Transformation.TimestampTransformation + (*AutoMlTablesInputs_Transformation_TextTransformation)(nil), // 8: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTablesInputs.Transformation.TextTransformation + (*AutoMlTablesInputs_Transformation_NumericArrayTransformation)(nil), // 9: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTablesInputs.Transformation.NumericArrayTransformation + (*AutoMlTablesInputs_Transformation_CategoricalArrayTransformation)(nil), // 10: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTablesInputs.Transformation.CategoricalArrayTransformation + (*AutoMlTablesInputs_Transformation_TextArrayTransformation)(nil), // 11: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTablesInputs.Transformation.TextArrayTransformation + (*ExportEvaluatedDataItemsConfig)(nil), // 12: google.cloud.aiplatform.v1.schema.trainingjob.definition.ExportEvaluatedDataItemsConfig +} +var file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_tables_proto_depIdxs = []int32{ + 1, // 0: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTables.inputs:type_name -> google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTablesInputs + 2, // 1: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTables.metadata:type_name -> google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTablesMetadata + 3, // 2: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTablesInputs.transformations:type_name -> google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTablesInputs.Transformation + 12, // 3: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTablesInputs.export_evaluated_data_items_config:type_name -> google.cloud.aiplatform.v1.schema.trainingjob.definition.ExportEvaluatedDataItemsConfig + 4, // 4: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTablesInputs.Transformation.auto:type_name -> google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTablesInputs.Transformation.AutoTransformation + 5, // 5: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTablesInputs.Transformation.numeric:type_name -> google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTablesInputs.Transformation.NumericTransformation + 6, // 6: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTablesInputs.Transformation.categorical:type_name -> google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTablesInputs.Transformation.CategoricalTransformation + 7, // 7: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTablesInputs.Transformation.timestamp:type_name -> google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTablesInputs.Transformation.TimestampTransformation + 8, // 8: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTablesInputs.Transformation.text:type_name -> google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTablesInputs.Transformation.TextTransformation + 9, // 9: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTablesInputs.Transformation.repeated_numeric:type_name -> google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTablesInputs.Transformation.NumericArrayTransformation + 10, // 10: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTablesInputs.Transformation.repeated_categorical:type_name -> google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTablesInputs.Transformation.CategoricalArrayTransformation + 11, // 11: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTablesInputs.Transformation.repeated_text:type_name -> google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTablesInputs.Transformation.TextArrayTransformation + 12, // [12:12] is the sub-list for method output_type + 12, // [12:12] is the sub-list for method input_type + 12, // [12:12] is the sub-list for extension type_name + 12, // [12:12] is the sub-list for extension extendee + 0, // [0:12] is the sub-list for field type_name +} + +func init() { file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_tables_proto_init() } +func file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_tables_proto_init() { + if File_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_tables_proto != nil { + return + } + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_export_evaluated_data_items_config_proto_init() + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_tables_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AutoMlTables); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_tables_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AutoMlTablesInputs); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_tables_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AutoMlTablesMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_tables_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AutoMlTablesInputs_Transformation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_tables_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AutoMlTablesInputs_Transformation_AutoTransformation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_tables_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AutoMlTablesInputs_Transformation_NumericTransformation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_tables_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AutoMlTablesInputs_Transformation_CategoricalTransformation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_tables_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AutoMlTablesInputs_Transformation_TimestampTransformation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_tables_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AutoMlTablesInputs_Transformation_TextTransformation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_tables_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AutoMlTablesInputs_Transformation_NumericArrayTransformation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_tables_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AutoMlTablesInputs_Transformation_CategoricalArrayTransformation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_tables_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AutoMlTablesInputs_Transformation_TextArrayTransformation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_tables_proto_msgTypes[1].OneofWrappers = []interface{}{ + (*AutoMlTablesInputs_OptimizationObjectiveRecallValue)(nil), + (*AutoMlTablesInputs_OptimizationObjectivePrecisionValue)(nil), + } + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_tables_proto_msgTypes[3].OneofWrappers = []interface{}{ + (*AutoMlTablesInputs_Transformation_Auto)(nil), + (*AutoMlTablesInputs_Transformation_Numeric)(nil), + (*AutoMlTablesInputs_Transformation_Categorical)(nil), + (*AutoMlTablesInputs_Transformation_Timestamp)(nil), + (*AutoMlTablesInputs_Transformation_Text)(nil), + (*AutoMlTablesInputs_Transformation_RepeatedNumeric)(nil), + (*AutoMlTablesInputs_Transformation_RepeatedCategorical)(nil), + (*AutoMlTablesInputs_Transformation_RepeatedText)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_tables_proto_rawDesc, + NumEnums: 0, + NumMessages: 12, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_tables_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_tables_proto_depIdxs, + MessageInfos: file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_tables_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_tables_proto = out.File + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_tables_proto_rawDesc = nil + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_tables_proto_goTypes = nil + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_tables_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1/schema/trainingjob/definition/automl_text_classification.pb.go b/googleapis/cloud/aiplatform/v1/schema/trainingjob/definition/automl_text_classification.pb.go new file mode 100644 index 000000000..de82160c9 --- /dev/null +++ b/googleapis/cloud/aiplatform/v1/schema/trainingjob/definition/automl_text_classification.pb.go @@ -0,0 +1,260 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.25.0-devel +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_text_classification.proto + +package definition + +import ( + reflect "reflect" + sync "sync" + + proto "github.com/golang/protobuf/proto" + _ "google.golang.org/genproto/googleapis/api/annotations" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 + +// A TrainingJob that trains and uploads an AutoML Text Classification Model. +type AutoMlTextClassification struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The input parameters of this TrainingJob. + Inputs *AutoMlTextClassificationInputs `protobuf:"bytes,1,opt,name=inputs,proto3" json:"inputs,omitempty"` +} + +func (x *AutoMlTextClassification) Reset() { + *x = AutoMlTextClassification{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_classification_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AutoMlTextClassification) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AutoMlTextClassification) ProtoMessage() {} + +func (x *AutoMlTextClassification) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_classification_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AutoMlTextClassification.ProtoReflect.Descriptor instead. +func (*AutoMlTextClassification) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_classification_proto_rawDescGZIP(), []int{0} +} + +func (x *AutoMlTextClassification) GetInputs() *AutoMlTextClassificationInputs { + if x != nil { + return x.Inputs + } + return nil +} + +type AutoMlTextClassificationInputs struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + MultiLabel bool `protobuf:"varint,1,opt,name=multi_label,json=multiLabel,proto3" json:"multi_label,omitempty"` +} + +func (x *AutoMlTextClassificationInputs) Reset() { + *x = AutoMlTextClassificationInputs{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_classification_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AutoMlTextClassificationInputs) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AutoMlTextClassificationInputs) ProtoMessage() {} + +func (x *AutoMlTextClassificationInputs) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_classification_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AutoMlTextClassificationInputs.ProtoReflect.Descriptor instead. +func (*AutoMlTextClassificationInputs) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_classification_proto_rawDescGZIP(), []int{1} +} + +func (x *AutoMlTextClassificationInputs) GetMultiLabel() bool { + if x != nil { + return x.MultiLabel + } + return false +} + +var File_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_classification_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_classification_proto_rawDesc = []byte{ + 0x0a, 0x59, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, + 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x2f, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2f, + 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x6d, + 0x6c, 0x5f, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x38, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, + 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x74, + 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2e, 0x64, 0x65, 0x66, 0x69, 0x6e, + 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, + 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x8c, 0x01, 0x0a, 0x18, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x6c, 0x54, 0x65, + 0x78, 0x74, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x12, 0x70, 0x0a, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x58, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, + 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, + 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, + 0x2e, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x75, 0x74, 0x6f, + 0x4d, 0x6c, 0x54, 0x65, 0x78, 0x74, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x52, 0x06, 0x69, 0x6e, 0x70, 0x75, + 0x74, 0x73, 0x22, 0x41, 0x0a, 0x1e, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x6c, 0x54, 0x65, 0x78, 0x74, + 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, + 0x70, 0x75, 0x74, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x5f, 0x6c, 0x61, + 0x62, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x6d, 0x75, 0x6c, 0x74, 0x69, + 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x42, 0xc3, 0x01, 0x0a, 0x3c, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, + 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, + 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2e, 0x64, 0x65, 0x66, 0x69, + 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x1d, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x4c, 0x54, 0x65, + 0x78, 0x74, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x62, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, + 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, + 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, + 0x3b, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_classification_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_classification_proto_rawDescData = file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_classification_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_classification_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_classification_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_classification_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_classification_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_classification_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_classification_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_classification_proto_goTypes = []interface{}{ + (*AutoMlTextClassification)(nil), // 0: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTextClassification + (*AutoMlTextClassificationInputs)(nil), // 1: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTextClassificationInputs +} +var file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_classification_proto_depIdxs = []int32{ + 1, // 0: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTextClassification.inputs:type_name -> google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTextClassificationInputs + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_classification_proto_init() +} +func file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_classification_proto_init() { + if File_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_classification_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_classification_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AutoMlTextClassification); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_classification_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AutoMlTextClassificationInputs); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_classification_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_classification_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_classification_proto_depIdxs, + MessageInfos: file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_classification_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_classification_proto = out.File + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_classification_proto_rawDesc = nil + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_classification_proto_goTypes = nil + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_classification_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1/schema/trainingjob/definition/automl_text_extraction.pb.go b/googleapis/cloud/aiplatform/v1/schema/trainingjob/definition/automl_text_extraction.pb.go new file mode 100644 index 000000000..f9b4d023d --- /dev/null +++ b/googleapis/cloud/aiplatform/v1/schema/trainingjob/definition/automl_text_extraction.pb.go @@ -0,0 +1,247 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.25.0-devel +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_text_extraction.proto + +package definition + +import ( + reflect "reflect" + sync "sync" + + proto "github.com/golang/protobuf/proto" + _ "google.golang.org/genproto/googleapis/api/annotations" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 + +// A TrainingJob that trains and uploads an AutoML Text Extraction Model. +type AutoMlTextExtraction struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The input parameters of this TrainingJob. + Inputs *AutoMlTextExtractionInputs `protobuf:"bytes,1,opt,name=inputs,proto3" json:"inputs,omitempty"` +} + +func (x *AutoMlTextExtraction) Reset() { + *x = AutoMlTextExtraction{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_extraction_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AutoMlTextExtraction) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AutoMlTextExtraction) ProtoMessage() {} + +func (x *AutoMlTextExtraction) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_extraction_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AutoMlTextExtraction.ProtoReflect.Descriptor instead. +func (*AutoMlTextExtraction) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_extraction_proto_rawDescGZIP(), []int{0} +} + +func (x *AutoMlTextExtraction) GetInputs() *AutoMlTextExtractionInputs { + if x != nil { + return x.Inputs + } + return nil +} + +type AutoMlTextExtractionInputs struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *AutoMlTextExtractionInputs) Reset() { + *x = AutoMlTextExtractionInputs{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_extraction_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AutoMlTextExtractionInputs) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AutoMlTextExtractionInputs) ProtoMessage() {} + +func (x *AutoMlTextExtractionInputs) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_extraction_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AutoMlTextExtractionInputs.ProtoReflect.Descriptor instead. +func (*AutoMlTextExtractionInputs) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_extraction_proto_rawDescGZIP(), []int{1} +} + +var File_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_extraction_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_extraction_proto_rawDesc = []byte{ + 0x0a, 0x55, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, + 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x2f, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2f, + 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x6d, + 0x6c, 0x5f, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x38, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, + 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x74, 0x72, 0x61, 0x69, 0x6e, + 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2e, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, + 0x6e, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, + 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x84, 0x01, 0x0a, 0x14, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x6c, 0x54, 0x65, 0x78, 0x74, 0x45, 0x78, + 0x74, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x6c, 0x0a, 0x06, 0x69, 0x6e, 0x70, 0x75, + 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x54, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, + 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x74, 0x72, 0x61, + 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2e, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, + 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x6c, 0x54, 0x65, 0x78, 0x74, 0x45, 0x78, + 0x74, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x52, 0x06, + 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x22, 0x1c, 0x0a, 0x1a, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x6c, + 0x54, 0x65, 0x78, 0x74, 0x45, 0x78, 0x74, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, + 0x70, 0x75, 0x74, 0x73, 0x42, 0xbf, 0x01, 0x0a, 0x3c, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, + 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x74, + 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2e, 0x64, 0x65, 0x66, 0x69, 0x6e, + 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x19, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x4c, 0x54, 0x65, 0x78, + 0x74, 0x45, 0x78, 0x74, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, + 0x50, 0x01, 0x5a, 0x62, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, + 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, + 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, + 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, + 0x2f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x3b, 0x64, 0x65, 0x66, 0x69, + 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_extraction_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_extraction_proto_rawDescData = file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_extraction_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_extraction_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_extraction_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_extraction_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_extraction_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_extraction_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_extraction_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_extraction_proto_goTypes = []interface{}{ + (*AutoMlTextExtraction)(nil), // 0: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTextExtraction + (*AutoMlTextExtractionInputs)(nil), // 1: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTextExtractionInputs +} +var file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_extraction_proto_depIdxs = []int32{ + 1, // 0: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTextExtraction.inputs:type_name -> google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTextExtractionInputs + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_extraction_proto_init() +} +func file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_extraction_proto_init() { + if File_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_extraction_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_extraction_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AutoMlTextExtraction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_extraction_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AutoMlTextExtractionInputs); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_extraction_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_extraction_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_extraction_proto_depIdxs, + MessageInfos: file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_extraction_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_extraction_proto = out.File + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_extraction_proto_rawDesc = nil + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_extraction_proto_goTypes = nil + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_extraction_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1/schema/trainingjob/definition/automl_text_sentiment.pb.go b/googleapis/cloud/aiplatform/v1/schema/trainingjob/definition/automl_text_sentiment.pb.go new file mode 100644 index 000000000..11927d52b --- /dev/null +++ b/googleapis/cloud/aiplatform/v1/schema/trainingjob/definition/automl_text_sentiment.pb.go @@ -0,0 +1,265 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.25.0-devel +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_text_sentiment.proto + +package definition + +import ( + reflect "reflect" + sync "sync" + + proto "github.com/golang/protobuf/proto" + _ "google.golang.org/genproto/googleapis/api/annotations" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 + +// A TrainingJob that trains and uploads an AutoML Text Sentiment Model. +type AutoMlTextSentiment struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The input parameters of this TrainingJob. + Inputs *AutoMlTextSentimentInputs `protobuf:"bytes,1,opt,name=inputs,proto3" json:"inputs,omitempty"` +} + +func (x *AutoMlTextSentiment) Reset() { + *x = AutoMlTextSentiment{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_sentiment_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AutoMlTextSentiment) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AutoMlTextSentiment) ProtoMessage() {} + +func (x *AutoMlTextSentiment) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_sentiment_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AutoMlTextSentiment.ProtoReflect.Descriptor instead. +func (*AutoMlTextSentiment) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_sentiment_proto_rawDescGZIP(), []int{0} +} + +func (x *AutoMlTextSentiment) GetInputs() *AutoMlTextSentimentInputs { + if x != nil { + return x.Inputs + } + return nil +} + +type AutoMlTextSentimentInputs struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // A sentiment is expressed as an integer ordinal, where higher value + // means a more positive sentiment. The range of sentiments that will be used + // is between 0 and sentimentMax (inclusive on both ends), and all the values + // in the range must be represented in the dataset before a model can be + // created. + // Only the Annotations with this sentimentMax will be used for training. + // sentimentMax value must be between 1 and 10 (inclusive). + SentimentMax int32 `protobuf:"varint,1,opt,name=sentiment_max,json=sentimentMax,proto3" json:"sentiment_max,omitempty"` +} + +func (x *AutoMlTextSentimentInputs) Reset() { + *x = AutoMlTextSentimentInputs{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_sentiment_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AutoMlTextSentimentInputs) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AutoMlTextSentimentInputs) ProtoMessage() {} + +func (x *AutoMlTextSentimentInputs) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_sentiment_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AutoMlTextSentimentInputs.ProtoReflect.Descriptor instead. +func (*AutoMlTextSentimentInputs) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_sentiment_proto_rawDescGZIP(), []int{1} +} + +func (x *AutoMlTextSentimentInputs) GetSentimentMax() int32 { + if x != nil { + return x.SentimentMax + } + return 0 +} + +var File_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_sentiment_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_sentiment_proto_rawDesc = []byte{ + 0x0a, 0x54, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, + 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x2f, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2f, + 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x6d, + 0x6c, 0x5f, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x73, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x38, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, + 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, + 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2e, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, + 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, + 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x82, + 0x01, 0x0a, 0x13, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x6c, 0x54, 0x65, 0x78, 0x74, 0x53, 0x65, 0x6e, + 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x6b, 0x0a, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x53, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, + 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x74, 0x72, 0x61, 0x69, 0x6e, + 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2e, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, + 0x6e, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x6c, 0x54, 0x65, 0x78, 0x74, 0x53, 0x65, 0x6e, 0x74, + 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x52, 0x06, 0x69, 0x6e, 0x70, + 0x75, 0x74, 0x73, 0x22, 0x40, 0x0a, 0x19, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x6c, 0x54, 0x65, 0x78, + 0x74, 0x53, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x73, + 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x6d, 0x61, + 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x73, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, + 0x6e, 0x74, 0x4d, 0x61, 0x78, 0x42, 0xbe, 0x01, 0x0a, 0x3c, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, + 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, + 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2e, 0x64, 0x65, 0x66, 0x69, + 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x18, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x4c, 0x54, 0x65, + 0x78, 0x74, 0x53, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, + 0x50, 0x01, 0x5a, 0x62, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, + 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, + 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, + 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, + 0x2f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x3b, 0x64, 0x65, 0x66, 0x69, + 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_sentiment_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_sentiment_proto_rawDescData = file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_sentiment_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_sentiment_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_sentiment_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_sentiment_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_sentiment_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_sentiment_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_sentiment_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_sentiment_proto_goTypes = []interface{}{ + (*AutoMlTextSentiment)(nil), // 0: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTextSentiment + (*AutoMlTextSentimentInputs)(nil), // 1: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTextSentimentInputs +} +var file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_sentiment_proto_depIdxs = []int32{ + 1, // 0: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTextSentiment.inputs:type_name -> google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTextSentimentInputs + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_sentiment_proto_init() +} +func file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_sentiment_proto_init() { + if File_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_sentiment_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_sentiment_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AutoMlTextSentiment); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_sentiment_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AutoMlTextSentimentInputs); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_sentiment_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_sentiment_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_sentiment_proto_depIdxs, + MessageInfos: file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_sentiment_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_sentiment_proto = out.File + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_sentiment_proto_rawDesc = nil + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_sentiment_proto_goTypes = nil + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_text_sentiment_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1/schema/trainingjob/definition/automl_time_series_forecasting.pb.go b/googleapis/cloud/aiplatform/v1/schema/trainingjob/definition/automl_time_series_forecasting.pb.go new file mode 100644 index 000000000..3862981d1 --- /dev/null +++ b/googleapis/cloud/aiplatform/v1/schema/trainingjob/definition/automl_time_series_forecasting.pb.go @@ -0,0 +1,1631 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.25.0-devel +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_time_series_forecasting.proto + +package definition + +import ( + reflect "reflect" + sync "sync" + + proto "github.com/golang/protobuf/proto" + _ "google.golang.org/genproto/googleapis/api/annotations" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 + +// A TrainingJob that trains and uploads an AutoML Forecasting Model. +type AutoMlForecasting struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The input parameters of this TrainingJob. + Inputs *AutoMlForecastingInputs `protobuf:"bytes,1,opt,name=inputs,proto3" json:"inputs,omitempty"` + // The metadata information. + Metadata *AutoMlForecastingMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` +} + +func (x *AutoMlForecasting) Reset() { + *x = AutoMlForecasting{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_time_series_forecasting_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AutoMlForecasting) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AutoMlForecasting) ProtoMessage() {} + +func (x *AutoMlForecasting) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_time_series_forecasting_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AutoMlForecasting.ProtoReflect.Descriptor instead. +func (*AutoMlForecasting) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_time_series_forecasting_proto_rawDescGZIP(), []int{0} +} + +func (x *AutoMlForecasting) GetInputs() *AutoMlForecastingInputs { + if x != nil { + return x.Inputs + } + return nil +} + +func (x *AutoMlForecasting) GetMetadata() *AutoMlForecastingMetadata { + if x != nil { + return x.Metadata + } + return nil +} + +type AutoMlForecastingInputs struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The name of the column that the model is to predict. + TargetColumn string `protobuf:"bytes,1,opt,name=target_column,json=targetColumn,proto3" json:"target_column,omitempty"` + // The name of the column that identifies the time series. + TimeSeriesIdentifierColumn string `protobuf:"bytes,2,opt,name=time_series_identifier_column,json=timeSeriesIdentifierColumn,proto3" json:"time_series_identifier_column,omitempty"` + // The name of the column that identifies time order in the time series. + TimeColumn string `protobuf:"bytes,3,opt,name=time_column,json=timeColumn,proto3" json:"time_column,omitempty"` + // Each transformation will apply transform function to given input column. + // And the result will be used for training. + // When creating transformation for BigQuery Struct column, the column should + // be flattened using "." as the delimiter. + Transformations []*AutoMlForecastingInputs_Transformation `protobuf:"bytes,4,rep,name=transformations,proto3" json:"transformations,omitempty"` + // Objective function the model is optimizing towards. The training process + // creates a model that optimizes the value of the objective + // function over the validation set. + // + // The supported optimization objectives: + // "minimize-rmse" (default) - Minimize root-mean-squared error (RMSE). + // "minimize-mae" - Minimize mean-absolute error (MAE). + // "minimize-rmsle" - Minimize root-mean-squared log error (RMSLE). + // "minimize-rmspe" - Minimize root-mean-squared percentage error (RMSPE). + // "minimize-wape-mae" - Minimize the combination of weighted absolute + // percentage error (WAPE) and mean-absolute-error (MAE). + // "minimize-quantile-loss" - Minimize the quantile loss at the quantiles + // defined in `quantiles`. + OptimizationObjective string `protobuf:"bytes,5,opt,name=optimization_objective,json=optimizationObjective,proto3" json:"optimization_objective,omitempty"` + // Required. The train budget of creating this model, expressed in milli node + // hours i.e. 1,000 value in this field means 1 node hour. + // + // The training cost of the model will not exceed this budget. The final cost + // will be attempted to be close to the budget, though may end up being (even) + // noticeably smaller - at the backend's discretion. This especially may + // happen when further model training ceases to provide any improvements. + // + // If the budget is set to a value known to be insufficient to train a + // model for the given dataset, the training won't be attempted and + // will error. + // + // The train budget must be between 1,000 and 72,000 milli node hours, + // inclusive. + TrainBudgetMilliNodeHours int64 `protobuf:"varint,6,opt,name=train_budget_milli_node_hours,json=trainBudgetMilliNodeHours,proto3" json:"train_budget_milli_node_hours,omitempty"` + // Column name that should be used as the weight column. + // Higher values in this column give more importance to the row + // during model training. The column must have numeric values between 0 and + // 10000 inclusively; 0 means the row is ignored for training. If weight + // column field is not set, then all rows are assumed to have equal weight + // of 1. + WeightColumn string `protobuf:"bytes,7,opt,name=weight_column,json=weightColumn,proto3" json:"weight_column,omitempty"` + // Column names that should be used as static columns. + // The value of these columns are static per time series. + StaticColumns []string `protobuf:"bytes,8,rep,name=static_columns,json=staticColumns,proto3" json:"static_columns,omitempty"` + // Column names that should be used as time variant past only columns. + // This column contains information for the given entity (identified by the + // time_series_identifier_column) that is known for the past but not the + // future (e.g. population of a city in a given year, or weather on a given + // day). + TimeVariantPastOnlyColumns []string `protobuf:"bytes,9,rep,name=time_variant_past_only_columns,json=timeVariantPastOnlyColumns,proto3" json:"time_variant_past_only_columns,omitempty"` + // Column names that should be used as time variant past and future columns. + // This column contains information for the given entity (identified by the + // key column) that is known for the past and the future + TimeVariantPastAndFutureColumns []string `protobuf:"bytes,10,rep,name=time_variant_past_and_future_columns,json=timeVariantPastAndFutureColumns,proto3" json:"time_variant_past_and_future_columns,omitempty"` + // Expected difference in time granularity between rows in the data. If it is + // not set, the period is inferred from data. + Period *AutoMlForecastingInputs_Period `protobuf:"bytes,11,opt,name=period,proto3" json:"period,omitempty"` + // The number of periods offset into the future as the start of the forecast + // window (the window of future values to predict, relative to the present.), + // where each period is one unit of granularity as defined by the `period` + // field above. Default to 0. Inclusive. + ForecastWindowStart int64 `protobuf:"varint,12,opt,name=forecast_window_start,json=forecastWindowStart,proto3" json:"forecast_window_start,omitempty"` + // The number of periods offset into the future as the end of the forecast + // window (the window of future values to predict, relative to the present.), + // where each period is one unit of granularity as defined by the `period` + // field above. Inclusive. + ForecastWindowEnd int64 `protobuf:"varint,13,opt,name=forecast_window_end,json=forecastWindowEnd,proto3" json:"forecast_window_end,omitempty"` + // The number of periods offset into the past to restrict past sequence, where + // each period is one unit of granularity as defined by the `period`. Default + // value 0 means that it lets algorithm to define the value. Inclusive. + PastHorizon int64 `protobuf:"varint,14,opt,name=past_horizon,json=pastHorizon,proto3" json:"past_horizon,omitempty"` + // Configuration for exporting test set predictions to a BigQuery table. If + // this configuration is absent, then the export is not performed. + ExportEvaluatedDataItemsConfig *ExportEvaluatedDataItemsConfig `protobuf:"bytes,15,opt,name=export_evaluated_data_items_config,json=exportEvaluatedDataItemsConfig,proto3" json:"export_evaluated_data_items_config,omitempty"` + // Quantiles to use for minimize-quantile-loss `optimization_objective`. Up to + // 5 quantiles are allowed of values between 0 and 1, exclusive. Required if + // the value of optimization_objective is minimize-quantile-loss. Represents + // the percent quantiles to use for that objective. Quantiles must be unique. + Quantiles []float64 `protobuf:"fixed64,16,rep,packed,name=quantiles,proto3" json:"quantiles,omitempty"` + // Validation options for the data validation component. The available options + // are: + // "fail-pipeline" - default, will validate against the validation and + // fail the pipeline if it fails. + // "ignore-validation" - ignore the results of the validation and continue + ValidationOptions string `protobuf:"bytes,17,opt,name=validation_options,json=validationOptions,proto3" json:"validation_options,omitempty"` +} + +func (x *AutoMlForecastingInputs) Reset() { + *x = AutoMlForecastingInputs{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_time_series_forecasting_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AutoMlForecastingInputs) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AutoMlForecastingInputs) ProtoMessage() {} + +func (x *AutoMlForecastingInputs) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_time_series_forecasting_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AutoMlForecastingInputs.ProtoReflect.Descriptor instead. +func (*AutoMlForecastingInputs) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_time_series_forecasting_proto_rawDescGZIP(), []int{1} +} + +func (x *AutoMlForecastingInputs) GetTargetColumn() string { + if x != nil { + return x.TargetColumn + } + return "" +} + +func (x *AutoMlForecastingInputs) GetTimeSeriesIdentifierColumn() string { + if x != nil { + return x.TimeSeriesIdentifierColumn + } + return "" +} + +func (x *AutoMlForecastingInputs) GetTimeColumn() string { + if x != nil { + return x.TimeColumn + } + return "" +} + +func (x *AutoMlForecastingInputs) GetTransformations() []*AutoMlForecastingInputs_Transformation { + if x != nil { + return x.Transformations + } + return nil +} + +func (x *AutoMlForecastingInputs) GetOptimizationObjective() string { + if x != nil { + return x.OptimizationObjective + } + return "" +} + +func (x *AutoMlForecastingInputs) GetTrainBudgetMilliNodeHours() int64 { + if x != nil { + return x.TrainBudgetMilliNodeHours + } + return 0 +} + +func (x *AutoMlForecastingInputs) GetWeightColumn() string { + if x != nil { + return x.WeightColumn + } + return "" +} + +func (x *AutoMlForecastingInputs) GetStaticColumns() []string { + if x != nil { + return x.StaticColumns + } + return nil +} + +func (x *AutoMlForecastingInputs) GetTimeVariantPastOnlyColumns() []string { + if x != nil { + return x.TimeVariantPastOnlyColumns + } + return nil +} + +func (x *AutoMlForecastingInputs) GetTimeVariantPastAndFutureColumns() []string { + if x != nil { + return x.TimeVariantPastAndFutureColumns + } + return nil +} + +func (x *AutoMlForecastingInputs) GetPeriod() *AutoMlForecastingInputs_Period { + if x != nil { + return x.Period + } + return nil +} + +func (x *AutoMlForecastingInputs) GetForecastWindowStart() int64 { + if x != nil { + return x.ForecastWindowStart + } + return 0 +} + +func (x *AutoMlForecastingInputs) GetForecastWindowEnd() int64 { + if x != nil { + return x.ForecastWindowEnd + } + return 0 +} + +func (x *AutoMlForecastingInputs) GetPastHorizon() int64 { + if x != nil { + return x.PastHorizon + } + return 0 +} + +func (x *AutoMlForecastingInputs) GetExportEvaluatedDataItemsConfig() *ExportEvaluatedDataItemsConfig { + if x != nil { + return x.ExportEvaluatedDataItemsConfig + } + return nil +} + +func (x *AutoMlForecastingInputs) GetQuantiles() []float64 { + if x != nil { + return x.Quantiles + } + return nil +} + +func (x *AutoMlForecastingInputs) GetValidationOptions() string { + if x != nil { + return x.ValidationOptions + } + return "" +} + +// Model metadata specific to AutoML Forecasting. +type AutoMlForecastingMetadata struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Output only. The actual training cost of the model, expressed in milli + // node hours, i.e. 1,000 value in this field means 1 node hour. Guaranteed + // to not exceed the train budget. + TrainCostMilliNodeHours int64 `protobuf:"varint,1,opt,name=train_cost_milli_node_hours,json=trainCostMilliNodeHours,proto3" json:"train_cost_milli_node_hours,omitempty"` +} + +func (x *AutoMlForecastingMetadata) Reset() { + *x = AutoMlForecastingMetadata{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_time_series_forecasting_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AutoMlForecastingMetadata) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AutoMlForecastingMetadata) ProtoMessage() {} + +func (x *AutoMlForecastingMetadata) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_time_series_forecasting_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AutoMlForecastingMetadata.ProtoReflect.Descriptor instead. +func (*AutoMlForecastingMetadata) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_time_series_forecasting_proto_rawDescGZIP(), []int{2} +} + +func (x *AutoMlForecastingMetadata) GetTrainCostMilliNodeHours() int64 { + if x != nil { + return x.TrainCostMilliNodeHours + } + return 0 +} + +type AutoMlForecastingInputs_Transformation struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The transformation that the training pipeline will apply to the input + // columns. + // + // Types that are assignable to TransformationDetail: + // *AutoMlForecastingInputs_Transformation_Auto + // *AutoMlForecastingInputs_Transformation_Numeric + // *AutoMlForecastingInputs_Transformation_Categorical + // *AutoMlForecastingInputs_Transformation_Timestamp + // *AutoMlForecastingInputs_Transformation_Text + // *AutoMlForecastingInputs_Transformation_RepeatedNumeric + // *AutoMlForecastingInputs_Transformation_RepeatedCategorical + // *AutoMlForecastingInputs_Transformation_RepeatedText + TransformationDetail isAutoMlForecastingInputs_Transformation_TransformationDetail `protobuf_oneof:"transformation_detail"` +} + +func (x *AutoMlForecastingInputs_Transformation) Reset() { + *x = AutoMlForecastingInputs_Transformation{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_time_series_forecasting_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AutoMlForecastingInputs_Transformation) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AutoMlForecastingInputs_Transformation) ProtoMessage() {} + +func (x *AutoMlForecastingInputs_Transformation) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_time_series_forecasting_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AutoMlForecastingInputs_Transformation.ProtoReflect.Descriptor instead. +func (*AutoMlForecastingInputs_Transformation) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_time_series_forecasting_proto_rawDescGZIP(), []int{1, 0} +} + +func (m *AutoMlForecastingInputs_Transformation) GetTransformationDetail() isAutoMlForecastingInputs_Transformation_TransformationDetail { + if m != nil { + return m.TransformationDetail + } + return nil +} + +func (x *AutoMlForecastingInputs_Transformation) GetAuto() *AutoMlForecastingInputs_Transformation_AutoTransformation { + if x, ok := x.GetTransformationDetail().(*AutoMlForecastingInputs_Transformation_Auto); ok { + return x.Auto + } + return nil +} + +func (x *AutoMlForecastingInputs_Transformation) GetNumeric() *AutoMlForecastingInputs_Transformation_NumericTransformation { + if x, ok := x.GetTransformationDetail().(*AutoMlForecastingInputs_Transformation_Numeric); ok { + return x.Numeric + } + return nil +} + +func (x *AutoMlForecastingInputs_Transformation) GetCategorical() *AutoMlForecastingInputs_Transformation_CategoricalTransformation { + if x, ok := x.GetTransformationDetail().(*AutoMlForecastingInputs_Transformation_Categorical); ok { + return x.Categorical + } + return nil +} + +func (x *AutoMlForecastingInputs_Transformation) GetTimestamp() *AutoMlForecastingInputs_Transformation_TimestampTransformation { + if x, ok := x.GetTransformationDetail().(*AutoMlForecastingInputs_Transformation_Timestamp); ok { + return x.Timestamp + } + return nil +} + +func (x *AutoMlForecastingInputs_Transformation) GetText() *AutoMlForecastingInputs_Transformation_TextTransformation { + if x, ok := x.GetTransformationDetail().(*AutoMlForecastingInputs_Transformation_Text); ok { + return x.Text + } + return nil +} + +func (x *AutoMlForecastingInputs_Transformation) GetRepeatedNumeric() *AutoMlForecastingInputs_Transformation_NumericArrayTransformation { + if x, ok := x.GetTransformationDetail().(*AutoMlForecastingInputs_Transformation_RepeatedNumeric); ok { + return x.RepeatedNumeric + } + return nil +} + +func (x *AutoMlForecastingInputs_Transformation) GetRepeatedCategorical() *AutoMlForecastingInputs_Transformation_CategoricalArrayTransformation { + if x, ok := x.GetTransformationDetail().(*AutoMlForecastingInputs_Transformation_RepeatedCategorical); ok { + return x.RepeatedCategorical + } + return nil +} + +func (x *AutoMlForecastingInputs_Transformation) GetRepeatedText() *AutoMlForecastingInputs_Transformation_TextArrayTransformation { + if x, ok := x.GetTransformationDetail().(*AutoMlForecastingInputs_Transformation_RepeatedText); ok { + return x.RepeatedText + } + return nil +} + +type isAutoMlForecastingInputs_Transformation_TransformationDetail interface { + isAutoMlForecastingInputs_Transformation_TransformationDetail() +} + +type AutoMlForecastingInputs_Transformation_Auto struct { + Auto *AutoMlForecastingInputs_Transformation_AutoTransformation `protobuf:"bytes,1,opt,name=auto,proto3,oneof"` +} + +type AutoMlForecastingInputs_Transformation_Numeric struct { + Numeric *AutoMlForecastingInputs_Transformation_NumericTransformation `protobuf:"bytes,2,opt,name=numeric,proto3,oneof"` +} + +type AutoMlForecastingInputs_Transformation_Categorical struct { + Categorical *AutoMlForecastingInputs_Transformation_CategoricalTransformation `protobuf:"bytes,3,opt,name=categorical,proto3,oneof"` +} + +type AutoMlForecastingInputs_Transformation_Timestamp struct { + Timestamp *AutoMlForecastingInputs_Transformation_TimestampTransformation `protobuf:"bytes,4,opt,name=timestamp,proto3,oneof"` +} + +type AutoMlForecastingInputs_Transformation_Text struct { + Text *AutoMlForecastingInputs_Transformation_TextTransformation `protobuf:"bytes,5,opt,name=text,proto3,oneof"` +} + +type AutoMlForecastingInputs_Transformation_RepeatedNumeric struct { + RepeatedNumeric *AutoMlForecastingInputs_Transformation_NumericArrayTransformation `protobuf:"bytes,6,opt,name=repeated_numeric,json=repeatedNumeric,proto3,oneof"` +} + +type AutoMlForecastingInputs_Transformation_RepeatedCategorical struct { + RepeatedCategorical *AutoMlForecastingInputs_Transformation_CategoricalArrayTransformation `protobuf:"bytes,7,opt,name=repeated_categorical,json=repeatedCategorical,proto3,oneof"` +} + +type AutoMlForecastingInputs_Transformation_RepeatedText struct { + RepeatedText *AutoMlForecastingInputs_Transformation_TextArrayTransformation `protobuf:"bytes,8,opt,name=repeated_text,json=repeatedText,proto3,oneof"` +} + +func (*AutoMlForecastingInputs_Transformation_Auto) isAutoMlForecastingInputs_Transformation_TransformationDetail() { +} + +func (*AutoMlForecastingInputs_Transformation_Numeric) isAutoMlForecastingInputs_Transformation_TransformationDetail() { +} + +func (*AutoMlForecastingInputs_Transformation_Categorical) isAutoMlForecastingInputs_Transformation_TransformationDetail() { +} + +func (*AutoMlForecastingInputs_Transformation_Timestamp) isAutoMlForecastingInputs_Transformation_TransformationDetail() { +} + +func (*AutoMlForecastingInputs_Transformation_Text) isAutoMlForecastingInputs_Transformation_TransformationDetail() { +} + +func (*AutoMlForecastingInputs_Transformation_RepeatedNumeric) isAutoMlForecastingInputs_Transformation_TransformationDetail() { +} + +func (*AutoMlForecastingInputs_Transformation_RepeatedCategorical) isAutoMlForecastingInputs_Transformation_TransformationDetail() { +} + +func (*AutoMlForecastingInputs_Transformation_RepeatedText) isAutoMlForecastingInputs_Transformation_TransformationDetail() { +} + +// A duration of time expressed in time granularity units. +type AutoMlForecastingInputs_Period struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The time granularity unit of this time period. + // The supported unit are: + // "minute" + // "hour" + // "day" + // "week" + // "month" + // "year" + Unit string `protobuf:"bytes,1,opt,name=unit,proto3" json:"unit,omitempty"` + // The number of units per period, e.g. 3 weeks or 2 months. + Quantity int64 `protobuf:"varint,2,opt,name=quantity,proto3" json:"quantity,omitempty"` +} + +func (x *AutoMlForecastingInputs_Period) Reset() { + *x = AutoMlForecastingInputs_Period{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_time_series_forecasting_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AutoMlForecastingInputs_Period) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AutoMlForecastingInputs_Period) ProtoMessage() {} + +func (x *AutoMlForecastingInputs_Period) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_time_series_forecasting_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AutoMlForecastingInputs_Period.ProtoReflect.Descriptor instead. +func (*AutoMlForecastingInputs_Period) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_time_series_forecasting_proto_rawDescGZIP(), []int{1, 1} +} + +func (x *AutoMlForecastingInputs_Period) GetUnit() string { + if x != nil { + return x.Unit + } + return "" +} + +func (x *AutoMlForecastingInputs_Period) GetQuantity() int64 { + if x != nil { + return x.Quantity + } + return 0 +} + +// Training pipeline will infer the proper transformation based on the +// statistic of dataset. +type AutoMlForecastingInputs_Transformation_AutoTransformation struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ColumnName string `protobuf:"bytes,1,opt,name=column_name,json=columnName,proto3" json:"column_name,omitempty"` +} + +func (x *AutoMlForecastingInputs_Transformation_AutoTransformation) Reset() { + *x = AutoMlForecastingInputs_Transformation_AutoTransformation{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_time_series_forecasting_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AutoMlForecastingInputs_Transformation_AutoTransformation) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AutoMlForecastingInputs_Transformation_AutoTransformation) ProtoMessage() {} + +func (x *AutoMlForecastingInputs_Transformation_AutoTransformation) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_time_series_forecasting_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AutoMlForecastingInputs_Transformation_AutoTransformation.ProtoReflect.Descriptor instead. +func (*AutoMlForecastingInputs_Transformation_AutoTransformation) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_time_series_forecasting_proto_rawDescGZIP(), []int{1, 0, 0} +} + +func (x *AutoMlForecastingInputs_Transformation_AutoTransformation) GetColumnName() string { + if x != nil { + return x.ColumnName + } + return "" +} + +// Training pipeline will perform following transformation functions. +// * The value converted to float32. +// * The z_score of the value. +// * log(value+1) when the value is greater than or equal to 0. Otherwise, +// this transformation is not applied and the value is considered a +// missing value. +// * z_score of log(value+1) when the value is greater than or equal to 0. +// Otherwise, this transformation is not applied and the value is +// considered a missing value. +// * A boolean value that indicates whether the value is valid. +type AutoMlForecastingInputs_Transformation_NumericTransformation struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ColumnName string `protobuf:"bytes,1,opt,name=column_name,json=columnName,proto3" json:"column_name,omitempty"` + // If invalid values is allowed, the training pipeline will create a + // boolean feature that indicated whether the value is valid. + // Otherwise, the training pipeline will discard the input row from + // trainining data. + InvalidValuesAllowed bool `protobuf:"varint,2,opt,name=invalid_values_allowed,json=invalidValuesAllowed,proto3" json:"invalid_values_allowed,omitempty"` +} + +func (x *AutoMlForecastingInputs_Transformation_NumericTransformation) Reset() { + *x = AutoMlForecastingInputs_Transformation_NumericTransformation{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_time_series_forecasting_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AutoMlForecastingInputs_Transformation_NumericTransformation) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AutoMlForecastingInputs_Transformation_NumericTransformation) ProtoMessage() {} + +func (x *AutoMlForecastingInputs_Transformation_NumericTransformation) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_time_series_forecasting_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AutoMlForecastingInputs_Transformation_NumericTransformation.ProtoReflect.Descriptor instead. +func (*AutoMlForecastingInputs_Transformation_NumericTransformation) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_time_series_forecasting_proto_rawDescGZIP(), []int{1, 0, 1} +} + +func (x *AutoMlForecastingInputs_Transformation_NumericTransformation) GetColumnName() string { + if x != nil { + return x.ColumnName + } + return "" +} + +func (x *AutoMlForecastingInputs_Transformation_NumericTransformation) GetInvalidValuesAllowed() bool { + if x != nil { + return x.InvalidValuesAllowed + } + return false +} + +// Training pipeline will perform following transformation functions. +// * The categorical string as is--no change to case, punctuation, +// spelling, +// tense, and so on. +// * Convert the category name to a dictionary lookup index and generate an +// embedding for each index. +// * Categories that appear less than 5 times in the training dataset are +// treated as the "unknown" category. The "unknown" category gets its own +// special lookup index and resulting embedding. +type AutoMlForecastingInputs_Transformation_CategoricalTransformation struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ColumnName string `protobuf:"bytes,1,opt,name=column_name,json=columnName,proto3" json:"column_name,omitempty"` +} + +func (x *AutoMlForecastingInputs_Transformation_CategoricalTransformation) Reset() { + *x = AutoMlForecastingInputs_Transformation_CategoricalTransformation{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_time_series_forecasting_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AutoMlForecastingInputs_Transformation_CategoricalTransformation) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AutoMlForecastingInputs_Transformation_CategoricalTransformation) ProtoMessage() {} + +func (x *AutoMlForecastingInputs_Transformation_CategoricalTransformation) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_time_series_forecasting_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AutoMlForecastingInputs_Transformation_CategoricalTransformation.ProtoReflect.Descriptor instead. +func (*AutoMlForecastingInputs_Transformation_CategoricalTransformation) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_time_series_forecasting_proto_rawDescGZIP(), []int{1, 0, 2} +} + +func (x *AutoMlForecastingInputs_Transformation_CategoricalTransformation) GetColumnName() string { + if x != nil { + return x.ColumnName + } + return "" +} + +// Training pipeline will perform following transformation functions. +// * Apply the transformation functions for Numerical columns. +// * Determine the year, month, day,and weekday. Treat each value from the +// * timestamp as a Categorical column. +// * Invalid numerical values (for example, values that fall outside of a +// typical timestamp range, or are extreme values) receive no special +// treatment and are not removed. +type AutoMlForecastingInputs_Transformation_TimestampTransformation struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ColumnName string `protobuf:"bytes,1,opt,name=column_name,json=columnName,proto3" json:"column_name,omitempty"` + // The format in which that time field is expressed. The time_format must + // either be one of: + // * `unix-seconds` + // * `unix-milliseconds` + // * `unix-microseconds` + // * `unix-nanoseconds` + // (for respectively number of seconds, milliseconds, microseconds and + // nanoseconds since start of the Unix epoch); + // or be written in `strftime` syntax. If time_format is not set, then the + // default format is RFC 3339 `date-time` format, where + // `time-offset` = `"Z"` (e.g. 1985-04-12T23:20:50.52Z) + TimeFormat string `protobuf:"bytes,2,opt,name=time_format,json=timeFormat,proto3" json:"time_format,omitempty"` + // If invalid values is allowed, the training pipeline will create a + // boolean feature that indicated whether the value is valid. + // Otherwise, the training pipeline will discard the input row from + // trainining data. + InvalidValuesAllowed bool `protobuf:"varint,3,opt,name=invalid_values_allowed,json=invalidValuesAllowed,proto3" json:"invalid_values_allowed,omitempty"` +} + +func (x *AutoMlForecastingInputs_Transformation_TimestampTransformation) Reset() { + *x = AutoMlForecastingInputs_Transformation_TimestampTransformation{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_time_series_forecasting_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AutoMlForecastingInputs_Transformation_TimestampTransformation) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AutoMlForecastingInputs_Transformation_TimestampTransformation) ProtoMessage() {} + +func (x *AutoMlForecastingInputs_Transformation_TimestampTransformation) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_time_series_forecasting_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AutoMlForecastingInputs_Transformation_TimestampTransformation.ProtoReflect.Descriptor instead. +func (*AutoMlForecastingInputs_Transformation_TimestampTransformation) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_time_series_forecasting_proto_rawDescGZIP(), []int{1, 0, 3} +} + +func (x *AutoMlForecastingInputs_Transformation_TimestampTransformation) GetColumnName() string { + if x != nil { + return x.ColumnName + } + return "" +} + +func (x *AutoMlForecastingInputs_Transformation_TimestampTransformation) GetTimeFormat() string { + if x != nil { + return x.TimeFormat + } + return "" +} + +func (x *AutoMlForecastingInputs_Transformation_TimestampTransformation) GetInvalidValuesAllowed() bool { + if x != nil { + return x.InvalidValuesAllowed + } + return false +} + +// Training pipeline will perform following transformation functions. +// * The text as is--no change to case, punctuation, spelling, tense, and +// so +// on. +// * Tokenize text to words. Convert each words to a dictionary lookup +// index +// and generate an embedding for each index. Combine the embedding of all +// elements into a single embedding using the mean. +// * Tokenization is based on unicode script boundaries. +// * Missing values get their own lookup index and resulting embedding. +// * Stop-words receive no special treatment and are not removed. +type AutoMlForecastingInputs_Transformation_TextTransformation struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ColumnName string `protobuf:"bytes,1,opt,name=column_name,json=columnName,proto3" json:"column_name,omitempty"` +} + +func (x *AutoMlForecastingInputs_Transformation_TextTransformation) Reset() { + *x = AutoMlForecastingInputs_Transformation_TextTransformation{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_time_series_forecasting_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AutoMlForecastingInputs_Transformation_TextTransformation) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AutoMlForecastingInputs_Transformation_TextTransformation) ProtoMessage() {} + +func (x *AutoMlForecastingInputs_Transformation_TextTransformation) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_time_series_forecasting_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AutoMlForecastingInputs_Transformation_TextTransformation.ProtoReflect.Descriptor instead. +func (*AutoMlForecastingInputs_Transformation_TextTransformation) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_time_series_forecasting_proto_rawDescGZIP(), []int{1, 0, 4} +} + +func (x *AutoMlForecastingInputs_Transformation_TextTransformation) GetColumnName() string { + if x != nil { + return x.ColumnName + } + return "" +} + +// Treats the column as numerical array and performs following +// transformation functions. +// * All transformations for Numerical types applied to the average of the +// all elements. +// * The average of empty arrays is treated as zero. +type AutoMlForecastingInputs_Transformation_NumericArrayTransformation struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ColumnName string `protobuf:"bytes,1,opt,name=column_name,json=columnName,proto3" json:"column_name,omitempty"` + // If invalid values is allowed, the training pipeline will create a + // boolean feature that indicated whether the value is valid. + // Otherwise, the training pipeline will discard the input row from + // trainining data. + InvalidValuesAllowed bool `protobuf:"varint,2,opt,name=invalid_values_allowed,json=invalidValuesAllowed,proto3" json:"invalid_values_allowed,omitempty"` +} + +func (x *AutoMlForecastingInputs_Transformation_NumericArrayTransformation) Reset() { + *x = AutoMlForecastingInputs_Transformation_NumericArrayTransformation{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_time_series_forecasting_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AutoMlForecastingInputs_Transformation_NumericArrayTransformation) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AutoMlForecastingInputs_Transformation_NumericArrayTransformation) ProtoMessage() {} + +func (x *AutoMlForecastingInputs_Transformation_NumericArrayTransformation) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_time_series_forecasting_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AutoMlForecastingInputs_Transformation_NumericArrayTransformation.ProtoReflect.Descriptor instead. +func (*AutoMlForecastingInputs_Transformation_NumericArrayTransformation) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_time_series_forecasting_proto_rawDescGZIP(), []int{1, 0, 5} +} + +func (x *AutoMlForecastingInputs_Transformation_NumericArrayTransformation) GetColumnName() string { + if x != nil { + return x.ColumnName + } + return "" +} + +func (x *AutoMlForecastingInputs_Transformation_NumericArrayTransformation) GetInvalidValuesAllowed() bool { + if x != nil { + return x.InvalidValuesAllowed + } + return false +} + +// Treats the column as categorical array and performs following +// transformation functions. +// * For each element in the array, convert the category name to a +// dictionary +// lookup index and generate an embedding for each index. +// Combine the embedding of all elements into a single embedding using +// the mean. +// * Empty arrays treated as an embedding of zeroes. +type AutoMlForecastingInputs_Transformation_CategoricalArrayTransformation struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ColumnName string `protobuf:"bytes,1,opt,name=column_name,json=columnName,proto3" json:"column_name,omitempty"` +} + +func (x *AutoMlForecastingInputs_Transformation_CategoricalArrayTransformation) Reset() { + *x = AutoMlForecastingInputs_Transformation_CategoricalArrayTransformation{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_time_series_forecasting_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AutoMlForecastingInputs_Transformation_CategoricalArrayTransformation) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AutoMlForecastingInputs_Transformation_CategoricalArrayTransformation) ProtoMessage() {} + +func (x *AutoMlForecastingInputs_Transformation_CategoricalArrayTransformation) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_time_series_forecasting_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AutoMlForecastingInputs_Transformation_CategoricalArrayTransformation.ProtoReflect.Descriptor instead. +func (*AutoMlForecastingInputs_Transformation_CategoricalArrayTransformation) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_time_series_forecasting_proto_rawDescGZIP(), []int{1, 0, 6} +} + +func (x *AutoMlForecastingInputs_Transformation_CategoricalArrayTransformation) GetColumnName() string { + if x != nil { + return x.ColumnName + } + return "" +} + +// Treats the column as text array and performs following transformation +// functions. +// * Concatenate all text values in the array into a single text value +// using +// a space (" ") as a delimiter, and then treat the result as a single +// text value. Apply the transformations for Text columns. +// * Empty arrays treated as an empty text. +type AutoMlForecastingInputs_Transformation_TextArrayTransformation struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ColumnName string `protobuf:"bytes,1,opt,name=column_name,json=columnName,proto3" json:"column_name,omitempty"` +} + +func (x *AutoMlForecastingInputs_Transformation_TextArrayTransformation) Reset() { + *x = AutoMlForecastingInputs_Transformation_TextArrayTransformation{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_time_series_forecasting_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AutoMlForecastingInputs_Transformation_TextArrayTransformation) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AutoMlForecastingInputs_Transformation_TextArrayTransformation) ProtoMessage() {} + +func (x *AutoMlForecastingInputs_Transformation_TextArrayTransformation) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_time_series_forecasting_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AutoMlForecastingInputs_Transformation_TextArrayTransformation.ProtoReflect.Descriptor instead. +func (*AutoMlForecastingInputs_Transformation_TextArrayTransformation) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_time_series_forecasting_proto_rawDescGZIP(), []int{1, 0, 7} +} + +func (x *AutoMlForecastingInputs_Transformation_TextArrayTransformation) GetColumnName() string { + if x != nil { + return x.ColumnName + } + return "" +} + +var File_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_time_series_forecasting_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_time_series_forecasting_proto_rawDesc = []byte{ + 0x0a, 0x5d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, + 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x2f, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2f, + 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x6d, + 0x6c, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x69, 0x65, 0x73, 0x5f, 0x66, 0x6f, + 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, + 0x38, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, + 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, + 0x6d, 0x61, 0x2e, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2e, 0x64, + 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x61, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, + 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x74, 0x72, 0x61, + 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, + 0x69, 0x6f, 0x6e, 0x2f, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x65, 0x76, 0x61, 0x6c, 0x75, + 0x61, 0x74, 0x65, 0x64, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x5f, + 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xef, 0x01, 0x0a, 0x11, 0x41, + 0x75, 0x74, 0x6f, 0x4d, 0x6c, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x69, 0x6e, 0x67, + 0x12, 0x69, 0x0a, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x51, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, + 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, + 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, + 0x2e, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x75, 0x74, 0x6f, + 0x4d, 0x6c, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x70, + 0x75, 0x74, 0x73, 0x52, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x12, 0x6f, 0x0a, 0x08, 0x6d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x53, 0x2e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, + 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, + 0x61, 0x2e, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2e, 0x64, 0x65, + 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x6c, 0x46, + 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 0xeb, 0x18, 0x0a, + 0x17, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x6c, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x69, + 0x6e, 0x67, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x74, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0c, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x12, 0x41, 0x0a, + 0x1d, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x69, 0x65, 0x73, 0x5f, 0x69, 0x64, 0x65, + 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x1a, 0x74, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, + 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, + 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x43, 0x6f, 0x6c, 0x75, 0x6d, + 0x6e, 0x12, 0x8a, 0x01, 0x0a, 0x0f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x60, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, + 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, + 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2e, 0x64, 0x65, 0x66, 0x69, + 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x6c, 0x46, 0x6f, 0x72, + 0x65, 0x63, 0x61, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x2e, 0x54, + 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0f, 0x74, + 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x35, + 0x0a, 0x16, 0x6f, 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6f, + 0x62, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x15, + 0x6f, 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x62, 0x6a, 0x65, + 0x63, 0x74, 0x69, 0x76, 0x65, 0x12, 0x40, 0x0a, 0x1d, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x5f, 0x62, + 0x75, 0x64, 0x67, 0x65, 0x74, 0x5f, 0x6d, 0x69, 0x6c, 0x6c, 0x69, 0x5f, 0x6e, 0x6f, 0x64, 0x65, + 0x5f, 0x68, 0x6f, 0x75, 0x72, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x19, 0x74, 0x72, + 0x61, 0x69, 0x6e, 0x42, 0x75, 0x64, 0x67, 0x65, 0x74, 0x4d, 0x69, 0x6c, 0x6c, 0x69, 0x4e, 0x6f, + 0x64, 0x65, 0x48, 0x6f, 0x75, 0x72, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x77, 0x65, 0x69, 0x67, 0x68, + 0x74, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, + 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x12, 0x25, 0x0a, 0x0e, + 0x73, 0x74, 0x61, 0x74, 0x69, 0x63, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x08, + 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x74, 0x61, 0x74, 0x69, 0x63, 0x43, 0x6f, 0x6c, 0x75, + 0x6d, 0x6e, 0x73, 0x12, 0x42, 0x0a, 0x1e, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x76, 0x61, 0x72, 0x69, + 0x61, 0x6e, 0x74, 0x5f, 0x70, 0x61, 0x73, 0x74, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x5f, 0x63, 0x6f, + 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x09, 0x52, 0x1a, 0x74, 0x69, 0x6d, + 0x65, 0x56, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x50, 0x61, 0x73, 0x74, 0x4f, 0x6e, 0x6c, 0x79, + 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x4d, 0x0a, 0x24, 0x74, 0x69, 0x6d, 0x65, 0x5f, + 0x76, 0x61, 0x72, 0x69, 0x61, 0x6e, 0x74, 0x5f, 0x70, 0x61, 0x73, 0x74, 0x5f, 0x61, 0x6e, 0x64, + 0x5f, 0x66, 0x75, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, + 0x0a, 0x20, 0x03, 0x28, 0x09, 0x52, 0x1f, 0x74, 0x69, 0x6d, 0x65, 0x56, 0x61, 0x72, 0x69, 0x61, + 0x6e, 0x74, 0x50, 0x61, 0x73, 0x74, 0x41, 0x6e, 0x64, 0x46, 0x75, 0x74, 0x75, 0x72, 0x65, 0x43, + 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x70, 0x0a, 0x06, 0x70, 0x65, 0x72, 0x69, 0x6f, 0x64, + 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x58, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, + 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x74, 0x72, 0x61, 0x69, 0x6e, + 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2e, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, + 0x6e, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x6c, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, + 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x2e, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, + 0x52, 0x06, 0x70, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x12, 0x32, 0x0a, 0x15, 0x66, 0x6f, 0x72, 0x65, + 0x63, 0x61, 0x73, 0x74, 0x5f, 0x77, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x5f, 0x73, 0x74, 0x61, 0x72, + 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x03, 0x52, 0x13, 0x66, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, + 0x74, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x53, 0x74, 0x61, 0x72, 0x74, 0x12, 0x2e, 0x0a, 0x13, + 0x66, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x5f, 0x77, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x5f, + 0x65, 0x6e, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x66, 0x6f, 0x72, 0x65, 0x63, + 0x61, 0x73, 0x74, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x45, 0x6e, 0x64, 0x12, 0x21, 0x0a, 0x0c, + 0x70, 0x61, 0x73, 0x74, 0x5f, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x6f, 0x6e, 0x18, 0x0e, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x0b, 0x70, 0x61, 0x73, 0x74, 0x48, 0x6f, 0x72, 0x69, 0x7a, 0x6f, 0x6e, 0x12, + 0xa4, 0x01, 0x0a, 0x22, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x65, 0x76, 0x61, 0x6c, 0x75, + 0x61, 0x74, 0x65, 0x64, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x5f, + 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x58, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, + 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, + 0x2e, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2e, 0x64, 0x65, 0x66, + 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x76, + 0x61, 0x6c, 0x75, 0x61, 0x74, 0x65, 0x64, 0x44, 0x61, 0x74, 0x61, 0x49, 0x74, 0x65, 0x6d, 0x73, + 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x1e, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x76, + 0x61, 0x6c, 0x75, 0x61, 0x74, 0x65, 0x64, 0x44, 0x61, 0x74, 0x61, 0x49, 0x74, 0x65, 0x6d, 0x73, + 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1c, 0x0a, 0x09, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, + 0x6c, 0x65, 0x73, 0x18, 0x10, 0x20, 0x03, 0x28, 0x01, 0x52, 0x09, 0x71, 0x75, 0x61, 0x6e, 0x74, + 0x69, 0x6c, 0x65, 0x73, 0x12, 0x2d, 0x0a, 0x12, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x11, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x11, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x1a, 0xba, 0x0f, 0x0a, 0x0e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, + 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x89, 0x01, 0x0a, 0x04, 0x61, 0x75, 0x74, 0x6f, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, + 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, + 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2e, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, + 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x6c, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x69, + 0x6e, 0x67, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, + 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x54, 0x72, 0x61, 0x6e, + 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x04, 0x61, 0x75, + 0x74, 0x6f, 0x12, 0x92, 0x01, 0x0a, 0x07, 0x6e, 0x75, 0x6d, 0x65, 0x72, 0x69, 0x63, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x76, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, + 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, + 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, + 0x67, 0x6a, 0x6f, 0x62, 0x2e, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, + 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x6c, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x69, 0x6e, + 0x67, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, + 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4e, 0x75, 0x6d, 0x65, 0x72, 0x69, 0x63, 0x54, 0x72, + 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x07, + 0x6e, 0x75, 0x6d, 0x65, 0x72, 0x69, 0x63, 0x12, 0x9e, 0x01, 0x0a, 0x0b, 0x63, 0x61, 0x74, 0x65, + 0x67, 0x6f, 0x72, 0x69, 0x63, 0x61, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x7a, 0x2e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, + 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, + 0x61, 0x2e, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2e, 0x64, 0x65, + 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x6c, 0x46, + 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x73, + 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, + 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x69, 0x63, 0x61, 0x6c, 0x54, 0x72, 0x61, 0x6e, 0x73, + 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x0b, 0x63, 0x61, 0x74, + 0x65, 0x67, 0x6f, 0x72, 0x69, 0x63, 0x61, 0x6c, 0x12, 0x98, 0x01, 0x0a, 0x09, 0x74, 0x69, 0x6d, + 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x78, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, + 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, + 0x2e, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2e, 0x64, 0x65, 0x66, + 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x6c, 0x46, 0x6f, + 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x2e, + 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x54, + 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, + 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, + 0x61, 0x6d, 0x70, 0x12, 0x89, 0x01, 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, + 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, + 0x6f, 0x62, 0x2e, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x75, + 0x74, 0x6f, 0x4d, 0x6c, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x49, + 0x6e, 0x70, 0x75, 0x74, 0x73, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x54, 0x65, 0x78, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, + 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x04, 0x74, 0x65, 0x78, 0x74, 0x12, + 0xa8, 0x01, 0x0a, 0x10, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6e, 0x75, 0x6d, + 0x65, 0x72, 0x69, 0x63, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x7b, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, + 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x74, + 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2e, 0x64, 0x65, 0x66, 0x69, 0x6e, + 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x6c, 0x46, 0x6f, 0x72, 0x65, + 0x63, 0x61, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x2e, 0x54, 0x72, + 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4e, 0x75, 0x6d, + 0x65, 0x72, 0x69, 0x63, 0x41, 0x72, 0x72, 0x61, 0x79, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, + 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x0f, 0x72, 0x65, 0x70, 0x65, 0x61, + 0x74, 0x65, 0x64, 0x4e, 0x75, 0x6d, 0x65, 0x72, 0x69, 0x63, 0x12, 0xb4, 0x01, 0x0a, 0x14, 0x72, + 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x69, + 0x63, 0x61, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x7f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, + 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x74, 0x72, + 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2e, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, + 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x6c, 0x46, 0x6f, 0x72, 0x65, 0x63, + 0x61, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x2e, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x61, 0x74, 0x65, + 0x67, 0x6f, 0x72, 0x69, 0x63, 0x61, 0x6c, 0x41, 0x72, 0x72, 0x61, 0x79, 0x54, 0x72, 0x61, 0x6e, + 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x13, 0x72, 0x65, + 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x69, 0x63, 0x61, + 0x6c, 0x12, 0x9f, 0x01, 0x0a, 0x0d, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x74, + 0x65, 0x78, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x78, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, + 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x74, 0x72, + 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2e, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, + 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x6c, 0x46, 0x6f, 0x72, 0x65, 0x63, + 0x61, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x2e, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x54, 0x65, 0x78, 0x74, + 0x41, 0x72, 0x72, 0x61, 0x79, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x0c, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x54, + 0x65, 0x78, 0x74, 0x1a, 0x35, 0x0a, 0x12, 0x41, 0x75, 0x74, 0x6f, 0x54, 0x72, 0x61, 0x6e, 0x73, + 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, + 0x75, 0x6d, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, + 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x1a, 0x6e, 0x0a, 0x15, 0x4e, 0x75, + 0x6d, 0x65, 0x72, 0x69, 0x63, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, + 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x34, 0x0a, 0x16, 0x69, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x5f, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x14, 0x69, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x56, 0x61, 0x6c, + 0x75, 0x65, 0x73, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x1a, 0x3c, 0x0a, 0x19, 0x43, 0x61, + 0x74, 0x65, 0x67, 0x6f, 0x72, 0x69, 0x63, 0x61, 0x6c, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, + 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, + 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, + 0x6c, 0x75, 0x6d, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x1a, 0x91, 0x01, 0x0a, 0x17, 0x54, 0x69, 0x6d, + 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6e, + 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, + 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x66, 0x6f, + 0x72, 0x6d, 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x74, 0x69, 0x6d, 0x65, + 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x34, 0x0a, 0x16, 0x69, 0x6e, 0x76, 0x61, 0x6c, 0x69, + 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x14, 0x69, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x56, + 0x61, 0x6c, 0x75, 0x65, 0x73, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x1a, 0x35, 0x0a, 0x12, + 0x54, 0x65, 0x78, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4e, + 0x61, 0x6d, 0x65, 0x1a, 0x73, 0x0a, 0x1a, 0x4e, 0x75, 0x6d, 0x65, 0x72, 0x69, 0x63, 0x41, 0x72, + 0x72, 0x61, 0x79, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4e, 0x61, + 0x6d, 0x65, 0x12, 0x34, 0x0a, 0x16, 0x69, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x5f, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x73, 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x14, 0x69, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, + 0x73, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x1a, 0x41, 0x0a, 0x1e, 0x43, 0x61, 0x74, 0x65, + 0x67, 0x6f, 0x72, 0x69, 0x63, 0x61, 0x6c, 0x41, 0x72, 0x72, 0x61, 0x79, 0x54, 0x72, 0x61, 0x6e, + 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, + 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x1a, 0x3a, 0x0a, 0x17, 0x54, + 0x65, 0x78, 0x74, 0x41, 0x72, 0x72, 0x61, 0x79, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, + 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, + 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, + 0x75, 0x6d, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x42, 0x17, 0x0a, 0x15, 0x74, 0x72, 0x61, 0x6e, 0x73, + 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, + 0x1a, 0x38, 0x0a, 0x06, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x6e, + 0x69, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x6e, 0x69, 0x74, 0x12, 0x1a, + 0x0a, 0x08, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x08, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x22, 0x59, 0x0a, 0x19, 0x41, 0x75, + 0x74, 0x6f, 0x4d, 0x6c, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x4d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x3c, 0x0a, 0x1b, 0x74, 0x72, 0x61, 0x69, 0x6e, + 0x5f, 0x63, 0x6f, 0x73, 0x74, 0x5f, 0x6d, 0x69, 0x6c, 0x6c, 0x69, 0x5f, 0x6e, 0x6f, 0x64, 0x65, + 0x5f, 0x68, 0x6f, 0x75, 0x72, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x17, 0x74, 0x72, + 0x61, 0x69, 0x6e, 0x43, 0x6f, 0x73, 0x74, 0x4d, 0x69, 0x6c, 0x6c, 0x69, 0x4e, 0x6f, 0x64, 0x65, + 0x48, 0x6f, 0x75, 0x72, 0x73, 0x42, 0xbc, 0x01, 0x0a, 0x3c, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, + 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, + 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2e, 0x64, 0x65, 0x66, 0x69, + 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x16, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x4c, 0x46, 0x6f, + 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, + 0x5a, 0x62, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, + 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x69, + 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, + 0x6d, 0x61, 0x2f, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2f, 0x64, + 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x3b, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, + 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_time_series_forecasting_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_time_series_forecasting_proto_rawDescData = file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_time_series_forecasting_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_time_series_forecasting_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_time_series_forecasting_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_time_series_forecasting_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_time_series_forecasting_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_time_series_forecasting_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_time_series_forecasting_proto_msgTypes = make([]protoimpl.MessageInfo, 13) +var file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_time_series_forecasting_proto_goTypes = []interface{}{ + (*AutoMlForecasting)(nil), // 0: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlForecasting + (*AutoMlForecastingInputs)(nil), // 1: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlForecastingInputs + (*AutoMlForecastingMetadata)(nil), // 2: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlForecastingMetadata + (*AutoMlForecastingInputs_Transformation)(nil), // 3: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation + (*AutoMlForecastingInputs_Period)(nil), // 4: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlForecastingInputs.Period + (*AutoMlForecastingInputs_Transformation_AutoTransformation)(nil), // 5: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.AutoTransformation + (*AutoMlForecastingInputs_Transformation_NumericTransformation)(nil), // 6: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.NumericTransformation + (*AutoMlForecastingInputs_Transformation_CategoricalTransformation)(nil), // 7: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.CategoricalTransformation + (*AutoMlForecastingInputs_Transformation_TimestampTransformation)(nil), // 8: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.TimestampTransformation + (*AutoMlForecastingInputs_Transformation_TextTransformation)(nil), // 9: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.TextTransformation + (*AutoMlForecastingInputs_Transformation_NumericArrayTransformation)(nil), // 10: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.NumericArrayTransformation + (*AutoMlForecastingInputs_Transformation_CategoricalArrayTransformation)(nil), // 11: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.CategoricalArrayTransformation + (*AutoMlForecastingInputs_Transformation_TextArrayTransformation)(nil), // 12: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.TextArrayTransformation + (*ExportEvaluatedDataItemsConfig)(nil), // 13: google.cloud.aiplatform.v1.schema.trainingjob.definition.ExportEvaluatedDataItemsConfig +} +var file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_time_series_forecasting_proto_depIdxs = []int32{ + 1, // 0: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlForecasting.inputs:type_name -> google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlForecastingInputs + 2, // 1: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlForecasting.metadata:type_name -> google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlForecastingMetadata + 3, // 2: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlForecastingInputs.transformations:type_name -> google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation + 4, // 3: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlForecastingInputs.period:type_name -> google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlForecastingInputs.Period + 13, // 4: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlForecastingInputs.export_evaluated_data_items_config:type_name -> google.cloud.aiplatform.v1.schema.trainingjob.definition.ExportEvaluatedDataItemsConfig + 5, // 5: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.auto:type_name -> google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.AutoTransformation + 6, // 6: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.numeric:type_name -> google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.NumericTransformation + 7, // 7: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.categorical:type_name -> google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.CategoricalTransformation + 8, // 8: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.timestamp:type_name -> google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.TimestampTransformation + 9, // 9: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.text:type_name -> google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.TextTransformation + 10, // 10: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.repeated_numeric:type_name -> google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.NumericArrayTransformation + 11, // 11: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.repeated_categorical:type_name -> google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.CategoricalArrayTransformation + 12, // 12: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.repeated_text:type_name -> google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.TextArrayTransformation + 13, // [13:13] is the sub-list for method output_type + 13, // [13:13] is the sub-list for method input_type + 13, // [13:13] is the sub-list for extension type_name + 13, // [13:13] is the sub-list for extension extendee + 0, // [0:13] is the sub-list for field type_name +} + +func init() { + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_time_series_forecasting_proto_init() +} +func file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_time_series_forecasting_proto_init() { + if File_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_time_series_forecasting_proto != nil { + return + } + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_export_evaluated_data_items_config_proto_init() + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_time_series_forecasting_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AutoMlForecasting); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_time_series_forecasting_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AutoMlForecastingInputs); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_time_series_forecasting_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AutoMlForecastingMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_time_series_forecasting_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AutoMlForecastingInputs_Transformation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_time_series_forecasting_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AutoMlForecastingInputs_Period); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_time_series_forecasting_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AutoMlForecastingInputs_Transformation_AutoTransformation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_time_series_forecasting_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AutoMlForecastingInputs_Transformation_NumericTransformation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_time_series_forecasting_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AutoMlForecastingInputs_Transformation_CategoricalTransformation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_time_series_forecasting_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AutoMlForecastingInputs_Transformation_TimestampTransformation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_time_series_forecasting_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AutoMlForecastingInputs_Transformation_TextTransformation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_time_series_forecasting_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AutoMlForecastingInputs_Transformation_NumericArrayTransformation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_time_series_forecasting_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AutoMlForecastingInputs_Transformation_CategoricalArrayTransformation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_time_series_forecasting_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AutoMlForecastingInputs_Transformation_TextArrayTransformation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_time_series_forecasting_proto_msgTypes[3].OneofWrappers = []interface{}{ + (*AutoMlForecastingInputs_Transformation_Auto)(nil), + (*AutoMlForecastingInputs_Transformation_Numeric)(nil), + (*AutoMlForecastingInputs_Transformation_Categorical)(nil), + (*AutoMlForecastingInputs_Transformation_Timestamp)(nil), + (*AutoMlForecastingInputs_Transformation_Text)(nil), + (*AutoMlForecastingInputs_Transformation_RepeatedNumeric)(nil), + (*AutoMlForecastingInputs_Transformation_RepeatedCategorical)(nil), + (*AutoMlForecastingInputs_Transformation_RepeatedText)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_time_series_forecasting_proto_rawDesc, + NumEnums: 0, + NumMessages: 13, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_time_series_forecasting_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_time_series_forecasting_proto_depIdxs, + MessageInfos: file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_time_series_forecasting_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_time_series_forecasting_proto = out.File + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_time_series_forecasting_proto_rawDesc = nil + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_time_series_forecasting_proto_goTypes = nil + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_time_series_forecasting_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_action_recognition.pb.go b/googleapis/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_action_recognition.pb.go new file mode 100644 index 000000000..41085a8b4 --- /dev/null +++ b/googleapis/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_action_recognition.pb.go @@ -0,0 +1,332 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.25.0-devel +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_action_recognition.proto + +package definition + +import ( + reflect "reflect" + sync "sync" + + proto "github.com/golang/protobuf/proto" + _ "google.golang.org/genproto/googleapis/api/annotations" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 + +type AutoMlVideoActionRecognitionInputs_ModelType int32 + +const ( + // Should not be set. + AutoMlVideoActionRecognitionInputs_MODEL_TYPE_UNSPECIFIED AutoMlVideoActionRecognitionInputs_ModelType = 0 + // A model best tailored to be used within Google Cloud, and which c annot + // be exported. Default. + AutoMlVideoActionRecognitionInputs_CLOUD AutoMlVideoActionRecognitionInputs_ModelType = 1 + // A model that, in addition to being available within Google Cloud, can + // also be exported (see ModelService.ExportModel) as a TensorFlow or + // TensorFlow Lite model and used on a mobile or edge device afterwards. + AutoMlVideoActionRecognitionInputs_MOBILE_VERSATILE_1 AutoMlVideoActionRecognitionInputs_ModelType = 2 +) + +// Enum value maps for AutoMlVideoActionRecognitionInputs_ModelType. +var ( + AutoMlVideoActionRecognitionInputs_ModelType_name = map[int32]string{ + 0: "MODEL_TYPE_UNSPECIFIED", + 1: "CLOUD", + 2: "MOBILE_VERSATILE_1", + } + AutoMlVideoActionRecognitionInputs_ModelType_value = map[string]int32{ + "MODEL_TYPE_UNSPECIFIED": 0, + "CLOUD": 1, + "MOBILE_VERSATILE_1": 2, + } +) + +func (x AutoMlVideoActionRecognitionInputs_ModelType) Enum() *AutoMlVideoActionRecognitionInputs_ModelType { + p := new(AutoMlVideoActionRecognitionInputs_ModelType) + *p = x + return p +} + +func (x AutoMlVideoActionRecognitionInputs_ModelType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (AutoMlVideoActionRecognitionInputs_ModelType) Descriptor() protoreflect.EnumDescriptor { + return file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_action_recognition_proto_enumTypes[0].Descriptor() +} + +func (AutoMlVideoActionRecognitionInputs_ModelType) Type() protoreflect.EnumType { + return &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_action_recognition_proto_enumTypes[0] +} + +func (x AutoMlVideoActionRecognitionInputs_ModelType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use AutoMlVideoActionRecognitionInputs_ModelType.Descriptor instead. +func (AutoMlVideoActionRecognitionInputs_ModelType) EnumDescriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_action_recognition_proto_rawDescGZIP(), []int{1, 0} +} + +// A TrainingJob that trains and uploads an AutoML Video Action Recognition +// Model. +type AutoMlVideoActionRecognition struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The input parameters of this TrainingJob. + Inputs *AutoMlVideoActionRecognitionInputs `protobuf:"bytes,1,opt,name=inputs,proto3" json:"inputs,omitempty"` +} + +func (x *AutoMlVideoActionRecognition) Reset() { + *x = AutoMlVideoActionRecognition{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_action_recognition_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AutoMlVideoActionRecognition) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AutoMlVideoActionRecognition) ProtoMessage() {} + +func (x *AutoMlVideoActionRecognition) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_action_recognition_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AutoMlVideoActionRecognition.ProtoReflect.Descriptor instead. +func (*AutoMlVideoActionRecognition) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_action_recognition_proto_rawDescGZIP(), []int{0} +} + +func (x *AutoMlVideoActionRecognition) GetInputs() *AutoMlVideoActionRecognitionInputs { + if x != nil { + return x.Inputs + } + return nil +} + +type AutoMlVideoActionRecognitionInputs struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ModelType AutoMlVideoActionRecognitionInputs_ModelType `protobuf:"varint,1,opt,name=model_type,json=modelType,proto3,enum=google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlVideoActionRecognitionInputs_ModelType" json:"model_type,omitempty"` +} + +func (x *AutoMlVideoActionRecognitionInputs) Reset() { + *x = AutoMlVideoActionRecognitionInputs{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_action_recognition_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AutoMlVideoActionRecognitionInputs) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AutoMlVideoActionRecognitionInputs) ProtoMessage() {} + +func (x *AutoMlVideoActionRecognitionInputs) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_action_recognition_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AutoMlVideoActionRecognitionInputs.ProtoReflect.Descriptor instead. +func (*AutoMlVideoActionRecognitionInputs) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_action_recognition_proto_rawDescGZIP(), []int{1} +} + +func (x *AutoMlVideoActionRecognitionInputs) GetModelType() AutoMlVideoActionRecognitionInputs_ModelType { + if x != nil { + return x.ModelType + } + return AutoMlVideoActionRecognitionInputs_MODEL_TYPE_UNSPECIFIED +} + +var File_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_action_recognition_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_action_recognition_proto_rawDesc = []byte{ + 0x0a, 0x5e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, + 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x2f, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2f, + 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x6d, + 0x6c, 0x5f, 0x76, 0x69, 0x64, 0x65, 0x6f, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, + 0x65, 0x63, 0x6f, 0x67, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x12, 0x38, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, + 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x2e, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2e, + 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x94, 0x01, 0x0a, 0x1c, 0x41, 0x75, 0x74, + 0x6f, 0x4d, 0x6c, 0x56, 0x69, 0x64, 0x65, 0x6f, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, + 0x63, 0x6f, 0x67, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x74, 0x0a, 0x06, 0x69, 0x6e, 0x70, + 0x75, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x5c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, + 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x74, 0x72, + 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2e, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, + 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x6c, 0x56, 0x69, 0x64, 0x65, 0x6f, + 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x63, 0x6f, 0x67, 0x6e, 0x69, 0x74, 0x69, 0x6f, + 0x6e, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x52, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x22, + 0xf8, 0x01, 0x0a, 0x22, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x6c, 0x56, 0x69, 0x64, 0x65, 0x6f, 0x41, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x63, 0x6f, 0x67, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, + 0x49, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x12, 0x85, 0x01, 0x0a, 0x0a, 0x6d, 0x6f, 0x64, 0x65, 0x6c, + 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x66, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, + 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, + 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2e, 0x64, 0x65, 0x66, 0x69, + 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x6c, 0x56, 0x69, 0x64, + 0x65, 0x6f, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x63, 0x6f, 0x67, 0x6e, 0x69, 0x74, + 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x54, + 0x79, 0x70, 0x65, 0x52, 0x09, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x22, 0x4a, + 0x0a, 0x09, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x16, 0x4d, + 0x4f, 0x44, 0x45, 0x4c, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, + 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x43, 0x4c, 0x4f, 0x55, 0x44, + 0x10, 0x01, 0x12, 0x16, 0x0a, 0x12, 0x4d, 0x4f, 0x42, 0x49, 0x4c, 0x45, 0x5f, 0x56, 0x45, 0x52, + 0x53, 0x41, 0x54, 0x49, 0x4c, 0x45, 0x5f, 0x31, 0x10, 0x02, 0x42, 0xc7, 0x01, 0x0a, 0x3c, 0x63, + 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, + 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, + 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, + 0x2e, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x21, 0x41, 0x75, 0x74, + 0x6f, 0x4d, 0x4c, 0x56, 0x69, 0x64, 0x65, 0x6f, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, + 0x63, 0x6f, 0x67, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, + 0x5a, 0x62, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, + 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x69, + 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, + 0x6d, 0x61, 0x2f, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2f, 0x64, + 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x3b, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, + 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_action_recognition_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_action_recognition_proto_rawDescData = file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_action_recognition_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_action_recognition_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_action_recognition_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_action_recognition_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_action_recognition_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_action_recognition_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_action_recognition_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_action_recognition_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_action_recognition_proto_goTypes = []interface{}{ + (AutoMlVideoActionRecognitionInputs_ModelType)(0), // 0: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlVideoActionRecognitionInputs.ModelType + (*AutoMlVideoActionRecognition)(nil), // 1: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlVideoActionRecognition + (*AutoMlVideoActionRecognitionInputs)(nil), // 2: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlVideoActionRecognitionInputs +} +var file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_action_recognition_proto_depIdxs = []int32{ + 2, // 0: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlVideoActionRecognition.inputs:type_name -> google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlVideoActionRecognitionInputs + 0, // 1: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlVideoActionRecognitionInputs.model_type:type_name -> google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlVideoActionRecognitionInputs.ModelType + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_action_recognition_proto_init() +} +func file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_action_recognition_proto_init() { + if File_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_action_recognition_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_action_recognition_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AutoMlVideoActionRecognition); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_action_recognition_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AutoMlVideoActionRecognitionInputs); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_action_recognition_proto_rawDesc, + NumEnums: 1, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_action_recognition_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_action_recognition_proto_depIdxs, + EnumInfos: file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_action_recognition_proto_enumTypes, + MessageInfos: file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_action_recognition_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_action_recognition_proto = out.File + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_action_recognition_proto_rawDesc = nil + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_action_recognition_proto_goTypes = nil + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_action_recognition_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_classification.pb.go b/googleapis/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_classification.pb.go new file mode 100644 index 000000000..a6018345b --- /dev/null +++ b/googleapis/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_classification.pb.go @@ -0,0 +1,338 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.25.0-devel +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_classification.proto + +package definition + +import ( + reflect "reflect" + sync "sync" + + proto "github.com/golang/protobuf/proto" + _ "google.golang.org/genproto/googleapis/api/annotations" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 + +type AutoMlVideoClassificationInputs_ModelType int32 + +const ( + // Should not be set. + AutoMlVideoClassificationInputs_MODEL_TYPE_UNSPECIFIED AutoMlVideoClassificationInputs_ModelType = 0 + // A model best tailored to be used within Google Cloud, and which cannot + // be exported. Default. + AutoMlVideoClassificationInputs_CLOUD AutoMlVideoClassificationInputs_ModelType = 1 + // A model that, in addition to being available within Google Cloud, can + // also be exported (see ModelService.ExportModel) as a TensorFlow or + // TensorFlow Lite model and used on a mobile or edge device afterwards. + AutoMlVideoClassificationInputs_MOBILE_VERSATILE_1 AutoMlVideoClassificationInputs_ModelType = 2 + // A model that, in addition to being available within Google Cloud, can + // also be exported (see ModelService.ExportModel) to a Jetson device + // afterwards. + AutoMlVideoClassificationInputs_MOBILE_JETSON_VERSATILE_1 AutoMlVideoClassificationInputs_ModelType = 3 +) + +// Enum value maps for AutoMlVideoClassificationInputs_ModelType. +var ( + AutoMlVideoClassificationInputs_ModelType_name = map[int32]string{ + 0: "MODEL_TYPE_UNSPECIFIED", + 1: "CLOUD", + 2: "MOBILE_VERSATILE_1", + 3: "MOBILE_JETSON_VERSATILE_1", + } + AutoMlVideoClassificationInputs_ModelType_value = map[string]int32{ + "MODEL_TYPE_UNSPECIFIED": 0, + "CLOUD": 1, + "MOBILE_VERSATILE_1": 2, + "MOBILE_JETSON_VERSATILE_1": 3, + } +) + +func (x AutoMlVideoClassificationInputs_ModelType) Enum() *AutoMlVideoClassificationInputs_ModelType { + p := new(AutoMlVideoClassificationInputs_ModelType) + *p = x + return p +} + +func (x AutoMlVideoClassificationInputs_ModelType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (AutoMlVideoClassificationInputs_ModelType) Descriptor() protoreflect.EnumDescriptor { + return file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_classification_proto_enumTypes[0].Descriptor() +} + +func (AutoMlVideoClassificationInputs_ModelType) Type() protoreflect.EnumType { + return &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_classification_proto_enumTypes[0] +} + +func (x AutoMlVideoClassificationInputs_ModelType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use AutoMlVideoClassificationInputs_ModelType.Descriptor instead. +func (AutoMlVideoClassificationInputs_ModelType) EnumDescriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_classification_proto_rawDescGZIP(), []int{1, 0} +} + +// A TrainingJob that trains and uploads an AutoML Video Classification Model. +type AutoMlVideoClassification struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The input parameters of this TrainingJob. + Inputs *AutoMlVideoClassificationInputs `protobuf:"bytes,1,opt,name=inputs,proto3" json:"inputs,omitempty"` +} + +func (x *AutoMlVideoClassification) Reset() { + *x = AutoMlVideoClassification{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_classification_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AutoMlVideoClassification) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AutoMlVideoClassification) ProtoMessage() {} + +func (x *AutoMlVideoClassification) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_classification_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AutoMlVideoClassification.ProtoReflect.Descriptor instead. +func (*AutoMlVideoClassification) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_classification_proto_rawDescGZIP(), []int{0} +} + +func (x *AutoMlVideoClassification) GetInputs() *AutoMlVideoClassificationInputs { + if x != nil { + return x.Inputs + } + return nil +} + +type AutoMlVideoClassificationInputs struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ModelType AutoMlVideoClassificationInputs_ModelType `protobuf:"varint,1,opt,name=model_type,json=modelType,proto3,enum=google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlVideoClassificationInputs_ModelType" json:"model_type,omitempty"` +} + +func (x *AutoMlVideoClassificationInputs) Reset() { + *x = AutoMlVideoClassificationInputs{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_classification_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AutoMlVideoClassificationInputs) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AutoMlVideoClassificationInputs) ProtoMessage() {} + +func (x *AutoMlVideoClassificationInputs) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_classification_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AutoMlVideoClassificationInputs.ProtoReflect.Descriptor instead. +func (*AutoMlVideoClassificationInputs) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_classification_proto_rawDescGZIP(), []int{1} +} + +func (x *AutoMlVideoClassificationInputs) GetModelType() AutoMlVideoClassificationInputs_ModelType { + if x != nil { + return x.ModelType + } + return AutoMlVideoClassificationInputs_MODEL_TYPE_UNSPECIFIED +} + +var File_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_classification_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_classification_proto_rawDesc = []byte{ + 0x0a, 0x5a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, + 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x2f, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2f, + 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x6d, + 0x6c, 0x5f, 0x76, 0x69, 0x64, 0x65, 0x6f, 0x5f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x38, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, + 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, + 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2e, 0x64, 0x65, 0x66, 0x69, + 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, + 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8e, 0x01, 0x0a, 0x19, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x6c, 0x56, + 0x69, 0x64, 0x65, 0x6f, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x12, 0x71, 0x0a, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x59, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, + 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, + 0x6f, 0x62, 0x2e, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x75, + 0x74, 0x6f, 0x4d, 0x6c, 0x56, 0x69, 0x64, 0x65, 0x6f, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, + 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x52, 0x06, 0x69, + 0x6e, 0x70, 0x75, 0x74, 0x73, 0x22, 0x91, 0x02, 0x0a, 0x1f, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x6c, + 0x56, 0x69, 0x64, 0x65, 0x6f, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x12, 0x82, 0x01, 0x0a, 0x0a, 0x6d, 0x6f, + 0x64, 0x65, 0x6c, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x63, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, + 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, + 0x6d, 0x61, 0x2e, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2e, 0x64, + 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x6c, + 0x56, 0x69, 0x64, 0x65, 0x6f, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x54, + 0x79, 0x70, 0x65, 0x52, 0x09, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x22, 0x69, + 0x0a, 0x09, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x16, 0x4d, + 0x4f, 0x44, 0x45, 0x4c, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, + 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x43, 0x4c, 0x4f, 0x55, 0x44, + 0x10, 0x01, 0x12, 0x16, 0x0a, 0x12, 0x4d, 0x4f, 0x42, 0x49, 0x4c, 0x45, 0x5f, 0x56, 0x45, 0x52, + 0x53, 0x41, 0x54, 0x49, 0x4c, 0x45, 0x5f, 0x31, 0x10, 0x02, 0x12, 0x1d, 0x0a, 0x19, 0x4d, 0x4f, + 0x42, 0x49, 0x4c, 0x45, 0x5f, 0x4a, 0x45, 0x54, 0x53, 0x4f, 0x4e, 0x5f, 0x56, 0x45, 0x52, 0x53, + 0x41, 0x54, 0x49, 0x4c, 0x45, 0x5f, 0x31, 0x10, 0x03, 0x42, 0xc4, 0x01, 0x0a, 0x3c, 0x63, 0x6f, + 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, + 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x2e, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2e, + 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x1e, 0x41, 0x75, 0x74, 0x6f, + 0x4d, 0x4c, 0x56, 0x69, 0x64, 0x65, 0x6f, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x62, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, + 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, + 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, + 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x74, + 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2f, 0x64, 0x65, 0x66, 0x69, 0x6e, + 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x3b, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_classification_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_classification_proto_rawDescData = file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_classification_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_classification_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_classification_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_classification_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_classification_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_classification_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_classification_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_classification_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_classification_proto_goTypes = []interface{}{ + (AutoMlVideoClassificationInputs_ModelType)(0), // 0: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlVideoClassificationInputs.ModelType + (*AutoMlVideoClassification)(nil), // 1: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlVideoClassification + (*AutoMlVideoClassificationInputs)(nil), // 2: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlVideoClassificationInputs +} +var file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_classification_proto_depIdxs = []int32{ + 2, // 0: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlVideoClassification.inputs:type_name -> google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlVideoClassificationInputs + 0, // 1: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlVideoClassificationInputs.model_type:type_name -> google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlVideoClassificationInputs.ModelType + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_classification_proto_init() +} +func file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_classification_proto_init() { + if File_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_classification_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_classification_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AutoMlVideoClassification); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_classification_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AutoMlVideoClassificationInputs); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_classification_proto_rawDesc, + NumEnums: 1, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_classification_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_classification_proto_depIdxs, + EnumInfos: file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_classification_proto_enumTypes, + MessageInfos: file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_classification_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_classification_proto = out.File + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_classification_proto_rawDesc = nil + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_classification_proto_goTypes = nil + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_classification_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_object_tracking.pb.go b/googleapis/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_object_tracking.pb.go new file mode 100644 index 000000000..f6028c794 --- /dev/null +++ b/googleapis/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_object_tracking.pb.go @@ -0,0 +1,358 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.25.0-devel +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1/schema/trainingjob/definition/automl_video_object_tracking.proto + +package definition + +import ( + reflect "reflect" + sync "sync" + + proto "github.com/golang/protobuf/proto" + _ "google.golang.org/genproto/googleapis/api/annotations" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 + +type AutoMlVideoObjectTrackingInputs_ModelType int32 + +const ( + // Should not be set. + AutoMlVideoObjectTrackingInputs_MODEL_TYPE_UNSPECIFIED AutoMlVideoObjectTrackingInputs_ModelType = 0 + // A model best tailored to be used within Google Cloud, and which c annot + // be exported. Default. + AutoMlVideoObjectTrackingInputs_CLOUD AutoMlVideoObjectTrackingInputs_ModelType = 1 + // A model that, in addition to being available within Google Cloud, can + // also be exported (see ModelService.ExportModel) as a TensorFlow or + // TensorFlow Lite model and used on a mobile or edge device afterwards. + AutoMlVideoObjectTrackingInputs_MOBILE_VERSATILE_1 AutoMlVideoObjectTrackingInputs_ModelType = 2 + // A versatile model that is meant to be exported (see + // ModelService.ExportModel) and used on a Google Coral device. + AutoMlVideoObjectTrackingInputs_MOBILE_CORAL_VERSATILE_1 AutoMlVideoObjectTrackingInputs_ModelType = 3 + // A model that trades off quality for low latency, to be exported (see + // ModelService.ExportModel) and used on a Google Coral device. + AutoMlVideoObjectTrackingInputs_MOBILE_CORAL_LOW_LATENCY_1 AutoMlVideoObjectTrackingInputs_ModelType = 4 + // A versatile model that is meant to be exported (see + // ModelService.ExportModel) and used on an NVIDIA Jetson device. + AutoMlVideoObjectTrackingInputs_MOBILE_JETSON_VERSATILE_1 AutoMlVideoObjectTrackingInputs_ModelType = 5 + // A model that trades off quality for low latency, to be exported (see + // ModelService.ExportModel) and used on an NVIDIA Jetson device. + AutoMlVideoObjectTrackingInputs_MOBILE_JETSON_LOW_LATENCY_1 AutoMlVideoObjectTrackingInputs_ModelType = 6 +) + +// Enum value maps for AutoMlVideoObjectTrackingInputs_ModelType. +var ( + AutoMlVideoObjectTrackingInputs_ModelType_name = map[int32]string{ + 0: "MODEL_TYPE_UNSPECIFIED", + 1: "CLOUD", + 2: "MOBILE_VERSATILE_1", + 3: "MOBILE_CORAL_VERSATILE_1", + 4: "MOBILE_CORAL_LOW_LATENCY_1", + 5: "MOBILE_JETSON_VERSATILE_1", + 6: "MOBILE_JETSON_LOW_LATENCY_1", + } + AutoMlVideoObjectTrackingInputs_ModelType_value = map[string]int32{ + "MODEL_TYPE_UNSPECIFIED": 0, + "CLOUD": 1, + "MOBILE_VERSATILE_1": 2, + "MOBILE_CORAL_VERSATILE_1": 3, + "MOBILE_CORAL_LOW_LATENCY_1": 4, + "MOBILE_JETSON_VERSATILE_1": 5, + "MOBILE_JETSON_LOW_LATENCY_1": 6, + } +) + +func (x AutoMlVideoObjectTrackingInputs_ModelType) Enum() *AutoMlVideoObjectTrackingInputs_ModelType { + p := new(AutoMlVideoObjectTrackingInputs_ModelType) + *p = x + return p +} + +func (x AutoMlVideoObjectTrackingInputs_ModelType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (AutoMlVideoObjectTrackingInputs_ModelType) Descriptor() protoreflect.EnumDescriptor { + return file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_object_tracking_proto_enumTypes[0].Descriptor() +} + +func (AutoMlVideoObjectTrackingInputs_ModelType) Type() protoreflect.EnumType { + return &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_object_tracking_proto_enumTypes[0] +} + +func (x AutoMlVideoObjectTrackingInputs_ModelType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use AutoMlVideoObjectTrackingInputs_ModelType.Descriptor instead. +func (AutoMlVideoObjectTrackingInputs_ModelType) EnumDescriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_object_tracking_proto_rawDescGZIP(), []int{1, 0} +} + +// A TrainingJob that trains and uploads an AutoML Video ObjectTracking Model. +type AutoMlVideoObjectTracking struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The input parameters of this TrainingJob. + Inputs *AutoMlVideoObjectTrackingInputs `protobuf:"bytes,1,opt,name=inputs,proto3" json:"inputs,omitempty"` +} + +func (x *AutoMlVideoObjectTracking) Reset() { + *x = AutoMlVideoObjectTracking{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_object_tracking_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AutoMlVideoObjectTracking) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AutoMlVideoObjectTracking) ProtoMessage() {} + +func (x *AutoMlVideoObjectTracking) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_object_tracking_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AutoMlVideoObjectTracking.ProtoReflect.Descriptor instead. +func (*AutoMlVideoObjectTracking) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_object_tracking_proto_rawDescGZIP(), []int{0} +} + +func (x *AutoMlVideoObjectTracking) GetInputs() *AutoMlVideoObjectTrackingInputs { + if x != nil { + return x.Inputs + } + return nil +} + +type AutoMlVideoObjectTrackingInputs struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ModelType AutoMlVideoObjectTrackingInputs_ModelType `protobuf:"varint,1,opt,name=model_type,json=modelType,proto3,enum=google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlVideoObjectTrackingInputs_ModelType" json:"model_type,omitempty"` +} + +func (x *AutoMlVideoObjectTrackingInputs) Reset() { + *x = AutoMlVideoObjectTrackingInputs{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_object_tracking_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AutoMlVideoObjectTrackingInputs) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AutoMlVideoObjectTrackingInputs) ProtoMessage() {} + +func (x *AutoMlVideoObjectTrackingInputs) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_object_tracking_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use AutoMlVideoObjectTrackingInputs.ProtoReflect.Descriptor instead. +func (*AutoMlVideoObjectTrackingInputs) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_object_tracking_proto_rawDescGZIP(), []int{1} +} + +func (x *AutoMlVideoObjectTrackingInputs) GetModelType() AutoMlVideoObjectTrackingInputs_ModelType { + if x != nil { + return x.ModelType + } + return AutoMlVideoObjectTrackingInputs_MODEL_TYPE_UNSPECIFIED +} + +var File_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_object_tracking_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_object_tracking_proto_rawDesc = []byte{ + 0x0a, 0x5b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, + 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x2f, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2f, + 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x6d, + 0x6c, 0x5f, 0x76, 0x69, 0x64, 0x65, 0x6f, 0x5f, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x74, + 0x72, 0x61, 0x63, 0x6b, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x38, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, + 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, + 0x2e, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2e, 0x64, 0x65, 0x66, + 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, + 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8e, 0x01, 0x0a, 0x19, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x6c, + 0x56, 0x69, 0x64, 0x65, 0x6f, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x54, 0x72, 0x61, 0x63, 0x6b, + 0x69, 0x6e, 0x67, 0x12, 0x71, 0x0a, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x59, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, + 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, + 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, + 0x6a, 0x6f, 0x62, 0x2e, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, + 0x75, 0x74, 0x6f, 0x4d, 0x6c, 0x56, 0x69, 0x64, 0x65, 0x6f, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, + 0x54, 0x72, 0x61, 0x63, 0x6b, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x52, 0x06, + 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x22, 0xf1, 0x02, 0x0a, 0x1f, 0x41, 0x75, 0x74, 0x6f, 0x4d, + 0x6c, 0x56, 0x69, 0x64, 0x65, 0x6f, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x54, 0x72, 0x61, 0x63, + 0x6b, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x12, 0x82, 0x01, 0x0a, 0x0a, 0x6d, + 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x63, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, + 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x2e, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2e, + 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x4d, + 0x6c, 0x56, 0x69, 0x64, 0x65, 0x6f, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x54, 0x72, 0x61, 0x63, + 0x6b, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, + 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x22, + 0xc8, 0x01, 0x0a, 0x09, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, + 0x16, 0x4d, 0x4f, 0x44, 0x45, 0x4c, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, + 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x43, 0x4c, 0x4f, + 0x55, 0x44, 0x10, 0x01, 0x12, 0x16, 0x0a, 0x12, 0x4d, 0x4f, 0x42, 0x49, 0x4c, 0x45, 0x5f, 0x56, + 0x45, 0x52, 0x53, 0x41, 0x54, 0x49, 0x4c, 0x45, 0x5f, 0x31, 0x10, 0x02, 0x12, 0x1c, 0x0a, 0x18, + 0x4d, 0x4f, 0x42, 0x49, 0x4c, 0x45, 0x5f, 0x43, 0x4f, 0x52, 0x41, 0x4c, 0x5f, 0x56, 0x45, 0x52, + 0x53, 0x41, 0x54, 0x49, 0x4c, 0x45, 0x5f, 0x31, 0x10, 0x03, 0x12, 0x1e, 0x0a, 0x1a, 0x4d, 0x4f, + 0x42, 0x49, 0x4c, 0x45, 0x5f, 0x43, 0x4f, 0x52, 0x41, 0x4c, 0x5f, 0x4c, 0x4f, 0x57, 0x5f, 0x4c, + 0x41, 0x54, 0x45, 0x4e, 0x43, 0x59, 0x5f, 0x31, 0x10, 0x04, 0x12, 0x1d, 0x0a, 0x19, 0x4d, 0x4f, + 0x42, 0x49, 0x4c, 0x45, 0x5f, 0x4a, 0x45, 0x54, 0x53, 0x4f, 0x4e, 0x5f, 0x56, 0x45, 0x52, 0x53, + 0x41, 0x54, 0x49, 0x4c, 0x45, 0x5f, 0x31, 0x10, 0x05, 0x12, 0x1f, 0x0a, 0x1b, 0x4d, 0x4f, 0x42, + 0x49, 0x4c, 0x45, 0x5f, 0x4a, 0x45, 0x54, 0x53, 0x4f, 0x4e, 0x5f, 0x4c, 0x4f, 0x57, 0x5f, 0x4c, + 0x41, 0x54, 0x45, 0x4e, 0x43, 0x59, 0x5f, 0x31, 0x10, 0x06, 0x42, 0xc4, 0x01, 0x0a, 0x3c, 0x63, + 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, + 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, + 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, + 0x2e, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x1e, 0x41, 0x75, 0x74, + 0x6f, 0x4d, 0x4c, 0x56, 0x69, 0x64, 0x65, 0x6f, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x54, 0x72, + 0x61, 0x63, 0x6b, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x62, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, + 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, + 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, + 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2f, 0x64, 0x65, 0x66, 0x69, + 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x3b, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, + 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_object_tracking_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_object_tracking_proto_rawDescData = file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_object_tracking_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_object_tracking_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_object_tracking_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_object_tracking_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_object_tracking_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_object_tracking_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_object_tracking_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_object_tracking_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_object_tracking_proto_goTypes = []interface{}{ + (AutoMlVideoObjectTrackingInputs_ModelType)(0), // 0: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlVideoObjectTrackingInputs.ModelType + (*AutoMlVideoObjectTracking)(nil), // 1: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlVideoObjectTracking + (*AutoMlVideoObjectTrackingInputs)(nil), // 2: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlVideoObjectTrackingInputs +} +var file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_object_tracking_proto_depIdxs = []int32{ + 2, // 0: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlVideoObjectTracking.inputs:type_name -> google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlVideoObjectTrackingInputs + 0, // 1: google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlVideoObjectTrackingInputs.model_type:type_name -> google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlVideoObjectTrackingInputs.ModelType + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_object_tracking_proto_init() +} +func file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_object_tracking_proto_init() { + if File_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_object_tracking_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_object_tracking_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AutoMlVideoObjectTracking); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_object_tracking_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AutoMlVideoObjectTrackingInputs); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_object_tracking_proto_rawDesc, + NumEnums: 1, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_object_tracking_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_object_tracking_proto_depIdxs, + EnumInfos: file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_object_tracking_proto_enumTypes, + MessageInfos: file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_object_tracking_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_object_tracking_proto = out.File + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_object_tracking_proto_rawDesc = nil + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_object_tracking_proto_goTypes = nil + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_automl_video_object_tracking_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1/schema/trainingjob/definition/export_evaluated_data_items_config.pb.go b/googleapis/cloud/aiplatform/v1/schema/trainingjob/definition/export_evaluated_data_items_config.pb.go new file mode 100644 index 000000000..07a4e1a58 --- /dev/null +++ b/googleapis/cloud/aiplatform/v1/schema/trainingjob/definition/export_evaluated_data_items_config.pb.go @@ -0,0 +1,213 @@ +// Copyright 2020 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.25.0-devel +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1/schema/trainingjob/definition/export_evaluated_data_items_config.proto + +package definition + +import ( + reflect "reflect" + sync "sync" + + proto "github.com/golang/protobuf/proto" + _ "google.golang.org/genproto/googleapis/api/annotations" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 + +// Configuration for exporting test set predictions to a BigQuery table. +type ExportEvaluatedDataItemsConfig struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // URI of desired destination BigQuery table. Expected format: + // bq://:: + // + // If not specified, then results are exported to the following auto-created + // BigQuery table: + // + // :export_evaluated_examples__.evaluated_examples + DestinationBigqueryUri string `protobuf:"bytes,1,opt,name=destination_bigquery_uri,json=destinationBigqueryUri,proto3" json:"destination_bigquery_uri,omitempty"` + // If true and an export destination is specified, then the contents of the + // destination are overwritten. Otherwise, if the export destination already + // exists, then the export operation fails. + OverrideExistingTable bool `protobuf:"varint,2,opt,name=override_existing_table,json=overrideExistingTable,proto3" json:"override_existing_table,omitempty"` +} + +func (x *ExportEvaluatedDataItemsConfig) Reset() { + *x = ExportEvaluatedDataItemsConfig{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_export_evaluated_data_items_config_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExportEvaluatedDataItemsConfig) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExportEvaluatedDataItemsConfig) ProtoMessage() {} + +func (x *ExportEvaluatedDataItemsConfig) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1_schema_trainingjob_definition_export_evaluated_data_items_config_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ExportEvaluatedDataItemsConfig.ProtoReflect.Descriptor instead. +func (*ExportEvaluatedDataItemsConfig) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1_schema_trainingjob_definition_export_evaluated_data_items_config_proto_rawDescGZIP(), []int{0} +} + +func (x *ExportEvaluatedDataItemsConfig) GetDestinationBigqueryUri() string { + if x != nil { + return x.DestinationBigqueryUri + } + return "" +} + +func (x *ExportEvaluatedDataItemsConfig) GetOverrideExistingTable() bool { + if x != nil { + return x.OverrideExistingTable + } + return false +} + +var File_google_cloud_aiplatform_v1_schema_trainingjob_definition_export_evaluated_data_items_config_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1_schema_trainingjob_definition_export_evaluated_data_items_config_proto_rawDesc = []byte{ + 0x0a, 0x61, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, + 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x2f, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2f, + 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x65, 0x78, 0x70, 0x6f, 0x72, + 0x74, 0x5f, 0x65, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x64, 0x61, 0x74, 0x61, + 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x12, 0x38, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, + 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x6a, + 0x6f, 0x62, 0x2e, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x1c, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x92, 0x01, 0x0a, 0x1e, + 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x65, 0x64, 0x44, + 0x61, 0x74, 0x61, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x38, + 0x0a, 0x18, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x62, 0x69, + 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x16, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x69, 0x67, + 0x71, 0x75, 0x65, 0x72, 0x79, 0x55, 0x72, 0x69, 0x12, 0x36, 0x0a, 0x17, 0x6f, 0x76, 0x65, 0x72, + 0x72, 0x69, 0x64, 0x65, 0x5f, 0x65, 0x78, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x74, 0x61, + 0x62, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x15, 0x6f, 0x76, 0x65, 0x72, 0x72, + 0x69, 0x64, 0x65, 0x45, 0x78, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x54, 0x61, 0x62, 0x6c, 0x65, + 0x42, 0xc9, 0x01, 0x0a, 0x3c, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, + 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x74, 0x72, 0x61, 0x69, 0x6e, + 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2e, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, + 0x6e, 0x42, 0x23, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, + 0x65, 0x64, 0x44, 0x61, 0x74, 0x61, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x62, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, + 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, + 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x74, 0x72, 0x61, 0x69, 0x6e, + 0x69, 0x6e, 0x67, 0x6a, 0x6f, 0x62, 0x2f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, + 0x6e, 0x3b, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_export_evaluated_data_items_config_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_export_evaluated_data_items_config_proto_rawDescData = file_google_cloud_aiplatform_v1_schema_trainingjob_definition_export_evaluated_data_items_config_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1_schema_trainingjob_definition_export_evaluated_data_items_config_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_export_evaluated_data_items_config_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_export_evaluated_data_items_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1_schema_trainingjob_definition_export_evaluated_data_items_config_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1_schema_trainingjob_definition_export_evaluated_data_items_config_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1_schema_trainingjob_definition_export_evaluated_data_items_config_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_google_cloud_aiplatform_v1_schema_trainingjob_definition_export_evaluated_data_items_config_proto_goTypes = []interface{}{ + (*ExportEvaluatedDataItemsConfig)(nil), // 0: google.cloud.aiplatform.v1.schema.trainingjob.definition.ExportEvaluatedDataItemsConfig +} +var file_google_cloud_aiplatform_v1_schema_trainingjob_definition_export_evaluated_data_items_config_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_export_evaluated_data_items_config_proto_init() +} +func file_google_cloud_aiplatform_v1_schema_trainingjob_definition_export_evaluated_data_items_config_proto_init() { + if File_google_cloud_aiplatform_v1_schema_trainingjob_definition_export_evaluated_data_items_config_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_export_evaluated_data_items_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExportEvaluatedDataItemsConfig); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_google_cloud_aiplatform_v1_schema_trainingjob_definition_export_evaluated_data_items_config_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1_schema_trainingjob_definition_export_evaluated_data_items_config_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1_schema_trainingjob_definition_export_evaluated_data_items_config_proto_depIdxs, + MessageInfos: file_google_cloud_aiplatform_v1_schema_trainingjob_definition_export_evaluated_data_items_config_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1_schema_trainingjob_definition_export_evaluated_data_items_config_proto = out.File + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_export_evaluated_data_items_config_proto_rawDesc = nil + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_export_evaluated_data_items_config_proto_goTypes = nil + file_google_cloud_aiplatform_v1_schema_trainingjob_definition_export_evaluated_data_items_config_proto_depIdxs = nil +} diff --git a/googleapis/cloud/metastore/v1alpha/metastore.pb.go b/googleapis/cloud/metastore/v1alpha/metastore.pb.go index 7cb08b349..449e96f92 100644 --- a/googleapis/cloud/metastore/v1alpha/metastore.pb.go +++ b/googleapis/cloud/metastore/v1alpha/metastore.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.25.0 +// protoc-gen-go v1.25.0-devel // protoc v3.13.0 // source: google/cloud/metastore/v1alpha/metastore.proto @@ -822,7 +822,7 @@ type ListServicesRequest struct { // Optional. The filter to apply to list results. Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` // Optional. Specify the ordering of results as described in - // [Sorting Order](/apis/design/design_patterns#sorting_order). If not + // [Sorting Order](https://cloud.google.com/apis/design/design_patterns#sorting_order). If not // specified, the results will be sorted in the default order. OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` } @@ -1295,7 +1295,7 @@ type ListMetadataImportsRequest struct { // Optional. The filter to apply to list results. Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` // Optional. Specify the ordering of results as described in - // [Sorting Order](/apis/design/design_patterns#sorting_order). If not + // [Sorting Order](https://cloud.google.com/apis/design/design_patterns#sorting_order). If not // specified, the results will be sorted in the default order. OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` } diff --git a/googleapis/cloud/orgpolicy/v2/constraint.pb.go b/googleapis/cloud/orgpolicy/v2/constraint.pb.go index c40f90400..88106acb4 100644 --- a/googleapis/cloud/orgpolicy/v2/constraint.pb.go +++ b/googleapis/cloud/orgpolicy/v2/constraint.pb.go @@ -365,7 +365,7 @@ var file_google_cloud_orgpolicy_v2_constraint_proto_rawDesc = []byte{ 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x22, 0xa7, 0x06, 0x0a, 0x0a, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, + 0x6f, 0x74, 0x6f, 0x22, 0xa8, 0x06, 0x0a, 0x0a, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x05, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, @@ -403,7 +403,7 @@ var file_google_cloud_orgpolicy_v2_constraint_proto_rawDesc = []byte{ 0x52, 0x41, 0x49, 0x4e, 0x54, 0x5f, 0x44, 0x45, 0x46, 0x41, 0x55, 0x4c, 0x54, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x4c, 0x4c, 0x4f, 0x57, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x45, 0x4e, 0x59, 0x10, 0x02, - 0x3a, 0xb7, 0x01, 0xea, 0x41, 0xb3, 0x01, 0x0a, 0x23, 0x6f, 0x72, 0x67, 0x70, 0x6f, 0x6c, 0x69, + 0x3a, 0xb8, 0x01, 0xea, 0x41, 0xb4, 0x01, 0x0a, 0x23, 0x6f, 0x72, 0x67, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x12, 0x2b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, @@ -411,25 +411,25 @@ var file_google_cloud_orgpolicy_v2_constraint_proto_rawDesc = []byte{ 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x7d, 0x12, 0x29, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x7d, 0x2f, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x73, 0x2f, 0x7b, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, - 0x69, 0x6e, 0x74, 0x7d, 0x12, 0x34, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, + 0x69, 0x6e, 0x74, 0x7d, 0x12, 0x35, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x7d, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x73, 0x2f, 0x7b, 0x63, - 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x7d, 0x42, 0x11, 0x0a, 0x0f, 0x63, 0x6f, - 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x42, 0xcd, 0x01, - 0x0a, 0x1d, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, - 0x75, 0x64, 0x2e, 0x6f, 0x72, 0x67, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x76, 0x32, 0x42, - 0x0f, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, - 0x50, 0x01, 0x5a, 0x42, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, - 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, - 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, - 0x6f, 0x72, 0x67, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2f, 0x76, 0x32, 0x3b, 0x6f, 0x72, 0x67, - 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0xaa, 0x02, 0x19, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, - 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x4f, 0x72, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, - 0x56, 0x32, 0xca, 0x02, 0x19, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, - 0x64, 0x5c, 0x4f, 0x72, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5c, 0x56, 0x32, 0xea, 0x02, - 0x1c, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, - 0x4f, 0x72, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x3a, 0x3a, 0x56, 0x32, 0x62, 0x06, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x6e, 0x7d, 0x2f, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x73, 0x2f, 0x7b, + 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x7d, 0x42, 0x11, 0x0a, 0x0f, 0x63, + 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x42, 0xcd, + 0x01, 0x0a, 0x1d, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, + 0x6f, 0x75, 0x64, 0x2e, 0x6f, 0x72, 0x67, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x76, 0x32, + 0x42, 0x0f, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x74, + 0x6f, 0x50, 0x01, 0x5a, 0x42, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, + 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, + 0x2f, 0x6f, 0x72, 0x67, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2f, 0x76, 0x32, 0x3b, 0x6f, 0x72, + 0x67, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0xaa, 0x02, 0x19, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x4f, 0x72, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, + 0x2e, 0x56, 0x32, 0xca, 0x02, 0x19, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, + 0x75, 0x64, 0x5c, 0x4f, 0x72, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5c, 0x56, 0x32, 0xea, + 0x02, 0x1c, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, + 0x3a, 0x4f, 0x72, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x3a, 0x3a, 0x56, 0x32, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/googleapis/gapic/metadata/gapic_metadata.pb.go b/googleapis/gapic/metadata/gapic_metadata.pb.go new file mode 100644 index 000000000..025ce4b5e --- /dev/null +++ b/googleapis/gapic/metadata/gapic_metadata.pb.go @@ -0,0 +1,504 @@ +// Copyright 2020 Google LLC. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.25.0-devel +// protoc v3.13.0 +// source: gapic/metadata/gapic_metadata.proto + +package metadata + +import ( + reflect "reflect" + sync "sync" + + proto "github.com/golang/protobuf/proto" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 + +// Metadata about a GAPIC library for a specific combination of API, version, and +// computer language. +type GapicMetadata struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Schema version of this proto. Current value: 1.0 + Schema string `protobuf:"bytes,1,opt,name=schema,proto3" json:"schema,omitempty"` + // Any human-readable comments to be included in this file. + Comment string `protobuf:"bytes,2,opt,name=comment,proto3" json:"comment,omitempty"` + // Computer language of this generated language. This must be + // spelled out as it spoken in English, with no capitalization or + // separators (e.g. "csharp", "nodejs"). + Language string `protobuf:"bytes,3,opt,name=language,proto3" json:"language,omitempty"` + // The proto package containing the API definition for which this + // GAPIC library was generated. + ProtoPackage string `protobuf:"bytes,4,opt,name=proto_package,json=protoPackage,proto3" json:"proto_package,omitempty"` + // The language-specific library package for this GAPIC library. + LibraryPackage string `protobuf:"bytes,5,opt,name=library_package,json=libraryPackage,proto3" json:"library_package,omitempty"` + // A map from each proto-defined service to ServiceForTransports, + // which allows listing information about transport-specific + // implementations of the service. + // + // The key is the name of the service as it appears in the .proto + // file. + Services map[string]*GapicMetadata_ServiceForTransport `protobuf:"bytes,6,rep,name=services,proto3" json:"services,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *GapicMetadata) Reset() { + *x = GapicMetadata{} + if protoimpl.UnsafeEnabled { + mi := &file_gapic_metadata_gapic_metadata_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GapicMetadata) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GapicMetadata) ProtoMessage() {} + +func (x *GapicMetadata) ProtoReflect() protoreflect.Message { + mi := &file_gapic_metadata_gapic_metadata_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GapicMetadata.ProtoReflect.Descriptor instead. +func (*GapicMetadata) Descriptor() ([]byte, []int) { + return file_gapic_metadata_gapic_metadata_proto_rawDescGZIP(), []int{0} +} + +func (x *GapicMetadata) GetSchema() string { + if x != nil { + return x.Schema + } + return "" +} + +func (x *GapicMetadata) GetComment() string { + if x != nil { + return x.Comment + } + return "" +} + +func (x *GapicMetadata) GetLanguage() string { + if x != nil { + return x.Language + } + return "" +} + +func (x *GapicMetadata) GetProtoPackage() string { + if x != nil { + return x.ProtoPackage + } + return "" +} + +func (x *GapicMetadata) GetLibraryPackage() string { + if x != nil { + return x.LibraryPackage + } + return "" +} + +func (x *GapicMetadata) GetServices() map[string]*GapicMetadata_ServiceForTransport { + if x != nil { + return x.Services + } + return nil +} + +// A map from a transport name to ServiceAsClient, which allows +// listing information about the client objects that implement the +// parent RPC service for the specified transport. +// +// The key name is the transport, lower-cased with no separators +// (e.g. "grpc", "rest"). +type GapicMetadata_ServiceForTransport struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Clients map[string]*GapicMetadata_ServiceAsClient `protobuf:"bytes,1,rep,name=clients,proto3" json:"clients,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *GapicMetadata_ServiceForTransport) Reset() { + *x = GapicMetadata_ServiceForTransport{} + if protoimpl.UnsafeEnabled { + mi := &file_gapic_metadata_gapic_metadata_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GapicMetadata_ServiceForTransport) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GapicMetadata_ServiceForTransport) ProtoMessage() {} + +func (x *GapicMetadata_ServiceForTransport) ProtoReflect() protoreflect.Message { + mi := &file_gapic_metadata_gapic_metadata_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GapicMetadata_ServiceForTransport.ProtoReflect.Descriptor instead. +func (*GapicMetadata_ServiceForTransport) Descriptor() ([]byte, []int) { + return file_gapic_metadata_gapic_metadata_proto_rawDescGZIP(), []int{0, 1} +} + +func (x *GapicMetadata_ServiceForTransport) GetClients() map[string]*GapicMetadata_ServiceAsClient { + if x != nil { + return x.Clients + } + return nil +} + +// Information about a specific client implementing a proto-defined service. +type GapicMetadata_ServiceAsClient struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The name of the library client formatted as it appears in the source code + LibraryClient string `protobuf:"bytes,1,opt,name=library_client,json=libraryClient,proto3" json:"library_client,omitempty"` + // A mapping from each proto-defined RPC name to the the list of + // methods in library_client that implement it. There can be more + // than one library_client method for each RPC. RPCs with no + // library_client methods need not be included. + // + // The key name is the name of the RPC as defined and formated in + // the proto file. + Rpcs map[string]*GapicMetadata_MethodList `protobuf:"bytes,2,rep,name=rpcs,proto3" json:"rpcs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *GapicMetadata_ServiceAsClient) Reset() { + *x = GapicMetadata_ServiceAsClient{} + if protoimpl.UnsafeEnabled { + mi := &file_gapic_metadata_gapic_metadata_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GapicMetadata_ServiceAsClient) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GapicMetadata_ServiceAsClient) ProtoMessage() {} + +func (x *GapicMetadata_ServiceAsClient) ProtoReflect() protoreflect.Message { + mi := &file_gapic_metadata_gapic_metadata_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GapicMetadata_ServiceAsClient.ProtoReflect.Descriptor instead. +func (*GapicMetadata_ServiceAsClient) Descriptor() ([]byte, []int) { + return file_gapic_metadata_gapic_metadata_proto_rawDescGZIP(), []int{0, 2} +} + +func (x *GapicMetadata_ServiceAsClient) GetLibraryClient() string { + if x != nil { + return x.LibraryClient + } + return "" +} + +func (x *GapicMetadata_ServiceAsClient) GetRpcs() map[string]*GapicMetadata_MethodList { + if x != nil { + return x.Rpcs + } + return nil +} + +// List of GAPIC client methods implementing the proto-defined RPC +// for the transport and service specified in the containing +// structures. +type GapicMetadata_MethodList struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // List of methods for a specific proto-service client in the + // GAPIC. These names should be formatted as they appear in the + // source code. + Methods []string `protobuf:"bytes,1,rep,name=methods,proto3" json:"methods,omitempty"` +} + +func (x *GapicMetadata_MethodList) Reset() { + *x = GapicMetadata_MethodList{} + if protoimpl.UnsafeEnabled { + mi := &file_gapic_metadata_gapic_metadata_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GapicMetadata_MethodList) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GapicMetadata_MethodList) ProtoMessage() {} + +func (x *GapicMetadata_MethodList) ProtoReflect() protoreflect.Message { + mi := &file_gapic_metadata_gapic_metadata_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GapicMetadata_MethodList.ProtoReflect.Descriptor instead. +func (*GapicMetadata_MethodList) Descriptor() ([]byte, []int) { + return file_gapic_metadata_gapic_metadata_proto_rawDescGZIP(), []int{0, 3} +} + +func (x *GapicMetadata_MethodList) GetMethods() []string { + if x != nil { + return x.Methods + } + return nil +} + +var File_gapic_metadata_gapic_metadata_proto protoreflect.FileDescriptor + +var file_gapic_metadata_gapic_metadata_proto_rawDesc = []byte{ + 0x0a, 0x23, 0x67, 0x61, 0x70, 0x69, 0x63, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0x2f, 0x67, 0x61, 0x70, 0x69, 0x63, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x61, + 0x70, 0x69, 0x63, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 0xfe, 0x06, 0x0a, + 0x0d, 0x47, 0x61, 0x70, 0x69, 0x63, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x16, + 0x0a, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, + 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, + 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, + 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x08, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x12, 0x23, 0x0a, 0x0d, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0c, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, + 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x6c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x5f, 0x70, 0x61, 0x63, + 0x6b, 0x61, 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6c, 0x69, 0x62, 0x72, + 0x61, 0x72, 0x79, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x12, 0x4e, 0x0a, 0x08, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x61, 0x70, 0x69, 0x63, 0x2e, 0x6d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x61, 0x70, 0x69, 0x63, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x1a, 0x75, 0x0a, 0x0d, 0x53, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, + 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x4e, 0x0a, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x61, 0x70, 0x69, 0x63, 0x2e, 0x6d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x61, 0x70, 0x69, 0x63, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x46, 0x6f, 0x72, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, + 0x01, 0x1a, 0xe8, 0x01, 0x0a, 0x13, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x46, 0x6f, 0x72, + 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x5f, 0x0a, 0x07, 0x63, 0x6c, 0x69, + 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x45, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x61, 0x70, 0x69, 0x63, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x47, 0x61, 0x70, 0x69, 0x63, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x46, 0x6f, 0x72, 0x54, 0x72, 0x61, 0x6e, 0x73, + 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x52, 0x07, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x1a, 0x70, 0x0a, 0x0c, 0x43, 0x6c, + 0x69, 0x65, 0x6e, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x4a, 0x0a, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x61, 0x70, 0x69, 0x63, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x47, 0x61, 0x70, 0x69, 0x63, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x73, 0x43, 0x6c, 0x69, 0x65, 0x6e, + 0x74, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0xf6, 0x01, 0x0a, + 0x0f, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x73, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, + 0x12, 0x25, 0x0a, 0x0e, 0x6c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x5f, 0x63, 0x6c, 0x69, 0x65, + 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6c, 0x69, 0x62, 0x72, 0x61, 0x72, + 0x79, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x12, 0x52, 0x0a, 0x04, 0x72, 0x70, 0x63, 0x73, 0x18, + 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, + 0x61, 0x70, 0x69, 0x63, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x61, + 0x70, 0x69, 0x63, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x53, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x41, 0x73, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x52, 0x70, 0x63, 0x73, + 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x72, 0x70, 0x63, 0x73, 0x1a, 0x68, 0x0a, 0x09, 0x52, + 0x70, 0x63, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x45, 0x0a, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x67, 0x61, 0x70, 0x69, 0x63, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x47, 0x61, 0x70, 0x69, 0x63, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x26, 0x0a, 0x0a, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x4c, + 0x69, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x73, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x73, 0x42, 0xba, 0x01, + 0x0a, 0x19, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x61, 0x70, + 0x69, 0x63, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x42, 0x12, 0x47, 0x61, 0x70, + 0x69, 0x63, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, + 0x01, 0x5a, 0x3d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, + 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x67, 0x61, 0x70, 0x69, 0x63, 0x2f, 0x6d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x3b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0xaa, 0x02, 0x15, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x47, 0x61, 0x70, 0x69, 0x63, 0x2e, + 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xca, 0x02, 0x15, 0x47, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x5c, 0x47, 0x61, 0x70, 0x69, 0x63, 0x5c, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0xea, 0x02, 0x17, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x47, 0x61, 0x70, 0x69, 0x63, + 0x3a, 0x3a, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_gapic_metadata_gapic_metadata_proto_rawDescOnce sync.Once + file_gapic_metadata_gapic_metadata_proto_rawDescData = file_gapic_metadata_gapic_metadata_proto_rawDesc +) + +func file_gapic_metadata_gapic_metadata_proto_rawDescGZIP() []byte { + file_gapic_metadata_gapic_metadata_proto_rawDescOnce.Do(func() { + file_gapic_metadata_gapic_metadata_proto_rawDescData = protoimpl.X.CompressGZIP(file_gapic_metadata_gapic_metadata_proto_rawDescData) + }) + return file_gapic_metadata_gapic_metadata_proto_rawDescData +} + +var file_gapic_metadata_gapic_metadata_proto_msgTypes = make([]protoimpl.MessageInfo, 7) +var file_gapic_metadata_gapic_metadata_proto_goTypes = []interface{}{ + (*GapicMetadata)(nil), // 0: google.gapic.metadata.GapicMetadata + nil, // 1: google.gapic.metadata.GapicMetadata.ServicesEntry + (*GapicMetadata_ServiceForTransport)(nil), // 2: google.gapic.metadata.GapicMetadata.ServiceForTransport + (*GapicMetadata_ServiceAsClient)(nil), // 3: google.gapic.metadata.GapicMetadata.ServiceAsClient + (*GapicMetadata_MethodList)(nil), // 4: google.gapic.metadata.GapicMetadata.MethodList + nil, // 5: google.gapic.metadata.GapicMetadata.ServiceForTransport.ClientsEntry + nil, // 6: google.gapic.metadata.GapicMetadata.ServiceAsClient.RpcsEntry +} +var file_gapic_metadata_gapic_metadata_proto_depIdxs = []int32{ + 1, // 0: google.gapic.metadata.GapicMetadata.services:type_name -> google.gapic.metadata.GapicMetadata.ServicesEntry + 2, // 1: google.gapic.metadata.GapicMetadata.ServicesEntry.value:type_name -> google.gapic.metadata.GapicMetadata.ServiceForTransport + 5, // 2: google.gapic.metadata.GapicMetadata.ServiceForTransport.clients:type_name -> google.gapic.metadata.GapicMetadata.ServiceForTransport.ClientsEntry + 6, // 3: google.gapic.metadata.GapicMetadata.ServiceAsClient.rpcs:type_name -> google.gapic.metadata.GapicMetadata.ServiceAsClient.RpcsEntry + 3, // 4: google.gapic.metadata.GapicMetadata.ServiceForTransport.ClientsEntry.value:type_name -> google.gapic.metadata.GapicMetadata.ServiceAsClient + 4, // 5: google.gapic.metadata.GapicMetadata.ServiceAsClient.RpcsEntry.value:type_name -> google.gapic.metadata.GapicMetadata.MethodList + 6, // [6:6] is the sub-list for method output_type + 6, // [6:6] is the sub-list for method input_type + 6, // [6:6] is the sub-list for extension type_name + 6, // [6:6] is the sub-list for extension extendee + 0, // [0:6] is the sub-list for field type_name +} + +func init() { file_gapic_metadata_gapic_metadata_proto_init() } +func file_gapic_metadata_gapic_metadata_proto_init() { + if File_gapic_metadata_gapic_metadata_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_gapic_metadata_gapic_metadata_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GapicMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_gapic_metadata_gapic_metadata_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GapicMetadata_ServiceForTransport); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_gapic_metadata_gapic_metadata_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GapicMetadata_ServiceAsClient); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_gapic_metadata_gapic_metadata_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GapicMetadata_MethodList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_gapic_metadata_gapic_metadata_proto_rawDesc, + NumEnums: 0, + NumMessages: 7, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_gapic_metadata_gapic_metadata_proto_goTypes, + DependencyIndexes: file_gapic_metadata_gapic_metadata_proto_depIdxs, + MessageInfos: file_gapic_metadata_gapic_metadata_proto_msgTypes, + }.Build() + File_gapic_metadata_gapic_metadata_proto = out.File + file_gapic_metadata_gapic_metadata_proto_rawDesc = nil + file_gapic_metadata_gapic_metadata_proto_goTypes = nil + file_gapic_metadata_gapic_metadata_proto_depIdxs = nil +} diff --git a/googleapis/rpc/context/attribute_context/attribute_context.pb.go b/googleapis/rpc/context/attribute_context/attribute_context.pb.go index 96629cf98..10f599ae2 100644 --- a/googleapis/rpc/context/attribute_context/attribute_context.pb.go +++ b/googleapis/rpc/context/attribute_context/attribute_context.pb.go @@ -14,7 +14,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.25.0 +// protoc-gen-go v1.25.0-devel // protoc v3.13.0 // source: google/rpc/context/attribute_context.proto @@ -28,6 +28,7 @@ import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" anypb "google.golang.org/protobuf/types/known/anypb" + durationpb "google.golang.org/protobuf/types/known/durationpb" structpb "google.golang.org/protobuf/types/known/structpb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) @@ -509,7 +510,7 @@ type AttributeContext_Request struct { // The HTTP URL query in the format of `name1=value1&name2=value2`, as it // appears in the first line of the HTTP request. No decoding is performed. Query string `protobuf:"bytes,7,opt,name=query,proto3" json:"query,omitempty"` - // The timestamp when the `destination` service receives the first byte of + // The timestamp when the `destination` service receives the last byte of // the request. Time *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=time,proto3" json:"time,omitempty"` // The HTTP request size in bytes. If unknown, it must be -1. @@ -658,9 +659,14 @@ type AttributeContext_Response struct { // must be merged according to HTTP spec. All header keys must be // lowercased, because HTTP header keys are case-insensitive. Headers map[string]string `protobuf:"bytes,3,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - // The timestamp when the `destination` service generates the first byte of + // The timestamp when the `destination` service sends the last byte of // the response. Time *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=time,proto3" json:"time,omitempty"` + // The length of time it takes the backend service to fully respond to a + // request. Measured from when the destination service starts to send the + // request to the backend until when the destination service receives the + // complete response from the backend. + BackendLatency *durationpb.Duration `protobuf:"bytes,5,opt,name=backend_latency,json=backendLatency,proto3" json:"backend_latency,omitempty"` } func (x *AttributeContext_Response) Reset() { @@ -723,6 +729,13 @@ func (x *AttributeContext_Response) GetTime() *timestamppb.Timestamp { return nil } +func (x *AttributeContext_Response) GetBackendLatency() *durationpb.Duration { + if x != nil { + return x.BackendLatency + } + return nil +} + // This message defines core attributes for a resource. A resource is an // addressable (named) entity provided by the destination service. For // example, a file stored on a network storage service. @@ -756,6 +769,43 @@ type AttributeContext_Resource struct { // The labels or tags on the resource, such as AWS resource tags and // Kubernetes resource labels. Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // The unique identifier of the resource. UID is unique in the time + // and space for this resource within the scope of the service. It is + // typically generated by the server on successful creation of a resource + // and must not be changed. UID is used to uniquely identify resources + // with resource name reuses. This should be a UUID4. + Uid string `protobuf:"bytes,5,opt,name=uid,proto3" json:"uid,omitempty"` + // Annotations is an unstructured key-value map stored with a resource that + // may be set by external tools to store and retrieve arbitrary metadata. + // They are not queryable and should be preserved when modifying objects. + // + // More info: https://kubernetes.io/docs/user-guide/annotations + Annotations map[string]string `protobuf:"bytes,6,rep,name=annotations,proto3" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // Mutable. The display name set by clients. Must be <= 63 characters. + DisplayName string `protobuf:"bytes,7,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` + // Output only. The timestamp when the resource was created. This may + // be either the time creation was initiated or when it was completed. + CreateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + // Output only. The timestamp when the resource was last updated. Any + // change to the resource made by users must refresh this value. + // Changes to a resource made by the service should refresh this value. + UpdateTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` + // Output only. The timestamp when the resource was deleted. + // If the resource is not deleted, this must be empty. + DeleteTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"` + // Output only. An opaque value that uniquely identifies a version or + // generation of a resource. It can be used to confirm that the client + // and server agree on the ordering of a resource being written. + Etag string `protobuf:"bytes,11,opt,name=etag,proto3" json:"etag,omitempty"` + // Immutable. The location of the resource. The location encoding is + // specific to the service provider, and new encoding may be introduced + // as the service evolves. + // + // For Google Cloud products, the encoding is what is used by Google Cloud + // APIs, such as `us-east1`, `aws-us-east-1`, and `azure-eastus2`. The + // semantics of `location` is identical to the + // `cloud.googleapis.com/location` label used by some Google Cloud APIs. + Location string `protobuf:"bytes,12,opt,name=location,proto3" json:"location,omitempty"` } func (x *AttributeContext_Resource) Reset() { @@ -818,6 +868,62 @@ func (x *AttributeContext_Resource) GetLabels() map[string]string { return nil } +func (x *AttributeContext_Resource) GetUid() string { + if x != nil { + return x.Uid + } + return "" +} + +func (x *AttributeContext_Resource) GetAnnotations() map[string]string { + if x != nil { + return x.Annotations + } + return nil +} + +func (x *AttributeContext_Resource) GetDisplayName() string { + if x != nil { + return x.DisplayName + } + return "" +} + +func (x *AttributeContext_Resource) GetCreateTime() *timestamppb.Timestamp { + if x != nil { + return x.CreateTime + } + return nil +} + +func (x *AttributeContext_Resource) GetUpdateTime() *timestamppb.Timestamp { + if x != nil { + return x.UpdateTime + } + return nil +} + +func (x *AttributeContext_Resource) GetDeleteTime() *timestamppb.Timestamp { + if x != nil { + return x.DeleteTime + } + return nil +} + +func (x *AttributeContext_Resource) GetEtag() string { + if x != nil { + return x.Etag + } + return "" +} + +func (x *AttributeContext_Resource) GetLocation() string { + if x != nil { + return x.Location + } + return "" +} + var File_google_rpc_context_attribute_context_proto protoreflect.FileDescriptor var file_google_rpc_context_attribute_context_proto_rawDesc = []byte{ @@ -826,11 +932,13 @@ var file_google_rpc_context_attribute_context_proto_rawDesc = []byte{ 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, + 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, - 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xff, 0x0f, 0x0a, 0x10, 0x41, + 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x81, 0x14, 0x0a, 0x10, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x41, 0x0a, 0x06, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x63, 0x6f, 0x6e, @@ -929,7 +1037,7 @@ var file_google_rpc_context_attribute_context_proto_rawDesc = []byte{ 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0xf4, 0x01, 0x0a, 0x08, 0x52, 0x65, 0x73, + 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0xb8, 0x02, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x54, 0x0a, @@ -941,34 +1049,66 @@ var file_google_rpc_context_attribute_context_proto_rawDesc = []byte{ 0x65, 0x72, 0x73, 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x74, - 0x69, 0x6d, 0x65, 0x1a, 0x3a, 0x0a, 0x0c, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x45, 0x6e, - 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, - 0xda, 0x01, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x18, 0x0a, 0x07, - 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, - 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x51, - 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x39, - 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x63, 0x6f, 0x6e, 0x74, - 0x65, 0x78, 0x74, 0x2e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x6e, - 0x74, 0x65, 0x78, 0x74, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x4c, 0x61, - 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, - 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, - 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, - 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x8b, 0x01, 0x0a, - 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x72, 0x70, 0x63, 0x2e, - 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x42, 0x15, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, - 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, - 0x5a, 0x55, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, - 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x63, 0x6f, 0x6e, 0x74, - 0x65, 0x78, 0x74, 0x2f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x5f, 0x63, 0x6f, - 0x6e, 0x74, 0x65, 0x78, 0x74, 0x3b, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x5f, - 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0xf8, 0x01, 0x01, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x33, + 0x69, 0x6d, 0x65, 0x12, 0x42, 0x0a, 0x0f, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x5f, 0x6c, + 0x61, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, + 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, + 0x4c, 0x61, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x1a, 0x3a, 0x0a, 0x0c, 0x48, 0x65, 0x61, 0x64, 0x65, + 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, + 0x02, 0x38, 0x01, 0x1a, 0x98, 0x05, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x12, 0x18, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, + 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, + 0x70, 0x65, 0x12, 0x51, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x04, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x72, 0x70, 0x63, 0x2e, + 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x2e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, + 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, + 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x60, 0x0a, 0x0b, 0x61, 0x6e, 0x6e, 0x6f, 0x74, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3e, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, + 0x74, 0x2e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, + 0x78, 0x74, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, + 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x61, 0x6e, + 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, + 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x0b, + 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x63, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, + 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, + 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, + 0x69, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x65, 0x74, 0x61, 0x67, 0x18, 0x0b, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x04, 0x65, 0x74, 0x61, 0x67, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x3e, + 0x0a, 0x10, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x8b, + 0x01, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x72, 0x70, + 0x63, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x42, 0x15, 0x41, 0x74, 0x74, 0x72, 0x69, + 0x62, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, + 0x50, 0x01, 0x5a, 0x55, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, + 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x63, 0x6f, + 0x6e, 0x74, 0x65, 0x78, 0x74, 0x2f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x5f, + 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x3b, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, + 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0xf8, 0x01, 0x01, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -983,7 +1123,7 @@ func file_google_rpc_context_attribute_context_proto_rawDescGZIP() []byte { return file_google_rpc_context_attribute_context_proto_rawDescData } -var file_google_rpc_context_attribute_context_proto_msgTypes = make([]protoimpl.MessageInfo, 11) +var file_google_rpc_context_attribute_context_proto_msgTypes = make([]protoimpl.MessageInfo, 12) var file_google_rpc_context_attribute_context_proto_goTypes = []interface{}{ (*AttributeContext)(nil), // 0: google.rpc.context.AttributeContext (*AttributeContext_Peer)(nil), // 1: google.rpc.context.AttributeContext.Peer @@ -996,9 +1136,11 @@ var file_google_rpc_context_attribute_context_proto_goTypes = []interface{}{ nil, // 8: google.rpc.context.AttributeContext.Request.HeadersEntry nil, // 9: google.rpc.context.AttributeContext.Response.HeadersEntry nil, // 10: google.rpc.context.AttributeContext.Resource.LabelsEntry - (*anypb.Any)(nil), // 11: google.protobuf.Any - (*structpb.Struct)(nil), // 12: google.protobuf.Struct - (*timestamppb.Timestamp)(nil), // 13: google.protobuf.Timestamp + nil, // 11: google.rpc.context.AttributeContext.Resource.AnnotationsEntry + (*anypb.Any)(nil), // 12: google.protobuf.Any + (*structpb.Struct)(nil), // 13: google.protobuf.Struct + (*timestamppb.Timestamp)(nil), // 14: google.protobuf.Timestamp + (*durationpb.Duration)(nil), // 15: google.protobuf.Duration } var file_google_rpc_context_attribute_context_proto_depIdxs = []int32{ 1, // 0: google.rpc.context.AttributeContext.origin:type_name -> google.rpc.context.AttributeContext.Peer @@ -1008,20 +1150,25 @@ var file_google_rpc_context_attribute_context_proto_depIdxs = []int32{ 5, // 4: google.rpc.context.AttributeContext.response:type_name -> google.rpc.context.AttributeContext.Response 6, // 5: google.rpc.context.AttributeContext.resource:type_name -> google.rpc.context.AttributeContext.Resource 2, // 6: google.rpc.context.AttributeContext.api:type_name -> google.rpc.context.AttributeContext.Api - 11, // 7: google.rpc.context.AttributeContext.extensions:type_name -> google.protobuf.Any + 12, // 7: google.rpc.context.AttributeContext.extensions:type_name -> google.protobuf.Any 7, // 8: google.rpc.context.AttributeContext.Peer.labels:type_name -> google.rpc.context.AttributeContext.Peer.LabelsEntry - 12, // 9: google.rpc.context.AttributeContext.Auth.claims:type_name -> google.protobuf.Struct + 13, // 9: google.rpc.context.AttributeContext.Auth.claims:type_name -> google.protobuf.Struct 8, // 10: google.rpc.context.AttributeContext.Request.headers:type_name -> google.rpc.context.AttributeContext.Request.HeadersEntry - 13, // 11: google.rpc.context.AttributeContext.Request.time:type_name -> google.protobuf.Timestamp + 14, // 11: google.rpc.context.AttributeContext.Request.time:type_name -> google.protobuf.Timestamp 3, // 12: google.rpc.context.AttributeContext.Request.auth:type_name -> google.rpc.context.AttributeContext.Auth 9, // 13: google.rpc.context.AttributeContext.Response.headers:type_name -> google.rpc.context.AttributeContext.Response.HeadersEntry - 13, // 14: google.rpc.context.AttributeContext.Response.time:type_name -> google.protobuf.Timestamp - 10, // 15: google.rpc.context.AttributeContext.Resource.labels:type_name -> google.rpc.context.AttributeContext.Resource.LabelsEntry - 16, // [16:16] is the sub-list for method output_type - 16, // [16:16] is the sub-list for method input_type - 16, // [16:16] is the sub-list for extension type_name - 16, // [16:16] is the sub-list for extension extendee - 0, // [0:16] is the sub-list for field type_name + 14, // 14: google.rpc.context.AttributeContext.Response.time:type_name -> google.protobuf.Timestamp + 15, // 15: google.rpc.context.AttributeContext.Response.backend_latency:type_name -> google.protobuf.Duration + 10, // 16: google.rpc.context.AttributeContext.Resource.labels:type_name -> google.rpc.context.AttributeContext.Resource.LabelsEntry + 11, // 17: google.rpc.context.AttributeContext.Resource.annotations:type_name -> google.rpc.context.AttributeContext.Resource.AnnotationsEntry + 14, // 18: google.rpc.context.AttributeContext.Resource.create_time:type_name -> google.protobuf.Timestamp + 14, // 19: google.rpc.context.AttributeContext.Resource.update_time:type_name -> google.protobuf.Timestamp + 14, // 20: google.rpc.context.AttributeContext.Resource.delete_time:type_name -> google.protobuf.Timestamp + 21, // [21:21] is the sub-list for method output_type + 21, // [21:21] is the sub-list for method input_type + 21, // [21:21] is the sub-list for extension type_name + 21, // [21:21] is the sub-list for extension extendee + 0, // [0:21] is the sub-list for field type_name } func init() { file_google_rpc_context_attribute_context_proto_init() } @@ -1121,7 +1268,7 @@ func file_google_rpc_context_attribute_context_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_google_rpc_context_attribute_context_proto_rawDesc, NumEnums: 0, - NumMessages: 11, + NumMessages: 12, NumExtensions: 0, NumServices: 0, }, diff --git a/regen.txt b/regen.txt index ff373af04..59fd4027c 100644 --- a/regen.txt +++ b/regen.txt @@ -1 +1 @@ -5e27c5cafe0952f50ff81552526b3e3d333ef2c3 \ No newline at end of file +35ce99fec72979f6f9b2a5adae835a49648a3231 \ No newline at end of file