|
@@ -962,7 +962,7 @@ var file_resource_proto_rawDesc = []byte{
|
|
|
0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x65, 0x6e, 0x74, 0x55, 0x73, 0x65, 0x72,
|
|
|
0x49, 0x64, 0x22, 0x27, 0x0a, 0x0d, 0x48, 0x61, 0x73, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x73, 0x52,
|
|
|
0x65, 0x73, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20,
|
|
|
- 0x03, 0x28, 0x09, 0x52, 0x06, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x73, 0x32, 0xb8, 0x02, 0x0a, 0x08,
|
|
|
+ 0x03, 0x28, 0x09, 0x52, 0x06, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x73, 0x32, 0xd7, 0x02, 0x0a, 0x08,
|
|
|
0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x50, 0x6f, 0x77, 0x65,
|
|
|
0x72, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x12, 0x09, 0x2e, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x52,
|
|
|
0x65, 0x71, 0x1a, 0x05, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x23, 0x0a, 0x0a, 0x43, 0x68, 0x65,
|
|
@@ -974,16 +974,18 @@ var file_resource_proto_rawDesc = []byte{
|
|
|
0x52, 0x65, 0x63, 0x68, 0x61, 0x72, 0x67, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x05, 0x2e, 0x52, 0x65,
|
|
|
0x73, 0x70, 0x12, 0x1f, 0x0a, 0x09, 0x52, 0x65, 0x45, 0x6d, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x12,
|
|
|
0x0b, 0x2e, 0x45, 0x6d, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x52, 0x65, 0x71, 0x1a, 0x05, 0x2e, 0x52,
|
|
|
- 0x65, 0x73, 0x70, 0x12, 0x23, 0x0a, 0x0d, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x45, 0x6d, 0x70,
|
|
|
- 0x6f, 0x77, 0x65, 0x72, 0x12, 0x0b, 0x2e, 0x45, 0x6d, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x52, 0x65,
|
|
|
- 0x71, 0x1a, 0x05, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x30, 0x0a, 0x0b, 0x45, 0x6d, 0x70, 0x6f,
|
|
|
- 0x77, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x0f, 0x2e, 0x45, 0x6d, 0x70, 0x6f, 0x77, 0x65,
|
|
|
- 0x72, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x10, 0x2e, 0x45, 0x6d, 0x70, 0x6f, 0x77,
|
|
|
- 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x2a, 0x0a, 0x09, 0x48, 0x61,
|
|
|
- 0x73, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x73, 0x12, 0x0d, 0x2e, 0x48, 0x61, 0x73, 0x70, 0x6f, 0x77,
|
|
|
- 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x1a, 0x0e, 0x2e, 0x48, 0x61, 0x73, 0x70, 0x6f, 0x77, 0x65,
|
|
|
- 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06,
|
|
|
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
|
+ 0x65, 0x73, 0x70, 0x12, 0x1d, 0x0a, 0x07, 0x45, 0x6d, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x12, 0x0b,
|
|
|
+ 0x2e, 0x45, 0x6d, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x52, 0x65, 0x71, 0x1a, 0x05, 0x2e, 0x52, 0x65,
|
|
|
+ 0x73, 0x70, 0x12, 0x23, 0x0a, 0x0d, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x45, 0x6d, 0x70, 0x6f,
|
|
|
+ 0x77, 0x65, 0x72, 0x12, 0x0b, 0x2e, 0x45, 0x6d, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x52, 0x65, 0x71,
|
|
|
+ 0x1a, 0x05, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x30, 0x0a, 0x0b, 0x45, 0x6d, 0x70, 0x6f, 0x77,
|
|
|
+ 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x0f, 0x2e, 0x45, 0x6d, 0x70, 0x6f, 0x77, 0x65, 0x72,
|
|
|
+ 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x10, 0x2e, 0x45, 0x6d, 0x70, 0x6f, 0x77, 0x65,
|
|
|
+ 0x72, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x2a, 0x0a, 0x09, 0x48, 0x61, 0x73,
|
|
|
+ 0x70, 0x6f, 0x77, 0x65, 0x72, 0x73, 0x12, 0x0d, 0x2e, 0x48, 0x61, 0x73, 0x70, 0x6f, 0x77, 0x65,
|
|
|
+ 0x72, 0x73, 0x52, 0x65, 0x71, 0x1a, 0x0e, 0x2e, 0x48, 0x61, 0x73, 0x70, 0x6f, 0x77, 0x65, 0x72,
|
|
|
+ 0x73, 0x52, 0x65, 0x73, 0x70, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70,
|
|
|
+ 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
|
}
|
|
|
|
|
|
var (
|
|
@@ -1019,19 +1021,21 @@ var file_resource_proto_depIdxs = []int32{
|
|
|
3, // 3: Resource.Deduction:input_type -> DeductionReq
|
|
|
4, // 4: Resource.Recharge:input_type -> RechargeReq
|
|
|
5, // 5: Resource.ReEmpower:input_type -> EmpowerReq
|
|
|
- 5, // 6: Resource.CancelEmpower:input_type -> EmpowerReq
|
|
|
- 6, // 7: Resource.EmpowerList:input_type -> EmpowerListReq
|
|
|
- 9, // 8: Resource.Haspowers:input_type -> HaspowersReq
|
|
|
- 8, // 9: Resource.PowerHandle:output_type -> Resp
|
|
|
- 8, // 10: Resource.CheckPower:output_type -> Resp
|
|
|
- 8, // 11: Resource.Deduction:output_type -> Resp
|
|
|
- 8, // 12: Resource.Recharge:output_type -> Resp
|
|
|
- 8, // 13: Resource.ReEmpower:output_type -> Resp
|
|
|
- 8, // 14: Resource.CancelEmpower:output_type -> Resp
|
|
|
- 7, // 15: Resource.EmpowerList:output_type -> EmpowerListResp
|
|
|
- 10, // 16: Resource.Haspowers:output_type -> HaspowersResp
|
|
|
- 9, // [9:17] is the sub-list for method output_type
|
|
|
- 1, // [1:9] is the sub-list for method input_type
|
|
|
+ 5, // 6: Resource.Empower:input_type -> EmpowerReq
|
|
|
+ 5, // 7: Resource.CancelEmpower:input_type -> EmpowerReq
|
|
|
+ 6, // 8: Resource.EmpowerList:input_type -> EmpowerListReq
|
|
|
+ 9, // 9: Resource.Haspowers:input_type -> HaspowersReq
|
|
|
+ 8, // 10: Resource.PowerHandle:output_type -> Resp
|
|
|
+ 8, // 11: Resource.CheckPower:output_type -> Resp
|
|
|
+ 8, // 12: Resource.Deduction:output_type -> Resp
|
|
|
+ 8, // 13: Resource.Recharge:output_type -> Resp
|
|
|
+ 8, // 14: Resource.ReEmpower:output_type -> Resp
|
|
|
+ 8, // 15: Resource.Empower:output_type -> Resp
|
|
|
+ 8, // 16: Resource.CancelEmpower:output_type -> Resp
|
|
|
+ 7, // 17: Resource.EmpowerList:output_type -> EmpowerListResp
|
|
|
+ 10, // 18: Resource.Haspowers:output_type -> HaspowersResp
|
|
|
+ 10, // [10:19] is the sub-list for method output_type
|
|
|
+ 1, // [1:10] is the sub-list for method input_type
|
|
|
1, // [1:1] is the sub-list for extension type_name
|
|
|
1, // [1:1] is the sub-list for extension extendee
|
|
|
0, // [0:1] is the sub-list for field type_name
|