@lansweeper/discovery-cloud-proto 0.0.29 → 0.0.31

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.
@@ -76,6 +76,11 @@ export class CloudEntity extends jspb.Message {
76
76
  getResourceGroup(): string;
77
77
  setResourceGroup(value: string): CloudEntity;
78
78
 
79
+ hasResourceId(): boolean;
80
+ clearResourceId(): void;
81
+ getResourceId(): string | undefined;
82
+ setResourceId(value: string): CloudEntity;
83
+
79
84
  serializeBinary(): Uint8Array;
80
85
  toObject(includeInstance?: boolean): CloudEntity.AsObject;
81
86
  static toObject(includeInstance: boolean, msg: CloudEntity): CloudEntity.AsObject;
@@ -110,6 +115,7 @@ export namespace CloudEntity {
110
115
  tenantId: string,
111
116
  tenantName: string,
112
117
  resourceGroup: string,
118
+ resourceId?: string,
113
119
  }
114
120
  }
115
121
 
@@ -45355,3 +45361,20 @@ export namespace GcpExternalIpAddress {
45355
45361
  export type AsObject = {
45356
45362
  }
45357
45363
  }
45364
+
45365
+ export class AzureMicrosoftAzureSubscription extends jspb.Message {
45366
+
45367
+ serializeBinary(): Uint8Array;
45368
+ toObject(includeInstance?: boolean): AzureMicrosoftAzureSubscription.AsObject;
45369
+ static toObject(includeInstance: boolean, msg: AzureMicrosoftAzureSubscription): AzureMicrosoftAzureSubscription.AsObject;
45370
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
45371
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
45372
+ static serializeBinaryToWriter(message: AzureMicrosoftAzureSubscription, writer: jspb.BinaryWriter): void;
45373
+ static deserializeBinary(bytes: Uint8Array): AzureMicrosoftAzureSubscription;
45374
+ static deserializeBinaryFromReader(message: AzureMicrosoftAzureSubscription, reader: jspb.BinaryReader): AzureMicrosoftAzureSubscription;
45375
+ }
45376
+
45377
+ export namespace AzureMicrosoftAzureSubscription {
45378
+ export type AsObject = {
45379
+ }
45380
+ }
@@ -252,6 +252,7 @@ goog.exportSymbol('proto.com.lansweeper.discovery.cloud.api.v1.AzureMicrosoftAvd
252
252
  goog.exportSymbol('proto.com.lansweeper.discovery.cloud.api.v1.AzureMicrosoftAvdScalingPlan', null, global);
253
253
  goog.exportSymbol('proto.com.lansweeper.discovery.cloud.api.v1.AzureMicrosoftAvdSessionHost', null, global);
254
254
  goog.exportSymbol('proto.com.lansweeper.discovery.cloud.api.v1.AzureMicrosoftAvdWorkspace', null, global);
255
+ goog.exportSymbol('proto.com.lansweeper.discovery.cloud.api.v1.AzureMicrosoftAzureSubscription', null, global);
255
256
  goog.exportSymbol('proto.com.lansweeper.discovery.cloud.api.v1.AzureMicrosoftBatch', null, global);
256
257
  goog.exportSymbol('proto.com.lansweeper.discovery.cloud.api.v1.AzureMicrosoftBlobServiceCorsRule', null, global);
257
258
  goog.exportSymbol('proto.com.lansweeper.discovery.cloud.api.v1.AzureMicrosoftBlueprint', null, global);
@@ -12765,6 +12766,27 @@ if (goog.DEBUG && !COMPILED) {
12765
12766
  */
12766
12767
  proto.com.lansweeper.discovery.cloud.api.v1.GcpExternalIpAddress.displayName = 'proto.com.lansweeper.discovery.cloud.api.v1.GcpExternalIpAddress';
12767
12768
  }
12769
+ /**
12770
+ * Generated by JsPbCodeGenerator.
12771
+ * @param {Array=} opt_data Optional initial data array, typically from a
12772
+ * server response, or constructed directly in Javascript. The array is used
12773
+ * in place and becomes part of the constructed object. It is not cloned.
12774
+ * If no data is provided, the constructed object will be empty, but still
12775
+ * valid.
12776
+ * @extends {jspb.Message}
12777
+ * @constructor
12778
+ */
12779
+ proto.com.lansweeper.discovery.cloud.api.v1.AzureMicrosoftAzureSubscription = function(opt_data) {
12780
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
12781
+ };
12782
+ goog.inherits(proto.com.lansweeper.discovery.cloud.api.v1.AzureMicrosoftAzureSubscription, jspb.Message);
12783
+ if (goog.DEBUG && !COMPILED) {
12784
+ /**
12785
+ * @public
12786
+ * @override
12787
+ */
12788
+ proto.com.lansweeper.discovery.cloud.api.v1.AzureMicrosoftAzureSubscription.displayName = 'proto.com.lansweeper.discovery.cloud.api.v1.AzureMicrosoftAzureSubscription';
12789
+ }
12768
12790
 
12769
12791
  /**
12770
12792
  * List of repeated fields within this message type.
@@ -12828,7 +12850,8 @@ proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.toObject = function(incl
12828
12850
  location: jspb.Message.getFieldWithDefault(msg, 19, ""),
12829
12851
  tenantId: jspb.Message.getFieldWithDefault(msg, 20, ""),
12830
12852
  tenantName: jspb.Message.getFieldWithDefault(msg, 21, ""),
12831
- resourceGroup: jspb.Message.getFieldWithDefault(msg, 22, "")
12853
+ resourceGroup: jspb.Message.getFieldWithDefault(msg, 22, ""),
12854
+ resourceId: jspb.Message.getFieldWithDefault(msg, 23, "")
12832
12855
  };
12833
12856
 
12834
12857
  if (includeInstance) {
@@ -12958,6 +12981,10 @@ proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.deserializeBinaryFromRea
12958
12981
  var value = /** @type {string} */ (reader.readString());
12959
12982
  msg.setResourceGroup(value);
12960
12983
  break;
12984
+ case 23:
12985
+ var value = /** @type {string} */ (reader.readString());
12986
+ msg.setResourceId(value);
12987
+ break;
12961
12988
  default:
12962
12989
  reader.skipField();
12963
12990
  break;
@@ -13146,6 +13173,13 @@ proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.serializeBinaryToWriter
13146
13173
  f
13147
13174
  );
