1 Star 0 Fork 0

姜春 / vlog

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
hello.pb.go 21.54 KB
一键复制 编辑 原始数据 按行查看 历史
姜春 提交于 2024-03-24 21:32 . protobuf补充
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.33.0
// protoc v5.26.0
// source: protobuf/hello/hello.proto
package hello
import (
common "gitee.com/baicaijc/vblog/vblogtest/protobuf/common"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
anypb "google.golang.org/protobuf/types/known/anypb"
reflect "reflect"
sync "sync"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
type STATUS int32
const (
// 草稿
STATUS_DRAFT STATUS = 0
// 已发布
STATUS_PUBLISHED STATUS = 1
)
// Enum value maps for STATUS.
var (
STATUS_name = map[int32]string{
0: "DRAFT",
1: "PUBLISHED",
}
STATUS_value = map[string]int32{
"DRAFT": 0,
"PUBLISHED": 1,
}
)
func (x STATUS) Enum() *STATUS {
p := new(STATUS)
*p = x
return p
}
func (x STATUS) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (STATUS) Descriptor() protoreflect.EnumDescriptor {
return file_protobuf_hello_hello_proto_enumTypes[0].Descriptor()
}
func (STATUS) Type() protoreflect.EnumType {
return &file_protobuf_hello_hello_proto_enumTypes[0]
}
func (x STATUS) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use STATUS.Descriptor instead.
func (STATUS) EnumDescriptor() ([]byte, []int) {
return file_protobuf_hello_hello_proto_rawDescGZIP(), []int{0}
}
type String struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
}
func (x *String) Reset() {
*x = String{}
if protoimpl.UnsafeEnabled {
mi := &file_protobuf_hello_hello_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *String) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*String) ProtoMessage() {}
func (x *String) ProtoReflect() protoreflect.Message {
mi := &file_protobuf_hello_hello_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use String.ProtoReflect.Descriptor instead.
func (*String) Descriptor() ([]byte, []int) {
return file_protobuf_hello_hello_proto_rawDescGZIP(), []int{0}
}
func (x *String) GetValue() string {
if x != nil {
return x.Value
}
return ""
}
type QueryBlogRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 分页大小, 一个多少个
// 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 `protobuf:"bytes,5,rep,name=label,proto3" json:"label,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
}
func (x *QueryBlogRequest) Reset() {
*x = QueryBlogRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_protobuf_hello_hello_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *QueryBlogRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*QueryBlogRequest) ProtoMessage() {}
func (x *QueryBlogRequest) ProtoReflect() protoreflect.Message {
mi := &file_protobuf_hello_hello_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use QueryBlogRequest.ProtoReflect.Descriptor instead.
func (*QueryBlogRequest) Descriptor() ([]byte, []int) {
return file_protobuf_hello_hello_proto_rawDescGZIP(), []int{1}
}
func (x *QueryBlogRequest) GetPageRequest() *common.PageRequest {
if x != nil {
return x.PageRequest
}
return nil
}
func (x *QueryBlogRequest) GetPageNumber() int64 {
if x != nil {
return x.PageNumber
}
return 0
}
func (x *QueryBlogRequest) GetCreateBy() string {
if x != nil {
return x.CreateBy
}
return ""
}
func (x *QueryBlogRequest) GetKeywords() string {
if x != nil {
return x.Keywords
}
return ""
}
func (x *QueryBlogRequest) GetLabel() map[string]string {
if x != nil {
return x.Label
}
return nil
}
type QueryBlogRequestSet struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// 多个请求 items : []QueryBlogRequest
Items []*QueryBlogRequest `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
}
func (x *QueryBlogRequestSet) Reset() {
*x = QueryBlogRequestSet{}
if protoimpl.UnsafeEnabled {
mi := &file_protobuf_hello_hello_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *QueryBlogRequestSet) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*QueryBlogRequestSet) ProtoMessage() {}
func (x *QueryBlogRequestSet) ProtoReflect() protoreflect.Message {
mi := &file_protobuf_hello_hello_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use QueryBlogRequestSet.ProtoReflect.Descriptor instead.
func (*QueryBlogRequestSet) Descriptor() ([]byte, []int) {
return file_protobuf_hello_hello_proto_rawDescGZIP(), []int{2}
}
func (x *QueryBlogRequestSet) GetItems() []*QueryBlogRequest {
if x != nil {
return x.Items
}
return nil
}
// Oneof
type Sub1 struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
}
func (x *Sub1) Reset() {
*x = Sub1{}
if protoimpl.UnsafeEnabled {
mi := &file_protobuf_hello_hello_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Sub1) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Sub1) ProtoMessage() {}
func (x *Sub1) ProtoReflect() protoreflect.Message {
mi := &file_protobuf_hello_hello_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Sub1.ProtoReflect.Descriptor instead.
func (*Sub1) Descriptor() ([]byte, []int) {
return file_protobuf_hello_hello_proto_rawDescGZIP(), []int{3}
}
func (x *Sub1) GetName() string {
if x != nil {
return x.Name
}
return ""
}
type Sub2 struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
}
func (x *Sub2) Reset() {
*x = Sub2{}
if protoimpl.UnsafeEnabled {
mi := &file_protobuf_hello_hello_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Sub2) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Sub2) ProtoMessage() {}
func (x *Sub2) ProtoReflect() protoreflect.Message {
mi := &file_protobuf_hello_hello_proto_msgTypes[4]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Sub2.ProtoReflect.Descriptor instead.
func (*Sub2) Descriptor() ([]byte, []int) {
return file_protobuf_hello_hello_proto_rawDescGZIP(), []int{4}
}
func (x *Sub2) GetName() string {
if x != nil {
return x.Name
}
return ""
}
type SampleMessage struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Types that are assignable to TestOneof:
//
// *SampleMessage_Sub1
// *SampleMessage_Sub2
TestOneof isSampleMessage_TestOneof `protobuf_oneof:"test_oneof"`
}
func (x *SampleMessage) Reset() {
*x = SampleMessage{}
if protoimpl.UnsafeEnabled {
mi := &file_protobuf_hello_hello_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *SampleMessage) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SampleMessage) ProtoMessage() {}
func (x *SampleMessage) ProtoReflect() protoreflect.Message {
mi := &file_protobuf_hello_hello_proto_msgTypes[5]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SampleMessage.ProtoReflect.Descriptor instead.
func (*SampleMessage) Descriptor() ([]byte, []int) {
return file_protobuf_hello_hello_proto_rawDescGZIP(), []int{5}
}
func (m *SampleMessage) GetTestOneof() isSampleMessage_TestOneof {
if m != nil {
return m.TestOneof
}
return nil
}
func (x *SampleMessage) GetSub1() *Sub1 {
if x, ok := x.GetTestOneof().(*SampleMessage_Sub1); ok {
return x.Sub1
}
return nil
}
func (x *SampleMessage) GetSub2() *Sub2 {
if x, ok := x.GetTestOneof().(*SampleMessage_Sub2); ok {
return x.Sub2
}
return nil
}
type isSampleMessage_TestOneof interface {
isSampleMessage_TestOneof()
}
type SampleMessage_Sub1 struct {
Sub1 *Sub1 `protobuf:"bytes,1,opt,name=sub1,proto3,oneof"`
}
type SampleMessage_Sub2 struct {
Sub2 *Sub2 `protobuf:"bytes,2,opt,name=sub2,proto3,oneof"`
}
func (*SampleMessage_Sub1) isSampleMessage_TestOneof() {}
func (*SampleMessage_Sub2) isSampleMessage_TestOneof() {}
// Any
type ErrorStatus struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
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"`
}
func (x *ErrorStatus) Reset() {
*x = ErrorStatus{}
if protoimpl.UnsafeEnabled {
mi := &file_protobuf_hello_hello_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ErrorStatus) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ErrorStatus) ProtoMessage() {}
func (x *ErrorStatus) ProtoReflect() protoreflect.Message {
mi := &file_protobuf_hello_hello_proto_msgTypes[6]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ErrorStatus.ProtoReflect.Descriptor instead.
func (*ErrorStatus) Descriptor() ([]byte, []int) {
return file_protobuf_hello_hello_proto_rawDescGZIP(), []int{6}
}
func (x *ErrorStatus) GetMessage() string {
if x != nil {
return x.Message
}
return ""
}
func (x *ErrorStatus) GetDetails() []*anypb.Any {
if x != nil {
return x.Details
}
return nil
}
var File_protobuf_hello_hello_proto protoreflect.FileDescriptor
var file_protobuf_hello_hello_proto_rawDesc = []byte{
0x0a, 0x1a, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x68, 0x65, 0x6c, 0x6c, 0x6f,
0x2f, 0x68, 0x65, 0x6c, 0x6c, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x05, 0x68, 0x65,
0x6c, 0x6c, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f,
0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x1e, 0x0a, 0x06,
0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x98, 0x02, 0x0a,
0x10, 0x51, 0x75, 0x65, 0x72, 0x79, 0x42, 0x6c, 0x6f, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
0x74, 0x12, 0x36, 0x0a, 0x0c, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73,
0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
0x2e, 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0b, 0x70, 0x61,
0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x61, 0x67,
0x65, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a,
0x70, 0x61, 0x67, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x72,
0x65, 0x61, 0x74, 0x65, 0x5f, 0x62, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63,
0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x77, 0x6f,
0x72, 0x64, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x77, 0x6f,
0x72, 0x64, 0x73, 0x12, 0x38, 0x0a, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x05, 0x20, 0x03,
0x28, 0x0b, 0x32, 0x22, 0x2e, 0x68, 0x65, 0x6c, 0x6c, 0x6f, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79,
0x42, 0x6c, 0x6f, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x4c, 0x61, 0x62, 0x65,
0x6c, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x1a, 0x38, 0x0a,
0x0a, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b,
0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a,
0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61,
0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x44, 0x0a, 0x13, 0x51, 0x75, 0x65, 0x72, 0x79,
0x42, 0x6c, 0x6f, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x53, 0x65, 0x74, 0x12, 0x2d,
0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e,
0x68, 0x65, 0x6c, 0x6c, 0x6f, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x42, 0x6c, 0x6f, 0x67, 0x52,
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x22, 0x1a, 0x0a,
0x04, 0x53, 0x75, 0x62, 0x31, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x1a, 0x0a, 0x04, 0x53, 0x75, 0x62,
0x32, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x63, 0x0a, 0x0d, 0x53, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x4d,
0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x21, 0x0a, 0x04, 0x73, 0x75, 0x62, 0x31, 0x18, 0x01,
0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x68, 0x65, 0x6c, 0x6c, 0x6f, 0x2e, 0x53, 0x75, 0x62,
0x31, 0x48, 0x00, 0x52, 0x04, 0x73, 0x75, 0x62, 0x31, 0x12, 0x21, 0x0a, 0x04, 0x73, 0x75, 0x62,
0x32, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x68, 0x65, 0x6c, 0x6c, 0x6f, 0x2e,
0x53, 0x75, 0x62, 0x32, 0x48, 0x00, 0x52, 0x04, 0x73, 0x75, 0x62, 0x32, 0x42, 0x0c, 0x0a, 0x0a,
0x74, 0x65, 0x73, 0x74, 0x5f, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x22, 0x57, 0x0a, 0x0b, 0x45, 0x72,
0x72, 0x6f, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73,
0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73,
0x61, 0x67, 0x65, 0x12, 0x2e, 0x0a, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x02,
0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x07, 0x64, 0x65, 0x74, 0x61,
0x69, 0x6c, 0x73, 0x2a, 0x22, 0x0a, 0x06, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x12, 0x09, 0x0a,
0x05, 0x44, 0x52, 0x41, 0x46, 0x54, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x50, 0x55, 0x42, 0x4c,
0x49, 0x53, 0x48, 0x45, 0x44, 0x10, 0x01, 0x42, 0x33, 0x5a, 0x31, 0x67, 0x69, 0x74, 0x65, 0x65,
0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x62, 0x61, 0x69, 0x63, 0x61, 0x69, 0x6a, 0x63, 0x2f, 0x76, 0x62,
0x6c, 0x6f, 0x67, 0x2f, 0x76, 0x62, 0x6c, 0x6f, 0x67, 0x74, 0x65, 0x73, 0x74, 0x2f, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x68, 0x65, 0x6c, 0x6c, 0x6f, 0x62, 0x06, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x33,
}
var (
file_protobuf_hello_hello_proto_rawDescOnce sync.Once
file_protobuf_hello_hello_proto_rawDescData = file_protobuf_hello_hello_proto_rawDesc
)
func file_protobuf_hello_hello_proto_rawDescGZIP() []byte {
file_protobuf_hello_hello_proto_rawDescOnce.Do(func() {
file_protobuf_hello_hello_proto_rawDescData = protoimpl.X.CompressGZIP(file_protobuf_hello_hello_proto_rawDescData)
})
return file_protobuf_hello_hello_proto_rawDescData
}
var file_protobuf_hello_hello_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_protobuf_hello_hello_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
var file_protobuf_hello_hello_proto_goTypes = []interface{}{
(STATUS)(0), // 0: hello.STATUS
(*String)(nil), // 1: hello.String
(*QueryBlogRequest)(nil), // 2: hello.QueryBlogRequest
(*QueryBlogRequestSet)(nil), // 3: hello.QueryBlogRequestSet
(*Sub1)(nil), // 4: hello.Sub1
(*Sub2)(nil), // 5: hello.Sub2
(*SampleMessage)(nil), // 6: hello.SampleMessage
(*ErrorStatus)(nil), // 7: hello.ErrorStatus
nil, // 8: hello.QueryBlogRequest.LabelEntry
(*common.PageRequest)(nil), // 9: common.PageRequest
(*anypb.Any)(nil), // 10: google.protobuf.Any
}
var file_protobuf_hello_hello_proto_depIdxs = []int32{
9, // 0: hello.QueryBlogRequest.page_request:type_name -> common.PageRequest
8, // 1: hello.QueryBlogRequest.label:type_name -> hello.QueryBlogRequest.LabelEntry
2, // 2: hello.QueryBlogRequestSet.items:type_name -> hello.QueryBlogRequest
4, // 3: hello.SampleMessage.sub1:type_name -> hello.Sub1
5, // 4: hello.SampleMessage.sub2:type_name -> hello.Sub2
10, // 5: hello.ErrorStatus.details:type_name -> google.protobuf.Any
6, // [6:6] is the sub-list for method output_type
6, // [6:6] is the sub-list for method input_type
6, // [6:6] is the sub-list for extension type_name
6, // [6:6] is the sub-list for extension extendee
0, // [0:6] is the sub-list for field type_name
}
func init() { file_protobuf_hello_hello_proto_init() }
func file_protobuf_hello_hello_proto_init() {
if File_protobuf_hello_hello_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_protobuf_hello_hello_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*String); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_protobuf_hello_hello_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*QueryBlogRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_protobuf_hello_hello_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*QueryBlogRequestSet); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_protobuf_hello_hello_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Sub1); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_protobuf_hello_hello_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Sub2); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_protobuf_hello_hello_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SampleMessage); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_protobuf_hello_hello_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ErrorStatus); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
file_protobuf_hello_hello_proto_msgTypes[5].OneofWrappers = []interface{}{
(*SampleMessage_Sub1)(nil),
(*SampleMessage_Sub2)(nil),
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_protobuf_hello_hello_proto_rawDesc,
NumEnums: 1,
NumMessages: 8,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_protobuf_hello_hello_proto_goTypes,
DependencyIndexes: file_protobuf_hello_hello_proto_depIdxs,
EnumInfos: file_protobuf_hello_hello_proto_enumTypes,
MessageInfos: file_protobuf_hello_hello_proto_msgTypes,
}.Build()
File_protobuf_hello_hello_proto = out.File
file_protobuf_hello_hello_proto_rawDesc = nil
file_protobuf_hello_hello_proto_goTypes = nil
file_protobuf_hello_hello_proto_depIdxs = nil
}
Go
1
https://gitee.com/baicaijc/vblog.git
git@gitee.com:baicaijc/vblog.git
baicaijc
vblog
vlog
8e0b234b9a26

搜索帮助

53164aa7 5694891 3bd8fe86 5694891