google-cloud-cloud_dms-v1 0.3.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/cloud_dms/v1/data_migration_service/client.rb +582 -30
- data/lib/google/cloud/cloud_dms/v1/data_migration_service/operations.rb +3 -1
- data/lib/google/cloud/cloud_dms/v1/data_migration_service/paths.rb +21 -0
- data/lib/google/cloud/cloud_dms/v1/version.rb +1 -1
- data/lib/google/cloud/clouddms/v1/clouddms_pb.rb +37 -250
- data/lib/google/cloud/clouddms/v1/clouddms_resources_pb.rb +31 -349
- data/lib/google/cloud/clouddms/v1/clouddms_services_pb.rb +11 -0
- data/lib/google/cloud/clouddms/v1/conversionworkspace_resources_pb.rb +63 -202
- data/proto_docs/google/api/field_behavior.rb +14 -0
- data/proto_docs/google/cloud/clouddms/v1/clouddms.rb +214 -25
- data/proto_docs/google/cloud/clouddms/v1/clouddms_resources.rb +65 -2
- data/proto_docs/google/cloud/clouddms/v1/conversionworkspace_resources.rb +807 -29
- data/proto_docs/google/protobuf/any.rb +7 -4
- data/proto_docs/google/protobuf/struct.rb +1 -1
- data/proto_docs/google/protobuf/timestamp.rb +1 -3
- metadata +5 -5
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
3
|
# source: google/cloud/clouddms/v1/conversionworkspace_resources.proto
|
3
4
|
|
@@ -6,213 +7,38 @@ require 'google/protobuf'
|
|
6
7
|
require 'google/api/field_behavior_pb'
|
7
8
|
require 'google/api/resource_pb'
|
8
9
|
require 'google/cloud/clouddms/v1/clouddms_resources_pb'
|
10
|
+
require 'google/protobuf/empty_pb'
|
9
11
|
require 'google/protobuf/struct_pb'
|
10
12
|
require 'google/protobuf/timestamp_pb'
|
11
13
|
|
12
|
-
|
13
|
-
add_file("google/cloud/clouddms/v1/conversionworkspace_resources.proto", :syntax => :proto3) do
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
optional :completion_comment, :string, 6
|
37
|
-
optional :request_autocommit, :bool, 7
|
38
|
-
oneof :job_details do
|
39
|
-
optional :seed_job_details, :message, 100, "google.cloud.clouddms.v1.BackgroundJobLogEntry.SeedJobDetails"
|
40
|
-
optional :import_rules_job_details, :message, 101, "google.cloud.clouddms.v1.BackgroundJobLogEntry.ImportRulesJobDetails"
|
41
|
-
optional :convert_job_details, :message, 102, "google.cloud.clouddms.v1.BackgroundJobLogEntry.ConvertJobDetails"
|
42
|
-
optional :apply_job_details, :message, 103, "google.cloud.clouddms.v1.BackgroundJobLogEntry.ApplyJobDetails"
|
43
|
-
end
|
44
|
-
end
|
45
|
-
add_message "google.cloud.clouddms.v1.BackgroundJobLogEntry.SeedJobDetails" do
|
46
|
-
optional :connection_profile, :string, 1
|
47
|
-
end
|
48
|
-
add_message "google.cloud.clouddms.v1.BackgroundJobLogEntry.ImportRulesJobDetails" do
|
49
|
-
repeated :files, :string, 1
|
50
|
-
optional :file_format, :enum, 2, "google.cloud.clouddms.v1.ImportRulesFileFormat"
|
51
|
-
end
|
52
|
-
add_message "google.cloud.clouddms.v1.BackgroundJobLogEntry.ConvertJobDetails" do
|
53
|
-
optional :filter, :string, 1
|
54
|
-
end
|
55
|
-
add_message "google.cloud.clouddms.v1.BackgroundJobLogEntry.ApplyJobDetails" do
|
56
|
-
optional :connection_profile, :string, 1
|
57
|
-
optional :filter, :string, 2
|
58
|
-
end
|
59
|
-
add_enum "google.cloud.clouddms.v1.BackgroundJobLogEntry.JobCompletionState" do
|
60
|
-
value :JOB_COMPLETION_STATE_UNSPECIFIED, 0
|
61
|
-
value :SUCCEEDED, 1
|
62
|
-
value :FAILED, 2
|
63
|
-
end
|
64
|
-
add_message "google.cloud.clouddms.v1.DatabaseEntity" do
|
65
|
-
optional :short_name, :string, 1
|
66
|
-
optional :parent_entity, :string, 2
|
67
|
-
optional :tree, :enum, 3, "google.cloud.clouddms.v1.DatabaseEntity.TreeType"
|
68
|
-
optional :entity_type, :enum, 4, "google.cloud.clouddms.v1.DatabaseEntityType"
|
69
|
-
repeated :mappings, :message, 5, "google.cloud.clouddms.v1.EntityMapping"
|
70
|
-
oneof :entity_body do
|
71
|
-
optional :schema, :message, 102, "google.cloud.clouddms.v1.SchemaEntity"
|
72
|
-
optional :table, :message, 103, "google.cloud.clouddms.v1.TableEntity"
|
73
|
-
optional :view, :message, 104, "google.cloud.clouddms.v1.ViewEntity"
|
74
|
-
optional :sequence, :message, 105, "google.cloud.clouddms.v1.SequenceEntity"
|
75
|
-
optional :stored_procedure, :message, 106, "google.cloud.clouddms.v1.StoredProcedureEntity"
|
76
|
-
optional :database_function, :message, 107, "google.cloud.clouddms.v1.FunctionEntity"
|
77
|
-
optional :synonym, :message, 108, "google.cloud.clouddms.v1.SynonymEntity"
|
78
|
-
optional :database_package, :message, 109, "google.cloud.clouddms.v1.PackageEntity"
|
79
|
-
end
|
80
|
-
end
|
81
|
-
add_enum "google.cloud.clouddms.v1.DatabaseEntity.TreeType" do
|
82
|
-
value :TREE_TYPE_UNSPECIFIED, 0
|
83
|
-
value :SOURCE, 1
|
84
|
-
value :DRAFT, 2
|
85
|
-
value :DESTINATION, 3
|
86
|
-
end
|
87
|
-
add_message "google.cloud.clouddms.v1.SchemaEntity" do
|
88
|
-
optional :custom_features, :message, 1, "google.protobuf.Struct"
|
89
|
-
end
|
90
|
-
add_message "google.cloud.clouddms.v1.TableEntity" do
|
91
|
-
repeated :columns, :message, 1, "google.cloud.clouddms.v1.ColumnEntity"
|
92
|
-
repeated :constraints, :message, 2, "google.cloud.clouddms.v1.ConstraintEntity"
|
93
|
-
repeated :indices, :message, 3, "google.cloud.clouddms.v1.IndexEntity"
|
94
|
-
repeated :triggers, :message, 4, "google.cloud.clouddms.v1.TriggerEntity"
|
95
|
-
optional :custom_features, :message, 5, "google.protobuf.Struct"
|
96
|
-
optional :comment, :string, 6
|
97
|
-
end
|
98
|
-
add_message "google.cloud.clouddms.v1.ColumnEntity" do
|
99
|
-
optional :name, :string, 1
|
100
|
-
optional :data_type, :string, 2
|
101
|
-
optional :charset, :string, 3
|
102
|
-
optional :collation, :string, 4
|
103
|
-
optional :length, :int64, 5
|
104
|
-
optional :precision, :int32, 6
|
105
|
-
optional :scale, :int32, 7
|
106
|
-
optional :fractional_seconds_precision, :int32, 8
|
107
|
-
optional :array, :bool, 9
|
108
|
-
optional :array_length, :int32, 10
|
109
|
-
optional :nullable, :bool, 11
|
110
|
-
optional :auto_generated, :bool, 12
|
111
|
-
optional :udt, :bool, 13
|
112
|
-
optional :custom_features, :message, 14, "google.protobuf.Struct"
|
113
|
-
repeated :set_values, :string, 15
|
114
|
-
optional :comment, :string, 16
|
115
|
-
optional :ordinal_position, :int32, 17
|
116
|
-
optional :default_value, :string, 18
|
117
|
-
end
|
118
|
-
add_message "google.cloud.clouddms.v1.ConstraintEntity" do
|
119
|
-
optional :name, :string, 1
|
120
|
-
optional :type, :string, 2
|
121
|
-
repeated :table_columns, :string, 3
|
122
|
-
optional :custom_features, :message, 4, "google.protobuf.Struct"
|
123
|
-
repeated :reference_columns, :string, 5
|
124
|
-
optional :reference_table, :string, 6
|
125
|
-
optional :table_name, :string, 7
|
126
|
-
end
|
127
|
-
add_message "google.cloud.clouddms.v1.IndexEntity" do
|
128
|
-
optional :name, :string, 1
|
129
|
-
optional :type, :string, 2
|
130
|
-
repeated :table_columns, :string, 3
|
131
|
-
optional :unique, :bool, 4
|
132
|
-
optional :custom_features, :message, 5, "google.protobuf.Struct"
|
133
|
-
end
|
134
|
-
add_message "google.cloud.clouddms.v1.TriggerEntity" do
|
135
|
-
optional :name, :string, 1
|
136
|
-
repeated :triggering_events, :string, 2
|
137
|
-
optional :trigger_type, :string, 3
|
138
|
-
optional :sql_code, :string, 4
|
139
|
-
optional :custom_features, :message, 5, "google.protobuf.Struct"
|
140
|
-
end
|
141
|
-
add_message "google.cloud.clouddms.v1.ViewEntity" do
|
142
|
-
optional :sql_code, :string, 1
|
143
|
-
optional :custom_features, :message, 2, "google.protobuf.Struct"
|
144
|
-
repeated :constraints, :message, 3, "google.cloud.clouddms.v1.ConstraintEntity"
|
145
|
-
end
|
146
|
-
add_message "google.cloud.clouddms.v1.SequenceEntity" do
|
147
|
-
optional :increment, :int64, 1
|
148
|
-
optional :start_value, :bytes, 2
|
149
|
-
optional :max_value, :bytes, 3
|
150
|
-
optional :min_value, :bytes, 4
|
151
|
-
optional :cycle, :bool, 5
|
152
|
-
optional :cache, :int64, 6
|
153
|
-
optional :custom_features, :message, 7, "google.protobuf.Struct"
|
154
|
-
end
|
155
|
-
add_message "google.cloud.clouddms.v1.StoredProcedureEntity" do
|
156
|
-
optional :sql_code, :string, 1
|
157
|
-
optional :custom_features, :message, 2, "google.protobuf.Struct"
|
158
|
-
end
|
159
|
-
add_message "google.cloud.clouddms.v1.FunctionEntity" do
|
160
|
-
optional :sql_code, :string, 1
|
161
|
-
optional :custom_features, :message, 2, "google.protobuf.Struct"
|
162
|
-
end
|
163
|
-
add_message "google.cloud.clouddms.v1.SynonymEntity" do
|
164
|
-
optional :source_entity, :string, 1
|
165
|
-
optional :source_type, :enum, 2, "google.cloud.clouddms.v1.DatabaseEntityType"
|
166
|
-
optional :custom_features, :message, 3, "google.protobuf.Struct"
|
167
|
-
end
|
168
|
-
add_message "google.cloud.clouddms.v1.PackageEntity" do
|
169
|
-
optional :package_sql_code, :string, 1
|
170
|
-
optional :package_body, :string, 2
|
171
|
-
optional :custom_features, :message, 3, "google.protobuf.Struct"
|
172
|
-
end
|
173
|
-
add_message "google.cloud.clouddms.v1.EntityMapping" do
|
174
|
-
optional :source_entity, :string, 1
|
175
|
-
optional :draft_entity, :string, 2
|
176
|
-
optional :source_type, :enum, 4, "google.cloud.clouddms.v1.DatabaseEntityType"
|
177
|
-
optional :draft_type, :enum, 5, "google.cloud.clouddms.v1.DatabaseEntityType"
|
178
|
-
repeated :mapping_log, :message, 3, "google.cloud.clouddms.v1.EntityMappingLogEntry"
|
179
|
-
end
|
180
|
-
add_message "google.cloud.clouddms.v1.EntityMappingLogEntry" do
|
181
|
-
optional :rule_id, :string, 1
|
182
|
-
optional :rule_revision_id, :string, 2
|
183
|
-
optional :mapping_comment, :string, 3
|
184
|
-
end
|
185
|
-
add_enum "google.cloud.clouddms.v1.DatabaseEntityType" do
|
186
|
-
value :DATABASE_ENTITY_TYPE_UNSPECIFIED, 0
|
187
|
-
value :DATABASE_ENTITY_TYPE_SCHEMA, 1
|
188
|
-
value :DATABASE_ENTITY_TYPE_TABLE, 2
|
189
|
-
value :DATABASE_ENTITY_TYPE_COLUMN, 3
|
190
|
-
value :DATABASE_ENTITY_TYPE_CONSTRAINT, 4
|
191
|
-
value :DATABASE_ENTITY_TYPE_INDEX, 5
|
192
|
-
value :DATABASE_ENTITY_TYPE_TRIGGER, 6
|
193
|
-
value :DATABASE_ENTITY_TYPE_VIEW, 7
|
194
|
-
value :DATABASE_ENTITY_TYPE_SEQUENCE, 8
|
195
|
-
value :DATABASE_ENTITY_TYPE_STORED_PROCEDURE, 9
|
196
|
-
value :DATABASE_ENTITY_TYPE_FUNCTION, 10
|
197
|
-
value :DATABASE_ENTITY_TYPE_SYNONYM, 11
|
198
|
-
value :DATABASE_ENTITY_TYPE_DATABASE_PACKAGE, 12
|
199
|
-
value :DATABASE_ENTITY_TYPE_UDT, 13
|
200
|
-
value :DATABASE_ENTITY_TYPE_MATERIALIZED_VIEW, 14
|
201
|
-
value :DATABASE_ENTITY_TYPE_DATABASE, 15
|
202
|
-
end
|
203
|
-
add_enum "google.cloud.clouddms.v1.BackgroundJobType" do
|
204
|
-
value :BACKGROUND_JOB_TYPE_UNSPECIFIED, 0
|
205
|
-
value :BACKGROUND_JOB_TYPE_SOURCE_SEED, 1
|
206
|
-
value :BACKGROUND_JOB_TYPE_CONVERT, 2
|
207
|
-
value :BACKGROUND_JOB_TYPE_APPLY_DESTINATION, 3
|
208
|
-
value :BACKGROUND_JOB_TYPE_IMPORT_RULES_FILE, 5
|
209
|
-
end
|
210
|
-
add_enum "google.cloud.clouddms.v1.ImportRulesFileFormat" do
|
211
|
-
value :IMPORT_RULES_FILE_FORMAT_UNSPECIFIED, 0
|
212
|
-
value :IMPORT_RULES_FILE_FORMAT_HARBOUR_BRIDGE_SESSION_FILE, 1
|
213
|
-
value :IMPORT_RULES_FILE_FORMAT_ORATOPG_CONFIG_FILE, 2
|
14
|
+
|
15
|
+
descriptor_data = "\n<google/cloud/clouddms/v1/conversionworkspace_resources.proto\x12\x18google.cloud.clouddms.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x31google/cloud/clouddms/v1/clouddms_resources.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"i\n\x12\x44\x61tabaseEngineInfo\x12=\n\x06\x65ngine\x18\x01 \x01(\x0e\x32(.google.cloud.clouddms.v1.DatabaseEngineB\x03\xe0\x41\x02\x12\x14\n\x07version\x18\x02 \x01(\tB\x03\xe0\x41\x02\"\x88\x06\n\x13\x43onversionWorkspace\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x41\n\x06source\x18\x02 \x01(\x0b\x32,.google.cloud.clouddms.v1.DatabaseEngineInfoB\x03\xe0\x41\x02\x12\x46\n\x0b\x64\x65stination\x18\x03 \x01(\x0b\x32,.google.cloud.clouddms.v1.DatabaseEngineInfoB\x03\xe0\x41\x02\x12_\n\x0fglobal_settings\x18\x04 \x03(\x0b\x32\x41.google.cloud.clouddms.v1.ConversionWorkspace.GlobalSettingsEntryB\x03\xe0\x41\x01\x12$\n\x17has_uncommitted_changes\x18\x05 \x01(\x08\x42\x03\xe0\x41\x03\x12\x1d\n\x10latest_commit_id\x18\x06 \x01(\tB\x03\xe0\x41\x03\x12;\n\x12latest_commit_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\x0b \x01(\tB\x03\xe0\x41\x01\x1a\x35\n\x13GlobalSettingsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\xb6\x01\xea\x41\xb2\x01\n0datamigration.googleapis.com/ConversionWorkspace\x12Sprojects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}*\x14\x63onversionWorkspaces2\x13\x63onversionWorkspace\"\x87\t\n\x15\x42\x61\x63kgroundJobLogEntry\x12\n\n\x02id\x18\x01 \x01(\t\x12=\n\x08job_type\x18\x02 \x01(\x0e\x32+.google.cloud.clouddms.v1.BackgroundJobType\x12.\n\nstart_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x66inish_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x61\n\x10\x63ompletion_state\x18\x05 \x01(\x0e\x32\x42.google.cloud.clouddms.v1.BackgroundJobLogEntry.JobCompletionStateB\x03\xe0\x41\x03\x12\x1f\n\x12\x63ompletion_comment\x18\x06 \x01(\tB\x03\xe0\x41\x03\x12\x1f\n\x12request_autocommit\x18\x07 \x01(\x08\x42\x03\xe0\x41\x03\x12_\n\x10seed_job_details\x18\x64 \x01(\x0b\x32>.google.cloud.clouddms.v1.BackgroundJobLogEntry.SeedJobDetailsB\x03\xe0\x41\x03H\x00\x12n\n\x18import_rules_job_details\x18\x65 \x01(\x0b\x32\x45.google.cloud.clouddms.v1.BackgroundJobLogEntry.ImportRulesJobDetailsB\x03\xe0\x41\x03H\x00\x12\x65\n\x13\x63onvert_job_details\x18\x66 \x01(\x0b\x32\x41.google.cloud.clouddms.v1.BackgroundJobLogEntry.ConvertJobDetailsB\x03\xe0\x41\x03H\x00\x12\x61\n\x11\x61pply_job_details\x18g \x01(\x0b\x32?.google.cloud.clouddms.v1.BackgroundJobLogEntry.ApplyJobDetailsB\x03\xe0\x41\x03H\x00\x1a\x31\n\x0eSeedJobDetails\x12\x1f\n\x12\x63onnection_profile\x18\x01 \x01(\tB\x03\xe0\x41\x03\x1av\n\x15ImportRulesJobDetails\x12\x12\n\x05\x66iles\x18\x01 \x03(\tB\x03\xe0\x41\x03\x12I\n\x0b\x66ile_format\x18\x02 \x01(\x0e\x32/.google.cloud.clouddms.v1.ImportRulesFileFormatB\x03\xe0\x41\x03\x1a(\n\x11\x43onvertJobDetails\x12\x13\n\x06\x66ilter\x18\x01 \x01(\tB\x03\xe0\x41\x03\x1aG\n\x0f\x41pplyJobDetails\x12\x1f\n\x12\x63onnection_profile\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x13\n\x06\x66ilter\x18\x02 \x01(\tB\x03\xe0\x41\x03\"U\n\x12JobCompletionState\x12$\n JOB_COMPLETION_STATE_UNSPECIFIED\x10\x00\x12\r\n\tSUCCEEDED\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\x42\r\n\x0bjob_details\"\xab\x01\n\x11MappingRuleFilter\x12\x1a\n\rparent_entity\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x1f\n\x12\x65ntity_name_prefix\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x1f\n\x12\x65ntity_name_suffix\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12!\n\x14\x65ntity_name_contains\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08\x65ntities\x18\x05 \x03(\tB\x03\xe0\x41\x01\"\x9e\x0c\n\x0bMappingRule\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12?\n\x05state\x18\x03 \x01(\x0e\x32+.google.cloud.clouddms.v1.MappingRule.StateB\x03\xe0\x41\x01\x12\x45\n\nrule_scope\x18\x04 \x01(\x0e\x32,.google.cloud.clouddms.v1.DatabaseEntityTypeB\x03\xe0\x41\x02\x12@\n\x06\x66ilter\x18\x05 \x01(\x0b\x32+.google.cloud.clouddms.v1.MappingRuleFilterB\x03\xe0\x41\x02\x12\x17\n\nrule_order\x18\x06 \x01(\x03\x42\x03\xe0\x41\x02\x12\x18\n\x0brevision_id\x18\x07 \x01(\tB\x03\xe0\x41\x03\x12=\n\x14revision_create_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12Q\n\x14single_entity_rename\x18\x66 \x01(\x0b\x32,.google.cloud.clouddms.v1.SingleEntityRenameB\x03\xe0\x41\x01H\x00\x12O\n\x13multi_entity_rename\x18g \x01(\x0b\x32+.google.cloud.clouddms.v1.MultiEntityRenameB\x03\xe0\x41\x01H\x00\x12@\n\x0b\x65ntity_move\x18i \x01(\x0b\x32$.google.cloud.clouddms.v1.EntityMoveB\x03\xe0\x41\x01H\x00\x12Q\n\x14single_column_change\x18j \x01(\x0b\x32,.google.cloud.clouddms.v1.SingleColumnChangeB\x03\xe0\x41\x01H\x00\x12\x61\n\x1dmulti_column_data_type_change\x18k \x01(\x0b\x32\x33.google.cloud.clouddms.v1.MultiColumnDatatypeChangeB\x03\xe0\x41\x01H\x00\x12`\n\x1c\x63onditional_column_set_value\x18l \x01(\x0b\x32\x33.google.cloud.clouddms.v1.ConditionalColumnSetValueB\x03\xe0\x41\x01H\x00\x12S\n\x14\x63onvert_rowid_column\x18r \x01(\x0b\x32..google.cloud.clouddms.v1.ConvertRowIdToColumnB\x03\xe0\x41\x01H\x00\x12R\n\x15set_table_primary_key\x18s \x01(\x0b\x32,.google.cloud.clouddms.v1.SetTablePrimaryKeyB\x03\xe0\x41\x01H\x00\x12S\n\x15single_package_change\x18t \x01(\x0b\x32-.google.cloud.clouddms.v1.SinglePackageChangeB\x03\xe0\x41\x01H\x00\x12K\n\x11source_sql_change\x18u \x01(\x0b\x32).google.cloud.clouddms.v1.SourceSqlChangeB\x03\xe0\x41\x01H\x00\x12Q\n\x14\x66ilter_table_columns\x18v \x01(\x0b\x32,.google.cloud.clouddms.v1.FilterTableColumnsB\x03\xe0\x41\x01H\x00\"F\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x45NABLED\x10\x01\x12\x0c\n\x08\x44ISABLED\x10\x02\x12\x0b\n\x07\x44\x45LETED\x10\x03:\xba\x01\xea\x41\xb6\x01\n(datamigration.googleapis.com/MappingRule\x12oprojects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}/mappingRules/{mapping_rule}*\x0cmappingRules2\x0bmappingRuleB\t\n\x07\x64\x65tails\"+\n\x12SingleEntityRename\x12\x15\n\x08new_name\x18\x01 \x01(\tB\x03\xe0\x41\x02\"\x8f\x01\n\x11MultiEntityRename\x12\x1d\n\x10new_name_pattern\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12[\n\x1asource_name_transformation\x18\x02 \x01(\x0e\x32\x32.google.cloud.clouddms.v1.EntityNameTransformationB\x03\xe0\x41\x01\"%\n\nEntityMove\x12\x17\n\nnew_schema\x18\x01 \x01(\tB\x03\xe0\x41\x02\"\xa1\x03\n\x12SingleColumnChange\x12\x16\n\tdata_type\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x14\n\x07\x63harset\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tcollation\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06length\x18\x04 \x01(\x03\x42\x03\xe0\x41\x01\x12\x16\n\tprecision\x18\x05 \x01(\x05\x42\x03\xe0\x41\x01\x12\x12\n\x05scale\x18\x06 \x01(\x05\x42\x03\xe0\x41\x01\x12)\n\x1c\x66ractional_seconds_precision\x18\x07 \x01(\x05\x42\x03\xe0\x41\x01\x12\x12\n\x05\x61rray\x18\x08 \x01(\x08\x42\x03\xe0\x41\x01\x12\x19\n\x0c\x61rray_length\x18\t \x01(\x05\x42\x03\xe0\x41\x01\x12\x15\n\x08nullable\x18\n \x01(\x08\x42\x03\xe0\x41\x01\x12\x1b\n\x0e\x61uto_generated\x18\x0b \x01(\x08\x42\x03\xe0\x41\x01\x12\x10\n\x03udt\x18\x0c \x01(\x08\x42\x03\xe0\x41\x01\x12\x35\n\x0f\x63ustom_features\x18\r \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x01\x12\x17\n\nset_values\x18\x0e \x03(\tB\x03\xe0\x41\x01\x12\x14\n\x07\x63omment\x18\x0f \x01(\tB\x03\xe0\x41\x01\"\xd9\x03\n\x19MultiColumnDatatypeChange\x12$\n\x17source_data_type_filter\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12M\n\x12source_text_filter\x18\x64 \x01(\x0b\x32*.google.cloud.clouddms.v1.SourceTextFilterB\x03\xe0\x41\x01H\x00\x12S\n\x15source_numeric_filter\x18\x65 \x01(\x0b\x32-.google.cloud.clouddms.v1.SourceNumericFilterB\x03\xe0\x41\x01H\x00\x12\x1a\n\rnew_data_type\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x1c\n\x0foverride_length\x18\x03 \x01(\x03\x42\x03\xe0\x41\x01\x12\x1b\n\x0eoverride_scale\x18\x04 \x01(\x05\x42\x03\xe0\x41\x01\x12\x1f\n\x12override_precision\x18\x05 \x01(\x05\x42\x03\xe0\x41\x01\x12\x32\n%override_fractional_seconds_precision\x18\x06 \x01(\x05\x42\x03\xe0\x41\x01\x12\x35\n\x0f\x63ustom_features\x18\x07 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x01\x42\x0f\n\rsource_filter\"`\n\x10SourceTextFilter\x12%\n\x18source_min_length_filter\x18\x01 \x01(\x03\x42\x03\xe0\x41\x01\x12%\n\x18source_max_length_filter\x18\x02 \x01(\x03\x42\x03\xe0\x41\x01\"\x88\x02\n\x13SourceNumericFilter\x12$\n\x17source_min_scale_filter\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01\x12$\n\x17source_max_scale_filter\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12(\n\x1bsource_min_precision_filter\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12(\n\x1bsource_max_precision_filter\x18\x04 \x01(\x05\x42\x03\xe0\x41\x01\x12Q\n\x15numeric_filter_option\x18\x05 \x01(\x0e\x32-.google.cloud.clouddms.v1.NumericFilterOptionB\x03\xe0\x41\x02\"\xd9\x02\n\x19\x43onditionalColumnSetValue\x12M\n\x12source_text_filter\x18\x64 \x01(\x0b\x32*.google.cloud.clouddms.v1.SourceTextFilterB\x03\xe0\x41\x01H\x00\x12S\n\x15source_numeric_filter\x18\x65 \x01(\x0b\x32-.google.cloud.clouddms.v1.SourceNumericFilterB\x03\xe0\x41\x01H\x00\x12P\n\x14value_transformation\x18\x01 \x01(\x0b\x32-.google.cloud.clouddms.v1.ValueTransformationB\x03\xe0\x41\x02\x12\x35\n\x0f\x63ustom_features\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructB\x03\xe0\x41\x01\x42\x0f\n\rsource_filter\"\xc6\x05\n\x13ValueTransformation\x12.\n\x07is_null\x18\x64 \x01(\x0b\x32\x16.google.protobuf.EmptyB\x03\xe0\x41\x01H\x00\x12\x44\n\nvalue_list\x18\x65 \x01(\x0b\x32).google.cloud.clouddms.v1.ValueListFilterB\x03\xe0\x41\x01H\x00\x12L\n\x0eint_comparison\x18\x66 \x01(\x0b\x32-.google.cloud.clouddms.v1.IntComparisonFilterB\x03\xe0\x41\x01H\x00\x12R\n\x11\x64ouble_comparison\x18g \x01(\x0b\x32\x30.google.cloud.clouddms.v1.DoubleComparisonFilterB\x03\xe0\x41\x01H\x00\x12\x33\n\x0b\x61ssign_null\x18\xc8\x01 \x01(\x0b\x32\x16.google.protobuf.EmptyB\x03\xe0\x41\x01H\x01\x12T\n\x15\x61ssign_specific_value\x18\xc9\x01 \x01(\x0b\x32-.google.cloud.clouddms.v1.AssignSpecificValueB\x03\xe0\x41\x01H\x01\x12\x38\n\x10\x61ssign_min_value\x18\xca\x01 \x01(\x0b\x32\x16.google.protobuf.EmptyB\x03\xe0\x41\x01H\x01\x12\x38\n\x10\x61ssign_max_value\x18\xcb\x01 \x01(\x0b\x32\x16.google.protobuf.EmptyB\x03\xe0\x41\x01H\x01\x12\x43\n\x0bround_scale\x18\xcc\x01 \x01(\x0b\x32&.google.cloud.clouddms.v1.RoundToScaleB\x03\xe0\x41\x01H\x01\x12?\n\napply_hash\x18\xcd\x01 \x01(\x0b\x32#.google.cloud.clouddms.v1.ApplyHashB\x03\xe0\x41\x01H\x01\x42\x08\n\x06\x66ilterB\x08\n\x06\x61\x63tion\";\n\x14\x43onvertRowIdToColumn\x12#\n\x16only_if_no_primary_key\x18\x01 \x01(\x08\x42\x03\xe0\x41\x02\"P\n\x12SetTablePrimaryKey\x12 \n\x13primary_key_columns\x18\x01 \x03(\tB\x03\xe0\x41\x02\x12\x18\n\x0bprimary_key\x18\x02 \x01(\tB\x03\xe0\x41\x01\"R\n\x13SinglePackageChange\x12 \n\x13package_description\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x19\n\x0cpackage_body\x18\x02 \x01(\tB\x03\xe0\x41\x01\"(\n\x0fSourceSqlChange\x12\x15\n\x08sql_code\x18\x01 \x01(\tB\x03\xe0\x41\x02\"P\n\x12\x46ilterTableColumns\x12\x1c\n\x0finclude_columns\x18\x01 \x03(\tB\x03\xe0\x41\x01\x12\x1c\n\x0f\x65xclude_columns\x18\x02 \x03(\tB\x03\xe0\x41\x01\"\x8f\x01\n\x0fValueListFilter\x12M\n\x12value_present_list\x18\x01 \x01(\x0e\x32,.google.cloud.clouddms.v1.ValuePresentInListB\x03\xe0\x41\x02\x12\x13\n\x06values\x18\x02 \x03(\tB\x03\xe0\x41\x02\x12\x18\n\x0bignore_case\x18\x03 \x01(\x08\x42\x03\xe0\x41\x02\"s\n\x13IntComparisonFilter\x12H\n\x10value_comparison\x18\x01 \x01(\x0e\x32).google.cloud.clouddms.v1.ValueComparisonB\x03\xe0\x41\x02\x12\x12\n\x05value\x18\x02 \x01(\x03\x42\x03\xe0\x41\x02\"v\n\x16\x44oubleComparisonFilter\x12H\n\x10value_comparison\x18\x01 \x01(\x0e\x32).google.cloud.clouddms.v1.ValueComparisonB\x03\xe0\x41\x02\x12\x12\n\x05value\x18\x02 \x01(\x01\x42\x03\xe0\x41\x02\")\n\x13\x41ssignSpecificValue\x12\x12\n\x05value\x18\x01 \x01(\tB\x03\xe0\x41\x02\"T\n\tApplyHash\x12\x36\n\x0fuuid_from_bytes\x18\x64 \x01(\x0b\x32\x16.google.protobuf.EmptyB\x03\xe0\x41\x01H\x00\x42\x0f\n\rhash_function\"\"\n\x0cRoundToScale\x12\x12\n\x05scale\x18\x01 \x01(\x05\x42\x03\xe0\x41\x02\"\x8c\t\n\x0e\x44\x61tabaseEntity\x12\x12\n\nshort_name\x18\x01 \x01(\t\x12\x15\n\rparent_entity\x18\x02 \x01(\t\x12?\n\x04tree\x18\x03 \x01(\x0e\x32\x31.google.cloud.clouddms.v1.DatabaseEntity.TreeType\x12\x41\n\x0b\x65ntity_type\x18\x04 \x01(\x0e\x32,.google.cloud.clouddms.v1.DatabaseEntityType\x12\x39\n\x08mappings\x18\x05 \x03(\x0b\x32\'.google.cloud.clouddms.v1.EntityMapping\x12\x37\n\nentity_ddl\x18\x06 \x03(\x0b\x32#.google.cloud.clouddms.v1.EntityDdl\x12\x35\n\x06issues\x18\x07 \x03(\x0b\x32%.google.cloud.clouddms.v1.EntityIssue\x12\x44\n\x08\x64\x61tabase\x18\x65 \x01(\x0b\x32\x30.google.cloud.clouddms.v1.DatabaseInstanceEntityH\x00\x12\x38\n\x06schema\x18\x66 \x01(\x0b\x32&.google.cloud.clouddms.v1.SchemaEntityH\x00\x12\x36\n\x05table\x18g \x01(\x0b\x32%.google.cloud.clouddms.v1.TableEntityH\x00\x12\x34\n\x04view\x18h \x01(\x0b\x32$.google.cloud.clouddms.v1.ViewEntityH\x00\x12<\n\x08sequence\x18i \x01(\x0b\x32(.google.cloud.clouddms.v1.SequenceEntityH\x00\x12K\n\x10stored_procedure\x18j \x01(\x0b\x32/.google.cloud.clouddms.v1.StoredProcedureEntityH\x00\x12\x45\n\x11\x64\x61tabase_function\x18k \x01(\x0b\x32(.google.cloud.clouddms.v1.FunctionEntityH\x00\x12:\n\x07synonym\x18l \x01(\x0b\x32\'.google.cloud.clouddms.v1.SynonymEntityH\x00\x12\x43\n\x10\x64\x61tabase_package\x18m \x01(\x0b\x32\'.google.cloud.clouddms.v1.PackageEntityH\x00\x12\x32\n\x03udt\x18n \x01(\x0b\x32#.google.cloud.clouddms.v1.UDTEntityH\x00\x12M\n\x11materialized_view\x18o \x01(\x0b\x32\x30.google.cloud.clouddms.v1.MaterializedViewEntityH\x00\"M\n\x08TreeType\x12\x19\n\x15TREE_TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06SOURCE\x10\x01\x12\t\n\x05\x44RAFT\x10\x02\x12\x0f\n\x0b\x44\x45STINATION\x10\x03\x42\r\n\x0b\x65ntity_body\"J\n\x16\x44\x61tabaseInstanceEntity\x12\x30\n\x0f\x63ustom_features\x18\x01 \x01(\x0b\x32\x17.google.protobuf.Struct\"@\n\x0cSchemaEntity\x12\x30\n\x0f\x63ustom_features\x18\x01 \x01(\x0b\x32\x17.google.protobuf.Struct\"\xbd\x02\n\x0bTableEntity\x12\x37\n\x07\x63olumns\x18\x01 \x03(\x0b\x32&.google.cloud.clouddms.v1.ColumnEntity\x12?\n\x0b\x63onstraints\x18\x02 \x03(\x0b\x32*.google.cloud.clouddms.v1.ConstraintEntity\x12\x36\n\x07indices\x18\x03 \x03(\x0b\x32%.google.cloud.clouddms.v1.IndexEntity\x12\x39\n\x08triggers\x18\x04 \x03(\x0b\x32\'.google.cloud.clouddms.v1.TriggerEntity\x12\x30\n\x0f\x63ustom_features\x18\x05 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x0f\n\x07\x63omment\x18\x06 \x01(\t\"\x8f\x03\n\x0c\x43olumnEntity\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x11\n\tdata_type\x18\x02 \x01(\t\x12\x0f\n\x07\x63harset\x18\x03 \x01(\t\x12\x11\n\tcollation\x18\x04 \x01(\t\x12\x0e\n\x06length\x18\x05 \x01(\x03\x12\x11\n\tprecision\x18\x06 \x01(\x05\x12\r\n\x05scale\x18\x07 \x01(\x05\x12$\n\x1c\x66ractional_seconds_precision\x18\x08 \x01(\x05\x12\r\n\x05\x61rray\x18\t \x01(\x08\x12\x14\n\x0c\x61rray_length\x18\n \x01(\x05\x12\x10\n\x08nullable\x18\x0b \x01(\x08\x12\x16\n\x0e\x61uto_generated\x18\x0c \x01(\x08\x12\x0b\n\x03udt\x18\r \x01(\x08\x12\x30\n\x0f\x63ustom_features\x18\x0e \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x12\n\nset_values\x18\x0f \x03(\t\x12\x0f\n\x07\x63omment\x18\x10 \x01(\t\x12\x18\n\x10ordinal_position\x18\x11 \x01(\x05\x12\x15\n\rdefault_value\x18\x12 \x01(\t\"\xbf\x01\n\x10\x43onstraintEntity\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t\x12\x15\n\rtable_columns\x18\x03 \x03(\t\x12\x30\n\x0f\x63ustom_features\x18\x04 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x19\n\x11reference_columns\x18\x05 \x03(\t\x12\x17\n\x0freference_table\x18\x06 \x01(\t\x12\x12\n\ntable_name\x18\x07 \x01(\t\"\x82\x01\n\x0bIndexEntity\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t\x12\x15\n\rtable_columns\x18\x03 \x03(\t\x12\x0e\n\x06unique\x18\x04 \x01(\x08\x12\x30\n\x0f\x63ustom_features\x18\x05 \x01(\x0b\x32\x17.google.protobuf.Struct\"\x92\x01\n\rTriggerEntity\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x19\n\x11triggering_events\x18\x02 \x03(\t\x12\x14\n\x0ctrigger_type\x18\x03 \x01(\t\x12\x10\n\x08sql_code\x18\x04 \x01(\t\x12\x30\n\x0f\x63ustom_features\x18\x05 \x01(\x0b\x32\x17.google.protobuf.Struct\"\x91\x01\n\nViewEntity\x12\x10\n\x08sql_code\x18\x01 \x01(\t\x12\x30\n\x0f\x63ustom_features\x18\x02 \x01(\x0b\x32\x17.google.protobuf.Struct\x12?\n\x0b\x63onstraints\x18\x03 \x03(\x0b\x32*.google.cloud.clouddms.v1.ConstraintEntity\"\xae\x01\n\x0eSequenceEntity\x12\x11\n\tincrement\x18\x01 \x01(\x03\x12\x13\n\x0bstart_value\x18\x02 \x01(\x0c\x12\x11\n\tmax_value\x18\x03 \x01(\x0c\x12\x11\n\tmin_value\x18\x04 \x01(\x0c\x12\r\n\x05\x63ycle\x18\x05 \x01(\x08\x12\r\n\x05\x63\x61\x63he\x18\x06 \x01(\x03\x12\x30\n\x0f\x63ustom_features\x18\x07 \x01(\x0b\x32\x17.google.protobuf.Struct\"[\n\x15StoredProcedureEntity\x12\x10\n\x08sql_code\x18\x01 \x01(\t\x12\x30\n\x0f\x63ustom_features\x18\x02 \x01(\x0b\x32\x17.google.protobuf.Struct\"T\n\x0e\x46unctionEntity\x12\x10\n\x08sql_code\x18\x01 \x01(\t\x12\x30\n\x0f\x63ustom_features\x18\x02 \x01(\x0b\x32\x17.google.protobuf.Struct\"\\\n\x16MaterializedViewEntity\x12\x10\n\x08sql_code\x18\x01 \x01(\t\x12\x30\n\x0f\x63ustom_features\x18\x02 \x01(\x0b\x32\x17.google.protobuf.Struct\"\x9b\x01\n\rSynonymEntity\x12\x15\n\rsource_entity\x18\x01 \x01(\t\x12\x41\n\x0bsource_type\x18\x02 \x01(\x0e\x32,.google.cloud.clouddms.v1.DatabaseEntityType\x12\x30\n\x0f\x63ustom_features\x18\x03 \x01(\x0b\x32\x17.google.protobuf.Struct\"q\n\rPackageEntity\x12\x18\n\x10package_sql_code\x18\x01 \x01(\t\x12\x14\n\x0cpackage_body\x18\x02 \x01(\t\x12\x30\n\x0f\x63ustom_features\x18\x03 \x01(\x0b\x32\x17.google.protobuf.Struct\"e\n\tUDTEntity\x12\x14\n\x0cudt_sql_code\x18\x01 \x01(\t\x12\x10\n\x08udt_body\x18\x02 \x01(\t\x12\x30\n\x0f\x63ustom_features\x18\x03 \x01(\x0b\x32\x17.google.protobuf.Struct\"\x87\x02\n\rEntityMapping\x12\x15\n\rsource_entity\x18\x01 \x01(\t\x12\x14\n\x0c\x64raft_entity\x18\x02 \x01(\t\x12\x41\n\x0bsource_type\x18\x04 \x01(\x0e\x32,.google.cloud.clouddms.v1.DatabaseEntityType\x12@\n\ndraft_type\x18\x05 \x01(\x0e\x32,.google.cloud.clouddms.v1.DatabaseEntityType\x12\x44\n\x0bmapping_log\x18\x03 \x03(\x0b\x32/.google.cloud.clouddms.v1.EntityMappingLogEntry\"[\n\x15\x45ntityMappingLogEntry\x12\x0f\n\x07rule_id\x18\x01 \x01(\t\x12\x18\n\x10rule_revision_id\x18\x02 \x01(\t\x12\x17\n\x0fmapping_comment\x18\x03 \x01(\t\"\x8f\x01\n\tEntityDdl\x12\x10\n\x08\x64\x64l_type\x18\x01 \x01(\t\x12\x0e\n\x06\x65ntity\x18\x02 \x01(\t\x12\x0b\n\x03\x64\x64l\x18\x03 \x01(\t\x12\x41\n\x0b\x65ntity_type\x18\x04 \x01(\x0e\x32,.google.cloud.clouddms.v1.DatabaseEntityType\x12\x10\n\x08issue_id\x18\x64 \x03(\t\"\xa4\x05\n\x0b\x45ntityIssue\x12\n\n\x02id\x18\x01 \x01(\t\x12=\n\x04type\x18\x02 \x01(\x0e\x32/.google.cloud.clouddms.v1.EntityIssue.IssueType\x12\x45\n\x08severity\x18\x03 \x01(\x0e\x32\x33.google.cloud.clouddms.v1.EntityIssue.IssueSeverity\x12\x0f\n\x07message\x18\x04 \x01(\t\x12\x0c\n\x04\x63ode\x18\x05 \x01(\t\x12\x10\n\x03\x64\x64l\x18\x06 \x01(\tH\x00\x88\x01\x01\x12\x45\n\x08position\x18\x07 \x01(\x0b\x32..google.cloud.clouddms.v1.EntityIssue.PositionH\x01\x88\x01\x01\x12\x41\n\x0b\x65ntity_type\x18\x08 \x01(\x0e\x32,.google.cloud.clouddms.v1.DatabaseEntityType\x1aH\n\x08Position\x12\x0c\n\x04line\x18\x01 \x01(\x05\x12\x0e\n\x06\x63olumn\x18\x02 \x01(\x05\x12\x0e\n\x06offset\x18\x03 \x01(\x05\x12\x0e\n\x06length\x18\x04 \x01(\x05\"i\n\tIssueType\x12\x1a\n\x16ISSUE_TYPE_UNSPECIFIED\x10\x00\x12\x12\n\x0eISSUE_TYPE_DDL\x10\x01\x12\x14\n\x10ISSUE_TYPE_APPLY\x10\x02\x12\x16\n\x12ISSUE_TYPE_CONVERT\x10\x03\"~\n\rIssueSeverity\x12\x1e\n\x1aISSUE_SEVERITY_UNSPECIFIED\x10\x00\x12\x17\n\x13ISSUE_SEVERITY_INFO\x10\x01\x12\x1a\n\x16ISSUE_SEVERITY_WARNING\x10\x02\x12\x18\n\x14ISSUE_SEVERITY_ERROR\x10\x03\x42\x06\n\x04_ddlB\x0b\n\t_position*\x91\x01\n\x12ValuePresentInList\x12%\n!VALUE_PRESENT_IN_LIST_UNSPECIFIED\x10\x00\x12\'\n#VALUE_PRESENT_IN_LIST_IF_VALUE_LIST\x10\x01\x12+\n\'VALUE_PRESENT_IN_LIST_IF_VALUE_NOT_LIST\x10\x02*\xcd\x04\n\x12\x44\x61tabaseEntityType\x12$\n DATABASE_ENTITY_TYPE_UNSPECIFIED\x10\x00\x12\x1f\n\x1b\x44\x41TABASE_ENTITY_TYPE_SCHEMA\x10\x01\x12\x1e\n\x1a\x44\x41TABASE_ENTITY_TYPE_TABLE\x10\x02\x12\x1f\n\x1b\x44\x41TABASE_ENTITY_TYPE_COLUMN\x10\x03\x12#\n\x1f\x44\x41TABASE_ENTITY_TYPE_CONSTRAINT\x10\x04\x12\x1e\n\x1a\x44\x41TABASE_ENTITY_TYPE_INDEX\x10\x05\x12 \n\x1c\x44\x41TABASE_ENTITY_TYPE_TRIGGER\x10\x06\x12\x1d\n\x19\x44\x41TABASE_ENTITY_TYPE_VIEW\x10\x07\x12!\n\x1d\x44\x41TABASE_ENTITY_TYPE_SEQUENCE\x10\x08\x12)\n%DATABASE_ENTITY_TYPE_STORED_PROCEDURE\x10\t\x12!\n\x1d\x44\x41TABASE_ENTITY_TYPE_FUNCTION\x10\n\x12 \n\x1c\x44\x41TABASE_ENTITY_TYPE_SYNONYM\x10\x0b\x12)\n%DATABASE_ENTITY_TYPE_DATABASE_PACKAGE\x10\x0c\x12\x1c\n\x18\x44\x41TABASE_ENTITY_TYPE_UDT\x10\r\x12*\n&DATABASE_ENTITY_TYPE_MATERIALIZED_VIEW\x10\x0e\x12!\n\x1d\x44\x41TABASE_ENTITY_TYPE_DATABASE\x10\x0f*\xff\x01\n\x18\x45ntityNameTransformation\x12*\n&ENTITY_NAME_TRANSFORMATION_UNSPECIFIED\x10\x00\x12\x30\n,ENTITY_NAME_TRANSFORMATION_NO_TRANSFORMATION\x10\x01\x12)\n%ENTITY_NAME_TRANSFORMATION_LOWER_CASE\x10\x02\x12)\n%ENTITY_NAME_TRANSFORMATION_UPPER_CASE\x10\x03\x12/\n+ENTITY_NAME_TRANSFORMATION_CAPITALIZED_CASE\x10\x04*\xd4\x01\n\x11\x42\x61\x63kgroundJobType\x12#\n\x1f\x42\x41\x43KGROUND_JOB_TYPE_UNSPECIFIED\x10\x00\x12#\n\x1f\x42\x41\x43KGROUND_JOB_TYPE_SOURCE_SEED\x10\x01\x12\x1f\n\x1b\x42\x41\x43KGROUND_JOB_TYPE_CONVERT\x10\x02\x12)\n%BACKGROUND_JOB_TYPE_APPLY_DESTINATION\x10\x03\x12)\n%BACKGROUND_JOB_TYPE_IMPORT_RULES_FILE\x10\x05*\xad\x01\n\x15ImportRulesFileFormat\x12(\n$IMPORT_RULES_FILE_FORMAT_UNSPECIFIED\x10\x00\x12\x38\n4IMPORT_RULES_FILE_FORMAT_HARBOUR_BRIDGE_SESSION_FILE\x10\x01\x12\x30\n,IMPORT_RULES_FILE_FORMAT_ORATOPG_CONFIG_FILE\x10\x02*\xed\x01\n\x0fValueComparison\x12 \n\x1cVALUE_COMPARISON_UNSPECIFIED\x10\x00\x12*\n&VALUE_COMPARISON_IF_VALUE_SMALLER_THAN\x10\x01\x12\x30\n,VALUE_COMPARISON_IF_VALUE_SMALLER_EQUAL_THAN\x10\x02\x12)\n%VALUE_COMPARISON_IF_VALUE_LARGER_THAN\x10\x03\x12/\n+VALUE_COMPARISON_IF_VALUE_LARGER_EQUAL_THAN\x10\x04*\xa1\x01\n\x13NumericFilterOption\x12%\n!NUMERIC_FILTER_OPTION_UNSPECIFIED\x10\x00\x12\x1d\n\x19NUMERIC_FILTER_OPTION_ALL\x10\x01\x12\x1f\n\x1bNUMERIC_FILTER_OPTION_LIMIT\x10\x02\x12#\n\x1fNUMERIC_FILTER_OPTION_LIMITLESS\x10\x03\x42\xd1\x01\n\x1c\x63om.google.cloud.clouddms.v1B!ConversionWorkspaceResourcesProtoP\x01Z8cloud.google.com/go/clouddms/apiv1/clouddmspb;clouddmspb\xaa\x02\x18Google.Cloud.CloudDms.V1\xca\x02\x18Google\\Cloud\\CloudDms\\V1\xea\x02\x1bGoogle::Cloud::CloudDMS::V1b\x06proto3"
|
16
|
+
|
17
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
18
|
+
|
19
|
+
begin
|
20
|
+
pool.add_serialized_file(descriptor_data)
|
21
|
+
rescue TypeError => e
|
22
|
+
# Compatibility code: will be removed in the next major version.
|
23
|
+
require 'google/protobuf/descriptor_pb'
|
24
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
25
|
+
parsed.clear_dependency
|
26
|
+
serialized = parsed.class.encode(parsed)
|
27
|
+
file = pool.add_serialized_file(serialized)
|
28
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
29
|
+
imports = [
|
30
|
+
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
31
|
+
["google.protobuf.Struct", "google/protobuf/struct.proto"],
|
32
|
+
["google.protobuf.Empty", "google/protobuf/empty.proto"],
|
33
|
+
]
|
34
|
+
imports.each do |type_name, expected_filename|
|
35
|
+
import_file = pool.lookup(type_name).file_descriptor
|
36
|
+
if import_file.name != expected_filename
|
37
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
214
38
|
end
|
215
39
|
end
|
40
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
41
|
+
warn "This will become an error in the next major version."
|
216
42
|
end
|
217
43
|
|
218
44
|
module Google
|
@@ -227,8 +53,32 @@ module Google
|
|
227
53
|
BackgroundJobLogEntry::ConvertJobDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.BackgroundJobLogEntry.ConvertJobDetails").msgclass
|
228
54
|
BackgroundJobLogEntry::ApplyJobDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.BackgroundJobLogEntry.ApplyJobDetails").msgclass
|
229
55
|
BackgroundJobLogEntry::JobCompletionState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.BackgroundJobLogEntry.JobCompletionState").enummodule
|
56
|
+
MappingRuleFilter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.MappingRuleFilter").msgclass
|
57
|
+
MappingRule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.MappingRule").msgclass
|
58
|
+
MappingRule::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.MappingRule.State").enummodule
|
59
|
+
SingleEntityRename = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.SingleEntityRename").msgclass
|
60
|
+
MultiEntityRename = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.MultiEntityRename").msgclass
|
61
|
+
EntityMove = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.EntityMove").msgclass
|
62
|
+
SingleColumnChange = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.SingleColumnChange").msgclass
|
63
|
+
MultiColumnDatatypeChange = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.MultiColumnDatatypeChange").msgclass
|
64
|
+
SourceTextFilter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.SourceTextFilter").msgclass
|
65
|
+
SourceNumericFilter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.SourceNumericFilter").msgclass
|
66
|
+
ConditionalColumnSetValue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.ConditionalColumnSetValue").msgclass
|
67
|
+
ValueTransformation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.ValueTransformation").msgclass
|
68
|
+
ConvertRowIdToColumn = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.ConvertRowIdToColumn").msgclass
|
69
|
+
SetTablePrimaryKey = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.SetTablePrimaryKey").msgclass
|
70
|
+
SinglePackageChange = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.SinglePackageChange").msgclass
|
71
|
+
SourceSqlChange = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.SourceSqlChange").msgclass
|
72
|
+
FilterTableColumns = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.FilterTableColumns").msgclass
|
73
|
+
ValueListFilter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.ValueListFilter").msgclass
|
74
|
+
IntComparisonFilter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.IntComparisonFilter").msgclass
|
75
|
+
DoubleComparisonFilter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.DoubleComparisonFilter").msgclass
|
76
|
+
AssignSpecificValue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.AssignSpecificValue").msgclass
|
77
|
+
ApplyHash = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.ApplyHash").msgclass
|
78
|
+
RoundToScale = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.RoundToScale").msgclass
|
230
79
|
DatabaseEntity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.DatabaseEntity").msgclass
|
231
80
|
DatabaseEntity::TreeType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.DatabaseEntity.TreeType").enummodule
|
81
|
+
DatabaseInstanceEntity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.DatabaseInstanceEntity").msgclass
|
232
82
|
SchemaEntity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.SchemaEntity").msgclass
|
233
83
|
TableEntity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.TableEntity").msgclass
|
234
84
|
ColumnEntity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.ColumnEntity").msgclass
|
@@ -239,13 +89,24 @@ module Google
|
|
239
89
|
SequenceEntity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.SequenceEntity").msgclass
|
240
90
|
StoredProcedureEntity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.StoredProcedureEntity").msgclass
|
241
91
|
FunctionEntity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.FunctionEntity").msgclass
|
92
|
+
MaterializedViewEntity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.MaterializedViewEntity").msgclass
|
242
93
|
SynonymEntity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.SynonymEntity").msgclass
|
243
94
|
PackageEntity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.PackageEntity").msgclass
|
95
|
+
UDTEntity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.UDTEntity").msgclass
|
244
96
|
EntityMapping = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.EntityMapping").msgclass
|
245
97
|
EntityMappingLogEntry = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.EntityMappingLogEntry").msgclass
|
98
|
+
EntityDdl = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.EntityDdl").msgclass
|
99
|
+
EntityIssue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.EntityIssue").msgclass
|
100
|
+
EntityIssue::Position = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.EntityIssue.Position").msgclass
|
101
|
+
EntityIssue::IssueType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.EntityIssue.IssueType").enummodule
|
102
|
+
EntityIssue::IssueSeverity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.EntityIssue.IssueSeverity").enummodule
|
103
|
+
ValuePresentInList = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.ValuePresentInList").enummodule
|
246
104
|
DatabaseEntityType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.DatabaseEntityType").enummodule
|
105
|
+
EntityNameTransformation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.EntityNameTransformation").enummodule
|
247
106
|
BackgroundJobType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.BackgroundJobType").enummodule
|
248
107
|
ImportRulesFileFormat = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.ImportRulesFileFormat").enummodule
|
108
|
+
ValueComparison = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.ValueComparison").enummodule
|
109
|
+
NumericFilterOption = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.clouddms.v1.NumericFilterOption").enummodule
|
249
110
|
end
|
250
111
|
end
|
251
112
|
end
|
@@ -66,6 +66,20 @@ module Google
|
|
66
66
|
# a non-empty value will be returned. The user will not be aware of what
|
67
67
|
# non-empty value to expect.
|
68
68
|
NON_EMPTY_DEFAULT = 7
|
69
|
+
|
70
|
+
# Denotes that the field in a resource (a message annotated with
|
71
|
+
# google.api.resource) is used in the resource name to uniquely identify the
|
72
|
+
# resource. For AIP-compliant APIs, this should only be applied to the
|
73
|
+
# `name` field on the resource.
|
74
|
+
#
|
75
|
+
# This behavior should not be applied to references to other resources within
|
76
|
+
# the message.
|
77
|
+
#
|
78
|
+
# The identifier field of resources often have different field behavior
|
79
|
+
# depending on the request it is embedded in (e.g. for Create methods name
|
80
|
+
# is optional and unused, while for Update methods it is required). Instead
|
81
|
+
# of method-specific annotations, only `IDENTIFIER` is required.
|
82
|
+
IDENTIFIER = 8
|
69
83
|
end
|
70
84
|
end
|
71
85
|
end
|