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