@lansweeper/discovery-cloud-proto 0.0.6 → 0.0.7
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.
|
@@ -13,11 +13,17 @@ export class CloudEntity extends jspb.Message {
|
|
|
13
13
|
setEntityName(value: string): CloudEntity;
|
|
14
14
|
getEntityId(): string;
|
|
15
15
|
setEntityId(value: string): CloudEntity;
|
|
16
|
+
getAssetTypeId(): string;
|
|
17
|
+
setAssetTypeId(value: string): CloudEntity;
|
|
18
|
+
getAssetName(): string;
|
|
19
|
+
setAssetName(value: string): CloudEntity;
|
|
20
|
+
getAssetTypeName(): string;
|
|
21
|
+
setAssetTypeName(value: string): CloudEntity;
|
|
16
22
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
23
|
+
hasPublicCloudProperties(): boolean;
|
|
24
|
+
clearPublicCloudProperties(): void;
|
|
25
|
+
getPublicCloudProperties(): google_protobuf_any_pb.Any | undefined;
|
|
26
|
+
setPublicCloudProperties(value?: google_protobuf_any_pb.Any): CloudEntity;
|
|
21
27
|
|
|
22
28
|
serializeBinary(): Uint8Array;
|
|
23
29
|
toObject(includeInstance?: boolean): CloudEntity.AsObject;
|
|
@@ -33,7 +39,10 @@ export namespace CloudEntity {
|
|
|
33
39
|
export type AsObject = {
|
|
34
40
|
entityName: string,
|
|
35
41
|
entityId: string,
|
|
36
|
-
|
|
42
|
+
assetTypeId: string,
|
|
43
|
+
assetName: string,
|
|
44
|
+
assetTypeName: string,
|
|
45
|
+
publicCloudProperties?: google_protobuf_any_pb.Any.AsObject,
|
|
37
46
|
}
|
|
38
47
|
}
|
|
39
48
|
|
|
@@ -10899,7 +10899,10 @@ proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.toObject = function(incl
|
|
|
10899
10899
|
var f, obj = {
|
|
10900
10900
|
entityName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
10901
10901
|
entityId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
10902
|
-
|
|
10902
|
+
assetTypeId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
10903
|
+
assetName: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
10904
|
+
assetTypeName: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
10905
|
+
publicCloudProperties: (f = msg.getPublicCloudProperties()) && google_protobuf_any_pb.Any.toObject(includeInstance, f)
|
|
10903
10906
|
};
|
|
10904
10907
|
|
|
10905
10908
|
if (includeInstance) {
|
|
@@ -10945,9 +10948,21 @@ proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.deserializeBinaryFromRea
|
|
|
10945
10948
|
msg.setEntityId(value);
|
|
10946
10949
|
break;
|
|
10947
10950
|
case 3:
|
|
10951
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10952
|
+
msg.setAssetTypeId(value);
|
|
10953
|
+
break;
|
|
10954
|
+
case 4:
|
|
10955
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10956
|
+
msg.setAssetName(value);
|
|
10957
|
+
break;
|
|
10958
|
+
case 5:
|
|
10959
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10960
|
+
msg.setAssetTypeName(value);
|
|
10961
|
+
break;
|
|
10962
|
+
case 6:
|
|
10948
10963
|
var value = new google_protobuf_any_pb.Any;
|
|
10949
10964
|
reader.readMessage(value,google_protobuf_any_pb.Any.deserializeBinaryFromReader);
|
|
10950
|
-
msg.
|
|
10965
|
+
msg.setPublicCloudProperties(value);
|
|
10951
10966
|
break;
|
|
10952
10967
|
default:
|
|
10953
10968
|
reader.skipField();
|
|
@@ -10992,10 +11007,31 @@ proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.serializeBinaryToWriter
|
|
|
10992
11007
|
f
|
|
10993
11008
|
);
|
|
10994
11009
|
}
|
|
10995
|
-
f = message.
|
|
11010
|
+
f = message.getAssetTypeId();
|
|
11011
|
+
if (f.length > 0) {
|
|
11012
|
+
writer.writeString(
|
|
11013
|
+
3,
|
|
11014
|
+
f
|
|
11015
|
+
);
|
|
11016
|
+
}
|
|
11017
|
+
f = message.getAssetName();
|
|
11018
|
+
if (f.length > 0) {
|
|
11019
|
+
writer.writeString(
|
|
11020
|
+
4,
|
|
11021
|
+
f
|
|
11022
|
+
);
|
|
11023
|
+
}
|
|
11024
|
+
f = message.getAssetTypeName();
|
|
11025
|
+
if (f.length > 0) {
|
|
11026
|
+
writer.writeString(
|
|
11027
|
+
5,
|
|
11028
|
+
f
|
|
11029
|
+
);
|
|
11030
|
+
}
|
|
11031
|
+
f = message.getPublicCloudProperties();
|
|
10996
11032
|
if (f != null) {
|
|
10997
11033
|
writer.writeMessage(
|
|
10998
|
-
|
|
11034
|
+
6,
|
|
10999
11035
|
f,
|
|
11000
11036
|
google_protobuf_any_pb.Any.serializeBinaryToWriter
|
|
11001
11037
|
);
|
|
@@ -11040,12 +11076,66 @@ proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.setEntityId =
|
|
|
11040
11076
|
|
|
11041
11077
|
|
|
11042
11078
|
/**
|
|
11043
|
-
* optional
|
|
11079
|
+
* optional string asset_type_id = 3;
|
|
11080
|
+
* @return {string}
|
|
11081
|
+
*/
|
|
11082
|
+
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.getAssetTypeId = function() {
|
|
11083
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
11084
|
+
};
|
|
11085
|
+
|
|
11086
|
+
|
|
11087
|
+
/**
|
|
11088
|
+
* @param {string} value
|
|
11089
|
+
* @return {!proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity} returns this
|
|
11090
|
+
*/
|
|
11091
|
+
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.setAssetTypeId = function(value) {
|
|
11092
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
11093
|
+
};
|
|
11094
|
+
|
|
11095
|
+
|
|
11096
|
+
/**
|
|
11097
|
+
* optional string asset_name = 4;
|
|
11098
|
+
* @return {string}
|
|
11099
|
+
*/
|
|
11100
|
+
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.getAssetName = function() {
|
|
11101
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
11102
|
+
};
|
|
11103
|
+
|
|
11104
|
+
|
|
11105
|
+
/**
|
|
11106
|
+
* @param {string} value
|
|
11107
|
+
* @return {!proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity} returns this
|
|
11108
|
+
*/
|
|
11109
|
+
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.setAssetName = function(value) {
|
|
11110
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
11111
|
+
};
|
|
11112
|
+
|
|
11113
|
+
|
|
11114
|
+
/**
|
|
11115
|
+
* optional string asset_type_name = 5;
|
|
11116
|
+
* @return {string}
|
|
11117
|
+
*/
|
|
11118
|
+
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.getAssetTypeName = function() {
|
|
11119
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
11120
|
+
};
|
|
11121
|
+
|
|
11122
|
+
|
|
11123
|
+
/**
|
|
11124
|
+
* @param {string} value
|
|
11125
|
+
* @return {!proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity} returns this
|
|
11126
|
+
*/
|
|
11127
|
+
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.setAssetTypeName = function(value) {
|
|
11128
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
11129
|
+
};
|
|
11130
|
+
|
|
11131
|
+
|
|
11132
|
+
/**
|
|
11133
|
+
* optional google.protobuf.Any public_cloud_properties = 6;
|
|
11044
11134
|
* @return {?proto.google.protobuf.Any}
|
|
11045
11135
|
*/
|
|
11046
|
-
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.
|
|
11136
|
+
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.getPublicCloudProperties = function() {
|
|
11047
11137
|
return /** @type{?proto.google.protobuf.Any} */ (
|
|
11048
|
-
jspb.Message.getWrapperField(this, google_protobuf_any_pb.Any,
|
|
11138
|
+
jspb.Message.getWrapperField(this, google_protobuf_any_pb.Any, 6));
|
|
11049
11139
|
};
|
|
11050
11140
|
|
|
11051
11141
|
|
|
@@ -11053,8 +11143,8 @@ proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.getBody = func
|
|
|
11053
11143
|
* @param {?proto.google.protobuf.Any|undefined} value
|
|
11054
11144
|
* @return {!proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity} returns this
|
|
11055
11145
|
*/
|
|
11056
|
-
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.
|
|
11057
|
-
return jspb.Message.setWrapperField(this,
|
|
11146
|
+
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.setPublicCloudProperties = function(value) {
|
|
11147
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
|
11058
11148
|
};
|
|
11059
11149
|
|
|
11060
11150
|
|
|
@@ -11062,8 +11152,8 @@ proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.setBody = func
|
|
|
11062
11152
|
* Clears the message field making it undefined.
|
|
11063
11153
|
* @return {!proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity} returns this
|
|
11064
11154
|
*/
|
|
11065
|
-
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.
|
|
11066
|
-
return this.
|
|
11155
|
+
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.clearPublicCloudProperties = function() {
|
|
11156
|
+
return this.setPublicCloudProperties(undefined);
|
|
11067
11157
|
};
|
|
11068
11158
|
|
|
11069
11159
|
|
|
@@ -11071,8 +11161,8 @@ proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.clearBody = fu
|
|
|
11071
11161
|
* Returns whether this field is set.
|
|
11072
11162
|
* @return {boolean}
|
|
11073
11163
|
*/
|
|
11074
|
-
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.
|
|
11075
|
-
return jspb.Message.getField(this,
|
|
11164
|
+
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.hasPublicCloudProperties = function() {
|
|
11165
|
+
return jspb.Message.getField(this, 6) != null;
|
|
11076
11166
|
};
|
|
11077
11167
|
|
|
11078
11168
|
|