google-events 0.2.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (90) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +22 -0
  3. data/lib/google/events/cloud/alloydb/v1/data_pb.rb +85 -0
  4. data/lib/google/events/cloud/alloydb/v1/events_pb.rb +56 -0
  5. data/lib/google/events/cloud/apigateway/v1/data_pb.rb +25 -77
  6. data/lib/google/events/cloud/apigateway/v1/events_pb.rb +25 -28
  7. data/lib/google/events/cloud/apigeeregistry/v1/data_pb.rb +25 -90
  8. data/lib/google/events/cloud/apigeeregistry/v1/events_pb.rb +25 -43
  9. data/lib/google/events/cloud/audit/v1/data_pb.rb +29 -91
  10. data/lib/google/events/cloud/audit/v1/events_pb.rb +25 -4
  11. data/lib/google/events/cloud/beyondcorp/appconnections/v1/data_pb.rb +25 -44
  12. data/lib/google/events/cloud/beyondcorp/appconnections/v1/events_pb.rb +25 -10
  13. data/lib/google/events/cloud/beyondcorp/appconnectors/v1/data_pb.rb +25 -44
  14. data/lib/google/events/cloud/beyondcorp/appconnectors/v1/events_pb.rb +25 -10
  15. data/lib/google/events/cloud/beyondcorp/appgateways/v1/data_pb.rb +25 -37
  16. data/lib/google/events/cloud/beyondcorp/appgateways/v1/events_pb.rb +25 -7
  17. data/lib/google/events/cloud/beyondcorp/clientconnectorservices/v1/data_pb.rb +25 -47
  18. data/lib/google/events/cloud/beyondcorp/clientconnectorservices/v1/events_pb.rb +25 -10
  19. data/lib/google/events/cloud/beyondcorp/clientgateways/v1/data_pb.rb +25 -21
  20. data/lib/google/events/cloud/beyondcorp/clientgateways/v1/events_pb.rb +25 -7
  21. data/lib/google/events/cloud/certificatemanager/v1/data_pb.rb +26 -157
  22. data/lib/google/events/cloud/certificatemanager/v1/events_pb.rb +25 -43
  23. data/lib/google/events/cloud/cloudbuild/v1/data_pb.rb +26 -162
  24. data/lib/google/events/cloud/cloudbuild/v1/events_pb.rb +25 -4
  25. data/lib/google/events/cloud/clouddms/v1/data_pb.rb +28 -241
  26. data/lib/google/events/cloud/clouddms/v1/events_pb.rb +25 -19
  27. data/lib/google/events/cloud/dataflow/v1beta3/data_pb.rb +26 -195
  28. data/lib/google/events/cloud/dataflow/v1beta3/events_pb.rb +25 -4
  29. data/lib/google/events/cloud/datafusion/v1/data_pb.rb +25 -107
  30. data/lib/google/events/cloud/datafusion/v1/events_pb.rb +25 -16
  31. data/lib/google/events/cloud/dataplex/v1/data_pb.rb +26 -603
  32. data/lib/google/events/cloud/dataplex/v1/events_pb.rb +25 -82
  33. data/lib/google/events/cloud/datastore/v1/data_pb.rb +59 -0
  34. data/lib/google/events/cloud/datastore/v1/events_pb.rb +51 -0
  35. data/lib/google/events/cloud/datastream/v1/data_pb.rb +26 -291
  36. data/lib/google/events/cloud/datastream/v1/events_pb.rb +25 -31
  37. data/lib/google/events/cloud/eventarc/v1/data_pb.rb +25 -89
  38. data/lib/google/events/cloud/eventarc/v1/events_pb.rb +25 -25
  39. data/lib/google/events/cloud/firestore/v1/data_pb.rb +26 -36
  40. data/lib/google/events/cloud/firestore/v1/events_pb.rb +25 -13
  41. data/lib/google/events/cloud/functions/v2/data_pb.rb +25 -155
  42. data/lib/google/events/cloud/functions/v2/events_pb.rb +25 -10
  43. data/lib/google/events/cloud/gkebackup/v1/data_pb.rb +25 -189
  44. data/lib/google/events/cloud/gkebackup/v1/events_pb.rb +25 -37
  45. data/lib/google/events/cloud/gkehub/v1/data_pb.rb +79 -0
  46. data/lib/google/events/cloud/gkehub/v1/events_pb.rb +58 -0
  47. data/lib/google/events/cloud/iot/v1/data_pb.rb +26 -132
  48. data/lib/google/events/cloud/iot/v1/events_pb.rb +25 -19
  49. data/lib/google/events/cloud/memcache/v1/data_pb.rb +27 -83
  50. data/lib/google/events/cloud/memcache/v1/events_pb.rb +25 -10
  51. data/lib/google/events/cloud/metastore/v1/data_pb.rb +88 -0
  52. data/lib/google/events/cloud/metastore/v1/events_pb.rb +57 -0
  53. data/lib/google/events/cloud/networkconnectivity/v1/data_pb.rb +76 -0
  54. data/lib/google/events/cloud/networkconnectivity/v1/events_pb.rb +63 -0
  55. data/lib/google/events/cloud/networkmanagement/v1/data_pb.rb +93 -0
  56. data/lib/google/events/cloud/networkmanagement/v1/events_pb.rb +50 -0
  57. data/lib/google/events/cloud/notebooks/v1/data_pb.rb +100 -0
  58. data/lib/google/events/cloud/notebooks/v1/events_pb.rb +58 -0
  59. data/lib/google/events/cloud/pubsub/v1/data_pb.rb +25 -12
  60. data/lib/google/events/cloud/pubsub/v1/events_pb.rb +25 -4
  61. data/lib/google/events/cloud/redis/v1/data_pb.rb +67 -0
  62. data/lib/google/events/cloud/redis/v1/events_pb.rb +50 -0
  63. data/lib/google/events/cloud/scheduler/v1/data_pb.rb +24 -4
  64. data/lib/google/events/cloud/scheduler/v1/events_pb.rb +25 -4
  65. data/lib/google/events/cloud/storage/v1/data_pb.rb +25 -36
  66. data/lib/google/events/cloud/storage/v1/events_pb.rb +25 -13
  67. data/lib/google/events/cloud/video/transcoder/v1/data_pb.rb +96 -0
  68. data/lib/google/events/cloud/video/transcoder/v1/events_pb.rb +53 -0
  69. data/lib/google/events/cloud/visionai/v1/data_pb.rb +123 -0
  70. data/lib/google/events/cloud/visionai/v1/events_pb.rb +74 -0
  71. data/lib/google/events/cloud/vmmigration/v1/data_pb.rb +121 -0
  72. data/lib/google/events/cloud/vmmigration/v1/events_pb.rb +65 -0
  73. data/lib/google/events/cloud/workflows/v1/data_pb.rb +25 -22
  74. data/lib/google/events/cloud/workflows/v1/events_pb.rb +25 -10
  75. data/lib/google/events/cloudevent_pb.rb +24 -6
  76. data/lib/google/events/firebase/analytics/v1/data_pb.rb +24 -76
  77. data/lib/google/events/firebase/analytics/v1/events_pb.rb +25 -4
  78. data/lib/google/events/firebase/auth/v1/data_pb.rb +26 -24
  79. data/lib/google/events/firebase/auth/v1/events_pb.rb +25 -7
  80. data/lib/google/events/firebase/database/v1/data_pb.rb +25 -5
  81. data/lib/google/events/firebase/database/v1/events_pb.rb +25 -13
  82. data/lib/google/events/firebase/firebasealerts/v1/cloud_event_payload_pb.rb +26 -79
  83. data/lib/google/events/firebase/firebasealerts/v1/data_pb.rb +26 -6
  84. data/lib/google/events/firebase/firebasealerts/v1/events_pb.rb +25 -4
  85. data/lib/google/events/firebase/remoteconfig/v1/data_pb.rb +25 -27
  86. data/lib/google/events/firebase/remoteconfig/v1/events_pb.rb +25 -4
  87. data/lib/google/events/firebase/testlab/v1/data_pb.rb +25 -35
  88. data/lib/google/events/firebase/testlab/v1/events_pb.rb +25 -4
  89. data/lib/google/events/version.rb +1 -1
  90. metadata +24 -2
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/events/cloud/iot/v1/data.proto
3
4
 
