@lansweeper/multitenant-api-grpc 0.4.82 → 0.4.83

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.
@@ -62,6 +62,7 @@ interface IMultitenantService extends grpc.ServiceDefinition<grpc.UntypedService
62
62
  createOwnerPersonalAccessToken: IMultitenantService_ICreateOwnerPersonalAccessToken;
63
63
  getInstallationSettings: IMultitenantService_IGetInstallationSettings;
64
64
  createFlowBuilderBotAccount: IMultitenantService_ICreateFlowBuilderBotAccount;
65
+ getManualInstallation: IMultitenantService_IGetManualInstallation;
65
66
  }
66
67
 
67
68
  interface IMultitenantService_ICheckAccessToSiteByAccountId extends grpc.MethodDefinition<multitenant_pb.CheckAccessToSiteByAccountIdRequest, multitenant_pb.CheckAccessToSiteByAccountIdResponse> {
@@ -532,6 +533,15 @@ interface IMultitenantService_ICreateFlowBuilderBotAccount extends grpc.MethodDe
532
533
  responseSerialize: grpc.serialize<multitenant_pb.CreateFlowBuilderBotAccountResponse>;
533
534
  responseDeserialize: grpc.deserialize<multitenant_pb.CreateFlowBuilderBotAccountResponse>;
534
535
  }
536
+ interface IMultitenantService_IGetManualInstallation extends grpc.MethodDefinition<multitenant_pb.GetManualInstallationRequest, multitenant_pb.GetManualInstallationResponse> {
537
+ path: "/lansweeper.multitenant.v1.Multitenant/GetManualInstallation";
538
+ requestStream: false;
539
+ responseStream: false;
540
+ requestSerialize: grpc.serialize<multitenant_pb.GetManualInstallationRequest>;
541
+ requestDeserialize: grpc.deserialize<multitenant_pb.GetManualInstallationRequest>;
542
+ responseSerialize: grpc.serialize<multitenant_pb.GetManualInstallationResponse>;
543
+ responseDeserialize: grpc.deserialize<multitenant_pb.GetManualInstallationResponse>;
544
+ }
535
545
 
536
546
  export const MultitenantService: IMultitenantService;
537
547
 
@@ -588,6 +598,7 @@ export interface IMultitenantServer extends grpc.UntypedServiceImplementation {
588
598
  createOwnerPersonalAccessToken: grpc.handleUnaryCall<multitenant_pb.CreateOwnerPersonalAccessTokenRequest, multitenant_pb.CreateOwnerPersonalAccessTokenResponse>;
589
599
  getInstallationSettings: grpc.handleUnaryCall<multitenant_pb.GetInstallationSettingsRequest, multitenant_pb.GetInstallationSettingsResponse>;
590
600
  createFlowBuilderBotAccount: grpc.handleUnaryCall<multitenant_pb.CreateFlowBuilderBotAccountRequest, multitenant_pb.CreateFlowBuilderBotAccountResponse>;
601
+ getManualInstallation: grpc.handleUnaryCall<multitenant_pb.GetManualInstallationRequest, multitenant_pb.GetManualInstallationResponse>;
591
602
  }
592
603
 
593
604
  export interface IMultitenantClient {
@@ -747,6 +758,9 @@ export interface IMultitenantClient {
747
758
  createFlowBuilderBotAccount(request: multitenant_pb.CreateFlowBuilderBotAccountRequest, callback: (error: grpc.ServiceError | null, response: multitenant_pb.CreateFlowBuilderBotAccountResponse) => void): grpc.ClientUnaryCall;
748
759
  createFlowBuilderBotAccount(request: multitenant_pb.CreateFlowBuilderBotAccountRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: multitenant_pb.CreateFlowBuilderBotAccountResponse) => void): grpc.ClientUnaryCall;
749
760
  createFlowBuilderBotAccount(request: multitenant_pb.CreateFlowBuilderBotAccountRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: multitenant_pb.CreateFlowBuilderBotAccountResponse) => void): grpc.ClientUnaryCall;
