@lansweeper/data-platform-outbound-grpc 0.3.20 → 0.3.21

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.
Files changed (50) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/gen-proto/image.json +1 -1
  3. package/gen-proto/outbound_pb.d.ts +33 -8
  4. package/gen-proto/outbound_pb.js +225 -35
  5. package/generated-go/outbound.pb.go +375 -328
  6. package/java.json +1 -1
  7. package/model/pom.xml +1 -1
  8. package/model/src/main/proto/outbound.proto +7 -3
  9. package/model/target/classes/com/lansweeper/dp/outbound/v1/EsxiCluster$1.class +0 -0
  10. package/model/target/classes/com/lansweeper/dp/outbound/v1/EsxiCluster$Builder.class +0 -0
  11. package/model/target/classes/com/lansweeper/dp/outbound/v1/EsxiCluster$HypervisorsDefaultEntryHolder.class +0 -0
  12. package/model/target/classes/com/lansweeper/dp/outbound/v1/EsxiCluster.class +0 -0
  13. package/model/target/classes/com/lansweeper/dp/outbound/v1/EsxiClusterOrBuilder.class +0 -0
  14. package/model/target/classes/com/lansweeper/dp/outbound/v1/Outbound.class +0 -0
  15. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareDatastoreCluster$1.class +0 -0
  16. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareDatastoreCluster$Builder$DatastoresConverter.class +0 -0
  17. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareDatastoreCluster$Builder.class +0 -0
  18. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareDatastoreCluster$DatastoresDefaultEntryHolder.class +0 -0
  19. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareDatastoreCluster.class +0 -0
  20. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareDatastoreClusterOrBuilder.class +0 -0
  21. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiGuestVm$1.class +0 -0
  22. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiGuestVm$Builder$EsxiGuestSnapshotsConverter.class +0 -0
  23. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiGuestVm$Builder.class +0 -0
  24. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiGuestVm.class +0 -0
  25. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiGuestVmOrBuilder.class +0 -0
  26. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiHypervisor$1.class +0 -0
  27. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiHypervisor$Builder$EsxiHypervisorDatastoresConverter.class +0 -0
  28. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiHypervisor$Builder.class +0 -0
  29. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiHypervisor.class +0 -0
  30. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiHypervisorOrBuilder.class +0 -0
  31. package/model/target/classes/outbound.proto +7 -3
  32. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/EsxiCluster.java +200 -7
  33. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/EsxiClusterOrBuilder.java +31 -2
  34. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Outbound.java +368 -364
  35. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/VmwareDatastoreCluster.java +104 -306
  36. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/VmwareDatastoreClusterOrBuilder.java +8 -25
  37. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/VmwareEsxiGuestVm.java +114 -0
  38. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/VmwareEsxiGuestVmOrBuilder.java +19 -0
  39. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/VmwareEsxiHypervisor.java +334 -109
  40. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/VmwareEsxiHypervisorOrBuilder.java +51 -13
  41. package/model/target/maven-archiver/pom.properties +2 -2
  42. package/model/target/{outbound-model-0.3.19-sources.jar → outbound-model-0.3.20-sources.jar} +0 -0
  43. package/model/target/{outbound-model-0.3.19.jar → outbound-model-0.3.20.jar} +0 -0
  44. package/package.json +2 -2
  45. package/pom.xml +1 -1
  46. package/proto/outbound.proto +7 -3
  47. package/service/pom.xml +1 -1
  48. package/service/target/maven-archiver/pom.properties +2 -2
  49. package/service/target/{outbound-service-0.3.19-sources.jar → outbound-service-0.3.20-sources.jar} +0 -0
  50. package/service/target/{outbound-service-0.3.19.jar → outbound-service-0.3.20.jar} +0 -0
package/java.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.3.19",
2
+ "version": "0.3.20",
3
3
  "package": "com.lansweeper.dp.outbound.v1",
4
4
  "name": "outbound",
5
5
  "service": true
package/model/pom.xml CHANGED
@@ -6,7 +6,7 @@
6
6
  <parent>
