users.pb.go 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. // ==========================================================================
  2. // Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
  3. // ==========================================================================
  4. // Code generated by protoc-gen-go. DO NOT EDIT.
  5. // versions:
  6. // protoc-gen-go v1.36.10
  7. // protoc v3.21.11
  8. // source: pbentity/users.proto
  9. package pbentity
  10. import (
  11. reflect "reflect"
  12. sync "sync"
  13. unsafe "unsafe"
  14. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  15. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  16. timestamppb "google.golang.org/protobuf/types/known/timestamppb"
  17. )
  18. const (
  19. // Verify that this generated code is sufficiently up-to-date.
  20. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  21. // Verify that runtime/protoimpl is sufficiently up-to-date.
  22. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  23. )
  24. type Users struct {
  25. state protoimpl.MessageState `protogen:"open.v1"`
  26. Id uint32 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"` //
  27. Username string `protobuf:"bytes,2,opt,name=Username,proto3" json:"Username,omitempty"` //
  28. Password string `protobuf:"bytes,3,opt,name=Password,proto3" json:"Password,omitempty"` //
  29. Email string `protobuf:"bytes,4,opt,name=Email,proto3" json:"Email,omitempty"` //
  30. CreatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=CreatedAt,proto3" json:"CreatedAt,omitempty"` //
  31. UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=UpdatedAt,proto3" json:"UpdatedAt,omitempty"` //
  32. unknownFields protoimpl.UnknownFields
  33. sizeCache protoimpl.SizeCache
  34. }
  35. func (x *Users) Reset() {
  36. *x = Users{}
  37. mi := &file_pbentity_users_proto_msgTypes[0]
  38. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  39. ms.StoreMessageInfo(mi)
  40. }
  41. func (x *Users) String() string {
  42. return protoimpl.X.MessageStringOf(x)
  43. }
  44. func (*Users) ProtoMessage() {}
  45. func (x *Users) ProtoReflect() protoreflect.Message {
  46. mi := &file_pbentity_users_proto_msgTypes[0]
  47. if x != nil {
  48. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  49. if ms.LoadMessageInfo() == nil {
  50. ms.StoreMessageInfo(mi)
  51. }
  52. return ms
  53. }
  54. return mi.MessageOf(x)
  55. }
  56. // Deprecated: Use Users.ProtoReflect.Descriptor instead.
  57. func (*Users) Descriptor() ([]byte, []int) {
  58. return file_pbentity_users_proto_rawDescGZIP(), []int{0}
  59. }
  60. func (x *Users) GetId() uint32 {
  61. if x != nil {
  62. return x.Id
  63. }
  64. return 0
  65. }
  66. func (x *Users) GetUsername() string {
  67. if x != nil {
  68. return x.Username
  69. }
  70. return ""
  71. }
  72. func (x *Users) GetPassword() string {
  73. if x != nil {
  74. return x.Password
  75. }
  76. return ""
  77. }
  78. func (x *Users) GetEmail() string {
  79. if x != nil {
  80. return x.Email
  81. }
  82. return ""
  83. }
  84. func (x *Users) GetCreatedAt() *timestamppb.Timestamp {
  85. if x != nil {
  86. return x.CreatedAt
  87. }
  88. return nil
  89. }
  90. func (x *Users) GetUpdatedAt() *timestamppb.Timestamp {
  91. if x != nil {
  92. return x.UpdatedAt
  93. }
  94. return nil
  95. }
  96. var File_pbentity_users_proto protoreflect.FileDescriptor
  97. const file_pbentity_users_proto_rawDesc = "" +
  98. "\n" +
  99. "\x14pbentity/users.proto\x12\bpbentity\x1a\x1fgoogle/protobuf/timestamp.proto\"\xd9\x01\n" +
  100. "\x05Users\x12\x0e\n" +
  101. "\x02Id\x18\x01 \x01(\rR\x02Id\x12\x1a\n" +
  102. "\bUsername\x18\x02 \x01(\tR\bUsername\x12\x1a\n" +
  103. "\bPassword\x18\x03 \x01(\tR\bPassword\x12\x14\n" +
  104. "\x05Email\x18\x04 \x01(\tR\x05Email\x128\n" +
  105. "\tCreatedAt\x18\x05 \x01(\v2\x1a.google.protobuf.TimestampR\tCreatedAt\x128\n" +
  106. "\tUpdatedAt\x18\x06 \x01(\v2\x1a.google.protobuf.TimestampR\tUpdatedAtB\x1fZ\x1dproxima/app/user/api/pbentityb\x06proto3"
  107. var (
  108. file_pbentity_users_proto_rawDescOnce sync.Once
  109. file_pbentity_users_proto_rawDescData []byte
  110. )
  111. func file_pbentity_users_proto_rawDescGZIP() []byte {
  112. file_pbentity_users_proto_rawDescOnce.Do(func() {
  113. file_pbentity_users_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_pbentity_users_proto_rawDesc), len(file_pbentity_users_proto_rawDesc)))
  114. })
  115. return file_pbentity_users_proto_rawDescData
  116. }
  117. var file_pbentity_users_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
  118. var file_pbentity_users_proto_goTypes = []any{
  119. (*Users)(nil), // 0: pbentity.Users
  120. (*timestamppb.Timestamp)(nil), // 1: google.protobuf.Timestamp
  121. }
  122. var file_pbentity_users_proto_depIdxs = []int32{
  123. 1, // 0: pbentity.Users.CreatedAt:type_name -> google.protobuf.Timestamp
  124. 1, // 1: pbentity.Users.UpdatedAt:type_name -> google.protobuf.Timestamp
  125. 2, // [2:2] is the sub-list for method output_type
  126. 2, // [2:2] is the sub-list for method input_type
  127. 2, // [2:2] is the sub-list for extension type_name
  128. 2, // [2:2] is the sub-list for extension extendee
  129. 0, // [0:2] is the sub-list for field type_name
  130. }
  131. func init() { file_pbentity_users_proto_init() }
  132. func file_pbentity_users_proto_init() {
  133. if File_pbentity_users_proto != nil {
  134. return
  135. }
  136. type x struct{}
  137. out := protoimpl.TypeBuilder{
  138. File: protoimpl.DescBuilder{
  139. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  140. RawDescriptor: unsafe.Slice(unsafe.StringData(file_pbentity_users_proto_rawDesc), len(file_pbentity_users_proto_rawDesc)),
  141. NumEnums: 0,
  142. NumMessages: 1,
  143. NumExtensions: 0,
  144. NumServices: 0,
  145. },
  146. GoTypes: file_pbentity_users_proto_goTypes,
  147. DependencyIndexes: file_pbentity_users_proto_depIdxs,
  148. MessageInfos: file_pbentity_users_proto_msgTypes,
  149. }.Build()
  150. File_pbentity_users_proto = out.File
  151. file_pbentity_users_proto_goTypes = nil
  152. file_pbentity_users_proto_depIdxs = nil
  153. }