Documentation ¶
Index ¶
- Variables
- type Notice
- func (*Notice) Descriptor() ([]byte, []int)deprecated
- func (x *Notice) GetContent() string
- func (x *Notice) GetId() string
- func (x *Notice) GetTitle() string
- func (*Notice) ProtoMessage()
- func (x *Notice) ProtoReflect() protoreflect.Message
- func (x *Notice) Reset()
- func (x *Notice) String() string
- func (m *Notice) Validate() error
- type NoticeValidationError
- type SelfLinks
- type SelfLinksValidationError
Constants ¶
This section is empty.
Variables ¶
var File_fanclub_v1_resources_notice_proto protoreflect.FileDescriptor
var File_fanclub_v1_resources_selflinks_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Notice ¶
type Notice struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` // contains filtered or unexported fields }
func (*Notice) Descriptor
deprecated
func (*Notice) GetContent ¶
func (*Notice) ProtoMessage ¶
func (*Notice) ProtoMessage()
func (*Notice) ProtoReflect ¶
func (x *Notice) ProtoReflect() protoreflect.Message
type NoticeValidationError ¶
type NoticeValidationError struct {
// contains filtered or unexported fields
}
NoticeValidationError is the validation error returned by Notice.Validate if the designated constraints aren't met.
func (NoticeValidationError) Cause ¶
func (e NoticeValidationError) Cause() error
Cause function returns cause value.
func (NoticeValidationError) Error ¶
func (e NoticeValidationError) Error() string
Error satisfies the builtin error interface
func (NoticeValidationError) ErrorName ¶
func (e NoticeValidationError) ErrorName() string
ErrorName returns error name.
func (NoticeValidationError) Field ¶
func (e NoticeValidationError) Field() string
Field function returns field value.
func (NoticeValidationError) Key ¶
func (e NoticeValidationError) Key() bool
Key function returns key value.
func (NoticeValidationError) Reason ¶
func (e NoticeValidationError) Reason() string
Reason function returns reason value.
type SelfLinks ¶
type SelfLinks struct { Self string `protobuf:"bytes,1,opt,name=self,proto3" json:"self,omitempty"` // contains filtered or unexported fields }
func (*SelfLinks) Descriptor
deprecated
func (*SelfLinks) ProtoMessage ¶
func (*SelfLinks) ProtoMessage()
func (*SelfLinks) ProtoReflect ¶
func (x *SelfLinks) ProtoReflect() protoreflect.Message
type SelfLinksValidationError ¶
type SelfLinksValidationError struct {
// contains filtered or unexported fields
}
SelfLinksValidationError is the validation error returned by SelfLinks.Validate if the designated constraints aren't met.
func (SelfLinksValidationError) Cause ¶
func (e SelfLinksValidationError) Cause() error
Cause function returns cause value.
func (SelfLinksValidationError) Error ¶
func (e SelfLinksValidationError) Error() string
Error satisfies the builtin error interface
func (SelfLinksValidationError) ErrorName ¶
func (e SelfLinksValidationError) ErrorName() string
ErrorName returns error name.
func (SelfLinksValidationError) Field ¶
func (e SelfLinksValidationError) Field() string
Field function returns field value.
func (SelfLinksValidationError) Key ¶
func (e SelfLinksValidationError) Key() bool
Key function returns key value.
func (SelfLinksValidationError) Reason ¶
func (e SelfLinksValidationError) Reason() string
Reason function returns reason value.