streamdal-protos 0.0.7 → 0.1.51

Sign up to get free protection for your applications and to get access to all the features.
data/lib/sp_info_pb.rb DELETED
@@ -1,45 +0,0 @@
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
@@ -1,79 +0,0 @@
1
- # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # source: sp_internal.proto
3
-
4
- require 'google/protobuf'
5
-
6
- require 'shared/sp_shared_pb'
7
- require 'sp_command_pb'
8
- require 'sp_common_pb'
9
- require 'sp_info_pb'
10
- require 'sp_pipeline_pb'
11
-
12
- Google::Protobuf::DescriptorPool.generated_pool.build do
13
- add_file("sp_internal.proto", :syntax => :proto3) do
14
- add_message "protos.NewAudienceRequest" do
15
- optional :session_id, :string, 1
16
- optional :audience, :message, 2, "protos.Audience"
17
- end
18
- add_message "protos.HeartbeatRequest" do
19
- optional :session_id, :string, 1
20
- optional :service_name, :string, 2
21
- repeated :audiences, :message, 3, "protos.Audience"
22
- optional :client_info, :message, 4, "protos.ClientInfo"
23
- end
24
- add_message "protos.NotifyRequest" do
25
- optional :condition_type, :enum, 1, "protos.NotifyRequest.ConditionType"
26
- optional :step, :message, 2, "protos.PipelineStep"
27
- optional :audience, :message, 3, "protos.Audience"
28
- optional :occurred_at_unix_ts_utc, :int64, 4
29
- optional :pipeline_id, :string, 5
30
- optional :payload, :bytes, 6
31
- end
32
- add_enum "protos.NotifyRequest.ConditionType" do
33
- value :CONDITION_TYPE_UNSET, 0
34
- value :CONDITION_TYPE_ON_TRUE, 1
35
- value :CONDITION_TYPE_ON_FALSE, 2
36
- value :CONDITION_TYPE_ON_ERROR, 3
37
- end
38
- add_message "protos.MetricsRequest" do
39
- repeated :metrics, :message, 1, "protos.Metric"
40
- end
41
- add_message "protos.RegisterRequest" do
42
- optional :service_name, :string, 1
43
- optional :session_id, :string, 2
44
- optional :client_info, :message, 3, "protos.ClientInfo"
45
- repeated :audiences, :message, 4, "protos.Audience"
46
- optional :dry_run, :bool, 5
47
- end
48
- add_message "protos.DeregisterRequest" do
49
- optional :service_name, :string, 1
50
- optional :session_id, :string, 2
51
- end
52
- add_message "protos.GetSetPipelinesCommandsByServiceRequest" do
53
- optional :service_name, :string, 1
54
- end
55
- add_message "protos.GetSetPipelinesCommandsByServiceResponse" do
56
- repeated :set_pipeline_commands, :message, 1, "protos.Command"
57
- map :wasm_modules, :string, :message, 3, "protos.shared.WasmModule"
58
- end
59
- add_message "protos.SendSchemaRequest" do
60
- optional :audience, :message, 1, "protos.Audience"
61
- optional :schema, :message, 2, "protos.Schema"
62
- end
63
- end
64
- end
65
-
66
- module Streamdal
67
- module Protos
68
- NewAudienceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.NewAudienceRequest").msgclass
69
- HeartbeatRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.HeartbeatRequest").msgclass
70
- NotifyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.NotifyRequest").msgclass
71
- NotifyRequest::ConditionType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.NotifyRequest.ConditionType").enummodule
72
- MetricsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.MetricsRequest").msgclass
73
- RegisterRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.RegisterRequest").msgclass
74
- DeregisterRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.DeregisterRequest").msgclass
75
- GetSetPipelinesCommandsByServiceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.GetSetPipelinesCommandsByServiceRequest").msgclass
76
- GetSetPipelinesCommandsByServiceResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.GetSetPipelinesCommandsByServiceResponse").msgclass
77
- SendSchemaRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.SendSchemaRequest").msgclass
78
- end
79
- end
@@ -1,47 +0,0 @@
1
- # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # Source: sp_internal.proto for package 'Streamdal.Protos'
3
-
4
- require 'grpc'
5
- require 'sp_internal_pb'
6
-
7
- module Streamdal
8
- module Protos
9
- module Internal
10
- class Service
11
-
12
- include ::GRPC::GenericService
13
-
14
- self.marshal_class_method = :encode
15
- self.unmarshal_class_method = :decode
16
- self.service_name = 'protos.Internal'
17
-
18
- # Initial method that an SDK should call to register itself with the server.
19
- # The server will use this stream to send commands to the SDK via the
20
- # `CommandResponse` message. Clients should continuously listen for
21
- # CommandResponse messages and re-establish registration if the stream gets
22
- # disconnected.
23
- rpc :Register, ::Streamdal::Protos::RegisterRequest, stream(::Streamdal::Protos::Command)
24
- # Declare a new audience that the SDK is able to accept commands for.
25
- # An SDK would use this method when a new audience is declared by the user
26
- # via `.Process()`.
27
- rpc :NewAudience, ::Streamdal::Protos::NewAudienceRequest, ::Streamdal::Protos::StandardResponse
28
- # SDK is responsible for sending heartbeats to the server to let the server
29
- # know about active consumers and producers.
30
- rpc :Heartbeat, ::Streamdal::Protos::HeartbeatRequest, ::Streamdal::Protos::StandardResponse
31
- # Use this method when Notify condition has been triggered; the server will
32
- # decide on what to do about the notification.
33
- rpc :Notify, ::Streamdal::Protos::NotifyRequest, ::Streamdal::Protos::StandardResponse
34
- # Send periodic metrics to the server
35
- rpc :Metrics, ::Streamdal::Protos::MetricsRequest, ::Streamdal::Protos::StandardResponse
36
- # Used to pull all pipeline configs for the service name in the SDK's constructor
37
- # This is needed because Register() is async
38
- rpc :GetSetPipelinesCommandsByService, ::Streamdal::Protos::GetSetPipelinesCommandsByServiceRequest, ::Streamdal::Protos::GetSetPipelinesCommandsByServiceResponse
39
- rpc :SendTail, stream(::Streamdal::Protos::TailResponse), ::Streamdal::Protos::StandardResponse
40
- # Used by SDK to send a new schema to the server
41
- rpc :SendSchema, ::Streamdal::Protos::SendSchemaRequest, ::Streamdal::Protos::StandardResponse
42
- end
43
-
44
- Stub = Service.rpc_stub_class
45
- end
46
- end
47
- end
data/lib/sp_kv_pb.rb DELETED
@@ -1,44 +0,0 @@
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
data/lib/sp_notify_pb.rb DELETED
@@ -1,81 +0,0 @@
1
- # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # source: sp_notify.proto
3
-
4
- require 'google/protobuf'
5
-
6
- Google::Protobuf::DescriptorPool.generated_pool.build do
7
- add_file("sp_notify.proto", :syntax => :proto3) do
8
- add_message "protos.NotificationConfig" do
9
- proto3_optional :id, :string, 1
10
- optional :name, :string, 2
11
- optional :type, :enum, 3, "protos.NotificationType"
12
- proto3_optional :_created_by, :string, 10000
13
- oneof :config do
14
- optional :slack, :message, 1000, "protos.NotificationSlack"
15
- optional :email, :message, 1001, "protos.NotificationEmail"
16
- optional :pagerduty, :message, 1002, "protos.NotificationPagerDuty"
17
- end
18
- end
19
- add_message "protos.NotificationSlack" do
20
- optional :bot_token, :string, 1
21
- optional :channel, :string, 2
22
- end
23
- add_message "protos.NotificationEmail" do
24
- optional :type, :enum, 1, "protos.NotificationEmail.Type"
25
- repeated :recipients, :string, 2
26
- optional :from_address, :string, 3
27
- oneof :config do
28
- optional :smtp, :message, 1000, "protos.NotificationEmailSMTP"
29
- optional :ses, :message, 1001, "protos.NotificationEmailSES"
30
- end
31
- end
32
- add_enum "protos.NotificationEmail.Type" do
33
- value :TYPE_UNSET, 0
34
- value :TYPE_SMTP, 1
35
- value :TYPE_SES, 2
36
- end
37
- add_message "protos.NotificationEmailSMTP" do
38
- optional :host, :string, 1
39
- optional :port, :int32, 2
40
- optional :user, :string, 3
41
- optional :password, :string, 4
42
- optional :use_tls, :bool, 5
43
- end
44
- add_message "protos.NotificationEmailSES" do
45
- optional :ses_region, :string, 1
46
- optional :ses_access_key_id, :string, 2
47
- optional :ses_secret_access_key, :string, 3
48
- end
49
- add_message "protos.NotificationPagerDuty" do
50
- optional :token, :string, 1
51
- optional :email, :string, 2
52
- optional :service_id, :string, 3
53
- optional :urgency, :enum, 4, "protos.NotificationPagerDuty.Urgency"
54
- end
55
- add_enum "protos.NotificationPagerDuty.Urgency" do
56
- value :URGENCY_UNSET, 0
57
- value :URGENCY_LOW, 1
58
- value :URGENCY_HIGH, 2
59
- end
60
- add_enum "protos.NotificationType" do
61
- value :NOTIFICATION_TYPE_UNSET, 0
62
- value :NOTIFICATION_TYPE_SLACK, 1
63
- value :NOTIFICATION_TYPE_EMAIL, 2
64
- value :NOTIFICATION_TYPE_PAGERDUTY, 3
65
- end
66
- end
67
- end
68
-
69
- module Streamdal
70
- module Protos
71
- NotificationConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.NotificationConfig").msgclass
72
- NotificationSlack = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.NotificationSlack").msgclass
73
- NotificationEmail = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.NotificationEmail").msgclass
74
- NotificationEmail::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.NotificationEmail.Type").enummodule
75
- NotificationEmailSMTP = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.NotificationEmailSMTP").msgclass
76
- NotificationEmailSES = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.NotificationEmailSES").msgclass
77
- NotificationPagerDuty = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.NotificationPagerDuty").msgclass
78
- NotificationPagerDuty::Urgency = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.NotificationPagerDuty.Urgency").enummodule
79
- NotificationType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.NotificationType").enummodule
80
- end
81
- end
@@ -1,101 +0,0 @@
1
- # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # source: sp_pipeline.proto
3
-
4
- require 'google/protobuf'
5
-
6
- require 'sp_notify_pb'
7
- require 'steps/sp_steps_custom_pb'
8
- require 'steps/sp_steps_decode_pb'
9
- require 'steps/sp_steps_detective_pb'
10
- require 'steps/sp_steps_encode_pb'
11
- require 'steps/sp_steps_httprequest_pb'
12
- require 'steps/sp_steps_inferschema_pb'
13
- require 'steps/sp_steps_kv_pb'
14
- require 'steps/sp_steps_schema_validation_pb'
15
- require 'steps/sp_steps_transform_pb'
16
- require 'steps/sp_steps_valid_json_pb'
17
-
18
- Google::Protobuf::DescriptorPool.generated_pool.build do
19
- add_file("sp_pipeline.proto", :syntax => :proto3) do
20
- add_message "protos.Pipeline" do
21
- optional :id, :string, 1
22
- optional :name, :string, 2
23
- repeated :steps, :message, 3, "protos.PipelineStep"
24
- repeated :_notification_configs, :message, 4, "protos.NotificationConfig"
25
- proto3_optional :_paused, :bool, 1000
26
- proto3_optional :_description, :string, 1001
27
- proto3_optional :_version, :string, 1002
28
- proto3_optional :_url, :string, 1003
29
- proto3_optional :_created_at_unix_ts_utc, :int64, 1004
30
- proto3_optional :_updated_at_unix_ts_utc, :int64, 1005
31
- proto3_optional :_created_by, :string, 1006
32
- end
33
- add_message "protos.PipelineStepConditions" do
34
- optional :abort, :enum, 1, "protos.AbortCondition"
35
- optional :notify, :bool, 2
36
- map :metadata, :string, :string, 3
37
- optional :notification, :message, 4, "protos.PipelineStepNotification"
38
- end
39
- add_message "protos.PipelineStepNotification" do
40
- repeated :notification_config_ids, :string, 1
41
- optional :payload_type, :enum, 2, "protos.PipelineStepNotification.PayloadType"
42
- repeated :paths, :string, 3
43
- end
44
- add_enum "protos.PipelineStepNotification.PayloadType" do
45
- value :PAYLOAD_TYPE_UNSET, 0
46
- value :PAYLOAD_TYPE_EXCLUDE, 1
47
- value :PAYLOAD_TYPE_FULL_PAYLOAD, 2
48
- value :PAYLOAD_TYPE_SELECT_PATHS, 3
49
- end
50
- add_message "protos.PipelineStep" do
51
- optional :name, :string, 1
52
- optional :on_true, :message, 2, "protos.PipelineStepConditions"
53
- optional :on_false, :message, 3, "protos.PipelineStepConditions"
54
- optional :dynamic, :bool, 4
55
- optional :on_error, :message, 5, "protos.PipelineStepConditions"
56
- proto3_optional :_wasm_id, :string, 10000
57
- proto3_optional :_wasm_bytes, :bytes, 10001
58
- proto3_optional :_wasm_function, :string, 10002
59
- oneof :step do
60
- optional :detective, :message, 1000, "protos.steps.DetectiveStep"
61
- optional :transform, :message, 1001, "protos.steps.TransformStep"
62
- optional :encode, :message, 1002, "protos.steps.EncodeStep"
63
- optional :decode, :message, 1003, "protos.steps.DecodeStep"
64
- optional :custom, :message, 1004, "protos.steps.CustomStep"
65
- optional :http_request, :message, 1005, "protos.steps.HttpRequestStep"
66
- optional :kv, :message, 1006, "protos.steps.KVStep"
67
- optional :infer_schema, :message, 1007, "protos.steps.InferSchemaStep"
68
- optional :valid_json, :message, 1008, "protos.steps.ValidJSONStep"
69
- optional :schema_validation, :message, 1009, "protos.steps.SchemaValidationStep"
70
- end
71
- end
72
- add_message "protos.PipelineConfigs" do
73
- repeated :configs, :message, 1, "protos.PipelineConfig"
74
- proto3_optional :_is_empty, :bool, 1000
75
- proto3_optional :_created_by, :string, 1001
76
- end
77
- add_message "protos.PipelineConfig" do
78
- optional :id, :string, 1
79
- optional :paused, :bool, 2
80
- optional :created_at_unix_ts_utc, :int64, 3
81
- end
82
- add_enum "protos.AbortCondition" do
83
- value :ABORT_CONDITION_UNSET, 0
84
- value :ABORT_CONDITION_ABORT_CURRENT, 1
85
- value :ABORT_CONDITION_ABORT_ALL, 2
86
- end
87
- end
88
- end
89
-
90
- module Streamdal
91
- module Protos
92
- Pipeline = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.Pipeline").msgclass
93
- PipelineStepConditions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.PipelineStepConditions").msgclass
94
- PipelineStepNotification = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.PipelineStepNotification").msgclass
95
- PipelineStepNotification::PayloadType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.PipelineStepNotification.PayloadType").enummodule
96
- PipelineStep = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.PipelineStep").msgclass
97
- PipelineConfigs = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.PipelineConfigs").msgclass
98
- PipelineConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.PipelineConfig").msgclass
99
- AbortCondition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.AbortCondition").enummodule
100
- end
101
- end
data/lib/sp_sdk_pb.rb DELETED
@@ -1,44 +0,0 @@
1
- # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # source: sp_sdk.proto
3
-
4
- require 'google/protobuf'
5
-
6
- require 'sp_pipeline_pb'
7
-
8
- Google::Protobuf::DescriptorPool.generated_pool.build do
9
- add_file("sp_sdk.proto", :syntax => :proto3) do
10
- add_message "protos.SDKResponse" do
11
- optional :data, :bytes, 1
12
- optional :status, :enum, 2, "protos.ExecStatus"
13
- proto3_optional :status_message, :string, 3
14
- repeated :pipeline_status, :message, 4, "protos.PipelineStatus"
15
- map :metadata, :string, :string, 5
16
- end
17
- add_message "protos.PipelineStatus" do
18
- optional :id, :string, 1
19
- optional :name, :string, 2
20
- repeated :step_status, :message, 3, "protos.StepStatus"
21
- end
22
- add_message "protos.StepStatus" do
23
- optional :name, :string, 1
24
- optional :status, :enum, 2, "protos.ExecStatus"
25
- proto3_optional :status_message, :string, 3
26
- optional :abort_condition, :enum, 4, "protos.AbortCondition"
27
- end
28
- add_enum "protos.ExecStatus" do
29
- value :EXEC_STATUS_UNSET, 0
30
- value :EXEC_STATUS_TRUE, 1
31
- value :EXEC_STATUS_FALSE, 2
32
- value :EXEC_STATUS_ERROR, 3
33
- end
34
- end
35
- end
36
-
37
- module Streamdal
38
- module Protos
39
- SDKResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.SDKResponse").msgclass
40
- PipelineStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.PipelineStatus").msgclass
41
- StepStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.StepStatus").msgclass
42
- ExecStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.ExecStatus").enummodule
43
- end
44
- end
data/lib/sp_wsm_pb.rb DELETED
@@ -1,45 +0,0 @@
1
- # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # source: sp_wsm.proto
3
-
4
- require 'google/protobuf'
5
-
6
- require 'sp_pipeline_pb'
7
- require 'steps/sp_steps_detective_pb'
8
-
9
- Google::Protobuf::DescriptorPool.generated_pool.build do
10
- add_file("sp_wsm.proto", :syntax => :proto3) do
11
- add_message "protos.WASMRequest" do
12
- optional :step, :message, 1, "protos.PipelineStep"
13
- optional :input_payload, :bytes, 2
14
- proto3_optional :input_step, :bytes, 3
15
- proto3_optional :inter_step_result, :message, 4, "protos.InterStepResult"
16
- end
17
- add_message "protos.WASMResponse" do
18
- optional :output_payload, :bytes, 1
19
- optional :exit_code, :enum, 2, "protos.WASMExitCode"
20
- optional :exit_msg, :string, 3
21
- proto3_optional :output_step, :bytes, 4
22
- proto3_optional :inter_step_result, :message, 5, "protos.InterStepResult"
23
- end
24
- add_message "protos.InterStepResult" do
25
- oneof :input_from do
26
- optional :detective_result, :message, 1, "protos.steps.DetectiveStepResult"
27
- end
28
- end
29
- add_enum "protos.WASMExitCode" do
30
- value :WASM_EXIT_CODE_UNSET, 0
31
- value :WASM_EXIT_CODE_TRUE, 1
32
- value :WASM_EXIT_CODE_FALSE, 2
33
- value :WASM_EXIT_CODE_ERROR, 3
34
- end
35
- end
36
- end
37
-
38
- module Streamdal
39
- module Protos
40
- WASMRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.WASMRequest").msgclass
41
- WASMResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.WASMResponse").msgclass
42
- InterStepResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.InterStepResult").msgclass
43
- WASMExitCode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.WASMExitCode").enummodule
44
- end
45
- end
@@ -1,18 +0,0 @@
1
- # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # source: steps/sp_steps_custom.proto
3
-
4
- require 'google/protobuf'
5
-
6
- Google::Protobuf::DescriptorPool.generated_pool.build do
7
- add_file("steps/sp_steps_custom.proto", :syntax => :proto3) do
8
- add_message "protos.steps.CustomStep" do
9
- map :args, :string, :string, 1
10
- end
11
- end
12
- end
13
-
14
- module Streamdal
15
- module Protos
16
- CustomStep = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.steps.CustomStep").msgclass
17
- end
18
- end
@@ -1,18 +0,0 @@
1
- # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # source: steps/sp_steps_decode.proto
3
-
4
- require 'google/protobuf'
5
-
6
- Google::Protobuf::DescriptorPool.generated_pool.build do
7
- add_file("steps/sp_steps_decode.proto", :syntax => :proto3) do
8
- add_message "protos.steps.DecodeStep" do
9
- optional :id, :string, 1
10
- end
11
- end
12
- end
13
-
14
- module Streamdal
15
- module Protos
16
- DecodeStep = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.steps.DecodeStep").msgclass
17
- end
18
- end
@@ -1,101 +0,0 @@
1
- # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # source: steps/sp_steps_detective.proto
3
-
4
- require 'google/protobuf'
5
-
6
- Google::Protobuf::DescriptorPool.generated_pool.build do
7
- add_file("steps/sp_steps_detective.proto", :syntax => :proto3) do
8
- add_message "protos.steps.DetectiveStep" do
9
- proto3_optional :path, :string, 1
10
- repeated :args, :string, 2
11
- proto3_optional :negate, :bool, 3
12
- optional :type, :enum, 4, "protos.steps.DetectiveType"
13
- end
14
- add_message "protos.steps.DetectiveStepResultMatch" do
15
- optional :type, :enum, 1, "protos.steps.DetectiveType"
16
- optional :path, :string, 2
17
- optional :value, :bytes, 5
18
- end
19
- add_message "protos.steps.DetectiveStepResult" do
20
- repeated :matches, :message, 1, "protos.steps.DetectiveStepResultMatch"
21
- end
22
- add_enum "protos.steps.DetectiveType" do
23
- value :DETECTIVE_TYPE_UNKNOWN, 0
24
- value :DETECTIVE_TYPE_IS_EMPTY, 1000
25
- value :DETECTIVE_TYPE_HAS_FIELD, 1001
26
- value :DETECTIVE_TYPE_IS_TYPE, 1002
27
- value :DETECTIVE_TYPE_STRING_CONTAINS_ANY, 1003
28
- value :DETECTIVE_TYPE_STRING_CONTAINS_ALL, 1004
29
- value :DETECTIVE_TYPE_STRING_EQUAL, 1005
30
- value :DETECTIVE_TYPE_IPV4_ADDRESS, 1006
31
- value :DETECTIVE_TYPE_IPV6_ADDRESS, 1007
32
- value :DETECTIVE_TYPE_MAC_ADDRESS, 1008
33
- value :DETECTIVE_TYPE_REGEX, 1009
34
- value :DETECTIVE_TYPE_TIMESTAMP_RFC3339, 1010
35
- value :DETECTIVE_TYPE_TIMESTAMP_UNIX_NANO, 1011
36
- value :DETECTIVE_TYPE_TIMESTAMP_UNIX, 1012
37
- value :DETECTIVE_TYPE_BOOLEAN_TRUE, 1013
38
- value :DETECTIVE_TYPE_BOOLEAN_FALSE, 1014
39
- value :DETECTIVE_TYPE_UUID, 1015
40
- value :DETECTIVE_TYPE_URL, 1016
41
- value :DETECTIVE_TYPE_HOSTNAME, 1017
42
- value :DETECTIVE_TYPE_STRING_LENGTH_MIN, 1018
43
- value :DETECTIVE_TYPE_STRING_LENGTH_MAX, 1019
44
- value :DETECTIVE_TYPE_STRING_LENGTH_RANGE, 1020
45
- value :DETECTIVE_TYPE_SEMVER, 1021
46
- value :DETECTIVE_TYPE_PII_ANY, 2000
47
- value :DETECTIVE_TYPE_PII_CREDIT_CARD, 2001
48
- value :DETECTIVE_TYPE_PII_SSN, 2002
49
- value :DETECTIVE_TYPE_PII_EMAIL, 2003
50
- value :DETECTIVE_TYPE_PII_PHONE, 2004
51
- value :DETECTIVE_TYPE_PII_DRIVER_LICENSE, 2005
52
- value :DETECTIVE_TYPE_PII_PASSPORT_ID, 2006
53
- value :DETECTIVE_TYPE_PII_VIN_NUMBER, 2007
54
- value :DETECTIVE_TYPE_PII_SERIAL_NUMBER, 2008
55
- value :DETECTIVE_TYPE_PII_LOGIN, 2009
56
- value :DETECTIVE_TYPE_PII_TAXPAYER_ID, 2010
57
- value :DETECTIVE_TYPE_PII_ADDRESS, 2011
58
- value :DETECTIVE_TYPE_PII_SIGNATURE, 2012
59
- value :DETECTIVE_TYPE_PII_GEOLOCATION, 2013
60
- value :DETECTIVE_TYPE_PII_EDUCATION, 2014
61
- value :DETECTIVE_TYPE_PII_FINANCIAL, 2015
62
- value :DETECTIVE_TYPE_PII_HEALTH, 2016
63
- value :DETECTIVE_TYPE_PII_AWS_KEY_ID, 2017
64
- value :DETECTIVE_TYPE_PII_RSA_KEY, 2018
65
- value :DETECTIVE_TYPE_PII_TITLE, 2019
66
- value :DETECTIVE_TYPE_PII_RELIGION, 2020
67
- value :DETECTIVE_TYPE_PII_SLACK_TOKEN, 2021
68
- value :DETECTIVE_TYPE_PII_STRIPE_KEY, 2022
69
- value :DETECTIVE_TYPE_PII_IBAN, 2023
70
- value :DETECTIVE_TYPE_PII_SWIFT_BIC, 2024
71
- value :DETECTIVE_TYPE_PII_BANK_ROUTING_NUMBER, 2025
72
- value :DETECTIVE_TYPE_PII_CRYPTO_ADDRESS, 2026
73
- value :DETECTIVE_TYPE_PII_GITHUB_PAT, 2027
74
- value :DETECTIVE_TYPE_PII_BRAINTREE_ACCESS_TOKEN, 2028
75
- value :DETECTIVE_TYPE_PII_AWS_MWS_AUTH_TOKEN, 2029
76
- value :DETECTIVE_TYPE_PII_DATABRICKS_PAT, 2030
77
- value :DETECTIVE_TYPE_PII_SENDGRID_KEY, 2031
78
- value :DETECTIVE_TYPE_PII_AZURE_SQL_CONN_STRING, 2032
79
- value :DETECTIVE_TYPE_PII_JWT, 2033
80
- value :DETECTIVE_TYPE_PII_DOCKER_SWARM_TOKEN, 2034
81
- value :DETECTIVE_TYPE_PII_BEARER_TOKEN, 2035
82
- value :DETECTIVE_TYPE_NUMERIC_EQUAL_TO, 3000
83
- value :DETECTIVE_TYPE_NUMERIC_GREATER_THAN, 3001
84
- value :DETECTIVE_TYPE_NUMERIC_GREATER_EQUAL, 3002
85
- value :DETECTIVE_TYPE_NUMERIC_LESS_THAN, 3003
86
- value :DETECTIVE_TYPE_NUMERIC_LESS_EQUAL, 3004
87
- value :DETECTIVE_TYPE_NUMERIC_RANGE, 3005
88
- value :DETECTIVE_TYPE_NUMERIC_MIN, 3006
89
- value :DETECTIVE_TYPE_NUMERIC_MAX, 3007
90
- end
91
- end
92
- end
93
-
94
- module Streamdal
95
- module Protos
96
- DetectiveStep = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.steps.DetectiveStep").msgclass
97
- DetectiveStepResultMatch = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.steps.DetectiveStepResultMatch").msgclass
98
- DetectiveStepResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.steps.DetectiveStepResult").msgclass
99
- DetectiveType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.steps.DetectiveType").enummodule
100
- end
101
- end
@@ -1,18 +0,0 @@
1
- # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # source: steps/sp_steps_encode.proto
3
-
4
- require 'google/protobuf'
5
-
6
- Google::Protobuf::DescriptorPool.generated_pool.build do
7
- add_file("steps/sp_steps_encode.proto", :syntax => :proto3) do
8
- add_message "protos.steps.EncodeStep" do
9
- optional :id, :string, 1
10
- end
11
- end
12
- end
13
-
14
- module Streamdal
15
- module Protos
16
- EncodeStep = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.steps.EncodeStep").msgclass
17
- end
18
- end