@lansweeper/blocking-rules-grpc 0.0.2 → 0.0.3
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.
|
@@ -104,34 +104,11 @@ export namespace DeleteBlockingRuleRequest {
|
|
|
104
104
|
}
|
|
105
105
|
}
|
|
106
106
|
|
|
107
|
-
export class BlockingRuleResponse extends jspb.Message {
|
|
108
|
-
|
|
109
|
-
hasBlockingRule(): boolean;
|
|
110
|
-
clearBlockingRule(): void;
|
|
111
|
-
getBlockingRule(): BlockingRule | undefined;
|
|
112
|
-
setBlockingRule(value?: BlockingRule): BlockingRuleResponse;
|
|
113
|
-
|
|
114
|
-
serializeBinary(): Uint8Array;
|
|
115
|
-
toObject(includeInstance?: boolean): BlockingRuleResponse.AsObject;
|
|
116
|
-
static toObject(includeInstance: boolean, msg: BlockingRuleResponse): BlockingRuleResponse.AsObject;
|
|
117
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
118
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
119
|
-
static serializeBinaryToWriter(message: BlockingRuleResponse, writer: jspb.BinaryWriter): void;
|
|
120
|
-
static deserializeBinary(bytes: Uint8Array): BlockingRuleResponse;
|
|
121
|
-
static deserializeBinaryFromReader(message: BlockingRuleResponse, reader: jspb.BinaryReader): BlockingRuleResponse;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
export namespace BlockingRuleResponse {
|
|
125
|
-
export type AsObject = {
|
|
126
|
-
blockingRule?: BlockingRule.AsObject,
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
|
|
130
107
|
export class GetBlockingRulesResponse extends jspb.Message {
|
|
131
108
|
clearBlockingRulesList(): void;
|
|
132
|
-
getBlockingRulesList(): Array<
|
|
133
|
-
setBlockingRulesList(value: Array<
|
|
134
|
-
addBlockingRules(value?:
|
|
109
|
+
getBlockingRulesList(): Array<BlockingRule>;
|
|
110
|
+
setBlockingRulesList(value: Array<BlockingRule>): GetBlockingRulesResponse;
|
|
111
|
+
addBlockingRules(value?: BlockingRule, index?: number): BlockingRule;
|
|
135
112
|
|
|
136
113
|
serializeBinary(): Uint8Array;
|
|
137
114
|
toObject(includeInstance?: boolean): GetBlockingRulesResponse.AsObject;
|
|
@@ -145,15 +122,15 @@ export class GetBlockingRulesResponse extends jspb.Message {
|
|
|
145
122
|
|
|
146
123
|
export namespace GetBlockingRulesResponse {
|
|
147
124
|
export type AsObject = {
|
|
148
|
-
blockingRulesList: Array<
|
|
125
|
+
blockingRulesList: Array<BlockingRule.AsObject>,
|
|
149
126
|
}
|
|
150
127
|
}
|
|
151
128
|
|
|
152
129
|
export class SetBlockingRuleResponse extends jspb.Message {
|
|
153
130
|
clearBlockingRulesList(): void;
|
|
154
|
-
getBlockingRulesList(): Array<
|
|
155
|
-
setBlockingRulesList(value: Array<
|
|
156
|
-
addBlockingRules(value?:
|
|
131
|
+
getBlockingRulesList(): Array<BlockingRule>;
|
|
132
|
+
setBlockingRulesList(value: Array<BlockingRule>): SetBlockingRuleResponse;
|
|
133
|
+
addBlockingRules(value?: BlockingRule, index?: number): BlockingRule;
|
|
157
134
|
|
|
158
135
|
serializeBinary(): Uint8Array;
|
|
159
136
|
toObject(includeInstance?: boolean): SetBlockingRuleResponse.AsObject;
|
|
@@ -167,7 +144,7 @@ export class SetBlockingRuleResponse extends jspb.Message {
|
|
|
167
144
|
|
|
168
145
|
export namespace SetBlockingRuleResponse {
|
|
169
146
|
export type AsObject = {
|
|
170
|
-
blockingRulesList: Array<
|
|
147
|
+
blockingRulesList: Array<BlockingRule.AsObject>,
|
|
171
148
|
}
|
|
172
149
|
}
|
|
173
150
|
|
|
@@ -16,7 +16,6 @@ var goog = jspb;
|
|
|
16
16
|
var global = Function('return this')();
|
|
17
17
|
|
|
18
18
|
goog.exportSymbol('proto.lansweeper.blockingrules.v1.BlockingRule', null, global);
|
|
19
|
-
goog.exportSymbol('proto.lansweeper.blockingrules.v1.BlockingRuleResponse', null, global);
|
|
20
19
|
goog.exportSymbol('proto.lansweeper.blockingrules.v1.DeleteBlockingRuleRequest', null, global);
|
|
21
20
|
goog.exportSymbol('proto.lansweeper.blockingrules.v1.DeleteBlockingRuleResponse', null, global);
|
|
22
21
|
goog.exportSymbol('proto.lansweeper.blockingrules.v1.GetBlockingRulesRequest', null, global);
|
|
@@ -107,27 +106,6 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
107
106
|
*/
|
|
108
107
|
proto.lansweeper.blockingrules.v1.DeleteBlockingRuleRequest.displayName = 'proto.lansweeper.blockingrules.v1.DeleteBlockingRuleRequest';
|
|
109
108
|
}
|
|
110
|
-
/**
|
|
111
|
-
* Generated by JsPbCodeGenerator.
|
|
112
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
113
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
114
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
115
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
116
|
-
* valid.
|
|
117
|
-
* @extends {jspb.Message}
|
|
118
|
-
* @constructor
|
|
119
|
-
*/
|
|
120
|
-
proto.lansweeper.blockingrules.v1.BlockingRuleResponse = function(opt_data) {
|
|
121
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
122
|
-
};
|
|
123
|
-
goog.inherits(proto.lansweeper.blockingrules.v1.BlockingRuleResponse, jspb.Message);
|
|
124
|
-
if (goog.DEBUG && !COMPILED) {
|
|
125
|
-
/**
|
|
126
|
-
* @public
|
|
127
|
-
* @override
|
|
128
|
-
*/
|
|
129
|
-
proto.lansweeper.blockingrules.v1.BlockingRuleResponse.displayName = 'proto.lansweeper.blockingrules.v1.BlockingRuleResponse';
|
|
130
|
-
}
|
|
131
109
|
/**
|
|
132
110
|
* Generated by JsPbCodeGenerator.
|
|
133
111
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -893,157 +871,6 @@ proto.lansweeper.blockingrules.v1.DeleteBlockingRuleRequest.prototype.setEntity
|
|
|
893
871
|
|
|
894
872
|
|
|
895
873
|
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
899
|
-
/**
|
|
900
|
-
* Creates an object representation of this proto.
|
|
901
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
902
|
-
* Optional fields that are not set will be set to undefined.
|
|
903
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
904
|
-
* For the list of reserved names please see:
|
|
905
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
906
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
907
|
-
* JSPB instance for transitional soy proto support:
|
|
908
|
-
* http://goto/soy-param-migration
|
|
909
|
-
* @return {!Object}
|
|
910
|
-
*/
|
|
911
|
-
proto.lansweeper.blockingrules.v1.BlockingRuleResponse.prototype.toObject = function(opt_includeInstance) {
|
|
912
|
-
return proto.lansweeper.blockingrules.v1.BlockingRuleResponse.toObject(opt_includeInstance, this);
|
|
913
|
-
};
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
/**
|
|
917
|
-
* Static version of the {@see toObject} method.
|
|
918
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
919
|
-
* the JSPB instance for transitional soy proto support:
|
|
920
|
-
* http://goto/soy-param-migration
|
|
921
|
-
* @param {!proto.lansweeper.blockingrules.v1.BlockingRuleResponse} msg The msg instance to transform.
|
|
922
|
-
* @return {!Object}
|
|
923
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
924
|
-
*/
|
|
925
|
-
proto.lansweeper.blockingrules.v1.BlockingRuleResponse.toObject = function(includeInstance, msg) {
|
|
926
|
-
var f, obj = {
|
|
927
|
-
blockingRule: (f = msg.getBlockingRule()) && proto.lansweeper.blockingrules.v1.BlockingRule.toObject(includeInstance, f)
|
|
928
|
-
};
|
|
929
|
-
|
|
930
|
-
if (includeInstance) {
|
|
931
|
-
obj.$jspbMessageInstance = msg;
|
|
932
|
-
}
|
|
933
|
-
return obj;
|
|
934
|
-
};
|
|
935
|
-
}
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
/**
|
|
939
|
-
* Deserializes binary data (in protobuf wire format).
|
|
940
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
941
|
-
* @return {!proto.lansweeper.blockingrules.v1.BlockingRuleResponse}
|
|
942
|
-
*/
|
|
943
|
-
proto.lansweeper.blockingrules.v1.BlockingRuleResponse.deserializeBinary = function(bytes) {
|
|
944
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
945
|
-
var msg = new proto.lansweeper.blockingrules.v1.BlockingRuleResponse;
|
|
946
|
-
return proto.lansweeper.blockingrules.v1.BlockingRuleResponse.deserializeBinaryFromReader(msg, reader);
|
|
947
|
-
};
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
/**
|
|
951
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
952
|
-
* given reader into the given message object.
|
|
953
|
-
* @param {!proto.lansweeper.blockingrules.v1.BlockingRuleResponse} msg The message object to deserialize into.
|
|
954
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
955
|
-
* @return {!proto.lansweeper.blockingrules.v1.BlockingRuleResponse}
|
|
956
|
-
*/
|
|
957
|
-
proto.lansweeper.blockingrules.v1.BlockingRuleResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
958
|
-
while (reader.nextField()) {
|
|
959
|
-
if (reader.isEndGroup()) {
|
|
960
|
-
break;
|
|
961
|
-
}
|
|
962
|
-
var field = reader.getFieldNumber();
|
|
963
|
-
switch (field) {
|
|
964
|
-
case 1:
|
|
965
|
-
var value = new proto.lansweeper.blockingrules.v1.BlockingRule;
|
|
966
|
-
reader.readMessage(value,proto.lansweeper.blockingrules.v1.BlockingRule.deserializeBinaryFromReader);
|
|
967
|
-
msg.setBlockingRule(value);
|
|
968
|
-
break;
|
|
969
|
-
default:
|
|
970
|
-
reader.skipField();
|
|
971
|
-
break;
|
|
972
|
-
}
|
|
973
|
-
}
|
|
974
|
-
return msg;
|
|
975
|
-
};
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
/**
|
|
979
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
980
|
-
* @return {!Uint8Array}
|
|
981
|
-
*/
|
|
982
|
-
proto.lansweeper.blockingrules.v1.BlockingRuleResponse.prototype.serializeBinary = function() {
|
|
983
|
-
var writer = new jspb.BinaryWriter();
|
|
984
|
-
proto.lansweeper.blockingrules.v1.BlockingRuleResponse.serializeBinaryToWriter(this, writer);
|
|
985
|
-
return writer.getResultBuffer();
|
|
986
|
-
};
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
/**
|
|
990
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
991
|
-
* format), writing to the given BinaryWriter.
|
|
992
|
-
* @param {!proto.lansweeper.blockingrules.v1.BlockingRuleResponse} message
|
|
993
|
-
* @param {!jspb.BinaryWriter} writer
|
|
994
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
995
|
-
*/
|
|
996
|
-
proto.lansweeper.blockingrules.v1.BlockingRuleResponse.serializeBinaryToWriter = function(message, writer) {
|
|
997
|
-
var f = undefined;
|
|
998
|
-
f = message.getBlockingRule();
|
|
999
|
-
if (f != null) {
|
|
1000
|
-
writer.writeMessage(
|
|
1001
|
-
1,
|
|
1002
|
-
f,
|
|
1003
|
-
proto.lansweeper.blockingrules.v1.BlockingRule.serializeBinaryToWriter
|
|
1004
|
-
);
|
|
1005
|
-
}
|
|
1006
|
-
};
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
/**
|
|
1010
|
-
* optional BlockingRule blocking_rule = 1;
|
|
1011
|
-
* @return {?proto.lansweeper.blockingrules.v1.BlockingRule}
|
|
1012
|
-
*/
|
|
1013
|
-
proto.lansweeper.blockingrules.v1.BlockingRuleResponse.prototype.getBlockingRule = function() {
|
|
1014
|
-
return /** @type{?proto.lansweeper.blockingrules.v1.BlockingRule} */ (
|
|
1015
|
-
jspb.Message.getWrapperField(this, proto.lansweeper.blockingrules.v1.BlockingRule, 1));
|
|
1016
|
-
};
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
/**
|
|
1020
|
-
* @param {?proto.lansweeper.blockingrules.v1.BlockingRule|undefined} value
|
|
1021
|
-
* @return {!proto.lansweeper.blockingrules.v1.BlockingRuleResponse} returns this
|
|
1022
|
-
*/
|
|
1023
|
-
proto.lansweeper.blockingrules.v1.BlockingRuleResponse.prototype.setBlockingRule = function(value) {
|
|
1024
|
-
return jspb.Message.setWrapperField(this, 1, value);
|
|
1025
|
-
};
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
/**
|
|
1029
|
-
* Clears the message field making it undefined.
|
|
1030
|
-
* @return {!proto.lansweeper.blockingrules.v1.BlockingRuleResponse} returns this
|
|
1031
|
-
*/
|
|
1032
|
-
proto.lansweeper.blockingrules.v1.BlockingRuleResponse.prototype.clearBlockingRule = function() {
|
|
1033
|
-
return this.setBlockingRule(undefined);
|
|
1034
|
-
};
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
/**
|
|
1038
|
-
* Returns whether this field is set.
|
|
1039
|
-
* @return {boolean}
|
|
1040
|
-
*/
|
|
1041
|
-
proto.lansweeper.blockingrules.v1.BlockingRuleResponse.prototype.hasBlockingRule = function() {
|
|
1042
|
-
return jspb.Message.getField(this, 1) != null;
|
|
1043
|
-
};
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
874
|
/**
|
|
1048
875
|
* List of repeated fields within this message type.
|
|
1049
876
|
* @private {!Array<number>}
|
|
@@ -1083,7 +910,7 @@ proto.lansweeper.blockingrules.v1.GetBlockingRulesResponse.prototype.toObject =
|
|
|
1083
910
|
proto.lansweeper.blockingrules.v1.GetBlockingRulesResponse.toObject = function(includeInstance, msg) {
|
|
1084
911
|
var f, obj = {
|
|
1085
912
|
blockingRulesList: jspb.Message.toObjectList(msg.getBlockingRulesList(),
|
|
1086
|
-
proto.lansweeper.blockingrules.v1.
|
|
913
|
+
proto.lansweeper.blockingrules.v1.BlockingRule.toObject, includeInstance)
|
|
1087
914
|
};
|
|
1088
915
|
|
|
1089
916
|
if (includeInstance) {
|
|
@@ -1121,8 +948,8 @@ proto.lansweeper.blockingrules.v1.GetBlockingRulesResponse.deserializeBinaryFrom
|
|
|
1121
948
|
var field = reader.getFieldNumber();
|
|
1122
949
|
switch (field) {
|
|
1123
950
|
case 1:
|
|
1124
|
-
var value = new proto.lansweeper.blockingrules.v1.
|
|
1125
|
-
reader.readMessage(value,proto.lansweeper.blockingrules.v1.
|
|
951
|
+
var value = new proto.lansweeper.blockingrules.v1.BlockingRule;
|
|
952
|
+
reader.readMessage(value,proto.lansweeper.blockingrules.v1.BlockingRule.deserializeBinaryFromReader);
|
|
1126
953
|
msg.addBlockingRules(value);
|
|
1127
954
|
break;
|
|
1128
955
|
default:
|
|
@@ -1159,24 +986,24 @@ proto.lansweeper.blockingrules.v1.GetBlockingRulesResponse.serializeBinaryToWrit
|
|
|
1159
986
|
writer.writeRepeatedMessage(
|
|
1160
987
|
1,
|
|
1161
988
|
f,
|
|
1162
|
-
proto.lansweeper.blockingrules.v1.
|
|
989
|
+
proto.lansweeper.blockingrules.v1.BlockingRule.serializeBinaryToWriter
|
|
1163
990
|
);
|
|
1164
991
|
}
|
|
1165
992
|
};
|
|
1166
993
|
|
|
1167
994
|
|
|
1168
995
|
/**
|
|
1169
|
-
* repeated
|
|
1170
|
-
* @return {!Array<!proto.lansweeper.blockingrules.v1.
|
|
996
|
+
* repeated BlockingRule blocking_rules = 1;
|
|
997
|
+
* @return {!Array<!proto.lansweeper.blockingrules.v1.BlockingRule>}
|
|
1171
998
|
*/
|
|
1172
999
|
proto.lansweeper.blockingrules.v1.GetBlockingRulesResponse.prototype.getBlockingRulesList = function() {
|
|
1173
|
-
return /** @type{!Array<!proto.lansweeper.blockingrules.v1.
|
|
1174
|
-
jspb.Message.getRepeatedWrapperField(this, proto.lansweeper.blockingrules.v1.
|
|
1000
|
+
return /** @type{!Array<!proto.lansweeper.blockingrules.v1.BlockingRule>} */ (
|
|
1001
|
+
jspb.Message.getRepeatedWrapperField(this, proto.lansweeper.blockingrules.v1.BlockingRule, 1));
|
|
1175
1002
|
};
|
|
1176
1003
|
|
|
1177
1004
|
|
|
1178
1005
|
/**
|
|
1179
|
-
* @param {!Array<!proto.lansweeper.blockingrules.v1.
|
|
1006
|
+
* @param {!Array<!proto.lansweeper.blockingrules.v1.BlockingRule>} value
|
|
1180
1007
|
* @return {!proto.lansweeper.blockingrules.v1.GetBlockingRulesResponse} returns this
|
|
1181
1008
|
*/
|
|
1182
1009
|
proto.lansweeper.blockingrules.v1.GetBlockingRulesResponse.prototype.setBlockingRulesList = function(value) {
|
|
@@ -1185,12 +1012,12 @@ proto.lansweeper.blockingrules.v1.GetBlockingRulesResponse.prototype.setBlocking
|
|
|
1185
1012
|
|
|
1186
1013
|
|
|
1187
1014
|
/**
|
|
1188
|
-
* @param {!proto.lansweeper.blockingrules.v1.
|
|
1015
|
+
* @param {!proto.lansweeper.blockingrules.v1.BlockingRule=} opt_value
|
|
1189
1016
|
* @param {number=} opt_index
|
|
1190
|
-
* @return {!proto.lansweeper.blockingrules.v1.
|
|
1017
|
+
* @return {!proto.lansweeper.blockingrules.v1.BlockingRule}
|
|
1191
1018
|
*/
|
|
1192
1019
|
proto.lansweeper.blockingrules.v1.GetBlockingRulesResponse.prototype.addBlockingRules = function(opt_value, opt_index) {
|
|
1193
|
-
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.lansweeper.blockingrules.v1.
|
|
1020
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.lansweeper.blockingrules.v1.BlockingRule, opt_index);
|
|
1194
1021
|
};
|
|
1195
1022
|
|
|
1196
1023
|
|
|
@@ -1243,7 +1070,7 @@ proto.lansweeper.blockingrules.v1.SetBlockingRuleResponse.prototype.toObject = f
|
|
|
1243
1070
|
proto.lansweeper.blockingrules.v1.SetBlockingRuleResponse.toObject = function(includeInstance, msg) {
|
|
1244
1071
|
var f, obj = {
|
|
1245
1072
|
blockingRulesList: jspb.Message.toObjectList(msg.getBlockingRulesList(),
|
|
1246
|
-
proto.lansweeper.blockingrules.v1.
|
|
1073
|
+
proto.lansweeper.blockingrules.v1.BlockingRule.toObject, includeInstance)
|
|
1247
1074
|
};
|
|
1248
1075
|
|
|
1249
1076
|
if (includeInstance) {
|
|
@@ -1281,8 +1108,8 @@ proto.lansweeper.blockingrules.v1.SetBlockingRuleResponse.deserializeBinaryFromR
|
|
|
1281
1108
|
var field = reader.getFieldNumber();
|
|
1282
1109
|
switch (field) {
|
|
1283
1110
|
case 1:
|
|
1284
|
-
var value = new proto.lansweeper.blockingrules.v1.
|
|
1285
|
-
reader.readMessage(value,proto.lansweeper.blockingrules.v1.
|
|
1111
|
+
var value = new proto.lansweeper.blockingrules.v1.BlockingRule;
|
|
1112
|
+
reader.readMessage(value,proto.lansweeper.blockingrules.v1.BlockingRule.deserializeBinaryFromReader);
|
|
1286
1113
|
msg.addBlockingRules(value);
|
|
1287
1114
|
break;
|
|
1288
1115
|
default:
|
|
@@ -1319,24 +1146,24 @@ proto.lansweeper.blockingrules.v1.SetBlockingRuleResponse.serializeBinaryToWrite
|
|
|
1319
1146
|
writer.writeRepeatedMessage(
|
|
1320
1147
|
1,
|
|
1321
1148
|
f,
|
|
1322
|
-
proto.lansweeper.blockingrules.v1.
|
|
1149
|
+
proto.lansweeper.blockingrules.v1.BlockingRule.serializeBinaryToWriter
|
|
1323
1150
|
);
|
|
1324
1151
|
}
|
|
1325
1152
|
};
|
|
1326
1153
|
|
|
1327
1154
|
|
|
1328
1155
|
/**
|
|
1329
|
-
* repeated
|
|
1330
|
-
* @return {!Array<!proto.lansweeper.blockingrules.v1.
|
|
1156
|
+
* repeated BlockingRule blocking_rules = 1;
|
|
1157
|
+
* @return {!Array<!proto.lansweeper.blockingrules.v1.BlockingRule>}
|
|
1331
1158
|
*/
|
|
1332
1159
|
proto.lansweeper.blockingrules.v1.SetBlockingRuleResponse.prototype.getBlockingRulesList = function() {
|
|
1333
|
-
return /** @type{!Array<!proto.lansweeper.blockingrules.v1.
|
|
1334
|
-
jspb.Message.getRepeatedWrapperField(this, proto.lansweeper.blockingrules.v1.
|
|
1160
|
+
return /** @type{!Array<!proto.lansweeper.blockingrules.v1.BlockingRule>} */ (
|
|
1161
|
+
jspb.Message.getRepeatedWrapperField(this, proto.lansweeper.blockingrules.v1.BlockingRule, 1));
|
|
1335
1162
|
};
|
|
1336
1163
|
|
|
1337
1164
|
|
|
1338
1165
|
/**
|
|
1339
|
-
* @param {!Array<!proto.lansweeper.blockingrules.v1.
|
|
1166
|
+
* @param {!Array<!proto.lansweeper.blockingrules.v1.BlockingRule>} value
|
|
1340
1167
|
* @return {!proto.lansweeper.blockingrules.v1.SetBlockingRuleResponse} returns this
|
|
1341
1168
|
*/
|
|
1342
1169
|
proto.lansweeper.blockingrules.v1.SetBlockingRuleResponse.prototype.setBlockingRulesList = function(value) {
|
|
@@ -1345,12 +1172,12 @@ proto.lansweeper.blockingrules.v1.SetBlockingRuleResponse.prototype.setBlockingR
|
|
|
1345
1172
|
|
|
1346
1173
|
|
|
1347
1174
|
/**
|
|
1348
|
-
* @param {!proto.lansweeper.blockingrules.v1.
|
|
1175
|
+
* @param {!proto.lansweeper.blockingrules.v1.BlockingRule=} opt_value
|
|
1349
1176
|
* @param {number=} opt_index
|
|
1350
|
-
* @return {!proto.lansweeper.blockingrules.v1.
|
|
1177
|
+
* @return {!proto.lansweeper.blockingrules.v1.BlockingRule}
|
|
1351
1178
|
*/
|
|
1352
1179
|
proto.lansweeper.blockingrules.v1.SetBlockingRuleResponse.prototype.addBlockingRules = function(opt_value, opt_index) {
|
|
1353
|
-
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.lansweeper.blockingrules.v1.
|
|
1180
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.lansweeper.blockingrules.v1.BlockingRule, opt_index);
|
|
1354
1181
|
};
|
|
1355
1182
|
|
|
1356
1183
|
|
package/gen-proto/image.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":[{"name":"proto/blocking_rules.proto","package":"lansweeper.blockingrules.v1","messageType":[{"name":"BlockingRule","field":[{"name":"install_key","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"installKey"},{"name":"site_id","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"siteId"},{"name":"entity","number":3,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"entity"},{"name":"created_date","number":4,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"createdDate"}]},{"name":"GetBlockingRulesRequest"},{"name":"SetBlockingRuleRequest","field":[{"name":"site_id","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"siteId"},{"name":"install_key","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"installKey"},{"name":"entity","number":3,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"entity"}]},{"name":"DeleteBlockingRuleRequest","field":[{"name":"site_id","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"siteId"},{"name":"install_key","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"installKey"},{"name":"entity","number":3,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"entity"}]},{"name":"
|
|
1
|
+
{"file":[{"name":"proto/blocking_rules.proto","package":"lansweeper.blockingrules.v1","messageType":[{"name":"BlockingRule","field":[{"name":"install_key","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"installKey"},{"name":"site_id","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"siteId"},{"name":"entity","number":3,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"entity"},{"name":"created_date","number":4,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"createdDate"}]},{"name":"GetBlockingRulesRequest"},{"name":"SetBlockingRuleRequest","field":[{"name":"site_id","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"siteId"},{"name":"install_key","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"installKey"},{"name":"entity","number":3,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"entity"}]},{"name":"DeleteBlockingRuleRequest","field":[{"name":"site_id","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"siteId"},{"name":"install_key","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"installKey"},{"name":"entity","number":3,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"entity"}]},{"name":"GetBlockingRulesResponse","field":[{"name":"blocking_rules","number":1,"label":"LABEL_REPEATED","type":"TYPE_MESSAGE","typeName":".lansweeper.blockingrules.v1.BlockingRule","jsonName":"blockingRules"}]},{"name":"SetBlockingRuleResponse","field":[{"name":"blocking_rules","number":1,"label":"LABEL_REPEATED","type":"TYPE_MESSAGE","typeName":".lansweeper.blockingrules.v1.BlockingRule","jsonName":"blockingRules"}]},{"name":"DeleteBlockingRuleResponse","field":[{"name":"site_id","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"siteId"},{"name":"install_key","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"installKey"},{"name":"entity","number":3,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"entity"},{"name":"deleted","number":4,"label":"LABEL_OPTIONAL","type":"TYPE_BOOL","jsonName":"deleted"}]}],"service":[{"name":"BlockingRulesService","method":[{"name":"GetBlockingRules","inputType":".lansweeper.blockingrules.v1.GetBlockingRulesRequest","outputType":".lansweeper.blockingrules.v1.GetBlockingRulesResponse","options":{}},{"name":"SetBlockingRule","inputType":".lansweeper.blockingrules.v1.SetBlockingRuleRequest","outputType":".lansweeper.blockingrules.v1.SetBlockingRuleResponse","options":{}},{"name":"DeleteBlockingRule","inputType":".lansweeper.blockingrules.v1.DeleteBlockingRuleRequest","outputType":".lansweeper.blockingrules.v1.DeleteBlockingRuleResponse","options":{}}]}],"sourceCodeInfo":{"location":[{"span":[0,0,46,1]},{"path":[12],"span":[0,0,18]},{"path":[2],"span":[2,0,36]},{"path":[4,0],"span":[4,0,9,1]},{"path":[4,0,1],"span":[4,8,20]},{"path":[4,0,2,0],"span":[5,2,25]},{"path":[4,0,2,0,5],"span":[5,2,8]},{"path":[4,0,2,0,1],"span":[5,9,20]},{"path":[4,0,2,0,3],"span":[5,23,24]},{"path":[4,0,2,1],"span":[6,2,21]},{"path":[4,0,2,1,5],"span":[6,2,8]},{"path":[4,0,2,1,1],"span":[6,9,16]},{"path":[4,0,2,1,3],"span":[6,19,20]},{"path":[4,0,2,2],"span":[7,2,20]},{"path":[4,0,2,2,5],"span":[7,2,8]},{"path":[4,0,2,2,1],"span":[7,9,15]},{"path":[4,0,2,2,3],"span":[7,18,19]},{"path":[4,0,2,3],"span":[8,2,26]},{"path":[4,0,2,3,5],"span":[8,2,8]},{"path":[4,0,2,3,1],"span":[8,9,21]},{"path":[4,0,2,3,3],"span":[8,24,25]},{"path":[4,1],"span":[11,0,13,1]},{"path":[4,1,1],"span":[11,8,31]},{"path":[4,2],"span":[15,0,19,1]},{"path":[4,2,1],"span":[15,8,30]},{"path":[4,2,2,0],"span":[16,2,21]},{"path":[4,2,2,0,5],"span":[16,2,8]},{"path":[4,2,2,0,1],"span":[16,9,16]},{"path":[4,2,2,0,3],"span":[16,19,20]},{"path":[4,2,2,1],"span":[17,2,25]},{"path":[4,2,2,1,5],"span":[17,2,8]},{"path":[4,2,2,1,1],"span":[17,9,20]},{"path":[4,2,2,1,3],"span":[17,23,24]},{"path":[4,2,2,2],"span":[18,2,20]},{"path":[4,2,2,2,5],"span":[18,2,8]},{"path":[4,2,2,2,1],"span":[18,9,15]},{"path":[4,2,2,2,3],"span":[18,18,19]},{"path":[4,3],"span":[21,0,25,1]},{"path":[4,3,1],"span":[21,8,33]},{"path":[4,3,2,0],"span":[22,2,21]},{"path":[4,3,2,0,5],"span":[22,2,8]},{"path":[4,3,2,0,1],"span":[22,9,16]},{"path":[4,3,2,0,3],"span":[22,19,20]},{"path":[4,3,2,1],"span":[23,2,25]},{"path":[4,3,2,1,5],"span":[23,2,8]},{"path":[4,3,2,1,1],"span":[23,9,20]},{"path":[4,3,2,1,3],"span":[23,23,24]},{"path":[4,3,2,2],"span":[24,2,20]},{"path":[4,3,2,2,5],"span":[24,2,8]},{"path":[4,3,2,2,1],"span":[24,9,15]},{"path":[4,3,2,2,3],"span":[24,18,19]},{"path":[4,4],"span":[27,0,29,1]},{"path":[4,4,1],"span":[27,8,32]},{"path":[4,4,2,0],"span":[28,2,43]},{"path":[4,4,2,0,4],"span":[28,2,10]},{"path":[4,4,2,0,6],"span":[28,11,23]},{"path":[4,4,2,0,1],"span":[28,24,38]},{"path":[4,4,2,0,3],"span":[28,41,42]},{"path":[4,5],"span":[31,0,33,1]},{"path":[4,5,1],"span":[31,8,31]},{"path":[4,5,2,0],"span":[32,2,43]},{"path":[4,5,2,0,4],"span":[32,2,10]},{"path":[4,5,2,0,6],"span":[32,11,23]},{"path":[4,5,2,0,1],"span":[32,24,38]},{"path":[4,5,2,0,3],"span":[32,41,42]},{"path":[4,6],"span":[35,0,40,1]},{"path":[4,6,1],"span":[35,8,34]},{"path":[4,6,2,0],"span":[36,2,21]},{"path":[4,6,2,0,5],"span":[36,2,8]},{"path":[4,6,2,0,1],"span":[36,9,16]},{"path":[4,6,2,0,3],"span":[36,19,20]},{"path":[4,6,2,1],"span":[37,2,25]},{"path":[4,6,2,1,5],"span":[37,2,8]},{"path":[4,6,2,1,1],"span":[37,9,20]},{"path":[4,6,2,1,3],"span":[37,23,24]},{"path":[4,6,2,2],"span":[38,2,20]},{"path":[4,6,2,2,5],"span":[38,2,8]},{"path":[4,6,2,2,1],"span":[38,9,15]},{"path":[4,6,2,2,3],"span":[38,18,19]},{"path":[4,6,2,3],"span":[39,2,19]},{"path":[4,6,2,3,5],"span":[39,2,6]},{"path":[4,6,2,3,1],"span":[39,7,14]},{"path":[4,6,2,3,3],"span":[39,17,18]},{"path":[6,0],"span":[42,0,46,1]},{"path":[6,0,1],"span":[42,8,28]},{"path":[6,0,2,0],"span":[43,2,85]},{"path":[6,0,2,0,1],"span":[43,6,22]},{"path":[6,0,2,0,2],"span":[43,23,46]},{"path":[6,0,2,0,3],"span":[43,57,81]},{"path":[6,0,2,1],"span":[44,2,82]},{"path":[6,0,2,1,1],"span":[44,6,21]},{"path":[6,0,2,1,2],"span":[44,22,44]},{"path":[6,0,2,1,3],"span":[44,55,78]},{"path":[6,0,2,2],"span":[45,2,91]},{"path":[6,0,2,2,1],"span":[45,6,24]},{"path":[6,0,2,2,2],"span":[45,25,50]},{"path":[6,0,2,2,3],"span":[45,61,87]}]},"syntax":"proto3","bufExtension":{"isImport":false,"isSyntaxUnspecified":false}}]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lansweeper/blocking-rules-grpc",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
4
4
|
"description": "blocking rules grpc",
|
|
5
5
|
"main": "gen-proto/index.js",
|
|
6
6
|
"types": "gen-proto/index.d.ts",
|
|
@@ -16,5 +16,5 @@
|
|
|
16
16
|
"devDependencies": {
|
|
17
17
|
"@types/google-protobuf": "^3.15.5"
|
|
18
18
|
},
|
|
19
|
-
"gitHead": "
|
|
19
|
+
"gitHead": "ce2d8607b99be2baf2c1183d5d19b0b3a6307efc"
|
|
20
20
|
}
|
|
@@ -25,16 +25,12 @@ message DeleteBlockingRuleRequest {
|
|
|
25
25
|
string entity = 3;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
message BlockingRuleResponse {
|
|
29
|
-
BlockingRule blocking_rule = 1;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
28
|
message GetBlockingRulesResponse {
|
|
33
|
-
repeated
|
|
29
|
+
repeated BlockingRule blocking_rules = 1;
|
|
34
30
|
}
|
|
35
31
|
|
|
36
32
|
message SetBlockingRuleResponse {
|
|
37
|
-
repeated
|
|
33
|
+
repeated BlockingRule blocking_rules = 1;
|
|
38
34
|
}
|
|
39
35
|
|
|
40
36
|
message DeleteBlockingRuleResponse {
|