parent
64dd7a3072
commit
37ba54d7ed
|
|
@ -1,357 +0,0 @@
|
|||
# This file was automatically generated by BuildFileGenerator
|
||||
# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel
|
||||
|
||||
# Most of the manual changes to this file will be overwritten.
|
||||
# It's **only** allowed to change the following rule attribute values:
|
||||
# - names of *_gapic_assembly_* rules
|
||||
# - certain parameters of *_gapic_library rules, including but not limited to:
|
||||
# * extra_protoc_parameters
|
||||
# * extra_protoc_file_parameters
|
||||
# The complete list of preserved parameters can be found in the source code.
|
||||
|
||||
##############################################################################
|
||||
# Common
|
||||
##############################################################################
|
||||
load("@rules_proto//proto:defs.bzl", "proto_library")
|
||||
load(
|
||||
"@com_google_googleapis_imports//:imports.bzl",
|
||||
"csharp_gapic_assembly_pkg",
|
||||
"csharp_gapic_library",
|
||||
"csharp_grpc_library",
|
||||
"csharp_proto_library",
|
||||
"go_gapic_assembly_pkg",
|
||||
"go_gapic_library",
|
||||
"go_proto_library",
|
||||
"go_test",
|
||||
"java_gapic_assembly_gradle_pkg",
|
||||
"java_gapic_library",
|
||||
"java_gapic_test",
|
||||
"java_grpc_library",
|
||||
"java_proto_library",
|
||||
"moved_proto_library",
|
||||
"nodejs_gapic_assembly_pkg",
|
||||
"nodejs_gapic_library",
|
||||
"php_gapic_assembly_pkg",
|
||||
"php_gapic_library",
|
||||
"php_grpc_library",
|
||||
"php_proto_library",
|
||||
"proto_library_with_info",
|
||||
"py_gapic_assembly_pkg",
|
||||
"py_gapic_library",
|
||||
"py_grpc_library",
|
||||
"py_proto_library",
|
||||
"ruby_gapic_assembly_pkg",
|
||||
"ruby_gapic_library",
|
||||
"ruby_grpc_library",
|
||||
"ruby_proto_library",
|
||||
)
|
||||
|
||||
# This is an API workspace, having public visibility by default makes perfect sense.
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
proto_library(
|
||||
name = "visualinspection_proto",
|
||||
srcs = [
|
||||
"annotation.proto",
|
||||
"annotation_set.proto",
|
||||
"annotation_spec.proto",
|
||||
"common.proto",
|
||||
"dataset.proto",
|
||||
"geometry.proto",
|
||||
"image.proto",
|
||||
"io.proto",
|
||||
"labeling.proto",
|
||||
"metrics.proto",
|
||||
"model.proto",
|
||||
"model_evaluation.proto",
|
||||
"module.proto",
|
||||
"service.proto",
|
||||
"solution_artifact.proto",
|
||||
],
|
||||
deps = [
|
||||
"//google/api:annotations_proto",
|
||||
"//google/api:client_proto",
|
||||
"//google/api:field_behavior_proto",
|
||||
"//google/api:resource_proto",
|
||||
"//google/longrunning:operations_proto",
|
||||
"//google/type:color_proto",
|
||||
"@com_google_protobuf//:duration_proto",
|
||||
"@com_google_protobuf//:empty_proto",
|
||||
"@com_google_protobuf//:field_mask_proto",
|
||||
"@com_google_protobuf//:struct_proto",
|
||||
"@com_google_protobuf//:timestamp_proto",
|
||||
],
|
||||
)
|
||||
|
||||
proto_library_with_info(
|
||||
name = "visualinspection_proto_with_info",
|
||||
deps = [
|
||||
":visualinspection_proto",
|
||||
"//google/cloud:common_resources_proto",
|
||||
],
|
||||
)
|
||||
|
||||
java_proto_library(
|
||||
name = "visualinspection_java_proto",
|
||||
deps = [":visualinspection_proto"],
|
||||
)
|
||||
|
||||
java_grpc_library(
|
||||
name = "visualinspection_java_grpc",
|
||||
srcs = [":visualinspection_proto"],
|
||||
deps = [":visualinspection_java_proto"],
|
||||
)
|
||||
|
||||
java_gapic_library(
|
||||
name = "visualinspection_java_gapic",
|
||||
src = ":visualinspection_proto_with_info",
|
||||
gapic_yaml = "visualinspection_gapic.yaml",
|
||||
grpc_service_config = "visualinspection_grpc_service_config.json",
|
||||
package = "google.cloud.visualinspection.v1beta1",
|
||||
service_yaml = "visualinspection_v1beta1.yaml",
|
||||
test_deps = [
|
||||
":visualinspection_java_grpc",
|
||||
],
|
||||
deps = [
|
||||
":visualinspection_java_proto",
|
||||
],
|
||||
)
|
||||
|
||||
java_gapic_test(
|
||||
name = "visualinspection_java_gapic_test_suite",
|
||||
test_classes = [
|
||||
"com.google.cloud.visualinspection.v1beta1.VisualInspectionClientTest",
|
||||
],
|
||||
runtime_deps = [":visualinspection_java_gapic_test"],
|
||||
)
|
||||
|
||||
# Open Source Packages
|
||||
java_gapic_assembly_gradle_pkg(
|
||||
name = "google-cloud-visualinspection-v1beta1-java",
|
||||
deps = [
|
||||
":visualinspection_java_gapic",
|
||||
":visualinspection_java_grpc",
|
||||
":visualinspection_java_proto",
|
||||
":visualinspection_proto",
|
||||
],
|
||||
)
|
||||
|
||||
go_proto_library(
|
||||
name = "visualinspection_go_proto",
|
||||
compilers = ["@io_bazel_rules_go//proto:go_grpc"],
|
||||
importpath = "google.golang.org/genproto/googleapis/cloud/visualinspection/v1beta1",
|
||||
protos = [":visualinspection_proto"],
|
||||
deps = [
|
||||
"//google/api:annotations_go_proto",
|
||||
"//google/longrunning:longrunning_go_proto",
|
||||
"//google/type:color_go_proto",
|
||||
],
|
||||
)
|
||||
|
||||
go_gapic_library(
|
||||
name = "visualinspection_go_gapic",
|
||||
srcs = [":visualinspection_proto_with_info"],
|
||||
grpc_service_config = "visualinspection_grpc_service_config.json",
|
||||
importpath = "cloud.google.com/go/visualinspection/apiv1beta1;visualinspection",
|
||||
service_yaml = "visualinspection_v1beta1.yaml",
|
||||
deps = [
|
||||
":visualinspection_go_proto",
|
||||
"@com_google_cloud_go//longrunning/autogen:go_default_library",
|
||||
"//google/longrunning:longrunning_go_proto",
|
||||
"@com_google_cloud_go//longrunning:go_default_library",
|
||||
"@io_bazel_rules_go//proto/wkt:duration_go_proto",
|
||||
"@io_bazel_rules_go//proto/wkt:struct_go_proto",
|
||||
],
|
||||
)
|
||||
|
||||
go_test(
|
||||
name = "visualinspection_go_gapic_test",
|
||||
srcs = [":visualinspection_go_gapic_srcjar_test"],
|
||||
embed = [":visualinspection_go_gapic"],
|
||||
importpath = "cloud.google.com/go/visualinspection/apiv1beta1",
|
||||
)
|
||||
|
||||
# Open Source Packages
|
||||
go_gapic_assembly_pkg(
|
||||
name = "gapi-cloud-visualinspection-v1beta1-go",
|
||||
deps = [
|
||||
":visualinspection_go_gapic",
|
||||
":visualinspection_go_gapic_srcjar-test.srcjar",
|
||||
":visualinspection_go_proto",
|
||||
],
|
||||
)
|
||||
|
||||
moved_proto_library(
|
||||
name = "visualinspection_moved_proto",
|
||||
srcs = [":visualinspection_proto"],
|
||||
deps = [
|
||||
"//google/api:annotations_proto",
|
||||
"//google/api:client_proto",
|
||||
"//google/api:field_behavior_proto",
|
||||
"//google/api:resource_proto",
|
||||
"//google/longrunning:operations_proto",
|
||||
"//google/type:color_proto",
|
||||
"@com_google_protobuf//:duration_proto",
|
||||
"@com_google_protobuf//:empty_proto",
|
||||
"@com_google_protobuf//:field_mask_proto",
|
||||
"@com_google_protobuf//:struct_proto",
|
||||
"@com_google_protobuf//:timestamp_proto",
|
||||
],
|
||||
)
|
||||
|
||||
py_proto_library(
|
||||
name = "visualinspection_py_proto",
|
||||
plugin = "@protoc_docs_plugin//:docs_plugin",
|
||||
deps = [":visualinspection_moved_proto"],
|
||||
)
|
||||
|
||||
py_grpc_library(
|
||||
name = "visualinspection_py_grpc",
|
||||
srcs = [":visualinspection_moved_proto"],
|
||||
deps = [":visualinspection_py_proto"],
|
||||
)
|
||||
|
||||
py_gapic_library(
|
||||
name = "visualinspection_py_gapic",
|
||||
src = ":visualinspection_proto_with_info",
|
||||
gapic_yaml = "visualinspection_gapic.yaml",
|
||||
grpc_service_config = "visualinspection_grpc_service_config.json",
|
||||
package = "google.cloud.visualinspection.v1beta1",
|
||||
service_yaml = "visualinspection_v1beta1.yaml",
|
||||
deps = [
|
||||
":visualinspection_py_grpc",
|
||||
":visualinspection_py_proto",
|
||||
],
|
||||
)
|
||||
|
||||
# Open Source Packages
|
||||
py_gapic_assembly_pkg(
|
||||
name = "visualinspection-v1beta1-py",
|
||||
deps = [
|
||||
":visualinspection_py_gapic",
|
||||
":visualinspection_py_grpc",
|
||||
":visualinspection_py_proto",
|
||||
],
|
||||
)
|
||||
|
||||
php_proto_library(
|
||||
name = "visualinspection_php_proto",
|
||||
deps = [":visualinspection_proto"],
|
||||
)
|
||||
|
||||
php_grpc_library(
|
||||
name = "visualinspection_php_grpc",
|
||||
srcs = [":visualinspection_proto"],
|
||||
deps = [":visualinspection_php_proto"],
|
||||
)
|
||||
|
||||
php_gapic_library(
|
||||
name = "visualinspection_php_gapic",
|
||||
src = ":visualinspection_proto_with_info",
|
||||
gapic_yaml = "visualinspection_gapic.yaml",
|
||||
grpc_service_config = "visualinspection_grpc_service_config.json",
|
||||
package = "google.cloud.visualinspection.v1beta1",
|
||||
service_yaml = "visualinspection_v1beta1.yaml",
|
||||
deps = [
|
||||
":visualinspection_php_grpc",
|
||||
":visualinspection_php_proto",
|
||||
],
|
||||
)
|
||||
|
||||
# Open Source Packages
|
||||
php_gapic_assembly_pkg(
|
||||
name = "google-cloud-visualinspection-v1beta1-php",
|
||||
deps = [
|
||||
":visualinspection_php_gapic",
|
||||
":visualinspection_php_grpc",
|
||||
":visualinspection_php_proto",
|
||||
],
|
||||
)
|
||||
|
||||
nodejs_gapic_library(
|
||||
name = "visualinspection_nodejs_gapic",
|
||||
src = ":visualinspection_proto_with_info",
|
||||
grpc_service_config = "visualinspection_grpc_service_config.json",
|
||||
package = "google.cloud.visualinspection.v1beta1",
|
||||
service_yaml = "visualinspection_v1beta1.yaml",
|
||||
deps = [],
|
||||
)
|
||||
|
||||
nodejs_gapic_assembly_pkg(
|
||||
name = "visualinspection-v1beta1-nodejs",
|
||||
deps = [
|
||||
":visualinspection_nodejs_gapic",
|
||||
":visualinspection_proto",
|
||||
],
|
||||
)
|
||||
|
||||
ruby_proto_library(
|
||||
name = "visualinspection_ruby_proto",
|
||||
deps = [":visualinspection_proto"],
|
||||
)
|
||||
|
||||
ruby_grpc_library(
|
||||
name = "visualinspection_ruby_grpc",
|
||||
srcs = [":visualinspection_proto"],
|
||||
deps = [":visualinspection_ruby_proto"],
|
||||
)
|
||||
|
||||
ruby_gapic_library(
|
||||
name = "visualinspection_ruby_gapic",
|
||||
src = ":visualinspection_proto_with_info",
|
||||
gapic_yaml = "visualinspection_gapic.yaml",
|
||||
grpc_service_config = "visualinspection_grpc_service_config.json",
|
||||
package = "google.cloud.visualinspection.v1beta1",
|
||||
service_yaml = "visualinspection_v1beta1.yaml",
|
||||
deps = [
|
||||
":visualinspection_ruby_grpc",
|
||||
":visualinspection_ruby_proto",
|
||||
],
|
||||
)
|
||||
|
||||
# Open Source Packages
|
||||
ruby_gapic_assembly_pkg(
|
||||
name = "google-cloud-visualinspection-v1beta1-ruby",
|
||||
deps = [
|
||||
":visualinspection_ruby_gapic",
|
||||
":visualinspection_ruby_grpc",
|
||||
":visualinspection_ruby_proto",
|
||||
],
|
||||
)
|
||||
|
||||
csharp_proto_library(
|
||||
name = "visualinspection_csharp_proto",
|
||||
deps = [":visualinspection_proto"],
|
||||
)
|
||||
|
||||
csharp_grpc_library(
|
||||
name = "visualinspection_csharp_grpc",
|
||||
srcs = [":visualinspection_proto"],
|
||||
deps = [":visualinspection_csharp_proto"],
|
||||
)
|
||||
|
||||
csharp_gapic_library(
|
||||
name = "visualinspection_csharp_gapic",
|
||||
srcs = [":visualinspection_proto_with_info"],
|
||||
common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json",
|
||||
grpc_service_config = "visualinspection_grpc_service_config.json",
|
||||
deps = [
|
||||
":visualinspection_csharp_grpc",
|
||||
":visualinspection_csharp_proto",
|
||||
],
|
||||
)
|
||||
|
||||
# Open Source Packages
|
||||
csharp_gapic_assembly_pkg(
|
||||
name = "google-cloud-visualinspection-v1beta1-csharp",
|
||||
deps = [
|
||||
":visualinspection_csharp_gapic",
|
||||
":visualinspection_csharp_grpc",
|
||||
":visualinspection_csharp_proto",
|
||||
],
|
||||
)
|
||||
|
||||
##############################################################################
|
||||
# C++
|
||||
##############################################################################
|
||||
# Put your C++ rules here
|
||||
|
|
@ -1,179 +0,0 @@
|
|||
// Copyright 2020 Google LLC
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
syntax = "proto3";
|
||||
|
||||
package google.cloud.visualinspection.v1beta1;
|
||||
|
||||
import "google/api/annotations.proto";
|
||||
import "google/api/field_behavior.proto";
|
||||
import "google/api/resource.proto";
|
||||
import "google/cloud/visualinspection/v1beta1/geometry.proto";
|
||||
import "google/cloud/visualinspection/v1beta1/image.proto";
|
||||
import "google/protobuf/timestamp.proto";
|
||||
|
||||
option csharp_namespace = "Google.Cloud.VisualInspection.V1Beta1";
|
||||
option php_namespace = "Google\\Cloud\\VisualInspection\\V1beta1";
|
||||
option ruby_package = "Google::Cloud::VisualInspection::V1beta1";
|
||||
option go_package = "google.golang.org/genproto/googleapis/cloud/visualinspection/v1beta1;visualinspection";
|
||||
option java_multiple_files = true;
|
||||
option java_package = "com.google.cloud.visualinspection.v1beta1";
|
||||
|
||||
// Annotation is used to assign specific AnnotationSpec to a particular Image.
|
||||
message Annotation {
|
||||
option (google.api.resource) = {
|
||||
type: "visualinspection.googleapis.com/Annotation"
|
||||
pattern: "projects/{project}/locations/{location}/datasets/{dataset}/images/{image}/annotations/{annotation}"
|
||||
};
|
||||
|
||||
// Source of the Annotation.
|
||||
message Source {
|
||||
// Source type of the Annotation.
|
||||
enum SourceType {
|
||||
// Unspecified source type.
|
||||
SOURCE_TYPE_UNSPECIFIED = 0;
|
||||
|
||||
// The Annotation is generated by a human user.
|
||||
HUMAN_PRODUCED = 1;
|
||||
|
||||
// The Annotation is generated by a ML model.
|
||||
MACHINE_PRODUCED = 2;
|
||||
|
||||
// The Annotation is generated by machine, and it has
|
||||
// child Annotation with HUMAN_PRODUCED.
|
||||
HUMAN_LABELED = 3;
|
||||
}
|
||||
|
||||
// Source type.
|
||||
SourceType type = 1;
|
||||
|
||||
// Resource name of the source model when the Annotation is
|
||||
// MACHINE_PRODUCED.
|
||||
string source_model = 2 [(google.api.resource_reference) = {
|
||||
type: "visualinspection.googleapis.com/Model"
|
||||
}];
|
||||
}
|
||||
|
||||
// Annotation type of the Annotation.
|
||||
oneof annotation_type {
|
||||
// A BoundingBox Annotation.
|
||||
BoundingBoxAnnotation box = 8;
|
||||
|
||||
// A BoundingPoly Annotation.
|
||||
BoundingPolyAnnotation polygon = 9;
|
||||
|
||||
// A Classification Label Annotation.
|
||||
ClassificationLabelAnnotation classification_label = 10;
|
||||
|
||||
// A Mask Annotation.
|
||||
MaskAnnotation mask = 11;
|
||||
|
||||
// A Polyline Annotation,
|
||||
PolylineAnnotation polyline = 14;
|
||||
}
|
||||
|
||||
// Output only. Resource name for Annotation generated by the system.
|
||||
string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
|
||||
|
||||
// Output only. Timestamp when this Annotation was created.
|
||||
google.protobuf.Timestamp create_time = 2
|
||||
[(google.api.field_behavior) = OUTPUT_ONLY];
|
||||
|
||||
// Output only. Timestamp when Annotation was last updated.
|
||||
google.protobuf.Timestamp update_time = 3
|
||||
[(google.api.field_behavior) = OUTPUT_ONLY];
|
||||
|
||||
// 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.
|
||||
string annotation_spec_id = 4;
|
||||
|
||||
// Required. The resource ID of the AnnotationSet that this Annotation belongs
|
||||
// to.
|
||||
string annotation_set_id = 5 [(google.api.field_behavior) = REQUIRED];
|
||||
|
||||
// The resource ID of the parent Annotation. Parent annotation represents a
|
||||
// region in the original Image.
|
||||
string parent_annotation_id = 7;
|
||||
|
||||
// Output only. Source of the Annotation.
|
||||
Source source = 12 [(google.api.field_behavior) = OUTPUT_ONLY];
|
||||
|
||||
// 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.
|
||||
map<string, string> labels = 13;
|
||||
}
|
||||
|
||||
// Detailed information for BoundingBox Annotation.
|
||||
message BoundingBoxAnnotation {
|
||||
// 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.
|
||||
NormalizedBoundingPoly normalized_bounding_box = 1;
|
||||
|
||||
// Output only. A confidence score between 0.0 and 1.0. A higher value
|
||||
// means greater confidence about the annotation.
|
||||
float confidence_score = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
|
||||
}
|
||||
|
||||
// Detailed information for BoundingPoly Annotation.
|
||||
message BoundingPolyAnnotation {
|
||||
// A polygon region on the image.
|
||||
// A polygon is supposed to have N vertices in clockwise order.
|
||||
// Vertices are represented in normalized format.
|
||||
NormalizedBoundingPoly normalized_bounding_poly = 1;
|
||||
|
||||
// Output only. A confidence score between 0.0 and 1.0. A higher value
|
||||
// means greater confidence that the annotation is positive.
|
||||
float confidence_score = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
|
||||
}
|
||||
|
||||
// Detailed information for ClassificationLabel Annotation.
|
||||
message ClassificationLabelAnnotation {
|
||||
// Output only. A confidence score between 0.0 and 1.0. A higher value
|
||||
// means greater confidence that the annotation is positive.
|
||||
float confidence_score = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
|
||||
}
|
||||
|
||||
// Detailed information for Mask Annotation.
|
||||
message MaskAnnotation {
|
||||
// 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.
|
||||
Image confidence_mask = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
|
||||
|
||||
// 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.
|
||||
Image category_mask = 2;
|
||||
}
|
||||
|
||||
// Detailed information for Polyline Annotation.
|
||||
message PolylineAnnotation {
|
||||
// A polyline consisting of connected straight-line segments.
|
||||
NormalizedPolyline normalized_polyline = 1;
|
||||
|
||||
// Output only. A confidence score between 0.0 and 1.0. A higher value
|
||||
// means greater confidence that the annotation is positive.
|
||||
float confidence_score = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
|
||||
}
|
||||
|
|
@ -1,122 +0,0 @@
|
|||
// Copyright 2020 Google LLC
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
syntax = "proto3";
|
||||
|
||||
package google.cloud.visualinspection.v1beta1;
|
||||
|
||||
import "google/api/annotations.proto";
|
||||
import "google/api/field_behavior.proto";
|
||||
import "google/api/resource.proto";
|
||||
import "google/cloud/visualinspection/v1beta1/annotation_spec.proto";
|
||||
import "google/protobuf/timestamp.proto";
|
||||
import "google/type/color.proto";
|
||||
|
||||
option csharp_namespace = "Google.Cloud.VisualInspection.V1Beta1";
|
||||
option php_namespace = "Google\\Cloud\\VisualInspection\\V1beta1";
|
||||
option ruby_package = "Google::Cloud::VisualInspection::V1beta1";
|
||||
option go_package = "google.golang.org/genproto/googleapis/cloud/visualinspection/v1beta1;visualinspection";
|
||||
option java_multiple_files = true;
|
||||
option java_package = "com.google.cloud.visualinspection.v1beta1";
|
||||
|
||||
// Resource of an AnnotationSet.
|
||||
message AnnotationSet {
|
||||
option (google.api.resource) = {
|
||||
type: "visualinspection.googleapis.com/AnnotationSet"
|
||||
pattern: "projects/{project}/locations/{location}/datasets/{dataset}/annotationSets/{annotation_set}"
|
||||
};
|
||||
|
||||
// Type of the Annotations in this AnnotationSet. Annotations in this
|
||||
// AnnotationSet must be of the same type.
|
||||
oneof annotation_set_type {
|
||||
// Classification label.
|
||||
ClassificationLabelAnnotationSet classification_label = 3;
|
||||
|
||||
// Bounding box.
|
||||
BoundingBoxAnnotationSet box = 4;
|
||||
|
||||
// Polygon.
|
||||
PolygonAnnotationSet polygon = 5;
|
||||
|
||||
// Mask.
|
||||
MaskAnnotationSet mask = 6;
|
||||
|
||||
// Polyline
|
||||
PolylineAnnotationSet polyline = 11;
|
||||
}
|
||||
|
||||
// Output only. Resource name of the AnnotationSet generated by the system.
|
||||
string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
|
||||
|
||||
// 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.
|
||||
string display_name = 2 [(google.api.field_behavior) = REQUIRED];
|
||||
|
||||
// Output only. Timestamp when this AnnotationSet was created.
|
||||
google.protobuf.Timestamp create_time = 7
|
||||
[(google.api.field_behavior) = OUTPUT_ONLY];
|
||||
|
||||
// Output only. Timestamp when AnnotationSet was last updated.
|
||||
google.protobuf.Timestamp update_time = 8
|
||||
[(google.api.field_behavior) = OUTPUT_ONLY];
|
||||
|
||||
// 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.
|
||||
repeated AnnotationSpec annotation_specs = 9
|
||||
[(google.api.field_behavior) = OUTPUT_ONLY];
|
||||
}
|
||||
|
||||
// ClassificationLabel Annotation type.
|
||||
message ClassificationLabelAnnotationSet {
|
||||
// Whether or not the classification annotation is a multi-label
|
||||
// classification.
|
||||
bool multi_label = 1;
|
||||
}
|
||||
|
||||
// BoundingBox Annotation type.
|
||||
message BoundingBoxAnnotationSet {}
|
||||
|
||||
// Polygon Annotation type.
|
||||
message PolygonAnnotationSet {}
|
||||
|
||||
// Mask Annotation type.
|
||||
message MaskAnnotationSet {
|
||||
// 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.
|
||||
repeated AnnotationSpecColor annotation_spec_colors = 1;
|
||||
}
|
||||
|
||||
// Mapping of color to AnnotationSpec
|
||||
message AnnotationSpecColor {
|
||||
// AnnotationSpec Id.
|
||||
string annotation_spec_id = 1;
|
||||
|
||||
// RGB value represents color in the category_mask image.
|
||||
// Alpha value will always be empty.
|
||||
google.type.Color color = 2;
|
||||
}
|
||||
|
||||
// Polyline Annotation type.
|
||||
message PolylineAnnotationSet {}
|
||||
|
|
@ -1,53 +0,0 @@
|
|||
// Copyright 2020 Google LLC
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
syntax = "proto3";
|
||||
|
||||
package google.cloud.visualinspection.v1beta1;
|
||||
|
||||
import "google/api/annotations.proto";
|
||||
import "google/api/field_behavior.proto";
|
||||
import "google/api/resource.proto";
|
||||
import "google/protobuf/timestamp.proto";
|
||||
|
||||
option csharp_namespace = "Google.Cloud.VisualInspection.V1Beta1";
|
||||
option php_namespace = "Google\\Cloud\\VisualInspection\\V1beta1";
|
||||
option ruby_package = "Google::Cloud::VisualInspection::V1beta1";
|
||||
option go_package = "google.golang.org/genproto/googleapis/cloud/visualinspection/v1beta1;visualinspection";
|
||||
option java_multiple_files = true;
|
||||
option java_package = "com.google.cloud.visualinspection.v1beta1";
|
||||
|
||||
// Resource of an AnnotationSpec.
|
||||
message AnnotationSpec {
|
||||
option (google.api.resource) = {
|
||||
type: "visualinspection.googleapis.com/AnnotationSpec"
|
||||
pattern: "projects/{project}/locations/{location}/datasets/{dataset}/annotationSpecs/{annotation_spec}"
|
||||
};
|
||||
|
||||
// Output only. Resource name for the AnnotationSpec generated by the system.
|
||||
string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
|
||||
|
||||
// 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.
|
||||
string display_name = 2 [(google.api.field_behavior) = REQUIRED];
|
||||
|
||||
// Output only. Timestamp when this AnnotationSpec was created.
|
||||
google.protobuf.Timestamp create_time = 3
|
||||
[(google.api.field_behavior) = OUTPUT_ONLY];
|
||||
|
||||
// Output only. Timestamp when AnnotationSpec was last updated.
|
||||
google.protobuf.Timestamp update_time = 4
|
||||
[(google.api.field_behavior) = OUTPUT_ONLY];
|
||||
}
|
||||
|
|
@ -1,46 +0,0 @@
|
|||
// Copyright 2020 Google LLC
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
syntax = "proto3";
|
||||
|
||||
package google.cloud.visualinspection.v1beta1;
|
||||
|
||||
import "google/api/annotations.proto";
|
||||
import "google/api/field_behavior.proto";
|
||||
import "google/api/resource.proto";
|
||||
import "google/protobuf/timestamp.proto";
|
||||
|
||||
option csharp_namespace = "Google.Cloud.VisualInspection.V1Beta1";
|
||||
option php_namespace = "Google\\Cloud\\VisualInspection\\V1beta1";
|
||||
option ruby_package = "Google::Cloud::VisualInspection::V1beta1";
|
||||
option go_package = "google.golang.org/genproto/googleapis/cloud/visualinspection/v1beta1;visualinspection";
|
||||
option java_multiple_files = true;
|
||||
option java_package = "com.google.cloud.visualinspection.v1beta1";
|
||||
|
||||
// Common operation metadata across Visual Inspection AI operations.
|
||||
message CommonOperationMetadata {
|
||||
// Output only. Operation creation timestamp.
|
||||
google.protobuf.Timestamp create_time = 1
|
||||
[(google.api.field_behavior) = OUTPUT_ONLY];
|
||||
|
||||
// Output only. Operation last updated timestamp.
|
||||
google.protobuf.Timestamp update_time = 2
|
||||
[(google.api.field_behavior) = OUTPUT_ONLY];
|
||||
|
||||
// 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.
|
||||
string target = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
|
||||
}
|
||||
|
|
@ -1,118 +0,0 @@
|
|||
// Copyright 2020 Google LLC
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
syntax = "proto3";
|
||||
|
||||
package google.cloud.visualinspection.v1beta1;
|
||||
|
||||
import "google/api/annotations.proto";
|
||||
import "google/api/field_behavior.proto";
|
||||
import "google/api/resource.proto";
|
||||
import "google/cloud/visualinspection/v1beta1/io.proto";
|
||||
import "google/protobuf/timestamp.proto";
|
||||
|
||||
option csharp_namespace = "Google.Cloud.VisualInspection.V1Beta1";
|
||||
option php_namespace = "Google\\Cloud\\VisualInspection\\V1beta1";
|
||||
option ruby_package = "Google::Cloud::VisualInspection::V1beta1";
|
||||
option go_package = "google.golang.org/genproto/googleapis/cloud/visualinspection/v1beta1;visualinspection";
|
||||
option java_multiple_files = true;
|
||||
option java_package = "com.google.cloud.visualinspection.v1beta1";
|
||||
|
||||
// A Dataset is a collection of Images and Annotations, which could be used to
|
||||
// solve a specifc visual inspection problem.
|
||||
message Dataset {
|
||||
option (google.api.resource) = {
|
||||
type: "visualinspection.googleapis.com/Dataset"
|
||||
pattern: "projects/{project}/locations/{location}/datasets/{dataset}"
|
||||
};
|
||||
|
||||
// Output only. Resource name for the Dataset generated by the system.
|
||||
string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
|
||||
|
||||
// Required. A user friendly display name for the Dataset.
|
||||
string display_name = 2 [(google.api.field_behavior) = REQUIRED];
|
||||
|
||||
// Output only. Timestamp when this Dataset was created.
|
||||
google.protobuf.Timestamp create_time = 3
|
||||
[(google.api.field_behavior) = OUTPUT_ONLY];
|
||||
|
||||
// Output only. Timestamp when this Dataset was last updated.
|
||||
google.protobuf.Timestamp update_time = 4
|
||||
[(google.api.field_behavior) = OUTPUT_ONLY];
|
||||
|
||||
// Used to perform consistent read-modify-write updates. If not set, a blind
|
||||
// "overwrite" update happens.
|
||||
string etag = 5;
|
||||
|
||||
// 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.
|
||||
map<string, string> labels = 6;
|
||||
|
||||
// Output only. The number of Images in the Dataset.
|
||||
int64 image_count = 7 [(google.api.field_behavior) = OUTPUT_ONLY];
|
||||
}
|
||||
|
||||
// Describes the location from where we import data into a Dataset.
|
||||
message ImportDataConfig {
|
||||
// The source of the input.
|
||||
oneof source {
|
||||
// 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 gcs_source = 1;
|
||||
|
||||
// Import data from another Dataset.
|
||||
DatasetSource dataset_resource = 2;
|
||||
}
|
||||
}
|
||||
|
||||
// Describes the source Dataset from where we import data.
|
||||
message DatasetSource {
|
||||
// Required. Dataset resource name. It needs to be in the same project and
|
||||
// location.
|
||||
string dataset = 1 [
|
||||
(google.api.field_behavior) = REQUIRED,
|
||||
(google.api.resource_reference) = {
|
||||
type: "visualinspection.googleapis.com/Dataset"
|
||||
}
|
||||
];
|
||||
|
||||
// Filter on Images to import.
|
||||
string image_filter = 2;
|
||||
|
||||
// Filter on Annotations to import. Only Annotations on already filtered in
|
||||
// Images are considered.
|
||||
string annotation_filter = 3;
|
||||
}
|
||||
|
||||
// Describes the location to where we export data from a Dataset.
|
||||
message ExportDataConfig {
|
||||
// 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 gcs_destination = 1;
|
||||
}
|
||||
|
|
@ -1,51 +0,0 @@
|
|||
// Copyright 2020 Google LLC
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
syntax = "proto3";
|
||||
|
||||
package google.cloud.visualinspection.v1beta1;
|
||||
|
||||
import "google/api/annotations.proto";
|
||||
|
||||
option csharp_namespace = "Google.Cloud.VisualInspection.V1Beta1";
|
||||
option php_namespace = "Google\\Cloud\\VisualInspection\\V1beta1";
|
||||
option ruby_package = "Google::Cloud::VisualInspection::V1beta1";
|
||||
option go_package = "google.golang.org/genproto/googleapis/cloud/visualinspection/v1beta1;visualinspection";
|
||||
option java_multiple_files = true;
|
||||
option java_package = "com.google.cloud.visualinspection.v1beta1";
|
||||
|
||||
// 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.
|
||||
message NormalizedVertex {
|
||||
// X coordinate.
|
||||
float x = 1;
|
||||
|
||||
// Y coordinate.
|
||||
float y = 2;
|
||||
}
|
||||
|
||||
// Normalized Bounding Polygon.
|
||||
message NormalizedBoundingPoly {
|
||||
// The bounding polygon normalized vertices. Top left corner of the image will
|
||||
// be [0, 0].
|
||||
repeated NormalizedVertex normalized_vertices = 1;
|
||||
}
|
||||
|
||||
// Normalized Line, which represents a curve consisting of connected
|
||||
// straight-line segments.
|
||||
message NormalizedPolyline {
|
||||
// A sequence of vertices connected by straight lines.
|
||||
repeated NormalizedVertex normalized_vertices = 1;
|
||||
}
|
||||
|
|
@ -1,62 +0,0 @@
|
|||
// Copyright 2020 Google LLC
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
syntax = "proto3";
|
||||
|
||||
package google.cloud.visualinspection.v1beta1;
|
||||
|
||||
import "google/api/annotations.proto";
|
||||
import "google/api/field_behavior.proto";
|
||||
import "google/api/resource.proto";
|
||||
import "google/protobuf/timestamp.proto";
|
||||
|
||||
option csharp_namespace = "Google.Cloud.VisualInspection.V1Beta1";
|
||||
option php_namespace = "Google\\Cloud\\VisualInspection\\V1beta1";
|
||||
option ruby_package = "Google::Cloud::VisualInspection::V1beta1";
|
||||
option go_package = "google.golang.org/genproto/googleapis/cloud/visualinspection/v1beta1;visualinspection";
|
||||
option java_multiple_files = true;
|
||||
option java_package = "com.google.cloud.visualinspection.v1beta1";
|
||||
|
||||
// A piece of data in a Dataset.
|
||||
message Image {
|
||||
option (google.api.resource) = {
|
||||
type: "visualinspection.googleapis.com/Image"
|
||||
pattern: "projects/{project}/locations/{location}/datasets/{dataset}/images/{image}"
|
||||
};
|
||||
|
||||
// Output only. Resource name of the Image generated by the system.
|
||||
string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
|
||||
|
||||
// Output only. Timestamp when this Image was created.
|
||||
google.protobuf.Timestamp create_time = 2
|
||||
[(google.api.field_behavior) = OUTPUT_ONLY];
|
||||
|
||||
// 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.
|
||||
map<string, string> labels = 3;
|
||||
|
||||
// Output only. Source Google Cloud Storage uri for the Image.
|
||||
string source_gcs_uri = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
|
||||
|
||||
// Output only. Encoded image bytes. This field is only set when used to
|
||||
// contain image predictions such as segmentation image masks by online
|
||||
// prediction.
|
||||
bytes image_bytes = 7 [(google.api.field_behavior) = OUTPUT_ONLY];
|
||||
}
|
||||
|
|
@ -1,42 +0,0 @@
|
|||
// Copyright 2020 Google LLC
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
syntax = "proto3";
|
||||
|
||||
package google.cloud.visualinspection.v1beta1;
|
||||
|
||||
import "google/api/annotations.proto";
|
||||
import "google/api/field_behavior.proto";
|
||||
|
||||
option csharp_namespace = "Google.Cloud.VisualInspection.V1Beta1";
|
||||
option php_namespace = "Google\\Cloud\\VisualInspection\\V1beta1";
|
||||
option ruby_package = "Google::Cloud::VisualInspection::V1beta1";
|
||||
option go_package = "google.golang.org/genproto/googleapis/cloud/visualinspection/v1beta1;visualinspection";
|
||||
option java_multiple_files = true;
|
||||
option java_package = "com.google.cloud.visualinspection.v1beta1";
|
||||
|
||||
// The Google Cloud Storage location for the input content.
|
||||
message GcsSource {
|
||||
// Required. Reference to a Google Cloud Storage path.
|
||||
repeated string uris = 1 [(google.api.field_behavior) = REQUIRED];
|
||||
}
|
||||
|
||||
// The Google Cloud Storage location where the output is to be written to.
|
||||
message GcsDestination {
|
||||
// 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.
|
||||
string output_uri_prefix = 1 [(google.api.field_behavior) = REQUIRED];
|
||||
}
|
||||
|
|
@ -1,204 +0,0 @@
|
|||
// Copyright 2020 Google LLC
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
syntax = "proto3";
|
||||
|
||||
package google.cloud.visualinspection.v1beta1;
|
||||
|
||||
import "google/api/annotations.proto";
|
||||
import "google/api/field_behavior.proto";
|
||||
import "google/api/resource.proto";
|
||||
import "google/protobuf/timestamp.proto";
|
||||
|
||||
option csharp_namespace = "Google.Cloud.VisualInspection.V1Beta1";
|
||||
option php_namespace = "Google\\Cloud\\VisualInspection\\V1beta1";
|
||||
option ruby_package = "Google::Cloud::VisualInspection::V1beta1";
|
||||
option go_package = "google.golang.org/genproto/googleapis/cloud/visualinspection/v1beta1;visualinspection";
|
||||
option java_multiple_files = true;
|
||||
option java_package = "com.google.cloud.visualinspection.v1beta1";
|
||||
|
||||
// Labeling job to trigger human labeling for adding annotations to images.
|
||||
message LabelingJob {
|
||||
option (google.api.resource) = {
|
||||
type: "visualinspection.googleapis.com/LabelingJob"
|
||||
pattern: "projects/{project}/locations/{location}/labelingJobs/{labeling_job}"
|
||||
};
|
||||
|
||||
// Describes the state of a labeling job.
|
||||
enum JobState {
|
||||
// The job state is unspecified.
|
||||
JOB_STATE_UNSPECIFIED = 0;
|
||||
|
||||
// The job has been just created or resumed and processing has not yet
|
||||
// begun.
|
||||
JOB_STATE_QUEUED = 1;
|
||||
|
||||
// The service is preparing to run the job.
|
||||
JOB_STATE_PENDING = 2;
|
||||
|
||||
// The job is in progress.
|
||||
JOB_STATE_RUNNING = 3;
|
||||
|
||||
// The job completed successfully.
|
||||
JOB_STATE_SUCCEEDED = 4;
|
||||
|
||||
// The job failed.
|
||||
JOB_STATE_FAILED = 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.
|
||||
JOB_STATE_CANCELLING = 6;
|
||||
|
||||
// The job has been cancelled.
|
||||
JOB_STATE_CANCELLED = 7;
|
||||
|
||||
// The job has been stopped, and can be resumed.
|
||||
JOB_STATE_PAUSED = 8;
|
||||
}
|
||||
|
||||
oneof labeling_config {
|
||||
// Optional. Labeling Config for `AnomalyDetection` module.
|
||||
AnomalyDetectionLabelingConfig anomaly_detection_labeling_config = 3
|
||||
[(google.api.field_behavior) = OPTIONAL];
|
||||
}
|
||||
|
||||
// Output only. Resource name of the LabelingJob.
|
||||
string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
|
||||
|
||||
// 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.
|
||||
string display_name = 2 [(google.api.field_behavior) = REQUIRED];
|
||||
|
||||
// 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}.
|
||||
string output_annotation_set = 4 [
|
||||
(google.api.field_behavior) = REQUIRED,
|
||||
(google.api.resource_reference) = {
|
||||
type: "visualinspection.googleapis.com/AnnotationSet"
|
||||
}
|
||||
];
|
||||
|
||||
// Required. The Google Cloud Storage location of the instruction PDF. This
|
||||
// pdf is shared with labelers, and provides detailed description on how to
|
||||
// label.
|
||||
string instruction_uri = 5 [(google.api.field_behavior) = REQUIRED];
|
||||
|
||||
// Required. The full resource name of annotation specs that will be used for
|
||||
// labeling. Format
|
||||
//
|
||||
// `projects/{project}/locations/{location}/datasets/{dataset}/annotationSpecs/{annotation_spec}`.
|
||||
repeated string annotation_specs = 6 [
|
||||
(google.api.field_behavior) = REQUIRED,
|
||||
(google.api.resource_reference) = {
|
||||
type: "visualinspection.googleapis.com/AnnotationSpec"
|
||||
}
|
||||
];
|
||||
|
||||
// Optional. The SpecialistPools' resource names associated with this job.
|
||||
repeated string specialist_pools = 7 [(google.api.field_behavior) = OPTIONAL];
|
||||
|
||||
// Optional. The active learning config, e.g., maximum number of items to
|
||||
// label.
|
||||
ActiveLearningConfig active_learning_config = 8
|
||||
[(google.api.field_behavior) = OPTIONAL];
|
||||
|
||||
// Output only. The detailed state of the job.
|
||||
JobState state = 9 [(google.api.field_behavior) = OUTPUT_ONLY];
|
||||
|
||||
// Output only. Current labeling job progress percentage scaled in interval
|
||||
// [0, 100], indicating the percentage of DataItems that has been finished.
|
||||
int32 labeling_progress = 10 [(google.api.field_behavior) = OUTPUT_ONLY];
|
||||
|
||||
// Output only. Timestamp when this LabelingJob was created.
|
||||
google.protobuf.Timestamp create_time = 11
|
||||
[(google.api.field_behavior) = OUTPUT_ONLY];
|
||||
|
||||
// Output only. Timestamp when this LabelingJob was updated most recently.
|
||||
google.protobuf.Timestamp update_time = 12
|
||||
[(google.api.field_behavior) = OUTPUT_ONLY];
|
||||
|
||||
// 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.
|
||||
map<string, string> labels = 13 [(google.api.field_behavior) = OPTIONAL];
|
||||
}
|
||||
|
||||
// Configuration of active learning.
|
||||
message ActiveLearningConfig {
|
||||
// Max number of human labeled data items.
|
||||
int64 max_item_count = 1;
|
||||
}
|
||||
|
||||
// Labeling configuration of anomaly detection.
|
||||
message AnomalyDetectionLabelingConfig {
|
||||
// Required. The bounding box annotation set for anomaly detection module.
|
||||
// Format:
|
||||
//
|
||||
// projects/{project}/locations/{location}/datasets/{dataset}/annotationSets/{annotation_set}.
|
||||
repeated string input_bounding_box_annotation_sets = 1 [
|
||||
(google.api.field_behavior) = REQUIRED,
|
||||
(google.api.resource_reference) = {
|
||||
type: "visualinspection.googleapis.com/AnnotationSet"
|
||||
}
|
||||
];
|
||||
|
||||
// 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}`.
|
||||
repeated string annotation_spec_allowlist = 2
|
||||
[(google.api.resource_reference) = {
|
||||
type: "visualinspection.googleapis.com/AnnotationSpec"
|
||||
}];
|
||||
}
|
||||
|
||||
// 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.
|
||||
message SpecialistPool {
|
||||
option (google.api.resource) = {
|
||||
type: "visualinspection.googleapis.com/SpecialistPool"
|
||||
pattern: "projects/{project}/locations/{location}/specialistPools/{specialist_pool}"
|
||||
};
|
||||
|
||||
// Output only. Resource name for the SpecialistPool.
|
||||
string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
|
||||
|
||||
// Required. A user friendly display name for the Dataset.
|
||||
string display_name = 2 [(google.api.field_behavior) = REQUIRED];
|
||||
|
||||
// Output only. The number of Specialists in this SpecialistPool.
|
||||
int32 specialist_managers_count = 3
|
||||
[(google.api.field_behavior) = OUTPUT_ONLY];
|
||||
|
||||
// The email addresses of the specialists in the SpecialistPool.
|
||||
repeated string specialist_manager_emails = 4;
|
||||
}
|
||||
|
|
@ -1,159 +0,0 @@
|
|||
// Copyright 2020 Google LLC
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
syntax = "proto3";
|
||||
|
||||
package google.cloud.visualinspection.v1beta1;
|
||||
|
||||
import "google/api/annotations.proto";
|
||||
import "google/api/field_behavior.proto";
|
||||
|
||||
option csharp_namespace = "Google.Cloud.VisualInspection.V1Beta1";
|
||||
option php_namespace = "Google\\Cloud\\VisualInspection\\V1beta1";
|
||||
option ruby_package = "Google::Cloud::VisualInspection::V1beta1";
|
||||
option go_package = "google.golang.org/genproto/googleapis/cloud/visualinspection/v1beta1;visualinspection";
|
||||
option java_multiple_files = true;
|
||||
option java_package = "com.google.cloud.visualinspection.v1beta1";
|
||||
|
||||
// All metrics for the solution.
|
||||
message Metrics {
|
||||
// Output only. Metrics for the solution at different slices.
|
||||
map<string, MetricsSlice> metrics_slice = 1
|
||||
[(google.api.field_behavior) = OUTPUT_ONLY];
|
||||
}
|
||||
|
||||
// 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.
|
||||
message MetricsSlice {
|
||||
// Model metrics at a specific threshold.
|
||||
message ConfidenceLevelModelMetrics {
|
||||
// Output only. Model metrics.
|
||||
ModelMetrics model_metrics = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
|
||||
|
||||
// Output only. Confidence threshold in the range [0, 1].
|
||||
float confidence_threshold = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
|
||||
|
||||
// Output only. Pixel level confidence threshold in the range [0, 1].
|
||||
float pixel_confidence_threshold = 3
|
||||
[(google.api.field_behavior) = OUTPUT_ONLY];
|
||||
|
||||
// Output only. Cluster distance threshold in the range [0, 1] normalized by
|
||||
// the diagonal length of the image.
|
||||
float cluster_distance_threshold = 4
|
||||
[(google.api.field_behavior) = OUTPUT_ONLY];
|
||||
}
|
||||
|
||||
// Output only. The AnnotationSpec which this MetricSlice refers to. It is
|
||||
// empty if this MetricSlice aggregates across AnnotationSpecs.
|
||||
string annotation_spec = 8 [(google.api.field_behavior) = OUTPUT_ONLY];
|
||||
|
||||
// Output only. The AnnotationSpec display name which this MetricSlice refers
|
||||
// to. It is empty if this MetricSlice aggregates across AnnotationSpecs.
|
||||
string display_name = 9 [(google.api.field_behavior) = OUTPUT_ONLY];
|
||||
|
||||
// Output only. The number of examples used to create this evaluation metrics
|
||||
// instance.
|
||||
int32 evaluated_example_count = 10
|
||||
[(google.api.field_behavior) = OUTPUT_ONLY];
|
||||
|
||||
// Output only. Model metrics across confidence thresholds.
|
||||
repeated ConfidenceLevelModelMetrics confidence_level_model_metrics = 5
|
||||
[(google.api.field_behavior) = OUTPUT_ONLY];
|
||||
|
||||
// Output only. Average model metrics.
|
||||
ModelMetrics average_model_metrics = 7
|
||||
[(google.api.field_behavior) = OUTPUT_ONLY];
|
||||
}
|
||||
|
||||
// Model metrics which can vary depending on the model. These are not assumed to
|
||||
// refer to defect states in particular.
|
||||
message ModelMetrics {
|
||||
// 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.
|
||||
float false_negative_rate = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
|
||||
|
||||
// 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.
|
||||
float false_positive_rate = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
|
||||
|
||||
// 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.
|
||||
float precision = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
|
||||
|
||||
// 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.
|
||||
float recall = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
|
||||
|
||||
// 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.
|
||||
float iou = 5 [(google.api.field_behavior) = OUTPUT_ONLY];
|
||||
|
||||
// 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
|
||||
float dice_similarity_coefficient = 6
|
||||
[(google.api.field_behavior) = OUTPUT_ONLY];
|
||||
|
||||
// Output only. Confusion matrix for the classifications.
|
||||
// Only present for aggregated metrics.
|
||||
ConfusionMatrix confusion_matrix = 7
|
||||
[(google.api.field_behavior) = OUTPUT_ONLY];
|
||||
|
||||
// Output only. The average precision in the range [0, 1].
|
||||
float average_precision = 8 [(google.api.field_behavior) = OUTPUT_ONLY];
|
||||
}
|
||||
|
||||
// Confusion matrix across different class labels (if present).
|
||||
message ConfusionMatrix {
|
||||
// Individual row for the confusion matrix.
|
||||
message Row {
|
||||
// Output only. Count of items in a "slice" classified at a particular
|
||||
// class_label in the ground truth versus that classified by the solution.
|
||||
repeated int64 count = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
|
||||
}
|
||||
|
||||
// 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.
|
||||
repeated Row rows = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
|
||||
|
||||
// Output only. Class labels as the rows/columns of the confusion matrix.
|
||||
repeated string class_labels = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
|
||||
|
||||
// Output only. Class AnnotationSpecs as the rows/columns of the confusion
|
||||
// matrix.
|
||||
repeated string annotation_specs = 3
|
||||
[(google.api.field_behavior) = OUTPUT_ONLY];
|
||||
}
|
||||
|
|
@ -1,73 +0,0 @@
|
|||
// Copyright 2020 Google LLC
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
syntax = "proto3";
|
||||
|
||||
package google.cloud.visualinspection.v1beta1;
|
||||
|
||||
import "google/api/annotations.proto";
|
||||
import "google/api/field_behavior.proto";
|
||||
import "google/api/resource.proto";
|
||||
import "google/protobuf/struct.proto";
|
||||
import "google/protobuf/timestamp.proto";
|
||||
|
||||
option csharp_namespace = "Google.Cloud.VisualInspection.V1Beta1";
|
||||
option php_namespace = "Google\\Cloud\\VisualInspection\\V1beta1";
|
||||
option ruby_package = "Google::Cloud::VisualInspection::V1beta1";
|
||||
option go_package = "google.golang.org/genproto/googleapis/cloud/visualinspection/v1beta1;visualinspection";
|
||||
option java_multiple_files = true;
|
||||
option java_package = "com.google.cloud.visualinspection.v1beta1";
|
||||
|
||||
// A Model is the trained artifact of a Module which makes predictions.
|
||||
message Model {
|
||||
option (google.api.resource) = {
|
||||
type: "visualinspection.googleapis.com/Model"
|
||||
pattern: "projects/{project}/locations/{location}/solutions/{solution}/modules/{module}/models/{model}"
|
||||
};
|
||||
|
||||
// Output only. Resource name for Model generated by the system.
|
||||
string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
|
||||
|
||||
// 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.
|
||||
google.protobuf.Timestamp create_request_time = 2
|
||||
[(google.api.field_behavior) = OUTPUT_ONLY];
|
||||
|
||||
// Output only. Timestamp when this Model was trained and evaluated.
|
||||
google.protobuf.Timestamp create_time = 3
|
||||
[(google.api.field_behavior) = OUTPUT_ONLY];
|
||||
|
||||
// Output only. Timestamp when this Model was last updated.
|
||||
google.protobuf.Timestamp update_time = 4
|
||||
[(google.api.field_behavior) = OUTPUT_ONLY];
|
||||
|
||||
// Output only. Evaluations for this Model.
|
||||
repeated string evaluation_ids = 5
|
||||
[(google.api.field_behavior) = OUTPUT_ONLY];
|
||||
|
||||
// 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.
|
||||
google.protobuf.Struct config = 6 [(google.api.field_behavior) = OUTPUT_ONLY];
|
||||
|
||||
// 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.
|
||||
map<string, string> labels = 7;
|
||||
}
|
||||
|
|
@ -1,66 +0,0 @@
|
|||
// Copyright 2020 Google LLC
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
syntax = "proto3";
|
||||
|
||||
package google.cloud.visualinspection.v1beta1;
|
||||
|
||||
import "google/api/annotations.proto";
|
||||
import "google/api/field_behavior.proto";
|
||||
import "google/api/resource.proto";
|
||||
import "google/cloud/visualinspection/v1beta1/metrics.proto";
|
||||
|
||||
option csharp_namespace = "Google.Cloud.VisualInspection.V1Beta1";
|
||||
option php_namespace = "Google\\Cloud\\VisualInspection\\V1beta1";
|
||||
option ruby_package = "Google::Cloud::VisualInspection::V1beta1";
|
||||
option go_package = "google.golang.org/genproto/googleapis/cloud/visualinspection/v1beta1;visualinspection";
|
||||
option java_multiple_files = true;
|
||||
option java_package = "com.google.cloud.visualinspection.v1beta1";
|
||||
|
||||
// ModelEvaluation for visual inspection solutions.
|
||||
message ModelEvaluation {
|
||||
option (google.api.resource) = {
|
||||
type: "visualinspection.googleapis.com/ModelEvaluation"
|
||||
pattern: "projects/{project}/locations/{location}/solutions/{solution}/modules/{module}/models/{model}/modelEvaluations/{model_evaluation}"
|
||||
};
|
||||
|
||||
// Output only. Resource name for ModelEvaluation generated by the system.
|
||||
string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
|
||||
|
||||
// Deprecated, use metrics_map instead.
|
||||
// Metrics for this evaluation.
|
||||
Metrics metrics = 2 [deprecated = true];
|
||||
|
||||
// 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.
|
||||
repeated string eval_annotation_sets = 3
|
||||
[deprecated = true, (google.api.field_behavior) = OUTPUT_ONLY];
|
||||
|
||||
// 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.
|
||||
map<string, Metrics> metrics_map = 4
|
||||
[(google.api.field_behavior) = OUTPUT_ONLY];
|
||||
|
||||
// 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.
|
||||
map<string, string> eval_annotation_sets_map = 5
|
||||
[(google.api.field_behavior) = OUTPUT_ONLY];
|
||||
}
|
||||
|
|
@ -1,259 +0,0 @@
|
|||
// Copyright 2020 Google LLC
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
syntax = "proto3";
|
||||
|
||||
package google.cloud.visualinspection.v1beta1;
|
||||
|
||||
import "google/api/annotations.proto";
|
||||
import "google/api/field_behavior.proto";
|
||||
import "google/api/resource.proto";
|
||||
import "google/protobuf/struct.proto";
|
||||
import "google/protobuf/timestamp.proto";
|
||||
|
||||
option csharp_namespace = "Google.Cloud.VisualInspection.V1Beta1";
|
||||
option php_namespace = "Google\\Cloud\\VisualInspection\\V1beta1";
|
||||
option ruby_package = "Google::Cloud::VisualInspection::V1beta1";
|
||||
option go_package = "google.golang.org/genproto/googleapis/cloud/visualinspection/v1beta1;visualinspection";
|
||||
option java_multiple_files = true;
|
||||
option java_package = "com.google.cloud.visualinspection.v1beta1";
|
||||
|
||||
// A Module applies a computer vision algorithm to a subproblem of a visual
|
||||
// inspection task.
|
||||
message Module {
|
||||
option (google.api.resource) = {
|
||||
type: "visualinspection.googleapis.com/Module"
|
||||
pattern: "projects/{project}/locations/{location}/solutions/{solution}/modules/{module}"
|
||||
};
|
||||
|
||||
// The type of the module.
|
||||
oneof type {
|
||||
// Anomaly detection.
|
||||
AnomalyDetectionModule anomaly_detection = 8;
|
||||
|
||||
// Sparse alignment localization.
|
||||
SparseAlignmentLocalizationModule sparse_alignment_localization = 9;
|
||||
|
||||
// Localization refinement.
|
||||
LocalizationRefinementModule localization_refinement = 10;
|
||||
|
||||
// Object detection.
|
||||
ObjectDetectionModule object_detection = 11;
|
||||
|
||||
// Segmentation.
|
||||
SegmentationModule segmentation = 12;
|
||||
|
||||
// Classification.
|
||||
ClassificationModule classification = 13;
|
||||
}
|
||||
|
||||
// Output only. Resource name for Module generated by the system.
|
||||
string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
|
||||
|
||||
// Output only. Timestamp when this Module was created.
|
||||
google.protobuf.Timestamp create_time = 2
|
||||
[(google.api.field_behavior) = OUTPUT_ONLY];
|
||||
|
||||
// Output only. Timestamp when Module was last updated.
|
||||
google.protobuf.Timestamp update_time = 3
|
||||
[(google.api.field_behavior) = OUTPUT_ONLY];
|
||||
|
||||
// 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.
|
||||
string display_name = 4 [(google.api.field_behavior) = REQUIRED];
|
||||
|
||||
// A description for this Module.
|
||||
string description = 5;
|
||||
|
||||
// Configuration for this Module. Each Module may define its own
|
||||
// configuration options.
|
||||
google.protobuf.Struct config = 6;
|
||||
|
||||
// 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.
|
||||
map<string, string> labels = 7;
|
||||
}
|
||||
|
||||
// Detailed input and output information of an anomaly detection Module.
|
||||
message AnomalyDetectionModule {
|
||||
// Input regions within which to detect anomalies. If not provided, the full
|
||||
// image is used as input.
|
||||
repeated AnnotationInput query_regions = 1;
|
||||
|
||||
// Required. Classification labels to train the model.
|
||||
repeated AnnotationInput classification_labels = 2
|
||||
[(google.api.field_behavior) = REQUIRED];
|
||||
|
||||
// Required. Classification predictions by the model.
|
||||
repeated AnnotationOutput classification_predictions = 3
|
||||
[(google.api.field_behavior) = REQUIRED];
|
||||
}
|
||||
|
||||
// Detailed input and output information of a sparse alignment localization
|
||||
// module.
|
||||
message SparseAlignmentLocalizationModule {
|
||||
// Regions within the query image to align. Multiple regions could be aligned
|
||||
// per Image.
|
||||
repeated AnnotationInput query_regions = 1;
|
||||
|
||||
// Regions within the template image to transfer to the query image.
|
||||
repeated AnnotationInput target_regions = 2;
|
||||
|
||||
// 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.
|
||||
repeated AnnotationInput inspection_regions = 3;
|
||||
|
||||
// The target regions transformed by the module.
|
||||
repeated AnnotationOutput target_region_predictions = 4;
|
||||
|
||||
// The inspection regions transformed by the module.
|
||||
repeated AnnotationOutput inspection_region_predictions = 5;
|
||||
}
|
||||
|
||||
// Detailed input and output information of a localization refinment module.
|
||||
message LocalizationRefinementModule {
|
||||
// Regions within the query image to align. Multiple regions could
|
||||
// be aligned per Image.
|
||||
repeated AnnotationInput query_regions = 1;
|
||||
|
||||
// Regions within the template image to transfer to the query image.
|
||||
repeated AnnotationInput target_regions = 2;
|
||||
|
||||
// Regions which customize the search process for each target region.
|
||||
repeated AnnotationInput local_search_regions = 3;
|
||||
|
||||
// The target regions transformed by the module.
|
||||
repeated AnnotationOutput target_region_predictions = 4;
|
||||
|
||||
// The inspection regions transformed by the module.
|
||||
repeated AnnotationOutput local_search_region_predictions = 5;
|
||||
}
|
||||
|
||||
// Detailed input and output information of an object detection module.
|
||||
message ObjectDetectionModule {
|
||||
// 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.
|
||||
repeated AnnotationInput query_regions = 1;
|
||||
|
||||
// Regions within the template image to transfer to the query image.
|
||||
repeated AnnotationInput target_regions = 2;
|
||||
|
||||
// Required. The regions for each object to learn the representation of.
|
||||
repeated AnnotationInput object_regions = 3
|
||||
[(google.api.field_behavior) = REQUIRED];
|
||||
|
||||
// The target regions transformed by the module.
|
||||
repeated AnnotationOutput target_region_predictions = 4;
|
||||
|
||||
// Required. The objects regions detected by the module.
|
||||
repeated AnnotationOutput object_region_predictions = 5
|
||||
[(google.api.field_behavior) = REQUIRED];
|
||||
}
|
||||
|
||||
// Detailed input and output information of an image segmentation module.
|
||||
message SegmentationModule {
|
||||
// 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.
|
||||
repeated AnnotationInput query_regions = 1;
|
||||
|
||||
// Regions within the template image to transfer to the query image.
|
||||
repeated AnnotationInput inspection_regions = 2;
|
||||
|
||||
// Required. The segmentation regions to learn the representation of.
|
||||
repeated AnnotationInput segmentation_regions = 3
|
||||
[(google.api.field_behavior) = REQUIRED];
|
||||
|
||||
// The segmentation predictions in inspection regions by the module.
|
||||
repeated AnnotationOutput inspection_region_predictions = 4;
|
||||
|
||||
// Required. The segmentation predictions by the module.
|
||||
repeated AnnotationOutput segmentation_predictions = 5
|
||||
[(google.api.field_behavior) = REQUIRED];
|
||||
}
|
||||
|
||||
// Detailed input and output information of an image classification module.
|
||||
message ClassificationModule {
|
||||
// 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.
|
||||
repeated AnnotationInput query_regions = 1;
|
||||
|
||||
// Regions within the template image to transfer to the query image.
|
||||
repeated AnnotationInput inspection_regions = 2;
|
||||
|
||||
// Required. Classification labels to train the module.
|
||||
repeated AnnotationInput classification_labels = 3
|
||||
[(google.api.field_behavior) = REQUIRED];
|
||||
|
||||
// Classification predictions in inspection regions by the module.
|
||||
repeated AnnotationOutput inspection_region_predictions = 4;
|
||||
|
||||
// Required. Classification predictions by the module.
|
||||
repeated AnnotationOutput classification_predictions = 5
|
||||
[(google.api.field_behavior) = REQUIRED];
|
||||
}
|
||||
|
||||
// Specifies the source of Annotations for a Module input.
|
||||
message AnnotationInput {
|
||||
// Required. The AnnotationSet ID containing input Annotations. The expected
|
||||
// AnnotationType of this AnnotationSet will depend on the Module.
|
||||
string annotation_set_id = 1
|
||||
[deprecated = true, (google.api.field_behavior) = REQUIRED];
|
||||
|
||||
// Required. The AnnotationSet containing input Annotations. The expected
|
||||
// AnnotationType of this AnnotationSet will depend on the Module.
|
||||
string annotation_set = 3 [
|
||||
(google.api.field_behavior) = REQUIRED,
|
||||
(google.api.resource_reference) = {
|
||||
type: "visualinspection.googleapis.com/AnnotationSet"
|
||||
}
|
||||
];
|
||||
|
||||
// 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.
|
||||
repeated string annotation_spec_allowlist = 2;
|
||||
}
|
||||
|
||||
// Specifies the output for Annotations produced by a Module.
|
||||
message AnnotationOutput {
|
||||
// Required. The AnnotationSet ID containing output Annotations. The expected
|
||||
// AnnotationType of this AnnotationSet will depend on the Module.
|
||||
string annotation_set_id = 1
|
||||
[deprecated = true, (google.api.field_behavior) = REQUIRED];
|
||||
|
||||
// Required. The AnnotationSet containing output Annotations. The expected
|
||||
// AnnotationType of this AnnotationSet will depend on the Module.
|
||||
string annotation_set = 2 [
|
||||
(google.api.field_behavior) = REQUIRED,
|
||||
(google.api.resource_reference) = {
|
||||
type: "visualinspection.googleapis.com/AnnotationSet"
|
||||
}
|
||||
];
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
|
|
@ -1,116 +0,0 @@
|
|||
// Copyright 2020 Google LLC
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
syntax = "proto3";
|
||||
|
||||
package google.cloud.visualinspection.v1beta1;
|
||||
|
||||
import "google/api/annotations.proto";
|
||||
import "google/api/field_behavior.proto";
|
||||
import "google/api/resource.proto";
|
||||
import "google/protobuf/timestamp.proto";
|
||||
|
||||
option csharp_namespace = "Google.Cloud.VisualInspection.V1Beta1";
|
||||
option php_namespace = "Google\\Cloud\\VisualInspection\\V1beta1";
|
||||
option ruby_package = "Google::Cloud::VisualInspection::V1beta1";
|
||||
option go_package = "google.golang.org/genproto/googleapis/cloud/visualinspection/v1beta1;visualinspection";
|
||||
option java_multiple_files = true;
|
||||
option java_package = "com.google.cloud.visualinspection.v1beta1";
|
||||
|
||||
// A SolutionArtifact is a fixed set of Models which can be exported or
|
||||
// deployed.
|
||||
message SolutionArtifact {
|
||||
option (google.api.resource) = {
|
||||
type: "visualinspection.googleapis.com/SolutionArtifact"
|
||||
pattern: "projects/{project}/locations/{location}/solutions/{solution}/solutionArtifacts/{solution_artifact}"
|
||||
};
|
||||
|
||||
// Export format types.
|
||||
enum ExportType {
|
||||
// Unspecified by the user.
|
||||
EXPORT_TYPE_UNSPECIFIED = 0;
|
||||
|
||||
// A Docker-compatible container which runs on CPU only.
|
||||
CPU_CONTAINER = 1;
|
||||
|
||||
// A Docker-compatible container which runs on GPU.
|
||||
GPU_CONTAINER = 2;
|
||||
|
||||
// Packaged archive without the Docker container. It might include multiple
|
||||
// models, images, and other configuration files in one package.
|
||||
PACKAGED_ARCHIVE = 3;
|
||||
}
|
||||
|
||||
oneof export_location {
|
||||
// Export location for the container. This must be specified when export
|
||||
// type is a CONTAINER type.
|
||||
GcrDestination container_export_location = 9;
|
||||
|
||||
// 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.
|
||||
string packaged_archive_gcs_uri = 10;
|
||||
}
|
||||
|
||||
// Output only. Resource name for SolutionArtifact generated by the system.
|
||||
string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
|
||||
|
||||
// Output only. Timestamp when this Module was created.
|
||||
google.protobuf.Timestamp create_time = 2
|
||||
[(google.api.field_behavior) = OUTPUT_ONLY];
|
||||
|
||||
// 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.
|
||||
string display_name = 4 [(google.api.field_behavior) = REQUIRED];
|
||||
|
||||
// A description for this SolutionArtifact.
|
||||
string description = 5;
|
||||
|
||||
// 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.
|
||||
map<string, string> labels = 6;
|
||||
|
||||
// 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.
|
||||
repeated string models = 7;
|
||||
|
||||
// Required. Export type.
|
||||
ExportType export_type = 8 [(google.api.field_behavior) = REQUIRED];
|
||||
}
|
||||
|
||||
// The GCR location where the container will be pushed.
|
||||
message GcrDestination {
|
||||
// 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.
|
||||
string output_uri = 1 [(google.api.field_behavior) = REQUIRED];
|
||||
}
|
||||
|
|
@ -1,18 +0,0 @@
|
|||
type: com.google.api.codegen.ConfigProto
|
||||
config_schema_version: 2.0.0
|
||||
language_settings:
|
||||
java:
|
||||
package_name: com.google.cloud.visualinspection.v1beta1
|
||||
python:
|
||||
package_name: google.cloud.visualinspection_v1beta1.gapic
|
||||
go:
|
||||
package_name: cloud.google.com/go/visualinspection/apiv1beta1
|
||||
csharp:
|
||||
package_name: Google.VisualInspection.V1Beta1
|
||||
ruby:
|
||||
package_name: Google::Cloud::VisualInspection::V1Beta1
|
||||
php:
|
||||
package_name: Google\Cloud\VisualInspection\V1Beta1
|
||||
nodejs:
|
||||
package_name: visualinspection.v1beta1
|
||||
domain_layer_location: google-cloud
|
||||
|
|
@ -1,70 +0,0 @@
|
|||
{
|
||||
"methodConfig": [
|
||||
{
|
||||
"name": [
|
||||
{ "service": "google.cloud.visualinspection.v1beta1.VisualInspection", "method": "CreateSolution" },
|
||||
{ "service": "google.cloud.visualinspection.v1beta1.VisualInspection", "method": "CreateSolutionArtifact" },
|
||||
{ "service": "google.cloud.visualinspection.v1beta1.VisualInspection", "method": "ImportData" },
|
||||
{ "service": "google.cloud.visualinspection.v1beta1.VisualInspection", "method": "BatchPredict" },
|
||||
{ "service": "google.cloud.visualinspection.v1beta1.VisualInspection", "method": "ImportData" },
|
||||
{ "service": "google.cloud.visualinspection.v1beta1.VisualInspection", "method": "ExportData" },
|
||||
{ "service": "google.cloud.visualinspection.v1beta1.VisualInspection", "method": "CreateAnnotationSet" },
|
||||
{ "service": "google.cloud.visualinspection.v1beta1.VisualInspection", "method": "CreateAnnotationSpec" },
|
||||
{ "service": "google.cloud.visualinspection.v1beta1.VisualInspection", "method": "CreateModule" },
|
||||
{ "service": "google.cloud.visualinspection.v1beta1.VisualInspection", "method": "DeleteModule" },
|
||||
{ "service": "google.cloud.visualinspection.v1beta1.VisualInspection", "method": "UpdateModule" },
|
||||
{ "service": "google.cloud.visualinspection.v1beta1.VisualInspection", "method": "CreateModel" },
|
||||
{ "service": "google.cloud.visualinspection.v1beta1.VisualInspection", "method": "DeleteModel" },
|
||||
{ "service": "google.cloud.visualinspection.v1beta1.VisualInspection", "method": "UpdateModel" },
|
||||
{ "service": "google.cloud.visualinspection.v1beta1.VisualInspection", "method": "WritePredictions" },
|
||||
{ "service": "google.cloud.visualinspection.v1beta1.VisualInspection", "method": "CreateSpecialistPool" },
|
||||
{ "service": "google.cloud.visualinspection.v1beta1.VisualInspection", "method": "UpdateSpecialistPool" },
|
||||
{ "service": "google.cloud.visualinspection.v1beta1.VisualInspection", "method": "DeleteSpecialistPool" },
|
||||
{ "service": "google.cloud.visualinspection.v1beta1.VisualInspection", "method": "CreateLabelingJob" },
|
||||
{ "service": "google.cloud.visualinspection.v1beta1.VisualInspection", "method": "DeleteLabelingJob" }
|
||||
],
|
||||
"timeout": "5s"
|
||||
},
|
||||
{
|
||||
"name": [
|
||||
{ "service": "google.cloud.visualinspection.v1beta1.VisualInspection", "method": "ListSolutions" },
|
||||
{ "service": "google.cloud.visualinspection.v1beta1.VisualInspection", "method": "GetSolution" },
|
||||
{ "service": "google.cloud.visualinspection.v1beta1.VisualInspection", "method": "ListSolutionArtifacts" },
|
||||
{ "service": "google.cloud.visualinspection.v1beta1.VisualInspection", "method": "GetSolutionArtifact" },
|
||||
{ "service": "google.cloud.visualinspection.v1beta1.VisualInspection", "method": "DeleteSolutionArtifact" },
|
||||
{ "service": "google.cloud.visualinspection.v1beta1.VisualInspection", "method": "UpdateSolutionArtifact" },
|
||||
{ "service": "google.cloud.visualinspection.v1beta1.VisualInspection", "method": "GetDataset" },
|
||||
{ "service": "google.cloud.visualinspection.v1beta1.VisualInspection", "method": "ListDatasets" },
|
||||
{ "service": "google.cloud.visualinspection.v1beta1.VisualInspection", "method": "DeleteDataset" },
|
||||
{ "service": "google.cloud.visualinspection.v1beta1.VisualInspection", "method": "GetImage" },
|
||||
{ "service": "google.cloud.visualinspection.v1beta1.VisualInspection", "method": "ListImages" },
|
||||
{ "service": "google.cloud.visualinspection.v1beta1.VisualInspection", "method": "ListAnnotationSets" },
|
||||
{ "service": "google.cloud.visualinspection.v1beta1.VisualInspection", "method": "ListAnnotationSpecs" },
|
||||
{ "service": "google.cloud.visualinspection.v1beta1.VisualInspection", "method": "ListAnnotations" },
|
||||
{ "service": "google.cloud.visualinspection.v1beta1.VisualInspection", "method": "ListModules" },
|
||||
{ "service": "google.cloud.visualinspection.v1beta1.VisualInspection", "method": "GetModule" },
|
||||
{ "service": "google.cloud.visualinspection.v1beta1.VisualInspection", "method": "ListModels" },
|
||||
{ "service": "google.cloud.visualinspection.v1beta1.VisualInspection", "method": "GetModel" },
|
||||
{ "service": "google.cloud.visualinspection.v1beta1.VisualInspection", "method": "ListModelEvaluations" },
|
||||
{ "service": "google.cloud.visualinspection.v1beta1.VisualInspection", "method": "SearchModules" },
|
||||
{ "service": "google.cloud.visualinspection.v1beta1.VisualInspection", "method": "GetModelEvaluation" },
|
||||
{ "service": "google.cloud.visualinspection.v1beta1.VisualInspection", "method": "GetSpecialistPool" },
|
||||
{ "service": "google.cloud.visualinspection.v1beta1.VisualInspection", "method": "ListSpecialistPools" },
|
||||
{ "service": "google.cloud.visualinspection.v1beta1.VisualInspection", "method": "GetLabelingJob" },
|
||||
{ "service": "google.cloud.visualinspection.v1beta1.VisualInspection", "method": "ListLabelingJobs" },
|
||||
{ "service": "google.cloud.visualinspection.v1beta1.VisualInspection", "method": "CancelLabelingJob" }
|
||||
],
|
||||
"timeout": "5s",
|
||||
"retryPolicy": {
|
||||
"maxAttempts": 5,
|
||||
"initialBackoff": "0.100s",
|
||||
"maxBackoff": "60s",
|
||||
"backoffMultiplier": 1.3,
|
||||
"retryableStatusCodes": [
|
||||
"DEADLINE_EXCEEDED",
|
||||
"UNAVAILABLE"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -1,43 +0,0 @@
|
|||
type: google.api.Service
|
||||
config_version: 3
|
||||
name: visualinspection.googleapis.com
|
||||
title: Visual Inspection AI API
|
||||
|
||||
apis:
|
||||
- name: google.cloud.visualinspection.v1beta1.VisualInspection
|
||||
|
||||
types:
|
||||
- name: google.cloud.visualinspection.v1beta1.BatchPredictOperationMetadata
|
||||
- name: google.cloud.visualinspection.v1beta1.CommonOperationMetadata
|
||||
- name: google.cloud.visualinspection.v1beta1.CreateDatasetOperationMetadata
|
||||
- name: google.cloud.visualinspection.v1beta1.CreateModelOperationMetadata
|
||||
- name: google.cloud.visualinspection.v1beta1.CreateSolutionArtifactOperationMetadata
|
||||
- name: google.cloud.visualinspection.v1beta1.CreateSpecialistPoolOperationMetadata
|
||||
- name: google.cloud.visualinspection.v1beta1.DeleteAnnotationOperationMetadata
|
||||
- name: google.cloud.visualinspection.v1beta1.DeleteAnnotationSetOperationMetadata
|
||||
- name: google.cloud.visualinspection.v1beta1.DeleteAnnotationSpecOperationMetadata
|
||||
- name: google.cloud.visualinspection.v1beta1.DeleteDatasetOperationMetadata
|
||||
- name: google.cloud.visualinspection.v1beta1.DeleteLabelingJobOperationMetadata
|
||||
- name: google.cloud.visualinspection.v1beta1.DeleteModelOperationMetadata
|
||||
- name: google.cloud.visualinspection.v1beta1.DeleteModuleOperationMetadata
|
||||
- name: google.cloud.visualinspection.v1beta1.DeleteSolutionArtifactOperationMetadata
|
||||
- name: google.cloud.visualinspection.v1beta1.DeleteSpecialistPoolOperationMetadata
|
||||
- name: google.cloud.visualinspection.v1beta1.DeploySolutionOperationMetadata
|
||||
- name: google.cloud.visualinspection.v1beta1.ExportDataOperationMetadata
|
||||
- name: google.cloud.visualinspection.v1beta1.ExportSolutionOperationMetadata
|
||||
- name: google.cloud.visualinspection.v1beta1.ImportDataOperationMetadata
|
||||
- name: google.cloud.visualinspection.v1beta1.SolutionOperationMetadata
|
||||
- name: google.cloud.visualinspection.v1beta1.UndeploySolutionOperationMetadata
|
||||
- name: google.cloud.visualinspection.v1beta1.UpdateSpecialistPoolOperationMetadata
|
||||
- name: google.cloud.visualinspection.v1beta1.WritePredictionsOperationMetadata
|
||||
|
||||
authentication:
|
||||
rules:
|
||||
- selector: 'google.cloud.visualinspection.v1beta1.VisualInspection.*'
|
||||
oauth:
|
||||
canonical_scopes: |-
|
||||
https://www.googleapis.com/auth/cloud-platform
|
||||
- selector: 'google.longrunning.Operations.*'
|
||||
oauth:
|
||||
canonical_scopes: |-
|
||||
https://www.googleapis.com/auth/cloud-platform
|
||||
Loading…
Reference in New Issue