temporalio 1.11.0 → 1.12.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.
Files changed (138) hide show
  1. checksums.yaml +4 -4
  2. data/Cargo.lock +33 -11
  3. data/Cargo.toml +1 -0
  4. data/README.md +168 -11
  5. data/ext/Cargo.toml +3 -3
  6. data/lib/temporalio/api/cloud/account/v1/message.rb +2 -1
  7. data/lib/temporalio/api/cloud/cloudservice/v1/request_response.rb +43 -1
  8. data/lib/temporalio/api/cloud/cloudservice/v1/service.rb +1 -1
  9. data/lib/temporalio/api/cloud/connectivityrule/v1/message.rb +1 -1
  10. data/lib/temporalio/api/cloud/identity/v1/message.rb +8 -1
  11. data/lib/temporalio/api/cloud/namespace/v1/message.rb +8 -1
  12. data/lib/temporalio/api/cloud/nexus/v1/message.rb +1 -1
  13. data/lib/temporalio/api/cloud/project/v1/message.rb +28 -0
  14. data/lib/temporalio/api/cloud/region/v1/message.rb +1 -1
  15. data/lib/temporalio/api/cloud/sink/v1/message.rb +2 -1
  16. data/lib/temporalio/api/enums/v1/failed_cause.rb +1 -1
  17. data/lib/temporalio/api/enums/v1/namespace.rb +2 -1
  18. data/lib/temporalio/api/operatorservice/v1/request_response.rb +9 -1
  19. data/lib/temporalio/api/operatorservice/v1/service.rb +1 -1
  20. data/lib/temporalio/api/payload_visitor.rb +66 -0
  21. data/lib/temporalio/api/taskqueue/v1/message.rb +3 -1
  22. data/lib/temporalio/api/workflowservice/v1/request_response.rb +2 -1
  23. data/lib/temporalio/api/workflowservice/v1/service.rb +1 -1
  24. data/lib/temporalio/client/connection/cloud_service.rb +285 -0
  25. data/lib/temporalio/client/connection/operator_service.rb +45 -0
  26. data/lib/temporalio/client/schedule.rb +56 -8
  27. data/lib/temporalio/contrib/aws/s3_driver/aws_sdk_s3_storage_driver_client.rb +0 -2
  28. data/lib/temporalio/contrib/aws/s3_driver/s3_storage_driver.rb +3 -5
  29. data/lib/temporalio/contrib/aws/s3_driver/s3_storage_driver_client.rb +0 -2
  30. data/lib/temporalio/contrib/aws/s3_driver.rb +0 -2
  31. data/lib/temporalio/converters/data_converter.rb +52 -1
  32. data/lib/temporalio/converters/external_storage.rb +6 -12
  33. data/lib/temporalio/converters/external_storage_concurrency.rb +4 -2
  34. data/lib/temporalio/converters/storage_driver.rb +3 -4
  35. data/lib/temporalio/converters/storage_driver_activity_info.rb +0 -2
  36. data/lib/temporalio/converters/storage_driver_claim.rb +0 -2
  37. data/lib/temporalio/converters/storage_driver_limiter.rb +16 -0
  38. data/lib/temporalio/converters/storage_driver_retrieve_context.rb +7 -6
  39. data/lib/temporalio/converters/storage_driver_select_context.rb +11 -5
  40. data/lib/temporalio/converters/storage_driver_store_context.rb +11 -7
  41. data/lib/temporalio/converters/storage_driver_workflow_info.rb +0 -2
  42. data/lib/temporalio/error.rb +10 -3
  43. data/lib/temporalio/internal/bridge/worker.rb +1 -0
  44. data/lib/temporalio/internal/client/described_schedule_action.rb +41 -0
  45. data/lib/temporalio/internal/client/implementation.rb +92 -48
  46. data/lib/temporalio/internal/external_storage_references.rb +5 -4
  47. data/lib/temporalio/internal/external_storage_runner.rb +177 -0
  48. data/lib/temporalio/internal/storage_operation_metrics.rb +76 -0
  49. data/lib/temporalio/internal/worker/activity_worker.rb +60 -24
  50. data/lib/temporalio/internal/worker/workflow_worker.rb +211 -15
  51. data/lib/temporalio/version.rb +1 -1
  52. data/lib/temporalio/worker/workflow_replayer.rb +5 -3
  53. data/lib/temporalio/worker.rb +4 -2
  54. data/rbi/temporalio/api/cloud/account/v1/message.rbi +84 -2
  55. data/rbi/temporalio/api/cloud/cloudservice/v1/request_response.rbi +5006 -1157
  56. data/rbi/temporalio/api/cloud/cloudservice/v1/service_services.rbi +171 -0
  57. data/rbi/temporalio/api/cloud/connectivityrule/v1/message.rbi +71 -16
  58. data/rbi/temporalio/api/cloud/identity/v1/message.rbi +789 -23
  59. data/rbi/temporalio/api/cloud/namespace/v1/message.rbi +765 -15
  60. data/rbi/temporalio/api/cloud/nexus/v1/message.rbi +19 -2
  61. data/rbi/temporalio/api/cloud/project/v1/message.rbi +334 -0
  62. data/rbi/temporalio/api/cloud/region/v1/message.rbi +1 -0
  63. data/rbi/temporalio/api/cloud/sink/v1/message.rbi +147 -0
  64. data/rbi/temporalio/api/common/v1/message.rbi +6 -0
  65. data/rbi/temporalio/api/enums/v1/failed_cause.rbi +2 -0
  66. data/rbi/temporalio/api/enums/v1/namespace.rbi +20 -0
  67. data/rbi/temporalio/api/history/v1/message.rbi +40 -18
  68. data/rbi/temporalio/api/operatorservice/v1/request_response.rbi +480 -0
  69. data/rbi/temporalio/api/operatorservice/v1/service_services.rbi +32 -0
  70. data/rbi/temporalio/api/payload_visitor.rbi +33 -0
  71. data/rbi/temporalio/api/schedule/v1/message.rbi +12 -6
  72. data/rbi/temporalio/api/taskqueue/v1/message.rbi +179 -13
  73. data/rbi/temporalio/api/worker/v1/message.rbi +6 -6
  74. data/rbi/temporalio/api/workflow/v1/message.rbi +12 -6
  75. data/rbi/temporalio/api/workflowservice/v1/request_response.rbi +140 -41
  76. data/rbi/temporalio/api/workflowservice/v1/service_services.rbi +3 -0
  77. data/rbi/temporalio/client/connection/cloud_service.rbi +57 -0
  78. data/rbi/temporalio/client/connection/operator_service.rbi +9 -0
  79. data/rbi/temporalio/converters/data_converter.rbi +43 -2
  80. data/rbi/temporalio/converters/external_storage.rbi +2 -7
  81. data/rbi/temporalio/converters/storage_driver_limiter.rbi +4 -0
  82. data/rbi/temporalio/converters/storage_driver_retrieve_context.rbi +1 -1
  83. data/rbi/temporalio/converters/storage_driver_select_context.rbi +6 -2
  84. data/rbi/temporalio/converters/storage_driver_store_context.rbi +6 -2
  85. data/rbi/temporalio/error.rbi +3 -1
  86. data/rbi/temporalio/internal/bridge/api/workflow_activation/workflow_activation.rbi +6 -0
  87. data/rbi/temporalio/internal/bridge/worker.rbi +4 -2
  88. data/rbi/temporalio/internal/client/described_schedule_action.rbi +22 -0
  89. data/rbi/temporalio/internal/client/implementation.rbi +30 -0
  90. data/rbi/temporalio/internal/external_storage_runner.rbi +36 -0
  91. data/rbi/temporalio/internal/storage_operation_metrics.rbi +27 -0
  92. data/rbi/temporalio/internal/worker/activity_worker.rbi +24 -4
  93. data/rbi/temporalio/internal/worker/workflow_worker.rbi +61 -1
  94. data/rbi/temporalio/workflow.rbi +0 -12
  95. data/sig/temporalio/api/cloud/account/v1/message.rbs +30 -0
  96. data/sig/temporalio/api/cloud/cloudservice/v1/request_response.rbs +2122 -601
  97. data/sig/temporalio/api/cloud/connectivityrule/v1/message.rbs +29 -4
  98. data/sig/temporalio/api/cloud/identity/v1/message.rbs +342 -1
  99. data/sig/temporalio/api/cloud/namespace/v1/message.rbs +341 -2
  100. data/sig/temporalio/api/cloud/nexus/v1/message.rbs +9 -0
  101. data/sig/temporalio/api/cloud/project/v1/message.rbs +164 -0
  102. data/sig/temporalio/api/cloud/region/v1/message.rbs +5 -3
  103. data/sig/temporalio/api/cloud/sink/v1/message.rbs +66 -0
  104. data/sig/temporalio/api/common/v1/message.rbs +6 -0
  105. data/sig/temporalio/api/enums/v1/event_type.rbs +1 -0
  106. data/sig/temporalio/api/enums/v1/failed_cause.rbs +9 -3
  107. data/sig/temporalio/api/enums/v1/namespace.rbs +30 -2
  108. data/sig/temporalio/api/enums/v1/time_skipping.rbs +1 -0
  109. data/sig/temporalio/api/history/v1/message.rbs +8 -0
  110. data/sig/temporalio/api/operatorservice/v1/request_response.rbs +188 -0
  111. data/sig/temporalio/api/payload_visitor.rbs +11 -0
  112. data/sig/temporalio/api/schedule/v1/message.rbs +2 -0
  113. data/sig/temporalio/api/taskqueue/v1/message.rbs +66 -5
  114. data/sig/temporalio/api/worker/v1/message.rbs +2 -2
  115. data/sig/temporalio/api/workflow/v1/message.rbs +2 -0
  116. data/sig/temporalio/api/workflowservice/v1/request_response.rbs +53 -9
  117. data/sig/temporalio/client/connection/cloud_service.rbs +76 -0
  118. data/sig/temporalio/client/connection/operator_service.rbs +12 -0
  119. data/sig/temporalio/client/schedule.rbs +24 -3
  120. data/sig/temporalio/contrib/aws/s3_driver/s3_storage_driver.rbs +2 -1
  121. data/sig/temporalio/contrib/open_telemetry.rbs +4 -4
  122. data/sig/temporalio/converters/data_converter.rbs +19 -1
  123. data/sig/temporalio/converters/external_storage.rbs +1 -3
  124. data/sig/temporalio/converters/storage_driver_limiter.rbs +5 -0
  125. data/sig/temporalio/converters/storage_driver_retrieve_context.rbs +1 -1
  126. data/sig/temporalio/converters/storage_driver_select_context.rbs +3 -1
  127. data/sig/temporalio/converters/storage_driver_store_context.rbs +3 -1
  128. data/sig/temporalio/error.rbs +4 -1
  129. data/sig/temporalio/internal/bridge/api/workflow_activation/workflow_activation.rbs +4 -0
  130. data/sig/temporalio/internal/bridge/worker.rbs +2 -0
  131. data/sig/temporalio/internal/client/described_schedule_action.rbs +18 -0
  132. data/sig/temporalio/internal/client/implementation.rbs +22 -0
  133. data/sig/temporalio/internal/external_storage_runner.rbs +32 -0
  134. data/sig/temporalio/internal/storage_operation_metrics.rbs +25 -0
  135. data/sig/temporalio/internal/worker/activity_worker.rbs +11 -2
  136. data/sig/temporalio/internal/worker/workflow_worker.rbs +32 -1
  137. metadata +13 -2
  138. data/sig/open_telemetry.rbs +0 -47
