google-events 0.3.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,58 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/events/cloud/notebooks/v1/events.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/events/cloud/notebooks/v1/data_pb'
8
+ require 'google/events/cloudevent_pb'
9
+
10
+
11
+ descriptor_data = "\n-google/events/cloud/notebooks/v1/events.proto\x12 google.events.cloud.notebooks.v1\x1a+google/events/cloud/notebooks/v1/data.proto\x1a\x1egoogle/events/cloudevent.proto\"\x93\x01\n\x13RuntimeCreatedEvent\x12@\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x32.google.events.cloud.notebooks.v1.RuntimeEventData::\xb2\xf8\xd8,)google.cloud.notebooks.runtime.v1.created\xca\xf8\xd8,\x07runtime\"\x93\x01\n\x13RuntimeUpdatedEvent\x12@\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x32.google.events.cloud.notebooks.v1.RuntimeEventData::\xb2\xf8\xd8,)google.cloud.notebooks.runtime.v1.updated\xca\xf8\xd8,\x07runtime\"\x93\x01\n\x13RuntimeDeletedEvent\x12@\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x32.google.events.cloud.notebooks.v1.RuntimeEventData::\xb2\xf8\xd8,)google.cloud.notebooks.runtime.v1.deleted\xca\xf8\xd8,\x07runtime\"\x97\x01\n\x14InstanceCreatedEvent\x12\x41\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x33.google.events.cloud.notebooks.v1.InstanceEventData:<\xb2\xf8\xd8,*google.cloud.notebooks.instance.v1.created\xca\xf8\xd8,\x08instance\"\x97\x01\n\x14InstanceDeletedEvent\x12\x41\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x33.google.events.cloud.notebooks.v1.InstanceEventData:<\xb2\xf8\xd8,*google.cloud.notebooks.instance.v1.deleted\xca\xf8\xd8,\x08instance\"\xa3\x01\n\x17\x45nvironmentCreatedEvent\x12\x44\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x36.google.events.cloud.notebooks.v1.EnvironmentEventData:B\xb2\xf8\xd8,-google.cloud.notebooks.environment.v1.created\xca\xf8\xd8,\x0b\x65nvironment\"\xa3\x01\n\x17\x45nvironmentDeletedEvent\x12\x44\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x36.google.events.cloud.notebooks.v1.EnvironmentEventData:B\xb2\xf8\xd8,-google.cloud.notebooks.environment.v1.deleted\xca\xf8\xd8,\x0b\x65nvironment\"\x97\x01\n\x14ScheduleDeletedEvent\x12\x41\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x33.google.events.cloud.notebooks.v1.ScheduleEventData:<\xb2\xf8\xd8,*google.cloud.notebooks.schedule.v1.deleted\xca\xf8\xd8,\x08schedule\"\x97\x01\n\x14ScheduleCreatedEvent\x12\x41\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x33.google.events.cloud.notebooks.v1.ScheduleEventData:<\xb2\xf8\xd8,*google.cloud.notebooks.schedule.v1.created\xca\xf8\xd8,\x08schedule\"\x9b\x01\n\x15\x45xecutionDeletedEvent\x12\x42\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x34.google.events.cloud.notebooks.v1.ExecutionEventData:>\xb2\xf8\xd8,+google.cloud.notebooks.execution.v1.deleted\xca\xf8\xd8,\texecution\"\x9b\x01\n\x15\x45xecutionCreatedEvent\x12\x42\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x34.google.events.cloud.notebooks.v1.ExecutionEventData:>\xb2\xf8\xd8,+google.cloud.notebooks.execution.v1.created\xca\xf8\xd8,\texecutionB\xe8\x03\xaa\x02)Google.Events.Protobuf.Cloud.Notebooks.V1\xca\x02 Google\\Events\\Cloud\\Notebooks\\V1\xea\x02$Google::Events::Cloud::Notebooks::V1\xba\xf8\xd8,\tNotebooks\xc2\xf8\xd8,?\n\x07runtime\x12\x34The resource ID of the Runtime triggering the event.\xc2\xf8\xd8,A\n\x08instance\x12\x35The resource ID of the Instance triggering the event.\xc2\xf8\xd8,G\n\x0b\x65nvironment\x12\x38The resource ID of the Environment triggering the event.\xc2\xf8\xd8,A\n\x08schedule\x12\x35The resource ID of the Schedule triggering the event.\xc2\xf8\xd8,C\n\texecution\x12\x36The resource ID of the Execution triggering the event.b\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.events.cloud.notebooks.v1.RuntimeEventData", "google/events/cloud/notebooks/v1/data.proto"],
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
37
+
38
+ module Google
39
+ module Events
40
+ module Cloud
41
+ module Notebooks
42
+ module V1
43
+ RuntimeCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.notebooks.v1.RuntimeCreatedEvent").msgclass
44
+ RuntimeUpdatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.notebooks.v1.RuntimeUpdatedEvent").msgclass
45
+ RuntimeDeletedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.notebooks.v1.RuntimeDeletedEvent").msgclass
46
+ InstanceCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.notebooks.v1.InstanceCreatedEvent").msgclass
47
+ InstanceDeletedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.notebooks.v1.InstanceDeletedEvent").msgclass
48
+ EnvironmentCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.notebooks.v1.EnvironmentCreatedEvent").msgclass
49
+ EnvironmentDeletedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.notebooks.v1.EnvironmentDeletedEvent").msgclass
50
+ ScheduleDeletedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.notebooks.v1.ScheduleDeletedEvent").msgclass
51
+ ScheduleCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.notebooks.v1.ScheduleCreatedEvent").msgclass
52
+ ExecutionDeletedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.notebooks.v1.ExecutionDeletedEvent").msgclass
53
+ ExecutionCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.notebooks.v1.ExecutionCreatedEvent").msgclass
54
+ end
55
+ end
56
+ end
57
+ end
58
+ end
@@ -0,0 +1,67 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/events/cloud/redis/v1/data.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/protobuf/duration_pb'
8
+ require 'google/protobuf/timestamp_pb'
9
+ require 'google/type/dayofweek_pb'
10
+ require 'google/type/timeofday_pb'
11
+
12
+
13
+ descriptor_data = "\n\'google/events/cloud/redis/v1/data.proto\x12\x1cgoogle.events.cloud.redis.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1bgoogle/type/dayofweek.proto\x1a\x1bgoogle/type/timeofday.proto\"$\n\x08NodeInfo\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04zone\x18\x02 \x01(\t\"\xd9\x11\n\x08Instance\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x42\n\x06labels\x18\x03 \x03(\x0b\x32\x32.google.events.cloud.redis.v1.Instance.LabelsEntry\x12\x13\n\x0blocation_id\x18\x04 \x01(\t\x12\x1f\n\x17\x61lternative_location_id\x18\x05 \x01(\t\x12\x15\n\rredis_version\x18\x07 \x01(\t\x12\x19\n\x11reserved_ip_range\x18\t \x01(\t\x12\x1a\n\x12secondary_ip_range\x18\x1e \x01(\t\x12\x0c\n\x04host\x18\n \x01(\t\x12\x0c\n\x04port\x18\x0b \x01(\x05\x12\x1b\n\x13\x63urrent_location_id\x18\x0c \x01(\t\x12/\n\x0b\x63reate_time\x18\r \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12;\n\x05state\x18\x0e \x01(\x0e\x32,.google.events.cloud.redis.v1.Instance.State\x12\x16\n\x0estatus_message\x18\x0f \x01(\t\x12O\n\rredis_configs\x18\x10 \x03(\x0b\x32\x38.google.events.cloud.redis.v1.Instance.RedisConfigsEntry\x12\x39\n\x04tier\x18\x11 \x01(\x0e\x32+.google.events.cloud.redis.v1.Instance.Tier\x12\x16\n\x0ememory_size_gb\x18\x12 \x01(\x05\x12\x1a\n\x12\x61uthorized_network\x18\x14 \x01(\t\x12 \n\x18persistence_iam_identity\x18\x15 \x01(\t\x12H\n\x0c\x63onnect_mode\x18\x16 \x01(\x0e\x32\x32.google.events.cloud.redis.v1.Instance.ConnectMode\x12\x14\n\x0c\x61uth_enabled\x18\x17 \x01(\x08\x12\x45\n\x0fserver_ca_certs\x18\x19 \x03(\x0b\x32,.google.events.cloud.redis.v1.TlsCertificate\x12]\n\x17transit_encryption_mode\x18\x1a \x01(\x0e\x32<.google.events.cloud.redis.v1.Instance.TransitEncryptionMode\x12K\n\x12maintenance_policy\x18\x1b \x01(\x0b\x32/.google.events.cloud.redis.v1.MaintenancePolicy\x12O\n\x14maintenance_schedule\x18\x1c \x01(\x0b\x32\x31.google.events.cloud.redis.v1.MaintenanceSchedule\x12\x15\n\rreplica_count\x18\x1f \x01(\x05\x12\x35\n\x05nodes\x18 \x03(\x0b\x32&.google.events.cloud.redis.v1.NodeInfo\x12\x15\n\rread_endpoint\x18! \x01(\t\x12\x1a\n\x12read_endpoint_port\x18\" \x01(\x05\x12S\n\x12read_replicas_mode\x18# \x01(\x0e\x32\x37.google.events.cloud.redis.v1.Instance.ReadReplicasMode\x12\x1c\n\x14\x63ustomer_managed_key\x18$ \x01(\t\x12K\n\x12persistence_config\x18% \x01(\x0b\x32/.google.events.cloud.redis.v1.PersistenceConfig\x12S\n\x12suspension_reasons\x18& \x03(\x0e\x32\x37.google.events.cloud.redis.v1.Instance.SuspensionReason\x12\x1b\n\x13maintenance_version\x18\' \x01(\t\x12&\n\x1e\x61vailable_maintenance_versions\x18( \x03(\t\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x33\n\x11RedisConfigsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x94\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\t\n\x05READY\x10\x02\x12\x0c\n\x08UPDATING\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\x12\r\n\tREPAIRING\x10\x05\x12\x0f\n\x0bMAINTENANCE\x10\x06\x12\r\n\tIMPORTING\x10\x08\x12\x10\n\x0c\x46\x41ILING_OVER\x10\t\"8\n\x04Tier\x12\x14\n\x10TIER_UNSPECIFIED\x10\x00\x12\t\n\x05\x42\x41SIC\x10\x01\x12\x0f\n\x0bSTANDARD_HA\x10\x03\"[\n\x0b\x43onnectMode\x12\x1c\n\x18\x43ONNECT_MODE_UNSPECIFIED\x10\x00\x12\x12\n\x0e\x44IRECT_PEERING\x10\x01\x12\x1a\n\x16PRIVATE_SERVICE_ACCESS\x10\x02\"i\n\x15TransitEncryptionMode\x12\'\n#TRANSIT_ENCRYPTION_MODE_UNSPECIFIED\x10\x00\x12\x19\n\x15SERVER_AUTHENTICATION\x10\x01\x12\x0c\n\x08\x44ISABLED\x10\x02\"m\n\x10ReadReplicasMode\x12\"\n\x1eREAD_REPLICAS_MODE_UNSPECIFIED\x10\x00\x12\x1a\n\x16READ_REPLICAS_DISABLED\x10\x01\x12\x19\n\x15READ_REPLICAS_ENABLED\x10\x02\"U\n\x10SuspensionReason\x12!\n\x1dSUSPENSION_REASON_UNSPECIFIED\x10\x00\x12\x1e\n\x1a\x43USTOMER_MANAGED_KEY_ISSUE\x10\x01\"\x89\x04\n\x11PersistenceConfig\x12Y\n\x10persistence_mode\x18\x01 \x01(\x0e\x32?.google.events.cloud.redis.v1.PersistenceConfig.PersistenceMode\x12[\n\x13rdb_snapshot_period\x18\x02 \x01(\x0e\x32>.google.events.cloud.redis.v1.PersistenceConfig.SnapshotPeriod\x12:\n\x16rdb_next_snapshot_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12;\n\x17rdb_snapshot_start_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"J\n\x0fPersistenceMode\x12 \n\x1cPERSISTENCE_MODE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x44ISABLED\x10\x01\x12\x07\n\x03RDB\x10\x02\"w\n\x0eSnapshotPeriod\x12\x1f\n\x1bSNAPSHOT_PERIOD_UNSPECIFIED\x10\x00\x12\x0c\n\x08ONE_HOUR\x10\x03\x12\r\n\tSIX_HOURS\x10\x04\x12\x10\n\x0cTWELVE_HOURS\x10\x05\x12\x15\n\x11TWENTY_FOUR_HOURS\x10\x06\"\xe4\x01\n\x11MaintenancePolicy\x12/\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12X\n\x19weekly_maintenance_window\x18\x04 \x03(\x0b\x32\x35.google.events.cloud.redis.v1.WeeklyMaintenanceWindow\"\x97\x01\n\x17WeeklyMaintenanceWindow\x12#\n\x03\x64\x61y\x18\x01 \x01(\x0e\x32\x16.google.type.DayOfWeek\x12*\n\nstart_time\x18\x02 \x01(\x0b\x32\x16.google.type.TimeOfDay\x12+\n\x08\x64uration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\"\xc7\x01\n\x13MaintenanceSchedule\x12.\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x16\n\x0e\x63\x61n_reschedule\x18\x03 \x01(\x08\x12:\n\x16schedule_deadline_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xa3\x01\n\x0eTlsCertificate\x12\x15\n\rserial_number\x18\x01 \x01(\t\x12/\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x65xpire_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x18\n\x10sha1_fingerprint\x18\x05 \x01(\t\"]\n\x11InstanceEventData\x12<\n\x07payload\x18\x01 \x01(\x0b\x32&.google.events.cloud.redis.v1.InstanceH\x00\x88\x01\x01\x42\n\n\x08_payloadBj\xaa\x02%Google.Events.Protobuf.Cloud.Redis.V1\xca\x02\x1cGoogle\\Events\\Cloud\\Redis\\V1\xea\x02 Google::Events::Cloud::Redis::V1b\x06proto3"
14
+
15
+ pool = Google::Protobuf::DescriptorPool.generated_pool
16
+
17
+ begin
18
+ pool.add_serialized_file(descriptor_data)
19
+ rescue TypeError => e
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.type.TimeOfDay", "google/type/timeofday.proto"],
30
+ ["google.protobuf.Duration", "google/protobuf/duration.proto"],
31
+ ]
32
+ imports.each do |type_name, expected_filename|
33
+ import_file = pool.lookup(type_name).file_descriptor
34
+ if import_file.name != expected_filename
35
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
36
+ end
37
+ end
38
+ warn "Each proto file must use a consistent fully-qualified name."
39
+ warn "This will become an error in the next major version."
40
+ end
41
+
42
+ module Google
43
+ module Events
44
+ module Cloud
45
+ module Redis
46
+ module V1
47
+ NodeInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.redis.v1.NodeInfo").msgclass
48
+ Instance = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.redis.v1.Instance").msgclass
49
+ Instance::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.redis.v1.Instance.State").enummodule
50
+ Instance::Tier = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.redis.v1.Instance.Tier").enummodule
51
+ Instance::ConnectMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.redis.v1.Instance.ConnectMode").enummodule
52
+ Instance::TransitEncryptionMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.redis.v1.Instance.TransitEncryptionMode").enummodule
53
+ Instance::ReadReplicasMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.redis.v1.Instance.ReadReplicasMode").enummodule
54
+ Instance::SuspensionReason = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.redis.v1.Instance.SuspensionReason").enummodule
55
+ PersistenceConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.redis.v1.PersistenceConfig").msgclass
56
+ PersistenceConfig::PersistenceMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.redis.v1.PersistenceConfig.PersistenceMode").enummodule
57
+ PersistenceConfig::SnapshotPeriod = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.redis.v1.PersistenceConfig.SnapshotPeriod").enummodule
58
+ MaintenancePolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.redis.v1.MaintenancePolicy").msgclass
59
+ WeeklyMaintenanceWindow = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.redis.v1.WeeklyMaintenanceWindow").msgclass
60
+ MaintenanceSchedule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.redis.v1.MaintenanceSchedule").msgclass
61
+ TlsCertificate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.redis.v1.TlsCertificate").msgclass
62
+ InstanceEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.redis.v1.InstanceEventData").msgclass
63
+ end
64
+ end
65
+ end
66
+ end
67
+ end
@@ -0,0 +1,50 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/events/cloud/redis/v1/events.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/events/cloud/redis/v1/data_pb'
8
+ require 'google/events/cloudevent_pb'
9
+
10
+
11
+ descriptor_data = "\n)google/events/cloud/redis/v1/events.proto\x12\x1cgoogle.events.cloud.redis.v1\x1a\'google/events/cloud/redis/v1/data.proto\x1a\x1egoogle/events/cloudevent.proto\"\x8f\x01\n\x14InstanceCreatedEvent\x12=\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32/.google.events.cloud.redis.v1.InstanceEventData:8\xb2\xf8\xd8,&google.cloud.redis.instance.v1.created\xca\xf8\xd8,\x08instance\"\x8f\x01\n\x14InstanceUpdatedEvent\x12=\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32/.google.events.cloud.redis.v1.InstanceEventData:8\xb2\xf8\xd8,&google.cloud.redis.instance.v1.updated\xca\xf8\xd8,\x08instance\"\x8f\x01\n\x14InstanceDeletedEvent\x12=\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32/.google.events.cloud.redis.v1.InstanceEventData:8\xb2\xf8\xd8,&google.cloud.redis.instance.v1.deleted\xca\xf8\xd8,\x08instanceB\xd7\x01\xaa\x02%Google.Events.Protobuf.Cloud.Redis.V1\xca\x02\x1cGoogle\\Events\\Cloud\\Redis\\V1\xea\x02 Google::Events::Cloud::Redis::V1\xba\xf8\xd8,\"Google Cloud Memorystore for Redis\xc2\xf8\xd8,A\n\x08instance\x12\x35The resource ID of the Instance triggering the event.b\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.events.cloud.redis.v1.InstanceEventData", "google/events/cloud/redis/v1/data.proto"],
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
37
+
38
+ module Google
39
+ module Events
40
+ module Cloud
41
+ module Redis
42
+ module V1
43
+ InstanceCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.redis.v1.InstanceCreatedEvent").msgclass
44
+ InstanceUpdatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.redis.v1.InstanceUpdatedEvent").msgclass
45
+ InstanceDeletedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.redis.v1.InstanceDeletedEvent").msgclass
46
+ end
47
+ end
48
+ end
49
+ end
50
+ end
@@ -0,0 +1,123 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/events/cloud/visionai/v1/data.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/protobuf/duration_pb'
8
+ require 'google/protobuf/struct_pb'
9
+ require 'google/protobuf/timestamp_pb'
10
+
11
+
12
+ descriptor_data = "\n*google/events/cloud/visionai/v1/data.proto\x12\x1fgoogle.events.cloud.visionai.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xbf\x02\n\x10StreamAnnotation\x12I\n\x0b\x61\x63tive_zone\x18\x05 \x01(\x0b\x32\x32.google.events.cloud.visionai.v1.NormalizedPolygonH\x00\x12L\n\rcrossing_line\x18\x06 \x01(\x0b\x32\x33.google.events.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\x43\n\x04type\x18\x04 \x01(\x0e\x32\x35.google.events.cloud.visionai.v1.StreamAnnotationTypeB\x14\n\x12\x61nnotation_payload\"c\n\x11NormalizedPolygon\x12N\n\x13normalized_vertices\x18\x01 \x03(\x0b\x32\x31.google.events.cloud.visionai.v1.NormalizedVertex\"d\n\x12NormalizedPolyline\x12N\n\x13normalized_vertices\x18\x01 \x03(\x0b\x32\x31.google.events.cloud.visionai.v1.NormalizedVertex\"(\n\x10NormalizedVertex\x12\t\n\x01x\x18\x01 \x01(\x02\x12\t\n\x01y\x18\x02 \x01(\x02\"\xc1\x04\n\x07\x43luster\x12\x0c\n\x04name\x18\x01 \x01(\t\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x44\n\x06labels\x18\x04 \x03(\x0b\x32\x34.google.events.cloud.visionai.v1.Cluster.LabelsEntry\x12N\n\x0b\x61nnotations\x18\x05 \x03(\x0b\x32\x39.google.events.cloud.visionai.v1.Cluster.AnnotationsEntry\x12\"\n\x1a\x64\x61taplane_service_endpoint\x18\x06 \x01(\t\x12=\n\x05state\x18\x07 \x01(\x0e\x32..google.events.cloud.visionai.v1.Cluster.State\x12\x12\n\npsc_target\x18\x08 \x01(\t\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\"\x19\n\tGcsSource\x12\x0c\n\x04uris\x18\x01 \x03(\t\"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\"\xf7\x04\n\x12\x41nalyzerDefinition\x12\x10\n\x08\x61nalyzer\x18\x01 \x01(\t\x12\x10\n\x08operator\x18\x02 \x01(\t\x12O\n\x06inputs\x18\x03 \x03(\x0b\x32?.google.events.cloud.visionai.v1.AnalyzerDefinition.StreamInput\x12M\n\x05\x61ttrs\x18\x04 \x03(\x0b\x32>.google.events.cloud.visionai.v1.AnalyzerDefinition.AttrsEntry\x12W\n\rdebug_options\x18\x05 \x01(\x0b\x32@.google.events.cloud.visionai.v1.AnalyzerDefinition.DebugOptions\x1a\x1c\n\x0bStreamInput\x12\r\n\x05input\x18\x01 \x01(\t\x1a\xc6\x01\n\x0c\x44\x65\x62ugOptions\x12y\n\x15\x65nvironment_variables\x18\x01 \x03(\x0b\x32Z.google.events.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\nAttrsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12>\n\x05value\x18\x02 \x01(\x0b\x32/.google.events.cloud.visionai.v1.AttributeValue:\x02\x38\x01\"\\\n\x12\x41nalysisDefinition\x12\x46\n\tanalyzers\x18\x01 \x03(\x0b\x32\x33.google.events.cloud.visionai.v1.AnalyzerDefinition\"\xc3\x01\n\tRunStatus\x12?\n\x05state\x18\x01 \x01(\x0e\x32\x30.google.events.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\"\xa0\x05\n\x08\x41nalysis\x12\x0c\n\x04name\x18\x01 \x01(\t\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x45\n\x06labels\x18\x04 \x03(\x0b\x32\x35.google.events.cloud.visionai.v1.Analysis.LabelsEntry\x12P\n\x13\x61nalysis_definition\x18\x05 \x01(\x0b\x32\x33.google.events.cloud.visionai.v1.AnalysisDefinition\x12\x61\n\x15input_streams_mapping\x18\x06 \x03(\x0b\x32\x42.google.events.cloud.visionai.v1.Analysis.InputStreamsMappingEntry\x12\x63\n\x16output_streams_mapping\x18\x07 \x03(\x0b\x32\x43.google.events.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\"\xdd\x02\n\x07Process\x12\x0c\n\x04name\x18\x01 \x01(\t\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x10\n\x08\x61nalysis\x18\x04 \x01(\t\x12\x1b\n\x13\x61ttribute_overrides\x18\x05 \x03(\t\x12>\n\nrun_status\x18\x06 \x01(\x0b\x32*.google.events.cloud.visionai.v1.RunStatus\x12:\n\x08run_mode\x18\x07 \x01(\x0e\x32(.google.events.cloud.visionai.v1.RunMode\x12\x10\n\x08\x65vent_id\x18\x08 \x01(\t\x12\x10\n\x08\x62\x61tch_id\x18\t \x01(\t\x12\x13\n\x0bretry_count\x18\n \x01(\x05\"\x81\n\n\x0b\x41pplication\x12\x0c\n\x04name\x18\x01 \x01(\t\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12H\n\x06labels\x18\x04 \x03(\x0b\x32\x38.google.events.cloud.visionai.v1.Application.LabelsEntry\x12\x14\n\x0c\x64isplay_name\x18\x05 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x06 \x01(\t\x12P\n\x13\x61pplication_configs\x18\x07 \x01(\x0b\x32\x33.google.events.cloud.visionai.v1.ApplicationConfigs\x12Y\n\x0cruntime_info\x18\x08 \x01(\x0b\x32\x43.google.events.cloud.visionai.v1.Application.ApplicationRuntimeInfo\x12\x41\n\x05state\x18\t \x01(\x0e\x32\x32.google.events.cloud.visionai.v1.Application.State\x12N\n\x0c\x62illing_mode\x18\x0c \x01(\x0e\x32\x38.google.events.cloud.visionai.v1.Application.BillingMode\x1a\xaf\x03\n\x16\x41pplicationRuntimeInfo\x12/\n\x0b\x64\x65ploy_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12y\n\x17global_output_resources\x18\x03 \x03(\x0b\x32X.google.events.cloud.visionai.v1.Application.ApplicationRuntimeInfo.GlobalOutputResource\x12o\n\x11monitoring_config\x18\x04 \x01(\x0b\x32T.google.events.cloud.visionai.v1.Application.ApplicationRuntimeInfo.MonitoringConfig\x1aS\n\x14GlobalOutputResource\x12\x17\n\x0foutput_resource\x18\x01 \x01(\t\x12\x15\n\rproducer_node\x18\x02 \x01(\t\x12\x0b\n\x03key\x18\x03 \x01(\t\x1a#\n\x10MonitoringConfig\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xa7\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x43REATED\x10\x01\x12\r\n\tDEPLOYING\x10\x02\x12\x0c\n\x08\x44\x45PLOYED\x10\x03\x12\x0f\n\x0bUNDEPLOYING\x10\x04\x12\x0b\n\x07\x44\x45LETED\x10\x05\x12\t\n\x05\x45RROR\x10\x06\x12\x0c\n\x08\x43REATING\x10\x07\x12\x0c\n\x08UPDATING\x10\x08\x12\x0c\n\x08\x44\x45LETING\x10\t\x12\n\n\x06\x46IXING\x10\n\"B\n\x0b\x42illingMode\x12\x1c\n\x18\x42ILLING_MODE_UNSPECIFIED\x10\x00\x12\x08\n\x04PAYG\x10\x01\x12\x0b\n\x07MONTHLY\x10\x02\"J\n\x12\x41pplicationConfigs\x12\x34\n\x05nodes\x18\x01 \x03(\x0b\x32%.google.events.cloud.visionai.v1.Node\"\xf0\x02\n\x04Node\x12.\n$output_all_output_channels_to_stream\x18\x06 \x01(\x08H\x00\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x45\n\x0bnode_config\x18\x03 \x01(\x0b\x32\x30.google.events.cloud.visionai.v1.ProcessorConfig\x12\x11\n\tprocessor\x18\x04 \x01(\t\x12@\n\x07parents\x18\x05 \x03(\x0b\x32/.google.events.cloud.visionai.v1.Node.InputEdge\x1a`\n\tInputEdge\x12\x13\n\x0bparent_node\x18\x01 \x01(\t\x12\x1d\n\x15parent_output_channel\x18\x02 \x01(\t\x12\x1f\n\x17\x63onnected_input_channel\x18\x03 \x01(\tB\x16\n\x14stream_output_config\"\xed\x02\n\x05\x44raft\x12\x0c\n\x04name\x18\x01 \x01(\t\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x42\n\x06labels\x18\x03 \x03(\x0b\x32\x32.google.events.cloud.visionai.v1.Draft.LabelsEntry\x12\x14\n\x0c\x64isplay_name\x18\x04 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12V\n\x19\x64raft_application_configs\x18\x06 \x01(\x0b\x32\x33.google.events.cloud.visionai.v1.ApplicationConfigs\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x87\x08\n\tProcessor\x12\x0c\n\x04name\x18\x01 \x01(\t\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x46\n\x06labels\x18\x04 \x03(\x0b\x32\x36.google.events.cloud.visionai.v1.Processor.LabelsEntry\x12\x14\n\x0c\x64isplay_name\x18\x05 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\n \x01(\t\x12P\n\x0eprocessor_type\x18\x06 \x01(\x0e\x32\x38.google.events.cloud.visionai.v1.Processor.ProcessorType\x12>\n\nmodel_type\x18\r \x01(\x0e\x32*.google.events.cloud.visionai.v1.ModelType\x12`\n\x1c\x63ustom_processor_source_info\x18\x07 \x01(\x0b\x32:.google.events.cloud.visionai.v1.CustomProcessorSourceInfo\x12H\n\x05state\x18\x08 \x01(\x0e\x32\x39.google.events.cloud.visionai.v1.Processor.ProcessorState\x12K\n\x11processor_io_spec\x18\x0b \x01(\x0b\x32\x30.google.events.cloud.visionai.v1.ProcessorIOSpec\x12\x1d\n\x15\x63onfiguration_typeurl\x18\x0e \x01(\t\x12Y\n\x1asupported_annotation_types\x18\x0f \x03(\x0e\x32\x35.google.events.cloud.visionai.v1.StreamAnnotationType\x12 \n\x18supports_post_processing\x18\x11 \x01(\x08\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"Z\n\rProcessorType\x12\x1e\n\x1aPROCESSOR_TYPE_UNSPECIFIED\x10\x00\x12\x0e\n\nPRETRAINED\x10\x01\x12\n\n\x06\x43USTOM\x10\x02\x12\r\n\tCONNECTOR\x10\x03\"e\n\x0eProcessorState\x12\x1f\n\x1bPROCESSOR_STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04\"\x82\x08\n\x0fProcessorIOSpec\x12i\n\x19graph_input_channel_specs\x18\x03 \x03(\x0b\x32\x46.google.events.cloud.visionai.v1.ProcessorIOSpec.GraphInputChannelSpec\x12k\n\x1agraph_output_channel_specs\x18\x04 \x03(\x0b\x32G.google.events.cloud.visionai.v1.ProcessorIOSpec.GraphOutputChannelSpec\x12\x80\x01\n%instance_resource_input_binding_specs\x18\x05 \x03(\x0b\x32Q.google.events.cloud.visionai.v1.ProcessorIOSpec.InstanceResourceInputBindingSpec\x12\x82\x01\n&instance_resource_output_binding_specs\x18\x06 \x03(\x0b\x32R.google.events.cloud.visionai.v1.ProcessorIOSpec.InstanceResourceOutputBindingSpec\x1a\xb6\x01\n\x15GraphInputChannelSpec\x12\x0c\n\x04name\x18\x01 \x01(\t\x12<\n\tdata_type\x18\x02 \x01(\x0e\x32).google.events.cloud.visionai.v1.DataType\x12\x1f\n\x17\x61\x63\x63\x65pted_data_type_uris\x18\x05 \x03(\t\x12\x10\n\x08required\x18\x03 \x01(\x08\x12\x1e\n\x16max_connection_allowed\x18\x04 \x01(\x03\x1a{\n\x16GraphOutputChannelSpec\x12\x0c\n\x04name\x18\x01 \x01(\t\x12<\n\tdata_type\x18\x02 \x01(\x0e\x32).google.events.cloud.visionai.v1.DataType\x12\x15\n\rdata_type_uri\x18\x03 \x01(\t\x1ay\n InstanceResourceInputBindingSpec\x12\x19\n\x0f\x63onfig_type_uri\x18\x02 \x01(\tH\x00\x12\x1b\n\x11resource_type_uri\x18\x03 \x01(\tH\x00\x12\x0c\n\x04name\x18\x01 \x01(\tB\x0f\n\rresource_type\x1a^\n!InstanceResourceOutputBindingSpec\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x19\n\x11resource_type_uri\x18\x02 \x01(\t\x12\x10\n\x08\x65xplicit\x18\x03 \x01(\x08\"\xec\x05\n\x19\x43ustomProcessorSourceInfo\x12\x16\n\x0cvertex_model\x18\x02 \x01(\tH\x00\x12Z\n\x0bsource_type\x18\x01 \x01(\x0e\x32\x45.google.events.cloud.visionai.v1.CustomProcessorSourceInfo.SourceType\x12g\n\x0f\x61\x64\x64itional_info\x18\x04 \x03(\x0b\x32N.google.events.cloud.visionai.v1.CustomProcessorSourceInfo.AdditionalInfoEntry\x12\\\n\x0cmodel_schema\x18\x05 \x01(\x0b\x32\x46.google.events.cloud.visionai.v1.CustomProcessorSourceInfo.ModelSchema\x1a\xe2\x01\n\x0bModelSchema\x12\x44\n\x10instances_schema\x18\x01 \x01(\x0b\x32*.google.events.cloud.visionai.v1.GcsSource\x12\x45\n\x11parameters_schema\x18\x02 \x01(\x0b\x32*.google.events.cloud.visionai.v1.GcsSource\x12\x46\n\x12predictions_schema\x18\x03 \x01(\x0b\x32*.google.events.cloud.visionai.v1.GcsSource\x1a\x35\n\x13\x41\x64\x64itionalInfoEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"g\n\nSourceType\x12\x1b\n\x17SOURCE_TYPE_UNSPECIFIED\x10\x00\x12\x11\n\rVERTEX_AUTOML\x10\x01\x12\x11\n\rVERTEX_CUSTOM\x10\x02\x12\x16\n\x12PRODUCT_RECOGNIZER\x10\x03\x42\x0f\n\rartifact_path\"\xaf\t\n\x0fProcessorConfig\x12\\\n\x19video_stream_input_config\x18\t \x01(\x0b\x32\x37.google.events.cloud.visionai.v1.VideoStreamInputConfigH\x00\x12g\n\x1f\x61i_enabled_devices_input_config\x18\x14 \x01(\x0b\x32<.google.events.cloud.visionai.v1.AIEnabledDevicesInputConfigH\x00\x12W\n\x16media_warehouse_config\x18\n \x01(\x0b\x32\x35.google.events.cloud.visionai.v1.MediaWarehouseConfigH\x00\x12O\n\x12person_blur_config\x18\x0b \x01(\x0b\x32\x31.google.events.cloud.visionai.v1.PersonBlurConfigH\x00\x12W\n\x16occupancy_count_config\x18\x0c \x01(\x0b\x32\x35.google.events.cloud.visionai.v1.OccupancyCountConfigH\x00\x12h\n\x1fperson_vehicle_detection_config\x18\x0f \x01(\x0b\x32=.google.events.cloud.visionai.v1.PersonVehicleDetectionConfigH\x00\x12`\n\x1bvertex_automl_vision_config\x18\r \x01(\x0b\x32\x39.google.events.cloud.visionai.v1.VertexAutoMLVisionConfigH\x00\x12^\n\x1avertex_automl_video_config\x18\x0e \x01(\x0b\x32\x38.google.events.cloud.visionai.v1.VertexAutoMLVideoConfigH\x00\x12S\n\x14vertex_custom_config\x18\x11 \x01(\x0b\x32\x33.google.events.cloud.visionai.v1.VertexCustomConfigH\x00\x12h\n\x1fgeneral_object_detection_config\x18\x12 \x01(\x0b\x32=.google.events.cloud.visionai.v1.GeneralObjectDetectionConfigH\x00\x12K\n\x10\x62ig_query_config\x18\x13 \x01(\x0b\x32/.google.events.cloud.visionai.v1.BigQueryConfigH\x00\x12\x85\x01\n.personal_protective_equipment_detection_config\x18\x16 \x01(\x0b\x32K.google.events.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionConfigH\x00\x42\x12\n\x10processor_config\"\xc2\x02\n\x14StreamWithAnnotation\x12\x0e\n\x06stream\x18\x01 \x01(\t\x12R\n\x17\x61pplication_annotations\x18\x02 \x03(\x0b\x32\x31.google.events.cloud.visionai.v1.StreamAnnotation\x12^\n\x10node_annotations\x18\x03 \x03(\x0b\x32\x44.google.events.cloud.visionai.v1.StreamWithAnnotation.NodeAnnotation\x1a\x66\n\x0eNodeAnnotation\x12\x0c\n\x04node\x18\x01 \x01(\t\x12\x46\n\x0b\x61nnotations\x18\x02 \x03(\x0b\x32\x31.google.events.cloud.visionai.v1.StreamAnnotation\"\x81\x01\n\x16VideoStreamInputConfig\x12\x0f\n\x07streams\x18\x01 \x03(\t\x12V\n\x17streams_with_annotation\x18\x02 \x03(\x0b\x32\x35.google.events.cloud.visionai.v1.StreamWithAnnotation\"\x1d\n\x1b\x41IEnabledDevicesInputConfig\"^\n\x14MediaWarehouseConfig\x12\x0e\n\x06\x63orpus\x18\x01 \x01(\t\x12\x0e\n\x06region\x18\x02 \x01(\t\x12&\n\x03ttl\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\"\xdc\x01\n\x10PersonBlurConfig\x12Z\n\x10person_blur_type\x18\x01 \x01(\x0e\x32@.google.events.cloud.visionai.v1.PersonBlurConfig.PersonBlurType\x12\x12\n\nfaces_only\x18\x02 \x01(\x08\"X\n\x0ePersonBlurType\x12 \n\x1cPERSON_BLUR_TYPE_UNSPECIFIED\x10\x00\x12\x13\n\x0f\x46ULL_OCCULUSION\x10\x01\x12\x0f\n\x0b\x42LUR_FILTER\x10\x02\"~\n\x14OccupancyCountConfig\x12\x1e\n\x16\x65nable_people_counting\x18\x01 \x01(\x08\x12\x1f\n\x17\x65nable_vehicle_counting\x18\x02 \x01(\x08\x12%\n\x1d\x65nable_dwelling_time_tracking\x18\x03 \x01(\x08\"_\n\x1cPersonVehicleDetectionConfig\x12\x1e\n\x16\x65nable_people_counting\x18\x01 \x01(\x08\x12\x1f\n\x17\x65nable_vehicle_counting\x18\x02 \x01(\x08\"\xa5\x01\n*PersonalProtectiveEquipmentDetectionConfig\x12&\n\x1e\x65nable_face_coverage_detection\x18\x01 \x01(\x08\x12&\n\x1e\x65nable_head_coverage_detection\x18\x02 \x01(\x08\x12\'\n\x1f\x65nable_hands_coverage_detection\x18\x03 \x01(\x08\"\x1e\n\x1cGeneralObjectDetectionConfig\"\xf3\x01\n\x0e\x42igQueryConfig\x12\r\n\x05table\x18\x01 \x01(\t\x12i\n\x16\x63loud_function_mapping\x18\x02 \x03(\x0b\x32I.google.events.cloud.visionai.v1.BigQueryConfig.CloudFunctionMappingEntry\x12*\n\"create_default_table_if_not_exists\x18\x03 \x01(\x08\x1a;\n\x19\x43loudFunctionMappingEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"Q\n\x18VertexAutoMLVisionConfig\x12\x1c\n\x14\x63onfidence_threshold\x18\x01 \x01(\x02\x12\x17\n\x0fmax_predictions\x18\x02 \x01(\x05\"\x89\x01\n\x17VertexAutoMLVideoConfig\x12\x1c\n\x14\x63onfidence_threshold\x18\x01 \x01(\x02\x12\x16\n\x0e\x62locked_labels\x18\x02 \x03(\t\x12\x17\n\x0fmax_predictions\x18\x03 \x01(\x05\x12\x1f\n\x17\x62ounding_box_size_limit\x18\x04 \x01(\x02\"\xcf\x01\n\x12VertexCustomConfig\x12\x1a\n\x12max_prediction_fps\x18\x01 \x01(\x05\x12P\n\x13\x64\x65\x64icated_resources\x18\x02 \x01(\x0b\x32\x33.google.events.cloud.visionai.v1.DedicatedResources\x12&\n\x1epost_processing_cloud_function\x18\x03 \x01(\t\x12#\n\x1b\x61ttach_application_metadata\x18\x04 \x01(\x08\"\x8a\x01\n\x0bMachineSpec\x12\x14\n\x0cmachine_type\x18\x01 \x01(\t\x12J\n\x10\x61\x63\x63\x65lerator_type\x18\x02 \x01(\x0e\x32\x30.google.events.cloud.visionai.v1.AcceleratorType\x12\x19\n\x11\x61\x63\x63\x65lerator_count\x18\x03 \x01(\x05\"<\n\x15\x41utoscalingMetricSpec\x12\x13\n\x0bmetric_name\x18\x01 \x01(\t\x12\x0e\n\x06target\x18\x02 \x01(\x05\"\xe8\x01\n\x12\x44\x65\x64icatedResources\x12\x42\n\x0cmachine_spec\x18\x01 \x01(\x0b\x32,.google.events.cloud.visionai.v1.MachineSpec\x12\x19\n\x11min_replica_count\x18\x02 \x01(\x05\x12\x19\n\x11max_replica_count\x18\x03 \x01(\x05\x12X\n\x18\x61utoscaling_metric_specs\x18\x04 \x03(\x0b\x32\x36.google.events.cloud.visionai.v1.AutoscalingMetricSpec\"\xc1\x03\n\x06Stream\x12\x0c\n\x04name\x18\x01 \x01(\t\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x43\n\x06labels\x18\x04 \x03(\x0b\x32\x33.google.events.cloud.visionai.v1.Stream.LabelsEntry\x12M\n\x0b\x61nnotations\x18\x05 \x03(\x0b\x32\x38.google.events.cloud.visionai.v1.Stream.AnnotationsEntry\x12\x14\n\x0c\x64isplay_name\x18\x06 \x01(\t\x12\x1b\n\x13\x65nable_hls_playback\x18\x07 \x01(\x08\x12\x1d\n\x15media_warehouse_asset\x18\x08 \x01(\t\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\"\x9d\x04\n\x05\x45vent\x12\x0c\n\x04name\x18\x01 \x01(\t\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x42\n\x06labels\x18\x04 \x03(\x0b\x32\x32.google.events.cloud.visionai.v1.Event.LabelsEntry\x12L\n\x0b\x61nnotations\x18\x05 \x03(\x0b\x32\x37.google.events.cloud.visionai.v1.Event.AnnotationsEntry\x12\x45\n\x0f\x61lignment_clock\x18\x06 \x01(\x0e\x32,.google.events.cloud.visionai.v1.Event.Clock\x12/\n\x0cgrace_period\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\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\"7\n\x05\x43lock\x12\x15\n\x11\x43LOCK_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x43\x41PTURE\x10\x01\x12\n\n\x06INGEST\x10\x02\"\x8e\x03\n\x06Series\x12\x0c\n\x04name\x18\x01 \x01(\t\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x43\n\x06labels\x18\x04 \x03(\x0b\x32\x33.google.events.cloud.visionai.v1.Series.LabelsEntry\x12M\n\x0b\x61nnotations\x18\x05 \x03(\x0b\x32\x38.google.events.cloud.visionai.v1.Series.AnnotationsEntry\x12\x0e\n\x06stream\x18\x06 \x01(\t\x12\r\n\x05\x65vent\x18\x07 \x01(\t\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\"\\\n\x0fSeriesEventData\x12=\n\x07payload\x18\x01 \x01(\x0b\x32\'.google.events.cloud.visionai.v1.SeriesH\x00\x88\x01\x01\x42\n\n\x08_payload\"Z\n\x0e\x44raftEventData\x12<\n\x07payload\x18\x01 \x01(\x0b\x32&.google.events.cloud.visionai.v1.DraftH\x00\x88\x01\x01\x42\n\n\x08_payload\"b\n\x12ProcessorEventData\x12@\n\x07payload\x18\x01 \x01(\x0b\x32*.google.events.cloud.visionai.v1.ProcessorH\x00\x88\x01\x01\x42\n\n\x08_payload\"`\n\x11\x41nalysisEventData\x12?\n\x07payload\x18\x01 \x01(\x0b\x32).google.events.cloud.visionai.v1.AnalysisH\x00\x88\x01\x01\x42\n\n\x08_payload\"^\n\x10\x43lusterEventData\x12>\n\x07payload\x18\x01 \x01(\x0b\x32(.google.events.cloud.visionai.v1.ClusterH\x00\x88\x01\x01\x42\n\n\x08_payload\"Z\n\x0e\x45ventEventData\x12<\n\x07payload\x18\x01 \x01(\x0b\x32&.google.events.cloud.visionai.v1.EventH\x00\x88\x01\x01\x42\n\n\x08_payload\"^\n\x10ProcessEventData\x12>\n\x07payload\x18\x01 \x01(\x0b\x32(.google.events.cloud.visionai.v1.ProcessH\x00\x88\x01\x01\x42\n\n\x08_payload\"\\\n\x0fStreamEventData\x12=\n\x07payload\x18\x01 \x01(\x0b\x32\'.google.events.cloud.visionai.v1.StreamH\x00\x88\x01\x01\x42\n\n\x08_payload\"f\n\x14\x41pplicationEventData\x12\x42\n\x07payload\x18\x01 \x01(\x0b\x32,.google.events.cloud.visionai.v1.ApplicationH\x00\x88\x01\x01\x42\n\n\x08_payload*\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*=\n\x07RunMode\x12\x18\n\x14RUN_MODE_UNSPECIFIED\x10\x00\x12\x08\n\x04LIVE\x10\x01\x12\x0e\n\nSUBMISSION\x10\x02*\xe6\x01\n\tModelType\x12\x1a\n\x16MODEL_TYPE_UNSPECIFIED\x10\x00\x12\x18\n\x14IMAGE_CLASSIFICATION\x10\x01\x12\x14\n\x10OBJECT_DETECTION\x10\x02\x12\x18\n\x14VIDEO_CLASSIFICATION\x10\x03\x12\x19\n\x15VIDEO_OBJECT_TRACKING\x10\x04\x12\x1c\n\x18VIDEO_ACTION_RECOGNITION\x10\x05\x12\x16\n\x12OCCUPANCY_COUNTING\x10\x06\x12\x0f\n\x0bPERSON_BLUR\x10\x07\x12\x11\n\rVERTEX_CUSTOM\x10\x08*\xd0\x01\n\x0f\x41\x63\x63\x65leratorType\x12 \n\x1c\x41\x43\x43\x45LERATOR_TYPE_UNSPECIFIED\x10\x00\x12\x14\n\x10NVIDIA_TESLA_K80\x10\x01\x12\x15\n\x11NVIDIA_TESLA_P100\x10\x02\x12\x15\n\x11NVIDIA_TESLA_V100\x10\x03\x12\x13\n\x0fNVIDIA_TESLA_P4\x10\x04\x12\x13\n\x0fNVIDIA_TESLA_T4\x10\x05\x12\x15\n\x11NVIDIA_TESLA_A100\x10\x08\x12\n\n\x06TPU_V2\x10\x06\x12\n\n\x06TPU_V3\x10\x07*F\n\x08\x44\x61taType\x12\x19\n\x15\x44\x41TA_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05VIDEO\x10\x01\x12\t\n\x05IMAGE\x10\x03\x12\t\n\x05PROTO\x10\x02\x42s\xaa\x02(Google.Events.Protobuf.Cloud.VisionAI.V1\xca\x02\x1fGoogle\\Events\\Cloud\\VisionAI\\V1\xea\x02#Google::Events::Cloud::VisionAI::V1b\x06proto3"
13
+
14
+ pool = Google::Protobuf::DescriptorPool.generated_pool
15
+
16
+ begin
17
+ pool.add_serialized_file(descriptor_data)
18
+ rescue TypeError => e
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
+ ["google.protobuf.Duration", "google/protobuf/duration.proto"],
29
+ ]
30
+ imports.each do |type_name, expected_filename|
31
+ import_file = pool.lookup(type_name).file_descriptor
32
+ if import_file.name != expected_filename
33
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
34
+ end
35
+ end
36
+ warn "Each proto file must use a consistent fully-qualified name."
37
+ warn "This will become an error in the next major version."
38
+ end
39
+
40
+ module Google
41
+ module Events
42
+ module Cloud
43
+ module VisionAI
44
+ module V1
45
+ StreamAnnotation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.StreamAnnotation").msgclass
46
+ NormalizedPolygon = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.NormalizedPolygon").msgclass
47
+ NormalizedPolyline = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.NormalizedPolyline").msgclass
48
+ NormalizedVertex = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.NormalizedVertex").msgclass
49
+ Cluster = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.Cluster").msgclass
50
+ Cluster::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.Cluster.State").enummodule
51
+ GcsSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.GcsSource").msgclass
52
+ AttributeValue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.AttributeValue").msgclass
53
+ AnalyzerDefinition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.AnalyzerDefinition").msgclass
54
+ AnalyzerDefinition::StreamInput = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.AnalyzerDefinition.StreamInput").msgclass
55
+ AnalyzerDefinition::DebugOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.AnalyzerDefinition.DebugOptions").msgclass
56
+ AnalysisDefinition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.AnalysisDefinition").msgclass
57
+ RunStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.RunStatus").msgclass
58
+ RunStatus::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.RunStatus.State").enummodule
59
+ Analysis = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.Analysis").msgclass
60
+ Process = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.Process").msgclass
61
+ Application = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.Application").msgclass
62
+ Application::ApplicationRuntimeInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.Application.ApplicationRuntimeInfo").msgclass
63
+ Application::ApplicationRuntimeInfo::GlobalOutputResource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.Application.ApplicationRuntimeInfo.GlobalOutputResource").msgclass
64
+ Application::ApplicationRuntimeInfo::MonitoringConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.Application.ApplicationRuntimeInfo.MonitoringConfig").msgclass
65
+ Application::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.Application.State").enummodule
66
+ Application::BillingMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.Application.BillingMode").enummodule
67
+ ApplicationConfigs = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.ApplicationConfigs").msgclass
68
+ Node = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.Node").msgclass
69
+ Node::InputEdge = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.Node.InputEdge").msgclass
70
+ Draft = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.Draft").msgclass
71
+ Processor = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.Processor").msgclass
72
+ Processor::ProcessorType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.Processor.ProcessorType").enummodule
73
+ Processor::ProcessorState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.Processor.ProcessorState").enummodule
74
+ ProcessorIOSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.ProcessorIOSpec").msgclass
75
+ ProcessorIOSpec::GraphInputChannelSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.ProcessorIOSpec.GraphInputChannelSpec").msgclass
76
+ ProcessorIOSpec::GraphOutputChannelSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.ProcessorIOSpec.GraphOutputChannelSpec").msgclass
77
+ ProcessorIOSpec::InstanceResourceInputBindingSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.ProcessorIOSpec.InstanceResourceInputBindingSpec").msgclass
78
+ ProcessorIOSpec::InstanceResourceOutputBindingSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.ProcessorIOSpec.InstanceResourceOutputBindingSpec").msgclass
79
+ CustomProcessorSourceInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.CustomProcessorSourceInfo").msgclass
80
+ CustomProcessorSourceInfo::ModelSchema = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.CustomProcessorSourceInfo.ModelSchema").msgclass
81
+ CustomProcessorSourceInfo::SourceType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.CustomProcessorSourceInfo.SourceType").enummodule
82
+ ProcessorConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.ProcessorConfig").msgclass
83
+ StreamWithAnnotation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.StreamWithAnnotation").msgclass
84
+ StreamWithAnnotation::NodeAnnotation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.StreamWithAnnotation.NodeAnnotation").msgclass
85
+ VideoStreamInputConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.VideoStreamInputConfig").msgclass
86
+ AIEnabledDevicesInputConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.AIEnabledDevicesInputConfig").msgclass
87
+ MediaWarehouseConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.MediaWarehouseConfig").msgclass
88
+ PersonBlurConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.PersonBlurConfig").msgclass
89
+ PersonBlurConfig::PersonBlurType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.PersonBlurConfig.PersonBlurType").enummodule
90
+ OccupancyCountConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.OccupancyCountConfig").msgclass
91
+ PersonVehicleDetectionConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.PersonVehicleDetectionConfig").msgclass
92
+ PersonalProtectiveEquipmentDetectionConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.PersonalProtectiveEquipmentDetectionConfig").msgclass
93
+ GeneralObjectDetectionConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.GeneralObjectDetectionConfig").msgclass
94
+ BigQueryConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.BigQueryConfig").msgclass
95
+ VertexAutoMLVisionConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.VertexAutoMLVisionConfig").msgclass
96
+ VertexAutoMLVideoConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.VertexAutoMLVideoConfig").msgclass
97
+ VertexCustomConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.VertexCustomConfig").msgclass
98
+ MachineSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.MachineSpec").msgclass
99
+ AutoscalingMetricSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.AutoscalingMetricSpec").msgclass
100
+ DedicatedResources = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.DedicatedResources").msgclass
101
+ Stream = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.Stream").msgclass
102
+ Event = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.Event").msgclass
103
+ Event::Clock = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.Event.Clock").enummodule
104
+ Series = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.Series").msgclass
105
+ SeriesEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.SeriesEventData").msgclass
106
+ DraftEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.DraftEventData").msgclass
107
+ ProcessorEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.ProcessorEventData").msgclass
108
+ AnalysisEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.AnalysisEventData").msgclass
109
+ ClusterEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.ClusterEventData").msgclass
110
+ EventEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.EventEventData").msgclass
111
+ ProcessEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.ProcessEventData").msgclass
112
+ StreamEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.StreamEventData").msgclass
113
+ ApplicationEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.ApplicationEventData").msgclass
114
+ StreamAnnotationType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.StreamAnnotationType").enummodule
115
+ RunMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.RunMode").enummodule
116
+ ModelType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.ModelType").enummodule
117
+ AcceleratorType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.AcceleratorType").enummodule
118
+ DataType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.DataType").enummodule
119
+ end
120
+ end
121
+ end
122
+ end
123
+ end
@@ -0,0 +1,74 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/events/cloud/visionai/v1/events.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/events/cloud/visionai/v1/data_pb'
8
+ require 'google/events/cloudevent_pb'
9
+
10
+
11
+ descriptor_data = "\n,google/events/cloud/visionai/v1/events.proto\x12\x1fgoogle.events.cloud.visionai.v1\x1a*google/events/cloud/visionai/v1/data.proto\x1a\x1egoogle/events/cloudevent.proto\"\xa1\x01\n\x14\x41nalysisCreatedEvent\x12@\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x32.google.events.cloud.visionai.v1.AnalysisEventData:G\xb2\xf8\xd8,)google.cloud.visionai.analysis.v1.created\xca\xf8\xd8,\x07\x63luster\xca\xf8\xd8,\x08\x61nalysis\"\xa1\x01\n\x14\x41nalysisUpdatedEvent\x12@\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x32.google.events.cloud.visionai.v1.AnalysisEventData:G\xb2\xf8\xd8,)google.cloud.visionai.analysis.v1.updated\xca\xf8\xd8,\x07\x63luster\xca\xf8\xd8,\x08\x61nalysis\"\xa1\x01\n\x14\x41nalysisDeletedEvent\x12@\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x32.google.events.cloud.visionai.v1.AnalysisEventData:G\xb2\xf8\xd8,)google.cloud.visionai.analysis.v1.deleted\xca\xf8\xd8,\x07\x63luster\xca\xf8\xd8,\x08\x61nalysis\"\x9d\x01\n\x13ProcessCreatedEvent\x12?\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x31.google.events.cloud.visionai.v1.ProcessEventData:E\xb2\xf8\xd8,(google.cloud.visionai.process.v1.created\xca\xf8\xd8,\x07\x63luster\xca\xf8\xd8,\x07process\"\x9d\x01\n\x13ProcessUpdatedEvent\x12?\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x31.google.events.cloud.visionai.v1.ProcessEventData:E\xb2\xf8\xd8,(google.cloud.visionai.process.v1.updated\xca\xf8\xd8,\x07\x63luster\xca\xf8\xd8,\x07process\"\x9d\x01\n\x13ProcessDeletedEvent\x12?\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x31.google.events.cloud.visionai.v1.ProcessEventData:E\xb2\xf8\xd8,(google.cloud.visionai.process.v1.deleted\xca\xf8\xd8,\x07\x63luster\xca\xf8\xd8,\x07process\"\xa1\x01\n\x17\x41pplicationCreatedEvent\x12\x43\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x35.google.events.cloud.visionai.v1.ApplicationEventData:A\xb2\xf8\xd8,,google.cloud.visionai.application.v1.created\xca\xf8\xd8,\x0b\x61pplication\"\xa1\x01\n\x17\x41pplicationUpdatedEvent\x12\x43\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x35.google.events.cloud.visionai.v1.ApplicationEventData:A\xb2\xf8\xd8,,google.cloud.visionai.application.v1.updated\xca\xf8\xd8,\x0b\x61pplication\"\xa1\x01\n\x17\x41pplicationDeletedEvent\x12\x43\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x35.google.events.cloud.visionai.v1.ApplicationEventData:A\xb2\xf8\xd8,,google.cloud.visionai.application.v1.deleted\xca\xf8\xd8,\x0b\x61pplication\"\x99\x01\n\x11\x44raftCreatedEvent\x12=\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32/.google.events.cloud.visionai.v1.DraftEventData:E\xb2\xf8\xd8,&google.cloud.visionai.draft.v1.created\xca\xf8\xd8,\x0b\x61pplication\xca\xf8\xd8,\x05\x64raft\"\x99\x01\n\x11\x44raftUpdatedEvent\x12=\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32/.google.events.cloud.visionai.v1.DraftEventData:E\xb2\xf8\xd8,&google.cloud.visionai.draft.v1.updated\xca\xf8\xd8,\x0b\x61pplication\xca\xf8\xd8,\x05\x64raft\"\x99\x01\n\x11\x44raftDeletedEvent\x12=\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32/.google.events.cloud.visionai.v1.DraftEventData:E\xb2\xf8\xd8,&google.cloud.visionai.draft.v1.deleted\xca\xf8\xd8,\x0b\x61pplication\xca\xf8\xd8,\x05\x64raft\"\x99\x01\n\x15ProcessorCreatedEvent\x12\x41\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x33.google.events.cloud.visionai.v1.ProcessorEventData:=\xb2\xf8\xd8,*google.cloud.visionai.processor.v1.created\xca\xf8\xd8,\tprocessor\"\x99\x01\n\x15ProcessorUpdatedEvent\x12\x41\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x33.google.events.cloud.visionai.v1.ProcessorEventData:=\xb2\xf8\xd8,*google.cloud.visionai.processor.v1.updated\xca\xf8\xd8,\tprocessor\"\x99\x01\n\x15ProcessorDeletedEvent\x12\x41\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x33.google.events.cloud.visionai.v1.ProcessorEventData:=\xb2\xf8\xd8,*google.cloud.visionai.processor.v1.deleted\xca\xf8\xd8,\tprocessor\"\x91\x01\n\x13\x43lusterCreatedEvent\x12?\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x31.google.events.cloud.visionai.v1.ClusterEventData:9\xb2\xf8\xd8,(google.cloud.visionai.cluster.v1.created\xca\xf8\xd8,\x07\x63luster\"\x91\x01\n\x13\x43lusterUpdatedEvent\x12?\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x31.google.events.cloud.visionai.v1.ClusterEventData:9\xb2\xf8\xd8,(google.cloud.visionai.cluster.v1.updated\xca\xf8\xd8,\x07\x63luster\"\x91\x01\n\x13\x43lusterDeletedEvent\x12?\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x31.google.events.cloud.visionai.v1.ClusterEventData:9\xb2\xf8\xd8,(google.cloud.visionai.cluster.v1.deleted\xca\xf8\xd8,\x07\x63luster\"\x99\x01\n\x12StreamCreatedEvent\x12>\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x30.google.events.cloud.visionai.v1.StreamEventData:C\xb2\xf8\xd8,\'google.cloud.visionai.stream.v1.created\xca\xf8\xd8,\x07\x63luster\xca\xf8\xd8,\x06stream\"\x99\x01\n\x12StreamUpdatedEvent\x12>\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x30.google.events.cloud.visionai.v1.StreamEventData:C\xb2\xf8\xd8,\'google.cloud.visionai.stream.v1.updated\xca\xf8\xd8,\x07\x63luster\xca\xf8\xd8,\x06stream\"\x99\x01\n\x12StreamDeletedEvent\x12>\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x30.google.events.cloud.visionai.v1.StreamEventData:C\xb2\xf8\xd8,\'google.cloud.visionai.stream.v1.deleted\xca\xf8\xd8,\x07\x63luster\xca\xf8\xd8,\x06stream\"\x95\x01\n\x11\x45ventCreatedEvent\x12=\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32/.google.events.cloud.visionai.v1.EventEventData:A\xb2\xf8\xd8,&google.cloud.visionai.event.v1.created\xca\xf8\xd8,\x07\x63luster\xca\xf8\xd8,\x05\x65vent\"\x95\x01\n\x11\x45ventUpdatedEvent\x12=\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32/.google.events.cloud.visionai.v1.EventEventData:A\xb2\xf8\xd8,&google.cloud.visionai.event.v1.updated\xca\xf8\xd8,\x07\x63luster\xca\xf8\xd8,\x05\x65vent\"\x95\x01\n\x11\x45ventDeletedEvent\x12=\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32/.google.events.cloud.visionai.v1.EventEventData:A\xb2\xf8\xd8,&google.cloud.visionai.event.v1.deleted\xca\xf8\xd8,\x07\x63luster\xca\xf8\xd8,\x05\x65vent\"\x99\x01\n\x12SeriesCreatedEvent\x12>\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x30.google.events.cloud.visionai.v1.SeriesEventData:C\xb2\xf8\xd8,\'google.cloud.visionai.series.v1.created\xca\xf8\xd8,\x07\x63luster\xca\xf8\xd8,\x06series\"\x99\x01\n\x12SeriesUpdatedEvent\x12>\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x30.google.events.cloud.visionai.v1.SeriesEventData:C\xb2\xf8\xd8,\'google.cloud.visionai.series.v1.updated\xca\xf8\xd8,\x07\x63luster\xca\xf8\xd8,\x06series\"\x99\x01\n\x12SeriesDeletedEvent\x12>\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x30.google.events.cloud.visionai.v1.SeriesEventData:C\xb2\xf8\xd8,\'google.cloud.visionai.series.v1.deleted\xca\xf8\xd8,\x07\x63luster\xca\xf8\xd8,\x06seriesB\xe7\x05\xaa\x02(Google.Events.Protobuf.Cloud.VisionAI.V1\xca\x02\x1fGoogle\\Events\\Cloud\\VisionAI\\V1\xea\x02#Google::Events::Cloud::VisionAI::V1\xba\xf8\xd8,\tVision AI\xc2\xf8\xd8,?\n\x07\x63luster\x12\x34The resource ID of the Cluster triggering the event.\xc2\xf8\xd8,A\n\x08\x61nalysis\x12\x35The resource ID of the Analysis triggering the event.\xc2\xf8\xd8,?\n\x07process\x12\x34The resource ID of the Process triggering the event.\xc2\xf8\xd8,G\n\x0b\x61pplication\x12\x38The resource ID of the Application triggering the event.\xc2\xf8\xd8,;\n\x05\x64raft\x12\x32The resource ID of the Draft triggering the event.\xc2\xf8\xd8,C\n\tprocessor\x12\x36The resource ID of the Processor triggering the event.\xc2\xf8\xd8,=\n\x06stream\x12\x33The resource ID of the Stream triggering the event.\xc2\xf8\xd8,;\n\x05\x65vent\x12\x32The resource ID of the Event triggering the event.\xc2\xf8\xd8,=\n\x06series\x12\x33The resource ID of the Series triggering the event.b\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.events.cloud.visionai.v1.AnalysisEventData", "google/events/cloud/visionai/v1/data.proto"],
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
37
+
38
+ module Google
39
+ module Events
40
+ module Cloud
41
+ module VisionAI
42
+ module V1
43
+ AnalysisCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.AnalysisCreatedEvent").msgclass
44
+ AnalysisUpdatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.AnalysisUpdatedEvent").msgclass
45
+ AnalysisDeletedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.AnalysisDeletedEvent").msgclass
46
+ ProcessCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.ProcessCreatedEvent").msgclass
47
+ ProcessUpdatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.ProcessUpdatedEvent").msgclass
48
+ ProcessDeletedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.ProcessDeletedEvent").msgclass
49
+ ApplicationCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.ApplicationCreatedEvent").msgclass
50
+ ApplicationUpdatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.ApplicationUpdatedEvent").msgclass
51
+ ApplicationDeletedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.ApplicationDeletedEvent").msgclass
52
+ DraftCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.DraftCreatedEvent").msgclass
53
+ DraftUpdatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.DraftUpdatedEvent").msgclass
54
+ DraftDeletedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.DraftDeletedEvent").msgclass
55
+ ProcessorCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.ProcessorCreatedEvent").msgclass
56
+ ProcessorUpdatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.ProcessorUpdatedEvent").msgclass
57
+ ProcessorDeletedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.ProcessorDeletedEvent").msgclass
58
+ ClusterCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.ClusterCreatedEvent").msgclass
59
+ ClusterUpdatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.ClusterUpdatedEvent").msgclass
60
+ ClusterDeletedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.ClusterDeletedEvent").msgclass
61
+ StreamCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.StreamCreatedEvent").msgclass
62
+ StreamUpdatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.StreamUpdatedEvent").msgclass
63
+ StreamDeletedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.StreamDeletedEvent").msgclass
64
+ EventCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.EventCreatedEvent").msgclass
65
+ EventUpdatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.EventUpdatedEvent").msgclass
66
+ EventDeletedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.EventDeletedEvent").msgclass
67
+ SeriesCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.SeriesCreatedEvent").msgclass
68
+ SeriesUpdatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.SeriesUpdatedEvent").msgclass
69
+ SeriesDeletedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.visionai.v1.SeriesDeletedEvent").msgclass
70
+ end
71
+ end
72
+ end
73
+ end
74
+ end