google-cloud-vision_ai-v1 1.3.1 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/vision_ai/v1/app_platform/rest/client.rb +8 -0
  3. data/lib/google/cloud/vision_ai/v1/app_platform/rest.rb +1 -0
  4. data/lib/google/cloud/vision_ai/v1/bindings_override.rb +75 -0
  5. data/lib/google/cloud/vision_ai/v1/health_check_service/rest/client.rb +8 -0
  6. data/lib/google/cloud/vision_ai/v1/health_check_service/rest.rb +1 -0
  7. data/lib/google/cloud/vision_ai/v1/live_video_analytics/rest/client.rb +8 -0
  8. data/lib/google/cloud/vision_ai/v1/live_video_analytics/rest.rb +1 -0
  9. data/lib/google/cloud/vision_ai/v1/rest.rb +1 -0
  10. data/lib/google/cloud/vision_ai/v1/streaming_service/rest/client.rb +8 -0
  11. data/lib/google/cloud/vision_ai/v1/streaming_service/rest.rb +1 -0
  12. data/lib/google/cloud/vision_ai/v1/streams_service/rest/client.rb +8 -0
  13. data/lib/google/cloud/vision_ai/v1/streams_service/rest.rb +1 -0
  14. data/lib/google/cloud/vision_ai/v1/version.rb +1 -1
  15. data/lib/google/cloud/vision_ai/v1/warehouse/client.rb +3 -3
  16. data/lib/google/cloud/vision_ai/v1/warehouse/operations.rb +2 -2
  17. data/lib/google/cloud/vision_ai/v1/warehouse/rest/client.rb +11 -3
  18. data/lib/google/cloud/vision_ai/v1/warehouse/rest/operations.rb +2 -2
  19. data/lib/google/cloud/vision_ai/v1/warehouse/rest.rb +1 -0
  20. data/lib/google/cloud/visionai/v1/annotations_pb.rb +2 -25
  21. data/lib/google/cloud/visionai/v1/common_pb.rb +2 -24
  22. data/lib/google/cloud/visionai/v1/health_service_pb.rb +2 -23
  23. data/lib/google/cloud/visionai/v1/lva_pb.rb +2 -23
  24. data/lib/google/cloud/visionai/v1/lva_resources_pb.rb +2 -25
  25. data/lib/google/cloud/visionai/v1/lva_service_pb.rb +2 -25
  26. data/lib/google/cloud/visionai/v1/platform_pb.rb +2 -29
  27. data/lib/google/cloud/visionai/v1/streaming_resources_pb.rb +2 -26
  28. data/lib/google/cloud/visionai/v1/streaming_service_pb.rb +2 -26
  29. data/lib/google/cloud/visionai/v1/streams_resources_pb.rb +2 -25
  30. data/lib/google/cloud/visionai/v1/streams_service_pb.rb +2 -27
  31. data/lib/google/cloud/visionai/v1/warehouse_pb.rb +3 -32
  32. data/proto_docs/google/api/client.rb +145 -29
  33. data/proto_docs/google/cloud/visionai/v1/warehouse.rb +3 -3
  34. data/proto_docs/google/type/datetime.rb +16 -15
  35. metadata +3 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fc891d00294e453f765a4441e4609503d31772615a49b568202faa72415c9ccf
4
- data.tar.gz: a9768c1341553588bdae4a4611fd24ddb298b9768edb4f7891334ea4a9768dfc
3
+ metadata.gz: bc7b35079af1fda00689d18796c71c8988970c5b84dfaa846289597cf8b98605
4
+ data.tar.gz: b193bc75ae08e13a6b9643120f2fc0694330c7cf1b9a55edd931023d293306d7
5
5
  SHA512:
6
- metadata.gz: 02e31886bdf235be2318da5c8974ef457f2690087203d234544f708141cfb1286d7975ded48f458cc711f33813c528b90f3446cfbe4952982f95e5257ea3b706
7
- data.tar.gz: 373fa5e9d2d80bcb82f17e73d7228c482dbac44115f71009dbb60650d8652e8ef6c6855e9e32cc616c107bc59d6f1455c0d4ae4bf0608829de7e6648c3dd2144
6
+ metadata.gz: 6c384fc9107be46b4a0e87b08c6e2a78d7f38dcc805932498011246540a199e2cc285baaa8a1dd98d71c8337be670f83f0e9899cd5acd35b40b0f5035efb3413
7
+ data.tar.gz: 481159760cb90f400c79927f9348465cfea93bb684c1de9b99fceea29be86a9f68fca7a3d892a2d56632347d2ae68545ee8a0b142c26dac22c5a40205d3c6fd9
@@ -178,6 +178,7 @@ module Google
178
178
  config.quota_project = @quota_project_id
179
179
  config.endpoint = @app_platform_stub.endpoint
180
180
  config.universe_domain = @app_platform_stub.universe_domain
181
+ config.bindings_override = @config.bindings_override
181
182
  config.logger = @app_platform_stub.logger if config.respond_to? :logger=
182
183
  end
183
184
 
@@ -2902,6 +2903,13 @@ module Google
2902
2903
  config_attr :retry_policy, nil, ::Hash, ::Proc, nil
2903
2904
  config_attr :quota_project, nil, ::String, nil
2904
2905
  config_attr :universe_domain, nil, ::String, nil
2906
+
2907
+ # @private
2908
+ # Overrides for http bindings for the RPCs of this service
2909
+ # are only used when this service is used as mixin, and only
2910
+ # by the host service.
2911
+ # @return [::Hash{::Symbol=>::Array<::Gapic::Rest::GrpcTranscoder::HttpBinding>}]
2912
+ config_attr :bindings_override, {}, ::Hash, nil
2905
2913
  config_attr :logger, :default, ::Logger, nil, :default
2906
2914
 
2907
2915
  # @private
@@ -21,6 +21,7 @@ require "gapic/config"
21
21
  require "gapic/config/method"
22
22
 
23
23
  require "google/cloud/vision_ai/v1/version"
24
+ require "google/cloud/vision_ai/v1/bindings_override"
24
25
 
25
26
  require "google/cloud/vision_ai/v1/app_platform/credentials"
26
27
  require "google/cloud/vision_ai/v1/app_platform/paths"