@@ -1033,6 +1033,143 @@ class Temporalio::Api::Cloud::Namespace::V1::FairnessSpec
1033
1033
  end
1034
1034
  end
1035
1035
 
1036
+ # temporal:versioning:min_version=v0.23.0
1037
+ class Temporalio::Api::Cloud::Namespace::V1::EncryptionValidationSpec
1038
+ include ::Google::Protobuf::MessageExts
1039
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1040
+
1041
+ sig do
1042
+ params(
1043
+ mode: T.nilable(T.any(Symbol, String, Integer)),
1044
+ metadata_key: T.nilable(String),
1045
+ metadata_values: T.nilable(T::Array[String]),
1046
+ inspect_header: T.nilable(T::Boolean),
1047
+ inspect_failure: T.nilable(T::Boolean)
1048
+ ).void
1049
+ end
1050
+ def initialize(
1051
+ mode: :ENCRYPTION_VALIDATION_MODE_UNSPECIFIED,
1052
+ metadata_key: "",
1053
+ metadata_values: [],
1054
+ inspect_header: false,
1055
+ inspect_failure: false
1056
+ )
1057
+ end
1058
+
1059
+ # The payload encryption validation mode for this namespace.
1060
+ sig { returns(T.any(Symbol, Integer)) }
1061
+ def mode
1062
+ end
1063
+
1064
+ # The payload encryption validation mode for this namespace.
1065
+ sig { params(value: T.any(Symbol, String, Integer)).void }
1066
+ def mode=(value)
1067
+ end
1068
+
1069
+ # The payload encryption validation mode for this namespace.
1070
+ sig { void }
1071
+ def clear_mode
1072
+ end
1073
+
1074
+ # (Optional) The payload metadata key used to identify encrypted payloads.
1075
+ # Default value is "encoding" if omitted.
1076
+ sig { returns(String) }
1077
+ def metadata_key
1078
+ end
1079
+
1080
+ # (Optional) The payload metadata key used to identify encrypted payloads.
1081
+ # Default value is "encoding" if omitted.
1082
+ sig { params(value: String).void }
1083
+ def metadata_key=(value)
1084
+ end
1085
+
1086
+ # (Optional) The payload metadata key used to identify encrypted payloads.
1087
+ # Default value is "encoding" if omitted.
1088
+ sig { void }
1089
+ def clear_metadata_key
1090
+ end
1091
+
1092
+ # (Optional) The payload metadata values used to identify encrypted payloads.
1093
+ # Default value is ["binary/encrypted"] if omitted.
1094
+ sig { returns(T::Array[String]) }
1095
+ def metadata_values
1096
+ end
1097
+
1098
+ # (Optional) The payload metadata values used to identify encrypted payloads.
1099
+ # Default value is ["binary/encrypted"] if omitted.
1100
+ sig { params(value: ::Google::Protobuf::RepeatedField).void }
1101
+ def metadata_values=(value)
1102
+ end
1103
+
1104
+ # (Optional) The payload metadata values used to identify encrypted payloads.
1105
+ # Default value is ["binary/encrypted"] if omitted.
1106
+ sig { void }
1107
+ def clear_metadata_values
1108
+ end
1109
+
1110
+ # Whether workflow headers should be inspected for encryption validation.
1111
+ sig { returns(T::Boolean) }
1112
+ def inspect_header
1113
+ end
1114
+
1115
+ # Whether workflow headers should be inspected for encryption validation.
1116
+ sig { params(value: T::Boolean).void }
1117
+ def inspect_header=(value)
1118
+ end
1119
+
1120
+ # Whether workflow headers should be inspected for encryption validation.
1121
+ sig { void }
1122
+ def clear_inspect_header
1123
+ end
1124
+
1125
+ # Whether to inspect the message and stack_trace fields for Failure messages.
1126
+ sig { returns(T::Boolean) }
1127
+ def inspect_failure
1128
+ end
1129
+
1130
+ # Whether to inspect the message and stack_trace fields for Failure messages.
1131
+ sig { params(value: T::Boolean).void }
1132
+ def inspect_failure=(value)
1133
+ end
1134
+
1135
+ # Whether to inspect the message and stack_trace fields for Failure messages.
1136
+ sig { void }
1137
+ def clear_inspect_failure
1138
+ end
1139
+
1140
+ sig { params(field: String).returns(T.untyped) }
1141
+ def [](field)
1142
+ end
1143
+
1144
+ sig { params(field: String, value: T.untyped).void }
1145
+ def []=(field, value)
1146
+ end
1147
+
1148
+ sig { returns(T::Hash[Symbol, T.untyped]) }
1149
+ def to_h
1150
+ end
1151
+
1152
+ sig { params(str: String).returns(Temporalio::Api::Cloud::Namespace::V1::EncryptionValidationSpec) }
1153
+ def self.decode(str)
1154
+ end
1155
+
1156
+ sig { params(msg: Temporalio::Api::Cloud::Namespace::V1::EncryptionValidationSpec).returns(String) }
1157
+ def self.encode(msg)
1158
+ end
1159
+
1160
+ sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Cloud::Namespace::V1::EncryptionValidationSpec) }
1161
+ def self.decode_json(str, **kw)
1162
+ end
1163
+
1164
+ sig { params(msg: Temporalio::Api::Cloud::Namespace::V1::EncryptionValidationSpec, kw: T.untyped).returns(String) }
1165
+ def self.encode_json(msg, **kw)
1166
+ end
1167
+
1168
+ sig { returns(::Google::Protobuf::Descriptor) }
1169
+ def self.descriptor
1170
+ end
1171
+ end
1172
+
1036
1173
  class Temporalio::Api::Cloud::Namespace::V1::NamespaceSpec
