94 lines
4.5 KiB
Go
94 lines
4.5 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.10
|
|
// protoc v6.33.1
|
|
// source: service_simple_bank.proto
|
|
|
|
package pb
|
|
|
|
import (
|
|
_ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options"
|
|
_ "google.golang.org/genproto/googleapis/api/annotations"
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
reflect "reflect"
|
|
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)
|
|
)
|
|
|
|
var File_service_simple_bank_proto protoreflect.FileDescriptor
|
|
|
|
const file_service_simple_bank_proto_rawDesc = "" +
|
|
"\n" +
|
|
"\x19service_simple_bank.proto\x12\x02pb\x1a\x1cgoogle/api/annotations.proto\x1a\x15rpc_create_user.proto\x1a\x14rpc_login_user.proto\x1a\x15rpc_update_user.proto\x1a\x16rpc_verify_email.proto\x1a.protoc-gen-openapiv2/options/annotations.proto2\xf6\x04\n" +
|
|
"\n" +
|
|
"SimpleBank\x12\x95\x01\n" +
|
|
"\n" +
|
|
"CreateUser\x12\x15.pb.CreateUserRequest\x1a\x16.pb.CreateUserResponse\"X\x92A;\x12\vCreate User\x1a,Create a new user in the Simple Bank system.\x82\xd3\xe4\x93\x02\x14:\x01*\"\x0f/v1/create_user\x12\x95\x01\n" +
|
|
"\tLoginUser\x12\x14.pb.LoginUserRequest\x1a\x15.pb.LoginUserResponse\"[\x92A?\x12\n" +
|
|
"Login User\x1a1Login an existing user in the Simple Bank system.\x82\xd3\xe4\x93\x02\x13:\x01*\"\x0e/v1/login_user\x12\x99\x01\n" +
|
|
"\vVerifyEmail\x12\x16.pb.VerifyEmailRequest\x1a\x17.pb.VerifyEmailResponse\"Y\x92A>\x12\fVerify Email\x1a.Verify user's email in the Simple Bank system.\x82\xd3\xe4\x93\x02\x12\x12\x10/v1/verify_email\x12\x9b\x01\n" +
|
|
"\n" +
|
|
"UpdateUser\x12\x15.pb.UpdateUserRequest\x1a\x16.pb.UpdateUserResponse\"^\x92AA\x12\vUpdate User\x1a2Update an existing user in the Simple Bank system.\x82\xd3\xe4\x93\x02\x14:\x01*2\x0f/v1/update_userB\xa5\x01\x92Av\x12t\n" +
|
|
"\x0fSimple Bank API\"Z\n" +
|
|
"\bfvideira\x12/https://github.com/FernandoJVideira/simple_bank\x1a\[email protected]\x050.0.1Z*github.com/FernandoJVideira/simple_bank/pbb\x06proto3"
|
|
|
|
var file_service_simple_bank_proto_goTypes = []any{
|
|
(*CreateUserRequest)(nil), // 0: pb.CreateUserRequest
|
|
(*LoginUserRequest)(nil), // 1: pb.LoginUserRequest
|
|
(*VerifyEmailRequest)(nil), // 2: pb.VerifyEmailRequest
|
|
(*UpdateUserRequest)(nil), // 3: pb.UpdateUserRequest
|
|
(*CreateUserResponse)(nil), // 4: pb.CreateUserResponse
|
|
(*LoginUserResponse)(nil), // 5: pb.LoginUserResponse
|
|
(*VerifyEmailResponse)(nil), // 6: pb.VerifyEmailResponse
|
|
(*UpdateUserResponse)(nil), // 7: pb.UpdateUserResponse
|
|
}
|
|
var file_service_simple_bank_proto_depIdxs = []int32{
|
|
0, // 0: pb.SimpleBank.CreateUser:input_type -> pb.CreateUserRequest
|
|
1, // 1: pb.SimpleBank.LoginUser:input_type -> pb.LoginUserRequest
|
|
2, // 2: pb.SimpleBank.VerifyEmail:input_type -> pb.VerifyEmailRequest
|
|
3, // 3: pb.SimpleBank.UpdateUser:input_type -> pb.UpdateUserRequest
|
|
4, // 4: pb.SimpleBank.CreateUser:output_type -> pb.CreateUserResponse
|
|
5, // 5: pb.SimpleBank.LoginUser:output_type -> pb.LoginUserResponse
|
|
6, // 6: pb.SimpleBank.VerifyEmail:output_type -> pb.VerifyEmailResponse
|
|
7, // 7: pb.SimpleBank.UpdateUser:output_type -> pb.UpdateUserResponse
|
|
4, // [4:8] is the sub-list for method output_type
|
|
0, // [0:4] 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_service_simple_bank_proto_init() }
|
|
func file_service_simple_bank_proto_init() {
|
|
if File_service_simple_bank_proto != nil {
|
|
return
|
|
}
|
|
file_rpc_create_user_proto_init()
|
|
file_rpc_login_user_proto_init()
|
|
file_rpc_update_user_proto_init()
|
|
file_rpc_verify_email_proto_init()
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_service_simple_bank_proto_rawDesc), len(file_service_simple_bank_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 0,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_service_simple_bank_proto_goTypes,
|
|
DependencyIndexes: file_service_simple_bank_proto_depIdxs,
|
|
}.Build()
|
|
File_service_simple_bank_proto = out.File
|
|
file_service_simple_bank_proto_goTypes = nil
|
|
file_service_simple_bank_proto_depIdxs = nil
|
|
}
|