google-events 0.3.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +21 -0
- data/lib/google/events/cloud/alloydb/v1/data_pb.rb +85 -0
- data/lib/google/events/cloud/alloydb/v1/events_pb.rb +56 -0
- data/lib/google/events/cloud/apigateway/v1/data_pb.rb +1 -1
- data/lib/google/events/cloud/apigateway/v1/events_pb.rb +1 -1
- data/lib/google/events/cloud/apigeeregistry/v1/data_pb.rb +1 -1
- data/lib/google/events/cloud/apigeeregistry/v1/events_pb.rb +1 -1
- data/lib/google/events/cloud/audit/v1/data_pb.rb +1 -1
- data/lib/google/events/cloud/audit/v1/events_pb.rb +1 -1
- data/lib/google/events/cloud/beyondcorp/appconnections/v1/data_pb.rb +1 -1
- data/lib/google/events/cloud/beyondcorp/appconnections/v1/events_pb.rb +1 -1
- data/lib/google/events/cloud/beyondcorp/appconnectors/v1/data_pb.rb +1 -1
- data/lib/google/events/cloud/beyondcorp/appconnectors/v1/events_pb.rb +1 -1
- data/lib/google/events/cloud/beyondcorp/appgateways/v1/data_pb.rb +1 -1
- data/lib/google/events/cloud/beyondcorp/appgateways/v1/events_pb.rb +1 -1
- data/lib/google/events/cloud/beyondcorp/clientconnectorservices/v1/data_pb.rb +1 -1
- data/lib/google/events/cloud/beyondcorp/clientconnectorservices/v1/events_pb.rb +1 -1
- data/lib/google/events/cloud/beyondcorp/clientgateways/v1/data_pb.rb +1 -1
- data/lib/google/events/cloud/beyondcorp/clientgateways/v1/events_pb.rb +1 -1
- data/lib/google/events/cloud/certificatemanager/v1/data_pb.rb +1 -1
- data/lib/google/events/cloud/certificatemanager/v1/events_pb.rb +1 -1
- data/lib/google/events/cloud/cloudbuild/v1/data_pb.rb +1 -1
- data/lib/google/events/cloud/cloudbuild/v1/events_pb.rb +1 -1
- data/lib/google/events/cloud/clouddms/v1/data_pb.rb +1 -1
- data/lib/google/events/cloud/clouddms/v1/events_pb.rb +1 -1
- data/lib/google/events/cloud/dataflow/v1beta3/data_pb.rb +1 -1
- data/lib/google/events/cloud/dataflow/v1beta3/events_pb.rb +2 -2
- data/lib/google/events/cloud/datafusion/v1/data_pb.rb +1 -1
- data/lib/google/events/cloud/datafusion/v1/events_pb.rb +1 -1
- data/lib/google/events/cloud/dataplex/v1/data_pb.rb +1 -1
- data/lib/google/events/cloud/dataplex/v1/events_pb.rb +1 -1
- data/lib/google/events/cloud/datastore/v1/data_pb.rb +59 -0
- data/lib/google/events/cloud/datastore/v1/events_pb.rb +51 -0
- data/lib/google/events/cloud/datastream/v1/data_pb.rb +1 -1
- data/lib/google/events/cloud/datastream/v1/events_pb.rb +1 -1
- data/lib/google/events/cloud/eventarc/v1/data_pb.rb +1 -1
- data/lib/google/events/cloud/eventarc/v1/events_pb.rb +1 -1
- data/lib/google/events/cloud/firestore/v1/data_pb.rb +1 -1
- data/lib/google/events/cloud/firestore/v1/events_pb.rb +1 -1
- data/lib/google/events/cloud/functions/v2/data_pb.rb +1 -1
- data/lib/google/events/cloud/functions/v2/events_pb.rb +1 -1
- data/lib/google/events/cloud/gkebackup/v1/data_pb.rb +1 -1
- data/lib/google/events/cloud/gkebackup/v1/events_pb.rb +1 -1
- data/lib/google/events/cloud/gkehub/v1/data_pb.rb +79 -0
- data/lib/google/events/cloud/gkehub/v1/events_pb.rb +58 -0
- data/lib/google/events/cloud/iot/v1/data_pb.rb +1 -1
- data/lib/google/events/cloud/iot/v1/events_pb.rb +1 -1
- data/lib/google/events/cloud/memcache/v1/data_pb.rb +1 -1
- data/lib/google/events/cloud/memcache/v1/events_pb.rb +1 -1
- data/lib/google/events/cloud/metastore/v1/data_pb.rb +88 -0
- data/lib/google/events/cloud/metastore/v1/events_pb.rb +57 -0
- data/lib/google/events/cloud/networkconnectivity/v1/data_pb.rb +76 -0
- data/lib/google/events/cloud/networkconnectivity/v1/events_pb.rb +63 -0
- data/lib/google/events/cloud/networkmanagement/v1/data_pb.rb +93 -0
- data/lib/google/events/cloud/networkmanagement/v1/events_pb.rb +50 -0
- data/lib/google/events/cloud/notebooks/v1/data_pb.rb +100 -0
- data/lib/google/events/cloud/notebooks/v1/events_pb.rb +58 -0
- data/lib/google/events/cloud/pubsub/v1/data_pb.rb +1 -1
- data/lib/google/events/cloud/pubsub/v1/events_pb.rb +1 -1
- data/lib/google/events/cloud/redis/v1/data_pb.rb +67 -0
- data/lib/google/events/cloud/redis/v1/events_pb.rb +50 -0
- data/lib/google/events/cloud/scheduler/v1/data_pb.rb +1 -1
- data/lib/google/events/cloud/scheduler/v1/events_pb.rb +1 -1
- data/lib/google/events/cloud/storage/v1/data_pb.rb +1 -1
- data/lib/google/events/cloud/storage/v1/events_pb.rb +1 -1
- data/lib/google/events/cloud/video/transcoder/v1/data_pb.rb +1 -1
- data/lib/google/events/cloud/video/transcoder/v1/events_pb.rb +1 -1
- data/lib/google/events/cloud/visionai/v1/data_pb.rb +123 -0
- data/lib/google/events/cloud/visionai/v1/events_pb.rb +74 -0
- data/lib/google/events/cloud/vmmigration/v1/data_pb.rb +121 -0
- data/lib/google/events/cloud/vmmigration/v1/events_pb.rb +65 -0
- data/lib/google/events/cloud/workflows/v1/data_pb.rb +1 -1
- data/lib/google/events/cloud/workflows/v1/events_pb.rb +1 -1
- data/lib/google/events/cloudevent_pb.rb +1 -1
- data/lib/google/events/firebase/analytics/v1/data_pb.rb +1 -1
- data/lib/google/events/firebase/analytics/v1/events_pb.rb +1 -1
- data/lib/google/events/firebase/auth/v1/data_pb.rb +1 -1
- data/lib/google/events/firebase/auth/v1/events_pb.rb +1 -1
- data/lib/google/events/firebase/database/v1/data_pb.rb +1 -1
- data/lib/google/events/firebase/database/v1/events_pb.rb +1 -1
- data/lib/google/events/firebase/firebasealerts/v1/cloud_event_payload_pb.rb +1 -1
- data/lib/google/events/firebase/firebasealerts/v1/data_pb.rb +1 -1
- data/lib/google/events/firebase/firebasealerts/v1/events_pb.rb +1 -1
- data/lib/google/events/firebase/remoteconfig/v1/data_pb.rb +1 -1
- data/lib/google/events/firebase/remoteconfig/v1/events_pb.rb +1 -1
- data/lib/google/events/firebase/testlab/v1/data_pb.rb +1 -1
- data/lib/google/events/firebase/testlab/v1/events_pb.rb +1 -1
- data/lib/google/events/version.rb +1 -1
- metadata +23 -3
@@ -14,7 +14,7 @@ pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
14
14
|
|
15
15
|
begin
|
16
16
|
pool.add_serialized_file(descriptor_data)
|
17
|
-
rescue TypeError
|
17
|
+
rescue TypeError
|
18
18
|
# Compatibility code: will be removed in the next major version.
|
19
19
|
require 'google/protobuf/descriptor_pb'
|
20
20
|
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
@@ -14,7 +14,7 @@ pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
14
14
|
|
15
15
|
begin
|
16
16
|
pool.add_serialized_file(descriptor_data)
|
17
|
-
rescue TypeError
|
17
|
+
rescue TypeError
|
18
18
|
# Compatibility code: will be removed in the next major version.
|
19
19
|
require 'google/protobuf/descriptor_pb'
|
20
20
|
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
@@ -14,7 +14,7 @@ pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
14
14
|
|
15
15
|
begin
|
16
16
|
pool.add_serialized_file(descriptor_data)
|
17
|
-
rescue TypeError
|
17
|
+
rescue TypeError
|
18
18
|
# Compatibility code: will be removed in the next major version.
|
19
19
|
require 'google/protobuf/descriptor_pb'
|
20
20
|
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
@@ -14,7 +14,7 @@ pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
14
14
|
|
15
15
|
begin
|
16
16
|
pool.add_serialized_file(descriptor_data)
|
17
|
-
rescue TypeError
|
17
|
+
rescue TypeError
|
18
18
|
# Compatibility code: will be removed in the next major version.
|
19
19
|
require 'google/protobuf/descriptor_pb'
|
20
20
|
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
@@ -15,7 +15,7 @@ pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
15
15
|
|
16
16
|
begin
|
17
17
|
pool.add_serialized_file(descriptor_data)
|
18
|
-
rescue TypeError
|
18
|
+
rescue TypeError
|
19
19
|
# Compatibility code: will be removed in the next major version.
|
20
20
|
require 'google/protobuf/descriptor_pb'
|
21
21
|
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
@@ -14,7 +14,7 @@ pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
14
14
|
|
15
15
|
begin
|
16
16
|
pool.add_serialized_file(descriptor_data)
|
17
|
-
rescue TypeError
|
17
|
+
rescue TypeError
|
18
18
|
# Compatibility code: will be removed in the next major version.
|
19
19
|
require 'google/protobuf/descriptor_pb'
|
20
20
|
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
@@ -13,7 +13,7 @@ pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
13
13
|
|
14
14
|
begin
|
15
15
|
pool.add_serialized_file(descriptor_data)
|
16
|
-
rescue TypeError
|
16
|
+
rescue TypeError
|
17
17
|
# Compatibility code: will be removed in the next major version.
|
18
18
|
require 'google/protobuf/descriptor_pb'
|
19
19
|
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
@@ -14,7 +14,7 @@ pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
14
14
|
|
15
15
|
begin
|
16
16
|
pool.add_serialized_file(descriptor_data)
|
17
|
-
rescue TypeError
|
17
|
+
rescue TypeError
|
18
18
|
# Compatibility code: will be removed in the next major version.
|
19
19
|
require 'google/protobuf/descriptor_pb'
|
20
20
|
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
@@ -13,7 +13,7 @@ pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
13
13
|
|
14
14
|
begin
|
15
15
|
pool.add_serialized_file(descriptor_data)
|
16
|
-
rescue TypeError
|
16
|
+
rescue TypeError
|
17
17
|
# Compatibility code: will be removed in the next major version.
|
18
18
|
require 'google/protobuf/descriptor_pb'
|
19
19
|
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
@@ -14,7 +14,7 @@ pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
14
14
|
|
15
15
|
begin
|
16
16
|
pool.add_serialized_file(descriptor_data)
|
17
|
-
rescue TypeError
|
17
|
+
rescue TypeError
|
18
18
|
# Compatibility code: will be removed in the next major version.
|
19
19
|
require 'google/protobuf/descriptor_pb'
|
20
20
|
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
@@ -0,0 +1,79 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: google/events/cloud/gkehub/v1/data.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
require 'google/protobuf/timestamp_pb'
|
8
|
+
|
9
|
+
|
10
|
+
descriptor_data = "\n(google/events/cloud/gkehub/v1/data.proto\x12\x1dgoogle.events.cloud.gkehub.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\xaa\x06\n\x07\x46\x65\x61ture\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x42\n\x06labels\x18\x02 \x03(\x0b\x32\x32.google.events.cloud.gkehub.v1.Feature.LabelsEntry\x12K\n\x0eresource_state\x18\x03 \x01(\x0b\x32\x33.google.events.cloud.gkehub.v1.FeatureResourceState\x12@\n\x05state\x18\x06 \x01(\x0b\x32\x31.google.events.cloud.gkehub.v1.CommonFeatureState\x12W\n\x11membership_states\x18\x07 \x03(\x0b\x32<.google.events.cloud.gkehub.v1.Feature.MembershipStatesEntry\x12/\n\x0b\x63reate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x64\x65lete_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12M\n\x0cscope_states\x18\r \x03(\x0b\x32\x37.google.events.cloud.gkehub.v1.Feature.ScopeStatesEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1an\n\x15MembershipStatesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x44\n\x05value\x18\x02 \x01(\x0b\x32\x35.google.events.cloud.gkehub.v1.MembershipFeatureState:\x02\x38\x01\x1a\x64\n\x10ScopeStatesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12?\n\x05value\x18\x02 \x01(\x0b\x32\x30.google.events.cloud.gkehub.v1.ScopeFeatureState:\x02\x38\x01\"\xcd\x01\n\x14\x46\x65\x61tureResourceState\x12H\n\x05state\x18\x01 \x01(\x0e\x32\x39.google.events.cloud.gkehub.v1.FeatureResourceState.State\"k\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x45NABLING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\r\n\tDISABLING\x10\x03\x12\x0c\n\x08UPDATING\x10\x04\x12\x14\n\x10SERVICE_UPDATING\x10\x05\"\xd2\x01\n\x0c\x46\x65\x61tureState\x12>\n\x04\x63ode\x18\x01 \x01(\x0e\x32\x30.google.events.cloud.gkehub.v1.FeatureState.Code\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12/\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"<\n\x04\x43ode\x12\x14\n\x10\x43ODE_UNSPECIFIED\x10\x00\x12\x06\n\x02OK\x10\x01\x12\x0b\n\x07WARNING\x10\x02\x12\t\n\x05\x45RROR\x10\x03\"P\n\x12\x43ommonFeatureState\x12:\n\x05state\x18\x01 \x01(\x0b\x32+.google.events.cloud.gkehub.v1.FeatureState\"O\n\x11ScopeFeatureState\x12:\n\x05state\x18\x01 \x01(\x0b\x32+.google.events.cloud.gkehub.v1.FeatureState\"T\n\x16MembershipFeatureState\x12:\n\x05state\x18\x01 \x01(\x0b\x32+.google.events.cloud.gkehub.v1.FeatureState\"\xf8\x01\n\x05Scope\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0b\n\x03uid\x18\x02 \x01(\t\x12/\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x64\x65lete_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x41\n\x05state\x18\x06 \x01(\x0b\x32\x32.google.events.cloud.gkehub.v1.ScopeLifecycleState\"\xaf\x01\n\x13ScopeLifecycleState\x12\x45\n\x04\x63ode\x18\x01 \x01(\x0e\x32\x37.google.events.cloud.gkehub.v1.ScopeLifecycleState.Code\"Q\n\x04\x43ode\x12\x14\n\x10\x43ODE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\t\n\x05READY\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03\x12\x0c\n\x08UPDATING\x10\x04\"\xbc\x02\n\x11MembershipBinding\x12\x0f\n\x05scope\x18\x03 \x01(\tH\x00\x12\x0f\n\x05\x66leet\x18\x04 \x01(\x08H\x00\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0b\n\x03uid\x18\x02 \x01(\t\x12/\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x64\x65lete_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12M\n\x05state\x18\x08 \x01(\x0b\x32>.google.events.cloud.gkehub.v1.MembershipBindingLifecycleStateB\x08\n\x06target\"\xc7\x01\n\x1fMembershipBindingLifecycleState\x12Q\n\x04\x63ode\x18\x01 \x01(\x0e\x32\x43.google.events.cloud.gkehub.v1.MembershipBindingLifecycleState.Code\"Q\n\x04\x43ode\x12\x14\n\x10\x43ODE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\t\n\x05READY\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03\x12\x0c\n\x08UPDATING\x10\x04\"\xe5\x04\n\nMembership\x12\x45\n\x08\x65ndpoint\x18\x04 \x01(\x0b\x32\x31.google.events.cloud.gkehub.v1.MembershipEndpointH\x00\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x45\n\x06labels\x18\x02 \x03(\x0b\x32\x35.google.events.cloud.gkehub.v1.Membership.LabelsEntry\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12=\n\x05state\x18\x05 \x01(\x0b\x32..google.events.cloud.gkehub.v1.MembershipState\x12/\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x64\x65lete_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x13\n\x0b\x65xternal_id\x18\t \x01(\t\x12\x38\n\x14last_connection_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x11\n\tunique_id\x18\x0b \x01(\t\x12;\n\tauthority\x18\x0c \x01(\x0b\x32(.google.events.cloud.gkehub.v1.Authority\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x06\n\x04type\"\xc2\x04\n\x12MembershipEndpoint\x12@\n\x0bgke_cluster\x18\x01 \x01(\x0b\x32).google.events.cloud.gkehub.v1.GkeClusterH\x00\x12G\n\x0fon_prem_cluster\x18\x04 \x01(\x0b\x32,.google.events.cloud.gkehub.v1.OnPremClusterH\x00\x12O\n\x13multi_cloud_cluster\x18\x05 \x01(\x0b\x32\x30.google.events.cloud.gkehub.v1.MultiCloudClusterH\x00\x12\x42\n\x0c\x65\x64ge_cluster\x18\x06 \x01(\x0b\x32*.google.events.cloud.gkehub.v1.EdgeClusterH\x00\x12L\n\x11\x61ppliance_cluster\x18\x07 \x01(\x0b\x32/.google.events.cloud.gkehub.v1.ApplianceClusterH\x00\x12N\n\x13kubernetes_metadata\x18\x02 \x01(\x0b\x32\x31.google.events.cloud.gkehub.v1.KubernetesMetadata\x12N\n\x13kubernetes_resource\x18\x03 \x01(\x0b\x32\x31.google.events.cloud.gkehub.v1.KubernetesResource\x12\x16\n\x0egoogle_managed\x18\x08 \x01(\x08\x42\x06\n\x04type\"\xf9\x01\n\x12KubernetesResource\x12M\n\x14membership_resources\x18\x02 \x03(\x0b\x32/.google.events.cloud.gkehub.v1.ResourceManifest\x12J\n\x11\x63onnect_resources\x18\x03 \x03(\x0b\x32/.google.events.cloud.gkehub.v1.ResourceManifest\x12H\n\x10resource_options\x18\x04 \x01(\x0b\x32..google.events.cloud.gkehub.v1.ResourceOptions\"T\n\x0fResourceOptions\x12\x17\n\x0f\x63onnect_version\x18\x01 \x01(\t\x12\x13\n\x0bv1beta1_crd\x18\x02 \x01(\x08\x12\x13\n\x0bk8s_version\x18\x03 \x01(\t\"<\n\x10ResourceManifest\x12\x10\n\x08manifest\x18\x01 \x01(\t\x12\x16\n\x0e\x63luster_scoped\x18\x02 \x01(\x08\"<\n\nGkeCluster\x12\x15\n\rresource_link\x18\x01 \x01(\t\x12\x17\n\x0f\x63luster_missing\x18\x02 \x01(\x08\"\x87\x02\n\rOnPremCluster\x12\x15\n\rresource_link\x18\x01 \x01(\t\x12\x17\n\x0f\x63luster_missing\x18\x02 \x01(\x08\x12\x15\n\radmin_cluster\x18\x03 \x01(\x08\x12N\n\x0c\x63luster_type\x18\x04 \x01(\x0e\x32\x38.google.events.cloud.gkehub.v1.OnPremCluster.ClusterType\"_\n\x0b\x43lusterType\x12\x1b\n\x17\x43LUSTERTYPE_UNSPECIFIED\x10\x00\x12\r\n\tBOOTSTRAP\x10\x01\x12\n\n\x06HYBRID\x10\x02\x12\x0e\n\nSTANDALONE\x10\x03\x12\x08\n\x04USER\x10\x04\"C\n\x11MultiCloudCluster\x12\x15\n\rresource_link\x18\x01 \x01(\t\x12\x17\n\x0f\x63luster_missing\x18\x02 \x01(\x08\"$\n\x0b\x45\x64geCluster\x12\x15\n\rresource_link\x18\x01 \x01(\t\")\n\x10\x41pplianceCluster\x12\x15\n\rresource_link\x18\x01 \x01(\t\"\xc1\x01\n\x12KubernetesMetadata\x12%\n\x1dkubernetes_api_server_version\x18\x01 \x01(\t\x12\x18\n\x10node_provider_id\x18\x02 \x01(\t\x12\x12\n\nnode_count\x18\x03 \x01(\x05\x12\x12\n\nvcpu_count\x18\x04 \x01(\x05\x12\x11\n\tmemory_mb\x18\x05 \x01(\x05\x12/\n\x0bupdate_time\x18\x64 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xbd\x01\n\x0fMembershipState\x12\x41\n\x04\x63ode\x18\x01 \x01(\x0e\x32\x33.google.events.cloud.gkehub.v1.MembershipState.Code\"g\n\x04\x43ode\x12\x14\n\x10\x43ODE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\t\n\x05READY\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03\x12\x0c\n\x08UPDATING\x10\x04\x12\x14\n\x10SERVICE_UPDATING\x10\x05\"i\n\tAuthority\x12\x0e\n\x06issuer\x18\x01 \x01(\t\x12\x1e\n\x16workload_identity_pool\x18\x02 \x01(\t\x12\x19\n\x11identity_provider\x18\x03 \x01(\t\x12\x11\n\toidc_jwks\x18\x04 \x01(\x0c\"X\n\x0eScopeEventData\x12:\n\x07payload\x18\x01 \x01(\x0b\x32$.google.events.cloud.gkehub.v1.ScopeH\x00\x88\x01\x01\x42\n\n\x08_payload\"b\n\x13MembershipEventData\x12?\n\x07payload\x18\x01 \x01(\x0b\x32).google.events.cloud.gkehub.v1.MembershipH\x00\x88\x01\x01\x42\n\n\x08_payload\"\\\n\x10\x46\x65\x61tureEventData\x12<\n\x07payload\x18\x01 \x01(\x0b\x32&.google.events.cloud.gkehub.v1.FeatureH\x00\x88\x01\x01\x42\n\n\x08_payload\"p\n\x1aMembershipBindingEventData\x12\x46\n\x07payload\x18\x01 \x01(\x0b\x32\x30.google.events.cloud.gkehub.v1.MembershipBindingH\x00\x88\x01\x01\x42\n\n\x08_payloadBm\xaa\x02&Google.Events.Protobuf.Cloud.GkeHub.V1\xca\x02\x1dGoogle\\Events\\Cloud\\GkeHub\\V1\xea\x02!Google::Events::Cloud::GkeHub::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
|
+
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
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 Events
|
39
|
+
module Cloud
|
40
|
+
module GkeHub
|
41
|
+
module V1
|
42
|
+
Feature = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.Feature").msgclass
|
43
|
+
FeatureResourceState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.FeatureResourceState").msgclass
|
44
|
+
FeatureResourceState::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.FeatureResourceState.State").enummodule
|
45
|
+
FeatureState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.FeatureState").msgclass
|
46
|
+
FeatureState::Code = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.FeatureState.Code").enummodule
|
47
|
+
CommonFeatureState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.CommonFeatureState").msgclass
|
48
|
+
ScopeFeatureState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.ScopeFeatureState").msgclass
|
49
|
+
MembershipFeatureState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.MembershipFeatureState").msgclass
|
50
|
+
Scope = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.Scope").msgclass
|
51
|
+
ScopeLifecycleState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.ScopeLifecycleState").msgclass
|
52
|
+
ScopeLifecycleState::Code = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.ScopeLifecycleState.Code").enummodule
|
53
|
+
MembershipBinding = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.MembershipBinding").msgclass
|
54
|
+
MembershipBindingLifecycleState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.MembershipBindingLifecycleState").msgclass
|
55
|
+
MembershipBindingLifecycleState::Code = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.MembershipBindingLifecycleState.Code").enummodule
|
56
|
+
Membership = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.Membership").msgclass
|
57
|
+
MembershipEndpoint = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.MembershipEndpoint").msgclass
|
58
|
+
KubernetesResource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.KubernetesResource").msgclass
|
59
|
+
ResourceOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.ResourceOptions").msgclass
|
60
|
+
ResourceManifest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.ResourceManifest").msgclass
|
61
|
+
GkeCluster = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.GkeCluster").msgclass
|
62
|
+
OnPremCluster = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.OnPremCluster").msgclass
|
63
|
+
OnPremCluster::ClusterType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.OnPremCluster.ClusterType").enummodule
|
64
|
+
MultiCloudCluster = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.MultiCloudCluster").msgclass
|
65
|
+
EdgeCluster = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.EdgeCluster").msgclass
|
66
|
+
ApplianceCluster = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.ApplianceCluster").msgclass
|
67
|
+
KubernetesMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.KubernetesMetadata").msgclass
|
68
|
+
MembershipState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.MembershipState").msgclass
|
69
|
+
MembershipState::Code = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.MembershipState.Code").enummodule
|
70
|
+
Authority = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.Authority").msgclass
|
71
|
+
ScopeEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.ScopeEventData").msgclass
|
72
|
+
MembershipEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.MembershipEventData").msgclass
|
73
|
+
FeatureEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.FeatureEventData").msgclass
|
74
|
+
MembershipBindingEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.MembershipBindingEventData").msgclass
|
75
|
+
end
|
76
|
+
end
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
@@ -0,0 +1,58 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: google/events/cloud/gkehub/v1/events.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
require 'google/events/cloud/gkehub/v1/data_pb'
|
8
|
+
require 'google/events/cloudevent_pb'
|
9
|
+
|
10
|
+
|
11
|
+
descriptor_data = "\n*google/events/cloud/gkehub/v1/events.proto\x12\x1dgoogle.events.cloud.gkehub.v1\x1a(google/events/cloud/gkehub/v1/data.proto\x1a\x1egoogle/events/cloudevent.proto\"\x99\x01\n\x16MembershipCreatedEvent\x12@\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x32.google.events.cloud.gkehub.v1.MembershipEventData:=\xb2\xf8\xd8,)google.cloud.gkehub.membership.v1.created\xca\xf8\xd8,\nmembership\"\x8d\x01\n\x13\x46\x65\x61tureCreatedEvent\x12=\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32/.google.events.cloud.gkehub.v1.FeatureEventData:7\xb2\xf8\xd8,&google.cloud.gkehub.feature.v1.created\xca\xf8\xd8,\x07\x66\x65\x61ture\"\x99\x01\n\x16MembershipDeletedEvent\x12@\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x32.google.events.cloud.gkehub.v1.MembershipEventData:=\xb2\xf8\xd8,)google.cloud.gkehub.membership.v1.deleted\xca\xf8\xd8,\nmembership\"\x8d\x01\n\x13\x46\x65\x61tureDeletedEvent\x12=\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32/.google.events.cloud.gkehub.v1.FeatureEventData:7\xb2\xf8\xd8,&google.cloud.gkehub.feature.v1.deleted\xca\xf8\xd8,\x07\x66\x65\x61ture\"\x99\x01\n\x16MembershipUpdatedEvent\x12@\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x32.google.events.cloud.gkehub.v1.MembershipEventData:=\xb2\xf8\xd8,)google.cloud.gkehub.membership.v1.updated\xca\xf8\xd8,\nmembership\"\x8d\x01\n\x13\x46\x65\x61tureUpdatedEvent\x12=\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32/.google.events.cloud.gkehub.v1.FeatureEventData:7\xb2\xf8\xd8,&google.cloud.gkehub.feature.v1.updated\xca\xf8\xd8,\x07\x66\x65\x61ture\"\x85\x01\n\x11ScopeCreatedEvent\x12;\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32-.google.events.cloud.gkehub.v1.ScopeEventData:3\xb2\xf8\xd8,$google.cloud.gkehub.scope.v1.created\xca\xf8\xd8,\x05scope\"\x85\x01\n\x11ScopeDeletedEvent\x12;\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32-.google.events.cloud.gkehub.v1.ScopeEventData:3\xb2\xf8\xd8,$google.cloud.gkehub.scope.v1.deleted\xca\xf8\xd8,\x05scope\"\xc4\x01\n\x1dMembershipBindingCreatedEvent\x12G\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x39.google.events.cloud.gkehub.v1.MembershipBindingEventData:Z\xb2\xf8\xd8,0google.cloud.gkehub.membershipBinding.v1.created\xca\xf8\xd8,\nmembership\xca\xf8\xd8,\x11membershipbinding\"\xc4\x01\n\x1dMembershipBindingUpdatedEvent\x12G\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x39.google.events.cloud.gkehub.v1.MembershipBindingEventData:Z\xb2\xf8\xd8,0google.cloud.gkehub.membershipBinding.v1.updated\xca\xf8\xd8,\nmembership\xca\xf8\xd8,\x11membershipbinding\"\xc4\x01\n\x1dMembershipBindingDeletedEvent\x12G\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x39.google.events.cloud.gkehub.v1.MembershipBindingEventData:Z\xb2\xf8\xd8,0google.cloud.gkehub.membershipBinding.v1.deleted\xca\xf8\xd8,\nmembership\xca\xf8\xd8,\x11membershipbindingB\xb2\x03\xaa\x02&Google.Events.Protobuf.Cloud.GkeHub.V1\xca\x02\x1dGoogle\\Events\\Cloud\\GkeHub\\V1\xea\x02!Google::Events::Cloud::GkeHub::V1\xba\xf8\xd8,\x07GKE Hub\xc2\xf8\xd8,E\n\nmembership\x12\x37The resource ID of the Membership triggering the event.\xc2\xf8\xd8,?\n\x07\x66\x65\x61ture\x12\x34The resource ID of the Feature triggering the event.\xc2\xf8\xd8,;\n\x05scope\x12\x32The resource ID of the Scope triggering the event.\xc2\xf8\xd8,f\n\x11membershipbinding\x12>The resource ID of the MembershipBinding triggering the event.\x1a\x11membershipBindingb\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
|
+
["google.events.cloud.gkehub.v1.MembershipEventData", "google/events/cloud/gkehub/v1/data.proto"],
|
27
|
+
]
|
28
|
+
imports.each do |type_name, expected_filename|
|
29
|
+
import_file = pool.lookup(type_name).file_descriptor
|
30
|
+
if import_file.name != expected_filename
|
31
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
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 Events
|
40
|
+
module Cloud
|
41
|
+
module GkeHub
|
42
|
+
module V1
|
43
|
+
MembershipCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.MembershipCreatedEvent").msgclass
|
44
|
+
FeatureCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.FeatureCreatedEvent").msgclass
|
45
|
+
MembershipDeletedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.MembershipDeletedEvent").msgclass
|
46
|
+
FeatureDeletedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.FeatureDeletedEvent").msgclass
|
47
|
+
MembershipUpdatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.MembershipUpdatedEvent").msgclass
|
48
|
+
FeatureUpdatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.FeatureUpdatedEvent").msgclass
|
49
|
+
ScopeCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.ScopeCreatedEvent").msgclass
|
50
|
+
ScopeDeletedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.ScopeDeletedEvent").msgclass
|
51
|
+
MembershipBindingCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.MembershipBindingCreatedEvent").msgclass
|
52
|
+
MembershipBindingUpdatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.MembershipBindingUpdatedEvent").msgclass
|
53
|
+
MembershipBindingDeletedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.gkehub.v1.MembershipBindingDeletedEvent").msgclass
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
@@ -14,7 +14,7 @@ pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
14
14
|
|
15
15
|
begin
|
16
16
|
pool.add_serialized_file(descriptor_data)
|
17
|
-
rescue TypeError
|
17
|
+
rescue TypeError
|
18
18
|
# Compatibility code: will be removed in the next major version.
|
19
19
|
require 'google/protobuf/descriptor_pb'
|
20
20
|
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
@@ -14,7 +14,7 @@ pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
14
14
|
|
15
15
|
begin
|
16
16
|
pool.add_serialized_file(descriptor_data)
|
17
|
-
rescue TypeError
|
17
|
+
rescue TypeError
|
18
18
|
# Compatibility code: will be removed in the next major version.
|
19
19
|
require 'google/protobuf/descriptor_pb'
|
20
20
|
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
@@ -16,7 +16,7 @@ pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
16
16
|
|
17
17
|
begin
|
18
18
|
pool.add_serialized_file(descriptor_data)
|
19
|
-
rescue TypeError
|
19
|
+
rescue TypeError
|
20
20
|
# Compatibility code: will be removed in the next major version.
|
21
21
|
require 'google/protobuf/descriptor_pb'
|
22
22
|
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
@@ -14,7 +14,7 @@ pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
14
14
|
|
15
15
|
begin
|
16
16
|
pool.add_serialized_file(descriptor_data)
|
17
|
-
rescue TypeError
|
17
|
+
rescue TypeError
|
18
18
|
# Compatibility code: will be removed in the next major version.
|
19
19
|
require 'google/protobuf/descriptor_pb'
|
20
20
|
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
@@ -0,0 +1,88 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: google/events/cloud/metastore/v1/data.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
require 'google/protobuf/timestamp_pb'
|
8
|
+
require 'google/protobuf/wrappers_pb'
|
9
|
+
require 'google/type/dayofweek_pb'
|
10
|
+
|
11
|
+
|
12
|
+
descriptor_data = "\n+google/events/cloud/metastore/v1/data.proto\x12 google.events.cloud.metastore.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1bgoogle/type/dayofweek.proto\"\xb3\x05\n\nFederation\x12\x0c\n\x04name\x18\x01 \x01(\t\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12H\n\x06labels\x18\x04 \x03(\x0b\x32\x38.google.events.cloud.metastore.v1.Federation.LabelsEntry\x12\x0f\n\x07version\x18\x05 \x01(\t\x12_\n\x12\x62\x61\x63kend_metastores\x18\x06 \x03(\x0b\x32\x43.google.events.cloud.metastore.v1.Federation.BackendMetastoresEntry\x12\x14\n\x0c\x65ndpoint_uri\x18\x07 \x01(\t\x12\x41\n\x05state\x18\x08 \x01(\x0e\x32\x32.google.events.cloud.metastore.v1.Federation.State\x12\x15\n\rstate_message\x18\t \x01(\t\x12\x0b\n\x03uid\x18\n \x01(\t\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1al\n\x16\x42\x61\x63kendMetastoresEntry\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\x41\n\x05value\x18\x02 \x01(\x0b\x32\x32.google.events.cloud.metastore.v1.BackendMetastore:\x02\x38\x01\"_\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\x08UPDATING\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\x12\t\n\x05\x45RROR\x10\x05\"\xc3\x01\n\x10\x42\x61\x63kendMetastore\x12\x0c\n\x04name\x18\x01 \x01(\t\x12X\n\x0emetastore_type\x18\x02 \x01(\x0e\x32@.google.events.cloud.metastore.v1.BackendMetastore.MetastoreType\"G\n\rMetastoreType\x12\x1e\n\x1aMETASTORE_TYPE_UNSPECIFIED\x10\x00\x12\x16\n\x12\x44\x41TAPROC_METASTORE\x10\x03\"\xa0\x0c\n\x07Service\x12V\n\x15hive_metastore_config\x18\x05 \x01(\x0b\x32\x35.google.events.cloud.metastore.v1.HiveMetastoreConfigH\x00\x12\x0c\n\x04name\x18\x01 \x01(\t\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x45\n\x06labels\x18\x04 \x03(\x0b\x32\x35.google.events.cloud.metastore.v1.Service.LabelsEntry\x12\x0f\n\x07network\x18\x07 \x01(\t\x12\x14\n\x0c\x65ndpoint_uri\x18\x08 \x01(\t\x12\x0c\n\x04port\x18\t \x01(\x05\x12>\n\x05state\x18\n \x01(\x0e\x32/.google.events.cloud.metastore.v1.Service.State\x12\x15\n\rstate_message\x18\x0b \x01(\t\x12\x18\n\x10\x61rtifact_gcs_uri\x18\x0c \x01(\t\x12<\n\x04tier\x18\r \x01(\x0e\x32..google.events.cloud.metastore.v1.Service.Tier\x12O\n\x12maintenance_window\x18\x0f \x01(\x0b\x32\x33.google.events.cloud.metastore.v1.MaintenanceWindow\x12\x0b\n\x03uid\x18\x10 \x01(\t\x12\x62\n\x1cmetadata_management_activity\x18\x11 \x01(\x0b\x32<.google.events.cloud.metastore.v1.MetadataManagementActivity\x12Q\n\x0frelease_channel\x18\x13 \x01(\x0e\x32\x38.google.events.cloud.metastore.v1.Service.ReleaseChannel\x12M\n\x11\x65ncryption_config\x18\x14 \x01(\x0b\x32\x32.google.events.cloud.metastore.v1.EncryptionConfig\x12G\n\x0enetwork_config\x18\x15 \x01(\x0b\x32/.google.events.cloud.metastore.v1.NetworkConfig\x12M\n\rdatabase_type\x18\x16 \x01(\x0e\x32\x36.google.events.cloud.metastore.v1.Service.DatabaseType\x12K\n\x10telemetry_config\x18\x17 \x01(\x0b\x32\x31.google.events.cloud.metastore.v1.TelemetryConfig\x12G\n\x0escaling_config\x18\x18 \x01(\x0b\x32/.google.events.cloud.metastore.v1.ScalingConfig\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"~\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\x0e\n\nSUSPENDING\x10\x03\x12\r\n\tSUSPENDED\x10\x04\x12\x0c\n\x08UPDATING\x10\x05\x12\x0c\n\x08\x44\x45LETING\x10\x06\x12\t\n\x05\x45RROR\x10\x07\";\n\x04Tier\x12\x14\n\x10TIER_UNSPECIFIED\x10\x00\x12\r\n\tDEVELOPER\x10\x01\x12\x0e\n\nENTERPRISE\x10\x03\"I\n\x0eReleaseChannel\x12\x1f\n\x1bRELEASE_CHANNEL_UNSPECIFIED\x10\x00\x12\n\n\x06\x43\x41NARY\x10\x01\x12\n\n\x06STABLE\x10\x02\"E\n\x0c\x44\x61tabaseType\x12\x1d\n\x19\x44\x41TABASE_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05MYSQL\x10\x01\x12\x0b\n\x07SPANNER\x10\x02\x42\x12\n\x10metastore_config\"r\n\x11MaintenanceWindow\x12\x30\n\x0bhour_of_day\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int32Value\x12+\n\x0b\x64\x61y_of_week\x18\x02 \x01(\x0e\x32\x16.google.type.DayOfWeek\"\xed\x03\n\x13HiveMetastoreConfig\x12\x0f\n\x07version\x18\x01 \x01(\t\x12\x64\n\x10\x63onfig_overrides\x18\x02 \x03(\x0b\x32J.google.events.cloud.metastore.v1.HiveMetastoreConfig.ConfigOverridesEntry\x12I\n\x0fkerberos_config\x18\x03 \x01(\x0b\x32\x30.google.events.cloud.metastore.v1.KerberosConfig\x12h\n\x12\x61uxiliary_versions\x18\x05 \x03(\x0b\x32L.google.events.cloud.metastore.v1.HiveMetastoreConfig.AuxiliaryVersionsEntry\x1a\x36\n\x14\x43onfigOverridesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1ar\n\x16\x41uxiliaryVersionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12G\n\x05value\x18\x02 \x01(\x0b\x32\x38.google.events.cloud.metastore.v1.AuxiliaryVersionConfig:\x02\x38\x01\"z\n\x0eKerberosConfig\x12\x38\n\x06keytab\x18\x01 \x01(\x0b\x32(.google.events.cloud.metastore.v1.Secret\x12\x11\n\tprincipal\x18\x02 \x01(\t\x12\x1b\n\x13krb5_config_gcs_uri\x18\x03 \x01(\t\")\n\x06Secret\x12\x16\n\x0c\x63loud_secret\x18\x02 \x01(\tH\x00\x42\x07\n\x05value\"#\n\x10\x45ncryptionConfig\x12\x0f\n\x07kms_key\x18\x01 \x01(\t\"\x93\x02\n\x16\x41uxiliaryVersionConfig\x12\x0f\n\x07version\x18\x01 \x01(\t\x12g\n\x10\x63onfig_overrides\x18\x02 \x03(\x0b\x32M.google.events.cloud.metastore.v1.AuxiliaryVersionConfig.ConfigOverridesEntry\x12G\n\x0enetwork_config\x18\x03 \x01(\x0b\x32/.google.events.cloud.metastore.v1.NetworkConfig\x1a\x36\n\x14\x43onfigOverridesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xa4\x01\n\rNetworkConfig\x12K\n\tconsumers\x18\x01 \x03(\x0b\x32\x38.google.events.cloud.metastore.v1.NetworkConfig.Consumer\x1a\x46\n\x08\x43onsumer\x12\x14\n\nsubnetwork\x18\x01 \x01(\tH\x00\x12\x14\n\x0c\x65ndpoint_uri\x18\x03 \x01(\tB\x0e\n\x0cvpc_resource\"\xa1\x01\n\x0fTelemetryConfig\x12O\n\nlog_format\x18\x01 \x01(\x0e\x32;.google.events.cloud.metastore.v1.TelemetryConfig.LogFormat\"=\n\tLogFormat\x12\x1a\n\x16LOG_FORMAT_UNSPECIFIED\x10\x00\x12\n\n\x06LEGACY\x10\x01\x12\x08\n\x04JSON\x10\x02\"\xa5\x01\n\x1aMetadataManagementActivity\x12J\n\x10metadata_exports\x18\x01 \x03(\x0b\x32\x30.google.events.cloud.metastore.v1.MetadataExport\x12;\n\x08restores\x18\x02 \x03(\x0b\x32).google.events.cloud.metastore.v1.Restore\"\xe3\x05\n\x0eMetadataImport\x12V\n\rdatabase_dump\x18\x06 \x01(\x0b\x32=.google.events.cloud.metastore.v1.MetadataImport.DatabaseDumpH\x00\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12/\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x45\n\x05state\x18\x05 \x01(\x0e\x32\x36.google.events.cloud.metastore.v1.MetadataImport.State\x1a\x9c\x02\n\x0c\x44\x61tabaseDump\x12\x61\n\rdatabase_type\x18\x01 \x01(\x0e\x32J.google.events.cloud.metastore.v1.MetadataImport.DatabaseDump.DatabaseType\x12\x0f\n\x07gcs_uri\x18\x02 \x01(\t\x12\x17\n\x0fsource_database\x18\x03 \x01(\t\x12\x45\n\x04type\x18\x04 \x01(\x0e\x32\x37.google.events.cloud.metastore.v1.DatabaseDumpSpec.Type\"8\n\x0c\x44\x61tabaseType\x12\x1d\n\x19\x44\x41TABASE_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05MYSQL\x10\x01\"T\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07RUNNING\x10\x01\x12\r\n\tSUCCEEDED\x10\x02\x12\x0c\n\x08UPDATING\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04\x42\n\n\x08metadata\"\x8f\x03\n\x0eMetadataExport\x12\x1d\n\x13\x64\x65stination_gcs_uri\x18\x04 \x01(\tH\x00\x12.\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x45\n\x05state\x18\x03 \x01(\x0e\x32\x36.google.events.cloud.metastore.v1.MetadataExport.State\x12S\n\x12\x64\x61tabase_dump_type\x18\x05 \x01(\x0e\x32\x37.google.events.cloud.metastore.v1.DatabaseDumpSpec.Type\"U\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07RUNNING\x10\x01\x12\r\n\tSUCCEEDED\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\x12\r\n\tCANCELLED\x10\x04\x42\r\n\x0b\x64\x65stination\"\x8d\x03\n\x06\x42\x61\x63kup\x12\x0c\n\x04name\x18\x01 \x01(\t\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12=\n\x05state\x18\x04 \x01(\x0e\x32..google.events.cloud.metastore.v1.Backup.State\x12\x43\n\x10service_revision\x18\x05 \x01(\x0b\x32).google.events.cloud.metastore.v1.Service\x12\x13\n\x0b\x64\x65scription\x18\x06 \x01(\t\x12\x1a\n\x12restoring_services\x18\x07 \x03(\t\"a\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\x0c\n\x08\x44\x45LETING\x10\x02\x12\n\n\x06\x41\x43TIVE\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04\x12\r\n\tRESTORING\x10\x05\"\xae\x03\n\x07Restore\x12.\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x05state\x18\x03 \x01(\x0e\x32/.google.events.cloud.metastore.v1.Restore.State\x12\x0e\n\x06\x62\x61\x63kup\x18\x04 \x01(\t\x12\x43\n\x04type\x18\x05 \x01(\x0e\x32\x35.google.events.cloud.metastore.v1.Restore.RestoreType\x12\x0f\n\x07\x64\x65tails\x18\x06 \x01(\t\"U\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07RUNNING\x10\x01\x12\r\n\tSUCCEEDED\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\x12\r\n\tCANCELLED\x10\x04\"H\n\x0bRestoreType\x12\x1c\n\x18RESTORE_TYPE_UNSPECIFIED\x10\x00\x12\x08\n\x04\x46ULL\x10\x01\x12\x11\n\rMETADATA_ONLY\x10\x02\"\x84\x02\n\rScalingConfig\x12U\n\rinstance_size\x18\x01 \x01(\x0e\x32<.google.events.cloud.metastore.v1.ScalingConfig.InstanceSizeH\x00\x12\x18\n\x0escaling_factor\x18\x02 \x01(\x02H\x00\"q\n\x0cInstanceSize\x12\x1d\n\x19INSTANCE_SIZE_UNSPECIFIED\x10\x00\x12\x0f\n\x0b\x45XTRA_SMALL\x10\x01\x12\t\n\x05SMALL\x10\x02\x12\n\n\x06MEDIUM\x10\x03\x12\t\n\x05LARGE\x10\x04\x12\x0f\n\x0b\x45XTRA_LARGE\x10\x05\x42\x0f\n\rscaling_model\"E\n\x10\x44\x61tabaseDumpSpec\"1\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05MYSQL\x10\x01\x12\x08\n\x04\x41VRO\x10\x02\"\\\n\x17MetadataImportEventData\x12\x41\n\x07payload\x18\x01 \x01(\x0b\x32\x30.google.events.cloud.metastore.v1.MetadataImport\"e\n\x13\x46\x65\x64\x65rationEventData\x12\x42\n\x07payload\x18\x01 \x01(\x0b\x32,.google.events.cloud.metastore.v1.FederationH\x00\x88\x01\x01\x42\n\n\x08_payload\"]\n\x0f\x42\x61\x63kupEventData\x12>\n\x07payload\x18\x01 \x01(\x0b\x32(.google.events.cloud.metastore.v1.BackupH\x00\x88\x01\x01\x42\n\n\x08_payload\"_\n\x10ServiceEventData\x12?\n\x07payload\x18\x01 \x01(\x0b\x32).google.events.cloud.metastore.v1.ServiceH\x00\x88\x01\x01\x42\n\n\x08_payloadBv\xaa\x02)Google.Events.Protobuf.Cloud.Metastore.V1\xca\x02 Google\\Events\\Cloud\\Metastore\\V1\xea\x02$Google::Events::Cloud::Metastore::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
|
+
["google.protobuf.Int32Value", "google/protobuf/wrappers.proto"],
|
29
|
+
]
|
30
|
+
imports.each do |type_name, expected_filename|
|
31
|
+
import_file = pool.lookup(type_name).file_descriptor
|
32
|
+
if import_file.name != expected_filename
|
33
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
34
|
+
end
|
35
|
+
end
|
36
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
37
|
+
warn "This will become an error in the next major version."
|
38
|
+
end
|
39
|
+
|
40
|
+
module Google
|
41
|
+
module Events
|
42
|
+
module Cloud
|
43
|
+
module Metastore
|
44
|
+
module V1
|
45
|
+
Federation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.Federation").msgclass
|
46
|
+
Federation::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.Federation.State").enummodule
|
47
|
+
BackendMetastore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.BackendMetastore").msgclass
|
48
|
+
BackendMetastore::MetastoreType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.BackendMetastore.MetastoreType").enummodule
|
49
|
+
Service = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.Service").msgclass
|
50
|
+
Service::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.Service.State").enummodule
|
51
|
+
Service::Tier = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.Service.Tier").enummodule
|
52
|
+
Service::ReleaseChannel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.Service.ReleaseChannel").enummodule
|
53
|
+
Service::DatabaseType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.Service.DatabaseType").enummodule
|
54
|
+
MaintenanceWindow = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.MaintenanceWindow").msgclass
|
55
|
+
HiveMetastoreConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.HiveMetastoreConfig").msgclass
|
56
|
+
KerberosConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.KerberosConfig").msgclass
|
57
|
+
Secret = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.Secret").msgclass
|
58
|
+
EncryptionConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.EncryptionConfig").msgclass
|
59
|
+
AuxiliaryVersionConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.AuxiliaryVersionConfig").msgclass
|
60
|
+
NetworkConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.NetworkConfig").msgclass
|
61
|
+
NetworkConfig::Consumer = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.NetworkConfig.Consumer").msgclass
|
62
|
+
TelemetryConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.TelemetryConfig").msgclass
|
63
|
+
TelemetryConfig::LogFormat = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.TelemetryConfig.LogFormat").enummodule
|
64
|
+
MetadataManagementActivity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.MetadataManagementActivity").msgclass
|
65
|
+
MetadataImport = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.MetadataImport").msgclass
|
66
|
+
MetadataImport::DatabaseDump = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.MetadataImport.DatabaseDump").msgclass
|
67
|
+
MetadataImport::DatabaseDump::DatabaseType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.MetadataImport.DatabaseDump.DatabaseType").enummodule
|
68
|
+
MetadataImport::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.MetadataImport.State").enummodule
|
69
|
+
MetadataExport = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.MetadataExport").msgclass
|
70
|
+
MetadataExport::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.MetadataExport.State").enummodule
|
71
|
+
Backup = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.Backup").msgclass
|
72
|
+
Backup::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.Backup.State").enummodule
|
73
|
+
Restore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.Restore").msgclass
|
74
|
+
Restore::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.Restore.State").enummodule
|
75
|
+
Restore::RestoreType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.Restore.RestoreType").enummodule
|
76
|
+
ScalingConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.ScalingConfig").msgclass
|
77
|
+
ScalingConfig::InstanceSize = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.ScalingConfig.InstanceSize").enummodule
|
78
|
+
DatabaseDumpSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.DatabaseDumpSpec").msgclass
|
79
|
+
DatabaseDumpSpec::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.DatabaseDumpSpec.Type").enummodule
|
80
|
+
MetadataImportEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.MetadataImportEventData").msgclass
|
81
|
+
FederationEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.FederationEventData").msgclass
|
82
|
+
BackupEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.BackupEventData").msgclass
|
83
|
+
ServiceEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.ServiceEventData").msgclass
|
84
|
+
end
|
85
|
+
end
|
86
|
+
end
|
87
|
+
end
|
88
|
+
end
|
@@ -0,0 +1,57 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: google/events/cloud/metastore/v1/events.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
require 'google/events/cloud/metastore/v1/data_pb'
|
8
|
+
require 'google/events/cloudevent_pb'
|
9
|
+
|
10
|
+
|
11
|
+
descriptor_data = "\n-google/events/cloud/metastore/v1/events.proto\x12 google.events.cloud.metastore.v1\x1a+google/events/cloud/metastore/v1/data.proto\x1a\x1egoogle/events/cloudevent.proto\"\x9f\x01\n\x16\x46\x65\x64\x65rationCreatedEvent\x12\x43\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x35.google.events.cloud.metastore.v1.FederationEventData:@\xb2\xf8\xd8,,google.cloud.metastore.federation.v1.created\xca\xf8\xd8,\nfederation\"\x9f\x01\n\x16\x46\x65\x64\x65rationUpdatedEvent\x12\x43\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x35.google.events.cloud.metastore.v1.FederationEventData:@\xb2\xf8\xd8,,google.cloud.metastore.federation.v1.updated\xca\xf8\xd8,\nfederation\"\x9f\x01\n\x16\x46\x65\x64\x65rationDeletedEvent\x12\x43\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x35.google.events.cloud.metastore.v1.FederationEventData:@\xb2\xf8\xd8,,google.cloud.metastore.federation.v1.deleted\xca\xf8\xd8,\nfederation\"\x93\x01\n\x13ServiceCreatedEvent\x12@\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x32.google.events.cloud.metastore.v1.ServiceEventData::\xb2\xf8\xd8,)google.cloud.metastore.service.v1.created\xca\xf8\xd8,\x07service\"\x93\x01\n\x13ServiceUpdatedEvent\x12@\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x32.google.events.cloud.metastore.v1.ServiceEventData::\xb2\xf8\xd8,)google.cloud.metastore.service.v1.updated\xca\xf8\xd8,\x07service\"\x93\x01\n\x13ServiceDeletedEvent\x12@\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x32.google.events.cloud.metastore.v1.ServiceEventData::\xb2\xf8\xd8,)google.cloud.metastore.service.v1.deleted\xca\xf8\xd8,\x07service\"\xbb\x01\n\x1aMetadataImportCreatedEvent\x12G\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x39.google.events.cloud.metastore.v1.MetadataImportEventData:T\xb2\xf8\xd8,0google.cloud.metastore.metadataImport.v1.created\xca\xf8\xd8,\x07service\xca\xf8\xd8,\x0emetadataimport\"\xbb\x01\n\x1aMetadataImportUpdatedEvent\x12G\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x39.google.events.cloud.metastore.v1.MetadataImportEventData:T\xb2\xf8\xd8,0google.cloud.metastore.metadataImport.v1.updated\xca\xf8\xd8,\x07service\xca\xf8\xd8,\x0emetadataimport\"\x9b\x01\n\x12\x42\x61\x63kupCreatedEvent\x12?\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x31.google.events.cloud.metastore.v1.BackupEventData:D\xb2\xf8\xd8,(google.cloud.metastore.backup.v1.created\xca\xf8\xd8,\x07service\xca\xf8\xd8,\x06\x62\x61\x63kup\"\x9b\x01\n\x12\x42\x61\x63kupDeletedEvent\x12?\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x31.google.events.cloud.metastore.v1.BackupEventData:D\xb2\xf8\xd8,(google.cloud.metastore.backup.v1.deleted\xca\xf8\xd8,\x07service\xca\xf8\xd8,\x06\x62\x61\x63kupB\xbf\x03\xaa\x02)Google.Events.Protobuf.Cloud.Metastore.V1\xca\x02 Google\\Events\\Cloud\\Metastore\\V1\xea\x02$Google::Events::Cloud::Metastore::V1\xba\xf8\xd8,\x12\x44\x61taproc Metastore\xc2\xf8\xd8,E\n\nfederation\x12\x37The resource ID of the Federation triggering the event.\xc2\xf8\xd8,?\n\x07service\x12\x34The resource ID of the Service triggering the event.\xc2\xf8\xd8,]\n\x0emetadataimport\x12;The resource ID of the MetadataImport triggering the event.\x1a\x0emetadataImport\xc2\xf8\xd8,=\n\x06\x62\x61\x63kup\x12\x33The resource ID of the Backup triggering the event.b\x06proto3"
|
12
|
+
|
13
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
14
|
+
|
15
|
+
begin
|
16
|
+
pool.add_serialized_file(descriptor_data)
|
17
|
+
rescue TypeError
|
18
|
+
# Compatibility code: will be removed in the next major version.
|
19
|
+
require 'google/protobuf/descriptor_pb'
|
20
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
21
|
+
parsed.clear_dependency
|
22
|
+
serialized = parsed.class.encode(parsed)
|
23
|
+
file = pool.add_serialized_file(serialized)
|
24
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
25
|
+
imports = [
|
26
|
+
["google.events.cloud.metastore.v1.FederationEventData", "google/events/cloud/metastore/v1/data.proto"],
|
27
|
+
]
|
28
|
+
imports.each do |type_name, expected_filename|
|
29
|
+
import_file = pool.lookup(type_name).file_descriptor
|
30
|
+
if import_file.name != expected_filename
|
31
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
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 Events
|
40
|
+
module Cloud
|
41
|
+
module Metastore
|
42
|
+
module V1
|
43
|
+
FederationCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.FederationCreatedEvent").msgclass
|
44
|
+
FederationUpdatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.FederationUpdatedEvent").msgclass
|
45
|
+
FederationDeletedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.FederationDeletedEvent").msgclass
|
46
|
+
ServiceCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.ServiceCreatedEvent").msgclass
|
47
|
+
ServiceUpdatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.ServiceUpdatedEvent").msgclass
|
48
|
+
ServiceDeletedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.ServiceDeletedEvent").msgclass
|
49
|
+
MetadataImportCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.MetadataImportCreatedEvent").msgclass
|
50
|
+
MetadataImportUpdatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.MetadataImportUpdatedEvent").msgclass
|
51
|
+
BackupCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.BackupCreatedEvent").msgclass
|
52
|
+
BackupDeletedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.metastore.v1.BackupDeletedEvent").msgclass
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
@@ -0,0 +1,76 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: google/events/cloud/networkconnectivity/v1/data.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
require 'google/protobuf/timestamp_pb'
|
8
|
+
require 'google/rpc/status_pb'
|
9
|
+
|
10
|
+
|
11
|
+
descriptor_data = "\n5google/events/cloud/networkconnectivity/v1/data.proto\x12*google.events.cloud.networkconnectivity.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"\xb7\x0c\n\x14ServiceConnectionMap\x12\x0c\n\x04name\x18\x01 \x01(\t\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\\\n\x06labels\x18\x04 \x03(\x0b\x32L.google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.LabelsEntry\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12\x15\n\rservice_class\x18\x07 \x01(\t\x12\x19\n\x11service_class_uri\x18\x0c \x01(\t\x12R\n\x0einfrastructure\x18\x08 \x01(\x0e\x32:.google.events.cloud.networkconnectivity.v1.Infrastructure\x12p\n\x14producer_psc_configs\x18\t \x03(\x0b\x32R.google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ProducerPscConfig\x12p\n\x14\x63onsumer_psc_configs\x18\n \x03(\x0b\x32R.google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ConsumerPscConfig\x12x\n\x18\x63onsumer_psc_connections\x18\x0b \x03(\x0b\x32V.google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ConsumerPscConnection\x1a\x33\n\x11ProducerPscConfig\x12\x1e\n\x16service_attachment_uri\x18\x01 \x01(\t\x1a\x87\x02\n\x11\x43onsumerPscConfig\x12\x0f\n\x07project\x18\x01 \x01(\t\x12\x0f\n\x07network\x18\x02 \x01(\t\x12\x1d\n\x15\x64isable_global_access\x18\x03 \x01(\x08\x12g\n\x05state\x18\x04 \x01(\x0e\x32X.google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ConsumerPscConfig.State\"H\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\t\n\x05VALID\x10\x01\x12\x1d\n\x19\x43ONNECTION_POLICY_MISSING\x10\x02\x1a\xe9\x03\n\x15\x43onsumerPscConnection\x12\x1e\n\x16service_attachment_uri\x18\x01 \x01(\t\x12k\n\x05state\x18\x02 \x01(\x0e\x32\\.google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ConsumerPscConnection.State\x12\x0f\n\x07project\x18\x03 \x01(\t\x12\x0f\n\x07network\x18\x04 \x01(\t\x12\x19\n\x11psc_connection_id\x18\x05 \x01(\t\x12\n\n\x02ip\x18\x06 \x01(\t\x12S\n\nerror_type\x18\x07 \x01(\x0e\x32?.google.events.cloud.networkconnectivity.v1.ConnectionErrorType\x12!\n\x05\x65rror\x18\x08 \x01(\x0b\x32\x12.google.rpc.Status\x12\x15\n\rgce_operation\x18\t \x01(\t\x12\x17\n\x0f\x66orwarding_rule\x18\n \x01(\t\"R\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\x12\x0c\n\x08\x43REATING\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x80\t\n\x17ServiceConnectionPolicy\x12\x0c\n\x04name\x18\x01 \x01(\t\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12_\n\x06labels\x18\x04 \x03(\x0b\x32O.google.events.cloud.networkconnectivity.v1.ServiceConnectionPolicy.LabelsEntry\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12\x0f\n\x07network\x18\x06 \x01(\t\x12\x15\n\rservice_class\x18\x07 \x01(\t\x12R\n\x0einfrastructure\x18\x08 \x01(\x0e\x32:.google.events.cloud.networkconnectivity.v1.Infrastructure\x12\x61\n\npsc_config\x18\t \x01(\x0b\x32M.google.events.cloud.networkconnectivity.v1.ServiceConnectionPolicy.PscConfig\x12j\n\x0fpsc_connections\x18\n \x03(\x0b\x32Q.google.events.cloud.networkconnectivity.v1.ServiceConnectionPolicy.PscConnection\x1a>\n\tPscConfig\x12\x13\n\x0bsubnetworks\x18\x01 \x03(\t\x12\x12\n\x05limit\x18\x02 \x01(\x03H\x00\x88\x01\x01\x42\x08\n\x06_limit\x1a\xf0\x02\n\rPscConnection\x12X\n\x05state\x18\x01 \x01(\x0e\x32I.google.events.cloud.networkconnectivity.v1.ServiceConnectionPolicy.State\x12 \n\x18\x63onsumer_forwarding_rule\x18\x02 \x01(\t\x12\x18\n\x10\x63onsumer_address\x18\x03 \x01(\t\x12S\n\nerror_type\x18\x04 \x01(\x0e\x32?.google.events.cloud.networkconnectivity.v1.ConnectionErrorType\x12!\n\x05\x65rror\x18\x05 \x01(\x0b\x32\x12.google.rpc.Status\x12\x15\n\rgce_operation\x18\x06 \x01(\t\x12\x1f\n\x17\x63onsumer_target_project\x18\x07 \x01(\t\x12\x19\n\x11psc_connection_id\x18\x08 \x01(\t\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"R\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\x12\x0c\n\x08\x43REATING\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\"\xd0\x02\n\x0cServiceClass\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x15\n\rservice_class\x18\x07 \x01(\t\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12T\n\x06labels\x18\x04 \x03(\x0b\x32\x44.google.events.cloud.networkconnectivity.v1.ServiceClass.LabelsEntry\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12\x1f\n\x17service_connection_maps\x18\x06 \x03(\t\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xbd\x02\n\x16ServiceConnectionToken\x12\x0c\n\x04name\x18\x01 \x01(\t\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12^\n\x06labels\x18\x04 \x03(\x0b\x32N.google.events.cloud.networkconnectivity.v1.ServiceConnectionToken.LabelsEntry\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12\x0f\n\x07network\x18\x06 \x01(\t\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xa9\x03\n\x03Hub\x12\x0c\n\x04name\x18\x01 \x01(\t\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12K\n\x06labels\x18\x04 \x03(\x0b\x32;.google.events.cloud.networkconnectivity.v1.Hub.LabelsEntry\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12\x11\n\tunique_id\x18\x08 \x01(\t\x12@\n\x05state\x18\t \x01(\x0e\x32\x31.google.events.cloud.networkconnectivity.v1.State\x12L\n\x0crouting_vpcs\x18\n \x03(\x0b\x32\x36.google.events.cloud.networkconnectivity.v1.RoutingVPC\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"U\n\nRoutingVPC\x12\x0b\n\x03uri\x18\x01 \x01(\t\x12:\n2required_for_new_site_to_site_data_transfer_spokes\x18\x02 \x01(\x08\"\xb1\x05\n\x05Spoke\x12\x0c\n\x04name\x18\x01 \x01(\t\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12M\n\x06labels\x18\x04 \x03(\x0b\x32=.google.events.cloud.networkconnectivity.v1.Spoke.LabelsEntry\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12\x0b\n\x03hub\x18\x06 \x01(\t\x12X\n\x12linked_vpn_tunnels\x18\x11 \x01(\x0b\x32<.google.events.cloud.networkconnectivity.v1.LinkedVpnTunnels\x12r\n\x1flinked_interconnect_attachments\x18\x12 \x01(\x0b\x32I.google.events.cloud.networkconnectivity.v1.LinkedInterconnectAttachments\x12u\n!linked_router_appliance_instances\x18\x13 \x01(\x0b\x32J.google.events.cloud.networkconnectivity.v1.LinkedRouterApplianceInstances\x12\x11\n\tunique_id\x18\x0b \x01(\t\x12@\n\x05state\x18\x0f \x01(\x0e\x32\x31.google.events.cloud.networkconnectivity.v1.State\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"Y\n\x10LinkedVpnTunnels\x12\x0c\n\x04uris\x18\x01 \x03(\t\x12\"\n\x1asite_to_site_data_transfer\x18\x02 \x01(\x08\x12\x13\n\x0bvpc_network\x18\x03 \x01(\t\"f\n\x1dLinkedInterconnectAttachments\x12\x0c\n\x04uris\x18\x01 \x03(\t\x12\"\n\x1asite_to_site_data_transfer\x18\x02 \x01(\x08\x12\x13\n\x0bvpc_network\x18\x03 \x01(\t\"\xb1\x01\n\x1eLinkedRouterApplianceInstances\x12V\n\tinstances\x18\x01 \x03(\x0b\x32\x43.google.events.cloud.networkconnectivity.v1.RouterApplianceInstance\x12\"\n\x1asite_to_site_data_transfer\x18\x02 \x01(\x08\x12\x13\n\x0bvpc_network\x18\x03 \x01(\t\"F\n\x17RouterApplianceInstance\x12\x17\n\x0fvirtual_machine\x18\x01 \x01(\t\x12\x12\n\nip_address\x18\x03 \x01(\t\"s\n\x15ServiceClassEventData\x12N\n\x07payload\x18\x01 \x01(\x0b\x32\x38.google.events.cloud.networkconnectivity.v1.ServiceClassH\x00\x88\x01\x01\x42\n\n\x08_payload\"\x87\x01\n\x1fServiceConnectionTokenEventData\x12X\n\x07payload\x18\x01 \x01(\x0b\x32\x42.google.events.cloud.networkconnectivity.v1.ServiceConnectionTokenH\x00\x88\x01\x01\x42\n\n\x08_payload\"\x83\x01\n\x1dServiceConnectionMapEventData\x12V\n\x07payload\x18\x01 \x01(\x0b\x32@.google.events.cloud.networkconnectivity.v1.ServiceConnectionMapH\x00\x88\x01\x01\x42\n\n\x08_payload\"a\n\x0cHubEventData\x12\x45\n\x07payload\x18\x01 \x01(\x0b\x32/.google.events.cloud.networkconnectivity.v1.HubH\x00\x88\x01\x01\x42\n\n\x08_payload\"e\n\x0eSpokeEventData\x12G\n\x07payload\x18\x01 \x01(\x0b\x32\x31.google.events.cloud.networkconnectivity.v1.SpokeH\x00\x88\x01\x01\x42\n\n\x08_payload\"\x89\x01\n ServiceConnectionPolicyEventData\x12Y\n\x07payload\x18\x01 \x01(\x0b\x32\x43.google.events.cloud.networkconnectivity.v1.ServiceConnectionPolicyH\x00\x88\x01\x01\x42\n\n\x08_payload*9\n\x0eInfrastructure\x12\x1e\n\x1aINFRASTRUCTURE_UNSPECIFIED\x10\x00\x12\x07\n\x03PSC\x10\x01*\x82\x01\n\x13\x43onnectionErrorType\x12%\n!CONNECTION_ERROR_TYPE_UNSPECIFIED\x10\x00\x12\x12\n\x0e\x45RROR_INTERNAL\x10\x01\x12\x17\n\x13\x45RROR_CONSUMER_SIDE\x10\x02\x12\x17\n\x13\x45RROR_PRODUCER_SIDE\x10\x03*T\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\x0c\n\x08UPDATING\x10\x06\x42\x94\x01\xaa\x02\x33Google.Events.Protobuf.Cloud.NetworkConnectivity.V1\xca\x02*Google\\Events\\Cloud\\NetworkConnectivity\\V1\xea\x02.Google::Events::Cloud::NetworkConnectivity::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
|
+
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
27
|
+
["google.rpc.Status", "google/rpc/status.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 Events
|
41
|
+
module Cloud
|
42
|
+
module NetworkConnectivity
|
43
|
+
module V1
|
44
|
+
ServiceConnectionMap = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.networkconnectivity.v1.ServiceConnectionMap").msgclass
|
45
|
+
ServiceConnectionMap::ProducerPscConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ProducerPscConfig").msgclass
|
46
|
+
ServiceConnectionMap::ConsumerPscConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ConsumerPscConfig").msgclass
|
47
|
+
ServiceConnectionMap::ConsumerPscConfig::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ConsumerPscConfig.State").enummodule
|
48
|
+
ServiceConnectionMap::ConsumerPscConnection = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ConsumerPscConnection").msgclass
|
49
|
+
ServiceConnectionMap::ConsumerPscConnection::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.networkconnectivity.v1.ServiceConnectionMap.ConsumerPscConnection.State").enummodule
|
50
|
+
ServiceConnectionPolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.networkconnectivity.v1.ServiceConnectionPolicy").msgclass
|
51
|
+
ServiceConnectionPolicy::PscConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.networkconnectivity.v1.ServiceConnectionPolicy.PscConfig").msgclass
|
52
|
+
ServiceConnectionPolicy::PscConnection = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.networkconnectivity.v1.ServiceConnectionPolicy.PscConnection").msgclass
|
53
|
+
ServiceConnectionPolicy::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.networkconnectivity.v1.ServiceConnectionPolicy.State").enummodule
|
54
|
+
ServiceClass = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.networkconnectivity.v1.ServiceClass").msgclass
|
55
|
+
ServiceConnectionToken = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.networkconnectivity.v1.ServiceConnectionToken").msgclass
|
56
|
+
Hub = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.networkconnectivity.v1.Hub").msgclass
|
57
|
+
RoutingVPC = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.networkconnectivity.v1.RoutingVPC").msgclass
|
58
|
+
Spoke = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.networkconnectivity.v1.Spoke").msgclass
|
59
|
+
LinkedVpnTunnels = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.networkconnectivity.v1.LinkedVpnTunnels").msgclass
|
60
|
+
LinkedInterconnectAttachments = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.networkconnectivity.v1.LinkedInterconnectAttachments").msgclass
|
61
|
+
LinkedRouterApplianceInstances = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.networkconnectivity.v1.LinkedRouterApplianceInstances").msgclass
|
62
|
+
RouterApplianceInstance = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.networkconnectivity.v1.RouterApplianceInstance").msgclass
|
63
|
+
ServiceClassEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.networkconnectivity.v1.ServiceClassEventData").msgclass
|
64
|
+
ServiceConnectionTokenEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.networkconnectivity.v1.ServiceConnectionTokenEventData").msgclass
|
65
|
+
ServiceConnectionMapEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.networkconnectivity.v1.ServiceConnectionMapEventData").msgclass
|
66
|
+
HubEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.networkconnectivity.v1.HubEventData").msgclass
|
67
|
+
SpokeEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.networkconnectivity.v1.SpokeEventData").msgclass
|
68
|
+
ServiceConnectionPolicyEventData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.networkconnectivity.v1.ServiceConnectionPolicyEventData").msgclass
|
69
|
+
Infrastructure = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.networkconnectivity.v1.Infrastructure").enummodule
|
70
|
+
ConnectionErrorType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.networkconnectivity.v1.ConnectionErrorType").enummodule
|
71
|
+
State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.networkconnectivity.v1.State").enummodule
|
72
|
+
end
|
73
|
+
end
|
74
|
+
end
|
75
|
+
end
|
76
|
+
end
|