Regenerate stable marshalers #557
8 changed files with 348 additions and 6 deletions
4
go.mod
4
go.mod
|
@ -3,10 +3,10 @@ module git.frostfs.info/TrueCloudLab/frostfs-node
|
||||||
go 1.19
|
go 1.19
|
||||||
|
|
||||||
require (
|
require (
|
||||||
git.frostfs.info/TrueCloudLab/frostfs-api-go/v2 v2.15.1-0.20230726155259-7a5ee927c8a2
|
git.frostfs.info/TrueCloudLab/frostfs-api-go/v2 v2.15.1-0.20230802075510-964c3edb3f44
|
||||||
git.frostfs.info/TrueCloudLab/frostfs-contract v0.0.0-20230627134746-36f3d39c406a
|
git.frostfs.info/TrueCloudLab/frostfs-contract v0.0.0-20230627134746-36f3d39c406a
|
||||||
git.frostfs.info/TrueCloudLab/frostfs-observability v0.0.0-20230531082742-c97d21411eb6
|
git.frostfs.info/TrueCloudLab/frostfs-observability v0.0.0-20230531082742-c97d21411eb6
|
||||||
git.frostfs.info/TrueCloudLab/frostfs-sdk-go v0.0.0-20230801095957-13d0b170d2ad
|
git.frostfs.info/TrueCloudLab/frostfs-sdk-go v0.0.0-20230802090410-95b987b818d9
|
||||||
git.frostfs.info/TrueCloudLab/hrw v1.2.1
|
git.frostfs.info/TrueCloudLab/hrw v1.2.1
|
||||||
git.frostfs.info/TrueCloudLab/tzhash v1.8.0
|
git.frostfs.info/TrueCloudLab/tzhash v1.8.0
|
||||||
github.com/cheggaaa/pb v1.0.29
|
github.com/cheggaaa/pb v1.0.29
|
||||||
|
|
8
go.sum
8
go.sum
|
@ -36,16 +36,16 @@ cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RX
|
||||||
cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0=
|
cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0=
|
||||||
cloud.google.com/go/storage v1.14.0/go.mod h1:GrKmX003DSIwi9o29oFT7YDnHYwZoctc3fOKtUw0Xmo=
|
cloud.google.com/go/storage v1.14.0/go.mod h1:GrKmX003DSIwi9o29oFT7YDnHYwZoctc3fOKtUw0Xmo=
|
||||||
dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU=
|
dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU=
|
||||||
git.frostfs.info/TrueCloudLab/frostfs-api-go/v2 v2.15.1-0.20230726155259-7a5ee927c8a2 h1:5QUnWafFc0RprHCpQ3d1T4MEo2fvGjL/3GPeB0w54mA=
|
git.frostfs.info/TrueCloudLab/frostfs-api-go/v2 v2.15.1-0.20230802075510-964c3edb3f44 h1:v6JqBD/VzZx3QSxbaXnUwnnJ1KEYheU4LzLGr3IhsAE=
|
||||||
git.frostfs.info/TrueCloudLab/frostfs-api-go/v2 v2.15.1-0.20230726155259-7a5ee927c8a2/go.mod h1:pKJJRLOChW4zDQsAt1e8k/snWKljJtpkiPfxV53ngjI=
|
git.frostfs.info/TrueCloudLab/frostfs-api-go/v2 v2.15.1-0.20230802075510-964c3edb3f44/go.mod h1:pKJJRLOChW4zDQsAt1e8k/snWKljJtpkiPfxV53ngjI=
|
||||||
git.frostfs.info/TrueCloudLab/frostfs-contract v0.0.0-20230627134746-36f3d39c406a h1:EeaOunifY30ATPzOo1F32vUDW299UXDHYukZrIVxBZ0=
|
git.frostfs.info/TrueCloudLab/frostfs-contract v0.0.0-20230627134746-36f3d39c406a h1:EeaOunifY30ATPzOo1F32vUDW299UXDHYukZrIVxBZ0=
|
||||||
git.frostfs.info/TrueCloudLab/frostfs-contract v0.0.0-20230627134746-36f3d39c406a/go.mod h1:nkR5gaGeez3Zv2SE7aceP0YwxG2FzIB5cGKpQO2vV2o=
|
git.frostfs.info/TrueCloudLab/frostfs-contract v0.0.0-20230627134746-36f3d39c406a/go.mod h1:nkR5gaGeez3Zv2SE7aceP0YwxG2FzIB5cGKpQO2vV2o=
|
||||||
git.frostfs.info/TrueCloudLab/frostfs-crypto v0.6.0 h1:FxqFDhQYYgpe41qsIHVOcdzSVCB8JNSfPG7Uk4r2oSk=
|
git.frostfs.info/TrueCloudLab/frostfs-crypto v0.6.0 h1:FxqFDhQYYgpe41qsIHVOcdzSVCB8JNSfPG7Uk4r2oSk=
|
||||||
git.frostfs.info/TrueCloudLab/frostfs-crypto v0.6.0/go.mod h1:RUIKZATQLJ+TaYQa60X2fTDwfuhMfm8Ar60bQ5fr+vU=
|
git.frostfs.info/TrueCloudLab/frostfs-crypto v0.6.0/go.mod h1:RUIKZATQLJ+TaYQa60X2fTDwfuhMfm8Ar60bQ5fr+vU=
|
||||||
git.frostfs.info/TrueCloudLab/frostfs-observability v0.0.0-20230531082742-c97d21411eb6 h1:aGQ6QaAnTerQ5Dq5b2/f9DUQtSqPkZZ/bkMx/HKuLCo=
|
git.frostfs.info/TrueCloudLab/frostfs-observability v0.0.0-20230531082742-c97d21411eb6 h1:aGQ6QaAnTerQ5Dq5b2/f9DUQtSqPkZZ/bkMx/HKuLCo=
|
||||||
git.frostfs.info/TrueCloudLab/frostfs-observability v0.0.0-20230531082742-c97d21411eb6/go.mod h1:W8Nn08/l6aQ7UlIbpF7FsQou7TVpcRD1ZT1KG4TrFhE=
|
git.frostfs.info/TrueCloudLab/frostfs-observability v0.0.0-20230531082742-c97d21411eb6/go.mod h1:W8Nn08/l6aQ7UlIbpF7FsQou7TVpcRD1ZT1KG4TrFhE=
|
||||||
git.frostfs.info/TrueCloudLab/frostfs-sdk-go v0.0.0-20230801095957-13d0b170d2ad h1:jD6Dv6Eg/HApmQOFoJPSVXP9xQF/KSVoSf9AZkmKyRA=
|
git.frostfs.info/TrueCloudLab/frostfs-sdk-go v0.0.0-20230802090410-95b987b818d9 h1:sCCTrMISLhfwqzbmUFvNW8MbwO1jzIHYgcEkxmokLd4=
|
||||||
git.frostfs.info/TrueCloudLab/frostfs-sdk-go v0.0.0-20230801095957-13d0b170d2ad/go.mod h1:NWY5C3PfVNBOv/phNh9J86ZQdsXoItRNPx8GyPeleFU=
|
git.frostfs.info/TrueCloudLab/frostfs-sdk-go v0.0.0-20230802090410-95b987b818d9/go.mod h1:LI2GOj0pEx0jYTjB3QHja2PNhQFYL2pCm71RAFwDv0M=
|
||||||
git.frostfs.info/TrueCloudLab/hrw v1.2.1 h1:ccBRK21rFvY5R1WotI6LNoPlizk7qSvdfD8lNIRudVc=
|
git.frostfs.info/TrueCloudLab/hrw v1.2.1 h1:ccBRK21rFvY5R1WotI6LNoPlizk7qSvdfD8lNIRudVc=
|
||||||
git.frostfs.info/TrueCloudLab/hrw v1.2.1/go.mod h1:C1Ygde2n843yTZEQ0FP69jYiuaYV0kriLvP4zm8JuvM=
|
git.frostfs.info/TrueCloudLab/hrw v1.2.1/go.mod h1:C1Ygde2n843yTZEQ0FP69jYiuaYV0kriLvP4zm8JuvM=
|
||||||
git.frostfs.info/TrueCloudLab/rfc6979 v0.4.0 h1:M2KR3iBj7WpY3hP10IevfIB9MURr4O9mwVfJ+SjT3HA=
|
git.frostfs.info/TrueCloudLab/rfc6979 v0.4.0 h1:M2KR3iBj7WpY3hP10IevfIB9MURr4O9mwVfJ+SjT3HA=
|
||||||
|
|
36
pkg/services/control/ir/service_frostfs.pb.go
generated
36
pkg/services/control/ir/service_frostfs.pb.go
generated
|
@ -8,6 +8,9 @@ import "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/util/proto"
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *HealthCheckRequest_Body) StableSize() (size int) {
|
func (x *HealthCheckRequest_Body) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
return size
|
return size
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -27,6 +30,9 @@ func (x *HealthCheckRequest_Body) StableMarshal(buf []byte) []byte {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *HealthCheckRequest) StableSize() (size int) {
|
func (x *HealthCheckRequest) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.NestedStructureSize(1, x.Body)
|
size += proto.NestedStructureSize(1, x.Body)
|
||||||
size += proto.NestedStructureSize(2, x.Signature)
|
size += proto.NestedStructureSize(2, x.Signature)
|
||||||
return size
|
return size
|
||||||
|
@ -79,6 +85,9 @@ func (x *HealthCheckRequest) SetSignature(sig *Signature) {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *HealthCheckResponse_Body) StableSize() (size int) {
|
func (x *HealthCheckResponse_Body) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.EnumSize(1, int32(x.HealthStatus))
|
size += proto.EnumSize(1, int32(x.HealthStatus))
|
||||||
return size
|
return size
|
||||||
}
|
}
|
||||||
|
@ -107,6 +116,9 @@ func (x *HealthCheckResponse_Body) StableMarshal(buf []byte) []byte {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *HealthCheckResponse) StableSize() (size int) {
|
func (x *HealthCheckResponse) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.NestedStructureSize(1, x.Body)
|
size += proto.NestedStructureSize(1, x.Body)
|
||||||
size += proto.NestedStructureSize(2, x.Signature)
|
size += proto.NestedStructureSize(2, x.Signature)
|
||||||
return size
|
return size
|
||||||
|
@ -159,6 +171,9 @@ func (x *HealthCheckResponse) SetSignature(sig *Signature) {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *TickEpochRequest_Body) StableSize() (size int) {
|
func (x *TickEpochRequest_Body) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
return size
|
return size
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -178,6 +193,9 @@ func (x *TickEpochRequest_Body) StableMarshal(buf []byte) []byte {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *TickEpochRequest) StableSize() (size int) {
|
func (x *TickEpochRequest) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.NestedStructureSize(1, x.Body)
|
size += proto.NestedStructureSize(1, x.Body)
|
||||||
size += proto.NestedStructureSize(2, x.Signature)
|
size += proto.NestedStructureSize(2, x.Signature)
|
||||||
return size
|
return size
|
||||||
|
@ -230,6 +248,9 @@ func (x *TickEpochRequest) SetSignature(sig *Signature) {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *TickEpochResponse_Body) StableSize() (size int) {
|
func (x *TickEpochResponse_Body) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
return size
|
return size
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -249,6 +270,9 @@ func (x *TickEpochResponse_Body) StableMarshal(buf []byte) []byte {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *TickEpochResponse) StableSize() (size int) {
|
func (x *TickEpochResponse) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.NestedStructureSize(1, x.Body)
|
size += proto.NestedStructureSize(1, x.Body)
|
||||||
size += proto.NestedStructureSize(2, x.Signature)
|
size += proto.NestedStructureSize(2, x.Signature)
|
||||||
return size
|
return size
|
||||||
|
@ -301,6 +325,9 @@ func (x *TickEpochResponse) SetSignature(sig *Signature) {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *RemoveNodeRequest_Body) StableSize() (size int) {
|
func (x *RemoveNodeRequest_Body) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.BytesSize(1, x.Key)
|
size += proto.BytesSize(1, x.Key)
|
||||||
return size
|
return size
|
||||||
}
|
}
|
||||||
|
@ -329,6 +356,9 @@ func (x *RemoveNodeRequest_Body) StableMarshal(buf []byte) []byte {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *RemoveNodeRequest) StableSize() (size int) {
|
func (x *RemoveNodeRequest) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.NestedStructureSize(1, x.Body)
|
size += proto.NestedStructureSize(1, x.Body)
|
||||||
size += proto.NestedStructureSize(2, x.Signature)
|
size += proto.NestedStructureSize(2, x.Signature)
|
||||||
return size
|
return size
|
||||||
|
@ -381,6 +411,9 @@ func (x *RemoveNodeRequest) SetSignature(sig *Signature) {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *RemoveNodeResponse_Body) StableSize() (size int) {
|
func (x *RemoveNodeResponse_Body) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
return size
|
return size
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -400,6 +433,9 @@ func (x *RemoveNodeResponse_Body) StableMarshal(buf []byte) []byte {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *RemoveNodeResponse) StableSize() (size int) {
|
func (x *RemoveNodeResponse) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.NestedStructureSize(1, x.Body)
|
size += proto.NestedStructureSize(1, x.Body)
|
||||||
size += proto.NestedStructureSize(2, x.Signature)
|
size += proto.NestedStructureSize(2, x.Signature)
|
||||||
return size
|
return size
|
||||||
|
|
3
pkg/services/control/ir/types_frostfs.pb.go
generated
3
pkg/services/control/ir/types_frostfs.pb.go
generated
|
@ -8,6 +8,9 @@ import "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/util/proto"
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *Signature) StableSize() (size int) {
|
func (x *Signature) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.BytesSize(1, x.Key)
|
size += proto.BytesSize(1, x.Key)
|
||||||
size += proto.BytesSize(2, x.Sign)
|
size += proto.BytesSize(2, x.Sign)
|
||||||
return size
|
return size
|
||||||
|
|
150
pkg/services/control/service_frostfs.pb.go
generated
150
pkg/services/control/service_frostfs.pb.go
generated
|
@ -8,6 +8,9 @@ import "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/util/proto"
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *HealthCheckRequest_Body) StableSize() (size int) {
|
func (x *HealthCheckRequest_Body) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
return size
|
return size
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -27,6 +30,9 @@ func (x *HealthCheckRequest_Body) StableMarshal(buf []byte) []byte {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *HealthCheckRequest) StableSize() (size int) {
|
func (x *HealthCheckRequest) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.NestedStructureSize(1, x.Body)
|
size += proto.NestedStructureSize(1, x.Body)
|
||||||
size += proto.NestedStructureSize(2, x.Signature)
|
size += proto.NestedStructureSize(2, x.Signature)
|
||||||
return size
|
return size
|
||||||
|
@ -79,6 +85,9 @@ func (x *HealthCheckRequest) SetSignature(sig *Signature) {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *HealthCheckResponse_Body) StableSize() (size int) {
|
func (x *HealthCheckResponse_Body) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.EnumSize(1, int32(x.NetmapStatus))
|
size += proto.EnumSize(1, int32(x.NetmapStatus))
|
||||||
size += proto.EnumSize(2, int32(x.HealthStatus))
|
size += proto.EnumSize(2, int32(x.HealthStatus))
|
||||||
return size
|
return size
|
||||||
|
@ -109,6 +118,9 @@ func (x *HealthCheckResponse_Body) StableMarshal(buf []byte) []byte {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *HealthCheckResponse) StableSize() (size int) {
|
func (x *HealthCheckResponse) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.NestedStructureSize(1, x.Body)
|
size += proto.NestedStructureSize(1, x.Body)
|
||||||
size += proto.NestedStructureSize(2, x.Signature)
|
size += proto.NestedStructureSize(2, x.Signature)
|
||||||
return size
|
return size
|
||||||
|
@ -161,6 +173,9 @@ func (x *HealthCheckResponse) SetSignature(sig *Signature) {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *SetNetmapStatusRequest_Body) StableSize() (size int) {
|
func (x *SetNetmapStatusRequest_Body) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.EnumSize(1, int32(x.Status))
|
size += proto.EnumSize(1, int32(x.Status))
|
||||||
size += proto.BoolSize(2, x.ForceMaintenance)
|
size += proto.BoolSize(2, x.ForceMaintenance)
|
||||||
return size
|
return size
|
||||||
|
@ -191,6 +206,9 @@ func (x *SetNetmapStatusRequest_Body) StableMarshal(buf []byte) []byte {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *SetNetmapStatusRequest) StableSize() (size int) {
|
func (x *SetNetmapStatusRequest) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.NestedStructureSize(1, x.Body)
|
size += proto.NestedStructureSize(1, x.Body)
|
||||||
size += proto.NestedStructureSize(2, x.Signature)
|
size += proto.NestedStructureSize(2, x.Signature)
|
||||||
return size
|
return size
|
||||||
|
@ -243,6 +261,9 @@ func (x *SetNetmapStatusRequest) SetSignature(sig *Signature) {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *SetNetmapStatusResponse_Body) StableSize() (size int) {
|
func (x *SetNetmapStatusResponse_Body) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
return size
|
return size
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -262,6 +283,9 @@ func (x *SetNetmapStatusResponse_Body) StableMarshal(buf []byte) []byte {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *SetNetmapStatusResponse) StableSize() (size int) {
|
func (x *SetNetmapStatusResponse) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.NestedStructureSize(1, x.Body)
|
size += proto.NestedStructureSize(1, x.Body)
|
||||||
size += proto.NestedStructureSize(2, x.Signature)
|
size += proto.NestedStructureSize(2, x.Signature)
|
||||||
return size
|
return size
|
||||||
|
@ -314,6 +338,9 @@ func (x *SetNetmapStatusResponse) SetSignature(sig *Signature) {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *DropObjectsRequest_Body) StableSize() (size int) {
|
func (x *DropObjectsRequest_Body) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.RepeatedBytesSize(1, x.AddressList)
|
size += proto.RepeatedBytesSize(1, x.AddressList)
|
||||||
return size
|
return size
|
||||||
}
|
}
|
||||||
|
@ -342,6 +369,9 @@ func (x *DropObjectsRequest_Body) StableMarshal(buf []byte) []byte {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *DropObjectsRequest) StableSize() (size int) {
|
func (x *DropObjectsRequest) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.NestedStructureSize(1, x.Body)
|
size += proto.NestedStructureSize(1, x.Body)
|
||||||
size += proto.NestedStructureSize(2, x.Signature)
|
size += proto.NestedStructureSize(2, x.Signature)
|
||||||
return size
|
return size
|
||||||
|
@ -394,6 +424,9 @@ func (x *DropObjectsRequest) SetSignature(sig *Signature) {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *DropObjectsResponse_Body) StableSize() (size int) {
|
func (x *DropObjectsResponse_Body) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
return size
|
return size
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -413,6 +446,9 @@ func (x *DropObjectsResponse_Body) StableMarshal(buf []byte) []byte {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *DropObjectsResponse) StableSize() (size int) {
|
func (x *DropObjectsResponse) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.NestedStructureSize(1, x.Body)
|
size += proto.NestedStructureSize(1, x.Body)
|
||||||
size += proto.NestedStructureSize(2, x.Signature)
|
size += proto.NestedStructureSize(2, x.Signature)
|
||||||
return size
|
return size
|
||||||
|
@ -465,6 +501,9 @@ func (x *DropObjectsResponse) SetSignature(sig *Signature) {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *ListShardsRequest_Body) StableSize() (size int) {
|
func (x *ListShardsRequest_Body) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
return size
|
return size
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -484,6 +523,9 @@ func (x *ListShardsRequest_Body) StableMarshal(buf []byte) []byte {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *ListShardsRequest) StableSize() (size int) {
|
func (x *ListShardsRequest) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.NestedStructureSize(1, x.Body)
|
size += proto.NestedStructureSize(1, x.Body)
|
||||||
size += proto.NestedStructureSize(2, x.Signature)
|
size += proto.NestedStructureSize(2, x.Signature)
|
||||||
return size
|
return size
|
||||||
|
@ -536,6 +578,9 @@ func (x *ListShardsRequest) SetSignature(sig *Signature) {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *ListShardsResponse_Body) StableSize() (size int) {
|
func (x *ListShardsResponse_Body) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
for i := range x.Shards {
|
for i := range x.Shards {
|
||||||
size += proto.NestedStructureSize(1, x.Shards[i])
|
size += proto.NestedStructureSize(1, x.Shards[i])
|
||||||
}
|
}
|
||||||
|
@ -568,6 +613,9 @@ func (x *ListShardsResponse_Body) StableMarshal(buf []byte) []byte {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *ListShardsResponse) StableSize() (size int) {
|
func (x *ListShardsResponse) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.NestedStructureSize(1, x.Body)
|
size += proto.NestedStructureSize(1, x.Body)
|
||||||
size += proto.NestedStructureSize(2, x.Signature)
|
size += proto.NestedStructureSize(2, x.Signature)
|
||||||
return size
|
return size
|
||||||
|
@ -620,6 +668,9 @@ func (x *ListShardsResponse) SetSignature(sig *Signature) {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *SetShardModeRequest_Body) StableSize() (size int) {
|
func (x *SetShardModeRequest_Body) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.RepeatedBytesSize(1, x.Shard_ID)
|
size += proto.RepeatedBytesSize(1, x.Shard_ID)
|
||||||
size += proto.EnumSize(2, int32(x.Mode))
|
size += proto.EnumSize(2, int32(x.Mode))
|
||||||
size += proto.BoolSize(3, x.ResetErrorCounter)
|
size += proto.BoolSize(3, x.ResetErrorCounter)
|
||||||
|
@ -652,6 +703,9 @@ func (x *SetShardModeRequest_Body) StableMarshal(buf []byte) []byte {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *SetShardModeRequest) StableSize() (size int) {
|
func (x *SetShardModeRequest) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.NestedStructureSize(1, x.Body)
|
size += proto.NestedStructureSize(1, x.Body)
|
||||||
size += proto.NestedStructureSize(2, x.Signature)
|
size += proto.NestedStructureSize(2, x.Signature)
|
||||||
return size
|
return size
|
||||||
|
@ -704,6 +758,9 @@ func (x *SetShardModeRequest) SetSignature(sig *Signature) {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *SetShardModeResponse_Body) StableSize() (size int) {
|
func (x *SetShardModeResponse_Body) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
return size
|
return size
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -723,6 +780,9 @@ func (x *SetShardModeResponse_Body) StableMarshal(buf []byte) []byte {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *SetShardModeResponse) StableSize() (size int) {
|
func (x *SetShardModeResponse) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.NestedStructureSize(1, x.Body)
|
size += proto.NestedStructureSize(1, x.Body)
|
||||||
size += proto.NestedStructureSize(2, x.Signature)
|
size += proto.NestedStructureSize(2, x.Signature)
|
||||||
return size
|
return size
|
||||||
|
@ -775,6 +835,9 @@ func (x *SetShardModeResponse) SetSignature(sig *Signature) {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *SynchronizeTreeRequest_Body) StableSize() (size int) {
|
func (x *SynchronizeTreeRequest_Body) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.BytesSize(1, x.ContainerId)
|
size += proto.BytesSize(1, x.ContainerId)
|
||||||
size += proto.StringSize(2, x.TreeId)
|
size += proto.StringSize(2, x.TreeId)
|
||||||
size += proto.UInt64Size(3, x.Height)
|
size += proto.UInt64Size(3, x.Height)
|
||||||
|
@ -807,6 +870,9 @@ func (x *SynchronizeTreeRequest_Body) StableMarshal(buf []byte) []byte {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *SynchronizeTreeRequest) StableSize() (size int) {
|
func (x *SynchronizeTreeRequest) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.NestedStructureSize(1, x.Body)
|
size += proto.NestedStructureSize(1, x.Body)
|
||||||
size += proto.NestedStructureSize(2, x.Signature)
|
size += proto.NestedStructureSize(2, x.Signature)
|
||||||
return size
|
return size
|
||||||
|
@ -859,6 +925,9 @@ func (x *SynchronizeTreeRequest) SetSignature(sig *Signature) {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *SynchronizeTreeResponse_Body) StableSize() (size int) {
|
func (x *SynchronizeTreeResponse_Body) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
return size
|
return size
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -878,6 +947,9 @@ func (x *SynchronizeTreeResponse_Body) StableMarshal(buf []byte) []byte {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *SynchronizeTreeResponse) StableSize() (size int) {
|
func (x *SynchronizeTreeResponse) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.NestedStructureSize(1, x.Body)
|
size += proto.NestedStructureSize(1, x.Body)
|
||||||
size += proto.NestedStructureSize(2, x.Signature)
|
size += proto.NestedStructureSize(2, x.Signature)
|
||||||
return size
|
return size
|
||||||
|
@ -930,6 +1002,9 @@ func (x *SynchronizeTreeResponse) SetSignature(sig *Signature) {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *EvacuateShardRequest_Body) StableSize() (size int) {
|
func (x *EvacuateShardRequest_Body) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.RepeatedBytesSize(1, x.Shard_ID)
|
size += proto.RepeatedBytesSize(1, x.Shard_ID)
|
||||||
size += proto.BoolSize(2, x.IgnoreErrors)
|
size += proto.BoolSize(2, x.IgnoreErrors)
|
||||||
return size
|
return size
|
||||||
|
@ -960,6 +1035,9 @@ func (x *EvacuateShardRequest_Body) StableMarshal(buf []byte) []byte {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *EvacuateShardRequest) StableSize() (size int) {
|
func (x *EvacuateShardRequest) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.NestedStructureSize(1, x.Body)
|
size += proto.NestedStructureSize(1, x.Body)
|
||||||
size += proto.NestedStructureSize(2, x.Signature)
|
size += proto.NestedStructureSize(2, x.Signature)
|
||||||
return size
|
return size
|
||||||
|
@ -1012,6 +1090,9 @@ func (x *EvacuateShardRequest) SetSignature(sig *Signature) {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *EvacuateShardResponse_Body) StableSize() (size int) {
|
func (x *EvacuateShardResponse_Body) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.UInt32Size(1, x.Count)
|
size += proto.UInt32Size(1, x.Count)
|
||||||
return size
|
return size
|
||||||
}
|
}
|
||||||
|
@ -1040,6 +1121,9 @@ func (x *EvacuateShardResponse_Body) StableMarshal(buf []byte) []byte {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *EvacuateShardResponse) StableSize() (size int) {
|
func (x *EvacuateShardResponse) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.NestedStructureSize(1, x.Body)
|
size += proto.NestedStructureSize(1, x.Body)
|
||||||
size += proto.NestedStructureSize(2, x.Signature)
|
size += proto.NestedStructureSize(2, x.Signature)
|
||||||
return size
|
return size
|
||||||
|
@ -1092,6 +1176,9 @@ func (x *EvacuateShardResponse) SetSignature(sig *Signature) {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *FlushCacheRequest_Body) StableSize() (size int) {
|
func (x *FlushCacheRequest_Body) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.RepeatedBytesSize(1, x.Shard_ID)
|
size += proto.RepeatedBytesSize(1, x.Shard_ID)
|
||||||
return size
|
return size
|
||||||
}
|
}
|
||||||
|
@ -1120,6 +1207,9 @@ func (x *FlushCacheRequest_Body) StableMarshal(buf []byte) []byte {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *FlushCacheRequest) StableSize() (size int) {
|
func (x *FlushCacheRequest) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.NestedStructureSize(1, x.Body)
|
size += proto.NestedStructureSize(1, x.Body)
|
||||||
size += proto.NestedStructureSize(2, x.Signature)
|
size += proto.NestedStructureSize(2, x.Signature)
|
||||||
return size
|
return size
|
||||||
|
@ -1172,6 +1262,9 @@ func (x *FlushCacheRequest) SetSignature(sig *Signature) {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *FlushCacheResponse_Body) StableSize() (size int) {
|
func (x *FlushCacheResponse_Body) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
return size
|
return size
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1191,6 +1284,9 @@ func (x *FlushCacheResponse_Body) StableMarshal(buf []byte) []byte {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *FlushCacheResponse) StableSize() (size int) {
|
func (x *FlushCacheResponse) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.NestedStructureSize(1, x.Body)
|
size += proto.NestedStructureSize(1, x.Body)
|
||||||
size += proto.NestedStructureSize(2, x.Signature)
|
size += proto.NestedStructureSize(2, x.Signature)
|
||||||
return size
|
return size
|
||||||
|
@ -1243,6 +1339,9 @@ func (x *FlushCacheResponse) SetSignature(sig *Signature) {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *DoctorRequest_Body) StableSize() (size int) {
|
func (x *DoctorRequest_Body) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.UInt32Size(1, x.Concurrency)
|
size += proto.UInt32Size(1, x.Concurrency)
|
||||||
size += proto.BoolSize(2, x.RemoveDuplicates)
|
size += proto.BoolSize(2, x.RemoveDuplicates)
|
||||||
return size
|
return size
|
||||||
|
@ -1273,6 +1372,9 @@ func (x *DoctorRequest_Body) StableMarshal(buf []byte) []byte {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *DoctorRequest) StableSize() (size int) {
|
func (x *DoctorRequest) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.NestedStructureSize(1, x.Body)
|
size += proto.NestedStructureSize(1, x.Body)
|
||||||
size += proto.NestedStructureSize(2, x.Signature)
|
size += proto.NestedStructureSize(2, x.Signature)
|
||||||
return size
|
return size
|
||||||
|
@ -1325,6 +1427,9 @@ func (x *DoctorRequest) SetSignature(sig *Signature) {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *DoctorResponse_Body) StableSize() (size int) {
|
func (x *DoctorResponse_Body) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
return size
|
return size
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1344,6 +1449,9 @@ func (x *DoctorResponse_Body) StableMarshal(buf []byte) []byte {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *DoctorResponse) StableSize() (size int) {
|
func (x *DoctorResponse) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.NestedStructureSize(1, x.Body)
|
size += proto.NestedStructureSize(1, x.Body)
|
||||||
size += proto.NestedStructureSize(2, x.Signature)
|
size += proto.NestedStructureSize(2, x.Signature)
|
||||||
return size
|
return size
|
||||||
|
@ -1396,6 +1504,9 @@ func (x *DoctorResponse) SetSignature(sig *Signature) {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *StartShardEvacuationRequest_Body) StableSize() (size int) {
|
func (x *StartShardEvacuationRequest_Body) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.RepeatedBytesSize(1, x.Shard_ID)
|
size += proto.RepeatedBytesSize(1, x.Shard_ID)
|
||||||
size += proto.BoolSize(2, x.IgnoreErrors)
|
size += proto.BoolSize(2, x.IgnoreErrors)
|
||||||
return size
|
return size
|
||||||
|
@ -1426,6 +1537,9 @@ func (x *StartShardEvacuationRequest_Body) StableMarshal(buf []byte) []byte {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *StartShardEvacuationRequest) StableSize() (size int) {
|
func (x *StartShardEvacuationRequest) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.NestedStructureSize(1, x.Body)
|
size += proto.NestedStructureSize(1, x.Body)
|
||||||
size += proto.NestedStructureSize(2, x.Signature)
|
size += proto.NestedStructureSize(2, x.Signature)
|
||||||
return size
|
return size
|
||||||
|
@ -1478,6 +1592,9 @@ func (x *StartShardEvacuationRequest) SetSignature(sig *Signature) {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *StartShardEvacuationResponse_Body) StableSize() (size int) {
|
func (x *StartShardEvacuationResponse_Body) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
return size
|
return size
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1497,6 +1614,9 @@ func (x *StartShardEvacuationResponse_Body) StableMarshal(buf []byte) []byte {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *StartShardEvacuationResponse) StableSize() (size int) {
|
func (x *StartShardEvacuationResponse) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.NestedStructureSize(1, x.Body)
|
size += proto.NestedStructureSize(1, x.Body)
|
||||||
size += proto.NestedStructureSize(2, x.Signature)
|
size += proto.NestedStructureSize(2, x.Signature)
|
||||||
return size
|
return size
|
||||||
|
@ -1549,6 +1669,9 @@ func (x *StartShardEvacuationResponse) SetSignature(sig *Signature) {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *GetShardEvacuationStatusRequest_Body) StableSize() (size int) {
|
func (x *GetShardEvacuationStatusRequest_Body) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
return size
|
return size
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1568,6 +1691,9 @@ func (x *GetShardEvacuationStatusRequest_Body) StableMarshal(buf []byte) []byte
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *GetShardEvacuationStatusRequest) StableSize() (size int) {
|
func (x *GetShardEvacuationStatusRequest) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.NestedStructureSize(1, x.Body)
|
size += proto.NestedStructureSize(1, x.Body)
|
||||||
size += proto.NestedStructureSize(2, x.Signature)
|
size += proto.NestedStructureSize(2, x.Signature)
|
||||||
return size
|
return size
|
||||||
|
@ -1620,6 +1746,9 @@ func (x *GetShardEvacuationStatusRequest) SetSignature(sig *Signature) {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *GetShardEvacuationStatusResponse_Body_UnixTimestamp) StableSize() (size int) {
|
func (x *GetShardEvacuationStatusResponse_Body_UnixTimestamp) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.Int64Size(1, x.Value)
|
size += proto.Int64Size(1, x.Value)
|
||||||
return size
|
return size
|
||||||
}
|
}
|
||||||
|
@ -1648,6 +1777,9 @@ func (x *GetShardEvacuationStatusResponse_Body_UnixTimestamp) StableMarshal(buf
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *GetShardEvacuationStatusResponse_Body_Duration) StableSize() (size int) {
|
func (x *GetShardEvacuationStatusResponse_Body_Duration) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.Int64Size(1, x.Seconds)
|
size += proto.Int64Size(1, x.Seconds)
|
||||||
return size
|
return size
|
||||||
}
|
}
|
||||||
|
@ -1676,6 +1808,9 @@ func (x *GetShardEvacuationStatusResponse_Body_Duration) StableMarshal(buf []byt
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *GetShardEvacuationStatusResponse_Body) StableSize() (size int) {
|
func (x *GetShardEvacuationStatusResponse_Body) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.UInt64Size(1, x.Total)
|
size += proto.UInt64Size(1, x.Total)
|
||||||
size += proto.UInt64Size(2, x.Evacuated)
|
size += proto.UInt64Size(2, x.Evacuated)
|
||||||
size += proto.UInt64Size(3, x.Failed)
|
size += proto.UInt64Size(3, x.Failed)
|
||||||
|
@ -1718,6 +1853,9 @@ func (x *GetShardEvacuationStatusResponse_Body) StableMarshal(buf []byte) []byte
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *GetShardEvacuationStatusResponse) StableSize() (size int) {
|
func (x *GetShardEvacuationStatusResponse) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.NestedStructureSize(1, x.Body)
|
size += proto.NestedStructureSize(1, x.Body)
|
||||||
size += proto.NestedStructureSize(2, x.Signature)
|
size += proto.NestedStructureSize(2, x.Signature)
|
||||||
return size
|
return size
|
||||||
|
@ -1770,6 +1908,9 @@ func (x *GetShardEvacuationStatusResponse) SetSignature(sig *Signature) {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *StopShardEvacuationRequest_Body) StableSize() (size int) {
|
func (x *StopShardEvacuationRequest_Body) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
return size
|
return size
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1789,6 +1930,9 @@ func (x *StopShardEvacuationRequest_Body) StableMarshal(buf []byte) []byte {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *StopShardEvacuationRequest) StableSize() (size int) {
|
func (x *StopShardEvacuationRequest) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.NestedStructureSize(1, x.Body)
|
size += proto.NestedStructureSize(1, x.Body)
|
||||||
size += proto.NestedStructureSize(2, x.Signature)
|
size += proto.NestedStructureSize(2, x.Signature)
|
||||||
return size
|
return size
|
||||||
|
@ -1841,6 +1985,9 @@ func (x *StopShardEvacuationRequest) SetSignature(sig *Signature) {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *StopShardEvacuationResponse_Body) StableSize() (size int) {
|
func (x *StopShardEvacuationResponse_Body) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
return size
|
return size
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1860,6 +2007,9 @@ func (x *StopShardEvacuationResponse_Body) StableMarshal(buf []byte) []byte {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *StopShardEvacuationResponse) StableSize() (size int) {
|
func (x *StopShardEvacuationResponse) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.NestedStructureSize(1, x.Body)
|
size += proto.NestedStructureSize(1, x.Body)
|
||||||
size += proto.NestedStructureSize(2, x.Signature)
|
size += proto.NestedStructureSize(2, x.Signature)
|
||||||
return size
|
return size
|
||||||
|
|
18
pkg/services/control/types_frostfs.pb.go
generated
18
pkg/services/control/types_frostfs.pb.go
generated
|
@ -8,6 +8,9 @@ import "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/util/proto"
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *Signature) StableSize() (size int) {
|
func (x *Signature) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.BytesSize(1, x.Key)
|
size += proto.BytesSize(1, x.Key)
|
||||||
size += proto.BytesSize(2, x.Sign)
|
size += proto.BytesSize(2, x.Sign)
|
||||||
return size
|
return size
|
||||||
|
@ -38,6 +41,9 @@ func (x *Signature) StableMarshal(buf []byte) []byte {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *NodeInfo_Attribute) StableSize() (size int) {
|
func (x *NodeInfo_Attribute) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.StringSize(1, x.Key)
|
size += proto.StringSize(1, x.Key)
|
||||||
size += proto.StringSize(2, x.Value)
|
size += proto.StringSize(2, x.Value)
|
||||||
size += proto.RepeatedStringSize(3, x.Parents)
|
size += proto.RepeatedStringSize(3, x.Parents)
|
||||||
|
@ -70,6 +76,9 @@ func (x *NodeInfo_Attribute) StableMarshal(buf []byte) []byte {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *NodeInfo) StableSize() (size int) {
|
func (x *NodeInfo) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.BytesSize(1, x.PublicKey)
|
size += proto.BytesSize(1, x.PublicKey)
|
||||||
size += proto.RepeatedStringSize(2, x.Addresses)
|
size += proto.RepeatedStringSize(2, x.Addresses)
|
||||||
for i := range x.Attributes {
|
for i := range x.Attributes {
|
||||||
|
@ -108,6 +117,9 @@ func (x *NodeInfo) StableMarshal(buf []byte) []byte {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *Netmap) StableSize() (size int) {
|
func (x *Netmap) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.UInt64Size(1, x.Epoch)
|
size += proto.UInt64Size(1, x.Epoch)
|
||||||
for i := range x.Nodes {
|
for i := range x.Nodes {
|
||||||
size += proto.NestedStructureSize(2, x.Nodes[i])
|
size += proto.NestedStructureSize(2, x.Nodes[i])
|
||||||
|
@ -142,6 +154,9 @@ func (x *Netmap) StableMarshal(buf []byte) []byte {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *ShardInfo) StableSize() (size int) {
|
func (x *ShardInfo) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.BytesSize(1, x.Shard_ID)
|
size += proto.BytesSize(1, x.Shard_ID)
|
||||||
size += proto.StringSize(2, x.MetabasePath)
|
size += proto.StringSize(2, x.MetabasePath)
|
||||||
for i := range x.Blobstor {
|
for i := range x.Blobstor {
|
||||||
|
@ -186,6 +201,9 @@ func (x *ShardInfo) StableMarshal(buf []byte) []byte {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *BlobstorInfo) StableSize() (size int) {
|
func (x *BlobstorInfo) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.StringSize(1, x.Path)
|
size += proto.StringSize(1, x.Path)
|
||||||
size += proto.StringSize(2, x.Type)
|
size += proto.StringSize(2, x.Type)
|
||||||
return size
|
return size
|
||||||
|
|
126
pkg/services/tree/service_frostfs.pb.go
generated
126
pkg/services/tree/service_frostfs.pb.go
generated
|
@ -8,6 +8,9 @@ import "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/util/proto"
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *AddRequest_Body) StableSize() (size int) {
|
func (x *AddRequest_Body) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.BytesSize(1, x.ContainerId)
|
size += proto.BytesSize(1, x.ContainerId)
|
||||||
size += proto.StringSize(2, x.TreeId)
|
size += proto.StringSize(2, x.TreeId)
|
||||||
size += proto.UInt64Size(3, x.ParentId)
|
size += proto.UInt64Size(3, x.ParentId)
|
||||||
|
@ -48,6 +51,9 @@ func (x *AddRequest_Body) StableMarshal(buf []byte) []byte {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *AddRequest) StableSize() (size int) {
|
func (x *AddRequest) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.NestedStructureSize(1, x.Body)
|
size += proto.NestedStructureSize(1, x.Body)
|
||||||
size += proto.NestedStructureSize(2, x.Signature)
|
size += proto.NestedStructureSize(2, x.Signature)
|
||||||
return size
|
return size
|
||||||
|
@ -100,6 +106,9 @@ func (x *AddRequest) SetSignature(sig *Signature) {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *AddResponse_Body) StableSize() (size int) {
|
func (x *AddResponse_Body) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.UInt64Size(1, x.NodeId)
|
size += proto.UInt64Size(1, x.NodeId)
|
||||||
return size
|
return size
|
||||||
}
|
}
|
||||||
|
@ -128,6 +137,9 @@ func (x *AddResponse_Body) StableMarshal(buf []byte) []byte {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *AddResponse) StableSize() (size int) {
|
func (x *AddResponse) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.NestedStructureSize(1, x.Body)
|
size += proto.NestedStructureSize(1, x.Body)
|
||||||
size += proto.NestedStructureSize(2, x.Signature)
|
size += proto.NestedStructureSize(2, x.Signature)
|
||||||
return size
|
return size
|
||||||
|
@ -180,6 +192,9 @@ func (x *AddResponse) SetSignature(sig *Signature) {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *AddByPathRequest_Body) StableSize() (size int) {
|
func (x *AddByPathRequest_Body) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.BytesSize(1, x.ContainerId)
|
size += proto.BytesSize(1, x.ContainerId)
|
||||||
size += proto.StringSize(2, x.TreeId)
|
size += proto.StringSize(2, x.TreeId)
|
||||||
size += proto.StringSize(3, x.PathAttribute)
|
size += proto.StringSize(3, x.PathAttribute)
|
||||||
|
@ -222,6 +237,9 @@ func (x *AddByPathRequest_Body) StableMarshal(buf []byte) []byte {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *AddByPathRequest) StableSize() (size int) {
|
func (x *AddByPathRequest) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.NestedStructureSize(1, x.Body)
|
size += proto.NestedStructureSize(1, x.Body)
|
||||||
size += proto.NestedStructureSize(2, x.Signature)
|
size += proto.NestedStructureSize(2, x.Signature)
|
||||||
return size
|
return size
|
||||||
|
@ -274,6 +292,9 @@ func (x *AddByPathRequest) SetSignature(sig *Signature) {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *AddByPathResponse_Body) StableSize() (size int) {
|
func (x *AddByPathResponse_Body) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
var n int
|
var n int
|
||||||
n, _ = proto.RepeatedUInt64Size(1, x.Nodes)
|
n, _ = proto.RepeatedUInt64Size(1, x.Nodes)
|
||||||
size += n
|
size += n
|
||||||
|
@ -306,6 +327,9 @@ func (x *AddByPathResponse_Body) StableMarshal(buf []byte) []byte {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *AddByPathResponse) StableSize() (size int) {
|
func (x *AddByPathResponse) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.NestedStructureSize(1, x.Body)
|
size += proto.NestedStructureSize(1, x.Body)
|
||||||
size += proto.NestedStructureSize(2, x.Signature)
|
size += proto.NestedStructureSize(2, x.Signature)
|
||||||
return size
|
return size
|
||||||
|
@ -358,6 +382,9 @@ func (x *AddByPathResponse) SetSignature(sig *Signature) {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *RemoveRequest_Body) StableSize() (size int) {
|
func (x *RemoveRequest_Body) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.BytesSize(1, x.ContainerId)
|
size += proto.BytesSize(1, x.ContainerId)
|
||||||
size += proto.StringSize(2, x.TreeId)
|
size += proto.StringSize(2, x.TreeId)
|
||||||
size += proto.UInt64Size(3, x.NodeId)
|
size += proto.UInt64Size(3, x.NodeId)
|
||||||
|
@ -392,6 +419,9 @@ func (x *RemoveRequest_Body) StableMarshal(buf []byte) []byte {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *RemoveRequest) StableSize() (size int) {
|
func (x *RemoveRequest) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.NestedStructureSize(1, x.Body)
|
size += proto.NestedStructureSize(1, x.Body)
|
||||||
size += proto.NestedStructureSize(2, x.Signature)
|
size += proto.NestedStructureSize(2, x.Signature)
|
||||||
return size
|
return size
|
||||||
|
@ -444,6 +474,9 @@ func (x *RemoveRequest) SetSignature(sig *Signature) {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *RemoveResponse_Body) StableSize() (size int) {
|
func (x *RemoveResponse_Body) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
return size
|
return size
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -463,6 +496,9 @@ func (x *RemoveResponse_Body) StableMarshal(buf []byte) []byte {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *RemoveResponse) StableSize() (size int) {
|
func (x *RemoveResponse) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.NestedStructureSize(1, x.Body)
|
size += proto.NestedStructureSize(1, x.Body)
|
||||||
size += proto.NestedStructureSize(2, x.Signature)
|
size += proto.NestedStructureSize(2, x.Signature)
|
||||||
return size
|
return size
|
||||||
|
@ -515,6 +551,9 @@ func (x *RemoveResponse) SetSignature(sig *Signature) {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *MoveRequest_Body) StableSize() (size int) {
|
func (x *MoveRequest_Body) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.BytesSize(1, x.ContainerId)
|
size += proto.BytesSize(1, x.ContainerId)
|
||||||
size += proto.StringSize(2, x.TreeId)
|
size += proto.StringSize(2, x.TreeId)
|
||||||
size += proto.UInt64Size(3, x.ParentId)
|
size += proto.UInt64Size(3, x.ParentId)
|
||||||
|
@ -557,6 +596,9 @@ func (x *MoveRequest_Body) StableMarshal(buf []byte) []byte {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *MoveRequest) StableSize() (size int) {
|
func (x *MoveRequest) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.NestedStructureSize(1, x.Body)
|
size += proto.NestedStructureSize(1, x.Body)
|
||||||
size += proto.NestedStructureSize(2, x.Signature)
|
size += proto.NestedStructureSize(2, x.Signature)
|
||||||
return size
|
return size
|
||||||
|
@ -609,6 +651,9 @@ func (x *MoveRequest) SetSignature(sig *Signature) {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *MoveResponse_Body) StableSize() (size int) {
|
func (x *MoveResponse_Body) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
return size
|
return size
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -628,6 +673,9 @@ func (x *MoveResponse_Body) StableMarshal(buf []byte) []byte {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *MoveResponse) StableSize() (size int) {
|
func (x *MoveResponse) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.NestedStructureSize(1, x.Body)
|
size += proto.NestedStructureSize(1, x.Body)
|
||||||
size += proto.NestedStructureSize(2, x.Signature)
|
size += proto.NestedStructureSize(2, x.Signature)
|
||||||
return size
|
return size
|
||||||
|
@ -680,6 +728,9 @@ func (x *MoveResponse) SetSignature(sig *Signature) {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *GetNodeByPathRequest_Body) StableSize() (size int) {
|
func (x *GetNodeByPathRequest_Body) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.BytesSize(1, x.ContainerId)
|
size += proto.BytesSize(1, x.ContainerId)
|
||||||
size += proto.StringSize(2, x.TreeId)
|
size += proto.StringSize(2, x.TreeId)
|
||||||
size += proto.StringSize(3, x.PathAttribute)
|
size += proto.StringSize(3, x.PathAttribute)
|
||||||
|
@ -722,6 +773,9 @@ func (x *GetNodeByPathRequest_Body) StableMarshal(buf []byte) []byte {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *GetNodeByPathRequest) StableSize() (size int) {
|
func (x *GetNodeByPathRequest) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.NestedStructureSize(1, x.Body)
|
size += proto.NestedStructureSize(1, x.Body)
|
||||||
size += proto.NestedStructureSize(2, x.Signature)
|
size += proto.NestedStructureSize(2, x.Signature)
|
||||||
return size
|
return size
|
||||||
|
@ -774,6 +828,9 @@ func (x *GetNodeByPathRequest) SetSignature(sig *Signature) {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *GetNodeByPathResponse_Info) StableSize() (size int) {
|
func (x *GetNodeByPathResponse_Info) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.UInt64Size(1, x.NodeId)
|
size += proto.UInt64Size(1, x.NodeId)
|
||||||
size += proto.UInt64Size(2, x.Timestamp)
|
size += proto.UInt64Size(2, x.Timestamp)
|
||||||
for i := range x.Meta {
|
for i := range x.Meta {
|
||||||
|
@ -812,6 +869,9 @@ func (x *GetNodeByPathResponse_Info) StableMarshal(buf []byte) []byte {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *GetNodeByPathResponse_Body) StableSize() (size int) {
|
func (x *GetNodeByPathResponse_Body) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
for i := range x.Nodes {
|
for i := range x.Nodes {
|
||||||
size += proto.NestedStructureSize(1, x.Nodes[i])
|
size += proto.NestedStructureSize(1, x.Nodes[i])
|
||||||
}
|
}
|
||||||
|
@ -844,6 +904,9 @@ func (x *GetNodeByPathResponse_Body) StableMarshal(buf []byte) []byte {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *GetNodeByPathResponse) StableSize() (size int) {
|
func (x *GetNodeByPathResponse) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.NestedStructureSize(1, x.Body)
|
size += proto.NestedStructureSize(1, x.Body)
|
||||||
size += proto.NestedStructureSize(2, x.Signature)
|
size += proto.NestedStructureSize(2, x.Signature)
|
||||||
return size
|
return size
|
||||||
|
@ -896,6 +959,9 @@ func (x *GetNodeByPathResponse) SetSignature(sig *Signature) {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *GetSubTreeRequest_Body_Order) StableSize() (size int) {
|
func (x *GetSubTreeRequest_Body_Order) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.EnumSize(1, int32(x.Direction))
|
size += proto.EnumSize(1, int32(x.Direction))
|
||||||
return size
|
return size
|
||||||
}
|
}
|
||||||
|
@ -924,6 +990,9 @@ func (x *GetSubTreeRequest_Body_Order) StableMarshal(buf []byte) []byte {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *GetSubTreeRequest_Body) StableSize() (size int) {
|
func (x *GetSubTreeRequest_Body) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.BytesSize(1, x.ContainerId)
|
size += proto.BytesSize(1, x.ContainerId)
|
||||||
size += proto.StringSize(2, x.TreeId)
|
size += proto.StringSize(2, x.TreeId)
|
||||||
size += proto.UInt64Size(3, x.RootId)
|
size += proto.UInt64Size(3, x.RootId)
|
||||||
|
@ -962,6 +1031,9 @@ func (x *GetSubTreeRequest_Body) StableMarshal(buf []byte) []byte {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *GetSubTreeRequest) StableSize() (size int) {
|
func (x *GetSubTreeRequest) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.NestedStructureSize(1, x.Body)
|
size += proto.NestedStructureSize(1, x.Body)
|
||||||
size += proto.NestedStructureSize(2, x.Signature)
|
size += proto.NestedStructureSize(2, x.Signature)
|
||||||
return size
|
return size
|
||||||
|
@ -1014,6 +1086,9 @@ func (x *GetSubTreeRequest) SetSignature(sig *Signature) {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *GetSubTreeResponse_Body) StableSize() (size int) {
|
func (x *GetSubTreeResponse_Body) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.UInt64Size(1, x.NodeId)
|
size += proto.UInt64Size(1, x.NodeId)
|
||||||
size += proto.UInt64Size(2, x.ParentId)
|
size += proto.UInt64Size(2, x.ParentId)
|
||||||
size += proto.UInt64Size(3, x.Timestamp)
|
size += proto.UInt64Size(3, x.Timestamp)
|
||||||
|
@ -1052,6 +1127,9 @@ func (x *GetSubTreeResponse_Body) StableMarshal(buf []byte) []byte {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *GetSubTreeResponse) StableSize() (size int) {
|
func (x *GetSubTreeResponse) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.NestedStructureSize(1, x.Body)
|
size += proto.NestedStructureSize(1, x.Body)
|
||||||
size += proto.NestedStructureSize(2, x.Signature)
|
size += proto.NestedStructureSize(2, x.Signature)
|
||||||
return size
|
return size
|
||||||
|
@ -1104,6 +1182,9 @@ func (x *GetSubTreeResponse) SetSignature(sig *Signature) {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *TreeListRequest_Body) StableSize() (size int) {
|
func (x *TreeListRequest_Body) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.BytesSize(1, x.ContainerId)
|
size += proto.BytesSize(1, x.ContainerId)
|
||||||
return size
|
return size
|
||||||
}
|
}
|
||||||
|
@ -1132,6 +1213,9 @@ func (x *TreeListRequest_Body) StableMarshal(buf []byte) []byte {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *TreeListRequest) StableSize() (size int) {
|
func (x *TreeListRequest) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.NestedStructureSize(1, x.Body)
|
size += proto.NestedStructureSize(1, x.Body)
|
||||||
size += proto.NestedStructureSize(2, x.Signature)
|
size += proto.NestedStructureSize(2, x.Signature)
|
||||||
return size
|
return size
|
||||||
|
@ -1184,6 +1268,9 @@ func (x *TreeListRequest) SetSignature(sig *Signature) {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *TreeListResponse_Body) StableSize() (size int) {
|
func (x *TreeListResponse_Body) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.RepeatedStringSize(1, x.Ids)
|
size += proto.RepeatedStringSize(1, x.Ids)
|
||||||
return size
|
return size
|
||||||
}
|
}
|
||||||
|
@ -1212,6 +1299,9 @@ func (x *TreeListResponse_Body) StableMarshal(buf []byte) []byte {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *TreeListResponse) StableSize() (size int) {
|
func (x *TreeListResponse) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.NestedStructureSize(1, x.Body)
|
size += proto.NestedStructureSize(1, x.Body)
|
||||||
size += proto.NestedStructureSize(2, x.Signature)
|
size += proto.NestedStructureSize(2, x.Signature)
|
||||||
return size
|
return size
|
||||||
|
@ -1264,6 +1354,9 @@ func (x *TreeListResponse) SetSignature(sig *Signature) {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *ApplyRequest_Body) StableSize() (size int) {
|
func (x *ApplyRequest_Body) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.BytesSize(1, x.ContainerId)
|
size += proto.BytesSize(1, x.ContainerId)
|
||||||
size += proto.StringSize(2, x.TreeId)
|
size += proto.StringSize(2, x.TreeId)
|
||||||
size += proto.NestedStructureSize(3, x.Operation)
|
size += proto.NestedStructureSize(3, x.Operation)
|
||||||
|
@ -1296,6 +1389,9 @@ func (x *ApplyRequest_Body) StableMarshal(buf []byte) []byte {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *ApplyRequest) StableSize() (size int) {
|
func (x *ApplyRequest) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.NestedStructureSize(1, x.Body)
|
size += proto.NestedStructureSize(1, x.Body)
|
||||||
size += proto.NestedStructureSize(2, x.Signature)
|
size += proto.NestedStructureSize(2, x.Signature)
|
||||||
return size
|
return size
|
||||||
|
@ -1348,6 +1444,9 @@ func (x *ApplyRequest) SetSignature(sig *Signature) {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *ApplyResponse_Body) StableSize() (size int) {
|
func (x *ApplyResponse_Body) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
return size
|
return size
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1367,6 +1466,9 @@ func (x *ApplyResponse_Body) StableMarshal(buf []byte) []byte {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *ApplyResponse) StableSize() (size int) {
|
func (x *ApplyResponse) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.NestedStructureSize(1, x.Body)
|
size += proto.NestedStructureSize(1, x.Body)
|
||||||
size += proto.NestedStructureSize(2, x.Signature)
|
size += proto.NestedStructureSize(2, x.Signature)
|
||||||
return size
|
return size
|
||||||
|
@ -1419,6 +1521,9 @@ func (x *ApplyResponse) SetSignature(sig *Signature) {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *GetOpLogRequest_Body) StableSize() (size int) {
|
func (x *GetOpLogRequest_Body) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.BytesSize(1, x.ContainerId)
|
size += proto.BytesSize(1, x.ContainerId)
|
||||||
size += proto.StringSize(2, x.TreeId)
|
size += proto.StringSize(2, x.TreeId)
|
||||||
size += proto.UInt64Size(3, x.Height)
|
size += proto.UInt64Size(3, x.Height)
|
||||||
|
@ -1453,6 +1558,9 @@ func (x *GetOpLogRequest_Body) StableMarshal(buf []byte) []byte {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *GetOpLogRequest) StableSize() (size int) {
|
func (x *GetOpLogRequest) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.NestedStructureSize(1, x.Body)
|
size += proto.NestedStructureSize(1, x.Body)
|
||||||
size += proto.NestedStructureSize(2, x.Signature)
|
size += proto.NestedStructureSize(2, x.Signature)
|
||||||
return size
|
return size
|
||||||
|
@ -1505,6 +1613,9 @@ func (x *GetOpLogRequest) SetSignature(sig *Signature) {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *GetOpLogResponse_Body) StableSize() (size int) {
|
func (x *GetOpLogResponse_Body) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.NestedStructureSize(1, x.Operation)
|
size += proto.NestedStructureSize(1, x.Operation)
|
||||||
return size
|
return size
|
||||||
}
|
}
|
||||||
|
@ -1533,6 +1644,9 @@ func (x *GetOpLogResponse_Body) StableMarshal(buf []byte) []byte {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *GetOpLogResponse) StableSize() (size int) {
|
func (x *GetOpLogResponse) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.NestedStructureSize(1, x.Body)
|
size += proto.NestedStructureSize(1, x.Body)
|
||||||
size += proto.NestedStructureSize(2, x.Signature)
|
size += proto.NestedStructureSize(2, x.Signature)
|
||||||
return size
|
return size
|
||||||
|
@ -1585,6 +1699,9 @@ func (x *GetOpLogResponse) SetSignature(sig *Signature) {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *HealthcheckResponse_Body) StableSize() (size int) {
|
func (x *HealthcheckResponse_Body) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
return size
|
return size
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1604,6 +1721,9 @@ func (x *HealthcheckResponse_Body) StableMarshal(buf []byte) []byte {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *HealthcheckResponse) StableSize() (size int) {
|
func (x *HealthcheckResponse) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.NestedStructureSize(1, x.Body)
|
size += proto.NestedStructureSize(1, x.Body)
|
||||||
size += proto.NestedStructureSize(2, x.Signature)
|
size += proto.NestedStructureSize(2, x.Signature)
|
||||||
return size
|
return size
|
||||||
|
@ -1656,6 +1776,9 @@ func (x *HealthcheckResponse) SetSignature(sig *Signature) {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *HealthcheckRequest_Body) StableSize() (size int) {
|
func (x *HealthcheckRequest_Body) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
return size
|
return size
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1675,6 +1798,9 @@ func (x *HealthcheckRequest_Body) StableMarshal(buf []byte) []byte {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *HealthcheckRequest) StableSize() (size int) {
|
func (x *HealthcheckRequest) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.NestedStructureSize(1, x.Body)
|
size += proto.NestedStructureSize(1, x.Body)
|
||||||
size += proto.NestedStructureSize(2, x.Signature)
|
size += proto.NestedStructureSize(2, x.Signature)
|
||||||
return size
|
return size
|
||||||
|
|
9
pkg/services/tree/types_frostfs.pb.go
generated
9
pkg/services/tree/types_frostfs.pb.go
generated
|
@ -8,6 +8,9 @@ import "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/util/proto"
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *KeyValue) StableSize() (size int) {
|
func (x *KeyValue) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.StringSize(1, x.Key)
|
size += proto.StringSize(1, x.Key)
|
||||||
size += proto.BytesSize(2, x.Value)
|
size += proto.BytesSize(2, x.Value)
|
||||||
return size
|
return size
|
||||||
|
@ -38,6 +41,9 @@ func (x *KeyValue) StableMarshal(buf []byte) []byte {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *LogMove) StableSize() (size int) {
|
func (x *LogMove) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.UInt64Size(1, x.ParentId)
|
size += proto.UInt64Size(1, x.ParentId)
|
||||||
size += proto.BytesSize(2, x.Meta)
|
size += proto.BytesSize(2, x.Meta)
|
||||||
size += proto.UInt64Size(3, x.ChildId)
|
size += proto.UInt64Size(3, x.ChildId)
|
||||||
|
@ -70,6 +76,9 @@ func (x *LogMove) StableMarshal(buf []byte) []byte {
|
||||||
//
|
//
|
||||||
// Structures with the same field values have the same binary size.
|
// Structures with the same field values have the same binary size.
|
||||||
func (x *Signature) StableSize() (size int) {
|
func (x *Signature) StableSize() (size int) {
|
||||||
|
if x == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
size += proto.BytesSize(1, x.Key)
|
size += proto.BytesSize(1, x.Key)
|
||||||
size += proto.BytesSize(2, x.Sign)
|
size += proto.BytesSize(2, x.Sign)
|
||||||
return size
|
return size
|
||||||
|
|
Loading…
Add table
Reference in a new issue