Documentation
¶
Index ¶
- Constants
- Variables
- type Entry
- func (x *Entry) ClearCreatedAt()
- func (x *Entry) ClearGroupId()
- func (x *Entry) ClearImage()
- func (x *Entry) GetAvatarColor() common.AvatarColor
- func (x *Entry) GetCreatedAt() *timestamppb.Timestamp
- func (x *Entry) GetGroupId() *model.UUID
- func (x *Entry) GetImage() *common.Image
- func (x *Entry) GetName() string
- func (x *Entry) GetNumMembers() uint64
- func (x *Entry) HasCreatedAt() bool
- func (x *Entry) HasGroupId() bool
- func (x *Entry) HasImage() bool
- func (*Entry) ProtoMessage()
- func (x *Entry) ProtoReflect() protoreflect.Message
- func (x *Entry) Reset()
- func (x *Entry) SetAvatarColor(v common.AvatarColor)
- func (x *Entry) SetCreatedAt(v *timestamppb.Timestamp)
- func (x *Entry) SetGroupId(v *model.UUID)
- func (x *Entry) SetImage(v *common.Image)
- func (x *Entry) SetName(v string)
- func (x *Entry) SetNumMembers(v uint64)
- func (x *Entry) String() string
- type Entry_builder
- type Group
- func (x *Group) ClearInfo()
- func (x *Group) ClearUpdatedAt()
- func (x *Group) GetInfo() *GroupInfo
- func (x *Group) GetMetadata() map[string][]byte
- func (x *Group) GetUpdatedAt() *timestamppb.Timestamp
- func (x *Group) HasInfo() bool
- func (x *Group) HasUpdatedAt() bool
- func (*Group) ProtoMessage()
- func (x *Group) ProtoReflect() protoreflect.Message
- func (x *Group) Reset()
- func (x *Group) SetInfo(v *GroupInfo)
- func (x *Group) SetMetadata(v map[string][]byte)
- func (x *Group) SetUpdatedAt(v *timestamppb.Timestamp)
- func (x *Group) String() string
- type GroupInfo
- func (x *GroupInfo) ClearCreatedAt()
- func (x *GroupInfo) ClearImage()
- func (x *GroupInfo) GetAvatarColor() common.AvatarColor
- func (x *GroupInfo) GetCreatedAt() *timestamppb.Timestamp
- func (x *GroupInfo) GetImage() *common.Image
- func (x *GroupInfo) GetName() string
- func (x *GroupInfo) GetNumMembers() uint64
- func (x *GroupInfo) HasCreatedAt() bool
- func (x *GroupInfo) HasImage() bool
- func (*GroupInfo) ProtoMessage()
- func (x *GroupInfo) ProtoReflect() protoreflect.Message
- func (x *GroupInfo) Reset()
- func (x *GroupInfo) SetAvatarColor(v common.AvatarColor)
- func (x *GroupInfo) SetCreatedAt(v *timestamppb.Timestamp)
- func (x *GroupInfo) SetImage(v *common.Image)
- func (x *GroupInfo) SetName(v string)
- func (x *GroupInfo) SetNumMembers(v uint64)
- func (x *GroupInfo) String() string
- type GroupInfo_builder
- type Group_builder
- type Update
- func (x *Update) ClearAvatarColor()
- func (x *Update) ClearDeleteMetadataKey()
- func (x *Update) ClearField()
- func (x *Update) ClearName()
- func (x *Update) ClearSetMetadata()
- func (x *Update) GetAvatarColor() common.AvatarColor
- func (x *Update) GetDeleteMetadataKey() string
- func (x *Update) GetField() isUpdate_Field
- func (x *Update) GetName() string
- func (x *Update) GetSetMetadata() *model.Metadata
- func (x *Update) HasAvatarColor() bool
- func (x *Update) HasDeleteMetadataKey() bool
- func (x *Update) HasField() bool
- func (x *Update) HasName() bool
- func (x *Update) HasSetMetadata() bool
- func (*Update) ProtoMessage()
- func (x *Update) ProtoReflect() protoreflect.Message
- func (x *Update) Reset()
- func (x *Update) SetAvatarColor(v common.AvatarColor)
- func (x *Update) SetDeleteMetadataKey(v string)
- func (x *Update) SetName(v string)
- func (x *Update) SetSetMetadata(v *model.Metadata)
- func (x *Update) String() string
- func (x *Update) WhichField() case_Update_Field
- type Update_AvatarColor
- type Update_DeleteMetadataKey
- type Update_Name
- type Update_SetMetadata
- type Update_builder
Constants ¶
View Source
const Update_AvatarColor_case case_Update_Field = 4
View Source
const Update_DeleteMetadataKey_case case_Update_Field = 3
View Source
const Update_Field_not_set_case case_Update_Field = 0
View Source
const Update_Name_case case_Update_Field = 1
View Source
const Update_SetMetadata_case case_Update_Field = 2
Variables ¶
View Source
var File_nuntio_management_model_group_group_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Entry ¶
type Entry struct {
GroupId *model.UUID `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Image *common.Image `protobuf:"bytes,3,opt,name=image,proto3" json:"image,omitempty"`
AvatarColor common.AvatarColor `` /* 143-byte string literal not displayed */
NumMembers uint64 `protobuf:"varint,5,opt,name=num_members,json=numMembers,proto3" json:"num_members,omitempty"`
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
// contains filtered or unexported fields
}
func (*Entry) GetAvatarColor ¶
func (x *Entry) GetAvatarColor() common.AvatarColor
func (*Entry) GetCreatedAt ¶
func (x *Entry) GetCreatedAt() *timestamppb.Timestamp
func (*Entry) ProtoReflect ¶
func (x *Entry) ProtoReflect() protoreflect.Message
func (*Entry) SetAvatarColor ¶
func (x *Entry) SetAvatarColor(v common.AvatarColor)
func (*Entry) SetCreatedAt ¶
func (x *Entry) SetCreatedAt(v *timestamppb.Timestamp)
type Entry_builder ¶
type Entry_builder struct {
GroupId *model.UUID
Name string
Image *common.Image
AvatarColor common.AvatarColor
NumMembers uint64
CreatedAt *timestamppb.Timestamp
// contains filtered or unexported fields
}
func (Entry_builder) Build ¶
func (b0 Entry_builder) Build() *Entry
type Group ¶
type Group struct {
Info *GroupInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
Metadata map[string][]byte `` /* 143-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*Group) GetUpdatedAt ¶
func (x *Group) GetUpdatedAt() *timestamppb.Timestamp
func (*Group) ProtoReflect ¶
func (x *Group) ProtoReflect() protoreflect.Message
func (*Group) SetUpdatedAt ¶
func (x *Group) SetUpdatedAt(v *timestamppb.Timestamp)
type GroupInfo ¶
type GroupInfo struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Image *common.Image `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"`
AvatarColor common.AvatarColor `` /* 143-byte string literal not displayed */
NumMembers uint64 `protobuf:"varint,4,opt,name=num_members,json=numMembers,proto3" json:"num_members,omitempty"`
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
// contains filtered or unexported fields
}
func (*GroupInfo) GetAvatarColor ¶
func (x *GroupInfo) GetAvatarColor() common.AvatarColor
func (*GroupInfo) GetCreatedAt ¶
func (x *GroupInfo) GetCreatedAt() *timestamppb.Timestamp
func (*GroupInfo) ProtoReflect ¶
func (x *GroupInfo) ProtoReflect() protoreflect.Message
func (*GroupInfo) SetAvatarColor ¶
func (x *GroupInfo) SetAvatarColor(v common.AvatarColor)
func (*GroupInfo) SetCreatedAt ¶
func (x *GroupInfo) SetCreatedAt(v *timestamppb.Timestamp)
type GroupInfo_builder ¶
type GroupInfo_builder struct {
Name string
Image *common.Image
AvatarColor common.AvatarColor
NumMembers uint64
CreatedAt *timestamppb.Timestamp
// contains filtered or unexported fields
}
func (GroupInfo_builder) Build ¶
func (b0 GroupInfo_builder) Build() *GroupInfo
type Group_builder ¶
type Group_builder struct {
Info *GroupInfo
UpdatedAt *timestamppb.Timestamp
Metadata map[string][]byte
// contains filtered or unexported fields
}
func (Group_builder) Build ¶
func (b0 Group_builder) Build() *Group
type Update ¶
type Update struct {
// Types that are valid to be assigned to Field:
//
// *Update_Name
// *Update_SetMetadata
// *Update_DeleteMetadataKey
// *Update_AvatarColor
Field isUpdate_Field `protobuf_oneof:"field"`
// contains filtered or unexported fields
}
func (*Update) GetAvatarColor ¶
func (x *Update) GetAvatarColor() common.AvatarColor
func (*Update) ProtoReflect ¶
func (x *Update) ProtoReflect() protoreflect.Message
func (*Update) SetAvatarColor ¶
func (x *Update) SetAvatarColor(v common.AvatarColor)
type Update_AvatarColor ¶
type Update_AvatarColor struct {
AvatarColor common.AvatarColor `protobuf:"varint,4,opt,name=avatar_color,json=avatarColor,proto3,enum=nuntio.management.model.common.AvatarColor,oneof"`
}
type Update_DeleteMetadataKey ¶
type Update_DeleteMetadataKey struct {
DeleteMetadataKey string `protobuf:"bytes,3,opt,name=delete_metadata_key,json=deleteMetadataKey,proto3,oneof"`
}
type Update_Name ¶
type Update_Name struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3,oneof"`
}
type Update_SetMetadata ¶
type Update_builder ¶
type Update_builder struct {
// Fields of oneof Field:
Name *string
SetMetadata *model.Metadata
DeleteMetadataKey *string
AvatarColor *common.AvatarColor
// contains filtered or unexported fields
}
func (Update_builder) Build ¶
func (b0 Update_builder) Build() *Update
Source Files
¶
- group.pb.go
Click to show internal directories.
Click to hide internal directories.