@@ -0,0 +1,75 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2026 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+ require "gapic/rest"
20
+
21
+ module Google
22
+ module Cloud
23
+ module VisionAI
24
+ ##
25
+ # @example Loading just the REST part of this package, including all its services, and instantiating a REST client
26
+ #
27
+ # require "google/cloud/vision_ai/v1/rest"
28
+ # client = ::Google::Cloud::VisionAI::V1::LiveVideoAnalytics::Rest::Client.new
29
+ #
30
+ module V1
31
+ ##
32
+ # @private
33
+ # Initialize the mixin bindings configuration
34
+ #
35
+ def self.configure
36
+ @configure ||= begin
37
+ namespace = ["Google", "Cloud", "VisionAI"]
38
+ parent_config = while namespace.any?
39
+ parent_name = namespace.join "::"
40
+ parent_const = const_get parent_name
41
+ break parent_const.configure if parent_const.respond_to? :configure
42
+ namespace.pop
43
+ end
44
+
45
+ default_config = ::Gapic::Rest::HttpBindingOverrideConfiguration.new parent_config
46
+ default_config.bindings_override["google.cloud.location.Locations.GetLocation"] = [
47
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
48
+ uri_method: :get,
49
+ uri_template: "/v1/{name}",
50
+ matches: [
51
+ ["name", %r{^projects/[^/]+/locations/[^/]+/?$}, false]
52
+ ],
53
+ body: nil
54
+ )
55
+ ]
56
+ default_config.bindings_override["google.cloud.location.Locations.ListLocations"] = [
57
+
58
+ Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
59
+ uri_method: :get,
60
+ uri_template: "/v1/{name}/locations",
61
+ matches: [
62
+ ["name", %r{^projects/[^/]+/?$}, false]
63
+ ],
64
+ body: nil
65
+ )
66
+ ]
67
+ default_config
68
+ end
69
+ yield @configure if block_given?
70
+ @configure
71
+ end
72
+ end
73
+ end
74
+ end
75
+ end
@@ -172,6 +172,7 @@ module Google
172
172
  config.quota_project = @quota_project_id
173
173
  config.endpoint = @health_check_service_stub.endpoint
174
174
  config.universe_domain = @health_check_service_stub.universe_domain
175
+ config.bindings_override = @config.bindings_override
175
176
  config.logger = @health_check_service_stub.logger if config.respond_to? :logger=
176
177
  end
177
178
 
@@ -394,6 +395,13 @@ module Google
394
395
  config_attr :retry_policy, nil, ::Hash, ::Proc, nil
395
396
  config_attr :quota_project, nil, ::String, nil
396
397
  config_attr :universe_domain, nil, ::String, nil
398
+
399
+ # @private
400
+ # Overrides for http bindings for the RPCs of this service
401
+ # are only used when this service is used as mixin, and only
402
+ # by the host service.
403
+ # @return [::Hash{::Symbol=>::Array<::Gapic::Rest::GrpcTranscoder::HttpBinding>}]
404
+ config_attr :bindings_override, {}, ::Hash, nil
397
405
  config_attr :logger, :default, ::Logger, nil, :default
398
406
 
399
407
  # @private
@@ -21,6 +21,7 @@ require "gapic/config"
21
21
  require "gapic/config/method"
22
22
 
23
23
  require "google/cloud/vision_ai/v1/version"
24
+ require "google/cloud/vision_ai/v1/bindings_override"
24
25
 
25
26
  require "google/cloud/vision_ai/v1/health_check_service/credentials"
26
27
  require "google/cloud/vision_ai/v1/health_check_service/paths"
@@ -204,6 +204,7 @@ module Google
204
204
  config.quota_project = @quota_project_id
205
205
  config.endpoint = @live_video_analytics_stub.endpoint
206
206
  config.universe_domain = @live_video_analytics_stub.universe_domain
207
+ config.bindings_override = @config.bindings_override
207
208
  config.logger = @live_video_analytics_stub.logger if config.respond_to? :logger=
208
209
  end
209
210
 
@@ -2072,6 +2073,13 @@ module Google
2072
2073
  config_attr :retry_policy, nil, ::Hash, ::Proc, nil
2073
2074
  config_attr :quota_project, nil, ::String, nil
2074
2075
  config_attr :universe_domain, nil, ::String, nil
2076
+
2077
+ # @private
2078
+ # Overrides for http bindings for the RPCs of this service
2079
+ # are only used when this service is used as mixin, and only
2080
+ # by the host service.
2081
+ # @return [::Hash{::Symbol=>::Array<::Gapic::Rest::GrpcTranscoder::HttpBinding>}]
2082
+ config_attr :bindings_override, {}, ::Hash, nil
2075
2083
  config_attr :logger, :default, ::Logger, nil, :default
2076
2084
 
2077
2085
  # @private
@@ -21,6 +21,7 @@ require "gapic/config"
21
21
  require "gapic/config/method"
22
22
 
23
23
  require "google/cloud/vision_ai/v1/version"
24
+ require "google/cloud/vision_ai/v1/bindings_override"
24
25
 
25
26
  require "google/cloud/vision_ai/v1/live_video_analytics/credentials"
26
27
  require "google/cloud/vision_ai/v1/live_video_analytics/paths"
@@ -22,6 +22,7 @@ require "google/cloud/vision_ai/v1/streaming_service/rest"
22
22
  require "google/cloud/vision_ai/v1/streams_service/rest"
23
23
  require "google/cloud/vision_ai/v1/warehouse/rest"
24
24
  require "google/cloud/vision_ai/v1/health_check_service/rest"
25
+ require "google/cloud/vision_ai/v1/bindings_override"
25
26
  require "google/cloud/vision_ai/v1/version"
26
27
 
27
28
  module Google
@@ -171,6 +171,7 @@ module Google
171
171
  config.quota_project = @quota_project_id
172
172
  config.endpoint = @streaming_service_stub.endpoint
173
173
  config.universe_domain = @streaming_service_stub.universe_domain
174
+ config.bindings_override = @config.bindings_override
174
175
  config.logger = @streaming_service_stub.logger if config.respond_to? :logger=
175
176
  end
176
177
 
@@ -565,6 +566,13 @@ module Google
565
566
  config_attr :retry_policy, nil, ::Hash, ::Proc, nil
566
567
  config_attr :quota_project, nil, ::String, nil
567
568
  config_attr :universe_domain, nil, ::String, nil
569
+
570
+ # @private
571
+ # Overrides for http bindings for the RPCs of this service
572
+ # are only used when this service is used as mixin, and only
573
+ # by the host service.
574
+ # @return [::Hash{::Symbol=>::Array<::Gapic::Rest::GrpcTranscoder::HttpBinding>}]
575
+ config_attr :bindings_override, {}, ::Hash, nil
568
576
  config_attr :logger, :default, ::Logger, nil, :default
569
577
 
570
578
  # @private
@@ -21,6 +21,7 @@ require "gapic/config"
21
21
  require "gapic/config/method"
22
22
 
23
23
  require "google/cloud/vision_ai/v1/version"
24
+ require "google/cloud/vision_ai/v1/bindings_override"
24
25
 
25
26
  require "google/cloud/vision_ai/v1/streaming_service/credentials"
26
27
  require "google/cloud/vision_ai/v1/streaming_service/paths"
@@ -181,6 +181,7 @@ module Google
181
181
  config.quota_project = @quota_project_id
