@lansweeper/data-platform-outbound-grpc 0.14.0 → 0.14.1
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 +7 -0
- package/gen-proto/image.json +1 -1
- package/gen-proto/outbound_pb.d.ts +65 -0
- package/gen-proto/outbound_pb.js +510 -1
- package/generated-go/outbound.pb.go +2316 -2164
- package/java.json +1 -1
- package/model/pom.xml +1 -1
- package/model/src/main/proto/outbound.proto +11 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/CloudAssetCustom$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/CloudAssetCustom$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/CloudAssetCustom.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/CloudAssetCustomOrBuilder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/LegacyFields$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/LegacyFields$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/LegacyFields.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/LegacyFieldsOrBuilder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Outbound.class +0 -0
- package/model/target/classes/outbound.proto +11 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ActiveDirectoryComputer.java +9 -9
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ActiveDirectoryComputerOrBuilder.java +3 -3
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/CloudAssetCustom.java +1508 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/CloudAssetCustomOrBuilder.java +129 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/LegacyFields.java +233 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/LegacyFieldsOrBuilder.java +27 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Outbound.java +4100 -4078
- package/model/target/maven-archiver/pom.properties +2 -2
- package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst +4 -0
- package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst +2 -0
- package/model/target/{outbound-model-0.13.1-sources.jar → outbound-model-0.14.0-sources.jar} +0 -0
- package/model/target/{outbound-model-0.13.1.jar → outbound-model-0.14.0.jar} +0 -0
- package/package.json +2 -2
- package/pom.xml +1 -1
- package/proto/outbound.proto +11 -0
- package/service/pom.xml +1 -1
- package/service/target/maven-archiver/pom.properties +2 -2
- package/service/target/{outbound-service-0.13.1-sources.jar → outbound-service-0.14.0-sources.jar} +0 -0
- package/service/target/{outbound-service-0.13.1.jar → outbound-service-0.14.0.jar} +0 -0
|
@@ -1156,6 +1156,11 @@ export class LegacyFields extends jspb.Message {
|
|
|
1156
1156
|
getAsServerKey(): string | undefined;
|
|
1157
1157
|
setAsServerKey(value: string): LegacyFields;
|
|
1158
1158
|
|
|
1159
|
+
hasCloudAssetCustom(): boolean;
|
|
1160
|
+
clearCloudAssetCustom(): void;
|
|
1161
|
+
getCloudAssetCustom(): CloudAssetCustom | undefined;
|
|
1162
|
+
setCloudAssetCustom(value?: CloudAssetCustom): LegacyFields;
|
|
1163
|
+
|
|
1159
1164
|
serializeBinary(): Uint8Array;
|
|
1160
1165
|
toObject(includeInstance?: boolean): LegacyFields.AsObject;
|
|
1161
1166
|
static toObject(includeInstance: boolean, msg: LegacyFields): LegacyFields.AsObject;
|
|
@@ -1189,6 +1194,66 @@ export namespace LegacyFields {
|
|
|
1189
1194
|
ipLocationId?: string,
|
|
1190
1195
|
assetTypeKey?: string,
|
|
1191
1196
|
asServerKey?: string,
|
|
1197
|
+
cloudAssetCustom?: CloudAssetCustom.AsObject,
|
|
1198
|
+
}
|
|
1199
|
+
}
|
|
1200
|
+
|
|
1201
|
+
export class CloudAssetCustom extends jspb.Message {
|
|
1202
|
+
|
|
1203
|
+
hasInvoiceNumber(): boolean;
|
|
1204
|
+
clearInvoiceNumber(): void;
|
|
1205
|
+
getInvoiceNumber(): string | undefined;
|
|
1206
|
+
setInvoiceNumber(value: string): CloudAssetCustom;
|
|
1207
|
+
|
|
1208
|
+
hasOwner(): boolean;
|
|
1209
|
+
clearOwner(): void;
|
|
1210
|
+
getOwner(): string | undefined;
|
|
1211
|
+
setOwner(value: string): CloudAssetCustom;
|
|
1212
|
+
|
|
1213
|
+
hasPurchaseOrderDate(): boolean;
|
|
1214
|
+
clearPurchaseOrderDate(): void;
|
|
1215
|
+
getPurchaseOrderDate(): string | undefined;
|
|
1216
|
+
setPurchaseOrderDate(value: string): CloudAssetCustom;
|
|
1217
|
+
|
|
1218
|
+
hasIndustry(): boolean;
|
|
1219
|
+
clearIndustry(): void;
|
|
1220
|
+
getIndustry(): string | undefined;
|
|
1221
|
+
setIndustry(value: string): CloudAssetCustom;
|
|
1222
|
+
|
|
1223
|
+
hasVendorName(): boolean;
|
|
1224
|
+
clearVendorName(): void;
|
|
1225
|
+
getVendorName(): string | undefined;
|
|
1226
|
+
setVendorName(value: string): CloudAssetCustom;
|
|
1227
|
+
|
|
1228
|
+
hasCostCenter(): boolean;
|
|
1229
|
+
clearCostCenter(): void;
|
|
1230
|
+
getCostCenter(): string | undefined;
|
|
1231
|
+
setCostCenter(value: string): CloudAssetCustom;
|
|
1232
|
+
|
|
1233
|
+
hasAcquisitionType(): boolean;
|
|
1234
|
+
clearAcquisitionType(): void;
|
|
1235
|
+
getAcquisitionType(): string | undefined;
|
|
1236
|
+
setAcquisitionType(value: string): CloudAssetCustom;
|
|
1237
|
+
|
|
1238
|
+
serializeBinary(): Uint8Array;
|
|
1239
|
+
toObject(includeInstance?: boolean): CloudAssetCustom.AsObject;
|
|
1240
|
+
static toObject(includeInstance: boolean, msg: CloudAssetCustom): CloudAssetCustom.AsObject;
|
|
1241
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1242
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1243
|
+
static serializeBinaryToWriter(message: CloudAssetCustom, writer: jspb.BinaryWriter): void;
|
|
1244
|
+
static deserializeBinary(bytes: Uint8Array): CloudAssetCustom;
|
|
1245
|
+
static deserializeBinaryFromReader(message: CloudAssetCustom, reader: jspb.BinaryReader): CloudAssetCustom;
|
|
1246
|
+
}
|
|
1247
|
+
|
|
1248
|
+
export namespace CloudAssetCustom {
|
|
1249
|
+
export type AsObject = {
|
|
1250
|
+
invoiceNumber?: string,
|
|
1251
|
+
owner?: string,
|
|
1252
|
+
purchaseOrderDate?: string,
|
|
1253
|
+
industry?: string,
|
|
1254
|
+
vendorName?: string,
|
|
1255
|
+
costCenter?: string,
|
|
1256
|
+
acquisitionType?: string,
|
|
1192
1257
|
}
|
|
1193
1258
|
}
|
|
1194
1259
|
|
package/gen-proto/outbound_pb.js
CHANGED
|
@@ -76,6 +76,7 @@ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.CitrixVirtualBlockDevice'
|
|
|
76
76
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.CitrixVirtualDiskImage', null, global);
|
|
77
77
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.CitrixVirtualInterface', null, global);
|
|
78
78
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.CitrixVirtualInterfaceAddress', null, global);
|
|
79
|
+
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.CloudAssetCustom', null, global);
|
|
79
80
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.CloudEntity', null, global);
|
|
80
81
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.CloudEntity.ScannerType', null, global);
|
|
81
82
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.Computer', null, global);
|
|
@@ -839,6 +840,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
839
840
|
*/
|
|
840
841
|
proto.com.lansweeper.dp.outbound.v1.LegacyFields.displayName = 'proto.com.lansweeper.dp.outbound.v1.LegacyFields';
|
|
841
842
|
}
|
|
843
|
+
/**
|
|
844
|
+
* Generated by JsPbCodeGenerator.
|
|
845
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
846
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
847
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
848
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
849
|
+
* valid.
|
|
850
|
+
* @extends {jspb.Message}
|
|
851
|
+
* @constructor
|
|
852
|
+
*/
|
|
853
|
+
proto.com.lansweeper.dp.outbound.v1.CloudAssetCustom = function(opt_data) {
|
|
854
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
855
|
+
};
|
|
856
|
+
goog.inherits(proto.com.lansweeper.dp.outbound.v1.CloudAssetCustom, jspb.Message);
|
|
857
|
+
if (goog.DEBUG && !COMPILED) {
|
|
858
|
+
/**
|
|
859
|
+
* @public
|
|
860
|
+
* @override
|
|
861
|
+
*/
|
|
862
|
+
proto.com.lansweeper.dp.outbound.v1.CloudAssetCustom.displayName = 'proto.com.lansweeper.dp.outbound.v1.CloudAssetCustom';
|
|
863
|
+
}
|
|
842
864
|
/**
|
|
843
865
|
* Generated by JsPbCodeGenerator.
|
|
844
866
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -14758,7 +14780,8 @@ proto.com.lansweeper.dp.outbound.v1.LegacyFields.toObject = function(includeInst
|
|
|
14758
14780
|
ipLocationKey: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
14759
14781
|
ipLocationId: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
14760
14782
|
assetTypeKey: jspb.Message.getFieldWithDefault(msg, 20, ""),
|
|
14761
|
-
asServerKey: jspb.Message.getFieldWithDefault(msg, 21, "")
|
|
14783
|
+
asServerKey: jspb.Message.getFieldWithDefault(msg, 21, ""),
|
|
14784
|
+
cloudAssetCustom: (f = msg.getCloudAssetCustom()) && proto.com.lansweeper.dp.outbound.v1.CloudAssetCustom.toObject(includeInstance, f)
|
|
14762
14785
|
};
|
|
14763
14786
|
|
|
14764
14787
|
if (includeInstance) {
|
|
@@ -14895,6 +14918,11 @@ proto.com.lansweeper.dp.outbound.v1.LegacyFields.deserializeBinaryFromReader = f
|
|
|
14895
14918
|
var value = /** @type {string} */ (reader.readString());
|
|
14896
14919
|
msg.setAsServerKey(value);
|
|
14897
14920
|
break;
|
|
14921
|
+
case 22:
|
|
14922
|
+
var value = new proto.com.lansweeper.dp.outbound.v1.CloudAssetCustom;
|
|
14923
|
+
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.CloudAssetCustom.deserializeBinaryFromReader);
|
|
14924
|
+
msg.setCloudAssetCustom(value);
|
|
14925
|
+
break;
|
|
14898
14926
|
default:
|
|
14899
14927
|
reader.skipField();
|
|
14900
14928
|
break;
|
|
@@ -15087,6 +15115,14 @@ proto.com.lansweeper.dp.outbound.v1.LegacyFields.serializeBinaryToWriter = funct
|
|
|
15087
15115
|
f
|
|
15088
15116
|
);
|
|
15089
15117
|
}
|
|
15118
|
+
f = message.getCloudAssetCustom();
|
|
15119
|
+
if (f != null) {
|
|
15120
|
+
writer.writeMessage(
|
|
15121
|
+
22,
|
|
15122
|
+
f,
|
|
15123
|
+
proto.com.lansweeper.dp.outbound.v1.CloudAssetCustom.serializeBinaryToWriter
|
|
15124
|
+
);
|
|
15125
|
+
}
|
|
15090
15126
|
};
|
|
15091
15127
|
|
|
15092
15128
|
|
|
@@ -15863,6 +15899,479 @@ proto.com.lansweeper.dp.outbound.v1.LegacyFields.prototype.hasAsServerKey = func
|
|
|
15863
15899
|
};
|
|
15864
15900
|
|
|
15865
15901
|
|
|
15902
|
+
/**
|
|
15903
|
+
* optional CloudAssetCustom cloud_asset_custom = 22;
|
|
15904
|
+
* @return {?proto.com.lansweeper.dp.outbound.v1.CloudAssetCustom}
|
|
15905
|
+
*/
|
|
15906
|
+
proto.com.lansweeper.dp.outbound.v1.LegacyFields.prototype.getCloudAssetCustom = function() {
|
|
15907
|
+
return /** @type{?proto.com.lansweeper.dp.outbound.v1.CloudAssetCustom} */ (
|
|
15908
|
+
jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.CloudAssetCustom, 22));
|
|
15909
|
+
};
|
|
15910
|
+
|
|
15911
|
+
|
|
15912
|
+
/**
|
|
15913
|
+
* @param {?proto.com.lansweeper.dp.outbound.v1.CloudAssetCustom|undefined} value
|
|
15914
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.LegacyFields} returns this
|
|
15915
|
+
*/
|
|
15916
|
+
proto.com.lansweeper.dp.outbound.v1.LegacyFields.prototype.setCloudAssetCustom = function(value) {
|
|
15917
|
+
return jspb.Message.setWrapperField(this, 22, value);
|
|
15918
|
+
};
|
|
15919
|
+
|
|
15920
|
+
|
|
15921
|
+
/**
|
|
15922
|
+
* Clears the message field making it undefined.
|
|
15923
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.LegacyFields} returns this
|
|
15924
|
+
*/
|
|
15925
|
+
proto.com.lansweeper.dp.outbound.v1.LegacyFields.prototype.clearCloudAssetCustom = function() {
|
|
15926
|
+
return this.setCloudAssetCustom(undefined);
|
|
15927
|
+
};
|
|
15928
|
+
|
|
15929
|
+
|
|
15930
|
+
/**
|
|
15931
|
+
* Returns whether this field is set.
|
|
15932
|
+
* @return {boolean}
|
|
15933
|
+
*/
|
|
15934
|
+
proto.com.lansweeper.dp.outbound.v1.LegacyFields.prototype.hasCloudAssetCustom = function() {
|
|
15935
|
+
return jspb.Message.getField(this, 22) != null;
|
|
15936
|
+
};
|
|
15937
|
+
|
|
15938
|
+
|
|
15939
|
+
|
|
15940
|
+
|
|
15941
|
+
|
|
15942
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
15943
|
+
/**
|
|
15944
|
+
* Creates an object representation of this proto.
|
|
15945
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
15946
|
+
* Optional fields that are not set will be set to undefined.
|
|
15947
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
15948
|
+
* For the list of reserved names please see:
|
|
15949
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
15950
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
15951
|
+
* JSPB instance for transitional soy proto support:
|
|
15952
|
+
* http://goto/soy-param-migration
|
|
15953
|
+
* @return {!Object}
|
|
15954
|
+
*/
|
|
15955
|
+
proto.com.lansweeper.dp.outbound.v1.CloudAssetCustom.prototype.toObject = function(opt_includeInstance) {
|
|
15956
|
+
return proto.com.lansweeper.dp.outbound.v1.CloudAssetCustom.toObject(opt_includeInstance, this);
|
|
15957
|
+
};
|
|
15958
|
+
|
|
15959
|
+
|
|
15960
|
+
/**
|
|
15961
|
+
* Static version of the {@see toObject} method.
|
|
15962
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
15963
|
+
* the JSPB instance for transitional soy proto support:
|
|
15964
|
+
* http://goto/soy-param-migration
|
|
15965
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.CloudAssetCustom} msg The msg instance to transform.
|
|
15966
|
+
* @return {!Object}
|
|
15967
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
15968
|
+
*/
|
|
15969
|
+
proto.com.lansweeper.dp.outbound.v1.CloudAssetCustom.toObject = function(includeInstance, msg) {
|
|
15970
|
+
var f, obj = {
|
|
15971
|
+
invoiceNumber: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
15972
|
+
owner: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
15973
|
+
purchaseOrderDate: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
15974
|
+
industry: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
15975
|
+
vendorName: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
15976
|
+
costCenter: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
15977
|
+
acquisitionType: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
15978
|
+
};
|
|
15979
|
+
|
|
15980
|
+
if (includeInstance) {
|
|
15981
|
+
obj.$jspbMessageInstance = msg;
|
|
15982
|
+
}
|
|
15983
|
+
return obj;
|
|
15984
|
+
};
|
|
15985
|
+
}
|
|
15986
|
+
|
|
15987
|
+
|
|
15988
|
+
/**
|
|
15989
|
+
* Deserializes binary data (in protobuf wire format).
|
|
15990
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
15991
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.CloudAssetCustom}
|
|
15992
|
+
*/
|
|
15993
|
+
proto.com.lansweeper.dp.outbound.v1.CloudAssetCustom.deserializeBinary = function(bytes) {
|
|
15994
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
15995
|
+
var msg = new proto.com.lansweeper.dp.outbound.v1.CloudAssetCustom;
|
|
15996
|
+
return proto.com.lansweeper.dp.outbound.v1.CloudAssetCustom.deserializeBinaryFromReader(msg, reader);
|
|
15997
|
+
};
|
|
15998
|
+
|
|
15999
|
+
|
|
16000
|
+
/**
|
|
16001
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
16002
|
+
* given reader into the given message object.
|
|
16003
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.CloudAssetCustom} msg The message object to deserialize into.
|
|
16004
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
16005
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.CloudAssetCustom}
|
|
16006
|
+
*/
|
|
16007
|
+
proto.com.lansweeper.dp.outbound.v1.CloudAssetCustom.deserializeBinaryFromReader = function(msg, reader) {
|
|
16008
|
+
while (reader.nextField()) {
|
|
16009
|
+
if (reader.isEndGroup()) {
|
|
16010
|
+
break;
|
|
16011
|
+
}
|
|
16012
|
+
var field = reader.getFieldNumber();
|
|
16013
|
+
switch (field) {
|
|
16014
|
+
case 1:
|
|
16015
|
+
var value = /** @type {string} */ (reader.readString());
|
|
16016
|
+
msg.setInvoiceNumber(value);
|
|
16017
|
+
break;
|
|
16018
|
+
case 2:
|
|
16019
|
+
var value = /** @type {string} */ (reader.readString());
|
|
16020
|
+
msg.setOwner(value);
|
|
16021
|
+
break;
|
|
16022
|
+
case 3:
|
|
16023
|
+
var value = /** @type {string} */ (reader.readString());
|
|
16024
|
+
msg.setPurchaseOrderDate(value);
|
|
16025
|
+
break;
|
|
16026
|
+
case 4:
|
|
16027
|
+
var value = /** @type {string} */ (reader.readString());
|
|
16028
|
+
msg.setIndustry(value);
|
|
16029
|
+
break;
|
|
16030
|
+
case 5:
|
|
16031
|
+
var value = /** @type {string} */ (reader.readString());
|
|
16032
|
+
msg.setVendorName(value);
|
|
16033
|
+
break;
|
|
16034
|
+
case 6:
|
|
16035
|
+
var value = /** @type {string} */ (reader.readString());
|
|
16036
|
+
msg.setCostCenter(value);
|
|
16037
|
+
break;
|
|
16038
|
+
case 7:
|
|
16039
|
+
var value = /** @type {string} */ (reader.readString());
|
|
16040
|
+
msg.setAcquisitionType(value);
|
|
16041
|
+
break;
|
|
16042
|
+
default:
|
|
16043
|
+
reader.skipField();
|
|
16044
|
+
break;
|
|
16045
|
+
}
|
|
16046
|
+
}
|
|
16047
|
+
return msg;
|
|
16048
|
+
};
|
|
16049
|
+
|
|
16050
|
+
|
|
16051
|
+
/**
|
|
16052
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
16053
|
+
* @return {!Uint8Array}
|
|
16054
|
+
*/
|
|
16055
|
+
proto.com.lansweeper.dp.outbound.v1.CloudAssetCustom.prototype.serializeBinary = function() {
|
|
16056
|
+
var writer = new jspb.BinaryWriter();
|
|
16057
|
+
proto.com.lansweeper.dp.outbound.v1.CloudAssetCustom.serializeBinaryToWriter(this, writer);
|
|
16058
|
+
return writer.getResultBuffer();
|
|
16059
|
+
};
|
|
16060
|
+
|
|
16061
|
+
|
|
16062
|
+
/**
|
|
16063
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
16064
|
+
* format), writing to the given BinaryWriter.
|
|
16065
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.CloudAssetCustom} message
|
|
16066
|
+
* @param {!jspb.BinaryWriter} writer
|
|
16067
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
16068
|
+
*/
|
|
16069
|
+
proto.com.lansweeper.dp.outbound.v1.CloudAssetCustom.serializeBinaryToWriter = function(message, writer) {
|
|
16070
|
+
var f = undefined;
|
|
16071
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 1));
|
|
16072
|
+
if (f != null) {
|
|
16073
|
+
writer.writeString(
|
|
16074
|
+
1,
|
|
16075
|
+
f
|
|
16076
|
+
);
|
|
16077
|
+
}
|
|
16078
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
16079
|
+
if (f != null) {
|
|
16080
|
+
writer.writeString(
|
|
16081
|
+
2,
|
|
16082
|
+
f
|
|
16083
|
+
);
|
|
16084
|
+
}
|
|
16085
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
16086
|
+
if (f != null) {
|
|
16087
|
+
writer.writeString(
|
|
16088
|
+
3,
|
|
16089
|
+
f
|
|
16090
|
+
);
|
|
16091
|
+
}
|
|
16092
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
|
16093
|
+
if (f != null) {
|
|
16094
|
+
writer.writeString(
|
|
16095
|
+
4,
|
|
16096
|
+
f
|
|
16097
|
+
);
|
|
16098
|
+
}
|
|
16099
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
|
16100
|
+
if (f != null) {
|
|
16101
|
+
writer.writeString(
|
|
16102
|
+
5,
|
|
16103
|
+
f
|
|
16104
|
+
);
|
|
16105
|
+
}
|
|
16106
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 6));
|
|
16107
|
+
if (f != null) {
|
|
16108
|
+
writer.writeString(
|
|
16109
|
+
6,
|
|
16110
|
+
f
|
|
16111
|
+
);
|
|
16112
|
+
}
|
|
16113
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 7));
|
|
16114
|
+
if (f != null) {
|
|
16115
|
+
writer.writeString(
|
|
16116
|
+
7,
|
|
16117
|
+
f
|
|
16118
|
+
);
|
|
16119
|
+
}
|
|
16120
|
+
};
|
|
16121
|
+
|
|
16122
|
+
|
|
16123
|
+
/**
|
|
16124
|
+
* optional string invoice_number = 1;
|
|
16125
|
+
* @return {string}
|
|
16126
|
+
*/
|
|
16127
|
+
proto.com.lansweeper.dp.outbound.v1.CloudAssetCustom.prototype.getInvoiceNumber = function() {
|
|
16128
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
16129
|
+
};
|
|
16130
|
+
|
|
16131
|
+
|
|
16132
|
+
/**
|
|
16133
|
+
* @param {string} value
|
|
16134
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.CloudAssetCustom} returns this
|
|
16135
|
+
*/
|
|
16136
|
+
proto.com.lansweeper.dp.outbound.v1.CloudAssetCustom.prototype.setInvoiceNumber = function(value) {
|
|
16137
|
+
return jspb.Message.setField(this, 1, value);
|
|
16138
|
+
};
|
|
16139
|
+
|
|
16140
|
+
|
|
16141
|
+
/**
|
|
16142
|
+
* Clears the field making it undefined.
|
|
16143
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.CloudAssetCustom} returns this
|
|
16144
|
+
*/
|
|
16145
|
+
proto.com.lansweeper.dp.outbound.v1.CloudAssetCustom.prototype.clearInvoiceNumber = function() {
|
|
16146
|
+
return jspb.Message.setField(this, 1, undefined);
|
|
16147
|
+
};
|
|
16148
|
+
|
|
16149
|
+
|
|
16150
|
+
/**
|
|
16151
|
+
* Returns whether this field is set.
|
|
16152
|
+
* @return {boolean}
|
|
16153
|
+
*/
|
|
16154
|
+
proto.com.lansweeper.dp.outbound.v1.CloudAssetCustom.prototype.hasInvoiceNumber = function() {
|
|
16155
|
+
return jspb.Message.getField(this, 1) != null;
|
|
16156
|
+
};
|
|
16157
|
+
|
|
16158
|
+
|
|
16159
|
+
/**
|
|
16160
|
+
* optional string owner = 2;
|
|
16161
|
+
* @return {string}
|
|
16162
|
+
*/
|
|
16163
|
+
proto.com.lansweeper.dp.outbound.v1.CloudAssetCustom.prototype.getOwner = function() {
|
|
16164
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
16165
|
+
};
|
|
16166
|
+
|
|
16167
|
+
|
|
16168
|
+
/**
|
|
16169
|
+
* @param {string} value
|
|
16170
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.CloudAssetCustom} returns this
|
|
16171
|
+
*/
|
|
16172
|
+
proto.com.lansweeper.dp.outbound.v1.CloudAssetCustom.prototype.setOwner = function(value) {
|
|
16173
|
+
return jspb.Message.setField(this, 2, value);
|
|
16174
|
+
};
|
|
16175
|
+
|
|
16176
|
+
|
|
16177
|
+
/**
|
|
16178
|
+
* Clears the field making it undefined.
|
|
16179
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.CloudAssetCustom} returns this
|
|
16180
|
+
*/
|
|
16181
|
+
proto.com.lansweeper.dp.outbound.v1.CloudAssetCustom.prototype.clearOwner = function() {
|
|
16182
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
16183
|
+
};
|
|
16184
|
+
|
|
16185
|
+
|
|
16186
|
+
/**
|
|
16187
|
+
* Returns whether this field is set.
|
|
16188
|
+
* @return {boolean}
|
|
16189
|
+
*/
|
|
16190
|
+
proto.com.lansweeper.dp.outbound.v1.CloudAssetCustom.prototype.hasOwner = function() {
|
|
16191
|
+
return jspb.Message.getField(this, 2) != null;
|
|
16192
|
+
};
|
|
16193
|
+
|
|
16194
|
+
|
|
16195
|
+
/**
|
|
16196
|
+
* optional string purchase_order_date = 3;
|
|
16197
|
+
* @return {string}
|
|
16198
|
+
*/
|
|
16199
|
+
proto.com.lansweeper.dp.outbound.v1.CloudAssetCustom.prototype.getPurchaseOrderDate = function() {
|
|
16200
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
16201
|
+
};
|
|
16202
|
+
|
|
16203
|
+
|
|
16204
|
+
/**
|
|
16205
|
+
* @param {string} value
|
|
16206
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.CloudAssetCustom} returns this
|
|
16207
|
+
*/
|
|
16208
|
+
proto.com.lansweeper.dp.outbound.v1.CloudAssetCustom.prototype.setPurchaseOrderDate = function(value) {
|
|
16209
|
+
return jspb.Message.setField(this, 3, value);
|
|
16210
|
+
};
|
|
16211
|
+
|
|
16212
|
+
|
|
16213
|
+
/**
|
|
16214
|
+
* Clears the field making it undefined.
|
|
16215
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.CloudAssetCustom} returns this
|
|
16216
|
+
*/
|
|
16217
|
+
proto.com.lansweeper.dp.outbound.v1.CloudAssetCustom.prototype.clearPurchaseOrderDate = function() {
|
|
16218
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
16219
|
+
};
|
|
16220
|
+
|
|
16221
|
+
|
|
16222
|
+
/**
|
|
16223
|
+
* Returns whether this field is set.
|
|
16224
|
+
* @return {boolean}
|
|
16225
|
+
*/
|
|
16226
|
+
proto.com.lansweeper.dp.outbound.v1.CloudAssetCustom.prototype.hasPurchaseOrderDate = function() {
|
|
16227
|
+
return jspb.Message.getField(this, 3) != null;
|
|
16228
|
+
};
|
|
16229
|
+
|
|
16230
|
+
|
|
16231
|
+
/**
|
|
16232
|
+
* optional string industry = 4;
|
|
16233
|
+
* @return {string}
|
|
16234
|
+
*/
|
|
16235
|
+
proto.com.lansweeper.dp.outbound.v1.CloudAssetCustom.prototype.getIndustry = function() {
|
|
16236
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
16237
|
+
};
|
|
16238
|
+
|
|
16239
|
+
|
|
16240
|
+
/**
|
|
16241
|
+
* @param {string} value
|
|
16242
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.CloudAssetCustom} returns this
|
|
16243
|
+
*/
|
|
16244
|
+
proto.com.lansweeper.dp.outbound.v1.CloudAssetCustom.prototype.setIndustry = function(value) {
|
|
16245
|
+
return jspb.Message.setField(this, 4, value);
|
|
16246
|
+
};
|
|
16247
|
+
|
|
16248
|
+
|
|
16249
|
+
/**
|
|
16250
|
+
* Clears the field making it undefined.
|
|
16251
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.CloudAssetCustom} returns this
|
|
16252
|
+
*/
|
|
16253
|
+
proto.com.lansweeper.dp.outbound.v1.CloudAssetCustom.prototype.clearIndustry = function() {
|
|
16254
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
16255
|
+
};
|
|
16256
|
+
|
|
16257
|
+
|
|
16258
|
+
/**
|
|
16259
|
+
* Returns whether this field is set.
|
|
16260
|
+
* @return {boolean}
|
|
16261
|
+
*/
|
|
16262
|
+
proto.com.lansweeper.dp.outbound.v1.CloudAssetCustom.prototype.hasIndustry = function() {
|
|
16263
|
+
return jspb.Message.getField(this, 4) != null;
|
|
16264
|
+
};
|
|
16265
|
+
|
|
16266
|
+
|
|
16267
|
+
/**
|
|
16268
|
+
* optional string vendor_name = 5;
|
|
16269
|
+
* @return {string}
|
|
16270
|
+
*/
|
|
16271
|
+
proto.com.lansweeper.dp.outbound.v1.CloudAssetCustom.prototype.getVendorName = function() {
|
|
16272
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
16273
|
+
};
|
|
16274
|
+
|
|
16275
|
+
|
|
16276
|
+
/**
|
|
16277
|
+
* @param {string} value
|
|
16278
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.CloudAssetCustom} returns this
|
|
16279
|
+
*/
|
|
16280
|
+
proto.com.lansweeper.dp.outbound.v1.CloudAssetCustom.prototype.setVendorName = function(value) {
|
|
16281
|
+
return jspb.Message.setField(this, 5, value);
|
|
16282
|
+
};
|
|
16283
|
+
|
|
16284
|
+
|
|
16285
|
+
/**
|
|
16286
|
+
* Clears the field making it undefined.
|
|
16287
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.CloudAssetCustom} returns this
|
|
16288
|
+
*/
|
|
16289
|
+
proto.com.lansweeper.dp.outbound.v1.CloudAssetCustom.prototype.clearVendorName = function() {
|
|
16290
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
16291
|
+
};
|
|
16292
|
+
|
|
16293
|
+
|
|
16294
|
+
/**
|
|
16295
|
+
* Returns whether this field is set.
|
|
16296
|
+
* @return {boolean}
|
|
16297
|
+
*/
|
|
16298
|
+
proto.com.lansweeper.dp.outbound.v1.CloudAssetCustom.prototype.hasVendorName = function() {
|
|
16299
|
+
return jspb.Message.getField(this, 5) != null;
|
|
16300
|
+
};
|
|
16301
|
+
|
|
16302
|
+
|
|
16303
|
+
/**
|
|
16304
|
+
* optional string cost_center = 6;
|
|
16305
|
+
* @return {string}
|
|
16306
|
+
*/
|
|
16307
|
+
proto.com.lansweeper.dp.outbound.v1.CloudAssetCustom.prototype.getCostCenter = function() {
|
|
16308
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
16309
|
+
};
|
|
16310
|
+
|
|
16311
|
+
|
|
16312
|
+
/**
|
|
16313
|
+
* @param {string} value
|
|
16314
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.CloudAssetCustom} returns this
|
|
16315
|
+
*/
|
|
16316
|
+
proto.com.lansweeper.dp.outbound.v1.CloudAssetCustom.prototype.setCostCenter = function(value) {
|
|
16317
|
+
return jspb.Message.setField(this, 6, value);
|
|
16318
|
+
};
|
|
16319
|
+
|
|
16320
|
+
|
|
16321
|
+
/**
|
|
16322
|
+
* Clears the field making it undefined.
|
|
16323
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.CloudAssetCustom} returns this
|
|
16324
|
+
*/
|
|
16325
|
+
proto.com.lansweeper.dp.outbound.v1.CloudAssetCustom.prototype.clearCostCenter = function() {
|
|
16326
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
16327
|
+
};
|
|
16328
|
+
|
|
16329
|
+
|
|
16330
|
+
/**
|
|
16331
|
+
* Returns whether this field is set.
|
|
16332
|
+
* @return {boolean}
|
|
16333
|
+
*/
|
|
16334
|
+
proto.com.lansweeper.dp.outbound.v1.CloudAssetCustom.prototype.hasCostCenter = function() {
|
|
16335
|
+
return jspb.Message.getField(this, 6) != null;
|
|
16336
|
+
};
|
|
16337
|
+
|
|
16338
|
+
|
|
16339
|
+
/**
|
|
16340
|
+
* optional string acquisition_type = 7;
|
|
16341
|
+
* @return {string}
|
|
16342
|
+
*/
|
|
16343
|
+
proto.com.lansweeper.dp.outbound.v1.CloudAssetCustom.prototype.getAcquisitionType = function() {
|
|
16344
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
16345
|
+
};
|
|
16346
|
+
|
|
16347
|
+
|
|
16348
|
+
/**
|
|
16349
|
+
* @param {string} value
|
|
16350
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.CloudAssetCustom} returns this
|
|
16351
|
+
*/
|
|
16352
|
+
proto.com.lansweeper.dp.outbound.v1.CloudAssetCustom.prototype.setAcquisitionType = function(value) {
|
|
16353
|
+
return jspb.Message.setField(this, 7, value);
|
|
16354
|
+
};
|
|
16355
|
+
|
|
16356
|
+
|
|
16357
|
+
/**
|
|
16358
|
+
* Clears the field making it undefined.
|
|
16359
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.CloudAssetCustom} returns this
|
|
16360
|
+
*/
|
|
16361
|
+
proto.com.lansweeper.dp.outbound.v1.CloudAssetCustom.prototype.clearAcquisitionType = function() {
|
|
16362
|
+
return jspb.Message.setField(this, 7, undefined);
|
|
16363
|
+
};
|
|
16364
|
+
|
|
16365
|
+
|
|
16366
|
+
/**
|
|
16367
|
+
* Returns whether this field is set.
|
|
16368
|
+
* @return {boolean}
|
|
16369
|
+
*/
|
|
16370
|
+
proto.com.lansweeper.dp.outbound.v1.CloudAssetCustom.prototype.hasAcquisitionType = function() {
|
|
16371
|
+
return jspb.Message.getField(this, 7) != null;
|
|
16372
|
+
};
|
|
16373
|
+
|
|
16374
|
+
|
|
15866
16375
|
|
|
15867
16376
|
/**
|
|
15868
16377
|
* List of repeated fields within this message type.
|