@lansweeper/multitenant-api-grpc 0.4.56 → 0.4.57
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 +656 -514
- package/generated-go/multitenant_grpc.pb.go +38 -0
- package/package.json +2 -2
- package/proto/multitenant.proto +9 -0
|
@@ -54,6 +54,7 @@ interface IMultitenantService extends grpc.ServiceDefinition<grpc.UntypedService
|
|
|
54
54
|
getSitesByMsmpOrganizationId: IMultitenantService_IGetSitesByMsmpOrganizationId;
|
|
55
55
|
getInstallsByExternalIds: IMultitenantService_IGetInstallsByExternalIds;
|
|
56
56
|
enableCustomFieldsFederation: IMultitenantService_IEnableCustomFieldsFederation;
|
|
57
|
+
isCustomFieldsFederationEnabled: IMultitenantService_IIsCustomFieldsFederationEnabled;
|
|
57
58
|
}
|
|
58
59
|
|
|
59
60
|
interface IMultitenantService_ICheckAccessToSiteByAccountId extends grpc.MethodDefinition<multitenant_pb.CheckAccessToSiteByAccountIdRequest, multitenant_pb.CheckAccessToSiteByAccountIdResponse> {
|
|
@@ -452,6 +453,15 @@ interface IMultitenantService_IEnableCustomFieldsFederation extends grpc.MethodD
|
|
|
452
453
|
responseSerialize: grpc.serialize<google_protobuf_empty_pb.Empty>;
|
|
453
454
|
responseDeserialize: grpc.deserialize<google_protobuf_empty_pb.Empty>;
|
|
454
455
|
}
|
|
456
|
+
interface IMultitenantService_IIsCustomFieldsFederationEnabled extends grpc.MethodDefinition<multitenant_pb.IsCustomFieldsFederationEnabledRequest, multitenant_pb.IsCustomFieldsFederationEnabledResponse> {
|
|
457
|
+
path: "/lansweeper.multitenant.v1.Multitenant/IsCustomFieldsFederationEnabled";
|
|
458
|
+
requestStream: false;
|
|
459
|
+
responseStream: false;
|
|
460
|
+
requestSerialize: grpc.serialize<multitenant_pb.IsCustomFieldsFederationEnabledRequest>;
|
|
461
|
+
requestDeserialize: grpc.deserialize<multitenant_pb.IsCustomFieldsFederationEnabledRequest>;
|
|
462
|
+
responseSerialize: grpc.serialize<multitenant_pb.IsCustomFieldsFederationEnabledResponse>;
|
|
463
|
+
responseDeserialize: grpc.deserialize<multitenant_pb.IsCustomFieldsFederationEnabledResponse>;
|
|
464
|
+
}
|
|
455
465
|
|
|
456
466
|
export const MultitenantService: IMultitenantService;
|
|
457
467
|
|
|
@@ -500,6 +510,7 @@ export interface IMultitenantServer extends grpc.UntypedServiceImplementation {
|
|
|
500
510
|
getSitesByMsmpOrganizationId: grpc.handleUnaryCall<multitenant_pb.GetSitesByMsmpOrganizationIdRequest, multitenant_pb.GetSitesByMsmpOrganizationIdResponse>;
|
|
501
511
|
getInstallsByExternalIds: grpc.handleUnaryCall<multitenant_pb.GetInstallsByExternalIdsRequest, multitenant_pb.GetInstallsByExternalIdsResponse>;
|
|
502
512
|
enableCustomFieldsFederation: grpc.handleUnaryCall<multitenant_pb.EnableCustomFieldsFederationRequest, google_protobuf_empty_pb.Empty>;
|
|
513
|
+
isCustomFieldsFederationEnabled: grpc.handleUnaryCall<multitenant_pb.IsCustomFieldsFederationEnabledRequest, multitenant_pb.IsCustomFieldsFederationEnabledResponse>;
|
|
503
514
|
}
|
|
504
515
|
|
|
505
516
|
export interface IMultitenantClient {
|
|
@@ -635,6 +646,9 @@ export interface IMultitenantClient {
|
|
|
635
646
|
enableCustomFieldsFederation(request: multitenant_pb.EnableCustomFieldsFederationRequest, callback: (error: grpc.ServiceError | null, response: google_protobuf_empty_pb.Empty) => void): grpc.ClientUnaryCall;
|
|
636
647
|
enableCustomFieldsFederation(request: multitenant_pb.EnableCustomFieldsFederationRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: google_protobuf_empty_pb.Empty) => void): grpc.ClientUnaryCall;
|
|
637
648
|
enableCustomFieldsFederation(request: multitenant_pb.EnableCustomFieldsFederationRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: google_protobuf_empty_pb.Empty) => void): grpc.ClientUnaryCall;
|
|
649
|
+
isCustomFieldsFederationEnabled(request: multitenant_pb.IsCustomFieldsFederationEnabledRequest, callback: (error: grpc.ServiceError | null, response: multitenant_pb.IsCustomFieldsFederationEnabledResponse) => void): grpc.ClientUnaryCall;
|
|
650
|
+
isCustomFieldsFederationEnabled(request: multitenant_pb.IsCustomFieldsFederationEnabledRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: multitenant_pb.IsCustomFieldsFederationEnabledResponse) => void): grpc.ClientUnaryCall;
|
|
651
|
+
isCustomFieldsFederationEnabled(request: multitenant_pb.IsCustomFieldsFederationEnabledRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: multitenant_pb.IsCustomFieldsFederationEnabledResponse) => void): grpc.ClientUnaryCall;
|
|
638
652
|
}
|
|
639
653
|
|
|
640
654
|
export class MultitenantClient extends grpc.Client implements IMultitenantClient {
|
|
@@ -771,4 +785,7 @@ export class MultitenantClient extends grpc.Client implements IMultitenantClient
|
|
|
771
785
|
public enableCustomFieldsFederation(request: multitenant_pb.EnableCustomFieldsFederationRequest, callback: (error: grpc.ServiceError | null, response: google_protobuf_empty_pb.Empty) => void): grpc.ClientUnaryCall;
|
|
772
786
|
public enableCustomFieldsFederation(request: multitenant_pb.EnableCustomFieldsFederationRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: google_protobuf_empty_pb.Empty) => void): grpc.ClientUnaryCall;
|
|
773
787
|
public enableCustomFieldsFederation(request: multitenant_pb.EnableCustomFieldsFederationRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: google_protobuf_empty_pb.Empty) => void): grpc.ClientUnaryCall;
|
|
788
|
+
public isCustomFieldsFederationEnabled(request: multitenant_pb.IsCustomFieldsFederationEnabledRequest, callback: (error: grpc.ServiceError | null, response: multitenant_pb.IsCustomFieldsFederationEnabledResponse) => void): grpc.ClientUnaryCall;
|
|
789
|
+
public isCustomFieldsFederationEnabled(request: multitenant_pb.IsCustomFieldsFederationEnabledRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: multitenant_pb.IsCustomFieldsFederationEnabledResponse) => void): grpc.ClientUnaryCall;
|
|
790
|
+
public isCustomFieldsFederationEnabled(request: multitenant_pb.IsCustomFieldsFederationEnabledRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: multitenant_pb.IsCustomFieldsFederationEnabledResponse) => void): grpc.ClientUnaryCall;
|
|
774
791
|
}
|
|
@@ -677,6 +677,28 @@ function deserialize_lansweeper_multitenant_v1_GetUserPermissionsResponse(buffer
|
|
|
677
677
|
return multitenant_pb.GetUserPermissionsResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
678
678
|
}
|
|
679
679
|
|
|
680
|
+
function serialize_lansweeper_multitenant_v1_IsCustomFieldsFederationEnabledRequest(arg) {
|
|
681
|
+
if (!(arg instanceof multitenant_pb.IsCustomFieldsFederationEnabledRequest)) {
|
|
682
|
+
throw new Error('Expected argument of type lansweeper.multitenant.v1.IsCustomFieldsFederationEnabledRequest');
|
|
683
|
+
}
|
|
684
|
+
return Buffer.from(arg.serializeBinary());
|
|
685
|
+
}
|
|
686
|
+
|
|
687
|
+
function deserialize_lansweeper_multitenant_v1_IsCustomFieldsFederationEnabledRequest(buffer_arg) {
|
|
688
|
+
return multitenant_pb.IsCustomFieldsFederationEnabledRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
function serialize_lansweeper_multitenant_v1_IsCustomFieldsFederationEnabledResponse(arg) {
|
|
692
|
+
if (!(arg instanceof multitenant_pb.IsCustomFieldsFederationEnabledResponse)) {
|
|
693
|
+
throw new Error('Expected argument of type lansweeper.multitenant.v1.IsCustomFieldsFederationEnabledResponse');
|
|
694
|
+
}
|
|
695
|
+
return Buffer.from(arg.serializeBinary());
|
|
696
|
+
}
|
|
697
|
+
|
|
698
|
+
function deserialize_lansweeper_multitenant_v1_IsCustomFieldsFederationEnabledResponse(buffer_arg) {
|
|
699
|
+
return multitenant_pb.IsCustomFieldsFederationEnabledResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
700
|
+
}
|
|
701
|
+
|
|
680
702
|
function serialize_lansweeper_multitenant_v1_LinkTrialInstallByClientIdRequest(arg) {
|
|
681
703
|
if (!(arg instanceof multitenant_pb.LinkTrialInstallByClientIdRequest)) {
|
|
682
704
|
throw new Error('Expected argument of type lansweeper.multitenant.v1.LinkTrialInstallByClientIdRequest');
|
|
@@ -1449,6 +1471,17 @@ var MultitenantService = exports.MultitenantService = {
|
|
|
1449
1471
|
responseSerialize: serialize_google_protobuf_Empty,
|
|
1450
1472
|
responseDeserialize: deserialize_google_protobuf_Empty,
|
|
1451
1473
|
},
|
|
1474
|
+
isCustomFieldsFederationEnabled: {
|
|
1475
|
+
path: '/lansweeper.multitenant.v1.Multitenant/IsCustomFieldsFederationEnabled',
|
|
1476
|
+
requestStream: false,
|
|
1477
|
+
responseStream: false,
|
|
1478
|
+
requestType: multitenant_pb.IsCustomFieldsFederationEnabledRequest,
|
|
1479
|
+
responseType: multitenant_pb.IsCustomFieldsFederationEnabledResponse,
|
|
1480
|
+
requestSerialize: serialize_lansweeper_multitenant_v1_IsCustomFieldsFederationEnabledRequest,
|
|
1481
|
+
requestDeserialize: deserialize_lansweeper_multitenant_v1_IsCustomFieldsFederationEnabledRequest,
|
|
1482
|
+
responseSerialize: serialize_lansweeper_multitenant_v1_IsCustomFieldsFederationEnabledResponse,
|
|
1483
|
+
responseDeserialize: deserialize_lansweeper_multitenant_v1_IsCustomFieldsFederationEnabledResponse,
|
|
1484
|
+
},
|
|
1452
1485
|
};
|
|
1453
1486
|
|
|
1454
1487
|
exports.MultitenantClient = grpc.makeGenericClientConstructor(MultitenantService);
|
|
@@ -2750,6 +2750,46 @@ export namespace EnableCustomFieldsFederationRequest {
|
|
|
2750
2750
|
}
|
|
2751
2751
|
}
|
|
2752
2752
|
|
|
2753
|
+
export class IsCustomFieldsFederationEnabledRequest extends jspb.Message {
|
|
2754
|
+
getSiteId(): string;
|
|
2755
|
+
setSiteId(value: string): IsCustomFieldsFederationEnabledRequest;
|
|
2756
|
+
|
|
2757
|
+
serializeBinary(): Uint8Array;
|
|
2758
|
+
toObject(includeInstance?: boolean): IsCustomFieldsFederationEnabledRequest.AsObject;
|
|
2759
|
+
static toObject(includeInstance: boolean, msg: IsCustomFieldsFederationEnabledRequest): IsCustomFieldsFederationEnabledRequest.AsObject;
|
|
2760
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
2761
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
2762
|
+
static serializeBinaryToWriter(message: IsCustomFieldsFederationEnabledRequest, writer: jspb.BinaryWriter): void;
|
|
2763
|
+
static deserializeBinary(bytes: Uint8Array): IsCustomFieldsFederationEnabledRequest;
|
|
2764
|
+
static deserializeBinaryFromReader(message: IsCustomFieldsFederationEnabledRequest, reader: jspb.BinaryReader): IsCustomFieldsFederationEnabledRequest;
|
|
2765
|
+
}
|
|
2766
|
+
|
|
2767
|
+
export namespace IsCustomFieldsFederationEnabledRequest {
|
|
2768
|
+
export type AsObject = {
|
|
2769
|
+
siteId: string,
|
|
2770
|
+
}
|
|
2771
|
+
}
|
|
2772
|
+
|
|
2773
|
+
export class IsCustomFieldsFederationEnabledResponse extends jspb.Message {
|
|
2774
|
+
getIsEnabled(): boolean;
|
|
2775
|
+
setIsEnabled(value: boolean): IsCustomFieldsFederationEnabledResponse;
|
|
2776
|
+
|
|
2777
|
+
serializeBinary(): Uint8Array;
|
|
2778
|
+
toObject(includeInstance?: boolean): IsCustomFieldsFederationEnabledResponse.AsObject;
|
|
2779
|
+
static toObject(includeInstance: boolean, msg: IsCustomFieldsFederationEnabledResponse): IsCustomFieldsFederationEnabledResponse.AsObject;
|
|
2780
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
2781
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
2782
|
+
static serializeBinaryToWriter(message: IsCustomFieldsFederationEnabledResponse, writer: jspb.BinaryWriter): void;
|
|
2783
|
+
static deserializeBinary(bytes: Uint8Array): IsCustomFieldsFederationEnabledResponse;
|
|
2784
|
+
static deserializeBinaryFromReader(message: IsCustomFieldsFederationEnabledResponse, reader: jspb.BinaryReader): IsCustomFieldsFederationEnabledResponse;
|
|
2785
|
+
}
|
|
2786
|
+
|
|
2787
|
+
export namespace IsCustomFieldsFederationEnabledResponse {
|
|
2788
|
+
export type AsObject = {
|
|
2789
|
+
isEnabled: boolean,
|
|
2790
|
+
}
|
|
2791
|
+
}
|
|
2792
|
+
|
|
2753
2793
|
export enum SiteMode {
|
|
2754
2794
|
UNESPECIFIED = 0,
|
|
2755
2795
|
CLOUD_NATIVE = 1,
|
|
@@ -99,6 +99,8 @@ goog.exportSymbol('proto.lansweeper.multitenant.v1.Install.InstallState', null,
|
|
|
99
99
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.InstallCredentials', null, global);
|
|
100
100
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.InstallStateValue', null, global);
|
|
101
101
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.InstallType', null, global);
|
|
102
|
+
goog.exportSymbol('proto.lansweeper.multitenant.v1.IsCustomFieldsFederationEnabledRequest', null, global);
|
|
103
|
+
goog.exportSymbol('proto.lansweeper.multitenant.v1.IsCustomFieldsFederationEnabledResponse', null, global);
|
|
102
104
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.LinkTrialInstallByClientIdRequest', null, global);
|
|
103
105
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.LinkTrialInstallByClientIdResponse', null, global);
|
|
104
106
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.ListAuthorizedLinkProfilesRequest', null, global);
|
|
@@ -2406,6 +2408,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2406
2408
|
*/
|
|
2407
2409
|
proto.lansweeper.multitenant.v1.EnableCustomFieldsFederationRequest.displayName = 'proto.lansweeper.multitenant.v1.EnableCustomFieldsFederationRequest';
|
|
2408
2410
|
}
|
|
2411
|
+
/**
|
|
2412
|
+
* Generated by JsPbCodeGenerator.
|
|
2413
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2414
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2415
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2416
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2417
|
+
* valid.
|
|
2418
|
+
* @extends {jspb.Message}
|
|
2419
|
+
* @constructor
|
|
2420
|
+
*/
|
|
2421
|
+
proto.lansweeper.multitenant.v1.IsCustomFieldsFederationEnabledRequest = function(opt_data) {
|
|
2422
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2423
|
+
};
|
|
2424
|
+
goog.inherits(proto.lansweeper.multitenant.v1.IsCustomFieldsFederationEnabledRequest, jspb.Message);
|
|
2425
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2426
|
+
/**
|
|
2427
|
+
* @public
|
|
2428
|
+
* @override
|
|
2429
|
+
*/
|
|
2430
|
+
proto.lansweeper.multitenant.v1.IsCustomFieldsFederationEnabledRequest.displayName = 'proto.lansweeper.multitenant.v1.IsCustomFieldsFederationEnabledRequest';
|
|
2431
|
+
}
|
|
2432
|
+
/**
|
|
2433
|
+
* Generated by JsPbCodeGenerator.
|
|
2434
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2435
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2436
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2437
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2438
|
+
* valid.
|
|
2439
|
+
* @extends {jspb.Message}
|
|
2440
|
+
* @constructor
|
|
2441
|
+
*/
|
|
2442
|
+
proto.lansweeper.multitenant.v1.IsCustomFieldsFederationEnabledResponse = function(opt_data) {
|
|
2443
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2444
|
+
};
|
|
2445
|
+
goog.inherits(proto.lansweeper.multitenant.v1.IsCustomFieldsFederationEnabledResponse, jspb.Message);
|
|
2446
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2447
|
+
/**
|
|
2448
|
+
* @public
|
|
2449
|
+
* @override
|
|
2450
|
+
*/
|
|
2451
|
+
proto.lansweeper.multitenant.v1.IsCustomFieldsFederationEnabledResponse.displayName = 'proto.lansweeper.multitenant.v1.IsCustomFieldsFederationEnabledResponse';
|
|
2452
|
+
}
|
|
2409
2453
|
|
|
2410
2454
|
|
|
2411
2455
|
|
|
@@ -22041,6 +22085,266 @@ proto.lansweeper.multitenant.v1.EnableCustomFieldsFederationRequest.prototype.se
|
|
|
22041
22085
|
};
|
|
22042
22086
|
|
|
22043
22087
|
|
|
22088
|
+
|
|
22089
|
+
|
|
22090
|
+
|
|
22091
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
22092
|
+
/**
|
|
22093
|
+
* Creates an object representation of this proto.
|
|
22094
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
22095
|
+
* Optional fields that are not set will be set to undefined.
|
|
22096
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
22097
|
+
* For the list of reserved names please see:
|
|
22098
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
22099
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
22100
|
+
* JSPB instance for transitional soy proto support:
|
|
22101
|
+
* http://goto/soy-param-migration
|
|
22102
|
+
* @return {!Object}
|
|
22103
|
+
*/
|
|
22104
|
+
proto.lansweeper.multitenant.v1.IsCustomFieldsFederationEnabledRequest.prototype.toObject = function(opt_includeInstance) {
|
|
22105
|
+
return proto.lansweeper.multitenant.v1.IsCustomFieldsFederationEnabledRequest.toObject(opt_includeInstance, this);
|
|
22106
|
+
};
|
|
22107
|
+
|
|
22108
|
+
|
|
22109
|
+
/**
|
|
22110
|
+
* Static version of the {@see toObject} method.
|
|
22111
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
22112
|
+
* the JSPB instance for transitional soy proto support:
|
|
22113
|
+
* http://goto/soy-param-migration
|
|
22114
|
+
* @param {!proto.lansweeper.multitenant.v1.IsCustomFieldsFederationEnabledRequest} msg The msg instance to transform.
|
|
22115
|
+
* @return {!Object}
|
|
22116
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
22117
|
+
*/
|
|
22118
|
+
proto.lansweeper.multitenant.v1.IsCustomFieldsFederationEnabledRequest.toObject = function(includeInstance, msg) {
|
|
22119
|
+
var f, obj = {
|
|
22120
|
+
siteId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
22121
|
+
};
|
|
22122
|
+
|
|
22123
|
+
if (includeInstance) {
|
|
22124
|
+
obj.$jspbMessageInstance = msg;
|
|
22125
|
+
}
|
|
22126
|
+
return obj;
|
|
22127
|
+
};
|
|
22128
|
+
}
|
|
22129
|
+
|
|
22130
|
+
|
|
22131
|
+
/**
|
|
22132
|
+
* Deserializes binary data (in protobuf wire format).
|
|
22133
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
22134
|
+
* @return {!proto.lansweeper.multitenant.v1.IsCustomFieldsFederationEnabledRequest}
|
|
22135
|
+
*/
|
|
22136
|
+
proto.lansweeper.multitenant.v1.IsCustomFieldsFederationEnabledRequest.deserializeBinary = function(bytes) {
|
|
22137
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
22138
|
+
var msg = new proto.lansweeper.multitenant.v1.IsCustomFieldsFederationEnabledRequest;
|
|
22139
|
+
return proto.lansweeper.multitenant.v1.IsCustomFieldsFederationEnabledRequest.deserializeBinaryFromReader(msg, reader);
|
|
22140
|
+
};
|
|
22141
|
+
|
|
22142
|
+
|
|
22143
|
+
/**
|
|
22144
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
22145
|
+
* given reader into the given message object.
|
|
22146
|
+
* @param {!proto.lansweeper.multitenant.v1.IsCustomFieldsFederationEnabledRequest} msg The message object to deserialize into.
|
|
22147
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
22148
|
+
* @return {!proto.lansweeper.multitenant.v1.IsCustomFieldsFederationEnabledRequest}
|
|
22149
|
+
*/
|
|
22150
|
+
proto.lansweeper.multitenant.v1.IsCustomFieldsFederationEnabledRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
22151
|
+
while (reader.nextField()) {
|
|
22152
|
+
if (reader.isEndGroup()) {
|
|
22153
|
+
break;
|
|
22154
|
+
}
|
|
22155
|
+
var field = reader.getFieldNumber();
|
|
22156
|
+
switch (field) {
|
|
22157
|
+
case 1:
|
|
22158
|
+
var value = /** @type {string} */ (reader.readString());
|
|
22159
|
+
msg.setSiteId(value);
|
|
22160
|
+
break;
|
|
22161
|
+
default:
|
|
22162
|
+
reader.skipField();
|
|
22163
|
+
break;
|
|
22164
|
+
}
|
|
22165
|
+
}
|
|
22166
|
+
return msg;
|
|
22167
|
+
};
|
|
22168
|
+
|
|
22169
|
+
|
|
22170
|
+
/**
|
|
22171
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
22172
|
+
* @return {!Uint8Array}
|
|
22173
|
+
*/
|
|
22174
|
+
proto.lansweeper.multitenant.v1.IsCustomFieldsFederationEnabledRequest.prototype.serializeBinary = function() {
|
|
22175
|
+
var writer = new jspb.BinaryWriter();
|
|
22176
|
+
proto.lansweeper.multitenant.v1.IsCustomFieldsFederationEnabledRequest.serializeBinaryToWriter(this, writer);
|
|
22177
|
+
return writer.getResultBuffer();
|
|
22178
|
+
};
|
|
22179
|
+
|
|
22180
|
+
|
|
22181
|
+
/**
|
|
22182
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
22183
|
+
* format), writing to the given BinaryWriter.
|
|
22184
|
+
* @param {!proto.lansweeper.multitenant.v1.IsCustomFieldsFederationEnabledRequest} message
|
|
22185
|
+
* @param {!jspb.BinaryWriter} writer
|
|
22186
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
22187
|
+
*/
|
|
22188
|
+
proto.lansweeper.multitenant.v1.IsCustomFieldsFederationEnabledRequest.serializeBinaryToWriter = function(message, writer) {
|
|
22189
|
+
var f = undefined;
|
|
22190
|
+
f = message.getSiteId();
|
|
22191
|
+
if (f.length > 0) {
|
|
22192
|
+
writer.writeString(
|
|
22193
|
+
1,
|
|
22194
|
+
f
|
|
22195
|
+
);
|
|
22196
|
+
}
|
|
22197
|
+
};
|
|
22198
|
+
|
|
22199
|
+
|
|
22200
|
+
/**
|
|
22201
|
+
* optional string site_id = 1;
|
|
22202
|
+
* @return {string}
|
|
22203
|
+
*/
|
|
22204
|
+
proto.lansweeper.multitenant.v1.IsCustomFieldsFederationEnabledRequest.prototype.getSiteId = function() {
|
|
22205
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
22206
|
+
};
|
|
22207
|
+
|
|
22208
|
+
|
|
22209
|
+
/**
|
|
22210
|
+
* @param {string} value
|
|
22211
|
+
* @return {!proto.lansweeper.multitenant.v1.IsCustomFieldsFederationEnabledRequest} returns this
|
|
22212
|
+
*/
|
|
22213
|
+
proto.lansweeper.multitenant.v1.IsCustomFieldsFederationEnabledRequest.prototype.setSiteId = function(value) {
|
|
22214
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
22215
|
+
};
|
|
22216
|
+
|
|
22217
|
+
|
|
22218
|
+
|
|
22219
|
+
|
|
22220
|
+
|
|
22221
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
22222
|
+
/**
|
|
22223
|
+
* Creates an object representation of this proto.
|
|
22224
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
22225
|
+
* Optional fields that are not set will be set to undefined.
|
|
22226
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
22227
|
+
* For the list of reserved names please see:
|
|
22228
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
22229
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
22230
|
+
* JSPB instance for transitional soy proto support:
|
|
22231
|
+
* http://goto/soy-param-migration
|
|
22232
|
+
* @return {!Object}
|
|
22233
|
+
*/
|
|
22234
|
+
proto.lansweeper.multitenant.v1.IsCustomFieldsFederationEnabledResponse.prototype.toObject = function(opt_includeInstance) {
|
|
22235
|
+
return proto.lansweeper.multitenant.v1.IsCustomFieldsFederationEnabledResponse.toObject(opt_includeInstance, this);
|
|
22236
|
+
};
|
|
22237
|
+
|
|
22238
|
+
|
|
22239
|
+
/**
|
|
22240
|
+
* Static version of the {@see toObject} method.
|
|
22241
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
22242
|
+
* the JSPB instance for transitional soy proto support:
|
|
22243
|
+
* http://goto/soy-param-migration
|
|
22244
|
+
* @param {!proto.lansweeper.multitenant.v1.IsCustomFieldsFederationEnabledResponse} msg The msg instance to transform.
|
|
22245
|
+
* @return {!Object}
|
|
22246
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
22247
|
+
*/
|
|
22248
|
+
proto.lansweeper.multitenant.v1.IsCustomFieldsFederationEnabledResponse.toObject = function(includeInstance, msg) {
|
|
22249
|
+
var f, obj = {
|
|
22250
|
+
isEnabled: jspb.Message.getBooleanFieldWithDefault(msg, 1, false)
|
|
22251
|
+
};
|
|
22252
|
+
|
|
22253
|
+
if (includeInstance) {
|
|
22254
|
+
obj.$jspbMessageInstance = msg;
|
|
22255
|
+
}
|
|
22256
|
+
return obj;
|
|
22257
|
+
};
|
|
22258
|
+
}
|
|
22259
|
+
|
|
22260
|
+
|
|
22261
|
+
/**
|
|
22262
|
+
* Deserializes binary data (in protobuf wire format).
|
|
22263
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
22264
|
+
* @return {!proto.lansweeper.multitenant.v1.IsCustomFieldsFederationEnabledResponse}
|
|
22265
|
+
*/
|
|
22266
|
+
proto.lansweeper.multitenant.v1.IsCustomFieldsFederationEnabledResponse.deserializeBinary = function(bytes) {
|
|
22267
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
22268
|
+
var msg = new proto.lansweeper.multitenant.v1.IsCustomFieldsFederationEnabledResponse;
|
|
22269
|
+
return proto.lansweeper.multitenant.v1.IsCustomFieldsFederationEnabledResponse.deserializeBinaryFromReader(msg, reader);
|
|
22270
|
+
};
|
|
22271
|
+
|
|
22272
|
+
|
|
22273
|
+
/**
|
|
22274
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
22275
|
+
* given reader into the given message object.
|
|
22276
|
+
* @param {!proto.lansweeper.multitenant.v1.IsCustomFieldsFederationEnabledResponse} msg The message object to deserialize into.
|
|
22277
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
22278
|
+
* @return {!proto.lansweeper.multitenant.v1.IsCustomFieldsFederationEnabledResponse}
|
|
22279
|
+
*/
|
|
22280
|
+
proto.lansweeper.multitenant.v1.IsCustomFieldsFederationEnabledResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
22281
|
+
while (reader.nextField()) {
|
|
22282
|
+
if (reader.isEndGroup()) {
|
|
22283
|
+
break;
|
|
22284
|
+
}
|
|
22285
|
+
var field = reader.getFieldNumber();
|
|
22286
|
+
switch (field) {
|
|
22287
|
+
case 1:
|
|
22288
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
22289
|
+
msg.setIsEnabled(value);
|
|
22290
|
+
break;
|
|
22291
|
+
default:
|
|
22292
|
+
reader.skipField();
|
|
22293
|
+
break;
|
|
22294
|
+
}
|
|
22295
|
+
}
|
|
22296
|
+
return msg;
|
|
22297
|
+
};
|
|
22298
|
+
|
|
22299
|
+
|
|
22300
|
+
/**
|
|
22301
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
22302
|
+
* @return {!Uint8Array}
|
|
22303
|
+
*/
|
|
22304
|
+
proto.lansweeper.multitenant.v1.IsCustomFieldsFederationEnabledResponse.prototype.serializeBinary = function() {
|
|
22305
|
+
var writer = new jspb.BinaryWriter();
|
|
22306
|
+
proto.lansweeper.multitenant.v1.IsCustomFieldsFederationEnabledResponse.serializeBinaryToWriter(this, writer);
|
|
22307
|
+
return writer.getResultBuffer();
|
|
22308
|
+
};
|
|
22309
|
+
|
|
22310
|
+
|
|
22311
|
+
/**
|
|
22312
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
22313
|
+
* format), writing to the given BinaryWriter.
|
|
22314
|
+
* @param {!proto.lansweeper.multitenant.v1.IsCustomFieldsFederationEnabledResponse} message
|
|
22315
|
+
* @param {!jspb.BinaryWriter} writer
|
|
22316
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
22317
|
+
*/
|
|
22318
|
+
proto.lansweeper.multitenant.v1.IsCustomFieldsFederationEnabledResponse.serializeBinaryToWriter = function(message, writer) {
|
|
22319
|
+
var f = undefined;
|
|
22320
|
+
f = message.getIsEnabled();
|
|
22321
|
+
if (f) {
|
|
22322
|
+
writer.writeBool(
|
|
22323
|
+
1,
|
|
22324
|
+
f
|
|
22325
|
+
);
|
|
22326
|
+
}
|
|
22327
|
+
};
|
|
22328
|
+
|
|
22329
|
+
|
|
22330
|
+
/**
|
|
22331
|
+
* optional bool is_enabled = 1;
|
|
22332
|
+
* @return {boolean}
|
|
22333
|
+
*/
|
|
22334
|
+
proto.lansweeper.multitenant.v1.IsCustomFieldsFederationEnabledResponse.prototype.getIsEnabled = function() {
|
|
22335
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
|
|
22336
|
+
};
|
|
22337
|
+
|
|
22338
|
+
|
|
22339
|
+
/**
|
|
22340
|
+
* @param {boolean} value
|
|
22341
|
+
* @return {!proto.lansweeper.multitenant.v1.IsCustomFieldsFederationEnabledResponse} returns this
|
|
22342
|
+
*/
|
|
22343
|
+
proto.lansweeper.multitenant.v1.IsCustomFieldsFederationEnabledResponse.prototype.setIsEnabled = function(value) {
|
|
22344
|
+
return jspb.Message.setProto3BooleanField(this, 1, value);
|
|
22345
|
+
};
|
|
22346
|
+
|
|
22347
|
+
|
|
22044
22348
|
/**
|
|
22045
22349
|
* @enum {number}
|
|
22046
22350
|
*/
|