182
182
  config.endpoint = @streams_service_stub.endpoint
183
183
  config.universe_domain = @streams_service_stub.universe_domain
184
+ config.bindings_override = @config.bindings_override
184
185
  config.logger = @streams_service_stub.logger if config.respond_to? :logger=
185
186
  end
186
187
 
@@ -2557,6 +2558,13 @@ module Google
2557
2558
  config_attr :retry_policy, nil, ::Hash, ::Proc, nil
2558
2559
  config_attr :quota_project, nil, ::String, nil
2559
2560
  config_attr :universe_domain, nil, ::String, nil
2561
+
2562
+ # @private
2563
+ # Overrides for http bindings for the RPCs of this service
2564
+ # are only used when this service is used as mixin, and only
2565
+ # by the host service.
2566
+ # @return [::Hash{::Symbol=>::Array<::Gapic::Rest::GrpcTranscoder::HttpBinding>}]
2567
+ config_attr :bindings_override, {}, ::Hash, nil
2560
2568
  config_attr :logger, :default, ::Logger, nil, :default
2561
2569
 
2562
2570
  # @private
@@ -21,6 +21,7 @@ require "gapic/config"
21
21
  require "gapic/config/method"
22
22
 
23
23
  require "google/cloud/vision_ai/v1/version"
24
+ require "google/cloud/vision_ai/v1/bindings_override"
24
25
 
25
26
  require "google/cloud/vision_ai/v1/streams_service/credentials"
26
27
  require "google/cloud/vision_ai/v1/streams_service/paths"
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module VisionAI
23
23
  module V1
24
- VERSION = "1.3.1"
24
+ VERSION = "1.4.0"
25
25
  end
26
26
  end
27
27
  end
@@ -36,7 +36,7 @@ module Google
36
36
  API_VERSION = ""
37
37
 
38
38
  # @private
39
- DEFAULT_ENDPOINT_TEMPLATE = "visionai.$UNIVERSE_DOMAIN$"
39
+ DEFAULT_ENDPOINT_TEMPLATE = "warehouse-visionai.$UNIVERSE_DOMAIN$"
40
40
 
41
41
  include Paths
42
42
 
@@ -4820,7 +4820,7 @@ module Google
4820
4820
  # If negative, INVALID_ARGUMENT error will be returned.
4821
4821
  # If unspecified or 0, API will pick a default size, which is 10.
4822
4822
  # If the requested page size is larger than the maximum size, API will pick
4823
- # the maximum size, which is 100.
4823
+ # the maximum size, which is 200.
4824
4824
  # @param page_token [::String]
4825
4825
  # The continuation token to fetch the next page. If empty, it means it is
4826
4826
  # fetching the first page.
@@ -6460,7 +6460,7 @@ module Google
6460
6460
 
6461
6461
  # @private
6462
6462
  # The endpoint specific to the default "googleapis.com" universe. Deprecated.
6463
- DEFAULT_ENDPOINT = "visionai.googleapis.com"
6463
+ DEFAULT_ENDPOINT = "warehouse-visionai.googleapis.com"
6464
6464
 
6465
6465
  config_attr :endpoint, nil, ::String, nil
6466
6466
  config_attr :credentials, nil do |value|
@@ -30,7 +30,7 @@ module Google
30
30
  API_VERSION = ""
31
31
 
32
32
  # @private
33
- DEFAULT_ENDPOINT_TEMPLATE = "visionai.$UNIVERSE_DOMAIN$"
33
+ DEFAULT_ENDPOINT_TEMPLATE = "warehouse-visionai.$UNIVERSE_DOMAIN$"
34
34
 
35
35
  # @private
36
36
  attr_reader :operations_stub
@@ -725,7 +725,7 @@ module Google
725
725
 
726
726
  # @private
727
727
  # The endpoint specific to the default "googleapis.com" universe. Deprecated.
728
- DEFAULT_ENDPOINT = "visionai.googleapis.com"
728
+ DEFAULT_ENDPOINT = "warehouse-visionai.googleapis.com"
729
729
 
730
730
  config_attr :endpoint, nil, ::String, nil
731
731
  config_attr :credentials, nil do |value|
@@ -38,7 +38,7 @@ module Google
38
38
  API_VERSION = ""
39
39
 
40
40
  # @private
41
- DEFAULT_ENDPOINT_TEMPLATE = "visionai.$UNIVERSE_DOMAIN$"
41
+ DEFAULT_ENDPOINT_TEMPLATE = "warehouse-visionai.$UNIVERSE_DOMAIN$"
42
42
 
43
43
  include Paths
44
44
 
@@ -203,6 +203,7 @@ module Google
203
203
  config.quota_project = @quota_project_id
204
204
  config.endpoint = @warehouse_stub.endpoint
205
205
  config.universe_domain = @warehouse_stub.universe_domain
206
+ config.bindings_override = @config.bindings_override
206
207
  config.logger = @warehouse_stub.logger if config.respond_to? :logger=
207
208
  end
208
209
 
@@ -4405,7 +4406,7 @@ module Google
4405
4406
  # If negative, INVALID_ARGUMENT error will be returned.
4406
4407
  # If unspecified or 0, API will pick a default size, which is 10.
4407
4408
  # If the requested page size is larger than the maximum size, API will pick
4408
- # the maximum size, which is 100.
4409
+ # the maximum size, which is 200.
4409
4410
  # @param page_token [::String]
4410
4411
  # The continuation token to fetch the next page. If empty, it means it is
4411
4412
  # fetching the first page.
@@ -5907,7 +5908,7 @@ module Google
5907
5908
 
5908
5909
  # @private
5909
5910
  # The endpoint specific to the default "googleapis.com" universe. Deprecated.
5910
- DEFAULT_ENDPOINT = "visionai.googleapis.com"
5911
+ DEFAULT_ENDPOINT = "warehouse-visionai.googleapis.com"
5911
5912
 
5912
5913
  config_attr :endpoint, nil, ::String, nil
5913
5914
  config_attr :credentials, nil do |value|
@@ -5922,6 +5923,13 @@ module Google
5922
5923
  config_attr :retry_policy, nil, ::Hash, ::Proc, nil
5923
5924
  config_attr :quota_project, nil, ::String, nil
5924
5925
  config_attr :universe_domain, nil, ::String, nil
5926
+
5927
+ # @private
5928
+ # Overrides for http bindings for the RPCs of this service
5929
+ # are only used when this service is used as mixin, and only
5930
+ # by the host service.
5931
+ # @return [::Hash{::Symbol=>::Array<::Gapic::Rest::GrpcTranscoder::HttpBinding>}]
5932
+ config_attr :bindings_override, {}, ::Hash, nil
5925
5933
  config_attr :logger, :default, ::Logger, nil, :default
5926
5934
 
