Documentation ¶
Index ¶
- Variables
- type Ticket
- func (*Ticket) Descriptor() ([]byte, []int)deprecated
- func (x *Ticket) GetCreateTime() *timestamppb.Timestamp
- func (x *Ticket) GetCreatorId() string
- func (x *Ticket) GetCreatorName() string
- func (x *Ticket) GetId() string
- func (x *Ticket) GetIssues() []*Ticket_Issue
- func (*Ticket) ProtoMessage()
- func (x *Ticket) ProtoReflect() protoreflect.Message
- func (x *Ticket) Reset()
- func (x *Ticket) String() string
- type Ticket_Issue
- func (*Ticket_Issue) Descriptor() ([]byte, []int)deprecated
- func (x *Ticket_Issue) GetAssignee() string
- func (x *Ticket_Issue) GetDescription() string
- func (x *Ticket_Issue) GetId() string
- func (x *Ticket_Issue) GetPriority() Ticket_IssuePriority
- func (*Ticket_Issue) ProtoMessage()
- func (x *Ticket_Issue) ProtoReflect() protoreflect.Message
- func (x *Ticket_Issue) Reset()
- func (x *Ticket_Issue) String() string
- type Ticket_IssuePriority
- func (Ticket_IssuePriority) Descriptor() protoreflect.EnumDescriptor
- func (x Ticket_IssuePriority) Enum() *Ticket_IssuePriority
- func (Ticket_IssuePriority) EnumDescriptor() ([]byte, []int)deprecated
- func (x Ticket_IssuePriority) Number() protoreflect.EnumNumber
- func (x Ticket_IssuePriority) String() string
- func (Ticket_IssuePriority) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Ticket_IssuePriority_name = map[int32]string{ 0: "HIGH", 1: "MEDIUM", 2: "LOW", } Ticket_IssuePriority_value = map[string]int32{ "HIGH": 0, "MEDIUM": 1, "LOW": 2, } )
Enum value maps for Ticket_IssuePriority.
View Source
var File_ticket_v1_ticket_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Ticket ¶
type Ticket struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` CreatorId string `protobuf:"bytes,2,opt,name=creatorId,proto3" json:"creatorId,omitempty"` CreatorName string `protobuf:"bytes,3,opt,name=creatorName,proto3" json:"creatorName,omitempty"` Issues []*Ticket_Issue `protobuf:"bytes,4,rep,name=issues,proto3" json:"issues,omitempty"` CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=createTime,proto3" json:"createTime,omitempty"` // contains filtered or unexported fields }
func (*Ticket) Descriptor
deprecated
func (*Ticket) GetCreateTime ¶
func (x *Ticket) GetCreateTime() *timestamppb.Timestamp
func (*Ticket) GetCreatorId ¶
func (*Ticket) GetCreatorName ¶
func (*Ticket) GetIssues ¶
func (x *Ticket) GetIssues() []*Ticket_Issue
func (*Ticket) ProtoMessage ¶
func (*Ticket) ProtoMessage()
func (*Ticket) ProtoReflect ¶
func (x *Ticket) ProtoReflect() protoreflect.Message
type Ticket_Issue ¶
type Ticket_Issue struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Priority Ticket_IssuePriority `protobuf:"varint,2,opt,name=priority,proto3,enum=student.Ticket_IssuePriority" json:"priority,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Assignee string `protobuf:"bytes,4,opt,name=assignee,proto3" json:"assignee,omitempty"` // contains filtered or unexported fields }
func (*Ticket_Issue) Descriptor
deprecated
func (*Ticket_Issue) Descriptor() ([]byte, []int)
Deprecated: Use Ticket_Issue.ProtoReflect.Descriptor instead.
func (*Ticket_Issue) GetAssignee ¶
func (x *Ticket_Issue) GetAssignee() string
func (*Ticket_Issue) GetDescription ¶
func (x *Ticket_Issue) GetDescription() string
func (*Ticket_Issue) GetId ¶
func (x *Ticket_Issue) GetId() string
func (*Ticket_Issue) GetPriority ¶
func (x *Ticket_Issue) GetPriority() Ticket_IssuePriority
func (*Ticket_Issue) ProtoMessage ¶
func (*Ticket_Issue) ProtoMessage()
func (*Ticket_Issue) ProtoReflect ¶
func (x *Ticket_Issue) ProtoReflect() protoreflect.Message
func (*Ticket_Issue) Reset ¶
func (x *Ticket_Issue) Reset()
func (*Ticket_Issue) String ¶
func (x *Ticket_Issue) String() string
type Ticket_IssuePriority ¶
type Ticket_IssuePriority int32
const ( Ticket_HIGH Ticket_IssuePriority = 0 Ticket_MEDIUM Ticket_IssuePriority = 1 Ticket_LOW Ticket_IssuePriority = 2 )
func (Ticket_IssuePriority) Descriptor ¶
func (Ticket_IssuePriority) Descriptor() protoreflect.EnumDescriptor
func (Ticket_IssuePriority) Enum ¶
func (x Ticket_IssuePriority) Enum() *Ticket_IssuePriority
func (Ticket_IssuePriority) EnumDescriptor
deprecated
func (Ticket_IssuePriority) EnumDescriptor() ([]byte, []int)
Deprecated: Use Ticket_IssuePriority.Descriptor instead.
func (Ticket_IssuePriority) Number ¶
func (x Ticket_IssuePriority) Number() protoreflect.EnumNumber
func (Ticket_IssuePriority) String ¶
func (x Ticket_IssuePriority) String() string
func (Ticket_IssuePriority) Type ¶
func (Ticket_IssuePriority) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.