7
7
  <groupId>com.lansweeper.dp.outbound.v1</groupId>
8
8
  <artifactId>parent</artifactId>
9
- <version>0.3.19</version>
9
+ <version>0.3.20</version>
10
10
  </parent>
11
11
 
12
12
  <artifactId>outbound-model</artifactId>
@@ -3834,7 +3834,7 @@ message VmwareEsxiHypervisor {
3834
3834
  optional uint64 up_time = 5; // Up time of the Esxi Hypervisor
3835
3835
  optional google.protobuf.Timestamp boot_time = 17; // Boot time of the Esxi Hypervisor
3836
3836
  optional uint64 host_max_virtual_disk_capacity = 6; // Maximum virtual disk capacity of the Esxi Hypervisor
3837
- optional string num_cpu_packages = 7; // Number of CPU packages of the Esxi Hypervisor
3837
+ optional uint32 num_cpu_packages = 7; // Number of CPU packages of the Esxi Hypervisor
3838
3838
  repeated string cpu_packages_descriptions = 8; // Descriptions of each CPU package of the Esxi Hypervisor
3839
3839
  optional uint32 num_nics = 9; // Number of NICs of the Esxi Hypervisor
3840
3840
  optional uint32 num_hbas = 10; // Number of HBAs of the Esxi Hypervisor
@@ -3850,6 +3850,8 @@ message VmwareEsxiHypervisor {
3850
3850
  optional string management_server_ip = 21; // Management server IP of the Esxi Hypervisor
3851
3851
  optional uint32 num_cpu = 22; // Number of CPU cores of the Esxi Hypervisor
3852
3852
  optional uint32 num_cores_per_socket = 23; // Number of cores per socket of the Esxi Hypervisor
3853
+ optional string version = 24; // Version of the Esxi Hypervisor
3854
+ optional uint64 memory_size = 25; // Memory size of the Esxi Hypervisor
3853
3855
  }
3854
3856
 
3855
3857
  /**
@@ -3876,6 +3878,7 @@ message VmwareEsxiGuestVm {
3876
3878
  optional google.protobuf.Timestamp boot_time = 17; // Boot time of the Esxi Guest VM
3877
3879
  optional string domain_name = 18; // Domain name of the Esxi Guest VM
3878
3880
  optional string config_name = 19; // Config name of the Esxi Guest VM
3881
+ optional double memory_size_mb = 21; // Memory size in MB of the Esxi Guest VM
3879
3882
  }
3880
3883
 
3881
3884
  /*
@@ -3922,7 +3925,7 @@ This can represent a single or multiple Esxi instances.
3922
3925
  If we get a single Esxi instance, we will have only one element in the list.
3923
3926
  */
3924
3927
  message EsxiCluster {
3925
- string uuid = 14; // Primary key of this cluster
3928
+ string uuid = 14; // Primary key of this cluster, the internal key from inbound
3926
3929
  string datacenter_key = 1; // Datacenter this cluster belongs to
3927
3930
  string vcenter_asset_key = 2; // Reference to the vCenter asset, which this message is child of
3928
3931
  optional string name = 3; // Name of the cluster
@@ -3936,6 +3939,7 @@ message EsxiCluster {
3936
3939
  optional uint32 total_effective_hosts = 11; // Total number of effective hosts in the cluster
3937
3940
  optional string status = 12; // Status of the cluster
3938
3941
  map<string, bool> hypervisors = 13; // Map of asset keys hypervisors in the cluster
3942
+ optional string parent_folder = 15; // Parent folder of the cluster
3939
3943
  }
3940
3944
 
3941
3945
  /**
@@ -3947,7 +3951,7 @@ message VmwareDatastoreCluster {
3947
3951
  optional string internal_key = 3; // Internal key
3948
3952
  optional string name = 4; // Name of the datastore cluster
3949
3953
  map<string, VmwareDatastore> datastores = 5; // Datastores, the key is the uuid
3950
- repeated DatastoreClusterStorageDrs storage_drs = 6; // Storage DRS
3954
+ optional DatastoreClusterStorageDrs storage_drs = 6; // Storage DRS
3951
3955
  repeated DatastoreClusterDrsPodConfigRule drs_pod_config_rule = 7; // DRS Pod Config Rule
3952
3956
  repeated DatastoreClusterDrsVmOverride drs_vm_override = 8; // DRS VM Override
3953
3957
  }
@@ -3834,7 +3834,7 @@ message VmwareEsxiHypervisor {
3834
3834
  optional uint64 up_time = 5; // Up time of the Esxi Hypervisor
3835
3835
  optional google.protobuf.Timestamp boot_time = 17; // Boot time of the Esxi Hypervisor
3836
3836
  optional uint64 host_max_virtual_disk_capacity = 6; // Maximum virtual disk capacity of the Esxi Hypervisor
3837
- optional string num_cpu_packages = 7; // Number of CPU packages of the Esxi Hypervisor
3837
+ optional uint32 num_cpu_packages = 7; // Number of CPU packages of the Esxi Hypervisor
3838
3838
  repeated string cpu_packages_descriptions = 8; // Descriptions of each CPU package of the Esxi Hypervisor
3839
3839
  optional uint32 num_nics = 9; // Number of NICs of the Esxi Hypervisor
3840
3840
  optional uint32 num_hbas = 10; // Number of HBAs of the Esxi Hypervisor
@@ -3850,6 +3850,8 @@ message VmwareEsxiHypervisor {
3850
3850
  optional string management_server_ip = 21; // Management server IP of the Esxi Hypervisor
3851
3851
  optional uint32 num_cpu = 22; // Number of CPU cores of the Esxi Hypervisor
3852
3852
  optional uint32 num_cores_per_socket = 23; // Number of cores per socket of the Esxi Hypervisor
3853
+ optional string version = 24; // Version of the Esxi Hypervisor
3854
+ optional uint64 memory_size = 25; // Memory size of the Esxi Hypervisor
3853
3855
  }
3854
3856
 
3855
3857
  /**
@@ -3876,6 +3878,7 @@ message VmwareEsxiGuestVm {
3876
3878
  optional google.protobuf.Timestamp boot_time = 17; // Boot time of the Esxi Guest VM
3877
3879
  optional string domain_name = 18; // Domain name of the Esxi Guest VM
3878
3880
  optional string config_name = 19; // Config name of the Esxi Guest VM
3881
+ optional double memory_size_mb = 21; // Memory size in MB of the Esxi Guest VM
3879
3882
  }
3880
3883
 
3881
3884
  /*
@@ -3922,7 +3925,7 @@ This can represent a single or multiple Esxi instances.
3922
3925
  If we get a single Esxi instance, we will have only one element in the list.
3923
3926
  */
3924
3927
  message EsxiCluster {
3925
- string uuid = 14; // Primary key of this cluster
3928
+ string uuid = 14; // Primary key of this cluster, the internal key from inbound
3926
3929
  string datacenter_key = 1; // Datacenter this cluster belongs to
3927
3930
  string vcenter_asset_key = 2; // Reference to the vCenter asset, which this message is child of
3928
3931
  optional string name = 3; // Name of the cluster
@@ -3936,6 +3939,7 @@ message EsxiCluster {
3936
3939
  optional uint32 total_effective_hosts = 11; // Total number of effective hosts in the cluster
3937
3940
  optional string status = 12; // Status of the cluster
3938
3941
  map<string, bool> hypervisors = 13; // Map of asset keys hypervisors in the cluster
3942
+ optional string parent_folder = 15; // Parent folder of the cluster
3939
3943
  }
3940
3944
 
3941
3945
  /**
@@ -3947,7 +3951,7 @@ message VmwareDatastoreCluster {
3947
3951
  optional string internal_key = 3; // Internal key
3948
3952
  optional string name = 4; // Name of the datastore cluster
3949
3953
  map<string, VmwareDatastore> datastores = 5; // Datastores, the key is the uuid
3950
- repeated DatastoreClusterStorageDrs storage_drs = 6; // Storage DRS
3954
+ optional DatastoreClusterStorageDrs storage_drs = 6; // Storage DRS
3951
3955
  repeated DatastoreClusterDrsPodConfigRule drs_pod_config_rule = 7; // DRS Pod Config Rule
3952
3956
  repeated DatastoreClusterDrsVmOverride drs_vm_override = 8; // DRS VM Override
3953
3957
  }
@@ -28,6 +28,7 @@ private static final long serialVersionUID = 0L;
28
28
  vcenterAssetKey_ = "";
29
29
  name_ = "";
30
30
  status_ = "";
31
+ parentFolder_ = "";
31
32
  }
32
33
 
33
34
  @java.lang.Override
@@ -68,7 +69,7 @@ private static final long serialVersionUID = 0L;
68
69
  private volatile java.lang.Object uuid_ = "";
69
70
  /**
70
71
  * <pre>
71
- * Primary key of this cluster
72
+ * Primary key of this cluster, the internal key from inbound
72
73
  * </pre>
73
74
  *
74
75
  * <code>string uuid = 14;</code>
@@ -89,7 +90,7 @@ private static final long serialVersionUID = 0L;
89
90
  }
90
91
  /**
91
92
  * <pre>
92
- * Primary key of this cluster
93
+ * Primary key of this cluster, the internal key from inbound
93
94
  * </pre>
94
95
  *
95
96
  * <code>string uuid = 14;</code>
@@ -631,6 +632,65 @@ private static final long serialVersionUID = 0L;
631
632
  return map.get(key);
632
633
  }
633
634
 
635
+ public static final int PARENT_FOLDER_FIELD_NUMBER = 15;
636
+ @SuppressWarnings("serial")
637
+ private volatile java.lang.Object parentFolder_ = "";
638
+ /**
639
+ * <pre>
640
+ * Parent folder of the cluster
641
+ * </pre>
642
+ *
643
+ * <code>optional string parent_folder = 15;</code>
644
+ * @return Whether the parentFolder field is set.
645
+ */
646
+ @java.lang.Override
647
+ public boolean hasParentFolder() {
648
+ return ((bitField0_ & 0x00000400) != 0);
649
+ }
650
+ /**
651
+ * <pre>
652
+ * Parent folder of the cluster
653
+ * </pre>
654
+ *
655
+ * <code>optional string parent_folder = 15;</code>
656
+ * @return The parentFolder.
657
+ */
658
+ @java.lang.Override
659
+ public java.lang.String getParentFolder() {
660
+ java.lang.Object ref = parentFolder_;
661
+ if (ref instanceof java.lang.String) {
662
+ return (java.lang.String) ref;
663
+ } else {
664
+ com.google.protobuf.ByteString bs =
665
+ (com.google.protobuf.ByteString) ref;
666
+ java.lang.String s = bs.toStringUtf8();
667
+ parentFolder_ = s;
668
+ return s;
669
+ }
670
+ }
671
+ /**
672
+ * <pre>
673
+ * Parent folder of the cluster
674
+ * </pre>
675
+ *
676
+ * <code>optional string parent_folder = 15;</code>
677
+ * @return The bytes for parentFolder.
678
+ */
679
+ @java.lang.Override
680
+ public com.google.protobuf.ByteString
681
+ getParentFolderBytes() {
682
+ java.lang.Object ref = parentFolder_;
683
+ if (ref instanceof java.lang.String) {
684
+ com.google.protobuf.ByteString b =
685
+ com.google.protobuf.ByteString.copyFromUtf8(
686
+ (java.lang.String) ref);
687
+ parentFolder_ = b;
688
+ return b;
689
+ } else {
690
+ return (com.google.protobuf.ByteString) ref;
691
+ }
692
+ }
693
+
634
694
  private byte memoizedIsInitialized = -1;
635
695
  @java.lang.Override
636
696
  public final boolean isInitialized() {
@@ -690,6 +750,9 @@ private static final long serialVersionUID = 0L;
690
750
  if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uuid_)) {
691
751
  com.google.protobuf.GeneratedMessageV3.writeString(output, 14, uuid_);
692
752
  }
753
+ if (((bitField0_ & 0x00000400) != 0)) {
754
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 15, parentFolder_);
755
+ }
693
756
  getUnknownFields().writeTo(output);
694
757
  }
