google-events 0.5.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +11 -0
- data/lib/google/events/cloud/alloydb/v1/data_pb.rb +1 -25
- data/lib/google/events/cloud/alloydb/v1/events_pb.rb +1 -23
- data/lib/google/events/cloud/apigateway/v1/data_pb.rb +1 -23
- data/lib/google/events/cloud/apigateway/v1/events_pb.rb +1 -23
- data/lib/google/events/cloud/apigeeregistry/v1/data_pb.rb +1 -23
- data/lib/google/events/cloud/apigeeregistry/v1/events_pb.rb +1 -23
- data/lib/google/events/cloud/audit/v1/data_pb.rb +1 -27
- data/lib/google/events/cloud/audit/v1/events_pb.rb +1 -23
- data/lib/google/events/cloud/batch/v1/data_pb.rb +68 -0
- data/lib/google/events/cloud/batch/v1/events_pb.rb +27 -0
- data/lib/google/events/cloud/beyondcorp/appconnections/v1/data_pb.rb +1 -23
- data/lib/google/events/cloud/beyondcorp/appconnections/v1/events_pb.rb +1 -23
- data/lib/google/events/cloud/beyondcorp/appconnectors/v1/data_pb.rb +1 -23
- data/lib/google/events/cloud/beyondcorp/appconnectors/v1/events_pb.rb +1 -23
- data/lib/google/events/cloud/beyondcorp/appgateways/v1/data_pb.rb +1 -23
- data/lib/google/events/cloud/beyondcorp/appgateways/v1/events_pb.rb +1 -23
- data/lib/google/events/cloud/beyondcorp/clientconnectorservices/v1/data_pb.rb +1 -23
- data/lib/google/events/cloud/beyondcorp/clientconnectorservices/v1/events_pb.rb +1 -23
- data/lib/google/events/cloud/beyondcorp/clientgateways/v1/data_pb.rb +1 -23
- data/lib/google/events/cloud/beyondcorp/clientgateways/v1/events_pb.rb +1 -23
- data/lib/google/events/cloud/certificatemanager/v1/data_pb.rb +1 -24
- data/lib/google/events/cloud/certificatemanager/v1/events_pb.rb +1 -23
- data/lib/google/events/cloud/cloudbuild/v1/data_pb.rb +1 -24
- data/lib/google/events/cloud/cloudbuild/v1/events_pb.rb +1 -23
- data/lib/google/events/cloud/clouddms/v1/data_pb.rb +1 -26
- data/lib/google/events/cloud/clouddms/v1/events_pb.rb +1 -23
- data/lib/google/events/cloud/dataflow/v1beta3/data_pb.rb +1 -24
- data/lib/google/events/cloud/dataflow/v1beta3/events_pb.rb +1 -23
- data/lib/google/events/cloud/datafusion/v1/data_pb.rb +1 -23
- data/lib/google/events/cloud/datafusion/v1/events_pb.rb +1 -23
- data/lib/google/events/cloud/dataplex/v1/data_pb.rb +1 -24
- data/lib/google/events/cloud/dataplex/v1/events_pb.rb +1 -23
- data/lib/google/events/cloud/datastore/v1/data_pb.rb +1 -24
- data/lib/google/events/cloud/datastore/v1/events_pb.rb +6 -24
- data/lib/google/events/cloud/datastream/v1/data_pb.rb +1 -24
- data/lib/google/events/cloud/datastream/v1/events_pb.rb +1 -23
- data/lib/google/events/cloud/deploy/v1/data_pb.rb +113 -0
- data/lib/google/events/cloud/deploy/v1/events_pb.rb +39 -0
- data/lib/google/events/cloud/eventarc/v1/data_pb.rb +1 -23
- data/lib/google/events/cloud/eventarc/v1/events_pb.rb +1 -23
- data/lib/google/events/cloud/firestore/v1/data_pb.rb +1 -24
- data/lib/google/events/cloud/firestore/v1/events_pb.rb +6 -24
- data/lib/google/events/cloud/functions/v2/data_pb.rb +1 -23
- data/lib/google/events/cloud/functions/v2/events_pb.rb +1 -23
- data/lib/google/events/cloud/gkebackup/v1/data_pb.rb +3 -25
- data/lib/google/events/cloud/gkebackup/v1/events_pb.rb +3 -25
- data/lib/google/events/cloud/gkehub/v1/data_pb.rb +1 -23
- data/lib/google/events/cloud/gkehub/v1/events_pb.rb +1 -23
- data/lib/google/events/cloud/iot/v1/data_pb.rb +1 -24
- data/lib/google/events/cloud/iot/v1/events_pb.rb +1 -23
- data/lib/google/events/cloud/memcache/v1/data_pb.rb +1 -25
- data/lib/google/events/cloud/memcache/v1/events_pb.rb +1 -23
- data/lib/google/events/cloud/metastore/v1/data_pb.rb +1 -24
- data/lib/google/events/cloud/metastore/v1/events_pb.rb +1 -23
- data/lib/google/events/cloud/networkconnectivity/v1/data_pb.rb +1 -24
- data/lib/google/events/cloud/networkconnectivity/v1/events_pb.rb +1 -23
- data/lib/google/events/cloud/networkmanagement/v1/data_pb.rb +1 -24
- data/lib/google/events/cloud/networkmanagement/v1/events_pb.rb +1 -23
- data/lib/google/events/cloud/networkservices/v1/data_pb.rb +85 -0
- data/lib/google/events/cloud/networkservices/v1/events_pb.rb +48 -0
- data/lib/google/events/cloud/notebooks/v1/data_pb.rb +1 -23
- data/lib/google/events/cloud/notebooks/v1/events_pb.rb +1 -23
- data/lib/google/events/cloud/pubsub/v1/data_pb.rb +1 -23
- data/lib/google/events/cloud/pubsub/v1/events_pb.rb +1 -23
- data/lib/google/events/cloud/redis/v1/data_pb.rb +1 -25
- data/lib/google/events/cloud/redis/v1/events_pb.rb +1 -23
- data/lib/google/events/cloud/scheduler/v1/data_pb.rb +17 -23
- data/lib/google/events/cloud/scheduler/v1/events_pb.rb +5 -24
- data/lib/google/events/cloud/speech/v1/data_pb.rb +32 -0
- data/lib/google/events/cloud/speech/v1/events_pb.rb +31 -0
- data/lib/google/events/cloud/storage/v1/data_pb.rb +1 -23
- data/lib/google/events/cloud/storage/v1/events_pb.rb +1 -23
- data/lib/google/events/cloud/video/transcoder/v1/data_pb.rb +1 -25
- data/lib/google/events/cloud/video/transcoder/v1/events_pb.rb +1 -23
- data/lib/google/events/cloud/visionai/v1/data_pb.rb +1 -24
- data/lib/google/events/cloud/visionai/v1/events_pb.rb +1 -23
- data/lib/google/events/cloud/vmmigration/v1/data_pb.rb +1 -26
- data/lib/google/events/cloud/vmmigration/v1/events_pb.rb +1 -23
- data/lib/google/events/cloud/workflows/v1/data_pb.rb +1 -23
- data/lib/google/events/cloud/workflows/v1/events_pb.rb +1 -23
- data/lib/google/events/cloudevent_pb.rb +1 -22
- data/lib/google/events/firebase/analytics/v1/data_pb.rb +1 -22
- data/lib/google/events/firebase/analytics/v1/events_pb.rb +1 -23
- data/lib/google/events/firebase/auth/v1/data_pb.rb +1 -24
- data/lib/google/events/firebase/auth/v1/events_pb.rb +1 -23
- data/lib/google/events/firebase/database/v1/data_pb.rb +1 -23
- data/lib/google/events/firebase/database/v1/events_pb.rb +1 -23
- data/lib/google/events/firebase/firebasealerts/v1/cloud_event_payload_pb.rb +1 -24
- data/lib/google/events/firebase/firebasealerts/v1/data_pb.rb +1 -24
- data/lib/google/events/firebase/firebasealerts/v1/events_pb.rb +1 -23
- data/lib/google/events/firebase/remoteconfig/v1/data_pb.rb +1 -23
- data/lib/google/events/firebase/remoteconfig/v1/events_pb.rb +1 -23
- data/lib/google/events/firebase/testlab/v1/data_pb.rb +1 -23
- data/lib/google/events/firebase/testlab/v1/events_pb.rb +1 -23
- data/lib/google/events/version.rb +1 -1
- metadata +11 -3
@@ -12,30 +12,7 @@ require 'google/protobuf/timestamp_pb'
|
|
12
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
13
|
|
14
14
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
15
|
-
|
16
|
-
begin
|
17
|
-
pool.add_serialized_file(descriptor_data)
|
18
|
-
rescue TypeError
|
19
|
-
# Compatibility code: will be removed in the next major version.
|
20
|
-
require 'google/protobuf/descriptor_pb'
|
21
|
-
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
22
|
-
parsed.clear_dependency
|
23
|
-
serialized = parsed.class.encode(parsed)
|
24
|
-
file = pool.add_serialized_file(serialized)
|
25
|
-
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
26
|
-
imports = [
|
27
|
-
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
28
|
-
["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
|
15
|
+
pool.add_serialized_file(descriptor_data)
|
39
16
|
|
40
17
|
module Google
|
41
18
|
module Events
|
@@ -11,29 +11,7 @@ require 'google/events/cloudevent_pb'
|
|
11
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
12
|
|
13
13
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
14
|
-
|
15
|
-
begin
|
16
|
-
pool.add_serialized_file(descriptor_data)
|
17
|
-
rescue TypeError
|
18
|
-
# Compatibility code: will be removed in the next major version.
|
19
|
-
require 'google/protobuf/descriptor_pb'
|
20
|
-
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
21
|
-
parsed.clear_dependency
|
22
|
-
serialized = parsed.class.encode(parsed)
|
23
|
-
file = pool.add_serialized_file(serialized)
|
24
|
-
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
25
|
-
imports = [
|
26
|
-
["google.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
|
14
|
+
pool.add_serialized_file(descriptor_data)
|
37
15
|
|
38
16
|
module Google
|
39
17
|
module Events
|
@@ -13,32 +13,7 @@ require 'google/rpc/status_pb'
|
|
13
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
14
|
|
15
15
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
16
|
-
|
17
|
-
begin
|
18
|
-
pool.add_serialized_file(descriptor_data)
|
19
|
-
rescue TypeError
|
20
|
-
# Compatibility code: will be removed in the next major version.
|
21
|
-
require 'google/protobuf/descriptor_pb'
|
22
|
-
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
23
|
-
parsed.clear_dependency
|
24
|
-
serialized = parsed.class.encode(parsed)
|
25
|
-
file = pool.add_serialized_file(serialized)
|
26
|
-
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
27
|
-
imports = [
|
28
|
-
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
29
|
-
["google.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
|
16
|
+
pool.add_serialized_file(descriptor_data)
|
42
17
|
|
43
18
|
module Google
|
44
19
|
module Events
|
@@ -11,29 +11,7 @@ require 'google/events/cloudevent_pb'
|
|
11
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
12
|
|
13
13
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
14
|
-
|
15
|
-
begin
|
16
|
-
pool.add_serialized_file(descriptor_data)
|
17
|
-
rescue TypeError
|
18
|
-
# Compatibility code: will be removed in the next major version.
|
19
|
-
require 'google/protobuf/descriptor_pb'
|
20
|
-
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
21
|
-
parsed.clear_dependency
|
22
|
-
serialized = parsed.class.encode(parsed)
|
23
|
-
file = pool.add_serialized_file(serialized)
|
24
|
-
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
25
|
-
imports = [
|
26
|
-
["google.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
|
14
|
+
pool.add_serialized_file(descriptor_data)
|
37
15
|
|
38
16
|
module Google
|
39
17
|
module Events
|
@@ -10,29 +10,7 @@ require 'google/protobuf/timestamp_pb'
|
|
10
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
11
|
|
12
12
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
13
|
-
|
14
|
-
begin
|
15
|
-
pool.add_serialized_file(descriptor_data)
|
16
|
-
rescue TypeError
|
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}"
|
31
|
-
end
|
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."
|
35
|
-
end
|
13
|
+
pool.add_serialized_file(descriptor_data)
|
36
14
|
|
37
15
|
module Google
|
38
16
|
module Events
|
@@ -11,29 +11,7 @@ require 'google/events/cloudevent_pb'
|
|
11
11
|
descriptor_data = "\n-google/events/cloud/workflows/v1/events.proto\x12 google.events.cloud.workflows.v1\x1a+google/events/cloud/workflows/v1/data.proto\x1a\x1egoogle/events/cloudevent.proto\"\x97\x01\n\x14WorkflowCreatedEvent\x12\x41\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x33.google.events.cloud.workflows.v1.WorkflowEventData:<\xb2\xf8\xd8,*google.cloud.workflows.workflow.v1.created\xca\xf8\xd8,\x08workflow\"\x97\x01\n\x14WorkflowDeletedEvent\x12\x41\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x33.google.events.cloud.workflows.v1.WorkflowEventData:<\xb2\xf8\xd8,*google.cloud.workflows.workflow.v1.deleted\xca\xf8\xd8,\x08workflow\"\x97\x01\n\x14WorkflowUpdatedEvent\x12\x41\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x33.google.events.cloud.workflows.v1.WorkflowEventData:<\xb2\xf8\xd8,*google.cloud.workflows.workflow.v1.updated\xca\xf8\xd8,\x08workflowB\xca\x01\xaa\x02)Google.Events.Protobuf.Cloud.Workflows.V1\xca\x02 Google\\Events\\Cloud\\Workflows\\V1\xea\x02$Google::Events::Cloud::Workflows::V1\xba\xf8\xd8,\tWorkflows\xc2\xf8\xd8,A\n\x08workflow\x12\x35The resource ID of the Workflow triggering the event.b\x06proto3"
|
12
12
|
|
13
13
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
14
|
-
|
15
|
-
begin
|
16
|
-
pool.add_serialized_file(descriptor_data)
|
17
|
-
rescue TypeError
|
18
|
-
# Compatibility code: will be removed in the next major version.
|
19
|
-
require 'google/protobuf/descriptor_pb'
|
20
|
-
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
21
|
-
parsed.clear_dependency
|
22
|
-
serialized = parsed.class.encode(parsed)
|
23
|
-
file = pool.add_serialized_file(serialized)
|
24
|
-
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
25
|
-
imports = [
|
26
|
-
["google.events.cloud.workflows.v1.WorkflowEventData", "google/events/cloud/workflows/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
|
14
|
+
pool.add_serialized_file(descriptor_data)
|
37
15
|
|
38
16
|
module Google
|
39
17
|
module Events
|
@@ -10,28 +10,7 @@ require 'google/protobuf/descriptor_pb'
|
|
10
10
|
descriptor_data = "\n\x1egoogle/events/cloudevent.proto\x12\rgoogle.events\x1a google/protobuf/descriptor.proto\"P\n\x12\x45xtensionAttribute\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x17\n\x0f\x63\x61mel_case_name\x18\x03 \x01(\t:<\n\x10\x63loud_event_type\x12\x1f.google.protobuf.MessageOptions\x18\x86\x8f\xcb\x05 \x01(\t:<\n\x13\x63loud_event_product\x12\x1c.google.protobuf.FileOptions\x18\x87\x8f\xcb\x05 \x01(\t:k\n\x1f\x63loud_event_extension_attribute\x12\x1c.google.protobuf.FileOptions\x18\x88\x8f\xcb\x05 \x03(\x0b\x32!.google.events.ExtensionAttribute:F\n\x1a\x63loud_event_extension_name\x12\x1f.google.protobuf.MessageOptions\x18\x89\x8f\xcb\x05 \x03(\tB<P\x01\xaa\x02\x16Google.Events.Protobuf\xca\x02\rGoogle\\Events\xea\x02\x0eGoogle::Eventsb\x06proto3"
|
11
11
|
|
12
12
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
13
|
-
|
14
|
-
begin
|
15
|
-
pool.add_serialized_file(descriptor_data)
|
16
|
-
rescue TypeError
|
17
|
-
# Compatibility code: will be removed in the next major version.
|
18
|
-
require 'google/protobuf/descriptor_pb'
|
19
|
-
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
20
|
-
parsed.clear_dependency
|
21
|
-
serialized = parsed.class.encode(parsed)
|
22
|
-
file = pool.add_serialized_file(serialized)
|
23
|
-
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
24
|
-
imports = [
|
25
|
-
]
|
26
|
-
imports.each do |type_name, expected_filename|
|
27
|
-
import_file = pool.lookup(type_name).file_descriptor
|
28
|
-
if import_file.name != expected_filename
|
29
|
-
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
30
|
-
end
|
31
|
-
end
|
32
|
-
warn "Each proto file must use a consistent fully-qualified name."
|
33
|
-
warn "This will become an error in the next major version."
|
34
|
-
end
|
13
|
+
pool.add_serialized_file(descriptor_data)
|
35
14
|
|
36
15
|
module Google
|
37
16
|
module Events
|
@@ -8,28 +8,7 @@ require 'google/protobuf'
|
|
8
8
|
descriptor_data = "\n.google/events/firebase/analytics/v1/data.proto\x12#google.events.firebase.analytics.v1\"\xa2\x01\n\x10\x41nalyticsLogData\x12\x45\n\x08user_dim\x18\x01 \x01(\x0b\x32\x33.google.events.firebase.analytics.v1.UserDimensions\x12G\n\tevent_dim\x18\x02 \x03(\x0b\x32\x34.google.events.firebase.analytics.v1.EventDimensions\"\xb5\x05\n\x0eUserDimensions\x12\x0f\n\x07user_id\x18\x01 \x01(\t\x12#\n\x1b\x66irst_open_timestamp_micros\x18\x02 \x01(\x03\x12`\n\x0fuser_properties\x18\x03 \x03(\x0b\x32G.google.events.firebase.analytics.v1.UserDimensions.UserPropertiesEntry\x12\x44\n\x0b\x64\x65vice_info\x18\x04 \x01(\x0b\x32/.google.events.firebase.analytics.v1.DeviceInfo\x12>\n\x08geo_info\x18\x05 \x01(\x0b\x32,.google.events.firebase.analytics.v1.GeoInfo\x12>\n\x08\x61pp_info\x18\x06 \x01(\x0b\x32,.google.events.firebase.analytics.v1.AppInfo\x12J\n\x0etraffic_source\x18\x07 \x01(\x0b\x32\x32.google.events.firebase.analytics.v1.TrafficSource\x12J\n\x0b\x62undle_info\x18\x08 \x01(\x0b\x32\x35.google.events.firebase.analytics.v1.ExportBundleInfo\x12>\n\x08ltv_info\x18\t \x01(\x0b\x32,.google.events.firebase.analytics.v1.LtvInfo\x1am\n\x13UserPropertiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x45\n\x05value\x18\x02 \x01(\x0b\x32\x36.google.events.firebase.analytics.v1.UserPropertyValue:\x02\x38\x01\"\x82\x01\n\x11UserPropertyValue\x12\x42\n\x05value\x18\x01 \x01(\x0b\x32\x33.google.events.firebase.analytics.v1.AnalyticsValue\x12\x1a\n\x12set_timestamp_usec\x18\x02 \x01(\x03\x12\r\n\x05index\x18\x03 \x01(\x05\"{\n\x0e\x41nalyticsValue\x12\x16\n\x0cstring_value\x18\x01 \x01(\tH\x00\x12\x13\n\tint_value\x18\x02 \x01(\x03H\x00\x12\x15\n\x0b\x66loat_value\x18\x03 \x01(\x02H\x00\x12\x16\n\x0c\x64ouble_value\x18\x04 \x01(\x01H\x00\x42\r\n\x0bparam_value\"\xc0\x02\n\nDeviceInfo\x12\x17\n\x0f\x64\x65vice_category\x18\x01 \x01(\t\x12\x19\n\x11mobile_brand_name\x18\x02 \x01(\t\x12\x19\n\x11mobile_model_name\x18\x03 \x01(\t\x12\x1d\n\x15mobile_marketing_name\x18\x04 \x01(\t\x12\x14\n\x0c\x64\x65vice_model\x18\x0c \x01(\t\x12\x18\n\x10platform_version\x18\x06 \x01(\t\x12\x11\n\tdevice_id\x18\x07 \x01(\t\x12\x1c\n\x14resettable_device_id\x18\x08 \x01(\t\x12\x1d\n\x15user_default_language\x18\t \x01(\t\x12\'\n\x1f\x64\x65vice_time_zone_offset_seconds\x18\n \x01(\x05\x12\x1b\n\x13limited_ad_tracking\x18\x0b \x01(\x08\"p\n\x07\x41ppInfo\x12\x13\n\x0b\x61pp_version\x18\x01 \x01(\t\x12\x17\n\x0f\x61pp_instance_id\x18\x02 \x01(\t\x12\x11\n\tapp_store\x18\x03 \x01(\t\x12\x14\n\x0c\x61pp_platform\x18\x04 \x01(\t\x12\x0e\n\x06\x61pp_id\x18\x05 \x01(\t\"K\n\x07GeoInfo\x12\x11\n\tcontinent\x18\x01 \x01(\t\x12\x0f\n\x07\x63ountry\x18\x02 \x01(\t\x12\x0e\n\x06region\x18\x03 \x01(\t\x12\x0c\n\x04\x63ity\x18\x04 \x01(\t\"k\n\rTrafficSource\x12\x1e\n\x16user_acquired_campaign\x18\x02 \x01(\t\x12\x1c\n\x14user_acquired_source\x18\x03 \x01(\t\x12\x1c\n\x14user_acquired_medium\x18\x04 \x01(\t\"V\n\x10\x45xportBundleInfo\x12\x1a\n\x12\x62undle_sequence_id\x18\x01 \x01(\x05\x12&\n\x1eserver_timestamp_offset_micros\x18\x02 \x01(\x03\",\n\x07LtvInfo\x12\x0f\n\x07revenue\x18\x01 \x01(\x01\x12\x10\n\x08\x63urrency\x18\x02 \x01(\t\"\xb6\x02\n\x0f\x45ventDimensions\x12\x0c\n\x04\x64\x61te\x18\x06 \x01(\t\x12\x0c\n\x04name\x18\x01 \x01(\t\x12P\n\x06params\x18\x02 \x03(\x0b\x32@.google.events.firebase.analytics.v1.EventDimensions.ParamsEntry\x12\x18\n\x10timestamp_micros\x18\x04 \x01(\x03\x12!\n\x19previous_timestamp_micros\x18\x05 \x01(\x03\x12\x14\n\x0cvalue_in_usd\x18\x07 \x01(\x01\x1a\x62\n\x0bParamsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x42\n\x05value\x18\x02 \x01(\x0b\x32\x33.google.events.firebase.analytics.v1.AnalyticsValue:\x02\x38\x01\x42\x7f\xaa\x02,Google.Events.Protobuf.Firebase.Analytics.V1\xca\x02#Google\\Events\\Firebase\\Analytics\\V1\xea\x02\'Google::Events::Firebase::Analytics::V1b\x06proto3"
|
9
9
|
|
10
10
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
11
|
-
|
12
|
-
begin
|
13
|
-
pool.add_serialized_file(descriptor_data)
|
14
|
-
rescue TypeError
|
15
|
-
# Compatibility code: will be removed in the next major version.
|
16
|
-
require 'google/protobuf/descriptor_pb'
|
17
|
-
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
18
|
-
parsed.clear_dependency
|
19
|
-
serialized = parsed.class.encode(parsed)
|
20
|
-
file = pool.add_serialized_file(serialized)
|
21
|
-
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
22
|
-
imports = [
|
23
|
-
]
|
24
|
-
imports.each do |type_name, expected_filename|
|
25
|
-
import_file = pool.lookup(type_name).file_descriptor
|
26
|
-
if import_file.name != expected_filename
|
27
|
-
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
28
|
-
end
|
29
|
-
end
|
30
|
-
warn "Each proto file must use a consistent fully-qualified name."
|
31
|
-
warn "This will become an error in the next major version."
|
32
|
-
end
|
11
|
+
pool.add_serialized_file(descriptor_data)
|
33
12
|
|
34
13
|
module Google
|
35
14
|
module Events
|
@@ -11,29 +11,7 @@ require 'google/events/firebase/analytics/v1/data_pb'
|
|
11
11
|
descriptor_data = "\n0google/events/firebase/analytics/v1/events.proto\x12#google.events.firebase.analytics.v1\x1a\x1egoogle/events/cloudevent.proto\x1a.google/events/firebase/analytics/v1/data.proto\"\x8e\x01\n\x18\x41nalyticsLogWrittenEvent\x12\x43\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x35.google.events.firebase.analytics.v1.AnalyticsLogData:-\xb2\xf8\xd8,(google.firebase.analytics.log.v1.writtenB\xa1\x01\xaa\x02,Google.Events.Protobuf.Firebase.Analytics.V1\xca\x02#Google\\Events\\Firebase\\Analytics\\V1\xea\x02\'Google::Events::Firebase::Analytics::V1\xba\xf8\xd8,\x1dGoogle Analytics for Firebaseb\x06proto3"
|
12
12
|
|
13
13
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
14
|
-
|
15
|
-
begin
|
16
|
-
pool.add_serialized_file(descriptor_data)
|
17
|
-
rescue TypeError
|
18
|
-
# Compatibility code: will be removed in the next major version.
|
19
|
-
require 'google/protobuf/descriptor_pb'
|
20
|
-
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
21
|
-
parsed.clear_dependency
|
22
|
-
serialized = parsed.class.encode(parsed)
|
23
|
-
file = pool.add_serialized_file(serialized)
|
24
|
-
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
25
|
-
imports = [
|
26
|
-
["google.events.firebase.analytics.v1.AnalyticsLogData", "google/events/firebase/analytics/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
|
14
|
+
pool.add_serialized_file(descriptor_data)
|
37
15
|
|
38
16
|
module Google
|
39
17
|
module Events
|
@@ -11,30 +11,7 @@ require 'google/protobuf/timestamp_pb'
|
|
11
11
|
descriptor_data = "\n)google/events/firebase/auth/v1/data.proto\x12\x1egoogle.events.firebase.auth.v1\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xc5\x02\n\rAuthEventData\x12\x0b\n\x03uid\x18\x01 \x01(\t\x12\r\n\x05\x65mail\x18\x02 \x01(\t\x12\x16\n\x0e\x65mail_verified\x18\x03 \x01(\x08\x12\x14\n\x0c\x64isplay_name\x18\x04 \x01(\t\x12\x11\n\tphoto_URL\x18\x05 \x01(\t\x12\x10\n\x08\x64isabled\x18\x06 \x01(\x08\x12>\n\x08metadata\x18\x07 \x01(\x0b\x32,.google.events.firebase.auth.v1.UserMetadata\x12?\n\rprovider_data\x18\x08 \x03(\x0b\x32(.google.events.firebase.auth.v1.UserInfo\x12\x14\n\x0cphone_number\x18\t \x01(\t\x12.\n\rcustom_claims\x18\n \x01(\x0b\x32\x17.google.protobuf.Struct\"v\n\x0cUserMetadata\x12/\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x11last_sign_in_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"d\n\x08UserInfo\x12\x0b\n\x03uid\x18\x01 \x01(\t\x12\r\n\x05\x65mail\x18\x02 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x03 \x01(\t\x12\x11\n\tphoto_URL\x18\x04 \x01(\t\x12\x13\n\x0bprovider_id\x18\x05 \x01(\tBp\xaa\x02\'Google.Events.Protobuf.Firebase.Auth.V1\xca\x02\x1eGoogle\\Events\\Firebase\\Auth\\V1\xea\x02\"Google::Events::Firebase::Auth::V1b\x06proto3"
|
12
12
|
|
13
13
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
14
|
-
|
15
|
-
begin
|
16
|
-
pool.add_serialized_file(descriptor_data)
|
17
|
-
rescue TypeError
|
18
|
-
# Compatibility code: will be removed in the next major version.
|
19
|
-
require 'google/protobuf/descriptor_pb'
|
20
|
-
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
21
|
-
parsed.clear_dependency
|
22
|
-
serialized = parsed.class.encode(parsed)
|
23
|
-
file = pool.add_serialized_file(serialized)
|
24
|
-
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
25
|
-
imports = [
|
26
|
-
["google.protobuf.Struct", "google/protobuf/struct.proto"],
|
27
|
-
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
28
|
-
]
|
29
|
-
imports.each do |type_name, expected_filename|
|
30
|
-
import_file = pool.lookup(type_name).file_descriptor
|
31
|
-
if import_file.name != expected_filename
|
32
|
-
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
33
|
-
end
|
34
|
-
end
|
35
|
-
warn "Each proto file must use a consistent fully-qualified name."
|
36
|
-
warn "This will become an error in the next major version."
|
37
|
-
end
|
14
|
+
pool.add_serialized_file(descriptor_data)
|
38
15
|
|
39
16
|
module Google
|
40
17
|
module Events
|
@@ -11,29 +11,7 @@ require 'google/events/firebase/auth/v1/data_pb'
|
|
11
11
|
descriptor_data = "\n+google/events/firebase/auth/v1/events.proto\x12\x1egoogle.events.firebase.auth.v1\x1a\x1egoogle/events/cloudevent.proto\x1a)google/events/firebase/auth/v1/data.proto\"z\n\x10UserCreatedEvent\x12;\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32-.google.events.firebase.auth.v1.AuthEventData:)\xb2\xf8\xd8,$google.firebase.auth.user.v1.created\"z\n\x10UserDeletedEvent\x12;\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32-.google.events.firebase.auth.v1.AuthEventData:)\xb2\xf8\xd8,$google.firebase.auth.user.v1.deletedB\x8c\x01\xaa\x02\'Google.Events.Protobuf.Firebase.Auth.V1\xca\x02\x1eGoogle\\Events\\Firebase\\Auth\\V1\xea\x02\"Google::Events::Firebase::Auth::V1\xba\xf8\xd8,\x17\x46irebase Authenticationb\x06proto3"
|
12
12
|
|
13
13
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
14
|
-
|
15
|
-
begin
|
16
|
-
pool.add_serialized_file(descriptor_data)
|
17
|
-
rescue TypeError
|
18
|
-
# Compatibility code: will be removed in the next major version.
|
19
|
-
require 'google/protobuf/descriptor_pb'
|
20
|
-
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
21
|
-
parsed.clear_dependency
|
22
|
-
serialized = parsed.class.encode(parsed)
|
23
|
-
file = pool.add_serialized_file(serialized)
|
24
|
-
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
25
|
-
imports = [
|
26
|
-
["google.events.firebase.auth.v1.AuthEventData", "google/events/firebase/auth/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
|
14
|
+
pool.add_serialized_file(descriptor_data)
|
37
15
|
|
38
16
|
module Google
|
39
17
|
module Events
|
@@ -10,29 +10,7 @@ require 'google/protobuf/struct_pb'
|
|
10
10
|
descriptor_data = "\n-google/events/firebase/database/v1/data.proto\x12\"google.events.firebase.database.v1\x1a\x1cgoogle/protobuf/struct.proto\"a\n\x12ReferenceEventData\x12$\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x16.google.protobuf.Value\x12%\n\x05\x64\x65lta\x18\x02 \x01(\x0b\x32\x16.google.protobuf.ValueB|\xaa\x02+Google.Events.Protobuf.Firebase.Database.V1\xca\x02\"Google\\Events\\Firebase\\Database\\V1\xea\x02&Google::Events::Firebase::Database::V1b\x06proto3"
|
11
11
|
|
12
12
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
13
|
-
|
14
|
-
begin
|
15
|
-
pool.add_serialized_file(descriptor_data)
|
16
|
-
rescue TypeError
|
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.Value", "google/protobuf/struct.proto"],
|
26
|
-
]
|
27
|
-
imports.each do |type_name, expected_filename|
|
28
|
-
import_file = pool.lookup(type_name).file_descriptor
|
29
|
-
if import_file.name != expected_filename
|
30
|
-
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
31
|
-
end
|
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."
|
35
|
-
end
|
13
|
+
pool.add_serialized_file(descriptor_data)
|
36
14
|
|
37
15
|
module Google
|
38
16
|
module Events
|
@@ -11,29 +11,7 @@ require 'google/events/firebase/database/v1/data_pb'
|
|
11
11
|
descriptor_data = "\n/google/events/firebase/database/v1/events.proto\x12\"google.events.firebase.database.v1\x1a\x1egoogle/events/cloudevent.proto\x1a-google/events/firebase/database/v1/data.proto\"\x8b\x01\n\x15ReferenceCreatedEvent\x12\x44\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x36.google.events.firebase.database.v1.ReferenceEventData:,\xb2\xf8\xd8,\'google.firebase.database.ref.v1.created\"\x8b\x01\n\x15ReferenceUpdatedEvent\x12\x44\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x36.google.events.firebase.database.v1.ReferenceEventData:,\xb2\xf8\xd8,\'google.firebase.database.ref.v1.updated\"\x8b\x01\n\x15ReferenceDeletedEvent\x12\x44\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x36.google.events.firebase.database.v1.ReferenceEventData:,\xb2\xf8\xd8,\'google.firebase.database.ref.v1.deleted\"\x8b\x01\n\x15ReferenceWrittenEvent\x12\x44\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x36.google.events.firebase.database.v1.ReferenceEventData:,\xb2\xf8\xd8,\'google.firebase.database.ref.v1.writtenB\xc8\x03\xaa\x02+Google.Events.Protobuf.Firebase.Database.V1\xca\x02\"Google\\Events\\Firebase\\Database\\V1\xea\x02&Google::Events::Firebase::Database::V1\xba\xf8\xd8,\x1a\x46irebase Realtime Database\xc2\xf8\xd8,a\n\x08instance\x12KThe Firebase Realtime Database instance from which the event was triggered.\x1a\x08instance\xc2\xf8\xd8,R\n\x03ref\x12\x46The Firebase Realtime Database path for which the event was triggered.\x1a\x03ref\xc2\xf8\xd8,k\n\x14\x66irebasedatabasehost\x12=The Firebase Realtime Database domain of the source database.\x1a\x14\x66irebaseDatabaseHostb\x06proto3"
|
12
12
|
|
13
13
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
14
|
-
|
15
|
-
begin
|
16
|
-
pool.add_serialized_file(descriptor_data)
|
17
|
-
rescue TypeError
|
18
|
-
# Compatibility code: will be removed in the next major version.
|
19
|
-
require 'google/protobuf/descriptor_pb'
|
20
|
-
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
21
|
-
parsed.clear_dependency
|
22
|
-
serialized = parsed.class.encode(parsed)
|
23
|
-
file = pool.add_serialized_file(serialized)
|
24
|
-
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
25
|
-
imports = [
|
26
|
-
["google.events.firebase.database.v1.ReferenceEventData", "google/events/firebase/database/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
|
14
|
+
pool.add_serialized_file(descriptor_data)
|
37
15
|
|
38
16
|
module Google
|
39
17
|
module Events
|
@@ -11,30 +11,7 @@ require 'google/type/date_pb'
|
|
11
11
|
descriptor_data = "\nBgoogle/events/firebase/firebasealerts/v1/cloud_event_payload.proto\x12(google.events.firebase.firebasealerts.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x16google/type/date.proto\"T\n\x10\x43rashlyticsIssue\x12\n\n\x02id\x18\x01 \x01(\t\x12\r\n\x05title\x18\x02 \x01(\t\x12\x10\n\x08subtitle\x18\x03 \x01(\t\x12\x13\n\x0b\x61pp_version\x18\x04 \x01(\t\"l\n\x1f\x43rashlyticsNewFatalIssuePayload\x12I\n\x05issue\x18\x01 \x01(\x0b\x32:.google.events.firebase.firebasealerts.v1.CrashlyticsIssue\"o\n\"CrashlyticsNewNonfatalIssuePayload\x12I\n\x05issue\x18\x01 \x01(\x0b\x32:.google.events.firebase.firebasealerts.v1.CrashlyticsIssue\"\xae\x01\n!CrashlyticsRegressionAlertPayload\x12\x0c\n\x04type\x18\x01 \x01(\t\x12I\n\x05issue\x18\x02 \x01(\x0b\x32:.google.events.firebase.firebasealerts.v1.CrashlyticsIssue\x12\x30\n\x0cresolve_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xe3\x01\n\x1f\x43rashlyticsVelocityAlertPayload\x12I\n\x05issue\x18\x01 \x01(\x0b\x32:.google.events.firebase.firebasealerts.v1.CrashlyticsIssue\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x13\n\x0b\x63rash_count\x18\x03 \x01(\x03\x12\x18\n\x10\x63rash_percentage\x18\x04 \x01(\x01\x12\x15\n\rfirst_version\x18\x05 \x01(\t\"\xe1\x02\n!CrashlyticsStabilityDigestPayload\x12&\n\x0b\x64igest_date\x18\x05 \x01(\x0b\x32\x11.google.type.Date\x12y\n\x0ftrending_issues\x18\x06 \x03(\x0b\x32`.google.events.firebase.firebasealerts.v1.CrashlyticsStabilityDigestPayload.TrendingIssueDetails\x1a\x98\x01\n\x14TrendingIssueDetails\x12\x0c\n\x04type\x18\x01 \x01(\t\x12I\n\x05issue\x18\x02 \x01(\x0b\x32:.google.events.firebase.firebasealerts.v1.CrashlyticsIssue\x12\x13\n\x0b\x65vent_count\x18\x03 \x01(\x03\x12\x12\n\nuser_count\x18\x04 \x01(\x03\"j\n\x1d\x43rashlyticsNewAnrIssuePayload\x12I\n\x05issue\x18\x01 \x01(\x0b\x32:.google.events.firebase.firebasealerts.v1.CrashlyticsIssue\"E\n CrashlyticsMissingSymbolsPayload\x12\x13\n\x0b\x61pp_version\x18\x01 \x01(\t\x12\x0c\n\x04uuid\x18\x02 \x01(\t\"\x9f\x02\n\x1d\x46ireperfThresholdAlertPayload\x12\x12\n\nevent_name\x18\x01 \x01(\t\x12\x12\n\nevent_type\x18\x02 \x01(\t\x12\x13\n\x0bmetric_type\x18\x03 \x01(\t\x12\x13\n\x0bnum_samples\x18\x04 \x01(\x03\x12\x17\n\x0fthreshold_value\x18\x05 \x01(\x02\x12\x16\n\x0ethreshold_unit\x18\x06 \x01(\t\x12\x1c\n\x14\x63ondition_percentile\x18\x07 \x01(\x05\x12\x13\n\x0b\x61pp_version\x18\x08 \x01(\t\x12\x17\n\x0fviolation_value\x18\t \x01(\x02\x12\x16\n\x0eviolation_unit\x18\n \x01(\t\x12\x17\n\x0finvestigate_uri\x18\x0b \x01(\t\"\x93\x01\n\"AppDistroNewTesterIosDevicePayload\x12\x13\n\x0btester_name\x18\x01 \x01(\t\x12\x14\n\x0ctester_email\x18\x02 \x01(\t\x12 \n\x18tester_device_model_name\x18\x03 \x01(\t\x12 \n\x18tester_device_identifier\x18\x04 \x01(\t\"\xf9\x01\n\x1d\x41ppDistroInAppFeedbackPayload\x12\x17\n\x0f\x66\x65\x65\x64\x62\x61\x63k_report\x18\x01 \x01(\t\x12\x1c\n\x14\x66\x65\x65\x64\x62\x61\x63k_console_uri\x18\x08 \x01(\t\x12\x13\n\x0btester_name\x18\x02 \x01(\t\x12\x14\n\x0ctester_email\x18\x03 \x01(\t\x12\x13\n\x0b\x61pp_version\x18\t \x01(\t\x12\x0c\n\x04text\x18\x06 \x01(\t\x12\x16\n\x0escreenshot_uri\x18\x07 \x01(\tJ\x04\x08\x04\x10\x05J\x04\x08\x05\x10\x06R\x0f\x64isplay_versionR\rbuild_versionR\x0fscreenshot_uris\"d\n\x18\x42illingPlanUpdatePayload\x12\x14\n\x0c\x62illing_plan\x18\x01 \x01(\t\x12\x17\n\x0fprincipal_email\x18\x02 \x01(\t\x12\x19\n\x11notification_type\x18\x03 \x01(\t\"T\n!BillingPlanAutomatedUpdatePayload\x12\x14\n\x0c\x62illing_plan\x18\x01 \x01(\t\x12\x19\n\x11notification_type\x18\x02 \x01(\tB\xd4\x01\n,com.google.events.firebase.firebasealerts.v1B\x16\x43loudEventPayloadProto\xaa\x02\x31Google.Events.Protobuf.Firebase.FirebaseAlerts.V1\xca\x02(Google\\Events\\Firebase\\FirebaseAlerts\\V1\xea\x02,Google::Events::Firebase::FirebaseAlerts::V1b\x06proto3"
|
12
12
|
|
13
13
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
14
|
-
|
15
|
-
begin
|
16
|
-
pool.add_serialized_file(descriptor_data)
|
17
|
-
rescue TypeError
|
18
|
-
# Compatibility code: will be removed in the next major version.
|
19
|
-
require 'google/protobuf/descriptor_pb'
|
20
|
-
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
21
|
-
parsed.clear_dependency
|
22
|
-
serialized = parsed.class.encode(parsed)
|
23
|
-
file = pool.add_serialized_file(serialized)
|
24
|
-
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
25
|
-
imports = [
|
26
|
-
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
27
|
-
["google.type.Date", "google/type/date.proto"],
|
28
|
-
]
|
29
|
-
imports.each do |type_name, expected_filename|
|
30
|
-
import_file = pool.lookup(type_name).file_descriptor
|
31
|
-
if import_file.name != expected_filename
|
32
|
-
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
33
|
-
end
|
34
|
-
end
|
35
|
-
warn "Each proto file must use a consistent fully-qualified name."
|
36
|
-
warn "This will become an error in the next major version."
|
37
|
-
end
|
14
|
+
pool.add_serialized_file(descriptor_data)
|
38
15
|
|
39
16
|
module Google
|
40
17
|
module Events
|