761
+ getManualInstallation(request: multitenant_pb.GetManualInstallationRequest, callback: (error: grpc.ServiceError | null, response: multitenant_pb.GetManualInstallationResponse) => void): grpc.ClientUnaryCall;
762
+ getManualInstallation(request: multitenant_pb.GetManualInstallationRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: multitenant_pb.GetManualInstallationResponse) => void): grpc.ClientUnaryCall;
763
+ getManualInstallation(request: multitenant_pb.GetManualInstallationRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: multitenant_pb.GetManualInstallationResponse) => void): grpc.ClientUnaryCall;
750
764
  }
751
765
 
752
766
  export class MultitenantClient extends grpc.Client implements IMultitenantClient {
@@ -907,4 +921,7 @@ export class MultitenantClient extends grpc.Client implements IMultitenantClient
907
921
  public createFlowBuilderBotAccount(request: multitenant_pb.CreateFlowBuilderBotAccountRequest, callback: (error: grpc.ServiceError | null, response: multitenant_pb.CreateFlowBuilderBotAccountResponse) => void): grpc.ClientUnaryCall;
908
922
  public createFlowBuilderBotAccount(request: multitenant_pb.CreateFlowBuilderBotAccountRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: multitenant_pb.CreateFlowBuilderBotAccountResponse) => void): grpc.ClientUnaryCall;
909
923
  public createFlowBuilderBotAccount(request: multitenant_pb.CreateFlowBuilderBotAccountRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: multitenant_pb.CreateFlowBuilderBotAccountResponse) => void): grpc.ClientUnaryCall;
924
+ public getManualInstallation(request: multitenant_pb.GetManualInstallationRequest, callback: (error: grpc.ServiceError | null, response: multitenant_pb.GetManualInstallationResponse) => void): grpc.ClientUnaryCall;
925
+ public getManualInstallation(request: multitenant_pb.GetManualInstallationRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: multitenant_pb.GetManualInstallationResponse) => void): grpc.ClientUnaryCall;
926
+ public getManualInstallation(request: multitenant_pb.GetManualInstallationRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: multitenant_pb.GetManualInstallationResponse) => void): grpc.ClientUnaryCall;
910
927
  }
@@ -545,6 +545,28 @@ function deserialize_lansweeper_multitenant_v1_GetInstallsForMultipleSitesRespon
545
545
  return multitenant_pb.GetInstallsForMultipleSitesResponse.deserializeBinary(new Uint8Array(buffer_arg));
546
546
  }
547
547
 
548
+ function serialize_lansweeper_multitenant_v1_GetManualInstallationRequest(arg) {
549
+ if (!(arg instanceof multitenant_pb.GetManualInstallationRequest)) {
550
+ throw new Error('Expected argument of type lansweeper.multitenant.v1.GetManualInstallationRequest');
551
+ }
552
+ return Buffer.from(arg.serializeBinary());
553
+ }
554
+
555
+ function deserialize_lansweeper_multitenant_v1_GetManualInstallationRequest(buffer_arg) {
556
+ return multitenant_pb.GetManualInstallationRequest.deserializeBinary(new Uint8Array(buffer_arg));
557
+ }
558
+
559
+ function serialize_lansweeper_multitenant_v1_GetManualInstallationResponse(arg) {
560
+ if (!(arg instanceof multitenant_pb.GetManualInstallationResponse)) {
561
+ throw new Error('Expected argument of type lansweeper.multitenant.v1.GetManualInstallationResponse');
562
+ }
563
+ return Buffer.from(arg.serializeBinary());
564
+ }
565
+
566
+ function deserialize_lansweeper_multitenant_v1_GetManualInstallationResponse(buffer_arg) {
567
+ return multitenant_pb.GetManualInstallationResponse.deserializeBinary(new Uint8Array(buffer_arg));
568
+ }
569
+
548
570
  function serialize_lansweeper_multitenant_v1_GetMsmpOrganizationAccountRequest(arg) {
549
571
  if (!(arg instanceof multitenant_pb.GetMsmpOrganizationAccountRequest)) {
550
572
  throw new Error('Expected argument of type lansweeper.multitenant.v1.GetMsmpOrganizationAccountRequest');
@@ -1713,6 +1735,17 @@ var MultitenantService = exports.MultitenantService = {
1713
1735
  responseSerialize: serialize_lansweeper_multitenant_v1_CreateFlowBuilderBotAccountResponse,
1714
1736
  responseDeserialize: deserialize_lansweeper_multitenant_v1_CreateFlowBuilderBotAccountResponse,
1715
1737
  },
1738
+ getManualInstallation: {
1739
+ path: '/lansweeper.multitenant.v1.Multitenant/GetManualInstallation',
1740
+ requestStream: false,
1741
+ responseStream: false,
1742
+ requestType: multitenant_pb.GetManualInstallationRequest,
1743
+ responseType: multitenant_pb.GetManualInstallationResponse,
1744
+ requestSerialize: serialize_lansweeper_multitenant_v1_GetManualInstallationRequest,
1745
+ requestDeserialize: deserialize_lansweeper_multitenant_v1_GetManualInstallationRequest,
1746
+ responseSerialize: serialize_lansweeper_multitenant_v1_GetManualInstallationResponse,
1747
+ responseDeserialize: deserialize_lansweeper_multitenant_v1_GetManualInstallationResponse,
1748
+ },
1716
1749
  };
1717
1750
 
1718
1751
  exports.MultitenantClient = grpc.makeGenericClientConstructor(MultitenantService);
@@ -3347,6 +3347,52 @@ export namespace CreateFlowBuilderBotAccountResponse {
3347
3347
  }
3348
3348
  }
