自动生成 protobuf 代码 (tag: v1.12.0)
This commit is contained in:
170
corestack/user/v1/bind.pb.go
Normal file
170
corestack/user/v1/bind.pb.go
Normal file
@@ -0,0 +1,170 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.7
|
||||
// protoc (unknown)
|
||||
// source: corestack/user/v1/bind.proto
|
||||
|
||||
package userv1
|
||||
|
||||
import (
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
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 BindWxOpenIDRequest struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *BindWxOpenIDRequest) Reset() {
|
||||
*x = BindWxOpenIDRequest{}
|
||||
mi := &file_corestack_user_v1_bind_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *BindWxOpenIDRequest) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*BindWxOpenIDRequest) ProtoMessage() {}
|
||||
|
||||
func (x *BindWxOpenIDRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_corestack_user_v1_bind_proto_msgTypes[0]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use BindWxOpenIDRequest.ProtoReflect.Descriptor instead.
|
||||
func (*BindWxOpenIDRequest) Descriptor() ([]byte, []int) {
|
||||
return file_corestack_user_v1_bind_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
func (x *BindWxOpenIDRequest) GetCode() string {
|
||||
if x != nil {
|
||||
return x.Code
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
type BindWxOpenIDResponse struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
WxOpenId string `protobuf:"bytes,1,opt,name=wx_open_id,json=wxOpenId,proto3" json:"wx_open_id,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *BindWxOpenIDResponse) Reset() {
|
||||
*x = BindWxOpenIDResponse{}
|
||||
mi := &file_corestack_user_v1_bind_proto_msgTypes[1]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *BindWxOpenIDResponse) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*BindWxOpenIDResponse) ProtoMessage() {}
|
||||
|
||||
func (x *BindWxOpenIDResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_corestack_user_v1_bind_proto_msgTypes[1]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use BindWxOpenIDResponse.ProtoReflect.Descriptor instead.
|
||||
func (*BindWxOpenIDResponse) Descriptor() ([]byte, []int) {
|
||||
return file_corestack_user_v1_bind_proto_rawDescGZIP(), []int{1}
|
||||
}
|
||||
|
||||
func (x *BindWxOpenIDResponse) GetWxOpenId() string {
|
||||
if x != nil {
|
||||
return x.WxOpenId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
var File_corestack_user_v1_bind_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_corestack_user_v1_bind_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\x1ccorestack/user/v1/bind.proto\x12\x11corestack.user.v1\")\n" +
|
||||
"\x13BindWxOpenIDRequest\x12\x12\n" +
|
||||
"\x04code\x18\x01 \x01(\tR\x04code\"4\n" +
|
||||
"\x14BindWxOpenIDResponse\x12\x1c\n" +
|
||||
"\n" +
|
||||
"wx_open_id\x18\x01 \x01(\tR\bwxOpenIdB;Z9git.shenxianhe.cn/shenxianhe/sdk/corestack/user/v1;userv1b\x06proto3"
|
||||
|
||||
var (
|
||||
file_corestack_user_v1_bind_proto_rawDescOnce sync.Once
|
||||
file_corestack_user_v1_bind_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_corestack_user_v1_bind_proto_rawDescGZIP() []byte {
|
||||
file_corestack_user_v1_bind_proto_rawDescOnce.Do(func() {
|
||||
file_corestack_user_v1_bind_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_corestack_user_v1_bind_proto_rawDesc), len(file_corestack_user_v1_bind_proto_rawDesc)))
|
||||
})
|
||||
return file_corestack_user_v1_bind_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_corestack_user_v1_bind_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
|
||||
var file_corestack_user_v1_bind_proto_goTypes = []any{
|
||||
(*BindWxOpenIDRequest)(nil), // 0: corestack.user.v1.BindWxOpenIDRequest
|
||||
(*BindWxOpenIDResponse)(nil), // 1: corestack.user.v1.BindWxOpenIDResponse
|
||||
}
|
||||
var file_corestack_user_v1_bind_proto_depIdxs = []int32{
|
||||
0, // [0:0] is the sub-list for method output_type
|
||||
0, // [0:0] 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_corestack_user_v1_bind_proto_init() }
|
||||
func file_corestack_user_v1_bind_proto_init() {
|
||||
if File_corestack_user_v1_bind_proto != nil {
|
||||
return
|
||||
}
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_corestack_user_v1_bind_proto_rawDesc), len(file_corestack_user_v1_bind_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 2,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
GoTypes: file_corestack_user_v1_bind_proto_goTypes,
|
||||
DependencyIndexes: file_corestack_user_v1_bind_proto_depIdxs,
|
||||
MessageInfos: file_corestack_user_v1_bind_proto_msgTypes,
|
||||
}.Build()
|
||||
File_corestack_user_v1_bind_proto = out.File
|
||||
file_corestack_user_v1_bind_proto_goTypes = nil
|
||||
file_corestack_user_v1_bind_proto_depIdxs = nil
|
||||
}
|
||||
Reference in New Issue
Block a user