1037
1174
  include ::Google::Protobuf::MessageExts
1038
1175
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1052,7 +1189,9 @@ class Temporalio::Api::Cloud::Namespace::V1::NamespaceSpec
1052
1189
  connectivity_rule_ids: T.nilable(T::Array[String]),
1053
1190
  capacity_spec: T.nilable(Temporalio::Api::Cloud::Namespace::V1::CapacitySpec),
1054
1191
  replicas: T.nilable(T::Array[T.nilable(Temporalio::Api::Cloud::Namespace::V1::ReplicaSpec)]),
1055
- fairness: T.nilable(Temporalio::Api::Cloud::Namespace::V1::FairnessSpec)
1192
+ fairness: T.nilable(Temporalio::Api::Cloud::Namespace::V1::FairnessSpec),
1193
+ encryption_validation: T.nilable(Temporalio::Api::Cloud::Namespace::V1::EncryptionValidationSpec),
1194
+ description: T.nilable(String)
1056
1195
  ).void
1057
1196
  end
1058
1197
  def initialize(
@@ -1069,7 +1208,9 @@ class Temporalio::Api::Cloud::Namespace::V1::NamespaceSpec
1069
1208
  connectivity_rule_ids: [],
1070
1209
  capacity_spec: nil,
1071
1210
  replicas: [],
1072
- fairness: nil
1211
+ fairness: nil,
1212
+ encryption_validation: nil,
1213
+ description: ""
1073
1214
  )
1074
1215
  end
1075
1216
 
@@ -1418,6 +1559,51 @@ class Temporalio::Api::Cloud::Namespace::V1::NamespaceSpec
1418
1559
  def clear_fairness
