google-events 0.2.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (90) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +22 -0
  3. data/lib/google/events/cloud/alloydb/v1/data_pb.rb +85 -0
  4. data/lib/google/events/cloud/alloydb/v1/events_pb.rb +56 -0
  5. data/lib/google/events/cloud/apigateway/v1/data_pb.rb +25 -77
  6. data/lib/google/events/cloud/apigateway/v1/events_pb.rb +25 -28
  7. data/lib/google/events/cloud/apigeeregistry/v1/data_pb.rb +25 -90
  8. data/lib/google/events/cloud/apigeeregistry/v1/events_pb.rb +25 -43
  9. data/lib/google/events/cloud/audit/v1/data_pb.rb +29 -91
  10. data/lib/google/events/cloud/audit/v1/events_pb.rb +25 -4
  11. data/lib/google/events/cloud/beyondcorp/appconnections/v1/data_pb.rb +25 -44
  12. data/lib/google/events/cloud/beyondcorp/appconnections/v1/events_pb.rb +25 -10
  13. data/lib/google/events/cloud/beyondcorp/appconnectors/v1/data_pb.rb +25 -44
  14. data/lib/google/events/cloud/beyondcorp/appconnectors/v1/events_pb.rb +25 -10
  15. data/lib/google/events/cloud/beyondcorp/appgateways/v1/data_pb.rb +25 -37
  16. data/lib/google/events/cloud/beyondcorp/appgateways/v1/events_pb.rb +25 -7
  17. data/lib/google/events/cloud/beyondcorp/clientconnectorservices/v1/data_pb.rb +25 -47
  18. data/lib/google/events/cloud/beyondcorp/clientconnectorservices/v1/events_pb.rb +25 -10
  19. data/lib/google/events/cloud/beyondcorp/clientgateways/v1/data_pb.rb +25 -21
  20. data/lib/google/events/cloud/beyondcorp/clientgateways/v1/events_pb.rb +25 -7
  21. data/lib/google/events/cloud/certificatemanager/v1/data_pb.rb +26 -157
  22. data/lib/google/events/cloud/certificatemanager/v1/events_pb.rb +25 -43
  23. data/lib/google/events/cloud/cloudbuild/v1/data_pb.rb +26 -162
  24. data/lib/google/events/cloud/cloudbuild/v1/events_pb.rb +25 -4
  25. data/lib/google/events/cloud/clouddms/v1/data_pb.rb +28 -241
  26. data/lib/google/events/cloud/clouddms/v1/events_pb.rb +25 -19
  27. data/lib/google/events/cloud/dataflow/v1beta3/data_pb.rb +26 -195
  28. data/lib/google/events/cloud/dataflow/v1beta3/events_pb.rb +25 -4
  29. data/lib/google/events/cloud/datafusion/v1/data_pb.rb +25 -107
  30. data/lib/google/events/cloud/datafusion/v1/events_pb.rb +25 -16
  31. data/lib/google/events/cloud/dataplex/v1/data_pb.rb +26 -603
  32. data/lib/google/events/cloud/dataplex/v1/events_pb.rb +25 -82
  33. data/lib/google/events/cloud/datastore/v1/data_pb.rb +59 -0
  34. data/lib/google/events/cloud/datastore/v1/events_pb.rb +51 -0
  35. data/lib/google/events/cloud/datastream/v1/data_pb.rb +26 -291
  36. data/lib/google/events/cloud/datastream/v1/events_pb.rb +25 -31
  37. data/lib/google/events/cloud/eventarc/v1/data_pb.rb +25 -89
  38. data/lib/google/events/cloud/eventarc/v1/events_pb.rb +25 -25
  39. data/lib/google/events/cloud/firestore/v1/data_pb.rb +26 -36
  40. data/lib/google/events/cloud/firestore/v1/events_pb.rb +25 -13
  41. data/lib/google/events/cloud/functions/v2/data_pb.rb +25 -155
  42. data/lib/google/events/cloud/functions/v2/events_pb.rb +25 -10
  43. data/lib/google/events/cloud/gkebackup/v1/data_pb.rb +25 -189
  44. data/lib/google/events/cloud/gkebackup/v1/events_pb.rb +25 -37
  45. data/lib/google/events/cloud/gkehub/v1/data_pb.rb +79 -0
  46. data/lib/google/events/cloud/gkehub/v1/events_pb.rb +58 -0
  47. data/lib/google/events/cloud/iot/v1/data_pb.rb +26 -132
  48. data/lib/google/events/cloud/iot/v1/events_pb.rb +25 -19
  49. data/lib/google/events/cloud/memcache/v1/data_pb.rb +27 -83
  50. data/lib/google/events/cloud/memcache/v1/events_pb.rb +25 -10
  51. data/lib/google/events/cloud/metastore/v1/data_pb.rb +88 -0
  52. data/lib/google/events/cloud/metastore/v1/events_pb.rb +57 -0
  53. data/lib/google/events/cloud/networkconnectivity/v1/data_pb.rb +76 -0
  54. data/lib/google/events/cloud/networkconnectivity/v1/events_pb.rb +63 -0
  55. data/lib/google/events/cloud/networkmanagement/v1/data_pb.rb +93 -0
  56. data/lib/google/events/cloud/networkmanagement/v1/events_pb.rb +50 -0
  57. data/lib/google/events/cloud/notebooks/v1/data_pb.rb +100 -0
  58. data/lib/google/events/cloud/notebooks/v1/events_pb.rb +58 -0
  59. data/lib/google/events/cloud/pubsub/v1/data_pb.rb +25 -12
  60. data/lib/google/events/cloud/pubsub/v1/events_pb.rb +25 -4
  61. data/lib/google/events/cloud/redis/v1/data_pb.rb +67 -0
  62. data/lib/google/events/cloud/redis/v1/events_pb.rb +50 -0
  63. data/lib/google/events/cloud/scheduler/v1/data_pb.rb +24 -4
  64. data/lib/google/events/cloud/scheduler/v1/events_pb.rb +25 -4
  65. data/lib/google/events/cloud/storage/v1/data_pb.rb +25 -36
  66. data/lib/google/events/cloud/storage/v1/events_pb.rb +25 -13
  67. data/lib/google/events/cloud/video/transcoder/v1/data_pb.rb +96 -0
  68. data/lib/google/events/cloud/video/transcoder/v1/events_pb.rb +53 -0
  69. data/lib/google/events/cloud/visionai/v1/data_pb.rb +123 -0
  70. data/lib/google/events/cloud/visionai/v1/events_pb.rb +74 -0
  71. data/lib/google/events/cloud/vmmigration/v1/data_pb.rb +121 -0
  72. data/lib/google/events/cloud/vmmigration/v1/events_pb.rb +65 -0
  73. data/lib/google/events/cloud/workflows/v1/data_pb.rb +25 -22
  74. data/lib/google/events/cloud/workflows/v1/events_pb.rb +25 -10
  75. data/lib/google/events/cloudevent_pb.rb +24 -6
  76. data/lib/google/events/firebase/analytics/v1/data_pb.rb +24 -76
  77. data/lib/google/events/firebase/analytics/v1/events_pb.rb +25 -4
  78. data/lib/google/events/firebase/auth/v1/data_pb.rb +26 -24
  79. data/lib/google/events/firebase/auth/v1/events_pb.rb +25 -7
  80. data/lib/google/events/firebase/database/v1/data_pb.rb +25 -5
  81. data/lib/google/events/firebase/database/v1/events_pb.rb +25 -13
  82. data/lib/google/events/firebase/firebasealerts/v1/cloud_event_payload_pb.rb +26 -79
  83. data/lib/google/events/firebase/firebasealerts/v1/data_pb.rb +26 -6
  84. data/lib/google/events/firebase/firebasealerts/v1/events_pb.rb +25 -4
  85. data/lib/google/events/firebase/remoteconfig/v1/data_pb.rb +25 -27
  86. data/lib/google/events/firebase/remoteconfig/v1/events_pb.rb +25 -4
  87. data/lib/google/events/firebase/testlab/v1/data_pb.rb +25 -35
  88. data/lib/google/events/firebase/testlab/v1/events_pb.rb +25 -4
  89. data/lib/google/events/version.rb +1 -1
  90. metadata +24 -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/clouddms/v1/data.proto
