google-cloud-managed_kafka-schema_registry-v1 0.a → 0.1.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 (31) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +12 -0
  3. data/AUTHENTICATION.md +122 -0
  4. data/README.md +153 -8
  5. data/lib/google/cloud/managed_kafka/schema_registry/v1/bindings_override.rb +77 -0
  6. data/lib/google/cloud/managed_kafka/schema_registry/v1/managed_schema_registry/client.rb +3110 -0
  7. data/lib/google/cloud/managed_kafka/schema_registry/v1/managed_schema_registry/credentials.rb +49 -0
  8. data/lib/google/cloud/managed_kafka/schema_registry/v1/managed_schema_registry/paths.rb +424 -0
  9. data/lib/google/cloud/managed_kafka/schema_registry/v1/managed_schema_registry/rest/client.rb +2903 -0
  10. data/lib/google/cloud/managed_kafka/schema_registry/v1/managed_schema_registry/rest/service_stub.rb +1888 -0
  11. data/lib/google/cloud/managed_kafka/schema_registry/v1/managed_schema_registry/rest.rb +103 -0
  12. data/lib/google/cloud/managed_kafka/schema_registry/v1/managed_schema_registry.rb +105 -0
  13. data/lib/google/cloud/managed_kafka/schema_registry/v1/rest.rb +40 -0
  14. data/lib/google/cloud/managed_kafka/schema_registry/v1/version.rb +7 -2
  15. data/lib/google/cloud/managed_kafka/schema_registry/v1.rb +47 -0
  16. data/lib/google/cloud/managedkafka/schemaregistry/v1/schema_registry_pb.rb +80 -0
  17. data/lib/google/cloud/managedkafka/schemaregistry/v1/schema_registry_resources_pb.rb +57 -0
  18. data/lib/google/cloud/managedkafka/schemaregistry/v1/schema_registry_services_pb.rb +160 -0
  19. data/lib/google-cloud-managed_kafka-schema_registry-v1.rb +21 -0
  20. data/proto_docs/README.md +4 -0
  21. data/proto_docs/google/api/client.rb +473 -0
  22. data/proto_docs/google/api/field_behavior.rb +85 -0
  23. data/proto_docs/google/api/httpbody.rb +80 -0
  24. data/proto_docs/google/api/launch_stage.rb +71 -0
  25. data/proto_docs/google/api/resource.rb +227 -0
  26. data/proto_docs/google/cloud/managedkafka/schemaregistry/v1/schema_registry.rb +488 -0
  27. data/proto_docs/google/cloud/managedkafka/schemaregistry/v1/schema_registry_resources.rb +236 -0
  28. data/proto_docs/google/protobuf/any.rb +145 -0
  29. data/proto_docs/google/protobuf/duration.rb +98 -0
  30. data/proto_docs/google/protobuf/empty.rb +34 -0
  31. metadata +77 -9
