forked from TrueCloudLab/frostfs-api-go
Re-compile NeoFS API proto files using updated script
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
180da74e5c
commit
0f09f0dfc6
33 changed files with 2694 additions and 2707 deletions
36
status/grpc/types.go
Normal file
36
status/grpc/types.go
Normal file
|
@ -0,0 +1,36 @@
|
|||
package status
|
||||
|
||||
// SetId sets identifier of the Status_Detail.
|
||||
func (x *Status_Detail) SetId(v uint32) {
|
||||
if x != nil {
|
||||
x.Id = v
|
||||
}
|
||||
}
|
||||
|
||||
// SetValue sets value of the Status_Detail.
|
||||
func (x *Status_Detail) SetValue(v []byte) {
|
||||
if x != nil {
|
||||
x.Value = v
|
||||
}
|
||||
}
|
||||
|
||||
// SetCode sets code of the Status.
|
||||
func (x *Status) SetCode(v uint32) {
|
||||
if x != nil {
|
||||
x.Code = v
|
||||
}
|
||||
}
|
||||
|
||||
// SetMessage sets message about the Status.
|
||||
func (x *Status) SetMessage(v string) {
|
||||
if x != nil {
|
||||
x.Message = v
|
||||
}
|
||||
}
|
||||
|
||||
// SetDetails sets details of the Status.
|
||||
func (x *Status) SetDetails(v []*Status_Detail) {
|
||||
if x != nil {
|
||||
x.Details = v
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue