@lansweeper/multitenant-api-grpc 0.4.34 → 0.4.35
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 +8 -0
- package/gen-proto/image.json +1 -1
- package/gen-proto/multitenant_grpc_pb.d.ts +17 -0
- package/gen-proto/multitenant_grpc_pb.js +33 -0
- package/gen-proto/multitenant_pb.d.ts +40 -0
- package/gen-proto/multitenant_pb.js +304 -0
- package/generated-go/multitenant.pb.go +524 -382
- package/generated-go/multitenant_grpc.pb.go +37 -0
- package/package.json +2 -2
- package/proto/multitenant.proto +10 -0
|
@@ -40,6 +40,7 @@ interface IMultitenantService extends grpc.ServiceDefinition<grpc.UntypedService
|
|
|
40
40
|
getSiteSubscription: IMultitenantService_IGetSiteSubscription;
|
|
41
41
|
createLinkingCode: IMultitenantService_ICreateLinkingCode;
|
|
42
42
|
getSiteIdsWithIntegrationBySiteId: IMultitenantService_IGetSiteIdsWithIntegrationBySiteId;
|
|
43
|
+
checkStandardizedSoftwareEnabled: IMultitenantService_ICheckStandardizedSoftwareEnabled;
|
|
43
44
|
}
|
|
44
45
|
|
|
45
46
|
interface IMultitenantService_ICheckAccessToSiteByAccountId extends grpc.MethodDefinition<multitenant_pb.CheckAccessToSiteByAccountIdRequest, multitenant_pb.CheckAccessToSiteByAccountIdResponse> {
|
|
@@ -330,6 +331,15 @@ interface IMultitenantService_IGetSiteIdsWithIntegrationBySiteId extends grpc.Me
|
|
|
330
331
|
responseSerialize: grpc.serialize<multitenant_pb.GetSiteIdsWithIntegrationData>;
|
|
331
332
|
responseDeserialize: grpc.deserialize<multitenant_pb.GetSiteIdsWithIntegrationData>;
|
|
332
333
|
}
|
|
334
|
+
interface IMultitenantService_ICheckStandardizedSoftwareEnabled extends grpc.MethodDefinition<multitenant_pb.CheckStandardizedSoftwareEnabledRequest, multitenant_pb.CheckStandardizedSoftwareEnabledResponse> {
|
|
335
|
+
path: "/lansweeper.multitenant.v1.Multitenant/CheckStandardizedSoftwareEnabled";
|
|
336
|
+
requestStream: false;
|
|
337
|
+
responseStream: false;
|
|
338
|
+
requestSerialize: grpc.serialize<multitenant_pb.CheckStandardizedSoftwareEnabledRequest>;
|
|
339
|
+
requestDeserialize: grpc.deserialize<multitenant_pb.CheckStandardizedSoftwareEnabledRequest>;
|
|
340
|
+
responseSerialize: grpc.serialize<multitenant_pb.CheckStandardizedSoftwareEnabledResponse>;
|
|
341
|
+
responseDeserialize: grpc.deserialize<multitenant_pb.CheckStandardizedSoftwareEnabledResponse>;
|
|
342
|
+
}
|
|
333
343
|
|
|
334
344
|
export const MultitenantService: IMultitenantService;
|
|
335
345
|
|
|
@@ -366,6 +376,7 @@ export interface IMultitenantServer extends grpc.UntypedServiceImplementation {
|
|
|
366
376
|
getSiteSubscription: grpc.handleUnaryCall<multitenant_pb.GetSiteSubscriptionRequest, multitenant_pb.GetSiteSubscriptionResponse>;
|
|
367
377
|
createLinkingCode: grpc.handleUnaryCall<multitenant_pb.CreateLinkingCodeRequest, multitenant_pb.CreateLinkingCodeResponse>;
|
|
368
378
|
getSiteIdsWithIntegrationBySiteId: grpc.handleUnaryCall<multitenant_pb.GetSiteIdsWithIntegrationData, multitenant_pb.GetSiteIdsWithIntegrationData>;
|
|
379
|
+
checkStandardizedSoftwareEnabled: grpc.handleUnaryCall<multitenant_pb.CheckStandardizedSoftwareEnabledRequest, multitenant_pb.CheckStandardizedSoftwareEnabledResponse>;
|
|
369
380
|
}
|
|
370
381
|
|
|
371
382
|
export interface IMultitenantClient {
|
|
@@ -465,6 +476,9 @@ export interface IMultitenantClient {
|
|
|
465
476
|
getSiteIdsWithIntegrationBySiteId(request: multitenant_pb.GetSiteIdsWithIntegrationData, callback: (error: grpc.ServiceError | null, response: multitenant_pb.GetSiteIdsWithIntegrationData) => void): grpc.ClientUnaryCall;
|
|
466
477
|
getSiteIdsWithIntegrationBySiteId(request: multitenant_pb.GetSiteIdsWithIntegrationData, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: multitenant_pb.GetSiteIdsWithIntegrationData) => void): grpc.ClientUnaryCall;
|
|
467
478
|
getSiteIdsWithIntegrationBySiteId(request: multitenant_pb.GetSiteIdsWithIntegrationData, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: multitenant_pb.GetSiteIdsWithIntegrationData) => void): grpc.ClientUnaryCall;
|
|
479
|
+
checkStandardizedSoftwareEnabled(request: multitenant_pb.CheckStandardizedSoftwareEnabledRequest, callback: (error: grpc.ServiceError | null, response: multitenant_pb.CheckStandardizedSoftwareEnabledResponse) => void): grpc.ClientUnaryCall;
|
|
480
|
+
checkStandardizedSoftwareEnabled(request: multitenant_pb.CheckStandardizedSoftwareEnabledRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: multitenant_pb.CheckStandardizedSoftwareEnabledResponse) => void): grpc.ClientUnaryCall;
|
|
481
|
+
checkStandardizedSoftwareEnabled(request: multitenant_pb.CheckStandardizedSoftwareEnabledRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: multitenant_pb.CheckStandardizedSoftwareEnabledResponse) => void): grpc.ClientUnaryCall;
|
|
468
482
|
}
|
|
469
483
|
|
|
470
484
|
export class MultitenantClient extends grpc.Client implements IMultitenantClient {
|
|
@@ -565,4 +579,7 @@ export class MultitenantClient extends grpc.Client implements IMultitenantClient
|
|
|
565
579
|
public getSiteIdsWithIntegrationBySiteId(request: multitenant_pb.GetSiteIdsWithIntegrationData, callback: (error: grpc.ServiceError | null, response: multitenant_pb.GetSiteIdsWithIntegrationData) => void): grpc.ClientUnaryCall;
|
|
566
580
|
public getSiteIdsWithIntegrationBySiteId(request: multitenant_pb.GetSiteIdsWithIntegrationData, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: multitenant_pb.GetSiteIdsWithIntegrationData) => void): grpc.ClientUnaryCall;
|
|
567
581
|
public getSiteIdsWithIntegrationBySiteId(request: multitenant_pb.GetSiteIdsWithIntegrationData, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: multitenant_pb.GetSiteIdsWithIntegrationData) => void): grpc.ClientUnaryCall;
|
|
582
|
+
public checkStandardizedSoftwareEnabled(request: multitenant_pb.CheckStandardizedSoftwareEnabledRequest, callback: (error: grpc.ServiceError | null, response: multitenant_pb.CheckStandardizedSoftwareEnabledResponse) => void): grpc.ClientUnaryCall;
|
|
583
|
+
public checkStandardizedSoftwareEnabled(request: multitenant_pb.CheckStandardizedSoftwareEnabledRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: multitenant_pb.CheckStandardizedSoftwareEnabledResponse) => void): grpc.ClientUnaryCall;
|
|
584
|
+
public checkStandardizedSoftwareEnabled(request: multitenant_pb.CheckStandardizedSoftwareEnabledRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: multitenant_pb.CheckStandardizedSoftwareEnabledResponse) => void): grpc.ClientUnaryCall;
|
|
568
585
|
}
|
|
@@ -114,6 +114,28 @@ function deserialize_lansweeper_multitenant_v1_CheckManagerInApplicationResponse
|
|
|
114
114
|
return multitenant_pb.CheckManagerInApplicationResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
+
function serialize_lansweeper_multitenant_v1_CheckStandardizedSoftwareEnabledRequest(arg) {
|
|
118
|
+
if (!(arg instanceof multitenant_pb.CheckStandardizedSoftwareEnabledRequest)) {
|
|
119
|
+
throw new Error('Expected argument of type lansweeper.multitenant.v1.CheckStandardizedSoftwareEnabledRequest');
|
|
120
|
+
}
|
|
121
|
+
return Buffer.from(arg.serializeBinary());
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
function deserialize_lansweeper_multitenant_v1_CheckStandardizedSoftwareEnabledRequest(buffer_arg) {
|
|
125
|
+
return multitenant_pb.CheckStandardizedSoftwareEnabledRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
function serialize_lansweeper_multitenant_v1_CheckStandardizedSoftwareEnabledResponse(arg) {
|
|
129
|
+
if (!(arg instanceof multitenant_pb.CheckStandardizedSoftwareEnabledResponse)) {
|
|
130
|
+
throw new Error('Expected argument of type lansweeper.multitenant.v1.CheckStandardizedSoftwareEnabledResponse');
|
|
131
|
+
}
|
|
132
|
+
return Buffer.from(arg.serializeBinary());
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
function deserialize_lansweeper_multitenant_v1_CheckStandardizedSoftwareEnabledResponse(buffer_arg) {
|
|
136
|
+
return multitenant_pb.CheckStandardizedSoftwareEnabledResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
137
|
+
}
|
|
138
|
+
|
|
117
139
|
function serialize_lansweeper_multitenant_v1_CreateAndLinkInstallRequest(arg) {
|
|
118
140
|
if (!(arg instanceof multitenant_pb.CreateAndLinkInstallRequest)) {
|
|
119
141
|
throw new Error('Expected argument of type lansweeper.multitenant.v1.CreateAndLinkInstallRequest');
|
|
@@ -1051,6 +1073,17 @@ var MultitenantService = exports.MultitenantService = {
|
|
|
1051
1073
|
responseSerialize: serialize_lansweeper_multitenant_v1_GetSiteIdsWithIntegrationData,
|
|
1052
1074
|
responseDeserialize: deserialize_lansweeper_multitenant_v1_GetSiteIdsWithIntegrationData,
|
|
1053
1075
|
},
|
|
1076
|
+
checkStandardizedSoftwareEnabled: {
|
|
1077
|
+
path: '/lansweeper.multitenant.v1.Multitenant/CheckStandardizedSoftwareEnabled',
|
|
1078
|
+
requestStream: false,
|
|
1079
|
+
responseStream: false,
|
|
1080
|
+
requestType: multitenant_pb.CheckStandardizedSoftwareEnabledRequest,
|
|
1081
|
+
responseType: multitenant_pb.CheckStandardizedSoftwareEnabledResponse,
|
|
1082
|
+
requestSerialize: serialize_lansweeper_multitenant_v1_CheckStandardizedSoftwareEnabledRequest,
|
|
1083
|
+
requestDeserialize: deserialize_lansweeper_multitenant_v1_CheckStandardizedSoftwareEnabledRequest,
|
|
1084
|
+
responseSerialize: serialize_lansweeper_multitenant_v1_CheckStandardizedSoftwareEnabledResponse,
|
|
1085
|
+
responseDeserialize: deserialize_lansweeper_multitenant_v1_CheckStandardizedSoftwareEnabledResponse,
|
|
1086
|
+
},
|
|
1054
1087
|
};
|
|
1055
1088
|
|
|
1056
1089
|
exports.MultitenantClient = grpc.makeGenericClientConstructor(MultitenantService);
|
|
@@ -2070,6 +2070,46 @@ export namespace GetSiteIdsWithIntegrationData {
|
|
|
2070
2070
|
}
|
|
2071
2071
|
}
|
|
2072
2072
|
|
|
2073
|
+
export class CheckStandardizedSoftwareEnabledRequest extends jspb.Message {
|
|
2074
|
+
getSiteId(): string;
|
|
2075
|
+
setSiteId(value: string): CheckStandardizedSoftwareEnabledRequest;
|
|
2076
|
+
|
|
2077
|
+
serializeBinary(): Uint8Array;
|
|
2078
|
+
toObject(includeInstance?: boolean): CheckStandardizedSoftwareEnabledRequest.AsObject;
|
|
2079
|
+
static toObject(includeInstance: boolean, msg: CheckStandardizedSoftwareEnabledRequest): CheckStandardizedSoftwareEnabledRequest.AsObject;
|
|
2080
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
2081
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
2082
|
+
static serializeBinaryToWriter(message: CheckStandardizedSoftwareEnabledRequest, writer: jspb.BinaryWriter): void;
|
|
2083
|
+
static deserializeBinary(bytes: Uint8Array): CheckStandardizedSoftwareEnabledRequest;
|
|
2084
|
+
static deserializeBinaryFromReader(message: CheckStandardizedSoftwareEnabledRequest, reader: jspb.BinaryReader): CheckStandardizedSoftwareEnabledRequest;
|
|
2085
|
+
}
|
|
2086
|
+
|
|
2087
|
+
export namespace CheckStandardizedSoftwareEnabledRequest {
|
|
2088
|
+
export type AsObject = {
|
|
2089
|
+
siteId: string,
|
|
2090
|
+
}
|
|
2091
|
+
}
|
|
2092
|
+
|
|
2093
|
+
export class CheckStandardizedSoftwareEnabledResponse extends jspb.Message {
|
|
2094
|
+
getIsEnabled(): boolean;
|
|
2095
|
+
setIsEnabled(value: boolean): CheckStandardizedSoftwareEnabledResponse;
|
|
2096
|
+
|
|
2097
|
+
serializeBinary(): Uint8Array;
|
|
2098
|
+
toObject(includeInstance?: boolean): CheckStandardizedSoftwareEnabledResponse.AsObject;
|
|
2099
|
+
static toObject(includeInstance: boolean, msg: CheckStandardizedSoftwareEnabledResponse): CheckStandardizedSoftwareEnabledResponse.AsObject;
|
|
2100
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
2101
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
2102
|
+
static serializeBinaryToWriter(message: CheckStandardizedSoftwareEnabledResponse, writer: jspb.BinaryWriter): void;
|
|
2103
|
+
static deserializeBinary(bytes: Uint8Array): CheckStandardizedSoftwareEnabledResponse;
|
|
2104
|
+
static deserializeBinaryFromReader(message: CheckStandardizedSoftwareEnabledResponse, reader: jspb.BinaryReader): CheckStandardizedSoftwareEnabledResponse;
|
|
2105
|
+
}
|
|
2106
|
+
|
|
2107
|
+
export namespace CheckStandardizedSoftwareEnabledResponse {
|
|
2108
|
+
export type AsObject = {
|
|
2109
|
+
isEnabled: boolean,
|
|
2110
|
+
}
|
|
2111
|
+
}
|
|
2112
|
+
|
|
2073
2113
|
export enum SiteMode {
|
|
2074
2114
|
UNESPECIFIED = 0,
|
|
2075
2115
|
CLOUD_NATIVE = 1,
|
|
@@ -26,6 +26,8 @@ goog.exportSymbol('proto.lansweeper.multitenant.v1.CheckAccessToSiteByAccountIdR
|
|
|
26
26
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.CheckAccessToSiteByAccountIdResponse', null, global);
|
|
27
27
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.CheckManagerInApplicationRequest', null, global);
|
|
28
28
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.CheckManagerInApplicationResponse', null, global);
|
|
29
|
+
goog.exportSymbol('proto.lansweeper.multitenant.v1.CheckStandardizedSoftwareEnabledRequest', null, global);
|
|
30
|
+
goog.exportSymbol('proto.lansweeper.multitenant.v1.CheckStandardizedSoftwareEnabledResponse', null, global);
|
|
29
31
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.CreateAndLinkInstallRequest', null, global);
|
|
30
32
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.CreateAndLinkInstallResponse', null, global);
|
|
31
33
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.CreateInstallRequest', null, global);
|
|
@@ -1780,6 +1782,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1780
1782
|
*/
|
|
1781
1783
|
proto.lansweeper.multitenant.v1.GetSiteIdsWithIntegrationData.displayName = 'proto.lansweeper.multitenant.v1.GetSiteIdsWithIntegrationData';
|
|
1782
1784
|
}
|
|
1785
|
+
/**
|
|
1786
|
+
* Generated by JsPbCodeGenerator.
|
|
1787
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1788
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1789
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1790
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1791
|
+
* valid.
|
|
1792
|
+
* @extends {jspb.Message}
|
|
1793
|
+
* @constructor
|
|
1794
|
+
*/
|
|
1795
|
+
proto.lansweeper.multitenant.v1.CheckStandardizedSoftwareEnabledRequest = function(opt_data) {
|
|
1796
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1797
|
+
};
|
|
1798
|
+
goog.inherits(proto.lansweeper.multitenant.v1.CheckStandardizedSoftwareEnabledRequest, jspb.Message);
|
|
1799
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1800
|
+
/**
|
|
1801
|
+
* @public
|
|
1802
|
+
* @override
|
|
1803
|
+
*/
|
|
1804
|
+
proto.lansweeper.multitenant.v1.CheckStandardizedSoftwareEnabledRequest.displayName = 'proto.lansweeper.multitenant.v1.CheckStandardizedSoftwareEnabledRequest';
|
|
1805
|
+
}
|
|
1806
|
+
/**
|
|
1807
|
+
* Generated by JsPbCodeGenerator.
|
|
1808
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1809
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1810
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1811
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1812
|
+
* valid.
|
|
1813
|
+
* @extends {jspb.Message}
|
|
1814
|
+
* @constructor
|
|
1815
|
+
*/
|
|
1816
|
+
proto.lansweeper.multitenant.v1.CheckStandardizedSoftwareEnabledResponse = function(opt_data) {
|
|
1817
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1818
|
+
};
|
|
1819
|
+
goog.inherits(proto.lansweeper.multitenant.v1.CheckStandardizedSoftwareEnabledResponse, jspb.Message);
|
|
1820
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1821
|
+
/**
|
|
1822
|
+
* @public
|
|
1823
|
+
* @override
|
|
1824
|
+
*/
|
|
1825
|
+
proto.lansweeper.multitenant.v1.CheckStandardizedSoftwareEnabledResponse.displayName = 'proto.lansweeper.multitenant.v1.CheckStandardizedSoftwareEnabledResponse';
|
|
1826
|
+
}
|
|
1783
1827
|
|
|
1784
1828
|
|
|
1785
1829
|
|
|
@@ -16598,6 +16642,266 @@ proto.lansweeper.multitenant.v1.GetSiteIdsWithIntegrationData.prototype.clearSit
|
|
|
16598
16642
|
};
|
|
16599
16643
|
|
|
16600
16644
|
|
|
16645
|
+
|
|
16646
|
+
|
|
16647
|
+
|
|
16648
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
16649
|
+
/**
|
|
16650
|
+
* Creates an object representation of this proto.
|
|
16651
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
16652
|
+
* Optional fields that are not set will be set to undefined.
|
|
16653
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
16654
|
+
* For the list of reserved names please see:
|
|
16655
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
16656
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
16657
|
+
* JSPB instance for transitional soy proto support:
|
|
16658
|
+
* http://goto/soy-param-migration
|
|
16659
|
+
* @return {!Object}
|
|
16660
|
+
*/
|
|
16661
|
+
proto.lansweeper.multitenant.v1.CheckStandardizedSoftwareEnabledRequest.prototype.toObject = function(opt_includeInstance) {
|
|
16662
|
+
return proto.lansweeper.multitenant.v1.CheckStandardizedSoftwareEnabledRequest.toObject(opt_includeInstance, this);
|
|
16663
|
+
};
|
|
16664
|
+
|
|
16665
|
+
|
|
16666
|
+
/**
|
|
16667
|
+
* Static version of the {@see toObject} method.
|
|
16668
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
16669
|
+
* the JSPB instance for transitional soy proto support:
|
|
16670
|
+
* http://goto/soy-param-migration
|
|
16671
|
+
* @param {!proto.lansweeper.multitenant.v1.CheckStandardizedSoftwareEnabledRequest} msg The msg instance to transform.
|
|
16672
|
+
* @return {!Object}
|
|
16673
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
16674
|
+
*/
|
|
16675
|
+
proto.lansweeper.multitenant.v1.CheckStandardizedSoftwareEnabledRequest.toObject = function(includeInstance, msg) {
|
|
16676
|
+
var f, obj = {
|
|
16677
|
+
siteId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
16678
|
+
};
|
|
16679
|
+
|
|
16680
|
+
if (includeInstance) {
|
|
16681
|
+
obj.$jspbMessageInstance = msg;
|
|
16682
|
+
}
|
|
16683
|
+
return obj;
|
|
16684
|
+
};
|
|
16685
|
+
}
|
|
16686
|
+
|
|
16687
|
+
|
|
16688
|
+
/**
|
|
16689
|
+
* Deserializes binary data (in protobuf wire format).
|
|
16690
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
16691
|
+
* @return {!proto.lansweeper.multitenant.v1.CheckStandardizedSoftwareEnabledRequest}
|
|
16692
|
+
*/
|
|
16693
|
+
proto.lansweeper.multitenant.v1.CheckStandardizedSoftwareEnabledRequest.deserializeBinary = function(bytes) {
|
|
16694
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
16695
|
+
var msg = new proto.lansweeper.multitenant.v1.CheckStandardizedSoftwareEnabledRequest;
|
|
16696
|
+
return proto.lansweeper.multitenant.v1.CheckStandardizedSoftwareEnabledRequest.deserializeBinaryFromReader(msg, reader);
|
|
16697
|
+
};
|
|
16698
|
+
|
|
16699
|
+
|
|
16700
|
+
/**
|
|
16701
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
16702
|
+
* given reader into the given message object.
|
|
16703
|
+
* @param {!proto.lansweeper.multitenant.v1.CheckStandardizedSoftwareEnabledRequest} msg The message object to deserialize into.
|
|
16704
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
16705
|
+
* @return {!proto.lansweeper.multitenant.v1.CheckStandardizedSoftwareEnabledRequest}
|
|
16706
|
+
*/
|
|
16707
|
+
proto.lansweeper.multitenant.v1.CheckStandardizedSoftwareEnabledRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
16708
|
+
while (reader.nextField()) {
|
|
16709
|
+
if (reader.isEndGroup()) {
|
|
16710
|
+
break;
|
|
16711
|
+
}
|
|
16712
|
+
var field = reader.getFieldNumber();
|
|
16713
|
+
switch (field) {
|
|
16714
|
+
case 1:
|
|
16715
|
+
var value = /** @type {string} */ (reader.readString());
|
|
16716
|
+
msg.setSiteId(value);
|
|
16717
|
+
break;
|
|
16718
|
+
default:
|
|
16719
|
+
reader.skipField();
|
|
16720
|
+
break;
|
|
16721
|
+
}
|
|
16722
|
+
}
|
|
16723
|
+
return msg;
|
|
16724
|
+
};
|
|
16725
|
+
|
|
16726
|
+
|
|
16727
|
+
/**
|
|
16728
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
16729
|
+
* @return {!Uint8Array}
|
|
16730
|
+
*/
|
|
16731
|
+
proto.lansweeper.multitenant.v1.CheckStandardizedSoftwareEnabledRequest.prototype.serializeBinary = function() {
|
|
16732
|
+
var writer = new jspb.BinaryWriter();
|
|
16733
|
+
proto.lansweeper.multitenant.v1.CheckStandardizedSoftwareEnabledRequest.serializeBinaryToWriter(this, writer);
|
|
16734
|
+
return writer.getResultBuffer();
|
|
16735
|
+
};
|
|
16736
|
+
|
|
16737
|
+
|
|
16738
|
+
/**
|
|
16739
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
16740
|
+
* format), writing to the given BinaryWriter.
|
|
16741
|
+
* @param {!proto.lansweeper.multitenant.v1.CheckStandardizedSoftwareEnabledRequest} message
|
|
16742
|
+
* @param {!jspb.BinaryWriter} writer
|
|
16743
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
16744
|
+
*/
|
|
16745
|
+
proto.lansweeper.multitenant.v1.CheckStandardizedSoftwareEnabledRequest.serializeBinaryToWriter = function(message, writer) {
|
|
16746
|
+
var f = undefined;
|
|
16747
|
+
f = message.getSiteId();
|
|
16748
|
+
if (f.length > 0) {
|
|
16749
|
+
writer.writeString(
|
|
16750
|
+
1,
|
|
16751
|
+
f
|
|
16752
|
+
);
|
|
16753
|
+
}
|
|
16754
|
+
};
|
|
16755
|
+
|
|
16756
|
+
|
|
16757
|
+
/**
|
|
16758
|
+
* optional string site_id = 1;
|
|
16759
|
+
* @return {string}
|
|
16760
|
+
*/
|
|
16761
|
+
proto.lansweeper.multitenant.v1.CheckStandardizedSoftwareEnabledRequest.prototype.getSiteId = function() {
|
|
16762
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
16763
|
+
};
|
|
16764
|
+
|
|
16765
|
+
|
|
16766
|
+
/**
|
|
16767
|
+
* @param {string} value
|
|
16768
|
+
* @return {!proto.lansweeper.multitenant.v1.CheckStandardizedSoftwareEnabledRequest} returns this
|
|
16769
|
+
*/
|
|
16770
|
+
proto.lansweeper.multitenant.v1.CheckStandardizedSoftwareEnabledRequest.prototype.setSiteId = function(value) {
|
|
16771
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
16772
|
+
};
|
|
16773
|
+
|
|
16774
|
+
|
|
16775
|
+
|
|
16776
|
+
|
|
16777
|
+
|
|
16778
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
16779
|
+
/**
|
|
16780
|
+
* Creates an object representation of this proto.
|
|
16781
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
16782
|
+
* Optional fields that are not set will be set to undefined.
|
|
16783
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
16784
|
+
* For the list of reserved names please see:
|
|
16785
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
16786
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
16787
|
+
* JSPB instance for transitional soy proto support:
|
|
16788
|
+
* http://goto/soy-param-migration
|
|
16789
|
+
* @return {!Object}
|
|
16790
|
+
*/
|
|
16791
|
+
proto.lansweeper.multitenant.v1.CheckStandardizedSoftwareEnabledResponse.prototype.toObject = function(opt_includeInstance) {
|
|
16792
|
+
return proto.lansweeper.multitenant.v1.CheckStandardizedSoftwareEnabledResponse.toObject(opt_includeInstance, this);
|
|
16793
|
+
};
|
|
16794
|
+
|
|
16795
|
+
|
|
16796
|
+
/**
|
|
16797
|
+
* Static version of the {@see toObject} method.
|
|
16798
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
16799
|
+
* the JSPB instance for transitional soy proto support:
|
|
16800
|
+
* http://goto/soy-param-migration
|
|
16801
|
+
* @param {!proto.lansweeper.multitenant.v1.CheckStandardizedSoftwareEnabledResponse} msg The msg instance to transform.
|
|
16802
|
+
* @return {!Object}
|
|
16803
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
16804
|
+
*/
|
|
16805
|
+
proto.lansweeper.multitenant.v1.CheckStandardizedSoftwareEnabledResponse.toObject = function(includeInstance, msg) {
|
|
16806
|
+
var f, obj = {
|
|
16807
|
+
isEnabled: jspb.Message.getBooleanFieldWithDefault(msg, 1, false)
|
|
16808
|
+
};
|
|
16809
|
+
|
|
16810
|
+
if (includeInstance) {
|
|
16811
|
+
obj.$jspbMessageInstance = msg;
|
|
16812
|
+
}
|
|
16813
|
+
return obj;
|
|
16814
|
+
};
|
|
16815
|
+
}
|
|
16816
|
+
|
|
16817
|
+
|
|
16818
|
+
/**
|
|
16819
|
+
* Deserializes binary data (in protobuf wire format).
|
|
16820
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
16821
|
+
* @return {!proto.lansweeper.multitenant.v1.CheckStandardizedSoftwareEnabledResponse}
|
|
16822
|
+
*/
|
|
16823
|
+
proto.lansweeper.multitenant.v1.CheckStandardizedSoftwareEnabledResponse.deserializeBinary = function(bytes) {
|
|
16824
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
16825
|
+
var msg = new proto.lansweeper.multitenant.v1.CheckStandardizedSoftwareEnabledResponse;
|
|
16826
|
+
return proto.lansweeper.multitenant.v1.CheckStandardizedSoftwareEnabledResponse.deserializeBinaryFromReader(msg, reader);
|
|
16827
|
+
};
|
|
16828
|
+
|
|
16829
|
+
|
|
16830
|
+
/**
|
|
16831
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
16832
|
+
* given reader into the given message object.
|
|
16833
|
+
* @param {!proto.lansweeper.multitenant.v1.CheckStandardizedSoftwareEnabledResponse} msg The message object to deserialize into.
|
|
16834
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
16835
|
+
* @return {!proto.lansweeper.multitenant.v1.CheckStandardizedSoftwareEnabledResponse}
|
|
16836
|
+
*/
|
|
16837
|
+
proto.lansweeper.multitenant.v1.CheckStandardizedSoftwareEnabledResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
16838
|
+
while (reader.nextField()) {
|
|
16839
|
+
if (reader.isEndGroup()) {
|
|
16840
|
+
break;
|
|
16841
|
+
}
|
|
16842
|
+
var field = reader.getFieldNumber();
|
|
16843
|
+
switch (field) {
|
|
16844
|
+
case 1:
|
|
16845
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
16846
|
+
msg.setIsEnabled(value);
|
|
16847
|
+
break;
|
|
16848
|
+
default:
|
|
16849
|
+
reader.skipField();
|
|
16850
|
+
break;
|
|
16851
|
+
}
|
|
16852
|
+
}
|
|
16853
|
+
return msg;
|
|
16854
|
+
};
|
|
16855
|
+
|
|
16856
|
+
|
|
16857
|
+
/**
|
|
16858
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
16859
|
+
* @return {!Uint8Array}
|
|
16860
|
+
*/
|
|
16861
|
+
proto.lansweeper.multitenant.v1.CheckStandardizedSoftwareEnabledResponse.prototype.serializeBinary = function() {
|
|
16862
|
+
var writer = new jspb.BinaryWriter();
|
|
16863
|
+
proto.lansweeper.multitenant.v1.CheckStandardizedSoftwareEnabledResponse.serializeBinaryToWriter(this, writer);
|
|
16864
|
+
return writer.getResultBuffer();
|
|
16865
|
+
};
|
|
16866
|
+
|
|
16867
|
+
|
|
16868
|
+
/**
|
|
16869
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
16870
|
+
* format), writing to the given BinaryWriter.
|
|
16871
|
+
* @param {!proto.lansweeper.multitenant.v1.CheckStandardizedSoftwareEnabledResponse} message
|
|
16872
|
+
* @param {!jspb.BinaryWriter} writer
|
|
16873
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
16874
|
+
*/
|
|
16875
|
+
proto.lansweeper.multitenant.v1.CheckStandardizedSoftwareEnabledResponse.serializeBinaryToWriter = function(message, writer) {
|
|
16876
|
+
var f = undefined;
|
|
16877
|
+
f = message.getIsEnabled();
|
|
16878
|
+
if (f) {
|
|
16879
|
+
writer.writeBool(
|
|
16880
|
+
1,
|
|
16881
|
+
f
|
|
16882
|
+
);
|
|
16883
|
+
}
|
|
16884
|
+
};
|
|
16885
|
+
|
|
16886
|
+
|
|
16887
|
+
/**
|
|
16888
|
+
* optional bool is_enabled = 1;
|
|
16889
|
+
* @return {boolean}
|
|
16890
|
+
*/
|
|
16891
|
+
proto.lansweeper.multitenant.v1.CheckStandardizedSoftwareEnabledResponse.prototype.getIsEnabled = function() {
|
|
16892
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
|
|
16893
|
+
};
|
|
16894
|
+
|
|
16895
|
+
|
|
16896
|
+
/**
|
|
16897
|
+
* @param {boolean} value
|
|
16898
|
+
* @return {!proto.lansweeper.multitenant.v1.CheckStandardizedSoftwareEnabledResponse} returns this
|
|
16899
|
+
*/
|
|
16900
|
+
proto.lansweeper.multitenant.v1.CheckStandardizedSoftwareEnabledResponse.prototype.setIsEnabled = function(value) {
|
|
16901
|
+
return jspb.Message.setProto3BooleanField(this, 1, value);
|
|
16902
|
+
};
|
|
16903
|
+
|
|
16904
|
+
|
|
16601
16905
|
/**
|
|
16602
16906
|
* @enum {number}
|
|
16603
16907
|
*/
|