@lansweeper/discovery-cloud-proto 0.0.4 → 0.0.6
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.
|
@@ -6,6 +6,36 @@
|
|
|
6
6
|
|
|
7
7
|
import * as jspb from "google-protobuf";
|
|
8
8
|
import * as google_protobuf_wrappers_pb from "google-protobuf/google/protobuf/wrappers_pb";
|
|
9
|
+
import * as google_protobuf_any_pb from "google-protobuf/google/protobuf/any_pb";
|
|
10
|
+
|
|
11
|
+
export class CloudEntity extends jspb.Message {
|
|
12
|
+
getEntityName(): string;
|
|
13
|
+
setEntityName(value: string): CloudEntity;
|
|
14
|
+
getEntityId(): string;
|
|
15
|
+
setEntityId(value: string): CloudEntity;
|
|
16
|
+
|
|
17
|
+
hasBody(): boolean;
|
|
18
|
+
clearBody(): void;
|
|
19
|
+
getBody(): google_protobuf_any_pb.Any | undefined;
|
|
20
|
+
setBody(value?: google_protobuf_any_pb.Any): CloudEntity;
|
|
21
|
+
|
|
22
|
+
serializeBinary(): Uint8Array;
|
|
23
|
+
toObject(includeInstance?: boolean): CloudEntity.AsObject;
|
|
24
|
+
static toObject(includeInstance: boolean, msg: CloudEntity): CloudEntity.AsObject;
|
|
25
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
26
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
27
|
+
static serializeBinaryToWriter(message: CloudEntity, writer: jspb.BinaryWriter): void;
|
|
28
|
+
static deserializeBinary(bytes: Uint8Array): CloudEntity;
|
|
29
|
+
static deserializeBinaryFromReader(message: CloudEntity, reader: jspb.BinaryReader): CloudEntity;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export namespace CloudEntity {
|
|
33
|
+
export type AsObject = {
|
|
34
|
+
entityName: string,
|
|
35
|
+
entityId: string,
|
|
36
|
+
body?: google_protobuf_any_pb.Any.AsObject,
|
|
37
|
+
}
|
|
38
|
+
}
|
|
9
39
|
|
|
10
40
|
export class GCPAppEngine extends jspb.Message {
|
|
11
41
|
|
|
@@ -17,6 +17,8 @@ var global = Function('return this')();
|
|
|
17
17
|
|
|
18
18
|
var google_protobuf_wrappers_pb = require('google-protobuf/google/protobuf/wrappers_pb.js');
|
|
19
19
|
goog.object.extend(proto, google_protobuf_wrappers_pb);
|
|
20
|
+
var google_protobuf_any_pb = require('google-protobuf/google/protobuf/any_pb.js');
|
|
21
|
+
goog.object.extend(proto, google_protobuf_any_pb);
|
|
20
22
|
goog.exportSymbol('proto.com.lansweeper.discovery.cloud.api.v1.ADKObject', null, global);
|
|
21
23
|
goog.exportSymbol('proto.com.lansweeper.discovery.cloud.api.v1.AmazonAPIGateway', null, global);
|
|
22
24
|
goog.exportSymbol('proto.com.lansweeper.discovery.cloud.api.v1.AmazonAPIGatewayMethods', null, global);
|
|
@@ -436,6 +438,7 @@ goog.exportSymbol('proto.com.lansweeper.discovery.cloud.api.v1.AzureVpnServerCon
|
|
|
436
438
|
goog.exportSymbol('proto.com.lansweeper.discovery.cloud.api.v1.AzureVpnSite', null, global);
|
|
437
439
|
goog.exportSymbol('proto.com.lansweeper.discovery.cloud.api.v1.AzureVpnSiteLink', null, global);
|
|
438
440
|
goog.exportSymbol('proto.com.lansweeper.discovery.cloud.api.v1.CDKRule', null, global);
|
|
441
|
+
goog.exportSymbol('proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity', null, global);
|
|
439
442
|
goog.exportSymbol('proto.com.lansweeper.discovery.cloud.api.v1.CloudockitTag', null, global);
|
|
440
443
|
goog.exportSymbol('proto.com.lansweeper.discovery.cloud.api.v1.DockerRepository', null, global);
|
|
441
444
|
goog.exportSymbol('proto.com.lansweeper.discovery.cloud.api.v1.DockerTag', null, global);
|
|
@@ -509,6 +512,27 @@ goog.exportSymbol('proto.com.lansweeper.discovery.cloud.api.v1.Route53RecordSet'
|
|
|
509
512
|
goog.exportSymbol('proto.com.lansweeper.discovery.cloud.api.v1.ServiceAccount', null, global);
|
|
510
513
|
goog.exportSymbol('proto.com.lansweeper.discovery.cloud.api.v1.SessionHostHealthStatus', null, global);
|
|
511
514
|
goog.exportSymbol('proto.com.lansweeper.discovery.cloud.api.v1.StandardObjectDifference', null, global);
|
|
515
|
+
/**
|
|
516
|
+
* Generated by JsPbCodeGenerator.
|
|
517
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
518
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
519
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
520
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
521
|
+
* valid.
|
|
522
|
+
* @extends {jspb.Message}
|
|
523
|
+
* @constructor
|
|
524
|
+
*/
|
|
525
|
+
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity = function(opt_data) {
|
|
526
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
527
|
+
};
|
|
528
|
+
goog.inherits(proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity, jspb.Message);
|
|
529
|
+
if (goog.DEBUG && !COMPILED) {
|
|
530
|
+
/**
|
|
531
|
+
* @public
|
|
532
|
+
* @override
|
|
533
|
+
*/
|
|
534
|
+
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.displayName = 'proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity';
|
|
535
|
+
}
|
|
512
536
|
/**
|
|
513
537
|
* Generated by JsPbCodeGenerator.
|
|
514
538
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -10842,6 +10866,217 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
10842
10866
|
proto.com.lansweeper.discovery.cloud.api.v1.AmazonWorkspaceDirectory.displayName = 'proto.com.lansweeper.discovery.cloud.api.v1.AmazonWorkspaceDirectory';
|
|
10843
10867
|
}
|
|
10844
10868
|
|
|
10869
|
+
|
|
10870
|
+
|
|
10871
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
10872
|
+
/**
|
|
10873
|
+
* Creates an object representation of this proto.
|
|
10874
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
10875
|
+
* Optional fields that are not set will be set to undefined.
|
|
10876
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
10877
|
+
* For the list of reserved names please see:
|
|
10878
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
10879
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
10880
|
+
* JSPB instance for transitional soy proto support:
|
|
10881
|
+
* http://goto/soy-param-migration
|
|
10882
|
+
* @return {!Object}
|
|
10883
|
+
*/
|
|
10884
|
+
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.toObject = function(opt_includeInstance) {
|
|
10885
|
+
return proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.toObject(opt_includeInstance, this);
|
|
10886
|
+
};
|
|
10887
|
+
|
|
10888
|
+
|
|
10889
|
+
/**
|
|
10890
|
+
* Static version of the {@see toObject} method.
|
|
10891
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
10892
|
+
* the JSPB instance for transitional soy proto support:
|
|
10893
|
+
* http://goto/soy-param-migration
|
|
10894
|
+
* @param {!proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity} msg The msg instance to transform.
|
|
10895
|
+
* @return {!Object}
|
|
10896
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10897
|
+
*/
|
|
10898
|
+
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.toObject = function(includeInstance, msg) {
|
|
10899
|
+
var f, obj = {
|
|
10900
|
+
entityName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
10901
|
+
entityId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
10902
|
+
body: (f = msg.getBody()) && google_protobuf_any_pb.Any.toObject(includeInstance, f)
|
|
10903
|
+
};
|
|
10904
|
+
|
|
10905
|
+
if (includeInstance) {
|
|
10906
|
+
obj.$jspbMessageInstance = msg;
|
|
10907
|
+
}
|
|
10908
|
+
return obj;
|
|
10909
|
+
};
|
|
10910
|
+
}
|
|
10911
|
+
|
|
10912
|
+
|
|
10913
|
+
/**
|
|
10914
|
+
* Deserializes binary data (in protobuf wire format).
|
|
10915
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
10916
|
+
* @return {!proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity}
|
|
10917
|
+
*/
|
|
10918
|
+
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.deserializeBinary = function(bytes) {
|
|
10919
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
10920
|
+
var msg = new proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity;
|
|
10921
|
+
return proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.deserializeBinaryFromReader(msg, reader);
|
|
10922
|
+
};
|
|
10923
|
+
|
|
10924
|
+
|
|
10925
|
+
/**
|
|
10926
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
10927
|
+
* given reader into the given message object.
|
|
10928
|
+
* @param {!proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity} msg The message object to deserialize into.
|
|
10929
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
10930
|
+
* @return {!proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity}
|
|
10931
|
+
*/
|
|
10932
|
+
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.deserializeBinaryFromReader = function(msg, reader) {
|
|
10933
|
+
while (reader.nextField()) {
|
|
10934
|
+
if (reader.isEndGroup()) {
|
|
10935
|
+
break;
|
|
10936
|
+
}
|
|
10937
|
+
var field = reader.getFieldNumber();
|
|
10938
|
+
switch (field) {
|
|
10939
|
+
case 1:
|
|
10940
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10941
|
+
msg.setEntityName(value);
|
|
10942
|
+
break;
|
|
10943
|
+
case 2:
|
|
10944
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10945
|
+
msg.setEntityId(value);
|
|
10946
|
+
break;
|
|
10947
|
+
case 3:
|
|
10948
|
+
var value = new google_protobuf_any_pb.Any;
|
|
10949
|
+
reader.readMessage(value,google_protobuf_any_pb.Any.deserializeBinaryFromReader);
|
|
10950
|
+
msg.setBody(value);
|
|
10951
|
+
break;
|
|
10952
|
+
default:
|
|
10953
|
+
reader.skipField();
|
|
10954
|
+
break;
|
|
10955
|
+
}
|
|
10956
|
+
}
|
|
10957
|
+
return msg;
|
|
10958
|
+
};
|
|
10959
|
+
|
|
10960
|
+
|
|
10961
|
+
/**
|
|
10962
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
10963
|
+
* @return {!Uint8Array}
|
|
10964
|
+
*/
|
|
10965
|
+
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.serializeBinary = function() {
|
|
10966
|
+
var writer = new jspb.BinaryWriter();
|
|
10967
|
+
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.serializeBinaryToWriter(this, writer);
|
|
10968
|
+
return writer.getResultBuffer();
|
|
10969
|
+
};
|
|
10970
|
+
|
|
10971
|
+
|
|
10972
|
+
/**
|
|
10973
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
10974
|
+
* format), writing to the given BinaryWriter.
|
|
10975
|
+
* @param {!proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity} message
|
|
10976
|
+
* @param {!jspb.BinaryWriter} writer
|
|
10977
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10978
|
+
*/
|
|
10979
|
+
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.serializeBinaryToWriter = function(message, writer) {
|
|
10980
|
+
var f = undefined;
|
|
10981
|
+
f = message.getEntityName();
|
|
10982
|
+
if (f.length > 0) {
|
|
10983
|
+
writer.writeString(
|
|
10984
|
+
1,
|
|
10985
|
+
f
|
|
10986
|
+
);
|
|
10987
|
+
}
|
|
10988
|
+
f = message.getEntityId();
|
|
10989
|
+
if (f.length > 0) {
|
|
10990
|
+
writer.writeString(
|
|
10991
|
+
2,
|
|
10992
|
+
f
|
|
10993
|
+
);
|
|
10994
|
+
}
|
|
10995
|
+
f = message.getBody();
|
|
10996
|
+
if (f != null) {
|
|
10997
|
+
writer.writeMessage(
|
|
10998
|
+
3,
|
|
10999
|
+
f,
|
|
11000
|
+
google_protobuf_any_pb.Any.serializeBinaryToWriter
|
|
11001
|
+
);
|
|
11002
|
+
}
|
|
11003
|
+
};
|
|
11004
|
+
|
|
11005
|
+
|
|
11006
|
+
/**
|
|
11007
|
+
* optional string entity_name = 1;
|
|
11008
|
+
* @return {string}
|
|
11009
|
+
*/
|
|
11010
|
+
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.getEntityName = function() {
|
|
11011
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
11012
|
+
};
|
|
11013
|
+
|
|
11014
|
+
|
|
11015
|
+
/**
|
|
11016
|
+
* @param {string} value
|
|
11017
|
+
* @return {!proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity} returns this
|
|
11018
|
+
*/
|
|
11019
|
+
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.setEntityName = function(value) {
|
|
11020
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
11021
|
+
};
|
|
11022
|
+
|
|
11023
|
+
|
|
11024
|
+
/**
|
|
11025
|
+
* optional string entity_id = 2;
|
|
11026
|
+
* @return {string}
|
|
11027
|
+
*/
|
|
11028
|
+
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.getEntityId = function() {
|
|
11029
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
11030
|
+
};
|
|
11031
|
+
|
|
11032
|
+
|
|
11033
|
+
/**
|
|
11034
|
+
* @param {string} value
|
|
11035
|
+
* @return {!proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity} returns this
|
|
11036
|
+
*/
|
|
11037
|
+
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.setEntityId = function(value) {
|
|
11038
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
11039
|
+
};
|
|
11040
|
+
|
|
11041
|
+
|
|
11042
|
+
/**
|
|
11043
|
+
* optional google.protobuf.Any body = 3;
|
|
11044
|
+
* @return {?proto.google.protobuf.Any}
|
|
11045
|
+
*/
|
|
11046
|
+
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.getBody = function() {
|
|
11047
|
+
return /** @type{?proto.google.protobuf.Any} */ (
|
|
11048
|
+
jspb.Message.getWrapperField(this, google_protobuf_any_pb.Any, 3));
|
|
11049
|
+
};
|
|
11050
|
+
|
|
11051
|
+
|
|
11052
|
+
/**
|
|
11053
|
+
* @param {?proto.google.protobuf.Any|undefined} value
|
|
11054
|
+
* @return {!proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity} returns this
|
|
11055
|
+
*/
|
|
11056
|
+
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.setBody = function(value) {
|
|
11057
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
11058
|
+
};
|
|
11059
|
+
|
|
11060
|
+
|
|
11061
|
+
/**
|
|
11062
|
+
* Clears the message field making it undefined.
|
|
11063
|
+
* @return {!proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity} returns this
|
|
11064
|
+
*/
|
|
11065
|
+
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.clearBody = function() {
|
|
11066
|
+
return this.setBody(undefined);
|
|
11067
|
+
};
|
|
11068
|
+
|
|
11069
|
+
|
|
11070
|
+
/**
|
|
11071
|
+
* Returns whether this field is set.
|
|
11072
|
+
* @return {boolean}
|
|
11073
|
+
*/
|
|
11074
|
+
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.hasBody = function() {
|
|
11075
|
+
return jspb.Message.getField(this, 3) != null;
|
|
11076
|
+
};
|
|
11077
|
+
|
|
11078
|
+
|
|
11079
|
+
|
|
10845
11080
|
/**
|
|
10846
11081
|
* List of repeated fields within this message type.
|
|
10847
11082
|
* @private {!Array<number>}
|