feat: 0.0.1
This commit is contained in:
146 files changed
+10444
No files matched your search
@@ -0,0 +1,179 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.10
|
||||
// protoc v6.33.1
|
||||
// source: rpc_verify_email.proto
|
||||
|
||||
package pb
|
||||
|
||||
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 VerifyEmailRequest struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
||||
Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *VerifyEmailRequest) Reset() {
|
||||
*x = VerifyEmailRequest{}
|
||||
mi := &file_rpc_verify_email_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *VerifyEmailRequest) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*VerifyEmailRequest) ProtoMessage() {}
|
||||
|
||||
func (x *VerifyEmailRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_rpc_verify_email_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 VerifyEmailRequest.ProtoReflect.Descriptor instead.
|
||||
func (*VerifyEmailRequest) Descriptor() ([]byte, []int) {
|
||||
return file_rpc_verify_email_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
func (x *VerifyEmailRequest) GetId() int64 {
|
||||
if x != nil {
|
||||
return x.Id
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *VerifyEmailRequest) GetCode() string {
|
||||
if x != nil {
|
||||
return x.Code
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
type VerifyEmailResponse struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
IsVerified bool `protobuf:"varint,1,opt,name=is_verified,json=isVerified,proto3" json:"is_verified,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *VerifyEmailResponse) Reset() {
|
||||
*x = VerifyEmailResponse{}
|
||||
mi := &file_rpc_verify_email_proto_msgTypes[1]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *VerifyEmailResponse) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*VerifyEmailResponse) ProtoMessage() {}
|
||||
|
||||
func (x *VerifyEmailResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_rpc_verify_email_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 VerifyEmailResponse.ProtoReflect.Descriptor instead.
|
||||
func (*VerifyEmailResponse) Descriptor() ([]byte, []int) {
|
||||
return file_rpc_verify_email_proto_rawDescGZIP(), []int{1}
|
||||
}
|
||||
|
||||
func (x *VerifyEmailResponse) GetIsVerified() bool {
|
||||
if x != nil {
|
||||
return x.IsVerified
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
var File_rpc_verify_email_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_rpc_verify_email_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\x16rpc_verify_email.proto\x12\x02pb\"8\n" +
|
||||
"\x12VerifyEmailRequest\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
|
||||
"\x04code\x18\x02 \x01(\tR\x04code\"6\n" +
|
||||
"\x13VerifyEmailResponse\x12\x1f\n" +
|
||||
"\vis_verified\x18\x01 \x01(\bR\n" +
|
||||
"isVerifiedB,Z*github.com/FernandoJVideira/simple_bank/pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_rpc_verify_email_proto_rawDescOnce sync.Once
|
||||
file_rpc_verify_email_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_rpc_verify_email_proto_rawDescGZIP() []byte {
|
||||
file_rpc_verify_email_proto_rawDescOnce.Do(func() {
|
||||
file_rpc_verify_email_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_rpc_verify_email_proto_rawDesc), len(file_rpc_verify_email_proto_rawDesc)))
|
||||
})
|
||||
return file_rpc_verify_email_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_rpc_verify_email_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
|
||||
var file_rpc_verify_email_proto_goTypes = []any{
|
||||
(*VerifyEmailRequest)(nil), // 0: pb.VerifyEmailRequest
|
||||
(*VerifyEmailResponse)(nil), // 1: pb.VerifyEmailResponse
|
||||
}
|
||||
var file_rpc_verify_email_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_rpc_verify_email_proto_init() }
|
||||
func file_rpc_verify_email_proto_init() {
|
||||
if File_rpc_verify_email_proto != nil {
|
||||
return
|
||||
}
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_rpc_verify_email_proto_rawDesc), len(file_rpc_verify_email_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 2,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
GoTypes: file_rpc_verify_email_proto_goTypes,
|
||||
DependencyIndexes: file_rpc_verify_email_proto_depIdxs,
|
||||
MessageInfos: file_rpc_verify_email_proto_msgTypes,
|
||||
}.Build()
|
||||
File_rpc_verify_email_proto = out.File
|
||||
file_rpc_verify_email_proto_goTypes = nil
|
||||
file_rpc_verify_email_proto_depIdxs = nil
|
||||
}
|
||||
Reference in new issue
Block a user