@lansweeper/data-platform-outbound-grpc 0.3.17 → 0.3.19

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 (180) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/gen-proto/image.json +1 -1
  3. package/gen-proto/outbound_pb.d.ts +1119 -0
  4. package/gen-proto/outbound_pb.js +8720 -8
  5. package/generated-go/outbound.pb.go +13180 -10211
  6. package/java.json +1 -1
  7. package/model/pom.xml +1 -1
  8. package/model/src/main/proto/outbound.proto +268 -3
  9. package/model/target/classes/com/lansweeper/dp/outbound/v1/Asset$1.class +0 -0
  10. package/model/target/classes/com/lansweeper/dp/outbound/v1/Asset$Builder.class +0 -0
  11. package/model/target/classes/com/lansweeper/dp/outbound/v1/Asset.class +0 -0
  12. package/model/target/classes/com/lansweeper/dp/outbound/v1/AssetChangeEvent$1.class +0 -0
  13. package/model/target/classes/com/lansweeper/dp/outbound/v1/AssetChangeEvent$2.class +0 -0
  14. package/model/target/classes/com/lansweeper/dp/outbound/v1/AssetChangeEvent$Builder.class +0 -0
  15. package/model/target/classes/com/lansweeper/dp/outbound/v1/AssetChangeEvent$EventCase.class +0 -0
  16. package/model/target/classes/com/lansweeper/dp/outbound/v1/AssetChangeEvent.class +0 -0
  17. package/model/target/classes/com/lansweeper/dp/outbound/v1/AssetChangeEventOrBuilder.class +0 -0
  18. package/model/target/classes/com/lansweeper/dp/outbound/v1/AssetOrBuilder.class +0 -0
  19. package/model/target/classes/com/lansweeper/dp/outbound/v1/Bios$1.class +0 -0
  20. package/model/target/classes/com/lansweeper/dp/outbound/v1/Bios$2.class +0 -0
  21. package/model/target/classes/com/lansweeper/dp/outbound/v1/Bios$Builder.class +0 -0
  22. package/model/target/classes/com/lansweeper/dp/outbound/v1/Bios$SpecCase.class +0 -0
  23. package/model/target/classes/com/lansweeper/dp/outbound/v1/Bios.class +0 -0
  24. package/model/target/classes/com/lansweeper/dp/outbound/v1/BiosOrBuilder.class +0 -0
  25. package/model/target/classes/com/lansweeper/dp/outbound/v1/DatastoreClusterDrsPodConfigRule$1.class +0 -0
  26. package/model/target/classes/com/lansweeper/dp/outbound/v1/DatastoreClusterDrsPodConfigRule$Builder.class +0 -0
  27. package/model/target/classes/com/lansweeper/dp/outbound/v1/DatastoreClusterDrsPodConfigRule.class +0 -0
  28. package/model/target/classes/com/lansweeper/dp/outbound/v1/DatastoreClusterDrsPodConfigRuleOrBuilder.class +0 -0
  29. package/model/target/classes/com/lansweeper/dp/outbound/v1/DatastoreClusterDrsVmOverride$1.class +0 -0
  30. package/model/target/classes/com/lansweeper/dp/outbound/v1/DatastoreClusterDrsVmOverride$Builder.class +0 -0
  31. package/model/target/classes/com/lansweeper/dp/outbound/v1/DatastoreClusterDrsVmOverride.class +0 -0
  32. package/model/target/classes/com/lansweeper/dp/outbound/v1/DatastoreClusterDrsVmOverrideOrBuilder.class +0 -0
  33. package/model/target/classes/com/lansweeper/dp/outbound/v1/DatastoreClusterStorageDrs$1.class +0 -0
  34. package/model/target/classes/com/lansweeper/dp/outbound/v1/DatastoreClusterStorageDrs$Builder.class +0 -0
  35. package/model/target/classes/com/lansweeper/dp/outbound/v1/DatastoreClusterStorageDrs.class +0 -0
  36. package/model/target/classes/com/lansweeper/dp/outbound/v1/DatastoreClusterStorageDrsOrBuilder.class +0 -0
  37. package/model/target/classes/com/lansweeper/dp/outbound/v1/EsxiCluster$1.class +0 -0
  38. package/model/target/classes/com/lansweeper/dp/outbound/v1/EsxiCluster$Builder.class +0 -0
  39. package/model/target/classes/com/lansweeper/dp/outbound/v1/EsxiCluster$HypervisorsDefaultEntryHolder.class +0 -0
  40. package/model/target/classes/com/lansweeper/dp/outbound/v1/EsxiCluster.class +0 -0
  41. package/model/target/classes/com/lansweeper/dp/outbound/v1/EsxiClusterOrBuilder.class +0 -0
  42. package/model/target/classes/com/lansweeper/dp/outbound/v1/NetIpAddress$1.class +0 -0
  43. package/model/target/classes/com/lansweeper/dp/outbound/v1/NetIpAddress$Builder.class +0 -0
  44. package/model/target/classes/com/lansweeper/dp/outbound/v1/NetIpAddress$IpType$1.class +0 -0
  45. package/model/target/classes/com/lansweeper/dp/outbound/v1/NetIpAddress$IpType.class +0 -0
  46. package/model/target/classes/com/lansweeper/dp/outbound/v1/NetIpAddress.class +0 -0
  47. package/model/target/classes/com/lansweeper/dp/outbound/v1/NetIpAddressOrBuilder.class +0 -0
  48. package/model/target/classes/com/lansweeper/dp/outbound/v1/NetworkInterface$1.class +0 -0
  49. package/model/target/classes/com/lansweeper/dp/outbound/v1/NetworkInterface$Builder.class +0 -0
  50. package/model/target/classes/com/lansweeper/dp/outbound/v1/NetworkInterface.class +0 -0
  51. package/model/target/classes/com/lansweeper/dp/outbound/v1/NetworkInterfaceOrBuilder.class +0 -0
  52. package/model/target/classes/com/lansweeper/dp/outbound/v1/Outbound.class +0 -0
  53. package/model/target/classes/com/lansweeper/dp/outbound/v1/Vmware$1.class +0 -0
  54. package/model/target/classes/com/lansweeper/dp/outbound/v1/Vmware$2.class +0 -0
  55. package/model/target/classes/com/lansweeper/dp/outbound/v1/Vmware$Builder.class +0 -0
  56. package/model/target/classes/com/lansweeper/dp/outbound/v1/Vmware$VmwareDataCase.class +0 -0
  57. package/model/target/classes/com/lansweeper/dp/outbound/v1/Vmware.class +0 -0
  58. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareDatacenter$1.class +0 -0
  59. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareDatacenter$Builder$ClustersConverter.class +0 -0
  60. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareDatacenter$Builder$DatastoreClustersConverter.class +0 -0
  61. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareDatacenter$Builder$DatastoresConverter.class +0 -0
  62. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareDatacenter$Builder.class +0 -0
  63. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareDatacenter$ClustersDefaultEntryHolder.class +0 -0
  64. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareDatacenter$DatastoreClustersDefaultEntryHolder.class +0 -0
  65. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareDatacenter$DatastoresDefaultEntryHolder.class +0 -0
  66. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareDatacenter$HypervisorsDefaultEntryHolder.class +0 -0
  67. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareDatacenter.class +0 -0
  68. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareDatacenterOrBuilder.class +0 -0
  69. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareDatastore$1.class +0 -0
  70. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareDatastore$Builder$DisksConverter.class +0 -0
  71. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareDatastore$Builder.class +0 -0
  72. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareDatastore$DisksDefaultEntryHolder.class +0 -0
  73. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareDatastore.class +0 -0
  74. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareDatastoreCluster$1.class +0 -0
  75. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareDatastoreCluster$Builder$DatastoresConverter.class +0 -0
  76. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareDatastoreCluster$Builder.class +0 -0
  77. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareDatastoreCluster$DatastoresDefaultEntryHolder.class +0 -0
  78. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareDatastoreCluster.class +0 -0
  79. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareDatastoreClusterOrBuilder.class +0 -0
  80. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareDatastoreOrBuilder.class +0 -0
  81. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareDisk$1.class +0 -0
  82. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareDisk$Builder.class +0 -0
  83. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareDisk.class +0 -0
  84. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareDiskOrBuilder.class +0 -0
  85. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiBios$1.class +0 -0
  86. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiBios$Builder.class +0 -0
  87. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiBios.class +0 -0
  88. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiBiosOrBuilder.class +0 -0
  89. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiGuestVm$1.class +0 -0
  90. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiGuestVm$Builder$EsxiGuestSnapshotsConverter.class +0 -0
  91. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiGuestVm$Builder.class +0 -0
  92. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiGuestVm$EsxiGuestSnapshotsDefaultEntryHolder.class +0 -0
  93. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiGuestVm.class +0 -0
  94. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiGuestVmOrBuilder.class +0 -0
  95. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiHypervisor$1.class +0 -0
  96. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiHypervisor$Builder$EsxiHypervisorDatastoresConverter.class +0 -0
  97. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiHypervisor$Builder.class +0 -0
  98. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiHypervisor$EsxiGuestVmKeyDefaultEntryHolder.class +0 -0
  99. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiHypervisor$EsxiHypervisorDatastoresDefaultEntryHolder.class +0 -0
  100. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiHypervisor.class +0 -0
  101. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareEsxiHypervisorOrBuilder.class +0 -0
  102. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareOrBuilder.class +0 -0
  103. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareProductInfo$1.class +0 -0
  104. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareProductInfo$Builder.class +0 -0
  105. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareProductInfo.class +0 -0
  106. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareProductInfoOrBuilder.class +0 -0
  107. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareSnapshot$1.class +0 -0
  108. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareSnapshot$Builder.class +0 -0
  109. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareSnapshot.class +0 -0
  110. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareSnapshotOrBuilder.class +0 -0
  111. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareVCenter$1.class +0 -0
  112. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareVCenter$Builder$VcenterDatacentersConverter.class +0 -0
  113. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareVCenter$Builder.class +0 -0
  114. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareVCenter$VcenterDatacentersDefaultEntryHolder.class +0 -0
  115. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareVCenter.class +0 -0
  116. package/model/target/classes/com/lansweeper/dp/outbound/v1/VmwareVCenterOrBuilder.class +0 -0
  117. package/model/target/classes/com/lansweeper/dp/outbound/v1/WindowsHyperVChangeEvent$1.class +0 -0
  118. package/model/target/classes/com/lansweeper/dp/outbound/v1/WindowsHyperVChangeEvent$Builder.class +0 -0
  119. package/model/target/classes/com/lansweeper/dp/outbound/v1/WindowsHyperVChangeEvent$EventType$1.class +0 -0
  120. package/model/target/classes/com/lansweeper/dp/outbound/v1/WindowsHyperVChangeEvent$EventType.class +0 -0
  121. package/model/target/classes/com/lansweeper/dp/outbound/v1/WindowsHyperVChangeEvent.class +0 -0
  122. package/model/target/classes/com/lansweeper/dp/outbound/v1/WindowsHyperVChangeEventOrBuilder.class +0 -0
  123. package/model/target/classes/outbound.proto +268 -3
  124. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Asset.java +233 -0
  125. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/AssetChangeEvent.java +256 -0
  126. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/AssetChangeEventOrBuilder.java +27 -0
  127. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/AssetOrBuilder.java +27 -0
  128. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Bios.java +231 -23
  129. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/BiosOrBuilder.java +15 -0
  130. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/DatastoreClusterDrsPodConfigRule.java +753 -0
  131. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/DatastoreClusterDrsPodConfigRuleOrBuilder.java +49 -0
  132. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/DatastoreClusterDrsVmOverride.java +911 -0
  133. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/DatastoreClusterDrsVmOverrideOrBuilder.java +66 -0
  134. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/DatastoreClusterStorageDrs.java +1239 -0
  135. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/DatastoreClusterStorageDrsOrBuilder.java +105 -0
  136. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/EsxiCluster.java +2516 -0
  137. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/EsxiClusterOrBuilder.java +332 -0
  138. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/NetIpAddress.java +225 -0
  139. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/NetIpAddressOrBuilder.java +16 -0
  140. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/NetworkInterface.java +392 -12
  141. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/NetworkInterfaceOrBuilder.java +55 -4
  142. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Outbound.java +3421 -2898
  143. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Processor.java +6 -6
  144. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ProcessorOrBuilder.java +2 -2
  145. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Vmware.java +1123 -0
  146. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/VmwareDatacenter.java +2373 -0
  147. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/VmwareDatacenterOrBuilder.java +305 -0
  148. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/VmwareDatastore.java +3237 -0
  149. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/VmwareDatastoreCluster.java +2817 -0
  150. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/VmwareDatastoreClusterOrBuilder.java +294 -0
  151. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/VmwareDatastoreOrBuilder.java +437 -0
  152. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/VmwareDisk.java +890 -0
  153. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/VmwareDiskOrBuilder.java +61 -0
  154. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/VmwareEsxiBios.java +766 -0
  155. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/VmwareEsxiBiosOrBuilder.java +42 -0
  156. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/VmwareEsxiGuestVm.java +4104 -0
  157. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/VmwareEsxiGuestVmOrBuilder.java +555 -0
  158. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/VmwareEsxiHypervisor.java +4605 -0
  159. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/VmwareEsxiHypervisorOrBuilder.java +653 -0
  160. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/VmwareOrBuilder.java +57 -0
  161. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/VmwareProductInfo.java +3511 -0
  162. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/VmwareProductInfoOrBuilder.java +474 -0
  163. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/VmwareSnapshot.java +902 -0
  164. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/VmwareSnapshotOrBuilder.java +54 -0
  165. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/VmwareVCenter.java +1011 -0
  166. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/VmwareVCenterOrBuilder.java +91 -0
  167. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/WindowsHyperVChangeEvent.java +1190 -0
  168. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/WindowsHyperVChangeEventOrBuilder.java +66 -0
  169. package/model/target/maven-archiver/pom.properties +2 -2
  170. package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst +89 -0
  171. package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst +32 -0
  172. package/model/target/{outbound-model-0.3.16-sources.jar → outbound-model-0.3.18-sources.jar} +0 -0
  173. package/model/target/{outbound-model-0.3.16.jar → outbound-model-0.3.18.jar} +0 -0
  174. package/package.json +2 -2
  175. package/pom.xml +1 -1
  176. package/proto/outbound.proto +268 -3
  177. package/service/pom.xml +1 -1
  178. package/service/target/maven-archiver/pom.properties +2 -2
  179. package/service/target/{outbound-service-0.3.16-sources.jar → outbound-service-0.3.18-sources.jar} +0 -0
  180. package/service/target/{outbound-service-0.3.16.jar → outbound-service-0.3.18.jar} +0 -0