@@ -0,0 +1,103 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2025 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/managed_kafka/schema_registry/v1/version"
24
+ require "google/cloud/managed_kafka/schema_registry/v1/bindings_override"
25
+
26
+ require "google/cloud/managed_kafka/schema_registry/v1/managed_schema_registry/credentials"
27
+ require "google/cloud/managed_kafka/schema_registry/v1/managed_schema_registry/paths"
28
+ require "google/cloud/managed_kafka/schema_registry/v1/managed_schema_registry/rest/client"
29
+
30
+ module Google
31
+ module Cloud
32
+ module ManagedKafka
33
+ module SchemaRegistry
34
+ module V1
35
+ ##
36
+ # SchemaRegistry is a service that allows users to manage schemas for their
37
+ # Kafka clusters. It provides APIs to register, list, and delete schemas, as
38
+ # well as to get the schema for a given schema id or a given version id under a
39
+ # subject, to update the global or subject-specific compatibility mode, and to
40
+ # check the compatibility of a schema against a subject or a version. The main
41
+ # resource hierarchy is as follows:
42
+ #
43
+ # * SchemaRegistry
44
+ # * SchemaRegistry/Context
45
+ # * SchemaRegistry/Context/Schema
46
+ # * SchemaRegistry/Context/Subject
47
+ # * SchemaRegistry/Context/Subject/Version
48
+ # * SchemaRegistry/Config
49
+ # * SchemaRegistry/Mode
50
+ #
51
+ # **SchemaRegistry** is the root resource to represent a schema registry
52
+ # instance. A customer can have multiple schema registry instances in a
53
+ # project.
54
+ #
55
+ # **Context** is a context resource that represents a group of
56
+ # schemas, subjects and versions. A schema registry instance can have multiple
57
+ # contexts and always has a 'default' context. Contexts are independent of each
58
+ # other. Context is optional and if not specified, it falls back to the
59
+ # 'default' context.
60
+ #
61
+ # **Schema** is a schema resource that represents a unique schema in a context
62
+ # of a schema registry instance. Each schema has a unique schema id, and can be
63
+ # referenced by a version of a subject.
64
+ #
65
+ # **Subject** refers to the name under which the schema is registered. A
66
+ # typical subject is the Kafka topic name. A schema registry instance can have
67
+ # multiple subjects.
68
+ #
69
+ # **Version** represents a version of a subject. A subject can have multiple
70
+ # versions. Creation of new version of a subject is guarded by the
71
+ # compatibility mode configured globally or for the subject specifically.
72
+ #
73
+ # **Config** represents a config at global level cross all registry
74
+ # instances or at subject level. Currently, only compatibility is supported in
75
+ # config.
76
+ #
77
+ # **Mode** represents the mode of a schema registry or a specific subject.
78
+ # Three modes are supported:
79
+ # * READONLY: The schema registry is in read-only mode, no write operations
80
+ # allowed..
81
+ # * READWRITE: The schema registry is in read-write mode, which allows limited
82
+ # write operations on the schema.
83
+ # * IMPORT: The schema registry is in import mode, which allows more editing
84
+ # operations on the schema for data importing purposes.
85
+ #
86
+ # To load this service and instantiate a REST client:
87
+ #
88
+ # require "google/cloud/managed_kafka/schema_registry/v1/managed_schema_registry/rest"
89
+ # client = ::Google::Cloud::ManagedKafka::SchemaRegistry::V1::ManagedSchemaRegistry::Rest::Client.new
90
+ #
91
+ module ManagedSchemaRegistry
92
+ # Client for the REST transport
93
+ module Rest
94
+ end
95
+ end
96
+ end
97
+ end
98
+ end
99
+ end
100
+ end
101
+
102
+ helper_path = ::File.join __dir__, "rest", "helpers.rb"
103
+ require "google/cloud/managed_kafka/schema_registry/v1/managed_schema_registry/rest/helpers" if ::File.file? helper_path
@@ -0,0 +1,105 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2025 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/common"
20
+ require "gapic/config"
21
+ require "gapic/config/method"
22
+
23
+ require "google/cloud/managed_kafka/schema_registry/v1/version"
24
+
25
+ require "google/cloud/managed_kafka/schema_registry/v1/managed_schema_registry/credentials"
26
+ require "google/cloud/managed_kafka/schema_registry/v1/managed_schema_registry/paths"
27
+ require "google/cloud/managed_kafka/schema_registry/v1/managed_schema_registry/client"
28
+ require "google/cloud/managed_kafka/schema_registry/v1/managed_schema_registry/rest"
29
+
30
+ module Google
31
+ module Cloud
32
+ module ManagedKafka
33
+ module SchemaRegistry
34
+ module V1
35
+ ##
36
+ # SchemaRegistry is a service that allows users to manage schemas for their
37
+ # Kafka clusters. It provides APIs to register, list, and delete schemas, as
38
+ # well as to get the schema for a given schema id or a given version id under a
39
+ # subject, to update the global or subject-specific compatibility mode, and to
40
+ # check the compatibility of a schema against a subject or a version. The main
41
+ # resource hierarchy is as follows:
42
+ #
43
+ # * SchemaRegistry
44
+ # * SchemaRegistry/Context
45
+ # * SchemaRegistry/Context/Schema
46
+ # * SchemaRegistry/Context/Subject
47
+ # * SchemaRegistry/Context/Subject/Version
48
+ # * SchemaRegistry/Config
49
+ # * SchemaRegistry/Mode
50
+ #
51
+ # **SchemaRegistry** is the root resource to represent a schema registry
52
+ # instance. A customer can have multiple schema registry instances in a
53
+ # project.
54
+ #
55
+ # **Context** is a context resource that represents a group of
56
+ # schemas, subjects and versions. A schema registry instance can have multiple
57
+ # contexts and always has a 'default' context. Contexts are independent of each
58
+ # other. Context is optional and if not specified, it falls back to the
59
+ # 'default' context.
60
+ #
61
+ # **Schema** is a schema resource that represents a unique schema in a context
62
+ # of a schema registry instance. Each schema has a unique schema id, and can be
63
+ # referenced by a version of a subject.
64
+ #
65
+ # **Subject** refers to the name under which the schema is registered. A
66
+ # typical subject is the Kafka topic name. A schema registry instance can have
67
+ # multiple subjects.
68
+ #
69
+ # **Version** represents a version of a subject. A subject can have multiple
70
+ # versions. Creation of new version of a subject is guarded by the
71
+ # compatibility mode configured globally or for the subject specifically.
72
+ #
73
+ # **Config** represents a config at global level cross all registry
74
+ # instances or at subject level. Currently, only compatibility is supported in
75
+ # config.
76
+ #
77
+ # **Mode** represents the mode of a schema registry or a specific subject.
78
+ # Three modes are supported:
79
+ # * READONLY: The schema registry is in read-only mode, no write operations
80
+ # allowed..
81
+ # * READWRITE: The schema registry is in read-write mode, which allows limited
82
+ # write operations on the schema.
83
+ # * IMPORT: The schema registry is in import mode, which allows more editing
84
+ # operations on the schema for data importing purposes.
85
+ #
86
+ # @example Load this service and instantiate a gRPC client
87
+ #
88
+ # require "google/cloud/managed_kafka/schema_registry/v1/managed_schema_registry"
89
+ # client = ::Google::Cloud::ManagedKafka::SchemaRegistry::V1::ManagedSchemaRegistry::Client.new
90
+ #
91
+ # @example Load this service and instantiate a REST client
92
+ #
93
+ # require "google/cloud/managed_kafka/schema_registry/v1/managed_schema_registry/rest"
94
+ # client = ::Google::Cloud::ManagedKafka::SchemaRegistry::V1::ManagedSchemaRegistry::Rest::Client.new
95
+ #
96
+ module ManagedSchemaRegistry
97
+ end
98
+ end
99
+ end
100
+ end
101
+ end
102
+ end
103
+
104
+ helper_path = ::File.join __dir__, "managed_schema_registry", "helpers.rb"
105
+ require "google/cloud/managed_kafka/schema_registry/v1/managed_schema_registry/helpers" if ::File.file? helper_path
@@ -0,0 +1,40 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2025 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/managed_kafka/schema_registry/v1/managed_schema_registry/rest"
20
+ require "google/cloud/managed_kafka/schema_registry/v1/bindings_override"
21
+ require "google/cloud/managed_kafka/schema_registry/v1/version"
22
+
23
+ module Google
24
+ module Cloud
25
+ module ManagedKafka
26
+ module SchemaRegistry
27
+ ##
28
+ # To load just the REST part of this package, including all its services, and instantiate a REST client:
29
+ #
30
+ # @example
31
+ #
32
+ # require "google/cloud/managed_kafka/schema_registry/v1/rest"
33
+ # client = ::Google::Cloud::ManagedKafka::SchemaRegistry::V1::ManagedSchemaRegistry::Rest::Client.new
34
+ #
35
+ module V1
36
+ end
37
+ end
38
+ end
39
+ end
40
+ end
@@ -1,10 +1,12 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # Copyright 2025 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,12 +14,15 @@
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 ManagedKafka
18
23
  module SchemaRegistry
19
24
  module V1
20
- VERSION = "0.a"
25
+ VERSION = "0.1.0"
21
26
  end
22
27
  end
23
28
  end
