github.com/TrueCloudLab/frostfs-api-go/v2@v2.0.0-20230228134343-196241c4e79a/status/grpc/types.go (about) 1 package status 2 3 // SetId sets identifier of the Status_Detail. 4 func (x *Status_Detail) SetId(v uint32) { 5 x.Id = v 6 } 7 8 // SetValue sets value of the Status_Detail. 9 func (x *Status_Detail) SetValue(v []byte) { 10 x.Value = v 11 } 12 13 // SetCode sets code of the Status. 14 func (x *Status) SetCode(v uint32) { 15 x.Code = v 16 } 17 18 // SetMessage sets message about the Status. 19 func (x *Status) SetMessage(v string) { 20 x.Message = v 21 } 22 23 // SetDetails sets details of the Status. 24 func (x *Status) SetDetails(v []*Status_Detail) { 25 x.Details = v 26 }