1419
1560
  end
1420
1561
 
1562
+ # The payload encryption validation configuration for the namespace.
1563
+ # If unspecified, payload encryption validation will be disabled.
1564
+ # temporal:versioning:min_version=v0.23.0
1565
+ sig { returns(T.nilable(Temporalio::Api::Cloud::Namespace::V1::EncryptionValidationSpec)) }
1566
+ def encryption_validation
1567
+ end
1568
+
1569
+ # The payload encryption validation configuration for the namespace.
1570
+ # If unspecified, payload encryption validation will be disabled.
1571
+ # temporal:versioning:min_version=v0.23.0
1572
+ sig { params(value: T.nilable(Temporalio::Api::Cloud::Namespace::V1::EncryptionValidationSpec)).void }
1573
+ def encryption_validation=(value)
1574
+ end
1575
+
1576
+ # The payload encryption validation configuration for the namespace.
1577
+ # If unspecified, payload encryption validation will be disabled.
1578
+ # temporal:versioning:min_version=v0.23.0
1579
+ sig { void }
1580
+ def clear_encryption_validation
1581
+ end
1582
+
1583
+ # The description is a human-readable description of the namespace purpose.
1584
+ # Must be at most 255 printable ASCII characters plus whitespace.
1585
+ # Optional, default is empty.
1586
+ # temporal:versioning:min_version=v0.21.0
1587
+ sig { returns(String) }
1588
+ def description
1589
+ end
1590
+
1591
+ # The description is a human-readable description of the namespace purpose.
1592
+ # Must be at most 255 printable ASCII characters plus whitespace.
1593
+ # Optional, default is empty.
1594
+ # temporal:versioning:min_version=v0.21.0
1595
+ sig { params(value: String).void }
1596
+ def description=(value)
1597
+ end
1598
+
1599
+ # The description is a human-readable description of the namespace purpose.
1600
+ # Must be at most 255 printable ASCII characters plus whitespace.
1601
+ # Optional, default is empty.
1602
+ # temporal:versioning:min_version=v0.21.0
1603
+ sig { void }
1604
+ def clear_description
1605
+ end
1606
+
1421
1607
  sig { params(field: String).returns(T.untyped) }
1422
1608
  def [](field)
1423
1609
  end
@@ -1795,7 +1981,8 @@ class Temporalio::Api::Cloud::Namespace::V1::Namespace
1795
1981
  connectivity_rules: T.nilable(T::Array[T.nilable(Temporalio::Api::Cloud::ConnectivityRule::V1::ConnectivityRule)]),
1796
1982
  tags: T.nilable(T::Hash[String, String]),
1797
1983
  capacity: T.nilable(Temporalio::Api::Cloud::Namespace::V1::Capacity),
1798
- replicas: T.nilable(T::Array[T.nilable(Temporalio::Api::Cloud::Namespace::V1::Replica)])
1984
+ replicas: T.nilable(T::Array[T.nilable(Temporalio::Api::Cloud::Namespace::V1::Replica)]),
1985
+ project_id: T.nilable(String)
1799
1986
  ).void
1800
1987
  end
1801
1988
  def initialize(
@@ -1815,7 +2002,8 @@ class Temporalio::Api::Cloud::Namespace::V1::Namespace
1815
2002
  connectivity_rules: [],
1816
2003
  tags: ::Google::Protobuf::Map.new(:string, :string),
1817
2004
  capacity: nil,
1818
- replicas: []
2005
+ replicas: [],
2006
+ project_id: ""
1819
2007
  )
1820
2008
  end
1821
2009
 
@@ -2107,6 +2295,21 @@ class Temporalio::Api::Cloud::Namespace::V1::Namespace
2107
2295
  def clear_replicas
2108
2296
  end
2109
2297
 
2298
+ # The id of the project this namespace belongs to.
2299
+ sig { returns(String) }
2300
+ def project_id
2301
+ end
2302
+
2303
+ # The id of the project this namespace belongs to.
2304
+ sig { params(value: String).void }
2305
+ def project_id=(value)
2306
+ end
2307
+
2308
+ # The id of the project this namespace belongs to.
2309
+ sig { void }
2310
+ def clear_project_id
2311
+ end
2312
+
2110
2313
  sig { params(field: String).returns(T.untyped) }
2111
2314
  def [](field)
2112
2315
  end
@@ -2140,6 +2343,438 @@ class Temporalio::Api::Cloud::Namespace::V1::Namespace
2140
2343
  end
2141
2344
  end
2142
2345
 