5927
5935
  # @private
@@ -30,7 +30,7 @@ module Google
30
30
  API_VERSION = ""
31
31
 
32
32
  # @private
33
- DEFAULT_ENDPOINT_TEMPLATE = "visionai.$UNIVERSE_DOMAIN$"
33
+ DEFAULT_ENDPOINT_TEMPLATE = "warehouse-visionai.$UNIVERSE_DOMAIN$"
34
34
 
35
35
  # @private
36
36
  attr_reader :operations_stub
@@ -563,7 +563,7 @@ module Google
563
563
 
564
564
  # @private
565
565
  # The endpoint specific to the default "googleapis.com" universe. Deprecated.
566
- DEFAULT_ENDPOINT = "visionai.googleapis.com"
566
+ DEFAULT_ENDPOINT = "warehouse-visionai.googleapis.com"
567
567
 
568
568
  config_attr :endpoint, nil, ::String, nil
569
569
  config_attr :credentials, nil do |value|
@@ -21,6 +21,7 @@ require "gapic/config"
21
21
  require "gapic/config/method"
22
22
 
23
23
  require "google/cloud/vision_ai/v1/version"
24
+ require "google/cloud/vision_ai/v1/bindings_override"
24
25
 
25
26
  require "google/cloud/vision_ai/v1/warehouse/credentials"
26
27
  require "google/cloud/vision_ai/v1/warehouse/paths"
@@ -10,31 +10,8 @@ require 'google/protobuf/timestamp_pb'
10
10
 
