perxis.locales.locales_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: locales/locales.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    'locales/locales.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
26
27
28DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x15locales/locales.proto\x12\x0f\x63ontent.locales\x1a\x1bgoogle/protobuf/empty.proto\"\xb2\x01\n\x06Locale\x12\n\n\x02id\x18\x01 \x01(\t\x12\x10\n\x08space_id\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x13\n\x0bnative_name\x18\x04 \x01(\t\x12\x0c\n\x04\x63ode\x18\x05 \x01(\t\x12\x10\n\x08\x66\x61llback\x18\x06 \x01(\t\x12\x11\n\tdirection\x18\x07 \x01(\t\x12\x0e\n\x06weight\x18\x08 \x01(\x03\x12\x12\n\nno_publish\x18\x64 \x01(\x08\x12\x10\n\x08\x64isabled\x18\x65 \x01(\x08\"8\n\rCreateRequest\x12\'\n\x06locale\x18\x01 \x01(\x0b\x32\x17.content.locales.Locale\"9\n\x0e\x43reateResponse\x12\'\n\x06locale\x18\x01 \x01(\x0b\x32\x17.content.locales.Locale\"8\n\rUpdateRequest\x12\'\n\x06locale\x18\x01 \x01(\x0b\x32\x17.content.locales.Locale\"\x1f\n\x0bListRequest\x12\x10\n\x08space_id\x18\x01 \x01(\t\"8\n\x0cListResponse\x12(\n\x07locales\x18\x01 \x03(\x0b\x32\x17.content.locales.Locale\"-\n\rDeleteRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12\x10\n\x08space_id\x18\x02 \x01(\t2\xa5\x02\n\x07Locales\x12K\n\x06\x43reate\x12\x1e.content.locales.CreateRequest\x1a\x1f.content.locales.CreateResponse\"\x00\x12\x42\n\x06Update\x12\x1e.content.locales.UpdateRequest\x1a\x16.google.protobuf.Empty\"\x00\x12\x45\n\x04List\x12\x1c.content.locales.ListRequest\x1a\x1d.content.locales.ListResponse\"\x00\x12\x42\n\x06\x44\x65lete\x12\x1e.content.locales.DeleteRequest\x1a\x16.google.protobuf.Empty\"\x00\x42\x34Z2git.perx.ru/perxis/perxis-go/proto/locales;localesb\x06proto3')
29
30_globals = globals()
31_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
32_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'locales.locales_pb2', _globals)
33if not _descriptor._USE_C_DESCRIPTORS:
34  _globals['DESCRIPTOR']._loaded_options = None
35  _globals['DESCRIPTOR']._serialized_options = b'Z2git.perx.ru/perxis/perxis-go/proto/locales;locales'
36  _globals['_LOCALE']._serialized_start=72
37  _globals['_LOCALE']._serialized_end=250
38  _globals['_CREATEREQUEST']._serialized_start=252
39  _globals['_CREATEREQUEST']._serialized_end=308
40  _globals['_CREATERESPONSE']._serialized_start=310
41  _globals['_CREATERESPONSE']._serialized_end=367
42  _globals['_UPDATEREQUEST']._serialized_start=369
43  _globals['_UPDATEREQUEST']._serialized_end=425
44  _globals['_LISTREQUEST']._serialized_start=427
45  _globals['_LISTREQUEST']._serialized_end=458
46  _globals['_LISTRESPONSE']._serialized_start=460
47  _globals['_LISTRESPONSE']._serialized_end=516
48  _globals['_DELETEREQUEST']._serialized_start=518
49  _globals['_DELETEREQUEST']._serialized_end=563
50  _globals['_LOCALES']._serialized_start=566
51  _globals['_LOCALES']._serialized_end=859
52# @@protoc_insertion_point(module_scope)
DESCRIPTOR = <google.protobuf.descriptor.FileDescriptor object>