google-cloud-oracle_database-v1 0.a → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +12 -0
  3. data/AUTHENTICATION.md +122 -0
  4. data/README.md +154 -8
  5. data/lib/google/cloud/oracle_database/v1/bindings_override.rb +102 -0
  6. data/lib/google/cloud/oracle_database/v1/oracle_database/credentials.rb +47 -0
  7. data/lib/google/cloud/oracle_database/v1/oracle_database/paths.rb +124 -0
  8. data/lib/google/cloud/oracle_database/v1/oracle_database/rest/client.rb +2647 -0
  9. data/lib/google/cloud/oracle_database/v1/oracle_database/rest/operations.rb +907 -0
  10. data/lib/google/cloud/oracle_database/v1/oracle_database/rest/service_stub.rb +1428 -0
  11. data/lib/google/cloud/oracle_database/v1/oracle_database/rest.rb +54 -0
  12. data/lib/google/cloud/oracle_database/v1/oracle_database.rb +48 -0
  13. data/lib/google/cloud/oracle_database/v1/rest.rb +38 -0
  14. data/lib/google/cloud/oracle_database/v1/version.rb +7 -2
  15. data/lib/google/cloud/oracle_database/v1.rb +40 -0
  16. data/lib/google/cloud/oracledatabase/v1/autonomous_database_character_set_pb.rb +46 -0
  17. data/lib/google/cloud/oracledatabase/v1/autonomous_database_pb.rb +83 -0
  18. data/lib/google/cloud/oracledatabase/v1/autonomous_db_backup_pb.rb +50 -0
  19. data/lib/google/cloud/oracledatabase/v1/autonomous_db_version_pb.rb +46 -0
  20. data/lib/google/cloud/oracledatabase/v1/common_pb.rb +44 -0
  21. data/lib/google/cloud/oracledatabase/v1/db_node_pb.rb +47 -0
  22. data/lib/google/cloud/oracledatabase/v1/db_server_pb.rb +47 -0
  23. data/lib/google/cloud/oracledatabase/v1/db_system_shape_pb.rb +45 -0
  24. data/lib/google/cloud/oracledatabase/v1/entitlement_pb.rb +47 -0
  25. data/lib/google/cloud/oracledatabase/v1/exadata_infra_pb.rb +56 -0
  26. data/lib/google/cloud/oracledatabase/v1/gi_version_pb.rb +45 -0
  27. data/lib/google/cloud/oracledatabase/v1/location_metadata_pb.rb +44 -0
  28. data/lib/google/cloud/oracledatabase/v1/oracledatabase_pb.rb +108 -0
  29. data/lib/google/cloud/oracledatabase/v1/oracledatabase_services_pb.rb +89 -0
  30. data/lib/google/cloud/oracledatabase/v1/vm_cluster_pb.rb +54 -0
  31. data/lib/google-cloud-oracle_database-v1.rb +21 -0
  32. data/proto_docs/README.md +4 -0
  33. data/proto_docs/google/api/client.rb +459 -0
  34. data/proto_docs/google/api/field_behavior.rb +85 -0
  35. data/proto_docs/google/api/field_info.rb +88 -0
  36. data/proto_docs/google/api/launch_stage.rb +71 -0
  37. data/proto_docs/google/api/resource.rb +227 -0
  38. data/proto_docs/google/cloud/oracledatabase/v1/autonomous_database.rb +844 -0
  39. data/proto_docs/google/cloud/oracledatabase/v1/autonomous_database_character_set.rb +57 -0
  40. data/proto_docs/google/cloud/oracledatabase/v1/autonomous_db_backup.rb +175 -0
  41. data/proto_docs/google/cloud/oracledatabase/v1/autonomous_db_version.rb +48 -0
  42. data/proto_docs/google/cloud/oracledatabase/v1/common.rb +37 -0
  43. data/proto_docs/google/cloud/oracledatabase/v1/db_node.rb +103 -0
  44. data/proto_docs/google/cloud/oracledatabase/v1/db_server.rb +100 -0
  45. data/proto_docs/google/cloud/oracledatabase/v1/db_system_shape.rb +70 -0
  46. data/proto_docs/google/cloud/oracledatabase/v1/entitlement.rb +78 -0
  47. data/proto_docs/google/cloud/oracledatabase/v1/exadata_infra.rb +266 -0
  48. data/proto_docs/google/cloud/oracledatabase/v1/gi_version.rb +41 -0
  49. data/proto_docs/google/cloud/oracledatabase/v1/location_metadata.rb +35 -0
  50. data/proto_docs/google/cloud/oracledatabase/v1/oracledatabase.rb +649 -0
  51. data/proto_docs/google/cloud/oracledatabase/v1/vm_cluster.rb +251 -0
  52. data/proto_docs/google/longrunning/operations.rb +169 -0
  53. data/proto_docs/google/protobuf/any.rb +145 -0
  54. data/proto_docs/google/protobuf/duration.rb +98 -0
  55. data/proto_docs/google/protobuf/empty.rb +34 -0
  56. data/proto_docs/google/protobuf/timestamp.rb +127 -0
  57. data/proto_docs/google/rpc/status.rb +48 -0
  58. data/proto_docs/google/type/datetime.rb +99 -0
  59. data/proto_docs/google/type/dayofweek.rb +49 -0
  60. data/proto_docs/google/type/month.rb +64 -0
  61. data/proto_docs/google/type/timeofday.rb +45 -0
  62. metadata +124 -11
@@ -0,0 +1,54 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2024 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+ require "gapic/rest"
20
+ require "gapic/config"
21
+ require "gapic/config/method"
22
+
23
+ require "google/cloud/oracle_database/v1/version"
24
+ require "google/cloud/oracle_database/v1/bindings_override"
25
+
26
+ require "google/cloud/oracle_database/v1/oracle_database/credentials"
27
+ require "google/cloud/oracle_database/v1/oracle_database/paths"
28
+ require "google/cloud/oracle_database/v1/oracle_database/rest/operations"
29
+ require "google/cloud/oracle_database/v1/oracle_database/rest/client"
30
+
31
+ module Google
32
+ module Cloud
33
+ module OracleDatabase
34
+ module V1
35
+ ##
36
+ # Service describing handlers for resources
37
+ #
38
+ # To load this service and instantiate a REST client:
39
+ #
40
+ # require "google/cloud/oracle_database/v1/oracle_database/rest"
41
+ # client = ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::Client.new
42
+ #
43
+ module OracleDatabase
44
+ # Client for the REST transport
45
+ module Rest
46
+ end
47
+ end
48
+ end
49
+ end
50
+ end
51
+ end
52
+
53
+ helper_path = ::File.join __dir__, "rest", "helpers.rb"
54
+ require "google/cloud/oracle_database/v1/oracle_database/rest/helpers" if ::File.file? helper_path
@@ -0,0 +1,48 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2024 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+ require "gapic/config"
20
+ require "gapic/config/method"
21
+
22
+ require "google/cloud/oracle_database/v1/version"
23
+
24
+ require "google/cloud/oracle_database/v1/oracle_database/credentials"
25
+ require "google/cloud/oracle_database/v1/oracle_database/paths"
26
+ require "google/cloud/oracle_database/v1/oracle_database/rest"
27
+
28
+ module Google
29
+ module Cloud
30
+ module OracleDatabase
31
+ module V1
32
+ ##
33
+ # Service describing handlers for resources
34
+ #
35
+ # @example Load this service and instantiate a REST client
36
+ #
37
+ # require "google/cloud/oracle_database/v1/oracle_database/rest"
38
+ # client = ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::Client.new
39
+ #
40
+ module OracleDatabase
41
+ end
42
+ end
43
+ end
44
+ end
45
+ end
46
+
47
+ helper_path = ::File.join __dir__, "oracle_database", "helpers.rb"
48
+ require "google/cloud/oracle_database/v1/oracle_database/helpers" if ::File.file? helper_path
@@ -0,0 +1,38 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2024 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+ require "google/cloud/oracle_database/v1/oracle_database/rest"
20
+ require "google/cloud/oracle_database/v1/bindings_override"
21
+ require "google/cloud/oracle_database/v1/version"
22
+
23
+ module Google
24
+ module Cloud
25
+ module OracleDatabase
26
+ ##
27
+ # To load just the REST part of this package, including all its services, and instantiate a REST client:
28
+ #
29
+ # @example
30
+ #
31
+ # require "google/cloud/oracle_database/v1/rest"
32
+ # client = ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::Client.new
33
+ #
34
+ module V1
35
+ end
36
+ end
37
+ end
38
+ end
@@ -1,10 +1,12 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # Copyright 2024 Google LLC
2
4
  #