3349
3349
 
3350
+ export class GetManualInstallationRequest extends jspb.Message {
3351
+ getSiteId(): string;
3352
+ setSiteId(value: string): GetManualInstallationRequest;
3353
+
3354
+ hasUserId(): boolean;
3355
+ clearUserId(): void;
3356
+ getUserId(): string | undefined;
3357
+ setUserId(value: string): GetManualInstallationRequest;
3358
+
3359
+ serializeBinary(): Uint8Array;
3360
+ toObject(includeInstance?: boolean): GetManualInstallationRequest.AsObject;
3361
+ static toObject(includeInstance: boolean, msg: GetManualInstallationRequest): GetManualInstallationRequest.AsObject;
3362
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
3363
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
3364
+ static serializeBinaryToWriter(message: GetManualInstallationRequest, writer: jspb.BinaryWriter): void;
3365
+ static deserializeBinary(bytes: Uint8Array): GetManualInstallationRequest;
3366
+ static deserializeBinaryFromReader(message: GetManualInstallationRequest, reader: jspb.BinaryReader): GetManualInstallationRequest;
3367
+ }
3368
+
3369
+ export namespace GetManualInstallationRequest {
3370
+ export type AsObject = {
3371
+ siteId: string,
3372
+ userId?: string,
3373
+ }
3374
+ }
3375
+
3376
+ export class GetManualInstallationResponse extends jspb.Message {
3377
+ getManualInstallId(): string;
3378
+ setManualInstallId(value: string): GetManualInstallationResponse;
3379
+
3380
+ serializeBinary(): Uint8Array;
3381
+ toObject(includeInstance?: boolean): GetManualInstallationResponse.AsObject;
3382
+ static toObject(includeInstance: boolean, msg: GetManualInstallationResponse): GetManualInstallationResponse.AsObject;
3383
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
3384
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
3385
+ static serializeBinaryToWriter(message: GetManualInstallationResponse, writer: jspb.BinaryWriter): void;
3386
+ static deserializeBinary(bytes: Uint8Array): GetManualInstallationResponse;
3387
+ static deserializeBinaryFromReader(message: GetManualInstallationResponse, reader: jspb.BinaryReader): GetManualInstallationResponse;
3388
+ }
3389
+
3390
+ export namespace GetManualInstallationResponse {
3391
+ export type AsObject = {
3392
+ manualInstallId: string,
3393
+ }
3394
+ }
3395
+
3350
3396
  export enum SiteMode {
3351
3397
  UNESPECIFIED = 0,
3352
3398
  CLOUD_NATIVE = 1,
@@ -76,6 +76,8 @@ goog.exportSymbol('proto.lansweeper.multitenant.v1.GetInstallsCountBySiteRequest
76
76
  goog.exportSymbol('proto.lansweeper.multitenant.v1.GetInstallsCountResponse', null, global);
77
77
  goog.exportSymbol('proto.lansweeper.multitenant.v1.GetInstallsForMultipleSitesRequest', null, global);
78
78
  goog.exportSymbol('proto.lansweeper.multitenant.v1.GetInstallsForMultipleSitesResponse', null, global);
79
+ goog.exportSymbol('proto.lansweeper.multitenant.v1.GetManualInstallationRequest', null, global);
80
+ goog.exportSymbol('proto.lansweeper.multitenant.v1.GetManualInstallationResponse', null, global);
79
81
  goog.exportSymbol('proto.lansweeper.multitenant.v1.GetMsmpOrganizationAccountRequest', null, global);
80
82
  goog.exportSymbol('proto.lansweeper.multitenant.v1.GetMsmpOrganizationAccountResponse', null, global);
81
83
  goog.exportSymbol('proto.lansweeper.multitenant.v1.GetMsmpOrganizationListRequest', null, global);
@@ -2913,6 +2915,48 @@ if (goog.DEBUG && !COMPILED) {
2913
2915
  */
2914
2916
  proto.lansweeper.multitenant.v1.CreateFlowBuilderBotAccountResponse.displayName = 'proto.lansweeper.multitenant.v1.CreateFlowBuilderBotAccountResponse';
2915
2917
  }
2918
+ /**
2919
+ * Generated by JsPbCodeGenerator.
2920
+ * @param {Array=} opt_data Optional initial data array, typically from a
2921
+ * server response, or constructed directly in Javascript. The array is used
2922
+ * in place and becomes part of the constructed object. It is not cloned.
2923
+ * If no data is provided, the constructed object will be empty, but still
2924
+ * valid.
2925
+ * @extends {jspb.Message}
2926
+ * @constructor
2927
+ */
2928
+ proto.lansweeper.multitenant.v1.GetManualInstallationRequest = function(opt_data) {
2929
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2930
+ };
2931
+ goog.inherits(proto.lansweeper.multitenant.v1.GetManualInstallationRequest, jspb.Message);
2932
+ if (goog.DEBUG && !COMPILED) {
2933
+ /**
2934
+ * @public
2935
+ * @override
2936
+ */
2937
+ proto.lansweeper.multitenant.v1.GetManualInstallationRequest.displayName = 'proto.lansweeper.multitenant.v1.GetManualInstallationRequest';
2938
+ }
2939
+ /**
2940
+ * Generated by JsPbCodeGenerator.
2941
+ * @param {Array=} opt_data Optional initial data array, typically from a
2942
+ * server response, or constructed directly in Javascript. The array is used
2943
+ * in place and becomes part of the constructed object. It is not cloned.
2944
+ * If no data is provided, the constructed object will be empty, but still
2945
+ * valid.
2946
+ * @extends {jspb.Message}
2947
+ * @constructor
2948
+ */
2949
+ proto.lansweeper.multitenant.v1.GetManualInstallationResponse = function(opt_data) {
2950
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2951
+ };
2952
+ goog.inherits(proto.lansweeper.multitenant.v1.GetManualInstallationResponse, jspb.Message);
2953
+ if (goog.DEBUG && !COMPILED) {
2954
+ /**
2955
+ * @public
2956
+ * @override
2957
+ */
2958
+ proto.lansweeper.multitenant.v1.GetManualInstallationResponse.displayName = 'proto.lansweeper.multitenant.v1.GetManualInstallationResponse';
2959
+ }
2916
2960
 
2917
2961
 
2918
2962
 
@@ -26750,6 +26794,314 @@ proto.lansweeper.multitenant.v1.CreateFlowBuilderBotAccountResponse.prototype.se
26750
26794
  };
26751
26795
 
26752
26796
 
26797
+
26798
+
26799
+
26800
+ if (jspb.Message.GENERATE_TO_OBJECT) {
26801
+ /**
26802
+ * Creates an object representation of this proto.
26803
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
26804
+ * Optional fields that are not set will be set to undefined.
26805
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
26806
+ * For the list of reserved names please see:
26807
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
26808
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
26809
+ * JSPB instance for transitional soy proto support:
26810
+ * http://goto/soy-param-migration
26811
+ * @return {!Object}
26812
+ */
26813
+ proto.lansweeper.multitenant.v1.GetManualInstallationRequest.prototype.toObject = function(opt_includeInstance) {
26814
+ return proto.lansweeper.multitenant.v1.GetManualInstallationRequest.toObject(opt_includeInstance, this);
26815
+ };
26816
+
26817
+
26818
+ /**
26819
+ * Static version of the {@see toObject} method.
26820
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
26821
+ * the JSPB instance for transitional soy proto support:
26822
+ * http://goto/soy-param-migration
26823
+ * @param {!proto.lansweeper.multitenant.v1.GetManualInstallationRequest} msg The msg instance to transform.
26824
+ * @return {!Object}
26825
+ * @suppress {unusedLocalVariables} f is only used for nested messages
26826
+ */
26827
+ proto.lansweeper.multitenant.v1.GetManualInstallationRequest.toObject = function(includeInstance, msg) {
26828
+ var f, obj = {
26829
+ siteId: jspb.Message.getFieldWithDefault(msg, 1, ""),
26830
+ userId: jspb.Message.getFieldWithDefault(msg, 2, "")
26831
+ };
26832
+
26833
+ if (includeInstance) {
26834
+ obj.$jspbMessageInstance = msg;
26835
+ }
26836
+ return obj;
26837
+ };
26838
+ }
26839
+
26840
+
26841
+ /**
26842
+ * Deserializes binary data (in protobuf wire format).
26843
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
26844
+ * @return {!proto.lansweeper.multitenant.v1.GetManualInstallationRequest}
26845
+ */
26846
+ proto.lansweeper.multitenant.v1.GetManualInstallationRequest.deserializeBinary = function(bytes) {
26847
+ var reader = new jspb.BinaryReader(bytes);
26848
+ var msg = new proto.lansweeper.multitenant.v1.GetManualInstallationRequest;
26849
+ return proto.lansweeper.multitenant.v1.GetManualInstallationRequest.deserializeBinaryFromReader(msg, reader);
26850
+ };
26851
+
26852
+
26853
+ /**
26854
+ * Deserializes binary data (in protobuf wire format) from the
26855
+ * given reader into the given message object.
26856
+ * @param {!proto.lansweeper.multitenant.v1.GetManualInstallationRequest} msg The message object to deserialize into.
26857
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
26858
+ * @return {!proto.lansweeper.multitenant.v1.GetManualInstallationRequest}
26859
+ */
26860
+ proto.lansweeper.multitenant.v1.GetManualInstallationRequest.deserializeBinaryFromReader = function(msg, reader) {
26861
+ while (reader.nextField()) {
26862
+ if (reader.isEndGroup()) {
26863
+ break;
26864
+ }
26865
+ var field = reader.getFieldNumber();
26866
+ switch (field) {
26867
+ case 1:
26868
+ var value = /** @type {string} */ (reader.readString());
26869
+ msg.setSiteId(value);
26870
+ break;
26871
+ case 2:
26872
+ var value = /** @type {string} */ (reader.readString());
26873
+ msg.setUserId(value);
26874
+ break;
26875
+ default:
26876
+ reader.skipField();
26877
+ break;
26878
+ }
26879
+ }
26880
+ return msg;
26881
+ };
26882
+
26883
+
26884
+ /**
26885
+ * Serializes the message to binary data (in protobuf wire format).
26886
+ * @return {!Uint8Array}
26887
+ */
26888
+ proto.lansweeper.multitenant.v1.GetManualInstallationRequest.prototype.serializeBinary = function() {
26889
+ var writer = new jspb.BinaryWriter();
26890
+ proto.lansweeper.multitenant.v1.GetManualInstallationRequest.serializeBinaryToWriter(this, writer);
26891
+ return writer.getResultBuffer();
26892
+ };
26893
+
26894
+
26895
+ /**
26896
+ * Serializes the given message to binary data (in protobuf wire
26897
+ * format), writing to the given BinaryWriter.
26898
+ * @param {!proto.lansweeper.multitenant.v1.GetManualInstallationRequest} message
26899
+ * @param {!jspb.BinaryWriter} writer
26900
+ * @suppress {unusedLocalVariables} f is only used for nested messages
26901
+ */
26902
+ proto.lansweeper.multitenant.v1.GetManualInstallationRequest.serializeBinaryToWriter = function(message, writer) {
26903
+ var f = undefined;
26904
+ f = message.getSiteId();
26905
+ if (f.length > 0) {
26906
+ writer.writeString(
26907
+ 1,
26908
+ f
26909
+ );
26910
+ }
26911
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
26912
+ if (f != null) {
26913
+ writer.writeString(
26914
+ 2,
26915
+ f
26916
+ );
26917
+ }
26918
+ };
26919
+
26920
+
26921
+ /**
26922
+ * optional string site_id = 1;
26923
+ * @return {string}
26924
+ */
26925
+ proto.lansweeper.multitenant.v1.GetManualInstallationRequest.prototype.getSiteId = function() {
26926
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
26927
+ };
26928
+
26929
+
26930
+ /**
26931
+ * @param {string} value
26932
+ * @return {!proto.lansweeper.multitenant.v1.GetManualInstallationRequest} returns this
26933
+ */
26934
+ proto.lansweeper.multitenant.v1.GetManualInstallationRequest.prototype.setSiteId = function(value) {
26935
+ return jspb.Message.setProto3StringField(this, 1, value);
26936
+ };
26937
+
26938
+
26939
+ /**
26940
+ * optional string user_id = 2;
26941
+ * @return {string}
26942
+ */
26943
+ proto.lansweeper.multitenant.v1.GetManualInstallationRequest.prototype.getUserId = function() {
26944
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
26945
+ };
26946
+
26947
+
26948
+ /**
26949
+ * @param {string} value
26950
+ * @return {!proto.lansweeper.multitenant.v1.GetManualInstallationRequest} returns this
26951
+ */
26952
+ proto.lansweeper.multitenant.v1.GetManualInstallationRequest.prototype.setUserId = function(value) {
26953
+ return jspb.Message.setField(this, 2, value);
26954
+ };
26955
+
26956
+
26957
+ /**
26958
+ * Clears the field making it undefined.
26959
+ * @return {!proto.lansweeper.multitenant.v1.GetManualInstallationRequest} returns this
26960
+ */
26961
+ proto.lansweeper.multitenant.v1.GetManualInstallationRequest.prototype.clearUserId = function() {
26962
+ return jspb.Message.setField(this, 2, undefined);
26963
+ };
26964
+
26965
+
26966
+ /**
26967
+ * Returns whether this field is set.
26968
+ * @return {boolean}
26969
+ */
26970
+ proto.lansweeper.multitenant.v1.GetManualInstallationRequest.prototype.hasUserId = function() {
26971
+ return jspb.Message.getField(this, 2) != null;
26972
+ };
26973
+
26974
+
26975
+
26976
+
26977
+
26978
+ if (jspb.Message.GENERATE_TO_OBJECT) {
26979
+ /**
26980
+ * Creates an object representation of this proto.
26981
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
26982
+ * Optional fields that are not set will be set to undefined.
26983
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
26984
+ * For the list of reserved names please see:
26985
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
26986
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
26987
+ * JSPB instance for transitional soy proto support:
26988
+ * http://goto/soy-param-migration
26989
+ * @return {!Object}
26990
+ */
26991
+ proto.lansweeper.multitenant.v1.GetManualInstallationResponse.prototype.toObject = function(opt_includeInstance) {
26992
+ return proto.lansweeper.multitenant.v1.GetManualInstallationResponse.toObject(opt_includeInstance, this);
26993
+ };
26994
+
26995
+
26996
+ /**
26997
+ * Static version of the {@see toObject} method.
26998
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
26999
+ * the JSPB instance for transitional soy proto support:
27000
+ * http://goto/soy-param-migration
27001
+ * @param {!proto.lansweeper.multitenant.v1.GetManualInstallationResponse} msg The msg instance to transform.
27002
+ * @return {!Object}
27003
+ * @suppress {unusedLocalVariables} f is only used for nested messages
27004
+ */
27005
+ proto.lansweeper.multitenant.v1.GetManualInstallationResponse.toObject = function(includeInstance, msg) {
27006
+ var f, obj = {
27007
+ manualInstallId: jspb.Message.getFieldWithDefault(msg, 1, "")
27008
+ };
27009
+
27010
+ if (includeInstance) {
27011
+ obj.$jspbMessageInstance = msg;
27012
+ }
27013
+ return obj;
27014
+ };
27015
+ }
27016
+
27017
+
27018
+ /**
27019
+ * Deserializes binary data (in protobuf wire format).
27020
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
27021
+ * @return {!proto.lansweeper.multitenant.v1.GetManualInstallationResponse}
27022
+ */
27023
+ proto.lansweeper.multitenant.v1.GetManualInstallationResponse.deserializeBinary = function(bytes) {
27024
+ var reader = new jspb.BinaryReader(bytes);
27025
+ var msg = new proto.lansweeper.multitenant.v1.GetManualInstallationResponse;
27026
+ return proto.lansweeper.multitenant.v1.GetManualInstallationResponse.deserializeBinaryFromReader(msg, reader);
27027
+ };
27028
+
27029
+
27030
+ /**
27031
+ * Deserializes binary data (in protobuf wire format) from the
27032
+ * given reader into the given message object.
27033
+ * @param {!proto.lansweeper.multitenant.v1.GetManualInstallationResponse} msg The message object to deserialize into.
27034
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
27035
+ * @return {!proto.lansweeper.multitenant.v1.GetManualInstallationResponse}
27036
+ */
27037
+ proto.lansweeper.multitenant.v1.GetManualInstallationResponse.deserializeBinaryFromReader = function(msg, reader) {
27038
+ while (reader.nextField()) {
27039
+ if (reader.isEndGroup()) {
27040
+ break;
27041
+ }
27042
+ var field = reader.getFieldNumber();
27043
+ switch (field) {
27044
+ case 1:
27045
+ var value = /** @type {string} */ (reader.readString());
27046
+ msg.setManualInstallId(value);
27047
+ break;
27048
+ default:
27049
+ reader.skipField();
27050
+ break;
27051
+ }
27052
+ }
27053
+ return msg;
27054
+ };
27055
+
27056
+
27057
+ /**
27058
+ * Serializes the message to binary data (in protobuf wire format).
27059
+ * @return {!Uint8Array}
27060
+ */
27061
+ proto.lansweeper.multitenant.v1.GetManualInstallationResponse.prototype.serializeBinary = function() {
27062
+ var writer = new jspb.BinaryWriter();
27063
+ proto.lansweeper.multitenant.v1.GetManualInstallationResponse.serializeBinaryToWriter(this, writer);
27064
+ return writer.getResultBuffer();
27065
+ };
27066
+
27067
+
27068
+ /**
27069
+ * Serializes the given message to binary data (in protobuf wire
27070
+ * format), writing to the given BinaryWriter.
27071
+ * @param {!proto.lansweeper.multitenant.v1.GetManualInstallationResponse} message
27072
+ * @param {!jspb.BinaryWriter} writer
27073
+ * @suppress {unusedLocalVariables} f is only used for nested messages
27074
+ */
27075
+ proto.lansweeper.multitenant.v1.GetManualInstallationResponse.serializeBinaryToWriter = function(message, writer) {
27076
+ var f = undefined;
27077
+ f = message.getManualInstallId();
27078
+ if (f.length > 0) {
27079
+ writer.writeString(
27080
+ 1,
27081
+ f
27082
+ );
27083
+ }
27084
+ };
27085
+
27086
+
27087
+ /**
27088
+ * optional string manual_install_id = 1;
27089
+ * @return {string}
27090
+ */
27091
+ proto.lansweeper.multitenant.v1.GetManualInstallationResponse.prototype.getManualInstallId = function() {
27092
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
27093
+ };
27094
+
27095
+
27096
+ /**
27097
+ * @param {string} value
27098
+ * @return {!proto.lansweeper.multitenant.v1.GetManualInstallationResponse} returns this
27099
+ */
27100
+ proto.lansweeper.multitenant.v1.GetManualInstallationResponse.prototype.setManualInstallId = function(value) {
27101
+ return jspb.Message.setProto3StringField(this, 1, value);
27102
+ };
27103
+
27104
+
26753
27105
  /**
26754
27106
  * @enum {number}
26755
27107
  */