@lansweeper/data-platform-outbound-grpc 0.1.75 → 0.1.76

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.
@@ -632,6 +632,10 @@ export class Computer extends jspb.Message {
632
632
  getSharedResourceList(): Array<SharedResource>;
633
633
  setSharedResourceList(value: Array<SharedResource>): Computer;
634
634
  addSharedResource(value?: SharedResource, index?: number): SharedResource;
635
+ clearSharedPermissionList(): void;
636
+ getSharedPermissionList(): Array<SharedPermission>;
637
+ setSharedPermissionList(value: Array<SharedPermission>): Computer;
638
+ addSharedPermission(value?: SharedPermission, index?: number): SharedPermission;
635
639
 
636
640
  hasInternetExplorer(): boolean;
637
641
  clearInternetExplorer(): void;
@@ -724,6 +728,7 @@ export namespace Computer {
724
728
  driverList: Array<Driver.AsObject>,
725
729
  runningProcessList: Array<RunningProcess.AsObject>,
726
730
  sharedResourceList: Array<SharedResource.AsObject>,
731
+ sharedPermissionList: Array<SharedPermission.AsObject>,
727
732
  internetExplorer?: InternetExplorer.AsObject,
728
733
  windowsSqlServer?: WindowsSqlServer.AsObject,
729
734
  windowsNetworkClientList: Array<ComputerWindowsNetworkClient.AsObject>,
@@ -4163,6 +4168,59 @@ export namespace SharedResource {
4163
4168
  }
4164
4169
  }
4165
4170
 
4171
+ export class SharedPermission extends jspb.Message {
4172
+
4173
+ hasName(): boolean;
4174
+ clearName(): void;
4175
+ getName(): string | undefined;
4176
+ setName(value: string): SharedPermission;
4177
+
4178
+ hasTrustee(): boolean;
4179
+ clearTrustee(): void;
4180
+ getTrustee(): string | undefined;
4181
+ setTrustee(value: string): SharedPermission;
4182
+
4183
+ hasReadAccess(): boolean;
4184
+ clearReadAccess(): void;
4185
+ getReadAccess(): boolean | undefined;
4186
+ setReadAccess(value: boolean): SharedPermission;
4187
+
4188
+ hasWriteAccess(): boolean;
4189
+ clearWriteAccess(): void;
4190
+ getWriteAccess(): boolean | undefined;
4191
+ setWriteAccess(value: boolean): SharedPermission;
4192
+
4193
+ hasFullAccess(): boolean;
4194
+ clearFullAccess(): void;
4195
+ getFullAccess(): boolean | undefined;
4196
+ setFullAccess(value: boolean): SharedPermission;
4197
+
4198
+ hasDenyAccess(): boolean;
4199
+ clearDenyAccess(): void;
4200
+ getDenyAccess(): string | undefined;
4201
+ setDenyAccess(value: string): SharedPermission;
4202
+
4203
+ serializeBinary(): Uint8Array;
4204
+ toObject(includeInstance?: boolean): SharedPermission.AsObject;
4205
+ static toObject(includeInstance: boolean, msg: SharedPermission): SharedPermission.AsObject;
4206
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
4207
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
4208
+ static serializeBinaryToWriter(message: SharedPermission, writer: jspb.BinaryWriter): void;
4209
+ static deserializeBinary(bytes: Uint8Array): SharedPermission;
4210
+ static deserializeBinaryFromReader(message: SharedPermission, reader: jspb.BinaryReader): SharedPermission;
4211
+ }
4212
+
4213
+ export namespace SharedPermission {
4214
+ export type AsObject = {
4215
+ name?: string,
4216
+ trustee?: string,
4217
+ readAccess?: boolean,
4218
+ writeAccess?: boolean,
4219
+ fullAccess?: boolean,
4220
+ denyAccess?: string,
4221
+ }
4222
+ }
4223
+
4166
4224
  export class RunningProcess extends jspb.Message {
4167
4225
 
4168
4226
  hasName(): boolean;
@@ -128,6 +128,7 @@ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ScanError', null, global)
128
128
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ScannedPort', null, global);
129
129
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ScsiController', null, global);
130
130
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SerialPort', null, global);
131
+ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SharedPermission', null, global);
131
132
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SharedResource', null, global);
132
133
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.Software', null, global);
133
134
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SoftwareInventory', null, global);
@@ -1501,6 +1502,27 @@ if (goog.DEBUG && !COMPILED) {
1501
1502
  */
1502
1503
  proto.com.lansweeper.dp.outbound.v1.SharedResource.displayName = 'proto.com.lansweeper.dp.outbound.v1.SharedResource';
1503
1504
  }
1505
+ /**
1506
+ * Generated by JsPbCodeGenerator.
1507
+ * @param {Array=} opt_data Optional initial data array, typically from a
1508
+ * server response, or constructed directly in Javascript. The array is used
1509
+ * in place and becomes part of the constructed object. It is not cloned.
1510
+ * If no data is provided, the constructed object will be empty, but still
1511
+ * valid.
1512
+ * @extends {jspb.Message}
1513
+ * @constructor
1514
+ */
1515
+ proto.com.lansweeper.dp.outbound.v1.SharedPermission = function(opt_data) {
1516
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1517
+ };
1518
+ goog.inherits(proto.com.lansweeper.dp.outbound.v1.SharedPermission, jspb.Message);
1519
+ if (goog.DEBUG && !COMPILED) {
1520
+ /**
1521
+ * @public
1522
+ * @override
1523
+ */
1524
+ proto.com.lansweeper.dp.outbound.v1.SharedPermission.displayName = 'proto.com.lansweeper.dp.outbound.v1.SharedPermission';
1525
+ }
1504
1526
  /**
1505
1527
  * Generated by JsPbCodeGenerator.
1506
1528
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -6140,7 +6162,7 @@ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.hasCloud = function() {
6140
6162
  * @private {!Array<number>}
6141
6163
  * @const
6142
6164
  */
6143
- proto.com.lansweeper.dp.outbound.v1.Computer.repeatedFields_ = [3,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,102,103,105,202,203,205,206,207,210,211,302,303,304];
6165
+ proto.com.lansweeper.dp.outbound.v1.Computer.repeatedFields_ = [3,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,102,103,105,202,203,205,206,207,212,210,211,302,303,304];
6144
6166
 
6145
6167
 
6146
6168
 
@@ -6253,6 +6275,8 @@ proto.com.lansweeper.dp.outbound.v1.Computer.toObject = function(includeInstance
6253
6275
  proto.com.lansweeper.dp.outbound.v1.RunningProcess.toObject, includeInstance),
6254
6276
  sharedResourceList: jspb.Message.toObjectList(msg.getSharedResourceList(),
6255
6277
  proto.com.lansweeper.dp.outbound.v1.SharedResource.toObject, includeInstance),
6278
+ sharedPermissionList: jspb.Message.toObjectList(msg.getSharedPermissionList(),
6279
+ proto.com.lansweeper.dp.outbound.v1.SharedPermission.toObject, includeInstance),
6256
6280
  internetExplorer: (f = msg.getInternetExplorer()) && proto.com.lansweeper.dp.outbound.v1.InternetExplorer.toObject(includeInstance, f),
6257
6281
  windowsSqlServer: (f = msg.getWindowsSqlServer()) && proto.com.lansweeper.dp.outbound.v1.WindowsSqlServer.toObject(includeInstance, f),
6258
6282
  windowsNetworkClientList: jspb.Message.toObjectList(msg.getWindowsNetworkClientList(),
@@ -6522,6 +6546,11 @@ proto.com.lansweeper.dp.outbound.v1.Computer.deserializeBinaryFromReader = funct
6522
6546
  reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.SharedResource.deserializeBinaryFromReader);
6523
6547
  msg.addSharedResource(value);
6524
6548
  break;
6549
+ case 212:
6550
+ var value = new proto.com.lansweeper.dp.outbound.v1.SharedPermission;
6551
+ reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.SharedPermission.deserializeBinaryFromReader);
6552
+ msg.addSharedPermission(value);
6553
+ break;
6525
6554
  case 208:
6526
6555
  var value = new proto.com.lansweeper.dp.outbound.v1.InternetExplorer;
6527
6556
  reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.InternetExplorer.deserializeBinaryFromReader);
