group

package
v1.36.11-2023053111370... 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

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) ClearCreatedAt

func (x *Entry) ClearCreatedAt()

func (*Entry) ClearGroupId

func (x *Entry) ClearGroupId()

func (*Entry) ClearImage

func (x *Entry) ClearImage()

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) HasCreatedAt

func (x *Entry) HasCreatedAt() bool

func (*Entry) HasGroupId

func (x *Entry) HasGroupId() bool

func (*Entry) HasImage

func (x *Entry) HasImage() bool

func (*Entry) ProtoMessage

func (*Entry) ProtoMessage()

func (*Entry) ProtoReflect

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

func (*Entry) Reset

func (x *Entry) Reset()

func (*Entry) SetAvatarColor

func (x *Entry) SetAvatarColor(v common.AvatarColor)

func (*Entry) SetCreatedAt

func (x *Entry) SetCreatedAt(v *timestamppb.Timestamp)

func (*Entry) SetGroupId

func (x *Entry) SetGroupId(v *model.UUID)

func (*Entry) SetImage

func (x *Entry) SetImage(v *common.Image)

func (*Entry) SetName

func (x *Entry) SetName(v string)

func (*Entry) SetNumMembers

func (x *Entry) SetNumMembers(v uint64)

func (*Entry) String

func (x *Entry) String() string

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) ClearInfo

func (x *Group) ClearInfo()

func (*Group) ClearUpdatedAt

func (x *Group) ClearUpdatedAt()

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) HasInfo

func (x *Group) HasInfo() bool

func (*Group) HasUpdatedAt

func (x *Group) HasUpdatedAt() bool

func (*Group) ProtoMessage

func (*Group) ProtoMessage()

func (*Group) ProtoReflect

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

func (*Group) Reset

func (x *Group) Reset()

func (*Group) SetInfo

func (x *Group) SetInfo(v *GroupInfo)

func (*Group) SetMetadata

func (x *Group) SetMetadata(v map[string][]byte)

func (*Group) SetUpdatedAt

func (x *Group) SetUpdatedAt(v *timestamppb.Timestamp)

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) ClearCreatedAt

func (x *GroupInfo) ClearCreatedAt()

func (*GroupInfo) ClearImage

func (x *GroupInfo) ClearImage()

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) HasCreatedAt

func (x *GroupInfo) HasCreatedAt() bool

func (*GroupInfo) HasImage

func (x *GroupInfo) HasImage() bool

func (*GroupInfo) ProtoMessage

func (*GroupInfo) ProtoMessage()

func (*GroupInfo) ProtoReflect

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

func (*GroupInfo) Reset

func (x *GroupInfo) Reset()

func (*GroupInfo) SetAvatarColor

func (x *GroupInfo) SetAvatarColor(v common.AvatarColor)

func (*GroupInfo) SetCreatedAt

func (x *GroupInfo) SetCreatedAt(v *timestamppb.Timestamp)

func (*GroupInfo) SetImage

func (x *GroupInfo) SetImage(v *common.Image)

func (*GroupInfo) SetName

func (x *GroupInfo) SetName(v string)

func (*GroupInfo) SetNumMembers

func (x *GroupInfo) SetNumMembers(v uint64)

func (*GroupInfo) String

func (x *GroupInfo) String() string

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) ClearAvatarColor

func (x *Update) ClearAvatarColor()

func (*Update) ClearDeleteMetadataKey

func (x *Update) ClearDeleteMetadataKey()

func (*Update) ClearField

func (x *Update) ClearField()

func (*Update) ClearName

func (x *Update) ClearName()

func (*Update) ClearSetMetadata

func (x *Update) ClearSetMetadata()

func (*Update) GetAvatarColor

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

func (*Update) GetDeleteMetadataKey

func (x *Update) GetDeleteMetadataKey() string

func (*Update) GetField

func (x *Update) GetField() isUpdate_Field

func (*Update) GetName

func (x *Update) GetName() string

func (*Update) GetSetMetadata

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

func (*Update) HasAvatarColor

func (x *Update) HasAvatarColor() bool

func (*Update) HasDeleteMetadataKey

func (x *Update) HasDeleteMetadataKey() bool

func (*Update) HasField

func (x *Update) HasField() bool

func (*Update) HasName

func (x *Update) HasName() bool

func (*Update) HasSetMetadata

func (x *Update) HasSetMetadata() bool

func (*Update) ProtoMessage

func (*Update) ProtoMessage()

func (*Update) ProtoReflect

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

func (*Update) Reset

func (x *Update) Reset()

func (*Update) SetAvatarColor

func (x *Update) SetAvatarColor(v common.AvatarColor)

func (*Update) SetDeleteMetadataKey

func (x *Update) SetDeleteMetadataKey(v string)

func (*Update) SetName

func (x *Update) SetName(v string)

func (*Update) SetSetMetadata

func (x *Update) SetSetMetadata(v *model.Metadata)

func (*Update) String

func (x *Update) String() string

func (*Update) WhichField

func (x *Update) WhichField() case_Update_Field

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"`
}

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

Jump to

Keyboard shortcuts

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