perxis.collections.collections_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: collections/collections.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    'collections/collections.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 perxis.common import common_pb2 as common_dot_common__pb2
27from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
28from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2
29
30
31DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1d\x63ollections/collections.proto\x12\x13\x63ontent.collections\x1a\x1bgoogle/protobuf/empty.proto\x1a\x13\x63ommon/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/duration.proto\"\xb8\x01\n\x06\x41\x63\x63\x65ss\x12\x1f\n\x07\x61\x63tions\x18\x01 \x03(\x0e\x32\x0e.common.Action\x12\x15\n\rhidden_fields\x18\x05 \x03(\t\x12\x17\n\x0freadonly_fields\x18\x06 \x03(\t\x12\x18\n\x10writeonly_fields\x18\x07 \x03(\t\x12\x18\n\x10\x64\x65ny_read_fields\x18\x08 \x03(\t\x12\x19\n\x11\x64\x65ny_write_fields\x18\t \x03(\t\x12\x0e\n\x06hidden\x18\n \x01(\x08\"\x94\x06\n\nCollection\x12\n\n\x02id\x18\x01 \x01(\t\x12\x10\n\x08space_id\x18\x02 \x01(\t\x12\x0e\n\x06\x65nv_id\x18\x03 \x01(\t\x12\x0c\n\x04name\x18\x04 \x01(\t\x12\x13\n\x06single\x18\x05 \x01(\x08H\x00\x88\x01\x01\x12\x13\n\x06system\x18\x06 \x01(\x08H\x01\x88\x01\x01\x12\x14\n\x07no_data\x18\x0c \x01(\x08H\x02\x88\x01\x01\x12\x0e\n\x06schema\x18\x07 \x01(\t\x12\x0e\n\x06hidden\x18\r \x01(\x08\x12\x32\n\x04view\x18\t \x01(\x0b\x32$.content.collections.Collection.View\x12=\n\nstate_info\x18\n \x01(\x0b\x32).content.collections.Collection.StateInfo\x12\x0c\n\x04tags\x18\x10 \x03(\t\x12+\n\x06\x61\x63\x63\x65ss\x18\x14 \x01(\x0b\x32\x1b.content.collections.Access\x12\x14\n\x0cno_revisions\x18\x1e \x01(\x08\x12\x15\n\rmax_revisions\x18\x1f \x01(\r\x12/\n\x0crevision_ttl\x18  \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x12\n\nno_archive\x18# \x01(\x08\x12\x12\n\nno_publish\x18( \x01(\x08\x1aO\n\x04View\x12\x10\n\x08space_id\x18\x01 \x01(\t\x12\x0e\n\x06\x65nv_id\x18\x02 \x01(\t\x12\x15\n\rcollection_id\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x1a\x7f\n\tStateInfo\x12\x34\n\x05state\x18\x01 \x01(\x0e\x32%.content.collections.Collection.State\x12\x0c\n\x04info\x18\x02 \x01(\t\x12.\n\nstarted_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"B\n\x05State\x12\x07\n\x03NEW\x10\x00\x12\r\n\tPREPARING\x10\x01\x12\t\n\x05READY\x10\x02\x12\t\n\x05\x45RROR\x10\x03\x12\x0b\n\x07\x43HANGED\x10\x04\x42\t\n\x07_singleB\t\n\x07_systemB\n\n\x08_no_data\"D\n\rCreateRequest\x12\x33\n\ncollection\x18\x01 \x01(\x0b\x32\x1f.content.collections.Collection\"B\n\x0e\x43reateResponse\x12\x30\n\x07\x63reated\x18\x01 \x01(\x0b\x32\x1f.content.collections.Collection\"-\n\nGetOptions\x12\x1f\n\x17\x64isable_schema_includes\x18\x01 \x01(\x08\"w\n\nGetRequest\x12\x10\n\x08space_id\x18\x01 \x01(\t\x12\x0e\n\x06\x65nv_id\x18\x02 \x01(\t\x12\x15\n\rcollection_id\x18\x03 \x01(\t\x12\x30\n\x07options\x18\x04 \x01(\x0b\x32\x1f.content.collections.GetOptions\"B\n\x0bGetResponse\x12\x33\n\ncollection\x18\x01 \x01(\x0b\x32\x1f.content.collections.Collection\"\xe2\x01\n\x0bListRequest\x12\x10\n\x08space_id\x18\x01 \x01(\t\x12\x0e\n\x06\x65nv_id\x18\x02 \x01(\t\x12\x37\n\x06\x66ilter\x18\x05 \x01(\x0b\x32\'.content.collections.ListRequest.Filter\x1ax\n\x06\x46ilter\x12\x16\n\x0e\x65xclude_system\x18\x01 \x01(\x08\x12\x17\n\x0finclude_no_data\x18\x05 \x01(\x08\x12\x16\n\x0einclude_hidden\x18\x06 \x01(\x08\x12\x0c\n\x04name\x18\x03 \x03(\t\x12\n\n\x02id\x18\x04 \x03(\t\x12\x0b\n\x03tag\x18\x07 \x03(\t\"D\n\x0cListResponse\x12\x34\n\x0b\x63ollections\x18\x01 \x03(\x0b\x32\x1f.content.collections.Collection\"D\n\rUpdateRequest\x12\x33\n\ncollection\x18\x01 \x01(\x0b\x32\x1f.content.collections.Collection\"[\n\x10SetSchemaRequest\x12\x10\n\x08space_id\x18\x01 \x01(\t\x12\x0e\n\x06\x65nv_id\x18\x02 \x01(\t\x12\x15\n\rcollection_id\x18\x03 \x01(\t\x12\x0e\n\x06schema\x18\x04 \x01(\t\"H\n\rDeleteRequest\x12\x10\n\x08space_id\x18\x01 \x01(\t\x12\x0e\n\x06\x65nv_id\x18\x02 \x01(\t\x12\x15\n\rcollection_id\x18\x03 \x01(\t2\xdb\x03\n\x0b\x43ollections\x12S\n\x06\x43reate\x12\".content.collections.CreateRequest\x1a#.content.collections.CreateResponse\"\x00\x12J\n\x03Get\x12\x1f.content.collections.GetRequest\x1a .content.collections.GetResponse\"\x00\x12M\n\x04List\x12 .content.collections.ListRequest\x1a!.content.collections.ListResponse\"\x00\x12\x46\n\x06Update\x12\".content.collections.UpdateRequest\x1a\x16.google.protobuf.Empty\"\x00\x12L\n\tSetSchema\x12%.content.collections.SetSchemaRequest\x1a\x16.google.protobuf.Empty\"\x00\x12\x46\n\x06\x44\x65lete\x12\".content.collections.DeleteRequest\x1a\x16.google.protobuf.Empty\"\x00\x42<Z:git.perx.ru/perxis/perxis-go/proto/collections;collectionsb\x06proto3')
32
33_globals = globals()
34_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
35_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'collections.collections_pb2', _globals)
36if not _descriptor._USE_C_DESCRIPTORS:
37  _globals['DESCRIPTOR']._loaded_options = None
38  _globals['DESCRIPTOR']._serialized_options = b'Z:git.perx.ru/perxis/perxis-go/proto/collections;collections'
39  _globals['_ACCESS']._serialized_start=170
40  _globals['_ACCESS']._serialized_end=354
41  _globals['_COLLECTION']._serialized_start=357
42  _globals['_COLLECTION']._serialized_end=1145
43  _globals['_COLLECTION_VIEW']._serialized_start=835
44  _globals['_COLLECTION_VIEW']._serialized_end=914
45  _globals['_COLLECTION_STATEINFO']._serialized_start=916
46  _globals['_COLLECTION_STATEINFO']._serialized_end=1043
47  _globals['_COLLECTION_STATE']._serialized_start=1045
48  _globals['_COLLECTION_STATE']._serialized_end=1111
49  _globals['_CREATEREQUEST']._serialized_start=1147
50  _globals['_CREATEREQUEST']._serialized_end=1215
51  _globals['_CREATERESPONSE']._serialized_start=1217
52  _globals['_CREATERESPONSE']._serialized_end=1283
53  _globals['_GETOPTIONS']._serialized_start=1285
54  _globals['_GETOPTIONS']._serialized_end=1330
55  _globals['_GETREQUEST']._serialized_start=1332
56  _globals['_GETREQUEST']._serialized_end=1451
57  _globals['_GETRESPONSE']._serialized_start=1453
58  _globals['_GETRESPONSE']._serialized_end=1519
59  _globals['_LISTREQUEST']._serialized_start=1522
60  _globals['_LISTREQUEST']._serialized_end=1748
61  _globals['_LISTREQUEST_FILTER']._serialized_start=1628
62  _globals['_LISTREQUEST_FILTER']._serialized_end=1748
63  _globals['_LISTRESPONSE']._serialized_start=1750
64  _globals['_LISTRESPONSE']._serialized_end=1818
65  _globals['_UPDATEREQUEST']._serialized_start=1820
66  _globals['_UPDATEREQUEST']._serialized_end=1888
67  _globals['_SETSCHEMAREQUEST']._serialized_start=1890
68  _globals['_SETSCHEMAREQUEST']._serialized_end=1981
69  _globals['_DELETEREQUEST']._serialized_start=1983
70  _globals['_DELETEREQUEST']._serialized_end=2055
71  _globals['_COLLECTIONS']._serialized_start=2058
72  _globals['_COLLECTIONS']._serialized_end=2533
73# @@protoc_insertion_point(module_scope)
DESCRIPTOR = <google.protobuf.descriptor.FileDescriptor object>