695
758
 
@@ -756,6 +819,9 @@ private static final long serialVersionUID = 0L;
756
819
  if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uuid_)) {
757
820
  size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, uuid_);
758
821
  }
822
+ if (((bitField0_ & 0x00000400) != 0)) {
823
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, parentFolder_);
824
+ }
759
825
  size += getUnknownFields().getSerializedSize();
760
826
  memoizedSize = size;
761
827
  return size;
@@ -829,6 +895,11 @@ private static final long serialVersionUID = 0L;
829
895
  }
830
896
  if (!internalGetHypervisors().equals(
831
897
  other.internalGetHypervisors())) return false;
898
+ if (hasParentFolder() != other.hasParentFolder()) return false;
899
+ if (hasParentFolder()) {
900
+ if (!getParentFolder()
901
+ .equals(other.getParentFolder())) return false;
902
+ }
832
903
  if (!getUnknownFields().equals(other.getUnknownFields())) return false;
833
904
  return true;
834
905
  }
@@ -892,6 +963,10 @@ private static final long serialVersionUID = 0L;
892
963
  hash = (37 * hash) + HYPERVISORS_FIELD_NUMBER;
893
964
  hash = (53 * hash) + internalGetHypervisors().hashCode();
894
965
  }
966
+ if (hasParentFolder()) {
967
+ hash = (37 * hash) + PARENT_FOLDER_FIELD_NUMBER;
968
+ hash = (53 * hash) + getParentFolder().hashCode();
969
+ }
895
970
  hash = (29 * hash) + getUnknownFields().hashCode();
