dapr-ruby 0.4.5 → 1.13.2

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.
@@ -1,5 +1,3 @@
1
- # frozen_string_literal: true
2
-
3
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
4
2
  # Source: dapr/proto/runtime/v1/appcallback.proto for package 'dapr.proto.runtime.v1'
5
3
  # Original file comments:
@@ -28,6 +26,7 @@ module Dapr
28
26
  # User application needs to implement AppCallback service if it needs to
29
27
  # receive message from dapr runtime.
30
28
  class Service
29
+
31
30
  include ::GRPC::GenericService
32
31
 
33
32
  self.marshal_class_method = :encode
@@ -37,28 +36,25 @@ module Dapr
37
36
  # Invokes service method with InvokeRequest.
38
37
  rpc :OnInvoke, ::Dapr::Proto::Common::V1::InvokeRequest, ::Dapr::Proto::Common::V1::InvokeResponse
39
38
  # Lists all topics subscribed by this app.
40
- rpc :ListTopicSubscriptions, ::Google::Protobuf::Empty,
41
- ::Dapr::Proto::Runtime::V1::ListTopicSubscriptionsResponse
39
+ rpc :ListTopicSubscriptions, ::Google::Protobuf::Empty, ::Dapr::Proto::Runtime::V1::ListTopicSubscriptionsResponse
42
40
  # Subscribes events from Pubsub
43
- rpc :OnTopicEvent, ::Dapr::Proto::Runtime::V1::TopicEventRequest,
44
- ::Dapr::Proto::Runtime::V1::TopicEventResponse
41
+ rpc :OnTopicEvent, ::Dapr::Proto::Runtime::V1::TopicEventRequest, ::Dapr::Proto::Runtime::V1::TopicEventResponse
45
42
  # Lists all input bindings subscribed by this app.
46
43
  rpc :ListInputBindings, ::Google::Protobuf::Empty, ::Dapr::Proto::Runtime::V1::ListInputBindingsResponse
47
44
  # Listens events from the input bindings
48
45
  #
49
46
  # User application can save the states or send the events to the output
50
47
  # bindings optionally by returning BindingEventResponse.
51
- rpc :OnBindingEvent, ::Dapr::Proto::Runtime::V1::BindingEventRequest,
52
- ::Dapr::Proto::Runtime::V1::BindingEventResponse
48
+ rpc :OnBindingEvent, ::Dapr::Proto::Runtime::V1::BindingEventRequest, ::Dapr::Proto::Runtime::V1::BindingEventResponse
53
49
  end
54
50
 
55
51
  Stub = Service.rpc_stub_class
56
52
  end
57
-
58
53
  module AppCallbackHealthCheck
59
54
  # AppCallbackHealthCheck V1 is an optional extension to AppCallback V1 to implement
60
55
  # the HealthCheck method.
61
56
  class Service
57
+
62
58
  include ::GRPC::GenericService
63
59
 
64
60
  self.marshal_class_method = :encode
@@ -71,11 +67,11 @@ module Dapr
71
67
 
72
68
  Stub = Service.rpc_stub_class
73
69
  end
74
-
75
70
  module AppCallbackAlpha
76
71
  # AppCallbackAlpha V1 is an optional extension to AppCallback V1 to opt
77
72
  # for Alpha RPCs.
78
73
  class Service
74
+
79
75
  include ::GRPC::GenericService
80
76
 
81
77
  self.marshal_class_method = :encode
@@ -83,8 +79,7 @@ module Dapr
83
79
  self.service_name = 'dapr.proto.runtime.v1.AppCallbackAlpha'
84
80
 
85
81
  # Subscribes bulk events from Pubsub
86
- rpc :OnBulkTopicEventAlpha1, ::Dapr::Proto::Runtime::V1::TopicEventBulkRequest,
87
- ::Dapr::Proto::Runtime::V1::TopicEventBulkResponse
82
+ rpc :OnBulkTopicEventAlpha1, ::Dapr::Proto::Runtime::V1::TopicEventBulkRequest, ::Dapr::Proto::Runtime::V1::TopicEventBulkResponse
88
83
  end
89
84
 
90
85
  Stub = Service.rpc_stub_class