google-events 0.1.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (70) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +13 -0
  3. data/lib/google/events/cloud/apigateway/v1/data_pb.rb +25 -77
  4. data/lib/google/events/cloud/apigateway/v1/events_pb.rb +25 -28
  5. data/lib/google/events/cloud/apigeeregistry/v1/data_pb.rb +25 -90
  6. data/lib/google/events/cloud/apigeeregistry/v1/events_pb.rb +25 -43
  7. data/lib/google/events/cloud/audit/v1/data_pb.rb +29 -91
  8. data/lib/google/events/cloud/audit/v1/events_pb.rb +25 -4
  9. data/lib/google/events/cloud/beyondcorp/appconnections/v1/data_pb.rb +25 -44
  10. data/lib/google/events/cloud/beyondcorp/appconnections/v1/events_pb.rb +25 -10
  11. data/lib/google/events/cloud/beyondcorp/appconnectors/v1/data_pb.rb +25 -44
  12. data/lib/google/events/cloud/beyondcorp/appconnectors/v1/events_pb.rb +25 -10
  13. data/lib/google/events/cloud/beyondcorp/appgateways/v1/data_pb.rb +25 -37
  14. data/lib/google/events/cloud/beyondcorp/appgateways/v1/events_pb.rb +25 -7
  15. data/lib/google/events/cloud/beyondcorp/clientconnectorservices/v1/data_pb.rb +25 -47
  16. data/lib/google/events/cloud/beyondcorp/clientconnectorservices/v1/events_pb.rb +25 -10
  17. data/lib/google/events/cloud/beyondcorp/clientgateways/v1/data_pb.rb +25 -21
  18. data/lib/google/events/cloud/beyondcorp/clientgateways/v1/events_pb.rb +25 -7
  19. data/lib/google/events/cloud/certificatemanager/v1/data_pb.rb +26 -157
  20. data/lib/google/events/cloud/certificatemanager/v1/events_pb.rb +25 -43
  21. data/lib/google/events/cloud/cloudbuild/v1/data_pb.rb +26 -162
  22. data/lib/google/events/cloud/cloudbuild/v1/events_pb.rb +25 -4
  23. data/lib/google/events/cloud/clouddms/v1/data_pb.rb +28 -241
  24. data/lib/google/events/cloud/clouddms/v1/events_pb.rb +25 -19
  25. data/lib/google/events/cloud/dataflow/v1beta3/data_pb.rb +26 -195
  26. data/lib/google/events/cloud/dataflow/v1beta3/events_pb.rb +25 -4
  27. data/lib/google/events/cloud/datafusion/v1/data_pb.rb +25 -107
  28. data/lib/google/events/cloud/datafusion/v1/events_pb.rb +25 -16
  29. data/lib/google/events/cloud/dataplex/v1/data_pb.rb +144 -0
  30. data/lib/google/events/cloud/dataplex/v1/events_pb.rb +74 -0
  31. data/lib/google/events/cloud/datastream/v1/data_pb.rb +26 -291
  32. data/lib/google/events/cloud/datastream/v1/events_pb.rb +25 -31
  33. data/lib/google/events/cloud/eventarc/v1/data_pb.rb +25 -89
  34. data/lib/google/events/cloud/eventarc/v1/events_pb.rb +25 -25
  35. data/lib/google/events/cloud/firestore/v1/data_pb.rb +26 -36
  36. data/lib/google/events/cloud/firestore/v1/events_pb.rb +25 -13
  37. data/lib/google/events/cloud/functions/v2/data_pb.rb +25 -155
  38. data/lib/google/events/cloud/functions/v2/events_pb.rb +25 -10
  39. data/lib/google/events/cloud/gkebackup/v1/data_pb.rb +71 -0
  40. data/lib/google/events/cloud/gkebackup/v1/events_pb.rb +59 -0
  41. data/lib/google/events/cloud/iot/v1/data_pb.rb +26 -132
  42. data/lib/google/events/cloud/iot/v1/events_pb.rb +25 -19
  43. data/lib/google/events/cloud/memcache/v1/data_pb.rb +27 -83
  44. data/lib/google/events/cloud/memcache/v1/events_pb.rb +25 -10
  45. data/lib/google/events/cloud/pubsub/v1/data_pb.rb +25 -12
  46. data/lib/google/events/cloud/pubsub/v1/events_pb.rb +25 -4
  47. data/lib/google/events/cloud/scheduler/v1/data_pb.rb +24 -4
  48. data/lib/google/events/cloud/scheduler/v1/events_pb.rb +25 -4
  49. data/lib/google/events/cloud/storage/v1/data_pb.rb +25 -36
  50. data/lib/google/events/cloud/storage/v1/events_pb.rb +25 -13
  51. data/lib/google/events/cloud/video/transcoder/v1/data_pb.rb +96 -0
  52. data/lib/google/events/cloud/video/transcoder/v1/events_pb.rb +53 -0
  53. data/lib/google/events/cloud/workflows/v1/data_pb.rb +25 -22
  54. data/lib/google/events/cloud/workflows/v1/events_pb.rb +25 -10
  55. data/lib/google/events/cloudevent_pb.rb +24 -6
  56. data/lib/google/events/firebase/analytics/v1/data_pb.rb +24 -76
  57. data/lib/google/events/firebase/analytics/v1/events_pb.rb +25 -4
  58. data/lib/google/events/firebase/auth/v1/data_pb.rb +26 -24
  59. data/lib/google/events/firebase/auth/v1/events_pb.rb +25 -7
  60. data/lib/google/events/firebase/database/v1/data_pb.rb +25 -5
  61. data/lib/google/events/firebase/database/v1/events_pb.rb +25 -13
  62. data/lib/google/events/firebase/firebasealerts/v1/cloud_event_payload_pb.rb +26 -79
  63. data/lib/google/events/firebase/firebasealerts/v1/data_pb.rb +26 -6
  64. data/lib/google/events/firebase/firebasealerts/v1/events_pb.rb +25 -4
  65. data/lib/google/events/firebase/remoteconfig/v1/data_pb.rb +25 -27
  66. data/lib/google/events/firebase/remoteconfig/v1/events_pb.rb +25 -4
  67. data/lib/google/events/firebase/testlab/v1/data_pb.rb +25 -35
  68. data/lib/google/events/firebase/testlab/v1/events_pb.rb +25 -4
  69. data/lib/google/events/version.rb +1 -1
  70. metadata +8 -2
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/events/cloud/dataflow/v1beta3/data.proto
3
4
 
@@ -6,203 +7,33 @@ require 'google/protobuf'
6
7
  require 'google/protobuf/struct_pb'
7
8
  require 'google/protobuf/timestamp_pb'
8
9
 