11
11
  descriptor_data = "\n*google/cloud/visionai/v1/annotations.proto\x12\x18google.cloud.visionai.v1\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x95\r\n*PersonalProtectiveEquipmentDetectionOutput\x12\x30\n\x0c\x63urrent_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12m\n\x10\x64\x65tected_persons\x18\x02 \x03(\x0b\x32S.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.DetectedPerson\x1a(\n\x0cPersonEntity\x12\x18\n\x10person_entity_id\x18\x01 \x01(\x03\x1az\n\tPPEEntity\x12\x14\n\x0cppe_label_id\x18\x01 \x01(\x03\x12\x18\n\x10ppe_label_string\x18\x02 \x01(\t\x12&\n\x1eppe_supercategory_label_string\x18\x03 \x01(\t\x12\x15\n\rppe_entity_id\x18\x04 \x01(\x03\x1aR\n\x15NormalizedBoundingBox\x12\x0c\n\x04xmin\x18\x01 \x01(\x02\x12\x0c\n\x04ymin\x18\x02 \x01(\x02\x12\r\n\x05width\x18\x03 \x01(\x02\x12\x0e\n\x06height\x18\x04 \x01(\x02\x1a\xa6\x02\n\x13PersonIdentifiedBox\x12\x0e\n\x06\x62ox_id\x18\x01 \x01(\x03\x12{\n\x17normalized_bounding_box\x18\x02 \x01(\x0b\x32Z.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBox\x12\x18\n\x10\x63onfidence_score\x18\x03 \x01(\x02\x12h\n\rperson_entity\x18\x04 \x01(\x0b\x32Q.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PersonEntity\x1a\x9d\x02\n\x10PPEIdentifiedBox\x12\x0e\n\x06\x62ox_id\x18\x01 \x01(\x03\x12{\n\x17normalized_bounding_box\x18\x02 \x01(\x0b\x32Z.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBox\x12\x18\n\x10\x63onfidence_score\x18\x03 \x01(\x02\x12\x62\n\nppe_entity\x18\x04 \x01(\x0b\x32N.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PPEEntity\x1a\x82\x05\n\x0e\x44\x65tectedPerson\x12\x11\n\tperson_id\x18\x01 \x01(\x03\x12\x80\x01\n\x1e\x64\x65tected_person_identified_box\x18\x02 \x01(\x0b\x32X.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox\x12|\n\x1d\x64\x65tected_ppe_identified_boxes\x18\x03 \x03(\x0b\x32U.google.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox\x12 \n\x13\x66\x61\x63\x65_coverage_score\x18\x04 \x01(\x02H\x00\x88\x01\x01\x12 \n\x13\x65yes_coverage_score\x18\x05 \x01(\x02H\x01\x88\x01\x01\x12 \n\x13head_coverage_score\x18\x06 \x01(\x02H\x02\x88\x01\x01\x12!\n\x14hands_coverage_score\x18\x07 \x01(\x02H\x03\x88\x01\x01\x12 \n\x13\x62ody_coverage_score\x18\x08 \x01(\x02H\x04\x88\x01\x01\x12 \n\x13\x66\x65\x65t_coverage_score\x18\t \x01(\x02H\x05\x88\x01\x01\x42\x16\n\x14_face_coverage_scoreB\x16\n\x14_eyes_coverage_scoreB\x16\n\x14_head_coverage_scoreB\x17\n\x15_hands_coverage_scoreB\x16\n\x14_body_coverage_scoreB\x16\n\x14_feet_coverage_score\"\xca\x04\n\x1fObjectDetectionPredictionResult\x12\x30\n\x0c\x63urrent_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x61\n\x10identified_boxes\x18\x02 \x03(\x0b\x32G.google.cloud.visionai.v1.ObjectDetectionPredictionResult.IdentifiedBox\x1a\x30\n\x06\x45ntity\x12\x10\n\x08label_id\x18\x01 \x01(\x03\x12\x14\n\x0clabel_string\x18\x02 \x01(\t\x1a\xdf\x02\n\rIdentifiedBox\x12\x0e\n\x06\x62ox_id\x18\x01 \x01(\x03\x12~\n\x17normalized_bounding_box\x18\x02 \x01(\x0b\x32].google.cloud.visionai.v1.ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox\x12\x18\n\x10\x63onfidence_score\x18\x03 \x01(\x02\x12P\n\x06\x65ntity\x18\x04 \x01(\x0b\x32@.google.cloud.visionai.v1.ObjectDetectionPredictionResult.Entity\x1aR\n\x15NormalizedBoundingBox\x12\x0c\n\x04xmin\x18\x01 \x01(\x02\x12\x0c\n\x04ymin\x18\x02 \x01(\x02\x12\r\n\x05width\x18\x03 \x01(\x02\x12\x0e\n\x06height\x18\x04 \x01(\x02\"\x8b\x01\n$ImageObjectDetectionPredictionResult\x12\x0b\n\x03ids\x18\x01 \x03(\x03\x12\x15\n\rdisplay_names\x18\x02 \x03(\t\x12\x13\n\x0b\x63onfidences\x18\x03 \x03(\x02\x12*\n\x06\x62\x62oxes\x18\x04 \x03(\x0b\x32\x1a.google.protobuf.ListValue\"Y\n\x1e\x43lassificationPredictionResult\x12\x0b\n\x03ids\x18\x01 \x03(\x03\x12\x15\n\rdisplay_names\x18\x02 \x03(\t\x12\x13\n\x0b\x63onfidences\x18\x03 \x03(\x02\"S\n!ImageSegmentationPredictionResult\x12\x15\n\rcategory_mask\x18\x01 \x01(\t\x12\x17\n\x0f\x63onfidence_mask\x18\x02 \x01(\t\"\xc4\x02\n&VideoActionRecognitionPredictionResult\x12\x36\n\x12segment_start_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x34\n\x10segment_end_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x62\n\x07\x61\x63tions\x18\x03 \x03(\x0b\x32Q.google.cloud.visionai.v1.VideoActionRecognitionPredictionResult.IdentifiedAction\x1aH\n\x10IdentifiedAction\x12\n\n\x02id\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x12\n\nconfidence\x18\x03 \x01(\x02\"\xf9\x03\n#VideoObjectTrackingPredictionResult\x12\x36\n\x12segment_start_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x34\n\x10segment_end_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12]\n\x07objects\x18\x03 \x03(\x0b\x32L.google.cloud.visionai.v1.VideoObjectTrackingPredictionResult.DetectedObject\x1aI\n\x0b\x42oundingBox\x12\r\n\x05x_min\x18\x01 \x01(\x02\x12\r\n\x05x_max\x18\x02 \x01(\x02\x12\r\n\x05y_min\x18\x03 \x01(\x02\x12\r\n\x05y_max\x18\x04 \x01(\x02\x1a\xb9\x01\n\x0e\x44\x65tectedObject\x12\n\n\x02id\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12_\n\x0c\x62ounding_box\x18\x03 \x01(\x0b\x32I.google.cloud.visionai.v1.VideoObjectTrackingPredictionResult.BoundingBox\x12\x12\n\nconfidence\x18\x04 \x01(\x02\x12\x10\n\x08track_id\x18\x05 \x01(\x03\"\xd6\x02\n#VideoClassificationPredictionResult\x12\x36\n\x12segment_start_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x34\n\x10segment_end_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12o\n\x0f\x63lassifications\x18\x03 \x03(\x0b\x32V.google.cloud.visionai.v1.VideoClassificationPredictionResult.IdentifiedClassification\x1aP\n\x18IdentifiedClassification\x12\n\n\x02id\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x12\n\nconfidence\x18\x03 \x01(\x02\"\xeb\x13\n!OccupancyCountingPredictionResult\x12\x30\n\x0c\x63urrent_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x63\n\x10identified_boxes\x18\x02 \x03(\x0b\x32I.google.cloud.visionai.v1.OccupancyCountingPredictionResult.IdentifiedBox\x12P\n\x05stats\x18\x03 \x01(\x0b\x32\x41.google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats\x12Y\n\ntrack_info\x18\x04 \x03(\x0b\x32\x45.google.cloud.visionai.v1.OccupancyCountingPredictionResult.TrackInfo\x12\x62\n\x0f\x64well_time_info\x18\x05 \x03(\x0b\x32I.google.cloud.visionai.v1.OccupancyCountingPredictionResult.DwellTimeInfo\x12\x10\n\x03pts\x18\x06 \x01(\x03H\x00\x88\x01\x01\x1a\x30\n\x06\x45ntity\x12\x10\n\x08label_id\x18\x01 \x01(\x03\x12\x14\n\x0clabel_string\x18\x02 \x01(\t\x1a\xeb\x02\n\rIdentifiedBox\x12\x0e\n\x06\x62ox_id\x18\x01 \x01(\x03\x12\x80\x01\n\x17normalized_bounding_box\x18\x02 \x01(\x0b\x32_.google.cloud.visionai.v1.OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox\x12\r\n\x05score\x18\x03 \x01(\x02\x12R\n\x06\x65ntity\x18\x04 \x01(\x0b\x32\x42.google.cloud.visionai.v1.OccupancyCountingPredictionResult.Entity\x12\x10\n\x08track_id\x18\x05 \x01(\x03\x1aR\n\x15NormalizedBoundingBox\x12\x0c\n\x04xmin\x18\x01 \x01(\x02\x12\x0c\n\x04ymin\x18\x02 \x01(\x02\x12\r\n\x05width\x18\x03 \x01(\x02\x12\x0e\n\x06height\x18\x04 \x01(\x02\x1a\xf5\n\n\x05Stats\x12g\n\x10\x66ull_frame_count\x18\x01 \x03(\x0b\x32M.google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.ObjectCount\x12q\n\x14\x63rossing_line_counts\x18\x02 \x03(\x0b\x32S.google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.CrossingLineCount\x12m\n\x12\x61\x63tive_zone_counts\x18\x03 \x03(\x0b\x32Q.google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.ActiveZoneCount\x1ap\n\x0bObjectCount\x12R\n\x06\x65ntity\x18\x01 \x01(\x0b\x32\x42.google.cloud.visionai.v1.OccupancyCountingPredictionResult.Entity\x12\r\n\x05\x63ount\x18\x02 \x01(\x05\x1a\xad\x01\n\x16\x41\x63\x63umulatedObjectCount\x12.\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x63\n\x0cobject_count\x18\x02 \x01(\x0b\x32M.google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.ObjectCount\x1a\xcb\x04\n\x11\x43rossingLineCount\x12>\n\nannotation\x18\x01 \x01(\x0b\x32*.google.cloud.visionai.v1.StreamAnnotation\x12p\n\x19positive_direction_counts\x18\x02 \x03(\x0b\x32M.google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.ObjectCount\x12p\n\x19negative_direction_counts\x18\x03 \x03(\x0b\x32M.google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.ObjectCount\x12\x87\x01\n%accumulated_positive_direction_counts\x18\x04 \x03(\x0b\x32X.google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.AccumulatedObjectCount\x12\x87\x01\n%accumulated_negative_direction_counts\x18\x05 \x03(\x0b\x32X.google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.AccumulatedObjectCount\x1a\xb0\x01\n\x0f\x41\x63tiveZoneCount\x12>\n\nannotation\x18\x01 \x01(\x0b\x32*.google.cloud.visionai.v1.StreamAnnotation\x12]\n\x06\x63ounts\x18\x02 \x03(\x0b\x32M.google.cloud.visionai.v1.OccupancyCountingPredictionResult.Stats.ObjectCount\x1aM\n\tTrackInfo\x12\x10\n\x08track_id\x18\x01 \x01(\t\x12.\n\nstart_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x1a\x9c\x01\n\rDwellTimeInfo\x12\x10\n\x08track_id\x18\x01 \x01(\t\x12\x0f\n\x07zone_id\x18\x02 \x01(\t\x12\x34\n\x10\x64well_start_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x32\n\x0e\x64well_end_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x06\n\x04_pts\"\xaa\x02\n\x10StreamAnnotation\x12\x42\n\x0b\x61\x63tive_zone\x18\x05 \x01(\x0b\x32+.google.cloud.visionai.v1.NormalizedPolygonH\x00\x12\x45\n\rcrossing_line\x18\x06 \x01(\x0b\x32,.google.cloud.visionai.v1.NormalizedPolylineH\x00\x12\n\n\x02id\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x15\n\rsource_stream\x18\x03 \x01(\t\x12<\n\x04type\x18\x04 \x01(\x0e\x32..google.cloud.visionai.v1.StreamAnnotationTypeB\x14\n\x12\x61nnotation_payload\"[\n\x11StreamAnnotations\x12\x46\n\x12stream_annotations\x18\x01 \x03(\x0b\x32*.google.cloud.visionai.v1.StreamAnnotation\"\\\n\x11NormalizedPolygon\x12G\n\x13normalized_vertices\x18\x01 \x03(\x0b\x32*.google.cloud.visionai.v1.NormalizedVertex\"]\n\x12NormalizedPolyline\x12G\n\x13normalized_vertices\x18\x01 \x03(\x0b\x32*.google.cloud.visionai.v1.NormalizedVertex\"(\n\x10NormalizedVertex\x12\t\n\x01x\x18\x01 \x01(\x02\x12\t\n\x01y\x18\x02 \x01(\x02\"`\n\x13\x41ppPlatformMetadata\x12\x13\n\x0b\x61pplication\x18\x01 \x01(\t\x12\x13\n\x0binstance_id\x18\x02 \x01(\t\x12\x0c\n\x04node\x18\x03 \x01(\t\x12\x11\n\tprocessor\x18\x04 \x01(\t\"\xbe\x02\n\x1f\x41ppPlatformCloudFunctionRequest\x12L\n\x15\x61pp_platform_metadata\x18\x01 \x01(\x0b\x32-.google.cloud.visionai.v1.AppPlatformMetadata\x12\x66\n\x0b\x61nnotations\x18\x02 \x03(\x0b\x32Q.google.cloud.visionai.v1.AppPlatformCloudFunctionRequest.StructedInputAnnotation\x1a\x65\n\x17StructedInputAnnotation\x12\x1d\n\x15ingestion_time_micros\x18\x01 \x01(\x03\x12+\n\nannotation\x18\x02 \x01(\x0b\x32\x17.google.protobuf.Struct\"\xb5\x02\n AppPlatformCloudFunctionResponse\x12h\n\x0b\x61nnotations\x18\x02 \x03(\x0b\x32S.google.cloud.visionai.v1.AppPlatformCloudFunctionResponse.StructedOutputAnnotation\x12\x1e\n\x16\x61nnotation_passthrough\x18\x03 \x01(\x08\x12>\n\x06\x65vents\x18\x04 \x03(\x0b\x32..google.cloud.visionai.v1.AppPlatformEventBody\x1aG\n\x18StructedOutputAnnotation\x12+\n\nannotation\x18\x01 \x01(\x0b\x32\x17.google.protobuf.Struct\"i\n\x14\x41ppPlatformEventBody\x12\x15\n\revent_message\x18\x01 \x01(\t\x12(\n\x07payload\x18\x02 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x10\n\x08\x65vent_id\x18\x03 \x01(\t*\x90\x01\n\x14StreamAnnotationType\x12&\n\"STREAM_ANNOTATION_TYPE_UNSPECIFIED\x10\x00\x12&\n\"STREAM_ANNOTATION_TYPE_ACTIVE_ZONE\x10\x01\x12(\n$STREAM_ANNOTATION_TYPE_CROSSING_LINE\x10\x02\x42\xc0\x01\n\x1c\x63om.google.cloud.visionai.v1B\x10\x41nnotationsProtoP\x01Z8cloud.google.com/go/visionai/apiv1/visionaipb;visionaipb\xaa\x02\x18Google.Cloud.VisionAI.V1\xca\x02\x18Google\\Cloud\\VisionAI\\V1\xea\x02\x1bGoogle::Cloud::VisionAI::V1b\x06proto3"