3
5
  # Licensed under the Apache License, Version 2.0 (the "License");
4
6
  # you may not use this file except in compliance with the License.
5
7
  # You may obtain a copy of the License at
6
8
  #
7
- # http://www.apache.org/licenses/LICENSE-2.0
9
+ # https://www.apache.org/licenses/LICENSE-2.0
8
10
  #
9
11
  # Unless required by applicable law or agreed to in writing, software
10
12
  # distributed under the License is distributed on an "AS IS" BASIS,
@@ -12,11 +14,14 @@
12
14
  # See the License for the specific language governing permissions and
13
15
  # limitations under the License.
14
16
 
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
15
20
  module Google
16
21
  module Cloud
17
22
  module OracleDatabase
18
23
  module V1
19
- VERSION = "0.a"
24
+ VERSION = "0.2.0"
20
25
  end
21
26
  end
22
27
  end
@@ -0,0 +1,40 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2024 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+ require "google/cloud/oracle_database/v1/oracle_database"
20
+ require "google/cloud/oracle_database/v1/version"
21
+
22
+ module Google
23
+ module Cloud
24
+ module OracleDatabase
25
+ ##
26
+ # API client module.
27
+ #
28
+ # @example Load this package, including all its services, and instantiate a REST client
29
+ #
30
+ # require "google/cloud/oracle_database/v1"
31
+ # client = ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Rest::Client.new
32
+ #
33
+ module V1
34
+ end
35
+ end
36
+ end
37
+ end
38
+
39
+ helper_path = ::File.join __dir__, "v1", "_helpers.rb"
40
+ require "google/cloud/oracle_database/v1/_helpers" if ::File.file? helper_path
@@ -0,0 +1,46 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/cloud/oracledatabase/v1/autonomous_database_character_set.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/field_behavior_pb'
8
+ require 'google/api/resource_pb'
9
+
10
+
11
+ descriptor_data = "\nFgoogle/cloud/oracledatabase/v1/autonomous_database_character_set.proto\x12\x1egoogle.cloud.oracledatabase.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\x88\x04\n\x1e\x41utonomousDatabaseCharacterSet\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12p\n\x12\x63haracter_set_type\x18\x02 \x01(\x0e\x32O.google.cloud.oracledatabase.v1.AutonomousDatabaseCharacterSet.CharacterSetTypeB\x03\xe0\x41\x03\x12\x1a\n\rcharacter_set\x18\x03 \x01(\tB\x03\xe0\x41\x03\"R\n\x10\x43haracterSetType\x12\"\n\x1e\x43HARACTER_SET_TYPE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x44\x41TABASE\x10\x01\x12\x0c\n\x08NATIONAL\x10\x02:\xf0\x01\xea\x41\xec\x01\n<oracledatabase.googleapis.com/AutonomousDatabaseCharacterSet\x12kprojects/{project}/locations/{location}/autonomousDatabaseCharacterSets/{autonomous_database_character_set}*\x1f\x61utonomousDatabaseCharacterSets2\x1e\x61utonomousDatabaseCharacterSetB\xfd\x01\n\"com.google.cloud.oracledatabase.v1B#AutonomousDatabaseCharacterSetProtoP\x01ZJcloud.google.com/go/oracledatabase/apiv1/oracledatabasepb;oracledatabasepb\xaa\x02\x1eGoogle.Cloud.OracleDatabase.V1\xca\x02\x1eGoogle\\Cloud\\OracleDatabase\\V1\xea\x02!Google::Cloud::OracleDatabase::V1b\x06proto3"
12
+
13
+ pool = Google::Protobuf::DescriptorPool.generated_pool
14
+
15
+ begin
16
+ pool.add_serialized_file(descriptor_data)
17
+ rescue TypeError
18
+ # Compatibility code: will be removed in the next major version.
19
+ require 'google/protobuf/descriptor_pb'
20
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
21
+ parsed.clear_dependency
22
+ serialized = parsed.class.encode(parsed)
23
+ file = pool.add_serialized_file(serialized)
24
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
25
+ imports = [
26
+ ]
27
+ imports.each do |type_name, expected_filename|
28
+ import_file = pool.lookup(type_name).file_descriptor
29
+ if import_file.name != expected_filename
30
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
31
+ end
32
+ end
33
+ warn "Each proto file must use a consistent fully-qualified name."
34
+ warn "This will become an error in the next major version."
35
+ end
36
+
37
+ module Google
38
+ module Cloud
39
+ module OracleDatabase
40
+ module V1
41
+ AutonomousDatabaseCharacterSet = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.AutonomousDatabaseCharacterSet").msgclass
42
+ AutonomousDatabaseCharacterSet::CharacterSetType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.AutonomousDatabaseCharacterSet.CharacterSetType").enummodule
43
+ end
44
+ end
45
+ end
46
+ end
@@ -0,0 +1,83 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/cloud/oracledatabase/v1/autonomous_database.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/field_behavior_pb'
8
+ require 'google/api/resource_pb'
9
+ require 'google/cloud/oracledatabase/v1/common_pb'
10
+ require 'google/protobuf/duration_pb'
11
+ require 'google/protobuf/timestamp_pb'
12
+ require 'google/type/dayofweek_pb'
13
+ require 'google/type/timeofday_pb'
14
+
15
+
16
+ descriptor_data = "\n8google/cloud/oracledatabase/v1/autonomous_database.proto\x12\x1egoogle.cloud.oracledatabase.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a+google/cloud/oracledatabase/v1/common.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1bgoogle/type/dayofweek.proto\x1a\x1bgoogle/type/timeofday.proto\"\xa5\x05\n\x12\x41utonomousDatabase\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x15\n\x08\x64\x61tabase\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x19\n\x0c\x64isplay_name\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1b\n\x0e\x65ntitlement_id\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0e\x61\x64min_password\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12U\n\nproperties\x18\x07 \x01(\x0b\x32<.google.cloud.oracledatabase.v1.AutonomousDatabasePropertiesB\x03\xe0\x41\x01\x12S\n\x06labels\x18\x08 \x03(\x0b\x32>.google.cloud.oracledatabase.v1.AutonomousDatabase.LabelsEntryB\x03\xe0\x41\x01\x12\x37\n\x07network\x18\t \x01(\tB&\xe0\x41\x02\xfa\x41 \n\x1e\x63ompute.googleapis.com/Network\x12\x11\n\x04\x63idr\x18\n \x01(\tB\x03\xe0\x41\x02\x12\x34\n\x0b\x63reate_time\x18\r \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\xb2\x01\xea\x41\xae\x01\n0oracledatabase.googleapis.com/AutonomousDatabase\x12Qprojects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}*\x13\x61utonomousDatabases2\x12\x61utonomousDatabase\"\xb7$\n\x1c\x41utonomousDatabaseProperties\x12\x11\n\x04ocid\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x1a\n\rcompute_count\x18\x02 \x01(\x02\x42\x03\xe0\x41\x01\x12\x1b\n\x0e\x63pu_core_count\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12!\n\x14\x64\x61ta_storage_size_tb\x18\x04 \x01(\x05\x42\x03\xe0\x41\x01\x12!\n\x14\x64\x61ta_storage_size_gb\x18? \x01(\x05\x42\x03\xe0\x41\x01\x12\x44\n\x0b\x64\x62_workload\x18\x05 \x01(\x0e\x32*.google.cloud.oracledatabase.v1.DBWorkloadB\x03\xe0\x41\x02\x12\x65\n\ndb_edition\x18\x06 \x01(\x0e\x32L.google.cloud.oracledatabase.v1.AutonomousDatabaseProperties.DatabaseEditionB\x03\xe0\x41\x01\x12\x1a\n\rcharacter_set\x18\x08 \x01(\tB\x03\xe0\x41\x01\x12\x1c\n\x0fn_character_set\x18\t \x01(\tB\x03\xe0\x41\x01\x12 \n\x13private_endpoint_ip\x18\n \x01(\tB\x03\xe0\x41\x01\x12#\n\x16private_endpoint_label\x18\x0b \x01(\tB\x03\xe0\x41\x01\x12\x17\n\ndb_version\x18\x0c \x01(\tB\x03\xe0\x41\x01\x12$\n\x17is_auto_scaling_enabled\x18\x0e \x01(\x08\x42\x03\xe0\x41\x01\x12,\n\x1fis_storage_auto_scaling_enabled\x18\x0f \x01(\x08\x42\x03\xe0\x41\x01\x12\x63\n\x0clicense_type\x18\x10 \x01(\x0e\x32H.google.cloud.oracledatabase.v1.AutonomousDatabaseProperties.LicenseTypeB\x03\xe0\x41\x02\x12O\n\x11\x63ustomer_contacts\x18\x11 \x03(\x0b\x32/.google.cloud.oracledatabase.v1.CustomerContactB\x03\xe0\x41\x01\x12\x16\n\tsecret_id\x18\x12 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08vault_id\x18\x13 \x01(\tB\x03\xe0\x41\x01\x12|\n\x19maintenance_schedule_type\x18\x14 \x01(\x0e\x32T.google.cloud.oracledatabase.v1.AutonomousDatabaseProperties.MaintenanceScheduleTypeB\x03\xe0\x41\x01\x12%\n\x18mtls_connection_required\x18\" \x01(\x08\x42\x03\xe0\x41\x01\x12)\n\x1c\x62\x61\x63kup_retention_period_days\x18\x39 \x01(\x05\x42\x03\xe0\x41\x01\x12-\n actual_used_data_storage_size_tb\x18\x15 \x01(\x01\x42\x03\xe0\x41\x03\x12&\n\x19\x61llocated_storage_size_tb\x18\x16 \x01(\x01\x42\x03\xe0\x41\x03\x12Q\n\x0c\x61pex_details\x18\x17 \x01(\x0b\x32\x36.google.cloud.oracledatabase.v1.AutonomousDatabaseApexB\x03\xe0\x41\x03\x12\x32\n are_primary_allowlisted_ips_used\x18\x18 \x01(\x08\x42\x03\xe0\x41\x03H\x00\x88\x01\x01\x12\x1e\n\x11lifecycle_details\x18\x19 \x01(\tB\x03\xe0\x41\x03\x12\x39\n\x05state\x18\x1a \x01(\x0e\x32%.google.cloud.oracledatabase.v1.StateB\x03\xe0\x41\x03\x12-\n autonomous_container_database_id\x18\x1b \x01(\tB\x03\xe0\x41\x03\x12\'\n\x1a\x61vailable_upgrade_versions\x18\x1c \x03(\tB\x03\xe0\x41\x03\x12\x64\n\x12\x63onnection_strings\x18\x1d \x01(\x0b\x32\x43.google.cloud.oracledatabase.v1.AutonomousDatabaseConnectionStringsB\x03\xe0\x41\x03\x12^\n\x0f\x63onnection_urls\x18\x1e \x01(\x0b\x32@.google.cloud.oracledatabase.v1.AutonomousDatabaseConnectionUrlsB\x03\xe0\x41\x03\x12\x45\n\x1d\x66\x61iled_data_recovery_duration\x18\x1f \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x03\x12\x1d\n\x10memory_table_gbs\x18 \x01(\x05\x42\x03\xe0\x41\x03\x12(\n\x1bis_local_data_guard_enabled\x18! \x01(\x08\x42\x03\xe0\x41\x03\x12\x38\n+local_adg_auto_failover_max_data_loss_limit\x18# \x01(\x05\x42\x03\xe0\x41\x03\x12_\n\x10local_standby_db\x18$ \x01(\x0b\x32@.google.cloud.oracledatabase.v1.AutonomousDatabaseStandbySummaryB\x03\xe0\x41\x03\x12/\n\"memory_per_oracle_compute_unit_gbs\x18% \x01(\x05\x42\x03\xe0\x41\x03\x12\x81\x01\n\x1clocal_disaster_recovery_type\x18& \x01(\x0e\x32V.google.cloud.oracledatabase.v1.AutonomousDatabaseProperties.LocalDisasterRecoveryTypeB\x03\xe0\x41\x03\x12h\n\x0f\x64\x61ta_safe_state\x18\' \x01(\x0e\x32J.google.cloud.oracledatabase.v1.AutonomousDatabaseProperties.DataSafeStateB\x03\xe0\x41\x03\x12|\n\x19\x64\x61tabase_management_state\x18( \x01(\x0e\x32T.google.cloud.oracledatabase.v1.AutonomousDatabaseProperties.DatabaseManagementStateB\x03\xe0\x41\x03\x12]\n\topen_mode\x18) \x01(\x0e\x32\x45.google.cloud.oracledatabase.v1.AutonomousDatabaseProperties.OpenModeB\x03\xe0\x41\x03\x12_\n\x19operations_insights_state\x18* \x01(\x0e\x32\x37.google.cloud.oracledatabase.v1.OperationsInsightsStateB\x03\xe0\x41\x03\x12\x18\n\x0bpeer_db_ids\x18+ \x03(\tB\x03\xe0\x41\x03\x12k\n\x10permission_level\x18, \x01(\x0e\x32L.google.cloud.oracledatabase.v1.AutonomousDatabaseProperties.PermissionLevelB\x03\xe0\x41\x03\x12\x1d\n\x10private_endpoint\x18- \x01(\tB\x03\xe0\x41\x03\x12k\n\x10refreshable_mode\x18. \x01(\x0e\x32L.google.cloud.oracledatabase.v1.AutonomousDatabaseProperties.RefreshableModeB\x03\xe0\x41\x03\x12m\n\x11refreshable_state\x18/ \x01(\x0e\x32M.google.cloud.oracledatabase.v1.AutonomousDatabaseProperties.RefreshableStateB\x03\xe0\x41\x03\x12T\n\x04role\x18\x30 \x01(\x0e\x32\x41.google.cloud.oracledatabase.v1.AutonomousDatabaseProperties.RoleB\x03\xe0\x41\x03\x12\x63\n\x1bscheduled_operation_details\x18@ \x03(\x0b\x32\x39.google.cloud.oracledatabase.v1.ScheduledOperationDetailsB\x03\xe0\x41\x03\x12\"\n\x15sql_web_developer_url\x18\x32 \x01(\tB\x03\xe0\x41\x03\x12$\n\x17supported_clone_regions\x18\x33 \x03(\tB\x03\xe0\x41\x03\x12\'\n\x1aused_data_storage_size_tbs\x18\x35 \x01(\x05\x42\x03\xe0\x41\x03\x12\x14\n\x07oci_url\x18\x36 \x01(\tB\x03\xe0\x41\x03\x12/\n\"total_auto_backup_storage_size_gbs\x18; \x01(\x02\x42\x03\xe0\x41\x03\x12\x43\n\x1anext_long_term_backup_time\x18< \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12?\n\x16maintenance_begin_time\x18\x41 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12=\n\x14maintenance_end_time\x18\x42 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\"a\n\x0f\x44\x61tabaseEdition\x12 \n\x1c\x44\x41TABASE_EDITION_UNSPECIFIED\x10\x00\x12\x14\n\x10STANDARD_EDITION\x10\x01\x12\x16\n\x12\x45NTERPRISE_EDITION\x10\x02\"]\n\x0bLicenseType\x12\x1c\n\x18LICENSE_TYPE_UNSPECIFIED\x10\x00\x12\x14\n\x10LICENSE_INCLUDED\x10\x01\x12\x1a\n\x16\x42RING_YOUR_OWN_LICENSE\x10\x02\"\\\n\x17MaintenanceScheduleType\x12)\n%MAINTENANCE_SCHEDULE_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05\x45\x41RLY\x10\x01\x12\x0b\n\x07REGULAR\x10\x02\"d\n\x19LocalDisasterRecoveryType\x12,\n(LOCAL_DISASTER_RECOVERY_TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03\x41\x44G\x10\x01\x12\x10\n\x0c\x42\x41\x43KUP_BASED\x10\x02\"\x84\x01\n\rDataSafeState\x12\x1f\n\x1b\x44\x41TA_SAFE_STATE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bREGISTERING\x10\x01\x12\x0e\n\nREGISTERED\x10\x02\x12\x11\n\rDEREGISTERING\x10\x03\x12\x12\n\x0eNOT_REGISTERED\x10\x04\x12\n\n\x06\x46\x41ILED\x10\x05\"\xaa\x01\n\x17\x44\x61tabaseManagementState\x12)\n%DATABASE_MANAGEMENT_STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x45NABLING\x10\x01\x12\x0b\n\x07\x45NABLED\x10\x02\x12\r\n\tDISABLING\x10\x03\x12\x0f\n\x0bNOT_ENABLED\x10\x04\x12\x13\n\x0f\x46\x41ILED_ENABLING\x10\x05\x12\x14\n\x10\x46\x41ILED_DISABLING\x10\x06\"D\n\x08OpenMode\x12\x19\n\x15OPEN_MODE_UNSPECIFIED\x10\x00\x12\r\n\tREAD_ONLY\x10\x01\x12\x0e\n\nREAD_WRITE\x10\x02\"U\n\x0fPermissionLevel\x12 \n\x1cPERMISSION_LEVEL_UNSPECIFIED\x10\x00\x12\x0e\n\nRESTRICTED\x10\x01\x12\x10\n\x0cUNRESTRICTED\x10\x02\"N\n\x0fRefreshableMode\x12 \n\x1cREFRESHABLE_MODE_UNSPECIFIED\x10\x00\x12\r\n\tAUTOMATIC\x10\x01\x12\n\n\x06MANUAL\x10\x02\"Y\n\x10RefreshableState\x12!\n\x1dREFRESHABLE_STATE_UNSPECIFIED\x10\x00\x12\x0e\n\nREFRESHING\x10\x01\x12\x12\n\x0eNOT_REFRESHING\x10\x02\"s\n\x04Role\x12\x14\n\x10ROLE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PRIMARY\x10\x01\x12\x0b\n\x07STANDBY\x10\x02\x12\x14\n\x10\x44ISABLED_STANDBY\x10\x03\x12\x0f\n\x0b\x42\x41\x43KUP_COPY\x10\x04\x12\x14\n\x10SNAPSHOT_STANDBY\x10\x05\x42#\n!_are_primary_allowlisted_ips_used\"N\n\x16\x41utonomousDatabaseApex\x12\x19\n\x0c\x61pex_version\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0cords_version\x18\x02 \x01(\tB\x03\xe0\x41\x03\"\xaa\x02\n#AutonomousDatabaseConnectionStrings\x12Y\n\x16\x61ll_connection_strings\x18\x01 \x01(\x0b\x32\x34.google.cloud.oracledatabase.v1.AllConnectionStringsB\x03\xe0\x41\x03\x12\x16\n\tdedicated\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04high\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x10\n\x03low\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x13\n\x06medium\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12V\n\x08profiles\x18\x06 \x03(\x0b\x32?.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfileB\x03\xe0\x41\x03\"\xb2\t\n\x1f\x44\x61tabaseConnectionStringProfile\x12j\n\x0e\x63onsumer_group\x18\x01 \x01(\x0e\x32M.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.ConsumerGroupB\x03\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x64\n\x0bhost_format\x18\x03 \x01(\x0e\x32J.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.HostFormatB\x03\xe0\x41\x03\x12\x18\n\x0bis_regional\x18\x04 \x01(\x08\x42\x03\xe0\x41\x03\x12_\n\x08protocol\x18\x05 \x01(\x0e\x32H.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.ProtocolB\x03\xe0\x41\x03\x12\x66\n\x0csession_mode\x18\x06 \x01(\x0e\x32K.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.SessionModeB\x03\xe0\x41\x03\x12h\n\rsyntax_format\x18\x07 \x01(\x0e\x32L.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.SyntaxFormatB\x03\xe0\x41\x03\x12r\n\x12tls_authentication\x18\x08 \x01(\x0e\x32Q.google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.TLSAuthenticationB\x03\xe0\x41\x03\x12\x12\n\x05value\x18\t \x01(\tB\x03\xe0\x41\x03\"d\n\rConsumerGroup\x12\x1e\n\x1a\x43ONSUMER_GROUP_UNSPECIFIED\x10\x00\x12\x08\n\x04HIGH\x10\x01\x12\n\n\x06MEDIUM\x10\x02\x12\x07\n\x03LOW\x10\x03\x12\x06\n\x02TP\x10\x04\x12\x0c\n\x08TPURGENT\x10\x05\";\n\nHostFormat\x12\x1b\n\x17HOST_FORMAT_UNSPECIFIED\x10\x00\x12\x08\n\x04\x46QDN\x10\x01\x12\x06\n\x02IP\x10\x02\"7\n\x08Protocol\x12\x18\n\x14PROTOCOL_UNSPECIFIED\x10\x00\x12\x07\n\x03TCP\x10\x01\x12\x08\n\x04TCPS\x10\x02\"E\n\x0bSessionMode\x12\x1c\n\x18SESSION_MODE_UNSPECIFIED\x10\x00\x12\n\n\x06\x44IRECT\x10\x01\x12\x0c\n\x08INDIRECT\x10\x02\"Y\n\x0cSyntaxFormat\x12\x1d\n\x19SYNTAX_FORMAT_UNSPECIFIED\x10\x00\x12\x08\n\x04LONG\x10\x01\x12\r\n\tEZCONNECT\x10\x02\x12\x11\n\rEZCONNECTPLUS\x10\x03\"O\n\x11TLSAuthentication\x12\"\n\x1eTLS_AUTHENTICATION_UNSPECIFIED\x10\x00\x12\n\n\x06SERVER\x10\x01\x12\n\n\x06MUTUAL\x10\x02\"P\n\x14\x41llConnectionStrings\x12\x11\n\x04high\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x10\n\x03low\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x13\n\x06medium\x18\x03 \x01(\tB\x03\xe0\x41\x03\"\xad\x02\n AutonomousDatabaseConnectionUrls\x12\x15\n\x08\x61pex_uri\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12$\n\x17\x64\x61tabase_transforms_uri\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x1d\n\x10graph_studio_uri\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12*\n\x1dmachine_learning_notebook_uri\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x31\n$machine_learning_user_management_uri\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0cmongo_db_uri\x18\x06 \x01(\tB\x03\xe0\x41\x03\x12\x15\n\x08ords_uri\x18\x07 \x01(\tB\x03\xe0\x41\x03\x12\x1c\n\x0fsql_dev_web_uri\x18\x08 \x01(\tB\x03\xe0\x41\x03\"\xcd\x02\n AutonomousDatabaseStandbySummary\x12\x39\n\x11lag_time_duration\x18\x01 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x03\x12\x1e\n\x11lifecycle_details\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x39\n\x05state\x18\x03 \x01(\x0e\x32%.google.cloud.oracledatabase.v1.StateB\x03\xe0\x41\x03\x12\x45\n\x1c\x64\x61ta_guard_role_changed_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12L\n#disaster_recovery_role_changed_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\"\xae\x01\n\x19ScheduledOperationDetails\x12\x30\n\x0b\x64\x61y_of_week\x18\x01 \x01(\x0e\x32\x16.google.type.DayOfWeekB\x03\xe0\x41\x03\x12/\n\nstart_time\x18\x04 \x01(\x0b\x32\x16.google.type.TimeOfDayB\x03\xe0\x41\x03\x12.\n\tstop_time\x18\x05 \x01(\x0b\x32\x16.google.type.TimeOfDayB\x03\xe0\x41\x03*B\n\x0cGenerateType\x12\x1d\n\x19GENERATE_TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03\x41LL\x10\x01\x12\n\n\x06SINGLE\x10\x02*\xab\x03\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x10\n\x0cPROVISIONING\x10\x01\x12\r\n\tAVAILABLE\x10\x02\x12\x0c\n\x08STOPPING\x10\x03\x12\x0b\n\x07STOPPED\x10\x04\x12\x0c\n\x08STARTING\x10\x05\x12\x0f\n\x0bTERMINATING\x10\x06\x12\x0e\n\nTERMINATED\x10\x07\x12\x0f\n\x0bUNAVAILABLE\x10\x08\x12\x17\n\x13RESTORE_IN_PROGRESS\x10\t\x12\x12\n\x0eRESTORE_FAILED\x10\n\x12\x16\n\x12\x42\x41\x43KUP_IN_PROGRESS\x10\x0b\x12\x15\n\x11SCALE_IN_PROGRESS\x10\x0c\x12\x1d\n\x19\x41VAILABLE_NEEDS_ATTENTION\x10\r\x12\x0c\n\x08UPDATING\x10\x0e\x12\x1b\n\x17MAINTENANCE_IN_PROGRESS\x10\x0f\x12\x0e\n\nRESTARTING\x10\x10\x12\x0e\n\nRECREATING\x10\x11\x12\x1b\n\x17ROLE_CHANGE_IN_PROGRESS\x10\x12\x12\r\n\tUPGRADING\x10\x13\x12\x10\n\x0cINACCESSIBLE\x10\x14\x12\x0b\n\x07STANDBY\x10\x15*\xaa\x01\n\x17OperationsInsightsState\x12)\n%OPERATIONS_INSIGHTS_STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x45NABLING\x10\x01\x12\x0b\n\x07\x45NABLED\x10\x02\x12\r\n\tDISABLING\x10\x03\x12\x0f\n\x0bNOT_ENABLED\x10\x04\x12\x13\n\x0f\x46\x41ILED_ENABLING\x10\x05\x12\x14\n\x10\x46\x41ILED_DISABLING\x10\x06*N\n\nDBWorkload\x12\x1b\n\x17\x44\x42_WORKLOAD_UNSPECIFIED\x10\x00\x12\x08\n\x04OLTP\x10\x01\x12\x06\n\x02\x44W\x10\x02\x12\x07\n\x03\x41JD\x10\x03\x12\x08\n\x04\x41PEX\x10\x04\x42\xf1\x01\n\"com.google.cloud.oracledatabase.v1B\x17\x41utonomousDatabaseProtoP\x01ZJcloud.google.com/go/oracledatabase/apiv1/oracledatabasepb;oracledatabasepb\xaa\x02\x1eGoogle.Cloud.OracleDatabase.V1\xca\x02\x1eGoogle\\Cloud\\OracleDatabase\\V1\xea\x02!Google::Cloud::OracleDatabase::V1b\x06proto3"
17
+
18
+ pool = Google::Protobuf::DescriptorPool.generated_pool
19
+
20
+ begin
21
+ pool.add_serialized_file(descriptor_data)
22
+ rescue TypeError
23
+ # Compatibility code: will be removed in the next major version.
24
+ require 'google/protobuf/descriptor_pb'
25
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
26
+ parsed.clear_dependency
27
+ serialized = parsed.class.encode(parsed)
28
+ file = pool.add_serialized_file(serialized)
29
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
30
+ imports = [
31
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
32
+ ["google.cloud.oracledatabase.v1.CustomerContact", "google/cloud/oracledatabase/v1/common.proto"],
33
+ ["google.protobuf.Duration", "google/protobuf/duration.proto"],
34
+ ["google.type.TimeOfDay", "google/type/timeofday.proto"],
35
+ ]
36
+ imports.each do |type_name, expected_filename|
37
+ import_file = pool.lookup(type_name).file_descriptor
38
+ if import_file.name != expected_filename
39
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
40
+ end
41
+ end
42
+ warn "Each proto file must use a consistent fully-qualified name."
43
+ warn "This will become an error in the next major version."
44
+ end
45
+
46
+ module Google
47
+ module Cloud
48
+ module OracleDatabase
49
+ module V1
50
+ AutonomousDatabase = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.AutonomousDatabase").msgclass
51
+ AutonomousDatabaseProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.AutonomousDatabaseProperties").msgclass
52
+ AutonomousDatabaseProperties::DatabaseEdition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.AutonomousDatabaseProperties.DatabaseEdition").enummodule
53
+ AutonomousDatabaseProperties::LicenseType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.AutonomousDatabaseProperties.LicenseType").enummodule
54
+ AutonomousDatabaseProperties::MaintenanceScheduleType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.AutonomousDatabaseProperties.MaintenanceScheduleType").enummodule
55
+ AutonomousDatabaseProperties::LocalDisasterRecoveryType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.AutonomousDatabaseProperties.LocalDisasterRecoveryType").enummodule
56
+ AutonomousDatabaseProperties::DataSafeState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.AutonomousDatabaseProperties.DataSafeState").enummodule
57
+ AutonomousDatabaseProperties::DatabaseManagementState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.AutonomousDatabaseProperties.DatabaseManagementState").enummodule
58
+ AutonomousDatabaseProperties::OpenMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.AutonomousDatabaseProperties.OpenMode").enummodule
59
+ AutonomousDatabaseProperties::PermissionLevel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.AutonomousDatabaseProperties.PermissionLevel").enummodule
60
+ AutonomousDatabaseProperties::RefreshableMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.AutonomousDatabaseProperties.RefreshableMode").enummodule
61
+ AutonomousDatabaseProperties::RefreshableState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.AutonomousDatabaseProperties.RefreshableState").enummodule
62
+ AutonomousDatabaseProperties::Role = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.AutonomousDatabaseProperties.Role").enummodule
63
+ AutonomousDatabaseApex = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.AutonomousDatabaseApex").msgclass
64
+ AutonomousDatabaseConnectionStrings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.AutonomousDatabaseConnectionStrings").msgclass
65
+ DatabaseConnectionStringProfile = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile").msgclass
66
+ DatabaseConnectionStringProfile::ConsumerGroup = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.ConsumerGroup").enummodule
67
+ DatabaseConnectionStringProfile::HostFormat = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.HostFormat").enummodule
68
+ DatabaseConnectionStringProfile::Protocol = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.Protocol").enummodule
69
+ DatabaseConnectionStringProfile::SessionMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.SessionMode").enummodule
70
+ DatabaseConnectionStringProfile::SyntaxFormat = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.SyntaxFormat").enummodule
71
+ DatabaseConnectionStringProfile::TLSAuthentication = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.DatabaseConnectionStringProfile.TLSAuthentication").enummodule
72
+ AllConnectionStrings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.AllConnectionStrings").msgclass
73
+ AutonomousDatabaseConnectionUrls = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.AutonomousDatabaseConnectionUrls").msgclass
74
+ AutonomousDatabaseStandbySummary = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.AutonomousDatabaseStandbySummary").msgclass
75
+ ScheduledOperationDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.ScheduledOperationDetails").msgclass
76
+ GenerateType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.GenerateType").enummodule
77
+ State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.State").enummodule
78
+ OperationsInsightsState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.OperationsInsightsState").enummodule
79
+ DBWorkload = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.DBWorkload").enummodule
80
+ end
81
+ end
82
+ end
83
+ end
@@ -0,0 +1,50 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/cloud/oracledatabase/v1/autonomous_db_backup.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/field_behavior_pb'
8
+ require 'google/api/resource_pb'
9
+ require 'google/protobuf/timestamp_pb'
10
+
11
+
12
+ descriptor_data = "\n9google/cloud/oracledatabase/v1/autonomous_db_backup.proto\x12\x1egoogle.cloud.oracledatabase.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xda\x04\n\x18\x41utonomousDatabaseBackup\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12U\n\x13\x61utonomous_database\x18\x02 \x01(\tB8\xe0\x41\x02\xfa\x41\x32\n0oracledatabase.googleapis.com/AutonomousDatabase\x12\x19\n\x0c\x64isplay_name\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12[\n\nproperties\x18\x04 \x01(\x0b\x32\x42.google.cloud.oracledatabase.v1.AutonomousDatabaseBackupPropertiesB\x03\xe0\x41\x01\x12Y\n\x06labels\x18\x05 \x03(\x0b\x32\x44.google.cloud.oracledatabase.v1.AutonomousDatabaseBackup.LabelsEntryB\x03\xe0\x41\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\xd1\x01\xea\x41\xcd\x01\n6oracledatabase.googleapis.com/AutonomousDatabaseBackup\x12^projects/{project}/locations/{location}/autonomousDatabaseBackups/{autonomous_database_backup}*\x19\x61utonomousDatabaseBackups2\x18\x61utonomousDatabaseBackup\"\xf2\x07\n\"AutonomousDatabaseBackupProperties\x12\x11\n\x04ocid\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\"\n\x15retention_period_days\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x1b\n\x0e\x63ompartment_id\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x1d\n\x10\x64\x61tabase_size_tb\x18\x04 \x01(\x02\x42\x03\xe0\x41\x03\x12\x17\n\ndb_version\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12 \n\x13is_long_term_backup\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12 \n\x13is_automatic_backup\x18\x07 \x01(\x08\x42\x03\xe0\x41\x03\x12\x1a\n\ris_restorable\x18\x08 \x01(\x08\x42\x03\xe0\x41\x03\x12\x19\n\x0ckey_store_id\x18\t \x01(\tB\x03\xe0\x41\x01\x12\x1d\n\x10key_store_wallet\x18\n \x01(\tB\x03\xe0\x41\x01\x12\x17\n\nkms_key_id\x18\x0b \x01(\tB\x03\xe0\x41\x01\x12\x1f\n\x12kms_key_version_id\x18\x0c \x01(\tB\x03\xe0\x41\x01\x12\x1e\n\x11lifecycle_details\x18\r \x01(\tB\x03\xe0\x41\x03\x12\x66\n\x0flifecycle_state\x18\x0e \x01(\x0e\x32H.google.cloud.oracledatabase.v1.AutonomousDatabaseBackupProperties.StateB\x03\xe0\x41\x03\x12\x14\n\x07size_tb\x18\x0f \x01(\x02\x42\x03\xe0\x41\x03\x12<\n\x13\x61vailable_till_time\x18\x10 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x11 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x33\n\nstart_time\x18\x12 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12Z\n\x04type\x18\x13 \x01(\x0e\x32G.google.cloud.oracledatabase.v1.AutonomousDatabaseBackupProperties.TypeB\x03\xe0\x41\x03\x12\x15\n\x08vault_id\x18\x14 \x01(\tB\x03\xe0\x41\x01\"m\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03\x12\x0b\n\x07\x44\x45LETED\x10\x04\x12\n\n\x06\x46\x41ILED\x10\x06\x12\x0c\n\x08UPDATING\x10\x07\"F\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bINCREMENTAL\x10\x01\x12\x08\n\x04\x46ULL\x10\x02\x12\r\n\tLONG_TERM\x10\x03\x42\xf1\x01\n\"com.google.cloud.oracledatabase.v1B\x17\x41utonomousDbBackupProtoP\x01ZJcloud.google.com/go/oracledatabase/apiv1/oracledatabasepb;oracledatabasepb\xaa\x02\x1eGoogle.Cloud.OracleDatabase.V1\xca\x02\x1eGoogle\\Cloud\\OracleDatabase\\V1\xea\x02!Google::Cloud::OracleDatabase::V1b\x06proto3"
13
+
14
+ pool = Google::Protobuf::DescriptorPool.generated_pool
15
+
16
+ begin
17
+ pool.add_serialized_file(descriptor_data)
18
+ rescue TypeError
19
+ # Compatibility code: will be removed in the next major version.
20
+ require 'google/protobuf/descriptor_pb'
21
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
22
+ parsed.clear_dependency
23
+ serialized = parsed.class.encode(parsed)
24
+ file = pool.add_serialized_file(serialized)
25
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
26
+ imports = [
27
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
28
+ ]
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}"
33
+ end
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."
37
+ end
38
+
39
+ module Google
40
+ module Cloud
41
+ module OracleDatabase
42
+ module V1
43
+ AutonomousDatabaseBackup = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.AutonomousDatabaseBackup").msgclass
44
+ AutonomousDatabaseBackupProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.AutonomousDatabaseBackupProperties").msgclass
45
+ AutonomousDatabaseBackupProperties::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.AutonomousDatabaseBackupProperties.State").enummodule
46
+ AutonomousDatabaseBackupProperties::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.AutonomousDatabaseBackupProperties.Type").enummodule
47
+ end
48
+ end
49
+ end
50
+ end
@@ -0,0 +1,46 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/cloud/oracledatabase/v1/autonomous_db_version.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/field_behavior_pb'
8
+ require 'google/api/resource_pb'
9
+ require 'google/cloud/oracledatabase/v1/autonomous_database_pb'
10
+
11
+
12
+ descriptor_data = "\n:google/cloud/oracledatabase/v1/autonomous_db_version.proto\x12\x1egoogle.cloud.oracledatabase.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x38google/cloud/oracledatabase/v1/autonomous_database.proto\"\xda\x02\n\x13\x41utonomousDbVersion\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x14\n\x07version\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x44\n\x0b\x64\x62_workload\x18\x04 \x01(\x0e\x32*.google.cloud.oracledatabase.v1.DBWorkloadB\x03\xe0\x41\x03\x12\x19\n\x0cworkload_uri\x18\x05 \x01(\tB\x03\xe0\x41\x03:\xb8\x01\xea\x41\xb4\x01\n1oracledatabase.googleapis.com/AutonomousDbVersion\x12Tprojects/{project}/locations/{location}/autonomousDbVersions/{autonomous_db_version}*\x14\x61utonomousDbVersions2\x13\x61utonomousDbVersionB\xf2\x01\n\"com.google.cloud.oracledatabase.v1B\x18\x41utonomousDbVersionProtoP\x01ZJcloud.google.com/go/oracledatabase/apiv1/oracledatabasepb;oracledatabasepb\xaa\x02\x1eGoogle.Cloud.OracleDatabase.V1\xca\x02\x1eGoogle\\Cloud\\OracleDatabase\\V1\xea\x02!Google::Cloud::OracleDatabase::V1b\x06proto3"
13
+
14
+ pool = Google::Protobuf::DescriptorPool.generated_pool
15
+
16
+ begin
17
+ pool.add_serialized_file(descriptor_data)
18
+ rescue TypeError
19
+ # Compatibility code: will be removed in the next major version.
20
+ require 'google/protobuf/descriptor_pb'
21
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
22
+ parsed.clear_dependency
23
+ serialized = parsed.class.encode(parsed)
24
+ file = pool.add_serialized_file(serialized)
25
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
26
+ imports = [
27
+ ]
28
+ imports.each do |type_name, expected_filename|
29
+ import_file = pool.lookup(type_name).file_descriptor
30
+ if import_file.name != expected_filename
31
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
32
+ end
33
+ end
34
+ warn "Each proto file must use a consistent fully-qualified name."
35
+ warn "This will become an error in the next major version."
36
+ end
37
+
38
+ module Google
39
+ module Cloud
40
+ module OracleDatabase
41
+ module V1
42
+ AutonomousDbVersion = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.AutonomousDbVersion").msgclass
43
+ end
44
+ end
45
+ end
46
+ end
@@ -0,0 +1,44 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/cloud/oracledatabase/v1/common.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/field_behavior_pb'
8
+
9
+
10
+ descriptor_data = "\n+google/cloud/oracledatabase/v1/common.proto\x12\x1egoogle.cloud.oracledatabase.v1\x1a\x1fgoogle/api/field_behavior.proto\"%\n\x0f\x43ustomerContact\x12\x12\n\x05\x65mail\x18\x01 \x01(\tB\x03\xe0\x41\x02\x42\xe5\x01\n\"com.google.cloud.oracledatabase.v1B\x0b\x43ommonProtoP\x01ZJcloud.google.com/go/oracledatabase/apiv1/oracledatabasepb;oracledatabasepb\xaa\x02\x1eGoogle.Cloud.OracleDatabase.V1\xca\x02\x1eGoogle\\Cloud\\OracleDatabase\\V1\xea\x02!Google::Cloud::OracleDatabase::V1b\x06proto3"
11
+
12
+ pool = Google::Protobuf::DescriptorPool.generated_pool
13
+
14
+ begin
15
+ pool.add_serialized_file(descriptor_data)
16
+ rescue TypeError
17
+ # Compatibility code: will be removed in the next major version.
18
+ require 'google/protobuf/descriptor_pb'
19
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
20
+ parsed.clear_dependency
21
+ serialized = parsed.class.encode(parsed)
22
+ file = pool.add_serialized_file(serialized)
23
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
24
+ imports = [
25
+ ]
26
+ imports.each do |type_name, expected_filename|
27
+ import_file = pool.lookup(type_name).file_descriptor
28
+ if import_file.name != expected_filename
29
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
30
+ end
31
+ end
32
+ warn "Each proto file must use a consistent fully-qualified name."
33
+ warn "This will become an error in the next major version."
34
+ end
35
+
36
+ module Google
37
+ module Cloud
38
+ module OracleDatabase
39
+ module V1
40
+ CustomerContact = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.CustomerContact").msgclass
41
+ end
42
+ end
43
+ end
44
+ end
@@ -0,0 +1,47 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/cloud/oracledatabase/v1/db_node.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/field_behavior_pb'
8
+ require 'google/api/resource_pb'
9
+
10
+
11
+ descriptor_data = "\n,google/cloud/oracledatabase/v1/db_node.proto\x12\x1egoogle.cloud.oracledatabase.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\x82\x02\n\x06\x44\x62Node\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12I\n\nproperties\x18\x03 \x01(\x0b\x32\x30.google.cloud.oracledatabase.v1.DbNodePropertiesB\x03\xe0\x41\x01:\x99\x01\xea\x41\x95\x01\n$oracledatabase.googleapis.com/DbNode\x12\\projects/{project}/locations/{location}/cloudVmClusters/{cloud_vm_cluster}/dbNodes/{db_node}*\x07\x64\x62Nodes2\x06\x64\x62Node\"\xc0\x03\n\x10\x44\x62NodeProperties\x12\x11\n\x04ocid\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x17\n\nocpu_count\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x16\n\x0ememory_size_gb\x18\x03 \x01(\x05\x12$\n\x17\x64\x62_node_storage_size_gb\x18\x04 \x01(\x05\x42\x03\xe0\x41\x01\x12\x1b\n\x0e\x64\x62_server_ocid\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08hostname\x18\x08 \x01(\tB\x03\xe0\x41\x01\x12J\n\x05state\x18\t \x01(\x0e\x32\x36.google.cloud.oracledatabase.v1.DbNodeProperties.StateB\x03\xe0\x41\x03\x12\x1c\n\x14total_cpu_core_count\x18\n \x01(\x05\"\xa3\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x10\n\x0cPROVISIONING\x10\x01\x12\r\n\tAVAILABLE\x10\x02\x12\x0c\n\x08UPDATING\x10\x03\x12\x0c\n\x08STOPPING\x10\x04\x12\x0b\n\x07STOPPED\x10\x05\x12\x0c\n\x08STARTING\x10\x06\x12\x0f\n\x0bTERMINATING\x10\x07\x12\x0e\n\nTERMINATED\x10\x08\x12\n\n\x06\x46\x41ILED\x10\tB\xe5\x01\n\"com.google.cloud.oracledatabase.v1B\x0b\x44\x62NodeProtoP\x01ZJcloud.google.com/go/oracledatabase/apiv1/oracledatabasepb;oracledatabasepb\xaa\x02\x1eGoogle.Cloud.OracleDatabase.V1\xca\x02\x1eGoogle\\Cloud\\OracleDatabase\\V1\xea\x02!Google::Cloud::OracleDatabase::V1b\x06proto3"
12
+
13
+ pool = Google::Protobuf::DescriptorPool.generated_pool
14
+
15
+ begin
16
+ pool.add_serialized_file(descriptor_data)
17
+ rescue TypeError
18
+ # Compatibility code: will be removed in the next major version.
19
+ require 'google/protobuf/descriptor_pb'
20
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
21
+ parsed.clear_dependency
22
+ serialized = parsed.class.encode(parsed)
23
+ file = pool.add_serialized_file(serialized)
24
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
25
+ imports = [
26
+ ]
27
+ imports.each do |type_name, expected_filename|
28
+ import_file = pool.lookup(type_name).file_descriptor
29
+ if import_file.name != expected_filename
30
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
31
+ end
32
+ end
33
+ warn "Each proto file must use a consistent fully-qualified name."
34
+ warn "This will become an error in the next major version."
35
+ end
36
+
37
+ module Google
38
+ module Cloud
39
+ module OracleDatabase
40
+ module V1
41
+ DbNode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.DbNode").msgclass
42
+ DbNodeProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.DbNodeProperties").msgclass
43
+ DbNodeProperties::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.DbNodeProperties.State").enummodule
44
+ end
45
+ end
46
+ end
47
+ end
@@ -0,0 +1,47 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/cloud/oracledatabase/v1/db_server.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/field_behavior_pb'
8
+ require 'google/api/resource_pb'
9
+
10
+
11
+ descriptor_data = "\n.google/cloud/oracledatabase/v1/db_server.proto\x12\x1egoogle.cloud.oracledatabase.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\xc3\x02\n\x08\x44\x62Server\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12K\n\nproperties\x18\x03 \x01(\x0b\x32\x32.google.cloud.oracledatabase.v1.DbServerPropertiesB\x03\xe0\x41\x01:\xbb\x01\xea\x41\xb7\x01\n&oracledatabase.googleapis.com/DbServer\x12xprojects/{project}/locations/{location}/cloudExadataInfrastructures/{cloud_exadata_infrastructure}/dbServers/{db_server}*\tdbServers2\x08\x64\x62Server\"\xd3\x03\n\x12\x44\x62ServerProperties\x12\x11\n\x04ocid\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x17\n\nocpu_count\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x1b\n\x0emax_ocpu_count\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12\x1b\n\x0ememory_size_gb\x18\x04 \x01(\x05\x42\x03\xe0\x41\x01\x12\x1f\n\x12max_memory_size_gb\x18\x05 \x01(\x05\x42\x03\xe0\x41\x01\x12$\n\x17\x64\x62_node_storage_size_gb\x18\x06 \x01(\x05\x42\x03\xe0\x41\x01\x12(\n\x1bmax_db_node_storage_size_gb\x18\x07 \x01(\x05\x42\x03\xe0\x41\x01\x12\x15\n\x08vm_count\x18\x08 \x01(\x05\x42\x03\xe0\x41\x01\x12L\n\x05state\x18\t \x01(\x0e\x32\x38.google.cloud.oracledatabase.v1.DbServerProperties.StateB\x03\xe0\x41\x03\x12\x18\n\x0b\x64\x62_node_ids\x18\n \x03(\tB\x03\xe0\x41\x03\"g\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\r\n\tAVAILABLE\x10\x02\x12\x0f\n\x0bUNAVAILABLE\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\x12\x0b\n\x07\x44\x45LETED\x10\x05\x42\xe7\x01\n\"com.google.cloud.oracledatabase.v1B\rDbServerProtoP\x01ZJcloud.google.com/go/oracledatabase/apiv1/oracledatabasepb;oracledatabasepb\xaa\x02\x1eGoogle.Cloud.OracleDatabase.V1\xca\x02\x1eGoogle\\Cloud\\OracleDatabase\\V1\xea\x02!Google::Cloud::OracleDatabase::V1b\x06proto3"
12
+
13
+ pool = Google::Protobuf::DescriptorPool.generated_pool
14
+
15
+ begin
16
+ pool.add_serialized_file(descriptor_data)
17
+ rescue TypeError
18
+ # Compatibility code: will be removed in the next major version.
19
+ require 'google/protobuf/descriptor_pb'
20
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
21
+ parsed.clear_dependency
22
+ serialized = parsed.class.encode(parsed)
23
+ file = pool.add_serialized_file(serialized)
24
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
25
+ imports = [
26
+ ]
27
+ imports.each do |type_name, expected_filename|
28
+ import_file = pool.lookup(type_name).file_descriptor
29
+ if import_file.name != expected_filename
30
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
31
+ end
32
+ end
33
+ warn "Each proto file must use a consistent fully-qualified name."
34
+ warn "This will become an error in the next major version."
35
+ end
36
+
37
+ module Google
38
+ module Cloud
39
+ module OracleDatabase
40
+ module V1
41
+ DbServer = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.DbServer").msgclass
42
+ DbServerProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.DbServerProperties").msgclass
43
+ DbServerProperties::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.oracledatabase.v1.DbServerProperties.State").enummodule
44
+ end
45
+ end
46
+ end
47
+ end