All checks were successful
DCO / DCO (pull_request) Successful in 47s
Signed-off-by: Pavel Gross <p.gross@yadro.com>
452 lines
No EOL
11 KiB
C#
452 lines
No EOL
11 KiB
C#
using FrostFS.Session;
|
|
using Google.Protobuf;
|
|
|
|
namespace FrostFS.Object
|
|
{
|
|
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 PutSingleRequest : 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 PutSingleResponse : 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 HeadRequest : 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 HeadResponse : 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 SearchRequest : 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 SearchResponse : 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 GetRangeRequest : 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 GetRangeResponse : 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 GetRangeHashRequest : 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 GetRangeHashResponse : 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;
|
|
}
|
|
}
|
|
} |