@@ -6943,6 +6972,14 @@ proto.com.lansweeper.dp.outbound.v1.Computer.serializeBinaryToWriter = function(
6943
6972
  proto.com.lansweeper.dp.outbound.v1.SharedResource.serializeBinaryToWriter
6944
6973
  );
6945
6974
  }
6975
+ f = message.getSharedPermissionList();
6976
+ if (f.length > 0) {
6977
+ writer.writeRepeatedMessage(
6978
+ 212,
6979
+ f,
6980
+ proto.com.lansweeper.dp.outbound.v1.SharedPermission.serializeBinaryToWriter
6981
+ );
6982
+ }
6946
6983
  f = message.getInternetExplorer();
6947
6984
  if (f != null) {
6948
6985
  writer.writeMessage(
@@ -8674,6 +8711,44 @@ proto.com.lansweeper.dp.outbound.v1.Computer.prototype.clearSharedResourceList =
8674
8711
  };
8675
8712
 
8676
8713
 
8714
+ /**
8715
+ * repeated SharedPermission shared_permission = 212;
8716
+ * @return {!Array<!proto.com.lansweeper.dp.outbound.v1.SharedPermission>}
8717
+ */
8718
+ proto.com.lansweeper.dp.outbound.v1.Computer.prototype.getSharedPermissionList = function() {
8719
+ return /** @type{!Array<!proto.com.lansweeper.dp.outbound.v1.SharedPermission>} */ (
8720
+ jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.dp.outbound.v1.SharedPermission, 212));
8721
+ };
8722
+
8723
+
8724
+ /**
8725
+ * @param {!Array<!proto.com.lansweeper.dp.outbound.v1.SharedPermission>} value
8726
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Computer} returns this
8727
+ */
8728
+ proto.com.lansweeper.dp.outbound.v1.Computer.prototype.setSharedPermissionList = function(value) {
8729
+ return jspb.Message.setRepeatedWrapperField(this, 212, value);
8730
+ };
8731
+
8732
+
8733
+ /**
8734
+ * @param {!proto.com.lansweeper.dp.outbound.v1.SharedPermission=} opt_value
8735
+ * @param {number=} opt_index
8736
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SharedPermission}
8737
+ */
8738
+ proto.com.lansweeper.dp.outbound.v1.Computer.prototype.addSharedPermission = function(opt_value, opt_index) {
8739
+ return jspb.Message.addToRepeatedWrapperField(this, 212, opt_value, proto.com.lansweeper.dp.outbound.v1.SharedPermission, opt_index);
8740
+ };
8741
+
8742
+
8743
+ /**
8744
+ * Clears the list making it empty but non-null.
8745
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Computer} returns this
8746
+ */
8747
+ proto.com.lansweeper.dp.outbound.v1.Computer.prototype.clearSharedPermissionList = function() {
8748
+ return this.setSharedPermissionList([]);
8749
+ };
8750
+
8751
+
8677
8752
  /**
8678
8753
  * optional InternetExplorer internet_explorer = 208;
8679
8754
  * @return {?proto.com.lansweeper.dp.outbound.v1.InternetExplorer}
@@ -34850,6 +34925,394 @@ proto.com.lansweeper.dp.outbound.v1.SharedResource.prototype.hasType = function(
34850
34925
 
34851
34926
 
34852
34927
 
34928
+ if (jspb.Message.GENERATE_TO_OBJECT) {
34929
+ /**
34930
+ * Creates an object representation of this proto.
34931
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
34932
+ * Optional fields that are not set will be set to undefined.
34933
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
34934
+ * For the list of reserved names please see:
34935
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
34936
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
34937
+ * JSPB instance for transitional soy proto support:
34938
+ * http://goto/soy-param-migration
34939
+ * @return {!Object}
34940
+ */
34941
+ proto.com.lansweeper.dp.outbound.v1.SharedPermission.prototype.toObject = function(opt_includeInstance) {
34942
+ return proto.com.lansweeper.dp.outbound.v1.SharedPermission.toObject(opt_includeInstance, this);
34943
+ };
34944
+
34945
+
34946
+ /**
34947
+ * Static version of the {@see toObject} method.
34948
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
34949
+ * the JSPB instance for transitional soy proto support:
34950
+ * http://goto/soy-param-migration
34951
+ * @param {!proto.com.lansweeper.dp.outbound.v1.SharedPermission} msg The msg instance to transform.
34952
+ * @return {!Object}
34953
+ * @suppress {unusedLocalVariables} f is only used for nested messages
34954
+ */
34955
+ proto.com.lansweeper.dp.outbound.v1.SharedPermission.toObject = function(includeInstance, msg) {
34956
+ var f, obj = {
34957
+ name: jspb.Message.getFieldWithDefault(msg, 1, ""),
34958
+ trustee: jspb.Message.getFieldWithDefault(msg, 2, ""),
34959
+ readAccess: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
34960
+ writeAccess: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
34961
+ fullAccess: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
34962
+ denyAccess: jspb.Message.getFieldWithDefault(msg, 6, "")
34963
+ };
34964
+
34965
+ if (includeInstance) {
34966
+ obj.$jspbMessageInstance = msg;
34967
+ }
34968
+ return obj;
34969
+ };
34970
+ }
34971
+
34972
+
34973
+ /**
34974
+ * Deserializes binary data (in protobuf wire format).
34975
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
34976
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SharedPermission}
34977
+ */
34978
+ proto.com.lansweeper.dp.outbound.v1.SharedPermission.deserializeBinary = function(bytes) {
34979
+ var reader = new jspb.BinaryReader(bytes);
34980
+ var msg = new proto.com.lansweeper.dp.outbound.v1.SharedPermission;
34981
+ return proto.com.lansweeper.dp.outbound.v1.SharedPermission.deserializeBinaryFromReader(msg, reader);
34982
+ };
34983
+
34984
+
34985
+ /**
34986
+ * Deserializes binary data (in protobuf wire format) from the
34987
+ * given reader into the given message object.
34988
+ * @param {!proto.com.lansweeper.dp.outbound.v1.SharedPermission} msg The message object to deserialize into.
34989
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
34990
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SharedPermission}
34991
+ */
34992
+ proto.com.lansweeper.dp.outbound.v1.SharedPermission.deserializeBinaryFromReader = function(msg, reader) {
34993
+ while (reader.nextField()) {
34994
+ if (reader.isEndGroup()) {
34995
+ break;
34996
+ }
34997
+ var field = reader.getFieldNumber();
34998
+ switch (field) {
34999
+ case 1:
35000
+ var value = /** @type {string} */ (reader.readString());
35001
+ msg.setName(value);
35002
+ break;
35003
+ case 2:
35004
+ var value = /** @type {string} */ (reader.readString());
35005
+ msg.setTrustee(value);
35006
+ break;
35007
+ case 3:
35008
+ var value = /** @type {boolean} */ (reader.readBool());
35009
+ msg.setReadAccess(value);
35010
+ break;
35011
+ case 4:
35012
+ var value = /** @type {boolean} */ (reader.readBool());
35013
+ msg.setWriteAccess(value);
35014
+ break;
35015
+ case 5:
35016
+ var value = /** @type {boolean} */ (reader.readBool());
35017
+ msg.setFullAccess(value);
35018
+ break;
35019
+ case 6:
35020
+ var value = /** @type {string} */ (reader.readString());
35021
+ msg.setDenyAccess(value);
35022
+ break;
35023
+ default:
35024
+ reader.skipField();
35025
+ break;
35026
+ }
35027
+ }
35028
+ return msg;
35029
+ };
35030
+
35031
+
35032
+ /**
35033
+ * Serializes the message to binary data (in protobuf wire format).
35034
+ * @return {!Uint8Array}
35035
+ */
35036
+ proto.com.lansweeper.dp.outbound.v1.SharedPermission.prototype.serializeBinary = function() {
35037
+ var writer = new jspb.BinaryWriter();
35038
+ proto.com.lansweeper.dp.outbound.v1.SharedPermission.serializeBinaryToWriter(this, writer);
35039
+ return writer.getResultBuffer();
35040
+ };
35041
+
35042
+
35043
+ /**
35044
+ * Serializes the given message to binary data (in protobuf wire
35045
+ * format), writing to the given BinaryWriter.
35046
+ * @param {!proto.com.lansweeper.dp.outbound.v1.SharedPermission} message
35047
+ * @param {!jspb.BinaryWriter} writer
35048
+ * @suppress {unusedLocalVariables} f is only used for nested messages
35049
+ */
35050
+ proto.com.lansweeper.dp.outbound.v1.SharedPermission.serializeBinaryToWriter = function(message, writer) {
35051
+ var f = undefined;
35052
+ f = /** @type {string} */ (jspb.Message.getField(message, 1));
35053
+ if (f != null) {
35054
+ writer.writeString(
35055
+ 1,
35056
+ f
35057
+ );
35058
+ }
35059
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
35060
+ if (f != null) {
35061
+ writer.writeString(
35062
+ 2,
35063
+ f
35064
+ );
35065
+ }
35066
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 3));
35067
+ if (f != null) {
35068
+ writer.writeBool(
35069
+ 3,
35070
+ f
35071
+ );
35072
+ }
35073
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 4));
35074
+ if (f != null) {
35075
+ writer.writeBool(
35076
+ 4,
35077
+ f
35078
+ );
35079
+ }
35080
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 5));
35081
+ if (f != null) {
35082
+ writer.writeBool(
35083
+ 5,
35084
+ f
35085
+ );
35086
+ }
35087
+ f = /** @type {string} */ (jspb.Message.getField(message, 6));
35088
+ if (f != null) {
35089
+ writer.writeString(
35090
+ 6,
35091
+ f
35092
+ );
35093
+ }
35094
+ };
35095
+
35096
+
35097
+ /**
35098
+ * optional string name = 1;
35099
+ * @return {string}
35100
+ */
35101
+ proto.com.lansweeper.dp.outbound.v1.SharedPermission.prototype.getName = function() {
35102
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
35103
+ };
35104
+
35105
+
35106
+ /**
35107
+ * @param {string} value
35108
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SharedPermission} returns this
35109
+ */
35110
+ proto.com.lansweeper.dp.outbound.v1.SharedPermission.prototype.setName = function(value) {
35111
+ return jspb.Message.setField(this, 1, value);
35112
+ };
35113
+
35114
+
35115
+ /**
35116
+ * Clears the field making it undefined.
35117
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SharedPermission} returns this
35118
+ */
35119
+ proto.com.lansweeper.dp.outbound.v1.SharedPermission.prototype.clearName = function() {
35120
+ return jspb.Message.setField(this, 1, undefined);
35121
+ };
35122
+
35123
+
35124
+ /**
35125
+ * Returns whether this field is set.
35126
+ * @return {boolean}
35127
+ */
35128
+ proto.com.lansweeper.dp.outbound.v1.SharedPermission.prototype.hasName = function() {
35129
+ return jspb.Message.getField(this, 1) != null;
35130
+ };
35131
+
35132
+
35133
+ /**
35134
+ * optional string trustee = 2;
35135
+ * @return {string}
35136
+ */
35137
+ proto.com.lansweeper.dp.outbound.v1.SharedPermission.prototype.getTrustee = function() {
35138
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
35139
+ };
35140
+
35141
+
35142
+ /**
35143
+ * @param {string} value
35144
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SharedPermission} returns this
35145
+ */
35146
+ proto.com.lansweeper.dp.outbound.v1.SharedPermission.prototype.setTrustee = function(value) {
35147
+ return jspb.Message.setField(this, 2, value);
35148
+ };
35149
+
35150
+
35151
+ /**
35152
+ * Clears the field making it undefined.
35153
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SharedPermission} returns this
35154
+ */
35155
+ proto.com.lansweeper.dp.outbound.v1.SharedPermission.prototype.clearTrustee = function() {
35156
+ return jspb.Message.setField(this, 2, undefined);
35157
+ };
35158
+
35159
+
35160
+ /**
35161
+ * Returns whether this field is set.
35162
+ * @return {boolean}
35163
+ */
35164
+ proto.com.lansweeper.dp.outbound.v1.SharedPermission.prototype.hasTrustee = function() {
35165
+ return jspb.Message.getField(this, 2) != null;
35166
+ };
35167
+
35168
+
35169
+ /**
35170
+ * optional bool read_access = 3;
35171
+ * @return {boolean}
35172
+ */
35173
+ proto.com.lansweeper.dp.outbound.v1.SharedPermission.prototype.getReadAccess = function() {
35174
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
35175
+ };
35176
+
35177
+
35178
+ /**
35179
+ * @param {boolean} value
35180
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SharedPermission} returns this
35181
+ */
35182
+ proto.com.lansweeper.dp.outbound.v1.SharedPermission.prototype.setReadAccess = function(value) {
35183
+ return jspb.Message.setField(this, 3, value);
35184
+ };
35185
+
35186
+
35187
+ /**
35188
+ * Clears the field making it undefined.
35189
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SharedPermission} returns this
35190
+ */
35191
+ proto.com.lansweeper.dp.outbound.v1.SharedPermission.prototype.clearReadAccess = function() {
35192
+ return jspb.Message.setField(this, 3, undefined);
35193
+ };
35194
+
35195
+
35196
+ /**
35197
+ * Returns whether this field is set.
35198
+ * @return {boolean}
35199
+ */
35200
+ proto.com.lansweeper.dp.outbound.v1.SharedPermission.prototype.hasReadAccess = function() {
35201
+ return jspb.Message.getField(this, 3) != null;
35202
+ };
35203
+
35204
+
35205
+ /**
35206
+ * optional bool write_access = 4;
35207
+ * @return {boolean}
35208
+ */
35209
+ proto.com.lansweeper.dp.outbound.v1.SharedPermission.prototype.getWriteAccess = function() {
35210
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
35211
+ };
35212
+
35213
+
35214
+ /**
35215
+ * @param {boolean} value
35216
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SharedPermission} returns this
35217
+ */
35218
+ proto.com.lansweeper.dp.outbound.v1.SharedPermission.prototype.setWriteAccess = function(value) {
35219
+ return jspb.Message.setField(this, 4, value);
35220
+ };
35221
+
35222
+
35223
+ /**
35224
+ * Clears the field making it undefined.
35225
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SharedPermission} returns this
35226
+ */
35227
+ proto.com.lansweeper.dp.outbound.v1.SharedPermission.prototype.clearWriteAccess = function() {
35228
+ return jspb.Message.setField(this, 4, undefined);
35229
+ };
35230
+
35231
+
35232
+ /**
35233
+ * Returns whether this field is set.
35234
+ * @return {boolean}
35235
+ */
35236
+ proto.com.lansweeper.dp.outbound.v1.SharedPermission.prototype.hasWriteAccess = function() {
35237
+ return jspb.Message.getField(this, 4) != null;
35238
+ };
35239
+
35240
+
35241
+ /**
35242
+ * optional bool full_access = 5;
35243
+ * @return {boolean}
35244
+ */
35245
+ proto.com.lansweeper.dp.outbound.v1.SharedPermission.prototype.getFullAccess = function() {
35246
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
35247
+ };
35248
+
35249
+
35250
+ /**
35251
+ * @param {boolean} value
35252
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SharedPermission} returns this
35253
+ */
35254
+ proto.com.lansweeper.dp.outbound.v1.SharedPermission.prototype.setFullAccess = function(value) {
35255
+ return jspb.Message.setField(this, 5, value);
35256
+ };
35257
+
35258
+
35259
+ /**
35260
+ * Clears the field making it undefined.
35261
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SharedPermission} returns this
35262
+ */
35263
+ proto.com.lansweeper.dp.outbound.v1.SharedPermission.prototype.clearFullAccess = function() {
35264
+ return jspb.Message.setField(this, 5, undefined);
35265
+ };
35266
+
35267
+
35268
+ /**
35269
+ * Returns whether this field is set.
35270
+ * @return {boolean}
35271
+ */
35272
+ proto.com.lansweeper.dp.outbound.v1.SharedPermission.prototype.hasFullAccess = function() {
35273
+ return jspb.Message.getField(this, 5) != null;
35274
+ };
35275
+
35276
+
35277
+ /**
35278
+ * optional string deny_access = 6;
35279
+ * @return {string}
35280
+ */
35281
+ proto.com.lansweeper.dp.outbound.v1.SharedPermission.prototype.getDenyAccess = function() {
35282
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
35283
+ };
35284
+
35285
+
35286
+ /**
35287
+ * @param {string} value
35288
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SharedPermission} returns this
35289
+ */
35290
+ proto.com.lansweeper.dp.outbound.v1.SharedPermission.prototype.setDenyAccess = function(value) {
35291
+ return jspb.Message.setField(this, 6, value);
35292
+ };
35293
+
35294
+
35295
+ /**
35296
+ * Clears the field making it undefined.
35297
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SharedPermission} returns this
35298
+ */
35299
+ proto.com.lansweeper.dp.outbound.v1.SharedPermission.prototype.clearDenyAccess = function() {
35300
+ return jspb.Message.setField(this, 6, undefined);
35301
+ };
35302
+
35303
+
35304
+ /**
35305
+ * Returns whether this field is set.
35306
+ * @return {boolean}
35307
+ */
35308
+ proto.com.lansweeper.dp.outbound.v1.SharedPermission.prototype.hasDenyAccess = function() {
35309
+ return jspb.Message.getField(this, 6) != null;
35310
+ };
35311
+
35312
+
35313
+
35314
+
35315
+
34853
35316
  if (jspb.Message.GENERATE_TO_OBJECT) {
34854
35317
  /**
34855
35318
  * Creates an object representation of this proto.