dapr-dev 1.17.0.dev72__tar.gz → 1.17.0.dev74__tar.gz
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.
- {dapr_dev-1.17.0.dev72/dapr_dev.egg-info → dapr_dev-1.17.0.dev74}/PKG-INFO +1 -1
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/proto/common/v1/common_pb2.pyi +181 -181
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/proto/runtime/v1/actors_pb2.py +2 -2
- dapr_dev-1.17.0.dev74/dapr/proto/runtime/v1/actors_pb2.pyi +610 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/proto/runtime/v1/ai_pb2.py +2 -2
- dapr_dev-1.17.0.dev74/dapr/proto/runtime/v1/ai_pb2.pyi +1103 -0
- dapr_dev-1.17.0.dev74/dapr/proto/runtime/v1/appcallback_pb2.pyi +730 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/proto/runtime/v1/binding_pb2.py +2 -2
- dapr_dev-1.17.0.dev74/dapr/proto/runtime/v1/binding_pb2.pyi +130 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/proto/runtime/v1/configuration_pb2.py +2 -2
- dapr_dev-1.17.0.dev74/dapr/proto/runtime/v1/configuration_pb2.pyi +259 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/proto/runtime/v1/crypto_pb2.py +2 -2
- dapr_dev-1.17.0.dev74/dapr/proto/runtime/v1/crypto_pb2.pyi +645 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/proto/runtime/v1/dapr_pb2.pyi +10 -10
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/proto/runtime/v1/invoke_pb2.py +2 -2
- dapr_dev-1.17.0.dev74/dapr/proto/runtime/v1/invoke_pb2.pyi +56 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/proto/runtime/v1/jobs_pb2.py +2 -2
- dapr_dev-1.17.0.dev74/dapr/proto/runtime/v1/jobs_pb2.pyi +321 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/proto/runtime/v1/lock_pb2.py +2 -2
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/proto/runtime/v1/lock_pb2.pyi +57 -57
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/proto/runtime/v1/metadata_pb2.py +2 -2
- dapr_dev-1.17.0.dev74/dapr/proto/runtime/v1/metadata_pb2.pyi +488 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/proto/runtime/v1/pubsub_pb2.py +2 -2
- dapr_dev-1.17.0.dev74/dapr/proto/runtime/v1/pubsub_pb2.pyi +403 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/proto/runtime/v1/secret_pb2.py +2 -2
- dapr_dev-1.17.0.dev74/dapr/proto/runtime/v1/secret_pb2.pyi +237 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/proto/runtime/v1/state_pb2.py +2 -2
- dapr_dev-1.17.0.dev74/dapr/proto/runtime/v1/state_pb2.pyi +574 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/proto/runtime/v1/workflow_pb2.py +2 -2
- dapr_dev-1.17.0.dev74/dapr/proto/runtime/v1/workflow_pb2.pyi +314 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74/dapr_dev.egg-info}/PKG-INFO +1 -1
- dapr_dev-1.17.0.dev72/dapr/proto/runtime/v1/actors_pb2.pyi +0 -610
- dapr_dev-1.17.0.dev72/dapr/proto/runtime/v1/ai_pb2.pyi +0 -1103
- dapr_dev-1.17.0.dev72/dapr/proto/runtime/v1/appcallback_pb2.pyi +0 -730
- dapr_dev-1.17.0.dev72/dapr/proto/runtime/v1/binding_pb2.pyi +0 -130
- dapr_dev-1.17.0.dev72/dapr/proto/runtime/v1/configuration_pb2.pyi +0 -259
- dapr_dev-1.17.0.dev72/dapr/proto/runtime/v1/crypto_pb2.pyi +0 -645
- dapr_dev-1.17.0.dev72/dapr/proto/runtime/v1/invoke_pb2.pyi +0 -56
- dapr_dev-1.17.0.dev72/dapr/proto/runtime/v1/jobs_pb2.pyi +0 -321
- dapr_dev-1.17.0.dev72/dapr/proto/runtime/v1/metadata_pb2.pyi +0 -482
- dapr_dev-1.17.0.dev72/dapr/proto/runtime/v1/pubsub_pb2.pyi +0 -403
- dapr_dev-1.17.0.dev72/dapr/proto/runtime/v1/secret_pb2.pyi +0 -237
- dapr_dev-1.17.0.dev72/dapr/proto/runtime/v1/state_pb2.pyi +0 -574
- dapr_dev-1.17.0.dev72/dapr/proto/runtime/v1/workflow_pb2.pyi +0 -314
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/LICENSE +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/README.md +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/__init__.pyi +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/actor/__init__.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/actor/actor_interface.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/actor/client/__init__.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/actor/client/proxy.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/actor/id.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/actor/runtime/__init__.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/actor/runtime/_call_type.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/actor/runtime/_method_context.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/actor/runtime/_reminder_data.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/actor/runtime/_state_provider.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/actor/runtime/_timer_data.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/actor/runtime/_type_information.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/actor/runtime/_type_utils.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/actor/runtime/actor.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/actor/runtime/config.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/actor/runtime/context.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/actor/runtime/manager.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/actor/runtime/method_dispatcher.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/actor/runtime/mock_actor.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/actor/runtime/mock_state_manager.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/actor/runtime/reentrancy_context.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/actor/runtime/remindable.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/actor/runtime/runtime.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/actor/runtime/state_change.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/actor/runtime/state_manager.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/aio/clients/__init__.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/aio/clients/grpc/__init__.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/aio/clients/grpc/_request.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/aio/clients/grpc/_response.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/aio/clients/grpc/client.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/aio/clients/grpc/interceptors.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/aio/clients/grpc/subscription.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/aio/clients/health.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/clients/__init__.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/clients/_constants.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/clients/base.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/clients/exceptions.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/clients/grpc/__init__.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/clients/grpc/_conversation_helpers.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/clients/grpc/_crypto.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/clients/grpc/_helpers.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/clients/grpc/_jobs.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/clients/grpc/_request.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/clients/grpc/_response.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/clients/grpc/_state.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/clients/grpc/client.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/clients/grpc/conversation.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/clients/grpc/interceptors.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/clients/grpc/subscription.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/clients/health.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/clients/http/__init__.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/clients/http/client.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/clients/http/conf.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/clients/http/dapr_actor_http_client.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/clients/http/dapr_invocation_http_client.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/clients/http/helpers.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/clients/retry.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/common/pubsub/subscription.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/conf/__init__.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/conf/global_settings.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/conf/helpers.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/proto/__init__.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/proto/common/__init__.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/proto/common/v1/__init__.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/proto/common/v1/common_pb2.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/proto/common/v1/common_pb2_grpc.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/proto/runtime/__init__.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/proto/runtime/v1/__init__.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/proto/runtime/v1/actors_pb2_grpc.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/proto/runtime/v1/ai_pb2_grpc.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/proto/runtime/v1/appcallback_pb2.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/proto/runtime/v1/appcallback_pb2_grpc.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/proto/runtime/v1/binding_pb2_grpc.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/proto/runtime/v1/configuration_pb2_grpc.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/proto/runtime/v1/crypto_pb2_grpc.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/proto/runtime/v1/dapr_pb2.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/proto/runtime/v1/dapr_pb2_grpc.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/proto/runtime/v1/invoke_pb2_grpc.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/proto/runtime/v1/jobs_pb2_grpc.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/proto/runtime/v1/lock_pb2_grpc.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/proto/runtime/v1/metadata_pb2_grpc.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/proto/runtime/v1/pubsub_pb2_grpc.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/proto/runtime/v1/secret_pb2_grpc.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/proto/runtime/v1/state_pb2_grpc.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/proto/runtime/v1/workflow_pb2_grpc.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/py.typed +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/serializers/__init__.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/serializers/base.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/serializers/json.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/serializers/util.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/version/__init__.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr/version/version.py +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr_dev.egg-info/SOURCES.txt +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr_dev.egg-info/dependency_links.txt +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr_dev.egg-info/not-zip-safe +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr_dev.egg-info/requires.txt +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/dapr_dev.egg-info/top_level.txt +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/pyproject.toml +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/setup.cfg +0 -0
- {dapr_dev-1.17.0.dev72 → dapr_dev-1.17.0.dev74}/setup.py +0 -0
|
@@ -14,26 +14,26 @@ See the License for the specific language governing permissions and
|
|
|
14
14
|
limitations under the License.
|
|
15
15
|
"""
|
|
16
16
|
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
import
|
|
17
|
+
from collections import abc as _abc
|
|
18
|
+
from google.protobuf import any_pb2 as _any_pb2
|
|
19
|
+
from google.protobuf import descriptor as _descriptor
|
|
20
|
+
from google.protobuf import duration_pb2 as _duration_pb2
|
|
21
|
+
from google.protobuf import message as _message
|
|
22
|
+
from google.protobuf.internal import containers as _containers
|
|
23
|
+
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
|
24
|
+
import builtins as _builtins
|
|
25
25
|
import sys
|
|
26
|
-
import typing
|
|
26
|
+
import typing as _typing
|
|
27
27
|
|
|
28
28
|
if sys.version_info >= (3, 10):
|
|
29
|
-
|
|
29
|
+
from typing import TypeAlias as _TypeAlias
|
|
30
30
|
else:
|
|
31
|
-
import
|
|
31
|
+
from typing_extensions import TypeAlias as _TypeAlias
|
|
32
32
|
|
|
33
|
-
DESCRIPTOR:
|
|
33
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
34
34
|
|
|
35
|
-
@
|
|
36
|
-
class HTTPExtension(
|
|
35
|
+
@_typing.final
|
|
36
|
+
class HTTPExtension(_message.Message):
|
|
37
37
|
"""HTTPExtension includes HTTP verb and querystring
|
|
38
38
|
when Dapr runtime delivers HTTP content.
|
|
39
39
|
|
|
@@ -43,14 +43,14 @@ class HTTPExtension(google.protobuf.message.Message):
|
|
|
43
43
|
Dapr runtime will parse POST as a verb and extract querystring to quersytring map.
|
|
44
44
|
"""
|
|
45
45
|
|
|
46
|
-
DESCRIPTOR:
|
|
46
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
47
47
|
|
|
48
48
|
class _Verb:
|
|
49
|
-
ValueType =
|
|
50
|
-
V:
|
|
49
|
+
ValueType = _typing.NewType("ValueType", _builtins.int)
|
|
50
|
+
V: _TypeAlias = ValueType # noqa: Y015
|
|
51
51
|
|
|
52
|
-
class _VerbEnumTypeWrapper(
|
|
53
|
-
DESCRIPTOR:
|
|
52
|
+
class _VerbEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[HTTPExtension._Verb.ValueType], _builtins.type):
|
|
53
|
+
DESCRIPTOR: _descriptor.EnumDescriptor
|
|
54
54
|
NONE: HTTPExtension._Verb.ValueType # 0
|
|
55
55
|
GET: HTTPExtension._Verb.ValueType # 1
|
|
56
56
|
HEAD: HTTPExtension._Verb.ValueType # 2
|
|
@@ -79,51 +79,51 @@ class HTTPExtension(google.protobuf.message.Message):
|
|
|
79
79
|
TRACE: HTTPExtension.Verb.ValueType # 8
|
|
80
80
|
PATCH: HTTPExtension.Verb.ValueType # 9
|
|
81
81
|
|
|
82
|
-
VERB_FIELD_NUMBER:
|
|
83
|
-
QUERYSTRING_FIELD_NUMBER:
|
|
82
|
+
VERB_FIELD_NUMBER: _builtins.int
|
|
83
|
+
QUERYSTRING_FIELD_NUMBER: _builtins.int
|
|
84
84
|
verb: Global___HTTPExtension.Verb.ValueType
|
|
85
85
|
"""Required. HTTP verb."""
|
|
86
|
-
querystring:
|
|
86
|
+
querystring: _builtins.str
|
|
87
87
|
"""Optional. querystring represents an encoded HTTP url query string in the following format: name=value&name2=value2"""
|
|
88
88
|
def __init__(
|
|
89
89
|
self,
|
|
90
90
|
*,
|
|
91
91
|
verb: Global___HTTPExtension.Verb.ValueType = ...,
|
|
92
|
-
querystring:
|
|
92
|
+
querystring: _builtins.str = ...,
|
|
93
93
|
) -> None: ...
|
|
94
|
-
_ClearFieldArgType:
|
|
94
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["querystring", b"querystring", "verb", b"verb"] # noqa: Y015
|
|
95
95
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
96
96
|
|
|
97
|
-
Global___HTTPExtension:
|
|
97
|
+
Global___HTTPExtension: _TypeAlias = HTTPExtension # noqa: Y015
|
|
98
98
|
|
|
99
|
-
@
|
|
100
|
-
class InvokeRequest(
|
|
99
|
+
@_typing.final
|
|
100
|
+
class InvokeRequest(_message.Message):
|
|
101
101
|
"""InvokeRequest is the message to invoke a method with the data.
|
|
102
102
|
This message is used in InvokeService of Dapr gRPC Service and OnInvoke
|
|
103
103
|
of AppCallback gRPC service.
|
|
104
104
|
"""
|
|
105
105
|
|
|
106
|
-
DESCRIPTOR:
|
|
106
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
107
107
|
|
|
108
|
-
METHOD_FIELD_NUMBER:
|
|
109
|
-
DATA_FIELD_NUMBER:
|
|
110
|
-
CONTENT_TYPE_FIELD_NUMBER:
|
|
111
|
-
HTTP_EXTENSION_FIELD_NUMBER:
|
|
112
|
-
method:
|
|
108
|
+
METHOD_FIELD_NUMBER: _builtins.int
|
|
109
|
+
DATA_FIELD_NUMBER: _builtins.int
|
|
110
|
+
CONTENT_TYPE_FIELD_NUMBER: _builtins.int
|
|
111
|
+
HTTP_EXTENSION_FIELD_NUMBER: _builtins.int
|
|
112
|
+
method: _builtins.str
|
|
113
113
|
"""Required. method is a method name which will be invoked by caller."""
|
|
114
|
-
content_type:
|
|
114
|
+
content_type: _builtins.str
|
|
115
115
|
"""The type of data content.
|
|
116
116
|
|
|
117
117
|
This field is required if data delivers http request body
|
|
118
118
|
Otherwise, this is optional.
|
|
119
119
|
"""
|
|
120
|
-
@property
|
|
121
|
-
def data(self) ->
|
|
120
|
+
@_builtins.property
|
|
121
|
+
def data(self) -> _any_pb2.Any:
|
|
122
122
|
"""Required in unary RPCs. Bytes value or Protobuf message which caller sent.
|
|
123
123
|
Dapr treats Any.value as bytes type if Any.type_url is unset.
|
|
124
124
|
"""
|
|
125
125
|
|
|
126
|
-
@property
|
|
126
|
+
@_builtins.property
|
|
127
127
|
def http_extension(self) -> Global___HTTPExtension:
|
|
128
128
|
"""HTTP specific fields if request conveys http-compatible request.
|
|
129
129
|
|
|
@@ -134,171 +134,171 @@ class InvokeRequest(google.protobuf.message.Message):
|
|
|
134
134
|
def __init__(
|
|
135
135
|
self,
|
|
136
136
|
*,
|
|
137
|
-
method:
|
|
138
|
-
data:
|
|
139
|
-
content_type:
|
|
137
|
+
method: _builtins.str = ...,
|
|
138
|
+
data: _any_pb2.Any | None = ...,
|
|
139
|
+
content_type: _builtins.str = ...,
|
|
140
140
|
http_extension: Global___HTTPExtension | None = ...,
|
|
141
141
|
) -> None: ...
|
|
142
|
-
_HasFieldArgType:
|
|
143
|
-
def HasField(self, field_name: _HasFieldArgType) ->
|
|
144
|
-
_ClearFieldArgType:
|
|
142
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["data", b"data", "http_extension", b"http_extension"] # noqa: Y015
|
|
143
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
144
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["content_type", b"content_type", "data", b"data", "http_extension", b"http_extension", "method", b"method"] # noqa: Y015
|
|
145
145
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
146
146
|
|
|
147
|
-
Global___InvokeRequest:
|
|
147
|
+
Global___InvokeRequest: _TypeAlias = InvokeRequest # noqa: Y015
|
|
148
148
|
|
|
149
|
-
@
|
|
150
|
-
class InvokeResponse(
|
|
149
|
+
@_typing.final
|
|
150
|
+
class InvokeResponse(_message.Message):
|
|
151
151
|
"""InvokeResponse is the response message including data and its content type
|
|
152
152
|
from app callback.
|
|
153
153
|
This message is used in InvokeService of Dapr gRPC Service and OnInvoke
|
|
154
154
|
of AppCallback gRPC service.
|
|
155
155
|
"""
|
|
156
156
|
|
|
157
|
-
DESCRIPTOR:
|
|
157
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
158
158
|
|
|
159
|
-
DATA_FIELD_NUMBER:
|
|
160
|
-
CONTENT_TYPE_FIELD_NUMBER:
|
|
161
|
-
content_type:
|
|
159
|
+
DATA_FIELD_NUMBER: _builtins.int
|
|
160
|
+
CONTENT_TYPE_FIELD_NUMBER: _builtins.int
|
|
161
|
+
content_type: _builtins.str
|
|
162
162
|
"""Required. The type of data content."""
|
|
163
|
-
@property
|
|
164
|
-
def data(self) ->
|
|
163
|
+
@_builtins.property
|
|
164
|
+
def data(self) -> _any_pb2.Any:
|
|
165
165
|
"""Required in unary RPCs. The content body of InvokeService response."""
|
|
166
166
|
|
|
167
167
|
def __init__(
|
|
168
168
|
self,
|
|
169
169
|
*,
|
|
170
|
-
data:
|
|
171
|
-
content_type:
|
|
170
|
+
data: _any_pb2.Any | None = ...,
|
|
171
|
+
content_type: _builtins.str = ...,
|
|
172
172
|
) -> None: ...
|
|
173
|
-
_HasFieldArgType:
|
|
174
|
-
def HasField(self, field_name: _HasFieldArgType) ->
|
|
175
|
-
_ClearFieldArgType:
|
|
173
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["data", b"data"] # noqa: Y015
|
|
174
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
175
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["content_type", b"content_type", "data", b"data"] # noqa: Y015
|
|
176
176
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
177
177
|
|
|
178
|
-
Global___InvokeResponse:
|
|
178
|
+
Global___InvokeResponse: _TypeAlias = InvokeResponse # noqa: Y015
|
|
179
179
|
|
|
180
|
-
@
|
|
181
|
-
class StreamPayload(
|
|
180
|
+
@_typing.final
|
|
181
|
+
class StreamPayload(_message.Message):
|
|
182
182
|
"""Chunk of data sent in a streaming request or response.
|
|
183
183
|
This is used in requests including InternalInvokeRequestStream.
|
|
184
184
|
"""
|
|
185
185
|
|
|
186
|
-
DESCRIPTOR:
|
|
186
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
187
187
|
|
|
188
|
-
DATA_FIELD_NUMBER:
|
|
189
|
-
SEQ_FIELD_NUMBER:
|
|
190
|
-
data:
|
|
188
|
+
DATA_FIELD_NUMBER: _builtins.int
|
|
189
|
+
SEQ_FIELD_NUMBER: _builtins.int
|
|
190
|
+
data: _builtins.bytes
|
|
191
191
|
"""Data sent in the chunk.
|
|
192
192
|
The amount of data included in each chunk is up to the discretion of the sender, and can be empty.
|
|
193
193
|
Additionally, the amount of data doesn't need to be fixed and subsequent messages can send more, or less, data.
|
|
194
194
|
Receivers must not make assumptions about the number of bytes they'll receive in each chunk.
|
|
195
195
|
"""
|
|
196
|
-
seq:
|
|
196
|
+
seq: _builtins.int
|
|
197
197
|
"""Sequence number. This is a counter that starts from 0 and increments by 1 on each chunk sent."""
|
|
198
198
|
def __init__(
|
|
199
199
|
self,
|
|
200
200
|
*,
|
|
201
|
-
data:
|
|
202
|
-
seq:
|
|
201
|
+
data: _builtins.bytes = ...,
|
|
202
|
+
seq: _builtins.int = ...,
|
|
203
203
|
) -> None: ...
|
|
204
|
-
_ClearFieldArgType:
|
|
204
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["data", b"data", "seq", b"seq"] # noqa: Y015
|
|
205
205
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
206
206
|
|
|
207
|
-
Global___StreamPayload:
|
|
207
|
+
Global___StreamPayload: _TypeAlias = StreamPayload # noqa: Y015
|
|
208
208
|
|
|
209
|
-
@
|
|
210
|
-
class StateItem(
|
|
209
|
+
@_typing.final
|
|
210
|
+
class StateItem(_message.Message):
|
|
211
211
|
"""StateItem represents state key, value, and additional options to save state."""
|
|
212
212
|
|
|
213
|
-
DESCRIPTOR:
|
|
213
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
214
214
|
|
|
215
|
-
@
|
|
216
|
-
class MetadataEntry(
|
|
217
|
-
DESCRIPTOR:
|
|
215
|
+
@_typing.final
|
|
216
|
+
class MetadataEntry(_message.Message):
|
|
217
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
218
218
|
|
|
219
|
-
KEY_FIELD_NUMBER:
|
|
220
|
-
VALUE_FIELD_NUMBER:
|
|
221
|
-
key:
|
|
222
|
-
value:
|
|
219
|
+
KEY_FIELD_NUMBER: _builtins.int
|
|
220
|
+
VALUE_FIELD_NUMBER: _builtins.int
|
|
221
|
+
key: _builtins.str
|
|
222
|
+
value: _builtins.str
|
|
223
223
|
def __init__(
|
|
224
224
|
self,
|
|
225
225
|
*,
|
|
226
|
-
key:
|
|
227
|
-
value:
|
|
226
|
+
key: _builtins.str = ...,
|
|
227
|
+
value: _builtins.str = ...,
|
|
228
228
|
) -> None: ...
|
|
229
|
-
_ClearFieldArgType:
|
|
229
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015
|
|
230
230
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
231
231
|
|
|
232
|
-
KEY_FIELD_NUMBER:
|
|
233
|
-
VALUE_FIELD_NUMBER:
|
|
234
|
-
ETAG_FIELD_NUMBER:
|
|
235
|
-
METADATA_FIELD_NUMBER:
|
|
236
|
-
OPTIONS_FIELD_NUMBER:
|
|
237
|
-
key:
|
|
232
|
+
KEY_FIELD_NUMBER: _builtins.int
|
|
233
|
+
VALUE_FIELD_NUMBER: _builtins.int
|
|
234
|
+
ETAG_FIELD_NUMBER: _builtins.int
|
|
235
|
+
METADATA_FIELD_NUMBER: _builtins.int
|
|
236
|
+
OPTIONS_FIELD_NUMBER: _builtins.int
|
|
237
|
+
key: _builtins.str
|
|
238
238
|
"""Required. The state key"""
|
|
239
|
-
value:
|
|
239
|
+
value: _builtins.bytes
|
|
240
240
|
"""Required. The state data for key"""
|
|
241
|
-
@property
|
|
241
|
+
@_builtins.property
|
|
242
242
|
def etag(self) -> Global___Etag:
|
|
243
243
|
"""The entity tag which represents the specific version of data.
|
|
244
244
|
The exact ETag format is defined by the corresponding data store.
|
|
245
245
|
"""
|
|
246
246
|
|
|
247
|
-
@property
|
|
248
|
-
def metadata(self) ->
|
|
247
|
+
@_builtins.property
|
|
248
|
+
def metadata(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]:
|
|
249
249
|
"""The metadata which will be passed to state store component."""
|
|
250
250
|
|
|
251
|
-
@property
|
|
251
|
+
@_builtins.property
|
|
252
252
|
def options(self) -> Global___StateOptions:
|
|
253
253
|
"""Options for concurrency and consistency to save the state."""
|
|
254
254
|
|
|
255
255
|
def __init__(
|
|
256
256
|
self,
|
|
257
257
|
*,
|
|
258
|
-
key:
|
|
259
|
-
value:
|
|
258
|
+
key: _builtins.str = ...,
|
|
259
|
+
value: _builtins.bytes = ...,
|
|
260
260
|
etag: Global___Etag | None = ...,
|
|
261
|
-
metadata:
|
|
261
|
+
metadata: _abc.Mapping[_builtins.str, _builtins.str] | None = ...,
|
|
262
262
|
options: Global___StateOptions | None = ...,
|
|
263
263
|
) -> None: ...
|
|
264
|
-
_HasFieldArgType:
|
|
265
|
-
def HasField(self, field_name: _HasFieldArgType) ->
|
|
266
|
-
_ClearFieldArgType:
|
|
264
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["etag", b"etag", "options", b"options"] # noqa: Y015
|
|
265
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
266
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["etag", b"etag", "key", b"key", "metadata", b"metadata", "options", b"options", "value", b"value"] # noqa: Y015
|
|
267
267
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
268
268
|
|
|
269
|
-
Global___StateItem:
|
|
269
|
+
Global___StateItem: _TypeAlias = StateItem # noqa: Y015
|
|
270
270
|
|
|
271
|
-
@
|
|
272
|
-
class Etag(
|
|
271
|
+
@_typing.final
|
|
272
|
+
class Etag(_message.Message):
|
|
273
273
|
"""Etag represents a state item version"""
|
|
274
274
|
|
|
275
|
-
DESCRIPTOR:
|
|
275
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
276
276
|
|
|
277
|
-
VALUE_FIELD_NUMBER:
|
|
278
|
-
value:
|
|
277
|
+
VALUE_FIELD_NUMBER: _builtins.int
|
|
278
|
+
value: _builtins.str
|
|
279
279
|
"""value sets the etag value"""
|
|
280
280
|
def __init__(
|
|
281
281
|
self,
|
|
282
282
|
*,
|
|
283
|
-
value:
|
|
283
|
+
value: _builtins.str = ...,
|
|
284
284
|
) -> None: ...
|
|
285
|
-
_ClearFieldArgType:
|
|
285
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["value", b"value"] # noqa: Y015
|
|
286
286
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
287
287
|
|
|
288
|
-
Global___Etag:
|
|
288
|
+
Global___Etag: _TypeAlias = Etag # noqa: Y015
|
|
289
289
|
|
|
290
|
-
@
|
|
291
|
-
class StateOptions(
|
|
290
|
+
@_typing.final
|
|
291
|
+
class StateOptions(_message.Message):
|
|
292
292
|
"""StateOptions configures concurrency and consistency for state operations"""
|
|
293
293
|
|
|
294
|
-
DESCRIPTOR:
|
|
294
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
295
295
|
|
|
296
296
|
class _StateConcurrency:
|
|
297
|
-
ValueType =
|
|
298
|
-
V:
|
|
297
|
+
ValueType = _typing.NewType("ValueType", _builtins.int)
|
|
298
|
+
V: _TypeAlias = ValueType # noqa: Y015
|
|
299
299
|
|
|
300
|
-
class _StateConcurrencyEnumTypeWrapper(
|
|
301
|
-
DESCRIPTOR:
|
|
300
|
+
class _StateConcurrencyEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[StateOptions._StateConcurrency.ValueType], _builtins.type):
|
|
301
|
+
DESCRIPTOR: _descriptor.EnumDescriptor
|
|
302
302
|
CONCURRENCY_UNSPECIFIED: StateOptions._StateConcurrency.ValueType # 0
|
|
303
303
|
CONCURRENCY_FIRST_WRITE: StateOptions._StateConcurrency.ValueType # 1
|
|
304
304
|
CONCURRENCY_LAST_WRITE: StateOptions._StateConcurrency.ValueType # 2
|
|
@@ -311,11 +311,11 @@ class StateOptions(google.protobuf.message.Message):
|
|
|
311
311
|
CONCURRENCY_LAST_WRITE: StateOptions.StateConcurrency.ValueType # 2
|
|
312
312
|
|
|
313
313
|
class _StateConsistency:
|
|
314
|
-
ValueType =
|
|
315
|
-
V:
|
|
314
|
+
ValueType = _typing.NewType("ValueType", _builtins.int)
|
|
315
|
+
V: _TypeAlias = ValueType # noqa: Y015
|
|
316
316
|
|
|
317
|
-
class _StateConsistencyEnumTypeWrapper(
|
|
318
|
-
DESCRIPTOR:
|
|
317
|
+
class _StateConsistencyEnumTypeWrapper(_enum_type_wrapper._EnumTypeWrapper[StateOptions._StateConsistency.ValueType], _builtins.type):
|
|
318
|
+
DESCRIPTOR: _descriptor.EnumDescriptor
|
|
319
319
|
CONSISTENCY_UNSPECIFIED: StateOptions._StateConsistency.ValueType # 0
|
|
320
320
|
CONSISTENCY_EVENTUAL: StateOptions._StateConsistency.ValueType # 1
|
|
321
321
|
CONSISTENCY_STRONG: StateOptions._StateConsistency.ValueType # 2
|
|
@@ -327,8 +327,8 @@ class StateOptions(google.protobuf.message.Message):
|
|
|
327
327
|
CONSISTENCY_EVENTUAL: StateOptions.StateConsistency.ValueType # 1
|
|
328
328
|
CONSISTENCY_STRONG: StateOptions.StateConsistency.ValueType # 2
|
|
329
329
|
|
|
330
|
-
CONCURRENCY_FIELD_NUMBER:
|
|
331
|
-
CONSISTENCY_FIELD_NUMBER:
|
|
330
|
+
CONCURRENCY_FIELD_NUMBER: _builtins.int
|
|
331
|
+
CONSISTENCY_FIELD_NUMBER: _builtins.int
|
|
332
332
|
concurrency: Global___StateOptions.StateConcurrency.ValueType
|
|
333
333
|
consistency: Global___StateOptions.StateConsistency.ValueType
|
|
334
334
|
def __init__(
|
|
@@ -337,68 +337,68 @@ class StateOptions(google.protobuf.message.Message):
|
|
|
337
337
|
concurrency: Global___StateOptions.StateConcurrency.ValueType = ...,
|
|
338
338
|
consistency: Global___StateOptions.StateConsistency.ValueType = ...,
|
|
339
339
|
) -> None: ...
|
|
340
|
-
_ClearFieldArgType:
|
|
340
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["concurrency", b"concurrency", "consistency", b"consistency"] # noqa: Y015
|
|
341
341
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
342
342
|
|
|
343
|
-
Global___StateOptions:
|
|
343
|
+
Global___StateOptions: _TypeAlias = StateOptions # noqa: Y015
|
|
344
344
|
|
|
345
|
-
@
|
|
346
|
-
class ConfigurationItem(
|
|
345
|
+
@_typing.final
|
|
346
|
+
class ConfigurationItem(_message.Message):
|
|
347
347
|
"""ConfigurationItem represents all the configuration with its name(key)."""
|
|
348
348
|
|
|
349
|
-
DESCRIPTOR:
|
|
349
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
350
350
|
|
|
351
|
-
@
|
|
352
|
-
class MetadataEntry(
|
|
353
|
-
DESCRIPTOR:
|
|
351
|
+
@_typing.final
|
|
352
|
+
class MetadataEntry(_message.Message):
|
|
353
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
354
354
|
|
|
355
|
-
KEY_FIELD_NUMBER:
|
|
356
|
-
VALUE_FIELD_NUMBER:
|
|
357
|
-
key:
|
|
358
|
-
value:
|
|
355
|
+
KEY_FIELD_NUMBER: _builtins.int
|
|
356
|
+
VALUE_FIELD_NUMBER: _builtins.int
|
|
357
|
+
key: _builtins.str
|
|
358
|
+
value: _builtins.str
|
|
359
359
|
def __init__(
|
|
360
360
|
self,
|
|
361
361
|
*,
|
|
362
|
-
key:
|
|
363
|
-
value:
|
|
362
|
+
key: _builtins.str = ...,
|
|
363
|
+
value: _builtins.str = ...,
|
|
364
364
|
) -> None: ...
|
|
365
|
-
_ClearFieldArgType:
|
|
365
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015
|
|
366
366
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
367
367
|
|
|
368
|
-
VALUE_FIELD_NUMBER:
|
|
369
|
-
VERSION_FIELD_NUMBER:
|
|
370
|
-
METADATA_FIELD_NUMBER:
|
|
371
|
-
value:
|
|
368
|
+
VALUE_FIELD_NUMBER: _builtins.int
|
|
369
|
+
VERSION_FIELD_NUMBER: _builtins.int
|
|
370
|
+
METADATA_FIELD_NUMBER: _builtins.int
|
|
371
|
+
value: _builtins.str
|
|
372
372
|
"""Required. The value of configuration item."""
|
|
373
|
-
version:
|
|
373
|
+
version: _builtins.str
|
|
374
374
|
"""Version is response only and cannot be fetched. Store is not expected to keep all versions available"""
|
|
375
|
-
@property
|
|
376
|
-
def metadata(self) ->
|
|
375
|
+
@_builtins.property
|
|
376
|
+
def metadata(self) -> _containers.ScalarMap[_builtins.str, _builtins.str]:
|
|
377
377
|
"""the metadata which will be passed to/from configuration store component."""
|
|
378
378
|
|
|
379
379
|
def __init__(
|
|
380
380
|
self,
|
|
381
381
|
*,
|
|
382
|
-
value:
|
|
383
|
-
version:
|
|
384
|
-
metadata:
|
|
382
|
+
value: _builtins.str = ...,
|
|
383
|
+
version: _builtins.str = ...,
|
|
384
|
+
metadata: _abc.Mapping[_builtins.str, _builtins.str] | None = ...,
|
|
385
385
|
) -> None: ...
|
|
386
|
-
_ClearFieldArgType:
|
|
386
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["metadata", b"metadata", "value", b"value", "version", b"version"] # noqa: Y015
|
|
387
387
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
388
388
|
|
|
389
|
-
Global___ConfigurationItem:
|
|
389
|
+
Global___ConfigurationItem: _TypeAlias = ConfigurationItem # noqa: Y015
|
|
390
390
|
|
|
391
|
-
@
|
|
392
|
-
class JobFailurePolicy(
|
|
391
|
+
@_typing.final
|
|
392
|
+
class JobFailurePolicy(_message.Message):
|
|
393
393
|
"""JobFailurePolicy defines the policy to apply when a job fails to trigger."""
|
|
394
394
|
|
|
395
|
-
DESCRIPTOR:
|
|
395
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
396
396
|
|
|
397
|
-
DROP_FIELD_NUMBER:
|
|
398
|
-
CONSTANT_FIELD_NUMBER:
|
|
399
|
-
@property
|
|
397
|
+
DROP_FIELD_NUMBER: _builtins.int
|
|
398
|
+
CONSTANT_FIELD_NUMBER: _builtins.int
|
|
399
|
+
@_builtins.property
|
|
400
400
|
def drop(self) -> Global___JobFailurePolicyDrop: ...
|
|
401
|
-
@property
|
|
401
|
+
@_builtins.property
|
|
402
402
|
def constant(self) -> Global___JobFailurePolicyConstant: ...
|
|
403
403
|
def __init__(
|
|
404
404
|
self,
|
|
@@ -406,56 +406,56 @@ class JobFailurePolicy(google.protobuf.message.Message):
|
|
|
406
406
|
drop: Global___JobFailurePolicyDrop | None = ...,
|
|
407
407
|
constant: Global___JobFailurePolicyConstant | None = ...,
|
|
408
408
|
) -> None: ...
|
|
409
|
-
_HasFieldArgType:
|
|
410
|
-
def HasField(self, field_name: _HasFieldArgType) ->
|
|
411
|
-
_ClearFieldArgType:
|
|
409
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["constant", b"constant", "drop", b"drop", "policy", b"policy"] # noqa: Y015
|
|
410
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
411
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["constant", b"constant", "drop", b"drop", "policy", b"policy"] # noqa: Y015
|
|
412
412
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
413
|
-
_WhichOneofReturnType_policy:
|
|
414
|
-
_WhichOneofArgType_policy:
|
|
413
|
+
_WhichOneofReturnType_policy: _TypeAlias = _typing.Literal["drop", "constant"] # noqa: Y015
|
|
414
|
+
_WhichOneofArgType_policy: _TypeAlias = _typing.Literal["policy", b"policy"] # noqa: Y015
|
|
415
415
|
def WhichOneof(self, oneof_group: _WhichOneofArgType_policy) -> _WhichOneofReturnType_policy | None: ...
|
|
416
416
|
|
|
417
|
-
Global___JobFailurePolicy:
|
|
417
|
+
Global___JobFailurePolicy: _TypeAlias = JobFailurePolicy # noqa: Y015
|
|
418
418
|
|
|
419
|
-
@
|
|
420
|
-
class JobFailurePolicyDrop(
|
|
419
|
+
@_typing.final
|
|
420
|
+
class JobFailurePolicyDrop(_message.Message):
|
|
421
421
|
"""JobFailurePolicyDrop is a policy which drops the job tick when the job fails to trigger."""
|
|
422
422
|
|
|
423
|
-
DESCRIPTOR:
|
|
423
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
424
424
|
|
|
425
425
|
def __init__(
|
|
426
426
|
self,
|
|
427
427
|
) -> None: ...
|
|
428
428
|
|
|
429
|
-
Global___JobFailurePolicyDrop:
|
|
429
|
+
Global___JobFailurePolicyDrop: _TypeAlias = JobFailurePolicyDrop # noqa: Y015
|
|
430
430
|
|
|
431
|
-
@
|
|
432
|
-
class JobFailurePolicyConstant(
|
|
431
|
+
@_typing.final
|
|
432
|
+
class JobFailurePolicyConstant(_message.Message):
|
|
433
433
|
"""JobFailurePolicyConstant is a policy which retries the job at a consistent interval when the job fails to trigger."""
|
|
434
434
|
|
|
435
|
-
DESCRIPTOR:
|
|
435
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
436
436
|
|
|
437
|
-
INTERVAL_FIELD_NUMBER:
|
|
438
|
-
MAX_RETRIES_FIELD_NUMBER:
|
|
439
|
-
max_retries:
|
|
437
|
+
INTERVAL_FIELD_NUMBER: _builtins.int
|
|
438
|
+
MAX_RETRIES_FIELD_NUMBER: _builtins.int
|
|
439
|
+
max_retries: _builtins.int
|
|
440
440
|
"""max_retries is the optional maximum number of retries to attempt before giving up.
|
|
441
441
|
If unset, the Job will be retried indefinitely.
|
|
442
442
|
"""
|
|
443
|
-
@property
|
|
444
|
-
def interval(self) ->
|
|
443
|
+
@_builtins.property
|
|
444
|
+
def interval(self) -> _duration_pb2.Duration:
|
|
445
445
|
"""interval is the constant delay to wait before retrying the job."""
|
|
446
446
|
|
|
447
447
|
def __init__(
|
|
448
448
|
self,
|
|
449
449
|
*,
|
|
450
|
-
interval:
|
|
451
|
-
max_retries:
|
|
450
|
+
interval: _duration_pb2.Duration | None = ...,
|
|
451
|
+
max_retries: _builtins.int | None = ...,
|
|
452
452
|
) -> None: ...
|
|
453
|
-
_HasFieldArgType:
|
|
454
|
-
def HasField(self, field_name: _HasFieldArgType) ->
|
|
455
|
-
_ClearFieldArgType:
|
|
453
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["_max_retries", b"_max_retries", "interval", b"interval", "max_retries", b"max_retries"] # noqa: Y015
|
|
454
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
455
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["_max_retries", b"_max_retries", "interval", b"interval", "max_retries", b"max_retries"] # noqa: Y015
|
|
456
456
|
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
457
|
-
_WhichOneofReturnType__max_retries:
|
|
458
|
-
_WhichOneofArgType__max_retries:
|
|
457
|
+
_WhichOneofReturnType__max_retries: _TypeAlias = _typing.Literal["max_retries"] # noqa: Y015
|
|
458
|
+
_WhichOneofArgType__max_retries: _TypeAlias = _typing.Literal["_max_retries", b"_max_retries"] # noqa: Y015
|
|
459
459
|
def WhichOneof(self, oneof_group: _WhichOneofArgType__max_retries) -> _WhichOneofReturnType__max_retries | None: ...
|
|
460
460
|
|
|
461
|
-
Global___JobFailurePolicyConstant:
|
|
461
|
+
Global___JobFailurePolicyConstant: _TypeAlias = JobFailurePolicyConstant # noqa: Y015
|