# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: objectstore/payload.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from .common import list_pb2 as common_dot_list__pb2
from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x19objectstore/payload.proto\x12\x17\x63loudidl.objectstore.v1\x1a\x11\x63ommon/list.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x11\n\x0fMetadataRequest\"\xb9\x01\n\x10MetadataResponse\x12G\n!max_single_part_object_size_bytes\x18\x01 \x01(\x04R\x1cmaxSinglePartObjectSizeBytes\x12-\n\x13min_part_size_bytes\x18\x02 \x01(\x04R\x10minPartSizeBytes\x12-\n\x13max_part_size_bytes\x18\x03 \x01(\x04R\x10maxPartSizeBytes\"\x80\x01\n\x08Metadata\x12<\n\x03tag\x18\x02 \x03(\x0b\x32*.cloudidl.objectstore.v1.Metadata.TagEntryR\x03tag\x1a\x36\n\x08TagEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\"$\n\x06Object\x12\x1a\n\x08\x63ontents\x18\x01 \x01(\x0cR\x08\x63ontents\"\xb3\x01\n\nPutRequest\x12-\n\x03key\x18\x01 \x01(\tB\x1b\xfa\x42\x18r\x16\x10\x01\x32\x12^union(meta)?://.+R\x03key\x12=\n\x08metadata\x18\x02 \x01(\x0b\x32!.cloudidl.objectstore.v1.MetadataR\x08metadata\x12\x37\n\x06object\x18\x03 \x01(\x0b\x32\x1f.cloudidl.objectstore.v1.ObjectR\x06object\"@\n\x0bPutResponse\x12\x1d\n\nsize_bytes\x18\x01 \x01(\x04R\tsizeBytes\x12\x12\n\x04\x65tag\x18\x02 \x01(\tR\x04\x65tag\";\n\nGetRequest\x12-\n\x03key\x18\x01 \x01(\tB\x1b\xfa\x42\x18r\x16\x10\x01\x32\x12^union(meta)?://.+R\x03key\"\xb8\x01\n\x0bGetResponse\x12\x37\n\x06object\x18\x01 \x01(\x0b\x32\x1f.cloudidl.objectstore.v1.ObjectR\x06object\x12=\n\x08metadata\x18\x02 \x01(\x0b\x32!.cloudidl.objectstore.v1.MetadataR\x08metadata\x12\x1d\n\nsize_bytes\x18\x03 \x01(\x04R\tsizeBytes\x12\x12\n\x04\x65tag\x18\x04 \x01(\tR\x04\x65tag\"E\n\x0bListRequest\x12\x36\n\x07request\x18\x01 \x01(\x0b\x32\x1c.cloudidl.common.ListRequestR\x07request\"A\n\x0cListResponse\x12\x12\n\x04keys\x18\x01 \x03(\tR\x04keys\x12\x1d\n\nnext_token\x18\x02 \x01(\tR\tnextToken\">\n\rDeleteRequest\x12-\n\x03key\x18\x01 \x01(\tB\x1b\xfa\x42\x18r\x16\x10\x01\x32\x12^union(meta)?://.+R\x03key\"\x10\n\x0e\x44\x65leteResponse\"<\n\x0bHeadRequest\x12-\n\x03key\x18\x01 \x01(\tB\x1b\xfa\x42\x18r\x16\x10\x01\x32\x12^union(meta)?://.+R\x03key\"\x80\x01\n\x0cHeadResponse\x12=\n\x08metadata\x18\x01 \x01(\x0b\x32!.cloudidl.objectstore.v1.MetadataR\x08metadata\x12\x12\n\x04\x65tag\x18\x02 \x01(\tR\x04\x65tag\x12\x1d\n\nsize_bytes\x18\x03 \x01(\x04R\tsizeBytes\"\xa5\x01\n&CreateLargeObjectUploadLocationRequest\x12\x19\n\x03key\x18\x01 \x01(\tB\x07\xfa\x42\x04r\x02\x10\x01R\x03key\x12&\n\nsize_bytes\x18\x02 \x01(\x04\x42\x07\xfa\x42\x04\x32\x02 \x00R\tsizeBytes\x12\x38\n\nexpires_in\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationR\texpiresIn\"*\n\x10httpHeaderValues\x12\x16\n\x06values\x18\x01 \x03(\tR\x06values\"\xdf\x02\n\x11SignedPartRequest\x12+\n\x0bpart_number\x18\x01 \x01(\x05\x42\n\xfa\x42\x07\x1a\x05\x18\x90N \x01R\npartNumber\x12\x39\n\nexpires_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\texpiresAt\x12\x10\n\x03url\x18\x03 \x01(\tR\x03url\x12\x16\n\x06method\x18\x04 \x01(\tR\x06method\x12Q\n\x07headers\x18\x05 \x03(\x0b\x32\x37.cloudidl.objectstore.v1.SignedPartRequest.HeadersEntryR\x07headers\x1a\x65\n\x0cHeadersEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12?\n\x05value\x18\x02 \x01(\x0b\x32).cloudidl.objectstore.v1.httpHeaderValuesR\x05value:\x02\x38\x01\"\xbb\x01\n\x17SuccessfulUploadRequest\x12\x61\n\x0b\x65tags_parts\x18\x01 \x03(\x0b\x32@.cloudidl.objectstore.v1.SuccessfulUploadRequest.EtagsPartsEntryR\netagsParts\x1a=\n\x0f\x45tagsPartsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\x05R\x05value:\x02\x38\x01\"\x14\n\x12\x41\x62ortUploadRequest\"\xa2\x02\n!TerminateLargeObjectUploadRequest\x12-\n\x0coperation_id\x18\x01 \x01(\tB\n\xfa\x42\x07r\x05\x10\x01\x18\xc8\x01R\x0boperationId\x12\x10\n\x03key\x18\x02 \x01(\tR\x03key\x12_\n\x11successful_upload\x18\x03 \x01(\x0b\x32\x30.cloudidl.objectstore.v1.SuccessfulUploadRequestH\x00R\x10successfulUpload\x12P\n\x0c\x61\x62ort_upload\x18\x04 \x01(\x0b\x32+.cloudidl.objectstore.v1.AbortUploadRequestH\x00R\x0b\x61\x62ortUploadB\t\n\x07request\"J\n\"TerminateLargeObjectUploadResponse\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x12\n\x04\x65tag\x18\x02 \x01(\tR\x04\x65tag\"\xd5\x01\n\'CreateLargeObjectUploadLocationResponse\x12-\n\x0coperation_id\x18\x01 \x01(\tB\n\xfa\x42\x07r\x05\x10\x01\x18\xc8\x01R\x0boperationId\x12\\\n\x14signed_part_requests\x18\x02 \x03(\x0b\x32*.cloudidl.objectstore.v1.SignedPartRequestR\x12signedPartRequests\x12\x1d\n\nnative_url\x18\x03 \x01(\tR\tnativeUrl\"r\n$CreateLargeObjectDownloadLinkRequest\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x38\n\nexpires_in\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationR\texpiresIn\"\x81\x01\n%CreateLargeObjectDownloadLinkResponse\x12\x1d\n\nsigned_url\x18\x01 \x01(\tR\tsignedUrl\x12\x39\n\nexpires_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\texpiresAt\"\x83\x01\n\x1dStartLargeObjectUploadRequest\x12#\n\x03key\x18\x01 \x01(\tB\x11\xfa\x42\x0er\x0c\x10\x01:\x08union://R\x03key\x12=\n\x08metadata\x18\x02 \x01(\x0b\x32!.cloudidl.objectstore.v1.MetadataR\x08metadata\"\x8a\x01\n\x1eStartLargeObjectUploadResponse\x12-\n\x0coperation_id\x18\x01 \x01(\tB\n\xfa\x42\x07r\x05\x10\x01\x18\xc8\x01R\x0boperationId\x12\x39\n\nexpires_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\texpiresAt\"\xff\x01\n\x11UploadPartRequest\x12-\n\x0coperation_id\x18\x01 \x01(\tB\n\xfa\x42\x07r\x05\x10\x01\x18\xc8\x01R\x0boperationId\x12#\n\x03key\x18\x02 \x01(\tB\x11\xfa\x42\x0er\x0c\x10\x01:\x08union://R\x03key\x12+\n\x0bpart_number\x18\x03 \x01(\x05\x42\n\xfa\x42\x07\x1a\x05\x18\x90N \x01R\npartNumber\x12\x37\n\x06object\x18\x04 \x01(\x0b\x32\x1f.cloudidl.objectstore.v1.ObjectR\x06object\x12\x30\n\x0e\x63ontent_length\x18\x05 \x01(\x03\x42\t\x18\x01\xfa\x42\x04\"\x02 \x00R\rcontentLength\"(\n\x12UploadPartResponse\x12\x12\n\x04\x65tag\x18\x01 \x01(\tR\x04\x65tag\"a\n\'ListInProgressLargeObjectUploadsRequest\x12\x36\n\x07request\x18\x01 \x01(\x0b\x32\x1c.cloudidl.common.ListRequestR\x07request\"T\n\x11LargeObjectUpload\x12-\n\x0coperation_id\x18\x01 \x01(\tB\n\xfa\x42\x07r\x05\x10\x01\x18\xc8\x01R\x0boperationId\x12\x10\n\x03key\x18\x02 \x01(\tR\x03key\"v\n(ListInProgressLargeObjectUploadsResponse\x12J\n\noperations\x18\x01 \x03(\x0b\x32*.cloudidl.objectstore.v1.LargeObjectUploadR\noperations\"\x88\x01\n\x13\x44ownloadPartRequest\x12#\n\x03key\x18\x01 \x01(\tB\x11\xfa\x42\x0er\x0c\x10\x01:\x08union://R\x03key\x12$\n\tstart_pos\x18\x02 \x01(\x03\x42\x07\xfa\x42\x04\"\x02(\x00R\x08startPos\x12&\n\nsize_bytes\x18\x03 \x01(\x03\x42\x07\xfa\x42\x04\"\x02(\x00R\tsizeBytes\"O\n\x14\x44ownloadPartResponse\x12\x37\n\x06object\x18\x01 \x01(\x0b\x32\x1f.cloudidl.objectstore.v1.ObjectR\x06object\"{\n\x0b\x43opyRequest\x12\x30\n\nsource_key\x18\x01 \x01(\tB\x11\xfa\x42\x0er\x0c\x10\x01:\x08union://R\tsourceKey\x12:\n\x0f\x64\x65stination_key\x18\x02 \x01(\tB\x11\xfa\x42\x0er\x0c\x10\x01:\x08union://R\x0e\x64\x65stinationKey\"\x0e\n\x0c\x43opyResponseB\xdb\x01\n\x1b\x63om.cloudidl.objectstore.v1B\x0cPayloadProtoH\x02P\x01Z.github.com/unionai/cloud/gen/pb-go/objectstore\xa2\x02\x03\x43OX\xaa\x02\x17\x43loudidl.Objectstore.V1\xca\x02\x17\x43loudidl\\Objectstore\\V1\xe2\x02#Cloudidl\\Objectstore\\V1\\GPBMetadata\xea\x02\x19\x43loudidl::Objectstore::V1b\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'objectstore.payload_pb2', _globals)
if _descriptor._USE_C_DESCRIPTORS == False:
  DESCRIPTOR._options = None
  DESCRIPTOR._serialized_options = b'\n\033com.cloudidl.objectstore.v1B\014PayloadProtoH\002P\001Z.github.com/unionai/cloud/gen/pb-go/objectstore\242\002\003COX\252\002\027Cloudidl.Objectstore.V1\312\002\027Cloudidl\\Objectstore\\V1\342\002#Cloudidl\\Objectstore\\V1\\GPBMetadata\352\002\031Cloudidl::Objectstore::V1'
  _METADATA_TAGENTRY._options = None
  _METADATA_TAGENTRY._serialized_options = b'8\001'
  _PUTREQUEST.fields_by_name['key']._options = None
  _PUTREQUEST.fields_by_name['key']._serialized_options = b'\372B\030r\026\020\0012\022^union(meta)?://.+'
  _GETREQUEST.fields_by_name['key']._options = None
  _GETREQUEST.fields_by_name['key']._serialized_options = b'\372B\030r\026\020\0012\022^union(meta)?://.+'
  _DELETEREQUEST.fields_by_name['key']._options = None
  _DELETEREQUEST.fields_by_name['key']._serialized_options = b'\372B\030r\026\020\0012\022^union(meta)?://.+'
  _HEADREQUEST.fields_by_name['key']._options = None
  _HEADREQUEST.fields_by_name['key']._serialized_options = b'\372B\030r\026\020\0012\022^union(meta)?://.+'
  _CREATELARGEOBJECTUPLOADLOCATIONREQUEST.fields_by_name['key']._options = None
  _CREATELARGEOBJECTUPLOADLOCATIONREQUEST.fields_by_name['key']._serialized_options = b'\372B\004r\002\020\001'
  _CREATELARGEOBJECTUPLOADLOCATIONREQUEST.fields_by_name['size_bytes']._options = None
  _CREATELARGEOBJECTUPLOADLOCATIONREQUEST.fields_by_name['size_bytes']._serialized_options = b'\372B\0042\002 \000'
  _SIGNEDPARTREQUEST_HEADERSENTRY._options = None
  _SIGNEDPARTREQUEST_HEADERSENTRY._serialized_options = b'8\001'
  _SIGNEDPARTREQUEST.fields_by_name['part_number']._options = None
  _SIGNEDPARTREQUEST.fields_by_name['part_number']._serialized_options = b'\372B\007\032\005\030\220N \001'
  _SUCCESSFULUPLOADREQUEST_ETAGSPARTSENTRY._options = None
  _SUCCESSFULUPLOADREQUEST_ETAGSPARTSENTRY._serialized_options = b'8\001'
  _TERMINATELARGEOBJECTUPLOADREQUEST.fields_by_name['operation_id']._options = None
  _TERMINATELARGEOBJECTUPLOADREQUEST.fields_by_name['operation_id']._serialized_options = b'\372B\007r\005\020\001\030\310\001'
  _CREATELARGEOBJECTUPLOADLOCATIONRESPONSE.fields_by_name['operation_id']._options = None
  _CREATELARGEOBJECTUPLOADLOCATIONRESPONSE.fields_by_name['operation_id']._serialized_options = b'\372B\007r\005\020\001\030\310\001'
  _STARTLARGEOBJECTUPLOADREQUEST.fields_by_name['key']._options = None
  _STARTLARGEOBJECTUPLOADREQUEST.fields_by_name['key']._serialized_options = b'\372B\016r\014\020\001:\010union://'
  _STARTLARGEOBJECTUPLOADRESPONSE.fields_by_name['operation_id']._options = None
  _STARTLARGEOBJECTUPLOADRESPONSE.fields_by_name['operation_id']._serialized_options = b'\372B\007r\005\020\001\030\310\001'
  _UPLOADPARTREQUEST.fields_by_name['operation_id']._options = None
  _UPLOADPARTREQUEST.fields_by_name['operation_id']._serialized_options = b'\372B\007r\005\020\001\030\310\001'
  _UPLOADPARTREQUEST.fields_by_name['key']._options = None
  _UPLOADPARTREQUEST.fields_by_name['key']._serialized_options = b'\372B\016r\014\020\001:\010union://'
  _UPLOADPARTREQUEST.fields_by_name['part_number']._options = None
  _UPLOADPARTREQUEST.fields_by_name['part_number']._serialized_options = b'\372B\007\032\005\030\220N \001'
  _UPLOADPARTREQUEST.fields_by_name['content_length']._options = None
  _UPLOADPARTREQUEST.fields_by_name['content_length']._serialized_options = b'\030\001\372B\004\"\002 \000'
  _LARGEOBJECTUPLOAD.fields_by_name['operation_id']._options = None
  _LARGEOBJECTUPLOAD.fields_by_name['operation_id']._serialized_options = b'\372B\007r\005\020\001\030\310\001'
  _DOWNLOADPARTREQUEST.fields_by_name['key']._options = None
  _DOWNLOADPARTREQUEST.fields_by_name['key']._serialized_options = b'\372B\016r\014\020\001:\010union://'
  _DOWNLOADPARTREQUEST.fields_by_name['start_pos']._options = None
  _DOWNLOADPARTREQUEST.fields_by_name['start_pos']._serialized_options = b'\372B\004\"\002(\000'
  _DOWNLOADPARTREQUEST.fields_by_name['size_bytes']._options = None
  _DOWNLOADPARTREQUEST.fields_by_name['size_bytes']._serialized_options = b'\372B\004\"\002(\000'
  _COPYREQUEST.fields_by_name['source_key']._options = None
  _COPYREQUEST.fields_by_name['source_key']._serialized_options = b'\372B\016r\014\020\001:\010union://'
  _COPYREQUEST.fields_by_name['destination_key']._options = None
  _COPYREQUEST.fields_by_name['destination_key']._serialized_options = b'\372B\016r\014\020\001:\010union://'
  _globals['_METADATAREQUEST']._serialized_start=163
  _globals['_METADATAREQUEST']._serialized_end=180
  _globals['_METADATARESPONSE']._serialized_start=183
  _globals['_METADATARESPONSE']._serialized_end=368
  _globals['_METADATA']._serialized_start=371
  _globals['_METADATA']._serialized_end=499
  _globals['_METADATA_TAGENTRY']._serialized_start=445
  _globals['_METADATA_TAGENTRY']._serialized_end=499
  _globals['_OBJECT']._serialized_start=501
  _globals['_OBJECT']._serialized_end=537
  _globals['_PUTREQUEST']._serialized_start=540
  _globals['_PUTREQUEST']._serialized_end=719
  _globals['_PUTRESPONSE']._serialized_start=721
  _globals['_PUTRESPONSE']._serialized_end=785
  _globals['_GETREQUEST']._serialized_start=787
  _globals['_GETREQUEST']._serialized_end=846
  _globals['_GETRESPONSE']._serialized_start=849
  _globals['_GETRESPONSE']._serialized_end=1033
  _globals['_LISTREQUEST']._serialized_start=1035
  _globals['_LISTREQUEST']._serialized_end=1104
  _globals['_LISTRESPONSE']._serialized_start=1106
  _globals['_LISTRESPONSE']._serialized_end=1171
  _globals['_DELETEREQUEST']._serialized_start=1173
  _globals['_DELETEREQUEST']._serialized_end=1235
  _globals['_DELETERESPONSE']._serialized_start=1237
  _globals['_DELETERESPONSE']._serialized_end=1253
  _globals['_HEADREQUEST']._serialized_start=1255
  _globals['_HEADREQUEST']._serialized_end=1315
  _globals['_HEADRESPONSE']._serialized_start=1318
  _globals['_HEADRESPONSE']._serialized_end=1446
  _globals['_CREATELARGEOBJECTUPLOADLOCATIONREQUEST']._serialized_start=1449
  _globals['_CREATELARGEOBJECTUPLOADLOCATIONREQUEST']._serialized_end=1614
  _globals['_HTTPHEADERVALUES']._serialized_start=1616
  _globals['_HTTPHEADERVALUES']._serialized_end=1658
  _globals['_SIGNEDPARTREQUEST']._serialized_start=1661
  _globals['_SIGNEDPARTREQUEST']._serialized_end=2012
  _globals['_SIGNEDPARTREQUEST_HEADERSENTRY']._serialized_start=1911
  _globals['_SIGNEDPARTREQUEST_HEADERSENTRY']._serialized_end=2012
  _globals['_SUCCESSFULUPLOADREQUEST']._serialized_start=2015
  _globals['_SUCCESSFULUPLOADREQUEST']._serialized_end=2202
  _globals['_SUCCESSFULUPLOADREQUEST_ETAGSPARTSENTRY']._serialized_start=2141
  _globals['_SUCCESSFULUPLOADREQUEST_ETAGSPARTSENTRY']._serialized_end=2202
  _globals['_ABORTUPLOADREQUEST']._serialized_start=2204
  _globals['_ABORTUPLOADREQUEST']._serialized_end=2224
  _globals['_TERMINATELARGEOBJECTUPLOADREQUEST']._serialized_start=2227
  _globals['_TERMINATELARGEOBJECTUPLOADREQUEST']._serialized_end=2517
  _globals['_TERMINATELARGEOBJECTUPLOADRESPONSE']._serialized_start=2519
  _globals['_TERMINATELARGEOBJECTUPLOADRESPONSE']._serialized_end=2593
  _globals['_CREATELARGEOBJECTUPLOADLOCATIONRESPONSE']._serialized_start=2596
  _globals['_CREATELARGEOBJECTUPLOADLOCATIONRESPONSE']._serialized_end=2809
  _globals['_CREATELARGEOBJECTDOWNLOADLINKREQUEST']._serialized_start=2811
  _globals['_CREATELARGEOBJECTDOWNLOADLINKREQUEST']._serialized_end=2925
  _globals['_CREATELARGEOBJECTDOWNLOADLINKRESPONSE']._serialized_start=2928
  _globals['_CREATELARGEOBJECTDOWNLOADLINKRESPONSE']._serialized_end=3057
  _globals['_STARTLARGEOBJECTUPLOADREQUEST']._serialized_start=3060
  _globals['_STARTLARGEOBJECTUPLOADREQUEST']._serialized_end=3191
  _globals['_STARTLARGEOBJECTUPLOADRESPONSE']._serialized_start=3194
  _globals['_STARTLARGEOBJECTUPLOADRESPONSE']._serialized_end=3332
  _globals['_UPLOADPARTREQUEST']._serialized_start=3335
  _globals['_UPLOADPARTREQUEST']._serialized_end=3590
  _globals['_UPLOADPARTRESPONSE']._serialized_start=3592
  _globals['_UPLOADPARTRESPONSE']._serialized_end=3632
  _globals['_LISTINPROGRESSLARGEOBJECTUPLOADSREQUEST']._serialized_start=3634
  _globals['_LISTINPROGRESSLARGEOBJECTUPLOADSREQUEST']._serialized_end=3731
  _globals['_LARGEOBJECTUPLOAD']._serialized_start=3733
  _globals['_LARGEOBJECTUPLOAD']._serialized_end=3817
  _globals['_LISTINPROGRESSLARGEOBJECTUPLOADSRESPONSE']._serialized_start=3819
  _globals['_LISTINPROGRESSLARGEOBJECTUPLOADSRESPONSE']._serialized_end=3937
  _globals['_DOWNLOADPARTREQUEST']._serialized_start=3940
  _globals['_DOWNLOADPARTREQUEST']._serialized_end=4076
  _globals['_DOWNLOADPARTRESPONSE']._serialized_start=4078
  _globals['_DOWNLOADPARTRESPONSE']._serialized_end=4157
  _globals['_COPYREQUEST']._serialized_start=4159
  _globals['_COPYREQUEST']._serialized_end=4282
  _globals['_COPYRESPONSE']._serialized_start=4284
  _globals['_COPYRESPONSE']._serialized_end=4298
# @@protoc_insertion_point(module_scope)
