google-events 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/lib/google/events/cloud/apigateway/v1/data_pb.rb +25 -77
- data/lib/google/events/cloud/apigateway/v1/events_pb.rb +25 -28
- data/lib/google/events/cloud/apigeeregistry/v1/data_pb.rb +25 -90
- data/lib/google/events/cloud/apigeeregistry/v1/events_pb.rb +25 -43
- data/lib/google/events/cloud/audit/v1/data_pb.rb +29 -91
- data/lib/google/events/cloud/audit/v1/events_pb.rb +25 -4
- data/lib/google/events/cloud/beyondcorp/appconnections/v1/data_pb.rb +25 -44
- data/lib/google/events/cloud/beyondcorp/appconnections/v1/events_pb.rb +25 -10
- data/lib/google/events/cloud/beyondcorp/appconnectors/v1/data_pb.rb +25 -44
- data/lib/google/events/cloud/beyondcorp/appconnectors/v1/events_pb.rb +25 -10
- data/lib/google/events/cloud/beyondcorp/appgateways/v1/data_pb.rb +25 -37
- data/lib/google/events/cloud/beyondcorp/appgateways/v1/events_pb.rb +25 -7
- data/lib/google/events/cloud/beyondcorp/clientconnectorservices/v1/data_pb.rb +25 -47
- data/lib/google/events/cloud/beyondcorp/clientconnectorservices/v1/events_pb.rb +25 -10
- data/lib/google/events/cloud/beyondcorp/clientgateways/v1/data_pb.rb +25 -21
- data/lib/google/events/cloud/beyondcorp/clientgateways/v1/events_pb.rb +25 -7
- data/lib/google/events/cloud/certificatemanager/v1/data_pb.rb +26 -157
- data/lib/google/events/cloud/certificatemanager/v1/events_pb.rb +25 -43
- data/lib/google/events/cloud/cloudbuild/v1/data_pb.rb +26 -162
- data/lib/google/events/cloud/cloudbuild/v1/events_pb.rb +25 -4
- data/lib/google/events/cloud/clouddms/v1/data_pb.rb +28 -241
- data/lib/google/events/cloud/clouddms/v1/events_pb.rb +25 -19
- data/lib/google/events/cloud/dataflow/v1beta3/data_pb.rb +26 -195
- data/lib/google/events/cloud/dataflow/v1beta3/events_pb.rb +25 -4
- data/lib/google/events/cloud/datafusion/v1/data_pb.rb +25 -107
- data/lib/google/events/cloud/datafusion/v1/events_pb.rb +25 -16
- data/lib/google/events/cloud/dataplex/v1/data_pb.rb +26 -603
- data/lib/google/events/cloud/dataplex/v1/events_pb.rb +25 -82
- data/lib/google/events/cloud/datastream/v1/data_pb.rb +26 -291
- data/lib/google/events/cloud/datastream/v1/events_pb.rb +25 -31
- data/lib/google/events/cloud/eventarc/v1/data_pb.rb +25 -89
- data/lib/google/events/cloud/eventarc/v1/events_pb.rb +25 -25
- data/lib/google/events/cloud/firestore/v1/data_pb.rb +26 -36
- data/lib/google/events/cloud/firestore/v1/events_pb.rb +25 -13
- data/lib/google/events/cloud/functions/v2/data_pb.rb +25 -155
- data/lib/google/events/cloud/functions/v2/events_pb.rb +25 -10
- data/lib/google/events/cloud/gkebackup/v1/data_pb.rb +25 -189
- data/lib/google/events/cloud/gkebackup/v1/events_pb.rb +25 -37
- data/lib/google/events/cloud/iot/v1/data_pb.rb +26 -132
- data/lib/google/events/cloud/iot/v1/events_pb.rb +25 -19
- data/lib/google/events/cloud/memcache/v1/data_pb.rb +27 -83
- data/lib/google/events/cloud/memcache/v1/events_pb.rb +25 -10
- data/lib/google/events/cloud/pubsub/v1/data_pb.rb +25 -12
- data/lib/google/events/cloud/pubsub/v1/events_pb.rb +25 -4
- data/lib/google/events/cloud/scheduler/v1/data_pb.rb +24 -4
- data/lib/google/events/cloud/scheduler/v1/events_pb.rb +25 -4
- data/lib/google/events/cloud/storage/v1/data_pb.rb +25 -36
- data/lib/google/events/cloud/storage/v1/events_pb.rb +25 -13
- data/lib/google/events/cloud/video/transcoder/v1/data_pb.rb +96 -0
- data/lib/google/events/cloud/video/transcoder/v1/events_pb.rb +53 -0
- data/lib/google/events/cloud/workflows/v1/data_pb.rb +25 -22
- data/lib/google/events/cloud/workflows/v1/events_pb.rb +25 -10
- data/lib/google/events/cloudevent_pb.rb +24 -6
- data/lib/google/events/firebase/analytics/v1/data_pb.rb +24 -76
- data/lib/google/events/firebase/analytics/v1/events_pb.rb +25 -4
- data/lib/google/events/firebase/auth/v1/data_pb.rb +26 -24
- data/lib/google/events/firebase/auth/v1/events_pb.rb +25 -7
- data/lib/google/events/firebase/database/v1/data_pb.rb +25 -5
- data/lib/google/events/firebase/database/v1/events_pb.rb +25 -13
- data/lib/google/events/firebase/firebasealerts/v1/cloud_event_payload_pb.rb +26 -79
- data/lib/google/events/firebase/firebasealerts/v1/data_pb.rb +26 -6
- data/lib/google/events/firebase/firebasealerts/v1/events_pb.rb +25 -4
- data/lib/google/events/firebase/remoteconfig/v1/data_pb.rb +25 -27
- data/lib/google/events/firebase/remoteconfig/v1/events_pb.rb +25 -4
- data/lib/google/events/firebase/testlab/v1/data_pb.rb +25 -35
- data/lib/google/events/firebase/testlab/v1/events_pb.rb +25 -4
- data/lib/google/events/version.rb +1 -1
- metadata +4 -2
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: google/events/cloud/video/transcoder/v1/events.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require 'google/events/cloud/video/transcoder/v1/data_pb'
|
|
8
|
+
require 'google/events/cloudevent_pb'
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
descriptor_data = "\n4google/events/cloud/video/transcoder/v1/events.proto\x12\'google.events.cloud.video.transcoder.v1\x1a\x32google/events/cloud/video/transcoder/v1/data.proto\x1a\x1egoogle/events/cloudevent.proto\"\x91\x01\n\x0fJobCreatedEvent\x12\x43\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x35.google.events.cloud.video.transcoder.v1.JobEventData:9\xb2\xf8\xd8,,google.cloud.video.transcoder.job.v1.created\xca\xf8\xd8,\x03job\"\x91\x01\n\x0fJobDeletedEvent\x12\x43\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x35.google.events.cloud.video.transcoder.v1.JobEventData:9\xb2\xf8\xd8,,google.cloud.video.transcoder.job.v1.deleted\xca\xf8\xd8,\x03job\"\xb1\x01\n\x17JobTemplateCreatedEvent\x12K\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32=.google.events.cloud.video.transcoder.v1.JobTemplateEventData:I\xb2\xf8\xd8,4google.cloud.video.transcoder.jobTemplate.v1.created\xca\xf8\xd8,\x0bjobtemplate\"\xb1\x01\n\x17JobTemplateDeletedEvent\x12K\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32=.google.events.cloud.video.transcoder.v1.JobTemplateEventData:I\xb2\xf8\xd8,4google.cloud.video.transcoder.jobTemplate.v1.deleted\xca\xf8\xd8,\x0bjobtemplateB\xb0\x02\xaa\x02\x30Google.Events.Protobuf.Cloud.Video.Transcoder.V1\xca\x02\'Google\\Events\\Cloud\\Video\\Transcoder\\V1\xea\x02,Google::Events::Cloud::Video::Transcoder::V1\xba\xf8\xd8,\nTranscoder\xc2\xf8\xd8,7\n\x03job\x12\x30The resource ID of the Job triggering the event.\xc2\xf8\xd8,T\n\x0bjobtemplate\x12\x38The resource ID of the JobTemplate triggering the event.\x1a\x0bjobTemplateb\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.video.transcoder.v1.JobEventData", "google/events/cloud/video/transcoder/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 Video
|
|
42
|
+
module Transcoder
|
|
43
|
+
module V1
|
|
44
|
+
JobCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.video.transcoder.v1.JobCreatedEvent").msgclass
|
|
45
|
+
JobDeletedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.video.transcoder.v1.JobDeletedEvent").msgclass
|
|
46
|
+
JobTemplateCreatedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.video.transcoder.v1.JobTemplateCreatedEvent").msgclass
|
|
47
|
+
JobTemplateDeletedEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.events.cloud.video.transcoder.v1.JobTemplateDeletedEvent").msgclass
|
|
48
|
+
end
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
end
|
|
@@ -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/workflows/v1/data.proto
|
|
3
4
|
|
|
@@ -5,30 +6,32 @@ require 'google/protobuf'
|
|
|
5
6
|
|
|
6
7
|
require 'google/protobuf/timestamp_pb'
|
|
7
8
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
9
|
+
|
|
10
|
+
descriptor_data = "\n+google/events/cloud/workflows/v1/data.proto\x12 google.events.cloud.workflows.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\x85\x04\n\x08Workflow\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12?\n\x05state\x18\x03 \x01(\x0e\x32\x30.google.events.cloud.workflows.v1.Workflow.State\x12\x13\n\x0brevision_id\x18\x04 \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\x38\n\x14revision_create_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x46\n\x06labels\x18\x08 \x03(\x0b\x32\x36.google.events.cloud.workflows.v1.Workflow.LabelsEntry\x12\x17\n\x0fservice_account\x18\t \x01(\t\x12\x19\n\x0fsource_contents\x18\n \x01(\tH\x00\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\n\n\x06\x41\x43TIVE\x10\x01\x42\r\n\x0bsource_code\"a\n\x11WorkflowEventData\x12@\n\x07payload\x18\x01 \x01(\x0b\x32*.google.events.cloud.workflows.v1.WorkflowH\x00\x88\x01\x01\x42\n\n\x08_payloadBv\xaa\x02)Google.Events.Protobuf.Cloud.Workflows.V1\xca\x02 Google\\Events\\Cloud\\Workflows\\V1\xea\x02$Google::Events::Cloud::Workflows::V1b\x06proto3"
|
|
11
|
+
|
|
12
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
13
|
+
|
|
14
|
+
begin
|
|
15
|
+
pool.add_serialized_file(descriptor_data)
|
|
16
|
+
rescue TypeError => e
|
|
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}"
|
|
30
31
|
end
|
|
31
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."
|
|
32
35
|
end
|
|
33
36
|
|
|
34
37
|
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/workflows/v1/events.proto
|
|
3
4
|
|
|
@@ -6,18 +7,32 @@ require 'google/protobuf'
|
|
|
6
7
|
require 'google/events/cloud/workflows/v1/data_pb'
|
|
7
8
|
require 'google/events/cloudevent_pb'
|
|
8
9
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
10
|
+
|
|
11
|
+
descriptor_data = "\n-google/events/cloud/workflows/v1/events.proto\x12 google.events.cloud.workflows.v1\x1a+google/events/cloud/workflows/v1/data.proto\x1a\x1egoogle/events/cloudevent.proto\"\x97\x01\n\x14WorkflowCreatedEvent\x12\x41\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x33.google.events.cloud.workflows.v1.WorkflowEventData:<\xb2\xf8\xd8,*google.cloud.workflows.workflow.v1.created\xca\xf8\xd8,\x08workflow\"\x97\x01\n\x14WorkflowDeletedEvent\x12\x41\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x33.google.events.cloud.workflows.v1.WorkflowEventData:<\xb2\xf8\xd8,*google.cloud.workflows.workflow.v1.deleted\xca\xf8\xd8,\x08workflow\"\x97\x01\n\x14WorkflowUpdatedEvent\x12\x41\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x33.google.events.cloud.workflows.v1.WorkflowEventData:<\xb2\xf8\xd8,*google.cloud.workflows.workflow.v1.updated\xca\xf8\xd8,\x08workflowB\xca\x01\xaa\x02)Google.Events.Protobuf.Cloud.Workflows.V1\xca\x02 Google\\Events\\Cloud\\Workflows\\V1\xea\x02$Google::Events::Cloud::Workflows::V1\xba\xf8\xd8,\tWorkflows\xc2\xf8\xd8,A\n\x08workflow\x12\x35The resource ID of the Workflow 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.workflows.v1.WorkflowEventData", "google/events/cloud/workflows/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
|
|
@@ -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/cloudevent.proto
|
|
3
4
|
|
|
@@ -5,14 +6,31 @@ require 'google/protobuf'
|
|
|
5
6
|
|
|
6
7
|
require 'google/protobuf/descriptor_pb'
|
|
7
8
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
9
|
+
|
|
10
|
+
descriptor_data = "\n\x1egoogle/events/cloudevent.proto\x12\rgoogle.events\x1a google/protobuf/descriptor.proto\"P\n\x12\x45xtensionAttribute\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x17\n\x0f\x63\x61mel_case_name\x18\x03 \x01(\t:<\n\x10\x63loud_event_type\x12\x1f.google.protobuf.MessageOptions\x18\x86\x8f\xcb\x05 \x01(\t:<\n\x13\x63loud_event_product\x12\x1c.google.protobuf.FileOptions\x18\x87\x8f\xcb\x05 \x01(\t:k\n\x1f\x63loud_event_extension_attribute\x12\x1c.google.protobuf.FileOptions\x18\x88\x8f\xcb\x05 \x03(\x0b\x32!.google.events.ExtensionAttribute:F\n\x1a\x63loud_event_extension_name\x12\x1f.google.protobuf.MessageOptions\x18\x89\x8f\xcb\x05 \x03(\tB<P\x01\xaa\x02\x16Google.Events.Protobuf\xca\x02\rGoogle\\Events\xea\x02\x0eGoogle::Eventsb\x06proto3"
|
|
11
|
+
|
|
12
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
13
|
+
|
|
14
|
+
begin
|
|
15
|
+
pool.add_serialized_file(descriptor_data)
|
|
16
|
+
rescue TypeError => e
|
|
17
|
+
# Compatibility code: will be removed in the next major version.
|
|
18
|
+
require 'google/protobuf/descriptor_pb'
|
|
19
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
|
20
|
+
parsed.clear_dependency
|
|
21
|
+
serialized = parsed.class.encode(parsed)
|
|
22
|
+
file = pool.add_serialized_file(serialized)
|
|
23
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
|
24
|
+
imports = [
|
|
25
|
+
]
|
|
26
|
+
imports.each do |type_name, expected_filename|
|
|
27
|
+
import_file = pool.lookup(type_name).file_descriptor
|
|
28
|
+
if import_file.name != expected_filename
|
|
29
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
|
14
30
|
end
|
|
15
31
|
end
|
|
32
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
|
33
|
+
warn "This will become an error in the next major version."
|
|
16
34
|
end
|
|
17
35
|
|
|
18
36
|
module Google
|
|
@@ -1,86 +1,34 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
1
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
3
|
# source: google/events/firebase/analytics/v1/data.proto
|
|
3
4
|
|
|
4
5
|
require 'google/protobuf'
|
|
5
6
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
end
|
|
28
|
-
add_message "google.events.firebase.analytics.v1.AnalyticsValue" do
|
|
29
|
-
oneof :param_value do
|
|
30
|
-
optional :string_value, :string, 1
|
|
31
|
-
optional :int_value, :int64, 2
|
|
32
|
-
optional :float_value, :float, 3
|
|
33
|
-
optional :double_value, :double, 4
|
|
34
|
-
end
|
|
35
|
-
end
|
|
36
|
-
add_message "google.events.firebase.analytics.v1.DeviceInfo" do
|
|
37
|
-
optional :device_category, :string, 1
|
|
38
|
-
optional :mobile_brand_name, :string, 2
|
|
39
|
-
optional :mobile_model_name, :string, 3
|
|
40
|
-
optional :mobile_marketing_name, :string, 4
|
|
41
|
-
optional :device_model, :string, 12
|
|
42
|
-
optional :platform_version, :string, 6
|
|
43
|
-
optional :device_id, :string, 7
|
|
44
|
-
optional :resettable_device_id, :string, 8
|
|
45
|
-
optional :user_default_language, :string, 9
|
|
46
|
-
optional :device_time_zone_offset_seconds, :int32, 10
|
|
47
|
-
optional :limited_ad_tracking, :bool, 11
|
|
48
|
-
end
|
|
49
|
-
add_message "google.events.firebase.analytics.v1.AppInfo" do
|
|
50
|
-
optional :app_version, :string, 1
|
|
51
|
-
optional :app_instance_id, :string, 2
|
|
52
|
-
optional :app_store, :string, 3
|
|
53
|
-
optional :app_platform, :string, 4
|
|
54
|
-
optional :app_id, :string, 5
|
|
55
|
-
end
|
|
56
|
-
add_message "google.events.firebase.analytics.v1.GeoInfo" do
|
|
57
|
-
optional :continent, :string, 1
|
|
58
|
-
optional :country, :string, 2
|
|
59
|
-
optional :region, :string, 3
|
|
60
|
-
optional :city, :string, 4
|
|
61
|
-
end
|
|
62
|
-
add_message "google.events.firebase.analytics.v1.TrafficSource" do
|
|
63
|
-
optional :user_acquired_campaign, :string, 2
|
|
64
|
-
optional :user_acquired_source, :string, 3
|
|
65
|
-
optional :user_acquired_medium, :string, 4
|
|
66
|
-
end
|
|
67
|
-
add_message "google.events.firebase.analytics.v1.ExportBundleInfo" do
|
|
68
|
-
optional :bundle_sequence_id, :int32, 1
|
|
69
|
-
optional :server_timestamp_offset_micros, :int64, 2
|
|
70
|
-
end
|
|
71
|
-
add_message "google.events.firebase.analytics.v1.LtvInfo" do
|
|
72
|
-
optional :revenue, :double, 1
|
|
73
|
-
optional :currency, :string, 2
|
|
74
|
-
end
|
|
75
|
-
add_message "google.events.firebase.analytics.v1.EventDimensions" do
|
|
76
|
-
optional :date, :string, 6
|
|
77
|
-
optional :name, :string, 1
|
|
78
|
-
map :params, :string, :message, 2, "google.events.firebase.analytics.v1.AnalyticsValue"
|
|
79
|
-
optional :timestamp_micros, :int64, 4
|
|
80
|
-
optional :previous_timestamp_micros, :int64, 5
|
|
81
|
-
optional :value_in_usd, :double, 7
|
|
7
|
+
|
|
8
|
+
descriptor_data = "\n.google/events/firebase/analytics/v1/data.proto\x12#google.events.firebase.analytics.v1\"\xa2\x01\n\x10\x41nalyticsLogData\x12\x45\n\x08user_dim\x18\x01 \x01(\x0b\x32\x33.google.events.firebase.analytics.v1.UserDimensions\x12G\n\tevent_dim\x18\x02 \x03(\x0b\x32\x34.google.events.firebase.analytics.v1.EventDimensions\"\xb5\x05\n\x0eUserDimensions\x12\x0f\n\x07user_id\x18\x01 \x01(\t\x12#\n\x1b\x66irst_open_timestamp_micros\x18\x02 \x01(\x03\x12`\n\x0fuser_properties\x18\x03 \x03(\x0b\x32G.google.events.firebase.analytics.v1.UserDimensions.UserPropertiesEntry\x12\x44\n\x0b\x64\x65vice_info\x18\x04 \x01(\x0b\x32/.google.events.firebase.analytics.v1.DeviceInfo\x12>\n\x08geo_info\x18\x05 \x01(\x0b\x32,.google.events.firebase.analytics.v1.GeoInfo\x12>\n\x08\x61pp_info\x18\x06 \x01(\x0b\x32,.google.events.firebase.analytics.v1.AppInfo\x12J\n\x0etraffic_source\x18\x07 \x01(\x0b\x32\x32.google.events.firebase.analytics.v1.TrafficSource\x12J\n\x0b\x62undle_info\x18\x08 \x01(\x0b\x32\x35.google.events.firebase.analytics.v1.ExportBundleInfo\x12>\n\x08ltv_info\x18\t \x01(\x0b\x32,.google.events.firebase.analytics.v1.LtvInfo\x1am\n\x13UserPropertiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x45\n\x05value\x18\x02 \x01(\x0b\x32\x36.google.events.firebase.analytics.v1.UserPropertyValue:\x02\x38\x01\"\x82\x01\n\x11UserPropertyValue\x12\x42\n\x05value\x18\x01 \x01(\x0b\x32\x33.google.events.firebase.analytics.v1.AnalyticsValue\x12\x1a\n\x12set_timestamp_usec\x18\x02 \x01(\x03\x12\r\n\x05index\x18\x03 \x01(\x05\"{\n\x0e\x41nalyticsValue\x12\x16\n\x0cstring_value\x18\x01 \x01(\tH\x00\x12\x13\n\tint_value\x18\x02 \x01(\x03H\x00\x12\x15\n\x0b\x66loat_value\x18\x03 \x01(\x02H\x00\x12\x16\n\x0c\x64ouble_value\x18\x04 \x01(\x01H\x00\x42\r\n\x0bparam_value\"\xc0\x02\n\nDeviceInfo\x12\x17\n\x0f\x64\x65vice_category\x18\x01 \x01(\t\x12\x19\n\x11mobile_brand_name\x18\x02 \x01(\t\x12\x19\n\x11mobile_model_name\x18\x03 \x01(\t\x12\x1d\n\x15mobile_marketing_name\x18\x04 \x01(\t\x12\x14\n\x0c\x64\x65vice_model\x18\x0c \x01(\t\x12\x18\n\x10platform_version\x18\x06 \x01(\t\x12\x11\n\tdevice_id\x18\x07 \x01(\t\x12\x1c\n\x14resettable_device_id\x18\x08 \x01(\t\x12\x1d\n\x15user_default_language\x18\t \x01(\t\x12\'\n\x1f\x64\x65vice_time_zone_offset_seconds\x18\n \x01(\x05\x12\x1b\n\x13limited_ad_tracking\x18\x0b \x01(\x08\"p\n\x07\x41ppInfo\x12\x13\n\x0b\x61pp_version\x18\x01 \x01(\t\x12\x17\n\x0f\x61pp_instance_id\x18\x02 \x01(\t\x12\x11\n\tapp_store\x18\x03 \x01(\t\x12\x14\n\x0c\x61pp_platform\x18\x04 \x01(\t\x12\x0e\n\x06\x61pp_id\x18\x05 \x01(\t\"K\n\x07GeoInfo\x12\x11\n\tcontinent\x18\x01 \x01(\t\x12\x0f\n\x07\x63ountry\x18\x02 \x01(\t\x12\x0e\n\x06region\x18\x03 \x01(\t\x12\x0c\n\x04\x63ity\x18\x04 \x01(\t\"k\n\rTrafficSource\x12\x1e\n\x16user_acquired_campaign\x18\x02 \x01(\t\x12\x1c\n\x14user_acquired_source\x18\x03 \x01(\t\x12\x1c\n\x14user_acquired_medium\x18\x04 \x01(\t\"V\n\x10\x45xportBundleInfo\x12\x1a\n\x12\x62undle_sequence_id\x18\x01 \x01(\x05\x12&\n\x1eserver_timestamp_offset_micros\x18\x02 \x01(\x03\",\n\x07LtvInfo\x12\x0f\n\x07revenue\x18\x01 \x01(\x01\x12\x10\n\x08\x63urrency\x18\x02 \x01(\t\"\xb6\x02\n\x0f\x45ventDimensions\x12\x0c\n\x04\x64\x61te\x18\x06 \x01(\t\x12\x0c\n\x04name\x18\x01 \x01(\t\x12P\n\x06params\x18\x02 \x03(\x0b\x32@.google.events.firebase.analytics.v1.EventDimensions.ParamsEntry\x12\x18\n\x10timestamp_micros\x18\x04 \x01(\x03\x12!\n\x19previous_timestamp_micros\x18\x05 \x01(\x03\x12\x14\n\x0cvalue_in_usd\x18\x07 \x01(\x01\x1a\x62\n\x0bParamsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x42\n\x05value\x18\x02 \x01(\x0b\x32\x33.google.events.firebase.analytics.v1.AnalyticsValue:\x02\x38\x01\x42\x7f\xaa\x02,Google.Events.Protobuf.Firebase.Analytics.V1\xca\x02#Google\\Events\\Firebase\\Analytics\\V1\xea\x02\'Google::Events::Firebase::Analytics::V1b\x06proto3"
|
|
9
|
+
|
|
10
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
11
|
+
|
|
12
|
+
begin
|
|
13
|
+
pool.add_serialized_file(descriptor_data)
|
|
14
|
+
rescue TypeError => e
|
|
15
|
+
# Compatibility code: will be removed in the next major version.
|
|
16
|
+
require 'google/protobuf/descriptor_pb'
|
|
17
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
|
18
|
+
parsed.clear_dependency
|
|
19
|
+
serialized = parsed.class.encode(parsed)
|
|
20
|
+
file = pool.add_serialized_file(serialized)
|
|
21
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
|
22
|
+
imports = [
|
|
23
|
+
]
|
|
24
|
+
imports.each do |type_name, expected_filename|
|
|
25
|
+
import_file = pool.lookup(type_name).file_descriptor
|
|
26
|
+
if import_file.name != expected_filename
|
|
27
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
|
82
28
|
end
|
|
83
29
|
end
|
|
30
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
|
31
|
+
warn "This will become an error in the next major version."
|
|
84
32
|
end
|
|
85
33
|
|
|
86
34
|
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/firebase/analytics/v1/events.proto
|
|
3
4
|
|
|
@@ -6,12 +7,32 @@ require 'google/protobuf'
|
|
|
6
7
|
require 'google/events/cloudevent_pb'
|
|
7
8
|
require 'google/events/firebase/analytics/v1/data_pb'
|
|
8
9
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
|
|
11
|
+
descriptor_data = "\n0google/events/firebase/analytics/v1/events.proto\x12#google.events.firebase.analytics.v1\x1a\x1egoogle/events/cloudevent.proto\x1a.google/events/firebase/analytics/v1/data.proto\"\x8e\x01\n\x18\x41nalyticsLogWrittenEvent\x12\x43\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x35.google.events.firebase.analytics.v1.AnalyticsLogData:-\xb2\xf8\xd8,(google.firebase.analytics.log.v1.writtenB\xa1\x01\xaa\x02,Google.Events.Protobuf.Firebase.Analytics.V1\xca\x02#Google\\Events\\Firebase\\Analytics\\V1\xea\x02\'Google::Events::Firebase::Analytics::V1\xba\xf8\xd8,\x1dGoogle Analytics for Firebaseb\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.firebase.analytics.v1.AnalyticsLogData", "google/events/firebase/analytics/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}"
|
|
13
32
|
end
|
|
14
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."
|
|
15
36
|
end
|
|
16
37
|
|
|
17
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/firebase/auth/v1/data.proto
|
|
3
4
|
|
|
@@ -6,32 +7,33 @@ require 'google/protobuf'
|
|
|
6
7
|
require 'google/protobuf/struct_pb'
|
|
7
8
|
require 'google/protobuf/timestamp_pb'
|
|
8
9
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
optional :provider_id, :string, 5
|
|
10
|
+
|
|
11
|
+
descriptor_data = "\n)google/events/firebase/auth/v1/data.proto\x12\x1egoogle.events.firebase.auth.v1\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xc5\x02\n\rAuthEventData\x12\x0b\n\x03uid\x18\x01 \x01(\t\x12\r\n\x05\x65mail\x18\x02 \x01(\t\x12\x16\n\x0e\x65mail_verified\x18\x03 \x01(\x08\x12\x14\n\x0c\x64isplay_name\x18\x04 \x01(\t\x12\x11\n\tphoto_URL\x18\x05 \x01(\t\x12\x10\n\x08\x64isabled\x18\x06 \x01(\x08\x12>\n\x08metadata\x18\x07 \x01(\x0b\x32,.google.events.firebase.auth.v1.UserMetadata\x12?\n\rprovider_data\x18\x08 \x03(\x0b\x32(.google.events.firebase.auth.v1.UserInfo\x12\x14\n\x0cphone_number\x18\t \x01(\t\x12.\n\rcustom_claims\x18\n \x01(\x0b\x32\x17.google.protobuf.Struct\"v\n\x0cUserMetadata\x12/\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x11last_sign_in_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"d\n\x08UserInfo\x12\x0b\n\x03uid\x18\x01 \x01(\t\x12\r\n\x05\x65mail\x18\x02 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x03 \x01(\t\x12\x11\n\tphoto_URL\x18\x04 \x01(\t\x12\x13\n\x0bprovider_id\x18\x05 \x01(\tBp\xaa\x02\'Google.Events.Protobuf.Firebase.Auth.V1\xca\x02\x1eGoogle\\Events\\Firebase\\Auth\\V1\xea\x02\"Google::Events::Firebase::Auth::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.Struct", "google/protobuf/struct.proto"],
|
|
27
|
+
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
|
28
|
+
]
|
|
29
|
+
imports.each do |type_name, expected_filename|
|
|
30
|
+
import_file = pool.lookup(type_name).file_descriptor
|
|
31
|
+
if import_file.name != expected_filename
|
|
32
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
|
33
33
|
end
|
|
34
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."
|
|
35
37
|
end
|
|
36
38
|
|
|
37
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/firebase/auth/v1/events.proto
|
|
3
4
|
|
|
@@ -6,15 +7,32 @@ require 'google/protobuf'
|
|
|
6
7
|
require 'google/events/cloudevent_pb'
|
|
7
8
|
require 'google/events/firebase/auth/v1/data_pb'
|
|
8
9
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
10
|
+
|
|
11
|
+
descriptor_data = "\n+google/events/firebase/auth/v1/events.proto\x12\x1egoogle.events.firebase.auth.v1\x1a\x1egoogle/events/cloudevent.proto\x1a)google/events/firebase/auth/v1/data.proto\"z\n\x10UserCreatedEvent\x12;\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32-.google.events.firebase.auth.v1.AuthEventData:)\xb2\xf8\xd8,$google.firebase.auth.user.v1.created\"z\n\x10UserDeletedEvent\x12;\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32-.google.events.firebase.auth.v1.AuthEventData:)\xb2\xf8\xd8,$google.firebase.auth.user.v1.deletedB\x8c\x01\xaa\x02\'Google.Events.Protobuf.Firebase.Auth.V1\xca\x02\x1eGoogle\\Events\\Firebase\\Auth\\V1\xea\x02\"Google::Events::Firebase::Auth::V1\xba\xf8\xd8,\x17\x46irebase Authenticationb\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.firebase.auth.v1.AuthEventData", "google/events/firebase/auth/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}"
|
|
16
32
|
end
|
|
17
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."
|
|
18
36
|
end
|
|
19
37
|
|
|
20
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/firebase/database/v1/data.proto
|
|
3
4
|
|
|
@@ -5,13 +6,32 @@ require 'google/protobuf'
|
|
|
5
6
|
|
|
6
7
|
require 'google/protobuf/struct_pb'
|
|
7
8
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
|
|
10
|
+
descriptor_data = "\n-google/events/firebase/database/v1/data.proto\x12\"google.events.firebase.database.v1\x1a\x1cgoogle/protobuf/struct.proto\"a\n\x12ReferenceEventData\x12$\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x16.google.protobuf.Value\x12%\n\x05\x64\x65lta\x18\x02 \x01(\x0b\x32\x16.google.protobuf.ValueB|\xaa\x02+Google.Events.Protobuf.Firebase.Database.V1\xca\x02\"Google\\Events\\Firebase\\Database\\V1\xea\x02&Google::Events::Firebase::Database::V1b\x06proto3"
|
|
11
|
+
|
|
12
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
13
|
+
|
|
14
|
+
begin
|
|
15
|
+
pool.add_serialized_file(descriptor_data)
|
|
16
|
+
rescue TypeError => e
|
|
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.Value", "google/protobuf/struct.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}"
|
|
13
31
|
end
|
|
14
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."
|
|
15
35
|
end
|
|
16
36
|
|
|
17
37
|
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/firebase/database/v1/events.proto
|
|
3
4
|
|
|
@@ -6,21 +7,32 @@ require 'google/protobuf'
|
|
|
6
7
|
require 'google/events/cloudevent_pb'
|
|
7
8
|
require 'google/events/firebase/database/v1/data_pb'
|
|
8
9
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
10
|
+
|
|
11
|
+
descriptor_data = "\n/google/events/firebase/database/v1/events.proto\x12\"google.events.firebase.database.v1\x1a\x1egoogle/events/cloudevent.proto\x1a-google/events/firebase/database/v1/data.proto\"\x8b\x01\n\x15ReferenceCreatedEvent\x12\x44\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x36.google.events.firebase.database.v1.ReferenceEventData:,\xb2\xf8\xd8,\'google.firebase.database.ref.v1.created\"\x8b\x01\n\x15ReferenceUpdatedEvent\x12\x44\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x36.google.events.firebase.database.v1.ReferenceEventData:,\xb2\xf8\xd8,\'google.firebase.database.ref.v1.updated\"\x8b\x01\n\x15ReferenceDeletedEvent\x12\x44\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x36.google.events.firebase.database.v1.ReferenceEventData:,\xb2\xf8\xd8,\'google.firebase.database.ref.v1.deleted\"\x8b\x01\n\x15ReferenceWrittenEvent\x12\x44\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x36.google.events.firebase.database.v1.ReferenceEventData:,\xb2\xf8\xd8,\'google.firebase.database.ref.v1.writtenB\xc8\x03\xaa\x02+Google.Events.Protobuf.Firebase.Database.V1\xca\x02\"Google\\Events\\Firebase\\Database\\V1\xea\x02&Google::Events::Firebase::Database::V1\xba\xf8\xd8,\x1a\x46irebase Realtime Database\xc2\xf8\xd8,a\n\x08instance\x12KThe Firebase Realtime Database instance from which the event was triggered.\x1a\x08instance\xc2\xf8\xd8,R\n\x03ref\x12\x46The Firebase Realtime Database path for which the event was triggered.\x1a\x03ref\xc2\xf8\xd8,k\n\x14\x66irebasedatabasehost\x12=The Firebase Realtime Database domain of the source database.\x1a\x14\x66irebaseDatabaseHostb\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.firebase.database.v1.ReferenceEventData", "google/events/firebase/database/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}"
|
|
22
32
|
end
|
|
23
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."
|
|
24
36
|
end
|
|
25
37
|
|
|
26
38
|
module Google
|