From 025a87e58c6cb36a5eba7defc5e392ad90dd5531 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Thu, 19 Nov 2020 00:07:24 +0000 Subject: [PATCH] feat(all): auto-regenerate .pb.go files This is an auto-generated regeneration of the .pb.go files by cloud.google.com/go/internal/gapicgen. Once this PR is submitted, genbot will update the corresponding PR to depend on the newer version of go-genproto, and assign reviewers. Whilst this or any regen PR is open in go-genproto, genbot will not create any more regeneration PRs. If all regen PRs are closed, gapicgen will create a new set of regeneration PRs once per night. If you have been assigned to review this PR, please: - Ensure that CI is passing. If it's failing, it requires your manual attention. - Approve and submit this PR if you believe it's ready to ship. That will prompt genbot to assign reviewers to the google-cloud-go PR. Corresponding google-cloud-go PR: googleapis/google-cloud-go#3229 --- .../v1beta1/schema/annotation_payload.pb.go | 1532 ++++++++++ .../schema/annotation_spec_color.pb.go | 211 ++ .../v1beta1/schema/data_item_payload.pb.go | 354 +++ .../v1beta1/schema/dataset_metadata.pb.go | 1011 +++++++ .../aiplatform/v1beta1/schema/geometry.pb.go | 190 ++ .../aiplatform/v1beta1/schema/io_format.pb.go | 2541 +++++++++++++++++ .../instance/image_classification.pb.go | 209 ++ .../instance/image_object_detection.pb.go | 209 ++ .../predict/instance/image_segmentation.pb.go | 203 ++ .../instance/text_classification.pb.go | 202 ++ .../predict/instance/text_extraction.pb.go | 216 ++ .../predict/instance/text_sentiment.pb.go | 199 ++ .../instance/video_action_recognition.pb.go | 234 ++ .../instance/video_classification.pb.go | 233 ++ .../instance/video_object_tracking.pb.go | 233 ++ .../predict/params/image_classification.pb.go | 205 ++ .../params/image_object_detection.pb.go | 205 ++ .../predict/params/image_segmentation.pb.go | 193 ++ .../params/video_action_recognition.pb.go | 206 ++ .../predict/params/video_classification.pb.go | 259 ++ .../params/video_object_tracking.pb.go | 218 ++ .../predict/prediction/classification.pb.go | 214 ++ .../prediction/image_object_detection.pb.go | 238 ++ .../prediction/image_segmentation.pb.go | 211 ++ .../prediction/tabular_classification.pb.go | 204 ++ .../prediction/tabular_regression.pb.go | 212 ++ .../predict/prediction/text_extraction.pb.go | 244 ++ .../predict/prediction/text_sentiment.pb.go | 291 ++ .../prediction/time_series_forecasting.pb.go | 212 ++ .../prediction/video_action_recognition.pb.go | 259 ++ .../prediction/video_classification.pb.go | 279 ++ .../prediction/video_object_tracking.pb.go | 403 +++ .../v1beta1/schema/saved_query_metadata.pb.go | 326 +++ .../definition/automl_forecasting.pb.go | 1603 +++++++++++ .../automl_image_classification.pb.go | 593 ++++ .../automl_image_object_detection.pb.go | 573 ++++ .../automl_image_segmentation.pb.go | 540 ++++ .../definition/automl_tables.pb.go | 1500 ++++++++++ .../automl_text_classification.pb.go | 261 ++ .../definition/automl_text_extraction.pb.go | 249 ++ .../definition/automl_text_sentiment.pb.go | 267 ++ .../automl_video_action_recognition.pb.go | 334 +++ .../automl_video_classification.pb.go | 332 +++ .../automl_video_object_tracking.pb.go | 360 +++ .../export_evaluated_data_items_config.pb.go | 212 ++ regen.txt | 2 +- 46 files changed, 18981 insertions(+), 1 deletion(-) create mode 100644 googleapis/cloud/aiplatform/v1beta1/schema/annotation_payload.pb.go create mode 100644 googleapis/cloud/aiplatform/v1beta1/schema/annotation_spec_color.pb.go create mode 100644 googleapis/cloud/aiplatform/v1beta1/schema/data_item_payload.pb.go create mode 100644 googleapis/cloud/aiplatform/v1beta1/schema/dataset_metadata.pb.go create mode 100644 googleapis/cloud/aiplatform/v1beta1/schema/geometry.pb.go create mode 100644 googleapis/cloud/aiplatform/v1beta1/schema/io_format.pb.go create mode 100644 googleapis/cloud/aiplatform/v1beta1/schema/predict/instance/image_classification.pb.go create mode 100644 googleapis/cloud/aiplatform/v1beta1/schema/predict/instance/image_object_detection.pb.go create mode 100644 googleapis/cloud/aiplatform/v1beta1/schema/predict/instance/image_segmentation.pb.go create mode 100644 googleapis/cloud/aiplatform/v1beta1/schema/predict/instance/text_classification.pb.go create mode 100644 googleapis/cloud/aiplatform/v1beta1/schema/predict/instance/text_extraction.pb.go create mode 100644 googleapis/cloud/aiplatform/v1beta1/schema/predict/instance/text_sentiment.pb.go create mode 100644 googleapis/cloud/aiplatform/v1beta1/schema/predict/instance/video_action_recognition.pb.go create mode 100644 googleapis/cloud/aiplatform/v1beta1/schema/predict/instance/video_classification.pb.go create mode 100644 googleapis/cloud/aiplatform/v1beta1/schema/predict/instance/video_object_tracking.pb.go create mode 100644 googleapis/cloud/aiplatform/v1beta1/schema/predict/params/image_classification.pb.go create mode 100644 googleapis/cloud/aiplatform/v1beta1/schema/predict/params/image_object_detection.pb.go create mode 100644 googleapis/cloud/aiplatform/v1beta1/schema/predict/params/image_segmentation.pb.go create mode 100644 googleapis/cloud/aiplatform/v1beta1/schema/predict/params/video_action_recognition.pb.go create mode 100644 googleapis/cloud/aiplatform/v1beta1/schema/predict/params/video_classification.pb.go create mode 100644 googleapis/cloud/aiplatform/v1beta1/schema/predict/params/video_object_tracking.pb.go create mode 100644 googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction/classification.pb.go create mode 100644 googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction/image_object_detection.pb.go create mode 100644 googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction/image_segmentation.pb.go create mode 100644 googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction/tabular_classification.pb.go create mode 100644 googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction/tabular_regression.pb.go create mode 100644 googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction/text_extraction.pb.go create mode 100644 googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction/text_sentiment.pb.go create mode 100644 googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction/time_series_forecasting.pb.go create mode 100644 googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction/video_action_recognition.pb.go create mode 100644 googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction/video_classification.pb.go create mode 100644 googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction/video_object_tracking.pb.go create mode 100644 googleapis/cloud/aiplatform/v1beta1/schema/saved_query_metadata.pb.go create mode 100644 googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_forecasting.pb.go create mode 100644 googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_image_classification.pb.go create mode 100644 googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_image_object_detection.pb.go create mode 100644 googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_image_segmentation.pb.go create mode 100644 googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_tables.pb.go create mode 100644 googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_text_classification.pb.go create mode 100644 googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_text_extraction.pb.go create mode 100644 googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_text_sentiment.pb.go create mode 100644 googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_video_action_recognition.pb.go create mode 100644 googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_video_classification.pb.go create mode 100644 googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_video_object_tracking.pb.go create mode 100644 googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition/export_evaluated_data_items_config.pb.go diff --git a/googleapis/cloud/aiplatform/v1beta1/schema/annotation_payload.pb.go b/googleapis/cloud/aiplatform/v1beta1/schema/annotation_payload.pb.go new file mode 100644 index 000000000..deb8f67ee --- /dev/null +++ b/googleapis/cloud/aiplatform/v1beta1/schema/annotation_payload.pb.go @@ -0,0 +1,1532 @@ +// 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 +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1beta1/schema/annotation_payload.proto + +package schema + +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" +) + +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 + +// Annotation details specific to image classification. +type ImageClassificationAnnotation struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The resource Id of the AnnotationSpec that this Annotation pertains to. + AnnotationSpecId string `protobuf:"bytes,1,opt,name=annotation_spec_id,json=annotationSpecId,proto3" json:"annotation_spec_id,omitempty"` + // The display name of the AnnotationSpec that this Annotation pertains to. + DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` +} + +func (x *ImageClassificationAnnotation) Reset() { + *x = ImageClassificationAnnotation{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1beta1_schema_annotation_payload_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ImageClassificationAnnotation) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ImageClassificationAnnotation) ProtoMessage() {} + +func (x *ImageClassificationAnnotation) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1beta1_schema_annotation_payload_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 ImageClassificationAnnotation.ProtoReflect.Descriptor instead. +func (*ImageClassificationAnnotation) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1beta1_schema_annotation_payload_proto_rawDescGZIP(), []int{0} +} + +func (x *ImageClassificationAnnotation) GetAnnotationSpecId() string { + if x != nil { + return x.AnnotationSpecId + } + return "" +} + +func (x *ImageClassificationAnnotation) GetDisplayName() string { + if x != nil { + return x.DisplayName + } + return "" +} + +// Annotation details specific to image object detection. +type ImageBoundingBoxAnnotation struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The resource Id of the AnnotationSpec that this Annotation pertains to. + AnnotationSpecId string `protobuf:"bytes,1,opt,name=annotation_spec_id,json=annotationSpecId,proto3" json:"annotation_spec_id,omitempty"` + // The display name of the AnnotationSpec that this Annotation pertains to. + DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` + // The leftmost coordinate of the bounding box. + XMin float64 `protobuf:"fixed64,3,opt,name=x_min,json=xMin,proto3" json:"x_min,omitempty"` + // The rightmost coordinate of the bounding box. + XMax float64 `protobuf:"fixed64,4,opt,name=x_max,json=xMax,proto3" json:"x_max,omitempty"` + // The topmost coordinate of the bounding box. + YMin float64 `protobuf:"fixed64,5,opt,name=y_min,json=yMin,proto3" json:"y_min,omitempty"` + // The bottommost coordinate of the bounding box. + YMax float64 `protobuf:"fixed64,6,opt,name=y_max,json=yMax,proto3" json:"y_max,omitempty"` +} + +func (x *ImageBoundingBoxAnnotation) Reset() { + *x = ImageBoundingBoxAnnotation{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1beta1_schema_annotation_payload_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ImageBoundingBoxAnnotation) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ImageBoundingBoxAnnotation) ProtoMessage() {} + +func (x *ImageBoundingBoxAnnotation) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1beta1_schema_annotation_payload_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 ImageBoundingBoxAnnotation.ProtoReflect.Descriptor instead. +func (*ImageBoundingBoxAnnotation) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1beta1_schema_annotation_payload_proto_rawDescGZIP(), []int{1} +} + +func (x *ImageBoundingBoxAnnotation) GetAnnotationSpecId() string { + if x != nil { + return x.AnnotationSpecId + } + return "" +} + +func (x *ImageBoundingBoxAnnotation) GetDisplayName() string { + if x != nil { + return x.DisplayName + } + return "" +} + +func (x *ImageBoundingBoxAnnotation) GetXMin() float64 { + if x != nil { + return x.XMin + } + return 0 +} + +func (x *ImageBoundingBoxAnnotation) GetXMax() float64 { + if x != nil { + return x.XMax + } + return 0 +} + +func (x *ImageBoundingBoxAnnotation) GetYMin() float64 { + if x != nil { + return x.YMin + } + return 0 +} + +func (x *ImageBoundingBoxAnnotation) GetYMax() float64 { + if x != nil { + return x.YMax + } + return 0 +} + +// Annotation details specific to image segmentation. +type ImageSegmentationAnnotation struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Annotation: + // *ImageSegmentationAnnotation_MaskAnnotation_ + // *ImageSegmentationAnnotation_PolygonAnnotation_ + // *ImageSegmentationAnnotation_PolylineAnnotation_ + Annotation isImageSegmentationAnnotation_Annotation `protobuf_oneof:"annotation"` +} + +func (x *ImageSegmentationAnnotation) Reset() { + *x = ImageSegmentationAnnotation{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1beta1_schema_annotation_payload_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ImageSegmentationAnnotation) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ImageSegmentationAnnotation) ProtoMessage() {} + +func (x *ImageSegmentationAnnotation) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1beta1_schema_annotation_payload_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 ImageSegmentationAnnotation.ProtoReflect.Descriptor instead. +func (*ImageSegmentationAnnotation) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1beta1_schema_annotation_payload_proto_rawDescGZIP(), []int{2} +} + +func (m *ImageSegmentationAnnotation) GetAnnotation() isImageSegmentationAnnotation_Annotation { + if m != nil { + return m.Annotation + } + return nil +} + +func (x *ImageSegmentationAnnotation) GetMaskAnnotation() *ImageSegmentationAnnotation_MaskAnnotation { + if x, ok := x.GetAnnotation().(*ImageSegmentationAnnotation_MaskAnnotation_); ok { + return x.MaskAnnotation + } + return nil +} + +func (x *ImageSegmentationAnnotation) GetPolygonAnnotation() *ImageSegmentationAnnotation_PolygonAnnotation { + if x, ok := x.GetAnnotation().(*ImageSegmentationAnnotation_PolygonAnnotation_); ok { + return x.PolygonAnnotation + } + return nil +} + +func (x *ImageSegmentationAnnotation) GetPolylineAnnotation() *ImageSegmentationAnnotation_PolylineAnnotation { + if x, ok := x.GetAnnotation().(*ImageSegmentationAnnotation_PolylineAnnotation_); ok { + return x.PolylineAnnotation + } + return nil +} + +type isImageSegmentationAnnotation_Annotation interface { + isImageSegmentationAnnotation_Annotation() +} + +type ImageSegmentationAnnotation_MaskAnnotation_ struct { + // Mask based segmentation annotation. Only one mask annotation can exist + // for one image. + MaskAnnotation *ImageSegmentationAnnotation_MaskAnnotation `protobuf:"bytes,3,opt,name=mask_annotation,json=maskAnnotation,proto3,oneof"` +} + +type ImageSegmentationAnnotation_PolygonAnnotation_ struct { + // Polygon annotation. + PolygonAnnotation *ImageSegmentationAnnotation_PolygonAnnotation `protobuf:"bytes,4,opt,name=polygon_annotation,json=polygonAnnotation,proto3,oneof"` +} + +type ImageSegmentationAnnotation_PolylineAnnotation_ struct { + // Polyline annotation. + PolylineAnnotation *ImageSegmentationAnnotation_PolylineAnnotation `protobuf:"bytes,5,opt,name=polyline_annotation,json=polylineAnnotation,proto3,oneof"` +} + +func (*ImageSegmentationAnnotation_MaskAnnotation_) isImageSegmentationAnnotation_Annotation() {} + +func (*ImageSegmentationAnnotation_PolygonAnnotation_) isImageSegmentationAnnotation_Annotation() {} + +func (*ImageSegmentationAnnotation_PolylineAnnotation_) isImageSegmentationAnnotation_Annotation() {} + +// Annotation details specific to text classification. +type TextClassificationAnnotation struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The resource Id of the AnnotationSpec that this Annotation pertains to. + AnnotationSpecId string `protobuf:"bytes,1,opt,name=annotation_spec_id,json=annotationSpecId,proto3" json:"annotation_spec_id,omitempty"` + // The display name of the AnnotationSpec that this Annotation pertains to. + DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` +} + +func (x *TextClassificationAnnotation) Reset() { + *x = TextClassificationAnnotation{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1beta1_schema_annotation_payload_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TextClassificationAnnotation) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TextClassificationAnnotation) ProtoMessage() {} + +func (x *TextClassificationAnnotation) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1beta1_schema_annotation_payload_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 TextClassificationAnnotation.ProtoReflect.Descriptor instead. +func (*TextClassificationAnnotation) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1beta1_schema_annotation_payload_proto_rawDescGZIP(), []int{3} +} + +func (x *TextClassificationAnnotation) GetAnnotationSpecId() string { + if x != nil { + return x.AnnotationSpecId + } + return "" +} + +func (x *TextClassificationAnnotation) GetDisplayName() string { + if x != nil { + return x.DisplayName + } + return "" +} + +// Annotation details specific to text extraction. +type TextExtractionAnnotation struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The segment of the text content. + TextSegment *TextSegment `protobuf:"bytes,1,opt,name=text_segment,json=textSegment,proto3" json:"text_segment,omitempty"` + // The resource Id of the AnnotationSpec that this Annotation pertains to. + AnnotationSpecId string `protobuf:"bytes,2,opt,name=annotation_spec_id,json=annotationSpecId,proto3" json:"annotation_spec_id,omitempty"` + // The display name of the AnnotationSpec that this Annotation pertains to. + DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` +} + +func (x *TextExtractionAnnotation) Reset() { + *x = TextExtractionAnnotation{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1beta1_schema_annotation_payload_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TextExtractionAnnotation) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TextExtractionAnnotation) ProtoMessage() {} + +func (x *TextExtractionAnnotation) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1beta1_schema_annotation_payload_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 TextExtractionAnnotation.ProtoReflect.Descriptor instead. +func (*TextExtractionAnnotation) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1beta1_schema_annotation_payload_proto_rawDescGZIP(), []int{4} +} + +func (x *TextExtractionAnnotation) GetTextSegment() *TextSegment { + if x != nil { + return x.TextSegment + } + return nil +} + +func (x *TextExtractionAnnotation) GetAnnotationSpecId() string { + if x != nil { + return x.AnnotationSpecId + } + return "" +} + +func (x *TextExtractionAnnotation) GetDisplayName() string { + if x != nil { + return x.DisplayName + } + return "" +} + +// The text segment inside of DataItem. +type TextSegment struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Zero-based character index of the first character of the text + // segment (counting characters from the beginning of the text). + StartOffset uint64 `protobuf:"varint,1,opt,name=start_offset,json=startOffset,proto3" json:"start_offset,omitempty"` + // Zero-based character index of the first character past the end of + // the text segment (counting character from the beginning of the text). + // The character at the end_offset is NOT included in the text segment. + EndOffset uint64 `protobuf:"varint,2,opt,name=end_offset,json=endOffset,proto3" json:"end_offset,omitempty"` + // The text content in the segment for output only. + Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` +} + +func (x *TextSegment) Reset() { + *x = TextSegment{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1beta1_schema_annotation_payload_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TextSegment) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TextSegment) ProtoMessage() {} + +func (x *TextSegment) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1beta1_schema_annotation_payload_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 TextSegment.ProtoReflect.Descriptor instead. +func (*TextSegment) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1beta1_schema_annotation_payload_proto_rawDescGZIP(), []int{5} +} + +func (x *TextSegment) GetStartOffset() uint64 { + if x != nil { + return x.StartOffset + } + return 0 +} + +func (x *TextSegment) GetEndOffset() uint64 { + if x != nil { + return x.EndOffset + } + return 0 +} + +func (x *TextSegment) GetContent() string { + if x != nil { + return x.Content + } + return "" +} + +// Annotation details specific to text sentiment. +type TextSentimentAnnotation struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The sentiment score for text. + Sentiment int32 `protobuf:"varint,1,opt,name=sentiment,proto3" json:"sentiment,omitempty"` + // The sentiment max score for text. + SentimentMax int32 `protobuf:"varint,2,opt,name=sentiment_max,json=sentimentMax,proto3" json:"sentiment_max,omitempty"` + // The resource Id of the AnnotationSpec that this Annotation pertains to. + AnnotationSpecId string `protobuf:"bytes,3,opt,name=annotation_spec_id,json=annotationSpecId,proto3" json:"annotation_spec_id,omitempty"` + // The display name of the AnnotationSpec that this Annotation pertains to. + DisplayName string `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` +} + +func (x *TextSentimentAnnotation) Reset() { + *x = TextSentimentAnnotation{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1beta1_schema_annotation_payload_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TextSentimentAnnotation) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TextSentimentAnnotation) ProtoMessage() {} + +func (x *TextSentimentAnnotation) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1beta1_schema_annotation_payload_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 TextSentimentAnnotation.ProtoReflect.Descriptor instead. +func (*TextSentimentAnnotation) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1beta1_schema_annotation_payload_proto_rawDescGZIP(), []int{6} +} + +func (x *TextSentimentAnnotation) GetSentiment() int32 { + if x != nil { + return x.Sentiment + } + return 0 +} + +func (x *TextSentimentAnnotation) GetSentimentMax() int32 { + if x != nil { + return x.SentimentMax + } + return 0 +} + +func (x *TextSentimentAnnotation) GetAnnotationSpecId() string { + if x != nil { + return x.AnnotationSpecId + } + return "" +} + +func (x *TextSentimentAnnotation) GetDisplayName() string { + if x != nil { + return x.DisplayName + } + return "" +} + +// Annotation details specific to video classification. +type VideoClassificationAnnotation struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This Annotation applies to the time period represented by the TimeSegment. + // If it's not set, the Annotation applies to the whole video. + TimeSegment *TimeSegment `protobuf:"bytes,1,opt,name=time_segment,json=timeSegment,proto3" json:"time_segment,omitempty"` + // The resource Id of the AnnotationSpec that this Annotation pertains to. + AnnotationSpecId string `protobuf:"bytes,2,opt,name=annotation_spec_id,json=annotationSpecId,proto3" json:"annotation_spec_id,omitempty"` + // The display name of the AnnotationSpec that this Annotation pertains to. + DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` +} + +func (x *VideoClassificationAnnotation) Reset() { + *x = VideoClassificationAnnotation{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1beta1_schema_annotation_payload_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VideoClassificationAnnotation) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VideoClassificationAnnotation) ProtoMessage() {} + +func (x *VideoClassificationAnnotation) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1beta1_schema_annotation_payload_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 VideoClassificationAnnotation.ProtoReflect.Descriptor instead. +func (*VideoClassificationAnnotation) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1beta1_schema_annotation_payload_proto_rawDescGZIP(), []int{7} +} + +func (x *VideoClassificationAnnotation) GetTimeSegment() *TimeSegment { + if x != nil { + return x.TimeSegment + } + return nil +} + +func (x *VideoClassificationAnnotation) GetAnnotationSpecId() string { + if x != nil { + return x.AnnotationSpecId + } + return "" +} + +func (x *VideoClassificationAnnotation) GetDisplayName() string { + if x != nil { + return x.DisplayName + } + return "" +} + +// A time period inside of a DataItem that has a time dimension (e.g. video). +type TimeSegment struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Start of the time segment (inclusive), represented as the duration since + // the start of the DataItem. + StartTimeOffset *durationpb.Duration `protobuf:"bytes,1,opt,name=start_time_offset,json=startTimeOffset,proto3" json:"start_time_offset,omitempty"` + // End of the time segment (exclusive), represented as the duration since the + // start of the DataItem. + EndTimeOffset *durationpb.Duration `protobuf:"bytes,2,opt,name=end_time_offset,json=endTimeOffset,proto3" json:"end_time_offset,omitempty"` +} + +func (x *TimeSegment) Reset() { + *x = TimeSegment{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1beta1_schema_annotation_payload_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TimeSegment) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TimeSegment) ProtoMessage() {} + +func (x *TimeSegment) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1beta1_schema_annotation_payload_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 TimeSegment.ProtoReflect.Descriptor instead. +func (*TimeSegment) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1beta1_schema_annotation_payload_proto_rawDescGZIP(), []int{8} +} + +func (x *TimeSegment) GetStartTimeOffset() *durationpb.Duration { + if x != nil { + return x.StartTimeOffset + } + return nil +} + +func (x *TimeSegment) GetEndTimeOffset() *durationpb.Duration { + if x != nil { + return x.EndTimeOffset + } + return nil +} + +// Annotation details specific to video object tracking. +type VideoObjectTrackingAnnotation struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // A time (frame) of a video to which this annotation pertains. + // Represented as the duration since the video's start. + 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 float64 `protobuf:"fixed64,2,opt,name=x_min,json=xMin,proto3" json:"x_min,omitempty"` + // The rightmost coordinate of the bounding box. + XMax float64 `protobuf:"fixed64,3,opt,name=x_max,json=xMax,proto3" json:"x_max,omitempty"` + // The topmost coordinate of the bounding box. + YMin float64 `protobuf:"fixed64,4,opt,name=y_min,json=yMin,proto3" json:"y_min,omitempty"` + // The bottommost coordinate of the bounding box. + YMax float64 `protobuf:"fixed64,5,opt,name=y_max,json=yMax,proto3" json:"y_max,omitempty"` + // The instance of the object, expressed as a positive integer. Used to track + // the same object across different frames. + InstanceId int64 `protobuf:"varint,6,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"` + // The resource Id of the AnnotationSpec that this Annotation pertains to. + AnnotationSpecId string `protobuf:"bytes,7,opt,name=annotation_spec_id,json=annotationSpecId,proto3" json:"annotation_spec_id,omitempty"` + // The display name of the AnnotationSpec that this Annotation pertains to. + DisplayName string `protobuf:"bytes,8,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` +} + +func (x *VideoObjectTrackingAnnotation) Reset() { + *x = VideoObjectTrackingAnnotation{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1beta1_schema_annotation_payload_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VideoObjectTrackingAnnotation) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VideoObjectTrackingAnnotation) ProtoMessage() {} + +func (x *VideoObjectTrackingAnnotation) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1beta1_schema_annotation_payload_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 VideoObjectTrackingAnnotation.ProtoReflect.Descriptor instead. +func (*VideoObjectTrackingAnnotation) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1beta1_schema_annotation_payload_proto_rawDescGZIP(), []int{9} +} + +func (x *VideoObjectTrackingAnnotation) GetTimeOffset() *durationpb.Duration { + if x != nil { + return x.TimeOffset + } + return nil +} + +func (x *VideoObjectTrackingAnnotation) GetXMin() float64 { + if x != nil { + return x.XMin + } + return 0 +} + +func (x *VideoObjectTrackingAnnotation) GetXMax() float64 { + if x != nil { + return x.XMax + } + return 0 +} + +func (x *VideoObjectTrackingAnnotation) GetYMin() float64 { + if x != nil { + return x.YMin + } + return 0 +} + +func (x *VideoObjectTrackingAnnotation) GetYMax() float64 { + if x != nil { + return x.YMax + } + return 0 +} + +func (x *VideoObjectTrackingAnnotation) GetInstanceId() int64 { + if x != nil { + return x.InstanceId + } + return 0 +} + +func (x *VideoObjectTrackingAnnotation) GetAnnotationSpecId() string { + if x != nil { + return x.AnnotationSpecId + } + return "" +} + +func (x *VideoObjectTrackingAnnotation) GetDisplayName() string { + if x != nil { + return x.DisplayName + } + return "" +} + +// Annotation details specific to video action recognition. +type VideoActionRecognitionAnnotation struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This Annotation applies to the time period represented by the TimeSegment. + // If it's not set, the Annotation applies to the whole video. + TimeSegment *TimeSegment `protobuf:"bytes,1,opt,name=time_segment,json=timeSegment,proto3" json:"time_segment,omitempty"` + // The resource Id of the AnnotationSpec that this Annotation pertains to. + AnnotationSpecId string `protobuf:"bytes,2,opt,name=annotation_spec_id,json=annotationSpecId,proto3" json:"annotation_spec_id,omitempty"` + // The display name of the AnnotationSpec that this Annotation pertains to. + DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` +} + +func (x *VideoActionRecognitionAnnotation) Reset() { + *x = VideoActionRecognitionAnnotation{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1beta1_schema_annotation_payload_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VideoActionRecognitionAnnotation) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VideoActionRecognitionAnnotation) ProtoMessage() {} + +func (x *VideoActionRecognitionAnnotation) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1beta1_schema_annotation_payload_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 VideoActionRecognitionAnnotation.ProtoReflect.Descriptor instead. +func (*VideoActionRecognitionAnnotation) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1beta1_schema_annotation_payload_proto_rawDescGZIP(), []int{10} +} + +func (x *VideoActionRecognitionAnnotation) GetTimeSegment() *TimeSegment { + if x != nil { + return x.TimeSegment + } + return nil +} + +func (x *VideoActionRecognitionAnnotation) GetAnnotationSpecId() string { + if x != nil { + return x.AnnotationSpecId + } + return "" +} + +func (x *VideoActionRecognitionAnnotation) GetDisplayName() string { + if x != nil { + return x.DisplayName + } + return "" +} + +// The mask based segmentation annotation. +type ImageSegmentationAnnotation_MaskAnnotation struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Google Cloud Storage URI that points to the mask image. The image must be + // in PNG format. It must have the same size as the DataItem's image. Each + // pixel in the image mask represents the AnnotationSpec which the pixel in + // the image DataItem belong to. Each color is mapped to one AnnotationSpec + // based on annotation_spec_colors. + MaskGcsUri string `protobuf:"bytes,1,opt,name=mask_gcs_uri,json=maskGcsUri,proto3" json:"mask_gcs_uri,omitempty"` + // The mapping between color and AnnotationSpec for this Annotation. + AnnotationSpecColors []*AnnotationSpecColor `protobuf:"bytes,2,rep,name=annotation_spec_colors,json=annotationSpecColors,proto3" json:"annotation_spec_colors,omitempty"` +} + +func (x *ImageSegmentationAnnotation_MaskAnnotation) Reset() { + *x = ImageSegmentationAnnotation_MaskAnnotation{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1beta1_schema_annotation_payload_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ImageSegmentationAnnotation_MaskAnnotation) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ImageSegmentationAnnotation_MaskAnnotation) ProtoMessage() {} + +func (x *ImageSegmentationAnnotation_MaskAnnotation) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1beta1_schema_annotation_payload_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 ImageSegmentationAnnotation_MaskAnnotation.ProtoReflect.Descriptor instead. +func (*ImageSegmentationAnnotation_MaskAnnotation) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1beta1_schema_annotation_payload_proto_rawDescGZIP(), []int{2, 0} +} + +func (x *ImageSegmentationAnnotation_MaskAnnotation) GetMaskGcsUri() string { + if x != nil { + return x.MaskGcsUri + } + return "" +} + +func (x *ImageSegmentationAnnotation_MaskAnnotation) GetAnnotationSpecColors() []*AnnotationSpecColor { + if x != nil { + return x.AnnotationSpecColors + } + return nil +} + +// Represents a polygon in image. +type ImageSegmentationAnnotation_PolygonAnnotation struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The vertexes are connected one by one and the last vertex is connected to + // the first one to represent a polygon. + Vertexes []*Vertex `protobuf:"bytes,1,rep,name=vertexes,proto3" json:"vertexes,omitempty"` + // The resource Id of the AnnotationSpec that this Annotation pertains to. + AnnotationSpecId string `protobuf:"bytes,2,opt,name=annotation_spec_id,json=annotationSpecId,proto3" json:"annotation_spec_id,omitempty"` + // The display name of the AnnotationSpec that this Annotation pertains to. + DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` +} + +func (x *ImageSegmentationAnnotation_PolygonAnnotation) Reset() { + *x = ImageSegmentationAnnotation_PolygonAnnotation{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1beta1_schema_annotation_payload_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ImageSegmentationAnnotation_PolygonAnnotation) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ImageSegmentationAnnotation_PolygonAnnotation) ProtoMessage() {} + +func (x *ImageSegmentationAnnotation_PolygonAnnotation) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1beta1_schema_annotation_payload_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 ImageSegmentationAnnotation_PolygonAnnotation.ProtoReflect.Descriptor instead. +func (*ImageSegmentationAnnotation_PolygonAnnotation) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1beta1_schema_annotation_payload_proto_rawDescGZIP(), []int{2, 1} +} + +func (x *ImageSegmentationAnnotation_PolygonAnnotation) GetVertexes() []*Vertex { + if x != nil { + return x.Vertexes + } + return nil +} + +func (x *ImageSegmentationAnnotation_PolygonAnnotation) GetAnnotationSpecId() string { + if x != nil { + return x.AnnotationSpecId + } + return "" +} + +func (x *ImageSegmentationAnnotation_PolygonAnnotation) GetDisplayName() string { + if x != nil { + return x.DisplayName + } + return "" +} + +// Represents a polyline in image. +type ImageSegmentationAnnotation_PolylineAnnotation struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The vertexes are connected one by one and the last vertex in not + // connected to the first one. + Vertexes []*Vertex `protobuf:"bytes,1,rep,name=vertexes,proto3" json:"vertexes,omitempty"` + // The resource Id of the AnnotationSpec that this Annotation pertains to. + AnnotationSpecId string `protobuf:"bytes,2,opt,name=annotation_spec_id,json=annotationSpecId,proto3" json:"annotation_spec_id,omitempty"` + // The display name of the AnnotationSpec that this Annotation pertains to. + DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` +} + +func (x *ImageSegmentationAnnotation_PolylineAnnotation) Reset() { + *x = ImageSegmentationAnnotation_PolylineAnnotation{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1beta1_schema_annotation_payload_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ImageSegmentationAnnotation_PolylineAnnotation) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ImageSegmentationAnnotation_PolylineAnnotation) ProtoMessage() {} + +func (x *ImageSegmentationAnnotation_PolylineAnnotation) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1beta1_schema_annotation_payload_proto_msgTypes[13] + 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 ImageSegmentationAnnotation_PolylineAnnotation.ProtoReflect.Descriptor instead. +func (*ImageSegmentationAnnotation_PolylineAnnotation) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1beta1_schema_annotation_payload_proto_rawDescGZIP(), []int{2, 2} +} + +func (x *ImageSegmentationAnnotation_PolylineAnnotation) GetVertexes() []*Vertex { + if x != nil { + return x.Vertexes + } + return nil +} + +func (x *ImageSegmentationAnnotation_PolylineAnnotation) GetAnnotationSpecId() string { + if x != nil { + return x.AnnotationSpecId + } + return "" +} + +func (x *ImageSegmentationAnnotation_PolylineAnnotation) GetDisplayName() string { + if x != nil { + return x.DisplayName + } + return "" +} + +var File_google_cloud_aiplatform_v1beta1_schema_annotation_payload_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1beta1_schema_annotation_payload_proto_rawDesc = []byte{ + 0x0a, 0x3f, 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, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x12, 0x26, 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, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x1a, 0x42, 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, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, + 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x70, 0x65, + 0x63, 0x5f, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x35, 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, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x73, + 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x67, 0x65, 0x6f, 0x6d, 0x65, 0x74, 0x72, 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, 0x61, 0x70, 0x69, + 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x70, 0x0a, 0x1d, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, + 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x10, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x70, 0x65, 0x63, 0x49, + 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, 0x22, 0xc1, 0x01, 0x0a, 0x1a, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x42, 0x6f, + 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x42, 0x6f, 0x78, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x10, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x70, 0x65, 0x63, 0x49, + 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, 0x13, 0x0a, 0x05, 0x78, 0x5f, 0x6d, 0x69, 0x6e, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x01, 0x52, 0x04, 0x78, 0x4d, 0x69, 0x6e, 0x12, 0x13, 0x0a, 0x05, 0x78, 0x5f, 0x6d, + 0x61, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x01, 0x52, 0x04, 0x78, 0x4d, 0x61, 0x78, 0x12, 0x13, + 0x0a, 0x05, 0x79, 0x5f, 0x6d, 0x69, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x01, 0x52, 0x04, 0x79, + 0x4d, 0x69, 0x6e, 0x12, 0x13, 0x0a, 0x05, 0x79, 0x5f, 0x6d, 0x61, 0x78, 0x18, 0x06, 0x20, 0x01, + 0x28, 0x01, 0x52, 0x04, 0x79, 0x4d, 0x61, 0x78, 0x22, 0xce, 0x07, 0x0a, 0x1b, 0x49, 0x6d, 0x61, + 0x67, 0x65, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x6e, + 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x7d, 0x0a, 0x0f, 0x6d, 0x61, 0x73, 0x6b, + 0x5f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x52, 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, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x49, 0x6d, 0x61, 0x67, 0x65, + 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x6e, 0x6e, 0x6f, + 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4d, 0x61, 0x73, 0x6b, 0x41, 0x6e, 0x6e, 0x6f, 0x74, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x0e, 0x6d, 0x61, 0x73, 0x6b, 0x41, 0x6e, 0x6e, + 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x86, 0x01, 0x0a, 0x12, 0x70, 0x6f, 0x6c, 0x79, + 0x67, 0x6f, 0x6e, 0x5f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x55, 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, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x49, 0x6d, + 0x61, 0x67, 0x65, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, + 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x50, 0x6f, 0x6c, 0x79, 0x67, 0x6f, + 0x6e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x11, 0x70, + 0x6f, 0x6c, 0x79, 0x67, 0x6f, 0x6e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x12, 0x89, 0x01, 0x0a, 0x13, 0x70, 0x6f, 0x6c, 0x79, 0x6c, 0x69, 0x6e, 0x65, 0x5f, 0x61, 0x6e, + 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x56, + 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, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x53, 0x65, 0x67, + 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x2e, 0x50, 0x6f, 0x6c, 0x79, 0x6c, 0x69, 0x6e, 0x65, 0x41, 0x6e, 0x6e, 0x6f, + 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x12, 0x70, 0x6f, 0x6c, 0x79, 0x6c, 0x69, + 0x6e, 0x65, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0xa5, 0x01, 0x0a, + 0x0e, 0x4d, 0x61, 0x73, 0x6b, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, + 0x20, 0x0a, 0x0c, 0x6d, 0x61, 0x73, 0x6b, 0x5f, 0x67, 0x63, 0x73, 0x5f, 0x75, 0x72, 0x69, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6d, 0x61, 0x73, 0x6b, 0x47, 0x63, 0x73, 0x55, 0x72, + 0x69, 0x12, 0x71, 0x0a, 0x16, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, + 0x73, 0x70, 0x65, 0x63, 0x5f, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x3b, 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, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x70, 0x65, 0x63, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x52, 0x14, + 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x70, 0x65, 0x63, 0x43, 0x6f, + 0x6c, 0x6f, 0x72, 0x73, 0x1a, 0xb0, 0x01, 0x0a, 0x11, 0x50, 0x6f, 0x6c, 0x79, 0x67, 0x6f, 0x6e, + 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4a, 0x0a, 0x08, 0x76, 0x65, + 0x72, 0x74, 0x65, 0x78, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 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, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x73, + 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x56, 0x65, 0x72, 0x74, 0x65, 0x78, 0x52, 0x08, 0x76, 0x65, + 0x72, 0x74, 0x65, 0x78, 0x65, 0x73, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x10, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x70, + 0x65, 0x63, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, + 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, + 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x1a, 0xb1, 0x01, 0x0a, 0x12, 0x50, 0x6f, 0x6c, 0x79, + 0x6c, 0x69, 0x6e, 0x65, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4a, + 0x0a, 0x08, 0x76, 0x65, 0x72, 0x74, 0x65, 0x78, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x2e, 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, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x56, 0x65, 0x72, 0x74, 0x65, 0x78, + 0x52, 0x08, 0x76, 0x65, 0x72, 0x74, 0x65, 0x78, 0x65, 0x73, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x6e, + 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x5f, 0x69, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x53, 0x70, 0x65, 0x63, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, + 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, + 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x42, 0x0c, 0x0a, 0x0a, 0x61, + 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x6f, 0x0a, 0x1c, 0x54, 0x65, 0x78, + 0x74, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, + 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x6e, 0x6e, + 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x5f, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x53, 0x70, 0x65, 0x63, 0x49, 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, 0x22, 0xc3, 0x01, 0x0a, 0x18, 0x54, + 0x65, 0x78, 0x74, 0x45, 0x78, 0x74, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x6e, 0x6e, + 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x56, 0x0a, 0x0c, 0x74, 0x65, 0x78, 0x74, 0x5f, + 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 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, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x54, 0x65, 0x78, 0x74, 0x53, 0x65, 0x67, 0x6d, 0x65, + 0x6e, 0x74, 0x52, 0x0b, 0x74, 0x65, 0x78, 0x74, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x12, + 0x2c, 0x0a, 0x12, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x70, + 0x65, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x6e, 0x6e, + 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x70, 0x65, 0x63, 0x49, 0x64, 0x12, 0x21, 0x0a, + 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, + 0x22, 0x69, 0x0a, 0x0b, 0x54, 0x65, 0x78, 0x74, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x12, + 0x21, 0x0a, 0x0c, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x73, 0x74, 0x61, 0x72, 0x74, 0x4f, 0x66, 0x66, 0x73, + 0x65, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x6e, 0x64, 0x5f, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x65, 0x6e, 0x64, 0x4f, 0x66, 0x66, 0x73, 0x65, + 0x74, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x22, 0xad, 0x01, 0x0a, 0x17, + 0x54, 0x65, 0x78, 0x74, 0x53, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x41, 0x6e, 0x6e, + 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 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, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, + 0x6e, 0x74, 0x5f, 0x6d, 0x61, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x73, 0x65, + 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x4d, 0x61, 0x78, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x6e, + 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x5f, 0x69, 0x64, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x53, 0x70, 0x65, 0x63, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, + 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, + 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0xc8, 0x01, 0x0a, 0x1d, + 0x56, 0x69, 0x64, 0x65, 0x6f, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x56, 0x0a, + 0x0c, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x33, 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, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x54, 0x69, 0x6d, + 0x65, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0b, 0x74, 0x69, 0x6d, 0x65, 0x53, 0x65, + 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x10, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x70, 0x65, + 0x63, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, + 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, + 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x97, 0x01, 0x0a, 0x0b, 0x54, 0x69, 0x6d, 0x65, 0x53, + 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x45, 0x0a, 0x11, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, + 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, 0x0f, 0x73, 0x74, + 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x41, 0x0a, + 0x0f, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, + 0x18, 0x02, 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, 0x0d, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, + 0x22, 0xa1, 0x02, 0x0a, 0x1d, 0x56, 0x69, 0x64, 0x65, 0x6f, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, + 0x54, 0x72, 0x61, 0x63, 0x6b, 0x69, 0x6e, 0x67, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 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, 0x13, + 0x0a, 0x05, 0x78, 0x5f, 0x6d, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x04, 0x78, + 0x4d, 0x69, 0x6e, 0x12, 0x13, 0x0a, 0x05, 0x78, 0x5f, 0x6d, 0x61, 0x78, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x01, 0x52, 0x04, 0x78, 0x4d, 0x61, 0x78, 0x12, 0x13, 0x0a, 0x05, 0x79, 0x5f, 0x6d, 0x69, + 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x01, 0x52, 0x04, 0x79, 0x4d, 0x69, 0x6e, 0x12, 0x13, 0x0a, + 0x05, 0x79, 0x5f, 0x6d, 0x61, 0x78, 0x18, 0x05, 0x20, 0x01, 0x28, 0x01, 0x52, 0x04, 0x79, 0x4d, + 0x61, 0x78, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x69, + 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, + 0x65, 0x49, 0x64, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x10, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x70, 0x65, 0x63, 0x49, + 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, + 0x4e, 0x61, 0x6d, 0x65, 0x22, 0xcb, 0x01, 0x0a, 0x20, 0x56, 0x69, 0x64, 0x65, 0x6f, 0x41, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x63, 0x6f, 0x67, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x41, + 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x56, 0x0a, 0x0c, 0x74, 0x69, 0x6d, + 0x65, 0x5f, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x33, 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, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x67, + 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0b, 0x74, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, + 0x74, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, + 0x73, 0x70, 0x65, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, + 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x70, 0x65, 0x63, 0x49, 0x64, 0x12, + 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, + 0x6d, 0x65, 0x42, 0x94, 0x01, 0x0a, 0x2a, 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, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, + 0x61, 0x42, 0x16, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x79, + 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4c, 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, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, + 0x6d, 0x61, 0x3b, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, +} + +var ( + file_google_cloud_aiplatform_v1beta1_schema_annotation_payload_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1beta1_schema_annotation_payload_proto_rawDescData = file_google_cloud_aiplatform_v1beta1_schema_annotation_payload_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1beta1_schema_annotation_payload_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1beta1_schema_annotation_payload_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1beta1_schema_annotation_payload_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1beta1_schema_annotation_payload_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1beta1_schema_annotation_payload_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1beta1_schema_annotation_payload_proto_msgTypes = make([]protoimpl.MessageInfo, 14) +var file_google_cloud_aiplatform_v1beta1_schema_annotation_payload_proto_goTypes = []interface{}{ + (*ImageClassificationAnnotation)(nil), // 0: google.cloud.aiplatform.v1beta1.schema.ImageClassificationAnnotation + (*ImageBoundingBoxAnnotation)(nil), // 1: google.cloud.aiplatform.v1beta1.schema.ImageBoundingBoxAnnotation + (*ImageSegmentationAnnotation)(nil), // 2: google.cloud.aiplatform.v1beta1.schema.ImageSegmentationAnnotation + (*TextClassificationAnnotation)(nil), // 3: google.cloud.aiplatform.v1beta1.schema.TextClassificationAnnotation + (*TextExtractionAnnotation)(nil), // 4: google.cloud.aiplatform.v1beta1.schema.TextExtractionAnnotation + (*TextSegment)(nil), // 5: google.cloud.aiplatform.v1beta1.schema.TextSegment + (*TextSentimentAnnotation)(nil), // 6: google.cloud.aiplatform.v1beta1.schema.TextSentimentAnnotation + (*VideoClassificationAnnotation)(nil), // 7: google.cloud.aiplatform.v1beta1.schema.VideoClassificationAnnotation + (*TimeSegment)(nil), // 8: google.cloud.aiplatform.v1beta1.schema.TimeSegment + (*VideoObjectTrackingAnnotation)(nil), // 9: google.cloud.aiplatform.v1beta1.schema.VideoObjectTrackingAnnotation + (*VideoActionRecognitionAnnotation)(nil), // 10: google.cloud.aiplatform.v1beta1.schema.VideoActionRecognitionAnnotation + (*ImageSegmentationAnnotation_MaskAnnotation)(nil), // 11: google.cloud.aiplatform.v1beta1.schema.ImageSegmentationAnnotation.MaskAnnotation + (*ImageSegmentationAnnotation_PolygonAnnotation)(nil), // 12: google.cloud.aiplatform.v1beta1.schema.ImageSegmentationAnnotation.PolygonAnnotation + (*ImageSegmentationAnnotation_PolylineAnnotation)(nil), // 13: google.cloud.aiplatform.v1beta1.schema.ImageSegmentationAnnotation.PolylineAnnotation + (*durationpb.Duration)(nil), // 14: google.protobuf.Duration + (*AnnotationSpecColor)(nil), // 15: google.cloud.aiplatform.v1beta1.schema.AnnotationSpecColor + (*Vertex)(nil), // 16: google.cloud.aiplatform.v1beta1.schema.Vertex +} +var file_google_cloud_aiplatform_v1beta1_schema_annotation_payload_proto_depIdxs = []int32{ + 11, // 0: google.cloud.aiplatform.v1beta1.schema.ImageSegmentationAnnotation.mask_annotation:type_name -> google.cloud.aiplatform.v1beta1.schema.ImageSegmentationAnnotation.MaskAnnotation + 12, // 1: google.cloud.aiplatform.v1beta1.schema.ImageSegmentationAnnotation.polygon_annotation:type_name -> google.cloud.aiplatform.v1beta1.schema.ImageSegmentationAnnotation.PolygonAnnotation + 13, // 2: google.cloud.aiplatform.v1beta1.schema.ImageSegmentationAnnotation.polyline_annotation:type_name -> google.cloud.aiplatform.v1beta1.schema.ImageSegmentationAnnotation.PolylineAnnotation + 5, // 3: google.cloud.aiplatform.v1beta1.schema.TextExtractionAnnotation.text_segment:type_name -> google.cloud.aiplatform.v1beta1.schema.TextSegment + 8, // 4: google.cloud.aiplatform.v1beta1.schema.VideoClassificationAnnotation.time_segment:type_name -> google.cloud.aiplatform.v1beta1.schema.TimeSegment + 14, // 5: google.cloud.aiplatform.v1beta1.schema.TimeSegment.start_time_offset:type_name -> google.protobuf.Duration + 14, // 6: google.cloud.aiplatform.v1beta1.schema.TimeSegment.end_time_offset:type_name -> google.protobuf.Duration + 14, // 7: google.cloud.aiplatform.v1beta1.schema.VideoObjectTrackingAnnotation.time_offset:type_name -> google.protobuf.Duration + 8, // 8: google.cloud.aiplatform.v1beta1.schema.VideoActionRecognitionAnnotation.time_segment:type_name -> google.cloud.aiplatform.v1beta1.schema.TimeSegment + 15, // 9: google.cloud.aiplatform.v1beta1.schema.ImageSegmentationAnnotation.MaskAnnotation.annotation_spec_colors:type_name -> google.cloud.aiplatform.v1beta1.schema.AnnotationSpecColor + 16, // 10: google.cloud.aiplatform.v1beta1.schema.ImageSegmentationAnnotation.PolygonAnnotation.vertexes:type_name -> google.cloud.aiplatform.v1beta1.schema.Vertex + 16, // 11: google.cloud.aiplatform.v1beta1.schema.ImageSegmentationAnnotation.PolylineAnnotation.vertexes:type_name -> google.cloud.aiplatform.v1beta1.schema.Vertex + 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_v1beta1_schema_annotation_payload_proto_init() } +func file_google_cloud_aiplatform_v1beta1_schema_annotation_payload_proto_init() { + if File_google_cloud_aiplatform_v1beta1_schema_annotation_payload_proto != nil { + return + } + file_google_cloud_aiplatform_v1beta1_schema_annotation_spec_color_proto_init() + file_google_cloud_aiplatform_v1beta1_schema_geometry_proto_init() + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1beta1_schema_annotation_payload_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ImageClassificationAnnotation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_aiplatform_v1beta1_schema_annotation_payload_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ImageBoundingBoxAnnotation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_aiplatform_v1beta1_schema_annotation_payload_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ImageSegmentationAnnotation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_aiplatform_v1beta1_schema_annotation_payload_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TextClassificationAnnotation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_aiplatform_v1beta1_schema_annotation_payload_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TextExtractionAnnotation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_aiplatform_v1beta1_schema_annotation_payload_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TextSegment); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_aiplatform_v1beta1_schema_annotation_payload_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TextSentimentAnnotation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_aiplatform_v1beta1_schema_annotation_payload_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VideoClassificationAnnotation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_aiplatform_v1beta1_schema_annotation_payload_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TimeSegment); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_aiplatform_v1beta1_schema_annotation_payload_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VideoObjectTrackingAnnotation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_aiplatform_v1beta1_schema_annotation_payload_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VideoActionRecognitionAnnotation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_aiplatform_v1beta1_schema_annotation_payload_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ImageSegmentationAnnotation_MaskAnnotation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_aiplatform_v1beta1_schema_annotation_payload_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ImageSegmentationAnnotation_PolygonAnnotation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_aiplatform_v1beta1_schema_annotation_payload_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ImageSegmentationAnnotation_PolylineAnnotation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_google_cloud_aiplatform_v1beta1_schema_annotation_payload_proto_msgTypes[2].OneofWrappers = []interface{}{ + (*ImageSegmentationAnnotation_MaskAnnotation_)(nil), + (*ImageSegmentationAnnotation_PolygonAnnotation_)(nil), + (*ImageSegmentationAnnotation_PolylineAnnotation_)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_google_cloud_aiplatform_v1beta1_schema_annotation_payload_proto_rawDesc, + NumEnums: 0, + NumMessages: 14, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1beta1_schema_annotation_payload_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1beta1_schema_annotation_payload_proto_depIdxs, + MessageInfos: file_google_cloud_aiplatform_v1beta1_schema_annotation_payload_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1beta1_schema_annotation_payload_proto = out.File + file_google_cloud_aiplatform_v1beta1_schema_annotation_payload_proto_rawDesc = nil + file_google_cloud_aiplatform_v1beta1_schema_annotation_payload_proto_goTypes = nil + file_google_cloud_aiplatform_v1beta1_schema_annotation_payload_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1beta1/schema/annotation_spec_color.pb.go b/googleapis/cloud/aiplatform/v1beta1/schema/annotation_spec_color.pb.go new file mode 100644 index 000000000..edf48b560 --- /dev/null +++ b/googleapis/cloud/aiplatform/v1beta1/schema/annotation_spec_color.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 +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1beta1/schema/annotation_spec_color.proto + +package schema + +import ( + reflect "reflect" + sync "sync" + + proto "github.com/golang/protobuf/proto" + _ "google.golang.org/genproto/googleapis/api/annotations" + color "google.golang.org/genproto/googleapis/type/color" + 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 + +// An entry of mapping between color and AnnotationSpec. The mapping is used in +// segmentation mask. +type AnnotationSpecColor struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The color of the AnnotationSpec in a segmentation mask. + Color *color.Color `protobuf:"bytes,1,opt,name=color,proto3" json:"color,omitempty"` + // The display name of the AnnotationSpec represented by the color in the + // segmentation mask. + DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` + // The ID of the AnnotationSpec represented by the color in the segmentation + // mask. + Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` +} + +func (x *AnnotationSpecColor) Reset() { + *x = AnnotationSpecColor{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1beta1_schema_annotation_spec_color_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AnnotationSpecColor) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AnnotationSpecColor) ProtoMessage() {} + +func (x *AnnotationSpecColor) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1beta1_schema_annotation_spec_color_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 AnnotationSpecColor.ProtoReflect.Descriptor instead. +func (*AnnotationSpecColor) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1beta1_schema_annotation_spec_color_proto_rawDescGZIP(), []int{0} +} + +func (x *AnnotationSpecColor) GetColor() *color.Color { + if x != nil { + return x.Color + } + return nil +} + +func (x *AnnotationSpecColor) GetDisplayName() string { + if x != nil { + return x.DisplayName + } + return "" +} + +func (x *AnnotationSpecColor) GetId() string { + if x != nil { + return x.Id + } + return "" +} + +var File_google_cloud_aiplatform_v1beta1_schema_annotation_spec_color_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1beta1_schema_annotation_spec_color_proto_rawDesc = []byte{ + 0x0a, 0x42, 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, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x5f, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x26, 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, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x1a, 0x17, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 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, 0x72, 0x0a, 0x13, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x53, 0x70, 0x65, 0x63, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x12, 0x28, 0x0a, 0x05, 0x63, 0x6f, + 0x6c, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x52, 0x05, 0x63, + 0x6f, 0x6c, 0x6f, 0x72, 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, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x42, 0x96, 0x01, 0x0a, 0x2a, 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, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x42, 0x18, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x53, 0x70, 0x65, 0x63, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, + 0x50, 0x01, 0x5a, 0x4c, 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, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x3b, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_google_cloud_aiplatform_v1beta1_schema_annotation_spec_color_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1beta1_schema_annotation_spec_color_proto_rawDescData = file_google_cloud_aiplatform_v1beta1_schema_annotation_spec_color_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1beta1_schema_annotation_spec_color_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1beta1_schema_annotation_spec_color_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1beta1_schema_annotation_spec_color_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1beta1_schema_annotation_spec_color_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1beta1_schema_annotation_spec_color_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1beta1_schema_annotation_spec_color_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_google_cloud_aiplatform_v1beta1_schema_annotation_spec_color_proto_goTypes = []interface{}{ + (*AnnotationSpecColor)(nil), // 0: google.cloud.aiplatform.v1beta1.schema.AnnotationSpecColor + (*color.Color)(nil), // 1: google.type.Color +} +var file_google_cloud_aiplatform_v1beta1_schema_annotation_spec_color_proto_depIdxs = []int32{ + 1, // 0: google.cloud.aiplatform.v1beta1.schema.AnnotationSpecColor.color:type_name -> google.type.Color + 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_v1beta1_schema_annotation_spec_color_proto_init() } +func file_google_cloud_aiplatform_v1beta1_schema_annotation_spec_color_proto_init() { + if File_google_cloud_aiplatform_v1beta1_schema_annotation_spec_color_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1beta1_schema_annotation_spec_color_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AnnotationSpecColor); 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_v1beta1_schema_annotation_spec_color_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1beta1_schema_annotation_spec_color_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1beta1_schema_annotation_spec_color_proto_depIdxs, + MessageInfos: file_google_cloud_aiplatform_v1beta1_schema_annotation_spec_color_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1beta1_schema_annotation_spec_color_proto = out.File + file_google_cloud_aiplatform_v1beta1_schema_annotation_spec_color_proto_rawDesc = nil + file_google_cloud_aiplatform_v1beta1_schema_annotation_spec_color_proto_goTypes = nil + file_google_cloud_aiplatform_v1beta1_schema_annotation_spec_color_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1beta1/schema/data_item_payload.pb.go b/googleapis/cloud/aiplatform/v1beta1/schema/data_item_payload.pb.go new file mode 100644 index 000000000..0e0dc4777 --- /dev/null +++ b/googleapis/cloud/aiplatform/v1beta1/schema/data_item_payload.pb.go @@ -0,0 +1,354 @@ +// 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 +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1beta1/schema/data_item_payload.proto + +package schema + +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" + _ "google.golang.org/protobuf/types/known/durationpb" +) + +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 + +// Payload of Image DataItem. +type ImageDataItem struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Required. Google Cloud Storage URI points to the original image in user's bucket. + // The image is up to 30MB in size. + GcsUri string `protobuf:"bytes,1,opt,name=gcs_uri,json=gcsUri,proto3" json:"gcs_uri,omitempty"` + // Output only. 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 *ImageDataItem) Reset() { + *x = ImageDataItem{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1beta1_schema_data_item_payload_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ImageDataItem) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ImageDataItem) ProtoMessage() {} + +func (x *ImageDataItem) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1beta1_schema_data_item_payload_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 ImageDataItem.ProtoReflect.Descriptor instead. +func (*ImageDataItem) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1beta1_schema_data_item_payload_proto_rawDescGZIP(), []int{0} +} + +func (x *ImageDataItem) GetGcsUri() string { + if x != nil { + return x.GcsUri + } + return "" +} + +func (x *ImageDataItem) GetMimeType() string { + if x != nil { + return x.MimeType + } + return "" +} + +// Payload of Video DataItem. +type VideoDataItem struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Required. Google Cloud Storage URI points to the original video in user's bucket. + // The video is up to 50 GB in size and up to 3 hour in duration. + GcsUri string `protobuf:"bytes,1,opt,name=gcs_uri,json=gcsUri,proto3" json:"gcs_uri,omitempty"` + // Output only. The mime type of the content of the video. Only the videos in below listed + // mime types are supported. + // Supported mime_type: + // - video/mp4 + // - video/avi + // - video/quicktime + MimeType string `protobuf:"bytes,2,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` +} + +func (x *VideoDataItem) Reset() { + *x = VideoDataItem{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1beta1_schema_data_item_payload_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VideoDataItem) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VideoDataItem) ProtoMessage() {} + +func (x *VideoDataItem) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1beta1_schema_data_item_payload_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 VideoDataItem.ProtoReflect.Descriptor instead. +func (*VideoDataItem) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1beta1_schema_data_item_payload_proto_rawDescGZIP(), []int{1} +} + +func (x *VideoDataItem) GetGcsUri() string { + if x != nil { + return x.GcsUri + } + return "" +} + +func (x *VideoDataItem) GetMimeType() string { + if x != nil { + return x.MimeType + } + return "" +} + +// Payload of Text DataItem. +type TextDataItem struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Output only. Google Cloud Storage URI points to the original text in user's bucket. + // The text file is up to 10MB in size. + GcsUri string `protobuf:"bytes,1,opt,name=gcs_uri,json=gcsUri,proto3" json:"gcs_uri,omitempty"` +} + +func (x *TextDataItem) Reset() { + *x = TextDataItem{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1beta1_schema_data_item_payload_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TextDataItem) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TextDataItem) ProtoMessage() {} + +func (x *TextDataItem) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1beta1_schema_data_item_payload_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 TextDataItem.ProtoReflect.Descriptor instead. +func (*TextDataItem) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1beta1_schema_data_item_payload_proto_rawDescGZIP(), []int{2} +} + +func (x *TextDataItem) GetGcsUri() string { + if x != nil { + return x.GcsUri + } + return "" +} + +var File_google_cloud_aiplatform_v1beta1_schema_data_item_payload_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1beta1_schema_data_item_payload_proto_rawDesc = []byte{ + 0x0a, 0x3e, 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, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x69, 0x74, + 0x65, 0x6d, 0x5f, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x12, 0x26, 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, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2f, 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, 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, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4f, 0x0a, 0x0d, 0x49, 0x6d, 0x61, 0x67, 0x65, + 0x44, 0x61, 0x74, 0x61, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x1c, 0x0a, 0x07, 0x67, 0x63, 0x73, 0x5f, + 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x06, + 0x67, 0x63, 0x73, 0x55, 0x72, 0x69, 0x12, 0x20, 0x0a, 0x09, 0x6d, 0x69, 0x6d, 0x65, 0x5f, 0x74, + 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x08, + 0x6d, 0x69, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x22, 0x4f, 0x0a, 0x0d, 0x56, 0x69, 0x64, 0x65, + 0x6f, 0x44, 0x61, 0x74, 0x61, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x1c, 0x0a, 0x07, 0x67, 0x63, 0x73, + 0x5f, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, + 0x06, 0x67, 0x63, 0x73, 0x55, 0x72, 0x69, 0x12, 0x20, 0x0a, 0x09, 0x6d, 0x69, 0x6d, 0x65, 0x5f, + 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, + 0x08, 0x6d, 0x69, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x22, 0x2c, 0x0a, 0x0c, 0x54, 0x65, 0x78, + 0x74, 0x44, 0x61, 0x74, 0x61, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x1c, 0x0a, 0x07, 0x67, 0x63, 0x73, + 0x5f, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, + 0x06, 0x67, 0x63, 0x73, 0x55, 0x72, 0x69, 0x42, 0x92, 0x01, 0x0a, 0x2a, 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, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x42, 0x14, 0x44, 0x61, 0x74, 0x61, 0x49, 0x74, 0x65, 0x6d, + 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4c, + 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, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x73, + 0x63, 0x68, 0x65, 0x6d, 0x61, 0x3b, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_google_cloud_aiplatform_v1beta1_schema_data_item_payload_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1beta1_schema_data_item_payload_proto_rawDescData = file_google_cloud_aiplatform_v1beta1_schema_data_item_payload_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1beta1_schema_data_item_payload_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1beta1_schema_data_item_payload_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1beta1_schema_data_item_payload_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1beta1_schema_data_item_payload_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1beta1_schema_data_item_payload_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1beta1_schema_data_item_payload_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_google_cloud_aiplatform_v1beta1_schema_data_item_payload_proto_goTypes = []interface{}{ + (*ImageDataItem)(nil), // 0: google.cloud.aiplatform.v1beta1.schema.ImageDataItem + (*VideoDataItem)(nil), // 1: google.cloud.aiplatform.v1beta1.schema.VideoDataItem + (*TextDataItem)(nil), // 2: google.cloud.aiplatform.v1beta1.schema.TextDataItem +} +var file_google_cloud_aiplatform_v1beta1_schema_data_item_payload_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_v1beta1_schema_data_item_payload_proto_init() } +func file_google_cloud_aiplatform_v1beta1_schema_data_item_payload_proto_init() { + if File_google_cloud_aiplatform_v1beta1_schema_data_item_payload_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1beta1_schema_data_item_payload_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ImageDataItem); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_aiplatform_v1beta1_schema_data_item_payload_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VideoDataItem); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_aiplatform_v1beta1_schema_data_item_payload_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TextDataItem); 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_v1beta1_schema_data_item_payload_proto_rawDesc, + NumEnums: 0, + NumMessages: 3, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1beta1_schema_data_item_payload_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1beta1_schema_data_item_payload_proto_depIdxs, + MessageInfos: file_google_cloud_aiplatform_v1beta1_schema_data_item_payload_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1beta1_schema_data_item_payload_proto = out.File + file_google_cloud_aiplatform_v1beta1_schema_data_item_payload_proto_rawDesc = nil + file_google_cloud_aiplatform_v1beta1_schema_data_item_payload_proto_goTypes = nil + file_google_cloud_aiplatform_v1beta1_schema_data_item_payload_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1beta1/schema/dataset_metadata.pb.go b/googleapis/cloud/aiplatform/v1beta1/schema/dataset_metadata.pb.go new file mode 100644 index 000000000..492bc9483 --- /dev/null +++ b/googleapis/cloud/aiplatform/v1beta1/schema/dataset_metadata.pb.go @@ -0,0 +1,1011 @@ +// 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 +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1beta1/schema/dataset_metadata.proto + +package schema + +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 + +// The metadata of Datasets that contain Image DataItems. +type ImageDatasetMetadata struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Points to a YAML file stored on Google Cloud Storage describing payload of + // the Image DataItems that belong to this Dataset. + DataItemSchemaUri string `protobuf:"bytes,1,opt,name=data_item_schema_uri,json=dataItemSchemaUri,proto3" json:"data_item_schema_uri,omitempty"` + // Google Cloud Storage Bucket name that contains the blob data of this + // Dataset. + GcsBucket string `protobuf:"bytes,2,opt,name=gcs_bucket,json=gcsBucket,proto3" json:"gcs_bucket,omitempty"` +} + +func (x *ImageDatasetMetadata) Reset() { + *x = ImageDatasetMetadata{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1beta1_schema_dataset_metadata_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ImageDatasetMetadata) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ImageDatasetMetadata) ProtoMessage() {} + +func (x *ImageDatasetMetadata) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1beta1_schema_dataset_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 ImageDatasetMetadata.ProtoReflect.Descriptor instead. +func (*ImageDatasetMetadata) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1beta1_schema_dataset_metadata_proto_rawDescGZIP(), []int{0} +} + +func (x *ImageDatasetMetadata) GetDataItemSchemaUri() string { + if x != nil { + return x.DataItemSchemaUri + } + return "" +} + +func (x *ImageDatasetMetadata) GetGcsBucket() string { + if x != nil { + return x.GcsBucket + } + return "" +} + +// The metadata of Datasets that contain Text DataItems. +type TextDatasetMetadata struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Points to a YAML file stored on Google Cloud Storage describing payload of + // the Text DataItems that belong to this Dataset. + DataItemSchemaUri string `protobuf:"bytes,1,opt,name=data_item_schema_uri,json=dataItemSchemaUri,proto3" json:"data_item_schema_uri,omitempty"` + // Google Cloud Storage Bucket name that contains the blob data of this + // Dataset. + GcsBucket string `protobuf:"bytes,2,opt,name=gcs_bucket,json=gcsBucket,proto3" json:"gcs_bucket,omitempty"` +} + +func (x *TextDatasetMetadata) Reset() { + *x = TextDatasetMetadata{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1beta1_schema_dataset_metadata_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TextDatasetMetadata) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TextDatasetMetadata) ProtoMessage() {} + +func (x *TextDatasetMetadata) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1beta1_schema_dataset_metadata_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 TextDatasetMetadata.ProtoReflect.Descriptor instead. +func (*TextDatasetMetadata) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1beta1_schema_dataset_metadata_proto_rawDescGZIP(), []int{1} +} + +func (x *TextDatasetMetadata) GetDataItemSchemaUri() string { + if x != nil { + return x.DataItemSchemaUri + } + return "" +} + +func (x *TextDatasetMetadata) GetGcsBucket() string { + if x != nil { + return x.GcsBucket + } + return "" +} + +// The metadata of Datasets that contain Video DataItems. +type VideoDatasetMetadata struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Points to a YAML file stored on Google Cloud Storage describing payload of + // the Video DataItems that belong to this Dataset. + DataItemSchemaUri string `protobuf:"bytes,1,opt,name=data_item_schema_uri,json=dataItemSchemaUri,proto3" json:"data_item_schema_uri,omitempty"` + // Google Cloud Storage Bucket name that contains the blob data of this + // Dataset. + GcsBucket string `protobuf:"bytes,2,opt,name=gcs_bucket,json=gcsBucket,proto3" json:"gcs_bucket,omitempty"` +} + +func (x *VideoDatasetMetadata) Reset() { + *x = VideoDatasetMetadata{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1beta1_schema_dataset_metadata_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VideoDatasetMetadata) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VideoDatasetMetadata) ProtoMessage() {} + +func (x *VideoDatasetMetadata) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1beta1_schema_dataset_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 VideoDatasetMetadata.ProtoReflect.Descriptor instead. +func (*VideoDatasetMetadata) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1beta1_schema_dataset_metadata_proto_rawDescGZIP(), []int{2} +} + +func (x *VideoDatasetMetadata) GetDataItemSchemaUri() string { + if x != nil { + return x.DataItemSchemaUri + } + return "" +} + +func (x *VideoDatasetMetadata) GetGcsBucket() string { + if x != nil { + return x.GcsBucket + } + return "" +} + +// The metadata of Datasets that contain tables data. +type TablesDatasetMetadata struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + InputConfig *TablesDatasetMetadata_InputConfig `protobuf:"bytes,1,opt,name=input_config,json=inputConfig,proto3" json:"input_config,omitempty"` +} + +func (x *TablesDatasetMetadata) Reset() { + *x = TablesDatasetMetadata{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1beta1_schema_dataset_metadata_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TablesDatasetMetadata) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TablesDatasetMetadata) ProtoMessage() {} + +func (x *TablesDatasetMetadata) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1beta1_schema_dataset_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 TablesDatasetMetadata.ProtoReflect.Descriptor instead. +func (*TablesDatasetMetadata) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1beta1_schema_dataset_metadata_proto_rawDescGZIP(), []int{3} +} + +func (x *TablesDatasetMetadata) GetInputConfig() *TablesDatasetMetadata_InputConfig { + if x != nil { + return x.InputConfig + } + return nil +} + +// The metadata of Datasets that contain time series data. +type TimeSeriesDatasetMetadata struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + InputConfig *TimeSeriesDatasetMetadata_InputConfig `protobuf:"bytes,1,opt,name=input_config,json=inputConfig,proto3" json:"input_config,omitempty"` + // The column name of the time series identifier 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 column name of the time 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"` +} + +func (x *TimeSeriesDatasetMetadata) Reset() { + *x = TimeSeriesDatasetMetadata{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1beta1_schema_dataset_metadata_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TimeSeriesDatasetMetadata) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TimeSeriesDatasetMetadata) ProtoMessage() {} + +func (x *TimeSeriesDatasetMetadata) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1beta1_schema_dataset_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 TimeSeriesDatasetMetadata.ProtoReflect.Descriptor instead. +func (*TimeSeriesDatasetMetadata) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1beta1_schema_dataset_metadata_proto_rawDescGZIP(), []int{4} +} + +func (x *TimeSeriesDatasetMetadata) GetInputConfig() *TimeSeriesDatasetMetadata_InputConfig { + if x != nil { + return x.InputConfig + } + return nil +} + +func (x *TimeSeriesDatasetMetadata) GetTimeSeriesIdentifierColumn() string { + if x != nil { + return x.TimeSeriesIdentifierColumn + } + return "" +} + +func (x *TimeSeriesDatasetMetadata) GetTimeColumn() string { + if x != nil { + return x.TimeColumn + } + return "" +} + +// The tables Dataset's data source. The Dataset doesn't store the data +// directly, but only pointer(s) to its data. +type TablesDatasetMetadata_InputConfig struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Source: + // *TablesDatasetMetadata_InputConfig_GcsSource + // *TablesDatasetMetadata_InputConfig_BigquerySource + Source isTablesDatasetMetadata_InputConfig_Source `protobuf_oneof:"source"` +} + +func (x *TablesDatasetMetadata_InputConfig) Reset() { + *x = TablesDatasetMetadata_InputConfig{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1beta1_schema_dataset_metadata_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TablesDatasetMetadata_InputConfig) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TablesDatasetMetadata_InputConfig) ProtoMessage() {} + +func (x *TablesDatasetMetadata_InputConfig) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1beta1_schema_dataset_metadata_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 TablesDatasetMetadata_InputConfig.ProtoReflect.Descriptor instead. +func (*TablesDatasetMetadata_InputConfig) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1beta1_schema_dataset_metadata_proto_rawDescGZIP(), []int{3, 0} +} + +func (m *TablesDatasetMetadata_InputConfig) GetSource() isTablesDatasetMetadata_InputConfig_Source { + if m != nil { + return m.Source + } + return nil +} + +func (x *TablesDatasetMetadata_InputConfig) GetGcsSource() *TablesDatasetMetadata_GcsSource { + if x, ok := x.GetSource().(*TablesDatasetMetadata_InputConfig_GcsSource); ok { + return x.GcsSource + } + return nil +} + +func (x *TablesDatasetMetadata_InputConfig) GetBigquerySource() *TablesDatasetMetadata_BigQuerySource { + if x, ok := x.GetSource().(*TablesDatasetMetadata_InputConfig_BigquerySource); ok { + return x.BigquerySource + } + return nil +} + +type isTablesDatasetMetadata_InputConfig_Source interface { + isTablesDatasetMetadata_InputConfig_Source() +} + +type TablesDatasetMetadata_InputConfig_GcsSource struct { + GcsSource *TablesDatasetMetadata_GcsSource `protobuf:"bytes,1,opt,name=gcs_source,json=gcsSource,proto3,oneof"` +} + +type TablesDatasetMetadata_InputConfig_BigquerySource struct { + BigquerySource *TablesDatasetMetadata_BigQuerySource `protobuf:"bytes,2,opt,name=bigquery_source,json=bigquerySource,proto3,oneof"` +} + +func (*TablesDatasetMetadata_InputConfig_GcsSource) isTablesDatasetMetadata_InputConfig_Source() {} + +func (*TablesDatasetMetadata_InputConfig_BigquerySource) isTablesDatasetMetadata_InputConfig_Source() { +} + +type TablesDatasetMetadata_GcsSource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Google Cloud Storage URI to a input file, only .csv file is supported. + Uri []string `protobuf:"bytes,1,rep,name=uri,proto3" json:"uri,omitempty"` +} + +func (x *TablesDatasetMetadata_GcsSource) Reset() { + *x = TablesDatasetMetadata_GcsSource{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1beta1_schema_dataset_metadata_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TablesDatasetMetadata_GcsSource) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TablesDatasetMetadata_GcsSource) ProtoMessage() {} + +func (x *TablesDatasetMetadata_GcsSource) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1beta1_schema_dataset_metadata_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 TablesDatasetMetadata_GcsSource.ProtoReflect.Descriptor instead. +func (*TablesDatasetMetadata_GcsSource) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1beta1_schema_dataset_metadata_proto_rawDescGZIP(), []int{3, 1} +} + +func (x *TablesDatasetMetadata_GcsSource) GetUri() []string { + if x != nil { + return x.Uri + } + return nil +} + +type TablesDatasetMetadata_BigQuerySource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The URI of a BigQuery table. + Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"` +} + +func (x *TablesDatasetMetadata_BigQuerySource) Reset() { + *x = TablesDatasetMetadata_BigQuerySource{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1beta1_schema_dataset_metadata_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TablesDatasetMetadata_BigQuerySource) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TablesDatasetMetadata_BigQuerySource) ProtoMessage() {} + +func (x *TablesDatasetMetadata_BigQuerySource) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1beta1_schema_dataset_metadata_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 TablesDatasetMetadata_BigQuerySource.ProtoReflect.Descriptor instead. +func (*TablesDatasetMetadata_BigQuerySource) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1beta1_schema_dataset_metadata_proto_rawDescGZIP(), []int{3, 2} +} + +func (x *TablesDatasetMetadata_BigQuerySource) GetUri() string { + if x != nil { + return x.Uri + } + return "" +} + +// The time series Dataset's data source. The Dataset doesn't store the data +// directly, but only pointer(s) to its data. +type TimeSeriesDatasetMetadata_InputConfig struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Source: + // *TimeSeriesDatasetMetadata_InputConfig_GcsSource + // *TimeSeriesDatasetMetadata_InputConfig_BigquerySource + Source isTimeSeriesDatasetMetadata_InputConfig_Source `protobuf_oneof:"source"` +} + +func (x *TimeSeriesDatasetMetadata_InputConfig) Reset() { + *x = TimeSeriesDatasetMetadata_InputConfig{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1beta1_schema_dataset_metadata_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TimeSeriesDatasetMetadata_InputConfig) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TimeSeriesDatasetMetadata_InputConfig) ProtoMessage() {} + +func (x *TimeSeriesDatasetMetadata_InputConfig) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1beta1_schema_dataset_metadata_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 TimeSeriesDatasetMetadata_InputConfig.ProtoReflect.Descriptor instead. +func (*TimeSeriesDatasetMetadata_InputConfig) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1beta1_schema_dataset_metadata_proto_rawDescGZIP(), []int{4, 0} +} + +func (m *TimeSeriesDatasetMetadata_InputConfig) GetSource() isTimeSeriesDatasetMetadata_InputConfig_Source { + if m != nil { + return m.Source + } + return nil +} + +func (x *TimeSeriesDatasetMetadata_InputConfig) GetGcsSource() *TimeSeriesDatasetMetadata_GcsSource { + if x, ok := x.GetSource().(*TimeSeriesDatasetMetadata_InputConfig_GcsSource); ok { + return x.GcsSource + } + return nil +} + +func (x *TimeSeriesDatasetMetadata_InputConfig) GetBigquerySource() *TimeSeriesDatasetMetadata_BigQuerySource { + if x, ok := x.GetSource().(*TimeSeriesDatasetMetadata_InputConfig_BigquerySource); ok { + return x.BigquerySource + } + return nil +} + +type isTimeSeriesDatasetMetadata_InputConfig_Source interface { + isTimeSeriesDatasetMetadata_InputConfig_Source() +} + +type TimeSeriesDatasetMetadata_InputConfig_GcsSource struct { + GcsSource *TimeSeriesDatasetMetadata_GcsSource `protobuf:"bytes,1,opt,name=gcs_source,json=gcsSource,proto3,oneof"` +} + +type TimeSeriesDatasetMetadata_InputConfig_BigquerySource struct { + BigquerySource *TimeSeriesDatasetMetadata_BigQuerySource `protobuf:"bytes,2,opt,name=bigquery_source,json=bigquerySource,proto3,oneof"` +} + +func (*TimeSeriesDatasetMetadata_InputConfig_GcsSource) isTimeSeriesDatasetMetadata_InputConfig_Source() { +} + +func (*TimeSeriesDatasetMetadata_InputConfig_BigquerySource) isTimeSeriesDatasetMetadata_InputConfig_Source() { +} + +type TimeSeriesDatasetMetadata_GcsSource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Google Cloud Storage URI to a input file, only .csv file is supported. + Uri []string `protobuf:"bytes,1,rep,name=uri,proto3" json:"uri,omitempty"` +} + +func (x *TimeSeriesDatasetMetadata_GcsSource) Reset() { + *x = TimeSeriesDatasetMetadata_GcsSource{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1beta1_schema_dataset_metadata_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TimeSeriesDatasetMetadata_GcsSource) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TimeSeriesDatasetMetadata_GcsSource) ProtoMessage() {} + +func (x *TimeSeriesDatasetMetadata_GcsSource) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1beta1_schema_dataset_metadata_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 TimeSeriesDatasetMetadata_GcsSource.ProtoReflect.Descriptor instead. +func (*TimeSeriesDatasetMetadata_GcsSource) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1beta1_schema_dataset_metadata_proto_rawDescGZIP(), []int{4, 1} +} + +func (x *TimeSeriesDatasetMetadata_GcsSource) GetUri() []string { + if x != nil { + return x.Uri + } + return nil +} + +type TimeSeriesDatasetMetadata_BigQuerySource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The URI of a BigQuery table. + Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"` +} + +func (x *TimeSeriesDatasetMetadata_BigQuerySource) Reset() { + *x = TimeSeriesDatasetMetadata_BigQuerySource{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1beta1_schema_dataset_metadata_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TimeSeriesDatasetMetadata_BigQuerySource) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TimeSeriesDatasetMetadata_BigQuerySource) ProtoMessage() {} + +func (x *TimeSeriesDatasetMetadata_BigQuerySource) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1beta1_schema_dataset_metadata_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 TimeSeriesDatasetMetadata_BigQuerySource.ProtoReflect.Descriptor instead. +func (*TimeSeriesDatasetMetadata_BigQuerySource) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1beta1_schema_dataset_metadata_proto_rawDescGZIP(), []int{4, 2} +} + +func (x *TimeSeriesDatasetMetadata_BigQuerySource) GetUri() string { + if x != nil { + return x.Uri + } + return "" +} + +var File_google_cloud_aiplatform_v1beta1_schema_dataset_metadata_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1beta1_schema_dataset_metadata_proto_rawDesc = []byte{ + 0x0a, 0x3d, 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, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, + 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, + 0x26, 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, 0x62, 0x65, 0x74, 0x61, 0x31, + 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 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, 0x66, 0x0a, 0x14, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x44, 0x61, + 0x74, 0x61, 0x73, 0x65, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x2f, 0x0a, + 0x14, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, + 0x61, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x64, 0x61, 0x74, + 0x61, 0x49, 0x74, 0x65, 0x6d, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x55, 0x72, 0x69, 0x12, 0x1d, + 0x0a, 0x0a, 0x67, 0x63, 0x73, 0x5f, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x09, 0x67, 0x63, 0x73, 0x42, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x22, 0x65, 0x0a, + 0x13, 0x54, 0x65, 0x78, 0x74, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x4d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0x12, 0x2f, 0x0a, 0x14, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x69, 0x74, 0x65, + 0x6d, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x11, 0x64, 0x61, 0x74, 0x61, 0x49, 0x74, 0x65, 0x6d, 0x53, 0x63, 0x68, 0x65, + 0x6d, 0x61, 0x55, 0x72, 0x69, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x63, 0x73, 0x5f, 0x62, 0x75, 0x63, + 0x6b, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x67, 0x63, 0x73, 0x42, 0x75, + 0x63, 0x6b, 0x65, 0x74, 0x22, 0x66, 0x0a, 0x14, 0x56, 0x69, 0x64, 0x65, 0x6f, 0x44, 0x61, 0x74, + 0x61, 0x73, 0x65, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x2f, 0x0a, 0x14, + 0x64, 0x61, 0x74, 0x61, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, + 0x5f, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x64, 0x61, 0x74, 0x61, + 0x49, 0x74, 0x65, 0x6d, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x55, 0x72, 0x69, 0x12, 0x1d, 0x0a, + 0x0a, 0x67, 0x63, 0x73, 0x5f, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x09, 0x67, 0x63, 0x73, 0x42, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x22, 0xc5, 0x03, 0x0a, + 0x15, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x4d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x6c, 0x0a, 0x0c, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, + 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x49, 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, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x73, + 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x44, 0x61, 0x74, 0x61, + 0x73, 0x65, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x49, 0x6e, 0x70, 0x75, + 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0b, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x43, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x1a, 0xfa, 0x01, 0x0a, 0x0b, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x43, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x12, 0x68, 0x0a, 0x0a, 0x67, 0x63, 0x73, 0x5f, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x47, 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, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, + 0x61, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x4d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x63, 0x73, 0x53, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x48, 0x00, 0x52, 0x09, 0x67, 0x63, 0x73, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x77, + 0x0a, 0x0f, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x18, 0x02, 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, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, + 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x4d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x42, 0x69, 0x67, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x48, 0x00, 0x52, 0x0e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, + 0x79, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x42, 0x08, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x1a, 0x1d, 0x0a, 0x09, 0x47, 0x63, 0x73, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x10, + 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x69, + 0x1a, 0x22, 0x0a, 0x0e, 0x42, 0x69, 0x67, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x03, 0x75, 0x72, 0x69, 0x22, 0xb9, 0x04, 0x0a, 0x19, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, + 0x69, 0x65, 0x73, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x12, 0x70, 0x0a, 0x0c, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x4d, 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, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, + 0x61, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, 0x44, 0x61, 0x74, 0x61, + 0x73, 0x65, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x49, 0x6e, 0x70, 0x75, + 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0b, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x43, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 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, 0x1a, 0x82, 0x02, 0x0a, 0x0b, 0x49, 0x6e, 0x70, + 0x75, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x6c, 0x0a, 0x0a, 0x67, 0x63, 0x73, 0x5f, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x4b, 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, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x73, + 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, + 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x47, 0x63, 0x73, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x48, 0x00, 0x52, 0x09, 0x67, 0x63, 0x73, + 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x7b, 0x0a, 0x0f, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, + 0x72, 0x79, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x50, 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, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, + 0x69, 0x65, 0x73, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x42, 0x69, 0x67, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x48, 0x00, 0x52, 0x0e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x53, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x42, 0x08, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x1a, 0x1d, 0x0a, + 0x09, 0x47, 0x63, 0x73, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, + 0x69, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x69, 0x1a, 0x22, 0x0a, 0x0e, + 0x42, 0x69, 0x67, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x10, + 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x69, + 0x42, 0x92, 0x01, 0x0a, 0x2a, 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, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x42, + 0x14, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4c, 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, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x3b, 0x73, + 0x63, 0x68, 0x65, 0x6d, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_google_cloud_aiplatform_v1beta1_schema_dataset_metadata_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1beta1_schema_dataset_metadata_proto_rawDescData = file_google_cloud_aiplatform_v1beta1_schema_dataset_metadata_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1beta1_schema_dataset_metadata_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1beta1_schema_dataset_metadata_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1beta1_schema_dataset_metadata_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1beta1_schema_dataset_metadata_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1beta1_schema_dataset_metadata_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1beta1_schema_dataset_metadata_proto_msgTypes = make([]protoimpl.MessageInfo, 11) +var file_google_cloud_aiplatform_v1beta1_schema_dataset_metadata_proto_goTypes = []interface{}{ + (*ImageDatasetMetadata)(nil), // 0: google.cloud.aiplatform.v1beta1.schema.ImageDatasetMetadata + (*TextDatasetMetadata)(nil), // 1: google.cloud.aiplatform.v1beta1.schema.TextDatasetMetadata + (*VideoDatasetMetadata)(nil), // 2: google.cloud.aiplatform.v1beta1.schema.VideoDatasetMetadata + (*TablesDatasetMetadata)(nil), // 3: google.cloud.aiplatform.v1beta1.schema.TablesDatasetMetadata + (*TimeSeriesDatasetMetadata)(nil), // 4: google.cloud.aiplatform.v1beta1.schema.TimeSeriesDatasetMetadata + (*TablesDatasetMetadata_InputConfig)(nil), // 5: google.cloud.aiplatform.v1beta1.schema.TablesDatasetMetadata.InputConfig + (*TablesDatasetMetadata_GcsSource)(nil), // 6: google.cloud.aiplatform.v1beta1.schema.TablesDatasetMetadata.GcsSource + (*TablesDatasetMetadata_BigQuerySource)(nil), // 7: google.cloud.aiplatform.v1beta1.schema.TablesDatasetMetadata.BigQuerySource + (*TimeSeriesDatasetMetadata_InputConfig)(nil), // 8: google.cloud.aiplatform.v1beta1.schema.TimeSeriesDatasetMetadata.InputConfig + (*TimeSeriesDatasetMetadata_GcsSource)(nil), // 9: google.cloud.aiplatform.v1beta1.schema.TimeSeriesDatasetMetadata.GcsSource + (*TimeSeriesDatasetMetadata_BigQuerySource)(nil), // 10: google.cloud.aiplatform.v1beta1.schema.TimeSeriesDatasetMetadata.BigQuerySource +} +var file_google_cloud_aiplatform_v1beta1_schema_dataset_metadata_proto_depIdxs = []int32{ + 5, // 0: google.cloud.aiplatform.v1beta1.schema.TablesDatasetMetadata.input_config:type_name -> google.cloud.aiplatform.v1beta1.schema.TablesDatasetMetadata.InputConfig + 8, // 1: google.cloud.aiplatform.v1beta1.schema.TimeSeriesDatasetMetadata.input_config:type_name -> google.cloud.aiplatform.v1beta1.schema.TimeSeriesDatasetMetadata.InputConfig + 6, // 2: google.cloud.aiplatform.v1beta1.schema.TablesDatasetMetadata.InputConfig.gcs_source:type_name -> google.cloud.aiplatform.v1beta1.schema.TablesDatasetMetadata.GcsSource + 7, // 3: google.cloud.aiplatform.v1beta1.schema.TablesDatasetMetadata.InputConfig.bigquery_source:type_name -> google.cloud.aiplatform.v1beta1.schema.TablesDatasetMetadata.BigQuerySource + 9, // 4: google.cloud.aiplatform.v1beta1.schema.TimeSeriesDatasetMetadata.InputConfig.gcs_source:type_name -> google.cloud.aiplatform.v1beta1.schema.TimeSeriesDatasetMetadata.GcsSource + 10, // 5: google.cloud.aiplatform.v1beta1.schema.TimeSeriesDatasetMetadata.InputConfig.bigquery_source:type_name -> google.cloud.aiplatform.v1beta1.schema.TimeSeriesDatasetMetadata.BigQuerySource + 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_google_cloud_aiplatform_v1beta1_schema_dataset_metadata_proto_init() } +func file_google_cloud_aiplatform_v1beta1_schema_dataset_metadata_proto_init() { + if File_google_cloud_aiplatform_v1beta1_schema_dataset_metadata_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1beta1_schema_dataset_metadata_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ImageDatasetMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_aiplatform_v1beta1_schema_dataset_metadata_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TextDatasetMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_aiplatform_v1beta1_schema_dataset_metadata_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VideoDatasetMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_aiplatform_v1beta1_schema_dataset_metadata_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TablesDatasetMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_aiplatform_v1beta1_schema_dataset_metadata_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TimeSeriesDatasetMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_aiplatform_v1beta1_schema_dataset_metadata_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TablesDatasetMetadata_InputConfig); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_aiplatform_v1beta1_schema_dataset_metadata_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TablesDatasetMetadata_GcsSource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_aiplatform_v1beta1_schema_dataset_metadata_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TablesDatasetMetadata_BigQuerySource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_aiplatform_v1beta1_schema_dataset_metadata_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TimeSeriesDatasetMetadata_InputConfig); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_aiplatform_v1beta1_schema_dataset_metadata_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TimeSeriesDatasetMetadata_GcsSource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_aiplatform_v1beta1_schema_dataset_metadata_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TimeSeriesDatasetMetadata_BigQuerySource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_google_cloud_aiplatform_v1beta1_schema_dataset_metadata_proto_msgTypes[5].OneofWrappers = []interface{}{ + (*TablesDatasetMetadata_InputConfig_GcsSource)(nil), + (*TablesDatasetMetadata_InputConfig_BigquerySource)(nil), + } + file_google_cloud_aiplatform_v1beta1_schema_dataset_metadata_proto_msgTypes[8].OneofWrappers = []interface{}{ + (*TimeSeriesDatasetMetadata_InputConfig_GcsSource)(nil), + (*TimeSeriesDatasetMetadata_InputConfig_BigquerySource)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_google_cloud_aiplatform_v1beta1_schema_dataset_metadata_proto_rawDesc, + NumEnums: 0, + NumMessages: 11, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1beta1_schema_dataset_metadata_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1beta1_schema_dataset_metadata_proto_depIdxs, + MessageInfos: file_google_cloud_aiplatform_v1beta1_schema_dataset_metadata_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1beta1_schema_dataset_metadata_proto = out.File + file_google_cloud_aiplatform_v1beta1_schema_dataset_metadata_proto_rawDesc = nil + file_google_cloud_aiplatform_v1beta1_schema_dataset_metadata_proto_goTypes = nil + file_google_cloud_aiplatform_v1beta1_schema_dataset_metadata_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1beta1/schema/geometry.pb.go b/googleapis/cloud/aiplatform/v1beta1/schema/geometry.pb.go new file mode 100644 index 000000000..05b9f12cc --- /dev/null +++ b/googleapis/cloud/aiplatform/v1beta1/schema/geometry.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 +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1beta1/schema/geometry.proto + +package schema + +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 vertex represents a 2D point in the image. +// NOTE: the normalized vertex coordinates are relative to the original image +// and range from 0 to 1. +type Vertex struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // X coordinate. + X float64 `protobuf:"fixed64,1,opt,name=x,proto3" json:"x,omitempty"` + // Y coordinate. + Y float64 `protobuf:"fixed64,2,opt,name=y,proto3" json:"y,omitempty"` +} + +func (x *Vertex) Reset() { + *x = Vertex{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1beta1_schema_geometry_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Vertex) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Vertex) ProtoMessage() {} + +func (x *Vertex) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1beta1_schema_geometry_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 Vertex.ProtoReflect.Descriptor instead. +func (*Vertex) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1beta1_schema_geometry_proto_rawDescGZIP(), []int{0} +} + +func (x *Vertex) GetX() float64 { + if x != nil { + return x.X + } + return 0 +} + +func (x *Vertex) GetY() float64 { + if x != nil { + return x.Y + } + return 0 +} + +var File_google_cloud_aiplatform_v1beta1_schema_geometry_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1beta1_schema_geometry_proto_rawDesc = []byte{ + 0x0a, 0x35, 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, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x67, 0x65, 0x6f, 0x6d, 0x65, 0x74, 0x72, + 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x26, 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, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 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, 0x24, 0x0a, + 0x06, 0x56, 0x65, 0x72, 0x74, 0x65, 0x78, 0x12, 0x0c, 0x0a, 0x01, 0x78, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x01, 0x52, 0x01, 0x78, 0x12, 0x0c, 0x0a, 0x01, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, + 0x52, 0x01, 0x79, 0x42, 0x8b, 0x01, 0x0a, 0x2a, 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, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, + 0x6d, 0x61, 0x42, 0x0d, 0x47, 0x65, 0x6f, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x74, + 0x6f, 0x50, 0x01, 0x5a, 0x4c, 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, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x3b, 0x73, 0x63, 0x68, 0x65, 0x6d, + 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_google_cloud_aiplatform_v1beta1_schema_geometry_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1beta1_schema_geometry_proto_rawDescData = file_google_cloud_aiplatform_v1beta1_schema_geometry_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1beta1_schema_geometry_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1beta1_schema_geometry_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1beta1_schema_geometry_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1beta1_schema_geometry_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1beta1_schema_geometry_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1beta1_schema_geometry_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_google_cloud_aiplatform_v1beta1_schema_geometry_proto_goTypes = []interface{}{ + (*Vertex)(nil), // 0: google.cloud.aiplatform.v1beta1.schema.Vertex +} +var file_google_cloud_aiplatform_v1beta1_schema_geometry_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_v1beta1_schema_geometry_proto_init() } +func file_google_cloud_aiplatform_v1beta1_schema_geometry_proto_init() { + if File_google_cloud_aiplatform_v1beta1_schema_geometry_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1beta1_schema_geometry_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Vertex); 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_v1beta1_schema_geometry_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1beta1_schema_geometry_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1beta1_schema_geometry_proto_depIdxs, + MessageInfos: file_google_cloud_aiplatform_v1beta1_schema_geometry_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1beta1_schema_geometry_proto = out.File + file_google_cloud_aiplatform_v1beta1_schema_geometry_proto_rawDesc = nil + file_google_cloud_aiplatform_v1beta1_schema_geometry_proto_goTypes = nil + file_google_cloud_aiplatform_v1beta1_schema_geometry_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1beta1/schema/io_format.pb.go b/googleapis/cloud/aiplatform/v1beta1/schema/io_format.pb.go new file mode 100644 index 000000000..0d65fecff --- /dev/null +++ b/googleapis/cloud/aiplatform/v1beta1/schema/io_format.pb.go @@ -0,0 +1,2541 @@ +// 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 +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1beta1/schema/io_format.proto + +package schema + +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" + structpb "google.golang.org/protobuf/types/known/structpb" + 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 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_v1beta1_schema_io_format_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_v1beta1_schema_io_format_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_v1beta1_schema_io_format_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 "" +} + +// 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_v1beta1_schema_io_format_proto_msgTypes[1] + 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_v1beta1_schema_io_format_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 ImageObjectDetectionPredictionInstance.ProtoReflect.Descriptor instead. +func (*ImageObjectDetectionPredictionInstance) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_rawDescGZIP(), []int{1} +} + +func (x *ImageObjectDetectionPredictionInstance) GetContent() string { + if x != nil { + return x.Content + } + return "" +} + +func (x *ImageObjectDetectionPredictionInstance) GetMimeType() string { + if x != nil { + return x.MimeType + } + return "" +} + +// 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_v1beta1_schema_io_format_proto_msgTypes[2] + 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_v1beta1_schema_io_format_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 ImageSegmentationPredictionInstance.ProtoReflect.Descriptor instead. +func (*ImageSegmentationPredictionInstance) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_rawDescGZIP(), []int{2} +} + +func (x *ImageSegmentationPredictionInstance) GetContent() string { + if x != nil { + return x.Content + } + return "" +} + +func (x *ImageSegmentationPredictionInstance) GetMimeType() string { + if x != nil { + return x.MimeType + } + return "" +} + +// 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 "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_v1beta1_schema_io_format_proto_msgTypes[3] + 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_v1beta1_schema_io_format_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 VideoClassificationPredictionInstance.ProtoReflect.Descriptor instead. +func (*VideoClassificationPredictionInstance) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_rawDescGZIP(), []int{3} +} + +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 "" +} + +// Prediction input format for Video Classification. +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 "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_v1beta1_schema_io_format_proto_msgTypes[4] + 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_v1beta1_schema_io_format_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 VideoObjectTrackingPredictionInstance.ProtoReflect.Descriptor instead. +func (*VideoObjectTrackingPredictionInstance) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_rawDescGZIP(), []int{4} +} + +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 "" +} + +// 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 "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_v1beta1_schema_io_format_proto_msgTypes[5] + 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_v1beta1_schema_io_format_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 VideoActionRecognitionPredictionInstance.ProtoReflect.Descriptor instead. +func (*VideoActionRecognitionPredictionInstance) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_rawDescGZIP(), []int{5} +} + +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 "" +} + +// 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_v1beta1_schema_io_format_proto_msgTypes[6] + 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_v1beta1_schema_io_format_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 TextClassificationPredictionInstance.ProtoReflect.Descriptor instead. +func (*TextClassificationPredictionInstance) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_rawDescGZIP(), []int{6} +} + +func (x *TextClassificationPredictionInstance) GetContent() string { + if x != nil { + return x.Content + } + return "" +} + +func (x *TextClassificationPredictionInstance) GetMimeType() string { + if x != nil { + return x.MimeType + } + return "" +} + +// 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_v1beta1_schema_io_format_proto_msgTypes[7] + 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_v1beta1_schema_io_format_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 TextSentimentPredictionInstance.ProtoReflect.Descriptor instead. +func (*TextSentimentPredictionInstance) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_rawDescGZIP(), []int{7} +} + +func (x *TextSentimentPredictionInstance) GetContent() string { + if x != nil { + return x.Content + } + return "" +} + +func (x *TextSentimentPredictionInstance) GetMimeType() string { + if x != nil { + return x.MimeType + } + return "" +} + +// 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_v1beta1_schema_io_format_proto_msgTypes[8] + 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_v1beta1_schema_io_format_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 TextExtractionPredictionInstance.ProtoReflect.Descriptor instead. +func (*TextExtractionPredictionInstance) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_rawDescGZIP(), []int{8} +} + +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 "" +} + +// 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_v1beta1_schema_io_format_proto_msgTypes[9] + 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_v1beta1_schema_io_format_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 ImageClassificationPredictionParams.ProtoReflect.Descriptor instead. +func (*ImageClassificationPredictionParams) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_rawDescGZIP(), []int{9} +} + +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 +} + +// 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_v1beta1_schema_io_format_proto_msgTypes[10] + 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_v1beta1_schema_io_format_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 ImageObjectDetectionPredictionParams.ProtoReflect.Descriptor instead. +func (*ImageObjectDetectionPredictionParams) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_rawDescGZIP(), []int{10} +} + +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 +} + +// 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_v1beta1_schema_io_format_proto_msgTypes[11] + 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_v1beta1_schema_io_format_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 ImageSegmentationPredictionParams.ProtoReflect.Descriptor instead. +func (*ImageSegmentationPredictionParams) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_rawDescGZIP(), []int{11} +} + +func (x *ImageSegmentationPredictionParams) GetConfidenceThreshold() float32 { + if x != nil { + return x.ConfidenceThreshold + } + return 0 +} + +// 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_v1beta1_schema_io_format_proto_msgTypes[12] + 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_v1beta1_schema_io_format_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 VideoClassificationPredictionParams.ProtoReflect.Descriptor instead. +func (*VideoClassificationPredictionParams) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_rawDescGZIP(), []int{12} +} + +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 +} + +// 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_v1beta1_schema_io_format_proto_msgTypes[13] + 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_v1beta1_schema_io_format_proto_msgTypes[13] + 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_v1beta1_schema_io_format_proto_rawDescGZIP(), []int{13} +} + +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 +} + +// 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_v1beta1_schema_io_format_proto_msgTypes[14] + 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_v1beta1_schema_io_format_proto_msgTypes[14] + 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_v1beta1_schema_io_format_proto_rawDescGZIP(), []int{14} +} + +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 +} + +// Represents a line of JSONL in the batch prediction output file. +type PredictionResult struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Some identifier from the input so that the prediction can be mapped back to + // the input instance. + // + // Types that are assignable to Input: + // *PredictionResult_Instance + // *PredictionResult_Key + Input isPredictionResult_Input `protobuf_oneof:"input"` + // The prediction result. + // Value is used here instead of Any so that JsonFormat does not append an + // extra "@type" field when we convert the proto to JSON and so we can + // represent array of objects. + Prediction *structpb.Value `protobuf:"bytes,3,opt,name=prediction,proto3" json:"prediction,omitempty"` +} + +func (x *PredictionResult) Reset() { + *x = PredictionResult{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PredictionResult) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PredictionResult) ProtoMessage() {} + +func (x *PredictionResult) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_msgTypes[15] + 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 PredictionResult.ProtoReflect.Descriptor instead. +func (*PredictionResult) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_rawDescGZIP(), []int{15} +} + +func (m *PredictionResult) GetInput() isPredictionResult_Input { + if m != nil { + return m.Input + } + return nil +} + +func (x *PredictionResult) GetInstance() *structpb.Struct { + if x, ok := x.GetInput().(*PredictionResult_Instance); ok { + return x.Instance + } + return nil +} + +func (x *PredictionResult) GetKey() string { + if x, ok := x.GetInput().(*PredictionResult_Key); ok { + return x.Key + } + return "" +} + +func (x *PredictionResult) GetPrediction() *structpb.Value { + if x != nil { + return x.Prediction + } + return nil +} + +type isPredictionResult_Input interface { + isPredictionResult_Input() +} + +type PredictionResult_Instance struct { + // User's input instance. + // Struct is used here instead of Any so that JsonFormat does not append an + // extra "@type" field when we convert the proto to JSON. + Instance *structpb.Struct `protobuf:"bytes,1,opt,name=instance,proto3,oneof"` +} + +type PredictionResult_Key struct { + // Optional user-provided key from the input instance. + Key string `protobuf:"bytes,2,opt,name=key,proto3,oneof"` +} + +func (*PredictionResult_Instance) isPredictionResult_Input() {} + +func (*PredictionResult_Key) isPredictionResult_Input() {} + +// Represents a line of JSONL in the text sentiment batch prediction output +// file. This is a hack to allow printing of integer values. +type TextSentimentPredictionResult struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // User's input instance. + Instance *TextSentimentPredictionInstance `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"` + // The prediction result. + Prediction *TextSentimentPredictionResult_Prediction `protobuf:"bytes,2,opt,name=prediction,proto3" json:"prediction,omitempty"` +} + +func (x *TextSentimentPredictionResult) Reset() { + *x = TextSentimentPredictionResult{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_msgTypes[16] + 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_v1beta1_schema_io_format_proto_msgTypes[16] + 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_v1beta1_schema_io_format_proto_rawDescGZIP(), []int{16} +} + +func (x *TextSentimentPredictionResult) GetInstance() *TextSentimentPredictionInstance { + if x != nil { + return x.Instance + } + return nil +} + +func (x *TextSentimentPredictionResult) GetPrediction() *TextSentimentPredictionResult_Prediction { + if x != nil { + return x.Prediction + } + return nil +} + +// Prediction output format for Image 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_v1beta1_schema_io_format_proto_msgTypes[17] + 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_v1beta1_schema_io_format_proto_msgTypes[17] + 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_v1beta1_schema_io_format_proto_rawDescGZIP(), []int{17} +} + +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 +} + +// 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_v1beta1_schema_io_format_proto_msgTypes[18] + 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_v1beta1_schema_io_format_proto_msgTypes[18] + 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_v1beta1_schema_io_format_proto_rawDescGZIP(), []int{18} +} + +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 +} + +// 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_v1beta1_schema_io_format_proto_msgTypes[19] + 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_v1beta1_schema_io_format_proto_msgTypes[19] + 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_v1beta1_schema_io_format_proto_rawDescGZIP(), []int{19} +} + +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 +} + +// 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_v1beta1_schema_io_format_proto_msgTypes[20] + 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_v1beta1_schema_io_format_proto_msgTypes[20] + 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_v1beta1_schema_io_format_proto_rawDescGZIP(), []int{20} +} + +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 +} + +// 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_v1beta1_schema_io_format_proto_msgTypes[21] + 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_v1beta1_schema_io_format_proto_msgTypes[21] + 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_v1beta1_schema_io_format_proto_rawDescGZIP(), []int{21} +} + +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 +} + +// Prediction output format for Text Sentiment. +type TextSentimentPredictionResult_Prediction 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_Prediction) Reset() { + *x = TextSentimentPredictionResult_Prediction{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TextSentimentPredictionResult_Prediction) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TextSentimentPredictionResult_Prediction) ProtoMessage() {} + +func (x *TextSentimentPredictionResult_Prediction) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_msgTypes[22] + 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_Prediction.ProtoReflect.Descriptor instead. +func (*TextSentimentPredictionResult_Prediction) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_rawDescGZIP(), []int{16, 0} +} + +func (x *TextSentimentPredictionResult_Prediction) GetSentiment() int32 { + if x != nil { + return x.Sentiment + } + return 0 +} + +// 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_v1beta1_schema_io_format_proto_msgTypes[23] + 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_v1beta1_schema_io_format_proto_msgTypes[23] + 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_v1beta1_schema_io_format_proto_rawDescGZIP(), []int{20, 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_v1beta1_schema_io_format_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_rawDesc = []byte{ + 0x0a, 0x36, 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, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x69, 0x6f, 0x5f, 0x66, 0x6f, 0x72, 0x6d, + 0x61, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x26, 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, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, + 0x1a, 0x42, 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, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x5f, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x35, 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, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x67, 0x65, 0x6f, + 0x6d, 0x65, 0x74, 0x72, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 0x22, 0x9e, 0x01, 0x0a, + 0x10, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, + 0x74, 0x12, 0x35, 0x0a, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x48, 0x00, 0x52, 0x08, + 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x36, 0x0a, 0x0a, + 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0a, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x07, 0x0a, 0x05, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x22, 0xa2, 0x02, + 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, + 0x63, 0x0a, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x47, 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, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 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, 0x52, 0x08, 0x69, 0x6e, 0x73, 0x74, + 0x61, 0x6e, 0x63, 0x65, 0x12, 0x70, 0x0a, 0x0a, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x50, 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, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, + 0x61, 0x2e, 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, 0x2e, + 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x70, 0x72, 0x65, 0x64, + 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x2a, 0x0a, 0x0a, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 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, 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, 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, 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, 0x22, 0x9c, 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, 0x69, 0x0a, 0x06, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x06, 0x20, + 0x03, 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, + 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 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, 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, 0x8b, + 0x01, 0x0a, 0x2a, 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, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x42, 0x0d, 0x49, + 0x6f, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4c, + 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, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x73, + 0x63, 0x68, 0x65, 0x6d, 0x61, 0x3b, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_rawDescData = file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_msgTypes = make([]protoimpl.MessageInfo, 24) +var file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_goTypes = []interface{}{ + (*ImageClassificationPredictionInstance)(nil), // 0: google.cloud.aiplatform.v1beta1.schema.ImageClassificationPredictionInstance + (*ImageObjectDetectionPredictionInstance)(nil), // 1: google.cloud.aiplatform.v1beta1.schema.ImageObjectDetectionPredictionInstance + (*ImageSegmentationPredictionInstance)(nil), // 2: google.cloud.aiplatform.v1beta1.schema.ImageSegmentationPredictionInstance + (*VideoClassificationPredictionInstance)(nil), // 3: google.cloud.aiplatform.v1beta1.schema.VideoClassificationPredictionInstance + (*VideoObjectTrackingPredictionInstance)(nil), // 4: google.cloud.aiplatform.v1beta1.schema.VideoObjectTrackingPredictionInstance + (*VideoActionRecognitionPredictionInstance)(nil), // 5: google.cloud.aiplatform.v1beta1.schema.VideoActionRecognitionPredictionInstance + (*TextClassificationPredictionInstance)(nil), // 6: google.cloud.aiplatform.v1beta1.schema.TextClassificationPredictionInstance + (*TextSentimentPredictionInstance)(nil), // 7: google.cloud.aiplatform.v1beta1.schema.TextSentimentPredictionInstance + (*TextExtractionPredictionInstance)(nil), // 8: google.cloud.aiplatform.v1beta1.schema.TextExtractionPredictionInstance + (*ImageClassificationPredictionParams)(nil), // 9: google.cloud.aiplatform.v1beta1.schema.ImageClassificationPredictionParams + (*ImageObjectDetectionPredictionParams)(nil), // 10: google.cloud.aiplatform.v1beta1.schema.ImageObjectDetectionPredictionParams + (*ImageSegmentationPredictionParams)(nil), // 11: google.cloud.aiplatform.v1beta1.schema.ImageSegmentationPredictionParams + (*VideoClassificationPredictionParams)(nil), // 12: google.cloud.aiplatform.v1beta1.schema.VideoClassificationPredictionParams + (*VideoObjectTrackingPredictionParams)(nil), // 13: google.cloud.aiplatform.v1beta1.schema.VideoObjectTrackingPredictionParams + (*VideoActionRecognitionPredictionParams)(nil), // 14: google.cloud.aiplatform.v1beta1.schema.VideoActionRecognitionPredictionParams + (*PredictionResult)(nil), // 15: google.cloud.aiplatform.v1beta1.schema.PredictionResult + (*TextSentimentPredictionResult)(nil), // 16: google.cloud.aiplatform.v1beta1.schema.TextSentimentPredictionResult + (*ClassificationPredictionResult)(nil), // 17: google.cloud.aiplatform.v1beta1.schema.ClassificationPredictionResult + (*ImageObjectDetectionPredictionResult)(nil), // 18: google.cloud.aiplatform.v1beta1.schema.ImageObjectDetectionPredictionResult + (*VideoClassificationPredictionResult)(nil), // 19: google.cloud.aiplatform.v1beta1.schema.VideoClassificationPredictionResult + (*VideoObjectTrackingPredictionResult)(nil), // 20: google.cloud.aiplatform.v1beta1.schema.VideoObjectTrackingPredictionResult + (*TextExtractionPredictionResult)(nil), // 21: google.cloud.aiplatform.v1beta1.schema.TextExtractionPredictionResult + (*TextSentimentPredictionResult_Prediction)(nil), // 22: google.cloud.aiplatform.v1beta1.schema.TextSentimentPredictionResult.Prediction + (*VideoObjectTrackingPredictionResult_Frame)(nil), // 23: google.cloud.aiplatform.v1beta1.schema.VideoObjectTrackingPredictionResult.Frame + (*structpb.Struct)(nil), // 24: google.protobuf.Struct + (*structpb.Value)(nil), // 25: google.protobuf.Value + (*structpb.ListValue)(nil), // 26: google.protobuf.ListValue + (*durationpb.Duration)(nil), // 27: google.protobuf.Duration + (*wrapperspb.FloatValue)(nil), // 28: google.protobuf.FloatValue +} +var file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_depIdxs = []int32{ + 24, // 0: google.cloud.aiplatform.v1beta1.schema.PredictionResult.instance:type_name -> google.protobuf.Struct + 25, // 1: google.cloud.aiplatform.v1beta1.schema.PredictionResult.prediction:type_name -> google.protobuf.Value + 7, // 2: google.cloud.aiplatform.v1beta1.schema.TextSentimentPredictionResult.instance:type_name -> google.cloud.aiplatform.v1beta1.schema.TextSentimentPredictionInstance + 22, // 3: google.cloud.aiplatform.v1beta1.schema.TextSentimentPredictionResult.prediction:type_name -> google.cloud.aiplatform.v1beta1.schema.TextSentimentPredictionResult.Prediction + 26, // 4: google.cloud.aiplatform.v1beta1.schema.ImageObjectDetectionPredictionResult.bboxes:type_name -> google.protobuf.ListValue + 27, // 5: google.cloud.aiplatform.v1beta1.schema.VideoClassificationPredictionResult.time_segment_start:type_name -> google.protobuf.Duration + 27, // 6: google.cloud.aiplatform.v1beta1.schema.VideoClassificationPredictionResult.time_segment_end:type_name -> google.protobuf.Duration + 28, // 7: google.cloud.aiplatform.v1beta1.schema.VideoClassificationPredictionResult.confidence:type_name -> google.protobuf.FloatValue + 27, // 8: google.cloud.aiplatform.v1beta1.schema.VideoObjectTrackingPredictionResult.time_segment_start:type_name -> google.protobuf.Duration + 27, // 9: google.cloud.aiplatform.v1beta1.schema.VideoObjectTrackingPredictionResult.time_segment_end:type_name -> google.protobuf.Duration + 28, // 10: google.cloud.aiplatform.v1beta1.schema.VideoObjectTrackingPredictionResult.confidence:type_name -> google.protobuf.FloatValue + 23, // 11: google.cloud.aiplatform.v1beta1.schema.VideoObjectTrackingPredictionResult.frames:type_name -> google.cloud.aiplatform.v1beta1.schema.VideoObjectTrackingPredictionResult.Frame + 27, // 12: google.cloud.aiplatform.v1beta1.schema.VideoObjectTrackingPredictionResult.Frame.time_offset:type_name -> google.protobuf.Duration + 28, // 13: google.cloud.aiplatform.v1beta1.schema.VideoObjectTrackingPredictionResult.Frame.x_min:type_name -> google.protobuf.FloatValue + 28, // 14: google.cloud.aiplatform.v1beta1.schema.VideoObjectTrackingPredictionResult.Frame.x_max:type_name -> google.protobuf.FloatValue + 28, // 15: google.cloud.aiplatform.v1beta1.schema.VideoObjectTrackingPredictionResult.Frame.y_min:type_name -> google.protobuf.FloatValue + 28, // 16: google.cloud.aiplatform.v1beta1.schema.VideoObjectTrackingPredictionResult.Frame.y_max:type_name -> google.protobuf.FloatValue + 17, // [17:17] is the sub-list for method output_type + 17, // [17:17] is the sub-list for method input_type + 17, // [17:17] is the sub-list for extension type_name + 17, // [17:17] is the sub-list for extension extendee + 0, // [0:17] is the sub-list for field type_name +} + +func init() { file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_init() } +func file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_init() { + if File_google_cloud_aiplatform_v1beta1_schema_io_format_proto != nil { + return + } + file_google_cloud_aiplatform_v1beta1_schema_annotation_spec_color_proto_init() + file_google_cloud_aiplatform_v1beta1_schema_geometry_proto_init() + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1beta1_schema_io_format_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 + } + } + file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_msgTypes[1].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 + } + } + file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_msgTypes[2].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 + } + } + file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_msgTypes[3].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 + } + } + file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_msgTypes[4].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 + } + } + file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_msgTypes[5].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 + } + } + file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_msgTypes[6].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 + } + } + file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_msgTypes[7].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 + } + } + file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_msgTypes[8].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 + } + } + file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_msgTypes[9].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 + } + } + file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_msgTypes[10].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 + } + } + file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_msgTypes[11].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 + } + } + file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_msgTypes[12].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 + } + } + file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_msgTypes[13].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 + } + } + file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_msgTypes[14].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 + } + } + file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PredictionResult); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_msgTypes[16].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 + } + } + file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_msgTypes[17].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 + } + } + file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_msgTypes[18].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 + } + } + file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_msgTypes[19].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 + } + } + file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_msgTypes[20].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_v1beta1_schema_io_format_proto_msgTypes[21].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 + } + } + file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TextSentimentPredictionResult_Prediction); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_msgTypes[23].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 + } + } + } + file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_msgTypes[15].OneofWrappers = []interface{}{ + (*PredictionResult_Instance)(nil), + (*PredictionResult_Key)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_rawDesc, + NumEnums: 0, + NumMessages: 24, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_depIdxs, + MessageInfos: file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1beta1_schema_io_format_proto = out.File + file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_rawDesc = nil + file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_goTypes = nil + file_google_cloud_aiplatform_v1beta1_schema_io_format_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1beta1/schema/predict/instance/image_classification.pb.go b/googleapis/cloud/aiplatform/v1beta1/schema/predict/instance/image_classification.pb.go new file mode 100644 index 000000000..a646ff035 --- /dev/null +++ b/googleapis/cloud/aiplatform/v1beta1/schema/predict/instance/image_classification.pb.go @@ -0,0 +1,209 @@ +// 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 +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1beta1/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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_schema_predict_instance_image_classification_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_classification_proto_rawDesc = []byte{ + 0x0a, 0x52, 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, 0x62, 0x65, 0x74, 0x61, + 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, 0x37, 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, + 0x62, 0x65, 0x74, 0x61, 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, 0xcc, 0x01, 0x0a, 0x3b, + 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, 0x62, 0x65, + 0x74, 0x61, 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, 0x5f, 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, 0x62, 0x65, 0x74, 0x61, 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_v1beta1_schema_predict_instance_image_classification_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_classification_proto_rawDescData = file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_classification_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_classification_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_classification_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_classification_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_classification_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_classification_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_classification_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_classification_proto_goTypes = []interface{}{ + (*ImageClassificationPredictionInstance)(nil), // 0: google.cloud.aiplatform.v1beta1.schema.predict.instance.ImageClassificationPredictionInstance +} +var file_google_cloud_aiplatform_v1beta1_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_v1beta1_schema_predict_instance_image_classification_proto_init() +} +func file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_classification_proto_init() { + if File_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_classification_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1beta1_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_v1beta1_schema_predict_instance_image_classification_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_classification_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_classification_proto_depIdxs, + MessageInfos: file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_classification_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_classification_proto = out.File + file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_classification_proto_rawDesc = nil + file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_classification_proto_goTypes = nil + file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_classification_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1beta1/schema/predict/instance/image_object_detection.pb.go b/googleapis/cloud/aiplatform/v1beta1/schema/predict/instance/image_object_detection.pb.go new file mode 100644 index 000000000..09497b679 --- /dev/null +++ b/googleapis/cloud/aiplatform/v1beta1/schema/predict/instance/image_object_detection.pb.go @@ -0,0 +1,209 @@ +// 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 +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1beta1/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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_schema_predict_instance_image_object_detection_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_object_detection_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, 0x62, 0x65, 0x74, 0x61, + 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, 0x37, 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, 0x62, 0x65, 0x74, 0x61, 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, 0xcd, + 0x01, 0x0a, 0x3b, 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, 0x62, 0x65, 0x74, 0x61, 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, 0x5f, 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, 0x62, 0x65, 0x74, 0x61, 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_v1beta1_schema_predict_instance_image_object_detection_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_object_detection_proto_rawDescData = file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_object_detection_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_object_detection_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_object_detection_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_object_detection_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_object_detection_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_object_detection_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_object_detection_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_object_detection_proto_goTypes = []interface{}{ + (*ImageObjectDetectionPredictionInstance)(nil), // 0: google.cloud.aiplatform.v1beta1.schema.predict.instance.ImageObjectDetectionPredictionInstance +} +var file_google_cloud_aiplatform_v1beta1_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_v1beta1_schema_predict_instance_image_object_detection_proto_init() +} +func file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_object_detection_proto_init() { + if File_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_object_detection_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1beta1_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_v1beta1_schema_predict_instance_image_object_detection_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_object_detection_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_object_detection_proto_depIdxs, + MessageInfos: file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_object_detection_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_object_detection_proto = out.File + file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_object_detection_proto_rawDesc = nil + file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_object_detection_proto_goTypes = nil + file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_object_detection_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1beta1/schema/predict/instance/image_segmentation.pb.go b/googleapis/cloud/aiplatform/v1beta1/schema/predict/instance/image_segmentation.pb.go new file mode 100644 index 000000000..d90261ef5 --- /dev/null +++ b/googleapis/cloud/aiplatform/v1beta1/schema/predict/instance/image_segmentation.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 +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1beta1/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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_schema_predict_instance_image_segmentation_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_segmentation_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, 0x62, 0x65, 0x74, 0x61, + 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, 0x37, 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, 0x62, 0x65, + 0x74, 0x61, 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, 0xca, 0x01, 0x0a, 0x3b, 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, 0x62, 0x65, 0x74, 0x61, 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, 0x5f, 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, 0x62, 0x65, + 0x74, 0x61, 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_v1beta1_schema_predict_instance_image_segmentation_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_segmentation_proto_rawDescData = file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_segmentation_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_segmentation_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_segmentation_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_segmentation_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_segmentation_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_segmentation_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_segmentation_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_segmentation_proto_goTypes = []interface{}{ + (*ImageSegmentationPredictionInstance)(nil), // 0: google.cloud.aiplatform.v1beta1.schema.predict.instance.ImageSegmentationPredictionInstance +} +var file_google_cloud_aiplatform_v1beta1_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_v1beta1_schema_predict_instance_image_segmentation_proto_init() +} +func file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_segmentation_proto_init() { + if File_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_segmentation_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1beta1_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_v1beta1_schema_predict_instance_image_segmentation_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_segmentation_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_segmentation_proto_depIdxs, + MessageInfos: file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_segmentation_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_segmentation_proto = out.File + file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_segmentation_proto_rawDesc = nil + file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_segmentation_proto_goTypes = nil + file_google_cloud_aiplatform_v1beta1_schema_predict_instance_image_segmentation_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1beta1/schema/predict/instance/text_classification.pb.go b/googleapis/cloud/aiplatform/v1beta1/schema/predict/instance/text_classification.pb.go new file mode 100644 index 000000000..c00da4e73 --- /dev/null +++ b/googleapis/cloud/aiplatform/v1beta1/schema/predict/instance/text_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 +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1beta1/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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_schema_predict_instance_text_classification_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_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, 0x62, 0x65, 0x74, 0x61, + 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, 0x37, 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, 0x62, + 0x65, 0x74, 0x61, 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, 0xcb, 0x01, 0x0a, 0x3b, 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, 0x62, 0x65, 0x74, 0x61, + 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, 0x5f, 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, 0x62, 0x65, 0x74, 0x61, 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_v1beta1_schema_predict_instance_text_classification_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_classification_proto_rawDescData = file_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_classification_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_classification_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_classification_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_classification_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_classification_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_classification_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_classification_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_classification_proto_goTypes = []interface{}{ + (*TextClassificationPredictionInstance)(nil), // 0: google.cloud.aiplatform.v1beta1.schema.predict.instance.TextClassificationPredictionInstance +} +var file_google_cloud_aiplatform_v1beta1_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_v1beta1_schema_predict_instance_text_classification_proto_init() +} +func file_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_classification_proto_init() { + if File_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_classification_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1beta1_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_v1beta1_schema_predict_instance_text_classification_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_classification_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_classification_proto_depIdxs, + MessageInfos: file_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_classification_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_classification_proto = out.File + file_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_classification_proto_rawDesc = nil + file_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_classification_proto_goTypes = nil + file_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_classification_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1beta1/schema/predict/instance/text_extraction.pb.go b/googleapis/cloud/aiplatform/v1beta1/schema/predict/instance/text_extraction.pb.go new file mode 100644 index 000000000..fc6706df7 --- /dev/null +++ b/googleapis/cloud/aiplatform/v1beta1/schema/predict/instance/text_extraction.pb.go @@ -0,0 +1,216 @@ +// 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 +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1beta1/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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_schema_predict_instance_text_extraction_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_extraction_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, 0x62, 0x65, 0x74, 0x61, + 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, + 0x37, 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, 0x62, 0x65, 0x74, 0x61, 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, 0xc7, 0x01, 0x0a, 0x3b, 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, 0x62, 0x65, 0x74, 0x61, 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, 0x5f, 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, 0x62, 0x65, 0x74, 0x61, 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_v1beta1_schema_predict_instance_text_extraction_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_extraction_proto_rawDescData = file_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_extraction_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_extraction_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_extraction_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_extraction_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_extraction_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_extraction_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_extraction_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_extraction_proto_goTypes = []interface{}{ + (*TextExtractionPredictionInstance)(nil), // 0: google.cloud.aiplatform.v1beta1.schema.predict.instance.TextExtractionPredictionInstance +} +var file_google_cloud_aiplatform_v1beta1_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_v1beta1_schema_predict_instance_text_extraction_proto_init() +} +func file_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_extraction_proto_init() { + if File_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_extraction_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1beta1_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_v1beta1_schema_predict_instance_text_extraction_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_extraction_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_extraction_proto_depIdxs, + MessageInfos: file_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_extraction_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_extraction_proto = out.File + file_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_extraction_proto_rawDesc = nil + file_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_extraction_proto_goTypes = nil + file_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_extraction_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1beta1/schema/predict/instance/text_sentiment.pb.go b/googleapis/cloud/aiplatform/v1beta1/schema/predict/instance/text_sentiment.pb.go new file mode 100644 index 000000000..fe6daddad --- /dev/null +++ b/googleapis/cloud/aiplatform/v1beta1/schema/predict/instance/text_sentiment.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 +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1beta1/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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_schema_predict_instance_text_sentiment_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_sentiment_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, 0x62, 0x65, 0x74, 0x61, + 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, 0x37, + 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, 0x62, 0x65, 0x74, 0x61, 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, + 0xc6, 0x01, 0x0a, 0x3b, 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, 0x62, 0x65, 0x74, 0x61, 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, 0x5f, 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, 0x62, 0x65, 0x74, 0x61, 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_v1beta1_schema_predict_instance_text_sentiment_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_sentiment_proto_rawDescData = file_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_sentiment_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_sentiment_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_sentiment_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_sentiment_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_sentiment_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_sentiment_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_sentiment_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_sentiment_proto_goTypes = []interface{}{ + (*TextSentimentPredictionInstance)(nil), // 0: google.cloud.aiplatform.v1beta1.schema.predict.instance.TextSentimentPredictionInstance +} +var file_google_cloud_aiplatform_v1beta1_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_v1beta1_schema_predict_instance_text_sentiment_proto_init() } +func file_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_sentiment_proto_init() { + if File_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_sentiment_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1beta1_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_v1beta1_schema_predict_instance_text_sentiment_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_sentiment_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_sentiment_proto_depIdxs, + MessageInfos: file_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_sentiment_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_sentiment_proto = out.File + file_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_sentiment_proto_rawDesc = nil + file_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_sentiment_proto_goTypes = nil + file_google_cloud_aiplatform_v1beta1_schema_predict_instance_text_sentiment_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1beta1/schema/predict/instance/video_action_recognition.pb.go b/googleapis/cloud/aiplatform/v1beta1/schema/predict/instance/video_action_recognition.pb.go new file mode 100644 index 000000000..7ad4ed907 --- /dev/null +++ b/googleapis/cloud/aiplatform/v1beta1/schema/predict/instance/video_action_recognition.pb.go @@ -0,0 +1,234 @@ +// 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 +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1beta1/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 "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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_schema_predict_instance_video_action_recognition_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_action_recognition_proto_rawDesc = []byte{ + 0x0a, 0x56, 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, 0x62, 0x65, 0x74, 0x61, + 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, 0x37, 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, 0x62, 0x65, 0x74, 0x61, 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, 0xcf, 0x01, 0x0a, 0x3b, + 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, 0x62, 0x65, + 0x74, 0x61, 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, 0x5f, 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, 0x62, 0x65, 0x74, 0x61, 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_v1beta1_schema_predict_instance_video_action_recognition_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_action_recognition_proto_rawDescData = file_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_action_recognition_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_action_recognition_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_action_recognition_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_action_recognition_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_action_recognition_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_action_recognition_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_action_recognition_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_action_recognition_proto_goTypes = []interface{}{ + (*VideoActionRecognitionPredictionInstance)(nil), // 0: google.cloud.aiplatform.v1beta1.schema.predict.instance.VideoActionRecognitionPredictionInstance +} +var file_google_cloud_aiplatform_v1beta1_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_v1beta1_schema_predict_instance_video_action_recognition_proto_init() +} +func file_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_action_recognition_proto_init() { + if File_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_action_recognition_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1beta1_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_v1beta1_schema_predict_instance_video_action_recognition_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_action_recognition_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_action_recognition_proto_depIdxs, + MessageInfos: file_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_action_recognition_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_action_recognition_proto = out.File + file_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_action_recognition_proto_rawDesc = nil + file_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_action_recognition_proto_goTypes = nil + file_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_action_recognition_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1beta1/schema/predict/instance/video_classification.pb.go b/googleapis/cloud/aiplatform/v1beta1/schema/predict/instance/video_classification.pb.go new file mode 100644 index 000000000..ccc5140df --- /dev/null +++ b/googleapis/cloud/aiplatform/v1beta1/schema/predict/instance/video_classification.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 +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1beta1/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 "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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_schema_predict_instance_video_classification_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_classification_proto_rawDesc = []byte{ + 0x0a, 0x52, 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, 0x62, 0x65, 0x74, 0x61, + 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, 0x37, 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, + 0x62, 0x65, 0x74, 0x61, 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, 0xcc, 0x01, 0x0a, 0x3b, 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, 0x62, 0x65, 0x74, 0x61, 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, 0x5f, 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, 0x62, 0x65, 0x74, + 0x61, 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_v1beta1_schema_predict_instance_video_classification_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_classification_proto_rawDescData = file_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_classification_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_classification_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_classification_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_classification_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_classification_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_classification_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_classification_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_classification_proto_goTypes = []interface{}{ + (*VideoClassificationPredictionInstance)(nil), // 0: google.cloud.aiplatform.v1beta1.schema.predict.instance.VideoClassificationPredictionInstance +} +var file_google_cloud_aiplatform_v1beta1_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_v1beta1_schema_predict_instance_video_classification_proto_init() +} +func file_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_classification_proto_init() { + if File_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_classification_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1beta1_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_v1beta1_schema_predict_instance_video_classification_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_classification_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_classification_proto_depIdxs, + MessageInfos: file_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_classification_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_classification_proto = out.File + file_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_classification_proto_rawDesc = nil + file_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_classification_proto_goTypes = nil + file_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_classification_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1beta1/schema/predict/instance/video_object_tracking.pb.go b/googleapis/cloud/aiplatform/v1beta1/schema/predict/instance/video_object_tracking.pb.go new file mode 100644 index 000000000..aee6f3eee --- /dev/null +++ b/googleapis/cloud/aiplatform/v1beta1/schema/predict/instance/video_object_tracking.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 +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1beta1/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 "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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_schema_predict_instance_video_object_tracking_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_object_tracking_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, 0x62, 0x65, 0x74, 0x61, + 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, 0x37, 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, 0x62, 0x65, 0x74, 0x61, 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, 0xcc, 0x01, 0x0a, 0x3b, 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, 0x62, 0x65, 0x74, 0x61, 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, 0x5f, 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, 0x62, 0x65, + 0x74, 0x61, 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_v1beta1_schema_predict_instance_video_object_tracking_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_object_tracking_proto_rawDescData = file_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_object_tracking_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_object_tracking_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_object_tracking_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_object_tracking_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_object_tracking_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_object_tracking_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_object_tracking_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_object_tracking_proto_goTypes = []interface{}{ + (*VideoObjectTrackingPredictionInstance)(nil), // 0: google.cloud.aiplatform.v1beta1.schema.predict.instance.VideoObjectTrackingPredictionInstance +} +var file_google_cloud_aiplatform_v1beta1_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_v1beta1_schema_predict_instance_video_object_tracking_proto_init() +} +func file_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_object_tracking_proto_init() { + if File_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_object_tracking_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1beta1_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_v1beta1_schema_predict_instance_video_object_tracking_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_object_tracking_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_object_tracking_proto_depIdxs, + MessageInfos: file_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_object_tracking_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_object_tracking_proto = out.File + file_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_object_tracking_proto_rawDesc = nil + file_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_object_tracking_proto_goTypes = nil + file_google_cloud_aiplatform_v1beta1_schema_predict_instance_video_object_tracking_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1beta1/schema/predict/params/image_classification.pb.go b/googleapis/cloud/aiplatform/v1beta1/schema/predict/params/image_classification.pb.go new file mode 100644 index 000000000..3fed1f7a8 --- /dev/null +++ b/googleapis/cloud/aiplatform/v1beta1/schema/predict/params/image_classification.pb.go @@ -0,0 +1,205 @@ +// 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 +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1beta1/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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_schema_predict_params_image_classification_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_classification_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, 0x62, 0x65, 0x74, 0x61, + 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, 0x35, 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, 0x62, 0x65, + 0x74, 0x61, 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, 0xc4, 0x01, 0x0a, 0x39, + 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, 0x62, 0x65, + 0x74, 0x61, 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, 0x5b, 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, + 0x62, 0x65, 0x74, 0x61, 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_v1beta1_schema_predict_params_image_classification_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_classification_proto_rawDescData = file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_classification_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_classification_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_classification_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_classification_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_classification_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_classification_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_classification_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_classification_proto_goTypes = []interface{}{ + (*ImageClassificationPredictionParams)(nil), // 0: google.cloud.aiplatform.v1beta1.schema.predict.params.ImageClassificationPredictionParams +} +var file_google_cloud_aiplatform_v1beta1_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_v1beta1_schema_predict_params_image_classification_proto_init() +} +func file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_classification_proto_init() { + if File_google_cloud_aiplatform_v1beta1_schema_predict_params_image_classification_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1beta1_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_v1beta1_schema_predict_params_image_classification_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_classification_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_classification_proto_depIdxs, + MessageInfos: file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_classification_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1beta1_schema_predict_params_image_classification_proto = out.File + file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_classification_proto_rawDesc = nil + file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_classification_proto_goTypes = nil + file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_classification_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1beta1/schema/predict/params/image_object_detection.pb.go b/googleapis/cloud/aiplatform/v1beta1/schema/predict/params/image_object_detection.pb.go new file mode 100644 index 000000000..0d9214145 --- /dev/null +++ b/googleapis/cloud/aiplatform/v1beta1/schema/predict/params/image_object_detection.pb.go @@ -0,0 +1,205 @@ +// 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 +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1beta1/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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_schema_predict_params_image_object_detection_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_object_detection_proto_rawDesc = []byte{ + 0x0a, 0x52, 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, 0x62, 0x65, 0x74, 0x61, + 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, 0x35, 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, + 0x62, 0x65, 0x74, 0x61, 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, 0xc5, + 0x01, 0x0a, 0x39, 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, 0x62, 0x65, 0x74, 0x61, 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, 0x5b, 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, 0x62, 0x65, 0x74, 0x61, 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_v1beta1_schema_predict_params_image_object_detection_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_object_detection_proto_rawDescData = file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_object_detection_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_object_detection_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_object_detection_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_object_detection_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_object_detection_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_object_detection_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_object_detection_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_object_detection_proto_goTypes = []interface{}{ + (*ImageObjectDetectionPredictionParams)(nil), // 0: google.cloud.aiplatform.v1beta1.schema.predict.params.ImageObjectDetectionPredictionParams +} +var file_google_cloud_aiplatform_v1beta1_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_v1beta1_schema_predict_params_image_object_detection_proto_init() +} +func file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_object_detection_proto_init() { + if File_google_cloud_aiplatform_v1beta1_schema_predict_params_image_object_detection_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1beta1_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_v1beta1_schema_predict_params_image_object_detection_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_object_detection_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_object_detection_proto_depIdxs, + MessageInfos: file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_object_detection_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1beta1_schema_predict_params_image_object_detection_proto = out.File + file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_object_detection_proto_rawDesc = nil + file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_object_detection_proto_goTypes = nil + file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_object_detection_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1beta1/schema/predict/params/image_segmentation.pb.go b/googleapis/cloud/aiplatform/v1beta1/schema/predict/params/image_segmentation.pb.go new file mode 100644 index 000000000..c265808df --- /dev/null +++ b/googleapis/cloud/aiplatform/v1beta1/schema/predict/params/image_segmentation.pb.go @@ -0,0 +1,193 @@ +// 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 +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1beta1/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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_schema_predict_params_image_segmentation_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_segmentation_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, 0x62, 0x65, 0x74, 0x61, + 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, 0x35, 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, 0x62, 0x65, 0x74, 0x61, + 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, 0xc2, 0x01, + 0x0a, 0x39, 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, + 0x62, 0x65, 0x74, 0x61, 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, 0x5b, 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, + 0x62, 0x65, 0x74, 0x61, 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_v1beta1_schema_predict_params_image_segmentation_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_segmentation_proto_rawDescData = file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_segmentation_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_segmentation_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_segmentation_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_segmentation_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_segmentation_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_segmentation_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_segmentation_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_segmentation_proto_goTypes = []interface{}{ + (*ImageSegmentationPredictionParams)(nil), // 0: google.cloud.aiplatform.v1beta1.schema.predict.params.ImageSegmentationPredictionParams +} +var file_google_cloud_aiplatform_v1beta1_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_v1beta1_schema_predict_params_image_segmentation_proto_init() +} +func file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_segmentation_proto_init() { + if File_google_cloud_aiplatform_v1beta1_schema_predict_params_image_segmentation_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1beta1_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_v1beta1_schema_predict_params_image_segmentation_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_segmentation_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_segmentation_proto_depIdxs, + MessageInfos: file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_segmentation_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1beta1_schema_predict_params_image_segmentation_proto = out.File + file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_segmentation_proto_rawDesc = nil + file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_segmentation_proto_goTypes = nil + file_google_cloud_aiplatform_v1beta1_schema_predict_params_image_segmentation_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1beta1/schema/predict/params/video_action_recognition.pb.go b/googleapis/cloud/aiplatform/v1beta1/schema/predict/params/video_action_recognition.pb.go new file mode 100644 index 000000000..7165cf90a --- /dev/null +++ b/googleapis/cloud/aiplatform/v1beta1/schema/predict/params/video_action_recognition.pb.go @@ -0,0 +1,206 @@ +// 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 +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1beta1/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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_schema_predict_params_video_action_recognition_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1beta1_schema_predict_params_video_action_recognition_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, 0x62, 0x65, 0x74, 0x61, + 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, 0x35, 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, 0x62, 0x65, 0x74, 0x61, 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, 0xc7, 0x01, 0x0a, 0x39, 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, 0x62, 0x65, 0x74, 0x61, 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, + 0x5b, 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, 0x62, 0x65, 0x74, 0x61, 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_v1beta1_schema_predict_params_video_action_recognition_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1beta1_schema_predict_params_video_action_recognition_proto_rawDescData = file_google_cloud_aiplatform_v1beta1_schema_predict_params_video_action_recognition_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1beta1_schema_predict_params_video_action_recognition_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1beta1_schema_predict_params_video_action_recognition_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1beta1_schema_predict_params_video_action_recognition_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1beta1_schema_predict_params_video_action_recognition_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1beta1_schema_predict_params_video_action_recognition_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1beta1_schema_predict_params_video_action_recognition_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_google_cloud_aiplatform_v1beta1_schema_predict_params_video_action_recognition_proto_goTypes = []interface{}{ + (*VideoActionRecognitionPredictionParams)(nil), // 0: google.cloud.aiplatform.v1beta1.schema.predict.params.VideoActionRecognitionPredictionParams +} +var file_google_cloud_aiplatform_v1beta1_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_v1beta1_schema_predict_params_video_action_recognition_proto_init() +} +func file_google_cloud_aiplatform_v1beta1_schema_predict_params_video_action_recognition_proto_init() { + if File_google_cloud_aiplatform_v1beta1_schema_predict_params_video_action_recognition_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1beta1_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_v1beta1_schema_predict_params_video_action_recognition_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1beta1_schema_predict_params_video_action_recognition_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1beta1_schema_predict_params_video_action_recognition_proto_depIdxs, + MessageInfos: file_google_cloud_aiplatform_v1beta1_schema_predict_params_video_action_recognition_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1beta1_schema_predict_params_video_action_recognition_proto = out.File + file_google_cloud_aiplatform_v1beta1_schema_predict_params_video_action_recognition_proto_rawDesc = nil + file_google_cloud_aiplatform_v1beta1_schema_predict_params_video_action_recognition_proto_goTypes = nil + file_google_cloud_aiplatform_v1beta1_schema_predict_params_video_action_recognition_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1beta1/schema/predict/params/video_classification.pb.go b/googleapis/cloud/aiplatform/v1beta1/schema/predict/params/video_classification.pb.go new file mode 100644 index 000000000..8ce494420 --- /dev/null +++ b/googleapis/cloud/aiplatform/v1beta1/schema/predict/params/video_classification.pb.go @@ -0,0 +1,259 @@ +// 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 +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1beta1/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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_schema_predict_params_video_classification_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1beta1_schema_predict_params_video_classification_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, 0x62, 0x65, 0x74, 0x61, + 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, 0x35, 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, 0x62, 0x65, + 0x74, 0x61, 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, 0xc4, 0x01, 0x0a, 0x39, 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, 0x62, 0x65, 0x74, + 0x61, 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, 0x5b, 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, 0x62, + 0x65, 0x74, 0x61, 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_v1beta1_schema_predict_params_video_classification_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1beta1_schema_predict_params_video_classification_proto_rawDescData = file_google_cloud_aiplatform_v1beta1_schema_predict_params_video_classification_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1beta1_schema_predict_params_video_classification_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1beta1_schema_predict_params_video_classification_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1beta1_schema_predict_params_video_classification_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1beta1_schema_predict_params_video_classification_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1beta1_schema_predict_params_video_classification_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1beta1_schema_predict_params_video_classification_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_google_cloud_aiplatform_v1beta1_schema_predict_params_video_classification_proto_goTypes = []interface{}{ + (*VideoClassificationPredictionParams)(nil), // 0: google.cloud.aiplatform.v1beta1.schema.predict.params.VideoClassificationPredictionParams +} +var file_google_cloud_aiplatform_v1beta1_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_v1beta1_schema_predict_params_video_classification_proto_init() +} +func file_google_cloud_aiplatform_v1beta1_schema_predict_params_video_classification_proto_init() { + if File_google_cloud_aiplatform_v1beta1_schema_predict_params_video_classification_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1beta1_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_v1beta1_schema_predict_params_video_classification_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1beta1_schema_predict_params_video_classification_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1beta1_schema_predict_params_video_classification_proto_depIdxs, + MessageInfos: file_google_cloud_aiplatform_v1beta1_schema_predict_params_video_classification_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1beta1_schema_predict_params_video_classification_proto = out.File + file_google_cloud_aiplatform_v1beta1_schema_predict_params_video_classification_proto_rawDesc = nil + file_google_cloud_aiplatform_v1beta1_schema_predict_params_video_classification_proto_goTypes = nil + file_google_cloud_aiplatform_v1beta1_schema_predict_params_video_classification_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1beta1/schema/predict/params/video_object_tracking.pb.go b/googleapis/cloud/aiplatform/v1beta1/schema/predict/params/video_object_tracking.pb.go new file mode 100644 index 000000000..62447b0f2 --- /dev/null +++ b/googleapis/cloud/aiplatform/v1beta1/schema/predict/params/video_object_tracking.pb.go @@ -0,0 +1,218 @@ +// 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 +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1beta1/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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_schema_predict_params_video_object_tracking_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1beta1_schema_predict_params_video_object_tracking_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, 0x62, 0x65, 0x74, 0x61, + 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, 0x35, 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, 0x62, + 0x65, 0x74, 0x61, 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, + 0xc4, 0x01, 0x0a, 0x39, 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, 0x62, 0x65, 0x74, 0x61, 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, 0x5b, 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, 0x62, 0x65, 0x74, 0x61, 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_v1beta1_schema_predict_params_video_object_tracking_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1beta1_schema_predict_params_video_object_tracking_proto_rawDescData = file_google_cloud_aiplatform_v1beta1_schema_predict_params_video_object_tracking_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1beta1_schema_predict_params_video_object_tracking_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1beta1_schema_predict_params_video_object_tracking_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1beta1_schema_predict_params_video_object_tracking_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1beta1_schema_predict_params_video_object_tracking_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1beta1_schema_predict_params_video_object_tracking_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1beta1_schema_predict_params_video_object_tracking_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_google_cloud_aiplatform_v1beta1_schema_predict_params_video_object_tracking_proto_goTypes = []interface{}{ + (*VideoObjectTrackingPredictionParams)(nil), // 0: google.cloud.aiplatform.v1beta1.schema.predict.params.VideoObjectTrackingPredictionParams +} +var file_google_cloud_aiplatform_v1beta1_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_v1beta1_schema_predict_params_video_object_tracking_proto_init() +} +func file_google_cloud_aiplatform_v1beta1_schema_predict_params_video_object_tracking_proto_init() { + if File_google_cloud_aiplatform_v1beta1_schema_predict_params_video_object_tracking_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1beta1_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_v1beta1_schema_predict_params_video_object_tracking_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1beta1_schema_predict_params_video_object_tracking_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1beta1_schema_predict_params_video_object_tracking_proto_depIdxs, + MessageInfos: file_google_cloud_aiplatform_v1beta1_schema_predict_params_video_object_tracking_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1beta1_schema_predict_params_video_object_tracking_proto = out.File + file_google_cloud_aiplatform_v1beta1_schema_predict_params_video_object_tracking_proto_rawDesc = nil + file_google_cloud_aiplatform_v1beta1_schema_predict_params_video_object_tracking_proto_goTypes = nil + file_google_cloud_aiplatform_v1beta1_schema_predict_params_video_object_tracking_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction/classification.pb.go b/googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction/classification.pb.go new file mode 100644 index 000000000..7af138793 --- /dev/null +++ b/googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction/classification.pb.go @@ -0,0 +1,214 @@ +// 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 +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1beta1/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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_schema_predict_prediction_classification_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_classification_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, 0x62, 0x65, 0x74, 0x61, + 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, 0x39, 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, 0x62, 0x65, 0x74, 0x61, + 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, 0xcb, 0x01, 0x0a, 0x3d, 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, 0x62, 0x65, 0x74, 0x61, 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, 0x63, 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, 0x62, 0x65, 0x74, 0x61, 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_v1beta1_schema_predict_prediction_classification_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_classification_proto_rawDescData = file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_classification_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_classification_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_classification_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_classification_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_classification_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_classification_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_classification_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_classification_proto_goTypes = []interface{}{ + (*ClassificationPredictionResult)(nil), // 0: google.cloud.aiplatform.v1beta1.schema.predict.prediction.ClassificationPredictionResult +} +var file_google_cloud_aiplatform_v1beta1_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_v1beta1_schema_predict_prediction_classification_proto_init() +} +func file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_classification_proto_init() { + if File_google_cloud_aiplatform_v1beta1_schema_predict_prediction_classification_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1beta1_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_v1beta1_schema_predict_prediction_classification_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_classification_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_classification_proto_depIdxs, + MessageInfos: file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_classification_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1beta1_schema_predict_prediction_classification_proto = out.File + file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_classification_proto_rawDesc = nil + file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_classification_proto_goTypes = nil + file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_classification_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction/image_object_detection.pb.go b/googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction/image_object_detection.pb.go new file mode 100644 index 000000000..725ec3ebc --- /dev/null +++ b/googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction/image_object_detection.pb.go @@ -0,0 +1,238 @@ +// 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 +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1beta1/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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_schema_predict_prediction_image_object_detection_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_image_object_detection_proto_rawDesc = []byte{ + 0x0a, 0x56, 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, 0x62, 0x65, 0x74, 0x61, + 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, 0x39, 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, 0x62, 0x65, 0x74, 0x61, 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, 0xd1, 0x01, 0x0a, 0x3d, 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, 0x62, 0x65, 0x74, 0x61, 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, 0x63, 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, 0x62, + 0x65, 0x74, 0x61, 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_v1beta1_schema_predict_prediction_image_object_detection_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_image_object_detection_proto_rawDescData = file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_image_object_detection_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_image_object_detection_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_image_object_detection_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_image_object_detection_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_image_object_detection_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_image_object_detection_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_image_object_detection_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_image_object_detection_proto_goTypes = []interface{}{ + (*ImageObjectDetectionPredictionResult)(nil), // 0: google.cloud.aiplatform.v1beta1.schema.predict.prediction.ImageObjectDetectionPredictionResult + (*structpb.ListValue)(nil), // 1: google.protobuf.ListValue +} +var file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_image_object_detection_proto_depIdxs = []int32{ + 1, // 0: google.cloud.aiplatform.v1beta1.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_v1beta1_schema_predict_prediction_image_object_detection_proto_init() +} +func file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_image_object_detection_proto_init() { + if File_google_cloud_aiplatform_v1beta1_schema_predict_prediction_image_object_detection_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1beta1_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_v1beta1_schema_predict_prediction_image_object_detection_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_image_object_detection_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_image_object_detection_proto_depIdxs, + MessageInfos: file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_image_object_detection_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1beta1_schema_predict_prediction_image_object_detection_proto = out.File + file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_image_object_detection_proto_rawDesc = nil + file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_image_object_detection_proto_goTypes = nil + file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_image_object_detection_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction/image_segmentation.pb.go b/googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction/image_segmentation.pb.go new file mode 100644 index 000000000..54a65ce5e --- /dev/null +++ b/googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction/image_segmentation.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 +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1beta1/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 []byte `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 []byte `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_v1beta1_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_v1beta1_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_v1beta1_schema_predict_prediction_image_segmentation_proto_rawDescGZIP(), []int{0} +} + +func (x *ImageSegmentationPredictionResult) GetCategoryMask() []byte { + if x != nil { + return x.CategoryMask + } + return nil +} + +func (x *ImageSegmentationPredictionResult) GetConfidenceMask() []byte { + if x != nil { + return x.ConfidenceMask + } + return nil +} + +var File_google_cloud_aiplatform_v1beta1_schema_predict_prediction_image_segmentation_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_image_segmentation_proto_rawDesc = []byte{ + 0x0a, 0x52, 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, 0x62, 0x65, 0x74, 0x61, + 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, 0x39, 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, + 0x62, 0x65, 0x74, 0x61, 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, 0x0c, 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, 0x0c, + 0x52, 0x0e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x4d, 0x61, 0x73, 0x6b, + 0x42, 0xce, 0x01, 0x0a, 0x3d, 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, 0x62, 0x65, 0x74, 0x61, 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, 0x63, 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, 0x62, 0x65, 0x74, 0x61, 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_v1beta1_schema_predict_prediction_image_segmentation_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_image_segmentation_proto_rawDescData = file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_image_segmentation_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_image_segmentation_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_image_segmentation_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_image_segmentation_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_image_segmentation_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_image_segmentation_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_image_segmentation_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_image_segmentation_proto_goTypes = []interface{}{ + (*ImageSegmentationPredictionResult)(nil), // 0: google.cloud.aiplatform.v1beta1.schema.predict.prediction.ImageSegmentationPredictionResult +} +var file_google_cloud_aiplatform_v1beta1_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_v1beta1_schema_predict_prediction_image_segmentation_proto_init() +} +func file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_image_segmentation_proto_init() { + if File_google_cloud_aiplatform_v1beta1_schema_predict_prediction_image_segmentation_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1beta1_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_v1beta1_schema_predict_prediction_image_segmentation_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_image_segmentation_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_image_segmentation_proto_depIdxs, + MessageInfos: file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_image_segmentation_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1beta1_schema_predict_prediction_image_segmentation_proto = out.File + file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_image_segmentation_proto_rawDesc = nil + file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_image_segmentation_proto_goTypes = nil + file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_image_segmentation_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction/tabular_classification.pb.go b/googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction/tabular_classification.pb.go new file mode 100644 index 000000000..57d6c5a1d --- /dev/null +++ b/googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction/tabular_classification.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 +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1beta1/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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_schema_predict_prediction_tabular_classification_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_tabular_classification_proto_rawDesc = []byte{ + 0x0a, 0x56, 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, 0x62, 0x65, 0x74, 0x61, + 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, 0x39, 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, 0x62, 0x65, 0x74, 0x61, 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, 0xd2, 0x01, 0x0a, + 0x3d, 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, 0x62, + 0x65, 0x74, 0x61, 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, 0x63, 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, 0x62, 0x65, 0x74, 0x61, 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_v1beta1_schema_predict_prediction_tabular_classification_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_tabular_classification_proto_rawDescData = file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_tabular_classification_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_tabular_classification_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_tabular_classification_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_tabular_classification_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_tabular_classification_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_tabular_classification_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_tabular_classification_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_tabular_classification_proto_goTypes = []interface{}{ + (*TabularClassificationPredictionResult)(nil), // 0: google.cloud.aiplatform.v1beta1.schema.predict.prediction.TabularClassificationPredictionResult +} +var file_google_cloud_aiplatform_v1beta1_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_v1beta1_schema_predict_prediction_tabular_classification_proto_init() +} +func file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_tabular_classification_proto_init() { + if File_google_cloud_aiplatform_v1beta1_schema_predict_prediction_tabular_classification_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1beta1_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_v1beta1_schema_predict_prediction_tabular_classification_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_tabular_classification_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_tabular_classification_proto_depIdxs, + MessageInfos: file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_tabular_classification_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1beta1_schema_predict_prediction_tabular_classification_proto = out.File + file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_tabular_classification_proto_rawDesc = nil + file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_tabular_classification_proto_goTypes = nil + file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_tabular_classification_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction/tabular_regression.pb.go b/googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction/tabular_regression.pb.go new file mode 100644 index 000000000..688bbd243 --- /dev/null +++ b/googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction/tabular_regression.pb.go @@ -0,0 +1,212 @@ +// 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 +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1beta1/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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_schema_predict_prediction_tabular_regression_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_tabular_regression_proto_rawDesc = []byte{ + 0x0a, 0x52, 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, 0x62, 0x65, 0x74, 0x61, + 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, 0x39, 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, + 0x62, 0x65, 0x74, 0x61, 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, 0xce, 0x01, 0x0a, 0x3d, 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, 0x62, 0x65, 0x74, + 0x61, 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, 0x63, 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, 0x62, 0x65, 0x74, 0x61, 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_v1beta1_schema_predict_prediction_tabular_regression_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_tabular_regression_proto_rawDescData = file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_tabular_regression_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_tabular_regression_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_tabular_regression_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_tabular_regression_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_tabular_regression_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_tabular_regression_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_tabular_regression_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_tabular_regression_proto_goTypes = []interface{}{ + (*TabularRegressionPredictionResult)(nil), // 0: google.cloud.aiplatform.v1beta1.schema.predict.prediction.TabularRegressionPredictionResult +} +var file_google_cloud_aiplatform_v1beta1_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_v1beta1_schema_predict_prediction_tabular_regression_proto_init() +} +func file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_tabular_regression_proto_init() { + if File_google_cloud_aiplatform_v1beta1_schema_predict_prediction_tabular_regression_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1beta1_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_v1beta1_schema_predict_prediction_tabular_regression_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_tabular_regression_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_tabular_regression_proto_depIdxs, + MessageInfos: file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_tabular_regression_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1beta1_schema_predict_prediction_tabular_regression_proto = out.File + file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_tabular_regression_proto_rawDesc = nil + file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_tabular_regression_proto_goTypes = nil + file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_tabular_regression_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction/text_extraction.pb.go b/googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction/text_extraction.pb.go new file mode 100644 index 000000000..618c0d247 --- /dev/null +++ b/googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction/text_extraction.pb.go @@ -0,0 +1,244 @@ +// 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 +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1beta1/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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_schema_predict_prediction_text_extraction_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_extraction_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, 0x62, 0x65, 0x74, 0x61, + 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, 0x39, 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, 0x62, 0x65, 0x74, + 0x61, 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, 0xcb, 0x01, 0x0a, + 0x3d, 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, 0x62, + 0x65, 0x74, 0x61, 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, 0x63, 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, + 0x62, 0x65, 0x74, 0x61, 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_v1beta1_schema_predict_prediction_text_extraction_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_extraction_proto_rawDescData = file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_extraction_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_extraction_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_extraction_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_extraction_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_extraction_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_extraction_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_extraction_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_extraction_proto_goTypes = []interface{}{ + (*TextExtractionPredictionResult)(nil), // 0: google.cloud.aiplatform.v1beta1.schema.predict.prediction.TextExtractionPredictionResult +} +var file_google_cloud_aiplatform_v1beta1_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_v1beta1_schema_predict_prediction_text_extraction_proto_init() +} +func file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_extraction_proto_init() { + if File_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_extraction_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1beta1_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_v1beta1_schema_predict_prediction_text_extraction_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_extraction_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_extraction_proto_depIdxs, + MessageInfos: file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_extraction_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_extraction_proto = out.File + file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_extraction_proto_rawDesc = nil + file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_extraction_proto_goTypes = nil + file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_extraction_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction/text_sentiment.pb.go b/googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction/text_sentiment.pb.go new file mode 100644 index 000000000..423292c04 --- /dev/null +++ b/googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction/text_sentiment.pb.go @@ -0,0 +1,291 @@ +// 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 +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1beta1/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" + instance "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1/schema/predict/instance" + 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 + +// Represents a line of JSONL in the text sentiment batch prediction output +// file. This is a hack to allow printing of integer values. +type TextSentimentPredictionResult struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // User's input instance. + Instance *instance.TextSentimentPredictionInstance `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"` + // The prediction result. + Prediction *TextSentimentPredictionResult_Prediction `protobuf:"bytes,2,opt,name=prediction,proto3" json:"prediction,omitempty"` +} + +func (x *TextSentimentPredictionResult) Reset() { + *x = TextSentimentPredictionResult{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1beta1_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_v1beta1_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_v1beta1_schema_predict_prediction_text_sentiment_proto_rawDescGZIP(), []int{0} +} + +func (x *TextSentimentPredictionResult) GetInstance() *instance.TextSentimentPredictionInstance { + if x != nil { + return x.Instance + } + return nil +} + +func (x *TextSentimentPredictionResult) GetPrediction() *TextSentimentPredictionResult_Prediction { + if x != nil { + return x.Prediction + } + return nil +} + +// Prediction output format for Text Sentiment. +type TextSentimentPredictionResult_Prediction 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_Prediction) Reset() { + *x = TextSentimentPredictionResult_Prediction{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_sentiment_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TextSentimentPredictionResult_Prediction) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TextSentimentPredictionResult_Prediction) ProtoMessage() {} + +func (x *TextSentimentPredictionResult_Prediction) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_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 TextSentimentPredictionResult_Prediction.ProtoReflect.Descriptor instead. +func (*TextSentimentPredictionResult_Prediction) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_sentiment_proto_rawDescGZIP(), []int{0, 0} +} + +func (x *TextSentimentPredictionResult_Prediction) GetSentiment() int32 { + if x != nil { + return x.Sentiment + } + return 0 +} + +var File_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_sentiment_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_sentiment_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, 0x62, 0x65, 0x74, 0x61, + 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, 0x39, 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, 0x62, 0x65, 0x74, 0x61, + 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, 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, 0x62, 0x65, 0x74, 0x61, 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, 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, 0xc7, 0x02, 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, 0x74, 0x0a, 0x08, 0x69, 0x6e, 0x73, + 0x74, 0x61, 0x6e, 0x63, 0x65, 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, 0x62, 0x65, 0x74, 0x61, 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, 0x2e, 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, 0x52, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, + 0x83, 0x01, 0x0a, 0x0a, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 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, 0x62, 0x65, 0x74, 0x61, 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, 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, 0x2e, 0x50, + 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x70, 0x72, 0x65, 0x64, 0x69, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x2a, 0x0a, 0x0a, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 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, 0xca, 0x01, 0x0a, 0x3d, 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, 0x62, 0x65, 0x74, 0x61, 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, 0x63, 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, 0x62, 0x65, 0x74, 0x61, 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_v1beta1_schema_predict_prediction_text_sentiment_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_sentiment_proto_rawDescData = file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_sentiment_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_sentiment_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_sentiment_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_sentiment_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_sentiment_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_sentiment_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_sentiment_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_sentiment_proto_goTypes = []interface{}{ + (*TextSentimentPredictionResult)(nil), // 0: google.cloud.aiplatform.v1beta1.schema.predict.prediction.TextSentimentPredictionResult + (*TextSentimentPredictionResult_Prediction)(nil), // 1: google.cloud.aiplatform.v1beta1.schema.predict.prediction.TextSentimentPredictionResult.Prediction + (*instance.TextSentimentPredictionInstance)(nil), // 2: google.cloud.aiplatform.v1beta1.schema.predict.instance.TextSentimentPredictionInstance +} +var file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_sentiment_proto_depIdxs = []int32{ + 2, // 0: google.cloud.aiplatform.v1beta1.schema.predict.prediction.TextSentimentPredictionResult.instance:type_name -> google.cloud.aiplatform.v1beta1.schema.predict.instance.TextSentimentPredictionInstance + 1, // 1: google.cloud.aiplatform.v1beta1.schema.predict.prediction.TextSentimentPredictionResult.prediction:type_name -> google.cloud.aiplatform.v1beta1.schema.predict.prediction.TextSentimentPredictionResult.Prediction + 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_v1beta1_schema_predict_prediction_text_sentiment_proto_init() +} +func file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_sentiment_proto_init() { + if File_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_sentiment_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1beta1_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 + } + } + file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_sentiment_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TextSentimentPredictionResult_Prediction); 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_v1beta1_schema_predict_prediction_text_sentiment_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_sentiment_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_sentiment_proto_depIdxs, + MessageInfos: file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_sentiment_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_sentiment_proto = out.File + file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_sentiment_proto_rawDesc = nil + file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_sentiment_proto_goTypes = nil + file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_text_sentiment_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction/time_series_forecasting.pb.go b/googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction/time_series_forecasting.pb.go new file mode 100644 index 000000000..8b29da02e --- /dev/null +++ b/googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction/time_series_forecasting.pb.go @@ -0,0 +1,212 @@ +// 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 +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1beta1/schema/predict/prediction/time_series_forecasting.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 Time Series Forecasting. +type TimeSeriesForecastingPredictionResult 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 *TimeSeriesForecastingPredictionResult) Reset() { + *x = TimeSeriesForecastingPredictionResult{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_time_series_forecasting_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TimeSeriesForecastingPredictionResult) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TimeSeriesForecastingPredictionResult) ProtoMessage() {} + +func (x *TimeSeriesForecastingPredictionResult) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_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 TimeSeriesForecastingPredictionResult.ProtoReflect.Descriptor instead. +func (*TimeSeriesForecastingPredictionResult) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_time_series_forecasting_proto_rawDescGZIP(), []int{0} +} + +func (x *TimeSeriesForecastingPredictionResult) GetValue() float32 { + if x != nil { + return x.Value + } + return 0 +} + +func (x *TimeSeriesForecastingPredictionResult) GetLowerBound() float32 { + if x != nil { + return x.LowerBound + } + return 0 +} + +func (x *TimeSeriesForecastingPredictionResult) GetUpperBound() float32 { + if x != nil { + return x.UpperBound + } + return 0 +} + +var File_google_cloud_aiplatform_v1beta1_schema_predict_prediction_time_series_forecasting_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_time_series_forecasting_proto_rawDesc = []byte{ + 0x0a, 0x57, 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, 0x62, 0x65, 0x74, 0x61, + 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, 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, 0x39, 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, 0x62, 0x65, 0x74, 0x61, 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, 0x7f, 0x0a, 0x25, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, + 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x69, 0x6e, 0x67, 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, 0xd2, 0x01, 0x0a, 0x3d, 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, 0x62, 0x65, 0x74, 0x61, 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, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, + 0x73, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 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, 0x63, 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, 0x62, 0x65, + 0x74, 0x61, 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_v1beta1_schema_predict_prediction_time_series_forecasting_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_time_series_forecasting_proto_rawDescData = file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_time_series_forecasting_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_time_series_forecasting_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_time_series_forecasting_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_time_series_forecasting_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_time_series_forecasting_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_time_series_forecasting_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_time_series_forecasting_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_time_series_forecasting_proto_goTypes = []interface{}{ + (*TimeSeriesForecastingPredictionResult)(nil), // 0: google.cloud.aiplatform.v1beta1.schema.predict.prediction.TimeSeriesForecastingPredictionResult +} +var file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_time_series_forecasting_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_v1beta1_schema_predict_prediction_time_series_forecasting_proto_init() +} +func file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_time_series_forecasting_proto_init() { + if File_google_cloud_aiplatform_v1beta1_schema_predict_prediction_time_series_forecasting_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_time_series_forecasting_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TimeSeriesForecastingPredictionResult); 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_v1beta1_schema_predict_prediction_time_series_forecasting_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_time_series_forecasting_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_time_series_forecasting_proto_depIdxs, + MessageInfos: file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_time_series_forecasting_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1beta1_schema_predict_prediction_time_series_forecasting_proto = out.File + file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_time_series_forecasting_proto_rawDesc = nil + file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_time_series_forecasting_proto_goTypes = nil + file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_time_series_forecasting_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction/video_action_recognition.pb.go b/googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction/video_action_recognition.pb.go new file mode 100644 index 000000000..2ec90b607 --- /dev/null +++ b/googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction/video_action_recognition.pb.go @@ -0,0 +1,259 @@ +// 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 +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1beta1/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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_schema_predict_prediction_video_action_recognition_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_action_recognition_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, 0x62, 0x65, 0x74, 0x61, + 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, 0x39, 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, 0x62, 0x65, 0x74, 0x61, 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, 0xd3, 0x01, 0x0a, + 0x3d, 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, 0x62, + 0x65, 0x74, 0x61, 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, 0x63, 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, 0x62, 0x65, 0x74, 0x61, 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_v1beta1_schema_predict_prediction_video_action_recognition_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_action_recognition_proto_rawDescData = file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_action_recognition_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_action_recognition_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_action_recognition_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_action_recognition_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_action_recognition_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_action_recognition_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_action_recognition_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_action_recognition_proto_goTypes = []interface{}{ + (*VideoActionRecognitionPredictionResult)(nil), // 0: google.cloud.aiplatform.v1beta1.schema.predict.prediction.VideoActionRecognitionPredictionResult + (*durationpb.Duration)(nil), // 1: google.protobuf.Duration + (*wrapperspb.FloatValue)(nil), // 2: google.protobuf.FloatValue +} +var file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_action_recognition_proto_depIdxs = []int32{ + 1, // 0: google.cloud.aiplatform.v1beta1.schema.predict.prediction.VideoActionRecognitionPredictionResult.time_segment_start:type_name -> google.protobuf.Duration + 1, // 1: google.cloud.aiplatform.v1beta1.schema.predict.prediction.VideoActionRecognitionPredictionResult.time_segment_end:type_name -> google.protobuf.Duration + 2, // 2: google.cloud.aiplatform.v1beta1.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_v1beta1_schema_predict_prediction_video_action_recognition_proto_init() +} +func file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_action_recognition_proto_init() { + if File_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_action_recognition_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1beta1_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_v1beta1_schema_predict_prediction_video_action_recognition_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_action_recognition_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_action_recognition_proto_depIdxs, + MessageInfos: file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_action_recognition_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_action_recognition_proto = out.File + file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_action_recognition_proto_rawDesc = nil + file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_action_recognition_proto_goTypes = nil + file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_action_recognition_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction/video_classification.pb.go b/googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction/video_classification.pb.go new file mode 100644 index 000000000..ed11d32cd --- /dev/null +++ b/googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction/video_classification.pb.go @@ -0,0 +1,279 @@ +// 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 +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1beta1/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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_schema_predict_prediction_video_classification_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_classification_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, 0x62, 0x65, 0x74, 0x61, + 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, 0x39, 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, 0x62, 0x65, 0x74, 0x61, 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, 0xd0, 0x01, 0x0a, 0x3d, 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, 0x62, 0x65, 0x74, 0x61, + 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, 0x63, 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, 0x62, 0x65, 0x74, 0x61, 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_v1beta1_schema_predict_prediction_video_classification_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_classification_proto_rawDescData = file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_classification_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_classification_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_classification_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_classification_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_classification_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_classification_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_classification_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_classification_proto_goTypes = []interface{}{ + (*VideoClassificationPredictionResult)(nil), // 0: google.cloud.aiplatform.v1beta1.schema.predict.prediction.VideoClassificationPredictionResult + (*durationpb.Duration)(nil), // 1: google.protobuf.Duration + (*wrapperspb.FloatValue)(nil), // 2: google.protobuf.FloatValue +} +var file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_classification_proto_depIdxs = []int32{ + 1, // 0: google.cloud.aiplatform.v1beta1.schema.predict.prediction.VideoClassificationPredictionResult.time_segment_start:type_name -> google.protobuf.Duration + 1, // 1: google.cloud.aiplatform.v1beta1.schema.predict.prediction.VideoClassificationPredictionResult.time_segment_end:type_name -> google.protobuf.Duration + 2, // 2: google.cloud.aiplatform.v1beta1.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_v1beta1_schema_predict_prediction_video_classification_proto_init() +} +func file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_classification_proto_init() { + if File_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_classification_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1beta1_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_v1beta1_schema_predict_prediction_video_classification_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_classification_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_classification_proto_depIdxs, + MessageInfos: file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_classification_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_classification_proto = out.File + file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_classification_proto_rawDesc = nil + file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_classification_proto_goTypes = nil + file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_classification_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction/video_object_tracking.pb.go b/googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction/video_object_tracking.pb.go new file mode 100644 index 000000000..73533428b --- /dev/null +++ b/googleapis/cloud/aiplatform/v1beta1/schema/predict/prediction/video_object_tracking.pb.go @@ -0,0 +1,403 @@ +// 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 +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1beta1/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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_schema_predict_prediction_video_object_tracking_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_object_tracking_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, 0x62, 0x65, 0x74, 0x61, + 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, 0x39, 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, 0x62, 0x65, 0x74, 0x61, 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, 0xaf, 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, 0x7c, 0x0a, 0x06, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x73, + 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 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, 0x62, 0x65, 0x74, 0x61, 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, 0xd0, 0x01, 0x0a, 0x3d, 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, 0x62, 0x65, 0x74, 0x61, 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, 0x63, 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, 0x62, 0x65, 0x74, 0x61, 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_v1beta1_schema_predict_prediction_video_object_tracking_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_object_tracking_proto_rawDescData = file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_object_tracking_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_object_tracking_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_object_tracking_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_object_tracking_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_object_tracking_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_object_tracking_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_object_tracking_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_object_tracking_proto_goTypes = []interface{}{ + (*VideoObjectTrackingPredictionResult)(nil), // 0: google.cloud.aiplatform.v1beta1.schema.predict.prediction.VideoObjectTrackingPredictionResult + (*VideoObjectTrackingPredictionResult_Frame)(nil), // 1: google.cloud.aiplatform.v1beta1.schema.predict.prediction.VideoObjectTrackingPredictionResult.Frame + (*durationpb.Duration)(nil), // 2: google.protobuf.Duration + (*wrapperspb.FloatValue)(nil), // 3: google.protobuf.FloatValue +} +var file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_object_tracking_proto_depIdxs = []int32{ + 2, // 0: google.cloud.aiplatform.v1beta1.schema.predict.prediction.VideoObjectTrackingPredictionResult.time_segment_start:type_name -> google.protobuf.Duration + 2, // 1: google.cloud.aiplatform.v1beta1.schema.predict.prediction.VideoObjectTrackingPredictionResult.time_segment_end:type_name -> google.protobuf.Duration + 3, // 2: google.cloud.aiplatform.v1beta1.schema.predict.prediction.VideoObjectTrackingPredictionResult.confidence:type_name -> google.protobuf.FloatValue + 1, // 3: google.cloud.aiplatform.v1beta1.schema.predict.prediction.VideoObjectTrackingPredictionResult.frames:type_name -> google.cloud.aiplatform.v1beta1.schema.predict.prediction.VideoObjectTrackingPredictionResult.Frame + 2, // 4: google.cloud.aiplatform.v1beta1.schema.predict.prediction.VideoObjectTrackingPredictionResult.Frame.time_offset:type_name -> google.protobuf.Duration + 3, // 5: google.cloud.aiplatform.v1beta1.schema.predict.prediction.VideoObjectTrackingPredictionResult.Frame.x_min:type_name -> google.protobuf.FloatValue + 3, // 6: google.cloud.aiplatform.v1beta1.schema.predict.prediction.VideoObjectTrackingPredictionResult.Frame.x_max:type_name -> google.protobuf.FloatValue + 3, // 7: google.cloud.aiplatform.v1beta1.schema.predict.prediction.VideoObjectTrackingPredictionResult.Frame.y_min:type_name -> google.protobuf.FloatValue + 3, // 8: google.cloud.aiplatform.v1beta1.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_v1beta1_schema_predict_prediction_video_object_tracking_proto_init() +} +func file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_object_tracking_proto_init() { + if File_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_object_tracking_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1beta1_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_v1beta1_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_v1beta1_schema_predict_prediction_video_object_tracking_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_object_tracking_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_object_tracking_proto_depIdxs, + MessageInfos: file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_object_tracking_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_object_tracking_proto = out.File + file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_object_tracking_proto_rawDesc = nil + file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_object_tracking_proto_goTypes = nil + file_google_cloud_aiplatform_v1beta1_schema_predict_prediction_video_object_tracking_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1beta1/schema/saved_query_metadata.pb.go b/googleapis/cloud/aiplatform/v1beta1/schema/saved_query_metadata.pb.go new file mode 100644 index 000000000..0cac1dec0 --- /dev/null +++ b/googleapis/cloud/aiplatform/v1beta1/schema/saved_query_metadata.pb.go @@ -0,0 +1,326 @@ +// 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 +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1beta1/schema/saved_query_metadata.proto + +package schema + +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 + +// The metadata of SavedQuery contains TextSentiment Annotations. +type TextSentimentSavedQueryMetadata struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The maximum sentiment of sentiment Anntoation in this SavedQuery. + SentimentMax int32 `protobuf:"varint,1,opt,name=sentiment_max,json=sentimentMax,proto3" json:"sentiment_max,omitempty"` +} + +func (x *TextSentimentSavedQueryMetadata) Reset() { + *x = TextSentimentSavedQueryMetadata{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1beta1_schema_saved_query_metadata_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TextSentimentSavedQueryMetadata) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TextSentimentSavedQueryMetadata) ProtoMessage() {} + +func (x *TextSentimentSavedQueryMetadata) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1beta1_schema_saved_query_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 TextSentimentSavedQueryMetadata.ProtoReflect.Descriptor instead. +func (*TextSentimentSavedQueryMetadata) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1beta1_schema_saved_query_metadata_proto_rawDescGZIP(), []int{0} +} + +func (x *TextSentimentSavedQueryMetadata) GetSentimentMax() int32 { + if x != nil { + return x.SentimentMax + } + return 0 +} + +type VisualInspectionClassificationLabelSavedQueryMetadata struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Whether or not the classification label is multi_label. + MultiLabel bool `protobuf:"varint,1,opt,name=multi_label,json=multiLabel,proto3" json:"multi_label,omitempty"` +} + +func (x *VisualInspectionClassificationLabelSavedQueryMetadata) Reset() { + *x = VisualInspectionClassificationLabelSavedQueryMetadata{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1beta1_schema_saved_query_metadata_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VisualInspectionClassificationLabelSavedQueryMetadata) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VisualInspectionClassificationLabelSavedQueryMetadata) ProtoMessage() {} + +func (x *VisualInspectionClassificationLabelSavedQueryMetadata) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1beta1_schema_saved_query_metadata_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 VisualInspectionClassificationLabelSavedQueryMetadata.ProtoReflect.Descriptor instead. +func (*VisualInspectionClassificationLabelSavedQueryMetadata) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1beta1_schema_saved_query_metadata_proto_rawDescGZIP(), []int{1} +} + +func (x *VisualInspectionClassificationLabelSavedQueryMetadata) GetMultiLabel() bool { + if x != nil { + return x.MultiLabel + } + return false +} + +type VisualInspectionMaskSavedQueryMetadata struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The mapping between color and AnnotationSpec for this SavedQuery. + ColorMap []*AnnotationSpecColor `protobuf:"bytes,2,rep,name=color_map,json=colorMap,proto3" json:"color_map,omitempty"` +} + +func (x *VisualInspectionMaskSavedQueryMetadata) Reset() { + *x = VisualInspectionMaskSavedQueryMetadata{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1beta1_schema_saved_query_metadata_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VisualInspectionMaskSavedQueryMetadata) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VisualInspectionMaskSavedQueryMetadata) ProtoMessage() {} + +func (x *VisualInspectionMaskSavedQueryMetadata) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_aiplatform_v1beta1_schema_saved_query_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 VisualInspectionMaskSavedQueryMetadata.ProtoReflect.Descriptor instead. +func (*VisualInspectionMaskSavedQueryMetadata) Descriptor() ([]byte, []int) { + return file_google_cloud_aiplatform_v1beta1_schema_saved_query_metadata_proto_rawDescGZIP(), []int{2} +} + +func (x *VisualInspectionMaskSavedQueryMetadata) GetColorMap() []*AnnotationSpecColor { + if x != nil { + return x.ColorMap + } + return nil +} + +var File_google_cloud_aiplatform_v1beta1_schema_saved_query_metadata_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1beta1_schema_saved_query_metadata_proto_rawDesc = []byte{ + 0x0a, 0x41, 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, 0x62, 0x65, 0x74, 0x61, + 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2f, 0x73, 0x61, 0x76, 0x65, 0x64, 0x5f, 0x71, + 0x75, 0x65, 0x72, 0x79, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x12, 0x26, 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, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x1a, 0x42, 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, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x73, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, + 0x70, 0x65, 0x63, 0x5f, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 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, 0x46, 0x0a, + 0x1f, 0x54, 0x65, 0x78, 0x74, 0x53, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x61, + 0x76, 0x65, 0x64, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 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, 0x22, 0x58, 0x0a, 0x35, 0x56, 0x69, 0x73, 0x75, 0x61, 0x6c, 0x49, + 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, + 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x53, 0x61, 0x76, 0x65, + 0x64, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 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, 0x22, + 0x82, 0x01, 0x0a, 0x26, 0x56, 0x69, 0x73, 0x75, 0x61, 0x6c, 0x49, 0x6e, 0x73, 0x70, 0x65, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x61, 0x73, 0x6b, 0x53, 0x61, 0x76, 0x65, 0x64, 0x51, 0x75, 0x65, + 0x72, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x58, 0x0a, 0x09, 0x63, 0x6f, + 0x6c, 0x6f, 0x72, 0x5f, 0x6d, 0x61, 0x70, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3b, 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, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x53, 0x70, 0x65, 0x63, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x52, 0x08, 0x63, 0x6f, 0x6c, 0x6f, + 0x72, 0x4d, 0x61, 0x70, 0x42, 0x95, 0x01, 0x0a, 0x2a, 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, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x73, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x42, 0x17, 0x53, 0x61, 0x76, 0x65, 0x64, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4c, + 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, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x73, + 0x63, 0x68, 0x65, 0x6d, 0x61, 0x3b, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_google_cloud_aiplatform_v1beta1_schema_saved_query_metadata_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1beta1_schema_saved_query_metadata_proto_rawDescData = file_google_cloud_aiplatform_v1beta1_schema_saved_query_metadata_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1beta1_schema_saved_query_metadata_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1beta1_schema_saved_query_metadata_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1beta1_schema_saved_query_metadata_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1beta1_schema_saved_query_metadata_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1beta1_schema_saved_query_metadata_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1beta1_schema_saved_query_metadata_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_google_cloud_aiplatform_v1beta1_schema_saved_query_metadata_proto_goTypes = []interface{}{ + (*TextSentimentSavedQueryMetadata)(nil), // 0: google.cloud.aiplatform.v1beta1.schema.TextSentimentSavedQueryMetadata + (*VisualInspectionClassificationLabelSavedQueryMetadata)(nil), // 1: google.cloud.aiplatform.v1beta1.schema.VisualInspectionClassificationLabelSavedQueryMetadata + (*VisualInspectionMaskSavedQueryMetadata)(nil), // 2: google.cloud.aiplatform.v1beta1.schema.VisualInspectionMaskSavedQueryMetadata + (*AnnotationSpecColor)(nil), // 3: google.cloud.aiplatform.v1beta1.schema.AnnotationSpecColor +} +var file_google_cloud_aiplatform_v1beta1_schema_saved_query_metadata_proto_depIdxs = []int32{ + 3, // 0: google.cloud.aiplatform.v1beta1.schema.VisualInspectionMaskSavedQueryMetadata.color_map:type_name -> google.cloud.aiplatform.v1beta1.schema.AnnotationSpecColor + 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_v1beta1_schema_saved_query_metadata_proto_init() } +func file_google_cloud_aiplatform_v1beta1_schema_saved_query_metadata_proto_init() { + if File_google_cloud_aiplatform_v1beta1_schema_saved_query_metadata_proto != nil { + return + } + file_google_cloud_aiplatform_v1beta1_schema_annotation_spec_color_proto_init() + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1beta1_schema_saved_query_metadata_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TextSentimentSavedQueryMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_aiplatform_v1beta1_schema_saved_query_metadata_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VisualInspectionClassificationLabelSavedQueryMetadata); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_cloud_aiplatform_v1beta1_schema_saved_query_metadata_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VisualInspectionMaskSavedQueryMetadata); 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_v1beta1_schema_saved_query_metadata_proto_rawDesc, + NumEnums: 0, + NumMessages: 3, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1beta1_schema_saved_query_metadata_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1beta1_schema_saved_query_metadata_proto_depIdxs, + MessageInfos: file_google_cloud_aiplatform_v1beta1_schema_saved_query_metadata_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1beta1_schema_saved_query_metadata_proto = out.File + file_google_cloud_aiplatform_v1beta1_schema_saved_query_metadata_proto_rawDesc = nil + file_google_cloud_aiplatform_v1beta1_schema_saved_query_metadata_proto_goTypes = nil + file_google_cloud_aiplatform_v1beta1_schema_saved_query_metadata_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_forecasting.pb.go b/googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_forecasting.pb.go new file mode 100644 index 000000000..baea5ab5d --- /dev/null +++ b/googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_forecasting.pb.go @@ -0,0 +1,1603 @@ +// 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 +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_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_v1beta1_schema_trainingjob_definition_automl_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_v1beta1_schema_trainingjob_definition_automl_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_v1beta1_schema_trainingjob_definition_automl_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). + 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"` +} + +func (x *AutoMlForecastingInputs) Reset() { + *x = AutoMlForecastingInputs{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_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_v1beta1_schema_trainingjob_definition_automl_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_v1beta1_schema_trainingjob_definition_automl_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 +} + +// 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_v1beta1_schema_trainingjob_definition_automl_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_v1beta1_schema_trainingjob_definition_automl_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_v1beta1_schema_trainingjob_definition_automl_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_v1beta1_schema_trainingjob_definition_automl_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_v1beta1_schema_trainingjob_definition_automl_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_v1beta1_schema_trainingjob_definition_automl_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: + // "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_v1beta1_schema_trainingjob_definition_automl_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_v1beta1_schema_trainingjob_definition_automl_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_v1beta1_schema_trainingjob_definition_automl_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_v1beta1_schema_trainingjob_definition_automl_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_v1beta1_schema_trainingjob_definition_automl_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_v1beta1_schema_trainingjob_definition_automl_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_v1beta1_schema_trainingjob_definition_automl_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_v1beta1_schema_trainingjob_definition_automl_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_v1beta1_schema_trainingjob_definition_automl_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_v1beta1_schema_trainingjob_definition_automl_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_v1beta1_schema_trainingjob_definition_automl_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_v1beta1_schema_trainingjob_definition_automl_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_v1beta1_schema_trainingjob_definition_automl_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_v1beta1_schema_trainingjob_definition_automl_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_v1beta1_schema_trainingjob_definition_automl_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_v1beta1_schema_trainingjob_definition_automl_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_v1beta1_schema_trainingjob_definition_automl_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_v1beta1_schema_trainingjob_definition_automl_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_v1beta1_schema_trainingjob_definition_automl_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_v1beta1_schema_trainingjob_definition_automl_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_v1beta1_schema_trainingjob_definition_automl_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_v1beta1_schema_trainingjob_definition_automl_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_v1beta1_schema_trainingjob_definition_automl_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_v1beta1_schema_trainingjob_definition_automl_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_v1beta1_schema_trainingjob_definition_automl_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_v1beta1_schema_trainingjob_definition_automl_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_v1beta1_schema_trainingjob_definition_automl_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_v1beta1_schema_trainingjob_definition_automl_forecasting_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_forecasting_proto_rawDesc = []byte{ + 0x0a, 0x56, 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, 0x62, 0x65, 0x74, 0x61, + 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, 0x66, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, 0x69, + 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x3d, 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, 0x62, 0x65, 0x74, 0x61, 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, 0x66, 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, 0x62, 0x65, 0x74, 0x61, 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, 0xf9, 0x01, + 0x0a, 0x11, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x6c, 0x46, 0x6f, 0x72, 0x65, 0x63, 0x61, 0x73, 0x74, + 0x69, 0x6e, 0x67, 0x12, 0x6e, 0x0a, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x56, 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, + 0x62, 0x65, 0x74, 0x61, 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, 0x74, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, + 0x02, 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, 0x62, 0x65, 0x74, 0x61, 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, 0xd7, 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, 0x8f, + 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, 0x65, 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, 0x62, 0x65, 0x74, 0x61, 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, 0x75, 0x0a, 0x06, 0x70, 0x65, 0x72, 0x69, + 0x6f, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x5d, 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, 0x62, 0x65, 0x74, 0x61, 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, 0xa9, 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, 0x5d, 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, + 0x62, 0x65, 0x74, 0x61, 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, 0xe4, 0x0f, 0x0a, 0x0e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x8e, 0x01, 0x0a, 0x04, 0x61, 0x75, 0x74, 0x6f, 0x18, 0x01, + 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, 0x62, 0x65, 0x74, 0x61, 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, 0x97, 0x01, 0x0a, 0x07, 0x6e, 0x75, 0x6d, 0x65, 0x72, + 0x69, 0x63, 0x18, 0x02, 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, 0x62, 0x65, 0x74, 0x61, 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, 0xa3, 0x01, 0x0a, 0x0b, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x69, 0x63, 0x61, 0x6c, + 0x18, 0x03, 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, 0x62, 0x65, 0x74, 0x61, 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, 0x9d, 0x01, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, + 0x74, 0x61, 0x6d, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x7d, 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, 0x62, 0x65, 0x74, 0x61, 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, 0x8e, 0x01, 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 0x18, + 0x05, 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, 0x62, 0x65, 0x74, 0x61, 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, 0xae, 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, 0x80, 0x01, 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, + 0x62, 0x65, 0x74, 0x61, 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, 0xba, 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, 0x84, 0x01, 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, 0x62, 0x65, 0x74, 0x61, 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, 0xa4, 0x01, 0x0a, 0x0d, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, + 0x65, 0x64, 0x5f, 0x74, 0x65, 0x78, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x7d, 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, 0x62, 0x65, 0x74, 0x61, 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, 0xc6, + 0x01, 0x0a, 0x41, 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, 0x62, 0x65, 0x74, 0x61, 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, 0x67, + 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, 0x62, 0x65, 0x74, 0x61, 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_v1beta1_schema_trainingjob_definition_automl_forecasting_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_forecasting_proto_rawDescData = file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_forecasting_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_forecasting_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_forecasting_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_forecasting_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_forecasting_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_forecasting_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_forecasting_proto_msgTypes = make([]protoimpl.MessageInfo, 13) +var file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_forecasting_proto_goTypes = []interface{}{ + (*AutoMlForecasting)(nil), // 0: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecasting + (*AutoMlForecastingInputs)(nil), // 1: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs + (*AutoMlForecastingMetadata)(nil), // 2: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingMetadata + (*AutoMlForecastingInputs_Transformation)(nil), // 3: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation + (*AutoMlForecastingInputs_Period)(nil), // 4: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Period + (*AutoMlForecastingInputs_Transformation_AutoTransformation)(nil), // 5: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.AutoTransformation + (*AutoMlForecastingInputs_Transformation_NumericTransformation)(nil), // 6: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.NumericTransformation + (*AutoMlForecastingInputs_Transformation_CategoricalTransformation)(nil), // 7: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.CategoricalTransformation + (*AutoMlForecastingInputs_Transformation_TimestampTransformation)(nil), // 8: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.TimestampTransformation + (*AutoMlForecastingInputs_Transformation_TextTransformation)(nil), // 9: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.TextTransformation + (*AutoMlForecastingInputs_Transformation_NumericArrayTransformation)(nil), // 10: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.NumericArrayTransformation + (*AutoMlForecastingInputs_Transformation_CategoricalArrayTransformation)(nil), // 11: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.CategoricalArrayTransformation + (*AutoMlForecastingInputs_Transformation_TextArrayTransformation)(nil), // 12: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.TextArrayTransformation + (*ExportEvaluatedDataItemsConfig)(nil), // 13: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.ExportEvaluatedDataItemsConfig +} +var file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_forecasting_proto_depIdxs = []int32{ + 1, // 0: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecasting.inputs:type_name -> google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs + 2, // 1: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecasting.metadata:type_name -> google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingMetadata + 3, // 2: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.transformations:type_name -> google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation + 4, // 3: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.period:type_name -> google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Period + 13, // 4: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.export_evaluated_data_items_config:type_name -> google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.ExportEvaluatedDataItemsConfig + 5, // 5: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.auto:type_name -> google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.AutoTransformation + 6, // 6: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.numeric:type_name -> google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.NumericTransformation + 7, // 7: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.categorical:type_name -> google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.CategoricalTransformation + 8, // 8: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.timestamp:type_name -> google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.TimestampTransformation + 9, // 9: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.text:type_name -> google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.TextTransformation + 10, // 10: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.repeated_numeric:type_name -> google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.NumericArrayTransformation + 11, // 11: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.repeated_categorical:type_name -> google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.CategoricalArrayTransformation + 12, // 12: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.repeated_text:type_name -> google.cloud.aiplatform.v1beta1.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_v1beta1_schema_trainingjob_definition_automl_forecasting_proto_init() +} +func file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_forecasting_proto_init() { + if File_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_forecasting_proto != nil { + return + } + file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_export_evaluated_data_items_config_proto_init() + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_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_v1beta1_schema_trainingjob_definition_automl_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_v1beta1_schema_trainingjob_definition_automl_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_v1beta1_schema_trainingjob_definition_automl_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_v1beta1_schema_trainingjob_definition_automl_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_v1beta1_schema_trainingjob_definition_automl_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_v1beta1_schema_trainingjob_definition_automl_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_v1beta1_schema_trainingjob_definition_automl_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_v1beta1_schema_trainingjob_definition_automl_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_v1beta1_schema_trainingjob_definition_automl_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_v1beta1_schema_trainingjob_definition_automl_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_v1beta1_schema_trainingjob_definition_automl_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_v1beta1_schema_trainingjob_definition_automl_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_v1beta1_schema_trainingjob_definition_automl_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_v1beta1_schema_trainingjob_definition_automl_forecasting_proto_rawDesc, + NumEnums: 0, + NumMessages: 13, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_forecasting_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_forecasting_proto_depIdxs, + MessageInfos: file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_forecasting_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_forecasting_proto = out.File + file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_forecasting_proto_rawDesc = nil + file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_forecasting_proto_goTypes = nil + file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_forecasting_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_image_classification.pb.go b/googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_image_classification.pb.go new file mode 100644 index 000000000..357053434 --- /dev/null +++ b/googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_image_classification.pb.go @@ -0,0 +1,593 @@ +// 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 +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1beta1/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_v1beta1_schema_trainingjob_definition_automl_image_classification_proto_enumTypes[0].Descriptor() +} + +func (AutoMlImageClassificationInputs_ModelType) Type() protoreflect.EnumType { + return &file_google_cloud_aiplatform_v1beta1_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_v1beta1_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_v1beta1_schema_trainingjob_definition_automl_image_classification_proto_enumTypes[1].Descriptor() +} + +func (AutoMlImageClassificationMetadata_SuccessfulStopReason) Type() protoreflect.EnumType { + return &file_google_cloud_aiplatform_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_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.v1beta1.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_v1beta1_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_v1beta1_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_v1beta1_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.v1beta1.schema.trainingjob.definition.AutoMlImageClassificationMetadata_SuccessfulStopReason" json:"successful_stop_reason,omitempty"` +} + +func (x *AutoMlImageClassificationMetadata) Reset() { + *x = AutoMlImageClassificationMetadata{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_schema_trainingjob_definition_automl_image_classification_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_image_classification_proto_rawDesc = []byte{ + 0x0a, 0x5f, 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, 0x62, 0x65, 0x74, 0x61, + 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, 0x3d, 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, 0x62, 0x65, 0x74, + 0x61, 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, 0x91, + 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, 0x76, 0x0a, 0x06, + 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x5e, 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, 0x62, 0x65, 0x74, 0x61, 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, 0x7c, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0x18, 0x02, 0x20, 0x01, 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, 0x62, 0x65, 0x74, 0x61, 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, 0xe9, 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, 0x87, 0x01, 0x0a, 0x0a, 0x6d, 0x6f, 0x64, 0x65, 0x6c, + 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x68, 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, 0x62, 0x65, 0x74, 0x61, 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, 0xed, + 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, 0xab, 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, 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, 0x62, 0x65, 0x74, 0x61, 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, 0xce, + 0x01, 0x0a, 0x41, 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, 0x62, 0x65, 0x74, 0x61, 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, 0x67, 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, 0x62, 0x65, 0x74, 0x61, 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_v1beta1_schema_trainingjob_definition_automl_image_classification_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_image_classification_proto_rawDescData = file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_image_classification_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_image_classification_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_image_classification_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_image_classification_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_image_classification_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_image_classification_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_image_classification_proto_enumTypes = make([]protoimpl.EnumInfo, 2) +var file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_image_classification_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_image_classification_proto_goTypes = []interface{}{ + (AutoMlImageClassificationInputs_ModelType)(0), // 0: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlImageClassificationInputs.ModelType + (AutoMlImageClassificationMetadata_SuccessfulStopReason)(0), // 1: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlImageClassificationMetadata.SuccessfulStopReason + (*AutoMlImageClassification)(nil), // 2: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlImageClassification + (*AutoMlImageClassificationInputs)(nil), // 3: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlImageClassificationInputs + (*AutoMlImageClassificationMetadata)(nil), // 4: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlImageClassificationMetadata +} +var file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_image_classification_proto_depIdxs = []int32{ + 3, // 0: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlImageClassification.inputs:type_name -> google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlImageClassificationInputs + 4, // 1: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlImageClassification.metadata:type_name -> google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlImageClassificationMetadata + 0, // 2: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlImageClassificationInputs.model_type:type_name -> google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlImageClassificationInputs.ModelType + 1, // 3: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlImageClassificationMetadata.successful_stop_reason:type_name -> google.cloud.aiplatform.v1beta1.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_v1beta1_schema_trainingjob_definition_automl_image_classification_proto_init() +} +func file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_image_classification_proto_init() { + if File_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_image_classification_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_schema_trainingjob_definition_automl_image_classification_proto_rawDesc, + NumEnums: 2, + NumMessages: 3, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_image_classification_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_image_classification_proto_depIdxs, + EnumInfos: file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_image_classification_proto_enumTypes, + MessageInfos: file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_image_classification_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_image_classification_proto = out.File + file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_image_classification_proto_rawDesc = nil + file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_image_classification_proto_goTypes = nil + file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_image_classification_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_image_object_detection.pb.go b/googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_image_object_detection.pb.go new file mode 100644 index 000000000..fc97b76d1 --- /dev/null +++ b/googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_image_object_detection.pb.go @@ -0,0 +1,573 @@ +// 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 +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1beta1/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_v1beta1_schema_trainingjob_definition_automl_image_object_detection_proto_enumTypes[0].Descriptor() +} + +func (AutoMlImageObjectDetectionInputs_ModelType) Type() protoreflect.EnumType { + return &file_google_cloud_aiplatform_v1beta1_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_v1beta1_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_v1beta1_schema_trainingjob_definition_automl_image_object_detection_proto_enumTypes[1].Descriptor() +} + +func (AutoMlImageObjectDetectionMetadata_SuccessfulStopReason) Type() protoreflect.EnumType { + return &file_google_cloud_aiplatform_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_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.v1beta1.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_v1beta1_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_v1beta1_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_v1beta1_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.v1beta1.schema.trainingjob.definition.AutoMlImageObjectDetectionMetadata_SuccessfulStopReason" json:"successful_stop_reason,omitempty"` +} + +func (x *AutoMlImageObjectDetectionMetadata) Reset() { + *x = AutoMlImageObjectDetectionMetadata{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_schema_trainingjob_definition_automl_image_object_detection_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_image_object_detection_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, 0x62, 0x65, 0x74, 0x61, + 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, 0x3d, 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, 0x62, + 0x65, 0x74, 0x61, 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, 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, + 0x77, 0x0a, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 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, 0x62, 0x65, 0x74, 0x61, + 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, 0x7d, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 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, 0x62, 0x65, 0x74, 0x61, 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, 0xcf, 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, 0x88, 0x01, 0x0a, + 0x0a, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0e, 0x32, 0x69, 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, 0x62, 0x65, + 0x74, 0x61, 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, 0xef, 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, 0xac, 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, 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, 0x62, 0x65, 0x74, 0x61, 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, 0xcf, 0x01, 0x0a, 0x41, + 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, 0x62, 0x65, + 0x74, 0x61, 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, 0x67, 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, 0x62, + 0x65, 0x74, 0x61, 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_v1beta1_schema_trainingjob_definition_automl_image_object_detection_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_image_object_detection_proto_rawDescData = file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_image_object_detection_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_image_object_detection_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_image_object_detection_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_image_object_detection_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_image_object_detection_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_image_object_detection_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_image_object_detection_proto_enumTypes = make([]protoimpl.EnumInfo, 2) +var file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_image_object_detection_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_image_object_detection_proto_goTypes = []interface{}{ + (AutoMlImageObjectDetectionInputs_ModelType)(0), // 0: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlImageObjectDetectionInputs.ModelType + (AutoMlImageObjectDetectionMetadata_SuccessfulStopReason)(0), // 1: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlImageObjectDetectionMetadata.SuccessfulStopReason + (*AutoMlImageObjectDetection)(nil), // 2: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlImageObjectDetection + (*AutoMlImageObjectDetectionInputs)(nil), // 3: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlImageObjectDetectionInputs + (*AutoMlImageObjectDetectionMetadata)(nil), // 4: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlImageObjectDetectionMetadata +} +var file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_image_object_detection_proto_depIdxs = []int32{ + 3, // 0: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlImageObjectDetection.inputs:type_name -> google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlImageObjectDetectionInputs + 4, // 1: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlImageObjectDetection.metadata:type_name -> google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlImageObjectDetectionMetadata + 0, // 2: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlImageObjectDetectionInputs.model_type:type_name -> google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlImageObjectDetectionInputs.ModelType + 1, // 3: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlImageObjectDetectionMetadata.successful_stop_reason:type_name -> google.cloud.aiplatform.v1beta1.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_v1beta1_schema_trainingjob_definition_automl_image_object_detection_proto_init() +} +func file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_image_object_detection_proto_init() { + if File_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_image_object_detection_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_schema_trainingjob_definition_automl_image_object_detection_proto_rawDesc, + NumEnums: 2, + NumMessages: 3, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_image_object_detection_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_image_object_detection_proto_depIdxs, + EnumInfos: file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_image_object_detection_proto_enumTypes, + MessageInfos: file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_image_object_detection_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_image_object_detection_proto = out.File + file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_image_object_detection_proto_rawDesc = nil + file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_image_object_detection_proto_goTypes = nil + file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_image_object_detection_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_image_segmentation.pb.go b/googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_image_segmentation.pb.go new file mode 100644 index 000000000..6cbe9e3c6 --- /dev/null +++ b/googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_image_segmentation.pb.go @@ -0,0 +1,540 @@ +// 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 +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1beta1/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 +) + +// 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", + } + AutoMlImageSegmentationInputs_ModelType_value = map[string]int32{ + "MODEL_TYPE_UNSPECIFIED": 0, + "CLOUD_HIGH_ACCURACY_1": 1, + "CLOUD_LOW_ACCURACY_1": 2, + } +) + +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_v1beta1_schema_trainingjob_definition_automl_image_segmentation_proto_enumTypes[0].Descriptor() +} + +func (AutoMlImageSegmentationInputs_ModelType) Type() protoreflect.EnumType { + return &file_google_cloud_aiplatform_v1beta1_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_v1beta1_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_v1beta1_schema_trainingjob_definition_automl_image_segmentation_proto_enumTypes[1].Descriptor() +} + +func (AutoMlImageSegmentationMetadata_SuccessfulStopReason) Type() protoreflect.EnumType { + return &file_google_cloud_aiplatform_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_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.v1beta1.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_v1beta1_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_v1beta1_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_v1beta1_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.v1beta1.schema.trainingjob.definition.AutoMlImageSegmentationMetadata_SuccessfulStopReason" json:"successful_stop_reason,omitempty"` +} + +func (x *AutoMlImageSegmentationMetadata) Reset() { + *x = AutoMlImageSegmentationMetadata{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_schema_trainingjob_definition_automl_image_segmentation_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_image_segmentation_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, 0x62, 0x65, 0x74, 0x61, + 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, + 0x3d, 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, 0x62, 0x65, 0x74, 0x61, 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, 0x8b, 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, 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, 0x62, 0x65, 0x74, 0x61, 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, 0x7a, + 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x5e, 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, 0x62, 0x65, 0x74, + 0x61, 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, 0xe0, 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, 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, 0x62, 0x65, + 0x74, 0x61, 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, + 0x5c, 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, 0x22, 0xe9, 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, 0xa9, 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, 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, 0x62, 0x65, 0x74, 0x61, 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, 0xcc, 0x01, 0x0a, 0x41, 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, 0x62, 0x65, 0x74, 0x61, + 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, + 0x67, 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, 0x62, 0x65, 0x74, 0x61, 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_v1beta1_schema_trainingjob_definition_automl_image_segmentation_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_image_segmentation_proto_rawDescData = file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_image_segmentation_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_image_segmentation_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_image_segmentation_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_image_segmentation_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_image_segmentation_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_image_segmentation_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_image_segmentation_proto_enumTypes = make([]protoimpl.EnumInfo, 2) +var file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_image_segmentation_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_image_segmentation_proto_goTypes = []interface{}{ + (AutoMlImageSegmentationInputs_ModelType)(0), // 0: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlImageSegmentationInputs.ModelType + (AutoMlImageSegmentationMetadata_SuccessfulStopReason)(0), // 1: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlImageSegmentationMetadata.SuccessfulStopReason + (*AutoMlImageSegmentation)(nil), // 2: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlImageSegmentation + (*AutoMlImageSegmentationInputs)(nil), // 3: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlImageSegmentationInputs + (*AutoMlImageSegmentationMetadata)(nil), // 4: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlImageSegmentationMetadata +} +var file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_image_segmentation_proto_depIdxs = []int32{ + 3, // 0: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlImageSegmentation.inputs:type_name -> google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlImageSegmentationInputs + 4, // 1: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlImageSegmentation.metadata:type_name -> google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlImageSegmentationMetadata + 0, // 2: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlImageSegmentationInputs.model_type:type_name -> google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlImageSegmentationInputs.ModelType + 1, // 3: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlImageSegmentationMetadata.successful_stop_reason:type_name -> google.cloud.aiplatform.v1beta1.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_v1beta1_schema_trainingjob_definition_automl_image_segmentation_proto_init() +} +func file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_image_segmentation_proto_init() { + if File_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_image_segmentation_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_schema_trainingjob_definition_automl_image_segmentation_proto_rawDesc, + NumEnums: 2, + NumMessages: 3, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_image_segmentation_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_image_segmentation_proto_depIdxs, + EnumInfos: file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_image_segmentation_proto_enumTypes, + MessageInfos: file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_image_segmentation_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_image_segmentation_proto = out.File + file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_image_segmentation_proto_rawDesc = nil + file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_image_segmentation_proto_goTypes = nil + file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_image_segmentation_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_tables.pb.go b/googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_tables.pb.go new file mode 100644 index 000000000..34fe4078e --- /dev/null +++ b/googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_tables.pb.go @@ -0,0 +1,1500 @@ +// 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 +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1beta1/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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_schema_trainingjob_definition_automl_tables_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_tables_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, 0x62, 0x65, 0x74, 0x61, + 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, 0x3d, 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, 0x62, + 0x65, 0x74, 0x61, 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, 0x66, 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, 0x62, 0x65, + 0x74, 0x61, 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, 0xea, 0x01, 0x0a, 0x0c, 0x41, 0x75, 0x74, + 0x6f, 0x4d, 0x6c, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 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, 0x62, 0x65, 0x74, 0x61, 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, 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, 0x62, 0x65, 0x74, 0x61, 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, 0x89, 0x16, 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, 0x8a, 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, 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, 0x62, 0x65, 0x74, 0x61, 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, 0xa9, 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, 0x5d, 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, 0x62, 0x65, 0x74, 0x61, 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, 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, 0x62, 0x65, 0x74, 0x61, 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, 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, 0x62, 0x65, 0x74, 0x61, 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, 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, 0x62, + 0x65, 0x74, 0x61, 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, 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, 0x62, 0x65, + 0x74, 0x61, 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, 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, 0x62, 0x65, 0x74, 0x61, 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, 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, 0x62, 0x65, 0x74, 0x61, + 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, + 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, 0x62, 0x65, 0x74, 0x61, 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, 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, 0x62, 0x65, 0x74, 0x61, 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, 0xc1, 0x01, 0x0a, 0x41, 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, 0x62, 0x65, 0x74, 0x61, 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, 0x67, 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, 0x62, 0x65, 0x74, + 0x61, 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_v1beta1_schema_trainingjob_definition_automl_tables_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_tables_proto_rawDescData = file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_tables_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_tables_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_tables_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_tables_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_tables_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_tables_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_tables_proto_msgTypes = make([]protoimpl.MessageInfo, 12) +var file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_tables_proto_goTypes = []interface{}{ + (*AutoMlTables)(nil), // 0: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlTables + (*AutoMlTablesInputs)(nil), // 1: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlTablesInputs + (*AutoMlTablesMetadata)(nil), // 2: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlTablesMetadata + (*AutoMlTablesInputs_Transformation)(nil), // 3: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlTablesInputs.Transformation + (*AutoMlTablesInputs_Transformation_AutoTransformation)(nil), // 4: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlTablesInputs.Transformation.AutoTransformation + (*AutoMlTablesInputs_Transformation_NumericTransformation)(nil), // 5: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlTablesInputs.Transformation.NumericTransformation + (*AutoMlTablesInputs_Transformation_CategoricalTransformation)(nil), // 6: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlTablesInputs.Transformation.CategoricalTransformation + (*AutoMlTablesInputs_Transformation_TimestampTransformation)(nil), // 7: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlTablesInputs.Transformation.TimestampTransformation + (*AutoMlTablesInputs_Transformation_TextTransformation)(nil), // 8: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlTablesInputs.Transformation.TextTransformation + (*AutoMlTablesInputs_Transformation_NumericArrayTransformation)(nil), // 9: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlTablesInputs.Transformation.NumericArrayTransformation + (*AutoMlTablesInputs_Transformation_CategoricalArrayTransformation)(nil), // 10: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlTablesInputs.Transformation.CategoricalArrayTransformation + (*AutoMlTablesInputs_Transformation_TextArrayTransformation)(nil), // 11: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlTablesInputs.Transformation.TextArrayTransformation + (*ExportEvaluatedDataItemsConfig)(nil), // 12: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.ExportEvaluatedDataItemsConfig +} +var file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_tables_proto_depIdxs = []int32{ + 1, // 0: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlTables.inputs:type_name -> google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlTablesInputs + 2, // 1: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlTables.metadata:type_name -> google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlTablesMetadata + 3, // 2: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlTablesInputs.transformations:type_name -> google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlTablesInputs.Transformation + 12, // 3: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlTablesInputs.export_evaluated_data_items_config:type_name -> google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.ExportEvaluatedDataItemsConfig + 4, // 4: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlTablesInputs.Transformation.auto:type_name -> google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlTablesInputs.Transformation.AutoTransformation + 5, // 5: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlTablesInputs.Transformation.numeric:type_name -> google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlTablesInputs.Transformation.NumericTransformation + 6, // 6: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlTablesInputs.Transformation.categorical:type_name -> google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlTablesInputs.Transformation.CategoricalTransformation + 7, // 7: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlTablesInputs.Transformation.timestamp:type_name -> google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlTablesInputs.Transformation.TimestampTransformation + 8, // 8: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlTablesInputs.Transformation.text:type_name -> google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlTablesInputs.Transformation.TextTransformation + 9, // 9: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlTablesInputs.Transformation.repeated_numeric:type_name -> google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlTablesInputs.Transformation.NumericArrayTransformation + 10, // 10: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlTablesInputs.Transformation.repeated_categorical:type_name -> google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlTablesInputs.Transformation.CategoricalArrayTransformation + 11, // 11: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlTablesInputs.Transformation.repeated_text:type_name -> google.cloud.aiplatform.v1beta1.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_v1beta1_schema_trainingjob_definition_automl_tables_proto_init() +} +func file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_tables_proto_init() { + if File_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_tables_proto != nil { + return + } + file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_export_evaluated_data_items_config_proto_init() + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_schema_trainingjob_definition_automl_tables_proto_msgTypes[1].OneofWrappers = []interface{}{ + (*AutoMlTablesInputs_OptimizationObjectiveRecallValue)(nil), + (*AutoMlTablesInputs_OptimizationObjectivePrecisionValue)(nil), + } + file_google_cloud_aiplatform_v1beta1_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_v1beta1_schema_trainingjob_definition_automl_tables_proto_rawDesc, + NumEnums: 0, + NumMessages: 12, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_tables_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_tables_proto_depIdxs, + MessageInfos: file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_tables_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_tables_proto = out.File + file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_tables_proto_rawDesc = nil + file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_tables_proto_goTypes = nil + file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_tables_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_text_classification.pb.go b/googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_text_classification.pb.go new file mode 100644 index 000000000..56ba451bc --- /dev/null +++ b/googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_text_classification.pb.go @@ -0,0 +1,261 @@ +// 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 +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1beta1/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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_schema_trainingjob_definition_automl_text_classification_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_classification_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, 0x62, 0x65, 0x74, 0x61, + 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, 0x3d, 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, 0x62, 0x65, 0x74, 0x61, + 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, 0x91, 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, 0x75, 0x0a, 0x06, 0x69, 0x6e, + 0x70, 0x75, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x5d, 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, 0x62, 0x65, 0x74, 0x61, 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, 0xcd, 0x01, 0x0a, 0x41, 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, 0x62, 0x65, 0x74, 0x61, 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, 0x67, 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, 0x62, 0x65, 0x74, 0x61, 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_v1beta1_schema_trainingjob_definition_automl_text_classification_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_classification_proto_rawDescData = file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_classification_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_classification_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_classification_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_classification_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_classification_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_classification_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_classification_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_classification_proto_goTypes = []interface{}{ + (*AutoMlTextClassification)(nil), // 0: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlTextClassification + (*AutoMlTextClassificationInputs)(nil), // 1: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlTextClassificationInputs +} +var file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_classification_proto_depIdxs = []int32{ + 1, // 0: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlTextClassification.inputs:type_name -> google.cloud.aiplatform.v1beta1.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_v1beta1_schema_trainingjob_definition_automl_text_classification_proto_init() +} +func file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_classification_proto_init() { + if File_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_classification_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1beta1_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_v1beta1_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_v1beta1_schema_trainingjob_definition_automl_text_classification_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_classification_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_classification_proto_depIdxs, + MessageInfos: file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_classification_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_classification_proto = out.File + file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_classification_proto_rawDesc = nil + file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_classification_proto_goTypes = nil + file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_classification_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_text_extraction.pb.go b/googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_text_extraction.pb.go new file mode 100644 index 000000000..57a5a6e90 --- /dev/null +++ b/googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_text_extraction.pb.go @@ -0,0 +1,249 @@ +// 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 +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1beta1/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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_schema_trainingjob_definition_automl_text_extraction_proto_rawDescGZIP(), []int{1} +} + +var File_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_extraction_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_extraction_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, 0x62, 0x65, 0x74, 0x61, + 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, 0x3d, 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, 0x62, 0x65, 0x74, 0x61, 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, 0x89, 0x01, 0x0a, 0x14, 0x41, 0x75, + 0x74, 0x6f, 0x4d, 0x6c, 0x54, 0x65, 0x78, 0x74, 0x45, 0x78, 0x74, 0x72, 0x61, 0x63, 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, 0x62, + 0x65, 0x74, 0x61, 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, 0xc9, 0x01, 0x0a, 0x41, 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, 0x62, 0x65, 0x74, 0x61, 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, 0x67, 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, 0x62, 0x65, 0x74, 0x61, 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_v1beta1_schema_trainingjob_definition_automl_text_extraction_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_extraction_proto_rawDescData = file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_extraction_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_extraction_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_extraction_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_extraction_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_extraction_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_extraction_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_extraction_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_extraction_proto_goTypes = []interface{}{ + (*AutoMlTextExtraction)(nil), // 0: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlTextExtraction + (*AutoMlTextExtractionInputs)(nil), // 1: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlTextExtractionInputs +} +var file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_extraction_proto_depIdxs = []int32{ + 1, // 0: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlTextExtraction.inputs:type_name -> google.cloud.aiplatform.v1beta1.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_v1beta1_schema_trainingjob_definition_automl_text_extraction_proto_init() +} +func file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_extraction_proto_init() { + if File_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_extraction_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1beta1_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_v1beta1_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_v1beta1_schema_trainingjob_definition_automl_text_extraction_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_extraction_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_extraction_proto_depIdxs, + MessageInfos: file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_extraction_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_extraction_proto = out.File + file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_extraction_proto_rawDesc = nil + file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_extraction_proto_goTypes = nil + file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_extraction_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_text_sentiment.pb.go b/googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_text_sentiment.pb.go new file mode 100644 index 000000000..4b9ae09d4 --- /dev/null +++ b/googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_text_sentiment.pb.go @@ -0,0 +1,267 @@ +// 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 +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1beta1/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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_schema_trainingjob_definition_automl_text_sentiment_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_sentiment_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, 0x62, 0x65, 0x74, 0x61, + 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, 0x3d, 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, 0x62, 0x65, 0x74, 0x61, 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, 0x01, 0x0a, 0x13, 0x41, 0x75, 0x74, + 0x6f, 0x4d, 0x6c, 0x54, 0x65, 0x78, 0x74, 0x53, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74, + 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, 0x62, 0x65, 0x74, + 0x61, 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, 0xc8, 0x01, 0x0a, 0x41, 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, 0x62, 0x65, 0x74, 0x61, 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, 0x67, 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, 0x62, 0x65, 0x74, 0x61, 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_v1beta1_schema_trainingjob_definition_automl_text_sentiment_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_sentiment_proto_rawDescData = file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_sentiment_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_sentiment_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_sentiment_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_sentiment_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_sentiment_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_sentiment_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_sentiment_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_sentiment_proto_goTypes = []interface{}{ + (*AutoMlTextSentiment)(nil), // 0: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlTextSentiment + (*AutoMlTextSentimentInputs)(nil), // 1: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlTextSentimentInputs +} +var file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_sentiment_proto_depIdxs = []int32{ + 1, // 0: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlTextSentiment.inputs:type_name -> google.cloud.aiplatform.v1beta1.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_v1beta1_schema_trainingjob_definition_automl_text_sentiment_proto_init() +} +func file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_sentiment_proto_init() { + if File_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_sentiment_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1beta1_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_v1beta1_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_v1beta1_schema_trainingjob_definition_automl_text_sentiment_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_sentiment_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_sentiment_proto_depIdxs, + MessageInfos: file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_sentiment_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_sentiment_proto = out.File + file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_sentiment_proto_rawDesc = nil + file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_sentiment_proto_goTypes = nil + file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_text_sentiment_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_video_action_recognition.pb.go b/googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_video_action_recognition.pb.go new file mode 100644 index 000000000..15d5045d4 --- /dev/null +++ b/googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_video_action_recognition.pb.go @@ -0,0 +1,334 @@ +// 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 +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1beta1/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_v1beta1_schema_trainingjob_definition_automl_video_action_recognition_proto_enumTypes[0].Descriptor() +} + +func (AutoMlVideoActionRecognitionInputs_ModelType) Type() protoreflect.EnumType { + return &file_google_cloud_aiplatform_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_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.v1beta1.schema.trainingjob.definition.AutoMlVideoActionRecognitionInputs_ModelType" json:"model_type,omitempty"` +} + +func (x *AutoMlVideoActionRecognitionInputs) Reset() { + *x = AutoMlVideoActionRecognitionInputs{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_schema_trainingjob_definition_automl_video_action_recognition_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_video_action_recognition_proto_rawDesc = []byte{ + 0x0a, 0x63, 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, 0x62, 0x65, 0x74, 0x61, + 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, 0x3d, 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, 0x62, 0x65, 0x74, 0x61, 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, 0x99, 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, 0x79, 0x0a, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 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, + 0x62, 0x65, 0x74, 0x61, 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, 0xfd, + 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, 0x8a, 0x01, 0x0a, 0x0a, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, + 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x6b, 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, 0x62, 0x65, 0x74, 0x61, 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, 0xd1, + 0x01, 0x0a, 0x41, 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, 0x62, 0x65, 0x74, 0x61, 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, 0x67, 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, 0x62, 0x65, 0x74, 0x61, 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_v1beta1_schema_trainingjob_definition_automl_video_action_recognition_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_video_action_recognition_proto_rawDescData = file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_video_action_recognition_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_video_action_recognition_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_video_action_recognition_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_video_action_recognition_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_video_action_recognition_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_video_action_recognition_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_video_action_recognition_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_video_action_recognition_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_video_action_recognition_proto_goTypes = []interface{}{ + (AutoMlVideoActionRecognitionInputs_ModelType)(0), // 0: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlVideoActionRecognitionInputs.ModelType + (*AutoMlVideoActionRecognition)(nil), // 1: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlVideoActionRecognition + (*AutoMlVideoActionRecognitionInputs)(nil), // 2: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlVideoActionRecognitionInputs +} +var file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_video_action_recognition_proto_depIdxs = []int32{ + 2, // 0: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlVideoActionRecognition.inputs:type_name -> google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlVideoActionRecognitionInputs + 0, // 1: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlVideoActionRecognitionInputs.model_type:type_name -> google.cloud.aiplatform.v1beta1.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_v1beta1_schema_trainingjob_definition_automl_video_action_recognition_proto_init() +} +func file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_video_action_recognition_proto_init() { + if File_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_video_action_recognition_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1beta1_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_v1beta1_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_v1beta1_schema_trainingjob_definition_automl_video_action_recognition_proto_rawDesc, + NumEnums: 1, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_video_action_recognition_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_video_action_recognition_proto_depIdxs, + EnumInfos: file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_video_action_recognition_proto_enumTypes, + MessageInfos: file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_video_action_recognition_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_video_action_recognition_proto = out.File + file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_video_action_recognition_proto_rawDesc = nil + file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_video_action_recognition_proto_goTypes = nil + file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_video_action_recognition_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_video_classification.pb.go b/googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_video_classification.pb.go new file mode 100644 index 000000000..17d0ea217 --- /dev/null +++ b/googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_video_classification.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 +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1beta1/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 +) + +// Enum value maps for AutoMlVideoClassificationInputs_ModelType. +var ( + AutoMlVideoClassificationInputs_ModelType_name = map[int32]string{ + 0: "MODEL_TYPE_UNSPECIFIED", + 1: "CLOUD", + 2: "MOBILE_VERSATILE_1", + } + AutoMlVideoClassificationInputs_ModelType_value = map[string]int32{ + "MODEL_TYPE_UNSPECIFIED": 0, + "CLOUD": 1, + "MOBILE_VERSATILE_1": 2, + } +) + +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_v1beta1_schema_trainingjob_definition_automl_video_classification_proto_enumTypes[0].Descriptor() +} + +func (AutoMlVideoClassificationInputs_ModelType) Type() protoreflect.EnumType { + return &file_google_cloud_aiplatform_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_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.v1beta1.schema.trainingjob.definition.AutoMlVideoClassificationInputs_ModelType" json:"model_type,omitempty"` +} + +func (x *AutoMlVideoClassificationInputs) Reset() { + *x = AutoMlVideoClassificationInputs{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_schema_trainingjob_definition_automl_video_classification_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_video_classification_proto_rawDesc = []byte{ + 0x0a, 0x5f, 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, 0x62, 0x65, 0x74, 0x61, + 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, 0x3d, 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, 0x62, 0x65, 0x74, + 0x61, 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, 0x93, + 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, 0x76, 0x0a, 0x06, + 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x5e, 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, 0x62, 0x65, 0x74, 0x61, 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, 0xf7, 0x01, 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, 0x87, 0x01, 0x0a, 0x0a, 0x6d, 0x6f, 0x64, + 0x65, 0x6c, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x68, 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, 0x62, 0x65, 0x74, 0x61, 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, 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, 0xce, + 0x01, 0x0a, 0x41, 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, 0x62, 0x65, 0x74, 0x61, 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, 0x67, 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, 0x62, 0x65, 0x74, 0x61, 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_v1beta1_schema_trainingjob_definition_automl_video_classification_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_video_classification_proto_rawDescData = file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_video_classification_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_video_classification_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_video_classification_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_video_classification_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_video_classification_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_video_classification_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_video_classification_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_video_classification_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_video_classification_proto_goTypes = []interface{}{ + (AutoMlVideoClassificationInputs_ModelType)(0), // 0: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlVideoClassificationInputs.ModelType + (*AutoMlVideoClassification)(nil), // 1: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlVideoClassification + (*AutoMlVideoClassificationInputs)(nil), // 2: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlVideoClassificationInputs +} +var file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_video_classification_proto_depIdxs = []int32{ + 2, // 0: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlVideoClassification.inputs:type_name -> google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlVideoClassificationInputs + 0, // 1: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlVideoClassificationInputs.model_type:type_name -> google.cloud.aiplatform.v1beta1.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_v1beta1_schema_trainingjob_definition_automl_video_classification_proto_init() +} +func file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_video_classification_proto_init() { + if File_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_video_classification_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1beta1_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_v1beta1_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_v1beta1_schema_trainingjob_definition_automl_video_classification_proto_rawDesc, + NumEnums: 1, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_video_classification_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_video_classification_proto_depIdxs, + EnumInfos: file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_video_classification_proto_enumTypes, + MessageInfos: file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_video_classification_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_video_classification_proto = out.File + file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_video_classification_proto_rawDesc = nil + file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_video_classification_proto_goTypes = nil + file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_video_classification_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_video_object_tracking.pb.go b/googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_video_object_tracking.pb.go new file mode 100644 index 000000000..a14d0ea50 --- /dev/null +++ b/googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition/automl_video_object_tracking.pb.go @@ -0,0 +1,360 @@ +// 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 +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1beta1/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_v1beta1_schema_trainingjob_definition_automl_video_object_tracking_proto_enumTypes[0].Descriptor() +} + +func (AutoMlVideoObjectTrackingInputs_ModelType) Type() protoreflect.EnumType { + return &file_google_cloud_aiplatform_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_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.v1beta1.schema.trainingjob.definition.AutoMlVideoObjectTrackingInputs_ModelType" json:"model_type,omitempty"` +} + +func (x *AutoMlVideoObjectTrackingInputs) Reset() { + *x = AutoMlVideoObjectTrackingInputs{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_aiplatform_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_schema_trainingjob_definition_automl_video_object_tracking_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_video_object_tracking_proto_rawDesc = []byte{ + 0x0a, 0x60, 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, 0x62, 0x65, 0x74, 0x61, + 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, 0x3d, 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, 0x62, 0x65, + 0x74, 0x61, 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, + 0x93, 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, 0x76, 0x0a, + 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x5e, 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, 0x62, 0x65, 0x74, 0x61, 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, 0xf6, 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, 0x87, 0x01, 0x0a, 0x0a, 0x6d, 0x6f, + 0x64, 0x65, 0x6c, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x68, + 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, 0x62, 0x65, 0x74, 0x61, 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, 0xce, + 0x01, 0x0a, 0x41, 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, 0x62, 0x65, 0x74, 0x61, 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, 0x67, 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, 0x62, 0x65, 0x74, 0x61, 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_v1beta1_schema_trainingjob_definition_automl_video_object_tracking_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_video_object_tracking_proto_rawDescData = file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_video_object_tracking_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_video_object_tracking_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_video_object_tracking_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_video_object_tracking_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_video_object_tracking_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_video_object_tracking_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_video_object_tracking_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_video_object_tracking_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_video_object_tracking_proto_goTypes = []interface{}{ + (AutoMlVideoObjectTrackingInputs_ModelType)(0), // 0: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlVideoObjectTrackingInputs.ModelType + (*AutoMlVideoObjectTracking)(nil), // 1: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlVideoObjectTracking + (*AutoMlVideoObjectTrackingInputs)(nil), // 2: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlVideoObjectTrackingInputs +} +var file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_video_object_tracking_proto_depIdxs = []int32{ + 2, // 0: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlVideoObjectTracking.inputs:type_name -> google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlVideoObjectTrackingInputs + 0, // 1: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlVideoObjectTrackingInputs.model_type:type_name -> google.cloud.aiplatform.v1beta1.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_v1beta1_schema_trainingjob_definition_automl_video_object_tracking_proto_init() +} +func file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_video_object_tracking_proto_init() { + if File_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_video_object_tracking_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1beta1_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_v1beta1_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_v1beta1_schema_trainingjob_definition_automl_video_object_tracking_proto_rawDesc, + NumEnums: 1, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_video_object_tracking_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_video_object_tracking_proto_depIdxs, + EnumInfos: file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_video_object_tracking_proto_enumTypes, + MessageInfos: file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_video_object_tracking_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_video_object_tracking_proto = out.File + file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_video_object_tracking_proto_rawDesc = nil + file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_video_object_tracking_proto_goTypes = nil + file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_automl_video_object_tracking_proto_depIdxs = nil +} diff --git a/googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition/export_evaluated_data_items_config.pb.go b/googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition/export_evaluated_data_items_config.pb.go new file mode 100644 index 000000000..e6d9a28c7 --- /dev/null +++ b/googleapis/cloud/aiplatform/v1beta1/schema/trainingjob/definition/export_evaluated_data_items_config.pb.go @@ -0,0 +1,212 @@ +// 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 +// protoc v3.13.0 +// source: google/cloud/aiplatform/v1beta1/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. 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 will be overwritten. Otherwise, if the export destination + // already exists, then the export operation will not trigger and a failure + // response is returned. + 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_v1beta1_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_v1beta1_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_v1beta1_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_v1beta1_schema_trainingjob_definition_export_evaluated_data_items_config_proto protoreflect.FileDescriptor + +var file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_export_evaluated_data_items_config_proto_rawDesc = []byte{ + 0x0a, 0x66, 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, 0x62, 0x65, 0x74, 0x61, + 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, 0x3d, 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, 0x62, 0x65, 0x74, 0x61, 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, 0xd3, 0x01, 0x0a, 0x41, 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, 0x62, 0x65, 0x74, + 0x61, 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, 0x67, 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, 0x62, 0x65, 0x74, 0x61, 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_v1beta1_schema_trainingjob_definition_export_evaluated_data_items_config_proto_rawDescOnce sync.Once + file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_export_evaluated_data_items_config_proto_rawDescData = file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_export_evaluated_data_items_config_proto_rawDesc +) + +func file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_export_evaluated_data_items_config_proto_rawDescGZIP() []byte { + file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_export_evaluated_data_items_config_proto_rawDescOnce.Do(func() { + file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_export_evaluated_data_items_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_export_evaluated_data_items_config_proto_rawDescData) + }) + return file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_export_evaluated_data_items_config_proto_rawDescData +} + +var file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_export_evaluated_data_items_config_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_export_evaluated_data_items_config_proto_goTypes = []interface{}{ + (*ExportEvaluatedDataItemsConfig)(nil), // 0: google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.ExportEvaluatedDataItemsConfig +} +var file_google_cloud_aiplatform_v1beta1_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_v1beta1_schema_trainingjob_definition_export_evaluated_data_items_config_proto_init() +} +func file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_export_evaluated_data_items_config_proto_init() { + if File_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_export_evaluated_data_items_config_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_google_cloud_aiplatform_v1beta1_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_v1beta1_schema_trainingjob_definition_export_evaluated_data_items_config_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_export_evaluated_data_items_config_proto_goTypes, + DependencyIndexes: file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_export_evaluated_data_items_config_proto_depIdxs, + MessageInfos: file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_export_evaluated_data_items_config_proto_msgTypes, + }.Build() + File_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_export_evaluated_data_items_config_proto = out.File + file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_export_evaluated_data_items_config_proto_rawDesc = nil + file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_export_evaluated_data_items_config_proto_goTypes = nil + file_google_cloud_aiplatform_v1beta1_schema_trainingjob_definition_export_evaluated_data_items_config_proto_depIdxs = nil +} diff --git a/regen.txt b/regen.txt index 42bc6aa9f..42c315523 100644 --- a/regen.txt +++ b/regen.txt @@ -1 +1 @@ -6a69c750c3f01a69017662395f90515bbf1fe1ff \ No newline at end of file +e7b8cc00065515c3768f57f19a514d8697f76ff4 \ No newline at end of file