streamdal-protos 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/shared/sp_shared_pb.rb +24 -0
- data/lib/sp_bus_pb.rb +40 -0
- data/lib/sp_command_pb.rb +44 -0
- data/lib/sp_common_pb.rb +101 -0
- data/lib/sp_external_pb.rb +204 -0
- data/lib/sp_info_pb.rb +45 -0
- data/lib/sp_internal_pb.rb +84 -0
- data/lib/sp_kv_pb.rb +44 -0
- data/lib/sp_notify_pb.rb +80 -0
- data/lib/sp_pipeline_pb.rb +94 -0
- data/lib/sp_sdk_pb.rb +44 -0
- data/lib/sp_wsm_pb.rb +45 -0
- data/lib/steps/sp_steps_custom_pb.rb +18 -0
- data/lib/steps/sp_steps_decode_pb.rb +18 -0
- data/lib/steps/sp_steps_detective_pb.rb +101 -0
- data/lib/steps/sp_steps_encode_pb.rb +18 -0
- data/lib/steps/sp_steps_httprequest_pb.rb +42 -0
- data/lib/steps/sp_steps_inferschema_pb.rb +18 -0
- data/lib/steps/sp_steps_kv_pb.rb +42 -0
- data/lib/steps/sp_steps_schema_validation_pb.rb +45 -0
- data/lib/steps/sp_steps_transform_pb.rb +73 -0
- data/lib/steps/sp_steps_valid_json_pb.rb +17 -0
- metadata +92 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 1b872ae06f624270fa282cc2ab1964055fbd84cb153c3c838ee407ef0dc6ac31
|
4
|
+
data.tar.gz: f5e433189742ef4625e8c5ebcdc21c5cfeec21f894e7574fbd905451828f1fca
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: d9ad99bcb759b6098e08f532a3d21447755dd1b9dabb5e13a772b9743db4fc7ca9502aa5beb9faf5a49fbcd3a97296c8ff33d9011064cc0a3c945722346d3c2d
|
7
|
+
data.tar.gz: 22df083d7390b74bde53cbec9563325aa2f3d391d17202295074e73fd06f002f5c91f307c6b3c476843b4bf2b2993eb5729c53ca4b3883e666d58fe382c1aa9e
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: shared/sp_shared.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
+
add_file("shared/sp_shared.proto", :syntax => :proto3) do
|
8
|
+
add_enum "protos.shared.KVAction" do
|
9
|
+
value :KV_ACTION_UNSET, 0
|
10
|
+
value :KV_ACTION_GET, 1
|
11
|
+
value :KV_ACTION_CREATE, 2
|
12
|
+
value :KV_ACTION_UPDATE, 3
|
13
|
+
value :KV_ACTION_EXISTS, 4
|
14
|
+
value :KV_ACTION_DELETE, 5
|
15
|
+
value :KV_ACTION_DELETE_ALL, 6
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
module Streamdal
|
21
|
+
module Protos
|
22
|
+
KVAction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.shared.KVAction").enummodule
|
23
|
+
end
|
24
|
+
end
|
data/lib/sp_bus_pb.rb
ADDED
@@ -0,0 +1,40 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: sp_bus.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'sp_common_pb'
|
7
|
+
require 'sp_external_pb'
|
8
|
+
require 'sp_internal_pb'
|
9
|
+
require 'sp_kv_pb'
|
10
|
+
|
11
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
12
|
+
add_file("sp_bus.proto", :syntax => :proto3) do
|
13
|
+
add_message "protos.BusEvent" do
|
14
|
+
optional :source, :string, 1
|
15
|
+
map :_metadata, :string, :string, 1000
|
16
|
+
oneof :event do
|
17
|
+
optional :register_request, :message, 100, "protos.RegisterRequest"
|
18
|
+
optional :deregister_request, :message, 101, "protos.DeregisterRequest"
|
19
|
+
optional :create_pipeline_request, :message, 102, "protos.CreatePipelineRequest"
|
20
|
+
optional :delete_pipeline_request, :message, 103, "protos.DeletePipelineRequest"
|
21
|
+
optional :update_pipeline_request, :message, 104, "protos.UpdatePipelineRequest"
|
22
|
+
optional :pause_pipeline_request, :message, 107, "protos.PausePipelineRequest"
|
23
|
+
optional :resume_pipeline_request, :message, 108, "protos.ResumePipelineRequest"
|
24
|
+
optional :metrics_request, :message, 109, "protos.MetricsRequest"
|
25
|
+
optional :kv_request, :message, 110, "protos.KVRequest"
|
26
|
+
optional :delete_audience_request, :message, 111, "protos.DeleteAudienceRequest"
|
27
|
+
optional :new_audience_request, :message, 112, "protos.NewAudienceRequest"
|
28
|
+
optional :tail_request, :message, 113, "protos.TailRequest"
|
29
|
+
optional :tail_response, :message, 114, "protos.TailResponse"
|
30
|
+
optional :set_pipelines_request, :message, 115, "protos.SetPipelinesRequest"
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
module Streamdal
|
37
|
+
module Protos
|
38
|
+
BusEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.BusEvent").msgclass
|
39
|
+
end
|
40
|
+
end
|
@@ -0,0 +1,44 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: sp_command.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'sp_common_pb'
|
7
|
+
require 'sp_kv_pb'
|
8
|
+
require 'sp_pipeline_pb'
|
9
|
+
|
10
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
11
|
+
add_file("sp_command.proto", :syntax => :proto3) do
|
12
|
+
add_message "protos.Command" do
|
13
|
+
optional :audience, :message, 1, "protos.Audience"
|
14
|
+
oneof :command do
|
15
|
+
optional :set_pipelines, :message, 100, "protos.SetPipelinesCommand"
|
16
|
+
optional :keep_alive, :message, 101, "protos.KeepAliveCommand"
|
17
|
+
optional :kv, :message, 102, "protos.KVCommand"
|
18
|
+
optional :tail, :message, 103, "protos.TailCommand"
|
19
|
+
end
|
20
|
+
end
|
21
|
+
add_message "protos.SetPipelinesCommand" do
|
22
|
+
repeated :pipelines, :message, 1, "protos.Pipeline"
|
23
|
+
end
|
24
|
+
add_message "protos.KeepAliveCommand" do
|
25
|
+
end
|
26
|
+
add_message "protos.KVCommand" do
|
27
|
+
repeated :instructions, :message, 1, "protos.KVInstruction"
|
28
|
+
optional :overwrite, :bool, 2
|
29
|
+
end
|
30
|
+
add_message "protos.TailCommand" do
|
31
|
+
optional :request, :message, 2, "protos.TailRequest"
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
module Streamdal
|
37
|
+
module Protos
|
38
|
+
Command = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.Command").msgclass
|
39
|
+
SetPipelinesCommand = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.SetPipelinesCommand").msgclass
|
40
|
+
KeepAliveCommand = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.KeepAliveCommand").msgclass
|
41
|
+
KVCommand = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.KVCommand").msgclass
|
42
|
+
TailCommand = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.TailCommand").msgclass
|
43
|
+
end
|
44
|
+
end
|
data/lib/sp_common_pb.rb
ADDED
@@ -0,0 +1,101 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: sp_common.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
+
add_file("sp_common.proto", :syntax => :proto3) do
|
8
|
+
add_message "protos.StandardResponse" do
|
9
|
+
optional :id, :string, 1
|
10
|
+
optional :code, :enum, 2, "protos.ResponseCode"
|
11
|
+
optional :message, :string, 3
|
12
|
+
end
|
13
|
+
add_message "protos.Audience" do
|
14
|
+
optional :service_name, :string, 1
|
15
|
+
optional :component_name, :string, 2
|
16
|
+
optional :operation_type, :enum, 3, "protos.OperationType"
|
17
|
+
optional :operation_name, :string, 4
|
18
|
+
end
|
19
|
+
add_message "protos.Metric" do
|
20
|
+
optional :name, :string, 1
|
21
|
+
map :labels, :string, :string, 2
|
22
|
+
optional :value, :double, 3
|
23
|
+
optional :audience, :message, 4, "protos.Audience"
|
24
|
+
end
|
25
|
+
add_message "protos.TailRequest" do
|
26
|
+
optional :type, :enum, 1, "protos.TailRequestType"
|
27
|
+
optional :id, :string, 2
|
28
|
+
optional :audience, :message, 3, "protos.Audience"
|
29
|
+
proto3_optional :pipeline_id, :string, 4
|
30
|
+
optional :sample_options, :message, 5, "protos.SampleOptions"
|
31
|
+
map :_metadata, :string, :string, 1000
|
32
|
+
end
|
33
|
+
add_message "protos.TailResponse" do
|
34
|
+
optional :type, :enum, 1, "protos.TailResponseType"
|
35
|
+
optional :tail_request_id, :string, 2
|
36
|
+
optional :audience, :message, 3, "protos.Audience"
|
37
|
+
optional :pipeline_id, :string, 4
|
38
|
+
optional :session_id, :string, 5
|
39
|
+
optional :timestamp_ns, :int64, 6
|
40
|
+
optional :original_data, :bytes, 7
|
41
|
+
optional :new_data, :bytes, 8
|
42
|
+
map :_metadata, :string, :string, 1000
|
43
|
+
proto3_optional :_keepalive, :bool, 1001
|
44
|
+
end
|
45
|
+
add_message "protos.AudienceRate" do
|
46
|
+
optional :bytes, :double, 1
|
47
|
+
optional :processed, :double, 2
|
48
|
+
end
|
49
|
+
add_message "protos.Schema" do
|
50
|
+
optional :json_schema, :bytes, 1
|
51
|
+
optional :_version, :int32, 100
|
52
|
+
map :_metadata, :string, :string, 1000
|
53
|
+
end
|
54
|
+
add_message "protos.SampleOptions" do
|
55
|
+
optional :sample_rate, :uint32, 1
|
56
|
+
optional :sample_interval_seconds, :uint32, 2
|
57
|
+
end
|
58
|
+
add_enum "protos.ResponseCode" do
|
59
|
+
value :RESPONSE_CODE_UNSET, 0
|
60
|
+
value :RESPONSE_CODE_OK, 1
|
61
|
+
value :RESPONSE_CODE_BAD_REQUEST, 2
|
62
|
+
value :RESPONSE_CODE_NOT_FOUND, 3
|
63
|
+
value :RESPONSE_CODE_INTERNAL_SERVER_ERROR, 4
|
64
|
+
value :RESPONSE_CODE_GENERIC_ERROR, 5
|
65
|
+
end
|
66
|
+
add_enum "protos.OperationType" do
|
67
|
+
value :OPERATION_TYPE_UNSET, 0
|
68
|
+
value :OPERATION_TYPE_CONSUMER, 1
|
69
|
+
value :OPERATION_TYPE_PRODUCER, 2
|
70
|
+
end
|
71
|
+
add_enum "protos.TailResponseType" do
|
72
|
+
value :TAIL_RESPONSE_TYPE_UNSET, 0
|
73
|
+
value :TAIL_RESPONSE_TYPE_PAYLOAD, 1
|
74
|
+
value :TAIL_RESPONSE_TYPE_ERROR, 2
|
75
|
+
end
|
76
|
+
add_enum "protos.TailRequestType" do
|
77
|
+
value :TAIL_REQUEST_TYPE_UNSET, 0
|
78
|
+
value :TAIL_REQUEST_TYPE_START, 1
|
79
|
+
value :TAIL_REQUEST_TYPE_STOP, 2
|
80
|
+
value :TAIL_REQUEST_TYPE_PAUSE, 3
|
81
|
+
value :TAIL_REQUEST_TYPE_RESUME, 4
|
82
|
+
end
|
83
|
+
end
|
84
|
+
end
|
85
|
+
|
86
|
+
module Streamdal
|
87
|
+
module Protos
|
88
|
+
StandardResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.StandardResponse").msgclass
|
89
|
+
Audience = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.Audience").msgclass
|
90
|
+
Metric = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.Metric").msgclass
|
91
|
+
TailRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.TailRequest").msgclass
|
92
|
+
TailResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.TailResponse").msgclass
|
93
|
+
AudienceRate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.AudienceRate").msgclass
|
94
|
+
Schema = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.Schema").msgclass
|
95
|
+
SampleOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.SampleOptions").msgclass
|
96
|
+
ResponseCode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.ResponseCode").enummodule
|
97
|
+
OperationType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.OperationType").enummodule
|
98
|
+
TailResponseType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.TailResponseType").enummodule
|
99
|
+
TailRequestType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.TailRequestType").enummodule
|
100
|
+
end
|
101
|
+
end
|
@@ -0,0 +1,204 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: sp_external.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'sp_common_pb'
|
7
|
+
require 'sp_info_pb'
|
8
|
+
require 'sp_notify_pb'
|
9
|
+
require 'sp_pipeline_pb'
|
10
|
+
|
11
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
12
|
+
add_file("sp_external.proto", :syntax => :proto3) do
|
13
|
+
add_message "protos.GetAllRequest" do
|
14
|
+
end
|
15
|
+
add_message "protos.GetAllResponse" do
|
16
|
+
repeated :live, :message, 1, "protos.LiveInfo"
|
17
|
+
repeated :audiences, :message, 2, "protos.Audience"
|
18
|
+
map :pipelines, :string, :message, 3, "protos.PipelineInfo"
|
19
|
+
map :configs, :string, :message, 4, "protos.PipelineConfigs"
|
20
|
+
optional :generated_at_unix_ts_ns_utc, :int64, 100
|
21
|
+
proto3_optional :_keepalive, :bool, 1000
|
22
|
+
end
|
23
|
+
add_message "protos.GetPipelinesRequest" do
|
24
|
+
end
|
25
|
+
add_message "protos.GetPipelinesResponse" do
|
26
|
+
repeated :pipelines, :message, 1, "protos.Pipeline"
|
27
|
+
end
|
28
|
+
add_message "protos.GetPipelineRequest" do
|
29
|
+
optional :pipeline_id, :string, 1
|
30
|
+
end
|
31
|
+
add_message "protos.GetPipelineResponse" do
|
32
|
+
optional :pipeline, :message, 1, "protos.Pipeline"
|
33
|
+
end
|
34
|
+
add_message "protos.CreatePipelineRequest" do
|
35
|
+
optional :pipeline, :message, 1, "protos.Pipeline"
|
36
|
+
end
|
37
|
+
add_message "protos.CreatePipelineResponse" do
|
38
|
+
optional :message, :string, 1
|
39
|
+
optional :pipeline_id, :string, 2
|
40
|
+
end
|
41
|
+
add_message "protos.UpdatePipelineRequest" do
|
42
|
+
optional :pipeline, :message, 1, "protos.Pipeline"
|
43
|
+
end
|
44
|
+
add_message "protos.DeletePipelineRequest" do
|
45
|
+
optional :pipeline_id, :string, 1
|
46
|
+
repeated :_audiences, :message, 1000, "protos.Audience"
|
47
|
+
end
|
48
|
+
add_message "protos.SetPipelinesRequest" do
|
49
|
+
repeated :pipeline_ids, :string, 1
|
50
|
+
optional :audience, :message, 2, "protos.Audience"
|
51
|
+
end
|
52
|
+
add_message "protos.PausePipelineRequest" do
|
53
|
+
optional :pipeline_id, :string, 1
|
54
|
+
optional :audience, :message, 2, "protos.Audience"
|
55
|
+
end
|
56
|
+
add_message "protos.ResumePipelineRequest" do
|
57
|
+
optional :pipeline_id, :string, 1
|
58
|
+
optional :audience, :message, 2, "protos.Audience"
|
59
|
+
end
|
60
|
+
add_message "protos.CreateNotificationRequest" do
|
61
|
+
optional :notification, :message, 1, "protos.NotificationConfig"
|
62
|
+
end
|
63
|
+
add_message "protos.CreateNotificationResponse" do
|
64
|
+
optional :notification, :message, 1, "protos.NotificationConfig"
|
65
|
+
end
|
66
|
+
add_message "protos.UpdateNotificationRequest" do
|
67
|
+
optional :notification, :message, 1, "protos.NotificationConfig"
|
68
|
+
end
|
69
|
+
add_message "protos.DeleteNotificationRequest" do
|
70
|
+
optional :notification_id, :string, 1
|
71
|
+
end
|
72
|
+
add_message "protos.GetNotificationsRequest" do
|
73
|
+
end
|
74
|
+
add_message "protos.GetNotificationsResponse" do
|
75
|
+
map :notifications, :string, :message, 1, "protos.NotificationConfig"
|
76
|
+
end
|
77
|
+
add_message "protos.GetNotificationRequest" do
|
78
|
+
optional :notification_id, :string, 1
|
79
|
+
end
|
80
|
+
add_message "protos.GetNotificationResponse" do
|
81
|
+
optional :notification, :message, 1, "protos.NotificationConfig"
|
82
|
+
end
|
83
|
+
add_message "protos.AttachNotificationRequest" do
|
84
|
+
optional :notification_id, :string, 1
|
85
|
+
optional :pipeline_id, :string, 2
|
86
|
+
end
|
87
|
+
add_message "protos.DetachNotificationRequest" do
|
88
|
+
optional :notification_id, :string, 1
|
89
|
+
optional :pipeline_id, :string, 2
|
90
|
+
end
|
91
|
+
add_message "protos.CreateAudienceRequest" do
|
92
|
+
optional :audience, :message, 1, "protos.Audience"
|
93
|
+
end
|
94
|
+
add_message "protos.DeleteAudienceRequest" do
|
95
|
+
optional :audience, :message, 1, "protos.Audience"
|
96
|
+
proto3_optional :force, :bool, 2
|
97
|
+
end
|
98
|
+
add_message "protos.DeleteServiceRequest" do
|
99
|
+
optional :service_name, :string, 1
|
100
|
+
proto3_optional :force, :bool, 2
|
101
|
+
end
|
102
|
+
add_message "protos.GetMetricsRequest" do
|
103
|
+
end
|
104
|
+
add_message "protos.GetMetricsResponse" do
|
105
|
+
map :metrics, :string, :message, 1, "protos.Metric"
|
106
|
+
proto3_optional :_keepalive, :bool, 1000
|
107
|
+
end
|
108
|
+
add_message "protos.GetAudienceRatesRequest" do
|
109
|
+
end
|
110
|
+
add_message "protos.GetAudienceRatesResponse" do
|
111
|
+
map :rates, :string, :message, 1, "protos.AudienceRate"
|
112
|
+
proto3_optional :_keepalive, :bool, 1000
|
113
|
+
end
|
114
|
+
add_message "protos.GetSchemaRequest" do
|
115
|
+
optional :audience, :message, 1, "protos.Audience"
|
116
|
+
end
|
117
|
+
add_message "protos.GetSchemaResponse" do
|
118
|
+
optional :schema, :message, 1, "protos.Schema"
|
119
|
+
end
|
120
|
+
add_message "protos.AppRegistrationStatusRequest" do
|
121
|
+
optional :email, :string, 1
|
122
|
+
end
|
123
|
+
add_message "protos.AppRegistrationStatusResponse" do
|
124
|
+
optional :status, :enum, 1, "protos.AppRegistrationStatusResponse.Status"
|
125
|
+
end
|
126
|
+
add_enum "protos.AppRegistrationStatusResponse.Status" do
|
127
|
+
value :STATUS_UNSET, 0
|
128
|
+
value :STATUS_SUBMIT, 1
|
129
|
+
value :STATUS_VERIFY, 2
|
130
|
+
value :STATUS_DONE, 3
|
131
|
+
end
|
132
|
+
add_message "protos.AppRegistrationRequest" do
|
133
|
+
optional :email, :string, 1
|
134
|
+
optional :cluster_id, :string, 2
|
135
|
+
optional :_code, :string, 100
|
136
|
+
end
|
137
|
+
add_message "protos.AppVerifyRegistrationRequest" do
|
138
|
+
optional :email, :string, 1
|
139
|
+
optional :code, :string, 2
|
140
|
+
end
|
141
|
+
add_message "protos.AppRegisterRejectRequest" do
|
142
|
+
optional :cluster_id, :string, 1
|
143
|
+
end
|
144
|
+
add_message "protos.PauseTailRequest" do
|
145
|
+
optional :tail_id, :string, 1
|
146
|
+
end
|
147
|
+
add_message "protos.ResumeTailRequest" do
|
148
|
+
optional :tail_id, :string, 1
|
149
|
+
end
|
150
|
+
add_message "protos.TestRequest" do
|
151
|
+
optional :input, :string, 1
|
152
|
+
end
|
153
|
+
add_message "protos.TestResponse" do
|
154
|
+
optional :output, :string, 2
|
155
|
+
end
|
156
|
+
end
|
157
|
+
end
|
158
|
+
|
159
|
+
module Streamdal
|
160
|
+
module Protos
|
161
|
+
GetAllRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.GetAllRequest").msgclass
|
162
|
+
GetAllResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.GetAllResponse").msgclass
|
163
|
+
GetPipelinesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.GetPipelinesRequest").msgclass
|
164
|
+
GetPipelinesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.GetPipelinesResponse").msgclass
|
165
|
+
GetPipelineRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.GetPipelineRequest").msgclass
|
166
|
+
GetPipelineResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.GetPipelineResponse").msgclass
|
167
|
+
CreatePipelineRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.CreatePipelineRequest").msgclass
|
168
|
+
CreatePipelineResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.CreatePipelineResponse").msgclass
|
169
|
+
UpdatePipelineRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.UpdatePipelineRequest").msgclass
|
170
|
+
DeletePipelineRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.DeletePipelineRequest").msgclass
|
171
|
+
SetPipelinesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.SetPipelinesRequest").msgclass
|
172
|
+
PausePipelineRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.PausePipelineRequest").msgclass
|
173
|
+
ResumePipelineRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.ResumePipelineRequest").msgclass
|
174
|
+
CreateNotificationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.CreateNotificationRequest").msgclass
|
175
|
+
CreateNotificationResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.CreateNotificationResponse").msgclass
|
176
|
+
UpdateNotificationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.UpdateNotificationRequest").msgclass
|
177
|
+
DeleteNotificationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.DeleteNotificationRequest").msgclass
|
178
|
+
GetNotificationsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.GetNotificationsRequest").msgclass
|
179
|
+
GetNotificationsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.GetNotificationsResponse").msgclass
|
180
|
+
GetNotificationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.GetNotificationRequest").msgclass
|
181
|
+
GetNotificationResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.GetNotificationResponse").msgclass
|
182
|
+
AttachNotificationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.AttachNotificationRequest").msgclass
|
183
|
+
DetachNotificationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.DetachNotificationRequest").msgclass
|
184
|
+
CreateAudienceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.CreateAudienceRequest").msgclass
|
185
|
+
DeleteAudienceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.DeleteAudienceRequest").msgclass
|
186
|
+
DeleteServiceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.DeleteServiceRequest").msgclass
|
187
|
+
GetMetricsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.GetMetricsRequest").msgclass
|
188
|
+
GetMetricsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.GetMetricsResponse").msgclass
|
189
|
+
GetAudienceRatesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.GetAudienceRatesRequest").msgclass
|
190
|
+
GetAudienceRatesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.GetAudienceRatesResponse").msgclass
|
191
|
+
GetSchemaRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.GetSchemaRequest").msgclass
|
192
|
+
GetSchemaResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.GetSchemaResponse").msgclass
|
193
|
+
AppRegistrationStatusRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.AppRegistrationStatusRequest").msgclass
|
194
|
+
AppRegistrationStatusResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.AppRegistrationStatusResponse").msgclass
|
195
|
+
AppRegistrationStatusResponse::Status = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.AppRegistrationStatusResponse.Status").enummodule
|
196
|
+
AppRegistrationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.AppRegistrationRequest").msgclass
|
197
|
+
AppVerifyRegistrationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.AppVerifyRegistrationRequest").msgclass
|
198
|
+
AppRegisterRejectRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.AppRegisterRejectRequest").msgclass
|
199
|
+
PauseTailRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.PauseTailRequest").msgclass
|
200
|
+
ResumeTailRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.ResumeTailRequest").msgclass
|
201
|
+
TestRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.TestRequest").msgclass
|
202
|
+
TestResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.TestResponse").msgclass
|
203
|
+
end
|
204
|
+
end
|
data/lib/sp_info_pb.rb
ADDED
@@ -0,0 +1,45 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: sp_info.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'sp_common_pb'
|
7
|
+
require 'sp_pipeline_pb'
|
8
|
+
|
9
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
10
|
+
add_file("sp_info.proto", :syntax => :proto3) do
|
11
|
+
add_message "protos.LiveInfo" do
|
12
|
+
repeated :audiences, :message, 1, "protos.Audience"
|
13
|
+
optional :client, :message, 2, "protos.ClientInfo"
|
14
|
+
end
|
15
|
+
add_message "protos.PipelineInfo" do
|
16
|
+
repeated :audiences, :message, 1, "protos.Audience"
|
17
|
+
optional :pipeline, :message, 2, "protos.Pipeline"
|
18
|
+
end
|
19
|
+
add_message "protos.ClientInfo" do
|
20
|
+
optional :client_type, :enum, 1, "protos.ClientType"
|
21
|
+
optional :library_name, :string, 2
|
22
|
+
optional :library_version, :string, 3
|
23
|
+
optional :language, :string, 4
|
24
|
+
optional :arch, :string, 5
|
25
|
+
optional :os, :string, 6
|
26
|
+
proto3_optional :_session_id, :string, 7
|
27
|
+
proto3_optional :_service_name, :string, 8
|
28
|
+
proto3_optional :_node_name, :string, 9
|
29
|
+
end
|
30
|
+
add_enum "protos.ClientType" do
|
31
|
+
value :CLIENT_TYPE_UNSET, 0
|
32
|
+
value :CLIENT_TYPE_SDK, 1
|
33
|
+
value :CLIENT_TYPE_SHIM, 2
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
38
|
+
module Streamdal
|
39
|
+
module Protos
|
40
|
+
LiveInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.LiveInfo").msgclass
|
41
|
+
PipelineInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.PipelineInfo").msgclass
|
42
|
+
ClientInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.ClientInfo").msgclass
|
43
|
+
ClientType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.ClientType").enummodule
|
44
|
+
end
|
45
|
+
end
|
@@ -0,0 +1,84 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: sp_internal.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'sp_command_pb'
|
7
|
+
require 'sp_common_pb'
|
8
|
+
require 'sp_info_pb'
|
9
|
+
require 'sp_pipeline_pb'
|
10
|
+
|
11
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
12
|
+
add_file("sp_internal.proto", :syntax => :proto3) do
|
13
|
+
add_message "protos.NewAudienceRequest" do
|
14
|
+
optional :session_id, :string, 1
|
15
|
+
optional :audience, :message, 2, "protos.Audience"
|
16
|
+
end
|
17
|
+
add_message "protos.HeartbeatRequest" do
|
18
|
+
optional :session_id, :string, 1
|
19
|
+
optional :service_name, :string, 2
|
20
|
+
repeated :audiences, :message, 3, "protos.Audience"
|
21
|
+
optional :client_info, :message, 4, "protos.ClientInfo"
|
22
|
+
end
|
23
|
+
add_message "protos.NotifyRequest" do
|
24
|
+
optional :condition_type, :enum, 1, "protos.NotifyRequest.ConditionType"
|
25
|
+
optional :step, :message, 2, "protos.PipelineStep"
|
26
|
+
optional :audience, :message, 3, "protos.Audience"
|
27
|
+
optional :occurred_at_unix_ts_utc, :int64, 4
|
28
|
+
optional :pipeline_id, :string, 5
|
29
|
+
optional :payload, :bytes, 6
|
30
|
+
end
|
31
|
+
add_enum "protos.NotifyRequest.ConditionType" do
|
32
|
+
value :CONDITION_TYPE_UNSET, 0
|
33
|
+
value :CONDITION_TYPE_ON_TRUE, 1
|
34
|
+
value :CONDITION_TYPE_ON_FALSE, 2
|
35
|
+
value :CONDITION_TYPE_ON_ERROR, 3
|
36
|
+
end
|
37
|
+
add_message "protos.MetricsRequest" do
|
38
|
+
repeated :metrics, :message, 1, "protos.Metric"
|
39
|
+
end
|
40
|
+
add_message "protos.RegisterRequest" do
|
41
|
+
optional :service_name, :string, 1
|
42
|
+
optional :session_id, :string, 2
|
43
|
+
optional :client_info, :message, 3, "protos.ClientInfo"
|
44
|
+
repeated :audiences, :message, 4, "protos.Audience"
|
45
|
+
optional :dry_run, :bool, 5
|
46
|
+
end
|
47
|
+
add_message "protos.DeregisterRequest" do
|
48
|
+
optional :service_name, :string, 1
|
49
|
+
optional :session_id, :string, 2
|
50
|
+
end
|
51
|
+
add_message "protos.GetSetPipelinesCommandsByServiceRequest" do
|
52
|
+
optional :service_name, :string, 1
|
53
|
+
end
|
54
|
+
add_message "protos.GetSetPipelinesCommandsByServiceResponse" do
|
55
|
+
repeated :set_pipeline_commands, :message, 1, "protos.Command"
|
56
|
+
map :wasm_modules, :string, :message, 3, "protos.WasmModule"
|
57
|
+
end
|
58
|
+
add_message "protos.WasmModule" do
|
59
|
+
optional :id, :string, 1
|
60
|
+
optional :bytes, :bytes, 2
|
61
|
+
optional :function, :string, 3
|
62
|
+
end
|
63
|
+
add_message "protos.SendSchemaRequest" do
|
64
|
+
optional :audience, :message, 1, "protos.Audience"
|
65
|
+
optional :schema, :message, 2, "protos.Schema"
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
module Streamdal
|
71
|
+
module Protos
|
72
|
+
NewAudienceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.NewAudienceRequest").msgclass
|
73
|
+
HeartbeatRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.HeartbeatRequest").msgclass
|
74
|
+
NotifyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.NotifyRequest").msgclass
|
75
|
+
NotifyRequest::ConditionType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.NotifyRequest.ConditionType").enummodule
|
76
|
+
MetricsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.MetricsRequest").msgclass
|
77
|
+
RegisterRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.RegisterRequest").msgclass
|
78
|
+
DeregisterRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.DeregisterRequest").msgclass
|
79
|
+
GetSetPipelinesCommandsByServiceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.GetSetPipelinesCommandsByServiceRequest").msgclass
|
80
|
+
GetSetPipelinesCommandsByServiceResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.GetSetPipelinesCommandsByServiceResponse").msgclass
|
81
|
+
WasmModule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.WasmModule").msgclass
|
82
|
+
SendSchemaRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.SendSchemaRequest").msgclass
|
83
|
+
end
|
84
|
+
end
|
data/lib/sp_kv_pb.rb
ADDED
@@ -0,0 +1,44 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: sp_kv.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'shared/sp_shared_pb'
|
7
|
+
|
8
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
|
+
add_file("sp_kv.proto", :syntax => :proto3) do
|
10
|
+
add_message "protos.KVObject" do
|
11
|
+
optional :key, :string, 1
|
12
|
+
optional :value, :bytes, 2
|
13
|
+
optional :created_at_unix_ts_nano_utc, :int64, 3
|
14
|
+
optional :updated_at_unix_ts_nano_utc, :int64, 4
|
15
|
+
end
|
16
|
+
add_message "protos.KVInstruction" do
|
17
|
+
optional :id, :string, 1
|
18
|
+
optional :action, :enum, 2, "protos.shared.KVAction"
|
19
|
+
optional :object, :message, 3, "protos.KVObject"
|
20
|
+
optional :requested_at_unix_ts_nano_utc, :int64, 4
|
21
|
+
end
|
22
|
+
add_message "protos.KVRequest" do
|
23
|
+
repeated :instructions, :message, 1, "protos.KVInstruction"
|
24
|
+
optional :overwrite, :bool, 2
|
25
|
+
end
|
26
|
+
add_message "protos.KVCreateHTTPRequest" do
|
27
|
+
repeated :kvs, :message, 1, "protos.KVObject"
|
28
|
+
optional :overwrite, :bool, 2
|
29
|
+
end
|
30
|
+
add_message "protos.KVUpdateHTTPRequest" do
|
31
|
+
repeated :kvs, :message, 1, "protos.KVObject"
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
module Streamdal
|
37
|
+
module Protos
|
38
|
+
KVObject = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.KVObject").msgclass
|
39
|
+
KVInstruction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.KVInstruction").msgclass
|
40
|
+
KVRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.KVRequest").msgclass
|
41
|
+
KVCreateHTTPRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.KVCreateHTTPRequest").msgclass
|
42
|
+
KVUpdateHTTPRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.KVUpdateHTTPRequest").msgclass
|
43
|
+
end
|
44
|
+
end
|