@lansweeper/discovery-cloud-proto 0.0.6 → 0.0.8
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,27 @@ 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
|
+
hasIpAddress(): boolean;
|
|
24
|
+
clearIpAddress(): void;
|
|
25
|
+
getIpAddress(): string | undefined;
|
|
26
|
+
setIpAddress(value: string): CloudEntity;
|
|
27
|
+
|
|
28
|
+
hasMac(): boolean;
|
|
29
|
+
clearMac(): void;
|
|
30
|
+
getMac(): string | undefined;
|
|
31
|
+
setMac(value: string): CloudEntity;
|
|
32
|
+
|
|
33
|
+
hasPublicCloudProperties(): boolean;
|
|
34
|
+
clearPublicCloudProperties(): void;
|
|
35
|
+
getPublicCloudProperties(): google_protobuf_any_pb.Any | undefined;
|
|
36
|
+
setPublicCloudProperties(value?: google_protobuf_any_pb.Any): CloudEntity;
|
|
21
37
|
|
|
22
38
|
serializeBinary(): Uint8Array;
|
|
23
39
|
toObject(includeInstance?: boolean): CloudEntity.AsObject;
|
|
@@ -33,7 +49,12 @@ export namespace CloudEntity {
|
|
|
33
49
|
export type AsObject = {
|
|
34
50
|
entityName: string,
|
|
35
51
|
entityId: string,
|
|
36
|
-
|
|
52
|
+
assetTypeId: string,
|
|
53
|
+
assetName: string,
|
|
54
|
+
assetTypeName: string,
|
|
55
|
+
ipAddress?: string,
|
|
56
|
+
mac?: string,
|
|
57
|
+
publicCloudProperties?: google_protobuf_any_pb.Any.AsObject,
|
|
37
58
|
}
|
|
38
59
|
}
|
|
39
60
|
|
|
@@ -10899,7 +10899,12 @@ 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
|
+
ipAddress: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
10906
|
+
mac: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
10907
|
+
publicCloudProperties: (f = msg.getPublicCloudProperties()) && google_protobuf_any_pb.Any.toObject(includeInstance, f)
|
|
10903
10908
|
};
|
|
10904
10909
|
|
|
10905
10910
|
if (includeInstance) {
|
|
@@ -10945,9 +10950,29 @@ proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.deserializeBinaryFromRea
|
|
|
10945
10950
|
msg.setEntityId(value);
|
|
10946
10951
|
break;
|
|
10947
10952
|
case 3:
|
|
10953
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10954
|
+
msg.setAssetTypeId(value);
|
|
10955
|
+
break;
|
|
10956
|
+
case 4:
|
|
10957
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10958
|
+
msg.setAssetName(value);
|
|
10959
|
+
break;
|
|
10960
|
+
case 5:
|
|
10961
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10962
|
+
msg.setAssetTypeName(value);
|
|
10963
|
+
break;
|
|
10964
|
+
case 6:
|
|
10965
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10966
|
+
msg.setIpAddress(value);
|
|
10967
|
+
break;
|
|
10968
|
+
case 7:
|
|
10969
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10970
|
+
msg.setMac(value);
|
|
10971
|
+
break;
|
|
10972
|
+
case 8:
|
|
10948
10973
|
var value = new google_protobuf_any_pb.Any;
|
|
10949
10974
|
reader.readMessage(value,google_protobuf_any_pb.Any.deserializeBinaryFromReader);
|
|
10950
|
-
msg.
|
|
10975
|
+
msg.setPublicCloudProperties(value);
|
|
10951
10976
|
break;
|
|
10952
10977
|
default:
|
|
10953
10978
|
reader.skipField();
|
|
@@ -10992,10 +11017,45 @@ proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.serializeBinaryToWriter
|
|
|
10992
11017
|
f
|
|
10993
11018
|
);
|
|
10994
11019
|
}
|
|
10995
|
-
f = message.
|
|
11020
|
+
f = message.getAssetTypeId();
|
|
11021
|
+
if (f.length > 0) {
|
|
11022
|
+
writer.writeString(
|
|
11023
|
+
3,
|
|
11024
|
+
f
|
|
11025
|
+
);
|
|
11026
|
+
}
|
|
11027
|
+
f = message.getAssetName();
|
|
11028
|
+
if (f.length > 0) {
|
|
11029
|
+
writer.writeString(
|
|
11030
|
+
4,
|
|
11031
|
+
f
|
|
11032
|
+
);
|
|
11033
|
+
}
|
|
11034
|
+
f = message.getAssetTypeName();
|
|
11035
|
+
if (f.length > 0) {
|
|
11036
|
+
writer.writeString(
|
|
11037
|
+
5,
|
|
11038
|
+
f
|
|
11039
|
+
);
|
|
11040
|
+
}
|
|
11041
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 6));
|
|
11042
|
+
if (f != null) {
|
|
11043
|
+
writer.writeString(
|
|
11044
|
+
6,
|
|
11045
|
+
f
|
|
11046
|
+
);
|
|
11047
|
+
}
|
|
11048
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 7));
|
|
11049
|
+
if (f != null) {
|
|
11050
|
+
writer.writeString(
|
|
11051
|
+
7,
|
|
11052
|
+
f
|
|
11053
|
+
);
|
|
11054
|
+
}
|
|
11055
|
+
f = message.getPublicCloudProperties();
|
|
10996
11056
|
if (f != null) {
|
|
10997
11057
|
writer.writeMessage(
|
|
10998
|
-
|
|
11058
|
+
8,
|
|
10999
11059
|
f,
|
|
11000
11060
|
google_protobuf_any_pb.Any.serializeBinaryToWriter
|
|
11001
11061
|
);
|
|
@@ -11040,12 +11100,138 @@ proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.setEntityId =
|
|
|
11040
11100
|
|
|
11041
11101
|
|
|
11042
11102
|
/**
|
|
11043
|
-
* optional
|
|
11103
|
+
* optional string asset_type_id = 3;
|
|
11104
|
+
* @return {string}
|
|
11105
|
+
*/
|
|
11106
|
+
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.getAssetTypeId = function() {
|
|
11107
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
11108
|
+
};
|
|
11109
|
+
|
|
11110
|
+
|
|
11111
|
+
/**
|
|
11112
|
+
* @param {string} value
|
|
11113
|
+
* @return {!proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity} returns this
|
|
11114
|
+
*/
|
|
11115
|
+
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.setAssetTypeId = function(value) {
|
|
11116
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
11117
|
+
};
|
|
11118
|
+
|
|
11119
|
+
|
|
11120
|
+
/**
|
|
11121
|
+
* optional string asset_name = 4;
|
|
11122
|
+
* @return {string}
|
|
11123
|
+
*/
|
|
11124
|
+
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.getAssetName = function() {
|
|
11125
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
11126
|
+
};
|
|
11127
|
+
|
|
11128
|
+
|
|
11129
|
+
/**
|
|
11130
|
+
* @param {string} value
|
|
11131
|
+
* @return {!proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity} returns this
|
|
11132
|
+
*/
|
|
11133
|
+
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.setAssetName = function(value) {
|
|
11134
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
11135
|
+
};
|
|
11136
|
+
|
|
11137
|
+
|
|
11138
|
+
/**
|
|
11139
|
+
* optional string asset_type_name = 5;
|
|
11140
|
+
* @return {string}
|
|
11141
|
+
*/
|
|
11142
|
+
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.getAssetTypeName = function() {
|
|
11143
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
11144
|
+
};
|
|
11145
|
+
|
|
11146
|
+
|
|
11147
|
+
/**
|
|
11148
|
+
* @param {string} value
|
|
11149
|
+
* @return {!proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity} returns this
|
|
11150
|
+
*/
|
|
11151
|
+
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.setAssetTypeName = function(value) {
|
|
11152
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
11153
|
+
};
|
|
11154
|
+
|
|
11155
|
+
|
|
11156
|
+
/**
|
|
11157
|
+
* optional string ip_address = 6;
|
|
11158
|
+
* @return {string}
|
|
11159
|
+
*/
|
|
11160
|
+
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.getIpAddress = function() {
|
|
11161
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
11162
|
+
};
|
|
11163
|
+
|
|
11164
|
+
|
|
11165
|
+
/**
|
|
11166
|
+
* @param {string} value
|
|
11167
|
+
* @return {!proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity} returns this
|
|
11168
|
+
*/
|
|
11169
|
+
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.setIpAddress = function(value) {
|
|
11170
|
+
return jspb.Message.setField(this, 6, value);
|
|
11171
|
+
};
|
|
11172
|
+
|
|
11173
|
+
|
|
11174
|
+
/**
|
|
11175
|
+
* Clears the field making it undefined.
|
|
11176
|
+
* @return {!proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity} returns this
|
|
11177
|
+
*/
|
|
11178
|
+
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.clearIpAddress = function() {
|
|
11179
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
11180
|
+
};
|
|
11181
|
+
|
|
11182
|
+
|
|
11183
|
+
/**
|
|
11184
|
+
* Returns whether this field is set.
|
|
11185
|
+
* @return {boolean}
|
|
11186
|
+
*/
|
|
11187
|
+
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.hasIpAddress = function() {
|
|
11188
|
+
return jspb.Message.getField(this, 6) != null;
|
|
11189
|
+
};
|
|
11190
|
+
|
|
11191
|
+
|
|
11192
|
+
/**
|
|
11193
|
+
* optional string mac = 7;
|
|
11194
|
+
* @return {string}
|
|
11195
|
+
*/
|
|
11196
|
+
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.getMac = function() {
|
|
11197
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
11198
|
+
};
|
|
11199
|
+
|
|
11200
|
+
|
|
11201
|
+
/**
|
|
11202
|
+
* @param {string} value
|
|
11203
|
+
* @return {!proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity} returns this
|
|
11204
|
+
*/
|
|
11205
|
+
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.setMac = function(value) {
|
|
11206
|
+
return jspb.Message.setField(this, 7, value);
|
|
11207
|
+
};
|
|
11208
|
+
|
|
11209
|
+
|
|
11210
|
+
/**
|
|
11211
|
+
* Clears the field making it undefined.
|
|
11212
|
+
* @return {!proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity} returns this
|
|
11213
|
+
*/
|
|
11214
|
+
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.clearMac = function() {
|
|
11215
|
+
return jspb.Message.setField(this, 7, undefined);
|
|
11216
|
+
};
|
|
11217
|
+
|
|
11218
|
+
|
|
11219
|
+
/**
|
|
11220
|
+
* Returns whether this field is set.
|
|
11221
|
+
* @return {boolean}
|
|
11222
|
+
*/
|
|
11223
|
+
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.hasMac = function() {
|
|
11224
|
+
return jspb.Message.getField(this, 7) != null;
|
|
11225
|
+
};
|
|
11226
|
+
|
|
11227
|
+
|
|
11228
|
+
/**
|
|
11229
|
+
* optional google.protobuf.Any public_cloud_properties = 8;
|
|
11044
11230
|
* @return {?proto.google.protobuf.Any}
|
|
11045
11231
|
*/
|
|
11046
|
-
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.
|
|
11232
|
+
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.getPublicCloudProperties = function() {
|
|
11047
11233
|
return /** @type{?proto.google.protobuf.Any} */ (
|
|
11048
|
-
jspb.Message.getWrapperField(this, google_protobuf_any_pb.Any,
|
|
11234
|
+
jspb.Message.getWrapperField(this, google_protobuf_any_pb.Any, 8));
|
|
11049
11235
|
};
|
|
11050
11236
|
|
|
11051
11237
|
|
|
@@ -11053,8 +11239,8 @@ proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.getBody = func
|
|
|
11053
11239
|
* @param {?proto.google.protobuf.Any|undefined} value
|
|
11054
11240
|
* @return {!proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity} returns this
|
|
11055
11241
|
*/
|
|
11056
|
-
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.
|
|
11057
|
-
return jspb.Message.setWrapperField(this,
|
|
11242
|
+
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.setPublicCloudProperties = function(value) {
|
|
11243
|
+
return jspb.Message.setWrapperField(this, 8, value);
|
|
11058
11244
|
};
|
|
11059
11245
|
|
|
11060
11246
|
|
|
@@ -11062,8 +11248,8 @@ proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.setBody = func
|
|
|
11062
11248
|
* Clears the message field making it undefined.
|
|
11063
11249
|
* @return {!proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity} returns this
|
|
11064
11250
|
*/
|
|
11065
|
-
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.
|
|
11066
|
-
return this.
|
|
11251
|
+
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.clearPublicCloudProperties = function() {
|
|
11252
|
+
return this.setPublicCloudProperties(undefined);
|
|
11067
11253
|
};
|
|
11068
11254
|
|
|
11069
11255
|
|
|
@@ -11071,8 +11257,8 @@ proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.clearBody = fu
|
|
|
11071
11257
|
* Returns whether this field is set.
|
|
11072
11258
|
* @return {boolean}
|
|
11073
11259
|
*/
|
|
11074
|
-
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.
|
|
11075
|
-
return jspb.Message.getField(this,
|
|
11260
|
+
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.hasPublicCloudProperties = function() {
|
|
11261
|
+
return jspb.Message.getField(this, 8) != null;
|
|
11076
11262
|
};
|
|
11077
11263
|
|
|
11078
11264
|
|