2020-12-21 07:52:34 +00:00
|
|
|
package audit
|
|
|
|
|
|
|
|
import (
|
2022-12-09 11:16:24 +00:00
|
|
|
refs "github.com/TrueCloudLab/frostfs-api-go/v2/refs/grpc"
|
2020-12-21 07:52:34 +00:00
|
|
|
)
|
|
|
|
|
2020-12-21 14:35:03 +00:00
|
|
|
// SetVersion is a Version field setter.
|
|
|
|
func (x *DataAuditResult) SetVersion(v *refs.Version) {
|
2022-03-23 11:42:57 +00:00
|
|
|
x.Version = v
|
2020-12-21 14:35:03 +00:00
|
|
|
}
|
|
|
|
|
2020-12-21 07:52:34 +00:00
|
|
|
// SetAuditEpoch is an AuditEpoch field setter.
|
|
|
|
func (x *DataAuditResult) SetAuditEpoch(v uint64) {
|
2022-03-23 11:42:57 +00:00
|
|
|
x.AuditEpoch = v
|
2020-12-21 07:52:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// SetContainerId is a ContainerId field setter.
|
|
|
|
func (x *DataAuditResult) SetContainerId(v *refs.ContainerID) {
|
2022-03-23 11:42:57 +00:00
|
|
|
x.ContainerId = v
|
2020-12-21 07:52:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// SetPublicKey is a PublicKey field setter.
|
|
|
|
func (x *DataAuditResult) SetPublicKey(v []byte) {
|
2022-03-23 11:42:57 +00:00
|
|
|
x.PublicKey = v
|
2020-12-21 07:52:34 +00:00
|
|
|
}
|
|
|
|
|
2020-12-21 14:35:03 +00:00
|
|
|
// SetComplete is a Complete field setter.
|
|
|
|
func (x *DataAuditResult) SetComplete(v bool) {
|
2022-03-23 11:42:57 +00:00
|
|
|
x.Complete = v
|
2020-12-21 14:35:03 +00:00
|
|
|
}
|
|
|
|
|
2020-12-23 15:45:00 +00:00
|
|
|
// SetRequests is a Requests field setter.
|
|
|
|
func (x *DataAuditResult) SetRequests(v uint32) {
|
2022-03-23 11:42:57 +00:00
|
|
|
x.Requests = v
|
2020-12-23 15:45:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// SetRetries is a Retries field setter.
|
|
|
|
func (x *DataAuditResult) SetRetries(v uint32) {
|
2022-03-23 11:42:57 +00:00
|
|
|
x.Retries = v
|
2020-12-23 15:45:00 +00:00
|
|
|
}
|
|
|
|
|
2020-12-21 07:52:34 +00:00
|
|
|
// SetPassSg is a PassSg field setter.
|
|
|
|
func (x *DataAuditResult) SetPassSg(v []*refs.ObjectID) {
|
2022-03-23 11:42:57 +00:00
|
|
|
x.PassSg = v
|
2020-12-21 07:52:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// SetFailSg is a FailSg field setter.
|
|
|
|
func (x *DataAuditResult) SetFailSg(v []*refs.ObjectID) {
|
2022-03-23 11:42:57 +00:00
|
|
|
x.FailSg = v
|
2020-12-21 07:52:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// SetHit is a Hit field setter.
|
|
|
|
func (x *DataAuditResult) SetHit(v uint32) {
|
2022-03-23 11:42:57 +00:00
|
|
|
x.Hit = v
|
2020-12-21 07:52:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// SetMiss is a Miss field setter.
|
|
|
|
func (x *DataAuditResult) SetMiss(v uint32) {
|
2022-03-23 11:42:57 +00:00
|
|
|
x.Miss = v
|
2020-12-21 07:52:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// SetFail is a Fail field setter.
|
|
|
|
func (x *DataAuditResult) SetFail(v uint32) {
|
2022-03-23 11:42:57 +00:00
|
|
|
x.Fail = v
|
2020-12-21 07:52:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// SetPassNodes is a PassNodes field setter.
|
|
|
|
func (x *DataAuditResult) SetPassNodes(v [][]byte) {
|
2022-03-23 11:42:57 +00:00
|
|
|
x.PassNodes = v
|
2020-12-21 07:52:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// SetFailNodes is a FailNodes field setter.
|
|
|
|
func (x *DataAuditResult) SetFailNodes(v [][]byte) {
|
2022-03-23 11:42:57 +00:00
|
|
|
x.FailNodes = v
|
2020-12-21 07:52:34 +00:00
|
|
|
}
|