github.com/treeverse/lakefs@v1.24.1-0.20240520134607-95648127bfb0/pkg/gateway/multipart/multipart.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.31.0 4 // protoc (unknown) 5 // source: gateway/multipart/multipart.proto 6 7 package multipart 8 9 import ( 10 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 11 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 12 timestamppb "google.golang.org/protobuf/types/known/timestamppb" 13 reflect "reflect" 14 sync "sync" 15 ) 16 17 const ( 18 // Verify that this generated code is sufficiently up-to-date. 19 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 20 // Verify that runtime/protoimpl is sufficiently up-to-date. 21 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 22 ) 23 24 // message data model for multipart.Upload struct 25 type UploadData struct { 26 state protoimpl.MessageState 27 sizeCache protoimpl.SizeCache 28 unknownFields protoimpl.UnknownFields 29 30 UploadId string `protobuf:"bytes,1,opt,name=upload_id,json=uploadId,proto3" json:"upload_id,omitempty"` 31 Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` 32 CreationDate *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=creation_date,json=creationDate,proto3" json:"creation_date,omitempty"` 33 PhysicalAddress string `protobuf:"bytes,4,opt,name=physical_address,json=physicalAddress,proto3" json:"physical_address,omitempty"` 34 Metadata map[string]string `protobuf:"bytes,5,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 35 ContentType string `protobuf:"bytes,6,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"` 36 } 37 38 func (x *UploadData) Reset() { 39 *x = UploadData{} 40 if protoimpl.UnsafeEnabled { 41 mi := &file_gateway_multipart_multipart_proto_msgTypes[0] 42 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 43 ms.StoreMessageInfo(mi) 44 } 45 } 46 47 func (x *UploadData) String() string { 48 return protoimpl.X.MessageStringOf(x) 49 } 50 51 func (*UploadData) ProtoMessage() {} 52 53 func (x *UploadData) ProtoReflect() protoreflect.Message { 54 mi := &file_gateway_multipart_multipart_proto_msgTypes[0] 55 if protoimpl.UnsafeEnabled && x != nil { 56 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 57 if ms.LoadMessageInfo() == nil { 58 ms.StoreMessageInfo(mi) 59 } 60 return ms 61 } 62 return mi.MessageOf(x) 63 } 64 65 // Deprecated: Use UploadData.ProtoReflect.Descriptor instead. 66 func (*UploadData) Descriptor() ([]byte, []int) { 67 return file_gateway_multipart_multipart_proto_rawDescGZIP(), []int{0} 68 } 69 70 func (x *UploadData) GetUploadId() string { 71 if x != nil { 72 return x.UploadId 73 } 74 return "" 75 } 76 77 func (x *UploadData) GetPath() string { 78 if x != nil { 79 return x.Path 80 } 81 return "" 82 } 83 84 func (x *UploadData) GetCreationDate() *timestamppb.Timestamp { 85 if x != nil { 86 return x.CreationDate 87 } 88 return nil 89 } 90 91 func (x *UploadData) GetPhysicalAddress() string { 92 if x != nil { 93 return x.PhysicalAddress 94 } 95 return "" 96 } 97 98 func (x *UploadData) GetMetadata() map[string]string { 99 if x != nil { 100 return x.Metadata 101 } 102 return nil 103 } 104 105 func (x *UploadData) GetContentType() string { 106 if x != nil { 107 return x.ContentType 108 } 109 return "" 110 } 111 112 var File_gateway_multipart_multipart_proto protoreflect.FileDescriptor 113 114 var file_gateway_multipart_multipart_proto_rawDesc = []byte{ 115 0x0a, 0x21, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2f, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x70, 116 0x61, 0x72, 0x74, 0x2f, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x61, 0x72, 0x74, 0x2e, 0x70, 0x72, 117 0x6f, 0x74, 0x6f, 0x12, 0x1d, 0x69, 0x6f, 0x2e, 0x74, 0x72, 0x65, 0x65, 0x76, 0x65, 0x72, 0x73, 118 0x65, 0x2e, 0x6c, 0x61, 0x6b, 0x65, 0x66, 0x73, 0x2e, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x61, 119 0x72, 0x74, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 120 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 121 0x6f, 0x74, 0x6f, 0x22, 0xde, 0x02, 0x0a, 0x0a, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x44, 0x61, 122 0x74, 0x61, 0x12, 0x1b, 0x0a, 0x09, 0x75, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x69, 0x64, 0x18, 123 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x49, 0x64, 0x12, 124 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 125 0x61, 0x74, 0x68, 0x12, 0x3f, 0x0a, 0x0d, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 126 0x64, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 127 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 128 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0c, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 129 0x44, 0x61, 0x74, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x70, 0x68, 0x79, 0x73, 0x69, 0x63, 0x61, 0x6c, 130 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 131 0x70, 0x68, 0x79, 0x73, 0x69, 0x63, 0x61, 0x6c, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 132 0x53, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x05, 0x20, 0x03, 0x28, 133 0x0b, 0x32, 0x37, 0x2e, 0x69, 0x6f, 0x2e, 0x74, 0x72, 0x65, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 134 0x2e, 0x6c, 0x61, 0x6b, 0x65, 0x66, 0x73, 0x2e, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x61, 0x72, 135 0x74, 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x4d, 0x65, 0x74, 136 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 137 0x64, 0x61, 0x74, 0x61, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 138 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 139 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x1a, 0x3b, 0x0a, 0x0d, 0x4d, 0x65, 0x74, 0x61, 0x64, 140 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 141 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 142 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 143 0x3a, 0x02, 0x38, 0x01, 0x42, 0x2f, 0x5a, 0x2d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 144 0x6f, 0x6d, 0x2f, 0x74, 0x72, 0x65, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x2f, 0x6c, 0x61, 0x6b, 145 0x65, 0x66, 0x73, 0x2f, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2f, 0x6d, 0x75, 0x6c, 0x74, 146 0x69, 0x70, 0x61, 0x72, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 147 } 148 149 var ( 150 file_gateway_multipart_multipart_proto_rawDescOnce sync.Once 151 file_gateway_multipart_multipart_proto_rawDescData = file_gateway_multipart_multipart_proto_rawDesc 152 ) 153 154 func file_gateway_multipart_multipart_proto_rawDescGZIP() []byte { 155 file_gateway_multipart_multipart_proto_rawDescOnce.Do(func() { 156 file_gateway_multipart_multipart_proto_rawDescData = protoimpl.X.CompressGZIP(file_gateway_multipart_multipart_proto_rawDescData) 157 }) 158 return file_gateway_multipart_multipart_proto_rawDescData 159 } 160 161 var file_gateway_multipart_multipart_proto_msgTypes = make([]protoimpl.MessageInfo, 2) 162 var file_gateway_multipart_multipart_proto_goTypes = []interface{}{ 163 (*UploadData)(nil), // 0: io.treeverse.lakefs.multipart.UploadData 164 nil, // 1: io.treeverse.lakefs.multipart.UploadData.MetadataEntry 165 (*timestamppb.Timestamp)(nil), // 2: google.protobuf.Timestamp 166 } 167 var file_gateway_multipart_multipart_proto_depIdxs = []int32{ 168 2, // 0: io.treeverse.lakefs.multipart.UploadData.creation_date:type_name -> google.protobuf.Timestamp 169 1, // 1: io.treeverse.lakefs.multipart.UploadData.metadata:type_name -> io.treeverse.lakefs.multipart.UploadData.MetadataEntry 170 2, // [2:2] is the sub-list for method output_type 171 2, // [2:2] is the sub-list for method input_type 172 2, // [2:2] is the sub-list for extension type_name 173 2, // [2:2] is the sub-list for extension extendee 174 0, // [0:2] is the sub-list for field type_name 175 } 176 177 func init() { file_gateway_multipart_multipart_proto_init() } 178 func file_gateway_multipart_multipart_proto_init() { 179 if File_gateway_multipart_multipart_proto != nil { 180 return 181 } 182 if !protoimpl.UnsafeEnabled { 183 file_gateway_multipart_multipart_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 184 switch v := v.(*UploadData); i { 185 case 0: 186 return &v.state 187 case 1: 188 return &v.sizeCache 189 case 2: 190 return &v.unknownFields 191 default: 192 return nil 193 } 194 } 195 } 196 type x struct{} 197 out := protoimpl.TypeBuilder{ 198 File: protoimpl.DescBuilder{ 199 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 200 RawDescriptor: file_gateway_multipart_multipart_proto_rawDesc, 201 NumEnums: 0, 202 NumMessages: 2, 203 NumExtensions: 0, 204 NumServices: 0, 205 }, 206 GoTypes: file_gateway_multipart_multipart_proto_goTypes, 207 DependencyIndexes: file_gateway_multipart_multipart_proto_depIdxs, 208 MessageInfos: file_gateway_multipart_multipart_proto_msgTypes, 209 }.Build() 210 File_gateway_multipart_multipart_proto = out.File 211 file_gateway_multipart_multipart_proto_rawDesc = nil 212 file_gateway_multipart_multipart_proto_goTypes = nil 213 file_gateway_multipart_multipart_proto_depIdxs = nil 214 }