group

package
v1.33.0-20230531113704... Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: unknown License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

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) Descriptor deprecated

func (*Entry) Descriptor() ([]byte, []int)

Deprecated: Use Entry.ProtoReflect.Descriptor instead.

func (*Entry) GetAvatarColor

func (x *Entry) GetAvatarColor() common.AvatarColor

func (*Entry) GetCreatedAt

func (x *Entry) GetCreatedAt() *timestamppb.Timestamp

func (*Entry) GetGroupId

func (x *Entry) GetGroupId() *model.UUID

func (*Entry) GetImage

func (x *Entry) GetImage() *common.Image

func (*Entry) GetName

func (x *Entry) GetName() string

func (*Entry) GetNumMembers

func (x *Entry) GetNumMembers() uint64

func (*Entry) ProtoMessage

func (*Entry) ProtoMessage()

func (*Entry) ProtoReflect

func (x *Entry) ProtoReflect() protoreflect.Message

func (*Entry) Reset

func (x *Entry) Reset()

func (*Entry) String

func (x *Entry) String() string

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      `` /* 157-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Group) Descriptor deprecated

func (*Group) Descriptor() ([]byte, []int)

Deprecated: Use Group.ProtoReflect.Descriptor instead.

func (*Group) GetInfo

func (x *Group) GetInfo() *GroupInfo

func (*Group) GetMetadata

func (x *Group) GetMetadata() map[string][]byte

func (*Group) GetUpdatedAt

func (x *Group) GetUpdatedAt() *timestamppb.Timestamp

func (*Group) ProtoMessage

func (*Group) ProtoMessage()

func (*Group) ProtoReflect

func (x *Group) ProtoReflect() protoreflect.Message

func (*Group) Reset

func (x *Group) Reset()

func (*Group) String

func (x *Group) String() string

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) Descriptor deprecated

func (*GroupInfo) Descriptor() ([]byte, []int)

Deprecated: Use GroupInfo.ProtoReflect.Descriptor instead.

func (*GroupInfo) GetAvatarColor

func (x *GroupInfo) GetAvatarColor() common.AvatarColor

func (*GroupInfo) GetCreatedAt

func (x *GroupInfo) GetCreatedAt() *timestamppb.Timestamp

func (*GroupInfo) GetImage

func (x *GroupInfo) GetImage() *common.Image

func (*GroupInfo) GetName

func (x *GroupInfo) GetName() string

func (*GroupInfo) GetNumMembers

func (x *GroupInfo) GetNumMembers() uint64

func (*GroupInfo) ProtoMessage

func (*GroupInfo) ProtoMessage()

func (*GroupInfo) ProtoReflect

func (x *GroupInfo) ProtoReflect() protoreflect.Message

func (*GroupInfo) Reset

func (x *GroupInfo) Reset()

func (*GroupInfo) String

func (x *GroupInfo) String() string

type Update

type Update struct {

	// Types that are assignable to Field:
	//
	//	*Update_Name
	//	*Update_SetMetadata
	//	*Update_DeleteMetadataKey
	//	*Update_AvatarColor
	Field isUpdate_Field `protobuf_oneof:"field"`
	// contains filtered or unexported fields
}

func (*Update) Descriptor deprecated

func (*Update) Descriptor() ([]byte, []int)

Deprecated: Use Update.ProtoReflect.Descriptor instead.

func (*Update) GetAvatarColor

func (x *Update) GetAvatarColor() common.AvatarColor

func (*Update) GetDeleteMetadataKey

func (x *Update) GetDeleteMetadataKey() string

func (*Update) GetField

func (m *Update) GetField() isUpdate_Field

func (*Update) GetName

func (x *Update) GetName() string

func (*Update) GetSetMetadata

func (x *Update) GetSetMetadata() *model.Metadata

func (*Update) ProtoMessage

func (*Update) ProtoMessage()

func (*Update) ProtoReflect

func (x *Update) ProtoReflect() protoreflect.Message

func (*Update) Reset

func (x *Update) Reset()

func (*Update) String

func (x *Update) String() string

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_SetMetadata struct {
	SetMetadata *model.Metadata `protobuf:"bytes,2,opt,name=set_metadata,json=setMetadata,proto3,oneof"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL