1 Star 1 Fork 0

abelli8306 / geekbang-go8

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
helloworld.pb.go 22.80 KB
一键复制 编辑 原始数据 按行查看 历史
xiaoboli 提交于 2022-04-10 14:09 . Add fourth week homework
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.27.1
// protoc v3.19.1
// source: api/helloworld/helloworld.proto
package helloworld
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
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 CreateHelloworldRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *CreateHelloworldRequest) Reset() {
*x = CreateHelloworldRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_api_helloworld_helloworld_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CreateHelloworldRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateHelloworldRequest) ProtoMessage() {}
func (x *CreateHelloworldRequest) ProtoReflect() protoreflect.Message {
mi := &file_api_helloworld_helloworld_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 CreateHelloworldRequest.ProtoReflect.Descriptor instead.
func (*CreateHelloworldRequest) Descriptor() ([]byte, []int) {
return file_api_helloworld_helloworld_proto_rawDescGZIP(), []int{0}
}
type CreateHelloworldReply struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *CreateHelloworldReply) Reset() {
*x = CreateHelloworldReply{}
if protoimpl.UnsafeEnabled {
mi := &file_api_helloworld_helloworld_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CreateHelloworldReply) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateHelloworldReply) ProtoMessage() {}
func (x *CreateHelloworldReply) ProtoReflect() protoreflect.Message {
mi := &file_api_helloworld_helloworld_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 CreateHelloworldReply.ProtoReflect.Descriptor instead.
func (*CreateHelloworldReply) Descriptor() ([]byte, []int) {
return file_api_helloworld_helloworld_proto_rawDescGZIP(), []int{1}
}
type UpdateHelloworldRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *UpdateHelloworldRequest) Reset() {
*x = UpdateHelloworldRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_api_helloworld_helloworld_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UpdateHelloworldRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateHelloworldRequest) ProtoMessage() {}
func (x *UpdateHelloworldRequest) ProtoReflect() protoreflect.Message {
mi := &file_api_helloworld_helloworld_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 UpdateHelloworldRequest.ProtoReflect.Descriptor instead.
func (*UpdateHelloworldRequest) Descriptor() ([]byte, []int) {
return file_api_helloworld_helloworld_proto_rawDescGZIP(), []int{2}
}
type UpdateHelloworldReply struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *UpdateHelloworldReply) Reset() {
*x = UpdateHelloworldReply{}
if protoimpl.UnsafeEnabled {
mi := &file_api_helloworld_helloworld_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UpdateHelloworldReply) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateHelloworldReply) ProtoMessage() {}
func (x *UpdateHelloworldReply) ProtoReflect() protoreflect.Message {
mi := &file_api_helloworld_helloworld_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 UpdateHelloworldReply.ProtoReflect.Descriptor instead.
func (*UpdateHelloworldReply) Descriptor() ([]byte, []int) {
return file_api_helloworld_helloworld_proto_rawDescGZIP(), []int{3}
}
type DeleteHelloworldRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *DeleteHelloworldRequest) Reset() {
*x = DeleteHelloworldRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_api_helloworld_helloworld_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DeleteHelloworldRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteHelloworldRequest) ProtoMessage() {}
func (x *DeleteHelloworldRequest) ProtoReflect() protoreflect.Message {
mi := &file_api_helloworld_helloworld_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 DeleteHelloworldRequest.ProtoReflect.Descriptor instead.
func (*DeleteHelloworldRequest) Descriptor() ([]byte, []int) {
return file_api_helloworld_helloworld_proto_rawDescGZIP(), []int{4}
}
type DeleteHelloworldReply struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *DeleteHelloworldReply) Reset() {
*x = DeleteHelloworldReply{}
if protoimpl.UnsafeEnabled {
mi := &file_api_helloworld_helloworld_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DeleteHelloworldReply) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteHelloworldReply) ProtoMessage() {}
func (x *DeleteHelloworldReply) ProtoReflect() protoreflect.Message {
mi := &file_api_helloworld_helloworld_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 DeleteHelloworldReply.ProtoReflect.Descriptor instead.
func (*DeleteHelloworldReply) Descriptor() ([]byte, []int) {
return file_api_helloworld_helloworld_proto_rawDescGZIP(), []int{5}
}
type GetHelloworldRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *GetHelloworldRequest) Reset() {
*x = GetHelloworldRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_api_helloworld_helloworld_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetHelloworldRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetHelloworldRequest) ProtoMessage() {}
func (x *GetHelloworldRequest) ProtoReflect() protoreflect.Message {
mi := &file_api_helloworld_helloworld_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 GetHelloworldRequest.ProtoReflect.Descriptor instead.
func (*GetHelloworldRequest) Descriptor() ([]byte, []int) {
return file_api_helloworld_helloworld_proto_rawDescGZIP(), []int{6}
}
type GetHelloworldReply struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *GetHelloworldReply) Reset() {
*x = GetHelloworldReply{}
if protoimpl.UnsafeEnabled {
mi := &file_api_helloworld_helloworld_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetHelloworldReply) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetHelloworldReply) ProtoMessage() {}
func (x *GetHelloworldReply) ProtoReflect() protoreflect.Message {
mi := &file_api_helloworld_helloworld_proto_msgTypes[7]
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 GetHelloworldReply.ProtoReflect.Descriptor instead.
func (*GetHelloworldReply) Descriptor() ([]byte, []int) {
return file_api_helloworld_helloworld_proto_rawDescGZIP(), []int{7}
}
type ListHelloworldRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *ListHelloworldRequest) Reset() {
*x = ListHelloworldRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_api_helloworld_helloworld_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ListHelloworldRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListHelloworldRequest) ProtoMessage() {}
func (x *ListHelloworldRequest) ProtoReflect() protoreflect.Message {
mi := &file_api_helloworld_helloworld_proto_msgTypes[8]
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 ListHelloworldRequest.ProtoReflect.Descriptor instead.
func (*ListHelloworldRequest) Descriptor() ([]byte, []int) {
return file_api_helloworld_helloworld_proto_rawDescGZIP(), []int{8}
}
type ListHelloworldReply struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *ListHelloworldReply) Reset() {
*x = ListHelloworldReply{}
if protoimpl.UnsafeEnabled {
mi := &file_api_helloworld_helloworld_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ListHelloworldReply) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListHelloworldReply) ProtoMessage() {}
func (x *ListHelloworldReply) ProtoReflect() protoreflect.Message {
mi := &file_api_helloworld_helloworld_proto_msgTypes[9]
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 ListHelloworldReply.ProtoReflect.Descriptor instead.
func (*ListHelloworldReply) Descriptor() ([]byte, []int) {
return file_api_helloworld_helloworld_proto_rawDescGZIP(), []int{9}
}
var File_api_helloworld_helloworld_proto protoreflect.FileDescriptor
var file_api_helloworld_helloworld_proto_rawDesc = []byte{
0x0a, 0x1f, 0x61, 0x70, 0x69, 0x2f, 0x68, 0x65, 0x6c, 0x6c, 0x6f, 0x77, 0x6f, 0x72, 0x6c, 0x64,
0x2f, 0x68, 0x65, 0x6c, 0x6c, 0x6f, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x12, 0x0e, 0x61, 0x70, 0x69, 0x2e, 0x68, 0x65, 0x6c, 0x6c, 0x6f, 0x77, 0x6f, 0x72, 0x6c,
0x64, 0x22, 0x19, 0x0a, 0x17, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x48, 0x65, 0x6c, 0x6c, 0x6f,
0x77, 0x6f, 0x72, 0x6c, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x17, 0x0a, 0x15,
0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x77, 0x6f, 0x72, 0x6c, 0x64,
0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x19, 0x0a, 0x17, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48,
0x65, 0x6c, 0x6c, 0x6f, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
0x22, 0x17, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x77,
0x6f, 0x72, 0x6c, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x19, 0x0a, 0x17, 0x44, 0x65, 0x6c,
0x65, 0x74, 0x65, 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x52, 0x65, 0x71,
0x75, 0x65, 0x73, 0x74, 0x22, 0x17, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x48, 0x65,
0x6c, 0x6c, 0x6f, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x16, 0x0a,
0x14, 0x47, 0x65, 0x74, 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x52, 0x65,
0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x14, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x48, 0x65, 0x6c, 0x6c,
0x6f, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x17, 0x0a, 0x15, 0x4c,
0x69, 0x73, 0x74, 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x52, 0x65, 0x71,
0x75, 0x65, 0x73, 0x74, 0x22, 0x15, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x48, 0x65, 0x6c, 0x6c,
0x6f, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x32, 0xf1, 0x03, 0x0a, 0x0a,
0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x12, 0x62, 0x0a, 0x10, 0x43, 0x72,
0x65, 0x61, 0x74, 0x65, 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x12, 0x27,
0x2e, 0x61, 0x70, 0x69, 0x2e, 0x68, 0x65, 0x6c, 0x6c, 0x6f, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x2e,
0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x77, 0x6f, 0x72, 0x6c, 0x64,
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x68, 0x65,
0x6c, 0x6c, 0x6f, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x48,
0x65, 0x6c, 0x6c, 0x6f, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x62,
0x0a, 0x10, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x77, 0x6f, 0x72,
0x6c, 0x64, 0x12, 0x27, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x68, 0x65, 0x6c, 0x6c, 0x6f, 0x77, 0x6f,
0x72, 0x6c, 0x64, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x77,
0x6f, 0x72, 0x6c, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x61, 0x70,
0x69, 0x2e, 0x68, 0x65, 0x6c, 0x6c, 0x6f, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x2e, 0x55, 0x70, 0x64,
0x61, 0x74, 0x65, 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x52, 0x65, 0x70,
0x6c, 0x79, 0x12, 0x62, 0x0a, 0x10, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x48, 0x65, 0x6c, 0x6c,
0x6f, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x12, 0x27, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x68, 0x65, 0x6c,
0x6c, 0x6f, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x48, 0x65,
0x6c, 0x6c, 0x6f, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
0x25, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x68, 0x65, 0x6c, 0x6c, 0x6f, 0x77, 0x6f, 0x72, 0x6c, 0x64,
0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x77, 0x6f, 0x72, 0x6c,
0x64, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x59, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x48, 0x65, 0x6c,
0x6c, 0x6f, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x12, 0x24, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x68, 0x65,
0x6c, 0x6c, 0x6f, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x2e, 0x47, 0x65, 0x74, 0x48, 0x65, 0x6c, 0x6c,
0x6f, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e,
0x61, 0x70, 0x69, 0x2e, 0x68, 0x65, 0x6c, 0x6c, 0x6f, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x2e, 0x47,
0x65, 0x74, 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x52, 0x65, 0x70, 0x6c,
0x79, 0x12, 0x5c, 0x0a, 0x0e, 0x4c, 0x69, 0x73, 0x74, 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x77, 0x6f,
0x72, 0x6c, 0x64, 0x12, 0x25, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x68, 0x65, 0x6c, 0x6c, 0x6f, 0x77,
0x6f, 0x72, 0x6c, 0x64, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x77, 0x6f,
0x72, 0x6c, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x61, 0x70, 0x69,
0x2e, 0x68, 0x65, 0x6c, 0x6c, 0x6f, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x2e, 0x4c, 0x69, 0x73, 0x74,
0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x42,
0x34, 0x0a, 0x0e, 0x61, 0x70, 0x69, 0x2e, 0x68, 0x65, 0x6c, 0x6c, 0x6f, 0x77, 0x6f, 0x72, 0x6c,
0x64, 0x50, 0x01, 0x5a, 0x20, 0x77, 0x65, 0x65, 0x6b, 0x30, 0x34, 0x2f, 0x61, 0x70, 0x69, 0x2f,
0x68, 0x65, 0x6c, 0x6c, 0x6f, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x3b, 0x68, 0x65, 0x6c, 0x6c, 0x6f,
0x77, 0x6f, 0x72, 0x6c, 0x64, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_api_helloworld_helloworld_proto_rawDescOnce sync.Once
file_api_helloworld_helloworld_proto_rawDescData = file_api_helloworld_helloworld_proto_rawDesc
)
func file_api_helloworld_helloworld_proto_rawDescGZIP() []byte {
file_api_helloworld_helloworld_proto_rawDescOnce.Do(func() {
file_api_helloworld_helloworld_proto_rawDescData = protoimpl.X.CompressGZIP(file_api_helloworld_helloworld_proto_rawDescData)
})
return file_api_helloworld_helloworld_proto_rawDescData
}
var file_api_helloworld_helloworld_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
var file_api_helloworld_helloworld_proto_goTypes = []interface{}{
(*CreateHelloworldRequest)(nil), // 0: api.helloworld.CreateHelloworldRequest
(*CreateHelloworldReply)(nil), // 1: api.helloworld.CreateHelloworldReply
(*UpdateHelloworldRequest)(nil), // 2: api.helloworld.UpdateHelloworldRequest
(*UpdateHelloworldReply)(nil), // 3: api.helloworld.UpdateHelloworldReply
(*DeleteHelloworldRequest)(nil), // 4: api.helloworld.DeleteHelloworldRequest
(*DeleteHelloworldReply)(nil), // 5: api.helloworld.DeleteHelloworldReply
(*GetHelloworldRequest)(nil), // 6: api.helloworld.GetHelloworldRequest
(*GetHelloworldReply)(nil), // 7: api.helloworld.GetHelloworldReply
(*ListHelloworldRequest)(nil), // 8: api.helloworld.ListHelloworldRequest
(*ListHelloworldReply)(nil), // 9: api.helloworld.ListHelloworldReply
}
var file_api_helloworld_helloworld_proto_depIdxs = []int32{
0, // 0: api.helloworld.Helloworld.CreateHelloworld:input_type -> api.helloworld.CreateHelloworldRequest
2, // 1: api.helloworld.Helloworld.UpdateHelloworld:input_type -> api.helloworld.UpdateHelloworldRequest
4, // 2: api.helloworld.Helloworld.DeleteHelloworld:input_type -> api.helloworld.DeleteHelloworldRequest
6, // 3: api.helloworld.Helloworld.GetHelloworld:input_type -> api.helloworld.GetHelloworldRequest
8, // 4: api.helloworld.Helloworld.ListHelloworld:input_type -> api.helloworld.ListHelloworldRequest
1, // 5: api.helloworld.Helloworld.CreateHelloworld:output_type -> api.helloworld.CreateHelloworldReply
3, // 6: api.helloworld.Helloworld.UpdateHelloworld:output_type -> api.helloworld.UpdateHelloworldReply
5, // 7: api.helloworld.Helloworld.DeleteHelloworld:output_type -> api.helloworld.DeleteHelloworldReply
7, // 8: api.helloworld.Helloworld.GetHelloworld:output_type -> api.helloworld.GetHelloworldReply
9, // 9: api.helloworld.Helloworld.ListHelloworld:output_type -> api.helloworld.ListHelloworldReply
5, // [5:10] is the sub-list for method output_type
0, // [0:5] is the sub-list for method input_type
0, // [0:0] is the sub-list for extension type_name
0, // [0:0] is the sub-list for extension extendee
0, // [0:0] is the sub-list for field type_name
}
func init() { file_api_helloworld_helloworld_proto_init() }
func file_api_helloworld_helloworld_proto_init() {
if File_api_helloworld_helloworld_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_api_helloworld_helloworld_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CreateHelloworldRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_api_helloworld_helloworld_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CreateHelloworldReply); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_api_helloworld_helloworld_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UpdateHelloworldRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_api_helloworld_helloworld_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UpdateHelloworldReply); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_api_helloworld_helloworld_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DeleteHelloworldRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_api_helloworld_helloworld_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DeleteHelloworldReply); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_api_helloworld_helloworld_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetHelloworldRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_api_helloworld_helloworld_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetHelloworldReply); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_api_helloworld_helloworld_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ListHelloworldRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_api_helloworld_helloworld_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ListHelloworldReply); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_api_helloworld_helloworld_proto_rawDesc,
NumEnums: 0,
NumMessages: 10,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_api_helloworld_helloworld_proto_goTypes,
DependencyIndexes: file_api_helloworld_helloworld_proto_depIdxs,
MessageInfos: file_api_helloworld_helloworld_proto_msgTypes,
}.Build()
File_api_helloworld_helloworld_proto = out.File
file_api_helloworld_helloworld_proto_rawDesc = nil
file_api_helloworld_helloworld_proto_goTypes = nil
file_api_helloworld_helloworld_proto_depIdxs = nil
}
Go
1
https://gitee.com/abelli8306/geekbang-go8.git
git@gitee.com:abelli8306/geekbang-go8.git
abelli8306
geekbang-go8
geekbang-go8
8ba61765c9e0

搜索帮助