@lansweeper/integrations-limit-checker-grpc 0.2.9 → 0.2.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/buf.yaml +2 -0
- package/gen-proto/image.json +1 -1
- package/gen-proto/limit_checker_api_grpc_pb.d.ts +17 -0
- package/gen-proto/limit_checker_api_grpc_pb.js +33 -0
- package/gen-proto/limit_checker_api_pb.d.ts +46 -0
- package/gen-proto/limit_checker_api_pb.js +371 -1
- package/generated-go/limit_checker_api.pb.go +697 -0
- package/generated-go/limit_checker_api_grpc.pb.go +221 -0
- package/go.mod +3 -0
- package/package.json +2 -2
- package/proto/limit_checker_api.proto +13 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [0.2.11](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/integrations-limit-checker-grpc@0.2.10...@lansweeper/integrations-limit-checker-grpc@0.2.11) (2024-02-06)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @lansweeper/integrations-limit-checker-grpc
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [0.2.10](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/integrations-limit-checker-grpc@0.2.9...@lansweeper/integrations-limit-checker-grpc@0.2.10) (2023-07-12)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @lansweeper/integrations-limit-checker-grpc
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
## [0.2.9](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/integrations-limit-checker-grpc@0.2.8...@lansweeper/integrations-limit-checker-grpc@0.2.9) (2023-07-07)
|
|
7
23
|
|
|
8
24
|
**Note:** Version bump only for package @lansweeper/integrations-limit-checker-grpc
|
package/buf.yaml
CHANGED
package/gen-proto/image.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":[{"name":"proto/limit_checker_api.proto","package":"lansweeper.integrationslimitchecker.v1","messageType":[{"name":"ExportStatusLimitCheckerRequest","field":[{"name":"appId","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"appId"},{"name":"traceId","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"traceId"}]},{"name":"ExportStatusLimitCheckerResponse","field":[{"name":"message","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"message"}]},{"name":"ReportFullExportStatusLimitCheckerRequest","field":[{"name":"app_id","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"appId"},{"name":"trace_id","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"traceId"}]},{"name":"ReportFullExportStatusLimitCheckerResponse","field":[{"name":"message","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"message"}]},{"name":"ScanNowLimitCheckerRequest","field":[{"name":"source_id","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"sourceId"},{"name":"trace_id","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"traceId"}]},{"name":"ScanNowLimitCheckerResponse","field":[{"name":"message","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"message"}]}],"service":[{"name":"IntegrationsLimitChecker","method":[{"name":"ExportStatusLimitChecker","inputType":".lansweeper.integrationslimitchecker.v1.ExportStatusLimitCheckerRequest","outputType":".lansweeper.integrationslimitchecker.v1.ExportStatusLimitCheckerResponse","options":{}},{"name":"ReportFullExportStatusLimitChecker","inputType":".lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerRequest","outputType":".lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerResponse","options":{}},{"name":"ScanNowLimitChecker","inputType":".lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerRequest","outputType":".lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerResponse","options":{}}]}],"sourceCodeInfo":{"location":[{"span":[0,0,
|
|
1
|
+
{"file":[{"name":"proto/limit_checker_api.proto","package":"lansweeper.integrationslimitchecker.v1","messageType":[{"name":"ExportStatusLimitCheckerRequest","field":[{"name":"appId","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"appId"},{"name":"traceId","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"traceId"}]},{"name":"ExportStatusLimitCheckerResponse","field":[{"name":"message","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"message"}]},{"name":"ReportFullExportStatusLimitCheckerRequest","field":[{"name":"app_id","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"appId"},{"name":"trace_id","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"traceId"}]},{"name":"ReportFullExportStatusLimitCheckerResponse","field":[{"name":"message","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"message"}]},{"name":"ScanNowLimitCheckerRequest","field":[{"name":"source_id","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"sourceId"},{"name":"trace_id","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"traceId"}]},{"name":"ScanNowLimitCheckerResponse","field":[{"name":"message","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"message"}]},{"name":"UpdateAssetLimitCheckerRequest","field":[{"name":"site_id","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"siteId"},{"name":"asset_key","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"assetKey"},{"name":"trace_id","number":3,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"traceId"}]},{"name":"UpdateAssetLimitCheckerResponse","field":[{"name":"message","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"message"}]}],"service":[{"name":"IntegrationsLimitChecker","method":[{"name":"ExportStatusLimitChecker","inputType":".lansweeper.integrationslimitchecker.v1.ExportStatusLimitCheckerRequest","outputType":".lansweeper.integrationslimitchecker.v1.ExportStatusLimitCheckerResponse","options":{}},{"name":"ReportFullExportStatusLimitChecker","inputType":".lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerRequest","outputType":".lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerResponse","options":{}},{"name":"ScanNowLimitChecker","inputType":".lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerRequest","outputType":".lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerResponse","options":{}},{"name":"UpdateAssetLimitChecker","inputType":".lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerRequest","outputType":".lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerResponse","options":{}}]}],"options":{"goPackage":"./generated-go"},"sourceCodeInfo":{"location":[{"span":[0,0,48,1]},{"path":[12],"span":[0,0,18]},{"path":[2],"span":[2,0,47]},{"path":[8],"span":[4,0,37]},{"path":[8,11],"span":[4,0,37]},{"path":[4,0],"span":[6,0,9,1]},{"path":[4,0,1],"span":[6,8,39]},{"path":[4,0,2,0],"span":[7,2,19]},{"path":[4,0,2,0,5],"span":[7,2,8]},{"path":[4,0,2,0,1],"span":[7,9,14]},{"path":[4,0,2,0,3],"span":[7,17,18]},{"path":[4,0,2,1],"span":[8,2,21]},{"path":[4,0,2,1,5],"span":[8,2,8]},{"path":[4,0,2,1,1],"span":[8,9,16]},{"path":[4,0,2,1,3],"span":[8,19,20]},{"path":[4,1],"span":[11,0,13,1]},{"path":[4,1,1],"span":[11,8,40]},{"path":[4,1,2,0],"span":[12,2,21]},{"path":[4,1,2,0,5],"span":[12,2,8]},{"path":[4,1,2,0,1],"span":[12,9,16]},{"path":[4,1,2,0,3],"span":[12,19,20]},{"path":[4,2],"span":[15,0,18,1]},{"path":[4,2,1],"span":[15,8,49]},{"path":[4,2,2,0],"span":[16,2,20]},{"path":[4,2,2,0,5],"span":[16,2,8]},{"path":[4,2,2,0,1],"span":[16,9,15]},{"path":[4,2,2,0,3],"span":[16,18,19]},{"path":[4,2,2,1],"span":[17,2,22]},{"path":[4,2,2,1,5],"span":[17,2,8]},{"path":[4,2,2,1,1],"span":[17,9,17]},{"path":[4,2,2,1,3],"span":[17,20,21]},{"path":[4,3],"span":[20,0,22,1]},{"path":[4,3,1],"span":[20,8,50]},{"path":[4,3,2,0],"span":[21,2,21]},{"path":[4,3,2,0,5],"span":[21,2,8]},{"path":[4,3,2,0,1],"span":[21,9,16]},{"path":[4,3,2,0,3],"span":[21,19,20]},{"path":[4,4],"span":[24,0,27,1]},{"path":[4,4,1],"span":[24,8,34]},{"path":[4,4,2,0],"span":[25,2,23]},{"path":[4,4,2,0,5],"span":[25,2,8]},{"path":[4,4,2,0,1],"span":[25,9,18]},{"path":[4,4,2,0,3],"span":[25,21,22]},{"path":[4,4,2,1],"span":[26,2,22]},{"path":[4,4,2,1,5],"span":[26,2,8]},{"path":[4,4,2,1,1],"span":[26,9,17]},{"path":[4,4,2,1,3],"span":[26,20,21]},{"path":[4,5],"span":[29,0,31,1]},{"path":[4,5,1],"span":[29,8,35]},{"path":[4,5,2,0],"span":[30,2,21]},{"path":[4,5,2,0,5],"span":[30,2,8]},{"path":[4,5,2,0,1],"span":[30,9,16]},{"path":[4,5,2,0,3],"span":[30,19,20]},{"path":[4,6],"span":[33,0,37,1]},{"path":[4,6,1],"span":[33,8,38]},{"path":[4,6,2,0],"span":[34,2,21]},{"path":[4,6,2,0,5],"span":[34,2,8]},{"path":[4,6,2,0,1],"span":[34,9,16]},{"path":[4,6,2,0,3],"span":[34,19,20]},{"path":[4,6,2,1],"span":[35,2,23]},{"path":[4,6,2,1,5],"span":[35,2,8]},{"path":[4,6,2,1,1],"span":[35,9,18]},{"path":[4,6,2,1,3],"span":[35,21,22]},{"path":[4,6,2,2],"span":[36,2,22]},{"path":[4,6,2,2,5],"span":[36,2,8]},{"path":[4,6,2,2,1],"span":[36,9,17]},{"path":[4,6,2,2,3],"span":[36,20,21]},{"path":[4,7],"span":[39,0,41,1]},{"path":[4,7,1],"span":[39,8,39]},{"path":[4,7,2,0],"span":[40,2,21]},{"path":[4,7,2,0,5],"span":[40,2,8]},{"path":[4,7,2,0,1],"span":[40,9,16]},{"path":[4,7,2,0,3],"span":[40,19,20]},{"path":[6,0],"span":[43,0,48,1]},{"path":[6,0,1],"span":[43,8,32]},{"path":[6,0,2,0],"span":[44,2,110]},{"path":[6,0,2,0,1],"span":[44,6,30]},{"path":[6,0,2,0,2],"span":[44,32,63]},{"path":[6,0,2,0,3],"span":[44,74,106]},{"path":[6,0,2,1],"span":[45,2,140]},{"path":[6,0,2,1,1],"span":[45,6,40]},{"path":[6,0,2,1,2],"span":[45,42,83]},{"path":[6,0,2,1,3],"span":[45,94,136]},{"path":[6,0,2,2],"span":[46,2,95]},{"path":[6,0,2,2,1],"span":[46,6,25]},{"path":[6,0,2,2,2],"span":[46,27,53]},{"path":[6,0,2,2,3],"span":[46,64,91]},{"path":[6,0,2,3],"span":[47,2,107]},{"path":[6,0,2,3,1],"span":[47,6,29]},{"path":[6,0,2,3,2],"span":[47,31,61]},{"path":[6,0,2,3,3],"span":[47,72,103]}]},"syntax":"proto3","bufExtension":{"isImport":false,"isSyntaxUnspecified":false}}]}
|
|
@@ -11,6 +11,7 @@ interface IIntegrationsLimitCheckerService extends grpc.ServiceDefinition<grpc.U
|
|
|
11
11
|
exportStatusLimitChecker: IIntegrationsLimitCheckerService_IExportStatusLimitChecker;
|
|
12
12
|
reportFullExportStatusLimitChecker: IIntegrationsLimitCheckerService_IReportFullExportStatusLimitChecker;
|
|
13
13
|
scanNowLimitChecker: IIntegrationsLimitCheckerService_IScanNowLimitChecker;
|
|
14
|
+
updateAssetLimitChecker: IIntegrationsLimitCheckerService_IUpdateAssetLimitChecker;
|
|
14
15
|
}
|
|
15
16
|
|
|
16
17
|
interface IIntegrationsLimitCheckerService_IExportStatusLimitChecker extends grpc.MethodDefinition<limit_checker_api_pb.ExportStatusLimitCheckerRequest, limit_checker_api_pb.ExportStatusLimitCheckerResponse> {
|
|
@@ -40,6 +41,15 @@ interface IIntegrationsLimitCheckerService_IScanNowLimitChecker extends grpc.Met
|
|
|
40
41
|
responseSerialize: grpc.serialize<limit_checker_api_pb.ScanNowLimitCheckerResponse>;
|
|
41
42
|
responseDeserialize: grpc.deserialize<limit_checker_api_pb.ScanNowLimitCheckerResponse>;
|
|
42
43
|
}
|
|
44
|
+
interface IIntegrationsLimitCheckerService_IUpdateAssetLimitChecker extends grpc.MethodDefinition<limit_checker_api_pb.UpdateAssetLimitCheckerRequest, limit_checker_api_pb.UpdateAssetLimitCheckerResponse> {
|
|
45
|
+
path: "/lansweeper.integrationslimitchecker.v1.IntegrationsLimitChecker/UpdateAssetLimitChecker";
|
|
46
|
+
requestStream: false;
|
|
47
|
+
responseStream: false;
|
|
48
|
+
requestSerialize: grpc.serialize<limit_checker_api_pb.UpdateAssetLimitCheckerRequest>;
|
|
49
|
+
requestDeserialize: grpc.deserialize<limit_checker_api_pb.UpdateAssetLimitCheckerRequest>;
|
|
50
|
+
responseSerialize: grpc.serialize<limit_checker_api_pb.UpdateAssetLimitCheckerResponse>;
|
|
51
|
+
responseDeserialize: grpc.deserialize<limit_checker_api_pb.UpdateAssetLimitCheckerResponse>;
|
|
52
|
+
}
|
|
43
53
|
|
|
44
54
|
export const IntegrationsLimitCheckerService: IIntegrationsLimitCheckerService;
|
|
45
55
|
|
|
@@ -47,6 +57,7 @@ export interface IIntegrationsLimitCheckerServer extends grpc.UntypedServiceImpl
|
|
|
47
57
|
exportStatusLimitChecker: grpc.handleUnaryCall<limit_checker_api_pb.ExportStatusLimitCheckerRequest, limit_checker_api_pb.ExportStatusLimitCheckerResponse>;
|
|
48
58
|
reportFullExportStatusLimitChecker: grpc.handleUnaryCall<limit_checker_api_pb.ReportFullExportStatusLimitCheckerRequest, limit_checker_api_pb.ReportFullExportStatusLimitCheckerResponse>;
|
|
49
59
|
scanNowLimitChecker: grpc.handleUnaryCall<limit_checker_api_pb.ScanNowLimitCheckerRequest, limit_checker_api_pb.ScanNowLimitCheckerResponse>;
|
|
60
|
+
updateAssetLimitChecker: grpc.handleUnaryCall<limit_checker_api_pb.UpdateAssetLimitCheckerRequest, limit_checker_api_pb.UpdateAssetLimitCheckerResponse>;
|
|
50
61
|
}
|
|
51
62
|
|
|
52
63
|
export interface IIntegrationsLimitCheckerClient {
|
|
@@ -59,6 +70,9 @@ export interface IIntegrationsLimitCheckerClient {
|
|
|
59
70
|
scanNowLimitChecker(request: limit_checker_api_pb.ScanNowLimitCheckerRequest, callback: (error: grpc.ServiceError | null, response: limit_checker_api_pb.ScanNowLimitCheckerResponse) => void): grpc.ClientUnaryCall;
|
|
60
71
|
scanNowLimitChecker(request: limit_checker_api_pb.ScanNowLimitCheckerRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: limit_checker_api_pb.ScanNowLimitCheckerResponse) => void): grpc.ClientUnaryCall;
|
|
61
72
|
scanNowLimitChecker(request: limit_checker_api_pb.ScanNowLimitCheckerRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: limit_checker_api_pb.ScanNowLimitCheckerResponse) => void): grpc.ClientUnaryCall;
|
|
73
|
+
updateAssetLimitChecker(request: limit_checker_api_pb.UpdateAssetLimitCheckerRequest, callback: (error: grpc.ServiceError | null, response: limit_checker_api_pb.UpdateAssetLimitCheckerResponse) => void): grpc.ClientUnaryCall;
|
|
74
|
+
updateAssetLimitChecker(request: limit_checker_api_pb.UpdateAssetLimitCheckerRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: limit_checker_api_pb.UpdateAssetLimitCheckerResponse) => void): grpc.ClientUnaryCall;
|
|
75
|
+
updateAssetLimitChecker(request: limit_checker_api_pb.UpdateAssetLimitCheckerRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: limit_checker_api_pb.UpdateAssetLimitCheckerResponse) => void): grpc.ClientUnaryCall;
|
|
62
76
|
}
|
|
63
77
|
|
|
64
78
|
export class IntegrationsLimitCheckerClient extends grpc.Client implements IIntegrationsLimitCheckerClient {
|
|
@@ -72,4 +86,7 @@ export class IntegrationsLimitCheckerClient extends grpc.Client implements IInte
|
|
|
72
86
|
public scanNowLimitChecker(request: limit_checker_api_pb.ScanNowLimitCheckerRequest, callback: (error: grpc.ServiceError | null, response: limit_checker_api_pb.ScanNowLimitCheckerResponse) => void): grpc.ClientUnaryCall;
|
|
73
87
|
public scanNowLimitChecker(request: limit_checker_api_pb.ScanNowLimitCheckerRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: limit_checker_api_pb.ScanNowLimitCheckerResponse) => void): grpc.ClientUnaryCall;
|
|
74
88
|
public scanNowLimitChecker(request: limit_checker_api_pb.ScanNowLimitCheckerRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: limit_checker_api_pb.ScanNowLimitCheckerResponse) => void): grpc.ClientUnaryCall;
|
|
89
|
+
public updateAssetLimitChecker(request: limit_checker_api_pb.UpdateAssetLimitCheckerRequest, callback: (error: grpc.ServiceError | null, response: limit_checker_api_pb.UpdateAssetLimitCheckerResponse) => void): grpc.ClientUnaryCall;
|
|
90
|
+
public updateAssetLimitChecker(request: limit_checker_api_pb.UpdateAssetLimitCheckerRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: limit_checker_api_pb.UpdateAssetLimitCheckerResponse) => void): grpc.ClientUnaryCall;
|
|
91
|
+
public updateAssetLimitChecker(request: limit_checker_api_pb.UpdateAssetLimitCheckerRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: limit_checker_api_pb.UpdateAssetLimitCheckerResponse) => void): grpc.ClientUnaryCall;
|
|
75
92
|
}
|
|
@@ -70,6 +70,28 @@ function deserialize_lansweeper_integrationslimitchecker_v1_ScanNowLimitCheckerR
|
|
|
70
70
|
return limit_checker_api_pb.ScanNowLimitCheckerResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
+
function serialize_lansweeper_integrationslimitchecker_v1_UpdateAssetLimitCheckerRequest(arg) {
|
|
74
|
+
if (!(arg instanceof limit_checker_api_pb.UpdateAssetLimitCheckerRequest)) {
|
|
75
|
+
throw new Error('Expected argument of type lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerRequest');
|
|
76
|
+
}
|
|
77
|
+
return Buffer.from(arg.serializeBinary());
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
function deserialize_lansweeper_integrationslimitchecker_v1_UpdateAssetLimitCheckerRequest(buffer_arg) {
|
|
81
|
+
return limit_checker_api_pb.UpdateAssetLimitCheckerRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
function serialize_lansweeper_integrationslimitchecker_v1_UpdateAssetLimitCheckerResponse(arg) {
|
|
85
|
+
if (!(arg instanceof limit_checker_api_pb.UpdateAssetLimitCheckerResponse)) {
|
|
86
|
+
throw new Error('Expected argument of type lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerResponse');
|
|
87
|
+
}
|
|
88
|
+
return Buffer.from(arg.serializeBinary());
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
function deserialize_lansweeper_integrationslimitchecker_v1_UpdateAssetLimitCheckerResponse(buffer_arg) {
|
|
92
|
+
return limit_checker_api_pb.UpdateAssetLimitCheckerResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
93
|
+
}
|
|
94
|
+
|
|
73
95
|
|
|
74
96
|
var IntegrationsLimitCheckerService = exports.IntegrationsLimitCheckerService = {
|
|
75
97
|
exportStatusLimitChecker: {
|
|
@@ -105,6 +127,17 @@ var IntegrationsLimitCheckerService = exports.IntegrationsLimitCheckerService =
|
|
|
105
127
|
responseSerialize: serialize_lansweeper_integrationslimitchecker_v1_ScanNowLimitCheckerResponse,
|
|
106
128
|
responseDeserialize: deserialize_lansweeper_integrationslimitchecker_v1_ScanNowLimitCheckerResponse,
|
|
107
129
|
},
|
|
130
|
+
updateAssetLimitChecker: {
|
|
131
|
+
path: '/lansweeper.integrationslimitchecker.v1.IntegrationsLimitChecker/UpdateAssetLimitChecker',
|
|
132
|
+
requestStream: false,
|
|
133
|
+
responseStream: false,
|
|
134
|
+
requestType: limit_checker_api_pb.UpdateAssetLimitCheckerRequest,
|
|
135
|
+
responseType: limit_checker_api_pb.UpdateAssetLimitCheckerResponse,
|
|
136
|
+
requestSerialize: serialize_lansweeper_integrationslimitchecker_v1_UpdateAssetLimitCheckerRequest,
|
|
137
|
+
requestDeserialize: deserialize_lansweeper_integrationslimitchecker_v1_UpdateAssetLimitCheckerRequest,
|
|
138
|
+
responseSerialize: serialize_lansweeper_integrationslimitchecker_v1_UpdateAssetLimitCheckerResponse,
|
|
139
|
+
responseDeserialize: deserialize_lansweeper_integrationslimitchecker_v1_UpdateAssetLimitCheckerResponse,
|
|
140
|
+
},
|
|
108
141
|
};
|
|
109
142
|
|
|
110
143
|
exports.IntegrationsLimitCheckerClient = grpc.makeGenericClientConstructor(IntegrationsLimitCheckerService);
|
|
@@ -134,3 +134,49 @@ export namespace ScanNowLimitCheckerResponse {
|
|
|
134
134
|
message: string,
|
|
135
135
|
}
|
|
136
136
|
}
|
|
137
|
+
|
|
138
|
+
export class UpdateAssetLimitCheckerRequest extends jspb.Message {
|
|
139
|
+
getSiteId(): string;
|
|
140
|
+
setSiteId(value: string): UpdateAssetLimitCheckerRequest;
|
|
141
|
+
getAssetKey(): string;
|
|
142
|
+
setAssetKey(value: string): UpdateAssetLimitCheckerRequest;
|
|
143
|
+
getTraceId(): string;
|
|
144
|
+
setTraceId(value: string): UpdateAssetLimitCheckerRequest;
|
|
145
|
+
|
|
146
|
+
serializeBinary(): Uint8Array;
|
|
147
|
+
toObject(includeInstance?: boolean): UpdateAssetLimitCheckerRequest.AsObject;
|
|
148
|
+
static toObject(includeInstance: boolean, msg: UpdateAssetLimitCheckerRequest): UpdateAssetLimitCheckerRequest.AsObject;
|
|
149
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
150
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
151
|
+
static serializeBinaryToWriter(message: UpdateAssetLimitCheckerRequest, writer: jspb.BinaryWriter): void;
|
|
152
|
+
static deserializeBinary(bytes: Uint8Array): UpdateAssetLimitCheckerRequest;
|
|
153
|
+
static deserializeBinaryFromReader(message: UpdateAssetLimitCheckerRequest, reader: jspb.BinaryReader): UpdateAssetLimitCheckerRequest;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
export namespace UpdateAssetLimitCheckerRequest {
|
|
157
|
+
export type AsObject = {
|
|
158
|
+
siteId: string,
|
|
159
|
+
assetKey: string,
|
|
160
|
+
traceId: string,
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
export class UpdateAssetLimitCheckerResponse extends jspb.Message {
|
|
165
|
+
getMessage(): string;
|
|
166
|
+
setMessage(value: string): UpdateAssetLimitCheckerResponse;
|
|
167
|
+
|
|
168
|
+
serializeBinary(): Uint8Array;
|
|
169
|
+
toObject(includeInstance?: boolean): UpdateAssetLimitCheckerResponse.AsObject;
|
|
170
|
+
static toObject(includeInstance: boolean, msg: UpdateAssetLimitCheckerResponse): UpdateAssetLimitCheckerResponse.AsObject;
|
|
171
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
172
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
173
|
+
static serializeBinaryToWriter(message: UpdateAssetLimitCheckerResponse, writer: jspb.BinaryWriter): void;
|
|
174
|
+
static deserializeBinary(bytes: Uint8Array): UpdateAssetLimitCheckerResponse;
|
|
175
|
+
static deserializeBinaryFromReader(message: UpdateAssetLimitCheckerResponse, reader: jspb.BinaryReader): UpdateAssetLimitCheckerResponse;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
export namespace UpdateAssetLimitCheckerResponse {
|
|
179
|
+
export type AsObject = {
|
|
180
|
+
message: string,
|
|
181
|
+
}
|
|
182
|
+
}
|
|
@@ -13,7 +13,13 @@
|
|
|
13
13
|
|
|
14
14
|
var jspb = require('google-protobuf');
|
|
15
15
|
var goog = jspb;
|
|
16
|
-
var global =
|
|
16
|
+
var global = (function() {
|
|
17
|
+
if (this) { return this; }
|
|
18
|
+
if (typeof window !== 'undefined') { return window; }
|
|
19
|
+
if (typeof global !== 'undefined') { return global; }
|
|
20
|
+
if (typeof self !== 'undefined') { return self; }
|
|
21
|
+
return Function('return this')();
|
|
22
|
+
}.call(null));
|
|
17
23
|
|
|
18
24
|
goog.exportSymbol('proto.lansweeper.integrationslimitchecker.v1.ExportStatusLimitCheckerRequest', null, global);
|
|
19
25
|
goog.exportSymbol('proto.lansweeper.integrationslimitchecker.v1.ExportStatusLimitCheckerResponse', null, global);
|
|
@@ -21,6 +27,8 @@ goog.exportSymbol('proto.lansweeper.integrationslimitchecker.v1.ReportFullExport
|
|
|
21
27
|
goog.exportSymbol('proto.lansweeper.integrationslimitchecker.v1.ReportFullExportStatusLimitCheckerResponse', null, global);
|
|
22
28
|
goog.exportSymbol('proto.lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerRequest', null, global);
|
|
23
29
|
goog.exportSymbol('proto.lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerResponse', null, global);
|
|
30
|
+
goog.exportSymbol('proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerRequest', null, global);
|
|
31
|
+
goog.exportSymbol('proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerResponse', null, global);
|
|
24
32
|
/**
|
|
25
33
|
* Generated by JsPbCodeGenerator.
|
|
26
34
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -147,6 +155,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
147
155
|
*/
|
|
148
156
|
proto.lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerResponse.displayName = 'proto.lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerResponse';
|
|
149
157
|
}
|
|
158
|
+
/**
|
|
159
|
+
* Generated by JsPbCodeGenerator.
|
|
160
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
161
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
162
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
163
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
164
|
+
* valid.
|
|
165
|
+
* @extends {jspb.Message}
|
|
166
|
+
* @constructor
|
|
167
|
+
*/
|
|
168
|
+
proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerRequest = function(opt_data) {
|
|
169
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
170
|
+
};
|
|
171
|
+
goog.inherits(proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerRequest, jspb.Message);
|
|
172
|
+
if (goog.DEBUG && !COMPILED) {
|
|
173
|
+
/**
|
|
174
|
+
* @public
|
|
175
|
+
* @override
|
|
176
|
+
*/
|
|
177
|
+
proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerRequest.displayName = 'proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerRequest';
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
* Generated by JsPbCodeGenerator.
|
|
181
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
182
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
183
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
184
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
185
|
+
* valid.
|
|
186
|
+
* @extends {jspb.Message}
|
|
187
|
+
* @constructor
|
|
188
|
+
*/
|
|
189
|
+
proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerResponse = function(opt_data) {
|
|
190
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
191
|
+
};
|
|
192
|
+
goog.inherits(proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerResponse, jspb.Message);
|
|
193
|
+
if (goog.DEBUG && !COMPILED) {
|
|
194
|
+
/**
|
|
195
|
+
* @public
|
|
196
|
+
* @override
|
|
197
|
+
*/
|
|
198
|
+
proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerResponse.displayName = 'proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerResponse';
|
|
199
|
+
}
|
|
150
200
|
|
|
151
201
|
|
|
152
202
|
|
|
@@ -1017,4 +1067,324 @@ proto.lansweeper.integrationslimitchecker.v1.ScanNowLimitCheckerResponse.prototy
|
|
|
1017
1067
|
};
|
|
1018
1068
|
|
|
1019
1069
|
|
|
1070
|
+
|
|
1071
|
+
|
|
1072
|
+
|
|
1073
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1074
|
+
/**
|
|
1075
|
+
* Creates an object representation of this proto.
|
|
1076
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1077
|
+
* Optional fields that are not set will be set to undefined.
|
|
1078
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1079
|
+
* For the list of reserved names please see:
|
|
1080
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1081
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1082
|
+
* JSPB instance for transitional soy proto support:
|
|
1083
|
+
* http://goto/soy-param-migration
|
|
1084
|
+
* @return {!Object}
|
|
1085
|
+
*/
|
|
1086
|
+
proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerRequest.prototype.toObject = function(opt_includeInstance) {
|
|
1087
|
+
return proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerRequest.toObject(opt_includeInstance, this);
|
|
1088
|
+
};
|
|
1089
|
+
|
|
1090
|
+
|
|
1091
|
+
/**
|
|
1092
|
+
* Static version of the {@see toObject} method.
|
|
1093
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1094
|
+
* the JSPB instance for transitional soy proto support:
|
|
1095
|
+
* http://goto/soy-param-migration
|
|
1096
|
+
* @param {!proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerRequest} msg The msg instance to transform.
|
|
1097
|
+
* @return {!Object}
|
|
1098
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1099
|
+
*/
|
|
1100
|
+
proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerRequest.toObject = function(includeInstance, msg) {
|
|
1101
|
+
var f, obj = {
|
|
1102
|
+
siteId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1103
|
+
assetKey: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
1104
|
+
traceId: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
1105
|
+
};
|
|
1106
|
+
|
|
1107
|
+
if (includeInstance) {
|
|
1108
|
+
obj.$jspbMessageInstance = msg;
|
|
1109
|
+
}
|
|
1110
|
+
return obj;
|
|
1111
|
+
};
|
|
1112
|
+
}
|
|
1113
|
+
|
|
1114
|
+
|
|
1115
|
+
/**
|
|
1116
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1117
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1118
|
+
* @return {!proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerRequest}
|
|
1119
|
+
*/
|
|
1120
|
+
proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerRequest.deserializeBinary = function(bytes) {
|
|
1121
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1122
|
+
var msg = new proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerRequest;
|
|
1123
|
+
return proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerRequest.deserializeBinaryFromReader(msg, reader);
|
|
1124
|
+
};
|
|
1125
|
+
|
|
1126
|
+
|
|
1127
|
+
/**
|
|
1128
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1129
|
+
* given reader into the given message object.
|
|
1130
|
+
* @param {!proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerRequest} msg The message object to deserialize into.
|
|
1131
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1132
|
+
* @return {!proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerRequest}
|
|
1133
|
+
*/
|
|
1134
|
+
proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
1135
|
+
while (reader.nextField()) {
|
|
1136
|
+
if (reader.isEndGroup()) {
|
|
1137
|
+
break;
|
|
1138
|
+
}
|
|
1139
|
+
var field = reader.getFieldNumber();
|
|
1140
|
+
switch (field) {
|
|
1141
|
+
case 1:
|
|
1142
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1143
|
+
msg.setSiteId(value);
|
|
1144
|
+
break;
|
|
1145
|
+
case 2:
|
|
1146
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1147
|
+
msg.setAssetKey(value);
|
|
1148
|
+
break;
|
|
1149
|
+
case 3:
|
|
1150
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1151
|
+
msg.setTraceId(value);
|
|
1152
|
+
break;
|
|
1153
|
+
default:
|
|
1154
|
+
reader.skipField();
|
|
1155
|
+
break;
|
|
1156
|
+
}
|
|
1157
|
+
}
|
|
1158
|
+
return msg;
|
|
1159
|
+
};
|
|
1160
|
+
|
|
1161
|
+
|
|
1162
|
+
/**
|
|
1163
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1164
|
+
* @return {!Uint8Array}
|
|
1165
|
+
*/
|
|
1166
|
+
proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerRequest.prototype.serializeBinary = function() {
|
|
1167
|
+
var writer = new jspb.BinaryWriter();
|
|
1168
|
+
proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerRequest.serializeBinaryToWriter(this, writer);
|
|
1169
|
+
return writer.getResultBuffer();
|
|
1170
|
+
};
|
|
1171
|
+
|
|
1172
|
+
|
|
1173
|
+
/**
|
|
1174
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1175
|
+
* format), writing to the given BinaryWriter.
|
|
1176
|
+
* @param {!proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerRequest} message
|
|
1177
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1178
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1179
|
+
*/
|
|
1180
|
+
proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1181
|
+
var f = undefined;
|
|
1182
|
+
f = message.getSiteId();
|
|
1183
|
+
if (f.length > 0) {
|
|
1184
|
+
writer.writeString(
|
|
1185
|
+
1,
|
|
1186
|
+
f
|
|
1187
|
+
);
|
|
1188
|
+
}
|
|
1189
|
+
f = message.getAssetKey();
|
|
1190
|
+
if (f.length > 0) {
|
|
1191
|
+
writer.writeString(
|
|
1192
|
+
2,
|
|
1193
|
+
f
|
|
1194
|
+
);
|
|
1195
|
+
}
|
|
1196
|
+
f = message.getTraceId();
|
|
1197
|
+
if (f.length > 0) {
|
|
1198
|
+
writer.writeString(
|
|
1199
|
+
3,
|
|
1200
|
+
f
|
|
1201
|
+
);
|
|
1202
|
+
}
|
|
1203
|
+
};
|
|
1204
|
+
|
|
1205
|
+
|
|
1206
|
+
/**
|
|
1207
|
+
* optional string site_id = 1;
|
|
1208
|
+
* @return {string}
|
|
1209
|
+
*/
|
|
1210
|
+
proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerRequest.prototype.getSiteId = function() {
|
|
1211
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1212
|
+
};
|
|
1213
|
+
|
|
1214
|
+
|
|
1215
|
+
/**
|
|
1216
|
+
* @param {string} value
|
|
1217
|
+
* @return {!proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerRequest} returns this
|
|
1218
|
+
*/
|
|
1219
|
+
proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerRequest.prototype.setSiteId = function(value) {
|
|
1220
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1221
|
+
};
|
|
1222
|
+
|
|
1223
|
+
|
|
1224
|
+
/**
|
|
1225
|
+
* optional string asset_key = 2;
|
|
1226
|
+
* @return {string}
|
|
1227
|
+
*/
|
|
1228
|
+
proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerRequest.prototype.getAssetKey = function() {
|
|
1229
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
1230
|
+
};
|
|
1231
|
+
|
|
1232
|
+
|
|
1233
|
+
/**
|
|
1234
|
+
* @param {string} value
|
|
1235
|
+
* @return {!proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerRequest} returns this
|
|
1236
|
+
*/
|
|
1237
|
+
proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerRequest.prototype.setAssetKey = function(value) {
|
|
1238
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
1239
|
+
};
|
|
1240
|
+
|
|
1241
|
+
|
|
1242
|
+
/**
|
|
1243
|
+
* optional string trace_id = 3;
|
|
1244
|
+
* @return {string}
|
|
1245
|
+
*/
|
|
1246
|
+
proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerRequest.prototype.getTraceId = function() {
|
|
1247
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
1248
|
+
};
|
|
1249
|
+
|
|
1250
|
+
|
|
1251
|
+
/**
|
|
1252
|
+
* @param {string} value
|
|
1253
|
+
* @return {!proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerRequest} returns this
|
|
1254
|
+
*/
|
|
1255
|
+
proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerRequest.prototype.setTraceId = function(value) {
|
|
1256
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
1257
|
+
};
|
|
1258
|
+
|
|
1259
|
+
|
|
1260
|
+
|
|
1261
|
+
|
|
1262
|
+
|
|
1263
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1264
|
+
/**
|
|
1265
|
+
* Creates an object representation of this proto.
|
|
1266
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1267
|
+
* Optional fields that are not set will be set to undefined.
|
|
1268
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1269
|
+
* For the list of reserved names please see:
|
|
1270
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1271
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1272
|
+
* JSPB instance for transitional soy proto support:
|
|
1273
|
+
* http://goto/soy-param-migration
|
|
1274
|
+
* @return {!Object}
|
|
1275
|
+
*/
|
|
1276
|
+
proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerResponse.prototype.toObject = function(opt_includeInstance) {
|
|
1277
|
+
return proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerResponse.toObject(opt_includeInstance, this);
|
|
1278
|
+
};
|
|
1279
|
+
|
|
1280
|
+
|
|
1281
|
+
/**
|
|
1282
|
+
* Static version of the {@see toObject} method.
|
|
1283
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1284
|
+
* the JSPB instance for transitional soy proto support:
|
|
1285
|
+
* http://goto/soy-param-migration
|
|
1286
|
+
* @param {!proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerResponse} msg The msg instance to transform.
|
|
1287
|
+
* @return {!Object}
|
|
1288
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1289
|
+
*/
|
|
1290
|
+
proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerResponse.toObject = function(includeInstance, msg) {
|
|
1291
|
+
var f, obj = {
|
|
1292
|
+
message: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
1293
|
+
};
|
|
1294
|
+
|
|
1295
|
+
if (includeInstance) {
|
|
1296
|
+
obj.$jspbMessageInstance = msg;
|
|
1297
|
+
}
|
|
1298
|
+
return obj;
|
|
1299
|
+
};
|
|
1300
|
+
}
|
|
1301
|
+
|
|
1302
|
+
|
|
1303
|
+
/**
|
|
1304
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1305
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1306
|
+
* @return {!proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerResponse}
|
|
1307
|
+
*/
|
|
1308
|
+
proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerResponse.deserializeBinary = function(bytes) {
|
|
1309
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1310
|
+
var msg = new proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerResponse;
|
|
1311
|
+
return proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerResponse.deserializeBinaryFromReader(msg, reader);
|
|
1312
|
+
};
|
|
1313
|
+
|
|
1314
|
+
|
|
1315
|
+
/**
|
|
1316
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1317
|
+
* given reader into the given message object.
|
|
1318
|
+
* @param {!proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerResponse} msg The message object to deserialize into.
|
|
1319
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1320
|
+
* @return {!proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerResponse}
|
|
1321
|
+
*/
|
|
1322
|
+
proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
1323
|
+
while (reader.nextField()) {
|
|
1324
|
+
if (reader.isEndGroup()) {
|
|
1325
|
+
break;
|
|
1326
|
+
}
|
|
1327
|
+
var field = reader.getFieldNumber();
|
|
1328
|
+
switch (field) {
|
|
1329
|
+
case 1:
|
|
1330
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1331
|
+
msg.setMessage(value);
|
|
1332
|
+
break;
|
|
1333
|
+
default:
|
|
1334
|
+
reader.skipField();
|
|
1335
|
+
break;
|
|
1336
|
+
}
|
|
1337
|
+
}
|
|
1338
|
+
return msg;
|
|
1339
|
+
};
|
|
1340
|
+
|
|
1341
|
+
|
|
1342
|
+
/**
|
|
1343
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1344
|
+
* @return {!Uint8Array}
|
|
1345
|
+
*/
|
|
1346
|
+
proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerResponse.prototype.serializeBinary = function() {
|
|
1347
|
+
var writer = new jspb.BinaryWriter();
|
|
1348
|
+
proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerResponse.serializeBinaryToWriter(this, writer);
|
|
1349
|
+
return writer.getResultBuffer();
|
|
1350
|
+
};
|
|
1351
|
+
|
|
1352
|
+
|
|
1353
|
+
/**
|
|
1354
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1355
|
+
* format), writing to the given BinaryWriter.
|
|
1356
|
+
* @param {!proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerResponse} message
|
|
1357
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1358
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1359
|
+
*/
|
|
1360
|
+
proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerResponse.serializeBinaryToWriter = function(message, writer) {
|
|
1361
|
+
var f = undefined;
|
|
1362
|
+
f = message.getMessage();
|
|
1363
|
+
if (f.length > 0) {
|
|
1364
|
+
writer.writeString(
|
|
1365
|
+
1,
|
|
1366
|
+
f
|
|
1367
|
+
);
|
|
1368
|
+
}
|
|
1369
|
+
};
|
|
1370
|
+
|
|
1371
|
+
|
|
1372
|
+
/**
|
|
1373
|
+
* optional string message = 1;
|
|
1374
|
+
* @return {string}
|
|
1375
|
+
*/
|
|
1376
|
+
proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerResponse.prototype.getMessage = function() {
|
|
1377
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1378
|
+
};
|
|
1379
|
+
|
|
1380
|
+
|
|
1381
|
+
/**
|
|
1382
|
+
* @param {string} value
|
|
1383
|
+
* @return {!proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerResponse} returns this
|
|
1384
|
+
*/
|
|
1385
|
+
proto.lansweeper.integrationslimitchecker.v1.UpdateAssetLimitCheckerResponse.prototype.setMessage = function(value) {
|
|
1386
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1387
|
+
};
|
|
1388
|
+
|
|
1389
|
+
|
|
1020
1390
|
goog.object.extend(exports, proto.lansweeper.integrationslimitchecker.v1);
|