@lansweeper/data-platform-outbound-grpc 0.1.125 → 0.1.126

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.
@@ -1149,11 +1149,10 @@ export class Relation extends jspb.Message {
1149
1149
  clearFrom(): void;
1150
1150
  getFrom(): EntityPath | undefined;
1151
1151
  setFrom(value?: EntityPath): Relation;
1152
-
1153
- hasTo(): boolean;
1154
- clearTo(): void;
1155
- getTo(): EntityPath | undefined;
1156
- setTo(value?: EntityPath): Relation;
1152
+ clearToList(): void;
1153
+ getToList(): Array<EntityPath>;
1154
+ setToList(value: Array<EntityPath>): Relation;
1155
+ addTo(value?: EntityPath, index?: number): EntityPath;
1157
1156
 
1158
1157
  hasStart(): boolean;
1159
1158
  clearStart(): void;
@@ -1184,7 +1183,7 @@ export class Relation extends jspb.Message {
1184
1183
  export namespace Relation {
1185
1184
  export type AsObject = {
1186
1185
  from?: EntityPath.AsObject,
1187
- to?: EntityPath.AsObject,
1186
+ toList: Array<EntityPath.AsObject>,
1188
1187
  start?: google_protobuf_timestamp_pb.Timestamp.AsObject,
1189
1188
  end?: google_protobuf_timestamp_pb.Timestamp.AsObject,
1190
1189
  name: string,
@@ -13944,7 +13944,7 @@ proto.com.lansweeper.dp.outbound.v1.Tag.prototype.hasValue = function() {
13944
13944
  * @private {!Array<number>}
13945
13945
  * @const
13946
13946
  */
13947
- proto.com.lansweeper.dp.outbound.v1.Relation.repeatedFields_ = [6];
13947
+ proto.com.lansweeper.dp.outbound.v1.Relation.repeatedFields_ = [2,6];
13948
13948
 
13949
13949
 
13950
13950
 
@@ -13978,7 +13978,8 @@ proto.com.lansweeper.dp.outbound.v1.Relation.prototype.toObject = function(opt_i
13978
13978
  proto.com.lansweeper.dp.outbound.v1.Relation.toObject = function(includeInstance, msg) {
13979
13979
  var f, obj = {
13980
13980
  from: (f = msg.getFrom()) && proto.com.lansweeper.dp.outbound.v1.EntityPath.toObject(includeInstance, f),
13981
- to: (f = msg.getTo()) && proto.com.lansweeper.dp.outbound.v1.EntityPath.toObject(includeInstance, f),
13981
+ toList: jspb.Message.toObjectList(msg.getToList(),
13982
+ proto.com.lansweeper.dp.outbound.v1.EntityPath.toObject, includeInstance),
13982
13983
  start: (f = msg.getStart()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
13983
13984
  end: (f = msg.getEnd()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
13984
13985
  name: jspb.Message.getFieldWithDefault(msg, 5, ""),
@@ -14028,7 +14029,7 @@ proto.com.lansweeper.dp.outbound.v1.Relation.deserializeBinaryFromReader = funct
14028
14029
  case 2:
14029
14030
  var value = new proto.com.lansweeper.dp.outbound.v1.EntityPath;
14030
14031
  reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.EntityPath.deserializeBinaryFromReader);
14031
- msg.setTo(value);
14032
+ msg.addTo(value);
14032
14033
  break;
14033
14034
  case 3:
14034
14035
  var value = new google_protobuf_timestamp_pb.Timestamp;
@@ -14086,9 +14087,9 @@ proto.com.lansweeper.dp.outbound.v1.Relation.serializeBinaryToWriter = function(
14086
14087
  proto.com.lansweeper.dp.outbound.v1.EntityPath.serializeBinaryToWriter
14087
14088
  );
14088
14089
  }
14089
- f = message.getTo();
14090
- if (f != null) {
14091
- writer.writeMessage(
14090
+ f = message.getToList();
14091
+ if (f.length > 0) {
14092
+ writer.writeRepeatedMessage(
14092
14093
  2,
14093
14094
  f,
14094
14095
  proto.com.lansweeper.dp.outbound.v1.EntityPath.serializeBinaryToWriter
@@ -14166,39 +14167,40 @@ proto.com.lansweeper.dp.outbound.v1.Relation.prototype.hasFrom = function() {
14166
14167
 
14167
14168
 
14168
14169
  /**
14169
- * optional EntityPath to = 2;
14170
- * @return {?proto.com.lansweeper.dp.outbound.v1.EntityPath}
14170
+ * repeated EntityPath to = 2;
14171
+ * @return {!Array<!proto.com.lansweeper.dp.outbound.v1.EntityPath>}
14171
14172
  */
14172
- proto.com.lansweeper.dp.outbound.v1.Relation.prototype.getTo = function() {
14173
- return /** @type{?proto.com.lansweeper.dp.outbound.v1.EntityPath} */ (
14174
- jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.EntityPath, 2));
14173
+ proto.com.lansweeper.dp.outbound.v1.Relation.prototype.getToList = function() {
14174
+ return /** @type{!Array<!proto.com.lansweeper.dp.outbound.v1.EntityPath>} */ (
14175
+ jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.dp.outbound.v1.EntityPath, 2));
14175
14176
  };
14176
14177
 
14177
14178
 
14178
14179
  /**
14179
- * @param {?proto.com.lansweeper.dp.outbound.v1.EntityPath|undefined} value
14180
+ * @param {!Array<!proto.com.lansweeper.dp.outbound.v1.EntityPath>} value
14180
14181
  * @return {!proto.com.lansweeper.dp.outbound.v1.Relation} returns this
14181
14182
  */
14182
- proto.com.lansweeper.dp.outbound.v1.Relation.prototype.setTo = function(value) {
14183
- return jspb.Message.setWrapperField(this, 2, value);
14183
+ proto.com.lansweeper.dp.outbound.v1.Relation.prototype.setToList = function(value) {
14184
+ return jspb.Message.setRepeatedWrapperField(this, 2, value);
14184
14185
  };
14185
14186
 
14186
14187
 
14187
14188
  /**
14188
- * Clears the message field making it undefined.
14189
- * @return {!proto.com.lansweeper.dp.outbound.v1.Relation} returns this
14189
+ * @param {!proto.com.lansweeper.dp.outbound.v1.EntityPath=} opt_value
14190
+ * @param {number=} opt_index
14191
+ * @return {!proto.com.lansweeper.dp.outbound.v1.EntityPath}
14190
14192
  */
14191
- proto.com.lansweeper.dp.outbound.v1.Relation.prototype.clearTo = function() {
14192
- return this.setTo(undefined);
14193
+ proto.com.lansweeper.dp.outbound.v1.Relation.prototype.addTo = function(opt_value, opt_index) {
14194
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.com.lansweeper.dp.outbound.v1.EntityPath, opt_index);
14193
14195
  };
14194
14196
 
14195
14197
 
14196
14198
  /**
14197
- * Returns whether this field is set.
14198
- * @return {boolean}
14199
+ * Clears the list making it empty but non-null.
14200
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Relation} returns this
14199
14201
  */
14200
- proto.com.lansweeper.dp.outbound.v1.Relation.prototype.hasTo = function() {
14201
- return jspb.Message.getField(this, 2) != null;
14202
+ proto.com.lansweeper.dp.outbound.v1.Relation.prototype.clearToList = function() {
14203
+ return this.setToList([]);
14202
14204
  };
14203
14205
 
14204
14206