896
971
  memoizedHashCode = hash;
897
972
  return hash;
@@ -1065,6 +1140,7 @@ private static final long serialVersionUID = 0L;
1065
1140
  totalEffectiveHosts_ = 0;
1066
1141
  status_ = "";
1067
1142
  internalGetMutableHypervisors().clear();
1143
+ parentFolder_ = "";
1068
1144
  return this;
1069
1145
  }
1070
1146
 
@@ -1152,6 +1228,10 @@ private static final long serialVersionUID = 0L;
1152
1228
  result.hypervisors_ = internalGetHypervisors();
1153
1229
  result.hypervisors_.makeImmutable();
1154
1230
  }
1231
+ if (((from_bitField0_ & 0x00004000) != 0)) {
1232
+ result.parentFolder_ = parentFolder_;
1233
+ to_bitField0_ |= 0x00000400;
1234
+ }
1155
1235
  result.bitField0_ |= to_bitField0_;
1156
1236
  }
1157
1237
 
@@ -1251,6 +1331,11 @@ private static final long serialVersionUID = 0L;
1251
1331
  internalGetMutableHypervisors().mergeFrom(
1252
1332
  other.internalGetHypervisors());
1253
1333
  bitField0_ |= 0x00002000;
1334
+ if (other.hasParentFolder()) {
1335
+ parentFolder_ = other.parentFolder_;
1336
+ bitField0_ |= 0x00004000;
1337
+ onChanged();
1338
+ }
1254
1339
  this.mergeUnknownFields(other.getUnknownFields());