@@ -0,0 +1,4605 @@
1
+ // Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ // source: outbound.proto
3
+
4
+ // Protobuf Java Version: 3.25.1
5
+ package com.lansweeper.dp.outbound.v1;
6
+
7
+ /**
8
+ * <pre>
9
+ **
10
+ *Specific asset data related to Vmware ESXI Hypervisor
11
+ * </pre>
12
+ *
13
+ * Protobuf type {@code com.lansweeper.dp.outbound.v1.VmwareEsxiHypervisor}
14
+ */
15
+ public final class VmwareEsxiHypervisor extends
16
+ com.google.protobuf.GeneratedMessageV3 implements
17
+ // @@protoc_insertion_point(message_implements:com.lansweeper.dp.outbound.v1.VmwareEsxiHypervisor)
18
+ VmwareEsxiHypervisorOrBuilder {
19
+ private static final long serialVersionUID = 0L;
20
+ // Use VmwareEsxiHypervisor.newBuilder() to construct.
21
+ private VmwareEsxiHypervisor(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
22
+ super(builder);
23
+ }
24
+ private VmwareEsxiHypervisor() {
25
+ vcenterAssetKey_ = "";
26
+ numCpuPackages_ = "";
27
+ cpuPackagesDescriptions_ =
28
+ com.google.protobuf.LazyStringArrayList.emptyList();
29
+ uuid_ = "";
30
+ connectionState_ = "";
31
+ powerState_ = "";
32
+ datacenterId_ = "";
33
+ internalKey_ = "";
34
+ ipAddress_ = "";
35
+ sslThumbprint_ = "";
36
+ managementServerIp_ = "";
37
+ }
38
+
39
+ @java.lang.Override
40
+ @SuppressWarnings({"unused"})
41
+ protected java.lang.Object newInstance(
42
+ UnusedPrivateParameter unused) {
43
+ return new VmwareEsxiHypervisor();
44
+ }
45
+
46
+ public static final com.google.protobuf.Descriptors.Descriptor
47
+ getDescriptor() {
48
+ return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_VmwareEsxiHypervisor_descriptor;
49
+ }
50
+
51
+ @SuppressWarnings({"rawtypes"})
52
+ @java.lang.Override
53
+ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
54
+ int number) {
55
+ switch (number) {
56
+ case 3:
57
+ return internalGetEsxiHypervisorDatastores();
58
+ case 4:
59
+ return internalGetEsxiGuestVmKey();
60
+ default:
61
+ throw new RuntimeException(
62
+ "Invalid map field number: " + number);
63
+ }
64
+ }
65
+ @java.lang.Override
66
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
67
+ internalGetFieldAccessorTable() {
68
+ return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_VmwareEsxiHypervisor_fieldAccessorTable
69
+ .ensureFieldAccessorsInitialized(
70
+ com.lansweeper.dp.outbound.v1.VmwareEsxiHypervisor.class, com.lansweeper.dp.outbound.v1.VmwareEsxiHypervisor.Builder.class);
71
+ }
72
+
73
+ private int bitField0_;
74
+ public static final int PRODUCT_INFO_FIELD_NUMBER = 1;
75
+ private com.lansweeper.dp.outbound.v1.VmwareProductInfo productInfo_;
76
+ /**
77
+ * <pre>
78
+ * Custom information about the Esxi Hypervisor
79
+ * </pre>
80
+ *
81
+ * <code>optional .com.lansweeper.dp.outbound.v1.VmwareProductInfo product_info = 1;</code>
82
+ * @return Whether the productInfo field is set.
83
+ */
84
+ @java.lang.Override
85
+ public boolean hasProductInfo() {
86
+ return ((bitField0_ & 0x00000001) != 0);
87
+ }
88
+ /**
89
+ * <pre>
90
+ * Custom information about the Esxi Hypervisor
91
+ * </pre>
92
+ *
93
+ * <code>optional .com.lansweeper.dp.outbound.v1.VmwareProductInfo product_info = 1;</code>
94
+ * @return The productInfo.
95
+ */
96
+ @java.lang.Override
97
+ public com.lansweeper.dp.outbound.v1.VmwareProductInfo getProductInfo() {
98
+ return productInfo_ == null ? com.lansweeper.dp.outbound.v1.VmwareProductInfo.getDefaultInstance() : productInfo_;
99
+ }
100
+ /**
101
+ * <pre>
102
+ * Custom information about the Esxi Hypervisor
103
+ * </pre>
104
+ *
105
+ * <code>optional .com.lansweeper.dp.outbound.v1.VmwareProductInfo product_info = 1;</code>
106
+ */
107
+ @java.lang.Override
108
+ public com.lansweeper.dp.outbound.v1.VmwareProductInfoOrBuilder getProductInfoOrBuilder() {
109
+ return productInfo_ == null ? com.lansweeper.dp.outbound.v1.VmwareProductInfo.getDefaultInstance() : productInfo_;
110
+ }
111
+
112
+ public static final int VCENTER_ASSET_KEY_FIELD_NUMBER = 2;
113
+ @SuppressWarnings("serial")
114
+ private volatile java.lang.Object vcenterAssetKey_ = "";
115
+ /**
116
+ * <pre>
117
+ * Reference to the vCenter asset, if this asset is an ESXI hypervisor
118
+ * </pre>
119
+ *
120
+ * <code>optional string vcenter_asset_key = 2;</code>
121
+ * @return Whether the vcenterAssetKey field is set.
122
+ */
123
+ @java.lang.Override
124
+ public boolean hasVcenterAssetKey() {
125
+ return ((bitField0_ & 0x00000002) != 0);
126
+ }
127
+ /**
128
+ * <pre>
129
+ * Reference to the vCenter asset, if this asset is an ESXI hypervisor
130
+ * </pre>
131
+ *
132
+ * <code>optional string vcenter_asset_key = 2;</code>
133
+ * @return The vcenterAssetKey.
134
+ */
135
+ @java.lang.Override
136
+ public java.lang.String getVcenterAssetKey() {
137
+ java.lang.Object ref = vcenterAssetKey_;
138
+ if (ref instanceof java.lang.String) {
139
+ return (java.lang.String) ref;
140
+ } else {
141
+ com.google.protobuf.ByteString bs =
142
+ (com.google.protobuf.ByteString) ref;
143
+ java.lang.String s = bs.toStringUtf8();
144
+ vcenterAssetKey_ = s;
145
+ return s;
146
+ }
147
+ }
148
+ /**
149
+ * <pre>
150
+ * Reference to the vCenter asset, if this asset is an ESXI hypervisor
151
+ * </pre>
152
+ *
153
+ * <code>optional string vcenter_asset_key = 2;</code>
154
+ * @return The bytes for vcenterAssetKey.
155
+ */
156
+ @java.lang.Override
157
+ public com.google.protobuf.ByteString
158
+ getVcenterAssetKeyBytes() {
159
+ java.lang.Object ref = vcenterAssetKey_;
160
+ if (ref instanceof java.lang.String) {
161
+ com.google.protobuf.ByteString b =
162
+ com.google.protobuf.ByteString.copyFromUtf8(
163
+ (java.lang.String) ref);
164
+ vcenterAssetKey_ = b;
165
+ return b;
166
+ } else {
167
+ return (com.google.protobuf.ByteString) ref;
168
+ }
169
+ }
170
+
171
+ public static final int ESXI_HYPERVISOR_DATASTORES_FIELD_NUMBER = 3;
172
+ private static final class EsxiHypervisorDatastoresDefaultEntryHolder {
173
+ static final com.google.protobuf.MapEntry<
174
+ java.lang.String, com.lansweeper.dp.outbound.v1.VmwareDatastore> defaultEntry =
175
+ com.google.protobuf.MapEntry
176
+ .<java.lang.String, com.lansweeper.dp.outbound.v1.VmwareDatastore>newDefaultInstance(
177
+ com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_VmwareEsxiHypervisor_EsxiHypervisorDatastoresEntry_descriptor,
178
+ com.google.protobuf.WireFormat.FieldType.STRING,
179
+ "",
180
+ com.google.protobuf.WireFormat.FieldType.MESSAGE,
181
+ com.lansweeper.dp.outbound.v1.VmwareDatastore.getDefaultInstance());
182
+ }
183
+ @SuppressWarnings("serial")
184
+ private com.google.protobuf.MapField<
185
+ java.lang.String, com.lansweeper.dp.outbound.v1.VmwareDatastore> esxiHypervisorDatastores_;
186
+ private com.google.protobuf.MapField<java.lang.String, com.lansweeper.dp.outbound.v1.VmwareDatastore>
187
+ internalGetEsxiHypervisorDatastores() {
188
+ if (esxiHypervisorDatastores_ == null) {
189
+ return com.google.protobuf.MapField.emptyMapField(
190
+ EsxiHypervisorDatastoresDefaultEntryHolder.defaultEntry);
191
+ }
192
+ return esxiHypervisorDatastores_;
193
+ }
194
+ public int getEsxiHypervisorDatastoresCount() {
195
+ return internalGetEsxiHypervisorDatastores().getMap().size();
196
+ }
197
+ /**
198
+ * <pre>
199
+ * Datastores of the Esxi Hypervisor
200
+ * </pre>
201
+ *
202
+ * <code>map&lt;string, .com.lansweeper.dp.outbound.v1.VmwareDatastore&gt; esxi_hypervisor_datastores = 3;</code>
203
+ */
204
+ @java.lang.Override
205
+ public boolean containsEsxiHypervisorDatastores(
206
+ java.lang.String key) {
207
+ if (key == null) { throw new NullPointerException("map key"); }
208
+ return internalGetEsxiHypervisorDatastores().getMap().containsKey(key);
209
+ }
210
+ /**
211
+ * Use {@link #getEsxiHypervisorDatastoresMap()} instead.
212
+ */
213
+ @java.lang.Override
214
+ @java.lang.Deprecated
215
+ public java.util.Map<java.lang.String, com.lansweeper.dp.outbound.v1.VmwareDatastore> getEsxiHypervisorDatastores() {
216
+ return getEsxiHypervisorDatastoresMap();
217
+ }
218
+ /**
219
+ * <pre>
220
+ * Datastores of the Esxi Hypervisor
221
+ * </pre>
222
+ *
223
+ * <code>map&lt;string, .com.lansweeper.dp.outbound.v1.VmwareDatastore&gt; esxi_hypervisor_datastores = 3;</code>
224
+ */
225
+ @java.lang.Override
226
+ public java.util.Map<java.lang.String, com.lansweeper.dp.outbound.v1.VmwareDatastore> getEsxiHypervisorDatastoresMap() {
227
+ return internalGetEsxiHypervisorDatastores().getMap();
228
+ }
229
+ /**
230
+ * <pre>
231
+ * Datastores of the Esxi Hypervisor
232
+ * </pre>
233
+ *
234
+ * <code>map&lt;string, .com.lansweeper.dp.outbound.v1.VmwareDatastore&gt; esxi_hypervisor_datastores = 3;</code>
235
+ */
236
+ @java.lang.Override
237
+ public /* nullable */
238
+ com.lansweeper.dp.outbound.v1.VmwareDatastore getEsxiHypervisorDatastoresOrDefault(
239
+ java.lang.String key,
240
+ /* nullable */
241
+ com.lansweeper.dp.outbound.v1.VmwareDatastore defaultValue) {
242
+ if (key == null) { throw new NullPointerException("map key"); }
243
+ java.util.Map<java.lang.String, com.lansweeper.dp.outbound.v1.VmwareDatastore> map =
244
+ internalGetEsxiHypervisorDatastores().getMap();
245
+ return map.containsKey(key) ? map.get(key) : defaultValue;
246
+ }
247
+ /**
248
+ * <pre>
249
+ * Datastores of the Esxi Hypervisor
250
+ * </pre>
251
+ *
252
+ * <code>map&lt;string, .com.lansweeper.dp.outbound.v1.VmwareDatastore&gt; esxi_hypervisor_datastores = 3;</code>
253
+ */
254
+ @java.lang.Override
255
+ public com.lansweeper.dp.outbound.v1.VmwareDatastore getEsxiHypervisorDatastoresOrThrow(
256
+ java.lang.String key) {
257
+ if (key == null) { throw new NullPointerException("map key"); }
258
+ java.util.Map<java.lang.String, com.lansweeper.dp.outbound.v1.VmwareDatastore> map =
259
+ internalGetEsxiHypervisorDatastores().getMap();
260
+ if (!map.containsKey(key)) {
261
+ throw new java.lang.IllegalArgumentException();
262
+ }
263
+ return map.get(key);
264
+ }
265
+
266
+ public static final int ESXI_GUEST_VM_KEY_FIELD_NUMBER = 4;
267
+ private static final class EsxiGuestVmKeyDefaultEntryHolder {
268
+ static final com.google.protobuf.MapEntry<
269
+ java.lang.String, java.lang.Boolean> defaultEntry =
270
+ com.google.protobuf.MapEntry
271
+ .<java.lang.String, java.lang.Boolean>newDefaultInstance(
272
+ com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_VmwareEsxiHypervisor_EsxiGuestVmKeyEntry_descriptor,
273
+ com.google.protobuf.WireFormat.FieldType.STRING,
274
+ "",
275
+ com.google.protobuf.WireFormat.FieldType.BOOL,
276
+ false);
277
+ }
278
+ @SuppressWarnings("serial")
279
+ private com.google.protobuf.MapField<
280
+ java.lang.String, java.lang.Boolean> esxiGuestVmKey_;
281
+ private com.google.protobuf.MapField<java.lang.String, java.lang.Boolean>
282
+ internalGetEsxiGuestVmKey() {
283
+ if (esxiGuestVmKey_ == null) {
284
+ return com.google.protobuf.MapField.emptyMapField(
285
+ EsxiGuestVmKeyDefaultEntryHolder.defaultEntry);
286
+ }
287
+ return esxiGuestVmKey_;
288
+ }
289
+ public int getEsxiGuestVmKeyCount() {
290
+ return internalGetEsxiGuestVmKey().getMap().size();
291
+ }
292
+ /**
293
+ * <pre>
294
+ * Key to identify the Esxi Guest VMs, if this asset is an Esxi Hypervisor
295
+ * </pre>
296
+ *
297
+ * <code>map&lt;string, bool&gt; esxi_guest_vm_key = 4;</code>
298
+ */
299
+ @java.lang.Override
300
+ public boolean containsEsxiGuestVmKey(
301
+ java.lang.String key) {
302
+ if (key == null) { throw new NullPointerException("map key"); }
303
+ return internalGetEsxiGuestVmKey().getMap().containsKey(key);
304
+ }
305
+ /**
306
+ * Use {@link #getEsxiGuestVmKeyMap()} instead.
307
+ */
308
+ @java.lang.Override
309
+ @java.lang.Deprecated
310
+ public java.util.Map<java.lang.String, java.lang.Boolean> getEsxiGuestVmKey() {
311
+ return getEsxiGuestVmKeyMap();
312
+ }
313
+ /**
314
+ * <pre>
315
+ * Key to identify the Esxi Guest VMs, if this asset is an Esxi Hypervisor
316
+ * </pre>
317
+ *
318
+ * <code>map&lt;string, bool&gt; esxi_guest_vm_key = 4;</code>
319
+ */
320
+ @java.lang.Override
321
+ public java.util.Map<java.lang.String, java.lang.Boolean> getEsxiGuestVmKeyMap() {
322
+ return internalGetEsxiGuestVmKey().getMap();
323
+ }
324
+ /**
325
+ * <pre>
326
+ * Key to identify the Esxi Guest VMs, if this asset is an Esxi Hypervisor
327
+ * </pre>
328
+ *
329
+ * <code>map&lt;string, bool&gt; esxi_guest_vm_key = 4;</code>
330
+ */
331
+ @java.lang.Override
332
+ public boolean getEsxiGuestVmKeyOrDefault(
333
+ java.lang.String key,
334
+ boolean defaultValue) {
335
+ if (key == null) { throw new NullPointerException("map key"); }
336
+ java.util.Map<java.lang.String, java.lang.Boolean> map =
337
+ internalGetEsxiGuestVmKey().getMap();
338
+ return map.containsKey(key) ? map.get(key) : defaultValue;
339
+ }
340
+ /**
341
+ * <pre>
342
+ * Key to identify the Esxi Guest VMs, if this asset is an Esxi Hypervisor
343
+ * </pre>
344
+ *
345
+ * <code>map&lt;string, bool&gt; esxi_guest_vm_key = 4;</code>
346
+ */
347
+ @java.lang.Override
348
+ public boolean getEsxiGuestVmKeyOrThrow(
349
+ java.lang.String key) {
350
+ if (key == null) { throw new NullPointerException("map key"); }
351
+ java.util.Map<java.lang.String, java.lang.Boolean> map =
352
+ internalGetEsxiGuestVmKey().getMap();
353
+ if (!map.containsKey(key)) {
354
+ throw new java.lang.IllegalArgumentException();
355
+ }
356
+ return map.get(key);
357
+ }
358
+
359
+ public static final int UP_TIME_FIELD_NUMBER = 5;
360
+ private long upTime_ = 0L;
361
+ /**
362
+ * <pre>
363
+ * Up time of the Esxi Hypervisor
364
+ * </pre>
365
+ *
366
+ * <code>optional uint64 up_time = 5;</code>
367
+ * @return Whether the upTime field is set.
368
+ */
369
+ @java.lang.Override
370
+ public boolean hasUpTime() {
371
+ return ((bitField0_ & 0x00000004) != 0);
372
+ }
373
+ /**
374
+ * <pre>
375
+ * Up time of the Esxi Hypervisor
376
+ * </pre>
377
+ *
378
+ * <code>optional uint64 up_time = 5;</code>
379
+ * @return The upTime.
380
+ */
381
+ @java.lang.Override
382
+ public long getUpTime() {
383
+ return upTime_;
384
+ }
385
+
386
+ public static final int BOOT_TIME_FIELD_NUMBER = 17;
387
+ private com.google.protobuf.Timestamp bootTime_;
388
+ /**
389
+ * <pre>
390
+ * Boot time of the Esxi Hypervisor
391
+ * </pre>
392
+ *
393
+ * <code>optional .google.protobuf.Timestamp boot_time = 17;</code>
394
+ * @return Whether the bootTime field is set.
395
+ */
396
+ @java.lang.Override
397
+ public boolean hasBootTime() {
398
+ return ((bitField0_ & 0x00000008) != 0);
399
+ }
400
+ /**
401
+ * <pre>
402
+ * Boot time of the Esxi Hypervisor
403
+ * </pre>
404
+ *
405
+ * <code>optional .google.protobuf.Timestamp boot_time = 17;</code>
406
+ * @return The bootTime.
407
+ */
408
+ @java.lang.Override
409
+ public com.google.protobuf.Timestamp getBootTime() {
410
+ return bootTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : bootTime_;
411
+ }
412
+ /**
413
+ * <pre>
414
+ * Boot time of the Esxi Hypervisor
415
+ * </pre>
416
+ *
417
+ * <code>optional .google.protobuf.Timestamp boot_time = 17;</code>
418
+ */
419
+ @java.lang.Override
420
+ public com.google.protobuf.TimestampOrBuilder getBootTimeOrBuilder() {
421
+ return bootTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : bootTime_;
422
+ }
423
+
424
+ public static final int HOST_MAX_VIRTUAL_DISK_CAPACITY_FIELD_NUMBER = 6;
425
+ private long hostMaxVirtualDiskCapacity_ = 0L;
426
+ /**
427
+ * <pre>
428
+ * Maximum virtual disk capacity of the Esxi Hypervisor
429
+ * </pre>
430
+ *
431
+ * <code>optional uint64 host_max_virtual_disk_capacity = 6;</code>
432
+ * @return Whether the hostMaxVirtualDiskCapacity field is set.
433
+ */
434
+ @java.lang.Override
435
+ public boolean hasHostMaxVirtualDiskCapacity() {
436
+ return ((bitField0_ & 0x00000010) != 0);
437
+ }
438
+ /**
439
+ * <pre>
440
+ * Maximum virtual disk capacity of the Esxi Hypervisor
441
+ * </pre>
442
+ *
443
+ * <code>optional uint64 host_max_virtual_disk_capacity = 6;</code>
444
+ * @return The hostMaxVirtualDiskCapacity.
445
+ */
446
+ @java.lang.Override
447
+ public long getHostMaxVirtualDiskCapacity() {
448
+ return hostMaxVirtualDiskCapacity_;
449
+ }
450
+
451
+ public static final int NUM_CPU_PACKAGES_FIELD_NUMBER = 7;
452
+ @SuppressWarnings("serial")
453
+ private volatile java.lang.Object numCpuPackages_ = "";
454
+ /**
455
+ * <pre>
456
+ * Number of CPU packages of the Esxi Hypervisor
457
+ * </pre>
458
+ *
459
+ * <code>optional string num_cpu_packages = 7;</code>
460
+ * @return Whether the numCpuPackages field is set.
461
+ */
462
+ @java.lang.Override
463
+ public boolean hasNumCpuPackages() {
464
+ return ((bitField0_ & 0x00000020) != 0);
465
+ }
466
+ /**
467
+ * <pre>
468
+ * Number of CPU packages of the Esxi Hypervisor
469
+ * </pre>
470
+ *
471
+ * <code>optional string num_cpu_packages = 7;</code>
472
+ * @return The numCpuPackages.
473
+ */
474
+ @java.lang.Override
475
+ public java.lang.String getNumCpuPackages() {
476
+ java.lang.Object ref = numCpuPackages_;
477
+ if (ref instanceof java.lang.String) {
478
+ return (java.lang.String) ref;
479
+ } else {
480
+ com.google.protobuf.ByteString bs =
481
+ (com.google.protobuf.ByteString) ref;
482
+ java.lang.String s = bs.toStringUtf8();
483
+ numCpuPackages_ = s;
484
+ return s;
485
+ }
486
+ }
487
+ /**
488
+ * <pre>
489
+ * Number of CPU packages of the Esxi Hypervisor
490
+ * </pre>
491
+ *
492
+ * <code>optional string num_cpu_packages = 7;</code>
493
+ * @return The bytes for numCpuPackages.
494
+ */
495
+ @java.lang.Override
496
+ public com.google.protobuf.ByteString
497
+ getNumCpuPackagesBytes() {
498
+ java.lang.Object ref = numCpuPackages_;
499
+ if (ref instanceof java.lang.String) {
500
+ com.google.protobuf.ByteString b =
501
+ com.google.protobuf.ByteString.copyFromUtf8(
502
+ (java.lang.String) ref);
503
+ numCpuPackages_ = b;
504
+ return b;
505
+ } else {
506
+ return (com.google.protobuf.ByteString) ref;
507
+ }
508
+ }
509
+
510
+ public static final int CPU_PACKAGES_DESCRIPTIONS_FIELD_NUMBER = 8;
511
+ @SuppressWarnings("serial")
512
+ private com.google.protobuf.LazyStringArrayList cpuPackagesDescriptions_ =
513
+ com.google.protobuf.LazyStringArrayList.emptyList();
514
+ /**
515
+ * <pre>
516
+ * Descriptions of each CPU package of the Esxi Hypervisor
517
+ * </pre>
518
+ *
519
+ * <code>repeated string cpu_packages_descriptions = 8;</code>
520
+ * @return A list containing the cpuPackagesDescriptions.
521
+ */
522
+ public com.google.protobuf.ProtocolStringList
523
+ getCpuPackagesDescriptionsList() {
524
+ return cpuPackagesDescriptions_;
525
+ }
526
+ /**
527
+ * <pre>
528
+ * Descriptions of each CPU package of the Esxi Hypervisor
529
+ * </pre>
530
+ *
531
+ * <code>repeated string cpu_packages_descriptions = 8;</code>
532
+ * @return The count of cpuPackagesDescriptions.
533
+ */
534
+ public int getCpuPackagesDescriptionsCount() {
535
+ return cpuPackagesDescriptions_.size();
536
+ }
537
+ /**
538
+ * <pre>
539
+ * Descriptions of each CPU package of the Esxi Hypervisor
540
+ * </pre>
541
+ *
542
+ * <code>repeated string cpu_packages_descriptions = 8;</code>
543
+ * @param index The index of the element to return.
544
+ * @return The cpuPackagesDescriptions at the given index.
545
+ */
546
+ public java.lang.String getCpuPackagesDescriptions(int index) {
547
+ return cpuPackagesDescriptions_.get(index);
548
+ }
549
+ /**
550
+ * <pre>
551
+ * Descriptions of each CPU package of the Esxi Hypervisor
552
+ * </pre>
553
+ *
554
+ * <code>repeated string cpu_packages_descriptions = 8;</code>
555
+ * @param index The index of the value to return.
556
+ * @return The bytes of the cpuPackagesDescriptions at the given index.
557
+ */
558
+ public com.google.protobuf.ByteString
559
+ getCpuPackagesDescriptionsBytes(int index) {
560
+ return cpuPackagesDescriptions_.getByteString(index);
561
+ }
562
+
563
+ public static final int NUM_NICS_FIELD_NUMBER = 9;
564
+ private int numNics_ = 0;
565
+ /**
566
+ * <pre>
567
+ * Number of NICs of the Esxi Hypervisor
568
+ * </pre>
569
+ *
570
+ * <code>optional uint32 num_nics = 9;</code>
571
+ * @return Whether the numNics field is set.
572
+ */
573
+ @java.lang.Override
574
+ public boolean hasNumNics() {
575
+ return ((bitField0_ & 0x00000040) != 0);
576
+ }
577
+ /**
578
+ * <pre>
579
+ * Number of NICs of the Esxi Hypervisor
580
+ * </pre>
581
+ *
582
+ * <code>optional uint32 num_nics = 9;</code>
583
+ * @return The numNics.
584
+ */
585
+ @java.lang.Override
586
+ public int getNumNics() {
587
+ return numNics_;
588
+ }
589
+
590
+ public static final int NUM_HBAS_FIELD_NUMBER = 10;
591
+ private int numHbas_ = 0;
592
+ /**
593
+ * <pre>
594
+ * Number of HBAs of the Esxi Hypervisor
595
+ * </pre>
596
+ *
597
+ * <code>optional uint32 num_hbas = 10;</code>
598
+ * @return Whether the numHbas field is set.
599
+ */
600
+ @java.lang.Override
601
+ public boolean hasNumHbas() {
602
+ return ((bitField0_ & 0x00000080) != 0);
603
+ }
604
+ /**
605
+ * <pre>
606
+ * Number of HBAs of the Esxi Hypervisor
607
+ * </pre>
608
+ *
609
+ * <code>optional uint32 num_hbas = 10;</code>
610
+ * @return The numHbas.
611
+ */
612
+ @java.lang.Override
613
+ public int getNumHbas() {
614
+ return numHbas_;
615
+ }
616
+
617
+ public static final int UUID_FIELD_NUMBER = 11;
618
+ @SuppressWarnings("serial")
619
+ private volatile java.lang.Object uuid_ = "";
620
+ /**
621
+ * <pre>
622
+ * UUID of the Esxi Hypervisor
623
+ * </pre>
624
+ *
625
+ * <code>optional string uuid = 11;</code>
626
+ * @return Whether the uuid field is set.
627
+ */
628
+ @java.lang.Override
629
+ public boolean hasUuid() {
630
+ return ((bitField0_ & 0x00000100) != 0);
631
+ }
632
+ /**
633
+ * <pre>
634
+ * UUID of the Esxi Hypervisor
635
+ * </pre>
636
+ *
637
+ * <code>optional string uuid = 11;</code>
638
+ * @return The uuid.
639
+ */
640
+ @java.lang.Override
641
+ public java.lang.String getUuid() {
642
+ java.lang.Object ref = uuid_;
643
+ if (ref instanceof java.lang.String) {
644
+ return (java.lang.String) ref;
645
+ } else {
646
+ com.google.protobuf.ByteString bs =
647
+ (com.google.protobuf.ByteString) ref;
648
+ java.lang.String s = bs.toStringUtf8();
649
+ uuid_ = s;
650
+ return s;
651
+ }
652
+ }
653
+ /**
654
+ * <pre>
655
+ * UUID of the Esxi Hypervisor
656
+ * </pre>
657
+ *
658
+ * <code>optional string uuid = 11;</code>
659
+ * @return The bytes for uuid.
660
+ */
661
+ @java.lang.Override
662
+ public com.google.protobuf.ByteString
663
+ getUuidBytes() {
664
+ java.lang.Object ref = uuid_;
665
+ if (ref instanceof java.lang.String) {
666
+ com.google.protobuf.ByteString b =
667
+ com.google.protobuf.ByteString.copyFromUtf8(
668
+ (java.lang.String) ref);
669
+ uuid_ = b;
670
+ return b;
671
+ } else {
672
+ return (com.google.protobuf.ByteString) ref;
673
+ }
674
+ }
675
+
676
+ public static final int CONNECTION_STATE_FIELD_NUMBER = 12;
677
+ @SuppressWarnings("serial")
678
+ private volatile java.lang.Object connectionState_ = "";
679
+ /**
680
+ * <pre>
681
+ * Connection state of the Esxi Hypervisor
682
+ * </pre>
683
+ *
684
+ * <code>optional string connection_state = 12;</code>
685
+ * @return Whether the connectionState field is set.
686
+ */
687
+ @java.lang.Override
688
+ public boolean hasConnectionState() {
689
+ return ((bitField0_ & 0x00000200) != 0);
690
+ }
691
+ /**
692
+ * <pre>
693
+ * Connection state of the Esxi Hypervisor
694
+ * </pre>
695
+ *
696
+ * <code>optional string connection_state = 12;</code>
697
+ * @return The connectionState.
698
+ */
699
+ @java.lang.Override
700
+ public java.lang.String getConnectionState() {
701
+ java.lang.Object ref = connectionState_;
702
+ if (ref instanceof java.lang.String) {
703
+ return (java.lang.String) ref;
704
+ } else {
705
+ com.google.protobuf.ByteString bs =
706
+ (com.google.protobuf.ByteString) ref;
707
+ java.lang.String s = bs.toStringUtf8();
708
+ connectionState_ = s;
709
+ return s;
710
+ }
711
+ }
712
+ /**
713
+ * <pre>
714
+ * Connection state of the Esxi Hypervisor
715
+ * </pre>
716
+ *
717
+ * <code>optional string connection_state = 12;</code>
718
+ * @return The bytes for connectionState.
719
+ */
720
+ @java.lang.Override
721
+ public com.google.protobuf.ByteString
722
+ getConnectionStateBytes() {
723
+ java.lang.Object ref = connectionState_;
724
+ if (ref instanceof java.lang.String) {
725
+ com.google.protobuf.ByteString b =
726
+ com.google.protobuf.ByteString.copyFromUtf8(
727
+ (java.lang.String) ref);
728
+ connectionState_ = b;
729
+ return b;
730
+ } else {
731
+ return (com.google.protobuf.ByteString) ref;
732
+ }
733
+ }
734
+
735
+ public static final int POWER_STATE_FIELD_NUMBER = 13;
736
+ @SuppressWarnings("serial")
737
+ private volatile java.lang.Object powerState_ = "";
738
+ /**
739
+ * <pre>
740
+ * Power state of the Esxi Hypervisor
741
+ * </pre>
742
+ *
743
+ * <code>optional string power_state = 13;</code>
744
+ * @return Whether the powerState field is set.
745
+ */
746
+ @java.lang.Override
747
+ public boolean hasPowerState() {
748
+ return ((bitField0_ & 0x00000400) != 0);
749
+ }
750
+ /**
751
+ * <pre>
752
+ * Power state of the Esxi Hypervisor
753
+ * </pre>
754
+ *
755
+ * <code>optional string power_state = 13;</code>
756
+ * @return The powerState.
757
+ */
758
+ @java.lang.Override
759
+ public java.lang.String getPowerState() {
760
+ java.lang.Object ref = powerState_;
761
+ if (ref instanceof java.lang.String) {
762
+ return (java.lang.String) ref;
763
+ } else {
764
+ com.google.protobuf.ByteString bs =
765
+ (com.google.protobuf.ByteString) ref;
766
+ java.lang.String s = bs.toStringUtf8();
767
+ powerState_ = s;
768
+ return s;
769
+ }
770
+ }
771
+ /**
772
+ * <pre>
773
+ * Power state of the Esxi Hypervisor
774
+ * </pre>
775
+ *
776
+ * <code>optional string power_state = 13;</code>
777
+ * @return The bytes for powerState.
778
+ */
779
+ @java.lang.Override
780
+ public com.google.protobuf.ByteString
781
+ getPowerStateBytes() {
782
+ java.lang.Object ref = powerState_;
783
+ if (ref instanceof java.lang.String) {
784
+ com.google.protobuf.ByteString b =
785
+ com.google.protobuf.ByteString.copyFromUtf8(
786
+ (java.lang.String) ref);
787
+ powerState_ = b;
788
+ return b;
789
+ } else {
790
+ return (com.google.protobuf.ByteString) ref;
791
+ }
792
+ }
793
+
794
+ public static final int DATACENTER_ID_FIELD_NUMBER = 14;
795
+ @SuppressWarnings("serial")
796
+ private volatile java.lang.Object datacenterId_ = "";
797
+ /**
798
+ * <pre>
799
+ * Datacenter ID of the Esxi Hypervisor
800
+ * </pre>
801
+ *
802
+ * <code>optional string datacenter_id = 14;</code>
803
+ * @return Whether the datacenterId field is set.
804
+ */
805
+ @java.lang.Override
806
+ public boolean hasDatacenterId() {
807
+ return ((bitField0_ & 0x00000800) != 0);
808
+ }
809
+ /**
810
+ * <pre>
811
+ * Datacenter ID of the Esxi Hypervisor
812
+ * </pre>
813
+ *
814
+ * <code>optional string datacenter_id = 14;</code>
815
+ * @return The datacenterId.
816
+ */
817
+ @java.lang.Override
818
+ public java.lang.String getDatacenterId() {
819
+ java.lang.Object ref = datacenterId_;
820
+ if (ref instanceof java.lang.String) {
821
+ return (java.lang.String) ref;
822
+ } else {
823
+ com.google.protobuf.ByteString bs =
824
+ (com.google.protobuf.ByteString) ref;
825
+ java.lang.String s = bs.toStringUtf8();
826
+ datacenterId_ = s;
827
+ return s;
828
+ }
829
+ }
830
+ /**
831
+ * <pre>
832
+ * Datacenter ID of the Esxi Hypervisor
833
+ * </pre>
834
+ *
835
+ * <code>optional string datacenter_id = 14;</code>
836
+ * @return The bytes for datacenterId.
837
+ */
838
+ @java.lang.Override
839
+ public com.google.protobuf.ByteString
840
+ getDatacenterIdBytes() {
841
+ java.lang.Object ref = datacenterId_;
842
+ if (ref instanceof java.lang.String) {
843
+ com.google.protobuf.ByteString b =
844
+ com.google.protobuf.ByteString.copyFromUtf8(
845
+ (java.lang.String) ref);
846
+ datacenterId_ = b;
847
+ return b;
848
+ } else {
849
+ return (com.google.protobuf.ByteString) ref;
850
+ }
851
+ }
852
+
853
+ public static final int INTERNAL_KEY_FIELD_NUMBER = 15;
854
+ @SuppressWarnings("serial")
855
+ private volatile java.lang.Object internalKey_ = "";
856
+ /**
857
+ * <pre>
858
+ * Internal key of the Esxi Hypervisor
859
+ * </pre>
860
+ *
861
+ * <code>optional string internal_key = 15;</code>
862
+ * @return Whether the internalKey field is set.
863
+ */
864
+ @java.lang.Override
865
+ public boolean hasInternalKey() {
866
+ return ((bitField0_ & 0x00001000) != 0);
867
+ }
868
+ /**
869
+ * <pre>
870
+ * Internal key of the Esxi Hypervisor
871
+ * </pre>
872
+ *
873
+ * <code>optional string internal_key = 15;</code>
874
+ * @return The internalKey.
875
+ */
876
+ @java.lang.Override
877
+ public java.lang.String getInternalKey() {
878
+ java.lang.Object ref = internalKey_;
879
+ if (ref instanceof java.lang.String) {
880
+ return (java.lang.String) ref;
881
+ } else {
882
+ com.google.protobuf.ByteString bs =
883
+ (com.google.protobuf.ByteString) ref;
884
+ java.lang.String s = bs.toStringUtf8();
885
+ internalKey_ = s;
886
+ return s;
887
+ }
888
+ }
889
+ /**
890
+ * <pre>
891
+ * Internal key of the Esxi Hypervisor
892
+ * </pre>
893
+ *
894
+ * <code>optional string internal_key = 15;</code>
895
+ * @return The bytes for internalKey.
896
+ */
897
+ @java.lang.Override
898
+ public com.google.protobuf.ByteString
899
+ getInternalKeyBytes() {
900
+ java.lang.Object ref = internalKey_;
901
+ if (ref instanceof java.lang.String) {
902
+ com.google.protobuf.ByteString b =
903
+ com.google.protobuf.ByteString.copyFromUtf8(
904
+ (java.lang.String) ref);
905
+ internalKey_ = b;
906
+ return b;
907
+ } else {
908
+ return (com.google.protobuf.ByteString) ref;
909
+ }
910
+ }
911
+
912
+ public static final int ADMIN_DISABLED_FIELD_NUMBER = 16;
913
+ private boolean adminDisabled_ = false;
914
+ /**
915
+ * <pre>
916
+ * Admin disabled state of the Esxi Hypervisor
917
+ * </pre>
918
+ *
919
+ * <code>optional bool admin_disabled = 16;</code>
920
+ * @return Whether the adminDisabled field is set.
921
+ */
922
+ @java.lang.Override
923
+ public boolean hasAdminDisabled() {
924
+ return ((bitField0_ & 0x00002000) != 0);
925
+ }
926
+ /**
927
+ * <pre>
928
+ * Admin disabled state of the Esxi Hypervisor
929
+ * </pre>
930
+ *
931
+ * <code>optional bool admin_disabled = 16;</code>
932
+ * @return The adminDisabled.
933
+ */
934
+ @java.lang.Override
935
+ public boolean getAdminDisabled() {
936
+ return adminDisabled_;
937
+ }
938
+
939
+ public static final int IP_ADDRESS_FIELD_NUMBER = 18;
940
+ @SuppressWarnings("serial")
941
+ private volatile java.lang.Object ipAddress_ = "";
942
+ /**
943
+ * <pre>
944
+ * IP address of the Esxi Hypervisor
945
+ * </pre>
946
+ *
947
+ * <code>optional string ip_address = 18;</code>
948
+ * @return Whether the ipAddress field is set.
949
+ */
950
+ @java.lang.Override
951
+ public boolean hasIpAddress() {
952
+ return ((bitField0_ & 0x00004000) != 0);
953
+ }
954
+ /**
955
+ * <pre>
956
+ * IP address of the Esxi Hypervisor
957
+ * </pre>
958
+ *
959
+ * <code>optional string ip_address = 18;</code>
960
+ * @return The ipAddress.
961
+ */
962
+ @java.lang.Override
963
+ public java.lang.String getIpAddress() {
964
+ java.lang.Object ref = ipAddress_;
965
+ if (ref instanceof java.lang.String) {
966
+ return (java.lang.String) ref;
967
+ } else {
968
+ com.google.protobuf.ByteString bs =
969
+ (com.google.protobuf.ByteString) ref;
970
+ java.lang.String s = bs.toStringUtf8();
971
+ ipAddress_ = s;
972
+ return s;
973
+ }
974
+ }
975
+ /**
976
+ * <pre>
977
+ * IP address of the Esxi Hypervisor
978
+ * </pre>
979
+ *
980
+ * <code>optional string ip_address = 18;</code>
981
+ * @return The bytes for ipAddress.
982
+ */
983
+ @java.lang.Override
984
+ public com.google.protobuf.ByteString
985
+ getIpAddressBytes() {
986
+ java.lang.Object ref = ipAddress_;
987
+ if (ref instanceof java.lang.String) {
988
+ com.google.protobuf.ByteString b =
989
+ com.google.protobuf.ByteString.copyFromUtf8(
990
+ (java.lang.String) ref);
991
+ ipAddress_ = b;
992
+ return b;
993
+ } else {
994
+ return (com.google.protobuf.ByteString) ref;
995
+ }
996
+ }
997
+
998
+ public static final int PORT_FIELD_NUMBER = 19;
999
+ private int port_ = 0;
1000
+ /**
1001
+ * <pre>
1002
+ * Port of the Esxi Hypervisor
1003
+ * </pre>
1004
+ *
1005
+ * <code>optional uint32 port = 19;</code>
1006
+ * @return Whether the port field is set.
1007
+ */
1008
+ @java.lang.Override
1009
+ public boolean hasPort() {
1010
+ return ((bitField0_ & 0x00008000) != 0);
1011
+ }
1012
+ /**
1013
+ * <pre>
1014
+ * Port of the Esxi Hypervisor
1015
+ * </pre>
1016
+ *
1017
+ * <code>optional uint32 port = 19;</code>
1018
+ * @return The port.
1019
+ */
1020
+ @java.lang.Override
1021
+ public int getPort() {
1022
+ return port_;
1023
+ }
1024
+
1025
+ public static final int SSL_THUMBPRINT_FIELD_NUMBER = 20;
1026
+ @SuppressWarnings("serial")
1027
+ private volatile java.lang.Object sslThumbprint_ = "";
1028
+ /**
1029
+ * <pre>
1030
+ * SSL thumbprint of the Esxi Hypervisor
1031
+ * </pre>
1032
+ *
1033
+ * <code>optional string ssl_thumbprint = 20;</code>
1034
+ * @return Whether the sslThumbprint field is set.
1035
+ */
1036
+ @java.lang.Override
1037
+ public boolean hasSslThumbprint() {
1038
+ return ((bitField0_ & 0x00010000) != 0);
1039
+ }
1040
+ /**
1041
+ * <pre>
1042
+ * SSL thumbprint of the Esxi Hypervisor
1043
+ * </pre>
1044
+ *
1045
+ * <code>optional string ssl_thumbprint = 20;</code>
1046
+ * @return The sslThumbprint.
1047
+ */
1048
+ @java.lang.Override
1049
+ public java.lang.String getSslThumbprint() {
1050
+ java.lang.Object ref = sslThumbprint_;
1051
+ if (ref instanceof java.lang.String) {
1052
+ return (java.lang.String) ref;
1053
+ } else {
1054
+ com.google.protobuf.ByteString bs =
1055
+ (com.google.protobuf.ByteString) ref;
1056
+ java.lang.String s = bs.toStringUtf8();
1057
+ sslThumbprint_ = s;
1058
+ return s;
1059
+ }
1060
+ }
1061
+ /**
1062
+ * <pre>
1063
+ * SSL thumbprint of the Esxi Hypervisor
1064
+ * </pre>
1065
+ *
1066
+ * <code>optional string ssl_thumbprint = 20;</code>
1067
+ * @return The bytes for sslThumbprint.
1068
+ */
1069
+ @java.lang.Override
1070
+ public com.google.protobuf.ByteString
1071
+ getSslThumbprintBytes() {
1072
+ java.lang.Object ref = sslThumbprint_;
1073
+ if (ref instanceof java.lang.String) {
1074
+ com.google.protobuf.ByteString b =
1075
+ com.google.protobuf.ByteString.copyFromUtf8(
1076
+ (java.lang.String) ref);
1077
+ sslThumbprint_ = b;
1078
+ return b;
1079
+ } else {
1080
+ return (com.google.protobuf.ByteString) ref;
1081
+ }
1082
+ }
1083
+
1084
+ public static final int MANAGEMENT_SERVER_IP_FIELD_NUMBER = 21;
1085
+ @SuppressWarnings("serial")
1086
+ private volatile java.lang.Object managementServerIp_ = "";
1087
+ /**
1088
+ * <pre>
1089
+ * Management server IP of the Esxi Hypervisor
1090
+ * </pre>
1091
+ *
1092
+ * <code>optional string management_server_ip = 21;</code>
1093
+ * @return Whether the managementServerIp field is set.
1094
+ */
1095
+ @java.lang.Override
1096
+ public boolean hasManagementServerIp() {
1097
+ return ((bitField0_ & 0x00020000) != 0);
1098
+ }
1099
+ /**
1100
+ * <pre>
1101
+ * Management server IP of the Esxi Hypervisor
1102
+ * </pre>
1103
+ *
1104
+ * <code>optional string management_server_ip = 21;</code>
1105
+ * @return The managementServerIp.
1106
+ */
1107
+ @java.lang.Override
1108
+ public java.lang.String getManagementServerIp() {
1109
+ java.lang.Object ref = managementServerIp_;
1110
+ if (ref instanceof java.lang.String) {
1111
+ return (java.lang.String) ref;
1112
+ } else {
1113
+ com.google.protobuf.ByteString bs =
1114
+ (com.google.protobuf.ByteString) ref;
1115
+ java.lang.String s = bs.toStringUtf8();
1116
+ managementServerIp_ = s;
1117
+ return s;
1118
+ }
1119
+ }
1120
+ /**
1121
+ * <pre>
1122
+ * Management server IP of the Esxi Hypervisor
1123
+ * </pre>
1124
+ *
1125
+ * <code>optional string management_server_ip = 21;</code>
1126
+ * @return The bytes for managementServerIp.
1127
+ */
1128
+ @java.lang.Override
1129
+ public com.google.protobuf.ByteString
1130
+ getManagementServerIpBytes() {
1131
+ java.lang.Object ref = managementServerIp_;
1132
+ if (ref instanceof java.lang.String) {
1133
+ com.google.protobuf.ByteString b =
1134
+ com.google.protobuf.ByteString.copyFromUtf8(
1135
+ (java.lang.String) ref);
1136
+ managementServerIp_ = b;
1137
+ return b;
1138
+ } else {
1139
+ return (com.google.protobuf.ByteString) ref;
1140
+ }
1141
+ }
1142
+
1143
+ public static final int NUM_CPU_FIELD_NUMBER = 22;
1144
+ private int numCpu_ = 0;
1145
+ /**
1146
+ * <pre>
1147
+ * Number of CPU cores of the Esxi Hypervisor
1148
+ * </pre>
1149
+ *
1150
+ * <code>optional uint32 num_cpu = 22;</code>
1151
+ * @return Whether the numCpu field is set.
1152
+ */
1153
+ @java.lang.Override
1154
+ public boolean hasNumCpu() {
1155
+ return ((bitField0_ & 0x00040000) != 0);
1156
+ }
1157
+ /**
1158
+ * <pre>
1159
+ * Number of CPU cores of the Esxi Hypervisor
1160
+ * </pre>
1161
+ *
1162
+ * <code>optional uint32 num_cpu = 22;</code>
1163
+ * @return The numCpu.
1164
+ */
1165
+ @java.lang.Override
1166
+ public int getNumCpu() {
1167
+ return numCpu_;
1168
+ }
1169
+
1170
+ public static final int NUM_CORES_PER_SOCKET_FIELD_NUMBER = 23;
1171
+ private int numCoresPerSocket_ = 0;
1172
+ /**
1173
+ * <pre>
1174
+ * Number of cores per socket of the Esxi Hypervisor
1175
+ * </pre>
1176
+ *
1177
+ * <code>optional uint32 num_cores_per_socket = 23;</code>
1178
+ * @return Whether the numCoresPerSocket field is set.
1179
+ */
1180
+ @java.lang.Override
1181
+ public boolean hasNumCoresPerSocket() {
1182
+ return ((bitField0_ & 0x00080000) != 0);
1183
+ }
1184
+ /**
1185
+ * <pre>
1186
+ * Number of cores per socket of the Esxi Hypervisor
1187
+ * </pre>
1188
+ *
1189
+ * <code>optional uint32 num_cores_per_socket = 23;</code>
1190
+ * @return The numCoresPerSocket.
1191
+ */
1192
+ @java.lang.Override
1193
+ public int getNumCoresPerSocket() {
1194
+ return numCoresPerSocket_;
1195
+ }
1196
+
1197
+ private byte memoizedIsInitialized = -1;
1198
+ @java.lang.Override
1199
+ public final boolean isInitialized() {
1200
+ byte isInitialized = memoizedIsInitialized;
1201
+ if (isInitialized == 1) return true;
1202
+ if (isInitialized == 0) return false;
1203
+
1204
+ memoizedIsInitialized = 1;
1205
+ return true;
1206
+ }
1207
+
1208
+ @java.lang.Override
1209
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
1210
+ throws java.io.IOException {
1211
+ if (((bitField0_ & 0x00000001) != 0)) {
1212
+ output.writeMessage(1, getProductInfo());
1213
+ }
1214
+ if (((bitField0_ & 0x00000002) != 0)) {
1215
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, vcenterAssetKey_);
1216
+ }
1217
+ com.google.protobuf.GeneratedMessageV3
1218
+ .serializeStringMapTo(
1219
+ output,
1220
+ internalGetEsxiHypervisorDatastores(),
1221
+ EsxiHypervisorDatastoresDefaultEntryHolder.defaultEntry,
1222
+ 3);
1223
+ com.google.protobuf.GeneratedMessageV3
1224
+ .serializeStringMapTo(
1225
+ output,
1226
+ internalGetEsxiGuestVmKey(),
1227
+ EsxiGuestVmKeyDefaultEntryHolder.defaultEntry,
1228
+ 4);
1229
+ if (((bitField0_ & 0x00000004) != 0)) {
1230
+ output.writeUInt64(5, upTime_);
1231
+ }
1232
+ if (((bitField0_ & 0x00000010) != 0)) {
1233
+ output.writeUInt64(6, hostMaxVirtualDiskCapacity_);
1234
+ }
1235
+ if (((bitField0_ & 0x00000020) != 0)) {
1236
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 7, numCpuPackages_);
1237
+ }
1238
+ for (int i = 0; i < cpuPackagesDescriptions_.size(); i++) {
1239
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 8, cpuPackagesDescriptions_.getRaw(i));
1240
+ }
1241
+ if (((bitField0_ & 0x00000040) != 0)) {
1242
+ output.writeUInt32(9, numNics_);
1243
+ }
1244
+ if (((bitField0_ & 0x00000080) != 0)) {
1245
+ output.writeUInt32(10, numHbas_);
1246
+ }
1247
+ if (((bitField0_ & 0x00000100) != 0)) {
1248
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 11, uuid_);
1249
+ }
1250
+ if (((bitField0_ & 0x00000200) != 0)) {
1251
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 12, connectionState_);
1252
+ }
1253
+ if (((bitField0_ & 0x00000400) != 0)) {
1254
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 13, powerState_);
1255
+ }
1256
+ if (((bitField0_ & 0x00000800) != 0)) {
1257
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 14, datacenterId_);
1258
+ }
1259
+ if (((bitField0_ & 0x00001000) != 0)) {
1260
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 15, internalKey_);
1261
+ }
1262
+ if (((bitField0_ & 0x00002000) != 0)) {
1263
+ output.writeBool(16, adminDisabled_);
1264
+ }
1265
+ if (((bitField0_ & 0x00000008) != 0)) {
1266
+ output.writeMessage(17, getBootTime());
1267
+ }
1268
+ if (((bitField0_ & 0x00004000) != 0)) {
1269
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 18, ipAddress_);
1270
+ }
1271
+ if (((bitField0_ & 0x00008000) != 0)) {
1272
+ output.writeUInt32(19, port_);
1273
+ }
1274
+ if (((bitField0_ & 0x00010000) != 0)) {
1275
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 20, sslThumbprint_);
1276
+ }
1277
+ if (((bitField0_ & 0x00020000) != 0)) {
1278
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 21, managementServerIp_);
1279
+ }
1280
+ if (((bitField0_ & 0x00040000) != 0)) {
1281
+ output.writeUInt32(22, numCpu_);
1282
+ }
1283
+ if (((bitField0_ & 0x00080000) != 0)) {
1284
+ output.writeUInt32(23, numCoresPerSocket_);
1285
+ }
1286
+ getUnknownFields().writeTo(output);
1287
+ }
1288
+
1289
+ @java.lang.Override
1290
+ public int getSerializedSize() {
1291
+ int size = memoizedSize;
1292
+ if (size != -1) return size;
1293
+
1294
+ size = 0;
1295
+ if (((bitField0_ & 0x00000001) != 0)) {
1296
+ size += com.google.protobuf.CodedOutputStream
1297
+ .computeMessageSize(1, getProductInfo());
1298
+ }
1299
+ if (((bitField0_ & 0x00000002) != 0)) {
1300
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, vcenterAssetKey_);
1301
+ }
1302
+ for (java.util.Map.Entry<java.lang.String, com.lansweeper.dp.outbound.v1.VmwareDatastore> entry
1303
+ : internalGetEsxiHypervisorDatastores().getMap().entrySet()) {
1304
+ com.google.protobuf.MapEntry<java.lang.String, com.lansweeper.dp.outbound.v1.VmwareDatastore>
1305
+ esxiHypervisorDatastores__ = EsxiHypervisorDatastoresDefaultEntryHolder.defaultEntry.newBuilderForType()
1306
+ .setKey(entry.getKey())
1307
+ .setValue(entry.getValue())
1308
+ .build();
1309
+ size += com.google.protobuf.CodedOutputStream
1310
+ .computeMessageSize(3, esxiHypervisorDatastores__);
1311
+ }
1312
+ for (java.util.Map.Entry<java.lang.String, java.lang.Boolean> entry
1313
+ : internalGetEsxiGuestVmKey().getMap().entrySet()) {
1314
+ com.google.protobuf.MapEntry<java.lang.String, java.lang.Boolean>
1315
+ esxiGuestVmKey__ = EsxiGuestVmKeyDefaultEntryHolder.defaultEntry.newBuilderForType()
1316
+ .setKey(entry.getKey())
1317
+ .setValue(entry.getValue())
1318
+ .build();
1319
+ size += com.google.protobuf.CodedOutputStream
1320
+ .computeMessageSize(4, esxiGuestVmKey__);
1321
+ }
1322
+ if (((bitField0_ & 0x00000004) != 0)) {
1323
+ size += com.google.protobuf.CodedOutputStream
1324
+ .computeUInt64Size(5, upTime_);
1325
+ }
1326
+ if (((bitField0_ & 0x00000010) != 0)) {
1327
+ size += com.google.protobuf.CodedOutputStream
1328
+ .computeUInt64Size(6, hostMaxVirtualDiskCapacity_);
1329
+ }
1330
+ if (((bitField0_ & 0x00000020) != 0)) {
1331
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, numCpuPackages_);
1332
+ }
1333
+ {
1334
+ int dataSize = 0;
1335
+ for (int i = 0; i < cpuPackagesDescriptions_.size(); i++) {
1336
+ dataSize += computeStringSizeNoTag(cpuPackagesDescriptions_.getRaw(i));
1337
+ }
1338
+ size += dataSize;
1339
+ size += 1 * getCpuPackagesDescriptionsList().size();
1340
+ }
1341
+ if (((bitField0_ & 0x00000040) != 0)) {
1342
+ size += com.google.protobuf.CodedOutputStream
1343
+ .computeUInt32Size(9, numNics_);
1344
+ }
1345
+ if (((bitField0_ & 0x00000080) != 0)) {
1346
+ size += com.google.protobuf.CodedOutputStream
1347
+ .computeUInt32Size(10, numHbas_);
1348
+ }
1349
+ if (((bitField0_ & 0x00000100) != 0)) {
1350
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, uuid_);
1351
+ }
1352
+ if (((bitField0_ & 0x00000200) != 0)) {
1353
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, connectionState_);
1354
+ }
1355
+ if (((bitField0_ & 0x00000400) != 0)) {
1356
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, powerState_);
1357
+ }
1358
+ if (((bitField0_ & 0x00000800) != 0)) {
1359
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, datacenterId_);
1360
+ }
1361
+ if (((bitField0_ & 0x00001000) != 0)) {
1362
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, internalKey_);
1363
+ }
1364
+ if (((bitField0_ & 0x00002000) != 0)) {
1365
+ size += com.google.protobuf.CodedOutputStream
1366
+ .computeBoolSize(16, adminDisabled_);
1367
+ }
1368
+ if (((bitField0_ & 0x00000008) != 0)) {
1369
+ size += com.google.protobuf.CodedOutputStream
1370
+ .computeMessageSize(17, getBootTime());
1371
+ }
1372
+ if (((bitField0_ & 0x00004000) != 0)) {
1373
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, ipAddress_);
1374
+ }
1375
+ if (((bitField0_ & 0x00008000) != 0)) {
1376
+ size += com.google.protobuf.CodedOutputStream
1377
+ .computeUInt32Size(19, port_);
1378
+ }
1379
+ if (((bitField0_ & 0x00010000) != 0)) {
1380
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(20, sslThumbprint_);
1381
+ }
1382
+ if (((bitField0_ & 0x00020000) != 0)) {
1383
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(21, managementServerIp_);
1384
+ }
1385
+ if (((bitField0_ & 0x00040000) != 0)) {
1386
+ size += com.google.protobuf.CodedOutputStream
1387
+ .computeUInt32Size(22, numCpu_);
1388
+ }
1389
+ if (((bitField0_ & 0x00080000) != 0)) {
1390
+ size += com.google.protobuf.CodedOutputStream
1391
+ .computeUInt32Size(23, numCoresPerSocket_);
1392
+ }
1393
+ size += getUnknownFields().getSerializedSize();
1394
+ memoizedSize = size;
1395
+ return size;
1396
+ }
1397
+
1398
+ @java.lang.Override
1399
+ public boolean equals(final java.lang.Object obj) {
1400
+ if (obj == this) {
1401
+ return true;
1402
+ }
1403
+ if (!(obj instanceof com.lansweeper.dp.outbound.v1.VmwareEsxiHypervisor)) {
1404
+ return super.equals(obj);
1405
+ }
1406
+ com.lansweeper.dp.outbound.v1.VmwareEsxiHypervisor other = (com.lansweeper.dp.outbound.v1.VmwareEsxiHypervisor) obj;
1407
+
1408
+ if (hasProductInfo() != other.hasProductInfo()) return false;
1409
+ if (hasProductInfo()) {
1410
+ if (!getProductInfo()
1411
+ .equals(other.getProductInfo())) return false;
1412
+ }
1413
+ if (hasVcenterAssetKey() != other.hasVcenterAssetKey()) return false;
1414
+ if (hasVcenterAssetKey()) {
1415
+ if (!getVcenterAssetKey()
1416
+ .equals(other.getVcenterAssetKey())) return false;
1417
+ }
1418
+ if (!internalGetEsxiHypervisorDatastores().equals(
1419
+ other.internalGetEsxiHypervisorDatastores())) return false;
1420
+ if (!internalGetEsxiGuestVmKey().equals(
1421
+ other.internalGetEsxiGuestVmKey())) return false;
1422
+ if (hasUpTime() != other.hasUpTime()) return false;
1423
+ if (hasUpTime()) {
1424
+ if (getUpTime()
1425
+ != other.getUpTime()) return false;
1426
+ }
1427
+ if (hasBootTime() != other.hasBootTime()) return false;
1428
+ if (hasBootTime()) {
1429
+ if (!getBootTime()
1430
+ .equals(other.getBootTime())) return false;
1431
+ }
1432
+ if (hasHostMaxVirtualDiskCapacity() != other.hasHostMaxVirtualDiskCapacity()) return false;
1433
+ if (hasHostMaxVirtualDiskCapacity()) {
1434
+ if (getHostMaxVirtualDiskCapacity()
1435
+ != other.getHostMaxVirtualDiskCapacity()) return false;
1436
+ }
1437
+ if (hasNumCpuPackages() != other.hasNumCpuPackages()) return false;
1438
+ if (hasNumCpuPackages()) {
1439
+ if (!getNumCpuPackages()
1440
+ .equals(other.getNumCpuPackages())) return false;
1441
+ }
1442
+ if (!getCpuPackagesDescriptionsList()
1443
+ .equals(other.getCpuPackagesDescriptionsList())) return false;
1444
+ if (hasNumNics() != other.hasNumNics()) return false;
1445
+ if (hasNumNics()) {
1446
+ if (getNumNics()
1447
+ != other.getNumNics()) return false;
1448
+ }
1449
+ if (hasNumHbas() != other.hasNumHbas()) return false;
1450
+ if (hasNumHbas()) {
1451
+ if (getNumHbas()
1452
+ != other.getNumHbas()) return false;
1453
+ }
1454
+ if (hasUuid() != other.hasUuid()) return false;
1455
+ if (hasUuid()) {
1456
+ if (!getUuid()
1457
+ .equals(other.getUuid())) return false;
1458
+ }
1459
+ if (hasConnectionState() != other.hasConnectionState()) return false;
1460
+ if (hasConnectionState()) {
1461
+ if (!getConnectionState()
1462
+ .equals(other.getConnectionState())) return false;
1463
+ }
1464
+ if (hasPowerState() != other.hasPowerState()) return false;
1465
+ if (hasPowerState()) {
1466
+ if (!getPowerState()
1467
+ .equals(other.getPowerState())) return false;
1468
+ }
1469
+ if (hasDatacenterId() != other.hasDatacenterId()) return false;
1470
+ if (hasDatacenterId()) {
1471
+ if (!getDatacenterId()
1472
+ .equals(other.getDatacenterId())) return false;
1473
+ }
1474
+ if (hasInternalKey() != other.hasInternalKey()) return false;
1475
+ if (hasInternalKey()) {
1476
+ if (!getInternalKey()
1477
+ .equals(other.getInternalKey())) return false;
1478
+ }
1479
+ if (hasAdminDisabled() != other.hasAdminDisabled()) return false;
1480
+ if (hasAdminDisabled()) {
1481
+ if (getAdminDisabled()
1482
+ != other.getAdminDisabled()) return false;
1483
+ }
1484
+ if (hasIpAddress() != other.hasIpAddress()) return false;
1485
+ if (hasIpAddress()) {
1486
+ if (!getIpAddress()
1487
+ .equals(other.getIpAddress())) return false;
1488
+ }
1489
+ if (hasPort() != other.hasPort()) return false;
1490
+ if (hasPort()) {
1491
+ if (getPort()
1492
+ != other.getPort()) return false;
1493
+ }
1494
+ if (hasSslThumbprint() != other.hasSslThumbprint()) return false;
1495
+ if (hasSslThumbprint()) {
1496
+ if (!getSslThumbprint()
1497
+ .equals(other.getSslThumbprint())) return false;
1498
+ }
1499
+ if (hasManagementServerIp() != other.hasManagementServerIp()) return false;
1500
+ if (hasManagementServerIp()) {
1501
+ if (!getManagementServerIp()
1502
+ .equals(other.getManagementServerIp())) return false;
1503
+ }
1504
+ if (hasNumCpu() != other.hasNumCpu()) return false;
1505
+ if (hasNumCpu()) {
1506
+ if (getNumCpu()
1507
+ != other.getNumCpu()) return false;
1508
+ }
1509
+ if (hasNumCoresPerSocket() != other.hasNumCoresPerSocket()) return false;
1510
+ if (hasNumCoresPerSocket()) {
1511
+ if (getNumCoresPerSocket()
1512
+ != other.getNumCoresPerSocket()) return false;
1513
+ }
1514
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
1515
+ return true;
1516
+ }
1517
+
1518
+ @java.lang.Override
1519
+ public int hashCode() {
1520
+ if (memoizedHashCode != 0) {
1521
+ return memoizedHashCode;
1522
+ }
1523
+ int hash = 41;
1524
+ hash = (19 * hash) + getDescriptor().hashCode();
1525
+ if (hasProductInfo()) {
1526
+ hash = (37 * hash) + PRODUCT_INFO_FIELD_NUMBER;
1527
+ hash = (53 * hash) + getProductInfo().hashCode();
1528
+ }
1529
+ if (hasVcenterAssetKey()) {
1530
+ hash = (37 * hash) + VCENTER_ASSET_KEY_FIELD_NUMBER;
1531
+ hash = (53 * hash) + getVcenterAssetKey().hashCode();
1532
+ }
1533
+ if (!internalGetEsxiHypervisorDatastores().getMap().isEmpty()) {
1534
+ hash = (37 * hash) + ESXI_HYPERVISOR_DATASTORES_FIELD_NUMBER;
1535
+ hash = (53 * hash) + internalGetEsxiHypervisorDatastores().hashCode();
1536
+ }
1537
+ if (!internalGetEsxiGuestVmKey().getMap().isEmpty()) {
1538
+ hash = (37 * hash) + ESXI_GUEST_VM_KEY_FIELD_NUMBER;
1539
+ hash = (53 * hash) + internalGetEsxiGuestVmKey().hashCode();
1540
+ }
1541
+ if (hasUpTime()) {
1542
+ hash = (37 * hash) + UP_TIME_FIELD_NUMBER;
1543
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1544
+ getUpTime());
1545
+ }
1546
+ if (hasBootTime()) {
1547
+ hash = (37 * hash) + BOOT_TIME_FIELD_NUMBER;
1548
+ hash = (53 * hash) + getBootTime().hashCode();
1549
+ }
1550
+ if (hasHostMaxVirtualDiskCapacity()) {
1551
+ hash = (37 * hash) + HOST_MAX_VIRTUAL_DISK_CAPACITY_FIELD_NUMBER;
1552
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
1553
+ getHostMaxVirtualDiskCapacity());
1554
+ }
1555
+ if (hasNumCpuPackages()) {
1556
+ hash = (37 * hash) + NUM_CPU_PACKAGES_FIELD_NUMBER;
1557
+ hash = (53 * hash) + getNumCpuPackages().hashCode();
1558
+ }
1559
+ if (getCpuPackagesDescriptionsCount() > 0) {
1560
+ hash = (37 * hash) + CPU_PACKAGES_DESCRIPTIONS_FIELD_NUMBER;
1561
+ hash = (53 * hash) + getCpuPackagesDescriptionsList().hashCode();
1562
+ }
1563
+ if (hasNumNics()) {
1564
+ hash = (37 * hash) + NUM_NICS_FIELD_NUMBER;
1565
+ hash = (53 * hash) + getNumNics();
1566
+ }
1567
+ if (hasNumHbas()) {
1568
+ hash = (37 * hash) + NUM_HBAS_FIELD_NUMBER;
1569
+ hash = (53 * hash) + getNumHbas();
1570
+ }
1571
+ if (hasUuid()) {
1572
+ hash = (37 * hash) + UUID_FIELD_NUMBER;
1573
+ hash = (53 * hash) + getUuid().hashCode();
1574
+ }
1575
+ if (hasConnectionState()) {
1576
+ hash = (37 * hash) + CONNECTION_STATE_FIELD_NUMBER;
1577
+ hash = (53 * hash) + getConnectionState().hashCode();
1578
+ }
1579
+ if (hasPowerState()) {
1580
+ hash = (37 * hash) + POWER_STATE_FIELD_NUMBER;
1581
+ hash = (53 * hash) + getPowerState().hashCode();
1582
+ }
1583
+ if (hasDatacenterId()) {
1584
+ hash = (37 * hash) + DATACENTER_ID_FIELD_NUMBER;
1585
+ hash = (53 * hash) + getDatacenterId().hashCode();
1586
+ }
1587
+ if (hasInternalKey()) {
1588
+ hash = (37 * hash) + INTERNAL_KEY_FIELD_NUMBER;
1589
+ hash = (53 * hash) + getInternalKey().hashCode();
1590
+ }
1591
+ if (hasAdminDisabled()) {
1592
+ hash = (37 * hash) + ADMIN_DISABLED_FIELD_NUMBER;
1593
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
1594
+ getAdminDisabled());
1595
+ }
1596
+ if (hasIpAddress()) {
1597
+ hash = (37 * hash) + IP_ADDRESS_FIELD_NUMBER;
1598
+ hash = (53 * hash) + getIpAddress().hashCode();
1599
+ }
1600
+ if (hasPort()) {
1601
+ hash = (37 * hash) + PORT_FIELD_NUMBER;
1602
+ hash = (53 * hash) + getPort();
1603
+ }
1604
+ if (hasSslThumbprint()) {
1605
+ hash = (37 * hash) + SSL_THUMBPRINT_FIELD_NUMBER;
1606
+ hash = (53 * hash) + getSslThumbprint().hashCode();
1607
+ }
1608
+ if (hasManagementServerIp()) {
1609
+ hash = (37 * hash) + MANAGEMENT_SERVER_IP_FIELD_NUMBER;
1610
+ hash = (53 * hash) + getManagementServerIp().hashCode();
1611
+ }
1612
+ if (hasNumCpu()) {
1613
+ hash = (37 * hash) + NUM_CPU_FIELD_NUMBER;
1614
+ hash = (53 * hash) + getNumCpu();
1615
+ }
1616
+ if (hasNumCoresPerSocket()) {
1617
+ hash = (37 * hash) + NUM_CORES_PER_SOCKET_FIELD_NUMBER;
1618
+ hash = (53 * hash) + getNumCoresPerSocket();
1619
+ }
1620
+ hash = (29 * hash) + getUnknownFields().hashCode();
1621
+ memoizedHashCode = hash;
1622
+ return hash;
1623
+ }
1624
+
1625
+ public static com.lansweeper.dp.outbound.v1.VmwareEsxiHypervisor parseFrom(
1626
+ java.nio.ByteBuffer data)
1627
+ throws com.google.protobuf.InvalidProtocolBufferException {
1628
+ return PARSER.parseFrom(data);
1629
+ }
1630
+ public static com.lansweeper.dp.outbound.v1.VmwareEsxiHypervisor parseFrom(
1631
+ java.nio.ByteBuffer data,
1632
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1633
+ throws com.google.protobuf.InvalidProtocolBufferException {
1634
+ return PARSER.parseFrom(data, extensionRegistry);
1635
+ }
1636
+ public static com.lansweeper.dp.outbound.v1.VmwareEsxiHypervisor parseFrom(
1637
+ com.google.protobuf.ByteString data)
1638
+ throws com.google.protobuf.InvalidProtocolBufferException {
1639
+ return PARSER.parseFrom(data);
1640
+ }
1641
+ public static com.lansweeper.dp.outbound.v1.VmwareEsxiHypervisor parseFrom(
1642
+ com.google.protobuf.ByteString data,
1643
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1644
+ throws com.google.protobuf.InvalidProtocolBufferException {
1645
+ return PARSER.parseFrom(data, extensionRegistry);
1646
+ }
1647
+ public static com.lansweeper.dp.outbound.v1.VmwareEsxiHypervisor parseFrom(byte[] data)
1648
+ throws com.google.protobuf.InvalidProtocolBufferException {
1649
+ return PARSER.parseFrom(data);
1650
+ }
1651
+ public static com.lansweeper.dp.outbound.v1.VmwareEsxiHypervisor parseFrom(
1652
+ byte[] data,
1653
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1654
+ throws com.google.protobuf.InvalidProtocolBufferException {
1655
+ return PARSER.parseFrom(data, extensionRegistry);
1656
+ }
1657
+ public static com.lansweeper.dp.outbound.v1.VmwareEsxiHypervisor parseFrom(java.io.InputStream input)
1658
+ throws java.io.IOException {
1659
+ return com.google.protobuf.GeneratedMessageV3
1660
+ .parseWithIOException(PARSER, input);
1661
+ }
1662
+ public static com.lansweeper.dp.outbound.v1.VmwareEsxiHypervisor parseFrom(
1663
+ java.io.InputStream input,
1664
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1665
+ throws java.io.IOException {
1666
+ return com.google.protobuf.GeneratedMessageV3
1667
+ .parseWithIOException(PARSER, input, extensionRegistry);
1668
+ }
1669
+
1670
+ public static com.lansweeper.dp.outbound.v1.VmwareEsxiHypervisor parseDelimitedFrom(java.io.InputStream input)
1671
+ throws java.io.IOException {
1672
+ return com.google.protobuf.GeneratedMessageV3
1673
+ .parseDelimitedWithIOException(PARSER, input);
1674
+ }
1675
+
1676
+ public static com.lansweeper.dp.outbound.v1.VmwareEsxiHypervisor parseDelimitedFrom(
1677
+ java.io.InputStream input,
1678
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1679
+ throws java.io.IOException {
1680
+ return com.google.protobuf.GeneratedMessageV3
1681
+ .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
1682
+ }
1683
+ public static com.lansweeper.dp.outbound.v1.VmwareEsxiHypervisor parseFrom(
1684
+ com.google.protobuf.CodedInputStream input)
1685
+ throws java.io.IOException {
1686
+ return com.google.protobuf.GeneratedMessageV3
1687
+ .parseWithIOException(PARSER, input);
1688
+ }
1689
+ public static com.lansweeper.dp.outbound.v1.VmwareEsxiHypervisor parseFrom(
1690
+ com.google.protobuf.CodedInputStream input,
1691
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1692
+ throws java.io.IOException {
1693
+ return com.google.protobuf.GeneratedMessageV3
1694
+ .parseWithIOException(PARSER, input, extensionRegistry);
1695
+ }
1696
+
1697
+ @java.lang.Override
1698
+ public Builder newBuilderForType() { return newBuilder(); }
1699
+ public static Builder newBuilder() {
1700
+ return DEFAULT_INSTANCE.toBuilder();
1701
+ }
1702
+ public static Builder newBuilder(com.lansweeper.dp.outbound.v1.VmwareEsxiHypervisor prototype) {
1703
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
1704
+ }
1705
+ @java.lang.Override
1706
+ public Builder toBuilder() {
1707
+ return this == DEFAULT_INSTANCE
1708
+ ? new Builder() : new Builder().mergeFrom(this);
1709
+ }
1710
+
1711
+ @java.lang.Override
1712
+ protected Builder newBuilderForType(
1713
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
1714
+ Builder builder = new Builder(parent);
1715
+ return builder;
1716
+ }
1717
+ /**
1718
+ * <pre>
1719
+ **
1720
+ *Specific asset data related to Vmware ESXI Hypervisor
1721
+ * </pre>
1722
+ *
1723
+ * Protobuf type {@code com.lansweeper.dp.outbound.v1.VmwareEsxiHypervisor}
1724
+ */
1725
+ public static final class Builder extends
1726
+ com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
1727
+ // @@protoc_insertion_point(builder_implements:com.lansweeper.dp.outbound.v1.VmwareEsxiHypervisor)
1728
+ com.lansweeper.dp.outbound.v1.VmwareEsxiHypervisorOrBuilder {
1729
+ public static final com.google.protobuf.Descriptors.Descriptor
1730
+ getDescriptor() {
1731
+ return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_VmwareEsxiHypervisor_descriptor;
1732
+ }
1733
+
1734
+ @SuppressWarnings({"rawtypes"})
1735
+ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(
1736
+ int number) {
1737
+ switch (number) {
1738
+ case 3:
1739
+ return internalGetEsxiHypervisorDatastores();
1740
+ case 4:
1741
+ return internalGetEsxiGuestVmKey();
1742
+ default:
1743
+ throw new RuntimeException(
1744
+ "Invalid map field number: " + number);
1745
+ }
1746
+ }
1747
+ @SuppressWarnings({"rawtypes"})
1748
+ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(
1749
+ int number) {
1750
+ switch (number) {
1751
+ case 3:
1752
+ return internalGetMutableEsxiHypervisorDatastores();
1753
+ case 4:
1754
+ return internalGetMutableEsxiGuestVmKey();
1755
+ default:
1756
+ throw new RuntimeException(
1757
+ "Invalid map field number: " + number);
1758
+ }
1759
+ }
1760
+ @java.lang.Override
1761
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
1762
+ internalGetFieldAccessorTable() {
1763
+ return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_VmwareEsxiHypervisor_fieldAccessorTable
1764
+ .ensureFieldAccessorsInitialized(
1765
+ com.lansweeper.dp.outbound.v1.VmwareEsxiHypervisor.class, com.lansweeper.dp.outbound.v1.VmwareEsxiHypervisor.Builder.class);
1766
+ }
1767
+
1768
+ // Construct using com.lansweeper.dp.outbound.v1.VmwareEsxiHypervisor.newBuilder()
1769
+ private Builder() {
1770
+ maybeForceBuilderInitialization();
1771
+ }
1772
+
1773
+ private Builder(
1774
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
1775
+ super(parent);
1776
+ maybeForceBuilderInitialization();
1777
+ }
1778
+ private void maybeForceBuilderInitialization() {
1779
+ if (com.google.protobuf.GeneratedMessageV3
1780
+ .alwaysUseFieldBuilders) {
1781
+ getProductInfoFieldBuilder();
1782
+ getBootTimeFieldBuilder();
1783
+ }
1784
+ }
1785
+ @java.lang.Override
1786
+ public Builder clear() {
1787
+ super.clear();
1788
+ bitField0_ = 0;
1789
+ productInfo_ = null;
1790
+ if (productInfoBuilder_ != null) {
1791
+ productInfoBuilder_.dispose();
1792
+ productInfoBuilder_ = null;
1793
+ }
1794
+ vcenterAssetKey_ = "";
1795
+ internalGetMutableEsxiHypervisorDatastores().clear();
1796
+ internalGetMutableEsxiGuestVmKey().clear();
1797
+ upTime_ = 0L;
1798
+ bootTime_ = null;
1799
+ if (bootTimeBuilder_ != null) {
1800
+ bootTimeBuilder_.dispose();
1801
+ bootTimeBuilder_ = null;
1802
+ }
1803
+ hostMaxVirtualDiskCapacity_ = 0L;
1804
+ numCpuPackages_ = "";
1805
+ cpuPackagesDescriptions_ =
1806
+ com.google.protobuf.LazyStringArrayList.emptyList();
1807
+ numNics_ = 0;
1808
+ numHbas_ = 0;
1809
+ uuid_ = "";
1810
+ connectionState_ = "";
1811
+ powerState_ = "";
1812
+ datacenterId_ = "";
1813
+ internalKey_ = "";
1814
+ adminDisabled_ = false;
1815
+ ipAddress_ = "";
1816
+ port_ = 0;
1817
+ sslThumbprint_ = "";
1818
+ managementServerIp_ = "";
1819
+ numCpu_ = 0;
1820
+ numCoresPerSocket_ = 0;
1821
+ return this;
1822
+ }
1823
+
1824
+ @java.lang.Override
1825
+ public com.google.protobuf.Descriptors.Descriptor
1826
+ getDescriptorForType() {
1827
+ return com.lansweeper.dp.outbound.v1.Outbound.internal_static_com_lansweeper_dp_outbound_v1_VmwareEsxiHypervisor_descriptor;
1828
+ }
1829
+
1830
+ @java.lang.Override
1831
+ public com.lansweeper.dp.outbound.v1.VmwareEsxiHypervisor getDefaultInstanceForType() {
1832
+ return com.lansweeper.dp.outbound.v1.VmwareEsxiHypervisor.getDefaultInstance();
1833
+ }
1834
+
1835
+ @java.lang.Override
1836
+ public com.lansweeper.dp.outbound.v1.VmwareEsxiHypervisor build() {
1837
+ com.lansweeper.dp.outbound.v1.VmwareEsxiHypervisor result = buildPartial();
1838
+ if (!result.isInitialized()) {
1839
+ throw newUninitializedMessageException(result);
1840
+ }
1841
+ return result;
1842
+ }
1843
+
1844
+ @java.lang.Override
1845
+ public com.lansweeper.dp.outbound.v1.VmwareEsxiHypervisor buildPartial() {
1846
+ com.lansweeper.dp.outbound.v1.VmwareEsxiHypervisor result = new com.lansweeper.dp.outbound.v1.VmwareEsxiHypervisor(this);
1847
+ if (bitField0_ != 0) { buildPartial0(result); }
1848
+ onBuilt();
1849
+ return result;
1850
+ }
1851
+
1852
+ private void buildPartial0(com.lansweeper.dp.outbound.v1.VmwareEsxiHypervisor result) {
1853
+ int from_bitField0_ = bitField0_;
1854
+ int to_bitField0_ = 0;
1855
+ if (((from_bitField0_ & 0x00000001) != 0)) {
1856
+ result.productInfo_ = productInfoBuilder_ == null
1857
+ ? productInfo_
1858
+ : productInfoBuilder_.build();
1859
+ to_bitField0_ |= 0x00000001;
1860
+ }
1861
+ if (((from_bitField0_ & 0x00000002) != 0)) {
1862
+ result.vcenterAssetKey_ = vcenterAssetKey_;
1863
+ to_bitField0_ |= 0x00000002;
1864
+ }
1865
+ if (((from_bitField0_ & 0x00000004) != 0)) {
1866
+ result.esxiHypervisorDatastores_ = internalGetEsxiHypervisorDatastores().build(EsxiHypervisorDatastoresDefaultEntryHolder.defaultEntry);
1867
+ }
1868
+ if (((from_bitField0_ & 0x00000008) != 0)) {
1869
+ result.esxiGuestVmKey_ = internalGetEsxiGuestVmKey();
1870
+ result.esxiGuestVmKey_.makeImmutable();
1871
+ }
1872
+ if (((from_bitField0_ & 0x00000010) != 0)) {
1873
+ result.upTime_ = upTime_;
1874
+ to_bitField0_ |= 0x00000004;
1875
+ }
1876
+ if (((from_bitField0_ & 0x00000020) != 0)) {
1877
+ result.bootTime_ = bootTimeBuilder_ == null
1878
+ ? bootTime_
1879
+ : bootTimeBuilder_.build();
1880
+ to_bitField0_ |= 0x00000008;
1881
+ }
1882
+ if (((from_bitField0_ & 0x00000040) != 0)) {
1883
+ result.hostMaxVirtualDiskCapacity_ = hostMaxVirtualDiskCapacity_;
1884
+ to_bitField0_ |= 0x00000010;
1885
+ }
1886
+ if (((from_bitField0_ & 0x00000080) != 0)) {
1887
+ result.numCpuPackages_ = numCpuPackages_;
1888
+ to_bitField0_ |= 0x00000020;
1889
+ }
1890
+ if (((from_bitField0_ & 0x00000100) != 0)) {
1891
+ cpuPackagesDescriptions_.makeImmutable();
1892
+ result.cpuPackagesDescriptions_ = cpuPackagesDescriptions_;
1893
+ }
1894
+ if (((from_bitField0_ & 0x00000200) != 0)) {
1895
+ result.numNics_ = numNics_;
1896
+ to_bitField0_ |= 0x00000040;
1897
+ }
1898
+ if (((from_bitField0_ & 0x00000400) != 0)) {
1899
+ result.numHbas_ = numHbas_;
1900
+ to_bitField0_ |= 0x00000080;
1901
+ }
1902
+ if (((from_bitField0_ & 0x00000800) != 0)) {
1903
+ result.uuid_ = uuid_;
1904
+ to_bitField0_ |= 0x00000100;
1905
+ }
1906
+ if (((from_bitField0_ & 0x00001000) != 0)) {
1907
+ result.connectionState_ = connectionState_;
1908
+ to_bitField0_ |= 0x00000200;
1909
+ }
1910
+ if (((from_bitField0_ & 0x00002000) != 0)) {
1911
+ result.powerState_ = powerState_;
1912
+ to_bitField0_ |= 0x00000400;
1913
+ }
1914
+ if (((from_bitField0_ & 0x00004000) != 0)) {
1915
+ result.datacenterId_ = datacenterId_;
1916
+ to_bitField0_ |= 0x00000800;
1917
+ }
1918
+ if (((from_bitField0_ & 0x00008000) != 0)) {
1919
+ result.internalKey_ = internalKey_;
1920
+ to_bitField0_ |= 0x00001000;
1921
+ }
1922
+ if (((from_bitField0_ & 0x00010000) != 0)) {
1923
+ result.adminDisabled_ = adminDisabled_;
1924
+ to_bitField0_ |= 0x00002000;
1925
+ }
1926
+ if (((from_bitField0_ & 0x00020000) != 0)) {
1927
+ result.ipAddress_ = ipAddress_;
1928
+ to_bitField0_ |= 0x00004000;
1929
+ }
1930
+ if (((from_bitField0_ & 0x00040000) != 0)) {
1931
+ result.port_ = port_;
1932
+ to_bitField0_ |= 0x00008000;
1933
+ }
1934
+ if (((from_bitField0_ & 0x00080000) != 0)) {
1935
+ result.sslThumbprint_ = sslThumbprint_;
1936
+ to_bitField0_ |= 0x00010000;
1937
+ }
1938
+ if (((from_bitField0_ & 0x00100000) != 0)) {
1939
+ result.managementServerIp_ = managementServerIp_;
1940
+ to_bitField0_ |= 0x00020000;
1941
+ }
1942
+ if (((from_bitField0_ & 0x00200000) != 0)) {
1943
+ result.numCpu_ = numCpu_;
1944
+ to_bitField0_ |= 0x00040000;
1945
+ }
1946
+ if (((from_bitField0_ & 0x00400000) != 0)) {
1947
+ result.numCoresPerSocket_ = numCoresPerSocket_;
1948
+ to_bitField0_ |= 0x00080000;
1949
+ }
1950
+ result.bitField0_ |= to_bitField0_;
1951
+ }
1952
+
1953
+ @java.lang.Override
1954
+ public Builder clone() {
1955
+ return super.clone();
1956
+ }
1957
+ @java.lang.Override
1958
+ public Builder setField(
1959
+ com.google.protobuf.Descriptors.FieldDescriptor field,
1960
+ java.lang.Object value) {
1961
+ return super.setField(field, value);
1962
+ }
1963
+ @java.lang.Override
1964
+ public Builder clearField(
1965
+ com.google.protobuf.Descriptors.FieldDescriptor field) {
1966
+ return super.clearField(field);
1967
+ }
1968
+ @java.lang.Override
1969
+ public Builder clearOneof(
1970
+ com.google.protobuf.Descriptors.OneofDescriptor oneof) {
1971
+ return super.clearOneof(oneof);
1972
+ }
1973
+ @java.lang.Override
1974
+ public Builder setRepeatedField(
1975
+ com.google.protobuf.Descriptors.FieldDescriptor field,
1976
+ int index, java.lang.Object value) {
1977
+ return super.setRepeatedField(field, index, value);
1978
+ }
1979
+ @java.lang.Override
1980
+ public Builder addRepeatedField(
1981
+ com.google.protobuf.Descriptors.FieldDescriptor field,
1982
+ java.lang.Object value) {
1983
+ return super.addRepeatedField(field, value);
1984
+ }
1985
+ @java.lang.Override
1986
+ public Builder mergeFrom(com.google.protobuf.Message other) {
1987
+ if (other instanceof com.lansweeper.dp.outbound.v1.VmwareEsxiHypervisor) {
1988
+ return mergeFrom((com.lansweeper.dp.outbound.v1.VmwareEsxiHypervisor)other);
1989
+ } else {
1990
+ super.mergeFrom(other);
1991
+ return this;
1992
+ }
1993
+ }
1994
+
1995
+ public Builder mergeFrom(com.lansweeper.dp.outbound.v1.VmwareEsxiHypervisor other) {
1996
+ if (other == com.lansweeper.dp.outbound.v1.VmwareEsxiHypervisor.getDefaultInstance()) return this;
1997
+ if (other.hasProductInfo()) {
1998
+ mergeProductInfo(other.getProductInfo());
1999
+ }
2000
+ if (other.hasVcenterAssetKey()) {
2001
+ vcenterAssetKey_ = other.vcenterAssetKey_;
2002
+ bitField0_ |= 0x00000002;
2003
+ onChanged();
2004
+ }
2005
+ internalGetMutableEsxiHypervisorDatastores().mergeFrom(
2006
+ other.internalGetEsxiHypervisorDatastores());
2007
+ bitField0_ |= 0x00000004;
2008
+ internalGetMutableEsxiGuestVmKey().mergeFrom(
2009
+ other.internalGetEsxiGuestVmKey());
2010
+ bitField0_ |= 0x00000008;
2011
+ if (other.hasUpTime()) {
2012
+ setUpTime(other.getUpTime());
2013
+ }
2014
+ if (other.hasBootTime()) {
2015
+ mergeBootTime(other.getBootTime());
2016
+ }
2017
+ if (other.hasHostMaxVirtualDiskCapacity()) {
2018
+ setHostMaxVirtualDiskCapacity(other.getHostMaxVirtualDiskCapacity());
2019
+ }
2020
+ if (other.hasNumCpuPackages()) {
2021
+ numCpuPackages_ = other.numCpuPackages_;
2022
+ bitField0_ |= 0x00000080;
2023
+ onChanged();
2024
+ }
2025
+ if (!other.cpuPackagesDescriptions_.isEmpty()) {
2026
+ if (cpuPackagesDescriptions_.isEmpty()) {
2027
+ cpuPackagesDescriptions_ = other.cpuPackagesDescriptions_;
2028
+ bitField0_ |= 0x00000100;
2029
+ } else {
2030
+ ensureCpuPackagesDescriptionsIsMutable();
2031
+ cpuPackagesDescriptions_.addAll(other.cpuPackagesDescriptions_);
2032
+ }
2033
+ onChanged();
2034
+ }
2035
+ if (other.hasNumNics()) {
2036
+ setNumNics(other.getNumNics());
2037
+ }
2038
+ if (other.hasNumHbas()) {
2039
+ setNumHbas(other.getNumHbas());
2040
+ }
2041
+ if (other.hasUuid()) {
2042
+ uuid_ = other.uuid_;
2043
+ bitField0_ |= 0x00000800;
2044
+ onChanged();
2045
+ }
2046
+ if (other.hasConnectionState()) {
2047
+ connectionState_ = other.connectionState_;
2048
+ bitField0_ |= 0x00001000;
2049
+ onChanged();
2050
+ }
2051
+ if (other.hasPowerState()) {
2052
+ powerState_ = other.powerState_;
2053
+ bitField0_ |= 0x00002000;
2054
+ onChanged();
2055
+ }
2056
+ if (other.hasDatacenterId()) {
2057
+ datacenterId_ = other.datacenterId_;
2058
+ bitField0_ |= 0x00004000;
2059
+ onChanged();
2060
+ }
2061
+ if (other.hasInternalKey()) {
2062
+ internalKey_ = other.internalKey_;
2063
+ bitField0_ |= 0x00008000;
2064
+ onChanged();
2065
+ }
2066
+ if (other.hasAdminDisabled()) {
2067
+ setAdminDisabled(other.getAdminDisabled());
2068
+ }
2069
+ if (other.hasIpAddress()) {
2070
+ ipAddress_ = other.ipAddress_;
2071
+ bitField0_ |= 0x00020000;
2072
+ onChanged();
2073
+ }
2074
+ if (other.hasPort()) {
2075
+ setPort(other.getPort());
2076
+ }
2077
+ if (other.hasSslThumbprint()) {
2078
+ sslThumbprint_ = other.sslThumbprint_;
2079
+ bitField0_ |= 0x00080000;
2080
+ onChanged();
2081
+ }
2082
+ if (other.hasManagementServerIp()) {
2083
+ managementServerIp_ = other.managementServerIp_;
2084
+ bitField0_ |= 0x00100000;
2085
+ onChanged();
2086
+ }
2087
+ if (other.hasNumCpu()) {
2088
+ setNumCpu(other.getNumCpu());
2089
+ }
2090
+ if (other.hasNumCoresPerSocket()) {
2091
+ setNumCoresPerSocket(other.getNumCoresPerSocket());
2092
+ }
2093
+ this.mergeUnknownFields(other.getUnknownFields());
2094
+ onChanged();
2095
+ return this;
2096
+ }
2097
+
2098
+ @java.lang.Override
2099
+ public final boolean isInitialized() {
2100
+ return true;
2101
+ }
2102
+
2103
+ @java.lang.Override
2104
+ public Builder mergeFrom(
2105
+ com.google.protobuf.CodedInputStream input,
2106
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2107
+ throws java.io.IOException {
2108
+ if (extensionRegistry == null) {
2109
+ throw new java.lang.NullPointerException();
2110
+ }
2111
+ try {
2112
+ boolean done = false;
2113
+ while (!done) {
2114
+ int tag = input.readTag();
2115
+ switch (tag) {
2116
+ case 0:
2117
+ done = true;
2118
+ break;
2119
+ case 10: {
2120
+ input.readMessage(
2121
+ getProductInfoFieldBuilder().getBuilder(),
2122
+ extensionRegistry);
2123
+ bitField0_ |= 0x00000001;
2124
+ break;
2125
+ } // case 10
2126
+ case 18: {
2127
+ vcenterAssetKey_ = input.readStringRequireUtf8();
2128
+ bitField0_ |= 0x00000002;
2129
+ break;
2130
+ } // case 18
2131
+ case 26: {
2132
+ com.google.protobuf.MapEntry<java.lang.String, com.lansweeper.dp.outbound.v1.VmwareDatastore>
2133
+ esxiHypervisorDatastores__ = input.readMessage(
2134
+ EsxiHypervisorDatastoresDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
2135
+ internalGetMutableEsxiHypervisorDatastores().ensureBuilderMap().put(
2136
+ esxiHypervisorDatastores__.getKey(), esxiHypervisorDatastores__.getValue());
2137
+ bitField0_ |= 0x00000004;
2138
+ break;
2139
+ } // case 26
2140
+ case 34: {
2141
+ com.google.protobuf.MapEntry<java.lang.String, java.lang.Boolean>
2142
+ esxiGuestVmKey__ = input.readMessage(
2143
+ EsxiGuestVmKeyDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
2144
+ internalGetMutableEsxiGuestVmKey().getMutableMap().put(
2145
+ esxiGuestVmKey__.getKey(), esxiGuestVmKey__.getValue());
2146
+ bitField0_ |= 0x00000008;
2147
+ break;
2148
+ } // case 34
2149
+ case 40: {
2150
+ upTime_ = input.readUInt64();
2151
+ bitField0_ |= 0x00000010;
2152
+ break;
2153
+ } // case 40
2154
+ case 48: {
2155
+ hostMaxVirtualDiskCapacity_ = input.readUInt64();
2156
+ bitField0_ |= 0x00000040;
2157
+ break;
2158
+ } // case 48
2159
+ case 58: {
2160
+ numCpuPackages_ = input.readStringRequireUtf8();
2161
+ bitField0_ |= 0x00000080;
2162
+ break;
2163
+ } // case 58
2164
+ case 66: {
2165
+ java.lang.String s = input.readStringRequireUtf8();
2166
+ ensureCpuPackagesDescriptionsIsMutable();
2167
+ cpuPackagesDescriptions_.add(s);
2168
+ break;
2169
+ } // case 66
2170
+ case 72: {
2171
+ numNics_ = input.readUInt32();
2172
+ bitField0_ |= 0x00000200;
2173
+ break;
2174
+ } // case 72
2175
+ case 80: {
2176
+ numHbas_ = input.readUInt32();
2177
+ bitField0_ |= 0x00000400;
2178
+ break;
2179
+ } // case 80
2180
+ case 90: {
2181
+ uuid_ = input.readStringRequireUtf8();
2182
+ bitField0_ |= 0x00000800;
2183
+ break;
2184
+ } // case 90
2185
+ case 98: {
2186
+ connectionState_ = input.readStringRequireUtf8();
2187
+ bitField0_ |= 0x00001000;
2188
+ break;
2189
+ } // case 98
2190
+ case 106: {
2191
+ powerState_ = input.readStringRequireUtf8();
2192
+ bitField0_ |= 0x00002000;
2193
+ break;
2194
+ } // case 106
2195
+ case 114: {
2196
+ datacenterId_ = input.readStringRequireUtf8();
2197
+ bitField0_ |= 0x00004000;
2198
+ break;
2199
+ } // case 114
2200
+ case 122: {
2201
+ internalKey_ = input.readStringRequireUtf8();
2202
+ bitField0_ |= 0x00008000;
2203
+ break;
2204
+ } // case 122
2205
+ case 128: {
2206
+ adminDisabled_ = input.readBool();
2207
+ bitField0_ |= 0x00010000;
2208
+ break;
2209
+ } // case 128
2210
+ case 138: {
2211
+ input.readMessage(
2212
+ getBootTimeFieldBuilder().getBuilder(),
2213
+ extensionRegistry);
2214
+ bitField0_ |= 0x00000020;
2215
+ break;
2216
+ } // case 138
2217
+ case 146: {
2218
+ ipAddress_ = input.readStringRequireUtf8();
2219
+ bitField0_ |= 0x00020000;
2220
+ break;
2221
+ } // case 146
2222
+ case 152: {
2223
+ port_ = input.readUInt32();
2224
+ bitField0_ |= 0x00040000;
2225
+ break;
2226
+ } // case 152
2227
+ case 162: {
2228
+ sslThumbprint_ = input.readStringRequireUtf8();
2229
+ bitField0_ |= 0x00080000;
2230
+ break;
2231
+ } // case 162
2232
+ case 170: {
2233
+ managementServerIp_ = input.readStringRequireUtf8();
2234
+ bitField0_ |= 0x00100000;
2235
+ break;
2236
+ } // case 170
2237
+ case 176: {
2238
+ numCpu_ = input.readUInt32();
2239
+ bitField0_ |= 0x00200000;
2240
+ break;
2241
+ } // case 176
2242
+ case 184: {
2243
+ numCoresPerSocket_ = input.readUInt32();
2244
+ bitField0_ |= 0x00400000;
2245
+ break;
2246
+ } // case 184
2247
+ default: {
2248
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
2249
+ done = true; // was an endgroup tag
2250
+ }
2251
+ break;
2252
+ } // default:
2253
+ } // switch (tag)
2254
+ } // while (!done)
2255
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
2256
+ throw e.unwrapIOException();
2257
+ } finally {
2258
+ onChanged();
2259
+ } // finally
2260
+ return this;
2261
+ }
2262
+ private int bitField0_;
2263
+
2264
+ private com.lansweeper.dp.outbound.v1.VmwareProductInfo productInfo_;
2265
+ private com.google.protobuf.SingleFieldBuilderV3<
2266
+ com.lansweeper.dp.outbound.v1.VmwareProductInfo, com.lansweeper.dp.outbound.v1.VmwareProductInfo.Builder, com.lansweeper.dp.outbound.v1.VmwareProductInfoOrBuilder> productInfoBuilder_;
2267
+ /**
2268
+ * <pre>
2269
+ * Custom information about the Esxi Hypervisor
2270
+ * </pre>
2271
+ *
2272
+ * <code>optional .com.lansweeper.dp.outbound.v1.VmwareProductInfo product_info = 1;</code>
2273
+ * @return Whether the productInfo field is set.
2274
+ */
2275
+ public boolean hasProductInfo() {
2276
+ return ((bitField0_ & 0x00000001) != 0);
2277
+ }
2278
+ /**
2279
+ * <pre>
2280
+ * Custom information about the Esxi Hypervisor
2281
+ * </pre>
2282
+ *
2283
+ * <code>optional .com.lansweeper.dp.outbound.v1.VmwareProductInfo product_info = 1;</code>
2284
+ * @return The productInfo.
2285
+ */
2286
+ public com.lansweeper.dp.outbound.v1.VmwareProductInfo getProductInfo() {
2287
+ if (productInfoBuilder_ == null) {
2288
+ return productInfo_ == null ? com.lansweeper.dp.outbound.v1.VmwareProductInfo.getDefaultInstance() : productInfo_;
2289
+ } else {
2290
+ return productInfoBuilder_.getMessage();
2291
+ }
2292
+ }
2293
+ /**
2294
+ * <pre>
2295
+ * Custom information about the Esxi Hypervisor
2296
+ * </pre>
2297
+ *
2298
+ * <code>optional .com.lansweeper.dp.outbound.v1.VmwareProductInfo product_info = 1;</code>
2299
+ */
2300
+ public Builder setProductInfo(com.lansweeper.dp.outbound.v1.VmwareProductInfo value) {
2301
+ if (productInfoBuilder_ == null) {
2302
+ if (value == null) {
2303
+ throw new NullPointerException();
2304
+ }
2305
+ productInfo_ = value;
2306
+ } else {
2307
+ productInfoBuilder_.setMessage(value);
2308
+ }
2309
+ bitField0_ |= 0x00000001;
2310
+ onChanged();
2311
+ return this;
2312
+ }
2313
+ /**
2314
+ * <pre>
2315
+ * Custom information about the Esxi Hypervisor
2316
+ * </pre>
2317
+ *
2318
+ * <code>optional .com.lansweeper.dp.outbound.v1.VmwareProductInfo product_info = 1;</code>
2319
+ */
2320
+ public Builder setProductInfo(
2321
+ com.lansweeper.dp.outbound.v1.VmwareProductInfo.Builder builderForValue) {
2322
+ if (productInfoBuilder_ == null) {
2323
+ productInfo_ = builderForValue.build();
2324
+ } else {
2325
+ productInfoBuilder_.setMessage(builderForValue.build());
2326
+ }
2327
+ bitField0_ |= 0x00000001;
2328
+ onChanged();
2329
+ return this;
2330
+ }
2331
+ /**
2332
+ * <pre>
2333
+ * Custom information about the Esxi Hypervisor
2334
+ * </pre>
2335
+ *
2336
+ * <code>optional .com.lansweeper.dp.outbound.v1.VmwareProductInfo product_info = 1;</code>
2337
+ */
2338
+ public Builder mergeProductInfo(com.lansweeper.dp.outbound.v1.VmwareProductInfo value) {
2339
+ if (productInfoBuilder_ == null) {
2340
+ if (((bitField0_ & 0x00000001) != 0) &&
2341
+ productInfo_ != null &&
2342
+ productInfo_ != com.lansweeper.dp.outbound.v1.VmwareProductInfo.getDefaultInstance()) {
2343
+ getProductInfoBuilder().mergeFrom(value);
2344
+ } else {
2345
+ productInfo_ = value;
2346
+ }
2347
+ } else {
2348
+ productInfoBuilder_.mergeFrom(value);
2349
+ }
2350
+ if (productInfo_ != null) {
2351
+ bitField0_ |= 0x00000001;
2352
+ onChanged();
2353
+ }
2354
+ return this;
2355
+ }
2356
+ /**
2357
+ * <pre>
2358
+ * Custom information about the Esxi Hypervisor
2359
+ * </pre>
2360
+ *
2361
+ * <code>optional .com.lansweeper.dp.outbound.v1.VmwareProductInfo product_info = 1;</code>
2362
+ */
2363
+ public Builder clearProductInfo() {
2364
+ bitField0_ = (bitField0_ & ~0x00000001);
2365
+ productInfo_ = null;
2366
+ if (productInfoBuilder_ != null) {
2367
+ productInfoBuilder_.dispose();
2368
+ productInfoBuilder_ = null;
2369
+ }
2370
+ onChanged();
2371
+ return this;
2372
+ }
2373
+ /**
2374
+ * <pre>
2375
+ * Custom information about the Esxi Hypervisor
2376
+ * </pre>
2377
+ *
2378
+ * <code>optional .com.lansweeper.dp.outbound.v1.VmwareProductInfo product_info = 1;</code>
2379
+ */
2380
+ public com.lansweeper.dp.outbound.v1.VmwareProductInfo.Builder getProductInfoBuilder() {
2381
+ bitField0_ |= 0x00000001;
2382
+ onChanged();
2383
+ return getProductInfoFieldBuilder().getBuilder();
2384
+ }
2385
+ /**
2386
+ * <pre>
2387
+ * Custom information about the Esxi Hypervisor
2388
+ * </pre>
2389
+ *
2390
+ * <code>optional .com.lansweeper.dp.outbound.v1.VmwareProductInfo product_info = 1;</code>
2391
+ */
2392
+ public com.lansweeper.dp.outbound.v1.VmwareProductInfoOrBuilder getProductInfoOrBuilder() {
2393
+ if (productInfoBuilder_ != null) {
2394
+ return productInfoBuilder_.getMessageOrBuilder();
2395
+ } else {
2396
+ return productInfo_ == null ?
2397
+ com.lansweeper.dp.outbound.v1.VmwareProductInfo.getDefaultInstance() : productInfo_;
2398
+ }
2399
+ }
2400
+ /**
2401
+ * <pre>
2402
+ * Custom information about the Esxi Hypervisor
2403
+ * </pre>
2404
+ *
2405
+ * <code>optional .com.lansweeper.dp.outbound.v1.VmwareProductInfo product_info = 1;</code>
2406
+ */
2407
+ private com.google.protobuf.SingleFieldBuilderV3<
2408
+ com.lansweeper.dp.outbound.v1.VmwareProductInfo, com.lansweeper.dp.outbound.v1.VmwareProductInfo.Builder, com.lansweeper.dp.outbound.v1.VmwareProductInfoOrBuilder>
2409
+ getProductInfoFieldBuilder() {
2410
+ if (productInfoBuilder_ == null) {
2411
+ productInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
2412
+ com.lansweeper.dp.outbound.v1.VmwareProductInfo, com.lansweeper.dp.outbound.v1.VmwareProductInfo.Builder, com.lansweeper.dp.outbound.v1.VmwareProductInfoOrBuilder>(
2413
+ getProductInfo(),
2414
+ getParentForChildren(),
2415
+ isClean());
2416
+ productInfo_ = null;
2417
+ }
2418
+ return productInfoBuilder_;
2419
+ }
2420
+
2421
+ private java.lang.Object vcenterAssetKey_ = "";
2422
+ /**
2423
+ * <pre>
2424
+ * Reference to the vCenter asset, if this asset is an ESXI hypervisor
2425
+ * </pre>
2426
+ *
2427
+ * <code>optional string vcenter_asset_key = 2;</code>
2428
+ * @return Whether the vcenterAssetKey field is set.
2429
+ */
2430
+ public boolean hasVcenterAssetKey() {
2431
+ return ((bitField0_ & 0x00000002) != 0);
2432
+ }
2433
+ /**
2434
+ * <pre>
2435
+ * Reference to the vCenter asset, if this asset is an ESXI hypervisor
2436
+ * </pre>
2437
+ *
2438
+ * <code>optional string vcenter_asset_key = 2;</code>
2439
+ * @return The vcenterAssetKey.
2440
+ */
2441
+ public java.lang.String getVcenterAssetKey() {
2442
+ java.lang.Object ref = vcenterAssetKey_;
2443
+ if (!(ref instanceof java.lang.String)) {
2444
+ com.google.protobuf.ByteString bs =
2445
+ (com.google.protobuf.ByteString) ref;
2446
+ java.lang.String s = bs.toStringUtf8();
2447
+ vcenterAssetKey_ = s;
2448
+ return s;
2449
+ } else {
2450
+ return (java.lang.String) ref;
2451
+ }
2452
+ }
2453
+ /**
2454
+ * <pre>
2455
+ * Reference to the vCenter asset, if this asset is an ESXI hypervisor
2456
+ * </pre>
2457
+ *
2458
+ * <code>optional string vcenter_asset_key = 2;</code>
2459
+ * @return The bytes for vcenterAssetKey.
2460
+ */
2461
+ public com.google.protobuf.ByteString
2462
+ getVcenterAssetKeyBytes() {
2463
+ java.lang.Object ref = vcenterAssetKey_;
2464
+ if (ref instanceof String) {
2465
+ com.google.protobuf.ByteString b =
2466
+ com.google.protobuf.ByteString.copyFromUtf8(
2467
+ (java.lang.String) ref);
2468
+ vcenterAssetKey_ = b;
2469
+ return b;
2470
+ } else {
2471
+ return (com.google.protobuf.ByteString) ref;
2472
+ }
2473
+ }
2474
+ /**
2475
+ * <pre>
2476
+ * Reference to the vCenter asset, if this asset is an ESXI hypervisor
2477
+ * </pre>
2478
+ *
2479
+ * <code>optional string vcenter_asset_key = 2;</code>
2480
+ * @param value The vcenterAssetKey to set.
2481
+ * @return This builder for chaining.
2482
+ */
2483
+ public Builder setVcenterAssetKey(
2484
+ java.lang.String value) {
2485
+ if (value == null) { throw new NullPointerException(); }
2486
+ vcenterAssetKey_ = value;
2487
+ bitField0_ |= 0x00000002;
2488
+ onChanged();
2489
+ return this;
2490
+ }
2491
+ /**
2492
+ * <pre>
2493
+ * Reference to the vCenter asset, if this asset is an ESXI hypervisor
2494
+ * </pre>
2495
+ *
2496
+ * <code>optional string vcenter_asset_key = 2;</code>
2497
+ * @return This builder for chaining.
2498
+ */
2499
+ public Builder clearVcenterAssetKey() {
2500
+ vcenterAssetKey_ = getDefaultInstance().getVcenterAssetKey();
2501
+ bitField0_ = (bitField0_ & ~0x00000002);
2502
+ onChanged();
2503
+ return this;
2504
+ }
2505
+ /**
2506
+ * <pre>
2507
+ * Reference to the vCenter asset, if this asset is an ESXI hypervisor
2508
+ * </pre>
2509
+ *
2510
+ * <code>optional string vcenter_asset_key = 2;</code>
2511
+ * @param value The bytes for vcenterAssetKey to set.
2512
+ * @return This builder for chaining.
2513
+ */
2514
+ public Builder setVcenterAssetKeyBytes(
2515
+ com.google.protobuf.ByteString value) {
2516
+ if (value == null) { throw new NullPointerException(); }
2517
+ checkByteStringIsUtf8(value);
2518
+ vcenterAssetKey_ = value;
2519
+ bitField0_ |= 0x00000002;
2520
+ onChanged();
2521
+ return this;
2522
+ }
2523
+
2524
+ private static final class EsxiHypervisorDatastoresConverter implements com.google.protobuf.MapFieldBuilder.Converter<java.lang.String, com.lansweeper.dp.outbound.v1.VmwareDatastoreOrBuilder, com.lansweeper.dp.outbound.v1.VmwareDatastore> {
2525
+ @java.lang.Override
2526
+ public com.lansweeper.dp.outbound.v1.VmwareDatastore build(com.lansweeper.dp.outbound.v1.VmwareDatastoreOrBuilder val) {
2527
+ if (val instanceof com.lansweeper.dp.outbound.v1.VmwareDatastore) { return (com.lansweeper.dp.outbound.v1.VmwareDatastore) val; }
2528
+ return ((com.lansweeper.dp.outbound.v1.VmwareDatastore.Builder) val).build();
2529
+ }
2530
+
2531
+ @java.lang.Override
2532
+ public com.google.protobuf.MapEntry<java.lang.String, com.lansweeper.dp.outbound.v1.VmwareDatastore> defaultEntry() {
2533
+ return EsxiHypervisorDatastoresDefaultEntryHolder.defaultEntry;
2534
+ }
2535
+ };
2536
+ private static final EsxiHypervisorDatastoresConverter esxiHypervisorDatastoresConverter = new EsxiHypervisorDatastoresConverter();
2537
+
2538
+ private com.google.protobuf.MapFieldBuilder<
2539
+ java.lang.String, com.lansweeper.dp.outbound.v1.VmwareDatastoreOrBuilder, com.lansweeper.dp.outbound.v1.VmwareDatastore, com.lansweeper.dp.outbound.v1.VmwareDatastore.Builder> esxiHypervisorDatastores_;
2540
+ private com.google.protobuf.MapFieldBuilder<java.lang.String, com.lansweeper.dp.outbound.v1.VmwareDatastoreOrBuilder, com.lansweeper.dp.outbound.v1.VmwareDatastore, com.lansweeper.dp.outbound.v1.VmwareDatastore.Builder>
2541
+ internalGetEsxiHypervisorDatastores() {
2542
+ if (esxiHypervisorDatastores_ == null) {
2543
+ return new com.google.protobuf.MapFieldBuilder<>(esxiHypervisorDatastoresConverter);
2544
+ }
2545
+ return esxiHypervisorDatastores_;
2546
+ }
2547
+ private com.google.protobuf.MapFieldBuilder<java.lang.String, com.lansweeper.dp.outbound.v1.VmwareDatastoreOrBuilder, com.lansweeper.dp.outbound.v1.VmwareDatastore, com.lansweeper.dp.outbound.v1.VmwareDatastore.Builder>
2548
+ internalGetMutableEsxiHypervisorDatastores() {
2549
+ if (esxiHypervisorDatastores_ == null) {
2550
+ esxiHypervisorDatastores_ = new com.google.protobuf.MapFieldBuilder<>(esxiHypervisorDatastoresConverter);
2551
+ }
2552
+ bitField0_ |= 0x00000004;
2553
+ onChanged();
2554
+ return esxiHypervisorDatastores_;
2555
+ }
2556
+ public int getEsxiHypervisorDatastoresCount() {
2557
+ return internalGetEsxiHypervisorDatastores().ensureBuilderMap().size();
2558
+ }
2559
+ /**
2560
+ * <pre>
2561
+ * Datastores of the Esxi Hypervisor
2562
+ * </pre>
2563
+ *
2564
+ * <code>map&lt;string, .com.lansweeper.dp.outbound.v1.VmwareDatastore&gt; esxi_hypervisor_datastores = 3;</code>
2565
+ */
2566
+ @java.lang.Override
2567
+ public boolean containsEsxiHypervisorDatastores(
2568
+ java.lang.String key) {
2569
+ if (key == null) { throw new NullPointerException("map key"); }
2570
+ return internalGetEsxiHypervisorDatastores().ensureBuilderMap().containsKey(key);
2571
+ }
2572
+ /**
2573
+ * Use {@link #getEsxiHypervisorDatastoresMap()} instead.
2574
+ */
2575
+ @java.lang.Override
2576
+ @java.lang.Deprecated
2577
+ public java.util.Map<java.lang.String, com.lansweeper.dp.outbound.v1.VmwareDatastore> getEsxiHypervisorDatastores() {
2578
+ return getEsxiHypervisorDatastoresMap();
2579
+ }
2580
+ /**
2581
+ * <pre>
2582
+ * Datastores of the Esxi Hypervisor
2583
+ * </pre>
2584
+ *
2585
+ * <code>map&lt;string, .com.lansweeper.dp.outbound.v1.VmwareDatastore&gt; esxi_hypervisor_datastores = 3;</code>
2586
+ */
2587
+ @java.lang.Override
2588
+ public java.util.Map<java.lang.String, com.lansweeper.dp.outbound.v1.VmwareDatastore> getEsxiHypervisorDatastoresMap() {
2589
+ return internalGetEsxiHypervisorDatastores().getImmutableMap();
2590
+ }
2591
+ /**
2592
+ * <pre>
2593
+ * Datastores of the Esxi Hypervisor
2594
+ * </pre>
2595
+ *
2596
+ * <code>map&lt;string, .com.lansweeper.dp.outbound.v1.VmwareDatastore&gt; esxi_hypervisor_datastores = 3;</code>
2597
+ */
2598
+ @java.lang.Override
2599
+ public /* nullable */
2600
+ com.lansweeper.dp.outbound.v1.VmwareDatastore getEsxiHypervisorDatastoresOrDefault(
2601
+ java.lang.String key,
2602
+ /* nullable */
2603
+ com.lansweeper.dp.outbound.v1.VmwareDatastore defaultValue) {
2604
+ if (key == null) { throw new NullPointerException("map key"); }
2605
+ java.util.Map<java.lang.String, com.lansweeper.dp.outbound.v1.VmwareDatastoreOrBuilder> map = internalGetMutableEsxiHypervisorDatastores().ensureBuilderMap();
2606
+ return map.containsKey(key) ? esxiHypervisorDatastoresConverter.build(map.get(key)) : defaultValue;
2607
+ }
2608
+ /**
2609
+ * <pre>
2610
+ * Datastores of the Esxi Hypervisor
2611
+ * </pre>
2612
+ *
2613
+ * <code>map&lt;string, .com.lansweeper.dp.outbound.v1.VmwareDatastore&gt; esxi_hypervisor_datastores = 3;</code>
2614
+ */
2615
+ @java.lang.Override
2616
+ public com.lansweeper.dp.outbound.v1.VmwareDatastore getEsxiHypervisorDatastoresOrThrow(
2617
+ java.lang.String key) {
2618
+ if (key == null) { throw new NullPointerException("map key"); }
2619
+ java.util.Map<java.lang.String, com.lansweeper.dp.outbound.v1.VmwareDatastoreOrBuilder> map = internalGetMutableEsxiHypervisorDatastores().ensureBuilderMap();
2620
+ if (!map.containsKey(key)) {
2621
+ throw new java.lang.IllegalArgumentException();
2622
+ }
2623
+ return esxiHypervisorDatastoresConverter.build(map.get(key));
2624
+ }
2625
+ public Builder clearEsxiHypervisorDatastores() {
2626
+ bitField0_ = (bitField0_ & ~0x00000004);
2627
+ internalGetMutableEsxiHypervisorDatastores().clear();
2628
+ return this;
2629
+ }
2630
+ /**
2631
+ * <pre>
2632
+ * Datastores of the Esxi Hypervisor
2633
+ * </pre>
2634
+ *
2635
+ * <code>map&lt;string, .com.lansweeper.dp.outbound.v1.VmwareDatastore&gt; esxi_hypervisor_datastores = 3;</code>
2636
+ */
2637
+ public Builder removeEsxiHypervisorDatastores(
2638
+ java.lang.String key) {
2639
+ if (key == null) { throw new NullPointerException("map key"); }
2640
+ internalGetMutableEsxiHypervisorDatastores().ensureBuilderMap()
2641
+ .remove(key);
2642
+ return this;
2643
+ }
2644
+ /**
2645
+ * Use alternate mutation accessors instead.
2646
+ */
2647
+ @java.lang.Deprecated
2648
+ public java.util.Map<java.lang.String, com.lansweeper.dp.outbound.v1.VmwareDatastore>
2649
+ getMutableEsxiHypervisorDatastores() {
2650
+ bitField0_ |= 0x00000004;
2651
+ return internalGetMutableEsxiHypervisorDatastores().ensureMessageMap();
2652
+ }
2653
+ /**
2654
+ * <pre>
2655
+ * Datastores of the Esxi Hypervisor
2656
+ * </pre>
2657
+ *
2658
+ * <code>map&lt;string, .com.lansweeper.dp.outbound.v1.VmwareDatastore&gt; esxi_hypervisor_datastores = 3;</code>
2659
+ */
2660
+ public Builder putEsxiHypervisorDatastores(
2661
+ java.lang.String key,
2662
+ com.lansweeper.dp.outbound.v1.VmwareDatastore value) {
2663
+ if (key == null) { throw new NullPointerException("map key"); }
2664
+ if (value == null) { throw new NullPointerException("map value"); }
2665
+ internalGetMutableEsxiHypervisorDatastores().ensureBuilderMap()
2666
+ .put(key, value);
2667
+ bitField0_ |= 0x00000004;
2668
+ return this;
2669
+ }
2670
+ /**
2671
+ * <pre>
2672
+ * Datastores of the Esxi Hypervisor
2673
+ * </pre>
2674
+ *
2675
+ * <code>map&lt;string, .com.lansweeper.dp.outbound.v1.VmwareDatastore&gt; esxi_hypervisor_datastores = 3;</code>
2676
+ */
2677
+ public Builder putAllEsxiHypervisorDatastores(
2678
+ java.util.Map<java.lang.String, com.lansweeper.dp.outbound.v1.VmwareDatastore> values) {
2679
+ for (java.util.Map.Entry<java.lang.String, com.lansweeper.dp.outbound.v1.VmwareDatastore> e : values.entrySet()) {
2680
+ if (e.getKey() == null || e.getValue() == null) {
2681
+ throw new NullPointerException();
2682
+ }
2683
+ }
2684
+ internalGetMutableEsxiHypervisorDatastores().ensureBuilderMap()
2685
+ .putAll(values);
2686
+ bitField0_ |= 0x00000004;
2687
+ return this;
2688
+ }
2689
+ /**
2690
+ * <pre>
2691
+ * Datastores of the Esxi Hypervisor
2692
+ * </pre>
2693
+ *
2694
+ * <code>map&lt;string, .com.lansweeper.dp.outbound.v1.VmwareDatastore&gt; esxi_hypervisor_datastores = 3;</code>
2695
+ */
2696
+ public com.lansweeper.dp.outbound.v1.VmwareDatastore.Builder putEsxiHypervisorDatastoresBuilderIfAbsent(
2697
+ java.lang.String key) {
2698
+ java.util.Map<java.lang.String, com.lansweeper.dp.outbound.v1.VmwareDatastoreOrBuilder> builderMap = internalGetMutableEsxiHypervisorDatastores().ensureBuilderMap();
2699
+ com.lansweeper.dp.outbound.v1.VmwareDatastoreOrBuilder entry = builderMap.get(key);
2700
+ if (entry == null) {
2701
+ entry = com.lansweeper.dp.outbound.v1.VmwareDatastore.newBuilder();
2702
+ builderMap.put(key, entry);
2703
+ }
2704
+ if (entry instanceof com.lansweeper.dp.outbound.v1.VmwareDatastore) {
2705
+ entry = ((com.lansweeper.dp.outbound.v1.VmwareDatastore) entry).toBuilder();
2706
+ builderMap.put(key, entry);
2707
+ }
2708
+ return (com.lansweeper.dp.outbound.v1.VmwareDatastore.Builder) entry;
2709
+ }
2710
+
2711
+ private com.google.protobuf.MapField<
2712
+ java.lang.String, java.lang.Boolean> esxiGuestVmKey_;
2713
+ private com.google.protobuf.MapField<java.lang.String, java.lang.Boolean>
2714
+ internalGetEsxiGuestVmKey() {
2715
+ if (esxiGuestVmKey_ == null) {
2716
+ return com.google.protobuf.MapField.emptyMapField(
2717
+ EsxiGuestVmKeyDefaultEntryHolder.defaultEntry);
2718
+ }
2719
+ return esxiGuestVmKey_;
2720
+ }
2721
+ private com.google.protobuf.MapField<java.lang.String, java.lang.Boolean>
2722
+ internalGetMutableEsxiGuestVmKey() {
2723
+ if (esxiGuestVmKey_ == null) {
2724
+ esxiGuestVmKey_ = com.google.protobuf.MapField.newMapField(
2725
+ EsxiGuestVmKeyDefaultEntryHolder.defaultEntry);
2726
+ }
2727
+ if (!esxiGuestVmKey_.isMutable()) {
2728
+ esxiGuestVmKey_ = esxiGuestVmKey_.copy();
2729
+ }
2730
+ bitField0_ |= 0x00000008;
2731
+ onChanged();
2732
+ return esxiGuestVmKey_;
2733
+ }
2734
+ public int getEsxiGuestVmKeyCount() {
2735
+ return internalGetEsxiGuestVmKey().getMap().size();
2736
+ }
2737
+ /**
2738
+ * <pre>
2739
+ * Key to identify the Esxi Guest VMs, if this asset is an Esxi Hypervisor
2740
+ * </pre>
2741
+ *
2742
+ * <code>map&lt;string, bool&gt; esxi_guest_vm_key = 4;</code>
2743
+ */
2744
+ @java.lang.Override
2745
+ public boolean containsEsxiGuestVmKey(
2746
+ java.lang.String key) {
2747
+ if (key == null) { throw new NullPointerException("map key"); }
2748
+ return internalGetEsxiGuestVmKey().getMap().containsKey(key);
2749
+ }
2750
+ /**
2751
+ * Use {@link #getEsxiGuestVmKeyMap()} instead.
2752
+ */
2753
+ @java.lang.Override
2754
+ @java.lang.Deprecated
2755
+ public java.util.Map<java.lang.String, java.lang.Boolean> getEsxiGuestVmKey() {
2756
+ return getEsxiGuestVmKeyMap();
2757
+ }
2758
+ /**
2759
+ * <pre>
2760
+ * Key to identify the Esxi Guest VMs, if this asset is an Esxi Hypervisor
2761
+ * </pre>
2762
+ *
2763
+ * <code>map&lt;string, bool&gt; esxi_guest_vm_key = 4;</code>
2764
+ */
2765
+ @java.lang.Override
2766
+ public java.util.Map<java.lang.String, java.lang.Boolean> getEsxiGuestVmKeyMap() {
2767
+ return internalGetEsxiGuestVmKey().getMap();
2768
+ }
2769
+ /**
2770
+ * <pre>
2771
+ * Key to identify the Esxi Guest VMs, if this asset is an Esxi Hypervisor
2772
+ * </pre>
2773
+ *
2774
+ * <code>map&lt;string, bool&gt; esxi_guest_vm_key = 4;</code>
2775
+ */
2776
+ @java.lang.Override
2777
+ public boolean getEsxiGuestVmKeyOrDefault(
2778
+ java.lang.String key,
2779
+ boolean defaultValue) {
2780
+ if (key == null) { throw new NullPointerException("map key"); }
2781
+ java.util.Map<java.lang.String, java.lang.Boolean> map =
2782
+ internalGetEsxiGuestVmKey().getMap();
2783
+ return map.containsKey(key) ? map.get(key) : defaultValue;
2784
+ }
2785
+ /**
2786
+ * <pre>
2787
+ * Key to identify the Esxi Guest VMs, if this asset is an Esxi Hypervisor
2788
+ * </pre>
2789
+ *
2790
+ * <code>map&lt;string, bool&gt; esxi_guest_vm_key = 4;</code>
2791
+ */
2792
+ @java.lang.Override
2793
+ public boolean getEsxiGuestVmKeyOrThrow(
2794
+ java.lang.String key) {
2795
+ if (key == null) { throw new NullPointerException("map key"); }
2796
+ java.util.Map<java.lang.String, java.lang.Boolean> map =
2797
+ internalGetEsxiGuestVmKey().getMap();
2798
+ if (!map.containsKey(key)) {
2799
+ throw new java.lang.IllegalArgumentException();
2800
+ }
2801
+ return map.get(key);
2802
+ }
2803
+ public Builder clearEsxiGuestVmKey() {
2804
+ bitField0_ = (bitField0_ & ~0x00000008);
2805
+ internalGetMutableEsxiGuestVmKey().getMutableMap()
2806
+ .clear();
2807
+ return this;
2808
+ }
2809
+ /**
2810
+ * <pre>
2811
+ * Key to identify the Esxi Guest VMs, if this asset is an Esxi Hypervisor
2812
+ * </pre>
2813
+ *
2814
+ * <code>map&lt;string, bool&gt; esxi_guest_vm_key = 4;</code>
2815
+ */
2816
+ public Builder removeEsxiGuestVmKey(
2817
+ java.lang.String key) {
2818
+ if (key == null) { throw new NullPointerException("map key"); }
2819
+ internalGetMutableEsxiGuestVmKey().getMutableMap()
2820
+ .remove(key);
2821
+ return this;
2822
+ }
2823
+ /**
2824
+ * Use alternate mutation accessors instead.
2825
+ */
2826
+ @java.lang.Deprecated
2827
+ public java.util.Map<java.lang.String, java.lang.Boolean>
2828
+ getMutableEsxiGuestVmKey() {
2829
+ bitField0_ |= 0x00000008;
2830
+ return internalGetMutableEsxiGuestVmKey().getMutableMap();
2831
+ }
2832
+ /**
2833
+ * <pre>
2834
+ * Key to identify the Esxi Guest VMs, if this asset is an Esxi Hypervisor
2835
+ * </pre>
2836
+ *
2837
+ * <code>map&lt;string, bool&gt; esxi_guest_vm_key = 4;</code>
2838
+ */
2839
+ public Builder putEsxiGuestVmKey(
2840
+ java.lang.String key,
2841
+ boolean value) {
2842
+ if (key == null) { throw new NullPointerException("map key"); }
2843
+
2844
+ internalGetMutableEsxiGuestVmKey().getMutableMap()
2845
+ .put(key, value);
2846
+ bitField0_ |= 0x00000008;
2847
+ return this;
2848
+ }
2849
+ /**
2850
+ * <pre>
2851
+ * Key to identify the Esxi Guest VMs, if this asset is an Esxi Hypervisor
2852
+ * </pre>
2853
+ *
2854
+ * <code>map&lt;string, bool&gt; esxi_guest_vm_key = 4;</code>
2855
+ */
2856
+ public Builder putAllEsxiGuestVmKey(
2857
+ java.util.Map<java.lang.String, java.lang.Boolean> values) {
2858
+ internalGetMutableEsxiGuestVmKey().getMutableMap()
2859
+ .putAll(values);
2860
+ bitField0_ |= 0x00000008;
2861
+ return this;
2862
+ }
2863
+
2864
+ private long upTime_ ;
2865
+ /**
2866
+ * <pre>
2867
+ * Up time of the Esxi Hypervisor
2868
+ * </pre>
2869
+ *
2870
+ * <code>optional uint64 up_time = 5;</code>
2871
+ * @return Whether the upTime field is set.
2872
+ */
2873
+ @java.lang.Override
2874
+ public boolean hasUpTime() {
2875
+ return ((bitField0_ & 0x00000010) != 0);
2876
+ }
2877
+ /**
2878
+ * <pre>
2879
+ * Up time of the Esxi Hypervisor
2880
+ * </pre>
2881
+ *
2882
+ * <code>optional uint64 up_time = 5;</code>
2883
+ * @return The upTime.
2884
+ */
2885
+ @java.lang.Override
2886
+ public long getUpTime() {
2887
+ return upTime_;
2888
+ }
2889
+ /**
2890
+ * <pre>
2891
+ * Up time of the Esxi Hypervisor
2892
+ * </pre>
2893
+ *
2894
+ * <code>optional uint64 up_time = 5;</code>
2895
+ * @param value The upTime to set.
2896
+ * @return This builder for chaining.
2897
+ */
2898
+ public Builder setUpTime(long value) {
2899
+
2900
+ upTime_ = value;
2901
+ bitField0_ |= 0x00000010;
2902
+ onChanged();
2903
+ return this;
2904
+ }
2905
+ /**
2906
+ * <pre>
2907
+ * Up time of the Esxi Hypervisor
2908
+ * </pre>
2909
+ *
2910
+ * <code>optional uint64 up_time = 5;</code>
2911
+ * @return This builder for chaining.
2912
+ */
2913
+ public Builder clearUpTime() {
2914
+ bitField0_ = (bitField0_ & ~0x00000010);
2915
+ upTime_ = 0L;
2916
+ onChanged();
2917
+ return this;
2918
+ }
2919
+
2920
+ private com.google.protobuf.Timestamp bootTime_;
2921
+ private com.google.protobuf.SingleFieldBuilderV3<
2922
+ com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> bootTimeBuilder_;
2923
+ /**
2924
+ * <pre>
2925
+ * Boot time of the Esxi Hypervisor
2926
+ * </pre>
2927
+ *
2928
+ * <code>optional .google.protobuf.Timestamp boot_time = 17;</code>
2929
+ * @return Whether the bootTime field is set.
2930
+ */
2931
+ public boolean hasBootTime() {
2932
+ return ((bitField0_ & 0x00000020) != 0);
2933
+ }
2934
+ /**
2935
+ * <pre>
2936
+ * Boot time of the Esxi Hypervisor
2937
+ * </pre>
2938
+ *
2939
+ * <code>optional .google.protobuf.Timestamp boot_time = 17;</code>
2940
+ * @return The bootTime.
2941
+ */
2942
+ public com.google.protobuf.Timestamp getBootTime() {
2943
+ if (bootTimeBuilder_ == null) {
2944
+ return bootTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : bootTime_;
2945
+ } else {
2946
+ return bootTimeBuilder_.getMessage();
2947
+ }
2948
+ }
2949
+ /**
2950
+ * <pre>
2951
+ * Boot time of the Esxi Hypervisor
2952
+ * </pre>
2953
+ *
2954
+ * <code>optional .google.protobuf.Timestamp boot_time = 17;</code>
2955
+ */
2956
+ public Builder setBootTime(com.google.protobuf.Timestamp value) {
2957
+ if (bootTimeBuilder_ == null) {
2958
+ if (value == null) {
2959
+ throw new NullPointerException();
2960
+ }
2961
+ bootTime_ = value;
2962
+ } else {
2963
+ bootTimeBuilder_.setMessage(value);
2964
+ }
2965
+ bitField0_ |= 0x00000020;
2966
+ onChanged();
2967
+ return this;
2968
+ }
2969
+ /**
2970
+ * <pre>
2971
+ * Boot time of the Esxi Hypervisor
2972
+ * </pre>
2973
+ *
2974
+ * <code>optional .google.protobuf.Timestamp boot_time = 17;</code>
2975
+ */
2976
+ public Builder setBootTime(
2977
+ com.google.protobuf.Timestamp.Builder builderForValue) {
2978
+ if (bootTimeBuilder_ == null) {
2979
+ bootTime_ = builderForValue.build();
2980
+ } else {
2981
+ bootTimeBuilder_.setMessage(builderForValue.build());
2982
+ }
2983
+ bitField0_ |= 0x00000020;
2984
+ onChanged();
2985
+ return this;
2986
+ }
2987
+ /**
2988
+ * <pre>
2989
+ * Boot time of the Esxi Hypervisor
2990
+ * </pre>
2991
+ *
2992
+ * <code>optional .google.protobuf.Timestamp boot_time = 17;</code>
2993
+ */
2994
+ public Builder mergeBootTime(com.google.protobuf.Timestamp value) {
2995
+ if (bootTimeBuilder_ == null) {
2996
+ if (((bitField0_ & 0x00000020) != 0) &&
2997
+ bootTime_ != null &&
2998
+ bootTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
2999
+ getBootTimeBuilder().mergeFrom(value);
3000
+ } else {
3001
+ bootTime_ = value;
3002
+ }
3003
+ } else {
3004
+ bootTimeBuilder_.mergeFrom(value);
3005
+ }
3006
+ if (bootTime_ != null) {
3007
+ bitField0_ |= 0x00000020;
3008
+ onChanged();
3009
+ }
3010
+ return this;
3011
+ }
3012
+ /**
3013
+ * <pre>
3014
+ * Boot time of the Esxi Hypervisor
3015
+ * </pre>
3016
+ *
3017
+ * <code>optional .google.protobuf.Timestamp boot_time = 17;</code>
3018
+ */
3019
+ public Builder clearBootTime() {
3020
+ bitField0_ = (bitField0_ & ~0x00000020);
3021
+ bootTime_ = null;
3022
+ if (bootTimeBuilder_ != null) {
3023
+ bootTimeBuilder_.dispose();
3024
+ bootTimeBuilder_ = null;
3025
+ }
3026
+ onChanged();
3027
+ return this;
3028
+ }
3029
+ /**
3030
+ * <pre>
3031
+ * Boot time of the Esxi Hypervisor
3032
+ * </pre>
3033
+ *
3034
+ * <code>optional .google.protobuf.Timestamp boot_time = 17;</code>
3035
+ */
3036
+ public com.google.protobuf.Timestamp.Builder getBootTimeBuilder() {
3037
+ bitField0_ |= 0x00000020;
3038
+ onChanged();
3039
+ return getBootTimeFieldBuilder().getBuilder();
3040
+ }
3041
+ /**
3042
+ * <pre>
3043
+ * Boot time of the Esxi Hypervisor
3044
+ * </pre>
3045
+ *
3046
+ * <code>optional .google.protobuf.Timestamp boot_time = 17;</code>
3047
+ */
3048
+ public com.google.protobuf.TimestampOrBuilder getBootTimeOrBuilder() {
3049
+ if (bootTimeBuilder_ != null) {
3050
+ return bootTimeBuilder_.getMessageOrBuilder();
3051
+ } else {
3052
+ return bootTime_ == null ?
3053
+ com.google.protobuf.Timestamp.getDefaultInstance() : bootTime_;
3054
+ }
3055
+ }
3056
+ /**
3057
+ * <pre>
3058
+ * Boot time of the Esxi Hypervisor
3059
+ * </pre>
3060
+ *
3061
+ * <code>optional .google.protobuf.Timestamp boot_time = 17;</code>
3062
+ */
3063
+ private com.google.protobuf.SingleFieldBuilderV3<
3064
+ com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
3065
+ getBootTimeFieldBuilder() {
3066
+ if (bootTimeBuilder_ == null) {
3067
+ bootTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
3068
+ com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
3069
+ getBootTime(),
3070
+ getParentForChildren(),
3071
+ isClean());
3072
+ bootTime_ = null;
3073
+ }
3074
+ return bootTimeBuilder_;
3075
+ }
3076
+
3077
+ private long hostMaxVirtualDiskCapacity_ ;
3078
+ /**
3079
+ * <pre>
3080
+ * Maximum virtual disk capacity of the Esxi Hypervisor
3081
+ * </pre>
3082
+ *
3083
+ * <code>optional uint64 host_max_virtual_disk_capacity = 6;</code>
3084
+ * @return Whether the hostMaxVirtualDiskCapacity field is set.
3085
+ */
3086
+ @java.lang.Override
3087
+ public boolean hasHostMaxVirtualDiskCapacity() {
3088
+ return ((bitField0_ & 0x00000040) != 0);
3089
+ }
3090
+ /**
3091
+ * <pre>
3092
+ * Maximum virtual disk capacity of the Esxi Hypervisor
3093
+ * </pre>
3094
+ *
3095
+ * <code>optional uint64 host_max_virtual_disk_capacity = 6;</code>
3096
+ * @return The hostMaxVirtualDiskCapacity.
3097
+ */
3098
+ @java.lang.Override
3099
+ public long getHostMaxVirtualDiskCapacity() {
3100
+ return hostMaxVirtualDiskCapacity_;
3101
+ }
3102
+ /**
3103
+ * <pre>
3104
+ * Maximum virtual disk capacity of the Esxi Hypervisor
3105
+ * </pre>
3106
+ *
3107
+ * <code>optional uint64 host_max_virtual_disk_capacity = 6;</code>
3108
+ * @param value The hostMaxVirtualDiskCapacity to set.
3109
+ * @return This builder for chaining.
3110
+ */
3111
+ public Builder setHostMaxVirtualDiskCapacity(long value) {
3112
+
3113
+ hostMaxVirtualDiskCapacity_ = value;
3114
+ bitField0_ |= 0x00000040;
3115
+ onChanged();
3116
+ return this;
3117
+ }
3118
+ /**
3119
+ * <pre>
3120
+ * Maximum virtual disk capacity of the Esxi Hypervisor
3121
+ * </pre>
3122
+ *
3123
+ * <code>optional uint64 host_max_virtual_disk_capacity = 6;</code>
3124
+ * @return This builder for chaining.
3125
+ */
3126
+ public Builder clearHostMaxVirtualDiskCapacity() {
3127
+ bitField0_ = (bitField0_ & ~0x00000040);
3128
+ hostMaxVirtualDiskCapacity_ = 0L;
3129
+ onChanged();
3130
+ return this;
3131
+ }
3132
+
3133
+ private java.lang.Object numCpuPackages_ = "";
3134
+ /**
3135
+ * <pre>
3136
+ * Number of CPU packages of the Esxi Hypervisor
3137
+ * </pre>
3138
+ *
3139
+ * <code>optional string num_cpu_packages = 7;</code>
3140
+ * @return Whether the numCpuPackages field is set.
3141
+ */
3142
+ public boolean hasNumCpuPackages() {
3143
+ return ((bitField0_ & 0x00000080) != 0);
3144
+ }
3145
+ /**
3146
+ * <pre>
3147
+ * Number of CPU packages of the Esxi Hypervisor
3148
+ * </pre>
3149
+ *
3150
+ * <code>optional string num_cpu_packages = 7;</code>
3151
+ * @return The numCpuPackages.
3152
+ */
3153
+ public java.lang.String getNumCpuPackages() {
3154
+ java.lang.Object ref = numCpuPackages_;
3155
+ if (!(ref instanceof java.lang.String)) {
3156
+ com.google.protobuf.ByteString bs =
3157
+ (com.google.protobuf.ByteString) ref;
3158
+ java.lang.String s = bs.toStringUtf8();
3159
+ numCpuPackages_ = s;
3160
+ return s;
3161
+ } else {
3162
+ return (java.lang.String) ref;
3163
+ }
3164
+ }
3165
+ /**
3166
+ * <pre>
3167
+ * Number of CPU packages of the Esxi Hypervisor
3168
+ * </pre>
3169
+ *
3170
+ * <code>optional string num_cpu_packages = 7;</code>
3171
+ * @return The bytes for numCpuPackages.
3172
+ */
3173
+ public com.google.protobuf.ByteString
3174
+ getNumCpuPackagesBytes() {
3175
+ java.lang.Object ref = numCpuPackages_;
3176
+ if (ref instanceof String) {
3177
+ com.google.protobuf.ByteString b =
3178
+ com.google.protobuf.ByteString.copyFromUtf8(
3179
+ (java.lang.String) ref);
3180
+ numCpuPackages_ = b;
3181
+ return b;
3182
+ } else {
3183
+ return (com.google.protobuf.ByteString) ref;
3184
+ }
3185
+ }
3186
+ /**
3187
+ * <pre>
3188
+ * Number of CPU packages of the Esxi Hypervisor
3189
+ * </pre>
3190
+ *
3191
+ * <code>optional string num_cpu_packages = 7;</code>
3192
+ * @param value The numCpuPackages to set.
3193
+ * @return This builder for chaining.
3194
+ */
3195
+ public Builder setNumCpuPackages(
3196
+ java.lang.String value) {
3197
+ if (value == null) { throw new NullPointerException(); }
3198
+ numCpuPackages_ = value;
3199
+ bitField0_ |= 0x00000080;
3200
+ onChanged();
3201
+ return this;
3202
+ }
3203
+ /**
3204
+ * <pre>
3205
+ * Number of CPU packages of the Esxi Hypervisor
3206
+ * </pre>
3207
+ *
3208
+ * <code>optional string num_cpu_packages = 7;</code>
3209
+ * @return This builder for chaining.
3210
+ */
3211
+ public Builder clearNumCpuPackages() {
3212
+ numCpuPackages_ = getDefaultInstance().getNumCpuPackages();
3213
+ bitField0_ = (bitField0_ & ~0x00000080);
3214
+ onChanged();
3215
+ return this;
3216
+ }
3217
+ /**
3218
+ * <pre>
3219
+ * Number of CPU packages of the Esxi Hypervisor
3220
+ * </pre>
3221
+ *
3222
+ * <code>optional string num_cpu_packages = 7;</code>
3223
+ * @param value The bytes for numCpuPackages to set.
3224
+ * @return This builder for chaining.
3225
+ */
3226
+ public Builder setNumCpuPackagesBytes(
3227
+ com.google.protobuf.ByteString value) {
3228
+ if (value == null) { throw new NullPointerException(); }
3229
+ checkByteStringIsUtf8(value);
3230
+ numCpuPackages_ = value;
3231
+ bitField0_ |= 0x00000080;
3232
+ onChanged();
3233
+ return this;
3234
+ }
3235
+
3236
+ private com.google.protobuf.LazyStringArrayList cpuPackagesDescriptions_ =
3237
+ com.google.protobuf.LazyStringArrayList.emptyList();
3238
+ private void ensureCpuPackagesDescriptionsIsMutable() {
3239
+ if (!cpuPackagesDescriptions_.isModifiable()) {
3240
+ cpuPackagesDescriptions_ = new com.google.protobuf.LazyStringArrayList(cpuPackagesDescriptions_);
3241
+ }
3242
+ bitField0_ |= 0x00000100;
3243
+ }
3244
+ /**
3245
+ * <pre>
3246
+ * Descriptions of each CPU package of the Esxi Hypervisor
3247
+ * </pre>
3248
+ *
3249
+ * <code>repeated string cpu_packages_descriptions = 8;</code>
3250
+ * @return A list containing the cpuPackagesDescriptions.
3251
+ */
3252
+ public com.google.protobuf.ProtocolStringList
3253
+ getCpuPackagesDescriptionsList() {
3254
+ cpuPackagesDescriptions_.makeImmutable();
3255
+ return cpuPackagesDescriptions_;
3256
+ }
3257
+ /**
3258
+ * <pre>
3259
+ * Descriptions of each CPU package of the Esxi Hypervisor
3260
+ * </pre>
3261
+ *
3262
+ * <code>repeated string cpu_packages_descriptions = 8;</code>
3263
+ * @return The count of cpuPackagesDescriptions.
3264
+ */
3265
+ public int getCpuPackagesDescriptionsCount() {
3266
+ return cpuPackagesDescriptions_.size();
3267
+ }
3268
+ /**
3269
+ * <pre>
3270
+ * Descriptions of each CPU package of the Esxi Hypervisor
3271
+ * </pre>
3272
+ *
3273
+ * <code>repeated string cpu_packages_descriptions = 8;</code>
3274
+ * @param index The index of the element to return.
3275
+ * @return The cpuPackagesDescriptions at the given index.
3276
+ */
3277
+ public java.lang.String getCpuPackagesDescriptions(int index) {
3278
+ return cpuPackagesDescriptions_.get(index);
3279
+ }
3280
+ /**
3281
+ * <pre>
3282
+ * Descriptions of each CPU package of the Esxi Hypervisor
3283
+ * </pre>
3284
+ *
3285
+ * <code>repeated string cpu_packages_descriptions = 8;</code>
3286
+ * @param index The index of the value to return.
3287
+ * @return The bytes of the cpuPackagesDescriptions at the given index.
3288
+ */
3289
+ public com.google.protobuf.ByteString
3290
+ getCpuPackagesDescriptionsBytes(int index) {
3291
+ return cpuPackagesDescriptions_.getByteString(index);
3292
+ }
3293
+ /**
3294
+ * <pre>
3295
+ * Descriptions of each CPU package of the Esxi Hypervisor
3296
+ * </pre>
3297
+ *
3298
+ * <code>repeated string cpu_packages_descriptions = 8;</code>
3299
+ * @param index The index to set the value at.
3300
+ * @param value The cpuPackagesDescriptions to set.
3301
+ * @return This builder for chaining.
3302
+ */
3303
+ public Builder setCpuPackagesDescriptions(
3304
+ int index, java.lang.String value) {
3305
+ if (value == null) { throw new NullPointerException(); }
3306
+ ensureCpuPackagesDescriptionsIsMutable();
3307
+ cpuPackagesDescriptions_.set(index, value);
3308
+ bitField0_ |= 0x00000100;
3309
+ onChanged();
3310
+ return this;
3311
+ }
3312
+ /**
3313
+ * <pre>
3314
+ * Descriptions of each CPU package of the Esxi Hypervisor
3315
+ * </pre>
3316
+ *
3317
+ * <code>repeated string cpu_packages_descriptions = 8;</code>
3318
+ * @param value The cpuPackagesDescriptions to add.
3319
+ * @return This builder for chaining.
3320
+ */
3321
+ public Builder addCpuPackagesDescriptions(
3322
+ java.lang.String value) {
3323
+ if (value == null) { throw new NullPointerException(); }
3324
+ ensureCpuPackagesDescriptionsIsMutable();
3325
+ cpuPackagesDescriptions_.add(value);
3326
+ bitField0_ |= 0x00000100;
3327
+ onChanged();
3328
+ return this;
3329
+ }
3330
+ /**
3331
+ * <pre>
3332
+ * Descriptions of each CPU package of the Esxi Hypervisor
3333
+ * </pre>
3334
+ *
3335
+ * <code>repeated string cpu_packages_descriptions = 8;</code>
3336
+ * @param values The cpuPackagesDescriptions to add.
3337
+ * @return This builder for chaining.
3338
+ */
3339
+ public Builder addAllCpuPackagesDescriptions(
3340
+ java.lang.Iterable<java.lang.String> values) {
3341
+ ensureCpuPackagesDescriptionsIsMutable();
3342
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
3343
+ values, cpuPackagesDescriptions_);
3344
+ bitField0_ |= 0x00000100;
3345
+ onChanged();
3346
+ return this;
3347
+ }
3348
+ /**
3349
+ * <pre>
3350
+ * Descriptions of each CPU package of the Esxi Hypervisor
3351
+ * </pre>
3352
+ *
3353
+ * <code>repeated string cpu_packages_descriptions = 8;</code>
3354
+ * @return This builder for chaining.
3355
+ */
3356
+ public Builder clearCpuPackagesDescriptions() {
3357
+ cpuPackagesDescriptions_ =
3358
+ com.google.protobuf.LazyStringArrayList.emptyList();
3359
+ bitField0_ = (bitField0_ & ~0x00000100);;
3360
+ onChanged();
3361
+ return this;
3362
+ }
3363
+ /**
3364
+ * <pre>
3365
+ * Descriptions of each CPU package of the Esxi Hypervisor
3366
+ * </pre>
3367
+ *
3368
+ * <code>repeated string cpu_packages_descriptions = 8;</code>
3369
+ * @param value The bytes of the cpuPackagesDescriptions to add.
3370
+ * @return This builder for chaining.
3371
+ */
3372
+ public Builder addCpuPackagesDescriptionsBytes(
3373
+ com.google.protobuf.ByteString value) {
3374
+ if (value == null) { throw new NullPointerException(); }
3375
+ checkByteStringIsUtf8(value);
3376
+ ensureCpuPackagesDescriptionsIsMutable();
3377
+ cpuPackagesDescriptions_.add(value);
3378
+ bitField0_ |= 0x00000100;
3379
+ onChanged();
3380
+ return this;
3381
+ }
3382
+
3383
+ private int numNics_ ;
3384
+ /**
3385
+ * <pre>
3386
+ * Number of NICs of the Esxi Hypervisor
3387
+ * </pre>
3388
+ *
3389
+ * <code>optional uint32 num_nics = 9;</code>
3390
+ * @return Whether the numNics field is set.
3391
+ */
3392
+ @java.lang.Override
3393
+ public boolean hasNumNics() {
3394
+ return ((bitField0_ & 0x00000200) != 0);
3395
+ }
3396
+ /**
3397
+ * <pre>
3398
+ * Number of NICs of the Esxi Hypervisor
3399
+ * </pre>
3400
+ *
3401
+ * <code>optional uint32 num_nics = 9;</code>
3402
+ * @return The numNics.
3403
+ */
3404
+ @java.lang.Override
3405
+ public int getNumNics() {
3406
+ return numNics_;
3407
+ }
3408
+ /**
3409
+ * <pre>
3410
+ * Number of NICs of the Esxi Hypervisor
3411
+ * </pre>
3412
+ *
3413
+ * <code>optional uint32 num_nics = 9;</code>
3414
+ * @param value The numNics to set.
3415
+ * @return This builder for chaining.
3416
+ */
3417
+ public Builder setNumNics(int value) {
3418
+
3419
+ numNics_ = value;
3420
+ bitField0_ |= 0x00000200;
3421
+ onChanged();
3422
+ return this;
3423
+ }
3424
+ /**
3425
+ * <pre>
3426
+ * Number of NICs of the Esxi Hypervisor
3427
+ * </pre>
3428
+ *
3429
+ * <code>optional uint32 num_nics = 9;</code>
3430
+ * @return This builder for chaining.
3431
+ */
3432
+ public Builder clearNumNics() {
3433
+ bitField0_ = (bitField0_ & ~0x00000200);
3434
+ numNics_ = 0;
3435
+ onChanged();
3436
+ return this;
3437
+ }
3438
+
3439
+ private int numHbas_ ;
3440
+ /**
3441
+ * <pre>
3442
+ * Number of HBAs of the Esxi Hypervisor
3443
+ * </pre>
3444
+ *
3445
+ * <code>optional uint32 num_hbas = 10;</code>
3446
+ * @return Whether the numHbas field is set.
3447
+ */
3448
+ @java.lang.Override
3449
+ public boolean hasNumHbas() {
3450
+ return ((bitField0_ & 0x00000400) != 0);
3451
+ }
3452
+ /**
3453
+ * <pre>
3454
+ * Number of HBAs of the Esxi Hypervisor
3455
+ * </pre>
3456
+ *
3457
+ * <code>optional uint32 num_hbas = 10;</code>
3458
+ * @return The numHbas.
3459
+ */
3460
+ @java.lang.Override
3461
+ public int getNumHbas() {
3462
+ return numHbas_;
3463
+ }
3464
+ /**
3465
+ * <pre>
3466
+ * Number of HBAs of the Esxi Hypervisor
3467
+ * </pre>
3468
+ *
3469
+ * <code>optional uint32 num_hbas = 10;</code>
3470
+ * @param value The numHbas to set.
3471
+ * @return This builder for chaining.
3472
+ */
3473
+ public Builder setNumHbas(int value) {
3474
+
3475
+ numHbas_ = value;
3476
+ bitField0_ |= 0x00000400;
3477
+ onChanged();
3478
+ return this;
3479
+ }
3480
+ /**
3481
+ * <pre>
3482
+ * Number of HBAs of the Esxi Hypervisor
3483
+ * </pre>
3484
+ *
3485
+ * <code>optional uint32 num_hbas = 10;</code>
3486
+ * @return This builder for chaining.
3487
+ */
3488
+ public Builder clearNumHbas() {
3489
+ bitField0_ = (bitField0_ & ~0x00000400);
3490
+ numHbas_ = 0;
3491
+ onChanged();
3492
+ return this;
3493
+ }
3494
+
3495
+ private java.lang.Object uuid_ = "";
3496
+ /**
3497
+ * <pre>
3498
+ * UUID of the Esxi Hypervisor
3499
+ * </pre>
3500
+ *
3501
+ * <code>optional string uuid = 11;</code>
3502
+ * @return Whether the uuid field is set.
3503
+ */
3504
+ public boolean hasUuid() {
3505
+ return ((bitField0_ & 0x00000800) != 0);
3506
+ }
3507
+ /**
3508
+ * <pre>
3509
+ * UUID of the Esxi Hypervisor
3510
+ * </pre>
3511
+ *
3512
+ * <code>optional string uuid = 11;</code>
3513
+ * @return The uuid.
3514
+ */
3515
+ public java.lang.String getUuid() {
3516
+ java.lang.Object ref = uuid_;
3517
+ if (!(ref instanceof java.lang.String)) {
3518
+ com.google.protobuf.ByteString bs =
3519
+ (com.google.protobuf.ByteString) ref;
3520
+ java.lang.String s = bs.toStringUtf8();
3521
+ uuid_ = s;
3522
+ return s;
3523
+ } else {
3524
+ return (java.lang.String) ref;
3525
+ }
3526
+ }
3527
+ /**
3528
+ * <pre>
3529
+ * UUID of the Esxi Hypervisor
3530
+ * </pre>
3531
+ *
3532
+ * <code>optional string uuid = 11;</code>
3533
+ * @return The bytes for uuid.
3534
+ */
3535
+ public com.google.protobuf.ByteString
3536
+ getUuidBytes() {
3537
+ java.lang.Object ref = uuid_;
3538
+ if (ref instanceof String) {
3539
+ com.google.protobuf.ByteString b =
3540
+ com.google.protobuf.ByteString.copyFromUtf8(
3541
+ (java.lang.String) ref);
3542
+ uuid_ = b;
3543
+ return b;
3544
+ } else {
3545
+ return (com.google.protobuf.ByteString) ref;
3546
+ }
3547
+ }
3548
+ /**
3549
+ * <pre>
3550
+ * UUID of the Esxi Hypervisor
3551
+ * </pre>
3552
+ *
3553
+ * <code>optional string uuid = 11;</code>
3554
+ * @param value The uuid to set.
3555
+ * @return This builder for chaining.
3556
+ */
3557
+ public Builder setUuid(
3558
+ java.lang.String value) {
3559
+ if (value == null) { throw new NullPointerException(); }
3560
+ uuid_ = value;
3561
+ bitField0_ |= 0x00000800;
3562
+ onChanged();
3563
+ return this;
3564
+ }
3565
+ /**
3566
+ * <pre>
3567
+ * UUID of the Esxi Hypervisor
3568
+ * </pre>
3569
+ *
3570
+ * <code>optional string uuid = 11;</code>
3571
+ * @return This builder for chaining.
3572
+ */
3573
+ public Builder clearUuid() {
3574
+ uuid_ = getDefaultInstance().getUuid();
3575
+ bitField0_ = (bitField0_ & ~0x00000800);
3576
+ onChanged();
3577
+ return this;
3578
+ }
3579
+ /**
3580
+ * <pre>
3581
+ * UUID of the Esxi Hypervisor
3582
+ * </pre>
3583
+ *
3584
+ * <code>optional string uuid = 11;</code>
3585
+ * @param value The bytes for uuid to set.
3586
+ * @return This builder for chaining.
3587
+ */
3588
+ public Builder setUuidBytes(
3589
+ com.google.protobuf.ByteString value) {
3590
+ if (value == null) { throw new NullPointerException(); }
3591
+ checkByteStringIsUtf8(value);
3592
+ uuid_ = value;
3593
+ bitField0_ |= 0x00000800;
3594
+ onChanged();
3595
+ return this;
3596
+ }
3597
+
3598
+ private java.lang.Object connectionState_ = "";
3599
+ /**
3600
+ * <pre>
3601
+ * Connection state of the Esxi Hypervisor
3602
+ * </pre>
3603
+ *
3604
+ * <code>optional string connection_state = 12;</code>
3605
+ * @return Whether the connectionState field is set.
3606
+ */
3607
+ public boolean hasConnectionState() {
3608
+ return ((bitField0_ & 0x00001000) != 0);
3609
+ }
3610
+ /**
3611
+ * <pre>
3612
+ * Connection state of the Esxi Hypervisor
3613
+ * </pre>
3614
+ *
3615
+ * <code>optional string connection_state = 12;</code>
3616
+ * @return The connectionState.
3617
+ */
3618
+ public java.lang.String getConnectionState() {
3619
+ java.lang.Object ref = connectionState_;
3620
+ if (!(ref instanceof java.lang.String)) {
3621
+ com.google.protobuf.ByteString bs =
3622
+ (com.google.protobuf.ByteString) ref;
3623
+ java.lang.String s = bs.toStringUtf8();
3624
+ connectionState_ = s;
3625
+ return s;
3626
+ } else {
3627
+ return (java.lang.String) ref;
3628
+ }
3629
+ }
3630
+ /**
3631
+ * <pre>
3632
+ * Connection state of the Esxi Hypervisor
3633
+ * </pre>
3634
+ *
3635
+ * <code>optional string connection_state = 12;</code>
3636
+ * @return The bytes for connectionState.
3637
+ */
3638
+ public com.google.protobuf.ByteString
3639
+ getConnectionStateBytes() {
3640
+ java.lang.Object ref = connectionState_;
3641
+ if (ref instanceof String) {
3642
+ com.google.protobuf.ByteString b =
3643
+ com.google.protobuf.ByteString.copyFromUtf8(
3644
+ (java.lang.String) ref);
3645
+ connectionState_ = b;
3646
+ return b;
3647
+ } else {
3648
+ return (com.google.protobuf.ByteString) ref;
3649
+ }
3650
+ }
3651
+ /**
3652
+ * <pre>
3653
+ * Connection state of the Esxi Hypervisor
3654
+ * </pre>
3655
+ *
3656
+ * <code>optional string connection_state = 12;</code>
3657
+ * @param value The connectionState to set.
3658
+ * @return This builder for chaining.
3659
+ */
3660
+ public Builder setConnectionState(
3661
+ java.lang.String value) {
3662
+ if (value == null) { throw new NullPointerException(); }
3663
+ connectionState_ = value;
3664
+ bitField0_ |= 0x00001000;
3665
+ onChanged();
3666
+ return this;
3667
+ }
3668
+ /**
3669
+ * <pre>
3670
+ * Connection state of the Esxi Hypervisor
3671
+ * </pre>
3672
+ *
3673
+ * <code>optional string connection_state = 12;</code>
3674
+ * @return This builder for chaining.
3675
+ */
3676
+ public Builder clearConnectionState() {
3677
+ connectionState_ = getDefaultInstance().getConnectionState();
3678
+ bitField0_ = (bitField0_ & ~0x00001000);
3679
+ onChanged();
3680
+ return this;
3681
+ }
3682
+ /**
3683
+ * <pre>
3684
+ * Connection state of the Esxi Hypervisor
3685
+ * </pre>
3686
+ *
3687
+ * <code>optional string connection_state = 12;</code>
3688
+ * @param value The bytes for connectionState to set.
3689
+ * @return This builder for chaining.
3690
+ */
3691
+ public Builder setConnectionStateBytes(
3692
+ com.google.protobuf.ByteString value) {
3693
+ if (value == null) { throw new NullPointerException(); }
3694
+ checkByteStringIsUtf8(value);
3695
+ connectionState_ = value;
3696
+ bitField0_ |= 0x00001000;
3697
+ onChanged();
3698
+ return this;
3699
+ }
3700
+
3701
+ private java.lang.Object powerState_ = "";
3702
+ /**
3703
+ * <pre>
3704
+ * Power state of the Esxi Hypervisor
3705
+ * </pre>
3706
+ *
3707
+ * <code>optional string power_state = 13;</code>
3708
+ * @return Whether the powerState field is set.
3709
+ */
3710
+ public boolean hasPowerState() {
3711
+ return ((bitField0_ & 0x00002000) != 0);
3712
+ }
3713
+ /**
3714
+ * <pre>
3715
+ * Power state of the Esxi Hypervisor
3716
+ * </pre>
3717
+ *
3718
+ * <code>optional string power_state = 13;</code>
3719
+ * @return The powerState.
3720
+ */
3721
+ public java.lang.String getPowerState() {
3722
+ java.lang.Object ref = powerState_;
3723
+ if (!(ref instanceof java.lang.String)) {
3724
+ com.google.protobuf.ByteString bs =
3725
+ (com.google.protobuf.ByteString) ref;
3726
+ java.lang.String s = bs.toStringUtf8();
3727
+ powerState_ = s;
3728
+ return s;
3729
+ } else {
3730
+ return (java.lang.String) ref;
3731
+ }
3732
+ }
3733
+ /**
3734
+ * <pre>
3735
+ * Power state of the Esxi Hypervisor
3736
+ * </pre>
3737
+ *
3738
+ * <code>optional string power_state = 13;</code>
3739
+ * @return The bytes for powerState.
3740
+ */
3741
+ public com.google.protobuf.ByteString
3742
+ getPowerStateBytes() {
3743
+ java.lang.Object ref = powerState_;
3744
+ if (ref instanceof String) {
3745
+ com.google.protobuf.ByteString b =
3746
+ com.google.protobuf.ByteString.copyFromUtf8(
3747
+ (java.lang.String) ref);
3748
+ powerState_ = b;
3749
+ return b;
3750
+ } else {
3751
+ return (com.google.protobuf.ByteString) ref;
3752
+ }
3753
+ }
3754
+ /**
3755
+ * <pre>
3756
+ * Power state of the Esxi Hypervisor
3757
+ * </pre>
3758
+ *
3759
+ * <code>optional string power_state = 13;</code>
3760
+ * @param value The powerState to set.
3761
+ * @return This builder for chaining.
3762
+ */
3763
+ public Builder setPowerState(
3764
+ java.lang.String value) {
3765
+ if (value == null) { throw new NullPointerException(); }
3766
+ powerState_ = value;
3767
+ bitField0_ |= 0x00002000;
3768
+ onChanged();
3769
+ return this;
3770
+ }
3771
+ /**
3772
+ * <pre>
3773
+ * Power state of the Esxi Hypervisor
3774
+ * </pre>
3775
+ *
3776
+ * <code>optional string power_state = 13;</code>
3777
+ * @return This builder for chaining.
3778
+ */
3779
+ public Builder clearPowerState() {
3780
+ powerState_ = getDefaultInstance().getPowerState();
3781
+ bitField0_ = (bitField0_ & ~0x00002000);
3782
+ onChanged();
3783
+ return this;
3784
+ }
3785
+ /**
3786
+ * <pre>
3787
+ * Power state of the Esxi Hypervisor
3788
+ * </pre>
3789
+ *
3790
+ * <code>optional string power_state = 13;</code>
3791
+ * @param value The bytes for powerState to set.
3792
+ * @return This builder for chaining.
3793
+ */
3794
+ public Builder setPowerStateBytes(
3795
+ com.google.protobuf.ByteString value) {
3796
+ if (value == null) { throw new NullPointerException(); }
3797
+ checkByteStringIsUtf8(value);
3798
+ powerState_ = value;
3799
+ bitField0_ |= 0x00002000;
3800
+ onChanged();
3801
+ return this;
3802
+ }
3803
+
3804
+ private java.lang.Object datacenterId_ = "";
3805
+ /**
3806
+ * <pre>
3807
+ * Datacenter ID of the Esxi Hypervisor
3808
+ * </pre>
3809
+ *
3810
+ * <code>optional string datacenter_id = 14;</code>
3811
+ * @return Whether the datacenterId field is set.
3812
+ */
3813
+ public boolean hasDatacenterId() {
3814
+ return ((bitField0_ & 0x00004000) != 0);
3815
+ }
3816
+ /**
3817
+ * <pre>
3818
+ * Datacenter ID of the Esxi Hypervisor
3819
+ * </pre>
3820
+ *
3821
+ * <code>optional string datacenter_id = 14;</code>
3822
+ * @return The datacenterId.
3823
+ */
3824
+ public java.lang.String getDatacenterId() {
3825
+ java.lang.Object ref = datacenterId_;
3826
+ if (!(ref instanceof java.lang.String)) {
3827
+ com.google.protobuf.ByteString bs =
3828
+ (com.google.protobuf.ByteString) ref;
3829
+ java.lang.String s = bs.toStringUtf8();
3830
+ datacenterId_ = s;
3831
+ return s;
3832
+ } else {
3833
+ return (java.lang.String) ref;
3834
+ }
3835
+ }
3836
+ /**
3837
+ * <pre>
3838
+ * Datacenter ID of the Esxi Hypervisor
3839
+ * </pre>
3840
+ *
3841
+ * <code>optional string datacenter_id = 14;</code>
3842
+ * @return The bytes for datacenterId.
3843
+ */
3844
+ public com.google.protobuf.ByteString
3845
+ getDatacenterIdBytes() {
3846
+ java.lang.Object ref = datacenterId_;
3847
+ if (ref instanceof String) {
3848
+ com.google.protobuf.ByteString b =
3849
+ com.google.protobuf.ByteString.copyFromUtf8(
3850
+ (java.lang.String) ref);
3851
+ datacenterId_ = b;
3852
+ return b;
3853
+ } else {
3854
+ return (com.google.protobuf.ByteString) ref;
3855
+ }
3856
+ }
3857
+ /**
3858
+ * <pre>
3859
+ * Datacenter ID of the Esxi Hypervisor
3860
+ * </pre>
3861
+ *
3862
+ * <code>optional string datacenter_id = 14;</code>
3863
+ * @param value The datacenterId to set.
3864
+ * @return This builder for chaining.
3865
+ */
3866
+ public Builder setDatacenterId(
3867
+ java.lang.String value) {
3868
+ if (value == null) { throw new NullPointerException(); }
3869
+ datacenterId_ = value;
3870
+ bitField0_ |= 0x00004000;
3871
+ onChanged();
3872
+ return this;
3873
+ }
3874
+ /**
3875
+ * <pre>
3876
+ * Datacenter ID of the Esxi Hypervisor
3877
+ * </pre>
3878
+ *
3879
+ * <code>optional string datacenter_id = 14;</code>
3880
+ * @return This builder for chaining.
3881
+ */
3882
+ public Builder clearDatacenterId() {
3883
+ datacenterId_ = getDefaultInstance().getDatacenterId();
3884
+ bitField0_ = (bitField0_ & ~0x00004000);
3885
+ onChanged();
3886
+ return this;
3887
+ }
3888
+ /**
3889
+ * <pre>
3890
+ * Datacenter ID of the Esxi Hypervisor
3891
+ * </pre>
3892
+ *
3893
+ * <code>optional string datacenter_id = 14;</code>
3894
+ * @param value The bytes for datacenterId to set.
3895
+ * @return This builder for chaining.
3896
+ */
3897
+ public Builder setDatacenterIdBytes(
3898
+ com.google.protobuf.ByteString value) {
3899
+ if (value == null) { throw new NullPointerException(); }
3900
+ checkByteStringIsUtf8(value);
3901
+ datacenterId_ = value;
3902
+ bitField0_ |= 0x00004000;
3903
+ onChanged();
3904
+ return this;
3905
+ }
3906
+
3907
+ private java.lang.Object internalKey_ = "";
3908
+ /**
3909
+ * <pre>
3910
+ * Internal key of the Esxi Hypervisor
3911
+ * </pre>
3912
+ *
3913
+ * <code>optional string internal_key = 15;</code>
3914
+ * @return Whether the internalKey field is set.
3915
+ */
3916
+ public boolean hasInternalKey() {
3917
+ return ((bitField0_ & 0x00008000) != 0);
3918
+ }
3919
+ /**
3920
+ * <pre>
3921
+ * Internal key of the Esxi Hypervisor
3922
+ * </pre>
3923
+ *
3924
+ * <code>optional string internal_key = 15;</code>
3925
+ * @return The internalKey.
3926
+ */
3927
+ public java.lang.String getInternalKey() {
3928
+ java.lang.Object ref = internalKey_;
3929
+ if (!(ref instanceof java.lang.String)) {
3930
+ com.google.protobuf.ByteString bs =
3931
+ (com.google.protobuf.ByteString) ref;
3932
+ java.lang.String s = bs.toStringUtf8();
3933
+ internalKey_ = s;
3934
+ return s;
3935
+ } else {
3936
+ return (java.lang.String) ref;
3937
+ }
3938
+ }
3939
+ /**
3940
+ * <pre>
3941
+ * Internal key of the Esxi Hypervisor
3942
+ * </pre>
3943
+ *
3944
+ * <code>optional string internal_key = 15;</code>
3945
+ * @return The bytes for internalKey.
3946
+ */
3947
+ public com.google.protobuf.ByteString
3948
+ getInternalKeyBytes() {
3949
+ java.lang.Object ref = internalKey_;
3950
+ if (ref instanceof String) {
3951
+ com.google.protobuf.ByteString b =
3952
+ com.google.protobuf.ByteString.copyFromUtf8(
3953
+ (java.lang.String) ref);
3954
+ internalKey_ = b;
3955
+ return b;
3956
+ } else {
3957
+ return (com.google.protobuf.ByteString) ref;
3958
+ }
3959
+ }
3960
+ /**
3961
+ * <pre>
3962
+ * Internal key of the Esxi Hypervisor
3963
+ * </pre>
3964
+ *
3965
+ * <code>optional string internal_key = 15;</code>
3966
+ * @param value The internalKey to set.
3967
+ * @return This builder for chaining.
3968
+ */
3969
+ public Builder setInternalKey(
3970
+ java.lang.String value) {
3971
+ if (value == null) { throw new NullPointerException(); }
3972
+ internalKey_ = value;
3973
+ bitField0_ |= 0x00008000;
3974
+ onChanged();
3975
+ return this;
3976
+ }
3977
+ /**
3978
+ * <pre>
3979
+ * Internal key of the Esxi Hypervisor
3980
+ * </pre>
3981
+ *
3982
+ * <code>optional string internal_key = 15;</code>
3983
+ * @return This builder for chaining.
3984
+ */
3985
+ public Builder clearInternalKey() {
3986
+ internalKey_ = getDefaultInstance().getInternalKey();
3987
+ bitField0_ = (bitField0_ & ~0x00008000);
3988
+ onChanged();
3989
+ return this;
3990
+ }
3991
+ /**
3992
+ * <pre>
3993
+ * Internal key of the Esxi Hypervisor
3994
+ * </pre>
3995
+ *
3996
+ * <code>optional string internal_key = 15;</code>
3997
+ * @param value The bytes for internalKey to set.
3998
+ * @return This builder for chaining.
3999
+ */
4000
+ public Builder setInternalKeyBytes(
4001
+ com.google.protobuf.ByteString value) {
4002
+ if (value == null) { throw new NullPointerException(); }
4003
+ checkByteStringIsUtf8(value);
4004
+ internalKey_ = value;
4005
+ bitField0_ |= 0x00008000;
4006
+ onChanged();
4007
+ return this;
4008
+ }
4009
+
4010
+ private boolean adminDisabled_ ;
4011
+ /**
4012
+ * <pre>
4013
+ * Admin disabled state of the Esxi Hypervisor
4014
+ * </pre>
4015
+ *
4016
+ * <code>optional bool admin_disabled = 16;</code>
4017
+ * @return Whether the adminDisabled field is set.
4018
+ */
4019
+ @java.lang.Override
4020
+ public boolean hasAdminDisabled() {
4021
+ return ((bitField0_ & 0x00010000) != 0);
4022
+ }
4023
+ /**
4024
+ * <pre>
4025
+ * Admin disabled state of the Esxi Hypervisor
4026
+ * </pre>
4027
+ *
4028
+ * <code>optional bool admin_disabled = 16;</code>
4029
+ * @return The adminDisabled.
4030
+ */
4031
+ @java.lang.Override
4032
+ public boolean getAdminDisabled() {
4033
+ return adminDisabled_;
4034
+ }
4035
+ /**
4036
+ * <pre>
4037
+ * Admin disabled state of the Esxi Hypervisor
4038
+ * </pre>
4039
+ *
4040
+ * <code>optional bool admin_disabled = 16;</code>
4041
+ * @param value The adminDisabled to set.
4042
+ * @return This builder for chaining.
4043
+ */
4044
+ public Builder setAdminDisabled(boolean value) {
4045
+
4046
+ adminDisabled_ = value;
4047
+ bitField0_ |= 0x00010000;
4048
+ onChanged();
4049
+ return this;
4050
+ }
4051
+ /**
4052
+ * <pre>
4053
+ * Admin disabled state of the Esxi Hypervisor
4054
+ * </pre>
4055
+ *
4056
+ * <code>optional bool admin_disabled = 16;</code>
4057
+ * @return This builder for chaining.
4058
+ */
4059
+ public Builder clearAdminDisabled() {
4060
+ bitField0_ = (bitField0_ & ~0x00010000);
4061
+ adminDisabled_ = false;
4062
+ onChanged();
4063
+ return this;
4064
+ }
4065
+
4066
+ private java.lang.Object ipAddress_ = "";
4067
+ /**
4068
+ * <pre>
4069
+ * IP address of the Esxi Hypervisor
4070
+ * </pre>
4071
+ *
4072
+ * <code>optional string ip_address = 18;</code>
4073
+ * @return Whether the ipAddress field is set.
4074
+ */
4075
+ public boolean hasIpAddress() {
4076
+ return ((bitField0_ & 0x00020000) != 0);
4077
+ }
4078
+ /**
4079
+ * <pre>
4080
+ * IP address of the Esxi Hypervisor
4081
+ * </pre>
4082
+ *
4083
+ * <code>optional string ip_address = 18;</code>
4084
+ * @return The ipAddress.
4085
+ */
4086
+ public java.lang.String getIpAddress() {
4087
+ java.lang.Object ref = ipAddress_;
4088
+ if (!(ref instanceof java.lang.String)) {
4089
+ com.google.protobuf.ByteString bs =
4090
+ (com.google.protobuf.ByteString) ref;
4091
+ java.lang.String s = bs.toStringUtf8();
4092
+ ipAddress_ = s;
4093
+ return s;
4094
+ } else {
4095
+ return (java.lang.String) ref;
4096
+ }
4097
+ }
4098
+ /**
4099
+ * <pre>
4100
+ * IP address of the Esxi Hypervisor
4101
+ * </pre>
4102
+ *
4103
+ * <code>optional string ip_address = 18;</code>
4104
+ * @return The bytes for ipAddress.
4105
+ */
4106
+ public com.google.protobuf.ByteString
4107
+ getIpAddressBytes() {
4108
+ java.lang.Object ref = ipAddress_;
4109
+ if (ref instanceof String) {
4110
+ com.google.protobuf.ByteString b =
4111
+ com.google.protobuf.ByteString.copyFromUtf8(
4112
+ (java.lang.String) ref);
4113
+ ipAddress_ = b;
4114
+ return b;
4115
+ } else {
4116
+ return (com.google.protobuf.ByteString) ref;
4117
+ }
4118
+ }
4119
+ /**
4120
+ * <pre>
4121
+ * IP address of the Esxi Hypervisor
4122
+ * </pre>
4123
+ *
4124
+ * <code>optional string ip_address = 18;</code>
4125
+ * @param value The ipAddress to set.
4126
+ * @return This builder for chaining.
4127
+ */
4128
+ public Builder setIpAddress(
4129
+ java.lang.String value) {
4130
+ if (value == null) { throw new NullPointerException(); }
4131
+ ipAddress_ = value;
4132
+ bitField0_ |= 0x00020000;
4133
+ onChanged();
4134
+ return this;
4135
+ }
4136
+ /**
4137
+ * <pre>
4138
+ * IP address of the Esxi Hypervisor
4139
+ * </pre>
4140
+ *
4141
+ * <code>optional string ip_address = 18;</code>
4142
+ * @return This builder for chaining.
4143
+ */
4144
+ public Builder clearIpAddress() {
4145
+ ipAddress_ = getDefaultInstance().getIpAddress();
4146
+ bitField0_ = (bitField0_ & ~0x00020000);
4147
+ onChanged();
4148
+ return this;
4149
+ }
4150
+ /**
4151
+ * <pre>
4152
+ * IP address of the Esxi Hypervisor
4153
+ * </pre>
4154
+ *
4155
+ * <code>optional string ip_address = 18;</code>
4156
+ * @param value The bytes for ipAddress to set.
4157
+ * @return This builder for chaining.
4158
+ */
4159
+ public Builder setIpAddressBytes(
4160
+ com.google.protobuf.ByteString value) {
4161
+ if (value == null) { throw new NullPointerException(); }
4162
+ checkByteStringIsUtf8(value);
4163
+ ipAddress_ = value;
4164
+ bitField0_ |= 0x00020000;
4165
+ onChanged();
4166
+ return this;
4167
+ }
4168
+
4169
+ private int port_ ;
4170
+ /**
4171
+ * <pre>
4172
+ * Port of the Esxi Hypervisor
4173
+ * </pre>
4174
+ *
4175
+ * <code>optional uint32 port = 19;</code>
4176
+ * @return Whether the port field is set.
4177
+ */
4178
+ @java.lang.Override
4179
+ public boolean hasPort() {
4180
+ return ((bitField0_ & 0x00040000) != 0);
4181
+ }
4182
+ /**
4183
+ * <pre>
4184
+ * Port of the Esxi Hypervisor
4185
+ * </pre>
4186
+ *
4187
+ * <code>optional uint32 port = 19;</code>
4188
+ * @return The port.
4189
+ */
4190
+ @java.lang.Override
4191
+ public int getPort() {
4192
+ return port_;
4193
+ }
4194
+ /**
4195
+ * <pre>
4196
+ * Port of the Esxi Hypervisor
4197
+ * </pre>
4198
+ *
4199
+ * <code>optional uint32 port = 19;</code>
4200
+ * @param value The port to set.
4201
+ * @return This builder for chaining.
4202
+ */
4203
+ public Builder setPort(int value) {
4204
+
4205
+ port_ = value;
4206
+ bitField0_ |= 0x00040000;
4207
+ onChanged();
4208
+ return this;
4209
+ }
4210
+ /**
4211
+ * <pre>
4212
+ * Port of the Esxi Hypervisor
4213
+ * </pre>
4214
+ *
4215
+ * <code>optional uint32 port = 19;</code>
4216
+ * @return This builder for chaining.
4217
+ */
4218
+ public Builder clearPort() {
4219
+ bitField0_ = (bitField0_ & ~0x00040000);
4220
+ port_ = 0;
4221
+ onChanged();
4222
+ return this;
4223
+ }
4224
+
4225
+ private java.lang.Object sslThumbprint_ = "";
4226
+ /**
4227
+ * <pre>
4228
+ * SSL thumbprint of the Esxi Hypervisor
4229
+ * </pre>
4230
+ *
4231
+ * <code>optional string ssl_thumbprint = 20;</code>
4232
+ * @return Whether the sslThumbprint field is set.
4233
+ */
4234
+ public boolean hasSslThumbprint() {
4235
+ return ((bitField0_ & 0x00080000) != 0);
4236
+ }
4237
+ /**
4238
+ * <pre>
4239
+ * SSL thumbprint of the Esxi Hypervisor
4240
+ * </pre>
4241
+ *
4242
+ * <code>optional string ssl_thumbprint = 20;</code>
4243
+ * @return The sslThumbprint.
4244
+ */
4245
+ public java.lang.String getSslThumbprint() {
4246
+ java.lang.Object ref = sslThumbprint_;
4247
+ if (!(ref instanceof java.lang.String)) {
4248
+ com.google.protobuf.ByteString bs =
4249
+ (com.google.protobuf.ByteString) ref;
4250
+ java.lang.String s = bs.toStringUtf8();
4251
+ sslThumbprint_ = s;
4252
+ return s;
4253
+ } else {
4254
+ return (java.lang.String) ref;
4255
+ }
4256
+ }
4257
+ /**
4258
+ * <pre>
4259
+ * SSL thumbprint of the Esxi Hypervisor
4260
+ * </pre>
4261
+ *
4262
+ * <code>optional string ssl_thumbprint = 20;</code>
4263
+ * @return The bytes for sslThumbprint.
4264
+ */
4265
+ public com.google.protobuf.ByteString
4266
+ getSslThumbprintBytes() {
4267
+ java.lang.Object ref = sslThumbprint_;
4268
+ if (ref instanceof String) {
4269
+ com.google.protobuf.ByteString b =
4270
+ com.google.protobuf.ByteString.copyFromUtf8(
4271
+ (java.lang.String) ref);
4272
+ sslThumbprint_ = b;
4273
+ return b;
4274
+ } else {
4275
+ return (com.google.protobuf.ByteString) ref;
4276
+ }
4277
+ }
4278
+ /**
4279
+ * <pre>
4280
+ * SSL thumbprint of the Esxi Hypervisor
4281
+ * </pre>
4282
+ *
4283
+ * <code>optional string ssl_thumbprint = 20;</code>
4284
+ * @param value The sslThumbprint to set.
4285
+ * @return This builder for chaining.
4286
+ */
4287
+ public Builder setSslThumbprint(
4288
+ java.lang.String value) {
4289
+ if (value == null) { throw new NullPointerException(); }
4290
+ sslThumbprint_ = value;
4291
+ bitField0_ |= 0x00080000;
4292
+ onChanged();
4293
+ return this;
4294
+ }
4295
+ /**
4296
+ * <pre>
4297
+ * SSL thumbprint of the Esxi Hypervisor
4298
+ * </pre>
4299
+ *
4300
+ * <code>optional string ssl_thumbprint = 20;</code>
4301
+ * @return This builder for chaining.
4302
+ */
4303
+ public Builder clearSslThumbprint() {
4304
+ sslThumbprint_ = getDefaultInstance().getSslThumbprint();
4305
+ bitField0_ = (bitField0_ & ~0x00080000);
4306
+ onChanged();
4307
+ return this;
4308
+ }
4309
+ /**
4310
+ * <pre>
4311
+ * SSL thumbprint of the Esxi Hypervisor
4312
+ * </pre>
4313
+ *
4314
+ * <code>optional string ssl_thumbprint = 20;</code>
4315
+ * @param value The bytes for sslThumbprint to set.
4316
+ * @return This builder for chaining.
4317
+ */
4318
+ public Builder setSslThumbprintBytes(
4319
+ com.google.protobuf.ByteString value) {
4320
+ if (value == null) { throw new NullPointerException(); }
4321
+ checkByteStringIsUtf8(value);
4322
+ sslThumbprint_ = value;
4323
+ bitField0_ |= 0x00080000;
4324
+ onChanged();
4325
+ return this;
4326
+ }
4327
+
4328
+ private java.lang.Object managementServerIp_ = "";
4329
+ /**
4330
+ * <pre>
4331
+ * Management server IP of the Esxi Hypervisor
4332
+ * </pre>
4333
+ *
4334
+ * <code>optional string management_server_ip = 21;</code>
4335
+ * @return Whether the managementServerIp field is set.
4336
+ */
4337
+ public boolean hasManagementServerIp() {
4338
+ return ((bitField0_ & 0x00100000) != 0);
4339
+ }
4340
+ /**
4341
+ * <pre>
4342
+ * Management server IP of the Esxi Hypervisor
4343
+ * </pre>
4344
+ *
4345
+ * <code>optional string management_server_ip = 21;</code>
4346
+ * @return The managementServerIp.
4347
+ */
4348
+ public java.lang.String getManagementServerIp() {
4349
+ java.lang.Object ref = managementServerIp_;
4350
+ if (!(ref instanceof java.lang.String)) {
4351
+ com.google.protobuf.ByteString bs =
4352
+ (com.google.protobuf.ByteString) ref;
4353
+ java.lang.String s = bs.toStringUtf8();
4354
+ managementServerIp_ = s;
4355
+ return s;
4356
+ } else {
4357
+ return (java.lang.String) ref;
4358
+ }
4359
+ }
4360
+ /**
4361
+ * <pre>
4362
+ * Management server IP of the Esxi Hypervisor
4363
+ * </pre>
4364
+ *
4365
+ * <code>optional string management_server_ip = 21;</code>
4366
+ * @return The bytes for managementServerIp.
4367
+ */
4368
+ public com.google.protobuf.ByteString
4369
+ getManagementServerIpBytes() {
4370
+ java.lang.Object ref = managementServerIp_;
4371
+ if (ref instanceof String) {
4372
+ com.google.protobuf.ByteString b =
4373
+ com.google.protobuf.ByteString.copyFromUtf8(
4374
+ (java.lang.String) ref);
4375
+ managementServerIp_ = b;
4376
+ return b;
4377
+ } else {
4378
+ return (com.google.protobuf.ByteString) ref;
4379
+ }
4380
+ }
4381
+ /**
4382
+ * <pre>
4383
+ * Management server IP of the Esxi Hypervisor
4384
+ * </pre>
4385
+ *
4386
+ * <code>optional string management_server_ip = 21;</code>
4387
+ * @param value The managementServerIp to set.
4388
+ * @return This builder for chaining.
4389
+ */
4390
+ public Builder setManagementServerIp(
4391
+ java.lang.String value) {
4392
+ if (value == null) { throw new NullPointerException(); }
4393
+ managementServerIp_ = value;
4394
+ bitField0_ |= 0x00100000;
4395
+ onChanged();
4396
+ return this;
4397
+ }
4398
+ /**
4399
+ * <pre>
4400
+ * Management server IP of the Esxi Hypervisor
4401
+ * </pre>
4402
+ *
4403
+ * <code>optional string management_server_ip = 21;</code>
4404
+ * @return This builder for chaining.
4405
+ */
4406
+ public Builder clearManagementServerIp() {
4407
+ managementServerIp_ = getDefaultInstance().getManagementServerIp();
4408
+ bitField0_ = (bitField0_ & ~0x00100000);
4409
+ onChanged();
4410
+ return this;
4411
+ }
4412
+ /**
4413
+ * <pre>
4414
+ * Management server IP of the Esxi Hypervisor
4415
+ * </pre>
4416
+ *
4417
+ * <code>optional string management_server_ip = 21;</code>
4418
+ * @param value The bytes for managementServerIp to set.
4419
+ * @return This builder for chaining.
4420
+ */
4421
+ public Builder setManagementServerIpBytes(
4422
+ com.google.protobuf.ByteString value) {
4423
+ if (value == null) { throw new NullPointerException(); }
4424
+ checkByteStringIsUtf8(value);
4425
+ managementServerIp_ = value;
4426
+ bitField0_ |= 0x00100000;
4427
+ onChanged();
4428
+ return this;
4429
+ }
4430
+
4431
+ private int numCpu_ ;
4432
+ /**
4433
+ * <pre>
4434
+ * Number of CPU cores of the Esxi Hypervisor
4435
+ * </pre>
4436
+ *
4437
+ * <code>optional uint32 num_cpu = 22;</code>
4438
+ * @return Whether the numCpu field is set.
4439
+ */
4440
+ @java.lang.Override
4441
+ public boolean hasNumCpu() {
4442
+ return ((bitField0_ & 0x00200000) != 0);
4443
+ }
4444
+ /**
4445
+ * <pre>
4446
+ * Number of CPU cores of the Esxi Hypervisor
4447
+ * </pre>
4448
+ *
4449
+ * <code>optional uint32 num_cpu = 22;</code>
4450
+ * @return The numCpu.
4451
+ */
4452
+ @java.lang.Override
4453
+ public int getNumCpu() {
4454
+ return numCpu_;
4455
+ }
4456
+ /**
4457
+ * <pre>
4458
+ * Number of CPU cores of the Esxi Hypervisor
4459
+ * </pre>
4460
+ *
4461
+ * <code>optional uint32 num_cpu = 22;</code>
4462
+ * @param value The numCpu to set.
4463
+ * @return This builder for chaining.
4464
+ */
4465
+ public Builder setNumCpu(int value) {
4466
+
4467
+ numCpu_ = value;
4468
+ bitField0_ |= 0x00200000;
4469
+ onChanged();
4470
+ return this;
4471
+ }
4472
+ /**
4473
+ * <pre>
4474
+ * Number of CPU cores of the Esxi Hypervisor
4475
+ * </pre>
4476
+ *
4477
+ * <code>optional uint32 num_cpu = 22;</code>
4478
+ * @return This builder for chaining.
4479
+ */
4480
+ public Builder clearNumCpu() {
4481
+ bitField0_ = (bitField0_ & ~0x00200000);
4482
+ numCpu_ = 0;
4483
+ onChanged();
4484
+ return this;
4485
+ }
4486
+
4487
+ private int numCoresPerSocket_ ;
4488
+ /**
4489
+ * <pre>
4490
+ * Number of cores per socket of the Esxi Hypervisor
4491
+ * </pre>
4492
+ *
4493
+ * <code>optional uint32 num_cores_per_socket = 23;</code>
4494
+ * @return Whether the numCoresPerSocket field is set.
4495
+ */
4496
+ @java.lang.Override
4497
+ public boolean hasNumCoresPerSocket() {
4498
+ return ((bitField0_ & 0x00400000) != 0);
4499
+ }
4500
+ /**
4501
+ * <pre>
4502
+ * Number of cores per socket of the Esxi Hypervisor
4503
+ * </pre>
4504
+ *
4505
+ * <code>optional uint32 num_cores_per_socket = 23;</code>
4506
+ * @return The numCoresPerSocket.
4507
+ */
4508
+ @java.lang.Override
4509
+ public int getNumCoresPerSocket() {
4510
+ return numCoresPerSocket_;
4511
+ }
4512
+ /**
4513
+ * <pre>
4514
+ * Number of cores per socket of the Esxi Hypervisor
4515
+ * </pre>
4516
+ *
4517
+ * <code>optional uint32 num_cores_per_socket = 23;</code>
4518
+ * @param value The numCoresPerSocket to set.
4519
+ * @return This builder for chaining.
4520
+ */
4521
+ public Builder setNumCoresPerSocket(int value) {
4522
+
4523
+ numCoresPerSocket_ = value;
4524
+ bitField0_ |= 0x00400000;
4525
+ onChanged();
4526
+ return this;
4527
+ }
4528
+ /**
4529
+ * <pre>
4530
+ * Number of cores per socket of the Esxi Hypervisor
4531
+ * </pre>
4532
+ *
4533
+ * <code>optional uint32 num_cores_per_socket = 23;</code>
4534
+ * @return This builder for chaining.
4535
+ */
4536
+ public Builder clearNumCoresPerSocket() {
4537
+ bitField0_ = (bitField0_ & ~0x00400000);
4538
+ numCoresPerSocket_ = 0;
4539
+ onChanged();
4540
+ return this;
4541
+ }
4542
+ @java.lang.Override
4543
+ public final Builder setUnknownFields(
4544
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
4545
+ return super.setUnknownFields(unknownFields);
4546
+ }
4547
+
4548
+ @java.lang.Override
4549
+ public final Builder mergeUnknownFields(
4550
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
4551
+ return super.mergeUnknownFields(unknownFields);
4552
+ }
4553
+
4554
+
4555
+ // @@protoc_insertion_point(builder_scope:com.lansweeper.dp.outbound.v1.VmwareEsxiHypervisor)
4556
+ }
4557
+
4558
+ // @@protoc_insertion_point(class_scope:com.lansweeper.dp.outbound.v1.VmwareEsxiHypervisor)
4559
+ private static final com.lansweeper.dp.outbound.v1.VmwareEsxiHypervisor DEFAULT_INSTANCE;
4560
+ static {
4561
+ DEFAULT_INSTANCE = new com.lansweeper.dp.outbound.v1.VmwareEsxiHypervisor();
4562
+ }
4563
+
4564
+ public static com.lansweeper.dp.outbound.v1.VmwareEsxiHypervisor getDefaultInstance() {
4565
+ return DEFAULT_INSTANCE;
4566
+ }
4567
+
4568
+ private static final com.google.protobuf.Parser<VmwareEsxiHypervisor>
4569
+ PARSER = new com.google.protobuf.AbstractParser<VmwareEsxiHypervisor>() {
4570
+ @java.lang.Override
4571
+ public VmwareEsxiHypervisor parsePartialFrom(
4572
+ com.google.protobuf.CodedInputStream input,
4573
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
4574
+ throws com.google.protobuf.InvalidProtocolBufferException {
4575
+ Builder builder = newBuilder();
4576
+ try {
4577
+ builder.mergeFrom(input, extensionRegistry);
4578
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
4579
+ throw e.setUnfinishedMessage(builder.buildPartial());
4580
+ } catch (com.google.protobuf.UninitializedMessageException e) {
4581
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
4582
+ } catch (java.io.IOException e) {
4583
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
4584
+ .setUnfinishedMessage(builder.buildPartial());
4585
+ }
4586
+ return builder.buildPartial();
4587
+ }
4588
+ };
4589
+
4590
+ public static com.google.protobuf.Parser<VmwareEsxiHypervisor> parser() {
4591
+ return PARSER;
4592
+ }
4593
+
4594
+ @java.lang.Override
4595
+ public com.google.protobuf.Parser<VmwareEsxiHypervisor> getParserForType() {
4596
+ return PARSER;
4597
+ }
4598
+
4599
+ @java.lang.Override
4600
+ public com.lansweeper.dp.outbound.v1.VmwareEsxiHypervisor getDefaultInstanceForType() {
4601
+ return DEFAULT_INSTANCE;
4602
+ }
4603
+
4604
+ }
4605
+