Enum value maps for Annotation_Source_SourceType.
var ( Annotation_Source_SourceType_name = map[int32]string{ 0: "SOURCE_TYPE_UNSPECIFIED", 1: "HUMAN_PRODUCED", 2: "MACHINE_PRODUCED", 3: "HUMAN_LABELED", } Annotation_Source_SourceType_value = map[string]int32{ "SOURCE_TYPE_UNSPECIFIED": 0, "HUMAN_PRODUCED": 1, "MACHINE_PRODUCED": 2, "HUMAN_LABELED": 3, } )
Enum value maps for LabelingJob_JobState.
var ( LabelingJob_JobState_name = map[int32]string{ 0: "JOB_STATE_UNSPECIFIED", 1: "JOB_STATE_QUEUED", 2: "JOB_STATE_PENDING", 3: "JOB_STATE_RUNNING", 4: "JOB_STATE_SUCCEEDED", 5: "JOB_STATE_FAILED", 6: "JOB_STATE_CANCELLING", 7: "JOB_STATE_CANCELLED", 8: "JOB_STATE_PAUSED", } LabelingJob_JobState_value = map[string]int32{ "JOB_STATE_UNSPECIFIED": 0, "JOB_STATE_QUEUED": 1, "JOB_STATE_PENDING": 2, "JOB_STATE_RUNNING": 3, "JOB_STATE_SUCCEEDED": 4, "JOB_STATE_FAILED": 5, "JOB_STATE_CANCELLING": 6, "JOB_STATE_CANCELLED": 7, "JOB_STATE_PAUSED": 8, } )
Enum value maps for SolutionArtifact_ExportType.
var ( SolutionArtifact_ExportType_name = map[int32]string{ 0: "EXPORT_TYPE_UNSPECIFIED", 1: "CPU_CONTAINER", 2: "GPU_CONTAINER", 3: "PACKAGED_ARCHIVE", } SolutionArtifact_ExportType_value = map[string]int32{ "EXPORT_TYPE_UNSPECIFIED": 0, "CPU_CONTAINER": 1, "GPU_CONTAINER": 2, "PACKAGED_ARCHIVE": 3, } )
var File_google_cloud_visualinspection_v1beta1_annotation_proto protoreflect.FileDescriptor
var File_google_cloud_visualinspection_v1beta1_annotation_set_proto protoreflect.FileDescriptor
var File_google_cloud_visualinspection_v1beta1_annotation_spec_proto protoreflect.FileDescriptor
var File_google_cloud_visualinspection_v1beta1_common_proto protoreflect.FileDescriptor
var File_google_cloud_visualinspection_v1beta1_dataset_proto protoreflect.FileDescriptor
var File_google_cloud_visualinspection_v1beta1_geometry_proto protoreflect.FileDescriptor
var File_google_cloud_visualinspection_v1beta1_image_proto protoreflect.FileDescriptor
var File_google_cloud_visualinspection_v1beta1_io_proto protoreflect.FileDescriptor
var File_google_cloud_visualinspection_v1beta1_labeling_proto protoreflect.FileDescriptor
var File_google_cloud_visualinspection_v1beta1_metrics_proto protoreflect.FileDescriptor
var File_google_cloud_visualinspection_v1beta1_model_evaluation_proto protoreflect.FileDescriptor
var File_google_cloud_visualinspection_v1beta1_model_proto protoreflect.FileDescriptor
var File_google_cloud_visualinspection_v1beta1_module_proto protoreflect.FileDescriptor
var File_google_cloud_visualinspection_v1beta1_service_proto protoreflect.FileDescriptor
var File_google_cloud_visualinspection_v1beta1_solution_artifact_proto protoreflect.FileDescriptor
func RegisterVisualInspectionServer(s *grpc.Server, srv VisualInspectionServer)
Configuration of active learning.
type ActiveLearningConfig struct { // Max number of human labeled data items. MaxItemCount int64 `protobuf:"varint,1,opt,name=max_item_count,json=maxItemCount,proto3" json:"max_item_count,omitempty"` // contains filtered or unexported fields }
func (*ActiveLearningConfig) Descriptor() ([]byte, []int)
Deprecated: Use ActiveLearningConfig.ProtoReflect.Descriptor instead.
func (x *ActiveLearningConfig) GetMaxItemCount() int64
func (*ActiveLearningConfig) ProtoMessage()
func (x *ActiveLearningConfig) ProtoReflect() protoreflect.Message
func (x *ActiveLearningConfig) Reset()
func (x *ActiveLearningConfig) String() string
Annotation is used to assign specific AnnotationSpec to a particular Image.
type Annotation struct { // Annotation type of the Annotation. // // Types that are assignable to AnnotationType: // *Annotation_Box // *Annotation_Polygon // *Annotation_ClassificationLabel // *Annotation_Mask // *Annotation_Polyline AnnotationType isAnnotation_AnnotationType `protobuf_oneof:"annotation_type"` // Output only. Resource name for Annotation generated by the system. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Output only. Timestamp when this Annotation was created. CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. Timestamp when Annotation was last updated. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // The resource ID of the AnnotationSpec that this Annotation pertains to. // The AnnotationSpec must be in the same ancestor Dataset. // The field could be empty for a MaskAnnotation. AnnotationSpecId string `protobuf:"bytes,4,opt,name=annotation_spec_id,json=annotationSpecId,proto3" json:"annotation_spec_id,omitempty"` // Required. The resource ID of the AnnotationSet that this Annotation belongs // to. AnnotationSetId string `protobuf:"bytes,5,opt,name=annotation_set_id,json=annotationSetId,proto3" json:"annotation_set_id,omitempty"` // The resource ID of the parent Annotation. Parent annotation represents a // region in the original Image. ParentAnnotationId string `protobuf:"bytes,7,opt,name=parent_annotation_id,json=parentAnnotationId,proto3" json:"parent_annotation_id,omitempty"` // Output only. Source of the Annotation. Source *Annotation_Source `protobuf:"bytes,12,opt,name=source,proto3" json:"source,omitempty"` // The labels with user-defined metadata to organize your Annotations. // // Label keys and values can be no longer than 64 characters // (Unicode codepoints), can only contain lowercase letters, numeric // characters, underscores and dashes. International characters are allowed. // Label keys must start with a letter. // // See https://goo.gl/xmQnxf for more information on and examples of labels. Labels map[string]string `protobuf:"bytes,13,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // contains filtered or unexported fields }
func (*Annotation) Descriptor() ([]byte, []int)
Deprecated: Use Annotation.ProtoReflect.Descriptor instead.
func (x *Annotation) GetAnnotationSetId() string
func (x *Annotation) GetAnnotationSpecId() string
func (m *Annotation) GetAnnotationType() isAnnotation_AnnotationType
func (x *Annotation) GetBox() *BoundingBoxAnnotation
func (x *Annotation) GetClassificationLabel() *ClassificationLabelAnnotation
func (x *Annotation) GetCreateTime() *timestamppb.Timestamp
func (x *Annotation) GetLabels() map[string]string
func (x *Annotation) GetMask() *MaskAnnotation
func (x *Annotation) GetName() string
func (x *Annotation) GetParentAnnotationId() string
func (x *Annotation) GetPolygon() *BoundingPolyAnnotation
func (x *Annotation) GetPolyline() *PolylineAnnotation
func (x *Annotation) GetSource() *Annotation_Source
func (x *Annotation) GetUpdateTime() *timestamppb.Timestamp
func (*Annotation) ProtoMessage()
func (x *Annotation) ProtoReflect() protoreflect.Message
func (x *Annotation) Reset()
func (x *Annotation) String() string
Specifies the source of Annotations for a Module input.
type AnnotationInput struct { // Required. The AnnotationSet ID containing input Annotations. The expected // AnnotationType of this AnnotationSet will depend on the Module. // // Deprecated: Do not use. AnnotationSetId string `protobuf:"bytes,1,opt,name=annotation_set_id,json=annotationSetId,proto3" json:"annotation_set_id,omitempty"` // Required. The AnnotationSet containing input Annotations. The expected // AnnotationType of this AnnotationSet will depend on the Module. AnnotationSet string `protobuf:"bytes,3,opt,name=annotation_set,json=annotationSet,proto3" json:"annotation_set,omitempty"` // A list of AnnotationSpecs to subselect Annotations in this AnnotationSet. // If specified, only Annotations which have an AnnotationSpec in the list are // used as input to the Module. AnnotationSpecAllowlist []string `protobuf:"bytes,2,rep,name=annotation_spec_allowlist,json=annotationSpecAllowlist,proto3" json:"annotation_spec_allowlist,omitempty"` // contains filtered or unexported fields }
func (*AnnotationInput) Descriptor() ([]byte, []int)
Deprecated: Use AnnotationInput.ProtoReflect.Descriptor instead.
func (x *AnnotationInput) GetAnnotationSet() string
func (x *AnnotationInput) GetAnnotationSetId() string
Deprecated: Do not use.
func (x *AnnotationInput) GetAnnotationSpecAllowlist() []string
func (*AnnotationInput) ProtoMessage()
func (x *AnnotationInput) ProtoReflect() protoreflect.Message
func (x *AnnotationInput) Reset()
func (x *AnnotationInput) String() string
Specifies the output for Annotations produced by a Module.
type AnnotationOutput struct { // Required. The AnnotationSet ID containing output Annotations. The expected // AnnotationType of this AnnotationSet will depend on the Module. // // Deprecated: Do not use. AnnotationSetId string `protobuf:"bytes,1,opt,name=annotation_set_id,json=annotationSetId,proto3" json:"annotation_set_id,omitempty"` // Required. The AnnotationSet containing output Annotations. The expected // AnnotationType of this AnnotationSet will depend on the Module. AnnotationSet string `protobuf:"bytes,2,opt,name=annotation_set,json=annotationSet,proto3" json:"annotation_set,omitempty"` // contains filtered or unexported fields }
func (*AnnotationOutput) Descriptor() ([]byte, []int)
Deprecated: Use AnnotationOutput.ProtoReflect.Descriptor instead.
func (x *AnnotationOutput) GetAnnotationSet() string
func (x *AnnotationOutput) GetAnnotationSetId() string
Deprecated: Do not use.
func (*AnnotationOutput) ProtoMessage()
func (x *AnnotationOutput) ProtoReflect() protoreflect.Message
func (x *AnnotationOutput) Reset()
func (x *AnnotationOutput) String() string
Resource of an AnnotationSet.
type AnnotationSet struct { // Type of the Annotations in this AnnotationSet. Annotations in this // AnnotationSet must be of the same type. // // Types that are assignable to AnnotationSetType: // *AnnotationSet_ClassificationLabel // *AnnotationSet_Box // *AnnotationSet_Polygon // *AnnotationSet_Mask // *AnnotationSet_Polyline AnnotationSetType isAnnotationSet_AnnotationSetType `protobuf_oneof:"annotation_set_type"` // Output only. Resource name of the AnnotationSet generated by the system. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Required. A user friendly display name for the annotationset. // It can be up to 128 characters long and can be consist of any UTF-8 // characters. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Output only. Timestamp when this AnnotationSet was created. CreateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. Timestamp when AnnotationSet was last updated. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Output only. The list of the AnnotationSpecs in the context of the // AnnotationSet. All of the AnnotationSpecs that are imported or created into // the AnnotationSet are automatically added to this list. User can manually // add item to this list even though no annotation is associated with the // corresponding AnnotationSpec. AnnotationSpecs []*AnnotationSpec `protobuf:"bytes,9,rep,name=annotation_specs,json=annotationSpecs,proto3" json:"annotation_specs,omitempty"` // contains filtered or unexported fields }
func (*AnnotationSet) Descriptor() ([]byte, []int)
Deprecated: Use AnnotationSet.ProtoReflect.Descriptor instead.
func (m *AnnotationSet) GetAnnotationSetType() isAnnotationSet_AnnotationSetType
func (x *AnnotationSet) GetAnnotationSpecs() []*AnnotationSpec
func (x *AnnotationSet) GetBox() *BoundingBoxAnnotationSet
func (x *AnnotationSet) GetClassificationLabel() *ClassificationLabelAnnotationSet
func (x *AnnotationSet) GetCreateTime() *timestamppb.Timestamp
func (x *AnnotationSet) GetDisplayName() string
func (x *AnnotationSet) GetMask() *MaskAnnotationSet
func (x *AnnotationSet) GetName() string
func (x *AnnotationSet) GetPolygon() *PolygonAnnotationSet
func (x *AnnotationSet) GetPolyline() *PolylineAnnotationSet
func (x *AnnotationSet) GetUpdateTime() *timestamppb.Timestamp
func (*AnnotationSet) ProtoMessage()
func (x *AnnotationSet) ProtoReflect() protoreflect.Message
func (x *AnnotationSet) Reset()
func (x *AnnotationSet) String() string
type AnnotationSet_Box struct { // Bounding box. Box *BoundingBoxAnnotationSet `protobuf:"bytes,4,opt,name=box,proto3,oneof"` }
type AnnotationSet_ClassificationLabel struct { // Classification label. ClassificationLabel *ClassificationLabelAnnotationSet `protobuf:"bytes,3,opt,name=classification_label,json=classificationLabel,proto3,oneof"` }
type AnnotationSet_Mask struct { // Mask. Mask *MaskAnnotationSet `protobuf:"bytes,6,opt,name=mask,proto3,oneof"` }
type AnnotationSet_Polygon struct { // Polygon. Polygon *PolygonAnnotationSet `protobuf:"bytes,5,opt,name=polygon,proto3,oneof"` }
type AnnotationSet_Polyline struct { // Polyline Polyline *PolylineAnnotationSet `protobuf:"bytes,11,opt,name=polyline,proto3,oneof"` }
Resource of an AnnotationSpec.
type AnnotationSpec struct { // Output only. Resource name for the AnnotationSpec generated by the system. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Required. A user friendly display name for the AnnotationSpec. // The name can be up to 128 characters long and can be consist of any UTF-8 // characters. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Output only. Timestamp when this AnnotationSpec was created. CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. Timestamp when AnnotationSpec was last updated. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // contains filtered or unexported fields }
func (*AnnotationSpec) Descriptor() ([]byte, []int)
Deprecated: Use AnnotationSpec.ProtoReflect.Descriptor instead.
func (x *AnnotationSpec) GetCreateTime() *timestamppb.Timestamp
func (x *AnnotationSpec) GetDisplayName() string
func (x *AnnotationSpec) GetName() string
func (x *AnnotationSpec) GetUpdateTime() *timestamppb.Timestamp
func (*AnnotationSpec) ProtoMessage()
func (x *AnnotationSpec) ProtoReflect() protoreflect.Message
func (x *AnnotationSpec) Reset()
func (x *AnnotationSpec) String() string
Mapping of color to AnnotationSpec
type AnnotationSpecColor struct { // AnnotationSpec Id. AnnotationSpecId string `protobuf:"bytes,1,opt,name=annotation_spec_id,json=annotationSpecId,proto3" json:"annotation_spec_id,omitempty"` // RGB value represents color in the category_mask image. // Alpha value will always be empty. Color *color.Color `protobuf:"bytes,2,opt,name=color,proto3" json:"color,omitempty"` // contains filtered or unexported fields }
func (*AnnotationSpecColor) Descriptor() ([]byte, []int)
Deprecated: Use AnnotationSpecColor.ProtoReflect.Descriptor instead.
func (x *AnnotationSpecColor) GetAnnotationSpecId() string
func (x *AnnotationSpecColor) GetColor() *color.Color
func (*AnnotationSpecColor) ProtoMessage()
func (x *AnnotationSpecColor) ProtoReflect() protoreflect.Message
func (x *AnnotationSpecColor) Reset()
func (x *AnnotationSpecColor) String() string
type Annotation_Box struct { // A BoundingBox Annotation. Box *BoundingBoxAnnotation `protobuf:"bytes,8,opt,name=box,proto3,oneof"` }
type Annotation_ClassificationLabel struct { // A Classification Label Annotation. ClassificationLabel *ClassificationLabelAnnotation `protobuf:"bytes,10,opt,name=classification_label,json=classificationLabel,proto3,oneof"` }
type Annotation_Mask struct { // A Mask Annotation. Mask *MaskAnnotation `protobuf:"bytes,11,opt,name=mask,proto3,oneof"` }
type Annotation_Polygon struct { // A BoundingPoly Annotation. Polygon *BoundingPolyAnnotation `protobuf:"bytes,9,opt,name=polygon,proto3,oneof"` }
type Annotation_Polyline struct { // A Polyline Annotation, Polyline *PolylineAnnotation `protobuf:"bytes,14,opt,name=polyline,proto3,oneof"` }
Source of the Annotation.
type Annotation_Source struct { // Source type. Type Annotation_Source_SourceType `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.visualinspection.v1beta1.Annotation_Source_SourceType" json:"type,omitempty"` // Resource name of the source model when the Annotation is // MACHINE_PRODUCED. SourceModel string `protobuf:"bytes,2,opt,name=source_model,json=sourceModel,proto3" json:"source_model,omitempty"` // contains filtered or unexported fields }
func (*Annotation_Source) Descriptor() ([]byte, []int)
Deprecated: Use Annotation_Source.ProtoReflect.Descriptor instead.
func (x *Annotation_Source) GetSourceModel() string
func (x *Annotation_Source) GetType() Annotation_Source_SourceType
func (*Annotation_Source) ProtoMessage()
func (x *Annotation_Source) ProtoReflect() protoreflect.Message
func (x *Annotation_Source) Reset()
func (x *Annotation_Source) String() string
Source type of the Annotation.
type Annotation_Source_SourceType int32
const ( // Unspecified source type. Annotation_Source_SOURCE_TYPE_UNSPECIFIED Annotation_Source_SourceType = 0 // The Annotation is generated by a human user. Annotation_Source_HUMAN_PRODUCED Annotation_Source_SourceType = 1 // The Annotation is generated by a ML model. Annotation_Source_MACHINE_PRODUCED Annotation_Source_SourceType = 2 // The Annotation is generated by machine, and it has // child Annotation with HUMAN_PRODUCED. Annotation_Source_HUMAN_LABELED Annotation_Source_SourceType = 3 )
func (Annotation_Source_SourceType) Descriptor() protoreflect.EnumDescriptor
func (x Annotation_Source_SourceType) Enum() *Annotation_Source_SourceType
func (Annotation_Source_SourceType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Annotation_Source_SourceType.Descriptor instead.
func (x Annotation_Source_SourceType) Number() protoreflect.EnumNumber
func (x Annotation_Source_SourceType) String() string
func (Annotation_Source_SourceType) Type() protoreflect.EnumType
Labeling configuration of anomaly detection.
type AnomalyDetectionLabelingConfig struct { // Required. The bounding box annotation set for anomaly detection module. // Format: // // projects/{project}/locations/{location}/datasets/{dataset}/annotationSets/{annotation_set}. InputBoundingBoxAnnotationSets []string `protobuf:"bytes,1,rep,name=input_bounding_box_annotation_sets,json=inputBoundingBoxAnnotationSets,proto3" json:"input_bounding_box_annotation_sets,omitempty"` // A list of AnnotationSpecs to subselect Annotations in // `input_bounding_box_annotation_sets`. If specified, only Annotations which // have an AnnotationSpec in the list will be used for labeling. Format: // // `projects/{project}/locations/{location}/datasets/{dataset}/annotationSpecs/{annotation_spec}`. AnnotationSpecAllowlist []string `protobuf:"bytes,2,rep,name=annotation_spec_allowlist,json=annotationSpecAllowlist,proto3" json:"annotation_spec_allowlist,omitempty"` // contains filtered or unexported fields }
func (*AnomalyDetectionLabelingConfig) Descriptor() ([]byte, []int)
Deprecated: Use AnomalyDetectionLabelingConfig.ProtoReflect.Descriptor instead.
func (x *AnomalyDetectionLabelingConfig) GetAnnotationSpecAllowlist() []string
func (x *AnomalyDetectionLabelingConfig) GetInputBoundingBoxAnnotationSets() []string
func (*AnomalyDetectionLabelingConfig) ProtoMessage()
func (x *AnomalyDetectionLabelingConfig) ProtoReflect() protoreflect.Message
func (x *AnomalyDetectionLabelingConfig) Reset()
func (x *AnomalyDetectionLabelingConfig) String() string
Detailed input and output information of an anomaly detection Module.
type AnomalyDetectionModule struct { // Input regions within which to detect anomalies. If not provided, the full // image is used as input. QueryRegions []*AnnotationInput `protobuf:"bytes,1,rep,name=query_regions,json=queryRegions,proto3" json:"query_regions,omitempty"` // Required. Classification labels to train the model. ClassificationLabels []*AnnotationInput `protobuf:"bytes,2,rep,name=classification_labels,json=classificationLabels,proto3" json:"classification_labels,omitempty"` // Required. Classification predictions by the model. ClassificationPredictions []*AnnotationOutput `protobuf:"bytes,3,rep,name=classification_predictions,json=classificationPredictions,proto3" json:"classification_predictions,omitempty"` // contains filtered or unexported fields }
func (*AnomalyDetectionModule) Descriptor() ([]byte, []int)
Deprecated: Use AnomalyDetectionModule.ProtoReflect.Descriptor instead.
func (x *AnomalyDetectionModule) GetClassificationLabels() []*AnnotationInput
func (x *AnomalyDetectionModule) GetClassificationPredictions() []*AnnotationOutput
func (x *AnomalyDetectionModule) GetQueryRegions() []*AnnotationInput
func (*AnomalyDetectionModule) ProtoMessage()
func (x *AnomalyDetectionModule) ProtoReflect() protoreflect.Message
func (x *AnomalyDetectionModule) Reset()
func (x *AnomalyDetectionModule) String() string
Operation metadata for BatchPreidct.
type BatchPredictOperationMetadata struct { // Output only. Common operation metadata. CommonOperationMetadata *CommonOperationMetadata `protobuf:"bytes,1,opt,name=common_operation_metadata,json=commonOperationMetadata,proto3" json:"common_operation_metadata,omitempty"` // contains filtered or unexported fields }
func (*BatchPredictOperationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use BatchPredictOperationMetadata.ProtoReflect.Descriptor instead.
func (x *BatchPredictOperationMetadata) GetCommonOperationMetadata() *CommonOperationMetadata
func (*BatchPredictOperationMetadata) ProtoMessage()
func (x *BatchPredictOperationMetadata) ProtoReflect() protoreflect.Message
func (x *BatchPredictOperationMetadata) Reset()
func (x *BatchPredictOperationMetadata) String() string
Request message for BatchPredict.
type BatchPredictRequest struct { // Required. SolutionArtifact identifier. SolutionArtifact string `protobuf:"bytes,1,opt,name=solution_artifact,json=solutionArtifact,proto3" json:"solution_artifact,omitempty"` // Required. The input configuration for batch prediction. // The Cloud Storage path of input file. Accepted forms: // * Full object path, e.g. gs://bucket/directory/object.csv in which each // line is the full path to a image file. InputUri string `protobuf:"bytes,2,opt,name=input_uri,json=inputUri,proto3" json:"input_uri,omitempty"` // Required. The Cloud Storage location of the directory where the output is // to be written to. Output directory will contain: // 1. output.jsonl // # Each line is a JSON format of PredictionResult. // // 2. category_masks (for MaskAnnotation) // # Directory of masks - referenced via annotation in output.jsonl. // // 3. confidence_masks (for MaskAnnotation) // # Directory of masks - referenced via annotation in output.jsonl. OutputGcsDir *GcsDestination `protobuf:"bytes,3,opt,name=output_gcs_dir,json=outputGcsDir,proto3" json:"output_gcs_dir,omitempty"` // contains filtered or unexported fields }
func (*BatchPredictRequest) Descriptor() ([]byte, []int)
Deprecated: Use BatchPredictRequest.ProtoReflect.Descriptor instead.
func (x *BatchPredictRequest) GetInputUri() string
func (x *BatchPredictRequest) GetOutputGcsDir() *GcsDestination
func (x *BatchPredictRequest) GetSolutionArtifact() string
func (*BatchPredictRequest) ProtoMessage()
func (x *BatchPredictRequest) ProtoReflect() protoreflect.Message
func (x *BatchPredictRequest) Reset()
func (x *BatchPredictRequest) String() string
type BatchPredictResponse struct {
// contains filtered or unexported fields
}
func (*BatchPredictResponse) Descriptor() ([]byte, []int)
Deprecated: Use BatchPredictResponse.ProtoReflect.Descriptor instead.
func (*BatchPredictResponse) ProtoMessage()
func (x *BatchPredictResponse) ProtoReflect() protoreflect.Message
func (x *BatchPredictResponse) Reset()
func (x *BatchPredictResponse) String() string
Detailed information for BoundingBox Annotation.
type BoundingBoxAnnotation struct { // A box representing a rectangle region on the image. // A box is supposed to have exactly four vertices in clockwise order. // Vertices are represented in normalized format. NormalizedBoundingBox *NormalizedBoundingPoly `protobuf:"bytes,1,opt,name=normalized_bounding_box,json=normalizedBoundingBox,proto3" json:"normalized_bounding_box,omitempty"` // Output only. A confidence score between 0.0 and 1.0. A higher value // means greater confidence about the annotation. ConfidenceScore float32 `protobuf:"fixed32,2,opt,name=confidence_score,json=confidenceScore,proto3" json:"confidence_score,omitempty"` // contains filtered or unexported fields }
func (*BoundingBoxAnnotation) Descriptor() ([]byte, []int)
Deprecated: Use BoundingBoxAnnotation.ProtoReflect.Descriptor instead.
func (x *BoundingBoxAnnotation) GetConfidenceScore() float32
func (x *BoundingBoxAnnotation) GetNormalizedBoundingBox() *NormalizedBoundingPoly
func (*BoundingBoxAnnotation) ProtoMessage()
func (x *BoundingBoxAnnotation) ProtoReflect() protoreflect.Message
func (x *BoundingBoxAnnotation) Reset()
func (x *BoundingBoxAnnotation) String() string
BoundingBox Annotation type.
type BoundingBoxAnnotationSet struct {
// contains filtered or unexported fields
}
func (*BoundingBoxAnnotationSet) Descriptor() ([]byte, []int)
Deprecated: Use BoundingBoxAnnotationSet.ProtoReflect.Descriptor instead.
func (*BoundingBoxAnnotationSet) ProtoMessage()
func (x *BoundingBoxAnnotationSet) ProtoReflect() protoreflect.Message
func (x *BoundingBoxAnnotationSet) Reset()
func (x *BoundingBoxAnnotationSet) String() string
Detailed information for BoundingPoly Annotation.
type BoundingPolyAnnotation struct { // A polygon region on the image. // A polygon is supposed to have N vertices in clockwise order. // Vertices are represented in normalized format. NormalizedBoundingPoly *NormalizedBoundingPoly `protobuf:"bytes,1,opt,name=normalized_bounding_poly,json=normalizedBoundingPoly,proto3" json:"normalized_bounding_poly,omitempty"` // Output only. A confidence score between 0.0 and 1.0. A higher value // means greater confidence that the annotation is positive. ConfidenceScore float32 `protobuf:"fixed32,2,opt,name=confidence_score,json=confidenceScore,proto3" json:"confidence_score,omitempty"` // contains filtered or unexported fields }
func (*BoundingPolyAnnotation) Descriptor() ([]byte, []int)
Deprecated: Use BoundingPolyAnnotation.ProtoReflect.Descriptor instead.
func (x *BoundingPolyAnnotation) GetConfidenceScore() float32
func (x *BoundingPolyAnnotation) GetNormalizedBoundingPoly() *NormalizedBoundingPoly
func (*BoundingPolyAnnotation) ProtoMessage()
func (x *BoundingPolyAnnotation) ProtoReflect() protoreflect.Message
func (x *BoundingPolyAnnotation) Reset()
func (x *BoundingPolyAnnotation) String() string
Request message for cancelling a labeling job.
type CancelLabelingJobRequest struct { // Required. The resource name of the labeling job to cancel. Format: // `projects/{project}/locations/{location}/labelingJobs/{labeling_job}`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*CancelLabelingJobRequest) Descriptor() ([]byte, []int)
Deprecated: Use CancelLabelingJobRequest.ProtoReflect.Descriptor instead.
func (x *CancelLabelingJobRequest) GetName() string
func (*CancelLabelingJobRequest) ProtoMessage()
func (x *CancelLabelingJobRequest) ProtoReflect() protoreflect.Message
func (x *CancelLabelingJobRequest) Reset()
func (x *CancelLabelingJobRequest) String() string
Detailed information for ClassificationLabel Annotation.
type ClassificationLabelAnnotation struct { // Output only. A confidence score between 0.0 and 1.0. A higher value // means greater confidence that the annotation is positive. ConfidenceScore float32 `protobuf:"fixed32,1,opt,name=confidence_score,json=confidenceScore,proto3" json:"confidence_score,omitempty"` // contains filtered or unexported fields }
func (*ClassificationLabelAnnotation) Descriptor() ([]byte, []int)
Deprecated: Use ClassificationLabelAnnotation.ProtoReflect.Descriptor instead.
func (x *ClassificationLabelAnnotation) GetConfidenceScore() float32
func (*ClassificationLabelAnnotation) ProtoMessage()
func (x *ClassificationLabelAnnotation) ProtoReflect() protoreflect.Message
func (x *ClassificationLabelAnnotation) Reset()
func (x *ClassificationLabelAnnotation) String() string
ClassificationLabel Annotation type.
type ClassificationLabelAnnotationSet struct { // Whether or not the classification annotation is a multi-label // classification. MultiLabel bool `protobuf:"varint,1,opt,name=multi_label,json=multiLabel,proto3" json:"multi_label,omitempty"` // contains filtered or unexported fields }
func (*ClassificationLabelAnnotationSet) Descriptor() ([]byte, []int)
Deprecated: Use ClassificationLabelAnnotationSet.ProtoReflect.Descriptor instead.
func (x *ClassificationLabelAnnotationSet) GetMultiLabel() bool
func (*ClassificationLabelAnnotationSet) ProtoMessage()
func (x *ClassificationLabelAnnotationSet) ProtoReflect() protoreflect.Message
func (x *ClassificationLabelAnnotationSet) Reset()
func (x *ClassificationLabelAnnotationSet) String() string
Detailed input and output information of an image classification module.
type ClassificationModule struct { // Regions to search on for the query image, anything outside of these regions // will not be considered from the module. The query images can be defined in // the template image or predicted per image from other modules. If // query_regions are not specified, the full image will be used as a single // query region. QueryRegions []*AnnotationInput `protobuf:"bytes,1,rep,name=query_regions,json=queryRegions,proto3" json:"query_regions,omitempty"` // Regions within the template image to transfer to the query image. InspectionRegions []*AnnotationInput `protobuf:"bytes,2,rep,name=inspection_regions,json=inspectionRegions,proto3" json:"inspection_regions,omitempty"` // Required. Classification labels to train the module. ClassificationLabels []*AnnotationInput `protobuf:"bytes,3,rep,name=classification_labels,json=classificationLabels,proto3" json:"classification_labels,omitempty"` // Classification predictions in inspection regions by the module. InspectionRegionPredictions []*AnnotationOutput `protobuf:"bytes,4,rep,name=inspection_region_predictions,json=inspectionRegionPredictions,proto3" json:"inspection_region_predictions,omitempty"` // Required. Classification predictions by the module. ClassificationPredictions []*AnnotationOutput `protobuf:"bytes,5,rep,name=classification_predictions,json=classificationPredictions,proto3" json:"classification_predictions,omitempty"` // contains filtered or unexported fields }
func (*ClassificationModule) Descriptor() ([]byte, []int)
Deprecated: Use ClassificationModule.ProtoReflect.Descriptor instead.
func (x *ClassificationModule) GetClassificationLabels() []*AnnotationInput
func (x *ClassificationModule) GetClassificationPredictions() []*AnnotationOutput
func (x *ClassificationModule) GetInspectionRegionPredictions() []*AnnotationOutput
func (x *ClassificationModule) GetInspectionRegions() []*AnnotationInput
func (x *ClassificationModule) GetQueryRegions() []*AnnotationInput
func (*ClassificationModule) ProtoMessage()
func (x *ClassificationModule) ProtoReflect() protoreflect.Message
func (x *ClassificationModule) Reset()
func (x *ClassificationModule) String() string
Common operation metadata across Visual Inspection AI operations.
type CommonOperationMetadata struct { // Output only. Operation creation timestamp. CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. Operation last updated timestamp. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Output only. Resource name that this operation is directly associated with. // For Create calls, this would be the parent resource. // For others (Update, Delete, etc.) this would be the resource on which the // method has been invoked. Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` // contains filtered or unexported fields }
func (*CommonOperationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use CommonOperationMetadata.ProtoReflect.Descriptor instead.
func (x *CommonOperationMetadata) GetCreateTime() *timestamppb.Timestamp
func (x *CommonOperationMetadata) GetTarget() string
func (x *CommonOperationMetadata) GetUpdateTime() *timestamppb.Timestamp
func (*CommonOperationMetadata) ProtoMessage()
func (x *CommonOperationMetadata) ProtoReflect() protoreflect.Message
func (x *CommonOperationMetadata) Reset()
func (x *CommonOperationMetadata) String() string
Confusion matrix across different class labels (if present).
type ConfusionMatrix struct { // Output only. Counts of items across slices. // For example, rows[i][j].count indicate the count for class_labels[i] as // present in ground truth versus class_labels[j] as predicted by the model. // The number of rows is the same as individual number of "counts" in a Row as // well as the number of class_labels. So if the number of class_labels is n, // then rows count is n as well as each rows.count has also count n. Rows []*ConfusionMatrix_Row `protobuf:"bytes,1,rep,name=rows,proto3" json:"rows,omitempty"` // Output only. Class labels as the rows/columns of the confusion matrix. ClassLabels []string `protobuf:"bytes,2,rep,name=class_labels,json=classLabels,proto3" json:"class_labels,omitempty"` // Output only. Class AnnotationSpecs as the rows/columns of the confusion // matrix. AnnotationSpecs []string `protobuf:"bytes,3,rep,name=annotation_specs,json=annotationSpecs,proto3" json:"annotation_specs,omitempty"` // contains filtered or unexported fields }
func (*ConfusionMatrix) Descriptor() ([]byte, []int)
Deprecated: Use ConfusionMatrix.ProtoReflect.Descriptor instead.
func (x *ConfusionMatrix) GetAnnotationSpecs() []string
func (x *ConfusionMatrix) GetClassLabels() []string
func (x *ConfusionMatrix) GetRows() []*ConfusionMatrix_Row
func (*ConfusionMatrix) ProtoMessage()
func (x *ConfusionMatrix) ProtoReflect() protoreflect.Message
func (x *ConfusionMatrix) Reset()
func (x *ConfusionMatrix) String() string
Individual row for the confusion matrix.
type ConfusionMatrix_Row struct { // Output only. Count of items in a "slice" classified at a particular // class_label in the ground truth versus that classified by the solution. Count []int64 `protobuf:"varint,1,rep,packed,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
func (*ConfusionMatrix_Row) Descriptor() ([]byte, []int)
Deprecated: Use ConfusionMatrix_Row.ProtoReflect.Descriptor instead.
func (x *ConfusionMatrix_Row) GetCount() []int64
func (*ConfusionMatrix_Row) ProtoMessage()
func (x *ConfusionMatrix_Row) ProtoReflect() protoreflect.Message
func (x *ConfusionMatrix_Row) Reset()
func (x *ConfusionMatrix_Row) String() string
Request for creating a AnnotationSet.
type CreateAnnotationSetRequest struct { // Required. Parent identifier. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. AnnotationSet to create. AnnotationSet *AnnotationSet `protobuf:"bytes,2,opt,name=annotation_set,json=annotationSet,proto3" json:"annotation_set,omitempty"` // contains filtered or unexported fields }
func (*CreateAnnotationSetRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAnnotationSetRequest.ProtoReflect.Descriptor instead.
func (x *CreateAnnotationSetRequest) GetAnnotationSet() *AnnotationSet
func (x *CreateAnnotationSetRequest) GetParent() string
func (*CreateAnnotationSetRequest) ProtoMessage()
func (x *CreateAnnotationSetRequest) ProtoReflect() protoreflect.Message
func (x *CreateAnnotationSetRequest) Reset()
func (x *CreateAnnotationSetRequest) String() string
Request for creating a AnnotationSpec.
type CreateAnnotationSpecRequest struct { // Required. Parent identifier. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. AnnotationSpec to create. AnnotationSpec *AnnotationSpec `protobuf:"bytes,2,opt,name=annotation_spec,json=annotationSpec,proto3" json:"annotation_spec,omitempty"` // contains filtered or unexported fields }
func (*CreateAnnotationSpecRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAnnotationSpecRequest.ProtoReflect.Descriptor instead.
func (x *CreateAnnotationSpecRequest) GetAnnotationSpec() *AnnotationSpec
func (x *CreateAnnotationSpecRequest) GetParent() string
func (*CreateAnnotationSpecRequest) ProtoMessage()
func (x *CreateAnnotationSpecRequest) ProtoReflect() protoreflect.Message
func (x *CreateAnnotationSpecRequest) Reset()
func (x *CreateAnnotationSpecRequest) String() string
CreateDataset operation metadata.
type CreateDatasetOperationMetadata struct { // Output only. Common operation metadata. CommonOperationMetadata *CommonOperationMetadata `protobuf:"bytes,1,opt,name=common_operation_metadata,json=commonOperationMetadata,proto3" json:"common_operation_metadata,omitempty"` // contains filtered or unexported fields }
func (*CreateDatasetOperationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use CreateDatasetOperationMetadata.ProtoReflect.Descriptor instead.
func (x *CreateDatasetOperationMetadata) GetCommonOperationMetadata() *CommonOperationMetadata
func (*CreateDatasetOperationMetadata) ProtoMessage()
func (x *CreateDatasetOperationMetadata) ProtoReflect() protoreflect.Message
func (x *CreateDatasetOperationMetadata) Reset()
func (x *CreateDatasetOperationMetadata) String() string
Request for creating a labeling job.
type CreateLabelingJobRequest struct { // Required. The parent of the LabelingJob. // Format: `projects/{project}/locations/{location}` Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The LabelingJob to create. LabelingJob *LabelingJob `protobuf:"bytes,2,opt,name=labeling_job,json=labelingJob,proto3" json:"labeling_job,omitempty"` // contains filtered or unexported fields }
func (*CreateLabelingJobRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateLabelingJobRequest.ProtoReflect.Descriptor instead.
func (x *CreateLabelingJobRequest) GetLabelingJob() *LabelingJob
func (x *CreateLabelingJobRequest) GetParent() string
func (*CreateLabelingJobRequest) ProtoMessage()
func (x *CreateLabelingJobRequest) ProtoReflect() protoreflect.Message
func (x *CreateLabelingJobRequest) Reset()
func (x *CreateLabelingJobRequest) String() string
Operation metadata for CreateModel.
type CreateModelOperationMetadata struct { // Output only. Common operation metadata. CommonOperationMetadata *CommonOperationMetadata `protobuf:"bytes,1,opt,name=common_operation_metadata,json=commonOperationMetadata,proto3" json:"common_operation_metadata,omitempty"` // contains filtered or unexported fields }
func (*CreateModelOperationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use CreateModelOperationMetadata.ProtoReflect.Descriptor instead.
func (x *CreateModelOperationMetadata) GetCommonOperationMetadata() *CommonOperationMetadata
func (*CreateModelOperationMetadata) ProtoMessage()
func (x *CreateModelOperationMetadata) ProtoReflect() protoreflect.Message
func (x *CreateModelOperationMetadata) Reset()
func (x *CreateModelOperationMetadata) String() string
Request for creating a Model. This invokes the training process for the parent Module.
type CreateModelRequest struct { // Required. Parent identifier. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Optional. Model to create. Model *Model `protobuf:"bytes,2,opt,name=model,proto3" json:"model,omitempty"` // contains filtered or unexported fields }
func (*CreateModelRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateModelRequest.ProtoReflect.Descriptor instead.
func (x *CreateModelRequest) GetModel() *Model
func (x *CreateModelRequest) GetParent() string
func (*CreateModelRequest) ProtoMessage()
func (x *CreateModelRequest) ProtoReflect() protoreflect.Message
func (x *CreateModelRequest) Reset()
func (x *CreateModelRequest) String() string
Request for creating a Module.
type CreateModuleRequest struct { // Required. Parent identifier. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. Module to create. Module *Module `protobuf:"bytes,2,opt,name=module,proto3" json:"module,omitempty"` // contains filtered or unexported fields }
func (*CreateModuleRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateModuleRequest.ProtoReflect.Descriptor instead.
func (x *CreateModuleRequest) GetModule() *Module
func (x *CreateModuleRequest) GetParent() string
func (*CreateModuleRequest) ProtoMessage()
func (x *CreateModuleRequest) ProtoReflect() protoreflect.Message
func (x *CreateModuleRequest) Reset()
func (x *CreateModuleRequest) String() string
CreateSolutionArtifact operation metadata.
type CreateSolutionArtifactOperationMetadata struct { // Output only. Common operation metadata. CommonOperationMetadata *CommonOperationMetadata `protobuf:"bytes,1,opt,name=common_operation_metadata,json=commonOperationMetadata,proto3" json:"common_operation_metadata,omitempty"` // contains filtered or unexported fields }
func (*CreateSolutionArtifactOperationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use CreateSolutionArtifactOperationMetadata.ProtoReflect.Descriptor instead.
func (x *CreateSolutionArtifactOperationMetadata) GetCommonOperationMetadata() *CommonOperationMetadata
func (*CreateSolutionArtifactOperationMetadata) ProtoMessage()
func (x *CreateSolutionArtifactOperationMetadata) ProtoReflect() protoreflect.Message
func (x *CreateSolutionArtifactOperationMetadata) Reset()
func (x *CreateSolutionArtifactOperationMetadata) String() string
Request for creating a SolutionArtifact.
type CreateSolutionArtifactRequest struct { // Required. Parent identifier. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. SolutionArtifact to create. SolutionArtifact *SolutionArtifact `protobuf:"bytes,2,opt,name=solution_artifact,json=solutionArtifact,proto3" json:"solution_artifact,omitempty"` // contains filtered or unexported fields }
func (*CreateSolutionArtifactRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateSolutionArtifactRequest.ProtoReflect.Descriptor instead.
func (x *CreateSolutionArtifactRequest) GetParent() string
func (x *CreateSolutionArtifactRequest) GetSolutionArtifact() *SolutionArtifact
func (*CreateSolutionArtifactRequest) ProtoMessage()
func (x *CreateSolutionArtifactRequest) ProtoReflect() protoreflect.Message
func (x *CreateSolutionArtifactRequest) Reset()
func (x *CreateSolutionArtifactRequest) String() string
Request for creating a solution.
type CreateSolutionRequest struct { // Required. Parent identifier. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. Solution to create. Solution *Solution `protobuf:"bytes,2,opt,name=solution,proto3" json:"solution,omitempty"` // contains filtered or unexported fields }
func (*CreateSolutionRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateSolutionRequest.ProtoReflect.Descriptor instead.
func (x *CreateSolutionRequest) GetParent() string
func (x *CreateSolutionRequest) GetSolution() *Solution
func (*CreateSolutionRequest) ProtoMessage()
func (x *CreateSolutionRequest) ProtoReflect() protoreflect.Message
func (x *CreateSolutionRequest) Reset()
func (x *CreateSolutionRequest) String() string
Operation metadata for CreateSpecialistPool.
type CreateSpecialistPoolOperationMetadata struct { // Output only. Common operation metadata. CommonOperationMetadata *CommonOperationMetadata `protobuf:"bytes,1,opt,name=common_operation_metadata,json=commonOperationMetadata,proto3" json:"common_operation_metadata,omitempty"` // contains filtered or unexported fields }
func (*CreateSpecialistPoolOperationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use CreateSpecialistPoolOperationMetadata.ProtoReflect.Descriptor instead.
func (x *CreateSpecialistPoolOperationMetadata) GetCommonOperationMetadata() *CommonOperationMetadata
func (*CreateSpecialistPoolOperationMetadata) ProtoMessage()
func (x *CreateSpecialistPoolOperationMetadata) ProtoReflect() protoreflect.Message
func (x *CreateSpecialistPoolOperationMetadata) Reset()
func (x *CreateSpecialistPoolOperationMetadata) String() string
Request for creating a SpecialistPool.
type CreateSpecialistPoolRequest struct { // Required. The parent Project name for the new SpecialistPool. // The form is `projects/{project}/locations/{location}`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The SpecialistPool to create. SpecialistPool *SpecialistPool `protobuf:"bytes,2,opt,name=specialist_pool,json=specialistPool,proto3" json:"specialist_pool,omitempty"` // contains filtered or unexported fields }
func (*CreateSpecialistPoolRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateSpecialistPoolRequest.ProtoReflect.Descriptor instead.
func (x *CreateSpecialistPoolRequest) GetParent() string
func (x *CreateSpecialistPoolRequest) GetSpecialistPool() *SpecialistPool
func (*CreateSpecialistPoolRequest) ProtoMessage()
func (x *CreateSpecialistPoolRequest) ProtoReflect() protoreflect.Message
func (x *CreateSpecialistPoolRequest) Reset()
func (x *CreateSpecialistPoolRequest) String() string
A Dataset is a collection of Images and Annotations, which could be used to solve a specifc visual inspection problem.
type Dataset struct { // Output only. Resource name for the Dataset generated by the system. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Required. A user friendly display name for the Dataset. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Output only. Timestamp when this Dataset was created. CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. Timestamp when this Dataset was last updated. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Used to perform consistent read-modify-write updates. If not set, a blind // "overwrite" update happens. Etag string `protobuf:"bytes,5,opt,name=etag,proto3" json:"etag,omitempty"` // The labels with user-defined metadata to organize your dataset. // // Label keys and values can be no longer than 64 characters // (Unicode codepoints), can only contain lowercase letters, numeric // characters, underscores and dashes. International characters are allowed. // Label keys must start with a letter. // // See https://goo.gl/xmQnxf for more information on and examples of labels. Labels map[string]string `protobuf:"bytes,6,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Output only. The number of Images in the Dataset. ImageCount int64 `protobuf:"varint,7,opt,name=image_count,json=imageCount,proto3" json:"image_count,omitempty"` // contains filtered or unexported fields }
func (*Dataset) Descriptor() ([]byte, []int)
Deprecated: Use Dataset.ProtoReflect.Descriptor instead.
func (x *Dataset) GetCreateTime() *timestamppb.Timestamp
func (x *Dataset) GetDisplayName() string
func (x *Dataset) GetEtag() string
func (x *Dataset) GetImageCount() int64
func (x *Dataset) GetLabels() map[string]string
func (x *Dataset) GetName() string
func (x *Dataset) GetUpdateTime() *timestamppb.Timestamp
func (*Dataset) ProtoMessage()
func (x *Dataset) ProtoReflect() protoreflect.Message
func (x *Dataset) Reset()
func (x *Dataset) String() string
Describes the source Dataset from where we import data.
type DatasetSource struct { // Required. Dataset resource name. It needs to be in the same project and // location. Dataset string `protobuf:"bytes,1,opt,name=dataset,proto3" json:"dataset,omitempty"` // Filter on Images to import. ImageFilter string `protobuf:"bytes,2,opt,name=image_filter,json=imageFilter,proto3" json:"image_filter,omitempty"` // Filter on Annotations to import. Only Annotations on already filtered in // Images are considered. AnnotationFilter string `protobuf:"bytes,3,opt,name=annotation_filter,json=annotationFilter,proto3" json:"annotation_filter,omitempty"` // contains filtered or unexported fields }
func (*DatasetSource) Descriptor() ([]byte, []int)
Deprecated: Use DatasetSource.ProtoReflect.Descriptor instead.
func (x *DatasetSource) GetAnnotationFilter() string
func (x *DatasetSource) GetDataset() string
func (x *DatasetSource) GetImageFilter() string
func (*DatasetSource) ProtoMessage()
func (x *DatasetSource) ProtoReflect() protoreflect.Message
func (x *DatasetSource) Reset()
func (x *DatasetSource) String() string
Operation metadata for DeleteAnnotation.
type DeleteAnnotationOperationMetadata struct { // Output only. Common operation metadata. CommonOperationMetadata *CommonOperationMetadata `protobuf:"bytes,1,opt,name=common_operation_metadata,json=commonOperationMetadata,proto3" json:"common_operation_metadata,omitempty"` // contains filtered or unexported fields }
func (*DeleteAnnotationOperationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAnnotationOperationMetadata.ProtoReflect.Descriptor instead.
func (x *DeleteAnnotationOperationMetadata) GetCommonOperationMetadata() *CommonOperationMetadata
func (*DeleteAnnotationOperationMetadata) ProtoMessage()
func (x *DeleteAnnotationOperationMetadata) ProtoReflect() protoreflect.Message
func (x *DeleteAnnotationOperationMetadata) Reset()
func (x *DeleteAnnotationOperationMetadata) String() string
Operation metadata for DeleteAnnotationSet.
type DeleteAnnotationSetOperationMetadata struct { // Output only. Common operation metadata. CommonOperationMetadata *CommonOperationMetadata `protobuf:"bytes,1,opt,name=common_operation_metadata,json=commonOperationMetadata,proto3" json:"common_operation_metadata,omitempty"` // contains filtered or unexported fields }
func (*DeleteAnnotationSetOperationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAnnotationSetOperationMetadata.ProtoReflect.Descriptor instead.
func (x *DeleteAnnotationSetOperationMetadata) GetCommonOperationMetadata() *CommonOperationMetadata
func (*DeleteAnnotationSetOperationMetadata) ProtoMessage()
func (x *DeleteAnnotationSetOperationMetadata) ProtoReflect() protoreflect.Message
func (x *DeleteAnnotationSetOperationMetadata) Reset()
func (x *DeleteAnnotationSetOperationMetadata) String() string
Operation Metadata for DeleteAnnotationSpec.
type DeleteAnnotationSpecOperationMetadata struct { // Output only. Common operation metadata. CommonOperationMetadata *CommonOperationMetadata `protobuf:"bytes,1,opt,name=common_operation_metadata,json=commonOperationMetadata,proto3" json:"common_operation_metadata,omitempty"` // contains filtered or unexported fields }
func (*DeleteAnnotationSpecOperationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAnnotationSpecOperationMetadata.ProtoReflect.Descriptor instead.
func (x *DeleteAnnotationSpecOperationMetadata) GetCommonOperationMetadata() *CommonOperationMetadata
func (*DeleteAnnotationSpecOperationMetadata) ProtoMessage()
func (x *DeleteAnnotationSpecOperationMetadata) ProtoReflect() protoreflect.Message
func (x *DeleteAnnotationSpecOperationMetadata) Reset()
func (x *DeleteAnnotationSpecOperationMetadata) String() string
DeleteDataset operation metadata.
type DeleteDatasetOperationMetadata struct { // Output only. Common operation metadata. CommonOperationMetadata *CommonOperationMetadata `protobuf:"bytes,1,opt,name=common_operation_metadata,json=commonOperationMetadata,proto3" json:"common_operation_metadata,omitempty"` // contains filtered or unexported fields }
func (*DeleteDatasetOperationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDatasetOperationMetadata.ProtoReflect.Descriptor instead.
func (x *DeleteDatasetOperationMetadata) GetCommonOperationMetadata() *CommonOperationMetadata
func (*DeleteDatasetOperationMetadata) ProtoMessage()
func (x *DeleteDatasetOperationMetadata) ProtoReflect() protoreflect.Message
func (x *DeleteDatasetOperationMetadata) Reset()
func (x *DeleteDatasetOperationMetadata) String() string
Request for deleting a Dataset.
type DeleteDatasetRequest struct { // Required. Dataset identifier. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DeleteDatasetRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDatasetRequest.ProtoReflect.Descriptor instead.
func (x *DeleteDatasetRequest) GetName() string
func (*DeleteDatasetRequest) ProtoMessage()
func (x *DeleteDatasetRequest) ProtoReflect() protoreflect.Message
func (x *DeleteDatasetRequest) Reset()
func (x *DeleteDatasetRequest) String() string
Operation metadata for deleting a labeling job.
type DeleteLabelingJobOperationMetadata struct { // Output only. Common operation metadata. CommonOperationMetadata *CommonOperationMetadata `protobuf:"bytes,1,opt,name=common_operation_metadata,json=commonOperationMetadata,proto3" json:"common_operation_metadata,omitempty"` // contains filtered or unexported fields }
func (*DeleteLabelingJobOperationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use DeleteLabelingJobOperationMetadata.ProtoReflect.Descriptor instead.
func (x *DeleteLabelingJobOperationMetadata) GetCommonOperationMetadata() *CommonOperationMetadata
func (*DeleteLabelingJobOperationMetadata) ProtoMessage()
func (x *DeleteLabelingJobOperationMetadata) ProtoReflect() protoreflect.Message
func (x *DeleteLabelingJobOperationMetadata) Reset()
func (x *DeleteLabelingJobOperationMetadata) String() string
Request for deleting a labeling job.
type DeleteLabelingJobRequest struct { // Required. The resource name of the labeling job to delete. Format: // `projects/{project}/locations/{location}/labelingJobs/{labeling_job}`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DeleteLabelingJobRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteLabelingJobRequest.ProtoReflect.Descriptor instead.
func (x *DeleteLabelingJobRequest) GetName() string
func (*DeleteLabelingJobRequest) ProtoMessage()
func (x *DeleteLabelingJobRequest) ProtoReflect() protoreflect.Message
func (x *DeleteLabelingJobRequest) Reset()
func (x *DeleteLabelingJobRequest) String() string
Operation metadata for DeleteModel.
type DeleteModelOperationMetadata struct { // Output only. Common operation metadata. CommonOperationMetadata *CommonOperationMetadata `protobuf:"bytes,1,opt,name=common_operation_metadata,json=commonOperationMetadata,proto3" json:"common_operation_metadata,omitempty"` // contains filtered or unexported fields }
func (*DeleteModelOperationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use DeleteModelOperationMetadata.ProtoReflect.Descriptor instead.
func (x *DeleteModelOperationMetadata) GetCommonOperationMetadata() *CommonOperationMetadata
func (*DeleteModelOperationMetadata) ProtoMessage()
func (x *DeleteModelOperationMetadata) ProtoReflect() protoreflect.Message
func (x *DeleteModelOperationMetadata) Reset()
func (x *DeleteModelOperationMetadata) String() string
Request for deleting a Model.
type DeleteModelRequest struct { // Required. Model identifier. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DeleteModelRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteModelRequest.ProtoReflect.Descriptor instead.
func (x *DeleteModelRequest) GetName() string
func (*DeleteModelRequest) ProtoMessage()
func (x *DeleteModelRequest) ProtoReflect() protoreflect.Message
func (x *DeleteModelRequest) Reset()
func (x *DeleteModelRequest) String() string
Operation metadata for DeleteModule.
type DeleteModuleOperationMetadata struct { // Output only. Common operation metadata. CommonOperationMetadata *CommonOperationMetadata `protobuf:"bytes,1,opt,name=common_operation_metadata,json=commonOperationMetadata,proto3" json:"common_operation_metadata,omitempty"` // contains filtered or unexported fields }
func (*DeleteModuleOperationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use DeleteModuleOperationMetadata.ProtoReflect.Descriptor instead.
func (x *DeleteModuleOperationMetadata) GetCommonOperationMetadata() *CommonOperationMetadata
func (*DeleteModuleOperationMetadata) ProtoMessage()
func (x *DeleteModuleOperationMetadata) ProtoReflect() protoreflect.Message
func (x *DeleteModuleOperationMetadata) Reset()
func (x *DeleteModuleOperationMetadata) String() string
Request for deleting a Module.
type DeleteModuleRequest struct { // Required. Module identifier. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DeleteModuleRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteModuleRequest.ProtoReflect.Descriptor instead.
func (x *DeleteModuleRequest) GetName() string
func (*DeleteModuleRequest) ProtoMessage()
func (x *DeleteModuleRequest) ProtoReflect() protoreflect.Message
func (x *DeleteModuleRequest) Reset()
func (x *DeleteModuleRequest) String() string
Operation metadata for DeleteSolutionArtifact.
type DeleteSolutionArtifactOperationMetadata struct { // Output only. Common operation metadata. CommonOperationMetadata *CommonOperationMetadata `protobuf:"bytes,1,opt,name=common_operation_metadata,json=commonOperationMetadata,proto3" json:"common_operation_metadata,omitempty"` // contains filtered or unexported fields }
func (*DeleteSolutionArtifactOperationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSolutionArtifactOperationMetadata.ProtoReflect.Descriptor instead.
func (x *DeleteSolutionArtifactOperationMetadata) GetCommonOperationMetadata() *CommonOperationMetadata
func (*DeleteSolutionArtifactOperationMetadata) ProtoMessage()
func (x *DeleteSolutionArtifactOperationMetadata) ProtoReflect() protoreflect.Message
func (x *DeleteSolutionArtifactOperationMetadata) Reset()
func (x *DeleteSolutionArtifactOperationMetadata) String() string
Request for deleting a SolutionArtifact.
type DeleteSolutionArtifactRequest struct { // Required. SolutionArtifact identifier. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DeleteSolutionArtifactRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSolutionArtifactRequest.ProtoReflect.Descriptor instead.
func (x *DeleteSolutionArtifactRequest) GetName() string
func (*DeleteSolutionArtifactRequest) ProtoMessage()
func (x *DeleteSolutionArtifactRequest) ProtoReflect() protoreflect.Message
func (x *DeleteSolutionArtifactRequest) Reset()
func (x *DeleteSolutionArtifactRequest) String() string
Operation metadata for DeleteSpecialistPool.
type DeleteSpecialistPoolOperationMetadata struct { // Output only. Common operation metadata. CommonOperationMetadata *CommonOperationMetadata `protobuf:"bytes,1,opt,name=common_operation_metadata,json=commonOperationMetadata,proto3" json:"common_operation_metadata,omitempty"` // contains filtered or unexported fields }
func (*DeleteSpecialistPoolOperationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSpecialistPoolOperationMetadata.ProtoReflect.Descriptor instead.
func (x *DeleteSpecialistPoolOperationMetadata) GetCommonOperationMetadata() *CommonOperationMetadata
func (*DeleteSpecialistPoolOperationMetadata) ProtoMessage()
func (x *DeleteSpecialistPoolOperationMetadata) ProtoReflect() protoreflect.Message
func (x *DeleteSpecialistPoolOperationMetadata) Reset()
func (x *DeleteSpecialistPoolOperationMetadata) String() string
Request for deleting a specialist pool.
type DeleteSpecialistPoolRequest struct { // Required. The resource name of the SpecialistPool to delete. Format: // // `projects/{project}/locations/{location}/specialistPools/{specialist_pool}`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DeleteSpecialistPoolRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSpecialistPoolRequest.ProtoReflect.Descriptor instead.
func (x *DeleteSpecialistPoolRequest) GetName() string
func (*DeleteSpecialistPoolRequest) ProtoMessage()
func (x *DeleteSpecialistPoolRequest) ProtoReflect() protoreflect.Message
func (x *DeleteSpecialistPoolRequest) Reset()
func (x *DeleteSpecialistPoolRequest) String() string
Deploy solution metadata to distinguish that the operation is an export solution operation.
type DeploySolutionOperationMetadata struct { // Output only. Common operation metadata. CommonOperationMetadata *CommonOperationMetadata `protobuf:"bytes,1,opt,name=common_operation_metadata,json=commonOperationMetadata,proto3" json:"common_operation_metadata,omitempty"` // contains filtered or unexported fields }
func (*DeploySolutionOperationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use DeploySolutionOperationMetadata.ProtoReflect.Descriptor instead.
func (x *DeploySolutionOperationMetadata) GetCommonOperationMetadata() *CommonOperationMetadata
func (*DeploySolutionOperationMetadata) ProtoMessage()
func (x *DeploySolutionOperationMetadata) ProtoReflect() protoreflect.Message
func (x *DeploySolutionOperationMetadata) Reset()
func (x *DeploySolutionOperationMetadata) String() string
Describes the location to where we export data from a Dataset.
type ExportDataConfig struct { // The Google Cloud Storage location where the output is to be written to. // In the given directory a new directory will be created with name: // export-data-<dataset-display-name>-<timestamp-of-export-call> where // timestamp is in YYYYMMDDHHMMSS format. All export // output will be written into that directory. Inside that directory, // annotations with the same schema will be grouped into sub directories // which are named with the corresponding annotations' schema title. Inside // these sub directories, a schema.yaml will be created to describe the // output format. GcsDestination *GcsDestination `protobuf:"bytes,1,opt,name=gcs_destination,json=gcsDestination,proto3" json:"gcs_destination,omitempty"` // contains filtered or unexported fields }
func (*ExportDataConfig) Descriptor() ([]byte, []int)
Deprecated: Use ExportDataConfig.ProtoReflect.Descriptor instead.
func (x *ExportDataConfig) GetGcsDestination() *GcsDestination
func (*ExportDataConfig) ProtoMessage()
func (x *ExportDataConfig) ProtoReflect() protoreflect.Message
func (x *ExportDataConfig) Reset()
func (x *ExportDataConfig) String() string
ExportData operation metadata.
type ExportDataOperationMetadata struct { // Output only. Common operation metadata. CommonOperationMetadata *CommonOperationMetadata `protobuf:"bytes,1,opt,name=common_operation_metadata,json=commonOperationMetadata,proto3" json:"common_operation_metadata,omitempty"` // contains filtered or unexported fields }
func (*ExportDataOperationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use ExportDataOperationMetadata.ProtoReflect.Descriptor instead.
func (x *ExportDataOperationMetadata) GetCommonOperationMetadata() *CommonOperationMetadata
func (*ExportDataOperationMetadata) ProtoMessage()
func (x *ExportDataOperationMetadata) ProtoReflect() protoreflect.Message
func (x *ExportDataOperationMetadata) Reset()
func (x *ExportDataOperationMetadata) String() string
Request for exporting a Dataset.
type ExportDataRequest struct { // Required. Dataset identifier. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Required. The desired output location. ExportConfig *ExportDataConfig `protobuf:"bytes,2,opt,name=export_config,json=exportConfig,proto3" json:"export_config,omitempty"` // contains filtered or unexported fields }
func (*ExportDataRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExportDataRequest.ProtoReflect.Descriptor instead.
func (x *ExportDataRequest) GetExportConfig() *ExportDataConfig
func (x *ExportDataRequest) GetName() string
func (*ExportDataRequest) ProtoMessage()
func (x *ExportDataRequest) ProtoReflect() protoreflect.Message
func (x *ExportDataRequest) Reset()
func (x *ExportDataRequest) String() string
type ExportDataResponse struct {
// contains filtered or unexported fields
}
func (*ExportDataResponse) Descriptor() ([]byte, []int)
Deprecated: Use ExportDataResponse.ProtoReflect.Descriptor instead.
func (*ExportDataResponse) ProtoMessage()
func (x *ExportDataResponse) ProtoReflect() protoreflect.Message
func (x *ExportDataResponse) Reset()
func (x *ExportDataResponse) String() string
Export solution metadata to distinguish that the operation is an export solution operation.
type ExportSolutionOperationMetadata struct { // Output only. Common operation metadata. CommonOperationMetadata *CommonOperationMetadata `protobuf:"bytes,1,opt,name=common_operation_metadata,json=commonOperationMetadata,proto3" json:"common_operation_metadata,omitempty"` // contains filtered or unexported fields }
func (*ExportSolutionOperationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use ExportSolutionOperationMetadata.ProtoReflect.Descriptor instead.
func (x *ExportSolutionOperationMetadata) GetCommonOperationMetadata() *CommonOperationMetadata
func (*ExportSolutionOperationMetadata) ProtoMessage()
func (x *ExportSolutionOperationMetadata) ProtoReflect() protoreflect.Message
func (x *ExportSolutionOperationMetadata) Reset()
func (x *ExportSolutionOperationMetadata) String() string
The GCR location where the container will be pushed.
type GcrDestination struct { // Required. Google Container Registry URI of the new image, up to // 2000 characters long. See // // https: // //cloud.google.com/container-registry/do // // cs/pushing-and-pulling#pushing_an_image_to_a_registry // Accepted forms: // * [HOSTNAME]/[PROJECT-ID]/[IMAGE] // * [HOSTNAME]/[PROJECT-ID]/[IMAGE]:[TAG] // // The requesting user must have permission to push images the project. OutputUri string `protobuf:"bytes,1,opt,name=output_uri,json=outputUri,proto3" json:"output_uri,omitempty"` // contains filtered or unexported fields }
func (*GcrDestination) Descriptor() ([]byte, []int)
Deprecated: Use GcrDestination.ProtoReflect.Descriptor instead.
func (x *GcrDestination) GetOutputUri() string
func (*GcrDestination) ProtoMessage()
func (x *GcrDestination) ProtoReflect() protoreflect.Message
func (x *GcrDestination) Reset()
func (x *GcrDestination) String() string
The Google Cloud Storage location where the output is to be written to.
type GcsDestination struct { // Required. Google Cloud Storage URI to output directory. If the uri doesn't // end with // '/', a '/' will be automatically appended. The directory is created if it // doesn't exist. OutputUriPrefix string `protobuf:"bytes,1,opt,name=output_uri_prefix,json=outputUriPrefix,proto3" json:"output_uri_prefix,omitempty"` // contains filtered or unexported fields }
func (*GcsDestination) Descriptor() ([]byte, []int)
Deprecated: Use GcsDestination.ProtoReflect.Descriptor instead.
func (x *GcsDestination) GetOutputUriPrefix() string
func (*GcsDestination) ProtoMessage()
func (x *GcsDestination) ProtoReflect() protoreflect.Message
func (x *GcsDestination) Reset()
func (x *GcsDestination) String() string
The Google Cloud Storage location for the input content.
type GcsSource struct { // Required. Reference to a Google Cloud Storage path. Uris []string `protobuf:"bytes,1,rep,name=uris,proto3" json:"uris,omitempty"` // contains filtered or unexported fields }
func (*GcsSource) Descriptor() ([]byte, []int)
Deprecated: Use GcsSource.ProtoReflect.Descriptor instead.
func (x *GcsSource) GetUris() []string
func (*GcsSource) ProtoMessage()
func (x *GcsSource) ProtoReflect() protoreflect.Message
func (x *GcsSource) Reset()
func (x *GcsSource) String() string
Request for getting a Dataset.
type GetDatasetRequest struct { // Required. Dataset identifier. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetDatasetRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDatasetRequest.ProtoReflect.Descriptor instead.
func (x *GetDatasetRequest) GetName() string
func (*GetDatasetRequest) ProtoMessage()
func (x *GetDatasetRequest) ProtoReflect() protoreflect.Message
func (x *GetDatasetRequest) Reset()
func (x *GetDatasetRequest) String() string
Request for getting an Image.
type GetImageRequest struct { // Required. Image identifier. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetImageRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetImageRequest.ProtoReflect.Descriptor instead.
func (x *GetImageRequest) GetName() string
func (*GetImageRequest) ProtoMessage()
func (x *GetImageRequest) ProtoReflect() protoreflect.Message
func (x *GetImageRequest) Reset()
func (x *GetImageRequest) String() string
Request for getting a labeling job.
type GetLabelingJobRequest struct { // Required. The name of the LabelingJob. // Format: // `projects/{project}/locations/{location}/labelingJobs/{labeling_job}` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetLabelingJobRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetLabelingJobRequest.ProtoReflect.Descriptor instead.
func (x *GetLabelingJobRequest) GetName() string
func (*GetLabelingJobRequest) ProtoMessage()
func (x *GetLabelingJobRequest) ProtoReflect() protoreflect.Message
func (x *GetLabelingJobRequest) Reset()
func (x *GetLabelingJobRequest) String() string
Request for getting a ModelEvaluation.
type GetModelEvaluationRequest struct { // Required. ModelEvaluation identifier. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetModelEvaluationRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetModelEvaluationRequest.ProtoReflect.Descriptor instead.
func (x *GetModelEvaluationRequest) GetName() string
func (*GetModelEvaluationRequest) ProtoMessage()
func (x *GetModelEvaluationRequest) ProtoReflect() protoreflect.Message
func (x *GetModelEvaluationRequest) Reset()
func (x *GetModelEvaluationRequest) String() string
Request for getting a Model.
type GetModelRequest struct { // Required. Model identifier. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetModelRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetModelRequest.ProtoReflect.Descriptor instead.
func (x *GetModelRequest) GetName() string
func (*GetModelRequest) ProtoMessage()
func (x *GetModelRequest) ProtoReflect() protoreflect.Message
func (x *GetModelRequest) Reset()
func (x *GetModelRequest) String() string
Request for getting a Module.
type GetModuleRequest struct { // Required. Module identifier. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetModuleRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetModuleRequest.ProtoReflect.Descriptor instead.
func (x *GetModuleRequest) GetName() string
func (*GetModuleRequest) ProtoMessage()
func (x *GetModuleRequest) ProtoReflect() protoreflect.Message
func (x *GetModuleRequest) Reset()
func (x *GetModuleRequest) String() string
Request for getting a SolutionArtifact.
type GetSolutionArtifactRequest struct { // Required. SolutionArtifact identifier. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetSolutionArtifactRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSolutionArtifactRequest.ProtoReflect.Descriptor instead.
func (x *GetSolutionArtifactRequest) GetName() string
func (*GetSolutionArtifactRequest) ProtoMessage()
func (x *GetSolutionArtifactRequest) ProtoReflect() protoreflect.Message
func (x *GetSolutionArtifactRequest) Reset()
func (x *GetSolutionArtifactRequest) String() string
For requesting details about a particular solution.
type GetSolutionRequest struct { // Required. Solution identifier. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetSolutionRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSolutionRequest.ProtoReflect.Descriptor instead.
func (x *GetSolutionRequest) GetName() string
func (*GetSolutionRequest) ProtoMessage()
func (x *GetSolutionRequest) ProtoReflect() protoreflect.Message
func (x *GetSolutionRequest) Reset()
func (x *GetSolutionRequest) String() string
Request for getting a SpecialistPool.
type GetSpecialistPoolRequest struct { // Required. The name of the SpecialistPool resource. // The form is // // `projects/{project}/locations/{location}/specialistPools/{specialist_pool}`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetSpecialistPoolRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSpecialistPoolRequest.ProtoReflect.Descriptor instead.
func (x *GetSpecialistPoolRequest) GetName() string
func (*GetSpecialistPoolRequest) ProtoMessage()
func (x *GetSpecialistPoolRequest) ProtoReflect() protoreflect.Message
func (x *GetSpecialistPoolRequest) Reset()
func (x *GetSpecialistPoolRequest) String() string
A piece of data in a Dataset.
type Image struct { // Output only. Resource name of the Image generated by the system. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Output only. Timestamp when this Image was created. CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // The labels with user-defined metadata to organize your Images. // // Label keys and values can be no longer than 64 characters // (Unicode codepoints), can only contain lowercase letters, numeric // characters, underscores and dashes. International characters are allowed. // Label keys must start with a letter. // // See https://goo.gl/xmQnxf for more information on and examples of labels. Labels map[string]string `protobuf:"bytes,3,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Output only. Source Google Cloud Storage uri for the Image. SourceGcsUri string `protobuf:"bytes,4,opt,name=source_gcs_uri,json=sourceGcsUri,proto3" json:"source_gcs_uri,omitempty"` // Output only. Encoded image bytes. This field is only set when used to // contain image predictions such as segmentation image masks by online // prediction. ImageBytes []byte `protobuf:"bytes,7,opt,name=image_bytes,json=imageBytes,proto3" json:"image_bytes,omitempty"` // contains filtered or unexported fields }
func (*Image) Descriptor() ([]byte, []int)
Deprecated: Use Image.ProtoReflect.Descriptor instead.
func (x *Image) GetCreateTime() *timestamppb.Timestamp
func (x *Image) GetImageBytes() []byte
func (x *Image) GetLabels() map[string]string
func (x *Image) GetName() string
func (x *Image) GetSourceGcsUri() string
func (*Image) ProtoMessage()
func (x *Image) ProtoReflect() protoreflect.Message
func (x *Image) Reset()
func (x *Image) String() string
Describes the location from where we import data into a Dataset.
type ImportDataConfig struct { // The source of the input. // // Types that are assignable to Source: // *ImportDataConfig_GcsSource // *ImportDataConfig_DatasetResource Source isImportDataConfig_Source `protobuf_oneof:"source"` // contains filtered or unexported fields }
func (*ImportDataConfig) Descriptor() ([]byte, []int)
Deprecated: Use ImportDataConfig.ProtoReflect.Descriptor instead.
func (x *ImportDataConfig) GetDatasetResource() *DatasetSource
func (x *ImportDataConfig) GetGcsSource() *GcsSource
func (m *ImportDataConfig) GetSource() isImportDataConfig_Source
func (*ImportDataConfig) ProtoMessage()
func (x *ImportDataConfig) ProtoReflect() protoreflect.Message
func (x *ImportDataConfig) Reset()
func (x *ImportDataConfig) String() string
type ImportDataConfig_DatasetResource struct { // Import data from another Dataset. DatasetResource *DatasetSource `protobuf:"bytes,2,opt,name=dataset_resource,json=datasetResource,proto3,oneof"` }
type ImportDataConfig_GcsSource struct { // The Google Cloud Storage location for the input content. // Supported file extensions: // 1. A JSON/CSV file. // 2. Image file. Supported extension includes jpg,jpeg,png. GcsSource *GcsSource `protobuf:"bytes,1,opt,name=gcs_source,json=gcsSource,proto3,oneof"` }
ImportData operation metadata.
type ImportDataOperationMetadata struct { // Output only. Common operation metadata. CommonOperationMetadata *CommonOperationMetadata `protobuf:"bytes,1,opt,name=common_operation_metadata,json=commonOperationMetadata,proto3" json:"common_operation_metadata,omitempty"` // contains filtered or unexported fields }
func (*ImportDataOperationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use ImportDataOperationMetadata.ProtoReflect.Descriptor instead.
func (x *ImportDataOperationMetadata) GetCommonOperationMetadata() *CommonOperationMetadata
func (*ImportDataOperationMetadata) ProtoMessage()
func (x *ImportDataOperationMetadata) ProtoReflect() protoreflect.Message
func (x *ImportDataOperationMetadata) Reset()
func (x *ImportDataOperationMetadata) String() string
Request for importing a Dataset.
type ImportDataRequest struct { // Required. Dataset identifier. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Required. The desired input locations. The contents of all input locations // will be imported in one batch. ImportConfigs []*ImportDataConfig `protobuf:"bytes,2,rep,name=import_configs,json=importConfigs,proto3" json:"import_configs,omitempty"` // contains filtered or unexported fields }
func (*ImportDataRequest) Descriptor() ([]byte, []int)
Deprecated: Use ImportDataRequest.ProtoReflect.Descriptor instead.
func (x *ImportDataRequest) GetImportConfigs() []*ImportDataConfig
func (x *ImportDataRequest) GetName() string
func (*ImportDataRequest) ProtoMessage()
func (x *ImportDataRequest) ProtoReflect() protoreflect.Message
func (x *ImportDataRequest) Reset()
func (x *ImportDataRequest) String() string
type ImportDataResponse struct {
// contains filtered or unexported fields
}
func (*ImportDataResponse) Descriptor() ([]byte, []int)
Deprecated: Use ImportDataResponse.ProtoReflect.Descriptor instead.
func (*ImportDataResponse) ProtoMessage()
func (x *ImportDataResponse) ProtoReflect() protoreflect.Message
func (x *ImportDataResponse) Reset()
func (x *ImportDataResponse) String() string
Labeling job to trigger human labeling for adding annotations to images.
type LabelingJob struct { // Types that are assignable to LabelingConfig: // *LabelingJob_AnomalyDetectionLabelingConfig LabelingConfig isLabelingJob_LabelingConfig `protobuf_oneof:"labeling_config"` // Output only. Resource name of the LabelingJob. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Required. The user-defined name of the LabelingJob. // The name can be up to 128 characters long and can be consist of any UTF-8 // characters. // Display name of a LabelingJob. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Required. The resource name of an existing AnnotationSet for all // annotations created through this labeling job. The corresponding // AnnotationSet needs to match the `labeling_config`, e.g., // AnomalyDetectionLabelingConfig needs AnnotationSet with // `classification_label` specified. Format: // // projects/{project}/locations/{location}/datasets/{dataset}/annotationSets/{annotation_set}. OutputAnnotationSet string `protobuf:"bytes,4,opt,name=output_annotation_set,json=outputAnnotationSet,proto3" json:"output_annotation_set,omitempty"` // Required. The Google Cloud Storage location of the instruction PDF. This // pdf is shared with labelers, and provides detailed description on how to // label. InstructionUri string `protobuf:"bytes,5,opt,name=instruction_uri,json=instructionUri,proto3" json:"instruction_uri,omitempty"` // Required. The full resource name of annotation specs that will be used for // labeling. Format // // `projects/{project}/locations/{location}/datasets/{dataset}/annotationSpecs/{annotation_spec}`. AnnotationSpecs []string `protobuf:"bytes,6,rep,name=annotation_specs,json=annotationSpecs,proto3" json:"annotation_specs,omitempty"` // Optional. The SpecialistPools' resource names associated with this job. SpecialistPools []string `protobuf:"bytes,7,rep,name=specialist_pools,json=specialistPools,proto3" json:"specialist_pools,omitempty"` // Optional. The active learning config, e.g., maximum number of items to // label. ActiveLearningConfig *ActiveLearningConfig `protobuf:"bytes,8,opt,name=active_learning_config,json=activeLearningConfig,proto3" json:"active_learning_config,omitempty"` // Output only. The detailed state of the job. State LabelingJob_JobState `protobuf:"varint,9,opt,name=state,proto3,enum=google.cloud.visualinspection.v1beta1.LabelingJob_JobState" json:"state,omitempty"` // Output only. Current labeling job progress percentage scaled in interval // [0, 100], indicating the percentage of DataItems that has been finished. LabelingProgress int32 `protobuf:"varint,10,opt,name=labeling_progress,json=labelingProgress,proto3" json:"labeling_progress,omitempty"` // Output only. Timestamp when this LabelingJob was created. CreateTime *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. Timestamp when this LabelingJob was updated most recently. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Optional. The labels with user-defined metadata to organize your // LabelingJob. // // Label keys and values can be no longer than 64 characters // (Unicode codepoints), can only contain lowercase letters, numeric // characters, underscores and dashes. International characters are allowed. // Label keys must start with a letter. // // See https://goo.gl/xmQnxf for more information on and examples of labels. Labels map[string]string `protobuf:"bytes,13,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // contains filtered or unexported fields }
func (*LabelingJob) Descriptor() ([]byte, []int)
Deprecated: Use LabelingJob.ProtoReflect.Descriptor instead.
func (x *LabelingJob) GetActiveLearningConfig() *ActiveLearningConfig
func (x *LabelingJob) GetAnnotationSpecs() []string
func (x *LabelingJob) GetAnomalyDetectionLabelingConfig() *AnomalyDetectionLabelingConfig
func (x *LabelingJob) GetCreateTime() *timestamppb.Timestamp
func (x *LabelingJob) GetDisplayName() string
func (x *LabelingJob) GetInstructionUri() string
func (m *LabelingJob) GetLabelingConfig() isLabelingJob_LabelingConfig
func (x *LabelingJob) GetLabelingProgress() int32
func (x *LabelingJob) GetLabels() map[string]string
func (x *LabelingJob) GetName() string
func (x *LabelingJob) GetOutputAnnotationSet() string
func (x *LabelingJob) GetSpecialistPools() []string
func (x *LabelingJob) GetState() LabelingJob_JobState
func (x *LabelingJob) GetUpdateTime() *timestamppb.Timestamp
func (*LabelingJob) ProtoMessage()
func (x *LabelingJob) ProtoReflect() protoreflect.Message
func (x *LabelingJob) Reset()
func (x *LabelingJob) String() string
type LabelingJob_AnomalyDetectionLabelingConfig struct { // Optional. Labeling Config for `AnomalyDetection` module. AnomalyDetectionLabelingConfig *AnomalyDetectionLabelingConfig `protobuf:"bytes,3,opt,name=anomaly_detection_labeling_config,json=anomalyDetectionLabelingConfig,proto3,oneof"` }
Describes the state of a labeling job.
type LabelingJob_JobState int32
const ( // The job state is unspecified. LabelingJob_JOB_STATE_UNSPECIFIED LabelingJob_JobState = 0 // The job has been just created or resumed and processing has not yet // begun. LabelingJob_JOB_STATE_QUEUED LabelingJob_JobState = 1 // The service is preparing to run the job. LabelingJob_JOB_STATE_PENDING LabelingJob_JobState = 2 // The job is in progress. LabelingJob_JOB_STATE_RUNNING LabelingJob_JobState = 3 // The job completed successfully. LabelingJob_JOB_STATE_SUCCEEDED LabelingJob_JobState = 4 // The job failed. LabelingJob_JOB_STATE_FAILED LabelingJob_JobState = 5 // The job is being cancelled. From this state the job may only go to // either JOB_STATE_SUCCEEDED, JOB_STATE_FAILED or JOB_STATE_CANCELLED. LabelingJob_JOB_STATE_CANCELLING LabelingJob_JobState = 6 // The job has been cancelled. LabelingJob_JOB_STATE_CANCELLED LabelingJob_JobState = 7 // The job has been stopped, and can be resumed. LabelingJob_JOB_STATE_PAUSED LabelingJob_JobState = 8 )
func (LabelingJob_JobState) Descriptor() protoreflect.EnumDescriptor
func (x LabelingJob_JobState) Enum() *LabelingJob_JobState
func (LabelingJob_JobState) EnumDescriptor() ([]byte, []int)
Deprecated: Use LabelingJob_JobState.Descriptor instead.
func (x LabelingJob_JobState) Number() protoreflect.EnumNumber
func (x LabelingJob_JobState) String() string
func (LabelingJob_JobState) Type() protoreflect.EnumType
Request for listing AnnotationSets.
type ListAnnotationSetsRequest struct { // Required. Parent identifier. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The standard list filter. Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` // The maximum number of AnnotationSets to return. The service may return // fewer than this value. If unspecified, at most 20 AnnotationSets will be // returned. The maximum value is 100; values above 100 will be coerced to // 100. PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // A page token, received from a previous `ListAnnotationSets` call. // Provide this to retrieve the subsequent page. // // When paginating, all other parameters provided to `ListAnnotationSets` must // match the call that provided the page token. PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
func (*ListAnnotationSetsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAnnotationSetsRequest.ProtoReflect.Descriptor instead.
func (x *ListAnnotationSetsRequest) GetFilter() string
func (x *ListAnnotationSetsRequest) GetPageSize() int32
func (x *ListAnnotationSetsRequest) GetPageToken() string
func (x *ListAnnotationSetsRequest) GetParent() string
func (*ListAnnotationSetsRequest) ProtoMessage()
func (x *ListAnnotationSetsRequest) ProtoReflect() protoreflect.Message
func (x *ListAnnotationSetsRequest) Reset()
func (x *ListAnnotationSetsRequest) String() string
Response for ListAnnotationSets.
type ListAnnotationSetsResponse struct { // The annotationsets for this project. AnnotationSets []*AnnotationSet `protobuf:"bytes,1,rep,name=annotation_sets,json=annotationSets,proto3" json:"annotation_sets,omitempty"` // A token that can be sent as `page_token` to retrieve the next page. // If this field is omitted, there are no subsequent pages. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListAnnotationSetsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAnnotationSetsResponse.ProtoReflect.Descriptor instead.
func (x *ListAnnotationSetsResponse) GetAnnotationSets() []*AnnotationSet
func (x *ListAnnotationSetsResponse) GetNextPageToken() string
func (*ListAnnotationSetsResponse) ProtoMessage()
func (x *ListAnnotationSetsResponse) ProtoReflect() protoreflect.Message
func (x *ListAnnotationSetsResponse) Reset()
func (x *ListAnnotationSetsResponse) String() string
Request for listing AnnotationSpecs.
type ListAnnotationSpecsRequest struct { // Required. Parent identifier. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The standard list filter. Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` // The maximum number of AnnotationSpecs to return. The service may return // fewer than this value. If unspecified, at most 20 AnnotationSpecs will be // returned. The maximum value is 100; values above 100 will be coerced to // 100. PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // A page token, received from a previous `ListAnnotationSpecs` call. // Provide this to retrieve the subsequent page. // // When paginating, all other parameters provided to `ListAnnotationSpecs` // must match the call that provided the page token. PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
func (*ListAnnotationSpecsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAnnotationSpecsRequest.ProtoReflect.Descriptor instead.
func (x *ListAnnotationSpecsRequest) GetFilter() string
func (x *ListAnnotationSpecsRequest) GetPageSize() int32
func (x *ListAnnotationSpecsRequest) GetPageToken() string
func (x *ListAnnotationSpecsRequest) GetParent() string
func (*ListAnnotationSpecsRequest) ProtoMessage()
func (x *ListAnnotationSpecsRequest) ProtoReflect() protoreflect.Message
func (x *ListAnnotationSpecsRequest) Reset()
func (x *ListAnnotationSpecsRequest) String() string
Response for ListAnnotationSpecs.
type ListAnnotationSpecsResponse struct { // The annotationspecs for this project. AnnotationSpecs []*AnnotationSpec `protobuf:"bytes,1,rep,name=annotation_specs,json=annotationSpecs,proto3" json:"annotation_specs,omitempty"` // A token that can be sent as `page_token` to retrieve the next page. // If this field is omitted, there are no subsequent pages. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListAnnotationSpecsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAnnotationSpecsResponse.ProtoReflect.Descriptor instead.
func (x *ListAnnotationSpecsResponse) GetAnnotationSpecs() []*AnnotationSpec
func (x *ListAnnotationSpecsResponse) GetNextPageToken() string
func (*ListAnnotationSpecsResponse) ProtoMessage()
func (x *ListAnnotationSpecsResponse) ProtoReflect() protoreflect.Message
func (x *ListAnnotationSpecsResponse) Reset()
func (x *ListAnnotationSpecsResponse) String() string
Request for listing Annotations.
type ListAnnotationsRequest struct { // Required. Parent identifier. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The standard list filter. Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` // The maximum number of annotations to return. The service may return // fewer than this value. If unspecified, at most 20 annotations will be // returned. The maximum value is 100; values above 100 will be coerced to // 100. PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // A page token, received from a previous `ListAnnotations` call. // Provide this to retrieve the subsequent page. // // When paginating, all other parameters provided to `ListAnnotations` // must match the call that provided the page token. PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
func (*ListAnnotationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAnnotationsRequest.ProtoReflect.Descriptor instead.
func (x *ListAnnotationsRequest) GetFilter() string
func (x *ListAnnotationsRequest) GetPageSize() int32
func (x *ListAnnotationsRequest) GetPageToken() string
func (x *ListAnnotationsRequest) GetParent() string
func (*ListAnnotationsRequest) ProtoMessage()
func (x *ListAnnotationsRequest) ProtoReflect() protoreflect.Message
func (x *ListAnnotationsRequest) Reset()
func (x *ListAnnotationsRequest) String() string
Response for ListAnnotations.
type ListAnnotationsResponse struct { // The annotations for this image. Annotations []*Annotation `protobuf:"bytes,1,rep,name=annotations,proto3" json:"annotations,omitempty"` // A token that can be sent as `page_token` to retrieve the next page. // If this field is omitted, there are no subsequent pages. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListAnnotationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAnnotationsResponse.ProtoReflect.Descriptor instead.
func (x *ListAnnotationsResponse) GetAnnotations() []*Annotation
func (x *ListAnnotationsResponse) GetNextPageToken() string
func (*ListAnnotationsResponse) ProtoMessage()
func (x *ListAnnotationsResponse) ProtoReflect() protoreflect.Message
func (x *ListAnnotationsResponse) Reset()
func (x *ListAnnotationsResponse) String() string
Request for listing Datasets.
type ListDatasetsRequest struct { // Required. Parent identifier. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The standard list filter. Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` // The maximum number of Dataset to return. The service may return fewer // than this value. If unspecified, at most 20 Datasets will be returned. // The maximum value is 100; values above 100 will be coerced to 100. PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // A page token, received from a previous `ListDatasets` call. // Provide this to retrieve the subsequent page. // // When paginating, all other parameters provided to `ListDatasets` must // match the call that provided the page token. PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
func (*ListDatasetsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDatasetsRequest.ProtoReflect.Descriptor instead.
func (x *ListDatasetsRequest) GetFilter() string
func (x *ListDatasetsRequest) GetPageSize() int32
func (x *ListDatasetsRequest) GetPageToken() string
func (x *ListDatasetsRequest) GetParent() string
func (*ListDatasetsRequest) ProtoMessage()
func (x *ListDatasetsRequest) ProtoReflect() protoreflect.Message
func (x *ListDatasetsRequest) Reset()
func (x *ListDatasetsRequest) String() string
Response for ListDatasets.
type ListDatasetsResponse struct { // The datasets for this project. Datasets []*Dataset `protobuf:"bytes,1,rep,name=datasets,proto3" json:"datasets,omitempty"` // A token that can be sent as `page_token` to retrieve the next page. // If this field is omitted, there are no subsequent pages. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListDatasetsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListDatasetsResponse.ProtoReflect.Descriptor instead.
func (x *ListDatasetsResponse) GetDatasets() []*Dataset
func (x *ListDatasetsResponse) GetNextPageToken() string
func (*ListDatasetsResponse) ProtoMessage()
func (x *ListDatasetsResponse) ProtoReflect() protoreflect.Message
func (x *ListDatasetsResponse) Reset()
func (x *ListDatasetsResponse) String() string
Request for listing Images.
type ListImagesRequest struct { // Required. Parent identifier. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The standard list filter. Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` // The maximum number of images to return. The service may return fewer // than this value. If unspecified, at most 20 images will be returned. // The maximum value is 200; values above 200 will be coerced to 100. PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // A page token, received from a previous `ListImages` call. // Provide this to retrieve the subsequent page. // // When paginating, all other parameters provided to `ListImages` must // match the call that provided the page token. PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
func (*ListImagesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListImagesRequest.ProtoReflect.Descriptor instead.
func (x *ListImagesRequest) GetFilter() string
func (x *ListImagesRequest) GetPageSize() int32
func (x *ListImagesRequest) GetPageToken() string
func (x *ListImagesRequest) GetParent() string
func (*ListImagesRequest) ProtoMessage()
func (x *ListImagesRequest) ProtoReflect() protoreflect.Message
func (x *ListImagesRequest) Reset()
func (x *ListImagesRequest) String() string
Response for ListImages.
type ListImagesResponse struct { // The images for this dataset. Images []*Image `protobuf:"bytes,1,rep,name=images,proto3" json:"images,omitempty"` // A token that can be sent as `page_token` to retrieve the next page. // If this field is omitted, there are no subsequent pages. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListImagesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListImagesResponse.ProtoReflect.Descriptor instead.
func (x *ListImagesResponse) GetImages() []*Image
func (x *ListImagesResponse) GetNextPageToken() string
func (*ListImagesResponse) ProtoMessage()
func (x *ListImagesResponse) ProtoReflect() protoreflect.Message
func (x *ListImagesResponse) Reset()
func (x *ListImagesResponse) String() string
Request message for listing labeling jobs.
type ListLabelingJobsRequest struct { // Required. The name of the LabelingJob's parent resource. // Format: `projects/{project}/locations/{location}` Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The number of labeling jobs to return. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // A page token, received from a previous `ListLabelingJobsRequest` call. // Provide this to retrieve the subsequent page. // // When paginating, all other parameters provided to // `ListLabelingJobsRequest` must match the call that provided the page // token. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // The standard list filter. Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` // contains filtered or unexported fields }
func (*ListLabelingJobsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListLabelingJobsRequest.ProtoReflect.Descriptor instead.
func (x *ListLabelingJobsRequest) GetFilter() string
func (x *ListLabelingJobsRequest) GetPageSize() int32
func (x *ListLabelingJobsRequest) GetPageToken() string
func (x *ListLabelingJobsRequest) GetParent() string
func (*ListLabelingJobsRequest) ProtoMessage()
func (x *ListLabelingJobsRequest) ProtoReflect() protoreflect.Message
func (x *ListLabelingJobsRequest) Reset()
func (x *ListLabelingJobsRequest) String() string
Response message for listing labeling jobs.
type ListLabelingJobsResponse struct { // A list of SpecialistPools that matches the specified filter in the request. LabelingJobs []*LabelingJob `protobuf:"bytes,1,rep,name=labeling_jobs,json=labelingJobs,proto3" json:"labeling_jobs,omitempty"` // A token that can be sent as `page_token` to retrieve the next page. // If this field is omitted, there are no subsequent pages. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListLabelingJobsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListLabelingJobsResponse.ProtoReflect.Descriptor instead.
func (x *ListLabelingJobsResponse) GetLabelingJobs() []*LabelingJob
func (x *ListLabelingJobsResponse) GetNextPageToken() string
func (*ListLabelingJobsResponse) ProtoMessage()
func (x *ListLabelingJobsResponse) ProtoReflect() protoreflect.Message
func (x *ListLabelingJobsResponse) Reset()
func (x *ListLabelingJobsResponse) String() string
Request for listing ModelEvaluations.
type ListModelEvaluationsRequest struct { // Required. Parent identifier. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The standard list filter. Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` // The maximum number of ModelEvaluations to return. The service may return // fewer than this value. If unspecified, at most 20 ModelEvaluations will be // returned. The maximum value is 100; values above 100 will be coerced to // 100. PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // A page token, received from a previous `ModelEvaluations` call. // Provide this to retrieve the subsequent page. // // When paginating, all other parameters provided to `ModelEvaluations` // must match the call that provided the page token. PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
func (*ListModelEvaluationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListModelEvaluationsRequest.ProtoReflect.Descriptor instead.
func (x *ListModelEvaluationsRequest) GetFilter() string
func (x *ListModelEvaluationsRequest) GetPageSize() int32
func (x *ListModelEvaluationsRequest) GetPageToken() string
func (x *ListModelEvaluationsRequest) GetParent() string
func (*ListModelEvaluationsRequest) ProtoMessage()
func (x *ListModelEvaluationsRequest) ProtoReflect() protoreflect.Message
func (x *ListModelEvaluationsRequest) Reset()
func (x *ListModelEvaluationsRequest) String() string
Response for ListModelEvaluations.
type ListModelEvaluationsResponse struct { // The ModelEvaluation. ModelEvaluations []*ModelEvaluation `protobuf:"bytes,1,rep,name=model_evaluations,json=modelEvaluations,proto3" json:"model_evaluations,omitempty"` // A token that can be sent as `page_token` to retrieve the next page. // If this field is omitted, there are no subsequent pages. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListModelEvaluationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListModelEvaluationsResponse.ProtoReflect.Descriptor instead.
func (x *ListModelEvaluationsResponse) GetModelEvaluations() []*ModelEvaluation
func (x *ListModelEvaluationsResponse) GetNextPageToken() string
func (*ListModelEvaluationsResponse) ProtoMessage()
func (x *ListModelEvaluationsResponse) ProtoReflect() protoreflect.Message
func (x *ListModelEvaluationsResponse) Reset()
func (x *ListModelEvaluationsResponse) String() string
Request for listing Models.
type ListModelsRequest struct { // Required. Parent identifier. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The standard list filter. Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` // The maximum number of Models to return. The service may return // fewer than this value. If unspecified, at most 20 Models will be // returned. The maximum value is 100; values above 100 will be coerced to // 100. PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // A page token, received from a previous `ListModels` call. // Provide this to retrieve the subsequent page. // // When paginating, all other parameters provided to `ListModels` // must match the call that provided the page token. PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
func (*ListModelsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListModelsRequest.ProtoReflect.Descriptor instead.
func (x *ListModelsRequest) GetFilter() string
func (x *ListModelsRequest) GetPageSize() int32
func (x *ListModelsRequest) GetPageToken() string
func (x *ListModelsRequest) GetParent() string
func (*ListModelsRequest) ProtoMessage()
func (x *ListModelsRequest) ProtoReflect() protoreflect.Message
func (x *ListModelsRequest) Reset()
func (x *ListModelsRequest) String() string
Response for ListModels.
type ListModelsResponse struct { // The Model. Models []*Model `protobuf:"bytes,1,rep,name=models,proto3" json:"models,omitempty"` // A token that can be sent as `page_token` to retrieve the next page. // If this field is omitted, there are no subsequent pages. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListModelsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListModelsResponse.ProtoReflect.Descriptor instead.
func (x *ListModelsResponse) GetModels() []*Model
func (x *ListModelsResponse) GetNextPageToken() string
func (*ListModelsResponse) ProtoMessage()
func (x *ListModelsResponse) ProtoReflect() protoreflect.Message
func (x *ListModelsResponse) Reset()
func (x *ListModelsResponse) String() string
Request for listing Modules.
type ListModulesRequest struct { // Required. Parent identifier. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The standard list filter. Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` // The maximum number of Modules to return. The service may return // fewer than this value. If unspecified, at most 20 Modules will be // returned. The maximum value is 100; values above 100 will be coerced to // 100. PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // A page token, received from a previous `ListModules` call. // Provide this to retrieve the subsequent page. // // When paginating, all other parameters provided to `ListModules` // must match the call that provided the page token. PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
func (*ListModulesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListModulesRequest.ProtoReflect.Descriptor instead.
func (x *ListModulesRequest) GetFilter() string
func (x *ListModulesRequest) GetPageSize() int32
func (x *ListModulesRequest) GetPageToken() string
func (x *ListModulesRequest) GetParent() string
func (*ListModulesRequest) ProtoMessage()
func (x *ListModulesRequest) ProtoReflect() protoreflect.Message
func (x *ListModulesRequest) Reset()
func (x *ListModulesRequest) String() string
Response for ListModules.
type ListModulesResponse struct { // The Modules. Modules []*Module `protobuf:"bytes,1,rep,name=modules,proto3" json:"modules,omitempty"` // A token that can be sent as `page_token` to retrieve the next page. // If this field is omitted, there are no subsequent pages. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListModulesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListModulesResponse.ProtoReflect.Descriptor instead.
func (x *ListModulesResponse) GetModules() []*Module
func (x *ListModulesResponse) GetNextPageToken() string
func (*ListModulesResponse) ProtoMessage()
func (x *ListModulesResponse) ProtoReflect() protoreflect.Message
func (x *ListModulesResponse) Reset()
func (x *ListModulesResponse) String() string
Request for listing SolutionArtifacts.
type ListSolutionArtifactsRequest struct { // Required. Parent identifier. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The standard list filter. Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` // The maximum number of SolutionArtifacts to return. The service may return // fewer than this value. If unspecified, at most 20 Modules will be // returned. The maximum value is 100; values above 100 will be coerced to // 100. PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // A page token, received from a previous `ListSolutionArtifacts` call. // Provide this to retrieve the subsequent page. // // When paginating, all other parameters provided to `ListSolutionArtifacts` // must match the call that provided the page token. PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
func (*ListSolutionArtifactsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListSolutionArtifactsRequest.ProtoReflect.Descriptor instead.
func (x *ListSolutionArtifactsRequest) GetFilter() string
func (x *ListSolutionArtifactsRequest) GetPageSize() int32
func (x *ListSolutionArtifactsRequest) GetPageToken() string
func (x *ListSolutionArtifactsRequest) GetParent() string
func (*ListSolutionArtifactsRequest) ProtoMessage()
func (x *ListSolutionArtifactsRequest) ProtoReflect() protoreflect.Message
func (x *ListSolutionArtifactsRequest) Reset()
func (x *ListSolutionArtifactsRequest) String() string
Response for ListSolutionArtifacts.
type ListSolutionArtifactsResponse struct { // The SolutionArtifact. SolutionArtifacts []*SolutionArtifact `protobuf:"bytes,1,rep,name=solution_artifacts,json=solutionArtifacts,proto3" json:"solution_artifacts,omitempty"` // A token that can be sent as `page_token` to retrieve the next page. // If this field is omitted, there are no subsequent pages. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListSolutionArtifactsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSolutionArtifactsResponse.ProtoReflect.Descriptor instead.
func (x *ListSolutionArtifactsResponse) GetNextPageToken() string
func (x *ListSolutionArtifactsResponse) GetSolutionArtifacts() []*SolutionArtifact
func (*ListSolutionArtifactsResponse) ProtoMessage()
func (x *ListSolutionArtifactsResponse) ProtoReflect() protoreflect.Message
func (x *ListSolutionArtifactsResponse) Reset()
func (x *ListSolutionArtifactsResponse) String() string
Request method for listing solutions.
type ListSolutionsRequest struct { // Required. Parent identifier. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The maximum number of solutions to return. The service may return fewer // than this value. If unspecified, at moast 50 solutions will be returned. // The maximum value is 100; values above 100 will be coerced to 100. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // A page token, received from a previous `ListSolutions` call. // Provide this to retrieve the subsequent page. // // When paginating, all other parameters provided to `ListSolutions` must // match the call that provided the page token. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // The standard list filter. Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` // contains filtered or unexported fields }
func (*ListSolutionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListSolutionsRequest.ProtoReflect.Descriptor instead.
func (x *ListSolutionsRequest) GetFilter() string
func (x *ListSolutionsRequest) GetPageSize() int32
func (x *ListSolutionsRequest) GetPageToken() string
func (x *ListSolutionsRequest) GetParent() string
func (*ListSolutionsRequest) ProtoMessage()
func (x *ListSolutionsRequest) ProtoReflect() protoreflect.Message
func (x *ListSolutionsRequest) Reset()
func (x *ListSolutionsRequest) String() string
Response method for listing solutions.
type ListSolutionsResponse struct { // The solutions for this project. Solutions []*Solution `protobuf:"bytes,1,rep,name=solutions,proto3" json:"solutions,omitempty"` // A token that can be sent as `page_token` to retrieve the next page. // If this field is omitted, there are no subsequent pages. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListSolutionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSolutionsResponse.ProtoReflect.Descriptor instead.
func (x *ListSolutionsResponse) GetNextPageToken() string
func (x *ListSolutionsResponse) GetSolutions() []*Solution
func (*ListSolutionsResponse) ProtoMessage()
func (x *ListSolutionsResponse) ProtoReflect() protoreflect.Message
func (x *ListSolutionsResponse) Reset()
func (x *ListSolutionsResponse) String() string
Request message for listing SpecialistPools.
type ListSpecialistPoolsRequest struct { // Required. The name of the SpecialistPool's parent resource. // Format: `projects/{project}/locations/{location}` Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The number of SpecialistPools to return. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // A page token, received from a previous `ListSpecialistPoolsRequest` call. // Provide this to retrieve the subsequent page. // // When paginating, all other parameters provided to // `ListSpecialistPoolsRequest` must match the call that provided the page // token. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // The standard list filter. Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` // contains filtered or unexported fields }
func (*ListSpecialistPoolsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListSpecialistPoolsRequest.ProtoReflect.Descriptor instead.
func (x *ListSpecialistPoolsRequest) GetFilter() string
func (x *ListSpecialistPoolsRequest) GetPageSize() int32
func (x *ListSpecialistPoolsRequest) GetPageToken() string
func (x *ListSpecialistPoolsRequest) GetParent() string
func (*ListSpecialistPoolsRequest) ProtoMessage()
func (x *ListSpecialistPoolsRequest) ProtoReflect() protoreflect.Message
func (x *ListSpecialistPoolsRequest) Reset()
func (x *ListSpecialistPoolsRequest) String() string
Response message for ListSpecialistPools.
type ListSpecialistPoolsResponse struct { // A list of SpecialistPools that matches the specified filter in the request. SpecialistPools []*SpecialistPool `protobuf:"bytes,1,rep,name=specialist_pools,json=specialistPools,proto3" json:"specialist_pools,omitempty"` // A token that can be sent as `page_token` to retrieve the next page. // If this field is omitted, there are no subsequent pages. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListSpecialistPoolsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSpecialistPoolsResponse.ProtoReflect.Descriptor instead.
func (x *ListSpecialistPoolsResponse) GetNextPageToken() string
func (x *ListSpecialistPoolsResponse) GetSpecialistPools() []*SpecialistPool
func (*ListSpecialistPoolsResponse) ProtoMessage()
func (x *ListSpecialistPoolsResponse) ProtoReflect() protoreflect.Message
func (x *ListSpecialistPoolsResponse) Reset()
func (x *ListSpecialistPoolsResponse) String() string
Detailed input and output information of a localization refinment module.
type LocalizationRefinementModule struct { // Regions within the query image to align. Multiple regions could // be aligned per Image. QueryRegions []*AnnotationInput `protobuf:"bytes,1,rep,name=query_regions,json=queryRegions,proto3" json:"query_regions,omitempty"` // Regions within the template image to transfer to the query image. TargetRegions []*AnnotationInput `protobuf:"bytes,2,rep,name=target_regions,json=targetRegions,proto3" json:"target_regions,omitempty"` // Regions which customize the search process for each target region. LocalSearchRegions []*AnnotationInput `protobuf:"bytes,3,rep,name=local_search_regions,json=localSearchRegions,proto3" json:"local_search_regions,omitempty"` // The target regions transformed by the module. TargetRegionPredictions []*AnnotationOutput `protobuf:"bytes,4,rep,name=target_region_predictions,json=targetRegionPredictions,proto3" json:"target_region_predictions,omitempty"` // The inspection regions transformed by the module. LocalSearchRegionPredictions []*AnnotationOutput `protobuf:"bytes,5,rep,name=local_search_region_predictions,json=localSearchRegionPredictions,proto3" json:"local_search_region_predictions,omitempty"` // contains filtered or unexported fields }
func (*LocalizationRefinementModule) Descriptor() ([]byte, []int)
Deprecated: Use LocalizationRefinementModule.ProtoReflect.Descriptor instead.
func (x *LocalizationRefinementModule) GetLocalSearchRegionPredictions() []*AnnotationOutput
func (x *LocalizationRefinementModule) GetLocalSearchRegions() []*AnnotationInput
func (x *LocalizationRefinementModule) GetQueryRegions() []*AnnotationInput
func (x *LocalizationRefinementModule) GetTargetRegionPredictions() []*AnnotationOutput
func (x *LocalizationRefinementModule) GetTargetRegions() []*AnnotationInput
func (*LocalizationRefinementModule) ProtoMessage()
func (x *LocalizationRefinementModule) ProtoReflect() protoreflect.Message
func (x *LocalizationRefinementModule) Reset()
func (x *LocalizationRefinementModule) String() string
Detailed information for Mask Annotation.
type MaskAnnotation struct { // Output only. 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 category_meask for the corresponding pixel. Black means no // confidence and white means full confidence. ConfidenceMask *Image `protobuf:"bytes,1,opt,name=confidence_mask,json=confidenceMask,proto3" json:"confidence_mask,omitempty"` // Three channel image which is encoded as an 8bit lossless PNG. Each pixel in // the image mask represents the category which the pixel in the original // image belong to. Each color is mapped to one AnnotationSpec based on // annotation_spec_colors. CategoryMask *Image `protobuf:"bytes,2,opt,name=category_mask,json=categoryMask,proto3" json:"category_mask,omitempty"` // contains filtered or unexported fields }
func (*MaskAnnotation) Descriptor() ([]byte, []int)
Deprecated: Use MaskAnnotation.ProtoReflect.Descriptor instead.
func (x *MaskAnnotation) GetCategoryMask() *Image
func (x *MaskAnnotation) GetConfidenceMask() *Image
func (*MaskAnnotation) ProtoMessage()
func (x *MaskAnnotation) ProtoReflect() protoreflect.Message
func (x *MaskAnnotation) Reset()
func (x *MaskAnnotation) String() string
Mask Annotation type.
type MaskAnnotationSet struct { // Mapping of color to annotationspec. // For example, // annotation_spec_colors { // annotation_spec_id: 1 // red: 0 // green: 1 // blue:0 // } // it means green color maps to annotation_spec_id==1. AnnotationSpecColors []*AnnotationSpecColor `protobuf:"bytes,1,rep,name=annotation_spec_colors,json=annotationSpecColors,proto3" json:"annotation_spec_colors,omitempty"` // contains filtered or unexported fields }
func (*MaskAnnotationSet) Descriptor() ([]byte, []int)
Deprecated: Use MaskAnnotationSet.ProtoReflect.Descriptor instead.
func (x *MaskAnnotationSet) GetAnnotationSpecColors() []*AnnotationSpecColor
func (*MaskAnnotationSet) ProtoMessage()
func (x *MaskAnnotationSet) ProtoReflect() protoreflect.Message
func (x *MaskAnnotationSet) Reset()
func (x *MaskAnnotationSet) String() string
All metrics for the solution.
type Metrics struct { // Output only. Metrics for the solution at different slices. MetricsSlice map[string]*MetricsSlice `protobuf:"bytes,1,rep,name=metrics_slice,json=metricsSlice,proto3" json:"metrics_slice,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // contains filtered or unexported fields }
func (*Metrics) Descriptor() ([]byte, []int)
Deprecated: Use Metrics.ProtoReflect.Descriptor instead.
func (x *Metrics) GetMetricsSlice() map[string]*MetricsSlice
func (*Metrics) ProtoMessage()
func (x *Metrics) ProtoReflect() protoreflect.Message
func (x *Metrics) Reset()
func (x *Metrics) String() string
Metrics at a particular slice. A slice can be "pixel" level, "image" level, "component" level, "unit" level, and/or "product" level depending on the solution and the input data.
type MetricsSlice struct { // Output only. The AnnotationSpec which this MetricSlice refers to. It is // empty if this MetricSlice aggregates across AnnotationSpecs. AnnotationSpec string `protobuf:"bytes,8,opt,name=annotation_spec,json=annotationSpec,proto3" json:"annotation_spec,omitempty"` // Output only. The AnnotationSpec display name which this MetricSlice refers // to. It is empty if this MetricSlice aggregates across AnnotationSpecs. DisplayName string `protobuf:"bytes,9,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Output only. The number of examples used to create this evaluation metrics // instance. EvaluatedExampleCount int32 `protobuf:"varint,10,opt,name=evaluated_example_count,json=evaluatedExampleCount,proto3" json:"evaluated_example_count,omitempty"` // Output only. Model metrics across confidence thresholds. ConfidenceLevelModelMetrics []*MetricsSlice_ConfidenceLevelModelMetrics `protobuf:"bytes,5,rep,name=confidence_level_model_metrics,json=confidenceLevelModelMetrics,proto3" json:"confidence_level_model_metrics,omitempty"` // Output only. Average model metrics. AverageModelMetrics *ModelMetrics `protobuf:"bytes,7,opt,name=average_model_metrics,json=averageModelMetrics,proto3" json:"average_model_metrics,omitempty"` // contains filtered or unexported fields }
func (*MetricsSlice) Descriptor() ([]byte, []int)
Deprecated: Use MetricsSlice.ProtoReflect.Descriptor instead.
func (x *MetricsSlice) GetAnnotationSpec() string
func (x *MetricsSlice) GetAverageModelMetrics() *ModelMetrics
func (x *MetricsSlice) GetConfidenceLevelModelMetrics() []*MetricsSlice_ConfidenceLevelModelMetrics
func (x *MetricsSlice) GetDisplayName() string
func (x *MetricsSlice) GetEvaluatedExampleCount() int32
func (*MetricsSlice) ProtoMessage()
func (x *MetricsSlice) ProtoReflect() protoreflect.Message
func (x *MetricsSlice) Reset()
func (x *MetricsSlice) String() string
Model metrics at a specific threshold.
type MetricsSlice_ConfidenceLevelModelMetrics struct { // Output only. Model metrics. ModelMetrics *ModelMetrics `protobuf:"bytes,1,opt,name=model_metrics,json=modelMetrics,proto3" json:"model_metrics,omitempty"` // Output only. Confidence threshold in the range [0, 1]. ConfidenceThreshold float32 `protobuf:"fixed32,2,opt,name=confidence_threshold,json=confidenceThreshold,proto3" json:"confidence_threshold,omitempty"` // Output only. Pixel level confidence threshold in the range [0, 1]. PixelConfidenceThreshold float32 `protobuf:"fixed32,3,opt,name=pixel_confidence_threshold,json=pixelConfidenceThreshold,proto3" json:"pixel_confidence_threshold,omitempty"` // Output only. Cluster distance threshold in the range [0, 1] normalized by // the diagonal length of the image. ClusterDistanceThreshold float32 `protobuf:"fixed32,4,opt,name=cluster_distance_threshold,json=clusterDistanceThreshold,proto3" json:"cluster_distance_threshold,omitempty"` // contains filtered or unexported fields }
func (*MetricsSlice_ConfidenceLevelModelMetrics) Descriptor() ([]byte, []int)
Deprecated: Use MetricsSlice_ConfidenceLevelModelMetrics.ProtoReflect.Descriptor instead.
func (x *MetricsSlice_ConfidenceLevelModelMetrics) GetClusterDistanceThreshold() float32
func (x *MetricsSlice_ConfidenceLevelModelMetrics) GetConfidenceThreshold() float32
func (x *MetricsSlice_ConfidenceLevelModelMetrics) GetModelMetrics() *ModelMetrics
func (x *MetricsSlice_ConfidenceLevelModelMetrics) GetPixelConfidenceThreshold() float32
func (*MetricsSlice_ConfidenceLevelModelMetrics) ProtoMessage()
func (x *MetricsSlice_ConfidenceLevelModelMetrics) ProtoReflect() protoreflect.Message
func (x *MetricsSlice_ConfidenceLevelModelMetrics) Reset()
func (x *MetricsSlice_ConfidenceLevelModelMetrics) String() string
A Model is the trained artifact of a Module which makes predictions.
type Model struct { // Output only. Resource name for Model generated by the system. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Output only. Timestamp when the system started to create this Model. // The difference between this field and create_time includes time spent on // preprocessing, training, and evaluation. CreateRequestTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_request_time,json=createRequestTime,proto3" json:"create_request_time,omitempty"` // Output only. Timestamp when this Model was trained and evaluated. CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. Timestamp when this Model was last updated. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Output only. Evaluations for this Model. EvaluationIds []string `protobuf:"bytes,5,rep,name=evaluation_ids,json=evaluationIds,proto3" json:"evaluation_ids,omitempty"` // Output only. A copy of the parent Module's configuration at the time of // Model creation to provide a record of the training process configuration. Config *structpb.Struct `protobuf:"bytes,6,opt,name=config,proto3" json:"config,omitempty"` // The labels with user-defined metadata to organize your Models. // // Label keys and values can be no longer than 64 characters // (Unicode codepoints), can only contain lowercase letters, numeric // characters, underscores and dashes. International characters are allowed. // Label keys must start with a letter. // // See https://goo.gl/xmQnxf for more information on and examples of labels. Labels map[string]string `protobuf:"bytes,7,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // contains filtered or unexported fields }
func (*Model) Descriptor() ([]byte, []int)
Deprecated: Use Model.ProtoReflect.Descriptor instead.
func (x *Model) GetConfig() *structpb.Struct
func (x *Model) GetCreateRequestTime() *timestamppb.Timestamp
func (x *Model) GetCreateTime() *timestamppb.Timestamp
func (x *Model) GetEvaluationIds() []string
func (x *Model) GetLabels() map[string]string
func (x *Model) GetName() string
func (x *Model) GetUpdateTime() *timestamppb.Timestamp
func (*Model) ProtoMessage()
func (x *Model) ProtoReflect() protoreflect.Message
func (x *Model) Reset()
func (x *Model) String() string
ModelEvaluation for visual inspection solutions.
type ModelEvaluation struct { // Output only. Resource name for ModelEvaluation generated by the system. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Deprecated, use metrics_map instead. // Metrics for this evaluation. // // Deprecated: Do not use. Metrics *Metrics `protobuf:"bytes,2,opt,name=metrics,proto3" json:"metrics,omitempty"` // Output only. Deprecated, use eval_annotation_sets_map instead. // The AnnotationSets containing output Annotations on the eval set. These // will be readonly AnnotationSets belonging to the Solution's Dataset and // have the same lifetime as the Model to which it belongs. // // Deprecated: Do not use. EvalAnnotationSets []string `protobuf:"bytes,3,rep,name=eval_annotation_sets,json=evalAnnotationSets,proto3" json:"eval_annotation_sets,omitempty"` // Output only. Map of the Metrics for this model evaluation. The key is a // name for the Metrics entry. Individual Modules define which Metrics they // support and typically there will be a map entry for every output the Module // produces. MetricsMap map[string]*Metrics `protobuf:"bytes,4,rep,name=metrics_map,json=metricsMap,proto3" json:"metrics_map,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Output only. Map of the evaluation annotation sets for this model. The keys // are the name of module outputs annotation fields and the values are the // annotation sets ids containing output Annotations on the eval set. These // will be readonly AnnotationSets belonging to the Solution's Dataset and // have the same lifetime as the Model to which it belongs. EvalAnnotationSetsMap map[string]string `protobuf:"bytes,5,rep,name=eval_annotation_sets_map,json=evalAnnotationSetsMap,proto3" json:"eval_annotation_sets_map,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // contains filtered or unexported fields }
func (*ModelEvaluation) Descriptor() ([]byte, []int)
Deprecated: Use ModelEvaluation.ProtoReflect.Descriptor instead.
func (x *ModelEvaluation) GetEvalAnnotationSets() []string
Deprecated: Do not use.
func (x *ModelEvaluation) GetEvalAnnotationSetsMap() map[string]string
func (x *ModelEvaluation) GetMetrics() *Metrics
Deprecated: Do not use.
func (x *ModelEvaluation) GetMetricsMap() map[string]*Metrics
func (x *ModelEvaluation) GetName() string
func (*ModelEvaluation) ProtoMessage()
func (x *ModelEvaluation) ProtoReflect() protoreflect.Message
func (x *ModelEvaluation) Reset()
func (x *ModelEvaluation) String() string
Model metrics which can vary depending on the model. These are not assumed to refer to defect states in particular.
type ModelMetrics struct { // Output only. The false negative rate in the range [0, 1]. This is the rate // with which the model incorrectly classifies examples as negative when they // are positive. This is consistent with the following definition: // // https: // //en.wikipedia.org/wiki/False_positives_ // // and_false_negatives#False_positive_and_false_negative_rates. FalseNegativeRate float32 `protobuf:"fixed32,1,opt,name=false_negative_rate,json=falseNegativeRate,proto3" json:"false_negative_rate,omitempty"` // Output only. The false positive rate in the range [0, 1]. This is the rate // with which the model incorrectly classifies examples as positive when they // are negative. This is consistent with the following definition: // // https: // //en.wikipedia.org/wiki/False_positives_ // // and_false_negatives#False_positive_and_false_negative_rates. FalsePositiveRate float32 `protobuf:"fixed32,2,opt,name=false_positive_rate,json=falsePositiveRate,proto3" json:"false_positive_rate,omitempty"` // Output only. The precision in the range [0, 1]. Precision measures the // ratio of correctly classified examples by the model against all the // predictions made by the model. Please see // https://en.wikipedia.org/wiki/Precision_and_recall for its definition. Precision float32 `protobuf:"fixed32,3,opt,name=precision,proto3" json:"precision,omitempty"` // Output only. The recall in the range [0, 1]. Recall measures the ratio of // correctly predicted labels by the model against all true examples of that // label. Please see https://en.wikipedia.org/wiki/Precision_and_recall for // its definition. Recall float32 `protobuf:"fixed32,4,opt,name=recall,proto3" json:"recall,omitempty"` // Output only. The Intersection over union (IOU) in the range [0, 1]. IOU // measures the proportion of label regions that are common between ground // truth and model predictions versus their union. Please see // https://en.wikipedia.org/wiki/Jaccard_index for its definition. Iou float32 `protobuf:"fixed32,5,opt,name=iou,proto3" json:"iou,omitempty"` // Output only. The Dice similarity coefficient in the range [0, 1]. Dice // similarity coefficient is similar to IOU except that the common label // region is weighted twice in the calculation. Please see its definition // here: https://en.wikipedia.org/wiki/S%C3%B8rensen%E2%80%93Dice_coefficient DiceSimilarityCoefficient float32 `protobuf:"fixed32,6,opt,name=dice_similarity_coefficient,json=diceSimilarityCoefficient,proto3" json:"dice_similarity_coefficient,omitempty"` // Output only. Confusion matrix for the classifications. // Only present for aggregated metrics. ConfusionMatrix *ConfusionMatrix `protobuf:"bytes,7,opt,name=confusion_matrix,json=confusionMatrix,proto3" json:"confusion_matrix,omitempty"` // Output only. The average precision in the range [0, 1]. AveragePrecision float32 `protobuf:"fixed32,8,opt,name=average_precision,json=averagePrecision,proto3" json:"average_precision,omitempty"` // contains filtered or unexported fields }
func (*ModelMetrics) Descriptor() ([]byte, []int)
Deprecated: Use ModelMetrics.ProtoReflect.Descriptor instead.
func (x *ModelMetrics) GetAveragePrecision() float32
func (x *ModelMetrics) GetConfusionMatrix() *ConfusionMatrix
func (x *ModelMetrics) GetDiceSimilarityCoefficient() float32
func (x *ModelMetrics) GetFalseNegativeRate() float32
func (x *ModelMetrics) GetFalsePositiveRate() float32
func (x *ModelMetrics) GetIou() float32
func (x *ModelMetrics) GetPrecision() float32
func (x *ModelMetrics) GetRecall() float32
func (*ModelMetrics) ProtoMessage()
func (x *ModelMetrics) ProtoReflect() protoreflect.Message
func (x *ModelMetrics) Reset()
func (x *ModelMetrics) String() string
A Module applies a computer vision algorithm to a subproblem of a visual inspection task.
type Module struct { // The type of the module. // // Types that are assignable to Type: // *Module_AnomalyDetection // *Module_SparseAlignmentLocalization // *Module_LocalizationRefinement // *Module_ObjectDetection // *Module_Segmentation // *Module_Classification Type isModule_Type `protobuf_oneof:"type"` // Output only. Resource name for Module generated by the system. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Output only. Timestamp when this Module was created. CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. Timestamp when Module was last updated. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Required. A user friendly display name for the Module. // The name can be up to 128 characters long and can consist of any UTF-8 // characters. DisplayName string `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // A description for this Module. Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` // Configuration for this Module. Each Module may define its own // configuration options. Config *structpb.Struct `protobuf:"bytes,6,opt,name=config,proto3" json:"config,omitempty"` // The labels with user-defined metadata to organize your Modules. // // Label keys and values can be no longer than 64 characters // (Unicode codepoints), can only contain lowercase letters, numeric // characters, underscores and dashes. International characters are allowed. // Label keys must start with a letter. // // See https://goo.gl/xmQnxf for more information on and examples of labels. Labels map[string]string `protobuf:"bytes,7,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // contains filtered or unexported fields }
func (*Module) Descriptor() ([]byte, []int)
Deprecated: Use Module.ProtoReflect.Descriptor instead.
func (x *Module) GetAnomalyDetection() *AnomalyDetectionModule
func (x *Module) GetClassification() *ClassificationModule
func (x *Module) GetConfig() *structpb.Struct
func (x *Module) GetCreateTime() *timestamppb.Timestamp
func (x *Module) GetDescription() string
func (x *Module) GetDisplayName() string
func (x *Module) GetLabels() map[string]string
func (x *Module) GetLocalizationRefinement() *LocalizationRefinementModule
func (x *Module) GetName() string
func (x *Module) GetObjectDetection() *ObjectDetectionModule
func (x *Module) GetSegmentation() *SegmentationModule
func (x *Module) GetSparseAlignmentLocalization() *SparseAlignmentLocalizationModule
func (m *Module) GetType() isModule_Type
func (x *Module) GetUpdateTime() *timestamppb.Timestamp
func (*Module) ProtoMessage()
func (x *Module) ProtoReflect() protoreflect.Message
func (x *Module) Reset()
func (x *Module) String() string
type Module_AnomalyDetection struct { // Anomaly detection. AnomalyDetection *AnomalyDetectionModule `protobuf:"bytes,8,opt,name=anomaly_detection,json=anomalyDetection,proto3,oneof"` }
type Module_Classification struct { // Classification. Classification *ClassificationModule `protobuf:"bytes,13,opt,name=classification,proto3,oneof"` }
type Module_LocalizationRefinement struct { // Localization refinement. LocalizationRefinement *LocalizationRefinementModule `protobuf:"bytes,10,opt,name=localization_refinement,json=localizationRefinement,proto3,oneof"` }
type Module_ObjectDetection struct { // Object detection. ObjectDetection *ObjectDetectionModule `protobuf:"bytes,11,opt,name=object_detection,json=objectDetection,proto3,oneof"` }
type Module_Segmentation struct { // Segmentation. Segmentation *SegmentationModule `protobuf:"bytes,12,opt,name=segmentation,proto3,oneof"` }
type Module_SparseAlignmentLocalization struct { // Sparse alignment localization. SparseAlignmentLocalization *SparseAlignmentLocalizationModule `protobuf:"bytes,9,opt,name=sparse_alignment_localization,json=sparseAlignmentLocalization,proto3,oneof"` }
Normalized Bounding Polygon.
type NormalizedBoundingPoly struct { // The bounding polygon normalized vertices. Top left corner of the image will // be [0, 0]. NormalizedVertices []*NormalizedVertex `protobuf:"bytes,1,rep,name=normalized_vertices,json=normalizedVertices,proto3" json:"normalized_vertices,omitempty"` // contains filtered or unexported fields }
func (*NormalizedBoundingPoly) Descriptor() ([]byte, []int)
Deprecated: Use NormalizedBoundingPoly.ProtoReflect.Descriptor instead.
func (x *NormalizedBoundingPoly) GetNormalizedVertices() []*NormalizedVertex
func (*NormalizedBoundingPoly) ProtoMessage()
func (x *NormalizedBoundingPoly) ProtoReflect() protoreflect.Message
func (x *NormalizedBoundingPoly) Reset()
func (x *NormalizedBoundingPoly) String() string
Normalized Line, which represents a curve consisting of connected straight-line segments.
type NormalizedPolyline struct { // A sequence of vertices connected by straight lines. NormalizedVertices []*NormalizedVertex `protobuf:"bytes,1,rep,name=normalized_vertices,json=normalizedVertices,proto3" json:"normalized_vertices,omitempty"` // contains filtered or unexported fields }
func (*NormalizedPolyline) Descriptor() ([]byte, []int)
Deprecated: Use NormalizedPolyline.ProtoReflect.Descriptor instead.
func (x *NormalizedPolyline) GetNormalizedVertices() []*NormalizedVertex
func (*NormalizedPolyline) ProtoMessage()
func (x *NormalizedPolyline) ProtoReflect() protoreflect.Message
func (x *NormalizedPolyline) Reset()
func (x *NormalizedPolyline) String() string
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 NormalizedVertex struct { // X coordinate. X float32 `protobuf:"fixed32,1,opt,name=x,proto3" json:"x,omitempty"` // Y coordinate. Y float32 `protobuf:"fixed32,2,opt,name=y,proto3" json:"y,omitempty"` // contains filtered or unexported fields }
func (*NormalizedVertex) Descriptor() ([]byte, []int)
Deprecated: Use NormalizedVertex.ProtoReflect.Descriptor instead.
func (x *NormalizedVertex) GetX() float32
func (x *NormalizedVertex) GetY() float32
func (*NormalizedVertex) ProtoMessage()
func (x *NormalizedVertex) ProtoReflect() protoreflect.Message
func (x *NormalizedVertex) Reset()
func (x *NormalizedVertex) String() string
Detailed input and output information of an object detection module.
type ObjectDetectionModule struct { // Regions to search on for the query image, anything outside of these regions // will not be considered from the module. These regions are defined in the // template image and applied "as is" to each query image. If query_regions // are not specified, the full image will be used as a single query region. QueryRegions []*AnnotationInput `protobuf:"bytes,1,rep,name=query_regions,json=queryRegions,proto3" json:"query_regions,omitempty"` // Regions within the template image to transfer to the query image. TargetRegions []*AnnotationInput `protobuf:"bytes,2,rep,name=target_regions,json=targetRegions,proto3" json:"target_regions,omitempty"` // Required. The regions for each object to learn the representation of. ObjectRegions []*AnnotationInput `protobuf:"bytes,3,rep,name=object_regions,json=objectRegions,proto3" json:"object_regions,omitempty"` // The target regions transformed by the module. TargetRegionPredictions []*AnnotationOutput `protobuf:"bytes,4,rep,name=target_region_predictions,json=targetRegionPredictions,proto3" json:"target_region_predictions,omitempty"` // Required. The objects regions detected by the module. ObjectRegionPredictions []*AnnotationOutput `protobuf:"bytes,5,rep,name=object_region_predictions,json=objectRegionPredictions,proto3" json:"object_region_predictions,omitempty"` // contains filtered or unexported fields }
func (*ObjectDetectionModule) Descriptor() ([]byte, []int)
Deprecated: Use ObjectDetectionModule.ProtoReflect.Descriptor instead.
func (x *ObjectDetectionModule) GetObjectRegionPredictions() []*AnnotationOutput
func (x *ObjectDetectionModule) GetObjectRegions() []*AnnotationInput
func (x *ObjectDetectionModule) GetQueryRegions() []*AnnotationInput
func (x *ObjectDetectionModule) GetTargetRegionPredictions() []*AnnotationOutput
func (x *ObjectDetectionModule) GetTargetRegions() []*AnnotationInput
func (*ObjectDetectionModule) ProtoMessage()
func (x *ObjectDetectionModule) ProtoReflect() protoreflect.Message
func (x *ObjectDetectionModule) Reset()
func (x *ObjectDetectionModule) String() string
Polygon Annotation type.
type PolygonAnnotationSet struct {
// contains filtered or unexported fields
}
func (*PolygonAnnotationSet) Descriptor() ([]byte, []int)
Deprecated: Use PolygonAnnotationSet.ProtoReflect.Descriptor instead.
func (*PolygonAnnotationSet) ProtoMessage()
func (x *PolygonAnnotationSet) ProtoReflect() protoreflect.Message
func (x *PolygonAnnotationSet) Reset()
func (x *PolygonAnnotationSet) String() string
Detailed information for Polyline Annotation.
type PolylineAnnotation struct { // A polyline consisting of connected straight-line segments. NormalizedPolyline *NormalizedPolyline `protobuf:"bytes,1,opt,name=normalized_polyline,json=normalizedPolyline,proto3" json:"normalized_polyline,omitempty"` // Output only. A confidence score between 0.0 and 1.0. A higher value // means greater confidence that the annotation is positive. ConfidenceScore float32 `protobuf:"fixed32,2,opt,name=confidence_score,json=confidenceScore,proto3" json:"confidence_score,omitempty"` // contains filtered or unexported fields }
func (*PolylineAnnotation) Descriptor() ([]byte, []int)
Deprecated: Use PolylineAnnotation.ProtoReflect.Descriptor instead.
func (x *PolylineAnnotation) GetConfidenceScore() float32
func (x *PolylineAnnotation) GetNormalizedPolyline() *NormalizedPolyline
func (*PolylineAnnotation) ProtoMessage()
func (x *PolylineAnnotation) ProtoReflect() protoreflect.Message
func (x *PolylineAnnotation) Reset()
func (x *PolylineAnnotation) String() string
Polyline Annotation type.
type PolylineAnnotationSet struct {
// contains filtered or unexported fields
}
func (*PolylineAnnotationSet) Descriptor() ([]byte, []int)
Deprecated: Use PolylineAnnotationSet.ProtoReflect.Descriptor instead.
func (*PolylineAnnotationSet) ProtoMessage()
func (x *PolylineAnnotationSet) ProtoReflect() protoreflect.Message
func (x *PolylineAnnotationSet) Reset()
func (x *PolylineAnnotationSet) String() string
Detailed input and output information of an image segmentation module.
type SegmentationModule struct { // Regions to search on for the query image, anything outside of these regions // will not be considered from the module. The query images can be defined in // the template image or predicted per image from other modules. If // query_regions are not specified, the full image will be used as a single // query region. QueryRegions []*AnnotationInput `protobuf:"bytes,1,rep,name=query_regions,json=queryRegions,proto3" json:"query_regions,omitempty"` // Regions within the template image to transfer to the query image. InspectionRegions []*AnnotationInput `protobuf:"bytes,2,rep,name=inspection_regions,json=inspectionRegions,proto3" json:"inspection_regions,omitempty"` // Required. The segmentation regions to learn the representation of. SegmentationRegions []*AnnotationInput `protobuf:"bytes,3,rep,name=segmentation_regions,json=segmentationRegions,proto3" json:"segmentation_regions,omitempty"` // The segmentation predictions in inspection regions by the module. InspectionRegionPredictions []*AnnotationOutput `protobuf:"bytes,4,rep,name=inspection_region_predictions,json=inspectionRegionPredictions,proto3" json:"inspection_region_predictions,omitempty"` // Required. The segmentation predictions by the module. SegmentationPredictions []*AnnotationOutput `protobuf:"bytes,5,rep,name=segmentation_predictions,json=segmentationPredictions,proto3" json:"segmentation_predictions,omitempty"` // contains filtered or unexported fields }
func (*SegmentationModule) Descriptor() ([]byte, []int)
Deprecated: Use SegmentationModule.ProtoReflect.Descriptor instead.
func (x *SegmentationModule) GetInspectionRegionPredictions() []*AnnotationOutput
func (x *SegmentationModule) GetInspectionRegions() []*AnnotationInput
func (x *SegmentationModule) GetQueryRegions() []*AnnotationInput
func (x *SegmentationModule) GetSegmentationPredictions() []*AnnotationOutput
func (x *SegmentationModule) GetSegmentationRegions() []*AnnotationInput
func (*SegmentationModule) ProtoMessage()
func (x *SegmentationModule) ProtoReflect() protoreflect.Message
func (x *SegmentationModule) Reset()
func (x *SegmentationModule) String() string
A solution is a set of models and algorithms combined together that will solve a specific visual inspection problem.
type Solution struct { // A unique name for the solution. // This is an alphanumeric identifier generated by the system // ([A-Z][A-Z0-9]+). Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // A user friendly display name for the solution. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Data input file specifies the input dataset for creating (training) // the solution. This must be a GCS URI path i.e. of the form // gs://<bucket_name>/<path to file>. The data file format is JSONL with each // line following the format below (also see examples for Board Inspection // and Cosmetic Inspection below). // ``` // { // # Note: Only needed for Board inspection. // "golden_images": [ // { // "template_image_gcs_uri": "GCS path to template image.", // "inspection_area_and_regions": [ // { // "inspection_area": { // "inspection_area_id": "<unique id for inspection area.", // "bounding_poly": { // "normalized_vertices": [ // { "x": 0.1, "y": 0.2 }, // { "x": 0.1, "y": 0.2 }, // { "x": 0.1, "y": 0.2 }, // { "x": 0.1, "y": 0.2 }, // ] // } // }, // "regions": [ // "bounding_poly": { // "normalized_vertices": [ // { "x": 0.1, "y": 0.2 }, // { "x": 0.1, "y": 0.2 }, // { "x": 0.1, "y": 0.2 }, // { "x": 0.1, "y": 0.2 }, // ] // }, // "region_metadata": { // "region_id": "<region id>", // "region_name": "<region name>", // "component_id": "<component id>", // "component_name": "<component name>" // "other_keywords": { // "keyword1": "value1", // "keyword2": "value2" // } // } // ] // } // ] // } // ] // # finetune_from_solution_id can be omitted. // "finetune_from_solution_id": "<id of existing solution>", // // // "image_and_annotations": [ // { // "image_gcs_uri": "<path to the image.", // "image_properties": { // "image_property1": "value1", // "image_property2": "value2" // }, // "inspection_state": // // "INSPECTION_STATE_UNLABELED|INSPECTION_STATE_NON_DEFECTIVE|INSPECTION_STATE_DEFECTIVE", // // # Note: Only needed for Board inspection. // "region_id_and_defective_labels": [ // { // "inspection_area_id": "<inspection area id>", // "region_id": "<region id>", // "inspection_state": // // "INSPECTION_STATE_UNLABELED|INSPECTION_STATE_NON_DEFECTIVE|INSPECTION_STATE_DEFECTIVE", // "defect_label_name": "defect label name." // } // ], // # Note: Only needed for Cosmetic Inspection. // "localized_region": [ // { // "bounding_poly": { // "normalized_vertices": [ // { "x": 0.1, "y": 0.2 }, // { "x": 0.1, "y": 0.2 }, // { "x": 0.1, "y": 0.2 }, // { "x": 0.1, "y": 0.2 }, // ] // }, // "region_metadata": { // "region_id": "<region id>", // "region_name": "<region name>", // "component_id": "<component id>", // "component_name": "<component name>" // "other_keywords": { // "keyword1": "value1", // "keyword2": "value2" // } // } // } // ], // # Note: Only needed for Cosmetic Inspection. // "segmentation_annotation": { // "mask": { // "mask": { // "gcs_uri": "<gcs path to the image.>", // "class_map": { // 1: "scratch", // 2: "glue" // } // } // } // } // } // ] // } // // ``` // Here's an example for Board Inspection. // { // # Note: Only needed for Board inspection. // "golden_images": [ // { // "template_image_gcs_uri": "GCS path to template image.", // "inspection_area_and_regions": [ // { // "inspection_area": { // "inspection_area_id": "<unique id for inspection area.", // "bounding_poly": { // "normalized_vertices": [ // { "x": 0.1, "y": 0.2 }, // { "x": 0.1, "y": 0.2 }, // { "x": 0.1, "y": 0.2 }, // { "x": 0.1, "y": 0.2 }, // ] // } // }, // "regions": [ // "bounding_poly": { // "normalized_vertices": [ // { "x": 0.1, "y": 0.2 }, // { "x": 0.1, "y": 0.2 }, // { "x": 0.1, "y": 0.2 }, // { "x": 0.1, "y": 0.2 }, // ] // }, // "region_metadata": { // "region_id": "<region id>", // "region_name": "<region name>", // "component_id": "<component id>", // "component_name": "<component name>" // "other_keywords": { // "keyword1": "value1", // "keyword2": "value2" // } // } // ] // } // ] // } // ] // # finetune_from_solution_id can be omitted. // "finetune_from_solution_id": "<id of existing solution>", // // // "image_and_annotations": [ // { // "image_gcs_uri": "<path to the image.", // "image_properties": { // "image_property1": "value1", // "image_property2": "value2" // }, // "inspection_state": // // "INSPECTION_STATE_UNLABELED|INSPECTION_STATE_NON_DEFECTIVE|INSPECTION_STATE_DEFECTIVE", // // # Note: Only needed for Board inspection. // "region_id_and_defective_labels": [ // { // "inspection_area_id": "<inspection area id>", // "region_id": "<region id>", // "inspection_state": // // "INSPECTION_STATE_UNLABELED|INSPECTION_STATE_NON_DEFECTIVE|INSPECTION_STATE_DEFECTIVE", // "defect_label_name": "defect label name." // } // ], // } // ] // } // // ``` // Here's an example for Cosmetic Inspection. // /``` // { // # finetune_from_solution_id can be omitted. // "finetune_from_solution_id": "<id of existing solution>", // "image_and_annotations": [ // { // "image_gcs_uri": "<path to the image.", // "image_properties": { // "image_property1": "value1", // "image_property2": "value2" // }, // "inspection_state": // // "INSPECTION_STATE_UNLABELED|INSPECTION_STATE_NON_DEFECTIVE|INSPECTION_STATE_DEFECTIVE", // // # Note: Only needed for Cosmetic Inspection. // "localized_region": [ // { // "bounding_poly": { // "normalized_vertices": [ // { "x": 0.1, "y": 0.2 }, // { "x": 0.1, "y": 0.2 }, // { "x": 0.1, "y": 0.2 }, // { "x": 0.1, "y": 0.2 }, // ] // }, // "region_metadata": { // "region_id": "<region id>", // "region_name": "<region name>", // "component_id": "<component id>", // "component_name": "<component name>" // "other_keywords": { // "keyword1": "value1", // "keyword2": "value2" // } // } // } // ], // # Note: Only needed for Cosmetic Inspection. // "segmentation_annotation": { // "mask": { // "mask": { // "gcs_uri": "<gcs path to the image.>", // "class_map": { // 1: "scratch", // 2: "glue" // } // } // } // } // } // ] // } // ``` GcsDataInputUri string `protobuf:"bytes,3,opt,name=gcs_data_input_uri,json=gcsDataInputUri,proto3" json:"gcs_data_input_uri,omitempty"` // Optional. Type of the solution. Valid values are: // * `assembly`: Solution for finding defects in PCB like components. This // is the default value. // * `cosmetic`: Solution for finding cosmetic defects on a device. // Examples include finding scratches or dust particles on // a device. Type string `protobuf:"bytes,7,opt,name=type,proto3" json:"type,omitempty"` // Optional. Solution creation train configuration. TrainingConfig *Solution_TrainingConfig `protobuf:"bytes,9,opt,name=training_config,json=trainingConfig,proto3" json:"training_config,omitempty"` // Output only. Timestamp when the all the models in the solution were trained // and evaluated. CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. Timestamp when this solution was last updated. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Optional. A description for this Solution. Description string `protobuf:"bytes,10,opt,name=description,proto3" json:"description,omitempty"` // Required. The Dataset of this Solution. DatasetId string `protobuf:"bytes,11,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"` // Optional. The labels with user-defined metadata to organize your Solutions. // // Label keys and values can be no longer than 64 characters // (Unicode codepoints), can only contain lowercase letters, numeric // characters, underscores and dashes. International characters are allowed. // Label keys must start with a letter. // // See https://goo.gl/xmQnxf for more information on and examples of labels. Labels map[string]string `protobuf:"bytes,12,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Required. The SolutionType of this Solution. This restricts the allowable // Modules and the linkage between them according to predefined solution // schema. SolutionType *Solution_SolutionType `protobuf:"bytes,13,opt,name=solution_type,json=solutionType,proto3" json:"solution_type,omitempty"` // contains filtered or unexported fields }
func (*Solution) Descriptor() ([]byte, []int)
Deprecated: Use Solution.ProtoReflect.Descriptor instead.
func (x *Solution) GetCreateTime() *timestamppb.Timestamp
func (x *Solution) GetDatasetId() string
func (x *Solution) GetDescription() string
func (x *Solution) GetDisplayName() string
func (x *Solution) GetGcsDataInputUri() string
func (x *Solution) GetLabels() map[string]string
func (x *Solution) GetName() string
func (x *Solution) GetSolutionType() *Solution_SolutionType
func (x *Solution) GetTrainingConfig() *Solution_TrainingConfig
func (x *Solution) GetType() string
func (x *Solution) GetUpdateTime() *timestamppb.Timestamp
func (*Solution) ProtoMessage()
func (x *Solution) ProtoReflect() protoreflect.Message
func (x *Solution) Reset()
func (x *Solution) String() string
A SolutionArtifact is a fixed set of Models which can be exported or deployed.
type SolutionArtifact struct { // Types that are assignable to ExportLocation: // *SolutionArtifact_ContainerExportLocation // *SolutionArtifact_PackagedArchiveGcsUri ExportLocation isSolutionArtifact_ExportLocation `protobuf_oneof:"export_location"` // Output only. Resource name for SolutionArtifact generated by the system. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Output only. Timestamp when this Module was created. CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Required. A user friendly display name for the SolutionArtifact. // The name can be up to 128 characters long and can consist of any UTF-8 // characters. DisplayName string `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // A description for this SolutionArtifact. Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` // The labels with user-defined metadata to organize your SolutionArtifacts. // // Label keys and values can be no longer than 64 characters // (Unicode codepoints), can only contain lowercase letters, numeric // characters, underscores and dashes. International characters are allowed. // Label keys must start with a letter. // // See https://goo.gl/xmQnxf for more information on and examples of labels. Labels map[string]string `protobuf:"bytes,6,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // A list of Models to include in the exported solution. If this field is not // provided in the CreateSolutionArtifactRequest, the latest Model for every // Module will be exported. If provided, then only these Models are exported. // The list of models must comprise a complete solution according to the // expectations set by the Solution's SolutionType. Models []string `protobuf:"bytes,7,rep,name=models,proto3" json:"models,omitempty"` // Required. Export type. ExportType SolutionArtifact_ExportType `protobuf:"varint,8,opt,name=export_type,json=exportType,proto3,enum=google.cloud.visualinspection.v1beta1.SolutionArtifact_ExportType" json:"export_type,omitempty"` // contains filtered or unexported fields }
func (*SolutionArtifact) Descriptor() ([]byte, []int)
Deprecated: Use SolutionArtifact.ProtoReflect.Descriptor instead.
func (x *SolutionArtifact) GetContainerExportLocation() *GcrDestination
func (x *SolutionArtifact) GetCreateTime() *timestamppb.Timestamp
func (x *SolutionArtifact) GetDescription() string
func (x *SolutionArtifact) GetDisplayName() string
func (m *SolutionArtifact) GetExportLocation() isSolutionArtifact_ExportLocation
func (x *SolutionArtifact) GetExportType() SolutionArtifact_ExportType
func (x *SolutionArtifact) GetLabels() map[string]string
func (x *SolutionArtifact) GetModels() []string
func (x *SolutionArtifact) GetName() string
func (x *SolutionArtifact) GetPackagedArchiveGcsUri() string
func (*SolutionArtifact) ProtoMessage()
func (x *SolutionArtifact) ProtoReflect() protoreflect.Message
func (x *SolutionArtifact) Reset()
func (x *SolutionArtifact) String() string
type SolutionArtifact_ContainerExportLocation struct { // Export location for the container. This must be specified when export // type is a CONTAINER type. ContainerExportLocation *GcrDestination `protobuf:"bytes,9,opt,name=container_export_location,json=containerExportLocation,proto3,oneof"` }
Export format types.
type SolutionArtifact_ExportType int32
const ( // Unspecified by the user. SolutionArtifact_EXPORT_TYPE_UNSPECIFIED SolutionArtifact_ExportType = 0 // A Docker-compatible container which runs on CPU only. SolutionArtifact_CPU_CONTAINER SolutionArtifact_ExportType = 1 // A Docker-compatible container which runs on GPU. SolutionArtifact_GPU_CONTAINER SolutionArtifact_ExportType = 2 // Packaged archive without the Docker container. It might include multiple // models, images, and other configuration files in one package. SolutionArtifact_PACKAGED_ARCHIVE SolutionArtifact_ExportType = 3 )
func (SolutionArtifact_ExportType) Descriptor() protoreflect.EnumDescriptor
func (x SolutionArtifact_ExportType) Enum() *SolutionArtifact_ExportType
func (SolutionArtifact_ExportType) EnumDescriptor() ([]byte, []int)
Deprecated: Use SolutionArtifact_ExportType.Descriptor instead.
func (x SolutionArtifact_ExportType) Number() protoreflect.EnumNumber
func (x SolutionArtifact_ExportType) String() string
func (SolutionArtifact_ExportType) Type() protoreflect.EnumType
type SolutionArtifact_PackagedArchiveGcsUri struct { // Export location for the packaged archive in the format like // gs://<BUCKET_NAME>/<OBJECT_NAME>.tar.gz. This must be specified when // export type is PACKAGED_ARCHIVE. PackagedArchiveGcsUri string `protobuf:"bytes,10,opt,name=packaged_archive_gcs_uri,json=packagedArchiveGcsUri,proto3,oneof"` }
Solution operation metadata.
type SolutionOperationMetadata struct { // Output only. Common operation metadata. CommonOperationMetadata *CommonOperationMetadata `protobuf:"bytes,1,opt,name=common_operation_metadata,json=commonOperationMetadata,proto3" json:"common_operation_metadata,omitempty"` // contains filtered or unexported fields }
func (*SolutionOperationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use SolutionOperationMetadata.ProtoReflect.Descriptor instead.
func (x *SolutionOperationMetadata) GetCommonOperationMetadata() *CommonOperationMetadata
func (*SolutionOperationMetadata) ProtoMessage()
func (x *SolutionOperationMetadata) ProtoReflect() protoreflect.Message
func (x *SolutionOperationMetadata) Reset()
func (x *SolutionOperationMetadata) String() string
A predefined SolutionType.
type Solution_SolutionType struct { // The predefined type of this Solution. // // Types that are assignable to Type: // *Solution_SolutionType_AssemblyInspection // *Solution_SolutionType_CosmeticInspection // *Solution_SolutionType_CustomInspection Type isSolution_SolutionType_Type `protobuf_oneof:"type"` // contains filtered or unexported fields }
func (*Solution_SolutionType) Descriptor() ([]byte, []int)
Deprecated: Use Solution_SolutionType.ProtoReflect.Descriptor instead.
func (x *Solution_SolutionType) GetAssemblyInspection() *Solution_SolutionType_AssemblyInspectionOptions
func (x *Solution_SolutionType) GetCosmeticInspection() *Solution_SolutionType_CosmeticInspectionOptions
func (x *Solution_SolutionType) GetCustomInspection() *Solution_SolutionType_CustomInspectionOptions
func (m *Solution_SolutionType) GetType() isSolution_SolutionType_Type
func (*Solution_SolutionType) ProtoMessage()
func (x *Solution_SolutionType) ProtoReflect() protoreflect.Message
func (x *Solution_SolutionType) Reset()
func (x *Solution_SolutionType) String() string
type Solution_SolutionType_AssemblyInspection struct { // Predefined solution for assembly inspection. AssemblyInspection *Solution_SolutionType_AssemblyInspectionOptions `protobuf:"bytes,1,opt,name=assembly_inspection,json=assemblyInspection,proto3,oneof"` }
Options for an assembly inspection Solution.
type Solution_SolutionType_AssemblyInspectionOptions struct {
// contains filtered or unexported fields
}
func (*Solution_SolutionType_AssemblyInspectionOptions) Descriptor() ([]byte, []int)
Deprecated: Use Solution_SolutionType_AssemblyInspectionOptions.ProtoReflect.Descriptor instead.
func (*Solution_SolutionType_AssemblyInspectionOptions) ProtoMessage()
func (x *Solution_SolutionType_AssemblyInspectionOptions) ProtoReflect() protoreflect.Message
func (x *Solution_SolutionType_AssemblyInspectionOptions) Reset()
func (x *Solution_SolutionType_AssemblyInspectionOptions) String() string
type Solution_SolutionType_CosmeticInspection struct { // Predefined solution for cosmetic inspection. CosmeticInspection *Solution_SolutionType_CosmeticInspectionOptions `protobuf:"bytes,2,opt,name=cosmetic_inspection,json=cosmeticInspection,proto3,oneof"` }
Options for cosmetic inspection Solution.
type Solution_SolutionType_CosmeticInspectionOptions struct {
// contains filtered or unexported fields
}
func (*Solution_SolutionType_CosmeticInspectionOptions) Descriptor() ([]byte, []int)
Deprecated: Use Solution_SolutionType_CosmeticInspectionOptions.ProtoReflect.Descriptor instead.
func (*Solution_SolutionType_CosmeticInspectionOptions) ProtoMessage()
func (x *Solution_SolutionType_CosmeticInspectionOptions) ProtoReflect() protoreflect.Message
func (x *Solution_SolutionType_CosmeticInspectionOptions) Reset()
func (x *Solution_SolutionType_CosmeticInspectionOptions) String() string
type Solution_SolutionType_CustomInspection struct { // Customized solution for inspection. CustomInspection *Solution_SolutionType_CustomInspectionOptions `protobuf:"bytes,3,opt,name=custom_inspection,json=customInspection,proto3,oneof"` }
Options for a custom inspection Solution.
type Solution_SolutionType_CustomInspectionOptions struct {
// contains filtered or unexported fields
}
func (*Solution_SolutionType_CustomInspectionOptions) Descriptor() ([]byte, []int)
Deprecated: Use Solution_SolutionType_CustomInspectionOptions.ProtoReflect.Descriptor instead.
func (*Solution_SolutionType_CustomInspectionOptions) ProtoMessage()
func (x *Solution_SolutionType_CustomInspectionOptions) ProtoReflect() protoreflect.Message
func (x *Solution_SolutionType_CustomInspectionOptions) Reset()
func (x *Solution_SolutionType_CustomInspectionOptions) String() string
Configuration specific to training parameters.
type Solution_TrainingConfig struct { // Optional. Training time for each individual artifacts. TrainingDuration *durationpb.Duration `protobuf:"bytes,1,opt,name=training_duration,json=trainingDuration,proto3" json:"training_duration,omitempty"` // Optional. Structured object containing parameters to fine tune the // training behavior. Parameters *structpb.Struct `protobuf:"bytes,2,opt,name=parameters,proto3" json:"parameters,omitempty"` // contains filtered or unexported fields }
func (*Solution_TrainingConfig) Descriptor() ([]byte, []int)
Deprecated: Use Solution_TrainingConfig.ProtoReflect.Descriptor instead.
func (x *Solution_TrainingConfig) GetParameters() *structpb.Struct
func (x *Solution_TrainingConfig) GetTrainingDuration() *durationpb.Duration
func (*Solution_TrainingConfig) ProtoMessage()
func (x *Solution_TrainingConfig) ProtoReflect() protoreflect.Message
func (x *Solution_TrainingConfig) Reset()
func (x *Solution_TrainingConfig) String() string
Detailed input and output information of a sparse alignment localization module.
type SparseAlignmentLocalizationModule struct { // Regions within the query image to align. Multiple regions could be aligned // per Image. QueryRegions []*AnnotationInput `protobuf:"bytes,1,rep,name=query_regions,json=queryRegions,proto3" json:"query_regions,omitempty"` // Regions within the template image to transfer to the query image. TargetRegions []*AnnotationInput `protobuf:"bytes,2,rep,name=target_regions,json=targetRegions,proto3" json:"target_regions,omitempty"` // Regions that define the portion of the template image from which to extract // local features. These have both include/exclude Annotations, distinguished // by labels on the AnnotationSpec. InspectionRegions []*AnnotationInput `protobuf:"bytes,3,rep,name=inspection_regions,json=inspectionRegions,proto3" json:"inspection_regions,omitempty"` // The target regions transformed by the module. TargetRegionPredictions []*AnnotationOutput `protobuf:"bytes,4,rep,name=target_region_predictions,json=targetRegionPredictions,proto3" json:"target_region_predictions,omitempty"` // The inspection regions transformed by the module. InspectionRegionPredictions []*AnnotationOutput `protobuf:"bytes,5,rep,name=inspection_region_predictions,json=inspectionRegionPredictions,proto3" json:"inspection_region_predictions,omitempty"` // contains filtered or unexported fields }
func (*SparseAlignmentLocalizationModule) Descriptor() ([]byte, []int)
Deprecated: Use SparseAlignmentLocalizationModule.ProtoReflect.Descriptor instead.
func (x *SparseAlignmentLocalizationModule) GetInspectionRegionPredictions() []*AnnotationOutput
func (x *SparseAlignmentLocalizationModule) GetInspectionRegions() []*AnnotationInput
func (x *SparseAlignmentLocalizationModule) GetQueryRegions() []*AnnotationInput
func (x *SparseAlignmentLocalizationModule) GetTargetRegionPredictions() []*AnnotationOutput
func (x *SparseAlignmentLocalizationModule) GetTargetRegions() []*AnnotationInput
func (*SparseAlignmentLocalizationModule) ProtoMessage()
func (x *SparseAlignmentLocalizationModule) ProtoReflect() protoreflect.Message
func (x *SparseAlignmentLocalizationModule) Reset()
func (x *SparseAlignmentLocalizationModule) String() string
SpecialistPool represents customers' own workforce to work on their data labeling jobs. It includes a group of specialist managers who are responsible for managing the labelers in this pool as well as customers' data labeling jobs associated with this pool. Customers create specialist pool as well as start data labeling jobs on Cloud, managers and labelers work with the jobs using CrowdCompute console.
type SpecialistPool struct { // Output only. Resource name for the SpecialistPool. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Required. A user friendly display name for the Dataset. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Output only. The number of Specialists in this SpecialistPool. SpecialistManagersCount int32 `protobuf:"varint,3,opt,name=specialist_managers_count,json=specialistManagersCount,proto3" json:"specialist_managers_count,omitempty"` // The email addresses of the specialists in the SpecialistPool. SpecialistManagerEmails []string `protobuf:"bytes,4,rep,name=specialist_manager_emails,json=specialistManagerEmails,proto3" json:"specialist_manager_emails,omitempty"` // contains filtered or unexported fields }
func (*SpecialistPool) Descriptor() ([]byte, []int)
Deprecated: Use SpecialistPool.ProtoReflect.Descriptor instead.
func (x *SpecialistPool) GetDisplayName() string
func (x *SpecialistPool) GetName() string
func (x *SpecialistPool) GetSpecialistManagerEmails() []string
func (x *SpecialistPool) GetSpecialistManagersCount() int32
func (*SpecialistPool) ProtoMessage()
func (x *SpecialistPool) ProtoReflect() protoreflect.Message
func (x *SpecialistPool) Reset()
func (x *SpecialistPool) String() string
Undeploy solution metadata to distinguish that the operation is an export solution operation.
type UndeploySolutionOperationMetadata struct { // Output only. Common operation metadata. CommonOperationMetadata *CommonOperationMetadata `protobuf:"bytes,1,opt,name=common_operation_metadata,json=commonOperationMetadata,proto3" json:"common_operation_metadata,omitempty"` // contains filtered or unexported fields }
func (*UndeploySolutionOperationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use UndeploySolutionOperationMetadata.ProtoReflect.Descriptor instead.
func (x *UndeploySolutionOperationMetadata) GetCommonOperationMetadata() *CommonOperationMetadata
func (*UndeploySolutionOperationMetadata) ProtoMessage()
func (x *UndeploySolutionOperationMetadata) ProtoReflect() protoreflect.Message
func (x *UndeploySolutionOperationMetadata) Reset()
func (x *UndeploySolutionOperationMetadata) String() string
UnimplementedVisualInspectionServer can be embedded to have forward compatible implementations.
type UnimplementedVisualInspectionServer struct { }
func (*UnimplementedVisualInspectionServer) BatchPredict(context.Context, *BatchPredictRequest) (*longrunning.Operation, error)
func (*UnimplementedVisualInspectionServer) CancelLabelingJob(context.Context, *CancelLabelingJobRequest) (*emptypb.Empty, error)
func (*UnimplementedVisualInspectionServer) CreateAnnotationSet(context.Context, *CreateAnnotationSetRequest) (*AnnotationSet, error)
func (*UnimplementedVisualInspectionServer) CreateAnnotationSpec(context.Context, *CreateAnnotationSpecRequest) (*AnnotationSpec, error)
func (*UnimplementedVisualInspectionServer) CreateLabelingJob(context.Context, *CreateLabelingJobRequest) (*LabelingJob, error)
func (*UnimplementedVisualInspectionServer) CreateModel(context.Context, *CreateModelRequest) (*longrunning.Operation, error)
func (*UnimplementedVisualInspectionServer) CreateModule(context.Context, *CreateModuleRequest) (*Module, error)
func (*UnimplementedVisualInspectionServer) CreateSolution(context.Context, *CreateSolutionRequest) (*longrunning.Operation, error)
func (*UnimplementedVisualInspectionServer) CreateSolutionArtifact(context.Context, *CreateSolutionArtifactRequest) (*longrunning.Operation, error)
func (*UnimplementedVisualInspectionServer) CreateSpecialistPool(context.Context, *CreateSpecialistPoolRequest) (*longrunning.Operation, error)
func (*UnimplementedVisualInspectionServer) DeleteDataset(context.Context, *DeleteDatasetRequest) (*longrunning.Operation, error)
func (*UnimplementedVisualInspectionServer) DeleteLabelingJob(context.Context, *DeleteLabelingJobRequest) (*longrunning.Operation, error)
func (*UnimplementedVisualInspectionServer) DeleteModel(context.Context, *DeleteModelRequest) (*longrunning.Operation, error)
func (*UnimplementedVisualInspectionServer) DeleteModule(context.Context, *DeleteModuleRequest) (*longrunning.Operation, error)
func (*UnimplementedVisualInspectionServer) DeleteSolutionArtifact(context.Context, *DeleteSolutionArtifactRequest) (*longrunning.Operation, error)
func (*UnimplementedVisualInspectionServer) DeleteSpecialistPool(context.Context, *DeleteSpecialistPoolRequest) (*longrunning.Operation, error)
func (*UnimplementedVisualInspectionServer) ExportData(context.Context, *ExportDataRequest) (*longrunning.Operation, error)
func (*UnimplementedVisualInspectionServer) GetDataset(context.Context, *GetDatasetRequest) (*Dataset, error)
func (*UnimplementedVisualInspectionServer) GetImage(context.Context, *GetImageRequest) (*Image, error)
func (*UnimplementedVisualInspectionServer) GetLabelingJob(context.Context, *GetLabelingJobRequest) (*LabelingJob, error)
func (*UnimplementedVisualInspectionServer) GetModel(context.Context, *GetModelRequest) (*Model, error)
func (*UnimplementedVisualInspectionServer) GetModelEvaluation(context.Context, *GetModelEvaluationRequest) (*ModelEvaluation, error)
func (*UnimplementedVisualInspectionServer) GetModule(context.Context, *GetModuleRequest) (*Module, error)
func (*UnimplementedVisualInspectionServer) GetSolution(context.Context, *GetSolutionRequest) (*Solution, error)
func (*UnimplementedVisualInspectionServer) GetSolutionArtifact(context.Context, *GetSolutionArtifactRequest) (*SolutionArtifact, error)
func (*UnimplementedVisualInspectionServer) GetSpecialistPool(context.Context, *GetSpecialistPoolRequest) (*SpecialistPool, error)
func (*UnimplementedVisualInspectionServer) ImportData(context.Context, *ImportDataRequest) (*longrunning.Operation, error)
func (*UnimplementedVisualInspectionServer) ListAnnotationSets(context.Context, *ListAnnotationSetsRequest) (*ListAnnotationSetsResponse, error)
func (*UnimplementedVisualInspectionServer) ListAnnotationSpecs(context.Context, *ListAnnotationSpecsRequest) (*ListAnnotationSpecsResponse, error)
func (*UnimplementedVisualInspectionServer) ListAnnotations(context.Context, *ListAnnotationsRequest) (*ListAnnotationsResponse, error)
func (*UnimplementedVisualInspectionServer) ListDatasets(context.Context, *ListDatasetsRequest) (*ListDatasetsResponse, error)
func (*UnimplementedVisualInspectionServer) ListImages(context.Context, *ListImagesRequest) (*ListImagesResponse, error)
func (*UnimplementedVisualInspectionServer) ListLabelingJobs(context.Context, *ListLabelingJobsRequest) (*ListLabelingJobsResponse, error)
func (*UnimplementedVisualInspectionServer) ListModelEvaluations(context.Context, *ListModelEvaluationsRequest) (*ListModelEvaluationsResponse, error)
func (*UnimplementedVisualInspectionServer) ListModels(context.Context, *ListModelsRequest) (*ListModelsResponse, error)
func (*UnimplementedVisualInspectionServer) ListModules(context.Context, *ListModulesRequest) (*ListModulesResponse, error)
func (*UnimplementedVisualInspectionServer) ListSolutionArtifacts(context.Context, *ListSolutionArtifactsRequest) (*ListSolutionArtifactsResponse, error)
func (*UnimplementedVisualInspectionServer) ListSolutions(context.Context, *ListSolutionsRequest) (*ListSolutionsResponse, error)
func (*UnimplementedVisualInspectionServer) ListSpecialistPools(context.Context, *ListSpecialistPoolsRequest) (*ListSpecialistPoolsResponse, error)
func (*UnimplementedVisualInspectionServer) UpdateModel(context.Context, *UpdateModelRequest) (*Model, error)
func (*UnimplementedVisualInspectionServer) UpdateModule(context.Context, *UpdateModuleRequest) (*Module, error)
func (*UnimplementedVisualInspectionServer) UpdateSolutionArtifact(context.Context, *UpdateSolutionArtifactRequest) (*SolutionArtifact, error)
func (*UnimplementedVisualInspectionServer) UpdateSpecialistPool(context.Context, *UpdateSpecialistPoolRequest) (*longrunning.Operation, error)
func (*UnimplementedVisualInspectionServer) WritePredictions(context.Context, *WritePredictionsRequest) (*longrunning.Operation, error)
Request for updating a Model.
type UpdateModelRequest struct { // Required. The Model which replaces the resource on the server. Model *Model `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"` // Required. The update mask applies to the resource. // For the `FieldMask` definition, see // // [FieldMask](https: // //developers.google.com/protocol-buffers // // /docs/reference/google.protobuf#fieldmask). UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
func (*UpdateModelRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateModelRequest.ProtoReflect.Descriptor instead.
func (x *UpdateModelRequest) GetModel() *Model
func (x *UpdateModelRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateModelRequest) ProtoMessage()
func (x *UpdateModelRequest) ProtoReflect() protoreflect.Message
func (x *UpdateModelRequest) Reset()
func (x *UpdateModelRequest) String() string
Request for updating a Module.
type UpdateModuleRequest struct { // Required. The Module which replaces the resource on the server. Module *Module `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"` // Required. The update mask applies to the resource. // For the `FieldMask` definition, see // // [FieldMask](https: // //developers.google.com/protocol-buffers // // /docs/reference/google.protobuf#fieldmask). UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
func (*UpdateModuleRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateModuleRequest.ProtoReflect.Descriptor instead.
func (x *UpdateModuleRequest) GetModule() *Module
func (x *UpdateModuleRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateModuleRequest) ProtoMessage()
func (x *UpdateModuleRequest) ProtoReflect() protoreflect.Message
func (x *UpdateModuleRequest) Reset()
func (x *UpdateModuleRequest) String() string
Request for updating a SolutionArtifact.
type UpdateSolutionArtifactRequest struct { // Required. The SolutionArtifact which replaces the resource on the server. SolutionArtifact *SolutionArtifact `protobuf:"bytes,1,opt,name=solution_artifact,json=solutionArtifact,proto3" json:"solution_artifact,omitempty"` // Required. The update mask applies to the resource. // For the `FieldMask` definition, see // // [FieldMask](https: // //developers.google.com/protocol-buffers // // /docs/reference/google.protobuf#fieldmask). UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
func (*UpdateSolutionArtifactRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSolutionArtifactRequest.ProtoReflect.Descriptor instead.
func (x *UpdateSolutionArtifactRequest) GetSolutionArtifact() *SolutionArtifact
func (x *UpdateSolutionArtifactRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateSolutionArtifactRequest) ProtoMessage()
func (x *UpdateSolutionArtifactRequest) ProtoReflect() protoreflect.Message
func (x *UpdateSolutionArtifactRequest) Reset()
func (x *UpdateSolutionArtifactRequest) String() string
Operation metadata for UpdateSpecialistPool.
type UpdateSpecialistPoolOperationMetadata struct { // Output only. Common operation metadata. CommonOperationMetadata *CommonOperationMetadata `protobuf:"bytes,1,opt,name=common_operation_metadata,json=commonOperationMetadata,proto3" json:"common_operation_metadata,omitempty"` // contains filtered or unexported fields }
func (*UpdateSpecialistPoolOperationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSpecialistPoolOperationMetadata.ProtoReflect.Descriptor instead.
func (x *UpdateSpecialistPoolOperationMetadata) GetCommonOperationMetadata() *CommonOperationMetadata
func (*UpdateSpecialistPoolOperationMetadata) ProtoMessage()
func (x *UpdateSpecialistPoolOperationMetadata) ProtoReflect() protoreflect.Message
func (x *UpdateSpecialistPoolOperationMetadata) Reset()
func (x *UpdateSpecialistPoolOperationMetadata) String() string
Request for updating a SpecialistPool.
type UpdateSpecialistPoolRequest struct { // Required. The SpecialistPool which replaces the resource on the server. SpecialistPool *SpecialistPool `protobuf:"bytes,1,opt,name=specialist_pool,json=specialistPool,proto3" json:"specialist_pool,omitempty"` // Required. The update mask applies to the resource. // For the `FieldMask` definition, see // // [FieldMask](https: // //developers.google.com/protocol-buffers // // /docs/reference/google.protobuf#fieldmask). UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
func (*UpdateSpecialistPoolRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSpecialistPoolRequest.ProtoReflect.Descriptor instead.
func (x *UpdateSpecialistPoolRequest) GetSpecialistPool() *SpecialistPool
func (x *UpdateSpecialistPoolRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateSpecialistPoolRequest) ProtoMessage()
func (x *UpdateSpecialistPoolRequest) ProtoReflect() protoreflect.Message
func (x *UpdateSpecialistPoolRequest) Reset()
func (x *UpdateSpecialistPoolRequest) String() string
VisualInspectionClient is the client API for VisualInspection service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type VisualInspectionClient interface { // Creates a solution. CreateSolution(ctx context.Context, in *CreateSolutionRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Lists solutions. ListSolutions(ctx context.Context, in *ListSolutionsRequest, opts ...grpc.CallOption) (*ListSolutionsResponse, error) // Gets a solution. GetSolution(ctx context.Context, in *GetSolutionRequest, opts ...grpc.CallOption) (*Solution, error) // Creates a SolutionArtifact. CreateSolutionArtifact(ctx context.Context, in *CreateSolutionArtifactRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Lists SolutionArtifacts in a Solution. ListSolutionArtifacts(ctx context.Context, in *ListSolutionArtifactsRequest, opts ...grpc.CallOption) (*ListSolutionArtifactsResponse, error) // Gets a SolutionArtifact. GetSolutionArtifact(ctx context.Context, in *GetSolutionArtifactRequest, opts ...grpc.CallOption) (*SolutionArtifact, error) // Deletes a SolutionArtifact. Only the subject SolutionArtifact is affected // by this operation. The SolutionArtifact's Models remain unchanged. DeleteSolutionArtifact(ctx context.Context, in *DeleteSolutionArtifactRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Updates a SolutionArtifact. UpdateSolutionArtifact(ctx context.Context, in *UpdateSolutionArtifactRequest, opts ...grpc.CallOption) (*SolutionArtifact, error) // Perform batch prediction on a given SolutionArtifact. BatchPredict(ctx context.Context, in *BatchPredictRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Gets a Dataset. GetDataset(ctx context.Context, in *GetDatasetRequest, opts ...grpc.CallOption) (*Dataset, error) // Lists Datasets in a Project. ListDatasets(ctx context.Context, in *ListDatasetsRequest, opts ...grpc.CallOption) (*ListDatasetsResponse, error) // Deletes a Dataset. DeleteDataset(ctx context.Context, in *DeleteDatasetRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Imports data to a Dataset. ImportData(ctx context.Context, in *ImportDataRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Exports data from a Dataset. ExportData(ctx context.Context, in *ExportDataRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Gets an Image. // ImportData will create images. Therefore CreateImage is omitted. GetImage(ctx context.Context, in *GetImageRequest, opts ...grpc.CallOption) (*Image, error) // Lists Images in a Dataset. ListImages(ctx context.Context, in *ListImagesRequest, opts ...grpc.CallOption) (*ListImagesResponse, error) // Creates an AnnotationSet. CreateAnnotationSet(ctx context.Context, in *CreateAnnotationSetRequest, opts ...grpc.CallOption) (*AnnotationSet, error) // Lists AnnotationSets in a Dataset. ListAnnotationSets(ctx context.Context, in *ListAnnotationSetsRequest, opts ...grpc.CallOption) (*ListAnnotationSetsResponse, error) // Creates an AnnotationSpec. CreateAnnotationSpec(ctx context.Context, in *CreateAnnotationSpecRequest, opts ...grpc.CallOption) (*AnnotationSpec, error) // Lists AnnotationSpecs in a dataset. ListAnnotationSpecs(ctx context.Context, in *ListAnnotationSpecsRequest, opts ...grpc.CallOption) (*ListAnnotationSpecsResponse, error) // Lists Annotations on an Image. ListAnnotations(ctx context.Context, in *ListAnnotationsRequest, opts ...grpc.CallOption) (*ListAnnotationsResponse, error) // Creates a Module. CreateModule(ctx context.Context, in *CreateModuleRequest, opts ...grpc.CallOption) (*Module, error) // Lists Modules in a Solution. ListModules(ctx context.Context, in *ListModulesRequest, opts ...grpc.CallOption) (*ListModulesResponse, error) // Gets a Module. GetModule(ctx context.Context, in *GetModuleRequest, opts ...grpc.CallOption) (*Module, error) // Deletes a Module. Only the subject Module is affected by this operation. // The Module's input and output AnnotationSets and any connected Modules // remain unchanged. DeleteModule(ctx context.Context, in *DeleteModuleRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Updates a Module. UpdateModule(ctx context.Context, in *UpdateModuleRequest, opts ...grpc.CallOption) (*Module, error) // Creates a Model. CreateModel(ctx context.Context, in *CreateModelRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Lists Models for a Module. ListModels(ctx context.Context, in *ListModelsRequest, opts ...grpc.CallOption) (*ListModelsResponse, error) // Gets a Model. GetModel(ctx context.Context, in *GetModelRequest, opts ...grpc.CallOption) (*Model, error) // Deletes a Model. DeleteModel(ctx context.Context, in *DeleteModelRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Updates a Model. UpdateModel(ctx context.Context, in *UpdateModelRequest, opts ...grpc.CallOption) (*Model, error) // Lists ModelEvaluations for a Model. For Beta, we will have only one // evaluation produced when the Model is created. ListModelEvaluations(ctx context.Context, in *ListModelEvaluationsRequest, opts ...grpc.CallOption) (*ListModelEvaluationsResponse, error) // Gets a ModelEvaluation. GetModelEvaluation(ctx context.Context, in *GetModelEvaluationRequest, opts ...grpc.CallOption) (*ModelEvaluation, error) // Writes a Model's predictions to the parent Module's output // AnnotationSets. WritePredictions(ctx context.Context, in *WritePredictionsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Creates a SpecialistPool. CreateSpecialistPool(ctx context.Context, in *CreateSpecialistPoolRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Gets a SpecialistPool. GetSpecialistPool(ctx context.Context, in *GetSpecialistPoolRequest, opts ...grpc.CallOption) (*SpecialistPool, error) // Updates a SpecialistPool. UpdateSpecialistPool(ctx context.Context, in *UpdateSpecialistPoolRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Lists SpecialistPools. ListSpecialistPools(ctx context.Context, in *ListSpecialistPoolsRequest, opts ...grpc.CallOption) (*ListSpecialistPoolsResponse, error) // Deletes a SpecialistPool. DeleteSpecialistPool(ctx context.Context, in *DeleteSpecialistPoolRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Creates a LabelingJob. CreateLabelingJob(ctx context.Context, in *CreateLabelingJobRequest, opts ...grpc.CallOption) (*LabelingJob, error) // Gets a LabelingJob. GetLabelingJob(ctx context.Context, in *GetLabelingJobRequest, opts ...grpc.CallOption) (*LabelingJob, error) // Lists LabelingJobs. ListLabelingJobs(ctx context.Context, in *ListLabelingJobsRequest, opts ...grpc.CallOption) (*ListLabelingJobsResponse, error) // Deletes a LabelingJob. DeleteLabelingJob(ctx context.Context, in *DeleteLabelingJobRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Cancels a LabelingJob. Success of cancellation is not guaranteed. CancelLabelingJob(ctx context.Context, in *CancelLabelingJobRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) }
func NewVisualInspectionClient(cc grpc.ClientConnInterface) VisualInspectionClient
VisualInspectionServer is the server API for VisualInspection service.
type VisualInspectionServer interface { // Creates a solution. CreateSolution(context.Context, *CreateSolutionRequest) (*longrunning.Operation, error) // Lists solutions. ListSolutions(context.Context, *ListSolutionsRequest) (*ListSolutionsResponse, error) // Gets a solution. GetSolution(context.Context, *GetSolutionRequest) (*Solution, error) // Creates a SolutionArtifact. CreateSolutionArtifact(context.Context, *CreateSolutionArtifactRequest) (*longrunning.Operation, error) // Lists SolutionArtifacts in a Solution. ListSolutionArtifacts(context.Context, *ListSolutionArtifactsRequest) (*ListSolutionArtifactsResponse, error) // Gets a SolutionArtifact. GetSolutionArtifact(context.Context, *GetSolutionArtifactRequest) (*SolutionArtifact, error) // Deletes a SolutionArtifact. Only the subject SolutionArtifact is affected // by this operation. The SolutionArtifact's Models remain unchanged. DeleteSolutionArtifact(context.Context, *DeleteSolutionArtifactRequest) (*longrunning.Operation, error) // Updates a SolutionArtifact. UpdateSolutionArtifact(context.Context, *UpdateSolutionArtifactRequest) (*SolutionArtifact, error) // Perform batch prediction on a given SolutionArtifact. BatchPredict(context.Context, *BatchPredictRequest) (*longrunning.Operation, error) // Gets a Dataset. GetDataset(context.Context, *GetDatasetRequest) (*Dataset, error) // Lists Datasets in a Project. ListDatasets(context.Context, *ListDatasetsRequest) (*ListDatasetsResponse, error) // Deletes a Dataset. DeleteDataset(context.Context, *DeleteDatasetRequest) (*longrunning.Operation, error) // Imports data to a Dataset. ImportData(context.Context, *ImportDataRequest) (*longrunning.Operation, error) // Exports data from a Dataset. ExportData(context.Context, *ExportDataRequest) (*longrunning.Operation, error) // Gets an Image. // ImportData will create images. Therefore CreateImage is omitted. GetImage(context.Context, *GetImageRequest) (*Image, error) // Lists Images in a Dataset. ListImages(context.Context, *ListImagesRequest) (*ListImagesResponse, error) // Creates an AnnotationSet. CreateAnnotationSet(context.Context, *CreateAnnotationSetRequest) (*AnnotationSet, error) // Lists AnnotationSets in a Dataset. ListAnnotationSets(context.Context, *ListAnnotationSetsRequest) (*ListAnnotationSetsResponse, error) // Creates an AnnotationSpec. CreateAnnotationSpec(context.Context, *CreateAnnotationSpecRequest) (*AnnotationSpec, error) // Lists AnnotationSpecs in a dataset. ListAnnotationSpecs(context.Context, *ListAnnotationSpecsRequest) (*ListAnnotationSpecsResponse, error) // Lists Annotations on an Image. ListAnnotations(context.Context, *ListAnnotationsRequest) (*ListAnnotationsResponse, error) // Creates a Module. CreateModule(context.Context, *CreateModuleRequest) (*Module, error) // Lists Modules in a Solution. ListModules(context.Context, *ListModulesRequest) (*ListModulesResponse, error) // Gets a Module. GetModule(context.Context, *GetModuleRequest) (*Module, error) // Deletes a Module. Only the subject Module is affected by this operation. // The Module's input and output AnnotationSets and any connected Modules // remain unchanged. DeleteModule(context.Context, *DeleteModuleRequest) (*longrunning.Operation, error) // Updates a Module. UpdateModule(context.Context, *UpdateModuleRequest) (*Module, error) // Creates a Model. CreateModel(context.Context, *CreateModelRequest) (*longrunning.Operation, error) // Lists Models for a Module. ListModels(context.Context, *ListModelsRequest) (*ListModelsResponse, error) // Gets a Model. GetModel(context.Context, *GetModelRequest) (*Model, error) // Deletes a Model. DeleteModel(context.Context, *DeleteModelRequest) (*longrunning.Operation, error) // Updates a Model. UpdateModel(context.Context, *UpdateModelRequest) (*Model, error) // Lists ModelEvaluations for a Model. For Beta, we will have only one // evaluation produced when the Model is created. ListModelEvaluations(context.Context, *ListModelEvaluationsRequest) (*ListModelEvaluationsResponse, error) // Gets a ModelEvaluation. GetModelEvaluation(context.Context, *GetModelEvaluationRequest) (*ModelEvaluation, error) // Writes a Model's predictions to the parent Module's output // AnnotationSets. WritePredictions(context.Context, *WritePredictionsRequest) (*longrunning.Operation, error) // Creates a SpecialistPool. CreateSpecialistPool(context.Context, *CreateSpecialistPoolRequest) (*longrunning.Operation, error) // Gets a SpecialistPool. GetSpecialistPool(context.Context, *GetSpecialistPoolRequest) (*SpecialistPool, error) // Updates a SpecialistPool. UpdateSpecialistPool(context.Context, *UpdateSpecialistPoolRequest) (*longrunning.Operation, error) // Lists SpecialistPools. ListSpecialistPools(context.Context, *ListSpecialistPoolsRequest) (*ListSpecialistPoolsResponse, error) // Deletes a SpecialistPool. DeleteSpecialistPool(context.Context, *DeleteSpecialistPoolRequest) (*longrunning.Operation, error) // Creates a LabelingJob. CreateLabelingJob(context.Context, *CreateLabelingJobRequest) (*LabelingJob, error) // Gets a LabelingJob. GetLabelingJob(context.Context, *GetLabelingJobRequest) (*LabelingJob, error) // Lists LabelingJobs. ListLabelingJobs(context.Context, *ListLabelingJobsRequest) (*ListLabelingJobsResponse, error) // Deletes a LabelingJob. DeleteLabelingJob(context.Context, *DeleteLabelingJobRequest) (*longrunning.Operation, error) // Cancels a LabelingJob. Success of cancellation is not guaranteed. CancelLabelingJob(context.Context, *CancelLabelingJobRequest) (*emptypb.Empty, error) }
Operation metadata for WritePredictions.
type WritePredictionsOperationMetadata struct { // Output only. Common operation metadata. CommonOperationMetadata *CommonOperationMetadata `protobuf:"bytes,1,opt,name=common_operation_metadata,json=commonOperationMetadata,proto3" json:"common_operation_metadata,omitempty"` // contains filtered or unexported fields }
func (*WritePredictionsOperationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use WritePredictionsOperationMetadata.ProtoReflect.Descriptor instead.
func (x *WritePredictionsOperationMetadata) GetCommonOperationMetadata() *CommonOperationMetadata
func (*WritePredictionsOperationMetadata) ProtoMessage()
func (x *WritePredictionsOperationMetadata) ProtoReflect() protoreflect.Message
func (x *WritePredictionsOperationMetadata) Reset()
func (x *WritePredictionsOperationMetadata) String() string
Request for enriching the Dataset with predicted Annotations from a Model.
type WritePredictionsRequest struct { // Required. Model identifier. Model string `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"` // A score threshold in the range [0, 1] to filter output Annotations. If set, // only Annotations with at least this score will be saved in the output // AnnotationSet. Otherwise a default value will be used based on the Module. OutputScoreThreshold float32 `protobuf:"fixed32,2,opt,name=output_score_threshold,json=outputScoreThreshold,proto3" json:"output_score_threshold,omitempty"` // An IOU (intersection over union) threshold in the range [0, 1] to use for // matching Annotations for some Module types. New Annotations must have at // least this IOU in in relation to an old Anotation to be considered // matching. If not provided, a default value will be used based on the // Module. OutputMatchingIouThreshold float32 `protobuf:"fixed32,3,opt,name=output_matching_iou_threshold,json=outputMatchingIouThreshold,proto3" json:"output_matching_iou_threshold,omitempty"` // By default WritePredictions copies all Annotation labels from old // Annotations to new Annotations. These fields give finer control over which // label keys to copy. If provided, only keys in this list will be copied. LabelKeysCopyAllowlist []string `protobuf:"bytes,4,rep,name=label_keys_copy_allowlist,json=labelKeysCopyAllowlist,proto3" json:"label_keys_copy_allowlist,omitempty"` // If provided, no keys in this list will be copied, even if they appear // in the allowlist. LabelKeysCopyDenylist []string `protobuf:"bytes,5,rep,name=label_keys_copy_denylist,json=labelKeysCopyDenylist,proto3" json:"label_keys_copy_denylist,omitempty"` // contains filtered or unexported fields }
func (*WritePredictionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use WritePredictionsRequest.ProtoReflect.Descriptor instead.
func (x *WritePredictionsRequest) GetLabelKeysCopyAllowlist() []string
func (x *WritePredictionsRequest) GetLabelKeysCopyDenylist() []string
func (x *WritePredictionsRequest) GetModel() string
func (x *WritePredictionsRequest) GetOutputMatchingIouThreshold() float32
func (x *WritePredictionsRequest) GetOutputScoreThreshold() float32
func (*WritePredictionsRequest) ProtoMessage()
func (x *WritePredictionsRequest) ProtoReflect() protoreflect.Message
func (x *WritePredictionsRequest) Reset()
func (x *WritePredictionsRequest) String() string
type WritePredictionsResponse struct {
// contains filtered or unexported fields
}
func (*WritePredictionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use WritePredictionsResponse.ProtoReflect.Descriptor instead.
func (*WritePredictionsResponse) ProtoMessage()
func (x *WritePredictionsResponse) ProtoReflect() protoreflect.Message
func (x *WritePredictionsResponse) Reset()
func (x *WritePredictionsResponse) String() string