1255
1340
  onChanged();
1256
1341
  return this;
@@ -1351,6 +1436,11 @@ private static final long serialVersionUID = 0L;
1351
1436
  bitField0_ |= 0x00000001;
1352
1437
  break;
1353
1438
  } // case 114
1439
+ case 122: {
1440
+ parentFolder_ = input.readStringRequireUtf8();
1441
+ bitField0_ |= 0x00004000;
1442
+ break;
1443
+ } // case 122
1354
1444
  default: {
1355
1445
  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
1356
1446
  done = true; // was an endgroup tag
@@ -1371,7 +1461,7 @@ private static final long serialVersionUID = 0L;
1371
1461
  private java.lang.Object uuid_ = "";
1372
1462
  /**
1373
1463
  * <pre>
1374
- * Primary key of this cluster
1464
+ * Primary key of this cluster, the internal key from inbound
1375
1465
  * </pre>
1376
1466
  *
1377
1467
  * <code>string uuid = 14;</code>
@@ -1391,7 +1481,7 @@ private static final long serialVersionUID = 0L;
1391
1481
  }
1392
1482
  /**
1393
1483
  * <pre>
1394
- * Primary key of this cluster
1484
+ * Primary key of this cluster, the internal key from inbound
1395
1485
  * </pre>
1396
1486
  *
1397
1487
  * <code>string uuid = 14;</code>
@@ -1412,7 +1502,7 @@ private static final long serialVersionUID = 0L;
1412
1502
  }
1413
1503
  /**
1414
1504
  * <pre>
1415
- * Primary key of this cluster
1505
+ * Primary key of this cluster, the internal key from inbound
1416
1506
  * </pre>
1417
1507
  *
1418
1508
  * <code>string uuid = 14;</code>
@@ -1429,7 +1519,7 @@ private static final long serialVersionUID = 0L;
1429
1519
  }
1430
1520
  /**
1431
1521
  * <pre>
1432
- * Primary key of this cluster
1522
+ * Primary key of this cluster, the internal key from inbound
1433
1523
  * </pre>
1434
1524
  *
1435
1525
  * <code>string uuid = 14;</code>
@@ -1443,7 +1533,7 @@ private static final long serialVersionUID = 0L;
1443
1533
  }
1444
1534
  /**
1445
1535
  * <pre>
1446
- * Primary key of this cluster
1536
+ * Primary key of this cluster, the internal key from inbound
1447
1537
  * </pre>
1448
1538
  *
1449
1539
  * <code>string uuid = 14;</code>
@@ -2450,6 +2540,109 @@ private static final long serialVersionUID = 0L;
2450
2540
  bitField0_ |= 0x00002000;
2451
2541
  return this;
2452
2542
  }
2543
+
2544
+ private java.lang.Object parentFolder_ = "";
2545
+ /**
2546
+ * <pre>
2547
+ * Parent folder of the cluster
2548
+ * </pre>
2549
+ *
2550
+ * <code>optional string parent_folder = 15;</code>
2551
+ * @return Whether the parentFolder field is set.
2552
+ */
2553
+ public boolean hasParentFolder() {
2554
+ return ((bitField0_ & 0x00004000) != 0);
2555
+ }
2556
+ /**
2557
+ * <pre>
2558
+ * Parent folder of the cluster
2559
+ * </pre>
2560
+ *
2561
+ * <code>optional string parent_folder = 15;</code>
2562
+ * @return The parentFolder.
2563
+ */
2564
+ public java.lang.String getParentFolder() {
2565
+ java.lang.Object ref = parentFolder_;
2566
+ if (!(ref instanceof java.lang.String)) {
2567
+ com.google.protobuf.ByteString bs =
2568
+ (com.google.protobuf.ByteString) ref;
2569
+ java.lang.String s = bs.toStringUtf8();
2570
+ parentFolder_ = s;
2571
+ return s;
2572
+ } else {
2573
+ return (java.lang.String) ref;
2574
+ }
2575
+ }
2576
+ /**
2577
+ * <pre>
2578
+ * Parent folder of the cluster
2579
+ * </pre>
2580
+ *
2581
+ * <code>optional string parent_folder = 15;</code>
2582
+ * @return The bytes for parentFolder.
2583
+ */
2584
+ public com.google.protobuf.ByteString
2585
+ getParentFolderBytes() {
2586
+ java.lang.Object ref = parentFolder_;
2587
+ if (ref instanceof String) {
2588
+ com.google.protobuf.ByteString b =
2589
+ com.google.protobuf.ByteString.copyFromUtf8(
2590
+ (java.lang.String) ref);
2591
+ parentFolder_ = b;
2592
+ return b;
2593
+ } else {
2594
+ return (com.google.protobuf.ByteString) ref;
2595
+ }
2596
+ }
2597
+ /**
2598
+ * <pre>
2599
+ * Parent folder of the cluster
2600
+ * </pre>
2601
+ *
2602
+ * <code>optional string parent_folder = 15;</code>
2603
+ * @param value The parentFolder to set.
2604
+ * @return This builder for chaining.
2605
+ */
2606
+ public Builder setParentFolder(
2607
+ java.lang.String value) {
2608
+ if (value == null) { throw new NullPointerException(); }
2609
+ parentFolder_ = value;
2610
+ bitField0_ |= 0x00004000;
2611
+ onChanged();
2612
+ return this;
2613
+ }
2614
+ /**
2615
+ * <pre>
2616
+ * Parent folder of the cluster
2617
+ * </pre>
2618
+ *
2619
+ * <code>optional string parent_folder = 15;</code>
2620
+ * @return This builder for chaining.
2621
+ */
2622
+ public Builder clearParentFolder() {
2623
+ parentFolder_ = getDefaultInstance().getParentFolder();
2624
+ bitField0_ = (bitField0_ & ~0x00004000);
2625
+ onChanged();
2626
+ return this;
2627
+ }
2628
+ /**
2629
+ * <pre>
2630
+ * Parent folder of the cluster
2631
+ * </pre>
2632
+ *
2633
+ * <code>optional string parent_folder = 15;</code>
2634
+ * @param value The bytes for parentFolder to set.
2635
+ * @return This builder for chaining.
2636
+ */
2637
+ public Builder setParentFolderBytes(
2638
+ com.google.protobuf.ByteString value) {
2639
+ if (value == null) { throw new NullPointerException(); }
2640
+ checkByteStringIsUtf8(value);
2641
+ parentFolder_ = value;
2642
+ bitField0_ |= 0x00004000;
2643
+ onChanged();
2644
+ return this;
2645
+ }
2453
2646
  @java.lang.Override
2454
2647
  public final Builder setUnknownFields(
2455
2648
  final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -10,7 +10,7 @@ public interface EsxiClusterOrBuilder extends
10
10
 
11
11
  /**
12
12
  * <pre>
13
- * Primary key of this cluster
13
+ * Primary key of this cluster, the internal key from inbound
14
14
  * </pre>
15
15
  *
16
16
  * <code>string uuid = 14;</code>
@@ -19,7 +19,7 @@ public interface EsxiClusterOrBuilder extends
19
19
  java.lang.String getUuid();
20
20
  /**
21
21
  * <pre>
22
- * Primary key of this cluster
22
+ * Primary key of this cluster, the internal key from inbound
23
23
  * </pre>
24
24
  *
25
25
  * <code>string uuid = 14;</code>
@@ -329,4 +329,33 @@ public interface EsxiClusterOrBuilder extends
329
329
  */
330
330
  boolean getHypervisorsOrThrow(
331
331
  java.lang.String key);
332
+
333
+ /**
334
+ * <pre>
335
+ * Parent folder of the cluster
336
+ * </pre>
337
+ *
338
+ * <code>optional string parent_folder = 15;</code>
339
+ * @return Whether the parentFolder field is set.
340
+ */
341
+ boolean hasParentFolder();
342
+ /**
343
+ * <pre>
344
+ * Parent folder of the cluster
345
+ * </pre>
346
+ *
347
+ * <code>optional string parent_folder = 15;</code>
348
+ * @return The parentFolder.
349
+ */
350
+ java.lang.String getParentFolder();
351
+ /**
352
+ * <pre>
353
+ * Parent folder of the cluster
354
+ * </pre>
355
+ *
356
+ * <code>optional string parent_folder = 15;</code>
357
+ * @return The bytes for parentFolder.
358
+ */
359
+ com.google.protobuf.ByteString
360
+ getParentFolderBytes();
332
361
  }