2346
+ # The caller rate limit resource.
2347
+ # A caller rate limit sets a request per second limit for a caller making requests to a target namespace.
2348
+ # The 'target namespace' is the namespace being protected.
2349
+ class Temporalio::Api::Cloud::Namespace::V1::CallerRateLimit
2350
+ include ::Google::Protobuf::MessageExts
2351
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2352
+
2353
+ sig do
2354
+ params(
2355
+ id: T.nilable(String),
2356
+ resource_version: T.nilable(String),
2357
+ spec: T.nilable(Temporalio::Api::Cloud::Namespace::V1::CallerRateLimitSpec),
2358
+ state: T.nilable(T.any(Symbol, String, Integer)),
2359
+ async_operation_id: T.nilable(String),
2360
+ created_time: T.nilable(Google::Protobuf::Timestamp),
2361
+ last_modified_time: T.nilable(Google::Protobuf::Timestamp),
2362
+ namespace: T.nilable(String)
2363
+ ).void
2364
+ end
2365
+ def initialize(
2366
+ id: "",
2367
+ resource_version: "",
2368
+ spec: nil,
2369
+ state: :RESOURCE_STATE_UNSPECIFIED,
2370
+ async_operation_id: "",
2371
+ created_time: nil,
2372
+ last_modified_time: nil,
2373
+ namespace: ""
2374
+ )
2375
+ end
2376
+
2377
+ # The id of the caller rate limit. This is generated by the server and is immutable.
2378
+ sig { returns(String) }
2379
+ def id
2380
+ end
2381
+
2382
+ # The id of the caller rate limit. This is generated by the server and is immutable.
2383
+ sig { params(value: String).void }
2384
+ def id=(value)
2385
+ end
2386
+
2387
+ # The id of the caller rate limit. This is generated by the server and is immutable.
2388
+ sig { void }
2389
+ def clear_id
2390
+ end
2391
+
2392
+ # The current version of the caller rate limit specification.
2393
+ # The next update or delete operations must include this version.
2394
+ sig { returns(String) }
2395
+ def resource_version
2396
+ end
2397
+
2398
+ # The current version of the caller rate limit specification.
2399
+ # The next update or delete operations must include this version.
2400
+ sig { params(value: String).void }
2401
+ def resource_version=(value)
2402
+ end
2403
+
2404
+ # The current version of the caller rate limit specification.
2405
+ # The next update or delete operations must include this version.
2406
+ sig { void }
2407
+ def clear_resource_version
2408
+ end
2409
+
2410
+ # The caller rate limit specification.
2411
+ sig { returns(T.nilable(Temporalio::Api::Cloud::Namespace::V1::CallerRateLimitSpec)) }
2412
+ def spec
2413
+ end
2414
+
2415
+ # The caller rate limit specification.
2416
+ sig { params(value: T.nilable(Temporalio::Api::Cloud::Namespace::V1::CallerRateLimitSpec)).void }
2417
+ def spec=(value)
2418
+ end
2419
+
2420
+ # The caller rate limit specification.
2421
+ sig { void }
2422
+ def clear_spec
2423
+ end
2424
+
2425
+ # The current state of the caller rate limit.
2426
+ sig { returns(T.any(Symbol, Integer)) }
2427
+ def state
2428
+ end
2429
+
2430
+ # The current state of the caller rate limit.
2431
+ sig { params(value: T.any(Symbol, String, Integer)).void }
2432
+ def state=(value)
2433
+ end
2434
+
2435
+ # The current state of the caller rate limit.
2436
+ sig { void }
2437
+ def clear_state
2438
+ end
2439
+
2440
+ # The id of any ongoing operation that is creating, updating, or deleting the caller rate limit.
2441
+ sig { returns(String) }
2442
+ def async_operation_id
2443
+ end
2444
+
2445
+ # The id of any ongoing operation that is creating, updating, or deleting the caller rate limit.
2446
+ sig { params(value: String).void }
2447
+ def async_operation_id=(value)
2448
+ end
2449
+
2450
+ # The id of any ongoing operation that is creating, updating, or deleting the caller rate limit.
2451
+ sig { void }
2452
+ def clear_async_operation_id
2453
+ end
2454
+
2455
+ # The date and time when the caller rate limit was created.
2456
+ sig { returns(T.nilable(Google::Protobuf::Timestamp)) }
2457
+ def created_time
2458
+ end
2459
+
2460
+ # The date and time when the caller rate limit was created.
2461
+ sig { params(value: T.nilable(Google::Protobuf::Timestamp)).void }
2462
+ def created_time=(value)
2463
+ end
2464
+
2465
+ # The date and time when the caller rate limit was created.
2466
+ sig { void }
2467
+ def clear_created_time
2468
+ end
2469
+
2470
+ # The date and time when the caller rate limit was last modified.
2471
+ sig { returns(T.nilable(Google::Protobuf::Timestamp)) }
2472
+ def last_modified_time
2473
+ end
2474
+
2475
+ # The date and time when the caller rate limit was last modified.
2476
+ sig { params(value: T.nilable(Google::Protobuf::Timestamp)).void }
2477
+ def last_modified_time=(value)
2478
+ end
2479
+
2480
+ # The date and time when the caller rate limit was last modified.
2481
+ sig { void }
2482
+ def clear_last_modified_time
2483
+ end
2484
+
2485
+ # The target namespace. This is immutable.
2486
+ sig { returns(String) }
2487
+ def namespace
2488
+ end
2489
+
2490
+ # The target namespace. This is immutable.
2491
+ sig { params(value: String).void }
2492
+ def namespace=(value)
2493
+ end
2494
+
2495
+ # The target namespace. This is immutable.
2496
+ sig { void }
2497
+ def clear_namespace
2498
+ end
2499
+
2500
+ sig { params(field: String).returns(T.untyped) }
2501
+ def [](field)
2502
+ end
2503
+
2504
+ sig { params(field: String, value: T.untyped).void }
2505
+ def []=(field, value)
2506
+ end
2507
+
2508
+ sig { returns(T::Hash[Symbol, T.untyped]) }
2509
+ def to_h
2510
+ end
2511
+
2512
+ sig { params(str: String).returns(Temporalio::Api::Cloud::Namespace::V1::CallerRateLimit) }
2513
+ def self.decode(str)
2514
+ end
2515
+
2516
+ sig { params(msg: Temporalio::Api::Cloud::Namespace::V1::CallerRateLimit).returns(String) }
2517
+ def self.encode(msg)
2518
+ end
2519
+
2520
+ sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Cloud::Namespace::V1::CallerRateLimit) }
2521
+ def self.decode_json(str, **kw)
2522
+ end
2523
+
2524
+ sig { params(msg: Temporalio::Api::Cloud::Namespace::V1::CallerRateLimit, kw: T.untyped).returns(String) }
2525
+ def self.encode_json(msg, **kw)
2526
+ end
2527
+
2528
+ sig { returns(::Google::Protobuf::Descriptor) }
2529
+ def self.descriptor
2530
+ end
2531
+ end
2532
+
2533
+ # The specification for a caller rate limit.
2534
+ class Temporalio::Api::Cloud::Namespace::V1::CallerRateLimitSpec
2535
+ include ::Google::Protobuf::MessageExts
2536
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2537
+
2538
+ sig do
2539
+ params(
2540
+ namespace_default: T.nilable(Temporalio::Api::Cloud::Namespace::V1::NamespaceDefaultCallerRateLimit),
2541
+ namespace_limit: T.nilable(Temporalio::Api::Cloud::Namespace::V1::NamespaceCallerRateLimit)
2542
+ ).void
2543
+ end
2544
+ def initialize(
2545
+ namespace_default: nil,
2546
+ namespace_limit: nil
2547
+ )
2548
+ end
2549
+
2550
+ # The default rate limit for namespace callers that do not match a specific rule.
2551
+ # The target namespace can have at most one namespace default limit.
2552
+ # A default rate limit is not required, and unmatched namespaces will not have a caller rate limit.
2553
+ sig { returns(T.nilable(Temporalio::Api::Cloud::Namespace::V1::NamespaceDefaultCallerRateLimit)) }
2554
+ def namespace_default
2555
+ end
2556
+
2557
+ # The default rate limit for namespace callers that do not match a specific rule.
2558
+ # The target namespace can have at most one namespace default limit.
2559
+ # A default rate limit is not required, and unmatched namespaces will not have a caller rate limit.
2560
+ sig { params(value: T.nilable(Temporalio::Api::Cloud::Namespace::V1::NamespaceDefaultCallerRateLimit)).void }
2561
+ def namespace_default=(value)
2562
+ end
2563
+
2564
+ # The default rate limit for namespace callers that do not match a specific rule.
2565
+ # The target namespace can have at most one namespace default limit.
2566
+ # A default rate limit is not required, and unmatched namespaces will not have a caller rate limit.
2567
+ sig { void }
2568
+ def clear_namespace_default
2569
+ end
2570
+
2571
+ # A rate limit rule that matches a specific caller namespace.
2572
+ # The target namespace can have at most one matching rule for each caller namespace.
2573
+ sig { returns(T.nilable(Temporalio::Api::Cloud::Namespace::V1::NamespaceCallerRateLimit)) }
2574
+ def namespace_limit
2575
+ end
2576
+
2577
+ # A rate limit rule that matches a specific caller namespace.
2578
+ # The target namespace can have at most one matching rule for each caller namespace.
2579
+ sig { params(value: T.nilable(Temporalio::Api::Cloud::Namespace::V1::NamespaceCallerRateLimit)).void }
2580
+ def namespace_limit=(value)
2581
+ end
2582
+
2583
+ # A rate limit rule that matches a specific caller namespace.
2584
+ # The target namespace can have at most one matching rule for each caller namespace.
2585
+ sig { void }
2586
+ def clear_namespace_limit
2587
+ end
2588
+
2589
+ sig { returns(T.nilable(Symbol)) }
2590
+ def rule
2591
+ end
2592
+
2593
+ sig { params(field: String).returns(T.untyped) }
2594
+ def [](field)
2595
+ end
2596
+
2597
+ sig { params(field: String, value: T.untyped).void }
2598
+ def []=(field, value)
2599
+ end
2600
+
2601
+ sig { returns(T::Hash[Symbol, T.untyped]) }
2602
+ def to_h
2603
+ end
2604
+
2605
+ sig { params(str: String).returns(Temporalio::Api::Cloud::Namespace::V1::CallerRateLimitSpec) }
2606
+ def self.decode(str)
2607
+ end
2608
+
2609
+ sig { params(msg: Temporalio::Api::Cloud::Namespace::V1::CallerRateLimitSpec).returns(String) }
2610
+ def self.encode(msg)
2611
+ end
2612
+
2613
+ sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Cloud::Namespace::V1::CallerRateLimitSpec) }
2614
+ def self.decode_json(str, **kw)
2615
+ end
2616
+
2617
+ sig { params(msg: Temporalio::Api::Cloud::Namespace::V1::CallerRateLimitSpec, kw: T.untyped).returns(String) }
2618
+ def self.encode_json(msg, **kw)
2619
+ end
2620
+
2621
+ sig { returns(::Google::Protobuf::Descriptor) }
2622
+ def self.descriptor
2623
+ end
2624
+ end
2625
+
2626
+ # The limit for a specific calling namespace.
2627
+ class Temporalio::Api::Cloud::Namespace::V1::NamespaceCallerRateLimit
2628
+ include ::Google::Protobuf::MessageExts
2629
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2630
+
2631
+ sig do
2632
+ params(
2633
+ namespace_id: T.nilable(String),
2634
+ rps: T.nilable(Float)
2635
+ ).void
2636
+ end
2637
+ def initialize(
2638
+ namespace_id: "",
2639
+ rps: 0.0
2640
+ )
2641
+ end
2642
+
2643
+ # The calling namespace to match exactly.
2644
+ # Required. Immutable.
2645
+ sig { returns(String) }
2646
+ def namespace_id
2647
+ end
2648
+
2649
+ # The calling namespace to match exactly.
2650
+ # Required. Immutable.
2651
+ sig { params(value: String).void }
2652
+ def namespace_id=(value)
2653
+ end
2654
+
2655
+ # The calling namespace to match exactly.
2656
+ # Required. Immutable.
2657
+ sig { void }
2658
+ def clear_namespace_id
2659
+ end
2660
+
2661
+ # The number of requests per second that are allowed.
2662
+ # Must be non-negative and finite. A value of 0 denies all traffic from this caller.
2663
+ sig { returns(Float) }
2664
+ def rps
2665
+ end
2666
+
2667
+ # The number of requests per second that are allowed.
2668
+ # Must be non-negative and finite. A value of 0 denies all traffic from this caller.
2669
+ sig { params(value: Float).void }
2670
+ def rps=(value)
2671
+ end
2672
+
2673
+ # The number of requests per second that are allowed.
2674
+ # Must be non-negative and finite. A value of 0 denies all traffic from this caller.
2675
+ sig { void }
2676
+ def clear_rps
2677
+ end
2678
+
2679
+ sig { params(field: String).returns(T.untyped) }
2680
+ def [](field)
2681
+ end
2682
+
2683
+ sig { params(field: String, value: T.untyped).void }
2684
+ def []=(field, value)
2685
+ end
2686
+
2687
+ sig { returns(T::Hash[Symbol, T.untyped]) }
2688
+ def to_h
2689
+ end
2690
+
2691
+ sig { params(str: String).returns(Temporalio::Api::Cloud::Namespace::V1::NamespaceCallerRateLimit) }
2692
+ def self.decode(str)
2693
+ end
2694
+
2695
+ sig { params(msg: Temporalio::Api::Cloud::Namespace::V1::NamespaceCallerRateLimit).returns(String) }
2696
+ def self.encode(msg)
2697
+ end
2698
+
2699
+ sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Cloud::Namespace::V1::NamespaceCallerRateLimit) }
2700
+ def self.decode_json(str, **kw)
2701
+ end
2702
+
2703
+ sig { params(msg: Temporalio::Api::Cloud::Namespace::V1::NamespaceCallerRateLimit, kw: T.untyped).returns(String) }
2704
+ def self.encode_json(msg, **kw)
2705
+ end
2706
+
2707
+ sig { returns(::Google::Protobuf::Descriptor) }
2708
+ def self.descriptor
2709
+ end
2710
+ end
2711
+
2712
+ # The default limit for calling namespaces.
2713
+ class Temporalio::Api::Cloud::Namespace::V1::NamespaceDefaultCallerRateLimit
2714
+ include ::Google::Protobuf::MessageExts
2715
+ extend ::Google::Protobuf::MessageExts::ClassMethods
2716
+
2717
+ sig do
2718
+ params(
2719
+ rps: T.nilable(Float)
2720
+ ).void
2721
+ end
2722
+ def initialize(
2723
+ rps: 0.0
2724
+ )
2725
+ end
2726
+
2727
+ # The number of requests per second that are allowed.
2728
+ # Must be non-negative and finite. A value of 0 denies all traffic.
2729
+ sig { returns(Float) }
2730
+ def rps
2731
+ end
2732
+
2733
+ # The number of requests per second that are allowed.
2734
+ # Must be non-negative and finite. A value of 0 denies all traffic.
2735
+ sig { params(value: Float).void }
2736
+ def rps=(value)
2737
+ end
2738
+
2739
+ # The number of requests per second that are allowed.
2740
+ # Must be non-negative and finite. A value of 0 denies all traffic.
2741
+ sig { void }
2742
+ def clear_rps
2743
+ end
2744
+
2745
+ sig { params(field: String).returns(T.untyped) }
2746
+ def [](field)
2747
+ end
2748
+
2749
+ sig { params(field: String, value: T.untyped).void }
2750
+ def []=(field, value)
2751
+ end
2752
+
2753
+ sig { returns(T::Hash[Symbol, T.untyped]) }
2754
+ def to_h
2755
+ end
2756
+
2757
+ sig { params(str: String).returns(Temporalio::Api::Cloud::Namespace::V1::NamespaceDefaultCallerRateLimit) }
2758
+ def self.decode(str)
2759
+ end
2760
+
2761
+ sig { params(msg: Temporalio::Api::Cloud::Namespace::V1::NamespaceDefaultCallerRateLimit).returns(String) }
2762
+ def self.encode(msg)
2763
+ end
2764
+
2765
+ sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Cloud::Namespace::V1::NamespaceDefaultCallerRateLimit) }
2766
+ def self.decode_json(str, **kw)
2767
+ end
2768
+
2769
+ sig { params(msg: Temporalio::Api::Cloud::Namespace::V1::NamespaceDefaultCallerRateLimit, kw: T.untyped).returns(String) }
2770
+ def self.encode_json(msg, **kw)
2771
+ end
2772
+
2773
+ sig { returns(::Google::Protobuf::Descriptor) }
2774
+ def self.descriptor
2775
+ end
2776
+ end
2777
+
2143
2778
  class Temporalio::Api::Cloud::Namespace::V1::NamespaceRegionStatus
