dapr-ruby 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +12 -0
- data/.rspec +3 -0
- data/.ruby-gemset +1 -0
- data/.ruby-version +1 -0
- data/.travis.yml +7 -0
- data/CHANGELOG.md +13 -0
- data/Gemfile +6 -0
- data/Gemfile.lock +69 -0
- data/LICENSE.txt +21 -0
- data/README.md +79 -0
- data/Rakefile +6 -0
- data/bin/console +14 -0
- data/bin/regen_client.sh +21 -0
- data/bin/setup +8 -0
- data/dapr/proto/common/v1/common.proto +160 -0
- data/dapr/proto/runtime/v1/appcallback.proto +313 -0
- data/dapr/proto/runtime/v1/dapr.proto +1044 -0
- data/dapr.gemspec +46 -0
- data/example.rb +25 -0
- data/examples/app-callback/README.md +25 -0
- data/examples/app-callback/app_callback_example.rb +15 -0
- data/examples/app-callback/app_callback_service.rb +53 -0
- data/examples/invoke-simple/README.md +17 -0
- data/examples/invoke-simple/invoke-caller.rb +19 -0
- data/examples/invoke-simple/invoke-receiver.rb +27 -0
- data/examples/pubsub-simple/README.md +13 -0
- data/examples/pubsub-simple/publisher.rb +19 -0
- data/examples/pubsub-simple/subscriber.rb +32 -0
- data/examples/state-store/README.md +7 -0
- data/examples/state-store/state-store.rb +29 -0
- data/lib/dapr/proto/common/v1/common_pb.rb +90 -0
- data/lib/dapr/proto/runtime/v1/appcallback_pb.rb +139 -0
- data/lib/dapr/proto/runtime/v1/appcallback_services_pb.rb +90 -0
- data/lib/dapr/proto/runtime/v1/dapr_pb.rb +526 -0
- data/lib/dapr/proto/runtime/v1/dapr_services_pb.rb +138 -0
- data/lib/dapr/version.rb +3 -0
- data/lib/dapr-client.rb +3 -0
- data/lib/dapr.rb +1 -0
- metadata +158 -0
@@ -0,0 +1,526 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: dapr/proto/runtime/v1/dapr.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/protobuf/any_pb'
|
7
|
+
require 'google/protobuf/empty_pb'
|
8
|
+
require 'google/protobuf/timestamp_pb'
|
9
|
+
require 'dapr/proto/common/v1/common_pb'
|
10
|
+
|
11
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
12
|
+
add_file("dapr/proto/runtime/v1/dapr.proto", :syntax => :proto3) do
|
13
|
+
add_message "dapr.proto.runtime.v1.InvokeServiceRequest" do
|
14
|
+
optional :id, :string, 1
|
15
|
+
optional :message, :message, 3, "dapr.proto.common.v1.InvokeRequest"
|
16
|
+
end
|
17
|
+
add_message "dapr.proto.runtime.v1.GetStateRequest" do
|
18
|
+
optional :store_name, :string, 1
|
19
|
+
optional :key, :string, 2
|
20
|
+
optional :consistency, :enum, 3, "dapr.proto.common.v1.StateOptions.StateConsistency"
|
21
|
+
map :metadata, :string, :string, 4
|
22
|
+
end
|
23
|
+
add_message "dapr.proto.runtime.v1.GetBulkStateRequest" do
|
24
|
+
optional :store_name, :string, 1
|
25
|
+
repeated :keys, :string, 2
|
26
|
+
optional :parallelism, :int32, 3
|
27
|
+
map :metadata, :string, :string, 4
|
28
|
+
end
|
29
|
+
add_message "dapr.proto.runtime.v1.GetBulkStateResponse" do
|
30
|
+
repeated :items, :message, 1, "dapr.proto.runtime.v1.BulkStateItem"
|
31
|
+
end
|
32
|
+
add_message "dapr.proto.runtime.v1.BulkStateItem" do
|
33
|
+
optional :key, :string, 1
|
34
|
+
optional :data, :bytes, 2
|
35
|
+
optional :etag, :string, 3
|
36
|
+
optional :error, :string, 4
|
37
|
+
map :metadata, :string, :string, 5
|
38
|
+
end
|
39
|
+
add_message "dapr.proto.runtime.v1.GetStateResponse" do
|
40
|
+
optional :data, :bytes, 1
|
41
|
+
optional :etag, :string, 2
|
42
|
+
map :metadata, :string, :string, 3
|
43
|
+
end
|
44
|
+
add_message "dapr.proto.runtime.v1.DeleteStateRequest" do
|
45
|
+
optional :store_name, :string, 1
|
46
|
+
optional :key, :string, 2
|
47
|
+
optional :etag, :message, 3, "dapr.proto.common.v1.Etag"
|
48
|
+
optional :options, :message, 4, "dapr.proto.common.v1.StateOptions"
|
49
|
+
map :metadata, :string, :string, 5
|
50
|
+
end
|
51
|
+
add_message "dapr.proto.runtime.v1.DeleteBulkStateRequest" do
|
52
|
+
optional :store_name, :string, 1
|
53
|
+
repeated :states, :message, 2, "dapr.proto.common.v1.StateItem"
|
54
|
+
end
|
55
|
+
add_message "dapr.proto.runtime.v1.SaveStateRequest" do
|
56
|
+
optional :store_name, :string, 1
|
57
|
+
repeated :states, :message, 2, "dapr.proto.common.v1.StateItem"
|
58
|
+
end
|
59
|
+
add_message "dapr.proto.runtime.v1.QueryStateRequest" do
|
60
|
+
optional :store_name, :string, 1, json_name: "storeName"
|
61
|
+
optional :query, :string, 2
|
62
|
+
map :metadata, :string, :string, 3
|
63
|
+
end
|
64
|
+
add_message "dapr.proto.runtime.v1.QueryStateItem" do
|
65
|
+
optional :key, :string, 1
|
66
|
+
optional :data, :bytes, 2
|
67
|
+
optional :etag, :string, 3
|
68
|
+
optional :error, :string, 4
|
69
|
+
end
|
70
|
+
add_message "dapr.proto.runtime.v1.QueryStateResponse" do
|
71
|
+
repeated :results, :message, 1, "dapr.proto.runtime.v1.QueryStateItem"
|
72
|
+
optional :token, :string, 2
|
73
|
+
map :metadata, :string, :string, 3
|
74
|
+
end
|
75
|
+
add_message "dapr.proto.runtime.v1.PublishEventRequest" do
|
76
|
+
optional :pubsub_name, :string, 1
|
77
|
+
optional :topic, :string, 2
|
78
|
+
optional :data, :bytes, 3
|
79
|
+
optional :data_content_type, :string, 4
|
80
|
+
map :metadata, :string, :string, 5
|
81
|
+
end
|
82
|
+
add_message "dapr.proto.runtime.v1.BulkPublishRequest" do
|
83
|
+
optional :pubsub_name, :string, 1
|
84
|
+
optional :topic, :string, 2
|
85
|
+
repeated :entries, :message, 3, "dapr.proto.runtime.v1.BulkPublishRequestEntry"
|
86
|
+
map :metadata, :string, :string, 4
|
87
|
+
end
|
88
|
+
add_message "dapr.proto.runtime.v1.BulkPublishRequestEntry" do
|
89
|
+
optional :entry_id, :string, 1
|
90
|
+
optional :event, :bytes, 2
|
91
|
+
optional :content_type, :string, 3
|
92
|
+
map :metadata, :string, :string, 4
|
93
|
+
end
|
94
|
+
add_message "dapr.proto.runtime.v1.BulkPublishResponse" do
|
95
|
+
repeated :failedEntries, :message, 1, "dapr.proto.runtime.v1.BulkPublishResponseFailedEntry"
|
96
|
+
end
|
97
|
+
add_message "dapr.proto.runtime.v1.BulkPublishResponseFailedEntry" do
|
98
|
+
optional :entry_id, :string, 1
|
99
|
+
optional :error, :string, 2
|
100
|
+
end
|
101
|
+
add_message "dapr.proto.runtime.v1.InvokeBindingRequest" do
|
102
|
+
optional :name, :string, 1
|
103
|
+
optional :data, :bytes, 2
|
104
|
+
map :metadata, :string, :string, 3
|
105
|
+
optional :operation, :string, 4
|
106
|
+
end
|
107
|
+
add_message "dapr.proto.runtime.v1.InvokeBindingResponse" do
|
108
|
+
optional :data, :bytes, 1
|
109
|
+
map :metadata, :string, :string, 2
|
110
|
+
end
|
111
|
+
add_message "dapr.proto.runtime.v1.GetSecretRequest" do
|
112
|
+
optional :store_name, :string, 1, json_name: "storeName"
|
113
|
+
optional :key, :string, 2
|
114
|
+
map :metadata, :string, :string, 3
|
115
|
+
end
|
116
|
+
add_message "dapr.proto.runtime.v1.GetSecretResponse" do
|
117
|
+
map :data, :string, :string, 1
|
118
|
+
end
|
119
|
+
add_message "dapr.proto.runtime.v1.GetBulkSecretRequest" do
|
120
|
+
optional :store_name, :string, 1, json_name: "storeName"
|
121
|
+
map :metadata, :string, :string, 2
|
122
|
+
end
|
123
|
+
add_message "dapr.proto.runtime.v1.SecretResponse" do
|
124
|
+
map :secrets, :string, :string, 1
|
125
|
+
end
|
126
|
+
add_message "dapr.proto.runtime.v1.GetBulkSecretResponse" do
|
127
|
+
map :data, :string, :message, 1, "dapr.proto.runtime.v1.SecretResponse"
|
128
|
+
end
|
129
|
+
add_message "dapr.proto.runtime.v1.TransactionalStateOperation" do
|
130
|
+
optional :operationType, :string, 1
|
131
|
+
optional :request, :message, 2, "dapr.proto.common.v1.StateItem"
|
132
|
+
end
|
133
|
+
add_message "dapr.proto.runtime.v1.ExecuteStateTransactionRequest" do
|
134
|
+
optional :storeName, :string, 1
|
135
|
+
repeated :operations, :message, 2, "dapr.proto.runtime.v1.TransactionalStateOperation"
|
136
|
+
map :metadata, :string, :string, 3
|
137
|
+
end
|
138
|
+
add_message "dapr.proto.runtime.v1.RegisterActorTimerRequest" do
|
139
|
+
optional :actor_type, :string, 1
|
140
|
+
optional :actor_id, :string, 2
|
141
|
+
optional :name, :string, 3
|
142
|
+
optional :due_time, :string, 4
|
143
|
+
optional :period, :string, 5
|
144
|
+
optional :callback, :string, 6
|
145
|
+
optional :data, :bytes, 7
|
146
|
+
optional :ttl, :string, 8
|
147
|
+
end
|
148
|
+
add_message "dapr.proto.runtime.v1.UnregisterActorTimerRequest" do
|
149
|
+
optional :actor_type, :string, 1
|
150
|
+
optional :actor_id, :string, 2
|
151
|
+
optional :name, :string, 3
|
152
|
+
end
|
153
|
+
add_message "dapr.proto.runtime.v1.RegisterActorReminderRequest" do
|
154
|
+
optional :actor_type, :string, 1
|
155
|
+
optional :actor_id, :string, 2
|
156
|
+
optional :name, :string, 3
|
157
|
+
optional :due_time, :string, 4
|
158
|
+
optional :period, :string, 5
|
159
|
+
optional :data, :bytes, 6
|
160
|
+
optional :ttl, :string, 7
|
161
|
+
end
|
162
|
+
add_message "dapr.proto.runtime.v1.UnregisterActorReminderRequest" do
|
163
|
+
optional :actor_type, :string, 1
|
164
|
+
optional :actor_id, :string, 2
|
165
|
+
optional :name, :string, 3
|
166
|
+
end
|
167
|
+
add_message "dapr.proto.runtime.v1.RenameActorReminderRequest" do
|
168
|
+
optional :actor_type, :string, 1
|
169
|
+
optional :actor_id, :string, 2
|
170
|
+
optional :old_name, :string, 3
|
171
|
+
optional :new_name, :string, 4
|
172
|
+
end
|
173
|
+
add_message "dapr.proto.runtime.v1.GetActorStateRequest" do
|
174
|
+
optional :actor_type, :string, 1
|
175
|
+
optional :actor_id, :string, 2
|
176
|
+
optional :key, :string, 3
|
177
|
+
end
|
178
|
+
add_message "dapr.proto.runtime.v1.GetActorStateResponse" do
|
179
|
+
optional :data, :bytes, 1
|
180
|
+
end
|
181
|
+
add_message "dapr.proto.runtime.v1.ExecuteActorStateTransactionRequest" do
|
182
|
+
optional :actor_type, :string, 1
|
183
|
+
optional :actor_id, :string, 2
|
184
|
+
repeated :operations, :message, 3, "dapr.proto.runtime.v1.TransactionalActorStateOperation"
|
185
|
+
end
|
186
|
+
add_message "dapr.proto.runtime.v1.TransactionalActorStateOperation" do
|
187
|
+
optional :operationType, :string, 1
|
188
|
+
optional :key, :string, 2
|
189
|
+
optional :value, :message, 3, "google.protobuf.Any"
|
190
|
+
map :metadata, :string, :string, 4
|
191
|
+
end
|
192
|
+
add_message "dapr.proto.runtime.v1.InvokeActorRequest" do
|
193
|
+
optional :actor_type, :string, 1
|
194
|
+
optional :actor_id, :string, 2
|
195
|
+
optional :method, :string, 3
|
196
|
+
optional :data, :bytes, 4
|
197
|
+
map :metadata, :string, :string, 5
|
198
|
+
end
|
199
|
+
add_message "dapr.proto.runtime.v1.InvokeActorResponse" do
|
200
|
+
optional :data, :bytes, 1
|
201
|
+
end
|
202
|
+
add_message "dapr.proto.runtime.v1.GetMetadataResponse" do
|
203
|
+
optional :id, :string, 1
|
204
|
+
repeated :active_actors_count, :message, 2, "dapr.proto.runtime.v1.ActiveActorsCount"
|
205
|
+
repeated :registered_components, :message, 3, "dapr.proto.runtime.v1.RegisteredComponents"
|
206
|
+
map :extended_metadata, :string, :string, 4
|
207
|
+
repeated :subscriptions, :message, 5, "dapr.proto.runtime.v1.PubsubSubscription"
|
208
|
+
end
|
209
|
+
add_message "dapr.proto.runtime.v1.ActiveActorsCount" do
|
210
|
+
optional :type, :string, 1
|
211
|
+
optional :count, :int32, 2
|
212
|
+
end
|
213
|
+
add_message "dapr.proto.runtime.v1.RegisteredComponents" do
|
214
|
+
optional :name, :string, 1
|
215
|
+
optional :type, :string, 2
|
216
|
+
optional :version, :string, 3
|
217
|
+
repeated :capabilities, :string, 4
|
218
|
+
end
|
219
|
+
add_message "dapr.proto.runtime.v1.PubsubSubscription" do
|
220
|
+
optional :pubsub_name, :string, 1
|
221
|
+
optional :topic, :string, 2
|
222
|
+
map :metadata, :string, :string, 3
|
223
|
+
optional :rules, :message, 4, "dapr.proto.runtime.v1.PubsubSubscriptionRules"
|
224
|
+
optional :dead_letter_topic, :string, 5
|
225
|
+
end
|
226
|
+
add_message "dapr.proto.runtime.v1.PubsubSubscriptionRules" do
|
227
|
+
repeated :rules, :message, 1, "dapr.proto.runtime.v1.PubsubSubscriptionRule"
|
228
|
+
end
|
229
|
+
add_message "dapr.proto.runtime.v1.PubsubSubscriptionRule" do
|
230
|
+
optional :match, :string, 1
|
231
|
+
optional :path, :string, 2
|
232
|
+
end
|
233
|
+
add_message "dapr.proto.runtime.v1.SetMetadataRequest" do
|
234
|
+
optional :key, :string, 1
|
235
|
+
optional :value, :string, 2
|
236
|
+
end
|
237
|
+
add_message "dapr.proto.runtime.v1.GetConfigurationRequest" do
|
238
|
+
optional :store_name, :string, 1
|
239
|
+
repeated :keys, :string, 2
|
240
|
+
map :metadata, :string, :string, 3
|
241
|
+
end
|
242
|
+
add_message "dapr.proto.runtime.v1.GetConfigurationResponse" do
|
243
|
+
map :items, :string, :message, 1, "dapr.proto.common.v1.ConfigurationItem"
|
244
|
+
end
|
245
|
+
add_message "dapr.proto.runtime.v1.SubscribeConfigurationRequest" do
|
246
|
+
optional :store_name, :string, 1
|
247
|
+
repeated :keys, :string, 2
|
248
|
+
map :metadata, :string, :string, 3
|
249
|
+
end
|
250
|
+
add_message "dapr.proto.runtime.v1.UnsubscribeConfigurationRequest" do
|
251
|
+
optional :store_name, :string, 1
|
252
|
+
optional :id, :string, 2
|
253
|
+
end
|
254
|
+
add_message "dapr.proto.runtime.v1.SubscribeConfigurationResponse" do
|
255
|
+
optional :id, :string, 1
|
256
|
+
map :items, :string, :message, 2, "dapr.proto.common.v1.ConfigurationItem"
|
257
|
+
end
|
258
|
+
add_message "dapr.proto.runtime.v1.UnsubscribeConfigurationResponse" do
|
259
|
+
optional :ok, :bool, 1
|
260
|
+
optional :message, :string, 2
|
261
|
+
end
|
262
|
+
add_message "dapr.proto.runtime.v1.TryLockRequest" do
|
263
|
+
optional :store_name, :string, 1, json_name: "storeName"
|
264
|
+
optional :resource_id, :string, 2, json_name: "resourceId"
|
265
|
+
optional :lock_owner, :string, 3, json_name: "lockOwner"
|
266
|
+
optional :expiry_in_seconds, :int32, 4, json_name: "expiryInSeconds"
|
267
|
+
end
|
268
|
+
add_message "dapr.proto.runtime.v1.TryLockResponse" do
|
269
|
+
optional :success, :bool, 1
|
270
|
+
end
|
271
|
+
add_message "dapr.proto.runtime.v1.UnlockRequest" do
|
272
|
+
optional :store_name, :string, 1, json_name: "storeName"
|
273
|
+
optional :resource_id, :string, 2, json_name: "resourceId"
|
274
|
+
optional :lock_owner, :string, 3, json_name: "lockOwner"
|
275
|
+
end
|
276
|
+
add_message "dapr.proto.runtime.v1.UnlockResponse" do
|
277
|
+
optional :status, :enum, 1, "dapr.proto.runtime.v1.UnlockResponse.Status"
|
278
|
+
end
|
279
|
+
add_enum "dapr.proto.runtime.v1.UnlockResponse.Status" do
|
280
|
+
value :SUCCESS, 0
|
281
|
+
value :LOCK_DOES_NOT_EXIST, 1
|
282
|
+
value :LOCK_BELONGS_TO_OTHERS, 2
|
283
|
+
value :INTERNAL_ERROR, 3
|
284
|
+
end
|
285
|
+
add_message "dapr.proto.runtime.v1.SubtleGetKeyRequest" do
|
286
|
+
optional :component_name, :string, 1, json_name: "componentName"
|
287
|
+
optional :name, :string, 2
|
288
|
+
optional :format, :enum, 3, "dapr.proto.runtime.v1.SubtleGetKeyRequest.KeyFormat"
|
289
|
+
end
|
290
|
+
add_enum "dapr.proto.runtime.v1.SubtleGetKeyRequest.KeyFormat" do
|
291
|
+
value :PEM, 0
|
292
|
+
value :JSON, 1
|
293
|
+
end
|
294
|
+
add_message "dapr.proto.runtime.v1.SubtleGetKeyResponse" do
|
295
|
+
optional :name, :string, 1
|
296
|
+
optional :public_key, :string, 2, json_name: "publicKey"
|
297
|
+
end
|
298
|
+
add_message "dapr.proto.runtime.v1.SubtleEncryptRequest" do
|
299
|
+
optional :component_name, :string, 1, json_name: "componentName"
|
300
|
+
optional :plaintext, :bytes, 2
|
301
|
+
optional :algorithm, :string, 3
|
302
|
+
optional :key_name, :string, 4, json_name: "keyName"
|
303
|
+
optional :nonce, :bytes, 5
|
304
|
+
optional :associated_data, :bytes, 6, json_name: "associatedData"
|
305
|
+
end
|
306
|
+
add_message "dapr.proto.runtime.v1.SubtleEncryptResponse" do
|
307
|
+
optional :ciphertext, :bytes, 1
|
308
|
+
optional :tag, :bytes, 2
|
309
|
+
end
|
310
|
+
add_message "dapr.proto.runtime.v1.SubtleDecryptRequest" do
|
311
|
+
optional :component_name, :string, 1, json_name: "componentName"
|
312
|
+
optional :ciphertext, :bytes, 2
|
313
|
+
optional :algorithm, :string, 3
|
314
|
+
optional :key_name, :string, 4, json_name: "keyName"
|
315
|
+
optional :nonce, :bytes, 5
|
316
|
+
optional :tag, :bytes, 6
|
317
|
+
optional :associated_data, :bytes, 7, json_name: "associatedData"
|
318
|
+
end
|
319
|
+
add_message "dapr.proto.runtime.v1.SubtleDecryptResponse" do
|
320
|
+
optional :plaintext, :bytes, 1
|
321
|
+
end
|
322
|
+
add_message "dapr.proto.runtime.v1.SubtleWrapKeyRequest" do
|
323
|
+
optional :component_name, :string, 1, json_name: "componentName"
|
324
|
+
optional :plaintext_key, :bytes, 2, json_name: "plaintextKey"
|
325
|
+
optional :algorithm, :string, 3
|
326
|
+
optional :key_name, :string, 4, json_name: "keyName"
|
327
|
+
optional :nonce, :bytes, 5
|
328
|
+
optional :associated_data, :bytes, 6, json_name: "associatedData"
|
329
|
+
end
|
330
|
+
add_message "dapr.proto.runtime.v1.SubtleWrapKeyResponse" do
|
331
|
+
optional :wrapped_key, :bytes, 1, json_name: "wrappedKey"
|
332
|
+
optional :tag, :bytes, 2
|
333
|
+
end
|
334
|
+
add_message "dapr.proto.runtime.v1.SubtleUnwrapKeyRequest" do
|
335
|
+
optional :component_name, :string, 1, json_name: "componentName"
|
336
|
+
optional :wrapped_key, :bytes, 2, json_name: "wrappedKey"
|
337
|
+
optional :algorithm, :string, 3
|
338
|
+
optional :key_name, :string, 4, json_name: "keyName"
|
339
|
+
optional :nonce, :bytes, 5
|
340
|
+
optional :tag, :bytes, 6
|
341
|
+
optional :associated_data, :bytes, 7, json_name: "associatedData"
|
342
|
+
end
|
343
|
+
add_message "dapr.proto.runtime.v1.SubtleUnwrapKeyResponse" do
|
344
|
+
optional :plaintext_key, :bytes, 1, json_name: "plaintextKey"
|
345
|
+
end
|
346
|
+
add_message "dapr.proto.runtime.v1.SubtleSignRequest" do
|
347
|
+
optional :component_name, :string, 1, json_name: "componentName"
|
348
|
+
optional :digest, :bytes, 2
|
349
|
+
optional :algorithm, :string, 3
|
350
|
+
optional :key_name, :string, 4, json_name: "keyName"
|
351
|
+
end
|
352
|
+
add_message "dapr.proto.runtime.v1.SubtleSignResponse" do
|
353
|
+
optional :signature, :bytes, 1
|
354
|
+
end
|
355
|
+
add_message "dapr.proto.runtime.v1.SubtleVerifyRequest" do
|
356
|
+
optional :component_name, :string, 1, json_name: "componentName"
|
357
|
+
optional :digest, :bytes, 2
|
358
|
+
optional :algorithm, :string, 3
|
359
|
+
optional :key_name, :string, 4, json_name: "keyName"
|
360
|
+
optional :signature, :bytes, 5
|
361
|
+
end
|
362
|
+
add_message "dapr.proto.runtime.v1.SubtleVerifyResponse" do
|
363
|
+
optional :valid, :bool, 1
|
364
|
+
end
|
365
|
+
add_message "dapr.proto.runtime.v1.EncryptRequest" do
|
366
|
+
optional :options, :message, 1, "dapr.proto.runtime.v1.EncryptRequestOptions"
|
367
|
+
end
|
368
|
+
add_message "dapr.proto.runtime.v1.EncryptRequestOptions" do
|
369
|
+
optional :component_name, :string, 1, json_name: "componentName"
|
370
|
+
optional :key_name, :string, 2, json_name: "keyName"
|
371
|
+
optional :key_wrap_algorithm, :string, 3
|
372
|
+
optional :data_encryption_cipher, :string, 10
|
373
|
+
optional :omit_decryption_key_name, :bool, 11, json_name: "omitDecryptionKeyName"
|
374
|
+
optional :decryption_key_name, :string, 12, json_name: "decryptionKeyName"
|
375
|
+
end
|
376
|
+
add_message "dapr.proto.runtime.v1.EncryptResponse" do
|
377
|
+
end
|
378
|
+
add_message "dapr.proto.runtime.v1.DecryptRequest" do
|
379
|
+
optional :options, :message, 1, "dapr.proto.runtime.v1.DecryptRequestOptions"
|
380
|
+
end
|
381
|
+
add_message "dapr.proto.runtime.v1.DecryptRequestOptions" do
|
382
|
+
optional :component_name, :string, 1, json_name: "componentName"
|
383
|
+
optional :key_name, :string, 12, json_name: "keyName"
|
384
|
+
end
|
385
|
+
add_message "dapr.proto.runtime.v1.DecryptResponse" do
|
386
|
+
end
|
387
|
+
add_message "dapr.proto.runtime.v1.GetWorkflowRequest" do
|
388
|
+
optional :instance_id, :string, 1, json_name: "instanceID"
|
389
|
+
optional :workflow_component, :string, 2, json_name: "workflowComponent"
|
390
|
+
end
|
391
|
+
add_message "dapr.proto.runtime.v1.GetWorkflowResponse" do
|
392
|
+
optional :instance_id, :string, 1, json_name: "instanceID"
|
393
|
+
optional :workflow_name, :string, 2, json_name: "workflowName"
|
394
|
+
optional :created_at, :message, 3, "google.protobuf.Timestamp", json_name: "createdAt"
|
395
|
+
optional :last_updated_at, :message, 4, "google.protobuf.Timestamp", json_name: "lastUpdatedAt"
|
396
|
+
optional :runtime_status, :string, 5, json_name: "runtimeStatus"
|
397
|
+
map :properties, :string, :string, 6
|
398
|
+
end
|
399
|
+
add_message "dapr.proto.runtime.v1.StartWorkflowRequest" do
|
400
|
+
optional :instance_id, :string, 1, json_name: "instanceID"
|
401
|
+
optional :workflow_component, :string, 2, json_name: "workflowComponent"
|
402
|
+
optional :workflow_name, :string, 3, json_name: "workflowName"
|
403
|
+
map :options, :string, :string, 4
|
404
|
+
optional :input, :bytes, 5
|
405
|
+
end
|
406
|
+
add_message "dapr.proto.runtime.v1.StartWorkflowResponse" do
|
407
|
+
optional :instance_id, :string, 1, json_name: "instanceID"
|
408
|
+
end
|
409
|
+
add_message "dapr.proto.runtime.v1.TerminateWorkflowRequest" do
|
410
|
+
optional :instance_id, :string, 1, json_name: "instanceID"
|
411
|
+
optional :workflow_component, :string, 2, json_name: "workflowComponent"
|
412
|
+
end
|
413
|
+
add_message "dapr.proto.runtime.v1.PauseWorkflowRequest" do
|
414
|
+
optional :instance_id, :string, 1, json_name: "instanceID"
|
415
|
+
optional :workflow_component, :string, 2, json_name: "workflowComponent"
|
416
|
+
end
|
417
|
+
add_message "dapr.proto.runtime.v1.ResumeWorkflowRequest" do
|
418
|
+
optional :instance_id, :string, 1, json_name: "instanceID"
|
419
|
+
optional :workflow_component, :string, 2, json_name: "workflowComponent"
|
420
|
+
end
|
421
|
+
add_message "dapr.proto.runtime.v1.RaiseEventWorkflowRequest" do
|
422
|
+
optional :instance_id, :string, 1, json_name: "instanceID"
|
423
|
+
optional :workflow_component, :string, 2, json_name: "workflowComponent"
|
424
|
+
optional :event_name, :string, 3, json_name: "eventName"
|
425
|
+
optional :event_data, :bytes, 4
|
426
|
+
end
|
427
|
+
add_message "dapr.proto.runtime.v1.PurgeWorkflowRequest" do
|
428
|
+
optional :instance_id, :string, 1, json_name: "instanceID"
|
429
|
+
optional :workflow_component, :string, 2, json_name: "workflowComponent"
|
430
|
+
end
|
431
|
+
end
|
432
|
+
end
|
433
|
+
|
434
|
+
module Dapr
|
435
|
+
module Proto
|
436
|
+
module Runtime
|
437
|
+
module V1
|
438
|
+
InvokeServiceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.InvokeServiceRequest").msgclass
|
439
|
+
GetStateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.GetStateRequest").msgclass
|
440
|
+
GetBulkStateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.GetBulkStateRequest").msgclass
|
441
|
+
GetBulkStateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.GetBulkStateResponse").msgclass
|
442
|
+
BulkStateItem = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.BulkStateItem").msgclass
|
443
|
+
GetStateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.GetStateResponse").msgclass
|
444
|
+
DeleteStateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.DeleteStateRequest").msgclass
|
445
|
+
DeleteBulkStateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.DeleteBulkStateRequest").msgclass
|
446
|
+
SaveStateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.SaveStateRequest").msgclass
|
447
|
+
QueryStateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.QueryStateRequest").msgclass
|
448
|
+
QueryStateItem = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.QueryStateItem").msgclass
|
449
|
+
QueryStateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.QueryStateResponse").msgclass
|
450
|
+
PublishEventRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.PublishEventRequest").msgclass
|
451
|
+
BulkPublishRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.BulkPublishRequest").msgclass
|
452
|
+
BulkPublishRequestEntry = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.BulkPublishRequestEntry").msgclass
|
453
|
+
BulkPublishResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.BulkPublishResponse").msgclass
|
454
|
+
BulkPublishResponseFailedEntry = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.BulkPublishResponseFailedEntry").msgclass
|
455
|
+
InvokeBindingRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.InvokeBindingRequest").msgclass
|
456
|
+
InvokeBindingResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.InvokeBindingResponse").msgclass
|
457
|
+
GetSecretRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.GetSecretRequest").msgclass
|
458
|
+
GetSecretResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.GetSecretResponse").msgclass
|
459
|
+
GetBulkSecretRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.GetBulkSecretRequest").msgclass
|
460
|
+
SecretResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.SecretResponse").msgclass
|
461
|
+
GetBulkSecretResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.GetBulkSecretResponse").msgclass
|
462
|
+
TransactionalStateOperation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.TransactionalStateOperation").msgclass
|
463
|
+
ExecuteStateTransactionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.ExecuteStateTransactionRequest").msgclass
|
464
|
+
RegisterActorTimerRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.RegisterActorTimerRequest").msgclass
|
465
|
+
UnregisterActorTimerRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.UnregisterActorTimerRequest").msgclass
|
466
|
+
RegisterActorReminderRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.RegisterActorReminderRequest").msgclass
|
467
|
+
UnregisterActorReminderRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.UnregisterActorReminderRequest").msgclass
|
468
|
+
RenameActorReminderRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.RenameActorReminderRequest").msgclass
|
469
|
+
GetActorStateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.GetActorStateRequest").msgclass
|
470
|
+
GetActorStateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.GetActorStateResponse").msgclass
|
471
|
+
ExecuteActorStateTransactionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.ExecuteActorStateTransactionRequest").msgclass
|
472
|
+
TransactionalActorStateOperation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.TransactionalActorStateOperation").msgclass
|
473
|
+
InvokeActorRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.InvokeActorRequest").msgclass
|
474
|
+
InvokeActorResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.InvokeActorResponse").msgclass
|
475
|
+
GetMetadataResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.GetMetadataResponse").msgclass
|
476
|
+
ActiveActorsCount = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.ActiveActorsCount").msgclass
|
477
|
+
RegisteredComponents = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.RegisteredComponents").msgclass
|
478
|
+
PubsubSubscription = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.PubsubSubscription").msgclass
|
479
|
+
PubsubSubscriptionRules = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.PubsubSubscriptionRules").msgclass
|
480
|
+
PubsubSubscriptionRule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.PubsubSubscriptionRule").msgclass
|
481
|
+
SetMetadataRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.SetMetadataRequest").msgclass
|
482
|
+
GetConfigurationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.GetConfigurationRequest").msgclass
|
483
|
+
GetConfigurationResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.GetConfigurationResponse").msgclass
|
484
|
+
SubscribeConfigurationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.SubscribeConfigurationRequest").msgclass
|
485
|
+
UnsubscribeConfigurationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.UnsubscribeConfigurationRequest").msgclass
|
486
|
+
SubscribeConfigurationResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.SubscribeConfigurationResponse").msgclass
|
487
|
+
UnsubscribeConfigurationResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.UnsubscribeConfigurationResponse").msgclass
|
488
|
+
TryLockRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.TryLockRequest").msgclass
|
489
|
+
TryLockResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.TryLockResponse").msgclass
|
490
|
+
UnlockRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.UnlockRequest").msgclass
|
491
|
+
UnlockResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.UnlockResponse").msgclass
|
492
|
+
UnlockResponse::Status = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.UnlockResponse.Status").enummodule
|
493
|
+
SubtleGetKeyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.SubtleGetKeyRequest").msgclass
|
494
|
+
SubtleGetKeyRequest::KeyFormat = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.SubtleGetKeyRequest.KeyFormat").enummodule
|
495
|
+
SubtleGetKeyResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.SubtleGetKeyResponse").msgclass
|
496
|
+
SubtleEncryptRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.SubtleEncryptRequest").msgclass
|
497
|
+
SubtleEncryptResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.SubtleEncryptResponse").msgclass
|
498
|
+
SubtleDecryptRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.SubtleDecryptRequest").msgclass
|
499
|
+
SubtleDecryptResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.SubtleDecryptResponse").msgclass
|
500
|
+
SubtleWrapKeyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.SubtleWrapKeyRequest").msgclass
|
501
|
+
SubtleWrapKeyResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.SubtleWrapKeyResponse").msgclass
|
502
|
+
SubtleUnwrapKeyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.SubtleUnwrapKeyRequest").msgclass
|
503
|
+
SubtleUnwrapKeyResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.SubtleUnwrapKeyResponse").msgclass
|
504
|
+
SubtleSignRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.SubtleSignRequest").msgclass
|
505
|
+
SubtleSignResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.SubtleSignResponse").msgclass
|
506
|
+
SubtleVerifyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.SubtleVerifyRequest").msgclass
|
507
|
+
SubtleVerifyResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.SubtleVerifyResponse").msgclass
|
508
|
+
EncryptRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.EncryptRequest").msgclass
|
509
|
+
EncryptRequestOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.EncryptRequestOptions").msgclass
|
510
|
+
EncryptResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.EncryptResponse").msgclass
|
511
|
+
DecryptRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.DecryptRequest").msgclass
|
512
|
+
DecryptRequestOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.DecryptRequestOptions").msgclass
|
513
|
+
DecryptResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.DecryptResponse").msgclass
|
514
|
+
GetWorkflowRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.GetWorkflowRequest").msgclass
|
515
|
+
GetWorkflowResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.GetWorkflowResponse").msgclass
|
516
|
+
StartWorkflowRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.StartWorkflowRequest").msgclass
|
517
|
+
StartWorkflowResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.StartWorkflowResponse").msgclass
|
518
|
+
TerminateWorkflowRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.TerminateWorkflowRequest").msgclass
|
519
|
+
PauseWorkflowRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.PauseWorkflowRequest").msgclass
|
520
|
+
ResumeWorkflowRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.ResumeWorkflowRequest").msgclass
|
521
|
+
RaiseEventWorkflowRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.RaiseEventWorkflowRequest").msgclass
|
522
|
+
PurgeWorkflowRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("dapr.proto.runtime.v1.PurgeWorkflowRequest").msgclass
|
523
|
+
end
|
524
|
+
end
|
525
|
+
end
|
526
|
+
end
|