@@ -6,140 +7,33 @@ require 'google/protobuf'
6
7
  require 'google/protobuf/timestamp_pb'
7
8
  require 'google/rpc/status_pb'
8
9
 
9
- Google::Protobuf::DescriptorPool.generated_pool.build do
10
- add_file("google/events/cloud/iot/v1/data.proto", :syntax => :proto3) do
11
- add_message "google.events.cloud.iot.v1.Device" do
12
- optional :id, :string, 1
13
- optional :name, :string, 2
14
- optional :num_id, :uint64, 3
15
- repeated :credentials, :message, 12, "google.events.cloud.iot.v1.DeviceCredential"
16
- optional :last_heartbeat_time, :message, 7, "google.protobuf.Timestamp"
17
- optional :last_event_time, :message, 8, "google.protobuf.Timestamp"
18
- optional :last_state_time, :message, 20, "google.protobuf.Timestamp"
19
- optional :last_config_ack_time, :message, 14, "google.protobuf.Timestamp"
20
- optional :last_config_send_time, :message, 18, "google.protobuf.Timestamp"
21
- optional :blocked, :bool, 19
22
- optional :last_error_time, :message, 10, "google.protobuf.Timestamp"
23
- optional :last_error_status, :message, 11, "google.rpc.Status"
24
- optional :config, :message, 13, "google.events.cloud.iot.v1.DeviceConfig"
25
- optional :state, :message, 16, "google.events.cloud.iot.v1.DeviceState"
26
- optional :log_level, :enum, 21, "google.events.cloud.iot.v1.LogLevel"
27
- map :metadata, :string, :string, 17
28
- optional :gateway_config, :message, 24, "google.events.cloud.iot.v1.GatewayConfig"
29
- end
30
- add_message "google.events.cloud.iot.v1.GatewayConfig" do
31
- optional :gateway_type, :enum, 1, "google.events.cloud.iot.v1.GatewayType"
32
- optional :gateway_auth_method, :enum, 2, "google.events.cloud.iot.v1.GatewayAuthMethod"
33
- optional :last_accessed_gateway_id, :string, 3
34
- optional :last_accessed_gateway_time, :message, 4, "google.protobuf.Timestamp"
35
- end
36
- add_message "google.events.cloud.iot.v1.DeviceRegistry" do
37
- optional :id, :string, 1
38
- optional :name, :string, 2
39
- repeated :event_notification_configs, :message, 10, "google.events.cloud.iot.v1.EventNotificationConfig"
40
- optional :state_notification_config, :message, 7, "google.events.cloud.iot.v1.StateNotificationConfig"
41
- optional :mqtt_config, :message, 4, "google.events.cloud.iot.v1.MqttConfig"
42
- optional :http_config, :message, 9, "google.events.cloud.iot.v1.HttpConfig"
43
- optional :log_level, :enum, 11, "google.events.cloud.iot.v1.LogLevel"
44
- repeated :credentials, :message, 8, "google.events.cloud.iot.v1.RegistryCredential"
45
- end
46
- add_message "google.events.cloud.iot.v1.MqttConfig" do
47
- optional :mqtt_enabled_state, :enum, 1, "google.events.cloud.iot.v1.MqttState"
48
- end
49
- add_message "google.events.cloud.iot.v1.HttpConfig" do
50
- optional :http_enabled_state, :enum, 1, "google.events.cloud.iot.v1.HttpState"
51
- end
52
- add_message "google.events.cloud.iot.v1.EventNotificationConfig" do
53
- optional :subfolder_matches, :string, 2
54
- optional :pubsub_topic_name, :string, 1
55
- end
56
- add_message "google.events.cloud.iot.v1.StateNotificationConfig" do
57
- optional :pubsub_topic_name, :string, 1
58
- end
59
- add_message "google.events.cloud.iot.v1.RegistryCredential" do
60
- oneof :credential do
61
- optional :public_key_certificate, :message, 1, "google.events.cloud.iot.v1.PublicKeyCertificate"
62
- end
63
- end
64
- add_message "google.events.cloud.iot.v1.X509CertificateDetails" do
65
- optional :issuer, :string, 1
66
- optional :subject, :string, 2
67
- optional :start_time, :message, 3, "google.protobuf.Timestamp"
68
- optional :expiry_time, :message, 4, "google.protobuf.Timestamp"
69
- optional :signature_algorithm, :string, 5
70
- optional :public_key_type, :string, 6
71
- end
72
- add_message "google.events.cloud.iot.v1.PublicKeyCertificate" do
73
- optional :format, :enum, 1, "google.events.cloud.iot.v1.PublicKeyCertificateFormat"
74
- optional :certificate, :string, 2
75
- optional :x509_details, :message, 3, "google.events.cloud.iot.v1.X509CertificateDetails"
76
- end
77
- add_message "google.events.cloud.iot.v1.DeviceCredential" do
78
- optional :expiration_time, :message, 6, "google.protobuf.Timestamp"
79
- oneof :credential do
80
- optional :public_key, :message, 2, "google.events.cloud.iot.v1.PublicKeyCredential"
81
- end
82
- end
83
- add_message "google.events.cloud.iot.v1.PublicKeyCredential" do
84
- optional :format, :enum, 1, "google.events.cloud.iot.v1.PublicKeyFormat"
85
- optional :key, :string, 2
86
- end
87
- add_message "google.events.cloud.iot.v1.DeviceConfig" do
88
- optional :version, :int64, 1
89
- optional :cloud_update_time, :message, 2, "google.protobuf.Timestamp"
90
- optional :device_ack_time, :message, 3, "google.protobuf.Timestamp"
91
- optional :binary_data, :bytes, 4
92
- end
93
- add_message "google.events.cloud.iot.v1.DeviceState" do
94
- optional :update_time, :message, 1, "google.protobuf.Timestamp"
95
- optional :binary_data, :bytes, 2
96
- end
97
- add_message "google.events.cloud.iot.v1.DeviceEventData" do
98
- proto3_optional :payload, :message, 1, "google.events.cloud.iot.v1.Device"
99
- end
100
- add_message "google.events.cloud.iot.v1.RegistryEventData" do
101
- proto3_optional :payload, :message, 1, "google.events.cloud.iot.v1.DeviceRegistry"
102
- end
103
- add_enum "google.events.cloud.iot.v1.MqttState" do
104
- value :MQTT_STATE_UNSPECIFIED, 0
105
- value :MQTT_ENABLED, 1
106
- value :MQTT_DISABLED, 2
107
- end
108
- add_enum "google.events.cloud.iot.v1.HttpState" do
109
- value :HTTP_STATE_UNSPECIFIED, 0
110
- value :HTTP_ENABLED, 1
111
- value :HTTP_DISABLED, 2
112
- end
113
- add_enum "google.events.cloud.iot.v1.LogLevel" do
114
- value :LOG_LEVEL_UNSPECIFIED, 0
115
- value :NONE, 10
116
- value :ERROR, 20
117
- value :INFO, 30
118
- value :DEBUG, 40
119
- end
120
- add_enum "google.events.cloud.iot.v1.GatewayType" do
121
- value :GATEWAY_TYPE_UNSPECIFIED, 0
122
- value :GATEWAY, 1
123
- value :NON_GATEWAY, 2
124
- end
125
- add_enum "google.events.cloud.iot.v1.GatewayAuthMethod" do
126
- value :GATEWAY_AUTH_METHOD_UNSPECIFIED, 0
127
- value :ASSOCIATION_ONLY, 1
128
- value :DEVICE_AUTH_TOKEN_ONLY, 2
129
- value :ASSOCIATION_AND_DEVICE_AUTH_TOKEN, 3
130
- end
131
- add_enum "google.events.cloud.iot.v1.PublicKeyCertificateFormat" do
132
- value :UNSPECIFIED_PUBLIC_KEY_CERTIFICATE_FORMAT, 0
133
- value :X509_CERTIFICATE_PEM, 1
134
- end
135
- add_enum "google.events.cloud.iot.v1.PublicKeyFormat" do
136
- value :UNSPECIFIED_PUBLIC_KEY_FORMAT, 0
137
- value :RSA_PEM, 3
138
- value :RSA_X509_PEM, 1
139
- value :ES256_PEM, 2
140
- value :ES256_X509_PEM, 4
10
+
11
+ descriptor_data = "\n%google/events/cloud/iot/v1/data.proto\x12\x1agoogle.events.cloud.iot.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"\xe5\x06\n\x06\x44\x65vice\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0e\n\x06num_id\x18\x03 \x01(\x04\x12\x41\n\x0b\x63redentials\x18\x0c \x03(\x0b\x32,.google.events.cloud.iot.v1.DeviceCredential\x12\x37\n\x13last_heartbeat_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\x0flast_event_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\x0flast_state_time\x18\x14 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x38\n\x14last_config_ack_time\x18\x0e \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x39\n\x15last_config_send_time\x18\x12 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0f\n\x07\x62locked\x18\x13 \x01(\x08\x12\x33\n\x0flast_error_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12-\n\x11last_error_status\x18\x0b \x01(\x0b\x32\x12.google.rpc.Status\x12\x38\n\x06\x63onfig\x18\r \x01(\x0b\x32(.google.events.cloud.iot.v1.DeviceConfig\x12\x36\n\x05state\x18\x10 \x01(\x0b\x32\'.google.events.cloud.iot.v1.DeviceState\x12\x37\n\tlog_level\x18\x15 \x01(\x0e\x32$.google.events.cloud.iot.v1.LogLevel\x12\x42\n\x08metadata\x18\x11 \x03(\x0b\x32\x30.google.events.cloud.iot.v1.Device.MetadataEntry\x12\x41\n\x0egateway_config\x18\x18 \x01(\x0b\x32).google.events.cloud.iot.v1.GatewayConfig\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xfc\x01\n\rGatewayConfig\x12=\n\x0cgateway_type\x18\x01 \x01(\x0e\x32\'.google.events.cloud.iot.v1.GatewayType\x12J\n\x13gateway_auth_method\x18\x02 \x01(\x0e\x32-.google.events.cloud.iot.v1.GatewayAuthMethod\x12 \n\x18last_accessed_gateway_id\x18\x03 \x01(\t\x12>\n\x1alast_accessed_gateway_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xd3\x03\n\x0e\x44\x65viceRegistry\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12W\n\x1a\x65vent_notification_configs\x18\n \x03(\x0b\x32\x33.google.events.cloud.iot.v1.EventNotificationConfig\x12V\n\x19state_notification_config\x18\x07 \x01(\x0b\x32\x33.google.events.cloud.iot.v1.StateNotificationConfig\x12;\n\x0bmqtt_config\x18\x04 \x01(\x0b\x32&.google.events.cloud.iot.v1.MqttConfig\x12;\n\x0bhttp_config\x18\t \x01(\x0b\x32&.google.events.cloud.iot.v1.HttpConfig\x12\x37\n\tlog_level\x18\x0b \x01(\x0e\x32$.google.events.cloud.iot.v1.LogLevel\x12\x43\n\x0b\x63redentials\x18\x08 \x03(\x0b\x32..google.events.cloud.iot.v1.RegistryCredential\"O\n\nMqttConfig\x12\x41\n\x12mqtt_enabled_state\x18\x01 \x01(\x0e\x32%.google.events.cloud.iot.v1.MqttState\"O\n\nHttpConfig\x12\x41\n\x12http_enabled_state\x18\x01 \x01(\x0e\x32%.google.events.cloud.iot.v1.HttpState\"O\n\x17\x45ventNotificationConfig\x12\x19\n\x11subfolder_matches\x18\x02 \x01(\t\x12\x19\n\x11pubsub_topic_name\x18\x01 \x01(\t\"4\n\x17StateNotificationConfig\x12\x19\n\x11pubsub_topic_name\x18\x01 \x01(\t\"v\n\x12RegistryCredential\x12R\n\x16public_key_certificate\x18\x01 \x01(\x0b\x32\x30.google.events.cloud.iot.v1.PublicKeyCertificateH\x00\x42\x0c\n\ncredential\"\xd0\x01\n\x16X509CertificateDetails\x12\x0e\n\x06issuer\x18\x01 \x01(\t\x12\x0f\n\x07subject\x18\x02 \x01(\t\x12.\n\nstart_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x65xpiry_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x1b\n\x13signature_algorithm\x18\x05 \x01(\t\x12\x17\n\x0fpublic_key_type\x18\x06 \x01(\t\"\xbd\x01\n\x14PublicKeyCertificate\x12\x46\n\x06\x66ormat\x18\x01 \x01(\x0e\x32\x36.google.events.cloud.iot.v1.PublicKeyCertificateFormat\x12\x13\n\x0b\x63\x65rtificate\x18\x02 \x01(\t\x12H\n\x0cx509_details\x18\x03 \x01(\x0b\x32\x32.google.events.cloud.iot.v1.X509CertificateDetails\"\x9c\x01\n\x10\x44\x65viceCredential\x12\x45\n\npublic_key\x18\x02 \x01(\x0b\x32/.google.events.cloud.iot.v1.PublicKeyCredentialH\x00\x12\x33\n\x0f\x65xpiration_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x0c\n\ncredential\"_\n\x13PublicKeyCredential\x12;\n\x06\x66ormat\x18\x01 \x01(\x0e\x32+.google.events.cloud.iot.v1.PublicKeyFormat\x12\x0b\n\x03key\x18\x02 \x01(\t\"\xa0\x01\n\x0c\x44\x65viceConfig\x12\x0f\n\x07version\x18\x01 \x01(\x03\x12\x35\n\x11\x63loud_update_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x33\n\x0f\x64\x65vice_ack_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x13\n\x0b\x62inary_data\x18\x04 \x01(\x0c\"S\n\x0b\x44\x65viceState\x12/\n\x0bupdate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x13\n\x0b\x62inary_data\x18\x02 \x01(\x0c\"W\n\x0f\x44\x65viceEventData\x12\x38\n\x07payload\x18\x01 \x01(\x0b\x32\".google.events.cloud.iot.v1.DeviceH\x00\x88\x01\x01\x42\n\n\x08_payload\"a\n\x11RegistryEventData\x12@\n\x07payload\x18\x01 \x01(\x0b\x32*.google.events.cloud.iot.v1.DeviceRegistryH\x00\x88\x01\x01\x42\n\n\x08_payload*L\n\tMqttState\x12\x1a\n\x16MQTT_STATE_UNSPECIFIED\x10\x00\x12\x10\n\x0cMQTT_ENABLED\x10\x01\x12\x11\n\rMQTT_DISABLED\x10\x02*L\n\tHttpState\x12\x1a\n\x16HTTP_STATE_UNSPECIFIED\x10\x00\x12\x10\n\x0cHTTP_ENABLED\x10\x01\x12\x11\n\rHTTP_DISABLED\x10\x02*O\n\x08LogLevel\x12\x19\n\x15LOG_LEVEL_UNSPECIFIED\x10\x00\x12\x08\n\x04NONE\x10\n\x12\t\n\x05\x45RROR\x10\x14\x12\x08\n\x04INFO\x10\x1e\x12\t\n\x05\x44\x45\x42UG\x10(*I\n\x0bGatewayType\x12\x1c\n\x18GATEWAY_TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07GATEWAY\x10\x01\x12\x0f\n\x0bNON_GATEWAY\x10\x02*\x91\x01\n\x11GatewayAuthMethod\x12#\n\x1fGATEWAY_AUTH_METHOD_UNSPECIFIED\x10\x00\x12\x14\n\x10\x41SSOCIATION_ONLY\x10\x01\x12\x1a\n\x16\x44\x45VICE_AUTH_TOKEN_ONLY\x10\x02\x12%\n!ASSOCIATION_AND_DEVICE_AUTH_TOKEN\x10\x03*e\n\x1aPublicKeyCertificateFormat\x12-\n)UNSPECIFIED_PUBLIC_KEY_CERTIFICATE_FORMAT\x10\x00\x12\x18\n\x14X509_CERTIFICATE_PEM\x10\x01*v\n\x0fPublicKeyFormat\x12!\n\x1dUNSPECIFIED_PUBLIC_KEY_FORMAT\x10\x00\x12\x0b\n\x07RSA_PEM\x10\x03\x12\x10\n\x0cRSA_X509_PEM\x10\x01\x12\r\n\tES256_PEM\x10\x02\x12\x12\n\x0e\x45S256_X509_PEM\x10\x04\x42\x64\xaa\x02#Google.Events.Protobuf.Cloud.Iot.V1\xca\x02\x1aGoogle\\Events\\Cloud\\Iot\\V1\xea\x02\x1eGoogle::Events::Cloud::Iot::V1b\x06proto3"
12
+
13
+ pool = Google::Protobuf::DescriptorPool.generated_pool
14
+
15
+ begin
16
+ pool.add_serialized_file(descriptor_data)
17
+ rescue TypeError => e
18
+ # Compatibility code: will be removed in the next major version.
19
+ require 'google/protobuf/descriptor_pb'
20
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
21
+ parsed.clear_dependency
22
+ serialized = parsed.class.encode(parsed)
23
+ file = pool.add_serialized_file(serialized)
24
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
25
+ imports = [
26
+ ["google.protobuf.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}"
141
33
  end
142
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."
143
37
  end
144
38
 
145
39
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/events/cloud/iot/v1/events.proto
3
4
 
@@ -6,27 +7,32 @@ require 'google/protobuf'
6
7
  require 'google/events/cloud/iot/v1/data_pb'
7
8
  require 'google/events/cloudevent_pb'
8
9
 
9
- Google::Protobuf::DescriptorPool.generated_pool.build do
10
- add_file("google/events/cloud/iot/v1/events.proto", :syntax => :proto3) do
11
- add_message "google.events.cloud.iot.v1.CreateDeviceEvent" do
12
- optional :data, :message, 1, "google.events.cloud.iot.v1.DeviceEventData"
13
- end
14
- add_message "google.events.cloud.iot.v1.UpdateDeviceEvent" do
15
- optional :data, :message, 1, "google.events.cloud.iot.v1.DeviceEventData"
16
- end
17
- add_message "google.events.cloud.iot.v1.DeleteDeviceEvent" do
18
- optional :data, :message, 1, "google.events.cloud.iot.v1.DeviceEventData"
19
- end
20
- add_message "google.events.cloud.iot.v1.CreateDeviceRegistryEvent" do
21
- optional :data, :message, 1, "google.events.cloud.iot.v1.RegistryEventData"
22
- end
23
- add_message "google.events.cloud.iot.v1.UpdateDeviceRegistryEvent" do
24
- optional :data, :message, 1, "google.events.cloud.iot.v1.RegistryEventData"
25
- end
26
- add_message "google.events.cloud.iot.v1.DeleteDeviceRegistryEvent" do
27
- optional :data, :message, 1, "google.events.cloud.iot.v1.RegistryEventData"
10
+
11
+ descriptor_data = "\n\'google/events/cloud/iot/v1/events.proto\x12\x1agoogle.events.cloud.iot.v1\x1a%google/events/cloud/iot/v1/data.proto\x1a\x1egoogle/events/cloudevent.proto\"\x9b\x01\n\x11\x43reateDeviceEvent\x12\x39\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32+.google.events.cloud.iot.v1.DeviceEventData:K\xb2\xf8\xd8,.google.cloud.iot.v1.DeviceManager.CreateDevice\xca\xf8\xd8,\x06\x64\x65vice\xca\xf8\xd8,\x08registry\"\x9b\x01\n\x11UpdateDeviceEvent\x12\x39\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32+.google.events.cloud.iot.v1.DeviceEventData:K\xb2\xf8\xd8,.google.cloud.iot.v1.DeviceManager.UpdateDevice\xca\xf8\xd8,\x06\x64\x65vice\xca\xf8\xd8,\x08registry\"\x9b\x01\n\x11\x44\x65leteDeviceEvent\x12\x39\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32+.google.events.cloud.iot.v1.DeviceEventData:K\xb2\xf8\xd8,.google.cloud.iot.v1.DeviceManager.DeleteDevice\xca\xf8\xd8,\x06\x64\x65vice\xca\xf8\xd8,\x08registry\"\xa2\x01\n\x19\x43reateDeviceRegistryEvent\x12;\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32-.google.events.cloud.iot.v1.RegistryEventData:H\xb2\xf8\xd8,6google.cloud.iot.v1.DeviceManager.CreateDeviceRegistry\xca\xf8\xd8,\x08registry\"\xa2\x01\n\x19UpdateDeviceRegistryEvent\x12;\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32-.google.events.cloud.iot.v1.RegistryEventData:H\xb2\xf8\xd8,6google.cloud.iot.v1.DeviceManager.UpdateDeviceRegistry\xca\xf8\xd8,\x08registry\"\xa2\x01\n\x19\x44\x65leteDeviceRegistryEvent\x12;\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32-.google.events.cloud.iot.v1.RegistryEventData:H\xb2\xf8\xd8,6google.cloud.iot.v1.DeviceManager.DeleteDeviceRegistry\xca\xf8\xd8,\x08registryB\x8c\x02\xaa\x02#Google.Events.Protobuf.Cloud.Iot.V1\xca\x02\x1aGoogle\\Events\\Cloud\\Iot\\V1\xea\x02\x1eGoogle::Events::Cloud::Iot::V1\xba\xf8\xd8,\tCloud IoT\xc2\xf8\xd8,E\n\x06\x64\x65vice\x12\x33The resource ID of the Device triggering the event.\x1a\x06\x64\x65vice\xc2\xf8\xd8,K\n\x08registry\x12\x35The resource ID of the Registry triggering the event.\x1a\x08registryb\x06proto3"
12
+
13
+ pool = Google::Protobuf::DescriptorPool.generated_pool
14
+
15
+ begin
16
+ pool.add_serialized_file(descriptor_data)
17
+ rescue TypeError => e
18
+ # Compatibility code: will be removed in the next major version.
19
+ require 'google/protobuf/descriptor_pb'
20
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
21
+ parsed.clear_dependency
22
+ serialized = parsed.class.encode(parsed)
23
+ file = pool.add_serialized_file(serialized)
24
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
25
+ imports = [
26
+ ["google.events.cloud.iot.v1.DeviceEventData", "google/events/cloud/iot/v1/data.proto"],
27
+ ]
28
+ imports.each do |type_name, expected_filename|
29
+ import_file = pool.lookup(type_name).file_descriptor
30
+ if import_file.name != expected_filename
31
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
28
32
  end
29
33
  end
34
+ warn "Each proto file must use a consistent fully-qualified name."
35
+ warn "This will become an error in the next major version."
30
36
  end
31
37
 
32
38
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/events/cloud/memcache/v1/data.proto
3
4
 
@@ -8,91 +9,34 @@ require 'google/protobuf/timestamp_pb'
8
9
  require 'google/type/dayofweek_pb'
9
10
  require 'google/type/timeofday_pb'
10
11
 
11
- Google::Protobuf::DescriptorPool.generated_pool.build do
12
- add_file("google/events/cloud/memcache/v1/data.proto", :syntax => :proto3) do
13
- add_message "google.events.cloud.memcache.v1.Instance" do
14
- optional :name, :string, 1
15
- optional :display_name, :string, 2
16
- map :labels, :string, :string, 3
17
- optional :authorized_network, :string, 4
18
- repeated :zones, :string, 5
19
- optional :node_count, :int32, 6
20
- optional :node_config, :message, 7, "google.events.cloud.memcache.v1.Instance.NodeConfig"
21
- optional :memcache_version, :enum, 9, "google.events.cloud.memcache.v1.MemcacheVersion"
22
- optional :parameters, :message, 11, "google.events.cloud.memcache.v1.MemcacheParameters"
23
- repeated :memcache_nodes, :message, 12, "google.events.cloud.memcache.v1.Instance.Node"
24
- optional :create_time, :message, 13, "google.protobuf.Timestamp"
25
- optional :update_time, :message, 14, "google.protobuf.Timestamp"
26
- optional :state, :enum, 15, "google.events.cloud.memcache.v1.Instance.State"
27
- optional :memcache_full_version, :string, 18
28
- repeated :instance_messages, :message, 19, "google.events.cloud.memcache.v1.Instance.InstanceMessage"
29
- optional :discovery_endpoint, :string, 20
30
- optional :maintenance_policy, :message, 21, "google.events.cloud.memcache.v1.MaintenancePolicy"
31
- optional :maintenance_schedule, :message, 22, "google.events.cloud.memcache.v1.MaintenanceSchedule"
32
- end
33
- add_message "google.events.cloud.memcache.v1.Instance.NodeConfig" do
34
- optional :cpu_count, :int32, 1
35
- optional :memory_size_mb, :int32, 2
36
- end
37
- add_message "google.events.cloud.memcache.v1.Instance.Node" do
38
- optional :node_id, :string, 1
39
- optional :zone, :string, 2
40
- optional :state, :enum, 3, "google.events.cloud.memcache.v1.Instance.Node.State"
41
- optional :host, :string, 4
42
- optional :port, :int32, 5
43
- optional :parameters, :message, 6, "google.events.cloud.memcache.v1.MemcacheParameters"
44
- end
45
- add_enum "google.events.cloud.memcache.v1.Instance.Node.State" do
46
- value :STATE_UNSPECIFIED, 0
47
- value :CREATING, 1
48
- value :READY, 2
49
- value :DELETING, 3
50
- value :UPDATING, 4
51
- end
52
- add_message "google.events.cloud.memcache.v1.Instance.InstanceMessage" do
53
- optional :code, :enum, 1, "google.events.cloud.memcache.v1.Instance.InstanceMessage.Code"
54
- optional :message, :string, 2
55
- end
56
- add_enum "google.events.cloud.memcache.v1.Instance.InstanceMessage.Code" do
57
- value :CODE_UNSPECIFIED, 0
58
- value :ZONE_DISTRIBUTION_UNBALANCED, 1
59
- end
60
- add_enum "google.events.cloud.memcache.v1.Instance.State" do
61
- value :STATE_UNSPECIFIED, 0
62
- value :CREATING, 1
63
- value :READY, 2
64
- value :UPDATING, 3
65
- value :DELETING, 4
66
- value :PERFORMING_MAINTENANCE, 5
67
- end
68
- add_message "google.events.cloud.memcache.v1.MaintenancePolicy" do
69
- optional :create_time, :message, 1, "google.protobuf.Timestamp"
70
- optional :update_time, :message, 2, "google.protobuf.Timestamp"
71
- optional :description, :string, 3
72
- repeated :weekly_maintenance_window, :message, 4, "google.events.cloud.memcache.v1.WeeklyMaintenanceWindow"
73
- end
74
- add_message "google.events.cloud.memcache.v1.WeeklyMaintenanceWindow" do
75
- optional :day, :enum, 1, "google.type.DayOfWeek"
76
- optional :start_time, :message, 2, "google.type.TimeOfDay"
77
- optional :duration, :message, 3, "google.protobuf.Duration"
78
- end
79
- add_message "google.events.cloud.memcache.v1.MaintenanceSchedule" do
80
- optional :start_time, :message, 1, "google.protobuf.Timestamp"
81
- optional :end_time, :message, 2, "google.protobuf.Timestamp"
82
- optional :schedule_deadline_time, :message, 4, "google.protobuf.Timestamp"
83
- end
84
- add_message "google.events.cloud.memcache.v1.MemcacheParameters" do
85
- optional :id, :string, 1
86
- map :params, :string, :string, 3
87
- end
88
- add_message "google.events.cloud.memcache.v1.InstanceEventData" do
89
- proto3_optional :payload, :message, 1, "google.events.cloud.memcache.v1.Instance"
90
- end
91
- add_enum "google.events.cloud.memcache.v1.MemcacheVersion" do
92
- value :MEMCACHE_VERSION_UNSPECIFIED, 0
93
- value :MEMCACHE_1_5, 1
12
+
13
+ descriptor_data = "\n*google/events/cloud/memcache/v1/data.proto\x12\x1fgoogle.events.cloud.memcache.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1bgoogle/type/dayofweek.proto\x1a\x1bgoogle/type/timeofday.proto\"\xe6\x0c\n\x08Instance\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x45\n\x06labels\x18\x03 \x03(\x0b\x32\x35.google.events.cloud.memcache.v1.Instance.LabelsEntry\x12\x1a\n\x12\x61uthorized_network\x18\x04 \x01(\t\x12\r\n\x05zones\x18\x05 \x03(\t\x12\x12\n\nnode_count\x18\x06 \x01(\x05\x12I\n\x0bnode_config\x18\x07 \x01(\x0b\x32\x34.google.events.cloud.memcache.v1.Instance.NodeConfig\x12J\n\x10memcache_version\x18\t \x01(\x0e\x32\x30.google.events.cloud.memcache.v1.MemcacheVersion\x12G\n\nparameters\x18\x0b \x01(\x0b\x32\x33.google.events.cloud.memcache.v1.MemcacheParameters\x12\x46\n\x0ememcache_nodes\x18\x0c \x03(\x0b\x32..google.events.cloud.memcache.v1.Instance.Node\x12/\n\x0b\x63reate_time\x18\r \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x0e \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12>\n\x05state\x18\x0f \x01(\x0e\x32/.google.events.cloud.memcache.v1.Instance.State\x12\x1d\n\x15memcache_full_version\x18\x12 \x01(\t\x12T\n\x11instance_messages\x18\x13 \x03(\x0b\x32\x39.google.events.cloud.memcache.v1.Instance.InstanceMessage\x12\x1a\n\x12\x64iscovery_endpoint\x18\x14 \x01(\t\x12N\n\x12maintenance_policy\x18\x15 \x01(\x0b\x32\x32.google.events.cloud.memcache.v1.MaintenancePolicy\x12R\n\x14maintenance_schedule\x18\x16 \x01(\x0b\x32\x34.google.events.cloud.memcache.v1.MaintenanceSchedule\x1a\x37\n\nNodeConfig\x12\x11\n\tcpu_count\x18\x01 \x01(\x05\x12\x16\n\x0ememory_size_mb\x18\x02 \x01(\x05\x1a\xa4\x02\n\x04Node\x12\x0f\n\x07node_id\x18\x01 \x01(\t\x12\x0c\n\x04zone\x18\x02 \x01(\t\x12\x43\n\x05state\x18\x03 \x01(\x0e\x32\x34.google.events.cloud.memcache.v1.Instance.Node.State\x12\x0c\n\x04host\x18\x04 \x01(\t\x12\x0c\n\x04port\x18\x05 \x01(\x05\x12G\n\nparameters\x18\x06 \x01(\x0b\x32\x33.google.events.cloud.memcache.v1.MemcacheParameters\"S\n\x05State\x12\x15\n\x11STATE_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\x1a\xb0\x01\n\x0fInstanceMessage\x12L\n\x04\x63ode\x18\x01 \x01(\x0e\x32>.google.events.cloud.memcache.v1.Instance.InstanceMessage.Code\x12\x0f\n\x07message\x18\x02 \x01(\t\">\n\x04\x43ode\x12\x14\n\x10\x43ODE_UNSPECIFIED\x10\x00\x12 \n\x1cZONE_DISTRIBUTION_UNBALANCED\x10\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"o\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\t\n\x05READY\x10\x02\x12\x0c\n\x08UPDATING\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\x12\x1a\n\x16PERFORMING_MAINTENANCE\x10\x05\"\xe7\x01\n\x11MaintenancePolicy\x12/\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12[\n\x19weekly_maintenance_window\x18\x04 \x03(\x0b\x32\x38.google.events.cloud.memcache.v1.WeeklyMaintenanceWindow\"\x97\x01\n\x17WeeklyMaintenanceWindow\x12#\n\x03\x64\x61y\x18\x01 \x01(\x0e\x32\x16.google.type.DayOfWeek\x12*\n\nstart_time\x18\x02 \x01(\x0b\x32\x16.google.type.TimeOfDay\x12+\n\x08\x64uration\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\"\xaf\x01\n\x13MaintenanceSchedule\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\x16schedule_deadline_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xa0\x01\n\x12MemcacheParameters\x12\n\n\x02id\x18\x01 \x01(\t\x12O\n\x06params\x18\x03 \x03(\x0b\x32?.google.events.cloud.memcache.v1.MemcacheParameters.ParamsEntry\x1a-\n\x0bParamsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"`\n\x11InstanceEventData\x12?\n\x07payload\x18\x01 \x01(\x0b\x32).google.events.cloud.memcache.v1.InstanceH\x00\x88\x01\x01\x42\n\n\x08_payload*E\n\x0fMemcacheVersion\x12 \n\x1cMEMCACHE_VERSION_UNSPECIFIED\x10\x00\x12\x10\n\x0cMEMCACHE_1_5\x10\x01\x42s\xaa\x02(Google.Events.Protobuf.Cloud.Memcache.V1\xca\x02\x1fGoogle\\Events\\Cloud\\Memcache\\V1\xea\x02#Google::Events::Cloud::Memcache::V1b\x06proto3"
14
+
15
+ pool = Google::Protobuf::DescriptorPool.generated_pool
16
+
17
+ begin
18
+ pool.add_serialized_file(descriptor_data)
19
+ rescue TypeError => e
20
+ # Compatibility code: will be removed in the next major version.
21
+ require 'google/protobuf/descriptor_pb'
22
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
23
+ parsed.clear_dependency
24
+ serialized = parsed.class.encode(parsed)
25
+ file = pool.add_serialized_file(serialized)
26
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
27
+ imports = [
28
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
29
+ ["google.type.TimeOfDay", "google/type/timeofday.proto"],
30
+ ["google.protobuf.Duration", "google/protobuf/duration.proto"],
31
+ ]
32
+ imports.each do |type_name, expected_filename|
33
+ import_file = pool.lookup(type_name).file_descriptor
34
+ if import_file.name != expected_filename
35
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
94
36
  end
95
37
  end
38
+ warn "Each proto file must use a consistent fully-qualified name."
39
+ warn "This will become an error in the next major version."
96
40
  end
97
41
 
98
42
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/events/cloud/memcache/v1/events.proto
3
4
 
@@ -6,18 +7,32 @@ require 'google/protobuf'
6
7
  require 'google/events/cloud/memcache/v1/data_pb'
7
8
  require 'google/events/cloudevent_pb'
8
9
 
9
- Google::Protobuf::DescriptorPool.generated_pool.build do
10
- add_file("google/events/cloud/memcache/v1/events.proto", :syntax => :proto3) do
11
- add_message "google.events.cloud.memcache.v1.InstanceCreatedEvent" do
12
- optional :data, :message, 1, "google.events.cloud.memcache.v1.InstanceEventData"
13
- end
14
- add_message "google.events.cloud.memcache.v1.InstanceUpdatedEvent" do
15
- optional :data, :message, 1, "google.events.cloud.memcache.v1.InstanceEventData"
16
- end
17
- add_message "google.events.cloud.memcache.v1.InstanceDeletedEvent" do
18
- optional :data, :message, 1, "google.events.cloud.memcache.v1.InstanceEventData"
10
+
11
+ descriptor_data = "\n,google/events/cloud/memcache/v1/events.proto\x12\x1fgoogle.events.cloud.memcache.v1\x1a*google/events/cloud/memcache/v1/data.proto\x1a\x1egoogle/events/cloudevent.proto\"\x95\x01\n\x14InstanceCreatedEvent\x12@\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x32.google.events.cloud.memcache.v1.InstanceEventData:;\xb2\xf8\xd8,)google.cloud.memcache.instance.v1.created\xca\xf8\xd8,\x08instance\"\x95\x01\n\x14InstanceUpdatedEvent\x12@\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x32.google.events.cloud.memcache.v1.InstanceEventData:;\xb2\xf8\xd8,)google.cloud.memcache.instance.v1.updated\xca\xf8\xd8,\x08instance\"\x95\x01\n\x14InstanceDeletedEvent\x12@\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x32.google.events.cloud.memcache.v1.InstanceEventData:;\xb2\xf8\xd8,)google.cloud.memcache.instance.v1.deleted\xca\xf8\xd8,\x08instanceB\xdd\x01\xaa\x02(Google.Events.Protobuf.Cloud.Memcache.V1\xca\x02\x1fGoogle\\Events\\Cloud\\Memcache\\V1\xea\x02#Google::Events::Cloud::Memcache::V1\xba\xf8\xd8,\x1f\x43loud Memorystore for Memcached\xc2\xf8\xd8,A\n\x08instance\x12\x35The resource ID of the Instance 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 => e
18
+ # Compatibility code: will be removed in the next major version.
19
+ require 'google/protobuf/descriptor_pb'
20
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
21
+ parsed.clear_dependency
22
+ serialized = parsed.class.encode(parsed)
23
+ file = pool.add_serialized_file(serialized)
24
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
25
+ imports = [
26
+ ["google.events.cloud.memcache.v1.InstanceEventData", "google/events/cloud/memcache/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}"
19
32
  end
20
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."
21
36
  end
22
37
 
23
38
  module Google
@@ -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 => e
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 => e
18
+ # Compatibility code: will be removed in the next major version.
19
+ require 'google/protobuf/descriptor_pb'
20
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
21
+ parsed.clear_dependency
22
+ serialized = parsed.class.encode(parsed)
23
+ file = pool.add_serialized_file(serialized)
24
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
25
+ imports = [
26
+ ["google.events.cloud.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