457 lines
13 KiB
Go
457 lines
13 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.28.0
|
|
// protoc v3.20.0
|
|
// source: guidance/guidance_msg.proto
|
|
|
|
package pb
|
|
|
|
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 GuidanceInfoReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *GuidanceInfoReq) Reset() {
|
|
*x = GuidanceInfoReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_guidance_guidance_msg_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GuidanceInfoReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GuidanceInfoReq) ProtoMessage() {}
|
|
|
|
func (x *GuidanceInfoReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_guidance_guidance_msg_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 GuidanceInfoReq.ProtoReflect.Descriptor instead.
|
|
func (*GuidanceInfoReq) Descriptor() ([]byte, []int) {
|
|
return file_guidance_guidance_msg_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
//引导信息回应
|
|
type GuidanceInfoResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Info *DBGuidance `protobuf:"bytes,1,opt,name=info,proto3" json:"info"`
|
|
}
|
|
|
|
func (x *GuidanceInfoResp) Reset() {
|
|
*x = GuidanceInfoResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_guidance_guidance_msg_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GuidanceInfoResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GuidanceInfoResp) ProtoMessage() {}
|
|
|
|
func (x *GuidanceInfoResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_guidance_guidance_msg_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 GuidanceInfoResp.ProtoReflect.Descriptor instead.
|
|
func (*GuidanceInfoResp) Descriptor() ([]byte, []int) {
|
|
return file_guidance_guidance_msg_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *GuidanceInfoResp) GetInfo() *DBGuidance {
|
|
if x != nil {
|
|
return x.Info
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//完成引导信息请求
|
|
type GuidanceCompleteReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Gid int32 `protobuf:"varint,1,opt,name=gid,proto3" json:"gid"` //引导id
|
|
}
|
|
|
|
func (x *GuidanceCompleteReq) Reset() {
|
|
*x = GuidanceCompleteReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_guidance_guidance_msg_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GuidanceCompleteReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GuidanceCompleteReq) ProtoMessage() {}
|
|
|
|
func (x *GuidanceCompleteReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_guidance_guidance_msg_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 GuidanceCompleteReq.ProtoReflect.Descriptor instead.
|
|
func (*GuidanceCompleteReq) Descriptor() ([]byte, []int) {
|
|
return file_guidance_guidance_msg_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *GuidanceCompleteReq) GetGid() int32 {
|
|
if x != nil {
|
|
return x.Gid
|
|
}
|
|
return 0
|
|
}
|
|
|
|
//完成引导信息回应
|
|
type GuidanceCompleteResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Gid int32 `protobuf:"varint,1,opt,name=gid,proto3" json:"gid"` //引导id
|
|
}
|
|
|
|
func (x *GuidanceCompleteResp) Reset() {
|
|
*x = GuidanceCompleteResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_guidance_guidance_msg_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GuidanceCompleteResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GuidanceCompleteResp) ProtoMessage() {}
|
|
|
|
func (x *GuidanceCompleteResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_guidance_guidance_msg_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 GuidanceCompleteResp.ProtoReflect.Descriptor instead.
|
|
func (*GuidanceCompleteResp) Descriptor() ([]byte, []int) {
|
|
return file_guidance_guidance_msg_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *GuidanceCompleteResp) GetGid() int32 {
|
|
if x != nil {
|
|
return x.Gid
|
|
}
|
|
return 0
|
|
}
|
|
|
|
//设置开始引导 请求
|
|
type GuidanceBeginReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Gid string `protobuf:"bytes,1,opt,name=gid,proto3" json:"gid"` //引导id
|
|
}
|
|
|
|
func (x *GuidanceBeginReq) Reset() {
|
|
*x = GuidanceBeginReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_guidance_guidance_msg_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GuidanceBeginReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GuidanceBeginReq) ProtoMessage() {}
|
|
|
|
func (x *GuidanceBeginReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_guidance_guidance_msg_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 GuidanceBeginReq.ProtoReflect.Descriptor instead.
|
|
func (*GuidanceBeginReq) Descriptor() ([]byte, []int) {
|
|
return file_guidance_guidance_msg_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *GuidanceBeginReq) GetGid() string {
|
|
if x != nil {
|
|
return x.Gid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
//设置开始引导 请求回应
|
|
type GuidanceBeginResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Gid string `protobuf:"bytes,1,opt,name=gid,proto3" json:"gid"` //成功回应
|
|
}
|
|
|
|
func (x *GuidanceBeginResp) Reset() {
|
|
*x = GuidanceBeginResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_guidance_guidance_msg_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GuidanceBeginResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GuidanceBeginResp) ProtoMessage() {}
|
|
|
|
func (x *GuidanceBeginResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_guidance_guidance_msg_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 GuidanceBeginResp.ProtoReflect.Descriptor instead.
|
|
func (*GuidanceBeginResp) Descriptor() ([]byte, []int) {
|
|
return file_guidance_guidance_msg_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *GuidanceBeginResp) GetGid() string {
|
|
if x != nil {
|
|
return x.Gid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
var File_guidance_guidance_msg_proto protoreflect.FileDescriptor
|
|
|
|
var file_guidance_guidance_msg_proto_rawDesc = []byte{
|
|
0x0a, 0x1b, 0x67, 0x75, 0x69, 0x64, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x67, 0x75, 0x69, 0x64, 0x61,
|
|
0x6e, 0x63, 0x65, 0x5f, 0x6d, 0x73, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x67,
|
|
0x75, 0x69, 0x64, 0x61, 0x6e, 0x63, 0x65, 0x2f, 0x67, 0x75, 0x69, 0x64, 0x61, 0x6e, 0x63, 0x65,
|
|
0x5f, 0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x11, 0x0a, 0x0f, 0x47, 0x75, 0x69,
|
|
0x64, 0x61, 0x6e, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x22, 0x33, 0x0a, 0x10,
|
|
0x47, 0x75, 0x69, 0x64, 0x61, 0x6e, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70,
|
|
0x12, 0x1f, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b,
|
|
0x2e, 0x44, 0x42, 0x47, 0x75, 0x69, 0x64, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x04, 0x69, 0x6e, 0x66,
|
|
0x6f, 0x22, 0x27, 0x0a, 0x13, 0x47, 0x75, 0x69, 0x64, 0x61, 0x6e, 0x63, 0x65, 0x43, 0x6f, 0x6d,
|
|
0x70, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x67, 0x69, 0x64, 0x18,
|
|
0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x67, 0x69, 0x64, 0x22, 0x28, 0x0a, 0x14, 0x47, 0x75,
|
|
0x69, 0x64, 0x61, 0x6e, 0x63, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65,
|
|
0x73, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x67, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52,
|
|
0x03, 0x67, 0x69, 0x64, 0x22, 0x24, 0x0a, 0x10, 0x47, 0x75, 0x69, 0x64, 0x61, 0x6e, 0x63, 0x65,
|
|
0x42, 0x65, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x67, 0x69, 0x64, 0x18,
|
|
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x67, 0x69, 0x64, 0x22, 0x25, 0x0a, 0x11, 0x47, 0x75,
|
|
0x69, 0x64, 0x61, 0x6e, 0x63, 0x65, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12,
|
|
0x10, 0x0a, 0x03, 0x67, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x67, 0x69,
|
|
0x64, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
|
0x33,
|
|
}
|
|
|
|
var (
|
|
file_guidance_guidance_msg_proto_rawDescOnce sync.Once
|
|
file_guidance_guidance_msg_proto_rawDescData = file_guidance_guidance_msg_proto_rawDesc
|
|
)
|
|
|
|
func file_guidance_guidance_msg_proto_rawDescGZIP() []byte {
|
|
file_guidance_guidance_msg_proto_rawDescOnce.Do(func() {
|
|
file_guidance_guidance_msg_proto_rawDescData = protoimpl.X.CompressGZIP(file_guidance_guidance_msg_proto_rawDescData)
|
|
})
|
|
return file_guidance_guidance_msg_proto_rawDescData
|
|
}
|
|
|
|
var file_guidance_guidance_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
|
|
var file_guidance_guidance_msg_proto_goTypes = []interface{}{
|
|
(*GuidanceInfoReq)(nil), // 0: GuidanceInfoReq
|
|
(*GuidanceInfoResp)(nil), // 1: GuidanceInfoResp
|
|
(*GuidanceCompleteReq)(nil), // 2: GuidanceCompleteReq
|
|
(*GuidanceCompleteResp)(nil), // 3: GuidanceCompleteResp
|
|
(*GuidanceBeginReq)(nil), // 4: GuidanceBeginReq
|
|
(*GuidanceBeginResp)(nil), // 5: GuidanceBeginResp
|
|
(*DBGuidance)(nil), // 6: DBGuidance
|
|
}
|
|
var file_guidance_guidance_msg_proto_depIdxs = []int32{
|
|
6, // 0: GuidanceInfoResp.info:type_name -> DBGuidance
|
|
1, // [1:1] is the sub-list for method output_type
|
|
1, // [1:1] is the sub-list for method input_type
|
|
1, // [1:1] is the sub-list for extension type_name
|
|
1, // [1:1] is the sub-list for extension extendee
|
|
0, // [0:1] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_guidance_guidance_msg_proto_init() }
|
|
func file_guidance_guidance_msg_proto_init() {
|
|
if File_guidance_guidance_msg_proto != nil {
|
|
return
|
|
}
|
|
file_guidance_guidance_db_proto_init()
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_guidance_guidance_msg_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GuidanceInfoReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_guidance_guidance_msg_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GuidanceInfoResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_guidance_guidance_msg_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GuidanceCompleteReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_guidance_guidance_msg_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GuidanceCompleteResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_guidance_guidance_msg_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GuidanceBeginReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_guidance_guidance_msg_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GuidanceBeginResp); 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_guidance_guidance_msg_proto_rawDesc,
|
|
NumEnums: 0,
|
|
NumMessages: 6,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_guidance_guidance_msg_proto_goTypes,
|
|
DependencyIndexes: file_guidance_guidance_msg_proto_depIdxs,
|
|
MessageInfos: file_guidance_guidance_msg_proto_msgTypes,
|
|
}.Build()
|
|
File_guidance_guidance_msg_proto = out.File
|
|
file_guidance_guidance_msg_proto_rawDesc = nil
|
|
file_guidance_guidance_msg_proto_goTypes = nil
|
|
file_guidance_guidance_msg_proto_depIdxs = nil
|
|
}
|