3
4
 
@@ -8,249 +9,35 @@ require 'google/protobuf/timestamp_pb'
8
9
  require 'google/protobuf/wrappers_pb'
9
10
  require 'google/rpc/status_pb'
10
11
 
11
- Google::Protobuf::DescriptorPool.generated_pool.build do
12
- add_file("google/events/cloud/clouddms/v1/data.proto", :syntax => :proto3) do
13
- add_message "google.events.cloud.clouddms.v1.SslConfig" do
14
- optional :type, :enum, 1, "google.events.cloud.clouddms.v1.SslConfig.SslType"
15
- end
16
- add_enum "google.events.cloud.clouddms.v1.SslConfig.SslType" do
17
- value :SSL_TYPE_UNSPECIFIED, 0
18
- value :SERVER_ONLY, 1
19
- value :SERVER_CLIENT, 2
20
- end
21
- add_message "google.events.cloud.clouddms.v1.MySqlConnectionProfile" do
22
- optional :host, :string, 1
23
- optional :port, :int32, 2
24
- optional :username, :string, 3
25
- optional :password_set, :bool, 5
26
- optional :ssl, :message, 6, "google.events.cloud.clouddms.v1.SslConfig"
27
- optional :cloud_sql_id, :string, 7
28
- end
29
- add_message "google.events.cloud.clouddms.v1.PostgreSqlConnectionProfile" do
30
- optional :host, :string, 1
31
- optional :port, :int32, 2
32
- optional :username, :string, 3
33
- optional :password_set, :bool, 5
34
- optional :ssl, :message, 6, "google.events.cloud.clouddms.v1.SslConfig"
35
- optional :cloud_sql_id, :string, 7
36
- optional :network_architecture, :enum, 8, "google.events.cloud.clouddms.v1.NetworkArchitecture"
37
- end
38
- add_message "google.events.cloud.clouddms.v1.CloudSqlConnectionProfile" do
39
- optional :cloud_sql_id, :string, 1
40
- optional :settings, :message, 2, "google.events.cloud.clouddms.v1.CloudSqlSettings"
41
- optional :private_ip, :string, 3
42
- optional :public_ip, :string, 4
43
- optional :additional_public_ip, :string, 5
44
- end
45
- add_message "google.events.cloud.clouddms.v1.AlloyDbConnectionProfile" do
46
- optional :cluster_id, :string, 1
47
- optional :settings, :message, 2, "google.events.cloud.clouddms.v1.AlloyDbSettings"
48
- end
49
- add_message "google.events.cloud.clouddms.v1.SqlAclEntry" do
50
- optional :value, :string, 1
51
- optional :label, :string, 3
52
- oneof :expiration do
53
- optional :expire_time, :message, 10, "google.protobuf.Timestamp"
54
- end
55
- end
56
- add_message "google.events.cloud.clouddms.v1.SqlIpConfig" do
57
- optional :enable_ipv4, :message, 1, "google.protobuf.BoolValue"
58
- optional :private_network, :string, 2
59
- optional :require_ssl, :message, 3, "google.protobuf.BoolValue"
60
- repeated :authorized_networks, :message, 4, "google.events.cloud.clouddms.v1.SqlAclEntry"
61
- end
62
- add_message "google.events.cloud.clouddms.v1.CloudSqlSettings" do
63
- optional :database_version, :enum, 1, "google.events.cloud.clouddms.v1.CloudSqlSettings.SqlDatabaseVersion"
64
- map :user_labels, :string, :string, 2
65
- optional :tier, :string, 3
66
- optional :storage_auto_resize_limit, :message, 4, "google.protobuf.Int64Value"
67
- optional :activation_policy, :enum, 5, "google.events.cloud.clouddms.v1.CloudSqlSettings.SqlActivationPolicy"
68
- optional :ip_config, :message, 6, "google.events.cloud.clouddms.v1.SqlIpConfig"
69
- optional :auto_storage_increase, :message, 7, "google.protobuf.BoolValue"
70
- map :database_flags, :string, :string, 8
71
- optional :data_disk_type, :enum, 9, "google.events.cloud.clouddms.v1.CloudSqlSettings.SqlDataDiskType"
72
- optional :data_disk_size_gb, :message, 10, "google.protobuf.Int64Value"
73
- optional :zone, :string, 11
74
- optional :secondary_zone, :string, 18
75
- optional :source_id, :string, 12
76
- optional :root_password_set, :bool, 14
77
- optional :collation, :string, 15
78
- optional :cmek_key_name, :string, 16
79
- optional :availability_type, :enum, 17, "google.events.cloud.clouddms.v1.CloudSqlSettings.SqlAvailabilityType"
80
- end
81
- add_enum "google.events.cloud.clouddms.v1.CloudSqlSettings.SqlActivationPolicy" do
82
- value :SQL_ACTIVATION_POLICY_UNSPECIFIED, 0
83
- value :ALWAYS, 1
84
- value :NEVER, 2
85
- end
86
- add_enum "google.events.cloud.clouddms.v1.CloudSqlSettings.SqlDataDiskType" do
87
- value :SQL_DATA_DISK_TYPE_UNSPECIFIED, 0
88
- value :PD_SSD, 1
89
- value :PD_HDD, 2
90
- end
91
- add_enum "google.events.cloud.clouddms.v1.CloudSqlSettings.SqlDatabaseVersion" do
92
- value :SQL_DATABASE_VERSION_UNSPECIFIED, 0
93
- value :MYSQL_5_6, 1
94
- value :MYSQL_5_7, 2
95
- value :POSTGRES_9_6, 3
96
- value :POSTGRES_11, 4
97
- value :POSTGRES_10, 5
98
- value :MYSQL_8_0, 6
99
- value :POSTGRES_12, 7
100
- value :POSTGRES_13, 8
101
- value :POSTGRES_14, 17
102
- end
103
- add_enum "google.events.cloud.clouddms.v1.CloudSqlSettings.SqlAvailabilityType" do
104
- value :SQL_AVAILABILITY_TYPE_UNSPECIFIED, 0
105
- value :ZONAL, 1
106
- value :REGIONAL, 2
107
- end
108
- add_message "google.events.cloud.clouddms.v1.AlloyDbSettings" do
109
- optional :vpc_network, :string, 2
110
- map :labels, :string, :string, 3
111
- optional :primary_instance_settings, :message, 4, "google.events.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings"
112
- end
113
- add_message "google.events.cloud.clouddms.v1.AlloyDbSettings.UserPassword" do
114
- optional :user, :string, 1
115
- optional :password_set, :bool, 3
116
- end
117
- add_message "google.events.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings" do
118
- optional :id, :string, 1
119
- optional :machine_config, :message, 2, "google.events.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings.MachineConfig"
120
- map :database_flags, :string, :string, 6
121
- map :labels, :string, :string, 7
122
- optional :private_ip, :string, 8
123
- end
124
- add_message "google.events.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings.MachineConfig" do
125
- optional :cpu_count, :int32, 1
126
- end
127
- add_message "google.events.cloud.clouddms.v1.StaticIpConnectivity" do
128
- end
129
- add_message "google.events.cloud.clouddms.v1.ReverseSshConnectivity" do
130
- optional :vm_ip, :string, 1
131
- optional :vm_port, :int32, 2
132
- optional :vm, :string, 3
133
- optional :vpc, :string, 4
134
- end
135
- add_message "google.events.cloud.clouddms.v1.VpcPeeringConnectivity" do
136
- optional :vpc, :string, 1
137
- end
138
- add_message "google.events.cloud.clouddms.v1.DatabaseType" do
139
- optional :provider, :enum, 1, "google.events.cloud.clouddms.v1.DatabaseProvider"
140
- optional :engine, :enum, 2, "google.events.cloud.clouddms.v1.DatabaseEngine"
141
- end
142
- add_message "google.events.cloud.clouddms.v1.MigrationJob" do
143
- optional :name, :string, 1
144
- optional :create_time, :message, 2, "google.protobuf.Timestamp"
145
- optional :update_time, :message, 3, "google.protobuf.Timestamp"
146
- map :labels, :string, :string, 4
147
- optional :display_name, :string, 5
148
- optional :state, :enum, 6, "google.events.cloud.clouddms.v1.MigrationJob.State"
149
- optional :phase, :enum, 7, "google.events.cloud.clouddms.v1.MigrationJob.Phase"
150
- optional :type, :enum, 8, "google.events.cloud.clouddms.v1.MigrationJob.Type"
151
- optional :dump_path, :string, 9
152
- optional :dump_flags, :message, 17, "google.events.cloud.clouddms.v1.MigrationJob.DumpFlags"
153
- optional :source, :string, 10
154
- optional :destination, :string, 11
155
- optional :duration, :message, 12, "google.protobuf.Duration"
156
- optional :error, :message, 13, "google.rpc.Status"
157
- optional :source_database, :message, 14, "google.events.cloud.clouddms.v1.DatabaseType"
158
- optional :destination_database, :message, 15, "google.events.cloud.clouddms.v1.DatabaseType"
159
- optional :end_time, :message, 16, "google.protobuf.Timestamp"
160
- oneof :connectivity do
161
- optional :reverse_ssh_connectivity, :message, 101, "google.events.cloud.clouddms.v1.ReverseSshConnectivity"
162
- optional :vpc_peering_connectivity, :message, 102, "google.events.cloud.clouddms.v1.VpcPeeringConnectivity"
163
- optional :static_ip_connectivity, :message, 103, "google.events.cloud.clouddms.v1.StaticIpConnectivity"
164
- end
165
- end
166
- add_message "google.events.cloud.clouddms.v1.MigrationJob.DumpFlag" do
167
- optional :name, :string, 1
168
- optional :value, :string, 2
169
- end
170
- add_message "google.events.cloud.clouddms.v1.MigrationJob.DumpFlags" do
171
- repeated :dump_flags, :message, 1, "google.events.cloud.clouddms.v1.MigrationJob.DumpFlag"
172
- end
173
- add_enum "google.events.cloud.clouddms.v1.MigrationJob.State" do
174
- value :STATE_UNSPECIFIED, 0
175
- value :MAINTENANCE, 1
176
- value :DRAFT, 2
177
- value :CREATING, 3
178
- value :NOT_STARTED, 4
179
- value :RUNNING, 5
180
- value :FAILED, 6
181
- value :COMPLETED, 7
182
- value :DELETING, 8
183
- value :STOPPING, 9
184
- value :STOPPED, 10
185
- value :DELETED, 11
186
- value :UPDATING, 12
187
- value :STARTING, 13
188
- value :RESTARTING, 14
189
- value :RESUMING, 15
190
- end
191
- add_enum "google.events.cloud.clouddms.v1.MigrationJob.Phase" do
192
- value :PHASE_UNSPECIFIED, 0
193
- value :FULL_DUMP, 1
194
- value :CDC, 2
195
- value :PROMOTE_IN_PROGRESS, 3
196
- value :WAITING_FOR_SOURCE_WRITES_TO_STOP, 4
197
- value :PREPARING_THE_DUMP, 5
198
- end
199
- add_enum "google.events.cloud.clouddms.v1.MigrationJob.Type" do
200
- value :TYPE_UNSPECIFIED, 0
201
- value :ONE_TIME, 1
202
- value :CONTINUOUS, 2
203
- end
204
- add_message "google.events.cloud.clouddms.v1.ConnectionProfile" do
205
- optional :name, :string, 1
206
- optional :create_time, :message, 2, "google.protobuf.Timestamp"
207
- optional :update_time, :message, 3, "google.protobuf.Timestamp"
208
- map :labels, :string, :string, 4
209
- optional :state, :enum, 5, "google.events.cloud.clouddms.v1.ConnectionProfile.State"
210
- optional :display_name, :string, 6
211
- optional :error, :message, 7, "google.rpc.Status"
212
- optional :provider, :enum, 8, "google.events.cloud.clouddms.v1.DatabaseProvider"
213
- oneof :connection_profile do
214
- optional :mysql, :message, 100, "google.events.cloud.clouddms.v1.MySqlConnectionProfile"
215
- optional :postgresql, :message, 101, "google.events.cloud.clouddms.v1.PostgreSqlConnectionProfile"
216
- optional :cloudsql, :message, 102, "google.events.cloud.clouddms.v1.CloudSqlConnectionProfile"
217
- optional :alloydb, :message, 105, "google.events.cloud.clouddms.v1.AlloyDbConnectionProfile"
218
- end
219
- end
220
- add_enum "google.events.cloud.clouddms.v1.ConnectionProfile.State" do
221
- value :STATE_UNSPECIFIED, 0
222
- value :DRAFT, 1
223
- value :CREATING, 2
224
- value :READY, 3
225
- value :UPDATING, 4
226
- value :DELETING, 5
227
- value :DELETED, 6
228
- value :FAILED, 7
229
- end
230
- add_message "google.events.cloud.clouddms.v1.ConnectionProfileEventData" do
231
- proto3_optional :payload, :message, 1, "google.events.cloud.clouddms.v1.ConnectionProfile"
232
- end
233
- add_message "google.events.cloud.clouddms.v1.MigrationJobEventData" do
234
- proto3_optional :payload, :message, 1, "google.events.cloud.clouddms.v1.MigrationJob"
235
- end
236
- add_enum "google.events.cloud.clouddms.v1.NetworkArchitecture" do
237
- value :NETWORK_ARCHITECTURE_UNSPECIFIED, 0
238
- value :NETWORK_ARCHITECTURE_OLD_CSQL_PRODUCER, 1
239
- value :NETWORK_ARCHITECTURE_NEW_CSQL_PRODUCER, 2
240
- end
241
- add_enum "google.events.cloud.clouddms.v1.DatabaseEngine" do
242
- value :DATABASE_ENGINE_UNSPECIFIED, 0
243
- value :MYSQL, 1
244
- value :POSTGRESQL, 2
245
- end
246
- add_enum "google.events.cloud.clouddms.v1.DatabaseProvider" do
247
- value :DATABASE_PROVIDER_UNSPECIFIED, 0
248
- value :CLOUDSQL, 1
249
- value :RDS, 2
250
- value :AURORA, 3
251
- value :ALLOYDB, 4
12
+
13
+ descriptor_data = "\n*google/events/cloud/clouddms/v1/data.proto\x12\x1fgoogle.events.cloud.clouddms.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x17google/rpc/status.proto\"\x96\x01\n\tSslConfig\x12@\n\x04type\x18\x01 \x01(\x0e\x32\x32.google.events.cloud.clouddms.v1.SslConfig.SslType\"G\n\x07SslType\x12\x18\n\x14SSL_TYPE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bSERVER_ONLY\x10\x01\x12\x11\n\rSERVER_CLIENT\x10\x02\"\xab\x01\n\x16MySqlConnectionProfile\x12\x0c\n\x04host\x18\x01 \x01(\t\x12\x0c\n\x04port\x18\x02 \x01(\x05\x12\x10\n\x08username\x18\x03 \x01(\t\x12\x14\n\x0cpassword_set\x18\x05 \x01(\x08\x12\x37\n\x03ssl\x18\x06 \x01(\x0b\x32*.google.events.cloud.clouddms.v1.SslConfig\x12\x14\n\x0c\x63loud_sql_id\x18\x07 \x01(\t\"\x84\x02\n\x1bPostgreSqlConnectionProfile\x12\x0c\n\x04host\x18\x01 \x01(\t\x12\x0c\n\x04port\x18\x02 \x01(\x05\x12\x10\n\x08username\x18\x03 \x01(\t\x12\x14\n\x0cpassword_set\x18\x05 \x01(\x08\x12\x37\n\x03ssl\x18\x06 \x01(\x0b\x32*.google.events.cloud.clouddms.v1.SslConfig\x12\x14\n\x0c\x63loud_sql_id\x18\x07 \x01(\t\x12R\n\x14network_architecture\x18\x08 \x01(\x0e\x32\x34.google.events.cloud.clouddms.v1.NetworkArchitecture\"\xbb\x01\n\x19\x43loudSqlConnectionProfile\x12\x14\n\x0c\x63loud_sql_id\x18\x01 \x01(\t\x12\x43\n\x08settings\x18\x02 \x01(\x0b\x32\x31.google.events.cloud.clouddms.v1.CloudSqlSettings\x12\x12\n\nprivate_ip\x18\x03 \x01(\t\x12\x11\n\tpublic_ip\x18\x04 \x01(\t\x12\x1c\n\x14\x61\x64\x64itional_public_ip\x18\x05 \x01(\t\"r\n\x18\x41lloyDbConnectionProfile\x12\x12\n\ncluster_id\x18\x01 \x01(\t\x12\x42\n\x08settings\x18\x02 \x01(\x0b\x32\x30.google.events.cloud.clouddms.v1.AlloyDbSettings\"l\n\x0bSqlAclEntry\x12\r\n\x05value\x18\x01 \x01(\t\x12\x31\n\x0b\x65xpire_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00\x12\r\n\x05label\x18\x03 \x01(\tB\x0c\n\nexpiration\"\xd3\x01\n\x0bSqlIpConfig\x12/\n\x0b\x65nable_ipv4\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x17\n\x0fprivate_network\x18\x02 \x01(\t\x12/\n\x0brequire_ssl\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12I\n\x13\x61uthorized_networks\x18\x04 \x03(\x0b\x32,.google.events.cloud.clouddms.v1.SqlAclEntry\"\xfc\x0b\n\x10\x43loudSqlSettings\x12^\n\x10\x64\x61tabase_version\x18\x01 \x01(\x0e\x32\x44.google.events.cloud.clouddms.v1.CloudSqlSettings.SqlDatabaseVersion\x12V\n\x0buser_labels\x18\x02 \x03(\x0b\x32\x41.google.events.cloud.clouddms.v1.CloudSqlSettings.UserLabelsEntry\x12\x0c\n\x04tier\x18\x03 \x01(\t\x12>\n\x19storage_auto_resize_limit\x18\x04 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12`\n\x11\x61\x63tivation_policy\x18\x05 \x01(\x0e\x32\x45.google.events.cloud.clouddms.v1.CloudSqlSettings.SqlActivationPolicy\x12?\n\tip_config\x18\x06 \x01(\x0b\x32,.google.events.cloud.clouddms.v1.SqlIpConfig\x12\x39\n\x15\x61uto_storage_increase\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\\\n\x0e\x64\x61tabase_flags\x18\x08 \x03(\x0b\x32\x44.google.events.cloud.clouddms.v1.CloudSqlSettings.DatabaseFlagsEntry\x12Y\n\x0e\x64\x61ta_disk_type\x18\t \x01(\x0e\x32\x41.google.events.cloud.clouddms.v1.CloudSqlSettings.SqlDataDiskType\x12\x36\n\x11\x64\x61ta_disk_size_gb\x18\n \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x0c\n\x04zone\x18\x0b \x01(\t\x12\x16\n\x0esecondary_zone\x18\x12 \x01(\t\x12\x11\n\tsource_id\x18\x0c \x01(\t\x12\x19\n\x11root_password_set\x18\x0e \x01(\x08\x12\x11\n\tcollation\x18\x0f \x01(\t\x12\x15\n\rcmek_key_name\x18\x10 \x01(\t\x12`\n\x11\x61vailability_type\x18\x11 \x01(\x0e\x32\x45.google.events.cloud.clouddms.v1.CloudSqlSettings.SqlAvailabilityType\x1a\x31\n\x0fUserLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x34\n\x12\x44\x61tabaseFlagsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"S\n\x13SqlActivationPolicy\x12%\n!SQL_ACTIVATION_POLICY_UNSPECIFIED\x10\x00\x12\n\n\x06\x41LWAYS\x10\x01\x12\t\n\x05NEVER\x10\x02\"M\n\x0fSqlDataDiskType\x12\"\n\x1eSQL_DATA_DISK_TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06PD_SSD\x10\x01\x12\n\n\x06PD_HDD\x10\x02\"\xce\x01\n\x12SqlDatabaseVersion\x12$\n SQL_DATABASE_VERSION_UNSPECIFIED\x10\x00\x12\r\n\tMYSQL_5_6\x10\x01\x12\r\n\tMYSQL_5_7\x10\x02\x12\x10\n\x0cPOSTGRES_9_6\x10\x03\x12\x0f\n\x0bPOSTGRES_11\x10\x04\x12\x0f\n\x0bPOSTGRES_10\x10\x05\x12\r\n\tMYSQL_8_0\x10\x06\x12\x0f\n\x0bPOSTGRES_12\x10\x07\x12\x0f\n\x0bPOSTGRES_13\x10\x08\x12\x0f\n\x0bPOSTGRES_14\x10\x11\"U\n\x13SqlAvailabilityType\x12%\n!SQL_AVAILABILITY_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05ZONAL\x10\x01\x12\x0c\n\x08REGIONAL\x10\x02\"\xd4\x06\n\x0f\x41lloyDbSettings\x12\x13\n\x0bvpc_network\x18\x02 \x01(\t\x12L\n\x06labels\x18\x03 \x03(\x0b\x32<.google.events.cloud.clouddms.v1.AlloyDbSettings.LabelsEntry\x12k\n\x19primary_instance_settings\x18\x04 \x01(\x0b\x32H.google.events.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings\x1a\x32\n\x0cUserPassword\x12\x0c\n\x04user\x18\x01 \x01(\t\x12\x14\n\x0cpassword_set\x18\x03 \x01(\x08\x1a\x8d\x04\n\x17PrimaryInstanceSettings\x12\n\n\x02id\x18\x01 \x01(\t\x12n\n\x0emachine_config\x18\x02 \x01(\x0b\x32V.google.events.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings.MachineConfig\x12s\n\x0e\x64\x61tabase_flags\x18\x06 \x03(\x0b\x32[.google.events.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings.DatabaseFlagsEntry\x12\x64\n\x06labels\x18\x07 \x03(\x0b\x32T.google.events.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings.LabelsEntry\x12\x12\n\nprivate_ip\x18\x08 \x01(\t\x1a\"\n\rMachineConfig\x12\x11\n\tcpu_count\x18\x01 \x01(\x05\x1a\x34\n\x12\x44\x61tabaseFlagsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x16\n\x14StaticIpConnectivity\"Q\n\x16ReverseSshConnectivity\x12\r\n\x05vm_ip\x18\x01 \x01(\t\x12\x0f\n\x07vm_port\x18\x02 \x01(\x05\x12\n\n\x02vm\x18\x03 \x01(\t\x12\x0b\n\x03vpc\x18\x04 \x01(\t\"%\n\x16VpcPeeringConnectivity\x12\x0b\n\x03vpc\x18\x01 \x01(\t\"\x94\x01\n\x0c\x44\x61tabaseType\x12\x43\n\x08provider\x18\x01 \x01(\x0e\x32\x31.google.events.cloud.clouddms.v1.DatabaseProvider\x12?\n\x06\x65ngine\x18\x02 \x01(\x0e\x32/.google.events.cloud.clouddms.v1.DatabaseEngine\"\xd6\r\n\x0cMigrationJob\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\x12I\n\x06labels\x18\x04 \x03(\x0b\x32\x39.google.events.cloud.clouddms.v1.MigrationJob.LabelsEntry\x12\x14\n\x0c\x64isplay_name\x18\x05 \x01(\t\x12\x42\n\x05state\x18\x06 \x01(\x0e\x32\x33.google.events.cloud.clouddms.v1.MigrationJob.State\x12\x42\n\x05phase\x18\x07 \x01(\x0e\x32\x33.google.events.cloud.clouddms.v1.MigrationJob.Phase\x12@\n\x04type\x18\x08 \x01(\x0e\x32\x32.google.events.cloud.clouddms.v1.MigrationJob.Type\x12\x11\n\tdump_path\x18\t \x01(\t\x12K\n\ndump_flags\x18\x11 \x01(\x0b\x32\x37.google.events.cloud.clouddms.v1.MigrationJob.DumpFlags\x12\x0e\n\x06source\x18\n \x01(\t\x12\x13\n\x0b\x64\x65stination\x18\x0b \x01(\t\x12[\n\x18reverse_ssh_connectivity\x18\x65 \x01(\x0b\x32\x37.google.events.cloud.clouddms.v1.ReverseSshConnectivityH\x00\x12[\n\x18vpc_peering_connectivity\x18\x66 \x01(\x0b\x32\x37.google.events.cloud.clouddms.v1.VpcPeeringConnectivityH\x00\x12W\n\x16static_ip_connectivity\x18g \x01(\x0b\x32\x35.google.events.cloud.clouddms.v1.StaticIpConnectivityH\x00\x12+\n\x08\x64uration\x18\x0c \x01(\x0b\x32\x19.google.protobuf.Duration\x12!\n\x05\x65rror\x18\r \x01(\x0b\x32\x12.google.rpc.Status\x12\x46\n\x0fsource_database\x18\x0e \x01(\x0b\x32-.google.events.cloud.clouddms.v1.DatabaseType\x12K\n\x14\x64\x65stination_database\x18\x0f \x01(\x0b\x32-.google.events.cloud.clouddms.v1.DatabaseType\x12,\n\x08\x65nd_time\x18\x10 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x1a\'\n\x08\x44umpFlag\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\x1aW\n\tDumpFlags\x12J\n\ndump_flags\x18\x01 \x03(\x0b\x32\x36.google.events.cloud.clouddms.v1.MigrationJob.DumpFlag\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xf1\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bMAINTENANCE\x10\x01\x12\t\n\x05\x44RAFT\x10\x02\x12\x0c\n\x08\x43REATING\x10\x03\x12\x0f\n\x0bNOT_STARTED\x10\x04\x12\x0b\n\x07RUNNING\x10\x05\x12\n\n\x06\x46\x41ILED\x10\x06\x12\r\n\tCOMPLETED\x10\x07\x12\x0c\n\x08\x44\x45LETING\x10\x08\x12\x0c\n\x08STOPPING\x10\t\x12\x0b\n\x07STOPPED\x10\n\x12\x0b\n\x07\x44\x45LETED\x10\x0b\x12\x0c\n\x08UPDATING\x10\x0c\x12\x0c\n\x08STARTING\x10\r\x12\x0e\n\nRESTARTING\x10\x0e\x12\x0c\n\x08RESUMING\x10\x0f\"\x8e\x01\n\x05Phase\x12\x15\n\x11PHASE_UNSPECIFIED\x10\x00\x12\r\n\tFULL_DUMP\x10\x01\x12\x07\n\x03\x43\x44\x43\x10\x02\x12\x17\n\x13PROMOTE_IN_PROGRESS\x10\x03\x12%\n!WAITING_FOR_SOURCE_WRITES_TO_STOP\x10\x04\x12\x16\n\x12PREPARING_THE_DUMP\x10\x05\":\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x0c\n\x08ONE_TIME\x10\x01\x12\x0e\n\nCONTINUOUS\x10\x02\x42\x0e\n\x0c\x63onnectivity\"\x94\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\x12N\n\x06labels\x18\x04 \x03(\x0b\x32>.google.events.cloud.clouddms.v1.ConnectionProfile.LabelsEntry\x12G\n\x05state\x18\x05 \x01(\x0e\x32\x38.google.events.cloud.clouddms.v1.ConnectionProfile.State\x12\x14\n\x0c\x64isplay_name\x18\x06 \x01(\t\x12H\n\x05mysql\x18\x64 \x01(\x0b\x32\x37.google.events.cloud.clouddms.v1.MySqlConnectionProfileH\x00\x12R\n\npostgresql\x18\x65 \x01(\x0b\x32<.google.events.cloud.clouddms.v1.PostgreSqlConnectionProfileH\x00\x12N\n\x08\x63loudsql\x18\x66 \x01(\x0b\x32:.google.events.cloud.clouddms.v1.CloudSqlConnectionProfileH\x00\x12L\n\x07\x61lloydb\x18i \x01(\x0b\x32\x39.google.events.cloud.clouddms.v1.AlloyDbConnectionProfileH\x00\x12!\n\x05\x65rror\x18\x07 \x01(\x0b\x32\x12.google.rpc.Status\x12\x43\n\x08provider\x18\x08 \x01(\x0e\x32\x31.google.events.cloud.clouddms.v1.DatabaseProvider\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"w\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\t\n\x05\x44RAFT\x10\x01\x12\x0c\n\x08\x43REATING\x10\x02\x12\t\n\x05READY\x10\x03\x12\x0c\n\x08UPDATING\x10\x04\x12\x0c\n\x08\x44\x45LETING\x10\x05\x12\x0b\n\x07\x44\x45LETED\x10\x06\x12\n\n\x06\x46\x41ILED\x10\x07\x42\x14\n\x12\x63onnection_profile\"r\n\x1a\x43onnectionProfileEventData\x12H\n\x07payload\x18\x01 \x01(\x0b\x32\x32.google.events.cloud.clouddms.v1.ConnectionProfileH\x00\x88\x01\x01\x42\n\n\x08_payload\"h\n\x15MigrationJobEventData\x12\x43\n\x07payload\x18\x01 \x01(\x0b\x32-.google.events.cloud.clouddms.v1.MigrationJobH\x00\x88\x01\x01\x42\n\n\x08_payload*\x93\x01\n\x13NetworkArchitecture\x12$\n NETWORK_ARCHITECTURE_UNSPECIFIED\x10\x00\x12*\n&NETWORK_ARCHITECTURE_OLD_CSQL_PRODUCER\x10\x01\x12*\n&NETWORK_ARCHITECTURE_NEW_CSQL_PRODUCER\x10\x02*L\n\x0e\x44\x61tabaseEngine\x12\x1f\n\x1b\x44\x41TABASE_ENGINE_UNSPECIFIED\x10\x00\x12\t\n\x05MYSQL\x10\x01\x12\x0e\n\nPOSTGRESQL\x10\x02*e\n\x10\x44\x61tabaseProvider\x12!\n\x1d\x44\x41TABASE_PROVIDER_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43LOUDSQL\x10\x01\x12\x07\n\x03RDS\x10\x02\x12\n\n\x06\x41URORA\x10\x03\x12\x0b\n\x07\x41LLOYDB\x10\x04\x42s\xaa\x02(Google.Events.Protobuf.Cloud.CloudDms.V1\xca\x02\x1fGoogle\\Events\\Cloud\\CloudDms\\V1\xea\x02#Google::Events::Cloud::CloudDMS::V1b\x06proto3"
14
+
15
+ pool = Google::Protobuf::DescriptorPool.generated_pool
16
+
17
+ begin
18
+ pool.add_serialized_file(descriptor_data)
19
+ rescue TypeError => e
20
+ # Compatibility code: will be removed in the next major version.
21
+ require 'google/protobuf/descriptor_pb'
22
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
23
+ parsed.clear_dependency
24
+ serialized = parsed.class.encode(parsed)
25
+ file = pool.add_serialized_file(serialized)
26
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
27
+ imports = [
28
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
29
+ ["google.protobuf.BoolValue", "google/protobuf/wrappers.proto"],
30
+ ["google.protobuf.Duration", "google/protobuf/duration.proto"],
31
+ ["google.rpc.Status", "google/rpc/status.proto"],
32
+ ]
33
+ imports.each do |type_name, expected_filename|
34
+ import_file = pool.lookup(type_name).file_descriptor
35
+ if import_file.name != expected_filename
36
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
252
37
  end
