func (a *Address) SetObjectID(id *ID) {
	(*refs.Address)(a).SetObjectID(id.ToV2())
}
SetObjectID sets object identifier.
package object
import (
	"errors"
	"strings"
	cid "github.com/nspcc-dev/neofs-api-go/pkg/container/id"
	"github.com/nspcc-dev/neofs-api-go/v2/refs"
)
type Address refs.Address
var errInvalidAddressString = errors.New("incorrect format of the string object address")
const (
	addressParts     = 2
	addressSeparator = "/"
)
func NewAddressFromV2(aV2 *refs.Address) *Address {
	return (*Address)(aV2)
}
func NewAddress() *Address {
	return NewAddressFromV2(new(refs.Address))
}
func (a *Address) ToV2() *refs.Address {
	return (*refs.Address)(a)
}
func (a *Address) ContainerID() *cid.ID {
	return cid.NewFromV2(
		(*refs.Address)(a).GetContainerID(),
	)
}
func (a *Address) SetContainerID(id *cid.ID) {
	(*refs.Address)(a).SetContainerID(id.ToV2())
}
func (a *Address) ObjectID() *ID {
	return NewIDFromV2(
		(*refs.Address)(a).GetObjectID(),
	)
}