Documentation ¶
Index ¶
- Variables
- type Item
- func (*Item) Descriptor() ([]byte, []int)deprecated
- func (x *Item) GetJid() string
- func (x *Item) GetUsername() string
- func (x *Item) MarshalBinary() (data []byte, err error)
- func (*Item) ProtoMessage()
- func (x *Item) ProtoReflect() protoreflect.Message
- func (x *Item) Reset()
- func (x *Item) String() string
- func (x *Item) UnmarshalBinary(data []byte) error
- type Items
- func (*Items) Descriptor() ([]byte, []int)deprecated
- func (x *Items) GetItems() []*Item
- func (x *Items) MarshalBinary() (data []byte, err error)
- func (*Items) ProtoMessage()
- func (x *Items) ProtoReflect() protoreflect.Message
- func (x *Items) Reset()
- func (x *Items) String() string
- func (x *Items) UnmarshalBinary(data []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var File_proto_model_v1_blocklist_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Item ¶
type Item struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Jid string `protobuf:"bytes,2,opt,name=jid,proto3" json:"jid,omitempty"` // contains filtered or unexported fields }
Item represents block list item entity.
func (*Item) Descriptor
deprecated
added in
v0.56.0
func (*Item) GetUsername ¶ added in v0.56.0
func (*Item) MarshalBinary ¶ added in v0.58.0
MarshalBinary satisfies encoding.BinaryMarshaler interface.
func (*Item) ProtoMessage ¶ added in v0.56.0
func (*Item) ProtoMessage()
func (*Item) ProtoReflect ¶ added in v0.56.0
func (x *Item) ProtoReflect() protoreflect.Message
func (*Item) UnmarshalBinary ¶ added in v0.58.0
UnmarshalBinary satisfies encoding.BinaryUnmarshaler interface.
type Items ¶ added in v0.57.0
type Items struct { Items []*Item `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
Items represent a set of block list items.
func (*Items) Descriptor
deprecated
added in
v0.57.0
func (*Items) MarshalBinary ¶ added in v0.58.0
MarshalBinary satisfies encoding.BinaryMarshaler interface.
func (*Items) ProtoMessage ¶ added in v0.57.0
func (*Items) ProtoMessage()
func (*Items) ProtoReflect ¶ added in v0.57.0
func (x *Items) ProtoReflect() protoreflect.Message
func (*Items) UnmarshalBinary ¶ added in v0.58.0
UnmarshalBinary satisfies encoding.BinaryUnmarshaler interface.
Click to show internal directories.
Click to hide internal directories.