12
12
 
13
- pool = Google::Protobuf::DescriptorPool.generated_pool
14
-
15
- begin
16
- pool.add_serialized_file(descriptor_data)
17
- rescue TypeError
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.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
27
- ["google.protobuf.ListValue", "google/protobuf/struct.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}"
33
- end
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."
37
- end
13
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
14
+ pool.add_serialized_file(descriptor_data)
38
15
 
39
16
  module Google
40
17
  module Cloud
@@ -11,30 +11,8 @@ require 'google/protobuf/timestamp_pb'
11
11
 
12
12
  descriptor_data = "\n%google/cloud/visionai/v1/common.proto\x12\x18google.cloud.visionai.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xac\x05\n\x07\x43luster\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12=\n\x06labels\x18\x04 \x03(\x0b\x32-.google.cloud.visionai.v1.Cluster.LabelsEntry\x12G\n\x0b\x61nnotations\x18\x05 \x03(\x0b\x32\x32.google.cloud.visionai.v1.Cluster.AnnotationsEntry\x12\'\n\x1a\x64\x61taplane_service_endpoint\x18\x06 \x01(\tB\x03\xe0\x41\x03\x12;\n\x05state\x18\x07 \x01(\x0e\x32\'.google.cloud.visionai.v1.Cluster.StateB\x03\xe0\x41\x03\x12\x17\n\npsc_target\x18\x08 \x01(\tB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"V\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x10\n\x0cPROVISIONING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\x0c\n\x08STOPPING\x10\x03\x12\t\n\x05\x45RROR\x10\x04:`\xea\x41]\n\x1fvisionai.googleapis.com/Cluster\x12:projects/{project}/locations/{location}/clusters/{cluster}\"\x80\x02\n\x11OperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\"\x1e\n\tGcsSource\x12\x11\n\x04uris\x18\x01 \x03(\tB\x03\xe0\x41\x02\x42\xbb\x01\n\x1c\x63om.google.cloud.visionai.v1B\x0b\x43ommonProtoP\x01Z8cloud.google.com/go/visionai/apiv1/visionaipb;visionaipb\xaa\x02\x18Google.Cloud.VisionAI.V1\xca\x02\x18Google\\Cloud\\VisionAI\\V1\xea\x02\x1bGoogle::Cloud::VisionAI::V1b\x06proto3"
13
13
 
14
- pool = Google::Protobuf::DescriptorPool.generated_pool
15
-
16
- begin
17
- pool.add_serialized_file(descriptor_data)
18
- rescue TypeError
19
- # Compatibility code: will be removed in the next major version.
20
- require 'google/protobuf/descriptor_pb'
21
- parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
22
- parsed.clear_dependency
23
- serialized = parsed.class.encode(parsed)
24
- file = pool.add_serialized_file(serialized)
25
- warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
26
- imports = [
27
- ["google.protobuf.Timestamp", "google/protobuf/timestamp.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}"
33
- end
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."
37
- end
14
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
15
+ pool.add_serialized_file(descriptor_data)
38
16
 
39
17
  module Google
40
18
  module Cloud
@@ -11,29 +11,8 @@ require 'google/api/resource_pb'
11
11
 
12
12
  descriptor_data = "\n-google/cloud/visionai/v1/health_service.proto\x12\x18google.cloud.visionai.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x19google/api/resource.proto\"K\n\x12HealthCheckRequest\x12\x35\n\x07\x63luster\x18\x01 \x01(\tB$\xfa\x41!\n\x1fvisionai.googleapis.com/Cluster\"s\n\x13HealthCheckResponse\x12\x0f\n\x07healthy\x18\x01 \x01(\x08\x12\x0e\n\x06reason\x18\x02 \x01(\t\x12;\n\x0c\x63luster_info\x18\x03 \x01(\x0b\x32%.google.cloud.visionai.v1.ClusterInfo\"=\n\x0b\x43lusterInfo\x12\x15\n\rstreams_count\x18\x01 \x01(\x05\x12\x17\n\x0fprocesses_count\x18\x02 \x01(\x05\x32\x93\x02\n\x12HealthCheckService\x12\xaf\x01\n\x0bHealthCheck\x12,.google.cloud.visionai.v1.HealthCheckRequest\x1a-.google.cloud.visionai.v1.HealthCheckResponse\"C\x82\xd3\xe4\x93\x02=\x12;/v1/{cluster=projects/*/locations/*/clusters/*}:healthCheck\x1aK\xca\x41\x17visionai.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xc7\x01\n\x1c\x63om.google.cloud.visionai.v1B\x17HealthCheckServiceProtoP\x01Z8cloud.google.com/go/visionai/apiv1/visionaipb;visionaipb\xaa\x02\x18Google.Cloud.VisionAI.V1\xca\x02\x18Google\\Cloud\\VisionAI\\V1\xea\x02\x1bGoogle::Cloud::VisionAI::V1b\x06proto3"
13
13
 
14
- pool = Google::Protobuf::DescriptorPool.generated_pool
15
-
16
- begin
17
- pool.add_serialized_file(descriptor_data)
18
- rescue TypeError
19
- # Compatibility code: will be removed in the next major version.
20
- require 'google/protobuf/descriptor_pb'
21
- parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
22
- parsed.clear_dependency
23
- serialized = parsed.class.encode(parsed)
24
- file = pool.add_serialized_file(serialized)
25
- warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
26
- imports = [
27
- ]
28
- imports.each do |type_name, expected_filename|
29
- import_file = pool.lookup(type_name).file_descriptor
30
- if import_file.name != expected_filename
31
- warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
32
- end
33
- end
34
- warn "Each proto file must use a consistent fully-qualified name."
35
- warn "This will become an error in the next major version."
36
- end
14
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
15
+ pool.add_serialized_file(descriptor_data)
37
16
 
38
17
  module Google
39
18
  module Cloud
@@ -7,29 +7,8 @@ require 'google/protobuf'
7
7
 
8
8
  descriptor_data = "\n\"google/cloud/visionai/v1/lva.proto\x12\x18google.cloud.visionai.v1\"\xca\x04\n\x12OperatorDefinition\x12\x10\n\x08operator\x18\x01 \x01(\t\x12S\n\ninput_args\x18\x02 \x03(\x0b\x32?.google.cloud.visionai.v1.OperatorDefinition.ArgumentDefinition\x12T\n\x0boutput_args\x18\x03 \x03(\x0b\x32?.google.cloud.visionai.v1.OperatorDefinition.ArgumentDefinition\x12T\n\nattributes\x18\x04 \x03(\x0b\x32@.google.cloud.visionai.v1.OperatorDefinition.AttributeDefinition\x12\x42\n\tresources\x18\x05 \x01(\x0b\x32/.google.cloud.visionai.v1.ResourceSpecification\x12\x19\n\x11short_description\x18\x06 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x07 \x01(\t\x1a\x34\n\x12\x41rgumentDefinition\x12\x10\n\x08\x61rgument\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t\x1aw\n\x13\x41ttributeDefinition\x12\x11\n\tattribute\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t\x12?\n\rdefault_value\x18\x03 \x01(\x0b\x32(.google.cloud.visionai.v1.AttributeValue\"\x88\x01\n\x15ResourceSpecification\x12\x0b\n\x03\x63pu\x18\x01 \x01(\t\x12\x12\n\ncpu_limits\x18\x05 \x01(\t\x12\x0e\n\x06memory\x18\x02 \x01(\t\x12\x15\n\rmemory_limits\x18\x06 \x01(\t\x12\x0c\n\x04gpus\x18\x03 \x01(\x05\x12\x19\n\x11latency_budget_ms\x18\x04 \x01(\x05\"M\n\x0e\x41ttributeValue\x12\x0b\n\x01i\x18\x01 \x01(\x03H\x00\x12\x0b\n\x01\x66\x18\x02 \x01(\x02H\x00\x12\x0b\n\x01\x62\x18\x03 \x01(\x08H\x00\x12\x0b\n\x01s\x18\x04 \x01(\x0cH\x00\x42\x07\n\x05value\"\xdb\x05\n\x12\x41nalyzerDefinition\x12\x10\n\x08\x61nalyzer\x18\x01 \x01(\t\x12\x10\n\x08operator\x18\x02 \x01(\t\x12H\n\x06inputs\x18\x03 \x03(\x0b\x32\x38.google.cloud.visionai.v1.AnalyzerDefinition.StreamInput\x12\x46\n\x05\x61ttrs\x18\x04 \x03(\x0b\x32\x37.google.cloud.visionai.v1.AnalyzerDefinition.AttrsEntry\x12P\n\rdebug_options\x18\x05 \x01(\x0b\x32\x39.google.cloud.visionai.v1.AnalyzerDefinition.DebugOptions\x12T\n\x0foperator_option\x18\x06 \x01(\x0b\x32;.google.cloud.visionai.v1.AnalyzerDefinition.OperatorOption\x1a\x1c\n\x0bStreamInput\x12\r\n\x05input\x18\x01 \x01(\t\x1a\xbf\x01\n\x0c\x44\x65\x62ugOptions\x12r\n\x15\x65nvironment_variables\x18\x01 \x03(\x0b\x32S.google.cloud.visionai.v1.AnalyzerDefinition.DebugOptions.EnvironmentVariablesEntry\x1a;\n\x19\x45nvironmentVariablesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a/\n\x0eOperatorOption\x12\x0b\n\x03tag\x18\x01 \x01(\t\x12\x10\n\x08registry\x18\x02 \x01(\t\x1aV\n\nAttrsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x37\n\x05value\x18\x02 \x01(\x0b\x32(.google.cloud.visionai.v1.AttributeValue:\x02\x38\x01\"U\n\x12\x41nalysisDefinition\x12?\n\tanalyzers\x18\x01 \x03(\x0b\x32,.google.cloud.visionai.v1.AnalyzerDefinition\"\xbc\x01\n\tRunStatus\x12\x38\n\x05state\x18\x01 \x01(\x0e\x32).google.cloud.visionai.v1.RunStatus.State\x12\x0e\n\x06reason\x18\x02 \x01(\t\"e\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x10\n\x0cINITIALIZING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\r\n\tCOMPLETED\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04\x12\x0b\n\x07PENDING\x10\x05*=\n\x07RunMode\x12\x18\n\x14RUN_MODE_UNSPECIFIED\x10\x00\x12\x08\n\x04LIVE\x10\x01\x12\x0e\n\nSUBMISSION\x10\x02\x42\xb8\x01\n\x1c\x63om.google.cloud.visionai.v1B\x08LvaProtoP\x01Z8cloud.google.com/go/visionai/apiv1/visionaipb;visionaipb\xaa\x02\x18Google.Cloud.VisionAI.V1\xca\x02\x18Google\\Cloud\\VisionAI\\V1\xea\x02\x1bGoogle::Cloud::VisionAI::V1b\x06proto3"
9
9
 
10
- pool = Google::Protobuf::DescriptorPool.generated_pool
11
-
12
- begin
13
- pool.add_serialized_file(descriptor_data)
14
- rescue TypeError
15
- # Compatibility code: will be removed in the next major version.
16
- require 'google/protobuf/descriptor_pb'
17
- parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
18
- parsed.clear_dependency
19
- serialized = parsed.class.encode(parsed)
20
- file = pool.add_serialized_file(serialized)
21
- warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
22
- imports = [
23
- ]
24
- imports.each do |type_name, expected_filename|
25
- import_file = pool.lookup(type_name).file_descriptor
26
- if import_file.name != expected_filename
27
- warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
28
- end
29
- end
30
- warn "Each proto file must use a consistent fully-qualified name."
31
- warn "This will become an error in the next major version."
32
- end
10
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
11
+ pool.add_serialized_file(descriptor_data)
33
12
 
34
13
  module Google
35
14
  module Cloud
@@ -12,31 +12,8 @@ require 'google/protobuf/timestamp_pb'
12
12
 
13
13
  descriptor_data = "\n,google/cloud/visionai/v1/lva_resources.proto\x12\x18google.cloud.visionai.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\"google/cloud/visionai/v1/lva.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb9\x03\n\x08Operator\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12>\n\x06labels\x18\x04 \x03(\x0b\x32..google.cloud.visionai.v1.Operator.LabelsEntry\x12I\n\x13operator_definition\x18\x05 \x01(\x0b\x32,.google.cloud.visionai.v1.OperatorDefinition\x12\x14\n\x0c\x64ocker_image\x18\x06 \x01(\t\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:c\xea\x41`\n visionai.googleapis.com/Operator\x12<projects/{project}/locations/{location}/operators/{operator}\"\x85\x06\n\x08\x41nalysis\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12>\n\x06labels\x18\x04 \x03(\x0b\x32..google.cloud.visionai.v1.Analysis.LabelsEntry\x12I\n\x13\x61nalysis_definition\x18\x05 \x01(\x0b\x32,.google.cloud.visionai.v1.AnalysisDefinition\x12Z\n\x15input_streams_mapping\x18\x06 \x03(\x0b\x32;.google.cloud.visionai.v1.Analysis.InputStreamsMappingEntry\x12\\\n\x16output_streams_mapping\x18\x07 \x03(\x0b\x32<.google.cloud.visionai.v1.Analysis.OutputStreamsMappingEntry\x12\x1b\n\x13\x64isable_event_watch\x18\x08 \x01(\x08\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a:\n\x18InputStreamsMappingEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a;\n\x19OutputStreamsMappingEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:u\xea\x41r\n visionai.googleapis.com/Analysis\x12Nprojects/{project}/locations/{location}/clusters/{cluster}/analyses/{analysis}\"\x97\x04\n\x07Process\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12:\n\x08\x61nalysis\x18\x04 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n visionai.googleapis.com/Analysis\x12 \n\x13\x61ttribute_overrides\x18\x05 \x03(\tB\x03\xe0\x41\x01\x12<\n\nrun_status\x18\x06 \x01(\x0b\x32#.google.cloud.visionai.v1.RunStatusB\x03\xe0\x41\x01\x12\x38\n\x08run_mode\x18\x07 \x01(\x0e\x32!.google.cloud.visionai.v1.RunModeB\x03\xe0\x41\x01\x12\x15\n\x08\x65vent_id\x18\x08 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08\x62\x61tch_id\x18\t \x01(\tB\x03\xe0\x41\x01\x12\x18\n\x0bretry_count\x18\n \x01(\x05\x42\x03\xe0\x41\x01:t\xea\x41q\n\x1fvisionai.googleapis.com/Process\x12Nprojects/{project}/locations/{location}/clusters/{cluster}/processes/{process}B\xc1\x01\n\x1c\x63om.google.cloud.visionai.v1B\x11LvaResourcesProtoP\x01Z8cloud.google.com/go/visionai/apiv1/visionaipb;visionaipb\xaa\x02\x18Google.Cloud.VisionAI.V1\xca\x02\x18Google\\Cloud\\VisionAI\\V1\xea\x02\x1bGoogle::Cloud::VisionAI::V1b\x06proto3"
14
14
 
15
- pool = Google::Protobuf::DescriptorPool.generated_pool
16
-
17
- begin
18
- pool.add_serialized_file(descriptor_data)
19
- rescue TypeError
20
- # Compatibility code: will be removed in the next major version.
21
- require 'google/protobuf/descriptor_pb'
22
- parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
23
- parsed.clear_dependency
24
- serialized = parsed.class.encode(parsed)
25
- file = pool.add_serialized_file(serialized)
26
- warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
27
- imports = [
28
- ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
29
- ["google.cloud.visionai.v1.OperatorDefinition", "google/cloud/visionai/v1/lva.proto"],
30
- ]
31
- imports.each do |type_name, expected_filename|
32
- import_file = pool.lookup(type_name).file_descriptor
33
- if import_file.name != expected_filename
34
- warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
35
- end
36
- end
37
- warn "Each proto file must use a consistent fully-qualified name."
38
- warn "This will become an error in the next major version."
39
- end
15
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
16
+ pool.add_serialized_file(descriptor_data)
40
17
 
41
18
  module Google
42
19
  module Cloud