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
@@ -10,29 +10,7 @@ require 'google/protobuf/timestamp_pb'
|
|
10
10
|
descriptor_data = "\n+google/events/cloud/notebooks/v1/data.proto\x12 google.events.cloud.notebooks.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\xae\x02\n\x0b\x45nvironment\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12=\n\x08vm_image\x18\x06 \x01(\x0b\x32).google.events.cloud.notebooks.v1.VmImageH\x00\x12K\n\x0f\x63ontainer_image\x18\x07 \x01(\x0b\x32\x30.google.events.cloud.notebooks.v1.ContainerImageH\x00\x12\x1b\n\x13post_startup_script\x18\x08 \x01(\t\x12/\n\x0b\x63reate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x0c\n\nimage_type\"Q\n\x07VmImage\x12\x0f\n\x07project\x18\x01 \x01(\t\x12\x14\n\nimage_name\x18\x02 \x01(\tH\x00\x12\x16\n\x0cimage_family\x18\x03 \x01(\tH\x00\x42\x07\n\x05image\"1\n\x0e\x43ontainerImage\x12\x12\n\nrepository\x18\x01 \x01(\t\x12\x0b\n\x03tag\x18\x02 \x01(\t\"\xcc\x07\n\x07Runtime\x12\x0c\n\x04name\x18\x01 \x01(\t\x12K\n\x0fvirtual_machine\x18\x02 \x01(\x0b\x32\x30.google.events.cloud.notebooks.v1.VirtualMachineH\x00\x12>\n\x05state\x18\x03 \x01(\x0e\x32/.google.events.cloud.notebooks.v1.Runtime.State\x12K\n\x0chealth_state\x18\x04 \x01(\x0e\x32\x35.google.events.cloud.notebooks.v1.Runtime.HealthState\x12L\n\raccess_config\x18\x05 \x01(\x0b\x32\x35.google.events.cloud.notebooks.v1.RuntimeAccessConfig\x12P\n\x0fsoftware_config\x18\x06 \x01(\x0b\x32\x37.google.events.cloud.notebooks.v1.RuntimeSoftwareConfig\x12\x41\n\x07metrics\x18\x07 \x01(\x0b\x32\x30.google.events.cloud.notebooks.v1.RuntimeMetrics\x12/\n\x0b\x63reate_time\x18\x14 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x15 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x45\n\x06labels\x18\x17 \x03(\x0b\x32\x35.google.events.cloud.notebooks.v1.Runtime.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x94\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08STARTING\x10\x01\x12\x10\n\x0cPROVISIONING\x10\x02\x12\n\n\x06\x41\x43TIVE\x10\x03\x12\x0c\n\x08STOPPING\x10\x04\x12\x0b\n\x07STOPPED\x10\x05\x12\x0c\n\x08\x44\x45LETING\x10\x06\x12\r\n\tUPGRADING\x10\x07\x12\x10\n\x0cINITIALIZING\x10\x08\"w\n\x0bHealthState\x12\x1c\n\x18HEALTH_STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07HEALTHY\x10\x01\x12\r\n\tUNHEALTHY\x10\x02\x12\x17\n\x13\x41GENT_NOT_INSTALLED\x10\x03\x12\x15\n\x11\x41GENT_NOT_RUNNING\x10\x04\x42\x0e\n\x0cruntime_type\"\xa8\x03\n\x18RuntimeAcceleratorConfig\x12X\n\x04type\x18\x01 \x01(\x0e\x32J.google.events.cloud.notebooks.v1.RuntimeAcceleratorConfig.AcceleratorType\x12\x12\n\ncore_count\x18\x02 \x01(\x03\"\x9d\x02\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\x06\x12\n\n\x06TPU_V2\x10\x07\x12\n\n\x06TPU_V3\x10\x08\x12\x17\n\x13NVIDIA_TESLA_T4_VWS\x10\t\x12\x19\n\x15NVIDIA_TESLA_P100_VWS\x10\n\x12\x17\n\x13NVIDIA_TESLA_P4_VWS\x10\x0b\"#\n\x10\x45ncryptionConfig\x12\x0f\n\x07kms_key\x18\x01 \x01(\t\"\xb6\x02\n\tLocalDisk\x12\x13\n\x0b\x61uto_delete\x18\x01 \x01(\x08\x12\x0c\n\x04\x62oot\x18\x02 \x01(\x08\x12\x13\n\x0b\x64\x65vice_name\x18\x03 \x01(\t\x12\\\n\x11guest_os_features\x18\x04 \x03(\x0b\x32\x41.google.events.cloud.notebooks.v1.LocalDisk.RuntimeGuestOsFeature\x12\r\n\x05index\x18\x05 \x01(\x05\x12\x11\n\tinterface\x18\x07 \x01(\t\x12\x0c\n\x04kind\x18\x08 \x01(\t\x12\x10\n\x08licenses\x18\t \x03(\t\x12\x0c\n\x04mode\x18\n \x01(\t\x12\x0e\n\x06source\x18\x0b \x01(\t\x12\x0c\n\x04type\x18\x0c \x01(\t\x1a%\n\x15RuntimeGuestOsFeature\x12\x0c\n\x04type\x18\x01 \x01(\t\"\xc6\x02\n\x19LocalDiskInitializeParams\x12\x13\n\x0b\x64\x65scription\x18\x01 \x01(\t\x12\x11\n\tdisk_name\x18\x02 \x01(\t\x12\x14\n\x0c\x64isk_size_gb\x18\x03 \x01(\x03\x12W\n\x06labels\x18\x05 \x03(\x0b\x32G.google.events.cloud.notebooks.v1.LocalDiskInitializeParams.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"c\n\x08\x44iskType\x12\x19\n\x15\x44ISK_TYPE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bPD_STANDARD\x10\x01\x12\n\n\x06PD_SSD\x10\x02\x12\x0f\n\x0bPD_BALANCED\x10\x03\x12\x0e\n\nPD_EXTREME\x10\x04\"\xfd\x01\n\x13RuntimeAccessConfig\x12\\\n\x0b\x61\x63\x63\x65ss_type\x18\x01 \x01(\x0e\x32G.google.events.cloud.notebooks.v1.RuntimeAccessConfig.RuntimeAccessType\x12\x15\n\rruntime_owner\x18\x02 \x01(\t\x12\x11\n\tproxy_uri\x18\x03 \x01(\t\"^\n\x11RuntimeAccessType\x12#\n\x1fRUNTIME_ACCESS_TYPE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bSINGLE_USER\x10\x01\x12\x13\n\x0fSERVICE_ACCOUNT\x10\x02\"\x93\x06\n\x15RuntimeSoftwareConfig\x12!\n\x19notebook_upgrade_schedule\x18\x01 \x01(\t\x12%\n\x18\x65nable_health_monitoring\x18\x02 \x01(\x08H\x00\x88\x01\x01\x12\x1a\n\ridle_shutdown\x18\x03 \x01(\x08H\x01\x88\x01\x01\x12\x1d\n\x15idle_shutdown_timeout\x18\x04 \x01(\x05\x12\x1a\n\x12install_gpu_driver\x18\x05 \x01(\x08\x12\x1e\n\x16\x63ustom_gpu_driver_path\x18\x06 \x01(\t\x12\x1b\n\x13post_startup_script\x18\x07 \x01(\t\x12\x41\n\x07kernels\x18\x08 \x03(\x0b\x32\x30.google.events.cloud.notebooks.v1.ContainerImage\x12\x18\n\x0bupgradeable\x18\t \x01(\x08H\x02\x88\x01\x01\x12w\n\x1cpost_startup_script_behavior\x18\n \x01(\x0e\x32Q.google.events.cloud.notebooks.v1.RuntimeSoftwareConfig.PostStartupScriptBehavior\x12\x1d\n\x10\x64isable_terminal\x18\x0b \x01(\x08H\x03\x88\x01\x01\x12\x14\n\x07version\x18\x0c \x01(\tH\x04\x88\x01\x01\x12\x1b\n\x0emixer_disabled\x18\r \x01(\x08H\x05\x88\x01\x01\"\x80\x01\n\x19PostStartupScriptBehavior\x12,\n(POST_STARTUP_SCRIPT_BEHAVIOR_UNSPECIFIED\x10\x00\x12\x13\n\x0fRUN_EVERY_START\x10\x01\x12 \n\x1c\x44OWNLOAD_AND_RUN_EVERY_START\x10\x02\x42\x1b\n\x19_enable_health_monitoringB\x10\n\x0e_idle_shutdownB\x0e\n\x0c_upgradeableB\x13\n\x11_disable_terminalB\n\n\x08_versionB\x11\n\x0f_mixer_disabled\"\xa3\x01\n\x0eRuntimeMetrics\x12[\n\x0esystem_metrics\x18\x01 \x03(\x0b\x32\x43.google.events.cloud.notebooks.v1.RuntimeMetrics.SystemMetricsEntry\x1a\x34\n\x12SystemMetricsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"u\n\x1dRuntimeShieldedInstanceConfig\x12\x1a\n\x12\x65nable_secure_boot\x18\x01 \x01(\x08\x12\x13\n\x0b\x65nable_vtpm\x18\x02 \x01(\x08\x12#\n\x1b\x65nable_integrity_monitoring\x18\x03 \x01(\x08\"\x94\x01\n\x0eVirtualMachine\x12\x15\n\rinstance_name\x18\x01 \x01(\t\x12\x13\n\x0binstance_id\x18\x02 \x01(\t\x12V\n\x16virtual_machine_config\x18\x03 \x01(\x0b\x32\x36.google.events.cloud.notebooks.v1.VirtualMachineConfig\"\xd4\t\n\x14VirtualMachineConfig\x12\x0c\n\x04zone\x18\x01 \x01(\t\x12\x14\n\x0cmachine_type\x18\x02 \x01(\t\x12J\n\x10\x63ontainer_images\x18\x03 \x03(\x0b\x32\x30.google.events.cloud.notebooks.v1.ContainerImage\x12>\n\tdata_disk\x18\x04 \x01(\x0b\x32+.google.events.cloud.notebooks.v1.LocalDisk\x12M\n\x11\x65ncryption_config\x18\x05 \x01(\x0b\x32\x32.google.events.cloud.notebooks.v1.EncryptionConfig\x12\x61\n\x18shielded_instance_config\x18\x06 \x01(\x0b\x32?.google.events.cloud.notebooks.v1.RuntimeShieldedInstanceConfig\x12V\n\x12\x61\x63\x63\x65lerator_config\x18\x07 \x01(\x0b\x32:.google.events.cloud.notebooks.v1.RuntimeAcceleratorConfig\x12\x0f\n\x07network\x18\x08 \x01(\t\x12\x0e\n\x06subnet\x18\t \x01(\t\x12\x18\n\x10internal_ip_only\x18\n \x01(\x08\x12\x0c\n\x04tags\x18\r \x03(\t\x12\x65\n\x10guest_attributes\x18\x0e \x03(\x0b\x32K.google.events.cloud.notebooks.v1.VirtualMachineConfig.GuestAttributesEntry\x12V\n\x08metadata\x18\x0f \x03(\x0b\x32\x44.google.events.cloud.notebooks.v1.VirtualMachineConfig.MetadataEntry\x12R\n\x06labels\x18\x10 \x03(\x0b\x32\x42.google.events.cloud.notebooks.v1.VirtualMachineConfig.LabelsEntry\x12P\n\x08nic_type\x18\x11 \x01(\x0e\x32>.google.events.cloud.notebooks.v1.VirtualMachineConfig.NicType\x12\x19\n\x11reserved_ip_range\x18\x12 \x01(\t\x12T\n\nboot_image\x18\x13 \x01(\x0b\x32@.google.events.cloud.notebooks.v1.VirtualMachineConfig.BootImage\x1a\x0b\n\tBootImage\x1a\x36\n\x14GuestAttributesEntry\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\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\">\n\x07NicType\x12\x18\n\x14UNSPECIFIED_NIC_TYPE\x10\x00\x12\x0e\n\nVIRTIO_NET\x10\x01\x12\t\n\x05GVNIC\x10\x02\"\xef\x0c\n\x11\x45xecutionTemplate\x12Q\n\nscale_tier\x18\x01 \x01(\x0e\x32=.google.events.cloud.notebooks.v1.ExecutionTemplate.ScaleTier\x12\x13\n\x0bmaster_type\x18\x02 \x01(\t\x12j\n\x12\x61\x63\x63\x65lerator_config\x18\x03 \x01(\x0b\x32N.google.events.cloud.notebooks.v1.ExecutionTemplate.SchedulerAcceleratorConfig\x12O\n\x06labels\x18\x04 \x03(\x0b\x32?.google.events.cloud.notebooks.v1.ExecutionTemplate.LabelsEntry\x12\x1b\n\x13input_notebook_file\x18\x05 \x01(\t\x12\x1b\n\x13\x63ontainer_image_uri\x18\x06 \x01(\t\x12\x1e\n\x16output_notebook_folder\x18\x07 \x01(\t\x12\x18\n\x10params_yaml_file\x18\x08 \x01(\t\x12\x12\n\nparameters\x18\t \x01(\t\x12\x17\n\x0fservice_account\x18\n \x01(\t\x12M\n\x08job_type\x18\x0b \x01(\x0e\x32;.google.events.cloud.notebooks.v1.ExecutionTemplate.JobType\x12\x65\n\x13\x64\x61taproc_parameters\x18\x0c \x01(\x0b\x32\x46.google.events.cloud.notebooks.v1.ExecutionTemplate.DataprocParametersH\x00\x12\x66\n\x14vertex_ai_parameters\x18\r \x01(\x0b\x32\x46.google.events.cloud.notebooks.v1.ExecutionTemplate.VertexAIParametersH\x00\x12\x13\n\x0bkernel_spec\x18\x0e \x01(\t\x12\x13\n\x0btensorboard\x18\x0f \x01(\t\x1a\x8c\x01\n\x1aSchedulerAcceleratorConfig\x12Z\n\x04type\x18\x01 \x01(\x0e\x32L.google.events.cloud.notebooks.v1.ExecutionTemplate.SchedulerAcceleratorType\x12\x12\n\ncore_count\x18\x02 \x01(\x03\x1a%\n\x12\x44\x61taprocParameters\x12\x0f\n\x07\x63luster\x18\x01 \x01(\t\x1a\xaf\x01\n\x12VertexAIParameters\x12\x0f\n\x07network\x18\x01 \x01(\t\x12\\\n\x03\x65nv\x18\x02 \x03(\x0b\x32O.google.events.cloud.notebooks.v1.ExecutionTemplate.VertexAIParameters.EnvEntry\x1a*\n\x08\x45nvEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"{\n\tScaleTier\x12\x1a\n\x16SCALE_TIER_UNSPECIFIED\x10\x00\x12\t\n\x05\x42\x41SIC\x10\x01\x12\x0e\n\nSTANDARD_1\x10\x02\x12\r\n\tPREMIUM_1\x10\x03\x12\r\n\tBASIC_GPU\x10\x04\x12\r\n\tBASIC_TPU\x10\x05\x12\n\n\x06\x43USTOM\x10\x06\"\xe3\x01\n\x18SchedulerAcceleratorType\x12*\n&SCHEDULER_ACCELERATOR_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\n\x12\n\n\x06TPU_V2\x10\x06\x12\n\n\x06TPU_V3\x10\x07\"@\n\x07JobType\x12\x18\n\x14JOB_TYPE_UNSPECIFIED\x10\x00\x12\r\n\tVERTEX_AI\x10\x01\x12\x0c\n\x08\x44\x41TAPROC\x10\x02\x42\x10\n\x0ejob_parameters\"\x8a\x04\n\tExecution\x12O\n\x12\x65xecution_template\x18\x01 \x01(\x0b\x32\x33.google.events.cloud.notebooks.v1.ExecutionTemplate\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\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@\n\x05state\x18\x07 \x01(\x0e\x32\x31.google.events.cloud.notebooks.v1.Execution.State\x12\x1c\n\x14output_notebook_file\x18\x08 \x01(\t\x12\x0f\n\x07job_uri\x18\t \x01(\t\"\x9f\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06QUEUED\x10\x01\x12\r\n\tPREPARING\x10\x02\x12\x0b\n\x07RUNNING\x10\x03\x12\r\n\tSUCCEEDED\x10\x04\x12\n\n\x06\x46\x41ILED\x10\x05\x12\x0e\n\nCANCELLING\x10\x06\x12\r\n\tCANCELLED\x10\x07\x12\x0b\n\x07\x45XPIRED\x10\t\x12\x10\n\x0cINITIALIZING\x10\n\"\xf1\x01\n\x13ReservationAffinity\x12\\\n\x18\x63onsume_reservation_type\x18\x01 \x01(\x0e\x32:.google.events.cloud.notebooks.v1.ReservationAffinity.Type\x12\x0b\n\x03key\x18\x02 \x01(\t\x12\x0e\n\x06values\x18\x03 \x03(\t\"_\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x12\n\x0eNO_RESERVATION\x10\x01\x12\x13\n\x0f\x41NY_RESERVATION\x10\x02\x12\x18\n\x14SPECIFIC_RESERVATION\x10\x03\"\xfd\x18\n\x08Instance\x12\x0c\n\x04name\x18\x01 \x01(\t\x12=\n\x08vm_image\x18\x02 \x01(\x0b\x32).google.events.cloud.notebooks.v1.VmImageH\x00\x12K\n\x0f\x63ontainer_image\x18\x03 \x01(\x0b\x32\x30.google.events.cloud.notebooks.v1.ContainerImageH\x00\x12\x1b\n\x13post_startup_script\x18\x04 \x01(\t\x12\x11\n\tproxy_uri\x18\x05 \x01(\t\x12\x17\n\x0fservice_account\x18\x07 \x01(\t\x12\x1e\n\x16service_account_scopes\x18\x1f \x03(\t\x12\x14\n\x0cmachine_type\x18\x08 \x01(\t\x12X\n\x12\x61\x63\x63\x65lerator_config\x18\t \x01(\x0b\x32<.google.events.cloud.notebooks.v1.Instance.AcceleratorConfig\x12?\n\x05state\x18\n \x01(\x0e\x32\x30.google.events.cloud.notebooks.v1.Instance.State\x12\x1a\n\x12install_gpu_driver\x18\x0b \x01(\x08\x12\x1e\n\x16\x63ustom_gpu_driver_path\x18\x0c \x01(\t\x12>\n\x05\x64isks\x18\x1c \x03(\x0b\x32/.google.events.cloud.notebooks.v1.Instance.Disk\x12\x63\n\x18shielded_instance_config\x18\x1e \x01(\x0b\x32\x41.google.events.cloud.notebooks.v1.Instance.ShieldedInstanceConfig\x12\x14\n\x0cno_public_ip\x18\x11 \x01(\x08\x12\x17\n\x0fno_proxy_access\x18\x12 \x01(\x08\x12\x0f\n\x07network\x18\x13 \x01(\t\x12\x0e\n\x06subnet\x18\x14 \x01(\t\x12\x46\n\x06labels\x18\x15 \x03(\x0b\x32\x36.google.events.cloud.notebooks.v1.Instance.LabelsEntry\x12J\n\x08metadata\x18\x16 \x03(\x0b\x32\x38.google.events.cloud.notebooks.v1.Instance.MetadataEntry\x12\x0c\n\x04tags\x18 \x03(\t\x12W\n\x0fupgrade_history\x18\x1d \x03(\x0b\x32>.google.events.cloud.notebooks.v1.Instance.UpgradeHistoryEntry\x12\x44\n\x08nic_type\x18! \x01(\x0e\x32\x32.google.events.cloud.notebooks.v1.Instance.NicType\x12S\n\x14reservation_affinity\x18\" \x01(\x0b\x32\x35.google.events.cloud.notebooks.v1.ReservationAffinity\x12\x0f\n\x07\x63reator\x18$ \x01(\t\x12\x16\n\x0e\x63\x61n_ip_forward\x18\' \x01(\x08\x12/\n\x0b\x63reate_time\x18\x17 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x18 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x1aq\n\x11\x41\x63\x63\x65leratorConfig\x12H\n\x04type\x18\x01 \x01(\x0e\x32:.google.events.cloud.notebooks.v1.Instance.AcceleratorType\x12\x12\n\ncore_count\x18\x02 \x01(\x03\x1a\xbd\x02\n\x04\x44isk\x12\x13\n\x0b\x61uto_delete\x18\x01 \x01(\x08\x12\x0c\n\x04\x62oot\x18\x02 \x01(\x08\x12\x13\n\x0b\x64\x65vice_name\x18\x03 \x01(\t\x12\x14\n\x0c\x64isk_size_gb\x18\x04 \x01(\x03\x12Y\n\x11guest_os_features\x18\x05 \x03(\x0b\x32>.google.events.cloud.notebooks.v1.Instance.Disk.GuestOsFeature\x12\r\n\x05index\x18\x06 \x01(\x03\x12\x11\n\tinterface\x18\x07 \x01(\t\x12\x0c\n\x04kind\x18\x08 \x01(\t\x12\x10\n\x08licenses\x18\t \x03(\t\x12\x0c\n\x04mode\x18\n \x01(\t\x12\x0e\n\x06source\x18\x0b \x01(\t\x12\x0c\n\x04type\x18\x0c \x01(\t\x1a\x1e\n\x0eGuestOsFeature\x12\x0c\n\x04type\x18\x01 \x01(\t\x1an\n\x16ShieldedInstanceConfig\x12\x1a\n\x12\x65nable_secure_boot\x18\x01 \x01(\x08\x12\x13\n\x0b\x65nable_vtpm\x18\x02 \x01(\x08\x12#\n\x1b\x65nable_integrity_monitoring\x18\x03 \x01(\x08\x1a\x86\x04\n\x13UpgradeHistoryEntry\x12\x10\n\x08snapshot\x18\x01 \x01(\t\x12\x10\n\x08vm_image\x18\x02 \x01(\t\x12\x17\n\x0f\x63ontainer_image\x18\x03 \x01(\t\x12\x11\n\tframework\x18\x04 \x01(\t\x12\x0f\n\x07version\x18\x05 \x01(\t\x12S\n\x05state\x18\x06 \x01(\x0e\x32\x44.google.events.cloud.notebooks.v1.Instance.UpgradeHistoryEntry.State\x12/\n\x0b\x63reate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x14\n\x0ctarget_image\x18\x08 \x01(\t\x12U\n\x06\x61\x63tion\x18\t \x01(\x0e\x32\x45.google.events.cloud.notebooks.v1.Instance.UpgradeHistoryEntry.Action\x12\x16\n\x0etarget_version\x18\n \x01(\t\"F\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07STARTED\x10\x01\x12\r\n\tSUCCEEDED\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\";\n\x06\x41\x63tion\x12\x16\n\x12\x41\x43TION_UNSPECIFIED\x10\x00\x12\x0b\n\x07UPGRADE\x10\x01\x12\x0c\n\x08ROLLBACK\x10\x02\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\"\x9d\x02\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\x0b\x12\x17\n\x13NVIDIA_TESLA_T4_VWS\x10\x08\x12\x19\n\x15NVIDIA_TESLA_P100_VWS\x10\t\x12\x17\n\x13NVIDIA_TESLA_P4_VWS\x10\n\x12\n\n\x06TPU_V2\x10\x06\x12\n\n\x06TPU_V3\x10\x07\"\xc3\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08STARTING\x10\x01\x12\x10\n\x0cPROVISIONING\x10\x02\x12\n\n\x06\x41\x43TIVE\x10\x03\x12\x0c\n\x08STOPPING\x10\x04\x12\x0b\n\x07STOPPED\x10\x05\x12\x0b\n\x07\x44\x45LETED\x10\x06\x12\r\n\tUPGRADING\x10\x07\x12\x10\n\x0cINITIALIZING\x10\x08\x12\x0f\n\x0bREGISTERING\x10\t\x12\x0e\n\nSUSPENDING\x10\n\x12\r\n\tSUSPENDED\x10\x0b\"c\n\x08\x44iskType\x12\x19\n\x15\x44ISK_TYPE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bPD_STANDARD\x10\x01\x12\n\n\x06PD_SSD\x10\x02\x12\x0f\n\x0bPD_BALANCED\x10\x03\x12\x0e\n\nPD_EXTREME\x10\x04\"E\n\x0e\x44iskEncryption\x12\x1f\n\x1b\x44ISK_ENCRYPTION_UNSPECIFIED\x10\x00\x12\x08\n\x04GMEK\x10\x01\x12\x08\n\x04\x43MEK\x10\x02\">\n\x07NicType\x12\x18\n\x14UNSPECIFIED_NIC_TYPE\x10\x00\x12\x0e\n\nVIRTIO_NET\x10\x01\x12\t\n\x05GVNIC\x10\x02\x42\r\n\x0b\x65nvironment\"\xa3\x04\n\x08Schedule\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12?\n\x05state\x18\x04 \x01(\x0e\x32\x30.google.events.cloud.notebooks.v1.Schedule.State\x12\x15\n\rcron_schedule\x18\x05 \x01(\t\x12\x11\n\ttime_zone\x18\x06 \x01(\t\x12/\n\x0b\x63reate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12O\n\x12\x65xecution_template\x18\t \x01(\x0b\x32\x33.google.events.cloud.notebooks.v1.ExecutionTemplate\x12\x46\n\x11recent_executions\x18\n \x03(\x0b\x32+.google.events.cloud.notebooks.v1.Execution\"x\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x45NABLED\x10\x01\x12\n\n\x06PAUSED\x10\x02\x12\x0c\n\x08\x44ISABLED\x10\x03\x12\x11\n\rUPDATE_FAILED\x10\x04\x12\x10\n\x0cINITIALIZING\x10\x05\x12\x0c\n\x08\x44\x45LETING\x10\x06\"_\n\x10RuntimeEventData\x12?\n\x07payload\x18\x01 \x01(\x0b\x32).google.events.cloud.notebooks.v1.RuntimeH\x00\x88\x01\x01\x42\n\n\x08_payload\"c\n\x12\x45xecutionEventData\x12\x41\n\x07payload\x18\x01 \x01(\x0b\x32+.google.events.cloud.notebooks.v1.ExecutionH\x00\x88\x01\x01\x42\n\n\x08_payload\"a\n\x11InstanceEventData\x12@\n\x07payload\x18\x01 \x01(\x0b\x32*.google.events.cloud.notebooks.v1.InstanceH\x00\x88\x01\x01\x42\n\n\x08_payload\"a\n\x11ScheduleEventData\x12@\n\x07payload\x18\x01 \x01(\x0b\x32*.google.events.cloud.notebooks.v1.ScheduleH\x00\x88\x01\x01\x42\n\n\x08_payload\"g\n\x14\x45nvironmentEventData\x12\x43\n\x07payload\x18\x01 \x01(\x0b\x32-.google.events.cloud.notebooks.v1.EnvironmentH\x00\x88\x01\x01\x42\n\n\x08_payloadBv\xaa\x02)Google.Events.Protobuf.Cloud.Notebooks.V1\xca\x02 Google\\Events\\Cloud\\Notebooks\\V1\xea\x02$Google::Events::Cloud::Notebooks::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/notebooks/v1/events.proto\x12 google.events.cloud.notebooks.v1\x1a+google/events/cloud/notebooks/v1/data.proto\x1a\x1egoogle/events/cloudevent.proto\"\x93\x01\n\x13RuntimeCreatedEvent\x12@\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x32.google.events.cloud.notebooks.v1.RuntimeEventData::\xb2\xf8\xd8,)google.cloud.notebooks.runtime.v1.created\xca\xf8\xd8,\x07runtime\"\x93\x01\n\x13RuntimeUpdatedEvent\x12@\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x32.google.events.cloud.notebooks.v1.RuntimeEventData::\xb2\xf8\xd8,)google.cloud.notebooks.runtime.v1.updated\xca\xf8\xd8,\x07runtime\"\x93\x01\n\x13RuntimeDeletedEvent\x12@\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x32.google.events.cloud.notebooks.v1.RuntimeEventData::\xb2\xf8\xd8,)google.cloud.notebooks.runtime.v1.deleted\xca\xf8\xd8,\x07runtime\"\x97\x01\n\x14InstanceCreatedEvent\x12\x41\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x33.google.events.cloud.notebooks.v1.InstanceEventData:<\xb2\xf8\xd8,*google.cloud.notebooks.instance.v1.created\xca\xf8\xd8,\x08instance\"\x97\x01\n\x14InstanceDeletedEvent\x12\x41\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x33.google.events.cloud.notebooks.v1.InstanceEventData:<\xb2\xf8\xd8,*google.cloud.notebooks.instance.v1.deleted\xca\xf8\xd8,\x08instance\"\xa3\x01\n\x17\x45nvironmentCreatedEvent\x12\x44\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x36.google.events.cloud.notebooks.v1.EnvironmentEventData:B\xb2\xf8\xd8,-google.cloud.notebooks.environment.v1.created\xca\xf8\xd8,\x0b\x65nvironment\"\xa3\x01\n\x17\x45nvironmentDeletedEvent\x12\x44\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x36.google.events.cloud.notebooks.v1.EnvironmentEventData:B\xb2\xf8\xd8,-google.cloud.notebooks.environment.v1.deleted\xca\xf8\xd8,\x0b\x65nvironment\"\x97\x01\n\x14ScheduleDeletedEvent\x12\x41\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x33.google.events.cloud.notebooks.v1.ScheduleEventData:<\xb2\xf8\xd8,*google.cloud.notebooks.schedule.v1.deleted\xca\xf8\xd8,\x08schedule\"\x97\x01\n\x14ScheduleCreatedEvent\x12\x41\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x33.google.events.cloud.notebooks.v1.ScheduleEventData:<\xb2\xf8\xd8,*google.cloud.notebooks.schedule.v1.created\xca\xf8\xd8,\x08schedule\"\x9b\x01\n\x15\x45xecutionDeletedEvent\x12\x42\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x34.google.events.cloud.notebooks.v1.ExecutionEventData:>\xb2\xf8\xd8,+google.cloud.notebooks.execution.v1.deleted\xca\xf8\xd8,\texecution\"\x9b\x01\n\x15\x45xecutionCreatedEvent\x12\x42\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x34.google.events.cloud.notebooks.v1.ExecutionEventData:>\xb2\xf8\xd8,+google.cloud.notebooks.execution.v1.created\xca\xf8\xd8,\texecutionB\xe8\x03\xaa\x02)Google.Events.Protobuf.Cloud.Notebooks.V1\xca\x02 Google\\Events\\Cloud\\Notebooks\\V1\xea\x02$Google::Events::Cloud::Notebooks::V1\xba\xf8\xd8,\tNotebooks\xc2\xf8\xd8,?\n\x07runtime\x12\x34The resource ID of the Runtime triggering the event.\xc2\xf8\xd8,A\n\x08instance\x12\x35The resource ID of the Instance triggering the event.\xc2\xf8\xd8,G\n\x0b\x65nvironment\x12\x38The resource ID of the Environment triggering the event.\xc2\xf8\xd8,A\n\x08schedule\x12\x35The resource ID of the Schedule triggering the event.\xc2\xf8\xd8,C\n\texecution\x12\x36The resource ID of the Execution triggering the event.b\x06proto3"
|
12
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.notebooks.v1.RuntimeEventData", "google/events/cloud/notebooks/v1/data.proto"],
|
27
|
-
]
|
28
|
-
imports.each do |type_name, expected_filename|
|
29
|
-
import_file = pool.lookup(type_name).file_descriptor
|
30
|
-
if import_file.name != expected_filename
|
31
|
-
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
32
|
-
end
|
33
|
-
end
|
34
|
-
warn "Each proto file must use a consistent fully-qualified name."
|
35
|
-
warn "This will become an error in the next major version."
|
36
|
-
end
|
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/pubsub/v1/data.proto\x12\x1dgoogle.events.cloud.pubsub.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"k\n\x14MessagePublishedData\x12=\n\x07message\x18\x01 \x01(\x0b\x32,.google.events.cloud.pubsub.v1.PubsubMessage\x12\x14\n\x0csubscription\x18\x02 \x01(\t\"\xfe\x01\n\rPubsubMessage\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\x12P\n\nattributes\x18\x02 \x03(\x0b\x32<.google.events.cloud.pubsub.v1.PubsubMessage.AttributesEntry\x12\x12\n\nmessage_id\x18\x03 \x01(\t\x12\x30\n\x0cpublish_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x14\n\x0cordering_key\x18\x05 \x01(\t\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42m\xaa\x02&Google.Events.Protobuf.Cloud.PubSub.V1\xca\x02\x1dGoogle\\Events\\Cloud\\PubSub\\V1\xea\x02!Google::Events::Cloud::PubSub::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/pubsub/v1/events.proto\x12\x1dgoogle.events.cloud.pubsub.v1\x1a(google/events/cloud/pubsub/v1/data.proto\x1a\x1egoogle/events/cloudevent.proto\"\x98\x01\n\x15MessagePublishedEvent\x12\x41\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x33.google.events.cloud.pubsub.v1.MessagePublishedData:<\xb2\xf8\xd8,-google.cloud.pubsub.topic.v1.messagePublished\xca\xf8\xd8,\x05topicB\xc3\x01\xaa\x02&Google.Events.Protobuf.Cloud.PubSub.V1\xca\x02\x1dGoogle\\Events\\Cloud\\PubSub\\V1\xea\x02!Google::Events::Cloud::PubSub::V1\xba\xf8\xd8,\rCloud Pub/Sub\xc2\xf8\xd8,?\n\x05topic\x12\x36The Pub/Sub topic for which the message was published.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.pubsub.v1.MessagePublishedData", "google/events/cloud/pubsub/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,31 +13,7 @@ require 'google/type/timeofday_pb'
|
|
13
13
|
descriptor_data = "\n\'google/events/cloud/redis/v1/data.proto\x12\x1cgoogle.events.cloud.redis.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1bgoogle/type/dayofweek.proto\x1a\x1bgoogle/type/timeofday.proto\"$\n\x08NodeInfo\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04zone\x18\x02 \x01(\t\"\xd9\x11\n\x08Instance\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x42\n\x06labels\x18\x03 \x03(\x0b\x32\x32.google.events.cloud.redis.v1.Instance.LabelsEntry\x12\x13\n\x0blocation_id\x18\x04 \x01(\t\x12\x1f\n\x17\x61lternative_location_id\x18\x05 \x01(\t\x12\x15\n\rredis_version\x18\x07 \x01(\t\x12\x19\n\x11reserved_ip_range\x18\t \x01(\t\x12\x1a\n\x12secondary_ip_range\x18\x1e \x01(\t\x12\x0c\n\x04host\x18\n \x01(\t\x12\x0c\n\x04port\x18\x0b \x01(\x05\x12\x1b\n\x13\x63urrent_location_id\x18\x0c \x01(\t\x12/\n\x0b\x63reate_time\x18\r \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12;\n\x05state\x18\x0e \x01(\x0e\x32,.google.events.cloud.redis.v1.Instance.State\x12\x16\n\x0estatus_message\x18\x0f \x01(\t\x12O\n\rredis_configs\x18\x10 \x03(\x0b\x32\x38.google.events.cloud.redis.v1.Instance.RedisConfigsEntry\x12\x39\n\x04tier\x18\x11 \x01(\x0e\x32+.google.events.cloud.redis.v1.Instance.Tier\x12\x16\n\x0ememory_size_gb\x18\x12 \x01(\x05\x12\x1a\n\x12\x61uthorized_network\x18\x14 \x01(\t\x12 \n\x18persistence_iam_identity\x18\x15 \x01(\t\x12H\n\x0c\x63onnect_mode\x18\x16 \x01(\x0e\x32\x32.google.events.cloud.redis.v1.Instance.ConnectMode\x12\x14\n\x0c\x61uth_enabled\x18\x17 \x01(\x08\x12\x45\n\x0fserver_ca_certs\x18\x19 \x03(\x0b\x32,.google.events.cloud.redis.v1.TlsCertificate\x12]\n\x17transit_encryption_mode\x18\x1a \x01(\x0e\x32<.google.events.cloud.redis.v1.Instance.TransitEncryptionMode\x12K\n\x12maintenance_policy\x18\x1b \x01(\x0b\x32/.google.events.cloud.redis.v1.MaintenancePolicy\x12O\n\x14maintenance_schedule\x18\x1c \x01(\x0b\x32\x31.google.events.cloud.redis.v1.MaintenanceSchedule\x12\x15\n\rreplica_count\x18\x1f \x01(\x05\x12\x35\n\x05nodes\x18 \x03(\x0b\x32&.google.events.cloud.redis.v1.NodeInfo\x12\x15\n\rread_endpoint\x18! \x01(\t\x12\x1a\n\x12read_endpoint_port\x18\" \x01(\x05\x12S\n\x12read_replicas_mode\x18# \x01(\x0e\x32\x37.google.events.cloud.redis.v1.Instance.ReadReplicasMode\x12\x1c\n\x14\x63ustomer_managed_key\x18$ \x01(\t\x12K\n\x12persistence_config\x18% \x01(\x0b\x32/.google.events.cloud.redis.v1.PersistenceConfig\x12S\n\x12suspension_reasons\x18& \x03(\x0e\x32\x37.google.events.cloud.redis.v1.Instance.SuspensionReason\x12\x1b\n\x13maintenance_version\x18\' \x01(\t\x12&\n\x1e\x61vailable_maintenance_versions\x18( \x03(\t\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x33\n\x11RedisConfigsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x94\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\t\n\x05READY\x10\x02\x12\x0c\n\x08UPDATING\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\x12\r\n\tREPAIRING\x10\x05\x12\x0f\n\x0bMAINTENANCE\x10\x06\x12\r\n\tIMPORTING\x10\x08\x12\x10\n\x0c\x46\x41ILING_OVER\x10\t\"8\n\x04Tier\x12\x14\n\x10TIER_UNSPECIFIED\x10\x00\x12\t\n\x05\x42\x41SIC\x10\x01\x12\x0f\n\x0bSTANDARD_HA\x10\x03\"[\n\x0b\x43onnectMode\x12\x1c\n\x18\x43ONNECT_MODE_UNSPECIFIED\x10\x00\x12\x12\n\x0e\x44IRECT_PEERING\x10\x01\x12\x1a\n\x16PRIVATE_SERVICE_ACCESS\x10\x02\"i\n\x15TransitEncryptionMode\x12\'\n#TRANSIT_ENCRYPTION_MODE_UNSPECIFIED\x10\x00\x12\x19\n\x15SERVER_AUTHENTICATION\x10\x01\x12\x0c\n\x08\x44ISABLED\x10\x02\"m\n\x10ReadReplicasMode\x12\"\n\x1eREAD_REPLICAS_MODE_UNSPECIFIED\x10\x00\x12\x1a\n\x16READ_REPLICAS_DISABLED\x10\x01\x12\x19\n\x15READ_REPLICAS_ENABLED\x10\x02\"U\n\x10SuspensionReason\x12!\n\x1dSUSPENSION_REASON_UNSPECIFIED\x10\x00\x12\x1e\n\x1a\x43USTOMER_MANAGED_KEY_ISSUE\x10\x01\"\x89\x04\n\x11PersistenceConfig\x12Y\n\x10persistence_mode\x18\x01 \x01(\x0e\x32?.google.events.cloud.redis.v1.PersistenceConfig.PersistenceMode\x12[\n\x13rdb_snapshot_period\x18\x02 \x01(\x0e\x32>.google.events.cloud.redis.v1.PersistenceConfig.SnapshotPeriod\x12:\n\x16rdb_next_snapshot_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12;\n\x17rdb_snapshot_start_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"J\n\x0fPersistenceMode\x12 \n\x1cPERSISTENCE_MODE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x44ISABLED\x10\x01\x12\x07\n\x03RDB\x10\x02\"w\n\x0eSnapshotPeriod\x12\x1f\n\x1bSNAPSHOT_PERIOD_UNSPECIFIED\x10\x00\x12\x0c\n\x08ONE_HOUR\x10\x03\x12\r\n\tSIX_HOURS\x10\x04\x12\x10\n\x0cTWELVE_HOURS\x10\x05\x12\x15\n\x11TWENTY_FOUR_HOURS\x10\x06\"\xe4\x01\n\x11MaintenancePolicy\x12/\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12X\n\x19weekly_maintenance_window\x18\x04 \x03(\x0b\x32\x35.google.events.cloud.redis.v1.WeeklyMaintenanceWindow\"\x97\x01\n\x17WeeklyMaintenanceWindow\x12#\n\x03\x64\x61y\x18\x01 \x01(\x0e\x32\x16.google.type.DayOfWeek\x12*\n\nstart_time\x18\x02 \x01(\x0b\x32\x16.google.type.TimeOfDay\x12+\n\x08\x64uration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\"\xc7\x01\n\x13MaintenanceSchedule\x12.\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x16\n\x0e\x63\x61n_reschedule\x18\x03 \x01(\x08\x12:\n\x16schedule_deadline_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xa3\x01\n\x0eTlsCertificate\x12\x15\n\rserial_number\x18\x01 \x01(\t\x12/\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x65xpire_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x18\n\x10sha1_fingerprint\x18\x05 \x01(\t\"]\n\x11InstanceEventData\x12<\n\x07payload\x18\x01 \x01(\x0b\x32&.google.events.cloud.redis.v1.InstanceH\x00\x88\x01\x01\x42\n\n\x08_payloadBj\xaa\x02%Google.Events.Protobuf.Cloud.Redis.V1\xca\x02\x1cGoogle\\Events\\Cloud\\Redis\\V1\xea\x02 Google::Events::Cloud::Redis::V1b\x06proto3"
|
14
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.type.TimeOfDay", "google/type/timeofday.proto"],
|
30
|
-
["google.protobuf.Duration", "google/protobuf/duration.proto"],
|
31
|
-
]
|
32
|
-
imports.each do |type_name, expected_filename|
|
33
|
-
import_file = pool.lookup(type_name).file_descriptor
|
34
|
-
if import_file.name != expected_filename
|
35
|
-
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
36
|
-
end
|
37
|
-
end
|
38
|
-
warn "Each proto file must use a consistent fully-qualified name."
|
39
|
-
warn "This will become an error in the next major version."
|
40
|
-
end
|
16
|
+
pool.add_serialized_file(descriptor_data)
|
41
17
|
|
42
18
|
module Google
|
43
19
|
module Events
|
@@ -11,29 +11,7 @@ require 'google/events/cloudevent_pb'
|
|
11
11
|
descriptor_data = "\n)google/events/cloud/redis/v1/events.proto\x12\x1cgoogle.events.cloud.redis.v1\x1a\'google/events/cloud/redis/v1/data.proto\x1a\x1egoogle/events/cloudevent.proto\"\x8f\x01\n\x14InstanceCreatedEvent\x12=\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32/.google.events.cloud.redis.v1.InstanceEventData:8\xb2\xf8\xd8,&google.cloud.redis.instance.v1.created\xca\xf8\xd8,\x08instance\"\x8f\x01\n\x14InstanceUpdatedEvent\x12=\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32/.google.events.cloud.redis.v1.InstanceEventData:8\xb2\xf8\xd8,&google.cloud.redis.instance.v1.updated\xca\xf8\xd8,\x08instance\"\x8f\x01\n\x14InstanceDeletedEvent\x12=\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32/.google.events.cloud.redis.v1.InstanceEventData:8\xb2\xf8\xd8,&google.cloud.redis.instance.v1.deleted\xca\xf8\xd8,\x08instanceB\xd7\x01\xaa\x02%Google.Events.Protobuf.Cloud.Redis.V1\xca\x02\x1cGoogle\\Events\\Cloud\\Redis\\V1\xea\x02 Google::Events::Cloud::Redis::V1\xba\xf8\xd8,\"Google Cloud Memorystore for Redis\xc2\xf8\xd8,A\n\x08instance\x12\x35The resource ID of the Instance triggering the event.b\x06proto3"
|
12
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.redis.v1.InstanceEventData", "google/events/cloud/redis/v1/data.proto"],
|
27
|
-
]
|
28
|
-
imports.each do |type_name, expected_filename|
|
29
|
-
import_file = pool.lookup(type_name).file_descriptor
|
30
|
-
if import_file.name != expected_filename
|
31
|
-
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
32
|
-
end
|
33
|
-
end
|
34
|
-
warn "Each proto file must use a consistent fully-qualified name."
|
35
|
-
warn "This will become an error in the next major version."
|
36
|
-
end
|
14
|
+
pool.add_serialized_file(descriptor_data)
|
37
15
|
|
38
16
|
module Google
|
39
17
|
module Events
|
@@ -4,32 +4,15 @@
|
|
4
4
|
|
5
5
|
require 'google/protobuf'
|
6
6
|
|
7
|
+
require 'google/protobuf/duration_pb'
|
8
|
+
require 'google/protobuf/timestamp_pb'
|
9
|
+
require 'google/rpc/status_pb'
|
7
10
|
|
8
|
-
descriptor_data = "\n+google/events/cloud/scheduler/v1/data.proto\x12 google.events.cloud.scheduler.v1\"\'\n\x10SchedulerJobData\x12\x13\n\x0b\x63ustom_data\x18\x01 \x01(\x0c\x42v\xaa\x02)Google.Events.Protobuf.Cloud.Scheduler.V1\xca\x02 Google\\Events\\Cloud\\Scheduler\\V1\xea\x02$Google::Events::Cloud::Scheduler::V1b\x06proto3"
|
9
11
|
|
10
|
-
|
12
|
+
descriptor_data = "\n+google/events/cloud/scheduler/v1/data.proto\x12 google.events.cloud.scheduler.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"\'\n\x10SchedulerJobData\x12\x13\n\x0b\x63ustom_data\x18\x01 \x01(\x0c\"\x86\x03\n\nHttpTarget\x12\x0b\n\x03uri\x18\x01 \x01(\t\x12\x41\n\x0bhttp_method\x18\x02 \x01(\x0e\x32,.google.events.cloud.scheduler.v1.HttpMethod\x12J\n\x07headers\x18\x03 \x03(\x0b\x32\x39.google.events.cloud.scheduler.v1.HttpTarget.HeadersEntry\x12\x0c\n\x04\x62ody\x18\x04 \x01(\x0c\x12\x43\n\x0boauth_token\x18\x05 \x01(\x0b\x32,.google.events.cloud.scheduler.v1.OAuthTokenH\x00\x12\x41\n\noidc_token\x18\x06 \x01(\x0b\x32+.google.events.cloud.scheduler.v1.OidcTokenH\x00\x1a.\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x16\n\x14\x61uthorization_header\"\xd1\x02\n\x13\x41ppEngineHttpTarget\x12\x41\n\x0bhttp_method\x18\x01 \x01(\x0e\x32,.google.events.cloud.scheduler.v1.HttpMethod\x12N\n\x12\x61pp_engine_routing\x18\x02 \x01(\x0b\x32\x32.google.events.cloud.scheduler.v1.AppEngineRouting\x12\x14\n\x0crelative_uri\x18\x03 \x01(\t\x12S\n\x07headers\x18\x04 \x03(\x0b\x32\x42.google.events.cloud.scheduler.v1.AppEngineHttpTarget.HeadersEntry\x12\x0c\n\x04\x62ody\x18\x05 \x01(\x0c\x1a.\n\x0cHeadersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xb7\x01\n\x0cPubsubTarget\x12\x12\n\ntopic_name\x18\x01 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x03 \x01(\x0c\x12R\n\nattributes\x18\x04 \x03(\x0b\x32>.google.events.cloud.scheduler.v1.PubsubTarget.AttributesEntry\x1a\x31\n\x0f\x41ttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"T\n\x10\x41ppEngineRouting\x12\x0f\n\x07service\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t\x12\x10\n\x08instance\x18\x03 \x01(\t\x12\x0c\n\x04host\x18\x04 \x01(\t\":\n\nOAuthToken\x12\x1d\n\x15service_account_email\x18\x01 \x01(\t\x12\r\n\x05scope\x18\x02 \x01(\t\"<\n\tOidcToken\x12\x1d\n\x15service_account_email\x18\x01 \x01(\t\x12\x10\n\x08\x61udience\x18\x02 \x01(\t\"\x92\x06\n\x03Job\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12G\n\rpubsub_target\x18\x04 \x01(\x0b\x32..google.events.cloud.scheduler.v1.PubsubTargetH\x00\x12W\n\x16\x61pp_engine_http_target\x18\x05 \x01(\x0b\x32\x35.google.events.cloud.scheduler.v1.AppEngineHttpTargetH\x00\x12\x43\n\x0bhttp_target\x18\x06 \x01(\x0b\x32,.google.events.cloud.scheduler.v1.HttpTargetH\x00\x12\x10\n\x08schedule\x18\x14 \x01(\t\x12\x11\n\ttime_zone\x18\x15 \x01(\t\x12\x34\n\x10user_update_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12:\n\x05state\x18\n \x01(\x0e\x32+.google.events.cloud.scheduler.v1.Job.State\x12\"\n\x06status\x18\x0b \x01(\x0b\x32\x12.google.rpc.Status\x12\x31\n\rschedule_time\x18\x11 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x11last_attempt_time\x18\x12 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x43\n\x0cretry_config\x18\x13 \x01(\x0b\x32-.google.events.cloud.scheduler.v1.RetryConfig\x12\x33\n\x10\x61ttempt_deadline\x18\x16 \x01(\x0b\x32\x19.google.protobuf.Duration\"X\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x45NABLED\x10\x01\x12\n\n\x06PAUSED\x10\x02\x12\x0c\n\x08\x44ISABLED\x10\x03\x12\x11\n\rUPDATE_FAILED\x10\x04\x42\x08\n\x06target\"\xe2\x01\n\x0bRetryConfig\x12\x13\n\x0bretry_count\x18\x01 \x01(\x05\x12\x35\n\x12max_retry_duration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14min_backoff_duration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x37\n\x14max_backoff_duration\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x15\n\rmax_doublings\x18\x05 \x01(\x05\"F\n\x0cJobEventData\x12\x36\n\x07payload\x18\x01 \x01(\x0b\x32%.google.events.cloud.scheduler.v1.Job*s\n\nHttpMethod\x12\x1b\n\x17HTTP_METHOD_UNSPECIFIED\x10\x00\x12\x08\n\x04POST\x10\x01\x12\x07\n\x03GET\x10\x02\x12\x08\n\x04HEAD\x10\x03\x12\x07\n\x03PUT\x10\x04\x12\n\n\x06\x44\x45LETE\x10\x05\x12\t\n\x05PATCH\x10\x06\x12\x0b\n\x07OPTIONS\x10\x07\x42v\xaa\x02)Google.Events.Protobuf.Cloud.Scheduler.V1\xca\x02 Google\\Events\\Cloud\\Scheduler\\V1\xea\x02$Google::Events::Cloud::Scheduler::V1b\x06proto3"
|
11
13
|
|
12
|
-
|
13
|
-
|
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
|
14
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
15
|
+
pool.add_serialized_file(descriptor_data)
|
33
16
|
|
34
17
|
module Google
|
35
18
|
module Events
|
@@ -37,6 +20,17 @@ module Google
|
|
37
20
|
module Scheduler
|
38
21
|
module V1
|
39
22
|
SchedulerJobData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.scheduler.v1.SchedulerJobData").msgclass
|
23
|
+
HttpTarget = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.scheduler.v1.HttpTarget").msgclass
|
24
|
+
AppEngineHttpTarget = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.scheduler.v1.AppEngineHttpTarget").msgclass
|
25
|
+
PubsubTarget = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.scheduler.v1.PubsubTarget").msgclass
|
26
|
+
AppEngineRouting = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.scheduler.v1.AppEngineRouting").msgclass
|
27
|
+
OAuthToken = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.scheduler.v1.OAuthToken").msgclass
|
28
|
+
OidcToken = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.scheduler.v1.OidcToken").msgclass
|
29
|
+
Job = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.scheduler.v1.Job").msgclass
|
30
|
+
Job::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.scheduler.v1.Job.State").enummodule
|
31
|
+
RetryConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.scheduler.v1.RetryConfig").msgclass
|
32
|
+
JobEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.scheduler.v1.JobEventData").msgclass
|
33
|
+
HttpMethod = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.scheduler.v1.HttpMethod").enummodule
|
40
34
|
end
|
41
35
|
end
|
42
36
|
end
|
@@ -8,38 +8,19 @@ require 'google/events/cloud/scheduler/v1/data_pb'
|
|
8
8
|
require 'google/events/cloudevent_pb'
|
9
9
|
|
10
10
|
|
11
|
-
descriptor_data = "\n-google/events/cloud/scheduler/v1/events.proto\x12 google.events.cloud.scheduler.v1\x1a+google/events/cloud/scheduler/v1/data.proto\x1a\x1egoogle/events/cloudevent.proto\"\x81\x01\n\x10JobExecutedEvent\x12@\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x32.google.events.cloud.scheduler.v1.SchedulerJobData:+\xb2\xf8\xd8,&google.cloud.scheduler.job.v1.executedB\
|
11
|
+
descriptor_data = "\n-google/events/cloud/scheduler/v1/events.proto\x12 google.events.cloud.scheduler.v1\x1a+google/events/cloud/scheduler/v1/data.proto\x1a\x1egoogle/events/cloudevent.proto\"\x83\x01\n\x0fJobCreatedEvent\x12<\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32..google.events.cloud.scheduler.v1.JobEventData:2\xb2\xf8\xd8,%google.cloud.scheduler.job.v1.created\xca\xf8\xd8,\x03job\"\x83\x01\n\x0fJobUpdatedEvent\x12<\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32..google.events.cloud.scheduler.v1.JobEventData:2\xb2\xf8\xd8,%google.cloud.scheduler.job.v1.updated\xca\xf8\xd8,\x03job\"\x83\x01\n\x0fJobDeletedEvent\x12<\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32..google.events.cloud.scheduler.v1.JobEventData:2\xb2\xf8\xd8,%google.cloud.scheduler.job.v1.deleted\xca\xf8\xd8,\x03job\"\x81\x01\n\x10JobExecutedEvent\x12@\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x32.google.events.cloud.scheduler.v1.SchedulerJobData:+\xb2\xf8\xd8,&google.cloud.scheduler.job.v1.executedB\xc6\x01\xaa\x02)Google.Events.Protobuf.Cloud.Scheduler.V1\xca\x02 Google\\Events\\Cloud\\Scheduler\\V1\xea\x02$Google::Events::Cloud::Scheduler::V1\xba\xf8\xd8,\x0f\x43loud Scheduler\xc2\xf8\xd8,7\n\x03job\x12\x30The resource ID of the Job 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.scheduler.v1.SchedulerJobData", "google/events/cloud/scheduler/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
|
40
18
|
module Cloud
|
41
19
|
module Scheduler
|
42
20
|
module V1
|
21
|
+
JobCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.scheduler.v1.JobCreatedEvent").msgclass
|
22
|
+
JobUpdatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.scheduler.v1.JobUpdatedEvent").msgclass
|
23
|
+
JobDeletedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.scheduler.v1.JobDeletedEvent").msgclass
|
43
24
|
JobExecutedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.scheduler.v1.JobExecutedEvent").msgclass
|
44
25
|
end
|
45
26
|
end
|
@@ -0,0 +1,32 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: google/events/cloud/speech/v1/data.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
require 'google/protobuf/timestamp_pb'
|
8
|
+
|
9
|
+
|
10
|
+
descriptor_data = "\n(google/events/cloud/speech/v1/data.proto\x12\x1dgoogle.events.cloud.speech.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\xf1\x04\n\x0b\x43ustomClass\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x17\n\x0f\x63ustom_class_id\x18\x02 \x01(\t\x12\x43\n\x05items\x18\x03 \x03(\x0b\x32\x34.google.events.cloud.speech.v1.CustomClass.ClassItem\x12\x14\n\x0ckms_key_name\x18\x06 \x01(\t\x12\x1c\n\x14kms_key_version_name\x18\x07 \x01(\t\x12\x0b\n\x03uid\x18\x08 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\t \x01(\t\x12?\n\x05state\x18\n \x01(\x0e\x32\x30.google.events.cloud.speech.v1.CustomClass.State\x12/\n\x0b\x64\x65lete_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x65xpire_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12P\n\x0b\x61nnotations\x18\r \x03(\x0b\x32;.google.events.cloud.speech.v1.CustomClass.AnnotationsEntry\x12\x0c\n\x04\x65tag\x18\x0e \x01(\t\x12\x13\n\x0breconciling\x18\x0f \x01(\x08\x1a\x1a\n\tClassItem\x12\r\n\x05value\x18\x01 \x01(\t\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\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\x0b\n\x07\x44\x45LETED\x10\x04\"\xea\x04\n\tPhraseSet\x12\x0c\n\x04name\x18\x01 \x01(\t\x12@\n\x07phrases\x18\x02 \x03(\x0b\x32/.google.events.cloud.speech.v1.PhraseSet.Phrase\x12\r\n\x05\x62oost\x18\x04 \x01(\x02\x12\x14\n\x0ckms_key_name\x18\x07 \x01(\t\x12\x1c\n\x14kms_key_version_name\x18\x08 \x01(\t\x12\x0b\n\x03uid\x18\t \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\n \x01(\t\x12=\n\x05state\x18\x0b \x01(\x0e\x32..google.events.cloud.speech.v1.PhraseSet.State\x12/\n\x0b\x64\x65lete_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x65xpire_time\x18\r \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12N\n\x0b\x61nnotations\x18\x0e \x03(\x0b\x32\x39.google.events.cloud.speech.v1.PhraseSet.AnnotationsEntry\x12\x0c\n\x04\x65tag\x18\x0f \x01(\t\x12\x13\n\x0breconciling\x18\x10 \x01(\x08\x1a&\n\x06Phrase\x12\r\n\x05value\x18\x01 \x01(\t\x12\r\n\x05\x62oost\x18\x02 \x01(\x02\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\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\x0b\n\x07\x44\x45LETED\x10\x04\"O\n\x12PhraseSetEventData\x12\x39\n\x07payload\x18\x01 \x01(\x0b\x32(.google.events.cloud.speech.v1.PhraseSet\"S\n\x14\x43ustomClassEventData\x12;\n\x07payload\x18\x01 \x01(\x0b\x32*.google.events.cloud.speech.v1.CustomClassBm\xaa\x02&Google.Events.Protobuf.Cloud.Speech.V1\xca\x02\x1dGoogle\\Events\\Cloud\\Speech\\V1\xea\x02!Google::Events::Cloud::Speech::V1b\x06proto3"
|
11
|
+
|
12
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
13
|
+
pool.add_serialized_file(descriptor_data)
|
14
|
+
|
15
|
+
module Google
|
16
|
+
module Events
|
17
|
+
module Cloud
|
18
|
+
module Speech
|
19
|
+
module V1
|
20
|
+
CustomClass = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.speech.v1.CustomClass").msgclass
|
21
|
+
CustomClass::ClassItem = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.speech.v1.CustomClass.ClassItem").msgclass
|
22
|
+
CustomClass::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.speech.v1.CustomClass.State").enummodule
|
23
|
+
PhraseSet = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.speech.v1.PhraseSet").msgclass
|
24
|
+
PhraseSet::Phrase = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.speech.v1.PhraseSet.Phrase").msgclass
|
25
|
+
PhraseSet::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.speech.v1.PhraseSet.State").enummodule
|
26
|
+
PhraseSetEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.speech.v1.PhraseSetEventData").msgclass
|
27
|
+
CustomClassEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.speech.v1.CustomClassEventData").msgclass
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
@@ -0,0 +1,31 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: google/events/cloud/speech/v1/events.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
require 'google/events/cloud/speech/v1/data_pb'
|
8
|
+
require 'google/events/cloudevent_pb'
|
9
|
+
|
10
|
+
|
11
|
+
descriptor_data = "\n*google/events/cloud/speech/v1/events.proto\x12\x1dgoogle.events.cloud.speech.v1\x1a(google/events/cloud/speech/v1/data.proto\x1a\x1egoogle/events/cloudevent.proto\"\x95\x01\n\x15PhraseSetCreatedEvent\x12?\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x31.google.events.cloud.speech.v1.PhraseSetEventData:;\xb2\xf8\xd8,(google.cloud.speech.phraseSet.v1.created\xca\xf8\xd8,\tphraseset\"\x95\x01\n\x15PhraseSetUpdatedEvent\x12?\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x31.google.events.cloud.speech.v1.PhraseSetEventData:;\xb2\xf8\xd8,(google.cloud.speech.phraseSet.v1.updated\xca\xf8\xd8,\tphraseset\"\x95\x01\n\x15PhraseSetDeletedEvent\x12?\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x31.google.events.cloud.speech.v1.PhraseSetEventData:;\xb2\xf8\xd8,(google.cloud.speech.phraseSet.v1.deleted\xca\xf8\xd8,\tphraseset\"\x9d\x01\n\x17\x43ustomClassCreatedEvent\x12\x41\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x33.google.events.cloud.speech.v1.CustomClassEventData:?\xb2\xf8\xd8,*google.cloud.speech.customClass.v1.created\xca\xf8\xd8,\x0b\x63ustomclass\"\x9d\x01\n\x17\x43ustomClassUpdatedEvent\x12\x41\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x33.google.events.cloud.speech.v1.CustomClassEventData:?\xb2\xf8\xd8,*google.cloud.speech.customClass.v1.updated\xca\xf8\xd8,\x0b\x63ustomclass\"\x9d\x01\n\x17\x43ustomClassDeletedEvent\x12\x41\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x33.google.events.cloud.speech.v1.CustomClassEventData:?\xb2\xf8\xd8,*google.cloud.speech.customClass.v1.deleted\xca\xf8\xd8,\x0b\x63ustomclassB\xb2\x02\xaa\x02&Google.Events.Protobuf.Cloud.Speech.V1\xca\x02\x1dGoogle\\Events\\Cloud\\Speech\\V1\xea\x02!Google::Events::Cloud::Speech::V1\xba\xf8\xd8,\x14\x43loud Speech-to-Text\xc2\xf8\xd8,T\n\x0b\x63ustomclass\x12\x38The resource ID of the CustomClass triggering the event.\x1a\x0b\x63ustomClass\xc2\xf8\xd8,N\n\tphraseset\x12\x36The resource ID of the PhraseSet triggering the event.\x1a\tphraseSetb\x06proto3"
|
12
|
+
|
13
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
14
|
+
pool.add_serialized_file(descriptor_data)
|
15
|
+
|
16
|
+
module Google
|
17
|
+
module Events
|
18
|
+
module Cloud
|
19
|
+
module Speech
|
20
|
+
module V1
|
21
|
+
PhraseSetCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.speech.v1.PhraseSetCreatedEvent").msgclass
|
22
|
+
PhraseSetUpdatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.speech.v1.PhraseSetUpdatedEvent").msgclass
|
23
|
+
PhraseSetDeletedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.speech.v1.PhraseSetDeletedEvent").msgclass
|
24
|
+
CustomClassCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.speech.v1.CustomClassCreatedEvent").msgclass
|
25
|
+
CustomClassUpdatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.speech.v1.CustomClassUpdatedEvent").msgclass
|
26
|
+
CustomClassDeletedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.speech.v1.CustomClassDeletedEvent").msgclass
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
@@ -10,29 +10,7 @@ require 'google/protobuf/timestamp_pb'
|
|
10
10
|
descriptor_data = "\n)google/events/cloud/storage/v1/data.proto\x12\x1egoogle.events.cloud.storage.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\x91\x08\n\x11StorageObjectData\x12\x18\n\x10\x63ontent_encoding\x18\x01 \x01(\t\x12\x1b\n\x13\x63ontent_disposition\x18\x02 \x01(\t\x12\x15\n\rcache_control\x18\x03 \x01(\t\x12\x18\n\x10\x63ontent_language\x18\x05 \x01(\t\x12\x16\n\x0emetageneration\x18\x06 \x01(\x03\x12\x30\n\x0ctime_deleted\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x14\n\x0c\x63ontent_type\x18\x08 \x01(\t\x12\x0c\n\x04size\x18\t \x01(\x03\x12\x30\n\x0ctime_created\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0e\n\x06\x63rc32c\x18\x0b \x01(\t\x12\x17\n\x0f\x63omponent_count\x18\x0c \x01(\x05\x12\x10\n\x08md5_hash\x18\r \x01(\t\x12\x0c\n\x04\x65tag\x18\x0e \x01(\t\x12+\n\x07updated\x18\x0f \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x15\n\rstorage_class\x18\x10 \x01(\t\x12\x14\n\x0ckms_key_name\x18\x11 \x01(\t\x12>\n\x1atime_storage_class_updated\x18\x12 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x16\n\x0etemporary_hold\x18\x13 \x01(\x08\x12=\n\x19retention_expiration_time\x18\x14 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12Q\n\x08metadata\x18\x15 \x03(\x0b\x32?.google.events.cloud.storage.v1.StorageObjectData.MetadataEntry\x12\x18\n\x10\x65vent_based_hold\x18\x1d \x01(\x08\x12\x0c\n\x04name\x18\x17 \x01(\t\x12\n\n\x02id\x18\x18 \x01(\t\x12\x0e\n\x06\x62ucket\x18\x19 \x01(\t\x12\x12\n\ngeneration\x18\x1a \x01(\x03\x12\x61\n\x13\x63ustomer_encryption\x18\x1c \x01(\x0b\x32\x44.google.events.cloud.storage.v1.StorageObjectData.CustomerEncryption\x12\x12\n\nmedia_link\x18\x64 \x01(\t\x12\x11\n\tself_link\x18\x65 \x01(\t\x12\x0c\n\x04kind\x18\x66 \x01(\t\x1a\x46\n\x12\x43ustomerEncryption\x12\x1c\n\x14\x65ncryption_algorithm\x18\x01 \x01(\t\x12\x12\n\nkey_sha256\x18\x02 \x01(\t\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42p\xaa\x02\'Google.Events.Protobuf.Cloud.Storage.V1\xca\x02\x1eGoogle\\Events\\Cloud\\Storage\\V1\xea\x02\"Google::Events::Cloud::Storage::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/storage/v1/events.proto\x12\x1egoogle.events.cloud.storage.v1\x1a)google/events/cloud/storage/v1/data.proto\x1a\x1egoogle/events/cloudevent.proto\"\x91\x01\n\x14ObjectFinalizedEvent\x12?\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x31.google.events.cloud.storage.v1.StorageObjectData:8\xb2\xf8\xd8,(google.cloud.storage.object.v1.finalized\xca\xf8\xd8,\x06\x62ucket\"\x8f\x01\n\x13ObjectArchivedEvent\x12?\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x31.google.events.cloud.storage.v1.StorageObjectData:7\xb2\xf8\xd8,\'google.cloud.storage.object.v1.archived\xca\xf8\xd8,\x06\x62ucket\"\x8d\x01\n\x12ObjectDeletedEvent\x12?\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x31.google.events.cloud.storage.v1.StorageObjectData:6\xb2\xf8\xd8,&google.cloud.storage.object.v1.deleted\xca\xf8\xd8,\x06\x62ucket\"\x9d\x01\n\x1aObjectMetadataUpdatedEvent\x12?\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x31.google.events.cloud.storage.v1.StorageObjectData:>\xb2\xf8\xd8,.google.cloud.storage.object.v1.metadataUpdated\xca\xf8\xd8,\x06\x62ucketB\xaf\x01\xaa\x02\'Google.Events.Protobuf.Cloud.Storage.V1\xca\x02\x1eGoogle\\Events\\Cloud\\Storage\\V1\xea\x02\"Google::Events::Cloud::Storage::V1\xba\xf8\xd8,\rCloud Storage\xc2\xf8\xd8,(\n\x06\x62ucket\x12\x1eThe bucket name being watched.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.storage.v1.StorageObjectData", "google/events/cloud/storage/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
|
@@ -12,31 +12,7 @@ require 'google/rpc/status_pb'
|
|
12
12
|
descriptor_data = "\n2google/events/cloud/video/transcoder/v1/data.proto\x12\'google.events.cloud.video.transcoder.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"\xa6\x06\n\x03Job\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x44\n\x06\x63onfig\x18\x05 \x01(\x0b\x32\x32.google.events.cloud.video.transcoder.v1.JobConfigH\x00\x12K\n\x05state\x18\x08 \x01(\x0e\x32<.google.events.cloud.video.transcoder.v1.Job.ProcessingState\x12/\n\x0b\x63reate_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nstart_time\x18\r \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x0e \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12!\n\x19ttl_after_completion_days\x18\x0f \x01(\x05\x12H\n\x06labels\x18\x10 \x03(\x0b\x32\x38.google.events.cloud.video.transcoder.v1.Job.LabelsEntry\x12!\n\x05\x65rror\x18\x11 \x01(\x0b\x32\x12.google.rpc.Status\x12I\n\x04mode\x18\x14 \x01(\x0e\x32;.google.events.cloud.video.transcoder.v1.Job.ProcessingMode\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"h\n\x0fProcessingState\x12 \n\x1cPROCESSING_STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PENDING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\r\n\tSUCCEEDED\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04\"m\n\x0eProcessingMode\x12\x1f\n\x1bPROCESSING_MODE_UNSPECIFIED\x10\x00\x12\x1f\n\x1bPROCESSING_MODE_INTERACTIVE\x10\x01\x12\x19\n\x15PROCESSING_MODE_BATCH\x10\x02\x42\x0c\n\njob_config\"\xe0\x01\n\x0bJobTemplate\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x42\n\x06\x63onfig\x18\x02 \x01(\x0b\x32\x32.google.events.cloud.video.transcoder.v1.JobConfig\x12P\n\x06labels\x18\x03 \x03(\x0b\x32@.google.events.cloud.video.transcoder.v1.JobTemplate.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xe6\x05\n\tJobConfig\x12>\n\x06inputs\x18\x01 \x03(\x0b\x32..google.events.cloud.video.transcoder.v1.Input\x12\x44\n\tedit_list\x18\x02 \x03(\x0b\x32\x31.google.events.cloud.video.transcoder.v1.EditAtom\x12U\n\x12\x65lementary_streams\x18\x03 \x03(\x0b\x32\x39.google.events.cloud.video.transcoder.v1.ElementaryStream\x12G\n\x0bmux_streams\x18\x04 \x03(\x0b\x32\x32.google.events.cloud.video.transcoder.v1.MuxStream\x12\x44\n\tmanifests\x18\x05 \x03(\x0b\x32\x31.google.events.cloud.video.transcoder.v1.Manifest\x12?\n\x06output\x18\x06 \x01(\x0b\x32/.google.events.cloud.video.transcoder.v1.Output\x12\x43\n\tad_breaks\x18\x07 \x03(\x0b\x32\x30.google.events.cloud.video.transcoder.v1.AdBreak\x12V\n\x12pubsub_destination\x18\x08 \x01(\x0b\x32:.google.events.cloud.video.transcoder.v1.PubsubDestination\x12K\n\rsprite_sheets\x18\t \x03(\x0b\x32\x34.google.events.cloud.video.transcoder.v1.SpriteSheet\x12\x42\n\x08overlays\x18\n \x03(\x0b\x32\x30.google.events.cloud.video.transcoder.v1.Overlay\"}\n\x05Input\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x0b\n\x03uri\x18\x02 \x01(\t\x12Z\n\x14preprocessing_config\x18\x03 \x01(\x0b\x32<.google.events.cloud.video.transcoder.v1.PreprocessingConfig\"\x15\n\x06Output\x12\x0b\n\x03uri\x18\x01 \x01(\t\"\x91\x01\n\x08\x45\x64itAtom\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x0e\n\x06inputs\x18\x02 \x03(\t\x12\x32\n\x0f\x65nd_time_offset\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x34\n\x11start_time_offset\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\"?\n\x07\x41\x64\x42reak\x12\x34\n\x11start_time_offset\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\"\x9c\x02\n\x10\x45lementaryStream\x12\x0b\n\x03key\x18\x04 \x01(\t\x12L\n\x0cvideo_stream\x18\x01 \x01(\x0b\x32\x34.google.events.cloud.video.transcoder.v1.VideoStreamH\x00\x12L\n\x0c\x61udio_stream\x18\x02 \x01(\x0b\x32\x34.google.events.cloud.video.transcoder.v1.AudioStreamH\x00\x12J\n\x0btext_stream\x18\x03 \x01(\x0b\x32\x33.google.events.cloud.video.transcoder.v1.TextStreamH\x00\x42\x13\n\x11\x65lementary_stream\"\xae\x01\n\tMuxStream\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x11\n\tfile_name\x18\x02 \x01(\t\x12\x11\n\tcontainer\x18\x03 \x01(\t\x12\x1a\n\x12\x65lementary_streams\x18\x04 \x03(\t\x12R\n\x10segment_settings\x18\x05 \x01(\x0b\x32\x38.google.events.cloud.video.transcoder.v1.SegmentSettings\"\xc2\x01\n\x08Manifest\x12\x11\n\tfile_name\x18\x01 \x01(\t\x12L\n\x04type\x18\x02 \x01(\x0e\x32>.google.events.cloud.video.transcoder.v1.Manifest.ManifestType\x12\x13\n\x0bmux_streams\x18\x03 \x03(\t\"@\n\x0cManifestType\x12\x1d\n\x19MANIFEST_TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03HLS\x10\x01\x12\x08\n\x04\x44\x41SH\x10\x02\"\"\n\x11PubsubDestination\x12\r\n\x05topic\x18\x01 \x01(\t\"\xee\x02\n\x0bSpriteSheet\x12\x0e\n\x06\x66ormat\x18\x01 \x01(\t\x12\x13\n\x0b\x66ile_prefix\x18\x02 \x01(\t\x12\x1b\n\x13sprite_width_pixels\x18\x03 \x01(\x05\x12\x1c\n\x14sprite_height_pixels\x18\x04 \x01(\x05\x12\x14\n\x0c\x63olumn_count\x18\x05 \x01(\x05\x12\x11\n\trow_count\x18\x06 \x01(\x05\x12\x34\n\x11start_time_offset\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x32\n\x0f\x65nd_time_offset\x18\x08 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x15\n\x0btotal_count\x18\t \x01(\x05H\x00\x12-\n\x08interval\x18\n \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x12\x0f\n\x07quality\x18\x0b \x01(\x05\x42\x15\n\x13\x65xtraction_strategy\"\xc0\t\n\x07Overlay\x12\x45\n\x05image\x18\x01 \x01(\x0b\x32\x36.google.events.cloud.video.transcoder.v1.Overlay.Image\x12N\n\nanimations\x18\x02 \x03(\x0b\x32:.google.events.cloud.video.transcoder.v1.Overlay.Animation\x1a,\n\x14NormalizedCoordinate\x12\t\n\x01x\x18\x01 \x01(\x01\x12\t\n\x01y\x18\x02 \x01(\x01\x1a~\n\x05Image\x12\x0b\n\x03uri\x18\x01 \x01(\t\x12Y\n\nresolution\x18\x02 \x01(\x0b\x32\x45.google.events.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate\x12\r\n\x05\x61lpha\x18\x03 \x01(\x01\x1a\x9a\x01\n\x0f\x41nimationStatic\x12Q\n\x02xy\x18\x01 \x01(\x0b\x32\x45.google.events.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate\x12\x34\n\x11start_time_offset\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x1a\x9a\x02\n\rAnimationFade\x12L\n\tfade_type\x18\x01 \x01(\x0e\x32\x39.google.events.cloud.video.transcoder.v1.Overlay.FadeType\x12Q\n\x02xy\x18\x02 \x01(\x0b\x32\x45.google.events.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate\x12\x34\n\x11start_time_offset\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x32\n\x0f\x65nd_time_offset\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x1a\x44\n\x0c\x41nimationEnd\x12\x34\n\x11start_time_offset\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x1a\xad\x02\n\tAnimation\x12\\\n\x10\x61nimation_static\x18\x01 \x01(\x0b\x32@.google.events.cloud.video.transcoder.v1.Overlay.AnimationStaticH\x00\x12X\n\x0e\x61nimation_fade\x18\x02 \x01(\x0b\x32>.google.events.cloud.video.transcoder.v1.Overlay.AnimationFadeH\x00\x12V\n\ranimation_end\x18\x03 \x01(\x0b\x32=.google.events.cloud.video.transcoder.v1.Overlay.AnimationEndH\x00\x42\x10\n\x0e\x61nimation_type\"@\n\x08\x46\x61\x64\x65Type\x12\x19\n\x15\x46\x41\x44\x45_TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x46\x41\x44\x45_IN\x10\x01\x12\x0c\n\x08\x46\x41\x44\x45_OUT\x10\x02\"\xb2\x0b\n\x13PreprocessingConfig\x12Q\n\x05\x63olor\x18\x01 \x01(\x0b\x32\x42.google.events.cloud.video.transcoder.v1.PreprocessingConfig.Color\x12U\n\x07\x64\x65noise\x18\x02 \x01(\x0b\x32\x44.google.events.cloud.video.transcoder.v1.PreprocessingConfig.Denoise\x12U\n\x07\x64\x65\x62lock\x18\x03 \x01(\x0b\x32\x44.google.events.cloud.video.transcoder.v1.PreprocessingConfig.Deblock\x12Q\n\x05\x61udio\x18\x04 \x01(\x0b\x32\x42.google.events.cloud.video.transcoder.v1.PreprocessingConfig.Audio\x12O\n\x04\x63rop\x18\x05 \x01(\x0b\x32\x41.google.events.cloud.video.transcoder.v1.PreprocessingConfig.Crop\x12M\n\x03pad\x18\x06 \x01(\x0b\x32@.google.events.cloud.video.transcoder.v1.PreprocessingConfig.Pad\x12]\n\x0b\x64\x65interlace\x18\x07 \x01(\x0b\x32H.google.events.cloud.video.transcoder.v1.PreprocessingConfig.Deinterlace\x1a\x41\n\x05\x43olor\x12\x12\n\nsaturation\x18\x01 \x01(\x01\x12\x10\n\x08\x63ontrast\x18\x02 \x01(\x01\x12\x12\n\nbrightness\x18\x03 \x01(\x01\x1a)\n\x07\x44\x65noise\x12\x10\n\x08strength\x18\x01 \x01(\x01\x12\x0c\n\x04tune\x18\x02 \x01(\t\x1a,\n\x07\x44\x65\x62lock\x12\x10\n\x08strength\x18\x01 \x01(\x01\x12\x0f\n\x07\x65nabled\x18\x02 \x01(\x08\x1a<\n\x05\x41udio\x12\x0c\n\x04lufs\x18\x01 \x01(\x01\x12\x12\n\nhigh_boost\x18\x02 \x01(\x08\x12\x11\n\tlow_boost\x18\x03 \x01(\x08\x1a\\\n\x04\x43rop\x12\x12\n\ntop_pixels\x18\x01 \x01(\x05\x12\x15\n\rbottom_pixels\x18\x02 \x01(\x05\x12\x13\n\x0bleft_pixels\x18\x03 \x01(\x05\x12\x14\n\x0cright_pixels\x18\x04 \x01(\x05\x1a[\n\x03Pad\x12\x12\n\ntop_pixels\x18\x01 \x01(\x05\x12\x15\n\rbottom_pixels\x18\x02 \x01(\x05\x12\x13\n\x0bleft_pixels\x18\x03 \x01(\x05\x12\x14\n\x0cright_pixels\x18\x04 \x01(\x05\x1a\xb2\x03\n\x0b\x44\x65interlace\x12\x65\n\x05yadif\x18\x01 \x01(\x0b\x32T.google.events.cloud.video.transcoder.v1.PreprocessingConfig.Deinterlace.YadifConfigH\x00\x12\x65\n\x05\x62wdif\x18\x02 \x01(\x0b\x32T.google.events.cloud.video.transcoder.v1.PreprocessingConfig.Deinterlace.BwdifConfigH\x00\x1ap\n\x0bYadifConfig\x12\x0c\n\x04mode\x18\x01 \x01(\t\x12#\n\x1b\x64isable_spatial_interlacing\x18\x02 \x01(\x08\x12\x0e\n\x06parity\x18\x03 \x01(\t\x12\x1e\n\x16\x64\x65interlace_all_frames\x18\x04 \x01(\x08\x1aK\n\x0b\x42wdifConfig\x12\x0c\n\x04mode\x18\x01 \x01(\t\x12\x0e\n\x06parity\x18\x02 \x01(\t\x12\x1e\n\x16\x64\x65interlace_all_frames\x18\x03 \x01(\x08\x42\x16\n\x14\x64\x65interlacing_filter\"\x8c\x0c\n\x0bVideoStream\x12V\n\x04h264\x18\x01 \x01(\x0b\x32\x46.google.events.cloud.video.transcoder.v1.VideoStream.H264CodecSettingsH\x00\x12V\n\x04h265\x18\x02 \x01(\x0b\x32\x46.google.events.cloud.video.transcoder.v1.VideoStream.H265CodecSettingsH\x00\x12T\n\x03vp9\x18\x03 \x01(\x0b\x32\x45.google.events.cloud.video.transcoder.v1.VideoStream.Vp9CodecSettingsH\x00\x1a\xef\x03\n\x11H264CodecSettings\x12\x14\n\x0cwidth_pixels\x18\x01 \x01(\x05\x12\x15\n\rheight_pixels\x18\x02 \x01(\x05\x12\x12\n\nframe_rate\x18\x03 \x01(\x01\x12\x13\n\x0b\x62itrate_bps\x18\x04 \x01(\x05\x12\x14\n\x0cpixel_format\x18\x05 \x01(\t\x12\x19\n\x11rate_control_mode\x18\x06 \x01(\t\x12\x11\n\tcrf_level\x18\x07 \x01(\x05\x12\x16\n\x0e\x61llow_open_gop\x18\x08 \x01(\x08\x12\x19\n\x0fgop_frame_count\x18\t \x01(\x05H\x00\x12\x31\n\x0cgop_duration\x18\n \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x12\x17\n\x0f\x65nable_two_pass\x18\x0b \x01(\x08\x12\x15\n\rvbv_size_bits\x18\x0c \x01(\x05\x12\x19\n\x11vbv_fullness_bits\x18\r \x01(\x05\x12\x15\n\rentropy_coder\x18\x0e \x01(\t\x12\x11\n\tb_pyramid\x18\x0f \x01(\x08\x12\x15\n\rb_frame_count\x18\x10 \x01(\x05\x12\x13\n\x0b\x61q_strength\x18\x11 \x01(\x01\x12\x0f\n\x07profile\x18\x12 \x01(\t\x12\x0c\n\x04tune\x18\x13 \x01(\t\x12\x0e\n\x06preset\x18\x14 \x01(\tB\n\n\x08gop_mode\x1a\xd8\x03\n\x11H265CodecSettings\x12\x14\n\x0cwidth_pixels\x18\x01 \x01(\x05\x12\x15\n\rheight_pixels\x18\x02 \x01(\x05\x12\x12\n\nframe_rate\x18\x03 \x01(\x01\x12\x13\n\x0b\x62itrate_bps\x18\x04 \x01(\x05\x12\x14\n\x0cpixel_format\x18\x05 \x01(\t\x12\x19\n\x11rate_control_mode\x18\x06 \x01(\t\x12\x11\n\tcrf_level\x18\x07 \x01(\x05\x12\x16\n\x0e\x61llow_open_gop\x18\x08 \x01(\x08\x12\x19\n\x0fgop_frame_count\x18\t \x01(\x05H\x00\x12\x31\n\x0cgop_duration\x18\n \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x12\x17\n\x0f\x65nable_two_pass\x18\x0b \x01(\x08\x12\x15\n\rvbv_size_bits\x18\x0c \x01(\x05\x12\x19\n\x11vbv_fullness_bits\x18\r \x01(\x05\x12\x11\n\tb_pyramid\x18\x0e \x01(\x08\x12\x15\n\rb_frame_count\x18\x0f \x01(\x05\x12\x13\n\x0b\x61q_strength\x18\x10 \x01(\x01\x12\x0f\n\x07profile\x18\x11 \x01(\t\x12\x0c\n\x04tune\x18\x12 \x01(\t\x12\x0e\n\x06preset\x18\x13 \x01(\tB\n\n\x08gop_mode\x1a\x97\x02\n\x10Vp9CodecSettings\x12\x14\n\x0cwidth_pixels\x18\x01 \x01(\x05\x12\x15\n\rheight_pixels\x18\x02 \x01(\x05\x12\x12\n\nframe_rate\x18\x03 \x01(\x01\x12\x13\n\x0b\x62itrate_bps\x18\x04 \x01(\x05\x12\x14\n\x0cpixel_format\x18\x05 \x01(\t\x12\x19\n\x11rate_control_mode\x18\x06 \x01(\t\x12\x11\n\tcrf_level\x18\x07 \x01(\x05\x12\x19\n\x0fgop_frame_count\x18\x08 \x01(\x05H\x00\x12\x31\n\x0cgop_duration\x18\t \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x12\x0f\n\x07profile\x18\n \x01(\tB\n\n\x08gop_modeB\x10\n\x0e\x63odec_settings\"\x87\x03\n\x0b\x41udioStream\x12\r\n\x05\x63odec\x18\x01 \x01(\t\x12\x13\n\x0b\x62itrate_bps\x18\x02 \x01(\x05\x12\x15\n\rchannel_count\x18\x03 \x01(\x05\x12\x16\n\x0e\x63hannel_layout\x18\x04 \x03(\t\x12R\n\x07mapping\x18\x05 \x03(\x0b\x32\x41.google.events.cloud.video.transcoder.v1.AudioStream.AudioMapping\x12\x19\n\x11sample_rate_hertz\x18\x06 \x01(\x05\x12\x15\n\rlanguage_code\x18\x07 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x08 \x01(\t\x1a\x88\x01\n\x0c\x41udioMapping\x12\x10\n\x08\x61tom_key\x18\x01 \x01(\t\x12\x11\n\tinput_key\x18\x02 \x01(\t\x12\x13\n\x0binput_track\x18\x03 \x01(\x05\x12\x15\n\rinput_channel\x18\x04 \x01(\x05\x12\x16\n\x0eoutput_channel\x18\x05 \x01(\x05\x12\x0f\n\x07gain_db\x18\x06 \x01(\x01\"\xe3\x01\n\nTextStream\x12\r\n\x05\x63odec\x18\x01 \x01(\t\x12\x15\n\rlanguage_code\x18\x02 \x01(\t\x12P\n\x07mapping\x18\x03 \x03(\x0b\x32?.google.events.cloud.video.transcoder.v1.TextStream.TextMapping\x12\x14\n\x0c\x64isplay_name\x18\x04 \x01(\t\x1aG\n\x0bTextMapping\x12\x10\n\x08\x61tom_key\x18\x01 \x01(\t\x12\x11\n\tinput_key\x18\x02 \x01(\t\x12\x13\n\x0binput_track\x18\x03 \x01(\x05\"c\n\x0fSegmentSettings\x12\x33\n\x10segment_duration\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x1b\n\x13individual_segments\x18\x03 \x01(\x08\"^\n\x0cJobEventData\x12\x42\n\x07payload\x18\x01 \x01(\x0b\x32,.google.events.cloud.video.transcoder.v1.JobH\x00\x88\x01\x01\x42\n\n\x08_payload\"n\n\x14JobTemplateEventData\x12J\n\x07payload\x18\x01 \x01(\x0b\x32\x34.google.events.cloud.video.transcoder.v1.JobTemplateH\x00\x88\x01\x01\x42\n\n\x08_payloadB\x8c\x01\xaa\x02\x30Google.Events.Protobuf.Cloud.Video.Transcoder.V1\xca\x02\'Google\\Events\\Cloud\\Video\\Transcoder\\V1\xea\x02,Google::Events::Cloud::Video::Transcoder::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.rpc.Status", "google/rpc/status.proto"],
|
29
|
-
["google.protobuf.Duration", "google/protobuf/duration.proto"],
|
30
|
-
]
|
31
|
-
imports.each do |type_name, expected_filename|
|
32
|
-
import_file = pool.lookup(type_name).file_descriptor
|
33
|
-
if import_file.name != expected_filename
|
34
|
-
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
35
|
-
end
|
36
|
-
end
|
37
|
-
warn "Each proto file must use a consistent fully-qualified name."
|
38
|
-
warn "This will become an error in the next major version."
|
39
|
-
end
|
15
|
+
pool.add_serialized_file(descriptor_data)
|
40
16
|
|
41
17
|
module Google
|
42
18
|
module Events
|
@@ -11,29 +11,7 @@ require 'google/events/cloudevent_pb'
|
|
11
11
|
descriptor_data = "\n4google/events/cloud/video/transcoder/v1/events.proto\x12\'google.events.cloud.video.transcoder.v1\x1a\x32google/events/cloud/video/transcoder/v1/data.proto\x1a\x1egoogle/events/cloudevent.proto\"\x91\x01\n\x0fJobCreatedEvent\x12\x43\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x35.google.events.cloud.video.transcoder.v1.JobEventData:9\xb2\xf8\xd8,,google.cloud.video.transcoder.job.v1.created\xca\xf8\xd8,\x03job\"\x91\x01\n\x0fJobDeletedEvent\x12\x43\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x35.google.events.cloud.video.transcoder.v1.JobEventData:9\xb2\xf8\xd8,,google.cloud.video.transcoder.job.v1.deleted\xca\xf8\xd8,\x03job\"\xb1\x01\n\x17JobTemplateCreatedEvent\x12K\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32=.google.events.cloud.video.transcoder.v1.JobTemplateEventData:I\xb2\xf8\xd8,4google.cloud.video.transcoder.jobTemplate.v1.created\xca\xf8\xd8,\x0bjobtemplate\"\xb1\x01\n\x17JobTemplateDeletedEvent\x12K\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32=.google.events.cloud.video.transcoder.v1.JobTemplateEventData:I\xb2\xf8\xd8,4google.cloud.video.transcoder.jobTemplate.v1.deleted\xca\xf8\xd8,\x0bjobtemplateB\xb0\x02\xaa\x02\x30Google.Events.Protobuf.Cloud.Video.Transcoder.V1\xca\x02\'Google\\Events\\Cloud\\Video\\Transcoder\\V1\xea\x02,Google::Events::Cloud::Video::Transcoder::V1\xba\xf8\xd8,\nTranscoder\xc2\xf8\xd8,7\n\x03job\x12\x30The resource ID of the Job triggering the event.\xc2\xf8\xd8,T\n\x0bjobtemplate\x12\x38The resource ID of the JobTemplate triggering the event.\x1a\x0bjobTemplateb\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.video.transcoder.v1.JobEventData", "google/events/cloud/video/transcoder/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
|