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/datastream/v1/data.proto
3
4
 
@@ -6,299 +7,33 @@ require 'google/protobuf'
6
7
  require 'google/protobuf/duration_pb'
7
8
  require 'google/protobuf/timestamp_pb'
8
9
 
9
- Google::Protobuf::DescriptorPool.generated_pool.build do
10
- add_file("google/events/cloud/datastream/v1/data.proto", :syntax => :proto3) do
11
- add_message "google.events.cloud.datastream.v1.OracleProfile" do
12
- optional :hostname, :string, 1
13
- optional :port, :int32, 2
14
- optional :username, :string, 3
15
- optional :database_service, :string, 5
16
- map :connection_attributes, :string, :string, 6
17
- end
18
- add_message "google.events.cloud.datastream.v1.MysqlProfile" do
19
- optional :hostname, :string, 1
20
- optional :port, :int32, 2
21
- optional :username, :string, 3
22
- optional :ssl_config, :message, 5, "google.events.cloud.datastream.v1.MysqlSslConfig"
23
- end
24
- add_message "google.events.cloud.datastream.v1.PostgresqlProfile" do
25
- optional :hostname, :string, 1
26
- optional :port, :int32, 2
27
- optional :username, :string, 3
28
- optional :database, :string, 5
29
- end
30
- add_message "google.events.cloud.datastream.v1.GcsProfile" do
31
- optional :bucket, :string, 1
32
- optional :root_path, :string, 2
33
- end
34
- add_message "google.events.cloud.datastream.v1.BigQueryProfile" do
35
- end
36
- add_message "google.events.cloud.datastream.v1.StaticServiceIpConnectivity" do
37
- end
38
- add_message "google.events.cloud.datastream.v1.ForwardSshTunnelConnectivity" do
39
- optional :hostname, :string, 1
40
- optional :username, :string, 2
41
- optional :port, :int32, 3
42
- end
43
- add_message "google.events.cloud.datastream.v1.VpcPeeringConfig" do
44
- optional :vpc, :string, 1
45
- optional :subnet, :string, 2
46
- end
47
- add_message "google.events.cloud.datastream.v1.PrivateConnection" do
48
- optional :name, :string, 1
49
- optional :create_time, :message, 2, "google.protobuf.Timestamp"
50
- optional :update_time, :message, 3, "google.protobuf.Timestamp"
51
- map :labels, :string, :string, 4
52
- optional :display_name, :string, 5
53
- optional :state, :enum, 6, "google.events.cloud.datastream.v1.PrivateConnection.State"
54
- optional :error, :message, 7, "google.events.cloud.datastream.v1.Error"
55
- optional :vpc_peering_config, :message, 100, "google.events.cloud.datastream.v1.VpcPeeringConfig"
56
- end
57
- add_enum "google.events.cloud.datastream.v1.PrivateConnection.State" do
58
- value :STATE_UNSPECIFIED, 0
59
- value :CREATING, 1
60
- value :CREATED, 2
61
- value :FAILED, 3
62
- value :DELETING, 4
63
- value :FAILED_TO_DELETE, 5
64
- end
65
- add_message "google.events.cloud.datastream.v1.PrivateConnectivity" do
66
- optional :private_connection, :string, 1
67
- end
68
- add_message "google.events.cloud.datastream.v1.Route" do
69
- optional :name, :string, 1
70
- optional :create_time, :message, 2, "google.protobuf.Timestamp"
71
- optional :update_time, :message, 3, "google.protobuf.Timestamp"
72
- map :labels, :string, :string, 4
73
- optional :display_name, :string, 5
74
- optional :destination_address, :string, 6
75
- optional :destination_port, :int32, 7
76
- end
77
- add_message "google.events.cloud.datastream.v1.MysqlSslConfig" do
78
- optional :client_key_set, :bool, 2
79
- optional :client_certificate_set, :bool, 4
80
- optional :ca_certificate_set, :bool, 6
81
- end
82
- add_message "google.events.cloud.datastream.v1.ConnectionProfile" do
83
- optional :name, :string, 1
84
- optional :create_time, :message, 2, "google.protobuf.Timestamp"
85
- optional :update_time, :message, 3, "google.protobuf.Timestamp"
86
- map :labels, :string, :string, 4
87
- optional :display_name, :string, 5
88
- oneof :profile do
89
- optional :oracle_profile, :message, 100, "google.events.cloud.datastream.v1.OracleProfile"
90
- optional :gcs_profile, :message, 101, "google.events.cloud.datastream.v1.GcsProfile"
91
- optional :mysql_profile, :message, 102, "google.events.cloud.datastream.v1.MysqlProfile"
92
- optional :bigquery_profile, :message, 103, "google.events.cloud.datastream.v1.BigQueryProfile"
93
- optional :postgresql_profile, :message, 104, "google.events.cloud.datastream.v1.PostgresqlProfile"
94
- end
95
- oneof :connectivity do
96
- optional :static_service_ip_connectivity, :message, 200, "google.events.cloud.datastream.v1.StaticServiceIpConnectivity"
97
- optional :forward_ssh_connectivity, :message, 201, "google.events.cloud.datastream.v1.ForwardSshTunnelConnectivity"
98
- optional :private_connectivity, :message, 202, "google.events.cloud.datastream.v1.PrivateConnectivity"
99
- end
100
- end
101
- add_message "google.events.cloud.datastream.v1.OracleColumn" do
102
- optional :column, :string, 1
103
- optional :data_type, :string, 2
104
- optional :length, :int32, 3
105
- optional :precision, :int32, 4
106
- optional :scale, :int32, 5
107
- optional :encoding, :string, 6
108
- optional :primary_key, :bool, 7
109
- optional :nullable, :bool, 8
110
- optional :ordinal_position, :int32, 9
111
- end
112
- add_message "google.events.cloud.datastream.v1.OracleTable" do
113
- optional :table, :string, 1
114
- repeated :oracle_columns, :message, 2, "google.events.cloud.datastream.v1.OracleColumn"
115
- end
116
- add_message "google.events.cloud.datastream.v1.OracleSchema" do
117
- optional :schema, :string, 1
118
- repeated :oracle_tables, :message, 2, "google.events.cloud.datastream.v1.OracleTable"
119
- end
120
- add_message "google.events.cloud.datastream.v1.OracleRdbms" do
121
- repeated :oracle_schemas, :message, 1, "google.events.cloud.datastream.v1.OracleSchema"
122
- end
123
- add_message "google.events.cloud.datastream.v1.OracleSourceConfig" do
124
- optional :include_objects, :message, 1, "google.events.cloud.datastream.v1.OracleRdbms"
125
- optional :exclude_objects, :message, 2, "google.events.cloud.datastream.v1.OracleRdbms"
126
- optional :max_concurrent_cdc_tasks, :int32, 3
127
- oneof :large_objects_handling do
128
- optional :drop_large_objects, :message, 100, "google.events.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects"
129
- optional :stream_large_objects, :message, 102, "google.events.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects"
130
- end
131
- end
132
- add_message "google.events.cloud.datastream.v1.OracleSourceConfig.DropLargeObjects" do
133
- end
134
- add_message "google.events.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjects" do
135
- end
136
- add_message "google.events.cloud.datastream.v1.PostgresqlColumn" do
137
- optional :column, :string, 1
138
- optional :data_type, :string, 2
139
- optional :length, :int32, 3
140
- optional :precision, :int32, 4
141
- optional :scale, :int32, 5
142
- optional :primary_key, :bool, 7
143
- optional :nullable, :bool, 8
144
- optional :ordinal_position, :int32, 9
145
- end
146
- add_message "google.events.cloud.datastream.v1.PostgresqlTable" do
147
- optional :table, :string, 1
148
- repeated :postgresql_columns, :message, 2, "google.events.cloud.datastream.v1.PostgresqlColumn"
149
- end
150
- add_message "google.events.cloud.datastream.v1.PostgresqlSchema" do
151
- optional :schema, :string, 1
152
- repeated :postgresql_tables, :message, 2, "google.events.cloud.datastream.v1.PostgresqlTable"
153
- end
154
- add_message "google.events.cloud.datastream.v1.PostgresqlRdbms" do
155
- repeated :postgresql_schemas, :message, 1, "google.events.cloud.datastream.v1.PostgresqlSchema"
156
- end
157
- add_message "google.events.cloud.datastream.v1.PostgresqlSourceConfig" do
158
- optional :include_objects, :message, 1, "google.events.cloud.datastream.v1.PostgresqlRdbms"
159
- optional :exclude_objects, :message, 2, "google.events.cloud.datastream.v1.PostgresqlRdbms"
160
- optional :replication_slot, :string, 3
161
- optional :publication, :string, 4
162
- end
163
- add_message "google.events.cloud.datastream.v1.MysqlColumn" do
164
- optional :column, :string, 1
165
- optional :data_type, :string, 2
166
- optional :length, :int32, 3
167
- optional :collation, :string, 4
168
- optional :primary_key, :bool, 5
169
- optional :nullable, :bool, 6
170
- optional :ordinal_position, :int32, 7
171
- end
172
- add_message "google.events.cloud.datastream.v1.MysqlTable" do
173
- optional :table, :string, 1
174
- repeated :mysql_columns, :message, 2, "google.events.cloud.datastream.v1.MysqlColumn"
175
- end
176
- add_message "google.events.cloud.datastream.v1.MysqlDatabase" do
177
- optional :database, :string, 1
178
- repeated :mysql_tables, :message, 2, "google.events.cloud.datastream.v1.MysqlTable"
179
- end
180
- add_message "google.events.cloud.datastream.v1.MysqlRdbms" do
181
- repeated :mysql_databases, :message, 1, "google.events.cloud.datastream.v1.MysqlDatabase"
182
- end
183
- add_message "google.events.cloud.datastream.v1.MysqlSourceConfig" do
184
- optional :include_objects, :message, 1, "google.events.cloud.datastream.v1.MysqlRdbms"
185
- optional :exclude_objects, :message, 2, "google.events.cloud.datastream.v1.MysqlRdbms"
186
- optional :max_concurrent_cdc_tasks, :int32, 3
187
- end
188
- add_message "google.events.cloud.datastream.v1.SourceConfig" do
189
- optional :source_connection_profile, :string, 1
190
- oneof :source_stream_config do
191
- optional :oracle_source_config, :message, 100, "google.events.cloud.datastream.v1.OracleSourceConfig"
192
- optional :mysql_source_config, :message, 101, "google.events.cloud.datastream.v1.MysqlSourceConfig"
193
- optional :postgresql_source_config, :message, 102, "google.events.cloud.datastream.v1.PostgresqlSourceConfig"
194
- end
195
- end
196
- add_message "google.events.cloud.datastream.v1.AvroFileFormat" do
197
- end
198
- add_message "google.events.cloud.datastream.v1.JsonFileFormat" do
199
- optional :schema_file_format, :enum, 1, "google.events.cloud.datastream.v1.JsonFileFormat.SchemaFileFormat"
200
- optional :compression, :enum, 2, "google.events.cloud.datastream.v1.JsonFileFormat.JsonCompression"
201
- end
202
- add_enum "google.events.cloud.datastream.v1.JsonFileFormat.SchemaFileFormat" do
203
- value :SCHEMA_FILE_FORMAT_UNSPECIFIED, 0
204
- value :NO_SCHEMA_FILE, 1
205
- value :AVRO_SCHEMA_FILE, 2
206
- end
207
- add_enum "google.events.cloud.datastream.v1.JsonFileFormat.JsonCompression" do
208
- value :JSON_COMPRESSION_UNSPECIFIED, 0
209
- value :NO_COMPRESSION, 1
210
- value :GZIP, 2
211
- end
212
- add_message "google.events.cloud.datastream.v1.GcsDestinationConfig" do
213
- optional :path, :string, 1
214
- optional :file_rotation_mb, :int32, 2
215
- optional :file_rotation_interval, :message, 3, "google.protobuf.Duration"
216
- oneof :file_format do
217
- optional :avro_file_format, :message, 100, "google.events.cloud.datastream.v1.AvroFileFormat"
218
- optional :json_file_format, :message, 101, "google.events.cloud.datastream.v1.JsonFileFormat"
219
- end
220
- end
221
- add_message "google.events.cloud.datastream.v1.BigQueryDestinationConfig" do
222
- optional :data_freshness, :message, 300, "google.protobuf.Duration"
223
- oneof :dataset_config do
224
- optional :single_target_dataset, :message, 201, "google.events.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset"
225
- optional :source_hierarchy_datasets, :message, 202, "google.events.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets"
226
- end
227
- end
228
- add_message "google.events.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset" do
229
- optional :dataset_id, :string, 1
230
- end
231
- add_message "google.events.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets" do
232
- optional :dataset_template, :message, 2, "google.events.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate"
233
- end
234
- add_message "google.events.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate" do
235
- optional :location, :string, 1
236
- optional :dataset_id_prefix, :string, 2
237
- optional :kms_key_name, :string, 3
238
- end
239
- add_message "google.events.cloud.datastream.v1.DestinationConfig" do
240
- optional :destination_connection_profile, :string, 1
241
- oneof :destination_stream_config do
242
- optional :gcs_destination_config, :message, 100, "google.events.cloud.datastream.v1.GcsDestinationConfig"
243
- optional :bigquery_destination_config, :message, 101, "google.events.cloud.datastream.v1.BigQueryDestinationConfig"
244
- end
245
- end
246
- add_message "google.events.cloud.datastream.v1.Stream" do
247
- optional :name, :string, 1
248
- optional :create_time, :message, 2, "google.protobuf.Timestamp"
249
- optional :update_time, :message, 3, "google.protobuf.Timestamp"
250
- map :labels, :string, :string, 4
251
- optional :display_name, :string, 5
252
- optional :source_config, :message, 6, "google.events.cloud.datastream.v1.SourceConfig"
253
- optional :destination_config, :message, 7, "google.events.cloud.datastream.v1.DestinationConfig"
254
- optional :state, :enum, 8, "google.events.cloud.datastream.v1.Stream.State"
255
- repeated :errors, :message, 9, "google.events.cloud.datastream.v1.Error"
256
- proto3_optional :customer_managed_encryption_key, :string, 10
257
- oneof :backfill_strategy do
258
- optional :backfill_all, :message, 101, "google.events.cloud.datastream.v1.Stream.BackfillAllStrategy"
259
- optional :backfill_none, :message, 102, "google.events.cloud.datastream.v1.Stream.BackfillNoneStrategy"
260
- end
261
- end
262
- add_message "google.events.cloud.datastream.v1.Stream.BackfillAllStrategy" do
263
- oneof :excluded_objects do
264
- optional :oracle_excluded_objects, :message, 1, "google.events.cloud.datastream.v1.OracleRdbms"
265
- optional :mysql_excluded_objects, :message, 2, "google.events.cloud.datastream.v1.MysqlRdbms"
266
- optional :postgresql_excluded_objects, :message, 3, "google.events.cloud.datastream.v1.PostgresqlRdbms"
267
- end
268
- end
269
- add_message "google.events.cloud.datastream.v1.Stream.BackfillNoneStrategy" do
270
- end
271
- add_enum "google.events.cloud.datastream.v1.Stream.State" do
272
- value :STATE_UNSPECIFIED, 0
273
- value :NOT_STARTED, 1
274
- value :RUNNING, 2
275
- value :PAUSED, 3
276
- value :MAINTENANCE, 4
277
- value :FAILED, 5
278
- value :FAILED_PERMANENTLY, 6
279
- value :STARTING, 7
280
- value :DRAINING, 8
281
- end
282
- add_message "google.events.cloud.datastream.v1.Error" do
283
- optional :reason, :string, 1
284
- optional :error_uuid, :string, 2
285
- optional :message, :string, 3
286
- optional :error_time, :message, 4, "google.protobuf.Timestamp"
287
- map :details, :string, :string, 5
288
- end
289
- add_message "google.events.cloud.datastream.v1.ConnectionProfileEventData" do
290
- proto3_optional :payload, :message, 1, "google.events.cloud.datastream.v1.ConnectionProfile"
291
- end
292
- add_message "google.events.cloud.datastream.v1.PrivateConnectionEventData" do
293
- proto3_optional :payload, :message, 1, "google.events.cloud.datastream.v1.PrivateConnection"
294
- end
295
- add_message "google.events.cloud.datastream.v1.StreamEventData" do
296
- proto3_optional :payload, :message, 1, "google.events.cloud.datastream.v1.Stream"
297
- end
298
- add_message "google.events.cloud.datastream.v1.RouteEventData" do
299
- proto3_optional :payload, :message, 1, "google.events.cloud.datastream.v1.Route"
10
+
11
+ descriptor_data = "\n,google/events/cloud/datastream/v1/data.proto\x12!google.events.cloud.datastream.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x83\x02\n\rOracleProfile\x12\x10\n\x08hostname\x18\x01 \x01(\t\x12\x0c\n\x04port\x18\x02 \x01(\x05\x12\x10\n\x08username\x18\x03 \x01(\t\x12\x18\n\x10\x64\x61tabase_service\x18\x05 \x01(\t\x12i\n\x15\x63onnection_attributes\x18\x06 \x03(\x0b\x32J.google.events.cloud.datastream.v1.OracleProfile.ConnectionAttributesEntry\x1a;\n\x19\x43onnectionAttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x87\x01\n\x0cMysqlProfile\x12\x10\n\x08hostname\x18\x01 \x01(\t\x12\x0c\n\x04port\x18\x02 \x01(\x05\x12\x10\n\x08username\x18\x03 \x01(\t\x12\x45\n\nssl_config\x18\x05 \x01(\x0b\x32\x31.google.events.cloud.datastream.v1.MysqlSslConfig\"W\n\x11PostgresqlProfile\x12\x10\n\x08hostname\x18\x01 \x01(\t\x12\x0c\n\x04port\x18\x02 \x01(\x05\x12\x10\n\x08username\x18\x03 \x01(\t\x12\x10\n\x08\x64\x61tabase\x18\x05 \x01(\t\"/\n\nGcsProfile\x12\x0e\n\x06\x62ucket\x18\x01 \x01(\t\x12\x11\n\troot_path\x18\x02 \x01(\t\"\x11\n\x0f\x42igQueryProfile\"\x1d\n\x1bStaticServiceIpConnectivity\"P\n\x1c\x46orwardSshTunnelConnectivity\x12\x10\n\x08hostname\x18\x01 \x01(\t\x12\x10\n\x08username\x18\x02 \x01(\t\x12\x0c\n\x04port\x18\x03 \x01(\x05\"/\n\x10VpcPeeringConfig\x12\x0b\n\x03vpc\x18\x01 \x01(\t\x12\x0e\n\x06subnet\x18\x02 \x01(\t\"\xda\x04\n\x11PrivateConnection\x12\x0c\n\x04name\x18\x01 \x01(\t\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12P\n\x06labels\x18\x04 \x03(\x0b\x32@.google.events.cloud.datastream.v1.PrivateConnection.LabelsEntry\x12\x14\n\x0c\x64isplay_name\x18\x05 \x01(\t\x12I\n\x05state\x18\x06 \x01(\x0e\x32:.google.events.cloud.datastream.v1.PrivateConnection.State\x12\x37\n\x05\x65rror\x18\x07 \x01(\x0b\x32(.google.events.cloud.datastream.v1.Error\x12O\n\x12vpc_peering_config\x18\x64 \x01(\x0b\x32\x33.google.events.cloud.datastream.v1.VpcPeeringConfig\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"i\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\x0b\n\x07\x43REATED\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\x12\x14\n\x10\x46\x41ILED_TO_DELETE\x10\x05\"1\n\x13PrivateConnectivity\x12\x1a\n\x12private_connection\x18\x01 \x01(\t\"\xb9\x02\n\x05Route\x12\x0c\n\x04name\x18\x01 \x01(\t\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x44\n\x06labels\x18\x04 \x03(\x0b\x32\x34.google.events.cloud.datastream.v1.Route.LabelsEntry\x12\x14\n\x0c\x64isplay_name\x18\x05 \x01(\t\x12\x1b\n\x13\x64\x65stination_address\x18\x06 \x01(\t\x12\x18\n\x10\x64\x65stination_port\x18\x07 \x01(\x05\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"d\n\x0eMysqlSslConfig\x12\x16\n\x0e\x63lient_key_set\x18\x02 \x01(\x08\x12\x1e\n\x16\x63lient_certificate_set\x18\x04 \x01(\x08\x12\x1a\n\x12\x63\x61_certificate_set\x18\x06 \x01(\x08\"\xdf\x07\n\x11\x43onnectionProfile\x12\x0c\n\x04name\x18\x01 \x01(\t\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12P\n\x06labels\x18\x04 \x03(\x0b\x32@.google.events.cloud.datastream.v1.ConnectionProfile.LabelsEntry\x12\x14\n\x0c\x64isplay_name\x18\x05 \x01(\t\x12J\n\x0eoracle_profile\x18\x64 \x01(\x0b\x32\x30.google.events.cloud.datastream.v1.OracleProfileH\x00\x12\x44\n\x0bgcs_profile\x18\x65 \x01(\x0b\x32-.google.events.cloud.datastream.v1.GcsProfileH\x00\x12H\n\rmysql_profile\x18\x66 \x01(\x0b\x32/.google.events.cloud.datastream.v1.MysqlProfileH\x00\x12N\n\x10\x62igquery_profile\x18g \x01(\x0b\x32\x32.google.events.cloud.datastream.v1.BigQueryProfileH\x00\x12R\n\x12postgresql_profile\x18h \x01(\x0b\x32\x34.google.events.cloud.datastream.v1.PostgresqlProfileH\x00\x12i\n\x1estatic_service_ip_connectivity\x18\xc8\x01 \x01(\x0b\x32>.google.events.cloud.datastream.v1.StaticServiceIpConnectivityH\x01\x12\x64\n\x18\x66orward_ssh_connectivity\x18\xc9\x01 \x01(\x0b\x32?.google.events.cloud.datastream.v1.ForwardSshTunnelConnectivityH\x01\x12W\n\x14private_connectivity\x18\xca\x01 \x01(\x0b\x32\x36.google.events.cloud.datastream.v1.PrivateConnectivityH\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\t\n\x07profileB\x0e\n\x0c\x63onnectivity\"\xb6\x01\n\x0cOracleColumn\x12\x0e\n\x06\x63olumn\x18\x01 \x01(\t\x12\x11\n\tdata_type\x18\x02 \x01(\t\x12\x0e\n\x06length\x18\x03 \x01(\x05\x12\x11\n\tprecision\x18\x04 \x01(\x05\x12\r\n\x05scale\x18\x05 \x01(\x05\x12\x10\n\x08\x65ncoding\x18\x06 \x01(\t\x12\x13\n\x0bprimary_key\x18\x07 \x01(\x08\x12\x10\n\x08nullable\x18\x08 \x01(\x08\x12\x18\n\x10ordinal_position\x18\t \x01(\x05\"e\n\x0bOracleTable\x12\r\n\x05table\x18\x01 \x01(\t\x12G\n\x0eoracle_columns\x18\x02 \x03(\x0b\x32/.google.events.cloud.datastream.v1.OracleColumn\"e\n\x0cOracleSchema\x12\x0e\n\x06schema\x18\x01 \x01(\t\x12\x45\n\roracle_tables\x18\x02 \x03(\x0b\x32..google.events.cloud.datastream.v1.OracleTable\"V\n\x0bOracleRdbms\x12G\n\x0eoracle_schemas\x18\x01 \x03(\x0b\x32/.google.events.cloud.datastream.v1.OracleSchema\"\xdc\x03\n\x12OracleSourceConfig\x12G\n\x0finclude_objects\x18\x01 \x01(\x0b\x32..google.events.cloud.datastream.v1.OracleRdbms\x12G\n\x0f\x65xclude_objects\x18\x02 \x01(\x0b\x32..google.events.cloud.datastream.v1.OracleRdbms\x12 \n\x18max_concurrent_cdc_tasks\x18\x03 \x01(\x05\x12\x64\n\x12\x64rop_large_objects\x18\x64 \x01(\x0b\x32\x46.google.events.cloud.datastream.v1.OracleSourceConfig.DropLargeObjectsH\x00\x12h\n\x14stream_large_objects\x18\x66 \x01(\x0b\x32H.google.events.cloud.datastream.v1.OracleSourceConfig.StreamLargeObjectsH\x00\x1a\x12\n\x10\x44ropLargeObjects\x1a\x14\n\x12StreamLargeObjectsB\x18\n\x16large_objects_handling\"\xa8\x01\n\x10PostgresqlColumn\x12\x0e\n\x06\x63olumn\x18\x01 \x01(\t\x12\x11\n\tdata_type\x18\x02 \x01(\t\x12\x0e\n\x06length\x18\x03 \x01(\x05\x12\x11\n\tprecision\x18\x04 \x01(\x05\x12\r\n\x05scale\x18\x05 \x01(\x05\x12\x13\n\x0bprimary_key\x18\x07 \x01(\x08\x12\x10\n\x08nullable\x18\x08 \x01(\x08\x12\x18\n\x10ordinal_position\x18\t \x01(\x05\"q\n\x0fPostgresqlTable\x12\r\n\x05table\x18\x01 \x01(\t\x12O\n\x12postgresql_columns\x18\x02 \x03(\x0b\x32\x33.google.events.cloud.datastream.v1.PostgresqlColumn\"q\n\x10PostgresqlSchema\x12\x0e\n\x06schema\x18\x01 \x01(\t\x12M\n\x11postgresql_tables\x18\x02 \x03(\x0b\x32\x32.google.events.cloud.datastream.v1.PostgresqlTable\"b\n\x0fPostgresqlRdbms\x12O\n\x12postgresql_schemas\x18\x01 \x03(\x0b\x32\x33.google.events.cloud.datastream.v1.PostgresqlSchema\"\xe1\x01\n\x16PostgresqlSourceConfig\x12K\n\x0finclude_objects\x18\x01 \x01(\x0b\x32\x32.google.events.cloud.datastream.v1.PostgresqlRdbms\x12K\n\x0f\x65xclude_objects\x18\x02 \x01(\x0b\x32\x32.google.events.cloud.datastream.v1.PostgresqlRdbms\x12\x18\n\x10replication_slot\x18\x03 \x01(\t\x12\x13\n\x0bpublication\x18\x04 \x01(\t\"\x94\x01\n\x0bMysqlColumn\x12\x0e\n\x06\x63olumn\x18\x01 \x01(\t\x12\x11\n\tdata_type\x18\x02 \x01(\t\x12\x0e\n\x06length\x18\x03 \x01(\x05\x12\x11\n\tcollation\x18\x04 \x01(\t\x12\x13\n\x0bprimary_key\x18\x05 \x01(\x08\x12\x10\n\x08nullable\x18\x06 \x01(\x08\x12\x18\n\x10ordinal_position\x18\x07 \x01(\x05\"b\n\nMysqlTable\x12\r\n\x05table\x18\x01 \x01(\t\x12\x45\n\rmysql_columns\x18\x02 \x03(\x0b\x32..google.events.cloud.datastream.v1.MysqlColumn\"f\n\rMysqlDatabase\x12\x10\n\x08\x64\x61tabase\x18\x01 \x01(\t\x12\x43\n\x0cmysql_tables\x18\x02 \x03(\x0b\x32-.google.events.cloud.datastream.v1.MysqlTable\"W\n\nMysqlRdbms\x12I\n\x0fmysql_databases\x18\x01 \x03(\x0b\x32\x30.google.events.cloud.datastream.v1.MysqlDatabase\"\xc5\x01\n\x11MysqlSourceConfig\x12\x46\n\x0finclude_objects\x18\x01 \x01(\x0b\x32-.google.events.cloud.datastream.v1.MysqlRdbms\x12\x46\n\x0f\x65xclude_objects\x18\x02 \x01(\x0b\x32-.google.events.cloud.datastream.v1.MysqlRdbms\x12 \n\x18max_concurrent_cdc_tasks\x18\x03 \x01(\x05\"\xd4\x02\n\x0cSourceConfig\x12!\n\x19source_connection_profile\x18\x01 \x01(\t\x12U\n\x14oracle_source_config\x18\x64 \x01(\x0b\x32\x35.google.events.cloud.datastream.v1.OracleSourceConfigH\x00\x12S\n\x13mysql_source_config\x18\x65 \x01(\x0b\x32\x34.google.events.cloud.datastream.v1.MysqlSourceConfigH\x00\x12]\n\x18postgresql_source_config\x18\x66 \x01(\x0b\x32\x39.google.events.cloud.datastream.v1.PostgresqlSourceConfigH\x00\x42\x16\n\x14source_stream_config\"\x10\n\x0e\x41vroFileFormat\"\xfd\x02\n\x0eJsonFileFormat\x12^\n\x12schema_file_format\x18\x01 \x01(\x0e\x32\x42.google.events.cloud.datastream.v1.JsonFileFormat.SchemaFileFormat\x12V\n\x0b\x63ompression\x18\x02 \x01(\x0e\x32\x41.google.events.cloud.datastream.v1.JsonFileFormat.JsonCompression\"`\n\x10SchemaFileFormat\x12\"\n\x1eSCHEMA_FILE_FORMAT_UNSPECIFIED\x10\x00\x12\x12\n\x0eNO_SCHEMA_FILE\x10\x01\x12\x14\n\x10\x41VRO_SCHEMA_FILE\x10\x02\"Q\n\x0fJsonCompression\x12 \n\x1cJSON_COMPRESSION_UNSPECIFIED\x10\x00\x12\x12\n\x0eNO_COMPRESSION\x10\x01\x12\x08\n\x04GZIP\x10\x02\"\xa6\x02\n\x14GcsDestinationConfig\x12\x0c\n\x04path\x18\x01 \x01(\t\x12\x18\n\x10\x66ile_rotation_mb\x18\x02 \x01(\x05\x12\x39\n\x16\x66ile_rotation_interval\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12M\n\x10\x61vro_file_format\x18\x64 \x01(\x0b\x32\x31.google.events.cloud.datastream.v1.AvroFileFormatH\x00\x12M\n\x10json_file_format\x18\x65 \x01(\x0b\x32\x31.google.events.cloud.datastream.v1.JsonFileFormatH\x00\x42\r\n\x0b\x66ile_format\"\xee\x04\n\x19\x42igQueryDestinationConfig\x12r\n\x15single_target_dataset\x18\xc9\x01 \x01(\x0b\x32P.google.events.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDatasetH\x00\x12z\n\x19source_hierarchy_datasets\x18\xca\x01 \x01(\x0b\x32T.google.events.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasetsH\x00\x12\x32\n\x0e\x64\x61ta_freshness\x18\xac\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x1a)\n\x13SingleTargetDataset\x12\x12\n\ndataset_id\x18\x01 \x01(\t\x1a\xef\x01\n\x17SourceHierarchyDatasets\x12~\n\x10\x64\x61taset_template\x18\x02 \x01(\x0b\x32\x64.google.events.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets.DatasetTemplate\x1aT\n\x0f\x44\x61tasetTemplate\x12\x10\n\x08location\x18\x01 \x01(\t\x12\x19\n\x11\x64\x61taset_id_prefix\x18\x02 \x01(\t\x12\x14\n\x0ckms_key_name\x18\x03 \x01(\tB\x10\n\x0e\x64\x61taset_config\"\x98\x02\n\x11\x44\x65stinationConfig\x12&\n\x1e\x64\x65stination_connection_profile\x18\x01 \x01(\t\x12Y\n\x16gcs_destination_config\x18\x64 \x01(\x0b\x32\x37.google.events.cloud.datastream.v1.GcsDestinationConfigH\x00\x12\x63\n\x1b\x62igquery_destination_config\x18\x65 \x01(\x0b\x32<.google.events.cloud.datastream.v1.BigQueryDestinationConfigH\x00\x42\x1b\n\x19\x64\x65stination_stream_config\"\x8e\n\n\x06Stream\x12\x0c\n\x04name\x18\x01 \x01(\t\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x45\n\x06labels\x18\x04 \x03(\x0b\x32\x35.google.events.cloud.datastream.v1.Stream.LabelsEntry\x12\x14\n\x0c\x64isplay_name\x18\x05 \x01(\t\x12\x46\n\rsource_config\x18\x06 \x01(\x0b\x32/.google.events.cloud.datastream.v1.SourceConfig\x12P\n\x12\x64\x65stination_config\x18\x07 \x01(\x0b\x32\x34.google.events.cloud.datastream.v1.DestinationConfig\x12>\n\x05state\x18\x08 \x01(\x0e\x32/.google.events.cloud.datastream.v1.Stream.State\x12U\n\x0c\x62\x61\x63kfill_all\x18\x65 \x01(\x0b\x32=.google.events.cloud.datastream.v1.Stream.BackfillAllStrategyH\x00\x12W\n\rbackfill_none\x18\x66 \x01(\x0b\x32>.google.events.cloud.datastream.v1.Stream.BackfillNoneStrategyH\x00\x12\x38\n\x06\x65rrors\x18\t \x03(\x0b\x32(.google.events.cloud.datastream.v1.Error\x12,\n\x1f\x63ustomer_managed_encryption_key\x18\n \x01(\tH\x01\x88\x01\x01\x1a\xa8\x02\n\x13\x42\x61\x63kfillAllStrategy\x12Q\n\x17oracle_excluded_objects\x18\x01 \x01(\x0b\x32..google.events.cloud.datastream.v1.OracleRdbmsH\x00\x12O\n\x16mysql_excluded_objects\x18\x02 \x01(\x0b\x32-.google.events.cloud.datastream.v1.MysqlRdbmsH\x00\x12Y\n\x1bpostgresql_excluded_objects\x18\x03 \x01(\x0b\x32\x32.google.events.cloud.datastream.v1.PostgresqlRdbmsH\x00\x42\x12\n\x10\x65xcluded_objects\x1a\x16\n\x14\x42\x61\x63kfillNoneStrategy\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x99\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bNOT_STARTED\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\n\n\x06PAUSED\x10\x03\x12\x0f\n\x0bMAINTENANCE\x10\x04\x12\n\n\x06\x46\x41ILED\x10\x05\x12\x16\n\x12\x46\x41ILED_PERMANENTLY\x10\x06\x12\x0c\n\x08STARTING\x10\x07\x12\x0c\n\x08\x44RAINING\x10\x08\x42\x13\n\x11\x62\x61\x63kfill_strategyB\"\n _customer_managed_encryption_key\"\xe4\x01\n\x05\x45rror\x12\x0e\n\x06reason\x18\x01 \x01(\t\x12\x12\n\nerror_uuid\x18\x02 \x01(\t\x12\x0f\n\x07message\x18\x03 \x01(\t\x12.\n\nerror_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x46\n\x07\x64\x65tails\x18\x05 \x03(\x0b\x32\x35.google.events.cloud.datastream.v1.Error.DetailsEntry\x1a.\n\x0c\x44\x65tailsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"t\n\x1a\x43onnectionProfileEventData\x12J\n\x07payload\x18\x01 \x01(\x0b\x32\x34.google.events.cloud.datastream.v1.ConnectionProfileH\x00\x88\x01\x01\x42\n\n\x08_payload\"t\n\x1aPrivateConnectionEventData\x12J\n\x07payload\x18\x01 \x01(\x0b\x32\x34.google.events.cloud.datastream.v1.PrivateConnectionH\x00\x88\x01\x01\x42\n\n\x08_payload\"^\n\x0fStreamEventData\x12?\n\x07payload\x18\x01 \x01(\x0b\x32).google.events.cloud.datastream.v1.StreamH\x00\x88\x01\x01\x42\n\n\x08_payload\"\\\n\x0eRouteEventData\x12>\n\x07payload\x18\x01 \x01(\x0b\x32(.google.events.cloud.datastream.v1.RouteH\x00\x88\x01\x01\x42\n\n\x08_payloadBy\xaa\x02*Google.Events.Protobuf.Cloud.Datastream.V1\xca\x02!Google\\Events\\Cloud\\Datastream\\V1\xea\x02%Google::Events::Cloud::Datastream::V1b\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.Timestamp", "google/protobuf/timestamp.proto"],
27
+ ["google.protobuf.Duration", "google/protobuf/duration.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}"
300
33
  end
301
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."
302
37
  end
303
38
 
304
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/datastream/v1/events.proto
3
4
 
@@ -6,39 +7,32 @@ require 'google/protobuf'
6
7
  require 'google/events/cloud/datastream/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/datastream/v1/events.proto", :syntax => :proto3) do
11
- add_message "google.events.cloud.datastream.v1.ConnectionProfileCreatedEvent" do
12
- optional :data, :message, 1, "google.events.cloud.datastream.v1.ConnectionProfileEventData"
13
- end
14
- add_message "google.events.cloud.datastream.v1.ConnectionProfileUpdatedEvent" do
15
- optional :data, :message, 1, "google.events.cloud.datastream.v1.ConnectionProfileEventData"
16
- end
17
- add_message "google.events.cloud.datastream.v1.ConnectionProfileDeletedEvent" do
18
- optional :data, :message, 1, "google.events.cloud.datastream.v1.ConnectionProfileEventData"
19
- end
20
- add_message "google.events.cloud.datastream.v1.StreamCreatedEvent" do
21
- optional :data, :message, 1, "google.events.cloud.datastream.v1.StreamEventData"
22
- end
23
- add_message "google.events.cloud.datastream.v1.StreamUpdatedEvent" do
24
- optional :data, :message, 1, "google.events.cloud.datastream.v1.StreamEventData"
25
- end
26
- add_message "google.events.cloud.datastream.v1.StreamDeletedEvent" do
27
- optional :data, :message, 1, "google.events.cloud.datastream.v1.StreamEventData"
28
- end
29
- add_message "google.events.cloud.datastream.v1.PrivateConnectionCreatedEvent" do
30
- optional :data, :message, 1, "google.events.cloud.datastream.v1.PrivateConnectionEventData"
31
- end
32
- add_message "google.events.cloud.datastream.v1.PrivateConnectionDeletedEvent" do
33
- optional :data, :message, 1, "google.events.cloud.datastream.v1.PrivateConnectionEventData"
34
- end
35
- add_message "google.events.cloud.datastream.v1.RouteCreatedEvent" do
36
- optional :data, :message, 1, "google.events.cloud.datastream.v1.RouteEventData"
37
- end
38
- add_message "google.events.cloud.datastream.v1.RouteDeletedEvent" do
39
- optional :data, :message, 1, "google.events.cloud.datastream.v1.RouteEventData"
10
+
11
+ descriptor_data = "\n.google/events/cloud/datastream/v1/events.proto\x12!google.events.cloud.datastream.v1\x1a,google/events/cloud/datastream/v1/data.proto\x1a\x1egoogle/events/cloudevent.proto\"\xbd\x01\n\x1d\x43onnectionProfileCreatedEvent\x12K\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32=.google.events.cloud.datastream.v1.ConnectionProfileEventData:O\xb2\xf8\xd8,4google.cloud.datastream.connectionProfile.v1.created\xca\xf8\xd8,\x11\x63onnectionprofile\"\xbd\x01\n\x1d\x43onnectionProfileUpdatedEvent\x12K\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32=.google.events.cloud.datastream.v1.ConnectionProfileEventData:O\xb2\xf8\xd8,4google.cloud.datastream.connectionProfile.v1.updated\xca\xf8\xd8,\x11\x63onnectionprofile\"\xbd\x01\n\x1d\x43onnectionProfileDeletedEvent\x12K\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32=.google.events.cloud.datastream.v1.ConnectionProfileEventData:O\xb2\xf8\xd8,4google.cloud.datastream.connectionProfile.v1.deleted\xca\xf8\xd8,\x11\x63onnectionprofile\"\x91\x01\n\x12StreamCreatedEvent\x12@\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x32.google.events.cloud.datastream.v1.StreamEventData:9\xb2\xf8\xd8,)google.cloud.datastream.stream.v1.created\xca\xf8\xd8,\x06stream\"\x91\x01\n\x12StreamUpdatedEvent\x12@\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x32.google.events.cloud.datastream.v1.StreamEventData:9\xb2\xf8\xd8,)google.cloud.datastream.stream.v1.updated\xca\xf8\xd8,\x06stream\"\x91\x01\n\x12StreamDeletedEvent\x12@\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x32.google.events.cloud.datastream.v1.StreamEventData:9\xb2\xf8\xd8,)google.cloud.datastream.stream.v1.deleted\xca\xf8\xd8,\x06stream\"\xbd\x01\n\x1dPrivateConnectionCreatedEvent\x12K\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32=.google.events.cloud.datastream.v1.PrivateConnectionEventData:O\xb2\xf8\xd8,4google.cloud.datastream.privateConnection.v1.created\xca\xf8\xd8,\x11privateconnection\"\xbd\x01\n\x1dPrivateConnectionDeletedEvent\x12K\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32=.google.events.cloud.datastream.v1.PrivateConnectionEventData:O\xb2\xf8\xd8,4google.cloud.datastream.privateConnection.v1.deleted\xca\xf8\xd8,\x11privateconnection\"\xa3\x01\n\x11RouteCreatedEvent\x12?\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x31.google.events.cloud.datastream.v1.RouteEventData:M\xb2\xf8\xd8,(google.cloud.datastream.route.v1.created\xca\xf8\xd8,\x11privateconnection\xca\xf8\xd8,\x05route\"\xa3\x01\n\x11RouteDeletedEvent\x12?\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x31.google.events.cloud.datastream.v1.RouteEventData:M\xb2\xf8\xd8,(google.cloud.datastream.route.v1.deleted\xca\xf8\xd8,\x11privateconnection\xca\xf8\xd8,\x05routeB\xe0\x03\xaa\x02*Google.Events.Protobuf.Cloud.Datastream.V1\xca\x02!Google\\Events\\Cloud\\Datastream\\V1\xea\x02%Google::Events::Cloud::Datastream::V1\xba\xf8\xd8,\nDatastream\xc2\xf8\xd8,f\n\x11\x63onnectionprofile\x12>The resource ID of the ConnectionProfile triggering the event.\x1a\x11\x63onnectionProfile\xc2\xf8\xd8,=\n\x06stream\x12\x33The resource ID of the Stream triggering the event.\xc2\xf8\xd8,f\n\x11privateconnection\x12>The resource ID of the PrivateConnection triggering the event.\x1a\x11privateConnection\xc2\xf8\xd8,;\n\x05route\x12\x32The resource ID of the Route 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.datastream.v1.ConnectionProfileEventData", "google/events/cloud/datastream/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}"
40
32
  end
41
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."
42
36
  end
43
37
 
44
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/eventarc/v1/data.proto
3
4
 
@@ -6,97 +7,32 @@ require 'google/protobuf'
6
7
  require 'google/protobuf/timestamp_pb'
7
8
  require 'google/rpc/code_pb'
8
9
 
9
- Google::Protobuf::DescriptorPool.generated_pool.build do
10
- add_file("google/events/cloud/eventarc/v1/data.proto", :syntax => :proto3) do
11
- add_message "google.events.cloud.eventarc.v1.Channel" do
12
- optional :name, :string, 1
13
- optional :uid, :string, 2
14
- optional :create_time, :message, 5, "google.protobuf.Timestamp"
15
- optional :update_time, :message, 6, "google.protobuf.Timestamp"
16
- optional :provider, :string, 7
17
- optional :state, :enum, 9, "google.events.cloud.eventarc.v1.Channel.State"
18
- optional :activation_token, :string, 10
19
- optional :crypto_key_name, :string, 11
20
- oneof :transport do
21
- optional :pubsub_topic, :string, 8
22
- end
23
- end
24
- add_enum "google.events.cloud.eventarc.v1.Channel.State" do
25
- value :STATE_UNSPECIFIED, 0
26
- value :PENDING, 1
27
- value :ACTIVE, 2
28
- value :INACTIVE, 3
29
- end
30
- add_message "google.events.cloud.eventarc.v1.ChannelConnection" do
31
- optional :name, :string, 1
32
- optional :uid, :string, 2
33
- optional :channel, :string, 5
34
- optional :create_time, :message, 6, "google.protobuf.Timestamp"
35
- optional :update_time, :message, 7, "google.protobuf.Timestamp"
36
- end
37
- add_message "google.events.cloud.eventarc.v1.Trigger" do
38
- optional :name, :string, 1
39
- optional :uid, :string, 2
40
- optional :create_time, :message, 5, "google.protobuf.Timestamp"
41
- optional :update_time, :message, 6, "google.protobuf.Timestamp"
42
- repeated :event_filters, :message, 8, "google.events.cloud.eventarc.v1.EventFilter"
43
- optional :service_account, :string, 9
44
- optional :destination, :message, 10, "google.events.cloud.eventarc.v1.Destination"
45
- optional :transport, :message, 11, "google.events.cloud.eventarc.v1.Transport"
46
- map :labels, :string, :string, 12
47
- optional :channel, :string, 13
48
- map :conditions, :string, :message, 15, "google.events.cloud.eventarc.v1.StateCondition"
49
- optional :event_data_content_type, :string, 16
50
- optional :etag, :string, 99
51
- end
52
- add_message "google.events.cloud.eventarc.v1.EventFilter" do
53
- optional :attribute, :string, 1
54
- optional :value, :string, 2
55
- optional :operator, :string, 3
56
- end
57
- add_message "google.events.cloud.eventarc.v1.StateCondition" do
58
- optional :code, :enum, 1, "google.rpc.Code"
59
- optional :message, :string, 2
60
- end
61
- add_message "google.events.cloud.eventarc.v1.Destination" do
62
- oneof :descriptor do
63
- optional :cloud_run, :message, 1, "google.events.cloud.eventarc.v1.CloudRun"
64
- optional :cloud_function, :string, 2
65
- optional :gke, :message, 3, "google.events.cloud.eventarc.v1.GKE"
66
- optional :workflow, :string, 4
67
- end
68
- end
69
- add_message "google.events.cloud.eventarc.v1.Transport" do
70
- oneof :intermediary do
71
- optional :pubsub, :message, 1, "google.events.cloud.eventarc.v1.Pubsub"
72
- end
73
- end
74
- add_message "google.events.cloud.eventarc.v1.CloudRun" do
75
- optional :service, :string, 1
76
- optional :path, :string, 2
77
- optional :region, :string, 3
78
- end
79
- add_message "google.events.cloud.eventarc.v1.GKE" do
80
- optional :cluster, :string, 1
81
- optional :location, :string, 2
82
- optional :namespace, :string, 3
83
- optional :service, :string, 4
84
- optional :path, :string, 5
85
- end
86
- add_message "google.events.cloud.eventarc.v1.Pubsub" do
87
- optional :topic, :string, 1
88
- optional :subscription, :string, 2
89
- end
90
- add_message "google.events.cloud.eventarc.v1.TriggerEventData" do
91
- optional :payload, :message, 1, "google.events.cloud.eventarc.v1.Trigger"
92
- end
93
- add_message "google.events.cloud.eventarc.v1.ChannelEventData" do
94
- optional :payload, :message, 1, "google.events.cloud.eventarc.v1.Channel"
95
- end
96
- add_message "google.events.cloud.eventarc.v1.ChannelConnectionEventData" do
97
- optional :payload, :message, 1, "google.events.cloud.eventarc.v1.ChannelConnection"
10
+
11
+ descriptor_data = "\n*google/events/cloud/eventarc/v1/data.proto\x12\x1fgoogle.events.cloud.eventarc.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x15google/rpc/code.proto\"\xf6\x02\n\x07\x43hannel\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0b\n\x03uid\x18\x02 \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\x10\n\x08provider\x18\x07 \x01(\t\x12\x16\n\x0cpubsub_topic\x18\x08 \x01(\tH\x00\x12=\n\x05state\x18\t \x01(\x0e\x32..google.events.cloud.eventarc.v1.Channel.State\x12\x18\n\x10\x61\x63tivation_token\x18\n \x01(\t\x12\x17\n\x0f\x63rypto_key_name\x18\x0b \x01(\t\"E\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PENDING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\x0c\n\x08INACTIVE\x10\x03\x42\x0b\n\ttransport\"\xa1\x01\n\x11\x43hannelConnection\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0b\n\x03uid\x18\x02 \x01(\t\x12\x0f\n\x07\x63hannel\x18\x05 \x01(\t\x12/\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xcd\x05\n\x07Trigger\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0b\n\x03uid\x18\x02 \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\x43\n\revent_filters\x18\x08 \x03(\x0b\x32,.google.events.cloud.eventarc.v1.EventFilter\x12\x17\n\x0fservice_account\x18\t \x01(\t\x12\x41\n\x0b\x64\x65stination\x18\n \x01(\x0b\x32,.google.events.cloud.eventarc.v1.Destination\x12=\n\ttransport\x18\x0b \x01(\x0b\x32*.google.events.cloud.eventarc.v1.Transport\x12\x44\n\x06labels\x18\x0c \x03(\x0b\x32\x34.google.events.cloud.eventarc.v1.Trigger.LabelsEntry\x12\x0f\n\x07\x63hannel\x18\r \x01(\t\x12L\n\nconditions\x18\x0f \x03(\x0b\x32\x38.google.events.cloud.eventarc.v1.Trigger.ConditionsEntry\x12\x1f\n\x17\x65vent_data_content_type\x18\x10 \x01(\t\x12\x0c\n\x04\x65tag\x18\x63 \x01(\t\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x62\n\x0f\x43onditionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12>\n\x05value\x18\x02 \x01(\x0b\x32/.google.events.cloud.eventarc.v1.StateCondition:\x02\x38\x01\"A\n\x0b\x45ventFilter\x12\x11\n\tattribute\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\x12\x10\n\x08operator\x18\x03 \x01(\t\"A\n\x0eStateCondition\x12\x1e\n\x04\x63ode\x18\x01 \x01(\x0e\x32\x10.google.rpc.Code\x12\x0f\n\x07message\x18\x02 \x01(\t\"\xbe\x01\n\x0b\x44\x65stination\x12>\n\tcloud_run\x18\x01 \x01(\x0b\x32).google.events.cloud.eventarc.v1.CloudRunH\x00\x12\x18\n\x0e\x63loud_function\x18\x02 \x01(\tH\x00\x12\x33\n\x03gke\x18\x03 \x01(\x0b\x32$.google.events.cloud.eventarc.v1.GKEH\x00\x12\x12\n\x08workflow\x18\x04 \x01(\tH\x00\x42\x0c\n\ndescriptor\"V\n\tTransport\x12\x39\n\x06pubsub\x18\x01 \x01(\x0b\x32\'.google.events.cloud.eventarc.v1.PubsubH\x00\x42\x0e\n\x0cintermediary\"9\n\x08\x43loudRun\x12\x0f\n\x07service\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x0e\n\x06region\x18\x03 \x01(\t\"Z\n\x03GKE\x12\x0f\n\x07\x63luster\x18\x01 \x01(\t\x12\x10\n\x08location\x18\x02 \x01(\t\x12\x11\n\tnamespace\x18\x03 \x01(\t\x12\x0f\n\x07service\x18\x04 \x01(\t\x12\x0c\n\x04path\x18\x05 \x01(\t\"-\n\x06Pubsub\x12\r\n\x05topic\x18\x01 \x01(\t\x12\x14\n\x0csubscription\x18\x02 \x01(\t\"M\n\x10TriggerEventData\x12\x39\n\x07payload\x18\x01 \x01(\x0b\x32(.google.events.cloud.eventarc.v1.Trigger\"M\n\x10\x43hannelEventData\x12\x39\n\x07payload\x18\x01 \x01(\x0b\x32(.google.events.cloud.eventarc.v1.Channel\"a\n\x1a\x43hannelConnectionEventData\x12\x43\n\x07payload\x18\x01 \x01(\x0b\x32\x32.google.events.cloud.eventarc.v1.ChannelConnectionBs\xaa\x02(Google.Events.Protobuf.Cloud.Eventarc.V1\xca\x02\x1fGoogle\\Events\\Cloud\\Eventarc\\V1\xea\x02#Google::Events::Cloud::Eventarc::V1b\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.Timestamp", "google/protobuf/timestamp.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}"
98
32
  end
99
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."
100
36
  end
101
37
 
102
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/eventarc/v1/events.proto
3
4
 
@@ -6,33 +7,32 @@ require 'google/protobuf'
6
7
  require 'google/events/cloud/eventarc/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/eventarc/v1/events.proto", :syntax => :proto3) do
11
- add_message "google.events.cloud.eventarc.v1.TriggerCreatedEvent" do
12
- optional :data, :message, 1, "google.events.cloud.eventarc.v1.TriggerEventData"
13
- end
14
- add_message "google.events.cloud.eventarc.v1.TriggerUpdatedEvent" do
15
- optional :data, :message, 1, "google.events.cloud.eventarc.v1.TriggerEventData"
16
- end
17
- add_message "google.events.cloud.eventarc.v1.TriggerDeletedEvent" do
18
- optional :data, :message, 1, "google.events.cloud.eventarc.v1.TriggerEventData"
19
- end
20
- add_message "google.events.cloud.eventarc.v1.ChannelCreatedEvent" do
21
- optional :data, :message, 1, "google.events.cloud.eventarc.v1.ChannelEventData"
22
- end
23
- add_message "google.events.cloud.eventarc.v1.ChannelUpdatedEvent" do
24
- optional :data, :message, 1, "google.events.cloud.eventarc.v1.ChannelEventData"
25
- end
26
- add_message "google.events.cloud.eventarc.v1.ChannelDeletedEvent" do
27
- optional :data, :message, 1, "google.events.cloud.eventarc.v1.ChannelEventData"
28
- end
29
- add_message "google.events.cloud.eventarc.v1.ChannelConnectionCreatedEvent" do
30
- optional :data, :message, 1, "google.events.cloud.eventarc.v1.ChannelConnectionEventData"
31
- end
32
- add_message "google.events.cloud.eventarc.v1.ChannelConnectionDeletedEvent" do
33
- optional :data, :message, 1, "google.events.cloud.eventarc.v1.ChannelConnectionEventData"
10
+
11
+ descriptor_data = "\n,google/events/cloud/eventarc/v1/events.proto\x12\x1fgoogle.events.cloud.eventarc.v1\x1a*google/events/cloud/eventarc/v1/data.proto\x1a\x1egoogle/events/cloudevent.proto\"\x91\x01\n\x13TriggerCreatedEvent\x12?\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x31.google.events.cloud.eventarc.v1.TriggerEventData:9\xb2\xf8\xd8,(google.cloud.eventarc.trigger.v1.created\xca\xf8\xd8,\x07trigger\"\x91\x01\n\x13TriggerUpdatedEvent\x12?\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x31.google.events.cloud.eventarc.v1.TriggerEventData:9\xb2\xf8\xd8,(google.cloud.eventarc.trigger.v1.updated\xca\xf8\xd8,\x07trigger\"\x91\x01\n\x13TriggerDeletedEvent\x12?\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x31.google.events.cloud.eventarc.v1.TriggerEventData:9\xb2\xf8\xd8,(google.cloud.eventarc.trigger.v1.deleted\xca\xf8\xd8,\x07trigger\"\x91\x01\n\x13\x43hannelCreatedEvent\x12?\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x31.google.events.cloud.eventarc.v1.ChannelEventData:9\xb2\xf8\xd8,(google.cloud.eventarc.channel.v1.created\xca\xf8\xd8,\x07\x63hannel\"\x91\x01\n\x13\x43hannelUpdatedEvent\x12?\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x31.google.events.cloud.eventarc.v1.ChannelEventData:9\xb2\xf8\xd8,(google.cloud.eventarc.channel.v1.updated\xca\xf8\xd8,\x07\x63hannel\"\x91\x01\n\x13\x43hannelDeletedEvent\x12?\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x31.google.events.cloud.eventarc.v1.ChannelEventData:9\xb2\xf8\xd8,(google.cloud.eventarc.channel.v1.deleted\xca\xf8\xd8,\x07\x63hannel\"\xb9\x01\n\x1d\x43hannelConnectionCreatedEvent\x12I\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32;.google.events.cloud.eventarc.v1.ChannelConnectionEventData:M\xb2\xf8\xd8,2google.cloud.eventarc.channelConnection.v1.created\xca\xf8\xd8,\x11\x63hannelconnection\"\xb9\x01\n\x1d\x43hannelConnectionDeletedEvent\x12I\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32;.google.events.cloud.eventarc.v1.ChannelConnectionEventData:M\xb2\xf8\xd8,2google.cloud.eventarc.channelConnection.v1.deleted\xca\xf8\xd8,\x11\x63hannelconnectionB\xf3\x02\xaa\x02(Google.Events.Protobuf.Cloud.Eventarc.V1\xca\x02\x1fGoogle\\Events\\Cloud\\Eventarc\\V1\xea\x02#Google::Events::Cloud::Eventarc::V1\xba\xf8\xd8,\x08\x45ventarc\xc2\xf8\xd8,?\n\x07trigger\x12\x34The resource ID of the Trigger triggering the event.\xc2\xf8\xd8,?\n\x07\x63hannel\x12\x34The resource ID of the Channel triggering the event.\xc2\xf8\xd8,f\n\x11\x63hannelconnection\x12>The resource ID of the ChannelConnection triggering the event.\x1a\x11\x63hannelConnectionb\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.eventarc.v1.TriggerEventData", "google/events/cloud/eventarc/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}"
34
32
  end
35
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
36
  end
37
37
 
38
38
  module Google