2144
2779
  include ::Google::Protobuf::MessageExts
2145
2780
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -2263,14 +2898,18 @@ class Temporalio::Api::Cloud::Namespace::V1::ExportSinkSpec
2263
2898
  name: T.nilable(String),
2264
2899
  enabled: T.nilable(T::Boolean),
2265
2900
  s3: T.nilable(Temporalio::Api::Cloud::Sink::V1::S3Spec),
2266
- gcs: T.nilable(Temporalio::Api::Cloud::Sink::V1::GCSSpec)
2901
+ gcs: T.nilable(Temporalio::Api::Cloud::Sink::V1::GCSSpec),
2902
+ azure_blob: T.nilable(Temporalio::Api::Cloud::Sink::V1::AzureBlobSpec),
2903
+ filter: T.nilable(Temporalio::Api::Cloud::Namespace::V1::ExportSinkSpec::SinkFilter)
2267
2904
  ).void
2268
2905
  end
2269
2906
  def initialize(
2270
2907
  name: "",
2271
2908
  enabled: false,
2272
2909
  s3: nil,
2273
- gcs: nil
2910
+ gcs: nil,
2911
+ azure_blob: nil,
2912
+ filter: nil
2274
2913
  )
2275
2914
  end
2276
2915
 
@@ -2319,24 +2958,57 @@ class Temporalio::Api::Cloud::Namespace::V1::ExportSinkSpec
2319
2958
  def clear_s3
