forked from temporalio/sdk-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmessage_pb2.py
More file actions
124 lines (110 loc) · 6.23 KB
/
Copy pathmessage_pb2.py
File metadata and controls
124 lines (110 loc) · 6.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: temporal/api/batch/v1/message.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
# @@protoc_insertion_point(imports)
_sym_db = _symbol_database.Default()
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
from temporalio.api.common.v1 import (
message_pb2 as temporal_dot_api_dot_common_dot_v1_dot_message__pb2,
)
from temporalio.api.enums.v1 import (
batch_operation_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_batch__operation__pb2,
)
from temporalio.api.enums.v1 import (
reset_pb2 as temporal_dot_api_dot_enums_dot_v1_dot_reset__pb2,
)
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
b'\n#temporal/api/batch/v1/message.proto\x12\x15temporal.api.batch.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a$temporal/api/common/v1/message.proto\x1a+temporal/api/enums/v1/batch_operation.proto\x1a!temporal/api/enums/v1/reset.proto"\xbf\x01\n\x12\x42\x61tchOperationInfo\x12\x0e\n\x06job_id\x18\x01 \x01(\t\x12\x39\n\x05state\x18\x02 \x01(\x0e\x32*.temporal.api.enums.v1.BatchOperationState\x12.\n\nstart_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nclose_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"`\n\x19\x42\x61tchOperationTermination\x12\x31\n\x07\x64\x65tails\x18\x01 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12\x10\n\x08identity\x18\x02 \x01(\t"\x99\x01\n\x14\x42\x61tchOperationSignal\x12\x0e\n\x06signal\x18\x01 \x01(\t\x12/\n\x05input\x18\x02 \x01(\x0b\x32 .temporal.api.common.v1.Payloads\x12.\n\x06header\x18\x03 \x01(\x0b\x32\x1e.temporal.api.common.v1.Header\x12\x10\n\x08identity\x18\x04 \x01(\t".\n\x1a\x42\x61tchOperationCancellation\x12\x10\n\x08identity\x18\x01 \x01(\t"*\n\x16\x42\x61tchOperationDeletion\x12\x10\n\x08identity\x18\x01 \x01(\t"\xd9\x01\n\x13\x42\x61tchOperationReset\x12\x10\n\x08identity\x18\x03 \x01(\t\x12\x35\n\x07options\x18\x04 \x01(\x0b\x32$.temporal.api.common.v1.ResetOptions\x12\x34\n\nreset_type\x18\x01 \x01(\x0e\x32 .temporal.api.enums.v1.ResetType\x12\x43\n\x12reset_reapply_type\x18\x02 \x01(\x0e\x32\'.temporal.api.enums.v1.ResetReapplyTypeB\x84\x01\n\x18io.temporal.api.batch.v1B\x0cMessageProtoP\x01Z!go.temporal.io/api/batch/v1;batch\xaa\x02\x17Temporalio.Api.Batch.V1\xea\x02\x1aTemporalio::Api::Batch::V1b\x06proto3'
)
_BATCHOPERATIONINFO = DESCRIPTOR.message_types_by_name["BatchOperationInfo"]
_BATCHOPERATIONTERMINATION = DESCRIPTOR.message_types_by_name[
"BatchOperationTermination"
]
_BATCHOPERATIONSIGNAL = DESCRIPTOR.message_types_by_name["BatchOperationSignal"]
_BATCHOPERATIONCANCELLATION = DESCRIPTOR.message_types_by_name[
"BatchOperationCancellation"
]
_BATCHOPERATIONDELETION = DESCRIPTOR.message_types_by_name["BatchOperationDeletion"]
_BATCHOPERATIONRESET = DESCRIPTOR.message_types_by_name["BatchOperationReset"]
BatchOperationInfo = _reflection.GeneratedProtocolMessageType(
"BatchOperationInfo",
(_message.Message,),
{
"DESCRIPTOR": _BATCHOPERATIONINFO,
"__module__": "temporal.api.batch.v1.message_pb2"
# @@protoc_insertion_point(class_scope:temporal.api.batch.v1.BatchOperationInfo)
},
)
_sym_db.RegisterMessage(BatchOperationInfo)
BatchOperationTermination = _reflection.GeneratedProtocolMessageType(
"BatchOperationTermination",
(_message.Message,),
{
"DESCRIPTOR": _BATCHOPERATIONTERMINATION,
"__module__": "temporal.api.batch.v1.message_pb2"
# @@protoc_insertion_point(class_scope:temporal.api.batch.v1.BatchOperationTermination)
},
)
_sym_db.RegisterMessage(BatchOperationTermination)
BatchOperationSignal = _reflection.GeneratedProtocolMessageType(
"BatchOperationSignal",
(_message.Message,),
{
"DESCRIPTOR": _BATCHOPERATIONSIGNAL,
"__module__": "temporal.api.batch.v1.message_pb2"
# @@protoc_insertion_point(class_scope:temporal.api.batch.v1.BatchOperationSignal)
},
)
_sym_db.RegisterMessage(BatchOperationSignal)
BatchOperationCancellation = _reflection.GeneratedProtocolMessageType(
"BatchOperationCancellation",
(_message.Message,),
{
"DESCRIPTOR": _BATCHOPERATIONCANCELLATION,
"__module__": "temporal.api.batch.v1.message_pb2"
# @@protoc_insertion_point(class_scope:temporal.api.batch.v1.BatchOperationCancellation)
},
)
_sym_db.RegisterMessage(BatchOperationCancellation)
BatchOperationDeletion = _reflection.GeneratedProtocolMessageType(
"BatchOperationDeletion",
(_message.Message,),
{
"DESCRIPTOR": _BATCHOPERATIONDELETION,
"__module__": "temporal.api.batch.v1.message_pb2"
# @@protoc_insertion_point(class_scope:temporal.api.batch.v1.BatchOperationDeletion)
},
)
_sym_db.RegisterMessage(BatchOperationDeletion)
BatchOperationReset = _reflection.GeneratedProtocolMessageType(
"BatchOperationReset",
(_message.Message,),
{
"DESCRIPTOR": _BATCHOPERATIONRESET,
"__module__": "temporal.api.batch.v1.message_pb2"
# @@protoc_insertion_point(class_scope:temporal.api.batch.v1.BatchOperationReset)
},
)
_sym_db.RegisterMessage(BatchOperationReset)
if _descriptor._USE_C_DESCRIPTORS == False:
DESCRIPTOR._options = None
DESCRIPTOR._serialized_options = b"\n\030io.temporal.api.batch.v1B\014MessageProtoP\001Z!go.temporal.io/api/batch/v1;batch\252\002\027Temporalio.Api.Batch.V1\352\002\032Temporalio::Api::Batch::V1"
_BATCHOPERATIONINFO._serialized_start = 214
_BATCHOPERATIONINFO._serialized_end = 405
_BATCHOPERATIONTERMINATION._serialized_start = 407
_BATCHOPERATIONTERMINATION._serialized_end = 503
_BATCHOPERATIONSIGNAL._serialized_start = 506
_BATCHOPERATIONSIGNAL._serialized_end = 659
_BATCHOPERATIONCANCELLATION._serialized_start = 661
_BATCHOPERATIONCANCELLATION._serialized_end = 707
_BATCHOPERATIONDELETION._serialized_start = 709
_BATCHOPERATIONDELETION._serialized_end = 751
_BATCHOPERATIONRESET._serialized_start = 754
_BATCHOPERATIONRESET._serialized_end = 971
# @@protoc_insertion_point(module_scope)