github.com/infraboard/keyauth@v0.8.1/apps/session/request.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.27.1 4 // protoc v3.19.1 5 // source: apps/session/pb/request.proto 6 7 package session 8 9 import ( 10 token "github.com/infraboard/keyauth/apps/token" 11 request "github.com/infraboard/mcube/http/request" 12 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 13 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 14 reflect "reflect" 15 sync "sync" 16 ) 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 25 // LogoutRequest 登出请求 26 type LogoutRequest struct { 27 state protoimpl.MessageState 28 sizeCache protoimpl.SizeCache 29 unknownFields protoimpl.UnknownFields 30 31 SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` 32 Account string `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"` 33 } 34 35 func (x *LogoutRequest) Reset() { 36 *x = LogoutRequest{} 37 if protoimpl.UnsafeEnabled { 38 mi := &file_apps_session_pb_request_proto_msgTypes[0] 39 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 40 ms.StoreMessageInfo(mi) 41 } 42 } 43 44 func (x *LogoutRequest) String() string { 45 return protoimpl.X.MessageStringOf(x) 46 } 47 48 func (*LogoutRequest) ProtoMessage() {} 49 50 func (x *LogoutRequest) ProtoReflect() protoreflect.Message { 51 mi := &file_apps_session_pb_request_proto_msgTypes[0] 52 if protoimpl.UnsafeEnabled && x != nil { 53 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 54 if ms.LoadMessageInfo() == nil { 55 ms.StoreMessageInfo(mi) 56 } 57 return ms 58 } 59 return mi.MessageOf(x) 60 } 61 62 // Deprecated: Use LogoutRequest.ProtoReflect.Descriptor instead. 63 func (*LogoutRequest) Descriptor() ([]byte, []int) { 64 return file_apps_session_pb_request_proto_rawDescGZIP(), []int{0} 65 } 66 67 func (x *LogoutRequest) GetSessionId() string { 68 if x != nil { 69 return x.SessionId 70 } 71 return "" 72 } 73 74 func (x *LogoutRequest) GetAccount() string { 75 if x != nil { 76 return x.Account 77 } 78 return "" 79 } 80 81 // DescribeSessionRequest todo 82 type DescribeSessionRequest struct { 83 state protoimpl.MessageState 84 sizeCache protoimpl.SizeCache 85 unknownFields protoimpl.UnknownFields 86 87 SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` 88 Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"` 89 Account string `protobuf:"bytes,3,opt,name=account,proto3" json:"account,omitempty"` 90 Login bool `protobuf:"varint,4,opt,name=login,proto3" json:"login,omitempty"` 91 } 92 93 func (x *DescribeSessionRequest) Reset() { 94 *x = DescribeSessionRequest{} 95 if protoimpl.UnsafeEnabled { 96 mi := &file_apps_session_pb_request_proto_msgTypes[1] 97 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 98 ms.StoreMessageInfo(mi) 99 } 100 } 101 102 func (x *DescribeSessionRequest) String() string { 103 return protoimpl.X.MessageStringOf(x) 104 } 105 106 func (*DescribeSessionRequest) ProtoMessage() {} 107 108 func (x *DescribeSessionRequest) ProtoReflect() protoreflect.Message { 109 mi := &file_apps_session_pb_request_proto_msgTypes[1] 110 if protoimpl.UnsafeEnabled && x != nil { 111 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 112 if ms.LoadMessageInfo() == nil { 113 ms.StoreMessageInfo(mi) 114 } 115 return ms 116 } 117 return mi.MessageOf(x) 118 } 119 120 // Deprecated: Use DescribeSessionRequest.ProtoReflect.Descriptor instead. 121 func (*DescribeSessionRequest) Descriptor() ([]byte, []int) { 122 return file_apps_session_pb_request_proto_rawDescGZIP(), []int{1} 123 } 124 125 func (x *DescribeSessionRequest) GetSessionId() string { 126 if x != nil { 127 return x.SessionId 128 } 129 return "" 130 } 131 132 func (x *DescribeSessionRequest) GetDomain() string { 133 if x != nil { 134 return x.Domain 135 } 136 return "" 137 } 138 139 func (x *DescribeSessionRequest) GetAccount() string { 140 if x != nil { 141 return x.Account 142 } 143 return "" 144 } 145 146 func (x *DescribeSessionRequest) GetLogin() bool { 147 if x != nil { 148 return x.Login 149 } 150 return false 151 } 152 153 // QuerySessionRequest todo 154 type QuerySessionRequest struct { 155 state protoimpl.MessageState 156 sizeCache protoimpl.SizeCache 157 unknownFields protoimpl.UnknownFields 158 159 Page *request.PageRequest `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"` 160 Account string `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"` 161 LoginIp string `protobuf:"bytes,3,opt,name=login_ip,json=loginIp,proto3" json:"login_ip,omitempty"` 162 LoginCity string `protobuf:"bytes,4,opt,name=login_city,json=loginCity,proto3" json:"login_city,omitempty"` 163 ApplicationId string `protobuf:"bytes,5,opt,name=application_id,json=applicationId,proto3" json:"application_id,omitempty"` 164 GrantType token.GrantType `protobuf:"varint,6,opt,name=grant_type,json=grantType,proto3,enum=infraboard.keyauth.token.GrantType" json:"grant_type,omitempty"` 165 StartLoginTime int64 `protobuf:"varint,7,opt,name=start_login_time,json=startLoginTime,proto3" json:"start_login_time,omitempty"` 166 EndLoginTime int64 `protobuf:"varint,8,opt,name=end_login_time,json=endLoginTime,proto3" json:"end_login_time,omitempty"` 167 Domain string `protobuf:"bytes,9,opt,name=domain,proto3" json:"domain,omitempty"` 168 } 169 170 func (x *QuerySessionRequest) Reset() { 171 *x = QuerySessionRequest{} 172 if protoimpl.UnsafeEnabled { 173 mi := &file_apps_session_pb_request_proto_msgTypes[2] 174 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 175 ms.StoreMessageInfo(mi) 176 } 177 } 178 179 func (x *QuerySessionRequest) String() string { 180 return protoimpl.X.MessageStringOf(x) 181 } 182 183 func (*QuerySessionRequest) ProtoMessage() {} 184 185 func (x *QuerySessionRequest) ProtoReflect() protoreflect.Message { 186 mi := &file_apps_session_pb_request_proto_msgTypes[2] 187 if protoimpl.UnsafeEnabled && x != nil { 188 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 189 if ms.LoadMessageInfo() == nil { 190 ms.StoreMessageInfo(mi) 191 } 192 return ms 193 } 194 return mi.MessageOf(x) 195 } 196 197 // Deprecated: Use QuerySessionRequest.ProtoReflect.Descriptor instead. 198 func (*QuerySessionRequest) Descriptor() ([]byte, []int) { 199 return file_apps_session_pb_request_proto_rawDescGZIP(), []int{2} 200 } 201 202 func (x *QuerySessionRequest) GetPage() *request.PageRequest { 203 if x != nil { 204 return x.Page 205 } 206 return nil 207 } 208 209 func (x *QuerySessionRequest) GetAccount() string { 210 if x != nil { 211 return x.Account 212 } 213 return "" 214 } 215 216 func (x *QuerySessionRequest) GetLoginIp() string { 217 if x != nil { 218 return x.LoginIp 219 } 220 return "" 221 } 222 223 func (x *QuerySessionRequest) GetLoginCity() string { 224 if x != nil { 225 return x.LoginCity 226 } 227 return "" 228 } 229 230 func (x *QuerySessionRequest) GetApplicationId() string { 231 if x != nil { 232 return x.ApplicationId 233 } 234 return "" 235 } 236 237 func (x *QuerySessionRequest) GetGrantType() token.GrantType { 238 if x != nil { 239 return x.GrantType 240 } 241 return token.GrantType(0) 242 } 243 244 func (x *QuerySessionRequest) GetStartLoginTime() int64 { 245 if x != nil { 246 return x.StartLoginTime 247 } 248 return 0 249 } 250 251 func (x *QuerySessionRequest) GetEndLoginTime() int64 { 252 if x != nil { 253 return x.EndLoginTime 254 } 255 return 0 256 } 257 258 func (x *QuerySessionRequest) GetDomain() string { 259 if x != nil { 260 return x.Domain 261 } 262 return "" 263 } 264 265 // QueryUserLastSessionRequest todo 266 type QueryUserLastSessionRequest struct { 267 state protoimpl.MessageState 268 sizeCache protoimpl.SizeCache 269 unknownFields protoimpl.UnknownFields 270 271 // @gotags: validate:"required" 272 Account string `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty" validate:"required"` 273 } 274 275 func (x *QueryUserLastSessionRequest) Reset() { 276 *x = QueryUserLastSessionRequest{} 277 if protoimpl.UnsafeEnabled { 278 mi := &file_apps_session_pb_request_proto_msgTypes[3] 279 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 280 ms.StoreMessageInfo(mi) 281 } 282 } 283 284 func (x *QueryUserLastSessionRequest) String() string { 285 return protoimpl.X.MessageStringOf(x) 286 } 287 288 func (*QueryUserLastSessionRequest) ProtoMessage() {} 289 290 func (x *QueryUserLastSessionRequest) ProtoReflect() protoreflect.Message { 291 mi := &file_apps_session_pb_request_proto_msgTypes[3] 292 if protoimpl.UnsafeEnabled && x != nil { 293 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 294 if ms.LoadMessageInfo() == nil { 295 ms.StoreMessageInfo(mi) 296 } 297 return ms 298 } 299 return mi.MessageOf(x) 300 } 301 302 // Deprecated: Use QueryUserLastSessionRequest.ProtoReflect.Descriptor instead. 303 func (*QueryUserLastSessionRequest) Descriptor() ([]byte, []int) { 304 return file_apps_session_pb_request_proto_rawDescGZIP(), []int{3} 305 } 306 307 func (x *QueryUserLastSessionRequest) GetAccount() string { 308 if x != nil { 309 return x.Account 310 } 311 return "" 312 } 313 314 var File_apps_session_pb_request_proto protoreflect.FileDescriptor 315 316 var file_apps_session_pb_request_proto_rawDesc = []byte{ 317 0x0a, 0x1d, 0x61, 0x70, 0x70, 0x73, 0x2f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2f, 0x70, 318 0x62, 0x2f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 319 0x1a, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2e, 0x6b, 0x65, 0x79, 0x61, 320 0x75, 0x74, 0x68, 0x2e, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x1a, 0x19, 0x61, 0x70, 0x70, 321 0x73, 0x2f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x2f, 0x70, 0x62, 0x2f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 322 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 323 0x6f, 0x6d, 0x2f, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2f, 0x6d, 0x63, 324 0x75, 0x62, 0x65, 0x2f, 0x70, 0x62, 0x2f, 0x70, 0x61, 0x67, 0x65, 0x2f, 0x70, 0x61, 0x67, 0x65, 325 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x48, 0x0a, 0x0d, 0x4c, 0x6f, 0x67, 0x6f, 0x75, 0x74, 326 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x65, 0x73, 0x73, 0x69, 327 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x65, 0x73, 328 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 329 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 330 0x22, 0x7f, 0x0a, 0x16, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x53, 0x65, 0x73, 0x73, 331 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x65, 332 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 333 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x6f, 0x6d, 334 0x61, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 335 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 336 0x28, 0x09, 0x52, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6c, 337 0x6f, 0x67, 0x69, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x6c, 0x6f, 0x67, 0x69, 338 0x6e, 0x22, 0xf4, 0x02, 0x0a, 0x13, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x65, 0x73, 0x73, 0x69, 339 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x36, 0x0a, 0x04, 0x70, 0x61, 0x67, 340 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x62, 341 0x6f, 0x61, 0x72, 0x64, 0x2e, 0x6d, 0x63, 0x75, 0x62, 0x65, 0x2e, 0x70, 0x61, 0x67, 0x65, 0x2e, 342 0x50, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x04, 0x70, 0x61, 0x67, 343 0x65, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 344 0x28, 0x09, 0x52, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x6c, 345 0x6f, 0x67, 0x69, 0x6e, 0x5f, 0x69, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6c, 346 0x6f, 0x67, 0x69, 0x6e, 0x49, 0x70, 0x12, 0x1d, 0x0a, 0x0a, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x5f, 347 0x63, 0x69, 0x74, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6c, 0x6f, 0x67, 0x69, 348 0x6e, 0x43, 0x69, 0x74, 0x79, 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 349 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x61, 350 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x42, 0x0a, 0x0a, 351 0x67, 0x72, 0x61, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 352 0x32, 0x23, 0x2e, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2e, 0x6b, 0x65, 353 0x79, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x2e, 0x47, 0x72, 0x61, 0x6e, 354 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 355 0x12, 0x28, 0x0a, 0x10, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x5f, 356 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x73, 0x74, 0x61, 0x72, 357 0x74, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x65, 0x6e, 358 0x64, 0x5f, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 359 0x28, 0x03, 0x52, 0x0c, 0x65, 0x6e, 0x64, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x54, 0x69, 0x6d, 0x65, 360 0x12, 0x16, 0x0a, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 361 0x52, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x22, 0x37, 0x0a, 0x1b, 0x51, 0x75, 0x65, 0x72, 362 0x79, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x61, 0x73, 0x74, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 363 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 364 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 365 0x74, 0x42, 0x2c, 0x5a, 0x2a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 366 0x69, 0x6e, 0x66, 0x72, 0x61, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2f, 0x6b, 0x65, 0x79, 0x61, 0x75, 367 0x74, 0x68, 0x2f, 0x61, 0x70, 0x70, 0x73, 0x2f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x62, 368 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 369 } 370 371 var ( 372 file_apps_session_pb_request_proto_rawDescOnce sync.Once 373 file_apps_session_pb_request_proto_rawDescData = file_apps_session_pb_request_proto_rawDesc 374 ) 375 376 func file_apps_session_pb_request_proto_rawDescGZIP() []byte { 377 file_apps_session_pb_request_proto_rawDescOnce.Do(func() { 378 file_apps_session_pb_request_proto_rawDescData = protoimpl.X.CompressGZIP(file_apps_session_pb_request_proto_rawDescData) 379 }) 380 return file_apps_session_pb_request_proto_rawDescData 381 } 382 383 var file_apps_session_pb_request_proto_msgTypes = make([]protoimpl.MessageInfo, 4) 384 var file_apps_session_pb_request_proto_goTypes = []interface{}{ 385 (*LogoutRequest)(nil), // 0: infraboard.keyauth.session.LogoutRequest 386 (*DescribeSessionRequest)(nil), // 1: infraboard.keyauth.session.DescribeSessionRequest 387 (*QuerySessionRequest)(nil), // 2: infraboard.keyauth.session.QuerySessionRequest 388 (*QueryUserLastSessionRequest)(nil), // 3: infraboard.keyauth.session.QueryUserLastSessionRequest 389 (*request.PageRequest)(nil), // 4: infraboard.mcube.page.PageRequest 390 (token.GrantType)(0), // 5: infraboard.keyauth.token.GrantType 391 } 392 var file_apps_session_pb_request_proto_depIdxs = []int32{ 393 4, // 0: infraboard.keyauth.session.QuerySessionRequest.page:type_name -> infraboard.mcube.page.PageRequest 394 5, // 1: infraboard.keyauth.session.QuerySessionRequest.grant_type:type_name -> infraboard.keyauth.token.GrantType 395 2, // [2:2] is the sub-list for method output_type 396 2, // [2:2] is the sub-list for method input_type 397 2, // [2:2] is the sub-list for extension type_name 398 2, // [2:2] is the sub-list for extension extendee 399 0, // [0:2] is the sub-list for field type_name 400 } 401 402 func init() { file_apps_session_pb_request_proto_init() } 403 func file_apps_session_pb_request_proto_init() { 404 if File_apps_session_pb_request_proto != nil { 405 return 406 } 407 if !protoimpl.UnsafeEnabled { 408 file_apps_session_pb_request_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 409 switch v := v.(*LogoutRequest); i { 410 case 0: 411 return &v.state 412 case 1: 413 return &v.sizeCache 414 case 2: 415 return &v.unknownFields 416 default: 417 return nil 418 } 419 } 420 file_apps_session_pb_request_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 421 switch v := v.(*DescribeSessionRequest); i { 422 case 0: 423 return &v.state 424 case 1: 425 return &v.sizeCache 426 case 2: 427 return &v.unknownFields 428 default: 429 return nil 430 } 431 } 432 file_apps_session_pb_request_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 433 switch v := v.(*QuerySessionRequest); i { 434 case 0: 435 return &v.state 436 case 1: 437 return &v.sizeCache 438 case 2: 439 return &v.unknownFields 440 default: 441 return nil 442 } 443 } 444 file_apps_session_pb_request_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 445 switch v := v.(*QueryUserLastSessionRequest); i { 446 case 0: 447 return &v.state 448 case 1: 449 return &v.sizeCache 450 case 2: 451 return &v.unknownFields 452 default: 453 return nil 454 } 455 } 456 } 457 type x struct{} 458 out := protoimpl.TypeBuilder{ 459 File: protoimpl.DescBuilder{ 460 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 461 RawDescriptor: file_apps_session_pb_request_proto_rawDesc, 462 NumEnums: 0, 463 NumMessages: 4, 464 NumExtensions: 0, 465 NumServices: 0, 466 }, 467 GoTypes: file_apps_session_pb_request_proto_goTypes, 468 DependencyIndexes: file_apps_session_pb_request_proto_depIdxs, 469 MessageInfos: file_apps_session_pb_request_proto_msgTypes, 470 }.Build() 471 File_apps_session_pb_request_proto = out.File 472 file_apps_session_pb_request_proto_rawDesc = nil 473 file_apps_session_pb_request_proto_goTypes = nil 474 file_apps_session_pb_request_proto_depIdxs = nil 475 }