Documentation ¶
Index ¶
- Variables
- type ErrorStatus
- func (*ErrorStatus) Descriptor() ([]byte, []int)deprecated
- func (x *ErrorStatus) GetDetails() []*anypb.Any
- func (x *ErrorStatus) GetMessage() string
- func (*ErrorStatus) ProtoMessage()
- func (x *ErrorStatus) ProtoReflect() protoreflect.Message
- func (x *ErrorStatus) Reset()
- func (x *ErrorStatus) String() string
- type QueryBlogRequest
- func (*QueryBlogRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryBlogRequest) GetCreateBy() string
- func (x *QueryBlogRequest) GetKeywords() string
- func (x *QueryBlogRequest) GetLabel() map[string]string
- func (x *QueryBlogRequest) GetPageNumber() int64
- func (x *QueryBlogRequest) GetPageRequest() *common.PageRequest
- func (*QueryBlogRequest) ProtoMessage()
- func (x *QueryBlogRequest) ProtoReflect() protoreflect.Message
- func (x *QueryBlogRequest) Reset()
- func (x *QueryBlogRequest) String() string
- type QueryBlogRequestSet
- func (*QueryBlogRequestSet) Descriptor() ([]byte, []int)deprecated
- func (x *QueryBlogRequestSet) GetItems() []*QueryBlogRequest
- func (*QueryBlogRequestSet) ProtoMessage()
- func (x *QueryBlogRequestSet) ProtoReflect() protoreflect.Message
- func (x *QueryBlogRequestSet) Reset()
- func (x *QueryBlogRequestSet) String() string
- type STATUS
- type SampleMessage
- func (*SampleMessage) Descriptor() ([]byte, []int)deprecated
- func (x *SampleMessage) GetSub1() *Sub1
- func (x *SampleMessage) GetSub2() *Sub2
- func (m *SampleMessage) GetTestOneof() isSampleMessage_TestOneof
- func (*SampleMessage) ProtoMessage()
- func (x *SampleMessage) ProtoReflect() protoreflect.Message
- func (x *SampleMessage) Reset()
- func (x *SampleMessage) String() string
- type SampleMessage_Sub1
- type SampleMessage_Sub2
- type String
- type Sub1
- type Sub2
Constants ¶
This section is empty.
Variables ¶
View Source
var ( STATUS_name = map[int32]string{ 0: "DRAFT", 1: "PUBLISHED", } STATUS_value = map[string]int32{ "DRAFT": 0, "PUBLISHED": 1, } )
Enum value maps for STATUS.
View Source
var File_protobuf_hello_hello_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ErrorStatus ¶
type ErrorStatus struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` Details []*anypb.Any `protobuf:"bytes,2,rep,name=details,proto3" json:"details,omitempty"` // contains filtered or unexported fields }
Any
func (*ErrorStatus) Descriptor
deprecated
func (*ErrorStatus) Descriptor() ([]byte, []int)
Deprecated: Use ErrorStatus.ProtoReflect.Descriptor instead.
func (*ErrorStatus) GetDetails ¶
func (x *ErrorStatus) GetDetails() []*anypb.Any
func (*ErrorStatus) GetMessage ¶
func (x *ErrorStatus) GetMessage() string
func (*ErrorStatus) ProtoMessage ¶
func (*ErrorStatus) ProtoMessage()
func (*ErrorStatus) ProtoReflect ¶
func (x *ErrorStatus) ProtoReflect() protoreflect.Message
func (*ErrorStatus) Reset ¶
func (x *ErrorStatus) Reset()
func (*ErrorStatus) String ¶
func (x *ErrorStatus) String() string
type QueryBlogRequest ¶
type QueryBlogRequest struct { // 分页大小, 一个多少个 // page_size -> PageSize PageRequest *common.PageRequest `protobuf:"bytes,1,opt,name=page_request,json=pageRequest,proto3" json:"page_request,omitempty"` // 当前页, 查询哪一页的数据 PageNumber int64 `protobuf:"varint,2,opt,name=page_number,json=pageNumber,proto3" json:"page_number,omitempty"` // 谁创建的文章 CreateBy string `protobuf:"bytes,3,opt,name=create_by,json=createBy,proto3" json:"create_by,omitempty"` // 通过文字名字进行关键字搜索 Keywords string `protobuf:"bytes,4,opt,name=keywords,proto3" json:"keywords,omitempty"` // label {key=value} Label map[string]string `` /* 151-byte string literal not displayed */ // contains filtered or unexported fields }
func (*QueryBlogRequest) Descriptor
deprecated
func (*QueryBlogRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryBlogRequest.ProtoReflect.Descriptor instead.
func (*QueryBlogRequest) GetCreateBy ¶
func (x *QueryBlogRequest) GetCreateBy() string
func (*QueryBlogRequest) GetKeywords ¶
func (x *QueryBlogRequest) GetKeywords() string
func (*QueryBlogRequest) GetLabel ¶
func (x *QueryBlogRequest) GetLabel() map[string]string
func (*QueryBlogRequest) GetPageNumber ¶
func (x *QueryBlogRequest) GetPageNumber() int64
func (*QueryBlogRequest) GetPageRequest ¶
func (x *QueryBlogRequest) GetPageRequest() *common.PageRequest
func (*QueryBlogRequest) ProtoMessage ¶
func (*QueryBlogRequest) ProtoMessage()
func (*QueryBlogRequest) ProtoReflect ¶
func (x *QueryBlogRequest) ProtoReflect() protoreflect.Message
func (*QueryBlogRequest) Reset ¶
func (x *QueryBlogRequest) Reset()
func (*QueryBlogRequest) String ¶
func (x *QueryBlogRequest) String() string
type QueryBlogRequestSet ¶
type QueryBlogRequestSet struct { // 多个请求 items : []QueryBlogRequest Items []*QueryBlogRequest `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*QueryBlogRequestSet) Descriptor
deprecated
func (*QueryBlogRequestSet) Descriptor() ([]byte, []int)
Deprecated: Use QueryBlogRequestSet.ProtoReflect.Descriptor instead.
func (*QueryBlogRequestSet) GetItems ¶
func (x *QueryBlogRequestSet) GetItems() []*QueryBlogRequest
func (*QueryBlogRequestSet) ProtoMessage ¶
func (*QueryBlogRequestSet) ProtoMessage()
func (*QueryBlogRequestSet) ProtoReflect ¶
func (x *QueryBlogRequestSet) ProtoReflect() protoreflect.Message
func (*QueryBlogRequestSet) Reset ¶
func (x *QueryBlogRequestSet) Reset()
func (*QueryBlogRequestSet) String ¶
func (x *QueryBlogRequestSet) String() string
type STATUS ¶
type STATUS int32
func (STATUS) Descriptor ¶
func (STATUS) Descriptor() protoreflect.EnumDescriptor
func (STATUS) EnumDescriptor
deprecated
func (STATUS) Number ¶
func (x STATUS) Number() protoreflect.EnumNumber
func (STATUS) Type ¶
func (STATUS) Type() protoreflect.EnumType
type SampleMessage ¶
type SampleMessage struct { // Types that are assignable to TestOneof: // // *SampleMessage_Sub1 // *SampleMessage_Sub2 TestOneof isSampleMessage_TestOneof `protobuf_oneof:"test_oneof"` // contains filtered or unexported fields }
func (*SampleMessage) Descriptor
deprecated
func (*SampleMessage) Descriptor() ([]byte, []int)
Deprecated: Use SampleMessage.ProtoReflect.Descriptor instead.
func (*SampleMessage) GetSub1 ¶
func (x *SampleMessage) GetSub1() *Sub1
func (*SampleMessage) GetSub2 ¶
func (x *SampleMessage) GetSub2() *Sub2
func (*SampleMessage) GetTestOneof ¶
func (m *SampleMessage) GetTestOneof() isSampleMessage_TestOneof
func (*SampleMessage) ProtoMessage ¶
func (*SampleMessage) ProtoMessage()
func (*SampleMessage) ProtoReflect ¶
func (x *SampleMessage) ProtoReflect() protoreflect.Message
func (*SampleMessage) Reset ¶
func (x *SampleMessage) Reset()
func (*SampleMessage) String ¶
func (x *SampleMessage) String() string
type SampleMessage_Sub1 ¶
type SampleMessage_Sub1 struct {
Sub1 *Sub1 `protobuf:"bytes,1,opt,name=sub1,proto3,oneof"`
}
type SampleMessage_Sub2 ¶
type SampleMessage_Sub2 struct {
Sub2 *Sub2 `protobuf:"bytes,2,opt,name=sub2,proto3,oneof"`
}
type String ¶
type String struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*String) Descriptor
deprecated
func (*String) ProtoMessage ¶
func (*String) ProtoMessage()
func (*String) ProtoReflect ¶
func (x *String) ProtoReflect() protoreflect.Message
type Sub1 ¶
type Sub1 struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Oneof
func (*Sub1) Descriptor
deprecated
func (*Sub1) ProtoMessage ¶
func (*Sub1) ProtoMessage()
func (*Sub1) ProtoReflect ¶
func (x *Sub1) ProtoReflect() protoreflect.Message
type Sub2 ¶
type Sub2 struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*Sub2) Descriptor
deprecated
func (*Sub2) ProtoMessage ¶
func (*Sub2) ProtoMessage()
func (*Sub2) ProtoReflect ¶
func (x *Sub2) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.