perxis.spaces.spaces_pb2

Generated protocol buffer code.

 1# -*- coding: utf-8 -*-
 2# Generated by the protocol buffer compiler.  DO NOT EDIT!
 3# NO CHECKED-IN PROTOBUF GENCODE
 4# source: spaces/spaces.proto
 5# Protobuf Python Version: 5.27.2
 6"""Generated protocol buffer code."""
 7from google.protobuf import descriptor as _descriptor
 8from google.protobuf import descriptor_pool as _descriptor_pool
 9from google.protobuf import runtime_version as _runtime_version
10from google.protobuf import symbol_database as _symbol_database
11from google.protobuf.internal import builder as _builder
12_runtime_version.ValidateProtobufRuntimeVersion(
13    _runtime_version.Domain.PUBLIC,
14    5,
15    27,
16    2,
17    '',
18    'spaces/spaces.proto'
19)
20# @@protoc_insertion_point(imports)
21
22_sym_db = _symbol_database.Default()
23
24
25from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
26from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
27from perxis.common import common_pb2 as common_dot_common__pb2
28
29
30DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x13spaces/spaces.proto\x12\x0e\x63ontent.spaces\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x13\x63ommon/common.proto\"\xdc\x01\n\x05Space\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0e\n\x06org_id\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12$\n\x05state\x18\x05 \x01(\x0e\x32\x15.content.spaces.State\x12\x17\n\x0ftransfer_to_org\x18\x06 \x01(\t\x12&\n\x06\x63onfig\x18\n \x01(\x0b\x32\x16.content.spaces.Config\x12-\n\nstate_info\x18\x0b \x01(\x0b\x32\x19.content.spaces.StateInfo\"}\n\tStateInfo\x12$\n\x05state\x18\x01 \x01(\x0e\x32\x15.content.spaces.State\x12\x0c\n\x04info\x18\x02 \x01(\t\x12\x12\n\ndb_version\x18\x03 \x01(\x05\x12(\n\x04time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x1a\n\x06\x43onfig\x12\x10\n\x08\x66\x65\x61tures\x18\x01 \x03(\t\"5\n\rCreateRequest\x12$\n\x05space\x18\x01 \x01(\x0b\x32\x15.content.spaces.Space\"8\n\x0e\x43reateResponse\x12&\n\x07\x63reated\x18\x01 \x01(\x0b\x32\x15.content.spaces.Space\"\x1e\n\nGetRequest\x12\x10\n\x08space_id\x18\x01 \x01(\t\"3\n\x0bGetResponse\x12$\n\x05space\x18\x01 \x01(\x0b\x32\x15.content.spaces.Space\"\x1d\n\x0bListRequest\x12\x0e\n\x06org_id\x18\x01 \x01(\t\"5\n\x0cListResponse\x12%\n\x06spaces\x18\x01 \x03(\x0b\x32\x15.content.spaces.Space\"5\n\rUpdateRequest\x12$\n\x05space\x18\x01 \x01(\x0b\x32\x15.content.spaces.Space\"O\n\x13UpdateConfigRequest\x12\x10\n\x08space_id\x18\x01 \x01(\t\x12&\n\x06\x63onfig\x18\x02 \x01(\x0b\x32\x16.content.spaces.Config\"!\n\rDeleteRequest\x12\x10\n\x08space_id\x18\x01 \x01(\t\"<\n\x0fTransferRequest\x12\x10\n\x08space_id\x18\x01 \x01(\t\x12\x17\n\x0ftransfer_to_org\x18\x02 \x01(\t\"(\n\x14\x41\x62ortTransferRequest\x12\x10\n\x08space_id\x18\x01 \x01(\t\"&\n\x14ListTransfersRequest\x12\x0e\n\x06org_id\x18\x01 \x01(\t\">\n\x15ListTransfersResponse\x12%\n\x06spaces\x18\x01 \x03(\x0b\x32\x15.content.spaces.Space\"/\n\x0bMoveRequest\x12\x10\n\x08space_id\x18\x01 \x01(\t\x12\x0e\n\x06org_id\x18\x02 \x01(\t\"q\n\x06\x46ilter\x12\n\n\x02id\x18\x01 \x03(\t\x12\x0e\n\x06org_id\x18\x02 \x03(\t\x12\x0c\n\x04name\x18\x03 \x03(\t\x12$\n\x05state\x18\x04 \x03(\x0e\x32\x15.content.spaces.State\x12\x17\n\x0ftransfer_to_org\x18\x05 \x03(\t\"[\n\x0b\x46indRequest\x12&\n\x06\x66ilter\x18\x01 \x01(\x0b\x32\x16.content.spaces.Filter\x12$\n\x07options\x18\x02 \x01(\x0b\x32\x13.common.FindOptions\"D\n\x0c\x46indResponse\x12%\n\x06spaces\x18\x01 \x03(\x0b\x32\x15.content.spaces.Space\x12\r\n\x05total\x18\x02 \x01(\x05*p\n\x05State\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x07\n\x03NEW\x10\x01\x12\t\n\x05READY\x10\x02\x12\r\n\tPREPARING\x10\x03\x12\x0f\n\x0bMAINTENANCE\x10\x04\x12\r\n\tMIGRATION\x10\x05\x12\x0c\n\x08\x44\x45LETING\x10\x06\x12\t\n\x05\x45RROR\x10\x07\x32\xab\x06\n\x06Spaces\x12I\n\x06\x43reate\x12\x1d.content.spaces.CreateRequest\x1a\x1e.content.spaces.CreateResponse\"\x00\x12@\n\x03Get\x12\x1a.content.spaces.GetRequest\x1a\x1b.content.spaces.GetResponse\"\x00\x12\x43\n\x04List\x12\x1b.content.spaces.ListRequest\x1a\x1c.content.spaces.ListResponse\"\x00\x12\x43\n\x04\x46ind\x12\x1b.content.spaces.FindRequest\x1a\x1c.content.spaces.FindResponse\"\x00\x12\x41\n\x06Update\x12\x1d.content.spaces.UpdateRequest\x1a\x16.google.protobuf.Empty\"\x00\x12M\n\x0cUpdateConfig\x12#.content.spaces.UpdateConfigRequest\x1a\x16.google.protobuf.Empty\"\x00\x12\x41\n\x06\x44\x65lete\x12\x1d.content.spaces.DeleteRequest\x1a\x16.google.protobuf.Empty\"\x00\x12\x45\n\x08Transfer\x12\x1f.content.spaces.TransferRequest\x1a\x16.google.protobuf.Empty\"\x00\x12O\n\rAbortTransfer\x12$.content.spaces.AbortTransferRequest\x1a\x16.google.protobuf.Empty\"\x00\x12^\n\rListTransfers\x12$.content.spaces.ListTransfersRequest\x1a%.content.spaces.ListTransfersResponse\"\x00\x12=\n\x04Move\x12\x1b.content.spaces.MoveRequest\x1a\x16.google.protobuf.Empty\"\x00\x42\x32Z0git.perx.ru/perxis/perxis-go/proto/spaces;spacesb\x06proto3')
31
32_globals = globals()
33_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
34_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'spaces.spaces_pb2', _globals)
35if not _descriptor._USE_C_DESCRIPTORS:
36  _globals['DESCRIPTOR']._loaded_options = None
37  _globals['DESCRIPTOR']._serialized_options = b'Z0git.perx.ru/perxis/perxis-go/proto/spaces;spaces'
38  _globals['_STATE']._serialized_start=1490
39  _globals['_STATE']._serialized_end=1602
40  _globals['_SPACE']._serialized_start=123
41  _globals['_SPACE']._serialized_end=343
42  _globals['_STATEINFO']._serialized_start=345
43  _globals['_STATEINFO']._serialized_end=470
44  _globals['_CONFIG']._serialized_start=472
45  _globals['_CONFIG']._serialized_end=498
46  _globals['_CREATEREQUEST']._serialized_start=500
47  _globals['_CREATEREQUEST']._serialized_end=553
48  _globals['_CREATERESPONSE']._serialized_start=555
49  _globals['_CREATERESPONSE']._serialized_end=611
50  _globals['_GETREQUEST']._serialized_start=613
51  _globals['_GETREQUEST']._serialized_end=643
52  _globals['_GETRESPONSE']._serialized_start=645
53  _globals['_GETRESPONSE']._serialized_end=696
54  _globals['_LISTREQUEST']._serialized_start=698
55  _globals['_LISTREQUEST']._serialized_end=727
56  _globals['_LISTRESPONSE']._serialized_start=729
57  _globals['_LISTRESPONSE']._serialized_end=782
58  _globals['_UPDATEREQUEST']._serialized_start=784
59  _globals['_UPDATEREQUEST']._serialized_end=837
60  _globals['_UPDATECONFIGREQUEST']._serialized_start=839
61  _globals['_UPDATECONFIGREQUEST']._serialized_end=918
62  _globals['_DELETEREQUEST']._serialized_start=920
63  _globals['_DELETEREQUEST']._serialized_end=953
64  _globals['_TRANSFERREQUEST']._serialized_start=955
65  _globals['_TRANSFERREQUEST']._serialized_end=1015
66  _globals['_ABORTTRANSFERREQUEST']._serialized_start=1017
67  _globals['_ABORTTRANSFERREQUEST']._serialized_end=1057
68  _globals['_LISTTRANSFERSREQUEST']._serialized_start=1059
69  _globals['_LISTTRANSFERSREQUEST']._serialized_end=1097
70  _globals['_LISTTRANSFERSRESPONSE']._serialized_start=1099
71  _globals['_LISTTRANSFERSRESPONSE']._serialized_end=1161
72  _globals['_MOVEREQUEST']._serialized_start=1163
73  _globals['_MOVEREQUEST']._serialized_end=1210
74  _globals['_FILTER']._serialized_start=1212
75  _globals['_FILTER']._serialized_end=1325
76  _globals['_FINDREQUEST']._serialized_start=1327
77  _globals['_FINDREQUEST']._serialized_end=1418
78  _globals['_FINDRESPONSE']._serialized_start=1420
79  _globals['_FINDRESPONSE']._serialized_end=1488
80  _globals['_SPACES']._serialized_start=1605
81  _globals['_SPACES']._serialized_end=2416
82# @@protoc_insertion_point(module_scope)
DESCRIPTOR = <google.protobuf.descriptor.FileDescriptor object>