temporalio 1.6.0 → 1.7.0
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.
- checksums.yaml +4 -4
- data/Cargo.lock +37 -67
- data/Gemfile +3 -0
- data/README.md +17 -2
- data/Rakefile +1 -1
- data/ext/Cargo.toml +3 -3
- data/lib/temporalio/api/activity/v1/message.rb +1 -1
- data/lib/temporalio/api/batch/v1/message.rb +4 -1
- data/lib/temporalio/api/command/v1/message.rb +2 -1
- data/lib/temporalio/api/common/v1/message.rb +5 -1
- data/lib/temporalio/api/enums/v1/activity.rb +1 -1
- data/lib/temporalio/api/enums/v1/batch_operation.rb +1 -1
- data/lib/temporalio/api/enums/v1/common.rb +2 -1
- data/lib/temporalio/api/enums/v1/failed_cause.rb +1 -1
- data/lib/temporalio/api/enums/v1/time_skipping.rb +21 -0
- data/lib/temporalio/api/errordetails/v1/message.rb +2 -1
- data/lib/temporalio/api/history/v1/message.rb +1 -1
- data/lib/temporalio/api/namespace/v1/message.rb +1 -1
- data/lib/temporalio/api/taskqueue/v1/message.rb +2 -1
- data/lib/temporalio/api/worker/v1/message.rb +13 -1
- data/lib/temporalio/api/workflow/v1/message.rb +1 -1
- data/lib/temporalio/api/workflowservice/v1/request_response.rb +4 -1
- data/lib/temporalio/api/workflowservice/v1/service.rb +1 -1
- data/lib/temporalio/client/connection/workflow_service.rb +15 -0
- data/lib/temporalio/client/connection.rb +33 -3
- data/lib/temporalio/client/schedule.rb +4 -5
- data/lib/temporalio/client/workflow_execution.rb +2 -2
- data/lib/temporalio/client/workflow_handle.rb +2 -1
- data/lib/temporalio/client.rb +4 -6
- data/lib/temporalio/converters/data_converter.rb +1 -0
- data/lib/temporalio/converters/failure_converter.rb +7 -4
- data/lib/temporalio/internal/bridge/api/common/common.rb +2 -1
- data/lib/temporalio/internal/bridge/api/workflow_completion/workflow_completion.rb +1 -1
- data/lib/temporalio/internal/bridge/client.rb +3 -1
- data/lib/temporalio/internal/bridge/runtime.rb +4 -1
- data/lib/temporalio/internal/bridge/worker.rb +3 -1
- data/lib/temporalio/internal/worker/workflow_instance/illegal_call_tracer.rb +9 -0
- data/lib/temporalio/runtime.rb +25 -7
- data/lib/temporalio/scoped_logger.rb +15 -0
- data/lib/temporalio/version.rb +1 -1
- data/lib/temporalio/worker/workflow_replayer.rb +2 -0
- data/lib/temporalio/worker.rb +24 -4
- data/lib/temporalio/workflow.rb +8 -9
- data/rbi/temporalio/api/activity/v1/message.rbi +100 -14
- data/rbi/temporalio/api/batch/v1/message.rbi +229 -2
- data/rbi/temporalio/api/command/v1/message.rbi +22 -2
- data/rbi/temporalio/api/common/v1/message.rbi +548 -74
- data/rbi/temporalio/api/enums/v1/activity.rbi +1 -0
- data/rbi/temporalio/api/enums/v1/batch_operation.rbi +9 -0
- data/rbi/temporalio/api/enums/v1/common.rbi +18 -0
- data/rbi/temporalio/api/enums/v1/failed_cause.rbi +4 -0
- data/rbi/temporalio/api/enums/v1/time_skipping.rbi +22 -0
- data/rbi/temporalio/api/errordetails/v1/message.rbi +59 -2
- data/rbi/temporalio/api/history/v1/message.rbi +27 -7
- data/rbi/temporalio/api/namespace/v1/message.rbi +95 -4
- data/rbi/temporalio/api/taskqueue/v1/message.rbi +113 -2
- data/rbi/temporalio/api/worker/v1/message.rbi +742 -2
- data/rbi/temporalio/api/workflow/v1/message.rbi +22 -2
- data/rbi/temporalio/api/workflowservice/v1/request_response.rbi +701 -117
- data/rbi/temporalio/api/workflowservice/v1/service_services.rbi +8 -0
- data/rbi/temporalio/client/connection/workflow_service.rbi +3 -0
- data/rbi/temporalio/client/connection.rbi +2 -0
- data/rbi/temporalio/converters/failure_converter.rbi +7 -2
- data/rbi/temporalio/internal/bridge/api/common/common.rbi +115 -0
- data/rbi/temporalio/internal/bridge/api/workflow_completion/workflow_completion.rbi +42 -2
- data/rbi/temporalio/internal/bridge/runtime.rbi +24 -4
- data/rbi/temporalio/internal/bridge/worker.rbi +2 -0
- data/rbi/temporalio/runtime.rbi +13 -4
- data/rbi/temporalio/scoped_logger.rbi +1 -1
- data/rbi/temporalio/worker.rbi +9 -2
- data/rbi/temporalio/workflow/future.rbi +1 -1
- data/sig/temporalio/api/activity/v1/message.rbs +48 -2
- data/sig/temporalio/api/batch/v1/message.rbs +86 -0
- data/sig/temporalio/api/command/v1/message.rbs +10 -0
- data/sig/temporalio/api/common/v1/message.rbs +240 -39
- data/sig/temporalio/api/enums/v1/activity.rbs +9 -5
- data/sig/temporalio/api/enums/v1/batch_operation.rbs +33 -3
- data/sig/temporalio/api/enums/v1/common.rbs +23 -0
- data/sig/temporalio/api/enums/v1/failed_cause.rbs +18 -6
- data/sig/temporalio/api/enums/v1/time_skipping.rbs +58 -0
- data/sig/temporalio/api/errordetails/v1/message.rbs +19 -0
- data/sig/temporalio/api/history/v1/message.rbs +13 -3
- data/sig/temporalio/api/namespace/v1/message.rbs +43 -0
- data/sig/temporalio/api/taskqueue/v1/message.rbs +44 -0
- data/sig/temporalio/api/worker/v1/message.rbs +410 -0
- data/sig/temporalio/api/workflow/v1/message.rbs +10 -0
- data/sig/temporalio/api/workflowservice/v1/request_response.rbs +311 -40
- data/sig/temporalio/client/connection/workflow_service.rbs +4 -0
- data/sig/temporalio/client/connection.rbs +14 -1
- data/sig/temporalio/converters/failure_converter.rbs +4 -1
- data/sig/temporalio/internal/bridge/api/common/common.rbs +50 -0
- data/sig/temporalio/internal/bridge/api/workflow_completion/workflow_completion.rbs +20 -0
- data/sig/temporalio/internal/bridge/client.rbs +5 -1
- data/sig/temporalio/internal/bridge/runtime.rbs +9 -3
- data/sig/temporalio/internal/bridge/worker.rbs +5 -1
- data/sig/temporalio/runtime.rbs +14 -3
- data/sig/temporalio/scoped_logger.rbs +1 -1
- data/sig/temporalio/worker.rbs +8 -2
- metadata +4 -1
|
@@ -453,7 +453,8 @@ class Temporalio::Api::Worker::V1::WorkerHeartbeat
|
|
|
453
453
|
total_sticky_cache_miss: T.nilable(Integer),
|
|
454
454
|
current_sticky_cache_size: T.nilable(Integer),
|
|
455
455
|
plugins: T.nilable(T::Array[T.nilable(Temporalio::Api::Worker::V1::PluginInfo)]),
|
|
456
|
-
drivers: T.nilable(T::Array[T.nilable(Temporalio::Api::Worker::V1::StorageDriverInfo)])
|
|
456
|
+
drivers: T.nilable(T::Array[T.nilable(Temporalio::Api::Worker::V1::StorageDriverInfo)]),
|
|
457
|
+
environment: T.nilable(Temporalio::Api::Worker::V1::EnvironmentInfo)
|
|
457
458
|
).void
|
|
458
459
|
end
|
|
459
460
|
def initialize(
|
|
@@ -480,7 +481,8 @@ class Temporalio::Api::Worker::V1::WorkerHeartbeat
|
|
|
480
481
|
total_sticky_cache_miss: 0,
|
|
481
482
|
current_sticky_cache_size: 0,
|
|
482
483
|
plugins: [],
|
|
483
|
-
drivers: []
|
|
484
|
+
drivers: [],
|
|
485
|
+
environment: nil
|
|
484
486
|
)
|
|
485
487
|
end
|
|
486
488
|
|
|
@@ -823,6 +825,21 @@ class Temporalio::Api::Worker::V1::WorkerHeartbeat
|
|
|
823
825
|
def clear_drivers
|
|
824
826
|
end
|
|
825
827
|
|
|
828
|
+
# Information about the environment this SDK is running in.
|
|
829
|
+
sig { returns(T.nilable(Temporalio::Api::Worker::V1::EnvironmentInfo)) }
|
|
830
|
+
def environment
|
|
831
|
+
end
|
|
832
|
+
|
|
833
|
+
# Information about the environment this SDK is running in.
|
|
834
|
+
sig { params(value: T.nilable(Temporalio::Api::Worker::V1::EnvironmentInfo)).void }
|
|
835
|
+
def environment=(value)
|
|
836
|
+
end
|
|
837
|
+
|
|
838
|
+
# Information about the environment this SDK is running in.
|
|
839
|
+
sig { void }
|
|
840
|
+
def clear_environment
|
|
841
|
+
end
|
|
842
|
+
|
|
826
843
|
sig { params(field: String).returns(T.untyped) }
|
|
827
844
|
def [](field)
|
|
828
845
|
end
|
|
@@ -1334,6 +1351,102 @@ class Temporalio::Api::Worker::V1::StorageDriverInfo
|
|
|
1334
1351
|
end
|
|
1335
1352
|
end
|
|
1336
1353
|
|
|
1354
|
+
class Temporalio::Api::Worker::V1::EnvironmentInfo
|
|
1355
|
+
include ::Google::Protobuf::MessageExts
|
|
1356
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1357
|
+
|
|
1358
|
+
sig do
|
|
1359
|
+
params(
|
|
1360
|
+
runtimes: T.nilable(T::Array[T.nilable(Temporalio::Api::Worker::V1::EnvironmentInfo::Runtime)]),
|
|
1361
|
+
hosting_environments: T.nilable(T::Array[T.nilable(Temporalio::Api::Worker::V1::EnvironmentInfo::HostingEnvironment)]),
|
|
1362
|
+
platform: T.nilable(Temporalio::Api::Worker::V1::EnvironmentInfo::Platform)
|
|
1363
|
+
).void
|
|
1364
|
+
end
|
|
1365
|
+
def initialize(
|
|
1366
|
+
runtimes: [],
|
|
1367
|
+
hosting_environments: [],
|
|
1368
|
+
platform: nil
|
|
1369
|
+
)
|
|
1370
|
+
end
|
|
1371
|
+
|
|
1372
|
+
# The runtime(s) the SDK is operating in.
|
|
1373
|
+
sig { returns(T::Array[T.nilable(Temporalio::Api::Worker::V1::EnvironmentInfo::Runtime)]) }
|
|
1374
|
+
def runtimes
|
|
1375
|
+
end
|
|
1376
|
+
|
|
1377
|
+
# The runtime(s) the SDK is operating in.
|
|
1378
|
+
sig { params(value: ::Google::Protobuf::RepeatedField).void }
|
|
1379
|
+
def runtimes=(value)
|
|
1380
|
+
end
|
|
1381
|
+
|
|
1382
|
+
# The runtime(s) the SDK is operating in.
|
|
1383
|
+
sig { void }
|
|
1384
|
+
def clear_runtimes
|
|
1385
|
+
end
|
|
1386
|
+
|
|
1387
|
+
# The hosting environment(s) the SDK is operating in. Repeated to allow for layering (ex: Docker inside k8s).
|
|
1388
|
+
sig { returns(T::Array[T.nilable(Temporalio::Api::Worker::V1::EnvironmentInfo::HostingEnvironment)]) }
|
|
1389
|
+
def hosting_environments
|
|
1390
|
+
end
|
|
1391
|
+
|
|
1392
|
+
# The hosting environment(s) the SDK is operating in. Repeated to allow for layering (ex: Docker inside k8s).
|
|
1393
|
+
sig { params(value: ::Google::Protobuf::RepeatedField).void }
|
|
1394
|
+
def hosting_environments=(value)
|
|
1395
|
+
end
|
|
1396
|
+
|
|
1397
|
+
# The hosting environment(s) the SDK is operating in. Repeated to allow for layering (ex: Docker inside k8s).
|
|
1398
|
+
sig { void }
|
|
1399
|
+
def clear_hosting_environments
|
|
1400
|
+
end
|
|
1401
|
+
|
|
1402
|
+
# The platform the SDK is operating on.
|
|
1403
|
+
sig { returns(T.nilable(Temporalio::Api::Worker::V1::EnvironmentInfo::Platform)) }
|
|
1404
|
+
def platform
|
|
1405
|
+
end
|
|
1406
|
+
|
|
1407
|
+
# The platform the SDK is operating on.
|
|
1408
|
+
sig { params(value: T.nilable(Temporalio::Api::Worker::V1::EnvironmentInfo::Platform)).void }
|
|
1409
|
+
def platform=(value)
|
|
1410
|
+
end
|
|
1411
|
+
|
|
1412
|
+
# The platform the SDK is operating on.
|
|
1413
|
+
sig { void }
|
|
1414
|
+
def clear_platform
|
|
1415
|
+
end
|
|
1416
|
+
|
|
1417
|
+
sig { params(field: String).returns(T.untyped) }
|
|
1418
|
+
def [](field)
|
|
1419
|
+
end
|
|
1420
|
+
|
|
1421
|
+
sig { params(field: String, value: T.untyped).void }
|
|
1422
|
+
def []=(field, value)
|
|
1423
|
+
end
|
|
1424
|
+
|
|
1425
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
1426
|
+
def to_h
|
|
1427
|
+
end
|
|
1428
|
+
|
|
1429
|
+
sig { params(str: String).returns(Temporalio::Api::Worker::V1::EnvironmentInfo) }
|
|
1430
|
+
def self.decode(str)
|
|
1431
|
+
end
|
|
1432
|
+
|
|
1433
|
+
sig { params(msg: Temporalio::Api::Worker::V1::EnvironmentInfo).returns(String) }
|
|
1434
|
+
def self.encode(msg)
|
|
1435
|
+
end
|
|
1436
|
+
|
|
1437
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Worker::V1::EnvironmentInfo) }
|
|
1438
|
+
def self.decode_json(str, **kw)
|
|
1439
|
+
end
|
|
1440
|
+
|
|
1441
|
+
sig { params(msg: Temporalio::Api::Worker::V1::EnvironmentInfo, kw: T.untyped).returns(String) }
|
|
1442
|
+
def self.encode_json(msg, **kw)
|
|
1443
|
+
end
|
|
1444
|
+
|
|
1445
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
1446
|
+
def self.descriptor
|
|
1447
|
+
end
|
|
1448
|
+
end
|
|
1449
|
+
|
|
1337
1450
|
# A command sent from the server to a worker.
|
|
1338
1451
|
class Temporalio::Api::Worker::V1::WorkerCommand
|
|
1339
1452
|
include ::Google::Protobuf::MessageExts
|
|
@@ -1563,3 +1676,630 @@ class Temporalio::Api::Worker::V1::CancelActivityResult
|
|
|
1563
1676
|
def self.descriptor
|
|
1564
1677
|
end
|
|
1565
1678
|
end
|
|
1679
|
+
|
|
1680
|
+
class Temporalio::Api::Worker::V1::EnvironmentInfo::Runtime
|
|
1681
|
+
include ::Google::Protobuf::MessageExts
|
|
1682
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1683
|
+
|
|
1684
|
+
sig do
|
|
1685
|
+
params(
|
|
1686
|
+
type: T.nilable(T.any(Symbol, String, Integer)),
|
|
1687
|
+
version: T.nilable(String)
|
|
1688
|
+
).void
|
|
1689
|
+
end
|
|
1690
|
+
def initialize(
|
|
1691
|
+
type: :RUNTIME_TYPE_UNSPECIFIED,
|
|
1692
|
+
version: ""
|
|
1693
|
+
)
|
|
1694
|
+
end
|
|
1695
|
+
|
|
1696
|
+
# The type of the runtime.
|
|
1697
|
+
sig { returns(T.any(Symbol, Integer)) }
|
|
1698
|
+
def type
|
|
1699
|
+
end
|
|
1700
|
+
|
|
1701
|
+
# The type of the runtime.
|
|
1702
|
+
sig { params(value: T.any(Symbol, String, Integer)).void }
|
|
1703
|
+
def type=(value)
|
|
1704
|
+
end
|
|
1705
|
+
|
|
1706
|
+
# The type of the runtime.
|
|
1707
|
+
sig { void }
|
|
1708
|
+
def clear_type
|
|
1709
|
+
end
|
|
1710
|
+
|
|
1711
|
+
# The version of the runtime, if obtainable.
|
|
1712
|
+
sig { returns(String) }
|
|
1713
|
+
def version
|
|
1714
|
+
end
|
|
1715
|
+
|
|
1716
|
+
# The version of the runtime, if obtainable.
|
|
1717
|
+
sig { params(value: String).void }
|
|
1718
|
+
def version=(value)
|
|
1719
|
+
end
|
|
1720
|
+
|
|
1721
|
+
# The version of the runtime, if obtainable.
|
|
1722
|
+
sig { void }
|
|
1723
|
+
def clear_version
|
|
1724
|
+
end
|
|
1725
|
+
|
|
1726
|
+
sig { params(field: String).returns(T.untyped) }
|
|
1727
|
+
def [](field)
|
|
1728
|
+
end
|
|
1729
|
+
|
|
1730
|
+
sig { params(field: String, value: T.untyped).void }
|
|
1731
|
+
def []=(field, value)
|
|
1732
|
+
end
|
|
1733
|
+
|
|
1734
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
1735
|
+
def to_h
|
|
1736
|
+
end
|
|
1737
|
+
|
|
1738
|
+
sig { params(str: String).returns(Temporalio::Api::Worker::V1::EnvironmentInfo::Runtime) }
|
|
1739
|
+
def self.decode(str)
|
|
1740
|
+
end
|
|
1741
|
+
|
|
1742
|
+
sig { params(msg: Temporalio::Api::Worker::V1::EnvironmentInfo::Runtime).returns(String) }
|
|
1743
|
+
def self.encode(msg)
|
|
1744
|
+
end
|
|
1745
|
+
|
|
1746
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Worker::V1::EnvironmentInfo::Runtime) }
|
|
1747
|
+
def self.decode_json(str, **kw)
|
|
1748
|
+
end
|
|
1749
|
+
|
|
1750
|
+
sig { params(msg: Temporalio::Api::Worker::V1::EnvironmentInfo::Runtime, kw: T.untyped).returns(String) }
|
|
1751
|
+
def self.encode_json(msg, **kw)
|
|
1752
|
+
end
|
|
1753
|
+
|
|
1754
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
1755
|
+
def self.descriptor
|
|
1756
|
+
end
|
|
1757
|
+
end
|
|
1758
|
+
|
|
1759
|
+
class Temporalio::Api::Worker::V1::EnvironmentInfo::HostingEnvironment
|
|
1760
|
+
include ::Google::Protobuf::MessageExts
|
|
1761
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1762
|
+
|
|
1763
|
+
sig do
|
|
1764
|
+
params(
|
|
1765
|
+
type: T.nilable(T.any(Symbol, String, Integer)),
|
|
1766
|
+
version: T.nilable(String)
|
|
1767
|
+
).void
|
|
1768
|
+
end
|
|
1769
|
+
def initialize(
|
|
1770
|
+
type: :HOSTING_ENVIRONMENT_TYPE_UNSPECIFIED,
|
|
1771
|
+
version: ""
|
|
1772
|
+
)
|
|
1773
|
+
end
|
|
1774
|
+
|
|
1775
|
+
# The type of hosting environment.
|
|
1776
|
+
sig { returns(T.any(Symbol, Integer)) }
|
|
1777
|
+
def type
|
|
1778
|
+
end
|
|
1779
|
+
|
|
1780
|
+
# The type of hosting environment.
|
|
1781
|
+
sig { params(value: T.any(Symbol, String, Integer)).void }
|
|
1782
|
+
def type=(value)
|
|
1783
|
+
end
|
|
1784
|
+
|
|
1785
|
+
# The type of hosting environment.
|
|
1786
|
+
sig { void }
|
|
1787
|
+
def clear_type
|
|
1788
|
+
end
|
|
1789
|
+
|
|
1790
|
+
# The version of the hosting environment, if obtainable.
|
|
1791
|
+
sig { returns(String) }
|
|
1792
|
+
def version
|
|
1793
|
+
end
|
|
1794
|
+
|
|
1795
|
+
# The version of the hosting environment, if obtainable.
|
|
1796
|
+
sig { params(value: String).void }
|
|
1797
|
+
def version=(value)
|
|
1798
|
+
end
|
|
1799
|
+
|
|
1800
|
+
# The version of the hosting environment, if obtainable.
|
|
1801
|
+
sig { void }
|
|
1802
|
+
def clear_version
|
|
1803
|
+
end
|
|
1804
|
+
|
|
1805
|
+
sig { params(field: String).returns(T.untyped) }
|
|
1806
|
+
def [](field)
|
|
1807
|
+
end
|
|
1808
|
+
|
|
1809
|
+
sig { params(field: String, value: T.untyped).void }
|
|
1810
|
+
def []=(field, value)
|
|
1811
|
+
end
|
|
1812
|
+
|
|
1813
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
1814
|
+
def to_h
|
|
1815
|
+
end
|
|
1816
|
+
|
|
1817
|
+
sig { params(str: String).returns(Temporalio::Api::Worker::V1::EnvironmentInfo::HostingEnvironment) }
|
|
1818
|
+
def self.decode(str)
|
|
1819
|
+
end
|
|
1820
|
+
|
|
1821
|
+
sig { params(msg: Temporalio::Api::Worker::V1::EnvironmentInfo::HostingEnvironment).returns(String) }
|
|
1822
|
+
def self.encode(msg)
|
|
1823
|
+
end
|
|
1824
|
+
|
|
1825
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Worker::V1::EnvironmentInfo::HostingEnvironment) }
|
|
1826
|
+
def self.decode_json(str, **kw)
|
|
1827
|
+
end
|
|
1828
|
+
|
|
1829
|
+
sig { params(msg: Temporalio::Api::Worker::V1::EnvironmentInfo::HostingEnvironment, kw: T.untyped).returns(String) }
|
|
1830
|
+
def self.encode_json(msg, **kw)
|
|
1831
|
+
end
|
|
1832
|
+
|
|
1833
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
1834
|
+
def self.descriptor
|
|
1835
|
+
end
|
|
1836
|
+
end
|
|
1837
|
+
|
|
1838
|
+
class Temporalio::Api::Worker::V1::EnvironmentInfo::Platform
|
|
1839
|
+
include ::Google::Protobuf::MessageExts
|
|
1840
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1841
|
+
|
|
1842
|
+
sig do
|
|
1843
|
+
params(
|
|
1844
|
+
linux: T.nilable(Temporalio::Api::Worker::V1::EnvironmentInfo::LinuxPlatform),
|
|
1845
|
+
macos: T.nilable(Temporalio::Api::Worker::V1::EnvironmentInfo::MacOSPlatform),
|
|
1846
|
+
windows: T.nilable(Temporalio::Api::Worker::V1::EnvironmentInfo::WindowsPlatform)
|
|
1847
|
+
).void
|
|
1848
|
+
end
|
|
1849
|
+
def initialize(
|
|
1850
|
+
linux: nil,
|
|
1851
|
+
macos: nil,
|
|
1852
|
+
windows: nil
|
|
1853
|
+
)
|
|
1854
|
+
end
|
|
1855
|
+
|
|
1856
|
+
sig { returns(T.nilable(Temporalio::Api::Worker::V1::EnvironmentInfo::LinuxPlatform)) }
|
|
1857
|
+
def linux
|
|
1858
|
+
end
|
|
1859
|
+
|
|
1860
|
+
sig { params(value: T.nilable(Temporalio::Api::Worker::V1::EnvironmentInfo::LinuxPlatform)).void }
|
|
1861
|
+
def linux=(value)
|
|
1862
|
+
end
|
|
1863
|
+
|
|
1864
|
+
sig { void }
|
|
1865
|
+
def clear_linux
|
|
1866
|
+
end
|
|
1867
|
+
|
|
1868
|
+
sig { returns(T.nilable(Temporalio::Api::Worker::V1::EnvironmentInfo::MacOSPlatform)) }
|
|
1869
|
+
def macos
|
|
1870
|
+
end
|
|
1871
|
+
|
|
1872
|
+
sig { params(value: T.nilable(Temporalio::Api::Worker::V1::EnvironmentInfo::MacOSPlatform)).void }
|
|
1873
|
+
def macos=(value)
|
|
1874
|
+
end
|
|
1875
|
+
|
|
1876
|
+
sig { void }
|
|
1877
|
+
def clear_macos
|
|
1878
|
+
end
|
|
1879
|
+
|
|
1880
|
+
sig { returns(T.nilable(Temporalio::Api::Worker::V1::EnvironmentInfo::WindowsPlatform)) }
|
|
1881
|
+
def windows
|
|
1882
|
+
end
|
|
1883
|
+
|
|
1884
|
+
sig { params(value: T.nilable(Temporalio::Api::Worker::V1::EnvironmentInfo::WindowsPlatform)).void }
|
|
1885
|
+
def windows=(value)
|
|
1886
|
+
end
|
|
1887
|
+
|
|
1888
|
+
sig { void }
|
|
1889
|
+
def clear_windows
|
|
1890
|
+
end
|
|
1891
|
+
|
|
1892
|
+
sig { returns(T.nilable(Symbol)) }
|
|
1893
|
+
def variant
|
|
1894
|
+
end
|
|
1895
|
+
|
|
1896
|
+
sig { params(field: String).returns(T.untyped) }
|
|
1897
|
+
def [](field)
|
|
1898
|
+
end
|
|
1899
|
+
|
|
1900
|
+
sig { params(field: String, value: T.untyped).void }
|
|
1901
|
+
def []=(field, value)
|
|
1902
|
+
end
|
|
1903
|
+
|
|
1904
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
1905
|
+
def to_h
|
|
1906
|
+
end
|
|
1907
|
+
|
|
1908
|
+
sig { params(str: String).returns(Temporalio::Api::Worker::V1::EnvironmentInfo::Platform) }
|
|
1909
|
+
def self.decode(str)
|
|
1910
|
+
end
|
|
1911
|
+
|
|
1912
|
+
sig { params(msg: Temporalio::Api::Worker::V1::EnvironmentInfo::Platform).returns(String) }
|
|
1913
|
+
def self.encode(msg)
|
|
1914
|
+
end
|
|
1915
|
+
|
|
1916
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Worker::V1::EnvironmentInfo::Platform) }
|
|
1917
|
+
def self.decode_json(str, **kw)
|
|
1918
|
+
end
|
|
1919
|
+
|
|
1920
|
+
sig { params(msg: Temporalio::Api::Worker::V1::EnvironmentInfo::Platform, kw: T.untyped).returns(String) }
|
|
1921
|
+
def self.encode_json(msg, **kw)
|
|
1922
|
+
end
|
|
1923
|
+
|
|
1924
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
1925
|
+
def self.descriptor
|
|
1926
|
+
end
|
|
1927
|
+
end
|
|
1928
|
+
|
|
1929
|
+
class Temporalio::Api::Worker::V1::EnvironmentInfo::LinuxPlatform
|
|
1930
|
+
include ::Google::Protobuf::MessageExts
|
|
1931
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1932
|
+
|
|
1933
|
+
sig do
|
|
1934
|
+
params(
|
|
1935
|
+
version: T.nilable(String),
|
|
1936
|
+
architecture: T.nilable(T.any(Symbol, String, Integer)),
|
|
1937
|
+
libc: T.nilable(T.any(Symbol, String, Integer))
|
|
1938
|
+
).void
|
|
1939
|
+
end
|
|
1940
|
+
def initialize(
|
|
1941
|
+
version: "",
|
|
1942
|
+
architecture: :ARCHITECTURE_UNSPECIFIED,
|
|
1943
|
+
libc: :LIBC_UNSPECIFIED
|
|
1944
|
+
)
|
|
1945
|
+
end
|
|
1946
|
+
|
|
1947
|
+
# The Linux kernel or distribution version, if obtainable.
|
|
1948
|
+
sig { returns(String) }
|
|
1949
|
+
def version
|
|
1950
|
+
end
|
|
1951
|
+
|
|
1952
|
+
# The Linux kernel or distribution version, if obtainable.
|
|
1953
|
+
sig { params(value: String).void }
|
|
1954
|
+
def version=(value)
|
|
1955
|
+
end
|
|
1956
|
+
|
|
1957
|
+
# The Linux kernel or distribution version, if obtainable.
|
|
1958
|
+
sig { void }
|
|
1959
|
+
def clear_version
|
|
1960
|
+
end
|
|
1961
|
+
|
|
1962
|
+
# The architecture of the worker process.
|
|
1963
|
+
sig { returns(T.any(Symbol, Integer)) }
|
|
1964
|
+
def architecture
|
|
1965
|
+
end
|
|
1966
|
+
|
|
1967
|
+
# The architecture of the worker process.
|
|
1968
|
+
sig { params(value: T.any(Symbol, String, Integer)).void }
|
|
1969
|
+
def architecture=(value)
|
|
1970
|
+
end
|
|
1971
|
+
|
|
1972
|
+
# The architecture of the worker process.
|
|
1973
|
+
sig { void }
|
|
1974
|
+
def clear_architecture
|
|
1975
|
+
end
|
|
1976
|
+
|
|
1977
|
+
# The libc used by the worker process.
|
|
1978
|
+
sig { returns(T.any(Symbol, Integer)) }
|
|
1979
|
+
def libc
|
|
1980
|
+
end
|
|
1981
|
+
|
|
1982
|
+
# The libc used by the worker process.
|
|
1983
|
+
sig { params(value: T.any(Symbol, String, Integer)).void }
|
|
1984
|
+
def libc=(value)
|
|
1985
|
+
end
|
|
1986
|
+
|
|
1987
|
+
# The libc used by the worker process.
|
|
1988
|
+
sig { void }
|
|
1989
|
+
def clear_libc
|
|
1990
|
+
end
|
|
1991
|
+
|
|
1992
|
+
sig { params(field: String).returns(T.untyped) }
|
|
1993
|
+
def [](field)
|
|
1994
|
+
end
|
|
1995
|
+
|
|
1996
|
+
sig { params(field: String, value: T.untyped).void }
|
|
1997
|
+
def []=(field, value)
|
|
1998
|
+
end
|
|
1999
|
+
|
|
2000
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
2001
|
+
def to_h
|
|
2002
|
+
end
|
|
2003
|
+
|
|
2004
|
+
sig { params(str: String).returns(Temporalio::Api::Worker::V1::EnvironmentInfo::LinuxPlatform) }
|
|
2005
|
+
def self.decode(str)
|
|
2006
|
+
end
|
|
2007
|
+
|
|
2008
|
+
sig { params(msg: Temporalio::Api::Worker::V1::EnvironmentInfo::LinuxPlatform).returns(String) }
|
|
2009
|
+
def self.encode(msg)
|
|
2010
|
+
end
|
|
2011
|
+
|
|
2012
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Worker::V1::EnvironmentInfo::LinuxPlatform) }
|
|
2013
|
+
def self.decode_json(str, **kw)
|
|
2014
|
+
end
|
|
2015
|
+
|
|
2016
|
+
sig { params(msg: Temporalio::Api::Worker::V1::EnvironmentInfo::LinuxPlatform, kw: T.untyped).returns(String) }
|
|
2017
|
+
def self.encode_json(msg, **kw)
|
|
2018
|
+
end
|
|
2019
|
+
|
|
2020
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
2021
|
+
def self.descriptor
|
|
2022
|
+
end
|
|
2023
|
+
end
|
|
2024
|
+
|
|
2025
|
+
class Temporalio::Api::Worker::V1::EnvironmentInfo::MacOSPlatform
|
|
2026
|
+
include ::Google::Protobuf::MessageExts
|
|
2027
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
2028
|
+
|
|
2029
|
+
sig do
|
|
2030
|
+
params(
|
|
2031
|
+
version: T.nilable(String),
|
|
2032
|
+
architecture: T.nilable(T.any(Symbol, String, Integer))
|
|
2033
|
+
).void
|
|
2034
|
+
end
|
|
2035
|
+
def initialize(
|
|
2036
|
+
version: "",
|
|
2037
|
+
architecture: :ARCHITECTURE_UNSPECIFIED
|
|
2038
|
+
)
|
|
2039
|
+
end
|
|
2040
|
+
|
|
2041
|
+
# The macOS version, if obtainable.
|
|
2042
|
+
sig { returns(String) }
|
|
2043
|
+
def version
|
|
2044
|
+
end
|
|
2045
|
+
|
|
2046
|
+
# The macOS version, if obtainable.
|
|
2047
|
+
sig { params(value: String).void }
|
|
2048
|
+
def version=(value)
|
|
2049
|
+
end
|
|
2050
|
+
|
|
2051
|
+
# The macOS version, if obtainable.
|
|
2052
|
+
sig { void }
|
|
2053
|
+
def clear_version
|
|
2054
|
+
end
|
|
2055
|
+
|
|
2056
|
+
# The architecture of the worker process.
|
|
2057
|
+
sig { returns(T.any(Symbol, Integer)) }
|
|
2058
|
+
def architecture
|
|
2059
|
+
end
|
|
2060
|
+
|
|
2061
|
+
# The architecture of the worker process.
|
|
2062
|
+
sig { params(value: T.any(Symbol, String, Integer)).void }
|
|
2063
|
+
def architecture=(value)
|
|
2064
|
+
end
|
|
2065
|
+
|
|
2066
|
+
# The architecture of the worker process.
|
|
2067
|
+
sig { void }
|
|
2068
|
+
def clear_architecture
|
|
2069
|
+
end
|
|
2070
|
+
|
|
2071
|
+
sig { params(field: String).returns(T.untyped) }
|
|
2072
|
+
def [](field)
|
|
2073
|
+
end
|
|
2074
|
+
|
|
2075
|
+
sig { params(field: String, value: T.untyped).void }
|
|
2076
|
+
def []=(field, value)
|
|
2077
|
+
end
|
|
2078
|
+
|
|
2079
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
2080
|
+
def to_h
|
|
2081
|
+
end
|
|
2082
|
+
|
|
2083
|
+
sig { params(str: String).returns(Temporalio::Api::Worker::V1::EnvironmentInfo::MacOSPlatform) }
|
|
2084
|
+
def self.decode(str)
|
|
2085
|
+
end
|
|
2086
|
+
|
|
2087
|
+
sig { params(msg: Temporalio::Api::Worker::V1::EnvironmentInfo::MacOSPlatform).returns(String) }
|
|
2088
|
+
def self.encode(msg)
|
|
2089
|
+
end
|
|
2090
|
+
|
|
2091
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Worker::V1::EnvironmentInfo::MacOSPlatform) }
|
|
2092
|
+
def self.decode_json(str, **kw)
|
|
2093
|
+
end
|
|
2094
|
+
|
|
2095
|
+
sig { params(msg: Temporalio::Api::Worker::V1::EnvironmentInfo::MacOSPlatform, kw: T.untyped).returns(String) }
|
|
2096
|
+
def self.encode_json(msg, **kw)
|
|
2097
|
+
end
|
|
2098
|
+
|
|
2099
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
2100
|
+
def self.descriptor
|
|
2101
|
+
end
|
|
2102
|
+
end
|
|
2103
|
+
|
|
2104
|
+
class Temporalio::Api::Worker::V1::EnvironmentInfo::WindowsPlatform
|
|
2105
|
+
include ::Google::Protobuf::MessageExts
|
|
2106
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
2107
|
+
|
|
2108
|
+
sig do
|
|
2109
|
+
params(
|
|
2110
|
+
version: T.nilable(String),
|
|
2111
|
+
architecture: T.nilable(T.any(Symbol, String, Integer)),
|
|
2112
|
+
crt: T.nilable(T.any(Symbol, String, Integer))
|
|
2113
|
+
).void
|
|
2114
|
+
end
|
|
2115
|
+
def initialize(
|
|
2116
|
+
version: "",
|
|
2117
|
+
architecture: :ARCHITECTURE_UNSPECIFIED,
|
|
2118
|
+
crt: :CRT_UNSPECIFIED
|
|
2119
|
+
)
|
|
2120
|
+
end
|
|
2121
|
+
|
|
2122
|
+
# The Windows version, if obtainable.
|
|
2123
|
+
sig { returns(String) }
|
|
2124
|
+
def version
|
|
2125
|
+
end
|
|
2126
|
+
|
|
2127
|
+
# The Windows version, if obtainable.
|
|
2128
|
+
sig { params(value: String).void }
|
|
2129
|
+
def version=(value)
|
|
2130
|
+
end
|
|
2131
|
+
|
|
2132
|
+
# The Windows version, if obtainable.
|
|
2133
|
+
sig { void }
|
|
2134
|
+
def clear_version
|
|
2135
|
+
end
|
|
2136
|
+
|
|
2137
|
+
# The architecture of the worker process.
|
|
2138
|
+
sig { returns(T.any(Symbol, Integer)) }
|
|
2139
|
+
def architecture
|
|
2140
|
+
end
|
|
2141
|
+
|
|
2142
|
+
# The architecture of the worker process.
|
|
2143
|
+
sig { params(value: T.any(Symbol, String, Integer)).void }
|
|
2144
|
+
def architecture=(value)
|
|
2145
|
+
end
|
|
2146
|
+
|
|
2147
|
+
# The architecture of the worker process.
|
|
2148
|
+
sig { void }
|
|
2149
|
+
def clear_architecture
|
|
2150
|
+
end
|
|
2151
|
+
|
|
2152
|
+
# The C runtime used by the worker process, if obtainable.
|
|
2153
|
+
sig { returns(T.any(Symbol, Integer)) }
|
|
2154
|
+
def crt
|
|
2155
|
+
end
|
|
2156
|
+
|
|
2157
|
+
# The C runtime used by the worker process, if obtainable.
|
|
2158
|
+
sig { params(value: T.any(Symbol, String, Integer)).void }
|
|
2159
|
+
def crt=(value)
|
|
2160
|
+
end
|
|
2161
|
+
|
|
2162
|
+
# The C runtime used by the worker process, if obtainable.
|
|
2163
|
+
sig { void }
|
|
2164
|
+
def clear_crt
|
|
2165
|
+
end
|
|
2166
|
+
|
|
2167
|
+
sig { params(field: String).returns(T.untyped) }
|
|
2168
|
+
def [](field)
|
|
2169
|
+
end
|
|
2170
|
+
|
|
2171
|
+
sig { params(field: String, value: T.untyped).void }
|
|
2172
|
+
def []=(field, value)
|
|
2173
|
+
end
|
|
2174
|
+
|
|
2175
|
+
sig { returns(T::Hash[Symbol, T.untyped]) }
|
|
2176
|
+
def to_h
|
|
2177
|
+
end
|
|
2178
|
+
|
|
2179
|
+
sig { params(str: String).returns(Temporalio::Api::Worker::V1::EnvironmentInfo::WindowsPlatform) }
|
|
2180
|
+
def self.decode(str)
|
|
2181
|
+
end
|
|
2182
|
+
|
|
2183
|
+
sig { params(msg: Temporalio::Api::Worker::V1::EnvironmentInfo::WindowsPlatform).returns(String) }
|
|
2184
|
+
def self.encode(msg)
|
|
2185
|
+
end
|
|
2186
|
+
|
|
2187
|
+
sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Worker::V1::EnvironmentInfo::WindowsPlatform) }
|
|
2188
|
+
def self.decode_json(str, **kw)
|
|
2189
|
+
end
|
|
2190
|
+
|
|
2191
|
+
sig { params(msg: Temporalio::Api::Worker::V1::EnvironmentInfo::WindowsPlatform, kw: T.untyped).returns(String) }
|
|
2192
|
+
def self.encode_json(msg, **kw)
|
|
2193
|
+
end
|
|
2194
|
+
|
|
2195
|
+
sig { returns(::Google::Protobuf::Descriptor) }
|
|
2196
|
+
def self.descriptor
|
|
2197
|
+
end
|
|
2198
|
+
end
|
|
2199
|
+
|
|
2200
|
+
module Temporalio::Api::Worker::V1::EnvironmentInfo::Architecture
|
|
2201
|
+
self::ARCHITECTURE_UNSPECIFIED = T.let(0, Integer)
|
|
2202
|
+
self::ARCHITECTURE_AMD64 = T.let(1, Integer)
|
|
2203
|
+
self::ARCHITECTURE_ARM64 = T.let(2, Integer)
|
|
2204
|
+
|
|
2205
|
+
sig { params(value: Integer).returns(T.nilable(Symbol)) }
|
|
2206
|
+
def self.lookup(value)
|
|
2207
|
+
end
|
|
2208
|
+
|
|
2209
|
+
sig { params(value: Symbol).returns(T.nilable(Integer)) }
|
|
2210
|
+
def self.resolve(value)
|
|
2211
|
+
end
|
|
2212
|
+
|
|
2213
|
+
sig { returns(::Google::Protobuf::EnumDescriptor) }
|
|
2214
|
+
def self.descriptor
|
|
2215
|
+
end
|
|
2216
|
+
end
|
|
2217
|
+
|
|
2218
|
+
module Temporalio::Api::Worker::V1::EnvironmentInfo::Runtime::RuntimeType
|
|
2219
|
+
self::RUNTIME_TYPE_UNSPECIFIED = T.let(0, Integer)
|
|
2220
|
+
self::RUNTIME_TYPE_JVM = T.let(1, Integer)
|
|
2221
|
+
self::RUNTIME_TYPE_CPYTHON = T.let(2, Integer)
|
|
2222
|
+
self::RUNTIME_TYPE_NODE = T.let(3, Integer)
|
|
2223
|
+
self::RUNTIME_TYPE_BUN = T.let(4, Integer)
|
|
2224
|
+
self::RUNTIME_TYPE_CRUBY = T.let(5, Integer)
|
|
2225
|
+
self::RUNTIME_TYPE_GO = T.let(6, Integer)
|
|
2226
|
+
self::RUNTIME_TYPE_DOTNET_FRAMEWORK = T.let(7, Integer)
|
|
2227
|
+
self::RUNTIME_TYPE_DOTNET_CORE = T.let(8, Integer)
|
|
2228
|
+
self::RUNTIME_TYPE_NATIVE = T.let(9, Integer)
|
|
2229
|
+
self::RUNTIME_TYPE_ROADRUNNER = T.let(10, Integer)
|
|
2230
|
+
|
|
2231
|
+
sig { params(value: Integer).returns(T.nilable(Symbol)) }
|
|
2232
|
+
def self.lookup(value)
|
|
2233
|
+
end
|
|
2234
|
+
|
|
2235
|
+
sig { params(value: Symbol).returns(T.nilable(Integer)) }
|
|
2236
|
+
def self.resolve(value)
|
|
2237
|
+
end
|
|
2238
|
+
|
|
2239
|
+
sig { returns(::Google::Protobuf::EnumDescriptor) }
|
|
2240
|
+
def self.descriptor
|
|
2241
|
+
end
|
|
2242
|
+
end
|
|
2243
|
+
|
|
2244
|
+
module Temporalio::Api::Worker::V1::EnvironmentInfo::HostingEnvironment::HostingEnvironmentType
|
|
2245
|
+
self::HOSTING_ENVIRONMENT_TYPE_UNSPECIFIED = T.let(0, Integer)
|
|
2246
|
+
self::HOSTING_ENVIRONMENT_TYPE_DOCKER = T.let(1, Integer)
|
|
2247
|
+
self::HOSTING_ENVIRONMENT_TYPE_K8S = T.let(2, Integer)
|
|
2248
|
+
self::HOSTING_ENVIRONMENT_TYPE_AWS_LAMBDA = T.let(3, Integer)
|
|
2249
|
+
self::HOSTING_ENVIRONMENT_TYPE_AWS_ECS = T.let(4, Integer)
|
|
2250
|
+
self::HOSTING_ENVIRONMENT_TYPE_GOOGLE_CLOUD_RUN = T.let(6, Integer)
|
|
2251
|
+
self::HOSTING_ENVIRONMENT_TYPE_GOOGLE_APP_ENGINE = T.let(7, Integer)
|
|
2252
|
+
self::HOSTING_ENVIRONMENT_TYPE_AZURE_APP_SERVICE = T.let(8, Integer)
|
|
2253
|
+
self::HOSTING_ENVIRONMENT_TYPE_AZURE_FUNCTIONS = T.let(9, Integer)
|
|
2254
|
+
self::HOSTING_ENVIRONMENT_TYPE_AZURE_CONTAINER_APPS = T.let(10, Integer)
|
|
2255
|
+
|
|
2256
|
+
sig { params(value: Integer).returns(T.nilable(Symbol)) }
|
|
2257
|
+
def self.lookup(value)
|
|
2258
|
+
end
|
|
2259
|
+
|
|
2260
|
+
sig { params(value: Symbol).returns(T.nilable(Integer)) }
|
|
2261
|
+
def self.resolve(value)
|
|
2262
|
+
end
|
|
2263
|
+
|
|
2264
|
+
sig { returns(::Google::Protobuf::EnumDescriptor) }
|
|
2265
|
+
def self.descriptor
|
|
2266
|
+
end
|
|
2267
|
+
end
|
|
2268
|
+
|
|
2269
|
+
module Temporalio::Api::Worker::V1::EnvironmentInfo::LinuxPlatform::Libc
|
|
2270
|
+
self::LIBC_UNSPECIFIED = T.let(0, Integer)
|
|
2271
|
+
self::LIBC_GLIBC = T.let(1, Integer)
|
|
2272
|
+
self::LIBC_MUSL = T.let(2, Integer)
|
|
2273
|
+
|
|
2274
|
+
sig { params(value: Integer).returns(T.nilable(Symbol)) }
|
|
2275
|
+
def self.lookup(value)
|
|
2276
|
+
end
|
|
2277
|
+
|
|
2278
|
+
sig { params(value: Symbol).returns(T.nilable(Integer)) }
|
|
2279
|
+
def self.resolve(value)
|
|
2280
|
+
end
|
|
2281
|
+
|
|
2282
|
+
sig { returns(::Google::Protobuf::EnumDescriptor) }
|
|
2283
|
+
def self.descriptor
|
|
2284
|
+
end
|
|
2285
|
+
end
|
|
2286
|
+
|
|
2287
|
+
module Temporalio::Api::Worker::V1::EnvironmentInfo::WindowsPlatform::Crt
|
|
2288
|
+
self::CRT_UNSPECIFIED = T.let(0, Integer)
|
|
2289
|
+
self::CRT_UCRT = T.let(1, Integer)
|
|
2290
|
+
self::CRT_MSVCRT = T.let(2, Integer)
|
|
2291
|
+
self::CRT_MINGW = T.let(3, Integer)
|
|
2292
|
+
self::CRT_CYGWIN = T.let(4, Integer)
|
|
2293
|
+
|
|
2294
|
+
sig { params(value: Integer).returns(T.nilable(Symbol)) }
|
|
2295
|
+
def self.lookup(value)
|
|
2296
|
+
end
|
|
2297
|
+
|
|
2298
|
+
sig { params(value: Symbol).returns(T.nilable(Integer)) }
|
|
2299
|
+
def self.resolve(value)
|
|
2300
|
+
end
|
|
2301
|
+
|
|
2302
|
+
sig { returns(::Google::Protobuf::EnumDescriptor) }
|
|
2303
|
+
def self.descriptor
|
|
2304
|
+
end
|
|
2305
|
+
end
|