@@ -0,0 +1,47 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2025 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/managed_kafka/schema_registry/v1/managed_schema_registry"
20
+ require "google/cloud/managed_kafka/schema_registry/v1/version"
21
+
22
+ module Google
23
+ module Cloud
24
+ module ManagedKafka
25
+ module SchemaRegistry
26
+ ##
27
+ # API client module.
28
+ #
29
+ # @example Load this package, including all its services, and instantiate a gRPC client
30
+ #
31
+ # require "google/cloud/managed_kafka/schema_registry/v1"
32
+ # client = ::Google::Cloud::ManagedKafka::SchemaRegistry::V1::ManagedSchemaRegistry::Client.new
33
+ #
34
+ # @example Load this package, including all its services, and instantiate a REST client
35
+ #
36
+ # require "google/cloud/managed_kafka/schema_registry/v1"
37
+ # client = ::Google::Cloud::ManagedKafka::SchemaRegistry::V1::ManagedSchemaRegistry::Rest::Client.new
38
+ #
39
+ module V1
40
+ end
41
+ end
42
+ end
43
+ end
44
+ end
45
+
46
+ helper_path = ::File.join __dir__, "v1", "_helpers.rb"
47
+ require "google/cloud/managed_kafka/schema_registry/v1/_helpers" if ::File.file? helper_path
@@ -0,0 +1,80 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/cloud/managedkafka/schemaregistry/v1/schema_registry.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/annotations_pb'
8
+ require 'google/api/client_pb'
9
+ require 'google/api/field_behavior_pb'
10
+ require 'google/api/httpbody_pb'
11
+ require 'google/api/resource_pb'
12
+ require 'google/cloud/managedkafka/schemaregistry/v1/schema_registry_resources_pb'
13
+ require 'google/protobuf/empty_pb'
14
+
15
+
16
+ descriptor_data = "\nAgoogle/cloud/managedkafka/schemaregistry/v1/schema_registry.proto\x12+google.cloud.managedkafka.schemaregistry.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/httpbody.proto\x1a\x19google/api/resource.proto\x1aKgoogle/cloud/managedkafka/schemaregistry/v1/schema_registry_resources.proto\x1a\x1bgoogle/protobuf/empty.proto\"\\\n\x18GetSchemaRegistryRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*managedkafka.googleapis.com/SchemaRegistry\"8\n\x1bListSchemaRegistriesRequest\x12\x19\n\x06parent\x18\x01 \x01(\tB\t\xe0\x41\x02\xfa\x41\x03\n\x01*\"v\n\x1cListSchemaRegistriesResponse\x12V\n\x11schema_registries\x18\x01 \x03(\x0b\x32;.google.cloud.managedkafka.schemaregistry.v1.SchemaRegistry\"\xb4\x01\n\x1b\x43reateSchemaRegistryRequest\x12\x19\n\x06parent\x18\x01 \x01(\tB\t\xe0\x41\x02\xfa\x41\x03\n\x01*\x12\x1f\n\x12schema_registry_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12Y\n\x0fschema_registry\x18\x03 \x01(\x0b\x32;.google.cloud.managedkafka.schemaregistry.v1.SchemaRegistryB\x03\xe0\x41\x02\"_\n\x1b\x44\x65leteSchemaRegistryRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*managedkafka.googleapis.com/SchemaRegistry\"T\n\x11GetContextRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)managedkafka.googleapis.com/SchemaContext\"Y\n\x13ListContextsRequest\x12\x42\n\x06parent\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*managedkafka.googleapis.com/SchemaRegistry\"s\n\x10GetSchemaRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"managedkafka.googleapis.com/Schema\x12\x19\n\x07subject\x18\x02 \x01(\tB\x03\xe0\x41\x01H\x00\x88\x01\x01\x42\n\n\x08_subject\"3\n\x16ListSchemaTypesRequest\x12\x19\n\x06parent\x18\x01 \x01(\tB\t\xe0\x41\x02\xfa\x41\x03\n\x01*\"\xa5\x01\n\x19ListSchemaVersionsRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"managedkafka.googleapis.com/Schema\x12\x19\n\x07subject\x18\x02 \x01(\tB\x03\xe0\x41\x01H\x00\x88\x01\x01\x12\x19\n\x07\x64\x65leted\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01H\x01\x88\x01\x01\x42\n\n\x08_subjectB\n\n\x08_deleted\"\x8c\x01\n\x13ListSubjectsRequest\x12\x19\n\x06parent\x18\x01 \x01(\tB\t\xe0\x41\x02\xfa\x41\x03\n\x01*\x12 \n\x0esubject_prefix\x18\x02 \x01(\tB\x03\xe0\x41\x01H\x00\x88\x01\x01\x12\x19\n\x07\x64\x65leted\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01H\x01\x88\x01\x01\x42\x11\n\x0f_subject_prefixB\n\n\x08_deleted\"\x88\x01\n\x1dListSubjectsBySchemaIdRequest\x12\x19\n\x06parent\x18\x01 \x01(\tB\t\xe0\x41\x02\xfa\x41\x03\n\x01*\x12\x19\n\x07subject\x18\x02 \x01(\tB\x03\xe0\x41\x01H\x00\x88\x01\x01\x12\x19\n\x07\x64\x65leted\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01H\x01\x88\x01\x01\x42\n\n\x08_subjectB\n\n\x08_deleted\"\x7f\n\x13ListVersionsRequest\x12\x41\n\x06parent\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)managedkafka.googleapis.com/SchemaSubject\x12\x19\n\x07\x64\x65leted\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x42\n\n\x08_deleted\"\x82\x01\n\x14\x44\x65leteSubjectRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)managedkafka.googleapis.com/SchemaSubject\x12\x1b\n\tpermanent\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x42\x0c\n\n_permanent\"{\n\x11GetVersionRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)managedkafka.googleapis.com/SchemaVersion\x12\x19\n\x07\x64\x65leted\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x42\n\n\x08_deleted\"\xaa\x03\n\x14\x43reateVersionRequest\x12\x41\n\x06parent\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)managedkafka.googleapis.com/SchemaSubject\x12\x19\n\x07version\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x12\x14\n\x02id\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01H\x01\x88\x01\x01\x12]\n\x0bschema_type\x18\x04 \x01(\x0e\x32>.google.cloud.managedkafka.schemaregistry.v1.Schema.SchemaTypeB\x03\xe0\x41\x01H\x02\x88\x01\x01\x12\x13\n\x06schema\x18\x05 \x01(\tB\x03\xe0\x41\x02\x12\\\n\nreferences\x18\x06 \x03(\x0b\x32\x43.google.cloud.managedkafka.schemaregistry.v1.Schema.SchemaReferenceB\x03\xe0\x41\x01\x12\x1b\n\tnormalize\x18\x07 \x01(\x08\x42\x03\xe0\x41\x01H\x03\x88\x01\x01\x42\n\n\x08_versionB\x05\n\x03_idB\x0e\n\x0c_schema_typeB\x0c\n\n_normalize\"#\n\x15\x43reateVersionResponse\x12\n\n\x02id\x18\x01 \x01(\x05\"\x8d\x03\n\x14LookupVersionRequest\x12\x41\n\x06parent\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)managedkafka.googleapis.com/SchemaSubject\x12]\n\x0bschema_type\x18\x02 \x01(\x0e\x32>.google.cloud.managedkafka.schemaregistry.v1.Schema.SchemaTypeB\x03\xe0\x41\x01H\x00\x88\x01\x01\x12\x13\n\x06schema\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\\\n\nreferences\x18\x04 \x03(\x0b\x32\x43.google.cloud.managedkafka.schemaregistry.v1.Schema.SchemaReferenceB\x03\xe0\x41\x01\x12\x1b\n\tnormalize\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01H\x01\x88\x01\x01\x12\x19\n\x07\x64\x65leted\x18\x06 \x01(\x08\x42\x03\xe0\x41\x01H\x02\x88\x01\x01\x42\x0e\n\x0c_schema_typeB\x0c\n\n_normalizeB\n\n\x08_deleted\"\x82\x01\n\x14\x44\x65leteVersionRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)managedkafka.googleapis.com/SchemaVersion\x12\x1b\n\tpermanent\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x42\x0c\n\n_permanent\"a\n\x1cListReferencedSchemasRequest\x12\x41\n\x06parent\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)managedkafka.googleapis.com/SchemaVersion\"\xbd\x02\n\x19\x43heckCompatibilityRequest\x12\x17\n\x04name\x18\x01 \x01(\tB\t\xe0\x41\x02\xfa\x41\x03\n\x01*\x12]\n\x0bschema_type\x18\x02 \x01(\x0e\x32>.google.cloud.managedkafka.schemaregistry.v1.Schema.SchemaTypeB\x03\xe0\x41\x01H\x00\x88\x01\x01\x12\x13\n\x06schema\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\\\n\nreferences\x18\x04 \x03(\x0b\x32\x43.google.cloud.managedkafka.schemaregistry.v1.Schema.SchemaReferenceB\x03\xe0\x41\x01\x12\x19\n\x07verbose\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01H\x01\x88\x01\x01\x42\x0e\n\x0c_schema_typeB\n\n\x08_verbose\"T\n\x1a\x43heckCompatibilityResponse\x12$\n\ris_compatible\x18\x01 \x01(\x08R\ris_compatible\x12\x10\n\x08messages\x18\x02 \x03(\t\"\x93\x01\n\x16GetSchemaConfigRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(managedkafka.googleapis.com/SchemaConfig\x12#\n\x11\x64\x65\x66\x61ult_to_global\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01H\x00\x88\x01\x01\x42\x14\n\x12_default_to_global\"\x86\x02\n\x19UpdateSchemaConfigRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(managedkafka.googleapis.com/SchemaConfig\x12l\n\rcompatibility\x18\x02 \x01(\x0e\x32K.google.cloud.managedkafka.schemaregistry.v1.SchemaConfig.CompatibilityTypeB\x03\xe0\x41\x02H\x00\x88\x01\x01\x12\x1b\n\tnormalize\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01H\x01\x88\x01\x01\x42\x10\n\x0e_compatibilityB\x0c\n\n_normalize\"[\n\x19\x44\x65leteSchemaConfigRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(managedkafka.googleapis.com/SchemaConfig\"T\n\x14GetSchemaModeRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&managedkafka.googleapis.com/SchemaMode\"\xac\x01\n\x17UpdateSchemaModeRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&managedkafka.googleapis.com/SchemaMode\x12S\n\x04mode\x18\x02 \x01(\x0e\x32@.google.cloud.managedkafka.schemaregistry.v1.SchemaMode.ModeTypeB\x03\xe0\x41\x02\"W\n\x17\x44\x65leteSchemaModeRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&managedkafka.googleapis.com/SchemaMode2\xf0=\n\x15ManagedSchemaRegistry\x12\xdc\x01\n\x11GetSchemaRegistry\x12\x45.google.cloud.managedkafka.schemaregistry.v1.GetSchemaRegistryRequest\x1a;.google.cloud.managedkafka.schemaregistry.v1.SchemaRegistry\"C\xda\x41\x04name\x82\xd3\xe4\x93\x02\x36\x12\x34/v1/{name=projects/*/locations/*/schemaRegistries/*}\x12\xf2\x01\n\x14ListSchemaRegistries\x12H.google.cloud.managedkafka.schemaregistry.v1.ListSchemaRegistriesRequest\x1aI.google.cloud.managedkafka.schemaregistry.v1.ListSchemaRegistriesResponse\"E\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x36\x12\x34/v1/{parent=projects/*/locations/*}/schemaRegistries\x12\xf7\x01\n\x14\x43reateSchemaRegistry\x12H.google.cloud.managedkafka.schemaregistry.v1.CreateSchemaRegistryRequest\x1a;.google.cloud.managedkafka.schemaregistry.v1.SchemaRegistry\"X\xda\x41\x16parent,schema_registry\x82\xd3\xe4\x93\x02\x39\"4/v1/{parent=projects/*/locations/*}/schemaRegistries:\x01*\x12\xbd\x01\n\x14\x44\x65leteSchemaRegistry\x12H.google.cloud.managedkafka.schemaregistry.v1.DeleteSchemaRegistryRequest\x1a\x16.google.protobuf.Empty\"C\xda\x41\x04name\x82\xd3\xe4\x93\x02\x36*4/v1/{name=projects/*/locations/*/schemaRegistries/*}\x12\xd2\x01\n\nGetContext\x12>.google.cloud.managedkafka.schemaregistry.v1.GetContextRequest\x1a\x34.google.cloud.managedkafka.schemaregistry.v1.Context\"N\xda\x41\x04name\x82\xd3\xe4\x93\x02\x41\x12?/v1/{name=projects/*/locations/*/schemaRegistries/*/contexts/*}\x12\xb8\x01\n\x0cListContexts\x12@.google.cloud.managedkafka.schemaregistry.v1.ListContextsRequest\x1a\x14.google.api.HttpBody\"P\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x41\x12?/v1/{parent=projects/*/locations/*/schemaRegistries/*}/contexts\x12\x9f\x02\n\tGetSchema\x12=.google.cloud.managedkafka.schemaregistry.v1.GetSchemaRequest\x1a\x33.google.cloud.managedkafka.schemaregistry.v1.Schema\"\x9d\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02\x8f\x01\x12?/v1/{name=projects/*/locations/*/schemaRegistries/*/schemas/**}ZL\x12J/v1/{name=projects/*/locations/*/schemaRegistries/*/contexts/*/schemas/**}\x12\x91\x02\n\x0cGetRawSchema\x12=.google.cloud.managedkafka.schemaregistry.v1.GetSchemaRequest\x1a\x14.google.api.HttpBody\"\xab\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02\x9d\x01\x12\x46/v1/{name=projects/*/locations/*/schemaRegistries/*/schemas/**}/schemaZS\x12Q/v1/{name=projects/*/locations/*/schemaRegistries/*/contexts/*/schemas/**}/schema\x12\xaa\x02\n\x12ListSchemaVersions\x12\x46.google.cloud.managedkafka.schemaregistry.v1.ListSchemaVersionsRequest\x1a\x14.google.api.HttpBody\"\xb5\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02\xa5\x01\x12J/v1/{parent=projects/*/locations/*/schemaRegistries/*/schemas/**}/versionsZW\x12U/v1/{parent=projects/*/locations/*/schemaRegistries/*/contexts/*/schemas/**}/versions\x12\x98\x02\n\x0fListSchemaTypes\x12\x43.google.cloud.managedkafka.schemaregistry.v1.ListSchemaTypesRequest\x1a\x14.google.api.HttpBody\"\xa9\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x99\x01\x12\x44/v1/{parent=projects/*/locations/*/schemaRegistries/*}/schemas/typesZQ\x12O/v1/{parent=projects/*/locations/*/schemaRegistries/*/contexts/*}/schemas/types\x12\x9f\x02\n\x0cListSubjects\x12@.google.cloud.managedkafka.schemaregistry.v1.ListSubjectsRequest\x1a\x14.google.api.HttpBody\"\xb6\x01\xda\x41\x1dparent,subject_prefix,deleted\x82\xd3\xe4\x93\x02\x8f\x01\x12?/v1/{parent=projects/*/locations/*/schemaRegistries/*}/subjectsZL\x12J/v1/{parent=projects/*/locations/*/schemaRegistries/*/contexts/*}/subjects\x12\xc2\x02\n\x16ListSubjectsBySchemaId\x12J.google.cloud.managedkafka.schemaregistry.v1.ListSubjectsBySchemaIdRequest\x1a\x14.google.api.HttpBody\"\xc5\x01\xda\x41\x16parent,subject,deleted\x82\xd3\xe4\x93\x02\xa5\x01\x12J/v1/{parent=projects/*/locations/*/schemaRegistries/*/schemas/**}/subjectsZW\x12U/v1/{parent=projects/*/locations/*/schemaRegistries/*/contexts/*/schemas/**}/subjects\x12\x88\x02\n\rDeleteSubject\x12\x41.google.cloud.managedkafka.schemaregistry.v1.DeleteSubjectRequest\x1a\x14.google.api.HttpBody\"\x9d\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02\x8f\x01*?/v1/{name=projects/*/locations/*/schemaRegistries/*/subjects/*}ZL*J/v1/{name=projects/*/locations/*/schemaRegistries/*/contexts/*/subjects/*}\x12\xc1\x02\n\rLookupVersion\x12\x41.google.cloud.managedkafka.schemaregistry.v1.LookupVersionRequest\x1a:.google.cloud.managedkafka.schemaregistry.v1.SchemaVersion\"\xb0\x01\xda\x41\rparent,schema\x82\xd3\xe4\x93\x02\x99\x01\"A/v1/{parent=projects/*/locations/*/schemaRegistries/*/subjects/*}:\x01*ZQ\"L/v1/{parent=projects/*/locations/*/schemaRegistries/*/contexts/*/subjects/*}:\x01*\x12\xbe\x02\n\nGetVersion\x12>.google.cloud.managedkafka.schemaregistry.v1.GetVersionRequest\x1a:.google.cloud.managedkafka.schemaregistry.v1.SchemaVersion\"\xb3\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02\xa5\x01\x12J/v1/{name=projects/*/locations/*/schemaRegistries/*/subjects/*/versions/*}ZW\x12U/v1/{name=projects/*/locations/*/schemaRegistries/*/contexts/*/subjects/*/versions/*}\x12\xaf\x02\n\x13GetRawSchemaVersion\x12>.google.cloud.managedkafka.schemaregistry.v1.GetVersionRequest\x1a\x14.google.api.HttpBody\"\xc1\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02\xb3\x01\x12Q/v1/{name=projects/*/locations/*/schemaRegistries/*/subjects/*/versions/*}/schemaZ^\x12\\/v1/{name=projects/*/locations/*/schemaRegistries/*/contexts/*/subjects/*/versions/*}/schema\x12\x9e\x02\n\x0cListVersions\x12@.google.cloud.managedkafka.schemaregistry.v1.ListVersionsRequest\x1a\x14.google.api.HttpBody\"\xb5\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02\xa5\x01\x12J/v1/{parent=projects/*/locations/*/schemaRegistries/*/subjects/*}/versionsZW\x12U/v1/{parent=projects/*/locations/*/schemaRegistries/*/contexts/*/subjects/*}/versions\x12\x87\x03\n\rCreateVersion\x12\x41.google.cloud.managedkafka.schemaregistry.v1.CreateVersionRequest\x1a\x42.google.cloud.managedkafka.schemaregistry.v1.CreateVersionResponse\"\xee\x01\xda\x41\x39parent,version,id,schema_type,schema,references,normalize\x82\xd3\xe4\x93\x02\xab\x01\"J/v1/{parent=projects/*/locations/*/schemaRegistries/*/subjects/*}/versions:\x01*ZZ\"U/v1/{parent=projects/*/locations/*/schemaRegistries/*/contexts/*/subjects/*}/versions:\x01*\x12\x9e\x02\n\rDeleteVersion\x12\x41.google.cloud.managedkafka.schemaregistry.v1.DeleteVersionRequest\x1a\x14.google.api.HttpBody\"\xb3\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02\xa5\x01*J/v1/{name=projects/*/locations/*/schemaRegistries/*/subjects/*/versions/*}ZW*U/v1/{name=projects/*/locations/*/schemaRegistries/*/contexts/*/subjects/*/versions/*}\x12\xce\x02\n\x15ListReferencedSchemas\x12I.google.cloud.managedkafka.schemaregistry.v1.ListReferencedSchemasRequest\x1a\x14.google.api.HttpBody\"\xd3\x01\xda\x41\x06parent\x82\xd3\xe4\x93\x02\xc3\x01\x12Y/v1/{parent=projects/*/locations/*/schemaRegistries/*/subjects/*/versions/*}/referencedbyZf\x12\x64/v1/{parent=projects/*/locations/*/schemaRegistries/*/contexts/*/subjects/*/versions/*}/referencedby\x12\xde\x02\n\x12\x43heckCompatibility\x12\x46.google.cloud.managedkafka.schemaregistry.v1.CheckCompatibilityRequest\x1aG.google.cloud.managedkafka.schemaregistry.v1.CheckCompatibilityResponse\"\xb6\x01\xda\x41\x0bname,schema\x82\xd3\xe4\x93\x02\xa1\x01\"E/v1/{name=projects/*/locations/*/schemaRegistries/*/compatibility/**}:\x01*ZU\"P/v1/{name=projects/*/locations/*/schemaRegistries/*/contexts/*/compatibility/**}:\x01*\x12\xaf\x02\n\x0fGetSchemaConfig\x12\x43.google.cloud.managedkafka.schemaregistry.v1.GetSchemaConfigRequest\x1a\x39.google.cloud.managedkafka.schemaregistry.v1.SchemaConfig\"\x9b\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02\x8d\x01\x12>/v1/{name=projects/*/locations/*/schemaRegistries/*/config/**}ZK\x12I/v1/{name=projects/*/locations/*/schemaRegistries/*/contexts/*/config/**}\x12\xc9\x02\n\x12UpdateSchemaConfig\x12\x46.google.cloud.managedkafka.schemaregistry.v1.UpdateSchemaConfigRequest\x1a\x39.google.cloud.managedkafka.schemaregistry.v1.SchemaConfig\"\xaf\x01\xda\x41\x12name,compatibility\x82\xd3\xe4\x93\x02\x93\x01\x1a>/v1/{name=projects/*/locations/*/schemaRegistries/*/config/**}:\x01*ZN\x1aI/v1/{name=projects/*/locations/*/schemaRegistries/*/contexts/*/config/**}:\x01*\x12\xb5\x02\n\x12\x44\x65leteSchemaConfig\x12\x46.google.cloud.managedkafka.schemaregistry.v1.DeleteSchemaConfigRequest\x1a\x39.google.cloud.managedkafka.schemaregistry.v1.SchemaConfig\"\x9b\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02\x8d\x01*>/v1/{name=projects/*/locations/*/schemaRegistries/*/config/**}ZK*I/v1/{name=projects/*/locations/*/schemaRegistries/*/contexts/*/config/**}\x12\xa5\x02\n\rGetSchemaMode\x12\x41.google.cloud.managedkafka.schemaregistry.v1.GetSchemaModeRequest\x1a\x37.google.cloud.managedkafka.schemaregistry.v1.SchemaMode\"\x97\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02\x89\x01\x12</v1/{name=projects/*/locations/*/schemaRegistries/*/mode/**}ZI\x12G/v1/{name=projects/*/locations/*/schemaRegistries/*/contexts/*/mode/**}\x12\xb6\x02\n\x10UpdateSchemaMode\x12\x44.google.cloud.managedkafka.schemaregistry.v1.UpdateSchemaModeRequest\x1a\x37.google.cloud.managedkafka.schemaregistry.v1.SchemaMode\"\xa2\x01\xda\x41\tname,mode\x82\xd3\xe4\x93\x02\x8f\x01\x1a</v1/{name=projects/*/locations/*/schemaRegistries/*/mode/**}:\x01*ZL\x1aG/v1/{name=projects/*/locations/*/schemaRegistries/*/contexts/*/mode/**}:\x01*\x12\xab\x02\n\x10\x44\x65leteSchemaMode\x12\x44.google.cloud.managedkafka.schemaregistry.v1.DeleteSchemaModeRequest\x1a\x37.google.cloud.managedkafka.schemaregistry.v1.SchemaMode\"\x97\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02\x89\x01*</v1/{name=projects/*/locations/*/schemaRegistries/*/mode/**}ZI*G/v1/{name=projects/*/locations/*/schemaRegistries/*/contexts/*/mode/**}\x1aO\xca\x41\x1bmanagedkafka.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xaf\x02\n/com.google.cloud.managedkafka.schemaregistry.v1B\x13SchemaRegistryProtoP\x01ZWcloud.google.com/go/managedkafka/schemaregistry/apiv1/schemaregistrypb;schemaregistrypb\xaa\x02+Google.Cloud.ManagedKafka.SchemaRegistry.V1\xca\x02+Google\\Cloud\\ManagedKafka\\SchemaRegistry\\V1\xea\x02/Google::Cloud::ManagedKafka::SchemaRegistry::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.cloud.managedkafka.schemaregistry.v1.SchemaRegistry", "google/cloud/managedkafka/schemaregistry/v1/schema_registry_resources.proto"],
32
+ ]
33
+ imports.each do |type_name, expected_filename|
34
+ import_file = pool.lookup(type_name).file_descriptor
35
+ if import_file.name != expected_filename
36
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
37
+ end
38
+ end
39
+ warn "Each proto file must use a consistent fully-qualified name."
40
+ warn "This will become an error in the next major version."
41
+ end
42
+
43
+ module Google
44
+ module Cloud
45
+ module ManagedKafka
46
+ module SchemaRegistry
47
+ module V1
48
+ GetSchemaRegistryRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.schemaregistry.v1.GetSchemaRegistryRequest").msgclass
49
+ ListSchemaRegistriesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.schemaregistry.v1.ListSchemaRegistriesRequest").msgclass
50
+ ListSchemaRegistriesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.schemaregistry.v1.ListSchemaRegistriesResponse").msgclass
51
+ CreateSchemaRegistryRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.schemaregistry.v1.CreateSchemaRegistryRequest").msgclass
52
+ DeleteSchemaRegistryRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.schemaregistry.v1.DeleteSchemaRegistryRequest").msgclass
53
+ GetContextRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.schemaregistry.v1.GetContextRequest").msgclass
54
+ ListContextsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.schemaregistry.v1.ListContextsRequest").msgclass
55
+ GetSchemaRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.schemaregistry.v1.GetSchemaRequest").msgclass
56
+ ListSchemaTypesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.schemaregistry.v1.ListSchemaTypesRequest").msgclass
57
+ ListSchemaVersionsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.schemaregistry.v1.ListSchemaVersionsRequest").msgclass
58
+ ListSubjectsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.schemaregistry.v1.ListSubjectsRequest").msgclass
59
+ ListSubjectsBySchemaIdRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.schemaregistry.v1.ListSubjectsBySchemaIdRequest").msgclass
60
+ ListVersionsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.schemaregistry.v1.ListVersionsRequest").msgclass
61
+ DeleteSubjectRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.schemaregistry.v1.DeleteSubjectRequest").msgclass
62
+ GetVersionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.schemaregistry.v1.GetVersionRequest").msgclass
63
+ CreateVersionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.schemaregistry.v1.CreateVersionRequest").msgclass
64
+ CreateVersionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.schemaregistry.v1.CreateVersionResponse").msgclass
65
+ LookupVersionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.schemaregistry.v1.LookupVersionRequest").msgclass
66
+ DeleteVersionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.schemaregistry.v1.DeleteVersionRequest").msgclass
67
+ ListReferencedSchemasRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.schemaregistry.v1.ListReferencedSchemasRequest").msgclass
68
+ CheckCompatibilityRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.schemaregistry.v1.CheckCompatibilityRequest").msgclass
69
+ CheckCompatibilityResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.schemaregistry.v1.CheckCompatibilityResponse").msgclass
70
+ GetSchemaConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.schemaregistry.v1.GetSchemaConfigRequest").msgclass
71
+ UpdateSchemaConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.schemaregistry.v1.UpdateSchemaConfigRequest").msgclass
72
+ DeleteSchemaConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.schemaregistry.v1.DeleteSchemaConfigRequest").msgclass
73
+ GetSchemaModeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.schemaregistry.v1.GetSchemaModeRequest").msgclass
74
+ UpdateSchemaModeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.schemaregistry.v1.UpdateSchemaModeRequest").msgclass
75
+ DeleteSchemaModeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.schemaregistry.v1.DeleteSchemaModeRequest").msgclass
76
+ end
77
+ end
78
+ end
79
+ end
80
+ end
@@ -0,0 +1,57 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/cloud/managedkafka/schemaregistry/v1/schema_registry_resources.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 = "\nKgoogle/cloud/managedkafka/schemaregistry/v1/schema_registry_resources.proto\x12+google.cloud.managedkafka.schemaregistry.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\x89\x02\n\x0eSchemaRegistry\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x43\n\x08\x63ontexts\x18\x02 \x03(\tB1\xe0\x41\x03\xfa\x41+\n)managedkafka.googleapis.com/SchemaContext:\x9e\x01\xea\x41\x9a\x01\n*managedkafka.googleapis.com/SchemaRegistry\x12Jprojects/{project}/locations/{location}/schemaRegistries/{schema_registry}*\x10schemaRegistries2\x0eschemaRegistry\"\x85\x02\n\x07\x43ontext\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x43\n\x08subjects\x18\x02 \x03(\tB1\xe0\x41\x01\xfa\x41+\n)managedkafka.googleapis.com/SchemaSubject:\xa1\x01\xea\x41\x9d\x01\n)managedkafka.googleapis.com/SchemaContext\x12]projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}*\x08\x63ontexts2\x07\x63ontext\"\x90\x05\n\x06Schema\x12X\n\x0bschema_type\x18\x01 \x01(\x0e\x32>.google.cloud.managedkafka.schemaregistry.v1.Schema.SchemaTypeB\x03\xe0\x41\x01\x12\x1e\n\x0eschema_payload\x18\x02 \x01(\tR\x06schema\x12\\\n\nreferences\x18\x03 \x03(\x0b\x32\x43.google.cloud.managedkafka.schemaregistry.v1.Schema.SchemaReferenceB\x03\xe0\x41\x01\x1aP\n\x0fSchemaReference\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x14\n\x07subject\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x14\n\x07version\x18\x03 \x01(\x05\x42\x03\xe0\x41\x02\"K\n\nSchemaType\x12\x1b\n\x17SCHEMA_TYPE_UNSPECIFIED\x10\x00\x12\x08\n\x04\x41VRO\x10\x01\x12\x08\n\x04JSON\x10\x02\x12\x0c\n\x08PROTOBUF\x10\x03:\x8e\x02\xea\x41\x8a\x02\n\"managedkafka.googleapis.com/Schema\x12_projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/schemas/ids/{schema}\x12rprojects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/schemas/ids/{schema}*\x07schemas2\x06schema\"\xfd\x02\n\rSchemaSubject\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x43\n\x08versions\x18\x03 \x03(\tB1\xe0\x41\x01\xfa\x41+\n)managedkafka.googleapis.com/SchemaVersion:\x93\x02\xea\x41\x8f\x02\n)managedkafka.googleapis.com/SchemaSubject\x12]projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}\x12pprojects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}*\x08subjects2\x07subject\"\x91\t\n\rSchemaVersion\x12\x14\n\x07subject\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12 \n\nversion_id\x18\x02 \x01(\x05\x42\x03\xe0\x41\x02R\x07version\x12\x1a\n\tschema_id\x18\x03 \x01(\x05\x42\x03\xe0\x41\x02R\x02id\x12X\n\x0bschema_type\x18\x04 \x01(\x0e\x32>.google.cloud.managedkafka.schemaregistry.v1.Schema.SchemaTypeB\x03\xe0\x41\x01\x12#\n\x0eschema_payload\x18\x05 \x01(\tB\x03\xe0\x41\x02R\x06schema\x12\\\n\nreferences\x18\x06 \x03(\x0b\x32\x43.google.cloud.managedkafka.schemaregistry.v1.Schema.SchemaReferenceB\x03\xe0\x41\x01:\xce\x06\xea\x41\xca\x06\n)managedkafka.googleapis.com/SchemaVersion\x12pprojects/{project}/locations/{location}/schemaRegistries/{schema_registry}/subjects/{subject}/versions/{version}\x12\x83\x01projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/subjects/{subject}/versions/{version}\x12tprojects/{project}/locations/{location}/schemaRegistries/{schema_registry}/compatibility/subjects/{subject}/versions\x12\x87\x01projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/compatibility/subjects/{subject}/versions\x12~projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/compatibility/subjects/{subject}/versions/{version}\x12\x91\x01projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/compatibility/subjects/{subject}/versions/{version}*\x08versions2\x07version\"\xa0\x06\n\x0cSchemaConfig\x12l\n\rcompatibility\x18\x01 \x01(\x0e\x32K.google.cloud.managedkafka.schemaregistry.v1.SchemaConfig.CompatibilityTypeB\x03\xe0\x41\x02H\x00\x88\x01\x01\x12\x1b\n\tnormalize\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01H\x01\x88\x01\x01\x12\x12\n\x05\x61lias\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\x88\x01\n\x11\x43ompatibilityType\x12\x08\n\x04NONE\x10\x00\x12\x0c\n\x08\x42\x41\x43KWARD\x10\x01\x12\x17\n\x13\x42\x41\x43KWARD_TRANSITIVE\x10\x02\x12\x0b\n\x07\x46ORWARD\x10\x03\x12\x16\n\x12\x46ORWARD_TRANSITIVE\x10\x04\x12\x08\n\x04\x46ULL\x10\x05\x12\x13\n\x0f\x46ULL_TRANSITIVE\x10\x06:\xc5\x03\xea\x41\xc1\x03\n(managedkafka.googleapis.com/SchemaConfig\x12Qprojects/{project}/locations/{location}/schemaRegistries/{schema_registry}/config\x12[projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/config/{subject}\x12\x64projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/config\x12nprojects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/config/{subject}*\x07\x63onfigs2\x06\x63onfigB\x10\n\x0e_compatibilityB\x0c\n\n_normalize\"\xda\x04\n\nSchemaMode\x12S\n\x04mode\x18\x01 \x01(\x0e\x32@.google.cloud.managedkafka.schemaregistry.v1.SchemaMode.ModeTypeB\x03\xe0\x41\x02\"=\n\x08ModeType\x12\x08\n\x04NONE\x10\x00\x12\x0c\n\x08READONLY\x10\x01\x12\r\n\tREADWRITE\x10\x02\x12\n\n\x06IMPORT\x10\x03:\xb7\x03\xea\x41\xb3\x03\n&managedkafka.googleapis.com/SchemaMode\x12Oprojects/{project}/locations/{location}/schemaRegistries/{schema_registry}/mode\x12Yprojects/{project}/locations/{location}/schemaRegistries/{schema_registry}/mode/{subject}\x12\x62projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/mode\x12lprojects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}/mode/{subject}*\x05modes2\x04modeB\xb8\x02\n/com.google.cloud.managedkafka.schemaregistry.v1B\x1cSchemaRegistryResourcesProtoP\x01ZWcloud.google.com/go/managedkafka/schemaregistry/apiv1/schemaregistrypb;schemaregistrypb\xaa\x02+Google.Cloud.ManagedKafka.SchemaRegistry.V1\xca\x02+Google\\Cloud\\ManagedKafka\\SchemaRegistry\\V1\xea\x02/Google::Cloud::ManagedKafka::SchemaRegistry::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 ManagedKafka
40
+ module SchemaRegistry
41
+ module V1
42
+ SchemaRegistry = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.schemaregistry.v1.SchemaRegistry").msgclass
43
+ Context = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.schemaregistry.v1.Context").msgclass
44
+ Schema = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.schemaregistry.v1.Schema").msgclass
45
+ Schema::SchemaReference = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.schemaregistry.v1.Schema.SchemaReference").msgclass
46
+ Schema::SchemaType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.schemaregistry.v1.Schema.SchemaType").enummodule
47
+ SchemaSubject = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.schemaregistry.v1.SchemaSubject").msgclass
48
+ SchemaVersion = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.schemaregistry.v1.SchemaVersion").msgclass
49
+ SchemaConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.schemaregistry.v1.SchemaConfig").msgclass
50
+ SchemaConfig::CompatibilityType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.schemaregistry.v1.SchemaConfig.CompatibilityType").enummodule
51
+ SchemaMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.schemaregistry.v1.SchemaMode").msgclass
52
+ SchemaMode::ModeType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.managedkafka.schemaregistry.v1.SchemaMode.ModeType").enummodule
53
+ end
54
+ end
55
+ end
56
+ end
57
+ end