253
38
  end
39
+ warn "Each proto file must use a consistent fully-qualified name."
40
+ warn "This will become an error in the next major version."
254
41
  end
255
42
 
256
43
  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/clouddms/v1/events.proto
3
4
 
@@ -6,27 +7,32 @@ require 'google/protobuf'
6
7
  require 'google/events/cloud/clouddms/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/clouddms/v1/events.proto", :syntax => :proto3) do
11
- add_message "google.events.cloud.clouddms.v1.MigrationJobCreatedEvent" do
12
- optional :data, :message, 1, "google.events.cloud.clouddms.v1.MigrationJobEventData"
13
- end
14
- add_message "google.events.cloud.clouddms.v1.MigrationJobUpdatedEvent" do
15
- optional :data, :message, 1, "google.events.cloud.clouddms.v1.MigrationJobEventData"
16
- end
17
- add_message "google.events.cloud.clouddms.v1.MigrationJobDeletedEvent" do
18
- optional :data, :message, 1, "google.events.cloud.clouddms.v1.MigrationJobEventData"
19
- end
20
- add_message "google.events.cloud.clouddms.v1.ConnectionProfileCreatedEvent" do
21
- optional :data, :message, 1, "google.events.cloud.clouddms.v1.ConnectionProfileEventData"
22
- end
23
- add_message "google.events.cloud.clouddms.v1.ConnectionProfileUpdatedEvent" do
24
- optional :data, :message, 1, "google.events.cloud.clouddms.v1.ConnectionProfileEventData"
25
- end
26
- add_message "google.events.cloud.clouddms.v1.ConnectionProfileDeletedEvent" do
27
- optional :data, :message, 1, "google.events.cloud.clouddms.v1.ConnectionProfileEventData"
10
+
11
+ descriptor_data = "\n,google/events/cloud/clouddms/v1/events.proto\x12\x1fgoogle.events.cloud.clouddms.v1\x1a*google/events/cloud/clouddms/v1/data.proto\x1a\x1egoogle/events/cloudevent.proto\"\xa5\x01\n\x18MigrationJobCreatedEvent\x12\x44\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x36.google.events.cloud.clouddms.v1.MigrationJobEventData:C\xb2\xf8\xd8,-google.cloud.clouddms.migrationJob.v1.created\xca\xf8\xd8,\x0cmigrationjob\"\xa5\x01\n\x18MigrationJobUpdatedEvent\x12\x44\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x36.google.events.cloud.clouddms.v1.MigrationJobEventData:C\xb2\xf8\xd8,-google.cloud.clouddms.migrationJob.v1.updated\xca\xf8\xd8,\x0cmigrationjob\"\xa5\x01\n\x18MigrationJobDeletedEvent\x12\x44\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x36.google.events.cloud.clouddms.v1.MigrationJobEventData:C\xb2\xf8\xd8,-google.cloud.clouddms.migrationJob.v1.deleted\xca\xf8\xd8,\x0cmigrationjob\"\xb9\x01\n\x1d\x43onnectionProfileCreatedEvent\x12I\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32;.google.events.cloud.clouddms.v1.ConnectionProfileEventData:M\xb2\xf8\xd8,2google.cloud.clouddms.connectionProfile.v1.created\xca\xf8\xd8,\x11\x63onnectionprofile\"\xb9\x01\n\x1d\x43onnectionProfileUpdatedEvent\x12I\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32;.google.events.cloud.clouddms.v1.ConnectionProfileEventData:M\xb2\xf8\xd8,2google.cloud.clouddms.connectionProfile.v1.updated\xca\xf8\xd8,\x11\x63onnectionprofile\"\xb9\x01\n\x1d\x43onnectionProfileDeletedEvent\x12I\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32;.google.events.cloud.clouddms.v1.ConnectionProfileEventData:M\xb2\xf8\xd8,2google.cloud.clouddms.connectionProfile.v1.deleted\xca\xf8\xd8,\x11\x63onnectionprofileB\xd1\x02\xaa\x02(Google.Events.Protobuf.Cloud.CloudDms.V1\xca\x02\x1fGoogle\\Events\\Cloud\\CloudDms\\V1\xea\x02#Google::Events::Cloud::CloudDMS::V1\xba\xf8\xd8,\x12\x44\x61tabase Migration\xc2\xf8\xd8,W\n\x0cmigrationjob\x12\x39The resource ID of the MigrationJob triggering the event.\x1a\x0cmigrationJob\xc2\xf8\xd8,f\n\x11\x63onnectionprofile\x12>The resource ID of the ConnectionProfile triggering the event.\x1a\x11\x63onnectionProfileb\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.clouddms.v1.MigrationJobEventData", "google/events/cloud/clouddms/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}"
28
32
  end
29
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."
30
36
  end
31
37
 
32
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/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