authentication.pb.go 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.31.0
  4. // protoc v4.25.0
  5. // source: proto/authentication.proto
  6. package authorization_service
  7. import (
  8. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  9. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  10. reflect "reflect"
  11. sync "sync"
  12. )
  13. const (
  14. // Verify that this generated code is sufficiently up-to-date.
  15. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  16. // Verify that runtime/protoimpl is sufficiently up-to-date.
  17. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  18. )
  19. type AuthenticationRequest struct {
  20. state protoimpl.MessageState
  21. sizeCache protoimpl.SizeCache
  22. unknownFields protoimpl.UnknownFields
  23. }
  24. func (x *AuthenticationRequest) Reset() {
  25. *x = AuthenticationRequest{}
  26. if protoimpl.UnsafeEnabled {
  27. mi := &file_proto_authentication_proto_msgTypes[0]
  28. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  29. ms.StoreMessageInfo(mi)
  30. }
  31. }
  32. func (x *AuthenticationRequest) String() string {
  33. return protoimpl.X.MessageStringOf(x)
  34. }
  35. func (*AuthenticationRequest) ProtoMessage() {}
  36. func (x *AuthenticationRequest) ProtoReflect() protoreflect.Message {
  37. mi := &file_proto_authentication_proto_msgTypes[0]
  38. if protoimpl.UnsafeEnabled && x != nil {
  39. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  40. if ms.LoadMessageInfo() == nil {
  41. ms.StoreMessageInfo(mi)
  42. }
  43. return ms
  44. }
  45. return mi.MessageOf(x)
  46. }
  47. // Deprecated: Use AuthenticationRequest.ProtoReflect.Descriptor instead.
  48. func (*AuthenticationRequest) Descriptor() ([]byte, []int) {
  49. return file_proto_authentication_proto_rawDescGZIP(), []int{0}
  50. }
  51. type AuthenticationResponse struct {
  52. state protoimpl.MessageState
  53. sizeCache protoimpl.SizeCache
  54. unknownFields protoimpl.UnknownFields
  55. }
  56. func (x *AuthenticationResponse) Reset() {
  57. *x = AuthenticationResponse{}
  58. if protoimpl.UnsafeEnabled {
  59. mi := &file_proto_authentication_proto_msgTypes[1]
  60. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  61. ms.StoreMessageInfo(mi)
  62. }
  63. }
  64. func (x *AuthenticationResponse) String() string {
  65. return protoimpl.X.MessageStringOf(x)
  66. }
  67. func (*AuthenticationResponse) ProtoMessage() {}
  68. func (x *AuthenticationResponse) ProtoReflect() protoreflect.Message {
  69. mi := &file_proto_authentication_proto_msgTypes[1]
  70. if protoimpl.UnsafeEnabled && x != nil {
  71. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  72. if ms.LoadMessageInfo() == nil {
  73. ms.StoreMessageInfo(mi)
  74. }
  75. return ms
  76. }
  77. return mi.MessageOf(x)
  78. }
  79. // Deprecated: Use AuthenticationResponse.ProtoReflect.Descriptor instead.
  80. func (*AuthenticationResponse) Descriptor() ([]byte, []int) {
  81. return file_proto_authentication_proto_rawDescGZIP(), []int{1}
  82. }
  83. var File_proto_authentication_proto protoreflect.FileDescriptor
  84. var file_proto_authentication_proto_rawDesc = []byte{
  85. 0x0a, 0x1a, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69,
  86. 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x61, 0x75,
  87. 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x65, 0x72,
  88. 0x76, 0x69, 0x63, 0x65, 0x22, 0x17, 0x0a, 0x15, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69,
  89. 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x18, 0x0a,
  90. 0x16, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52,
  91. 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0x8b, 0x01, 0x0a, 0x15, 0x41, 0x75, 0x74, 0x68,
  92. 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,
  93. 0x65, 0x12, 0x72, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69,
  94. 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2d, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74,
  95. 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e,
  96. 0x41, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65,
  97. 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69,
  98. 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x41,
  99. 0x75, 0x74, 0x68, 0x65, 0x6e, 0x74, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73,
  100. 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x1f, 0x5a, 0x1d, 0x2e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  101. 0x3b, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73,
  102. 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  103. }
  104. var (
  105. file_proto_authentication_proto_rawDescOnce sync.Once
  106. file_proto_authentication_proto_rawDescData = file_proto_authentication_proto_rawDesc
  107. )
  108. func file_proto_authentication_proto_rawDescGZIP() []byte {
  109. file_proto_authentication_proto_rawDescOnce.Do(func() {
  110. file_proto_authentication_proto_rawDescData = protoimpl.X.CompressGZIP(file_proto_authentication_proto_rawDescData)
  111. })
  112. return file_proto_authentication_proto_rawDescData
  113. }
  114. var file_proto_authentication_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
  115. var file_proto_authentication_proto_goTypes = []interface{}{
  116. (*AuthenticationRequest)(nil), // 0: authentication_service.AuthenticationRequest
  117. (*AuthenticationResponse)(nil), // 1: authentication_service.AuthenticationResponse
  118. }
  119. var file_proto_authentication_proto_depIdxs = []int32{
  120. 0, // 0: authentication_service.AuthenticationService.GetAuthentication:input_type -> authentication_service.AuthenticationRequest
  121. 1, // 1: authentication_service.AuthenticationService.GetAuthentication:output_type -> authentication_service.AuthenticationResponse
  122. 1, // [1:2] is the sub-list for method output_type
  123. 0, // [0:1] is the sub-list for method input_type
  124. 0, // [0:0] is the sub-list for extension type_name
  125. 0, // [0:0] is the sub-list for extension extendee
  126. 0, // [0:0] is the sub-list for field type_name
  127. }
  128. func init() { file_proto_authentication_proto_init() }
  129. func file_proto_authentication_proto_init() {
  130. if File_proto_authentication_proto != nil {
  131. return
  132. }
  133. if !protoimpl.UnsafeEnabled {
  134. file_proto_authentication_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  135. switch v := v.(*AuthenticationRequest); i {
  136. case 0:
  137. return &v.state
  138. case 1:
  139. return &v.sizeCache
  140. case 2:
  141. return &v.unknownFields
  142. default:
  143. return nil
  144. }
  145. }
  146. file_proto_authentication_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  147. switch v := v.(*AuthenticationResponse); i {
  148. case 0:
  149. return &v.state
  150. case 1:
  151. return &v.sizeCache
  152. case 2:
  153. return &v.unknownFields
  154. default:
  155. return nil
  156. }
  157. }
  158. }
  159. type x struct{}
  160. out := protoimpl.TypeBuilder{
  161. File: protoimpl.DescBuilder{
  162. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  163. RawDescriptor: file_proto_authentication_proto_rawDesc,
  164. NumEnums: 0,
  165. NumMessages: 2,
  166. NumExtensions: 0,
  167. NumServices: 1,
  168. },
  169. GoTypes: file_proto_authentication_proto_goTypes,
  170. DependencyIndexes: file_proto_authentication_proto_depIdxs,
  171. MessageInfos: file_proto_authentication_proto_msgTypes,
  172. }.Build()
  173. File_proto_authentication_proto = out.File
  174. file_proto_authentication_proto_rawDesc = nil
  175. file_proto_authentication_proto_goTypes = nil
  176. file_proto_authentication_proto_depIdxs = nil
  177. }