2320
2959
  end
2321
2960
 
2322
- # This is a feature under development. We will allow GCS sink support for GCP Namespaces.
2323
- # The GCS configuration details when destination_type is GCS.
2961
+ # The GCS configuration details when destination_type is GCS.
2324
2962
  sig { returns(T.nilable(Temporalio::Api::Cloud::Sink::V1::GCSSpec)) }
2325
2963
  def gcs
2326
2964
  end
2327
2965
 
2328
- # This is a feature under development. We will allow GCS sink support for GCP Namespaces.
2329
- # The GCS configuration details when destination_type is GCS.
2966
+ # The GCS configuration details when destination_type is GCS.
2330
2967
  sig { params(value: T.nilable(Temporalio::Api::Cloud::Sink::V1::GCSSpec)).void }
2331
2968
  def gcs=(value)
2332
2969
  end
2333
2970
 
2334
- # This is a feature under development. We will allow GCS sink support for GCP Namespaces.
2335
- # The GCS configuration details when destination_type is GCS.
2971
+ # The GCS configuration details when destination_type is GCS.
2336
2972
  sig { void }
2337
2973
  def clear_gcs
2338
2974
  end
2339
2975
 
2976
+ # The Azure Blob configuration details when destination_type is Azure Blob.
2977
+ # temporal:versioning:min_version=v0.19.1
2978
+ sig { returns(T.nilable(Temporalio::Api::Cloud::Sink::V1::AzureBlobSpec)) }
2979
+ def azure_blob
2980
+ end
2981
+
2982
+ # The Azure Blob configuration details when destination_type is Azure Blob.
2983
+ # temporal:versioning:min_version=v0.19.1
2984
+ sig { params(value: T.nilable(Temporalio::Api::Cloud::Sink::V1::AzureBlobSpec)).void }
2985
+ def azure_blob=(value)
2986
+ end
2987
+
2988
+ # The Azure Blob configuration details when destination_type is Azure Blob.
2989
+ # temporal:versioning:min_version=v0.19.1
2990
+ sig { void }
2991
+ def clear_azure_blob
2992
+ end
2993
+
2994
+ # The filter configuration for controlling which events are exported.
2995
+ # temporal:versioning:min_version=v0.25.0
2996
+ sig { returns(T.nilable(Temporalio::Api::Cloud::Namespace::V1::ExportSinkSpec::SinkFilter)) }
2997
+ def filter
2998
+ end
2999
+
3000
+ # The filter configuration for controlling which events are exported.
3001
+ # temporal:versioning:min_version=v0.25.0
3002
+ sig { params(value: T.nilable(Temporalio::Api::Cloud::Namespace::V1::ExportSinkSpec::SinkFilter)).void }
3003
+ def filter=(value)
3004
+ end
3005
+
3006
+ # The filter configuration for controlling which events are exported.
3007
+ # temporal:versioning:min_version=v0.25.0
3008
+ sig { void }
3009
+ def clear_filter
3010
+ end
3011
+
2340
3012
  sig { params(field: String).returns(T.untyped) }