9
- Google::Protobuf::DescriptorPool.generated_pool.build do
10
- add_file("google/events/cloud/dataflow/v1beta3/data.proto", :syntax => :proto3) do
11
- add_message "google.events.cloud.dataflow.v1beta3.Environment" do
12
- optional :temp_storage_prefix, :string, 1
13
- optional :cluster_manager_api_service, :string, 2
14
- repeated :experiments, :string, 3
15
- repeated :service_options, :string, 16
16
- optional :service_kms_key_name, :string, 12
17
- repeated :worker_pools, :message, 4, "google.events.cloud.dataflow.v1beta3.WorkerPool"
18
- optional :user_agent, :message, 5, "google.protobuf.Struct"
19
- optional :version, :message, 6, "google.protobuf.Struct"
20
- optional :dataset, :string, 7
21
- optional :sdk_pipeline_options, :message, 8, "google.protobuf.Struct"
22
- optional :service_account_email, :string, 10
23
- optional :flex_resource_scheduling_goal, :enum, 11, "google.events.cloud.dataflow.v1beta3.FlexResourceSchedulingGoal"
24
- optional :worker_region, :string, 13
25
- optional :worker_zone, :string, 14
26
- optional :shuffle_mode, :enum, 15, "google.events.cloud.dataflow.v1beta3.ShuffleMode"
27
- optional :debug_options, :message, 17, "google.events.cloud.dataflow.v1beta3.DebugOptions"
28
- end
29
- add_message "google.events.cloud.dataflow.v1beta3.Package" do
30
- optional :name, :string, 1
31
- optional :location, :string, 2
32
- end
33
- add_message "google.events.cloud.dataflow.v1beta3.AutoscalingSettings" do
34
- optional :algorithm, :enum, 1, "google.events.cloud.dataflow.v1beta3.AutoscalingAlgorithm"
35
- optional :max_num_workers, :int32, 2
36
- end
37
- add_message "google.events.cloud.dataflow.v1beta3.SdkHarnessContainerImage" do
38
- optional :container_image, :string, 1
39
- optional :use_single_core_per_container, :bool, 2
40
- optional :environment_id, :string, 3
41
- repeated :capabilities, :string, 4
42
- end
43
- add_message "google.events.cloud.dataflow.v1beta3.WorkerPool" do
44
- optional :kind, :string, 1
45
- optional :num_workers, :int32, 2
46
- repeated :packages, :message, 3, "google.events.cloud.dataflow.v1beta3.Package"
47
- optional :default_package_set, :enum, 4, "google.events.cloud.dataflow.v1beta3.DefaultPackageSet"
48
- optional :machine_type, :string, 5
49
- optional :teardown_policy, :enum, 6, "google.events.cloud.dataflow.v1beta3.TeardownPolicy"
50
- optional :disk_size_gb, :int32, 7
51
- optional :disk_type, :string, 16
52
- optional :disk_source_image, :string, 8
53
- optional :zone, :string, 9
54
- optional :on_host_maintenance, :string, 11
55
- map :metadata, :string, :string, 13
56
- optional :autoscaling_settings, :message, 14, "google.events.cloud.dataflow.v1beta3.AutoscalingSettings"
57
- optional :network, :string, 17
58
- optional :subnetwork, :string, 19
59
- optional :worker_harness_container_image, :string, 18
60
- optional :num_threads_per_worker, :int32, 20
61
- optional :ip_configuration, :enum, 21, "google.events.cloud.dataflow.v1beta3.WorkerIPAddressConfiguration"
62
- repeated :sdk_harness_container_images, :message, 22, "google.events.cloud.dataflow.v1beta3.SdkHarnessContainerImage"
63
- end
64
- add_message "google.events.cloud.dataflow.v1beta3.DebugOptions" do
65
- optional :enable_hot_key_logging, :bool, 1
66
- end
67
- add_message "google.events.cloud.dataflow.v1beta3.Job" do
68
- optional :id, :string, 1
69
- optional :project_id, :string, 2
70
- optional :name, :string, 3
71
- optional :type, :enum, 4, "google.events.cloud.dataflow.v1beta3.JobType"
72
- optional :environment, :message, 5, "google.events.cloud.dataflow.v1beta3.Environment"
73
- optional :steps_location, :string, 24
74
- optional :current_state, :enum, 7, "google.events.cloud.dataflow.v1beta3.JobState"
75
- optional :current_state_time, :message, 8, "google.protobuf.Timestamp"
76
- optional :requested_state, :enum, 9, "google.events.cloud.dataflow.v1beta3.JobState"
77
- optional :execution_info, :message, 10, "google.events.cloud.dataflow.v1beta3.JobExecutionInfo"
78
- optional :create_time, :message, 11, "google.protobuf.Timestamp"
79
- optional :replace_job_id, :string, 12
80
- optional :client_request_id, :string, 14
81
- optional :replaced_by_job_id, :string, 15
82
- repeated :temp_files, :string, 16
83
- map :labels, :string, :string, 17
84
- optional :location, :string, 18
85
- repeated :stage_states, :message, 20, "google.events.cloud.dataflow.v1beta3.ExecutionStageState"
86
- optional :job_metadata, :message, 21, "google.events.cloud.dataflow.v1beta3.JobMetadata"
87
- optional :start_time, :message, 22, "google.protobuf.Timestamp"
88
- optional :created_from_snapshot_id, :string, 23
89
- optional :satisfies_pzs, :bool, 25
90
- end
91
- add_message "google.events.cloud.dataflow.v1beta3.DatastoreIODetails" do
92
- optional :namespace, :string, 1
93
- optional :project_id, :string, 2
94
- end
95
- add_message "google.events.cloud.dataflow.v1beta3.PubSubIODetails" do
96
- optional :topic, :string, 1
97
- optional :subscription, :string, 2
98
- end
99
- add_message "google.events.cloud.dataflow.v1beta3.FileIODetails" do
100
- optional :file_pattern, :string, 1
101
- end
102
- add_message "google.events.cloud.dataflow.v1beta3.BigTableIODetails" do
103
- optional :project_id, :string, 1
104
- optional :instance_id, :string, 2
105
- optional :table_id, :string, 3
106
- end
107
- add_message "google.events.cloud.dataflow.v1beta3.BigQueryIODetails" do
108
- optional :table, :string, 1
109
- optional :dataset, :string, 2
110
- optional :project_id, :string, 3
111
- optional :query, :string, 4
112
- end
113
- add_message "google.events.cloud.dataflow.v1beta3.SpannerIODetails" do
114
- optional :project_id, :string, 1
115
- optional :instance_id, :string, 2
116
- optional :database_id, :string, 3
117
- end
118
- add_message "google.events.cloud.dataflow.v1beta3.SdkVersion" do
119
- optional :version, :string, 1
120
- optional :version_display_name, :string, 2
121
- optional :sdk_support_status, :enum, 3, "google.events.cloud.dataflow.v1beta3.SdkVersion.SdkSupportStatus"
122
- end
123
- add_enum "google.events.cloud.dataflow.v1beta3.SdkVersion.SdkSupportStatus" do
124
- value :UNKNOWN, 0
125
- value :SUPPORTED, 1
126
- value :STALE, 2
127
- value :DEPRECATED, 3
128
- value :UNSUPPORTED, 4
129
- end
130
- add_message "google.events.cloud.dataflow.v1beta3.JobMetadata" do
131
- optional :sdk_version, :message, 1, "google.events.cloud.dataflow.v1beta3.SdkVersion"
132
- repeated :spanner_details, :message, 2, "google.events.cloud.dataflow.v1beta3.SpannerIODetails"
133
- repeated :bigquery_details, :message, 3, "google.events.cloud.dataflow.v1beta3.BigQueryIODetails"
134
- repeated :big_table_details, :message, 4, "google.events.cloud.dataflow.v1beta3.BigTableIODetails"
135
- repeated :pubsub_details, :message, 5, "google.events.cloud.dataflow.v1beta3.PubSubIODetails"
136
- repeated :file_details, :message, 6, "google.events.cloud.dataflow.v1beta3.FileIODetails"
137
- repeated :datastore_details, :message, 7, "google.events.cloud.dataflow.v1beta3.DatastoreIODetails"
138
- end
139
- add_message "google.events.cloud.dataflow.v1beta3.ExecutionStageState" do
140
- optional :execution_stage_name, :string, 1
141
- optional :execution_stage_state, :enum, 2, "google.events.cloud.dataflow.v1beta3.JobState"
142
- optional :current_state_time, :message, 3, "google.protobuf.Timestamp"
143
- end
144
- add_message "google.events.cloud.dataflow.v1beta3.JobExecutionInfo" do
145
- map :stages, :string, :message, 1, "google.events.cloud.dataflow.v1beta3.JobExecutionStageInfo"
146
- end
147
- add_message "google.events.cloud.dataflow.v1beta3.JobExecutionStageInfo" do
148
- repeated :step_name, :string, 1
149
- end
150
- add_message "google.events.cloud.dataflow.v1beta3.JobEventData" do
151
- optional :payload, :message, 1, "google.events.cloud.dataflow.v1beta3.Job"
152
- end
153
- add_enum "google.events.cloud.dataflow.v1beta3.JobType" do
154
- value :JOB_TYPE_UNKNOWN, 0
155
- value :JOB_TYPE_BATCH, 1
156
- value :JOB_TYPE_STREAMING, 2
157
- end
158
- add_enum "google.events.cloud.dataflow.v1beta3.FlexResourceSchedulingGoal" do
159
- value :FLEXRS_UNSPECIFIED, 0
160
- value :FLEXRS_SPEED_OPTIMIZED, 1
161
- value :FLEXRS_COST_OPTIMIZED, 2
162
- end
163
- add_enum "google.events.cloud.dataflow.v1beta3.TeardownPolicy" do
164
- value :TEARDOWN_POLICY_UNKNOWN, 0
165
- value :TEARDOWN_ALWAYS, 1
166
- value :TEARDOWN_ON_SUCCESS, 2
167
- value :TEARDOWN_NEVER, 3
168
- end
169
- add_enum "google.events.cloud.dataflow.v1beta3.DefaultPackageSet" do
170
- value :DEFAULT_PACKAGE_SET_UNKNOWN, 0
171
- value :DEFAULT_PACKAGE_SET_NONE, 1
172
- value :DEFAULT_PACKAGE_SET_JAVA, 2
173
- value :DEFAULT_PACKAGE_SET_PYTHON, 3
174
- end
175
- add_enum "google.events.cloud.dataflow.v1beta3.AutoscalingAlgorithm" do
176
- value :AUTOSCALING_ALGORITHM_UNKNOWN, 0
177
- value :AUTOSCALING_ALGORITHM_NONE, 1
178
- value :AUTOSCALING_ALGORITHM_BASIC, 2
179
- end
180
- add_enum "google.events.cloud.dataflow.v1beta3.WorkerIPAddressConfiguration" do
181
- value :WORKER_IP_UNSPECIFIED, 0
182
- value :WORKER_IP_PUBLIC, 1
183
- value :WORKER_IP_PRIVATE, 2
184
- end
185
- add_enum "google.events.cloud.dataflow.v1beta3.ShuffleMode" do
186
- value :SHUFFLE_MODE_UNSPECIFIED, 0
187
- value :VM_BASED, 1
188
- value :SERVICE_BASED, 2
189
- end
190
- add_enum "google.events.cloud.dataflow.v1beta3.JobState" do
191
- value :JOB_STATE_UNKNOWN, 0
192
- value :JOB_STATE_STOPPED, 1
193
- value :JOB_STATE_RUNNING, 2
194
- value :JOB_STATE_DONE, 3
195
- value :JOB_STATE_FAILED, 4
196
- value :JOB_STATE_CANCELLED, 5
197
- value :JOB_STATE_UPDATED, 6
198
- value :JOB_STATE_DRAINING, 7
199
- value :JOB_STATE_DRAINED, 8
200
- value :JOB_STATE_PENDING, 9
201
- value :JOB_STATE_CANCELLING, 10
202
- value :JOB_STATE_QUEUED, 11
203
- value :JOB_STATE_RESOURCE_CLEANING_UP, 12
10
+
11
+ descriptor_data = "\n/google/events/cloud/dataflow/v1beta3/data.proto\x12$google.events.cloud.dataflow.v1beta3\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xca\x05\n\x0b\x45nvironment\x12\x1b\n\x13temp_storage_prefix\x18\x01 \x01(\t\x12#\n\x1b\x63luster_manager_api_service\x18\x02 \x01(\t\x12\x13\n\x0b\x65xperiments\x18\x03 \x03(\t\x12\x17\n\x0fservice_options\x18\x10 \x03(\t\x12\x1c\n\x14service_kms_key_name\x18\x0c \x01(\t\x12\x46\n\x0cworker_pools\x18\x04 \x03(\x0b\x32\x30.google.events.cloud.dataflow.v1beta3.WorkerPool\x12+\n\nuser_agent\x18\x05 \x01(\x0b\x32\x17.google.protobuf.Struct\x12(\n\x07version\x18\x06 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x0f\n\x07\x64\x61taset\x18\x07 \x01(\t\x12\x35\n\x14sdk_pipeline_options\x18\x08 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x1d\n\x15service_account_email\x18\n \x01(\t\x12g\n\x1d\x66lex_resource_scheduling_goal\x18\x0b \x01(\x0e\x32@.google.events.cloud.dataflow.v1beta3.FlexResourceSchedulingGoal\x12\x15\n\rworker_region\x18\r \x01(\t\x12\x13\n\x0bworker_zone\x18\x0e \x01(\t\x12G\n\x0cshuffle_mode\x18\x0f \x01(\x0e\x32\x31.google.events.cloud.dataflow.v1beta3.ShuffleMode\x12I\n\rdebug_options\x18\x11 \x01(\x0b\x32\x32.google.events.cloud.dataflow.v1beta3.DebugOptions\")\n\x07Package\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x10\n\x08location\x18\x02 \x01(\t\"}\n\x13\x41utoscalingSettings\x12M\n\talgorithm\x18\x01 \x01(\x0e\x32:.google.events.cloud.dataflow.v1beta3.AutoscalingAlgorithm\x12\x17\n\x0fmax_num_workers\x18\x02 \x01(\x05\"\x88\x01\n\x18SdkHarnessContainerImage\x12\x17\n\x0f\x63ontainer_image\x18\x01 \x01(\t\x12%\n\x1duse_single_core_per_container\x18\x02 \x01(\x08\x12\x16\n\x0e\x65nvironment_id\x18\x03 \x01(\t\x12\x14\n\x0c\x63\x61pabilities\x18\x04 \x03(\t\"\xa7\x07\n\nWorkerPool\x12\x0c\n\x04kind\x18\x01 \x01(\t\x12\x13\n\x0bnum_workers\x18\x02 \x01(\x05\x12?\n\x08packages\x18\x03 \x03(\x0b\x32-.google.events.cloud.dataflow.v1beta3.Package\x12T\n\x13\x64\x65\x66\x61ult_package_set\x18\x04 \x01(\x0e\x32\x37.google.events.cloud.dataflow.v1beta3.DefaultPackageSet\x12\x14\n\x0cmachine_type\x18\x05 \x01(\t\x12M\n\x0fteardown_policy\x18\x06 \x01(\x0e\x32\x34.google.events.cloud.dataflow.v1beta3.TeardownPolicy\x12\x14\n\x0c\x64isk_size_gb\x18\x07 \x01(\x05\x12\x11\n\tdisk_type\x18\x10 \x01(\t\x12\x19\n\x11\x64isk_source_image\x18\x08 \x01(\t\x12\x0c\n\x04zone\x18\t \x01(\t\x12\x1b\n\x13on_host_maintenance\x18\x0b \x01(\t\x12P\n\x08metadata\x18\r \x03(\x0b\x32>.google.events.cloud.dataflow.v1beta3.WorkerPool.MetadataEntry\x12W\n\x14\x61utoscaling_settings\x18\x0e \x01(\x0b\x32\x39.google.events.cloud.dataflow.v1beta3.AutoscalingSettings\x12\x0f\n\x07network\x18\x11 \x01(\t\x12\x12\n\nsubnetwork\x18\x13 \x01(\t\x12&\n\x1eworker_harness_container_image\x18\x12 \x01(\t\x12\x1e\n\x16num_threads_per_worker\x18\x14 \x01(\x05\x12\\\n\x10ip_configuration\x18\x15 \x01(\x0e\x32\x42.google.events.cloud.dataflow.v1beta3.WorkerIPAddressConfiguration\x12\x64\n\x1csdk_harness_container_images\x18\x16 \x03(\x0b\x32>.google.events.cloud.dataflow.v1beta3.SdkHarnessContainerImage\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\".\n\x0c\x44\x65\x62ugOptions\x12\x1e\n\x16\x65nable_hot_key_logging\x18\x01 \x01(\x08\"\x87\x08\n\x03Job\x12\n\n\x02id\x18\x01 \x01(\t\x12\x12\n\nproject_id\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12;\n\x04type\x18\x04 \x01(\x0e\x32-.google.events.cloud.dataflow.v1beta3.JobType\x12\x46\n\x0b\x65nvironment\x18\x05 \x01(\x0b\x32\x31.google.events.cloud.dataflow.v1beta3.Environment\x12\x16\n\x0esteps_location\x18\x18 \x01(\t\x12\x45\n\rcurrent_state\x18\x07 \x01(\x0e\x32..google.events.cloud.dataflow.v1beta3.JobState\x12\x36\n\x12\x63urrent_state_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12G\n\x0frequested_state\x18\t \x01(\x0e\x32..google.events.cloud.dataflow.v1beta3.JobState\x12N\n\x0e\x65xecution_info\x18\n \x01(\x0b\x32\x36.google.events.cloud.dataflow.v1beta3.JobExecutionInfo\x12/\n\x0b\x63reate_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x16\n\x0ereplace_job_id\x18\x0c \x01(\t\x12\x19\n\x11\x63lient_request_id\x18\x0e \x01(\t\x12\x1a\n\x12replaced_by_job_id\x18\x0f \x01(\t\x12\x12\n\ntemp_files\x18\x10 \x03(\t\x12\x45\n\x06labels\x18\x11 \x03(\x0b\x32\x35.google.events.cloud.dataflow.v1beta3.Job.LabelsEntry\x12\x10\n\x08location\x18\x12 \x01(\t\x12O\n\x0cstage_states\x18\x14 \x03(\x0b\x32\x39.google.events.cloud.dataflow.v1beta3.ExecutionStageState\x12G\n\x0cjob_metadata\x18\x15 \x01(\x0b\x32\x31.google.events.cloud.dataflow.v1beta3.JobMetadata\x12.\n\nstart_time\x18\x16 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12 \n\x18\x63reated_from_snapshot_id\x18\x17 \x01(\t\x12\x15\n\rsatisfies_pzs\x18\x19 \x01(\x08\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\";\n\x12\x44\x61tastoreIODetails\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x12\n\nproject_id\x18\x02 \x01(\t\"6\n\x0fPubSubIODetails\x12\r\n\x05topic\x18\x01 \x01(\t\x12\x14\n\x0csubscription\x18\x02 \x01(\t\"%\n\rFileIODetails\x12\x14\n\x0c\x66ile_pattern\x18\x01 \x01(\t\"N\n\x11\x42igTableIODetails\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x13\n\x0binstance_id\x18\x02 \x01(\t\x12\x10\n\x08table_id\x18\x03 \x01(\t\"V\n\x11\x42igQueryIODetails\x12\r\n\x05table\x18\x01 \x01(\t\x12\x0f\n\x07\x64\x61taset\x18\x02 \x01(\t\x12\x12\n\nproject_id\x18\x03 \x01(\t\x12\r\n\x05query\x18\x04 \x01(\t\"P\n\x10SpannerIODetails\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x13\n\x0binstance_id\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x61tabase_id\x18\x03 \x01(\t\"\xf6\x01\n\nSdkVersion\x12\x0f\n\x07version\x18\x01 \x01(\t\x12\x1c\n\x14version_display_name\x18\x02 \x01(\t\x12]\n\x12sdk_support_status\x18\x03 \x01(\x0e\x32\x41.google.events.cloud.dataflow.v1beta3.SdkVersion.SdkSupportStatus\"Z\n\x10SdkSupportStatus\x12\x0b\n\x07UNKNOWN\x10\x00\x12\r\n\tSUPPORTED\x10\x01\x12\t\n\x05STALE\x10\x02\x12\x0e\n\nDEPRECATED\x10\x03\x12\x0f\n\x0bUNSUPPORTED\x10\x04\"\xbb\x04\n\x0bJobMetadata\x12\x45\n\x0bsdk_version\x18\x01 \x01(\x0b\x32\x30.google.events.cloud.dataflow.v1beta3.SdkVersion\x12O\n\x0fspanner_details\x18\x02 \x03(\x0b\x32\x36.google.events.cloud.dataflow.v1beta3.SpannerIODetails\x12Q\n\x10\x62igquery_details\x18\x03 \x03(\x0b\x32\x37.google.events.cloud.dataflow.v1beta3.BigQueryIODetails\x12R\n\x11\x62ig_table_details\x18\x04 \x03(\x0b\x32\x37.google.events.cloud.dataflow.v1beta3.BigTableIODetails\x12M\n\x0epubsub_details\x18\x05 \x03(\x0b\x32\x35.google.events.cloud.dataflow.v1beta3.PubSubIODetails\x12I\n\x0c\x66ile_details\x18\x06 \x03(\x0b\x32\x33.google.events.cloud.dataflow.v1beta3.FileIODetails\x12S\n\x11\x64\x61tastore_details\x18\x07 \x03(\x0b\x32\x38.google.events.cloud.dataflow.v1beta3.DatastoreIODetails\"\xba\x01\n\x13\x45xecutionStageState\x12\x1c\n\x14\x65xecution_stage_name\x18\x01 \x01(\t\x12M\n\x15\x65xecution_stage_state\x18\x02 \x01(\x0e\x32..google.events.cloud.dataflow.v1beta3.JobState\x12\x36\n\x12\x63urrent_state_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xd2\x01\n\x10JobExecutionInfo\x12R\n\x06stages\x18\x01 \x03(\x0b\x32\x42.google.events.cloud.dataflow.v1beta3.JobExecutionInfo.StagesEntry\x1aj\n\x0bStagesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12J\n\x05value\x18\x02 \x01(\x0b\x32;.google.events.cloud.dataflow.v1beta3.JobExecutionStageInfo:\x02\x38\x01\"*\n\x15JobExecutionStageInfo\x12\x11\n\tstep_name\x18\x01 \x03(\t\"J\n\x0cJobEventData\x12:\n\x07payload\x18\x01 \x01(\x0b\x32).google.events.cloud.dataflow.v1beta3.Job*K\n\x07JobType\x12\x14\n\x10JOB_TYPE_UNKNOWN\x10\x00\x12\x12\n\x0eJOB_TYPE_BATCH\x10\x01\x12\x16\n\x12JOB_TYPE_STREAMING\x10\x02*k\n\x1a\x46lexResourceSchedulingGoal\x12\x16\n\x12\x46LEXRS_UNSPECIFIED\x10\x00\x12\x1a\n\x16\x46LEXRS_SPEED_OPTIMIZED\x10\x01\x12\x19\n\x15\x46LEXRS_COST_OPTIMIZED\x10\x02*o\n\x0eTeardownPolicy\x12\x1b\n\x17TEARDOWN_POLICY_UNKNOWN\x10\x00\x12\x13\n\x0fTEARDOWN_ALWAYS\x10\x01\x12\x17\n\x13TEARDOWN_ON_SUCCESS\x10\x02\x12\x12\n\x0eTEARDOWN_NEVER\x10\x03*\x90\x01\n\x11\x44\x65\x66\x61ultPackageSet\x12\x1f\n\x1b\x44\x45\x46\x41ULT_PACKAGE_SET_UNKNOWN\x10\x00\x12\x1c\n\x18\x44\x45\x46\x41ULT_PACKAGE_SET_NONE\x10\x01\x12\x1c\n\x18\x44\x45\x46\x41ULT_PACKAGE_SET_JAVA\x10\x02\x12\x1e\n\x1a\x44\x45\x46\x41ULT_PACKAGE_SET_PYTHON\x10\x03*z\n\x14\x41utoscalingAlgorithm\x12!\n\x1d\x41UTOSCALING_ALGORITHM_UNKNOWN\x10\x00\x12\x1e\n\x1a\x41UTOSCALING_ALGORITHM_NONE\x10\x01\x12\x1f\n\x1b\x41UTOSCALING_ALGORITHM_BASIC\x10\x02*f\n\x1cWorkerIPAddressConfiguration\x12\x19\n\x15WORKER_IP_UNSPECIFIED\x10\x00\x12\x14\n\x10WORKER_IP_PUBLIC\x10\x01\x12\x15\n\x11WORKER_IP_PRIVATE\x10\x02*L\n\x0bShuffleMode\x12\x1c\n\x18SHUFFLE_MODE_UNSPECIFIED\x10\x00\x12\x0c\n\x08VM_BASED\x10\x01\x12\x11\n\rSERVICE_BASED\x10\x02*\xc3\x02\n\x08JobState\x12\x15\n\x11JOB_STATE_UNKNOWN\x10\x00\x12\x15\n\x11JOB_STATE_STOPPED\x10\x01\x12\x15\n\x11JOB_STATE_RUNNING\x10\x02\x12\x12\n\x0eJOB_STATE_DONE\x10\x03\x12\x14\n\x10JOB_STATE_FAILED\x10\x04\x12\x17\n\x13JOB_STATE_CANCELLED\x10\x05\x12\x15\n\x11JOB_STATE_UPDATED\x10\x06\x12\x16\n\x12JOB_STATE_DRAINING\x10\x07\x12\x15\n\x11JOB_STATE_DRAINED\x10\x08\x12\x15\n\x11JOB_STATE_PENDING\x10\t\x12\x18\n\x14JOB_STATE_CANCELLING\x10\n\x12\x14\n\x10JOB_STATE_QUEUED\x10\x0b\x12\"\n\x1eJOB_STATE_RESOURCE_CLEANING_UP\x10\x0c\x42\x82\x01\xaa\x02-Google.Events.Protobuf.Cloud.Dataflow.V1Beta3\xca\x02$Google\\Events\\Cloud\\Dataflow\\V1beta3\xea\x02(Google::Events::Cloud::Dataflow::V1beta3b\x06proto3"
12
+
13
+ pool = Google::Protobuf::DescriptorPool.generated_pool
14
+
15
+ begin
16
+ pool.add_serialized_file(descriptor_data)
17
+ rescue TypeError => e
18
+ # Compatibility code: will be removed in the next major version.
19
+ require 'google/protobuf/descriptor_pb'
20
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
21
+ parsed.clear_dependency
22
+ serialized = parsed.class.encode(parsed)
23
+ file = pool.add_serialized_file(serialized)
24
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
25
+ imports = [
26
+ ["google.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}"
204
33
  end
205
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."
206
37
  end
207
38
 
208
39
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/events/cloud/dataflow/v1beta3/events.proto
3
4
 
@@ -6,12 +7,32 @@ require 'google/protobuf'
6
7
  require 'google/events/cloud/dataflow/v1beta3/data_pb'
7
8
  require 'google/events/cloudevent_pb'
8
9
 
9
- Google::Protobuf::DescriptorPool.generated_pool.build do
10
- add_file("google/events/cloud/dataflow/v1beta3/events.proto", :syntax => :proto3) do
11
- add_message "google.events.cloud.dataflow.v1beta3.JobStatusChangedEvent" do
12
- optional :data, :message, 1, "google.events.cloud.dataflow.v1beta3.JobEventData"
10
+
11
+ descriptor_data = "\n1google/events/cloud/dataflow/v1beta3/events.proto\x12$google.events.cloud.dataflow.v1beta3\x1a/google/events/cloud/dataflow/v1beta3/data.proto\x1a\x1egoogle/events/cloudevent.proto\"\x97\x01\n\x15JobStatusChangedEvent\x12@\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x32.google.events.cloud.dataflow.v1beta3.JobEventData:<\xb2\xf8\xd8,/google.cloud.dataflow.job.v1beta3.statusChanged\xca\xf8\xd8,\x03jobB\xca\x01\xaa\x02-Google.Events.Protobuf.Cloud.Dataflow.V1Beta3\xca\x02$Google\\Events\\Cloud\\Dataflow\\V1beta3\xea\x02(Google::Events::Cloud::Dataflow::V1beta3\xba\xf8\xd8,\x0e\x43loud Dataflow\xc2\xf8\xd8,0\n\x03job\x12)The name of the Job triggering the event.b\x06proto3"
12
+
13
+ pool = Google::Protobuf::DescriptorPool.generated_pool
14
+
15
+ begin
16
+ pool.add_serialized_file(descriptor_data)
17
+ rescue TypeError => e
18
+ # Compatibility code: will be removed in the next major version.
19
+ require 'google/protobuf/descriptor_pb'
20
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
21
+ parsed.clear_dependency
22
+ serialized = parsed.class.encode(parsed)
23
+ file = pool.add_serialized_file(serialized)
24
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
25
+ imports = [
26
+ ["google.events.cloud.dataflow.v1beta3.JobEventData", "google/events/cloud/dataflow/v1beta3/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}"
13
32
  end
14
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."
15
36
  end
16
37
 
17
38
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/events/cloud/datafusion/v1/data.proto
3
4
 
@@ -5,115 +6,32 @@ require 'google/protobuf'
5
6
 
6
7
  require 'google/protobuf/timestamp_pb'
7
8
 
8
- Google::Protobuf::DescriptorPool.generated_pool.build do
9
- add_file("google/events/cloud/datafusion/v1/data.proto", :syntax => :proto3) do
10
- add_message "google.events.cloud.datafusion.v1.NetworkConfig" do
11
- optional :network, :string, 1
12
- optional :ip_allocation, :string, 2
13
- end
14
- add_message "google.events.cloud.datafusion.v1.Version" do
15
- optional :version_number, :string, 1
16
- optional :default_version, :bool, 2
17
- repeated :available_features, :string, 3
18
- optional :type, :enum, 4, "google.events.cloud.datafusion.v1.Version.Type"
19
- end
20
- add_enum "google.events.cloud.datafusion.v1.Version.Type" do
21
- value :TYPE_UNSPECIFIED, 0
22
- value :TYPE_PREVIEW, 1
23
- value :TYPE_GENERAL_AVAILABILITY, 2
24
- end
25
- add_message "google.events.cloud.datafusion.v1.Accelerator" do
26
- optional :accelerator_type, :enum, 1, "google.events.cloud.datafusion.v1.Accelerator.AcceleratorType"
27
- optional :state, :enum, 2, "google.events.cloud.datafusion.v1.Accelerator.State"
28
- end
29
- add_enum "google.events.cloud.datafusion.v1.Accelerator.AcceleratorType" do
30
- value :ACCELERATOR_TYPE_UNSPECIFIED, 0
31
- value :CDC, 1
32
- value :HEALTHCARE, 2
33
- value :CCAI_INSIGHTS, 3
34
- end
35
- add_enum "google.events.cloud.datafusion.v1.Accelerator.State" do
36
- value :STATE_UNSPECIFIED, 0
37
- value :ENABLED, 1
38
- value :DISABLED, 2
39
- value :UNKNOWN, 3
40
- end
41
- add_message "google.events.cloud.datafusion.v1.CryptoKeyConfig" do
42
- optional :key_reference, :string, 1
43
- end
44
- add_message "google.events.cloud.datafusion.v1.Instance" do
45
- optional :name, :string, 1
46
- optional :description, :string, 2
47
- optional :type, :enum, 3, "google.events.cloud.datafusion.v1.Instance.Type"
48
- optional :enable_stackdriver_logging, :bool, 4
49
- optional :enable_stackdriver_monitoring, :bool, 5
50
- optional :private_instance, :bool, 6
51
- optional :network_config, :message, 7, "google.events.cloud.datafusion.v1.NetworkConfig"
52
- map :labels, :string, :string, 8
53
- map :options, :string, :string, 9
54
- optional :create_time, :message, 10, "google.protobuf.Timestamp"
55
- optional :update_time, :message, 11, "google.protobuf.Timestamp"
56
- optional :state, :enum, 12, "google.events.cloud.datafusion.v1.Instance.State"
57
- optional :state_message, :string, 13
58
- optional :service_endpoint, :string, 14
59
- optional :zone, :string, 15
60
- optional :version, :string, 16
61
- optional :service_account, :string, 17
62
- optional :display_name, :string, 18
63
- repeated :available_version, :message, 19, "google.events.cloud.datafusion.v1.Version"
64
- optional :api_endpoint, :string, 20
65
- optional :gcs_bucket, :string, 21
66
- repeated :accelerators, :message, 22, "google.events.cloud.datafusion.v1.Accelerator"
67
- optional :p4_service_account, :string, 23
68
- optional :tenant_project_id, :string, 24
69
- optional :dataproc_service_account, :string, 25
70
- optional :enable_rbac, :bool, 27
71
- optional :crypto_key_config, :message, 28, "google.events.cloud.datafusion.v1.CryptoKeyConfig"
72
- repeated :disabled_reason, :enum, 29, "google.events.cloud.datafusion.v1.Instance.DisabledReason"
73
- optional :event_publish_config, :message, 30, "google.events.cloud.datafusion.v1.EventPublishConfig"
74
- optional :enable_zone_separation, :bool, 31
75
- end
76
- add_enum "google.events.cloud.datafusion.v1.Instance.Type" do
77
- value :TYPE_UNSPECIFIED, 0
78
- value :BASIC, 1
79
- value :ENTERPRISE, 2
80
- value :DEVELOPER, 3
81
- end
82
- add_enum "google.events.cloud.datafusion.v1.Instance.State" do
83
- value :STATE_UNSPECIFIED, 0
84
- value :CREATING, 1
85
- value :ACTIVE, 2
86
- value :FAILED, 3
87
- value :DELETING, 4
88
- value :UPGRADING, 5
89
- value :RESTARTING, 6
90
- value :UPDATING, 7
91
- value :AUTO_UPDATING, 8
92
- value :AUTO_UPGRADING, 9
93
- value :DISABLED, 10
94
- end
95
- add_enum "google.events.cloud.datafusion.v1.Instance.DisabledReason" do
96
- value :DISABLED_REASON_UNSPECIFIED, 0
97
- value :KMS_KEY_ISSUE, 1
98
- end
99
- add_message "google.events.cloud.datafusion.v1.EventPublishConfig" do
100
- optional :enabled, :bool, 1
101
- optional :topic, :string, 2
102
- end
103
- add_message "google.events.cloud.datafusion.v1.DnsPeering" do
104
- optional :name, :string, 1
105
- optional :domain, :string, 2
106
- optional :description, :string, 3
107
- optional :target_project, :string, 4
108
- optional :target_network, :string, 5
109
- end
110
- add_message "google.events.cloud.datafusion.v1.InstanceEventData" do
111
- proto3_optional :payload, :message, 1, "google.events.cloud.datafusion.v1.Instance"
112
- end
113
- add_message "google.events.cloud.datafusion.v1.DnsPeeringEventData" do
114
- proto3_optional :payload, :message, 1, "google.events.cloud.datafusion.v1.DnsPeering"
9
+
10
+ descriptor_data = "\n,google/events/cloud/datafusion/v1/data.proto\x12!google.events.cloud.datafusion.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"7\n\rNetworkConfig\x12\x0f\n\x07network\x18\x01 \x01(\t\x12\x15\n\rip_allocation\x18\x02 \x01(\t\"\xe4\x01\n\x07Version\x12\x16\n\x0eversion_number\x18\x01 \x01(\t\x12\x17\n\x0f\x64\x65\x66\x61ult_version\x18\x02 \x01(\x08\x12\x1a\n\x12\x61vailable_features\x18\x03 \x03(\t\x12=\n\x04type\x18\x04 \x01(\x0e\x32/.google.events.cloud.datafusion.v1.Version.Type\"M\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x10\n\x0cTYPE_PREVIEW\x10\x01\x12\x1d\n\x19TYPE_GENERAL_AVAILABILITY\x10\x02\"\xd5\x02\n\x0b\x41\x63\x63\x65lerator\x12X\n\x10\x61\x63\x63\x65lerator_type\x18\x01 \x01(\x0e\x32>.google.events.cloud.datafusion.v1.Accelerator.AcceleratorType\x12\x43\n\x05state\x18\x02 \x01(\x0e\x32\x34.google.events.cloud.datafusion.v1.Accelerator.State\"_\n\x0f\x41\x63\x63\x65leratorType\x12 \n\x1c\x41\x43\x43\x45LERATOR_TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03\x43\x44\x43\x10\x01\x12\x0e\n\nHEALTHCARE\x10\x02\x12\x11\n\rCCAI_INSIGHTS\x10\x03\"F\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x45NABLED\x10\x01\x12\x0c\n\x08\x44ISABLED\x10\x02\x12\x0b\n\x07UNKNOWN\x10\x03\"(\n\x0f\x43ryptoKeyConfig\x12\x15\n\rkey_reference\x18\x01 \x01(\t\"\xb5\r\n\x08Instance\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12>\n\x04type\x18\x03 \x01(\x0e\x32\x30.google.events.cloud.datafusion.v1.Instance.Type\x12\"\n\x1a\x65nable_stackdriver_logging\x18\x04 \x01(\x08\x12%\n\x1d\x65nable_stackdriver_monitoring\x18\x05 \x01(\x08\x12\x18\n\x10private_instance\x18\x06 \x01(\x08\x12H\n\x0enetwork_config\x18\x07 \x01(\x0b\x32\x30.google.events.cloud.datafusion.v1.NetworkConfig\x12G\n\x06labels\x18\x08 \x03(\x0b\x32\x37.google.events.cloud.datafusion.v1.Instance.LabelsEntry\x12I\n\x07options\x18\t \x03(\x0b\x32\x38.google.events.cloud.datafusion.v1.Instance.OptionsEntry\x12/\n\x0b\x63reate_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12@\n\x05state\x18\x0c \x01(\x0e\x32\x31.google.events.cloud.datafusion.v1.Instance.State\x12\x15\n\rstate_message\x18\r \x01(\t\x12\x18\n\x10service_endpoint\x18\x0e \x01(\t\x12\x0c\n\x04zone\x18\x0f \x01(\t\x12\x0f\n\x07version\x18\x10 \x01(\t\x12\x17\n\x0fservice_account\x18\x11 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x12 \x01(\t\x12\x45\n\x11\x61vailable_version\x18\x13 \x03(\x0b\x32*.google.events.cloud.datafusion.v1.Version\x12\x14\n\x0c\x61pi_endpoint\x18\x14 \x01(\t\x12\x12\n\ngcs_bucket\x18\x15 \x01(\t\x12\x44\n\x0c\x61\x63\x63\x65lerators\x18\x16 \x03(\x0b\x32..google.events.cloud.datafusion.v1.Accelerator\x12\x1a\n\x12p4_service_account\x18\x17 \x01(\t\x12\x19\n\x11tenant_project_id\x18\x18 \x01(\t\x12 \n\x18\x64\x61taproc_service_account\x18\x19 \x01(\t\x12\x13\n\x0b\x65nable_rbac\x18\x1b \x01(\x08\x12M\n\x11\x63rypto_key_config\x18\x1c \x01(\x0b\x32\x32.google.events.cloud.datafusion.v1.CryptoKeyConfig\x12S\n\x0f\x64isabled_reason\x18\x1d \x03(\x0e\x32:.google.events.cloud.datafusion.v1.Instance.DisabledReason\x12S\n\x14\x65vent_publish_config\x18\x1e \x01(\x0b\x32\x35.google.events.cloud.datafusion.v1.EventPublishConfig\x12\x1e\n\x16\x65nable_zone_separation\x18\x1f \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\x0cOptionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"F\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05\x42\x41SIC\x10\x01\x12\x0e\n\nENTERPRISE\x10\x02\x12\r\n\tDEVELOPER\x10\x03\"\xb4\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\x12\r\n\tUPGRADING\x10\x05\x12\x0e\n\nRESTARTING\x10\x06\x12\x0c\n\x08UPDATING\x10\x07\x12\x11\n\rAUTO_UPDATING\x10\x08\x12\x12\n\x0e\x41UTO_UPGRADING\x10\t\x12\x0c\n\x08\x44ISABLED\x10\n\"D\n\x0e\x44isabledReason\x12\x1f\n\x1b\x44ISABLED_REASON_UNSPECIFIED\x10\x00\x12\x11\n\rKMS_KEY_ISSUE\x10\x01\"4\n\x12\x45ventPublishConfig\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\r\n\x05topic\x18\x02 \x01(\t\"o\n\nDnsPeering\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0e\n\x06\x64omain\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x16\n\x0etarget_project\x18\x04 \x01(\t\x12\x16\n\x0etarget_network\x18\x05 \x01(\t\"b\n\x11InstanceEventData\x12\x41\n\x07payload\x18\x01 \x01(\x0b\x32+.google.events.cloud.datafusion.v1.InstanceH\x00\x88\x01\x01\x42\n\n\x08_payload\"f\n\x13\x44nsPeeringEventData\x12\x43\n\x07payload\x18\x01 \x01(\x0b\x32-.google.events.cloud.datafusion.v1.DnsPeeringH\x00\x88\x01\x01\x42\n\n\x08_payloadBy\xaa\x02*Google.Events.Protobuf.Cloud.DataFusion.V1\xca\x02!Google\\Events\\Cloud\\DataFusion\\V1\xea\x02%Google::Events::Cloud::DataFusion::V1b\x06proto3"
11
+
12
+ pool = Google::Protobuf::DescriptorPool.generated_pool
13
+
14
+ begin
15
+ pool.add_serialized_file(descriptor_data)
16
+ rescue TypeError => e
17
+ # Compatibility code: will be removed in the next major version.
18
+ require 'google/protobuf/descriptor_pb'
19
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
20
+ parsed.clear_dependency
21
+ serialized = parsed.class.encode(parsed)
22
+ file = pool.add_serialized_file(serialized)
23
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
24
+ imports = [
25
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
26
+ ]
27
+ imports.each do |type_name, expected_filename|
28
+ import_file = pool.lookup(type_name).file_descriptor
29
+ if import_file.name != expected_filename
30
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
115
31
  end
116
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."
117
35
  end
118
36
 
119
37
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/events/cloud/datafusion/v1/events.proto
3
4
 
@@ -6,24 +7,32 @@ require 'google/protobuf'
6
7
  require 'google/events/cloud/datafusion/v1/data_pb'
7
8
  require 'google/events/cloudevent_pb'
8
9
 
9
- Google::Protobuf::DescriptorPool.generated_pool.build do
10
- add_file("google/events/cloud/datafusion/v1/events.proto", :syntax => :proto3) do
11
- add_message "google.events.cloud.datafusion.v1.InstanceCreatedEvent" do
12
- optional :data, :message, 1, "google.events.cloud.datafusion.v1.InstanceEventData"
13
- end
14
- add_message "google.events.cloud.datafusion.v1.InstanceDeletedEvent" do
15
- optional :data, :message, 1, "google.events.cloud.datafusion.v1.InstanceEventData"
16
- end
17
- add_message "google.events.cloud.datafusion.v1.InstanceUpdatedEvent" do
18
- optional :data, :message, 1, "google.events.cloud.datafusion.v1.InstanceEventData"
19
- end
20
- add_message "google.events.cloud.datafusion.v1.DnsPeeringCreatedEvent" do
21
- optional :data, :message, 1, "google.events.cloud.datafusion.v1.DnsPeeringEventData"
22
- end
23
- add_message "google.events.cloud.datafusion.v1.DnsPeeringDeletedEvent" do
24
- optional :data, :message, 1, "google.events.cloud.datafusion.v1.DnsPeeringEventData"
10
+
11
+ descriptor_data = "\n.google/events/cloud/datafusion/v1/events.proto\x12!google.events.cloud.datafusion.v1\x1a,google/events/cloud/datafusion/v1/data.proto\x1a\x1egoogle/events/cloudevent.proto\"\x99\x01\n\x14InstanceCreatedEvent\x12\x42\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x34.google.events.cloud.datafusion.v1.InstanceEventData:=\xb2\xf8\xd8,+google.cloud.datafusion.instance.v1.created\xca\xf8\xd8,\x08instance\"\x99\x01\n\x14InstanceDeletedEvent\x12\x42\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x34.google.events.cloud.datafusion.v1.InstanceEventData:=\xb2\xf8\xd8,+google.cloud.datafusion.instance.v1.deleted\xca\xf8\xd8,\x08instance\"\x99\x01\n\x14InstanceUpdatedEvent\x12\x42\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x34.google.events.cloud.datafusion.v1.InstanceEventData:=\xb2\xf8\xd8,+google.cloud.datafusion.instance.v1.updated\xca\xf8\xd8,\x08instance\"\xae\x01\n\x16\x44nsPeeringCreatedEvent\x12\x44\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x36.google.events.cloud.datafusion.v1.DnsPeeringEventData:N\xb2\xf8\xd8,-google.cloud.datafusion.dnsPeering.v1.created\xca\xf8\xd8,\x08instance\xca\xf8\xd8,\ndnspeering\"\xae\x01\n\x16\x44nsPeeringDeletedEvent\x12\x44\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x36.google.events.cloud.datafusion.v1.DnsPeeringEventData:N\xb2\xf8\xd8,-google.cloud.datafusion.dnsPeering.v1.deleted\xca\xf8\xd8,\x08instance\xca\xf8\xd8,\ndnspeeringB\xab\x02\xaa\x02*Google.Events.Protobuf.Cloud.DataFusion.V1\xca\x02!Google\\Events\\Cloud\\DataFusion\\V1\xea\x02%Google::Events::Cloud::DataFusion::V1\xba\xf8\xd8,\x11\x43loud Data Fusion\xc2\xf8\xd8,A\n\x08instance\x12\x35The resource ID of the Instance triggering the event.\xc2\xf8\xd8,Q\n\ndnspeering\x12\x37The resource ID of the DnsPeering triggering the event.\x1a\ndnsPeeringb\x06proto3"
12
+
13
+ pool = Google::Protobuf::DescriptorPool.generated_pool
14
+
15
+ begin
16
+ pool.add_serialized_file(descriptor_data)
17
+ rescue TypeError => e
18
+ # Compatibility code: will be removed in the next major version.
19
+ require 'google/protobuf/descriptor_pb'
20
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
21
+ parsed.clear_dependency
22
+ serialized = parsed.class.encode(parsed)
23
+ file = pool.add_serialized_file(serialized)
24
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
25
+ imports = [
26
+ ["google.events.cloud.datafusion.v1.InstanceEventData", "google/events/cloud/datafusion/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}"
25
32
  end
26
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."
27
36
  end
28
37
 
29
38
  module Google