google-events 0.2.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +22 -0
- data/lib/google/events/cloud/alloydb/v1/data_pb.rb +85 -0
- data/lib/google/events/cloud/alloydb/v1/events_pb.rb +56 -0
- data/lib/google/events/cloud/apigateway/v1/data_pb.rb +25 -77
- data/lib/google/events/cloud/apigateway/v1/events_pb.rb +25 -28
- data/lib/google/events/cloud/apigeeregistry/v1/data_pb.rb +25 -90
- data/lib/google/events/cloud/apigeeregistry/v1/events_pb.rb +25 -43
- data/lib/google/events/cloud/audit/v1/data_pb.rb +29 -91
- data/lib/google/events/cloud/audit/v1/events_pb.rb +25 -4
- data/lib/google/events/cloud/beyondcorp/appconnections/v1/data_pb.rb +25 -44
- data/lib/google/events/cloud/beyondcorp/appconnections/v1/events_pb.rb +25 -10
- data/lib/google/events/cloud/beyondcorp/appconnectors/v1/data_pb.rb +25 -44
- data/lib/google/events/cloud/beyondcorp/appconnectors/v1/events_pb.rb +25 -10
- data/lib/google/events/cloud/beyondcorp/appgateways/v1/data_pb.rb +25 -37
- data/lib/google/events/cloud/beyondcorp/appgateways/v1/events_pb.rb +25 -7
- data/lib/google/events/cloud/beyondcorp/clientconnectorservices/v1/data_pb.rb +25 -47
- data/lib/google/events/cloud/beyondcorp/clientconnectorservices/v1/events_pb.rb +25 -10
- data/lib/google/events/cloud/beyondcorp/clientgateways/v1/data_pb.rb +25 -21
- data/lib/google/events/cloud/beyondcorp/clientgateways/v1/events_pb.rb +25 -7
- data/lib/google/events/cloud/certificatemanager/v1/data_pb.rb +26 -157
- data/lib/google/events/cloud/certificatemanager/v1/events_pb.rb +25 -43
- data/lib/google/events/cloud/cloudbuild/v1/data_pb.rb +26 -162
- data/lib/google/events/cloud/cloudbuild/v1/events_pb.rb +25 -4
- data/lib/google/events/cloud/clouddms/v1/data_pb.rb +28 -241
- data/lib/google/events/cloud/clouddms/v1/events_pb.rb +25 -19
- data/lib/google/events/cloud/dataflow/v1beta3/data_pb.rb +26 -195
- data/lib/google/events/cloud/dataflow/v1beta3/events_pb.rb +25 -4
- data/lib/google/events/cloud/datafusion/v1/data_pb.rb +25 -107
- data/lib/google/events/cloud/datafusion/v1/events_pb.rb +25 -16
- data/lib/google/events/cloud/dataplex/v1/data_pb.rb +26 -603
- data/lib/google/events/cloud/dataplex/v1/events_pb.rb +25 -82
- data/lib/google/events/cloud/datastore/v1/data_pb.rb +59 -0
- data/lib/google/events/cloud/datastore/v1/events_pb.rb +51 -0
- data/lib/google/events/cloud/datastream/v1/data_pb.rb +26 -291
- data/lib/google/events/cloud/datastream/v1/events_pb.rb +25 -31
- data/lib/google/events/cloud/eventarc/v1/data_pb.rb +25 -89
- data/lib/google/events/cloud/eventarc/v1/events_pb.rb +25 -25
- data/lib/google/events/cloud/firestore/v1/data_pb.rb +26 -36
- data/lib/google/events/cloud/firestore/v1/events_pb.rb +25 -13
- data/lib/google/events/cloud/functions/v2/data_pb.rb +25 -155
- data/lib/google/events/cloud/functions/v2/events_pb.rb +25 -10
- data/lib/google/events/cloud/gkebackup/v1/data_pb.rb +25 -189
- data/lib/google/events/cloud/gkebackup/v1/events_pb.rb +25 -37
- data/lib/google/events/cloud/gkehub/v1/data_pb.rb +79 -0
- data/lib/google/events/cloud/gkehub/v1/events_pb.rb +58 -0
- data/lib/google/events/cloud/iot/v1/data_pb.rb +26 -132
- data/lib/google/events/cloud/iot/v1/events_pb.rb +25 -19
- data/lib/google/events/cloud/memcache/v1/data_pb.rb +27 -83
- data/lib/google/events/cloud/memcache/v1/events_pb.rb +25 -10
- data/lib/google/events/cloud/metastore/v1/data_pb.rb +88 -0
- data/lib/google/events/cloud/metastore/v1/events_pb.rb +57 -0
- data/lib/google/events/cloud/networkconnectivity/v1/data_pb.rb +76 -0
- data/lib/google/events/cloud/networkconnectivity/v1/events_pb.rb +63 -0
- data/lib/google/events/cloud/networkmanagement/v1/data_pb.rb +93 -0
- data/lib/google/events/cloud/networkmanagement/v1/events_pb.rb +50 -0
- data/lib/google/events/cloud/notebooks/v1/data_pb.rb +100 -0
- data/lib/google/events/cloud/notebooks/v1/events_pb.rb +58 -0
- data/lib/google/events/cloud/pubsub/v1/data_pb.rb +25 -12
- data/lib/google/events/cloud/pubsub/v1/events_pb.rb +25 -4
- data/lib/google/events/cloud/redis/v1/data_pb.rb +67 -0
- data/lib/google/events/cloud/redis/v1/events_pb.rb +50 -0
- data/lib/google/events/cloud/scheduler/v1/data_pb.rb +24 -4
- data/lib/google/events/cloud/scheduler/v1/events_pb.rb +25 -4
- data/lib/google/events/cloud/storage/v1/data_pb.rb +25 -36
- data/lib/google/events/cloud/storage/v1/events_pb.rb +25 -13
- data/lib/google/events/cloud/video/transcoder/v1/data_pb.rb +96 -0
- data/lib/google/events/cloud/video/transcoder/v1/events_pb.rb +53 -0
- data/lib/google/events/cloud/visionai/v1/data_pb.rb +123 -0
- data/lib/google/events/cloud/visionai/v1/events_pb.rb +74 -0
- data/lib/google/events/cloud/vmmigration/v1/data_pb.rb +121 -0
- data/lib/google/events/cloud/vmmigration/v1/events_pb.rb +65 -0
- data/lib/google/events/cloud/workflows/v1/data_pb.rb +25 -22
- data/lib/google/events/cloud/workflows/v1/events_pb.rb +25 -10
- data/lib/google/events/cloudevent_pb.rb +24 -6
- data/lib/google/events/firebase/analytics/v1/data_pb.rb +24 -76
- data/lib/google/events/firebase/analytics/v1/events_pb.rb +25 -4
- data/lib/google/events/firebase/auth/v1/data_pb.rb +26 -24
- data/lib/google/events/firebase/auth/v1/events_pb.rb +25 -7
- data/lib/google/events/firebase/database/v1/data_pb.rb +25 -5
- data/lib/google/events/firebase/database/v1/events_pb.rb +25 -13
- data/lib/google/events/firebase/firebasealerts/v1/cloud_event_payload_pb.rb +26 -79
- data/lib/google/events/firebase/firebasealerts/v1/data_pb.rb +26 -6
- data/lib/google/events/firebase/firebasealerts/v1/events_pb.rb +25 -4
- data/lib/google/events/firebase/remoteconfig/v1/data_pb.rb +25 -27
- data/lib/google/events/firebase/remoteconfig/v1/events_pb.rb +25 -4
- data/lib/google/events/firebase/testlab/v1/data_pb.rb +25 -35
- data/lib/google/events/firebase/testlab/v1/events_pb.rb +25 -4
- data/lib/google/events/version.rb +1 -1
- metadata +24 -2
@@ -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
|
@@ -0,0 +1,121 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: google/events/cloud/vmmigration/v1/data.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
require 'google/protobuf/duration_pb'
|
8
|
+
require 'google/protobuf/timestamp_pb'
|
9
|
+
require 'google/rpc/error_details_pb'
|
10
|
+
require 'google/rpc/status_pb'
|
11
|
+
|
12
|
+
|
13
|
+
descriptor_data = "\n-google/events/cloud/vmmigration/v1/data.proto\x12\"google.events.cloud.vmmigration.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/rpc/error_details.proto\x1a\x17google/rpc/status.proto\"\xaf\x04\n\x10ReplicationCycle\x12\x0c\n\x04name\x18\r \x01(\t\x12\x14\n\x0c\x63ycle_number\x18\n \x01(\x05\x12.\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x37\n\x14total_pause_duration\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x18\n\x10progress_percent\x18\x05 \x01(\x05\x12<\n\x05steps\x18\t \x03(\x0b\x32-.google.events.cloud.vmmigration.v1.CycleStep\x12I\n\x05state\x18\x0b \x01(\x0e\x32:.google.events.cloud.vmmigration.v1.ReplicationCycle.State\x12!\n\x05\x65rror\x18\x0c \x01(\x0b\x32\x12.google.rpc.Status\x12\x46\n\x08warnings\x18\x0e \x03(\x0b\x32\x34.google.events.cloud.vmmigration.v1.MigrationWarning\"R\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07RUNNING\x10\x01\x12\n\n\x06PAUSED\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\x12\r\n\tSUCCEEDED\x10\x04\"\xf5\x02\n\tCycleStep\x12\x63\n\x18initializing_replication\x18\x03 \x01(\x0b\x32?.google.events.cloud.vmmigration.v1.InitializingReplicationStepH\x00\x12J\n\x0breplicating\x18\x04 \x01(\x0b\x32\x33.google.events.cloud.vmmigration.v1.ReplicatingStepH\x00\x12Q\n\x0fpost_processing\x18\x05 \x01(\x0b\x32\x36.google.events.cloud.vmmigration.v1.PostProcessingStepH\x00\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.TimestampB\x06\n\x04step\"\x1d\n\x1bInitializingReplicationStep\"\xa9\x01\n\x0fReplicatingStep\x12\x13\n\x0btotal_bytes\x18\x01 \x01(\x03\x12\x18\n\x10replicated_bytes\x18\x02 \x01(\x03\x12\x31\n)last_two_minutes_average_bytes_per_second\x18\x03 \x01(\x03\x12\x34\n,last_thirty_minutes_average_bytes_per_second\x18\x04 \x01(\x03\"\x14\n\x12PostProcessingStep\"E\n\x0fReplicationSync\x12\x32\n\x0elast_sync_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xa3\x0b\n\x0bMigratingVm\x12i\n\x1e\x63ompute_engine_target_defaults\x18\x1a \x01(\x0b\x32?.google.events.cloud.vmmigration.v1.ComputeEngineTargetDefaultsH\x00\x12W\n\x15\x61ws_source_vm_details\x18\x1d \x01(\x0b\x32\x36.google.events.cloud.vmmigration.v1.AwsSourceVmDetailsH\x01\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0csource_vm_id\x18\x02 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x12 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x42\n\x06policy\x18\x08 \x01(\x0b\x32\x32.google.events.cloud.vmmigration.v1.SchedulePolicy\x12/\n\x0b\x63reate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x46\n\tlast_sync\x18\x0b \x01(\x0b\x32\x33.google.events.cloud.vmmigration.v1.ReplicationSync\x12\x44\n\x05state\x18\x17 \x01(\x0e\x32\x35.google.events.cloud.vmmigration.v1.MigratingVm.State\x12.\n\nstate_time\x18\x16 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12O\n\x11\x63urrent_sync_info\x18\r \x01(\x0b\x32\x34.google.events.cloud.vmmigration.v1.ReplicationCycle\x12T\n\x16last_replication_cycle\x18 \x01(\x0b\x32\x34.google.events.cloud.vmmigration.v1.ReplicationCycle\x12\r\n\x05group\x18\x0f \x01(\t\x12K\n\x06labels\x18\x10 \x03(\x0b\x32;.google.events.cloud.vmmigration.v1.MigratingVm.LabelsEntry\x12G\n\x11recent_clone_jobs\x18\x11 \x03(\x0b\x32,.google.events.cloud.vmmigration.v1.CloneJob\x12!\n\x05\x65rror\x18\x13 \x01(\x0b\x32\x12.google.rpc.Status\x12K\n\x13recent_cutover_jobs\x18\x14 \x03(\x0b\x32..google.events.cloud.vmmigration.v1.CutoverJob\x12M\n\x10\x63utover_forecast\x18! \x01(\x0b\x32\x33.google.events.cloud.vmmigration.v1.CutoverForecast\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xb7\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PENDING\x10\x01\x12\t\n\x05READY\x10\x02\x12\x0e\n\nFIRST_SYNC\x10\x03\x12\n\n\x06\x41\x43TIVE\x10\x04\x12\x10\n\x0c\x43UTTING_OVER\x10\x07\x12\x0b\n\x07\x43UTOVER\x10\x08\x12\x0e\n\nFINAL_SYNC\x10\t\x12\n\n\x06PAUSED\x10\n\x12\x0e\n\nFINALIZING\x10\x0b\x12\r\n\tFINALIZED\x10\x0c\x12\t\n\x05\x45RROR\x10\rB\x14\n\x12target_vm_defaultsB\x13\n\x11source_vm_details\"T\n\x0f\x43utoverForecast\x12\x41\n\x1e\x65stimated_cutover_job_duration\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\"\xce\x04\n\x08\x43loneJob\x12g\n\x1d\x63ompute_engine_target_details\x18\x14 \x01(\x0b\x32>.google.events.cloud.vmmigration.v1.ComputeEngineTargetDetailsH\x00\x12/\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x16 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x41\n\x05state\x18\x0c \x01(\x0e\x32\x32.google.events.cloud.vmmigration.v1.CloneJob.State\x12.\n\nstate_time\x18\x0e \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12!\n\x05\x65rror\x18\x11 \x01(\x0b\x32\x12.google.rpc.Status\x12<\n\x05steps\x18\x17 \x03(\x0b\x32-.google.events.cloud.vmmigration.v1.CloneStep\"\x82\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PENDING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\x12\r\n\tSUCCEEDED\x10\x04\x12\r\n\tCANCELLED\x10\x05\x12\x0e\n\nCANCELLING\x10\x06\x12\x0f\n\x0b\x41\x44\x41PTING_OS\x10\x07\x42\x13\n\x11target_vm_details\"\xfa\x02\n\tCloneStep\x12I\n\x0b\x61\x64\x61pting_os\x18\x03 \x01(\x0b\x32\x32.google.events.cloud.vmmigration.v1.AdaptingOSStepH\x00\x12V\n\x12preparing_vm_disks\x18\x04 \x01(\x0b\x32\x38.google.events.cloud.vmmigration.v1.PreparingVMDisksStepH\x00\x12\x64\n\x19instantiating_migrated_vm\x18\x05 \x01(\x0b\x32?.google.events.cloud.vmmigration.v1.InstantiatingMigratedVMStepH\x00\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.TimestampB\x06\n\x04step\"\x10\n\x0e\x41\x64\x61ptingOSStep\"\x16\n\x14PreparingVMDisksStep\"\x1d\n\x1bInstantiatingMigratedVMStep\"\x85\x05\n\nCutoverJob\x12g\n\x1d\x63ompute_engine_target_details\x18\x0e \x01(\x0b\x32>.google.events.cloud.vmmigration.v1.ComputeEngineTargetDetailsH\x00\x12/\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x10 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x43\n\x05state\x18\x05 \x01(\x0e\x32\x34.google.events.cloud.vmmigration.v1.CutoverJob.State\x12.\n\nstate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x18\n\x10progress_percent\x18\r \x01(\x05\x12!\n\x05\x65rror\x18\t \x01(\x0b\x32\x12.google.rpc.Status\x12\x15\n\rstate_message\x18\n \x01(\t\x12>\n\x05steps\x18\x11 \x03(\x0b\x32/.google.events.cloud.vmmigration.v1.CutoverStep\"\x82\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PENDING\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\x12\r\n\tSUCCEEDED\x10\x03\x12\r\n\tCANCELLED\x10\x04\x12\x0e\n\nCANCELLING\x10\x05\x12\n\n\x06\x41\x43TIVE\x10\x06\x12\x0f\n\x0b\x41\x44\x41PTING_OS\x10\x07\x42\x13\n\x11target_vm_details\"\xba\x04\n\x0b\x43utoverStep\x12Z\n\x1aprevious_replication_cycle\x18\x03 \x01(\x0b\x32\x34.google.events.cloud.vmmigration.v1.ReplicationCycleH\x00\x12_\n\x17shutting_down_source_vm\x18\x04 \x01(\x0b\x32<.google.events.cloud.vmmigration.v1.ShuttingDownSourceVMStepH\x00\x12J\n\nfinal_sync\x18\x05 \x01(\x0b\x32\x34.google.events.cloud.vmmigration.v1.ReplicationCycleH\x00\x12V\n\x12preparing_vm_disks\x18\x06 \x01(\x0b\x32\x38.google.events.cloud.vmmigration.v1.PreparingVMDisksStepH\x00\x12\x64\n\x19instantiating_migrated_vm\x18\x07 \x01(\x0b\x32?.google.events.cloud.vmmigration.v1.InstantiatingMigratedVMStepH\x00\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.TimestampB\x06\n\x04step\"\x1a\n\x18ShuttingDownSourceVMStep\"\xa6\x03\n\x06Source\x12I\n\x06vmware\x18\n \x01(\x0b\x32\x37.google.events.cloud.vmmigration.v1.VmwareSourceDetailsH\x00\x12\x43\n\x03\x61ws\x18\x0c \x01(\x0b\x32\x34.google.events.cloud.vmmigration.v1.AwsSourceDetailsH\x00\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.vmmigration.v1.Source.LabelsEntry\x12\x13\n\x0b\x64\x65scription\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\x42\x10\n\x0esource_details\"n\n\x13VmwareSourceDetails\x12\x10\n\x08username\x18\x01 \x01(\t\x12\x12\n\nvcenter_ip\x18\x03 \x01(\t\x12\x12\n\nthumbprint\x18\x04 \x01(\t\x12\x1d\n\x15resolved_vcenter_host\x18\x05 \x01(\t\"\xf7\x05\n\x10\x41wsSourceDetails\x12\x65\n\x10\x61\x63\x63\x65ss_key_creds\x18\x0b \x01(\x0b\x32I.google.events.cloud.vmmigration.v1.AwsSourceDetails.AccessKeyCredentialsH\x00\x12\x12\n\naws_region\x18\x03 \x01(\t\x12I\n\x05state\x18\x04 \x01(\x0e\x32:.google.events.cloud.vmmigration.v1.AwsSourceDetails.State\x12!\n\x05\x65rror\x18\x05 \x01(\x0b\x32\x12.google.rpc.Status\x12T\n\x12inventory_tag_list\x18\n \x03(\x0b\x32\x38.google.events.cloud.vmmigration.v1.AwsSourceDetails.Tag\x12&\n\x1einventory_security_group_names\x18\x07 \x03(\t\x12{\n\x1dmigration_resources_user_tags\x18\x08 \x03(\x0b\x32T.google.events.cloud.vmmigration.v1.AwsSourceDetails.MigrationResourcesUserTagsEntry\x12\x11\n\tpublic_ip\x18\t \x01(\t\x1a-\n\x14\x41\x63\x63\x65ssKeyCredentials\x12\x15\n\raccess_key_id\x18\x01 \x01(\t\x1a!\n\x03Tag\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\x1a\x41\n\x1fMigrationResourcesUserTagsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"C\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PENDING\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\x12\n\n\x06\x41\x43TIVE\x10\x03\x42\x12\n\x10\x63redentials_type\"\xb6\x05\n\x13\x44\x61tacenterConnector\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\x0c\n\x04name\x18\x03 \x01(\t\x12\x17\n\x0fregistration_id\x18\x0c \x01(\t\x12\x17\n\x0fservice_account\x18\x05 \x01(\t\x12\x0f\n\x07version\x18\x06 \x01(\t\x12\x0e\n\x06\x62ucket\x18\n \x01(\t\x12L\n\x05state\x18\x07 \x01(\x0e\x32=.google.events.cloud.vmmigration.v1.DatacenterConnector.State\x12.\n\nstate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12!\n\x05\x65rror\x18\x0b \x01(\x0b\x32\x12.google.rpc.Status\x12(\n appliance_infrastructure_version\x18\r \x01(\t\x12\"\n\x1a\x61ppliance_software_version\x18\x0e \x01(\t\x12P\n\x12\x61vailable_versions\x18\x0f \x01(\x0b\x32\x34.google.events.cloud.vmmigration.v1.AvailableUpdates\x12I\n\x0eupgrade_status\x18\x10 \x01(\x0b\x32\x31.google.events.cloud.vmmigration.v1.UpgradeStatus\"P\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PENDING\x10\x01\x12\x0b\n\x07OFFLINE\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\x12\n\n\x06\x41\x43TIVE\x10\x04\"\x9d\x02\n\rUpgradeStatus\x12\x0f\n\x07version\x18\x01 \x01(\t\x12\x46\n\x05state\x18\x02 \x01(\x0e\x32\x37.google.events.cloud.vmmigration.v1.UpgradeStatus.State\x12!\n\x05\x65rror\x18\x03 \x01(\x0b\x32\x12.google.rpc.Status\x12.\n\nstart_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x18\n\x10previous_version\x18\x05 \x01(\t\"F\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07RUNNING\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\x12\r\n\tSUCCEEDED\x10\x03\"\xb9\x01\n\x10\x41vailableUpdates\x12V\n\x18new_deployable_appliance\x18\x01 \x01(\x0b\x32\x34.google.events.cloud.vmmigration.v1.ApplianceVersion\x12M\n\x0fin_place_update\x18\x02 \x01(\x0b\x32\x34.google.events.cloud.vmmigration.v1.ApplianceVersion\"]\n\x10\x41pplianceVersion\x12\x0f\n\x07version\x18\x01 \x01(\t\x12\x0b\n\x03uri\x18\x02 \x01(\t\x12\x10\n\x08\x63ritical\x18\x03 \x01(\x08\x12\x19\n\x11release_notes_uri\x18\x04 \x01(\t\"\xa1\x04\n\x0fVmwareVmDetails\x12\r\n\x05vm_id\x18\x01 \x01(\t\x12\x15\n\rdatacenter_id\x18\x02 \x01(\t\x12\x1e\n\x16\x64\x61tacenter_description\x18\x03 \x01(\t\x12\x0c\n\x04uuid\x18\x04 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x05 \x01(\t\x12S\n\x0bpower_state\x18\x06 \x01(\x0e\x32>.google.events.cloud.vmmigration.v1.VmwareVmDetails.PowerState\x12\x11\n\tcpu_count\x18\x07 \x01(\x05\x12\x11\n\tmemory_mb\x18\x08 \x01(\x05\x12\x12\n\ndisk_count\x18\t \x01(\x05\x12\x1c\n\x14\x63ommitted_storage_mb\x18\x0c \x01(\x03\x12\x19\n\x11guest_description\x18\x0b \x01(\t\x12S\n\x0b\x62oot_option\x18\r \x01(\x0e\x32>.google.events.cloud.vmmigration.v1.VmwareVmDetails.BootOption\"I\n\nPowerState\x12\x1b\n\x17POWER_STATE_UNSPECIFIED\x10\x00\x12\x06\n\x02ON\x10\x01\x12\x07\n\x03OFF\x10\x02\x12\r\n\tSUSPENDED\x10\x03\"<\n\nBootOption\x12\x1b\n\x17\x42OOT_OPTION_UNSPECIFIED\x10\x00\x12\x07\n\x03\x45\x46I\x10\x01\x12\x08\n\x04\x42IOS\x10\x02\"\xf7\x04\n\x11UtilizationReport\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12J\n\x05state\x18\x03 \x01(\x0e\x32;.google.events.cloud.vmmigration.v1.UtilizationReport.State\x12.\n\nstate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12!\n\x05\x65rror\x18\x05 \x01(\x0b\x32\x12.google.rpc.Status\x12/\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12S\n\ntime_frame\x18\x07 \x01(\x0e\x32?.google.events.cloud.vmmigration.v1.UtilizationReport.TimeFrame\x12\x32\n\x0e\x66rame_end_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x10\n\x08vm_count\x18\t \x01(\x05\x12\x42\n\x03vms\x18\n \x03(\x0b\x32\x35.google.events.cloud.vmmigration.v1.VmUtilizationInfo\"G\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\r\n\tSUCCEEDED\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\"F\n\tTimeFrame\x12\x1a\n\x16TIME_FRAME_UNSPECIFIED\x10\x00\x12\x08\n\x04WEEK\x10\x01\x12\t\n\x05MONTH\x10\x02\x12\x08\n\x04YEAR\x10\x03\"\xd0\x01\n\x11VmUtilizationInfo\x12P\n\x11vmware_vm_details\x18\x01 \x01(\x0b\x32\x33.google.events.cloud.vmmigration.v1.VmwareVmDetailsH\x00\x12\r\n\x05vm_id\x18\x03 \x01(\t\x12M\n\x0butilization\x18\x02 \x01(\x0b\x32\x38.google.events.cloud.vmmigration.v1.VmUtilizationMetricsB\x0b\n\tVmDetails\"\x98\x02\n\x14VmUtilizationMetrics\x12\x17\n\x0f\x63pu_max_percent\x18\t \x01(\x05\x12\x1b\n\x13\x63pu_average_percent\x18\n \x01(\x05\x12\x1a\n\x12memory_max_percent\x18\x0b \x01(\x05\x12\x1e\n\x16memory_average_percent\x18\x0c \x01(\x05\x12\x1d\n\x15\x64isk_io_rate_max_kbps\x18\r \x01(\x03\x12!\n\x19\x64isk_io_rate_average_kbps\x18\x0e \x01(\x03\x12#\n\x1bnetwork_throughput_max_kbps\x18\x0f \x01(\x03\x12\'\n\x1fnetwork_throughput_average_kbps\x18\x10 \x01(\x03\"\xfe\x07\n\x1b\x43omputeEngineTargetDefaults\x12\x0f\n\x07vm_name\x18\x01 \x01(\t\x12\x16\n\x0etarget_project\x18\x02 \x01(\t\x12\x0c\n\x04zone\x18\x03 \x01(\t\x12\x1b\n\x13machine_type_series\x18\x04 \x01(\t\x12\x14\n\x0cmachine_type\x18\x05 \x01(\t\x12\x14\n\x0cnetwork_tags\x18\x06 \x03(\t\x12P\n\x12network_interfaces\x18\x07 \x03(\x0b\x32\x34.google.events.cloud.vmmigration.v1.NetworkInterface\x12\x17\n\x0fservice_account\x18\x08 \x01(\t\x12L\n\tdisk_type\x18\t \x01(\x0e\x32\x39.google.events.cloud.vmmigration.v1.ComputeEngineDiskType\x12[\n\x06labels\x18\n \x03(\x0b\x32K.google.events.cloud.vmmigration.v1.ComputeEngineTargetDefaults.LabelsEntry\x12R\n\x0clicense_type\x18\x0b \x01(\x0e\x32<.google.events.cloud.vmmigration.v1.ComputeEngineLicenseType\x12K\n\x0f\x61pplied_license\x18\x0c \x01(\x0b\x32\x32.google.events.cloud.vmmigration.v1.AppliedLicense\x12Q\n\x12\x63ompute_scheduling\x18\r \x01(\x0b\x32\x35.google.events.cloud.vmmigration.v1.ComputeScheduling\x12\x13\n\x0bsecure_boot\x18\x0e \x01(\x08\x12P\n\x0b\x62oot_option\x18\x0f \x01(\x0e\x32;.google.events.cloud.vmmigration.v1.ComputeEngineBootOption\x12_\n\x08metadata\x18\x10 \x03(\x0b\x32M.google.events.cloud.vmmigration.v1.ComputeEngineTargetDefaults.MetadataEntry\x12\x1b\n\x13\x61\x64\x64itional_licenses\x18\x11 \x03(\t\x12\x10\n\x08hostname\x18\x12 \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/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xf4\x07\n\x1a\x43omputeEngineTargetDetails\x12\x0f\n\x07vm_name\x18\x01 \x01(\t\x12\x0f\n\x07project\x18\x02 \x01(\t\x12\x0c\n\x04zone\x18\x03 \x01(\t\x12\x1b\n\x13machine_type_series\x18\x04 \x01(\t\x12\x14\n\x0cmachine_type\x18\x05 \x01(\t\x12\x14\n\x0cnetwork_tags\x18\x06 \x03(\t\x12P\n\x12network_interfaces\x18\x07 \x03(\x0b\x32\x34.google.events.cloud.vmmigration.v1.NetworkInterface\x12\x17\n\x0fservice_account\x18\x08 \x01(\t\x12L\n\tdisk_type\x18\t \x01(\x0e\x32\x39.google.events.cloud.vmmigration.v1.ComputeEngineDiskType\x12Z\n\x06labels\x18\n \x03(\x0b\x32J.google.events.cloud.vmmigration.v1.ComputeEngineTargetDetails.LabelsEntry\x12R\n\x0clicense_type\x18\x0b \x01(\x0e\x32<.google.events.cloud.vmmigration.v1.ComputeEngineLicenseType\x12K\n\x0f\x61pplied_license\x18\x0c \x01(\x0b\x32\x32.google.events.cloud.vmmigration.v1.AppliedLicense\x12Q\n\x12\x63ompute_scheduling\x18\r \x01(\x0b\x32\x35.google.events.cloud.vmmigration.v1.ComputeScheduling\x12\x13\n\x0bsecure_boot\x18\x0e \x01(\x08\x12P\n\x0b\x62oot_option\x18\x0f \x01(\x0e\x32;.google.events.cloud.vmmigration.v1.ComputeEngineBootOption\x12^\n\x08metadata\x18\x10 \x03(\x0b\x32L.google.events.cloud.vmmigration.v1.ComputeEngineTargetDetails.MetadataEntry\x12\x1b\n\x13\x61\x64\x64itional_licenses\x18\x11 \x03(\t\x12\x10\n\x08hostname\x18\x12 \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/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"a\n\x10NetworkInterface\x12\x0f\n\x07network\x18\x01 \x01(\t\x12\x12\n\nsubnetwork\x18\x02 \x01(\t\x12\x13\n\x0binternal_ip\x18\x03 \x01(\t\x12\x13\n\x0b\x65xternal_ip\x18\x04 \x01(\t\"\xa7\x01\n\x0e\x41ppliedLicense\x12\x45\n\x04type\x18\x01 \x01(\x0e\x32\x37.google.events.cloud.vmmigration.v1.AppliedLicense.Type\x12\x12\n\nos_license\x18\x02 \x01(\t\":\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x08\n\x04NONE\x10\x01\x12\x08\n\x04PAYG\x10\x02\x12\x08\n\x04\x42YOL\x10\x03\"\xc6\x01\n\x16SchedulingNodeAffinity\x12\x0b\n\x03key\x18\x01 \x01(\t\x12U\n\x08operator\x18\x02 \x01(\x0e\x32\x43.google.events.cloud.vmmigration.v1.SchedulingNodeAffinity.Operator\x12\x0e\n\x06values\x18\x03 \x03(\t\"8\n\x08Operator\x12\x18\n\x14OPERATOR_UNSPECIFIED\x10\x00\x12\x06\n\x02IN\x10\x01\x12\n\n\x06NOT_IN\x10\x02\"\xf2\x03\n\x11\x43omputeScheduling\x12\x64\n\x13on_host_maintenance\x18\x01 \x01(\x0e\x32G.google.events.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance\x12W\n\x0crestart_type\x18\x05 \x01(\x0e\x32\x41.google.events.cloud.vmmigration.v1.ComputeScheduling.RestartType\x12S\n\x0fnode_affinities\x18\x03 \x03(\x0b\x32:.google.events.cloud.vmmigration.v1.SchedulingNodeAffinity\x12\x15\n\rmin_node_cpus\x18\x04 \x01(\x05\"T\n\x11OnHostMaintenance\x12#\n\x1fON_HOST_MAINTENANCE_UNSPECIFIED\x10\x00\x12\r\n\tTERMINATE\x10\x01\x12\x0b\n\x07MIGRATE\x10\x02\"\\\n\x0bRestartType\x12\x1c\n\x18RESTART_TYPE_UNSPECIFIED\x10\x00\x12\x15\n\x11\x41UTOMATIC_RESTART\x10\x01\x12\x18\n\x14NO_AUTOMATIC_RESTART\x10\x02\"^\n\x0eSchedulePolicy\x12\x30\n\ridle_duration\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x1a\n\x12skip_os_adaptation\x18\x02 \x01(\x08\"\xa5\x01\n\rTargetProject\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07project\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12/\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xa2\x01\n\x05Group\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\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x05 \x01(\t\"\xee\x02\n\x10MigrationWarning\x12N\n\x04\x63ode\x18\x01 \x01(\x0e\x32@.google.events.cloud.vmmigration.v1.MigrationWarning.WarningCode\x12\x35\n\x0fwarning_message\x18\x02 \x01(\x0b\x32\x1c.google.rpc.LocalizedMessage\x12\x31\n\x0b\x61\x63tion_item\x18\x03 \x01(\x0b\x32\x1c.google.rpc.LocalizedMessage\x12)\n\nhelp_links\x18\x04 \x03(\x0b\x32\x15.google.rpc.Help.Link\x12\x30\n\x0cwarning_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"C\n\x0bWarningCode\x12\x1c\n\x18WARNING_CODE_UNSPECIFIED\x10\x00\x12\x16\n\x12\x41\x44\x41PTATION_WARNING\x10\x01\"\xe2\x02\n\x12\x41wsSourceVmDetails\x12Q\n\x08\x66irmware\x18\x01 \x01(\x0e\x32?.google.events.cloud.vmmigration.v1.AwsSourceVmDetails.Firmware\x12\x1f\n\x17\x63ommitted_storage_bytes\x18\x02 \x01(\x03\x12T\n\x05\x64isks\x18\x03 \x03(\x0b\x32\x45.google.events.cloud.vmmigration.v1.AwsSourceVmDetails.AwsDiskDetails\x1aI\n\x0e\x41wsDiskDetails\x12\x13\n\x0b\x64isk_number\x18\x01 \x01(\x05\x12\x11\n\tvolume_id\x18\x02 \x01(\t\x12\x0f\n\x07size_gb\x18\x03 \x01(\x03\"7\n\x08\x46irmware\x12\x18\n\x14\x46IRMWARE_UNSPECIFIED\x10\x00\x12\x07\n\x03\x45\x46I\x10\x01\x12\x08\n\x04\x42IOS\x10\x02\"u\n\x1aUtilizationReportEventData\x12K\n\x07payload\x18\x01 \x01(\x0b\x32\x35.google.events.cloud.vmmigration.v1.UtilizationReportH\x00\x88\x01\x01\x42\n\n\x08_payload\"]\n\x0eGroupEventData\x12?\n\x07payload\x18\x01 \x01(\x0b\x32).google.events.cloud.vmmigration.v1.GroupH\x00\x88\x01\x01\x42\n\n\x08_payload\"R\n\x11\x43loneJobEventData\x12=\n\x07payload\x18\x01 \x01(\x0b\x32,.google.events.cloud.vmmigration.v1.CloneJob\"y\n\x1c\x44\x61tacenterConnectorEventData\x12M\n\x07payload\x18\x01 \x01(\x0b\x32\x37.google.events.cloud.vmmigration.v1.DatacenterConnectorH\x00\x88\x01\x01\x42\n\n\x08_payload\"m\n\x16TargetProjectEventData\x12G\n\x07payload\x18\x01 \x01(\x0b\x32\x31.google.events.cloud.vmmigration.v1.TargetProjectH\x00\x88\x01\x01\x42\n\n\x08_payload\"V\n\x13\x43utoverJobEventData\x12?\n\x07payload\x18\x01 \x01(\x0b\x32..google.events.cloud.vmmigration.v1.CutoverJob\"_\n\x0fSourceEventData\x12@\n\x07payload\x18\x01 \x01(\x0b\x32*.google.events.cloud.vmmigration.v1.SourceH\x00\x88\x01\x01\x42\n\n\x08_payload\"i\n\x14MigratingVmEventData\x12\x45\n\x07payload\x18\x01 \x01(\x0b\x32/.google.events.cloud.vmmigration.v1.MigratingVmH\x00\x88\x01\x01\x42\n\n\x08_payload*\xb1\x01\n\x15\x43omputeEngineDiskType\x12(\n$COMPUTE_ENGINE_DISK_TYPE_UNSPECIFIED\x10\x00\x12%\n!COMPUTE_ENGINE_DISK_TYPE_STANDARD\x10\x01\x12 \n\x1c\x43OMPUTE_ENGINE_DISK_TYPE_SSD\x10\x02\x12%\n!COMPUTE_ENGINE_DISK_TYPE_BALANCED\x10\x03*\x8f\x01\n\x18\x43omputeEngineLicenseType\x12\'\n#COMPUTE_ENGINE_LICENSE_TYPE_DEFAULT\x10\x00\x12$\n COMPUTE_ENGINE_LICENSE_TYPE_PAYG\x10\x01\x12$\n COMPUTE_ENGINE_LICENSE_TYPE_BYOL\x10\x02*\x8e\x01\n\x17\x43omputeEngineBootOption\x12*\n&COMPUTE_ENGINE_BOOT_OPTION_UNSPECIFIED\x10\x00\x12\"\n\x1e\x43OMPUTE_ENGINE_BOOT_OPTION_EFI\x10\x01\x12#\n\x1f\x43OMPUTE_ENGINE_BOOT_OPTION_BIOS\x10\x02\x42|\xaa\x02+Google.Events.Protobuf.Cloud.VMMigration.V1\xca\x02\"Google\\Events\\Cloud\\VMMigration\\V1\xea\x02&Google::Events::Cloud::VMMigration::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.protobuf.Duration", "google/protobuf/duration.proto"],
|
30
|
+
["google.rpc.Status", "google/rpc/status.proto"],
|
31
|
+
["google.rpc.LocalizedMessage", "google/rpc/error_details.proto"],
|
32
|
+
]
|
33
|
+
imports.each do |type_name, expected_filename|
|
34
|
+
import_file = pool.lookup(type_name).file_descriptor
|
35
|
+
if import_file.name != expected_filename
|
36
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
37
|
+
end
|
38
|
+
end
|
39
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
40
|
+
warn "This will become an error in the next major version."
|
41
|
+
end
|
42
|
+
|
43
|
+
module Google
|
44
|
+
module Events
|
45
|
+
module Cloud
|
46
|
+
module VMMigration
|
47
|
+
module V1
|
48
|
+
ReplicationCycle = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.ReplicationCycle").msgclass
|
49
|
+
ReplicationCycle::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.ReplicationCycle.State").enummodule
|
50
|
+
CycleStep = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.CycleStep").msgclass
|
51
|
+
InitializingReplicationStep = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.InitializingReplicationStep").msgclass
|
52
|
+
ReplicatingStep = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.ReplicatingStep").msgclass
|
53
|
+
PostProcessingStep = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.PostProcessingStep").msgclass
|
54
|
+
ReplicationSync = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.ReplicationSync").msgclass
|
55
|
+
MigratingVm = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.MigratingVm").msgclass
|
56
|
+
MigratingVm::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.MigratingVm.State").enummodule
|
57
|
+
CutoverForecast = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.CutoverForecast").msgclass
|
58
|
+
CloneJob = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.CloneJob").msgclass
|
59
|
+
CloneJob::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.CloneJob.State").enummodule
|
60
|
+
CloneStep = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.CloneStep").msgclass
|
61
|
+
AdaptingOSStep = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.AdaptingOSStep").msgclass
|
62
|
+
PreparingVMDisksStep = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.PreparingVMDisksStep").msgclass
|
63
|
+
InstantiatingMigratedVMStep = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.InstantiatingMigratedVMStep").msgclass
|
64
|
+
CutoverJob = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.CutoverJob").msgclass
|
65
|
+
CutoverJob::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.CutoverJob.State").enummodule
|
66
|
+
CutoverStep = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.CutoverStep").msgclass
|
67
|
+
ShuttingDownSourceVMStep = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.ShuttingDownSourceVMStep").msgclass
|
68
|
+
Source = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.Source").msgclass
|
69
|
+
VmwareSourceDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.VmwareSourceDetails").msgclass
|
70
|
+
AwsSourceDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.AwsSourceDetails").msgclass
|
71
|
+
AwsSourceDetails::AccessKeyCredentials = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.AwsSourceDetails.AccessKeyCredentials").msgclass
|
72
|
+
AwsSourceDetails::Tag = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.AwsSourceDetails.Tag").msgclass
|
73
|
+
AwsSourceDetails::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.AwsSourceDetails.State").enummodule
|
74
|
+
DatacenterConnector = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.DatacenterConnector").msgclass
|
75
|
+
DatacenterConnector::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.DatacenterConnector.State").enummodule
|
76
|
+
UpgradeStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.UpgradeStatus").msgclass
|
77
|
+
UpgradeStatus::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.UpgradeStatus.State").enummodule
|
78
|
+
AvailableUpdates = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.AvailableUpdates").msgclass
|
79
|
+
ApplianceVersion = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.ApplianceVersion").msgclass
|
80
|
+
VmwareVmDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.VmwareVmDetails").msgclass
|
81
|
+
VmwareVmDetails::PowerState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.VmwareVmDetails.PowerState").enummodule
|
82
|
+
VmwareVmDetails::BootOption = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.VmwareVmDetails.BootOption").enummodule
|
83
|
+
UtilizationReport = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.UtilizationReport").msgclass
|
84
|
+
UtilizationReport::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.UtilizationReport.State").enummodule
|
85
|
+
UtilizationReport::TimeFrame = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.UtilizationReport.TimeFrame").enummodule
|
86
|
+
VmUtilizationInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.VmUtilizationInfo").msgclass
|
87
|
+
VmUtilizationMetrics = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.VmUtilizationMetrics").msgclass
|
88
|
+
ComputeEngineTargetDefaults = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.ComputeEngineTargetDefaults").msgclass
|
89
|
+
ComputeEngineTargetDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.ComputeEngineTargetDetails").msgclass
|
90
|
+
NetworkInterface = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.NetworkInterface").msgclass
|
91
|
+
AppliedLicense = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.AppliedLicense").msgclass
|
92
|
+
AppliedLicense::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.AppliedLicense.Type").enummodule
|
93
|
+
SchedulingNodeAffinity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.SchedulingNodeAffinity").msgclass
|
94
|
+
SchedulingNodeAffinity::Operator = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.SchedulingNodeAffinity.Operator").enummodule
|
95
|
+
ComputeScheduling = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.ComputeScheduling").msgclass
|
96
|
+
ComputeScheduling::OnHostMaintenance = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.ComputeScheduling.OnHostMaintenance").enummodule
|
97
|
+
ComputeScheduling::RestartType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.ComputeScheduling.RestartType").enummodule
|
98
|
+
SchedulePolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.SchedulePolicy").msgclass
|
99
|
+
TargetProject = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.TargetProject").msgclass
|
100
|
+
Group = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.Group").msgclass
|
101
|
+
MigrationWarning = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.MigrationWarning").msgclass
|
102
|
+
MigrationWarning::WarningCode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.MigrationWarning.WarningCode").enummodule
|
103
|
+
AwsSourceVmDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.AwsSourceVmDetails").msgclass
|
104
|
+
AwsSourceVmDetails::AwsDiskDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.AwsSourceVmDetails.AwsDiskDetails").msgclass
|
105
|
+
AwsSourceVmDetails::Firmware = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.AwsSourceVmDetails.Firmware").enummodule
|
106
|
+
UtilizationReportEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.UtilizationReportEventData").msgclass
|
107
|
+
GroupEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.GroupEventData").msgclass
|
108
|
+
CloneJobEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.CloneJobEventData").msgclass
|
109
|
+
DatacenterConnectorEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.DatacenterConnectorEventData").msgclass
|
110
|
+
TargetProjectEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.TargetProjectEventData").msgclass
|
111
|
+
CutoverJobEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.CutoverJobEventData").msgclass
|
112
|
+
SourceEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.SourceEventData").msgclass
|
113
|
+
MigratingVmEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.MigratingVmEventData").msgclass
|
114
|
+
ComputeEngineDiskType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.ComputeEngineDiskType").enummodule
|
115
|
+
ComputeEngineLicenseType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.ComputeEngineLicenseType").enummodule
|
116
|
+
ComputeEngineBootOption = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.ComputeEngineBootOption").enummodule
|
117
|
+
end
|
118
|
+
end
|
119
|
+
end
|
120
|
+
end
|
121
|
+
end
|
@@ -0,0 +1,65 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: google/events/cloud/vmmigration/v1/events.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
require 'google/events/cloud/vmmigration/v1/data_pb'
|
8
|
+
require 'google/events/cloudevent_pb'
|
9
|
+
|
10
|
+
|
11
|
+
descriptor_data = "\n/google/events/cloud/vmmigration/v1/events.proto\x12\"google.events.cloud.vmmigration.v1\x1a-google/events/cloud/vmmigration/v1/data.proto\x1a\x1egoogle/events/cloudevent.proto\"\x95\x01\n\x12SourceCreatedEvent\x12\x41\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x33.google.events.cloud.vmmigration.v1.SourceEventData:<\xb2\xf8\xd8,*google.cloud.vmmigration.source.v1.created\xca\xf8\xd8,\x08sourceid\"\x95\x01\n\x12SourceUpdatedEvent\x12\x41\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x33.google.events.cloud.vmmigration.v1.SourceEventData:<\xb2\xf8\xd8,*google.cloud.vmmigration.source.v1.updated\xca\xf8\xd8,\x08sourceid\"\x95\x01\n\x12SourceDeletedEvent\x12\x41\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x33.google.events.cloud.vmmigration.v1.SourceEventData:<\xb2\xf8\xd8,*google.cloud.vmmigration.source.v1.deleted\xca\xf8\xd8,\x08sourceid\"\xcc\x01\n\x1dUtilizationReportCreatedEvent\x12L\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32>.google.events.cloud.vmmigration.v1.UtilizationReportEventData:]\xb2\xf8\xd8,5google.cloud.vmmigration.utilizationReport.v1.created\xca\xf8\xd8,\x08sourceid\xca\xf8\xd8,\x11utilizationreport\"\xcc\x01\n\x1dUtilizationReportDeletedEvent\x12L\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32>.google.events.cloud.vmmigration.v1.UtilizationReportEventData:]\xb2\xf8\xd8,5google.cloud.vmmigration.utilizationReport.v1.deleted\xca\xf8\xd8,\x08sourceid\xca\xf8\xd8,\x11utilizationreport\"\xd4\x01\n\x1f\x44\x61tacenterConnectorCreatedEvent\x12N\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32@.google.events.cloud.vmmigration.v1.DatacenterConnectorEventData:a\xb2\xf8\xd8,7google.cloud.vmmigration.datacenterConnector.v1.created\xca\xf8\xd8,\x08sourceid\xca\xf8\xd8,\x13\x64\x61tacenterconnector\"\xd4\x01\n\x1f\x44\x61tacenterConnectorDeletedEvent\x12N\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32@.google.events.cloud.vmmigration.v1.DatacenterConnectorEventData:a\xb2\xf8\xd8,7google.cloud.vmmigration.datacenterConnector.v1.deleted\xca\xf8\xd8,\x08sourceid\xca\xf8\xd8,\x13\x64\x61tacenterconnector\"\xb4\x01\n\x17MigratingVmCreatedEvent\x12\x46\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x38.google.events.cloud.vmmigration.v1.MigratingVmEventData:Q\xb2\xf8\xd8,/google.cloud.vmmigration.migratingVm.v1.created\xca\xf8\xd8,\x08sourceid\xca\xf8\xd8,\x0bmigratingvm\"\xb4\x01\n\x17MigratingVmUpdatedEvent\x12\x46\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x38.google.events.cloud.vmmigration.v1.MigratingVmEventData:Q\xb2\xf8\xd8,/google.cloud.vmmigration.migratingVm.v1.updated\xca\xf8\xd8,\x08sourceid\xca\xf8\xd8,\x0bmigratingvm\"\xb4\x01\n\x17MigratingVmDeletedEvent\x12\x46\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x38.google.events.cloud.vmmigration.v1.MigratingVmEventData:Q\xb2\xf8\xd8,/google.cloud.vmmigration.migratingVm.v1.deleted\xca\xf8\xd8,\x08sourceid\xca\xf8\xd8,\x0bmigratingvm\"\xb8\x01\n\x14\x43loneJobCreatedEvent\x12\x43\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x35.google.events.cloud.vmmigration.v1.CloneJobEventData:[\xb2\xf8\xd8,,google.cloud.vmmigration.cloneJob.v1.created\xca\xf8\xd8,\x08sourceid\xca\xf8\xd8,\x0bmigratingvm\xca\xf8\xd8,\x08\x63lonejob\"\xc0\x01\n\x16\x43utoverJobCreatedEvent\x12\x45\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x37.google.events.cloud.vmmigration.v1.CutoverJobEventData:_\xb2\xf8\xd8,.google.cloud.vmmigration.cutoverJob.v1.created\xca\xf8\xd8,\x08sourceid\xca\xf8\xd8,\x0bmigratingvm\xca\xf8\xd8,\ncutoverjob\"\x8f\x01\n\x11GroupCreatedEvent\x12@\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x32.google.events.cloud.vmmigration.v1.GroupEventData:8\xb2\xf8\xd8,)google.cloud.vmmigration.group.v1.created\xca\xf8\xd8,\x05group\"\x8f\x01\n\x11GroupUpdatedEvent\x12@\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x32.google.events.cloud.vmmigration.v1.GroupEventData:8\xb2\xf8\xd8,)google.cloud.vmmigration.group.v1.updated\xca\xf8\xd8,\x05group\"\x8f\x01\n\x11GroupDeletedEvent\x12@\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x32.google.events.cloud.vmmigration.v1.GroupEventData:8\xb2\xf8\xd8,)google.cloud.vmmigration.group.v1.deleted\xca\xf8\xd8,\x05group\"\xaf\x01\n\x19TargetProjectCreatedEvent\x12H\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32:.google.events.cloud.vmmigration.v1.TargetProjectEventData:H\xb2\xf8\xd8,1google.cloud.vmmigration.targetProject.v1.created\xca\xf8\xd8,\rtargetproject\"\xaf\x01\n\x19TargetProjectUpdatedEvent\x12H\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32:.google.events.cloud.vmmigration.v1.TargetProjectEventData:H\xb2\xf8\xd8,1google.cloud.vmmigration.targetProject.v1.updated\xca\xf8\xd8,\rtargetproject\"\xaf\x01\n\x19TargetProjectDeletedEvent\x12H\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32:.google.events.cloud.vmmigration.v1.TargetProjectEventData:H\xb2\xf8\xd8,1google.cloud.vmmigration.targetProject.v1.deleted\xca\xf8\xd8,\rtargetprojectB\xd5\x06\xaa\x02+Google.Events.Protobuf.Cloud.VMMigration.V1\xca\x02\"Google\\Events\\Cloud\\VMMigration\\V1\xea\x02&Google::Events::Cloud::VMMigration::V1\xba\xf8\xd8,\x0cVM Migration\xc2\xf8\xd8,I\n\x08sourceid\x12\x33The resource ID of the Source triggering the event.\x1a\x08sourceId\xc2\xf8\xd8,f\n\x11utilizationreport\x12>The resource ID of the UtilizationReport triggering the event.\x1a\x11utilizationReport\xc2\xf8\xd8,l\n\x13\x64\x61tacenterconnector\x12@The resource ID of the DatacenterConnector triggering the event.\x1a\x13\x64\x61tacenterConnector\xc2\xf8\xd8,T\n\x0bmigratingvm\x12\x38The resource ID of the MigratingVm triggering the event.\x1a\x0bmigratingVm\xc2\xf8\xd8,K\n\x08\x63lonejob\x12\x35The resource ID of the CloneJob triggering the event.\x1a\x08\x63loneJob\xc2\xf8\xd8,Q\n\ncutoverjob\x12\x37The resource ID of the CutoverJob triggering the event.\x1a\ncutoverJob\xc2\xf8\xd8,;\n\x05group\x12\x32The resource ID of the Group triggering the event.\xc2\xf8\xd8,Z\n\rtargetproject\x12:The resource ID of the TargetProject triggering the event.\x1a\rtargetProjectb\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.vmmigration.v1.SourceEventData", "google/events/cloud/vmmigration/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 VMMigration
|
42
|
+
module V1
|
43
|
+
SourceCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.SourceCreatedEvent").msgclass
|
44
|
+
SourceUpdatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.SourceUpdatedEvent").msgclass
|
45
|
+
SourceDeletedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.SourceDeletedEvent").msgclass
|
46
|
+
UtilizationReportCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.UtilizationReportCreatedEvent").msgclass
|
47
|
+
UtilizationReportDeletedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.UtilizationReportDeletedEvent").msgclass
|
48
|
+
DatacenterConnectorCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.DatacenterConnectorCreatedEvent").msgclass
|
49
|
+
DatacenterConnectorDeletedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.DatacenterConnectorDeletedEvent").msgclass
|
50
|
+
MigratingVmCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.MigratingVmCreatedEvent").msgclass
|
51
|
+
MigratingVmUpdatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.MigratingVmUpdatedEvent").msgclass
|
52
|
+
MigratingVmDeletedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.MigratingVmDeletedEvent").msgclass
|
53
|
+
CloneJobCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.CloneJobCreatedEvent").msgclass
|
54
|
+
CutoverJobCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.CutoverJobCreatedEvent").msgclass
|
55
|
+
GroupCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.GroupCreatedEvent").msgclass
|
56
|
+
GroupUpdatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.GroupUpdatedEvent").msgclass
|
57
|
+
GroupDeletedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.GroupDeletedEvent").msgclass
|
58
|
+
TargetProjectCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.TargetProjectCreatedEvent").msgclass
|
59
|
+
TargetProjectUpdatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.TargetProjectUpdatedEvent").msgclass
|
60
|
+
TargetProjectDeletedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.vmmigration.v1.TargetProjectDeletedEvent").msgclass
|
61
|
+
end
|
62
|
+
end
|
63
|
+
end
|
64
|
+
end
|
65
|
+
end
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
3
|
# source: google/events/cloud/workflows/v1/data.proto
|
3
4
|
|
@@ -5,30 +6,32 @@ require 'google/protobuf'
|
|
5
6
|
|
6
7
|
require 'google/protobuf/timestamp_pb'
|
7
8
|
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
9
|
+
|
10
|
+
descriptor_data = "\n+google/events/cloud/workflows/v1/data.proto\x12 google.events.cloud.workflows.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\x85\x04\n\x08Workflow\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12?\n\x05state\x18\x03 \x01(\x0e\x32\x30.google.events.cloud.workflows.v1.Workflow.State\x12\x13\n\x0brevision_id\x18\x04 \x01(\t\x12/\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x38\n\x14revision_create_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x46\n\x06labels\x18\x08 \x03(\x0b\x32\x36.google.events.cloud.workflows.v1.Workflow.LabelsEntry\x12\x17\n\x0fservice_account\x18\t \x01(\t\x12\x19\n\x0fsource_contents\x18\n \x01(\tH\x00\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"*\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x42\r\n\x0bsource_code\"a\n\x11WorkflowEventData\x12@\n\x07payload\x18\x01 \x01(\x0b\x32*.google.events.cloud.workflows.v1.WorkflowH\x00\x88\x01\x01\x42\n\n\x08_payloadBv\xaa\x02)Google.Events.Protobuf.Cloud.Workflows.V1\xca\x02 Google\\Events\\Cloud\\Workflows\\V1\xea\x02$Google::Events::Cloud::Workflows::V1b\x06proto3"
|
11
|
+
|
12
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
13
|
+
|
14
|
+
begin
|
15
|
+
pool.add_serialized_file(descriptor_data)
|
16
|
+
rescue TypeError => e
|
17
|
+
# Compatibility code: will be removed in the next major version.
|
18
|
+
require 'google/protobuf/descriptor_pb'
|
19
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
20
|
+
parsed.clear_dependency
|
21
|
+
serialized = parsed.class.encode(parsed)
|
22
|
+
file = pool.add_serialized_file(serialized)
|
23
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
24
|
+
imports = [
|
25
|
+
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
26
|
+
]
|
27
|
+
imports.each do |type_name, expected_filename|
|
28
|
+
import_file = pool.lookup(type_name).file_descriptor
|
29
|
+
if import_file.name != expected_filename
|
30
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
30
31
|
end
|
31
32
|
end
|
33
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
34
|
+
warn "This will become an error in the next major version."
|
32
35
|
end
|
33
36
|
|
34
37
|
module Google
|