google-cloud-data_labeling-v1beta1 0.4.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +1 -1
- data/README.md +3 -3
- data/lib/google/cloud/data_labeling/v1beta1/data_labeling_service/client.rb +76 -83
- data/lib/google/cloud/data_labeling/v1beta1/data_labeling_service/operations.rb +27 -18
- data/lib/google/cloud/data_labeling/v1beta1/data_labeling_service.rb +1 -1
- data/lib/google/cloud/data_labeling/v1beta1/version.rb +1 -1
- data/lib/google/cloud/data_labeling/v1beta1.rb +2 -2
- data/lib/google/cloud/datalabeling/v1beta1/annotation_pb.rb +26 -134
- data/lib/google/cloud/datalabeling/v1beta1/annotation_spec_set_pb.rb +24 -13
- data/lib/google/cloud/datalabeling/v1beta1/data_labeling_service_pb.rb +31 -224
- data/lib/google/cloud/datalabeling/v1beta1/data_payloads_pb.rb +25 -23
- data/lib/google/cloud/datalabeling/v1beta1/dataset_pb.rb +28 -104
- data/lib/google/cloud/datalabeling/v1beta1/evaluation_job_pb.rb +29 -43
- data/lib/google/cloud/datalabeling/v1beta1/evaluation_pb.rb +26 -61
- data/lib/google/cloud/datalabeling/v1beta1/human_annotation_config_pb.rb +25 -65
- data/lib/google/cloud/datalabeling/v1beta1/instruction_pb.rb +25 -19
- data/lib/google/cloud/datalabeling/v1beta1/operations_pb.rb +28 -85
- data/proto_docs/google/api/client.rb +381 -0
- data/proto_docs/google/api/field_behavior.rb +14 -0
- data/proto_docs/google/api/launch_stage.rb +71 -0
- data/proto_docs/google/protobuf/any.rb +7 -4
- data/proto_docs/google/protobuf/empty.rb +0 -2
- data/proto_docs/google/protobuf/timestamp.rb +1 -3
- data/proto_docs/google/rpc/status.rb +4 -2
- metadata +10 -8
@@ -1,147 +1,39 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
3
|
# source: google/cloud/datalabeling/v1beta1/annotation.proto
|
3
4
|
|
4
5
|
require 'google/protobuf'
|
5
6
|
|
6
|
-
require 'google/api/annotations_pb'
|
7
|
-
require 'google/api/resource_pb'
|
8
7
|
require 'google/cloud/datalabeling/v1beta1/annotation_spec_set_pb'
|
9
8
|
require 'google/protobuf/duration_pb'
|
10
9
|
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
optional :annotation_spec, :message, 1, "google.cloud.datalabeling.v1beta1.AnnotationSpec"
|
35
|
-
end
|
36
|
-
add_message "google.cloud.datalabeling.v1beta1.Vertex" do
|
37
|
-
optional :x, :int32, 1
|
38
|
-
optional :y, :int32, 2
|
39
|
-
end
|
40
|
-
add_message "google.cloud.datalabeling.v1beta1.NormalizedVertex" do
|
41
|
-
optional :x, :float, 1
|
42
|
-
optional :y, :float, 2
|
43
|
-
end
|
44
|
-
add_message "google.cloud.datalabeling.v1beta1.BoundingPoly" do
|
45
|
-
repeated :vertices, :message, 1, "google.cloud.datalabeling.v1beta1.Vertex"
|
46
|
-
end
|
47
|
-
add_message "google.cloud.datalabeling.v1beta1.NormalizedBoundingPoly" do
|
48
|
-
repeated :normalized_vertices, :message, 1, "google.cloud.datalabeling.v1beta1.NormalizedVertex"
|
49
|
-
end
|
50
|
-
add_message "google.cloud.datalabeling.v1beta1.ImageBoundingPolyAnnotation" do
|
51
|
-
optional :annotation_spec, :message, 1, "google.cloud.datalabeling.v1beta1.AnnotationSpec"
|
52
|
-
oneof :bounded_area do
|
53
|
-
optional :bounding_poly, :message, 2, "google.cloud.datalabeling.v1beta1.BoundingPoly"
|
54
|
-
optional :normalized_bounding_poly, :message, 3, "google.cloud.datalabeling.v1beta1.NormalizedBoundingPoly"
|
55
|
-
end
|
56
|
-
end
|
57
|
-
add_message "google.cloud.datalabeling.v1beta1.Polyline" do
|
58
|
-
repeated :vertices, :message, 1, "google.cloud.datalabeling.v1beta1.Vertex"
|
59
|
-
end
|
60
|
-
add_message "google.cloud.datalabeling.v1beta1.NormalizedPolyline" do
|
61
|
-
repeated :normalized_vertices, :message, 1, "google.cloud.datalabeling.v1beta1.NormalizedVertex"
|
62
|
-
end
|
63
|
-
add_message "google.cloud.datalabeling.v1beta1.ImagePolylineAnnotation" do
|
64
|
-
optional :annotation_spec, :message, 1, "google.cloud.datalabeling.v1beta1.AnnotationSpec"
|
65
|
-
oneof :poly do
|
66
|
-
optional :polyline, :message, 2, "google.cloud.datalabeling.v1beta1.Polyline"
|
67
|
-
optional :normalized_polyline, :message, 3, "google.cloud.datalabeling.v1beta1.NormalizedPolyline"
|
68
|
-
end
|
69
|
-
end
|
70
|
-
add_message "google.cloud.datalabeling.v1beta1.ImageSegmentationAnnotation" do
|
71
|
-
map :annotation_colors, :string, :message, 1, "google.cloud.datalabeling.v1beta1.AnnotationSpec"
|
72
|
-
optional :mime_type, :string, 2
|
73
|
-
optional :image_bytes, :bytes, 3
|
74
|
-
end
|
75
|
-
add_message "google.cloud.datalabeling.v1beta1.TextClassificationAnnotation" do
|
76
|
-
optional :annotation_spec, :message, 1, "google.cloud.datalabeling.v1beta1.AnnotationSpec"
|
77
|
-
end
|
78
|
-
add_message "google.cloud.datalabeling.v1beta1.TextEntityExtractionAnnotation" do
|
79
|
-
optional :annotation_spec, :message, 1, "google.cloud.datalabeling.v1beta1.AnnotationSpec"
|
80
|
-
optional :sequential_segment, :message, 2, "google.cloud.datalabeling.v1beta1.SequentialSegment"
|
81
|
-
end
|
82
|
-
add_message "google.cloud.datalabeling.v1beta1.SequentialSegment" do
|
83
|
-
optional :start, :int32, 1
|
84
|
-
optional :end, :int32, 2
|
85
|
-
end
|
86
|
-
add_message "google.cloud.datalabeling.v1beta1.TimeSegment" do
|
87
|
-
optional :start_time_offset, :message, 1, "google.protobuf.Duration"
|
88
|
-
optional :end_time_offset, :message, 2, "google.protobuf.Duration"
|
89
|
-
end
|
90
|
-
add_message "google.cloud.datalabeling.v1beta1.VideoClassificationAnnotation" do
|
91
|
-
optional :time_segment, :message, 1, "google.cloud.datalabeling.v1beta1.TimeSegment"
|
92
|
-
optional :annotation_spec, :message, 2, "google.cloud.datalabeling.v1beta1.AnnotationSpec"
|
93
|
-
end
|
94
|
-
add_message "google.cloud.datalabeling.v1beta1.ObjectTrackingFrame" do
|
95
|
-
optional :time_offset, :message, 3, "google.protobuf.Duration"
|
96
|
-
oneof :bounded_area do
|
97
|
-
optional :bounding_poly, :message, 1, "google.cloud.datalabeling.v1beta1.BoundingPoly"
|
98
|
-
optional :normalized_bounding_poly, :message, 2, "google.cloud.datalabeling.v1beta1.NormalizedBoundingPoly"
|
99
|
-
end
|
100
|
-
end
|
101
|
-
add_message "google.cloud.datalabeling.v1beta1.VideoObjectTrackingAnnotation" do
|
102
|
-
optional :annotation_spec, :message, 1, "google.cloud.datalabeling.v1beta1.AnnotationSpec"
|
103
|
-
optional :time_segment, :message, 2, "google.cloud.datalabeling.v1beta1.TimeSegment"
|
104
|
-
repeated :object_tracking_frames, :message, 3, "google.cloud.datalabeling.v1beta1.ObjectTrackingFrame"
|
105
|
-
end
|
106
|
-
add_message "google.cloud.datalabeling.v1beta1.VideoEventAnnotation" do
|
107
|
-
optional :annotation_spec, :message, 1, "google.cloud.datalabeling.v1beta1.AnnotationSpec"
|
108
|
-
optional :time_segment, :message, 2, "google.cloud.datalabeling.v1beta1.TimeSegment"
|
109
|
-
end
|
110
|
-
add_message "google.cloud.datalabeling.v1beta1.AnnotationMetadata" do
|
111
|
-
optional :operator_metadata, :message, 2, "google.cloud.datalabeling.v1beta1.OperatorMetadata"
|
112
|
-
end
|
113
|
-
add_message "google.cloud.datalabeling.v1beta1.OperatorMetadata" do
|
114
|
-
optional :score, :float, 1
|
115
|
-
optional :total_votes, :int32, 2
|
116
|
-
optional :label_votes, :int32, 3
|
117
|
-
repeated :comments, :string, 4
|
118
|
-
end
|
119
|
-
add_enum "google.cloud.datalabeling.v1beta1.AnnotationSource" do
|
120
|
-
value :ANNOTATION_SOURCE_UNSPECIFIED, 0
|
121
|
-
value :OPERATOR, 3
|
122
|
-
end
|
123
|
-
add_enum "google.cloud.datalabeling.v1beta1.AnnotationSentiment" do
|
124
|
-
value :ANNOTATION_SENTIMENT_UNSPECIFIED, 0
|
125
|
-
value :NEGATIVE, 1
|
126
|
-
value :POSITIVE, 2
|
127
|
-
end
|
128
|
-
add_enum "google.cloud.datalabeling.v1beta1.AnnotationType" do
|
129
|
-
value :ANNOTATION_TYPE_UNSPECIFIED, 0
|
130
|
-
value :IMAGE_CLASSIFICATION_ANNOTATION, 1
|
131
|
-
value :IMAGE_BOUNDING_BOX_ANNOTATION, 2
|
132
|
-
value :IMAGE_ORIENTED_BOUNDING_BOX_ANNOTATION, 13
|
133
|
-
value :IMAGE_BOUNDING_POLY_ANNOTATION, 10
|
134
|
-
value :IMAGE_POLYLINE_ANNOTATION, 11
|
135
|
-
value :IMAGE_SEGMENTATION_ANNOTATION, 12
|
136
|
-
value :VIDEO_SHOTS_CLASSIFICATION_ANNOTATION, 3
|
137
|
-
value :VIDEO_OBJECT_TRACKING_ANNOTATION, 4
|
138
|
-
value :VIDEO_OBJECT_DETECTION_ANNOTATION, 5
|
139
|
-
value :VIDEO_EVENT_ANNOTATION, 6
|
140
|
-
value :TEXT_CLASSIFICATION_ANNOTATION, 8
|
141
|
-
value :TEXT_ENTITY_EXTRACTION_ANNOTATION, 9
|
142
|
-
value :GENERAL_CLASSIFICATION_ANNOTATION, 14
|
10
|
+
|
11
|
+
descriptor_data = "\n2google/cloud/datalabeling/v1beta1/annotation.proto\x12!google.cloud.datalabeling.v1beta1\x1a;google/cloud/datalabeling/v1beta1/annotation_spec_set.proto\x1a\x1egoogle/protobuf/duration.proto\"\xe2\x02\n\nAnnotation\x12\x0c\n\x04name\x18\x01 \x01(\t\x12N\n\x11\x61nnotation_source\x18\x02 \x01(\x0e\x32\x33.google.cloud.datalabeling.v1beta1.AnnotationSource\x12L\n\x10\x61nnotation_value\x18\x03 \x01(\x0b\x32\x32.google.cloud.datalabeling.v1beta1.AnnotationValue\x12R\n\x13\x61nnotation_metadata\x18\x04 \x01(\x0b\x32\x35.google.cloud.datalabeling.v1beta1.AnnotationMetadata\x12T\n\x14\x61nnotation_sentiment\x18\x06 \x01(\x0e\x32\x36.google.cloud.datalabeling.v1beta1.AnnotationSentiment\"\xd1\x07\n\x0f\x41nnotationValue\x12k\n\x1fimage_classification_annotation\x18\x01 \x01(\x0b\x32@.google.cloud.datalabeling.v1beta1.ImageClassificationAnnotationH\x00\x12h\n\x1eimage_bounding_poly_annotation\x18\x02 \x01(\x0b\x32>.google.cloud.datalabeling.v1beta1.ImageBoundingPolyAnnotationH\x00\x12_\n\x19image_polyline_annotation\x18\x08 \x01(\x0b\x32:.google.cloud.datalabeling.v1beta1.ImagePolylineAnnotationH\x00\x12g\n\x1dimage_segmentation_annotation\x18\t \x01(\x0b\x32>.google.cloud.datalabeling.v1beta1.ImageSegmentationAnnotationH\x00\x12i\n\x1etext_classification_annotation\x18\x03 \x01(\x0b\x32?.google.cloud.datalabeling.v1beta1.TextClassificationAnnotationH\x00\x12n\n!text_entity_extraction_annotation\x18\n \x01(\x0b\x32\x41.google.cloud.datalabeling.v1beta1.TextEntityExtractionAnnotationH\x00\x12k\n\x1fvideo_classification_annotation\x18\x04 \x01(\x0b\x32@.google.cloud.datalabeling.v1beta1.VideoClassificationAnnotationH\x00\x12l\n video_object_tracking_annotation\x18\x05 \x01(\x0b\x32@.google.cloud.datalabeling.v1beta1.VideoObjectTrackingAnnotationH\x00\x12Y\n\x16video_event_annotation\x18\x06 \x01(\x0b\x32\x37.google.cloud.datalabeling.v1beta1.VideoEventAnnotationH\x00\x42\x0c\n\nvalue_type\"k\n\x1dImageClassificationAnnotation\x12J\n\x0f\x61nnotation_spec\x18\x01 \x01(\x0b\x32\x31.google.cloud.datalabeling.v1beta1.AnnotationSpec\"\x1e\n\x06Vertex\x12\t\n\x01x\x18\x01 \x01(\x05\x12\t\n\x01y\x18\x02 \x01(\x05\"(\n\x10NormalizedVertex\x12\t\n\x01x\x18\x01 \x01(\x02\x12\t\n\x01y\x18\x02 \x01(\x02\"K\n\x0c\x42oundingPoly\x12;\n\x08vertices\x18\x01 \x03(\x0b\x32).google.cloud.datalabeling.v1beta1.Vertex\"j\n\x16NormalizedBoundingPoly\x12P\n\x13normalized_vertices\x18\x01 \x03(\x0b\x32\x33.google.cloud.datalabeling.v1beta1.NormalizedVertex\"\xa2\x02\n\x1bImageBoundingPolyAnnotation\x12H\n\rbounding_poly\x18\x02 \x01(\x0b\x32/.google.cloud.datalabeling.v1beta1.BoundingPolyH\x00\x12]\n\x18normalized_bounding_poly\x18\x03 \x01(\x0b\x32\x39.google.cloud.datalabeling.v1beta1.NormalizedBoundingPolyH\x00\x12J\n\x0f\x61nnotation_spec\x18\x01 \x01(\x0b\x32\x31.google.cloud.datalabeling.v1beta1.AnnotationSpecB\x0e\n\x0c\x62ounded_area\"G\n\x08Polyline\x12;\n\x08vertices\x18\x01 \x03(\x0b\x32).google.cloud.datalabeling.v1beta1.Vertex\"f\n\x12NormalizedPolyline\x12P\n\x13normalized_vertices\x18\x01 \x03(\x0b\x32\x33.google.cloud.datalabeling.v1beta1.NormalizedVertex\"\x84\x02\n\x17ImagePolylineAnnotation\x12?\n\x08polyline\x18\x02 \x01(\x0b\x32+.google.cloud.datalabeling.v1beta1.PolylineH\x00\x12T\n\x13normalized_polyline\x18\x03 \x01(\x0b\x32\x35.google.cloud.datalabeling.v1beta1.NormalizedPolylineH\x00\x12J\n\x0f\x61nnotation_spec\x18\x01 \x01(\x0b\x32\x31.google.cloud.datalabeling.v1beta1.AnnotationSpecB\x06\n\x04poly\"\xa2\x02\n\x1bImageSegmentationAnnotation\x12o\n\x11\x61nnotation_colors\x18\x01 \x03(\x0b\x32T.google.cloud.datalabeling.v1beta1.ImageSegmentationAnnotation.AnnotationColorsEntry\x12\x11\n\tmime_type\x18\x02 \x01(\t\x12\x13\n\x0bimage_bytes\x18\x03 \x01(\x0c\x1aj\n\x15\x41nnotationColorsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12@\n\x05value\x18\x02 \x01(\x0b\x32\x31.google.cloud.datalabeling.v1beta1.AnnotationSpec:\x02\x38\x01\"j\n\x1cTextClassificationAnnotation\x12J\n\x0f\x61nnotation_spec\x18\x01 \x01(\x0b\x32\x31.google.cloud.datalabeling.v1beta1.AnnotationSpec\"\xbe\x01\n\x1eTextEntityExtractionAnnotation\x12J\n\x0f\x61nnotation_spec\x18\x01 \x01(\x0b\x32\x31.google.cloud.datalabeling.v1beta1.AnnotationSpec\x12P\n\x12sequential_segment\x18\x02 \x01(\x0b\x32\x34.google.cloud.datalabeling.v1beta1.SequentialSegment\"/\n\x11SequentialSegment\x12\r\n\x05start\x18\x01 \x01(\x05\x12\x0b\n\x03\x65nd\x18\x02 \x01(\x05\"w\n\x0bTimeSegment\x12\x34\n\x11start_time_offset\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x32\n\x0f\x65nd_time_offset\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\"\xb1\x01\n\x1dVideoClassificationAnnotation\x12\x44\n\x0ctime_segment\x18\x01 \x01(\x0b\x32..google.cloud.datalabeling.v1beta1.TimeSegment\x12J\n\x0f\x61nnotation_spec\x18\x02 \x01(\x0b\x32\x31.google.cloud.datalabeling.v1beta1.AnnotationSpec\"\xfe\x01\n\x13ObjectTrackingFrame\x12H\n\rbounding_poly\x18\x01 \x01(\x0b\x32/.google.cloud.datalabeling.v1beta1.BoundingPolyH\x00\x12]\n\x18normalized_bounding_poly\x18\x02 \x01(\x0b\x32\x39.google.cloud.datalabeling.v1beta1.NormalizedBoundingPolyH\x00\x12.\n\x0btime_offset\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\x0e\n\x0c\x62ounded_area\"\x89\x02\n\x1dVideoObjectTrackingAnnotation\x12J\n\x0f\x61nnotation_spec\x18\x01 \x01(\x0b\x32\x31.google.cloud.datalabeling.v1beta1.AnnotationSpec\x12\x44\n\x0ctime_segment\x18\x02 \x01(\x0b\x32..google.cloud.datalabeling.v1beta1.TimeSegment\x12V\n\x16object_tracking_frames\x18\x03 \x03(\x0b\x32\x36.google.cloud.datalabeling.v1beta1.ObjectTrackingFrame\"\xa8\x01\n\x14VideoEventAnnotation\x12J\n\x0f\x61nnotation_spec\x18\x01 \x01(\x0b\x32\x31.google.cloud.datalabeling.v1beta1.AnnotationSpec\x12\x44\n\x0ctime_segment\x18\x02 \x01(\x0b\x32..google.cloud.datalabeling.v1beta1.TimeSegment\"d\n\x12\x41nnotationMetadata\x12N\n\x11operator_metadata\x18\x02 \x01(\x0b\x32\x33.google.cloud.datalabeling.v1beta1.OperatorMetadata\"]\n\x10OperatorMetadata\x12\r\n\x05score\x18\x01 \x01(\x02\x12\x13\n\x0btotal_votes\x18\x02 \x01(\x05\x12\x13\n\x0blabel_votes\x18\x03 \x01(\x05\x12\x10\n\x08\x63omments\x18\x04 \x03(\t*C\n\x10\x41nnotationSource\x12!\n\x1d\x41NNOTATION_SOURCE_UNSPECIFIED\x10\x00\x12\x0c\n\x08OPERATOR\x10\x03*W\n\x13\x41nnotationSentiment\x12$\n ANNOTATION_SENTIMENT_UNSPECIFIED\x10\x00\x12\x0c\n\x08NEGATIVE\x10\x01\x12\x0c\n\x08POSITIVE\x10\x02*\x91\x04\n\x0e\x41nnotationType\x12\x1f\n\x1b\x41NNOTATION_TYPE_UNSPECIFIED\x10\x00\x12#\n\x1fIMAGE_CLASSIFICATION_ANNOTATION\x10\x01\x12!\n\x1dIMAGE_BOUNDING_BOX_ANNOTATION\x10\x02\x12*\n&IMAGE_ORIENTED_BOUNDING_BOX_ANNOTATION\x10\r\x12\"\n\x1eIMAGE_BOUNDING_POLY_ANNOTATION\x10\n\x12\x1d\n\x19IMAGE_POLYLINE_ANNOTATION\x10\x0b\x12!\n\x1dIMAGE_SEGMENTATION_ANNOTATION\x10\x0c\x12)\n%VIDEO_SHOTS_CLASSIFICATION_ANNOTATION\x10\x03\x12$\n VIDEO_OBJECT_TRACKING_ANNOTATION\x10\x04\x12%\n!VIDEO_OBJECT_DETECTION_ANNOTATION\x10\x05\x12\x1a\n\x16VIDEO_EVENT_ANNOTATION\x10\x06\x12\"\n\x1eTEXT_CLASSIFICATION_ANNOTATION\x10\x08\x12%\n!TEXT_ENTITY_EXTRACTION_ANNOTATION\x10\t\x12%\n!GENERAL_CLASSIFICATION_ANNOTATION\x10\x0e\x42\xe3\x01\n%com.google.cloud.datalabeling.v1beta1P\x01ZIcloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb;datalabelingpb\xaa\x02!Google.Cloud.DataLabeling.V1Beta1\xca\x02!Google\\Cloud\\DataLabeling\\V1beta1\xea\x02$Google::Cloud::DataLabeling::V1beta1b\x06proto3"
|
12
|
+
|
13
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
14
|
+
|
15
|
+
begin
|
16
|
+
pool.add_serialized_file(descriptor_data)
|
17
|
+
rescue TypeError => e
|
18
|
+
# Compatibility code: will be removed in the next major version.
|
19
|
+
require 'google/protobuf/descriptor_pb'
|
20
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
21
|
+
parsed.clear_dependency
|
22
|
+
serialized = parsed.class.encode(parsed)
|
23
|
+
file = pool.add_serialized_file(serialized)
|
24
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
25
|
+
imports = [
|
26
|
+
["google.cloud.datalabeling.v1beta1.AnnotationSpec", "google/cloud/datalabeling/v1beta1/annotation_spec_set.proto"],
|
27
|
+
["google.protobuf.Duration", "google/protobuf/duration.proto"],
|
28
|
+
]
|
29
|
+
imports.each do |type_name, expected_filename|
|
30
|
+
import_file = pool.lookup(type_name).file_descriptor
|
31
|
+
if import_file.name != expected_filename
|
32
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
143
33
|
end
|
144
34
|
end
|
35
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
36
|
+
warn "This will become an error in the next major version."
|
145
37
|
end
|
146
38
|
|
147
39
|
module Google
|
@@ -1,25 +1,36 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
3
|
# source: google/cloud/datalabeling/v1beta1/annotation_spec_set.proto
|
3
4
|
|
4
5
|
require 'google/protobuf'
|
5
6
|
|
6
|
-
require 'google/api/annotations_pb'
|
7
7
|
require 'google/api/resource_pb'
|
8
8
|
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
9
|
+
|
10
|
+
descriptor_data = "\n;google/cloud/datalabeling/v1beta1/annotation_spec_set.proto\x12!google.cloud.datalabeling.v1beta1\x1a\x19google/api/resource.proto\"\xa6\x02\n\x11\x41nnotationSpecSet\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12K\n\x10\x61nnotation_specs\x18\x04 \x03(\x0b\x32\x31.google.cloud.datalabeling.v1beta1.AnnotationSpec\x12\x1a\n\x12\x62locking_resources\x18\x05 \x03(\t:o\xea\x41l\n-datalabeling.googleapis.com/AnnotationSpecSet\x12;projects/{project}/annotationSpecSets/{annotation_spec_set}\";\n\x0e\x41nnotationSpec\x12\x14\n\x0c\x64isplay_name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\tB\xe3\x01\n%com.google.cloud.datalabeling.v1beta1P\x01ZIcloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb;datalabelingpb\xaa\x02!Google.Cloud.DataLabeling.V1Beta1\xca\x02!Google\\Cloud\\DataLabeling\\V1beta1\xea\x02$Google::Cloud::DataLabeling::V1beta1b\x06proto3"
|
11
|
+
|
12
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
13
|
+
|
14
|
+
begin
|
15
|
+
pool.add_serialized_file(descriptor_data)
|
16
|
+
rescue TypeError => e
|
17
|
+
# Compatibility code: will be removed in the next major version.
|
18
|
+
require 'google/protobuf/descriptor_pb'
|
19
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
20
|
+
parsed.clear_dependency
|
21
|
+
serialized = parsed.class.encode(parsed)
|
22
|
+
file = pool.add_serialized_file(serialized)
|
23
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
24
|
+
imports = [
|
25
|
+
]
|
26
|
+
imports.each do |type_name, expected_filename|
|
27
|
+
import_file = pool.lookup(type_name).file_descriptor
|
28
|
+
if import_file.name != expected_filename
|
29
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
21
30
|
end
|
22
31
|
end
|
32
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
33
|
+
warn "This will become an error in the next major version."
|
23
34
|
end
|
24
35
|
|
25
36
|
module Google
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
3
|
# source: google/cloud/datalabeling/v1beta1/data_labeling_service.proto
|
3
4
|
|
@@ -17,232 +18,38 @@ require 'google/longrunning/operations_pb'
|
|
17
18
|
require 'google/protobuf/empty_pb'
|
18
19
|
require 'google/protobuf/field_mask_pb'
|
19
20
|
|
20
|
-
|
21
|
-
add_file("google/cloud/datalabeling/v1beta1/data_labeling_service.proto", :syntax => :proto3) do
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
optional :name, :string, 1
|
49
|
-
optional :annotated_dataset, :string, 2
|
50
|
-
optional :filter, :string, 3
|
51
|
-
optional :output_config, :message, 4, "google.cloud.datalabeling.v1beta1.OutputConfig"
|
52
|
-
optional :user_email_address, :string, 5
|
53
|
-
end
|
54
|
-
add_message "google.cloud.datalabeling.v1beta1.GetDataItemRequest" do
|
55
|
-
optional :name, :string, 1
|
56
|
-
end
|
57
|
-
add_message "google.cloud.datalabeling.v1beta1.ListDataItemsRequest" do
|
58
|
-
optional :parent, :string, 1
|
59
|
-
optional :filter, :string, 2
|
60
|
-
optional :page_size, :int32, 3
|
61
|
-
optional :page_token, :string, 4
|
62
|
-
end
|
63
|
-
add_message "google.cloud.datalabeling.v1beta1.ListDataItemsResponse" do
|
64
|
-
repeated :data_items, :message, 1, "google.cloud.datalabeling.v1beta1.DataItem"
|
65
|
-
optional :next_page_token, :string, 2
|
66
|
-
end
|
67
|
-
add_message "google.cloud.datalabeling.v1beta1.GetAnnotatedDatasetRequest" do
|
68
|
-
optional :name, :string, 1
|
69
|
-
end
|
70
|
-
add_message "google.cloud.datalabeling.v1beta1.ListAnnotatedDatasetsRequest" do
|
71
|
-
optional :parent, :string, 1
|
72
|
-
optional :filter, :string, 2
|
73
|
-
optional :page_size, :int32, 3
|
74
|
-
optional :page_token, :string, 4
|
75
|
-
end
|
76
|
-
add_message "google.cloud.datalabeling.v1beta1.ListAnnotatedDatasetsResponse" do
|
77
|
-
repeated :annotated_datasets, :message, 1, "google.cloud.datalabeling.v1beta1.AnnotatedDataset"
|
78
|
-
optional :next_page_token, :string, 2
|
79
|
-
end
|
80
|
-
add_message "google.cloud.datalabeling.v1beta1.DeleteAnnotatedDatasetRequest" do
|
81
|
-
optional :name, :string, 1
|
82
|
-
end
|
83
|
-
add_message "google.cloud.datalabeling.v1beta1.LabelImageRequest" do
|
84
|
-
optional :parent, :string, 1
|
85
|
-
optional :basic_config, :message, 2, "google.cloud.datalabeling.v1beta1.HumanAnnotationConfig"
|
86
|
-
optional :feature, :enum, 3, "google.cloud.datalabeling.v1beta1.LabelImageRequest.Feature"
|
87
|
-
oneof :request_config do
|
88
|
-
optional :image_classification_config, :message, 4, "google.cloud.datalabeling.v1beta1.ImageClassificationConfig"
|
89
|
-
optional :bounding_poly_config, :message, 5, "google.cloud.datalabeling.v1beta1.BoundingPolyConfig"
|
90
|
-
optional :polyline_config, :message, 6, "google.cloud.datalabeling.v1beta1.PolylineConfig"
|
91
|
-
optional :segmentation_config, :message, 7, "google.cloud.datalabeling.v1beta1.SegmentationConfig"
|
92
|
-
end
|
93
|
-
end
|
94
|
-
add_enum "google.cloud.datalabeling.v1beta1.LabelImageRequest.Feature" do
|
95
|
-
value :FEATURE_UNSPECIFIED, 0
|
96
|
-
value :CLASSIFICATION, 1
|
97
|
-
value :BOUNDING_BOX, 2
|
98
|
-
value :ORIENTED_BOUNDING_BOX, 6
|
99
|
-
value :BOUNDING_POLY, 3
|
100
|
-
value :POLYLINE, 4
|
101
|
-
value :SEGMENTATION, 5
|
102
|
-
end
|
103
|
-
add_message "google.cloud.datalabeling.v1beta1.LabelVideoRequest" do
|
104
|
-
optional :parent, :string, 1
|
105
|
-
optional :basic_config, :message, 2, "google.cloud.datalabeling.v1beta1.HumanAnnotationConfig"
|
106
|
-
optional :feature, :enum, 3, "google.cloud.datalabeling.v1beta1.LabelVideoRequest.Feature"
|
107
|
-
oneof :request_config do
|
108
|
-
optional :video_classification_config, :message, 4, "google.cloud.datalabeling.v1beta1.VideoClassificationConfig"
|
109
|
-
optional :object_detection_config, :message, 5, "google.cloud.datalabeling.v1beta1.ObjectDetectionConfig"
|
110
|
-
optional :object_tracking_config, :message, 6, "google.cloud.datalabeling.v1beta1.ObjectTrackingConfig"
|
111
|
-
optional :event_config, :message, 7, "google.cloud.datalabeling.v1beta1.EventConfig"
|
112
|
-
end
|
113
|
-
end
|
114
|
-
add_enum "google.cloud.datalabeling.v1beta1.LabelVideoRequest.Feature" do
|
115
|
-
value :FEATURE_UNSPECIFIED, 0
|
116
|
-
value :CLASSIFICATION, 1
|
117
|
-
value :OBJECT_DETECTION, 2
|
118
|
-
value :OBJECT_TRACKING, 3
|
119
|
-
value :EVENT, 4
|
120
|
-
end
|
121
|
-
add_message "google.cloud.datalabeling.v1beta1.LabelTextRequest" do
|
122
|
-
optional :parent, :string, 1
|
123
|
-
optional :basic_config, :message, 2, "google.cloud.datalabeling.v1beta1.HumanAnnotationConfig"
|
124
|
-
optional :feature, :enum, 6, "google.cloud.datalabeling.v1beta1.LabelTextRequest.Feature"
|
125
|
-
oneof :request_config do
|
126
|
-
optional :text_classification_config, :message, 4, "google.cloud.datalabeling.v1beta1.TextClassificationConfig"
|
127
|
-
optional :text_entity_extraction_config, :message, 5, "google.cloud.datalabeling.v1beta1.TextEntityExtractionConfig"
|
128
|
-
end
|
129
|
-
end
|
130
|
-
add_enum "google.cloud.datalabeling.v1beta1.LabelTextRequest.Feature" do
|
131
|
-
value :FEATURE_UNSPECIFIED, 0
|
132
|
-
value :TEXT_CLASSIFICATION, 1
|
133
|
-
value :TEXT_ENTITY_EXTRACTION, 2
|
134
|
-
end
|
135
|
-
add_message "google.cloud.datalabeling.v1beta1.GetExampleRequest" do
|
136
|
-
optional :name, :string, 1
|
137
|
-
optional :filter, :string, 2
|
138
|
-
end
|
139
|
-
add_message "google.cloud.datalabeling.v1beta1.ListExamplesRequest" do
|
140
|
-
optional :parent, :string, 1
|
141
|
-
optional :filter, :string, 2
|
142
|
-
optional :page_size, :int32, 3
|
143
|
-
optional :page_token, :string, 4
|
144
|
-
end
|
145
|
-
add_message "google.cloud.datalabeling.v1beta1.ListExamplesResponse" do
|
146
|
-
repeated :examples, :message, 1, "google.cloud.datalabeling.v1beta1.Example"
|
147
|
-
optional :next_page_token, :string, 2
|
148
|
-
end
|
149
|
-
add_message "google.cloud.datalabeling.v1beta1.CreateAnnotationSpecSetRequest" do
|
150
|
-
optional :parent, :string, 1
|
151
|
-
optional :annotation_spec_set, :message, 2, "google.cloud.datalabeling.v1beta1.AnnotationSpecSet"
|
152
|
-
end
|
153
|
-
add_message "google.cloud.datalabeling.v1beta1.GetAnnotationSpecSetRequest" do
|
154
|
-
optional :name, :string, 1
|
155
|
-
end
|
156
|
-
add_message "google.cloud.datalabeling.v1beta1.ListAnnotationSpecSetsRequest" do
|
157
|
-
optional :parent, :string, 1
|
158
|
-
optional :filter, :string, 2
|
159
|
-
optional :page_size, :int32, 3
|
160
|
-
optional :page_token, :string, 4
|
161
|
-
end
|
162
|
-
add_message "google.cloud.datalabeling.v1beta1.ListAnnotationSpecSetsResponse" do
|
163
|
-
repeated :annotation_spec_sets, :message, 1, "google.cloud.datalabeling.v1beta1.AnnotationSpecSet"
|
164
|
-
optional :next_page_token, :string, 2
|
165
|
-
end
|
166
|
-
add_message "google.cloud.datalabeling.v1beta1.DeleteAnnotationSpecSetRequest" do
|
167
|
-
optional :name, :string, 1
|
168
|
-
end
|
169
|
-
add_message "google.cloud.datalabeling.v1beta1.CreateInstructionRequest" do
|
170
|
-
optional :parent, :string, 1
|
171
|
-
optional :instruction, :message, 2, "google.cloud.datalabeling.v1beta1.Instruction"
|
172
|
-
end
|
173
|
-
add_message "google.cloud.datalabeling.v1beta1.GetInstructionRequest" do
|
174
|
-
optional :name, :string, 1
|
175
|
-
end
|
176
|
-
add_message "google.cloud.datalabeling.v1beta1.DeleteInstructionRequest" do
|
177
|
-
optional :name, :string, 1
|
178
|
-
end
|
179
|
-
add_message "google.cloud.datalabeling.v1beta1.ListInstructionsRequest" do
|
180
|
-
optional :parent, :string, 1
|
181
|
-
optional :filter, :string, 2
|
182
|
-
optional :page_size, :int32, 3
|
183
|
-
optional :page_token, :string, 4
|
184
|
-
end
|
185
|
-
add_message "google.cloud.datalabeling.v1beta1.ListInstructionsResponse" do
|
186
|
-
repeated :instructions, :message, 1, "google.cloud.datalabeling.v1beta1.Instruction"
|
187
|
-
optional :next_page_token, :string, 2
|
188
|
-
end
|
189
|
-
add_message "google.cloud.datalabeling.v1beta1.GetEvaluationRequest" do
|
190
|
-
optional :name, :string, 1
|
191
|
-
end
|
192
|
-
add_message "google.cloud.datalabeling.v1beta1.SearchEvaluationsRequest" do
|
193
|
-
optional :parent, :string, 1
|
194
|
-
optional :filter, :string, 2
|
195
|
-
optional :page_size, :int32, 3
|
196
|
-
optional :page_token, :string, 4
|
197
|
-
end
|
198
|
-
add_message "google.cloud.datalabeling.v1beta1.SearchEvaluationsResponse" do
|
199
|
-
repeated :evaluations, :message, 1, "google.cloud.datalabeling.v1beta1.Evaluation"
|
200
|
-
optional :next_page_token, :string, 2
|
201
|
-
end
|
202
|
-
add_message "google.cloud.datalabeling.v1beta1.SearchExampleComparisonsRequest" do
|
203
|
-
optional :parent, :string, 1
|
204
|
-
optional :page_size, :int32, 2
|
205
|
-
optional :page_token, :string, 3
|
206
|
-
end
|
207
|
-
add_message "google.cloud.datalabeling.v1beta1.SearchExampleComparisonsResponse" do
|
208
|
-
repeated :example_comparisons, :message, 1, "google.cloud.datalabeling.v1beta1.SearchExampleComparisonsResponse.ExampleComparison"
|
209
|
-
optional :next_page_token, :string, 2
|
210
|
-
end
|
211
|
-
add_message "google.cloud.datalabeling.v1beta1.SearchExampleComparisonsResponse.ExampleComparison" do
|
212
|
-
optional :ground_truth_example, :message, 1, "google.cloud.datalabeling.v1beta1.Example"
|
213
|
-
repeated :model_created_examples, :message, 2, "google.cloud.datalabeling.v1beta1.Example"
|
214
|
-
end
|
215
|
-
add_message "google.cloud.datalabeling.v1beta1.CreateEvaluationJobRequest" do
|
216
|
-
optional :parent, :string, 1
|
217
|
-
optional :job, :message, 2, "google.cloud.datalabeling.v1beta1.EvaluationJob"
|
218
|
-
end
|
219
|
-
add_message "google.cloud.datalabeling.v1beta1.UpdateEvaluationJobRequest" do
|
220
|
-
optional :evaluation_job, :message, 1, "google.cloud.datalabeling.v1beta1.EvaluationJob"
|
221
|
-
optional :update_mask, :message, 2, "google.protobuf.FieldMask"
|
222
|
-
end
|
223
|
-
add_message "google.cloud.datalabeling.v1beta1.GetEvaluationJobRequest" do
|
224
|
-
optional :name, :string, 1
|
225
|
-
end
|
226
|
-
add_message "google.cloud.datalabeling.v1beta1.PauseEvaluationJobRequest" do
|
227
|
-
optional :name, :string, 1
|
228
|
-
end
|
229
|
-
add_message "google.cloud.datalabeling.v1beta1.ResumeEvaluationJobRequest" do
|
230
|
-
optional :name, :string, 1
|
231
|
-
end
|
232
|
-
add_message "google.cloud.datalabeling.v1beta1.DeleteEvaluationJobRequest" do
|
233
|
-
optional :name, :string, 1
|
234
|
-
end
|
235
|
-
add_message "google.cloud.datalabeling.v1beta1.ListEvaluationJobsRequest" do
|
236
|
-
optional :parent, :string, 1
|
237
|
-
optional :filter, :string, 2
|
238
|
-
optional :page_size, :int32, 3
|
239
|
-
optional :page_token, :string, 4
|
240
|
-
end
|
241
|
-
add_message "google.cloud.datalabeling.v1beta1.ListEvaluationJobsResponse" do
|
242
|
-
repeated :evaluation_jobs, :message, 1, "google.cloud.datalabeling.v1beta1.EvaluationJob"
|
243
|
-
optional :next_page_token, :string, 2
|
21
|
+
|
22
|
+
descriptor_data = "\n=google/cloud/datalabeling/v1beta1/data_labeling_service.proto\x12!google.cloud.datalabeling.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a;google/cloud/datalabeling/v1beta1/annotation_spec_set.proto\x1a/google/cloud/datalabeling/v1beta1/dataset.proto\x1a\x32google/cloud/datalabeling/v1beta1/evaluation.proto\x1a\x36google/cloud/datalabeling/v1beta1/evaluation_job.proto\x1a?google/cloud/datalabeling/v1beta1/human_annotation_config.proto\x1a\x33google/cloud/datalabeling/v1beta1/instruction.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\x9d\x01\n\x14\x43reateDatasetRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12@\n\x07\x64\x61taset\x18\x02 \x01(\x0b\x32*.google.cloud.datalabeling.v1beta1.DatasetB\x03\xe0\x41\x02\"N\n\x11GetDatasetRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#datalabeling.googleapis.com/Dataset\"\xa0\x01\n\x13ListDatasetsRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12\x13\n\x06\x66ilter\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tpage_size\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x04 \x01(\tB\x03\xe0\x41\x01\"m\n\x14ListDatasetsResponse\x12<\n\x08\x64\x61tasets\x18\x01 \x03(\x0b\x32*.google.cloud.datalabeling.v1beta1.Dataset\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"Q\n\x14\x44\x65leteDatasetRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#datalabeling.googleapis.com/Dataset\"\xb5\x01\n\x11ImportDataRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#datalabeling.googleapis.com/Dataset\x12I\n\x0cinput_config\x18\x02 \x01(\x0b\x32..google.cloud.datalabeling.v1beta1.InputConfigB\x03\xe0\x41\x02\x12\x1a\n\x12user_email_address\x18\x03 \x01(\t\"\x9d\x02\n\x11\x45xportDataRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#datalabeling.googleapis.com/Dataset\x12O\n\x11\x61nnotated_dataset\x18\x02 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,datalabeling.googleapis.com/AnnotatedDataset\x12\x13\n\x06\x66ilter\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12K\n\routput_config\x18\x04 \x01(\x0b\x32/.google.cloud.datalabeling.v1beta1.OutputConfigB\x03\xe0\x41\x02\x12\x1a\n\x12user_email_address\x18\x05 \x01(\t\"P\n\x12GetDataItemRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$datalabeling.googleapis.com/DataItem\"\x99\x01\n\x14ListDataItemsRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#datalabeling.googleapis.com/Dataset\x12\x13\n\x06\x66ilter\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tpage_size\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x04 \x01(\tB\x03\xe0\x41\x01\"q\n\x15ListDataItemsResponse\x12?\n\ndata_items\x18\x01 \x03(\x0b\x32+.google.cloud.datalabeling.v1beta1.DataItem\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"`\n\x1aGetAnnotatedDatasetRequest\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,datalabeling.googleapis.com/AnnotatedDataset\"\xa1\x01\n\x1cListAnnotatedDatasetsRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#datalabeling.googleapis.com/Dataset\x12\x13\n\x06\x66ilter\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tpage_size\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\x89\x01\n\x1dListAnnotatedDatasetsResponse\x12O\n\x12\x61nnotated_datasets\x18\x01 \x03(\x0b\x32\x33.google.cloud.datalabeling.v1beta1.AnnotatedDataset\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"c\n\x1d\x44\x65leteAnnotatedDatasetRequest\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,datalabeling.googleapis.com/AnnotatedDataset\"\x84\x06\n\x11LabelImageRequest\x12\x63\n\x1bimage_classification_config\x18\x04 \x01(\x0b\x32<.google.cloud.datalabeling.v1beta1.ImageClassificationConfigH\x00\x12U\n\x14\x62ounding_poly_config\x18\x05 \x01(\x0b\x32\x35.google.cloud.datalabeling.v1beta1.BoundingPolyConfigH\x00\x12L\n\x0fpolyline_config\x18\x06 \x01(\x0b\x32\x31.google.cloud.datalabeling.v1beta1.PolylineConfigH\x00\x12T\n\x13segmentation_config\x18\x07 \x01(\x0b\x32\x35.google.cloud.datalabeling.v1beta1.SegmentationConfigH\x00\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#datalabeling.googleapis.com/Dataset\x12S\n\x0c\x62\x61sic_config\x18\x02 \x01(\x0b\x32\x38.google.cloud.datalabeling.v1beta1.HumanAnnotationConfigB\x03\xe0\x41\x02\x12R\n\x07\x66\x65\x61ture\x18\x03 \x01(\x0e\x32<.google.cloud.datalabeling.v1beta1.LabelImageRequest.FeatureB\x03\xe0\x41\x02\"\x96\x01\n\x07\x46\x65\x61ture\x12\x17\n\x13\x46\x45\x41TURE_UNSPECIFIED\x10\x00\x12\x12\n\x0e\x43LASSIFICATION\x10\x01\x12\x10\n\x0c\x42OUNDING_BOX\x10\x02\x12\x19\n\x15ORIENTED_BOUNDING_BOX\x10\x06\x12\x11\n\rBOUNDING_POLY\x10\x03\x12\x0c\n\x08POLYLINE\x10\x04\x12\x10\n\x0cSEGMENTATION\x10\x05\x42\x10\n\x0erequest_config\"\xde\x05\n\x11LabelVideoRequest\x12\x63\n\x1bvideo_classification_config\x18\x04 \x01(\x0b\x32<.google.cloud.datalabeling.v1beta1.VideoClassificationConfigH\x00\x12[\n\x17object_detection_config\x18\x05 \x01(\x0b\x32\x38.google.cloud.datalabeling.v1beta1.ObjectDetectionConfigH\x00\x12Y\n\x16object_tracking_config\x18\x06 \x01(\x0b\x32\x37.google.cloud.datalabeling.v1beta1.ObjectTrackingConfigH\x00\x12\x46\n\x0c\x65vent_config\x18\x07 \x01(\x0b\x32..google.cloud.datalabeling.v1beta1.EventConfigH\x00\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#datalabeling.googleapis.com/Dataset\x12S\n\x0c\x62\x61sic_config\x18\x02 \x01(\x0b\x32\x38.google.cloud.datalabeling.v1beta1.HumanAnnotationConfigB\x03\xe0\x41\x02\x12R\n\x07\x66\x65\x61ture\x18\x03 \x01(\x0e\x32<.google.cloud.datalabeling.v1beta1.LabelVideoRequest.FeatureB\x03\xe0\x41\x02\"l\n\x07\x46\x65\x61ture\x12\x17\n\x13\x46\x45\x41TURE_UNSPECIFIED\x10\x00\x12\x12\n\x0e\x43LASSIFICATION\x10\x01\x12\x14\n\x10OBJECT_DETECTION\x10\x02\x12\x13\n\x0fOBJECT_TRACKING\x10\x03\x12\t\n\x05\x45VENT\x10\x04\x42\x10\n\x0erequest_config\"\xad\x04\n\x10LabelTextRequest\x12\x61\n\x1atext_classification_config\x18\x04 \x01(\x0b\x32;.google.cloud.datalabeling.v1beta1.TextClassificationConfigH\x00\x12\x66\n\x1dtext_entity_extraction_config\x18\x05 \x01(\x0b\x32=.google.cloud.datalabeling.v1beta1.TextEntityExtractionConfigH\x00\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#datalabeling.googleapis.com/Dataset\x12S\n\x0c\x62\x61sic_config\x18\x02 \x01(\x0b\x32\x38.google.cloud.datalabeling.v1beta1.HumanAnnotationConfigB\x03\xe0\x41\x02\x12Q\n\x07\x66\x65\x61ture\x18\x06 \x01(\x0e\x32;.google.cloud.datalabeling.v1beta1.LabelTextRequest.FeatureB\x03\xe0\x41\x02\"W\n\x07\x46\x65\x61ture\x12\x17\n\x13\x46\x45\x41TURE_UNSPECIFIED\x10\x00\x12\x17\n\x13TEXT_CLASSIFICATION\x10\x01\x12\x1a\n\x16TEXT_ENTITY_EXTRACTION\x10\x02\x42\x10\n\x0erequest_config\"c\n\x11GetExampleRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#datalabeling.googleapis.com/Example\x12\x13\n\x06\x66ilter\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\xa1\x01\n\x13ListExamplesRequest\x12\x44\n\x06parent\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,datalabeling.googleapis.com/AnnotatedDataset\x12\x13\n\x06\x66ilter\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tpage_size\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x04 \x01(\tB\x03\xe0\x41\x01\"m\n\x14ListExamplesResponse\x12<\n\x08\x65xamples\x18\x01 \x03(\x0b\x32*.google.cloud.datalabeling.v1beta1.Example\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xbd\x01\n\x1e\x43reateAnnotationSpecSetRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12V\n\x13\x61nnotation_spec_set\x18\x02 \x01(\x0b\x32\x34.google.cloud.datalabeling.v1beta1.AnnotationSpecSetB\x03\xe0\x41\x02\"b\n\x1bGetAnnotationSpecSetRequest\x12\x43\n\x04name\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-datalabeling.googleapis.com/AnnotationSpecSet\"\xaa\x01\n\x1dListAnnotationSpecSetsRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12\x13\n\x06\x66ilter\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tpage_size\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\x8d\x01\n\x1eListAnnotationSpecSetsResponse\x12R\n\x14\x61nnotation_spec_sets\x18\x01 \x03(\x0b\x32\x34.google.cloud.datalabeling.v1beta1.AnnotationSpecSet\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"e\n\x1e\x44\x65leteAnnotationSpecSetRequest\x12\x43\n\x04name\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-datalabeling.googleapis.com/AnnotationSpecSet\"\xa9\x01\n\x18\x43reateInstructionRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12H\n\x0binstruction\x18\x02 \x01(\x0b\x32..google.cloud.datalabeling.v1beta1.InstructionB\x03\xe0\x41\x02\"V\n\x15GetInstructionRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'datalabeling.googleapis.com/Instruction\"Y\n\x18\x44\x65leteInstructionRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'datalabeling.googleapis.com/Instruction\"\xa4\x01\n\x17ListInstructionsRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12\x13\n\x06\x66ilter\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tpage_size\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x04 \x01(\tB\x03\xe0\x41\x01\"y\n\x18ListInstructionsResponse\x12\x44\n\x0cinstructions\x18\x01 \x03(\x0b\x32..google.cloud.datalabeling.v1beta1.Instruction\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"T\n\x14GetEvaluationRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&datalabeling.googleapis.com/Evaluation\"\xa0\x01\n\x18SearchEvaluationsRequest\x12>\n\x06parent\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&datalabeling.googleapis.com/Evaluation\x12\x13\n\x06\x66ilter\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tpage_size\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x04 \x01(\tB\x03\xe0\x41\x01\"x\n\x19SearchEvaluationsResponse\x12\x42\n\x0b\x65valuations\x18\x01 \x03(\x0b\x32-.google.cloud.datalabeling.v1beta1.Evaluation\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x92\x01\n\x1fSearchExampleComparisonsRequest\x12>\n\x06parent\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&datalabeling.googleapis.com/Evaluation\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\xdb\x02\n SearchExampleComparisonsResponse\x12r\n\x13\x65xample_comparisons\x18\x01 \x03(\x0b\x32U.google.cloud.datalabeling.v1beta1.SearchExampleComparisonsResponse.ExampleComparison\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x1a\xa9\x01\n\x11\x45xampleComparison\x12H\n\x14ground_truth_example\x18\x01 \x01(\x0b\x32*.google.cloud.datalabeling.v1beta1.Example\x12J\n\x16model_created_examples\x18\x02 \x03(\x0b\x32*.google.cloud.datalabeling.v1beta1.Example\"\xa5\x01\n\x1a\x43reateEvaluationJobRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12\x42\n\x03job\x18\x02 \x01(\x0b\x32\x30.google.cloud.datalabeling.v1beta1.EvaluationJobB\x03\xe0\x41\x02\"\xa1\x01\n\x1aUpdateEvaluationJobRequest\x12M\n\x0e\x65valuation_job\x18\x01 \x01(\x0b\x32\x30.google.cloud.datalabeling.v1beta1.EvaluationJobB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\"Z\n\x17GetEvaluationJobRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)datalabeling.googleapis.com/EvaluationJob\"\\\n\x19PauseEvaluationJobRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)datalabeling.googleapis.com/EvaluationJob\"]\n\x1aResumeEvaluationJobRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)datalabeling.googleapis.com/EvaluationJob\"]\n\x1a\x44\x65leteEvaluationJobRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)datalabeling.googleapis.com/EvaluationJob\"\xa6\x01\n\x19ListEvaluationJobsRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12\x13\n\x06\x66ilter\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tpage_size\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\x80\x01\n\x1aListEvaluationJobsResponse\x12I\n\x0f\x65valuation_jobs\x18\x01 \x03(\x0b\x32\x30.google.cloud.datalabeling.v1beta1.EvaluationJob\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\xa6\x38\n\x13\x44\x61taLabelingService\x12\xb7\x01\n\rCreateDataset\x12\x37.google.cloud.datalabeling.v1beta1.CreateDatasetRequest\x1a*.google.cloud.datalabeling.v1beta1.Dataset\"A\x82\xd3\xe4\x93\x02*\"%/v1beta1/{parent=projects/*}/datasets:\x01*\xda\x41\x0eparent,dataset\x12\xa4\x01\n\nGetDataset\x12\x34.google.cloud.datalabeling.v1beta1.GetDatasetRequest\x1a*.google.cloud.datalabeling.v1beta1.Dataset\"4\x82\xd3\xe4\x93\x02\'\x12%/v1beta1/{name=projects/*/datasets/*}\xda\x41\x04name\x12\xbe\x01\n\x0cListDatasets\x12\x36.google.cloud.datalabeling.v1beta1.ListDatasetsRequest\x1a\x37.google.cloud.datalabeling.v1beta1.ListDatasetsResponse\"=\x82\xd3\xe4\x93\x02\'\x12%/v1beta1/{parent=projects/*}/datasets\xda\x41\rparent,filter\x12\x96\x01\n\rDeleteDataset\x12\x37.google.cloud.datalabeling.v1beta1.DeleteDatasetRequest\x1a\x16.google.protobuf.Empty\"4\x82\xd3\xe4\x93\x02\'*%/v1beta1/{name=projects/*/datasets/*}\xda\x41\x04name\x12\xf0\x01\n\nImportData\x12\x34.google.cloud.datalabeling.v1beta1.ImportDataRequest\x1a\x1d.google.longrunning.Operation\"\x8c\x01\x82\xd3\xe4\x93\x02\x35\"0/v1beta1/{name=projects/*/datasets/*}:importData:\x01*\xda\x41\x11name,input_config\xca\x41:\n\x1bImportDataOperationResponse\x12\x1bImportDataOperationMetadata\x12\x8a\x02\n\nExportData\x12\x34.google.cloud.datalabeling.v1beta1.ExportDataRequest\x1a\x1d.google.longrunning.Operation\"\xa6\x01\x82\xd3\xe4\x93\x02\x35\"0/v1beta1/{name=projects/*/datasets/*}:exportData:\x01*\xda\x41+name,annotated_dataset,filter,output_config\xca\x41:\n\x1b\x45xportDataOperationResponse\x12\x1b\x45xportDataOperationMetadata\x12\xb3\x01\n\x0bGetDataItem\x12\x35.google.cloud.datalabeling.v1beta1.GetDataItemRequest\x1a+.google.cloud.datalabeling.v1beta1.DataItem\"@\x82\xd3\xe4\x93\x02\x33\x12\x31/v1beta1/{name=projects/*/datasets/*/dataItems/*}\xda\x41\x04name\x12\xcd\x01\n\rListDataItems\x12\x37.google.cloud.datalabeling.v1beta1.ListDataItemsRequest\x1a\x38.google.cloud.datalabeling.v1beta1.ListDataItemsResponse\"I\x82\xd3\xe4\x93\x02\x33\x12\x31/v1beta1/{parent=projects/*/datasets/*}/dataItems\xda\x41\rparent,filter\x12\xd3\x01\n\x13GetAnnotatedDataset\x12=.google.cloud.datalabeling.v1beta1.GetAnnotatedDatasetRequest\x1a\x33.google.cloud.datalabeling.v1beta1.AnnotatedDataset\"H\x82\xd3\xe4\x93\x02;\x12\x39/v1beta1/{name=projects/*/datasets/*/annotatedDatasets/*}\xda\x41\x04name\x12\xed\x01\n\x15ListAnnotatedDatasets\x12?.google.cloud.datalabeling.v1beta1.ListAnnotatedDatasetsRequest\x1a@.google.cloud.datalabeling.v1beta1.ListAnnotatedDatasetsResponse\"Q\x82\xd3\xe4\x93\x02;\x12\x39/v1beta1/{parent=projects/*/datasets/*}/annotatedDatasets\xda\x41\rparent,filter\x12\xb5\x01\n\x16\x44\x65leteAnnotatedDataset\x12@.google.cloud.datalabeling.v1beta1.DeleteAnnotatedDatasetRequest\x1a\x16.google.protobuf.Empty\"A\x82\xd3\xe4\x93\x02;*9/v1beta1/{name=projects/*/datasets/*/annotatedDatasets/*}\x12\xed\x01\n\nLabelImage\x12\x34.google.cloud.datalabeling.v1beta1.LabelImageRequest\x1a\x1d.google.longrunning.Operation\"\x89\x01\x82\xd3\xe4\x93\x02\x38\"3/v1beta1/{parent=projects/*/datasets/*}/image:label:\x01*\xda\x41\x1bparent,basic_config,feature\xca\x41*\n\x10\x41nnotatedDataset\x12\x16LabelOperationMetadata\x12\xed\x01\n\nLabelVideo\x12\x34.google.cloud.datalabeling.v1beta1.LabelVideoRequest\x1a\x1d.google.longrunning.Operation\"\x89\x01\x82\xd3\xe4\x93\x02\x38\"3/v1beta1/{parent=projects/*/datasets/*}/video:label:\x01*\xda\x41\x1bparent,basic_config,feature\xca\x41*\n\x10\x41nnotatedDataset\x12\x16LabelOperationMetadata\x12\xea\x01\n\tLabelText\x12\x33.google.cloud.datalabeling.v1beta1.LabelTextRequest\x1a\x1d.google.longrunning.Operation\"\x88\x01\x82\xd3\xe4\x93\x02\x37\"2/v1beta1/{parent=projects/*/datasets/*}/text:label:\x01*\xda\x41\x1bparent,basic_config,feature\xca\x41*\n\x10\x41nnotatedDataset\x12\x16LabelOperationMetadata\x12\xca\x01\n\nGetExample\x12\x34.google.cloud.datalabeling.v1beta1.GetExampleRequest\x1a*.google.cloud.datalabeling.v1beta1.Example\"Z\x82\xd3\xe4\x93\x02\x46\x12\x44/v1beta1/{name=projects/*/datasets/*/annotatedDatasets/*/examples/*}\xda\x41\x0bname,filter\x12\xdd\x01\n\x0cListExamples\x12\x36.google.cloud.datalabeling.v1beta1.ListExamplesRequest\x1a\x37.google.cloud.datalabeling.v1beta1.ListExamplesResponse\"\\\x82\xd3\xe4\x93\x02\x46\x12\x44/v1beta1/{parent=projects/*/datasets/*/annotatedDatasets/*}/examples\xda\x41\rparent,filter\x12\xeb\x01\n\x17\x43reateAnnotationSpecSet\x12\x41.google.cloud.datalabeling.v1beta1.CreateAnnotationSpecSetRequest\x1a\x34.google.cloud.datalabeling.v1beta1.AnnotationSpecSet\"W\x82\xd3\xe4\x93\x02\x34\"//v1beta1/{parent=projects/*}/annotationSpecSets:\x01*\xda\x41\x1aparent,annotation_spec_set\x12\xcc\x01\n\x14GetAnnotationSpecSet\x12>.google.cloud.datalabeling.v1beta1.GetAnnotationSpecSetRequest\x1a\x34.google.cloud.datalabeling.v1beta1.AnnotationSpecSet\">\x82\xd3\xe4\x93\x02\x31\x12//v1beta1/{name=projects/*/annotationSpecSets/*}\xda\x41\x04name\x12\xe6\x01\n\x16ListAnnotationSpecSets\x12@.google.cloud.datalabeling.v1beta1.ListAnnotationSpecSetsRequest\x1a\x41.google.cloud.datalabeling.v1beta1.ListAnnotationSpecSetsResponse\"G\x82\xd3\xe4\x93\x02\x31\x12//v1beta1/{parent=projects/*}/annotationSpecSets\xda\x41\rparent,filter\x12\xb4\x01\n\x17\x44\x65leteAnnotationSpecSet\x12\x41.google.cloud.datalabeling.v1beta1.DeleteAnnotationSpecSetRequest\x1a\x16.google.protobuf.Empty\">\x82\xd3\xe4\x93\x02\x31*//v1beta1/{name=projects/*/annotationSpecSets/*}\xda\x41\x04name\x12\xe5\x01\n\x11\x43reateInstruction\x12;.google.cloud.datalabeling.v1beta1.CreateInstructionRequest\x1a\x1d.google.longrunning.Operation\"t\x82\xd3\xe4\x93\x02.\")/v1beta1/{parent=projects/*}/instructions:\x01*\xda\x41\x12parent,instruction\xca\x41(\n\x0bInstruction\x12\x19\x43reateInstructionMetadata\x12\xb4\x01\n\x0eGetInstruction\x12\x38.google.cloud.datalabeling.v1beta1.GetInstructionRequest\x1a..google.cloud.datalabeling.v1beta1.Instruction\"8\x82\xd3\xe4\x93\x02+\x12)/v1beta1/{name=projects/*/instructions/*}\xda\x41\x04name\x12\xce\x01\n\x10ListInstructions\x12:.google.cloud.datalabeling.v1beta1.ListInstructionsRequest\x1a;.google.cloud.datalabeling.v1beta1.ListInstructionsResponse\"A\x82\xd3\xe4\x93\x02+\x12)/v1beta1/{parent=projects/*}/instructions\xda\x41\rparent,filter\x12\xa2\x01\n\x11\x44\x65leteInstruction\x12;.google.cloud.datalabeling.v1beta1.DeleteInstructionRequest\x1a\x16.google.protobuf.Empty\"8\x82\xd3\xe4\x93\x02+*)/v1beta1/{name=projects/*/instructions/*}\xda\x41\x04name\x12\xbb\x01\n\rGetEvaluation\x12\x37.google.cloud.datalabeling.v1beta1.GetEvaluationRequest\x1a-.google.cloud.datalabeling.v1beta1.Evaluation\"B\x82\xd3\xe4\x93\x02\x35\x12\x33/v1beta1/{name=projects/*/datasets/*/evaluations/*}\xda\x41\x04name\x12\xd7\x01\n\x11SearchEvaluations\x12;.google.cloud.datalabeling.v1beta1.SearchEvaluationsRequest\x1a<.google.cloud.datalabeling.v1beta1.SearchEvaluationsResponse\"G\x82\xd3\xe4\x93\x02\x31\x12//v1beta1/{parent=projects/*}/evaluations:search\xda\x41\rparent,filter\x12\x88\x02\n\x18SearchExampleComparisons\x12\x42.google.cloud.datalabeling.v1beta1.SearchExampleComparisonsRequest\x1a\x43.google.cloud.datalabeling.v1beta1.SearchExampleComparisonsResponse\"c\x82\xd3\xe4\x93\x02T\"O/v1beta1/{parent=projects/*/datasets/*/evaluations/*}/exampleComparisons:search:\x01*\xda\x41\x06parent\x12\xcb\x01\n\x13\x43reateEvaluationJob\x12=.google.cloud.datalabeling.v1beta1.CreateEvaluationJobRequest\x1a\x30.google.cloud.datalabeling.v1beta1.EvaluationJob\"C\x82\xd3\xe4\x93\x02\x30\"+/v1beta1/{parent=projects/*}/evaluationJobs:\x01*\xda\x41\nparent,job\x12\xf7\x01\n\x13UpdateEvaluationJob\x12=.google.cloud.datalabeling.v1beta1.UpdateEvaluationJobRequest\x1a\x30.google.cloud.datalabeling.v1beta1.EvaluationJob\"o\x82\xd3\xe4\x93\x02L2:/v1beta1/{evaluation_job.name=projects/*/evaluationJobs/*}:\x0e\x65valuation_job\xda\x41\x1a\x65valuation_job,update_mask\x12\xbc\x01\n\x10GetEvaluationJob\x12:.google.cloud.datalabeling.v1beta1.GetEvaluationJobRequest\x1a\x30.google.cloud.datalabeling.v1beta1.EvaluationJob\":\x82\xd3\xe4\x93\x02-\x12+/v1beta1/{name=projects/*/evaluationJobs/*}\xda\x41\x04name\x12\xaf\x01\n\x12PauseEvaluationJob\x12<.google.cloud.datalabeling.v1beta1.PauseEvaluationJobRequest\x1a\x16.google.protobuf.Empty\"C\x82\xd3\xe4\x93\x02\x36\"1/v1beta1/{name=projects/*/evaluationJobs/*}:pause:\x01*\xda\x41\x04name\x12\xb2\x01\n\x13ResumeEvaluationJob\x12=.google.cloud.datalabeling.v1beta1.ResumeEvaluationJobRequest\x1a\x16.google.protobuf.Empty\"D\x82\xd3\xe4\x93\x02\x37\"2/v1beta1/{name=projects/*/evaluationJobs/*}:resume:\x01*\xda\x41\x04name\x12\xa8\x01\n\x13\x44\x65leteEvaluationJob\x12=.google.cloud.datalabeling.v1beta1.DeleteEvaluationJobRequest\x1a\x16.google.protobuf.Empty\":\x82\xd3\xe4\x93\x02-*+/v1beta1/{name=projects/*/evaluationJobs/*}\xda\x41\x04name\x12\xd6\x01\n\x12ListEvaluationJobs\x12<.google.cloud.datalabeling.v1beta1.ListEvaluationJobsRequest\x1a=.google.cloud.datalabeling.v1beta1.ListEvaluationJobsResponse\"C\x82\xd3\xe4\x93\x02-\x12+/v1beta1/{parent=projects/*}/evaluationJobs\xda\x41\rparent,filter\x1aO\xca\x41\x1b\x64\x61talabeling.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xe3\x01\n%com.google.cloud.datalabeling.v1beta1P\x01ZIcloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb;datalabelingpb\xaa\x02!Google.Cloud.DataLabeling.V1Beta1\xca\x02!Google\\Cloud\\DataLabeling\\V1beta1\xea\x02$Google::Cloud::DataLabeling::V1beta1b\x06proto3"
|
23
|
+
|
24
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
25
|
+
|
26
|
+
begin
|
27
|
+
pool.add_serialized_file(descriptor_data)
|
28
|
+
rescue TypeError => e
|
29
|
+
# Compatibility code: will be removed in the next major version.
|
30
|
+
require 'google/protobuf/descriptor_pb'
|
31
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
32
|
+
parsed.clear_dependency
|
33
|
+
serialized = parsed.class.encode(parsed)
|
34
|
+
file = pool.add_serialized_file(serialized)
|
35
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
36
|
+
imports = [
|
37
|
+
["google.cloud.datalabeling.v1beta1.Dataset", "google/cloud/datalabeling/v1beta1/dataset.proto"],
|
38
|
+
["google.cloud.datalabeling.v1beta1.ImageClassificationConfig", "google/cloud/datalabeling/v1beta1/human_annotation_config.proto"],
|
39
|
+
["google.cloud.datalabeling.v1beta1.AnnotationSpecSet", "google/cloud/datalabeling/v1beta1/annotation_spec_set.proto"],
|
40
|
+
["google.cloud.datalabeling.v1beta1.Instruction", "google/cloud/datalabeling/v1beta1/instruction.proto"],
|
41
|
+
["google.cloud.datalabeling.v1beta1.Evaluation", "google/cloud/datalabeling/v1beta1/evaluation.proto"],
|
42
|
+
["google.cloud.datalabeling.v1beta1.EvaluationJob", "google/cloud/datalabeling/v1beta1/evaluation_job.proto"],
|
43
|
+
["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
|
44
|
+
]
|
45
|
+
imports.each do |type_name, expected_filename|
|
46
|
+
import_file = pool.lookup(type_name).file_descriptor
|
47
|
+
if import_file.name != expected_filename
|
48
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
244
49
|
end
|
245
50
|
end
|
51
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
52
|
+
warn "This will become an error in the next major version."
|
246
53
|
end
|
247
54
|
|
248
55
|
module Google
|
@@ -1,35 +1,37 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
3
|
# source: google/cloud/datalabeling/v1beta1/data_payloads.proto
|
3
4
|
|
4
5
|
require 'google/protobuf'
|
5
6
|
|
6
|
-
require 'google/api/annotations_pb'
|
7
7
|
require 'google/protobuf/duration_pb'
|
8
|
-
require 'google/protobuf/timestamp_pb'
|
9
8
|
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
9
|
+
|
10
|
+
descriptor_data = "\n5google/cloud/datalabeling/v1beta1/data_payloads.proto\x12!google.cloud.datalabeling.v1beta1\x1a\x1egoogle/protobuf/duration.proto\"a\n\x0cImagePayload\x12\x11\n\tmime_type\x18\x01 \x01(\t\x12\x17\n\x0fimage_thumbnail\x18\x02 \x01(\x0c\x12\x11\n\timage_uri\x18\x03 \x01(\t\x12\x12\n\nsigned_uri\x18\x04 \x01(\t\"#\n\x0bTextPayload\x12\x14\n\x0ctext_content\x18\x01 \x01(\t\"S\n\x0eVideoThumbnail\x12\x11\n\tthumbnail\x18\x01 \x01(\x0c\x12.\n\x0btime_offset\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\"\xa9\x01\n\x0cVideoPayload\x12\x11\n\tmime_type\x18\x01 \x01(\t\x12\x11\n\tvideo_uri\x18\x02 \x01(\t\x12K\n\x10video_thumbnails\x18\x03 \x03(\x0b\x32\x31.google.cloud.datalabeling.v1beta1.VideoThumbnail\x12\x12\n\nframe_rate\x18\x04 \x01(\x02\x12\x12\n\nsigned_uri\x18\x05 \x01(\tB\xe3\x01\n%com.google.cloud.datalabeling.v1beta1P\x01ZIcloud.google.com/go/datalabeling/apiv1beta1/datalabelingpb;datalabelingpb\xaa\x02!Google.Cloud.DataLabeling.V1Beta1\xca\x02!Google\\Cloud\\DataLabeling\\V1beta1\xea\x02$Google::Cloud::DataLabeling::V1beta1b\x06proto3"
|
11
|
+
|
12
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
13
|
+
|
14
|
+
begin
|
15
|
+
pool.add_serialized_file(descriptor_data)
|
16
|
+
rescue TypeError => e
|
17
|
+
# Compatibility code: will be removed in the next major version.
|
18
|
+
require 'google/protobuf/descriptor_pb'
|
19
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
20
|
+
parsed.clear_dependency
|
21
|
+
serialized = parsed.class.encode(parsed)
|
22
|
+
file = pool.add_serialized_file(serialized)
|
23
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
24
|
+
imports = [
|
25
|
+
["google.protobuf.Duration", "google/protobuf/duration.proto"],
|
26
|
+
]
|
27
|
+
imports.each do |type_name, expected_filename|
|
28
|
+
import_file = pool.lookup(type_name).file_descriptor
|
29
|
+
if import_file.name != expected_filename
|
30
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
31
31
|
end
|
32
32
|
end
|
33
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
34
|
+
warn "This will become an error in the next major version."
|
33
35
|
end
|
34
36
|
|
35
37
|
module Google
|