forked from cadence-workflow/cadence-python-client
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathservice_domain_pb2.py
More file actions
76 lines (70 loc) · 8.37 KB
/
service_domain_pb2.py
File metadata and controls
76 lines (70 loc) · 8.37 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
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: cadence/api/v1/service_domain.proto
# Protobuf Python Version: 5.29.0
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import runtime_version as _runtime_version
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder
_runtime_version.ValidateProtobufRuntimeVersion(
_runtime_version.Domain.PUBLIC,
5,
29,
0,
'',
'cadence/api/v1/service_domain.proto'
)
# @@protoc_insertion_point(imports)
_sym_db = _symbol_database.Default()
from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2
from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2
from cadence.api.v1 import domain_pb2 as cadence_dot_api_dot_v1_dot_domain__pb2
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')
_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'cadence.api.v1.service_domain_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
_globals['DESCRIPTOR']._loaded_options = None
_globals['DESCRIPTOR']._serialized_options = b'\n\027com.uber.cadence.api.v1B\022DomainServiceProtoP\001Z1github.com/uber/cadence-idl/go/proto/api/v1;apiv1'
_globals['_REGISTERDOMAINREQUEST_DATAENTRY']._loaded_options = None
_globals['_REGISTERDOMAINREQUEST_DATAENTRY']._serialized_options = b'8\001'
_globals['_REGISTERDOMAINREQUEST_ACTIVECLUSTERSBYREGIONENTRY']._loaded_options = None
_globals['_REGISTERDOMAINREQUEST_ACTIVECLUSTERSBYREGIONENTRY']._serialized_options = b'8\001'
_globals['_UPDATEDOMAINREQUEST_DATAENTRY']._loaded_options = None
_globals['_UPDATEDOMAINREQUEST_DATAENTRY']._serialized_options = b'8\001'
_globals['_REGISTERDOMAINREQUEST']._serialized_start=156
_globals['_REGISTERDOMAINREQUEST']._serialized_end=947
_globals['_REGISTERDOMAINREQUEST_DATAENTRY']._serialized_start=841
_globals['_REGISTERDOMAINREQUEST_DATAENTRY']._serialized_end=884
_globals['_REGISTERDOMAINREQUEST_ACTIVECLUSTERSBYREGIONENTRY']._serialized_start=886
_globals['_REGISTERDOMAINREQUEST_ACTIVECLUSTERSBYREGIONENTRY']._serialized_end=947
_globals['_REGISTERDOMAINRESPONSE']._serialized_start=949
_globals['_REGISTERDOMAINRESPONSE']._serialized_end=973
_globals['_UPDATEDOMAINREQUEST']._serialized_start=976
_globals['_UPDATEDOMAINREQUEST']._serialized_end=1814
_globals['_UPDATEDOMAINREQUEST_DATAENTRY']._serialized_start=841
_globals['_UPDATEDOMAINREQUEST_DATAENTRY']._serialized_end=884
_globals['_UPDATEDOMAINRESPONSE']._serialized_start=1816
_globals['_UPDATEDOMAINRESPONSE']._serialized_end=1883
_globals['_DEPRECATEDOMAINREQUEST']._serialized_start=1885
_globals['_DEPRECATEDOMAINREQUEST']._serialized_end=1947
_globals['_DEPRECATEDOMAINRESPONSE']._serialized_start=1949
_globals['_DEPRECATEDOMAINRESPONSE']._serialized_end=1974
_globals['_DELETEDOMAINREQUEST']._serialized_start=1976
_globals['_DELETEDOMAINREQUEST']._serialized_end=2035
_globals['_DELETEDOMAINRESPONSE']._serialized_start=2037
_globals['_DELETEDOMAINRESPONSE']._serialized_end=2059
_globals['_DESCRIBEDOMAINREQUEST']._serialized_start=2061
_globals['_DESCRIBEDOMAINREQUEST']._serialized_end=2129
_globals['_DESCRIBEDOMAINRESPONSE']._serialized_start=2131
_globals['_DESCRIBEDOMAINRESPONSE']._serialized_end=2200
_globals['_LISTDOMAINSREQUEST']._serialized_start=2202
_globals['_LISTDOMAINSREQUEST']._serialized_end=2266
_globals['_LISTDOMAINSRESPONSE']._serialized_start=2268
_globals['_LISTDOMAINSRESPONSE']._serialized_end=2360
_globals['_DOMAINAPI']._serialized_start=2363
_globals['_DOMAINAPI']._serialized_end=2998
# @@protoc_insertion_point(module_scope)