Documentation ¶
Index ¶
- Variables
- type Category
- type Character
- func (*Character) Descriptor() ([]byte, []int)deprecated
- func (x *Character) GetName() string
- func (x *Character) GetRole() string
- func (msg *Character) MarshalJSON() ([]byte, error)
- func (*Character) ProtoMessage()
- func (x *Character) ProtoReflect() protoreflect.Message
- func (x *Character) Reset()
- func (x *Character) String() string
- func (msg *Character) UnmarshalJSON(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Category_name = map[int32]string{ 0: "CATEGORY_UNSPECIFIED", 1: "CATEGORY_DRAMA", 2: "CATEGORY_HORROR", } Category_value = map[string]int32{ "CATEGORY_UNSPECIFIED": 0, "CATEGORY_DRAMA": 1, "CATEGORY_HORROR": 2, } )
Enum value maps for Category.
View Source
var File_common_v1_common_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Category ¶
type Category int32
func (Category) Descriptor ¶
func (Category) Descriptor() protoreflect.EnumDescriptor
func (Category) EnumDescriptor
deprecated
func (Category) Number ¶
func (x Category) Number() protoreflect.EnumNumber
func (Category) Type ¶
func (Category) Type() protoreflect.EnumType
type Character ¶
type Character struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Role string `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"` // contains filtered or unexported fields }
func (*Character) Descriptor
deprecated
func (*Character) MarshalJSON ¶ added in v0.7.0
MarshalJSON implements json.Marshaler
func (*Character) ProtoMessage ¶
func (*Character) ProtoMessage()
func (*Character) ProtoReflect ¶
func (x *Character) ProtoReflect() protoreflect.Message
func (*Character) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler
Click to show internal directories.
Click to hide internal directories.