13148
13175
  }
13176
+ f = /** @type {string} */ (jspb.Message.getField(message, 23));
13177
+ if (f != null) {
13178
+ writer.writeString(
13179
+ 23,
13180
+ f
13181
+ );
13182
+ }
13149
13183
  };
13150
13184
 
13151
13185
 
@@ -13697,6 +13731,42 @@ proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.setResourceGro
13697
13731
  };
13698
13732
 
13699
13733
 
13734
+ /**
13735
+ * optional string resource_id = 23;
13736
+ * @return {string}
13737
+ */
13738
+ proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.getResourceId = function() {
13739
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 23, ""));
13740
+ };
13741
+
13742
+
13743
+ /**
13744
+ * @param {string} value
13745
+ * @return {!proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity} returns this
13746
+ */
13747
+ proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.setResourceId = function(value) {
13748
+ return jspb.Message.setField(this, 23, value);
13749
+ };
13750
+
13751
+
13752
+ /**
13753
+ * Clears the field making it undefined.
13754
+ * @return {!proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity} returns this
13755
+ */
13756
+ proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.clearResourceId = function() {
13757
+ return jspb.Message.setField(this, 23, undefined);
13758
+ };
13759
+
13760
+
13761
+ /**
13762
+ * Returns whether this field is set.
13763
+ * @return {boolean}
13764
+ */
13765
+ proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.hasResourceId = function() {
13766
+ return jspb.Message.getField(this, 23) != null;
13767
+ };
13768
+
13769
+
13700
13770
 
13701
13771
 
13702
13772
 
@@ -388924,4 +388994,105 @@ proto.com.lansweeper.discovery.cloud.api.v1.GcpExternalIpAddress.serializeBinary
388924
388994
  };
388925
388995
 
388926
388996
 
