-
Notifications
You must be signed in to change notification settings - Fork 110
Expand file tree
/
Copy pathmessage_pb.rb
More file actions
88 lines (84 loc) · 4.32 KB
/
message_pb.rb
File metadata and controls
88 lines (84 loc) · 4.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: temporal/api/common/v1/message.proto
require 'google/protobuf'
require 'google/protobuf/duration_pb'
require 'dependencies/gogoproto/gogo_pb'
require 'temporal/api/enums/v1/common_pb'
Google::Protobuf::DescriptorPool.generated_pool.build do
add_file("temporal/api/common/v1/message.proto", :syntax => :proto3) do
add_message "temporal.api.common.v1.DataBlob" do
optional :encoding_type, :enum, 1, "temporal.api.enums.v1.EncodingType"
optional :data, :bytes, 2
end
add_message "temporal.api.common.v1.Payloads" do
repeated :payloads, :message, 1, "temporal.api.common.v1.Payload"
end
add_message "temporal.api.common.v1.Payload" do
map :metadata, :string, :bytes, 1
optional :data, :bytes, 2
end
add_message "temporal.api.common.v1.SearchAttributes" do
map :indexed_fields, :string, :message, 1, "temporal.api.common.v1.Payload"
end
add_message "temporal.api.common.v1.Memo" do
map :fields, :string, :message, 1, "temporal.api.common.v1.Payload"
end
add_message "temporal.api.common.v1.Header" do
map :fields, :string, :message, 1, "temporal.api.common.v1.Payload"
end
add_message "temporal.api.common.v1.WorkflowExecution" do
optional :workflow_id, :string, 1
optional :run_id, :string, 2
end
add_message "temporal.api.common.v1.WorkflowType" do
optional :name, :string, 1
end
add_message "temporal.api.common.v1.ActivityType" do
optional :name, :string, 1
end
add_message "temporal.api.common.v1.RetryPolicy" do
optional :initial_interval, :message, 1, "google.protobuf.Duration"
optional :backoff_coefficient, :double, 2
optional :maximum_interval, :message, 3, "google.protobuf.Duration"
optional :maximum_attempts, :int32, 4
repeated :non_retryable_error_types, :string, 5
end
add_message "temporal.api.common.v1.MeteringMetadata" do
optional :nonfirst_local_activity_execution_attempts, :uint32, 13
end
add_message "temporal.api.common.v1.WorkerVersionStamp" do
optional :build_id, :string, 1
optional :bundle_id, :string, 2
end
add_message "temporal.api.common.v1.WorkerVersionCapabilities" do
optional :build_id, :string, 1
end
add_message "temporal.api.common.v1.Priority" do
optional :priority_key, :int32, 1
optional :fairness_key, :string, 2
optional :fairness_weight, :float, 3
end
end
end
module Temporalio
module Api
module Common
module V1
DataBlob = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.common.v1.DataBlob").msgclass
Payloads = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.common.v1.Payloads").msgclass
Payload = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.common.v1.Payload").msgclass
SearchAttributes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.common.v1.SearchAttributes").msgclass
Memo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.common.v1.Memo").msgclass
Header = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.common.v1.Header").msgclass
WorkflowExecution = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.common.v1.WorkflowExecution").msgclass
WorkflowType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.common.v1.WorkflowType").msgclass
ActivityType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.common.v1.ActivityType").msgclass
RetryPolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.common.v1.RetryPolicy").msgclass
MeteringMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.common.v1.MeteringMetadata").msgclass
WorkerVersionStamp = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.common.v1.WorkerVersionStamp").msgclass
WorkerVersionCapabilities = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.common.v1.WorkerVersionCapabilities").msgclass
Priority = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("temporal.api.common.v1.Priority").msgclass
end
end
end
end