2341
3013
  def [](field)
2342
3014
  end
@@ -2590,19 +3262,16 @@ class Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo
2590
3262
  end
2591
3263
 
2592
3264
  # Whether the namespace's APS limit was set by Temporal Support.
2593
- # When true, adjusting the namespace's capacity will reset this limit.
2594
3265
  sig { returns(T::Boolean) }
2595
3266
  def has_legacy_limits
2596
3267
  end
2597
3268
 
2598
3269
  # Whether the namespace's APS limit was set by Temporal Support.
2599
- # When true, adjusting the namespace's capacity will reset this limit.
2600
3270
  sig { params(value: T::Boolean).void }
2601
3271
  def has_legacy_limits=(value)
2602
3272
  end
2603
3273
 
2604
3274
  # Whether the namespace's APS limit was set by Temporal Support.
2605
- # When true, adjusting the namespace's capacity will reset this limit.
2606
3275
  sig { void }
2607
3276
  def clear_has_legacy_limits
2608
3277
  end
@@ -3175,6 +3844,68 @@ class Temporalio::Api::Cloud::Namespace::V1::Capacity::Request
3175
3844
  end
3176
3845
  end
3177
3846
 
3847
+ class Temporalio::Api::Cloud::Namespace::V1::ExportSinkSpec::SinkFilter
3848
+ include ::Google::Protobuf::MessageExts
3849
+ extend ::Google::Protobuf::MessageExts::ClassMethods
3850
+
3851
+ sig do
3852
+ params(
3853
+ disable_standalone_activity_export: T.nilable(T::Boolean)
3854
+ ).void
3855
+ end
3856
+ def initialize(
3857
+ disable_standalone_activity_export: false
3858
+ )
3859
+ end
3860
+
3861
+ # Whether to disable export of standalone activity events.
3862
+ sig { returns(T::Boolean) }
3863
+ def disable_standalone_activity_export
3864
+ end
3865
+
3866
+ # Whether to disable export of standalone activity events.
3867
+ sig { params(value: T::Boolean).void }
3868
+ def disable_standalone_activity_export=(value)
3869
+ end
3870
+
3871
+ # Whether to disable export of standalone activity events.
3872
+ sig { void }
3873
+ def clear_disable_standalone_activity_export
3874
+ end
3875
+
3876
+ sig { params(field: String).returns(T.untyped) }
3877
+ def [](field)
3878
+ end
3879
+
3880
+ sig { params(field: String, value: T.untyped).void }
3881
+ def []=(field, value)
3882
+ end
3883
+
3884
+ sig { returns(T::Hash[Symbol, T.untyped]) }
3885
+ def to_h
3886
+ end
3887
+
3888
+ sig { params(str: String).returns(Temporalio::Api::Cloud::Namespace::V1::ExportSinkSpec::SinkFilter) }
3889
+ def self.decode(str)
3890
+ end
3891
+
3892
+ sig { params(msg: Temporalio::Api::Cloud::Namespace::V1::ExportSinkSpec::SinkFilter).returns(String) }
3893
+ def self.encode(msg)
3894
+ end
3895
+
3896
+ sig { params(str: String, kw: T.untyped).returns(Temporalio::Api::Cloud::Namespace::V1::ExportSinkSpec::SinkFilter) }
3897
+ def self.decode_json(str, **kw)
3898
+ end
3899
+
3900
+ sig { params(msg: Temporalio::Api::Cloud::Namespace::V1::ExportSinkSpec::SinkFilter, kw: T.untyped).returns(String) }
3901
+ def self.encode_json(msg, **kw)
3902
+ end
3903
+
3904
+ sig { returns(::Google::Protobuf::Descriptor) }
3905
+ def self.descriptor
3906
+ end
3907
+ end
3908
+
3178
3909
  class Temporalio::Api::Cloud::Namespace::V1::NamespaceCapacityInfo::CapacityModeOptions
3179
3910
  include ::Google::Protobuf::MessageExts
3180
3911
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -3595,6 +4326,25 @@ module Temporalio::Api::Cloud::Namespace::V1::Capacity::Request::State
3595
4326
  end
3596
4327
  end
3597
4328
 
4329
+ module Temporalio::Api::Cloud::Namespace::V1::EncryptionValidationSpec::EncryptionValidationMode
4330
+ self::ENCRYPTION_VALIDATION_MODE_UNSPECIFIED = T.let(0, Integer)
4331
+ self::ENCRYPTION_VALIDATION_MODE_DISABLED = T.let(1, Integer)
4332
+ self::ENCRYPTION_VALIDATION_MODE_WARN = T.let(2, Integer)
4333
+ self::ENCRYPTION_VALIDATION_MODE_DENY = T.let(3, Integer)
4334
+
4335
+ sig { params(value: Integer).returns(T.nilable(Symbol)) }
4336
+ def self.lookup(value)
4337
+ end
4338
+
4339
+ sig { params(value: Symbol).returns(T.nilable(Integer)) }
4340
+ def self.resolve(value)
4341
+ end
4342
+
4343
+ sig { returns(::Google::Protobuf::EnumDescriptor) }
4344
+ def self.descriptor
4345
+ end
4346
+ end
4347
+
3598
4348
  module Temporalio::Api::Cloud::Namespace::V1::NamespaceSpec::SearchAttributeType
3599
4349
  self::SEARCH_ATTRIBUTE_TYPE_UNSPECIFIED = T.let(0, Integer)
3600
4350
  self::SEARCH_ATTRIBUTE_TYPE_TEXT = T.let(1, Integer)