388997
+
388998
+
388999
+
389000
+ if (jspb.Message.GENERATE_TO_OBJECT) {
389001
+ /**
389002
+ * Creates an object representation of this proto.
389003
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
389004
+ * Optional fields that are not set will be set to undefined.
389005
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
389006
+ * For the list of reserved names please see:
389007
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
389008
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
389009
+ * JSPB instance for transitional soy proto support:
389010
+ * http://goto/soy-param-migration
389011
+ * @return {!Object}
389012
+ */
389013
+ proto.com.lansweeper.discovery.cloud.api.v1.AzureMicrosoftAzureSubscription.prototype.toObject = function(opt_includeInstance) {
389014
+ return proto.com.lansweeper.discovery.cloud.api.v1.AzureMicrosoftAzureSubscription.toObject(opt_includeInstance, this);
389015
+ };
389016
+
389017
+
389018
+ /**
389019
+ * Static version of the {@see toObject} method.
389020
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
389021
+ * the JSPB instance for transitional soy proto support:
389022
+ * http://goto/soy-param-migration
389023
+ * @param {!proto.com.lansweeper.discovery.cloud.api.v1.AzureMicrosoftAzureSubscription} msg The msg instance to transform.
389024
+ * @return {!Object}
389025
+ * @suppress {unusedLocalVariables} f is only used for nested messages
389026
+ */
389027
+ proto.com.lansweeper.discovery.cloud.api.v1.AzureMicrosoftAzureSubscription.toObject = function(includeInstance, msg) {
389028
+ var f, obj = {
389029
+
389030
+ };
389031
+
389032
+ if (includeInstance) {
389033
+ obj.$jspbMessageInstance = msg;
389034
+ }
389035
+ return obj;
389036
+ };
389037
+ }
389038
+
389039
+
389040
+ /**
389041
+ * Deserializes binary data (in protobuf wire format).
389042
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
389043
+ * @return {!proto.com.lansweeper.discovery.cloud.api.v1.AzureMicrosoftAzureSubscription}
389044
+ */
389045
+ proto.com.lansweeper.discovery.cloud.api.v1.AzureMicrosoftAzureSubscription.deserializeBinary = function(bytes) {
389046
+ var reader = new jspb.BinaryReader(bytes);
389047
+ var msg = new proto.com.lansweeper.discovery.cloud.api.v1.AzureMicrosoftAzureSubscription;
389048
+ return proto.com.lansweeper.discovery.cloud.api.v1.AzureMicrosoftAzureSubscription.deserializeBinaryFromReader(msg, reader);
389049
+ };
389050
+
389051
+
389052
+ /**
389053
+ * Deserializes binary data (in protobuf wire format) from the
389054
+ * given reader into the given message object.
389055
+ * @param {!proto.com.lansweeper.discovery.cloud.api.v1.AzureMicrosoftAzureSubscription} msg The message object to deserialize into.
389056
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
389057
+ * @return {!proto.com.lansweeper.discovery.cloud.api.v1.AzureMicrosoftAzureSubscription}
389058
+ */
389059
+ proto.com.lansweeper.discovery.cloud.api.v1.AzureMicrosoftAzureSubscription.deserializeBinaryFromReader = function(msg, reader) {
389060
+ while (reader.nextField()) {
389061
+ if (reader.isEndGroup()) {
389062
+ break;
389063
+ }
389064
+ var field = reader.getFieldNumber();
389065
+ switch (field) {
389066
+ default:
389067
+ reader.skipField();
389068
+ break;
389069
+ }
389070
+ }
389071
+ return msg;
389072
+ };
389073
+
389074
+
389075
+ /**
389076
+ * Serializes the message to binary data (in protobuf wire format).
389077
+ * @return {!Uint8Array}
389078
+ */
389079
+ proto.com.lansweeper.discovery.cloud.api.v1.AzureMicrosoftAzureSubscription.prototype.serializeBinary = function() {
389080
+ var writer = new jspb.BinaryWriter();
389081
+ proto.com.lansweeper.discovery.cloud.api.v1.AzureMicrosoftAzureSubscription.serializeBinaryToWriter(this, writer);
389082
+ return writer.getResultBuffer();
389083
+ };
389084
+
389085
+
389086
+ /**
389087
+ * Serializes the given message to binary data (in protobuf wire
389088
+ * format), writing to the given BinaryWriter.
389089
+ * @param {!proto.com.lansweeper.discovery.cloud.api.v1.AzureMicrosoftAzureSubscription} message
389090
+ * @param {!jspb.BinaryWriter} writer
389091
+ * @suppress {unusedLocalVariables} f is only used for nested messages
389092
+ */
389093
+ proto.com.lansweeper.discovery.cloud.api.v1.AzureMicrosoftAzureSubscription.serializeBinaryToWriter = function(message, writer) {
389094
+ var f = undefined;
389095
+ };
389096
+
389097
+
388927
389098
  goog.object.extend(exports, proto.com.lansweeper.discovery.cloud.api.v1);