cadence-python-client 0.1.0__py3-none-any.whl
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.
- cadence/__init__.py +18 -0
- cadence/_internal/__init__.py +8 -0
- cadence/_internal/activity/__init__.py +5 -0
- cadence/_internal/activity/_activity_executor.py +113 -0
- cadence/_internal/activity/_context.py +58 -0
- cadence/_internal/rpc/__init__.py +0 -0
- cadence/_internal/rpc/error.py +148 -0
- cadence/_internal/rpc/retry.py +104 -0
- cadence/_internal/rpc/yarpc.py +42 -0
- cadence/_internal/workflow/__init__.py +0 -0
- cadence/_internal/workflow/context.py +121 -0
- cadence/_internal/workflow/decision_events_iterator.py +161 -0
- cadence/_internal/workflow/decisions_helper.py +312 -0
- cadence/_internal/workflow/deterministic_event_loop.py +498 -0
- cadence/_internal/workflow/history_event_iterator.py +58 -0
- cadence/_internal/workflow/statemachine/__init__.py +0 -0
- cadence/_internal/workflow/statemachine/activity_state_machine.py +106 -0
- cadence/_internal/workflow/statemachine/decision_manager.py +157 -0
- cadence/_internal/workflow/statemachine/decision_state_machine.py +87 -0
- cadence/_internal/workflow/statemachine/event_dispatcher.py +76 -0
- cadence/_internal/workflow/statemachine/timer_state_machine.py +73 -0
- cadence/_internal/workflow/workflow_engine.py +245 -0
- cadence/_internal/workflow/workflow_intance.py +44 -0
- cadence/activity.py +255 -0
- cadence/api/v1/__init__.py +92 -0
- cadence/api/v1/common_pb2.py +90 -0
- cadence/api/v1/common_pb2.pyi +200 -0
- cadence/api/v1/common_pb2_grpc.py +24 -0
- cadence/api/v1/decision_pb2.py +67 -0
- cadence/api/v1/decision_pb2.pyi +225 -0
- cadence/api/v1/decision_pb2_grpc.py +24 -0
- cadence/api/v1/domain_pb2.py +68 -0
- cadence/api/v1/domain_pb2.pyi +145 -0
- cadence/api/v1/domain_pb2_grpc.py +24 -0
- cadence/api/v1/error_pb2.py +59 -0
- cadence/api/v1/error_pb2.pyi +82 -0
- cadence/api/v1/error_pb2_grpc.py +24 -0
- cadence/api/v1/history_pb2.py +134 -0
- cadence/api/v1/history_pb2.pyi +780 -0
- cadence/api/v1/history_pb2_grpc.py +24 -0
- cadence/api/v1/query_pb2.py +49 -0
- cadence/api/v1/query_pb2.pyi +59 -0
- cadence/api/v1/query_pb2_grpc.py +24 -0
- cadence/api/v1/service_domain_pb2.py +76 -0
- cadence/api/v1/service_domain_pb2.pyi +164 -0
- cadence/api/v1/service_domain_pb2_grpc.py +327 -0
- cadence/api/v1/service_meta_pb2.py +41 -0
- cadence/api/v1/service_meta_pb2.pyi +17 -0
- cadence/api/v1/service_meta_pb2_grpc.py +97 -0
- cadence/api/v1/service_visibility_pb2.py +71 -0
- cadence/api/v1/service_visibility_pb2.pyi +149 -0
- cadence/api/v1/service_visibility_pb2_grpc.py +362 -0
- cadence/api/v1/service_worker_pb2.py +116 -0
- cadence/api/v1/service_worker_pb2.pyi +350 -0
- cadence/api/v1/service_worker_pb2_grpc.py +743 -0
- cadence/api/v1/service_workflow_pb2.py +126 -0
- cadence/api/v1/service_workflow_pb2.pyi +395 -0
- cadence/api/v1/service_workflow_pb2_grpc.py +861 -0
- cadence/api/v1/tasklist_pb2.py +78 -0
- cadence/api/v1/tasklist_pb2.pyi +147 -0
- cadence/api/v1/tasklist_pb2_grpc.py +24 -0
- cadence/api/v1/visibility_pb2.py +47 -0
- cadence/api/v1/visibility_pb2.pyi +53 -0
- cadence/api/v1/visibility_pb2_grpc.py +24 -0
- cadence/api/v1/workflow_pb2.py +89 -0
- cadence/api/v1/workflow_pb2.pyi +365 -0
- cadence/api/v1/workflow_pb2_grpc.py +24 -0
- cadence/client.py +382 -0
- cadence/data_converter.py +78 -0
- cadence/error.py +111 -0
- cadence/metrics/__init__.py +12 -0
- cadence/metrics/constants.py +136 -0
- cadence/metrics/metrics.py +56 -0
- cadence/metrics/prometheus.py +165 -0
- cadence/sample/__init__.py +1 -0
- cadence/sample/client_example.py +15 -0
- cadence/sample/grpc_usage_example.py +230 -0
- cadence/sample/simple_usage_example.py +155 -0
- cadence/signal.py +174 -0
- cadence/worker/__init__.py +13 -0
- cadence/worker/_activity.py +60 -0
- cadence/worker/_base_task_handler.py +71 -0
- cadence/worker/_decision.py +62 -0
- cadence/worker/_decision_task_handler.py +285 -0
- cadence/worker/_poller.py +64 -0
- cadence/worker/_registry.py +245 -0
- cadence/worker/_types.py +26 -0
- cadence/worker/_worker.py +56 -0
- cadence/workflow.py +271 -0
- cadence_python_client-0.1.0.dist-info/METADATA +180 -0
- cadence_python_client-0.1.0.dist-info/RECORD +95 -0
- cadence_python_client-0.1.0.dist-info/WHEEL +5 -0
- cadence_python_client-0.1.0.dist-info/licenses/LICENSE +201 -0
- cadence_python_client-0.1.0.dist-info/licenses/NOTICE +19 -0
- cadence_python_client-0.1.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
|
2
|
+
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
|
+
import grpc
|
|
4
|
+
import warnings
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
GRPC_GENERATED_VERSION = '1.71.2'
|
|
8
|
+
GRPC_VERSION = grpc.__version__
|
|
9
|
+
_version_not_supported = False
|
|
10
|
+
|
|
11
|
+
try:
|
|
12
|
+
from grpc._utilities import first_version_is_lower
|
|
13
|
+
_version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
|
|
14
|
+
except ImportError:
|
|
15
|
+
_version_not_supported = True
|
|
16
|
+
|
|
17
|
+
if _version_not_supported:
|
|
18
|
+
raise RuntimeError(
|
|
19
|
+
f'The grpc package installed is at version {GRPC_VERSION},'
|
|
20
|
+
+ f' but the generated code in cadence/api/v1/history_pb2_grpc.py depends on'
|
|
21
|
+
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
|
|
22
|
+
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
|
|
23
|
+
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
|
|
24
|
+
)
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: cadence/api/v1/query.proto
|
|
5
|
+
# Protobuf Python Version: 5.29.0
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
+
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
5,
|
|
15
|
+
29,
|
|
16
|
+
0,
|
|
17
|
+
'',
|
|
18
|
+
'cadence/api/v1/query.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from cadence.api.v1 import common_pb2 as cadence_dot_api_dot_v1_dot_common__pb2
|
|
26
|
+
from cadence.api.v1 import workflow_pb2 as cadence_dot_api_dot_v1_dot_workflow__pb2
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1a\x63\x61\x64\x65nce/api/v1/query.proto\x12\x13uber.cadence.api.v1\x1a\x1b\x63\x61\x64\x65nce/api/v1/common.proto\x1a\x1d\x63\x61\x64\x65nce/api/v1/workflow.proto\"U\n\rWorkflowQuery\x12\x12\n\nquery_type\x18\x01 \x01(\t\x12\x30\n\nquery_args\x18\x02 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Payload\"\x95\x01\n\x13WorkflowQueryResult\x12\x39\n\x0bresult_type\x18\x01 \x01(\x0e\x32$.uber.cadence.api.v1.QueryResultType\x12,\n\x06\x61nswer\x18\x02 \x01(\x0b\x32\x1c.uber.cadence.api.v1.Payload\x12\x15\n\rerror_message\x18\x03 \x01(\t\"X\n\rQueryRejected\x12G\n\x0c\x63lose_status\x18\x01 \x01(\x0e\x32\x31.uber.cadence.api.v1.WorkflowExecutionCloseStatus*n\n\x0fQueryResultType\x12\x1d\n\x19QUERY_RESULT_TYPE_INVALID\x10\x00\x12\x1e\n\x1aQUERY_RESULT_TYPE_ANSWERED\x10\x01\x12\x1c\n\x18QUERY_RESULT_TYPE_FAILED\x10\x02*\x91\x01\n\x14QueryRejectCondition\x12\"\n\x1eQUERY_REJECT_CONDITION_INVALID\x10\x00\x12#\n\x1fQUERY_REJECT_CONDITION_NOT_OPEN\x10\x01\x12\x30\n,QUERY_REJECT_CONDITION_NOT_COMPLETED_CLEANLY\x10\x02*\x86\x01\n\x15QueryConsistencyLevel\x12#\n\x1fQUERY_CONSISTENCY_LEVEL_INVALID\x10\x00\x12$\n QUERY_CONSISTENCY_LEVEL_EVENTUAL\x10\x01\x12\"\n\x1eQUERY_CONSISTENCY_LEVEL_STRONG\x10\x02\x42Z\n\x17\x63om.uber.cadence.api.v1B\nQueryProtoP\x01Z1github.com/uber/cadence-idl/go/proto/api/v1;apiv1b\x06proto3')
|
|
30
|
+
|
|
31
|
+
_globals = globals()
|
|
32
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
33
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cadence.api.v1.query_pb2', _globals)
|
|
34
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
35
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
36
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\027com.uber.cadence.api.v1B\nQueryProtoP\001Z1github.com/uber/cadence-idl/go/proto/api/v1;apiv1'
|
|
37
|
+
_globals['_QUERYRESULTTYPE']._serialized_start=440
|
|
38
|
+
_globals['_QUERYRESULTTYPE']._serialized_end=550
|
|
39
|
+
_globals['_QUERYREJECTCONDITION']._serialized_start=553
|
|
40
|
+
_globals['_QUERYREJECTCONDITION']._serialized_end=698
|
|
41
|
+
_globals['_QUERYCONSISTENCYLEVEL']._serialized_start=701
|
|
42
|
+
_globals['_QUERYCONSISTENCYLEVEL']._serialized_end=835
|
|
43
|
+
_globals['_WORKFLOWQUERY']._serialized_start=111
|
|
44
|
+
_globals['_WORKFLOWQUERY']._serialized_end=196
|
|
45
|
+
_globals['_WORKFLOWQUERYRESULT']._serialized_start=199
|
|
46
|
+
_globals['_WORKFLOWQUERYRESULT']._serialized_end=348
|
|
47
|
+
_globals['_QUERYREJECTED']._serialized_start=350
|
|
48
|
+
_globals['_QUERYREJECTED']._serialized_end=438
|
|
49
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
from cadence.api.v1 import common_pb2 as _common_pb2
|
|
2
|
+
from cadence.api.v1 import workflow_pb2 as _workflow_pb2
|
|
3
|
+
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
|
4
|
+
from google.protobuf import descriptor as _descriptor
|
|
5
|
+
from google.protobuf import message as _message
|
|
6
|
+
from typing import ClassVar as _ClassVar, Mapping as _Mapping, Optional as _Optional, Union as _Union
|
|
7
|
+
|
|
8
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
9
|
+
|
|
10
|
+
class QueryResultType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
11
|
+
__slots__ = ()
|
|
12
|
+
QUERY_RESULT_TYPE_INVALID: _ClassVar[QueryResultType]
|
|
13
|
+
QUERY_RESULT_TYPE_ANSWERED: _ClassVar[QueryResultType]
|
|
14
|
+
QUERY_RESULT_TYPE_FAILED: _ClassVar[QueryResultType]
|
|
15
|
+
|
|
16
|
+
class QueryRejectCondition(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
17
|
+
__slots__ = ()
|
|
18
|
+
QUERY_REJECT_CONDITION_INVALID: _ClassVar[QueryRejectCondition]
|
|
19
|
+
QUERY_REJECT_CONDITION_NOT_OPEN: _ClassVar[QueryRejectCondition]
|
|
20
|
+
QUERY_REJECT_CONDITION_NOT_COMPLETED_CLEANLY: _ClassVar[QueryRejectCondition]
|
|
21
|
+
|
|
22
|
+
class QueryConsistencyLevel(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
23
|
+
__slots__ = ()
|
|
24
|
+
QUERY_CONSISTENCY_LEVEL_INVALID: _ClassVar[QueryConsistencyLevel]
|
|
25
|
+
QUERY_CONSISTENCY_LEVEL_EVENTUAL: _ClassVar[QueryConsistencyLevel]
|
|
26
|
+
QUERY_CONSISTENCY_LEVEL_STRONG: _ClassVar[QueryConsistencyLevel]
|
|
27
|
+
QUERY_RESULT_TYPE_INVALID: QueryResultType
|
|
28
|
+
QUERY_RESULT_TYPE_ANSWERED: QueryResultType
|
|
29
|
+
QUERY_RESULT_TYPE_FAILED: QueryResultType
|
|
30
|
+
QUERY_REJECT_CONDITION_INVALID: QueryRejectCondition
|
|
31
|
+
QUERY_REJECT_CONDITION_NOT_OPEN: QueryRejectCondition
|
|
32
|
+
QUERY_REJECT_CONDITION_NOT_COMPLETED_CLEANLY: QueryRejectCondition
|
|
33
|
+
QUERY_CONSISTENCY_LEVEL_INVALID: QueryConsistencyLevel
|
|
34
|
+
QUERY_CONSISTENCY_LEVEL_EVENTUAL: QueryConsistencyLevel
|
|
35
|
+
QUERY_CONSISTENCY_LEVEL_STRONG: QueryConsistencyLevel
|
|
36
|
+
|
|
37
|
+
class WorkflowQuery(_message.Message):
|
|
38
|
+
__slots__ = ("query_type", "query_args")
|
|
39
|
+
QUERY_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
40
|
+
QUERY_ARGS_FIELD_NUMBER: _ClassVar[int]
|
|
41
|
+
query_type: str
|
|
42
|
+
query_args: _common_pb2.Payload
|
|
43
|
+
def __init__(self, query_type: _Optional[str] = ..., query_args: _Optional[_Union[_common_pb2.Payload, _Mapping]] = ...) -> None: ...
|
|
44
|
+
|
|
45
|
+
class WorkflowQueryResult(_message.Message):
|
|
46
|
+
__slots__ = ("result_type", "answer", "error_message")
|
|
47
|
+
RESULT_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
48
|
+
ANSWER_FIELD_NUMBER: _ClassVar[int]
|
|
49
|
+
ERROR_MESSAGE_FIELD_NUMBER: _ClassVar[int]
|
|
50
|
+
result_type: QueryResultType
|
|
51
|
+
answer: _common_pb2.Payload
|
|
52
|
+
error_message: str
|
|
53
|
+
def __init__(self, result_type: _Optional[_Union[QueryResultType, str]] = ..., answer: _Optional[_Union[_common_pb2.Payload, _Mapping]] = ..., error_message: _Optional[str] = ...) -> None: ...
|
|
54
|
+
|
|
55
|
+
class QueryRejected(_message.Message):
|
|
56
|
+
__slots__ = ("close_status",)
|
|
57
|
+
CLOSE_STATUS_FIELD_NUMBER: _ClassVar[int]
|
|
58
|
+
close_status: _workflow_pb2.WorkflowExecutionCloseStatus
|
|
59
|
+
def __init__(self, close_status: _Optional[_Union[_workflow_pb2.WorkflowExecutionCloseStatus, str]] = ...) -> None: ...
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
|
2
|
+
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
|
+
import grpc
|
|
4
|
+
import warnings
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
GRPC_GENERATED_VERSION = '1.71.2'
|
|
8
|
+
GRPC_VERSION = grpc.__version__
|
|
9
|
+
_version_not_supported = False
|
|
10
|
+
|
|
11
|
+
try:
|
|
12
|
+
from grpc._utilities import first_version_is_lower
|
|
13
|
+
_version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
|
|
14
|
+
except ImportError:
|
|
15
|
+
_version_not_supported = True
|
|
16
|
+
|
|
17
|
+
if _version_not_supported:
|
|
18
|
+
raise RuntimeError(
|
|
19
|
+
f'The grpc package installed is at version {GRPC_VERSION},'
|
|
20
|
+
+ f' but the generated code in cadence/api/v1/query_pb2_grpc.py depends on'
|
|
21
|
+
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
|
|
22
|
+
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
|
|
23
|
+
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
|
|
24
|
+
)
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: cadence/api/v1/service_domain.proto
|
|
5
|
+
# Protobuf Python Version: 5.29.0
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
+
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
5,
|
|
15
|
+
29,
|
|
16
|
+
0,
|
|
17
|
+
'',
|
|
18
|
+
'cadence/api/v1/service_domain.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2
|
|
26
|
+
from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2
|
|
27
|
+
from cadence.api.v1 import domain_pb2 as cadence_dot_api_dot_v1_dot_domain__pb2
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#cadence/api/v1/service_domain.proto\x12\x13uber.cadence.api.v1\x1a\x1egoogle/protobuf/duration.proto\x1a google/protobuf/field_mask.proto\x1a\x1b\x63\x61\x64\x65nce/api/v1/domain.proto\"\x97\x06\n\x15RegisterDomainRequest\x12\x16\n\x0esecurity_token\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x13\n\x0bowner_email\x18\x04 \x01(\t\x12\x46\n#workflow_execution_retention_period\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x46\n\x08\x63lusters\x18\x06 \x03(\x0b\x32\x34.uber.cadence.api.v1.ClusterReplicationConfiguration\x12\x1b\n\x13\x61\x63tive_cluster_name\x18\x07 \x01(\t\x12\x42\n\x04\x64\x61ta\x18\x08 \x03(\x0b\x32\x34.uber.cadence.api.v1.RegisterDomainRequest.DataEntry\x12\x18\n\x10is_global_domain\x18\t \x01(\x08\x12\x44\n\x17history_archival_status\x18\n \x01(\x0e\x32#.uber.cadence.api.v1.ArchivalStatus\x12\x1c\n\x14history_archival_uri\x18\x0b \x01(\t\x12G\n\x1avisibility_archival_status\x18\x0c \x01(\x0e\x32#.uber.cadence.api.v1.ArchivalStatus\x12\x1f\n\x17visibility_archival_uri\x18\r \x01(\t\x12i\n\x19\x61\x63tive_clusters_by_region\x18\x0e \x03(\x0b\x32\x46.uber.cadence.api.v1.RegisterDomainRequest.ActiveClustersByRegionEntry\x1a+\n\tDataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a=\n\x1b\x41\x63tiveClustersByRegionEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x18\n\x16RegisterDomainResponse\"\xc6\x06\n\x13UpdateDomainRequest\x12\x16\n\x0esecurity_token\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12/\n\x0bupdate_mask\x18\n \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x13\n\x0b\x64\x65scription\x18\x0b \x01(\t\x12\x13\n\x0bowner_email\x18\x0c \x01(\t\x12@\n\x04\x64\x61ta\x18\r \x03(\x0b\x32\x32.uber.cadence.api.v1.UpdateDomainRequest.DataEntry\x12\x46\n#workflow_execution_retention_period\x18\x0e \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x36\n\x0c\x62\x61\x64_binaries\x18\x0f \x01(\x0b\x32 .uber.cadence.api.v1.BadBinaries\x12\x44\n\x17history_archival_status\x18\x10 \x01(\x0e\x32#.uber.cadence.api.v1.ArchivalStatus\x12\x1c\n\x14history_archival_uri\x18\x11 \x01(\t\x12G\n\x1avisibility_archival_status\x18\x12 \x01(\x0e\x32#.uber.cadence.api.v1.ArchivalStatus\x12\x1f\n\x17visibility_archival_uri\x18\x13 \x01(\t\x12\x1b\n\x13\x61\x63tive_cluster_name\x18\x14 \x01(\t\x12\x46\n\x08\x63lusters\x18\x15 \x03(\x0b\x32\x34.uber.cadence.api.v1.ClusterReplicationConfiguration\x12\x19\n\x11\x64\x65lete_bad_binary\x18\x16 \x01(\t\x12\x33\n\x10\x66\x61ilover_timeout\x18\x17 \x01(\x0b\x32\x19.google.protobuf.Duration\x12<\n\x0f\x61\x63tive_clusters\x18\x18 \x01(\x0b\x32#.uber.cadence.api.v1.ActiveClusters\x1a+\n\tDataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"C\n\x14UpdateDomainResponse\x12+\n\x06\x64omain\x18\x01 \x01(\x0b\x32\x1b.uber.cadence.api.v1.Domain\">\n\x16\x44\x65precateDomainRequest\x12\x16\n\x0esecurity_token\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\"\x19\n\x17\x44\x65precateDomainResponse\";\n\x13\x44\x65leteDomainRequest\x12\x16\n\x0esecurity_token\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\"\x16\n\x14\x44\x65leteDomainResponse\"D\n\x15\x44\x65scribeDomainRequest\x12\x0c\n\x02id\x18\x01 \x01(\tH\x00\x12\x0e\n\x04name\x18\x02 \x01(\tH\x00\x42\r\n\x0b\x64\x65scribe_by\"E\n\x16\x44\x65scribeDomainResponse\x12+\n\x06\x64omain\x18\x01 \x01(\x0b\x32\x1b.uber.cadence.api.v1.Domain\"@\n\x12ListDomainsRequest\x12\x11\n\tpage_size\x18\x01 \x01(\x05\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\"\\\n\x13ListDomainsResponse\x12,\n\x07\x64omains\x18\x01 \x03(\x0b\x32\x1b.uber.cadence.api.v1.Domain\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\x0c\x32\xfb\x04\n\tDomainAPI\x12i\n\x0eRegisterDomain\x12*.uber.cadence.api.v1.RegisterDomainRequest\x1a+.uber.cadence.api.v1.RegisterDomainResponse\x12i\n\x0e\x44\x65scribeDomain\x12*.uber.cadence.api.v1.DescribeDomainRequest\x1a+.uber.cadence.api.v1.DescribeDomainResponse\x12`\n\x0bListDomains\x12\'.uber.cadence.api.v1.ListDomainsRequest\x1a(.uber.cadence.api.v1.ListDomainsResponse\x12\x63\n\x0cUpdateDomain\x12(.uber.cadence.api.v1.UpdateDomainRequest\x1a).uber.cadence.api.v1.UpdateDomainResponse\x12l\n\x0f\x44\x65precateDomain\x12+.uber.cadence.api.v1.DeprecateDomainRequest\x1a,.uber.cadence.api.v1.DeprecateDomainResponse\x12\x63\n\x0c\x44\x65leteDomain\x12(.uber.cadence.api.v1.DeleteDomainRequest\x1a).uber.cadence.api.v1.DeleteDomainResponseBb\n\x17\x63om.uber.cadence.api.v1B\x12\x44omainServiceProtoP\x01Z1github.com/uber/cadence-idl/go/proto/api/v1;apiv1b\x06proto3')
|
|
31
|
+
|
|
32
|
+
_globals = globals()
|
|
33
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
34
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cadence.api.v1.service_domain_pb2', _globals)
|
|
35
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
36
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
37
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\027com.uber.cadence.api.v1B\022DomainServiceProtoP\001Z1github.com/uber/cadence-idl/go/proto/api/v1;apiv1'
|
|
38
|
+
_globals['_REGISTERDOMAINREQUEST_DATAENTRY']._loaded_options = None
|
|
39
|
+
_globals['_REGISTERDOMAINREQUEST_DATAENTRY']._serialized_options = b'8\001'
|
|
40
|
+
_globals['_REGISTERDOMAINREQUEST_ACTIVECLUSTERSBYREGIONENTRY']._loaded_options = None
|
|
41
|
+
_globals['_REGISTERDOMAINREQUEST_ACTIVECLUSTERSBYREGIONENTRY']._serialized_options = b'8\001'
|
|
42
|
+
_globals['_UPDATEDOMAINREQUEST_DATAENTRY']._loaded_options = None
|
|
43
|
+
_globals['_UPDATEDOMAINREQUEST_DATAENTRY']._serialized_options = b'8\001'
|
|
44
|
+
_globals['_REGISTERDOMAINREQUEST']._serialized_start=156
|
|
45
|
+
_globals['_REGISTERDOMAINREQUEST']._serialized_end=947
|
|
46
|
+
_globals['_REGISTERDOMAINREQUEST_DATAENTRY']._serialized_start=841
|
|
47
|
+
_globals['_REGISTERDOMAINREQUEST_DATAENTRY']._serialized_end=884
|
|
48
|
+
_globals['_REGISTERDOMAINREQUEST_ACTIVECLUSTERSBYREGIONENTRY']._serialized_start=886
|
|
49
|
+
_globals['_REGISTERDOMAINREQUEST_ACTIVECLUSTERSBYREGIONENTRY']._serialized_end=947
|
|
50
|
+
_globals['_REGISTERDOMAINRESPONSE']._serialized_start=949
|
|
51
|
+
_globals['_REGISTERDOMAINRESPONSE']._serialized_end=973
|
|
52
|
+
_globals['_UPDATEDOMAINREQUEST']._serialized_start=976
|
|
53
|
+
_globals['_UPDATEDOMAINREQUEST']._serialized_end=1814
|
|
54
|
+
_globals['_UPDATEDOMAINREQUEST_DATAENTRY']._serialized_start=841
|
|
55
|
+
_globals['_UPDATEDOMAINREQUEST_DATAENTRY']._serialized_end=884
|
|
56
|
+
_globals['_UPDATEDOMAINRESPONSE']._serialized_start=1816
|
|
57
|
+
_globals['_UPDATEDOMAINRESPONSE']._serialized_end=1883
|
|
58
|
+
_globals['_DEPRECATEDOMAINREQUEST']._serialized_start=1885
|
|
59
|
+
_globals['_DEPRECATEDOMAINREQUEST']._serialized_end=1947
|
|
60
|
+
_globals['_DEPRECATEDOMAINRESPONSE']._serialized_start=1949
|
|
61
|
+
_globals['_DEPRECATEDOMAINRESPONSE']._serialized_end=1974
|
|
62
|
+
_globals['_DELETEDOMAINREQUEST']._serialized_start=1976
|
|
63
|
+
_globals['_DELETEDOMAINREQUEST']._serialized_end=2035
|
|
64
|
+
_globals['_DELETEDOMAINRESPONSE']._serialized_start=2037
|
|
65
|
+
_globals['_DELETEDOMAINRESPONSE']._serialized_end=2059
|
|
66
|
+
_globals['_DESCRIBEDOMAINREQUEST']._serialized_start=2061
|
|
67
|
+
_globals['_DESCRIBEDOMAINREQUEST']._serialized_end=2129
|
|
68
|
+
_globals['_DESCRIBEDOMAINRESPONSE']._serialized_start=2131
|
|
69
|
+
_globals['_DESCRIBEDOMAINRESPONSE']._serialized_end=2200
|
|
70
|
+
_globals['_LISTDOMAINSREQUEST']._serialized_start=2202
|
|
71
|
+
_globals['_LISTDOMAINSREQUEST']._serialized_end=2266
|
|
72
|
+
_globals['_LISTDOMAINSRESPONSE']._serialized_start=2268
|
|
73
|
+
_globals['_LISTDOMAINSRESPONSE']._serialized_end=2360
|
|
74
|
+
_globals['_DOMAINAPI']._serialized_start=2363
|
|
75
|
+
_globals['_DOMAINAPI']._serialized_end=2998
|
|
76
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
from google.protobuf import duration_pb2 as _duration_pb2
|
|
2
|
+
from google.protobuf import field_mask_pb2 as _field_mask_pb2
|
|
3
|
+
from cadence.api.v1 import domain_pb2 as _domain_pb2
|
|
4
|
+
from google.protobuf.internal import containers as _containers
|
|
5
|
+
from google.protobuf import descriptor as _descriptor
|
|
6
|
+
from google.protobuf import message as _message
|
|
7
|
+
from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union
|
|
8
|
+
|
|
9
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
10
|
+
|
|
11
|
+
class RegisterDomainRequest(_message.Message):
|
|
12
|
+
__slots__ = ("security_token", "name", "description", "owner_email", "workflow_execution_retention_period", "clusters", "active_cluster_name", "data", "is_global_domain", "history_archival_status", "history_archival_uri", "visibility_archival_status", "visibility_archival_uri", "active_clusters_by_region")
|
|
13
|
+
class DataEntry(_message.Message):
|
|
14
|
+
__slots__ = ("key", "value")
|
|
15
|
+
KEY_FIELD_NUMBER: _ClassVar[int]
|
|
16
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
17
|
+
key: str
|
|
18
|
+
value: str
|
|
19
|
+
def __init__(self, key: _Optional[str] = ..., value: _Optional[str] = ...) -> None: ...
|
|
20
|
+
class ActiveClustersByRegionEntry(_message.Message):
|
|
21
|
+
__slots__ = ("key", "value")
|
|
22
|
+
KEY_FIELD_NUMBER: _ClassVar[int]
|
|
23
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
24
|
+
key: str
|
|
25
|
+
value: str
|
|
26
|
+
def __init__(self, key: _Optional[str] = ..., value: _Optional[str] = ...) -> None: ...
|
|
27
|
+
SECURITY_TOKEN_FIELD_NUMBER: _ClassVar[int]
|
|
28
|
+
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
29
|
+
DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
|
|
30
|
+
OWNER_EMAIL_FIELD_NUMBER: _ClassVar[int]
|
|
31
|
+
WORKFLOW_EXECUTION_RETENTION_PERIOD_FIELD_NUMBER: _ClassVar[int]
|
|
32
|
+
CLUSTERS_FIELD_NUMBER: _ClassVar[int]
|
|
33
|
+
ACTIVE_CLUSTER_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
34
|
+
DATA_FIELD_NUMBER: _ClassVar[int]
|
|
35
|
+
IS_GLOBAL_DOMAIN_FIELD_NUMBER: _ClassVar[int]
|
|
36
|
+
HISTORY_ARCHIVAL_STATUS_FIELD_NUMBER: _ClassVar[int]
|
|
37
|
+
HISTORY_ARCHIVAL_URI_FIELD_NUMBER: _ClassVar[int]
|
|
38
|
+
VISIBILITY_ARCHIVAL_STATUS_FIELD_NUMBER: _ClassVar[int]
|
|
39
|
+
VISIBILITY_ARCHIVAL_URI_FIELD_NUMBER: _ClassVar[int]
|
|
40
|
+
ACTIVE_CLUSTERS_BY_REGION_FIELD_NUMBER: _ClassVar[int]
|
|
41
|
+
security_token: str
|
|
42
|
+
name: str
|
|
43
|
+
description: str
|
|
44
|
+
owner_email: str
|
|
45
|
+
workflow_execution_retention_period: _duration_pb2.Duration
|
|
46
|
+
clusters: _containers.RepeatedCompositeFieldContainer[_domain_pb2.ClusterReplicationConfiguration]
|
|
47
|
+
active_cluster_name: str
|
|
48
|
+
data: _containers.ScalarMap[str, str]
|
|
49
|
+
is_global_domain: bool
|
|
50
|
+
history_archival_status: _domain_pb2.ArchivalStatus
|
|
51
|
+
history_archival_uri: str
|
|
52
|
+
visibility_archival_status: _domain_pb2.ArchivalStatus
|
|
53
|
+
visibility_archival_uri: str
|
|
54
|
+
active_clusters_by_region: _containers.ScalarMap[str, str]
|
|
55
|
+
def __init__(self, security_token: _Optional[str] = ..., name: _Optional[str] = ..., description: _Optional[str] = ..., owner_email: _Optional[str] = ..., workflow_execution_retention_period: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., clusters: _Optional[_Iterable[_Union[_domain_pb2.ClusterReplicationConfiguration, _Mapping]]] = ..., active_cluster_name: _Optional[str] = ..., data: _Optional[_Mapping[str, str]] = ..., is_global_domain: bool = ..., history_archival_status: _Optional[_Union[_domain_pb2.ArchivalStatus, str]] = ..., history_archival_uri: _Optional[str] = ..., visibility_archival_status: _Optional[_Union[_domain_pb2.ArchivalStatus, str]] = ..., visibility_archival_uri: _Optional[str] = ..., active_clusters_by_region: _Optional[_Mapping[str, str]] = ...) -> None: ...
|
|
56
|
+
|
|
57
|
+
class RegisterDomainResponse(_message.Message):
|
|
58
|
+
__slots__ = ()
|
|
59
|
+
def __init__(self) -> None: ...
|
|
60
|
+
|
|
61
|
+
class UpdateDomainRequest(_message.Message):
|
|
62
|
+
__slots__ = ("security_token", "name", "update_mask", "description", "owner_email", "data", "workflow_execution_retention_period", "bad_binaries", "history_archival_status", "history_archival_uri", "visibility_archival_status", "visibility_archival_uri", "active_cluster_name", "clusters", "delete_bad_binary", "failover_timeout", "active_clusters")
|
|
63
|
+
class DataEntry(_message.Message):
|
|
64
|
+
__slots__ = ("key", "value")
|
|
65
|
+
KEY_FIELD_NUMBER: _ClassVar[int]
|
|
66
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
67
|
+
key: str
|
|
68
|
+
value: str
|
|
69
|
+
def __init__(self, key: _Optional[str] = ..., value: _Optional[str] = ...) -> None: ...
|
|
70
|
+
SECURITY_TOKEN_FIELD_NUMBER: _ClassVar[int]
|
|
71
|
+
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
72
|
+
UPDATE_MASK_FIELD_NUMBER: _ClassVar[int]
|
|
73
|
+
DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
|
|
74
|
+
OWNER_EMAIL_FIELD_NUMBER: _ClassVar[int]
|
|
75
|
+
DATA_FIELD_NUMBER: _ClassVar[int]
|
|
76
|
+
WORKFLOW_EXECUTION_RETENTION_PERIOD_FIELD_NUMBER: _ClassVar[int]
|
|
77
|
+
BAD_BINARIES_FIELD_NUMBER: _ClassVar[int]
|
|
78
|
+
HISTORY_ARCHIVAL_STATUS_FIELD_NUMBER: _ClassVar[int]
|
|
79
|
+
HISTORY_ARCHIVAL_URI_FIELD_NUMBER: _ClassVar[int]
|
|
80
|
+
VISIBILITY_ARCHIVAL_STATUS_FIELD_NUMBER: _ClassVar[int]
|
|
81
|
+
VISIBILITY_ARCHIVAL_URI_FIELD_NUMBER: _ClassVar[int]
|
|
82
|
+
ACTIVE_CLUSTER_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
83
|
+
CLUSTERS_FIELD_NUMBER: _ClassVar[int]
|
|
84
|
+
DELETE_BAD_BINARY_FIELD_NUMBER: _ClassVar[int]
|
|
85
|
+
FAILOVER_TIMEOUT_FIELD_NUMBER: _ClassVar[int]
|
|
86
|
+
ACTIVE_CLUSTERS_FIELD_NUMBER: _ClassVar[int]
|
|
87
|
+
security_token: str
|
|
88
|
+
name: str
|
|
89
|
+
update_mask: _field_mask_pb2.FieldMask
|
|
90
|
+
description: str
|
|
91
|
+
owner_email: str
|
|
92
|
+
data: _containers.ScalarMap[str, str]
|
|
93
|
+
workflow_execution_retention_period: _duration_pb2.Duration
|
|
94
|
+
bad_binaries: _domain_pb2.BadBinaries
|
|
95
|
+
history_archival_status: _domain_pb2.ArchivalStatus
|
|
96
|
+
history_archival_uri: str
|
|
97
|
+
visibility_archival_status: _domain_pb2.ArchivalStatus
|
|
98
|
+
visibility_archival_uri: str
|
|
99
|
+
active_cluster_name: str
|
|
100
|
+
clusters: _containers.RepeatedCompositeFieldContainer[_domain_pb2.ClusterReplicationConfiguration]
|
|
101
|
+
delete_bad_binary: str
|
|
102
|
+
failover_timeout: _duration_pb2.Duration
|
|
103
|
+
active_clusters: _domain_pb2.ActiveClusters
|
|
104
|
+
def __init__(self, security_token: _Optional[str] = ..., name: _Optional[str] = ..., update_mask: _Optional[_Union[_field_mask_pb2.FieldMask, _Mapping]] = ..., description: _Optional[str] = ..., owner_email: _Optional[str] = ..., data: _Optional[_Mapping[str, str]] = ..., workflow_execution_retention_period: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., bad_binaries: _Optional[_Union[_domain_pb2.BadBinaries, _Mapping]] = ..., history_archival_status: _Optional[_Union[_domain_pb2.ArchivalStatus, str]] = ..., history_archival_uri: _Optional[str] = ..., visibility_archival_status: _Optional[_Union[_domain_pb2.ArchivalStatus, str]] = ..., visibility_archival_uri: _Optional[str] = ..., active_cluster_name: _Optional[str] = ..., clusters: _Optional[_Iterable[_Union[_domain_pb2.ClusterReplicationConfiguration, _Mapping]]] = ..., delete_bad_binary: _Optional[str] = ..., failover_timeout: _Optional[_Union[_duration_pb2.Duration, _Mapping]] = ..., active_clusters: _Optional[_Union[_domain_pb2.ActiveClusters, _Mapping]] = ...) -> None: ...
|
|
105
|
+
|
|
106
|
+
class UpdateDomainResponse(_message.Message):
|
|
107
|
+
__slots__ = ("domain",)
|
|
108
|
+
DOMAIN_FIELD_NUMBER: _ClassVar[int]
|
|
109
|
+
domain: _domain_pb2.Domain
|
|
110
|
+
def __init__(self, domain: _Optional[_Union[_domain_pb2.Domain, _Mapping]] = ...) -> None: ...
|
|
111
|
+
|
|
112
|
+
class DeprecateDomainRequest(_message.Message):
|
|
113
|
+
__slots__ = ("security_token", "name")
|
|
114
|
+
SECURITY_TOKEN_FIELD_NUMBER: _ClassVar[int]
|
|
115
|
+
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
116
|
+
security_token: str
|
|
117
|
+
name: str
|
|
118
|
+
def __init__(self, security_token: _Optional[str] = ..., name: _Optional[str] = ...) -> None: ...
|
|
119
|
+
|
|
120
|
+
class DeprecateDomainResponse(_message.Message):
|
|
121
|
+
__slots__ = ()
|
|
122
|
+
def __init__(self) -> None: ...
|
|
123
|
+
|
|
124
|
+
class DeleteDomainRequest(_message.Message):
|
|
125
|
+
__slots__ = ("security_token", "name")
|
|
126
|
+
SECURITY_TOKEN_FIELD_NUMBER: _ClassVar[int]
|
|
127
|
+
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
128
|
+
security_token: str
|
|
129
|
+
name: str
|
|
130
|
+
def __init__(self, security_token: _Optional[str] = ..., name: _Optional[str] = ...) -> None: ...
|
|
131
|
+
|
|
132
|
+
class DeleteDomainResponse(_message.Message):
|
|
133
|
+
__slots__ = ()
|
|
134
|
+
def __init__(self) -> None: ...
|
|
135
|
+
|
|
136
|
+
class DescribeDomainRequest(_message.Message):
|
|
137
|
+
__slots__ = ("id", "name")
|
|
138
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
139
|
+
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
140
|
+
id: str
|
|
141
|
+
name: str
|
|
142
|
+
def __init__(self, id: _Optional[str] = ..., name: _Optional[str] = ...) -> None: ...
|
|
143
|
+
|
|
144
|
+
class DescribeDomainResponse(_message.Message):
|
|
145
|
+
__slots__ = ("domain",)
|
|
146
|
+
DOMAIN_FIELD_NUMBER: _ClassVar[int]
|
|
147
|
+
domain: _domain_pb2.Domain
|
|
148
|
+
def __init__(self, domain: _Optional[_Union[_domain_pb2.Domain, _Mapping]] = ...) -> None: ...
|
|
149
|
+
|
|
150
|
+
class ListDomainsRequest(_message.Message):
|
|
151
|
+
__slots__ = ("page_size", "next_page_token")
|
|
152
|
+
PAGE_SIZE_FIELD_NUMBER: _ClassVar[int]
|
|
153
|
+
NEXT_PAGE_TOKEN_FIELD_NUMBER: _ClassVar[int]
|
|
154
|
+
page_size: int
|
|
155
|
+
next_page_token: bytes
|
|
156
|
+
def __init__(self, page_size: _Optional[int] = ..., next_page_token: _Optional[bytes] = ...) -> None: ...
|
|
157
|
+
|
|
158
|
+
class ListDomainsResponse(_message.Message):
|
|
159
|
+
__slots__ = ("domains", "next_page_token")
|
|
160
|
+
DOMAINS_FIELD_NUMBER: _ClassVar[int]
|
|
161
|
+
NEXT_PAGE_TOKEN_FIELD_NUMBER: _ClassVar[int]
|
|
162
|
+
domains: _containers.RepeatedCompositeFieldContainer[_domain_pb2.Domain]
|
|
163
|
+
next_page_token: bytes
|
|
164
|
+
def __init__(self, domains: _Optional[_Iterable[_Union[_domain_pb2.Domain, _Mapping]]] = ..., next_page_token: _Optional[bytes] = ...) -> None: ...
|