proto

package
v0.0.0-...-a400557 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use Ticket.ProtoReflect.Descriptor instead.

func (*Ticket) GetCreateTime

func (x *Ticket) GetCreateTime() *timestamppb.Timestamp

func (*Ticket) GetCreatorId

func (x *Ticket) GetCreatorId() string

func (*Ticket) GetCreatorName

func (x *Ticket) GetCreatorName() string

func (*Ticket) GetId

func (x *Ticket) GetId() string

func (*Ticket) GetIssues

func (x *Ticket) GetIssues() []*Ticket_Issue

func (*Ticket) ProtoMessage

func (*Ticket) ProtoMessage()

func (*Ticket) ProtoReflect

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

func (*Ticket) Reset

func (x *Ticket) Reset()

func (*Ticket) String

func (x *Ticket) String() string

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

func (Ticket_IssuePriority) EnumDescriptor deprecated

func (Ticket_IssuePriority) EnumDescriptor() ([]byte, []int)

Deprecated: Use Ticket_IssuePriority.Descriptor instead.

func (Ticket_IssuePriority) Number

func (Ticket_IssuePriority) String

func (x Ticket_IssuePriority) String() string

func (Ticket_IssuePriority) Type

Jump to

Keyboard shortcuts

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