397 lines
9.9 KiB
C#
397 lines
9.9 KiB
C#
using Google.Protobuf;
|
|
using FrostFS.Session;
|
|
|
|
namespace FrostFS.Container
|
|
{
|
|
public partial class AnnounceUsedSpaceRequest : IRequest
|
|
{
|
|
IMetaHeader IVerificableMessage.GetMetaHeader()
|
|
{
|
|
return MetaHeader;
|
|
}
|
|
|
|
IVerificationHeader IVerificableMessage.GetVerificationHeader()
|
|
{
|
|
return VerifyHeader;
|
|
}
|
|
|
|
void IVerificableMessage.SetMetaHeader(IMetaHeader metaHeader)
|
|
{
|
|
MetaHeader = (RequestMetaHeader)metaHeader;
|
|
}
|
|
|
|
void IVerificableMessage.SetVerificationHeader(IVerificationHeader verificationHeader)
|
|
{
|
|
VerifyHeader = (RequestVerificationHeader)verificationHeader;
|
|
}
|
|
|
|
public IMessage GetBody()
|
|
{
|
|
return Body;
|
|
}
|
|
}
|
|
|
|
public partial class AnnounceUsedSpaceResponse : IResponse
|
|
{
|
|
IMetaHeader IVerificableMessage.GetMetaHeader()
|
|
{
|
|
return MetaHeader;
|
|
}
|
|
|
|
IVerificationHeader IVerificableMessage.GetVerificationHeader()
|
|
{
|
|
return VerifyHeader;
|
|
}
|
|
|
|
void IVerificableMessage.SetMetaHeader(IMetaHeader metaHeader)
|
|
{
|
|
MetaHeader = (ResponseMetaHeader)metaHeader;
|
|
}
|
|
|
|
void IVerificableMessage.SetVerificationHeader(IVerificationHeader verificationHeader)
|
|
{
|
|
VerifyHeader = (ResponseVerificationHeader)verificationHeader;
|
|
}
|
|
|
|
public IMessage GetBody()
|
|
{
|
|
return Body;
|
|
}
|
|
}
|
|
|
|
public partial class GetRequest : IRequest
|
|
{
|
|
IMetaHeader IVerificableMessage.GetMetaHeader()
|
|
{
|
|
return MetaHeader;
|
|
}
|
|
|
|
IVerificationHeader IVerificableMessage.GetVerificationHeader()
|
|
{
|
|
return VerifyHeader;
|
|
}
|
|
|
|
void IVerificableMessage.SetMetaHeader(IMetaHeader metaHeader)
|
|
{
|
|
MetaHeader = (RequestMetaHeader)metaHeader;
|
|
}
|
|
|
|
void IVerificableMessage.SetVerificationHeader(IVerificationHeader verificationHeader)
|
|
{
|
|
VerifyHeader = (RequestVerificationHeader)verificationHeader;
|
|
}
|
|
|
|
public IMessage GetBody()
|
|
{
|
|
return Body;
|
|
}
|
|
}
|
|
|
|
public partial class GetResponse : IResponse
|
|
{
|
|
IMetaHeader IVerificableMessage.GetMetaHeader()
|
|
{
|
|
return MetaHeader;
|
|
}
|
|
|
|
IVerificationHeader IVerificableMessage.GetVerificationHeader()
|
|
{
|
|
return VerifyHeader;
|
|
}
|
|
|
|
void IVerificableMessage.SetMetaHeader(IMetaHeader metaHeader)
|
|
{
|
|
MetaHeader = (ResponseMetaHeader)metaHeader;
|
|
}
|
|
|
|
void IVerificableMessage.SetVerificationHeader(IVerificationHeader verificationHeader)
|
|
{
|
|
VerifyHeader = (ResponseVerificationHeader)verificationHeader;
|
|
}
|
|
|
|
public IMessage GetBody()
|
|
{
|
|
return Body;
|
|
}
|
|
}
|
|
|
|
public partial class PutRequest : IRequest
|
|
{
|
|
IMetaHeader IVerificableMessage.GetMetaHeader()
|
|
{
|
|
return MetaHeader;
|
|
}
|
|
|
|
IVerificationHeader IVerificableMessage.GetVerificationHeader()
|
|
{
|
|
return VerifyHeader;
|
|
}
|
|
|
|
void IVerificableMessage.SetMetaHeader(IMetaHeader metaHeader)
|
|
{
|
|
MetaHeader = (RequestMetaHeader)metaHeader;
|
|
}
|
|
|
|
void IVerificableMessage.SetVerificationHeader(IVerificationHeader verificationHeader)
|
|
{
|
|
VerifyHeader = (RequestVerificationHeader)verificationHeader;
|
|
}
|
|
|
|
public IMessage GetBody()
|
|
{
|
|
return Body;
|
|
}
|
|
}
|
|
|
|
public partial class PutResponse : IResponse
|
|
{
|
|
IMetaHeader IVerificableMessage.GetMetaHeader()
|
|
{
|
|
return MetaHeader;
|
|
}
|
|
|
|
IVerificationHeader IVerificableMessage.GetVerificationHeader()
|
|
{
|
|
return VerifyHeader;
|
|
}
|
|
|
|
void IVerificableMessage.SetMetaHeader(IMetaHeader metaHeader)
|
|
{
|
|
MetaHeader = (ResponseMetaHeader)metaHeader;
|
|
}
|
|
|
|
void IVerificableMessage.SetVerificationHeader(IVerificationHeader verificationHeader)
|
|
{
|
|
VerifyHeader = (ResponseVerificationHeader)verificationHeader;
|
|
}
|
|
|
|
public IMessage GetBody()
|
|
{
|
|
return Body;
|
|
}
|
|
}
|
|
|
|
public partial class DeleteRequest : IRequest
|
|
{
|
|
IMetaHeader IVerificableMessage.GetMetaHeader()
|
|
{
|
|
return MetaHeader;
|
|
}
|
|
|
|
IVerificationHeader IVerificableMessage.GetVerificationHeader()
|
|
{
|
|
return VerifyHeader;
|
|
}
|
|
|
|
void IVerificableMessage.SetMetaHeader(IMetaHeader metaHeader)
|
|
{
|
|
MetaHeader = (RequestMetaHeader)metaHeader;
|
|
}
|
|
|
|
void IVerificableMessage.SetVerificationHeader(IVerificationHeader verificationHeader)
|
|
{
|
|
VerifyHeader = (RequestVerificationHeader)verificationHeader;
|
|
}
|
|
|
|
public IMessage GetBody()
|
|
{
|
|
return Body;
|
|
}
|
|
}
|
|
|
|
public partial class DeleteResponse : IResponse
|
|
{
|
|
IMetaHeader IVerificableMessage.GetMetaHeader()
|
|
{
|
|
return MetaHeader;
|
|
}
|
|
|
|
IVerificationHeader IVerificableMessage.GetVerificationHeader()
|
|
{
|
|
return VerifyHeader;
|
|
}
|
|
|
|
void IVerificableMessage.SetMetaHeader(IMetaHeader metaHeader)
|
|
{
|
|
MetaHeader = (ResponseMetaHeader)metaHeader;
|
|
}
|
|
|
|
void IVerificableMessage.SetVerificationHeader(IVerificationHeader verificationHeader)
|
|
{
|
|
VerifyHeader = (ResponseVerificationHeader)verificationHeader;
|
|
}
|
|
|
|
public IMessage GetBody()
|
|
{
|
|
return Body;
|
|
}
|
|
}
|
|
|
|
public partial class ListRequest : IRequest
|
|
{
|
|
IMetaHeader IVerificableMessage.GetMetaHeader()
|
|
{
|
|
return MetaHeader;
|
|
}
|
|
|
|
IVerificationHeader IVerificableMessage.GetVerificationHeader()
|
|
{
|
|
return VerifyHeader;
|
|
}
|
|
|
|
void IVerificableMessage.SetMetaHeader(IMetaHeader metaHeader)
|
|
{
|
|
MetaHeader = (RequestMetaHeader)metaHeader;
|
|
}
|
|
|
|
void IVerificableMessage.SetVerificationHeader(IVerificationHeader verificationHeader)
|
|
{
|
|
VerifyHeader = (RequestVerificationHeader)verificationHeader;
|
|
}
|
|
|
|
public IMessage GetBody()
|
|
{
|
|
return Body;
|
|
}
|
|
}
|
|
|
|
public partial class ListResponse : IResponse
|
|
{
|
|
IMetaHeader IVerificableMessage.GetMetaHeader()
|
|
{
|
|
return MetaHeader;
|
|
}
|
|
|
|
IVerificationHeader IVerificableMessage.GetVerificationHeader()
|
|
{
|
|
return VerifyHeader;
|
|
}
|
|
|
|
void IVerificableMessage.SetMetaHeader(IMetaHeader metaHeader)
|
|
{
|
|
MetaHeader = (ResponseMetaHeader)metaHeader;
|
|
}
|
|
|
|
void IVerificableMessage.SetVerificationHeader(IVerificationHeader verificationHeader)
|
|
{
|
|
VerifyHeader = (ResponseVerificationHeader)verificationHeader;
|
|
}
|
|
|
|
public IMessage GetBody()
|
|
{
|
|
return Body;
|
|
}
|
|
}
|
|
|
|
public partial class SetExtendedACLRequest : IRequest
|
|
{
|
|
IMetaHeader IVerificableMessage.GetMetaHeader()
|
|
{
|
|
return MetaHeader;
|
|
}
|
|
|
|
IVerificationHeader IVerificableMessage.GetVerificationHeader()
|
|
{
|
|
return VerifyHeader;
|
|
}
|
|
|
|
void IVerificableMessage.SetMetaHeader(IMetaHeader metaHeader)
|
|
{
|
|
MetaHeader = (RequestMetaHeader)metaHeader;
|
|
}
|
|
|
|
void IVerificableMessage.SetVerificationHeader(IVerificationHeader verificationHeader)
|
|
{
|
|
VerifyHeader = (RequestVerificationHeader)verificationHeader;
|
|
}
|
|
|
|
public IMessage GetBody()
|
|
{
|
|
return Body;
|
|
}
|
|
}
|
|
|
|
public partial class SetExtendedACLResponse : IResponse
|
|
{
|
|
IMetaHeader IVerificableMessage.GetMetaHeader()
|
|
{
|
|
return MetaHeader;
|
|
}
|
|
|
|
IVerificationHeader IVerificableMessage.GetVerificationHeader()
|
|
{
|
|
return VerifyHeader;
|
|
}
|
|
|
|
void IVerificableMessage.SetMetaHeader(IMetaHeader metaHeader)
|
|
{
|
|
MetaHeader = (ResponseMetaHeader)metaHeader;
|
|
}
|
|
|
|
void IVerificableMessage.SetVerificationHeader(IVerificationHeader verificationHeader)
|
|
{
|
|
VerifyHeader = (ResponseVerificationHeader)verificationHeader;
|
|
}
|
|
|
|
public IMessage GetBody()
|
|
{
|
|
return Body;
|
|
}
|
|
}
|
|
|
|
public partial class GetExtendedACLRequest : IRequest
|
|
{
|
|
IMetaHeader IVerificableMessage.GetMetaHeader()
|
|
{
|
|
return MetaHeader;
|
|
}
|
|
|
|
IVerificationHeader IVerificableMessage.GetVerificationHeader()
|
|
{
|
|
return VerifyHeader;
|
|
}
|
|
|
|
void IVerificableMessage.SetMetaHeader(IMetaHeader metaHeader)
|
|
{
|
|
MetaHeader = (RequestMetaHeader)metaHeader;
|
|
}
|
|
|
|
void IVerificableMessage.SetVerificationHeader(IVerificationHeader verificationHeader)
|
|
{
|
|
VerifyHeader = (RequestVerificationHeader)verificationHeader;
|
|
}
|
|
|
|
public IMessage GetBody()
|
|
{
|
|
return Body;
|
|
}
|
|
}
|
|
|
|
public partial class GetExtendedACLResponse : IResponse
|
|
{
|
|
IMetaHeader IVerificableMessage.GetMetaHeader()
|
|
{
|
|
return MetaHeader;
|
|
}
|
|
|
|
IVerificationHeader IVerificableMessage.GetVerificationHeader()
|
|
{
|
|
return VerifyHeader;
|
|
}
|
|
|
|
void IVerificableMessage.SetMetaHeader(IMetaHeader metaHeader)
|
|
{
|
|
MetaHeader = (ResponseMetaHeader)metaHeader;
|
|
}
|
|
|
|
void IVerificableMessage.SetVerificationHeader(IVerificationHeader verificationHeader)
|
|
{
|
|
VerifyHeader = (ResponseVerificationHeader)verificationHeader;
|
|
}
|
|
|
|
public IMessage GetBody()
|
|
{
|
|
return Body;
|
|
}
|
|
}
|
|
}
|