perxis.files.files_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: files/files.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    'files/files.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\x11\x66iles/files.proto\x12\x05\x66iles\x1a\x1bgoogle/protobuf/empty.proto\"a\n\x04\x46ile\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0c\n\x04size\x18\x03 \x01(\x04\x12\x11\n\tmime_type\x18\x04 \x01(\t\x12\x0b\n\x03url\x18\x05 \x01(\t\x12\x11\n\ttemporary\x18\x06 \x01(\x08\"\x8a\x01\n\x0fMultipartUpload\x12\x19\n\x04\x66ile\x18\x01 \x01(\x0b\x32\x0b.files.File\x12\x11\n\tupload_id\x18\x02 \x01(\t\x12\x11\n\tpart_size\x18\x03 \x01(\x04\x12\x11\n\tpart_urls\x18\x04 \x03(\t\x12#\n\x05parts\x18\x05 \x03(\x0b\x32\x14.files.CompletedPart\"7\n\x06Upload\x12\x19\n\x04\x66ile\x18\x01 \x01(\x0b\x32\x0b.files.File\x12\x12\n\nupload_url\x18\x02 \x01(\t\"+\n\rCompletedPart\x12\x0e\n\x06number\x18\x01 \x01(\x05\x12\n\n\x02id\x18\x02 \x01(\t\"<\n\x12StartUploadRequest\x12&\n\x06upload\x18\x01 \x01(\x0b\x32\x16.files.MultipartUpload\"=\n\x13StartUploadResponse\x12&\n\x06upload\x18\x01 \x01(\x0b\x32\x16.files.MultipartUpload\"?\n\x15\x43ompleteUploadRequest\x12&\n\x06upload\x18\x01 \x01(\x0b\x32\x16.files.MultipartUpload\"@\n\x16\x43ompleteUploadResponse\x12&\n\x06upload\x18\x01 \x01(\x0b\x32\x16.files.MultipartUpload\"<\n\x12\x41\x62ortUploadRequest\x12&\n\x06upload\x18\x01 \x01(\x0b\x32\x16.files.MultipartUpload\"\x15\n\x13\x41\x62ortUploadResponse\";\n\x11MoveUploadRequest\x12&\n\x06upload\x18\x01 \x01(\x0b\x32\x16.files.MultipartUpload\"/\n\x12MoveUploadResponse\x12\x19\n\x04\x66ile\x18\x01 \x01(\x0b\x32\x0b.files.File\"*\n\rUploadRequest\x12\x19\n\x04\x66ile\x18\x01 \x01(\x0b\x32\x0b.files.File\"/\n\x0eUploadResponse\x12\x1d\n\x06upload\x18\x01 \x01(\x0b\x32\r.files.Upload\"\x1c\n\x0eGetFileRequest\x12\n\n\x02id\x18\x01 \x01(\t\",\n\x0fGetFileResponse\x12\x19\n\x04\x66ile\x18\x01 \x01(\x0b\x32\x0b.files.File\".\n\x11\x44\x65leteFileRequest\x12\x19\n\x04\x66ile\x18\x01 \x01(\x0b\x32\x0b.files.File\"\x14\n\x12\x44\x65leteFileResponse2\xe0\x03\n\x05\x46iles\x12\x46\n\x0bStartUpload\x12\x19.files.StartUploadRequest\x1a\x1a.files.StartUploadResponse\"\x00\x12O\n\x0e\x43ompleteUpload\x12\x1c.files.CompleteUploadRequest\x1a\x1d.files.CompleteUploadResponse\"\x00\x12\x42\n\x0b\x41\x62ortUpload\x12\x19.files.AbortUploadRequest\x1a\x16.google.protobuf.Empty\"\x00\x12\x43\n\nMoveUpload\x12\x18.files.MoveUploadRequest\x1a\x19.files.MoveUploadResponse\"\x00\x12\x37\n\x06Upload\x12\x14.files.UploadRequest\x1a\x15.files.UploadResponse\"\x00\x12:\n\x07GetFile\x12\x15.files.GetFileRequest\x1a\x16.files.GetFileResponse\"\x00\x12@\n\nDeleteFile\x12\x18.files.DeleteFileRequest\x1a\x16.google.protobuf.Empty\"\x00\x42\x30Z.git.perx.ru/perxis/perxis-go/proto/files;filesb\x06proto3')
29
30_globals = globals()
31_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
32_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'files.files_pb2', _globals)
33if not _descriptor._USE_C_DESCRIPTORS:
34  _globals['DESCRIPTOR']._loaded_options = None
35  _globals['DESCRIPTOR']._serialized_options = b'Z.git.perx.ru/perxis/perxis-go/proto/files;files'
36  _globals['_FILE']._serialized_start=57
37  _globals['_FILE']._serialized_end=154
38  _globals['_MULTIPARTUPLOAD']._serialized_start=157
39  _globals['_MULTIPARTUPLOAD']._serialized_end=295
40  _globals['_UPLOAD']._serialized_start=297
41  _globals['_UPLOAD']._serialized_end=352
42  _globals['_COMPLETEDPART']._serialized_start=354
43  _globals['_COMPLETEDPART']._serialized_end=397
44  _globals['_STARTUPLOADREQUEST']._serialized_start=399
45  _globals['_STARTUPLOADREQUEST']._serialized_end=459
46  _globals['_STARTUPLOADRESPONSE']._serialized_start=461
47  _globals['_STARTUPLOADRESPONSE']._serialized_end=522
48  _globals['_COMPLETEUPLOADREQUEST']._serialized_start=524
49  _globals['_COMPLETEUPLOADREQUEST']._serialized_end=587
50  _globals['_COMPLETEUPLOADRESPONSE']._serialized_start=589
51  _globals['_COMPLETEUPLOADRESPONSE']._serialized_end=653
52  _globals['_ABORTUPLOADREQUEST']._serialized_start=655
53  _globals['_ABORTUPLOADREQUEST']._serialized_end=715
54  _globals['_ABORTUPLOADRESPONSE']._serialized_start=717
55  _globals['_ABORTUPLOADRESPONSE']._serialized_end=738
56  _globals['_MOVEUPLOADREQUEST']._serialized_start=740
57  _globals['_MOVEUPLOADREQUEST']._serialized_end=799
58  _globals['_MOVEUPLOADRESPONSE']._serialized_start=801
59  _globals['_MOVEUPLOADRESPONSE']._serialized_end=848
60  _globals['_UPLOADREQUEST']._serialized_start=850
61  _globals['_UPLOADREQUEST']._serialized_end=892
62  _globals['_UPLOADRESPONSE']._serialized_start=894
63  _globals['_UPLOADRESPONSE']._serialized_end=941
64  _globals['_GETFILEREQUEST']._serialized_start=943
65  _globals['_GETFILEREQUEST']._serialized_end=971
66  _globals['_GETFILERESPONSE']._serialized_start=973
67  _globals['_GETFILERESPONSE']._serialized_end=1017
68  _globals['_DELETEFILEREQUEST']._serialized_start=1019
69  _globals['_DELETEFILEREQUEST']._serialized_end=1065
70  _globals['_DELETEFILERESPONSE']._serialized_start=1067
71  _globals['_DELETEFILERESPONSE']._serialized_end=1087
72  _globals['_FILES']._serialized_start=1090
73  _globals['_FILES']._serialized_end=1570
74# @@protoc_insertion_point(module_scope)
DESCRIPTOR = <google.protobuf.descriptor.FileDescriptor object>