func (x *ObjectType) FromString(s string) bool {
	i, ok := ObjectType_value[s]
	if ok {
		*x = ObjectType(i)
	}
	return ok
}
FromString parses ObjectType from a string representation,
It is a reverse action to String().

Returns true if s was parsed successfully.
package object
import (
	refs "github.com/nspcc-dev/neofs-api-go/v2/refs/grpc"
	session "github.com/nspcc-dev/neofs-api-go/v2/session/grpc"
)
func (m *Header_Attribute) SetKey(v string) {
	if m != nil {
		m.Key = v
	}
}
func (m *Header_Attribute) SetValue(v string) {
	if m != nil {
		m.Value = v
	}
}
func (m *Header_Split) SetParent(v *refs.ObjectID) {
	if m != nil {
		m.Parent = v
	}
}
func (m *Header_Split) SetPrevious(v *refs.ObjectID) {
	if m != nil {
		m.Previous = v
	}
}
func (m *Header_Split) SetParentSignature(v *refs.Signature) {
	if m != nil {
		m.ParentSignature = v
	}
}
func (m *Header_Split) SetParentHeader(v *Header) {
	if m != nil {
		m.ParentHeader = v
	}
}
func (m *Header_Split) SetChildren(v []*refs.ObjectID) {
	if m != nil {
		m.Children = v
	}
}
func (m *Header_Split) SetSplitId(v []byte) {
	if m != nil {
		m.SplitId = v
	}
}
func (m *Header) SetContainerId(v *refs.ContainerID) {
	if m != nil {
		m.ContainerId = v
	}
}
func (m *Header) SetOwnerId(v *refs.OwnerID) {
	if m != nil {
		m.OwnerId = v
	}
}
func (m *Header) SetCreationEpoch(v uint64) {
	if m != nil {
		m.CreationEpoch = v
	}
}
func (m *Header) SetVersion(v *refs.Version) {
	if m != nil {
		m.Version = v
	}
}
func (m *Header) SetPayloadLength(v uint64) {
	if m != nil {
		m.PayloadLength = v
	}
}
func (m *Header) SetPayloadHash(v *refs.Checksum) {
	if m != nil {
		m.PayloadHash = v
	}
}
func (m *Header) SetObjectType(v ObjectType) {
	if m != nil {
		m.ObjectType = v
	}
}
func (m *Header) SetHomomorphicHash(v *refs.Checksum) {
	if m != nil {
		m.HomomorphicHash = v
	}
}
func (m *Header) SetSessionToken(v *session.SessionToken) {
	if m != nil {
		m.SessionToken = v
	}
}
func (m *Header) SetAttributes(v []*Header_Attribute) {
	if m != nil {
		m.Attributes = v
	}
}
func (m *Header) SetSplit(v *Header_Split) {
	if m != nil {
		m.Split = v
	}
}
func (m *Object) SetObjectId(v *refs.ObjectID) {
	if m != nil {
		m.ObjectId = v
	}
}
func (m *Object) SetSignature(v *refs.Signature) {
	if m != nil {
		m.Signature = v
	}
}
func (m *Object) SetHeader(v *Header) {
	if m != nil {
		m.Header = v
	}
}
func (m *Object) SetPayload(v []byte) {
	if m != nil {
		m.Payload = v
	}
}
func (m *ShortHeader) SetVersion(v *refs.Version) {
	if m != nil {
		m.Version = v
	}
}
func (m *ShortHeader) SetCreationEpoch(v uint64) {
	if m != nil {
		m.CreationEpoch = v
	}
}
func (m *ShortHeader) SetOwnerId(v *refs.OwnerID) {
	if m != nil {
		m.OwnerId = v
	}
}
func (m *ShortHeader) SetObjectType(v ObjectType) {
	if m != nil {
		m.ObjectType = v
	}
}
func (m *ShortHeader) SetPayloadLength(v uint64) {
	if m != nil {
		m.PayloadLength = v
	}
}
func (m *ShortHeader) SetPayloadHash(v *refs.Checksum) {
	if m != nil {
		m.PayloadHash = v
	}
}
func (m *ShortHeader) SetHomomorphicHash(v *refs.Checksum) {
	if m != nil {
		m.HomomorphicHash = v
	}
}
func (m *SplitInfo) SetSplitId(v []byte) {
	if m != nil {
		m.SplitId = v
	}
}
func (m *SplitInfo) SetLastPart(v *refs.ObjectID) {
	if m != nil {
		m.LastPart = v
	}
}
func (m *SplitInfo) SetLink(v *refs.ObjectID) {
	if m != nil {
		m.Link = v
	}
}