Documentation ¶
Index ¶
- Variables
- type SubnetInfo
- func (*SubnetInfo) Descriptor() ([]byte, []int)deprecated
- func (x *SubnetInfo) GetId() *grpc.SubnetID
- func (x *SubnetInfo) GetOwner() *grpc.OwnerID
- func (*SubnetInfo) ProtoMessage()
- func (x *SubnetInfo) ProtoReflect() protoreflect.Message
- func (x *SubnetInfo) Reset()
- func (x *SubnetInfo) SetID(id *refs.SubnetID)
- func (x *SubnetInfo) SetOwner(id *refs.OwnerID)
- func (x *SubnetInfo) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_subnet_grpc_types_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type SubnetInfo ¶
type SubnetInfo struct { // Unique subnet identifier. Missing ID is // equivalent to zero (default subnetwork) ID. Id *grpc.SubnetID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Identifier of the subnetwork owner Owner *grpc.OwnerID `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` // contains filtered or unexported fields }
NeoFS subnetwork description
func (*SubnetInfo) Descriptor
deprecated
func (*SubnetInfo) Descriptor() ([]byte, []int)
Deprecated: Use SubnetInfo.ProtoReflect.Descriptor instead.
func (*SubnetInfo) GetId ¶
func (x *SubnetInfo) GetId() *grpc.SubnetID
func (*SubnetInfo) GetOwner ¶
func (x *SubnetInfo) GetOwner() *grpc.OwnerID
func (*SubnetInfo) ProtoMessage ¶
func (*SubnetInfo) ProtoMessage()
func (*SubnetInfo) ProtoReflect ¶
func (x *SubnetInfo) ProtoReflect() protoreflect.Message
func (*SubnetInfo) Reset ¶
func (x *SubnetInfo) Reset()
func (*SubnetInfo) SetID ¶
func (x *SubnetInfo) SetID(id *refs.SubnetID)
SetID returns identifier of the subnet. Nil arg is equivalent to zero subnet ID.
func (*SubnetInfo) SetOwner ¶
func (x *SubnetInfo) SetOwner(id *refs.OwnerID)
SetOwner sets subnet owner's ID in NeoFS system.
func (*SubnetInfo) String ¶
func (x *SubnetInfo) String() string
Click to show internal directories.
Click to hide internal directories.